diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 6e7840e2..9fe38b36 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -16,22 +16,18 @@ jobs:
test:
runs-on: ubuntu-latest
env:
- NAUTOBOT_VER: "2.3.1"
+ NAUTOBOT_VER: "2.4.21"
PYTHON_VER: "3.11"
steps:
- name: "Get go-nautobot code"
uses: actions/checkout@v3
- - name: "Set up Docker Compose"
- run: |
- curl -L "https://github.com/docker/compose/releases/download/v2.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
- chmod +x /usr/local/bin/docker-compose
- name: "Run tests"
run: |
cd development
- docker-compose --project-name go_nautobot -f docker-compose.yml up --build --abort-on-container-exit --exit-code-from oapi
+ docker compose --project-name go_nautobot -f docker-compose.yml up --build --abort-on-container-exit --exit-code-from oapi
env:
NAUTOBOT_URL: "http://nautobot:8080/api/"
NAUTOBOT_TOKEN: "0123456789abcdef0123456789abcdef01234567"
- name: "Tear down Nautobot"
- run: "docker-compose --project-name go_nautobot -f development/docker-compose.yml down -v"
+ run: "docker compose --project-name go_nautobot -f development/docker-compose.yml down -v"
if: always()
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 73bc7d06..21a2be30 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -12,21 +12,17 @@ on:
jobs:
release-go-nautobot:
- runs-on: "ubuntu-20.04"
+ runs-on: ubuntu-latest
env:
NAUTOBOT_VER: "${{ github.event.inputs.tag }}"
- PYTHON_VER: "3.9"
+ PYTHON_VER: "3.11"
steps:
- name: "Get go-nautobot generator code"
uses: actions/checkout@v3
- - name: "Set up Docker Compose"
- run: |
- curl -L "https://github.com/docker/compose/releases/download/v2.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
- chmod +x /usr/local/bin/docker-compose
- name: "Start Nautobot and Generator"
run: |
cd development
- docker-compose --project-name go_nautobot -f docker-compose.yml up --build --abort-on-container-exit
+ docker compose --project-name go_nautobot -f docker-compose.yml up --build --abort-on-container-exit
- name: "Commit Changes"
run: |
TAG=v$( cat api/nautobot_version )
@@ -42,7 +38,7 @@ jobs:
slack-notify:
needs:
- "release-go-nautobot"
- runs-on: "ubuntu-20.04"
+ runs-on: ubuntu-latest
env:
SLACK_WEBHOOK_URL: "${{ secrets.SLACK_WEBHOOK_URL }}"
SLACK_MESSAGE: >-
diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES
index 87db8361..cfd67d41 100644
--- a/.openapi-generator/FILES
+++ b/.openapi-generator/FILES
@@ -5,6 +5,7 @@ README.md
api/openapi.yaml
api_circuits.go
api_cloud.go
+api_core.go
api_dcim.go
api_extras.go
api_graphql.go
@@ -14,14 +15,18 @@ api_swagger.go
api_swagger_json.go
api_swagger_yaml.go
api_tenancy.go
+api_ui.go
api_users.go
api_virtualization.go
+api_wireless.go
client.go
configuration.go
docs/AccessTypeEnum.md
+docs/AuthenticationEnum.md
docs/AvailableIP.md
docs/AvailablePrefix.md
docs/BlankEnum.md
+docs/BreakerPoleCountEnum.md
docs/BridgeInterface.md
docs/BulkOperationIntegerIDRequest.md
docs/BulkOperationRequest.md
@@ -55,8 +60,10 @@ docs/BulkWritableConsoleServerPortRequest.md
docs/BulkWritableConsoleServerPortTemplateRequest.md
docs/BulkWritableContactAssociationRequest.md
docs/BulkWritableContactRequest.md
+docs/BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest.md
docs/BulkWritableControllerManagedDeviceGroupRequest.md
docs/BulkWritableControllerManagedDeviceGroupRequestController.md
+docs/BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest.md
docs/BulkWritableControllerRequest.md
docs/BulkWritableCustomFieldChoiceRequest.md
docs/BulkWritableCustomFieldRequest.md
@@ -92,12 +99,15 @@ docs/BulkWritableInterfaceRedundancyGroupRequest.md
docs/BulkWritableInterfaceRequest.md
docs/BulkWritableInterfaceRequestParentInterface.md
docs/BulkWritableInterfaceTemplateRequest.md
+docs/BulkWritableInterfaceVDCAssignmentRequest.md
docs/BulkWritableInventoryItemRequest.md
docs/BulkWritableInventoryItemRequestSoftwareVersion.md
docs/BulkWritableJobButtonRequest.md
docs/BulkWritableJobButtonRequestJob.md
docs/BulkWritableJobHookRequest.md
docs/BulkWritableJobHookRequestJob.md
+docs/BulkWritableJobQueueAssignmentRequest.md
+docs/BulkWritableJobQueueRequest.md
docs/BulkWritableJobRequest.md
docs/BulkWritableLocationRequest.md
docs/BulkWritableLocationTypeRequest.md
@@ -105,7 +115,10 @@ docs/BulkWritableManufacturerRequest.md
docs/BulkWritableMetadataChoiceRequest.md
docs/BulkWritableMetadataTypeRequest.md
docs/BulkWritableModuleBayRequest.md
+docs/BulkWritableModuleBayRequestModuleFamily.md
docs/BulkWritableModuleBayTemplateRequest.md
+docs/BulkWritableModuleBayTemplateRequestModuleFamily.md
+docs/BulkWritableModuleFamilyRequest.md
docs/BulkWritableModuleRequest.md
docs/BulkWritableModuleTypeRequest.md
docs/BulkWritableNamespaceRequest.md
@@ -115,6 +128,8 @@ docs/BulkWritableObjectPermissionRequest.md
docs/BulkWritablePlatformRequest.md
docs/BulkWritablePlatformRequestManufacturer.md
docs/BulkWritablePowerFeedRequest.md
+docs/BulkWritablePowerFeedRequestDestinationPanel.md
+docs/BulkWritablePowerFeedRequestPowerPanel.md
docs/BulkWritablePowerOutletRequest.md
docs/BulkWritablePowerOutletTemplateRequest.md
docs/BulkWritablePowerPanelRequest.md
@@ -133,6 +148,8 @@ docs/BulkWritableRackRequest.md
docs/BulkWritableRackRequestRackGroup.md
docs/BulkWritableRackReservationRequest.md
docs/BulkWritableRackReservationRequestUser.md
+docs/BulkWritableRadioProfileRequest.md
+docs/BulkWritableRadioProfileRequestFrequency.md
docs/BulkWritableRearPortRequest.md
docs/BulkWritableRearPortTemplateRequest.md
docs/BulkWritableRelationshipAssociationRequest.md
@@ -153,6 +170,7 @@ docs/BulkWritableSoftwareImageFileRequestHashingAlgorithm.md
docs/BulkWritableSoftwareVersionRequest.md
docs/BulkWritableStaticGroupAssociationRequest.md
docs/BulkWritableStatusRequest.md
+docs/BulkWritableSupportedDataRateRequest.md
docs/BulkWritableTagRequest.md
docs/BulkWritableTeamRequest.md
docs/BulkWritableTenantGroupRequest.md
@@ -168,9 +186,11 @@ docs/BulkWritableVRFDeviceAssignmentRequest.md
docs/BulkWritableVRFPrefixAssignmentRequest.md
docs/BulkWritableVRFRequest.md
docs/BulkWritableVirtualChassisRequest.md
+docs/BulkWritableVirtualDeviceContextRequest.md
docs/BulkWritableVirtualMachineRequest.md
docs/BulkWritableVirtualMachineRequestSoftwareVersion.md
docs/BulkWritableWebhookRequest.md
+docs/BulkWritableWirelessNetworkRequest.md
docs/ButtonClassEnum.md
docs/Cable.md
docs/CableLengthUnit.md
@@ -182,6 +202,8 @@ docs/CableType.md
docs/CableTypeChoices.md
docs/CableTypeLabel.md
docs/CableTypeValue.md
+docs/CapabilitiesEnum.md
+docs/ChannelWidthEnum.md
docs/Circuit.md
docs/CircuitCircuitTerminationA.md
docs/CircuitRequest.md
@@ -213,10 +235,8 @@ docs/ClusterTypeRequest.md
docs/ComputedField.md
docs/ComputedFieldRequest.md
docs/ConfigContext.md
-docs/ConfigContextOwner.md
docs/ConfigContextRequest.md
docs/ConfigContextSchema.md
-docs/ConfigContextSchemaOwner.md
docs/ConfigContextSchemaRequest.md
docs/ConsolePort.md
docs/ConsolePortTemplate.md
@@ -232,9 +252,17 @@ docs/ContactAssociationRequest.md
docs/ContactRequest.md
docs/ContentType.md
docs/Controller.md
+docs/ControllerCapabilitiesInner.md
+docs/ControllerCapabilitiesInnerLabel.md
+docs/ControllerCapabilitiesInnerValue.md
docs/ControllerManagedDeviceGroup.md
+docs/ControllerManagedDeviceGroupRadioProfileAssignment.md
+docs/ControllerManagedDeviceGroupRadioProfileAssignmentRequest.md
docs/ControllerManagedDeviceGroupRequest.md
+docs/ControllerManagedDeviceGroupWirelessNetworkAssignment.md
+docs/ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest.md
docs/ControllerRequest.md
+docs/CoreAPI.md
docs/CustomField.md
docs/CustomFieldChoice.md
docs/CustomFieldChoiceRequest.md
@@ -279,7 +307,6 @@ docs/DynamicGroupMembership.md
docs/DynamicGroupMembershipRequest.md
docs/DynamicGroupRequest.md
docs/ExportTemplate.md
-docs/ExportTemplateOwner.md
docs/ExportTemplateRequest.md
docs/ExternalIntegration.md
docs/ExternalIntegrationRequest.md
@@ -292,6 +319,7 @@ docs/FailoverStrategyEnum.md
docs/FeedLegEnum.md
docs/FileProxy.md
docs/FilterLogicEnum.md
+docs/FrequencyEnum.md
docs/FrontPort.md
docs/FrontPortTemplate.md
docs/FrontPortType.md
@@ -299,6 +327,7 @@ docs/FrontPortTypeLabel.md
docs/FrontPortTypeValue.md
docs/GitRepository.md
docs/GitRepositoryRequest.md
+docs/GitRepositorySyncResponse.md
docs/GraphQLAPIRequest.md
docs/GraphQLQuery.md
docs/GraphQLQueryInputRequest.md
@@ -324,6 +353,7 @@ docs/ImageAttachmentRequest.md
docs/Interface.md
docs/InterfaceConnection.md
docs/InterfaceMode.md
+docs/InterfaceModeChoices.md
docs/InterfaceModeLabel.md
docs/InterfaceModeValue.md
docs/InterfaceRedundancyGroup.md
@@ -338,9 +368,13 @@ docs/InterfaceType.md
docs/InterfaceTypeChoices.md
docs/InterfaceTypeLabel.md
docs/InterfaceTypeValue.md
+docs/InterfaceVDCAssignment.md
+docs/InterfaceVDCAssignmentRequest.md
docs/InventoryItem.md
docs/InventoryItemRequest.md
docs/IpamAPI.md
+docs/IpamPrefixesAvailableIpsListRangeEndParameter.md
+docs/IpamVlanGroupsAvailableVlansList200Response.md
docs/Job.md
docs/JobButton.md
docs/JobButtonRequest.md
@@ -350,6 +384,12 @@ docs/JobHook.md
docs/JobHookRequest.md
docs/JobInputRequest.md
docs/JobLogEntry.md
+docs/JobQueue.md
+docs/JobQueueAssignment.md
+docs/JobQueueAssignmentRequest.md
+docs/JobQueueOverride.md
+docs/JobQueueRequest.md
+docs/JobQueues.md
docs/JobRequest.md
docs/JobResult.md
docs/JobResultStatus.md
@@ -368,12 +408,13 @@ docs/MetadataChoice.md
docs/MetadataChoiceRequest.md
docs/MetadataType.md
docs/MetadataTypeRequest.md
-docs/ModeEnum.md
docs/Module.md
docs/ModuleBay.md
docs/ModuleBayRequest.md
docs/ModuleBayTemplate.md
docs/ModuleBayTemplateRequest.md
+docs/ModuleFamily.md
+docs/ModuleFamilyRequest.md
docs/ModuleRequest.md
docs/ModuleType.md
docs/ModuleTypeRequest.md
@@ -426,10 +467,12 @@ docs/NestedInterface.md
docs/NestedInterfaceRedundancyGroup.md
docs/NestedInterfaceRedundancyGroupAssociation.md
docs/NestedInterfaceTemplate.md
+docs/NestedInterfaceVDCAssignment.md
docs/NestedInventoryItem.md
docs/NestedJob.md
docs/NestedJobButton.md
docs/NestedJobHook.md
+docs/NestedJobQueue.md
docs/NestedJobResult.md
docs/NestedLocation.md
docs/NestedLocationType.md
@@ -439,6 +482,7 @@ docs/NestedMetadataType.md
docs/NestedModule.md
docs/NestedModuleBay.md
docs/NestedModuleBayTemplate.md
+docs/NestedModuleFamily.md
docs/NestedModuleType.md
docs/NestedNamespace.md
docs/NestedNote.md
@@ -459,6 +503,7 @@ docs/NestedRIR.md
docs/NestedRack.md
docs/NestedRackGroup.md
docs/NestedRackReservation.md
+docs/NestedRadioProfile.md
docs/NestedRearPort.md
docs/NestedRearPortTemplate.md
docs/NestedRelationship.md
@@ -475,6 +520,7 @@ docs/NestedSoftwareImageFile.md
docs/NestedSoftwareVersion.md
docs/NestedStaticGroupAssociation.md
docs/NestedStatus.md
+docs/NestedSupportedDataRate.md
docs/NestedTag.md
docs/NestedTeam.md
docs/NestedTenant.md
@@ -484,12 +530,15 @@ docs/NestedVLANGroup.md
docs/NestedVMInterface.md
docs/NestedVRF.md
docs/NestedVirtualChassis.md
+docs/NestedVirtualDeviceContext.md
docs/NestedVirtualMachine.md
docs/NestedWebhook.md
+docs/NestedWirelessNetwork.md
docs/Note.md
docs/NoteAssignedObject.md
docs/NoteInputRequest.md
docs/NoteRequest.md
+docs/NullEnum.md
docs/ObjectChange.md
docs/ObjectChangeAction.md
docs/ObjectChangeActionLabel.md
@@ -530,6 +579,8 @@ docs/PaginatedContactList.md
docs/PaginatedContentTypeList.md
docs/PaginatedControllerList.md
docs/PaginatedControllerManagedDeviceGroupList.md
+docs/PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList.md
+docs/PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList.md
docs/PaginatedCustomFieldChoiceList.md
docs/PaginatedCustomFieldList.md
docs/PaginatedCustomLinkList.md
@@ -558,11 +609,14 @@ docs/PaginatedInterfaceList.md
docs/PaginatedInterfaceRedundancyGroupAssociationList.md
docs/PaginatedInterfaceRedundancyGroupList.md
docs/PaginatedInterfaceTemplateList.md
+docs/PaginatedInterfaceVDCAssignmentList.md
docs/PaginatedInventoryItemList.md
docs/PaginatedJobButtonList.md
docs/PaginatedJobHookList.md
docs/PaginatedJobList.md
docs/PaginatedJobLogEntryList.md
+docs/PaginatedJobQueueAssignmentList.md
+docs/PaginatedJobQueueList.md
docs/PaginatedJobResultList.md
docs/PaginatedJobVariableList.md
docs/PaginatedLocationList.md
@@ -572,6 +626,7 @@ docs/PaginatedMetadataChoiceList.md
docs/PaginatedMetadataTypeList.md
docs/PaginatedModuleBayList.md
docs/PaginatedModuleBayTemplateList.md
+docs/PaginatedModuleFamilyList.md
docs/PaginatedModuleList.md
docs/PaginatedModuleTypeList.md
docs/PaginatedNamespaceList.md
@@ -595,6 +650,7 @@ docs/PaginatedRackGroupList.md
docs/PaginatedRackList.md
docs/PaginatedRackReservationList.md
docs/PaginatedRackUnitList.md
+docs/PaginatedRadioProfileList.md
docs/PaginatedRearPortList.md
docs/PaginatedRearPortTemplateList.md
docs/PaginatedRelationshipAssociationList.md
@@ -611,6 +667,7 @@ docs/PaginatedSoftwareImageFileList.md
docs/PaginatedSoftwareVersionList.md
docs/PaginatedStaticGroupAssociationList.md
docs/PaginatedStatusList.md
+docs/PaginatedSupportedDataRateList.md
docs/PaginatedTagList.md
docs/PaginatedTeamList.md
docs/PaginatedTenantGroupList.md
@@ -626,8 +683,11 @@ docs/PaginatedVRFDeviceAssignmentList.md
docs/PaginatedVRFList.md
docs/PaginatedVRFPrefixAssignmentList.md
docs/PaginatedVirtualChassisList.md
+docs/PaginatedVirtualDeviceContextList.md
docs/PaginatedVirtualMachineList.md
docs/PaginatedWebhookList.md
+docs/PaginatedWirelessNetworkList.md
+docs/PanelTypeEnum.md
docs/ParentChildStatus.md
docs/ParentLAG.md
docs/PatchedBulkWritableCableRequest.md
@@ -652,7 +712,9 @@ docs/PatchedBulkWritableConsoleServerPortRequest.md
docs/PatchedBulkWritableConsoleServerPortTemplateRequest.md
docs/PatchedBulkWritableContactAssociationRequest.md
docs/PatchedBulkWritableContactRequest.md
+docs/PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest.md
docs/PatchedBulkWritableControllerManagedDeviceGroupRequest.md
+docs/PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest.md
docs/PatchedBulkWritableControllerRequest.md
docs/PatchedBulkWritableCustomFieldChoiceRequest.md
docs/PatchedBulkWritableCustomFieldRequest.md
@@ -680,9 +742,12 @@ docs/PatchedBulkWritableInterfaceRedundancyGroupAssociationRequest.md
docs/PatchedBulkWritableInterfaceRedundancyGroupRequest.md
docs/PatchedBulkWritableInterfaceRequest.md
docs/PatchedBulkWritableInterfaceTemplateRequest.md
+docs/PatchedBulkWritableInterfaceVDCAssignmentRequest.md
docs/PatchedBulkWritableInventoryItemRequest.md
docs/PatchedBulkWritableJobButtonRequest.md
docs/PatchedBulkWritableJobHookRequest.md
+docs/PatchedBulkWritableJobQueueAssignmentRequest.md
+docs/PatchedBulkWritableJobQueueRequest.md
docs/PatchedBulkWritableJobRequest.md
docs/PatchedBulkWritableLocationRequest.md
docs/PatchedBulkWritableLocationTypeRequest.md
@@ -691,6 +756,7 @@ docs/PatchedBulkWritableMetadataChoiceRequest.md
docs/PatchedBulkWritableMetadataTypeRequest.md
docs/PatchedBulkWritableModuleBayRequest.md
docs/PatchedBulkWritableModuleBayTemplateRequest.md
+docs/PatchedBulkWritableModuleFamilyRequest.md
docs/PatchedBulkWritableModuleRequest.md
docs/PatchedBulkWritableModuleTypeRequest.md
docs/PatchedBulkWritableNamespaceRequest.md
@@ -712,6 +778,7 @@ docs/PatchedBulkWritableRIRRequest.md
docs/PatchedBulkWritableRackGroupRequest.md
docs/PatchedBulkWritableRackRequest.md
docs/PatchedBulkWritableRackReservationRequest.md
+docs/PatchedBulkWritableRadioProfileRequest.md
docs/PatchedBulkWritableRearPortRequest.md
docs/PatchedBulkWritableRearPortTemplateRequest.md
docs/PatchedBulkWritableRelationshipAssociationRequest.md
@@ -727,6 +794,7 @@ docs/PatchedBulkWritableSoftwareImageFileRequest.md
docs/PatchedBulkWritableSoftwareVersionRequest.md
docs/PatchedBulkWritableStaticGroupAssociationRequest.md
docs/PatchedBulkWritableStatusRequest.md
+docs/PatchedBulkWritableSupportedDataRateRequest.md
docs/PatchedBulkWritableTagRequest.md
docs/PatchedBulkWritableTeamRequest.md
docs/PatchedBulkWritableTenantGroupRequest.md
@@ -742,8 +810,10 @@ docs/PatchedBulkWritableVRFDeviceAssignmentRequest.md
docs/PatchedBulkWritableVRFPrefixAssignmentRequest.md
docs/PatchedBulkWritableVRFRequest.md
docs/PatchedBulkWritableVirtualChassisRequest.md
+docs/PatchedBulkWritableVirtualDeviceContextRequest.md
docs/PatchedBulkWritableVirtualMachineRequest.md
docs/PatchedBulkWritableWebhookRequest.md
+docs/PatchedBulkWritableWirelessNetworkRequest.md
docs/PatchedCircuitRequest.md
docs/PatchedCircuitTerminationRequest.md
docs/PatchedCircuitTypeRequest.md
@@ -761,7 +831,9 @@ docs/PatchedConfigContextRequest.md
docs/PatchedConfigContextSchemaRequest.md
docs/PatchedContactAssociationRequest.md
docs/PatchedContactRequest.md
+docs/PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest.md
docs/PatchedControllerManagedDeviceGroupRequest.md
+docs/PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest.md
docs/PatchedControllerRequest.md
docs/PatchedCustomFieldChoiceRequest.md
docs/PatchedCustomLinkRequest.md
@@ -780,9 +852,12 @@ docs/PatchedIPAddressRequest.md
docs/PatchedIPAddressToInterfaceRequest.md
docs/PatchedImageAttachmentRequest.md
docs/PatchedInterfaceRedundancyGroupAssociationRequest.md
+docs/PatchedInterfaceVDCAssignmentRequest.md
docs/PatchedInventoryItemRequest.md
docs/PatchedJobButtonRequest.md
docs/PatchedJobHookRequest.md
+docs/PatchedJobQueueAssignmentRequest.md
+docs/PatchedJobQueueRequest.md
docs/PatchedJobRequest.md
docs/PatchedLocationRequest.md
docs/PatchedLocationTypeRequest.md
@@ -791,6 +866,7 @@ docs/PatchedMetadataChoiceRequest.md
docs/PatchedMetadataTypeRequest.md
docs/PatchedModuleBayRequest.md
docs/PatchedModuleBayTemplateRequest.md
+docs/PatchedModuleFamilyRequest.md
docs/PatchedModuleRequest.md
docs/PatchedModuleTypeRequest.md
docs/PatchedNamespaceRequest.md
@@ -798,13 +874,13 @@ docs/PatchedNoteRequest.md
docs/PatchedObjectMetadataRequest.md
docs/PatchedObjectPermissionRequest.md
docs/PatchedPlatformRequest.md
-docs/PatchedPowerPanelRequest.md
docs/PatchedPrefixLocationAssignmentRequest.md
docs/PatchedProviderNetworkRequest.md
docs/PatchedProviderRequest.md
docs/PatchedRIRRequest.md
docs/PatchedRackGroupRequest.md
docs/PatchedRackReservationRequest.md
+docs/PatchedRadioProfileRequest.md
docs/PatchedRelationshipAssociationRequest.md
docs/PatchedRelationshipRequest.md
docs/PatchedRoleRequest.md
@@ -817,6 +893,7 @@ docs/PatchedSoftwareImageFileRequest.md
docs/PatchedSoftwareVersionRequest.md
docs/PatchedStaticGroupAssociationRequest.md
docs/PatchedStatusRequest.md
+docs/PatchedSupportedDataRateRequest.md
docs/PatchedTagRequest.md
docs/PatchedTeamRequest.md
docs/PatchedTenantGroupRequest.md
@@ -831,8 +908,10 @@ docs/PatchedVRFDeviceAssignmentRequest.md
docs/PatchedVRFPrefixAssignmentRequest.md
docs/PatchedVRFRequest.md
docs/PatchedVirtualChassisRequest.md
+docs/PatchedVirtualDeviceContextRequest.md
docs/PatchedVirtualMachineRequest.md
docs/PatchedWebhookRequest.md
+docs/PatchedWirelessNetworkRequest.md
docs/PatchedWritableCableRequest.md
docs/PatchedWritableCableRequestLengthUnit.md
docs/PatchedWritableCableRequestType.md
@@ -853,11 +932,14 @@ docs/PatchedWritableInterfaceRequest.md
docs/PatchedWritableInterfaceRequestMode.md
docs/PatchedWritableInterfaceTemplateRequest.md
docs/PatchedWritablePowerFeedRequest.md
+docs/PatchedWritablePowerFeedRequestPowerPath.md
docs/PatchedWritablePowerOutletRequest.md
docs/PatchedWritablePowerOutletRequestFeedLeg.md
docs/PatchedWritablePowerOutletRequestType.md
docs/PatchedWritablePowerOutletTemplateRequest.md
docs/PatchedWritablePowerOutletTemplateRequestType.md
+docs/PatchedWritablePowerPanelRequest.md
+docs/PatchedWritablePowerPanelRequestPanelType.md
docs/PatchedWritablePowerPortRequest.md
docs/PatchedWritablePowerPortRequestType.md
docs/PatchedWritablePowerPortTemplateRequest.md
@@ -876,9 +958,15 @@ docs/Platform.md
docs/PlatformRequest.md
docs/PortTypeChoices.md
docs/PowerFeed.md
+docs/PowerFeedBreakerPoleCount.md
+docs/PowerFeedBreakerPoleCountLabel.md
+docs/PowerFeedBreakerPoleCountValue.md
docs/PowerFeedPhase.md
docs/PowerFeedPhaseLabel.md
docs/PowerFeedPhaseValue.md
+docs/PowerFeedPowerPath.md
+docs/PowerFeedPowerPathLabel.md
+docs/PowerFeedPowerPathValue.md
docs/PowerFeedSupply.md
docs/PowerFeedSupplyLabel.md
docs/PowerFeedSupplyValue.md
@@ -895,7 +983,10 @@ docs/PowerOutletTypeChoices.md
docs/PowerOutletTypeLabel.md
docs/PowerOutletTypeValue.md
docs/PowerPanel.md
-docs/PowerPanelRequest.md
+docs/PowerPanelPanelType.md
+docs/PowerPanelPanelTypeLabel.md
+docs/PowerPanelPanelTypeValue.md
+docs/PowerPathEnum.md
docs/PowerPort.md
docs/PowerPortTemplate.md
docs/PowerPortType.md
@@ -917,6 +1008,7 @@ docs/Provider.md
docs/ProviderNetwork.md
docs/ProviderNetworkRequest.md
docs/ProviderRequest.md
+docs/QueueTypeEnum.md
docs/RIR.md
docs/RIRRequest.md
docs/Rack.md
@@ -937,14 +1029,22 @@ docs/RackUnitFace.md
docs/RackWidth.md
docs/RackWidthLabel.md
docs/RackWidthValue.md
+docs/RadioProfile.md
+docs/RadioProfileChannelWidthInner.md
+docs/RadioProfileChannelWidthInnerLabel.md
+docs/RadioProfileChannelWidthInnerValue.md
+docs/RadioProfileRequest.md
docs/RearPort.md
docs/RearPortTemplate.md
docs/RedundancyProtocol.md
+docs/RegulatoryDomainEnum.md
docs/Relationship.md
docs/RelationshipAssociation.md
docs/RelationshipAssociationRequest.md
docs/RelationshipRequest.md
docs/RelationshipTypeChoices.md
+docs/RenderJinja.md
+docs/RenderJinjaRequest.md
docs/RequiredOnEnum.md
docs/Role.md
docs/RoleRequest.md
@@ -972,6 +1072,7 @@ docs/SoftwareImageFileRequest.md
docs/SoftwareImageFiles.md
docs/SoftwareVersion.md
docs/SoftwareVersionRequest.md
+docs/StandardEnum.md
docs/StaticGroupAssociation.md
docs/StaticGroupAssociationRequest.md
docs/Status.md
@@ -980,6 +1081,8 @@ docs/StatusRequest.md
docs/StatusRetrieve200Response.md
docs/SubdeviceRoleEnum.md
docs/SupplyEnum.md
+docs/SupportedDataRate.md
+docs/SupportedDataRateRequest.md
docs/SwaggerAPI.md
docs/SwaggerJsonAPI.md
docs/SwaggerRetrieveFormatParameter.md
@@ -998,6 +1101,7 @@ docs/TenantRequest.md
docs/TermSideEnum.md
docs/Token.md
docs/TokenRequest.md
+docs/UiAPI.md
docs/User.md
docs/UserRequest.md
docs/UserSavedViewAssociation.md
@@ -1005,6 +1109,7 @@ docs/UserSavedViewAssociationRequest.md
docs/UserSpecificDefaultSavedViews.md
docs/UsersAPI.md
docs/VLAN.md
+docs/VLANAllocationRequest.md
docs/VLANGroup.md
docs/VLANGroupRequest.md
docs/VLANLocationAssignment.md
@@ -1019,12 +1124,18 @@ docs/VRFPrefixAssignmentRequest.md
docs/VRFRequest.md
docs/VirtualChassis.md
docs/VirtualChassisRequest.md
+docs/VirtualDeviceContext.md
+docs/VirtualDeviceContextRequest.md
docs/VirtualMachine.md
docs/VirtualMachineRequest.md
docs/VirtualizationAPI.md
docs/Webhook.md
docs/WebhookRequest.md
docs/WidthEnum.md
+docs/WirelessAPI.md
+docs/WirelessNetwork.md
+docs/WirelessNetworkModeChoices.md
+docs/WirelessNetworkRequest.md
docs/WritableCableRequest.md
docs/WritableConsolePortRequest.md
docs/WritableConsolePortTemplateRequest.md
@@ -1042,6 +1153,7 @@ docs/WritableInterfaceTemplateRequest.md
docs/WritablePowerFeedRequest.md
docs/WritablePowerOutletRequest.md
docs/WritablePowerOutletTemplateRequest.md
+docs/WritablePowerPanelRequest.md
docs/WritablePowerPortRequest.md
docs/WritablePowerPortTemplateRequest.md
docs/WritablePrefixRequest.md
@@ -1054,9 +1166,11 @@ git_push.sh
go.mod
go.sum
model_access_type_enum.go
+model_authentication_enum.go
model_available_ip.go
model_available_prefix.go
model_blank_enum.go
+model_breaker_pole_count_enum.go
model_bridge_interface.go
model_bulk_operation_integer_id_request.go
model_bulk_operation_request.go
@@ -1090,8 +1204,10 @@ model_bulk_writable_console_server_port_request.go
model_bulk_writable_console_server_port_template_request.go
model_bulk_writable_contact_association_request.go
model_bulk_writable_contact_request.go
+model_bulk_writable_controller_managed_device_group_radio_profile_assignment_request.go
model_bulk_writable_controller_managed_device_group_request.go
model_bulk_writable_controller_managed_device_group_request_controller.go
+model_bulk_writable_controller_managed_device_group_wireless_network_assignment_request.go
model_bulk_writable_controller_request.go
model_bulk_writable_custom_field_choice_request.go
model_bulk_writable_custom_field_request.go
@@ -1123,6 +1239,7 @@ model_bulk_writable_interface_redundancy_group_request.go
model_bulk_writable_interface_request.go
model_bulk_writable_interface_request_parent_interface.go
model_bulk_writable_interface_template_request.go
+model_bulk_writable_interface_vdc_assignment_request.go
model_bulk_writable_inventory_item_request.go
model_bulk_writable_inventory_item_request_software_version.go
model_bulk_writable_ip_address_request.go
@@ -1133,6 +1250,8 @@ model_bulk_writable_job_button_request.go
model_bulk_writable_job_button_request_job.go
model_bulk_writable_job_hook_request.go
model_bulk_writable_job_hook_request_job.go
+model_bulk_writable_job_queue_assignment_request.go
+model_bulk_writable_job_queue_request.go
model_bulk_writable_job_request.go
model_bulk_writable_location_request.go
model_bulk_writable_location_type_request.go
@@ -1140,7 +1259,10 @@ model_bulk_writable_manufacturer_request.go
model_bulk_writable_metadata_choice_request.go
model_bulk_writable_metadata_type_request.go
model_bulk_writable_module_bay_request.go
+model_bulk_writable_module_bay_request_module_family.go
model_bulk_writable_module_bay_template_request.go
+model_bulk_writable_module_bay_template_request_module_family.go
+model_bulk_writable_module_family_request.go
model_bulk_writable_module_request.go
model_bulk_writable_module_type_request.go
model_bulk_writable_namespace_request.go
@@ -1150,6 +1272,8 @@ model_bulk_writable_object_permission_request.go
model_bulk_writable_platform_request.go
model_bulk_writable_platform_request_manufacturer.go
model_bulk_writable_power_feed_request.go
+model_bulk_writable_power_feed_request_destination_panel.go
+model_bulk_writable_power_feed_request_power_panel.go
model_bulk_writable_power_outlet_request.go
model_bulk_writable_power_outlet_template_request.go
model_bulk_writable_power_panel_request.go
@@ -1167,6 +1291,8 @@ model_bulk_writable_rack_request.go
model_bulk_writable_rack_request_rack_group.go
model_bulk_writable_rack_reservation_request.go
model_bulk_writable_rack_reservation_request_user.go
+model_bulk_writable_radio_profile_request.go
+model_bulk_writable_radio_profile_request_frequency.go
model_bulk_writable_rear_port_request.go
model_bulk_writable_rear_port_template_request.go
model_bulk_writable_relationship_association_request.go
@@ -1188,6 +1314,7 @@ model_bulk_writable_software_image_file_request_hashing_algorithm.go
model_bulk_writable_software_version_request.go
model_bulk_writable_static_group_association_request.go
model_bulk_writable_status_request.go
+model_bulk_writable_supported_data_rate_request.go
model_bulk_writable_tag_request.go
model_bulk_writable_team_request.go
model_bulk_writable_tenant_group_request.go
@@ -1196,6 +1323,7 @@ model_bulk_writable_token_request.go
model_bulk_writable_user_request.go
model_bulk_writable_user_saved_view_association_request.go
model_bulk_writable_virtual_chassis_request.go
+model_bulk_writable_virtual_device_context_request.go
model_bulk_writable_virtual_machine_request.go
model_bulk_writable_virtual_machine_request_software_version.go
model_bulk_writable_vlan_group_request.go
@@ -1206,6 +1334,7 @@ model_bulk_writable_vrf_device_assignment_request.go
model_bulk_writable_vrf_prefix_assignment_request.go
model_bulk_writable_vrf_request.go
model_bulk_writable_webhook_request.go
+model_bulk_writable_wireless_network_request.go
model_button_class_enum.go
model_cable.go
model_cable_length_unit.go
@@ -1217,6 +1346,8 @@ model_cable_type.go
model_cable_type_choices.go
model_cable_type_label.go
model_cable_type_value.go
+model_capabilities_enum.go
+model_channel_width_enum.go
model_circuit.go
model_circuit_circuit_termination_a.go
model_circuit_request.go
@@ -1246,10 +1377,8 @@ model_cluster_type_request.go
model_computed_field.go
model_computed_field_request.go
model_config_context.go
-model_config_context_owner.go
model_config_context_request.go
model_config_context_schema.go
-model_config_context_schema_owner.go
model_config_context_schema_request.go
model_console_port.go
model_console_port_template.go
@@ -1265,8 +1394,15 @@ model_contact_association_request.go
model_contact_request.go
model_content_type.go
model_controller.go
+model_controller_capabilities_inner.go
+model_controller_capabilities_inner_label.go
+model_controller_capabilities_inner_value.go
model_controller_managed_device_group.go
+model_controller_managed_device_group_radio_profile_assignment.go
+model_controller_managed_device_group_radio_profile_assignment_request.go
model_controller_managed_device_group_request.go
+model_controller_managed_device_group_wireless_network_assignment.go
+model_controller_managed_device_group_wireless_network_assignment_request.go
model_controller_request.go
model_custom_field.go
model_custom_field_choice.go
@@ -1311,7 +1447,6 @@ model_dynamic_group_membership.go
model_dynamic_group_membership_request.go
model_dynamic_group_request.go
model_export_template.go
-model_export_template_owner.go
model_export_template_request.go
model_external_integration.go
model_external_integration_request.go
@@ -1323,6 +1458,7 @@ model_failover_strategy_enum.go
model_feed_leg_enum.go
model_file_proxy.go
model_filter_logic_enum.go
+model_frequency_enum.go
model_front_port.go
model_front_port_template.go
model_front_port_type.go
@@ -1330,6 +1466,7 @@ model_front_port_type_label.go
model_front_port_type_value.go
model_git_repository.go
model_git_repository_request.go
+model_git_repository_sync_response.go
model_graph_ql_query.go
model_graph_ql_query_input_request.go
model_graph_ql_query_output.go
@@ -1347,6 +1484,7 @@ model_image_attachment_request.go
model_interface.go
model_interface_connection.go
model_interface_mode.go
+model_interface_mode_choices.go
model_interface_mode_label.go
model_interface_mode_value.go
model_interface_redundancy_group.go
@@ -1361,6 +1499,8 @@ model_interface_type.go
model_interface_type_choices.go
model_interface_type_label.go
model_interface_type_value.go
+model_interface_vdc_assignment.go
+model_interface_vdc_assignment_request.go
model_inventory_item.go
model_inventory_item_request.go
model_ip_address.go
@@ -1370,6 +1510,8 @@ model_ip_address_to_interface_request.go
model_ip_address_type_choices.go
model_ip_addresses.go
model_ip_allocation_request.go
+model_ipam_prefixes_available_ips_list_range_end_parameter.go
+model_ipam_vlan_groups_available_vlans_list_200_response.go
model_job.go
model_job_button.go
model_job_button_request.go
@@ -1379,6 +1521,12 @@ model_job_hook.go
model_job_hook_request.go
model_job_input_request.go
model_job_log_entry.go
+model_job_queue.go
+model_job_queue_assignment.go
+model_job_queue_assignment_request.go
+model_job_queue_override.go
+model_job_queue_request.go
+model_job_queues.go
model_job_request.go
model_job_result.go
model_job_result_status.go
@@ -1397,12 +1545,13 @@ model_metadata_choice.go
model_metadata_choice_request.go
model_metadata_type.go
model_metadata_type_request.go
-model_mode_enum.go
model_module.go
model_module_bay.go
model_module_bay_request.go
model_module_bay_template.go
model_module_bay_template_request.go
+model_module_family.go
+model_module_family_request.go
model_module_request.go
model_module_type.go
model_module_type_request.go
@@ -1454,11 +1603,13 @@ model_nested_interface.go
model_nested_interface_redundancy_group.go
model_nested_interface_redundancy_group_association.go
model_nested_interface_template.go
+model_nested_interface_vdc_assignment.go
model_nested_inventory_item.go
model_nested_ip_address.go
model_nested_job.go
model_nested_job_button.go
model_nested_job_hook.go
+model_nested_job_queue.go
model_nested_job_result.go
model_nested_location.go
model_nested_location_type.go
@@ -1468,6 +1619,7 @@ model_nested_metadata_type.go
model_nested_module.go
model_nested_module_bay.go
model_nested_module_bay_template.go
+model_nested_module_family.go
model_nested_module_type.go
model_nested_namespace.go
model_nested_note.go
@@ -1487,6 +1639,7 @@ model_nested_provider_network.go
model_nested_rack.go
model_nested_rack_group.go
model_nested_rack_reservation.go
+model_nested_radio_profile.go
model_nested_rear_port.go
model_nested_rear_port_template.go
model_nested_relationship.go
@@ -1504,21 +1657,25 @@ model_nested_software_image_file.go
model_nested_software_version.go
model_nested_static_group_association.go
model_nested_status.go
+model_nested_supported_data_rate.go
model_nested_tag.go
model_nested_team.go
model_nested_tenant.go
model_nested_tenant_group.go
model_nested_virtual_chassis.go
+model_nested_virtual_device_context.go
model_nested_virtual_machine.go
model_nested_vlan.go
model_nested_vlan_group.go
model_nested_vm_interface.go
model_nested_vrf.go
model_nested_webhook.go
+model_nested_wireless_network.go
model_note.go
model_note_assigned_object.go
model_note_input_request.go
model_note_request.go
+model_null_enum.go
model_object_change.go
model_object_change_action.go
model_object_change_action_label.go
@@ -1559,6 +1716,8 @@ model_paginated_contact_list.go
model_paginated_content_type_list.go
model_paginated_controller_list.go
model_paginated_controller_managed_device_group_list.go
+model_paginated_controller_managed_device_group_radio_profile_assignment_list.go
+model_paginated_controller_managed_device_group_wireless_network_assignment_list.go
model_paginated_custom_field_choice_list.go
model_paginated_custom_field_list.go
model_paginated_custom_link_list.go
@@ -1585,6 +1744,7 @@ model_paginated_interface_list.go
model_paginated_interface_redundancy_group_association_list.go
model_paginated_interface_redundancy_group_list.go
model_paginated_interface_template_list.go
+model_paginated_interface_vdc_assignment_list.go
model_paginated_inventory_item_list.go
model_paginated_ip_address_list.go
model_paginated_ip_address_to_interface_list.go
@@ -1592,6 +1752,8 @@ model_paginated_job_button_list.go
model_paginated_job_hook_list.go
model_paginated_job_list.go
model_paginated_job_log_entry_list.go
+model_paginated_job_queue_assignment_list.go
+model_paginated_job_queue_list.go
model_paginated_job_result_list.go
model_paginated_job_variable_list.go
model_paginated_location_list.go
@@ -1601,6 +1763,7 @@ model_paginated_metadata_choice_list.go
model_paginated_metadata_type_list.go
model_paginated_module_bay_list.go
model_paginated_module_bay_template_list.go
+model_paginated_module_family_list.go
model_paginated_module_list.go
model_paginated_module_type_list.go
model_paginated_namespace_list.go
@@ -1623,6 +1786,7 @@ model_paginated_rack_group_list.go
model_paginated_rack_list.go
model_paginated_rack_reservation_list.go
model_paginated_rack_unit_list.go
+model_paginated_radio_profile_list.go
model_paginated_rear_port_list.go
model_paginated_rear_port_template_list.go
model_paginated_relationship_association_list.go
@@ -1640,6 +1804,7 @@ model_paginated_software_image_file_list.go
model_paginated_software_version_list.go
model_paginated_static_group_association_list.go
model_paginated_status_list.go
+model_paginated_supported_data_rate_list.go
model_paginated_tag_list.go
model_paginated_team_list.go
model_paginated_tenant_group_list.go
@@ -1648,6 +1813,7 @@ model_paginated_token_list.go
model_paginated_user_list.go
model_paginated_user_saved_view_association_list.go
model_paginated_virtual_chassis_list.go
+model_paginated_virtual_device_context_list.go
model_paginated_virtual_machine_list.go
model_paginated_vlan_group_list.go
model_paginated_vlan_list.go
@@ -1657,6 +1823,8 @@ model_paginated_vrf_device_assignment_list.go
model_paginated_vrf_list.go
model_paginated_vrf_prefix_assignment_list.go
model_paginated_webhook_list.go
+model_paginated_wireless_network_list.go
+model_panel_type_enum.go
model_parent_child_status.go
model_parent_lag.go
model_patched_bulk_writable_cable_request.go
@@ -1681,7 +1849,9 @@ model_patched_bulk_writable_console_server_port_request.go
model_patched_bulk_writable_console_server_port_template_request.go
model_patched_bulk_writable_contact_association_request.go
model_patched_bulk_writable_contact_request.go
+model_patched_bulk_writable_controller_managed_device_group_radio_profile_assignment_request.go
model_patched_bulk_writable_controller_managed_device_group_request.go
+model_patched_bulk_writable_controller_managed_device_group_wireless_network_assignment_request.go
model_patched_bulk_writable_controller_request.go
model_patched_bulk_writable_custom_field_choice_request.go
model_patched_bulk_writable_custom_field_request.go
@@ -1707,11 +1877,14 @@ model_patched_bulk_writable_interface_redundancy_group_association_request.go
model_patched_bulk_writable_interface_redundancy_group_request.go
model_patched_bulk_writable_interface_request.go
model_patched_bulk_writable_interface_template_request.go
+model_patched_bulk_writable_interface_vdc_assignment_request.go
model_patched_bulk_writable_inventory_item_request.go
model_patched_bulk_writable_ip_address_request.go
model_patched_bulk_writable_ip_address_to_interface_request.go
model_patched_bulk_writable_job_button_request.go
model_patched_bulk_writable_job_hook_request.go
+model_patched_bulk_writable_job_queue_assignment_request.go
+model_patched_bulk_writable_job_queue_request.go
model_patched_bulk_writable_job_request.go
model_patched_bulk_writable_location_request.go
model_patched_bulk_writable_location_type_request.go
@@ -1720,6 +1893,7 @@ model_patched_bulk_writable_metadata_choice_request.go
model_patched_bulk_writable_metadata_type_request.go
model_patched_bulk_writable_module_bay_request.go
model_patched_bulk_writable_module_bay_template_request.go
+model_patched_bulk_writable_module_family_request.go
model_patched_bulk_writable_module_request.go
model_patched_bulk_writable_module_type_request.go
model_patched_bulk_writable_namespace_request.go
@@ -1740,6 +1914,7 @@ model_patched_bulk_writable_provider_request.go
model_patched_bulk_writable_rack_group_request.go
model_patched_bulk_writable_rack_request.go
model_patched_bulk_writable_rack_reservation_request.go
+model_patched_bulk_writable_radio_profile_request.go
model_patched_bulk_writable_rear_port_request.go
model_patched_bulk_writable_rear_port_template_request.go
model_patched_bulk_writable_relationship_association_request.go
@@ -1756,6 +1931,7 @@ model_patched_bulk_writable_software_image_file_request.go
model_patched_bulk_writable_software_version_request.go
model_patched_bulk_writable_static_group_association_request.go
model_patched_bulk_writable_status_request.go
+model_patched_bulk_writable_supported_data_rate_request.go
model_patched_bulk_writable_tag_request.go
model_patched_bulk_writable_team_request.go
model_patched_bulk_writable_tenant_group_request.go
@@ -1764,6 +1940,7 @@ model_patched_bulk_writable_token_request.go
model_patched_bulk_writable_user_request.go
model_patched_bulk_writable_user_saved_view_association_request.go
model_patched_bulk_writable_virtual_chassis_request.go
+model_patched_bulk_writable_virtual_device_context_request.go
model_patched_bulk_writable_virtual_machine_request.go
model_patched_bulk_writable_vlan_group_request.go
model_patched_bulk_writable_vlan_location_assignment_request.go
@@ -1773,6 +1950,7 @@ model_patched_bulk_writable_vrf_device_assignment_request.go
model_patched_bulk_writable_vrf_prefix_assignment_request.go
model_patched_bulk_writable_vrf_request.go
model_patched_bulk_writable_webhook_request.go
+model_patched_bulk_writable_wireless_network_request.go
model_patched_circuit_request.go
model_patched_circuit_termination_request.go
model_patched_circuit_type_request.go
@@ -1790,7 +1968,9 @@ model_patched_config_context_request.go
model_patched_config_context_schema_request.go
model_patched_contact_association_request.go
model_patched_contact_request.go
+model_patched_controller_managed_device_group_radio_profile_assignment_request.go
model_patched_controller_managed_device_group_request.go
+model_patched_controller_managed_device_group_wireless_network_assignment_request.go
model_patched_controller_request.go
model_patched_custom_field_choice_request.go
model_patched_custom_link_request.go
@@ -1807,11 +1987,14 @@ model_patched_graph_ql_query_request.go
model_patched_group_request.go
model_patched_image_attachment_request.go
model_patched_interface_redundancy_group_association_request.go
+model_patched_interface_vdc_assignment_request.go
model_patched_inventory_item_request.go
model_patched_ip_address_request.go
model_patched_ip_address_to_interface_request.go
model_patched_job_button_request.go
model_patched_job_hook_request.go
+model_patched_job_queue_assignment_request.go
+model_patched_job_queue_request.go
model_patched_job_request.go
model_patched_location_request.go
model_patched_location_type_request.go
@@ -1820,6 +2003,7 @@ model_patched_metadata_choice_request.go
model_patched_metadata_type_request.go
model_patched_module_bay_request.go
model_patched_module_bay_template_request.go
+model_patched_module_family_request.go
model_patched_module_request.go
model_patched_module_type_request.go
model_patched_namespace_request.go
@@ -1827,12 +2011,12 @@ model_patched_note_request.go
model_patched_object_metadata_request.go
model_patched_object_permission_request.go
model_patched_platform_request.go
-model_patched_power_panel_request.go
model_patched_prefix_location_assignment_request.go
model_patched_provider_network_request.go
model_patched_provider_request.go
model_patched_rack_group_request.go
model_patched_rack_reservation_request.go
+model_patched_radio_profile_request.go
model_patched_relationship_association_request.go
model_patched_relationship_request.go
model_patched_rir_request.go
@@ -1846,6 +2030,7 @@ model_patched_software_image_file_request.go
model_patched_software_version_request.go
model_patched_static_group_association_request.go
model_patched_status_request.go
+model_patched_supported_data_rate_request.go
model_patched_tag_request.go
model_patched_team_request.go
model_patched_tenant_group_request.go
@@ -1854,6 +2039,7 @@ model_patched_token_request.go
model_patched_user_request.go
model_patched_user_saved_view_association_request.go
model_patched_virtual_chassis_request.go
+model_patched_virtual_device_context_request.go
model_patched_virtual_machine_request.go
model_patched_vlan_group_request.go
model_patched_vlan_location_assignment_request.go
@@ -1862,6 +2048,7 @@ model_patched_vrf_device_assignment_request.go
model_patched_vrf_prefix_assignment_request.go
model_patched_vrf_request.go
model_patched_webhook_request.go
+model_patched_wireless_network_request.go
model_patched_writable_cable_request.go
model_patched_writable_cable_request_length_unit.go
model_patched_writable_cable_request_type.go
@@ -1882,11 +2069,14 @@ model_patched_writable_interface_request.go
model_patched_writable_interface_request_mode.go
model_patched_writable_interface_template_request.go
model_patched_writable_power_feed_request.go
+model_patched_writable_power_feed_request_power_path.go
model_patched_writable_power_outlet_request.go
model_patched_writable_power_outlet_request_feed_leg.go
model_patched_writable_power_outlet_request_type.go
model_patched_writable_power_outlet_template_request.go
model_patched_writable_power_outlet_template_request_type.go
+model_patched_writable_power_panel_request.go
+model_patched_writable_power_panel_request_panel_type.go
model_patched_writable_power_port_request.go
model_patched_writable_power_port_request_type.go
model_patched_writable_power_port_template_request.go
@@ -1905,9 +2095,15 @@ model_platform.go
model_platform_request.go
model_port_type_choices.go
model_power_feed.go
+model_power_feed_breaker_pole_count.go
+model_power_feed_breaker_pole_count_label.go
+model_power_feed_breaker_pole_count_value.go
model_power_feed_phase.go
model_power_feed_phase_label.go
model_power_feed_phase_value.go
+model_power_feed_power_path.go
+model_power_feed_power_path_label.go
+model_power_feed_power_path_value.go
model_power_feed_supply.go
model_power_feed_supply_label.go
model_power_feed_supply_value.go
@@ -1924,7 +2120,10 @@ model_power_outlet_type_choices.go
model_power_outlet_type_label.go
model_power_outlet_type_value.go
model_power_panel.go
-model_power_panel_request.go
+model_power_panel_panel_type.go
+model_power_panel_panel_type_label.go
+model_power_panel_panel_type_value.go
+model_power_path_enum.go
model_power_port.go
model_power_port_template.go
model_power_port_type.go
@@ -1946,6 +2145,7 @@ model_provider.go
model_provider_network.go
model_provider_network_request.go
model_provider_request.go
+model_queue_type_enum.go
model_rack.go
model_rack_face.go
model_rack_group.go
@@ -1964,14 +2164,22 @@ model_rack_unit_face.go
model_rack_width.go
model_rack_width_label.go
model_rack_width_value.go
+model_radio_profile.go
+model_radio_profile_channel_width_inner.go
+model_radio_profile_channel_width_inner_label.go
+model_radio_profile_channel_width_inner_value.go
+model_radio_profile_request.go
model_rear_port.go
model_rear_port_template.go
model_redundancy_protocol.go
+model_regulatory_domain_enum.go
model_relationship.go
model_relationship_association.go
model_relationship_association_request.go
model_relationship_request.go
model_relationship_type_choices.go
+model_render_jinja.go
+model_render_jinja_request.go
model_required_on_enum.go
model_rir.go
model_rir_request.go
@@ -2001,6 +2209,7 @@ model_software_image_file_request.go
model_software_image_files.go
model_software_version.go
model_software_version_request.go
+model_standard_enum.go
model_static_group_association.go
model_static_group_association_request.go
model_status.go
@@ -2008,6 +2217,8 @@ model_status_request.go
model_status_retrieve_200_response.go
model_subdevice_role_enum.go
model_supply_enum.go
+model_supported_data_rate.go
+model_supported_data_rate_request.go
model_swagger_retrieve_format_parameter.go
model_swagger_retrieve_lang_parameter.go
model_tag.go
@@ -2029,9 +2240,12 @@ model_user_saved_view_association_request.go
model_user_specific_default_saved_views.go
model_virtual_chassis.go
model_virtual_chassis_request.go
+model_virtual_device_context.go
+model_virtual_device_context_request.go
model_virtual_machine.go
model_virtual_machine_request.go
model_vlan.go
+model_vlan_allocation_request.go
model_vlan_group.go
model_vlan_group_request.go
model_vlan_location_assignment.go
@@ -2047,6 +2261,9 @@ model_vrf_request.go
model_webhook.go
model_webhook_request.go
model_width_enum.go
+model_wireless_network.go
+model_wireless_network_mode_choices.go
+model_wireless_network_request.go
model_writable_cable_request.go
model_writable_console_port_request.go
model_writable_console_port_template_request.go
@@ -2064,6 +2281,7 @@ model_writable_interface_template_request.go
model_writable_power_feed_request.go
model_writable_power_outlet_request.go
model_writable_power_outlet_template_request.go
+model_writable_power_panel_request.go
model_writable_power_port_request.go
model_writable_power_port_template_request.go
model_writable_prefix_request.go
@@ -2075,6 +2293,7 @@ model_writable_vm_interface_request.go
response.go
test/api_circuits_test.go
test/api_cloud_test.go
+test/api_core_test.go
test/api_dcim_test.go
test/api_extras_test.go
test/api_graphql_test.go
@@ -2084,7 +2303,9 @@ test/api_swagger_json_test.go
test/api_swagger_test.go
test/api_swagger_yaml_test.go
test/api_tenancy_test.go
+test/api_ui_test.go
test/api_users_test.go
test/api_virtualization_test.go
+test/api_wireless_test.go
utils.go
docs/README.md
diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION
index 09a6d308..6328c542 100644
--- a/.openapi-generator/VERSION
+++ b/.openapi-generator/VERSION
@@ -1 +1 @@
-7.8.0
+7.17.0
diff --git a/api/nautobot_version b/api/nautobot_version
index 349c2c4f..5d02c859 100644
--- a/api/nautobot_version
+++ b/api/nautobot_version
@@ -1 +1 @@
-2.3.2-beta
+v2.3.2-beta
diff --git a/api/openapi-original.yaml b/api/openapi-original.yaml
index 95c2ea88..69cdebf4 100644
--- a/api/openapi-original.yaml
+++ b/api/openapi-original.yaml
@@ -1,7 +1,7 @@
openapi: 3.0.3
info:
title: API Documentation
- version: 2.3.4 (2.3)
+ version: 2.4.21 (2.4)
description: Source of truth and network automation platform
license:
name: Apache v2 License
@@ -93,9 +93,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: description
schema:
@@ -219,9 +221,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -245,51 +249,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -299,69 +258,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- name: limit
required: false
in: query
@@ -627,9 +523,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: term_side
schema:
@@ -685,7 +583,6 @@ paths:
type: array
items:
type: string
- title: Termination
explode: true
style: form
- in: query
@@ -917,6 +814,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- circuits
security:
@@ -1113,6 +1017,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- circuits
security:
@@ -1277,6 +1188,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- circuits
security:
@@ -1363,6 +1281,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- circuits
security:
@@ -1399,9 +1324,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -1583,9 +1510,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -1604,51 +1533,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -1658,69 +1542,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: last_updated
schema:
@@ -1930,9 +1751,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -1942,6 +1765,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- circuits
security:
@@ -2138,6 +1968,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- circuits
security:
@@ -2302,6 +2139,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- circuits
security:
@@ -2765,9 +2609,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -2949,9 +2795,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -2975,51 +2823,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -3029,69 +2832,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: install_date
schema:
@@ -3300,9 +3040,11 @@ paths:
- in: query
name: status__n
schema:
- type: string
- format: uuid
- description: Exclude Status (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: tags
schema:
@@ -3339,9 +3081,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: tenant
schema:
@@ -3420,6 +3164,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- circuits
security:
@@ -3616,6 +3367,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- circuits
security:
@@ -3780,6 +3538,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- circuits
security:
@@ -3995,9 +3760,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -4179,9 +3946,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -4205,51 +3974,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -4259,69 +3983,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: last_updated
schema:
@@ -4567,9 +4228,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -4579,6 +4242,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- circuits
security:
@@ -4775,6 +4445,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- circuits
security:
@@ -4939,6 +4616,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- circuits
security:
@@ -5426,9 +5110,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -5498,9 +5184,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -5529,51 +5217,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -5583,69 +5226,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: last_updated
schema:
@@ -6141,9 +5721,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -6153,6 +5735,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- circuits
security:
@@ -6349,6 +5938,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- circuits
security:
@@ -6513,6 +6109,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- circuits
security:
@@ -6703,9 +6306,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -6887,9 +6492,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -6908,51 +6515,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -6962,69 +6524,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: last_updated
schema:
@@ -7291,9 +6790,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -7303,6 +6804,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- cloud
security:
@@ -7499,6 +7007,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- cloud
security:
@@ -7663,6 +7178,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- cloud
security:
@@ -7759,51 +7281,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -7813,69 +7290,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- name: limit
required: false
in: query
@@ -7894,7 +7308,6 @@ paths:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
@@ -7903,7 +7316,6 @@ paths:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
@@ -7926,6 +7338,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- cloud
security:
@@ -8122,6 +7541,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- cloud
security:
@@ -8246,103 +7672,6 @@ paths:
responses:
'204':
description: No response body
- /cloud/cloud-network-prefix-assignments/{id}/notes/:
- get:
- operationId: cloud_cloud_network_prefix_assignments_notes_list
- description: API methods for returning or creating notes on an object.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this cloud network prefix assignment.
- required: true
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- - in: query
- name: depth
- required: false
- description: Serializer Depth
- schema:
- type: integer
- minimum: 0
- maximum: 10
- default: 1
- tags:
- - cloud
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- description: ''
- post:
- operationId: cloud_cloud_network_prefix_assignments_notes_create
- description: API methods for returning or creating notes on an object.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this cloud network prefix assignment.
- required: true
- tags:
- - cloud
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- required: true
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '201':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Note'
- text/csv:
- schema:
- $ref: '#/components/schemas/Note'
- description: ''
/cloud/cloud-networks/:
get:
operationId: cloud_cloud_networks_list
@@ -8417,9 +7746,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -8601,9 +7932,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -8622,51 +7955,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -8676,69 +7964,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: last_updated
schema:
@@ -8948,7 +8173,6 @@ paths:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
@@ -8957,7 +8181,6 @@ paths:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
@@ -9007,9 +8230,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -9019,6 +8244,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- cloud
security:
@@ -9215,6 +8447,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- cloud
security:
@@ -9379,6 +8618,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- cloud
security:
@@ -9456,52 +8702,14 @@ paths:
description: Contacts (name or ID) is null
- in: query
name: contacts__n
- schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
- - in: query
- name: content_types
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__ic
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__ie
schema:
type: array
items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__iew
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__ire
- schema:
- type: array
- items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: content_types__isw
+ name: content_types
schema:
type: array
items:
@@ -9516,62 +8724,6 @@ paths:
type: integer
explode: true
style: form
- - in: query
- name: content_types__nic
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__nie
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__niew
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__nire
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__nisw
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__nre
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__re
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- in: query
name: created
schema:
@@ -9753,9 +8905,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -9774,51 +8928,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -9828,69 +8937,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: last_updated
schema:
@@ -10136,9 +9182,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -10148,6 +9196,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- cloud
security:
@@ -10344,6 +9399,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- cloud
security:
@@ -10508,6 +9570,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- cloud
security:
@@ -10620,51 +9689,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -10674,69 +9698,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- name: limit
required: false
in: query
@@ -10769,6 +9730,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- cloud
security:
@@ -10965,6 +9933,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- cloud
security:
@@ -11089,103 +10064,6 @@ paths:
responses:
'204':
description: No response body
- /cloud/cloud-service-network-assignments/{id}/notes/:
- get:
- operationId: cloud_cloud_service_network_assignments_notes_list
- description: API methods for returning or creating notes on an object.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this cloud service network assignment.
- required: true
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- - in: query
- name: depth
- required: false
- description: Serializer Depth
- schema:
- type: integer
- minimum: 0
- maximum: 10
- default: 1
- tags:
- - cloud
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- description: ''
- post:
- operationId: cloud_cloud_service_network_assignments_notes_create
- description: API methods for returning or creating notes on an object.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this cloud service network assignment.
- required: true
- tags:
- - cloud
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- required: true
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '201':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Note'
- text/csv:
- schema:
- $ref: '#/components/schemas/Note'
- description: ''
/cloud/cloud-services/:
get:
operationId: cloud_cloud_services_list
@@ -11260,9 +10138,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -11444,9 +10324,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -11465,51 +10347,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -11519,69 +10356,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: last_updated
schema:
@@ -11811,9 +10585,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -11823,6 +10599,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- cloud
security:
@@ -12019,6 +10802,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- cloud
security:
@@ -12183,6 +10973,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- cloud
security:
@@ -12240,6 +11037,42 @@ paths:
schema:
$ref: '#/components/schemas/Note'
description: ''
+ /core/render-jinja-template/:
+ post:
+ operationId: core_render_jinja_template_create
+ description: View to render a Jinja template.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - core
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/RenderJinjaRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/RenderJinjaRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/RenderJinja'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/RenderJinja'
+ description: ''
/dcim/cables/:
get:
operationId: dcim_cables_list
@@ -12373,9 +11206,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -12465,9 +11300,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -12486,51 +11323,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -12540,69 +11332,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: label
schema:
@@ -13009,9 +11738,11 @@ paths:
- in: query
name: status__n
schema:
- type: string
- format: uuid
- description: Exclude Status (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: tags
schema:
@@ -13047,76 +11778,33 @@ paths:
description: Teams (name or ID) is null
- in: query
name: teams__n
- schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
- - in: query
- name: tenant
- schema:
- type: array
- items:
- type: string
- description: Tenant (name)
- explode: true
- style: form
- - in: query
- name: tenant_id
schema:
type: array
items:
type: string
- format: uuid
- description: Tenant (ID)
- explode: true
- style: form
- - in: query
- name: termination_a_id
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: termination_a_id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: termination_a_id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
explode: true
style: form
- in: query
- name: termination_a_id__iew
+ name: tenant
schema:
type: array
items:
type: string
- format: uuid
+ description: Tenant (name)
explode: true
style: form
- in: query
- name: termination_a_id__ire
+ name: tenant_id
schema:
type: array
items:
type: string
format: uuid
+ description: Tenant (ID)
explode: true
style: form
- in: query
- name: termination_a_id__isw
+ name: termination_a_id
schema:
type: array
items:
@@ -13133,69 +11821,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: termination_a_id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: termination_a_id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: termination_a_id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: termination_a_id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: termination_a_id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: termination_a_id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: termination_a_id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: termination_a_type
schema:
@@ -13221,51 +11846,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: termination_b_id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: termination_b_id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: termination_b_id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: termination_b_id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: termination_b_id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: termination_b_id__n
schema:
@@ -13275,69 +11855,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: termination_b_id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: termination_b_id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: termination_b_id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: termination_b_id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: termination_b_id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: termination_b_id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: termination_b_id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: termination_b_type
schema:
@@ -13483,6 +12000,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -13679,6 +12203,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -13843,6 +12374,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -13939,6 +12477,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -13979,9 +12524,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: device
schema:
@@ -14012,9 +12559,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -14033,51 +12582,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -14087,69 +12591,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- name: limit
required: false
in: query
@@ -14301,9 +12742,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -14313,6 +12756,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -14349,9 +12799,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: description
schema:
@@ -14510,9 +12962,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -14540,56 +12994,6 @@ paths:
description: ID
explode: true
style: form
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID contains
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID ends with
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID matches regex
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID starts with
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -14600,76 +13004,6 @@ paths:
description: Exclude ID
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID contains
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID ends with
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID matches regex
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID starts with
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID matches regex
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID matches regex
- explode: true
- style: form
- in: query
name: label
schema:
@@ -14982,9 +13316,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: type
schema:
@@ -15106,6 +13442,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -15302,6 +13645,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -15426,103 +13776,6 @@ paths:
responses:
'204':
description: No response body
- /dcim/console-port-templates/{id}/notes/:
- get:
- operationId: dcim_console_port_templates_notes_list
- description: API methods for returning or creating notes on an object.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this console port template.
- required: true
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- - in: query
- name: depth
- required: false
- description: Serializer Depth
- schema:
- type: integer
- minimum: 0
- maximum: 10
- default: 1
- tags:
- - dcim
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- description: ''
- post:
- operationId: dcim_console_port_templates_notes_create
- description: API methods for returning or creating notes on an object.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this console port template.
- required: true
- tags:
- - dcim
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- required: true
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '201':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Note'
- text/csv:
- schema:
- $ref: '#/components/schemas/Note'
- description: ''
/dcim/console-ports/:
get:
operationId: dcim_console_ports_list
@@ -15573,9 +13826,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: description
schema:
@@ -15707,9 +13962,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -15733,51 +13990,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -15787,69 +13999,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: label
schema:
@@ -16170,9 +14319,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: type
schema:
@@ -16188,7 +14339,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -16197,7 +14347,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -16206,7 +14355,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -16215,7 +14363,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -16224,7 +14371,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -16233,7 +14379,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -16242,7 +14387,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -16251,7 +14395,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -16260,7 +14403,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -16269,7 +14411,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -16278,7 +14419,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -16287,7 +14427,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -16296,7 +14435,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -16308,6 +14446,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -16504,6 +14649,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -16668,6 +14820,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -16754,6 +14913,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -16790,9 +14956,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: description
schema:
@@ -16951,9 +15119,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -16981,56 +15151,6 @@ paths:
description: ID
explode: true
style: form
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID contains
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID ends with
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID matches regex
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID starts with
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -17041,76 +15161,6 @@ paths:
description: Exclude ID
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID contains
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID ends with
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID matches regex
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID starts with
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID matches regex
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID matches regex
- explode: true
- style: form
- in: query
name: label
schema:
@@ -17423,9 +15473,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: type
schema:
@@ -17547,6 +15599,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -17743,6 +15802,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -17867,103 +15933,6 @@ paths:
responses:
'204':
description: No response body
- /dcim/console-server-port-templates/{id}/notes/:
- get:
- operationId: dcim_console_server_port_templates_notes_list
- description: API methods for returning or creating notes on an object.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this console server port template.
- required: true
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- - in: query
- name: depth
- required: false
- description: Serializer Depth
- schema:
- type: integer
- minimum: 0
- maximum: 10
- default: 1
- tags:
- - dcim
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- description: ''
- post:
- operationId: dcim_console_server_port_templates_notes_create
- description: API methods for returning or creating notes on an object.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this console server port template.
- required: true
- tags:
- - dcim
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- required: true
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '201':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Note'
- text/csv:
- schema:
- $ref: '#/components/schemas/Note'
- description: ''
/dcim/console-server-ports/:
get:
operationId: dcim_console_server_ports_list
@@ -18014,9 +15983,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: description
schema:
@@ -18148,9 +16119,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -18174,51 +16147,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -18228,69 +16156,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: label
schema:
@@ -18611,9 +16476,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: type
schema:
@@ -18629,7 +16496,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -18638,7 +16504,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -18647,7 +16512,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -18656,7 +16520,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -18665,7 +16528,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -18674,7 +16536,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -18683,7 +16544,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -18692,7 +16552,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -18701,7 +16560,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -18710,7 +16568,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -18719,7 +16576,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -18728,7 +16584,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -18737,7 +16592,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -18749,6 +16603,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -18945,6 +16806,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -19109,6 +16977,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -19195,6 +17070,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -19215,6 +17097,15 @@ paths:
operationId: dcim_controller_managed_device_groups_list
description: Retrieve a list of controller managed device group objects.
parameters:
+ - in: query
+ name: capabilities
+ schema:
+ type: array
+ items:
+ nullable: true
+ description: Capabilities
+ explode: true
+ style: form
- in: query
name: contacts
schema:
@@ -19231,9 +17122,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: controller
schema:
@@ -19309,7 +17202,7 @@ paths:
explode: true
style: form
- in: query
- name: dynamic_groups
+ name: description
schema:
type: array
items:
@@ -19317,130 +17210,144 @@ paths:
explode: true
style: form
- in: query
- name: dynamic_groups__n
+ name: description__ic
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: format
+ name: description__ie
schema:
- type: string
- enum:
- - csv
- - json
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: id
+ name: description__iew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- description: Unique object identifier, either a UUID primary key or a composite
- key.
- in: query
- name: id__ic
+ name: description__ire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ie
+ name: description__isw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__iew
+ name: description__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ire
+ name: description__nic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__isw
+ name: description__nie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__n
+ name: description__niew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nic
+ name: description__nire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nie
+ name: description__nisw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__niew
+ name: description__nre
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nire
+ name: description__re
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nisw
+ name: dynamic_groups
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: dynamic_groups__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nre
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: query
+ name: has_radio_profiles
+ schema:
+ type: boolean
+ description: Has radio profiles
+ - in: query
+ name: has_wireless_networks
+ schema:
+ type: boolean
+ description: Has wireless networks
+ - in: query
+ name: id
schema:
type: array
items:
@@ -19448,8 +17355,10 @@ paths:
format: uuid
explode: true
style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
- name: id__re
+ name: id__n
schema:
type: array
items:
@@ -19665,6 +17574,22 @@ paths:
schema:
type: string
description: Search
+ - in: query
+ name: radio_profiles
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: radio_profiles__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- name: sort
required: false
in: query
@@ -19715,9 +17640,80 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: tenant
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: tenant__isnull
+ schema:
+ type: boolean
+ description: Tenant (name or ID) is null
+ - in: query
+ name: tenant__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: tenant_group
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: tenant_group__isnull
+ schema:
+ type: boolean
+ description: Tenant Group (name or ID) is null
+ - in: query
+ name: tenant_group__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: tenant_id
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ nullable: true
+ description: Tenant (ID) (deprecated, use "tenant" filter instead)
+ explode: true
+ style: form
+ - in: query
+ name: tenant_id__isnull
+ schema:
+ type: boolean
+ description: Tenant (ID) (deprecated, use "tenant" filter instead) is null
+ - in: query
+ name: tenant_id__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ nullable: true
+ description: Exclude Tenant (ID) (deprecated, use "tenant" filter instead)
+ explode: true
+ style: form
- in: query
name: weight
schema:
@@ -19766,6 +17762,22 @@ paths:
type: integer
explode: true
style: form
+ - in: query
+ name: wireless_networks
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: wireless_networks__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -19775,6 +17787,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -19971,6 +17990,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -20135,6 +18161,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -20197,6 +18230,15 @@ paths:
operationId: dcim_controllers_list
description: Retrieve a list of controller objects.
parameters:
+ - in: query
+ name: capabilities
+ schema:
+ type: array
+ items:
+ nullable: true
+ description: Capabilities
+ explode: true
+ style: form
- in: query
name: contacts
schema:
@@ -20213,9 +18255,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: controller_device
schema:
@@ -20439,9 +18483,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: external_integration
schema:
@@ -20481,51 +18527,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -20535,69 +18536,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: last_updated
schema:
@@ -20838,9 +18776,11 @@ paths:
- in: query
name: role__n
schema:
- type: string
- format: uuid
- description: Exclude Role (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- name: sort
required: false
in: query
@@ -20858,9 +18798,11 @@ paths:
- in: query
name: status__n
schema:
- type: string
- format: uuid
- description: Exclude Status (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: tags
schema:
@@ -20897,9 +18839,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: tenant
schema:
@@ -20969,6 +18913,22 @@ paths:
description: Exclude Tenant (ID) (deprecated, use "tenant" filter instead)
explode: true
style: form
+ - in: query
+ name: wireless_networks
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: wireless_networks__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -20978,6 +18938,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -21174,6 +19141,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -21338,6 +19312,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -21416,9 +19397,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: description
schema:
@@ -21572,9 +19555,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -21592,56 +19577,6 @@ paths:
description: ID
explode: true
style: form
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID contains
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID ends with
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID matches regex
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID starts with
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -21652,76 +19587,6 @@ paths:
description: Exclude ID
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID contains
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID ends with
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID matches regex
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID starts with
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID matches regex
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID matches regex
- explode: true
- style: form
- in: query
name: label
schema:
@@ -22013,9 +19878,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -22025,6 +19892,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -22221,6 +20095,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -22345,103 +20226,6 @@ paths:
responses:
'204':
description: No response body
- /dcim/device-bay-templates/{id}/notes/:
- get:
- operationId: dcim_device_bay_templates_notes_list
- description: API methods for returning or creating notes on an object.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this device bay template.
- required: true
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- - in: query
- name: depth
- required: false
- description: Serializer Depth
- schema:
- type: integer
- minimum: 0
- maximum: 10
- default: 1
- tags:
- - dcim
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- description: ''
- post:
- operationId: dcim_device_bay_templates_notes_create
- description: API methods for returning or creating notes on an object.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this device bay template.
- required: true
- tags:
- - dcim
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- required: true
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '201':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Note'
- text/csv:
- schema:
- $ref: '#/components/schemas/Note'
- description: ''
/dcim/device-bays/:
get:
operationId: dcim_device_bays_list
@@ -22463,9 +20247,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: description
schema:
@@ -22605,9 +20391,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -22626,51 +20414,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -22680,69 +20423,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: installed_device
schema:
@@ -23063,9 +20743,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -23075,6 +20757,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -23271,6 +20960,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -23435,6 +21131,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -23513,9 +21216,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -23718,9 +21423,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -23744,51 +21451,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -23798,69 +21460,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: last_updated
schema:
@@ -24090,9 +21689,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -24102,6 +21703,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -24298,6 +21906,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -24462,6 +22077,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -24540,9 +22162,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -24612,9 +22236,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: failover_strategy
schema:
@@ -24745,51 +22371,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -24799,69 +22380,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: last_updated
schema:
@@ -25087,9 +22605,11 @@ paths:
- in: query
name: status__n
schema:
- type: string
- format: uuid
- description: Exclude Status (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: tags
schema:
@@ -25126,9 +22646,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -25138,6 +22660,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -25334,6 +22863,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -25498,6 +23034,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -25740,9 +23283,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -25881,9 +23426,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -25978,51 +23525,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -26032,69 +23534,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: interface_templates
schema:
@@ -26619,9 +24058,6 @@ paths:
type: array
items:
type: string
- title: Parent/child status
- description: Parent devices house child devices in device bays. Leave blank
- if this device type is neither a parent nor a child.
explode: true
style: form
- in: query
@@ -26716,9 +24152,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: u_height
schema:
@@ -26776,6 +24214,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -26812,6 +24257,9 @@ paths:
text/csv:
schema:
$ref: '#/components/schemas/WritableDeviceTypeRequest'
+ multipart/form-data:
+ schema:
+ $ref: '#/components/schemas/WritableDeviceTypeRequest'
required: true
security:
- cookieAuth: []
@@ -26851,6 +24299,11 @@ paths:
type: array
items:
$ref: '#/components/schemas/BulkWritableDeviceTypeRequest'
+ multipart/form-data:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkWritableDeviceTypeRequest'
required: true
security:
- cookieAuth: []
@@ -26894,6 +24347,11 @@ paths:
type: array
items:
$ref: '#/components/schemas/PatchedBulkWritableDeviceTypeRequest'
+ multipart/form-data:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/PatchedBulkWritableDeviceTypeRequest'
required: true
security:
- cookieAuth: []
@@ -26943,6 +24401,11 @@ paths:
type: array
items:
$ref: '#/components/schemas/BulkOperationRequest'
+ multipart/form-data:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkOperationRequest'
required: true
/dcim/device-types-to-software-image-files/:
get:
@@ -27041,51 +24504,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -27095,69 +24513,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: last_updated
schema:
@@ -27264,6 +24619,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -27462,6 +24824,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -27617,6 +24986,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -27660,6 +25036,9 @@ paths:
text/csv:
schema:
$ref: '#/components/schemas/WritableDeviceTypeRequest'
+ multipart/form-data:
+ schema:
+ $ref: '#/components/schemas/WritableDeviceTypeRequest'
required: true
security:
- cookieAuth: []
@@ -27702,6 +25081,9 @@ paths:
text/csv:
schema:
$ref: '#/components/schemas/PatchedWritableDeviceTypeRequest'
+ multipart/form-data:
+ schema:
+ $ref: '#/components/schemas/PatchedWritableDeviceTypeRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -27781,6 +25163,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -27824,6 +25213,9 @@ paths:
text/csv:
schema:
$ref: '#/components/schemas/NoteInputRequest'
+ multipart/form-data:
+ schema:
+ $ref: '#/components/schemas/NoteInputRequest'
required: true
security:
- cookieAuth: []
@@ -28038,9 +25430,27 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: controller
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: controller__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: controller_managed_device_group
schema:
@@ -28266,9 +25676,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: face
schema:
@@ -28324,7 +25736,6 @@ paths:
type: array
items:
type: string
- title: Rack face
explode: true
style: form
- in: query
@@ -28441,6 +25852,11 @@ paths:
schema:
type: boolean
description: Has interfaces
+ - in: query
+ name: has_ip_addresses
+ schema:
+ type: boolean
+ description: Has IP addresses
- in: query
name: has_module_bays
schema:
@@ -28466,6 +25882,11 @@ paths:
schema:
type: boolean
description: Has a primary IP
+ - in: query
+ name: has_radio_profiles
+ schema:
+ type: boolean
+ description: Has radio profiles
- in: query
name: has_rear_ports
schema:
@@ -28481,6 +25902,11 @@ paths:
schema:
type: boolean
description: Has software version
+ - in: query
+ name: has_wireless_networks
+ schema:
+ type: boolean
+ description: Has wireless networks
- in: query
name: id
schema:
@@ -28492,51 +25918,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -28546,69 +25927,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: interfaces
schema:
@@ -28630,6 +25948,15 @@ paths:
type: string
explode: true
style: form
+ - in: query
+ name: ip_addresses
+ schema:
+ type: array
+ items:
+ type: string
+ description: IP addresses (address or ID)
+ explode: true
+ style: form
- in: query
name: is_full_depth
schema:
@@ -29225,6 +26552,22 @@ paths:
type: string
explode: true
style: form
+ - in: query
+ name: radio_profiles
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: radio_profiles__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: rear_ports
schema:
@@ -29257,9 +26600,11 @@ paths:
- in: query
name: role__n
schema:
- type: string
- format: uuid
- description: Exclude Role (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: secrets_group
schema:
@@ -29289,6 +26634,110 @@ paths:
type: string
explode: true
style: form
+ - in: query
+ name: serial__ic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: serial__ie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: serial__iew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: serial__ire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: serial__isw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: serial__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: serial__nic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: serial__nie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: serial__niew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: serial__nire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: serial__nisw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: serial__nre
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: serial__re
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: software_image_files
schema:
@@ -29343,9 +26792,11 @@ paths:
- in: query
name: status__n
schema:
- type: string
- format: uuid
- description: Exclude Status (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: tags
schema:
@@ -29382,9 +26833,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: tenant
schema:
@@ -29584,6 +27037,22 @@ paths:
schema:
type: boolean
description: Is a virtual chassis member
+ - in: query
+ name: wireless_networks
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: wireless_networks__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -29593,6 +27062,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -29789,6 +27265,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -29946,6 +27429,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -30001,6 +27491,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -30079,9 +27576,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: description
schema:
@@ -30240,9 +27739,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -30270,56 +27771,6 @@ paths:
description: ID
explode: true
style: form
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID contains
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID ends with
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID matches regex
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID starts with
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -30330,76 +27781,6 @@ paths:
description: Exclude ID
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID contains
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID ends with
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID matches regex
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID starts with
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID matches regex
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID matches regex
- explode: true
- style: form
- in: query
name: label
schema:
@@ -30780,9 +28161,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: type
schema:
@@ -30904,6 +28287,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -31100,6 +28490,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -31224,103 +28621,6 @@ paths:
responses:
'204':
description: No response body
- /dcim/front-port-templates/{id}/notes/:
- get:
- operationId: dcim_front_port_templates_notes_list
- description: API methods for returning or creating notes on an object.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this front port template.
- required: true
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- - in: query
- name: depth
- required: false
- description: Serializer Depth
- schema:
- type: integer
- minimum: 0
- maximum: 10
- default: 1
- tags:
- - dcim
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- description: ''
- post:
- operationId: dcim_front_port_templates_notes_create
- description: API methods for returning or creating notes on an object.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this front port template.
- required: true
- tags:
- - dcim
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- required: true
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '201':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Note'
- text/csv:
- schema:
- $ref: '#/components/schemas/Note'
- description: ''
/dcim/front-ports/:
get:
operationId: dcim_front_ports_list
@@ -31366,9 +28666,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: description
schema:
@@ -31500,9 +28802,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -31526,51 +28830,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -31580,69 +28839,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: label
schema:
@@ -32027,9 +29223,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: type
schema:
@@ -32151,6 +29349,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -32347,6 +29552,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -32511,6 +29723,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -32608,6 +29827,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -32644,9 +29870,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: device
schema:
@@ -32677,9 +29905,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -32698,51 +29928,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -32752,69 +29937,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- name: limit
required: false
in: query
@@ -32854,9 +29976,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -32866,6 +29990,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -32904,51 +30035,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -32958,69 +30044,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: interface
schema:
@@ -33133,6 +30156,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -33330,6 +30360,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -33494,6 +30531,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -33572,9 +30616,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: description
schema:
@@ -33698,9 +30744,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -33719,51 +30767,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -33773,69 +30776,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- name: limit
required: false
in: query
@@ -34015,7 +30955,6 @@ paths:
type: array
items:
type: string
- title: Redundancy Protocol
explode: true
style: form
- in: query
@@ -34253,9 +31192,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: virtual_ip
schema:
@@ -34274,6 +31215,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -34470,6 +31418,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -34634,6 +31589,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -34712,9 +31674,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: description
schema:
@@ -34873,9 +31837,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -34903,56 +31869,6 @@ paths:
description: ID
explode: true
style: form
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID contains
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID ends with
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID matches regex
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID starts with
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -34963,76 +31879,6 @@ paths:
description: Exclude ID
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID contains
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID ends with
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID matches regex
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID starts with
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID matches regex
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID matches regex
- explode: true
- style: form
- in: query
name: label
schema:
@@ -35349,9 +32195,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: type
schema:
@@ -35473,6 +32321,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -35669,6 +32524,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -35793,11 +32655,41 @@ paths:
responses:
'204':
description: No response body
- /dcim/interface-templates/{id}/notes/:
+ /dcim/interface-vdc-assignments/:
get:
- operationId: dcim_interface_templates_notes_list
- description: API methods for returning or creating notes on an object.
+ operationId: dcim_interface_vdc_assignments_list
+ description: Retrieve a list of interface vdc assignment objects.
parameters:
+ - in: query
+ name: created
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: device
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: device__isnull
+ schema:
+ type: boolean
+ description: Device (name or ID) is null
+ - in: query
+ name: device__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -35805,13 +32697,51 @@ paths:
enum:
- csv
- json
- - in: path
+ - in: query
name: id
schema:
- type: string
- format: uuid
- description: A UUID string identifying this interface template.
- required: true
+ type: array
+ items:
+ type: string
+ format: uuid
+ explode: true
+ style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
+ - in: query
+ name: id__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ explode: true
+ style: form
+ - in: query
+ name: interface
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: interface__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: last_updated
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
- name: limit
required: false
in: query
@@ -35824,6 +32754,33 @@ paths:
description: The initial index from which to return the results.
schema:
type: integer
+ - in: query
+ name: q
+ schema:
+ type: string
+ description: Search
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
+ schema:
+ type: string
+ - in: query
+ name: virtual_device_context
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: virtual_device_context__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -35833,6 +32790,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -35843,14 +32807,168 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: '#/components/schemas/PaginatedInterfaceVDCAssignmentList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: '#/components/schemas/PaginatedInterfaceVDCAssignmentList'
description: ''
post:
- operationId: dcim_interface_templates_notes_create
- description: API methods for returning or creating notes on an object.
+ operationId: dcim_interface_vdc_assignments_create
+ description: Create one or more interface vdc assignment objects.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - dcim
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/InterfaceVDCAssignmentRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/InterfaceVDCAssignmentRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '201':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/InterfaceVDCAssignment'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/InterfaceVDCAssignment'
+ description: ''
+ put:
+ operationId: dcim_interface_vdc_assignments_bulk_update
+ description: Update a list of interface vdc assignment objects.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - dcim
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkWritableInterfaceVDCAssignmentRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkWritableInterfaceVDCAssignmentRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/InterfaceVDCAssignment'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/InterfaceVDCAssignment'
+ description: ''
+ patch:
+ operationId: dcim_interface_vdc_assignments_bulk_partial_update
+ description: Partial update a list of interface vdc assignment objects.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - dcim
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/PatchedBulkWritableInterfaceVDCAssignmentRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/PatchedBulkWritableInterfaceVDCAssignmentRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/InterfaceVDCAssignment'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/InterfaceVDCAssignment'
+ description: ''
+ delete:
+ operationId: dcim_interface_vdc_assignments_bulk_destroy
+ description: Destroy a list of interface vdc assignment objects.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - dcim
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '204':
+ description: No response body
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkOperationRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkOperationRequest'
+ required: true
+ /dcim/interface-vdc-assignments/{id}/:
+ get:
+ operationId: dcim_interface_vdc_assignments_retrieve
+ description: Retrieve a interface vdc assignment object.
parameters:
- in: query
name: format
@@ -35864,7 +32982,56 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this interface template.
+ description: A UUID string identifying this interface vdc assignment.
+ required: true
+ - in: query
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
+ tags:
+ - dcim
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/InterfaceVDCAssignment'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/InterfaceVDCAssignment'
+ description: ''
+ put:
+ operationId: dcim_interface_vdc_assignments_update
+ description: Update a interface vdc assignment object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this interface vdc assignment.
required: true
tags:
- dcim
@@ -35872,24 +33039,91 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: '#/components/schemas/InterfaceVDCAssignmentRequest'
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: '#/components/schemas/InterfaceVDCAssignmentRequest'
required: true
security:
- cookieAuth: []
- tokenAuth: []
responses:
- '201':
+ '200':
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: '#/components/schemas/InterfaceVDCAssignment'
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: '#/components/schemas/InterfaceVDCAssignment'
description: ''
+ patch:
+ operationId: dcim_interface_vdc_assignments_partial_update
+ description: Partial update a interface vdc assignment object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this interface vdc assignment.
+ required: true
+ tags:
+ - dcim
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PatchedInterfaceVDCAssignmentRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PatchedInterfaceVDCAssignmentRequest'
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/InterfaceVDCAssignment'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/InterfaceVDCAssignment'
+ description: ''
+ delete:
+ operationId: dcim_interface_vdc_assignments_destroy
+ description: Destroy a interface vdc assignment object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this interface vdc assignment.
+ required: true
+ tags:
+ - dcim
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '204':
+ description: No response body
/dcim/interfaces/:
get:
operationId: dcim_interfaces_list
@@ -36003,9 +33237,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: description
schema:
@@ -36153,9 +33389,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: enabled
schema:
@@ -36182,6 +33420,11 @@ paths:
schema:
type: boolean
description: Has child interfaces
+ - in: query
+ name: has_ip_addresses
+ schema:
+ type: boolean
+ description: Has IP addresses
- in: query
name: has_member_interfaces
schema:
@@ -36192,6 +33435,11 @@ paths:
schema:
type: boolean
description: Has tagged VLANs
+ - in: query
+ name: has_virtual_device_contexts
+ schema:
+ type: boolean
+ description: Has Virtual Device Context
- in: query
name: id
schema:
@@ -36203,51 +33451,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -36258,70 +33461,19 @@ paths:
explode: true
style: form
- in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
+ name: interface_redundancy_groups
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__re
+ name: interface_redundancy_groups__isnull
schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
+ type: boolean
- in: query
- name: interface_redundancy_groups
+ name: interface_redundancy_groups__n
schema:
type: array
items:
@@ -36329,15 +33481,12 @@ paths:
explode: true
style: form
- in: query
- name: interface_redundancy_groups__isnull
- schema:
- type: boolean
- - in: query
- name: interface_redundancy_groups__n
+ name: ip_addresses
schema:
type: array
items:
type: string
+ description: IP addresses (address or ID)
explode: true
style: form
- in: query
@@ -36982,9 +34131,11 @@ paths:
- in: query
name: role__n
schema:
- type: string
- format: uuid
- description: Exclude Role (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- name: sort
required: false
in: query
@@ -37002,9 +34153,11 @@ paths:
- in: query
name: status__n
schema:
- type: string
- format: uuid
- description: Exclude Status (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: tagged_vlans
schema:
@@ -37057,9 +34210,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: type
schema:
@@ -37193,6 +34348,27 @@ paths:
type: string
explode: true
style: form
+ - in: query
+ name: virtual_device_contexts
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: virtual_device_contexts__isnull
+ schema:
+ type: boolean
+ description: Virtual Device Context (name or ID) is null
+ - in: query
+ name: virtual_device_contexts__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: vlan
schema:
@@ -37212,6 +34388,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -37408,6 +34591,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -37572,6 +34762,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -37658,6 +34855,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -37831,9 +35035,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: description
schema:
@@ -37977,9 +35183,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -38013,51 +35221,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -38067,69 +35230,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: label
schema:
@@ -38549,6 +35649,110 @@ paths:
type: string
explode: true
style: form
+ - in: query
+ name: serial__ic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: serial__ie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: serial__iew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: serial__ire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: serial__isw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: serial__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: serial__nic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: serial__nie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: serial__niew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: serial__nire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: serial__nisw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: serial__nre
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: serial__re
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: software_image_files
schema:
@@ -38628,9 +35832,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -38640,6 +35846,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -38836,6 +36049,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -39000,6 +36220,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -39077,52 +36304,14 @@ paths:
description: Contacts (name or ID) is null
- in: query
name: contacts__n
- schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
- - in: query
- name: content_types
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__ic
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__ie
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__iew
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__ire
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: content_types__isw
+ name: content_types
schema:
type: array
items:
@@ -39137,62 +36326,6 @@ paths:
type: integer
explode: true
style: form
- - in: query
- name: content_types__nic
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__nie
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__niew
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__nire
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__nisw
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__nre
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__re
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- in: query
name: created
schema:
@@ -39374,9 +36507,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -39395,51 +36530,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -39449,69 +36539,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: last_updated
schema:
@@ -39746,9 +36773,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -39758,6 +36787,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -39954,6 +36990,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -40118,6 +37161,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -40746,66 +37796,19 @@ paths:
description: Contacts (name or ID) is null
- in: query
name: contacts__n
- schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
- - in: query
- name: content_type
- schema:
- type: array
- items:
- type: integer
- description: Object types allowed to be associated with this Location Type
- explode: true
- style: form
- - in: query
- name: content_type__ic
schema:
type: array
items:
- type: integer
- description: Object types allowed to be associated with this Location Type
- contains
- explode: true
- style: form
- - in: query
- name: content_type__ie
- schema:
- type: array
- items:
- type: integer
- description: Object types allowed to be associated with this Location Type
- explode: true
- style: form
- - in: query
- name: content_type__iew
- schema:
- type: array
- items:
- type: integer
- description: Object types allowed to be associated with this Location Type
- ends with
- explode: true
- style: form
- - in: query
- name: content_type__ire
- schema:
- type: array
- items:
- type: integer
- description: Object types allowed to be associated with this Location Type
- matches regex
+ type: string
explode: true
style: form
- in: query
- name: content_type__isw
+ name: content_type
schema:
type: array
items:
type: integer
description: Object types allowed to be associated with this Location Type
- starts with
explode: true
style: form
- in: query
@@ -40818,76 +37821,6 @@ paths:
Type
explode: true
style: form
- - in: query
- name: content_type__nic
- schema:
- type: array
- items:
- type: integer
- description: Exclude Object types allowed to be associated with this Location
- Type contains
- explode: true
- style: form
- - in: query
- name: content_type__nie
- schema:
- type: array
- items:
- type: integer
- description: Exclude Object types allowed to be associated with this Location
- Type
- explode: true
- style: form
- - in: query
- name: content_type__niew
- schema:
- type: array
- items:
- type: integer
- description: Exclude Object types allowed to be associated with this Location
- Type ends with
- explode: true
- style: form
- - in: query
- name: content_type__nire
- schema:
- type: array
- items:
- type: integer
- description: Exclude Object types allowed to be associated with this Location
- Type matches regex
- explode: true
- style: form
- - in: query
- name: content_type__nisw
- schema:
- type: array
- items:
- type: integer
- description: Exclude Object types allowed to be associated with this Location
- Type starts with
- explode: true
- style: form
- - in: query
- name: content_type__nre
- schema:
- type: array
- items:
- type: integer
- description: Exclude Object types allowed to be associated with this Location
- Type matches regex
- explode: true
- style: form
- - in: query
- name: content_type__re
- schema:
- type: array
- items:
- type: integer
- description: Object types allowed to be associated with this Location Type
- matches regex
- explode: true
- style: form
- in: query
name: created
schema:
@@ -41090,9 +38023,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: facility
schema:
@@ -41268,51 +38203,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -41322,69 +38212,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: last_updated
schema:
@@ -42039,9 +38866,11 @@ paths:
- in: query
name: status__n
schema:
- type: string
- format: uuid
- description: Exclude Status (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: subtree
schema:
@@ -42086,9 +38915,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: tenant
schema:
@@ -42264,6 +39095,7 @@ paths:
- America/Coral_Harbour
- America/Cordoba
- America/Costa_Rica
+ - America/Coyhaique
- America/Creston
- America/Cuiaba
- America/Curacao
@@ -42773,607 +39605,7 @@ paths:
type: array
items:
type: string
- enum:
- - Africa/Abidjan
- - Africa/Accra
- - Africa/Addis_Ababa
- - Africa/Algiers
- - Africa/Asmara
- - Africa/Asmera
- - Africa/Bamako
- - Africa/Bangui
- - Africa/Banjul
- - Africa/Bissau
- - Africa/Blantyre
- - Africa/Brazzaville
- - Africa/Bujumbura
- - Africa/Cairo
- - Africa/Casablanca
- - Africa/Ceuta
- - Africa/Conakry
- - Africa/Dakar
- - Africa/Dar_es_Salaam
- - Africa/Djibouti
- - Africa/Douala
- - Africa/El_Aaiun
- - Africa/Freetown
- - Africa/Gaborone
- - Africa/Harare
- - Africa/Johannesburg
- - Africa/Juba
- - Africa/Kampala
- - Africa/Khartoum
- - Africa/Kigali
- - Africa/Kinshasa
- - Africa/Lagos
- - Africa/Libreville
- - Africa/Lome
- - Africa/Luanda
- - Africa/Lubumbashi
- - Africa/Lusaka
- - Africa/Malabo
- - Africa/Maputo
- - Africa/Maseru
- - Africa/Mbabane
- - Africa/Mogadishu
- - Africa/Monrovia
- - Africa/Nairobi
- - Africa/Ndjamena
- - Africa/Niamey
- - Africa/Nouakchott
- - Africa/Ouagadougou
- - Africa/Porto-Novo
- - Africa/Sao_Tome
- - Africa/Timbuktu
- - Africa/Tripoli
- - Africa/Tunis
- - Africa/Windhoek
- - America/Adak
- - America/Anchorage
- - America/Anguilla
- - America/Antigua
- - America/Araguaina
- - America/Argentina/Buenos_Aires
- - America/Argentina/Catamarca
- - America/Argentina/ComodRivadavia
- - America/Argentina/Cordoba
- - America/Argentina/Jujuy
- - America/Argentina/La_Rioja
- - America/Argentina/Mendoza
- - America/Argentina/Rio_Gallegos
- - America/Argentina/Salta
- - America/Argentina/San_Juan
- - America/Argentina/San_Luis
- - America/Argentina/Tucuman
- - America/Argentina/Ushuaia
- - America/Aruba
- - America/Asuncion
- - America/Atikokan
- - America/Atka
- - America/Bahia
- - America/Bahia_Banderas
- - America/Barbados
- - America/Belem
- - America/Belize
- - America/Blanc-Sablon
- - America/Boa_Vista
- - America/Bogota
- - America/Boise
- - America/Buenos_Aires
- - America/Cambridge_Bay
- - America/Campo_Grande
- - America/Cancun
- - America/Caracas
- - America/Catamarca
- - America/Cayenne
- - America/Cayman
- - America/Chicago
- - America/Chihuahua
- - America/Ciudad_Juarez
- - America/Coral_Harbour
- - America/Cordoba
- - America/Costa_Rica
- - America/Creston
- - America/Cuiaba
- - America/Curacao
- - America/Danmarkshavn
- - America/Dawson
- - America/Dawson_Creek
- - America/Denver
- - America/Detroit
- - America/Dominica
- - America/Edmonton
- - America/Eirunepe
- - America/El_Salvador
- - America/Ensenada
- - America/Fort_Nelson
- - America/Fort_Wayne
- - America/Fortaleza
- - America/Glace_Bay
- - America/Godthab
- - America/Goose_Bay
- - America/Grand_Turk
- - America/Grenada
- - America/Guadeloupe
- - America/Guatemala
- - America/Guayaquil
- - America/Guyana
- - America/Halifax
- - America/Havana
- - America/Hermosillo
- - America/Indiana/Indianapolis
- - America/Indiana/Knox
- - America/Indiana/Marengo
- - America/Indiana/Petersburg
- - America/Indiana/Tell_City
- - America/Indiana/Vevay
- - America/Indiana/Vincennes
- - America/Indiana/Winamac
- - America/Indianapolis
- - America/Inuvik
- - America/Iqaluit
- - America/Jamaica
- - America/Jujuy
- - America/Juneau
- - America/Kentucky/Louisville
- - America/Kentucky/Monticello
- - America/Knox_IN
- - America/Kralendijk
- - America/La_Paz
- - America/Lima
- - America/Los_Angeles
- - America/Louisville
- - America/Lower_Princes
- - America/Maceio
- - America/Managua
- - America/Manaus
- - America/Marigot
- - America/Martinique
- - America/Matamoros
- - America/Mazatlan
- - America/Mendoza
- - America/Menominee
- - America/Merida
- - America/Metlakatla
- - America/Mexico_City
- - America/Miquelon
- - America/Moncton
- - America/Monterrey
- - America/Montevideo
- - America/Montreal
- - America/Montserrat
- - America/Nassau
- - America/New_York
- - America/Nipigon
- - America/Nome
- - America/Noronha
- - America/North_Dakota/Beulah
- - America/North_Dakota/Center
- - America/North_Dakota/New_Salem
- - America/Nuuk
- - America/Ojinaga
- - America/Panama
- - America/Pangnirtung
- - America/Paramaribo
- - America/Phoenix
- - America/Port-au-Prince
- - America/Port_of_Spain
- - America/Porto_Acre
- - America/Porto_Velho
- - America/Puerto_Rico
- - America/Punta_Arenas
- - America/Rainy_River
- - America/Rankin_Inlet
- - America/Recife
- - America/Regina
- - America/Resolute
- - America/Rio_Branco
- - America/Rosario
- - America/Santa_Isabel
- - America/Santarem
- - America/Santiago
- - America/Santo_Domingo
- - America/Sao_Paulo
- - America/Scoresbysund
- - America/Shiprock
- - America/Sitka
- - America/St_Barthelemy
- - America/St_Johns
- - America/St_Kitts
- - America/St_Lucia
- - America/St_Thomas
- - America/St_Vincent
- - America/Swift_Current
- - America/Tegucigalpa
- - America/Thule
- - America/Thunder_Bay
- - America/Tijuana
- - America/Toronto
- - America/Tortola
- - America/Vancouver
- - America/Virgin
- - America/Whitehorse
- - America/Winnipeg
- - America/Yakutat
- - America/Yellowknife
- - Antarctica/Casey
- - Antarctica/Davis
- - Antarctica/DumontDUrville
- - Antarctica/Macquarie
- - Antarctica/Mawson
- - Antarctica/McMurdo
- - Antarctica/Palmer
- - Antarctica/Rothera
- - Antarctica/South_Pole
- - Antarctica/Syowa
- - Antarctica/Troll
- - Antarctica/Vostok
- - Arctic/Longyearbyen
- - Asia/Aden
- - Asia/Almaty
- - Asia/Amman
- - Asia/Anadyr
- - Asia/Aqtau
- - Asia/Aqtobe
- - Asia/Ashgabat
- - Asia/Ashkhabad
- - Asia/Atyrau
- - Asia/Baghdad
- - Asia/Bahrain
- - Asia/Baku
- - Asia/Bangkok
- - Asia/Barnaul
- - Asia/Beirut
- - Asia/Bishkek
- - Asia/Brunei
- - Asia/Calcutta
- - Asia/Chita
- - Asia/Choibalsan
- - Asia/Chongqing
- - Asia/Chungking
- - Asia/Colombo
- - Asia/Dacca
- - Asia/Damascus
- - Asia/Dhaka
- - Asia/Dili
- - Asia/Dubai
- - Asia/Dushanbe
- - Asia/Famagusta
- - Asia/Gaza
- - Asia/Harbin
- - Asia/Hebron
- - Asia/Ho_Chi_Minh
- - Asia/Hong_Kong
- - Asia/Hovd
- - Asia/Irkutsk
- - Asia/Istanbul
- - Asia/Jakarta
- - Asia/Jayapura
- - Asia/Jerusalem
- - Asia/Kabul
- - Asia/Kamchatka
- - Asia/Karachi
- - Asia/Kashgar
- - Asia/Kathmandu
- - Asia/Katmandu
- - Asia/Khandyga
- - Asia/Kolkata
- - Asia/Krasnoyarsk
- - Asia/Kuala_Lumpur
- - Asia/Kuching
- - Asia/Kuwait
- - Asia/Macao
- - Asia/Macau
- - Asia/Magadan
- - Asia/Makassar
- - Asia/Manila
- - Asia/Muscat
- - Asia/Nicosia
- - Asia/Novokuznetsk
- - Asia/Novosibirsk
- - Asia/Omsk
- - Asia/Oral
- - Asia/Phnom_Penh
- - Asia/Pontianak
- - Asia/Pyongyang
- - Asia/Qatar
- - Asia/Qostanay
- - Asia/Qyzylorda
- - Asia/Rangoon
- - Asia/Riyadh
- - Asia/Saigon
- - Asia/Sakhalin
- - Asia/Samarkand
- - Asia/Seoul
- - Asia/Shanghai
- - Asia/Singapore
- - Asia/Srednekolymsk
- - Asia/Taipei
- - Asia/Tashkent
- - Asia/Tbilisi
- - Asia/Tehran
- - Asia/Tel_Aviv
- - Asia/Thimbu
- - Asia/Thimphu
- - Asia/Tokyo
- - Asia/Tomsk
- - Asia/Ujung_Pandang
- - Asia/Ulaanbaatar
- - Asia/Ulan_Bator
- - Asia/Urumqi
- - Asia/Ust-Nera
- - Asia/Vientiane
- - Asia/Vladivostok
- - Asia/Yakutsk
- - Asia/Yangon
- - Asia/Yekaterinburg
- - Asia/Yerevan
- - Atlantic/Azores
- - Atlantic/Bermuda
- - Atlantic/Canary
- - Atlantic/Cape_Verde
- - Atlantic/Faeroe
- - Atlantic/Faroe
- - Atlantic/Jan_Mayen
- - Atlantic/Madeira
- - Atlantic/Reykjavik
- - Atlantic/South_Georgia
- - Atlantic/St_Helena
- - Atlantic/Stanley
- - Australia/ACT
- - Australia/Adelaide
- - Australia/Brisbane
- - Australia/Broken_Hill
- - Australia/Canberra
- - Australia/Currie
- - Australia/Darwin
- - Australia/Eucla
- - Australia/Hobart
- - Australia/LHI
- - Australia/Lindeman
- - Australia/Lord_Howe
- - Australia/Melbourne
- - Australia/NSW
- - Australia/North
- - Australia/Perth
- - Australia/Queensland
- - Australia/South
- - Australia/Sydney
- - Australia/Tasmania
- - Australia/Victoria
- - Australia/West
- - Australia/Yancowinna
- - Brazil/Acre
- - Brazil/DeNoronha
- - Brazil/East
- - Brazil/West
- - CET
- - CST6CDT
- - Canada/Atlantic
- - Canada/Central
- - Canada/Eastern
- - Canada/Mountain
- - Canada/Newfoundland
- - Canada/Pacific
- - Canada/Saskatchewan
- - Canada/Yukon
- - Chile/Continental
- - Chile/EasterIsland
- - Cuba
- - EET
- - EST
- - EST5EDT
- - Egypt
- - Eire
- - Etc/GMT
- - Etc/GMT+0
- - Etc/GMT+1
- - Etc/GMT+10
- - Etc/GMT+11
- - Etc/GMT+12
- - Etc/GMT+2
- - Etc/GMT+3
- - Etc/GMT+4
- - Etc/GMT+5
- - Etc/GMT+6
- - Etc/GMT+7
- - Etc/GMT+8
- - Etc/GMT+9
- - Etc/GMT-0
- - Etc/GMT-1
- - Etc/GMT-10
- - Etc/GMT-11
- - Etc/GMT-12
- - Etc/GMT-13
- - Etc/GMT-14
- - Etc/GMT-2
- - Etc/GMT-3
- - Etc/GMT-4
- - Etc/GMT-5
- - Etc/GMT-6
- - Etc/GMT-7
- - Etc/GMT-8
- - Etc/GMT-9
- - Etc/GMT0
- - Etc/Greenwich
- - Etc/UCT
- - Etc/UTC
- - Etc/Universal
- - Etc/Zulu
- - Europe/Amsterdam
- - Europe/Andorra
- - Europe/Astrakhan
- - Europe/Athens
- - Europe/Belfast
- - Europe/Belgrade
- - Europe/Berlin
- - Europe/Bratislava
- - Europe/Brussels
- - Europe/Bucharest
- - Europe/Budapest
- - Europe/Busingen
- - Europe/Chisinau
- - Europe/Copenhagen
- - Europe/Dublin
- - Europe/Gibraltar
- - Europe/Guernsey
- - Europe/Helsinki
- - Europe/Isle_of_Man
- - Europe/Istanbul
- - Europe/Jersey
- - Europe/Kaliningrad
- - Europe/Kiev
- - Europe/Kirov
- - Europe/Kyiv
- - Europe/Lisbon
- - Europe/Ljubljana
- - Europe/London
- - Europe/Luxembourg
- - Europe/Madrid
- - Europe/Malta
- - Europe/Mariehamn
- - Europe/Minsk
- - Europe/Monaco
- - Europe/Moscow
- - Europe/Nicosia
- - Europe/Oslo
- - Europe/Paris
- - Europe/Podgorica
- - Europe/Prague
- - Europe/Riga
- - Europe/Rome
- - Europe/Samara
- - Europe/San_Marino
- - Europe/Sarajevo
- - Europe/Saratov
- - Europe/Simferopol
- - Europe/Skopje
- - Europe/Sofia
- - Europe/Stockholm
- - Europe/Tallinn
- - Europe/Tirane
- - Europe/Tiraspol
- - Europe/Ulyanovsk
- - Europe/Uzhgorod
- - Europe/Vaduz
- - Europe/Vatican
- - Europe/Vienna
- - Europe/Vilnius
- - Europe/Volgograd
- - Europe/Warsaw
- - Europe/Zagreb
- - Europe/Zaporozhye
- - Europe/Zurich
- - GB
- - GB-Eire
- - GMT
- - GMT+0
- - GMT-0
- - GMT0
- - Greenwich
- - HST
- - Hongkong
- - Iceland
- - Indian/Antananarivo
- - Indian/Chagos
- - Indian/Christmas
- - Indian/Cocos
- - Indian/Comoro
- - Indian/Kerguelen
- - Indian/Mahe
- - Indian/Maldives
- - Indian/Mauritius
- - Indian/Mayotte
- - Indian/Reunion
- - Iran
- - Israel
- - Jamaica
- - Japan
- - Kwajalein
- - Libya
- - MET
- - MST
- - MST7MDT
- - Mexico/BajaNorte
- - Mexico/BajaSur
- - Mexico/General
- - NZ
- - NZ-CHAT
- - Navajo
- - PRC
- - PST8PDT
- - Pacific/Apia
- - Pacific/Auckland
- - Pacific/Bougainville
- - Pacific/Chatham
- - Pacific/Chuuk
- - Pacific/Easter
- - Pacific/Efate
- - Pacific/Enderbury
- - Pacific/Fakaofo
- - Pacific/Fiji
- - Pacific/Funafuti
- - Pacific/Galapagos
- - Pacific/Gambier
- - Pacific/Guadalcanal
- - Pacific/Guam
- - Pacific/Honolulu
- - Pacific/Johnston
- - Pacific/Kanton
- - Pacific/Kiritimati
- - Pacific/Kosrae
- - Pacific/Kwajalein
- - Pacific/Majuro
- - Pacific/Marquesas
- - Pacific/Midway
- - Pacific/Nauru
- - Pacific/Niue
- - Pacific/Norfolk
- - Pacific/Noumea
- - Pacific/Pago_Pago
- - Pacific/Palau
- - Pacific/Pitcairn
- - Pacific/Pohnpei
- - Pacific/Ponape
- - Pacific/Port_Moresby
- - Pacific/Rarotonga
- - Pacific/Saipan
- - Pacific/Samoa
- - Pacific/Tahiti
- - Pacific/Tarawa
- - Pacific/Tongatapu
- - Pacific/Truk
- - Pacific/Wake
- - Pacific/Wallis
- - Pacific/Yap
- - Poland
- - Portugal
- - ROC
- - ROK
- - Singapore
- - Turkey
- - UCT
- - US/Alaska
- - US/Aleutian
- - US/Arizona
- - US/Central
- - US/East-Indiana
- - US/Eastern
- - US/Hawaii
- - US/Indiana-Starke
- - US/Michigan
- - US/Mountain
- - US/Pacific
- - US/Samoa
- - UTC
- - Universal
- - W-SU
- - WET
- - Zulu
- - localtime
- description: |+
- Time zone
-
+ description: Time zone
explode: true
style: form
- in: query
@@ -43382,607 +39614,7 @@ paths:
type: array
items:
type: string
- enum:
- - Africa/Abidjan
- - Africa/Accra
- - Africa/Addis_Ababa
- - Africa/Algiers
- - Africa/Asmara
- - Africa/Asmera
- - Africa/Bamako
- - Africa/Bangui
- - Africa/Banjul
- - Africa/Bissau
- - Africa/Blantyre
- - Africa/Brazzaville
- - Africa/Bujumbura
- - Africa/Cairo
- - Africa/Casablanca
- - Africa/Ceuta
- - Africa/Conakry
- - Africa/Dakar
- - Africa/Dar_es_Salaam
- - Africa/Djibouti
- - Africa/Douala
- - Africa/El_Aaiun
- - Africa/Freetown
- - Africa/Gaborone
- - Africa/Harare
- - Africa/Johannesburg
- - Africa/Juba
- - Africa/Kampala
- - Africa/Khartoum
- - Africa/Kigali
- - Africa/Kinshasa
- - Africa/Lagos
- - Africa/Libreville
- - Africa/Lome
- - Africa/Luanda
- - Africa/Lubumbashi
- - Africa/Lusaka
- - Africa/Malabo
- - Africa/Maputo
- - Africa/Maseru
- - Africa/Mbabane
- - Africa/Mogadishu
- - Africa/Monrovia
- - Africa/Nairobi
- - Africa/Ndjamena
- - Africa/Niamey
- - Africa/Nouakchott
- - Africa/Ouagadougou
- - Africa/Porto-Novo
- - Africa/Sao_Tome
- - Africa/Timbuktu
- - Africa/Tripoli
- - Africa/Tunis
- - Africa/Windhoek
- - America/Adak
- - America/Anchorage
- - America/Anguilla
- - America/Antigua
- - America/Araguaina
- - America/Argentina/Buenos_Aires
- - America/Argentina/Catamarca
- - America/Argentina/ComodRivadavia
- - America/Argentina/Cordoba
- - America/Argentina/Jujuy
- - America/Argentina/La_Rioja
- - America/Argentina/Mendoza
- - America/Argentina/Rio_Gallegos
- - America/Argentina/Salta
- - America/Argentina/San_Juan
- - America/Argentina/San_Luis
- - America/Argentina/Tucuman
- - America/Argentina/Ushuaia
- - America/Aruba
- - America/Asuncion
- - America/Atikokan
- - America/Atka
- - America/Bahia
- - America/Bahia_Banderas
- - America/Barbados
- - America/Belem
- - America/Belize
- - America/Blanc-Sablon
- - America/Boa_Vista
- - America/Bogota
- - America/Boise
- - America/Buenos_Aires
- - America/Cambridge_Bay
- - America/Campo_Grande
- - America/Cancun
- - America/Caracas
- - America/Catamarca
- - America/Cayenne
- - America/Cayman
- - America/Chicago
- - America/Chihuahua
- - America/Ciudad_Juarez
- - America/Coral_Harbour
- - America/Cordoba
- - America/Costa_Rica
- - America/Creston
- - America/Cuiaba
- - America/Curacao
- - America/Danmarkshavn
- - America/Dawson
- - America/Dawson_Creek
- - America/Denver
- - America/Detroit
- - America/Dominica
- - America/Edmonton
- - America/Eirunepe
- - America/El_Salvador
- - America/Ensenada
- - America/Fort_Nelson
- - America/Fort_Wayne
- - America/Fortaleza
- - America/Glace_Bay
- - America/Godthab
- - America/Goose_Bay
- - America/Grand_Turk
- - America/Grenada
- - America/Guadeloupe
- - America/Guatemala
- - America/Guayaquil
- - America/Guyana
- - America/Halifax
- - America/Havana
- - America/Hermosillo
- - America/Indiana/Indianapolis
- - America/Indiana/Knox
- - America/Indiana/Marengo
- - America/Indiana/Petersburg
- - America/Indiana/Tell_City
- - America/Indiana/Vevay
- - America/Indiana/Vincennes
- - America/Indiana/Winamac
- - America/Indianapolis
- - America/Inuvik
- - America/Iqaluit
- - America/Jamaica
- - America/Jujuy
- - America/Juneau
- - America/Kentucky/Louisville
- - America/Kentucky/Monticello
- - America/Knox_IN
- - America/Kralendijk
- - America/La_Paz
- - America/Lima
- - America/Los_Angeles
- - America/Louisville
- - America/Lower_Princes
- - America/Maceio
- - America/Managua
- - America/Manaus
- - America/Marigot
- - America/Martinique
- - America/Matamoros
- - America/Mazatlan
- - America/Mendoza
- - America/Menominee
- - America/Merida
- - America/Metlakatla
- - America/Mexico_City
- - America/Miquelon
- - America/Moncton
- - America/Monterrey
- - America/Montevideo
- - America/Montreal
- - America/Montserrat
- - America/Nassau
- - America/New_York
- - America/Nipigon
- - America/Nome
- - America/Noronha
- - America/North_Dakota/Beulah
- - America/North_Dakota/Center
- - America/North_Dakota/New_Salem
- - America/Nuuk
- - America/Ojinaga
- - America/Panama
- - America/Pangnirtung
- - America/Paramaribo
- - America/Phoenix
- - America/Port-au-Prince
- - America/Port_of_Spain
- - America/Porto_Acre
- - America/Porto_Velho
- - America/Puerto_Rico
- - America/Punta_Arenas
- - America/Rainy_River
- - America/Rankin_Inlet
- - America/Recife
- - America/Regina
- - America/Resolute
- - America/Rio_Branco
- - America/Rosario
- - America/Santa_Isabel
- - America/Santarem
- - America/Santiago
- - America/Santo_Domingo
- - America/Sao_Paulo
- - America/Scoresbysund
- - America/Shiprock
- - America/Sitka
- - America/St_Barthelemy
- - America/St_Johns
- - America/St_Kitts
- - America/St_Lucia
- - America/St_Thomas
- - America/St_Vincent
- - America/Swift_Current
- - America/Tegucigalpa
- - America/Thule
- - America/Thunder_Bay
- - America/Tijuana
- - America/Toronto
- - America/Tortola
- - America/Vancouver
- - America/Virgin
- - America/Whitehorse
- - America/Winnipeg
- - America/Yakutat
- - America/Yellowknife
- - Antarctica/Casey
- - Antarctica/Davis
- - Antarctica/DumontDUrville
- - Antarctica/Macquarie
- - Antarctica/Mawson
- - Antarctica/McMurdo
- - Antarctica/Palmer
- - Antarctica/Rothera
- - Antarctica/South_Pole
- - Antarctica/Syowa
- - Antarctica/Troll
- - Antarctica/Vostok
- - Arctic/Longyearbyen
- - Asia/Aden
- - Asia/Almaty
- - Asia/Amman
- - Asia/Anadyr
- - Asia/Aqtau
- - Asia/Aqtobe
- - Asia/Ashgabat
- - Asia/Ashkhabad
- - Asia/Atyrau
- - Asia/Baghdad
- - Asia/Bahrain
- - Asia/Baku
- - Asia/Bangkok
- - Asia/Barnaul
- - Asia/Beirut
- - Asia/Bishkek
- - Asia/Brunei
- - Asia/Calcutta
- - Asia/Chita
- - Asia/Choibalsan
- - Asia/Chongqing
- - Asia/Chungking
- - Asia/Colombo
- - Asia/Dacca
- - Asia/Damascus
- - Asia/Dhaka
- - Asia/Dili
- - Asia/Dubai
- - Asia/Dushanbe
- - Asia/Famagusta
- - Asia/Gaza
- - Asia/Harbin
- - Asia/Hebron
- - Asia/Ho_Chi_Minh
- - Asia/Hong_Kong
- - Asia/Hovd
- - Asia/Irkutsk
- - Asia/Istanbul
- - Asia/Jakarta
- - Asia/Jayapura
- - Asia/Jerusalem
- - Asia/Kabul
- - Asia/Kamchatka
- - Asia/Karachi
- - Asia/Kashgar
- - Asia/Kathmandu
- - Asia/Katmandu
- - Asia/Khandyga
- - Asia/Kolkata
- - Asia/Krasnoyarsk
- - Asia/Kuala_Lumpur
- - Asia/Kuching
- - Asia/Kuwait
- - Asia/Macao
- - Asia/Macau
- - Asia/Magadan
- - Asia/Makassar
- - Asia/Manila
- - Asia/Muscat
- - Asia/Nicosia
- - Asia/Novokuznetsk
- - Asia/Novosibirsk
- - Asia/Omsk
- - Asia/Oral
- - Asia/Phnom_Penh
- - Asia/Pontianak
- - Asia/Pyongyang
- - Asia/Qatar
- - Asia/Qostanay
- - Asia/Qyzylorda
- - Asia/Rangoon
- - Asia/Riyadh
- - Asia/Saigon
- - Asia/Sakhalin
- - Asia/Samarkand
- - Asia/Seoul
- - Asia/Shanghai
- - Asia/Singapore
- - Asia/Srednekolymsk
- - Asia/Taipei
- - Asia/Tashkent
- - Asia/Tbilisi
- - Asia/Tehran
- - Asia/Tel_Aviv
- - Asia/Thimbu
- - Asia/Thimphu
- - Asia/Tokyo
- - Asia/Tomsk
- - Asia/Ujung_Pandang
- - Asia/Ulaanbaatar
- - Asia/Ulan_Bator
- - Asia/Urumqi
- - Asia/Ust-Nera
- - Asia/Vientiane
- - Asia/Vladivostok
- - Asia/Yakutsk
- - Asia/Yangon
- - Asia/Yekaterinburg
- - Asia/Yerevan
- - Atlantic/Azores
- - Atlantic/Bermuda
- - Atlantic/Canary
- - Atlantic/Cape_Verde
- - Atlantic/Faeroe
- - Atlantic/Faroe
- - Atlantic/Jan_Mayen
- - Atlantic/Madeira
- - Atlantic/Reykjavik
- - Atlantic/South_Georgia
- - Atlantic/St_Helena
- - Atlantic/Stanley
- - Australia/ACT
- - Australia/Adelaide
- - Australia/Brisbane
- - Australia/Broken_Hill
- - Australia/Canberra
- - Australia/Currie
- - Australia/Darwin
- - Australia/Eucla
- - Australia/Hobart
- - Australia/LHI
- - Australia/Lindeman
- - Australia/Lord_Howe
- - Australia/Melbourne
- - Australia/NSW
- - Australia/North
- - Australia/Perth
- - Australia/Queensland
- - Australia/South
- - Australia/Sydney
- - Australia/Tasmania
- - Australia/Victoria
- - Australia/West
- - Australia/Yancowinna
- - Brazil/Acre
- - Brazil/DeNoronha
- - Brazil/East
- - Brazil/West
- - CET
- - CST6CDT
- - Canada/Atlantic
- - Canada/Central
- - Canada/Eastern
- - Canada/Mountain
- - Canada/Newfoundland
- - Canada/Pacific
- - Canada/Saskatchewan
- - Canada/Yukon
- - Chile/Continental
- - Chile/EasterIsland
- - Cuba
- - EET
- - EST
- - EST5EDT
- - Egypt
- - Eire
- - Etc/GMT
- - Etc/GMT+0
- - Etc/GMT+1
- - Etc/GMT+10
- - Etc/GMT+11
- - Etc/GMT+12
- - Etc/GMT+2
- - Etc/GMT+3
- - Etc/GMT+4
- - Etc/GMT+5
- - Etc/GMT+6
- - Etc/GMT+7
- - Etc/GMT+8
- - Etc/GMT+9
- - Etc/GMT-0
- - Etc/GMT-1
- - Etc/GMT-10
- - Etc/GMT-11
- - Etc/GMT-12
- - Etc/GMT-13
- - Etc/GMT-14
- - Etc/GMT-2
- - Etc/GMT-3
- - Etc/GMT-4
- - Etc/GMT-5
- - Etc/GMT-6
- - Etc/GMT-7
- - Etc/GMT-8
- - Etc/GMT-9
- - Etc/GMT0
- - Etc/Greenwich
- - Etc/UCT
- - Etc/UTC
- - Etc/Universal
- - Etc/Zulu
- - Europe/Amsterdam
- - Europe/Andorra
- - Europe/Astrakhan
- - Europe/Athens
- - Europe/Belfast
- - Europe/Belgrade
- - Europe/Berlin
- - Europe/Bratislava
- - Europe/Brussels
- - Europe/Bucharest
- - Europe/Budapest
- - Europe/Busingen
- - Europe/Chisinau
- - Europe/Copenhagen
- - Europe/Dublin
- - Europe/Gibraltar
- - Europe/Guernsey
- - Europe/Helsinki
- - Europe/Isle_of_Man
- - Europe/Istanbul
- - Europe/Jersey
- - Europe/Kaliningrad
- - Europe/Kiev
- - Europe/Kirov
- - Europe/Kyiv
- - Europe/Lisbon
- - Europe/Ljubljana
- - Europe/London
- - Europe/Luxembourg
- - Europe/Madrid
- - Europe/Malta
- - Europe/Mariehamn
- - Europe/Minsk
- - Europe/Monaco
- - Europe/Moscow
- - Europe/Nicosia
- - Europe/Oslo
- - Europe/Paris
- - Europe/Podgorica
- - Europe/Prague
- - Europe/Riga
- - Europe/Rome
- - Europe/Samara
- - Europe/San_Marino
- - Europe/Sarajevo
- - Europe/Saratov
- - Europe/Simferopol
- - Europe/Skopje
- - Europe/Sofia
- - Europe/Stockholm
- - Europe/Tallinn
- - Europe/Tirane
- - Europe/Tiraspol
- - Europe/Ulyanovsk
- - Europe/Uzhgorod
- - Europe/Vaduz
- - Europe/Vatican
- - Europe/Vienna
- - Europe/Vilnius
- - Europe/Volgograd
- - Europe/Warsaw
- - Europe/Zagreb
- - Europe/Zaporozhye
- - Europe/Zurich
- - GB
- - GB-Eire
- - GMT
- - GMT+0
- - GMT-0
- - GMT0
- - Greenwich
- - HST
- - Hongkong
- - Iceland
- - Indian/Antananarivo
- - Indian/Chagos
- - Indian/Christmas
- - Indian/Cocos
- - Indian/Comoro
- - Indian/Kerguelen
- - Indian/Mahe
- - Indian/Maldives
- - Indian/Mauritius
- - Indian/Mayotte
- - Indian/Reunion
- - Iran
- - Israel
- - Jamaica
- - Japan
- - Kwajalein
- - Libya
- - MET
- - MST
- - MST7MDT
- - Mexico/BajaNorte
- - Mexico/BajaSur
- - Mexico/General
- - NZ
- - NZ-CHAT
- - Navajo
- - PRC
- - PST8PDT
- - Pacific/Apia
- - Pacific/Auckland
- - Pacific/Bougainville
- - Pacific/Chatham
- - Pacific/Chuuk
- - Pacific/Easter
- - Pacific/Efate
- - Pacific/Enderbury
- - Pacific/Fakaofo
- - Pacific/Fiji
- - Pacific/Funafuti
- - Pacific/Galapagos
- - Pacific/Gambier
- - Pacific/Guadalcanal
- - Pacific/Guam
- - Pacific/Honolulu
- - Pacific/Johnston
- - Pacific/Kanton
- - Pacific/Kiritimati
- - Pacific/Kosrae
- - Pacific/Kwajalein
- - Pacific/Majuro
- - Pacific/Marquesas
- - Pacific/Midway
- - Pacific/Nauru
- - Pacific/Niue
- - Pacific/Norfolk
- - Pacific/Noumea
- - Pacific/Pago_Pago
- - Pacific/Palau
- - Pacific/Pitcairn
- - Pacific/Pohnpei
- - Pacific/Ponape
- - Pacific/Port_Moresby
- - Pacific/Rarotonga
- - Pacific/Saipan
- - Pacific/Samoa
- - Pacific/Tahiti
- - Pacific/Tarawa
- - Pacific/Tongatapu
- - Pacific/Truk
- - Pacific/Wake
- - Pacific/Wallis
- - Pacific/Yap
- - Poland
- - Portugal
- - ROC
- - ROK
- - Singapore
- - Turkey
- - UCT
- - US/Alaska
- - US/Aleutian
- - US/Arizona
- - US/Central
- - US/East-Indiana
- - US/Eastern
- - US/Hawaii
- - US/Indiana-Starke
- - US/Michigan
- - US/Mountain
- - US/Pacific
- - US/Samoa
- - UTC
- - Universal
- - W-SU
- - WET
- - Zulu
- - localtime
- description: |+
- Time zone
-
+ description: Time zone
explode: true
style: form
- in: query
@@ -43991,607 +39623,7 @@ paths:
type: array
items:
type: string
- enum:
- - Africa/Abidjan
- - Africa/Accra
- - Africa/Addis_Ababa
- - Africa/Algiers
- - Africa/Asmara
- - Africa/Asmera
- - Africa/Bamako
- - Africa/Bangui
- - Africa/Banjul
- - Africa/Bissau
- - Africa/Blantyre
- - Africa/Brazzaville
- - Africa/Bujumbura
- - Africa/Cairo
- - Africa/Casablanca
- - Africa/Ceuta
- - Africa/Conakry
- - Africa/Dakar
- - Africa/Dar_es_Salaam
- - Africa/Djibouti
- - Africa/Douala
- - Africa/El_Aaiun
- - Africa/Freetown
- - Africa/Gaborone
- - Africa/Harare
- - Africa/Johannesburg
- - Africa/Juba
- - Africa/Kampala
- - Africa/Khartoum
- - Africa/Kigali
- - Africa/Kinshasa
- - Africa/Lagos
- - Africa/Libreville
- - Africa/Lome
- - Africa/Luanda
- - Africa/Lubumbashi
- - Africa/Lusaka
- - Africa/Malabo
- - Africa/Maputo
- - Africa/Maseru
- - Africa/Mbabane
- - Africa/Mogadishu
- - Africa/Monrovia
- - Africa/Nairobi
- - Africa/Ndjamena
- - Africa/Niamey
- - Africa/Nouakchott
- - Africa/Ouagadougou
- - Africa/Porto-Novo
- - Africa/Sao_Tome
- - Africa/Timbuktu
- - Africa/Tripoli
- - Africa/Tunis
- - Africa/Windhoek
- - America/Adak
- - America/Anchorage
- - America/Anguilla
- - America/Antigua
- - America/Araguaina
- - America/Argentina/Buenos_Aires
- - America/Argentina/Catamarca
- - America/Argentina/ComodRivadavia
- - America/Argentina/Cordoba
- - America/Argentina/Jujuy
- - America/Argentina/La_Rioja
- - America/Argentina/Mendoza
- - America/Argentina/Rio_Gallegos
- - America/Argentina/Salta
- - America/Argentina/San_Juan
- - America/Argentina/San_Luis
- - America/Argentina/Tucuman
- - America/Argentina/Ushuaia
- - America/Aruba
- - America/Asuncion
- - America/Atikokan
- - America/Atka
- - America/Bahia
- - America/Bahia_Banderas
- - America/Barbados
- - America/Belem
- - America/Belize
- - America/Blanc-Sablon
- - America/Boa_Vista
- - America/Bogota
- - America/Boise
- - America/Buenos_Aires
- - America/Cambridge_Bay
- - America/Campo_Grande
- - America/Cancun
- - America/Caracas
- - America/Catamarca
- - America/Cayenne
- - America/Cayman
- - America/Chicago
- - America/Chihuahua
- - America/Ciudad_Juarez
- - America/Coral_Harbour
- - America/Cordoba
- - America/Costa_Rica
- - America/Creston
- - America/Cuiaba
- - America/Curacao
- - America/Danmarkshavn
- - America/Dawson
- - America/Dawson_Creek
- - America/Denver
- - America/Detroit
- - America/Dominica
- - America/Edmonton
- - America/Eirunepe
- - America/El_Salvador
- - America/Ensenada
- - America/Fort_Nelson
- - America/Fort_Wayne
- - America/Fortaleza
- - America/Glace_Bay
- - America/Godthab
- - America/Goose_Bay
- - America/Grand_Turk
- - America/Grenada
- - America/Guadeloupe
- - America/Guatemala
- - America/Guayaquil
- - America/Guyana
- - America/Halifax
- - America/Havana
- - America/Hermosillo
- - America/Indiana/Indianapolis
- - America/Indiana/Knox
- - America/Indiana/Marengo
- - America/Indiana/Petersburg
- - America/Indiana/Tell_City
- - America/Indiana/Vevay
- - America/Indiana/Vincennes
- - America/Indiana/Winamac
- - America/Indianapolis
- - America/Inuvik
- - America/Iqaluit
- - America/Jamaica
- - America/Jujuy
- - America/Juneau
- - America/Kentucky/Louisville
- - America/Kentucky/Monticello
- - America/Knox_IN
- - America/Kralendijk
- - America/La_Paz
- - America/Lima
- - America/Los_Angeles
- - America/Louisville
- - America/Lower_Princes
- - America/Maceio
- - America/Managua
- - America/Manaus
- - America/Marigot
- - America/Martinique
- - America/Matamoros
- - America/Mazatlan
- - America/Mendoza
- - America/Menominee
- - America/Merida
- - America/Metlakatla
- - America/Mexico_City
- - America/Miquelon
- - America/Moncton
- - America/Monterrey
- - America/Montevideo
- - America/Montreal
- - America/Montserrat
- - America/Nassau
- - America/New_York
- - America/Nipigon
- - America/Nome
- - America/Noronha
- - America/North_Dakota/Beulah
- - America/North_Dakota/Center
- - America/North_Dakota/New_Salem
- - America/Nuuk
- - America/Ojinaga
- - America/Panama
- - America/Pangnirtung
- - America/Paramaribo
- - America/Phoenix
- - America/Port-au-Prince
- - America/Port_of_Spain
- - America/Porto_Acre
- - America/Porto_Velho
- - America/Puerto_Rico
- - America/Punta_Arenas
- - America/Rainy_River
- - America/Rankin_Inlet
- - America/Recife
- - America/Regina
- - America/Resolute
- - America/Rio_Branco
- - America/Rosario
- - America/Santa_Isabel
- - America/Santarem
- - America/Santiago
- - America/Santo_Domingo
- - America/Sao_Paulo
- - America/Scoresbysund
- - America/Shiprock
- - America/Sitka
- - America/St_Barthelemy
- - America/St_Johns
- - America/St_Kitts
- - America/St_Lucia
- - America/St_Thomas
- - America/St_Vincent
- - America/Swift_Current
- - America/Tegucigalpa
- - America/Thule
- - America/Thunder_Bay
- - America/Tijuana
- - America/Toronto
- - America/Tortola
- - America/Vancouver
- - America/Virgin
- - America/Whitehorse
- - America/Winnipeg
- - America/Yakutat
- - America/Yellowknife
- - Antarctica/Casey
- - Antarctica/Davis
- - Antarctica/DumontDUrville
- - Antarctica/Macquarie
- - Antarctica/Mawson
- - Antarctica/McMurdo
- - Antarctica/Palmer
- - Antarctica/Rothera
- - Antarctica/South_Pole
- - Antarctica/Syowa
- - Antarctica/Troll
- - Antarctica/Vostok
- - Arctic/Longyearbyen
- - Asia/Aden
- - Asia/Almaty
- - Asia/Amman
- - Asia/Anadyr
- - Asia/Aqtau
- - Asia/Aqtobe
- - Asia/Ashgabat
- - Asia/Ashkhabad
- - Asia/Atyrau
- - Asia/Baghdad
- - Asia/Bahrain
- - Asia/Baku
- - Asia/Bangkok
- - Asia/Barnaul
- - Asia/Beirut
- - Asia/Bishkek
- - Asia/Brunei
- - Asia/Calcutta
- - Asia/Chita
- - Asia/Choibalsan
- - Asia/Chongqing
- - Asia/Chungking
- - Asia/Colombo
- - Asia/Dacca
- - Asia/Damascus
- - Asia/Dhaka
- - Asia/Dili
- - Asia/Dubai
- - Asia/Dushanbe
- - Asia/Famagusta
- - Asia/Gaza
- - Asia/Harbin
- - Asia/Hebron
- - Asia/Ho_Chi_Minh
- - Asia/Hong_Kong
- - Asia/Hovd
- - Asia/Irkutsk
- - Asia/Istanbul
- - Asia/Jakarta
- - Asia/Jayapura
- - Asia/Jerusalem
- - Asia/Kabul
- - Asia/Kamchatka
- - Asia/Karachi
- - Asia/Kashgar
- - Asia/Kathmandu
- - Asia/Katmandu
- - Asia/Khandyga
- - Asia/Kolkata
- - Asia/Krasnoyarsk
- - Asia/Kuala_Lumpur
- - Asia/Kuching
- - Asia/Kuwait
- - Asia/Macao
- - Asia/Macau
- - Asia/Magadan
- - Asia/Makassar
- - Asia/Manila
- - Asia/Muscat
- - Asia/Nicosia
- - Asia/Novokuznetsk
- - Asia/Novosibirsk
- - Asia/Omsk
- - Asia/Oral
- - Asia/Phnom_Penh
- - Asia/Pontianak
- - Asia/Pyongyang
- - Asia/Qatar
- - Asia/Qostanay
- - Asia/Qyzylorda
- - Asia/Rangoon
- - Asia/Riyadh
- - Asia/Saigon
- - Asia/Sakhalin
- - Asia/Samarkand
- - Asia/Seoul
- - Asia/Shanghai
- - Asia/Singapore
- - Asia/Srednekolymsk
- - Asia/Taipei
- - Asia/Tashkent
- - Asia/Tbilisi
- - Asia/Tehran
- - Asia/Tel_Aviv
- - Asia/Thimbu
- - Asia/Thimphu
- - Asia/Tokyo
- - Asia/Tomsk
- - Asia/Ujung_Pandang
- - Asia/Ulaanbaatar
- - Asia/Ulan_Bator
- - Asia/Urumqi
- - Asia/Ust-Nera
- - Asia/Vientiane
- - Asia/Vladivostok
- - Asia/Yakutsk
- - Asia/Yangon
- - Asia/Yekaterinburg
- - Asia/Yerevan
- - Atlantic/Azores
- - Atlantic/Bermuda
- - Atlantic/Canary
- - Atlantic/Cape_Verde
- - Atlantic/Faeroe
- - Atlantic/Faroe
- - Atlantic/Jan_Mayen
- - Atlantic/Madeira
- - Atlantic/Reykjavik
- - Atlantic/South_Georgia
- - Atlantic/St_Helena
- - Atlantic/Stanley
- - Australia/ACT
- - Australia/Adelaide
- - Australia/Brisbane
- - Australia/Broken_Hill
- - Australia/Canberra
- - Australia/Currie
- - Australia/Darwin
- - Australia/Eucla
- - Australia/Hobart
- - Australia/LHI
- - Australia/Lindeman
- - Australia/Lord_Howe
- - Australia/Melbourne
- - Australia/NSW
- - Australia/North
- - Australia/Perth
- - Australia/Queensland
- - Australia/South
- - Australia/Sydney
- - Australia/Tasmania
- - Australia/Victoria
- - Australia/West
- - Australia/Yancowinna
- - Brazil/Acre
- - Brazil/DeNoronha
- - Brazil/East
- - Brazil/West
- - CET
- - CST6CDT
- - Canada/Atlantic
- - Canada/Central
- - Canada/Eastern
- - Canada/Mountain
- - Canada/Newfoundland
- - Canada/Pacific
- - Canada/Saskatchewan
- - Canada/Yukon
- - Chile/Continental
- - Chile/EasterIsland
- - Cuba
- - EET
- - EST
- - EST5EDT
- - Egypt
- - Eire
- - Etc/GMT
- - Etc/GMT+0
- - Etc/GMT+1
- - Etc/GMT+10
- - Etc/GMT+11
- - Etc/GMT+12
- - Etc/GMT+2
- - Etc/GMT+3
- - Etc/GMT+4
- - Etc/GMT+5
- - Etc/GMT+6
- - Etc/GMT+7
- - Etc/GMT+8
- - Etc/GMT+9
- - Etc/GMT-0
- - Etc/GMT-1
- - Etc/GMT-10
- - Etc/GMT-11
- - Etc/GMT-12
- - Etc/GMT-13
- - Etc/GMT-14
- - Etc/GMT-2
- - Etc/GMT-3
- - Etc/GMT-4
- - Etc/GMT-5
- - Etc/GMT-6
- - Etc/GMT-7
- - Etc/GMT-8
- - Etc/GMT-9
- - Etc/GMT0
- - Etc/Greenwich
- - Etc/UCT
- - Etc/UTC
- - Etc/Universal
- - Etc/Zulu
- - Europe/Amsterdam
- - Europe/Andorra
- - Europe/Astrakhan
- - Europe/Athens
- - Europe/Belfast
- - Europe/Belgrade
- - Europe/Berlin
- - Europe/Bratislava
- - Europe/Brussels
- - Europe/Bucharest
- - Europe/Budapest
- - Europe/Busingen
- - Europe/Chisinau
- - Europe/Copenhagen
- - Europe/Dublin
- - Europe/Gibraltar
- - Europe/Guernsey
- - Europe/Helsinki
- - Europe/Isle_of_Man
- - Europe/Istanbul
- - Europe/Jersey
- - Europe/Kaliningrad
- - Europe/Kiev
- - Europe/Kirov
- - Europe/Kyiv
- - Europe/Lisbon
- - Europe/Ljubljana
- - Europe/London
- - Europe/Luxembourg
- - Europe/Madrid
- - Europe/Malta
- - Europe/Mariehamn
- - Europe/Minsk
- - Europe/Monaco
- - Europe/Moscow
- - Europe/Nicosia
- - Europe/Oslo
- - Europe/Paris
- - Europe/Podgorica
- - Europe/Prague
- - Europe/Riga
- - Europe/Rome
- - Europe/Samara
- - Europe/San_Marino
- - Europe/Sarajevo
- - Europe/Saratov
- - Europe/Simferopol
- - Europe/Skopje
- - Europe/Sofia
- - Europe/Stockholm
- - Europe/Tallinn
- - Europe/Tirane
- - Europe/Tiraspol
- - Europe/Ulyanovsk
- - Europe/Uzhgorod
- - Europe/Vaduz
- - Europe/Vatican
- - Europe/Vienna
- - Europe/Vilnius
- - Europe/Volgograd
- - Europe/Warsaw
- - Europe/Zagreb
- - Europe/Zaporozhye
- - Europe/Zurich
- - GB
- - GB-Eire
- - GMT
- - GMT+0
- - GMT-0
- - GMT0
- - Greenwich
- - HST
- - Hongkong
- - Iceland
- - Indian/Antananarivo
- - Indian/Chagos
- - Indian/Christmas
- - Indian/Cocos
- - Indian/Comoro
- - Indian/Kerguelen
- - Indian/Mahe
- - Indian/Maldives
- - Indian/Mauritius
- - Indian/Mayotte
- - Indian/Reunion
- - Iran
- - Israel
- - Jamaica
- - Japan
- - Kwajalein
- - Libya
- - MET
- - MST
- - MST7MDT
- - Mexico/BajaNorte
- - Mexico/BajaSur
- - Mexico/General
- - NZ
- - NZ-CHAT
- - Navajo
- - PRC
- - PST8PDT
- - Pacific/Apia
- - Pacific/Auckland
- - Pacific/Bougainville
- - Pacific/Chatham
- - Pacific/Chuuk
- - Pacific/Easter
- - Pacific/Efate
- - Pacific/Enderbury
- - Pacific/Fakaofo
- - Pacific/Fiji
- - Pacific/Funafuti
- - Pacific/Galapagos
- - Pacific/Gambier
- - Pacific/Guadalcanal
- - Pacific/Guam
- - Pacific/Honolulu
- - Pacific/Johnston
- - Pacific/Kanton
- - Pacific/Kiritimati
- - Pacific/Kosrae
- - Pacific/Kwajalein
- - Pacific/Majuro
- - Pacific/Marquesas
- - Pacific/Midway
- - Pacific/Nauru
- - Pacific/Niue
- - Pacific/Norfolk
- - Pacific/Noumea
- - Pacific/Pago_Pago
- - Pacific/Palau
- - Pacific/Pitcairn
- - Pacific/Pohnpei
- - Pacific/Ponape
- - Pacific/Port_Moresby
- - Pacific/Rarotonga
- - Pacific/Saipan
- - Pacific/Samoa
- - Pacific/Tahiti
- - Pacific/Tarawa
- - Pacific/Tongatapu
- - Pacific/Truk
- - Pacific/Wake
- - Pacific/Wallis
- - Pacific/Yap
- - Poland
- - Portugal
- - ROC
- - ROK
- - Singapore
- - Turkey
- - UCT
- - US/Alaska
- - US/Aleutian
- - US/Arizona
- - US/Central
- - US/East-Indiana
- - US/Eastern
- - US/Hawaii
- - US/Indiana-Starke
- - US/Michigan
- - US/Mountain
- - US/Pacific
- - US/Samoa
- - UTC
- - Universal
- - W-SU
- - WET
- - Zulu
- - localtime
- description: |+
- Time zone
-
+ description: Time zone
explode: true
style: form
- in: query
@@ -44600,607 +39632,7 @@ paths:
type: array
items:
type: string
- enum:
- - Africa/Abidjan
- - Africa/Accra
- - Africa/Addis_Ababa
- - Africa/Algiers
- - Africa/Asmara
- - Africa/Asmera
- - Africa/Bamako
- - Africa/Bangui
- - Africa/Banjul
- - Africa/Bissau
- - Africa/Blantyre
- - Africa/Brazzaville
- - Africa/Bujumbura
- - Africa/Cairo
- - Africa/Casablanca
- - Africa/Ceuta
- - Africa/Conakry
- - Africa/Dakar
- - Africa/Dar_es_Salaam
- - Africa/Djibouti
- - Africa/Douala
- - Africa/El_Aaiun
- - Africa/Freetown
- - Africa/Gaborone
- - Africa/Harare
- - Africa/Johannesburg
- - Africa/Juba
- - Africa/Kampala
- - Africa/Khartoum
- - Africa/Kigali
- - Africa/Kinshasa
- - Africa/Lagos
- - Africa/Libreville
- - Africa/Lome
- - Africa/Luanda
- - Africa/Lubumbashi
- - Africa/Lusaka
- - Africa/Malabo
- - Africa/Maputo
- - Africa/Maseru
- - Africa/Mbabane
- - Africa/Mogadishu
- - Africa/Monrovia
- - Africa/Nairobi
- - Africa/Ndjamena
- - Africa/Niamey
- - Africa/Nouakchott
- - Africa/Ouagadougou
- - Africa/Porto-Novo
- - Africa/Sao_Tome
- - Africa/Timbuktu
- - Africa/Tripoli
- - Africa/Tunis
- - Africa/Windhoek
- - America/Adak
- - America/Anchorage
- - America/Anguilla
- - America/Antigua
- - America/Araguaina
- - America/Argentina/Buenos_Aires
- - America/Argentina/Catamarca
- - America/Argentina/ComodRivadavia
- - America/Argentina/Cordoba
- - America/Argentina/Jujuy
- - America/Argentina/La_Rioja
- - America/Argentina/Mendoza
- - America/Argentina/Rio_Gallegos
- - America/Argentina/Salta
- - America/Argentina/San_Juan
- - America/Argentina/San_Luis
- - America/Argentina/Tucuman
- - America/Argentina/Ushuaia
- - America/Aruba
- - America/Asuncion
- - America/Atikokan
- - America/Atka
- - America/Bahia
- - America/Bahia_Banderas
- - America/Barbados
- - America/Belem
- - America/Belize
- - America/Blanc-Sablon
- - America/Boa_Vista
- - America/Bogota
- - America/Boise
- - America/Buenos_Aires
- - America/Cambridge_Bay
- - America/Campo_Grande
- - America/Cancun
- - America/Caracas
- - America/Catamarca
- - America/Cayenne
- - America/Cayman
- - America/Chicago
- - America/Chihuahua
- - America/Ciudad_Juarez
- - America/Coral_Harbour
- - America/Cordoba
- - America/Costa_Rica
- - America/Creston
- - America/Cuiaba
- - America/Curacao
- - America/Danmarkshavn
- - America/Dawson
- - America/Dawson_Creek
- - America/Denver
- - America/Detroit
- - America/Dominica
- - America/Edmonton
- - America/Eirunepe
- - America/El_Salvador
- - America/Ensenada
- - America/Fort_Nelson
- - America/Fort_Wayne
- - America/Fortaleza
- - America/Glace_Bay
- - America/Godthab
- - America/Goose_Bay
- - America/Grand_Turk
- - America/Grenada
- - America/Guadeloupe
- - America/Guatemala
- - America/Guayaquil
- - America/Guyana
- - America/Halifax
- - America/Havana
- - America/Hermosillo
- - America/Indiana/Indianapolis
- - America/Indiana/Knox
- - America/Indiana/Marengo
- - America/Indiana/Petersburg
- - America/Indiana/Tell_City
- - America/Indiana/Vevay
- - America/Indiana/Vincennes
- - America/Indiana/Winamac
- - America/Indianapolis
- - America/Inuvik
- - America/Iqaluit
- - America/Jamaica
- - America/Jujuy
- - America/Juneau
- - America/Kentucky/Louisville
- - America/Kentucky/Monticello
- - America/Knox_IN
- - America/Kralendijk
- - America/La_Paz
- - America/Lima
- - America/Los_Angeles
- - America/Louisville
- - America/Lower_Princes
- - America/Maceio
- - America/Managua
- - America/Manaus
- - America/Marigot
- - America/Martinique
- - America/Matamoros
- - America/Mazatlan
- - America/Mendoza
- - America/Menominee
- - America/Merida
- - America/Metlakatla
- - America/Mexico_City
- - America/Miquelon
- - America/Moncton
- - America/Monterrey
- - America/Montevideo
- - America/Montreal
- - America/Montserrat
- - America/Nassau
- - America/New_York
- - America/Nipigon
- - America/Nome
- - America/Noronha
- - America/North_Dakota/Beulah
- - America/North_Dakota/Center
- - America/North_Dakota/New_Salem
- - America/Nuuk
- - America/Ojinaga
- - America/Panama
- - America/Pangnirtung
- - America/Paramaribo
- - America/Phoenix
- - America/Port-au-Prince
- - America/Port_of_Spain
- - America/Porto_Acre
- - America/Porto_Velho
- - America/Puerto_Rico
- - America/Punta_Arenas
- - America/Rainy_River
- - America/Rankin_Inlet
- - America/Recife
- - America/Regina
- - America/Resolute
- - America/Rio_Branco
- - America/Rosario
- - America/Santa_Isabel
- - America/Santarem
- - America/Santiago
- - America/Santo_Domingo
- - America/Sao_Paulo
- - America/Scoresbysund
- - America/Shiprock
- - America/Sitka
- - America/St_Barthelemy
- - America/St_Johns
- - America/St_Kitts
- - America/St_Lucia
- - America/St_Thomas
- - America/St_Vincent
- - America/Swift_Current
- - America/Tegucigalpa
- - America/Thule
- - America/Thunder_Bay
- - America/Tijuana
- - America/Toronto
- - America/Tortola
- - America/Vancouver
- - America/Virgin
- - America/Whitehorse
- - America/Winnipeg
- - America/Yakutat
- - America/Yellowknife
- - Antarctica/Casey
- - Antarctica/Davis
- - Antarctica/DumontDUrville
- - Antarctica/Macquarie
- - Antarctica/Mawson
- - Antarctica/McMurdo
- - Antarctica/Palmer
- - Antarctica/Rothera
- - Antarctica/South_Pole
- - Antarctica/Syowa
- - Antarctica/Troll
- - Antarctica/Vostok
- - Arctic/Longyearbyen
- - Asia/Aden
- - Asia/Almaty
- - Asia/Amman
- - Asia/Anadyr
- - Asia/Aqtau
- - Asia/Aqtobe
- - Asia/Ashgabat
- - Asia/Ashkhabad
- - Asia/Atyrau
- - Asia/Baghdad
- - Asia/Bahrain
- - Asia/Baku
- - Asia/Bangkok
- - Asia/Barnaul
- - Asia/Beirut
- - Asia/Bishkek
- - Asia/Brunei
- - Asia/Calcutta
- - Asia/Chita
- - Asia/Choibalsan
- - Asia/Chongqing
- - Asia/Chungking
- - Asia/Colombo
- - Asia/Dacca
- - Asia/Damascus
- - Asia/Dhaka
- - Asia/Dili
- - Asia/Dubai
- - Asia/Dushanbe
- - Asia/Famagusta
- - Asia/Gaza
- - Asia/Harbin
- - Asia/Hebron
- - Asia/Ho_Chi_Minh
- - Asia/Hong_Kong
- - Asia/Hovd
- - Asia/Irkutsk
- - Asia/Istanbul
- - Asia/Jakarta
- - Asia/Jayapura
- - Asia/Jerusalem
- - Asia/Kabul
- - Asia/Kamchatka
- - Asia/Karachi
- - Asia/Kashgar
- - Asia/Kathmandu
- - Asia/Katmandu
- - Asia/Khandyga
- - Asia/Kolkata
- - Asia/Krasnoyarsk
- - Asia/Kuala_Lumpur
- - Asia/Kuching
- - Asia/Kuwait
- - Asia/Macao
- - Asia/Macau
- - Asia/Magadan
- - Asia/Makassar
- - Asia/Manila
- - Asia/Muscat
- - Asia/Nicosia
- - Asia/Novokuznetsk
- - Asia/Novosibirsk
- - Asia/Omsk
- - Asia/Oral
- - Asia/Phnom_Penh
- - Asia/Pontianak
- - Asia/Pyongyang
- - Asia/Qatar
- - Asia/Qostanay
- - Asia/Qyzylorda
- - Asia/Rangoon
- - Asia/Riyadh
- - Asia/Saigon
- - Asia/Sakhalin
- - Asia/Samarkand
- - Asia/Seoul
- - Asia/Shanghai
- - Asia/Singapore
- - Asia/Srednekolymsk
- - Asia/Taipei
- - Asia/Tashkent
- - Asia/Tbilisi
- - Asia/Tehran
- - Asia/Tel_Aviv
- - Asia/Thimbu
- - Asia/Thimphu
- - Asia/Tokyo
- - Asia/Tomsk
- - Asia/Ujung_Pandang
- - Asia/Ulaanbaatar
- - Asia/Ulan_Bator
- - Asia/Urumqi
- - Asia/Ust-Nera
- - Asia/Vientiane
- - Asia/Vladivostok
- - Asia/Yakutsk
- - Asia/Yangon
- - Asia/Yekaterinburg
- - Asia/Yerevan
- - Atlantic/Azores
- - Atlantic/Bermuda
- - Atlantic/Canary
- - Atlantic/Cape_Verde
- - Atlantic/Faeroe
- - Atlantic/Faroe
- - Atlantic/Jan_Mayen
- - Atlantic/Madeira
- - Atlantic/Reykjavik
- - Atlantic/South_Georgia
- - Atlantic/St_Helena
- - Atlantic/Stanley
- - Australia/ACT
- - Australia/Adelaide
- - Australia/Brisbane
- - Australia/Broken_Hill
- - Australia/Canberra
- - Australia/Currie
- - Australia/Darwin
- - Australia/Eucla
- - Australia/Hobart
- - Australia/LHI
- - Australia/Lindeman
- - Australia/Lord_Howe
- - Australia/Melbourne
- - Australia/NSW
- - Australia/North
- - Australia/Perth
- - Australia/Queensland
- - Australia/South
- - Australia/Sydney
- - Australia/Tasmania
- - Australia/Victoria
- - Australia/West
- - Australia/Yancowinna
- - Brazil/Acre
- - Brazil/DeNoronha
- - Brazil/East
- - Brazil/West
- - CET
- - CST6CDT
- - Canada/Atlantic
- - Canada/Central
- - Canada/Eastern
- - Canada/Mountain
- - Canada/Newfoundland
- - Canada/Pacific
- - Canada/Saskatchewan
- - Canada/Yukon
- - Chile/Continental
- - Chile/EasterIsland
- - Cuba
- - EET
- - EST
- - EST5EDT
- - Egypt
- - Eire
- - Etc/GMT
- - Etc/GMT+0
- - Etc/GMT+1
- - Etc/GMT+10
- - Etc/GMT+11
- - Etc/GMT+12
- - Etc/GMT+2
- - Etc/GMT+3
- - Etc/GMT+4
- - Etc/GMT+5
- - Etc/GMT+6
- - Etc/GMT+7
- - Etc/GMT+8
- - Etc/GMT+9
- - Etc/GMT-0
- - Etc/GMT-1
- - Etc/GMT-10
- - Etc/GMT-11
- - Etc/GMT-12
- - Etc/GMT-13
- - Etc/GMT-14
- - Etc/GMT-2
- - Etc/GMT-3
- - Etc/GMT-4
- - Etc/GMT-5
- - Etc/GMT-6
- - Etc/GMT-7
- - Etc/GMT-8
- - Etc/GMT-9
- - Etc/GMT0
- - Etc/Greenwich
- - Etc/UCT
- - Etc/UTC
- - Etc/Universal
- - Etc/Zulu
- - Europe/Amsterdam
- - Europe/Andorra
- - Europe/Astrakhan
- - Europe/Athens
- - Europe/Belfast
- - Europe/Belgrade
- - Europe/Berlin
- - Europe/Bratislava
- - Europe/Brussels
- - Europe/Bucharest
- - Europe/Budapest
- - Europe/Busingen
- - Europe/Chisinau
- - Europe/Copenhagen
- - Europe/Dublin
- - Europe/Gibraltar
- - Europe/Guernsey
- - Europe/Helsinki
- - Europe/Isle_of_Man
- - Europe/Istanbul
- - Europe/Jersey
- - Europe/Kaliningrad
- - Europe/Kiev
- - Europe/Kirov
- - Europe/Kyiv
- - Europe/Lisbon
- - Europe/Ljubljana
- - Europe/London
- - Europe/Luxembourg
- - Europe/Madrid
- - Europe/Malta
- - Europe/Mariehamn
- - Europe/Minsk
- - Europe/Monaco
- - Europe/Moscow
- - Europe/Nicosia
- - Europe/Oslo
- - Europe/Paris
- - Europe/Podgorica
- - Europe/Prague
- - Europe/Riga
- - Europe/Rome
- - Europe/Samara
- - Europe/San_Marino
- - Europe/Sarajevo
- - Europe/Saratov
- - Europe/Simferopol
- - Europe/Skopje
- - Europe/Sofia
- - Europe/Stockholm
- - Europe/Tallinn
- - Europe/Tirane
- - Europe/Tiraspol
- - Europe/Ulyanovsk
- - Europe/Uzhgorod
- - Europe/Vaduz
- - Europe/Vatican
- - Europe/Vienna
- - Europe/Vilnius
- - Europe/Volgograd
- - Europe/Warsaw
- - Europe/Zagreb
- - Europe/Zaporozhye
- - Europe/Zurich
- - GB
- - GB-Eire
- - GMT
- - GMT+0
- - GMT-0
- - GMT0
- - Greenwich
- - HST
- - Hongkong
- - Iceland
- - Indian/Antananarivo
- - Indian/Chagos
- - Indian/Christmas
- - Indian/Cocos
- - Indian/Comoro
- - Indian/Kerguelen
- - Indian/Mahe
- - Indian/Maldives
- - Indian/Mauritius
- - Indian/Mayotte
- - Indian/Reunion
- - Iran
- - Israel
- - Jamaica
- - Japan
- - Kwajalein
- - Libya
- - MET
- - MST
- - MST7MDT
- - Mexico/BajaNorte
- - Mexico/BajaSur
- - Mexico/General
- - NZ
- - NZ-CHAT
- - Navajo
- - PRC
- - PST8PDT
- - Pacific/Apia
- - Pacific/Auckland
- - Pacific/Bougainville
- - Pacific/Chatham
- - Pacific/Chuuk
- - Pacific/Easter
- - Pacific/Efate
- - Pacific/Enderbury
- - Pacific/Fakaofo
- - Pacific/Fiji
- - Pacific/Funafuti
- - Pacific/Galapagos
- - Pacific/Gambier
- - Pacific/Guadalcanal
- - Pacific/Guam
- - Pacific/Honolulu
- - Pacific/Johnston
- - Pacific/Kanton
- - Pacific/Kiritimati
- - Pacific/Kosrae
- - Pacific/Kwajalein
- - Pacific/Majuro
- - Pacific/Marquesas
- - Pacific/Midway
- - Pacific/Nauru
- - Pacific/Niue
- - Pacific/Norfolk
- - Pacific/Noumea
- - Pacific/Pago_Pago
- - Pacific/Palau
- - Pacific/Pitcairn
- - Pacific/Pohnpei
- - Pacific/Ponape
- - Pacific/Port_Moresby
- - Pacific/Rarotonga
- - Pacific/Saipan
- - Pacific/Samoa
- - Pacific/Tahiti
- - Pacific/Tarawa
- - Pacific/Tongatapu
- - Pacific/Truk
- - Pacific/Wake
- - Pacific/Wallis
- - Pacific/Yap
- - Poland
- - Portugal
- - ROC
- - ROK
- - Singapore
- - Turkey
- - UCT
- - US/Alaska
- - US/Aleutian
- - US/Arizona
- - US/Central
- - US/East-Indiana
- - US/Eastern
- - US/Hawaii
- - US/Indiana-Starke
- - US/Michigan
- - US/Mountain
- - US/Pacific
- - US/Samoa
- - UTC
- - Universal
- - W-SU
- - WET
- - Zulu
- - localtime
- description: |+
- Time zone
-
+ description: Time zone
explode: true
style: form
- in: query
@@ -45209,607 +39641,7 @@ paths:
type: array
items:
type: string
- enum:
- - Africa/Abidjan
- - Africa/Accra
- - Africa/Addis_Ababa
- - Africa/Algiers
- - Africa/Asmara
- - Africa/Asmera
- - Africa/Bamako
- - Africa/Bangui
- - Africa/Banjul
- - Africa/Bissau
- - Africa/Blantyre
- - Africa/Brazzaville
- - Africa/Bujumbura
- - Africa/Cairo
- - Africa/Casablanca
- - Africa/Ceuta
- - Africa/Conakry
- - Africa/Dakar
- - Africa/Dar_es_Salaam
- - Africa/Djibouti
- - Africa/Douala
- - Africa/El_Aaiun
- - Africa/Freetown
- - Africa/Gaborone
- - Africa/Harare
- - Africa/Johannesburg
- - Africa/Juba
- - Africa/Kampala
- - Africa/Khartoum
- - Africa/Kigali
- - Africa/Kinshasa
- - Africa/Lagos
- - Africa/Libreville
- - Africa/Lome
- - Africa/Luanda
- - Africa/Lubumbashi
- - Africa/Lusaka
- - Africa/Malabo
- - Africa/Maputo
- - Africa/Maseru
- - Africa/Mbabane
- - Africa/Mogadishu
- - Africa/Monrovia
- - Africa/Nairobi
- - Africa/Ndjamena
- - Africa/Niamey
- - Africa/Nouakchott
- - Africa/Ouagadougou
- - Africa/Porto-Novo
- - Africa/Sao_Tome
- - Africa/Timbuktu
- - Africa/Tripoli
- - Africa/Tunis
- - Africa/Windhoek
- - America/Adak
- - America/Anchorage
- - America/Anguilla
- - America/Antigua
- - America/Araguaina
- - America/Argentina/Buenos_Aires
- - America/Argentina/Catamarca
- - America/Argentina/ComodRivadavia
- - America/Argentina/Cordoba
- - America/Argentina/Jujuy
- - America/Argentina/La_Rioja
- - America/Argentina/Mendoza
- - America/Argentina/Rio_Gallegos
- - America/Argentina/Salta
- - America/Argentina/San_Juan
- - America/Argentina/San_Luis
- - America/Argentina/Tucuman
- - America/Argentina/Ushuaia
- - America/Aruba
- - America/Asuncion
- - America/Atikokan
- - America/Atka
- - America/Bahia
- - America/Bahia_Banderas
- - America/Barbados
- - America/Belem
- - America/Belize
- - America/Blanc-Sablon
- - America/Boa_Vista
- - America/Bogota
- - America/Boise
- - America/Buenos_Aires
- - America/Cambridge_Bay
- - America/Campo_Grande
- - America/Cancun
- - America/Caracas
- - America/Catamarca
- - America/Cayenne
- - America/Cayman
- - America/Chicago
- - America/Chihuahua
- - America/Ciudad_Juarez
- - America/Coral_Harbour
- - America/Cordoba
- - America/Costa_Rica
- - America/Creston
- - America/Cuiaba
- - America/Curacao
- - America/Danmarkshavn
- - America/Dawson
- - America/Dawson_Creek
- - America/Denver
- - America/Detroit
- - America/Dominica
- - America/Edmonton
- - America/Eirunepe
- - America/El_Salvador
- - America/Ensenada
- - America/Fort_Nelson
- - America/Fort_Wayne
- - America/Fortaleza
- - America/Glace_Bay
- - America/Godthab
- - America/Goose_Bay
- - America/Grand_Turk
- - America/Grenada
- - America/Guadeloupe
- - America/Guatemala
- - America/Guayaquil
- - America/Guyana
- - America/Halifax
- - America/Havana
- - America/Hermosillo
- - America/Indiana/Indianapolis
- - America/Indiana/Knox
- - America/Indiana/Marengo
- - America/Indiana/Petersburg
- - America/Indiana/Tell_City
- - America/Indiana/Vevay
- - America/Indiana/Vincennes
- - America/Indiana/Winamac
- - America/Indianapolis
- - America/Inuvik
- - America/Iqaluit
- - America/Jamaica
- - America/Jujuy
- - America/Juneau
- - America/Kentucky/Louisville
- - America/Kentucky/Monticello
- - America/Knox_IN
- - America/Kralendijk
- - America/La_Paz
- - America/Lima
- - America/Los_Angeles
- - America/Louisville
- - America/Lower_Princes
- - America/Maceio
- - America/Managua
- - America/Manaus
- - America/Marigot
- - America/Martinique
- - America/Matamoros
- - America/Mazatlan
- - America/Mendoza
- - America/Menominee
- - America/Merida
- - America/Metlakatla
- - America/Mexico_City
- - America/Miquelon
- - America/Moncton
- - America/Monterrey
- - America/Montevideo
- - America/Montreal
- - America/Montserrat
- - America/Nassau
- - America/New_York
- - America/Nipigon
- - America/Nome
- - America/Noronha
- - America/North_Dakota/Beulah
- - America/North_Dakota/Center
- - America/North_Dakota/New_Salem
- - America/Nuuk
- - America/Ojinaga
- - America/Panama
- - America/Pangnirtung
- - America/Paramaribo
- - America/Phoenix
- - America/Port-au-Prince
- - America/Port_of_Spain
- - America/Porto_Acre
- - America/Porto_Velho
- - America/Puerto_Rico
- - America/Punta_Arenas
- - America/Rainy_River
- - America/Rankin_Inlet
- - America/Recife
- - America/Regina
- - America/Resolute
- - America/Rio_Branco
- - America/Rosario
- - America/Santa_Isabel
- - America/Santarem
- - America/Santiago
- - America/Santo_Domingo
- - America/Sao_Paulo
- - America/Scoresbysund
- - America/Shiprock
- - America/Sitka
- - America/St_Barthelemy
- - America/St_Johns
- - America/St_Kitts
- - America/St_Lucia
- - America/St_Thomas
- - America/St_Vincent
- - America/Swift_Current
- - America/Tegucigalpa
- - America/Thule
- - America/Thunder_Bay
- - America/Tijuana
- - America/Toronto
- - America/Tortola
- - America/Vancouver
- - America/Virgin
- - America/Whitehorse
- - America/Winnipeg
- - America/Yakutat
- - America/Yellowknife
- - Antarctica/Casey
- - Antarctica/Davis
- - Antarctica/DumontDUrville
- - Antarctica/Macquarie
- - Antarctica/Mawson
- - Antarctica/McMurdo
- - Antarctica/Palmer
- - Antarctica/Rothera
- - Antarctica/South_Pole
- - Antarctica/Syowa
- - Antarctica/Troll
- - Antarctica/Vostok
- - Arctic/Longyearbyen
- - Asia/Aden
- - Asia/Almaty
- - Asia/Amman
- - Asia/Anadyr
- - Asia/Aqtau
- - Asia/Aqtobe
- - Asia/Ashgabat
- - Asia/Ashkhabad
- - Asia/Atyrau
- - Asia/Baghdad
- - Asia/Bahrain
- - Asia/Baku
- - Asia/Bangkok
- - Asia/Barnaul
- - Asia/Beirut
- - Asia/Bishkek
- - Asia/Brunei
- - Asia/Calcutta
- - Asia/Chita
- - Asia/Choibalsan
- - Asia/Chongqing
- - Asia/Chungking
- - Asia/Colombo
- - Asia/Dacca
- - Asia/Damascus
- - Asia/Dhaka
- - Asia/Dili
- - Asia/Dubai
- - Asia/Dushanbe
- - Asia/Famagusta
- - Asia/Gaza
- - Asia/Harbin
- - Asia/Hebron
- - Asia/Ho_Chi_Minh
- - Asia/Hong_Kong
- - Asia/Hovd
- - Asia/Irkutsk
- - Asia/Istanbul
- - Asia/Jakarta
- - Asia/Jayapura
- - Asia/Jerusalem
- - Asia/Kabul
- - Asia/Kamchatka
- - Asia/Karachi
- - Asia/Kashgar
- - Asia/Kathmandu
- - Asia/Katmandu
- - Asia/Khandyga
- - Asia/Kolkata
- - Asia/Krasnoyarsk
- - Asia/Kuala_Lumpur
- - Asia/Kuching
- - Asia/Kuwait
- - Asia/Macao
- - Asia/Macau
- - Asia/Magadan
- - Asia/Makassar
- - Asia/Manila
- - Asia/Muscat
- - Asia/Nicosia
- - Asia/Novokuznetsk
- - Asia/Novosibirsk
- - Asia/Omsk
- - Asia/Oral
- - Asia/Phnom_Penh
- - Asia/Pontianak
- - Asia/Pyongyang
- - Asia/Qatar
- - Asia/Qostanay
- - Asia/Qyzylorda
- - Asia/Rangoon
- - Asia/Riyadh
- - Asia/Saigon
- - Asia/Sakhalin
- - Asia/Samarkand
- - Asia/Seoul
- - Asia/Shanghai
- - Asia/Singapore
- - Asia/Srednekolymsk
- - Asia/Taipei
- - Asia/Tashkent
- - Asia/Tbilisi
- - Asia/Tehran
- - Asia/Tel_Aviv
- - Asia/Thimbu
- - Asia/Thimphu
- - Asia/Tokyo
- - Asia/Tomsk
- - Asia/Ujung_Pandang
- - Asia/Ulaanbaatar
- - Asia/Ulan_Bator
- - Asia/Urumqi
- - Asia/Ust-Nera
- - Asia/Vientiane
- - Asia/Vladivostok
- - Asia/Yakutsk
- - Asia/Yangon
- - Asia/Yekaterinburg
- - Asia/Yerevan
- - Atlantic/Azores
- - Atlantic/Bermuda
- - Atlantic/Canary
- - Atlantic/Cape_Verde
- - Atlantic/Faeroe
- - Atlantic/Faroe
- - Atlantic/Jan_Mayen
- - Atlantic/Madeira
- - Atlantic/Reykjavik
- - Atlantic/South_Georgia
- - Atlantic/St_Helena
- - Atlantic/Stanley
- - Australia/ACT
- - Australia/Adelaide
- - Australia/Brisbane
- - Australia/Broken_Hill
- - Australia/Canberra
- - Australia/Currie
- - Australia/Darwin
- - Australia/Eucla
- - Australia/Hobart
- - Australia/LHI
- - Australia/Lindeman
- - Australia/Lord_Howe
- - Australia/Melbourne
- - Australia/NSW
- - Australia/North
- - Australia/Perth
- - Australia/Queensland
- - Australia/South
- - Australia/Sydney
- - Australia/Tasmania
- - Australia/Victoria
- - Australia/West
- - Australia/Yancowinna
- - Brazil/Acre
- - Brazil/DeNoronha
- - Brazil/East
- - Brazil/West
- - CET
- - CST6CDT
- - Canada/Atlantic
- - Canada/Central
- - Canada/Eastern
- - Canada/Mountain
- - Canada/Newfoundland
- - Canada/Pacific
- - Canada/Saskatchewan
- - Canada/Yukon
- - Chile/Continental
- - Chile/EasterIsland
- - Cuba
- - EET
- - EST
- - EST5EDT
- - Egypt
- - Eire
- - Etc/GMT
- - Etc/GMT+0
- - Etc/GMT+1
- - Etc/GMT+10
- - Etc/GMT+11
- - Etc/GMT+12
- - Etc/GMT+2
- - Etc/GMT+3
- - Etc/GMT+4
- - Etc/GMT+5
- - Etc/GMT+6
- - Etc/GMT+7
- - Etc/GMT+8
- - Etc/GMT+9
- - Etc/GMT-0
- - Etc/GMT-1
- - Etc/GMT-10
- - Etc/GMT-11
- - Etc/GMT-12
- - Etc/GMT-13
- - Etc/GMT-14
- - Etc/GMT-2
- - Etc/GMT-3
- - Etc/GMT-4
- - Etc/GMT-5
- - Etc/GMT-6
- - Etc/GMT-7
- - Etc/GMT-8
- - Etc/GMT-9
- - Etc/GMT0
- - Etc/Greenwich
- - Etc/UCT
- - Etc/UTC
- - Etc/Universal
- - Etc/Zulu
- - Europe/Amsterdam
- - Europe/Andorra
- - Europe/Astrakhan
- - Europe/Athens
- - Europe/Belfast
- - Europe/Belgrade
- - Europe/Berlin
- - Europe/Bratislava
- - Europe/Brussels
- - Europe/Bucharest
- - Europe/Budapest
- - Europe/Busingen
- - Europe/Chisinau
- - Europe/Copenhagen
- - Europe/Dublin
- - Europe/Gibraltar
- - Europe/Guernsey
- - Europe/Helsinki
- - Europe/Isle_of_Man
- - Europe/Istanbul
- - Europe/Jersey
- - Europe/Kaliningrad
- - Europe/Kiev
- - Europe/Kirov
- - Europe/Kyiv
- - Europe/Lisbon
- - Europe/Ljubljana
- - Europe/London
- - Europe/Luxembourg
- - Europe/Madrid
- - Europe/Malta
- - Europe/Mariehamn
- - Europe/Minsk
- - Europe/Monaco
- - Europe/Moscow
- - Europe/Nicosia
- - Europe/Oslo
- - Europe/Paris
- - Europe/Podgorica
- - Europe/Prague
- - Europe/Riga
- - Europe/Rome
- - Europe/Samara
- - Europe/San_Marino
- - Europe/Sarajevo
- - Europe/Saratov
- - Europe/Simferopol
- - Europe/Skopje
- - Europe/Sofia
- - Europe/Stockholm
- - Europe/Tallinn
- - Europe/Tirane
- - Europe/Tiraspol
- - Europe/Ulyanovsk
- - Europe/Uzhgorod
- - Europe/Vaduz
- - Europe/Vatican
- - Europe/Vienna
- - Europe/Vilnius
- - Europe/Volgograd
- - Europe/Warsaw
- - Europe/Zagreb
- - Europe/Zaporozhye
- - Europe/Zurich
- - GB
- - GB-Eire
- - GMT
- - GMT+0
- - GMT-0
- - GMT0
- - Greenwich
- - HST
- - Hongkong
- - Iceland
- - Indian/Antananarivo
- - Indian/Chagos
- - Indian/Christmas
- - Indian/Cocos
- - Indian/Comoro
- - Indian/Kerguelen
- - Indian/Mahe
- - Indian/Maldives
- - Indian/Mauritius
- - Indian/Mayotte
- - Indian/Reunion
- - Iran
- - Israel
- - Jamaica
- - Japan
- - Kwajalein
- - Libya
- - MET
- - MST
- - MST7MDT
- - Mexico/BajaNorte
- - Mexico/BajaSur
- - Mexico/General
- - NZ
- - NZ-CHAT
- - Navajo
- - PRC
- - PST8PDT
- - Pacific/Apia
- - Pacific/Auckland
- - Pacific/Bougainville
- - Pacific/Chatham
- - Pacific/Chuuk
- - Pacific/Easter
- - Pacific/Efate
- - Pacific/Enderbury
- - Pacific/Fakaofo
- - Pacific/Fiji
- - Pacific/Funafuti
- - Pacific/Galapagos
- - Pacific/Gambier
- - Pacific/Guadalcanal
- - Pacific/Guam
- - Pacific/Honolulu
- - Pacific/Johnston
- - Pacific/Kanton
- - Pacific/Kiritimati
- - Pacific/Kosrae
- - Pacific/Kwajalein
- - Pacific/Majuro
- - Pacific/Marquesas
- - Pacific/Midway
- - Pacific/Nauru
- - Pacific/Niue
- - Pacific/Norfolk
- - Pacific/Noumea
- - Pacific/Pago_Pago
- - Pacific/Palau
- - Pacific/Pitcairn
- - Pacific/Pohnpei
- - Pacific/Ponape
- - Pacific/Port_Moresby
- - Pacific/Rarotonga
- - Pacific/Saipan
- - Pacific/Samoa
- - Pacific/Tahiti
- - Pacific/Tarawa
- - Pacific/Tongatapu
- - Pacific/Truk
- - Pacific/Wake
- - Pacific/Wallis
- - Pacific/Yap
- - Poland
- - Portugal
- - ROC
- - ROK
- - Singapore
- - Turkey
- - UCT
- - US/Alaska
- - US/Aleutian
- - US/Arizona
- - US/Central
- - US/East-Indiana
- - US/Eastern
- - US/Hawaii
- - US/Indiana-Starke
- - US/Michigan
- - US/Mountain
- - US/Pacific
- - US/Samoa
- - UTC
- - Universal
- - W-SU
- - WET
- - Zulu
- - localtime
- description: |+
- Time zone
-
+ description: Time zone
explode: true
style: form
- in: query
@@ -45818,607 +39650,7 @@ paths:
type: array
items:
type: string
- enum:
- - Africa/Abidjan
- - Africa/Accra
- - Africa/Addis_Ababa
- - Africa/Algiers
- - Africa/Asmara
- - Africa/Asmera
- - Africa/Bamako
- - Africa/Bangui
- - Africa/Banjul
- - Africa/Bissau
- - Africa/Blantyre
- - Africa/Brazzaville
- - Africa/Bujumbura
- - Africa/Cairo
- - Africa/Casablanca
- - Africa/Ceuta
- - Africa/Conakry
- - Africa/Dakar
- - Africa/Dar_es_Salaam
- - Africa/Djibouti
- - Africa/Douala
- - Africa/El_Aaiun
- - Africa/Freetown
- - Africa/Gaborone
- - Africa/Harare
- - Africa/Johannesburg
- - Africa/Juba
- - Africa/Kampala
- - Africa/Khartoum
- - Africa/Kigali
- - Africa/Kinshasa
- - Africa/Lagos
- - Africa/Libreville
- - Africa/Lome
- - Africa/Luanda
- - Africa/Lubumbashi
- - Africa/Lusaka
- - Africa/Malabo
- - Africa/Maputo
- - Africa/Maseru
- - Africa/Mbabane
- - Africa/Mogadishu
- - Africa/Monrovia
- - Africa/Nairobi
- - Africa/Ndjamena
- - Africa/Niamey
- - Africa/Nouakchott
- - Africa/Ouagadougou
- - Africa/Porto-Novo
- - Africa/Sao_Tome
- - Africa/Timbuktu
- - Africa/Tripoli
- - Africa/Tunis
- - Africa/Windhoek
- - America/Adak
- - America/Anchorage
- - America/Anguilla
- - America/Antigua
- - America/Araguaina
- - America/Argentina/Buenos_Aires
- - America/Argentina/Catamarca
- - America/Argentina/ComodRivadavia
- - America/Argentina/Cordoba
- - America/Argentina/Jujuy
- - America/Argentina/La_Rioja
- - America/Argentina/Mendoza
- - America/Argentina/Rio_Gallegos
- - America/Argentina/Salta
- - America/Argentina/San_Juan
- - America/Argentina/San_Luis
- - America/Argentina/Tucuman
- - America/Argentina/Ushuaia
- - America/Aruba
- - America/Asuncion
- - America/Atikokan
- - America/Atka
- - America/Bahia
- - America/Bahia_Banderas
- - America/Barbados
- - America/Belem
- - America/Belize
- - America/Blanc-Sablon
- - America/Boa_Vista
- - America/Bogota
- - America/Boise
- - America/Buenos_Aires
- - America/Cambridge_Bay
- - America/Campo_Grande
- - America/Cancun
- - America/Caracas
- - America/Catamarca
- - America/Cayenne
- - America/Cayman
- - America/Chicago
- - America/Chihuahua
- - America/Ciudad_Juarez
- - America/Coral_Harbour
- - America/Cordoba
- - America/Costa_Rica
- - America/Creston
- - America/Cuiaba
- - America/Curacao
- - America/Danmarkshavn
- - America/Dawson
- - America/Dawson_Creek
- - America/Denver
- - America/Detroit
- - America/Dominica
- - America/Edmonton
- - America/Eirunepe
- - America/El_Salvador
- - America/Ensenada
- - America/Fort_Nelson
- - America/Fort_Wayne
- - America/Fortaleza
- - America/Glace_Bay
- - America/Godthab
- - America/Goose_Bay
- - America/Grand_Turk
- - America/Grenada
- - America/Guadeloupe
- - America/Guatemala
- - America/Guayaquil
- - America/Guyana
- - America/Halifax
- - America/Havana
- - America/Hermosillo
- - America/Indiana/Indianapolis
- - America/Indiana/Knox
- - America/Indiana/Marengo
- - America/Indiana/Petersburg
- - America/Indiana/Tell_City
- - America/Indiana/Vevay
- - America/Indiana/Vincennes
- - America/Indiana/Winamac
- - America/Indianapolis
- - America/Inuvik
- - America/Iqaluit
- - America/Jamaica
- - America/Jujuy
- - America/Juneau
- - America/Kentucky/Louisville
- - America/Kentucky/Monticello
- - America/Knox_IN
- - America/Kralendijk
- - America/La_Paz
- - America/Lima
- - America/Los_Angeles
- - America/Louisville
- - America/Lower_Princes
- - America/Maceio
- - America/Managua
- - America/Manaus
- - America/Marigot
- - America/Martinique
- - America/Matamoros
- - America/Mazatlan
- - America/Mendoza
- - America/Menominee
- - America/Merida
- - America/Metlakatla
- - America/Mexico_City
- - America/Miquelon
- - America/Moncton
- - America/Monterrey
- - America/Montevideo
- - America/Montreal
- - America/Montserrat
- - America/Nassau
- - America/New_York
- - America/Nipigon
- - America/Nome
- - America/Noronha
- - America/North_Dakota/Beulah
- - America/North_Dakota/Center
- - America/North_Dakota/New_Salem
- - America/Nuuk
- - America/Ojinaga
- - America/Panama
- - America/Pangnirtung
- - America/Paramaribo
- - America/Phoenix
- - America/Port-au-Prince
- - America/Port_of_Spain
- - America/Porto_Acre
- - America/Porto_Velho
- - America/Puerto_Rico
- - America/Punta_Arenas
- - America/Rainy_River
- - America/Rankin_Inlet
- - America/Recife
- - America/Regina
- - America/Resolute
- - America/Rio_Branco
- - America/Rosario
- - America/Santa_Isabel
- - America/Santarem
- - America/Santiago
- - America/Santo_Domingo
- - America/Sao_Paulo
- - America/Scoresbysund
- - America/Shiprock
- - America/Sitka
- - America/St_Barthelemy
- - America/St_Johns
- - America/St_Kitts
- - America/St_Lucia
- - America/St_Thomas
- - America/St_Vincent
- - America/Swift_Current
- - America/Tegucigalpa
- - America/Thule
- - America/Thunder_Bay
- - America/Tijuana
- - America/Toronto
- - America/Tortola
- - America/Vancouver
- - America/Virgin
- - America/Whitehorse
- - America/Winnipeg
- - America/Yakutat
- - America/Yellowknife
- - Antarctica/Casey
- - Antarctica/Davis
- - Antarctica/DumontDUrville
- - Antarctica/Macquarie
- - Antarctica/Mawson
- - Antarctica/McMurdo
- - Antarctica/Palmer
- - Antarctica/Rothera
- - Antarctica/South_Pole
- - Antarctica/Syowa
- - Antarctica/Troll
- - Antarctica/Vostok
- - Arctic/Longyearbyen
- - Asia/Aden
- - Asia/Almaty
- - Asia/Amman
- - Asia/Anadyr
- - Asia/Aqtau
- - Asia/Aqtobe
- - Asia/Ashgabat
- - Asia/Ashkhabad
- - Asia/Atyrau
- - Asia/Baghdad
- - Asia/Bahrain
- - Asia/Baku
- - Asia/Bangkok
- - Asia/Barnaul
- - Asia/Beirut
- - Asia/Bishkek
- - Asia/Brunei
- - Asia/Calcutta
- - Asia/Chita
- - Asia/Choibalsan
- - Asia/Chongqing
- - Asia/Chungking
- - Asia/Colombo
- - Asia/Dacca
- - Asia/Damascus
- - Asia/Dhaka
- - Asia/Dili
- - Asia/Dubai
- - Asia/Dushanbe
- - Asia/Famagusta
- - Asia/Gaza
- - Asia/Harbin
- - Asia/Hebron
- - Asia/Ho_Chi_Minh
- - Asia/Hong_Kong
- - Asia/Hovd
- - Asia/Irkutsk
- - Asia/Istanbul
- - Asia/Jakarta
- - Asia/Jayapura
- - Asia/Jerusalem
- - Asia/Kabul
- - Asia/Kamchatka
- - Asia/Karachi
- - Asia/Kashgar
- - Asia/Kathmandu
- - Asia/Katmandu
- - Asia/Khandyga
- - Asia/Kolkata
- - Asia/Krasnoyarsk
- - Asia/Kuala_Lumpur
- - Asia/Kuching
- - Asia/Kuwait
- - Asia/Macao
- - Asia/Macau
- - Asia/Magadan
- - Asia/Makassar
- - Asia/Manila
- - Asia/Muscat
- - Asia/Nicosia
- - Asia/Novokuznetsk
- - Asia/Novosibirsk
- - Asia/Omsk
- - Asia/Oral
- - Asia/Phnom_Penh
- - Asia/Pontianak
- - Asia/Pyongyang
- - Asia/Qatar
- - Asia/Qostanay
- - Asia/Qyzylorda
- - Asia/Rangoon
- - Asia/Riyadh
- - Asia/Saigon
- - Asia/Sakhalin
- - Asia/Samarkand
- - Asia/Seoul
- - Asia/Shanghai
- - Asia/Singapore
- - Asia/Srednekolymsk
- - Asia/Taipei
- - Asia/Tashkent
- - Asia/Tbilisi
- - Asia/Tehran
- - Asia/Tel_Aviv
- - Asia/Thimbu
- - Asia/Thimphu
- - Asia/Tokyo
- - Asia/Tomsk
- - Asia/Ujung_Pandang
- - Asia/Ulaanbaatar
- - Asia/Ulan_Bator
- - Asia/Urumqi
- - Asia/Ust-Nera
- - Asia/Vientiane
- - Asia/Vladivostok
- - Asia/Yakutsk
- - Asia/Yangon
- - Asia/Yekaterinburg
- - Asia/Yerevan
- - Atlantic/Azores
- - Atlantic/Bermuda
- - Atlantic/Canary
- - Atlantic/Cape_Verde
- - Atlantic/Faeroe
- - Atlantic/Faroe
- - Atlantic/Jan_Mayen
- - Atlantic/Madeira
- - Atlantic/Reykjavik
- - Atlantic/South_Georgia
- - Atlantic/St_Helena
- - Atlantic/Stanley
- - Australia/ACT
- - Australia/Adelaide
- - Australia/Brisbane
- - Australia/Broken_Hill
- - Australia/Canberra
- - Australia/Currie
- - Australia/Darwin
- - Australia/Eucla
- - Australia/Hobart
- - Australia/LHI
- - Australia/Lindeman
- - Australia/Lord_Howe
- - Australia/Melbourne
- - Australia/NSW
- - Australia/North
- - Australia/Perth
- - Australia/Queensland
- - Australia/South
- - Australia/Sydney
- - Australia/Tasmania
- - Australia/Victoria
- - Australia/West
- - Australia/Yancowinna
- - Brazil/Acre
- - Brazil/DeNoronha
- - Brazil/East
- - Brazil/West
- - CET
- - CST6CDT
- - Canada/Atlantic
- - Canada/Central
- - Canada/Eastern
- - Canada/Mountain
- - Canada/Newfoundland
- - Canada/Pacific
- - Canada/Saskatchewan
- - Canada/Yukon
- - Chile/Continental
- - Chile/EasterIsland
- - Cuba
- - EET
- - EST
- - EST5EDT
- - Egypt
- - Eire
- - Etc/GMT
- - Etc/GMT+0
- - Etc/GMT+1
- - Etc/GMT+10
- - Etc/GMT+11
- - Etc/GMT+12
- - Etc/GMT+2
- - Etc/GMT+3
- - Etc/GMT+4
- - Etc/GMT+5
- - Etc/GMT+6
- - Etc/GMT+7
- - Etc/GMT+8
- - Etc/GMT+9
- - Etc/GMT-0
- - Etc/GMT-1
- - Etc/GMT-10
- - Etc/GMT-11
- - Etc/GMT-12
- - Etc/GMT-13
- - Etc/GMT-14
- - Etc/GMT-2
- - Etc/GMT-3
- - Etc/GMT-4
- - Etc/GMT-5
- - Etc/GMT-6
- - Etc/GMT-7
- - Etc/GMT-8
- - Etc/GMT-9
- - Etc/GMT0
- - Etc/Greenwich
- - Etc/UCT
- - Etc/UTC
- - Etc/Universal
- - Etc/Zulu
- - Europe/Amsterdam
- - Europe/Andorra
- - Europe/Astrakhan
- - Europe/Athens
- - Europe/Belfast
- - Europe/Belgrade
- - Europe/Berlin
- - Europe/Bratislava
- - Europe/Brussels
- - Europe/Bucharest
- - Europe/Budapest
- - Europe/Busingen
- - Europe/Chisinau
- - Europe/Copenhagen
- - Europe/Dublin
- - Europe/Gibraltar
- - Europe/Guernsey
- - Europe/Helsinki
- - Europe/Isle_of_Man
- - Europe/Istanbul
- - Europe/Jersey
- - Europe/Kaliningrad
- - Europe/Kiev
- - Europe/Kirov
- - Europe/Kyiv
- - Europe/Lisbon
- - Europe/Ljubljana
- - Europe/London
- - Europe/Luxembourg
- - Europe/Madrid
- - Europe/Malta
- - Europe/Mariehamn
- - Europe/Minsk
- - Europe/Monaco
- - Europe/Moscow
- - Europe/Nicosia
- - Europe/Oslo
- - Europe/Paris
- - Europe/Podgorica
- - Europe/Prague
- - Europe/Riga
- - Europe/Rome
- - Europe/Samara
- - Europe/San_Marino
- - Europe/Sarajevo
- - Europe/Saratov
- - Europe/Simferopol
- - Europe/Skopje
- - Europe/Sofia
- - Europe/Stockholm
- - Europe/Tallinn
- - Europe/Tirane
- - Europe/Tiraspol
- - Europe/Ulyanovsk
- - Europe/Uzhgorod
- - Europe/Vaduz
- - Europe/Vatican
- - Europe/Vienna
- - Europe/Vilnius
- - Europe/Volgograd
- - Europe/Warsaw
- - Europe/Zagreb
- - Europe/Zaporozhye
- - Europe/Zurich
- - GB
- - GB-Eire
- - GMT
- - GMT+0
- - GMT-0
- - GMT0
- - Greenwich
- - HST
- - Hongkong
- - Iceland
- - Indian/Antananarivo
- - Indian/Chagos
- - Indian/Christmas
- - Indian/Cocos
- - Indian/Comoro
- - Indian/Kerguelen
- - Indian/Mahe
- - Indian/Maldives
- - Indian/Mauritius
- - Indian/Mayotte
- - Indian/Reunion
- - Iran
- - Israel
- - Jamaica
- - Japan
- - Kwajalein
- - Libya
- - MET
- - MST
- - MST7MDT
- - Mexico/BajaNorte
- - Mexico/BajaSur
- - Mexico/General
- - NZ
- - NZ-CHAT
- - Navajo
- - PRC
- - PST8PDT
- - Pacific/Apia
- - Pacific/Auckland
- - Pacific/Bougainville
- - Pacific/Chatham
- - Pacific/Chuuk
- - Pacific/Easter
- - Pacific/Efate
- - Pacific/Enderbury
- - Pacific/Fakaofo
- - Pacific/Fiji
- - Pacific/Funafuti
- - Pacific/Galapagos
- - Pacific/Gambier
- - Pacific/Guadalcanal
- - Pacific/Guam
- - Pacific/Honolulu
- - Pacific/Johnston
- - Pacific/Kanton
- - Pacific/Kiritimati
- - Pacific/Kosrae
- - Pacific/Kwajalein
- - Pacific/Majuro
- - Pacific/Marquesas
- - Pacific/Midway
- - Pacific/Nauru
- - Pacific/Niue
- - Pacific/Norfolk
- - Pacific/Noumea
- - Pacific/Pago_Pago
- - Pacific/Palau
- - Pacific/Pitcairn
- - Pacific/Pohnpei
- - Pacific/Ponape
- - Pacific/Port_Moresby
- - Pacific/Rarotonga
- - Pacific/Saipan
- - Pacific/Samoa
- - Pacific/Tahiti
- - Pacific/Tarawa
- - Pacific/Tongatapu
- - Pacific/Truk
- - Pacific/Wake
- - Pacific/Wallis
- - Pacific/Yap
- - Poland
- - Portugal
- - ROC
- - ROK
- - Singapore
- - Turkey
- - UCT
- - US/Alaska
- - US/Aleutian
- - US/Arizona
- - US/Central
- - US/East-Indiana
- - US/Eastern
- - US/Hawaii
- - US/Indiana-Starke
- - US/Michigan
- - US/Mountain
- - US/Pacific
- - US/Samoa
- - UTC
- - Universal
- - W-SU
- - WET
- - Zulu
- - localtime
- description: |+
- Time zone
-
+ description: Time zone
explode: true
style: form
- in: query
@@ -46427,607 +39659,7 @@ paths:
type: array
items:
type: string
- enum:
- - Africa/Abidjan
- - Africa/Accra
- - Africa/Addis_Ababa
- - Africa/Algiers
- - Africa/Asmara
- - Africa/Asmera
- - Africa/Bamako
- - Africa/Bangui
- - Africa/Banjul
- - Africa/Bissau
- - Africa/Blantyre
- - Africa/Brazzaville
- - Africa/Bujumbura
- - Africa/Cairo
- - Africa/Casablanca
- - Africa/Ceuta
- - Africa/Conakry
- - Africa/Dakar
- - Africa/Dar_es_Salaam
- - Africa/Djibouti
- - Africa/Douala
- - Africa/El_Aaiun
- - Africa/Freetown
- - Africa/Gaborone
- - Africa/Harare
- - Africa/Johannesburg
- - Africa/Juba
- - Africa/Kampala
- - Africa/Khartoum
- - Africa/Kigali
- - Africa/Kinshasa
- - Africa/Lagos
- - Africa/Libreville
- - Africa/Lome
- - Africa/Luanda
- - Africa/Lubumbashi
- - Africa/Lusaka
- - Africa/Malabo
- - Africa/Maputo
- - Africa/Maseru
- - Africa/Mbabane
- - Africa/Mogadishu
- - Africa/Monrovia
- - Africa/Nairobi
- - Africa/Ndjamena
- - Africa/Niamey
- - Africa/Nouakchott
- - Africa/Ouagadougou
- - Africa/Porto-Novo
- - Africa/Sao_Tome
- - Africa/Timbuktu
- - Africa/Tripoli
- - Africa/Tunis
- - Africa/Windhoek
- - America/Adak
- - America/Anchorage
- - America/Anguilla
- - America/Antigua
- - America/Araguaina
- - America/Argentina/Buenos_Aires
- - America/Argentina/Catamarca
- - America/Argentina/ComodRivadavia
- - America/Argentina/Cordoba
- - America/Argentina/Jujuy
- - America/Argentina/La_Rioja
- - America/Argentina/Mendoza
- - America/Argentina/Rio_Gallegos
- - America/Argentina/Salta
- - America/Argentina/San_Juan
- - America/Argentina/San_Luis
- - America/Argentina/Tucuman
- - America/Argentina/Ushuaia
- - America/Aruba
- - America/Asuncion
- - America/Atikokan
- - America/Atka
- - America/Bahia
- - America/Bahia_Banderas
- - America/Barbados
- - America/Belem
- - America/Belize
- - America/Blanc-Sablon
- - America/Boa_Vista
- - America/Bogota
- - America/Boise
- - America/Buenos_Aires
- - America/Cambridge_Bay
- - America/Campo_Grande
- - America/Cancun
- - America/Caracas
- - America/Catamarca
- - America/Cayenne
- - America/Cayman
- - America/Chicago
- - America/Chihuahua
- - America/Ciudad_Juarez
- - America/Coral_Harbour
- - America/Cordoba
- - America/Costa_Rica
- - America/Creston
- - America/Cuiaba
- - America/Curacao
- - America/Danmarkshavn
- - America/Dawson
- - America/Dawson_Creek
- - America/Denver
- - America/Detroit
- - America/Dominica
- - America/Edmonton
- - America/Eirunepe
- - America/El_Salvador
- - America/Ensenada
- - America/Fort_Nelson
- - America/Fort_Wayne
- - America/Fortaleza
- - America/Glace_Bay
- - America/Godthab
- - America/Goose_Bay
- - America/Grand_Turk
- - America/Grenada
- - America/Guadeloupe
- - America/Guatemala
- - America/Guayaquil
- - America/Guyana
- - America/Halifax
- - America/Havana
- - America/Hermosillo
- - America/Indiana/Indianapolis
- - America/Indiana/Knox
- - America/Indiana/Marengo
- - America/Indiana/Petersburg
- - America/Indiana/Tell_City
- - America/Indiana/Vevay
- - America/Indiana/Vincennes
- - America/Indiana/Winamac
- - America/Indianapolis
- - America/Inuvik
- - America/Iqaluit
- - America/Jamaica
- - America/Jujuy
- - America/Juneau
- - America/Kentucky/Louisville
- - America/Kentucky/Monticello
- - America/Knox_IN
- - America/Kralendijk
- - America/La_Paz
- - America/Lima
- - America/Los_Angeles
- - America/Louisville
- - America/Lower_Princes
- - America/Maceio
- - America/Managua
- - America/Manaus
- - America/Marigot
- - America/Martinique
- - America/Matamoros
- - America/Mazatlan
- - America/Mendoza
- - America/Menominee
- - America/Merida
- - America/Metlakatla
- - America/Mexico_City
- - America/Miquelon
- - America/Moncton
- - America/Monterrey
- - America/Montevideo
- - America/Montreal
- - America/Montserrat
- - America/Nassau
- - America/New_York
- - America/Nipigon
- - America/Nome
- - America/Noronha
- - America/North_Dakota/Beulah
- - America/North_Dakota/Center
- - America/North_Dakota/New_Salem
- - America/Nuuk
- - America/Ojinaga
- - America/Panama
- - America/Pangnirtung
- - America/Paramaribo
- - America/Phoenix
- - America/Port-au-Prince
- - America/Port_of_Spain
- - America/Porto_Acre
- - America/Porto_Velho
- - America/Puerto_Rico
- - America/Punta_Arenas
- - America/Rainy_River
- - America/Rankin_Inlet
- - America/Recife
- - America/Regina
- - America/Resolute
- - America/Rio_Branco
- - America/Rosario
- - America/Santa_Isabel
- - America/Santarem
- - America/Santiago
- - America/Santo_Domingo
- - America/Sao_Paulo
- - America/Scoresbysund
- - America/Shiprock
- - America/Sitka
- - America/St_Barthelemy
- - America/St_Johns
- - America/St_Kitts
- - America/St_Lucia
- - America/St_Thomas
- - America/St_Vincent
- - America/Swift_Current
- - America/Tegucigalpa
- - America/Thule
- - America/Thunder_Bay
- - America/Tijuana
- - America/Toronto
- - America/Tortola
- - America/Vancouver
- - America/Virgin
- - America/Whitehorse
- - America/Winnipeg
- - America/Yakutat
- - America/Yellowknife
- - Antarctica/Casey
- - Antarctica/Davis
- - Antarctica/DumontDUrville
- - Antarctica/Macquarie
- - Antarctica/Mawson
- - Antarctica/McMurdo
- - Antarctica/Palmer
- - Antarctica/Rothera
- - Antarctica/South_Pole
- - Antarctica/Syowa
- - Antarctica/Troll
- - Antarctica/Vostok
- - Arctic/Longyearbyen
- - Asia/Aden
- - Asia/Almaty
- - Asia/Amman
- - Asia/Anadyr
- - Asia/Aqtau
- - Asia/Aqtobe
- - Asia/Ashgabat
- - Asia/Ashkhabad
- - Asia/Atyrau
- - Asia/Baghdad
- - Asia/Bahrain
- - Asia/Baku
- - Asia/Bangkok
- - Asia/Barnaul
- - Asia/Beirut
- - Asia/Bishkek
- - Asia/Brunei
- - Asia/Calcutta
- - Asia/Chita
- - Asia/Choibalsan
- - Asia/Chongqing
- - Asia/Chungking
- - Asia/Colombo
- - Asia/Dacca
- - Asia/Damascus
- - Asia/Dhaka
- - Asia/Dili
- - Asia/Dubai
- - Asia/Dushanbe
- - Asia/Famagusta
- - Asia/Gaza
- - Asia/Harbin
- - Asia/Hebron
- - Asia/Ho_Chi_Minh
- - Asia/Hong_Kong
- - Asia/Hovd
- - Asia/Irkutsk
- - Asia/Istanbul
- - Asia/Jakarta
- - Asia/Jayapura
- - Asia/Jerusalem
- - Asia/Kabul
- - Asia/Kamchatka
- - Asia/Karachi
- - Asia/Kashgar
- - Asia/Kathmandu
- - Asia/Katmandu
- - Asia/Khandyga
- - Asia/Kolkata
- - Asia/Krasnoyarsk
- - Asia/Kuala_Lumpur
- - Asia/Kuching
- - Asia/Kuwait
- - Asia/Macao
- - Asia/Macau
- - Asia/Magadan
- - Asia/Makassar
- - Asia/Manila
- - Asia/Muscat
- - Asia/Nicosia
- - Asia/Novokuznetsk
- - Asia/Novosibirsk
- - Asia/Omsk
- - Asia/Oral
- - Asia/Phnom_Penh
- - Asia/Pontianak
- - Asia/Pyongyang
- - Asia/Qatar
- - Asia/Qostanay
- - Asia/Qyzylorda
- - Asia/Rangoon
- - Asia/Riyadh
- - Asia/Saigon
- - Asia/Sakhalin
- - Asia/Samarkand
- - Asia/Seoul
- - Asia/Shanghai
- - Asia/Singapore
- - Asia/Srednekolymsk
- - Asia/Taipei
- - Asia/Tashkent
- - Asia/Tbilisi
- - Asia/Tehran
- - Asia/Tel_Aviv
- - Asia/Thimbu
- - Asia/Thimphu
- - Asia/Tokyo
- - Asia/Tomsk
- - Asia/Ujung_Pandang
- - Asia/Ulaanbaatar
- - Asia/Ulan_Bator
- - Asia/Urumqi
- - Asia/Ust-Nera
- - Asia/Vientiane
- - Asia/Vladivostok
- - Asia/Yakutsk
- - Asia/Yangon
- - Asia/Yekaterinburg
- - Asia/Yerevan
- - Atlantic/Azores
- - Atlantic/Bermuda
- - Atlantic/Canary
- - Atlantic/Cape_Verde
- - Atlantic/Faeroe
- - Atlantic/Faroe
- - Atlantic/Jan_Mayen
- - Atlantic/Madeira
- - Atlantic/Reykjavik
- - Atlantic/South_Georgia
- - Atlantic/St_Helena
- - Atlantic/Stanley
- - Australia/ACT
- - Australia/Adelaide
- - Australia/Brisbane
- - Australia/Broken_Hill
- - Australia/Canberra
- - Australia/Currie
- - Australia/Darwin
- - Australia/Eucla
- - Australia/Hobart
- - Australia/LHI
- - Australia/Lindeman
- - Australia/Lord_Howe
- - Australia/Melbourne
- - Australia/NSW
- - Australia/North
- - Australia/Perth
- - Australia/Queensland
- - Australia/South
- - Australia/Sydney
- - Australia/Tasmania
- - Australia/Victoria
- - Australia/West
- - Australia/Yancowinna
- - Brazil/Acre
- - Brazil/DeNoronha
- - Brazil/East
- - Brazil/West
- - CET
- - CST6CDT
- - Canada/Atlantic
- - Canada/Central
- - Canada/Eastern
- - Canada/Mountain
- - Canada/Newfoundland
- - Canada/Pacific
- - Canada/Saskatchewan
- - Canada/Yukon
- - Chile/Continental
- - Chile/EasterIsland
- - Cuba
- - EET
- - EST
- - EST5EDT
- - Egypt
- - Eire
- - Etc/GMT
- - Etc/GMT+0
- - Etc/GMT+1
- - Etc/GMT+10
- - Etc/GMT+11
- - Etc/GMT+12
- - Etc/GMT+2
- - Etc/GMT+3
- - Etc/GMT+4
- - Etc/GMT+5
- - Etc/GMT+6
- - Etc/GMT+7
- - Etc/GMT+8
- - Etc/GMT+9
- - Etc/GMT-0
- - Etc/GMT-1
- - Etc/GMT-10
- - Etc/GMT-11
- - Etc/GMT-12
- - Etc/GMT-13
- - Etc/GMT-14
- - Etc/GMT-2
- - Etc/GMT-3
- - Etc/GMT-4
- - Etc/GMT-5
- - Etc/GMT-6
- - Etc/GMT-7
- - Etc/GMT-8
- - Etc/GMT-9
- - Etc/GMT0
- - Etc/Greenwich
- - Etc/UCT
- - Etc/UTC
- - Etc/Universal
- - Etc/Zulu
- - Europe/Amsterdam
- - Europe/Andorra
- - Europe/Astrakhan
- - Europe/Athens
- - Europe/Belfast
- - Europe/Belgrade
- - Europe/Berlin
- - Europe/Bratislava
- - Europe/Brussels
- - Europe/Bucharest
- - Europe/Budapest
- - Europe/Busingen
- - Europe/Chisinau
- - Europe/Copenhagen
- - Europe/Dublin
- - Europe/Gibraltar
- - Europe/Guernsey
- - Europe/Helsinki
- - Europe/Isle_of_Man
- - Europe/Istanbul
- - Europe/Jersey
- - Europe/Kaliningrad
- - Europe/Kiev
- - Europe/Kirov
- - Europe/Kyiv
- - Europe/Lisbon
- - Europe/Ljubljana
- - Europe/London
- - Europe/Luxembourg
- - Europe/Madrid
- - Europe/Malta
- - Europe/Mariehamn
- - Europe/Minsk
- - Europe/Monaco
- - Europe/Moscow
- - Europe/Nicosia
- - Europe/Oslo
- - Europe/Paris
- - Europe/Podgorica
- - Europe/Prague
- - Europe/Riga
- - Europe/Rome
- - Europe/Samara
- - Europe/San_Marino
- - Europe/Sarajevo
- - Europe/Saratov
- - Europe/Simferopol
- - Europe/Skopje
- - Europe/Sofia
- - Europe/Stockholm
- - Europe/Tallinn
- - Europe/Tirane
- - Europe/Tiraspol
- - Europe/Ulyanovsk
- - Europe/Uzhgorod
- - Europe/Vaduz
- - Europe/Vatican
- - Europe/Vienna
- - Europe/Vilnius
- - Europe/Volgograd
- - Europe/Warsaw
- - Europe/Zagreb
- - Europe/Zaporozhye
- - Europe/Zurich
- - GB
- - GB-Eire
- - GMT
- - GMT+0
- - GMT-0
- - GMT0
- - Greenwich
- - HST
- - Hongkong
- - Iceland
- - Indian/Antananarivo
- - Indian/Chagos
- - Indian/Christmas
- - Indian/Cocos
- - Indian/Comoro
- - Indian/Kerguelen
- - Indian/Mahe
- - Indian/Maldives
- - Indian/Mauritius
- - Indian/Mayotte
- - Indian/Reunion
- - Iran
- - Israel
- - Jamaica
- - Japan
- - Kwajalein
- - Libya
- - MET
- - MST
- - MST7MDT
- - Mexico/BajaNorte
- - Mexico/BajaSur
- - Mexico/General
- - NZ
- - NZ-CHAT
- - Navajo
- - PRC
- - PST8PDT
- - Pacific/Apia
- - Pacific/Auckland
- - Pacific/Bougainville
- - Pacific/Chatham
- - Pacific/Chuuk
- - Pacific/Easter
- - Pacific/Efate
- - Pacific/Enderbury
- - Pacific/Fakaofo
- - Pacific/Fiji
- - Pacific/Funafuti
- - Pacific/Galapagos
- - Pacific/Gambier
- - Pacific/Guadalcanal
- - Pacific/Guam
- - Pacific/Honolulu
- - Pacific/Johnston
- - Pacific/Kanton
- - Pacific/Kiritimati
- - Pacific/Kosrae
- - Pacific/Kwajalein
- - Pacific/Majuro
- - Pacific/Marquesas
- - Pacific/Midway
- - Pacific/Nauru
- - Pacific/Niue
- - Pacific/Norfolk
- - Pacific/Noumea
- - Pacific/Pago_Pago
- - Pacific/Palau
- - Pacific/Pitcairn
- - Pacific/Pohnpei
- - Pacific/Ponape
- - Pacific/Port_Moresby
- - Pacific/Rarotonga
- - Pacific/Saipan
- - Pacific/Samoa
- - Pacific/Tahiti
- - Pacific/Tarawa
- - Pacific/Tongatapu
- - Pacific/Truk
- - Pacific/Wake
- - Pacific/Wallis
- - Pacific/Yap
- - Poland
- - Portugal
- - ROC
- - ROK
- - Singapore
- - Turkey
- - UCT
- - US/Alaska
- - US/Aleutian
- - US/Arizona
- - US/Central
- - US/East-Indiana
- - US/Eastern
- - US/Hawaii
- - US/Indiana-Starke
- - US/Michigan
- - US/Mountain
- - US/Pacific
- - US/Samoa
- - UTC
- - Universal
- - W-SU
- - WET
- - Zulu
- - localtime
- description: |+
- Time zone
-
+ description: Time zone
explode: true
style: form
- in: query
@@ -47036,607 +39668,7 @@ paths:
type: array
items:
type: string
- enum:
- - Africa/Abidjan
- - Africa/Accra
- - Africa/Addis_Ababa
- - Africa/Algiers
- - Africa/Asmara
- - Africa/Asmera
- - Africa/Bamako
- - Africa/Bangui
- - Africa/Banjul
- - Africa/Bissau
- - Africa/Blantyre
- - Africa/Brazzaville
- - Africa/Bujumbura
- - Africa/Cairo
- - Africa/Casablanca
- - Africa/Ceuta
- - Africa/Conakry
- - Africa/Dakar
- - Africa/Dar_es_Salaam
- - Africa/Djibouti
- - Africa/Douala
- - Africa/El_Aaiun
- - Africa/Freetown
- - Africa/Gaborone
- - Africa/Harare
- - Africa/Johannesburg
- - Africa/Juba
- - Africa/Kampala
- - Africa/Khartoum
- - Africa/Kigali
- - Africa/Kinshasa
- - Africa/Lagos
- - Africa/Libreville
- - Africa/Lome
- - Africa/Luanda
- - Africa/Lubumbashi
- - Africa/Lusaka
- - Africa/Malabo
- - Africa/Maputo
- - Africa/Maseru
- - Africa/Mbabane
- - Africa/Mogadishu
- - Africa/Monrovia
- - Africa/Nairobi
- - Africa/Ndjamena
- - Africa/Niamey
- - Africa/Nouakchott
- - Africa/Ouagadougou
- - Africa/Porto-Novo
- - Africa/Sao_Tome
- - Africa/Timbuktu
- - Africa/Tripoli
- - Africa/Tunis
- - Africa/Windhoek
- - America/Adak
- - America/Anchorage
- - America/Anguilla
- - America/Antigua
- - America/Araguaina
- - America/Argentina/Buenos_Aires
- - America/Argentina/Catamarca
- - America/Argentina/ComodRivadavia
- - America/Argentina/Cordoba
- - America/Argentina/Jujuy
- - America/Argentina/La_Rioja
- - America/Argentina/Mendoza
- - America/Argentina/Rio_Gallegos
- - America/Argentina/Salta
- - America/Argentina/San_Juan
- - America/Argentina/San_Luis
- - America/Argentina/Tucuman
- - America/Argentina/Ushuaia
- - America/Aruba
- - America/Asuncion
- - America/Atikokan
- - America/Atka
- - America/Bahia
- - America/Bahia_Banderas
- - America/Barbados
- - America/Belem
- - America/Belize
- - America/Blanc-Sablon
- - America/Boa_Vista
- - America/Bogota
- - America/Boise
- - America/Buenos_Aires
- - America/Cambridge_Bay
- - America/Campo_Grande
- - America/Cancun
- - America/Caracas
- - America/Catamarca
- - America/Cayenne
- - America/Cayman
- - America/Chicago
- - America/Chihuahua
- - America/Ciudad_Juarez
- - America/Coral_Harbour
- - America/Cordoba
- - America/Costa_Rica
- - America/Creston
- - America/Cuiaba
- - America/Curacao
- - America/Danmarkshavn
- - America/Dawson
- - America/Dawson_Creek
- - America/Denver
- - America/Detroit
- - America/Dominica
- - America/Edmonton
- - America/Eirunepe
- - America/El_Salvador
- - America/Ensenada
- - America/Fort_Nelson
- - America/Fort_Wayne
- - America/Fortaleza
- - America/Glace_Bay
- - America/Godthab
- - America/Goose_Bay
- - America/Grand_Turk
- - America/Grenada
- - America/Guadeloupe
- - America/Guatemala
- - America/Guayaquil
- - America/Guyana
- - America/Halifax
- - America/Havana
- - America/Hermosillo
- - America/Indiana/Indianapolis
- - America/Indiana/Knox
- - America/Indiana/Marengo
- - America/Indiana/Petersburg
- - America/Indiana/Tell_City
- - America/Indiana/Vevay
- - America/Indiana/Vincennes
- - America/Indiana/Winamac
- - America/Indianapolis
- - America/Inuvik
- - America/Iqaluit
- - America/Jamaica
- - America/Jujuy
- - America/Juneau
- - America/Kentucky/Louisville
- - America/Kentucky/Monticello
- - America/Knox_IN
- - America/Kralendijk
- - America/La_Paz
- - America/Lima
- - America/Los_Angeles
- - America/Louisville
- - America/Lower_Princes
- - America/Maceio
- - America/Managua
- - America/Manaus
- - America/Marigot
- - America/Martinique
- - America/Matamoros
- - America/Mazatlan
- - America/Mendoza
- - America/Menominee
- - America/Merida
- - America/Metlakatla
- - America/Mexico_City
- - America/Miquelon
- - America/Moncton
- - America/Monterrey
- - America/Montevideo
- - America/Montreal
- - America/Montserrat
- - America/Nassau
- - America/New_York
- - America/Nipigon
- - America/Nome
- - America/Noronha
- - America/North_Dakota/Beulah
- - America/North_Dakota/Center
- - America/North_Dakota/New_Salem
- - America/Nuuk
- - America/Ojinaga
- - America/Panama
- - America/Pangnirtung
- - America/Paramaribo
- - America/Phoenix
- - America/Port-au-Prince
- - America/Port_of_Spain
- - America/Porto_Acre
- - America/Porto_Velho
- - America/Puerto_Rico
- - America/Punta_Arenas
- - America/Rainy_River
- - America/Rankin_Inlet
- - America/Recife
- - America/Regina
- - America/Resolute
- - America/Rio_Branco
- - America/Rosario
- - America/Santa_Isabel
- - America/Santarem
- - America/Santiago
- - America/Santo_Domingo
- - America/Sao_Paulo
- - America/Scoresbysund
- - America/Shiprock
- - America/Sitka
- - America/St_Barthelemy
- - America/St_Johns
- - America/St_Kitts
- - America/St_Lucia
- - America/St_Thomas
- - America/St_Vincent
- - America/Swift_Current
- - America/Tegucigalpa
- - America/Thule
- - America/Thunder_Bay
- - America/Tijuana
- - America/Toronto
- - America/Tortola
- - America/Vancouver
- - America/Virgin
- - America/Whitehorse
- - America/Winnipeg
- - America/Yakutat
- - America/Yellowknife
- - Antarctica/Casey
- - Antarctica/Davis
- - Antarctica/DumontDUrville
- - Antarctica/Macquarie
- - Antarctica/Mawson
- - Antarctica/McMurdo
- - Antarctica/Palmer
- - Antarctica/Rothera
- - Antarctica/South_Pole
- - Antarctica/Syowa
- - Antarctica/Troll
- - Antarctica/Vostok
- - Arctic/Longyearbyen
- - Asia/Aden
- - Asia/Almaty
- - Asia/Amman
- - Asia/Anadyr
- - Asia/Aqtau
- - Asia/Aqtobe
- - Asia/Ashgabat
- - Asia/Ashkhabad
- - Asia/Atyrau
- - Asia/Baghdad
- - Asia/Bahrain
- - Asia/Baku
- - Asia/Bangkok
- - Asia/Barnaul
- - Asia/Beirut
- - Asia/Bishkek
- - Asia/Brunei
- - Asia/Calcutta
- - Asia/Chita
- - Asia/Choibalsan
- - Asia/Chongqing
- - Asia/Chungking
- - Asia/Colombo
- - Asia/Dacca
- - Asia/Damascus
- - Asia/Dhaka
- - Asia/Dili
- - Asia/Dubai
- - Asia/Dushanbe
- - Asia/Famagusta
- - Asia/Gaza
- - Asia/Harbin
- - Asia/Hebron
- - Asia/Ho_Chi_Minh
- - Asia/Hong_Kong
- - Asia/Hovd
- - Asia/Irkutsk
- - Asia/Istanbul
- - Asia/Jakarta
- - Asia/Jayapura
- - Asia/Jerusalem
- - Asia/Kabul
- - Asia/Kamchatka
- - Asia/Karachi
- - Asia/Kashgar
- - Asia/Kathmandu
- - Asia/Katmandu
- - Asia/Khandyga
- - Asia/Kolkata
- - Asia/Krasnoyarsk
- - Asia/Kuala_Lumpur
- - Asia/Kuching
- - Asia/Kuwait
- - Asia/Macao
- - Asia/Macau
- - Asia/Magadan
- - Asia/Makassar
- - Asia/Manila
- - Asia/Muscat
- - Asia/Nicosia
- - Asia/Novokuznetsk
- - Asia/Novosibirsk
- - Asia/Omsk
- - Asia/Oral
- - Asia/Phnom_Penh
- - Asia/Pontianak
- - Asia/Pyongyang
- - Asia/Qatar
- - Asia/Qostanay
- - Asia/Qyzylorda
- - Asia/Rangoon
- - Asia/Riyadh
- - Asia/Saigon
- - Asia/Sakhalin
- - Asia/Samarkand
- - Asia/Seoul
- - Asia/Shanghai
- - Asia/Singapore
- - Asia/Srednekolymsk
- - Asia/Taipei
- - Asia/Tashkent
- - Asia/Tbilisi
- - Asia/Tehran
- - Asia/Tel_Aviv
- - Asia/Thimbu
- - Asia/Thimphu
- - Asia/Tokyo
- - Asia/Tomsk
- - Asia/Ujung_Pandang
- - Asia/Ulaanbaatar
- - Asia/Ulan_Bator
- - Asia/Urumqi
- - Asia/Ust-Nera
- - Asia/Vientiane
- - Asia/Vladivostok
- - Asia/Yakutsk
- - Asia/Yangon
- - Asia/Yekaterinburg
- - Asia/Yerevan
- - Atlantic/Azores
- - Atlantic/Bermuda
- - Atlantic/Canary
- - Atlantic/Cape_Verde
- - Atlantic/Faeroe
- - Atlantic/Faroe
- - Atlantic/Jan_Mayen
- - Atlantic/Madeira
- - Atlantic/Reykjavik
- - Atlantic/South_Georgia
- - Atlantic/St_Helena
- - Atlantic/Stanley
- - Australia/ACT
- - Australia/Adelaide
- - Australia/Brisbane
- - Australia/Broken_Hill
- - Australia/Canberra
- - Australia/Currie
- - Australia/Darwin
- - Australia/Eucla
- - Australia/Hobart
- - Australia/LHI
- - Australia/Lindeman
- - Australia/Lord_Howe
- - Australia/Melbourne
- - Australia/NSW
- - Australia/North
- - Australia/Perth
- - Australia/Queensland
- - Australia/South
- - Australia/Sydney
- - Australia/Tasmania
- - Australia/Victoria
- - Australia/West
- - Australia/Yancowinna
- - Brazil/Acre
- - Brazil/DeNoronha
- - Brazil/East
- - Brazil/West
- - CET
- - CST6CDT
- - Canada/Atlantic
- - Canada/Central
- - Canada/Eastern
- - Canada/Mountain
- - Canada/Newfoundland
- - Canada/Pacific
- - Canada/Saskatchewan
- - Canada/Yukon
- - Chile/Continental
- - Chile/EasterIsland
- - Cuba
- - EET
- - EST
- - EST5EDT
- - Egypt
- - Eire
- - Etc/GMT
- - Etc/GMT+0
- - Etc/GMT+1
- - Etc/GMT+10
- - Etc/GMT+11
- - Etc/GMT+12
- - Etc/GMT+2
- - Etc/GMT+3
- - Etc/GMT+4
- - Etc/GMT+5
- - Etc/GMT+6
- - Etc/GMT+7
- - Etc/GMT+8
- - Etc/GMT+9
- - Etc/GMT-0
- - Etc/GMT-1
- - Etc/GMT-10
- - Etc/GMT-11
- - Etc/GMT-12
- - Etc/GMT-13
- - Etc/GMT-14
- - Etc/GMT-2
- - Etc/GMT-3
- - Etc/GMT-4
- - Etc/GMT-5
- - Etc/GMT-6
- - Etc/GMT-7
- - Etc/GMT-8
- - Etc/GMT-9
- - Etc/GMT0
- - Etc/Greenwich
- - Etc/UCT
- - Etc/UTC
- - Etc/Universal
- - Etc/Zulu
- - Europe/Amsterdam
- - Europe/Andorra
- - Europe/Astrakhan
- - Europe/Athens
- - Europe/Belfast
- - Europe/Belgrade
- - Europe/Berlin
- - Europe/Bratislava
- - Europe/Brussels
- - Europe/Bucharest
- - Europe/Budapest
- - Europe/Busingen
- - Europe/Chisinau
- - Europe/Copenhagen
- - Europe/Dublin
- - Europe/Gibraltar
- - Europe/Guernsey
- - Europe/Helsinki
- - Europe/Isle_of_Man
- - Europe/Istanbul
- - Europe/Jersey
- - Europe/Kaliningrad
- - Europe/Kiev
- - Europe/Kirov
- - Europe/Kyiv
- - Europe/Lisbon
- - Europe/Ljubljana
- - Europe/London
- - Europe/Luxembourg
- - Europe/Madrid
- - Europe/Malta
- - Europe/Mariehamn
- - Europe/Minsk
- - Europe/Monaco
- - Europe/Moscow
- - Europe/Nicosia
- - Europe/Oslo
- - Europe/Paris
- - Europe/Podgorica
- - Europe/Prague
- - Europe/Riga
- - Europe/Rome
- - Europe/Samara
- - Europe/San_Marino
- - Europe/Sarajevo
- - Europe/Saratov
- - Europe/Simferopol
- - Europe/Skopje
- - Europe/Sofia
- - Europe/Stockholm
- - Europe/Tallinn
- - Europe/Tirane
- - Europe/Tiraspol
- - Europe/Ulyanovsk
- - Europe/Uzhgorod
- - Europe/Vaduz
- - Europe/Vatican
- - Europe/Vienna
- - Europe/Vilnius
- - Europe/Volgograd
- - Europe/Warsaw
- - Europe/Zagreb
- - Europe/Zaporozhye
- - Europe/Zurich
- - GB
- - GB-Eire
- - GMT
- - GMT+0
- - GMT-0
- - GMT0
- - Greenwich
- - HST
- - Hongkong
- - Iceland
- - Indian/Antananarivo
- - Indian/Chagos
- - Indian/Christmas
- - Indian/Cocos
- - Indian/Comoro
- - Indian/Kerguelen
- - Indian/Mahe
- - Indian/Maldives
- - Indian/Mauritius
- - Indian/Mayotte
- - Indian/Reunion
- - Iran
- - Israel
- - Jamaica
- - Japan
- - Kwajalein
- - Libya
- - MET
- - MST
- - MST7MDT
- - Mexico/BajaNorte
- - Mexico/BajaSur
- - Mexico/General
- - NZ
- - NZ-CHAT
- - Navajo
- - PRC
- - PST8PDT
- - Pacific/Apia
- - Pacific/Auckland
- - Pacific/Bougainville
- - Pacific/Chatham
- - Pacific/Chuuk
- - Pacific/Easter
- - Pacific/Efate
- - Pacific/Enderbury
- - Pacific/Fakaofo
- - Pacific/Fiji
- - Pacific/Funafuti
- - Pacific/Galapagos
- - Pacific/Gambier
- - Pacific/Guadalcanal
- - Pacific/Guam
- - Pacific/Honolulu
- - Pacific/Johnston
- - Pacific/Kanton
- - Pacific/Kiritimati
- - Pacific/Kosrae
- - Pacific/Kwajalein
- - Pacific/Majuro
- - Pacific/Marquesas
- - Pacific/Midway
- - Pacific/Nauru
- - Pacific/Niue
- - Pacific/Norfolk
- - Pacific/Noumea
- - Pacific/Pago_Pago
- - Pacific/Palau
- - Pacific/Pitcairn
- - Pacific/Pohnpei
- - Pacific/Ponape
- - Pacific/Port_Moresby
- - Pacific/Rarotonga
- - Pacific/Saipan
- - Pacific/Samoa
- - Pacific/Tahiti
- - Pacific/Tarawa
- - Pacific/Tongatapu
- - Pacific/Truk
- - Pacific/Wake
- - Pacific/Wallis
- - Pacific/Yap
- - Poland
- - Portugal
- - ROC
- - ROK
- - Singapore
- - Turkey
- - UCT
- - US/Alaska
- - US/Aleutian
- - US/Arizona
- - US/Central
- - US/East-Indiana
- - US/Eastern
- - US/Hawaii
- - US/Indiana-Starke
- - US/Michigan
- - US/Mountain
- - US/Pacific
- - US/Samoa
- - UTC
- - Universal
- - W-SU
- - WET
- - Zulu
- - localtime
- description: |+
- Time zone
-
+ description: Time zone
explode: true
style: form
- in: query
@@ -47645,607 +39677,7 @@ paths:
type: array
items:
type: string
- enum:
- - Africa/Abidjan
- - Africa/Accra
- - Africa/Addis_Ababa
- - Africa/Algiers
- - Africa/Asmara
- - Africa/Asmera
- - Africa/Bamako
- - Africa/Bangui
- - Africa/Banjul
- - Africa/Bissau
- - Africa/Blantyre
- - Africa/Brazzaville
- - Africa/Bujumbura
- - Africa/Cairo
- - Africa/Casablanca
- - Africa/Ceuta
- - Africa/Conakry
- - Africa/Dakar
- - Africa/Dar_es_Salaam
- - Africa/Djibouti
- - Africa/Douala
- - Africa/El_Aaiun
- - Africa/Freetown
- - Africa/Gaborone
- - Africa/Harare
- - Africa/Johannesburg
- - Africa/Juba
- - Africa/Kampala
- - Africa/Khartoum
- - Africa/Kigali
- - Africa/Kinshasa
- - Africa/Lagos
- - Africa/Libreville
- - Africa/Lome
- - Africa/Luanda
- - Africa/Lubumbashi
- - Africa/Lusaka
- - Africa/Malabo
- - Africa/Maputo
- - Africa/Maseru
- - Africa/Mbabane
- - Africa/Mogadishu
- - Africa/Monrovia
- - Africa/Nairobi
- - Africa/Ndjamena
- - Africa/Niamey
- - Africa/Nouakchott
- - Africa/Ouagadougou
- - Africa/Porto-Novo
- - Africa/Sao_Tome
- - Africa/Timbuktu
- - Africa/Tripoli
- - Africa/Tunis
- - Africa/Windhoek
- - America/Adak
- - America/Anchorage
- - America/Anguilla
- - America/Antigua
- - America/Araguaina
- - America/Argentina/Buenos_Aires
- - America/Argentina/Catamarca
- - America/Argentina/ComodRivadavia
- - America/Argentina/Cordoba
- - America/Argentina/Jujuy
- - America/Argentina/La_Rioja
- - America/Argentina/Mendoza
- - America/Argentina/Rio_Gallegos
- - America/Argentina/Salta
- - America/Argentina/San_Juan
- - America/Argentina/San_Luis
- - America/Argentina/Tucuman
- - America/Argentina/Ushuaia
- - America/Aruba
- - America/Asuncion
- - America/Atikokan
- - America/Atka
- - America/Bahia
- - America/Bahia_Banderas
- - America/Barbados
- - America/Belem
- - America/Belize
- - America/Blanc-Sablon
- - America/Boa_Vista
- - America/Bogota
- - America/Boise
- - America/Buenos_Aires
- - America/Cambridge_Bay
- - America/Campo_Grande
- - America/Cancun
- - America/Caracas
- - America/Catamarca
- - America/Cayenne
- - America/Cayman
- - America/Chicago
- - America/Chihuahua
- - America/Ciudad_Juarez
- - America/Coral_Harbour
- - America/Cordoba
- - America/Costa_Rica
- - America/Creston
- - America/Cuiaba
- - America/Curacao
- - America/Danmarkshavn
- - America/Dawson
- - America/Dawson_Creek
- - America/Denver
- - America/Detroit
- - America/Dominica
- - America/Edmonton
- - America/Eirunepe
- - America/El_Salvador
- - America/Ensenada
- - America/Fort_Nelson
- - America/Fort_Wayne
- - America/Fortaleza
- - America/Glace_Bay
- - America/Godthab
- - America/Goose_Bay
- - America/Grand_Turk
- - America/Grenada
- - America/Guadeloupe
- - America/Guatemala
- - America/Guayaquil
- - America/Guyana
- - America/Halifax
- - America/Havana
- - America/Hermosillo
- - America/Indiana/Indianapolis
- - America/Indiana/Knox
- - America/Indiana/Marengo
- - America/Indiana/Petersburg
- - America/Indiana/Tell_City
- - America/Indiana/Vevay
- - America/Indiana/Vincennes
- - America/Indiana/Winamac
- - America/Indianapolis
- - America/Inuvik
- - America/Iqaluit
- - America/Jamaica
- - America/Jujuy
- - America/Juneau
- - America/Kentucky/Louisville
- - America/Kentucky/Monticello
- - America/Knox_IN
- - America/Kralendijk
- - America/La_Paz
- - America/Lima
- - America/Los_Angeles
- - America/Louisville
- - America/Lower_Princes
- - America/Maceio
- - America/Managua
- - America/Manaus
- - America/Marigot
- - America/Martinique
- - America/Matamoros
- - America/Mazatlan
- - America/Mendoza
- - America/Menominee
- - America/Merida
- - America/Metlakatla
- - America/Mexico_City
- - America/Miquelon
- - America/Moncton
- - America/Monterrey
- - America/Montevideo
- - America/Montreal
- - America/Montserrat
- - America/Nassau
- - America/New_York
- - America/Nipigon
- - America/Nome
- - America/Noronha
- - America/North_Dakota/Beulah
- - America/North_Dakota/Center
- - America/North_Dakota/New_Salem
- - America/Nuuk
- - America/Ojinaga
- - America/Panama
- - America/Pangnirtung
- - America/Paramaribo
- - America/Phoenix
- - America/Port-au-Prince
- - America/Port_of_Spain
- - America/Porto_Acre
- - America/Porto_Velho
- - America/Puerto_Rico
- - America/Punta_Arenas
- - America/Rainy_River
- - America/Rankin_Inlet
- - America/Recife
- - America/Regina
- - America/Resolute
- - America/Rio_Branco
- - America/Rosario
- - America/Santa_Isabel
- - America/Santarem
- - America/Santiago
- - America/Santo_Domingo
- - America/Sao_Paulo
- - America/Scoresbysund
- - America/Shiprock
- - America/Sitka
- - America/St_Barthelemy
- - America/St_Johns
- - America/St_Kitts
- - America/St_Lucia
- - America/St_Thomas
- - America/St_Vincent
- - America/Swift_Current
- - America/Tegucigalpa
- - America/Thule
- - America/Thunder_Bay
- - America/Tijuana
- - America/Toronto
- - America/Tortola
- - America/Vancouver
- - America/Virgin
- - America/Whitehorse
- - America/Winnipeg
- - America/Yakutat
- - America/Yellowknife
- - Antarctica/Casey
- - Antarctica/Davis
- - Antarctica/DumontDUrville
- - Antarctica/Macquarie
- - Antarctica/Mawson
- - Antarctica/McMurdo
- - Antarctica/Palmer
- - Antarctica/Rothera
- - Antarctica/South_Pole
- - Antarctica/Syowa
- - Antarctica/Troll
- - Antarctica/Vostok
- - Arctic/Longyearbyen
- - Asia/Aden
- - Asia/Almaty
- - Asia/Amman
- - Asia/Anadyr
- - Asia/Aqtau
- - Asia/Aqtobe
- - Asia/Ashgabat
- - Asia/Ashkhabad
- - Asia/Atyrau
- - Asia/Baghdad
- - Asia/Bahrain
- - Asia/Baku
- - Asia/Bangkok
- - Asia/Barnaul
- - Asia/Beirut
- - Asia/Bishkek
- - Asia/Brunei
- - Asia/Calcutta
- - Asia/Chita
- - Asia/Choibalsan
- - Asia/Chongqing
- - Asia/Chungking
- - Asia/Colombo
- - Asia/Dacca
- - Asia/Damascus
- - Asia/Dhaka
- - Asia/Dili
- - Asia/Dubai
- - Asia/Dushanbe
- - Asia/Famagusta
- - Asia/Gaza
- - Asia/Harbin
- - Asia/Hebron
- - Asia/Ho_Chi_Minh
- - Asia/Hong_Kong
- - Asia/Hovd
- - Asia/Irkutsk
- - Asia/Istanbul
- - Asia/Jakarta
- - Asia/Jayapura
- - Asia/Jerusalem
- - Asia/Kabul
- - Asia/Kamchatka
- - Asia/Karachi
- - Asia/Kashgar
- - Asia/Kathmandu
- - Asia/Katmandu
- - Asia/Khandyga
- - Asia/Kolkata
- - Asia/Krasnoyarsk
- - Asia/Kuala_Lumpur
- - Asia/Kuching
- - Asia/Kuwait
- - Asia/Macao
- - Asia/Macau
- - Asia/Magadan
- - Asia/Makassar
- - Asia/Manila
- - Asia/Muscat
- - Asia/Nicosia
- - Asia/Novokuznetsk
- - Asia/Novosibirsk
- - Asia/Omsk
- - Asia/Oral
- - Asia/Phnom_Penh
- - Asia/Pontianak
- - Asia/Pyongyang
- - Asia/Qatar
- - Asia/Qostanay
- - Asia/Qyzylorda
- - Asia/Rangoon
- - Asia/Riyadh
- - Asia/Saigon
- - Asia/Sakhalin
- - Asia/Samarkand
- - Asia/Seoul
- - Asia/Shanghai
- - Asia/Singapore
- - Asia/Srednekolymsk
- - Asia/Taipei
- - Asia/Tashkent
- - Asia/Tbilisi
- - Asia/Tehran
- - Asia/Tel_Aviv
- - Asia/Thimbu
- - Asia/Thimphu
- - Asia/Tokyo
- - Asia/Tomsk
- - Asia/Ujung_Pandang
- - Asia/Ulaanbaatar
- - Asia/Ulan_Bator
- - Asia/Urumqi
- - Asia/Ust-Nera
- - Asia/Vientiane
- - Asia/Vladivostok
- - Asia/Yakutsk
- - Asia/Yangon
- - Asia/Yekaterinburg
- - Asia/Yerevan
- - Atlantic/Azores
- - Atlantic/Bermuda
- - Atlantic/Canary
- - Atlantic/Cape_Verde
- - Atlantic/Faeroe
- - Atlantic/Faroe
- - Atlantic/Jan_Mayen
- - Atlantic/Madeira
- - Atlantic/Reykjavik
- - Atlantic/South_Georgia
- - Atlantic/St_Helena
- - Atlantic/Stanley
- - Australia/ACT
- - Australia/Adelaide
- - Australia/Brisbane
- - Australia/Broken_Hill
- - Australia/Canberra
- - Australia/Currie
- - Australia/Darwin
- - Australia/Eucla
- - Australia/Hobart
- - Australia/LHI
- - Australia/Lindeman
- - Australia/Lord_Howe
- - Australia/Melbourne
- - Australia/NSW
- - Australia/North
- - Australia/Perth
- - Australia/Queensland
- - Australia/South
- - Australia/Sydney
- - Australia/Tasmania
- - Australia/Victoria
- - Australia/West
- - Australia/Yancowinna
- - Brazil/Acre
- - Brazil/DeNoronha
- - Brazil/East
- - Brazil/West
- - CET
- - CST6CDT
- - Canada/Atlantic
- - Canada/Central
- - Canada/Eastern
- - Canada/Mountain
- - Canada/Newfoundland
- - Canada/Pacific
- - Canada/Saskatchewan
- - Canada/Yukon
- - Chile/Continental
- - Chile/EasterIsland
- - Cuba
- - EET
- - EST
- - EST5EDT
- - Egypt
- - Eire
- - Etc/GMT
- - Etc/GMT+0
- - Etc/GMT+1
- - Etc/GMT+10
- - Etc/GMT+11
- - Etc/GMT+12
- - Etc/GMT+2
- - Etc/GMT+3
- - Etc/GMT+4
- - Etc/GMT+5
- - Etc/GMT+6
- - Etc/GMT+7
- - Etc/GMT+8
- - Etc/GMT+9
- - Etc/GMT-0
- - Etc/GMT-1
- - Etc/GMT-10
- - Etc/GMT-11
- - Etc/GMT-12
- - Etc/GMT-13
- - Etc/GMT-14
- - Etc/GMT-2
- - Etc/GMT-3
- - Etc/GMT-4
- - Etc/GMT-5
- - Etc/GMT-6
- - Etc/GMT-7
- - Etc/GMT-8
- - Etc/GMT-9
- - Etc/GMT0
- - Etc/Greenwich
- - Etc/UCT
- - Etc/UTC
- - Etc/Universal
- - Etc/Zulu
- - Europe/Amsterdam
- - Europe/Andorra
- - Europe/Astrakhan
- - Europe/Athens
- - Europe/Belfast
- - Europe/Belgrade
- - Europe/Berlin
- - Europe/Bratislava
- - Europe/Brussels
- - Europe/Bucharest
- - Europe/Budapest
- - Europe/Busingen
- - Europe/Chisinau
- - Europe/Copenhagen
- - Europe/Dublin
- - Europe/Gibraltar
- - Europe/Guernsey
- - Europe/Helsinki
- - Europe/Isle_of_Man
- - Europe/Istanbul
- - Europe/Jersey
- - Europe/Kaliningrad
- - Europe/Kiev
- - Europe/Kirov
- - Europe/Kyiv
- - Europe/Lisbon
- - Europe/Ljubljana
- - Europe/London
- - Europe/Luxembourg
- - Europe/Madrid
- - Europe/Malta
- - Europe/Mariehamn
- - Europe/Minsk
- - Europe/Monaco
- - Europe/Moscow
- - Europe/Nicosia
- - Europe/Oslo
- - Europe/Paris
- - Europe/Podgorica
- - Europe/Prague
- - Europe/Riga
- - Europe/Rome
- - Europe/Samara
- - Europe/San_Marino
- - Europe/Sarajevo
- - Europe/Saratov
- - Europe/Simferopol
- - Europe/Skopje
- - Europe/Sofia
- - Europe/Stockholm
- - Europe/Tallinn
- - Europe/Tirane
- - Europe/Tiraspol
- - Europe/Ulyanovsk
- - Europe/Uzhgorod
- - Europe/Vaduz
- - Europe/Vatican
- - Europe/Vienna
- - Europe/Vilnius
- - Europe/Volgograd
- - Europe/Warsaw
- - Europe/Zagreb
- - Europe/Zaporozhye
- - Europe/Zurich
- - GB
- - GB-Eire
- - GMT
- - GMT+0
- - GMT-0
- - GMT0
- - Greenwich
- - HST
- - Hongkong
- - Iceland
- - Indian/Antananarivo
- - Indian/Chagos
- - Indian/Christmas
- - Indian/Cocos
- - Indian/Comoro
- - Indian/Kerguelen
- - Indian/Mahe
- - Indian/Maldives
- - Indian/Mauritius
- - Indian/Mayotte
- - Indian/Reunion
- - Iran
- - Israel
- - Jamaica
- - Japan
- - Kwajalein
- - Libya
- - MET
- - MST
- - MST7MDT
- - Mexico/BajaNorte
- - Mexico/BajaSur
- - Mexico/General
- - NZ
- - NZ-CHAT
- - Navajo
- - PRC
- - PST8PDT
- - Pacific/Apia
- - Pacific/Auckland
- - Pacific/Bougainville
- - Pacific/Chatham
- - Pacific/Chuuk
- - Pacific/Easter
- - Pacific/Efate
- - Pacific/Enderbury
- - Pacific/Fakaofo
- - Pacific/Fiji
- - Pacific/Funafuti
- - Pacific/Galapagos
- - Pacific/Gambier
- - Pacific/Guadalcanal
- - Pacific/Guam
- - Pacific/Honolulu
- - Pacific/Johnston
- - Pacific/Kanton
- - Pacific/Kiritimati
- - Pacific/Kosrae
- - Pacific/Kwajalein
- - Pacific/Majuro
- - Pacific/Marquesas
- - Pacific/Midway
- - Pacific/Nauru
- - Pacific/Niue
- - Pacific/Norfolk
- - Pacific/Noumea
- - Pacific/Pago_Pago
- - Pacific/Palau
- - Pacific/Pitcairn
- - Pacific/Pohnpei
- - Pacific/Ponape
- - Pacific/Port_Moresby
- - Pacific/Rarotonga
- - Pacific/Saipan
- - Pacific/Samoa
- - Pacific/Tahiti
- - Pacific/Tarawa
- - Pacific/Tongatapu
- - Pacific/Truk
- - Pacific/Wake
- - Pacific/Wallis
- - Pacific/Yap
- - Poland
- - Portugal
- - ROC
- - ROK
- - Singapore
- - Turkey
- - UCT
- - US/Alaska
- - US/Aleutian
- - US/Arizona
- - US/Central
- - US/East-Indiana
- - US/Eastern
- - US/Hawaii
- - US/Indiana-Starke
- - US/Michigan
- - US/Mountain
- - US/Pacific
- - US/Samoa
- - UTC
- - Universal
- - W-SU
- - WET
- - Zulu
- - localtime
- description: |+
- Time zone
-
+ description: Time zone
explode: true
style: form
- in: query
@@ -48254,607 +39686,7 @@ paths:
type: array
items:
type: string
- enum:
- - Africa/Abidjan
- - Africa/Accra
- - Africa/Addis_Ababa
- - Africa/Algiers
- - Africa/Asmara
- - Africa/Asmera
- - Africa/Bamako
- - Africa/Bangui
- - Africa/Banjul
- - Africa/Bissau
- - Africa/Blantyre
- - Africa/Brazzaville
- - Africa/Bujumbura
- - Africa/Cairo
- - Africa/Casablanca
- - Africa/Ceuta
- - Africa/Conakry
- - Africa/Dakar
- - Africa/Dar_es_Salaam
- - Africa/Djibouti
- - Africa/Douala
- - Africa/El_Aaiun
- - Africa/Freetown
- - Africa/Gaborone
- - Africa/Harare
- - Africa/Johannesburg
- - Africa/Juba
- - Africa/Kampala
- - Africa/Khartoum
- - Africa/Kigali
- - Africa/Kinshasa
- - Africa/Lagos
- - Africa/Libreville
- - Africa/Lome
- - Africa/Luanda
- - Africa/Lubumbashi
- - Africa/Lusaka
- - Africa/Malabo
- - Africa/Maputo
- - Africa/Maseru
- - Africa/Mbabane
- - Africa/Mogadishu
- - Africa/Monrovia
- - Africa/Nairobi
- - Africa/Ndjamena
- - Africa/Niamey
- - Africa/Nouakchott
- - Africa/Ouagadougou
- - Africa/Porto-Novo
- - Africa/Sao_Tome
- - Africa/Timbuktu
- - Africa/Tripoli
- - Africa/Tunis
- - Africa/Windhoek
- - America/Adak
- - America/Anchorage
- - America/Anguilla
- - America/Antigua
- - America/Araguaina
- - America/Argentina/Buenos_Aires
- - America/Argentina/Catamarca
- - America/Argentina/ComodRivadavia
- - America/Argentina/Cordoba
- - America/Argentina/Jujuy
- - America/Argentina/La_Rioja
- - America/Argentina/Mendoza
- - America/Argentina/Rio_Gallegos
- - America/Argentina/Salta
- - America/Argentina/San_Juan
- - America/Argentina/San_Luis
- - America/Argentina/Tucuman
- - America/Argentina/Ushuaia
- - America/Aruba
- - America/Asuncion
- - America/Atikokan
- - America/Atka
- - America/Bahia
- - America/Bahia_Banderas
- - America/Barbados
- - America/Belem
- - America/Belize
- - America/Blanc-Sablon
- - America/Boa_Vista
- - America/Bogota
- - America/Boise
- - America/Buenos_Aires
- - America/Cambridge_Bay
- - America/Campo_Grande
- - America/Cancun
- - America/Caracas
- - America/Catamarca
- - America/Cayenne
- - America/Cayman
- - America/Chicago
- - America/Chihuahua
- - America/Ciudad_Juarez
- - America/Coral_Harbour
- - America/Cordoba
- - America/Costa_Rica
- - America/Creston
- - America/Cuiaba
- - America/Curacao
- - America/Danmarkshavn
- - America/Dawson
- - America/Dawson_Creek
- - America/Denver
- - America/Detroit
- - America/Dominica
- - America/Edmonton
- - America/Eirunepe
- - America/El_Salvador
- - America/Ensenada
- - America/Fort_Nelson
- - America/Fort_Wayne
- - America/Fortaleza
- - America/Glace_Bay
- - America/Godthab
- - America/Goose_Bay
- - America/Grand_Turk
- - America/Grenada
- - America/Guadeloupe
- - America/Guatemala
- - America/Guayaquil
- - America/Guyana
- - America/Halifax
- - America/Havana
- - America/Hermosillo
- - America/Indiana/Indianapolis
- - America/Indiana/Knox
- - America/Indiana/Marengo
- - America/Indiana/Petersburg
- - America/Indiana/Tell_City
- - America/Indiana/Vevay
- - America/Indiana/Vincennes
- - America/Indiana/Winamac
- - America/Indianapolis
- - America/Inuvik
- - America/Iqaluit
- - America/Jamaica
- - America/Jujuy
- - America/Juneau
- - America/Kentucky/Louisville
- - America/Kentucky/Monticello
- - America/Knox_IN
- - America/Kralendijk
- - America/La_Paz
- - America/Lima
- - America/Los_Angeles
- - America/Louisville
- - America/Lower_Princes
- - America/Maceio
- - America/Managua
- - America/Manaus
- - America/Marigot
- - America/Martinique
- - America/Matamoros
- - America/Mazatlan
- - America/Mendoza
- - America/Menominee
- - America/Merida
- - America/Metlakatla
- - America/Mexico_City
- - America/Miquelon
- - America/Moncton
- - America/Monterrey
- - America/Montevideo
- - America/Montreal
- - America/Montserrat
- - America/Nassau
- - America/New_York
- - America/Nipigon
- - America/Nome
- - America/Noronha
- - America/North_Dakota/Beulah
- - America/North_Dakota/Center
- - America/North_Dakota/New_Salem
- - America/Nuuk
- - America/Ojinaga
- - America/Panama
- - America/Pangnirtung
- - America/Paramaribo
- - America/Phoenix
- - America/Port-au-Prince
- - America/Port_of_Spain
- - America/Porto_Acre
- - America/Porto_Velho
- - America/Puerto_Rico
- - America/Punta_Arenas
- - America/Rainy_River
- - America/Rankin_Inlet
- - America/Recife
- - America/Regina
- - America/Resolute
- - America/Rio_Branco
- - America/Rosario
- - America/Santa_Isabel
- - America/Santarem
- - America/Santiago
- - America/Santo_Domingo
- - America/Sao_Paulo
- - America/Scoresbysund
- - America/Shiprock
- - America/Sitka
- - America/St_Barthelemy
- - America/St_Johns
- - America/St_Kitts
- - America/St_Lucia
- - America/St_Thomas
- - America/St_Vincent
- - America/Swift_Current
- - America/Tegucigalpa
- - America/Thule
- - America/Thunder_Bay
- - America/Tijuana
- - America/Toronto
- - America/Tortola
- - America/Vancouver
- - America/Virgin
- - America/Whitehorse
- - America/Winnipeg
- - America/Yakutat
- - America/Yellowknife
- - Antarctica/Casey
- - Antarctica/Davis
- - Antarctica/DumontDUrville
- - Antarctica/Macquarie
- - Antarctica/Mawson
- - Antarctica/McMurdo
- - Antarctica/Palmer
- - Antarctica/Rothera
- - Antarctica/South_Pole
- - Antarctica/Syowa
- - Antarctica/Troll
- - Antarctica/Vostok
- - Arctic/Longyearbyen
- - Asia/Aden
- - Asia/Almaty
- - Asia/Amman
- - Asia/Anadyr
- - Asia/Aqtau
- - Asia/Aqtobe
- - Asia/Ashgabat
- - Asia/Ashkhabad
- - Asia/Atyrau
- - Asia/Baghdad
- - Asia/Bahrain
- - Asia/Baku
- - Asia/Bangkok
- - Asia/Barnaul
- - Asia/Beirut
- - Asia/Bishkek
- - Asia/Brunei
- - Asia/Calcutta
- - Asia/Chita
- - Asia/Choibalsan
- - Asia/Chongqing
- - Asia/Chungking
- - Asia/Colombo
- - Asia/Dacca
- - Asia/Damascus
- - Asia/Dhaka
- - Asia/Dili
- - Asia/Dubai
- - Asia/Dushanbe
- - Asia/Famagusta
- - Asia/Gaza
- - Asia/Harbin
- - Asia/Hebron
- - Asia/Ho_Chi_Minh
- - Asia/Hong_Kong
- - Asia/Hovd
- - Asia/Irkutsk
- - Asia/Istanbul
- - Asia/Jakarta
- - Asia/Jayapura
- - Asia/Jerusalem
- - Asia/Kabul
- - Asia/Kamchatka
- - Asia/Karachi
- - Asia/Kashgar
- - Asia/Kathmandu
- - Asia/Katmandu
- - Asia/Khandyga
- - Asia/Kolkata
- - Asia/Krasnoyarsk
- - Asia/Kuala_Lumpur
- - Asia/Kuching
- - Asia/Kuwait
- - Asia/Macao
- - Asia/Macau
- - Asia/Magadan
- - Asia/Makassar
- - Asia/Manila
- - Asia/Muscat
- - Asia/Nicosia
- - Asia/Novokuznetsk
- - Asia/Novosibirsk
- - Asia/Omsk
- - Asia/Oral
- - Asia/Phnom_Penh
- - Asia/Pontianak
- - Asia/Pyongyang
- - Asia/Qatar
- - Asia/Qostanay
- - Asia/Qyzylorda
- - Asia/Rangoon
- - Asia/Riyadh
- - Asia/Saigon
- - Asia/Sakhalin
- - Asia/Samarkand
- - Asia/Seoul
- - Asia/Shanghai
- - Asia/Singapore
- - Asia/Srednekolymsk
- - Asia/Taipei
- - Asia/Tashkent
- - Asia/Tbilisi
- - Asia/Tehran
- - Asia/Tel_Aviv
- - Asia/Thimbu
- - Asia/Thimphu
- - Asia/Tokyo
- - Asia/Tomsk
- - Asia/Ujung_Pandang
- - Asia/Ulaanbaatar
- - Asia/Ulan_Bator
- - Asia/Urumqi
- - Asia/Ust-Nera
- - Asia/Vientiane
- - Asia/Vladivostok
- - Asia/Yakutsk
- - Asia/Yangon
- - Asia/Yekaterinburg
- - Asia/Yerevan
- - Atlantic/Azores
- - Atlantic/Bermuda
- - Atlantic/Canary
- - Atlantic/Cape_Verde
- - Atlantic/Faeroe
- - Atlantic/Faroe
- - Atlantic/Jan_Mayen
- - Atlantic/Madeira
- - Atlantic/Reykjavik
- - Atlantic/South_Georgia
- - Atlantic/St_Helena
- - Atlantic/Stanley
- - Australia/ACT
- - Australia/Adelaide
- - Australia/Brisbane
- - Australia/Broken_Hill
- - Australia/Canberra
- - Australia/Currie
- - Australia/Darwin
- - Australia/Eucla
- - Australia/Hobart
- - Australia/LHI
- - Australia/Lindeman
- - Australia/Lord_Howe
- - Australia/Melbourne
- - Australia/NSW
- - Australia/North
- - Australia/Perth
- - Australia/Queensland
- - Australia/South
- - Australia/Sydney
- - Australia/Tasmania
- - Australia/Victoria
- - Australia/West
- - Australia/Yancowinna
- - Brazil/Acre
- - Brazil/DeNoronha
- - Brazil/East
- - Brazil/West
- - CET
- - CST6CDT
- - Canada/Atlantic
- - Canada/Central
- - Canada/Eastern
- - Canada/Mountain
- - Canada/Newfoundland
- - Canada/Pacific
- - Canada/Saskatchewan
- - Canada/Yukon
- - Chile/Continental
- - Chile/EasterIsland
- - Cuba
- - EET
- - EST
- - EST5EDT
- - Egypt
- - Eire
- - Etc/GMT
- - Etc/GMT+0
- - Etc/GMT+1
- - Etc/GMT+10
- - Etc/GMT+11
- - Etc/GMT+12
- - Etc/GMT+2
- - Etc/GMT+3
- - Etc/GMT+4
- - Etc/GMT+5
- - Etc/GMT+6
- - Etc/GMT+7
- - Etc/GMT+8
- - Etc/GMT+9
- - Etc/GMT-0
- - Etc/GMT-1
- - Etc/GMT-10
- - Etc/GMT-11
- - Etc/GMT-12
- - Etc/GMT-13
- - Etc/GMT-14
- - Etc/GMT-2
- - Etc/GMT-3
- - Etc/GMT-4
- - Etc/GMT-5
- - Etc/GMT-6
- - Etc/GMT-7
- - Etc/GMT-8
- - Etc/GMT-9
- - Etc/GMT0
- - Etc/Greenwich
- - Etc/UCT
- - Etc/UTC
- - Etc/Universal
- - Etc/Zulu
- - Europe/Amsterdam
- - Europe/Andorra
- - Europe/Astrakhan
- - Europe/Athens
- - Europe/Belfast
- - Europe/Belgrade
- - Europe/Berlin
- - Europe/Bratislava
- - Europe/Brussels
- - Europe/Bucharest
- - Europe/Budapest
- - Europe/Busingen
- - Europe/Chisinau
- - Europe/Copenhagen
- - Europe/Dublin
- - Europe/Gibraltar
- - Europe/Guernsey
- - Europe/Helsinki
- - Europe/Isle_of_Man
- - Europe/Istanbul
- - Europe/Jersey
- - Europe/Kaliningrad
- - Europe/Kiev
- - Europe/Kirov
- - Europe/Kyiv
- - Europe/Lisbon
- - Europe/Ljubljana
- - Europe/London
- - Europe/Luxembourg
- - Europe/Madrid
- - Europe/Malta
- - Europe/Mariehamn
- - Europe/Minsk
- - Europe/Monaco
- - Europe/Moscow
- - Europe/Nicosia
- - Europe/Oslo
- - Europe/Paris
- - Europe/Podgorica
- - Europe/Prague
- - Europe/Riga
- - Europe/Rome
- - Europe/Samara
- - Europe/San_Marino
- - Europe/Sarajevo
- - Europe/Saratov
- - Europe/Simferopol
- - Europe/Skopje
- - Europe/Sofia
- - Europe/Stockholm
- - Europe/Tallinn
- - Europe/Tirane
- - Europe/Tiraspol
- - Europe/Ulyanovsk
- - Europe/Uzhgorod
- - Europe/Vaduz
- - Europe/Vatican
- - Europe/Vienna
- - Europe/Vilnius
- - Europe/Volgograd
- - Europe/Warsaw
- - Europe/Zagreb
- - Europe/Zaporozhye
- - Europe/Zurich
- - GB
- - GB-Eire
- - GMT
- - GMT+0
- - GMT-0
- - GMT0
- - Greenwich
- - HST
- - Hongkong
- - Iceland
- - Indian/Antananarivo
- - Indian/Chagos
- - Indian/Christmas
- - Indian/Cocos
- - Indian/Comoro
- - Indian/Kerguelen
- - Indian/Mahe
- - Indian/Maldives
- - Indian/Mauritius
- - Indian/Mayotte
- - Indian/Reunion
- - Iran
- - Israel
- - Jamaica
- - Japan
- - Kwajalein
- - Libya
- - MET
- - MST
- - MST7MDT
- - Mexico/BajaNorte
- - Mexico/BajaSur
- - Mexico/General
- - NZ
- - NZ-CHAT
- - Navajo
- - PRC
- - PST8PDT
- - Pacific/Apia
- - Pacific/Auckland
- - Pacific/Bougainville
- - Pacific/Chatham
- - Pacific/Chuuk
- - Pacific/Easter
- - Pacific/Efate
- - Pacific/Enderbury
- - Pacific/Fakaofo
- - Pacific/Fiji
- - Pacific/Funafuti
- - Pacific/Galapagos
- - Pacific/Gambier
- - Pacific/Guadalcanal
- - Pacific/Guam
- - Pacific/Honolulu
- - Pacific/Johnston
- - Pacific/Kanton
- - Pacific/Kiritimati
- - Pacific/Kosrae
- - Pacific/Kwajalein
- - Pacific/Majuro
- - Pacific/Marquesas
- - Pacific/Midway
- - Pacific/Nauru
- - Pacific/Niue
- - Pacific/Norfolk
- - Pacific/Noumea
- - Pacific/Pago_Pago
- - Pacific/Palau
- - Pacific/Pitcairn
- - Pacific/Pohnpei
- - Pacific/Ponape
- - Pacific/Port_Moresby
- - Pacific/Rarotonga
- - Pacific/Saipan
- - Pacific/Samoa
- - Pacific/Tahiti
- - Pacific/Tarawa
- - Pacific/Tongatapu
- - Pacific/Truk
- - Pacific/Wake
- - Pacific/Wallis
- - Pacific/Yap
- - Poland
- - Portugal
- - ROC
- - ROK
- - Singapore
- - Turkey
- - UCT
- - US/Alaska
- - US/Aleutian
- - US/Arizona
- - US/Central
- - US/East-Indiana
- - US/Eastern
- - US/Hawaii
- - US/Indiana-Starke
- - US/Michigan
- - US/Mountain
- - US/Pacific
- - US/Samoa
- - UTC
- - Universal
- - W-SU
- - WET
- - Zulu
- - localtime
- description: |+
- Time zone
-
+ description: Time zone
explode: true
style: form
- in: query
@@ -48863,607 +39695,7 @@ paths:
type: array
items:
type: string
- enum:
- - Africa/Abidjan
- - Africa/Accra
- - Africa/Addis_Ababa
- - Africa/Algiers
- - Africa/Asmara
- - Africa/Asmera
- - Africa/Bamako
- - Africa/Bangui
- - Africa/Banjul
- - Africa/Bissau
- - Africa/Blantyre
- - Africa/Brazzaville
- - Africa/Bujumbura
- - Africa/Cairo
- - Africa/Casablanca
- - Africa/Ceuta
- - Africa/Conakry
- - Africa/Dakar
- - Africa/Dar_es_Salaam
- - Africa/Djibouti
- - Africa/Douala
- - Africa/El_Aaiun
- - Africa/Freetown
- - Africa/Gaborone
- - Africa/Harare
- - Africa/Johannesburg
- - Africa/Juba
- - Africa/Kampala
- - Africa/Khartoum
- - Africa/Kigali
- - Africa/Kinshasa
- - Africa/Lagos
- - Africa/Libreville
- - Africa/Lome
- - Africa/Luanda
- - Africa/Lubumbashi
- - Africa/Lusaka
- - Africa/Malabo
- - Africa/Maputo
- - Africa/Maseru
- - Africa/Mbabane
- - Africa/Mogadishu
- - Africa/Monrovia
- - Africa/Nairobi
- - Africa/Ndjamena
- - Africa/Niamey
- - Africa/Nouakchott
- - Africa/Ouagadougou
- - Africa/Porto-Novo
- - Africa/Sao_Tome
- - Africa/Timbuktu
- - Africa/Tripoli
- - Africa/Tunis
- - Africa/Windhoek
- - America/Adak
- - America/Anchorage
- - America/Anguilla
- - America/Antigua
- - America/Araguaina
- - America/Argentina/Buenos_Aires
- - America/Argentina/Catamarca
- - America/Argentina/ComodRivadavia
- - America/Argentina/Cordoba
- - America/Argentina/Jujuy
- - America/Argentina/La_Rioja
- - America/Argentina/Mendoza
- - America/Argentina/Rio_Gallegos
- - America/Argentina/Salta
- - America/Argentina/San_Juan
- - America/Argentina/San_Luis
- - America/Argentina/Tucuman
- - America/Argentina/Ushuaia
- - America/Aruba
- - America/Asuncion
- - America/Atikokan
- - America/Atka
- - America/Bahia
- - America/Bahia_Banderas
- - America/Barbados
- - America/Belem
- - America/Belize
- - America/Blanc-Sablon
- - America/Boa_Vista
- - America/Bogota
- - America/Boise
- - America/Buenos_Aires
- - America/Cambridge_Bay
- - America/Campo_Grande
- - America/Cancun
- - America/Caracas
- - America/Catamarca
- - America/Cayenne
- - America/Cayman
- - America/Chicago
- - America/Chihuahua
- - America/Ciudad_Juarez
- - America/Coral_Harbour
- - America/Cordoba
- - America/Costa_Rica
- - America/Creston
- - America/Cuiaba
- - America/Curacao
- - America/Danmarkshavn
- - America/Dawson
- - America/Dawson_Creek
- - America/Denver
- - America/Detroit
- - America/Dominica
- - America/Edmonton
- - America/Eirunepe
- - America/El_Salvador
- - America/Ensenada
- - America/Fort_Nelson
- - America/Fort_Wayne
- - America/Fortaleza
- - America/Glace_Bay
- - America/Godthab
- - America/Goose_Bay
- - America/Grand_Turk
- - America/Grenada
- - America/Guadeloupe
- - America/Guatemala
- - America/Guayaquil
- - America/Guyana
- - America/Halifax
- - America/Havana
- - America/Hermosillo
- - America/Indiana/Indianapolis
- - America/Indiana/Knox
- - America/Indiana/Marengo
- - America/Indiana/Petersburg
- - America/Indiana/Tell_City
- - America/Indiana/Vevay
- - America/Indiana/Vincennes
- - America/Indiana/Winamac
- - America/Indianapolis
- - America/Inuvik
- - America/Iqaluit
- - America/Jamaica
- - America/Jujuy
- - America/Juneau
- - America/Kentucky/Louisville
- - America/Kentucky/Monticello
- - America/Knox_IN
- - America/Kralendijk
- - America/La_Paz
- - America/Lima
- - America/Los_Angeles
- - America/Louisville
- - America/Lower_Princes
- - America/Maceio
- - America/Managua
- - America/Manaus
- - America/Marigot
- - America/Martinique
- - America/Matamoros
- - America/Mazatlan
- - America/Mendoza
- - America/Menominee
- - America/Merida
- - America/Metlakatla
- - America/Mexico_City
- - America/Miquelon
- - America/Moncton
- - America/Monterrey
- - America/Montevideo
- - America/Montreal
- - America/Montserrat
- - America/Nassau
- - America/New_York
- - America/Nipigon
- - America/Nome
- - America/Noronha
- - America/North_Dakota/Beulah
- - America/North_Dakota/Center
- - America/North_Dakota/New_Salem
- - America/Nuuk
- - America/Ojinaga
- - America/Panama
- - America/Pangnirtung
- - America/Paramaribo
- - America/Phoenix
- - America/Port-au-Prince
- - America/Port_of_Spain
- - America/Porto_Acre
- - America/Porto_Velho
- - America/Puerto_Rico
- - America/Punta_Arenas
- - America/Rainy_River
- - America/Rankin_Inlet
- - America/Recife
- - America/Regina
- - America/Resolute
- - America/Rio_Branco
- - America/Rosario
- - America/Santa_Isabel
- - America/Santarem
- - America/Santiago
- - America/Santo_Domingo
- - America/Sao_Paulo
- - America/Scoresbysund
- - America/Shiprock
- - America/Sitka
- - America/St_Barthelemy
- - America/St_Johns
- - America/St_Kitts
- - America/St_Lucia
- - America/St_Thomas
- - America/St_Vincent
- - America/Swift_Current
- - America/Tegucigalpa
- - America/Thule
- - America/Thunder_Bay
- - America/Tijuana
- - America/Toronto
- - America/Tortola
- - America/Vancouver
- - America/Virgin
- - America/Whitehorse
- - America/Winnipeg
- - America/Yakutat
- - America/Yellowknife
- - Antarctica/Casey
- - Antarctica/Davis
- - Antarctica/DumontDUrville
- - Antarctica/Macquarie
- - Antarctica/Mawson
- - Antarctica/McMurdo
- - Antarctica/Palmer
- - Antarctica/Rothera
- - Antarctica/South_Pole
- - Antarctica/Syowa
- - Antarctica/Troll
- - Antarctica/Vostok
- - Arctic/Longyearbyen
- - Asia/Aden
- - Asia/Almaty
- - Asia/Amman
- - Asia/Anadyr
- - Asia/Aqtau
- - Asia/Aqtobe
- - Asia/Ashgabat
- - Asia/Ashkhabad
- - Asia/Atyrau
- - Asia/Baghdad
- - Asia/Bahrain
- - Asia/Baku
- - Asia/Bangkok
- - Asia/Barnaul
- - Asia/Beirut
- - Asia/Bishkek
- - Asia/Brunei
- - Asia/Calcutta
- - Asia/Chita
- - Asia/Choibalsan
- - Asia/Chongqing
- - Asia/Chungking
- - Asia/Colombo
- - Asia/Dacca
- - Asia/Damascus
- - Asia/Dhaka
- - Asia/Dili
- - Asia/Dubai
- - Asia/Dushanbe
- - Asia/Famagusta
- - Asia/Gaza
- - Asia/Harbin
- - Asia/Hebron
- - Asia/Ho_Chi_Minh
- - Asia/Hong_Kong
- - Asia/Hovd
- - Asia/Irkutsk
- - Asia/Istanbul
- - Asia/Jakarta
- - Asia/Jayapura
- - Asia/Jerusalem
- - Asia/Kabul
- - Asia/Kamchatka
- - Asia/Karachi
- - Asia/Kashgar
- - Asia/Kathmandu
- - Asia/Katmandu
- - Asia/Khandyga
- - Asia/Kolkata
- - Asia/Krasnoyarsk
- - Asia/Kuala_Lumpur
- - Asia/Kuching
- - Asia/Kuwait
- - Asia/Macao
- - Asia/Macau
- - Asia/Magadan
- - Asia/Makassar
- - Asia/Manila
- - Asia/Muscat
- - Asia/Nicosia
- - Asia/Novokuznetsk
- - Asia/Novosibirsk
- - Asia/Omsk
- - Asia/Oral
- - Asia/Phnom_Penh
- - Asia/Pontianak
- - Asia/Pyongyang
- - Asia/Qatar
- - Asia/Qostanay
- - Asia/Qyzylorda
- - Asia/Rangoon
- - Asia/Riyadh
- - Asia/Saigon
- - Asia/Sakhalin
- - Asia/Samarkand
- - Asia/Seoul
- - Asia/Shanghai
- - Asia/Singapore
- - Asia/Srednekolymsk
- - Asia/Taipei
- - Asia/Tashkent
- - Asia/Tbilisi
- - Asia/Tehran
- - Asia/Tel_Aviv
- - Asia/Thimbu
- - Asia/Thimphu
- - Asia/Tokyo
- - Asia/Tomsk
- - Asia/Ujung_Pandang
- - Asia/Ulaanbaatar
- - Asia/Ulan_Bator
- - Asia/Urumqi
- - Asia/Ust-Nera
- - Asia/Vientiane
- - Asia/Vladivostok
- - Asia/Yakutsk
- - Asia/Yangon
- - Asia/Yekaterinburg
- - Asia/Yerevan
- - Atlantic/Azores
- - Atlantic/Bermuda
- - Atlantic/Canary
- - Atlantic/Cape_Verde
- - Atlantic/Faeroe
- - Atlantic/Faroe
- - Atlantic/Jan_Mayen
- - Atlantic/Madeira
- - Atlantic/Reykjavik
- - Atlantic/South_Georgia
- - Atlantic/St_Helena
- - Atlantic/Stanley
- - Australia/ACT
- - Australia/Adelaide
- - Australia/Brisbane
- - Australia/Broken_Hill
- - Australia/Canberra
- - Australia/Currie
- - Australia/Darwin
- - Australia/Eucla
- - Australia/Hobart
- - Australia/LHI
- - Australia/Lindeman
- - Australia/Lord_Howe
- - Australia/Melbourne
- - Australia/NSW
- - Australia/North
- - Australia/Perth
- - Australia/Queensland
- - Australia/South
- - Australia/Sydney
- - Australia/Tasmania
- - Australia/Victoria
- - Australia/West
- - Australia/Yancowinna
- - Brazil/Acre
- - Brazil/DeNoronha
- - Brazil/East
- - Brazil/West
- - CET
- - CST6CDT
- - Canada/Atlantic
- - Canada/Central
- - Canada/Eastern
- - Canada/Mountain
- - Canada/Newfoundland
- - Canada/Pacific
- - Canada/Saskatchewan
- - Canada/Yukon
- - Chile/Continental
- - Chile/EasterIsland
- - Cuba
- - EET
- - EST
- - EST5EDT
- - Egypt
- - Eire
- - Etc/GMT
- - Etc/GMT+0
- - Etc/GMT+1
- - Etc/GMT+10
- - Etc/GMT+11
- - Etc/GMT+12
- - Etc/GMT+2
- - Etc/GMT+3
- - Etc/GMT+4
- - Etc/GMT+5
- - Etc/GMT+6
- - Etc/GMT+7
- - Etc/GMT+8
- - Etc/GMT+9
- - Etc/GMT-0
- - Etc/GMT-1
- - Etc/GMT-10
- - Etc/GMT-11
- - Etc/GMT-12
- - Etc/GMT-13
- - Etc/GMT-14
- - Etc/GMT-2
- - Etc/GMT-3
- - Etc/GMT-4
- - Etc/GMT-5
- - Etc/GMT-6
- - Etc/GMT-7
- - Etc/GMT-8
- - Etc/GMT-9
- - Etc/GMT0
- - Etc/Greenwich
- - Etc/UCT
- - Etc/UTC
- - Etc/Universal
- - Etc/Zulu
- - Europe/Amsterdam
- - Europe/Andorra
- - Europe/Astrakhan
- - Europe/Athens
- - Europe/Belfast
- - Europe/Belgrade
- - Europe/Berlin
- - Europe/Bratislava
- - Europe/Brussels
- - Europe/Bucharest
- - Europe/Budapest
- - Europe/Busingen
- - Europe/Chisinau
- - Europe/Copenhagen
- - Europe/Dublin
- - Europe/Gibraltar
- - Europe/Guernsey
- - Europe/Helsinki
- - Europe/Isle_of_Man
- - Europe/Istanbul
- - Europe/Jersey
- - Europe/Kaliningrad
- - Europe/Kiev
- - Europe/Kirov
- - Europe/Kyiv
- - Europe/Lisbon
- - Europe/Ljubljana
- - Europe/London
- - Europe/Luxembourg
- - Europe/Madrid
- - Europe/Malta
- - Europe/Mariehamn
- - Europe/Minsk
- - Europe/Monaco
- - Europe/Moscow
- - Europe/Nicosia
- - Europe/Oslo
- - Europe/Paris
- - Europe/Podgorica
- - Europe/Prague
- - Europe/Riga
- - Europe/Rome
- - Europe/Samara
- - Europe/San_Marino
- - Europe/Sarajevo
- - Europe/Saratov
- - Europe/Simferopol
- - Europe/Skopje
- - Europe/Sofia
- - Europe/Stockholm
- - Europe/Tallinn
- - Europe/Tirane
- - Europe/Tiraspol
- - Europe/Ulyanovsk
- - Europe/Uzhgorod
- - Europe/Vaduz
- - Europe/Vatican
- - Europe/Vienna
- - Europe/Vilnius
- - Europe/Volgograd
- - Europe/Warsaw
- - Europe/Zagreb
- - Europe/Zaporozhye
- - Europe/Zurich
- - GB
- - GB-Eire
- - GMT
- - GMT+0
- - GMT-0
- - GMT0
- - Greenwich
- - HST
- - Hongkong
- - Iceland
- - Indian/Antananarivo
- - Indian/Chagos
- - Indian/Christmas
- - Indian/Cocos
- - Indian/Comoro
- - Indian/Kerguelen
- - Indian/Mahe
- - Indian/Maldives
- - Indian/Mauritius
- - Indian/Mayotte
- - Indian/Reunion
- - Iran
- - Israel
- - Jamaica
- - Japan
- - Kwajalein
- - Libya
- - MET
- - MST
- - MST7MDT
- - Mexico/BajaNorte
- - Mexico/BajaSur
- - Mexico/General
- - NZ
- - NZ-CHAT
- - Navajo
- - PRC
- - PST8PDT
- - Pacific/Apia
- - Pacific/Auckland
- - Pacific/Bougainville
- - Pacific/Chatham
- - Pacific/Chuuk
- - Pacific/Easter
- - Pacific/Efate
- - Pacific/Enderbury
- - Pacific/Fakaofo
- - Pacific/Fiji
- - Pacific/Funafuti
- - Pacific/Galapagos
- - Pacific/Gambier
- - Pacific/Guadalcanal
- - Pacific/Guam
- - Pacific/Honolulu
- - Pacific/Johnston
- - Pacific/Kanton
- - Pacific/Kiritimati
- - Pacific/Kosrae
- - Pacific/Kwajalein
- - Pacific/Majuro
- - Pacific/Marquesas
- - Pacific/Midway
- - Pacific/Nauru
- - Pacific/Niue
- - Pacific/Norfolk
- - Pacific/Noumea
- - Pacific/Pago_Pago
- - Pacific/Palau
- - Pacific/Pitcairn
- - Pacific/Pohnpei
- - Pacific/Ponape
- - Pacific/Port_Moresby
- - Pacific/Rarotonga
- - Pacific/Saipan
- - Pacific/Samoa
- - Pacific/Tahiti
- - Pacific/Tarawa
- - Pacific/Tongatapu
- - Pacific/Truk
- - Pacific/Wake
- - Pacific/Wallis
- - Pacific/Yap
- - Poland
- - Portugal
- - ROC
- - ROK
- - Singapore
- - Turkey
- - UCT
- - US/Alaska
- - US/Aleutian
- - US/Arizona
- - US/Central
- - US/East-Indiana
- - US/Eastern
- - US/Hawaii
- - US/Indiana-Starke
- - US/Michigan
- - US/Mountain
- - US/Pacific
- - US/Samoa
- - UTC
- - Universal
- - W-SU
- - WET
- - Zulu
- - localtime
- description: |+
- Time zone
-
+ description: Time zone
explode: true
style: form
- in: query
@@ -49472,607 +39704,7 @@ paths:
type: array
items:
type: string
- enum:
- - Africa/Abidjan
- - Africa/Accra
- - Africa/Addis_Ababa
- - Africa/Algiers
- - Africa/Asmara
- - Africa/Asmera
- - Africa/Bamako
- - Africa/Bangui
- - Africa/Banjul
- - Africa/Bissau
- - Africa/Blantyre
- - Africa/Brazzaville
- - Africa/Bujumbura
- - Africa/Cairo
- - Africa/Casablanca
- - Africa/Ceuta
- - Africa/Conakry
- - Africa/Dakar
- - Africa/Dar_es_Salaam
- - Africa/Djibouti
- - Africa/Douala
- - Africa/El_Aaiun
- - Africa/Freetown
- - Africa/Gaborone
- - Africa/Harare
- - Africa/Johannesburg
- - Africa/Juba
- - Africa/Kampala
- - Africa/Khartoum
- - Africa/Kigali
- - Africa/Kinshasa
- - Africa/Lagos
- - Africa/Libreville
- - Africa/Lome
- - Africa/Luanda
- - Africa/Lubumbashi
- - Africa/Lusaka
- - Africa/Malabo
- - Africa/Maputo
- - Africa/Maseru
- - Africa/Mbabane
- - Africa/Mogadishu
- - Africa/Monrovia
- - Africa/Nairobi
- - Africa/Ndjamena
- - Africa/Niamey
- - Africa/Nouakchott
- - Africa/Ouagadougou
- - Africa/Porto-Novo
- - Africa/Sao_Tome
- - Africa/Timbuktu
- - Africa/Tripoli
- - Africa/Tunis
- - Africa/Windhoek
- - America/Adak
- - America/Anchorage
- - America/Anguilla
- - America/Antigua
- - America/Araguaina
- - America/Argentina/Buenos_Aires
- - America/Argentina/Catamarca
- - America/Argentina/ComodRivadavia
- - America/Argentina/Cordoba
- - America/Argentina/Jujuy
- - America/Argentina/La_Rioja
- - America/Argentina/Mendoza
- - America/Argentina/Rio_Gallegos
- - America/Argentina/Salta
- - America/Argentina/San_Juan
- - America/Argentina/San_Luis
- - America/Argentina/Tucuman
- - America/Argentina/Ushuaia
- - America/Aruba
- - America/Asuncion
- - America/Atikokan
- - America/Atka
- - America/Bahia
- - America/Bahia_Banderas
- - America/Barbados
- - America/Belem
- - America/Belize
- - America/Blanc-Sablon
- - America/Boa_Vista
- - America/Bogota
- - America/Boise
- - America/Buenos_Aires
- - America/Cambridge_Bay
- - America/Campo_Grande
- - America/Cancun
- - America/Caracas
- - America/Catamarca
- - America/Cayenne
- - America/Cayman
- - America/Chicago
- - America/Chihuahua
- - America/Ciudad_Juarez
- - America/Coral_Harbour
- - America/Cordoba
- - America/Costa_Rica
- - America/Creston
- - America/Cuiaba
- - America/Curacao
- - America/Danmarkshavn
- - America/Dawson
- - America/Dawson_Creek
- - America/Denver
- - America/Detroit
- - America/Dominica
- - America/Edmonton
- - America/Eirunepe
- - America/El_Salvador
- - America/Ensenada
- - America/Fort_Nelson
- - America/Fort_Wayne
- - America/Fortaleza
- - America/Glace_Bay
- - America/Godthab
- - America/Goose_Bay
- - America/Grand_Turk
- - America/Grenada
- - America/Guadeloupe
- - America/Guatemala
- - America/Guayaquil
- - America/Guyana
- - America/Halifax
- - America/Havana
- - America/Hermosillo
- - America/Indiana/Indianapolis
- - America/Indiana/Knox
- - America/Indiana/Marengo
- - America/Indiana/Petersburg
- - America/Indiana/Tell_City
- - America/Indiana/Vevay
- - America/Indiana/Vincennes
- - America/Indiana/Winamac
- - America/Indianapolis
- - America/Inuvik
- - America/Iqaluit
- - America/Jamaica
- - America/Jujuy
- - America/Juneau
- - America/Kentucky/Louisville
- - America/Kentucky/Monticello
- - America/Knox_IN
- - America/Kralendijk
- - America/La_Paz
- - America/Lima
- - America/Los_Angeles
- - America/Louisville
- - America/Lower_Princes
- - America/Maceio
- - America/Managua
- - America/Manaus
- - America/Marigot
- - America/Martinique
- - America/Matamoros
- - America/Mazatlan
- - America/Mendoza
- - America/Menominee
- - America/Merida
- - America/Metlakatla
- - America/Mexico_City
- - America/Miquelon
- - America/Moncton
- - America/Monterrey
- - America/Montevideo
- - America/Montreal
- - America/Montserrat
- - America/Nassau
- - America/New_York
- - America/Nipigon
- - America/Nome
- - America/Noronha
- - America/North_Dakota/Beulah
- - America/North_Dakota/Center
- - America/North_Dakota/New_Salem
- - America/Nuuk
- - America/Ojinaga
- - America/Panama
- - America/Pangnirtung
- - America/Paramaribo
- - America/Phoenix
- - America/Port-au-Prince
- - America/Port_of_Spain
- - America/Porto_Acre
- - America/Porto_Velho
- - America/Puerto_Rico
- - America/Punta_Arenas
- - America/Rainy_River
- - America/Rankin_Inlet
- - America/Recife
- - America/Regina
- - America/Resolute
- - America/Rio_Branco
- - America/Rosario
- - America/Santa_Isabel
- - America/Santarem
- - America/Santiago
- - America/Santo_Domingo
- - America/Sao_Paulo
- - America/Scoresbysund
- - America/Shiprock
- - America/Sitka
- - America/St_Barthelemy
- - America/St_Johns
- - America/St_Kitts
- - America/St_Lucia
- - America/St_Thomas
- - America/St_Vincent
- - America/Swift_Current
- - America/Tegucigalpa
- - America/Thule
- - America/Thunder_Bay
- - America/Tijuana
- - America/Toronto
- - America/Tortola
- - America/Vancouver
- - America/Virgin
- - America/Whitehorse
- - America/Winnipeg
- - America/Yakutat
- - America/Yellowknife
- - Antarctica/Casey
- - Antarctica/Davis
- - Antarctica/DumontDUrville
- - Antarctica/Macquarie
- - Antarctica/Mawson
- - Antarctica/McMurdo
- - Antarctica/Palmer
- - Antarctica/Rothera
- - Antarctica/South_Pole
- - Antarctica/Syowa
- - Antarctica/Troll
- - Antarctica/Vostok
- - Arctic/Longyearbyen
- - Asia/Aden
- - Asia/Almaty
- - Asia/Amman
- - Asia/Anadyr
- - Asia/Aqtau
- - Asia/Aqtobe
- - Asia/Ashgabat
- - Asia/Ashkhabad
- - Asia/Atyrau
- - Asia/Baghdad
- - Asia/Bahrain
- - Asia/Baku
- - Asia/Bangkok
- - Asia/Barnaul
- - Asia/Beirut
- - Asia/Bishkek
- - Asia/Brunei
- - Asia/Calcutta
- - Asia/Chita
- - Asia/Choibalsan
- - Asia/Chongqing
- - Asia/Chungking
- - Asia/Colombo
- - Asia/Dacca
- - Asia/Damascus
- - Asia/Dhaka
- - Asia/Dili
- - Asia/Dubai
- - Asia/Dushanbe
- - Asia/Famagusta
- - Asia/Gaza
- - Asia/Harbin
- - Asia/Hebron
- - Asia/Ho_Chi_Minh
- - Asia/Hong_Kong
- - Asia/Hovd
- - Asia/Irkutsk
- - Asia/Istanbul
- - Asia/Jakarta
- - Asia/Jayapura
- - Asia/Jerusalem
- - Asia/Kabul
- - Asia/Kamchatka
- - Asia/Karachi
- - Asia/Kashgar
- - Asia/Kathmandu
- - Asia/Katmandu
- - Asia/Khandyga
- - Asia/Kolkata
- - Asia/Krasnoyarsk
- - Asia/Kuala_Lumpur
- - Asia/Kuching
- - Asia/Kuwait
- - Asia/Macao
- - Asia/Macau
- - Asia/Magadan
- - Asia/Makassar
- - Asia/Manila
- - Asia/Muscat
- - Asia/Nicosia
- - Asia/Novokuznetsk
- - Asia/Novosibirsk
- - Asia/Omsk
- - Asia/Oral
- - Asia/Phnom_Penh
- - Asia/Pontianak
- - Asia/Pyongyang
- - Asia/Qatar
- - Asia/Qostanay
- - Asia/Qyzylorda
- - Asia/Rangoon
- - Asia/Riyadh
- - Asia/Saigon
- - Asia/Sakhalin
- - Asia/Samarkand
- - Asia/Seoul
- - Asia/Shanghai
- - Asia/Singapore
- - Asia/Srednekolymsk
- - Asia/Taipei
- - Asia/Tashkent
- - Asia/Tbilisi
- - Asia/Tehran
- - Asia/Tel_Aviv
- - Asia/Thimbu
- - Asia/Thimphu
- - Asia/Tokyo
- - Asia/Tomsk
- - Asia/Ujung_Pandang
- - Asia/Ulaanbaatar
- - Asia/Ulan_Bator
- - Asia/Urumqi
- - Asia/Ust-Nera
- - Asia/Vientiane
- - Asia/Vladivostok
- - Asia/Yakutsk
- - Asia/Yangon
- - Asia/Yekaterinburg
- - Asia/Yerevan
- - Atlantic/Azores
- - Atlantic/Bermuda
- - Atlantic/Canary
- - Atlantic/Cape_Verde
- - Atlantic/Faeroe
- - Atlantic/Faroe
- - Atlantic/Jan_Mayen
- - Atlantic/Madeira
- - Atlantic/Reykjavik
- - Atlantic/South_Georgia
- - Atlantic/St_Helena
- - Atlantic/Stanley
- - Australia/ACT
- - Australia/Adelaide
- - Australia/Brisbane
- - Australia/Broken_Hill
- - Australia/Canberra
- - Australia/Currie
- - Australia/Darwin
- - Australia/Eucla
- - Australia/Hobart
- - Australia/LHI
- - Australia/Lindeman
- - Australia/Lord_Howe
- - Australia/Melbourne
- - Australia/NSW
- - Australia/North
- - Australia/Perth
- - Australia/Queensland
- - Australia/South
- - Australia/Sydney
- - Australia/Tasmania
- - Australia/Victoria
- - Australia/West
- - Australia/Yancowinna
- - Brazil/Acre
- - Brazil/DeNoronha
- - Brazil/East
- - Brazil/West
- - CET
- - CST6CDT
- - Canada/Atlantic
- - Canada/Central
- - Canada/Eastern
- - Canada/Mountain
- - Canada/Newfoundland
- - Canada/Pacific
- - Canada/Saskatchewan
- - Canada/Yukon
- - Chile/Continental
- - Chile/EasterIsland
- - Cuba
- - EET
- - EST
- - EST5EDT
- - Egypt
- - Eire
- - Etc/GMT
- - Etc/GMT+0
- - Etc/GMT+1
- - Etc/GMT+10
- - Etc/GMT+11
- - Etc/GMT+12
- - Etc/GMT+2
- - Etc/GMT+3
- - Etc/GMT+4
- - Etc/GMT+5
- - Etc/GMT+6
- - Etc/GMT+7
- - Etc/GMT+8
- - Etc/GMT+9
- - Etc/GMT-0
- - Etc/GMT-1
- - Etc/GMT-10
- - Etc/GMT-11
- - Etc/GMT-12
- - Etc/GMT-13
- - Etc/GMT-14
- - Etc/GMT-2
- - Etc/GMT-3
- - Etc/GMT-4
- - Etc/GMT-5
- - Etc/GMT-6
- - Etc/GMT-7
- - Etc/GMT-8
- - Etc/GMT-9
- - Etc/GMT0
- - Etc/Greenwich
- - Etc/UCT
- - Etc/UTC
- - Etc/Universal
- - Etc/Zulu
- - Europe/Amsterdam
- - Europe/Andorra
- - Europe/Astrakhan
- - Europe/Athens
- - Europe/Belfast
- - Europe/Belgrade
- - Europe/Berlin
- - Europe/Bratislava
- - Europe/Brussels
- - Europe/Bucharest
- - Europe/Budapest
- - Europe/Busingen
- - Europe/Chisinau
- - Europe/Copenhagen
- - Europe/Dublin
- - Europe/Gibraltar
- - Europe/Guernsey
- - Europe/Helsinki
- - Europe/Isle_of_Man
- - Europe/Istanbul
- - Europe/Jersey
- - Europe/Kaliningrad
- - Europe/Kiev
- - Europe/Kirov
- - Europe/Kyiv
- - Europe/Lisbon
- - Europe/Ljubljana
- - Europe/London
- - Europe/Luxembourg
- - Europe/Madrid
- - Europe/Malta
- - Europe/Mariehamn
- - Europe/Minsk
- - Europe/Monaco
- - Europe/Moscow
- - Europe/Nicosia
- - Europe/Oslo
- - Europe/Paris
- - Europe/Podgorica
- - Europe/Prague
- - Europe/Riga
- - Europe/Rome
- - Europe/Samara
- - Europe/San_Marino
- - Europe/Sarajevo
- - Europe/Saratov
- - Europe/Simferopol
- - Europe/Skopje
- - Europe/Sofia
- - Europe/Stockholm
- - Europe/Tallinn
- - Europe/Tirane
- - Europe/Tiraspol
- - Europe/Ulyanovsk
- - Europe/Uzhgorod
- - Europe/Vaduz
- - Europe/Vatican
- - Europe/Vienna
- - Europe/Vilnius
- - Europe/Volgograd
- - Europe/Warsaw
- - Europe/Zagreb
- - Europe/Zaporozhye
- - Europe/Zurich
- - GB
- - GB-Eire
- - GMT
- - GMT+0
- - GMT-0
- - GMT0
- - Greenwich
- - HST
- - Hongkong
- - Iceland
- - Indian/Antananarivo
- - Indian/Chagos
- - Indian/Christmas
- - Indian/Cocos
- - Indian/Comoro
- - Indian/Kerguelen
- - Indian/Mahe
- - Indian/Maldives
- - Indian/Mauritius
- - Indian/Mayotte
- - Indian/Reunion
- - Iran
- - Israel
- - Jamaica
- - Japan
- - Kwajalein
- - Libya
- - MET
- - MST
- - MST7MDT
- - Mexico/BajaNorte
- - Mexico/BajaSur
- - Mexico/General
- - NZ
- - NZ-CHAT
- - Navajo
- - PRC
- - PST8PDT
- - Pacific/Apia
- - Pacific/Auckland
- - Pacific/Bougainville
- - Pacific/Chatham
- - Pacific/Chuuk
- - Pacific/Easter
- - Pacific/Efate
- - Pacific/Enderbury
- - Pacific/Fakaofo
- - Pacific/Fiji
- - Pacific/Funafuti
- - Pacific/Galapagos
- - Pacific/Gambier
- - Pacific/Guadalcanal
- - Pacific/Guam
- - Pacific/Honolulu
- - Pacific/Johnston
- - Pacific/Kanton
- - Pacific/Kiritimati
- - Pacific/Kosrae
- - Pacific/Kwajalein
- - Pacific/Majuro
- - Pacific/Marquesas
- - Pacific/Midway
- - Pacific/Nauru
- - Pacific/Niue
- - Pacific/Norfolk
- - Pacific/Noumea
- - Pacific/Pago_Pago
- - Pacific/Palau
- - Pacific/Pitcairn
- - Pacific/Pohnpei
- - Pacific/Ponape
- - Pacific/Port_Moresby
- - Pacific/Rarotonga
- - Pacific/Saipan
- - Pacific/Samoa
- - Pacific/Tahiti
- - Pacific/Tarawa
- - Pacific/Tongatapu
- - Pacific/Truk
- - Pacific/Wake
- - Pacific/Wallis
- - Pacific/Yap
- - Poland
- - Portugal
- - ROC
- - ROK
- - Singapore
- - Turkey
- - UCT
- - US/Alaska
- - US/Aleutian
- - US/Arizona
- - US/Central
- - US/East-Indiana
- - US/Eastern
- - US/Hawaii
- - US/Indiana-Starke
- - US/Michigan
- - US/Mountain
- - US/Pacific
- - US/Samoa
- - UTC
- - Universal
- - W-SU
- - WET
- - Zulu
- - localtime
- description: |+
- Time zone
-
+ description: Time zone
explode: true
style: form
- in: query
@@ -50081,607 +39713,7 @@ paths:
type: array
items:
type: string
- enum:
- - Africa/Abidjan
- - Africa/Accra
- - Africa/Addis_Ababa
- - Africa/Algiers
- - Africa/Asmara
- - Africa/Asmera
- - Africa/Bamako
- - Africa/Bangui
- - Africa/Banjul
- - Africa/Bissau
- - Africa/Blantyre
- - Africa/Brazzaville
- - Africa/Bujumbura
- - Africa/Cairo
- - Africa/Casablanca
- - Africa/Ceuta
- - Africa/Conakry
- - Africa/Dakar
- - Africa/Dar_es_Salaam
- - Africa/Djibouti
- - Africa/Douala
- - Africa/El_Aaiun
- - Africa/Freetown
- - Africa/Gaborone
- - Africa/Harare
- - Africa/Johannesburg
- - Africa/Juba
- - Africa/Kampala
- - Africa/Khartoum
- - Africa/Kigali
- - Africa/Kinshasa
- - Africa/Lagos
- - Africa/Libreville
- - Africa/Lome
- - Africa/Luanda
- - Africa/Lubumbashi
- - Africa/Lusaka
- - Africa/Malabo
- - Africa/Maputo
- - Africa/Maseru
- - Africa/Mbabane
- - Africa/Mogadishu
- - Africa/Monrovia
- - Africa/Nairobi
- - Africa/Ndjamena
- - Africa/Niamey
- - Africa/Nouakchott
- - Africa/Ouagadougou
- - Africa/Porto-Novo
- - Africa/Sao_Tome
- - Africa/Timbuktu
- - Africa/Tripoli
- - Africa/Tunis
- - Africa/Windhoek
- - America/Adak
- - America/Anchorage
- - America/Anguilla
- - America/Antigua
- - America/Araguaina
- - America/Argentina/Buenos_Aires
- - America/Argentina/Catamarca
- - America/Argentina/ComodRivadavia
- - America/Argentina/Cordoba
- - America/Argentina/Jujuy
- - America/Argentina/La_Rioja
- - America/Argentina/Mendoza
- - America/Argentina/Rio_Gallegos
- - America/Argentina/Salta
- - America/Argentina/San_Juan
- - America/Argentina/San_Luis
- - America/Argentina/Tucuman
- - America/Argentina/Ushuaia
- - America/Aruba
- - America/Asuncion
- - America/Atikokan
- - America/Atka
- - America/Bahia
- - America/Bahia_Banderas
- - America/Barbados
- - America/Belem
- - America/Belize
- - America/Blanc-Sablon
- - America/Boa_Vista
- - America/Bogota
- - America/Boise
- - America/Buenos_Aires
- - America/Cambridge_Bay
- - America/Campo_Grande
- - America/Cancun
- - America/Caracas
- - America/Catamarca
- - America/Cayenne
- - America/Cayman
- - America/Chicago
- - America/Chihuahua
- - America/Ciudad_Juarez
- - America/Coral_Harbour
- - America/Cordoba
- - America/Costa_Rica
- - America/Creston
- - America/Cuiaba
- - America/Curacao
- - America/Danmarkshavn
- - America/Dawson
- - America/Dawson_Creek
- - America/Denver
- - America/Detroit
- - America/Dominica
- - America/Edmonton
- - America/Eirunepe
- - America/El_Salvador
- - America/Ensenada
- - America/Fort_Nelson
- - America/Fort_Wayne
- - America/Fortaleza
- - America/Glace_Bay
- - America/Godthab
- - America/Goose_Bay
- - America/Grand_Turk
- - America/Grenada
- - America/Guadeloupe
- - America/Guatemala
- - America/Guayaquil
- - America/Guyana
- - America/Halifax
- - America/Havana
- - America/Hermosillo
- - America/Indiana/Indianapolis
- - America/Indiana/Knox
- - America/Indiana/Marengo
- - America/Indiana/Petersburg
- - America/Indiana/Tell_City
- - America/Indiana/Vevay
- - America/Indiana/Vincennes
- - America/Indiana/Winamac
- - America/Indianapolis
- - America/Inuvik
- - America/Iqaluit
- - America/Jamaica
- - America/Jujuy
- - America/Juneau
- - America/Kentucky/Louisville
- - America/Kentucky/Monticello
- - America/Knox_IN
- - America/Kralendijk
- - America/La_Paz
- - America/Lima
- - America/Los_Angeles
- - America/Louisville
- - America/Lower_Princes
- - America/Maceio
- - America/Managua
- - America/Manaus
- - America/Marigot
- - America/Martinique
- - America/Matamoros
- - America/Mazatlan
- - America/Mendoza
- - America/Menominee
- - America/Merida
- - America/Metlakatla
- - America/Mexico_City
- - America/Miquelon
- - America/Moncton
- - America/Monterrey
- - America/Montevideo
- - America/Montreal
- - America/Montserrat
- - America/Nassau
- - America/New_York
- - America/Nipigon
- - America/Nome
- - America/Noronha
- - America/North_Dakota/Beulah
- - America/North_Dakota/Center
- - America/North_Dakota/New_Salem
- - America/Nuuk
- - America/Ojinaga
- - America/Panama
- - America/Pangnirtung
- - America/Paramaribo
- - America/Phoenix
- - America/Port-au-Prince
- - America/Port_of_Spain
- - America/Porto_Acre
- - America/Porto_Velho
- - America/Puerto_Rico
- - America/Punta_Arenas
- - America/Rainy_River
- - America/Rankin_Inlet
- - America/Recife
- - America/Regina
- - America/Resolute
- - America/Rio_Branco
- - America/Rosario
- - America/Santa_Isabel
- - America/Santarem
- - America/Santiago
- - America/Santo_Domingo
- - America/Sao_Paulo
- - America/Scoresbysund
- - America/Shiprock
- - America/Sitka
- - America/St_Barthelemy
- - America/St_Johns
- - America/St_Kitts
- - America/St_Lucia
- - America/St_Thomas
- - America/St_Vincent
- - America/Swift_Current
- - America/Tegucigalpa
- - America/Thule
- - America/Thunder_Bay
- - America/Tijuana
- - America/Toronto
- - America/Tortola
- - America/Vancouver
- - America/Virgin
- - America/Whitehorse
- - America/Winnipeg
- - America/Yakutat
- - America/Yellowknife
- - Antarctica/Casey
- - Antarctica/Davis
- - Antarctica/DumontDUrville
- - Antarctica/Macquarie
- - Antarctica/Mawson
- - Antarctica/McMurdo
- - Antarctica/Palmer
- - Antarctica/Rothera
- - Antarctica/South_Pole
- - Antarctica/Syowa
- - Antarctica/Troll
- - Antarctica/Vostok
- - Arctic/Longyearbyen
- - Asia/Aden
- - Asia/Almaty
- - Asia/Amman
- - Asia/Anadyr
- - Asia/Aqtau
- - Asia/Aqtobe
- - Asia/Ashgabat
- - Asia/Ashkhabad
- - Asia/Atyrau
- - Asia/Baghdad
- - Asia/Bahrain
- - Asia/Baku
- - Asia/Bangkok
- - Asia/Barnaul
- - Asia/Beirut
- - Asia/Bishkek
- - Asia/Brunei
- - Asia/Calcutta
- - Asia/Chita
- - Asia/Choibalsan
- - Asia/Chongqing
- - Asia/Chungking
- - Asia/Colombo
- - Asia/Dacca
- - Asia/Damascus
- - Asia/Dhaka
- - Asia/Dili
- - Asia/Dubai
- - Asia/Dushanbe
- - Asia/Famagusta
- - Asia/Gaza
- - Asia/Harbin
- - Asia/Hebron
- - Asia/Ho_Chi_Minh
- - Asia/Hong_Kong
- - Asia/Hovd
- - Asia/Irkutsk
- - Asia/Istanbul
- - Asia/Jakarta
- - Asia/Jayapura
- - Asia/Jerusalem
- - Asia/Kabul
- - Asia/Kamchatka
- - Asia/Karachi
- - Asia/Kashgar
- - Asia/Kathmandu
- - Asia/Katmandu
- - Asia/Khandyga
- - Asia/Kolkata
- - Asia/Krasnoyarsk
- - Asia/Kuala_Lumpur
- - Asia/Kuching
- - Asia/Kuwait
- - Asia/Macao
- - Asia/Macau
- - Asia/Magadan
- - Asia/Makassar
- - Asia/Manila
- - Asia/Muscat
- - Asia/Nicosia
- - Asia/Novokuznetsk
- - Asia/Novosibirsk
- - Asia/Omsk
- - Asia/Oral
- - Asia/Phnom_Penh
- - Asia/Pontianak
- - Asia/Pyongyang
- - Asia/Qatar
- - Asia/Qostanay
- - Asia/Qyzylorda
- - Asia/Rangoon
- - Asia/Riyadh
- - Asia/Saigon
- - Asia/Sakhalin
- - Asia/Samarkand
- - Asia/Seoul
- - Asia/Shanghai
- - Asia/Singapore
- - Asia/Srednekolymsk
- - Asia/Taipei
- - Asia/Tashkent
- - Asia/Tbilisi
- - Asia/Tehran
- - Asia/Tel_Aviv
- - Asia/Thimbu
- - Asia/Thimphu
- - Asia/Tokyo
- - Asia/Tomsk
- - Asia/Ujung_Pandang
- - Asia/Ulaanbaatar
- - Asia/Ulan_Bator
- - Asia/Urumqi
- - Asia/Ust-Nera
- - Asia/Vientiane
- - Asia/Vladivostok
- - Asia/Yakutsk
- - Asia/Yangon
- - Asia/Yekaterinburg
- - Asia/Yerevan
- - Atlantic/Azores
- - Atlantic/Bermuda
- - Atlantic/Canary
- - Atlantic/Cape_Verde
- - Atlantic/Faeroe
- - Atlantic/Faroe
- - Atlantic/Jan_Mayen
- - Atlantic/Madeira
- - Atlantic/Reykjavik
- - Atlantic/South_Georgia
- - Atlantic/St_Helena
- - Atlantic/Stanley
- - Australia/ACT
- - Australia/Adelaide
- - Australia/Brisbane
- - Australia/Broken_Hill
- - Australia/Canberra
- - Australia/Currie
- - Australia/Darwin
- - Australia/Eucla
- - Australia/Hobart
- - Australia/LHI
- - Australia/Lindeman
- - Australia/Lord_Howe
- - Australia/Melbourne
- - Australia/NSW
- - Australia/North
- - Australia/Perth
- - Australia/Queensland
- - Australia/South
- - Australia/Sydney
- - Australia/Tasmania
- - Australia/Victoria
- - Australia/West
- - Australia/Yancowinna
- - Brazil/Acre
- - Brazil/DeNoronha
- - Brazil/East
- - Brazil/West
- - CET
- - CST6CDT
- - Canada/Atlantic
- - Canada/Central
- - Canada/Eastern
- - Canada/Mountain
- - Canada/Newfoundland
- - Canada/Pacific
- - Canada/Saskatchewan
- - Canada/Yukon
- - Chile/Continental
- - Chile/EasterIsland
- - Cuba
- - EET
- - EST
- - EST5EDT
- - Egypt
- - Eire
- - Etc/GMT
- - Etc/GMT+0
- - Etc/GMT+1
- - Etc/GMT+10
- - Etc/GMT+11
- - Etc/GMT+12
- - Etc/GMT+2
- - Etc/GMT+3
- - Etc/GMT+4
- - Etc/GMT+5
- - Etc/GMT+6
- - Etc/GMT+7
- - Etc/GMT+8
- - Etc/GMT+9
- - Etc/GMT-0
- - Etc/GMT-1
- - Etc/GMT-10
- - Etc/GMT-11
- - Etc/GMT-12
- - Etc/GMT-13
- - Etc/GMT-14
- - Etc/GMT-2
- - Etc/GMT-3
- - Etc/GMT-4
- - Etc/GMT-5
- - Etc/GMT-6
- - Etc/GMT-7
- - Etc/GMT-8
- - Etc/GMT-9
- - Etc/GMT0
- - Etc/Greenwich
- - Etc/UCT
- - Etc/UTC
- - Etc/Universal
- - Etc/Zulu
- - Europe/Amsterdam
- - Europe/Andorra
- - Europe/Astrakhan
- - Europe/Athens
- - Europe/Belfast
- - Europe/Belgrade
- - Europe/Berlin
- - Europe/Bratislava
- - Europe/Brussels
- - Europe/Bucharest
- - Europe/Budapest
- - Europe/Busingen
- - Europe/Chisinau
- - Europe/Copenhagen
- - Europe/Dublin
- - Europe/Gibraltar
- - Europe/Guernsey
- - Europe/Helsinki
- - Europe/Isle_of_Man
- - Europe/Istanbul
- - Europe/Jersey
- - Europe/Kaliningrad
- - Europe/Kiev
- - Europe/Kirov
- - Europe/Kyiv
- - Europe/Lisbon
- - Europe/Ljubljana
- - Europe/London
- - Europe/Luxembourg
- - Europe/Madrid
- - Europe/Malta
- - Europe/Mariehamn
- - Europe/Minsk
- - Europe/Monaco
- - Europe/Moscow
- - Europe/Nicosia
- - Europe/Oslo
- - Europe/Paris
- - Europe/Podgorica
- - Europe/Prague
- - Europe/Riga
- - Europe/Rome
- - Europe/Samara
- - Europe/San_Marino
- - Europe/Sarajevo
- - Europe/Saratov
- - Europe/Simferopol
- - Europe/Skopje
- - Europe/Sofia
- - Europe/Stockholm
- - Europe/Tallinn
- - Europe/Tirane
- - Europe/Tiraspol
- - Europe/Ulyanovsk
- - Europe/Uzhgorod
- - Europe/Vaduz
- - Europe/Vatican
- - Europe/Vienna
- - Europe/Vilnius
- - Europe/Volgograd
- - Europe/Warsaw
- - Europe/Zagreb
- - Europe/Zaporozhye
- - Europe/Zurich
- - GB
- - GB-Eire
- - GMT
- - GMT+0
- - GMT-0
- - GMT0
- - Greenwich
- - HST
- - Hongkong
- - Iceland
- - Indian/Antananarivo
- - Indian/Chagos
- - Indian/Christmas
- - Indian/Cocos
- - Indian/Comoro
- - Indian/Kerguelen
- - Indian/Mahe
- - Indian/Maldives
- - Indian/Mauritius
- - Indian/Mayotte
- - Indian/Reunion
- - Iran
- - Israel
- - Jamaica
- - Japan
- - Kwajalein
- - Libya
- - MET
- - MST
- - MST7MDT
- - Mexico/BajaNorte
- - Mexico/BajaSur
- - Mexico/General
- - NZ
- - NZ-CHAT
- - Navajo
- - PRC
- - PST8PDT
- - Pacific/Apia
- - Pacific/Auckland
- - Pacific/Bougainville
- - Pacific/Chatham
- - Pacific/Chuuk
- - Pacific/Easter
- - Pacific/Efate
- - Pacific/Enderbury
- - Pacific/Fakaofo
- - Pacific/Fiji
- - Pacific/Funafuti
- - Pacific/Galapagos
- - Pacific/Gambier
- - Pacific/Guadalcanal
- - Pacific/Guam
- - Pacific/Honolulu
- - Pacific/Johnston
- - Pacific/Kanton
- - Pacific/Kiritimati
- - Pacific/Kosrae
- - Pacific/Kwajalein
- - Pacific/Majuro
- - Pacific/Marquesas
- - Pacific/Midway
- - Pacific/Nauru
- - Pacific/Niue
- - Pacific/Norfolk
- - Pacific/Noumea
- - Pacific/Pago_Pago
- - Pacific/Palau
- - Pacific/Pitcairn
- - Pacific/Pohnpei
- - Pacific/Ponape
- - Pacific/Port_Moresby
- - Pacific/Rarotonga
- - Pacific/Saipan
- - Pacific/Samoa
- - Pacific/Tahiti
- - Pacific/Tarawa
- - Pacific/Tongatapu
- - Pacific/Truk
- - Pacific/Wake
- - Pacific/Wallis
- - Pacific/Yap
- - Poland
- - Portugal
- - ROC
- - ROK
- - Singapore
- - Turkey
- - UCT
- - US/Alaska
- - US/Aleutian
- - US/Arizona
- - US/Central
- - US/East-Indiana
- - US/Eastern
- - US/Hawaii
- - US/Indiana-Starke
- - US/Michigan
- - US/Mountain
- - US/Pacific
- - US/Samoa
- - UTC
- - Universal
- - W-SU
- - WET
- - Zulu
- - localtime
- description: |+
- Time zone
-
+ description: Time zone
explode: true
style: form
- in: query
@@ -50735,6 +39767,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -50931,6 +39970,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -51095,6 +40141,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -51173,9 +40226,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -51378,9 +40433,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -51414,51 +40471,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -51468,69 +40480,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: inventory_items
schema:
@@ -51782,9 +40731,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -51794,6 +40745,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -51990,6 +40948,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -52154,6 +41119,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -52232,11 +41204,13 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
- - in: query
- name: created
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: created
schema:
type: array
items:
@@ -52451,9 +41425,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -52481,56 +41457,6 @@ paths:
description: ID
explode: true
style: form
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID contains
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID ends with
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID matches regex
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID starts with
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -52541,76 +41467,6 @@ paths:
description: Exclude ID
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID contains
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID ends with
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID matches regex
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID starts with
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID matches regex
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID matches regex
- explode: true
- style: form
- in: query
name: label
schema:
@@ -52801,6 +41657,27 @@ paths:
description: Number of results to return per page.
schema:
type: integer
+ - in: query
+ name: module_family
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: module_family__isnull
+ schema:
+ type: boolean
+ description: Module family (name or ID) is null
+ - in: query
+ name: module_family__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: module_type
schema:
@@ -53071,6 +41948,11 @@ paths:
schema:
type: string
description: Search
+ - in: query
+ name: requires_first_party_modules
+ schema:
+ type: boolean
+ description: Requires first-party modules
- name: sort
required: false
in: query
@@ -53093,9 +41975,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -53105,6 +41989,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -53301,6 +42192,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -53425,103 +42323,6 @@ paths:
responses:
'204':
description: No response body
- /dcim/module-bay-templates/{id}/notes/:
- get:
- operationId: dcim_module_bay_templates_notes_list
- description: API methods for returning or creating notes on an object.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this module bay template.
- required: true
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- - in: query
- name: depth
- required: false
- description: Serializer Depth
- schema:
- type: integer
- minimum: 0
- maximum: 10
- default: 1
- tags:
- - dcim
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- description: ''
- post:
- operationId: dcim_module_bay_templates_notes_create
- description: API methods for returning or creating notes on an object.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this module bay template.
- required: true
- tags:
- - dcim
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- required: true
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '201':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Note'
- text/csv:
- schema:
- $ref: '#/components/schemas/Note'
- description: ''
/dcim/module-bays/:
get:
operationId: dcim_module_bays_list
@@ -53543,9 +42344,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -53727,9 +42530,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -53763,51 +42568,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -53817,69 +42577,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: installed_module
schema:
@@ -54081,6 +42778,27 @@ paths:
description: Number of results to return per page.
schema:
type: integer
+ - in: query
+ name: module_family
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: module_family__isnull
+ schema:
+ type: boolean
+ description: Module family (name or ID) is null
+ - in: query
+ name: module_family__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: name
schema:
@@ -54362,6 +43080,11 @@ paths:
schema:
type: string
description: Search
+ - in: query
+ name: requires_first_party_modules
+ schema:
+ type: boolean
+ description: Requires first-party modules
- name: sort
required: false
in: query
@@ -54404,9 +43127,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -54416,6 +43141,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -54612,6 +43344,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -54776,6 +43515,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -54833,146 +43579,13 @@ paths:
schema:
$ref: '#/components/schemas/Note'
description: ''
- /dcim/module-types/:
+ /dcim/module-families/:
get:
- operationId: dcim_module_types_list
- description: Retrieve a list of module type objects.
+ operationId: dcim_module_families_list
+ description: API viewset for interacting with ModuleFamily objects.
parameters:
- in: query
- name: comments
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: comments__ic
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: comments__ie
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: comments__iew
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: comments__ire
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: comments__isw
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: comments__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: comments__nic
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: comments__nie
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: comments__niew
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: comments__nire
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: comments__nisw
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: comments__nre
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: comments__re
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: console_port_templates
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: console_port_templates__isnull
- schema:
- type: boolean
- description: Console port templates (name or ID) is null
- - in: query
- name: console_port_templates__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: console_server_port_templates
+ name: contacts
schema:
type: array
items:
@@ -54980,37 +43593,18 @@ paths:
explode: true
style: form
- in: query
- name: console_server_port_templates__isnull
+ name: contacts__isnull
schema:
type: boolean
- description: Console server port templates (name or ID) is null
- - in: query
- name: console_server_port_templates__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ description: Contacts (name or ID) is null
- in: query
- name: contacts
+ name: contacts__n
schema:
type: array
items:
type: string
explode: true
style: form
- - in: query
- name: contacts__isnull
- schema:
- type: boolean
- description: Contacts (name or ID) is null
- - in: query
- name: contacts__n
- schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
- in: query
name: created
schema:
@@ -55070,7 +43664,7 @@ paths:
explode: true
style: form
- in: query
- name: dynamic_groups
+ name: description
schema:
type: array
items:
@@ -55078,20 +43672,7 @@ paths:
explode: true
style: form
- in: query
- name: dynamic_groups__n
- schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: query
- name: front_port_templates
+ name: description__ic
schema:
type: array
items:
@@ -55099,12 +43680,7 @@ paths:
explode: true
style: form
- in: query
- name: front_port_templates__isnull
- schema:
- type: boolean
- description: Front port templates (name or ID) is null
- - in: query
- name: front_port_templates__n
+ name: description__ie
schema:
type: array
items:
@@ -55112,197 +43688,134 @@ paths:
explode: true
style: form
- in: query
- name: has_console_port_templates
- schema:
- type: boolean
- description: Has console port templates
- - in: query
- name: has_console_server_port_templates
- schema:
- type: boolean
- description: Has console server port templates
- - in: query
- name: has_front_port_templates
- schema:
- type: boolean
- description: Has front port templates
- - in: query
- name: has_interface_templates
- schema:
- type: boolean
- description: Has interface templates
- - in: query
- name: has_module_bay_templates
- schema:
- type: boolean
- description: Has module bay templates
- - in: query
- name: has_modules
- schema:
- type: boolean
- description: Has module instances
- - in: query
- name: has_power_outlet_templates
- schema:
- type: boolean
- description: Has power outlet templates
- - in: query
- name: has_power_port_templates
- schema:
- type: boolean
- description: Has power port templates
- - in: query
- name: has_rear_port_templates
- schema:
- type: boolean
- description: Has rear port templates
- - in: query
- name: id
+ name: description__iew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- description: Unique object identifier, either a UUID primary key or a composite
- key.
- in: query
- name: id__ic
+ name: description__ire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ie
+ name: description__isw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__iew
+ name: description__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ire
+ name: description__nic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__isw
+ name: description__nie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__n
+ name: description__niew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nic
+ name: description__nire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nie
+ name: description__nisw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__niew
+ name: description__nre
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nire
+ name: description__re
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nisw
+ name: dynamic_groups
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nre
+ name: dynamic_groups__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__re
+ name: format
schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
+ type: string
+ enum:
+ - csv
+ - json
- in: query
- name: interface_templates
+ name: id
schema:
type: array
items:
type: string
+ format: uuid
explode: true
style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
- name: interface_templates__isnull
- schema:
- type: boolean
- description: Interface templates (name or ID) is null
- - in: query
- name: interface_templates__n
+ name: id__n
schema:
type: array
items:
type: string
+ format: uuid
explode: true
style: form
- in: query
@@ -55370,15 +43883,18 @@ paths:
schema:
type: integer
- in: query
- name: manufacturer
+ name: module_bay_id
schema:
type: array
items:
- type: string
+ type: array
+ items:
+ type: string
+ format: uuid
explode: true
style: form
- in: query
- name: manufacturer__n
+ name: module_types
schema:
type: array
items:
@@ -55386,15 +43902,12 @@ paths:
explode: true
style: form
- in: query
- name: model
+ name: module_types__isnull
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
+ description: Module types (model or ID) is null
- in: query
- name: model__ic
+ name: module_types__n
schema:
type: array
items:
@@ -55402,7 +43915,7 @@ paths:
explode: true
style: form
- in: query
- name: model__ie
+ name: name
schema:
type: array
items:
@@ -55410,7 +43923,7 @@ paths:
explode: true
style: form
- in: query
- name: model__iew
+ name: name__ic
schema:
type: array
items:
@@ -55418,7 +43931,7 @@ paths:
explode: true
style: form
- in: query
- name: model__ire
+ name: name__ie
schema:
type: array
items:
@@ -55426,7 +43939,7 @@ paths:
explode: true
style: form
- in: query
- name: model__isw
+ name: name__iew
schema:
type: array
items:
@@ -55434,7 +43947,7 @@ paths:
explode: true
style: form
- in: query
- name: model__n
+ name: name__ire
schema:
type: array
items:
@@ -55442,7 +43955,7 @@ paths:
explode: true
style: form
- in: query
- name: model__nic
+ name: name__isw
schema:
type: array
items:
@@ -55450,7 +43963,7 @@ paths:
explode: true
style: form
- in: query
- name: model__nie
+ name: name__n
schema:
type: array
items:
@@ -55458,7 +43971,7 @@ paths:
explode: true
style: form
- in: query
- name: model__niew
+ name: name__nic
schema:
type: array
items:
@@ -55466,7 +43979,7 @@ paths:
explode: true
style: form
- in: query
- name: model__nire
+ name: name__nie
schema:
type: array
items:
@@ -55474,7 +43987,7 @@ paths:
explode: true
style: form
- in: query
- name: model__nisw
+ name: name__niew
schema:
type: array
items:
@@ -55482,7 +43995,7 @@ paths:
explode: true
style: form
- in: query
- name: model__nre
+ name: name__nire
schema:
type: array
items:
@@ -55490,7 +44003,7 @@ paths:
explode: true
style: form
- in: query
- name: model__re
+ name: name__nisw
schema:
type: array
items:
@@ -55498,25 +44011,19 @@ paths:
explode: true
style: form
- in: query
- name: module_bay_templates
+ name: name__nre
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: module_bay_templates__isnull
- schema:
- type: boolean
- - in: query
- name: module_bay_templates__n
+ name: name__re
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- name: offset
@@ -55525,186 +44032,11 @@ paths:
description: The initial index from which to return the results.
schema:
type: integer
- - in: query
- name: part_number
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: part_number__ic
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: part_number__ie
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: part_number__iew
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: part_number__ire
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: part_number__isw
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: part_number__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: part_number__nic
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: part_number__nie
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: part_number__niew
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: part_number__nire
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: part_number__nisw
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: part_number__nre
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: part_number__re
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: power_outlet_templates
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: power_outlet_templates__isnull
- schema:
- type: boolean
- description: Power outlet templates (name or ID) is null
- - in: query
- name: power_outlet_templates__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: power_port_templates
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: power_port_templates__isnull
- schema:
- type: boolean
- description: Power port templates (name or ID) is null
- - in: query
- name: power_port_templates__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- in: query
name: q
schema:
type: string
description: Search
- - in: query
- name: rear_port_templates
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: rear_port_templates__isnull
- schema:
- type: boolean
- description: Rear port templates (name or ID) is null
- - in: query
- name: rear_port_templates__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- name: sort
required: false
in: query
@@ -55747,9 +44079,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -55759,6 +44093,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -55769,14 +44110,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedModuleTypeList'
+ $ref: '#/components/schemas/PaginatedModuleFamilyList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedModuleTypeList'
+ $ref: '#/components/schemas/PaginatedModuleFamilyList'
description: ''
post:
- operationId: dcim_module_types_create
- description: Create one or more module type objects.
+ operationId: dcim_module_families_create
+ description: API viewset for interacting with ModuleFamily objects.
parameters:
- in: query
name: format
@@ -55791,10 +44132,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ModuleTypeRequest'
+ $ref: '#/components/schemas/ModuleFamilyRequest'
text/csv:
schema:
- $ref: '#/components/schemas/ModuleTypeRequest'
+ $ref: '#/components/schemas/ModuleFamilyRequest'
required: true
security:
- cookieAuth: []
@@ -55804,14 +44145,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ModuleType'
+ $ref: '#/components/schemas/ModuleFamily'
text/csv:
schema:
- $ref: '#/components/schemas/ModuleType'
+ $ref: '#/components/schemas/ModuleFamily'
description: ''
put:
- operationId: dcim_module_types_bulk_update
- description: Update a list of module type objects.
+ operationId: dcim_module_families_bulk_update
+ description: API viewset for interacting with ModuleFamily objects.
parameters:
- in: query
name: format
@@ -55828,12 +44169,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableModuleTypeRequest'
+ $ref: '#/components/schemas/BulkWritableModuleFamilyRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableModuleTypeRequest'
+ $ref: '#/components/schemas/BulkWritableModuleFamilyRequest'
required: true
security:
- cookieAuth: []
@@ -55845,16 +44186,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/ModuleType'
+ $ref: '#/components/schemas/ModuleFamily'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/ModuleType'
+ $ref: '#/components/schemas/ModuleFamily'
description: ''
patch:
- operationId: dcim_module_types_bulk_partial_update
- description: Partial update a list of module type objects.
+ operationId: dcim_module_families_bulk_partial_update
+ description: API viewset for interacting with ModuleFamily objects.
parameters:
- in: query
name: format
@@ -55871,12 +44212,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableModuleTypeRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableModuleFamilyRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableModuleTypeRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableModuleFamilyRequest'
required: true
security:
- cookieAuth: []
@@ -55888,16 +44229,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/ModuleType'
+ $ref: '#/components/schemas/ModuleFamily'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/ModuleType'
+ $ref: '#/components/schemas/ModuleFamily'
description: ''
delete:
- operationId: dcim_module_types_bulk_destroy
- description: Destroy a list of module type objects.
+ operationId: dcim_module_families_bulk_destroy
+ description: API viewset for interacting with ModuleFamily objects.
parameters:
- in: query
name: format
@@ -55927,10 +44268,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /dcim/module-types/{id}/:
+ /dcim/module-families/{id}/:
get:
- operationId: dcim_module_types_retrieve
- description: Retrieve a module type object.
+ operationId: dcim_module_families_retrieve
+ description: API viewset for interacting with ModuleFamily objects.
parameters:
- in: query
name: format
@@ -55944,7 +44285,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this module type.
+ description: A UUID string identifying this module family.
required: true
- in: query
name: depth
@@ -55955,6 +44296,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -55965,14 +44313,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ModuleType'
+ $ref: '#/components/schemas/ModuleFamily'
text/csv:
schema:
- $ref: '#/components/schemas/ModuleType'
+ $ref: '#/components/schemas/ModuleFamily'
description: ''
put:
- operationId: dcim_module_types_update
- description: Update a module type object.
+ operationId: dcim_module_families_update
+ description: API viewset for interacting with ModuleFamily objects.
parameters:
- in: query
name: format
@@ -55986,7 +44334,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this module type.
+ description: A UUID string identifying this module family.
required: true
tags:
- dcim
@@ -55994,10 +44342,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ModuleTypeRequest'
+ $ref: '#/components/schemas/ModuleFamilyRequest'
text/csv:
schema:
- $ref: '#/components/schemas/ModuleTypeRequest'
+ $ref: '#/components/schemas/ModuleFamilyRequest'
required: true
security:
- cookieAuth: []
@@ -56007,14 +44355,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ModuleType'
+ $ref: '#/components/schemas/ModuleFamily'
text/csv:
schema:
- $ref: '#/components/schemas/ModuleType'
+ $ref: '#/components/schemas/ModuleFamily'
description: ''
patch:
- operationId: dcim_module_types_partial_update
- description: Partial update a module type object.
+ operationId: dcim_module_families_partial_update
+ description: API viewset for interacting with ModuleFamily objects.
parameters:
- in: query
name: format
@@ -56028,7 +44376,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this module type.
+ description: A UUID string identifying this module family.
required: true
tags:
- dcim
@@ -56036,10 +44384,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedModuleTypeRequest'
+ $ref: '#/components/schemas/PatchedModuleFamilyRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedModuleTypeRequest'
+ $ref: '#/components/schemas/PatchedModuleFamilyRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -56048,14 +44396,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ModuleType'
+ $ref: '#/components/schemas/ModuleFamily'
text/csv:
schema:
- $ref: '#/components/schemas/ModuleType'
+ $ref: '#/components/schemas/ModuleFamily'
description: ''
delete:
- operationId: dcim_module_types_destroy
- description: Destroy a module type object.
+ operationId: dcim_module_families_destroy
+ description: API viewset for interacting with ModuleFamily objects.
parameters:
- in: query
name: format
@@ -56069,7 +44417,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this module type.
+ description: A UUID string identifying this module family.
required: true
tags:
- dcim
@@ -56079,9 +44427,9 @@ paths:
responses:
'204':
description: No response body
- /dcim/module-types/{id}/notes/:
+ /dcim/module-families/{id}/notes/:
get:
- operationId: dcim_module_types_notes_list
+ operationId: dcim_module_families_notes_list
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -56096,7 +44444,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this module type.
+ description: A UUID string identifying this module family.
required: true
- name: limit
required: false
@@ -56119,6 +44467,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -56135,7 +44490,7 @@ paths:
$ref: '#/components/schemas/PaginatedNoteList'
description: ''
post:
- operationId: dcim_module_types_notes_create
+ operationId: dcim_module_families_notes_create
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -56150,7 +44505,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this module type.
+ description: A UUID string identifying this module family.
required: true
tags:
- dcim
@@ -56176,13 +44531,13 @@ paths:
schema:
$ref: '#/components/schemas/Note'
description: ''
- /dcim/modules/:
+ /dcim/module-types/:
get:
- operationId: dcim_modules_list
- description: Retrieve a list of module objects.
+ operationId: dcim_module_types_list
+ description: Retrieve a list of module type objects.
parameters:
- in: query
- name: asset_tag
+ name: comments
schema:
type: array
items:
@@ -56190,7 +44545,7 @@ paths:
explode: true
style: form
- in: query
- name: asset_tag__ic
+ name: comments__ic
schema:
type: array
items:
@@ -56198,7 +44553,7 @@ paths:
explode: true
style: form
- in: query
- name: asset_tag__ie
+ name: comments__ie
schema:
type: array
items:
@@ -56206,7 +44561,7 @@ paths:
explode: true
style: form
- in: query
- name: asset_tag__iew
+ name: comments__iew
schema:
type: array
items:
@@ -56214,7 +44569,7 @@ paths:
explode: true
style: form
- in: query
- name: asset_tag__ire
+ name: comments__ire
schema:
type: array
items:
@@ -56222,11 +44577,7 @@ paths:
explode: true
style: form
- in: query
- name: asset_tag__isnull
- schema:
- type: boolean
- - in: query
- name: asset_tag__isw
+ name: comments__isw
schema:
type: array
items:
@@ -56234,7 +44585,7 @@ paths:
explode: true
style: form
- in: query
- name: asset_tag__n
+ name: comments__n
schema:
type: array
items:
@@ -56242,7 +44593,7 @@ paths:
explode: true
style: form
- in: query
- name: asset_tag__nic
+ name: comments__nic
schema:
type: array
items:
@@ -56250,7 +44601,7 @@ paths:
explode: true
style: form
- in: query
- name: asset_tag__nie
+ name: comments__nie
schema:
type: array
items:
@@ -56258,7 +44609,7 @@ paths:
explode: true
style: form
- in: query
- name: asset_tag__niew
+ name: comments__niew
schema:
type: array
items:
@@ -56266,7 +44617,7 @@ paths:
explode: true
style: form
- in: query
- name: asset_tag__nire
+ name: comments__nire
schema:
type: array
items:
@@ -56274,7 +44625,7 @@ paths:
explode: true
style: form
- in: query
- name: asset_tag__nisw
+ name: comments__nisw
schema:
type: array
items:
@@ -56282,7 +44633,7 @@ paths:
explode: true
style: form
- in: query
- name: asset_tag__nre
+ name: comments__nre
schema:
type: array
items:
@@ -56290,7 +44641,7 @@ paths:
explode: true
style: form
- in: query
- name: asset_tag__re
+ name: comments__re
schema:
type: array
items:
@@ -56298,7 +44649,12 @@ paths:
explode: true
style: form
- in: query
- name: console_ports
+ name: compatible_with_module_bay
+ schema:
+ type: string
+ format: uuid
+ - in: query
+ name: console_port_templates
schema:
type: array
items:
@@ -56306,12 +44662,12 @@ paths:
explode: true
style: form
- in: query
- name: console_ports__isnull
+ name: console_port_templates__isnull
schema:
type: boolean
- description: Console Ports (name or ID) is null
+ description: Console port templates (name or ID) is null
- in: query
- name: console_ports__n
+ name: console_port_templates__n
schema:
type: array
items:
@@ -56319,7 +44675,7 @@ paths:
explode: true
style: form
- in: query
- name: console_server_ports
+ name: console_server_port_templates
schema:
type: array
items:
@@ -56327,12 +44683,12 @@ paths:
explode: true
style: form
- in: query
- name: console_server_ports__isnull
+ name: console_server_port_templates__isnull
schema:
type: boolean
- description: Console Server Ports (name or ID) is null
+ description: Console server port templates (name or ID) is null
- in: query
- name: console_server_ports__n
+ name: console_server_port_templates__n
schema:
type: array
items:
@@ -56355,9 +44711,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -56417,7 +44775,7 @@ paths:
explode: true
style: form
- in: query
- name: device
+ name: dynamic_groups
schema:
type: array
items:
@@ -56425,19 +44783,13 @@ paths:
explode: true
style: form
- in: query
- name: dynamic_groups
+ name: dynamic_groups__n
schema:
type: array
items:
type: string
explode: true
style: form
- - in: query
- name: dynamic_groups__n
- schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
- in: query
name: format
schema:
@@ -56446,7 +44798,7 @@ paths:
- csv
- json
- in: query
- name: front_ports
+ name: front_port_templates
schema:
type: array
items:
@@ -56454,12 +44806,12 @@ paths:
explode: true
style: form
- in: query
- name: front_ports__isnull
+ name: front_port_templates__isnull
schema:
type: boolean
- description: Front Ports (name or ID) is null
+ description: Front port templates (name or ID) is null
- in: query
- name: front_ports__n
+ name: front_port_templates__n
schema:
type: array
items:
@@ -56467,55 +44819,50 @@ paths:
explode: true
style: form
- in: query
- name: has_console_ports
- schema:
- type: boolean
- description: Has console ports
- - in: query
- name: has_console_server_ports
+ name: has_console_port_templates
schema:
type: boolean
- description: Has console server ports
+ description: Has console port templates
- in: query
- name: has_empty_module_bays
+ name: has_console_server_port_templates
schema:
type: boolean
- description: Has empty module bays
+ description: Has console server port templates
- in: query
- name: has_front_ports
+ name: has_front_port_templates
schema:
type: boolean
- description: Has front ports
+ description: Has front port templates
- in: query
- name: has_interfaces
+ name: has_interface_templates
schema:
type: boolean
- description: Has interfaces
+ description: Has interface templates
- in: query
- name: has_module_bays
+ name: has_module_bay_templates
schema:
type: boolean
- description: Has module bays
+ description: Has module bay templates
- in: query
name: has_modules
schema:
type: boolean
- description: Has modules
+ description: Has module instances
- in: query
- name: has_power_outlets
+ name: has_power_outlet_templates
schema:
type: boolean
- description: Has power outlets
+ description: Has power outlet templates
- in: query
- name: has_power_ports
+ name: has_power_port_templates
schema:
type: boolean
- description: Has power ports
+ description: Has power port templates
- in: query
- name: has_rear_ports
+ name: has_rear_port_templates
schema:
type: boolean
- description: Has rear ports
+ description: Has rear port templates
- in: query
name: id
schema:
@@ -56527,51 +44874,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -56582,70 +44884,7 @@ paths:
explode: true
style: form
- in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: interfaces
+ name: interface_templates
schema:
type: array
items:
@@ -56653,23 +44892,18 @@ paths:
explode: true
style: form
- in: query
- name: interfaces__isnull
+ name: interface_templates__isnull
schema:
type: boolean
- description: Interfaces (name or ID) is null
+ description: Interface templates (name or ID) is null
- in: query
- name: interfaces__n
+ name: interface_templates__n
schema:
type: array
items:
type: string
explode: true
style: form
- - in: query
- name: is_installed
- schema:
- type: boolean
- description: Is installed in a module bay
- in: query
name: last_updated
schema:
@@ -56735,20 +44969,7 @@ paths:
schema:
type: integer
- in: query
- name: location
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: location__isnull
- schema:
- type: boolean
- description: Location (name or ID) is null
- - in: query
- name: location__n
+ name: manufacturer
schema:
type: array
items:
@@ -56756,133 +44977,111 @@ paths:
explode: true
style: form
- in: query
- name: mac_address
+ name: manufacturer__n
schema:
type: array
items:
type: string
- description: MAC address
explode: true
style: form
- in: query
- name: mac_address__ic
+ name: model
schema:
type: array
items:
type: string
- description: MAC address contains
explode: true
style: form
- in: query
- name: mac_address__ie
+ name: model__ic
schema:
type: array
items:
type: string
- description: MAC address
explode: true
style: form
- in: query
- name: mac_address__iew
+ name: model__ie
schema:
type: array
items:
type: string
- description: MAC address ends with
explode: true
style: form
- in: query
- name: mac_address__ire
+ name: model__iew
schema:
type: array
items:
type: string
- description: MAC address matches regex
explode: true
style: form
- in: query
- name: mac_address__isw
+ name: model__ire
schema:
type: array
items:
type: string
- description: MAC address starts with
explode: true
style: form
- in: query
- name: mac_address__n
- schema:
- type: array
- items:
- type: string
- description: Exclude MAC address
- explode: true
- style: form
- - in: query
- name: mac_address__nic
+ name: model__isw
schema:
type: array
items:
type: string
- description: Exclude MAC address contains
explode: true
style: form
- in: query
- name: mac_address__nie
+ name: model__n
schema:
type: array
items:
type: string
- description: Exclude MAC address
explode: true
style: form
- in: query
- name: mac_address__niew
+ name: model__nic
schema:
type: array
items:
type: string
- description: Exclude MAC address ends with
explode: true
style: form
- in: query
- name: mac_address__nire
+ name: model__nie
schema:
type: array
items:
type: string
- description: Exclude MAC address matches regex
explode: true
style: form
- in: query
- name: mac_address__nisw
+ name: model__niew
schema:
type: array
items:
type: string
- description: Exclude MAC address starts with
explode: true
style: form
- in: query
- name: mac_address__nre
+ name: model__nire
schema:
type: array
items:
type: string
- description: Exclude MAC address matches regex
explode: true
style: form
- in: query
- name: mac_address__re
+ name: model__nisw
schema:
type: array
items:
type: string
- description: MAC address matches regex
explode: true
style: form
- in: query
- name: manufacturer
+ name: model__nre
schema:
type: array
items:
@@ -56890,7 +45089,7 @@ paths:
explode: true
style: form
- in: query
- name: manufacturer__n
+ name: model__re
schema:
type: array
items:
@@ -56898,32 +45097,29 @@ paths:
explode: true
style: form
- in: query
- name: module_bays
+ name: module_bay_templates
schema:
type: array
items:
type: string
format: uuid
- description: Module Bays
explode: true
style: form
- in: query
- name: module_bays__isnull
+ name: module_bay_templates__isnull
schema:
type: boolean
- description: Module Bays is null
- in: query
- name: module_bays__n
+ name: module_bay_templates__n
schema:
type: array
items:
type: string
format: uuid
- description: Exclude Module Bays
explode: true
style: form
- in: query
- name: module_type
+ name: module_family
schema:
type: array
items:
@@ -56931,7 +45127,12 @@ paths:
explode: true
style: form
- in: query
- name: module_type__n
+ name: module_family__isnull
+ schema:
+ type: boolean
+ description: Module family (name or ID) is null
+ - in: query
+ name: module_family__n
schema:
type: array
items:
@@ -56945,32 +45146,23 @@ paths:
schema:
type: integer
- in: query
- name: parent_module_bay
+ name: part_number
schema:
type: array
items:
type: string
- format: uuid
- description: Parent Module Bay
explode: true
style: form
- in: query
- name: parent_module_bay__isnull
- schema:
- type: boolean
- description: Parent Module Bay is null
- - in: query
- name: parent_module_bay__n
+ name: part_number__ic
schema:
type: array
items:
type: string
- format: uuid
- description: Exclude Parent Module Bay
explode: true
style: form
- in: query
- name: power_outlets
+ name: part_number__ie
schema:
type: array
items:
@@ -56978,12 +45170,7 @@ paths:
explode: true
style: form
- in: query
- name: power_outlets__isnull
- schema:
- type: boolean
- description: Power Outlets (name or ID) is null
- - in: query
- name: power_outlets__n
+ name: part_number__iew
schema:
type: array
items:
@@ -56991,7 +45178,7 @@ paths:
explode: true
style: form
- in: query
- name: power_ports
+ name: part_number__ire
schema:
type: array
items:
@@ -56999,12 +45186,7 @@ paths:
explode: true
style: form
- in: query
- name: power_ports__isnull
- schema:
- type: boolean
- description: Power Ports (name or ID) is null
- - in: query
- name: power_ports__n
+ name: part_number__isw
schema:
type: array
items:
@@ -57012,12 +45194,7 @@ paths:
explode: true
style: form
- in: query
- name: q
- schema:
- type: string
- description: Search
- - in: query
- name: rear_ports
+ name: part_number__n
schema:
type: array
items:
@@ -57025,12 +45202,7 @@ paths:
explode: true
style: form
- in: query
- name: rear_ports__isnull
- schema:
- type: boolean
- description: Rear Ports (name or ID) is null
- - in: query
- name: rear_ports__n
+ name: part_number__nic
schema:
type: array
items:
@@ -57038,7 +45210,7 @@ paths:
explode: true
style: form
- in: query
- name: role
+ name: part_number__nie
schema:
type: array
items:
@@ -57046,18 +45218,7 @@ paths:
explode: true
style: form
- in: query
- name: role__isnull
- schema:
- type: boolean
- description: Role (name or ID) is null
- - in: query
- name: role__n
- schema:
- type: string
- format: uuid
- description: Exclude Role (name or ID)
- - in: query
- name: serial
+ name: part_number__niew
schema:
type: array
items:
@@ -57065,7 +45226,7 @@ paths:
explode: true
style: form
- in: query
- name: serial__ic
+ name: part_number__nire
schema:
type: array
items:
@@ -57073,7 +45234,7 @@ paths:
explode: true
style: form
- in: query
- name: serial__ie
+ name: part_number__nisw
schema:
type: array
items:
@@ -57081,7 +45242,7 @@ paths:
explode: true
style: form
- in: query
- name: serial__iew
+ name: part_number__nre
schema:
type: array
items:
@@ -57089,7 +45250,7 @@ paths:
explode: true
style: form
- in: query
- name: serial__ire
+ name: part_number__re
schema:
type: array
items:
@@ -57097,11 +45258,7 @@ paths:
explode: true
style: form
- in: query
- name: serial__isnull
- schema:
- type: boolean
- - in: query
- name: serial__isw
+ name: power_outlet_templates
schema:
type: array
items:
@@ -57109,15 +45266,12 @@ paths:
explode: true
style: form
- in: query
- name: serial__n
+ name: power_outlet_templates__isnull
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
+ description: Power outlet templates (name or ID) is null
- in: query
- name: serial__nic
+ name: power_outlet_templates__n
schema:
type: array
items:
@@ -57125,7 +45279,7 @@ paths:
explode: true
style: form
- in: query
- name: serial__nie
+ name: power_port_templates
schema:
type: array
items:
@@ -57133,15 +45287,12 @@ paths:
explode: true
style: form
- in: query
- name: serial__niew
+ name: power_port_templates__isnull
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
+ description: Power port templates (name or ID) is null
- in: query
- name: serial__nire
+ name: power_port_templates__n
schema:
type: array
items:
@@ -57149,15 +45300,12 @@ paths:
explode: true
style: form
- in: query
- name: serial__nisw
+ name: q
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: string
+ description: Search
- in: query
- name: serial__nre
+ name: rear_port_templates
schema:
type: array
items:
@@ -57165,7 +45313,12 @@ paths:
explode: true
style: form
- in: query
- name: serial__re
+ name: rear_port_templates__isnull
+ schema:
+ type: boolean
+ description: Rear port templates (name or ID) is null
+ - in: query
+ name: rear_port_templates__n
schema:
type: array
items:
@@ -57178,20 +45331,6 @@ paths:
description: Which field to use when ordering the results.
schema:
type: string
- - in: query
- name: status
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: status__n
- schema:
- type: string
- format: uuid
- description: Exclude Status (name or ID)
- in: query
name: tags
schema:
@@ -57227,79 +45366,12 @@ paths:
description: Teams (name or ID) is null
- in: query
name: teams__n
- schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
- - in: query
- name: tenant
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: tenant__isnull
- schema:
- type: boolean
- description: Tenant (name or ID) is null
- - in: query
- name: tenant__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: tenant_group
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: tenant_group__isnull
- schema:
- type: boolean
- description: Tenant Group (name or ID) is null
- - in: query
- name: tenant_group__n
schema:
type: array
items:
type: string
explode: true
style: form
- - in: query
- name: tenant_id
- schema:
- type: array
- items:
- type: string
- format: uuid
- nullable: true
- description: Tenant (ID) (deprecated, use "tenant" filter instead)
- explode: true
- style: form
- - in: query
- name: tenant_id__isnull
- schema:
- type: boolean
- description: Tenant (ID) (deprecated, use "tenant" filter instead) is null
- - in: query
- name: tenant_id__n
- schema:
- type: array
- items:
- type: string
- format: uuid
- nullable: true
- description: Exclude Tenant (ID) (deprecated, use "tenant" filter instead)
- explode: true
- style: form
- in: query
name: depth
required: false
@@ -57309,6 +45381,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -57319,14 +45398,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedModuleList'
+ $ref: '#/components/schemas/PaginatedModuleTypeList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedModuleList'
+ $ref: '#/components/schemas/PaginatedModuleTypeList'
description: ''
post:
- operationId: dcim_modules_create
- description: Create one or more module objects.
+ operationId: dcim_module_types_create
+ description: Create one or more module type objects.
parameters:
- in: query
name: format
@@ -57341,10 +45420,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ModuleRequest'
+ $ref: '#/components/schemas/ModuleTypeRequest'
text/csv:
schema:
- $ref: '#/components/schemas/ModuleRequest'
+ $ref: '#/components/schemas/ModuleTypeRequest'
required: true
security:
- cookieAuth: []
@@ -57354,14 +45433,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Module'
+ $ref: '#/components/schemas/ModuleType'
text/csv:
schema:
- $ref: '#/components/schemas/Module'
+ $ref: '#/components/schemas/ModuleType'
description: ''
put:
- operationId: dcim_modules_bulk_update
- description: Update a list of module objects.
+ operationId: dcim_module_types_bulk_update
+ description: Update a list of module type objects.
parameters:
- in: query
name: format
@@ -57378,12 +45457,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableModuleRequest'
+ $ref: '#/components/schemas/BulkWritableModuleTypeRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableModuleRequest'
+ $ref: '#/components/schemas/BulkWritableModuleTypeRequest'
required: true
security:
- cookieAuth: []
@@ -57395,16 +45474,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/Module'
+ $ref: '#/components/schemas/ModuleType'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/Module'
+ $ref: '#/components/schemas/ModuleType'
description: ''
patch:
- operationId: dcim_modules_bulk_partial_update
- description: Partial update a list of module objects.
+ operationId: dcim_module_types_bulk_partial_update
+ description: Partial update a list of module type objects.
parameters:
- in: query
name: format
@@ -57421,12 +45500,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableModuleRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableModuleTypeRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableModuleRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableModuleTypeRequest'
required: true
security:
- cookieAuth: []
@@ -57438,16 +45517,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/Module'
+ $ref: '#/components/schemas/ModuleType'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/Module'
+ $ref: '#/components/schemas/ModuleType'
description: ''
delete:
- operationId: dcim_modules_bulk_destroy
- description: Destroy a list of module objects.
+ operationId: dcim_module_types_bulk_destroy
+ description: Destroy a list of module type objects.
parameters:
- in: query
name: format
@@ -57477,10 +45556,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /dcim/modules/{id}/:
+ /dcim/module-types/{id}/:
get:
- operationId: dcim_modules_retrieve
- description: Retrieve a module object.
+ operationId: dcim_module_types_retrieve
+ description: Retrieve a module type object.
parameters:
- in: query
name: format
@@ -57494,7 +45573,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this module.
+ description: A UUID string identifying this module type.
required: true
- in: query
name: depth
@@ -57505,6 +45584,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -57515,14 +45601,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Module'
+ $ref: '#/components/schemas/ModuleType'
text/csv:
schema:
- $ref: '#/components/schemas/Module'
+ $ref: '#/components/schemas/ModuleType'
description: ''
put:
- operationId: dcim_modules_update
- description: Update a module object.
+ operationId: dcim_module_types_update
+ description: Update a module type object.
parameters:
- in: query
name: format
@@ -57536,7 +45622,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this module.
+ description: A UUID string identifying this module type.
required: true
tags:
- dcim
@@ -57544,10 +45630,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ModuleRequest'
+ $ref: '#/components/schemas/ModuleTypeRequest'
text/csv:
schema:
- $ref: '#/components/schemas/ModuleRequest'
+ $ref: '#/components/schemas/ModuleTypeRequest'
required: true
security:
- cookieAuth: []
@@ -57557,14 +45643,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Module'
+ $ref: '#/components/schemas/ModuleType'
text/csv:
schema:
- $ref: '#/components/schemas/Module'
+ $ref: '#/components/schemas/ModuleType'
description: ''
patch:
- operationId: dcim_modules_partial_update
- description: Partial update a module object.
+ operationId: dcim_module_types_partial_update
+ description: Partial update a module type object.
parameters:
- in: query
name: format
@@ -57578,7 +45664,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this module.
+ description: A UUID string identifying this module type.
required: true
tags:
- dcim
@@ -57586,10 +45672,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedModuleRequest'
+ $ref: '#/components/schemas/PatchedModuleTypeRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedModuleRequest'
+ $ref: '#/components/schemas/PatchedModuleTypeRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -57598,14 +45684,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Module'
+ $ref: '#/components/schemas/ModuleType'
text/csv:
schema:
- $ref: '#/components/schemas/Module'
+ $ref: '#/components/schemas/ModuleType'
description: ''
delete:
- operationId: dcim_modules_destroy
- description: Destroy a module object.
+ operationId: dcim_module_types_destroy
+ description: Destroy a module type object.
parameters:
- in: query
name: format
@@ -57619,7 +45705,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this module.
+ description: A UUID string identifying this module type.
required: true
tags:
- dcim
@@ -57629,9 +45715,9 @@ paths:
responses:
'204':
description: No response body
- /dcim/modules/{id}/notes/:
+ /dcim/module-types/{id}/notes/:
get:
- operationId: dcim_modules_notes_list
+ operationId: dcim_module_types_notes_list
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -57646,7 +45732,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this module.
+ description: A UUID string identifying this module type.
required: true
- name: limit
required: false
@@ -57669,6 +45755,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -57685,7 +45778,7 @@ paths:
$ref: '#/components/schemas/PaginatedNoteList'
description: ''
post:
- operationId: dcim_modules_notes_create
+ operationId: dcim_module_types_notes_create
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -57700,7 +45793,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this module.
+ description: A UUID string identifying this module type.
required: true
tags:
- dcim
@@ -57726,13 +45819,13 @@ paths:
schema:
$ref: '#/components/schemas/Note'
description: ''
- /dcim/platforms/:
+ /dcim/modules/:
get:
- operationId: dcim_platforms_list
- description: Retrieve a list of platform objects.
+ operationId: dcim_modules_list
+ description: Retrieve a list of module objects.
parameters:
- in: query
- name: contacts
+ name: asset_tag
schema:
type: array
items:
@@ -57740,76 +45833,67 @@ paths:
explode: true
style: form
- in: query
- name: contacts__isnull
- schema:
- type: boolean
- description: Contacts (name or ID) is null
- - in: query
- name: contacts__n
+ name: asset_tag__ic
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: created
+ name: asset_tag__ie
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: created__gt
+ name: asset_tag__iew
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: created__gte
+ name: asset_tag__ire
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: created__isnull
+ name: asset_tag__isnull
schema:
type: boolean
- in: query
- name: created__lt
+ name: asset_tag__isw
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: created__lte
+ name: asset_tag__n
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: created__n
+ name: asset_tag__nic
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: description
+ name: asset_tag__nie
schema:
type: array
items:
@@ -57817,7 +45901,7 @@ paths:
explode: true
style: form
- in: query
- name: description__ic
+ name: asset_tag__niew
schema:
type: array
items:
@@ -57825,7 +45909,7 @@ paths:
explode: true
style: form
- in: query
- name: description__ie
+ name: asset_tag__nire
schema:
type: array
items:
@@ -57833,7 +45917,7 @@ paths:
explode: true
style: form
- in: query
- name: description__iew
+ name: asset_tag__nisw
schema:
type: array
items:
@@ -57841,7 +45925,7 @@ paths:
explode: true
style: form
- in: query
- name: description__ire
+ name: asset_tag__nre
schema:
type: array
items:
@@ -57849,7 +45933,7 @@ paths:
explode: true
style: form
- in: query
- name: description__isw
+ name: asset_tag__re
schema:
type: array
items:
@@ -57857,7 +45941,12 @@ paths:
explode: true
style: form
- in: query
- name: description__n
+ name: compatible_with_module_bay
+ schema:
+ type: string
+ format: uuid
+ - in: query
+ name: console_ports
schema:
type: array
items:
@@ -57865,7 +45954,12 @@ paths:
explode: true
style: form
- in: query
- name: description__nic
+ name: console_ports__isnull
+ schema:
+ type: boolean
+ description: Console Ports (name or ID) is null
+ - in: query
+ name: console_ports__n
schema:
type: array
items:
@@ -57873,7 +45967,7 @@ paths:
explode: true
style: form
- in: query
- name: description__nie
+ name: console_server_ports
schema:
type: array
items:
@@ -57881,7 +45975,12 @@ paths:
explode: true
style: form
- in: query
- name: description__niew
+ name: console_server_ports__isnull
+ schema:
+ type: boolean
+ description: Console Server Ports (name or ID) is null
+ - in: query
+ name: console_server_ports__n
schema:
type: array
items:
@@ -57889,7 +45988,7 @@ paths:
explode: true
style: form
- in: query
- name: description__nire
+ name: contacts
schema:
type: array
items:
@@ -57897,7 +45996,12 @@ paths:
explode: true
style: form
- in: query
- name: description__nisw
+ name: contacts__isnull
+ schema:
+ type: boolean
+ description: Contacts (name or ID) is null
+ - in: query
+ name: contacts__n
schema:
type: array
items:
@@ -57905,41 +46009,69 @@ paths:
explode: true
style: form
- in: query
- name: description__nre
+ name: created
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: description__re
+ name: created__gt
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: devices
+ name: created__gte
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: devices__isnull
+ name: created__isnull
schema:
type: boolean
- in: query
- name: devices__n
+ name: created__lt
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: created__lte
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: created__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: device
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
@@ -57953,9 +46085,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -57964,15 +46098,76 @@ paths:
- csv
- json
- in: query
- name: has_devices
+ name: front_ports
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: front_ports__isnull
schema:
type: boolean
- description: Has devices
+ description: Front Ports (name or ID) is null
- in: query
- name: has_virtual_machines
+ name: front_ports__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: has_console_ports
schema:
type: boolean
- description: Has virtual machines
+ description: Has console ports
+ - in: query
+ name: has_console_server_ports
+ schema:
+ type: boolean
+ description: Has console server ports
+ - in: query
+ name: has_empty_module_bays
+ schema:
+ type: boolean
+ description: Has empty module bays
+ - in: query
+ name: has_front_ports
+ schema:
+ type: boolean
+ description: Has front ports
+ - in: query
+ name: has_interfaces
+ schema:
+ type: boolean
+ description: Has interfaces
+ - in: query
+ name: has_module_bays
+ schema:
+ type: boolean
+ description: Has module bays
+ - in: query
+ name: has_modules
+ schema:
+ type: boolean
+ description: Has modules
+ - in: query
+ name: has_power_outlets
+ schema:
+ type: boolean
+ description: Has power outlets
+ - in: query
+ name: has_power_ports
+ schema:
+ type: boolean
+ description: Has power ports
+ - in: query
+ name: has_rear_ports
+ schema:
+ type: boolean
+ description: Has rear ports
- in: query
name: id
schema:
@@ -57985,7 +46180,7 @@ paths:
description: Unique object identifier, either a UUID primary key or a composite
key.
- in: query
- name: id__ic
+ name: id__n
schema:
type: array
items:
@@ -57994,232 +46189,244 @@ paths:
explode: true
style: form
- in: query
- name: id__ie
+ name: interfaces
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__iew
+ name: interfaces__isnull
+ schema:
+ type: boolean
+ description: Interfaces (name or ID) is null
+ - in: query
+ name: interfaces__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ire
+ name: is_installed
+ schema:
+ type: boolean
+ description: Is installed in a module bay
+ - in: query
+ name: last_updated
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__isw
+ name: last_updated__gt
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__n
+ name: last_updated__gte
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__nic
+ name: last_updated__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: last_updated__lt
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__nie
+ name: last_updated__lte
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__niew
+ name: last_updated__n
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
- in: query
- name: id__nire
+ name: location
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nisw
+ name: location__isnull
+ schema:
+ type: boolean
+ description: Location (name or ID) is null
+ - in: query
+ name: location__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nre
+ name: mac_address
schema:
type: array
items:
type: string
- format: uuid
+ description: MAC address
explode: true
style: form
- in: query
- name: id__re
+ name: mac_address__ic
schema:
type: array
items:
type: string
- format: uuid
+ description: MAC address contains
explode: true
style: form
- in: query
- name: last_updated
+ name: mac_address__ie
schema:
type: array
items:
type: string
- format: date-time
+ description: MAC address
explode: true
style: form
- in: query
- name: last_updated__gt
+ name: mac_address__iew
schema:
type: array
items:
type: string
- format: date-time
+ description: MAC address ends with
explode: true
style: form
- in: query
- name: last_updated__gte
+ name: mac_address__ire
schema:
type: array
items:
type: string
- format: date-time
+ description: MAC address matches regex
explode: true
style: form
- in: query
- name: last_updated__isnull
- schema:
- type: boolean
- - in: query
- name: last_updated__lt
+ name: mac_address__isw
schema:
type: array
items:
type: string
- format: date-time
+ description: MAC address starts with
explode: true
style: form
- in: query
- name: last_updated__lte
+ name: mac_address__n
schema:
type: array
items:
type: string
- format: date-time
+ description: Exclude MAC address
explode: true
style: form
- in: query
- name: last_updated__n
+ name: mac_address__nic
schema:
type: array
items:
type: string
- format: date-time
+ description: Exclude MAC address contains
explode: true
style: form
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- in: query
- name: manufacturer
+ name: mac_address__nie
schema:
type: array
items:
type: string
+ description: Exclude MAC address
explode: true
style: form
- in: query
- name: manufacturer__isnull
- schema:
- type: boolean
- description: Manufacturer (name or ID) is null
- - in: query
- name: manufacturer__n
+ name: mac_address__niew
schema:
type: array
items:
type: string
+ description: Exclude MAC address ends with
explode: true
style: form
- in: query
- name: name
+ name: mac_address__nire
schema:
type: array
items:
type: string
+ description: Exclude MAC address matches regex
explode: true
style: form
- in: query
- name: name__ic
+ name: mac_address__nisw
schema:
type: array
items:
type: string
+ description: Exclude MAC address starts with
explode: true
style: form
- in: query
- name: name__ie
+ name: mac_address__nre
schema:
type: array
items:
type: string
+ description: Exclude MAC address matches regex
explode: true
style: form
- in: query
- name: name__iew
+ name: mac_address__re
schema:
type: array
items:
type: string
+ description: MAC address matches regex
explode: true
style: form
- in: query
- name: name__ire
+ name: manufacturer
schema:
type: array
items:
@@ -58227,7 +46434,7 @@ paths:
explode: true
style: form
- in: query
- name: name__isw
+ name: manufacturer__n
schema:
type: array
items:
@@ -58235,23 +46442,32 @@ paths:
explode: true
style: form
- in: query
- name: name__n
+ name: module_bays
schema:
type: array
items:
type: string
+ format: uuid
+ description: Module Bays
explode: true
style: form
- in: query
- name: name__nic
+ name: module_bays__isnull
+ schema:
+ type: boolean
+ description: Module Bays is null
+ - in: query
+ name: module_bays__n
schema:
type: array
items:
type: string
+ format: uuid
+ description: Exclude Module Bays
explode: true
style: form
- in: query
- name: name__nie
+ name: module_family
schema:
type: array
items:
@@ -58259,7 +46475,12 @@ paths:
explode: true
style: form
- in: query
- name: name__niew
+ name: module_family__isnull
+ schema:
+ type: boolean
+ description: Module family (name or ID) is null
+ - in: query
+ name: module_family__n
schema:
type: array
items:
@@ -58267,7 +46488,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nire
+ name: module_type
schema:
type: array
items:
@@ -58275,31 +46496,46 @@ paths:
explode: true
style: form
- in: query
- name: name__nisw
+ name: module_type__n
schema:
type: array
items:
type: string
explode: true
style: form
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
- in: query
- name: name__nre
+ name: parent_module_bay
schema:
type: array
items:
type: string
+ format: uuid
+ description: Parent Module Bay
explode: true
style: form
- in: query
- name: name__re
+ name: parent_module_bay__isnull
+ schema:
+ type: boolean
+ description: Parent Module Bay is null
+ - in: query
+ name: parent_module_bay__n
schema:
type: array
items:
type: string
+ format: uuid
+ description: Exclude Parent Module Bay
explode: true
style: form
- in: query
- name: napalm_args
+ name: power_outlets
schema:
type: array
items:
@@ -58307,7 +46543,12 @@ paths:
explode: true
style: form
- in: query
- name: napalm_driver
+ name: power_outlets__isnull
+ schema:
+ type: boolean
+ description: Power Outlets (name or ID) is null
+ - in: query
+ name: power_outlets__n
schema:
type: array
items:
@@ -58315,7 +46556,7 @@ paths:
explode: true
style: form
- in: query
- name: napalm_driver__ic
+ name: power_ports
schema:
type: array
items:
@@ -58323,7 +46564,12 @@ paths:
explode: true
style: form
- in: query
- name: napalm_driver__ie
+ name: power_ports__isnull
+ schema:
+ type: boolean
+ description: Power Ports (name or ID) is null
+ - in: query
+ name: power_ports__n
schema:
type: array
items:
@@ -58331,7 +46577,12 @@ paths:
explode: true
style: form
- in: query
- name: napalm_driver__iew
+ name: q
+ schema:
+ type: string
+ description: Search
+ - in: query
+ name: rear_ports
schema:
type: array
items:
@@ -58339,7 +46590,12 @@ paths:
explode: true
style: form
- in: query
- name: napalm_driver__ire
+ name: rear_ports__isnull
+ schema:
+ type: boolean
+ description: Rear Ports (name or ID) is null
+ - in: query
+ name: rear_ports__n
schema:
type: array
items:
@@ -58347,7 +46603,7 @@ paths:
explode: true
style: form
- in: query
- name: napalm_driver__isw
+ name: role
schema:
type: array
items:
@@ -58355,7 +46611,12 @@ paths:
explode: true
style: form
- in: query
- name: napalm_driver__n
+ name: role__isnull
+ schema:
+ type: boolean
+ description: Role (name or ID) is null
+ - in: query
+ name: role__n
schema:
type: array
items:
@@ -58363,7 +46624,7 @@ paths:
explode: true
style: form
- in: query
- name: napalm_driver__nic
+ name: serial
schema:
type: array
items:
@@ -58371,7 +46632,7 @@ paths:
explode: true
style: form
- in: query
- name: napalm_driver__nie
+ name: serial__ic
schema:
type: array
items:
@@ -58379,7 +46640,7 @@ paths:
explode: true
style: form
- in: query
- name: napalm_driver__niew
+ name: serial__ie
schema:
type: array
items:
@@ -58387,7 +46648,7 @@ paths:
explode: true
style: form
- in: query
- name: napalm_driver__nire
+ name: serial__iew
schema:
type: array
items:
@@ -58395,7 +46656,7 @@ paths:
explode: true
style: form
- in: query
- name: napalm_driver__nisw
+ name: serial__ire
schema:
type: array
items:
@@ -58403,7 +46664,11 @@ paths:
explode: true
style: form
- in: query
- name: napalm_driver__nre
+ name: serial__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: serial__isw
schema:
type: array
items:
@@ -58411,7 +46676,7 @@ paths:
explode: true
style: form
- in: query
- name: napalm_driver__re
+ name: serial__n
schema:
type: array
items:
@@ -58419,7 +46684,7 @@ paths:
explode: true
style: form
- in: query
- name: network_driver
+ name: serial__nic
schema:
type: array
items:
@@ -58427,7 +46692,7 @@ paths:
explode: true
style: form
- in: query
- name: network_driver__ic
+ name: serial__nie
schema:
type: array
items:
@@ -58435,7 +46700,7 @@ paths:
explode: true
style: form
- in: query
- name: network_driver__ie
+ name: serial__niew
schema:
type: array
items:
@@ -58443,7 +46708,7 @@ paths:
explode: true
style: form
- in: query
- name: network_driver__iew
+ name: serial__nire
schema:
type: array
items:
@@ -58451,7 +46716,7 @@ paths:
explode: true
style: form
- in: query
- name: network_driver__ire
+ name: serial__nisw
schema:
type: array
items:
@@ -58459,7 +46724,7 @@ paths:
explode: true
style: form
- in: query
- name: network_driver__isw
+ name: serial__nre
schema:
type: array
items:
@@ -58467,15 +46732,21 @@ paths:
explode: true
style: form
- in: query
- name: network_driver__n
+ name: serial__re
schema:
type: array
items:
type: string
explode: true
style: form
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
+ schema:
+ type: string
- in: query
- name: network_driver__nic
+ name: status
schema:
type: array
items:
@@ -58483,7 +46754,7 @@ paths:
explode: true
style: form
- in: query
- name: network_driver__nie
+ name: status__n
schema:
type: array
items:
@@ -58491,7 +46762,7 @@ paths:
explode: true
style: form
- in: query
- name: network_driver__niew
+ name: tags
schema:
type: array
items:
@@ -58499,7 +46770,11 @@ paths:
explode: true
style: form
- in: query
- name: network_driver__nire
+ name: tags__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: tags__n
schema:
type: array
items:
@@ -58507,7 +46782,7 @@ paths:
explode: true
style: form
- in: query
- name: network_driver__nisw
+ name: teams
schema:
type: array
items:
@@ -58515,7 +46790,12 @@ paths:
explode: true
style: form
- in: query
- name: network_driver__nre
+ name: teams__isnull
+ schema:
+ type: boolean
+ description: Teams (name or ID) is null
+ - in: query
+ name: teams__n
schema:
type: array
items:
@@ -58523,32 +46803,28 @@ paths:
explode: true
style: form
- in: query
- name: network_driver__re
+ name: tenant
schema:
type: array
items:
type: string
explode: true
style: form
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- in: query
- name: q
+ name: tenant__isnull
schema:
- type: string
- description: Search
- - name: sort
- required: false
- in: query
- description: Which field to use when ordering the results.
+ type: boolean
+ description: Tenant (name or ID) is null
+ - in: query
+ name: tenant__n
schema:
- type: string
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: teams
+ name: tenant_group
schema:
type: array
items:
@@ -58556,36 +46832,43 @@ paths:
explode: true
style: form
- in: query
- name: teams__isnull
+ name: tenant_group__isnull
schema:
type: boolean
- description: Teams (name or ID) is null
+ description: Tenant Group (name or ID) is null
- in: query
- name: teams__n
+ name: tenant_group__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: virtual_machines
+ name: tenant_id
schema:
type: array
items:
type: string
format: uuid
+ nullable: true
+ description: Tenant (ID) (deprecated, use "tenant" filter instead)
explode: true
style: form
- in: query
- name: virtual_machines__isnull
+ name: tenant_id__isnull
schema:
type: boolean
+ description: Tenant (ID) (deprecated, use "tenant" filter instead) is null
- in: query
- name: virtual_machines__n
+ name: tenant_id__n
schema:
type: array
items:
type: string
format: uuid
+ nullable: true
+ description: Exclude Tenant (ID) (deprecated, use "tenant" filter instead)
explode: true
style: form
- in: query
@@ -58597,6 +46880,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -58607,14 +46897,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedPlatformList'
+ $ref: '#/components/schemas/PaginatedModuleList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedPlatformList'
+ $ref: '#/components/schemas/PaginatedModuleList'
description: ''
post:
- operationId: dcim_platforms_create
- description: Create one or more platform objects.
+ operationId: dcim_modules_create
+ description: Create one or more module objects.
parameters:
- in: query
name: format
@@ -58629,10 +46919,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PlatformRequest'
+ $ref: '#/components/schemas/ModuleRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PlatformRequest'
+ $ref: '#/components/schemas/ModuleRequest'
required: true
security:
- cookieAuth: []
@@ -58642,14 +46932,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Platform'
+ $ref: '#/components/schemas/Module'
text/csv:
schema:
- $ref: '#/components/schemas/Platform'
+ $ref: '#/components/schemas/Module'
description: ''
put:
- operationId: dcim_platforms_bulk_update
- description: Update a list of platform objects.
+ operationId: dcim_modules_bulk_update
+ description: Update a list of module objects.
parameters:
- in: query
name: format
@@ -58666,12 +46956,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritablePlatformRequest'
+ $ref: '#/components/schemas/BulkWritableModuleRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritablePlatformRequest'
+ $ref: '#/components/schemas/BulkWritableModuleRequest'
required: true
security:
- cookieAuth: []
@@ -58683,16 +46973,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/Platform'
+ $ref: '#/components/schemas/Module'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/Platform'
+ $ref: '#/components/schemas/Module'
description: ''
patch:
- operationId: dcim_platforms_bulk_partial_update
- description: Partial update a list of platform objects.
+ operationId: dcim_modules_bulk_partial_update
+ description: Partial update a list of module objects.
parameters:
- in: query
name: format
@@ -58709,12 +46999,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritablePlatformRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableModuleRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritablePlatformRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableModuleRequest'
required: true
security:
- cookieAuth: []
@@ -58726,16 +47016,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/Platform'
+ $ref: '#/components/schemas/Module'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/Platform'
+ $ref: '#/components/schemas/Module'
description: ''
delete:
- operationId: dcim_platforms_bulk_destroy
- description: Destroy a list of platform objects.
+ operationId: dcim_modules_bulk_destroy
+ description: Destroy a list of module objects.
parameters:
- in: query
name: format
@@ -58765,10 +47055,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /dcim/platforms/{id}/:
+ /dcim/modules/{id}/:
get:
- operationId: dcim_platforms_retrieve
- description: Retrieve a platform object.
+ operationId: dcim_modules_retrieve
+ description: Retrieve a module object.
parameters:
- in: query
name: format
@@ -58782,7 +47072,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this platform.
+ description: A UUID string identifying this module.
required: true
- in: query
name: depth
@@ -58793,6 +47083,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -58803,14 +47100,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Platform'
+ $ref: '#/components/schemas/Module'
text/csv:
schema:
- $ref: '#/components/schemas/Platform'
+ $ref: '#/components/schemas/Module'
description: ''
put:
- operationId: dcim_platforms_update
- description: Update a platform object.
+ operationId: dcim_modules_update
+ description: Update a module object.
parameters:
- in: query
name: format
@@ -58824,7 +47121,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this platform.
+ description: A UUID string identifying this module.
required: true
tags:
- dcim
@@ -58832,10 +47129,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PlatformRequest'
+ $ref: '#/components/schemas/ModuleRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PlatformRequest'
+ $ref: '#/components/schemas/ModuleRequest'
required: true
security:
- cookieAuth: []
@@ -58845,14 +47142,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Platform'
+ $ref: '#/components/schemas/Module'
text/csv:
schema:
- $ref: '#/components/schemas/Platform'
+ $ref: '#/components/schemas/Module'
description: ''
patch:
- operationId: dcim_platforms_partial_update
- description: Partial update a platform object.
+ operationId: dcim_modules_partial_update
+ description: Partial update a module object.
parameters:
- in: query
name: format
@@ -58866,7 +47163,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this platform.
+ description: A UUID string identifying this module.
required: true
tags:
- dcim
@@ -58874,10 +47171,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedPlatformRequest'
+ $ref: '#/components/schemas/PatchedModuleRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedPlatformRequest'
+ $ref: '#/components/schemas/PatchedModuleRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -58886,14 +47183,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Platform'
+ $ref: '#/components/schemas/Module'
text/csv:
schema:
- $ref: '#/components/schemas/Platform'
+ $ref: '#/components/schemas/Module'
description: ''
delete:
- operationId: dcim_platforms_destroy
- description: Destroy a platform object.
+ operationId: dcim_modules_destroy
+ description: Destroy a module object.
parameters:
- in: query
name: format
@@ -58907,7 +47204,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this platform.
+ description: A UUID string identifying this module.
required: true
tags:
- dcim
@@ -58917,9 +47214,9 @@ paths:
responses:
'204':
description: No response body
- /dcim/platforms/{id}/notes/:
+ /dcim/modules/{id}/notes/:
get:
- operationId: dcim_platforms_notes_list
+ operationId: dcim_modules_notes_list
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -58934,7 +47231,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this platform.
+ description: A UUID string identifying this module.
required: true
- name: limit
required: false
@@ -58957,6 +47254,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -58973,7 +47277,7 @@ paths:
$ref: '#/components/schemas/PaginatedNoteList'
description: ''
post:
- operationId: dcim_platforms_notes_create
+ operationId: dcim_modules_notes_create
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -58988,7 +47292,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this platform.
+ description: A UUID string identifying this module.
required: true
tags:
- dcim
@@ -59014,10 +47318,10 @@ paths:
schema:
$ref: '#/components/schemas/Note'
description: ''
- /dcim/power-connections/:
+ /dcim/platforms/:
get:
- operationId: dcim_power_connections_list
- description: Retrieve a list of power port objects.
+ operationId: dcim_platforms_list
+ description: Retrieve a list of platform objects.
parameters:
- in: query
name: contacts
@@ -59034,191 +47338,160 @@ paths:
description: Contacts (name or ID) is null
- in: query
name: contacts__n
- schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
- - in: query
- name: device
schema:
type: array
items:
type: string
- description: Device (name)
explode: true
style: form
- in: query
- name: device_id
+ name: created
schema:
type: array
items:
type: string
- format: uuid
- description: Device (ID)
+ format: date-time
explode: true
style: form
- in: query
- name: dynamic_groups
+ name: created__gt
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: dynamic_groups__n
+ name: created__gte
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
- in: query
- name: format
+ name: created__isnull
schema:
- type: string
- enum:
- - csv
- - json
+ type: boolean
- in: query
- name: id
+ name: created__lt
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- description: Unique object identifier, either a UUID primary key or a composite
- key.
- in: query
- name: id__ic
+ name: created__lte
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__ie
+ name: created__n
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__iew
+ name: description
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ire
+ name: description__ic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__isw
+ name: description__ie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__n
+ name: description__iew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nic
+ name: description__ire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nie
+ name: description__isw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__niew
+ name: description__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nire
+ name: description__nic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nisw
+ name: description__nie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nre
+ name: description__niew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__re
+ name: description__nire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- - in: query
- name: location
- schema:
- type: string
- description: Location (name)
- in: query
- name: name
+ name: description__nisw
schema:
type: array
items:
@@ -59226,7 +47499,7 @@ paths:
explode: true
style: form
- in: query
- name: name__ic
+ name: description__nre
schema:
type: array
items:
@@ -59234,7 +47507,7 @@ paths:
explode: true
style: form
- in: query
- name: name__ie
+ name: description__re
schema:
type: array
items:
@@ -59242,23 +47515,29 @@ paths:
explode: true
style: form
- in: query
- name: name__iew
+ name: devices
schema:
type: array
items:
type: string
+ format: uuid
explode: true
style: form
- in: query
- name: name__ire
+ name: devices__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: devices__n
schema:
type: array
items:
type: string
+ format: uuid
explode: true
style: form
- in: query
- name: name__isw
+ name: dynamic_groups
schema:
type: array
items:
@@ -59266,7 +47545,7 @@ paths:
explode: true
style: form
- in: query
- name: name__n
+ name: dynamic_groups__n
schema:
type: array
items:
@@ -59274,243 +47553,217 @@ paths:
explode: true
style: form
- in: query
- name: name__nic
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: query
+ name: has_devices
+ schema:
+ type: boolean
+ description: Has devices
+ - in: query
+ name: has_virtual_machines
+ schema:
+ type: boolean
+ description: Has virtual machines
+ - in: query
+ name: id
schema:
type: array
items:
type: string
+ format: uuid
explode: true
style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
- name: name__nie
+ name: id__n
schema:
type: array
items:
type: string
+ format: uuid
explode: true
style: form
- in: query
- name: name__niew
+ name: last_updated
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: name__nire
+ name: last_updated__gt
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: name__nisw
+ name: last_updated__gte
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: name__nre
+ name: last_updated__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: last_updated__lt
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: name__re
+ name: last_updated__lte
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- - name: sort
- required: false
- in: query
- description: Which field to use when ordering the results.
- schema:
- type: string
- in: query
- name: teams
+ name: last_updated__n
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- - in: query
- name: teams__isnull
- schema:
- type: boolean
- description: Teams (name or ID) is null
- - in: query
- name: teams__n
- schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
- - in: query
- name: depth
+ - name: limit
required: false
- description: Serializer Depth
+ in: query
+ description: Number of results to return per page.
schema:
type: integer
- minimum: 0
- maximum: 10
- default: 1
- tags:
- - dcim
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedPowerPortList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedPowerPortList'
- description: ''
- /dcim/power-feeds/:
- get:
- operationId: dcim_power_feeds_list
- description: Retrieve a list of power feed objects.
- parameters:
- in: query
- name: amperage
+ name: manufacturer
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: amperage__gt
+ name: manufacturer__isnull
schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
+ type: boolean
+ description: Manufacturer (name or ID) is null
- in: query
- name: amperage__gte
+ name: manufacturer__n
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: amperage__lt
+ name: name
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: amperage__lte
+ name: name__ic
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: amperage__n
+ name: name__ie
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: available_power
+ name: name__iew
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: available_power__gt
+ name: name__ire
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: available_power__gte
+ name: name__isw
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: available_power__lt
+ name: name__n
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: available_power__lte
+ name: name__nic
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: available_power__n
+ name: name__nie
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: cable
+ name: name__niew
schema:
type: array
items:
type: string
- format: uuid
- description: Cable
explode: true
style: form
- in: query
- name: cable__isnull
- schema:
- type: boolean
- - in: query
- name: cable__n
+ name: name__nire
schema:
type: array
items:
type: string
- format: uuid
- description: Cable
explode: true
style: form
- in: query
- name: comments
+ name: name__nisw
schema:
type: array
items:
@@ -59518,7 +47771,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__ic
+ name: name__nre
schema:
type: array
items:
@@ -59526,7 +47779,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__ie
+ name: name__re
schema:
type: array
items:
@@ -59534,7 +47787,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__iew
+ name: napalm_args
schema:
type: array
items:
@@ -59542,7 +47795,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__ire
+ name: napalm_driver
schema:
type: array
items:
@@ -59550,7 +47803,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__isw
+ name: napalm_driver__ic
schema:
type: array
items:
@@ -59558,7 +47811,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__n
+ name: napalm_driver__ie
schema:
type: array
items:
@@ -59566,7 +47819,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__nic
+ name: napalm_driver__iew
schema:
type: array
items:
@@ -59574,7 +47827,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__nie
+ name: napalm_driver__ire
schema:
type: array
items:
@@ -59582,7 +47835,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__niew
+ name: napalm_driver__isw
schema:
type: array
items:
@@ -59590,7 +47843,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__nire
+ name: napalm_driver__n
schema:
type: array
items:
@@ -59598,7 +47851,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__nisw
+ name: napalm_driver__nic
schema:
type: array
items:
@@ -59606,7 +47859,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__nre
+ name: napalm_driver__nie
schema:
type: array
items:
@@ -59614,7 +47867,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__re
+ name: napalm_driver__niew
schema:
type: array
items:
@@ -59622,12 +47875,7 @@ paths:
explode: true
style: form
- in: query
- name: connected
- schema:
- type: boolean
- description: Connected status (bool)
- - in: query
- name: contacts
+ name: napalm_driver__nire
schema:
type: array
items:
@@ -59635,76 +47883,55 @@ paths:
explode: true
style: form
- in: query
- name: contacts__isnull
- schema:
- type: boolean
- description: Contacts (name or ID) is null
- - in: query
- name: contacts__n
- schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
- - in: query
- name: created
+ name: napalm_driver__nisw
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: created__gt
+ name: napalm_driver__nre
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: created__gte
+ name: napalm_driver__re
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: created__isnull
- schema:
- type: boolean
- - in: query
- name: created__lt
+ name: network_driver
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: created__lte
+ name: network_driver__ic
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: created__n
+ name: network_driver__ie
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: dynamic_groups
+ name: network_driver__iew
schema:
type: array
items:
@@ -59712,135 +47939,125 @@ paths:
explode: true
style: form
- in: query
- name: dynamic_groups__n
- schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: query
- name: has_cable
- schema:
- type: boolean
- description: Has cable
- - in: query
- name: id
+ name: network_driver__ire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- description: Unique object identifier, either a UUID primary key or a composite
- key.
- in: query
- name: id__ic
+ name: network_driver__isw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ie
+ name: network_driver__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__iew
+ name: network_driver__nic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ire
+ name: network_driver__nie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__isw
+ name: network_driver__niew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__n
+ name: network_driver__nire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nic
+ name: network_driver__nisw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nie
+ name: network_driver__nre
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__niew
+ name: network_driver__re
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
+ - in: query
+ name: q
+ schema:
+ type: string
+ description: Search
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
+ schema:
+ type: string
- in: query
- name: id__nire
+ name: teams
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nisw
+ name: teams__isnull
+ schema:
+ type: boolean
+ description: Teams (name or ID) is null
+ - in: query
+ name: teams__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nre
+ name: virtual_machines
schema:
type: array
items:
@@ -59849,7 +48066,11 @@ paths:
explode: true
style: form
- in: query
- name: id__re
+ name: virtual_machines__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: virtual_machines__n
schema:
type: array
items:
@@ -59858,71 +48079,459 @@ paths:
explode: true
style: form
- in: query
- name: last_updated
+ name: depth
+ required: false
+ description: Serializer Depth
schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
- in: query
- name: last_updated__gt
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
+ type: boolean
+ default: false
+ tags:
+ - dcim
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PaginatedPlatformList'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PaginatedPlatformList'
+ description: ''
+ post:
+ operationId: dcim_platforms_create
+ description: Create one or more platform objects.
+ parameters:
- in: query
- name: last_updated__gte
+ name: format
schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - dcim
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PlatformRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PlatformRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '201':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Platform'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/Platform'
+ description: ''
+ put:
+ operationId: dcim_platforms_bulk_update
+ description: Update a list of platform objects.
+ parameters:
- in: query
- name: last_updated__isnull
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - dcim
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkWritablePlatformRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkWritablePlatformRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Platform'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Platform'
+ description: ''
+ patch:
+ operationId: dcim_platforms_bulk_partial_update
+ description: Partial update a list of platform objects.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - dcim
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/PatchedBulkWritablePlatformRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/PatchedBulkWritablePlatformRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Platform'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Platform'
+ description: ''
+ delete:
+ operationId: dcim_platforms_bulk_destroy
+ description: Destroy a list of platform objects.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - dcim
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '204':
+ description: No response body
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkOperationRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkOperationRequest'
+ required: true
+ /dcim/platforms/{id}/:
+ get:
+ operationId: dcim_platforms_retrieve
+ description: Retrieve a platform object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this platform.
+ required: true
+ - in: query
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
schema:
type: boolean
+ default: false
+ tags:
+ - dcim
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Platform'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/Platform'
+ description: ''
+ put:
+ operationId: dcim_platforms_update
+ description: Update a platform object.
+ parameters:
- in: query
- name: last_updated__lt
+ name: format
schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this platform.
+ required: true
+ tags:
+ - dcim
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PlatformRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PlatformRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Platform'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/Platform'
+ description: ''
+ patch:
+ operationId: dcim_platforms_partial_update
+ description: Partial update a platform object.
+ parameters:
- in: query
- name: last_updated__lte
+ name: format
schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this platform.
+ required: true
+ tags:
+ - dcim
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PatchedPlatformRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PatchedPlatformRequest'
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Platform'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/Platform'
+ description: ''
+ delete:
+ operationId: dcim_platforms_destroy
+ description: Destroy a platform object.
+ parameters:
- in: query
- name: last_updated__n
+ name: format
schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this platform.
+ required: true
+ tags:
+ - dcim
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '204':
+ description: No response body
+ /dcim/platforms/{id}/notes/:
+ get:
+ operationId: dcim_platforms_notes_list
+ description: API methods for returning or creating notes on an object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this platform.
+ required: true
- name: limit
required: false
in: query
description: Number of results to return per page.
schema:
type: integer
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
- in: query
- name: location
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
+ tags:
+ - dcim
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PaginatedNoteList'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PaginatedNoteList'
+ description: ''
+ post:
+ operationId: dcim_platforms_notes_create
+ description: API methods for returning or creating notes on an object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this platform.
+ required: true
+ tags:
+ - dcim
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/NoteInputRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/NoteInputRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '201':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Note'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/Note'
+ description: ''
+ /dcim/power-connections/:
+ get:
+ operationId: dcim_power_connections_list
+ description: Retrieve a list of power port objects.
+ parameters:
+ - in: query
+ name: contacts
schema:
type: array
items:
@@ -59930,7 +48539,12 @@ paths:
explode: true
style: form
- in: query
- name: location__n
+ name: contacts__isnull
+ schema:
+ type: boolean
+ description: Contacts (name or ID) is null
+ - in: query
+ name: contacts__n
schema:
type: array
items:
@@ -59938,53 +48552,78 @@ paths:
explode: true
style: form
- in: query
- name: max_utilization
+ name: device
schema:
type: array
items:
- type: integer
+ type: string
+ description: Device (name)
explode: true
style: form
- in: query
- name: max_utilization__gt
+ name: device_id
schema:
type: array
items:
- type: integer
+ type: string
+ format: uuid
+ description: Device (ID)
explode: true
style: form
- in: query
- name: max_utilization__gte
+ name: dynamic_groups
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: max_utilization__lt
+ name: dynamic_groups__n
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: max_utilization__lte
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: query
+ name: id
schema:
type: array
items:
- type: integer
+ type: string
+ format: uuid
explode: true
style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
- name: max_utilization__n
+ name: id__n
schema:
type: array
items:
- type: integer
+ type: string
+ format: uuid
explode: true
style: form
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
+ - in: query
+ name: location
+ schema:
+ type: string
+ description: Location (name)
- in: query
name: name
schema:
@@ -60103,8 +48742,14 @@ paths:
description: The initial index from which to return the results.
schema:
type: integer
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
+ schema:
+ type: string
- in: query
- name: phase
+ name: teams
schema:
type: array
items:
@@ -60112,7 +48757,12 @@ paths:
explode: true
style: form
- in: query
- name: phase__ic
+ name: teams__isnull
+ schema:
+ type: boolean
+ description: Teams (name or ID) is null
+ - in: query
+ name: teams__n
schema:
type: array
items:
@@ -60120,95 +48770,952 @@ paths:
explode: true
style: form
- in: query
- name: phase__ie
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
+ tags:
+ - dcim
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PaginatedPowerPortList'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PaginatedPowerPortList'
+ description: ''
+ /dcim/power-feeds/:
+ get:
+ operationId: dcim_power_feeds_list
+ description: Retrieve a list of power feed objects.
+ parameters:
+ - in: query
+ name: amperage
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: phase__iew
+ name: amperage__gt
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: phase__ire
+ name: amperage__gte
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: phase__isw
+ name: amperage__lt
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: phase__n
+ name: amperage__lte
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: phase__nic
+ name: amperage__n
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: phase__nie
+ name: available_power
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: phase__niew
+ name: available_power__gt
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: phase__nire
+ name: available_power__gte
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: phase__nisw
+ name: available_power__lt
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: phase__nre
+ name: available_power__lte
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: phase__re
+ name: available_power__n
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: breaker_pole_count
+ schema:
+ type: array
+ items:
+ type: integer
+ nullable: true
+ description: Number of breaker poles
+ explode: true
+ style: form
+ - in: query
+ name: breaker_pole_count__ic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: breaker_pole_count__ie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: breaker_pole_count__iew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: breaker_pole_count__ire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: breaker_pole_count__isnull
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: breaker_pole_count__isw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: breaker_pole_count__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: breaker_pole_count__nic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: breaker_pole_count__nie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: breaker_pole_count__niew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: breaker_pole_count__nire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: breaker_pole_count__nisw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: breaker_pole_count__nre
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: breaker_pole_count__re
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: breaker_position
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: breaker_position__gt
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: breaker_position__gte
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: breaker_position__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: breaker_position__lt
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: breaker_position__lte
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: breaker_position__n
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: cable
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ description: Cable
+ explode: true
+ style: form
+ - in: query
+ name: cable__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: cable__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ description: Cable
+ explode: true
+ style: form
+ - in: query
+ name: comments
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__ic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__ie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__iew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__ire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__isw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__nic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__nie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__niew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__nire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__nisw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__nre
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__re
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: connected
+ schema:
+ type: boolean
+ description: Connected status (bool)
+ - in: query
+ name: contacts
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: contacts__isnull
+ schema:
+ type: boolean
+ description: Contacts (name or ID) is null
+ - in: query
+ name: contacts__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: created
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: created__gt
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: created__gte
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: created__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: created__lt
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: created__lte
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: created__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: destination_panel
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: destination_panel__isnull
+ schema:
+ type: boolean
+ description: Destination panel (name or ID) is null
+ - in: query
+ name: destination_panel__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: dynamic_groups
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: dynamic_groups__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: query
+ name: has_cable
+ schema:
+ type: boolean
+ description: Has cable
+ - in: query
+ name: id
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ explode: true
+ style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
+ - in: query
+ name: id__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ explode: true
+ style: form
+ - in: query
+ name: last_updated
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: last_updated__gt
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: last_updated__gte
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: last_updated__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: last_updated__lt
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: last_updated__lte
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: last_updated__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
+ - in: query
+ name: location
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: location__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: max_utilization
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: max_utilization__gt
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: max_utilization__gte
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: max_utilization__lt
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: max_utilization__lte
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: max_utilization__n
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: name
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__ic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__ie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__iew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__ire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__isw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__nic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__nie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__niew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__nire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__nisw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__nre
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__re
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
+ - in: query
+ name: phase
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: phase__ic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: phase__ie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: phase__iew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: phase__ire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: phase__isw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: phase__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: phase__nic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: phase__nie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: phase__niew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: phase__nire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: phase__nisw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: phase__nre
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: phase__re
schema:
type: array
items:
@@ -60231,6 +49738,119 @@ paths:
type: string
explode: true
style: form
+ - in: query
+ name: power_path
+ schema:
+ type: array
+ items:
+ type: string
+ description: Physical power distribution redundancy path.
+ explode: true
+ style: form
+ - in: query
+ name: power_path__ic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: power_path__ie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: power_path__iew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: power_path__ire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: power_path__isw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: power_path__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: power_path__nic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: power_path__nie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: power_path__niew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: power_path__nire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: power_path__nisw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: power_path__nre
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: power_path__re
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: q
schema:
@@ -60274,9 +49894,11 @@ paths:
- in: query
name: status__n
schema:
- type: string
- format: uuid
- description: Exclude Status (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: supply
schema:
@@ -60425,9 +50047,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: type
schema:
@@ -60597,6 +50221,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -60793,6 +50424,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -60957,6 +50595,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -61043,6 +50688,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -61079,9 +50731,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: description
schema:
@@ -61240,9 +50894,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: feed_leg
schema:
@@ -61298,7 +50954,6 @@ paths:
type: array
items:
type: string
- description: Phase (for three-phase feeds)
explode: true
style: form
- in: query
@@ -61385,137 +51040,125 @@ paths:
explode: true
style: form
- in: query
- name: id__ic
+ name: id__n
schema:
type: array
items:
type: string
format: uuid
- description: ID contains
+ description: Exclude ID
explode: true
style: form
- in: query
- name: id__ie
+ name: label
schema:
type: array
items:
type: string
- format: uuid
- description: ID
+ description: Label
explode: true
style: form
- in: query
- name: id__iew
+ name: label__ic
schema:
type: array
items:
type: string
- format: uuid
- description: ID ends with
+ description: Label
explode: true
style: form
- in: query
- name: id__ire
+ name: label__ie
schema:
type: array
items:
type: string
- format: uuid
- description: ID matches regex
+ description: Label
explode: true
style: form
- in: query
- name: id__isw
+ name: label__iew
schema:
type: array
items:
type: string
- format: uuid
- description: ID starts with
+ description: Label
explode: true
style: form
- in: query
- name: id__n
+ name: label__ire
schema:
type: array
items:
type: string
- format: uuid
- description: Exclude ID
+ description: Label
explode: true
style: form
- in: query
- name: id__nic
+ name: label__isw
schema:
type: array
items:
type: string
- format: uuid
- description: Exclude ID contains
+ description: Label
explode: true
style: form
- in: query
- name: id__nie
+ name: label__n
schema:
type: array
items:
type: string
- format: uuid
- description: Exclude ID
+ description: Label
explode: true
style: form
- in: query
- name: id__niew
+ name: label__nic
schema:
type: array
items:
type: string
- format: uuid
- description: Exclude ID ends with
+ description: Label
explode: true
style: form
- in: query
- name: id__nire
+ name: label__nie
schema:
type: array
items:
type: string
- format: uuid
- description: Exclude ID matches regex
+ description: Label
explode: true
style: form
- in: query
- name: id__nisw
+ name: label__niew
schema:
type: array
items:
type: string
- format: uuid
- description: Exclude ID starts with
+ description: Label
explode: true
style: form
- in: query
- name: id__nre
+ name: label__nire
schema:
type: array
items:
type: string
- format: uuid
- description: Exclude ID matches regex
+ description: Label
explode: true
style: form
- in: query
- name: id__re
+ name: label__nisw
schema:
type: array
items:
type: string
- format: uuid
- description: ID matches regex
+ description: Label
explode: true
style: form
- in: query
- name: label
+ name: label__nre
schema:
type: array
items:
@@ -61524,7 +51167,7 @@ paths:
explode: true
style: form
- in: query
- name: label__ic
+ name: label__re
schema:
type: array
items:
@@ -61532,188 +51175,80 @@ paths:
description: Label
explode: true
style: form
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
- in: query
- name: label__ie
+ name: module_type
schema:
type: array
items:
type: string
- description: Label
explode: true
style: form
- in: query
- name: label__iew
+ name: module_type__isnull
+ schema:
+ type: boolean
+ description: Module type (model or ID) is null
+ - in: query
+ name: module_type__n
schema:
type: array
items:
type: string
- description: Label
explode: true
style: form
- in: query
- name: label__ire
+ name: name
schema:
type: array
items:
type: string
- description: Label
+ description: Name
explode: true
style: form
- in: query
- name: label__isw
+ name: name__ic
schema:
type: array
items:
type: string
- description: Label
+ description: Name
explode: true
style: form
- in: query
- name: label__n
+ name: name__ie
schema:
type: array
items:
type: string
- description: Label
+ description: Name
explode: true
style: form
- in: query
- name: label__nic
+ name: name__iew
schema:
type: array
items:
type: string
- description: Label
+ description: Name
explode: true
style: form
- in: query
- name: label__nie
+ name: name__ire
schema:
type: array
items:
type: string
- description: Label
+ description: Name
explode: true
style: form
- in: query
- name: label__niew
- schema:
- type: array
- items:
- type: string
- description: Label
- explode: true
- style: form
- - in: query
- name: label__nire
- schema:
- type: array
- items:
- type: string
- description: Label
- explode: true
- style: form
- - in: query
- name: label__nisw
- schema:
- type: array
- items:
- type: string
- description: Label
- explode: true
- style: form
- - in: query
- name: label__nre
- schema:
- type: array
- items:
- type: string
- description: Label
- explode: true
- style: form
- - in: query
- name: label__re
- schema:
- type: array
- items:
- type: string
- description: Label
- explode: true
- style: form
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- - in: query
- name: module_type
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: module_type__isnull
- schema:
- type: boolean
- description: Module type (model or ID) is null
- - in: query
- name: module_type__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name
- schema:
- type: array
- items:
- type: string
- description: Name
- explode: true
- style: form
- - in: query
- name: name__ic
- schema:
- type: array
- items:
- type: string
- description: Name
- explode: true
- style: form
- - in: query
- name: name__ie
- schema:
- type: array
- items:
- type: string
- description: Name
- explode: true
- style: form
- - in: query
- name: name__iew
- schema:
- type: array
- items:
- type: string
- description: Name
- explode: true
- style: form
- - in: query
- name: name__ire
- schema:
- type: array
- items:
- type: string
- description: Name
- explode: true
- style: form
- - in: query
- name: name__isw
+ name: name__isw
schema:
type: array
items:
@@ -61847,9 +51382,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: type
schema:
@@ -61971,6 +51508,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -62167,6 +51711,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -62291,103 +51842,6 @@ paths:
responses:
'204':
description: No response body
- /dcim/power-outlet-templates/{id}/notes/:
- get:
- operationId: dcim_power_outlet_templates_notes_list
- description: API methods for returning or creating notes on an object.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this power outlet template.
- required: true
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- - in: query
- name: depth
- required: false
- description: Serializer Depth
- schema:
- type: integer
- minimum: 0
- maximum: 10
- default: 1
- tags:
- - dcim
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- description: ''
- post:
- operationId: dcim_power_outlet_templates_notes_create
- description: API methods for returning or creating notes on an object.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this power outlet template.
- required: true
- tags:
- - dcim
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- required: true
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '201':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Note'
- text/csv:
- schema:
- $ref: '#/components/schemas/Note'
- description: ''
/dcim/power-outlets/:
get:
operationId: dcim_power_outlets_list
@@ -62438,9 +51892,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: description
schema:
@@ -62572,9 +52028,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: feed_leg
schema:
@@ -62630,7 +52088,6 @@ paths:
type: array
items:
type: string
- description: Phase (for three-phase feeds)
explode: true
style: form
- in: query
@@ -62712,51 +52169,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -62766,69 +52178,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: label
schema:
@@ -63173,9 +52522,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: type
schema:
@@ -63191,7 +52542,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -63200,7 +52550,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -63209,7 +52558,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -63218,7 +52566,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -63227,7 +52574,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -63236,7 +52582,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -63245,7 +52590,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -63254,7 +52598,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -63263,7 +52606,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -63272,7 +52614,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -63281,7 +52622,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -63290,7 +52630,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -63299,7 +52638,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -63311,6 +52649,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -63507,6 +52852,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -63671,6 +53023,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -63757,6 +53116,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -63793,9 +53159,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -63865,9 +53233,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -63875,6 +53245,11 @@ paths:
enum:
- csv
- json
+ - in: query
+ name: has_feeders
+ schema:
+ type: boolean
+ description: Has feeders
- in: query
name: has_power_feeds
schema:
@@ -63892,7 +53267,7 @@ paths:
description: Unique object identifier, either a UUID primary key or a composite
key.
- in: query
- name: id__ic
+ name: id__n
schema:
type: array
items:
@@ -63901,179 +53276,175 @@ paths:
explode: true
style: form
- in: query
- name: id__ie
+ name: last_updated
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__iew
+ name: last_updated__gt
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__ire
+ name: last_updated__gte
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__isw
+ name: last_updated__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: last_updated__lt
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__n
+ name: last_updated__lte
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__nic
+ name: last_updated__n
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
- in: query
- name: id__nie
+ name: location
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__niew
+ name: location__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nire
+ name: name
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nisw
+ name: name__ic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nre
+ name: name__ie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__re
+ name: name__iew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: last_updated
+ name: name__ire
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__gt
+ name: name__isw
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__gte
+ name: name__n
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__isnull
+ name: name__nic
schema:
- type: boolean
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: last_updated__lt
+ name: name__nie
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__lte
+ name: name__niew
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__n
+ name: name__nire
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- in: query
- name: location
+ name: name__nisw
schema:
type: array
items:
@@ -64081,7 +53452,7 @@ paths:
explode: true
style: form
- in: query
- name: location__n
+ name: name__nre
schema:
type: array
items:
@@ -64089,15 +53460,21 @@ paths:
explode: true
style: form
- in: query
- name: name
+ name: name__re
schema:
type: array
items:
type: string
explode: true
style: form
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
- in: query
- name: name__ic
+ name: panel_type
schema:
type: array
items:
@@ -64105,7 +53482,7 @@ paths:
explode: true
style: form
- in: query
- name: name__ie
+ name: panel_type__ic
schema:
type: array
items:
@@ -64113,7 +53490,7 @@ paths:
explode: true
style: form
- in: query
- name: name__iew
+ name: panel_type__ie
schema:
type: array
items:
@@ -64121,7 +53498,7 @@ paths:
explode: true
style: form
- in: query
- name: name__ire
+ name: panel_type__iew
schema:
type: array
items:
@@ -64129,7 +53506,7 @@ paths:
explode: true
style: form
- in: query
- name: name__isw
+ name: panel_type__ire
schema:
type: array
items:
@@ -64137,7 +53514,7 @@ paths:
explode: true
style: form
- in: query
- name: name__n
+ name: panel_type__isw
schema:
type: array
items:
@@ -64145,7 +53522,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nic
+ name: panel_type__n
schema:
type: array
items:
@@ -64153,7 +53530,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nie
+ name: panel_type__nic
schema:
type: array
items:
@@ -64161,7 +53538,7 @@ paths:
explode: true
style: form
- in: query
- name: name__niew
+ name: panel_type__nie
schema:
type: array
items:
@@ -64169,7 +53546,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nire
+ name: panel_type__niew
schema:
type: array
items:
@@ -64177,7 +53554,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nisw
+ name: panel_type__nire
schema:
type: array
items:
@@ -64185,7 +53562,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nre
+ name: panel_type__nisw
schema:
type: array
items:
@@ -64193,19 +53570,21 @@ paths:
explode: true
style: form
- in: query
- name: name__re
+ name: panel_type__nre
schema:
type: array
items:
type: string
explode: true
style: form
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
+ - in: query
+ name: panel_type__re
schema:
- type: integer
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: power_feeds
schema:
@@ -64227,6 +53606,119 @@ paths:
type: string
explode: true
style: form
+ - in: query
+ name: power_path
+ schema:
+ type: array
+ items:
+ type: string
+ description: Physical power distribution redundancy path.
+ explode: true
+ style: form
+ - in: query
+ name: power_path__ic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: power_path__ie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: power_path__iew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: power_path__ire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: power_path__isw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: power_path__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: power_path__nic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: power_path__nie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: power_path__niew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: power_path__nire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: power_path__nisw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: power_path__nre
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: power_path__re
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: q
schema:
@@ -64295,9 +53787,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -64307,6 +53801,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -64339,10 +53840,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PowerPanelRequest'
+ $ref: '#/components/schemas/WritablePowerPanelRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PowerPanelRequest'
+ $ref: '#/components/schemas/WritablePowerPanelRequest'
required: true
security:
- cookieAuth: []
@@ -64503,6 +54004,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -64542,10 +54050,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PowerPanelRequest'
+ $ref: '#/components/schemas/WritablePowerPanelRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PowerPanelRequest'
+ $ref: '#/components/schemas/WritablePowerPanelRequest'
required: true
security:
- cookieAuth: []
@@ -64584,10 +54092,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedPowerPanelRequest'
+ $ref: '#/components/schemas/PatchedWritablePowerPanelRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedPowerPanelRequest'
+ $ref: '#/components/schemas/PatchedWritablePowerPanelRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -64667,6 +54175,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -64797,9 +54312,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: description
schema:
@@ -64958,9 +54475,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -64993,56 +54512,6 @@ paths:
description: ID
explode: true
style: form
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID contains
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID ends with
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID matches regex
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID starts with
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -65053,76 +54522,6 @@ paths:
description: Exclude ID
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID contains
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID ends with
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID matches regex
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID starts with
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID matches regex
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID matches regex
- explode: true
- style: form
- in: query
name: label
schema:
@@ -65508,9 +54907,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: type
schema:
@@ -65632,6 +55033,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -65828,6 +55236,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -65952,103 +55367,6 @@ paths:
responses:
'204':
description: No response body
- /dcim/power-port-templates/{id}/notes/:
- get:
- operationId: dcim_power_port_templates_notes_list
- description: API methods for returning or creating notes on an object.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this power port template.
- required: true
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- - in: query
- name: depth
- required: false
- description: Serializer Depth
- schema:
- type: integer
- minimum: 0
- maximum: 10
- default: 1
- tags:
- - dcim
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- description: ''
- post:
- operationId: dcim_power_port_templates_notes_create
- description: API methods for returning or creating notes on an object.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this power port template.
- required: true
- tags:
- - dcim
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- required: true
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '201':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Note'
- text/csv:
- schema:
- $ref: '#/components/schemas/Note'
- description: ''
/dcim/power-ports/:
get:
operationId: dcim_power_ports_list
@@ -66151,9 +55469,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: description
schema:
@@ -66285,9 +55605,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -66316,51 +55638,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -66370,69 +55647,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: label
schema:
@@ -66826,9 +56040,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: type
schema:
@@ -66844,7 +56060,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -66853,7 +56068,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -66862,7 +56076,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -66871,7 +56084,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -66880,7 +56092,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -66889,7 +56100,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -66898,7 +56108,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -66907,7 +56116,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -66916,7 +56124,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -66925,7 +56132,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -66934,7 +56140,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -66943,7 +56148,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -66952,7 +56156,6 @@ paths:
type: array
items:
type: string
- description: Physical port type
explode: true
style: form
- in: query
@@ -66964,6 +56167,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -67160,6 +56370,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -67324,6 +56541,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -67410,6 +56634,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -67430,6 +56661,14 @@ paths:
operationId: dcim_rack_groups_list
description: Retrieve a list of rack group objects.
parameters:
+ - in: query
+ name: ancestors
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: children
schema:
@@ -67467,9 +56706,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -67651,9 +56892,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -67687,51 +56930,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -67741,69 +56939,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: last_updated
schema:
@@ -68093,9 +57228,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -68105,6 +57242,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -68301,6 +57445,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -68465,6 +57616,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -68543,9 +57701,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -68727,9 +57887,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -68748,51 +57910,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -68802,69 +57919,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: last_updated
schema:
@@ -69019,9 +58073,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: tenant
schema:
@@ -69116,6 +58172,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -69312,6 +58375,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -69476,6 +58546,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -69782,9 +58859,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -69880,9 +58959,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: facility_id
schema:
@@ -70032,51 +59113,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -70086,69 +59122,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: last_updated
schema:
@@ -70648,9 +59621,11 @@ paths:
- in: query
name: role__n
schema:
- type: string
- format: uuid
- description: Exclude Role (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: serial
schema:
@@ -70660,6 +59635,123 @@ paths:
description: Serial Number
explode: true
style: form
+ - in: query
+ name: serial__ic
+ schema:
+ type: array
+ items:
+ type: string
+ description: Serial Number contains
+ explode: true
+ style: form
+ - in: query
+ name: serial__ie
+ schema:
+ type: array
+ items:
+ type: string
+ description: Serial Number
+ explode: true
+ style: form
+ - in: query
+ name: serial__iew
+ schema:
+ type: array
+ items:
+ type: string
+ description: Serial Number ends with
+ explode: true
+ style: form
+ - in: query
+ name: serial__ire
+ schema:
+ type: array
+ items:
+ type: string
+ description: Serial Number matches regex
+ explode: true
+ style: form
+ - in: query
+ name: serial__isw
+ schema:
+ type: array
+ items:
+ type: string
+ description: Serial Number starts with
+ explode: true
+ style: form
+ - in: query
+ name: serial__n
+ schema:
+ type: array
+ items:
+ type: string
+ description: Exclude Serial Number
+ explode: true
+ style: form
+ - in: query
+ name: serial__nic
+ schema:
+ type: array
+ items:
+ type: string
+ description: Exclude Serial Number contains
+ explode: true
+ style: form
+ - in: query
+ name: serial__nie
+ schema:
+ type: array
+ items:
+ type: string
+ description: Exclude Serial Number
+ explode: true
+ style: form
+ - in: query
+ name: serial__niew
+ schema:
+ type: array
+ items:
+ type: string
+ description: Exclude Serial Number ends with
+ explode: true
+ style: form
+ - in: query
+ name: serial__nire
+ schema:
+ type: array
+ items:
+ type: string
+ description: Exclude Serial Number matches regex
+ explode: true
+ style: form
+ - in: query
+ name: serial__nisw
+ schema:
+ type: array
+ items:
+ type: string
+ description: Exclude Serial Number starts with
+ explode: true
+ style: form
+ - in: query
+ name: serial__nre
+ schema:
+ type: array
+ items:
+ type: string
+ description: Exclude Serial Number matches regex
+ explode: true
+ style: form
+ - in: query
+ name: serial__re
+ schema:
+ type: array
+ items:
+ type: string
+ description: Serial Number matches regex
+ explode: true
+ style: form
- name: sort
required: false
in: query
@@ -70677,9 +59769,11 @@ paths:
- in: query
name: status__n
schema:
- type: string
- format: uuid
- description: Exclude Status (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: tags
schema:
@@ -70716,9 +59810,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: tenant
schema:
@@ -70962,8 +60058,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Rail-to-rail width
+ type: string
explode: true
style: form
- in: query
@@ -70971,8 +60066,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Rail-to-rail width
+ type: string
explode: true
style: form
- in: query
@@ -70980,8 +60074,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Rail-to-rail width
+ type: string
explode: true
style: form
- in: query
@@ -70989,8 +60082,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Rail-to-rail width
+ type: string
explode: true
style: form
- in: query
@@ -70998,8 +60090,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Rail-to-rail width
+ type: string
explode: true
style: form
- in: query
@@ -71007,8 +60098,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Rail-to-rail width
+ type: string
explode: true
style: form
- in: query
@@ -71016,8 +60106,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Rail-to-rail width
+ type: string
explode: true
style: form
- in: query
@@ -71025,8 +60114,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Rail-to-rail width
+ type: string
explode: true
style: form
- in: query
@@ -71034,8 +60122,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Rail-to-rail width
+ type: string
explode: true
style: form
- in: query
@@ -71043,8 +60130,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Rail-to-rail width
+ type: string
explode: true
style: form
- in: query
@@ -71052,8 +60138,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Rail-to-rail width
+ type: string
explode: true
style: form
- in: query
@@ -71061,8 +60146,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Rail-to-rail width
+ type: string
explode: true
style: form
- in: query
@@ -71070,8 +60154,7 @@ paths:
schema:
type: array
items:
- type: integer
- description: Rail-to-rail width
+ type: string
explode: true
style: form
- in: query
@@ -71083,6 +60166,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -71279,6 +60369,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -71452,6 +60549,11 @@ paths:
schema:
type: boolean
default: true
+ - in: query
+ name: is_occupied
+ schema:
+ type: boolean
+ nullable: true
- in: query
name: legend_width
schema:
@@ -71500,6 +60602,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -71555,6 +60664,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -71633,9 +60749,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: description
schema:
@@ -71794,9 +60912,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -71853,56 +60973,6 @@ paths:
description: ID
explode: true
style: form
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID contains
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID ends with
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID matches regex
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID starts with
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -71913,76 +60983,6 @@ paths:
description: Exclude ID
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID contains
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID ends with
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID matches regex
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID starts with
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude ID matches regex
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: ID matches regex
- explode: true
- style: form
- in: query
name: label
schema:
@@ -72343,9 +61343,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: type
schema:
@@ -72467,6 +61469,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -72663,6 +61672,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -72787,103 +61803,6 @@ paths:
responses:
'204':
description: No response body
- /dcim/rear-port-templates/{id}/notes/:
- get:
- operationId: dcim_rear_port_templates_notes_list
- description: API methods for returning or creating notes on an object.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this rear port template.
- required: true
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- - in: query
- name: depth
- required: false
- description: Serializer Depth
- schema:
- type: integer
- minimum: 0
- maximum: 10
- default: 1
- tags:
- - dcim
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- description: ''
- post:
- operationId: dcim_rear_port_templates_notes_create
- description: API methods for returning or creating notes on an object.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this rear port template.
- required: true
- tags:
- - dcim
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- required: true
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '201':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Note'
- text/csv:
- schema:
- $ref: '#/components/schemas/Note'
- description: ''
/dcim/rear-ports/:
get:
operationId: dcim_rear_ports_list
@@ -72929,9 +61848,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: description
schema:
@@ -73063,9 +61984,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -73115,51 +62038,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -73169,69 +62047,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: label
schema:
@@ -73600,9 +62415,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: type
schema:
@@ -73724,6 +62541,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -73920,6 +62744,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -74084,6 +62915,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -74181,6 +63019,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -74217,9 +63062,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -74448,9 +63295,32 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: external_integration
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: external_integration__isnull
+ schema:
+ type: boolean
+ description: External integration (name or ID) is null
+ - in: query
+ name: external_integration__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -74523,7 +63393,6 @@ paths:
type: array
items:
type: string
- description: Hashing algorithm for image file checksum
explode: true
style: form
- in: query
@@ -74593,51 +63462,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -74647,69 +63471,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: image_file_checksum
schema:
@@ -75094,9 +63855,11 @@ paths:
- in: query
name: status__n
schema:
- type: string
- format: uuid
- description: Exclude Status (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: tags
schema:
@@ -75133,9 +63896,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -75145,6 +63910,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -75341,6 +64113,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -75505,6 +64284,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -75695,9 +64481,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -75921,9 +64709,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: end_of_support_date
schema:
@@ -76020,51 +64810,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -76074,69 +64819,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: inventory_items
schema:
@@ -76353,9 +65035,11 @@ paths:
- in: query
name: status__n
schema:
- type: string
- format: uuid
- description: Exclude Status (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: tags
schema:
@@ -76392,9 +65076,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: version
schema:
@@ -76537,6 +65223,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -76733,6 +65426,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -76897,6 +65597,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -76975,9 +65682,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -77159,9 +65868,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -77185,51 +65896,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -77239,69 +65905,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: last_updated
schema:
@@ -77589,9 +66192,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: tenant
schema:
@@ -77622,6 +66227,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -77818,6 +66430,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -77982,6 +66601,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- dcim
security:
@@ -78039,11 +66665,10 @@ paths:
schema:
$ref: '#/components/schemas/Note'
description: ''
- /extras/computed-fields/:
+ /dcim/virtual-device-contexts/:
get:
- operationId: extras_computed_fields_list
- description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH
- requests.
+ operationId: dcim_virtual_device_contexts_list
+ description: Retrieve a list of virtual device context objects.
parameters:
- in: query
name: contacts
@@ -78060,20 +66685,6 @@ paths:
description: Contacts (name or ID) is null
- in: query
name: contacts__n
- schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
- - in: query
- name: content_type
- schema:
- type: string
- - in: query
- name: content_type__n
- schema:
- type: string
- - in: query
- name: dynamic_groups
schema:
type: array
items:
@@ -78081,69 +66692,65 @@ paths:
explode: true
style: form
- in: query
- name: dynamic_groups__n
- schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
- - in: query
- name: fallback_value
+ name: created
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: fallback_value__ic
+ name: created__gt
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: fallback_value__ie
+ name: created__gte
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: fallback_value__iew
+ name: created__isnull
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
- in: query
- name: fallback_value__ire
+ name: created__lt
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: fallback_value__isw
+ name: created__lte
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: fallback_value__n
+ name: created__n
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: fallback_value__nic
+ name: description
schema:
type: array
items:
@@ -78151,7 +66758,7 @@ paths:
explode: true
style: form
- in: query
- name: fallback_value__nie
+ name: description__ic
schema:
type: array
items:
@@ -78159,7 +66766,7 @@ paths:
explode: true
style: form
- in: query
- name: fallback_value__niew
+ name: description__ie
schema:
type: array
items:
@@ -78167,7 +66774,7 @@ paths:
explode: true
style: form
- in: query
- name: fallback_value__nire
+ name: description__iew
schema:
type: array
items:
@@ -78175,7 +66782,7 @@ paths:
explode: true
style: form
- in: query
- name: fallback_value__nisw
+ name: description__ire
schema:
type: array
items:
@@ -78183,7 +66790,7 @@ paths:
explode: true
style: form
- in: query
- name: fallback_value__nre
+ name: description__isw
schema:
type: array
items:
@@ -78191,7 +66798,7 @@ paths:
explode: true
style: form
- in: query
- name: fallback_value__re
+ name: description__n
schema:
type: array
items:
@@ -78199,14 +66806,7 @@ paths:
explode: true
style: form
- in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: query
- name: grouping
+ name: description__nic
schema:
type: array
items:
@@ -78214,7 +66814,7 @@ paths:
explode: true
style: form
- in: query
- name: grouping__ic
+ name: description__nie
schema:
type: array
items:
@@ -78222,7 +66822,7 @@ paths:
explode: true
style: form
- in: query
- name: grouping__ie
+ name: description__niew
schema:
type: array
items:
@@ -78230,7 +66830,7 @@ paths:
explode: true
style: form
- in: query
- name: grouping__iew
+ name: description__nire
schema:
type: array
items:
@@ -78238,7 +66838,7 @@ paths:
explode: true
style: form
- in: query
- name: grouping__ire
+ name: description__nisw
schema:
type: array
items:
@@ -78246,7 +66846,7 @@ paths:
explode: true
style: form
- in: query
- name: grouping__isw
+ name: description__nre
schema:
type: array
items:
@@ -78254,7 +66854,7 @@ paths:
explode: true
style: form
- in: query
- name: grouping__n
+ name: description__re
schema:
type: array
items:
@@ -78262,7 +66862,7 @@ paths:
explode: true
style: form
- in: query
- name: grouping__nic
+ name: device
schema:
type: array
items:
@@ -78270,7 +66870,7 @@ paths:
explode: true
style: form
- in: query
- name: grouping__nie
+ name: device__n
schema:
type: array
items:
@@ -78278,7 +66878,7 @@ paths:
explode: true
style: form
- in: query
- name: grouping__niew
+ name: dynamic_groups
schema:
type: array
items:
@@ -78286,7 +66886,7 @@ paths:
explode: true
style: form
- in: query
- name: grouping__nire
+ name: dynamic_groups__n
schema:
type: array
items:
@@ -78294,159 +66894,176 @@ paths:
explode: true
style: form
- in: query
- name: grouping__nisw
+ name: format
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: string
+ enum:
+ - csv
+ - json
- in: query
- name: grouping__nre
+ name: has_interfaces
+ schema:
+ type: boolean
+ description: Has Interfaces
+ - in: query
+ name: has_primary_ip
+ schema:
+ type: boolean
+ description: Has a primary IP
+ - in: query
+ name: id
schema:
type: array
items:
type: string
+ format: uuid
explode: true
style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
- name: grouping__re
+ name: id__n
schema:
type: array
items:
type: string
+ format: uuid
explode: true
style: form
- in: query
- name: id
+ name: identifier
schema:
type: array
items:
- type: string
- format: uuid
+ type: integer
explode: true
style: form
- description: Unique object identifier, either a UUID primary key or a composite
- key.
- in: query
- name: id__ic
+ name: identifier__gt
schema:
type: array
items:
- type: string
- format: uuid
+ type: integer
explode: true
style: form
- in: query
- name: id__ie
+ name: identifier__gte
schema:
type: array
items:
- type: string
- format: uuid
+ type: integer
explode: true
style: form
- in: query
- name: id__iew
+ name: identifier__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: identifier__lt
schema:
type: array
items:
- type: string
- format: uuid
+ type: integer
explode: true
style: form
- in: query
- name: id__ire
+ name: identifier__lte
schema:
type: array
items:
- type: string
- format: uuid
+ type: integer
explode: true
style: form
- in: query
- name: id__isw
+ name: identifier__n
schema:
type: array
items:
- type: string
- format: uuid
+ type: integer
explode: true
style: form
- in: query
- name: id__n
+ name: interfaces
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nic
+ name: interfaces__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nie
+ name: last_updated
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__niew
+ name: last_updated__gt
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__nire
+ name: last_updated__gte
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__nisw
+ name: last_updated__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: last_updated__lt
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__nre
+ name: last_updated__lte
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__re
+ name: last_updated__n
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
- in: query
- name: key
+ name: name
schema:
type: array
items:
@@ -78454,7 +67071,7 @@ paths:
explode: true
style: form
- in: query
- name: key__ic
+ name: name__ic
schema:
type: array
items:
@@ -78462,7 +67079,7 @@ paths:
explode: true
style: form
- in: query
- name: key__ie
+ name: name__ie
schema:
type: array
items:
@@ -78470,7 +67087,7 @@ paths:
explode: true
style: form
- in: query
- name: key__iew
+ name: name__iew
schema:
type: array
items:
@@ -78478,7 +67095,7 @@ paths:
explode: true
style: form
- in: query
- name: key__ire
+ name: name__ire
schema:
type: array
items:
@@ -78486,7 +67103,7 @@ paths:
explode: true
style: form
- in: query
- name: key__isw
+ name: name__isw
schema:
type: array
items:
@@ -78494,7 +67111,7 @@ paths:
explode: true
style: form
- in: query
- name: key__n
+ name: name__n
schema:
type: array
items:
@@ -78502,7 +67119,7 @@ paths:
explode: true
style: form
- in: query
- name: key__nic
+ name: name__nic
schema:
type: array
items:
@@ -78510,7 +67127,7 @@ paths:
explode: true
style: form
- in: query
- name: key__nie
+ name: name__nie
schema:
type: array
items:
@@ -78518,7 +67135,7 @@ paths:
explode: true
style: form
- in: query
- name: key__niew
+ name: name__niew
schema:
type: array
items:
@@ -78526,7 +67143,7 @@ paths:
explode: true
style: form
- in: query
- name: key__nire
+ name: name__nire
schema:
type: array
items:
@@ -78534,7 +67151,7 @@ paths:
explode: true
style: form
- in: query
- name: key__nisw
+ name: name__nisw
schema:
type: array
items:
@@ -78542,7 +67159,7 @@ paths:
explode: true
style: form
- in: query
- name: key__nre
+ name: name__nre
schema:
type: array
items:
@@ -78550,19 +67167,13 @@ paths:
explode: true
style: form
- in: query
- name: key__re
+ name: name__re
schema:
type: array
items:
type: string
explode: true
style: form
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- name: offset
required: false
in: query
@@ -78570,53 +67181,30 @@ paths:
schema:
type: integer
- in: query
- name: q
- schema:
- type: string
- description: Search
- - name: sort
- required: false
- in: query
- description: Which field to use when ordering the results.
- schema:
- type: string
- - in: query
- name: teams
+ name: primary_ip4
schema:
type: array
items:
type: string
+ description: Primary IPv4 Address (address or ID)
explode: true
style: form
- in: query
- name: teams__isnull
- schema:
- type: boolean
- description: Teams (name or ID) is null
- - in: query
- name: teams__n
- schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
- - in: query
- name: template
+ name: primary_ip6
schema:
type: array
items:
type: string
+ description: Primary IPv6 Address (address or ID)
explode: true
style: form
- in: query
- name: template__ic
+ name: q
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: string
+ description: Search
- in: query
- name: template__ie
+ name: role
schema:
type: array
items:
@@ -78624,23 +67212,26 @@ paths:
explode: true
style: form
- in: query
- name: template__iew
+ name: role__isnull
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
+ description: Role (name or ID) is null
- in: query
- name: template__ire
+ name: role__n
schema:
type: array
items:
type: string
explode: true
style: form
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
+ schema:
+ type: string
- in: query
- name: template__isw
+ name: status
schema:
type: array
items:
@@ -78648,7 +67239,7 @@ paths:
explode: true
style: form
- in: query
- name: template__n
+ name: status__n
schema:
type: array
items:
@@ -78656,7 +67247,7 @@ paths:
explode: true
style: form
- in: query
- name: template__nic
+ name: tags
schema:
type: array
items:
@@ -78664,15 +67255,11 @@ paths:
explode: true
style: form
- in: query
- name: template__nie
+ name: tags__isnull
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
- in: query
- name: template__niew
+ name: tags__n
schema:
type: array
items:
@@ -78680,7 +67267,7 @@ paths:
explode: true
style: form
- in: query
- name: template__nire
+ name: teams
schema:
type: array
items:
@@ -78688,7 +67275,12 @@ paths:
explode: true
style: form
- in: query
- name: template__nisw
+ name: teams__isnull
+ schema:
+ type: boolean
+ description: Teams (name or ID) is null
+ - in: query
+ name: teams__n
schema:
type: array
items:
@@ -78696,7 +67288,7 @@ paths:
explode: true
style: form
- in: query
- name: template__nre
+ name: tenant
schema:
type: array
items:
@@ -78704,7 +67296,12 @@ paths:
explode: true
style: form
- in: query
- name: template__re
+ name: tenant__isnull
+ schema:
+ type: boolean
+ description: Tenant (name or ID) is null
+ - in: query
+ name: tenant__n
schema:
type: array
items:
@@ -78712,51 +67309,51 @@ paths:
explode: true
style: form
- in: query
- name: weight
+ name: tenant_group
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: weight__gt
+ name: tenant_group__isnull
schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
+ type: boolean
+ description: Tenant Group (name or ID) is null
- in: query
- name: weight__gte
+ name: tenant_group__n
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: weight__lt
+ name: tenant_id
schema:
type: array
items:
- type: integer
+ type: string
+ format: uuid
+ nullable: true
+ description: Tenant (ID) (deprecated, use "tenant" filter instead)
explode: true
style: form
- in: query
- name: weight__lte
+ name: tenant_id__isnull
schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
+ type: boolean
+ description: Tenant (ID) (deprecated, use "tenant" filter instead) is null
- in: query
- name: weight__n
+ name: tenant_id__n
schema:
type: array
items:
- type: integer
+ type: string
+ format: uuid
+ nullable: true
+ description: Exclude Tenant (ID) (deprecated, use "tenant" filter instead)
explode: true
style: form
- in: query
@@ -78768,8 +67365,15 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- - extras
+ - dcim
security:
- cookieAuth: []
- tokenAuth: []
@@ -78778,15 +67382,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedComputedFieldList'
+ $ref: '#/components/schemas/PaginatedVirtualDeviceContextList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedComputedFieldList'
+ $ref: '#/components/schemas/PaginatedVirtualDeviceContextList'
description: ''
post:
- operationId: extras_computed_fields_create
- description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH
- requests.
+ operationId: dcim_virtual_device_contexts_create
+ description: Create one or more virtual device context objects.
parameters:
- in: query
name: format
@@ -78796,15 +67399,15 @@ paths:
- csv
- json
tags:
- - extras
+ - dcim
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/ComputedFieldRequest'
+ $ref: '#/components/schemas/VirtualDeviceContextRequest'
text/csv:
schema:
- $ref: '#/components/schemas/ComputedFieldRequest'
+ $ref: '#/components/schemas/VirtualDeviceContextRequest'
required: true
security:
- cookieAuth: []
@@ -78814,15 +67417,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ComputedField'
+ $ref: '#/components/schemas/VirtualDeviceContext'
text/csv:
schema:
- $ref: '#/components/schemas/ComputedField'
+ $ref: '#/components/schemas/VirtualDeviceContext'
description: ''
put:
- operationId: extras_computed_fields_bulk_update
- description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH
- requests.
+ operationId: dcim_virtual_device_contexts_bulk_update
+ description: Update a list of virtual device context objects.
parameters:
- in: query
name: format
@@ -78832,19 +67434,19 @@ paths:
- csv
- json
tags:
- - extras
+ - dcim
requestBody:
content:
application/json:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableComputedFieldRequest'
+ $ref: '#/components/schemas/BulkWritableVirtualDeviceContextRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableComputedFieldRequest'
+ $ref: '#/components/schemas/BulkWritableVirtualDeviceContextRequest'
required: true
security:
- cookieAuth: []
@@ -78856,17 +67458,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/ComputedField'
+ $ref: '#/components/schemas/VirtualDeviceContext'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/ComputedField'
+ $ref: '#/components/schemas/VirtualDeviceContext'
description: ''
patch:
- operationId: extras_computed_fields_bulk_partial_update
- description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH
- requests.
+ operationId: dcim_virtual_device_contexts_bulk_partial_update
+ description: Partial update a list of virtual device context objects.
parameters:
- in: query
name: format
@@ -78876,19 +67477,19 @@ paths:
- csv
- json
tags:
- - extras
+ - dcim
requestBody:
content:
application/json:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableComputedFieldRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableVirtualDeviceContextRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableComputedFieldRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableVirtualDeviceContextRequest'
required: true
security:
- cookieAuth: []
@@ -78900,17 +67501,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/ComputedField'
+ $ref: '#/components/schemas/VirtualDeviceContext'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/ComputedField'
+ $ref: '#/components/schemas/VirtualDeviceContext'
description: ''
delete:
- operationId: extras_computed_fields_bulk_destroy
- description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH
- requests.
+ operationId: dcim_virtual_device_contexts_bulk_destroy
+ description: Destroy a list of virtual device context objects.
parameters:
- in: query
name: format
@@ -78920,7 +67520,7 @@ paths:
- csv
- json
tags:
- - extras
+ - dcim
security:
- cookieAuth: []
- tokenAuth: []
@@ -78940,11 +67540,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /extras/computed-fields/{id}/:
+ /dcim/virtual-device-contexts/{id}/:
get:
- operationId: extras_computed_fields_retrieve
- description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH
- requests.
+ operationId: dcim_virtual_device_contexts_retrieve
+ description: Retrieve a virtual device context object.
parameters:
- in: query
name: format
@@ -78958,7 +67557,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this computed field.
+ description: A UUID string identifying this virtual device context.
required: true
- in: query
name: depth
@@ -78969,8 +67568,15 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- - extras
+ - dcim
security:
- cookieAuth: []
- tokenAuth: []
@@ -78979,15 +67585,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ComputedField'
+ $ref: '#/components/schemas/VirtualDeviceContext'
text/csv:
schema:
- $ref: '#/components/schemas/ComputedField'
+ $ref: '#/components/schemas/VirtualDeviceContext'
description: ''
put:
- operationId: extras_computed_fields_update
- description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH
- requests.
+ operationId: dcim_virtual_device_contexts_update
+ description: Update a virtual device context object.
parameters:
- in: query
name: format
@@ -79001,18 +67606,18 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this computed field.
+ description: A UUID string identifying this virtual device context.
required: true
tags:
- - extras
+ - dcim
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/ComputedFieldRequest'
+ $ref: '#/components/schemas/VirtualDeviceContextRequest'
text/csv:
schema:
- $ref: '#/components/schemas/ComputedFieldRequest'
+ $ref: '#/components/schemas/VirtualDeviceContextRequest'
required: true
security:
- cookieAuth: []
@@ -79022,15 +67627,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ComputedField'
+ $ref: '#/components/schemas/VirtualDeviceContext'
text/csv:
schema:
- $ref: '#/components/schemas/ComputedField'
+ $ref: '#/components/schemas/VirtualDeviceContext'
description: ''
patch:
- operationId: extras_computed_fields_partial_update
- description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH
- requests.
+ operationId: dcim_virtual_device_contexts_partial_update
+ description: Partial update a virtual device context object.
parameters:
- in: query
name: format
@@ -79044,18 +67648,18 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this computed field.
+ description: A UUID string identifying this virtual device context.
required: true
tags:
- - extras
+ - dcim
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedComputedFieldRequest'
+ $ref: '#/components/schemas/PatchedVirtualDeviceContextRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedComputedFieldRequest'
+ $ref: '#/components/schemas/PatchedVirtualDeviceContextRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -79064,15 +67668,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ComputedField'
+ $ref: '#/components/schemas/VirtualDeviceContext'
text/csv:
schema:
- $ref: '#/components/schemas/ComputedField'
+ $ref: '#/components/schemas/VirtualDeviceContext'
description: ''
delete:
- operationId: extras_computed_fields_destroy
- description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH
- requests.
+ operationId: dcim_virtual_device_contexts_destroy
+ description: Destroy a virtual device context object.
parameters:
- in: query
name: format
@@ -79086,19 +67689,19 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this computed field.
+ description: A UUID string identifying this virtual device context.
required: true
tags:
- - extras
+ - dcim
security:
- cookieAuth: []
- tokenAuth: []
responses:
'204':
description: No response body
- /extras/computed-fields/{id}/notes/:
+ /dcim/virtual-device-contexts/{id}/notes/:
get:
- operationId: extras_computed_fields_notes_list
+ operationId: dcim_virtual_device_contexts_notes_list
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -79113,7 +67716,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this computed field.
+ description: A UUID string identifying this virtual device context.
required: true
- name: limit
required: false
@@ -79136,8 +67739,15 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- - extras
+ - dcim
security:
- cookieAuth: []
- tokenAuth: []
@@ -79152,7 +67762,7 @@ paths:
$ref: '#/components/schemas/PaginatedNoteList'
description: ''
post:
- operationId: extras_computed_fields_notes_create
+ operationId: dcim_virtual_device_contexts_notes_create
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -79167,10 +67777,10 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this computed field.
+ description: A UUID string identifying this virtual device context.
required: true
tags:
- - extras
+ - dcim
requestBody:
content:
application/json:
@@ -79193,10 +67803,11 @@ paths:
schema:
$ref: '#/components/schemas/Note'
description: ''
- /extras/config-context-schemas/:
+ /extras/computed-fields/:
get:
- operationId: extras_config_context_schemas_list
- description: Retrieve a list of config context schema objects.
+ operationId: extras_computed_fields_list
+ description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH
+ requests.
parameters:
- in: query
name: contacts
@@ -79213,12 +67824,22 @@ paths:
description: Contacts (name or ID) is null
- in: query
name: contacts__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: content_type
schema:
type: string
- format: uuid
- description: Exclude Contacts (name or ID)
- in: query
- name: description
+ name: content_type__n
+ schema:
+ type: string
+ - in: query
+ name: dynamic_groups
schema:
type: array
items:
@@ -79226,7 +67847,7 @@ paths:
explode: true
style: form
- in: query
- name: description__ic
+ name: dynamic_groups__n
schema:
type: array
items:
@@ -79234,7 +67855,7 @@ paths:
explode: true
style: form
- in: query
- name: description__ie
+ name: fallback_value
schema:
type: array
items:
@@ -79242,7 +67863,7 @@ paths:
explode: true
style: form
- in: query
- name: description__iew
+ name: fallback_value__ic
schema:
type: array
items:
@@ -79250,7 +67871,7 @@ paths:
explode: true
style: form
- in: query
- name: description__ire
+ name: fallback_value__ie
schema:
type: array
items:
@@ -79258,7 +67879,7 @@ paths:
explode: true
style: form
- in: query
- name: description__isw
+ name: fallback_value__iew
schema:
type: array
items:
@@ -79266,7 +67887,7 @@ paths:
explode: true
style: form
- in: query
- name: description__n
+ name: fallback_value__ire
schema:
type: array
items:
@@ -79274,7 +67895,7 @@ paths:
explode: true
style: form
- in: query
- name: description__nic
+ name: fallback_value__isw
schema:
type: array
items:
@@ -79282,7 +67903,7 @@ paths:
explode: true
style: form
- in: query
- name: description__nie
+ name: fallback_value__n
schema:
type: array
items:
@@ -79290,7 +67911,7 @@ paths:
explode: true
style: form
- in: query
- name: description__niew
+ name: fallback_value__nic
schema:
type: array
items:
@@ -79298,7 +67919,7 @@ paths:
explode: true
style: form
- in: query
- name: description__nire
+ name: fallback_value__nie
schema:
type: array
items:
@@ -79306,7 +67927,7 @@ paths:
explode: true
style: form
- in: query
- name: description__nisw
+ name: fallback_value__niew
schema:
type: array
items:
@@ -79314,7 +67935,7 @@ paths:
explode: true
style: form
- in: query
- name: description__nre
+ name: fallback_value__nire
schema:
type: array
items:
@@ -79322,7 +67943,7 @@ paths:
explode: true
style: form
- in: query
- name: description__re
+ name: fallback_value__nisw
schema:
type: array
items:
@@ -79330,7 +67951,7 @@ paths:
explode: true
style: form
- in: query
- name: dynamic_groups
+ name: fallback_value__nre
schema:
type: array
items:
@@ -79338,11 +67959,13 @@ paths:
explode: true
style: form
- in: query
- name: dynamic_groups__n
+ name: fallback_value__re
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -79351,126 +67974,119 @@ paths:
- csv
- json
- in: query
- name: id
+ name: grouping
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- description: Unique object identifier, either a UUID primary key or a composite
- key.
- in: query
- name: id__ic
+ name: grouping__ic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ie
+ name: grouping__ie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__iew
+ name: grouping__iew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ire
+ name: grouping__ire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__isw
+ name: grouping__isw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__n
+ name: grouping__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nic
+ name: grouping__nic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nie
+ name: grouping__nie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__niew
+ name: grouping__niew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nire
+ name: grouping__nire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nisw
+ name: grouping__nisw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nre
+ name: grouping__nre
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: grouping__re
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__re
+ name: id
schema:
type: array
items:
@@ -79478,14 +68094,19 @@ paths:
format: uuid
explode: true
style: form
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
+ - in: query
+ name: id__n
schema:
- type: integer
+ type: array
+ items:
+ type: string
+ format: uuid
+ explode: true
+ style: form
- in: query
- name: name
+ name: key
schema:
type: array
items:
@@ -79493,7 +68114,7 @@ paths:
explode: true
style: form
- in: query
- name: name__ic
+ name: key__ic
schema:
type: array
items:
@@ -79501,7 +68122,7 @@ paths:
explode: true
style: form
- in: query
- name: name__ie
+ name: key__ie
schema:
type: array
items:
@@ -79509,7 +68130,7 @@ paths:
explode: true
style: form
- in: query
- name: name__iew
+ name: key__iew
schema:
type: array
items:
@@ -79517,7 +68138,7 @@ paths:
explode: true
style: form
- in: query
- name: name__ire
+ name: key__ire
schema:
type: array
items:
@@ -79525,7 +68146,7 @@ paths:
explode: true
style: form
- in: query
- name: name__isw
+ name: key__isw
schema:
type: array
items:
@@ -79533,7 +68154,7 @@ paths:
explode: true
style: form
- in: query
- name: name__n
+ name: key__n
schema:
type: array
items:
@@ -79541,7 +68162,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nic
+ name: key__nic
schema:
type: array
items:
@@ -79549,7 +68170,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nie
+ name: key__nie
schema:
type: array
items:
@@ -79557,7 +68178,7 @@ paths:
explode: true
style: form
- in: query
- name: name__niew
+ name: key__niew
schema:
type: array
items:
@@ -79565,7 +68186,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nire
+ name: key__nire
schema:
type: array
items:
@@ -79573,7 +68194,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nisw
+ name: key__nisw
schema:
type: array
items:
@@ -79581,7 +68202,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nre
+ name: key__nre
schema:
type: array
items:
@@ -79589,31 +68210,25 @@ paths:
explode: true
style: form
- in: query
- name: name__re
+ name: key__re
schema:
type: array
items:
type: string
explode: true
style: form
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
- name: offset
required: false
in: query
description: The initial index from which to return the results.
schema:
type: integer
- - in: query
- name: owner_content_type
- schema:
- type: string
- - in: query
- name: owner_content_type__isnull
- schema:
- type: boolean
- - in: query
- name: owner_content_type__n
- schema:
- type: string
- in: query
name: q
schema:
@@ -79641,9 +68256,171 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: template
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: template__ic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: template__ie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: template__iew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: template__ire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: template__isw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: template__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: template__nic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: template__nie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: template__niew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: template__nire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: template__nisw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: template__nre
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: template__re
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: weight
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: weight__gt
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: weight__gte
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: weight__lt
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: weight__lte
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: weight__n
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -79653,6 +68430,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -79663,14 +68447,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedConfigContextSchemaList'
+ $ref: '#/components/schemas/PaginatedComputedFieldList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedConfigContextSchemaList'
+ $ref: '#/components/schemas/PaginatedComputedFieldList'
description: ''
post:
- operationId: extras_config_context_schemas_create
- description: Create one or more config context schema objects.
+ operationId: extras_computed_fields_create
+ description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH
+ requests.
parameters:
- in: query
name: format
@@ -79685,10 +68470,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ConfigContextSchemaRequest'
+ $ref: '#/components/schemas/ComputedFieldRequest'
text/csv:
schema:
- $ref: '#/components/schemas/ConfigContextSchemaRequest'
+ $ref: '#/components/schemas/ComputedFieldRequest'
required: true
security:
- cookieAuth: []
@@ -79698,14 +68483,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ConfigContextSchema'
+ $ref: '#/components/schemas/ComputedField'
text/csv:
schema:
- $ref: '#/components/schemas/ConfigContextSchema'
+ $ref: '#/components/schemas/ComputedField'
description: ''
put:
- operationId: extras_config_context_schemas_bulk_update
- description: Update a list of config context schema objects.
+ operationId: extras_computed_fields_bulk_update
+ description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH
+ requests.
parameters:
- in: query
name: format
@@ -79722,12 +68508,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableConfigContextSchemaRequest'
+ $ref: '#/components/schemas/BulkWritableComputedFieldRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableConfigContextSchemaRequest'
+ $ref: '#/components/schemas/BulkWritableComputedFieldRequest'
required: true
security:
- cookieAuth: []
@@ -79739,16 +68525,17 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/ConfigContextSchema'
+ $ref: '#/components/schemas/ComputedField'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/ConfigContextSchema'
+ $ref: '#/components/schemas/ComputedField'
description: ''
patch:
- operationId: extras_config_context_schemas_bulk_partial_update
- description: Partial update a list of config context schema objects.
+ operationId: extras_computed_fields_bulk_partial_update
+ description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH
+ requests.
parameters:
- in: query
name: format
@@ -79765,12 +68552,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableConfigContextSchemaRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableComputedFieldRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableConfigContextSchemaRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableComputedFieldRequest'
required: true
security:
- cookieAuth: []
@@ -79782,16 +68569,17 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/ConfigContextSchema'
+ $ref: '#/components/schemas/ComputedField'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/ConfigContextSchema'
+ $ref: '#/components/schemas/ComputedField'
description: ''
delete:
- operationId: extras_config_context_schemas_bulk_destroy
- description: Destroy a list of config context schema objects.
+ operationId: extras_computed_fields_bulk_destroy
+ description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH
+ requests.
parameters:
- in: query
name: format
@@ -79821,10 +68609,11 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /extras/config-context-schemas/{id}/:
+ /extras/computed-fields/{id}/:
get:
- operationId: extras_config_context_schemas_retrieve
- description: Retrieve a config context schema object.
+ operationId: extras_computed_fields_retrieve
+ description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH
+ requests.
parameters:
- in: query
name: format
@@ -79838,7 +68627,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this config context schema.
+ description: A UUID string identifying this computed field.
required: true
- in: query
name: depth
@@ -79849,6 +68638,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -79859,14 +68655,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ConfigContextSchema'
+ $ref: '#/components/schemas/ComputedField'
text/csv:
schema:
- $ref: '#/components/schemas/ConfigContextSchema'
+ $ref: '#/components/schemas/ComputedField'
description: ''
put:
- operationId: extras_config_context_schemas_update
- description: Update a config context schema object.
+ operationId: extras_computed_fields_update
+ description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH
+ requests.
parameters:
- in: query
name: format
@@ -79880,7 +68677,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this config context schema.
+ description: A UUID string identifying this computed field.
required: true
tags:
- extras
@@ -79888,10 +68685,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ConfigContextSchemaRequest'
+ $ref: '#/components/schemas/ComputedFieldRequest'
text/csv:
schema:
- $ref: '#/components/schemas/ConfigContextSchemaRequest'
+ $ref: '#/components/schemas/ComputedFieldRequest'
required: true
security:
- cookieAuth: []
@@ -79901,14 +68698,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ConfigContextSchema'
+ $ref: '#/components/schemas/ComputedField'
text/csv:
schema:
- $ref: '#/components/schemas/ConfigContextSchema'
+ $ref: '#/components/schemas/ComputedField'
description: ''
patch:
- operationId: extras_config_context_schemas_partial_update
- description: Partial update a config context schema object.
+ operationId: extras_computed_fields_partial_update
+ description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH
+ requests.
parameters:
- in: query
name: format
@@ -79922,7 +68720,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this config context schema.
+ description: A UUID string identifying this computed field.
required: true
tags:
- extras
@@ -79930,10 +68728,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedConfigContextSchemaRequest'
+ $ref: '#/components/schemas/PatchedComputedFieldRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedConfigContextSchemaRequest'
+ $ref: '#/components/schemas/PatchedComputedFieldRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -79942,14 +68740,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ConfigContextSchema'
+ $ref: '#/components/schemas/ComputedField'
text/csv:
schema:
- $ref: '#/components/schemas/ConfigContextSchema'
+ $ref: '#/components/schemas/ComputedField'
description: ''
delete:
- operationId: extras_config_context_schemas_destroy
- description: Destroy a config context schema object.
+ operationId: extras_computed_fields_destroy
+ description: Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH
+ requests.
parameters:
- in: query
name: format
@@ -79963,7 +68762,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this config context schema.
+ description: A UUID string identifying this computed field.
required: true
tags:
- extras
@@ -79973,9 +68772,9 @@ paths:
responses:
'204':
description: No response body
- /extras/config-context-schemas/{id}/notes/:
+ /extras/computed-fields/{id}/notes/:
get:
- operationId: extras_config_context_schemas_notes_list
+ operationId: extras_computed_fields_notes_list
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -79990,7 +68789,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this config context schema.
+ description: A UUID string identifying this computed field.
required: true
- name: limit
required: false
@@ -80013,6 +68812,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -80029,7 +68835,7 @@ paths:
$ref: '#/components/schemas/PaginatedNoteList'
description: ''
post:
- operationId: extras_config_context_schemas_notes_create
+ operationId: extras_computed_fields_notes_create
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -80044,7 +68850,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this config context schema.
+ description: A UUID string identifying this computed field.
required: true
tags:
- extras
@@ -80070,13 +68876,13 @@ paths:
schema:
$ref: '#/components/schemas/Note'
description: ''
- /extras/config-contexts/:
+ /extras/config-context-schemas/:
get:
- operationId: extras_config_contexts_list
- description: Retrieve a list of config context objects.
+ operationId: extras_config_context_schemas_list
+ description: Retrieve a list of config context schema objects.
parameters:
- in: query
- name: cluster_group
+ name: contacts
schema:
type: array
items:
@@ -80084,7 +68890,12 @@ paths:
explode: true
style: form
- in: query
- name: cluster_group__n
+ name: contacts__isnull
+ schema:
+ type: boolean
+ description: Contacts (name or ID) is null
+ - in: query
+ name: contacts__n
schema:
type: array
items:
@@ -80092,47 +68903,39 @@ paths:
explode: true
style: form
- in: query
- name: cluster_group_id
+ name: description
schema:
type: array
items:
type: string
- format: uuid
- description: Cluster group (ID) - Deprecated (use cluster_group filter)
explode: true
style: form
- in: query
- name: cluster_group_id__n
+ name: description__ic
schema:
type: array
items:
type: string
- format: uuid
- description: Exclude Cluster group (ID) - Deprecated (use cluster_group filter)
explode: true
style: form
- in: query
- name: cluster_id
+ name: description__ie
schema:
type: array
items:
type: string
- format: uuid
- description: Cluster (ID)
explode: true
style: form
- in: query
- name: cluster_id__n
+ name: description__iew
schema:
type: array
items:
type: string
- format: uuid
- description: Exclude Cluster (ID)
explode: true
style: form
- in: query
- name: contacts
+ name: description__ire
schema:
type: array
items:
@@ -80140,18 +68943,23 @@ paths:
explode: true
style: form
- in: query
- name: contacts__isnull
+ name: description__isw
schema:
- type: boolean
- description: Contacts (name or ID) is null
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: contacts__n
+ name: description__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: device_redundancy_group
+ name: description__nic
schema:
type: array
items:
@@ -80159,7 +68967,7 @@ paths:
explode: true
style: form
- in: query
- name: device_redundancy_group__n
+ name: description__nie
schema:
type: array
items:
@@ -80167,7 +68975,7 @@ paths:
explode: true
style: form
- in: query
- name: device_type
+ name: description__niew
schema:
type: array
items:
@@ -80175,7 +68983,7 @@ paths:
explode: true
style: form
- in: query
- name: device_type__n
+ name: description__nire
schema:
type: array
items:
@@ -80183,23 +68991,43 @@ paths:
explode: true
style: form
- in: query
- name: device_type_id
+ name: description__nisw
schema:
type: array
items:
type: string
- format: uuid
- description: Device Type (ID) - Deprecated (use device_type filter)
explode: true
style: form
- in: query
- name: device_type_id__n
+ name: description__nre
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: description__re
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: dynamic_groups
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: dynamic_groups__n
schema:
type: array
items:
type: string
- format: uuid
- description: Exclude Device Type (ID) - Deprecated (use device_type filter)
explode: true
style: form
- in: query
@@ -80221,7 +69049,7 @@ paths:
description: Unique object identifier, either a UUID primary key or a composite
key.
- in: query
- name: id__ic
+ name: id__n
schema:
type: array
items:
@@ -80229,126 +69057,155 @@ paths:
format: uuid
explode: true
style: form
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
- in: query
- name: id__ie
+ name: name
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__iew
+ name: name__ic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ire
+ name: name__ie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__isw
+ name: name__iew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__n
+ name: name__ire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nic
+ name: name__isw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nie
+ name: name__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__niew
+ name: name__nic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nire
+ name: name__nie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nisw
+ name: name__niew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nre
+ name: name__nire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__re
+ name: name__nisw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: is_active
+ name: name__nre
schema:
- type: boolean
- - name: limit
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__re
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - name: offset
required: false
in: query
- description: Number of results to return per page.
+ description: The initial index from which to return the results.
schema:
type: integer
- in: query
- name: location
+ name: owner_content_type
+ schema:
+ type: string
+ - in: query
+ name: owner_content_type__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: owner_content_type__n
+ schema:
+ type: string
+ - in: query
+ name: q
+ schema:
+ type: string
+ description: Search
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
+ schema:
+ type: string
+ - in: query
+ name: teams
schema:
type: array
items:
@@ -80356,7 +69213,12 @@ paths:
explode: true
style: form
- in: query
- name: location__n
+ name: teams__isnull
+ schema:
+ type: boolean
+ description: Teams (name or ID) is null
+ - in: query
+ name: teams__n
schema:
type: array
items:
@@ -80364,59 +69226,515 @@ paths:
explode: true
style: form
- in: query
- name: location_id
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
+ tags:
+ - extras
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PaginatedConfigContextSchemaList'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PaginatedConfigContextSchemaList'
+ description: ''
+ post:
+ operationId: extras_config_context_schemas_create
+ description: Create one or more config context schema objects.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - extras
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ConfigContextSchemaRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/ConfigContextSchemaRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '201':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ConfigContextSchema'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/ConfigContextSchema'
+ description: ''
+ put:
+ operationId: extras_config_context_schemas_bulk_update
+ description: Update a list of config context schema objects.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - extras
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkWritableConfigContextSchemaRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkWritableConfigContextSchemaRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/ConfigContextSchema'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/ConfigContextSchema'
+ description: ''
+ patch:
+ operationId: extras_config_context_schemas_bulk_partial_update
+ description: Partial update a list of config context schema objects.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - extras
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/PatchedBulkWritableConfigContextSchemaRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/PatchedBulkWritableConfigContextSchemaRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/ConfigContextSchema'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/ConfigContextSchema'
+ description: ''
+ delete:
+ operationId: extras_config_context_schemas_bulk_destroy
+ description: Destroy a list of config context schema objects.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - extras
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '204':
+ description: No response body
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkOperationRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkOperationRequest'
+ required: true
+ /extras/config-context-schemas/{id}/:
+ get:
+ operationId: extras_config_context_schemas_retrieve
+ description: Retrieve a config context schema object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this config context schema.
+ required: true
+ - in: query
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
+ tags:
+ - extras
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ConfigContextSchema'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/ConfigContextSchema'
+ description: ''
+ put:
+ operationId: extras_config_context_schemas_update
+ description: Update a config context schema object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this config context schema.
+ required: true
+ tags:
+ - extras
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ConfigContextSchemaRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/ConfigContextSchemaRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ConfigContextSchema'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/ConfigContextSchema'
+ description: ''
+ patch:
+ operationId: extras_config_context_schemas_partial_update
+ description: Partial update a config context schema object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this config context schema.
+ required: true
+ tags:
+ - extras
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PatchedConfigContextSchemaRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PatchedConfigContextSchemaRequest'
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ConfigContextSchema'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/ConfigContextSchema'
+ description: ''
+ delete:
+ operationId: extras_config_context_schemas_destroy
+ description: Destroy a config context schema object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this config context schema.
+ required: true
+ tags:
+ - extras
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '204':
+ description: No response body
+ /extras/config-context-schemas/{id}/notes/:
+ get:
+ operationId: extras_config_context_schemas_notes_list
+ description: API methods for returning or creating notes on an object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this config context schema.
+ required: true
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
+ - in: query
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
+ tags:
+ - extras
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PaginatedNoteList'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PaginatedNoteList'
+ description: ''
+ post:
+ operationId: extras_config_context_schemas_notes_create
+ description: API methods for returning or creating notes on an object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this config context schema.
+ required: true
+ tags:
+ - extras
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/NoteInputRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/NoteInputRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '201':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Note'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/Note'
+ description: ''
+ /extras/config-contexts/:
+ get:
+ operationId: extras_config_contexts_list
+ description: Retrieve a list of config context objects.
+ parameters:
+ - in: query
+ name: cluster_group
schema:
type: array
items:
type: string
- format: uuid
- description: Location (ID) - Deprecated (use location filter)
explode: true
style: form
- in: query
- name: location_id__n
+ name: cluster_group__n
schema:
type: array
items:
type: string
- format: uuid
- description: Exclude Location (ID) - Deprecated (use location filter)
explode: true
style: form
- in: query
- name: name
+ name: cluster_group_id
schema:
type: array
items:
type: string
+ format: uuid
+ description: Cluster group (ID) - Deprecated (use cluster_group filter)
explode: true
style: form
- in: query
- name: name__ic
+ name: cluster_group_id__n
schema:
type: array
items:
type: string
+ format: uuid
+ description: Exclude Cluster group (ID) - Deprecated (use cluster_group filter)
explode: true
style: form
- in: query
- name: name__ie
+ name: cluster_id
schema:
type: array
items:
type: string
+ format: uuid
+ description: Cluster (ID)
explode: true
style: form
- in: query
- name: name__iew
+ name: cluster_id__n
schema:
type: array
items:
type: string
+ format: uuid
+ description: Exclude Cluster (ID)
explode: true
style: form
- in: query
- name: name__ire
+ name: contacts
schema:
type: array
items:
@@ -80424,7 +69742,12 @@ paths:
explode: true
style: form
- in: query
- name: name__isw
+ name: contacts__isnull
+ schema:
+ type: boolean
+ description: Contacts (name or ID) is null
+ - in: query
+ name: contacts__n
schema:
type: array
items:
@@ -80432,7 +69755,7 @@ paths:
explode: true
style: form
- in: query
- name: name__n
+ name: device_redundancy_group
schema:
type: array
items:
@@ -80440,7 +69763,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nic
+ name: device_redundancy_group__n
schema:
type: array
items:
@@ -80448,7 +69771,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nie
+ name: device_type
schema:
type: array
items:
@@ -80456,7 +69779,7 @@ paths:
explode: true
style: form
- in: query
- name: name__niew
+ name: device_type__n
schema:
type: array
items:
@@ -80464,169 +69787,230 @@ paths:
explode: true
style: form
- in: query
- name: name__nire
+ name: device_type_id
schema:
type: array
items:
type: string
+ format: uuid
+ description: Device Type (ID) - Deprecated (use device_type filter)
explode: true
style: form
- in: query
- name: name__nisw
+ name: device_type_id__n
schema:
type: array
items:
type: string
+ format: uuid
+ description: Exclude Device Type (ID) - Deprecated (use device_type filter)
explode: true
style: form
- in: query
- name: name__nre
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: query
+ name: id
schema:
type: array
items:
type: string
+ format: uuid
explode: true
style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
- name: name__re
+ name: id__n
schema:
type: array
items:
type: string
+ format: uuid
explode: true
style: form
- - name: offset
+ - in: query
+ name: is_active
+ schema:
+ type: boolean
+ - name: limit
required: false
in: query
- description: The initial index from which to return the results.
+ description: Number of results to return per page.
schema:
type: integer
- in: query
- name: owner_content_type
+ name: location
schema:
- type: string
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: owner_content_type__isnull
+ name: location__n
schema:
- type: boolean
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: owner_content_type__n
+ name: location_id
schema:
- type: string
+ type: array
+ items:
+ type: string
+ format: uuid
+ description: Location (ID) - Deprecated (use location filter)
+ explode: true
+ style: form
- in: query
- name: owner_object_id
+ name: location_id__n
schema:
type: array
items:
type: string
format: uuid
+ description: Exclude Location (ID) - Deprecated (use location filter)
explode: true
style: form
- in: query
- name: owner_object_id__ic
+ name: name
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: owner_object_id__ie
+ name: name__ic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: owner_object_id__iew
+ name: name__ie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: owner_object_id__ire
+ name: name__iew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: owner_object_id__isnull
+ name: name__ire
schema:
- type: boolean
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__isw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: owner_object_id__isw
+ name: name__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: owner_object_id__n
+ name: name__nic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: owner_object_id__nic
+ name: name__nie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: owner_object_id__nie
+ name: name__niew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: owner_object_id__niew
+ name: name__nire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: owner_object_id__nire
+ name: name__nisw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: owner_object_id__nisw
+ name: name__nre
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__re
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
+ - in: query
+ name: owner_content_type
+ schema:
+ type: string
+ - in: query
+ name: owner_content_type__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: owner_content_type__n
+ schema:
+ type: string
- in: query
- name: owner_object_id__nre
+ name: owner_object_id
schema:
type: array
items:
@@ -80635,7 +70019,11 @@ paths:
explode: true
style: form
- in: query
- name: owner_object_id__re
+ name: owner_object_id__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: owner_object_id__n
schema:
type: array
items:
@@ -80763,9 +70151,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: tenant
schema:
@@ -80847,6 +70237,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -81043,6 +70440,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -81207,6 +70611,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -81278,51 +70689,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: associated_object_id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: associated_object_id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: associated_object_id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: associated_object_id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: associated_object_id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: associated_object_id__n
schema:
@@ -81332,69 +70698,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: associated_object_id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: associated_object_id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: associated_object_id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: associated_object_id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: associated_object_id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: associated_object_id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: associated_object_id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: associated_object_type
schema:
@@ -81504,51 +70807,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -81558,69 +70816,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: last_updated
schema:
@@ -81707,9 +70902,11 @@ paths:
- in: query
name: role__n
schema:
- type: string
- format: uuid
- description: Exclude Role (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- name: sort
required: false
in: query
@@ -81727,9 +70924,11 @@ paths:
- in: query
name: status__n
schema:
- type: string
- format: uuid
- description: Exclude Status (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: team
schema:
@@ -81760,6 +70959,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -81956,6 +71162,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -82120,7 +71333,14 @@ paths:
minimum: 0
maximum: 10
default: 1
- tags:
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
+ tags:
- extras
security:
- cookieAuth: []
@@ -82475,9 +71695,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: email
schema:
@@ -82608,51 +71830,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -82662,69 +71839,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: last_updated
schema:
@@ -83058,6 +72172,27 @@ paths:
type: string
explode: true
style: form
+ - in: query
+ name: teams
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: teams__isnull
+ schema:
+ type: boolean
+ description: Team (name or ID) is null
+ - in: query
+ name: teams__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -83067,6 +72202,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -83263,6 +72405,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -83427,6 +72576,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -83833,6 +72989,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -83876,6 +73039,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -83930,51 +73100,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -83984,69 +73109,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- name: limit
required: false
in: query
@@ -84239,6 +73301,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -84435,6 +73504,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -84579,52 +73655,14 @@ paths:
description: Contacts (name or ID) is null
- in: query
name: contacts__n
- schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
- - in: query
- name: content_types
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__ic
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__ie
schema:
type: array
items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__iew
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__ire
- schema:
- type: array
- items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: content_types__isw
+ name: content_types
schema:
type: array
items:
@@ -84640,75 +73678,21 @@ paths:
explode: true
style: form
- in: query
- name: content_types__nic
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__nie
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__niew
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__nire
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__nisw
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__nre
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__re
+ name: dynamic_groups
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: dynamic_groups
+ name: dynamic_groups__n
schema:
type: array
items:
type: string
explode: true
style: form
- - in: query
- name: dynamic_groups__n
- schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
- in: query
name: filter_logic
schema:
@@ -84765,8 +73749,6 @@ paths:
type: array
items:
type: string
- description: Loose matches any instance of a given string; Exact matches the
- entire field.
explode: true
style: form
- in: query
@@ -84955,51 +73937,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -85009,69 +73946,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: label
schema:
@@ -85227,9 +74101,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: weight
schema:
@@ -85287,6 +74163,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -85483,6 +74366,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -85647,6 +74537,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -85765,8 +74662,6 @@ paths:
type: array
items:
type: string
- description: The class of the first link in a group will be used for the dropdown
- button
explode: true
style: form
- in: query
@@ -85841,9 +74736,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: content_type
schema:
@@ -85863,9 +74760,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -85996,51 +74895,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -86050,69 +74904,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- name: limit
required: false
in: query
@@ -86380,9 +75171,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: text
schema:
@@ -86552,6 +75345,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -86748,6 +75548,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -86912,6 +75719,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -87018,51 +75832,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -87072,69 +75841,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: last_updated
schema:
@@ -87214,10 +75920,6 @@ paths:
type: array
items:
type: string
- enum:
- - difference
- - intersection
- - union
explode: true
style: form
- in: query
@@ -87360,6 +76062,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -87561,6 +76270,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -87710,9 +76426,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: content_type
schema:
@@ -87964,10 +76682,6 @@ paths:
type: array
items:
type: string
- enum:
- - dynamic-filter
- - dynamic-set
- - static
explode: true
style: form
- in: query
@@ -88037,51 +76751,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -88091,69 +76760,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: last_updated
schema:
@@ -88228,56 +76834,6 @@ paths:
description: Group member ID
explode: true
style: form
- - in: query
- name: member_id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Group member ID contains
- explode: true
- style: form
- - in: query
- name: member_id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Group member ID
- explode: true
- style: form
- - in: query
- name: member_id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Group member ID ends with
- explode: true
- style: form
- - in: query
- name: member_id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Group member ID matches regex
- explode: true
- style: form
- - in: query
- name: member_id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Group member ID starts with
- explode: true
- style: form
- in: query
name: member_id__n
schema:
@@ -88288,76 +76844,6 @@ paths:
description: Exclude Group member ID
explode: true
style: form
- - in: query
- name: member_id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude Group member ID contains
- explode: true
- style: form
- - in: query
- name: member_id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude Group member ID
- explode: true
- style: form
- - in: query
- name: member_id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude Group member ID ends with
- explode: true
- style: form
- - in: query
- name: member_id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude Group member ID matches regex
- explode: true
- style: form
- - in: query
- name: member_id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude Group member ID starts with
- explode: true
- style: form
- - in: query
- name: member_id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude Group member ID matches regex
- explode: true
- style: form
- - in: query
- name: member_id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Group member ID matches regex
- explode: true
- style: form
- in: query
name: name
schema:
@@ -88523,9 +77009,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: tenant
schema:
@@ -88604,6 +77092,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -88805,6 +77300,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -88960,6 +77462,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -89015,6 +77524,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -89093,9 +77609,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: content_type
schema:
@@ -89115,9 +77633,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -89136,51 +77656,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -89190,69 +77665,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- name: limit
required: false
in: query
@@ -89398,55 +77810,10 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: owner_object_id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: owner_object_id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: owner_object_id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: owner_object_id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: owner_object_id__isnull
schema:
type: boolean
- - in: query
- name: owner_object_id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: owner_object_id__n
schema:
@@ -89456,69 +77823,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: owner_object_id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: owner_object_id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: owner_object_id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: owner_object_id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: owner_object_id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: owner_object_id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: owner_object_id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: q
schema:
@@ -89546,9 +77850,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -89558,6 +77864,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -89754,6 +78067,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -89918,6 +78238,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -90108,9 +78435,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -90180,9 +78509,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: extra_config
schema:
@@ -90334,51 +78665,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -90388,69 +78674,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: last_updated
schema:
@@ -90813,9 +79036,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: timeout
schema:
@@ -90877,6 +79102,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -91073,6 +79305,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -91237,6 +79476,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -91317,51 +79563,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -91371,69 +79572,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: job
schema:
@@ -91680,6 +79818,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -91723,6 +79868,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -91766,6 +79918,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -91916,9 +80075,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -91988,9 +80149,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -92009,51 +80172,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -92063,69 +80181,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: last_updated
schema:
@@ -92634,9 +80689,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -92646,6 +80703,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -92842,6 +80906,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -93006,6 +81077,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -93084,15 +81162,6 @@ paths:
required: true
tags:
- extras
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/GitRepositoryRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/GitRepositoryRequest'
- required: true
security:
- cookieAuth: []
- tokenAuth: []
@@ -93101,10 +81170,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/GitRepository'
+ $ref: '#/components/schemas/GitRepositorySyncResponse'
text/csv:
schema:
- $ref: '#/components/schemas/GitRepository'
+ $ref: '#/components/schemas/GitRepositorySyncResponse'
description: ''
/extras/graphql-queries/:
get:
@@ -93126,80 +81195,37 @@ paths:
description: Contacts (name or ID) is null
- in: query
name: contacts__n
- schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
- - in: query
- name: dynamic_groups
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: dynamic_groups__n
- schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: query
- name: id
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- description: Unique object identifier, either a UUID primary key or a composite
- key.
- in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
+ name: dynamic_groups
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__iew
+ name: dynamic_groups__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ire
+ name: format
schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
+ type: string
+ enum:
+ - csv
+ - json
- in: query
- name: id__isw
+ name: id
schema:
type: array
items:
@@ -93207,6 +81233,8 @@ paths:
format: uuid
explode: true
style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
name: id__n
schema:
@@ -93216,69 +81244,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- name: limit
required: false
in: query
@@ -93430,9 +81395,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -93442,6 +81409,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -93638,6 +81612,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -93802,6 +81783,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -93940,51 +81928,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -93994,69 +81937,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- name: limit
required: false
in: query
@@ -94184,51 +82064,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: object_id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: object_id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: object_id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: object_id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: object_id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: object_id__n
schema:
@@ -94238,69 +82073,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: object_id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: object_id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: object_id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: object_id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: object_id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: object_id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: object_id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- name: offset
required: false
in: query
@@ -94327,6 +82099,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -94363,6 +82142,9 @@ paths:
text/csv:
schema:
$ref: '#/components/schemas/ImageAttachmentRequest'
+ multipart/form-data:
+ schema:
+ $ref: '#/components/schemas/ImageAttachmentRequest'
required: true
security:
- cookieAuth: []
@@ -94402,6 +82184,11 @@ paths:
type: array
items:
$ref: '#/components/schemas/BulkWritableImageAttachmentRequest'
+ multipart/form-data:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkWritableImageAttachmentRequest'
required: true
security:
- cookieAuth: []
@@ -94445,6 +82232,11 @@ paths:
type: array
items:
$ref: '#/components/schemas/PatchedBulkWritableImageAttachmentRequest'
+ multipart/form-data:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/PatchedBulkWritableImageAttachmentRequest'
required: true
security:
- cookieAuth: []
@@ -94494,6 +82286,11 @@ paths:
type: array
items:
$ref: '#/components/schemas/BulkOperationRequest'
+ multipart/form-data:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkOperationRequest'
required: true
/extras/image-attachments/{id}/:
get:
@@ -94523,6 +82320,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -94566,6 +82370,9 @@ paths:
text/csv:
schema:
$ref: '#/components/schemas/ImageAttachmentRequest'
+ multipart/form-data:
+ schema:
+ $ref: '#/components/schemas/ImageAttachmentRequest'
required: true
security:
- cookieAuth: []
@@ -94608,6 +82415,9 @@ paths:
text/csv:
schema:
$ref: '#/components/schemas/PatchedImageAttachmentRequest'
+ multipart/form-data:
+ schema:
+ $ref: '#/components/schemas/PatchedImageAttachmentRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -94784,65 +82594,19 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: content_types
schema:
type: string
- - in: query
- name: content_types__ic
- schema:
- type: string
- - in: query
- name: content_types__ie
- schema:
- type: string
- - in: query
- name: content_types__iew
- schema:
- type: string
- - in: query
- name: content_types__ire
- schema:
- type: string
- - in: query
- name: content_types__isw
- schema:
- type: string
- in: query
name: content_types__n
schema:
type: string
- - in: query
- name: content_types__nic
- schema:
- type: string
- - in: query
- name: content_types__nie
- schema:
- type: string
- - in: query
- name: content_types__niew
- schema:
- type: string
- - in: query
- name: content_types__nire
- schema:
- type: string
- - in: query
- name: content_types__nisw
- schema:
- type: string
- - in: query
- name: content_types__nre
- schema:
- type: string
- - in: query
- name: content_types__re
- schema:
- type: string
- in: query
name: dynamic_groups
schema:
@@ -94854,9 +82618,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: enabled
schema:
@@ -94991,51 +82757,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -95045,69 +82766,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: job
schema:
@@ -95275,9 +82933,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: text
schema:
@@ -95447,6 +83107,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -95643,6 +83310,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -95807,6 +83481,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -95884,52 +83565,14 @@ paths:
description: Contacts (name or ID) is null
- in: query
name: contacts__n
- schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
- - in: query
- name: content_types
schema:
type: array
items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__ic
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__ie
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__iew
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__ire
- schema:
- type: array
- items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: content_types__isw
+ name: content_types
schema:
type: array
items:
@@ -95945,75 +83588,21 @@ paths:
explode: true
style: form
- in: query
- name: content_types__nic
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__nie
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__niew
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__nire
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__nisw
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__nre
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__re
+ name: dynamic_groups
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: dynamic_groups
+ name: dynamic_groups__n
schema:
type: array
items:
type: string
explode: true
style: form
- - in: query
- name: dynamic_groups__n
- schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
- in: query
name: enabled
schema:
@@ -96036,51 +83625,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -96090,69 +83634,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: job
schema:
@@ -96320,9 +83801,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: type_create
schema:
@@ -96344,6 +83827,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -96540,6 +84030,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -96704,6 +84201,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -97062,51 +84566,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -97116,69 +84575,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: job_result
schema:
@@ -97557,6 +84953,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -97600,6 +85003,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -97615,67 +85025,473 @@ paths:
schema:
$ref: '#/components/schemas/JobLogEntry'
description: ''
- /extras/job-results/:
+ /extras/job-queue-assignments/:
get:
- operationId: extras_job_results_list
- description: Retrieve a list of job results
+ operationId: extras_job_queue_assignments_list
+ description: Manage job queue assignments through DELETE, GET, POST, PUT, and
+ PATCH requests.
parameters:
- in: query
- name: date_created
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: query
+ name: id
schema:
type: array
items:
type: string
- format: date-time
+ format: uuid
explode: true
style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
- name: date_created__gt
+ name: id__n
schema:
type: array
items:
type: string
- format: date-time
+ format: uuid
explode: true
style: form
- in: query
- name: date_created__gte
+ name: job
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: date_created__lt
+ name: job__n
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: date_created__lte
+ name: job_queue
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: date_created__n
+ name: job_queue__n
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
- in: query
- name: date_done
+ name: q
+ schema:
+ type: string
+ description: Search
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
+ schema:
+ type: string
+ - in: query
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
+ tags:
+ - extras
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PaginatedJobQueueAssignmentList'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PaginatedJobQueueAssignmentList'
+ description: ''
+ post:
+ operationId: extras_job_queue_assignments_create
+ description: Manage job queue assignments through DELETE, GET, POST, PUT, and
+ PATCH requests.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - extras
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/JobQueueAssignmentRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/JobQueueAssignmentRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '201':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/JobQueueAssignment'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/JobQueueAssignment'
+ description: ''
+ put:
+ operationId: extras_job_queue_assignments_bulk_update
+ description: Manage job queue assignments through DELETE, GET, POST, PUT, and
+ PATCH requests.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - extras
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkWritableJobQueueAssignmentRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkWritableJobQueueAssignmentRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/JobQueueAssignment'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/JobQueueAssignment'
+ description: ''
+ patch:
+ operationId: extras_job_queue_assignments_bulk_partial_update
+ description: Manage job queue assignments through DELETE, GET, POST, PUT, and
+ PATCH requests.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - extras
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/PatchedBulkWritableJobQueueAssignmentRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/PatchedBulkWritableJobQueueAssignmentRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/JobQueueAssignment'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/JobQueueAssignment'
+ description: ''
+ delete:
+ operationId: extras_job_queue_assignments_bulk_destroy
+ description: Manage job queue assignments through DELETE, GET, POST, PUT, and
+ PATCH requests.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - extras
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '204':
+ description: No response body
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkOperationRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkOperationRequest'
+ required: true
+ /extras/job-queue-assignments/{id}/:
+ get:
+ operationId: extras_job_queue_assignments_retrieve
+ description: Manage job queue assignments through DELETE, GET, POST, PUT, and
+ PATCH requests.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this job queue assignment.
+ required: true
+ - in: query
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
+ tags:
+ - extras
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/JobQueueAssignment'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/JobQueueAssignment'
+ description: ''
+ put:
+ operationId: extras_job_queue_assignments_update
+ description: Manage job queue assignments through DELETE, GET, POST, PUT, and
+ PATCH requests.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this job queue assignment.
+ required: true
+ tags:
+ - extras
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/JobQueueAssignmentRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/JobQueueAssignmentRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/JobQueueAssignment'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/JobQueueAssignment'
+ description: ''
+ patch:
+ operationId: extras_job_queue_assignments_partial_update
+ description: Manage job queue assignments through DELETE, GET, POST, PUT, and
+ PATCH requests.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this job queue assignment.
+ required: true
+ tags:
+ - extras
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PatchedJobQueueAssignmentRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PatchedJobQueueAssignmentRequest'
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/JobQueueAssignment'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/JobQueueAssignment'
+ description: ''
+ delete:
+ operationId: extras_job_queue_assignments_destroy
+ description: Manage job queue assignments through DELETE, GET, POST, PUT, and
+ PATCH requests.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this job queue assignment.
+ required: true
+ tags:
+ - extras
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '204':
+ description: No response body
+ /extras/job-queues/:
+ get:
+ operationId: extras_job_queues_list
+ description: Manage job queues through DELETE, GET, POST, PUT, and PATCH requests.
+ parameters:
+ - in: query
+ name: contacts
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: contacts__isnull
+ schema:
+ type: boolean
+ description: Contacts (name or ID) is null
+ - in: query
+ name: contacts__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: created
schema:
type: array
items:
@@ -97684,7 +85500,7 @@ paths:
explode: true
style: form
- in: query
- name: date_done__gt
+ name: created__gt
schema:
type: array
items:
@@ -97693,7 +85509,7 @@ paths:
explode: true
style: form
- in: query
- name: date_done__gte
+ name: created__gte
schema:
type: array
items:
@@ -97702,11 +85518,11 @@ paths:
explode: true
style: form
- in: query
- name: date_done__isnull
+ name: created__isnull
schema:
type: boolean
- in: query
- name: date_done__lt
+ name: created__lt
schema:
type: array
items:
@@ -97715,7 +85531,7 @@ paths:
explode: true
style: form
- in: query
- name: date_done__lte
+ name: created__lte
schema:
type: array
items:
@@ -97724,7 +85540,7 @@ paths:
explode: true
style: form
- in: query
- name: date_done__n
+ name: created__n
schema:
type: array
items:
@@ -97733,124 +85549,147 @@ paths:
explode: true
style: form
- in: query
- name: format
+ name: description
schema:
- type: string
- enum:
- - csv
- - json
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: id
+ name: description__ic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- description: Unique object identifier, either a UUID primary key or a composite
- key.
- in: query
- name: id__ic
+ name: description__ie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ie
+ name: description__iew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__iew
+ name: description__ire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ire
+ name: description__isw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__isw
+ name: description__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__n
+ name: description__nic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nic
+ name: description__nie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: description__niew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nie
+ name: description__nire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__niew
+ name: description__nisw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nire
+ name: description__nre
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nisw
+ name: description__re
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nre
+ name: dynamic_groups
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: dynamic_groups__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: query
+ name: has_jobs
+ schema:
+ type: boolean
+ description: Has jobs
+ - in: query
+ name: id
schema:
type: array
items:
@@ -97858,8 +85697,10 @@ paths:
format: uuid
explode: true
style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
- name: id__re
+ name: id__n
schema:
type: array
items:
@@ -97868,7 +85709,7 @@ paths:
explode: true
style: form
- in: query
- name: job_model
+ name: jobs
schema:
type: array
items:
@@ -97876,12 +85717,12 @@ paths:
explode: true
style: form
- in: query
- name: job_model__isnull
+ name: jobs__isnull
schema:
type: boolean
description: Job (name or ID) is null
- in: query
- name: job_model__n
+ name: jobs__n
schema:
type: array
items:
@@ -97889,30 +85730,61 @@ paths:
explode: true
style: form
- in: query
- name: job_model_id
+ name: last_updated
schema:
type: array
items:
type: string
- format: uuid
- nullable: true
- description: Job (ID) - Deprecated (use job_model filter)
+ format: date-time
explode: true
style: form
- in: query
- name: job_model_id__isnull
+ name: last_updated__gt
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: last_updated__gte
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: last_updated__isnull
schema:
type: boolean
- description: Job (ID) - Deprecated (use job_model filter) is null
- in: query
- name: job_model_id__n
+ name: last_updated__lt
schema:
type: array
items:
type: string
- format: uuid
- nullable: true
- description: Exclude Job (ID) - Deprecated (use job_model filter)
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: last_updated__lte
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: last_updated__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
explode: true
style: form
- name: limit
@@ -98045,7 +85917,7 @@ paths:
type: string
description: Search
- in: query
- name: scheduled_job
+ name: queue_type
schema:
type: array
items:
@@ -98053,164 +85925,225 @@ paths:
explode: true
style: form
- in: query
- name: scheduled_job__isnull
+ name: queue_type__ic
schema:
- type: boolean
- description: Scheduled Job (name or ID) is null
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: scheduled_job__n
+ name: queue_type__ie
schema:
type: array
items:
type: string
explode: true
style: form
- - name: sort
- required: false
- in: query
- description: Which field to use when ordering the results.
+ - in: query
+ name: queue_type__iew
schema:
- type: string
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: status
+ name: queue_type__ire
schema:
type: array
items:
type: string
- description: Current state of the Job being run
explode: true
style: form
- in: query
- name: status__ic
+ name: queue_type__isw
schema:
type: array
items:
type: string
- description: Current state of the Job being run
explode: true
style: form
- in: query
- name: status__ie
+ name: queue_type__n
schema:
type: array
items:
type: string
- description: Current state of the Job being run
explode: true
style: form
- in: query
- name: status__iew
+ name: queue_type__nic
schema:
type: array
items:
type: string
- description: Current state of the Job being run
explode: true
style: form
- in: query
- name: status__ire
+ name: queue_type__nie
schema:
type: array
items:
type: string
- description: Current state of the Job being run
explode: true
style: form
- in: query
- name: status__isw
+ name: queue_type__niew
schema:
type: array
items:
type: string
- description: Current state of the Job being run
explode: true
style: form
- in: query
- name: status__n
+ name: queue_type__nire
schema:
type: array
items:
type: string
- description: Current state of the Job being run
explode: true
style: form
- in: query
- name: status__nic
+ name: queue_type__nisw
schema:
type: array
items:
type: string
- description: Current state of the Job being run
explode: true
style: form
- in: query
- name: status__nie
+ name: queue_type__nre
schema:
type: array
items:
type: string
- description: Current state of the Job being run
explode: true
style: form
- in: query
- name: status__niew
+ name: queue_type__re
schema:
type: array
items:
type: string
- description: Current state of the Job being run
explode: true
style: form
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
+ schema:
+ type: string
- in: query
- name: status__nire
+ name: tags
schema:
type: array
items:
type: string
- description: Current state of the Job being run
explode: true
style: form
- in: query
- name: status__nisw
+ name: tags__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: tags__n
schema:
type: array
items:
type: string
- description: Current state of the Job being run
explode: true
style: form
- in: query
- name: status__nre
+ name: teams
schema:
type: array
items:
type: string
- description: Current state of the Job being run
explode: true
style: form
- in: query
- name: status__re
+ name: teams__isnull
+ schema:
+ type: boolean
+ description: Teams (name or ID) is null
+ - in: query
+ name: teams__n
schema:
type: array
items:
type: string
- description: Current state of the Job being run
explode: true
style: form
- in: query
- name: user
+ name: tenant
schema:
- type: string
- format: uuid
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: user__isnull
+ name: tenant__isnull
schema:
type: boolean
+ description: Tenant (name or ID) is null
- in: query
- name: user__n
+ name: tenant__n
schema:
- type: string
- format: uuid
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: tenant_group
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: tenant_group__isnull
+ schema:
+ type: boolean
+ description: Tenant Group (name or ID) is null
+ - in: query
+ name: tenant_group__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: tenant_id
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ nullable: true
+ description: Tenant (ID) (deprecated, use "tenant" filter instead)
+ explode: true
+ style: form
+ - in: query
+ name: tenant_id__isnull
+ schema:
+ type: boolean
+ description: Tenant (ID) (deprecated, use "tenant" filter instead) is null
+ - in: query
+ name: tenant_id__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ nullable: true
+ description: Exclude Tenant (ID) (deprecated, use "tenant" filter instead)
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -98220,6 +86153,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -98230,14 +86170,135 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedJobResultList'
+ $ref: '#/components/schemas/PaginatedJobQueueList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedJobResultList'
+ $ref: '#/components/schemas/PaginatedJobQueueList'
+ description: ''
+ post:
+ operationId: extras_job_queues_create
+ description: Manage job queues through DELETE, GET, POST, PUT, and PATCH requests.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - extras
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/JobQueueRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/JobQueueRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '201':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/JobQueue'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/JobQueue'
+ description: ''
+ put:
+ operationId: extras_job_queues_bulk_update
+ description: Manage job queues through DELETE, GET, POST, PUT, and PATCH requests.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - extras
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkWritableJobQueueRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkWritableJobQueueRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/JobQueue'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/JobQueue'
+ description: ''
+ patch:
+ operationId: extras_job_queues_bulk_partial_update
+ description: Manage job queues through DELETE, GET, POST, PUT, and PATCH requests.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - extras
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/PatchedBulkWritableJobQueueRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/PatchedBulkWritableJobQueueRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/JobQueue'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/JobQueue'
description: ''
delete:
- operationId: extras_job_results_bulk_destroy
- description: Retrieve a list of job results
+ operationId: extras_job_queues_bulk_destroy
+ description: Manage job queues through DELETE, GET, POST, PUT, and PATCH requests.
parameters:
- in: query
name: format
@@ -98267,10 +86328,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /extras/job-results/{id}/:
+ /extras/job-queues/{id}/:
get:
- operationId: extras_job_results_retrieve
- description: Retrieve a list of job results
+ operationId: extras_job_queues_retrieve
+ description: Manage job queues through DELETE, GET, POST, PUT, and PATCH requests.
parameters:
- in: query
name: format
@@ -98284,7 +86345,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this job result.
+ description: A UUID string identifying this job queue.
required: true
- in: query
name: depth
@@ -98295,6 +86356,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -98305,14 +86373,97 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/JobResult'
+ $ref: '#/components/schemas/JobQueue'
text/csv:
schema:
- $ref: '#/components/schemas/JobResult'
+ $ref: '#/components/schemas/JobQueue'
+ description: ''
+ put:
+ operationId: extras_job_queues_update
+ description: Manage job queues through DELETE, GET, POST, PUT, and PATCH requests.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this job queue.
+ required: true
+ tags:
+ - extras
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/JobQueueRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/JobQueueRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/JobQueue'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/JobQueue'
+ description: ''
+ patch:
+ operationId: extras_job_queues_partial_update
+ description: Manage job queues through DELETE, GET, POST, PUT, and PATCH requests.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this job queue.
+ required: true
+ tags:
+ - extras
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PatchedJobQueueRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PatchedJobQueueRequest'
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/JobQueue'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/JobQueue'
description: ''
delete:
- operationId: extras_job_results_destroy
- description: Retrieve a list of job results
+ operationId: extras_job_queues_destroy
+ description: Manage job queues through DELETE, GET, POST, PUT, and PATCH requests.
parameters:
- in: query
name: format
@@ -98326,7 +86477,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this job result.
+ description: A UUID string identifying this job queue.
required: true
tags:
- extras
@@ -98336,10 +86487,10 @@ paths:
responses:
'204':
description: No response body
- /extras/job-results/{id}/logs/:
+ /extras/job-queues/{id}/notes/:
get:
- operationId: extras_job_results_logs_retrieve
- description: Retrieve a list of job results
+ operationId: extras_job_queues_notes_list
+ description: API methods for returning or creating notes on an object.
parameters:
- in: query
name: format
@@ -98353,8 +86504,20 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this job result.
+ description: A UUID string identifying this job queue.
required: true
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
- in: query
name: depth
required: false
@@ -98364,6 +86527,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -98374,212 +86544,235 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/JobResult'
+ $ref: '#/components/schemas/PaginatedNoteList'
text/csv:
schema:
- $ref: '#/components/schemas/JobResult'
+ $ref: '#/components/schemas/PaginatedNoteList'
description: ''
- /extras/jobs/:
- get:
- operationId: extras_jobs_list
- description: Retrieve a list of job objects.
+ post:
+ operationId: extras_job_queues_notes_create
+ description: API methods for returning or creating notes on an object.
parameters:
- in: query
- name: approval_required
- schema:
- type: boolean
- - in: query
- name: approval_required_override
- schema:
- type: boolean
- - in: query
- name: contacts
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: contacts__isnull
+ name: format
schema:
- type: boolean
- description: Contacts (name or ID) is null
- - in: query
- name: contacts__n
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
schema:
type: string
format: uuid
- description: Exclude Contacts (name or ID)
- - in: query
- name: description_override
- schema:
- type: boolean
- - in: query
- name: dryrun_default
- schema:
- type: boolean
- - in: query
- name: dryrun_default_override
- schema:
- type: boolean
+ description: A UUID string identifying this job queue.
+ required: true
+ tags:
+ - extras
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/NoteInputRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/NoteInputRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '201':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Note'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/Note'
+ description: ''
+ /extras/job-results/:
+ get:
+ operationId: extras_job_results_list
+ description: Retrieve a list of job results
+ parameters:
- in: query
- name: dynamic_groups
+ name: date_created
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: dynamic_groups__n
- schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
- - in: query
- name: enabled
- schema:
- type: boolean
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: query
- name: grouping
+ name: date_created__gt
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: grouping__ic
+ name: date_created__gte
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: grouping__ie
+ name: date_created__lt
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: grouping__iew
+ name: date_created__lte
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: grouping__ire
+ name: date_created__n
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: grouping__isw
+ name: date_done
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: grouping__n
+ name: date_done__gt
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: grouping__nic
+ name: date_done__gte
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: grouping__nie
+ name: date_done__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: date_done__lt
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: grouping__niew
+ name: date_done__lte
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: grouping__nire
+ name: date_done__n
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: grouping__nisw
+ name: date_started
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: grouping__nre
+ name: date_started__gt
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: grouping__re
+ name: date_started__gte
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: grouping_override
+ name: date_started__isnull
schema:
type: boolean
- in: query
- name: has_sensitive_variables
+ name: date_started__lt
schema:
- type: boolean
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
- in: query
- name: has_sensitive_variables_override
+ name: date_started__lte
schema:
- type: boolean
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
- in: query
- name: hidden
+ name: date_started__n
schema:
- type: boolean
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
- in: query
- name: hidden_override
+ name: format
schema:
- type: boolean
+ type: string
+ enum:
+ - csv
+ - json
- in: query
name: id
schema:
@@ -98592,7 +86785,7 @@ paths:
description: Unique object identifier, either a UUID primary key or a composite
key.
- in: query
- name: id__ic
+ name: id__n
schema:
type: array
items:
@@ -98601,127 +86794,125 @@ paths:
explode: true
style: form
- in: query
- name: id__ie
+ name: job_model
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__iew
+ name: job_model__isnull
+ schema:
+ type: boolean
+ description: Job (name or ID) is null
+ - in: query
+ name: job_model__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ire
+ name: job_model_id
schema:
type: array
items:
type: string
format: uuid
+ nullable: true
+ description: Job (ID) - Deprecated (use job_model filter)
explode: true
style: form
- in: query
- name: id__isw
+ name: job_model_id__isnull
+ schema:
+ type: boolean
+ description: Job (ID) - Deprecated (use job_model filter) is null
+ - in: query
+ name: job_model_id__n
schema:
type: array
items:
type: string
format: uuid
+ nullable: true
+ description: Exclude Job (ID) - Deprecated (use job_model filter)
explode: true
style: form
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
- in: query
- name: id__n
+ name: name
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nic
+ name: name__ic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nie
+ name: name__ie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__niew
+ name: name__iew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nire
+ name: name__ire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nisw
+ name: name__isw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nre
+ name: name__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__re
+ name: name__nic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: installed
- schema:
- type: boolean
- - in: query
- name: is_job_button_receiver
- schema:
- type: boolean
- - in: query
- name: is_job_hook_receiver
- schema:
- type: boolean
- - in: query
- name: job_class_name
+ name: name__nie
schema:
type: array
items:
@@ -98729,7 +86920,7 @@ paths:
explode: true
style: form
- in: query
- name: job_class_name__ic
+ name: name__niew
schema:
type: array
items:
@@ -98737,7 +86928,7 @@ paths:
explode: true
style: form
- in: query
- name: job_class_name__ie
+ name: name__nire
schema:
type: array
items:
@@ -98745,7 +86936,7 @@ paths:
explode: true
style: form
- in: query
- name: job_class_name__iew
+ name: name__nisw
schema:
type: array
items:
@@ -98753,7 +86944,7 @@ paths:
explode: true
style: form
- in: query
- name: job_class_name__ire
+ name: name__nre
schema:
type: array
items:
@@ -98761,15 +86952,26 @@ paths:
explode: true
style: form
- in: query
- name: job_class_name__isw
+ name: name__re
schema:
type: array
items:
type: string
explode: true
style: form
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
- in: query
- name: job_class_name__n
+ name: q
+ schema:
+ type: string
+ description: Search
+ - in: query
+ name: scheduled_job
schema:
type: array
items:
@@ -98777,23 +86979,35 @@ paths:
explode: true
style: form
- in: query
- name: job_class_name__nic
+ name: scheduled_job__isnull
+ schema:
+ type: boolean
+ description: Scheduled Job (name or ID) is null
+ - in: query
+ name: scheduled_job__n
schema:
type: array
items:
type: string
explode: true
style: form
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
+ schema:
+ type: string
- in: query
- name: job_class_name__nie
+ name: status
schema:
type: array
items:
type: string
+ description: Current state of the Job being run
explode: true
style: form
- in: query
- name: job_class_name__niew
+ name: status__ic
schema:
type: array
items:
@@ -98801,7 +87015,7 @@ paths:
explode: true
style: form
- in: query
- name: job_class_name__nire
+ name: status__ie
schema:
type: array
items:
@@ -98809,7 +87023,7 @@ paths:
explode: true
style: form
- in: query
- name: job_class_name__nisw
+ name: status__iew
schema:
type: array
items:
@@ -98817,7 +87031,7 @@ paths:
explode: true
style: form
- in: query
- name: job_class_name__nre
+ name: status__ire
schema:
type: array
items:
@@ -98825,21 +87039,15 @@ paths:
explode: true
style: form
- in: query
- name: job_class_name__re
+ name: status__isw
schema:
type: array
items:
type: string
explode: true
style: form
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- in: query
- name: module_name
+ name: status__n
schema:
type: array
items:
@@ -98847,7 +87055,7 @@ paths:
explode: true
style: form
- in: query
- name: module_name__ic
+ name: status__nic
schema:
type: array
items:
@@ -98855,7 +87063,7 @@ paths:
explode: true
style: form
- in: query
- name: module_name__ie
+ name: status__nie
schema:
type: array
items:
@@ -98863,7 +87071,7 @@ paths:
explode: true
style: form
- in: query
- name: module_name__iew
+ name: status__niew
schema:
type: array
items:
@@ -98871,7 +87079,7 @@ paths:
explode: true
style: form
- in: query
- name: module_name__ire
+ name: status__nire
schema:
type: array
items:
@@ -98879,7 +87087,7 @@ paths:
explode: true
style: form
- in: query
- name: module_name__isw
+ name: status__nisw
schema:
type: array
items:
@@ -98887,7 +87095,7 @@ paths:
explode: true
style: form
- in: query
- name: module_name__n
+ name: status__nre
schema:
type: array
items:
@@ -98895,7 +87103,7 @@ paths:
explode: true
style: form
- in: query
- name: module_name__nic
+ name: status__re
schema:
type: array
items:
@@ -98903,7 +87111,223 @@ paths:
explode: true
style: form
- in: query
- name: module_name__nie
+ name: user
+ schema:
+ type: string
+ format: uuid
+ - in: query
+ name: user__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: user__n
+ schema:
+ type: string
+ format: uuid
+ - in: query
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
+ tags:
+ - extras
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PaginatedJobResultList'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PaginatedJobResultList'
+ description: ''
+ delete:
+ operationId: extras_job_results_bulk_destroy
+ description: Retrieve a list of job results
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - extras
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '204':
+ description: No response body
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkOperationRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkOperationRequest'
+ required: true
+ /extras/job-results/{id}/:
+ get:
+ operationId: extras_job_results_retrieve
+ description: Retrieve a list of job results
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this job result.
+ required: true
+ - in: query
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
+ tags:
+ - extras
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/JobResult'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/JobResult'
+ description: ''
+ delete:
+ operationId: extras_job_results_destroy
+ description: Retrieve a list of job results
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this job result.
+ required: true
+ tags:
+ - extras
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '204':
+ description: No response body
+ /extras/job-results/{id}/logs/:
+ get:
+ operationId: extras_job_results_logs_retrieve
+ description: Retrieve a list of job results
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this job result.
+ required: true
+ - in: query
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
+ tags:
+ - extras
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/JobResult'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/JobResult'
+ description: ''
+ /extras/jobs/:
+ get:
+ operationId: extras_jobs_list
+ description: Retrieve a list of job objects.
+ parameters:
+ - in: query
+ name: approval_required
+ schema:
+ type: boolean
+ - in: query
+ name: approval_required_override
+ schema:
+ type: boolean
+ - in: query
+ name: contacts
schema:
type: array
items:
@@ -98911,7 +87335,12 @@ paths:
explode: true
style: form
- in: query
- name: module_name__niew
+ name: contacts__isnull
+ schema:
+ type: boolean
+ description: Contacts (name or ID) is null
+ - in: query
+ name: contacts__n
schema:
type: array
items:
@@ -98919,7 +87348,19 @@ paths:
explode: true
style: form
- in: query
- name: module_name__nire
+ name: description_override
+ schema:
+ type: boolean
+ - in: query
+ name: dryrun_default
+ schema:
+ type: boolean
+ - in: query
+ name: dryrun_default_override
+ schema:
+ type: boolean
+ - in: query
+ name: dynamic_groups
schema:
type: array
items:
@@ -98927,7 +87368,7 @@ paths:
explode: true
style: form
- in: query
- name: module_name__nisw
+ name: dynamic_groups__n
schema:
type: array
items:
@@ -98935,7 +87376,18 @@ paths:
explode: true
style: form
- in: query
- name: module_name__nre
+ name: enabled
+ schema:
+ type: boolean
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: query
+ name: grouping
schema:
type: array
items:
@@ -98943,7 +87395,7 @@ paths:
explode: true
style: form
- in: query
- name: module_name__re
+ name: grouping__ic
schema:
type: array
items:
@@ -98951,7 +87403,7 @@ paths:
explode: true
style: form
- in: query
- name: name
+ name: grouping__ie
schema:
type: array
items:
@@ -98959,7 +87411,7 @@ paths:
explode: true
style: form
- in: query
- name: name__ic
+ name: grouping__iew
schema:
type: array
items:
@@ -98967,7 +87419,7 @@ paths:
explode: true
style: form
- in: query
- name: name__ie
+ name: grouping__ire
schema:
type: array
items:
@@ -98975,7 +87427,7 @@ paths:
explode: true
style: form
- in: query
- name: name__iew
+ name: grouping__isw
schema:
type: array
items:
@@ -98983,7 +87435,7 @@ paths:
explode: true
style: form
- in: query
- name: name__ire
+ name: grouping__n
schema:
type: array
items:
@@ -98991,7 +87443,7 @@ paths:
explode: true
style: form
- in: query
- name: name__isw
+ name: grouping__nic
schema:
type: array
items:
@@ -98999,7 +87451,7 @@ paths:
explode: true
style: form
- in: query
- name: name__n
+ name: grouping__nie
schema:
type: array
items:
@@ -99007,7 +87459,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nic
+ name: grouping__niew
schema:
type: array
items:
@@ -99015,7 +87467,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nie
+ name: grouping__nire
schema:
type: array
items:
@@ -99023,7 +87475,7 @@ paths:
explode: true
style: form
- in: query
- name: name__niew
+ name: grouping__nisw
schema:
type: array
items:
@@ -99031,7 +87483,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nire
+ name: grouping__nre
schema:
type: array
items:
@@ -99039,7 +87491,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nisw
+ name: grouping__re
schema:
type: array
items:
@@ -99047,106 +87499,115 @@ paths:
explode: true
style: form
- in: query
- name: name__nre
+ name: grouping_override
+ schema:
+ type: boolean
+ - in: query
+ name: has_sensitive_variables
+ schema:
+ type: boolean
+ - in: query
+ name: has_sensitive_variables_override
+ schema:
+ type: boolean
+ - in: query
+ name: hidden
+ schema:
+ type: boolean
+ - in: query
+ name: hidden_override
+ schema:
+ type: boolean
+ - in: query
+ name: id
schema:
type: array
items:
type: string
+ format: uuid
explode: true
style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
- name: name__re
+ name: id__n
schema:
type: array
items:
type: string
+ format: uuid
explode: true
style: form
- in: query
- name: name_override
+ name: installed
schema:
type: boolean
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
+ - in: query
+ name: is_job_button_receiver
schema:
- type: integer
+ type: boolean
- in: query
- name: q
+ name: is_job_hook_receiver
schema:
- type: string
- description: Search
+ type: boolean
- in: query
- name: read_only
+ name: is_singleton
schema:
type: boolean
- in: query
- name: soft_time_limit
+ name: is_singleton_override
+ schema:
+ type: boolean
+ - in: query
+ name: job_class_name
schema:
type: array
items:
- type: number
- format: float
+ type: string
explode: true
style: form
- in: query
- name: soft_time_limit__gt
+ name: job_class_name__ic
schema:
type: array
items:
- type: number
- format: float
+ type: string
explode: true
style: form
- in: query
- name: soft_time_limit__gte
+ name: job_class_name__ie
schema:
type: array
items:
- type: number
- format: float
+ type: string
explode: true
style: form
- in: query
- name: soft_time_limit__lt
+ name: job_class_name__iew
schema:
type: array
items:
- type: number
- format: float
+ type: string
explode: true
style: form
- in: query
- name: soft_time_limit__lte
+ name: job_class_name__ire
schema:
type: array
items:
- type: number
- format: float
+ type: string
explode: true
style: form
- in: query
- name: soft_time_limit__n
+ name: job_class_name__isw
schema:
type: array
items:
- type: number
- format: float
+ type: string
explode: true
style: form
- in: query
- name: soft_time_limit_override
- schema:
- type: boolean
- - name: sort
- required: false
- in: query
- description: Which field to use when ordering the results.
- schema:
- type: string
- - in: query
- name: tags
+ name: job_class_name__n
schema:
type: array
items:
@@ -99154,11 +87615,7 @@ paths:
explode: true
style: form
- in: query
- name: tags__isnull
- schema:
- type: boolean
- - in: query
- name: tags__n
+ name: job_class_name__nic
schema:
type: array
items:
@@ -99166,7 +87623,7 @@ paths:
explode: true
style: form
- in: query
- name: teams
+ name: job_class_name__nie
schema:
type: array
items:
@@ -99174,16 +87631,415 @@ paths:
explode: true
style: form
- in: query
- name: teams__isnull
+ name: job_class_name__niew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: job_class_name__nire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: job_class_name__nisw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: job_class_name__nre
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: job_class_name__re
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: job_queues
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: job_queues__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
+ - in: query
+ name: module_name
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: module_name__ic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: module_name__ie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: module_name__iew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: module_name__ire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: module_name__isw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: module_name__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: module_name__nic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: module_name__nie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: module_name__niew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: module_name__nire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: module_name__nisw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: module_name__nre
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: module_name__re
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__ic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__ie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__iew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__ire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__isw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__nic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__nie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__niew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__nire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__nisw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__nre
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__re
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name_override
+ schema:
+ type: boolean
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
+ - in: query
+ name: q
+ schema:
+ type: string
+ description: Search
+ - in: query
+ name: read_only
+ schema:
+ type: boolean
+ - in: query
+ name: soft_time_limit
+ schema:
+ type: array
+ items:
+ type: number
+ format: float
+ explode: true
+ style: form
+ - in: query
+ name: soft_time_limit__gt
+ schema:
+ type: array
+ items:
+ type: number
+ format: float
+ explode: true
+ style: form
+ - in: query
+ name: soft_time_limit__gte
+ schema:
+ type: array
+ items:
+ type: number
+ format: float
+ explode: true
+ style: form
+ - in: query
+ name: soft_time_limit__lt
+ schema:
+ type: array
+ items:
+ type: number
+ format: float
+ explode: true
+ style: form
+ - in: query
+ name: soft_time_limit__lte
+ schema:
+ type: array
+ items:
+ type: number
+ format: float
+ explode: true
+ style: form
+ - in: query
+ name: soft_time_limit__n
+ schema:
+ type: array
+ items:
+ type: number
+ format: float
+ explode: true
+ style: form
+ - in: query
+ name: soft_time_limit_override
+ schema:
+ type: boolean
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
+ schema:
+ type: string
+ - in: query
+ name: tags
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: tags__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: tags__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: teams
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: teams__isnull
schema:
type: boolean
description: Teams (name or ID) is null
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: time_limit
schema:
@@ -99251,6 +88107,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -99411,6 +88274,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -99571,6 +88441,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -99714,6 +88591,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -99758,6 +88642,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -99926,6 +88817,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -100075,6 +88973,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -100171,51 +89076,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -100225,69 +89085,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: last_updated
schema:
@@ -100554,6 +89351,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -100750,6 +89554,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -100894,52 +89705,14 @@ paths:
description: Contacts (name or ID) is null
- in: query
name: contacts__n
- schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
- - in: query
- name: content_types
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__ic
schema:
type: array
items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__ie
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__iew
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__ire
- schema:
- type: array
- items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: content_types__isw
+ name: content_types
schema:
type: array
items:
@@ -100954,62 +89727,6 @@ paths:
type: integer
explode: true
style: form
- - in: query
- name: content_types__nic
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__nie
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__niew
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__nire
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__nisw
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__nre
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__re
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- in: query
name: created
schema:
@@ -101123,7 +89840,6 @@ paths:
type: array
items:
type: string
- description: The type of data allowed for any Metadata of this type.
explode: true
style: form
- in: query
@@ -101305,9 +90021,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -101326,51 +90044,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -101380,69 +90053,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: last_updated
schema:
@@ -101672,9 +90282,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -101684,6 +90296,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -101880,6 +90499,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -102044,6 +90670,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -102115,51 +90748,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: assigned_object_id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: assigned_object_id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: assigned_object_id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: assigned_object_id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: assigned_object_id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: assigned_object_id__n
schema:
@@ -102169,69 +90757,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: assigned_object_id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: assigned_object_id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: assigned_object_id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: assigned_object_id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: assigned_object_id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: assigned_object_id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: assigned_object_id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: assigned_object_type
schema:
@@ -102266,51 +90791,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -102320,69 +90800,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- name: limit
required: false
in: query
@@ -102660,6 +91077,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -102856,6 +91280,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -103106,51 +91537,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: changed_object_id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: changed_object_id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: changed_object_id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: changed_object_id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: changed_object_id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: changed_object_id__n
schema:
@@ -103160,69 +91546,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: changed_object_id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: changed_object_id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: changed_object_id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: changed_object_id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: changed_object_id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: changed_object_id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: changed_object_id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: changed_object_type
schema:
@@ -103267,51 +91590,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -103321,69 +91599,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- name: limit
required: false
in: query
@@ -103522,51 +91737,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: request_id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: request_id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: request_id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: request_id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: request_id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: request_id__n
schema:
@@ -103576,69 +91746,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: request_id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: request_id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: request_id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: request_id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: request_id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: request_id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: request_id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- name: sort
required: false
in: query
@@ -103868,6 +91975,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -103911,6 +92025,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -103940,51 +92061,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: assigned_object_id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: assigned_object_id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: assigned_object_id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: assigned_object_id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: assigned_object_id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: assigned_object_id__n
schema:
@@ -103994,69 +92070,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: assigned_object_id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: assigned_object_id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: assigned_object_id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: assigned_object_id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: assigned_object_id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: assigned_object_id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: assigned_object_id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: assigned_object_type
schema:
@@ -104174,51 +92187,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -104228,69 +92196,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: last_updated
schema:
@@ -104431,6 +92336,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -104627,6 +92539,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -104751,103 +92670,6 @@ paths:
responses:
'204':
description: No response body
- /extras/object-metadata/{id}/notes/:
- get:
- operationId: extras_object_metadata_notes_list
- description: API methods for returning or creating notes on an object.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this object metadata.
- required: true
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- - in: query
- name: depth
- required: false
- description: Serializer Depth
- schema:
- type: integer
- minimum: 0
- maximum: 10
- default: 1
- tags:
- - extras
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- description: ''
- post:
- operationId: extras_object_metadata_notes_create
- description: API methods for returning or creating notes on an object.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this object metadata.
- required: true
- tags:
- - extras
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- required: true
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '201':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Note'
- text/csv:
- schema:
- $ref: '#/components/schemas/Note'
- description: ''
/extras/relationship-associations/:
get:
operationId: extras_relationship_associations_list
@@ -104862,51 +92684,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: destination_id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: destination_id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: destination_id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: destination_id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: destination_id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: destination_id__n
schema:
@@ -104916,69 +92693,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: destination_id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: destination_id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: destination_id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: destination_id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: destination_id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: destination_id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: destination_id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: destination_type
schema:
@@ -105013,51 +92727,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -105067,69 +92736,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- name: limit
required: false
in: query
@@ -105189,51 +92795,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: source_id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: source_id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: source_id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: source_id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: source_id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: source_id__n
schema:
@@ -105243,69 +92804,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: source_id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: source_id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: source_id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: source_id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: source_id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: source_id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: source_id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: source_type
schema:
@@ -105331,6 +92829,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -105527,6 +93032,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -105672,9 +93184,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: destination_type
schema:
@@ -105702,9 +93216,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -105723,51 +93239,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -105777,69 +93248,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: key
schema:
@@ -106119,9 +93527,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: type
schema:
@@ -106177,7 +93587,6 @@ paths:
type: array
items:
type: string
- description: Cardinality of this relationship
explode: true
style: form
- in: query
@@ -106245,6 +93654,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -106441,6 +93857,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -106605,6 +94028,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -106794,52 +94224,14 @@ paths:
description: Contacts (name or ID) is null
- in: query
name: contacts__n
- schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
- - in: query
- name: content_types
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__ic
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__ie
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__iew
schema:
type: array
items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__ire
- schema:
- type: array
- items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: content_types__isw
+ name: content_types
schema:
type: array
items:
@@ -106854,62 +94246,6 @@ paths:
type: integer
explode: true
style: form
- - in: query
- name: content_types__nic
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__nie
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__niew
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__nire
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__nisw
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__nre
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__re
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- in: query
name: created
schema:
@@ -106979,9 +94315,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -107000,51 +94338,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -107054,69 +94347,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: last_updated
schema:
@@ -107326,9 +94556,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: weight
schema:
@@ -107390,6 +94622,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -107586,6 +94825,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -107750,6 +94996,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -107830,51 +95083,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -107884,69 +95092,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: is_global_default
schema:
@@ -108227,6 +95372,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -108423,6 +95575,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -108570,51 +95729,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -108624,7674 +95738,303 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: job_model
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: job_model__isnull
- schema:
- type: boolean
- description: Job (name or ID) is null
- - in: query
- name: job_model__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: job_model_id
- schema:
- type: array
- items:
- type: string
- format: uuid
- nullable: true
- description: Job (ID) - Deprecated (use job_model filter)
- explode: true
- style: form
- - in: query
- name: job_model_id__isnull
- schema:
- type: boolean
- description: Job (ID) - Deprecated (use job_model filter) is null
- - in: query
- name: job_model_id__n
- schema:
- type: array
- items:
- type: string
- format: uuid
- nullable: true
- description: Exclude Job (ID) - Deprecated (use job_model filter)
- explode: true
- style: form
- - in: query
- name: last_run_at
- schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
- - in: query
- name: last_run_at__gt
- schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
- - in: query
- name: last_run_at__gte
- schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
- - in: query
- name: last_run_at__isnull
- schema:
- type: boolean
- - in: query
- name: last_run_at__lt
- schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
- - in: query
- name: last_run_at__lte
- schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
- - in: query
- name: last_run_at__n
- schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- - in: query
- name: name
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__ic
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__ie
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__iew
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__ire
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__isw
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__nic
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__nie
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__niew
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__nire
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__nisw
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__nre
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__re
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- - in: query
- name: q
- schema:
- type: string
- description: Search
- - name: sort
- required: false
- in: query
- description: Which field to use when ordering the results.
- schema:
- type: string
- - in: query
- name: start_time
- schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
- - in: query
- name: start_time__gt
- schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
- - in: query
- name: start_time__gte
- schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
- - in: query
- name: start_time__lt
- schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
- - in: query
- name: start_time__lte
- schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
- - in: query
- name: start_time__n
- schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
- - in: query
- name: time_zone
- schema:
- type: array
- items:
- type: string
- enum:
- - Africa/Abidjan
- - Africa/Accra
- - Africa/Addis_Ababa
- - Africa/Algiers
- - Africa/Asmara
- - Africa/Asmera
- - Africa/Bamako
- - Africa/Bangui
- - Africa/Banjul
- - Africa/Bissau
- - Africa/Blantyre
- - Africa/Brazzaville
- - Africa/Bujumbura
- - Africa/Cairo
- - Africa/Casablanca
- - Africa/Ceuta
- - Africa/Conakry
- - Africa/Dakar
- - Africa/Dar_es_Salaam
- - Africa/Djibouti
- - Africa/Douala
- - Africa/El_Aaiun
- - Africa/Freetown
- - Africa/Gaborone
- - Africa/Harare
- - Africa/Johannesburg
- - Africa/Juba
- - Africa/Kampala
- - Africa/Khartoum
- - Africa/Kigali
- - Africa/Kinshasa
- - Africa/Lagos
- - Africa/Libreville
- - Africa/Lome
- - Africa/Luanda
- - Africa/Lubumbashi
- - Africa/Lusaka
- - Africa/Malabo
- - Africa/Maputo
- - Africa/Maseru
- - Africa/Mbabane
- - Africa/Mogadishu
- - Africa/Monrovia
- - Africa/Nairobi
- - Africa/Ndjamena
- - Africa/Niamey
- - Africa/Nouakchott
- - Africa/Ouagadougou
- - Africa/Porto-Novo
- - Africa/Sao_Tome
- - Africa/Timbuktu
- - Africa/Tripoli
- - Africa/Tunis
- - Africa/Windhoek
- - America/Adak
- - America/Anchorage
- - America/Anguilla
- - America/Antigua
- - America/Araguaina
- - America/Argentina/Buenos_Aires
- - America/Argentina/Catamarca
- - America/Argentina/ComodRivadavia
- - America/Argentina/Cordoba
- - America/Argentina/Jujuy
- - America/Argentina/La_Rioja
- - America/Argentina/Mendoza
- - America/Argentina/Rio_Gallegos
- - America/Argentina/Salta
- - America/Argentina/San_Juan
- - America/Argentina/San_Luis
- - America/Argentina/Tucuman
- - America/Argentina/Ushuaia
- - America/Aruba
- - America/Asuncion
- - America/Atikokan
- - America/Atka
- - America/Bahia
- - America/Bahia_Banderas
- - America/Barbados
- - America/Belem
- - America/Belize
- - America/Blanc-Sablon
- - America/Boa_Vista
- - America/Bogota
- - America/Boise
- - America/Buenos_Aires
- - America/Cambridge_Bay
- - America/Campo_Grande
- - America/Cancun
- - America/Caracas
- - America/Catamarca
- - America/Cayenne
- - America/Cayman
- - America/Chicago
- - America/Chihuahua
- - America/Ciudad_Juarez
- - America/Coral_Harbour
- - America/Cordoba
- - America/Costa_Rica
- - America/Creston
- - America/Cuiaba
- - America/Curacao
- - America/Danmarkshavn
- - America/Dawson
- - America/Dawson_Creek
- - America/Denver
- - America/Detroit
- - America/Dominica
- - America/Edmonton
- - America/Eirunepe
- - America/El_Salvador
- - America/Ensenada
- - America/Fort_Nelson
- - America/Fort_Wayne
- - America/Fortaleza
- - America/Glace_Bay
- - America/Godthab
- - America/Goose_Bay
- - America/Grand_Turk
- - America/Grenada
- - America/Guadeloupe
- - America/Guatemala
- - America/Guayaquil
- - America/Guyana
- - America/Halifax
- - America/Havana
- - America/Hermosillo
- - America/Indiana/Indianapolis
- - America/Indiana/Knox
- - America/Indiana/Marengo
- - America/Indiana/Petersburg
- - America/Indiana/Tell_City
- - America/Indiana/Vevay
- - America/Indiana/Vincennes
- - America/Indiana/Winamac
- - America/Indianapolis
- - America/Inuvik
- - America/Iqaluit
- - America/Jamaica
- - America/Jujuy
- - America/Juneau
- - America/Kentucky/Louisville
- - America/Kentucky/Monticello
- - America/Knox_IN
- - America/Kralendijk
- - America/La_Paz
- - America/Lima
- - America/Los_Angeles
- - America/Louisville
- - America/Lower_Princes
- - America/Maceio
- - America/Managua
- - America/Manaus
- - America/Marigot
- - America/Martinique
- - America/Matamoros
- - America/Mazatlan
- - America/Mendoza
- - America/Menominee
- - America/Merida
- - America/Metlakatla
- - America/Mexico_City
- - America/Miquelon
- - America/Moncton
- - America/Monterrey
- - America/Montevideo
- - America/Montreal
- - America/Montserrat
- - America/Nassau
- - America/New_York
- - America/Nipigon
- - America/Nome
- - America/Noronha
- - America/North_Dakota/Beulah
- - America/North_Dakota/Center
- - America/North_Dakota/New_Salem
- - America/Nuuk
- - America/Ojinaga
- - America/Panama
- - America/Pangnirtung
- - America/Paramaribo
- - America/Phoenix
- - America/Port-au-Prince
- - America/Port_of_Spain
- - America/Porto_Acre
- - America/Porto_Velho
- - America/Puerto_Rico
- - America/Punta_Arenas
- - America/Rainy_River
- - America/Rankin_Inlet
- - America/Recife
- - America/Regina
- - America/Resolute
- - America/Rio_Branco
- - America/Rosario
- - America/Santa_Isabel
- - America/Santarem
- - America/Santiago
- - America/Santo_Domingo
- - America/Sao_Paulo
- - America/Scoresbysund
- - America/Shiprock
- - America/Sitka
- - America/St_Barthelemy
- - America/St_Johns
- - America/St_Kitts
- - America/St_Lucia
- - America/St_Thomas
- - America/St_Vincent
- - America/Swift_Current
- - America/Tegucigalpa
- - America/Thule
- - America/Thunder_Bay
- - America/Tijuana
- - America/Toronto
- - America/Tortola
- - America/Vancouver
- - America/Virgin
- - America/Whitehorse
- - America/Winnipeg
- - America/Yakutat
- - America/Yellowknife
- - Antarctica/Casey
- - Antarctica/Davis
- - Antarctica/DumontDUrville
- - Antarctica/Macquarie
- - Antarctica/Mawson
- - Antarctica/McMurdo
- - Antarctica/Palmer
- - Antarctica/Rothera
- - Antarctica/South_Pole
- - Antarctica/Syowa
- - Antarctica/Troll
- - Antarctica/Vostok
- - Arctic/Longyearbyen
- - Asia/Aden
- - Asia/Almaty
- - Asia/Amman
- - Asia/Anadyr
- - Asia/Aqtau
- - Asia/Aqtobe
- - Asia/Ashgabat
- - Asia/Ashkhabad
- - Asia/Atyrau
- - Asia/Baghdad
- - Asia/Bahrain
- - Asia/Baku
- - Asia/Bangkok
- - Asia/Barnaul
- - Asia/Beirut
- - Asia/Bishkek
- - Asia/Brunei
- - Asia/Calcutta
- - Asia/Chita
- - Asia/Choibalsan
- - Asia/Chongqing
- - Asia/Chungking
- - Asia/Colombo
- - Asia/Dacca
- - Asia/Damascus
- - Asia/Dhaka
- - Asia/Dili
- - Asia/Dubai
- - Asia/Dushanbe
- - Asia/Famagusta
- - Asia/Gaza
- - Asia/Harbin
- - Asia/Hebron
- - Asia/Ho_Chi_Minh
- - Asia/Hong_Kong
- - Asia/Hovd
- - Asia/Irkutsk
- - Asia/Istanbul
- - Asia/Jakarta
- - Asia/Jayapura
- - Asia/Jerusalem
- - Asia/Kabul
- - Asia/Kamchatka
- - Asia/Karachi
- - Asia/Kashgar
- - Asia/Kathmandu
- - Asia/Katmandu
- - Asia/Khandyga
- - Asia/Kolkata
- - Asia/Krasnoyarsk
- - Asia/Kuala_Lumpur
- - Asia/Kuching
- - Asia/Kuwait
- - Asia/Macao
- - Asia/Macau
- - Asia/Magadan
- - Asia/Makassar
- - Asia/Manila
- - Asia/Muscat
- - Asia/Nicosia
- - Asia/Novokuznetsk
- - Asia/Novosibirsk
- - Asia/Omsk
- - Asia/Oral
- - Asia/Phnom_Penh
- - Asia/Pontianak
- - Asia/Pyongyang
- - Asia/Qatar
- - Asia/Qostanay
- - Asia/Qyzylorda
- - Asia/Rangoon
- - Asia/Riyadh
- - Asia/Saigon
- - Asia/Sakhalin
- - Asia/Samarkand
- - Asia/Seoul
- - Asia/Shanghai
- - Asia/Singapore
- - Asia/Srednekolymsk
- - Asia/Taipei
- - Asia/Tashkent
- - Asia/Tbilisi
- - Asia/Tehran
- - Asia/Tel_Aviv
- - Asia/Thimbu
- - Asia/Thimphu
- - Asia/Tokyo
- - Asia/Tomsk
- - Asia/Ujung_Pandang
- - Asia/Ulaanbaatar
- - Asia/Ulan_Bator
- - Asia/Urumqi
- - Asia/Ust-Nera
- - Asia/Vientiane
- - Asia/Vladivostok
- - Asia/Yakutsk
- - Asia/Yangon
- - Asia/Yekaterinburg
- - Asia/Yerevan
- - Atlantic/Azores
- - Atlantic/Bermuda
- - Atlantic/Canary
- - Atlantic/Cape_Verde
- - Atlantic/Faeroe
- - Atlantic/Faroe
- - Atlantic/Jan_Mayen
- - Atlantic/Madeira
- - Atlantic/Reykjavik
- - Atlantic/South_Georgia
- - Atlantic/St_Helena
- - Atlantic/Stanley
- - Australia/ACT
- - Australia/Adelaide
- - Australia/Brisbane
- - Australia/Broken_Hill
- - Australia/Canberra
- - Australia/Currie
- - Australia/Darwin
- - Australia/Eucla
- - Australia/Hobart
- - Australia/LHI
- - Australia/Lindeman
- - Australia/Lord_Howe
- - Australia/Melbourne
- - Australia/NSW
- - Australia/North
- - Australia/Perth
- - Australia/Queensland
- - Australia/South
- - Australia/Sydney
- - Australia/Tasmania
- - Australia/Victoria
- - Australia/West
- - Australia/Yancowinna
- - Brazil/Acre
- - Brazil/DeNoronha
- - Brazil/East
- - Brazil/West
- - CET
- - CST6CDT
- - Canada/Atlantic
- - Canada/Central
- - Canada/Eastern
- - Canada/Mountain
- - Canada/Newfoundland
- - Canada/Pacific
- - Canada/Saskatchewan
- - Canada/Yukon
- - Chile/Continental
- - Chile/EasterIsland
- - Cuba
- - EET
- - EST
- - EST5EDT
- - Egypt
- - Eire
- - Etc/GMT
- - Etc/GMT+0
- - Etc/GMT+1
- - Etc/GMT+10
- - Etc/GMT+11
- - Etc/GMT+12
- - Etc/GMT+2
- - Etc/GMT+3
- - Etc/GMT+4
- - Etc/GMT+5
- - Etc/GMT+6
- - Etc/GMT+7
- - Etc/GMT+8
- - Etc/GMT+9
- - Etc/GMT-0
- - Etc/GMT-1
- - Etc/GMT-10
- - Etc/GMT-11
- - Etc/GMT-12
- - Etc/GMT-13
- - Etc/GMT-14
- - Etc/GMT-2
- - Etc/GMT-3
- - Etc/GMT-4
- - Etc/GMT-5
- - Etc/GMT-6
- - Etc/GMT-7
- - Etc/GMT-8
- - Etc/GMT-9
- - Etc/GMT0
- - Etc/Greenwich
- - Etc/UCT
- - Etc/UTC
- - Etc/Universal
- - Etc/Zulu
- - Europe/Amsterdam
- - Europe/Andorra
- - Europe/Astrakhan
- - Europe/Athens
- - Europe/Belfast
- - Europe/Belgrade
- - Europe/Berlin
- - Europe/Bratislava
- - Europe/Brussels
- - Europe/Bucharest
- - Europe/Budapest
- - Europe/Busingen
- - Europe/Chisinau
- - Europe/Copenhagen
- - Europe/Dublin
- - Europe/Gibraltar
- - Europe/Guernsey
- - Europe/Helsinki
- - Europe/Isle_of_Man
- - Europe/Istanbul
- - Europe/Jersey
- - Europe/Kaliningrad
- - Europe/Kiev
- - Europe/Kirov
- - Europe/Kyiv
- - Europe/Lisbon
- - Europe/Ljubljana
- - Europe/London
- - Europe/Luxembourg
- - Europe/Madrid
- - Europe/Malta
- - Europe/Mariehamn
- - Europe/Minsk
- - Europe/Monaco
- - Europe/Moscow
- - Europe/Nicosia
- - Europe/Oslo
- - Europe/Paris
- - Europe/Podgorica
- - Europe/Prague
- - Europe/Riga
- - Europe/Rome
- - Europe/Samara
- - Europe/San_Marino
- - Europe/Sarajevo
- - Europe/Saratov
- - Europe/Simferopol
- - Europe/Skopje
- - Europe/Sofia
- - Europe/Stockholm
- - Europe/Tallinn
- - Europe/Tirane
- - Europe/Tiraspol
- - Europe/Ulyanovsk
- - Europe/Uzhgorod
- - Europe/Vaduz
- - Europe/Vatican
- - Europe/Vienna
- - Europe/Vilnius
- - Europe/Volgograd
- - Europe/Warsaw
- - Europe/Zagreb
- - Europe/Zaporozhye
- - Europe/Zurich
- - GB
- - GB-Eire
- - GMT
- - GMT+0
- - GMT-0
- - GMT0
- - Greenwich
- - HST
- - Hongkong
- - Iceland
- - Indian/Antananarivo
- - Indian/Chagos
- - Indian/Christmas
- - Indian/Cocos
- - Indian/Comoro
- - Indian/Kerguelen
- - Indian/Mahe
- - Indian/Maldives
- - Indian/Mauritius
- - Indian/Mayotte
- - Indian/Reunion
- - Iran
- - Israel
- - Jamaica
- - Japan
- - Kwajalein
- - Libya
- - MET
- - MST
- - MST7MDT
- - Mexico/BajaNorte
- - Mexico/BajaSur
- - Mexico/General
- - NZ
- - NZ-CHAT
- - Navajo
- - PRC
- - PST8PDT
- - Pacific/Apia
- - Pacific/Auckland
- - Pacific/Bougainville
- - Pacific/Chatham
- - Pacific/Chuuk
- - Pacific/Easter
- - Pacific/Efate
- - Pacific/Enderbury
- - Pacific/Fakaofo
- - Pacific/Fiji
- - Pacific/Funafuti
- - Pacific/Galapagos
- - Pacific/Gambier
- - Pacific/Guadalcanal
- - Pacific/Guam
- - Pacific/Honolulu
- - Pacific/Johnston
- - Pacific/Kanton
- - Pacific/Kiritimati
- - Pacific/Kosrae
- - Pacific/Kwajalein
- - Pacific/Majuro
- - Pacific/Marquesas
- - Pacific/Midway
- - Pacific/Nauru
- - Pacific/Niue
- - Pacific/Norfolk
- - Pacific/Noumea
- - Pacific/Pago_Pago
- - Pacific/Palau
- - Pacific/Pitcairn
- - Pacific/Pohnpei
- - Pacific/Ponape
- - Pacific/Port_Moresby
- - Pacific/Rarotonga
- - Pacific/Saipan
- - Pacific/Samoa
- - Pacific/Tahiti
- - Pacific/Tarawa
- - Pacific/Tongatapu
- - Pacific/Truk
- - Pacific/Wake
- - Pacific/Wallis
- - Pacific/Yap
- - Poland
- - Portugal
- - ROC
- - ROK
- - Singapore
- - Turkey
- - UCT
- - US/Alaska
- - US/Aleutian
- - US/Arizona
- - US/Central
- - US/East-Indiana
- - US/Eastern
- - US/Hawaii
- - US/Indiana-Starke
- - US/Michigan
- - US/Mountain
- - US/Pacific
- - US/Samoa
- - UTC
- - Universal
- - W-SU
- - WET
- - Zulu
- - localtime
- description: |+
- Time zone
-
- explode: true
- style: form
- - in: query
- name: time_zone__ic
- schema:
- type: array
- items:
- type: string
- enum:
- - Africa/Abidjan
- - Africa/Accra
- - Africa/Addis_Ababa
- - Africa/Algiers
- - Africa/Asmara
- - Africa/Asmera
- - Africa/Bamako
- - Africa/Bangui
- - Africa/Banjul
- - Africa/Bissau
- - Africa/Blantyre
- - Africa/Brazzaville
- - Africa/Bujumbura
- - Africa/Cairo
- - Africa/Casablanca
- - Africa/Ceuta
- - Africa/Conakry
- - Africa/Dakar
- - Africa/Dar_es_Salaam
- - Africa/Djibouti
- - Africa/Douala
- - Africa/El_Aaiun
- - Africa/Freetown
- - Africa/Gaborone
- - Africa/Harare
- - Africa/Johannesburg
- - Africa/Juba
- - Africa/Kampala
- - Africa/Khartoum
- - Africa/Kigali
- - Africa/Kinshasa
- - Africa/Lagos
- - Africa/Libreville
- - Africa/Lome
- - Africa/Luanda
- - Africa/Lubumbashi
- - Africa/Lusaka
- - Africa/Malabo
- - Africa/Maputo
- - Africa/Maseru
- - Africa/Mbabane
- - Africa/Mogadishu
- - Africa/Monrovia
- - Africa/Nairobi
- - Africa/Ndjamena
- - Africa/Niamey
- - Africa/Nouakchott
- - Africa/Ouagadougou
- - Africa/Porto-Novo
- - Africa/Sao_Tome
- - Africa/Timbuktu
- - Africa/Tripoli
- - Africa/Tunis
- - Africa/Windhoek
- - America/Adak
- - America/Anchorage
- - America/Anguilla
- - America/Antigua
- - America/Araguaina
- - America/Argentina/Buenos_Aires
- - America/Argentina/Catamarca
- - America/Argentina/ComodRivadavia
- - America/Argentina/Cordoba
- - America/Argentina/Jujuy
- - America/Argentina/La_Rioja
- - America/Argentina/Mendoza
- - America/Argentina/Rio_Gallegos
- - America/Argentina/Salta
- - America/Argentina/San_Juan
- - America/Argentina/San_Luis
- - America/Argentina/Tucuman
- - America/Argentina/Ushuaia
- - America/Aruba
- - America/Asuncion
- - America/Atikokan
- - America/Atka
- - America/Bahia
- - America/Bahia_Banderas
- - America/Barbados
- - America/Belem
- - America/Belize
- - America/Blanc-Sablon
- - America/Boa_Vista
- - America/Bogota
- - America/Boise
- - America/Buenos_Aires
- - America/Cambridge_Bay
- - America/Campo_Grande
- - America/Cancun
- - America/Caracas
- - America/Catamarca
- - America/Cayenne
- - America/Cayman
- - America/Chicago
- - America/Chihuahua
- - America/Ciudad_Juarez
- - America/Coral_Harbour
- - America/Cordoba
- - America/Costa_Rica
- - America/Creston
- - America/Cuiaba
- - America/Curacao
- - America/Danmarkshavn
- - America/Dawson
- - America/Dawson_Creek
- - America/Denver
- - America/Detroit
- - America/Dominica
- - America/Edmonton
- - America/Eirunepe
- - America/El_Salvador
- - America/Ensenada
- - America/Fort_Nelson
- - America/Fort_Wayne
- - America/Fortaleza
- - America/Glace_Bay
- - America/Godthab
- - America/Goose_Bay
- - America/Grand_Turk
- - America/Grenada
- - America/Guadeloupe
- - America/Guatemala
- - America/Guayaquil
- - America/Guyana
- - America/Halifax
- - America/Havana
- - America/Hermosillo
- - America/Indiana/Indianapolis
- - America/Indiana/Knox
- - America/Indiana/Marengo
- - America/Indiana/Petersburg
- - America/Indiana/Tell_City
- - America/Indiana/Vevay
- - America/Indiana/Vincennes
- - America/Indiana/Winamac
- - America/Indianapolis
- - America/Inuvik
- - America/Iqaluit
- - America/Jamaica
- - America/Jujuy
- - America/Juneau
- - America/Kentucky/Louisville
- - America/Kentucky/Monticello
- - America/Knox_IN
- - America/Kralendijk
- - America/La_Paz
- - America/Lima
- - America/Los_Angeles
- - America/Louisville
- - America/Lower_Princes
- - America/Maceio
- - America/Managua
- - America/Manaus
- - America/Marigot
- - America/Martinique
- - America/Matamoros
- - America/Mazatlan
- - America/Mendoza
- - America/Menominee
- - America/Merida
- - America/Metlakatla
- - America/Mexico_City
- - America/Miquelon
- - America/Moncton
- - America/Monterrey
- - America/Montevideo
- - America/Montreal
- - America/Montserrat
- - America/Nassau
- - America/New_York
- - America/Nipigon
- - America/Nome
- - America/Noronha
- - America/North_Dakota/Beulah
- - America/North_Dakota/Center
- - America/North_Dakota/New_Salem
- - America/Nuuk
- - America/Ojinaga
- - America/Panama
- - America/Pangnirtung
- - America/Paramaribo
- - America/Phoenix
- - America/Port-au-Prince
- - America/Port_of_Spain
- - America/Porto_Acre
- - America/Porto_Velho
- - America/Puerto_Rico
- - America/Punta_Arenas
- - America/Rainy_River
- - America/Rankin_Inlet
- - America/Recife
- - America/Regina
- - America/Resolute
- - America/Rio_Branco
- - America/Rosario
- - America/Santa_Isabel
- - America/Santarem
- - America/Santiago
- - America/Santo_Domingo
- - America/Sao_Paulo
- - America/Scoresbysund
- - America/Shiprock
- - America/Sitka
- - America/St_Barthelemy
- - America/St_Johns
- - America/St_Kitts
- - America/St_Lucia
- - America/St_Thomas
- - America/St_Vincent
- - America/Swift_Current
- - America/Tegucigalpa
- - America/Thule
- - America/Thunder_Bay
- - America/Tijuana
- - America/Toronto
- - America/Tortola
- - America/Vancouver
- - America/Virgin
- - America/Whitehorse
- - America/Winnipeg
- - America/Yakutat
- - America/Yellowknife
- - Antarctica/Casey
- - Antarctica/Davis
- - Antarctica/DumontDUrville
- - Antarctica/Macquarie
- - Antarctica/Mawson
- - Antarctica/McMurdo
- - Antarctica/Palmer
- - Antarctica/Rothera
- - Antarctica/South_Pole
- - Antarctica/Syowa
- - Antarctica/Troll
- - Antarctica/Vostok
- - Arctic/Longyearbyen
- - Asia/Aden
- - Asia/Almaty
- - Asia/Amman
- - Asia/Anadyr
- - Asia/Aqtau
- - Asia/Aqtobe
- - Asia/Ashgabat
- - Asia/Ashkhabad
- - Asia/Atyrau
- - Asia/Baghdad
- - Asia/Bahrain
- - Asia/Baku
- - Asia/Bangkok
- - Asia/Barnaul
- - Asia/Beirut
- - Asia/Bishkek
- - Asia/Brunei
- - Asia/Calcutta
- - Asia/Chita
- - Asia/Choibalsan
- - Asia/Chongqing
- - Asia/Chungking
- - Asia/Colombo
- - Asia/Dacca
- - Asia/Damascus
- - Asia/Dhaka
- - Asia/Dili
- - Asia/Dubai
- - Asia/Dushanbe
- - Asia/Famagusta
- - Asia/Gaza
- - Asia/Harbin
- - Asia/Hebron
- - Asia/Ho_Chi_Minh
- - Asia/Hong_Kong
- - Asia/Hovd
- - Asia/Irkutsk
- - Asia/Istanbul
- - Asia/Jakarta
- - Asia/Jayapura
- - Asia/Jerusalem
- - Asia/Kabul
- - Asia/Kamchatka
- - Asia/Karachi
- - Asia/Kashgar
- - Asia/Kathmandu
- - Asia/Katmandu
- - Asia/Khandyga
- - Asia/Kolkata
- - Asia/Krasnoyarsk
- - Asia/Kuala_Lumpur
- - Asia/Kuching
- - Asia/Kuwait
- - Asia/Macao
- - Asia/Macau
- - Asia/Magadan
- - Asia/Makassar
- - Asia/Manila
- - Asia/Muscat
- - Asia/Nicosia
- - Asia/Novokuznetsk
- - Asia/Novosibirsk
- - Asia/Omsk
- - Asia/Oral
- - Asia/Phnom_Penh
- - Asia/Pontianak
- - Asia/Pyongyang
- - Asia/Qatar
- - Asia/Qostanay
- - Asia/Qyzylorda
- - Asia/Rangoon
- - Asia/Riyadh
- - Asia/Saigon
- - Asia/Sakhalin
- - Asia/Samarkand
- - Asia/Seoul
- - Asia/Shanghai
- - Asia/Singapore
- - Asia/Srednekolymsk
- - Asia/Taipei
- - Asia/Tashkent
- - Asia/Tbilisi
- - Asia/Tehran
- - Asia/Tel_Aviv
- - Asia/Thimbu
- - Asia/Thimphu
- - Asia/Tokyo
- - Asia/Tomsk
- - Asia/Ujung_Pandang
- - Asia/Ulaanbaatar
- - Asia/Ulan_Bator
- - Asia/Urumqi
- - Asia/Ust-Nera
- - Asia/Vientiane
- - Asia/Vladivostok
- - Asia/Yakutsk
- - Asia/Yangon
- - Asia/Yekaterinburg
- - Asia/Yerevan
- - Atlantic/Azores
- - Atlantic/Bermuda
- - Atlantic/Canary
- - Atlantic/Cape_Verde
- - Atlantic/Faeroe
- - Atlantic/Faroe
- - Atlantic/Jan_Mayen
- - Atlantic/Madeira
- - Atlantic/Reykjavik
- - Atlantic/South_Georgia
- - Atlantic/St_Helena
- - Atlantic/Stanley
- - Australia/ACT
- - Australia/Adelaide
- - Australia/Brisbane
- - Australia/Broken_Hill
- - Australia/Canberra
- - Australia/Currie
- - Australia/Darwin
- - Australia/Eucla
- - Australia/Hobart
- - Australia/LHI
- - Australia/Lindeman
- - Australia/Lord_Howe
- - Australia/Melbourne
- - Australia/NSW
- - Australia/North
- - Australia/Perth
- - Australia/Queensland
- - Australia/South
- - Australia/Sydney
- - Australia/Tasmania
- - Australia/Victoria
- - Australia/West
- - Australia/Yancowinna
- - Brazil/Acre
- - Brazil/DeNoronha
- - Brazil/East
- - Brazil/West
- - CET
- - CST6CDT
- - Canada/Atlantic
- - Canada/Central
- - Canada/Eastern
- - Canada/Mountain
- - Canada/Newfoundland
- - Canada/Pacific
- - Canada/Saskatchewan
- - Canada/Yukon
- - Chile/Continental
- - Chile/EasterIsland
- - Cuba
- - EET
- - EST
- - EST5EDT
- - Egypt
- - Eire
- - Etc/GMT
- - Etc/GMT+0
- - Etc/GMT+1
- - Etc/GMT+10
- - Etc/GMT+11
- - Etc/GMT+12
- - Etc/GMT+2
- - Etc/GMT+3
- - Etc/GMT+4
- - Etc/GMT+5
- - Etc/GMT+6
- - Etc/GMT+7
- - Etc/GMT+8
- - Etc/GMT+9
- - Etc/GMT-0
- - Etc/GMT-1
- - Etc/GMT-10
- - Etc/GMT-11
- - Etc/GMT-12
- - Etc/GMT-13
- - Etc/GMT-14
- - Etc/GMT-2
- - Etc/GMT-3
- - Etc/GMT-4
- - Etc/GMT-5
- - Etc/GMT-6
- - Etc/GMT-7
- - Etc/GMT-8
- - Etc/GMT-9
- - Etc/GMT0
- - Etc/Greenwich
- - Etc/UCT
- - Etc/UTC
- - Etc/Universal
- - Etc/Zulu
- - Europe/Amsterdam
- - Europe/Andorra
- - Europe/Astrakhan
- - Europe/Athens
- - Europe/Belfast
- - Europe/Belgrade
- - Europe/Berlin
- - Europe/Bratislava
- - Europe/Brussels
- - Europe/Bucharest
- - Europe/Budapest
- - Europe/Busingen
- - Europe/Chisinau
- - Europe/Copenhagen
- - Europe/Dublin
- - Europe/Gibraltar
- - Europe/Guernsey
- - Europe/Helsinki
- - Europe/Isle_of_Man
- - Europe/Istanbul
- - Europe/Jersey
- - Europe/Kaliningrad
- - Europe/Kiev
- - Europe/Kirov
- - Europe/Kyiv
- - Europe/Lisbon
- - Europe/Ljubljana
- - Europe/London
- - Europe/Luxembourg
- - Europe/Madrid
- - Europe/Malta
- - Europe/Mariehamn
- - Europe/Minsk
- - Europe/Monaco
- - Europe/Moscow
- - Europe/Nicosia
- - Europe/Oslo
- - Europe/Paris
- - Europe/Podgorica
- - Europe/Prague
- - Europe/Riga
- - Europe/Rome
- - Europe/Samara
- - Europe/San_Marino
- - Europe/Sarajevo
- - Europe/Saratov
- - Europe/Simferopol
- - Europe/Skopje
- - Europe/Sofia
- - Europe/Stockholm
- - Europe/Tallinn
- - Europe/Tirane
- - Europe/Tiraspol
- - Europe/Ulyanovsk
- - Europe/Uzhgorod
- - Europe/Vaduz
- - Europe/Vatican
- - Europe/Vienna
- - Europe/Vilnius
- - Europe/Volgograd
- - Europe/Warsaw
- - Europe/Zagreb
- - Europe/Zaporozhye
- - Europe/Zurich
- - GB
- - GB-Eire
- - GMT
- - GMT+0
- - GMT-0
- - GMT0
- - Greenwich
- - HST
- - Hongkong
- - Iceland
- - Indian/Antananarivo
- - Indian/Chagos
- - Indian/Christmas
- - Indian/Cocos
- - Indian/Comoro
- - Indian/Kerguelen
- - Indian/Mahe
- - Indian/Maldives
- - Indian/Mauritius
- - Indian/Mayotte
- - Indian/Reunion
- - Iran
- - Israel
- - Jamaica
- - Japan
- - Kwajalein
- - Libya
- - MET
- - MST
- - MST7MDT
- - Mexico/BajaNorte
- - Mexico/BajaSur
- - Mexico/General
- - NZ
- - NZ-CHAT
- - Navajo
- - PRC
- - PST8PDT
- - Pacific/Apia
- - Pacific/Auckland
- - Pacific/Bougainville
- - Pacific/Chatham
- - Pacific/Chuuk
- - Pacific/Easter
- - Pacific/Efate
- - Pacific/Enderbury
- - Pacific/Fakaofo
- - Pacific/Fiji
- - Pacific/Funafuti
- - Pacific/Galapagos
- - Pacific/Gambier
- - Pacific/Guadalcanal
- - Pacific/Guam
- - Pacific/Honolulu
- - Pacific/Johnston
- - Pacific/Kanton
- - Pacific/Kiritimati
- - Pacific/Kosrae
- - Pacific/Kwajalein
- - Pacific/Majuro
- - Pacific/Marquesas
- - Pacific/Midway
- - Pacific/Nauru
- - Pacific/Niue
- - Pacific/Norfolk
- - Pacific/Noumea
- - Pacific/Pago_Pago
- - Pacific/Palau
- - Pacific/Pitcairn
- - Pacific/Pohnpei
- - Pacific/Ponape
- - Pacific/Port_Moresby
- - Pacific/Rarotonga
- - Pacific/Saipan
- - Pacific/Samoa
- - Pacific/Tahiti
- - Pacific/Tarawa
- - Pacific/Tongatapu
- - Pacific/Truk
- - Pacific/Wake
- - Pacific/Wallis
- - Pacific/Yap
- - Poland
- - Portugal
- - ROC
- - ROK
- - Singapore
- - Turkey
- - UCT
- - US/Alaska
- - US/Aleutian
- - US/Arizona
- - US/Central
- - US/East-Indiana
- - US/Eastern
- - US/Hawaii
- - US/Indiana-Starke
- - US/Michigan
- - US/Mountain
- - US/Pacific
- - US/Samoa
- - UTC
- - Universal
- - W-SU
- - WET
- - Zulu
- - localtime
- description: |+
- Time zone
-
- explode: true
- style: form
- - in: query
- name: time_zone__ie
- schema:
- type: array
- items:
- type: string
- enum:
- - Africa/Abidjan
- - Africa/Accra
- - Africa/Addis_Ababa
- - Africa/Algiers
- - Africa/Asmara
- - Africa/Asmera
- - Africa/Bamako
- - Africa/Bangui
- - Africa/Banjul
- - Africa/Bissau
- - Africa/Blantyre
- - Africa/Brazzaville
- - Africa/Bujumbura
- - Africa/Cairo
- - Africa/Casablanca
- - Africa/Ceuta
- - Africa/Conakry
- - Africa/Dakar
- - Africa/Dar_es_Salaam
- - Africa/Djibouti
- - Africa/Douala
- - Africa/El_Aaiun
- - Africa/Freetown
- - Africa/Gaborone
- - Africa/Harare
- - Africa/Johannesburg
- - Africa/Juba
- - Africa/Kampala
- - Africa/Khartoum
- - Africa/Kigali
- - Africa/Kinshasa
- - Africa/Lagos
- - Africa/Libreville
- - Africa/Lome
- - Africa/Luanda
- - Africa/Lubumbashi
- - Africa/Lusaka
- - Africa/Malabo
- - Africa/Maputo
- - Africa/Maseru
- - Africa/Mbabane
- - Africa/Mogadishu
- - Africa/Monrovia
- - Africa/Nairobi
- - Africa/Ndjamena
- - Africa/Niamey
- - Africa/Nouakchott
- - Africa/Ouagadougou
- - Africa/Porto-Novo
- - Africa/Sao_Tome
- - Africa/Timbuktu
- - Africa/Tripoli
- - Africa/Tunis
- - Africa/Windhoek
- - America/Adak
- - America/Anchorage
- - America/Anguilla
- - America/Antigua
- - America/Araguaina
- - America/Argentina/Buenos_Aires
- - America/Argentina/Catamarca
- - America/Argentina/ComodRivadavia
- - America/Argentina/Cordoba
- - America/Argentina/Jujuy
- - America/Argentina/La_Rioja
- - America/Argentina/Mendoza
- - America/Argentina/Rio_Gallegos
- - America/Argentina/Salta
- - America/Argentina/San_Juan
- - America/Argentina/San_Luis
- - America/Argentina/Tucuman
- - America/Argentina/Ushuaia
- - America/Aruba
- - America/Asuncion
- - America/Atikokan
- - America/Atka
- - America/Bahia
- - America/Bahia_Banderas
- - America/Barbados
- - America/Belem
- - America/Belize
- - America/Blanc-Sablon
- - America/Boa_Vista
- - America/Bogota
- - America/Boise
- - America/Buenos_Aires
- - America/Cambridge_Bay
- - America/Campo_Grande
- - America/Cancun
- - America/Caracas
- - America/Catamarca
- - America/Cayenne
- - America/Cayman
- - America/Chicago
- - America/Chihuahua
- - America/Ciudad_Juarez
- - America/Coral_Harbour
- - America/Cordoba
- - America/Costa_Rica
- - America/Creston
- - America/Cuiaba
- - America/Curacao
- - America/Danmarkshavn
- - America/Dawson
- - America/Dawson_Creek
- - America/Denver
- - America/Detroit
- - America/Dominica
- - America/Edmonton
- - America/Eirunepe
- - America/El_Salvador
- - America/Ensenada
- - America/Fort_Nelson
- - America/Fort_Wayne
- - America/Fortaleza
- - America/Glace_Bay
- - America/Godthab
- - America/Goose_Bay
- - America/Grand_Turk
- - America/Grenada
- - America/Guadeloupe
- - America/Guatemala
- - America/Guayaquil
- - America/Guyana
- - America/Halifax
- - America/Havana
- - America/Hermosillo
- - America/Indiana/Indianapolis
- - America/Indiana/Knox
- - America/Indiana/Marengo
- - America/Indiana/Petersburg
- - America/Indiana/Tell_City
- - America/Indiana/Vevay
- - America/Indiana/Vincennes
- - America/Indiana/Winamac
- - America/Indianapolis
- - America/Inuvik
- - America/Iqaluit
- - America/Jamaica
- - America/Jujuy
- - America/Juneau
- - America/Kentucky/Louisville
- - America/Kentucky/Monticello
- - America/Knox_IN
- - America/Kralendijk
- - America/La_Paz
- - America/Lima
- - America/Los_Angeles
- - America/Louisville
- - America/Lower_Princes
- - America/Maceio
- - America/Managua
- - America/Manaus
- - America/Marigot
- - America/Martinique
- - America/Matamoros
- - America/Mazatlan
- - America/Mendoza
- - America/Menominee
- - America/Merida
- - America/Metlakatla
- - America/Mexico_City
- - America/Miquelon
- - America/Moncton
- - America/Monterrey
- - America/Montevideo
- - America/Montreal
- - America/Montserrat
- - America/Nassau
- - America/New_York
- - America/Nipigon
- - America/Nome
- - America/Noronha
- - America/North_Dakota/Beulah
- - America/North_Dakota/Center
- - America/North_Dakota/New_Salem
- - America/Nuuk
- - America/Ojinaga
- - America/Panama
- - America/Pangnirtung
- - America/Paramaribo
- - America/Phoenix
- - America/Port-au-Prince
- - America/Port_of_Spain
- - America/Porto_Acre
- - America/Porto_Velho
- - America/Puerto_Rico
- - America/Punta_Arenas
- - America/Rainy_River
- - America/Rankin_Inlet
- - America/Recife
- - America/Regina
- - America/Resolute
- - America/Rio_Branco
- - America/Rosario
- - America/Santa_Isabel
- - America/Santarem
- - America/Santiago
- - America/Santo_Domingo
- - America/Sao_Paulo
- - America/Scoresbysund
- - America/Shiprock
- - America/Sitka
- - America/St_Barthelemy
- - America/St_Johns
- - America/St_Kitts
- - America/St_Lucia
- - America/St_Thomas
- - America/St_Vincent
- - America/Swift_Current
- - America/Tegucigalpa
- - America/Thule
- - America/Thunder_Bay
- - America/Tijuana
- - America/Toronto
- - America/Tortola
- - America/Vancouver
- - America/Virgin
- - America/Whitehorse
- - America/Winnipeg
- - America/Yakutat
- - America/Yellowknife
- - Antarctica/Casey
- - Antarctica/Davis
- - Antarctica/DumontDUrville
- - Antarctica/Macquarie
- - Antarctica/Mawson
- - Antarctica/McMurdo
- - Antarctica/Palmer
- - Antarctica/Rothera
- - Antarctica/South_Pole
- - Antarctica/Syowa
- - Antarctica/Troll
- - Antarctica/Vostok
- - Arctic/Longyearbyen
- - Asia/Aden
- - Asia/Almaty
- - Asia/Amman
- - Asia/Anadyr
- - Asia/Aqtau
- - Asia/Aqtobe
- - Asia/Ashgabat
- - Asia/Ashkhabad
- - Asia/Atyrau
- - Asia/Baghdad
- - Asia/Bahrain
- - Asia/Baku
- - Asia/Bangkok
- - Asia/Barnaul
- - Asia/Beirut
- - Asia/Bishkek
- - Asia/Brunei
- - Asia/Calcutta
- - Asia/Chita
- - Asia/Choibalsan
- - Asia/Chongqing
- - Asia/Chungking
- - Asia/Colombo
- - Asia/Dacca
- - Asia/Damascus
- - Asia/Dhaka
- - Asia/Dili
- - Asia/Dubai
- - Asia/Dushanbe
- - Asia/Famagusta
- - Asia/Gaza
- - Asia/Harbin
- - Asia/Hebron
- - Asia/Ho_Chi_Minh
- - Asia/Hong_Kong
- - Asia/Hovd
- - Asia/Irkutsk
- - Asia/Istanbul
- - Asia/Jakarta
- - Asia/Jayapura
- - Asia/Jerusalem
- - Asia/Kabul
- - Asia/Kamchatka
- - Asia/Karachi
- - Asia/Kashgar
- - Asia/Kathmandu
- - Asia/Katmandu
- - Asia/Khandyga
- - Asia/Kolkata
- - Asia/Krasnoyarsk
- - Asia/Kuala_Lumpur
- - Asia/Kuching
- - Asia/Kuwait
- - Asia/Macao
- - Asia/Macau
- - Asia/Magadan
- - Asia/Makassar
- - Asia/Manila
- - Asia/Muscat
- - Asia/Nicosia
- - Asia/Novokuznetsk
- - Asia/Novosibirsk
- - Asia/Omsk
- - Asia/Oral
- - Asia/Phnom_Penh
- - Asia/Pontianak
- - Asia/Pyongyang
- - Asia/Qatar
- - Asia/Qostanay
- - Asia/Qyzylorda
- - Asia/Rangoon
- - Asia/Riyadh
- - Asia/Saigon
- - Asia/Sakhalin
- - Asia/Samarkand
- - Asia/Seoul
- - Asia/Shanghai
- - Asia/Singapore
- - Asia/Srednekolymsk
- - Asia/Taipei
- - Asia/Tashkent
- - Asia/Tbilisi
- - Asia/Tehran
- - Asia/Tel_Aviv
- - Asia/Thimbu
- - Asia/Thimphu
- - Asia/Tokyo
- - Asia/Tomsk
- - Asia/Ujung_Pandang
- - Asia/Ulaanbaatar
- - Asia/Ulan_Bator
- - Asia/Urumqi
- - Asia/Ust-Nera
- - Asia/Vientiane
- - Asia/Vladivostok
- - Asia/Yakutsk
- - Asia/Yangon
- - Asia/Yekaterinburg
- - Asia/Yerevan
- - Atlantic/Azores
- - Atlantic/Bermuda
- - Atlantic/Canary
- - Atlantic/Cape_Verde
- - Atlantic/Faeroe
- - Atlantic/Faroe
- - Atlantic/Jan_Mayen
- - Atlantic/Madeira
- - Atlantic/Reykjavik
- - Atlantic/South_Georgia
- - Atlantic/St_Helena
- - Atlantic/Stanley
- - Australia/ACT
- - Australia/Adelaide
- - Australia/Brisbane
- - Australia/Broken_Hill
- - Australia/Canberra
- - Australia/Currie
- - Australia/Darwin
- - Australia/Eucla
- - Australia/Hobart
- - Australia/LHI
- - Australia/Lindeman
- - Australia/Lord_Howe
- - Australia/Melbourne
- - Australia/NSW
- - Australia/North
- - Australia/Perth
- - Australia/Queensland
- - Australia/South
- - Australia/Sydney
- - Australia/Tasmania
- - Australia/Victoria
- - Australia/West
- - Australia/Yancowinna
- - Brazil/Acre
- - Brazil/DeNoronha
- - Brazil/East
- - Brazil/West
- - CET
- - CST6CDT
- - Canada/Atlantic
- - Canada/Central
- - Canada/Eastern
- - Canada/Mountain
- - Canada/Newfoundland
- - Canada/Pacific
- - Canada/Saskatchewan
- - Canada/Yukon
- - Chile/Continental
- - Chile/EasterIsland
- - Cuba
- - EET
- - EST
- - EST5EDT
- - Egypt
- - Eire
- - Etc/GMT
- - Etc/GMT+0
- - Etc/GMT+1
- - Etc/GMT+10
- - Etc/GMT+11
- - Etc/GMT+12
- - Etc/GMT+2
- - Etc/GMT+3
- - Etc/GMT+4
- - Etc/GMT+5
- - Etc/GMT+6
- - Etc/GMT+7
- - Etc/GMT+8
- - Etc/GMT+9
- - Etc/GMT-0
- - Etc/GMT-1
- - Etc/GMT-10
- - Etc/GMT-11
- - Etc/GMT-12
- - Etc/GMT-13
- - Etc/GMT-14
- - Etc/GMT-2
- - Etc/GMT-3
- - Etc/GMT-4
- - Etc/GMT-5
- - Etc/GMT-6
- - Etc/GMT-7
- - Etc/GMT-8
- - Etc/GMT-9
- - Etc/GMT0
- - Etc/Greenwich
- - Etc/UCT
- - Etc/UTC
- - Etc/Universal
- - Etc/Zulu
- - Europe/Amsterdam
- - Europe/Andorra
- - Europe/Astrakhan
- - Europe/Athens
- - Europe/Belfast
- - Europe/Belgrade
- - Europe/Berlin
- - Europe/Bratislava
- - Europe/Brussels
- - Europe/Bucharest
- - Europe/Budapest
- - Europe/Busingen
- - Europe/Chisinau
- - Europe/Copenhagen
- - Europe/Dublin
- - Europe/Gibraltar
- - Europe/Guernsey
- - Europe/Helsinki
- - Europe/Isle_of_Man
- - Europe/Istanbul
- - Europe/Jersey
- - Europe/Kaliningrad
- - Europe/Kiev
- - Europe/Kirov
- - Europe/Kyiv
- - Europe/Lisbon
- - Europe/Ljubljana
- - Europe/London
- - Europe/Luxembourg
- - Europe/Madrid
- - Europe/Malta
- - Europe/Mariehamn
- - Europe/Minsk
- - Europe/Monaco
- - Europe/Moscow
- - Europe/Nicosia
- - Europe/Oslo
- - Europe/Paris
- - Europe/Podgorica
- - Europe/Prague
- - Europe/Riga
- - Europe/Rome
- - Europe/Samara
- - Europe/San_Marino
- - Europe/Sarajevo
- - Europe/Saratov
- - Europe/Simferopol
- - Europe/Skopje
- - Europe/Sofia
- - Europe/Stockholm
- - Europe/Tallinn
- - Europe/Tirane
- - Europe/Tiraspol
- - Europe/Ulyanovsk
- - Europe/Uzhgorod
- - Europe/Vaduz
- - Europe/Vatican
- - Europe/Vienna
- - Europe/Vilnius
- - Europe/Volgograd
- - Europe/Warsaw
- - Europe/Zagreb
- - Europe/Zaporozhye
- - Europe/Zurich
- - GB
- - GB-Eire
- - GMT
- - GMT+0
- - GMT-0
- - GMT0
- - Greenwich
- - HST
- - Hongkong
- - Iceland
- - Indian/Antananarivo
- - Indian/Chagos
- - Indian/Christmas
- - Indian/Cocos
- - Indian/Comoro
- - Indian/Kerguelen
- - Indian/Mahe
- - Indian/Maldives
- - Indian/Mauritius
- - Indian/Mayotte
- - Indian/Reunion
- - Iran
- - Israel
- - Jamaica
- - Japan
- - Kwajalein
- - Libya
- - MET
- - MST
- - MST7MDT
- - Mexico/BajaNorte
- - Mexico/BajaSur
- - Mexico/General
- - NZ
- - NZ-CHAT
- - Navajo
- - PRC
- - PST8PDT
- - Pacific/Apia
- - Pacific/Auckland
- - Pacific/Bougainville
- - Pacific/Chatham
- - Pacific/Chuuk
- - Pacific/Easter
- - Pacific/Efate
- - Pacific/Enderbury
- - Pacific/Fakaofo
- - Pacific/Fiji
- - Pacific/Funafuti
- - Pacific/Galapagos
- - Pacific/Gambier
- - Pacific/Guadalcanal
- - Pacific/Guam
- - Pacific/Honolulu
- - Pacific/Johnston
- - Pacific/Kanton
- - Pacific/Kiritimati
- - Pacific/Kosrae
- - Pacific/Kwajalein
- - Pacific/Majuro
- - Pacific/Marquesas
- - Pacific/Midway
- - Pacific/Nauru
- - Pacific/Niue
- - Pacific/Norfolk
- - Pacific/Noumea
- - Pacific/Pago_Pago
- - Pacific/Palau
- - Pacific/Pitcairn
- - Pacific/Pohnpei
- - Pacific/Ponape
- - Pacific/Port_Moresby
- - Pacific/Rarotonga
- - Pacific/Saipan
- - Pacific/Samoa
- - Pacific/Tahiti
- - Pacific/Tarawa
- - Pacific/Tongatapu
- - Pacific/Truk
- - Pacific/Wake
- - Pacific/Wallis
- - Pacific/Yap
- - Poland
- - Portugal
- - ROC
- - ROK
- - Singapore
- - Turkey
- - UCT
- - US/Alaska
- - US/Aleutian
- - US/Arizona
- - US/Central
- - US/East-Indiana
- - US/Eastern
- - US/Hawaii
- - US/Indiana-Starke
- - US/Michigan
- - US/Mountain
- - US/Pacific
- - US/Samoa
- - UTC
- - Universal
- - W-SU
- - WET
- - Zulu
- - localtime
- description: |+
- Time zone
-
- explode: true
- style: form
- - in: query
- name: time_zone__iew
- schema:
- type: array
- items:
- type: string
- enum:
- - Africa/Abidjan
- - Africa/Accra
- - Africa/Addis_Ababa
- - Africa/Algiers
- - Africa/Asmara
- - Africa/Asmera
- - Africa/Bamako
- - Africa/Bangui
- - Africa/Banjul
- - Africa/Bissau
- - Africa/Blantyre
- - Africa/Brazzaville
- - Africa/Bujumbura
- - Africa/Cairo
- - Africa/Casablanca
- - Africa/Ceuta
- - Africa/Conakry
- - Africa/Dakar
- - Africa/Dar_es_Salaam
- - Africa/Djibouti
- - Africa/Douala
- - Africa/El_Aaiun
- - Africa/Freetown
- - Africa/Gaborone
- - Africa/Harare
- - Africa/Johannesburg
- - Africa/Juba
- - Africa/Kampala
- - Africa/Khartoum
- - Africa/Kigali
- - Africa/Kinshasa
- - Africa/Lagos
- - Africa/Libreville
- - Africa/Lome
- - Africa/Luanda
- - Africa/Lubumbashi
- - Africa/Lusaka
- - Africa/Malabo
- - Africa/Maputo
- - Africa/Maseru
- - Africa/Mbabane
- - Africa/Mogadishu
- - Africa/Monrovia
- - Africa/Nairobi
- - Africa/Ndjamena
- - Africa/Niamey
- - Africa/Nouakchott
- - Africa/Ouagadougou
- - Africa/Porto-Novo
- - Africa/Sao_Tome
- - Africa/Timbuktu
- - Africa/Tripoli
- - Africa/Tunis
- - Africa/Windhoek
- - America/Adak
- - America/Anchorage
- - America/Anguilla
- - America/Antigua
- - America/Araguaina
- - America/Argentina/Buenos_Aires
- - America/Argentina/Catamarca
- - America/Argentina/ComodRivadavia
- - America/Argentina/Cordoba
- - America/Argentina/Jujuy
- - America/Argentina/La_Rioja
- - America/Argentina/Mendoza
- - America/Argentina/Rio_Gallegos
- - America/Argentina/Salta
- - America/Argentina/San_Juan
- - America/Argentina/San_Luis
- - America/Argentina/Tucuman
- - America/Argentina/Ushuaia
- - America/Aruba
- - America/Asuncion
- - America/Atikokan
- - America/Atka
- - America/Bahia
- - America/Bahia_Banderas
- - America/Barbados
- - America/Belem
- - America/Belize
- - America/Blanc-Sablon
- - America/Boa_Vista
- - America/Bogota
- - America/Boise
- - America/Buenos_Aires
- - America/Cambridge_Bay
- - America/Campo_Grande
- - America/Cancun
- - America/Caracas
- - America/Catamarca
- - America/Cayenne
- - America/Cayman
- - America/Chicago
- - America/Chihuahua
- - America/Ciudad_Juarez
- - America/Coral_Harbour
- - America/Cordoba
- - America/Costa_Rica
- - America/Creston
- - America/Cuiaba
- - America/Curacao
- - America/Danmarkshavn
- - America/Dawson
- - America/Dawson_Creek
- - America/Denver
- - America/Detroit
- - America/Dominica
- - America/Edmonton
- - America/Eirunepe
- - America/El_Salvador
- - America/Ensenada
- - America/Fort_Nelson
- - America/Fort_Wayne
- - America/Fortaleza
- - America/Glace_Bay
- - America/Godthab
- - America/Goose_Bay
- - America/Grand_Turk
- - America/Grenada
- - America/Guadeloupe
- - America/Guatemala
- - America/Guayaquil
- - America/Guyana
- - America/Halifax
- - America/Havana
- - America/Hermosillo
- - America/Indiana/Indianapolis
- - America/Indiana/Knox
- - America/Indiana/Marengo
- - America/Indiana/Petersburg
- - America/Indiana/Tell_City
- - America/Indiana/Vevay
- - America/Indiana/Vincennes
- - America/Indiana/Winamac
- - America/Indianapolis
- - America/Inuvik
- - America/Iqaluit
- - America/Jamaica
- - America/Jujuy
- - America/Juneau
- - America/Kentucky/Louisville
- - America/Kentucky/Monticello
- - America/Knox_IN
- - America/Kralendijk
- - America/La_Paz
- - America/Lima
- - America/Los_Angeles
- - America/Louisville
- - America/Lower_Princes
- - America/Maceio
- - America/Managua
- - America/Manaus
- - America/Marigot
- - America/Martinique
- - America/Matamoros
- - America/Mazatlan
- - America/Mendoza
- - America/Menominee
- - America/Merida
- - America/Metlakatla
- - America/Mexico_City
- - America/Miquelon
- - America/Moncton
- - America/Monterrey
- - America/Montevideo
- - America/Montreal
- - America/Montserrat
- - America/Nassau
- - America/New_York
- - America/Nipigon
- - America/Nome
- - America/Noronha
- - America/North_Dakota/Beulah
- - America/North_Dakota/Center
- - America/North_Dakota/New_Salem
- - America/Nuuk
- - America/Ojinaga
- - America/Panama
- - America/Pangnirtung
- - America/Paramaribo
- - America/Phoenix
- - America/Port-au-Prince
- - America/Port_of_Spain
- - America/Porto_Acre
- - America/Porto_Velho
- - America/Puerto_Rico
- - America/Punta_Arenas
- - America/Rainy_River
- - America/Rankin_Inlet
- - America/Recife
- - America/Regina
- - America/Resolute
- - America/Rio_Branco
- - America/Rosario
- - America/Santa_Isabel
- - America/Santarem
- - America/Santiago
- - America/Santo_Domingo
- - America/Sao_Paulo
- - America/Scoresbysund
- - America/Shiprock
- - America/Sitka
- - America/St_Barthelemy
- - America/St_Johns
- - America/St_Kitts
- - America/St_Lucia
- - America/St_Thomas
- - America/St_Vincent
- - America/Swift_Current
- - America/Tegucigalpa
- - America/Thule
- - America/Thunder_Bay
- - America/Tijuana
- - America/Toronto
- - America/Tortola
- - America/Vancouver
- - America/Virgin
- - America/Whitehorse
- - America/Winnipeg
- - America/Yakutat
- - America/Yellowknife
- - Antarctica/Casey
- - Antarctica/Davis
- - Antarctica/DumontDUrville
- - Antarctica/Macquarie
- - Antarctica/Mawson
- - Antarctica/McMurdo
- - Antarctica/Palmer
- - Antarctica/Rothera
- - Antarctica/South_Pole
- - Antarctica/Syowa
- - Antarctica/Troll
- - Antarctica/Vostok
- - Arctic/Longyearbyen
- - Asia/Aden
- - Asia/Almaty
- - Asia/Amman
- - Asia/Anadyr
- - Asia/Aqtau
- - Asia/Aqtobe
- - Asia/Ashgabat
- - Asia/Ashkhabad
- - Asia/Atyrau
- - Asia/Baghdad
- - Asia/Bahrain
- - Asia/Baku
- - Asia/Bangkok
- - Asia/Barnaul
- - Asia/Beirut
- - Asia/Bishkek
- - Asia/Brunei
- - Asia/Calcutta
- - Asia/Chita
- - Asia/Choibalsan
- - Asia/Chongqing
- - Asia/Chungking
- - Asia/Colombo
- - Asia/Dacca
- - Asia/Damascus
- - Asia/Dhaka
- - Asia/Dili
- - Asia/Dubai
- - Asia/Dushanbe
- - Asia/Famagusta
- - Asia/Gaza
- - Asia/Harbin
- - Asia/Hebron
- - Asia/Ho_Chi_Minh
- - Asia/Hong_Kong
- - Asia/Hovd
- - Asia/Irkutsk
- - Asia/Istanbul
- - Asia/Jakarta
- - Asia/Jayapura
- - Asia/Jerusalem
- - Asia/Kabul
- - Asia/Kamchatka
- - Asia/Karachi
- - Asia/Kashgar
- - Asia/Kathmandu
- - Asia/Katmandu
- - Asia/Khandyga
- - Asia/Kolkata
- - Asia/Krasnoyarsk
- - Asia/Kuala_Lumpur
- - Asia/Kuching
- - Asia/Kuwait
- - Asia/Macao
- - Asia/Macau
- - Asia/Magadan
- - Asia/Makassar
- - Asia/Manila
- - Asia/Muscat
- - Asia/Nicosia
- - Asia/Novokuznetsk
- - Asia/Novosibirsk
- - Asia/Omsk
- - Asia/Oral
- - Asia/Phnom_Penh
- - Asia/Pontianak
- - Asia/Pyongyang
- - Asia/Qatar
- - Asia/Qostanay
- - Asia/Qyzylorda
- - Asia/Rangoon
- - Asia/Riyadh
- - Asia/Saigon
- - Asia/Sakhalin
- - Asia/Samarkand
- - Asia/Seoul
- - Asia/Shanghai
- - Asia/Singapore
- - Asia/Srednekolymsk
- - Asia/Taipei
- - Asia/Tashkent
- - Asia/Tbilisi
- - Asia/Tehran
- - Asia/Tel_Aviv
- - Asia/Thimbu
- - Asia/Thimphu
- - Asia/Tokyo
- - Asia/Tomsk
- - Asia/Ujung_Pandang
- - Asia/Ulaanbaatar
- - Asia/Ulan_Bator
- - Asia/Urumqi
- - Asia/Ust-Nera
- - Asia/Vientiane
- - Asia/Vladivostok
- - Asia/Yakutsk
- - Asia/Yangon
- - Asia/Yekaterinburg
- - Asia/Yerevan
- - Atlantic/Azores
- - Atlantic/Bermuda
- - Atlantic/Canary
- - Atlantic/Cape_Verde
- - Atlantic/Faeroe
- - Atlantic/Faroe
- - Atlantic/Jan_Mayen
- - Atlantic/Madeira
- - Atlantic/Reykjavik
- - Atlantic/South_Georgia
- - Atlantic/St_Helena
- - Atlantic/Stanley
- - Australia/ACT
- - Australia/Adelaide
- - Australia/Brisbane
- - Australia/Broken_Hill
- - Australia/Canberra
- - Australia/Currie
- - Australia/Darwin
- - Australia/Eucla
- - Australia/Hobart
- - Australia/LHI
- - Australia/Lindeman
- - Australia/Lord_Howe
- - Australia/Melbourne
- - Australia/NSW
- - Australia/North
- - Australia/Perth
- - Australia/Queensland
- - Australia/South
- - Australia/Sydney
- - Australia/Tasmania
- - Australia/Victoria
- - Australia/West
- - Australia/Yancowinna
- - Brazil/Acre
- - Brazil/DeNoronha
- - Brazil/East
- - Brazil/West
- - CET
- - CST6CDT
- - Canada/Atlantic
- - Canada/Central
- - Canada/Eastern
- - Canada/Mountain
- - Canada/Newfoundland
- - Canada/Pacific
- - Canada/Saskatchewan
- - Canada/Yukon
- - Chile/Continental
- - Chile/EasterIsland
- - Cuba
- - EET
- - EST
- - EST5EDT
- - Egypt
- - Eire
- - Etc/GMT
- - Etc/GMT+0
- - Etc/GMT+1
- - Etc/GMT+10
- - Etc/GMT+11
- - Etc/GMT+12
- - Etc/GMT+2
- - Etc/GMT+3
- - Etc/GMT+4
- - Etc/GMT+5
- - Etc/GMT+6
- - Etc/GMT+7
- - Etc/GMT+8
- - Etc/GMT+9
- - Etc/GMT-0
- - Etc/GMT-1
- - Etc/GMT-10
- - Etc/GMT-11
- - Etc/GMT-12
- - Etc/GMT-13
- - Etc/GMT-14
- - Etc/GMT-2
- - Etc/GMT-3
- - Etc/GMT-4
- - Etc/GMT-5
- - Etc/GMT-6
- - Etc/GMT-7
- - Etc/GMT-8
- - Etc/GMT-9
- - Etc/GMT0
- - Etc/Greenwich
- - Etc/UCT
- - Etc/UTC
- - Etc/Universal
- - Etc/Zulu
- - Europe/Amsterdam
- - Europe/Andorra
- - Europe/Astrakhan
- - Europe/Athens
- - Europe/Belfast
- - Europe/Belgrade
- - Europe/Berlin
- - Europe/Bratislava
- - Europe/Brussels
- - Europe/Bucharest
- - Europe/Budapest
- - Europe/Busingen
- - Europe/Chisinau
- - Europe/Copenhagen
- - Europe/Dublin
- - Europe/Gibraltar
- - Europe/Guernsey
- - Europe/Helsinki
- - Europe/Isle_of_Man
- - Europe/Istanbul
- - Europe/Jersey
- - Europe/Kaliningrad
- - Europe/Kiev
- - Europe/Kirov
- - Europe/Kyiv
- - Europe/Lisbon
- - Europe/Ljubljana
- - Europe/London
- - Europe/Luxembourg
- - Europe/Madrid
- - Europe/Malta
- - Europe/Mariehamn
- - Europe/Minsk
- - Europe/Monaco
- - Europe/Moscow
- - Europe/Nicosia
- - Europe/Oslo
- - Europe/Paris
- - Europe/Podgorica
- - Europe/Prague
- - Europe/Riga
- - Europe/Rome
- - Europe/Samara
- - Europe/San_Marino
- - Europe/Sarajevo
- - Europe/Saratov
- - Europe/Simferopol
- - Europe/Skopje
- - Europe/Sofia
- - Europe/Stockholm
- - Europe/Tallinn
- - Europe/Tirane
- - Europe/Tiraspol
- - Europe/Ulyanovsk
- - Europe/Uzhgorod
- - Europe/Vaduz
- - Europe/Vatican
- - Europe/Vienna
- - Europe/Vilnius
- - Europe/Volgograd
- - Europe/Warsaw
- - Europe/Zagreb
- - Europe/Zaporozhye
- - Europe/Zurich
- - GB
- - GB-Eire
- - GMT
- - GMT+0
- - GMT-0
- - GMT0
- - Greenwich
- - HST
- - Hongkong
- - Iceland
- - Indian/Antananarivo
- - Indian/Chagos
- - Indian/Christmas
- - Indian/Cocos
- - Indian/Comoro
- - Indian/Kerguelen
- - Indian/Mahe
- - Indian/Maldives
- - Indian/Mauritius
- - Indian/Mayotte
- - Indian/Reunion
- - Iran
- - Israel
- - Jamaica
- - Japan
- - Kwajalein
- - Libya
- - MET
- - MST
- - MST7MDT
- - Mexico/BajaNorte
- - Mexico/BajaSur
- - Mexico/General
- - NZ
- - NZ-CHAT
- - Navajo
- - PRC
- - PST8PDT
- - Pacific/Apia
- - Pacific/Auckland
- - Pacific/Bougainville
- - Pacific/Chatham
- - Pacific/Chuuk
- - Pacific/Easter
- - Pacific/Efate
- - Pacific/Enderbury
- - Pacific/Fakaofo
- - Pacific/Fiji
- - Pacific/Funafuti
- - Pacific/Galapagos
- - Pacific/Gambier
- - Pacific/Guadalcanal
- - Pacific/Guam
- - Pacific/Honolulu
- - Pacific/Johnston
- - Pacific/Kanton
- - Pacific/Kiritimati
- - Pacific/Kosrae
- - Pacific/Kwajalein
- - Pacific/Majuro
- - Pacific/Marquesas
- - Pacific/Midway
- - Pacific/Nauru
- - Pacific/Niue
- - Pacific/Norfolk
- - Pacific/Noumea
- - Pacific/Pago_Pago
- - Pacific/Palau
- - Pacific/Pitcairn
- - Pacific/Pohnpei
- - Pacific/Ponape
- - Pacific/Port_Moresby
- - Pacific/Rarotonga
- - Pacific/Saipan
- - Pacific/Samoa
- - Pacific/Tahiti
- - Pacific/Tarawa
- - Pacific/Tongatapu
- - Pacific/Truk
- - Pacific/Wake
- - Pacific/Wallis
- - Pacific/Yap
- - Poland
- - Portugal
- - ROC
- - ROK
- - Singapore
- - Turkey
- - UCT
- - US/Alaska
- - US/Aleutian
- - US/Arizona
- - US/Central
- - US/East-Indiana
- - US/Eastern
- - US/Hawaii
- - US/Indiana-Starke
- - US/Michigan
- - US/Mountain
- - US/Pacific
- - US/Samoa
- - UTC
- - Universal
- - W-SU
- - WET
- - Zulu
- - localtime
- description: |+
- Time zone
-
- explode: true
- style: form
- - in: query
- name: time_zone__ire
- schema:
- type: array
- items:
- type: string
- enum:
- - Africa/Abidjan
- - Africa/Accra
- - Africa/Addis_Ababa
- - Africa/Algiers
- - Africa/Asmara
- - Africa/Asmera
- - Africa/Bamako
- - Africa/Bangui
- - Africa/Banjul
- - Africa/Bissau
- - Africa/Blantyre
- - Africa/Brazzaville
- - Africa/Bujumbura
- - Africa/Cairo
- - Africa/Casablanca
- - Africa/Ceuta
- - Africa/Conakry
- - Africa/Dakar
- - Africa/Dar_es_Salaam
- - Africa/Djibouti
- - Africa/Douala
- - Africa/El_Aaiun
- - Africa/Freetown
- - Africa/Gaborone
- - Africa/Harare
- - Africa/Johannesburg
- - Africa/Juba
- - Africa/Kampala
- - Africa/Khartoum
- - Africa/Kigali
- - Africa/Kinshasa
- - Africa/Lagos
- - Africa/Libreville
- - Africa/Lome
- - Africa/Luanda
- - Africa/Lubumbashi
- - Africa/Lusaka
- - Africa/Malabo
- - Africa/Maputo
- - Africa/Maseru
- - Africa/Mbabane
- - Africa/Mogadishu
- - Africa/Monrovia
- - Africa/Nairobi
- - Africa/Ndjamena
- - Africa/Niamey
- - Africa/Nouakchott
- - Africa/Ouagadougou
- - Africa/Porto-Novo
- - Africa/Sao_Tome
- - Africa/Timbuktu
- - Africa/Tripoli
- - Africa/Tunis
- - Africa/Windhoek
- - America/Adak
- - America/Anchorage
- - America/Anguilla
- - America/Antigua
- - America/Araguaina
- - America/Argentina/Buenos_Aires
- - America/Argentina/Catamarca
- - America/Argentina/ComodRivadavia
- - America/Argentina/Cordoba
- - America/Argentina/Jujuy
- - America/Argentina/La_Rioja
- - America/Argentina/Mendoza
- - America/Argentina/Rio_Gallegos
- - America/Argentina/Salta
- - America/Argentina/San_Juan
- - America/Argentina/San_Luis
- - America/Argentina/Tucuman
- - America/Argentina/Ushuaia
- - America/Aruba
- - America/Asuncion
- - America/Atikokan
- - America/Atka
- - America/Bahia
- - America/Bahia_Banderas
- - America/Barbados
- - America/Belem
- - America/Belize
- - America/Blanc-Sablon
- - America/Boa_Vista
- - America/Bogota
- - America/Boise
- - America/Buenos_Aires
- - America/Cambridge_Bay
- - America/Campo_Grande
- - America/Cancun
- - America/Caracas
- - America/Catamarca
- - America/Cayenne
- - America/Cayman
- - America/Chicago
- - America/Chihuahua
- - America/Ciudad_Juarez
- - America/Coral_Harbour
- - America/Cordoba
- - America/Costa_Rica
- - America/Creston
- - America/Cuiaba
- - America/Curacao
- - America/Danmarkshavn
- - America/Dawson
- - America/Dawson_Creek
- - America/Denver
- - America/Detroit
- - America/Dominica
- - America/Edmonton
- - America/Eirunepe
- - America/El_Salvador
- - America/Ensenada
- - America/Fort_Nelson
- - America/Fort_Wayne
- - America/Fortaleza
- - America/Glace_Bay
- - America/Godthab
- - America/Goose_Bay
- - America/Grand_Turk
- - America/Grenada
- - America/Guadeloupe
- - America/Guatemala
- - America/Guayaquil
- - America/Guyana
- - America/Halifax
- - America/Havana
- - America/Hermosillo
- - America/Indiana/Indianapolis
- - America/Indiana/Knox
- - America/Indiana/Marengo
- - America/Indiana/Petersburg
- - America/Indiana/Tell_City
- - America/Indiana/Vevay
- - America/Indiana/Vincennes
- - America/Indiana/Winamac
- - America/Indianapolis
- - America/Inuvik
- - America/Iqaluit
- - America/Jamaica
- - America/Jujuy
- - America/Juneau
- - America/Kentucky/Louisville
- - America/Kentucky/Monticello
- - America/Knox_IN
- - America/Kralendijk
- - America/La_Paz
- - America/Lima
- - America/Los_Angeles
- - America/Louisville
- - America/Lower_Princes
- - America/Maceio
- - America/Managua
- - America/Manaus
- - America/Marigot
- - America/Martinique
- - America/Matamoros
- - America/Mazatlan
- - America/Mendoza
- - America/Menominee
- - America/Merida
- - America/Metlakatla
- - America/Mexico_City
- - America/Miquelon
- - America/Moncton
- - America/Monterrey
- - America/Montevideo
- - America/Montreal
- - America/Montserrat
- - America/Nassau
- - America/New_York
- - America/Nipigon
- - America/Nome
- - America/Noronha
- - America/North_Dakota/Beulah
- - America/North_Dakota/Center
- - America/North_Dakota/New_Salem
- - America/Nuuk
- - America/Ojinaga
- - America/Panama
- - America/Pangnirtung
- - America/Paramaribo
- - America/Phoenix
- - America/Port-au-Prince
- - America/Port_of_Spain
- - America/Porto_Acre
- - America/Porto_Velho
- - America/Puerto_Rico
- - America/Punta_Arenas
- - America/Rainy_River
- - America/Rankin_Inlet
- - America/Recife
- - America/Regina
- - America/Resolute
- - America/Rio_Branco
- - America/Rosario
- - America/Santa_Isabel
- - America/Santarem
- - America/Santiago
- - America/Santo_Domingo
- - America/Sao_Paulo
- - America/Scoresbysund
- - America/Shiprock
- - America/Sitka
- - America/St_Barthelemy
- - America/St_Johns
- - America/St_Kitts
- - America/St_Lucia
- - America/St_Thomas
- - America/St_Vincent
- - America/Swift_Current
- - America/Tegucigalpa
- - America/Thule
- - America/Thunder_Bay
- - America/Tijuana
- - America/Toronto
- - America/Tortola
- - America/Vancouver
- - America/Virgin
- - America/Whitehorse
- - America/Winnipeg
- - America/Yakutat
- - America/Yellowknife
- - Antarctica/Casey
- - Antarctica/Davis
- - Antarctica/DumontDUrville
- - Antarctica/Macquarie
- - Antarctica/Mawson
- - Antarctica/McMurdo
- - Antarctica/Palmer
- - Antarctica/Rothera
- - Antarctica/South_Pole
- - Antarctica/Syowa
- - Antarctica/Troll
- - Antarctica/Vostok
- - Arctic/Longyearbyen
- - Asia/Aden
- - Asia/Almaty
- - Asia/Amman
- - Asia/Anadyr
- - Asia/Aqtau
- - Asia/Aqtobe
- - Asia/Ashgabat
- - Asia/Ashkhabad
- - Asia/Atyrau
- - Asia/Baghdad
- - Asia/Bahrain
- - Asia/Baku
- - Asia/Bangkok
- - Asia/Barnaul
- - Asia/Beirut
- - Asia/Bishkek
- - Asia/Brunei
- - Asia/Calcutta
- - Asia/Chita
- - Asia/Choibalsan
- - Asia/Chongqing
- - Asia/Chungking
- - Asia/Colombo
- - Asia/Dacca
- - Asia/Damascus
- - Asia/Dhaka
- - Asia/Dili
- - Asia/Dubai
- - Asia/Dushanbe
- - Asia/Famagusta
- - Asia/Gaza
- - Asia/Harbin
- - Asia/Hebron
- - Asia/Ho_Chi_Minh
- - Asia/Hong_Kong
- - Asia/Hovd
- - Asia/Irkutsk
- - Asia/Istanbul
- - Asia/Jakarta
- - Asia/Jayapura
- - Asia/Jerusalem
- - Asia/Kabul
- - Asia/Kamchatka
- - Asia/Karachi
- - Asia/Kashgar
- - Asia/Kathmandu
- - Asia/Katmandu
- - Asia/Khandyga
- - Asia/Kolkata
- - Asia/Krasnoyarsk
- - Asia/Kuala_Lumpur
- - Asia/Kuching
- - Asia/Kuwait
- - Asia/Macao
- - Asia/Macau
- - Asia/Magadan
- - Asia/Makassar
- - Asia/Manila
- - Asia/Muscat
- - Asia/Nicosia
- - Asia/Novokuznetsk
- - Asia/Novosibirsk
- - Asia/Omsk
- - Asia/Oral
- - Asia/Phnom_Penh
- - Asia/Pontianak
- - Asia/Pyongyang
- - Asia/Qatar
- - Asia/Qostanay
- - Asia/Qyzylorda
- - Asia/Rangoon
- - Asia/Riyadh
- - Asia/Saigon
- - Asia/Sakhalin
- - Asia/Samarkand
- - Asia/Seoul
- - Asia/Shanghai
- - Asia/Singapore
- - Asia/Srednekolymsk
- - Asia/Taipei
- - Asia/Tashkent
- - Asia/Tbilisi
- - Asia/Tehran
- - Asia/Tel_Aviv
- - Asia/Thimbu
- - Asia/Thimphu
- - Asia/Tokyo
- - Asia/Tomsk
- - Asia/Ujung_Pandang
- - Asia/Ulaanbaatar
- - Asia/Ulan_Bator
- - Asia/Urumqi
- - Asia/Ust-Nera
- - Asia/Vientiane
- - Asia/Vladivostok
- - Asia/Yakutsk
- - Asia/Yangon
- - Asia/Yekaterinburg
- - Asia/Yerevan
- - Atlantic/Azores
- - Atlantic/Bermuda
- - Atlantic/Canary
- - Atlantic/Cape_Verde
- - Atlantic/Faeroe
- - Atlantic/Faroe
- - Atlantic/Jan_Mayen
- - Atlantic/Madeira
- - Atlantic/Reykjavik
- - Atlantic/South_Georgia
- - Atlantic/St_Helena
- - Atlantic/Stanley
- - Australia/ACT
- - Australia/Adelaide
- - Australia/Brisbane
- - Australia/Broken_Hill
- - Australia/Canberra
- - Australia/Currie
- - Australia/Darwin
- - Australia/Eucla
- - Australia/Hobart
- - Australia/LHI
- - Australia/Lindeman
- - Australia/Lord_Howe
- - Australia/Melbourne
- - Australia/NSW
- - Australia/North
- - Australia/Perth
- - Australia/Queensland
- - Australia/South
- - Australia/Sydney
- - Australia/Tasmania
- - Australia/Victoria
- - Australia/West
- - Australia/Yancowinna
- - Brazil/Acre
- - Brazil/DeNoronha
- - Brazil/East
- - Brazil/West
- - CET
- - CST6CDT
- - Canada/Atlantic
- - Canada/Central
- - Canada/Eastern
- - Canada/Mountain
- - Canada/Newfoundland
- - Canada/Pacific
- - Canada/Saskatchewan
- - Canada/Yukon
- - Chile/Continental
- - Chile/EasterIsland
- - Cuba
- - EET
- - EST
- - EST5EDT
- - Egypt
- - Eire
- - Etc/GMT
- - Etc/GMT+0
- - Etc/GMT+1
- - Etc/GMT+10
- - Etc/GMT+11
- - Etc/GMT+12
- - Etc/GMT+2
- - Etc/GMT+3
- - Etc/GMT+4
- - Etc/GMT+5
- - Etc/GMT+6
- - Etc/GMT+7
- - Etc/GMT+8
- - Etc/GMT+9
- - Etc/GMT-0
- - Etc/GMT-1
- - Etc/GMT-10
- - Etc/GMT-11
- - Etc/GMT-12
- - Etc/GMT-13
- - Etc/GMT-14
- - Etc/GMT-2
- - Etc/GMT-3
- - Etc/GMT-4
- - Etc/GMT-5
- - Etc/GMT-6
- - Etc/GMT-7
- - Etc/GMT-8
- - Etc/GMT-9
- - Etc/GMT0
- - Etc/Greenwich
- - Etc/UCT
- - Etc/UTC
- - Etc/Universal
- - Etc/Zulu
- - Europe/Amsterdam
- - Europe/Andorra
- - Europe/Astrakhan
- - Europe/Athens
- - Europe/Belfast
- - Europe/Belgrade
- - Europe/Berlin
- - Europe/Bratislava
- - Europe/Brussels
- - Europe/Bucharest
- - Europe/Budapest
- - Europe/Busingen
- - Europe/Chisinau
- - Europe/Copenhagen
- - Europe/Dublin
- - Europe/Gibraltar
- - Europe/Guernsey
- - Europe/Helsinki
- - Europe/Isle_of_Man
- - Europe/Istanbul
- - Europe/Jersey
- - Europe/Kaliningrad
- - Europe/Kiev
- - Europe/Kirov
- - Europe/Kyiv
- - Europe/Lisbon
- - Europe/Ljubljana
- - Europe/London
- - Europe/Luxembourg
- - Europe/Madrid
- - Europe/Malta
- - Europe/Mariehamn
- - Europe/Minsk
- - Europe/Monaco
- - Europe/Moscow
- - Europe/Nicosia
- - Europe/Oslo
- - Europe/Paris
- - Europe/Podgorica
- - Europe/Prague
- - Europe/Riga
- - Europe/Rome
- - Europe/Samara
- - Europe/San_Marino
- - Europe/Sarajevo
- - Europe/Saratov
- - Europe/Simferopol
- - Europe/Skopje
- - Europe/Sofia
- - Europe/Stockholm
- - Europe/Tallinn
- - Europe/Tirane
- - Europe/Tiraspol
- - Europe/Ulyanovsk
- - Europe/Uzhgorod
- - Europe/Vaduz
- - Europe/Vatican
- - Europe/Vienna
- - Europe/Vilnius
- - Europe/Volgograd
- - Europe/Warsaw
- - Europe/Zagreb
- - Europe/Zaporozhye
- - Europe/Zurich
- - GB
- - GB-Eire
- - GMT
- - GMT+0
- - GMT-0
- - GMT0
- - Greenwich
- - HST
- - Hongkong
- - Iceland
- - Indian/Antananarivo
- - Indian/Chagos
- - Indian/Christmas
- - Indian/Cocos
- - Indian/Comoro
- - Indian/Kerguelen
- - Indian/Mahe
- - Indian/Maldives
- - Indian/Mauritius
- - Indian/Mayotte
- - Indian/Reunion
- - Iran
- - Israel
- - Jamaica
- - Japan
- - Kwajalein
- - Libya
- - MET
- - MST
- - MST7MDT
- - Mexico/BajaNorte
- - Mexico/BajaSur
- - Mexico/General
- - NZ
- - NZ-CHAT
- - Navajo
- - PRC
- - PST8PDT
- - Pacific/Apia
- - Pacific/Auckland
- - Pacific/Bougainville
- - Pacific/Chatham
- - Pacific/Chuuk
- - Pacific/Easter
- - Pacific/Efate
- - Pacific/Enderbury
- - Pacific/Fakaofo
- - Pacific/Fiji
- - Pacific/Funafuti
- - Pacific/Galapagos
- - Pacific/Gambier
- - Pacific/Guadalcanal
- - Pacific/Guam
- - Pacific/Honolulu
- - Pacific/Johnston
- - Pacific/Kanton
- - Pacific/Kiritimati
- - Pacific/Kosrae
- - Pacific/Kwajalein
- - Pacific/Majuro
- - Pacific/Marquesas
- - Pacific/Midway
- - Pacific/Nauru
- - Pacific/Niue
- - Pacific/Norfolk
- - Pacific/Noumea
- - Pacific/Pago_Pago
- - Pacific/Palau
- - Pacific/Pitcairn
- - Pacific/Pohnpei
- - Pacific/Ponape
- - Pacific/Port_Moresby
- - Pacific/Rarotonga
- - Pacific/Saipan
- - Pacific/Samoa
- - Pacific/Tahiti
- - Pacific/Tarawa
- - Pacific/Tongatapu
- - Pacific/Truk
- - Pacific/Wake
- - Pacific/Wallis
- - Pacific/Yap
- - Poland
- - Portugal
- - ROC
- - ROK
- - Singapore
- - Turkey
- - UCT
- - US/Alaska
- - US/Aleutian
- - US/Arizona
- - US/Central
- - US/East-Indiana
- - US/Eastern
- - US/Hawaii
- - US/Indiana-Starke
- - US/Michigan
- - US/Mountain
- - US/Pacific
- - US/Samoa
- - UTC
- - Universal
- - W-SU
- - WET
- - Zulu
- - localtime
- description: |+
- Time zone
-
- explode: true
- style: form
- - in: query
- name: time_zone__isw
- schema:
- type: array
- items:
- type: string
- enum:
- - Africa/Abidjan
- - Africa/Accra
- - Africa/Addis_Ababa
- - Africa/Algiers
- - Africa/Asmara
- - Africa/Asmera
- - Africa/Bamako
- - Africa/Bangui
- - Africa/Banjul
- - Africa/Bissau
- - Africa/Blantyre
- - Africa/Brazzaville
- - Africa/Bujumbura
- - Africa/Cairo
- - Africa/Casablanca
- - Africa/Ceuta
- - Africa/Conakry
- - Africa/Dakar
- - Africa/Dar_es_Salaam
- - Africa/Djibouti
- - Africa/Douala
- - Africa/El_Aaiun
- - Africa/Freetown
- - Africa/Gaborone
- - Africa/Harare
- - Africa/Johannesburg
- - Africa/Juba
- - Africa/Kampala
- - Africa/Khartoum
- - Africa/Kigali
- - Africa/Kinshasa
- - Africa/Lagos
- - Africa/Libreville
- - Africa/Lome
- - Africa/Luanda
- - Africa/Lubumbashi
- - Africa/Lusaka
- - Africa/Malabo
- - Africa/Maputo
- - Africa/Maseru
- - Africa/Mbabane
- - Africa/Mogadishu
- - Africa/Monrovia
- - Africa/Nairobi
- - Africa/Ndjamena
- - Africa/Niamey
- - Africa/Nouakchott
- - Africa/Ouagadougou
- - Africa/Porto-Novo
- - Africa/Sao_Tome
- - Africa/Timbuktu
- - Africa/Tripoli
- - Africa/Tunis
- - Africa/Windhoek
- - America/Adak
- - America/Anchorage
- - America/Anguilla
- - America/Antigua
- - America/Araguaina
- - America/Argentina/Buenos_Aires
- - America/Argentina/Catamarca
- - America/Argentina/ComodRivadavia
- - America/Argentina/Cordoba
- - America/Argentina/Jujuy
- - America/Argentina/La_Rioja
- - America/Argentina/Mendoza
- - America/Argentina/Rio_Gallegos
- - America/Argentina/Salta
- - America/Argentina/San_Juan
- - America/Argentina/San_Luis
- - America/Argentina/Tucuman
- - America/Argentina/Ushuaia
- - America/Aruba
- - America/Asuncion
- - America/Atikokan
- - America/Atka
- - America/Bahia
- - America/Bahia_Banderas
- - America/Barbados
- - America/Belem
- - America/Belize
- - America/Blanc-Sablon
- - America/Boa_Vista
- - America/Bogota
- - America/Boise
- - America/Buenos_Aires
- - America/Cambridge_Bay
- - America/Campo_Grande
- - America/Cancun
- - America/Caracas
- - America/Catamarca
- - America/Cayenne
- - America/Cayman
- - America/Chicago
- - America/Chihuahua
- - America/Ciudad_Juarez
- - America/Coral_Harbour
- - America/Cordoba
- - America/Costa_Rica
- - America/Creston
- - America/Cuiaba
- - America/Curacao
- - America/Danmarkshavn
- - America/Dawson
- - America/Dawson_Creek
- - America/Denver
- - America/Detroit
- - America/Dominica
- - America/Edmonton
- - America/Eirunepe
- - America/El_Salvador
- - America/Ensenada
- - America/Fort_Nelson
- - America/Fort_Wayne
- - America/Fortaleza
- - America/Glace_Bay
- - America/Godthab
- - America/Goose_Bay
- - America/Grand_Turk
- - America/Grenada
- - America/Guadeloupe
- - America/Guatemala
- - America/Guayaquil
- - America/Guyana
- - America/Halifax
- - America/Havana
- - America/Hermosillo
- - America/Indiana/Indianapolis
- - America/Indiana/Knox
- - America/Indiana/Marengo
- - America/Indiana/Petersburg
- - America/Indiana/Tell_City
- - America/Indiana/Vevay
- - America/Indiana/Vincennes
- - America/Indiana/Winamac
- - America/Indianapolis
- - America/Inuvik
- - America/Iqaluit
- - America/Jamaica
- - America/Jujuy
- - America/Juneau
- - America/Kentucky/Louisville
- - America/Kentucky/Monticello
- - America/Knox_IN
- - America/Kralendijk
- - America/La_Paz
- - America/Lima
- - America/Los_Angeles
- - America/Louisville
- - America/Lower_Princes
- - America/Maceio
- - America/Managua
- - America/Manaus
- - America/Marigot
- - America/Martinique
- - America/Matamoros
- - America/Mazatlan
- - America/Mendoza
- - America/Menominee
- - America/Merida
- - America/Metlakatla
- - America/Mexico_City
- - America/Miquelon
- - America/Moncton
- - America/Monterrey
- - America/Montevideo
- - America/Montreal
- - America/Montserrat
- - America/Nassau
- - America/New_York
- - America/Nipigon
- - America/Nome
- - America/Noronha
- - America/North_Dakota/Beulah
- - America/North_Dakota/Center
- - America/North_Dakota/New_Salem
- - America/Nuuk
- - America/Ojinaga
- - America/Panama
- - America/Pangnirtung
- - America/Paramaribo
- - America/Phoenix
- - America/Port-au-Prince
- - America/Port_of_Spain
- - America/Porto_Acre
- - America/Porto_Velho
- - America/Puerto_Rico
- - America/Punta_Arenas
- - America/Rainy_River
- - America/Rankin_Inlet
- - America/Recife
- - America/Regina
- - America/Resolute
- - America/Rio_Branco
- - America/Rosario
- - America/Santa_Isabel
- - America/Santarem
- - America/Santiago
- - America/Santo_Domingo
- - America/Sao_Paulo
- - America/Scoresbysund
- - America/Shiprock
- - America/Sitka
- - America/St_Barthelemy
- - America/St_Johns
- - America/St_Kitts
- - America/St_Lucia
- - America/St_Thomas
- - America/St_Vincent
- - America/Swift_Current
- - America/Tegucigalpa
- - America/Thule
- - America/Thunder_Bay
- - America/Tijuana
- - America/Toronto
- - America/Tortola
- - America/Vancouver
- - America/Virgin
- - America/Whitehorse
- - America/Winnipeg
- - America/Yakutat
- - America/Yellowknife
- - Antarctica/Casey
- - Antarctica/Davis
- - Antarctica/DumontDUrville
- - Antarctica/Macquarie
- - Antarctica/Mawson
- - Antarctica/McMurdo
- - Antarctica/Palmer
- - Antarctica/Rothera
- - Antarctica/South_Pole
- - Antarctica/Syowa
- - Antarctica/Troll
- - Antarctica/Vostok
- - Arctic/Longyearbyen
- - Asia/Aden
- - Asia/Almaty
- - Asia/Amman
- - Asia/Anadyr
- - Asia/Aqtau
- - Asia/Aqtobe
- - Asia/Ashgabat
- - Asia/Ashkhabad
- - Asia/Atyrau
- - Asia/Baghdad
- - Asia/Bahrain
- - Asia/Baku
- - Asia/Bangkok
- - Asia/Barnaul
- - Asia/Beirut
- - Asia/Bishkek
- - Asia/Brunei
- - Asia/Calcutta
- - Asia/Chita
- - Asia/Choibalsan
- - Asia/Chongqing
- - Asia/Chungking
- - Asia/Colombo
- - Asia/Dacca
- - Asia/Damascus
- - Asia/Dhaka
- - Asia/Dili
- - Asia/Dubai
- - Asia/Dushanbe
- - Asia/Famagusta
- - Asia/Gaza
- - Asia/Harbin
- - Asia/Hebron
- - Asia/Ho_Chi_Minh
- - Asia/Hong_Kong
- - Asia/Hovd
- - Asia/Irkutsk
- - Asia/Istanbul
- - Asia/Jakarta
- - Asia/Jayapura
- - Asia/Jerusalem
- - Asia/Kabul
- - Asia/Kamchatka
- - Asia/Karachi
- - Asia/Kashgar
- - Asia/Kathmandu
- - Asia/Katmandu
- - Asia/Khandyga
- - Asia/Kolkata
- - Asia/Krasnoyarsk
- - Asia/Kuala_Lumpur
- - Asia/Kuching
- - Asia/Kuwait
- - Asia/Macao
- - Asia/Macau
- - Asia/Magadan
- - Asia/Makassar
- - Asia/Manila
- - Asia/Muscat
- - Asia/Nicosia
- - Asia/Novokuznetsk
- - Asia/Novosibirsk
- - Asia/Omsk
- - Asia/Oral
- - Asia/Phnom_Penh
- - Asia/Pontianak
- - Asia/Pyongyang
- - Asia/Qatar
- - Asia/Qostanay
- - Asia/Qyzylorda
- - Asia/Rangoon
- - Asia/Riyadh
- - Asia/Saigon
- - Asia/Sakhalin
- - Asia/Samarkand
- - Asia/Seoul
- - Asia/Shanghai
- - Asia/Singapore
- - Asia/Srednekolymsk
- - Asia/Taipei
- - Asia/Tashkent
- - Asia/Tbilisi
- - Asia/Tehran
- - Asia/Tel_Aviv
- - Asia/Thimbu
- - Asia/Thimphu
- - Asia/Tokyo
- - Asia/Tomsk
- - Asia/Ujung_Pandang
- - Asia/Ulaanbaatar
- - Asia/Ulan_Bator
- - Asia/Urumqi
- - Asia/Ust-Nera
- - Asia/Vientiane
- - Asia/Vladivostok
- - Asia/Yakutsk
- - Asia/Yangon
- - Asia/Yekaterinburg
- - Asia/Yerevan
- - Atlantic/Azores
- - Atlantic/Bermuda
- - Atlantic/Canary
- - Atlantic/Cape_Verde
- - Atlantic/Faeroe
- - Atlantic/Faroe
- - Atlantic/Jan_Mayen
- - Atlantic/Madeira
- - Atlantic/Reykjavik
- - Atlantic/South_Georgia
- - Atlantic/St_Helena
- - Atlantic/Stanley
- - Australia/ACT
- - Australia/Adelaide
- - Australia/Brisbane
- - Australia/Broken_Hill
- - Australia/Canberra
- - Australia/Currie
- - Australia/Darwin
- - Australia/Eucla
- - Australia/Hobart
- - Australia/LHI
- - Australia/Lindeman
- - Australia/Lord_Howe
- - Australia/Melbourne
- - Australia/NSW
- - Australia/North
- - Australia/Perth
- - Australia/Queensland
- - Australia/South
- - Australia/Sydney
- - Australia/Tasmania
- - Australia/Victoria
- - Australia/West
- - Australia/Yancowinna
- - Brazil/Acre
- - Brazil/DeNoronha
- - Brazil/East
- - Brazil/West
- - CET
- - CST6CDT
- - Canada/Atlantic
- - Canada/Central
- - Canada/Eastern
- - Canada/Mountain
- - Canada/Newfoundland
- - Canada/Pacific
- - Canada/Saskatchewan
- - Canada/Yukon
- - Chile/Continental
- - Chile/EasterIsland
- - Cuba
- - EET
- - EST
- - EST5EDT
- - Egypt
- - Eire
- - Etc/GMT
- - Etc/GMT+0
- - Etc/GMT+1
- - Etc/GMT+10
- - Etc/GMT+11
- - Etc/GMT+12
- - Etc/GMT+2
- - Etc/GMT+3
- - Etc/GMT+4
- - Etc/GMT+5
- - Etc/GMT+6
- - Etc/GMT+7
- - Etc/GMT+8
- - Etc/GMT+9
- - Etc/GMT-0
- - Etc/GMT-1
- - Etc/GMT-10
- - Etc/GMT-11
- - Etc/GMT-12
- - Etc/GMT-13
- - Etc/GMT-14
- - Etc/GMT-2
- - Etc/GMT-3
- - Etc/GMT-4
- - Etc/GMT-5
- - Etc/GMT-6
- - Etc/GMT-7
- - Etc/GMT-8
- - Etc/GMT-9
- - Etc/GMT0
- - Etc/Greenwich
- - Etc/UCT
- - Etc/UTC
- - Etc/Universal
- - Etc/Zulu
- - Europe/Amsterdam
- - Europe/Andorra
- - Europe/Astrakhan
- - Europe/Athens
- - Europe/Belfast
- - Europe/Belgrade
- - Europe/Berlin
- - Europe/Bratislava
- - Europe/Brussels
- - Europe/Bucharest
- - Europe/Budapest
- - Europe/Busingen
- - Europe/Chisinau
- - Europe/Copenhagen
- - Europe/Dublin
- - Europe/Gibraltar
- - Europe/Guernsey
- - Europe/Helsinki
- - Europe/Isle_of_Man
- - Europe/Istanbul
- - Europe/Jersey
- - Europe/Kaliningrad
- - Europe/Kiev
- - Europe/Kirov
- - Europe/Kyiv
- - Europe/Lisbon
- - Europe/Ljubljana
- - Europe/London
- - Europe/Luxembourg
- - Europe/Madrid
- - Europe/Malta
- - Europe/Mariehamn
- - Europe/Minsk
- - Europe/Monaco
- - Europe/Moscow
- - Europe/Nicosia
- - Europe/Oslo
- - Europe/Paris
- - Europe/Podgorica
- - Europe/Prague
- - Europe/Riga
- - Europe/Rome
- - Europe/Samara
- - Europe/San_Marino
- - Europe/Sarajevo
- - Europe/Saratov
- - Europe/Simferopol
- - Europe/Skopje
- - Europe/Sofia
- - Europe/Stockholm
- - Europe/Tallinn
- - Europe/Tirane
- - Europe/Tiraspol
- - Europe/Ulyanovsk
- - Europe/Uzhgorod
- - Europe/Vaduz
- - Europe/Vatican
- - Europe/Vienna
- - Europe/Vilnius
- - Europe/Volgograd
- - Europe/Warsaw
- - Europe/Zagreb
- - Europe/Zaporozhye
- - Europe/Zurich
- - GB
- - GB-Eire
- - GMT
- - GMT+0
- - GMT-0
- - GMT0
- - Greenwich
- - HST
- - Hongkong
- - Iceland
- - Indian/Antananarivo
- - Indian/Chagos
- - Indian/Christmas
- - Indian/Cocos
- - Indian/Comoro
- - Indian/Kerguelen
- - Indian/Mahe
- - Indian/Maldives
- - Indian/Mauritius
- - Indian/Mayotte
- - Indian/Reunion
- - Iran
- - Israel
- - Jamaica
- - Japan
- - Kwajalein
- - Libya
- - MET
- - MST
- - MST7MDT
- - Mexico/BajaNorte
- - Mexico/BajaSur
- - Mexico/General
- - NZ
- - NZ-CHAT
- - Navajo
- - PRC
- - PST8PDT
- - Pacific/Apia
- - Pacific/Auckland
- - Pacific/Bougainville
- - Pacific/Chatham
- - Pacific/Chuuk
- - Pacific/Easter
- - Pacific/Efate
- - Pacific/Enderbury
- - Pacific/Fakaofo
- - Pacific/Fiji
- - Pacific/Funafuti
- - Pacific/Galapagos
- - Pacific/Gambier
- - Pacific/Guadalcanal
- - Pacific/Guam
- - Pacific/Honolulu
- - Pacific/Johnston
- - Pacific/Kanton
- - Pacific/Kiritimati
- - Pacific/Kosrae
- - Pacific/Kwajalein
- - Pacific/Majuro
- - Pacific/Marquesas
- - Pacific/Midway
- - Pacific/Nauru
- - Pacific/Niue
- - Pacific/Norfolk
- - Pacific/Noumea
- - Pacific/Pago_Pago
- - Pacific/Palau
- - Pacific/Pitcairn
- - Pacific/Pohnpei
- - Pacific/Ponape
- - Pacific/Port_Moresby
- - Pacific/Rarotonga
- - Pacific/Saipan
- - Pacific/Samoa
- - Pacific/Tahiti
- - Pacific/Tarawa
- - Pacific/Tongatapu
- - Pacific/Truk
- - Pacific/Wake
- - Pacific/Wallis
- - Pacific/Yap
- - Poland
- - Portugal
- - ROC
- - ROK
- - Singapore
- - Turkey
- - UCT
- - US/Alaska
- - US/Aleutian
- - US/Arizona
- - US/Central
- - US/East-Indiana
- - US/Eastern
- - US/Hawaii
- - US/Indiana-Starke
- - US/Michigan
- - US/Mountain
- - US/Pacific
- - US/Samoa
- - UTC
- - Universal
- - W-SU
- - WET
- - Zulu
- - localtime
- description: |+
- Time zone
-
- explode: true
- style: form
- - in: query
- name: time_zone__n
- schema:
- type: array
- items:
- type: string
- enum:
- - Africa/Abidjan
- - Africa/Accra
- - Africa/Addis_Ababa
- - Africa/Algiers
- - Africa/Asmara
- - Africa/Asmera
- - Africa/Bamako
- - Africa/Bangui
- - Africa/Banjul
- - Africa/Bissau
- - Africa/Blantyre
- - Africa/Brazzaville
- - Africa/Bujumbura
- - Africa/Cairo
- - Africa/Casablanca
- - Africa/Ceuta
- - Africa/Conakry
- - Africa/Dakar
- - Africa/Dar_es_Salaam
- - Africa/Djibouti
- - Africa/Douala
- - Africa/El_Aaiun
- - Africa/Freetown
- - Africa/Gaborone
- - Africa/Harare
- - Africa/Johannesburg
- - Africa/Juba
- - Africa/Kampala
- - Africa/Khartoum
- - Africa/Kigali
- - Africa/Kinshasa
- - Africa/Lagos
- - Africa/Libreville
- - Africa/Lome
- - Africa/Luanda
- - Africa/Lubumbashi
- - Africa/Lusaka
- - Africa/Malabo
- - Africa/Maputo
- - Africa/Maseru
- - Africa/Mbabane
- - Africa/Mogadishu
- - Africa/Monrovia
- - Africa/Nairobi
- - Africa/Ndjamena
- - Africa/Niamey
- - Africa/Nouakchott
- - Africa/Ouagadougou
- - Africa/Porto-Novo
- - Africa/Sao_Tome
- - Africa/Timbuktu
- - Africa/Tripoli
- - Africa/Tunis
- - Africa/Windhoek
- - America/Adak
- - America/Anchorage
- - America/Anguilla
- - America/Antigua
- - America/Araguaina
- - America/Argentina/Buenos_Aires
- - America/Argentina/Catamarca
- - America/Argentina/ComodRivadavia
- - America/Argentina/Cordoba
- - America/Argentina/Jujuy
- - America/Argentina/La_Rioja
- - America/Argentina/Mendoza
- - America/Argentina/Rio_Gallegos
- - America/Argentina/Salta
- - America/Argentina/San_Juan
- - America/Argentina/San_Luis
- - America/Argentina/Tucuman
- - America/Argentina/Ushuaia
- - America/Aruba
- - America/Asuncion
- - America/Atikokan
- - America/Atka
- - America/Bahia
- - America/Bahia_Banderas
- - America/Barbados
- - America/Belem
- - America/Belize
- - America/Blanc-Sablon
- - America/Boa_Vista
- - America/Bogota
- - America/Boise
- - America/Buenos_Aires
- - America/Cambridge_Bay
- - America/Campo_Grande
- - America/Cancun
- - America/Caracas
- - America/Catamarca
- - America/Cayenne
- - America/Cayman
- - America/Chicago
- - America/Chihuahua
- - America/Ciudad_Juarez
- - America/Coral_Harbour
- - America/Cordoba
- - America/Costa_Rica
- - America/Creston
- - America/Cuiaba
- - America/Curacao
- - America/Danmarkshavn
- - America/Dawson
- - America/Dawson_Creek
- - America/Denver
- - America/Detroit
- - America/Dominica
- - America/Edmonton
- - America/Eirunepe
- - America/El_Salvador
- - America/Ensenada
- - America/Fort_Nelson
- - America/Fort_Wayne
- - America/Fortaleza
- - America/Glace_Bay
- - America/Godthab
- - America/Goose_Bay
- - America/Grand_Turk
- - America/Grenada
- - America/Guadeloupe
- - America/Guatemala
- - America/Guayaquil
- - America/Guyana
- - America/Halifax
- - America/Havana
- - America/Hermosillo
- - America/Indiana/Indianapolis
- - America/Indiana/Knox
- - America/Indiana/Marengo
- - America/Indiana/Petersburg
- - America/Indiana/Tell_City
- - America/Indiana/Vevay
- - America/Indiana/Vincennes
- - America/Indiana/Winamac
- - America/Indianapolis
- - America/Inuvik
- - America/Iqaluit
- - America/Jamaica
- - America/Jujuy
- - America/Juneau
- - America/Kentucky/Louisville
- - America/Kentucky/Monticello
- - America/Knox_IN
- - America/Kralendijk
- - America/La_Paz
- - America/Lima
- - America/Los_Angeles
- - America/Louisville
- - America/Lower_Princes
- - America/Maceio
- - America/Managua
- - America/Manaus
- - America/Marigot
- - America/Martinique
- - America/Matamoros
- - America/Mazatlan
- - America/Mendoza
- - America/Menominee
- - America/Merida
- - America/Metlakatla
- - America/Mexico_City
- - America/Miquelon
- - America/Moncton
- - America/Monterrey
- - America/Montevideo
- - America/Montreal
- - America/Montserrat
- - America/Nassau
- - America/New_York
- - America/Nipigon
- - America/Nome
- - America/Noronha
- - America/North_Dakota/Beulah
- - America/North_Dakota/Center
- - America/North_Dakota/New_Salem
- - America/Nuuk
- - America/Ojinaga
- - America/Panama
- - America/Pangnirtung
- - America/Paramaribo
- - America/Phoenix
- - America/Port-au-Prince
- - America/Port_of_Spain
- - America/Porto_Acre
- - America/Porto_Velho
- - America/Puerto_Rico
- - America/Punta_Arenas
- - America/Rainy_River
- - America/Rankin_Inlet
- - America/Recife
- - America/Regina
- - America/Resolute
- - America/Rio_Branco
- - America/Rosario
- - America/Santa_Isabel
- - America/Santarem
- - America/Santiago
- - America/Santo_Domingo
- - America/Sao_Paulo
- - America/Scoresbysund
- - America/Shiprock
- - America/Sitka
- - America/St_Barthelemy
- - America/St_Johns
- - America/St_Kitts
- - America/St_Lucia
- - America/St_Thomas
- - America/St_Vincent
- - America/Swift_Current
- - America/Tegucigalpa
- - America/Thule
- - America/Thunder_Bay
- - America/Tijuana
- - America/Toronto
- - America/Tortola
- - America/Vancouver
- - America/Virgin
- - America/Whitehorse
- - America/Winnipeg
- - America/Yakutat
- - America/Yellowknife
- - Antarctica/Casey
- - Antarctica/Davis
- - Antarctica/DumontDUrville
- - Antarctica/Macquarie
- - Antarctica/Mawson
- - Antarctica/McMurdo
- - Antarctica/Palmer
- - Antarctica/Rothera
- - Antarctica/South_Pole
- - Antarctica/Syowa
- - Antarctica/Troll
- - Antarctica/Vostok
- - Arctic/Longyearbyen
- - Asia/Aden
- - Asia/Almaty
- - Asia/Amman
- - Asia/Anadyr
- - Asia/Aqtau
- - Asia/Aqtobe
- - Asia/Ashgabat
- - Asia/Ashkhabad
- - Asia/Atyrau
- - Asia/Baghdad
- - Asia/Bahrain
- - Asia/Baku
- - Asia/Bangkok
- - Asia/Barnaul
- - Asia/Beirut
- - Asia/Bishkek
- - Asia/Brunei
- - Asia/Calcutta
- - Asia/Chita
- - Asia/Choibalsan
- - Asia/Chongqing
- - Asia/Chungking
- - Asia/Colombo
- - Asia/Dacca
- - Asia/Damascus
- - Asia/Dhaka
- - Asia/Dili
- - Asia/Dubai
- - Asia/Dushanbe
- - Asia/Famagusta
- - Asia/Gaza
- - Asia/Harbin
- - Asia/Hebron
- - Asia/Ho_Chi_Minh
- - Asia/Hong_Kong
- - Asia/Hovd
- - Asia/Irkutsk
- - Asia/Istanbul
- - Asia/Jakarta
- - Asia/Jayapura
- - Asia/Jerusalem
- - Asia/Kabul
- - Asia/Kamchatka
- - Asia/Karachi
- - Asia/Kashgar
- - Asia/Kathmandu
- - Asia/Katmandu
- - Asia/Khandyga
- - Asia/Kolkata
- - Asia/Krasnoyarsk
- - Asia/Kuala_Lumpur
- - Asia/Kuching
- - Asia/Kuwait
- - Asia/Macao
- - Asia/Macau
- - Asia/Magadan
- - Asia/Makassar
- - Asia/Manila
- - Asia/Muscat
- - Asia/Nicosia
- - Asia/Novokuznetsk
- - Asia/Novosibirsk
- - Asia/Omsk
- - Asia/Oral
- - Asia/Phnom_Penh
- - Asia/Pontianak
- - Asia/Pyongyang
- - Asia/Qatar
- - Asia/Qostanay
- - Asia/Qyzylorda
- - Asia/Rangoon
- - Asia/Riyadh
- - Asia/Saigon
- - Asia/Sakhalin
- - Asia/Samarkand
- - Asia/Seoul
- - Asia/Shanghai
- - Asia/Singapore
- - Asia/Srednekolymsk
- - Asia/Taipei
- - Asia/Tashkent
- - Asia/Tbilisi
- - Asia/Tehran
- - Asia/Tel_Aviv
- - Asia/Thimbu
- - Asia/Thimphu
- - Asia/Tokyo
- - Asia/Tomsk
- - Asia/Ujung_Pandang
- - Asia/Ulaanbaatar
- - Asia/Ulan_Bator
- - Asia/Urumqi
- - Asia/Ust-Nera
- - Asia/Vientiane
- - Asia/Vladivostok
- - Asia/Yakutsk
- - Asia/Yangon
- - Asia/Yekaterinburg
- - Asia/Yerevan
- - Atlantic/Azores
- - Atlantic/Bermuda
- - Atlantic/Canary
- - Atlantic/Cape_Verde
- - Atlantic/Faeroe
- - Atlantic/Faroe
- - Atlantic/Jan_Mayen
- - Atlantic/Madeira
- - Atlantic/Reykjavik
- - Atlantic/South_Georgia
- - Atlantic/St_Helena
- - Atlantic/Stanley
- - Australia/ACT
- - Australia/Adelaide
- - Australia/Brisbane
- - Australia/Broken_Hill
- - Australia/Canberra
- - Australia/Currie
- - Australia/Darwin
- - Australia/Eucla
- - Australia/Hobart
- - Australia/LHI
- - Australia/Lindeman
- - Australia/Lord_Howe
- - Australia/Melbourne
- - Australia/NSW
- - Australia/North
- - Australia/Perth
- - Australia/Queensland
- - Australia/South
- - Australia/Sydney
- - Australia/Tasmania
- - Australia/Victoria
- - Australia/West
- - Australia/Yancowinna
- - Brazil/Acre
- - Brazil/DeNoronha
- - Brazil/East
- - Brazil/West
- - CET
- - CST6CDT
- - Canada/Atlantic
- - Canada/Central
- - Canada/Eastern
- - Canada/Mountain
- - Canada/Newfoundland
- - Canada/Pacific
- - Canada/Saskatchewan
- - Canada/Yukon
- - Chile/Continental
- - Chile/EasterIsland
- - Cuba
- - EET
- - EST
- - EST5EDT
- - Egypt
- - Eire
- - Etc/GMT
- - Etc/GMT+0
- - Etc/GMT+1
- - Etc/GMT+10
- - Etc/GMT+11
- - Etc/GMT+12
- - Etc/GMT+2
- - Etc/GMT+3
- - Etc/GMT+4
- - Etc/GMT+5
- - Etc/GMT+6
- - Etc/GMT+7
- - Etc/GMT+8
- - Etc/GMT+9
- - Etc/GMT-0
- - Etc/GMT-1
- - Etc/GMT-10
- - Etc/GMT-11
- - Etc/GMT-12
- - Etc/GMT-13
- - Etc/GMT-14
- - Etc/GMT-2
- - Etc/GMT-3
- - Etc/GMT-4
- - Etc/GMT-5
- - Etc/GMT-6
- - Etc/GMT-7
- - Etc/GMT-8
- - Etc/GMT-9
- - Etc/GMT0
- - Etc/Greenwich
- - Etc/UCT
- - Etc/UTC
- - Etc/Universal
- - Etc/Zulu
- - Europe/Amsterdam
- - Europe/Andorra
- - Europe/Astrakhan
- - Europe/Athens
- - Europe/Belfast
- - Europe/Belgrade
- - Europe/Berlin
- - Europe/Bratislava
- - Europe/Brussels
- - Europe/Bucharest
- - Europe/Budapest
- - Europe/Busingen
- - Europe/Chisinau
- - Europe/Copenhagen
- - Europe/Dublin
- - Europe/Gibraltar
- - Europe/Guernsey
- - Europe/Helsinki
- - Europe/Isle_of_Man
- - Europe/Istanbul
- - Europe/Jersey
- - Europe/Kaliningrad
- - Europe/Kiev
- - Europe/Kirov
- - Europe/Kyiv
- - Europe/Lisbon
- - Europe/Ljubljana
- - Europe/London
- - Europe/Luxembourg
- - Europe/Madrid
- - Europe/Malta
- - Europe/Mariehamn
- - Europe/Minsk
- - Europe/Monaco
- - Europe/Moscow
- - Europe/Nicosia
- - Europe/Oslo
- - Europe/Paris
- - Europe/Podgorica
- - Europe/Prague
- - Europe/Riga
- - Europe/Rome
- - Europe/Samara
- - Europe/San_Marino
- - Europe/Sarajevo
- - Europe/Saratov
- - Europe/Simferopol
- - Europe/Skopje
- - Europe/Sofia
- - Europe/Stockholm
- - Europe/Tallinn
- - Europe/Tirane
- - Europe/Tiraspol
- - Europe/Ulyanovsk
- - Europe/Uzhgorod
- - Europe/Vaduz
- - Europe/Vatican
- - Europe/Vienna
- - Europe/Vilnius
- - Europe/Volgograd
- - Europe/Warsaw
- - Europe/Zagreb
- - Europe/Zaporozhye
- - Europe/Zurich
- - GB
- - GB-Eire
- - GMT
- - GMT+0
- - GMT-0
- - GMT0
- - Greenwich
- - HST
- - Hongkong
- - Iceland
- - Indian/Antananarivo
- - Indian/Chagos
- - Indian/Christmas
- - Indian/Cocos
- - Indian/Comoro
- - Indian/Kerguelen
- - Indian/Mahe
- - Indian/Maldives
- - Indian/Mauritius
- - Indian/Mayotte
- - Indian/Reunion
- - Iran
- - Israel
- - Jamaica
- - Japan
- - Kwajalein
- - Libya
- - MET
- - MST
- - MST7MDT
- - Mexico/BajaNorte
- - Mexico/BajaSur
- - Mexico/General
- - NZ
- - NZ-CHAT
- - Navajo
- - PRC
- - PST8PDT
- - Pacific/Apia
- - Pacific/Auckland
- - Pacific/Bougainville
- - Pacific/Chatham
- - Pacific/Chuuk
- - Pacific/Easter
- - Pacific/Efate
- - Pacific/Enderbury
- - Pacific/Fakaofo
- - Pacific/Fiji
- - Pacific/Funafuti
- - Pacific/Galapagos
- - Pacific/Gambier
- - Pacific/Guadalcanal
- - Pacific/Guam
- - Pacific/Honolulu
- - Pacific/Johnston
- - Pacific/Kanton
- - Pacific/Kiritimati
- - Pacific/Kosrae
- - Pacific/Kwajalein
- - Pacific/Majuro
- - Pacific/Marquesas
- - Pacific/Midway
- - Pacific/Nauru
- - Pacific/Niue
- - Pacific/Norfolk
- - Pacific/Noumea
- - Pacific/Pago_Pago
- - Pacific/Palau
- - Pacific/Pitcairn
- - Pacific/Pohnpei
- - Pacific/Ponape
- - Pacific/Port_Moresby
- - Pacific/Rarotonga
- - Pacific/Saipan
- - Pacific/Samoa
- - Pacific/Tahiti
- - Pacific/Tarawa
- - Pacific/Tongatapu
- - Pacific/Truk
- - Pacific/Wake
- - Pacific/Wallis
- - Pacific/Yap
- - Poland
- - Portugal
- - ROC
- - ROK
- - Singapore
- - Turkey
- - UCT
- - US/Alaska
- - US/Aleutian
- - US/Arizona
- - US/Central
- - US/East-Indiana
- - US/Eastern
- - US/Hawaii
- - US/Indiana-Starke
- - US/Michigan
- - US/Mountain
- - US/Pacific
- - US/Samoa
- - UTC
- - Universal
- - W-SU
- - WET
- - Zulu
- - localtime
- description: |+
- Time zone
-
- explode: true
- style: form
- - in: query
- name: time_zone__nic
- schema:
- type: array
- items:
- type: string
- enum:
- - Africa/Abidjan
- - Africa/Accra
- - Africa/Addis_Ababa
- - Africa/Algiers
- - Africa/Asmara
- - Africa/Asmera
- - Africa/Bamako
- - Africa/Bangui
- - Africa/Banjul
- - Africa/Bissau
- - Africa/Blantyre
- - Africa/Brazzaville
- - Africa/Bujumbura
- - Africa/Cairo
- - Africa/Casablanca
- - Africa/Ceuta
- - Africa/Conakry
- - Africa/Dakar
- - Africa/Dar_es_Salaam
- - Africa/Djibouti
- - Africa/Douala
- - Africa/El_Aaiun
- - Africa/Freetown
- - Africa/Gaborone
- - Africa/Harare
- - Africa/Johannesburg
- - Africa/Juba
- - Africa/Kampala
- - Africa/Khartoum
- - Africa/Kigali
- - Africa/Kinshasa
- - Africa/Lagos
- - Africa/Libreville
- - Africa/Lome
- - Africa/Luanda
- - Africa/Lubumbashi
- - Africa/Lusaka
- - Africa/Malabo
- - Africa/Maputo
- - Africa/Maseru
- - Africa/Mbabane
- - Africa/Mogadishu
- - Africa/Monrovia
- - Africa/Nairobi
- - Africa/Ndjamena
- - Africa/Niamey
- - Africa/Nouakchott
- - Africa/Ouagadougou
- - Africa/Porto-Novo
- - Africa/Sao_Tome
- - Africa/Timbuktu
- - Africa/Tripoli
- - Africa/Tunis
- - Africa/Windhoek
- - America/Adak
- - America/Anchorage
- - America/Anguilla
- - America/Antigua
- - America/Araguaina
- - America/Argentina/Buenos_Aires
- - America/Argentina/Catamarca
- - America/Argentina/ComodRivadavia
- - America/Argentina/Cordoba
- - America/Argentina/Jujuy
- - America/Argentina/La_Rioja
- - America/Argentina/Mendoza
- - America/Argentina/Rio_Gallegos
- - America/Argentina/Salta
- - America/Argentina/San_Juan
- - America/Argentina/San_Luis
- - America/Argentina/Tucuman
- - America/Argentina/Ushuaia
- - America/Aruba
- - America/Asuncion
- - America/Atikokan
- - America/Atka
- - America/Bahia
- - America/Bahia_Banderas
- - America/Barbados
- - America/Belem
- - America/Belize
- - America/Blanc-Sablon
- - America/Boa_Vista
- - America/Bogota
- - America/Boise
- - America/Buenos_Aires
- - America/Cambridge_Bay
- - America/Campo_Grande
- - America/Cancun
- - America/Caracas
- - America/Catamarca
- - America/Cayenne
- - America/Cayman
- - America/Chicago
- - America/Chihuahua
- - America/Ciudad_Juarez
- - America/Coral_Harbour
- - America/Cordoba
- - America/Costa_Rica
- - America/Creston
- - America/Cuiaba
- - America/Curacao
- - America/Danmarkshavn
- - America/Dawson
- - America/Dawson_Creek
- - America/Denver
- - America/Detroit
- - America/Dominica
- - America/Edmonton
- - America/Eirunepe
- - America/El_Salvador
- - America/Ensenada
- - America/Fort_Nelson
- - America/Fort_Wayne
- - America/Fortaleza
- - America/Glace_Bay
- - America/Godthab
- - America/Goose_Bay
- - America/Grand_Turk
- - America/Grenada
- - America/Guadeloupe
- - America/Guatemala
- - America/Guayaquil
- - America/Guyana
- - America/Halifax
- - America/Havana
- - America/Hermosillo
- - America/Indiana/Indianapolis
- - America/Indiana/Knox
- - America/Indiana/Marengo
- - America/Indiana/Petersburg
- - America/Indiana/Tell_City
- - America/Indiana/Vevay
- - America/Indiana/Vincennes
- - America/Indiana/Winamac
- - America/Indianapolis
- - America/Inuvik
- - America/Iqaluit
- - America/Jamaica
- - America/Jujuy
- - America/Juneau
- - America/Kentucky/Louisville
- - America/Kentucky/Monticello
- - America/Knox_IN
- - America/Kralendijk
- - America/La_Paz
- - America/Lima
- - America/Los_Angeles
- - America/Louisville
- - America/Lower_Princes
- - America/Maceio
- - America/Managua
- - America/Manaus
- - America/Marigot
- - America/Martinique
- - America/Matamoros
- - America/Mazatlan
- - America/Mendoza
- - America/Menominee
- - America/Merida
- - America/Metlakatla
- - America/Mexico_City
- - America/Miquelon
- - America/Moncton
- - America/Monterrey
- - America/Montevideo
- - America/Montreal
- - America/Montserrat
- - America/Nassau
- - America/New_York
- - America/Nipigon
- - America/Nome
- - America/Noronha
- - America/North_Dakota/Beulah
- - America/North_Dakota/Center
- - America/North_Dakota/New_Salem
- - America/Nuuk
- - America/Ojinaga
- - America/Panama
- - America/Pangnirtung
- - America/Paramaribo
- - America/Phoenix
- - America/Port-au-Prince
- - America/Port_of_Spain
- - America/Porto_Acre
- - America/Porto_Velho
- - America/Puerto_Rico
- - America/Punta_Arenas
- - America/Rainy_River
- - America/Rankin_Inlet
- - America/Recife
- - America/Regina
- - America/Resolute
- - America/Rio_Branco
- - America/Rosario
- - America/Santa_Isabel
- - America/Santarem
- - America/Santiago
- - America/Santo_Domingo
- - America/Sao_Paulo
- - America/Scoresbysund
- - America/Shiprock
- - America/Sitka
- - America/St_Barthelemy
- - America/St_Johns
- - America/St_Kitts
- - America/St_Lucia
- - America/St_Thomas
- - America/St_Vincent
- - America/Swift_Current
- - America/Tegucigalpa
- - America/Thule
- - America/Thunder_Bay
- - America/Tijuana
- - America/Toronto
- - America/Tortola
- - America/Vancouver
- - America/Virgin
- - America/Whitehorse
- - America/Winnipeg
- - America/Yakutat
- - America/Yellowknife
- - Antarctica/Casey
- - Antarctica/Davis
- - Antarctica/DumontDUrville
- - Antarctica/Macquarie
- - Antarctica/Mawson
- - Antarctica/McMurdo
- - Antarctica/Palmer
- - Antarctica/Rothera
- - Antarctica/South_Pole
- - Antarctica/Syowa
- - Antarctica/Troll
- - Antarctica/Vostok
- - Arctic/Longyearbyen
- - Asia/Aden
- - Asia/Almaty
- - Asia/Amman
- - Asia/Anadyr
- - Asia/Aqtau
- - Asia/Aqtobe
- - Asia/Ashgabat
- - Asia/Ashkhabad
- - Asia/Atyrau
- - Asia/Baghdad
- - Asia/Bahrain
- - Asia/Baku
- - Asia/Bangkok
- - Asia/Barnaul
- - Asia/Beirut
- - Asia/Bishkek
- - Asia/Brunei
- - Asia/Calcutta
- - Asia/Chita
- - Asia/Choibalsan
- - Asia/Chongqing
- - Asia/Chungking
- - Asia/Colombo
- - Asia/Dacca
- - Asia/Damascus
- - Asia/Dhaka
- - Asia/Dili
- - Asia/Dubai
- - Asia/Dushanbe
- - Asia/Famagusta
- - Asia/Gaza
- - Asia/Harbin
- - Asia/Hebron
- - Asia/Ho_Chi_Minh
- - Asia/Hong_Kong
- - Asia/Hovd
- - Asia/Irkutsk
- - Asia/Istanbul
- - Asia/Jakarta
- - Asia/Jayapura
- - Asia/Jerusalem
- - Asia/Kabul
- - Asia/Kamchatka
- - Asia/Karachi
- - Asia/Kashgar
- - Asia/Kathmandu
- - Asia/Katmandu
- - Asia/Khandyga
- - Asia/Kolkata
- - Asia/Krasnoyarsk
- - Asia/Kuala_Lumpur
- - Asia/Kuching
- - Asia/Kuwait
- - Asia/Macao
- - Asia/Macau
- - Asia/Magadan
- - Asia/Makassar
- - Asia/Manila
- - Asia/Muscat
- - Asia/Nicosia
- - Asia/Novokuznetsk
- - Asia/Novosibirsk
- - Asia/Omsk
- - Asia/Oral
- - Asia/Phnom_Penh
- - Asia/Pontianak
- - Asia/Pyongyang
- - Asia/Qatar
- - Asia/Qostanay
- - Asia/Qyzylorda
- - Asia/Rangoon
- - Asia/Riyadh
- - Asia/Saigon
- - Asia/Sakhalin
- - Asia/Samarkand
- - Asia/Seoul
- - Asia/Shanghai
- - Asia/Singapore
- - Asia/Srednekolymsk
- - Asia/Taipei
- - Asia/Tashkent
- - Asia/Tbilisi
- - Asia/Tehran
- - Asia/Tel_Aviv
- - Asia/Thimbu
- - Asia/Thimphu
- - Asia/Tokyo
- - Asia/Tomsk
- - Asia/Ujung_Pandang
- - Asia/Ulaanbaatar
- - Asia/Ulan_Bator
- - Asia/Urumqi
- - Asia/Ust-Nera
- - Asia/Vientiane
- - Asia/Vladivostok
- - Asia/Yakutsk
- - Asia/Yangon
- - Asia/Yekaterinburg
- - Asia/Yerevan
- - Atlantic/Azores
- - Atlantic/Bermuda
- - Atlantic/Canary
- - Atlantic/Cape_Verde
- - Atlantic/Faeroe
- - Atlantic/Faroe
- - Atlantic/Jan_Mayen
- - Atlantic/Madeira
- - Atlantic/Reykjavik
- - Atlantic/South_Georgia
- - Atlantic/St_Helena
- - Atlantic/Stanley
- - Australia/ACT
- - Australia/Adelaide
- - Australia/Brisbane
- - Australia/Broken_Hill
- - Australia/Canberra
- - Australia/Currie
- - Australia/Darwin
- - Australia/Eucla
- - Australia/Hobart
- - Australia/LHI
- - Australia/Lindeman
- - Australia/Lord_Howe
- - Australia/Melbourne
- - Australia/NSW
- - Australia/North
- - Australia/Perth
- - Australia/Queensland
- - Australia/South
- - Australia/Sydney
- - Australia/Tasmania
- - Australia/Victoria
- - Australia/West
- - Australia/Yancowinna
- - Brazil/Acre
- - Brazil/DeNoronha
- - Brazil/East
- - Brazil/West
- - CET
- - CST6CDT
- - Canada/Atlantic
- - Canada/Central
- - Canada/Eastern
- - Canada/Mountain
- - Canada/Newfoundland
- - Canada/Pacific
- - Canada/Saskatchewan
- - Canada/Yukon
- - Chile/Continental
- - Chile/EasterIsland
- - Cuba
- - EET
- - EST
- - EST5EDT
- - Egypt
- - Eire
- - Etc/GMT
- - Etc/GMT+0
- - Etc/GMT+1
- - Etc/GMT+10
- - Etc/GMT+11
- - Etc/GMT+12
- - Etc/GMT+2
- - Etc/GMT+3
- - Etc/GMT+4
- - Etc/GMT+5
- - Etc/GMT+6
- - Etc/GMT+7
- - Etc/GMT+8
- - Etc/GMT+9
- - Etc/GMT-0
- - Etc/GMT-1
- - Etc/GMT-10
- - Etc/GMT-11
- - Etc/GMT-12
- - Etc/GMT-13
- - Etc/GMT-14
- - Etc/GMT-2
- - Etc/GMT-3
- - Etc/GMT-4
- - Etc/GMT-5
- - Etc/GMT-6
- - Etc/GMT-7
- - Etc/GMT-8
- - Etc/GMT-9
- - Etc/GMT0
- - Etc/Greenwich
- - Etc/UCT
- - Etc/UTC
- - Etc/Universal
- - Etc/Zulu
- - Europe/Amsterdam
- - Europe/Andorra
- - Europe/Astrakhan
- - Europe/Athens
- - Europe/Belfast
- - Europe/Belgrade
- - Europe/Berlin
- - Europe/Bratislava
- - Europe/Brussels
- - Europe/Bucharest
- - Europe/Budapest
- - Europe/Busingen
- - Europe/Chisinau
- - Europe/Copenhagen
- - Europe/Dublin
- - Europe/Gibraltar
- - Europe/Guernsey
- - Europe/Helsinki
- - Europe/Isle_of_Man
- - Europe/Istanbul
- - Europe/Jersey
- - Europe/Kaliningrad
- - Europe/Kiev
- - Europe/Kirov
- - Europe/Kyiv
- - Europe/Lisbon
- - Europe/Ljubljana
- - Europe/London
- - Europe/Luxembourg
- - Europe/Madrid
- - Europe/Malta
- - Europe/Mariehamn
- - Europe/Minsk
- - Europe/Monaco
- - Europe/Moscow
- - Europe/Nicosia
- - Europe/Oslo
- - Europe/Paris
- - Europe/Podgorica
- - Europe/Prague
- - Europe/Riga
- - Europe/Rome
- - Europe/Samara
- - Europe/San_Marino
- - Europe/Sarajevo
- - Europe/Saratov
- - Europe/Simferopol
- - Europe/Skopje
- - Europe/Sofia
- - Europe/Stockholm
- - Europe/Tallinn
- - Europe/Tirane
- - Europe/Tiraspol
- - Europe/Ulyanovsk
- - Europe/Uzhgorod
- - Europe/Vaduz
- - Europe/Vatican
- - Europe/Vienna
- - Europe/Vilnius
- - Europe/Volgograd
- - Europe/Warsaw
- - Europe/Zagreb
- - Europe/Zaporozhye
- - Europe/Zurich
- - GB
- - GB-Eire
- - GMT
- - GMT+0
- - GMT-0
- - GMT0
- - Greenwich
- - HST
- - Hongkong
- - Iceland
- - Indian/Antananarivo
- - Indian/Chagos
- - Indian/Christmas
- - Indian/Cocos
- - Indian/Comoro
- - Indian/Kerguelen
- - Indian/Mahe
- - Indian/Maldives
- - Indian/Mauritius
- - Indian/Mayotte
- - Indian/Reunion
- - Iran
- - Israel
- - Jamaica
- - Japan
- - Kwajalein
- - Libya
- - MET
- - MST
- - MST7MDT
- - Mexico/BajaNorte
- - Mexico/BajaSur
- - Mexico/General
- - NZ
- - NZ-CHAT
- - Navajo
- - PRC
- - PST8PDT
- - Pacific/Apia
- - Pacific/Auckland
- - Pacific/Bougainville
- - Pacific/Chatham
- - Pacific/Chuuk
- - Pacific/Easter
- - Pacific/Efate
- - Pacific/Enderbury
- - Pacific/Fakaofo
- - Pacific/Fiji
- - Pacific/Funafuti
- - Pacific/Galapagos
- - Pacific/Gambier
- - Pacific/Guadalcanal
- - Pacific/Guam
- - Pacific/Honolulu
- - Pacific/Johnston
- - Pacific/Kanton
- - Pacific/Kiritimati
- - Pacific/Kosrae
- - Pacific/Kwajalein
- - Pacific/Majuro
- - Pacific/Marquesas
- - Pacific/Midway
- - Pacific/Nauru
- - Pacific/Niue
- - Pacific/Norfolk
- - Pacific/Noumea
- - Pacific/Pago_Pago
- - Pacific/Palau
- - Pacific/Pitcairn
- - Pacific/Pohnpei
- - Pacific/Ponape
- - Pacific/Port_Moresby
- - Pacific/Rarotonga
- - Pacific/Saipan
- - Pacific/Samoa
- - Pacific/Tahiti
- - Pacific/Tarawa
- - Pacific/Tongatapu
- - Pacific/Truk
- - Pacific/Wake
- - Pacific/Wallis
- - Pacific/Yap
- - Poland
- - Portugal
- - ROC
- - ROK
- - Singapore
- - Turkey
- - UCT
- - US/Alaska
- - US/Aleutian
- - US/Arizona
- - US/Central
- - US/East-Indiana
- - US/Eastern
- - US/Hawaii
- - US/Indiana-Starke
- - US/Michigan
- - US/Mountain
- - US/Pacific
- - US/Samoa
- - UTC
- - Universal
- - W-SU
- - WET
- - Zulu
- - localtime
- description: |+
- Time zone
-
- explode: true
- style: form
- - in: query
- name: time_zone__nie
- schema:
- type: array
- items:
- type: string
- enum:
- - Africa/Abidjan
- - Africa/Accra
- - Africa/Addis_Ababa
- - Africa/Algiers
- - Africa/Asmara
- - Africa/Asmera
- - Africa/Bamako
- - Africa/Bangui
- - Africa/Banjul
- - Africa/Bissau
- - Africa/Blantyre
- - Africa/Brazzaville
- - Africa/Bujumbura
- - Africa/Cairo
- - Africa/Casablanca
- - Africa/Ceuta
- - Africa/Conakry
- - Africa/Dakar
- - Africa/Dar_es_Salaam
- - Africa/Djibouti
- - Africa/Douala
- - Africa/El_Aaiun
- - Africa/Freetown
- - Africa/Gaborone
- - Africa/Harare
- - Africa/Johannesburg
- - Africa/Juba
- - Africa/Kampala
- - Africa/Khartoum
- - Africa/Kigali
- - Africa/Kinshasa
- - Africa/Lagos
- - Africa/Libreville
- - Africa/Lome
- - Africa/Luanda
- - Africa/Lubumbashi
- - Africa/Lusaka
- - Africa/Malabo
- - Africa/Maputo
- - Africa/Maseru
- - Africa/Mbabane
- - Africa/Mogadishu
- - Africa/Monrovia
- - Africa/Nairobi
- - Africa/Ndjamena
- - Africa/Niamey
- - Africa/Nouakchott
- - Africa/Ouagadougou
- - Africa/Porto-Novo
- - Africa/Sao_Tome
- - Africa/Timbuktu
- - Africa/Tripoli
- - Africa/Tunis
- - Africa/Windhoek
- - America/Adak
- - America/Anchorage
- - America/Anguilla
- - America/Antigua
- - America/Araguaina
- - America/Argentina/Buenos_Aires
- - America/Argentina/Catamarca
- - America/Argentina/ComodRivadavia
- - America/Argentina/Cordoba
- - America/Argentina/Jujuy
- - America/Argentina/La_Rioja
- - America/Argentina/Mendoza
- - America/Argentina/Rio_Gallegos
- - America/Argentina/Salta
- - America/Argentina/San_Juan
- - America/Argentina/San_Luis
- - America/Argentina/Tucuman
- - America/Argentina/Ushuaia
- - America/Aruba
- - America/Asuncion
- - America/Atikokan
- - America/Atka
- - America/Bahia
- - America/Bahia_Banderas
- - America/Barbados
- - America/Belem
- - America/Belize
- - America/Blanc-Sablon
- - America/Boa_Vista
- - America/Bogota
- - America/Boise
- - America/Buenos_Aires
- - America/Cambridge_Bay
- - America/Campo_Grande
- - America/Cancun
- - America/Caracas
- - America/Catamarca
- - America/Cayenne
- - America/Cayman
- - America/Chicago
- - America/Chihuahua
- - America/Ciudad_Juarez
- - America/Coral_Harbour
- - America/Cordoba
- - America/Costa_Rica
- - America/Creston
- - America/Cuiaba
- - America/Curacao
- - America/Danmarkshavn
- - America/Dawson
- - America/Dawson_Creek
- - America/Denver
- - America/Detroit
- - America/Dominica
- - America/Edmonton
- - America/Eirunepe
- - America/El_Salvador
- - America/Ensenada
- - America/Fort_Nelson
- - America/Fort_Wayne
- - America/Fortaleza
- - America/Glace_Bay
- - America/Godthab
- - America/Goose_Bay
- - America/Grand_Turk
- - America/Grenada
- - America/Guadeloupe
- - America/Guatemala
- - America/Guayaquil
- - America/Guyana
- - America/Halifax
- - America/Havana
- - America/Hermosillo
- - America/Indiana/Indianapolis
- - America/Indiana/Knox
- - America/Indiana/Marengo
- - America/Indiana/Petersburg
- - America/Indiana/Tell_City
- - America/Indiana/Vevay
- - America/Indiana/Vincennes
- - America/Indiana/Winamac
- - America/Indianapolis
- - America/Inuvik
- - America/Iqaluit
- - America/Jamaica
- - America/Jujuy
- - America/Juneau
- - America/Kentucky/Louisville
- - America/Kentucky/Monticello
- - America/Knox_IN
- - America/Kralendijk
- - America/La_Paz
- - America/Lima
- - America/Los_Angeles
- - America/Louisville
- - America/Lower_Princes
- - America/Maceio
- - America/Managua
- - America/Manaus
- - America/Marigot
- - America/Martinique
- - America/Matamoros
- - America/Mazatlan
- - America/Mendoza
- - America/Menominee
- - America/Merida
- - America/Metlakatla
- - America/Mexico_City
- - America/Miquelon
- - America/Moncton
- - America/Monterrey
- - America/Montevideo
- - America/Montreal
- - America/Montserrat
- - America/Nassau
- - America/New_York
- - America/Nipigon
- - America/Nome
- - America/Noronha
- - America/North_Dakota/Beulah
- - America/North_Dakota/Center
- - America/North_Dakota/New_Salem
- - America/Nuuk
- - America/Ojinaga
- - America/Panama
- - America/Pangnirtung
- - America/Paramaribo
- - America/Phoenix
- - America/Port-au-Prince
- - America/Port_of_Spain
- - America/Porto_Acre
- - America/Porto_Velho
- - America/Puerto_Rico
- - America/Punta_Arenas
- - America/Rainy_River
- - America/Rankin_Inlet
- - America/Recife
- - America/Regina
- - America/Resolute
- - America/Rio_Branco
- - America/Rosario
- - America/Santa_Isabel
- - America/Santarem
- - America/Santiago
- - America/Santo_Domingo
- - America/Sao_Paulo
- - America/Scoresbysund
- - America/Shiprock
- - America/Sitka
- - America/St_Barthelemy
- - America/St_Johns
- - America/St_Kitts
- - America/St_Lucia
- - America/St_Thomas
- - America/St_Vincent
- - America/Swift_Current
- - America/Tegucigalpa
- - America/Thule
- - America/Thunder_Bay
- - America/Tijuana
- - America/Toronto
- - America/Tortola
- - America/Vancouver
- - America/Virgin
- - America/Whitehorse
- - America/Winnipeg
- - America/Yakutat
- - America/Yellowknife
- - Antarctica/Casey
- - Antarctica/Davis
- - Antarctica/DumontDUrville
- - Antarctica/Macquarie
- - Antarctica/Mawson
- - Antarctica/McMurdo
- - Antarctica/Palmer
- - Antarctica/Rothera
- - Antarctica/South_Pole
- - Antarctica/Syowa
- - Antarctica/Troll
- - Antarctica/Vostok
- - Arctic/Longyearbyen
- - Asia/Aden
- - Asia/Almaty
- - Asia/Amman
- - Asia/Anadyr
- - Asia/Aqtau
- - Asia/Aqtobe
- - Asia/Ashgabat
- - Asia/Ashkhabad
- - Asia/Atyrau
- - Asia/Baghdad
- - Asia/Bahrain
- - Asia/Baku
- - Asia/Bangkok
- - Asia/Barnaul
- - Asia/Beirut
- - Asia/Bishkek
- - Asia/Brunei
- - Asia/Calcutta
- - Asia/Chita
- - Asia/Choibalsan
- - Asia/Chongqing
- - Asia/Chungking
- - Asia/Colombo
- - Asia/Dacca
- - Asia/Damascus
- - Asia/Dhaka
- - Asia/Dili
- - Asia/Dubai
- - Asia/Dushanbe
- - Asia/Famagusta
- - Asia/Gaza
- - Asia/Harbin
- - Asia/Hebron
- - Asia/Ho_Chi_Minh
- - Asia/Hong_Kong
- - Asia/Hovd
- - Asia/Irkutsk
- - Asia/Istanbul
- - Asia/Jakarta
- - Asia/Jayapura
- - Asia/Jerusalem
- - Asia/Kabul
- - Asia/Kamchatka
- - Asia/Karachi
- - Asia/Kashgar
- - Asia/Kathmandu
- - Asia/Katmandu
- - Asia/Khandyga
- - Asia/Kolkata
- - Asia/Krasnoyarsk
- - Asia/Kuala_Lumpur
- - Asia/Kuching
- - Asia/Kuwait
- - Asia/Macao
- - Asia/Macau
- - Asia/Magadan
- - Asia/Makassar
- - Asia/Manila
- - Asia/Muscat
- - Asia/Nicosia
- - Asia/Novokuznetsk
- - Asia/Novosibirsk
- - Asia/Omsk
- - Asia/Oral
- - Asia/Phnom_Penh
- - Asia/Pontianak
- - Asia/Pyongyang
- - Asia/Qatar
- - Asia/Qostanay
- - Asia/Qyzylorda
- - Asia/Rangoon
- - Asia/Riyadh
- - Asia/Saigon
- - Asia/Sakhalin
- - Asia/Samarkand
- - Asia/Seoul
- - Asia/Shanghai
- - Asia/Singapore
- - Asia/Srednekolymsk
- - Asia/Taipei
- - Asia/Tashkent
- - Asia/Tbilisi
- - Asia/Tehran
- - Asia/Tel_Aviv
- - Asia/Thimbu
- - Asia/Thimphu
- - Asia/Tokyo
- - Asia/Tomsk
- - Asia/Ujung_Pandang
- - Asia/Ulaanbaatar
- - Asia/Ulan_Bator
- - Asia/Urumqi
- - Asia/Ust-Nera
- - Asia/Vientiane
- - Asia/Vladivostok
- - Asia/Yakutsk
- - Asia/Yangon
- - Asia/Yekaterinburg
- - Asia/Yerevan
- - Atlantic/Azores
- - Atlantic/Bermuda
- - Atlantic/Canary
- - Atlantic/Cape_Verde
- - Atlantic/Faeroe
- - Atlantic/Faroe
- - Atlantic/Jan_Mayen
- - Atlantic/Madeira
- - Atlantic/Reykjavik
- - Atlantic/South_Georgia
- - Atlantic/St_Helena
- - Atlantic/Stanley
- - Australia/ACT
- - Australia/Adelaide
- - Australia/Brisbane
- - Australia/Broken_Hill
- - Australia/Canberra
- - Australia/Currie
- - Australia/Darwin
- - Australia/Eucla
- - Australia/Hobart
- - Australia/LHI
- - Australia/Lindeman
- - Australia/Lord_Howe
- - Australia/Melbourne
- - Australia/NSW
- - Australia/North
- - Australia/Perth
- - Australia/Queensland
- - Australia/South
- - Australia/Sydney
- - Australia/Tasmania
- - Australia/Victoria
- - Australia/West
- - Australia/Yancowinna
- - Brazil/Acre
- - Brazil/DeNoronha
- - Brazil/East
- - Brazil/West
- - CET
- - CST6CDT
- - Canada/Atlantic
- - Canada/Central
- - Canada/Eastern
- - Canada/Mountain
- - Canada/Newfoundland
- - Canada/Pacific
- - Canada/Saskatchewan
- - Canada/Yukon
- - Chile/Continental
- - Chile/EasterIsland
- - Cuba
- - EET
- - EST
- - EST5EDT
- - Egypt
- - Eire
- - Etc/GMT
- - Etc/GMT+0
- - Etc/GMT+1
- - Etc/GMT+10
- - Etc/GMT+11
- - Etc/GMT+12
- - Etc/GMT+2
- - Etc/GMT+3
- - Etc/GMT+4
- - Etc/GMT+5
- - Etc/GMT+6
- - Etc/GMT+7
- - Etc/GMT+8
- - Etc/GMT+9
- - Etc/GMT-0
- - Etc/GMT-1
- - Etc/GMT-10
- - Etc/GMT-11
- - Etc/GMT-12
- - Etc/GMT-13
- - Etc/GMT-14
- - Etc/GMT-2
- - Etc/GMT-3
- - Etc/GMT-4
- - Etc/GMT-5
- - Etc/GMT-6
- - Etc/GMT-7
- - Etc/GMT-8
- - Etc/GMT-9
- - Etc/GMT0
- - Etc/Greenwich
- - Etc/UCT
- - Etc/UTC
- - Etc/Universal
- - Etc/Zulu
- - Europe/Amsterdam
- - Europe/Andorra
- - Europe/Astrakhan
- - Europe/Athens
- - Europe/Belfast
- - Europe/Belgrade
- - Europe/Berlin
- - Europe/Bratislava
- - Europe/Brussels
- - Europe/Bucharest
- - Europe/Budapest
- - Europe/Busingen
- - Europe/Chisinau
- - Europe/Copenhagen
- - Europe/Dublin
- - Europe/Gibraltar
- - Europe/Guernsey
- - Europe/Helsinki
- - Europe/Isle_of_Man
- - Europe/Istanbul
- - Europe/Jersey
- - Europe/Kaliningrad
- - Europe/Kiev
- - Europe/Kirov
- - Europe/Kyiv
- - Europe/Lisbon
- - Europe/Ljubljana
- - Europe/London
- - Europe/Luxembourg
- - Europe/Madrid
- - Europe/Malta
- - Europe/Mariehamn
- - Europe/Minsk
- - Europe/Monaco
- - Europe/Moscow
- - Europe/Nicosia
- - Europe/Oslo
- - Europe/Paris
- - Europe/Podgorica
- - Europe/Prague
- - Europe/Riga
- - Europe/Rome
- - Europe/Samara
- - Europe/San_Marino
- - Europe/Sarajevo
- - Europe/Saratov
- - Europe/Simferopol
- - Europe/Skopje
- - Europe/Sofia
- - Europe/Stockholm
- - Europe/Tallinn
- - Europe/Tirane
- - Europe/Tiraspol
- - Europe/Ulyanovsk
- - Europe/Uzhgorod
- - Europe/Vaduz
- - Europe/Vatican
- - Europe/Vienna
- - Europe/Vilnius
- - Europe/Volgograd
- - Europe/Warsaw
- - Europe/Zagreb
- - Europe/Zaporozhye
- - Europe/Zurich
- - GB
- - GB-Eire
- - GMT
- - GMT+0
- - GMT-0
- - GMT0
- - Greenwich
- - HST
- - Hongkong
- - Iceland
- - Indian/Antananarivo
- - Indian/Chagos
- - Indian/Christmas
- - Indian/Cocos
- - Indian/Comoro
- - Indian/Kerguelen
- - Indian/Mahe
- - Indian/Maldives
- - Indian/Mauritius
- - Indian/Mayotte
- - Indian/Reunion
- - Iran
- - Israel
- - Jamaica
- - Japan
- - Kwajalein
- - Libya
- - MET
- - MST
- - MST7MDT
- - Mexico/BajaNorte
- - Mexico/BajaSur
- - Mexico/General
- - NZ
- - NZ-CHAT
- - Navajo
- - PRC
- - PST8PDT
- - Pacific/Apia
- - Pacific/Auckland
- - Pacific/Bougainville
- - Pacific/Chatham
- - Pacific/Chuuk
- - Pacific/Easter
- - Pacific/Efate
- - Pacific/Enderbury
- - Pacific/Fakaofo
- - Pacific/Fiji
- - Pacific/Funafuti
- - Pacific/Galapagos
- - Pacific/Gambier
- - Pacific/Guadalcanal
- - Pacific/Guam
- - Pacific/Honolulu
- - Pacific/Johnston
- - Pacific/Kanton
- - Pacific/Kiritimati
- - Pacific/Kosrae
- - Pacific/Kwajalein
- - Pacific/Majuro
- - Pacific/Marquesas
- - Pacific/Midway
- - Pacific/Nauru
- - Pacific/Niue
- - Pacific/Norfolk
- - Pacific/Noumea
- - Pacific/Pago_Pago
- - Pacific/Palau
- - Pacific/Pitcairn
- - Pacific/Pohnpei
- - Pacific/Ponape
- - Pacific/Port_Moresby
- - Pacific/Rarotonga
- - Pacific/Saipan
- - Pacific/Samoa
- - Pacific/Tahiti
- - Pacific/Tarawa
- - Pacific/Tongatapu
- - Pacific/Truk
- - Pacific/Wake
- - Pacific/Wallis
- - Pacific/Yap
- - Poland
- - Portugal
- - ROC
- - ROK
- - Singapore
- - Turkey
- - UCT
- - US/Alaska
- - US/Aleutian
- - US/Arizona
- - US/Central
- - US/East-Indiana
- - US/Eastern
- - US/Hawaii
- - US/Indiana-Starke
- - US/Michigan
- - US/Mountain
- - US/Pacific
- - US/Samoa
- - UTC
- - Universal
- - W-SU
- - WET
- - Zulu
- - localtime
- description: |+
- Time zone
-
- explode: true
- style: form
- - in: query
- name: time_zone__niew
- schema:
- type: array
- items:
- type: string
- enum:
- - Africa/Abidjan
- - Africa/Accra
- - Africa/Addis_Ababa
- - Africa/Algiers
- - Africa/Asmara
- - Africa/Asmera
- - Africa/Bamako
- - Africa/Bangui
- - Africa/Banjul
- - Africa/Bissau
- - Africa/Blantyre
- - Africa/Brazzaville
- - Africa/Bujumbura
- - Africa/Cairo
- - Africa/Casablanca
- - Africa/Ceuta
- - Africa/Conakry
- - Africa/Dakar
- - Africa/Dar_es_Salaam
- - Africa/Djibouti
- - Africa/Douala
- - Africa/El_Aaiun
- - Africa/Freetown
- - Africa/Gaborone
- - Africa/Harare
- - Africa/Johannesburg
- - Africa/Juba
- - Africa/Kampala
- - Africa/Khartoum
- - Africa/Kigali
- - Africa/Kinshasa
- - Africa/Lagos
- - Africa/Libreville
- - Africa/Lome
- - Africa/Luanda
- - Africa/Lubumbashi
- - Africa/Lusaka
- - Africa/Malabo
- - Africa/Maputo
- - Africa/Maseru
- - Africa/Mbabane
- - Africa/Mogadishu
- - Africa/Monrovia
- - Africa/Nairobi
- - Africa/Ndjamena
- - Africa/Niamey
- - Africa/Nouakchott
- - Africa/Ouagadougou
- - Africa/Porto-Novo
- - Africa/Sao_Tome
- - Africa/Timbuktu
- - Africa/Tripoli
- - Africa/Tunis
- - Africa/Windhoek
- - America/Adak
- - America/Anchorage
- - America/Anguilla
- - America/Antigua
- - America/Araguaina
- - America/Argentina/Buenos_Aires
- - America/Argentina/Catamarca
- - America/Argentina/ComodRivadavia
- - America/Argentina/Cordoba
- - America/Argentina/Jujuy
- - America/Argentina/La_Rioja
- - America/Argentina/Mendoza
- - America/Argentina/Rio_Gallegos
- - America/Argentina/Salta
- - America/Argentina/San_Juan
- - America/Argentina/San_Luis
- - America/Argentina/Tucuman
- - America/Argentina/Ushuaia
- - America/Aruba
- - America/Asuncion
- - America/Atikokan
- - America/Atka
- - America/Bahia
- - America/Bahia_Banderas
- - America/Barbados
- - America/Belem
- - America/Belize
- - America/Blanc-Sablon
- - America/Boa_Vista
- - America/Bogota
- - America/Boise
- - America/Buenos_Aires
- - America/Cambridge_Bay
- - America/Campo_Grande
- - America/Cancun
- - America/Caracas
- - America/Catamarca
- - America/Cayenne
- - America/Cayman
- - America/Chicago
- - America/Chihuahua
- - America/Ciudad_Juarez
- - America/Coral_Harbour
- - America/Cordoba
- - America/Costa_Rica
- - America/Creston
- - America/Cuiaba
- - America/Curacao
- - America/Danmarkshavn
- - America/Dawson
- - America/Dawson_Creek
- - America/Denver
- - America/Detroit
- - America/Dominica
- - America/Edmonton
- - America/Eirunepe
- - America/El_Salvador
- - America/Ensenada
- - America/Fort_Nelson
- - America/Fort_Wayne
- - America/Fortaleza
- - America/Glace_Bay
- - America/Godthab
- - America/Goose_Bay
- - America/Grand_Turk
- - America/Grenada
- - America/Guadeloupe
- - America/Guatemala
- - America/Guayaquil
- - America/Guyana
- - America/Halifax
- - America/Havana
- - America/Hermosillo
- - America/Indiana/Indianapolis
- - America/Indiana/Knox
- - America/Indiana/Marengo
- - America/Indiana/Petersburg
- - America/Indiana/Tell_City
- - America/Indiana/Vevay
- - America/Indiana/Vincennes
- - America/Indiana/Winamac
- - America/Indianapolis
- - America/Inuvik
- - America/Iqaluit
- - America/Jamaica
- - America/Jujuy
- - America/Juneau
- - America/Kentucky/Louisville
- - America/Kentucky/Monticello
- - America/Knox_IN
- - America/Kralendijk
- - America/La_Paz
- - America/Lima
- - America/Los_Angeles
- - America/Louisville
- - America/Lower_Princes
- - America/Maceio
- - America/Managua
- - America/Manaus
- - America/Marigot
- - America/Martinique
- - America/Matamoros
- - America/Mazatlan
- - America/Mendoza
- - America/Menominee
- - America/Merida
- - America/Metlakatla
- - America/Mexico_City
- - America/Miquelon
- - America/Moncton
- - America/Monterrey
- - America/Montevideo
- - America/Montreal
- - America/Montserrat
- - America/Nassau
- - America/New_York
- - America/Nipigon
- - America/Nome
- - America/Noronha
- - America/North_Dakota/Beulah
- - America/North_Dakota/Center
- - America/North_Dakota/New_Salem
- - America/Nuuk
- - America/Ojinaga
- - America/Panama
- - America/Pangnirtung
- - America/Paramaribo
- - America/Phoenix
- - America/Port-au-Prince
- - America/Port_of_Spain
- - America/Porto_Acre
- - America/Porto_Velho
- - America/Puerto_Rico
- - America/Punta_Arenas
- - America/Rainy_River
- - America/Rankin_Inlet
- - America/Recife
- - America/Regina
- - America/Resolute
- - America/Rio_Branco
- - America/Rosario
- - America/Santa_Isabel
- - America/Santarem
- - America/Santiago
- - America/Santo_Domingo
- - America/Sao_Paulo
- - America/Scoresbysund
- - America/Shiprock
- - America/Sitka
- - America/St_Barthelemy
- - America/St_Johns
- - America/St_Kitts
- - America/St_Lucia
- - America/St_Thomas
- - America/St_Vincent
- - America/Swift_Current
- - America/Tegucigalpa
- - America/Thule
- - America/Thunder_Bay
- - America/Tijuana
- - America/Toronto
- - America/Tortola
- - America/Vancouver
- - America/Virgin
- - America/Whitehorse
- - America/Winnipeg
- - America/Yakutat
- - America/Yellowknife
- - Antarctica/Casey
- - Antarctica/Davis
- - Antarctica/DumontDUrville
- - Antarctica/Macquarie
- - Antarctica/Mawson
- - Antarctica/McMurdo
- - Antarctica/Palmer
- - Antarctica/Rothera
- - Antarctica/South_Pole
- - Antarctica/Syowa
- - Antarctica/Troll
- - Antarctica/Vostok
- - Arctic/Longyearbyen
- - Asia/Aden
- - Asia/Almaty
- - Asia/Amman
- - Asia/Anadyr
- - Asia/Aqtau
- - Asia/Aqtobe
- - Asia/Ashgabat
- - Asia/Ashkhabad
- - Asia/Atyrau
- - Asia/Baghdad
- - Asia/Bahrain
- - Asia/Baku
- - Asia/Bangkok
- - Asia/Barnaul
- - Asia/Beirut
- - Asia/Bishkek
- - Asia/Brunei
- - Asia/Calcutta
- - Asia/Chita
- - Asia/Choibalsan
- - Asia/Chongqing
- - Asia/Chungking
- - Asia/Colombo
- - Asia/Dacca
- - Asia/Damascus
- - Asia/Dhaka
- - Asia/Dili
- - Asia/Dubai
- - Asia/Dushanbe
- - Asia/Famagusta
- - Asia/Gaza
- - Asia/Harbin
- - Asia/Hebron
- - Asia/Ho_Chi_Minh
- - Asia/Hong_Kong
- - Asia/Hovd
- - Asia/Irkutsk
- - Asia/Istanbul
- - Asia/Jakarta
- - Asia/Jayapura
- - Asia/Jerusalem
- - Asia/Kabul
- - Asia/Kamchatka
- - Asia/Karachi
- - Asia/Kashgar
- - Asia/Kathmandu
- - Asia/Katmandu
- - Asia/Khandyga
- - Asia/Kolkata
- - Asia/Krasnoyarsk
- - Asia/Kuala_Lumpur
- - Asia/Kuching
- - Asia/Kuwait
- - Asia/Macao
- - Asia/Macau
- - Asia/Magadan
- - Asia/Makassar
- - Asia/Manila
- - Asia/Muscat
- - Asia/Nicosia
- - Asia/Novokuznetsk
- - Asia/Novosibirsk
- - Asia/Omsk
- - Asia/Oral
- - Asia/Phnom_Penh
- - Asia/Pontianak
- - Asia/Pyongyang
- - Asia/Qatar
- - Asia/Qostanay
- - Asia/Qyzylorda
- - Asia/Rangoon
- - Asia/Riyadh
- - Asia/Saigon
- - Asia/Sakhalin
- - Asia/Samarkand
- - Asia/Seoul
- - Asia/Shanghai
- - Asia/Singapore
- - Asia/Srednekolymsk
- - Asia/Taipei
- - Asia/Tashkent
- - Asia/Tbilisi
- - Asia/Tehran
- - Asia/Tel_Aviv
- - Asia/Thimbu
- - Asia/Thimphu
- - Asia/Tokyo
- - Asia/Tomsk
- - Asia/Ujung_Pandang
- - Asia/Ulaanbaatar
- - Asia/Ulan_Bator
- - Asia/Urumqi
- - Asia/Ust-Nera
- - Asia/Vientiane
- - Asia/Vladivostok
- - Asia/Yakutsk
- - Asia/Yangon
- - Asia/Yekaterinburg
- - Asia/Yerevan
- - Atlantic/Azores
- - Atlantic/Bermuda
- - Atlantic/Canary
- - Atlantic/Cape_Verde
- - Atlantic/Faeroe
- - Atlantic/Faroe
- - Atlantic/Jan_Mayen
- - Atlantic/Madeira
- - Atlantic/Reykjavik
- - Atlantic/South_Georgia
- - Atlantic/St_Helena
- - Atlantic/Stanley
- - Australia/ACT
- - Australia/Adelaide
- - Australia/Brisbane
- - Australia/Broken_Hill
- - Australia/Canberra
- - Australia/Currie
- - Australia/Darwin
- - Australia/Eucla
- - Australia/Hobart
- - Australia/LHI
- - Australia/Lindeman
- - Australia/Lord_Howe
- - Australia/Melbourne
- - Australia/NSW
- - Australia/North
- - Australia/Perth
- - Australia/Queensland
- - Australia/South
- - Australia/Sydney
- - Australia/Tasmania
- - Australia/Victoria
- - Australia/West
- - Australia/Yancowinna
- - Brazil/Acre
- - Brazil/DeNoronha
- - Brazil/East
- - Brazil/West
- - CET
- - CST6CDT
- - Canada/Atlantic
- - Canada/Central
- - Canada/Eastern
- - Canada/Mountain
- - Canada/Newfoundland
- - Canada/Pacific
- - Canada/Saskatchewan
- - Canada/Yukon
- - Chile/Continental
- - Chile/EasterIsland
- - Cuba
- - EET
- - EST
- - EST5EDT
- - Egypt
- - Eire
- - Etc/GMT
- - Etc/GMT+0
- - Etc/GMT+1
- - Etc/GMT+10
- - Etc/GMT+11
- - Etc/GMT+12
- - Etc/GMT+2
- - Etc/GMT+3
- - Etc/GMT+4
- - Etc/GMT+5
- - Etc/GMT+6
- - Etc/GMT+7
- - Etc/GMT+8
- - Etc/GMT+9
- - Etc/GMT-0
- - Etc/GMT-1
- - Etc/GMT-10
- - Etc/GMT-11
- - Etc/GMT-12
- - Etc/GMT-13
- - Etc/GMT-14
- - Etc/GMT-2
- - Etc/GMT-3
- - Etc/GMT-4
- - Etc/GMT-5
- - Etc/GMT-6
- - Etc/GMT-7
- - Etc/GMT-8
- - Etc/GMT-9
- - Etc/GMT0
- - Etc/Greenwich
- - Etc/UCT
- - Etc/UTC
- - Etc/Universal
- - Etc/Zulu
- - Europe/Amsterdam
- - Europe/Andorra
- - Europe/Astrakhan
- - Europe/Athens
- - Europe/Belfast
- - Europe/Belgrade
- - Europe/Berlin
- - Europe/Bratislava
- - Europe/Brussels
- - Europe/Bucharest
- - Europe/Budapest
- - Europe/Busingen
- - Europe/Chisinau
- - Europe/Copenhagen
- - Europe/Dublin
- - Europe/Gibraltar
- - Europe/Guernsey
- - Europe/Helsinki
- - Europe/Isle_of_Man
- - Europe/Istanbul
- - Europe/Jersey
- - Europe/Kaliningrad
- - Europe/Kiev
- - Europe/Kirov
- - Europe/Kyiv
- - Europe/Lisbon
- - Europe/Ljubljana
- - Europe/London
- - Europe/Luxembourg
- - Europe/Madrid
- - Europe/Malta
- - Europe/Mariehamn
- - Europe/Minsk
- - Europe/Monaco
- - Europe/Moscow
- - Europe/Nicosia
- - Europe/Oslo
- - Europe/Paris
- - Europe/Podgorica
- - Europe/Prague
- - Europe/Riga
- - Europe/Rome
- - Europe/Samara
- - Europe/San_Marino
- - Europe/Sarajevo
- - Europe/Saratov
- - Europe/Simferopol
- - Europe/Skopje
- - Europe/Sofia
- - Europe/Stockholm
- - Europe/Tallinn
- - Europe/Tirane
- - Europe/Tiraspol
- - Europe/Ulyanovsk
- - Europe/Uzhgorod
- - Europe/Vaduz
- - Europe/Vatican
- - Europe/Vienna
- - Europe/Vilnius
- - Europe/Volgograd
- - Europe/Warsaw
- - Europe/Zagreb
- - Europe/Zaporozhye
- - Europe/Zurich
- - GB
- - GB-Eire
- - GMT
- - GMT+0
- - GMT-0
- - GMT0
- - Greenwich
- - HST
- - Hongkong
- - Iceland
- - Indian/Antananarivo
- - Indian/Chagos
- - Indian/Christmas
- - Indian/Cocos
- - Indian/Comoro
- - Indian/Kerguelen
- - Indian/Mahe
- - Indian/Maldives
- - Indian/Mauritius
- - Indian/Mayotte
- - Indian/Reunion
- - Iran
- - Israel
- - Jamaica
- - Japan
- - Kwajalein
- - Libya
- - MET
- - MST
- - MST7MDT
- - Mexico/BajaNorte
- - Mexico/BajaSur
- - Mexico/General
- - NZ
- - NZ-CHAT
- - Navajo
- - PRC
- - PST8PDT
- - Pacific/Apia
- - Pacific/Auckland
- - Pacific/Bougainville
- - Pacific/Chatham
- - Pacific/Chuuk
- - Pacific/Easter
- - Pacific/Efate
- - Pacific/Enderbury
- - Pacific/Fakaofo
- - Pacific/Fiji
- - Pacific/Funafuti
- - Pacific/Galapagos
- - Pacific/Gambier
- - Pacific/Guadalcanal
- - Pacific/Guam
- - Pacific/Honolulu
- - Pacific/Johnston
- - Pacific/Kanton
- - Pacific/Kiritimati
- - Pacific/Kosrae
- - Pacific/Kwajalein
- - Pacific/Majuro
- - Pacific/Marquesas
- - Pacific/Midway
- - Pacific/Nauru
- - Pacific/Niue
- - Pacific/Norfolk
- - Pacific/Noumea
- - Pacific/Pago_Pago
- - Pacific/Palau
- - Pacific/Pitcairn
- - Pacific/Pohnpei
- - Pacific/Ponape
- - Pacific/Port_Moresby
- - Pacific/Rarotonga
- - Pacific/Saipan
- - Pacific/Samoa
- - Pacific/Tahiti
- - Pacific/Tarawa
- - Pacific/Tongatapu
- - Pacific/Truk
- - Pacific/Wake
- - Pacific/Wallis
- - Pacific/Yap
- - Poland
- - Portugal
- - ROC
- - ROK
- - Singapore
- - Turkey
- - UCT
- - US/Alaska
- - US/Aleutian
- - US/Arizona
- - US/Central
- - US/East-Indiana
- - US/Eastern
- - US/Hawaii
- - US/Indiana-Starke
- - US/Michigan
- - US/Mountain
- - US/Pacific
- - US/Samoa
- - UTC
- - Universal
- - W-SU
- - WET
- - Zulu
- - localtime
- description: |+
- Time zone
-
- explode: true
- style: form
- - in: query
- name: time_zone__nire
- schema:
- type: array
- items:
- type: string
- enum:
- - Africa/Abidjan
- - Africa/Accra
- - Africa/Addis_Ababa
- - Africa/Algiers
- - Africa/Asmara
- - Africa/Asmera
- - Africa/Bamako
- - Africa/Bangui
- - Africa/Banjul
- - Africa/Bissau
- - Africa/Blantyre
- - Africa/Brazzaville
- - Africa/Bujumbura
- - Africa/Cairo
- - Africa/Casablanca
- - Africa/Ceuta
- - Africa/Conakry
- - Africa/Dakar
- - Africa/Dar_es_Salaam
- - Africa/Djibouti
- - Africa/Douala
- - Africa/El_Aaiun
- - Africa/Freetown
- - Africa/Gaborone
- - Africa/Harare
- - Africa/Johannesburg
- - Africa/Juba
- - Africa/Kampala
- - Africa/Khartoum
- - Africa/Kigali
- - Africa/Kinshasa
- - Africa/Lagos
- - Africa/Libreville
- - Africa/Lome
- - Africa/Luanda
- - Africa/Lubumbashi
- - Africa/Lusaka
- - Africa/Malabo
- - Africa/Maputo
- - Africa/Maseru
- - Africa/Mbabane
- - Africa/Mogadishu
- - Africa/Monrovia
- - Africa/Nairobi
- - Africa/Ndjamena
- - Africa/Niamey
- - Africa/Nouakchott
- - Africa/Ouagadougou
- - Africa/Porto-Novo
- - Africa/Sao_Tome
- - Africa/Timbuktu
- - Africa/Tripoli
- - Africa/Tunis
- - Africa/Windhoek
- - America/Adak
- - America/Anchorage
- - America/Anguilla
- - America/Antigua
- - America/Araguaina
- - America/Argentina/Buenos_Aires
- - America/Argentina/Catamarca
- - America/Argentina/ComodRivadavia
- - America/Argentina/Cordoba
- - America/Argentina/Jujuy
- - America/Argentina/La_Rioja
- - America/Argentina/Mendoza
- - America/Argentina/Rio_Gallegos
- - America/Argentina/Salta
- - America/Argentina/San_Juan
- - America/Argentina/San_Luis
- - America/Argentina/Tucuman
- - America/Argentina/Ushuaia
- - America/Aruba
- - America/Asuncion
- - America/Atikokan
- - America/Atka
- - America/Bahia
- - America/Bahia_Banderas
- - America/Barbados
- - America/Belem
- - America/Belize
- - America/Blanc-Sablon
- - America/Boa_Vista
- - America/Bogota
- - America/Boise
- - America/Buenos_Aires
- - America/Cambridge_Bay
- - America/Campo_Grande
- - America/Cancun
- - America/Caracas
- - America/Catamarca
- - America/Cayenne
- - America/Cayman
- - America/Chicago
- - America/Chihuahua
- - America/Ciudad_Juarez
- - America/Coral_Harbour
- - America/Cordoba
- - America/Costa_Rica
- - America/Creston
- - America/Cuiaba
- - America/Curacao
- - America/Danmarkshavn
- - America/Dawson
- - America/Dawson_Creek
- - America/Denver
- - America/Detroit
- - America/Dominica
- - America/Edmonton
- - America/Eirunepe
- - America/El_Salvador
- - America/Ensenada
- - America/Fort_Nelson
- - America/Fort_Wayne
- - America/Fortaleza
- - America/Glace_Bay
- - America/Godthab
- - America/Goose_Bay
- - America/Grand_Turk
- - America/Grenada
- - America/Guadeloupe
- - America/Guatemala
- - America/Guayaquil
- - America/Guyana
- - America/Halifax
- - America/Havana
- - America/Hermosillo
- - America/Indiana/Indianapolis
- - America/Indiana/Knox
- - America/Indiana/Marengo
- - America/Indiana/Petersburg
- - America/Indiana/Tell_City
- - America/Indiana/Vevay
- - America/Indiana/Vincennes
- - America/Indiana/Winamac
- - America/Indianapolis
- - America/Inuvik
- - America/Iqaluit
- - America/Jamaica
- - America/Jujuy
- - America/Juneau
- - America/Kentucky/Louisville
- - America/Kentucky/Monticello
- - America/Knox_IN
- - America/Kralendijk
- - America/La_Paz
- - America/Lima
- - America/Los_Angeles
- - America/Louisville
- - America/Lower_Princes
- - America/Maceio
- - America/Managua
- - America/Manaus
- - America/Marigot
- - America/Martinique
- - America/Matamoros
- - America/Mazatlan
- - America/Mendoza
- - America/Menominee
- - America/Merida
- - America/Metlakatla
- - America/Mexico_City
- - America/Miquelon
- - America/Moncton
- - America/Monterrey
- - America/Montevideo
- - America/Montreal
- - America/Montserrat
- - America/Nassau
- - America/New_York
- - America/Nipigon
- - America/Nome
- - America/Noronha
- - America/North_Dakota/Beulah
- - America/North_Dakota/Center
- - America/North_Dakota/New_Salem
- - America/Nuuk
- - America/Ojinaga
- - America/Panama
- - America/Pangnirtung
- - America/Paramaribo
- - America/Phoenix
- - America/Port-au-Prince
- - America/Port_of_Spain
- - America/Porto_Acre
- - America/Porto_Velho
- - America/Puerto_Rico
- - America/Punta_Arenas
- - America/Rainy_River
- - America/Rankin_Inlet
- - America/Recife
- - America/Regina
- - America/Resolute
- - America/Rio_Branco
- - America/Rosario
- - America/Santa_Isabel
- - America/Santarem
- - America/Santiago
- - America/Santo_Domingo
- - America/Sao_Paulo
- - America/Scoresbysund
- - America/Shiprock
- - America/Sitka
- - America/St_Barthelemy
- - America/St_Johns
- - America/St_Kitts
- - America/St_Lucia
- - America/St_Thomas
- - America/St_Vincent
- - America/Swift_Current
- - America/Tegucigalpa
- - America/Thule
- - America/Thunder_Bay
- - America/Tijuana
- - America/Toronto
- - America/Tortola
- - America/Vancouver
- - America/Virgin
- - America/Whitehorse
- - America/Winnipeg
- - America/Yakutat
- - America/Yellowknife
- - Antarctica/Casey
- - Antarctica/Davis
- - Antarctica/DumontDUrville
- - Antarctica/Macquarie
- - Antarctica/Mawson
- - Antarctica/McMurdo
- - Antarctica/Palmer
- - Antarctica/Rothera
- - Antarctica/South_Pole
- - Antarctica/Syowa
- - Antarctica/Troll
- - Antarctica/Vostok
- - Arctic/Longyearbyen
- - Asia/Aden
- - Asia/Almaty
- - Asia/Amman
- - Asia/Anadyr
- - Asia/Aqtau
- - Asia/Aqtobe
- - Asia/Ashgabat
- - Asia/Ashkhabad
- - Asia/Atyrau
- - Asia/Baghdad
- - Asia/Bahrain
- - Asia/Baku
- - Asia/Bangkok
- - Asia/Barnaul
- - Asia/Beirut
- - Asia/Bishkek
- - Asia/Brunei
- - Asia/Calcutta
- - Asia/Chita
- - Asia/Choibalsan
- - Asia/Chongqing
- - Asia/Chungking
- - Asia/Colombo
- - Asia/Dacca
- - Asia/Damascus
- - Asia/Dhaka
- - Asia/Dili
- - Asia/Dubai
- - Asia/Dushanbe
- - Asia/Famagusta
- - Asia/Gaza
- - Asia/Harbin
- - Asia/Hebron
- - Asia/Ho_Chi_Minh
- - Asia/Hong_Kong
- - Asia/Hovd
- - Asia/Irkutsk
- - Asia/Istanbul
- - Asia/Jakarta
- - Asia/Jayapura
- - Asia/Jerusalem
- - Asia/Kabul
- - Asia/Kamchatka
- - Asia/Karachi
- - Asia/Kashgar
- - Asia/Kathmandu
- - Asia/Katmandu
- - Asia/Khandyga
- - Asia/Kolkata
- - Asia/Krasnoyarsk
- - Asia/Kuala_Lumpur
- - Asia/Kuching
- - Asia/Kuwait
- - Asia/Macao
- - Asia/Macau
- - Asia/Magadan
- - Asia/Makassar
- - Asia/Manila
- - Asia/Muscat
- - Asia/Nicosia
- - Asia/Novokuznetsk
- - Asia/Novosibirsk
- - Asia/Omsk
- - Asia/Oral
- - Asia/Phnom_Penh
- - Asia/Pontianak
- - Asia/Pyongyang
- - Asia/Qatar
- - Asia/Qostanay
- - Asia/Qyzylorda
- - Asia/Rangoon
- - Asia/Riyadh
- - Asia/Saigon
- - Asia/Sakhalin
- - Asia/Samarkand
- - Asia/Seoul
- - Asia/Shanghai
- - Asia/Singapore
- - Asia/Srednekolymsk
- - Asia/Taipei
- - Asia/Tashkent
- - Asia/Tbilisi
- - Asia/Tehran
- - Asia/Tel_Aviv
- - Asia/Thimbu
- - Asia/Thimphu
- - Asia/Tokyo
- - Asia/Tomsk
- - Asia/Ujung_Pandang
- - Asia/Ulaanbaatar
- - Asia/Ulan_Bator
- - Asia/Urumqi
- - Asia/Ust-Nera
- - Asia/Vientiane
- - Asia/Vladivostok
- - Asia/Yakutsk
- - Asia/Yangon
- - Asia/Yekaterinburg
- - Asia/Yerevan
- - Atlantic/Azores
- - Atlantic/Bermuda
- - Atlantic/Canary
- - Atlantic/Cape_Verde
- - Atlantic/Faeroe
- - Atlantic/Faroe
- - Atlantic/Jan_Mayen
- - Atlantic/Madeira
- - Atlantic/Reykjavik
- - Atlantic/South_Georgia
- - Atlantic/St_Helena
- - Atlantic/Stanley
- - Australia/ACT
- - Australia/Adelaide
- - Australia/Brisbane
- - Australia/Broken_Hill
- - Australia/Canberra
- - Australia/Currie
- - Australia/Darwin
- - Australia/Eucla
- - Australia/Hobart
- - Australia/LHI
- - Australia/Lindeman
- - Australia/Lord_Howe
- - Australia/Melbourne
- - Australia/NSW
- - Australia/North
- - Australia/Perth
- - Australia/Queensland
- - Australia/South
- - Australia/Sydney
- - Australia/Tasmania
- - Australia/Victoria
- - Australia/West
- - Australia/Yancowinna
- - Brazil/Acre
- - Brazil/DeNoronha
- - Brazil/East
- - Brazil/West
- - CET
- - CST6CDT
- - Canada/Atlantic
- - Canada/Central
- - Canada/Eastern
- - Canada/Mountain
- - Canada/Newfoundland
- - Canada/Pacific
- - Canada/Saskatchewan
- - Canada/Yukon
- - Chile/Continental
- - Chile/EasterIsland
- - Cuba
- - EET
- - EST
- - EST5EDT
- - Egypt
- - Eire
- - Etc/GMT
- - Etc/GMT+0
- - Etc/GMT+1
- - Etc/GMT+10
- - Etc/GMT+11
- - Etc/GMT+12
- - Etc/GMT+2
- - Etc/GMT+3
- - Etc/GMT+4
- - Etc/GMT+5
- - Etc/GMT+6
- - Etc/GMT+7
- - Etc/GMT+8
- - Etc/GMT+9
- - Etc/GMT-0
- - Etc/GMT-1
- - Etc/GMT-10
- - Etc/GMT-11
- - Etc/GMT-12
- - Etc/GMT-13
- - Etc/GMT-14
- - Etc/GMT-2
- - Etc/GMT-3
- - Etc/GMT-4
- - Etc/GMT-5
- - Etc/GMT-6
- - Etc/GMT-7
- - Etc/GMT-8
- - Etc/GMT-9
- - Etc/GMT0
- - Etc/Greenwich
- - Etc/UCT
- - Etc/UTC
- - Etc/Universal
- - Etc/Zulu
- - Europe/Amsterdam
- - Europe/Andorra
- - Europe/Astrakhan
- - Europe/Athens
- - Europe/Belfast
- - Europe/Belgrade
- - Europe/Berlin
- - Europe/Bratislava
- - Europe/Brussels
- - Europe/Bucharest
- - Europe/Budapest
- - Europe/Busingen
- - Europe/Chisinau
- - Europe/Copenhagen
- - Europe/Dublin
- - Europe/Gibraltar
- - Europe/Guernsey
- - Europe/Helsinki
- - Europe/Isle_of_Man
- - Europe/Istanbul
- - Europe/Jersey
- - Europe/Kaliningrad
- - Europe/Kiev
- - Europe/Kirov
- - Europe/Kyiv
- - Europe/Lisbon
- - Europe/Ljubljana
- - Europe/London
- - Europe/Luxembourg
- - Europe/Madrid
- - Europe/Malta
- - Europe/Mariehamn
- - Europe/Minsk
- - Europe/Monaco
- - Europe/Moscow
- - Europe/Nicosia
- - Europe/Oslo
- - Europe/Paris
- - Europe/Podgorica
- - Europe/Prague
- - Europe/Riga
- - Europe/Rome
- - Europe/Samara
- - Europe/San_Marino
- - Europe/Sarajevo
- - Europe/Saratov
- - Europe/Simferopol
- - Europe/Skopje
- - Europe/Sofia
- - Europe/Stockholm
- - Europe/Tallinn
- - Europe/Tirane
- - Europe/Tiraspol
- - Europe/Ulyanovsk
- - Europe/Uzhgorod
- - Europe/Vaduz
- - Europe/Vatican
- - Europe/Vienna
- - Europe/Vilnius
- - Europe/Volgograd
- - Europe/Warsaw
- - Europe/Zagreb
- - Europe/Zaporozhye
- - Europe/Zurich
- - GB
- - GB-Eire
- - GMT
- - GMT+0
- - GMT-0
- - GMT0
- - Greenwich
- - HST
- - Hongkong
- - Iceland
- - Indian/Antananarivo
- - Indian/Chagos
- - Indian/Christmas
- - Indian/Cocos
- - Indian/Comoro
- - Indian/Kerguelen
- - Indian/Mahe
- - Indian/Maldives
- - Indian/Mauritius
- - Indian/Mayotte
- - Indian/Reunion
- - Iran
- - Israel
- - Jamaica
- - Japan
- - Kwajalein
- - Libya
- - MET
- - MST
- - MST7MDT
- - Mexico/BajaNorte
- - Mexico/BajaSur
- - Mexico/General
- - NZ
- - NZ-CHAT
- - Navajo
- - PRC
- - PST8PDT
- - Pacific/Apia
- - Pacific/Auckland
- - Pacific/Bougainville
- - Pacific/Chatham
- - Pacific/Chuuk
- - Pacific/Easter
- - Pacific/Efate
- - Pacific/Enderbury
- - Pacific/Fakaofo
- - Pacific/Fiji
- - Pacific/Funafuti
- - Pacific/Galapagos
- - Pacific/Gambier
- - Pacific/Guadalcanal
- - Pacific/Guam
- - Pacific/Honolulu
- - Pacific/Johnston
- - Pacific/Kanton
- - Pacific/Kiritimati
- - Pacific/Kosrae
- - Pacific/Kwajalein
- - Pacific/Majuro
- - Pacific/Marquesas
- - Pacific/Midway
- - Pacific/Nauru
- - Pacific/Niue
- - Pacific/Norfolk
- - Pacific/Noumea
- - Pacific/Pago_Pago
- - Pacific/Palau
- - Pacific/Pitcairn
- - Pacific/Pohnpei
- - Pacific/Ponape
- - Pacific/Port_Moresby
- - Pacific/Rarotonga
- - Pacific/Saipan
- - Pacific/Samoa
- - Pacific/Tahiti
- - Pacific/Tarawa
- - Pacific/Tongatapu
- - Pacific/Truk
- - Pacific/Wake
- - Pacific/Wallis
- - Pacific/Yap
- - Poland
- - Portugal
- - ROC
- - ROK
- - Singapore
- - Turkey
- - UCT
- - US/Alaska
- - US/Aleutian
- - US/Arizona
- - US/Central
- - US/East-Indiana
- - US/Eastern
- - US/Hawaii
- - US/Indiana-Starke
- - US/Michigan
- - US/Mountain
- - US/Pacific
- - US/Samoa
- - UTC
- - Universal
- - W-SU
- - WET
- - Zulu
- - localtime
- description: |+
- Time zone
-
- explode: true
- style: form
- - in: query
- name: time_zone__nisw
- schema:
- type: array
- items:
- type: string
- enum:
- - Africa/Abidjan
- - Africa/Accra
- - Africa/Addis_Ababa
- - Africa/Algiers
- - Africa/Asmara
- - Africa/Asmera
- - Africa/Bamako
- - Africa/Bangui
- - Africa/Banjul
- - Africa/Bissau
- - Africa/Blantyre
- - Africa/Brazzaville
- - Africa/Bujumbura
- - Africa/Cairo
- - Africa/Casablanca
- - Africa/Ceuta
- - Africa/Conakry
- - Africa/Dakar
- - Africa/Dar_es_Salaam
- - Africa/Djibouti
- - Africa/Douala
- - Africa/El_Aaiun
- - Africa/Freetown
- - Africa/Gaborone
- - Africa/Harare
- - Africa/Johannesburg
- - Africa/Juba
- - Africa/Kampala
- - Africa/Khartoum
- - Africa/Kigali
- - Africa/Kinshasa
- - Africa/Lagos
- - Africa/Libreville
- - Africa/Lome
- - Africa/Luanda
- - Africa/Lubumbashi
- - Africa/Lusaka
- - Africa/Malabo
- - Africa/Maputo
- - Africa/Maseru
- - Africa/Mbabane
- - Africa/Mogadishu
- - Africa/Monrovia
- - Africa/Nairobi
- - Africa/Ndjamena
- - Africa/Niamey
- - Africa/Nouakchott
- - Africa/Ouagadougou
- - Africa/Porto-Novo
- - Africa/Sao_Tome
- - Africa/Timbuktu
- - Africa/Tripoli
- - Africa/Tunis
- - Africa/Windhoek
- - America/Adak
- - America/Anchorage
- - America/Anguilla
- - America/Antigua
- - America/Araguaina
- - America/Argentina/Buenos_Aires
- - America/Argentina/Catamarca
- - America/Argentina/ComodRivadavia
- - America/Argentina/Cordoba
- - America/Argentina/Jujuy
- - America/Argentina/La_Rioja
- - America/Argentina/Mendoza
- - America/Argentina/Rio_Gallegos
- - America/Argentina/Salta
- - America/Argentina/San_Juan
- - America/Argentina/San_Luis
- - America/Argentina/Tucuman
- - America/Argentina/Ushuaia
- - America/Aruba
- - America/Asuncion
- - America/Atikokan
- - America/Atka
- - America/Bahia
- - America/Bahia_Banderas
- - America/Barbados
- - America/Belem
- - America/Belize
- - America/Blanc-Sablon
- - America/Boa_Vista
- - America/Bogota
- - America/Boise
- - America/Buenos_Aires
- - America/Cambridge_Bay
- - America/Campo_Grande
- - America/Cancun
- - America/Caracas
- - America/Catamarca
- - America/Cayenne
- - America/Cayman
- - America/Chicago
- - America/Chihuahua
- - America/Ciudad_Juarez
- - America/Coral_Harbour
- - America/Cordoba
- - America/Costa_Rica
- - America/Creston
- - America/Cuiaba
- - America/Curacao
- - America/Danmarkshavn
- - America/Dawson
- - America/Dawson_Creek
- - America/Denver
- - America/Detroit
- - America/Dominica
- - America/Edmonton
- - America/Eirunepe
- - America/El_Salvador
- - America/Ensenada
- - America/Fort_Nelson
- - America/Fort_Wayne
- - America/Fortaleza
- - America/Glace_Bay
- - America/Godthab
- - America/Goose_Bay
- - America/Grand_Turk
- - America/Grenada
- - America/Guadeloupe
- - America/Guatemala
- - America/Guayaquil
- - America/Guyana
- - America/Halifax
- - America/Havana
- - America/Hermosillo
- - America/Indiana/Indianapolis
- - America/Indiana/Knox
- - America/Indiana/Marengo
- - America/Indiana/Petersburg
- - America/Indiana/Tell_City
- - America/Indiana/Vevay
- - America/Indiana/Vincennes
- - America/Indiana/Winamac
- - America/Indianapolis
- - America/Inuvik
- - America/Iqaluit
- - America/Jamaica
- - America/Jujuy
- - America/Juneau
- - America/Kentucky/Louisville
- - America/Kentucky/Monticello
- - America/Knox_IN
- - America/Kralendijk
- - America/La_Paz
- - America/Lima
- - America/Los_Angeles
- - America/Louisville
- - America/Lower_Princes
- - America/Maceio
- - America/Managua
- - America/Manaus
- - America/Marigot
- - America/Martinique
- - America/Matamoros
- - America/Mazatlan
- - America/Mendoza
- - America/Menominee
- - America/Merida
- - America/Metlakatla
- - America/Mexico_City
- - America/Miquelon
- - America/Moncton
- - America/Monterrey
- - America/Montevideo
- - America/Montreal
- - America/Montserrat
- - America/Nassau
- - America/New_York
- - America/Nipigon
- - America/Nome
- - America/Noronha
- - America/North_Dakota/Beulah
- - America/North_Dakota/Center
- - America/North_Dakota/New_Salem
- - America/Nuuk
- - America/Ojinaga
- - America/Panama
- - America/Pangnirtung
- - America/Paramaribo
- - America/Phoenix
- - America/Port-au-Prince
- - America/Port_of_Spain
- - America/Porto_Acre
- - America/Porto_Velho
- - America/Puerto_Rico
- - America/Punta_Arenas
- - America/Rainy_River
- - America/Rankin_Inlet
- - America/Recife
- - America/Regina
- - America/Resolute
- - America/Rio_Branco
- - America/Rosario
- - America/Santa_Isabel
- - America/Santarem
- - America/Santiago
- - America/Santo_Domingo
- - America/Sao_Paulo
- - America/Scoresbysund
- - America/Shiprock
- - America/Sitka
- - America/St_Barthelemy
- - America/St_Johns
- - America/St_Kitts
- - America/St_Lucia
- - America/St_Thomas
- - America/St_Vincent
- - America/Swift_Current
- - America/Tegucigalpa
- - America/Thule
- - America/Thunder_Bay
- - America/Tijuana
- - America/Toronto
- - America/Tortola
- - America/Vancouver
- - America/Virgin
- - America/Whitehorse
- - America/Winnipeg
- - America/Yakutat
- - America/Yellowknife
- - Antarctica/Casey
- - Antarctica/Davis
- - Antarctica/DumontDUrville
- - Antarctica/Macquarie
- - Antarctica/Mawson
- - Antarctica/McMurdo
- - Antarctica/Palmer
- - Antarctica/Rothera
- - Antarctica/South_Pole
- - Antarctica/Syowa
- - Antarctica/Troll
- - Antarctica/Vostok
- - Arctic/Longyearbyen
- - Asia/Aden
- - Asia/Almaty
- - Asia/Amman
- - Asia/Anadyr
- - Asia/Aqtau
- - Asia/Aqtobe
- - Asia/Ashgabat
- - Asia/Ashkhabad
- - Asia/Atyrau
- - Asia/Baghdad
- - Asia/Bahrain
- - Asia/Baku
- - Asia/Bangkok
- - Asia/Barnaul
- - Asia/Beirut
- - Asia/Bishkek
- - Asia/Brunei
- - Asia/Calcutta
- - Asia/Chita
- - Asia/Choibalsan
- - Asia/Chongqing
- - Asia/Chungking
- - Asia/Colombo
- - Asia/Dacca
- - Asia/Damascus
- - Asia/Dhaka
- - Asia/Dili
- - Asia/Dubai
- - Asia/Dushanbe
- - Asia/Famagusta
- - Asia/Gaza
- - Asia/Harbin
- - Asia/Hebron
- - Asia/Ho_Chi_Minh
- - Asia/Hong_Kong
- - Asia/Hovd
- - Asia/Irkutsk
- - Asia/Istanbul
- - Asia/Jakarta
- - Asia/Jayapura
- - Asia/Jerusalem
- - Asia/Kabul
- - Asia/Kamchatka
- - Asia/Karachi
- - Asia/Kashgar
- - Asia/Kathmandu
- - Asia/Katmandu
- - Asia/Khandyga
- - Asia/Kolkata
- - Asia/Krasnoyarsk
- - Asia/Kuala_Lumpur
- - Asia/Kuching
- - Asia/Kuwait
- - Asia/Macao
- - Asia/Macau
- - Asia/Magadan
- - Asia/Makassar
- - Asia/Manila
- - Asia/Muscat
- - Asia/Nicosia
- - Asia/Novokuznetsk
- - Asia/Novosibirsk
- - Asia/Omsk
- - Asia/Oral
- - Asia/Phnom_Penh
- - Asia/Pontianak
- - Asia/Pyongyang
- - Asia/Qatar
- - Asia/Qostanay
- - Asia/Qyzylorda
- - Asia/Rangoon
- - Asia/Riyadh
- - Asia/Saigon
- - Asia/Sakhalin
- - Asia/Samarkand
- - Asia/Seoul
- - Asia/Shanghai
- - Asia/Singapore
- - Asia/Srednekolymsk
- - Asia/Taipei
- - Asia/Tashkent
- - Asia/Tbilisi
- - Asia/Tehran
- - Asia/Tel_Aviv
- - Asia/Thimbu
- - Asia/Thimphu
- - Asia/Tokyo
- - Asia/Tomsk
- - Asia/Ujung_Pandang
- - Asia/Ulaanbaatar
- - Asia/Ulan_Bator
- - Asia/Urumqi
- - Asia/Ust-Nera
- - Asia/Vientiane
- - Asia/Vladivostok
- - Asia/Yakutsk
- - Asia/Yangon
- - Asia/Yekaterinburg
- - Asia/Yerevan
- - Atlantic/Azores
- - Atlantic/Bermuda
- - Atlantic/Canary
- - Atlantic/Cape_Verde
- - Atlantic/Faeroe
- - Atlantic/Faroe
- - Atlantic/Jan_Mayen
- - Atlantic/Madeira
- - Atlantic/Reykjavik
- - Atlantic/South_Georgia
- - Atlantic/St_Helena
- - Atlantic/Stanley
- - Australia/ACT
- - Australia/Adelaide
- - Australia/Brisbane
- - Australia/Broken_Hill
- - Australia/Canberra
- - Australia/Currie
- - Australia/Darwin
- - Australia/Eucla
- - Australia/Hobart
- - Australia/LHI
- - Australia/Lindeman
- - Australia/Lord_Howe
- - Australia/Melbourne
- - Australia/NSW
- - Australia/North
- - Australia/Perth
- - Australia/Queensland
- - Australia/South
- - Australia/Sydney
- - Australia/Tasmania
- - Australia/Victoria
- - Australia/West
- - Australia/Yancowinna
- - Brazil/Acre
- - Brazil/DeNoronha
- - Brazil/East
- - Brazil/West
- - CET
- - CST6CDT
- - Canada/Atlantic
- - Canada/Central
- - Canada/Eastern
- - Canada/Mountain
- - Canada/Newfoundland
- - Canada/Pacific
- - Canada/Saskatchewan
- - Canada/Yukon
- - Chile/Continental
- - Chile/EasterIsland
- - Cuba
- - EET
- - EST
- - EST5EDT
- - Egypt
- - Eire
- - Etc/GMT
- - Etc/GMT+0
- - Etc/GMT+1
- - Etc/GMT+10
- - Etc/GMT+11
- - Etc/GMT+12
- - Etc/GMT+2
- - Etc/GMT+3
- - Etc/GMT+4
- - Etc/GMT+5
- - Etc/GMT+6
- - Etc/GMT+7
- - Etc/GMT+8
- - Etc/GMT+9
- - Etc/GMT-0
- - Etc/GMT-1
- - Etc/GMT-10
- - Etc/GMT-11
- - Etc/GMT-12
- - Etc/GMT-13
- - Etc/GMT-14
- - Etc/GMT-2
- - Etc/GMT-3
- - Etc/GMT-4
- - Etc/GMT-5
- - Etc/GMT-6
- - Etc/GMT-7
- - Etc/GMT-8
- - Etc/GMT-9
- - Etc/GMT0
- - Etc/Greenwich
- - Etc/UCT
- - Etc/UTC
- - Etc/Universal
- - Etc/Zulu
- - Europe/Amsterdam
- - Europe/Andorra
- - Europe/Astrakhan
- - Europe/Athens
- - Europe/Belfast
- - Europe/Belgrade
- - Europe/Berlin
- - Europe/Bratislava
- - Europe/Brussels
- - Europe/Bucharest
- - Europe/Budapest
- - Europe/Busingen
- - Europe/Chisinau
- - Europe/Copenhagen
- - Europe/Dublin
- - Europe/Gibraltar
- - Europe/Guernsey
- - Europe/Helsinki
- - Europe/Isle_of_Man
- - Europe/Istanbul
- - Europe/Jersey
- - Europe/Kaliningrad
- - Europe/Kiev
- - Europe/Kirov
- - Europe/Kyiv
- - Europe/Lisbon
- - Europe/Ljubljana
- - Europe/London
- - Europe/Luxembourg
- - Europe/Madrid
- - Europe/Malta
- - Europe/Mariehamn
- - Europe/Minsk
- - Europe/Monaco
- - Europe/Moscow
- - Europe/Nicosia
- - Europe/Oslo
- - Europe/Paris
- - Europe/Podgorica
- - Europe/Prague
- - Europe/Riga
- - Europe/Rome
- - Europe/Samara
- - Europe/San_Marino
- - Europe/Sarajevo
- - Europe/Saratov
- - Europe/Simferopol
- - Europe/Skopje
- - Europe/Sofia
- - Europe/Stockholm
- - Europe/Tallinn
- - Europe/Tirane
- - Europe/Tiraspol
- - Europe/Ulyanovsk
- - Europe/Uzhgorod
- - Europe/Vaduz
- - Europe/Vatican
- - Europe/Vienna
- - Europe/Vilnius
- - Europe/Volgograd
- - Europe/Warsaw
- - Europe/Zagreb
- - Europe/Zaporozhye
- - Europe/Zurich
- - GB
- - GB-Eire
- - GMT
- - GMT+0
- - GMT-0
- - GMT0
- - Greenwich
- - HST
- - Hongkong
- - Iceland
- - Indian/Antananarivo
- - Indian/Chagos
- - Indian/Christmas
- - Indian/Cocos
- - Indian/Comoro
- - Indian/Kerguelen
- - Indian/Mahe
- - Indian/Maldives
- - Indian/Mauritius
- - Indian/Mayotte
- - Indian/Reunion
- - Iran
- - Israel
- - Jamaica
- - Japan
- - Kwajalein
- - Libya
- - MET
- - MST
- - MST7MDT
- - Mexico/BajaNorte
- - Mexico/BajaSur
- - Mexico/General
- - NZ
- - NZ-CHAT
- - Navajo
- - PRC
- - PST8PDT
- - Pacific/Apia
- - Pacific/Auckland
- - Pacific/Bougainville
- - Pacific/Chatham
- - Pacific/Chuuk
- - Pacific/Easter
- - Pacific/Efate
- - Pacific/Enderbury
- - Pacific/Fakaofo
- - Pacific/Fiji
- - Pacific/Funafuti
- - Pacific/Galapagos
- - Pacific/Gambier
- - Pacific/Guadalcanal
- - Pacific/Guam
- - Pacific/Honolulu
- - Pacific/Johnston
- - Pacific/Kanton
- - Pacific/Kiritimati
- - Pacific/Kosrae
- - Pacific/Kwajalein
- - Pacific/Majuro
- - Pacific/Marquesas
- - Pacific/Midway
- - Pacific/Nauru
- - Pacific/Niue
- - Pacific/Norfolk
- - Pacific/Noumea
- - Pacific/Pago_Pago
- - Pacific/Palau
- - Pacific/Pitcairn
- - Pacific/Pohnpei
- - Pacific/Ponape
- - Pacific/Port_Moresby
- - Pacific/Rarotonga
- - Pacific/Saipan
- - Pacific/Samoa
- - Pacific/Tahiti
- - Pacific/Tarawa
- - Pacific/Tongatapu
- - Pacific/Truk
- - Pacific/Wake
- - Pacific/Wallis
- - Pacific/Yap
- - Poland
- - Portugal
- - ROC
- - ROK
- - Singapore
- - Turkey
- - UCT
- - US/Alaska
- - US/Aleutian
- - US/Arizona
- - US/Central
- - US/East-Indiana
- - US/Eastern
- - US/Hawaii
- - US/Indiana-Starke
- - US/Michigan
- - US/Mountain
- - US/Pacific
- - US/Samoa
- - UTC
- - Universal
- - W-SU
- - WET
- - Zulu
- - localtime
- description: |+
- Time zone
-
+ type: array
+ items:
+ type: string
explode: true
style: form
- in: query
- name: time_zone__nre
+ name: job_model__isnull
+ schema:
+ type: boolean
+ description: Job (name or ID) is null
+ - in: query
+ name: job_model__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: job_model_id
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ nullable: true
+ description: Job (ID) - Deprecated (use job_model filter)
+ explode: true
+ style: form
+ - in: query
+ name: job_model_id__isnull
+ schema:
+ type: boolean
+ description: Job (ID) - Deprecated (use job_model filter) is null
+ - in: query
+ name: job_model_id__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ nullable: true
+ description: Exclude Job (ID) - Deprecated (use job_model filter)
+ explode: true
+ style: form
+ - in: query
+ name: last_run_at
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: last_run_at__gt
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: last_run_at__gte
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: last_run_at__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: last_run_at__lt
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: last_run_at__lte
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: last_run_at__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
+ - in: query
+ name: name
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__ic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__ie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__iew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__ire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__isw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__nic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__nie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__niew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__nire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__nisw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__nre
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__re
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
+ - in: query
+ name: q
+ schema:
+ type: string
+ description: Search
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
+ schema:
+ type: string
+ - in: query
+ name: start_time
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: start_time__gt
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: start_time__gte
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: start_time__lt
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: start_time__lte
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: start_time__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: time_zone
schema:
type: array
items:
@@ -116396,6 +96139,7 @@ paths:
- America/Coral_Harbour
- America/Cordoba
- America/Costa_Rica
+ - America/Coyhaique
- America/Creston
- America/Cuiaba
- America/Curacao
@@ -116897,6 +96641,114 @@ paths:
description: |+
Time zone
+ explode: true
+ style: form
+ - in: query
+ name: time_zone__ic
+ schema:
+ type: array
+ items:
+ type: string
+ description: Time zone
+ explode: true
+ style: form
+ - in: query
+ name: time_zone__ie
+ schema:
+ type: array
+ items:
+ type: string
+ description: Time zone
+ explode: true
+ style: form
+ - in: query
+ name: time_zone__iew
+ schema:
+ type: array
+ items:
+ type: string
+ description: Time zone
+ explode: true
+ style: form
+ - in: query
+ name: time_zone__ire
+ schema:
+ type: array
+ items:
+ type: string
+ description: Time zone
+ explode: true
+ style: form
+ - in: query
+ name: time_zone__isw
+ schema:
+ type: array
+ items:
+ type: string
+ description: Time zone
+ explode: true
+ style: form
+ - in: query
+ name: time_zone__n
+ schema:
+ type: array
+ items:
+ type: string
+ description: Time zone
+ explode: true
+ style: form
+ - in: query
+ name: time_zone__nic
+ schema:
+ type: array
+ items:
+ type: string
+ description: Time zone
+ explode: true
+ style: form
+ - in: query
+ name: time_zone__nie
+ schema:
+ type: array
+ items:
+ type: string
+ description: Time zone
+ explode: true
+ style: form
+ - in: query
+ name: time_zone__niew
+ schema:
+ type: array
+ items:
+ type: string
+ description: Time zone
+ explode: true
+ style: form
+ - in: query
+ name: time_zone__nire
+ schema:
+ type: array
+ items:
+ type: string
+ description: Time zone
+ explode: true
+ style: form
+ - in: query
+ name: time_zone__nisw
+ schema:
+ type: array
+ items:
+ type: string
+ description: Time zone
+ explode: true
+ style: form
+ - in: query
+ name: time_zone__nre
+ schema:
+ type: array
+ items:
+ type: string
+ description: Time zone
explode: true
style: form
- in: query
@@ -116905,607 +96757,7 @@ paths:
type: array
items:
type: string
- enum:
- - Africa/Abidjan
- - Africa/Accra
- - Africa/Addis_Ababa
- - Africa/Algiers
- - Africa/Asmara
- - Africa/Asmera
- - Africa/Bamako
- - Africa/Bangui
- - Africa/Banjul
- - Africa/Bissau
- - Africa/Blantyre
- - Africa/Brazzaville
- - Africa/Bujumbura
- - Africa/Cairo
- - Africa/Casablanca
- - Africa/Ceuta
- - Africa/Conakry
- - Africa/Dakar
- - Africa/Dar_es_Salaam
- - Africa/Djibouti
- - Africa/Douala
- - Africa/El_Aaiun
- - Africa/Freetown
- - Africa/Gaborone
- - Africa/Harare
- - Africa/Johannesburg
- - Africa/Juba
- - Africa/Kampala
- - Africa/Khartoum
- - Africa/Kigali
- - Africa/Kinshasa
- - Africa/Lagos
- - Africa/Libreville
- - Africa/Lome
- - Africa/Luanda
- - Africa/Lubumbashi
- - Africa/Lusaka
- - Africa/Malabo
- - Africa/Maputo
- - Africa/Maseru
- - Africa/Mbabane
- - Africa/Mogadishu
- - Africa/Monrovia
- - Africa/Nairobi
- - Africa/Ndjamena
- - Africa/Niamey
- - Africa/Nouakchott
- - Africa/Ouagadougou
- - Africa/Porto-Novo
- - Africa/Sao_Tome
- - Africa/Timbuktu
- - Africa/Tripoli
- - Africa/Tunis
- - Africa/Windhoek
- - America/Adak
- - America/Anchorage
- - America/Anguilla
- - America/Antigua
- - America/Araguaina
- - America/Argentina/Buenos_Aires
- - America/Argentina/Catamarca
- - America/Argentina/ComodRivadavia
- - America/Argentina/Cordoba
- - America/Argentina/Jujuy
- - America/Argentina/La_Rioja
- - America/Argentina/Mendoza
- - America/Argentina/Rio_Gallegos
- - America/Argentina/Salta
- - America/Argentina/San_Juan
- - America/Argentina/San_Luis
- - America/Argentina/Tucuman
- - America/Argentina/Ushuaia
- - America/Aruba
- - America/Asuncion
- - America/Atikokan
- - America/Atka
- - America/Bahia
- - America/Bahia_Banderas
- - America/Barbados
- - America/Belem
- - America/Belize
- - America/Blanc-Sablon
- - America/Boa_Vista
- - America/Bogota
- - America/Boise
- - America/Buenos_Aires
- - America/Cambridge_Bay
- - America/Campo_Grande
- - America/Cancun
- - America/Caracas
- - America/Catamarca
- - America/Cayenne
- - America/Cayman
- - America/Chicago
- - America/Chihuahua
- - America/Ciudad_Juarez
- - America/Coral_Harbour
- - America/Cordoba
- - America/Costa_Rica
- - America/Creston
- - America/Cuiaba
- - America/Curacao
- - America/Danmarkshavn
- - America/Dawson
- - America/Dawson_Creek
- - America/Denver
- - America/Detroit
- - America/Dominica
- - America/Edmonton
- - America/Eirunepe
- - America/El_Salvador
- - America/Ensenada
- - America/Fort_Nelson
- - America/Fort_Wayne
- - America/Fortaleza
- - America/Glace_Bay
- - America/Godthab
- - America/Goose_Bay
- - America/Grand_Turk
- - America/Grenada
- - America/Guadeloupe
- - America/Guatemala
- - America/Guayaquil
- - America/Guyana
- - America/Halifax
- - America/Havana
- - America/Hermosillo
- - America/Indiana/Indianapolis
- - America/Indiana/Knox
- - America/Indiana/Marengo
- - America/Indiana/Petersburg
- - America/Indiana/Tell_City
- - America/Indiana/Vevay
- - America/Indiana/Vincennes
- - America/Indiana/Winamac
- - America/Indianapolis
- - America/Inuvik
- - America/Iqaluit
- - America/Jamaica
- - America/Jujuy
- - America/Juneau
- - America/Kentucky/Louisville
- - America/Kentucky/Monticello
- - America/Knox_IN
- - America/Kralendijk
- - America/La_Paz
- - America/Lima
- - America/Los_Angeles
- - America/Louisville
- - America/Lower_Princes
- - America/Maceio
- - America/Managua
- - America/Manaus
- - America/Marigot
- - America/Martinique
- - America/Matamoros
- - America/Mazatlan
- - America/Mendoza
- - America/Menominee
- - America/Merida
- - America/Metlakatla
- - America/Mexico_City
- - America/Miquelon
- - America/Moncton
- - America/Monterrey
- - America/Montevideo
- - America/Montreal
- - America/Montserrat
- - America/Nassau
- - America/New_York
- - America/Nipigon
- - America/Nome
- - America/Noronha
- - America/North_Dakota/Beulah
- - America/North_Dakota/Center
- - America/North_Dakota/New_Salem
- - America/Nuuk
- - America/Ojinaga
- - America/Panama
- - America/Pangnirtung
- - America/Paramaribo
- - America/Phoenix
- - America/Port-au-Prince
- - America/Port_of_Spain
- - America/Porto_Acre
- - America/Porto_Velho
- - America/Puerto_Rico
- - America/Punta_Arenas
- - America/Rainy_River
- - America/Rankin_Inlet
- - America/Recife
- - America/Regina
- - America/Resolute
- - America/Rio_Branco
- - America/Rosario
- - America/Santa_Isabel
- - America/Santarem
- - America/Santiago
- - America/Santo_Domingo
- - America/Sao_Paulo
- - America/Scoresbysund
- - America/Shiprock
- - America/Sitka
- - America/St_Barthelemy
- - America/St_Johns
- - America/St_Kitts
- - America/St_Lucia
- - America/St_Thomas
- - America/St_Vincent
- - America/Swift_Current
- - America/Tegucigalpa
- - America/Thule
- - America/Thunder_Bay
- - America/Tijuana
- - America/Toronto
- - America/Tortola
- - America/Vancouver
- - America/Virgin
- - America/Whitehorse
- - America/Winnipeg
- - America/Yakutat
- - America/Yellowknife
- - Antarctica/Casey
- - Antarctica/Davis
- - Antarctica/DumontDUrville
- - Antarctica/Macquarie
- - Antarctica/Mawson
- - Antarctica/McMurdo
- - Antarctica/Palmer
- - Antarctica/Rothera
- - Antarctica/South_Pole
- - Antarctica/Syowa
- - Antarctica/Troll
- - Antarctica/Vostok
- - Arctic/Longyearbyen
- - Asia/Aden
- - Asia/Almaty
- - Asia/Amman
- - Asia/Anadyr
- - Asia/Aqtau
- - Asia/Aqtobe
- - Asia/Ashgabat
- - Asia/Ashkhabad
- - Asia/Atyrau
- - Asia/Baghdad
- - Asia/Bahrain
- - Asia/Baku
- - Asia/Bangkok
- - Asia/Barnaul
- - Asia/Beirut
- - Asia/Bishkek
- - Asia/Brunei
- - Asia/Calcutta
- - Asia/Chita
- - Asia/Choibalsan
- - Asia/Chongqing
- - Asia/Chungking
- - Asia/Colombo
- - Asia/Dacca
- - Asia/Damascus
- - Asia/Dhaka
- - Asia/Dili
- - Asia/Dubai
- - Asia/Dushanbe
- - Asia/Famagusta
- - Asia/Gaza
- - Asia/Harbin
- - Asia/Hebron
- - Asia/Ho_Chi_Minh
- - Asia/Hong_Kong
- - Asia/Hovd
- - Asia/Irkutsk
- - Asia/Istanbul
- - Asia/Jakarta
- - Asia/Jayapura
- - Asia/Jerusalem
- - Asia/Kabul
- - Asia/Kamchatka
- - Asia/Karachi
- - Asia/Kashgar
- - Asia/Kathmandu
- - Asia/Katmandu
- - Asia/Khandyga
- - Asia/Kolkata
- - Asia/Krasnoyarsk
- - Asia/Kuala_Lumpur
- - Asia/Kuching
- - Asia/Kuwait
- - Asia/Macao
- - Asia/Macau
- - Asia/Magadan
- - Asia/Makassar
- - Asia/Manila
- - Asia/Muscat
- - Asia/Nicosia
- - Asia/Novokuznetsk
- - Asia/Novosibirsk
- - Asia/Omsk
- - Asia/Oral
- - Asia/Phnom_Penh
- - Asia/Pontianak
- - Asia/Pyongyang
- - Asia/Qatar
- - Asia/Qostanay
- - Asia/Qyzylorda
- - Asia/Rangoon
- - Asia/Riyadh
- - Asia/Saigon
- - Asia/Sakhalin
- - Asia/Samarkand
- - Asia/Seoul
- - Asia/Shanghai
- - Asia/Singapore
- - Asia/Srednekolymsk
- - Asia/Taipei
- - Asia/Tashkent
- - Asia/Tbilisi
- - Asia/Tehran
- - Asia/Tel_Aviv
- - Asia/Thimbu
- - Asia/Thimphu
- - Asia/Tokyo
- - Asia/Tomsk
- - Asia/Ujung_Pandang
- - Asia/Ulaanbaatar
- - Asia/Ulan_Bator
- - Asia/Urumqi
- - Asia/Ust-Nera
- - Asia/Vientiane
- - Asia/Vladivostok
- - Asia/Yakutsk
- - Asia/Yangon
- - Asia/Yekaterinburg
- - Asia/Yerevan
- - Atlantic/Azores
- - Atlantic/Bermuda
- - Atlantic/Canary
- - Atlantic/Cape_Verde
- - Atlantic/Faeroe
- - Atlantic/Faroe
- - Atlantic/Jan_Mayen
- - Atlantic/Madeira
- - Atlantic/Reykjavik
- - Atlantic/South_Georgia
- - Atlantic/St_Helena
- - Atlantic/Stanley
- - Australia/ACT
- - Australia/Adelaide
- - Australia/Brisbane
- - Australia/Broken_Hill
- - Australia/Canberra
- - Australia/Currie
- - Australia/Darwin
- - Australia/Eucla
- - Australia/Hobart
- - Australia/LHI
- - Australia/Lindeman
- - Australia/Lord_Howe
- - Australia/Melbourne
- - Australia/NSW
- - Australia/North
- - Australia/Perth
- - Australia/Queensland
- - Australia/South
- - Australia/Sydney
- - Australia/Tasmania
- - Australia/Victoria
- - Australia/West
- - Australia/Yancowinna
- - Brazil/Acre
- - Brazil/DeNoronha
- - Brazil/East
- - Brazil/West
- - CET
- - CST6CDT
- - Canada/Atlantic
- - Canada/Central
- - Canada/Eastern
- - Canada/Mountain
- - Canada/Newfoundland
- - Canada/Pacific
- - Canada/Saskatchewan
- - Canada/Yukon
- - Chile/Continental
- - Chile/EasterIsland
- - Cuba
- - EET
- - EST
- - EST5EDT
- - Egypt
- - Eire
- - Etc/GMT
- - Etc/GMT+0
- - Etc/GMT+1
- - Etc/GMT+10
- - Etc/GMT+11
- - Etc/GMT+12
- - Etc/GMT+2
- - Etc/GMT+3
- - Etc/GMT+4
- - Etc/GMT+5
- - Etc/GMT+6
- - Etc/GMT+7
- - Etc/GMT+8
- - Etc/GMT+9
- - Etc/GMT-0
- - Etc/GMT-1
- - Etc/GMT-10
- - Etc/GMT-11
- - Etc/GMT-12
- - Etc/GMT-13
- - Etc/GMT-14
- - Etc/GMT-2
- - Etc/GMT-3
- - Etc/GMT-4
- - Etc/GMT-5
- - Etc/GMT-6
- - Etc/GMT-7
- - Etc/GMT-8
- - Etc/GMT-9
- - Etc/GMT0
- - Etc/Greenwich
- - Etc/UCT
- - Etc/UTC
- - Etc/Universal
- - Etc/Zulu
- - Europe/Amsterdam
- - Europe/Andorra
- - Europe/Astrakhan
- - Europe/Athens
- - Europe/Belfast
- - Europe/Belgrade
- - Europe/Berlin
- - Europe/Bratislava
- - Europe/Brussels
- - Europe/Bucharest
- - Europe/Budapest
- - Europe/Busingen
- - Europe/Chisinau
- - Europe/Copenhagen
- - Europe/Dublin
- - Europe/Gibraltar
- - Europe/Guernsey
- - Europe/Helsinki
- - Europe/Isle_of_Man
- - Europe/Istanbul
- - Europe/Jersey
- - Europe/Kaliningrad
- - Europe/Kiev
- - Europe/Kirov
- - Europe/Kyiv
- - Europe/Lisbon
- - Europe/Ljubljana
- - Europe/London
- - Europe/Luxembourg
- - Europe/Madrid
- - Europe/Malta
- - Europe/Mariehamn
- - Europe/Minsk
- - Europe/Monaco
- - Europe/Moscow
- - Europe/Nicosia
- - Europe/Oslo
- - Europe/Paris
- - Europe/Podgorica
- - Europe/Prague
- - Europe/Riga
- - Europe/Rome
- - Europe/Samara
- - Europe/San_Marino
- - Europe/Sarajevo
- - Europe/Saratov
- - Europe/Simferopol
- - Europe/Skopje
- - Europe/Sofia
- - Europe/Stockholm
- - Europe/Tallinn
- - Europe/Tirane
- - Europe/Tiraspol
- - Europe/Ulyanovsk
- - Europe/Uzhgorod
- - Europe/Vaduz
- - Europe/Vatican
- - Europe/Vienna
- - Europe/Vilnius
- - Europe/Volgograd
- - Europe/Warsaw
- - Europe/Zagreb
- - Europe/Zaporozhye
- - Europe/Zurich
- - GB
- - GB-Eire
- - GMT
- - GMT+0
- - GMT-0
- - GMT0
- - Greenwich
- - HST
- - Hongkong
- - Iceland
- - Indian/Antananarivo
- - Indian/Chagos
- - Indian/Christmas
- - Indian/Cocos
- - Indian/Comoro
- - Indian/Kerguelen
- - Indian/Mahe
- - Indian/Maldives
- - Indian/Mauritius
- - Indian/Mayotte
- - Indian/Reunion
- - Iran
- - Israel
- - Jamaica
- - Japan
- - Kwajalein
- - Libya
- - MET
- - MST
- - MST7MDT
- - Mexico/BajaNorte
- - Mexico/BajaSur
- - Mexico/General
- - NZ
- - NZ-CHAT
- - Navajo
- - PRC
- - PST8PDT
- - Pacific/Apia
- - Pacific/Auckland
- - Pacific/Bougainville
- - Pacific/Chatham
- - Pacific/Chuuk
- - Pacific/Easter
- - Pacific/Efate
- - Pacific/Enderbury
- - Pacific/Fakaofo
- - Pacific/Fiji
- - Pacific/Funafuti
- - Pacific/Galapagos
- - Pacific/Gambier
- - Pacific/Guadalcanal
- - Pacific/Guam
- - Pacific/Honolulu
- - Pacific/Johnston
- - Pacific/Kanton
- - Pacific/Kiritimati
- - Pacific/Kosrae
- - Pacific/Kwajalein
- - Pacific/Majuro
- - Pacific/Marquesas
- - Pacific/Midway
- - Pacific/Nauru
- - Pacific/Niue
- - Pacific/Norfolk
- - Pacific/Noumea
- - Pacific/Pago_Pago
- - Pacific/Palau
- - Pacific/Pitcairn
- - Pacific/Pohnpei
- - Pacific/Ponape
- - Pacific/Port_Moresby
- - Pacific/Rarotonga
- - Pacific/Saipan
- - Pacific/Samoa
- - Pacific/Tahiti
- - Pacific/Tarawa
- - Pacific/Tongatapu
- - Pacific/Truk
- - Pacific/Wake
- - Pacific/Wallis
- - Pacific/Yap
- - Poland
- - Portugal
- - ROC
- - ROK
- - Singapore
- - Turkey
- - UCT
- - US/Alaska
- - US/Aleutian
- - US/Arizona
- - US/Central
- - US/East-Indiana
- - US/Eastern
- - US/Hawaii
- - US/Indiana-Starke
- - US/Michigan
- - US/Mountain
- - US/Pacific
- - US/Samoa
- - UTC
- - Universal
- - W-SU
- - WET
- - Zulu
- - localtime
- description: |+
- Time zone
-
+ description: Time zone
explode: true
style: form
- in: query
@@ -117565,6 +96817,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -117580,6 +96839,38 @@ paths:
schema:
$ref: '#/components/schemas/PaginatedScheduledJobList'
description: ''
+ delete:
+ operationId: extras_scheduled_jobs_bulk_destroy
+ description: Retrieve a list of scheduled jobs
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - extras
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '204':
+ description: No response body
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkOperationRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkOperationRequest'
+ required: true
/extras/scheduled-jobs/{id}/:
get:
operationId: extras_scheduled_jobs_retrieve
@@ -117608,6 +96899,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -117623,6 +96921,32 @@ paths:
schema:
$ref: '#/components/schemas/ScheduledJob'
description: ''
+ delete:
+ operationId: extras_scheduled_jobs_destroy
+ description: Retrieve a list of scheduled jobs
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this scheduled job.
+ required: true
+ tags:
+ - extras
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '204':
+ description: No response body
/extras/scheduled-jobs/{id}/approve/:
post:
operationId: extras_scheduled_jobs_approve_create
@@ -117751,9 +97075,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -117823,9 +97149,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -117844,51 +97172,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -117898,69 +97181,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: last_updated
schema:
@@ -118302,9 +97522,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -118314,6 +97536,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -118504,9 +97733,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -118576,9 +97807,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -118597,51 +97830,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -118651,69 +97839,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: last_updated
schema:
@@ -118901,6 +98026,22 @@ paths:
schema:
type: string
description: Search
+ - in: query
+ name: secrets
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: secrets__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- name: sort
required: false
in: query
@@ -118923,9 +98064,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -118935,6 +98078,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -119243,51 +98393,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -119297,69 +98402,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- name: limit
required: false
in: query
@@ -119556,6 +98598,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -119757,6 +98806,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -119913,6 +98969,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -120080,6 +99143,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -120165,6 +99235,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -120317,6 +99394,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -120382,6 +99466,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -120439,140 +99530,824 @@ paths:
schema:
$ref: '#/components/schemas/Note'
description: ''
- /extras/static-group-associations/:
+ /extras/static-group-associations/:
+ get:
+ operationId: extras_static_group_associations_list
+ description: Manage Static Group Associations through DELETE, GET, POST, PUT,
+ and PATCH requests.
+ parameters:
+ - in: query
+ name: associated_object_id
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ explode: true
+ style: form
+ - in: query
+ name: associated_object_id__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ explode: true
+ style: form
+ - in: query
+ name: associated_object_type
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: associated_object_type__n
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: created
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: created__gt
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: created__gte
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: created__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: created__lt
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: created__lte
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: created__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: dynamic_group
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: dynamic_group__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: query
+ name: id
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ explode: true
+ style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
+ - in: query
+ name: id__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ explode: true
+ style: form
+ - in: query
+ name: last_updated
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: last_updated__gt
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: last_updated__gte
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: last_updated__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: last_updated__lt
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: last_updated__lte
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: last_updated__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
+ - in: query
+ name: q
+ schema:
+ type: string
+ description: Search
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
+ schema:
+ type: string
+ - in: query
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
+ tags:
+ - extras
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PaginatedStaticGroupAssociationList'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PaginatedStaticGroupAssociationList'
+ description: ''
+ post:
+ operationId: extras_static_group_associations_create
+ description: Manage Static Group Associations through DELETE, GET, POST, PUT,
+ and PATCH requests.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - extras
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/StaticGroupAssociationRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/StaticGroupAssociationRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '201':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/StaticGroupAssociation'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/StaticGroupAssociation'
+ description: ''
+ put:
+ operationId: extras_static_group_associations_bulk_update
+ description: Manage Static Group Associations through DELETE, GET, POST, PUT,
+ and PATCH requests.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - extras
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkWritableStaticGroupAssociationRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkWritableStaticGroupAssociationRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/StaticGroupAssociation'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/StaticGroupAssociation'
+ description: ''
+ patch:
+ operationId: extras_static_group_associations_bulk_partial_update
+ description: Manage Static Group Associations through DELETE, GET, POST, PUT,
+ and PATCH requests.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - extras
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/PatchedBulkWritableStaticGroupAssociationRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/PatchedBulkWritableStaticGroupAssociationRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/StaticGroupAssociation'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/StaticGroupAssociation'
+ description: ''
+ delete:
+ operationId: extras_static_group_associations_bulk_destroy
+ description: Manage Static Group Associations through DELETE, GET, POST, PUT,
+ and PATCH requests.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - extras
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '204':
+ description: No response body
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkOperationRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkOperationRequest'
+ required: true
+ /extras/static-group-associations/{id}/:
+ get:
+ operationId: extras_static_group_associations_retrieve
+ description: Manage Static Group Associations through DELETE, GET, POST, PUT,
+ and PATCH requests.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this static group association.
+ required: true
+ - in: query
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
+ tags:
+ - extras
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/StaticGroupAssociation'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/StaticGroupAssociation'
+ description: ''
+ put:
+ operationId: extras_static_group_associations_update
+ description: Manage Static Group Associations through DELETE, GET, POST, PUT,
+ and PATCH requests.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this static group association.
+ required: true
+ tags:
+ - extras
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/StaticGroupAssociationRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/StaticGroupAssociationRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/StaticGroupAssociation'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/StaticGroupAssociation'
+ description: ''
+ patch:
+ operationId: extras_static_group_associations_partial_update
+ description: Manage Static Group Associations through DELETE, GET, POST, PUT,
+ and PATCH requests.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this static group association.
+ required: true
+ tags:
+ - extras
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PatchedStaticGroupAssociationRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PatchedStaticGroupAssociationRequest'
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/StaticGroupAssociation'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/StaticGroupAssociation'
+ description: ''
+ delete:
+ operationId: extras_static_group_associations_destroy
+ description: Manage Static Group Associations through DELETE, GET, POST, PUT,
+ and PATCH requests.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this static group association.
+ required: true
+ tags:
+ - extras
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '204':
+ description: No response body
+ /extras/static-group-associations/{id}/notes/:
+ get:
+ operationId: extras_static_group_associations_notes_list
+ description: API methods for returning or creating notes on an object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this static group association.
+ required: true
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
+ - in: query
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
+ tags:
+ - extras
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PaginatedNoteList'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PaginatedNoteList'
+ description: ''
+ post:
+ operationId: extras_static_group_associations_notes_create
+ description: API methods for returning or creating notes on an object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this static group association.
+ required: true
+ tags:
+ - extras
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/NoteInputRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/NoteInputRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '201':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Note'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/Note'
+ description: ''
+ /extras/statuses/:
get:
- operationId: extras_static_group_associations_list
- description: Manage Static Group Associations through DELETE, GET, POST, PUT,
- and PATCH requests.
+ operationId: extras_statuses_list
+ description: View and manage custom status choices for objects with a `status`
+ field.
parameters:
- in: query
- name: associated_object_id
+ name: color
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: associated_object_id__ic
+ name: color__ic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: associated_object_id__ie
+ name: color__ie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: associated_object_id__iew
+ name: color__iew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: associated_object_id__ire
+ name: color__ire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: associated_object_id__isw
+ name: color__isw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: associated_object_id__n
+ name: color__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: associated_object_id__nic
+ name: color__nic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: associated_object_id__nie
+ name: color__nie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: associated_object_id__niew
+ name: color__niew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: associated_object_id__nire
+ name: color__nire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: associated_object_id__nisw
+ name: color__nisw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: associated_object_id__nre
+ name: color__nre
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: associated_object_id__re
+ name: color__re
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: associated_object_type
+ name: contacts
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: contacts__isnull
+ schema:
+ type: boolean
+ description: Contacts (name or ID) is null
+ - in: query
+ name: contacts__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: content_types
schema:
type: array
items:
@@ -120580,7 +100355,7 @@ paths:
explode: true
style: form
- in: query
- name: associated_object_type__n
+ name: content_types__n
schema:
type: array
items:
@@ -120646,7 +100421,7 @@ paths:
explode: true
style: form
- in: query
- name: dynamic_group
+ name: dynamic_groups
schema:
type: array
items:
@@ -120654,7 +100429,7 @@ paths:
explode: true
style: form
- in: query
- name: dynamic_group__n
+ name: dynamic_groups__n
schema:
type: array
items:
@@ -120680,7 +100455,7 @@ paths:
description: Unique object identifier, either a UUID primary key or a composite
key.
- in: query
- name: id__ic
+ name: id__n
schema:
type: array
items:
@@ -120689,177 +100464,181 @@ paths:
explode: true
style: form
- in: query
- name: id__ie
+ name: last_updated
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__iew
+ name: last_updated__gt
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__ire
+ name: last_updated__gte
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__isw
+ name: last_updated__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: last_updated__lt
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__n
+ name: last_updated__lte
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__nic
+ name: last_updated__n
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
- in: query
- name: id__nie
+ name: name
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__niew
+ name: name__ic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nire
+ name: name__ie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nisw
+ name: name__iew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nre
+ name: name__ire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__re
+ name: name__isw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: last_updated
+ name: name__n
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__gt
+ name: name__nic
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__gte
+ name: name__nie
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__isnull
+ name: name__niew
schema:
- type: boolean
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: last_updated__lt
+ name: name__nire
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__lte
+ name: name__nisw
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__n
+ name: name__nre
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
+ - in: query
+ name: name__re
schema:
- type: integer
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- name: offset
required: false
in: query
@@ -120877,6 +100656,27 @@ paths:
description: Which field to use when ordering the results.
schema:
type: string
+ - in: query
+ name: teams
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: teams__isnull
+ schema:
+ type: boolean
+ description: Teams (name or ID) is null
+ - in: query
+ name: teams__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -120886,6 +100686,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -120896,15 +100703,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedStaticGroupAssociationList'
+ $ref: '#/components/schemas/PaginatedStatusList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedStaticGroupAssociationList'
+ $ref: '#/components/schemas/PaginatedStatusList'
description: ''
post:
- operationId: extras_static_group_associations_create
- description: Manage Static Group Associations through DELETE, GET, POST, PUT,
- and PATCH requests.
+ operationId: extras_statuses_create
+ description: View and manage custom status choices for objects with a `status`
+ field.
parameters:
- in: query
name: format
@@ -120919,10 +100726,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/StaticGroupAssociationRequest'
+ $ref: '#/components/schemas/StatusRequest'
text/csv:
schema:
- $ref: '#/components/schemas/StaticGroupAssociationRequest'
+ $ref: '#/components/schemas/StatusRequest'
required: true
security:
- cookieAuth: []
@@ -120932,15 +100739,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/StaticGroupAssociation'
+ $ref: '#/components/schemas/Status'
text/csv:
schema:
- $ref: '#/components/schemas/StaticGroupAssociation'
+ $ref: '#/components/schemas/Status'
description: ''
put:
- operationId: extras_static_group_associations_bulk_update
- description: Manage Static Group Associations through DELETE, GET, POST, PUT,
- and PATCH requests.
+ operationId: extras_statuses_bulk_update
+ description: View and manage custom status choices for objects with a `status`
+ field.
parameters:
- in: query
name: format
@@ -120957,12 +100764,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableStaticGroupAssociationRequest'
+ $ref: '#/components/schemas/BulkWritableStatusRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableStaticGroupAssociationRequest'
+ $ref: '#/components/schemas/BulkWritableStatusRequest'
required: true
security:
- cookieAuth: []
@@ -120974,17 +100781,17 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/StaticGroupAssociation'
+ $ref: '#/components/schemas/Status'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/StaticGroupAssociation'
+ $ref: '#/components/schemas/Status'
description: ''
patch:
- operationId: extras_static_group_associations_bulk_partial_update
- description: Manage Static Group Associations through DELETE, GET, POST, PUT,
- and PATCH requests.
+ operationId: extras_statuses_bulk_partial_update
+ description: View and manage custom status choices for objects with a `status`
+ field.
parameters:
- in: query
name: format
@@ -121001,12 +100808,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableStaticGroupAssociationRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableStatusRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableStaticGroupAssociationRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableStatusRequest'
required: true
security:
- cookieAuth: []
@@ -121018,17 +100825,17 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/StaticGroupAssociation'
+ $ref: '#/components/schemas/Status'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/StaticGroupAssociation'
+ $ref: '#/components/schemas/Status'
description: ''
delete:
- operationId: extras_static_group_associations_bulk_destroy
- description: Manage Static Group Associations through DELETE, GET, POST, PUT,
- and PATCH requests.
+ operationId: extras_statuses_bulk_destroy
+ description: View and manage custom status choices for objects with a `status`
+ field.
parameters:
- in: query
name: format
@@ -121058,11 +100865,11 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /extras/static-group-associations/{id}/:
+ /extras/statuses/{id}/:
get:
- operationId: extras_static_group_associations_retrieve
- description: Manage Static Group Associations through DELETE, GET, POST, PUT,
- and PATCH requests.
+ operationId: extras_statuses_retrieve
+ description: View and manage custom status choices for objects with a `status`
+ field.
parameters:
- in: query
name: format
@@ -121076,7 +100883,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this static group association.
+ description: A UUID string identifying this status.
required: true
- in: query
name: depth
@@ -121087,6 +100894,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -121097,15 +100911,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/StaticGroupAssociation'
+ $ref: '#/components/schemas/Status'
text/csv:
schema:
- $ref: '#/components/schemas/StaticGroupAssociation'
+ $ref: '#/components/schemas/Status'
description: ''
put:
- operationId: extras_static_group_associations_update
- description: Manage Static Group Associations through DELETE, GET, POST, PUT,
- and PATCH requests.
+ operationId: extras_statuses_update
+ description: View and manage custom status choices for objects with a `status`
+ field.
parameters:
- in: query
name: format
@@ -121119,7 +100933,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this static group association.
+ description: A UUID string identifying this status.
required: true
tags:
- extras
@@ -121127,10 +100941,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/StaticGroupAssociationRequest'
+ $ref: '#/components/schemas/StatusRequest'
text/csv:
schema:
- $ref: '#/components/schemas/StaticGroupAssociationRequest'
+ $ref: '#/components/schemas/StatusRequest'
required: true
security:
- cookieAuth: []
@@ -121140,15 +100954,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/StaticGroupAssociation'
+ $ref: '#/components/schemas/Status'
text/csv:
schema:
- $ref: '#/components/schemas/StaticGroupAssociation'
+ $ref: '#/components/schemas/Status'
description: ''
patch:
- operationId: extras_static_group_associations_partial_update
- description: Manage Static Group Associations through DELETE, GET, POST, PUT,
- and PATCH requests.
+ operationId: extras_statuses_partial_update
+ description: View and manage custom status choices for objects with a `status`
+ field.
parameters:
- in: query
name: format
@@ -121162,7 +100976,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this static group association.
+ description: A UUID string identifying this status.
required: true
tags:
- extras
@@ -121170,10 +100984,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedStaticGroupAssociationRequest'
+ $ref: '#/components/schemas/PatchedStatusRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedStaticGroupAssociationRequest'
+ $ref: '#/components/schemas/PatchedStatusRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -121182,15 +100996,15 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/StaticGroupAssociation'
+ $ref: '#/components/schemas/Status'
text/csv:
schema:
- $ref: '#/components/schemas/StaticGroupAssociation'
+ $ref: '#/components/schemas/Status'
description: ''
delete:
- operationId: extras_static_group_associations_destroy
- description: Manage Static Group Associations through DELETE, GET, POST, PUT,
- and PATCH requests.
+ operationId: extras_statuses_destroy
+ description: View and manage custom status choices for objects with a `status`
+ field.
parameters:
- in: query
name: format
@@ -121204,7 +101018,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this static group association.
+ description: A UUID string identifying this status.
required: true
tags:
- extras
@@ -121214,9 +101028,9 @@ paths:
responses:
'204':
description: No response body
- /extras/static-group-associations/{id}/notes/:
+ /extras/statuses/{id}/notes/:
get:
- operationId: extras_static_group_associations_notes_list
+ operationId: extras_statuses_notes_list
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -121231,7 +101045,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this static group association.
+ description: A UUID string identifying this status.
required: true
- name: limit
required: false
@@ -121254,6 +101068,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -121270,7 +101091,7 @@ paths:
$ref: '#/components/schemas/PaginatedNoteList'
description: ''
post:
- operationId: extras_static_group_associations_notes_create
+ operationId: extras_statuses_notes_create
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -121285,7 +101106,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this static group association.
+ description: A UUID string identifying this status.
required: true
tags:
- extras
@@ -121311,11 +101132,10 @@ paths:
schema:
$ref: '#/components/schemas/Note'
description: ''
- /extras/statuses/:
+ /extras/tags/:
get:
- operationId: extras_statuses_list
- description: View and manage custom status choices for objects with a `status`
- field.
+ operationId: extras_tags_list
+ description: Retrieve a list of tag objects.
parameters:
- in: query
name: color
@@ -121444,52 +101264,14 @@ paths:
description: Contacts (name or ID) is null
- in: query
name: contacts__n
- schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
- - in: query
- name: content_types
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__ic
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__ie
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__iew
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__ire
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: content_types__isw
+ name: content_types
schema:
type: array
items:
@@ -121504,62 +101286,6 @@ paths:
type: integer
explode: true
style: form
- - in: query
- name: content_types__nic
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__nie
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__niew
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__nire
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__nisw
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__nre
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: content_types__re
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- in: query
name: created
schema:
@@ -121629,9 +101355,11 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -121650,51 +101378,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -121704,69 +101387,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: last_updated
schema:
@@ -121976,9 +101596,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -121988,6 +101610,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -121998,15 +101627,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedStatusList'
+ $ref: '#/components/schemas/PaginatedTagList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedStatusList'
+ $ref: '#/components/schemas/PaginatedTagList'
description: ''
post:
- operationId: extras_statuses_create
- description: View and manage custom status choices for objects with a `status`
- field.
+ operationId: extras_tags_create
+ description: Create one or more tag objects.
parameters:
- in: query
name: format
@@ -122021,10 +101649,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/StatusRequest'
+ $ref: '#/components/schemas/TagRequest'
text/csv:
schema:
- $ref: '#/components/schemas/StatusRequest'
+ $ref: '#/components/schemas/TagRequest'
required: true
security:
- cookieAuth: []
@@ -122034,15 +101662,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Status'
+ $ref: '#/components/schemas/Tag'
text/csv:
schema:
- $ref: '#/components/schemas/Status'
+ $ref: '#/components/schemas/Tag'
description: ''
put:
- operationId: extras_statuses_bulk_update
- description: View and manage custom status choices for objects with a `status`
- field.
+ operationId: extras_tags_bulk_update
+ description: Update a list of tag objects.
parameters:
- in: query
name: format
@@ -122059,12 +101686,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableStatusRequest'
+ $ref: '#/components/schemas/BulkWritableTagRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableStatusRequest'
+ $ref: '#/components/schemas/BulkWritableTagRequest'
required: true
security:
- cookieAuth: []
@@ -122076,17 +101703,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/Status'
+ $ref: '#/components/schemas/Tag'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/Status'
+ $ref: '#/components/schemas/Tag'
description: ''
patch:
- operationId: extras_statuses_bulk_partial_update
- description: View and manage custom status choices for objects with a `status`
- field.
+ operationId: extras_tags_bulk_partial_update
+ description: Partial update a list of tag objects.
parameters:
- in: query
name: format
@@ -122103,12 +101729,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableStatusRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableTagRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableStatusRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableTagRequest'
required: true
security:
- cookieAuth: []
@@ -122120,17 +101746,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/Status'
+ $ref: '#/components/schemas/Tag'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/Status'
+ $ref: '#/components/schemas/Tag'
description: ''
delete:
- operationId: extras_statuses_bulk_destroy
- description: View and manage custom status choices for objects with a `status`
- field.
+ operationId: extras_tags_bulk_destroy
+ description: Destroy a list of tag objects.
parameters:
- in: query
name: format
@@ -122160,11 +101785,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /extras/statuses/{id}/:
+ /extras/tags/{id}/:
get:
- operationId: extras_statuses_retrieve
- description: View and manage custom status choices for objects with a `status`
- field.
+ operationId: extras_tags_retrieve
+ description: Retrieve a tag object.
parameters:
- in: query
name: format
@@ -122178,7 +101802,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this status.
+ description: A UUID string identifying this tag.
required: true
- in: query
name: depth
@@ -122189,6 +101813,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -122199,15 +101830,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Status'
+ $ref: '#/components/schemas/Tag'
text/csv:
schema:
- $ref: '#/components/schemas/Status'
+ $ref: '#/components/schemas/Tag'
description: ''
put:
- operationId: extras_statuses_update
- description: View and manage custom status choices for objects with a `status`
- field.
+ operationId: extras_tags_update
+ description: Update a tag object.
parameters:
- in: query
name: format
@@ -122221,7 +101851,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this status.
+ description: A UUID string identifying this tag.
required: true
tags:
- extras
@@ -122229,10 +101859,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/StatusRequest'
+ $ref: '#/components/schemas/TagRequest'
text/csv:
schema:
- $ref: '#/components/schemas/StatusRequest'
+ $ref: '#/components/schemas/TagRequest'
required: true
security:
- cookieAuth: []
@@ -122242,15 +101872,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Status'
+ $ref: '#/components/schemas/Tag'
text/csv:
schema:
- $ref: '#/components/schemas/Status'
+ $ref: '#/components/schemas/Tag'
description: ''
patch:
- operationId: extras_statuses_partial_update
- description: View and manage custom status choices for objects with a `status`
- field.
+ operationId: extras_tags_partial_update
+ description: Partial update a tag object.
parameters:
- in: query
name: format
@@ -122264,7 +101893,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this status.
+ description: A UUID string identifying this tag.
required: true
tags:
- extras
@@ -122272,10 +101901,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedStatusRequest'
+ $ref: '#/components/schemas/PatchedTagRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedStatusRequest'
+ $ref: '#/components/schemas/PatchedTagRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -122284,15 +101913,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Status'
+ $ref: '#/components/schemas/Tag'
text/csv:
schema:
- $ref: '#/components/schemas/Status'
+ $ref: '#/components/schemas/Tag'
description: ''
delete:
- operationId: extras_statuses_destroy
- description: View and manage custom status choices for objects with a `status`
- field.
+ operationId: extras_tags_destroy
+ description: Destroy a tag object.
parameters:
- in: query
name: format
@@ -122306,7 +101934,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this status.
+ description: A UUID string identifying this tag.
required: true
tags:
- extras
@@ -122316,9 +101944,9 @@ paths:
responses:
'204':
description: No response body
- /extras/statuses/{id}/notes/:
+ /extras/tags/{id}/notes/:
get:
- operationId: extras_statuses_notes_list
+ operationId: extras_tags_notes_list
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -122333,7 +101961,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this status.
+ description: A UUID string identifying this tag.
required: true
- name: limit
required: false
@@ -122356,6 +101984,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -122372,7 +102007,7 @@ paths:
$ref: '#/components/schemas/PaginatedNoteList'
description: ''
post:
- operationId: extras_statuses_notes_create
+ operationId: extras_tags_notes_create
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -122387,7 +102022,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this status.
+ description: A UUID string identifying this tag.
required: true
tags:
- extras
@@ -122413,13 +102048,13 @@ paths:
schema:
$ref: '#/components/schemas/Note'
description: ''
- /extras/tags/:
+ /extras/teams/:
get:
- operationId: extras_tags_list
- description: Retrieve a list of tag objects.
+ operationId: extras_teams_list
+ description: Retrieve a list of team objects.
parameters:
- in: query
- name: color
+ name: address
schema:
type: array
items:
@@ -122427,7 +102062,7 @@ paths:
explode: true
style: form
- in: query
- name: color__ic
+ name: address__ic
schema:
type: array
items:
@@ -122435,7 +102070,7 @@ paths:
explode: true
style: form
- in: query
- name: color__ie
+ name: address__ie
schema:
type: array
items:
@@ -122443,7 +102078,7 @@ paths:
explode: true
style: form
- in: query
- name: color__iew
+ name: address__iew
schema:
type: array
items:
@@ -122451,7 +102086,7 @@ paths:
explode: true
style: form
- in: query
- name: color__ire
+ name: address__ire
schema:
type: array
items:
@@ -122459,7 +102094,7 @@ paths:
explode: true
style: form
- in: query
- name: color__isw
+ name: address__isw
schema:
type: array
items:
@@ -122467,7 +102102,7 @@ paths:
explode: true
style: form
- in: query
- name: color__n
+ name: address__n
schema:
type: array
items:
@@ -122475,7 +102110,7 @@ paths:
explode: true
style: form
- in: query
- name: color__nic
+ name: address__nic
schema:
type: array
items:
@@ -122483,7 +102118,7 @@ paths:
explode: true
style: form
- in: query
- name: color__nie
+ name: address__nie
schema:
type: array
items:
@@ -122491,7 +102126,7 @@ paths:
explode: true
style: form
- in: query
- name: color__niew
+ name: address__niew
schema:
type: array
items:
@@ -122499,7 +102134,7 @@ paths:
explode: true
style: form
- in: query
- name: color__nire
+ name: address__nire
schema:
type: array
items:
@@ -122507,7 +102142,7 @@ paths:
explode: true
style: form
- in: query
- name: color__nisw
+ name: address__nisw
schema:
type: array
items:
@@ -122515,7 +102150,7 @@ paths:
explode: true
style: form
- in: query
- name: color__nre
+ name: address__nre
schema:
type: array
items:
@@ -122523,7 +102158,7 @@ paths:
explode: true
style: form
- in: query
- name: color__re
+ name: address__re
schema:
type: array
items:
@@ -122531,7 +102166,7 @@ paths:
explode: true
style: form
- in: query
- name: contacts
+ name: comments
schema:
type: array
items:
@@ -122539,126 +102174,125 @@ paths:
explode: true
style: form
- in: query
- name: contacts__isnull
- schema:
- type: boolean
- description: Contacts (name or ID) is null
- - in: query
- name: contacts__n
+ name: comments__ic
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: content_types
+ name: comments__ie
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: content_types__ic
+ name: comments__iew
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: content_types__ie
+ name: comments__ire
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: content_types__iew
+ name: comments__isw
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: content_types__ire
+ name: comments__n
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: content_types__isw
+ name: comments__nic
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: content_types__n
+ name: comments__nie
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: content_types__nic
+ name: comments__niew
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: content_types__nie
+ name: comments__nire
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: content_types__niew
+ name: comments__nisw
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: content_types__nire
+ name: comments__nre
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: content_types__nisw
+ name: comments__re
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: content_types__nre
+ name: contacts
schema:
type: array
items:
- type: integer
+ type: string
+ format: uuid
explode: true
style: form
- in: query
- name: content_types__re
+ name: contacts__n
schema:
type: array
items:
- type: integer
+ type: string
+ format: uuid
explode: true
style: form
- in: query
@@ -122730,128 +102364,132 @@ paths:
- in: query
name: dynamic_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: format
+ name: email
schema:
- type: string
- enum:
- - csv
- - json
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: id
+ name: email__ic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- description: Unique object identifier, either a UUID primary key or a composite
- key.
- in: query
- name: id__ic
+ name: email__ie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ie
+ name: email__iew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__iew
+ name: email__ire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ire
+ name: email__isw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__isw
+ name: email__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__n
+ name: email__nic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nic
+ name: email__nie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nie
+ name: email__niew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__niew
+ name: email__nire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nire
+ name: email__nisw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nisw
+ name: email__nre
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: email__re
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nre
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: query
+ name: id
schema:
type: array
items:
@@ -122859,8 +102497,10 @@ paths:
format: uuid
explode: true
style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
- name: id__re
+ name: id__n
schema:
type: array
items:
@@ -123050,11 +102690,131 @@ paths:
description: The initial index from which to return the results.
schema:
type: integer
+ - in: query
+ name: phone
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: phone__ic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: phone__ie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: phone__iew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: phone__ire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: phone__isw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: phone__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: phone__nic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: phone__nie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: phone__niew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: phone__nire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: phone__nisw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: phone__nre
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: phone__re
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: q
schema:
type: string
description: Search
+ - in: query
+ name: similar_to_location_data
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- name: sort
required: false
in: query
@@ -123062,7 +102822,7 @@ paths:
schema:
type: string
- in: query
- name: teams
+ name: tags
schema:
type: array
items:
@@ -123070,16 +102830,17 @@ paths:
explode: true
style: form
- in: query
- name: teams__isnull
+ name: tags__isnull
schema:
type: boolean
- description: Teams (name or ID) is null
- in: query
- name: teams__n
+ name: tags__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -123089,6 +102850,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -123099,14 +102867,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedTagList'
+ $ref: '#/components/schemas/PaginatedTeamList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedTagList'
+ $ref: '#/components/schemas/PaginatedTeamList'
description: ''
post:
- operationId: extras_tags_create
- description: Create one or more tag objects.
+ operationId: extras_teams_create
+ description: Create one or more team objects.
parameters:
- in: query
name: format
@@ -123121,10 +102889,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/TagRequest'
+ $ref: '#/components/schemas/TeamRequest'
text/csv:
schema:
- $ref: '#/components/schemas/TagRequest'
+ $ref: '#/components/schemas/TeamRequest'
required: true
security:
- cookieAuth: []
@@ -123134,14 +102902,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Tag'
+ $ref: '#/components/schemas/Team'
text/csv:
schema:
- $ref: '#/components/schemas/Tag'
+ $ref: '#/components/schemas/Team'
description: ''
put:
- operationId: extras_tags_bulk_update
- description: Update a list of tag objects.
+ operationId: extras_teams_bulk_update
+ description: Update a list of team objects.
parameters:
- in: query
name: format
@@ -123158,12 +102926,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableTagRequest'
+ $ref: '#/components/schemas/BulkWritableTeamRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableTagRequest'
+ $ref: '#/components/schemas/BulkWritableTeamRequest'
required: true
security:
- cookieAuth: []
@@ -123175,16 +102943,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/Tag'
+ $ref: '#/components/schemas/Team'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/Tag'
+ $ref: '#/components/schemas/Team'
description: ''
patch:
- operationId: extras_tags_bulk_partial_update
- description: Partial update a list of tag objects.
+ operationId: extras_teams_bulk_partial_update
+ description: Partial update a list of team objects.
parameters:
- in: query
name: format
@@ -123201,12 +102969,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableTagRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableTeamRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableTagRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableTeamRequest'
required: true
security:
- cookieAuth: []
@@ -123218,16 +102986,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/Tag'
+ $ref: '#/components/schemas/Team'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/Tag'
+ $ref: '#/components/schemas/Team'
description: ''
delete:
- operationId: extras_tags_bulk_destroy
- description: Destroy a list of tag objects.
+ operationId: extras_teams_bulk_destroy
+ description: Destroy a list of team objects.
parameters:
- in: query
name: format
@@ -123257,10 +103025,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /extras/tags/{id}/:
+ /extras/teams/{id}/:
get:
- operationId: extras_tags_retrieve
- description: Retrieve a tag object.
+ operationId: extras_teams_retrieve
+ description: Retrieve a team object.
parameters:
- in: query
name: format
@@ -123274,7 +103042,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this tag.
+ description: A UUID string identifying this team.
required: true
- in: query
name: depth
@@ -123285,6 +103053,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -123295,14 +103070,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Tag'
+ $ref: '#/components/schemas/Team'
text/csv:
schema:
- $ref: '#/components/schemas/Tag'
+ $ref: '#/components/schemas/Team'
description: ''
put:
- operationId: extras_tags_update
- description: Update a tag object.
+ operationId: extras_teams_update
+ description: Update a team object.
parameters:
- in: query
name: format
@@ -123316,7 +103091,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this tag.
+ description: A UUID string identifying this team.
required: true
tags:
- extras
@@ -123324,10 +103099,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/TagRequest'
+ $ref: '#/components/schemas/TeamRequest'
text/csv:
schema:
- $ref: '#/components/schemas/TagRequest'
+ $ref: '#/components/schemas/TeamRequest'
required: true
security:
- cookieAuth: []
@@ -123337,14 +103112,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Tag'
+ $ref: '#/components/schemas/Team'
text/csv:
schema:
- $ref: '#/components/schemas/Tag'
+ $ref: '#/components/schemas/Team'
description: ''
patch:
- operationId: extras_tags_partial_update
- description: Partial update a tag object.
+ operationId: extras_teams_partial_update
+ description: Partial update a team object.
parameters:
- in: query
name: format
@@ -123358,7 +103133,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this tag.
+ description: A UUID string identifying this team.
required: true
tags:
- extras
@@ -123366,10 +103141,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedTagRequest'
+ $ref: '#/components/schemas/PatchedTeamRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedTagRequest'
+ $ref: '#/components/schemas/PatchedTeamRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -123378,14 +103153,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Tag'
+ $ref: '#/components/schemas/Team'
text/csv:
schema:
- $ref: '#/components/schemas/Tag'
+ $ref: '#/components/schemas/Team'
description: ''
delete:
- operationId: extras_tags_destroy
- description: Destroy a tag object.
+ operationId: extras_teams_destroy
+ description: Destroy a team object.
parameters:
- in: query
name: format
@@ -123399,7 +103174,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this tag.
+ description: A UUID string identifying this team.
required: true
tags:
- extras
@@ -123409,9 +103184,9 @@ paths:
responses:
'204':
description: No response body
- /extras/tags/{id}/notes/:
+ /extras/teams/{id}/notes/:
get:
- operationId: extras_tags_notes_list
+ operationId: extras_teams_notes_list
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -123426,7 +103201,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this tag.
+ description: A UUID string identifying this team.
required: true
- name: limit
required: false
@@ -123449,6 +103224,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -123465,7 +103247,7 @@ paths:
$ref: '#/components/schemas/PaginatedNoteList'
description: ''
post:
- operationId: extras_tags_notes_create
+ operationId: extras_teams_notes_create
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -123480,7 +103262,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this tag.
+ description: A UUID string identifying this team.
required: true
tags:
- extras
@@ -123506,77 +103288,70 @@ paths:
schema:
$ref: '#/components/schemas/Note'
description: ''
- /extras/teams/:
+ /extras/user-saved-view-associations/:
get:
- operationId: extras_teams_list
- description: Retrieve a list of team objects.
+ operationId: extras_user_saved_view_associations_list
+ description: Retrieve a list of user saved view association objects.
parameters:
- in: query
- name: address
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: address__ic
+ name: created
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: address__ie
+ name: format
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: string
+ enum:
+ - csv
+ - json
- in: query
- name: address__iew
+ name: id
schema:
type: array
items:
type: string
+ format: uuid
explode: true
style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
- name: address__ire
+ name: id__n
schema:
type: array
items:
type: string
+ format: uuid
explode: true
style: form
- in: query
- name: address__isw
+ name: last_updated
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- - in: query
- name: address__n
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: address__nic
+ type: integer
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: integer
- in: query
- name: address__nie
+ name: saved_view
schema:
type: array
items:
@@ -123584,23 +103359,21 @@ paths:
explode: true
style: form
- in: query
- name: address__niew
+ name: saved_view__n
schema:
type: array
items:
type: string
explode: true
style: form
- - in: query
- name: address__nire
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: string
- in: query
- name: address__nisw
+ name: user
schema:
type: array
items:
@@ -123608,7 +103381,7 @@ paths:
explode: true
style: form
- in: query
- name: address__nre
+ name: user__n
schema:
type: array
items:
@@ -123616,7 +103389,7 @@ paths:
explode: true
style: form
- in: query
- name: address__re
+ name: view_name
schema:
type: array
items:
@@ -123624,7 +103397,7 @@ paths:
explode: true
style: form
- in: query
- name: comments
+ name: view_name__ic
schema:
type: array
items:
@@ -123632,7 +103405,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__ic
+ name: view_name__ie
schema:
type: array
items:
@@ -123640,7 +103413,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__ie
+ name: view_name__iew
schema:
type: array
items:
@@ -123648,7 +103421,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__iew
+ name: view_name__ire
schema:
type: array
items:
@@ -123656,7 +103429,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__ire
+ name: view_name__isw
schema:
type: array
items:
@@ -123664,7 +103437,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__isw
+ name: view_name__n
schema:
type: array
items:
@@ -123672,7 +103445,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__n
+ name: view_name__nic
schema:
type: array
items:
@@ -123680,7 +103453,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__nic
+ name: view_name__nie
schema:
type: array
items:
@@ -123688,7 +103461,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__nie
+ name: view_name__niew
schema:
type: array
items:
@@ -123696,7 +103469,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__niew
+ name: view_name__nire
schema:
type: array
items:
@@ -123704,7 +103477,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__nire
+ name: view_name__nisw
schema:
type: array
items:
@@ -123712,7 +103485,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__nisw
+ name: view_name__nre
schema:
type: array
items:
@@ -123720,7 +103493,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__nre
+ name: view_name__re
schema:
type: array
items:
@@ -123728,153 +103501,355 @@ paths:
explode: true
style: form
- in: query
- name: comments__re
+ name: depth
+ required: false
+ description: Serializer Depth
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
- in: query
- name: contacts
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
+ type: boolean
+ default: false
+ tags:
+ - extras
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PaginatedUserSavedViewAssociationList'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PaginatedUserSavedViewAssociationList'
+ description: ''
+ post:
+ operationId: extras_user_saved_view_associations_create
+ description: Create one or more user saved view association objects.
+ parameters:
- in: query
- name: contacts__n
+ name: format
schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - extras
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/UserSavedViewAssociationRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/UserSavedViewAssociationRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '201':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/UserSavedViewAssociation'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/UserSavedViewAssociation'
+ description: ''
+ put:
+ operationId: extras_user_saved_view_associations_bulk_update
+ description: Update a list of user saved view association objects.
+ parameters:
- in: query
- name: created
+ name: format
schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - extras
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkWritableUserSavedViewAssociationRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkWritableUserSavedViewAssociationRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/UserSavedViewAssociation'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/UserSavedViewAssociation'
+ description: ''
+ patch:
+ operationId: extras_user_saved_view_associations_bulk_partial_update
+ description: Partial update a list of user saved view association objects.
+ parameters:
- in: query
- name: created__gt
+ name: format
schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - extras
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/PatchedBulkWritableUserSavedViewAssociationRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/PatchedBulkWritableUserSavedViewAssociationRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/UserSavedViewAssociation'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/UserSavedViewAssociation'
+ description: ''
+ delete:
+ operationId: extras_user_saved_view_associations_bulk_destroy
+ description: Destroy a list of user saved view association objects.
+ parameters:
- in: query
- name: created__gte
+ name: format
schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - extras
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '204':
+ description: No response body
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkOperationRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkOperationRequest'
+ required: true
+ /extras/user-saved-view-associations/{id}/:
+ get:
+ operationId: extras_user_saved_view_associations_retrieve
+ description: Retrieve a user saved view association object.
+ parameters:
- in: query
- name: created__isnull
+ name: format
schema:
- type: boolean
- - in: query
- name: created__lt
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
+ type: string
+ format: uuid
+ description: A UUID string identifying this user saved view association.
+ required: true
- in: query
- name: created__lte
+ name: depth
+ required: false
+ description: Serializer Depth
schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
- in: query
- name: created__n
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
+ type: boolean
+ default: false
+ tags:
+ - extras
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/UserSavedViewAssociation'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/UserSavedViewAssociation'
+ description: ''
+ put:
+ operationId: extras_user_saved_view_associations_update
+ description: Update a user saved view association object.
+ parameters:
- in: query
- name: dynamic_groups
+ name: format
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: dynamic_groups__n
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
schema:
type: string
format: uuid
- description: Exclude Dynamic groups (name or ID)
- - in: query
- name: email
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: email__ic
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ description: A UUID string identifying this user saved view association.
+ required: true
+ tags:
+ - extras
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/UserSavedViewAssociationRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/UserSavedViewAssociationRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/UserSavedViewAssociation'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/UserSavedViewAssociation'
+ description: ''
+ patch:
+ operationId: extras_user_saved_view_associations_partial_update
+ description: Partial update a user saved view association object.
+ parameters:
- in: query
- name: email__ie
+ name: format
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: email__iew
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: string
+ format: uuid
+ description: A UUID string identifying this user saved view association.
+ required: true
+ tags:
+ - extras
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PatchedUserSavedViewAssociationRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PatchedUserSavedViewAssociationRequest'
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/UserSavedViewAssociation'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/UserSavedViewAssociation'
+ description: ''
+ delete:
+ operationId: extras_user_saved_view_associations_destroy
+ description: Destroy a user saved view association object.
+ parameters:
- in: query
- name: email__ire
+ name: format
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: email__isw
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: string
+ format: uuid
+ description: A UUID string identifying this user saved view association.
+ required: true
+ tags:
+ - extras
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '204':
+ description: No response body
+ /extras/webhooks/:
+ get:
+ operationId: extras_webhooks_list
+ description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests.
+ parameters:
- in: query
- name: email__n
+ name: contacts
schema:
type: array
items:
@@ -123882,15 +103857,12 @@ paths:
explode: true
style: form
- in: query
- name: email__nic
+ name: contacts__isnull
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
+ description: Contacts (name or ID) is null
- in: query
- name: email__nie
+ name: contacts__n
schema:
type: array
items:
@@ -123898,23 +103870,23 @@ paths:
explode: true
style: form
- in: query
- name: email__niew
+ name: content_types
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: email__nire
+ name: content_types__n
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: email__nisw
+ name: dynamic_groups
schema:
type: array
items:
@@ -123922,7 +103894,7 @@ paths:
explode: true
style: form
- in: query
- name: email__nre
+ name: dynamic_groups__n
schema:
type: array
items:
@@ -123930,13 +103902,9 @@ paths:
explode: true
style: form
- in: query
- name: email__re
+ name: enabled
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
- in: query
name: format
schema:
@@ -123955,51 +103923,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -124009,127 +103932,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: last_updated
- schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
- - in: query
- name: last_updated__gt
- schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
- - in: query
- name: last_updated__gte
- schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
- - in: query
- name: last_updated__isnull
- schema:
- type: boolean
- - in: query
- name: last_updated__lt
- schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
- - in: query
- name: last_updated__lte
- schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
- - in: query
- name: last_updated__n
- schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
- name: limit
required: false
in: query
@@ -124255,7 +104057,7 @@ paths:
schema:
type: integer
- in: query
- name: phone
+ name: payload_url
schema:
type: array
items:
@@ -124263,7 +104065,7 @@ paths:
explode: true
style: form
- in: query
- name: phone__ic
+ name: payload_url__ic
schema:
type: array
items:
@@ -124271,7 +104073,7 @@ paths:
explode: true
style: form
- in: query
- name: phone__ie
+ name: payload_url__ie
schema:
type: array
items:
@@ -124279,7 +104081,7 @@ paths:
explode: true
style: form
- in: query
- name: phone__iew
+ name: payload_url__iew
schema:
type: array
items:
@@ -124287,7 +104089,7 @@ paths:
explode: true
style: form
- in: query
- name: phone__ire
+ name: payload_url__ire
schema:
type: array
items:
@@ -124295,7 +104097,7 @@ paths:
explode: true
style: form
- in: query
- name: phone__isw
+ name: payload_url__isw
schema:
type: array
items:
@@ -124303,7 +104105,7 @@ paths:
explode: true
style: form
- in: query
- name: phone__n
+ name: payload_url__n
schema:
type: array
items:
@@ -124311,7 +104113,7 @@ paths:
explode: true
style: form
- in: query
- name: phone__nic
+ name: payload_url__nic
schema:
type: array
items:
@@ -124319,7 +104121,7 @@ paths:
explode: true
style: form
- in: query
- name: phone__nie
+ name: payload_url__nie
schema:
type: array
items:
@@ -124327,7 +104129,7 @@ paths:
explode: true
style: form
- in: query
- name: phone__niew
+ name: payload_url__niew
schema:
type: array
items:
@@ -124335,7 +104137,7 @@ paths:
explode: true
style: form
- in: query
- name: phone__nire
+ name: payload_url__nire
schema:
type: array
items:
@@ -124343,7 +104145,7 @@ paths:
explode: true
style: form
- in: query
- name: phone__nisw
+ name: payload_url__nisw
schema:
type: array
items:
@@ -124351,7 +104153,7 @@ paths:
explode: true
style: form
- in: query
- name: phone__nre
+ name: payload_url__nre
schema:
type: array
items:
@@ -124359,7 +104161,7 @@ paths:
explode: true
style: form
- in: query
- name: phone__re
+ name: payload_url__re
schema:
type: array
items:
@@ -124371,14 +104173,6 @@ paths:
schema:
type: string
description: Search
- - in: query
- name: similar_to_location_data
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- name: sort
required: false
in: query
@@ -124386,7 +104180,7 @@ paths:
schema:
type: string
- in: query
- name: tags
+ name: teams
schema:
type: array
items:
@@ -124394,17 +104188,30 @@ paths:
explode: true
style: form
- in: query
- name: tags__isnull
+ name: teams__isnull
schema:
type: boolean
+ description: Teams (name or ID) is null
- in: query
- name: tags__n
+ name: teams__n
schema:
type: array
items:
type: string
explode: true
style: form
+ - in: query
+ name: type_create
+ schema:
+ type: boolean
+ - in: query
+ name: type_delete
+ schema:
+ type: boolean
+ - in: query
+ name: type_update
+ schema:
+ type: boolean
- in: query
name: depth
required: false
@@ -124414,6 +104221,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -124424,14 +104238,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedTeamList'
+ $ref: '#/components/schemas/PaginatedWebhookList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedTeamList'
+ $ref: '#/components/schemas/PaginatedWebhookList'
description: ''
post:
- operationId: extras_teams_create
- description: Create one or more team objects.
+ operationId: extras_webhooks_create
+ description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests.
parameters:
- in: query
name: format
@@ -124446,10 +104260,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/TeamRequest'
+ $ref: '#/components/schemas/WebhookRequest'
text/csv:
schema:
- $ref: '#/components/schemas/TeamRequest'
+ $ref: '#/components/schemas/WebhookRequest'
required: true
security:
- cookieAuth: []
@@ -124459,14 +104273,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Team'
+ $ref: '#/components/schemas/Webhook'
text/csv:
schema:
- $ref: '#/components/schemas/Team'
+ $ref: '#/components/schemas/Webhook'
description: ''
put:
- operationId: extras_teams_bulk_update
- description: Update a list of team objects.
+ operationId: extras_webhooks_bulk_update
+ description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests.
parameters:
- in: query
name: format
@@ -124483,12 +104297,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableTeamRequest'
+ $ref: '#/components/schemas/BulkWritableWebhookRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableTeamRequest'
+ $ref: '#/components/schemas/BulkWritableWebhookRequest'
required: true
security:
- cookieAuth: []
@@ -124500,16 +104314,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/Team'
+ $ref: '#/components/schemas/Webhook'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/Team'
+ $ref: '#/components/schemas/Webhook'
description: ''
patch:
- operationId: extras_teams_bulk_partial_update
- description: Partial update a list of team objects.
+ operationId: extras_webhooks_bulk_partial_update
+ description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests.
parameters:
- in: query
name: format
@@ -124526,12 +104340,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableTeamRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableWebhookRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableTeamRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableWebhookRequest'
required: true
security:
- cookieAuth: []
@@ -124543,16 +104357,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/Team'
+ $ref: '#/components/schemas/Webhook'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/Team'
+ $ref: '#/components/schemas/Webhook'
description: ''
delete:
- operationId: extras_teams_bulk_destroy
- description: Destroy a list of team objects.
+ operationId: extras_webhooks_bulk_destroy
+ description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests.
parameters:
- in: query
name: format
@@ -124582,10 +104396,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /extras/teams/{id}/:
+ /extras/webhooks/{id}/:
get:
- operationId: extras_teams_retrieve
- description: Retrieve a team object.
+ operationId: extras_webhooks_retrieve
+ description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests.
parameters:
- in: query
name: format
@@ -124599,7 +104413,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this team.
+ description: A UUID string identifying this webhook.
required: true
- in: query
name: depth
@@ -124610,6 +104424,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -124620,14 +104441,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Team'
+ $ref: '#/components/schemas/Webhook'
text/csv:
schema:
- $ref: '#/components/schemas/Team'
+ $ref: '#/components/schemas/Webhook'
description: ''
put:
- operationId: extras_teams_update
- description: Update a team object.
+ operationId: extras_webhooks_update
+ description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests.
parameters:
- in: query
name: format
@@ -124641,7 +104462,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this team.
+ description: A UUID string identifying this webhook.
required: true
tags:
- extras
@@ -124649,10 +104470,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/TeamRequest'
+ $ref: '#/components/schemas/WebhookRequest'
text/csv:
schema:
- $ref: '#/components/schemas/TeamRequest'
+ $ref: '#/components/schemas/WebhookRequest'
required: true
security:
- cookieAuth: []
@@ -124662,14 +104483,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Team'
+ $ref: '#/components/schemas/Webhook'
text/csv:
schema:
- $ref: '#/components/schemas/Team'
+ $ref: '#/components/schemas/Webhook'
description: ''
patch:
- operationId: extras_teams_partial_update
- description: Partial update a team object.
+ operationId: extras_webhooks_partial_update
+ description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests.
parameters:
- in: query
name: format
@@ -124683,7 +104504,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this team.
+ description: A UUID string identifying this webhook.
required: true
tags:
- extras
@@ -124691,10 +104512,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedTeamRequest'
+ $ref: '#/components/schemas/PatchedWebhookRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedTeamRequest'
+ $ref: '#/components/schemas/PatchedWebhookRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -124703,14 +104524,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Team'
+ $ref: '#/components/schemas/Webhook'
text/csv:
schema:
- $ref: '#/components/schemas/Team'
+ $ref: '#/components/schemas/Webhook'
description: ''
delete:
- operationId: extras_teams_destroy
- description: Destroy a team object.
+ operationId: extras_webhooks_destroy
+ description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests.
parameters:
- in: query
name: format
@@ -124724,7 +104545,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this team.
+ description: A UUID string identifying this webhook.
required: true
tags:
- extras
@@ -124734,9 +104555,9 @@ paths:
responses:
'204':
description: No response body
- /extras/teams/{id}/notes/:
+ /extras/webhooks/{id}/notes/:
get:
- operationId: extras_teams_notes_list
+ operationId: extras_webhooks_notes_list
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -124751,7 +104572,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this team.
+ description: A UUID string identifying this webhook.
required: true
- name: limit
required: false
@@ -124774,6 +104595,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- extras
security:
@@ -124790,7 +104618,7 @@ paths:
$ref: '#/components/schemas/PaginatedNoteList'
description: ''
post:
- operationId: extras_teams_notes_create
+ operationId: extras_webhooks_notes_create
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -124805,7 +104633,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this team.
+ description: A UUID string identifying this webhook.
required: true
tags:
- extras
@@ -124829,12 +104657,73 @@ paths:
$ref: '#/components/schemas/Note'
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: '#/components/schemas/Note'
+ description: ''
+ /graphql/:
+ post:
+ operationId: graphql_create
+ description: Query the database using a GraphQL query
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - graphql
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/GraphQLAPIRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/GraphQLAPIRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ type: object
+ properties:
+ data:
+ type: object
+ text/csv:
+ schema:
+ type: object
+ properties:
+ data:
+ type: object
+ description: ''
+ '400':
+ content:
+ application/json:
+ schema:
+ type: object
+ properties:
+ errors:
+ type: array
+ items:
+ type: object
+ text/csv:
+ schema:
+ type: object
+ properties:
+ errors:
+ type: array
+ items:
+ type: object
description: ''
- /extras/user-saved-view-associations/:
+ /ipam/ip-address-to-interface/:
get:
- operationId: extras_user_saved_view_associations_list
- description: Retrieve a list of user saved view association objects.
+ operationId: ipam_ip_address_to_interface_list
+ description: Retrieve a list of IP Address Assignment objects.
parameters:
- in: query
name: created
@@ -124864,7 +104753,7 @@ paths:
description: Unique object identifier, either a UUID primary key or a composite
key.
- in: query
- name: id__ic
+ name: id__n
schema:
type: array
items:
@@ -124873,113 +104762,74 @@ paths:
explode: true
style: form
- in: query
- name: id__ie
+ name: interface
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__iew
+ name: interface__isnull
schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
+ type: boolean
+ description: Interface (name or ID) is null
- in: query
- name: id__ire
+ name: interface__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__isw
+ name: ip_address
schema:
type: array
items:
type: string
format: uuid
+ description: IP Address (ID)
explode: true
style: form
- in: query
- name: id__n
+ name: ip_address__n
schema:
type: array
items:
type: string
format: uuid
+ description: Exclude IP Address (ID)
explode: true
style: form
- in: query
- name: id__nic
+ name: is_default
schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
+ type: boolean
- in: query
- name: id__nie
+ name: is_destination
schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
+ type: boolean
- in: query
- name: id__niew
+ name: is_preferred
schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
+ type: boolean
- in: query
- name: id__nire
+ name: is_primary
schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
+ type: boolean
- in: query
- name: id__nisw
+ name: is_secondary
schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
+ type: boolean
- in: query
- name: id__nre
+ name: is_source
schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
+ type: boolean
- in: query
- name: id__re
+ name: is_standby
schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
+ type: boolean
- in: query
name: last_updated
schema:
@@ -125002,21 +104852,10 @@ paths:
schema:
type: integer
- in: query
- name: saved_view
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: saved_view__n
+ name: q
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: string
+ description: Search
- name: sort
required: false
in: query
@@ -125024,111 +104863,7 @@ paths:
schema:
type: string
- in: query
- name: user
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: user__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: view_name
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: view_name__ic
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: view_name__ie
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: view_name__iew
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: view_name__ire
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: view_name__isw
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: view_name__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: view_name__nic
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: view_name__nie
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: view_name__niew
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: view_name__nire
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: view_name__nisw
+ name: vm_interface
schema:
type: array
items:
@@ -125136,15 +104871,12 @@ paths:
explode: true
style: form
- in: query
- name: view_name__nre
+ name: vm_interface__isnull
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
+ description: VM Interface (name or ID) is null
- in: query
- name: view_name__re
+ name: vm_interface__n
schema:
type: array
items:
@@ -125160,8 +104892,15 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- - extras
+ - ipam
security:
- cookieAuth: []
- tokenAuth: []
@@ -125170,14 +104909,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedUserSavedViewAssociationList'
+ $ref: '#/components/schemas/PaginatedIPAddressToInterfaceList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedUserSavedViewAssociationList'
+ $ref: '#/components/schemas/PaginatedIPAddressToInterfaceList'
description: ''
post:
- operationId: extras_user_saved_view_associations_create
- description: Create one or more user saved view association objects.
+ operationId: ipam_ip_address_to_interface_create
+ description: Create one or more IP Address Assignment objects.
parameters:
- in: query
name: format
@@ -125187,15 +104926,15 @@ paths:
- csv
- json
tags:
- - extras
+ - ipam
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/UserSavedViewAssociationRequest'
+ $ref: '#/components/schemas/IPAddressToInterfaceRequest'
text/csv:
schema:
- $ref: '#/components/schemas/UserSavedViewAssociationRequest'
+ $ref: '#/components/schemas/IPAddressToInterfaceRequest'
required: true
security:
- cookieAuth: []
@@ -125205,14 +104944,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/UserSavedViewAssociation'
+ $ref: '#/components/schemas/IPAddressToInterface'
text/csv:
schema:
- $ref: '#/components/schemas/UserSavedViewAssociation'
+ $ref: '#/components/schemas/IPAddressToInterface'
description: ''
put:
- operationId: extras_user_saved_view_associations_bulk_update
- description: Update a list of user saved view association objects.
+ operationId: ipam_ip_address_to_interface_bulk_update
+ description: Update a list of IP Address Assignment objects.
parameters:
- in: query
name: format
@@ -125222,19 +104961,19 @@ paths:
- csv
- json
tags:
- - extras
+ - ipam
requestBody:
content:
application/json:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableUserSavedViewAssociationRequest'
+ $ref: '#/components/schemas/BulkWritableIPAddressToInterfaceRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableUserSavedViewAssociationRequest'
+ $ref: '#/components/schemas/BulkWritableIPAddressToInterfaceRequest'
required: true
security:
- cookieAuth: []
@@ -125246,16 +104985,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/UserSavedViewAssociation'
+ $ref: '#/components/schemas/IPAddressToInterface'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/UserSavedViewAssociation'
+ $ref: '#/components/schemas/IPAddressToInterface'
description: ''
patch:
- operationId: extras_user_saved_view_associations_bulk_partial_update
- description: Partial update a list of user saved view association objects.
+ operationId: ipam_ip_address_to_interface_bulk_partial_update
+ description: Partial update a list of IP Address Assignment objects.
parameters:
- in: query
name: format
@@ -125265,19 +105004,19 @@ paths:
- csv
- json
tags:
- - extras
+ - ipam
requestBody:
content:
application/json:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableUserSavedViewAssociationRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableIPAddressToInterfaceRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableUserSavedViewAssociationRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableIPAddressToInterfaceRequest'
required: true
security:
- cookieAuth: []
@@ -125289,16 +105028,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/UserSavedViewAssociation'
+ $ref: '#/components/schemas/IPAddressToInterface'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/UserSavedViewAssociation'
+ $ref: '#/components/schemas/IPAddressToInterface'
description: ''
delete:
- operationId: extras_user_saved_view_associations_bulk_destroy
- description: Destroy a list of user saved view association objects.
+ operationId: ipam_ip_address_to_interface_bulk_destroy
+ description: Destroy a list of IP Address Assignment objects.
parameters:
- in: query
name: format
@@ -125308,7 +105047,7 @@ paths:
- csv
- json
tags:
- - extras
+ - ipam
security:
- cookieAuth: []
- tokenAuth: []
@@ -125328,10 +105067,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /extras/user-saved-view-associations/{id}/:
+ /ipam/ip-address-to-interface/{id}/:
get:
- operationId: extras_user_saved_view_associations_retrieve
- description: Retrieve a user saved view association object.
+ operationId: ipam_ip_address_to_interface_retrieve
+ description: Retrieve a IP Address Assignment object.
parameters:
- in: query
name: format
@@ -125345,7 +105084,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this user saved view association.
+ description: A UUID string identifying this IP Address Assignment.
required: true
- in: query
name: depth
@@ -125356,8 +105095,15 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- - extras
+ - ipam
security:
- cookieAuth: []
- tokenAuth: []
@@ -125366,14 +105112,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/UserSavedViewAssociation'
+ $ref: '#/components/schemas/IPAddressToInterface'
text/csv:
schema:
- $ref: '#/components/schemas/UserSavedViewAssociation'
+ $ref: '#/components/schemas/IPAddressToInterface'
description: ''
put:
- operationId: extras_user_saved_view_associations_update
- description: Update a user saved view association object.
+ operationId: ipam_ip_address_to_interface_update
+ description: Update a IP Address Assignment object.
parameters:
- in: query
name: format
@@ -125387,18 +105133,18 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this user saved view association.
+ description: A UUID string identifying this IP Address Assignment.
required: true
tags:
- - extras
+ - ipam
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/UserSavedViewAssociationRequest'
+ $ref: '#/components/schemas/IPAddressToInterfaceRequest'
text/csv:
schema:
- $ref: '#/components/schemas/UserSavedViewAssociationRequest'
+ $ref: '#/components/schemas/IPAddressToInterfaceRequest'
required: true
security:
- cookieAuth: []
@@ -125408,14 +105154,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/UserSavedViewAssociation'
+ $ref: '#/components/schemas/IPAddressToInterface'
text/csv:
schema:
- $ref: '#/components/schemas/UserSavedViewAssociation'
+ $ref: '#/components/schemas/IPAddressToInterface'
description: ''
patch:
- operationId: extras_user_saved_view_associations_partial_update
- description: Partial update a user saved view association object.
+ operationId: ipam_ip_address_to_interface_partial_update
+ description: Partial update a IP Address Assignment object.
parameters:
- in: query
name: format
@@ -125429,18 +105175,18 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this user saved view association.
+ description: A UUID string identifying this IP Address Assignment.
required: true
tags:
- - extras
+ - ipam
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedUserSavedViewAssociationRequest'
+ $ref: '#/components/schemas/PatchedIPAddressToInterfaceRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedUserSavedViewAssociationRequest'
+ $ref: '#/components/schemas/PatchedIPAddressToInterfaceRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -125449,14 +105195,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/UserSavedViewAssociation'
+ $ref: '#/components/schemas/IPAddressToInterface'
text/csv:
schema:
- $ref: '#/components/schemas/UserSavedViewAssociation'
+ $ref: '#/components/schemas/IPAddressToInterface'
description: ''
delete:
- operationId: extras_user_saved_view_associations_destroy
- description: Destroy a user saved view association object.
+ operationId: ipam_ip_address_to_interface_destroy
+ description: Destroy a IP Address Assignment object.
parameters:
- in: query
name: format
@@ -125470,154 +105216,239 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this user saved view association.
+ description: A UUID string identifying this IP Address Assignment.
required: true
tags:
- - extras
+ - ipam
security:
- cookieAuth: []
- tokenAuth: []
responses:
'204':
description: No response body
- /extras/webhooks/:
+ /ipam/ip-address-to-interface/{id}/notes/:
get:
- operationId: extras_webhooks_list
- description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests.
+ operationId: ipam_ip_address_to_interface_notes_list
+ description: API methods for returning or creating notes on an object.
parameters:
- in: query
- name: contacts
+ name: format
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this IP Address Assignment.
+ required: true
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
- in: query
- name: contacts__isnull
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
schema:
type: boolean
- description: Contacts (name or ID) is null
+ default: false
+ tags:
+ - ipam
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PaginatedNoteList'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PaginatedNoteList'
+ description: ''
+ post:
+ operationId: ipam_ip_address_to_interface_notes_create
+ description: API methods for returning or creating notes on an object.
+ parameters:
- in: query
- name: contacts__n
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
schema:
type: string
format: uuid
- description: Exclude Contacts (name or ID)
+ description: A UUID string identifying this IP Address Assignment.
+ required: true
+ tags:
+ - ipam
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/NoteInputRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/NoteInputRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '201':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Note'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/Note'
+ description: ''
+ /ipam/ip-addresses/:
+ get:
+ operationId: ipam_ip_addresses_list
+ description: Retrieve a list of IP address objects.
+ parameters:
- in: query
- name: content_types
+ name: address
schema:
type: array
items:
- type: integer
+ type: string
+ description: Address
explode: true
style: form
- in: query
- name: content_types__ic
+ name: contacts
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: content_types__ie
+ name: contacts__isnull
schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
+ type: boolean
+ description: Contacts (name or ID) is null
- in: query
- name: content_types__iew
+ name: contacts__n
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: content_types__ire
+ name: created
schema:
type: array
items:
- type: integer
+ type: string
+ format: date-time
explode: true
style: form
- in: query
- name: content_types__isw
+ name: created__gt
schema:
type: array
items:
- type: integer
+ type: string
+ format: date-time
explode: true
style: form
- in: query
- name: content_types__n
+ name: created__gte
schema:
type: array
items:
- type: integer
+ type: string
+ format: date-time
explode: true
style: form
- in: query
- name: content_types__nic
+ name: created__isnull
schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
+ type: boolean
- in: query
- name: content_types__nie
+ name: created__lt
schema:
type: array
items:
- type: integer
+ type: string
+ format: date-time
explode: true
style: form
- in: query
- name: content_types__niew
+ name: created__lte
schema:
type: array
items:
- type: integer
+ type: string
+ format: date-time
explode: true
style: form
- in: query
- name: content_types__nire
+ name: created__n
schema:
type: array
items:
- type: integer
+ type: string
+ format: date-time
explode: true
style: form
- in: query
- name: content_types__nisw
+ name: description
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: content_types__nre
+ name: description__ic
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: content_types__re
+ name: description__ie
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: dynamic_groups
+ name: description__iew
schema:
type: array
items:
@@ -125625,158 +105456,122 @@ paths:
explode: true
style: form
- in: query
- name: dynamic_groups__n
- schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
- - in: query
- name: enabled
- schema:
- type: boolean
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: query
- name: id
+ name: description__ire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- description: Unique object identifier, either a UUID primary key or a composite
- key.
- in: query
- name: id__ic
+ name: description__isw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ie
+ name: description__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__iew
+ name: description__nic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ire
+ name: description__nie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__isw
+ name: description__niew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__n
+ name: description__nire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nic
+ name: description__nisw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nie
+ name: description__nre
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__niew
+ name: description__re
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nire
+ name: device
schema:
type: array
items:
type: string
- format: uuid
+ description: Device (name)
explode: true
style: form
- in: query
- name: id__nisw
+ name: device_id
schema:
type: array
items:
type: string
format: uuid
+ description: Device (ID)
explode: true
style: form
- in: query
- name: id__nre
+ name: dns_name
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__re
+ name: dns_name__ic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- in: query
- name: name
+ name: dns_name__ie
schema:
type: array
items:
@@ -125784,7 +105579,7 @@ paths:
explode: true
style: form
- in: query
- name: name__ic
+ name: dns_name__iew
schema:
type: array
items:
@@ -125792,7 +105587,7 @@ paths:
explode: true
style: form
- in: query
- name: name__ie
+ name: dns_name__ire
schema:
type: array
items:
@@ -125800,7 +105595,7 @@ paths:
explode: true
style: form
- in: query
- name: name__iew
+ name: dns_name__isw
schema:
type: array
items:
@@ -125808,7 +105603,7 @@ paths:
explode: true
style: form
- in: query
- name: name__ire
+ name: dns_name__n
schema:
type: array
items:
@@ -125816,7 +105611,7 @@ paths:
explode: true
style: form
- in: query
- name: name__isw
+ name: dns_name__nic
schema:
type: array
items:
@@ -125824,7 +105619,7 @@ paths:
explode: true
style: form
- in: query
- name: name__n
+ name: dns_name__nie
schema:
type: array
items:
@@ -125832,7 +105627,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nic
+ name: dns_name__niew
schema:
type: array
items:
@@ -125840,7 +105635,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nie
+ name: dns_name__nire
schema:
type: array
items:
@@ -125848,7 +105643,7 @@ paths:
explode: true
style: form
- in: query
- name: name__niew
+ name: dns_name__nisw
schema:
type: array
items:
@@ -125856,7 +105651,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nire
+ name: dns_name__nre
schema:
type: array
items:
@@ -125864,7 +105659,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nisw
+ name: dns_name__re
schema:
type: array
items:
@@ -125872,7 +105667,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nre
+ name: dynamic_groups
schema:
type: array
items:
@@ -125880,53 +105675,52 @@ paths:
explode: true
style: form
- in: query
- name: name__re
+ name: dynamic_groups__n
schema:
type: array
items:
type: string
explode: true
style: form
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
+ - in: query
+ name: format
schema:
- type: integer
+ type: string
+ enum:
+ - csv
+ - json
- in: query
- name: payload_url
+ name: has_interface_assignments
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
+ description: Has Interface Assignments
- in: query
- name: payload_url__ic
+ name: has_nat_inside
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
+ description: Has NAT Inside
- in: query
- name: payload_url__ie
+ name: id
schema:
type: array
items:
type: string
+ format: uuid
explode: true
style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
- name: payload_url__iew
+ name: id__n
schema:
type: array
items:
type: string
+ format: uuid
explode: true
style: form
- in: query
- name: payload_url__ire
+ name: interfaces
schema:
type: array
items:
@@ -125934,7 +105728,12 @@ paths:
explode: true
style: form
- in: query
- name: payload_url__isw
+ name: interfaces__isnull
+ schema:
+ type: boolean
+ description: Interfaces (ID or name) is null
+ - in: query
+ name: interfaces__n
schema:
type: array
items:
@@ -125942,465 +105741,161 @@ paths:
explode: true
style: form
- in: query
- name: payload_url__n
+ name: ip_version
+ schema:
+ type: integer
+ - in: query
+ name: last_updated
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: payload_url__nic
+ name: last_updated__gt
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: payload_url__nie
+ name: last_updated__gte
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: payload_url__niew
+ name: last_updated__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: last_updated__lt
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: payload_url__nire
+ name: last_updated__lte
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: payload_url__nisw
+ name: last_updated__n
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
- in: query
- name: payload_url__nre
+ name: mask_length
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: payload_url__re
+ name: mask_length__gt
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: q
- schema:
- type: string
- description: Search
- - name: sort
- required: false
- in: query
- description: Which field to use when ordering the results.
- schema:
- type: string
- - in: query
- name: teams
+ name: mask_length__gte
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: teams__isnull
- schema:
- type: boolean
- description: Teams (name or ID) is null
- - in: query
- name: teams__n
- schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
- - in: query
- name: type_create
- schema:
- type: boolean
- - in: query
- name: type_delete
- schema:
- type: boolean
- - in: query
- name: type_update
- schema:
- type: boolean
- - in: query
- name: depth
- required: false
- description: Serializer Depth
- schema:
- type: integer
- minimum: 0
- maximum: 10
- default: 1
- tags:
- - extras
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedWebhookList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedWebhookList'
- description: ''
- post:
- operationId: extras_webhooks_create
- description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- tags:
- - extras
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/WebhookRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/WebhookRequest'
- required: true
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '201':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Webhook'
- text/csv:
- schema:
- $ref: '#/components/schemas/Webhook'
- description: ''
- put:
- operationId: extras_webhooks_bulk_update
- description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- tags:
- - extras
- requestBody:
- content:
- application/json:
- schema:
- type: array
- items:
- $ref: '#/components/schemas/BulkWritableWebhookRequest'
- text/csv:
- schema:
- type: array
- items:
- $ref: '#/components/schemas/BulkWritableWebhookRequest'
- required: true
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- type: array
- items:
- $ref: '#/components/schemas/Webhook'
- text/csv:
- schema:
- type: array
- items:
- $ref: '#/components/schemas/Webhook'
- description: ''
- patch:
- operationId: extras_webhooks_bulk_partial_update
- description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- tags:
- - extras
- requestBody:
- content:
- application/json:
- schema:
- type: array
- items:
- $ref: '#/components/schemas/PatchedBulkWritableWebhookRequest'
- text/csv:
- schema:
- type: array
- items:
- $ref: '#/components/schemas/PatchedBulkWritableWebhookRequest'
- required: true
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- type: array
- items:
- $ref: '#/components/schemas/Webhook'
- text/csv:
- schema:
- type: array
- items:
- $ref: '#/components/schemas/Webhook'
- description: ''
- delete:
- operationId: extras_webhooks_bulk_destroy
- description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- tags:
- - extras
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '204':
- description: No response body
- requestBody:
- content:
- application/json:
- schema:
- type: array
- items:
- $ref: '#/components/schemas/BulkOperationRequest'
- text/csv:
- schema:
- type: array
- items:
- $ref: '#/components/schemas/BulkOperationRequest'
- required: true
- /extras/webhooks/{id}/:
- get:
- operationId: extras_webhooks_retrieve
- description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this webhook.
- required: true
- - in: query
- name: depth
- required: false
- description: Serializer Depth
- schema:
- type: integer
- minimum: 0
- maximum: 10
- default: 1
- tags:
- - extras
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Webhook'
- text/csv:
- schema:
- $ref: '#/components/schemas/Webhook'
- description: ''
- put:
- operationId: extras_webhooks_update
- description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this webhook.
- required: true
- tags:
- - extras
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/WebhookRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/WebhookRequest'
- required: true
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Webhook'
- text/csv:
- schema:
- $ref: '#/components/schemas/Webhook'
- description: ''
- patch:
- operationId: extras_webhooks_partial_update
- description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this webhook.
- required: true
- tags:
- - extras
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PatchedWebhookRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/PatchedWebhookRequest'
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Webhook'
- text/csv:
- schema:
- $ref: '#/components/schemas/Webhook'
- description: ''
- delete:
- operationId: extras_webhooks_destroy
- description: Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests.
- parameters:
+ name: mask_length__lt
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
- in: query
- name: format
+ name: mask_length__lte
schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: mask_length__n
schema:
- type: string
- format: uuid
- description: A UUID string identifying this webhook.
- required: true
- tags:
- - extras
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '204':
- description: No response body
- /extras/webhooks/{id}/notes/:
- get:
- operationId: extras_webhooks_notes_list
- description: API methods for returning or creating notes on an object.
- parameters:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
- in: query
- name: format
+ name: namespace
schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: namespace__n
schema:
- type: string
- format: uuid
- description: A UUID string identifying this webhook.
- required: true
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: nat_inside
schema:
- type: integer
+ type: array
+ items:
+ type: string
+ format: uuid
+ description: NAT (Inside)
+ explode: true
+ style: form
+ - in: query
+ name: nat_inside__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: nat_inside__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ description: NAT (Inside)
+ explode: true
+ style: form
- name: offset
required: false
in: query
@@ -126408,283 +105903,228 @@ paths:
schema:
type: integer
- in: query
- name: depth
- required: false
- description: Serializer Depth
+ name: parent
schema:
- type: integer
- minimum: 0
- maximum: 10
- default: 1
- tags:
- - extras
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- description: ''
- post:
- operationId: extras_webhooks_notes_create
- description: API methods for returning or creating notes on an object.
- parameters:
+ type: array
+ items:
+ type: string
+ format: uuid
+ description: Parent prefix
+ explode: true
+ style: form
- in: query
- name: format
+ name: parent__isnull
+ schema:
+ type: boolean
+ description: Parent prefix is null
+ - in: query
+ name: parent__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ description: Exclude Parent prefix
+ explode: true
+ style: form
+ - in: query
+ name: prefix
+ schema:
+ type: array
+ items:
+ type: string
+ description: Contained in prefix
+ explode: true
+ style: form
+ - in: query
+ name: present_in_vrf
schema:
type: string
- enum:
- - csv
- - json
- - in: path
- name: id
+ nullable: true
+ title: Route distinguisher
+ description: VRF (RD)
+ - in: query
+ name: present_in_vrf_id
schema:
type: string
format: uuid
- description: A UUID string identifying this webhook.
- required: true
- tags:
- - extras
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- required: true
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '201':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Note'
- text/csv:
- schema:
- $ref: '#/components/schemas/Note'
- description: ''
- /graphql/:
- post:
- operationId: graphql_create
- description: Query the database using a GraphQL query
- parameters:
+ description: VRF (ID)
- in: query
- name: format
+ name: q
schema:
type: string
- enum:
- - csv
- - json
- tags:
- - graphql
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/GraphQLAPIRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/GraphQLAPIRequest'
- required: true
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- type: object
- properties:
- data:
- type: object
- text/csv:
- schema:
- type: object
- properties:
- data:
- type: object
- description: ''
- '400':
- content:
- application/json:
- schema:
- type: object
- properties:
- errors:
- type: array
- items:
- type: object
- text/csv:
- schema:
- type: object
- properties:
- errors:
- type: array
- items:
- type: object
- description: ''
- /ipam/ip-address-to-interface/:
- get:
- operationId: ipam_ip_address_to_interface_list
- description: Retrieve a list of IP Address Assignment objects.
- parameters:
+ description: Search
- in: query
- name: created
+ name: role
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: format
+ name: role__isnull
+ schema:
+ type: boolean
+ description: Role (name or ID) is null
+ - in: query
+ name: role__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
schema:
type: string
- enum:
- - csv
- - json
- in: query
- name: id
+ name: status
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- description: Unique object identifier, either a UUID primary key or a composite
- key.
- in: query
- name: id__ic
+ name: status__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ie
+ name: tags
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__iew
+ name: tags__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: tags__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ire
+ name: teams
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__isw
+ name: teams__isnull
+ schema:
+ type: boolean
+ description: Teams (name or ID) is null
+ - in: query
+ name: teams__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__n
+ name: tenant
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nic
+ name: tenant__isnull
+ schema:
+ type: boolean
+ description: Tenant (name or ID) is null
+ - in: query
+ name: tenant__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nie
+ name: tenant_group
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__niew
+ name: tenant_group__isnull
+ schema:
+ type: boolean
+ description: Tenant Group (name or ID) is null
+ - in: query
+ name: tenant_group__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nire
+ name: tenant_id
schema:
type: array
items:
type: string
format: uuid
+ nullable: true
+ description: Tenant (ID) (deprecated, use "tenant" filter instead)
explode: true
style: form
- in: query
- name: id__nisw
+ name: tenant_id__isnull
+ schema:
+ type: boolean
+ description: Tenant (ID) (deprecated, use "tenant" filter instead) is null
+ - in: query
+ name: tenant_id__n
schema:
type: array
items:
type: string
format: uuid
+ nullable: true
+ description: Exclude Tenant (ID) (deprecated, use "tenant" filter instead)
explode: true
style: form
- in: query
- name: id__nre
+ name: type
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__re
+ name: type__ic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: interface
+ name: type__ie
schema:
type: array
items:
@@ -126692,12 +106132,15 @@ paths:
explode: true
style: form
- in: query
- name: interface__isnull
+ name: type__iew
schema:
- type: boolean
- description: Interface (name or ID) is null
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: interface__n
+ name: type__ire
schema:
type: array
items:
@@ -126705,87 +106148,119 @@ paths:
explode: true
style: form
- in: query
- name: ip_address
+ name: type__isw
schema:
type: array
items:
type: string
- format: uuid
- description: IP Address (ID)
explode: true
style: form
- in: query
- name: ip_address__n
+ name: type__n
schema:
type: array
items:
type: string
- format: uuid
- description: Exclude IP Address (ID)
explode: true
style: form
- in: query
- name: is_default
+ name: type__nic
schema:
- type: boolean
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: is_destination
+ name: type__nie
schema:
- type: boolean
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: is_preferred
+ name: type__niew
schema:
- type: boolean
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: is_primary
+ name: type__nire
schema:
- type: boolean
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: is_secondary
+ name: type__nisw
schema:
- type: boolean
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: is_source
+ name: type__nre
schema:
- type: boolean
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: is_standby
+ name: type__re
schema:
- type: boolean
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: last_updated
+ name: virtual_machine
schema:
type: array
items:
type: string
- format: date-time
+ description: Virtual machine (name)
explode: true
style: form
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
+ - in: query
+ name: virtual_machine_id
schema:
- type: integer
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
+ type: array
+ items:
+ type: string
+ format: uuid
+ description: Virtual machine (ID)
+ explode: true
+ style: form
+ - in: query
+ name: vm_interfaces
schema:
- type: integer
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: q
+ name: vm_interfaces__isnull
schema:
- type: string
- description: Search
- - name: sort
- required: false
- in: query
- description: Which field to use when ordering the results.
+ type: boolean
+ description: VM interfaces (ID or name) is null
+ - in: query
+ name: vm_interfaces__n
schema:
- type: string
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: vm_interface
+ name: vrfs
schema:
type: array
items:
@@ -126793,12 +106268,12 @@ paths:
explode: true
style: form
- in: query
- name: vm_interface__isnull
+ name: vrfs__isnull
schema:
type: boolean
- description: VM Interface (name or ID) is null
+ description: VRF (ID or RD) is null
- in: query
- name: vm_interface__n
+ name: vrfs__n
schema:
type: array
items:
@@ -126814,6 +106289,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- ipam
security:
@@ -126824,14 +106306,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedIPAddressToInterfaceList'
+ $ref: '#/components/schemas/PaginatedIPAddressList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedIPAddressToInterfaceList'
+ $ref: '#/components/schemas/PaginatedIPAddressList'
description: ''
post:
- operationId: ipam_ip_address_to_interface_create
- description: Create one or more IP Address Assignment objects.
+ operationId: ipam_ip_addresses_create
+ description: Create one or more IP address objects.
parameters:
- in: query
name: format
@@ -126846,10 +106328,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/IPAddressToInterfaceRequest'
+ $ref: '#/components/schemas/IPAddressRequest'
text/csv:
schema:
- $ref: '#/components/schemas/IPAddressToInterfaceRequest'
+ $ref: '#/components/schemas/IPAddressRequest'
required: true
security:
- cookieAuth: []
@@ -126859,14 +106341,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/IPAddressToInterface'
+ $ref: '#/components/schemas/IPAddress'
text/csv:
schema:
- $ref: '#/components/schemas/IPAddressToInterface'
+ $ref: '#/components/schemas/IPAddress'
description: ''
put:
- operationId: ipam_ip_address_to_interface_bulk_update
- description: Update a list of IP Address Assignment objects.
+ operationId: ipam_ip_addresses_bulk_update
+ description: Update a list of IP address objects.
parameters:
- in: query
name: format
@@ -126883,12 +106365,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableIPAddressToInterfaceRequest'
+ $ref: '#/components/schemas/BulkWritableIPAddressRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableIPAddressToInterfaceRequest'
+ $ref: '#/components/schemas/BulkWritableIPAddressRequest'
required: true
security:
- cookieAuth: []
@@ -126900,16 +106382,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/IPAddressToInterface'
+ $ref: '#/components/schemas/IPAddress'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/IPAddressToInterface'
+ $ref: '#/components/schemas/IPAddress'
description: ''
patch:
- operationId: ipam_ip_address_to_interface_bulk_partial_update
- description: Partial update a list of IP Address Assignment objects.
+ operationId: ipam_ip_addresses_bulk_partial_update
+ description: Partial update a list of IP address objects.
parameters:
- in: query
name: format
@@ -126926,12 +106408,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableIPAddressToInterfaceRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableIPAddressRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableIPAddressToInterfaceRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableIPAddressRequest'
required: true
security:
- cookieAuth: []
@@ -126943,16 +106425,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/IPAddressToInterface'
+ $ref: '#/components/schemas/IPAddress'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/IPAddressToInterface'
+ $ref: '#/components/schemas/IPAddress'
description: ''
delete:
- operationId: ipam_ip_address_to_interface_bulk_destroy
- description: Destroy a list of IP Address Assignment objects.
+ operationId: ipam_ip_addresses_bulk_destroy
+ description: Destroy a list of IP address objects.
parameters:
- in: query
name: format
@@ -126982,10 +106464,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /ipam/ip-address-to-interface/{id}/:
+ /ipam/ip-addresses/{id}/:
get:
- operationId: ipam_ip_address_to_interface_retrieve
- description: Retrieve a IP Address Assignment object.
+ operationId: ipam_ip_addresses_retrieve
+ description: Retrieve a IP address object.
parameters:
- in: query
name: format
@@ -126999,7 +106481,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this IP Address Assignment.
+ description: A UUID string identifying this IP address.
required: true
- in: query
name: depth
@@ -127010,6 +106492,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- ipam
security:
@@ -127020,14 +106509,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/IPAddressToInterface'
+ $ref: '#/components/schemas/IPAddress'
text/csv:
schema:
- $ref: '#/components/schemas/IPAddressToInterface'
+ $ref: '#/components/schemas/IPAddress'
description: ''
put:
- operationId: ipam_ip_address_to_interface_update
- description: Update a IP Address Assignment object.
+ operationId: ipam_ip_addresses_update
+ description: Update a IP address object.
parameters:
- in: query
name: format
@@ -127041,7 +106530,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this IP Address Assignment.
+ description: A UUID string identifying this IP address.
required: true
tags:
- ipam
@@ -127049,10 +106538,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/IPAddressToInterfaceRequest'
+ $ref: '#/components/schemas/IPAddressRequest'
text/csv:
schema:
- $ref: '#/components/schemas/IPAddressToInterfaceRequest'
+ $ref: '#/components/schemas/IPAddressRequest'
required: true
security:
- cookieAuth: []
@@ -127062,14 +106551,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/IPAddressToInterface'
+ $ref: '#/components/schemas/IPAddress'
text/csv:
schema:
- $ref: '#/components/schemas/IPAddressToInterface'
+ $ref: '#/components/schemas/IPAddress'
description: ''
patch:
- operationId: ipam_ip_address_to_interface_partial_update
- description: Partial update a IP Address Assignment object.
+ operationId: ipam_ip_addresses_partial_update
+ description: Partial update a IP address object.
parameters:
- in: query
name: format
@@ -127083,7 +106572,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this IP Address Assignment.
+ description: A UUID string identifying this IP address.
required: true
tags:
- ipam
@@ -127091,10 +106580,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedIPAddressToInterfaceRequest'
+ $ref: '#/components/schemas/PatchedIPAddressRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedIPAddressToInterfaceRequest'
+ $ref: '#/components/schemas/PatchedIPAddressRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -127103,14 +106592,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/IPAddressToInterface'
+ $ref: '#/components/schemas/IPAddress'
text/csv:
schema:
- $ref: '#/components/schemas/IPAddressToInterface'
+ $ref: '#/components/schemas/IPAddress'
description: ''
delete:
- operationId: ipam_ip_address_to_interface_destroy
- description: Destroy a IP Address Assignment object.
+ operationId: ipam_ip_addresses_destroy
+ description: Destroy a IP address object.
parameters:
- in: query
name: format
@@ -127124,7 +106613,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this IP Address Assignment.
+ description: A UUID string identifying this IP address.
required: true
tags:
- ipam
@@ -127134,9 +106623,9 @@ paths:
responses:
'204':
description: No response body
- /ipam/ip-address-to-interface/{id}/notes/:
+ /ipam/ip-addresses/{id}/notes/:
get:
- operationId: ipam_ip_address_to_interface_notes_list
+ operationId: ipam_ip_addresses_notes_list
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -127151,7 +106640,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this IP Address Assignment.
+ description: A UUID string identifying this IP address.
required: true
- name: limit
required: false
@@ -127174,6 +106663,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- ipam
security:
@@ -127190,7 +106686,7 @@ paths:
$ref: '#/components/schemas/PaginatedNoteList'
description: ''
post:
- operationId: ipam_ip_address_to_interface_notes_create
+ operationId: ipam_ip_addresses_notes_create
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -127205,7 +106701,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this IP Address Assignment.
+ description: A UUID string identifying this IP address.
required: true
tags:
- ipam
@@ -127231,20 +106727,11 @@ paths:
schema:
$ref: '#/components/schemas/Note'
description: ''
- /ipam/ip-addresses/:
+ /ipam/namespaces/:
get:
- operationId: ipam_ip_addresses_list
- description: Retrieve a list of IP address objects.
+ operationId: ipam_namespaces_list
+ description: Retrieve a list of namespace objects.
parameters:
- - in: query
- name: address
- schema:
- type: array
- items:
- type: string
- description: Address
- explode: true
- style: form
- in: query
name: contacts
schema:
@@ -127261,9 +106748,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -127323,434 +106812,31 @@ paths:
explode: true
style: form
- in: query
- name: device
- schema:
- type: array
- items:
- type: string
- description: Device (name)
- explode: true
- style: form
- - in: query
- name: device_id
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Device (ID)
- explode: true
- style: form
- - in: query
- name: dns_name
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: dns_name__ic
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: dns_name__ie
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: dns_name__iew
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: dns_name__ire
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: dns_name__isw
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: dns_name__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: dns_name__nic
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: dns_name__nie
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: dns_name__niew
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: dns_name__nire
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: dns_name__nisw
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: dns_name__nre
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: dns_name__re
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: dynamic_groups
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: dynamic_groups__n
- schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: query
- name: has_interface_assignments
- schema:
- type: boolean
- description: Has Interface Assignments
- - in: query
- name: has_nat_inside
- schema:
- type: boolean
- description: Has NAT Inside
- - in: query
- name: id
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- description: Unique object identifier, either a UUID primary key or a composite
- key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__n
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: interfaces
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: interfaces__isnull
- schema:
- type: boolean
- description: Interfaces (ID or name) is null
- - in: query
- name: interfaces__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: ip_version
- schema:
- type: integer
- - in: query
- name: last_updated
- schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
- - in: query
- name: last_updated__gt
- schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
- - in: query
- name: last_updated__gte
- schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
- - in: query
- name: last_updated__isnull
- schema:
- type: boolean
- - in: query
- name: last_updated__lt
+ name: description
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__lte
+ name: description__ic
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__n
+ name: description__ie
schema:
type: array
items:
type: string
- format: date-time
- explode: true
- style: form
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- - in: query
- name: mask_length
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: mask_length__gt
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: mask_length__gte
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: mask_length__lt
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: mask_length__lte
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: mask_length__n
- schema:
- type: array
- items:
- type: integer
explode: true
style: form
- in: query
- name: namespace
+ name: description__iew
schema:
type: array
items:
@@ -127758,7 +106844,7 @@ paths:
explode: true
style: form
- in: query
- name: namespace__n
+ name: description__ire
schema:
type: array
items:
@@ -127766,89 +106852,47 @@ paths:
explode: true
style: form
- in: query
- name: nat_inside
+ name: description__isw
schema:
type: array
items:
type: string
- format: uuid
- description: NAT (Inside)
explode: true
style: form
- in: query
- name: nat_inside__isnull
- schema:
- type: boolean
- - in: query
- name: nat_inside__n
+ name: description__n
schema:
type: array
items:
type: string
- format: uuid
- description: NAT (Inside)
explode: true
style: form
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- in: query
- name: parent
+ name: description__nic
schema:
type: array
items:
type: string
- format: uuid
- description: Parent prefix
explode: true
style: form
- in: query
- name: parent__isnull
- schema:
- type: boolean
- description: Parent prefix is null
- - in: query
- name: parent__n
+ name: description__nie
schema:
type: array
items:
type: string
- format: uuid
- description: Exclude Parent prefix
explode: true
style: form
- in: query
- name: prefix
+ name: description__niew
schema:
type: array
items:
type: string
- description: Contained in prefix
explode: true
style: form
- in: query
- name: present_in_vrf
- schema:
- type: string
- nullable: true
- title: Route distinguisher
- description: VRF (RD)
- - in: query
- name: present_in_vrf_id
- schema:
- type: string
- format: uuid
- description: VRF (ID)
- - in: query
- name: q
- schema:
- type: string
- description: Search
- - in: query
- name: role
+ name: description__nire
schema:
type: array
items:
@@ -127856,24 +106900,7 @@ paths:
explode: true
style: form
- in: query
- name: role__isnull
- schema:
- type: boolean
- description: Role (name or ID) is null
- - in: query
- name: role__n
- schema:
- type: string
- format: uuid
- description: Exclude Role (name or ID)
- - name: sort
- required: false
- in: query
- description: Which field to use when ordering the results.
- schema:
- type: string
- - in: query
- name: status
+ name: description__nisw
schema:
type: array
items:
@@ -127881,13 +106908,7 @@ paths:
explode: true
style: form
- in: query
- name: status__n
- schema:
- type: string
- format: uuid
- description: Exclude Status (name or ID)
- - in: query
- name: tags
+ name: description__nre
schema:
type: array
items:
@@ -127895,11 +106916,7 @@ paths:
explode: true
style: form
- in: query
- name: tags__isnull
- schema:
- type: boolean
- - in: query
- name: tags__n
+ name: description__re
schema:
type: array
items:
@@ -127907,7 +106924,7 @@ paths:
explode: true
style: form
- in: query
- name: teams
+ name: dynamic_groups
schema:
type: array
items:
@@ -127915,103 +106932,120 @@ paths:
explode: true
style: form
- in: query
- name: teams__isnull
+ name: dynamic_groups__n
schema:
- type: boolean
- description: Teams (name or ID) is null
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: teams__n
+ name: format
schema:
type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ enum:
+ - csv
+ - json
- in: query
- name: tenant
+ name: id
schema:
type: array
items:
type: string
+ format: uuid
explode: true
style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
- name: tenant__isnull
- schema:
- type: boolean
- description: Tenant (name or ID) is null
- - in: query
- name: tenant__n
+ name: id__n
schema:
type: array
items:
type: string
+ format: uuid
explode: true
style: form
- in: query
- name: tenant_group
+ name: last_updated
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: tenant_group__isnull
- schema:
- type: boolean
- description: Tenant Group (name or ID) is null
- - in: query
- name: tenant_group__n
+ name: last_updated__gt
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: tenant_id
+ name: last_updated__gte
schema:
type: array
items:
type: string
- format: uuid
- nullable: true
- description: Tenant (ID) (deprecated, use "tenant" filter instead)
+ format: date-time
explode: true
style: form
- in: query
- name: tenant_id__isnull
+ name: last_updated__isnull
schema:
type: boolean
- description: Tenant (ID) (deprecated, use "tenant" filter instead) is null
- in: query
- name: tenant_id__n
+ name: last_updated__lt
schema:
type: array
items:
type: string
- format: uuid
- nullable: true
- description: Exclude Tenant (ID) (deprecated, use "tenant" filter instead)
+ format: date-time
explode: true
style: form
- in: query
- name: type
+ name: last_updated__lte
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: type__ic
+ name: last_updated__n
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
- in: query
- name: type__ie
+ name: location
+ schema:
+ type: string
+ format: uuid
+ - in: query
+ name: location__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: location__n
+ schema:
+ type: string
+ format: uuid
+ - in: query
+ name: name
schema:
type: array
items:
@@ -128019,7 +107053,7 @@ paths:
explode: true
style: form
- in: query
- name: type__iew
+ name: name__ic
schema:
type: array
items:
@@ -128027,7 +107061,7 @@ paths:
explode: true
style: form
- in: query
- name: type__ire
+ name: name__ie
schema:
type: array
items:
@@ -128035,7 +107069,7 @@ paths:
explode: true
style: form
- in: query
- name: type__isw
+ name: name__iew
schema:
type: array
items:
@@ -128043,7 +107077,7 @@ paths:
explode: true
style: form
- in: query
- name: type__n
+ name: name__ire
schema:
type: array
items:
@@ -128051,7 +107085,7 @@ paths:
explode: true
style: form
- in: query
- name: type__nic
+ name: name__isw
schema:
type: array
items:
@@ -128059,7 +107093,7 @@ paths:
explode: true
style: form
- in: query
- name: type__nie
+ name: name__n
schema:
type: array
items:
@@ -128067,7 +107101,7 @@ paths:
explode: true
style: form
- in: query
- name: type__niew
+ name: name__nic
schema:
type: array
items:
@@ -128075,7 +107109,7 @@ paths:
explode: true
style: form
- in: query
- name: type__nire
+ name: name__nie
schema:
type: array
items:
@@ -128083,7 +107117,7 @@ paths:
explode: true
style: form
- in: query
- name: type__nisw
+ name: name__niew
schema:
type: array
items:
@@ -128091,7 +107125,7 @@ paths:
explode: true
style: form
- in: query
- name: type__nre
+ name: name__nire
schema:
type: array
items:
@@ -128099,7 +107133,7 @@ paths:
explode: true
style: form
- in: query
- name: type__re
+ name: name__nisw
schema:
type: array
items:
@@ -128107,26 +107141,40 @@ paths:
explode: true
style: form
- in: query
- name: virtual_machine
+ name: name__nre
schema:
type: array
items:
type: string
- description: Virtual machine (name)
explode: true
style: form
- in: query
- name: virtual_machine_id
+ name: name__re
schema:
type: array
items:
type: string
- format: uuid
- description: Virtual machine (ID)
explode: true
style: form
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
- in: query
- name: vm_interfaces
+ name: q
+ schema:
+ type: string
+ description: Search
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
+ schema:
+ type: string
+ - in: query
+ name: tags
schema:
type: array
items:
@@ -128134,12 +107182,11 @@ paths:
explode: true
style: form
- in: query
- name: vm_interfaces__isnull
+ name: tags__isnull
schema:
type: boolean
- description: VM interfaces (ID or name) is null
- in: query
- name: vm_interfaces__n
+ name: tags__n
schema:
type: array
items:
@@ -128147,7 +107194,7 @@ paths:
explode: true
style: form
- in: query
- name: vrfs
+ name: teams
schema:
type: array
items:
@@ -128155,12 +107202,12 @@ paths:
explode: true
style: form
- in: query
- name: vrfs__isnull
+ name: teams__isnull
schema:
type: boolean
- description: VRF (ID or RD) is null
+ description: Teams (name or ID) is null
- in: query
- name: vrfs__n
+ name: teams__n
schema:
type: array
items:
@@ -128176,6 +107223,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- ipam
security:
@@ -128186,14 +107240,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedIPAddressList'
+ $ref: '#/components/schemas/PaginatedNamespaceList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedIPAddressList'
+ $ref: '#/components/schemas/PaginatedNamespaceList'
description: ''
post:
- operationId: ipam_ip_addresses_create
- description: Create one or more IP address objects.
+ operationId: ipam_namespaces_create
+ description: Create one or more namespace objects.
parameters:
- in: query
name: format
@@ -128208,10 +107262,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/IPAddressRequest'
+ $ref: '#/components/schemas/NamespaceRequest'
text/csv:
schema:
- $ref: '#/components/schemas/IPAddressRequest'
+ $ref: '#/components/schemas/NamespaceRequest'
required: true
security:
- cookieAuth: []
@@ -128221,14 +107275,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/IPAddress'
+ $ref: '#/components/schemas/Namespace'
text/csv:
schema:
- $ref: '#/components/schemas/IPAddress'
+ $ref: '#/components/schemas/Namespace'
description: ''
put:
- operationId: ipam_ip_addresses_bulk_update
- description: Update a list of IP address objects.
+ operationId: ipam_namespaces_bulk_update
+ description: Update a list of namespace objects.
parameters:
- in: query
name: format
@@ -128245,12 +107299,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableIPAddressRequest'
+ $ref: '#/components/schemas/BulkWritableNamespaceRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableIPAddressRequest'
+ $ref: '#/components/schemas/BulkWritableNamespaceRequest'
required: true
security:
- cookieAuth: []
@@ -128262,16 +107316,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/IPAddress'
+ $ref: '#/components/schemas/Namespace'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/IPAddress'
+ $ref: '#/components/schemas/Namespace'
description: ''
patch:
- operationId: ipam_ip_addresses_bulk_partial_update
- description: Partial update a list of IP address objects.
+ operationId: ipam_namespaces_bulk_partial_update
+ description: Partial update a list of namespace objects.
parameters:
- in: query
name: format
@@ -128288,12 +107342,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableIPAddressRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableNamespaceRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableIPAddressRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableNamespaceRequest'
required: true
security:
- cookieAuth: []
@@ -128305,16 +107359,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/IPAddress'
+ $ref: '#/components/schemas/Namespace'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/IPAddress'
+ $ref: '#/components/schemas/Namespace'
description: ''
delete:
- operationId: ipam_ip_addresses_bulk_destroy
- description: Destroy a list of IP address objects.
+ operationId: ipam_namespaces_bulk_destroy
+ description: Destroy a list of namespace objects.
parameters:
- in: query
name: format
@@ -128344,10 +107398,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /ipam/ip-addresses/{id}/:
+ /ipam/namespaces/{id}/:
get:
- operationId: ipam_ip_addresses_retrieve
- description: Retrieve a IP address object.
+ operationId: ipam_namespaces_retrieve
+ description: Retrieve a namespace object.
parameters:
- in: query
name: format
@@ -128361,7 +107415,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this IP address.
+ description: A UUID string identifying this namespace.
required: true
- in: query
name: depth
@@ -128372,6 +107426,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- ipam
security:
@@ -128382,14 +107443,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/IPAddress'
+ $ref: '#/components/schemas/Namespace'
text/csv:
schema:
- $ref: '#/components/schemas/IPAddress'
+ $ref: '#/components/schemas/Namespace'
description: ''
put:
- operationId: ipam_ip_addresses_update
- description: Update a IP address object.
+ operationId: ipam_namespaces_update
+ description: Update a namespace object.
parameters:
- in: query
name: format
@@ -128403,7 +107464,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this IP address.
+ description: A UUID string identifying this namespace.
required: true
tags:
- ipam
@@ -128411,10 +107472,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/IPAddressRequest'
+ $ref: '#/components/schemas/NamespaceRequest'
text/csv:
schema:
- $ref: '#/components/schemas/IPAddressRequest'
+ $ref: '#/components/schemas/NamespaceRequest'
required: true
security:
- cookieAuth: []
@@ -128424,14 +107485,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/IPAddress'
+ $ref: '#/components/schemas/Namespace'
text/csv:
schema:
- $ref: '#/components/schemas/IPAddress'
+ $ref: '#/components/schemas/Namespace'
description: ''
patch:
- operationId: ipam_ip_addresses_partial_update
- description: Partial update a IP address object.
+ operationId: ipam_namespaces_partial_update
+ description: Partial update a namespace object.
parameters:
- in: query
name: format
@@ -128445,7 +107506,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this IP address.
+ description: A UUID string identifying this namespace.
required: true
tags:
- ipam
@@ -128453,10 +107514,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedIPAddressRequest'
+ $ref: '#/components/schemas/PatchedNamespaceRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedIPAddressRequest'
+ $ref: '#/components/schemas/PatchedNamespaceRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -128465,14 +107526,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/IPAddress'
+ $ref: '#/components/schemas/Namespace'
text/csv:
schema:
- $ref: '#/components/schemas/IPAddress'
+ $ref: '#/components/schemas/Namespace'
description: ''
delete:
- operationId: ipam_ip_addresses_destroy
- description: Destroy a IP address object.
+ operationId: ipam_namespaces_destroy
+ description: Destroy a namespace object.
parameters:
- in: query
name: format
@@ -128486,7 +107547,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this IP address.
+ description: A UUID string identifying this namespace.
required: true
tags:
- ipam
@@ -128496,9 +107557,9 @@ paths:
responses:
'204':
description: No response body
- /ipam/ip-addresses/{id}/notes/:
+ /ipam/namespaces/{id}/notes/:
get:
- operationId: ipam_ip_addresses_notes_list
+ operationId: ipam_namespaces_notes_list
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -128513,7 +107574,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this IP address.
+ description: A UUID string identifying this namespace.
required: true
- name: limit
required: false
@@ -128536,6 +107597,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- ipam
security:
@@ -128552,7 +107620,7 @@ paths:
$ref: '#/components/schemas/PaginatedNoteList'
description: ''
post:
- operationId: ipam_ip_addresses_notes_create
+ operationId: ipam_namespaces_notes_create
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -128567,7 +107635,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this IP address.
+ description: A UUID string identifying this namespace.
required: true
tags:
- ipam
@@ -128593,11 +107661,480 @@ paths:
schema:
$ref: '#/components/schemas/Note'
description: ''
- /ipam/namespaces/:
+ /ipam/prefix-location-assignments/:
get:
- operationId: ipam_namespaces_list
- description: Retrieve a list of namespace objects.
+ operationId: ipam_prefix_location_assignments_list
+ description: Retrieve a list of prefix location assignment objects.
+ parameters:
+ - in: query
+ name: created
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: query
+ name: id
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ explode: true
+ style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
+ - in: query
+ name: id__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ explode: true
+ style: form
+ - in: query
+ name: last_updated
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
+ - in: query
+ name: location
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: location__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
+ - in: query
+ name: prefix
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: prefix__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: q
+ schema:
+ type: string
+ description: Search
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
+ schema:
+ type: string
+ - in: query
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
+ tags:
+ - ipam
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PaginatedPrefixLocationAssignmentList'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PaginatedPrefixLocationAssignmentList'
+ description: ''
+ post:
+ operationId: ipam_prefix_location_assignments_create
+ description: Create one or more prefix location assignment objects.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - ipam
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PrefixLocationAssignmentRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PrefixLocationAssignmentRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '201':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PrefixLocationAssignment'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PrefixLocationAssignment'
+ description: ''
+ put:
+ operationId: ipam_prefix_location_assignments_bulk_update
+ description: Update a list of prefix location assignment objects.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - ipam
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkWritablePrefixLocationAssignmentRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkWritablePrefixLocationAssignmentRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/PrefixLocationAssignment'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/PrefixLocationAssignment'
+ description: ''
+ patch:
+ operationId: ipam_prefix_location_assignments_bulk_partial_update
+ description: Partial update a list of prefix location assignment objects.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - ipam
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/PatchedBulkWritablePrefixLocationAssignmentRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/PatchedBulkWritablePrefixLocationAssignmentRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/PrefixLocationAssignment'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/PrefixLocationAssignment'
+ description: ''
+ delete:
+ operationId: ipam_prefix_location_assignments_bulk_destroy
+ description: Destroy a list of prefix location assignment objects.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - ipam
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '204':
+ description: No response body
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkOperationRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkOperationRequest'
+ required: true
+ /ipam/prefix-location-assignments/{id}/:
+ get:
+ operationId: ipam_prefix_location_assignments_retrieve
+ description: Retrieve a prefix location assignment object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this prefix location assignment.
+ required: true
+ - in: query
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
+ tags:
+ - ipam
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PrefixLocationAssignment'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PrefixLocationAssignment'
+ description: ''
+ put:
+ operationId: ipam_prefix_location_assignments_update
+ description: Update a prefix location assignment object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this prefix location assignment.
+ required: true
+ tags:
+ - ipam
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PrefixLocationAssignmentRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PrefixLocationAssignmentRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PrefixLocationAssignment'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PrefixLocationAssignment'
+ description: ''
+ patch:
+ operationId: ipam_prefix_location_assignments_partial_update
+ description: Partial update a prefix location assignment object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this prefix location assignment.
+ required: true
+ tags:
+ - ipam
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PatchedPrefixLocationAssignmentRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PatchedPrefixLocationAssignmentRequest'
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PrefixLocationAssignment'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PrefixLocationAssignment'
+ description: ''
+ delete:
+ operationId: ipam_prefix_location_assignments_destroy
+ description: Destroy a prefix location assignment object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this prefix location assignment.
+ required: true
+ tags:
+ - ipam
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '204':
+ description: No response body
+ /ipam/prefixes/:
+ get:
+ operationId: ipam_prefixes_list
+ description: Retrieve a list of prefix objects.
parameters:
+ - in: query
+ name: cloud_networks
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: cloud_networks__isnull
+ schema:
+ type: boolean
+ description: Cloud Network (name or ID) is null
+ - in: query
+ name: cloud_networks__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: contacts
schema:
@@ -128614,9 +108151,20 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: contains
+ schema:
+ type: array
+ items:
+ type: string
+ description: Prefixes which contain this prefix or IP
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -128676,23 +108224,235 @@ paths:
explode: true
style: form
- in: query
- name: description
+ name: date_allocated
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: description__ic
+ name: date_allocated__gt
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: date_allocated__gte
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: date_allocated__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: date_allocated__lt
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: date_allocated__lte
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: date_allocated__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: dynamic_groups
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: dynamic_groups__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: query
+ name: has_rir
+ schema:
+ type: boolean
+ description: Has RIR
+ - in: query
+ name: id
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ explode: true
+ style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
+ - in: query
+ name: id__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ explode: true
+ style: form
+ - in: query
+ name: ip_version
+ schema:
+ type: integer
+ - in: query
+ name: last_updated
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: last_updated__gt
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: last_updated__gte
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: last_updated__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: last_updated__lt
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: last_updated__lte
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: last_updated__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
+ - in: query
+ name: location
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: location__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: locations
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: locations__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: namespace
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: namespace__n
schema:
type: array
items:
type: string
explode: true
style: form
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
- in: query
- name: description__ie
+ name: parent
schema:
type: array
items:
@@ -128700,7 +108460,12 @@ paths:
explode: true
style: form
- in: query
- name: description__iew
+ name: parent__isnull
+ schema:
+ type: boolean
+ description: Prefix (ID or prefix string) is null
+ - in: query
+ name: parent__n
schema:
type: array
items:
@@ -128708,63 +108473,82 @@ paths:
explode: true
style: form
- in: query
- name: description__ire
+ name: prefix
schema:
type: array
items:
type: string
+ description: Prefix
explode: true
style: form
- in: query
- name: description__isw
+ name: prefix_length
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: description__n
+ name: prefix_length__gt
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: description__nic
+ name: prefix_length__gte
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: description__nie
+ name: prefix_length__lt
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: description__niew
+ name: prefix_length__lte
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: description__nire
+ name: prefix_length__n
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: description__nisw
+ name: present_in_vrf
+ schema:
+ type: string
+ nullable: true
+ title: Route distinguisher
+ description: Present in VRF (RD)
+ - in: query
+ name: present_in_vrf_id
+ schema:
+ type: string
+ format: uuid
+ description: Present in VRF
+ - in: query
+ name: q
+ schema:
+ type: string
+ description: Search
+ - in: query
+ name: rir
schema:
type: array
items:
@@ -128772,7 +108556,12 @@ paths:
explode: true
style: form
- in: query
- name: description__nre
+ name: rir__isnull
+ schema:
+ type: boolean
+ description: RIR (name or ID) is null
+ - in: query
+ name: rir__n
schema:
type: array
items:
@@ -128780,7 +108569,7 @@ paths:
explode: true
style: form
- in: query
- name: description__re
+ name: role
schema:
type: array
items:
@@ -128788,234 +108577,216 @@ paths:
explode: true
style: form
- in: query
- name: dynamic_groups
+ name: role__isnull
+ schema:
+ type: boolean
+ description: Role (name or ID) is null
+ - in: query
+ name: role__n
schema:
type: array
items:
type: string
explode: true
style: form
- - in: query
- name: dynamic_groups__n
- schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
- - in: query
- name: format
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
schema:
type: string
- enum:
- - csv
- - json
- in: query
- name: id
+ name: status
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- description: Unique object identifier, either a UUID primary key or a composite
- key.
- in: query
- name: id__ic
+ name: status__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ie
+ name: tags
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__iew
+ name: tags__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: tags__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ire
+ name: teams
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__isw
+ name: teams__isnull
+ schema:
+ type: boolean
+ description: Teams (name or ID) is null
+ - in: query
+ name: teams__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__n
+ name: tenant
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nic
+ name: tenant__isnull
+ schema:
+ type: boolean
+ description: Tenant (name or ID) is null
+ - in: query
+ name: tenant__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nie
+ name: tenant_group
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__niew
+ name: tenant_group__isnull
+ schema:
+ type: boolean
+ description: Tenant Group (name or ID) is null
+ - in: query
+ name: tenant_group__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nire
+ name: tenant_id
schema:
type: array
items:
type: string
format: uuid
+ nullable: true
+ description: Tenant (ID) (deprecated, use "tenant" filter instead)
explode: true
style: form
- in: query
- name: id__nisw
+ name: tenant_id__isnull
+ schema:
+ type: boolean
+ description: Tenant (ID) (deprecated, use "tenant" filter instead) is null
+ - in: query
+ name: tenant_id__n
schema:
type: array
items:
type: string
format: uuid
+ nullable: true
+ description: Exclude Tenant (ID) (deprecated, use "tenant" filter instead)
explode: true
style: form
- in: query
- name: id__nre
+ name: type
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__re
+ name: type__ic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: last_updated
+ name: type__ie
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__gt
+ name: type__iew
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__gte
+ name: type__ire
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__isnull
- schema:
- type: boolean
- - in: query
- name: last_updated__lt
+ name: type__isw
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__lte
+ name: type__n
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__n
+ name: type__nic
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- - in: query
- name: location
- schema:
- type: string
- format: uuid
- - in: query
- name: location__isnull
- schema:
- type: boolean
- - in: query
- name: location__n
- schema:
- type: string
- format: uuid
- in: query
- name: name
+ name: type__nie
schema:
type: array
items:
@@ -129023,7 +108794,7 @@ paths:
explode: true
style: form
- in: query
- name: name__ic
+ name: type__niew
schema:
type: array
items:
@@ -129031,7 +108802,7 @@ paths:
explode: true
style: form
- in: query
- name: name__ie
+ name: type__nire
schema:
type: array
items:
@@ -129039,7 +108810,7 @@ paths:
explode: true
style: form
- in: query
- name: name__iew
+ name: type__nisw
schema:
type: array
items:
@@ -129047,7 +108818,7 @@ paths:
explode: true
style: form
- in: query
- name: name__ire
+ name: type__nre
schema:
type: array
items:
@@ -129055,7 +108826,7 @@ paths:
explode: true
style: form
- in: query
- name: name__isw
+ name: type__re
schema:
type: array
items:
@@ -129063,88 +108834,88 @@ paths:
explode: true
style: form
- in: query
- name: name__n
+ name: vlan_id
schema:
type: array
items:
type: string
+ format: uuid
+ nullable: true
+ description: VLAN (ID)
explode: true
style: form
- in: query
- name: name__nic
+ name: vlan_id__isnull
+ schema:
+ type: boolean
+ description: VLAN (ID) is null
+ - in: query
+ name: vlan_id__n
schema:
type: array
items:
type: string
+ format: uuid
+ nullable: true
+ description: Exclude VLAN (ID)
explode: true
style: form
- in: query
- name: name__nie
+ name: vlan_vid
schema:
type: array
items:
- type: string
+ type: integer
+ description: VLAN number (1-4095)
explode: true
style: form
- in: query
- name: name__niew
+ name: vlan_vid__gt
schema:
type: array
items:
- type: string
+ type: integer
+ description: VLAN number (1-4095) is greater than
explode: true
style: form
- in: query
- name: name__nire
+ name: vlan_vid__gte
schema:
type: array
items:
- type: string
+ type: integer
+ description: VLAN number (1-4095) is greater than or equal to
explode: true
style: form
- in: query
- name: name__nisw
+ name: vlan_vid__lt
schema:
type: array
items:
- type: string
+ type: integer
+ description: VLAN number (1-4095) is less than
explode: true
style: form
- in: query
- name: name__nre
+ name: vlan_vid__lte
schema:
type: array
items:
- type: string
+ type: integer
+ description: VLAN number (1-4095) is less than or equal to
explode: true
style: form
- in: query
- name: name__re
+ name: vlan_vid__n
schema:
type: array
items:
- type: string
+ type: integer
+ description: Exclude VLAN number (1-4095)
explode: true
style: form
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- - in: query
- name: q
- schema:
- type: string
- description: Search
- - name: sort
- required: false
- in: query
- description: Which field to use when ordering the results.
- schema:
- type: string
- in: query
- name: tags
+ name: vrfs
schema:
type: array
items:
@@ -129152,11 +108923,12 @@ paths:
explode: true
style: form
- in: query
- name: tags__isnull
+ name: vrfs__isnull
schema:
type: boolean
+ description: Assigned VRF (ID or RD) is null
- in: query
- name: tags__n
+ name: vrfs__n
schema:
type: array
items:
@@ -129164,24 +108936,23 @@ paths:
explode: true
style: form
- in: query
- name: teams
+ name: within
schema:
type: array
items:
type: string
+ description: Within prefix
explode: true
style: form
- in: query
- name: teams__isnull
- schema:
- type: boolean
- description: Teams (name or ID) is null
- - in: query
- name: teams__n
+ name: within_include
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ description: Within and including prefix
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -129191,6 +108962,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- ipam
security:
@@ -129201,14 +108979,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNamespaceList'
+ $ref: '#/components/schemas/PaginatedPrefixList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNamespaceList'
+ $ref: '#/components/schemas/PaginatedPrefixList'
description: ''
post:
- operationId: ipam_namespaces_create
- description: Create one or more namespace objects.
+ operationId: ipam_prefixes_create
+ description: Create one or more prefix objects.
parameters:
- in: query
name: format
@@ -129223,10 +109001,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NamespaceRequest'
+ $ref: '#/components/schemas/WritablePrefixRequest'
text/csv:
schema:
- $ref: '#/components/schemas/NamespaceRequest'
+ $ref: '#/components/schemas/WritablePrefixRequest'
required: true
security:
- cookieAuth: []
@@ -129236,14 +109014,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Namespace'
+ $ref: '#/components/schemas/Prefix'
text/csv:
schema:
- $ref: '#/components/schemas/Namespace'
+ $ref: '#/components/schemas/Prefix'
description: ''
put:
- operationId: ipam_namespaces_bulk_update
- description: Update a list of namespace objects.
+ operationId: ipam_prefixes_bulk_update
+ description: Update a list of prefix objects.
parameters:
- in: query
name: format
@@ -129260,12 +109038,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableNamespaceRequest'
+ $ref: '#/components/schemas/BulkWritablePrefixRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableNamespaceRequest'
+ $ref: '#/components/schemas/BulkWritablePrefixRequest'
required: true
security:
- cookieAuth: []
@@ -129277,16 +109055,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/Namespace'
+ $ref: '#/components/schemas/Prefix'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/Namespace'
+ $ref: '#/components/schemas/Prefix'
description: ''
patch:
- operationId: ipam_namespaces_bulk_partial_update
- description: Partial update a list of namespace objects.
+ operationId: ipam_prefixes_bulk_partial_update
+ description: Partial update a list of prefix objects.
parameters:
- in: query
name: format
@@ -129303,12 +109081,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableNamespaceRequest'
+ $ref: '#/components/schemas/PatchedBulkWritablePrefixRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableNamespaceRequest'
+ $ref: '#/components/schemas/PatchedBulkWritablePrefixRequest'
required: true
security:
- cookieAuth: []
@@ -129320,16 +109098,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/Namespace'
+ $ref: '#/components/schemas/Prefix'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/Namespace'
+ $ref: '#/components/schemas/Prefix'
description: ''
delete:
- operationId: ipam_namespaces_bulk_destroy
- description: Destroy a list of namespace objects.
+ operationId: ipam_prefixes_bulk_destroy
+ description: Destroy a list of prefix objects.
parameters:
- in: query
name: format
@@ -129359,10 +109137,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /ipam/namespaces/{id}/:
+ /ipam/prefixes/{id}/:
get:
- operationId: ipam_namespaces_retrieve
- description: Retrieve a namespace object.
+ operationId: ipam_prefixes_retrieve
+ description: Retrieve a prefix object.
parameters:
- in: query
name: format
@@ -129376,7 +109154,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this namespace.
+ description: A UUID string identifying this prefix.
required: true
- in: query
name: depth
@@ -129387,6 +109165,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- ipam
security:
@@ -129397,14 +109182,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Namespace'
+ $ref: '#/components/schemas/Prefix'
text/csv:
schema:
- $ref: '#/components/schemas/Namespace'
+ $ref: '#/components/schemas/Prefix'
description: ''
put:
- operationId: ipam_namespaces_update
- description: Update a namespace object.
+ operationId: ipam_prefixes_update
+ description: Update a prefix object.
parameters:
- in: query
name: format
@@ -129418,7 +109203,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this namespace.
+ description: A UUID string identifying this prefix.
required: true
tags:
- ipam
@@ -129426,10 +109211,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NamespaceRequest'
+ $ref: '#/components/schemas/WritablePrefixRequest'
text/csv:
schema:
- $ref: '#/components/schemas/NamespaceRequest'
+ $ref: '#/components/schemas/WritablePrefixRequest'
required: true
security:
- cookieAuth: []
@@ -129439,14 +109224,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Namespace'
+ $ref: '#/components/schemas/Prefix'
text/csv:
schema:
- $ref: '#/components/schemas/Namespace'
+ $ref: '#/components/schemas/Prefix'
description: ''
patch:
- operationId: ipam_namespaces_partial_update
- description: Partial update a namespace object.
+ operationId: ipam_prefixes_partial_update
+ description: Partial update a prefix object.
parameters:
- in: query
name: format
@@ -129460,7 +109245,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this namespace.
+ description: A UUID string identifying this prefix.
required: true
tags:
- ipam
@@ -129468,10 +109253,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedNamespaceRequest'
+ $ref: '#/components/schemas/PatchedWritablePrefixRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedNamespaceRequest'
+ $ref: '#/components/schemas/PatchedWritablePrefixRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -129480,14 +109265,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Namespace'
+ $ref: '#/components/schemas/Prefix'
text/csv:
schema:
- $ref: '#/components/schemas/Namespace'
+ $ref: '#/components/schemas/Prefix'
description: ''
delete:
- operationId: ipam_namespaces_destroy
- description: Destroy a namespace object.
+ operationId: ipam_prefixes_destroy
+ description: Destroy a prefix object.
parameters:
- in: query
name: format
@@ -129501,7 +109286,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this namespace.
+ description: A UUID string identifying this prefix.
required: true
tags:
- ipam
@@ -129511,9 +109296,327 @@ paths:
responses:
'204':
description: No response body
- /ipam/namespaces/{id}/notes/:
+ /ipam/prefixes/{id}/available-ips/:
get:
- operationId: ipam_namespaces_notes_list
+ operationId: ipam_prefixes_available_ips_list
+ description: |-
+ A convenience method for listing and/or allocating 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.
+
+ This uses a Redis lock to prevent this API from being invoked in parallel, in order to avoid a race condition
+ if multiple clients tried to simultaneously request allocation from the same parent prefix.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this IP address.
+ required: true
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
+ - in: query
+ name: range_end
+ schema:
+ oneOf:
+ - type: string
+ format: ipv6
+ - type: string
+ format: ipv4
+ description: IP from which enumeration/allocation should stop.
+ - in: query
+ name: range_start
+ schema:
+ oneOf:
+ - type: string
+ format: ipv6
+ - type: string
+ format: ipv4
+ description: IP from which enumeration/allocation should start.
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
+ schema:
+ type: string
+ - in: query
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
+ tags:
+ - ipam
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PaginatedAvailableIPList'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PaginatedAvailableIPList'
+ description: ''
+ post:
+ operationId: ipam_prefixes_available_ips_create
+ description: |-
+ A convenience method for listing and/or allocating 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.
+
+ This uses a Redis lock to prevent this API from being invoked in parallel, in order to avoid a race condition
+ if multiple clients tried to simultaneously request allocation from the same parent prefix.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this IP address.
+ required: true
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
+ - in: query
+ name: range_end
+ schema:
+ oneOf:
+ - type: string
+ format: ipv6
+ - type: string
+ format: ipv4
+ description: IP from which enumeration/allocation should stop.
+ - in: query
+ name: range_start
+ schema:
+ oneOf:
+ - type: string
+ format: ipv6
+ - type: string
+ format: ipv4
+ description: IP from which enumeration/allocation should start.
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
+ schema:
+ type: string
+ tags:
+ - ipam
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/IPAllocationRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/IPAllocationRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '201':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PaginatedIPAddressList'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PaginatedIPAddressList'
+ description: ''
+ /ipam/prefixes/{id}/available-prefixes/:
+ get:
+ operationId: ipam_prefixes_available_prefixes_list
+ description: |-
+ A convenience method for listing and/or allocating available child prefixes within a parent.
+
+ This uses a Redis lock to prevent this API from being invoked in parallel, in order to avoid a race condition
+ if multiple clients tried to simultaneously request allocation from the same parent prefix.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this prefix.
+ required: true
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
+ schema:
+ type: string
+ - in: query
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
+ tags:
+ - ipam
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PaginatedAvailablePrefixList'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PaginatedAvailablePrefixList'
+ description: ''
+ post:
+ operationId: ipam_prefixes_available_prefixes_create
+ description: |-
+ A convenience method for listing and/or allocating available child prefixes within a parent.
+
+ This uses a Redis lock to prevent this API from being invoked in parallel, in order to avoid a race condition
+ if multiple clients tried to simultaneously request allocation from the same parent prefix.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this prefix.
+ required: true
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
+ schema:
+ type: string
+ tags:
+ - ipam
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PrefixLengthRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PrefixLengthRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '201':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PaginatedPrefixList'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PaginatedPrefixList'
+ description: ''
+ /ipam/prefixes/{id}/notes/:
+ get:
+ operationId: ipam_prefixes_notes_list
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -129528,7 +109631,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this namespace.
+ description: A UUID string identifying this prefix.
required: true
- name: limit
required: false
@@ -129551,6 +109654,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- ipam
security:
@@ -129567,7 +109677,7 @@ paths:
$ref: '#/components/schemas/PaginatedNoteList'
description: ''
post:
- operationId: ipam_namespaces_notes_create
+ operationId: ipam_prefixes_notes_create
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -129582,7 +109692,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this namespace.
+ description: A UUID string identifying this prefix.
required: true
tags:
- ipam
@@ -129608,11 +109718,32 @@ paths:
schema:
$ref: '#/components/schemas/Note'
description: ''
- /ipam/prefix-location-assignments/:
+ /ipam/rirs/:
get:
- operationId: ipam_prefix_location_assignments_list
- description: Retrieve a list of prefix location assignment objects.
+ operationId: ipam_rirs_list
+ description: Retrieve a list of RIR objects.
parameters:
+ - in: query
+ name: contacts
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: contacts__isnull
+ schema:
+ type: boolean
+ description: Contacts (name or ID) is null
+ - in: query
+ name: contacts__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -129622,6 +109753,183 @@ paths:
format: date-time
explode: true
style: form
+ - in: query
+ name: created__gt
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: created__gte
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: created__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: created__lt
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: created__lte
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: created__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: description
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: description__ic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: description__ie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: description__iew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: description__ire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: description__isw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: description__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: description__nic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: description__nie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: description__niew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: description__nire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: description__nisw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: description__nre
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: description__re
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: dynamic_groups
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: dynamic_groups__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -129641,7 +109949,7 @@ paths:
description: Unique object identifier, either a UUID primary key or a composite
key.
- in: query
- name: id__ic
+ name: id__n
schema:
type: array
items:
@@ -129650,130 +109958,139 @@ paths:
explode: true
style: form
- in: query
- name: id__ie
+ name: is_private
+ schema:
+ type: boolean
+ - in: query
+ name: last_updated
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__iew
+ name: last_updated__gt
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__ire
+ name: last_updated__gte
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__isw
+ name: last_updated__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: last_updated__lt
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__n
+ name: last_updated__lte
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__nic
+ name: last_updated__n
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
- in: query
- name: id__nie
+ name: name
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__niew
+ name: name__ic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nire
+ name: name__ie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nisw
+ name: name__iew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nre
+ name: name__ire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__re
+ name: name__isw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: last_updated
+ name: name__n
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
+ - in: query
+ name: name__nic
schema:
- type: integer
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: location
+ name: name__nie
schema:
type: array
items:
@@ -129781,28 +110098,51 @@ paths:
explode: true
style: form
- in: query
- name: location__n
+ name: name__niew
schema:
type: array
items:
type: string
explode: true
style: form
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
+ - in: query
+ name: name__nire
schema:
- type: integer
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: prefix
+ name: name__nisw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__nre
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__re
schema:
type: array
items:
type: string
- description: Prefix
explode: true
style: form
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
- in: query
name: q
schema:
@@ -129814,6 +110154,27 @@ paths:
description: Which field to use when ordering the results.
schema:
type: string
+ - in: query
+ name: teams
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: teams__isnull
+ schema:
+ type: boolean
+ description: Teams (name or ID) is null
+ - in: query
+ name: teams__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -129823,6 +110184,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- ipam
security:
@@ -129833,14 +110201,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedPrefixLocationAssignmentList'
+ $ref: '#/components/schemas/PaginatedRIRList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedPrefixLocationAssignmentList'
+ $ref: '#/components/schemas/PaginatedRIRList'
description: ''
post:
- operationId: ipam_prefix_location_assignments_create
- description: Create one or more prefix location assignment objects.
+ operationId: ipam_rirs_create
+ description: Create one or more RIR objects.
parameters:
- in: query
name: format
@@ -129855,10 +110223,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PrefixLocationAssignmentRequest'
+ $ref: '#/components/schemas/RIRRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PrefixLocationAssignmentRequest'
+ $ref: '#/components/schemas/RIRRequest'
required: true
security:
- cookieAuth: []
@@ -129868,14 +110236,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PrefixLocationAssignment'
+ $ref: '#/components/schemas/RIR'
text/csv:
schema:
- $ref: '#/components/schemas/PrefixLocationAssignment'
+ $ref: '#/components/schemas/RIR'
description: ''
put:
- operationId: ipam_prefix_location_assignments_bulk_update
- description: Update a list of prefix location assignment objects.
+ operationId: ipam_rirs_bulk_update
+ description: Update a list of RIR objects.
parameters:
- in: query
name: format
@@ -129892,12 +110260,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritablePrefixLocationAssignmentRequest'
+ $ref: '#/components/schemas/BulkWritableRIRRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritablePrefixLocationAssignmentRequest'
+ $ref: '#/components/schemas/BulkWritableRIRRequest'
required: true
security:
- cookieAuth: []
@@ -129909,16 +110277,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/PrefixLocationAssignment'
+ $ref: '#/components/schemas/RIR'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PrefixLocationAssignment'
+ $ref: '#/components/schemas/RIR'
description: ''
patch:
- operationId: ipam_prefix_location_assignments_bulk_partial_update
- description: Partial update a list of prefix location assignment objects.
+ operationId: ipam_rirs_bulk_partial_update
+ description: Partial update a list of RIR objects.
parameters:
- in: query
name: format
@@ -129935,12 +110303,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritablePrefixLocationAssignmentRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableRIRRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritablePrefixLocationAssignmentRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableRIRRequest'
required: true
security:
- cookieAuth: []
@@ -129952,16 +110320,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/PrefixLocationAssignment'
+ $ref: '#/components/schemas/RIR'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PrefixLocationAssignment'
+ $ref: '#/components/schemas/RIR'
description: ''
delete:
- operationId: ipam_prefix_location_assignments_bulk_destroy
- description: Destroy a list of prefix location assignment objects.
+ operationId: ipam_rirs_bulk_destroy
+ description: Destroy a list of RIR objects.
parameters:
- in: query
name: format
@@ -129991,10 +110359,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /ipam/prefix-location-assignments/{id}/:
+ /ipam/rirs/{id}/:
get:
- operationId: ipam_prefix_location_assignments_retrieve
- description: Retrieve a prefix location assignment object.
+ operationId: ipam_rirs_retrieve
+ description: Retrieve a RIR object.
parameters:
- in: query
name: format
@@ -130008,7 +110376,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this prefix location assignment.
+ description: A UUID string identifying this RIR.
required: true
- in: query
name: depth
@@ -130019,6 +110387,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- ipam
security:
@@ -130029,14 +110404,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PrefixLocationAssignment'
+ $ref: '#/components/schemas/RIR'
text/csv:
schema:
- $ref: '#/components/schemas/PrefixLocationAssignment'
+ $ref: '#/components/schemas/RIR'
description: ''
put:
- operationId: ipam_prefix_location_assignments_update
- description: Update a prefix location assignment object.
+ operationId: ipam_rirs_update
+ description: Update a RIR object.
parameters:
- in: query
name: format
@@ -130050,7 +110425,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this prefix location assignment.
+ description: A UUID string identifying this RIR.
required: true
tags:
- ipam
@@ -130058,10 +110433,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PrefixLocationAssignmentRequest'
+ $ref: '#/components/schemas/RIRRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PrefixLocationAssignmentRequest'
+ $ref: '#/components/schemas/RIRRequest'
required: true
security:
- cookieAuth: []
@@ -130071,14 +110446,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PrefixLocationAssignment'
+ $ref: '#/components/schemas/RIR'
text/csv:
schema:
- $ref: '#/components/schemas/PrefixLocationAssignment'
+ $ref: '#/components/schemas/RIR'
description: ''
patch:
- operationId: ipam_prefix_location_assignments_partial_update
- description: Partial update a prefix location assignment object.
+ operationId: ipam_rirs_partial_update
+ description: Partial update a RIR object.
parameters:
- in: query
name: format
@@ -130092,7 +110467,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this prefix location assignment.
+ description: A UUID string identifying this RIR.
required: true
tags:
- ipam
@@ -130100,10 +110475,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedPrefixLocationAssignmentRequest'
+ $ref: '#/components/schemas/PatchedRIRRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedPrefixLocationAssignmentRequest'
+ $ref: '#/components/schemas/PatchedRIRRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -130112,14 +110487,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PrefixLocationAssignment'
+ $ref: '#/components/schemas/RIR'
text/csv:
schema:
- $ref: '#/components/schemas/PrefixLocationAssignment'
+ $ref: '#/components/schemas/RIR'
description: ''
delete:
- operationId: ipam_prefix_location_assignments_destroy
- description: Destroy a prefix location assignment object.
+ operationId: ipam_rirs_destroy
+ description: Destroy a RIR object.
parameters:
- in: query
name: format
@@ -130133,7 +110508,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this prefix location assignment.
+ description: A UUID string identifying this RIR.
required: true
tags:
- ipam
@@ -130143,9 +110518,9 @@ paths:
responses:
'204':
description: No response body
- /ipam/prefix-location-assignments/{id}/notes/:
+ /ipam/rirs/{id}/notes/:
get:
- operationId: ipam_prefix_location_assignments_notes_list
+ operationId: ipam_rirs_notes_list
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -130160,7 +110535,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this prefix location assignment.
+ description: A UUID string identifying this RIR.
required: true
- name: limit
required: false
@@ -130183,6 +110558,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- ipam
security:
@@ -130199,7 +110581,7 @@ paths:
$ref: '#/components/schemas/PaginatedNoteList'
description: ''
post:
- operationId: ipam_prefix_location_assignments_notes_create
+ operationId: ipam_rirs_notes_create
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -130214,7 +110596,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this prefix location assignment.
+ description: A UUID string identifying this RIR.
required: true
tags:
- ipam
@@ -130240,32 +110622,11 @@ paths:
schema:
$ref: '#/components/schemas/Note'
description: ''
- /ipam/prefixes/:
+ /ipam/route-targets/:
get:
- operationId: ipam_prefixes_list
- description: Retrieve a list of prefix objects.
+ operationId: ipam_route_targets_list
+ description: Retrieve a list of route target objects.
parameters:
- - in: query
- name: cloud_networks
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: cloud_networks__isnull
- schema:
- type: boolean
- description: Cloud Network (name or ID) is null
- - in: query
- name: cloud_networks__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- in: query
name: contacts
schema:
@@ -130281,17 +110642,10 @@ paths:
description: Contacts (name or ID) is null
- in: query
name: contacts__n
- schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
- - in: query
- name: contains
schema:
type: array
items:
type: string
- description: Prefixes which contain this prefix or IP
explode: true
style: form
- in: query
@@ -130353,77 +110707,42 @@ paths:
explode: true
style: form
- in: query
- name: date_allocated
+ name: dynamic_groups
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: date_allocated__gt
+ name: dynamic_groups__n
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: date_allocated__gte
+ name: exporting_vrfs
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: date_allocated__isnull
+ name: exporting_vrfs__isnull
schema:
type: boolean
+ description: Export VRF(s) (ID or RD) is null
- in: query
- name: date_allocated__lt
- schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
- - in: query
- name: date_allocated__lte
- schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
- - in: query
- name: date_allocated__n
- schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
- - in: query
- name: dynamic_groups
+ name: exporting_vrfs__n
schema:
type: array
items:
type: string
explode: true
style: form
- - in: query
- name: dynamic_groups__n
- schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
- in: query
name: format
schema:
@@ -130431,11 +110750,6 @@ paths:
enum:
- csv
- json
- - in: query
- name: has_rir
- schema:
- type: boolean
- description: Has RIR
- in: query
name: id
schema:
@@ -130447,51 +110761,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -130502,72 +110771,26 @@ paths:
explode: true
style: form
- in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
+ name: importing_vrfs
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nre
+ name: importing_vrfs__isnull
schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
+ type: boolean
+ description: Import VRF(s) (ID or RD) is null
- in: query
- name: id__re
+ name: importing_vrfs__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- - in: query
- name: ip_version
- schema:
- type: integer
- in: query
name: last_updated
schema:
@@ -130633,7 +110856,7 @@ paths:
schema:
type: integer
- in: query
- name: location
+ name: name
schema:
type: array
items:
@@ -130641,7 +110864,7 @@ paths:
explode: true
style: form
- in: query
- name: location__n
+ name: name__ic
schema:
type: array
items:
@@ -130649,7 +110872,7 @@ paths:
explode: true
style: form
- in: query
- name: locations
+ name: name__ie
schema:
type: array
items:
@@ -130657,7 +110880,7 @@ paths:
explode: true
style: form
- in: query
- name: locations__n
+ name: name__iew
schema:
type: array
items:
@@ -130665,7 +110888,7 @@ paths:
explode: true
style: form
- in: query
- name: namespace
+ name: name__ire
schema:
type: array
items:
@@ -130673,118 +110896,55 @@ paths:
explode: true
style: form
- in: query
- name: namespace__n
+ name: name__isw
schema:
type: array
items:
type: string
explode: true
style: form
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- in: query
- name: parent
+ name: name__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: parent__isnull
- schema:
- type: boolean
- - in: query
- name: parent__n
+ name: name__nic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: prefix
+ name: name__nie
schema:
type: array
items:
type: string
- description: Prefix
- explode: true
- style: form
- - in: query
- name: prefix_length
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: prefix_length__gt
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: prefix_length__gte
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: prefix_length__lt
- schema:
- type: array
- items:
- type: integer
explode: true
style: form
- in: query
- name: prefix_length__lte
+ name: name__niew
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: prefix_length__n
+ name: name__nire
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: present_in_vrf
- schema:
- type: string
- nullable: true
- title: Route distinguisher
- description: Present in VRF (RD)
- - in: query
- name: present_in_vrf_id
- schema:
- type: string
- format: uuid
- description: Present in VRF
- - in: query
- name: q
- schema:
- type: string
- description: Search
- - in: query
- name: rir
+ name: name__nisw
schema:
type: array
items:
@@ -130792,12 +110952,7 @@ paths:
explode: true
style: form
- in: query
- name: rir__isnull
- schema:
- type: boolean
- description: RIR (name or ID) is null
- - in: query
- name: rir__n
+ name: name__nre
schema:
type: array
items:
@@ -130805,44 +110960,30 @@ paths:
explode: true
style: form
- in: query
- name: role
+ name: name__re
schema:
type: array
items:
type: string
explode: true
style: form
- - in: query
- name: role__isnull
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
schema:
- type: boolean
- description: Role (name or ID) is null
+ type: integer
- in: query
- name: role__n
+ name: q
schema:
type: string
- format: uuid
- description: Exclude Role (name or ID)
+ description: Search
- name: sort
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
- - in: query
- name: status
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: status__n
- schema:
- type: string
- format: uuid
- description: Exclude Status (name or ID)
- in: query
name: tags
schema:
@@ -130879,9 +111020,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: tenant
schema:
@@ -130951,238 +111094,6 @@ paths:
description: Exclude Tenant (ID) (deprecated, use "tenant" filter instead)
explode: true
style: form
- - in: query
- name: type
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: type__ic
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: type__ie
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: type__iew
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: type__ire
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: type__isw
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: type__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: type__nic
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: type__nie
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: type__niew
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: type__nire
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: type__nisw
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: type__nre
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: type__re
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: vlan_id
- schema:
- type: array
- items:
- type: string
- format: uuid
- nullable: true
- description: VLAN (ID)
- explode: true
- style: form
- - in: query
- name: vlan_id__isnull
- schema:
- type: boolean
- description: VLAN (ID) is null
- - in: query
- name: vlan_id__n
- schema:
- type: array
- items:
- type: string
- format: uuid
- nullable: true
- description: Exclude VLAN (ID)
- explode: true
- style: form
- - in: query
- name: vlan_vid
- schema:
- type: array
- items:
- type: integer
- description: VLAN number (1-4095)
- explode: true
- style: form
- - in: query
- name: vlan_vid__gt
- schema:
- type: array
- items:
- type: integer
- description: VLAN number (1-4095) is greater than
- explode: true
- style: form
- - in: query
- name: vlan_vid__gte
- schema:
- type: array
- items:
- type: integer
- description: VLAN number (1-4095) is greater than or equal to
- explode: true
- style: form
- - in: query
- name: vlan_vid__lt
- schema:
- type: array
- items:
- type: integer
- description: VLAN number (1-4095) is less than
- explode: true
- style: form
- - in: query
- name: vlan_vid__lte
- schema:
- type: array
- items:
- type: integer
- description: VLAN number (1-4095) is less than or equal to
- explode: true
- style: form
- - in: query
- name: vlan_vid__n
- schema:
- type: array
- items:
- type: integer
- description: Exclude VLAN number (1-4095)
- explode: true
- style: form
- - in: query
- name: vrfs
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: vrfs__isnull
- schema:
- type: boolean
- description: Assigned VRF (ID or RD) is null
- - in: query
- name: vrfs__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: within
- schema:
- type: array
- items:
- type: string
- description: Within prefix
- explode: true
- style: form
- - in: query
- name: within_include
- schema:
- type: array
- items:
- type: string
- description: Within and including prefix
- explode: true
- style: form
- in: query
name: depth
required: false
@@ -131192,6 +111103,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- ipam
security:
@@ -131202,14 +111120,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedPrefixList'
+ $ref: '#/components/schemas/PaginatedRouteTargetList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedPrefixList'
+ $ref: '#/components/schemas/PaginatedRouteTargetList'
description: ''
post:
- operationId: ipam_prefixes_create
- description: Create one or more prefix objects.
+ operationId: ipam_route_targets_create
+ description: Create one or more route target objects.
parameters:
- in: query
name: format
@@ -131224,10 +111142,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritablePrefixRequest'
+ $ref: '#/components/schemas/RouteTargetRequest'
text/csv:
schema:
- $ref: '#/components/schemas/WritablePrefixRequest'
+ $ref: '#/components/schemas/RouteTargetRequest'
required: true
security:
- cookieAuth: []
@@ -131237,14 +111155,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Prefix'
+ $ref: '#/components/schemas/RouteTarget'
text/csv:
schema:
- $ref: '#/components/schemas/Prefix'
+ $ref: '#/components/schemas/RouteTarget'
description: ''
put:
- operationId: ipam_prefixes_bulk_update
- description: Update a list of prefix objects.
+ operationId: ipam_route_targets_bulk_update
+ description: Update a list of route target objects.
parameters:
- in: query
name: format
@@ -131261,12 +111179,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritablePrefixRequest'
+ $ref: '#/components/schemas/BulkWritableRouteTargetRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritablePrefixRequest'
+ $ref: '#/components/schemas/BulkWritableRouteTargetRequest'
required: true
security:
- cookieAuth: []
@@ -131278,16 +111196,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/Prefix'
+ $ref: '#/components/schemas/RouteTarget'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/Prefix'
+ $ref: '#/components/schemas/RouteTarget'
description: ''
patch:
- operationId: ipam_prefixes_bulk_partial_update
- description: Partial update a list of prefix objects.
+ operationId: ipam_route_targets_bulk_partial_update
+ description: Partial update a list of route target objects.
parameters:
- in: query
name: format
@@ -131304,12 +111222,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritablePrefixRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableRouteTargetRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritablePrefixRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableRouteTargetRequest'
required: true
security:
- cookieAuth: []
@@ -131321,16 +111239,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/Prefix'
+ $ref: '#/components/schemas/RouteTarget'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/Prefix'
+ $ref: '#/components/schemas/RouteTarget'
description: ''
delete:
- operationId: ipam_prefixes_bulk_destroy
- description: Destroy a list of prefix objects.
+ operationId: ipam_route_targets_bulk_destroy
+ description: Destroy a list of route target objects.
parameters:
- in: query
name: format
@@ -131360,10 +111278,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /ipam/prefixes/{id}/:
+ /ipam/route-targets/{id}/:
get:
- operationId: ipam_prefixes_retrieve
- description: Retrieve a prefix object.
+ operationId: ipam_route_targets_retrieve
+ description: Retrieve a route target object.
parameters:
- in: query
name: format
@@ -131377,7 +111295,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this prefix.
+ description: A UUID string identifying this route target.
required: true
- in: query
name: depth
@@ -131388,6 +111306,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- ipam
security:
@@ -131398,14 +111323,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Prefix'
+ $ref: '#/components/schemas/RouteTarget'
text/csv:
schema:
- $ref: '#/components/schemas/Prefix'
+ $ref: '#/components/schemas/RouteTarget'
description: ''
put:
- operationId: ipam_prefixes_update
- description: Update a prefix object.
+ operationId: ipam_route_targets_update
+ description: Update a route target object.
parameters:
- in: query
name: format
@@ -131419,7 +111344,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this prefix.
+ description: A UUID string identifying this route target.
required: true
tags:
- ipam
@@ -131427,10 +111352,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritablePrefixRequest'
+ $ref: '#/components/schemas/RouteTargetRequest'
text/csv:
schema:
- $ref: '#/components/schemas/WritablePrefixRequest'
+ $ref: '#/components/schemas/RouteTargetRequest'
required: true
security:
- cookieAuth: []
@@ -131440,14 +111365,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Prefix'
+ $ref: '#/components/schemas/RouteTarget'
text/csv:
schema:
- $ref: '#/components/schemas/Prefix'
+ $ref: '#/components/schemas/RouteTarget'
description: ''
patch:
- operationId: ipam_prefixes_partial_update
- description: Partial update a prefix object.
+ operationId: ipam_route_targets_partial_update
+ description: Partial update a route target object.
parameters:
- in: query
name: format
@@ -131461,7 +111386,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this prefix.
+ description: A UUID string identifying this route target.
required: true
tags:
- ipam
@@ -131469,10 +111394,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedWritablePrefixRequest'
+ $ref: '#/components/schemas/PatchedRouteTargetRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedWritablePrefixRequest'
+ $ref: '#/components/schemas/PatchedRouteTargetRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -131481,14 +111406,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Prefix'
+ $ref: '#/components/schemas/RouteTarget'
text/csv:
schema:
- $ref: '#/components/schemas/Prefix'
+ $ref: '#/components/schemas/RouteTarget'
description: ''
delete:
- operationId: ipam_prefixes_destroy
- description: Destroy a prefix object.
+ operationId: ipam_route_targets_destroy
+ description: Destroy a route target object.
parameters:
- in: query
name: format
@@ -131502,7 +111427,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this prefix.
+ description: A UUID string identifying this route target.
required: true
tags:
- ipam
@@ -131512,153 +111437,10 @@ paths:
responses:
'204':
description: No response body
- /ipam/prefixes/{id}/available-ips/:
- get:
- operationId: ipam_prefixes_available_ips_list
- description: |-
- A convenience method for listing and/or allocating 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.
-
- This uses a Redis lock to prevent this API from being invoked in parallel, in order to avoid a race condition
- if multiple clients tried to simultaneously request allocation from the same parent prefix.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this IP address.
- required: true
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- - name: sort
- required: false
- in: query
- description: Which field to use when ordering the results.
- schema:
- type: string
- - in: query
- name: depth
- required: false
- description: Serializer Depth
- schema:
- type: integer
- minimum: 0
- maximum: 10
- default: 1
- tags:
- - ipam
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedAvailableIPList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedAvailableIPList'
- description: ''
- post:
- operationId: ipam_prefixes_available_ips_create
- description: |-
- A convenience method for listing and/or allocating 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.
-
- This uses a Redis lock to prevent this API from being invoked in parallel, in order to avoid a race condition
- if multiple clients tried to simultaneously request allocation from the same parent prefix.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this IP address.
- required: true
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- - name: sort
- required: false
- in: query
- description: Which field to use when ordering the results.
- schema:
- type: string
- tags:
- - ipam
- requestBody:
- content:
- application/json:
- schema:
- type: array
- items:
- $ref: '#/components/schemas/IPAllocationRequest'
- text/csv:
- schema:
- type: array
- items:
- $ref: '#/components/schemas/IPAllocationRequest'
- required: true
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '201':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedIPAddressList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedIPAddressList'
- description: ''
- /ipam/prefixes/{id}/available-prefixes/:
+ /ipam/route-targets/{id}/notes/:
get:
- operationId: ipam_prefixes_available_prefixes_list
- description: |-
- A convenience method for listing and/or allocating available child prefixes within a parent.
-
- This uses a Redis lock to prevent this API from being invoked in parallel, in order to avoid a race condition
- if multiple clients tried to simultaneously request allocation from the same parent prefix.
+ operationId: ipam_route_targets_notes_list
+ description: API methods for returning or creating notes on an object.
parameters:
- in: query
name: format
@@ -131672,7 +111454,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this prefix.
+ description: A UUID string identifying this route target.
required: true
- name: limit
required: false
@@ -131686,12 +111468,6 @@ paths:
description: The initial index from which to return the results.
schema:
type: integer
- - name: sort
- required: false
- in: query
- description: Which field to use when ordering the results.
- schema:
- type: string
- in: query
name: depth
required: false
@@ -131701,125 +111477,13 @@ paths:
minimum: 0
maximum: 10
default: 1
- tags:
- - ipam
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedAvailablePrefixList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedAvailablePrefixList'
- description: ''
- post:
- operationId: ipam_prefixes_available_prefixes_create
- description: |-
- A convenience method for listing and/or allocating available child prefixes within a parent.
-
- This uses a Redis lock to prevent this API from being invoked in parallel, in order to avoid a race condition
- if multiple clients tried to simultaneously request allocation from the same parent prefix.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this prefix.
- required: true
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- - name: sort
- required: false
- in: query
- description: Which field to use when ordering the results.
- schema:
- type: string
- tags:
- - ipam
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PrefixLengthRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/PrefixLengthRequest'
- required: true
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '201':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedPrefixList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedPrefixList'
- description: ''
- /ipam/prefixes/{id}/notes/:
- get:
- operationId: ipam_prefixes_notes_list
- description: API methods for returning or creating notes on an object.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this prefix.
- required: true
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- in: query
- name: depth
+ name: exclude_m2m
required: false
- description: Serializer Depth
+ description: Exclude many-to-many fields from the response
schema:
- type: integer
- minimum: 0
- maximum: 10
- default: 1
+ type: boolean
+ default: false
tags:
- ipam
security:
@@ -131836,7 +111500,7 @@ paths:
$ref: '#/components/schemas/PaginatedNoteList'
description: ''
post:
- operationId: ipam_prefixes_notes_create
+ operationId: ipam_route_targets_notes_create
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -131851,7 +111515,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this prefix.
+ description: A UUID string identifying this route target.
required: true
tags:
- ipam
@@ -131877,10 +111541,10 @@ paths:
schema:
$ref: '#/components/schemas/Note'
description: ''
- /ipam/rirs/:
+ /ipam/services/:
get:
- operationId: ipam_rirs_list
- description: Retrieve a list of RIR objects.
+ operationId: ipam_services_list
+ description: Retrieve a list of service objects.
parameters:
- in: query
name: contacts
@@ -131898,9 +111562,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -131960,7 +111626,7 @@ paths:
explode: true
style: form
- in: query
- name: description
+ name: device
schema:
type: array
items:
@@ -131968,15 +111634,12 @@ paths:
explode: true
style: form
- in: query
- name: description__ic
+ name: device__isnull
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
+ description: Device (ID or name) is null
- in: query
- name: description__ie
+ name: device__n
schema:
type: array
items:
@@ -131984,7 +111647,7 @@ paths:
explode: true
style: form
- in: query
- name: description__iew
+ name: dynamic_groups
schema:
type: array
items:
@@ -131992,7 +111655,7 @@ paths:
explode: true
style: form
- in: query
- name: description__ire
+ name: dynamic_groups__n
schema:
type: array
items:
@@ -132000,296 +111663,268 @@ paths:
explode: true
style: form
- in: query
- name: description__isw
+ name: format
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: string
+ enum:
+ - csv
+ - json
- in: query
- name: description__n
+ name: id
schema:
type: array
items:
type: string
+ format: uuid
explode: true
style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
- name: description__nic
+ name: id__n
schema:
type: array
items:
type: string
+ format: uuid
explode: true
style: form
- in: query
- name: description__nie
+ name: last_updated
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: description__niew
+ name: last_updated__gt
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: description__nire
+ name: last_updated__gte
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: description__nisw
+ name: last_updated__isnull
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
- in: query
- name: description__nre
+ name: last_updated__lt
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: description__re
+ name: last_updated__lte
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: dynamic_groups
+ name: last_updated__n
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- - in: query
- name: dynamic_groups__n
- schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
- - in: query
- name: format
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
schema:
- type: string
- enum:
- - csv
- - json
+ type: integer
- in: query
- name: id
+ name: name
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- description: Unique object identifier, either a UUID primary key or a composite
- key.
- in: query
- name: id__ic
+ name: name__ic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ie
+ name: name__ie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__iew
+ name: name__iew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ire
+ name: name__ire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__isw
+ name: name__isw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__n
+ name: name__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nic
+ name: name__nic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nie
+ name: name__nie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__niew
+ name: name__niew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nire
+ name: name__nire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nisw
+ name: name__nisw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nre
+ name: name__nre
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__re
+ name: name__re
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
- in: query
- name: is_private
+ name: ports
schema:
- type: boolean
+ type: number
- in: query
- name: last_updated
+ name: protocol
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__gt
+ name: protocol__ic
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__gte
+ name: protocol__ie
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__isnull
- schema:
- type: boolean
- - in: query
- name: last_updated__lt
+ name: protocol__iew
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__lte
+ name: protocol__ire
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__n
+ name: protocol__isw
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- in: query
- name: name
+ name: protocol__n
schema:
type: array
items:
@@ -132297,7 +111932,7 @@ paths:
explode: true
style: form
- in: query
- name: name__ic
+ name: protocol__nic
schema:
type: array
items:
@@ -132305,7 +111940,7 @@ paths:
explode: true
style: form
- in: query
- name: name__ie
+ name: protocol__nie
schema:
type: array
items:
@@ -132313,7 +111948,7 @@ paths:
explode: true
style: form
- in: query
- name: name__iew
+ name: protocol__niew
schema:
type: array
items:
@@ -132321,7 +111956,7 @@ paths:
explode: true
style: form
- in: query
- name: name__ire
+ name: protocol__nire
schema:
type: array
items:
@@ -132329,7 +111964,7 @@ paths:
explode: true
style: form
- in: query
- name: name__isw
+ name: protocol__nisw
schema:
type: array
items:
@@ -132337,7 +111972,7 @@ paths:
explode: true
style: form
- in: query
- name: name__n
+ name: protocol__nre
schema:
type: array
items:
@@ -132345,7 +111980,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nic
+ name: protocol__re
schema:
type: array
items:
@@ -132353,15 +111988,18 @@ paths:
explode: true
style: form
- in: query
- name: name__nie
+ name: q
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: string
+ description: Search
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
+ schema:
+ type: string
- in: query
- name: name__niew
+ name: tags
schema:
type: array
items:
@@ -132369,7 +112007,11 @@ paths:
explode: true
style: form
- in: query
- name: name__nire
+ name: tags__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: tags__n
schema:
type: array
items:
@@ -132377,7 +112019,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nisw
+ name: teams
schema:
type: array
items:
@@ -132385,7 +112027,12 @@ paths:
explode: true
style: form
- in: query
- name: name__nre
+ name: teams__isnull
+ schema:
+ type: boolean
+ description: Teams (name or ID) is null
+ - in: query
+ name: teams__n
schema:
type: array
items:
@@ -132393,49 +112040,26 @@ paths:
explode: true
style: form
- in: query
- name: name__re
+ name: virtual_machine
schema:
type: array
items:
type: string
explode: true
style: form
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- in: query
- name: q
- schema:
- type: string
- description: Search
- - name: sort
- required: false
- in: query
- description: Which field to use when ordering the results.
+ name: virtual_machine__isnull
schema:
- type: string
+ type: boolean
+ description: Virtual machine (ID or name) is null
- in: query
- name: teams
+ name: virtual_machine__n
schema:
type: array
items:
type: string
explode: true
style: form
- - in: query
- name: teams__isnull
- schema:
- type: boolean
- description: Teams (name or ID) is null
- - in: query
- name: teams__n
- schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
- in: query
name: depth
required: false
@@ -132445,6 +112069,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- ipam
security:
@@ -132455,14 +112086,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedRIRList'
+ $ref: '#/components/schemas/PaginatedServiceList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedRIRList'
+ $ref: '#/components/schemas/PaginatedServiceList'
description: ''
post:
- operationId: ipam_rirs_create
- description: Create one or more RIR objects.
+ operationId: ipam_services_create
+ description: Create one or more service objects.
parameters:
- in: query
name: format
@@ -132477,10 +112108,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/RIRRequest'
+ $ref: '#/components/schemas/WritableServiceRequest'
text/csv:
schema:
- $ref: '#/components/schemas/RIRRequest'
+ $ref: '#/components/schemas/WritableServiceRequest'
required: true
security:
- cookieAuth: []
@@ -132490,14 +112121,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/RIR'
+ $ref: '#/components/schemas/Service'
text/csv:
schema:
- $ref: '#/components/schemas/RIR'
+ $ref: '#/components/schemas/Service'
description: ''
put:
- operationId: ipam_rirs_bulk_update
- description: Update a list of RIR objects.
+ operationId: ipam_services_bulk_update
+ description: Update a list of service objects.
parameters:
- in: query
name: format
@@ -132514,12 +112145,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableRIRRequest'
+ $ref: '#/components/schemas/BulkWritableServiceRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableRIRRequest'
+ $ref: '#/components/schemas/BulkWritableServiceRequest'
required: true
security:
- cookieAuth: []
@@ -132531,16 +112162,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/RIR'
+ $ref: '#/components/schemas/Service'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/RIR'
+ $ref: '#/components/schemas/Service'
description: ''
patch:
- operationId: ipam_rirs_bulk_partial_update
- description: Partial update a list of RIR objects.
+ operationId: ipam_services_bulk_partial_update
+ description: Partial update a list of service objects.
parameters:
- in: query
name: format
@@ -132557,12 +112188,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableRIRRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableServiceRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableRIRRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableServiceRequest'
required: true
security:
- cookieAuth: []
@@ -132574,16 +112205,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/RIR'
+ $ref: '#/components/schemas/Service'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/RIR'
+ $ref: '#/components/schemas/Service'
description: ''
delete:
- operationId: ipam_rirs_bulk_destroy
- description: Destroy a list of RIR objects.
+ operationId: ipam_services_bulk_destroy
+ description: Destroy a list of service objects.
parameters:
- in: query
name: format
@@ -132613,10 +112244,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /ipam/rirs/{id}/:
+ /ipam/services/{id}/:
get:
- operationId: ipam_rirs_retrieve
- description: Retrieve a RIR object.
+ operationId: ipam_services_retrieve
+ description: Retrieve a service object.
parameters:
- in: query
name: format
@@ -132630,7 +112261,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this RIR.
+ description: A UUID string identifying this service.
required: true
- in: query
name: depth
@@ -132641,6 +112272,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- ipam
security:
@@ -132651,14 +112289,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/RIR'
+ $ref: '#/components/schemas/Service'
text/csv:
schema:
- $ref: '#/components/schemas/RIR'
+ $ref: '#/components/schemas/Service'
description: ''
put:
- operationId: ipam_rirs_update
- description: Update a RIR object.
+ operationId: ipam_services_update
+ description: Update a service object.
parameters:
- in: query
name: format
@@ -132672,7 +112310,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this RIR.
+ description: A UUID string identifying this service.
required: true
tags:
- ipam
@@ -132680,10 +112318,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/RIRRequest'
+ $ref: '#/components/schemas/WritableServiceRequest'
text/csv:
schema:
- $ref: '#/components/schemas/RIRRequest'
+ $ref: '#/components/schemas/WritableServiceRequest'
required: true
security:
- cookieAuth: []
@@ -132693,14 +112331,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/RIR'
+ $ref: '#/components/schemas/Service'
text/csv:
schema:
- $ref: '#/components/schemas/RIR'
+ $ref: '#/components/schemas/Service'
description: ''
patch:
- operationId: ipam_rirs_partial_update
- description: Partial update a RIR object.
+ operationId: ipam_services_partial_update
+ description: Partial update a service object.
parameters:
- in: query
name: format
@@ -132714,7 +112352,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this RIR.
+ description: A UUID string identifying this service.
required: true
tags:
- ipam
@@ -132722,10 +112360,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedRIRRequest'
+ $ref: '#/components/schemas/PatchedWritableServiceRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedRIRRequest'
+ $ref: '#/components/schemas/PatchedWritableServiceRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -132734,14 +112372,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/RIR'
+ $ref: '#/components/schemas/Service'
text/csv:
schema:
- $ref: '#/components/schemas/RIR'
+ $ref: '#/components/schemas/Service'
description: ''
delete:
- operationId: ipam_rirs_destroy
- description: Destroy a RIR object.
+ operationId: ipam_services_destroy
+ description: Destroy a service object.
parameters:
- in: query
name: format
@@ -132755,7 +112393,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this RIR.
+ description: A UUID string identifying this service.
required: true
tags:
- ipam
@@ -132765,9 +112403,9 @@ paths:
responses:
'204':
description: No response body
- /ipam/rirs/{id}/notes/:
+ /ipam/services/{id}/notes/:
get:
- operationId: ipam_rirs_notes_list
+ operationId: ipam_services_notes_list
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -132782,7 +112420,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this RIR.
+ description: A UUID string identifying this service.
required: true
- name: limit
required: false
@@ -132805,6 +112443,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- ipam
security:
@@ -132821,7 +112466,7 @@ paths:
$ref: '#/components/schemas/PaginatedNoteList'
description: ''
post:
- operationId: ipam_rirs_notes_create
+ operationId: ipam_services_notes_create
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -132836,7 +112481,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this RIR.
+ description: A UUID string identifying this service.
required: true
tags:
- ipam
@@ -132862,10 +112507,10 @@ paths:
schema:
$ref: '#/components/schemas/Note'
description: ''
- /ipam/route-targets/:
+ /ipam/vlan-groups/:
get:
- operationId: ipam_route_targets_list
- description: Retrieve a list of route target objects.
+ operationId: ipam_vlan_groups_list
+ description: Retrieve a list of VLAN group objects.
parameters:
- in: query
name: contacts
@@ -132883,9 +112528,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -132945,7 +112592,7 @@ paths:
explode: true
style: form
- in: query
- name: dynamic_groups
+ name: description
schema:
type: array
items:
@@ -132953,13 +112600,7 @@ paths:
explode: true
style: form
- in: query
- name: dynamic_groups__n
- schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
- - in: query
- name: exporting_vrfs
+ name: description__ic
schema:
type: array
items:
@@ -132967,12 +112608,7 @@ paths:
explode: true
style: form
- in: query
- name: exporting_vrfs__isnull
- schema:
- type: boolean
- description: Export VRF(s) (ID or RD) is null
- - in: query
- name: exporting_vrfs__n
+ name: description__ie
schema:
type: array
items:
@@ -132980,159 +112616,134 @@ paths:
explode: true
style: form
- in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: query
- name: id
+ name: description__iew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- description: Unique object identifier, either a UUID primary key or a composite
- key.
- in: query
- name: id__ic
+ name: description__ire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ie
+ name: description__isw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__iew
+ name: description__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ire
+ name: description__nic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__isw
+ name: description__nie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__n
+ name: description__niew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nic
+ name: description__nire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nie
+ name: description__nisw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__niew
+ name: description__nre
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nire
+ name: description__re
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nisw
+ name: dynamic_groups
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nre
+ name: dynamic_groups__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__re
+ name: format
schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
+ type: string
+ enum:
+ - csv
+ - json
- in: query
- name: importing_vrfs
+ name: id
schema:
type: array
items:
type: string
+ format: uuid
explode: true
style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
- name: importing_vrfs__isnull
- schema:
- type: boolean
- description: Import VRF(s) (ID or RD) is null
- - in: query
- name: importing_vrfs__n
+ name: id__n
schema:
type: array
items:
type: string
+ format: uuid
explode: true
style: form
- in: query
@@ -133199,6 +112810,27 @@ paths:
description: Number of results to return per page.
schema:
type: integer
+ - in: query
+ name: location
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: location__isnull
+ schema:
+ type: boolean
+ description: Location (name or ID) is null
+ - in: query
+ name: location__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: name
schema:
@@ -133363,77 +112995,10 @@ paths:
description: Teams (name or ID) is null
- in: query
name: teams__n
- schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
- - in: query
- name: tenant
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: tenant__isnull
- schema:
- type: boolean
- description: Tenant (name or ID) is null
- - in: query
- name: tenant__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: tenant_group
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: tenant_group__isnull
- schema:
- type: boolean
- description: Tenant Group (name or ID) is null
- - in: query
- name: tenant_group__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: tenant_id
- schema:
- type: array
- items:
- type: string
- format: uuid
- nullable: true
- description: Tenant (ID) (deprecated, use "tenant" filter instead)
- explode: true
- style: form
- - in: query
- name: tenant_id__isnull
- schema:
- type: boolean
- description: Tenant (ID) (deprecated, use "tenant" filter instead) is null
- - in: query
- name: tenant_id__n
schema:
type: array
items:
type: string
- format: uuid
- nullable: true
- description: Exclude Tenant (ID) (deprecated, use "tenant" filter instead)
explode: true
style: form
- in: query
@@ -133445,6 +113010,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- ipam
security:
@@ -133455,14 +113027,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedRouteTargetList'
+ $ref: '#/components/schemas/PaginatedVLANGroupList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedRouteTargetList'
+ $ref: '#/components/schemas/PaginatedVLANGroupList'
description: ''
post:
- operationId: ipam_route_targets_create
- description: Create one or more route target objects.
+ operationId: ipam_vlan_groups_create
+ description: Create one or more VLAN group objects.
parameters:
- in: query
name: format
@@ -133477,10 +113049,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/RouteTargetRequest'
+ $ref: '#/components/schemas/VLANGroupRequest'
text/csv:
schema:
- $ref: '#/components/schemas/RouteTargetRequest'
+ $ref: '#/components/schemas/VLANGroupRequest'
required: true
security:
- cookieAuth: []
@@ -133490,14 +113062,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/RouteTarget'
+ $ref: '#/components/schemas/VLANGroup'
text/csv:
schema:
- $ref: '#/components/schemas/RouteTarget'
+ $ref: '#/components/schemas/VLANGroup'
description: ''
put:
- operationId: ipam_route_targets_bulk_update
- description: Update a list of route target objects.
+ operationId: ipam_vlan_groups_bulk_update
+ description: Update a list of VLAN group objects.
parameters:
- in: query
name: format
@@ -133514,12 +113086,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableRouteTargetRequest'
+ $ref: '#/components/schemas/BulkWritableVLANGroupRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableRouteTargetRequest'
+ $ref: '#/components/schemas/BulkWritableVLANGroupRequest'
required: true
security:
- cookieAuth: []
@@ -133531,16 +113103,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/RouteTarget'
+ $ref: '#/components/schemas/VLANGroup'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/RouteTarget'
+ $ref: '#/components/schemas/VLANGroup'
description: ''
patch:
- operationId: ipam_route_targets_bulk_partial_update
- description: Partial update a list of route target objects.
+ operationId: ipam_vlan_groups_bulk_partial_update
+ description: Partial update a list of VLAN group objects.
parameters:
- in: query
name: format
@@ -133557,12 +113129,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableRouteTargetRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableVLANGroupRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableRouteTargetRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableVLANGroupRequest'
required: true
security:
- cookieAuth: []
@@ -133574,16 +113146,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/RouteTarget'
+ $ref: '#/components/schemas/VLANGroup'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/RouteTarget'
+ $ref: '#/components/schemas/VLANGroup'
description: ''
delete:
- operationId: ipam_route_targets_bulk_destroy
- description: Destroy a list of route target objects.
+ operationId: ipam_vlan_groups_bulk_destroy
+ description: Destroy a list of VLAN group objects.
parameters:
- in: query
name: format
@@ -133613,10 +113185,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /ipam/route-targets/{id}/:
+ /ipam/vlan-groups/{id}/:
get:
- operationId: ipam_route_targets_retrieve
- description: Retrieve a route target object.
+ operationId: ipam_vlan_groups_retrieve
+ description: Retrieve a VLAN group object.
parameters:
- in: query
name: format
@@ -133630,7 +113202,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this route target.
+ description: A UUID string identifying this VLAN group.
required: true
- in: query
name: depth
@@ -133641,6 +113213,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- ipam
security:
@@ -133651,14 +113230,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/RouteTarget'
+ $ref: '#/components/schemas/VLANGroup'
text/csv:
schema:
- $ref: '#/components/schemas/RouteTarget'
+ $ref: '#/components/schemas/VLANGroup'
description: ''
put:
- operationId: ipam_route_targets_update
- description: Update a route target object.
+ operationId: ipam_vlan_groups_update
+ description: Update a VLAN group object.
parameters:
- in: query
name: format
@@ -133672,7 +113251,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this route target.
+ description: A UUID string identifying this VLAN group.
required: true
tags:
- ipam
@@ -133680,10 +113259,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/RouteTargetRequest'
+ $ref: '#/components/schemas/VLANGroupRequest'
text/csv:
schema:
- $ref: '#/components/schemas/RouteTargetRequest'
+ $ref: '#/components/schemas/VLANGroupRequest'
required: true
security:
- cookieAuth: []
@@ -133693,14 +113272,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/RouteTarget'
+ $ref: '#/components/schemas/VLANGroup'
text/csv:
schema:
- $ref: '#/components/schemas/RouteTarget'
+ $ref: '#/components/schemas/VLANGroup'
description: ''
patch:
- operationId: ipam_route_targets_partial_update
- description: Partial update a route target object.
+ operationId: ipam_vlan_groups_partial_update
+ description: Partial update a VLAN group object.
parameters:
- in: query
name: format
@@ -133714,7 +113293,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this route target.
+ description: A UUID string identifying this VLAN group.
required: true
tags:
- ipam
@@ -133722,10 +113301,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedRouteTargetRequest'
+ $ref: '#/components/schemas/PatchedVLANGroupRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedRouteTargetRequest'
+ $ref: '#/components/schemas/PatchedVLANGroupRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -133734,14 +113313,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/RouteTarget'
+ $ref: '#/components/schemas/VLANGroup'
text/csv:
schema:
- $ref: '#/components/schemas/RouteTarget'
+ $ref: '#/components/schemas/VLANGroup'
description: ''
delete:
- operationId: ipam_route_targets_destroy
- description: Destroy a route target object.
+ operationId: ipam_vlan_groups_destroy
+ description: Destroy a VLAN group object.
parameters:
- in: query
name: format
@@ -133755,7 +113334,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this route target.
+ description: A UUID string identifying this VLAN group.
required: true
tags:
- ipam
@@ -133765,9 +113344,189 @@ paths:
responses:
'204':
description: No response body
- /ipam/route-targets/{id}/notes/:
+ /ipam/vlan-groups/{id}/available-vlans/:
get:
- operationId: ipam_route_targets_notes_list
+ operationId: ipam_vlan_groups_available_vlans_list
+ description: |-
+ A convenience method for listing available VLAN IDs within a VLANGroup.
+ By default, the number of VIDs 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.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this VLAN.
+ required: true
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
+ schema:
+ type: string
+ - in: query
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
+ tags:
+ - ipam
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ type: object
+ required:
+ - count
+ - results
+ properties:
+ count:
+ type: integer
+ example: 123
+ next:
+ type: string
+ nullable: true
+ format: uri
+ example: http://api.example.org/accounts/?offset=400&limit=100
+ previous:
+ type: string
+ nullable: true
+ format: uri
+ example: http://api.example.org/accounts/?offset=200&limit=100
+ results:
+ type: array
+ items:
+ type: integer
+ text/csv:
+ schema:
+ type: object
+ required:
+ - count
+ - results
+ properties:
+ count:
+ type: integer
+ example: 123
+ next:
+ type: string
+ nullable: true
+ format: uri
+ example: http://api.example.org/accounts/?offset=400&limit=100
+ previous:
+ type: string
+ nullable: true
+ format: uri
+ example: http://api.example.org/accounts/?offset=200&limit=100
+ results:
+ type: array
+ items:
+ type: integer
+ description: ''
+ post:
+ operationId: ipam_vlan_groups_available_vlans_create
+ description: |-
+ A convenience method for listing available VLAN IDs within a VLANGroup.
+ By default, the number of VIDs 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.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this VLAN.
+ required: true
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
+ schema:
+ type: string
+ tags:
+ - ipam
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/VLANAllocationRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/VLANAllocationRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '201':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PaginatedVLANList'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PaginatedVLANList'
+ description: ''
+ /ipam/vlan-groups/{id}/notes/:
+ get:
+ operationId: ipam_vlan_groups_notes_list
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -133782,7 +113541,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this route target.
+ description: A UUID string identifying this VLAN group.
required: true
- name: limit
required: false
@@ -133805,6 +113564,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- ipam
security:
@@ -133821,7 +113587,7 @@ paths:
$ref: '#/components/schemas/PaginatedNoteList'
description: ''
post:
- operationId: ipam_route_targets_notes_create
+ operationId: ipam_vlan_groups_notes_create
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -133836,7 +113602,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this route target.
+ description: A UUID string identifying this VLAN group.
required: true
tags:
- ipam
@@ -133862,50 +113628,49 @@ paths:
schema:
$ref: '#/components/schemas/Note'
description: ''
- /ipam/services/:
+ /ipam/vlan-location-assignments/:
get:
- operationId: ipam_services_list
- description: Retrieve a list of service objects.
+ operationId: ipam_vlan_location_assignments_list
+ description: Retrieve a list of vlan location assignment objects.
parameters:
- in: query
- name: contacts
+ name: created
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: contacts__isnull
- schema:
- type: boolean
- description: Contacts (name or ID) is null
- - in: query
- name: contacts__n
+ name: format
schema:
type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ enum:
+ - csv
+ - json
- in: query
- name: created
+ name: id
schema:
type: array
items:
type: string
- format: date-time
+ format: uuid
explode: true
style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
- name: created__gt
+ name: id__n
schema:
type: array
items:
type: string
- format: date-time
+ format: uuid
explode: true
style: form
- in: query
- name: created__gte
+ name: last_updated
schema:
type: array
items:
@@ -133913,39 +113678,55 @@ paths:
format: date-time
explode: true
style: form
- - in: query
- name: created__isnull
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
schema:
- type: boolean
+ type: integer
- in: query
- name: created__lt
+ name: location
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: created__lte
+ name: location__n
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
- in: query
- name: created__n
+ name: q
+ schema:
+ type: string
+ description: Search
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
+ schema:
+ type: string
+ - in: query
+ name: vlan
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: device
+ name: vlan__n
schema:
type: array
items:
@@ -133953,32 +113734,285 @@ paths:
explode: true
style: form
- in: query
- name: device__isnull
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
schema:
type: boolean
- description: Device (ID or name) is null
+ default: false
+ tags:
+ - ipam
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PaginatedVLANLocationAssignmentList'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PaginatedVLANLocationAssignmentList'
+ description: ''
+ post:
+ operationId: ipam_vlan_location_assignments_create
+ description: Create one or more vlan location assignment objects.
+ parameters:
- in: query
- name: device__n
+ name: format
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - ipam
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/VLANLocationAssignmentRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/VLANLocationAssignmentRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '201':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/VLANLocationAssignment'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/VLANLocationAssignment'
+ description: ''
+ put:
+ operationId: ipam_vlan_location_assignments_bulk_update
+ description: Update a list of vlan location assignment objects.
+ parameters:
- in: query
- name: dynamic_groups
+ name: format
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - ipam
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkWritableVLANLocationAssignmentRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkWritableVLANLocationAssignmentRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/VLANLocationAssignment'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/VLANLocationAssignment'
+ description: ''
+ patch:
+ operationId: ipam_vlan_location_assignments_bulk_partial_update
+ description: Partial update a list of vlan location assignment objects.
+ parameters:
- in: query
- name: dynamic_groups__n
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - ipam
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/PatchedBulkWritableVLANLocationAssignmentRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/PatchedBulkWritableVLANLocationAssignmentRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/VLANLocationAssignment'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/VLANLocationAssignment'
+ description: ''
+ delete:
+ operationId: ipam_vlan_location_assignments_bulk_destroy
+ description: Destroy a list of vlan location assignment objects.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - ipam
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '204':
+ description: No response body
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkOperationRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkOperationRequest'
+ required: true
+ /ipam/vlan-location-assignments/{id}/:
+ get:
+ operationId: ipam_vlan_location_assignments_retrieve
+ description: Retrieve a vlan location assignment object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this vlan location assignment.
+ required: true
+ - in: query
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
+ tags:
+ - ipam
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/VLANLocationAssignment'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/VLANLocationAssignment'
+ description: ''
+ put:
+ operationId: ipam_vlan_location_assignments_update
+ description: Update a vlan location assignment object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
schema:
type: string
format: uuid
- description: Exclude Dynamic groups (name or ID)
+ description: A UUID string identifying this vlan location assignment.
+ required: true
+ tags:
+ - ipam
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/VLANLocationAssignmentRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/VLANLocationAssignmentRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/VLANLocationAssignment'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/VLANLocationAssignment'
+ description: ''
+ patch:
+ operationId: ipam_vlan_location_assignments_partial_update
+ description: Partial update a vlan location assignment object.
+ parameters:
- in: query
name: format
schema:
@@ -133986,118 +114020,181 @@ paths:
enum:
- csv
- json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this vlan location assignment.
+ required: true
+ tags:
+ - ipam
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PatchedVLANLocationAssignmentRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PatchedVLANLocationAssignmentRequest'
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/VLANLocationAssignment'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/VLANLocationAssignment'
+ description: ''
+ delete:
+ operationId: ipam_vlan_location_assignments_destroy
+ description: Destroy a vlan location assignment object.
+ parameters:
- in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
name: id
schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- description: Unique object identifier, either a UUID primary key or a composite
- key.
+ type: string
+ format: uuid
+ description: A UUID string identifying this vlan location assignment.
+ required: true
+ tags:
+ - ipam
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '204':
+ description: No response body
+ /ipam/vlans/:
+ get:
+ operationId: ipam_vlans_list
+ description: Retrieve a list of VLAN objects.
+ parameters:
- in: query
- name: id__ic
+ name: available_on_device
schema:
type: array
items:
type: string
format: uuid
+ description: Device (ID)
explode: true
style: form
- in: query
- name: id__ie
+ name: contacts
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__iew
+ name: contacts__isnull
+ schema:
+ type: boolean
+ description: Contacts (name or ID) is null
+ - in: query
+ name: contacts__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ire
+ name: created
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__isw
+ name: created__gt
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__n
+ name: created__gte
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__nic
+ name: created__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: created__lt
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__nie
+ name: created__lte
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__niew
+ name: created__n
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__nire
+ name: dynamic_groups
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nisw
+ name: dynamic_groups__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nre
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: query
+ name: id
schema:
type: array
items:
@@ -134105,8 +114202,10 @@ paths:
format: uuid
explode: true
style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
- name: id__re
+ name: id__n
schema:
type: array
items:
@@ -134178,6 +114277,38 @@ paths:
description: Number of results to return per page.
schema:
type: integer
+ - in: query
+ name: location
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: location__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: locations
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: locations__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: name
schema:
@@ -134297,11 +114428,12 @@ paths:
schema:
type: integer
- in: query
- name: ports
+ name: q
schema:
- type: number
+ type: string
+ description: Search
- in: query
- name: protocol
+ name: role
schema:
type: array
items:
@@ -134309,15 +114441,26 @@ paths:
explode: true
style: form
- in: query
- name: protocol__ic
+ name: role__isnull
+ schema:
+ type: boolean
+ description: Role (name or ID) is null
+ - in: query
+ name: role__n
schema:
type: array
items:
type: string
explode: true
style: form
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
+ schema:
+ type: string
- in: query
- name: protocol__ie
+ name: status
schema:
type: array
items:
@@ -134325,7 +114468,7 @@ paths:
explode: true
style: form
- in: query
- name: protocol__iew
+ name: status__n
schema:
type: array
items:
@@ -134333,7 +114476,48 @@ paths:
explode: true
style: form
- in: query
- name: protocol__ire
+ name: tags
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: tags__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: tags__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: teams
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: teams__isnull
+ schema:
+ type: boolean
+ description: Teams (name or ID) is null
+ - in: query
+ name: teams__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: tenant
schema:
type: array
items:
@@ -134341,7 +114525,12 @@ paths:
explode: true
style: form
- in: query
- name: protocol__isw
+ name: tenant__isnull
+ schema:
+ type: boolean
+ description: Tenant (name or ID) is null
+ - in: query
+ name: tenant__n
schema:
type: array
items:
@@ -134349,7 +114538,7 @@ paths:
explode: true
style: form
- in: query
- name: protocol__n
+ name: tenant_group
schema:
type: array
items:
@@ -134357,15 +114546,12 @@ paths:
explode: true
style: form
- in: query
- name: protocol__nic
+ name: tenant_group__isnull
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
+ description: Tenant Group (name or ID) is null
- in: query
- name: protocol__nie
+ name: tenant_group__n
schema:
type: array
items:
@@ -134373,97 +114559,82 @@ paths:
explode: true
style: form
- in: query
- name: protocol__niew
+ name: tenant_id
schema:
type: array
items:
type: string
+ format: uuid
+ nullable: true
+ description: Tenant (ID) (deprecated, use "tenant" filter instead)
explode: true
style: form
- in: query
- name: protocol__nire
+ name: tenant_id__isnull
+ schema:
+ type: boolean
+ description: Tenant (ID) (deprecated, use "tenant" filter instead) is null
+ - in: query
+ name: tenant_id__n
schema:
type: array
items:
type: string
+ format: uuid
+ nullable: true
+ description: Exclude Tenant (ID) (deprecated, use "tenant" filter instead)
explode: true
style: form
- in: query
- name: protocol__nisw
+ name: vid
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: protocol__nre
+ name: vid__gt
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: protocol__re
+ name: vid__gte
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: q
- schema:
- type: string
- description: Search
- - name: sort
- required: false
- in: query
- description: Which field to use when ordering the results.
- schema:
- type: string
- - in: query
- name: tags
+ name: vid__lt
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: tags__isnull
- schema:
- type: boolean
- - in: query
- name: tags__n
+ name: vid__lte
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: teams
+ name: vid__n
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: teams__isnull
- schema:
- type: boolean
- description: Teams (name or ID) is null
- - in: query
- name: teams__n
- schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
- - in: query
- name: virtual_machine
+ name: vlan_group
schema:
type: array
items:
@@ -134471,12 +114642,12 @@ paths:
explode: true
style: form
- in: query
- name: virtual_machine__isnull
+ name: vlan_group__isnull
schema:
type: boolean
- description: Virtual machine (ID or name) is null
+ description: VLAN Group (name or ID) is null
- in: query
- name: virtual_machine__n
+ name: vlan_group__n
schema:
type: array
items:
@@ -134492,6 +114663,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- ipam
security:
@@ -134502,14 +114680,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedServiceList'
+ $ref: '#/components/schemas/PaginatedVLANList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedServiceList'
+ $ref: '#/components/schemas/PaginatedVLANList'
description: ''
post:
- operationId: ipam_services_create
- description: Create one or more service objects.
+ operationId: ipam_vlans_create
+ description: Create one or more VLAN objects.
parameters:
- in: query
name: format
@@ -134524,10 +114702,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableServiceRequest'
+ $ref: '#/components/schemas/VLANRequest'
text/csv:
schema:
- $ref: '#/components/schemas/WritableServiceRequest'
+ $ref: '#/components/schemas/VLANRequest'
required: true
security:
- cookieAuth: []
@@ -134537,14 +114715,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Service'
+ $ref: '#/components/schemas/VLAN'
text/csv:
schema:
- $ref: '#/components/schemas/Service'
+ $ref: '#/components/schemas/VLAN'
description: ''
put:
- operationId: ipam_services_bulk_update
- description: Update a list of service objects.
+ operationId: ipam_vlans_bulk_update
+ description: Update a list of VLAN objects.
parameters:
- in: query
name: format
@@ -134561,12 +114739,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableServiceRequest'
+ $ref: '#/components/schemas/BulkWritableVLANRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableServiceRequest'
+ $ref: '#/components/schemas/BulkWritableVLANRequest'
required: true
security:
- cookieAuth: []
@@ -134578,16 +114756,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/Service'
+ $ref: '#/components/schemas/VLAN'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/Service'
+ $ref: '#/components/schemas/VLAN'
description: ''
patch:
- operationId: ipam_services_bulk_partial_update
- description: Partial update a list of service objects.
+ operationId: ipam_vlans_bulk_partial_update
+ description: Partial update a list of VLAN objects.
parameters:
- in: query
name: format
@@ -134604,12 +114782,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableServiceRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableVLANRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableServiceRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableVLANRequest'
required: true
security:
- cookieAuth: []
@@ -134621,16 +114799,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/Service'
+ $ref: '#/components/schemas/VLAN'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/Service'
+ $ref: '#/components/schemas/VLAN'
description: ''
delete:
- operationId: ipam_services_bulk_destroy
- description: Destroy a list of service objects.
+ operationId: ipam_vlans_bulk_destroy
+ description: Destroy a list of VLAN objects.
parameters:
- in: query
name: format
@@ -134660,10 +114838,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /ipam/services/{id}/:
+ /ipam/vlans/{id}/:
get:
- operationId: ipam_services_retrieve
- description: Retrieve a service object.
+ operationId: ipam_vlans_retrieve
+ description: Retrieve a VLAN object.
parameters:
- in: query
name: format
@@ -134677,7 +114855,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this service.
+ description: A UUID string identifying this VLAN.
required: true
- in: query
name: depth
@@ -134688,6 +114866,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- ipam
security:
@@ -134698,14 +114883,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Service'
+ $ref: '#/components/schemas/VLAN'
text/csv:
schema:
- $ref: '#/components/schemas/Service'
+ $ref: '#/components/schemas/VLAN'
description: ''
put:
- operationId: ipam_services_update
- description: Update a service object.
+ operationId: ipam_vlans_update
+ description: Update a VLAN object.
parameters:
- in: query
name: format
@@ -134719,7 +114904,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this service.
+ description: A UUID string identifying this VLAN.
required: true
tags:
- ipam
@@ -134727,10 +114912,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableServiceRequest'
+ $ref: '#/components/schemas/VLANRequest'
text/csv:
schema:
- $ref: '#/components/schemas/WritableServiceRequest'
+ $ref: '#/components/schemas/VLANRequest'
required: true
security:
- cookieAuth: []
@@ -134740,14 +114925,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Service'
+ $ref: '#/components/schemas/VLAN'
text/csv:
schema:
- $ref: '#/components/schemas/Service'
+ $ref: '#/components/schemas/VLAN'
description: ''
patch:
- operationId: ipam_services_partial_update
- description: Partial update a service object.
+ operationId: ipam_vlans_partial_update
+ description: Partial update a VLAN object.
parameters:
- in: query
name: format
@@ -134761,7 +114946,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this service.
+ description: A UUID string identifying this VLAN.
required: true
tags:
- ipam
@@ -134769,10 +114954,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedWritableServiceRequest'
+ $ref: '#/components/schemas/PatchedVLANRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedWritableServiceRequest'
+ $ref: '#/components/schemas/PatchedVLANRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -134781,14 +114966,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Service'
+ $ref: '#/components/schemas/VLAN'
text/csv:
schema:
- $ref: '#/components/schemas/Service'
+ $ref: '#/components/schemas/VLAN'
description: ''
delete:
- operationId: ipam_services_destroy
- description: Destroy a service object.
+ operationId: ipam_vlans_destroy
+ description: Destroy a VLAN object.
parameters:
- in: query
name: format
@@ -134802,7 +114987,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this service.
+ description: A UUID string identifying this VLAN.
required: true
tags:
- ipam
@@ -134812,9 +114997,9 @@ paths:
responses:
'204':
description: No response body
- /ipam/services/{id}/notes/:
+ /ipam/vlans/{id}/notes/:
get:
- operationId: ipam_services_notes_list
+ operationId: ipam_vlans_notes_list
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -134829,7 +115014,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this service.
+ description: A UUID string identifying this VLAN.
required: true
- name: limit
required: false
@@ -134852,6 +115037,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- ipam
security:
@@ -134868,7 +115060,7 @@ paths:
$ref: '#/components/schemas/PaginatedNoteList'
description: ''
post:
- operationId: ipam_services_notes_create
+ operationId: ipam_vlans_notes_create
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -134883,7 +115075,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this service.
+ description: A UUID string identifying this VLAN.
required: true
tags:
- ipam
@@ -134909,30 +115101,11 @@ paths:
schema:
$ref: '#/components/schemas/Note'
description: ''
- /ipam/vlan-groups/:
+ /ipam/vrf-device-assignments/:
get:
- operationId: ipam_vlan_groups_list
- description: Retrieve a list of VLAN group objects.
+ operationId: ipam_vrf_device_assignments_list
+ description: Retrieve a list of VRF-device assignment objects.
parameters:
- - in: query
- name: contacts
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: contacts__isnull
- schema:
- type: boolean
- description: Contacts (name or ID) is null
- - in: query
- name: contacts__n
- schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
- in: query
name: created
schema:
@@ -134943,88 +115116,70 @@ paths:
explode: true
style: form
- in: query
- name: created__gt
- schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
- - in: query
- name: created__gte
+ name: device
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: created__isnull
+ name: device__isnull
schema:
type: boolean
+ description: Device (ID or name) is null
- in: query
- name: created__lt
- schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
- - in: query
- name: created__lte
+ name: device__n
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: created__n
+ name: format
schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
+ type: string
+ enum:
+ - csv
+ - json
- in: query
- name: description
+ name: id
schema:
type: array
items:
type: string
+ format: uuid
explode: true
style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
- name: description__ic
+ name: id__n
schema:
type: array
items:
type: string
+ format: uuid
explode: true
style: form
- in: query
- name: description__ie
+ name: last_updated
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- - in: query
- name: description__iew
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: integer
- in: query
- name: description__ire
+ name: name
schema:
type: array
items:
@@ -135032,7 +115187,7 @@ paths:
explode: true
style: form
- in: query
- name: description__isw
+ name: name__ic
schema:
type: array
items:
@@ -135040,7 +115195,7 @@ paths:
explode: true
style: form
- in: query
- name: description__n
+ name: name__ie
schema:
type: array
items:
@@ -135048,7 +115203,7 @@ paths:
explode: true
style: form
- in: query
- name: description__nic
+ name: name__iew
schema:
type: array
items:
@@ -135056,7 +115211,7 @@ paths:
explode: true
style: form
- in: query
- name: description__nie
+ name: name__ire
schema:
type: array
items:
@@ -135064,7 +115219,7 @@ paths:
explode: true
style: form
- in: query
- name: description__niew
+ name: name__isw
schema:
type: array
items:
@@ -135072,7 +115227,7 @@ paths:
explode: true
style: form
- in: query
- name: description__nire
+ name: name__n
schema:
type: array
items:
@@ -135080,7 +115235,7 @@ paths:
explode: true
style: form
- in: query
- name: description__nisw
+ name: name__nic
schema:
type: array
items:
@@ -135088,7 +115243,7 @@ paths:
explode: true
style: form
- in: query
- name: description__nre
+ name: name__nie
schema:
type: array
items:
@@ -135096,7 +115251,7 @@ paths:
explode: true
style: form
- in: query
- name: description__re
+ name: name__niew
schema:
type: array
items:
@@ -135104,7 +115259,7 @@ paths:
explode: true
style: form
- in: query
- name: dynamic_groups
+ name: name__nire
schema:
type: array
items:
@@ -135112,212 +115267,164 @@ paths:
explode: true
style: form
- in: query
- name: dynamic_groups__n
- schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: query
- name: id
+ name: name__nisw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- description: Unique object identifier, either a UUID primary key or a composite
- key.
- in: query
- name: id__ic
+ name: name__nre
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ie
+ name: name__re
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- - in: query
- name: id__iew
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
+ type: integer
- in: query
- name: id__ire
+ name: q
schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
+ type: string
+ description: Search
- in: query
- name: id__isw
+ name: rd
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__n
+ name: rd__ic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nic
+ name: rd__ie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nie
+ name: rd__iew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__niew
+ name: rd__ire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nire
+ name: rd__isnull
schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
+ type: boolean
- in: query
- name: id__nisw
+ name: rd__isw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nre
+ name: rd__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__re
+ name: rd__nic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: last_updated
+ name: rd__nie
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__gt
+ name: rd__niew
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__gte
+ name: rd__nire
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__isnull
- schema:
- type: boolean
- - in: query
- name: last_updated__lt
+ name: rd__nisw
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__lte
+ name: rd__nre
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__n
+ name: rd__re
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- - name: limit
+ - name: sort
required: false
in: query
- description: Number of results to return per page.
+ description: Which field to use when ordering the results.
schema:
- type: integer
+ type: string
- in: query
- name: location
+ name: virtual_device_context
schema:
type: array
items:
@@ -135325,92 +115432,12 @@ paths:
explode: true
style: form
- in: query
- name: location__isnull
+ name: virtual_device_context__isnull
schema:
type: boolean
- description: Location (name or ID) is null
- - in: query
- name: location__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__ic
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__ie
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__iew
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__ire
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__isw
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__nic
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__nie
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ description: Virtual Device Context (ID or name) is null
- in: query
- name: name__niew
+ name: virtual_device_context__n
schema:
type: array
items:
@@ -135418,7 +115445,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nire
+ name: virtual_machine
schema:
type: array
items:
@@ -135426,15 +115453,12 @@ paths:
explode: true
style: form
- in: query
- name: name__nisw
+ name: virtual_machine__isnull
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
+ description: Virtual Machine (ID or name) is null
- in: query
- name: name__nre
+ name: virtual_machine__n
schema:
type: array
items:
@@ -135442,49 +115466,21 @@ paths:
explode: true
style: form
- in: query
- name: name__re
+ name: vrf
schema:
type: array
items:
type: string
explode: true
style: form
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- - in: query
- name: q
- schema:
- type: string
- description: Search
- - name: sort
- required: false
- in: query
- description: Which field to use when ordering the results.
- schema:
- type: string
- in: query
- name: teams
+ name: vrf__n
schema:
type: array
items:
type: string
explode: true
style: form
- - in: query
- name: teams__isnull
- schema:
- type: boolean
- description: Teams (name or ID) is null
- - in: query
- name: teams__n
- schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
- in: query
name: depth
required: false
@@ -135494,6 +115490,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- ipam
security:
@@ -135504,14 +115507,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedVLANGroupList'
+ $ref: '#/components/schemas/PaginatedVRFDeviceAssignmentList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedVLANGroupList'
+ $ref: '#/components/schemas/PaginatedVRFDeviceAssignmentList'
description: ''
post:
- operationId: ipam_vlan_groups_create
- description: Create one or more VLAN group objects.
+ operationId: ipam_vrf_device_assignments_create
+ description: Create one or more VRF-device assignment objects.
parameters:
- in: query
name: format
@@ -135526,10 +115529,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VLANGroupRequest'
+ $ref: '#/components/schemas/VRFDeviceAssignmentRequest'
text/csv:
schema:
- $ref: '#/components/schemas/VLANGroupRequest'
+ $ref: '#/components/schemas/VRFDeviceAssignmentRequest'
required: true
security:
- cookieAuth: []
@@ -135539,14 +115542,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VLANGroup'
+ $ref: '#/components/schemas/VRFDeviceAssignment'
text/csv:
schema:
- $ref: '#/components/schemas/VLANGroup'
+ $ref: '#/components/schemas/VRFDeviceAssignment'
description: ''
put:
- operationId: ipam_vlan_groups_bulk_update
- description: Update a list of VLAN group objects.
+ operationId: ipam_vrf_device_assignments_bulk_update
+ description: Update a list of VRF-device assignment objects.
parameters:
- in: query
name: format
@@ -135563,12 +115566,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableVLANGroupRequest'
+ $ref: '#/components/schemas/BulkWritableVRFDeviceAssignmentRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableVLANGroupRequest'
+ $ref: '#/components/schemas/BulkWritableVRFDeviceAssignmentRequest'
required: true
security:
- cookieAuth: []
@@ -135580,16 +115583,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/VLANGroup'
+ $ref: '#/components/schemas/VRFDeviceAssignment'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/VLANGroup'
+ $ref: '#/components/schemas/VRFDeviceAssignment'
description: ''
patch:
- operationId: ipam_vlan_groups_bulk_partial_update
- description: Partial update a list of VLAN group objects.
+ operationId: ipam_vrf_device_assignments_bulk_partial_update
+ description: Partial update a list of VRF-device assignment objects.
parameters:
- in: query
name: format
@@ -135606,12 +115609,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableVLANGroupRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableVRFDeviceAssignmentRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableVLANGroupRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableVRFDeviceAssignmentRequest'
required: true
security:
- cookieAuth: []
@@ -135623,16 +115626,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/VLANGroup'
+ $ref: '#/components/schemas/VRFDeviceAssignment'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/VLANGroup'
+ $ref: '#/components/schemas/VRFDeviceAssignment'
description: ''
delete:
- operationId: ipam_vlan_groups_bulk_destroy
- description: Destroy a list of VLAN group objects.
+ operationId: ipam_vrf_device_assignments_bulk_destroy
+ description: Destroy a list of VRF-device assignment objects.
parameters:
- in: query
name: format
@@ -135662,10 +115665,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /ipam/vlan-groups/{id}/:
+ /ipam/vrf-device-assignments/{id}/:
get:
- operationId: ipam_vlan_groups_retrieve
- description: Retrieve a VLAN group object.
+ operationId: ipam_vrf_device_assignments_retrieve
+ description: Retrieve a VRF-device assignment object.
parameters:
- in: query
name: format
@@ -135679,7 +115682,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this VLAN group.
+ description: A UUID string identifying this VRF-device assignment.
required: true
- in: query
name: depth
@@ -135690,6 +115693,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- ipam
security:
@@ -135700,14 +115710,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VLANGroup'
+ $ref: '#/components/schemas/VRFDeviceAssignment'
text/csv:
schema:
- $ref: '#/components/schemas/VLANGroup'
+ $ref: '#/components/schemas/VRFDeviceAssignment'
description: ''
put:
- operationId: ipam_vlan_groups_update
- description: Update a VLAN group object.
+ operationId: ipam_vrf_device_assignments_update
+ description: Update a VRF-device assignment object.
parameters:
- in: query
name: format
@@ -135721,7 +115731,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this VLAN group.
+ description: A UUID string identifying this VRF-device assignment.
required: true
tags:
- ipam
@@ -135729,10 +115739,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VLANGroupRequest'
+ $ref: '#/components/schemas/VRFDeviceAssignmentRequest'
text/csv:
schema:
- $ref: '#/components/schemas/VLANGroupRequest'
+ $ref: '#/components/schemas/VRFDeviceAssignmentRequest'
required: true
security:
- cookieAuth: []
@@ -135742,14 +115752,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VLANGroup'
+ $ref: '#/components/schemas/VRFDeviceAssignment'
text/csv:
schema:
- $ref: '#/components/schemas/VLANGroup'
+ $ref: '#/components/schemas/VRFDeviceAssignment'
description: ''
patch:
- operationId: ipam_vlan_groups_partial_update
- description: Partial update a VLAN group object.
+ operationId: ipam_vrf_device_assignments_partial_update
+ description: Partial update a VRF-device assignment object.
parameters:
- in: query
name: format
@@ -135763,7 +115773,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this VLAN group.
+ description: A UUID string identifying this VRF-device assignment.
required: true
tags:
- ipam
@@ -135771,10 +115781,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedVLANGroupRequest'
+ $ref: '#/components/schemas/PatchedVRFDeviceAssignmentRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedVLANGroupRequest'
+ $ref: '#/components/schemas/PatchedVRFDeviceAssignmentRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -135783,14 +115793,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VLANGroup'
+ $ref: '#/components/schemas/VRFDeviceAssignment'
text/csv:
schema:
- $ref: '#/components/schemas/VLANGroup'
+ $ref: '#/components/schemas/VRFDeviceAssignment'
description: ''
delete:
- operationId: ipam_vlan_groups_destroy
- description: Destroy a VLAN group object.
+ operationId: ipam_vrf_device_assignments_destroy
+ description: Destroy a VRF-device assignment object.
parameters:
- in: query
name: format
@@ -135804,7 +115814,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this VLAN group.
+ description: A UUID string identifying this VRF-device assignment.
required: true
tags:
- ipam
@@ -135814,107 +115824,10 @@ paths:
responses:
'204':
description: No response body
- /ipam/vlan-groups/{id}/notes/:
- get:
- operationId: ipam_vlan_groups_notes_list
- description: API methods for returning or creating notes on an object.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this VLAN group.
- required: true
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- - in: query
- name: depth
- required: false
- description: Serializer Depth
- schema:
- type: integer
- minimum: 0
- maximum: 10
- default: 1
- tags:
- - ipam
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- description: ''
- post:
- operationId: ipam_vlan_groups_notes_create
- description: API methods for returning or creating notes on an object.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this VLAN group.
- required: true
- tags:
- - ipam
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- required: true
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '201':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Note'
- text/csv:
- schema:
- $ref: '#/components/schemas/Note'
- description: ''
- /ipam/vlan-location-assignments/:
+ /ipam/vrf-prefix-assignments/:
get:
- operationId: ipam_vlan_location_assignments_list
- description: Retrieve a list of vlan location assignment objects.
+ operationId: ipam_vrf_prefix_assignments_list
+ description: Retrieve a list of VRF-prefix assignment objects.
parameters:
- in: query
name: created
@@ -135943,51 +115856,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -135997,69 +115865,6 @@ paths:
format: uuid
explode: true
style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: last_updated
schema:
@@ -136075,8 +115880,14 @@ paths:
description: Number of results to return per page.
schema:
type: integer
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
- in: query
- name: location
+ name: prefix
schema:
type: array
items:
@@ -136084,19 +115895,13 @@ paths:
explode: true
style: form
- in: query
- name: location__n
+ name: prefix__n
schema:
type: array
items:
type: string
explode: true
style: form
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- in: query
name: q
schema:
@@ -136109,7 +115914,7 @@ paths:
schema:
type: string
- in: query
- name: vlan
+ name: vrf
schema:
type: array
items:
@@ -136117,7 +115922,7 @@ paths:
explode: true
style: form
- in: query
- name: vlan__n
+ name: vrf__n
schema:
type: array
items:
@@ -136133,6 +115938,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- ipam
security:
@@ -136143,14 +115955,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedVLANLocationAssignmentList'
+ $ref: '#/components/schemas/PaginatedVRFPrefixAssignmentList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedVLANLocationAssignmentList'
+ $ref: '#/components/schemas/PaginatedVRFPrefixAssignmentList'
description: ''
post:
- operationId: ipam_vlan_location_assignments_create
- description: Create one or more vlan location assignment objects.
+ operationId: ipam_vrf_prefix_assignments_create
+ description: Create one or more VRF-prefix assignment objects.
parameters:
- in: query
name: format
@@ -136165,10 +115977,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VLANLocationAssignmentRequest'
+ $ref: '#/components/schemas/VRFPrefixAssignmentRequest'
text/csv:
schema:
- $ref: '#/components/schemas/VLANLocationAssignmentRequest'
+ $ref: '#/components/schemas/VRFPrefixAssignmentRequest'
required: true
security:
- cookieAuth: []
@@ -136178,14 +115990,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VLANLocationAssignment'
+ $ref: '#/components/schemas/VRFPrefixAssignment'
text/csv:
schema:
- $ref: '#/components/schemas/VLANLocationAssignment'
+ $ref: '#/components/schemas/VRFPrefixAssignment'
description: ''
put:
- operationId: ipam_vlan_location_assignments_bulk_update
- description: Update a list of vlan location assignment objects.
+ operationId: ipam_vrf_prefix_assignments_bulk_update
+ description: Update a list of VRF-prefix assignment objects.
parameters:
- in: query
name: format
@@ -136202,12 +116014,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableVLANLocationAssignmentRequest'
+ $ref: '#/components/schemas/BulkWritableVRFPrefixAssignmentRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableVLANLocationAssignmentRequest'
+ $ref: '#/components/schemas/BulkWritableVRFPrefixAssignmentRequest'
required: true
security:
- cookieAuth: []
@@ -136219,16 +116031,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/VLANLocationAssignment'
+ $ref: '#/components/schemas/VRFPrefixAssignment'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/VLANLocationAssignment'
+ $ref: '#/components/schemas/VRFPrefixAssignment'
description: ''
patch:
- operationId: ipam_vlan_location_assignments_bulk_partial_update
- description: Partial update a list of vlan location assignment objects.
+ operationId: ipam_vrf_prefix_assignments_bulk_partial_update
+ description: Partial update a list of VRF-prefix assignment objects.
parameters:
- in: query
name: format
@@ -136245,12 +116057,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableVLANLocationAssignmentRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableVRFPrefixAssignmentRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableVLANLocationAssignmentRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableVRFPrefixAssignmentRequest'
required: true
security:
- cookieAuth: []
@@ -136262,16 +116074,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/VLANLocationAssignment'
+ $ref: '#/components/schemas/VRFPrefixAssignment'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/VLANLocationAssignment'
+ $ref: '#/components/schemas/VRFPrefixAssignment'
description: ''
delete:
- operationId: ipam_vlan_location_assignments_bulk_destroy
- description: Destroy a list of vlan location assignment objects.
+ operationId: ipam_vrf_prefix_assignments_bulk_destroy
+ description: Destroy a list of VRF-prefix assignment objects.
parameters:
- in: query
name: format
@@ -136301,10 +116113,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /ipam/vlan-location-assignments/{id}/:
+ /ipam/vrf-prefix-assignments/{id}/:
get:
- operationId: ipam_vlan_location_assignments_retrieve
- description: Retrieve a vlan location assignment object.
+ operationId: ipam_vrf_prefix_assignments_retrieve
+ description: Retrieve a VRF-prefix assignment object.
parameters:
- in: query
name: format
@@ -136318,7 +116130,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this vlan location assignment.
+ description: A UUID string identifying this VRF-prefix assignment.
required: true
- in: query
name: depth
@@ -136329,6 +116141,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- ipam
security:
@@ -136339,14 +116158,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VLANLocationAssignment'
+ $ref: '#/components/schemas/VRFPrefixAssignment'
text/csv:
schema:
- $ref: '#/components/schemas/VLANLocationAssignment'
+ $ref: '#/components/schemas/VRFPrefixAssignment'
description: ''
put:
- operationId: ipam_vlan_location_assignments_update
- description: Update a vlan location assignment object.
+ operationId: ipam_vrf_prefix_assignments_update
+ description: Update a VRF-prefix assignment object.
parameters:
- in: query
name: format
@@ -136360,7 +116179,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this vlan location assignment.
+ description: A UUID string identifying this VRF-prefix assignment.
required: true
tags:
- ipam
@@ -136368,10 +116187,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VLANLocationAssignmentRequest'
+ $ref: '#/components/schemas/VRFPrefixAssignmentRequest'
text/csv:
schema:
- $ref: '#/components/schemas/VLANLocationAssignmentRequest'
+ $ref: '#/components/schemas/VRFPrefixAssignmentRequest'
required: true
security:
- cookieAuth: []
@@ -136381,14 +116200,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VLANLocationAssignment'
+ $ref: '#/components/schemas/VRFPrefixAssignment'
text/csv:
schema:
- $ref: '#/components/schemas/VLANLocationAssignment'
+ $ref: '#/components/schemas/VRFPrefixAssignment'
description: ''
patch:
- operationId: ipam_vlan_location_assignments_partial_update
- description: Partial update a vlan location assignment object.
+ operationId: ipam_vrf_prefix_assignments_partial_update
+ description: Partial update a VRF-prefix assignment object.
parameters:
- in: query
name: format
@@ -136402,7 +116221,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this vlan location assignment.
+ description: A UUID string identifying this VRF-prefix assignment.
required: true
tags:
- ipam
@@ -136410,10 +116229,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedVLANLocationAssignmentRequest'
+ $ref: '#/components/schemas/PatchedVRFPrefixAssignmentRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedVLANLocationAssignmentRequest'
+ $ref: '#/components/schemas/PatchedVRFPrefixAssignmentRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -136422,95 +116241,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VLANLocationAssignment'
+ $ref: '#/components/schemas/VRFPrefixAssignment'
text/csv:
schema:
- $ref: '#/components/schemas/VLANLocationAssignment'
+ $ref: '#/components/schemas/VRFPrefixAssignment'
description: ''
delete:
- operationId: ipam_vlan_location_assignments_destroy
- description: Destroy a vlan location assignment object.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this vlan location assignment.
- required: true
- tags:
- - ipam
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '204':
- description: No response body
- /ipam/vlan-location-assignments/{id}/notes/:
- get:
- operationId: ipam_vlan_location_assignments_notes_list
- description: API methods for returning or creating notes on an object.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this vlan location assignment.
- required: true
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- - in: query
- name: depth
- required: false
- description: Serializer Depth
- schema:
- type: integer
- minimum: 0
- maximum: 10
- default: 1
- tags:
- - ipam
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- description: ''
- post:
- operationId: ipam_vlan_location_assignments_notes_create
- description: API methods for returning or creating notes on an object.
+ operationId: ipam_vrf_prefix_assignments_destroy
+ description: Destroy a VRF-prefix assignment object.
parameters:
- in: query
name: format
@@ -136523,48 +116261,22 @@ paths:
name: id
schema:
type: string
- format: uuid
- description: A UUID string identifying this vlan location assignment.
- required: true
- tags:
- - ipam
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- required: true
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '201':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Note'
- text/csv:
- schema:
- $ref: '#/components/schemas/Note'
- description: ''
- /ipam/vlans/:
+ format: uuid
+ description: A UUID string identifying this VRF-prefix assignment.
+ required: true
+ tags:
+ - ipam
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '204':
+ description: No response body
+ /ipam/vrfs/:
get:
- operationId: ipam_vlans_list
- description: Retrieve a list of VLAN objects.
+ operationId: ipam_vrfs_list
+ description: Retrieve a list of VRF objects.
parameters:
- - in: query
- name: available_on_device
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Device (ID)
- explode: true
- style: form
- in: query
name: contacts
schema:
@@ -136581,9 +116293,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -136643,7 +116357,7 @@ paths:
explode: true
style: form
- in: query
- name: dynamic_groups
+ name: description
schema:
type: array
items:
@@ -136651,197 +116365,202 @@ paths:
explode: true
style: form
- in: query
- name: dynamic_groups__n
+ name: description__ic
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: format
+ name: description__ie
schema:
- type: string
- enum:
- - csv
- - json
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: id
+ name: description__iew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- description: Unique object identifier, either a UUID primary key or a composite
- key.
- in: query
- name: id__ic
+ name: description__ire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ie
+ name: description__isw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__iew
+ name: description__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ire
+ name: description__nic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__isw
+ name: description__nie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__n
+ name: description__niew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nic
+ name: description__nire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nie
+ name: description__nisw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__niew
+ name: description__nre
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nire
+ name: description__re
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nisw
+ name: device
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nre
+ name: device__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__re
+ name: dynamic_groups
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: last_updated
+ name: dynamic_groups__n
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__gt
+ name: export_targets
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__gte
+ name: export_targets__n
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__isnull
+ name: format
schema:
- type: boolean
+ type: string
+ enum:
+ - csv
+ - json
- in: query
- name: last_updated__lt
+ name: id
schema:
type: array
items:
type: string
- format: date-time
+ format: uuid
explode: true
style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
- name: last_updated__lte
+ name: id__n
schema:
type: array
items:
type: string
- format: date-time
+ format: uuid
explode: true
style: form
- in: query
- name: last_updated__n
+ name: import_targets
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: import_targets__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: last_updated
schema:
type: array
items:
@@ -136849,44 +116568,61 @@ paths:
format: date-time
explode: true
style: form
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
+ - in: query
+ name: last_updated__gt
schema:
- type: integer
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
- in: query
- name: location
+ name: last_updated__gte
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: location__n
+ name: last_updated__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: last_updated__lt
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: locations
+ name: last_updated__lte
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: locations__n
+ name: last_updated__n
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
- in: query
name: name
schema:
@@ -136999,19 +116735,51 @@ paths:
type: string
explode: true
style: form
+ - in: query
+ name: namespace
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: namespace__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- name: offset
required: false
in: query
description: The initial index from which to return the results.
schema:
type: integer
+ - in: query
+ name: prefix
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: prefix__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: q
schema:
type: string
description: Search
- in: query
- name: role
+ name: rd
schema:
type: array
items:
@@ -137019,16 +116787,113 @@ paths:
explode: true
style: form
- in: query
- name: role__isnull
+ name: rd__ic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: rd__ie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: rd__iew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: rd__ire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: rd__isnull
schema:
type: boolean
- description: Role (name or ID) is null
- in: query
- name: role__n
+ name: rd__isw
schema:
- type: string
- format: uuid
- description: Exclude Role (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: rd__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: rd__nic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: rd__nie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: rd__niew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: rd__nire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: rd__nisw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: rd__nre
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: rd__re
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- name: sort
required: false
in: query
@@ -137043,12 +116908,19 @@ paths:
type: string
explode: true
style: form
+ - in: query
+ name: status__isnull
+ schema:
+ type: boolean
+ description: Status (name or ID) is null
- in: query
name: status__n
schema:
- type: string
- format: uuid
- description: Exclude Status (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: tags
schema:
@@ -137085,9 +116957,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: tenant
schema:
@@ -137158,55 +117032,23 @@ paths:
explode: true
style: form
- in: query
- name: vid
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: vid__gt
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: vid__gte
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: vid__lt
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: vid__lte
+ name: virtual_device_contexts
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: vid__n
+ name: virtual_device_contexts__n
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: vlan_group
+ name: virtual_machines
schema:
type: array
items:
@@ -137214,12 +117056,7 @@ paths:
explode: true
style: form
- in: query
- name: vlan_group__isnull
- schema:
- type: boolean
- description: VLAN Group (name or ID) is null
- - in: query
- name: vlan_group__n
+ name: virtual_machines__n
schema:
type: array
items:
@@ -137235,6 +117072,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- ipam
security:
@@ -137245,14 +117089,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedVLANList'
+ $ref: '#/components/schemas/PaginatedVRFList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedVLANList'
+ $ref: '#/components/schemas/PaginatedVRFList'
description: ''
post:
- operationId: ipam_vlans_create
- description: Create one or more VLAN objects.
+ operationId: ipam_vrfs_create
+ description: Create one or more VRF objects.
parameters:
- in: query
name: format
@@ -137267,10 +117111,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VLANRequest'
+ $ref: '#/components/schemas/VRFRequest'
text/csv:
schema:
- $ref: '#/components/schemas/VLANRequest'
+ $ref: '#/components/schemas/VRFRequest'
required: true
security:
- cookieAuth: []
@@ -137280,14 +117124,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VLAN'
+ $ref: '#/components/schemas/VRF'
text/csv:
schema:
- $ref: '#/components/schemas/VLAN'
+ $ref: '#/components/schemas/VRF'
description: ''
put:
- operationId: ipam_vlans_bulk_update
- description: Update a list of VLAN objects.
+ operationId: ipam_vrfs_bulk_update
+ description: Update a list of VRF objects.
parameters:
- in: query
name: format
@@ -137304,12 +117148,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableVLANRequest'
+ $ref: '#/components/schemas/BulkWritableVRFRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableVLANRequest'
+ $ref: '#/components/schemas/BulkWritableVRFRequest'
required: true
security:
- cookieAuth: []
@@ -137321,16 +117165,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/VLAN'
+ $ref: '#/components/schemas/VRF'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/VLAN'
+ $ref: '#/components/schemas/VRF'
description: ''
patch:
- operationId: ipam_vlans_bulk_partial_update
- description: Partial update a list of VLAN objects.
+ operationId: ipam_vrfs_bulk_partial_update
+ description: Partial update a list of VRF objects.
parameters:
- in: query
name: format
@@ -137347,12 +117191,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableVLANRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableVRFRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableVLANRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableVRFRequest'
required: true
security:
- cookieAuth: []
@@ -137364,16 +117208,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/VLAN'
+ $ref: '#/components/schemas/VRF'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/VLAN'
+ $ref: '#/components/schemas/VRF'
description: ''
delete:
- operationId: ipam_vlans_bulk_destroy
- description: Destroy a list of VLAN objects.
+ operationId: ipam_vrfs_bulk_destroy
+ description: Destroy a list of VRF objects.
parameters:
- in: query
name: format
@@ -137403,10 +117247,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /ipam/vlans/{id}/:
+ /ipam/vrfs/{id}/:
get:
- operationId: ipam_vlans_retrieve
- description: Retrieve a VLAN object.
+ operationId: ipam_vrfs_retrieve
+ description: Retrieve a VRF object.
parameters:
- in: query
name: format
@@ -137420,7 +117264,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this VLAN.
+ description: A UUID string identifying this VRF.
required: true
- in: query
name: depth
@@ -137431,6 +117275,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- ipam
security:
@@ -137441,14 +117292,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VLAN'
+ $ref: '#/components/schemas/VRF'
text/csv:
schema:
- $ref: '#/components/schemas/VLAN'
+ $ref: '#/components/schemas/VRF'
description: ''
put:
- operationId: ipam_vlans_update
- description: Update a VLAN object.
+ operationId: ipam_vrfs_update
+ description: Update a VRF object.
parameters:
- in: query
name: format
@@ -137462,7 +117313,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this VLAN.
+ description: A UUID string identifying this VRF.
required: true
tags:
- ipam
@@ -137470,10 +117321,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VLANRequest'
+ $ref: '#/components/schemas/VRFRequest'
text/csv:
schema:
- $ref: '#/components/schemas/VLANRequest'
+ $ref: '#/components/schemas/VRFRequest'
required: true
security:
- cookieAuth: []
@@ -137483,14 +117334,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VLAN'
+ $ref: '#/components/schemas/VRF'
text/csv:
schema:
- $ref: '#/components/schemas/VLAN'
+ $ref: '#/components/schemas/VRF'
description: ''
patch:
- operationId: ipam_vlans_partial_update
- description: Partial update a VLAN object.
+ operationId: ipam_vrfs_partial_update
+ description: Partial update a VRF object.
parameters:
- in: query
name: format
@@ -137504,7 +117355,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this VLAN.
+ description: A UUID string identifying this VRF.
required: true
tags:
- ipam
@@ -137512,10 +117363,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedVLANRequest'
+ $ref: '#/components/schemas/PatchedVRFRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedVLANRequest'
+ $ref: '#/components/schemas/PatchedVRFRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -137524,14 +117375,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VLAN'
+ $ref: '#/components/schemas/VRF'
text/csv:
schema:
- $ref: '#/components/schemas/VLAN'
+ $ref: '#/components/schemas/VRF'
description: ''
delete:
- operationId: ipam_vlans_destroy
- description: Destroy a VLAN object.
+ operationId: ipam_vrfs_destroy
+ description: Destroy a VRF object.
parameters:
- in: query
name: format
@@ -137545,7 +117396,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this VLAN.
+ description: A UUID string identifying this VRF.
required: true
tags:
- ipam
@@ -137555,9 +117406,9 @@ paths:
responses:
'204':
description: No response body
- /ipam/vlans/{id}/notes/:
+ /ipam/vrfs/{id}/notes/:
get:
- operationId: ipam_vlans_notes_list
+ operationId: ipam_vrfs_notes_list
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -137572,7 +117423,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this VLAN.
+ description: A UUID string identifying this VRF.
required: true
- name: limit
required: false
@@ -137595,79 +117446,614 @@ paths:
minimum: 0
maximum: 10
default: 1
- tags:
- - ipam
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- description: ''
- post:
- operationId: ipam_vlans_notes_create
- description: API methods for returning or creating notes on an object.
- parameters:
- in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
+ tags:
+ - ipam
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PaginatedNoteList'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PaginatedNoteList'
+ description: ''
+ post:
+ operationId: ipam_vrfs_notes_create
+ description: API methods for returning or creating notes on an object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this VRF.
+ required: true
+ tags:
+ - ipam
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/NoteInputRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/NoteInputRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '201':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Note'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/Note'
+ description: ''
+ /status/:
+ get:
+ operationId: status_retrieve
+ description: A lightweight read-only endpoint for conveying the current operational
+ status.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: query
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
+ tags:
+ - status
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ type: object
+ properties:
+ django-version:
+ type: string
+ installed-apps:
+ type: object
+ nautobot-version:
+ type: string
+ nautobot-apps:
+ type: object
+ plugins:
+ type: object
+ python-version:
+ type: string
+ celery-workers-running:
+ type: integer
+ text/csv:
+ schema:
+ type: object
+ properties:
+ django-version:
+ type: string
+ installed-apps:
+ type: object
+ nautobot-version:
+ type: string
+ nautobot-apps:
+ type: object
+ plugins:
+ type: object
+ python-version:
+ type: string
+ celery-workers-running:
+ type: integer
+ description: ''
+ /swagger/:
+ get:
+ operationId: swagger_retrieve
+ description: |-
+ OpenApi3 schema for this API. Format can be selected via content negotiation.
+
+ - YAML: application/vnd.oai.openapi
+ - JSON: application/vnd.oai.openapi+json
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - json
+ - yaml
+ - in: query
+ name: lang
+ schema:
+ type: string
+ enum:
+ - af
+ - ar
+ - ar-dz
+ - ast
+ - az
+ - be
+ - bg
+ - bn
+ - br
+ - bs
+ - ca
+ - ckb
+ - cs
+ - cy
+ - da
+ - de
+ - dsb
+ - el
+ - en
+ - en-au
+ - en-gb
+ - eo
+ - es
+ - es-ar
+ - es-co
+ - es-mx
+ - es-ni
+ - es-ve
+ - et
+ - eu
+ - fa
+ - fi
+ - fr
+ - fy
+ - ga
+ - gd
+ - gl
+ - he
+ - hi
+ - hr
+ - hsb
+ - hu
+ - hy
+ - ia
+ - id
+ - ig
+ - io
+ - is
+ - it
+ - ja
+ - ka
+ - kab
+ - kk
+ - km
+ - kn
+ - ko
+ - ky
+ - lb
+ - lt
+ - lv
+ - mk
+ - ml
+ - mn
+ - mr
+ - ms
+ - my
+ - nb
+ - ne
+ - nl
+ - nn
+ - os
+ - pa
+ - pl
+ - pt
+ - pt-br
+ - ro
+ - ru
+ - sk
+ - sl
+ - sq
+ - sr
+ - sr-latn
+ - sv
+ - sw
+ - ta
+ - te
+ - tg
+ - th
+ - tk
+ - tr
+ - tt
+ - udm
+ - uk
+ - ur
+ - uz
+ - vi
+ - zh-hans
+ - zh-hant
+ - in: query
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
+ tags:
+ - swagger
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/vnd.oai.openapi:
+ schema:
+ type: object
+ additionalProperties: {}
+ application/yaml:
+ schema:
+ type: object
+ additionalProperties: {}
+ application/vnd.oai.openapi+json:
+ schema:
+ type: object
+ additionalProperties: {}
+ application/json:
+ schema:
+ type: object
+ additionalProperties: {}
+ description: ''
+ /swagger.json:
+ get:
+ operationId: swagger.json_retrieve
+ description: |-
+ OpenApi3 schema for this API. Format can be selected via content negotiation.
+
+ - YAML: application/vnd.oai.openapi
+ - JSON: application/vnd.oai.openapi+json
+ parameters:
+ - in: query
+ name: lang
+ schema:
+ type: string
+ enum:
+ - af
+ - ar
+ - ar-dz
+ - ast
+ - az
+ - be
+ - bg
+ - bn
+ - br
+ - bs
+ - ca
+ - ckb
+ - cs
+ - cy
+ - da
+ - de
+ - dsb
+ - el
+ - en
+ - en-au
+ - en-gb
+ - eo
+ - es
+ - es-ar
+ - es-co
+ - es-mx
+ - es-ni
+ - es-ve
+ - et
+ - eu
+ - fa
+ - fi
+ - fr
+ - fy
+ - ga
+ - gd
+ - gl
+ - he
+ - hi
+ - hr
+ - hsb
+ - hu
+ - hy
+ - ia
+ - id
+ - ig
+ - io
+ - is
+ - it
+ - ja
+ - ka
+ - kab
+ - kk
+ - km
+ - kn
+ - ko
+ - ky
+ - lb
+ - lt
+ - lv
+ - mk
+ - ml
+ - mn
+ - mr
+ - ms
+ - my
+ - nb
+ - ne
+ - nl
+ - nn
+ - os
+ - pa
+ - pl
+ - pt
+ - pt-br
+ - ro
+ - ru
+ - sk
+ - sl
+ - sq
+ - sr
+ - sr-latn
+ - sv
+ - sw
+ - ta
+ - te
+ - tg
+ - th
+ - tk
+ - tr
+ - tt
+ - udm
+ - uk
+ - ur
+ - uz
+ - vi
+ - zh-hans
+ - zh-hant
+ - in: query
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
+ tags:
+ - swagger.json
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/vnd.oai.openapi+json:
+ schema:
+ type: object
+ additionalProperties: {}
+ application/json:
+ schema:
+ type: object
+ additionalProperties: {}
+ description: ''
+ /swagger.yaml:
+ get:
+ operationId: swagger.yaml_retrieve
+ description: |-
+ OpenApi3 schema for this API. Format can be selected via content negotiation.
+
+ - YAML: application/vnd.oai.openapi
+ - JSON: application/vnd.oai.openapi+json
+ parameters:
+ - in: query
+ name: lang
+ schema:
+ type: string
+ enum:
+ - af
+ - ar
+ - ar-dz
+ - ast
+ - az
+ - be
+ - bg
+ - bn
+ - br
+ - bs
+ - ca
+ - ckb
+ - cs
+ - cy
+ - da
+ - de
+ - dsb
+ - el
+ - en
+ - en-au
+ - en-gb
+ - eo
+ - es
+ - es-ar
+ - es-co
+ - es-mx
+ - es-ni
+ - es-ve
+ - et
+ - eu
+ - fa
+ - fi
+ - fr
+ - fy
+ - ga
+ - gd
+ - gl
+ - he
+ - hi
+ - hr
+ - hsb
+ - hu
+ - hy
+ - ia
+ - id
+ - ig
+ - io
+ - is
+ - it
+ - ja
+ - ka
+ - kab
+ - kk
+ - km
+ - kn
+ - ko
+ - ky
+ - lb
+ - lt
+ - lv
+ - mk
+ - ml
+ - mn
+ - mr
+ - ms
+ - my
+ - nb
+ - ne
+ - nl
+ - nn
+ - os
+ - pa
+ - pl
+ - pt
+ - pt-br
+ - ro
+ - ru
+ - sk
+ - sl
+ - sq
+ - sr
+ - sr-latn
+ - sv
+ - sw
+ - ta
+ - te
+ - tg
+ - th
+ - tk
+ - tr
+ - tt
+ - udm
+ - uk
+ - ur
+ - uz
+ - vi
+ - zh-hans
+ - zh-hant
+ - in: query
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
schema:
- type: string
- format: uuid
- description: A UUID string identifying this VLAN.
- required: true
+ type: boolean
+ default: false
tags:
- - ipam
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- required: true
+ - swagger.yaml
security:
- cookieAuth: []
- tokenAuth: []
responses:
- '201':
+ '200':
content:
- application/json:
+ application/vnd.oai.openapi:
schema:
- $ref: '#/components/schemas/Note'
- text/csv:
+ type: object
+ additionalProperties: {}
+ application/yaml:
schema:
- $ref: '#/components/schemas/Note'
+ type: object
+ additionalProperties: {}
description: ''
- /ipam/vrf-device-assignments/:
+ /tenancy/tenant-groups/:
get:
- operationId: ipam_vrf_device_assignments_list
- description: Retrieve a list of vrf device assignment objects.
+ operationId: tenancy_tenant_groups_list
+ description: Retrieve a list of tenant group objects.
parameters:
- in: query
- name: created
+ name: children
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: device
+ name: children__isnull
+ schema:
+ type: boolean
+ description: Children (name or ID) is null
+ - in: query
+ name: children__n
schema:
type: array
items:
@@ -137675,12 +118061,7 @@ paths:
explode: true
style: form
- in: query
- name: device__isnull
- schema:
- type: boolean
- description: Device (ID or name) is null
- - in: query
- name: device__n
+ name: contacts
schema:
type: array
items:
@@ -137688,169 +118069,142 @@ paths:
explode: true
style: form
- in: query
- name: format
+ name: contacts__isnull
schema:
- type: string
- enum:
- - csv
- - json
+ type: boolean
+ description: Contacts (name or ID) is null
- in: query
- name: id
+ name: contacts__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- description: Unique object identifier, either a UUID primary key or a composite
- key.
- in: query
- name: id__ic
+ name: created
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__ie
+ name: created__gt
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__iew
+ name: created__gte
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__ire
+ name: created__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: created__lt
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__isw
+ name: created__lte
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__n
+ name: created__n
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__nic
+ name: description
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nie
+ name: description__ic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__niew
+ name: description__ie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nire
+ name: description__iew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nisw
+ name: description__ire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nre
+ name: description__isw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__re
+ name: description__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: last_updated
+ name: description__nic
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- - name: sort
- required: false
- in: query
- description: Which field to use when ordering the results.
- schema:
- type: string
- in: query
- name: virtual_machine
+ name: description__nie
schema:
type: array
items:
@@ -137858,12 +118212,7 @@ paths:
explode: true
style: form
- in: query
- name: virtual_machine__isnull
- schema:
- type: boolean
- description: Virtual Machine (ID or name) is null
- - in: query
- name: virtual_machine__n
+ name: description__niew
schema:
type: array
items:
@@ -137871,164 +118220,53 @@ paths:
explode: true
style: form
- in: query
- name: vrf
+ name: description__nire
schema:
- type: string
- format: uuid
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: vrf__n
+ name: description__nisw
schema:
- type: string
- format: uuid
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: depth
- required: false
- description: Serializer Depth
+ name: description__nre
schema:
- type: integer
- minimum: 0
- maximum: 10
- default: 1
- tags:
- - ipam
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedVRFDeviceAssignmentList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedVRFDeviceAssignmentList'
- description: ''
- post:
- operationId: ipam_vrf_device_assignments_create
- description: Create one or more vrf device assignment objects.
- parameters:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: format
+ name: description__re
schema:
- type: string
- enum:
- - csv
- - json
- tags:
- - ipam
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/VRFDeviceAssignmentRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/VRFDeviceAssignmentRequest'
- required: true
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '201':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/VRFDeviceAssignment'
- text/csv:
- schema:
- $ref: '#/components/schemas/VRFDeviceAssignment'
- description: ''
- put:
- operationId: ipam_vrf_device_assignments_bulk_update
- description: Update a list of vrf device assignment objects.
- parameters:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: format
+ name: dynamic_groups
schema:
- type: string
- enum:
- - csv
- - json
- tags:
- - ipam
- requestBody:
- content:
- application/json:
- schema:
- type: array
- items:
- $ref: '#/components/schemas/BulkWritableVRFDeviceAssignmentRequest'
- text/csv:
- schema:
- type: array
- items:
- $ref: '#/components/schemas/BulkWritableVRFDeviceAssignmentRequest'
- required: true
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- type: array
- items:
- $ref: '#/components/schemas/VRFDeviceAssignment'
- text/csv:
- schema:
- type: array
- items:
- $ref: '#/components/schemas/VRFDeviceAssignment'
- description: ''
- patch:
- operationId: ipam_vrf_device_assignments_bulk_partial_update
- description: Partial update a list of vrf device assignment objects.
- parameters:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: format
+ name: dynamic_groups__n
schema:
- type: string
- enum:
- - csv
- - json
- tags:
- - ipam
- requestBody:
- content:
- application/json:
- schema:
- type: array
- items:
- $ref: '#/components/schemas/PatchedBulkWritableVRFDeviceAssignmentRequest'
- text/csv:
- schema:
- type: array
- items:
- $ref: '#/components/schemas/PatchedBulkWritableVRFDeviceAssignmentRequest'
- required: true
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- type: array
- items:
- $ref: '#/components/schemas/VRFDeviceAssignment'
- text/csv:
- schema:
- type: array
- items:
- $ref: '#/components/schemas/VRFDeviceAssignment'
- description: ''
- delete:
- operationId: ipam_vrf_device_assignments_bulk_destroy
- description: Destroy a list of vrf device assignment objects.
- parameters:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -138036,283 +118274,69 @@ paths:
enum:
- csv
- json
- tags:
- - ipam
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '204':
- description: No response body
- requestBody:
- content:
- application/json:
- schema:
- type: array
- items:
- $ref: '#/components/schemas/BulkOperationRequest'
- text/csv:
- schema:
- type: array
- items:
- $ref: '#/components/schemas/BulkOperationRequest'
- required: true
- /ipam/vrf-device-assignments/{id}/:
- get:
- operationId: ipam_vrf_device_assignments_retrieve
- description: Retrieve a vrf device assignment object.
- parameters:
- in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
+ name: has_children
schema:
- type: string
- format: uuid
- description: A UUID string identifying this vrf device assignment.
- required: true
+ type: boolean
+ description: Has children
- in: query
- name: depth
- required: false
- description: Serializer Depth
+ name: has_tenants
schema:
- type: integer
- minimum: 0
- maximum: 10
- default: 1
- tags:
- - ipam
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/VRFDeviceAssignment'
- text/csv:
- schema:
- $ref: '#/components/schemas/VRFDeviceAssignment'
- description: ''
- put:
- operationId: ipam_vrf_device_assignments_update
- description: Update a vrf device assignment object.
- parameters:
+ type: boolean
+ description: Has tenants
- in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
name: id
schema:
- type: string
- format: uuid
- description: A UUID string identifying this vrf device assignment.
- required: true
- tags:
- - ipam
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/VRFDeviceAssignmentRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/VRFDeviceAssignmentRequest'
- required: true
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/VRFDeviceAssignment'
- text/csv:
- schema:
- $ref: '#/components/schemas/VRFDeviceAssignment'
- description: ''
- patch:
- operationId: ipam_vrf_device_assignments_partial_update
- description: Partial update a vrf device assignment object.
- parameters:
+ type: array
+ items:
+ type: string
+ format: uuid
+ explode: true
+ style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
+ name: id__n
schema:
- type: string
- format: uuid
- description: A UUID string identifying this vrf device assignment.
- required: true
- tags:
- - ipam
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PatchedVRFDeviceAssignmentRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/PatchedVRFDeviceAssignmentRequest'
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/VRFDeviceAssignment'
- text/csv:
- schema:
- $ref: '#/components/schemas/VRFDeviceAssignment'
- description: ''
- delete:
- operationId: ipam_vrf_device_assignments_destroy
- description: Destroy a vrf device assignment object.
- parameters:
+ type: array
+ items:
+ type: string
+ format: uuid
+ explode: true
+ style: form
- in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
+ name: last_updated
schema:
- type: string
- format: uuid
- description: A UUID string identifying this vrf device assignment.
- required: true
- tags:
- - ipam
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '204':
- description: No response body
- /ipam/vrf-device-assignments/{id}/notes/:
- get:
- operationId: ipam_vrf_device_assignments_notes_list
- description: API methods for returning or creating notes on an object.
- parameters:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
- in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this vrf device assignment.
- required: true
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
+ name: last_updated__gt
schema:
- type: integer
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
- in: query
- name: depth
- required: false
- description: Serializer Depth
+ name: last_updated__gte
schema:
- type: integer
- minimum: 0
- maximum: 10
- default: 1
- tags:
- - ipam
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- description: ''
- post:
- operationId: ipam_vrf_device_assignments_notes_create
- description: API methods for returning or creating notes on an object.
- parameters:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
- in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
+ name: last_updated__isnull
schema:
- type: string
- format: uuid
- description: A UUID string identifying this vrf device assignment.
- required: true
- tags:
- - ipam
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- required: true
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '201':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Note'
- text/csv:
- schema:
- $ref: '#/components/schemas/Note'
- description: ''
- /ipam/vrf-prefix-assignments/:
- get:
- operationId: ipam_vrf_prefix_assignments_list
- description: Retrieve a list of vrf prefix assignment objects.
- parameters:
+ type: boolean
- in: query
- name: created
+ name: last_updated__lt
schema:
type: array
items:
@@ -138321,155 +118345,141 @@ paths:
explode: true
style: form
- in: query
- name: format
+ name: last_updated__lte
schema:
- type: string
- enum:
- - csv
- - json
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
- in: query
- name: id
+ name: last_updated__n
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- description: Unique object identifier, either a UUID primary key or a composite
- key.
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
- in: query
- name: id__ic
+ name: name
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ie
+ name: name__ic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__iew
+ name: name__ie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ire
+ name: name__iew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__isw
+ name: name__ire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__n
+ name: name__isw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nic
+ name: name__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nie
+ name: name__nic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__niew
+ name: name__nie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nire
+ name: name__niew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nisw
+ name: name__nire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nre
+ name: name__nisw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__re
+ name: name__nre
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: last_updated
+ name: name__re
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- name: offset
required: false
in: query
@@ -138477,7 +118487,7 @@ paths:
schema:
type: integer
- in: query
- name: prefix
+ name: parent
schema:
type: array
items:
@@ -138485,13 +118495,23 @@ paths:
explode: true
style: form
- in: query
- name: prefix__n
+ name: parent__isnull
+ schema:
+ type: boolean
+ description: Parent tenant group (name or ID) is null
+ - in: query
+ name: parent__n
schema:
type: array
items:
type: string
explode: true
style: form
+ - in: query
+ name: q
+ schema:
+ type: string
+ description: Search
- name: sort
required: false
in: query
@@ -138499,7 +118519,7 @@ paths:
schema:
type: string
- in: query
- name: vrf
+ name: teams
schema:
type: array
items:
@@ -138507,7 +118527,33 @@ paths:
explode: true
style: form
- in: query
- name: vrf__n
+ name: teams__isnull
+ schema:
+ type: boolean
+ description: Teams (name or ID) is null
+ - in: query
+ name: teams__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: tenants
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: tenants__isnull
+ schema:
+ type: boolean
+ description: Tenants (name or ID) is null
+ - in: query
+ name: tenants__n
schema:
type: array
items:
@@ -138523,8 +118569,15 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- - ipam
+ - tenancy
security:
- cookieAuth: []
- tokenAuth: []
@@ -138533,14 +118586,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedVRFPrefixAssignmentList'
+ $ref: '#/components/schemas/PaginatedTenantGroupList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedVRFPrefixAssignmentList'
+ $ref: '#/components/schemas/PaginatedTenantGroupList'
description: ''
post:
- operationId: ipam_vrf_prefix_assignments_create
- description: Create one or more vrf prefix assignment objects.
+ operationId: tenancy_tenant_groups_create
+ description: Create one or more tenant group objects.
parameters:
- in: query
name: format
@@ -138550,15 +118603,15 @@ paths:
- csv
- json
tags:
- - ipam
+ - tenancy
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/VRFPrefixAssignmentRequest'
+ $ref: '#/components/schemas/TenantGroupRequest'
text/csv:
schema:
- $ref: '#/components/schemas/VRFPrefixAssignmentRequest'
+ $ref: '#/components/schemas/TenantGroupRequest'
required: true
security:
- cookieAuth: []
@@ -138568,14 +118621,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VRFPrefixAssignment'
+ $ref: '#/components/schemas/TenantGroup'
text/csv:
schema:
- $ref: '#/components/schemas/VRFPrefixAssignment'
+ $ref: '#/components/schemas/TenantGroup'
description: ''
put:
- operationId: ipam_vrf_prefix_assignments_bulk_update
- description: Update a list of vrf prefix assignment objects.
+ operationId: tenancy_tenant_groups_bulk_update
+ description: Update a list of tenant group objects.
parameters:
- in: query
name: format
@@ -138585,19 +118638,19 @@ paths:
- csv
- json
tags:
- - ipam
+ - tenancy
requestBody:
content:
application/json:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableVRFPrefixAssignmentRequest'
+ $ref: '#/components/schemas/BulkWritableTenantGroupRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableVRFPrefixAssignmentRequest'
+ $ref: '#/components/schemas/BulkWritableTenantGroupRequest'
required: true
security:
- cookieAuth: []
@@ -138609,16 +118662,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/VRFPrefixAssignment'
+ $ref: '#/components/schemas/TenantGroup'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/VRFPrefixAssignment'
+ $ref: '#/components/schemas/TenantGroup'
description: ''
patch:
- operationId: ipam_vrf_prefix_assignments_bulk_partial_update
- description: Partial update a list of vrf prefix assignment objects.
+ operationId: tenancy_tenant_groups_bulk_partial_update
+ description: Partial update a list of tenant group objects.
parameters:
- in: query
name: format
@@ -138628,19 +118681,19 @@ paths:
- csv
- json
tags:
- - ipam
+ - tenancy
requestBody:
content:
application/json:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableVRFPrefixAssignmentRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableTenantGroupRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableVRFPrefixAssignmentRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableTenantGroupRequest'
required: true
security:
- cookieAuth: []
@@ -138652,16 +118705,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/VRFPrefixAssignment'
+ $ref: '#/components/schemas/TenantGroup'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/VRFPrefixAssignment'
+ $ref: '#/components/schemas/TenantGroup'
description: ''
delete:
- operationId: ipam_vrf_prefix_assignments_bulk_destroy
- description: Destroy a list of vrf prefix assignment objects.
+ operationId: tenancy_tenant_groups_bulk_destroy
+ description: Destroy a list of tenant group objects.
parameters:
- in: query
name: format
@@ -138671,7 +118724,7 @@ paths:
- csv
- json
tags:
- - ipam
+ - tenancy
security:
- cookieAuth: []
- tokenAuth: []
@@ -138691,10 +118744,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /ipam/vrf-prefix-assignments/{id}/:
+ /tenancy/tenant-groups/{id}/:
get:
- operationId: ipam_vrf_prefix_assignments_retrieve
- description: Retrieve a vrf prefix assignment object.
+ operationId: tenancy_tenant_groups_retrieve
+ description: Retrieve a tenant group object.
parameters:
- in: query
name: format
@@ -138708,7 +118761,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this vrf prefix assignment.
+ description: A UUID string identifying this tenant group.
required: true
- in: query
name: depth
@@ -138719,8 +118772,15 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- - ipam
+ - tenancy
security:
- cookieAuth: []
- tokenAuth: []
@@ -138729,14 +118789,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VRFPrefixAssignment'
+ $ref: '#/components/schemas/TenantGroup'
text/csv:
schema:
- $ref: '#/components/schemas/VRFPrefixAssignment'
+ $ref: '#/components/schemas/TenantGroup'
description: ''
put:
- operationId: ipam_vrf_prefix_assignments_update
- description: Update a vrf prefix assignment object.
+ operationId: tenancy_tenant_groups_update
+ description: Update a tenant group object.
parameters:
- in: query
name: format
@@ -138750,18 +118810,18 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this vrf prefix assignment.
+ description: A UUID string identifying this tenant group.
required: true
tags:
- - ipam
+ - tenancy
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/VRFPrefixAssignmentRequest'
+ $ref: '#/components/schemas/TenantGroupRequest'
text/csv:
schema:
- $ref: '#/components/schemas/VRFPrefixAssignmentRequest'
+ $ref: '#/components/schemas/TenantGroupRequest'
required: true
security:
- cookieAuth: []
@@ -138771,14 +118831,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VRFPrefixAssignment'
+ $ref: '#/components/schemas/TenantGroup'
text/csv:
schema:
- $ref: '#/components/schemas/VRFPrefixAssignment'
+ $ref: '#/components/schemas/TenantGroup'
description: ''
patch:
- operationId: ipam_vrf_prefix_assignments_partial_update
- description: Partial update a vrf prefix assignment object.
+ operationId: tenancy_tenant_groups_partial_update
+ description: Partial update a tenant group object.
parameters:
- in: query
name: format
@@ -138792,18 +118852,18 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this vrf prefix assignment.
+ description: A UUID string identifying this tenant group.
required: true
tags:
- - ipam
+ - tenancy
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedVRFPrefixAssignmentRequest'
+ $ref: '#/components/schemas/PatchedTenantGroupRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedVRFPrefixAssignmentRequest'
+ $ref: '#/components/schemas/PatchedTenantGroupRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -138812,14 +118872,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VRFPrefixAssignment'
+ $ref: '#/components/schemas/TenantGroup'
text/csv:
schema:
- $ref: '#/components/schemas/VRFPrefixAssignment'
+ $ref: '#/components/schemas/TenantGroup'
description: ''
delete:
- operationId: ipam_vrf_prefix_assignments_destroy
- description: Destroy a vrf prefix assignment object.
+ operationId: tenancy_tenant_groups_destroy
+ description: Destroy a tenant group object.
parameters:
- in: query
name: format
@@ -138833,19 +118893,19 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this vrf prefix assignment.
+ description: A UUID string identifying this tenant group.
required: true
tags:
- - ipam
+ - tenancy
security:
- cookieAuth: []
- tokenAuth: []
responses:
'204':
description: No response body
- /ipam/vrf-prefix-assignments/{id}/notes/:
+ /tenancy/tenant-groups/{id}/notes/:
get:
- operationId: ipam_vrf_prefix_assignments_notes_list
+ operationId: tenancy_tenant_groups_notes_list
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -138860,7 +118920,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this vrf prefix assignment.
+ description: A UUID string identifying this tenant group.
required: true
- name: limit
required: false
@@ -138883,8 +118943,15 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- - ipam
+ - tenancy
security:
- cookieAuth: []
- tokenAuth: []
@@ -138899,7 +118966,7 @@ paths:
$ref: '#/components/schemas/PaginatedNoteList'
description: ''
post:
- operationId: ipam_vrf_prefix_assignments_notes_create
+ operationId: tenancy_tenant_groups_notes_create
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -138914,10 +118981,10 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this vrf prefix assignment.
+ description: A UUID string identifying this tenant group.
required: true
tags:
- - ipam
+ - tenancy
requestBody:
content:
application/json:
@@ -138940,11 +119007,169 @@ paths:
schema:
$ref: '#/components/schemas/Note'
description: ''
- /ipam/vrfs/:
+ /tenancy/tenants/:
get:
- operationId: ipam_vrfs_list
- description: Retrieve a list of VRF objects.
+ operationId: tenancy_tenants_list
+ description: Retrieve a list of tenant objects.
parameters:
+ - in: query
+ name: circuits
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ description: Circuits (ID)
+ explode: true
+ style: form
+ - in: query
+ name: circuits__isnull
+ schema:
+ type: boolean
+ description: Circuits (ID) is null
+ - in: query
+ name: circuits__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ description: Exclude Circuits (ID)
+ explode: true
+ style: form
+ - in: query
+ name: clusters
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: clusters__isnull
+ schema:
+ type: boolean
+ description: Clusters (name or ID) is null
+ - in: query
+ name: clusters__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__ic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__ie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__iew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__ire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__isw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__nic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__nie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__niew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__nire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__nisw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__nre
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__re
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: contacts
schema:
@@ -138961,9 +119186,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -139023,7 +119250,7 @@ paths:
explode: true
style: form
- in: query
- name: device
+ name: description
schema:
type: array
items:
@@ -139031,7 +119258,7 @@ paths:
explode: true
style: form
- in: query
- name: device__n
+ name: description__ic
schema:
type: array
items:
@@ -139039,7 +119266,7 @@ paths:
explode: true
style: form
- in: query
- name: dynamic_groups
+ name: description__ie
schema:
type: array
items:
@@ -139047,13 +119274,7 @@ paths:
explode: true
style: form
- in: query
- name: dynamic_groups__n
- schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
- - in: query
- name: export_targets
+ name: description__iew
schema:
type: array
items:
@@ -139061,7 +119282,7 @@ paths:
explode: true
style: form
- in: query
- name: export_targets__n
+ name: description__ire
schema:
type: array
items:
@@ -139069,124 +119290,183 @@ paths:
explode: true
style: form
- in: query
- name: format
+ name: description__isw
schema:
- type: string
- enum:
- - csv
- - json
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: id
+ name: description__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- description: Unique object identifier, either a UUID primary key or a composite
- key.
- in: query
- name: id__ic
+ name: description__nic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ie
+ name: description__nie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__iew
+ name: description__niew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ire
+ name: description__nire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__isw
+ name: description__nisw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__n
+ name: description__nre
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nic
+ name: description__re
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nie
+ name: devices
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__niew
+ name: devices__isnull
+ schema:
+ type: boolean
+ description: Devices (name or ID) is null
+ - in: query
+ name: devices__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nire
+ name: dynamic_groups
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nisw
+ name: dynamic_groups__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nre
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: query
+ name: has_circuits
+ schema:
+ type: boolean
+ description: Has circuits
+ - in: query
+ name: has_clusters
+ schema:
+ type: boolean
+ description: Has clusters
+ - in: query
+ name: has_devices
+ schema:
+ type: boolean
+ description: Has devices
+ - in: query
+ name: has_ip_addresses
+ schema:
+ type: boolean
+ description: Has IP addresses
+ - in: query
+ name: has_locations
+ schema:
+ type: boolean
+ description: Has locations
+ - in: query
+ name: has_prefixes
+ schema:
+ type: boolean
+ description: Has prefixes
+ - in: query
+ name: has_rack_reservations
+ schema:
+ type: boolean
+ description: Has rack reservations
+ - in: query
+ name: has_racks
+ schema:
+ type: boolean
+ description: Has racks
+ - in: query
+ name: has_route_targets
+ schema:
+ type: boolean
+ description: Has route targets
+ - in: query
+ name: has_virtual_machines
+ schema:
+ type: boolean
+ description: Has virtual machines
+ - in: query
+ name: has_vlans
+ schema:
+ type: boolean
+ description: Has VLANs
+ - in: query
+ name: has_vrfs
+ schema:
+ type: boolean
+ description: Has VRFs
+ - in: query
+ name: id
schema:
type: array
items:
@@ -139194,8 +119474,10 @@ paths:
format: uuid
explode: true
style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
- name: id__re
+ name: id__n
schema:
type: array
items:
@@ -139204,19 +119486,28 @@ paths:
explode: true
style: form
- in: query
- name: import_targets
+ name: ip_addresses
schema:
type: array
items:
type: string
+ format: uuid
+ description: IP addresses (ID)
explode: true
style: form
- in: query
- name: import_targets__n
+ name: ip_addresses__isnull
+ schema:
+ type: boolean
+ description: IP addresses (ID) is null
+ - in: query
+ name: ip_addresses__n
schema:
type: array
items:
type: string
+ format: uuid
+ description: Exclude IP addresses (ID)
explode: true
style: form
- in: query
@@ -139284,7 +119575,7 @@ paths:
schema:
type: integer
- in: query
- name: name
+ name: locations
schema:
type: array
items:
@@ -139292,7 +119583,12 @@ paths:
explode: true
style: form
- in: query
- name: name__ic
+ name: locations__isnull
+ schema:
+ type: boolean
+ description: Locations (names and/or IDs) is null
+ - in: query
+ name: locations__n
schema:
type: array
items:
@@ -139300,7 +119596,7 @@ paths:
explode: true
style: form
- in: query
- name: name__ie
+ name: name
schema:
type: array
items:
@@ -139308,7 +119604,7 @@ paths:
explode: true
style: form
- in: query
- name: name__iew
+ name: name__ic
schema:
type: array
items:
@@ -139316,7 +119612,7 @@ paths:
explode: true
style: form
- in: query
- name: name__ire
+ name: name__ie
schema:
type: array
items:
@@ -139324,7 +119620,7 @@ paths:
explode: true
style: form
- in: query
- name: name__isw
+ name: name__iew
schema:
type: array
items:
@@ -139332,7 +119628,7 @@ paths:
explode: true
style: form
- in: query
- name: name__n
+ name: name__ire
schema:
type: array
items:
@@ -139340,7 +119636,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nic
+ name: name__isw
schema:
type: array
items:
@@ -139348,7 +119644,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nie
+ name: name__n
schema:
type: array
items:
@@ -139356,7 +119652,7 @@ paths:
explode: true
style: form
- in: query
- name: name__niew
+ name: name__nic
schema:
type: array
items:
@@ -139364,7 +119660,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nire
+ name: name__nie
schema:
type: array
items:
@@ -139372,7 +119668,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nisw
+ name: name__niew
schema:
type: array
items:
@@ -139380,7 +119676,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nre
+ name: name__nire
schema:
type: array
items:
@@ -139388,7 +119684,7 @@ paths:
explode: true
style: form
- in: query
- name: name__re
+ name: name__nisw
schema:
type: array
items:
@@ -139396,7 +119692,7 @@ paths:
explode: true
style: form
- in: query
- name: namespace
+ name: name__nre
schema:
type: array
items:
@@ -139404,7 +119700,7 @@ paths:
explode: true
style: form
- in: query
- name: namespace__n
+ name: name__re
schema:
type: array
items:
@@ -139418,7 +119714,7 @@ paths:
schema:
type: integer
- in: query
- name: prefix
+ name: prefixes
schema:
type: array
items:
@@ -139426,7 +119722,12 @@ paths:
explode: true
style: form
- in: query
- name: prefix__n
+ name: prefixes__isnull
+ schema:
+ type: boolean
+ description: Prefix (ID or prefix string) is null
+ - in: query
+ name: prefixes__n
schema:
type: array
items:
@@ -139439,39 +119740,32 @@ paths:
type: string
description: Search
- in: query
- name: rd
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: rd__ic
+ name: rack_reservations
schema:
type: array
items:
type: string
+ format: uuid
+ description: Rack reservations (ID)
explode: true
style: form
- in: query
- name: rd__ie
+ name: rack_reservations__isnull
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
+ description: Rack reservations (ID) is null
- in: query
- name: rd__iew
+ name: rack_reservations__n
schema:
type: array
items:
type: string
+ format: uuid
+ description: Exclude Rack reservations (ID)
explode: true
style: form
- in: query
- name: rd__ire
+ name: racks
schema:
type: array
items:
@@ -139479,11 +119773,12 @@ paths:
explode: true
style: form
- in: query
- name: rd__isnull
+ name: racks__isnull
schema:
type: boolean
+ description: Racks (name or ID) is null
- in: query
- name: rd__isw
+ name: racks__n
schema:
type: array
items:
@@ -139491,7 +119786,7 @@ paths:
explode: true
style: form
- in: query
- name: rd__n
+ name: route_targets
schema:
type: array
items:
@@ -139499,31 +119794,26 @@ paths:
explode: true
style: form
- in: query
- name: rd__nic
+ name: route_targets__isnull
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
+ description: Route targets (name or ID) is null
- in: query
- name: rd__nie
+ name: route_targets__n
schema:
type: array
items:
type: string
explode: true
style: form
- - in: query
- name: rd__niew
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: string
- in: query
- name: rd__nire
+ name: tags
schema:
type: array
items:
@@ -139531,15 +119821,11 @@ paths:
explode: true
style: form
- in: query
- name: rd__nisw
+ name: tags__isnull
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
- in: query
- name: rd__nre
+ name: tags__n
schema:
type: array
items:
@@ -139547,21 +119833,20 @@ paths:
explode: true
style: form
- in: query
- name: rd__re
+ name: teams
schema:
type: array
items:
type: string
explode: true
style: form
- - name: sort
- required: false
- in: query
- description: Which field to use when ordering the results.
+ - in: query
+ name: teams__isnull
schema:
- type: string
+ type: boolean
+ description: Teams (name or ID) is null
- in: query
- name: status
+ name: teams__n
schema:
type: array
items:
@@ -139569,18 +119854,7 @@ paths:
explode: true
style: form
- in: query
- name: status__isnull
- schema:
- type: boolean
- description: Status (name or ID) is null
- - in: query
- name: status__n
- schema:
- type: string
- format: uuid
- description: Exclude Status (name or ID)
- - in: query
- name: tags
+ name: tenant_group
schema:
type: array
items:
@@ -139588,19 +119862,12 @@ paths:
explode: true
style: form
- in: query
- name: tags__isnull
+ name: tenant_group__isnull
schema:
type: boolean
+ description: Tenant group (name or ID) is null
- in: query
- name: tags__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: teams
+ name: tenant_group__n
schema:
type: array
items:
@@ -139608,18 +119875,7 @@ paths:
explode: true
style: form
- in: query
- name: teams__isnull
- schema:
- type: boolean
- description: Teams (name or ID) is null
- - in: query
- name: teams__n
- schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
- - in: query
- name: tenant
+ name: virtual_machines
schema:
type: array
items:
@@ -139627,12 +119883,12 @@ paths:
explode: true
style: form
- in: query
- name: tenant__isnull
+ name: virtual_machines__isnull
schema:
type: boolean
- description: Tenant (name or ID) is null
+ description: Virtual machines (name or ID) is null
- in: query
- name: tenant__n
+ name: virtual_machines__n
schema:
type: array
items:
@@ -139640,51 +119896,49 @@ paths:
explode: true
style: form
- in: query
- name: tenant_group
+ name: vlans
schema:
type: array
items:
type: string
+ format: uuid
+ description: VLANs (ID)
explode: true
style: form
- in: query
- name: tenant_group__isnull
+ name: vlans__isnull
schema:
type: boolean
- description: Tenant Group (name or ID) is null
+ description: VLANs (ID) is null
- in: query
- name: tenant_group__n
+ name: vlans__n
schema:
type: array
items:
type: string
+ format: uuid
+ description: Exclude VLANs (ID)
explode: true
style: form
- in: query
- name: tenant_id
+ name: vrfs
schema:
type: array
items:
type: string
- format: uuid
- nullable: true
- description: Tenant (ID) (deprecated, use "tenant" filter instead)
explode: true
style: form
- in: query
- name: tenant_id__isnull
+ name: vrfs__isnull
schema:
type: boolean
- description: Tenant (ID) (deprecated, use "tenant" filter instead) is null
+ description: VRFs (name or ID) is null
- in: query
- name: tenant_id__n
+ name: vrfs__n
schema:
type: array
items:
type: string
- format: uuid
- nullable: true
- description: Exclude Tenant (ID) (deprecated, use "tenant" filter instead)
explode: true
style: form
- in: query
@@ -139696,8 +119950,15 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- - ipam
+ - tenancy
security:
- cookieAuth: []
- tokenAuth: []
@@ -139706,14 +119967,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedVRFList'
+ $ref: '#/components/schemas/PaginatedTenantList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedVRFList'
+ $ref: '#/components/schemas/PaginatedTenantList'
description: ''
post:
- operationId: ipam_vrfs_create
- description: Create one or more VRF objects.
+ operationId: tenancy_tenants_create
+ description: Create one or more tenant objects.
parameters:
- in: query
name: format
@@ -139723,15 +119984,15 @@ paths:
- csv
- json
tags:
- - ipam
+ - tenancy
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/VRFRequest'
+ $ref: '#/components/schemas/TenantRequest'
text/csv:
schema:
- $ref: '#/components/schemas/VRFRequest'
+ $ref: '#/components/schemas/TenantRequest'
required: true
security:
- cookieAuth: []
@@ -139741,14 +120002,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VRF'
+ $ref: '#/components/schemas/Tenant'
text/csv:
schema:
- $ref: '#/components/schemas/VRF'
+ $ref: '#/components/schemas/Tenant'
description: ''
put:
- operationId: ipam_vrfs_bulk_update
- description: Update a list of VRF objects.
+ operationId: tenancy_tenants_bulk_update
+ description: Update a list of tenant objects.
parameters:
- in: query
name: format
@@ -139758,19 +120019,19 @@ paths:
- csv
- json
tags:
- - ipam
+ - tenancy
requestBody:
content:
application/json:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableVRFRequest'
+ $ref: '#/components/schemas/BulkWritableTenantRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableVRFRequest'
+ $ref: '#/components/schemas/BulkWritableTenantRequest'
required: true
security:
- cookieAuth: []
@@ -139782,16 +120043,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/VRF'
+ $ref: '#/components/schemas/Tenant'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/VRF'
+ $ref: '#/components/schemas/Tenant'
description: ''
patch:
- operationId: ipam_vrfs_bulk_partial_update
- description: Partial update a list of VRF objects.
+ operationId: tenancy_tenants_bulk_partial_update
+ description: Partial update a list of tenant objects.
parameters:
- in: query
name: format
@@ -139801,19 +120062,19 @@ paths:
- csv
- json
tags:
- - ipam
+ - tenancy
requestBody:
content:
application/json:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableVRFRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableTenantRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableVRFRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableTenantRequest'
required: true
security:
- cookieAuth: []
@@ -139825,16 +120086,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/VRF'
+ $ref: '#/components/schemas/Tenant'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/VRF'
+ $ref: '#/components/schemas/Tenant'
description: ''
delete:
- operationId: ipam_vrfs_bulk_destroy
- description: Destroy a list of VRF objects.
+ operationId: tenancy_tenants_bulk_destroy
+ description: Destroy a list of tenant objects.
parameters:
- in: query
name: format
@@ -139844,7 +120105,7 @@ paths:
- csv
- json
tags:
- - ipam
+ - tenancy
security:
- cookieAuth: []
- tokenAuth: []
@@ -139864,10 +120125,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /ipam/vrfs/{id}/:
+ /tenancy/tenants/{id}/:
get:
- operationId: ipam_vrfs_retrieve
- description: Retrieve a VRF object.
+ operationId: tenancy_tenants_retrieve
+ description: Retrieve a tenant object.
parameters:
- in: query
name: format
@@ -139881,7 +120142,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this VRF.
+ description: A UUID string identifying this tenant.
required: true
- in: query
name: depth
@@ -139892,8 +120153,15 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- - ipam
+ - tenancy
security:
- cookieAuth: []
- tokenAuth: []
@@ -139902,14 +120170,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VRF'
+ $ref: '#/components/schemas/Tenant'
text/csv:
schema:
- $ref: '#/components/schemas/VRF'
+ $ref: '#/components/schemas/Tenant'
description: ''
put:
- operationId: ipam_vrfs_update
- description: Update a VRF object.
+ operationId: tenancy_tenants_update
+ description: Update a tenant object.
parameters:
- in: query
name: format
@@ -139923,18 +120191,18 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this VRF.
+ description: A UUID string identifying this tenant.
required: true
tags:
- - ipam
+ - tenancy
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/VRFRequest'
+ $ref: '#/components/schemas/TenantRequest'
text/csv:
schema:
- $ref: '#/components/schemas/VRFRequest'
+ $ref: '#/components/schemas/TenantRequest'
required: true
security:
- cookieAuth: []
@@ -139944,14 +120212,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VRF'
+ $ref: '#/components/schemas/Tenant'
text/csv:
schema:
- $ref: '#/components/schemas/VRF'
+ $ref: '#/components/schemas/Tenant'
description: ''
patch:
- operationId: ipam_vrfs_partial_update
- description: Partial update a VRF object.
+ operationId: tenancy_tenants_partial_update
+ description: Partial update a tenant object.
parameters:
- in: query
name: format
@@ -139965,18 +120233,18 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this VRF.
+ description: A UUID string identifying this tenant.
required: true
tags:
- - ipam
+ - tenancy
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedVRFRequest'
+ $ref: '#/components/schemas/PatchedTenantRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedVRFRequest'
+ $ref: '#/components/schemas/PatchedTenantRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -139985,14 +120253,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VRF'
+ $ref: '#/components/schemas/Tenant'
text/csv:
schema:
- $ref: '#/components/schemas/VRF'
+ $ref: '#/components/schemas/Tenant'
description: ''
delete:
- operationId: ipam_vrfs_destroy
- description: Destroy a VRF object.
+ operationId: tenancy_tenants_destroy
+ description: Destroy a tenant object.
parameters:
- in: query
name: format
@@ -140006,19 +120274,19 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this VRF.
+ description: A UUID string identifying this tenant.
required: true
tags:
- - ipam
+ - tenancy
security:
- cookieAuth: []
- tokenAuth: []
responses:
'204':
description: No response body
- /ipam/vrfs/{id}/notes/:
+ /tenancy/tenants/{id}/notes/:
get:
- operationId: ipam_vrfs_notes_list
+ operationId: tenancy_tenants_notes_list
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -140033,7 +120301,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this VRF.
+ description: A UUID string identifying this tenant.
required: true
- name: limit
required: false
@@ -140056,8 +120324,15 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- - ipam
+ - tenancy
security:
- cookieAuth: []
- tokenAuth: []
@@ -140072,7 +120347,7 @@ paths:
$ref: '#/components/schemas/PaginatedNoteList'
description: ''
post:
- operationId: ipam_vrfs_notes_create
+ operationId: tenancy_tenants_notes_create
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -140087,10 +120362,10 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this VRF.
+ description: A UUID string identifying this tenant.
required: true
tags:
- - ipam
+ - tenancy
requestBody:
content:
application/json:
@@ -140113,11 +120388,10 @@ paths:
schema:
$ref: '#/components/schemas/Note'
description: ''
- /status/:
- get:
- operationId: status_retrieve
- description: A lightweight read-only endpoint for conveying the current operational
- status.
+ /ui/core/render-jinja-template/:
+ post:
+ operationId: ui_core_render_jinja_template_create
+ description: View to render a Jinja template.
parameters:
- in: query
name: format
@@ -140126,17 +120400,17 @@ paths:
enum:
- csv
- json
- - in: query
- name: depth
- required: false
- description: Serializer Depth
- schema:
- type: integer
- minimum: 0
- maximum: 10
- default: 1
tags:
- - status
+ - ui
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/RenderJinjaRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/RenderJinjaRequest'
+ required: true
security:
- cookieAuth: []
- tokenAuth: []
@@ -140145,160 +120419,23 @@ paths:
content:
application/json:
schema:
- type: object
- properties:
- django-version:
- type: string
- installed-apps:
- type: object
- nautobot-version:
- type: string
- nautobot-apps:
- type: object
- plugins:
- type: object
- python-version:
- type: string
- celery-workers-running:
- type: integer
+ $ref: '#/components/schemas/RenderJinja'
text/csv:
schema:
- type: object
- properties:
- django-version:
- type: string
- installed-apps:
- type: object
- nautobot-version:
- type: string
- nautobot-apps:
- type: object
- plugins:
- type: object
- python-version:
- type: string
- celery-workers-running:
- type: integer
+ $ref: '#/components/schemas/RenderJinja'
description: ''
- /swagger/:
+ /users/config/:
get:
- operationId: swagger_retrieve
- description: |-
- OpenApi3 schema for this API. Format can be selected via content negotiation.
-
- - YAML: application/vnd.oai.openapi
- - JSON: application/vnd.oai.openapi+json
+ operationId: users_config_retrieve
+ description: Return the config_data for the currently authenticated User.
parameters:
- in: query
name: format
schema:
type: string
enum:
+ - csv
- json
- - yaml
- - in: query
- name: lang
- schema:
- type: string
- enum:
- - af
- - ar
- - ar-dz
- - ast
- - az
- - be
- - bg
- - bn
- - br
- - bs
- - ca
- - ckb
- - cs
- - cy
- - da
- - de
- - dsb
- - el
- - en
- - en-au
- - en-gb
- - eo
- - es
- - es-ar
- - es-co
- - es-mx
- - es-ni
- - es-ve
- - et
- - eu
- - fa
- - fi
- - fr
- - fy
- - ga
- - gd
- - gl
- - he
- - hi
- - hr
- - hsb
- - hu
- - hy
- - ia
- - id
- - ig
- - io
- - is
- - it
- - ja
- - ka
- - kab
- - kk
- - km
- - kn
- - ko
- - ky
- - lb
- - lt
- - lv
- - mk
- - ml
- - mn
- - mr
- - ms
- - my
- - nb
- - ne
- - nl
- - nn
- - os
- - pa
- - pl
- - pt
- - pt-br
- - ro
- - ru
- - sk
- - sl
- - sq
- - sr
- - sr-latn
- - sv
- - sw
- - ta
- - te
- - tg
- - th
- - tk
- - tr
- - tt
- - udm
- - uk
- - ur
- - uz
- - vi
- - zh-hans
- - zh-hant
- in: query
name: depth
required: false
@@ -140308,412 +120445,124 @@ paths:
minimum: 0
maximum: 10
default: 1
- tags:
- - swagger
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/vnd.oai.openapi:
- schema:
- type: object
- additionalProperties: {}
- application/yaml:
- schema:
- type: object
- additionalProperties: {}
- application/vnd.oai.openapi+json:
- schema:
- type: object
- additionalProperties: {}
- application/json:
- schema:
- type: object
- additionalProperties: {}
- description: ''
- /swagger.json:
- get:
- operationId: swagger.json_retrieve
- description: |-
- OpenApi3 schema for this API. Format can be selected via content negotiation.
-
- - YAML: application/vnd.oai.openapi
- - JSON: application/vnd.oai.openapi+json
- parameters:
- - in: query
- name: lang
- schema:
- type: string
- enum:
- - af
- - ar
- - ar-dz
- - ast
- - az
- - be
- - bg
- - bn
- - br
- - bs
- - ca
- - ckb
- - cs
- - cy
- - da
- - de
- - dsb
- - el
- - en
- - en-au
- - en-gb
- - eo
- - es
- - es-ar
- - es-co
- - es-mx
- - es-ni
- - es-ve
- - et
- - eu
- - fa
- - fi
- - fr
- - fy
- - ga
- - gd
- - gl
- - he
- - hi
- - hr
- - hsb
- - hu
- - hy
- - ia
- - id
- - ig
- - io
- - is
- - it
- - ja
- - ka
- - kab
- - kk
- - km
- - kn
- - ko
- - ky
- - lb
- - lt
- - lv
- - mk
- - ml
- - mn
- - mr
- - ms
- - my
- - nb
- - ne
- - nl
- - nn
- - os
- - pa
- - pl
- - pt
- - pt-br
- - ro
- - ru
- - sk
- - sl
- - sq
- - sr
- - sr-latn
- - sv
- - sw
- - ta
- - te
- - tg
- - th
- - tk
- - tr
- - tt
- - udm
- - uk
- - ur
- - uz
- - vi
- - zh-hans
- - zh-hant
- in: query
- name: depth
+ name: exclude_m2m
required: false
- description: Serializer Depth
+ description: Exclude many-to-many fields from the response
schema:
- type: integer
- minimum: 0
- maximum: 10
- default: 1
+ type: boolean
+ default: false
tags:
- - swagger.json
+ - users
security:
- cookieAuth: []
- tokenAuth: []
responses:
'200':
content:
- application/vnd.oai.openapi+json:
+ application/json:
schema:
type: object
additionalProperties: {}
- application/json:
+ text/csv:
schema:
type: object
additionalProperties: {}
description: ''
- /swagger.yaml:
+ /users/groups/:
get:
- operationId: swagger.yaml_retrieve
- description: |-
- OpenApi3 schema for this API. Format can be selected via content negotiation.
-
- - YAML: application/vnd.oai.openapi
- - JSON: application/vnd.oai.openapi+json
+ operationId: users_groups_list
+ description: Retrieve a list of group objects.
parameters:
- in: query
- name: lang
+ name: format
schema:
type: string
enum:
- - af
- - ar
- - ar-dz
- - ast
- - az
- - be
- - bg
- - bn
- - br
- - bs
- - ca
- - ckb
- - cs
- - cy
- - da
- - de
- - dsb
- - el
- - en
- - en-au
- - en-gb
- - eo
- - es
- - es-ar
- - es-co
- - es-mx
- - es-ni
- - es-ve
- - et
- - eu
- - fa
- - fi
- - fr
- - fy
- - ga
- - gd
- - gl
- - he
- - hi
- - hr
- - hsb
- - hu
- - hy
- - ia
- - id
- - ig
- - io
- - is
- - it
- - ja
- - ka
- - kab
- - kk
- - km
- - kn
- - ko
- - ky
- - lb
- - lt
- - lv
- - mk
- - ml
- - mn
- - mr
- - ms
- - my
- - nb
- - ne
- - nl
- - nn
- - os
- - pa
- - pl
- - pt
- - pt-br
- - ro
- - ru
- - sk
- - sl
- - sq
- - sr
- - sr-latn
- - sv
- - sw
- - ta
- - te
- - tg
- - th
- - tk
- - tr
- - tt
- - udm
- - uk
- - ur
- - uz
- - vi
- - zh-hans
- - zh-hant
- - in: query
- name: depth
- required: false
- description: Serializer Depth
- schema:
- type: integer
- minimum: 0
- maximum: 10
- default: 1
- tags:
- - swagger.yaml
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/vnd.oai.openapi:
- schema:
- type: object
- additionalProperties: {}
- application/yaml:
- schema:
- type: object
- additionalProperties: {}
- description: ''
- /tenancy/tenant-groups/:
- get:
- operationId: tenancy_tenant_groups_list
- description: Retrieve a list of tenant group objects.
- parameters:
+ - csv
+ - json
- in: query
- name: children
+ name: id
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
- name: children__isnull
- schema:
- type: boolean
- description: Children (name or ID) is null
- - in: query
- name: children__n
+ name: id__gt
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: contacts
+ name: id__gte
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: contacts__isnull
- schema:
- type: boolean
- description: Contacts (name or ID) is null
- - in: query
- name: contacts__n
- schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
- - in: query
- name: created
+ name: id__lt
schema:
type: array
items:
- type: string
- format: date-time
+ type: integer
explode: true
style: form
- in: query
- name: created__gt
+ name: id__lte
schema:
type: array
items:
- type: string
- format: date-time
+ type: integer
explode: true
style: form
- in: query
- name: created__gte
+ name: id__n
schema:
type: array
items:
- type: string
- format: date-time
+ type: integer
explode: true
style: form
- - in: query
- name: created__isnull
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
schema:
- type: boolean
+ type: integer
- in: query
- name: created__lt
+ name: name
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: created__lte
+ name: name__ic
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: created__n
+ name: name__ie
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: description
+ name: name__iew
schema:
type: array
items:
@@ -140721,7 +120570,7 @@ paths:
explode: true
style: form
- in: query
- name: description__ic
+ name: name__ire
schema:
type: array
items:
@@ -140729,7 +120578,7 @@ paths:
explode: true
style: form
- in: query
- name: description__ie
+ name: name__isw
schema:
type: array
items:
@@ -140737,7 +120586,7 @@ paths:
explode: true
style: form
- in: query
- name: description__iew
+ name: name__n
schema:
type: array
items:
@@ -140745,7 +120594,7 @@ paths:
explode: true
style: form
- in: query
- name: description__ire
+ name: name__nic
schema:
type: array
items:
@@ -140753,7 +120602,7 @@ paths:
explode: true
style: form
- in: query
- name: description__isw
+ name: name__nie
schema:
type: array
items:
@@ -140761,7 +120610,7 @@ paths:
explode: true
style: form
- in: query
- name: description__n
+ name: name__niew
schema:
type: array
items:
@@ -140769,7 +120618,7 @@ paths:
explode: true
style: form
- in: query
- name: description__nic
+ name: name__nire
schema:
type: array
items:
@@ -140777,7 +120626,7 @@ paths:
explode: true
style: form
- in: query
- name: description__nie
+ name: name__nisw
schema:
type: array
items:
@@ -140785,7 +120634,7 @@ paths:
explode: true
style: form
- in: query
- name: description__niew
+ name: name__nre
schema:
type: array
items:
@@ -140793,51 +120642,186 @@ paths:
explode: true
style: form
- in: query
- name: description__nire
+ name: name__re
schema:
type: array
items:
type: string
explode: true
style: form
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
- in: query
- name: description__nisw
+ name: q
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: string
+ description: Search
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
+ schema:
+ type: string
- in: query
- name: description__nre
+ name: depth
+ required: false
+ description: Serializer Depth
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
- in: query
- name: description__re
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
+ default: false
+ tags:
+ - users
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PaginatedGroupList'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PaginatedGroupList'
+ description: ''
+ post:
+ operationId: users_groups_create
+ description: Create one or more group objects.
+ parameters:
- in: query
- name: dynamic_groups
+ name: format
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - users
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/GroupRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/GroupRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '201':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Group'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/Group'
+ description: ''
+ put:
+ operationId: users_groups_bulk_update
+ description: Update a list of group objects.
+ parameters:
- in: query
- name: dynamic_groups__n
+ name: format
schema:
type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ enum:
+ - csv
+ - json
+ tags:
+ - users
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkWritableGroupRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkWritableGroupRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Group'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Group'
+ description: ''
+ patch:
+ operationId: users_groups_bulk_partial_update
+ description: Partial update a list of group objects.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - users
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/PatchedBulkWritableGroupRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/PatchedBulkWritableGroupRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Group'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/Group'
+ description: ''
+ delete:
+ operationId: users_groups_bulk_destroy
+ description: Destroy a list of group objects.
+ parameters:
- in: query
name: format
schema:
@@ -140845,200 +120829,364 @@ paths:
enum:
- csv
- json
+ tags:
+ - users
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '204':
+ description: No response body
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkOperationIntegerIDRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkOperationIntegerIDRequest'
+ required: true
+ /users/groups/{id}/:
+ get:
+ operationId: users_groups_retrieve
+ description: Retrieve a group object.
+ parameters:
- in: query
- name: has_children
+ name: format
schema:
- type: boolean
- description: Has children
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: integer
+ description: A unique integer value identifying this group.
+ required: true
- in: query
- name: has_tenants
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
schema:
type: boolean
- description: Has tenants
+ default: false
+ tags:
+ - users
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Group'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/Group'
+ description: ''
+ put:
+ operationId: users_groups_update
+ description: Update a group object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: integer
+ description: A unique integer value identifying this group.
+ required: true
+ tags:
+ - users
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/GroupRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/GroupRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Group'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/Group'
+ description: ''
+ patch:
+ operationId: users_groups_partial_update
+ description: Partial update a group object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: integer
+ description: A unique integer value identifying this group.
+ required: true
+ tags:
+ - users
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PatchedGroupRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PatchedGroupRequest'
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Group'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/Group'
+ description: ''
+ delete:
+ operationId: users_groups_destroy
+ description: Destroy a group object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: integer
+ description: A unique integer value identifying this group.
+ required: true
+ tags:
+ - users
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '204':
+ description: No response body
+ /users/permissions/:
+ get:
+ operationId: users_permissions_list
+ description: Retrieve a list of permission objects.
+ parameters:
- in: query
- name: id
+ name: description
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- description: Unique object identifier, either a UUID primary key or a composite
- key.
- in: query
- name: id__ic
+ name: description__ic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ie
+ name: description__ie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__iew
+ name: description__iew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ire
+ name: description__ire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__isw
+ name: description__isw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__n
+ name: description__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nic
+ name: description__nic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nie
+ name: description__nie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__niew
+ name: description__niew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nire
+ name: description__nire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nisw
+ name: description__nisw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nre
+ name: description__nre
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__re
+ name: description__re
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: last_updated
+ name: enabled
+ schema:
+ type: boolean
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: query
+ name: groups
schema:
type: array
items:
type: string
- format: date-time
+ description: Group (name)
explode: true
style: form
- in: query
- name: last_updated__gt
+ name: groups__n
schema:
type: array
items:
type: string
- format: date-time
+ description: Exclude Group (name)
explode: true
style: form
- in: query
- name: last_updated__gte
+ name: groups_id
schema:
type: array
items:
- type: string
- format: date-time
+ type: integer
+ description: Group (ID)
explode: true
style: form
- in: query
- name: last_updated__isnull
- schema:
- type: boolean
- - in: query
- name: last_updated__lt
+ name: groups_id__n
schema:
type: array
items:
- type: string
- format: date-time
+ type: integer
+ description: Exclude Group (ID)
explode: true
style: form
- in: query
- name: last_updated__lte
+ name: id
schema:
type: array
items:
type: string
- format: date-time
+ format: uuid
explode: true
style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
- name: last_updated__n
+ name: id__n
schema:
type: array
items:
type: string
- format: date-time
+ format: uuid
explode: true
style: form
- name: limit
@@ -141159,33 +121307,28 @@ paths:
type: string
explode: true
style: form
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- in: query
- name: parent
+ name: object_types
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: parent__isnull
- schema:
- type: boolean
- description: Parent tenant group (name or ID) is null
- - in: query
- name: parent__n
+ name: object_types__n
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
- in: query
name: q
schema:
@@ -141198,26 +121341,7 @@ paths:
schema:
type: string
- in: query
- name: teams
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: teams__isnull
- schema:
- type: boolean
- description: Teams (name or ID) is null
- - in: query
- name: teams__n
- schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
- - in: query
- name: tenants
+ name: users
schema:
type: array
items:
@@ -141225,12 +121349,7 @@ paths:
explode: true
style: form
- in: query
- name: tenants__isnull
- schema:
- type: boolean
- description: Tenants (name or ID) is null
- - in: query
- name: tenants__n
+ name: users__n
schema:
type: array
items:
@@ -141246,8 +121365,15 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- - tenancy
+ - users
security:
- cookieAuth: []
- tokenAuth: []
@@ -141256,14 +121382,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedTenantGroupList'
+ $ref: '#/components/schemas/PaginatedObjectPermissionList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedTenantGroupList'
+ $ref: '#/components/schemas/PaginatedObjectPermissionList'
description: ''
post:
- operationId: tenancy_tenant_groups_create
- description: Create one or more tenant group objects.
+ operationId: users_permissions_create
+ description: Create one or more permission objects.
parameters:
- in: query
name: format
@@ -141273,15 +121399,15 @@ paths:
- csv
- json
tags:
- - tenancy
+ - users
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/TenantGroupRequest'
+ $ref: '#/components/schemas/ObjectPermissionRequest'
text/csv:
schema:
- $ref: '#/components/schemas/TenantGroupRequest'
+ $ref: '#/components/schemas/ObjectPermissionRequest'
required: true
security:
- cookieAuth: []
@@ -141291,14 +121417,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/TenantGroup'
+ $ref: '#/components/schemas/ObjectPermission'
text/csv:
schema:
- $ref: '#/components/schemas/TenantGroup'
+ $ref: '#/components/schemas/ObjectPermission'
description: ''
put:
- operationId: tenancy_tenant_groups_bulk_update
- description: Update a list of tenant group objects.
+ operationId: users_permissions_bulk_update
+ description: Update a list of permission objects.
parameters:
- in: query
name: format
@@ -141308,19 +121434,19 @@ paths:
- csv
- json
tags:
- - tenancy
+ - users
requestBody:
content:
application/json:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableTenantGroupRequest'
+ $ref: '#/components/schemas/BulkWritableObjectPermissionRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableTenantGroupRequest'
+ $ref: '#/components/schemas/BulkWritableObjectPermissionRequest'
required: true
security:
- cookieAuth: []
@@ -141332,16 +121458,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/TenantGroup'
+ $ref: '#/components/schemas/ObjectPermission'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/TenantGroup'
+ $ref: '#/components/schemas/ObjectPermission'
description: ''
patch:
- operationId: tenancy_tenant_groups_bulk_partial_update
- description: Partial update a list of tenant group objects.
+ operationId: users_permissions_bulk_partial_update
+ description: Partial update a list of permission objects.
parameters:
- in: query
name: format
@@ -141351,19 +121477,19 @@ paths:
- csv
- json
tags:
- - tenancy
+ - users
requestBody:
content:
application/json:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableTenantGroupRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableObjectPermissionRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableTenantGroupRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableObjectPermissionRequest'
required: true
security:
- cookieAuth: []
@@ -141375,16 +121501,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/TenantGroup'
+ $ref: '#/components/schemas/ObjectPermission'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/TenantGroup'
+ $ref: '#/components/schemas/ObjectPermission'
description: ''
delete:
- operationId: tenancy_tenant_groups_bulk_destroy
- description: Destroy a list of tenant group objects.
+ operationId: users_permissions_bulk_destroy
+ description: Destroy a list of permission objects.
parameters:
- in: query
name: format
@@ -141394,7 +121520,7 @@ paths:
- csv
- json
tags:
- - tenancy
+ - users
security:
- cookieAuth: []
- tokenAuth: []
@@ -141414,10 +121540,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /tenancy/tenant-groups/{id}/:
+ /users/permissions/{id}/:
get:
- operationId: tenancy_tenant_groups_retrieve
- description: Retrieve a tenant group object.
+ operationId: users_permissions_retrieve
+ description: Retrieve a permission object.
parameters:
- in: query
name: format
@@ -141431,7 +121557,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this tenant group.
+ description: A UUID string identifying this permission.
required: true
- in: query
name: depth
@@ -141442,8 +121568,15 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- - tenancy
+ - users
security:
- cookieAuth: []
- tokenAuth: []
@@ -141452,14 +121585,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/TenantGroup'
+ $ref: '#/components/schemas/ObjectPermission'
text/csv:
schema:
- $ref: '#/components/schemas/TenantGroup'
+ $ref: '#/components/schemas/ObjectPermission'
description: ''
put:
- operationId: tenancy_tenant_groups_update
- description: Update a tenant group object.
+ operationId: users_permissions_update
+ description: Update a permission object.
parameters:
- in: query
name: format
@@ -141473,18 +121606,18 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this tenant group.
+ description: A UUID string identifying this permission.
required: true
tags:
- - tenancy
+ - users
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/TenantGroupRequest'
+ $ref: '#/components/schemas/ObjectPermissionRequest'
text/csv:
schema:
- $ref: '#/components/schemas/TenantGroupRequest'
+ $ref: '#/components/schemas/ObjectPermissionRequest'
required: true
security:
- cookieAuth: []
@@ -141494,14 +121627,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/TenantGroup'
+ $ref: '#/components/schemas/ObjectPermission'
text/csv:
schema:
- $ref: '#/components/schemas/TenantGroup'
+ $ref: '#/components/schemas/ObjectPermission'
description: ''
patch:
- operationId: tenancy_tenant_groups_partial_update
- description: Partial update a tenant group object.
+ operationId: users_permissions_partial_update
+ description: Partial update a permission object.
parameters:
- in: query
name: format
@@ -141515,18 +121648,18 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this tenant group.
+ description: A UUID string identifying this permission.
required: true
tags:
- - tenancy
+ - users
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedTenantGroupRequest'
+ $ref: '#/components/schemas/PatchedObjectPermissionRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedTenantGroupRequest'
+ $ref: '#/components/schemas/PatchedObjectPermissionRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -141535,14 +121668,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/TenantGroup'
+ $ref: '#/components/schemas/ObjectPermission'
text/csv:
schema:
- $ref: '#/components/schemas/TenantGroup'
+ $ref: '#/components/schemas/ObjectPermission'
description: ''
delete:
- operationId: tenancy_tenant_groups_destroy
- description: Destroy a tenant group object.
+ operationId: users_permissions_destroy
+ description: Destroy a permission object.
parameters:
- in: query
name: format
@@ -141556,295 +121689,21 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this tenant group.
+ description: A UUID string identifying this permission.
required: true
tags:
- - tenancy
+ - users
security:
- cookieAuth: []
- tokenAuth: []
responses:
'204':
description: No response body
- /tenancy/tenant-groups/{id}/notes/:
- get:
- operationId: tenancy_tenant_groups_notes_list
- description: API methods for returning or creating notes on an object.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this tenant group.
- required: true
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- - in: query
- name: depth
- required: false
- description: Serializer Depth
- schema:
- type: integer
- minimum: 0
- maximum: 10
- default: 1
- tags:
- - tenancy
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- description: ''
- post:
- operationId: tenancy_tenant_groups_notes_create
- description: API methods for returning or creating notes on an object.
- parameters:
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
- schema:
- type: string
- format: uuid
- description: A UUID string identifying this tenant group.
- required: true
- tags:
- - tenancy
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- required: true
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '201':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Note'
- text/csv:
- schema:
- $ref: '#/components/schemas/Note'
- description: ''
- /tenancy/tenants/:
+ /users/tokens/:
get:
- operationId: tenancy_tenants_list
- description: Retrieve a list of tenant objects.
+ operationId: users_tokens_list
+ description: Retrieve a list of token objects.
parameters:
- - in: query
- name: circuits
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Circuits (ID)
- explode: true
- style: form
- - in: query
- name: circuits__isnull
- schema:
- type: boolean
- description: Circuits (ID) is null
- - in: query
- name: circuits__n
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude Circuits (ID)
- explode: true
- style: form
- - in: query
- name: clusters
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: clusters__isnull
- schema:
- type: boolean
- description: Clusters (name or ID) is null
- - in: query
- name: clusters__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: comments
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: comments__ic
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: comments__ie
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: comments__iew
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: comments__ire
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: comments__isw
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: comments__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: comments__nic
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: comments__nie
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: comments__niew
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: comments__nire
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: comments__nisw
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: comments__nre
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: comments__re
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: contacts
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: contacts__isnull
- schema:
- type: boolean
- description: Contacts (name or ID) is null
- - in: query
- name: contacts__n
- schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
- in: query
name: created
schema:
@@ -141872,10 +121731,6 @@ paths:
format: date-time
explode: true
style: form
- - in: query
- name: created__isnull
- schema:
- type: boolean
- in: query
name: created__lt
schema:
@@ -142016,262 +121871,7 @@ paths:
explode: true
style: form
- in: query
- name: devices
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: devices__isnull
- schema:
- type: boolean
- description: Devices (name or ID) is null
- - in: query
- name: devices__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: dynamic_groups
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: dynamic_groups__n
- schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: query
- name: has_circuits
- schema:
- type: boolean
- description: Has circuits
- - in: query
- name: has_clusters
- schema:
- type: boolean
- description: Has clusters
- - in: query
- name: has_devices
- schema:
- type: boolean
- description: Has devices
- - in: query
- name: has_ip_addresses
- schema:
- type: boolean
- description: Has IP addresses
- - in: query
- name: has_locations
- schema:
- type: boolean
- description: Has locations
- - in: query
- name: has_prefixes
- schema:
- type: boolean
- description: Has prefixes
- - in: query
- name: has_rack_reservations
- schema:
- type: boolean
- description: Has rack reservations
- - in: query
- name: has_racks
- schema:
- type: boolean
- description: Has racks
- - in: query
- name: has_route_targets
- schema:
- type: boolean
- description: Has route targets
- - in: query
- name: has_virtual_machines
- schema:
- type: boolean
- description: Has virtual machines
- - in: query
- name: has_vlans
- schema:
- type: boolean
- description: Has VLANs
- - in: query
- name: has_vrfs
- schema:
- type: boolean
- description: Has VRFs
- - in: query
- name: id
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- description: Unique object identifier, either a UUID primary key or a composite
- key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__n
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__niew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nisw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nre
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__re
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: ip_addresses
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: IP addresses (ID)
- explode: true
- style: form
- - in: query
- name: ip_addresses__isnull
- schema:
- type: boolean
- description: IP addresses (ID) is null
- - in: query
- name: ip_addresses__n
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude IP addresses (ID)
- explode: true
- style: form
- - in: query
- name: last_updated
+ name: expires
schema:
type: array
items:
@@ -142280,7 +121880,7 @@ paths:
explode: true
style: form
- in: query
- name: last_updated__gt
+ name: expires__gt
schema:
type: array
items:
@@ -142289,7 +121889,7 @@ paths:
explode: true
style: form
- in: query
- name: last_updated__gte
+ name: expires__gte
schema:
type: array
items:
@@ -142298,11 +121898,11 @@ paths:
explode: true
style: form
- in: query
- name: last_updated__isnull
+ name: expires__isnull
schema:
type: boolean
- in: query
- name: last_updated__lt
+ name: expires__lt
schema:
type: array
items:
@@ -142311,7 +121911,7 @@ paths:
explode: true
style: form
- in: query
- name: last_updated__lte
+ name: expires__lte
schema:
type: array
items:
@@ -142320,7 +121920,7 @@ paths:
explode: true
style: form
- in: query
- name: last_updated__n
+ name: expires__n
schema:
type: array
items:
@@ -142328,221 +121928,35 @@ paths:
format: date-time
explode: true
style: form
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- - in: query
- name: locations
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: locations__isnull
- schema:
- type: boolean
- description: Locations (names and/or IDs) is null
- - in: query
- name: locations__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__ic
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__ie
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__iew
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__ire
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__isw
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__nic
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__nie
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__niew
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__nire
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__nisw
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__nre
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__re
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- - in: query
- name: prefixes
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Prefixes (ID)
- explode: true
- style: form
- - in: query
- name: prefixes__isnull
- schema:
- type: boolean
- description: Prefixes (ID) is null
- - in: query
- name: prefixes__n
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude Prefixes (ID)
- explode: true
- style: form
- in: query
- name: q
+ name: format
schema:
type: string
- description: Search
+ enum:
+ - csv
+ - json
- in: query
- name: rack_reservations
+ name: id
schema:
type: array
items:
type: string
format: uuid
- description: Rack reservations (ID)
explode: true
style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
- name: rack_reservations__isnull
- schema:
- type: boolean
- description: Rack reservations (ID) is null
- - in: query
- name: rack_reservations__n
+ name: id__n
schema:
type: array
items:
type: string
format: uuid
- description: Exclude Rack reservations (ID)
- explode: true
- style: form
- - in: query
- name: racks
- schema:
- type: array
- items:
- type: string
explode: true
style: form
- in: query
- name: racks__isnull
- schema:
- type: boolean
- description: Racks (name or ID) is null
- - in: query
- name: racks__n
+ name: key
schema:
type: array
items:
@@ -142550,7 +121964,7 @@ paths:
explode: true
style: form
- in: query
- name: route_targets
+ name: key__ic
schema:
type: array
items:
@@ -142558,26 +121972,15 @@ paths:
explode: true
style: form
- in: query
- name: route_targets__isnull
- schema:
- type: boolean
- description: Route targets (name or ID) is null
- - in: query
- name: route_targets__n
+ name: key__ie
schema:
type: array
items:
type: string
explode: true
style: form
- - name: sort
- required: false
- in: query
- description: Which field to use when ordering the results.
- schema:
- type: string
- in: query
- name: tags
+ name: key__iew
schema:
type: array
items:
@@ -142585,11 +121988,7 @@ paths:
explode: true
style: form
- in: query
- name: tags__isnull
- schema:
- type: boolean
- - in: query
- name: tags__n
+ name: key__ire
schema:
type: array
items:
@@ -142597,26 +121996,15 @@ paths:
explode: true
style: form
- in: query
- name: teams
+ name: key__isw
schema:
type: array
items:
type: string
explode: true
- style: form
- - in: query
- name: teams__isnull
- schema:
- type: boolean
- description: Teams (name or ID) is null
- - in: query
- name: teams__n
- schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ style: form
- in: query
- name: tenant_group
+ name: key__n
schema:
type: array
items:
@@ -142624,12 +122012,7 @@ paths:
explode: true
style: form
- in: query
- name: tenant_group__isnull
- schema:
- type: boolean
- description: Tenant group (name or ID) is null
- - in: query
- name: tenant_group__n
+ name: key__nic
schema:
type: array
items:
@@ -142637,7 +122020,7 @@ paths:
explode: true
style: form
- in: query
- name: virtual_machines
+ name: key__nie
schema:
type: array
items:
@@ -142645,12 +122028,7 @@ paths:
explode: true
style: form
- in: query
- name: virtual_machines__isnull
- schema:
- type: boolean
- description: Virtual machines (name or ID) is null
- - in: query
- name: virtual_machines__n
+ name: key__niew
schema:
type: array
items:
@@ -142658,32 +122036,23 @@ paths:
explode: true
style: form
- in: query
- name: vlans
+ name: key__nire
schema:
type: array
items:
type: string
- format: uuid
- description: VLANs (ID)
explode: true
style: form
- in: query
- name: vlans__isnull
- schema:
- type: boolean
- description: VLANs (ID) is null
- - in: query
- name: vlans__n
+ name: key__nisw
schema:
type: array
items:
type: string
- format: uuid
- description: Exclude VLANs (ID)
explode: true
style: form
- in: query
- name: vrfs
+ name: key__nre
schema:
type: array
items:
@@ -142691,18 +122060,40 @@ paths:
explode: true
style: form
- in: query
- name: vrfs__isnull
- schema:
- type: boolean
- description: VRFs (name or ID) is null
- - in: query
- name: vrfs__n
+ name: key__re
schema:
type: array
items:
type: string
explode: true
style: form
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
+ - in: query
+ name: q
+ schema:
+ type: string
+ description: Search
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
+ schema:
+ type: string
+ - in: query
+ name: write_enabled
+ schema:
+ type: boolean
- in: query
name: depth
required: false
@@ -142712,24 +122103,32 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- - tenancy
+ - users
security:
- cookieAuth: []
- tokenAuth: []
+ - basicAuth: []
responses:
'200':
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedTenantList'
+ $ref: '#/components/schemas/PaginatedTokenList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedTenantList'
+ $ref: '#/components/schemas/PaginatedTokenList'
description: ''
post:
- operationId: tenancy_tenants_create
- description: Create one or more tenant objects.
+ operationId: users_tokens_create
+ description: Create one or more token objects.
parameters:
- in: query
name: format
@@ -142739,32 +122138,32 @@ paths:
- csv
- json
tags:
- - tenancy
+ - users
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/TenantRequest'
+ $ref: '#/components/schemas/TokenRequest'
text/csv:
schema:
- $ref: '#/components/schemas/TenantRequest'
- required: true
+ $ref: '#/components/schemas/TokenRequest'
security:
- cookieAuth: []
- tokenAuth: []
+ - basicAuth: []
responses:
'201':
content:
application/json:
schema:
- $ref: '#/components/schemas/Tenant'
+ $ref: '#/components/schemas/Token'
text/csv:
schema:
- $ref: '#/components/schemas/Tenant'
+ $ref: '#/components/schemas/Token'
description: ''
put:
- operationId: tenancy_tenants_bulk_update
- description: Update a list of tenant objects.
+ operationId: users_tokens_bulk_update
+ description: Update a list of token objects.
parameters:
- in: query
name: format
@@ -142774,23 +122173,24 @@ paths:
- csv
- json
tags:
- - tenancy
+ - users
requestBody:
content:
application/json:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableTenantRequest'
+ $ref: '#/components/schemas/BulkWritableTokenRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableTenantRequest'
+ $ref: '#/components/schemas/BulkWritableTokenRequest'
required: true
security:
- cookieAuth: []
- tokenAuth: []
+ - basicAuth: []
responses:
'200':
content:
@@ -142798,16 +122198,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/Tenant'
+ $ref: '#/components/schemas/Token'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/Tenant'
+ $ref: '#/components/schemas/Token'
description: ''
patch:
- operationId: tenancy_tenants_bulk_partial_update
- description: Partial update a list of tenant objects.
+ operationId: users_tokens_bulk_partial_update
+ description: Partial update a list of token objects.
parameters:
- in: query
name: format
@@ -142817,23 +122217,24 @@ paths:
- csv
- json
tags:
- - tenancy
+ - users
requestBody:
content:
application/json:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableTenantRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableTokenRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableTenantRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableTokenRequest'
required: true
security:
- cookieAuth: []
- tokenAuth: []
+ - basicAuth: []
responses:
'200':
content:
@@ -142841,16 +122242,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/Tenant'
+ $ref: '#/components/schemas/Token'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/Tenant'
+ $ref: '#/components/schemas/Token'
description: ''
delete:
- operationId: tenancy_tenants_bulk_destroy
- description: Destroy a list of tenant objects.
+ operationId: users_tokens_bulk_destroy
+ description: Destroy a list of token objects.
parameters:
- in: query
name: format
@@ -142860,10 +122261,11 @@ paths:
- csv
- json
tags:
- - tenancy
+ - users
security:
- cookieAuth: []
- tokenAuth: []
+ - basicAuth: []
responses:
'204':
description: No response body
@@ -142880,10 +122282,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /tenancy/tenants/{id}/:
+ /users/tokens/{id}/:
get:
- operationId: tenancy_tenants_retrieve
- description: Retrieve a tenant object.
+ operationId: users_tokens_retrieve
+ description: Retrieve a token object.
parameters:
- in: query
name: format
@@ -142897,7 +122299,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this tenant.
+ description: A UUID string identifying this token.
required: true
- in: query
name: depth
@@ -142908,24 +122310,32 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- - tenancy
+ - users
security:
- cookieAuth: []
- tokenAuth: []
+ - basicAuth: []
responses:
'200':
content:
application/json:
schema:
- $ref: '#/components/schemas/Tenant'
+ $ref: '#/components/schemas/Token'
text/csv:
schema:
- $ref: '#/components/schemas/Tenant'
+ $ref: '#/components/schemas/Token'
description: ''
put:
- operationId: tenancy_tenants_update
- description: Update a tenant object.
+ operationId: users_tokens_update
+ description: Update a token object.
parameters:
- in: query
name: format
@@ -142939,35 +122349,35 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this tenant.
+ description: A UUID string identifying this token.
required: true
tags:
- - tenancy
+ - users
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/TenantRequest'
+ $ref: '#/components/schemas/TokenRequest'
text/csv:
schema:
- $ref: '#/components/schemas/TenantRequest'
- required: true
+ $ref: '#/components/schemas/TokenRequest'
security:
- cookieAuth: []
- tokenAuth: []
+ - basicAuth: []
responses:
'200':
content:
application/json:
schema:
- $ref: '#/components/schemas/Tenant'
+ $ref: '#/components/schemas/Token'
text/csv:
schema:
- $ref: '#/components/schemas/Tenant'
+ $ref: '#/components/schemas/Token'
description: ''
patch:
- operationId: tenancy_tenants_partial_update
- description: Partial update a tenant object.
+ operationId: users_tokens_partial_update
+ description: Partial update a token object.
parameters:
- in: query
name: format
@@ -142981,34 +122391,35 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this tenant.
+ description: A UUID string identifying this token.
required: true
tags:
- - tenancy
+ - users
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedTenantRequest'
+ $ref: '#/components/schemas/PatchedTokenRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedTenantRequest'
+ $ref: '#/components/schemas/PatchedTokenRequest'
security:
- cookieAuth: []
- tokenAuth: []
+ - basicAuth: []
responses:
'200':
content:
application/json:
schema:
- $ref: '#/components/schemas/Tenant'
+ $ref: '#/components/schemas/Token'
text/csv:
schema:
- $ref: '#/components/schemas/Tenant'
+ $ref: '#/components/schemas/Token'
description: ''
delete:
- operationId: tenancy_tenants_destroy
- description: Destroy a tenant object.
+ operationId: users_tokens_destroy
+ description: Destroy a token object.
parameters:
- in: query
name: format
@@ -143022,156 +122433,246 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this tenant.
+ description: A UUID string identifying this token.
required: true
tags:
- - tenancy
+ - users
security:
- cookieAuth: []
- tokenAuth: []
+ - basicAuth: []
responses:
'204':
description: No response body
- /tenancy/tenants/{id}/notes/:
+ /users/users/:
get:
- operationId: tenancy_tenants_notes_list
- description: API methods for returning or creating notes on an object.
+ operationId: users_users_list
+ description: Retrieve a list of user objects.
parameters:
- in: query
- name: format
+ name: email
schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: email__ic
schema:
- type: string
- format: uuid
- description: A UUID string identifying this tenant.
- required: true
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: email__ie
schema:
- type: integer
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: email__iew
schema:
- type: integer
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: depth
- required: false
- description: Serializer Depth
+ name: email__ire
schema:
- type: integer
- minimum: 0
- maximum: 10
- default: 1
- tags:
- - tenancy
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- description: ''
- post:
- operationId: tenancy_tenants_notes_create
- description: API methods for returning or creating notes on an object.
- parameters:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: format
+ name: email__isw
schema:
- type: string
- enum:
- - csv
- - json
- - in: path
- name: id
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: email__n
schema:
- type: string
- format: uuid
- description: A UUID string identifying this tenant.
- required: true
- tags:
- - tenancy
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- required: true
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '201':
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Note'
- text/csv:
- schema:
- $ref: '#/components/schemas/Note'
- description: ''
- /users/config/:
- get:
- operationId: users_config_retrieve
- description: Return the config_data for the currently authenticated User.
- parameters:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: format
+ name: email__nic
schema:
- type: string
- enum:
- - csv
- - json
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: depth
- required: false
- description: Serializer Depth
+ name: email__nie
schema:
- type: integer
- minimum: 0
- maximum: 10
- default: 1
- tags:
- - users
- security:
- - cookieAuth: []
- - tokenAuth: []
- responses:
- '200':
- content:
- application/json:
- schema:
- type: object
- additionalProperties: {}
- text/csv:
- schema:
- type: object
- additionalProperties: {}
- description: ''
- /users/groups/:
- get:
- operationId: users_groups_list
- description: Retrieve a list of group objects.
- parameters:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: email__niew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: email__nire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: email__nisw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: email__nre
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: email__re
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: first_name
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: first_name__ic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: first_name__ie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: first_name__iew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: first_name__ire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: first_name__isw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: first_name__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: first_name__nic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: first_name__nie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: first_name__niew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: first_name__nire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: first_name__nisw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: first_name__nre
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: first_name__re
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: format
schema:
@@ -143180,63 +122681,86 @@ paths:
- csv
- json
- in: query
- name: id
+ name: groups
schema:
type: array
items:
- type: integer
+ type: string
+ description: Group (name)
explode: true
style: form
- description: Unique object identifier, either a UUID primary key or a composite
- key.
- in: query
- name: id__gt
+ name: groups__n
schema:
type: array
items:
- type: integer
+ type: string
+ description: Exclude Group (name)
explode: true
style: form
- in: query
- name: id__gte
+ name: groups_id
schema:
type: array
items:
type: integer
+ description: Group (ID)
explode: true
style: form
- in: query
- name: id__lt
+ name: groups_id__n
schema:
type: array
items:
type: integer
+ description: Exclude Group (ID)
explode: true
style: form
- in: query
- name: id__lte
+ name: has_object_changes
+ schema:
+ type: boolean
+ description: Has Changes
+ - in: query
+ name: has_object_permissions
+ schema:
+ type: boolean
+ description: Has object permissions
+ - in: query
+ name: has_rack_reservations
+ schema:
+ type: boolean
+ description: Has Rack Reservations
+ - in: query
+ name: id
schema:
type: array
items:
- type: integer
+ type: string
+ format: uuid
explode: true
style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
name: id__n
schema:
type: array
items:
- type: integer
+ type: string
+ format: uuid
explode: true
style: form
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
+ - in: query
+ name: is_active
schema:
- type: integer
+ type: boolean
- in: query
- name: name
+ name: is_staff
+ schema:
+ type: boolean
+ - in: query
+ name: last_name
schema:
type: array
items:
@@ -143244,7 +122768,7 @@ paths:
explode: true
style: form
- in: query
- name: name__ic
+ name: last_name__ic
schema:
type: array
items:
@@ -143252,7 +122776,7 @@ paths:
explode: true
style: form
- in: query
- name: name__ie
+ name: last_name__ie
schema:
type: array
items:
@@ -143260,7 +122784,7 @@ paths:
explode: true
style: form
- in: query
- name: name__iew
+ name: last_name__iew
schema:
type: array
items:
@@ -143268,7 +122792,7 @@ paths:
explode: true
style: form
- in: query
- name: name__ire
+ name: last_name__ire
schema:
type: array
items:
@@ -143276,7 +122800,7 @@ paths:
explode: true
style: form
- in: query
- name: name__isw
+ name: last_name__isw
schema:
type: array
items:
@@ -143284,7 +122808,7 @@ paths:
explode: true
style: form
- in: query
- name: name__n
+ name: last_name__n
schema:
type: array
items:
@@ -143292,7 +122816,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nic
+ name: last_name__nic
schema:
type: array
items:
@@ -143300,7 +122824,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nie
+ name: last_name__nie
schema:
type: array
items:
@@ -143308,7 +122832,7 @@ paths:
explode: true
style: form
- in: query
- name: name__niew
+ name: last_name__niew
schema:
type: array
items:
@@ -143316,7 +122840,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nire
+ name: last_name__nire
schema:
type: array
items:
@@ -143324,7 +122848,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nisw
+ name: last_name__nisw
schema:
type: array
items:
@@ -143332,7 +122856,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nre
+ name: last_name__nre
schema:
type: array
items:
@@ -143340,7 +122864,59 @@ paths:
explode: true
style: form
- in: query
- name: name__re
+ name: last_name__re
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
+ - in: query
+ name: object_changes
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ description: Object Changes (ID)
+ explode: true
+ style: form
+ - in: query
+ name: object_changes__isnull
+ schema:
+ type: boolean
+ description: Object Changes (ID) is null
+ - in: query
+ name: object_changes__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ description: Exclude Object Changes (ID)
+ explode: true
+ style: form
+ - in: query
+ name: object_permissions
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: object_permissions__isnull
+ schema:
+ type: boolean
+ description: Object Permission (ID or name) is null
+ - in: query
+ name: object_permissions__n
schema:
type: array
items:
@@ -143358,12 +122934,149 @@ paths:
schema:
type: string
description: Search
+ - in: query
+ name: rack_reservations_id
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ description: Rack Reservation (ID)
+ explode: true
+ style: form
+ - in: query
+ name: rack_reservations_id__isnull
+ schema:
+ type: boolean
+ description: Rack Reservation (ID) is null
+ - in: query
+ name: rack_reservations_id__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ description: Exclude Rack Reservation (ID)
+ explode: true
+ style: form
- name: sort
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
+ - in: query
+ name: username
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: username__ic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: username__ie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: username__iew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: username__ire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: username__isw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: username__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: username__nic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: username__nie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: username__niew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: username__nire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: username__nisw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: username__nre
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: username__re
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -143373,6 +123086,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- users
security:
@@ -143383,14 +123103,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedGroupList'
+ $ref: '#/components/schemas/PaginatedUserList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedGroupList'
+ $ref: '#/components/schemas/PaginatedUserList'
description: ''
post:
- operationId: users_groups_create
- description: Create one or more group objects.
+ operationId: users_users_create
+ description: Create one or more user objects.
parameters:
- in: query
name: format
@@ -143405,10 +123125,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/GroupRequest'
+ $ref: '#/components/schemas/UserRequest'
text/csv:
schema:
- $ref: '#/components/schemas/GroupRequest'
+ $ref: '#/components/schemas/UserRequest'
required: true
security:
- cookieAuth: []
@@ -143418,14 +123138,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Group'
+ $ref: '#/components/schemas/User'
text/csv:
schema:
- $ref: '#/components/schemas/Group'
+ $ref: '#/components/schemas/User'
description: ''
put:
- operationId: users_groups_bulk_update
- description: Update a list of group objects.
+ operationId: users_users_bulk_update
+ description: Update a list of user objects.
parameters:
- in: query
name: format
@@ -143442,12 +123162,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableGroupRequest'
+ $ref: '#/components/schemas/BulkWritableUserRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableGroupRequest'
+ $ref: '#/components/schemas/BulkWritableUserRequest'
required: true
security:
- cookieAuth: []
@@ -143459,16 +123179,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/Group'
+ $ref: '#/components/schemas/User'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/Group'
+ $ref: '#/components/schemas/User'
description: ''
patch:
- operationId: users_groups_bulk_partial_update
- description: Partial update a list of group objects.
+ operationId: users_users_bulk_partial_update
+ description: Partial update a list of user objects.
parameters:
- in: query
name: format
@@ -143485,12 +123205,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableGroupRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableUserRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableGroupRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableUserRequest'
required: true
security:
- cookieAuth: []
@@ -143502,16 +123222,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/Group'
+ $ref: '#/components/schemas/User'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/Group'
+ $ref: '#/components/schemas/User'
description: ''
delete:
- operationId: users_groups_bulk_destroy
- description: Destroy a list of group objects.
+ operationId: users_users_bulk_destroy
+ description: Destroy a list of user objects.
parameters:
- in: query
name: format
@@ -143534,17 +123254,17 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkOperationIntegerIDRequest'
+ $ref: '#/components/schemas/BulkOperationRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkOperationIntegerIDRequest'
+ $ref: '#/components/schemas/BulkOperationRequest'
required: true
- /users/groups/{id}/:
+ /users/users/{id}/:
get:
- operationId: users_groups_retrieve
- description: Retrieve a group object.
+ operationId: users_users_retrieve
+ description: Retrieve a user object.
parameters:
- in: query
name: format
@@ -143556,8 +123276,9 @@ paths:
- in: path
name: id
schema:
- type: integer
- description: A unique integer value identifying this group.
+ type: string
+ format: uuid
+ description: A UUID string identifying this user.
required: true
- in: query
name: depth
@@ -143568,6 +123289,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- users
security:
@@ -143578,14 +123306,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Group'
+ $ref: '#/components/schemas/User'
text/csv:
schema:
- $ref: '#/components/schemas/Group'
+ $ref: '#/components/schemas/User'
description: ''
put:
- operationId: users_groups_update
- description: Update a group object.
+ operationId: users_users_update
+ description: Update a user object.
parameters:
- in: query
name: format
@@ -143597,8 +123325,9 @@ paths:
- in: path
name: id
schema:
- type: integer
- description: A unique integer value identifying this group.
+ type: string
+ format: uuid
+ description: A UUID string identifying this user.
required: true
tags:
- users
@@ -143606,10 +123335,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/GroupRequest'
+ $ref: '#/components/schemas/UserRequest'
text/csv:
schema:
- $ref: '#/components/schemas/GroupRequest'
+ $ref: '#/components/schemas/UserRequest'
required: true
security:
- cookieAuth: []
@@ -143619,14 +123348,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Group'
+ $ref: '#/components/schemas/User'
text/csv:
schema:
- $ref: '#/components/schemas/Group'
+ $ref: '#/components/schemas/User'
description: ''
patch:
- operationId: users_groups_partial_update
- description: Partial update a group object.
+ operationId: users_users_partial_update
+ description: Partial update a user object.
parameters:
- in: query
name: format
@@ -143638,8 +123367,9 @@ paths:
- in: path
name: id
schema:
- type: integer
- description: A unique integer value identifying this group.
+ type: string
+ format: uuid
+ description: A UUID string identifying this user.
required: true
tags:
- users
@@ -143647,10 +123377,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedGroupRequest'
+ $ref: '#/components/schemas/PatchedUserRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedGroupRequest'
+ $ref: '#/components/schemas/PatchedUserRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -143659,14 +123389,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Group'
+ $ref: '#/components/schemas/User'
text/csv:
schema:
- $ref: '#/components/schemas/Group'
+ $ref: '#/components/schemas/User'
description: ''
delete:
- operationId: users_groups_destroy
- description: Destroy a group object.
+ operationId: users_users_destroy
+ description: Destroy a user object.
parameters:
- in: query
name: format
@@ -143678,8 +123408,9 @@ paths:
- in: path
name: id
schema:
- type: integer
- description: A unique integer value identifying this group.
+ type: string
+ format: uuid
+ description: A UUID string identifying this user.
required: true
tags:
- users
@@ -143689,11 +123420,111 @@ paths:
responses:
'204':
description: No response body
- /users/permissions/:
+ /virtualization/cluster-groups/:
get:
- operationId: users_permissions_list
- description: Retrieve a list of permission objects.
+ operationId: virtualization_cluster_groups_list
+ description: Retrieve a list of cluster group objects.
parameters:
+ - in: query
+ name: clusters
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: clusters__isnull
+ schema:
+ type: boolean
+ description: Clusters (name or ID) is null
+ - in: query
+ name: clusters__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: contacts
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: contacts__isnull
+ schema:
+ type: boolean
+ description: Contacts (name or ID) is null
+ - in: query
+ name: contacts__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: created
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: created__gt
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: created__gte
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: created__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: created__lt
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: created__lte
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
+ - in: query
+ name: created__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: date-time
+ explode: true
+ style: form
- in: query
name: description
schema:
@@ -143807,52 +123638,33 @@ paths:
explode: true
style: form
- in: query
- name: enabled
- schema:
- type: boolean
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: query
- name: groups
+ name: dynamic_groups
schema:
type: array
items:
type: string
- description: Group (name)
explode: true
style: form
- in: query
- name: groups__n
+ name: dynamic_groups__n
schema:
type: array
items:
type: string
- description: Exclude Group (name)
explode: true
style: form
- in: query
- name: groups_id
+ name: format
schema:
- type: array
- items:
- type: integer
- description: Group (ID)
- explode: true
- style: form
+ type: string
+ enum:
+ - csv
+ - json
- in: query
- name: groups_id__n
+ name: has_clusters
schema:
- type: array
- items:
- type: integer
- description: Exclude Group (ID)
- explode: true
- style: form
+ type: boolean
+ description: Has clusters
- in: query
name: id
schema:
@@ -143864,51 +123676,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -143919,66 +123686,61 @@ paths:
explode: true
style: form
- in: query
- name: id__nic
+ name: last_updated
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__nie
+ name: last_updated__gt
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__niew
+ name: last_updated__gte
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__nire
+ name: last_updated__isnull
schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
+ type: boolean
- in: query
- name: id__nisw
+ name: last_updated__lt
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__nre
+ name: last_updated__lte
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__re
+ name: last_updated__n
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- name: limit
@@ -144099,22 +123861,6 @@ paths:
type: string
explode: true
style: form
- - in: query
- name: object_types
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: object_types__n
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- name: offset
required: false
in: query
@@ -144133,7 +123879,7 @@ paths:
schema:
type: string
- in: query
- name: users
+ name: teams
schema:
type: array
items:
@@ -144141,7 +123887,12 @@ paths:
explode: true
style: form
- in: query
- name: users__n
+ name: teams__isnull
+ schema:
+ type: boolean
+ description: Teams (name or ID) is null
+ - in: query
+ name: teams__n
schema:
type: array
items:
@@ -144157,8 +123908,15 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- - users
+ - virtualization
security:
- cookieAuth: []
- tokenAuth: []
@@ -144167,14 +123925,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedObjectPermissionList'
+ $ref: '#/components/schemas/PaginatedClusterGroupList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedObjectPermissionList'
+ $ref: '#/components/schemas/PaginatedClusterGroupList'
description: ''
post:
- operationId: users_permissions_create
- description: Create one or more permission objects.
+ operationId: virtualization_cluster_groups_create
+ description: Create one or more cluster group objects.
parameters:
- in: query
name: format
@@ -144184,15 +123942,15 @@ paths:
- csv
- json
tags:
- - users
+ - virtualization
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/ObjectPermissionRequest'
+ $ref: '#/components/schemas/ClusterGroupRequest'
text/csv:
schema:
- $ref: '#/components/schemas/ObjectPermissionRequest'
+ $ref: '#/components/schemas/ClusterGroupRequest'
required: true
security:
- cookieAuth: []
@@ -144202,14 +123960,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ObjectPermission'
+ $ref: '#/components/schemas/ClusterGroup'
text/csv:
schema:
- $ref: '#/components/schemas/ObjectPermission'
+ $ref: '#/components/schemas/ClusterGroup'
description: ''
put:
- operationId: users_permissions_bulk_update
- description: Update a list of permission objects.
+ operationId: virtualization_cluster_groups_bulk_update
+ description: Update a list of cluster group objects.
parameters:
- in: query
name: format
@@ -144219,19 +123977,19 @@ paths:
- csv
- json
tags:
- - users
+ - virtualization
requestBody:
content:
application/json:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableObjectPermissionRequest'
+ $ref: '#/components/schemas/BulkWritableClusterGroupRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableObjectPermissionRequest'
+ $ref: '#/components/schemas/BulkWritableClusterGroupRequest'
required: true
security:
- cookieAuth: []
@@ -144243,16 +124001,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/ObjectPermission'
+ $ref: '#/components/schemas/ClusterGroup'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/ObjectPermission'
+ $ref: '#/components/schemas/ClusterGroup'
description: ''
patch:
- operationId: users_permissions_bulk_partial_update
- description: Partial update a list of permission objects.
+ operationId: virtualization_cluster_groups_bulk_partial_update
+ description: Partial update a list of cluster group objects.
parameters:
- in: query
name: format
@@ -144262,19 +124020,19 @@ paths:
- csv
- json
tags:
- - users
+ - virtualization
requestBody:
content:
application/json:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableObjectPermissionRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableClusterGroupRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableObjectPermissionRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableClusterGroupRequest'
required: true
security:
- cookieAuth: []
@@ -144286,16 +124044,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/ObjectPermission'
+ $ref: '#/components/schemas/ClusterGroup'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/ObjectPermission'
+ $ref: '#/components/schemas/ClusterGroup'
description: ''
delete:
- operationId: users_permissions_bulk_destroy
- description: Destroy a list of permission objects.
+ operationId: virtualization_cluster_groups_bulk_destroy
+ description: Destroy a list of cluster group objects.
parameters:
- in: query
name: format
@@ -144305,7 +124063,7 @@ paths:
- csv
- json
tags:
- - users
+ - virtualization
security:
- cookieAuth: []
- tokenAuth: []
@@ -144325,10 +124083,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /users/permissions/{id}/:
+ /virtualization/cluster-groups/{id}/:
get:
- operationId: users_permissions_retrieve
- description: Retrieve a permission object.
+ operationId: virtualization_cluster_groups_retrieve
+ description: Retrieve a cluster group object.
parameters:
- in: query
name: format
@@ -144342,7 +124100,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this permission.
+ description: A UUID string identifying this cluster group.
required: true
- in: query
name: depth
@@ -144353,8 +124111,15 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- - users
+ - virtualization
security:
- cookieAuth: []
- tokenAuth: []
@@ -144363,14 +124128,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ObjectPermission'
+ $ref: '#/components/schemas/ClusterGroup'
text/csv:
schema:
- $ref: '#/components/schemas/ObjectPermission'
+ $ref: '#/components/schemas/ClusterGroup'
description: ''
put:
- operationId: users_permissions_update
- description: Update a permission object.
+ operationId: virtualization_cluster_groups_update
+ description: Update a cluster group object.
parameters:
- in: query
name: format
@@ -144384,18 +124149,18 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this permission.
+ description: A UUID string identifying this cluster group.
required: true
tags:
- - users
+ - virtualization
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/ObjectPermissionRequest'
+ $ref: '#/components/schemas/ClusterGroupRequest'
text/csv:
schema:
- $ref: '#/components/schemas/ObjectPermissionRequest'
+ $ref: '#/components/schemas/ClusterGroupRequest'
required: true
security:
- cookieAuth: []
@@ -144405,14 +124170,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ObjectPermission'
+ $ref: '#/components/schemas/ClusterGroup'
text/csv:
schema:
- $ref: '#/components/schemas/ObjectPermission'
+ $ref: '#/components/schemas/ClusterGroup'
description: ''
patch:
- operationId: users_permissions_partial_update
- description: Partial update a permission object.
+ operationId: virtualization_cluster_groups_partial_update
+ description: Partial update a cluster group object.
parameters:
- in: query
name: format
@@ -144426,18 +124191,18 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this permission.
+ description: A UUID string identifying this cluster group.
required: true
tags:
- - users
+ - virtualization
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedObjectPermissionRequest'
+ $ref: '#/components/schemas/PatchedClusterGroupRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedObjectPermissionRequest'
+ $ref: '#/components/schemas/PatchedClusterGroupRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -144446,14 +124211,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ObjectPermission'
+ $ref: '#/components/schemas/ClusterGroup'
text/csv:
schema:
- $ref: '#/components/schemas/ObjectPermission'
+ $ref: '#/components/schemas/ClusterGroup'
description: ''
delete:
- operationId: users_permissions_destroy
- description: Destroy a permission object.
+ operationId: virtualization_cluster_groups_destroy
+ description: Destroy a cluster group object.
parameters:
- in: query
name: format
@@ -144467,21 +124232,167 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this permission.
+ description: A UUID string identifying this cluster group.
required: true
tags:
- - users
+ - virtualization
security:
- cookieAuth: []
- tokenAuth: []
responses:
'204':
description: No response body
- /users/tokens/:
+ /virtualization/cluster-groups/{id}/notes/:
get:
- operationId: users_tokens_list
- description: Retrieve a list of token objects.
+ operationId: virtualization_cluster_groups_notes_list
+ description: API methods for returning or creating notes on an object.
parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this cluster group.
+ required: true
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
+ - in: query
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
+ tags:
+ - virtualization
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PaginatedNoteList'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PaginatedNoteList'
+ description: ''
+ post:
+ operationId: virtualization_cluster_groups_notes_create
+ description: API methods for returning or creating notes on an object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this cluster group.
+ required: true
+ tags:
+ - virtualization
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/NoteInputRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/NoteInputRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '201':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Note'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/Note'
+ description: ''
+ /virtualization/cluster-types/:
+ get:
+ operationId: virtualization_cluster_types_list
+ description: Retrieve a list of cluster type objects.
+ parameters:
+ - in: query
+ name: clusters
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: clusters__isnull
+ schema:
+ type: boolean
+ description: Clusters (name or ID) is null
+ - in: query
+ name: clusters__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: contacts
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: contacts__isnull
+ schema:
+ type: boolean
+ description: Contacts (name or ID) is null
+ - in: query
+ name: contacts__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -144509,6 +124420,10 @@ paths:
format: date-time
explode: true
style: form
+ - in: query
+ name: created__isnull
+ schema:
+ type: boolean
- in: query
name: created__lt
schema:
@@ -144649,61 +124564,19 @@ paths:
explode: true
style: form
- in: query
- name: expires
- schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
- - in: query
- name: expires__gt
- schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
- - in: query
- name: expires__gte
- schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
- - in: query
- name: expires__isnull
- schema:
- type: boolean
- - in: query
- name: expires__lt
- schema:
- type: array
- items:
- type: string
- format: date-time
- explode: true
- style: form
- - in: query
- name: expires__lte
+ name: dynamic_groups
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: expires__n
+ name: dynamic_groups__n
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
@@ -144713,6 +124586,11 @@ paths:
enum:
- csv
- json
+ - in: query
+ name: has_clusters
+ schema:
+ type: boolean
+ description: Has clusters
- in: query
name: id
schema:
@@ -144724,51 +124602,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -144779,70 +124612,71 @@ paths:
explode: true
style: form
- in: query
- name: id__nic
+ name: last_updated
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__nie
+ name: last_updated__gt
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__niew
+ name: last_updated__gte
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__nire
+ name: last_updated__isnull
schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
+ type: boolean
- in: query
- name: id__nisw
+ name: last_updated__lt
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__nre
+ name: last_updated__lte
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__re
+ name: last_updated__n
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
- in: query
- name: key
+ name: name
schema:
type: array
items:
@@ -144850,7 +124684,7 @@ paths:
explode: true
style: form
- in: query
- name: key__ic
+ name: name__ic
schema:
type: array
items:
@@ -144858,7 +124692,7 @@ paths:
explode: true
style: form
- in: query
- name: key__ie
+ name: name__ie
schema:
type: array
items:
@@ -144866,7 +124700,7 @@ paths:
explode: true
style: form
- in: query
- name: key__iew
+ name: name__iew
schema:
type: array
items:
@@ -144874,7 +124708,7 @@ paths:
explode: true
style: form
- in: query
- name: key__ire
+ name: name__ire
schema:
type: array
items:
@@ -144882,7 +124716,7 @@ paths:
explode: true
style: form
- in: query
- name: key__isw
+ name: name__isw
schema:
type: array
items:
@@ -144890,7 +124724,7 @@ paths:
explode: true
style: form
- in: query
- name: key__n
+ name: name__n
schema:
type: array
items:
@@ -144898,7 +124732,7 @@ paths:
explode: true
style: form
- in: query
- name: key__nic
+ name: name__nic
schema:
type: array
items:
@@ -144906,7 +124740,7 @@ paths:
explode: true
style: form
- in: query
- name: key__nie
+ name: name__nie
schema:
type: array
items:
@@ -144914,7 +124748,7 @@ paths:
explode: true
style: form
- in: query
- name: key__niew
+ name: name__niew
schema:
type: array
items:
@@ -144922,7 +124756,7 @@ paths:
explode: true
style: form
- in: query
- name: key__nire
+ name: name__nire
schema:
type: array
items:
@@ -144930,7 +124764,7 @@ paths:
explode: true
style: form
- in: query
- name: key__nisw
+ name: name__nisw
schema:
type: array
items:
@@ -144938,7 +124772,7 @@ paths:
explode: true
style: form
- in: query
- name: key__nre
+ name: name__nre
schema:
type: array
items:
@@ -144946,19 +124780,13 @@ paths:
explode: true
style: form
- in: query
- name: key__re
+ name: name__re
schema:
type: array
items:
type: string
explode: true
style: form
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- name: offset
required: false
in: query
@@ -144977,9 +124805,26 @@ paths:
schema:
type: string
- in: query
- name: write_enabled
+ name: teams
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: teams__isnull
schema:
type: boolean
+ description: Teams (name or ID) is null
+ - in: query
+ name: teams__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: depth
required: false
@@ -144989,25 +124834,31 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- - users
+ - virtualization
security:
- cookieAuth: []
- tokenAuth: []
- - basicAuth: []
responses:
'200':
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedTokenList'
+ $ref: '#/components/schemas/PaginatedClusterTypeList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedTokenList'
+ $ref: '#/components/schemas/PaginatedClusterTypeList'
description: ''
post:
- operationId: users_tokens_create
- description: Create one or more token objects.
+ operationId: virtualization_cluster_types_create
+ description: Create one or more cluster type objects.
parameters:
- in: query
name: format
@@ -145017,32 +124868,32 @@ paths:
- csv
- json
tags:
- - users
+ - virtualization
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/TokenRequest'
+ $ref: '#/components/schemas/ClusterTypeRequest'
text/csv:
schema:
- $ref: '#/components/schemas/TokenRequest'
+ $ref: '#/components/schemas/ClusterTypeRequest'
+ required: true
security:
- cookieAuth: []
- tokenAuth: []
- - basicAuth: []
responses:
'201':
content:
application/json:
schema:
- $ref: '#/components/schemas/Token'
+ $ref: '#/components/schemas/ClusterType'
text/csv:
schema:
- $ref: '#/components/schemas/Token'
+ $ref: '#/components/schemas/ClusterType'
description: ''
put:
- operationId: users_tokens_bulk_update
- description: Update a list of token objects.
+ operationId: virtualization_cluster_types_bulk_update
+ description: Update a list of cluster type objects.
parameters:
- in: query
name: format
@@ -145052,24 +124903,23 @@ paths:
- csv
- json
tags:
- - users
+ - virtualization
requestBody:
content:
application/json:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableTokenRequest'
+ $ref: '#/components/schemas/BulkWritableClusterTypeRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableTokenRequest'
+ $ref: '#/components/schemas/BulkWritableClusterTypeRequest'
required: true
security:
- cookieAuth: []
- tokenAuth: []
- - basicAuth: []
responses:
'200':
content:
@@ -145077,16 +124927,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/Token'
+ $ref: '#/components/schemas/ClusterType'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/Token'
+ $ref: '#/components/schemas/ClusterType'
description: ''
patch:
- operationId: users_tokens_bulk_partial_update
- description: Partial update a list of token objects.
+ operationId: virtualization_cluster_types_bulk_partial_update
+ description: Partial update a list of cluster type objects.
parameters:
- in: query
name: format
@@ -145096,24 +124946,23 @@ paths:
- csv
- json
tags:
- - users
+ - virtualization
requestBody:
content:
application/json:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableTokenRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableClusterTypeRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableTokenRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableClusterTypeRequest'
required: true
security:
- cookieAuth: []
- tokenAuth: []
- - basicAuth: []
responses:
'200':
content:
@@ -145121,16 +124970,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/Token'
+ $ref: '#/components/schemas/ClusterType'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/Token'
+ $ref: '#/components/schemas/ClusterType'
description: ''
delete:
- operationId: users_tokens_bulk_destroy
- description: Destroy a list of token objects.
+ operationId: virtualization_cluster_types_bulk_destroy
+ description: Destroy a list of cluster type objects.
parameters:
- in: query
name: format
@@ -145140,11 +124989,10 @@ paths:
- csv
- json
tags:
- - users
+ - virtualization
security:
- cookieAuth: []
- tokenAuth: []
- - basicAuth: []
responses:
'204':
description: No response body
@@ -145161,10 +125009,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /users/tokens/{id}/:
+ /virtualization/cluster-types/{id}/:
get:
- operationId: users_tokens_retrieve
- description: Retrieve a token object.
+ operationId: virtualization_cluster_types_retrieve
+ description: Retrieve a cluster type object.
parameters:
- in: query
name: format
@@ -145178,7 +125026,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this token.
+ description: A UUID string identifying this cluster type.
required: true
- in: query
name: depth
@@ -145189,25 +125037,31 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- - users
+ - virtualization
security:
- cookieAuth: []
- tokenAuth: []
- - basicAuth: []
responses:
'200':
content:
application/json:
schema:
- $ref: '#/components/schemas/Token'
+ $ref: '#/components/schemas/ClusterType'
text/csv:
schema:
- $ref: '#/components/schemas/Token'
+ $ref: '#/components/schemas/ClusterType'
description: ''
put:
- operationId: users_tokens_update
- description: Update a token object.
+ operationId: virtualization_cluster_types_update
+ description: Update a cluster type object.
parameters:
- in: query
name: format
@@ -145221,35 +125075,35 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this token.
+ description: A UUID string identifying this cluster type.
required: true
tags:
- - users
+ - virtualization
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/TokenRequest'
+ $ref: '#/components/schemas/ClusterTypeRequest'
text/csv:
schema:
- $ref: '#/components/schemas/TokenRequest'
+ $ref: '#/components/schemas/ClusterTypeRequest'
+ required: true
security:
- cookieAuth: []
- tokenAuth: []
- - basicAuth: []
responses:
'200':
content:
application/json:
schema:
- $ref: '#/components/schemas/Token'
+ $ref: '#/components/schemas/ClusterType'
text/csv:
schema:
- $ref: '#/components/schemas/Token'
+ $ref: '#/components/schemas/ClusterType'
description: ''
patch:
- operationId: users_tokens_partial_update
- description: Partial update a token object.
+ operationId: virtualization_cluster_types_partial_update
+ description: Partial update a cluster type object.
parameters:
- in: query
name: format
@@ -145263,35 +125117,34 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this token.
+ description: A UUID string identifying this cluster type.
required: true
tags:
- - users
+ - virtualization
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedTokenRequest'
+ $ref: '#/components/schemas/PatchedClusterTypeRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedTokenRequest'
+ $ref: '#/components/schemas/PatchedClusterTypeRequest'
security:
- cookieAuth: []
- tokenAuth: []
- - basicAuth: []
responses:
'200':
content:
application/json:
schema:
- $ref: '#/components/schemas/Token'
+ $ref: '#/components/schemas/ClusterType'
text/csv:
schema:
- $ref: '#/components/schemas/Token'
+ $ref: '#/components/schemas/ClusterType'
description: ''
delete:
- operationId: users_tokens_destroy
- description: Destroy a token object.
+ operationId: virtualization_cluster_types_destroy
+ description: Destroy a cluster type object.
parameters:
- in: query
name: format
@@ -145305,24 +125158,127 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this token.
+ description: A UUID string identifying this cluster type.
+ required: true
+ tags:
+ - virtualization
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '204':
+ description: No response body
+ /virtualization/cluster-types/{id}/notes/:
+ get:
+ operationId: virtualization_cluster_types_notes_list
+ description: API methods for returning or creating notes on an object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this cluster type.
+ required: true
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
+ - in: query
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
+ tags:
+ - virtualization
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PaginatedNoteList'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PaginatedNoteList'
+ description: ''
+ post:
+ operationId: virtualization_cluster_types_notes_create
+ description: API methods for returning or creating notes on an object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this cluster type.
+ required: true
+ tags:
+ - virtualization
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/NoteInputRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/NoteInputRequest'
required: true
- tags:
- - users
security:
- cookieAuth: []
- tokenAuth: []
- - basicAuth: []
responses:
- '204':
- description: No response body
- /users/users/:
+ '201':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Note'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/Note'
+ description: ''
+ /virtualization/clusters/:
get:
- operationId: users_users_list
- description: Retrieve a list of user objects.
+ operationId: virtualization_clusters_list
+ description: Retrieve a list of cluster objects.
parameters:
- in: query
- name: email
+ name: cluster_group
schema:
type: array
items:
@@ -145330,15 +125286,12 @@ paths:
explode: true
style: form
- in: query
- name: email__ic
+ name: cluster_group__isnull
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
+ description: Parent group (ID or name) is null
- in: query
- name: email__ie
+ name: cluster_group__n
schema:
type: array
items:
@@ -145346,23 +125299,32 @@ paths:
explode: true
style: form
- in: query
- name: email__iew
+ name: cluster_group_id
schema:
type: array
items:
type: string
+ format: uuid
+ description: Parent group (ID) - Deprecated (use group filter)
explode: true
style: form
- in: query
- name: email__ire
+ name: cluster_group_id__isnull
+ schema:
+ type: boolean
+ description: Parent group (ID) - Deprecated (use group filter) is null
+ - in: query
+ name: cluster_group_id__n
schema:
type: array
items:
type: string
+ format: uuid
+ description: Exclude Parent group (ID) - Deprecated (use group filter)
explode: true
style: form
- in: query
- name: email__isw
+ name: cluster_type
schema:
type: array
items:
@@ -145370,7 +125332,7 @@ paths:
explode: true
style: form
- in: query
- name: email__n
+ name: cluster_type__n
schema:
type: array
items:
@@ -145378,23 +125340,27 @@ paths:
explode: true
style: form
- in: query
- name: email__nic
+ name: cluster_type_id
schema:
type: array
items:
type: string
+ format: uuid
+ description: Cluster type (ID) - Deprecated (use type filter)
explode: true
style: form
- in: query
- name: email__nie
+ name: cluster_type_id__n
schema:
type: array
items:
type: string
+ format: uuid
+ description: Exclude Cluster type (ID) - Deprecated (use type filter)
explode: true
style: form
- in: query
- name: email__niew
+ name: comments
schema:
type: array
items:
@@ -145402,7 +125368,7 @@ paths:
explode: true
style: form
- in: query
- name: email__nire
+ name: comments__ic
schema:
type: array
items:
@@ -145410,7 +125376,7 @@ paths:
explode: true
style: form
- in: query
- name: email__nisw
+ name: comments__ie
schema:
type: array
items:
@@ -145418,7 +125384,7 @@ paths:
explode: true
style: form
- in: query
- name: email__nre
+ name: comments__iew
schema:
type: array
items:
@@ -145426,7 +125392,7 @@ paths:
explode: true
style: form
- in: query
- name: email__re
+ name: comments__ire
schema:
type: array
items:
@@ -145434,7 +125400,7 @@ paths:
explode: true
style: form
- in: query
- name: first_name
+ name: comments__isw
schema:
type: array
items:
@@ -145442,7 +125408,7 @@ paths:
explode: true
style: form
- in: query
- name: first_name__ic
+ name: comments__n
schema:
type: array
items:
@@ -145450,7 +125416,7 @@ paths:
explode: true
style: form
- in: query
- name: first_name__ie
+ name: comments__nic
schema:
type: array
items:
@@ -145458,7 +125424,7 @@ paths:
explode: true
style: form
- in: query
- name: first_name__iew
+ name: comments__nie
schema:
type: array
items:
@@ -145466,7 +125432,7 @@ paths:
explode: true
style: form
- in: query
- name: first_name__ire
+ name: comments__niew
schema:
type: array
items:
@@ -145474,7 +125440,7 @@ paths:
explode: true
style: form
- in: query
- name: first_name__isw
+ name: comments__nire
schema:
type: array
items:
@@ -145482,7 +125448,7 @@ paths:
explode: true
style: form
- in: query
- name: first_name__n
+ name: comments__nisw
schema:
type: array
items:
@@ -145490,7 +125456,7 @@ paths:
explode: true
style: form
- in: query
- name: first_name__nic
+ name: comments__nre
schema:
type: array
items:
@@ -145498,7 +125464,7 @@ paths:
explode: true
style: form
- in: query
- name: first_name__nie
+ name: comments__re
schema:
type: array
items:
@@ -145506,7 +125472,7 @@ paths:
explode: true
style: form
- in: query
- name: first_name__niew
+ name: contacts
schema:
type: array
items:
@@ -145514,7 +125480,12 @@ paths:
explode: true
style: form
- in: query
- name: first_name__nire
+ name: contacts__isnull
+ schema:
+ type: boolean
+ description: Contacts (name or ID) is null
+ - in: query
+ name: contacts__n
schema:
type: array
items:
@@ -145522,145 +125493,119 @@ paths:
explode: true
style: form
- in: query
- name: first_name__nisw
+ name: created
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: first_name__nre
+ name: created__gt
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: first_name__re
+ name: created__gte
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: format
+ name: created__isnull
schema:
- type: string
- enum:
- - csv
- - json
+ type: boolean
- in: query
- name: groups
+ name: created__lt
schema:
type: array
items:
type: string
- description: Group (name)
+ format: date-time
explode: true
style: form
- in: query
- name: groups__n
+ name: created__lte
schema:
type: array
items:
type: string
- description: Exclude Group (name)
+ format: date-time
explode: true
style: form
- in: query
- name: groups_id
+ name: created__n
schema:
type: array
items:
- type: integer
- description: Group (ID)
+ type: string
+ format: date-time
explode: true
style: form
- in: query
- name: groups_id__n
+ name: devices
schema:
type: array
items:
- type: integer
- description: Exclude Group (ID)
+ type: string
explode: true
style: form
- in: query
- name: has_object_changes
- schema:
- type: boolean
- description: Has Changes
- - in: query
- name: has_object_permissions
- schema:
- type: boolean
- description: Has object permissions
- - in: query
- name: has_rack_reservations
+ name: devices__isnull
schema:
type: boolean
- description: Has Rack Reservations
+ description: Devices (name or ID) is null
- in: query
- name: id
+ name: devices__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- description: Unique object identifier, either a UUID primary key or a composite
- key.
- in: query
- name: id__ic
+ name: dynamic_groups
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ie
+ name: dynamic_groups__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__iew
+ name: format
schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
+ type: string
+ enum:
+ - csv
+ - json
- in: query
- name: id__ire
+ name: has_devices
schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
+ type: boolean
+ description: Has devices
- in: query
- name: id__isw
+ name: has_virtual_machines
schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
+ type: boolean
+ description: Has virtual machines
- in: query
- name: id__n
+ name: id
schema:
type: array
items:
@@ -145668,8 +125613,10 @@ paths:
format: uuid
explode: true
style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
- name: id__nic
+ name: id__n
schema:
type: array
items:
@@ -145678,77 +125625,71 @@ paths:
explode: true
style: form
- in: query
- name: id__nie
+ name: last_updated
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__niew
+ name: last_updated__gt
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__nire
+ name: last_updated__gte
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__nisw
+ name: last_updated__isnull
schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
+ type: boolean
- in: query
- name: id__nre
+ name: last_updated__lt
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__re
+ name: last_updated__lte
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: is_active
- schema:
- type: boolean
- - in: query
- name: is_staff
- schema:
- type: boolean
- - in: query
- name: last_name
+ name: last_updated__n
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
- in: query
- name: last_name__ic
+ name: location
schema:
type: array
items:
@@ -145756,15 +125697,12 @@ paths:
explode: true
style: form
- in: query
- name: last_name__ie
+ name: location__isnull
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
+ description: Location (name or ID) is null
- in: query
- name: last_name__iew
+ name: location__n
schema:
type: array
items:
@@ -145772,7 +125710,7 @@ paths:
explode: true
style: form
- in: query
- name: last_name__ire
+ name: name
schema:
type: array
items:
@@ -145780,7 +125718,7 @@ paths:
explode: true
style: form
- in: query
- name: last_name__isw
+ name: name__ic
schema:
type: array
items:
@@ -145788,7 +125726,7 @@ paths:
explode: true
style: form
- in: query
- name: last_name__n
+ name: name__ie
schema:
type: array
items:
@@ -145796,7 +125734,7 @@ paths:
explode: true
style: form
- in: query
- name: last_name__nic
+ name: name__iew
schema:
type: array
items:
@@ -145804,7 +125742,7 @@ paths:
explode: true
style: form
- in: query
- name: last_name__nie
+ name: name__ire
schema:
type: array
items:
@@ -145812,7 +125750,7 @@ paths:
explode: true
style: form
- in: query
- name: last_name__niew
+ name: name__isw
schema:
type: array
items:
@@ -145820,7 +125758,7 @@ paths:
explode: true
style: form
- in: query
- name: last_name__nire
+ name: name__n
schema:
type: array
items:
@@ -145828,7 +125766,7 @@ paths:
explode: true
style: form
- in: query
- name: last_name__nisw
+ name: name__nic
schema:
type: array
items:
@@ -145836,7 +125774,7 @@ paths:
explode: true
style: form
- in: query
- name: last_name__nre
+ name: name__nie
schema:
type: array
items:
@@ -145844,46 +125782,31 @@ paths:
explode: true
style: form
- in: query
- name: last_name__re
+ name: name__niew
schema:
type: array
items:
type: string
explode: true
style: form
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
- schema:
- type: integer
- in: query
- name: object_changes
+ name: name__nire
schema:
type: array
items:
type: string
- format: uuid
- description: Object Changes (ID)
explode: true
style: form
- in: query
- name: object_changes__isnull
- schema:
- type: boolean
- description: Object Changes (ID) is null
- - in: query
- name: object_changes__n
+ name: name__nisw
schema:
type: array
items:
type: string
- format: uuid
- description: Exclude Object Changes (ID)
explode: true
style: form
- in: query
- name: object_permissions
+ name: name__nre
schema:
type: array
items:
@@ -145891,12 +125814,7 @@ paths:
explode: true
style: form
- in: query
- name: object_permissions__isnull
- schema:
- type: boolean
- description: Object Permission (ID or name) is null
- - in: query
- name: object_permissions__n
+ name: name__re
schema:
type: array
items:
@@ -145914,39 +125832,34 @@ paths:
schema:
type: string
description: Search
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
+ schema:
+ type: string
- in: query
- name: rack_reservations_id
+ name: tags
schema:
type: array
items:
type: string
- format: uuid
- description: Rack Reservation (ID)
explode: true
style: form
- in: query
- name: rack_reservations_id__isnull
+ name: tags__isnull
schema:
type: boolean
- description: Rack Reservation (ID) is null
- in: query
- name: rack_reservations_id__n
+ name: tags__n
schema:
type: array
items:
type: string
- format: uuid
- description: Exclude Rack Reservation (ID)
explode: true
style: form
- - name: sort
- required: false
- in: query
- description: Which field to use when ordering the results.
- schema:
- type: string
- in: query
- name: username
+ name: teams
schema:
type: array
items:
@@ -145954,15 +125867,12 @@ paths:
explode: true
style: form
- in: query
- name: username__ic
+ name: teams__isnull
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
+ description: Teams (name or ID) is null
- in: query
- name: username__ie
+ name: teams__n
schema:
type: array
items:
@@ -145970,7 +125880,7 @@ paths:
explode: true
style: form
- in: query
- name: username__iew
+ name: tenant
schema:
type: array
items:
@@ -145978,15 +125888,12 @@ paths:
explode: true
style: form
- in: query
- name: username__ire
+ name: tenant__isnull
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
+ description: Tenant (name or ID) is null
- in: query
- name: username__isw
+ name: tenant__n
schema:
type: array
items:
@@ -145994,7 +125901,7 @@ paths:
explode: true
style: form
- in: query
- name: username__n
+ name: tenant_group
schema:
type: array
items:
@@ -146002,15 +125909,12 @@ paths:
explode: true
style: form
- in: query
- name: username__nic
+ name: tenant_group__isnull
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
+ description: Tenant Group (name or ID) is null
- in: query
- name: username__nie
+ name: tenant_group__n
schema:
type: array
items:
@@ -146018,31 +125922,34 @@ paths:
explode: true
style: form
- in: query
- name: username__niew
+ name: tenant_id
schema:
type: array
items:
type: string
+ format: uuid
+ nullable: true
+ description: Tenant (ID) (deprecated, use "tenant" filter instead)
explode: true
style: form
- in: query
- name: username__nire
+ name: tenant_id__isnull
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
+ description: Tenant (ID) (deprecated, use "tenant" filter instead) is null
- in: query
- name: username__nisw
+ name: tenant_id__n
schema:
type: array
items:
type: string
+ format: uuid
+ nullable: true
+ description: Exclude Tenant (ID) (deprecated, use "tenant" filter instead)
explode: true
style: form
- in: query
- name: username__nre
+ name: virtual_machines
schema:
type: array
items:
@@ -146050,7 +125957,12 @@ paths:
explode: true
style: form
- in: query
- name: username__re
+ name: virtual_machines__isnull
+ schema:
+ type: boolean
+ description: Virtual machines (name or ID) is null
+ - in: query
+ name: virtual_machines__n
schema:
type: array
items:
@@ -146066,8 +125978,15 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- - users
+ - virtualization
security:
- cookieAuth: []
- tokenAuth: []
@@ -146076,14 +125995,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedUserList'
+ $ref: '#/components/schemas/PaginatedClusterList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedUserList'
+ $ref: '#/components/schemas/PaginatedClusterList'
description: ''
post:
- operationId: users_users_create
- description: Create one or more user objects.
+ operationId: virtualization_clusters_create
+ description: Create one or more cluster objects.
parameters:
- in: query
name: format
@@ -146093,15 +126012,15 @@ paths:
- csv
- json
tags:
- - users
+ - virtualization
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/UserRequest'
+ $ref: '#/components/schemas/ClusterRequest'
text/csv:
schema:
- $ref: '#/components/schemas/UserRequest'
+ $ref: '#/components/schemas/ClusterRequest'
required: true
security:
- cookieAuth: []
@@ -146111,14 +126030,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/User'
+ $ref: '#/components/schemas/Cluster'
text/csv:
schema:
- $ref: '#/components/schemas/User'
+ $ref: '#/components/schemas/Cluster'
description: ''
put:
- operationId: users_users_bulk_update
- description: Update a list of user objects.
+ operationId: virtualization_clusters_bulk_update
+ description: Update a list of cluster objects.
parameters:
- in: query
name: format
@@ -146128,19 +126047,19 @@ paths:
- csv
- json
tags:
- - users
+ - virtualization
requestBody:
content:
application/json:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableUserRequest'
+ $ref: '#/components/schemas/BulkWritableClusterRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableUserRequest'
+ $ref: '#/components/schemas/BulkWritableClusterRequest'
required: true
security:
- cookieAuth: []
@@ -146152,16 +126071,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/User'
+ $ref: '#/components/schemas/Cluster'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/User'
+ $ref: '#/components/schemas/Cluster'
description: ''
patch:
- operationId: users_users_bulk_partial_update
- description: Partial update a list of user objects.
+ operationId: virtualization_clusters_bulk_partial_update
+ description: Partial update a list of cluster objects.
parameters:
- in: query
name: format
@@ -146171,19 +126090,19 @@ paths:
- csv
- json
tags:
- - users
+ - virtualization
requestBody:
content:
application/json:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableUserRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableClusterRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableUserRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableClusterRequest'
required: true
security:
- cookieAuth: []
@@ -146195,16 +126114,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/User'
+ $ref: '#/components/schemas/Cluster'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/User'
+ $ref: '#/components/schemas/Cluster'
description: ''
delete:
- operationId: users_users_bulk_destroy
- description: Destroy a list of user objects.
+ operationId: virtualization_clusters_bulk_destroy
+ description: Destroy a list of cluster objects.
parameters:
- in: query
name: format
@@ -146214,7 +126133,7 @@ paths:
- csv
- json
tags:
- - users
+ - virtualization
security:
- cookieAuth: []
- tokenAuth: []
@@ -146234,10 +126153,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /users/users/{id}/:
+ /virtualization/clusters/{id}/:
get:
- operationId: users_users_retrieve
- description: Retrieve a user object.
+ operationId: virtualization_clusters_retrieve
+ description: Retrieve a cluster object.
parameters:
- in: query
name: format
@@ -146251,7 +126170,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this user.
+ description: A UUID string identifying this cluster.
required: true
- in: query
name: depth
@@ -146262,8 +126181,15 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- - users
+ - virtualization
security:
- cookieAuth: []
- tokenAuth: []
@@ -146272,14 +126198,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/User'
+ $ref: '#/components/schemas/Cluster'
text/csv:
schema:
- $ref: '#/components/schemas/User'
+ $ref: '#/components/schemas/Cluster'
description: ''
put:
- operationId: users_users_update
- description: Update a user object.
+ operationId: virtualization_clusters_update
+ description: Update a cluster object.
parameters:
- in: query
name: format
@@ -146293,18 +126219,18 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this user.
+ description: A UUID string identifying this cluster.
required: true
tags:
- - users
+ - virtualization
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/UserRequest'
+ $ref: '#/components/schemas/ClusterRequest'
text/csv:
schema:
- $ref: '#/components/schemas/UserRequest'
+ $ref: '#/components/schemas/ClusterRequest'
required: true
security:
- cookieAuth: []
@@ -146314,14 +126240,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/User'
+ $ref: '#/components/schemas/Cluster'
text/csv:
schema:
- $ref: '#/components/schemas/User'
+ $ref: '#/components/schemas/Cluster'
description: ''
patch:
- operationId: users_users_partial_update
- description: Partial update a user object.
+ operationId: virtualization_clusters_partial_update
+ description: Partial update a cluster object.
parameters:
- in: query
name: format
@@ -146335,18 +126261,18 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this user.
+ description: A UUID string identifying this cluster.
required: true
tags:
- - users
+ - virtualization
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedUserRequest'
+ $ref: '#/components/schemas/PatchedClusterRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedUserRequest'
+ $ref: '#/components/schemas/PatchedClusterRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -146355,14 +126281,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/User'
+ $ref: '#/components/schemas/Cluster'
text/csv:
schema:
- $ref: '#/components/schemas/User'
+ $ref: '#/components/schemas/Cluster'
description: ''
delete:
- operationId: users_users_destroy
- description: Destroy a user object.
+ operationId: virtualization_clusters_destroy
+ description: Destroy a cluster object.
parameters:
- in: query
name: format
@@ -146376,23 +126302,127 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this user.
+ description: A UUID string identifying this cluster.
required: true
tags:
- - users
+ - virtualization
security:
- cookieAuth: []
- tokenAuth: []
responses:
'204':
description: No response body
- /virtualization/cluster-groups/:
+ /virtualization/clusters/{id}/notes/:
get:
- operationId: virtualization_cluster_groups_list
- description: Retrieve a list of cluster group objects.
+ operationId: virtualization_clusters_notes_list
+ description: API methods for returning or creating notes on an object.
parameters:
- in: query
- name: clusters
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this cluster.
+ required: true
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
+ - in: query
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
+ tags:
+ - virtualization
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PaginatedNoteList'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PaginatedNoteList'
+ description: ''
+ post:
+ operationId: virtualization_clusters_notes_create
+ description: API methods for returning or creating notes on an object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this cluster.
+ required: true
+ tags:
+ - virtualization
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/NoteInputRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/NoteInputRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '201':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Note'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/Note'
+ description: ''
+ /virtualization/interfaces/:
+ get:
+ operationId: virtualization_interfaces_list
+ description: Retrieve a list of VM interface objects.
+ parameters:
+ - in: query
+ name: bridge
schema:
type: array
items:
@@ -146400,12 +126430,12 @@ paths:
explode: true
style: form
- in: query
- name: clusters__isnull
+ name: bridge__isnull
schema:
type: boolean
- description: Clusters (name or ID) is null
+ description: Bridge interface (name or ID) is null
- in: query
- name: clusters__n
+ name: bridge__n
schema:
type: array
items:
@@ -146413,7 +126443,7 @@ paths:
explode: true
style: form
- in: query
- name: contacts
+ name: bridged_interfaces
schema:
type: array
items:
@@ -146421,72 +126451,94 @@ paths:
explode: true
style: form
- in: query
- name: contacts__isnull
+ name: bridged_interfaces__isnull
schema:
type: boolean
- description: Contacts (name or ID) is null
+ description: Bridged interfaces (name or ID) is null
- in: query
- name: contacts__n
+ name: bridged_interfaces__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: created
+ name: child_interfaces
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: created__gt
+ name: child_interfaces__isnull
+ schema:
+ type: boolean
+ description: Child interfaces (name or ID) is null
+ - in: query
+ name: child_interfaces__n
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: created__gte
+ name: cluster
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: created__isnull
+ name: cluster__n
schema:
- type: boolean
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: created__lt
+ name: cluster_id
schema:
type: array
items:
type: string
- format: date-time
+ format: uuid
+ description: Cluster (ID) - Deprecated (use cluster filter)
explode: true
style: form
- in: query
- name: created__lte
+ name: cluster_id__n
schema:
type: array
items:
type: string
- format: date-time
+ format: uuid
+ description: Exclude Cluster (ID) - Deprecated (use cluster filter)
explode: true
style: form
- in: query
- name: created__n
+ name: contacts
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: contacts__isnull
+ schema:
+ type: boolean
+ description: Contacts (name or ID) is null
+ - in: query
+ name: contacts__n
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
@@ -146606,221 +126658,546 @@ paths:
schema:
type: array
items:
- type: string
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: dynamic_groups__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: enabled
+ schema:
+ type: boolean
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: query
+ name: has_bridged_interfaces
+ schema:
+ type: boolean
+ description: Has Bridged Interfaces
+ - in: query
+ name: has_child_interfaces
+ schema:
+ type: boolean
+ description: Has child interfaces
+ - in: query
+ name: has_ip_addresses
+ schema:
+ type: boolean
+ description: Has IP addresses
+ - in: query
+ name: has_tagged_vlans
+ schema:
+ type: boolean
+ description: Has Tagged VLANs
+ - in: query
+ name: id
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ explode: true
+ style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
+ - in: query
+ name: id__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ explode: true
+ style: form
+ - in: query
+ name: ip_addresses
+ schema:
+ type: array
+ items:
+ type: string
+ description: IP addresses (address or ID)
+ explode: true
+ style: form
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
+ - in: query
+ name: mac_address
+ schema:
+ type: array
+ items:
+ type: string
+ description: MAC address
+ explode: true
+ style: form
+ - in: query
+ name: mac_address__ic
+ schema:
+ type: array
+ items:
+ type: string
+ description: MAC address contains
+ explode: true
+ style: form
+ - in: query
+ name: mac_address__ie
+ schema:
+ type: array
+ items:
+ type: string
+ description: MAC address
+ explode: true
+ style: form
+ - in: query
+ name: mac_address__iew
+ schema:
+ type: array
+ items:
+ type: string
+ description: MAC address ends with
+ explode: true
+ style: form
+ - in: query
+ name: mac_address__ire
+ schema:
+ type: array
+ items:
+ type: string
+ description: MAC address matches regex
+ explode: true
+ style: form
+ - in: query
+ name: mac_address__isw
+ schema:
+ type: array
+ items:
+ type: string
+ description: MAC address starts with
+ explode: true
+ style: form
+ - in: query
+ name: mac_address__n
+ schema:
+ type: array
+ items:
+ type: string
+ description: Exclude MAC address
+ explode: true
+ style: form
+ - in: query
+ name: mac_address__nic
+ schema:
+ type: array
+ items:
+ type: string
+ description: Exclude MAC address contains
+ explode: true
+ style: form
+ - in: query
+ name: mac_address__nie
+ schema:
+ type: array
+ items:
+ type: string
+ description: Exclude MAC address
+ explode: true
+ style: form
+ - in: query
+ name: mac_address__niew
+ schema:
+ type: array
+ items:
+ type: string
+ description: Exclude MAC address ends with
+ explode: true
+ style: form
+ - in: query
+ name: mac_address__nire
+ schema:
+ type: array
+ items:
+ type: string
+ description: Exclude MAC address matches regex
+ explode: true
+ style: form
+ - in: query
+ name: mac_address__nisw
+ schema:
+ type: array
+ items:
+ type: string
+ description: Exclude MAC address starts with
+ explode: true
+ style: form
+ - in: query
+ name: mac_address__nre
+ schema:
+ type: array
+ items:
+ type: string
+ description: Exclude MAC address matches regex
+ explode: true
+ style: form
+ - in: query
+ name: mac_address__re
+ schema:
+ type: array
+ items:
+ type: string
+ description: MAC address matches regex
+ explode: true
+ style: form
+ - in: query
+ name: mode
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: mode__ic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: mode__ie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: mode__iew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: mode__ire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: mode__isw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: mode__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: mode__nic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: mode__nie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: mode__niew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: mode__nire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: mode__nisw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: mode__nre
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: mode__re
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: mtu
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: mtu__gt
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: mtu__gte
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: mtu__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: mtu__lt
+ schema:
+ type: array
+ items:
+ type: integer
explode: true
style: form
- in: query
- name: dynamic_groups__n
- schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: query
- name: has_clusters
- schema:
- type: boolean
- description: Has clusters
- - in: query
- name: id
+ name: mtu__lte
schema:
type: array
items:
- type: string
- format: uuid
+ type: integer
explode: true
style: form
- description: Unique object identifier, either a UUID primary key or a composite
- key.
- in: query
- name: id__ic
+ name: mtu__n
schema:
type: array
items:
- type: string
- format: uuid
+ type: integer
explode: true
style: form
- in: query
- name: id__ie
+ name: name
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__iew
+ name: name__ic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ire
+ name: name__ie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__isw
+ name: name__iew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__n
+ name: name__ire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nic
+ name: name__isw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nie
+ name: name__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__niew
+ name: name__nic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nire
+ name: name__nie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nisw
+ name: name__niew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nre
+ name: name__nire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__re
+ name: name__nisw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: last_updated
+ name: name__nre
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__gt
+ name: name__re
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
- in: query
- name: last_updated__gte
+ name: parent_interface
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__isnull
+ name: parent_interface__isnull
schema:
type: boolean
+ description: Parent interface (name or ID) is null
- in: query
- name: last_updated__lt
+ name: parent_interface__n
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__lte
+ name: q
+ schema:
+ type: string
+ description: Search
+ - in: query
+ name: role
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__n
+ name: role__isnull
+ schema:
+ type: boolean
+ description: Role (name or ID) is null
+ - in: query
+ name: role__n
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- - name: limit
+ - name: sort
required: false
in: query
- description: Number of results to return per page.
+ description: Which field to use when ordering the results.
schema:
- type: integer
+ type: string
- in: query
- name: name
+ name: status
schema:
type: array
items:
@@ -146828,7 +127205,7 @@ paths:
explode: true
style: form
- in: query
- name: name__ic
+ name: status__n
schema:
type: array
items:
@@ -146836,7 +127213,7 @@ paths:
explode: true
style: form
- in: query
- name: name__ie
+ name: tagged_vlans
schema:
type: array
items:
@@ -146844,7 +127221,7 @@ paths:
explode: true
style: form
- in: query
- name: name__iew
+ name: tagged_vlans__n
schema:
type: array
items:
@@ -146852,7 +127229,7 @@ paths:
explode: true
style: form
- in: query
- name: name__ire
+ name: tags
schema:
type: array
items:
@@ -146860,15 +127237,11 @@ paths:
explode: true
style: form
- in: query
- name: name__isw
+ name: tags__isnull
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
- in: query
- name: name__n
+ name: tags__n
schema:
type: array
items:
@@ -146876,7 +127249,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nic
+ name: teams
schema:
type: array
items:
@@ -146884,7 +127257,12 @@ paths:
explode: true
style: form
- in: query
- name: name__nie
+ name: teams__isnull
+ schema:
+ type: boolean
+ description: Teams (name or ID) is null
+ - in: query
+ name: teams__n
schema:
type: array
items:
@@ -146892,7 +127270,7 @@ paths:
explode: true
style: form
- in: query
- name: name__niew
+ name: untagged_vlan
schema:
type: array
items:
@@ -146900,7 +127278,12 @@ paths:
explode: true
style: form
- in: query
- name: name__nire
+ name: untagged_vlan__isnull
+ schema:
+ type: boolean
+ description: Untagged VLAN (VID or ID) is null
+ - in: query
+ name: untagged_vlan__n
schema:
type: array
items:
@@ -146908,7 +127291,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nisw
+ name: virtual_machine
schema:
type: array
items:
@@ -146916,7 +127299,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nre
+ name: virtual_machine__n
schema:
type: array
items:
@@ -146924,49 +127307,31 @@ paths:
explode: true
style: form
- in: query
- name: name__re
+ name: virtual_machine_id
schema:
type: array
items:
type: string
+ format: uuid
+ description: Virtual machine (ID) - Deprecated (use virtual_machine filter)
explode: true
style: form
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- - in: query
- name: q
- schema:
- type: string
- description: Search
- - name: sort
- required: false
- in: query
- description: Which field to use when ordering the results.
- schema:
- type: string
- in: query
- name: teams
+ name: virtual_machine_id__n
schema:
type: array
items:
type: string
+ format: uuid
+ description: Exclude Virtual machine (ID) - Deprecated (use virtual_machine
+ filter)
explode: true
style: form
- in: query
- name: teams__isnull
- schema:
- type: boolean
- description: Teams (name or ID) is null
- - in: query
- name: teams__n
+ name: vlan_id
schema:
type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ description: Any assigned VLAN (tagged or untagged)
- in: query
name: depth
required: false
@@ -146976,6 +127341,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- virtualization
security:
@@ -146986,14 +127358,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedClusterGroupList'
+ $ref: '#/components/schemas/PaginatedVMInterfaceList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedClusterGroupList'
+ $ref: '#/components/schemas/PaginatedVMInterfaceList'
description: ''
post:
- operationId: virtualization_cluster_groups_create
- description: Create one or more cluster group objects.
+ operationId: virtualization_interfaces_create
+ description: Create one or more VM interface objects.
parameters:
- in: query
name: format
@@ -147008,10 +127380,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ClusterGroupRequest'
+ $ref: '#/components/schemas/WritableVMInterfaceRequest'
text/csv:
schema:
- $ref: '#/components/schemas/ClusterGroupRequest'
+ $ref: '#/components/schemas/WritableVMInterfaceRequest'
required: true
security:
- cookieAuth: []
@@ -147021,14 +127393,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ClusterGroup'
+ $ref: '#/components/schemas/VMInterface'
text/csv:
schema:
- $ref: '#/components/schemas/ClusterGroup'
+ $ref: '#/components/schemas/VMInterface'
description: ''
put:
- operationId: virtualization_cluster_groups_bulk_update
- description: Update a list of cluster group objects.
+ operationId: virtualization_interfaces_bulk_update
+ description: Update a list of VM interface objects.
parameters:
- in: query
name: format
@@ -147045,12 +127417,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableClusterGroupRequest'
+ $ref: '#/components/schemas/BulkWritableVMInterfaceRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableClusterGroupRequest'
+ $ref: '#/components/schemas/BulkWritableVMInterfaceRequest'
required: true
security:
- cookieAuth: []
@@ -147062,16 +127434,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/ClusterGroup'
+ $ref: '#/components/schemas/VMInterface'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/ClusterGroup'
+ $ref: '#/components/schemas/VMInterface'
description: ''
patch:
- operationId: virtualization_cluster_groups_bulk_partial_update
- description: Partial update a list of cluster group objects.
+ operationId: virtualization_interfaces_bulk_partial_update
+ description: Partial update a list of VM interface objects.
parameters:
- in: query
name: format
@@ -147088,12 +127460,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableClusterGroupRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableVMInterfaceRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableClusterGroupRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableVMInterfaceRequest'
required: true
security:
- cookieAuth: []
@@ -147105,16 +127477,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/ClusterGroup'
+ $ref: '#/components/schemas/VMInterface'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/ClusterGroup'
+ $ref: '#/components/schemas/VMInterface'
description: ''
delete:
- operationId: virtualization_cluster_groups_bulk_destroy
- description: Destroy a list of cluster group objects.
+ operationId: virtualization_interfaces_bulk_destroy
+ description: Destroy a list of VM interface objects.
parameters:
- in: query
name: format
@@ -147144,10 +127516,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /virtualization/cluster-groups/{id}/:
+ /virtualization/interfaces/{id}/:
get:
- operationId: virtualization_cluster_groups_retrieve
- description: Retrieve a cluster group object.
+ operationId: virtualization_interfaces_retrieve
+ description: Retrieve a VM interface object.
parameters:
- in: query
name: format
@@ -147161,7 +127533,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this cluster group.
+ description: A UUID string identifying this VM interface.
required: true
- in: query
name: depth
@@ -147172,6 +127544,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- virtualization
security:
@@ -147182,14 +127561,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ClusterGroup'
+ $ref: '#/components/schemas/VMInterface'
text/csv:
schema:
- $ref: '#/components/schemas/ClusterGroup'
+ $ref: '#/components/schemas/VMInterface'
description: ''
put:
- operationId: virtualization_cluster_groups_update
- description: Update a cluster group object.
+ operationId: virtualization_interfaces_update
+ description: Update a VM interface object.
parameters:
- in: query
name: format
@@ -147203,7 +127582,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this cluster group.
+ description: A UUID string identifying this VM interface.
required: true
tags:
- virtualization
@@ -147211,10 +127590,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ClusterGroupRequest'
+ $ref: '#/components/schemas/WritableVMInterfaceRequest'
text/csv:
schema:
- $ref: '#/components/schemas/ClusterGroupRequest'
+ $ref: '#/components/schemas/WritableVMInterfaceRequest'
required: true
security:
- cookieAuth: []
@@ -147224,14 +127603,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ClusterGroup'
+ $ref: '#/components/schemas/VMInterface'
text/csv:
schema:
- $ref: '#/components/schemas/ClusterGroup'
+ $ref: '#/components/schemas/VMInterface'
description: ''
patch:
- operationId: virtualization_cluster_groups_partial_update
- description: Partial update a cluster group object.
+ operationId: virtualization_interfaces_partial_update
+ description: Partial update a VM interface object.
parameters:
- in: query
name: format
@@ -147245,7 +127624,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this cluster group.
+ description: A UUID string identifying this VM interface.
required: true
tags:
- virtualization
@@ -147253,10 +127632,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedClusterGroupRequest'
+ $ref: '#/components/schemas/PatchedWritableVMInterfaceRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedClusterGroupRequest'
+ $ref: '#/components/schemas/PatchedWritableVMInterfaceRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -147265,14 +127644,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ClusterGroup'
+ $ref: '#/components/schemas/VMInterface'
text/csv:
schema:
- $ref: '#/components/schemas/ClusterGroup'
+ $ref: '#/components/schemas/VMInterface'
description: ''
delete:
- operationId: virtualization_cluster_groups_destroy
- description: Destroy a cluster group object.
+ operationId: virtualization_interfaces_destroy
+ description: Destroy a VM interface object.
parameters:
- in: query
name: format
@@ -147286,7 +127665,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this cluster group.
+ description: A UUID string identifying this VM interface.
required: true
tags:
- virtualization
@@ -147296,9 +127675,9 @@ paths:
responses:
'204':
description: No response body
- /virtualization/cluster-groups/{id}/notes/:
+ /virtualization/interfaces/{id}/notes/:
get:
- operationId: virtualization_cluster_groups_notes_list
+ operationId: virtualization_interfaces_notes_list
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -147313,7 +127692,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this cluster group.
+ description: A UUID string identifying this VM interface.
required: true
- name: limit
required: false
@@ -147336,6 +127715,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- virtualization
security:
@@ -147352,7 +127738,7 @@ paths:
$ref: '#/components/schemas/PaginatedNoteList'
description: ''
post:
- operationId: virtualization_cluster_groups_notes_create
+ operationId: virtualization_interfaces_notes_create
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -147367,7 +127753,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this cluster group.
+ description: A UUID string identifying this VM interface.
required: true
tags:
- virtualization
@@ -147393,13 +127779,13 @@ paths:
schema:
$ref: '#/components/schemas/Note'
description: ''
- /virtualization/cluster-types/:
+ /virtualization/virtual-machines/:
get:
- operationId: virtualization_cluster_types_list
- description: Retrieve a list of cluster type objects.
+ operationId: virtualization_virtual_machines_list
+ description: Retrieve a list of virtual machine objects.
parameters:
- in: query
- name: clusters
+ name: cluster
schema:
type: array
items:
@@ -147407,12 +127793,222 @@ paths:
explode: true
style: form
- in: query
- name: clusters__isnull
+ name: cluster__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: cluster_group
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: cluster_group__isnull
schema:
type: boolean
- description: Clusters (name or ID) is null
+ description: Cluster group (ID or name) is null
- in: query
- name: clusters__n
+ name: cluster_group__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: cluster_group_id
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ description: Cluster group (ID) - Deprecated (use cluster_group filter)
+ explode: true
+ style: form
+ - in: query
+ name: cluster_group_id__isnull
+ schema:
+ type: boolean
+ description: Cluster group (ID) - Deprecated (use cluster_group filter) is
+ null
+ - in: query
+ name: cluster_group_id__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ description: Exclude Cluster group (ID) - Deprecated (use cluster_group filter)
+ explode: true
+ style: form
+ - in: query
+ name: cluster_id
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ description: Cluster (ID) - Deprecated (use cluster filter)
+ explode: true
+ style: form
+ - in: query
+ name: cluster_id__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ description: Exclude Cluster (ID) - Deprecated (use cluster filter)
+ explode: true
+ style: form
+ - in: query
+ name: cluster_type
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: cluster_type__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: cluster_type_id
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ description: Cluster type (ID) - Deprecated (use cluster_type filter)
+ explode: true
+ style: form
+ - in: query
+ name: cluster_type_id__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ description: Exclude Cluster type (ID) - Deprecated (use cluster_type filter)
+ explode: true
+ style: form
+ - in: query
+ name: comments
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__ic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__ie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__iew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__ire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__isw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__nic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__nie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__niew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__nire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__nisw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__nre
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: comments__re
schema:
type: array
items:
@@ -147435,9 +128031,11 @@ paths:
- in: query
name: contacts__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -147497,23 +128095,59 @@ paths:
explode: true
style: form
- in: query
- name: description
+ name: disk
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: description__ic
+ name: disk__gt
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: description__ie
+ name: disk__gte
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: disk__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: disk__lt
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: disk__lte
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: disk__n
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: dynamic_groups
schema:
type: array
items:
@@ -147521,7 +128155,7 @@ paths:
explode: true
style: form
- in: query
- name: description__iew
+ name: dynamic_groups__n
schema:
type: array
items:
@@ -147529,23 +128163,64 @@ paths:
explode: true
style: form
- in: query
- name: description__ire
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: query
+ name: has_interfaces
+ schema:
+ type: boolean
+ description: Has interfaces
+ - in: query
+ name: has_ip_addresses
+ schema:
+ type: boolean
+ description: Has IP addresses
+ - in: query
+ name: has_primary_ip
+ schema:
+ type: boolean
+ description: Has a primary IP
+ - in: query
+ name: has_services
+ schema:
+ type: boolean
+ description: Has services
+ - in: query
+ name: has_software_image_files
+ schema:
+ type: boolean
+ description: Has software image files
+ - in: query
+ name: has_software_version
+ schema:
+ type: boolean
+ description: Has software version
+ - in: query
+ name: id
schema:
type: array
items:
type: string
+ format: uuid
explode: true
style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
- name: description__isw
+ name: id__n
schema:
type: array
items:
type: string
+ format: uuid
explode: true
style: form
- in: query
- name: description__n
+ name: interfaces
schema:
type: array
items:
@@ -147553,7 +128228,12 @@ paths:
explode: true
style: form
- in: query
- name: description__nic
+ name: interfaces__isnull
+ schema:
+ type: boolean
+ description: Interfaces (name or ID) is null
+ - in: query
+ name: interfaces__n
schema:
type: array
items:
@@ -147561,273 +128241,635 @@ paths:
explode: true
style: form
- in: query
- name: description__nie
+ name: ip_addresses
schema:
type: array
items:
type: string
+ description: IP addresses (address or ID)
explode: true
style: form
- in: query
- name: description__niew
+ name: last_updated
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: description__nire
+ name: last_updated__gt
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: description__nisw
+ name: last_updated__gte
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: description__nre
+ name: last_updated__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: last_updated__lt
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: description__re
+ name: last_updated__lte
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: dynamic_groups
+ name: last_updated__n
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
- in: query
- name: dynamic_groups__n
+ name: local_config_context_data
schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
+ type: boolean
+ description: Has local config context data
- in: query
- name: format
+ name: local_config_context_schema
schema:
- type: string
- enum:
- - csv
- - json
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: has_clusters
+ name: local_config_context_schema__isnull
schema:
type: boolean
- description: Has clusters
+ description: Schema (ID or name) is null
- in: query
- name: id
+ name: local_config_context_schema__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- description: Unique object identifier, either a UUID primary key or a composite
- key.
- in: query
- name: id__ic
+ name: local_config_context_schema_id
schema:
type: array
items:
type: string
format: uuid
+ nullable: true
+ description: Schema (ID) - Deprecated (use local_context_schema filter)
explode: true
style: form
- in: query
- name: id__ie
+ name: local_config_context_schema_id__isnull
+ schema:
+ type: boolean
+ description: Schema (ID) - Deprecated (use local_context_schema filter) is
+ null
+ - in: query
+ name: local_config_context_schema_id__n
schema:
type: array
items:
type: string
format: uuid
+ nullable: true
+ description: Exclude Schema (ID) - Deprecated (use local_context_schema filter)
explode: true
style: form
- in: query
- name: id__iew
+ name: location
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ire
+ name: location__isnull
+ schema:
+ type: boolean
+ description: Location (name or ID) is null
+ - in: query
+ name: location__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: mac_address
+ schema:
+ type: array
+ items:
+ type: string
+ description: MAC address
+ explode: true
+ style: form
+ - in: query
+ name: mac_address__ic
+ schema:
+ type: array
+ items:
+ type: string
+ description: MAC address contains
+ explode: true
+ style: form
+ - in: query
+ name: mac_address__ie
+ schema:
+ type: array
+ items:
+ type: string
+ description: MAC address
+ explode: true
+ style: form
+ - in: query
+ name: mac_address__iew
+ schema:
+ type: array
+ items:
+ type: string
+ description: MAC address ends with
+ explode: true
+ style: form
+ - in: query
+ name: mac_address__ire
+ schema:
+ type: array
+ items:
+ type: string
+ description: MAC address matches regex
+ explode: true
+ style: form
+ - in: query
+ name: mac_address__isw
+ schema:
+ type: array
+ items:
+ type: string
+ description: MAC address starts with
+ explode: true
+ style: form
+ - in: query
+ name: mac_address__n
+ schema:
+ type: array
+ items:
+ type: string
+ description: Exclude MAC address
+ explode: true
+ style: form
+ - in: query
+ name: mac_address__nic
+ schema:
+ type: array
+ items:
+ type: string
+ description: Exclude MAC address contains
+ explode: true
+ style: form
+ - in: query
+ name: mac_address__nie
+ schema:
+ type: array
+ items:
+ type: string
+ description: Exclude MAC address
+ explode: true
+ style: form
+ - in: query
+ name: mac_address__niew
+ schema:
+ type: array
+ items:
+ type: string
+ description: Exclude MAC address ends with
+ explode: true
+ style: form
+ - in: query
+ name: mac_address__nire
+ schema:
+ type: array
+ items:
+ type: string
+ description: Exclude MAC address matches regex
+ explode: true
+ style: form
+ - in: query
+ name: mac_address__nisw
+ schema:
+ type: array
+ items:
+ type: string
+ description: Exclude MAC address starts with
+ explode: true
+ style: form
+ - in: query
+ name: mac_address__nre
+ schema:
+ type: array
+ items:
+ type: string
+ description: Exclude MAC address matches regex
+ explode: true
+ style: form
+ - in: query
+ name: mac_address__re
+ schema:
+ type: array
+ items:
+ type: string
+ description: MAC address matches regex
+ explode: true
+ style: form
+ - in: query
+ name: memory
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: memory__gt
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: memory__gte
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: memory__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: memory__lt
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: memory__lte
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: memory__n
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: name
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__ic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__ie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__iew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__ire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__isw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__nic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__nie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__niew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__nire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__nisw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__nre
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: name__re
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
+ - in: query
+ name: platform
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: platform__isnull
+ schema:
+ type: boolean
+ description: Platform (ID or name) is null
+ - in: query
+ name: platform__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__isw
+ name: platform_id
schema:
type: array
items:
type: string
format: uuid
+ nullable: true
+ description: Platform (ID) - Deprecated (use platform filter)
explode: true
style: form
- in: query
- name: id__n
+ name: platform_id__isnull
+ schema:
+ type: boolean
+ description: Platform (ID) - Deprecated (use platform filter) is null
+ - in: query
+ name: platform_id__n
schema:
type: array
items:
type: string
format: uuid
+ nullable: true
+ description: Exclude Platform (ID) - Deprecated (use platform filter)
explode: true
style: form
- in: query
- name: id__nic
+ name: primary_ip4
schema:
type: array
items:
type: string
- format: uuid
+ description: Primary IPv4 Address (address or ID)
explode: true
style: form
- in: query
- name: id__nie
+ name: primary_ip6
schema:
type: array
items:
type: string
- format: uuid
+ description: Primary IPv6 Address (address or ID)
explode: true
style: form
- in: query
- name: id__niew
+ name: q
+ schema:
+ type: string
+ description: Search
+ - in: query
+ name: role
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nire
+ name: role__isnull
+ schema:
+ type: boolean
+ description: Role (name or ID) is null
+ - in: query
+ name: role__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nisw
+ name: services
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nre
+ name: services__isnull
+ schema:
+ type: boolean
+ description: Services (name or ID) is null
+ - in: query
+ name: services__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__re
+ name: software_image_files
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: last_updated
+ name: software_image_files__n
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__gt
+ name: software_version
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__gte
+ name: software_version__isnull
+ schema:
+ type: boolean
+ description: Software version (version or ID) is null
+ - in: query
+ name: software_version__n
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- - in: query
- name: last_updated__isnull
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
schema:
- type: boolean
+ type: string
- in: query
- name: last_updated__lt
+ name: status
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__lte
+ name: status__n
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- in: query
- name: last_updated__n
+ name: tags
schema:
type: array
items:
type: string
- format: date-time
explode: true
style: form
- - name: limit
- required: false
- in: query
- description: Number of results to return per page.
+ - in: query
+ name: tags__isnull
schema:
- type: integer
+ type: boolean
- in: query
- name: name
+ name: tags__n
schema:
type: array
items:
@@ -147835,7 +128877,7 @@ paths:
explode: true
style: form
- in: query
- name: name__ic
+ name: teams
schema:
type: array
items:
@@ -147843,7 +128885,12 @@ paths:
explode: true
style: form
- in: query
- name: name__ie
+ name: teams__isnull
+ schema:
+ type: boolean
+ description: Teams (name or ID) is null
+ - in: query
+ name: teams__n
schema:
type: array
items:
@@ -147851,7 +128898,7 @@ paths:
explode: true
style: form
- in: query
- name: name__iew
+ name: tenant
schema:
type: array
items:
@@ -147859,7 +128906,12 @@ paths:
explode: true
style: form
- in: query
- name: name__ire
+ name: tenant__isnull
+ schema:
+ type: boolean
+ description: Tenant (name or ID) is null
+ - in: query
+ name: tenant__n
schema:
type: array
items:
@@ -147867,7 +128919,7 @@ paths:
explode: true
style: form
- in: query
- name: name__isw
+ name: tenant_group
schema:
type: array
items:
@@ -147875,7 +128927,12 @@ paths:
explode: true
style: form
- in: query
- name: name__n
+ name: tenant_group__isnull
+ schema:
+ type: boolean
+ description: Tenant Group (name or ID) is null
+ - in: query
+ name: tenant_group__n
schema:
type: array
items:
@@ -147883,97 +128940,84 @@ paths:
explode: true
style: form
- in: query
- name: name__nic
+ name: tenant_id
schema:
type: array
items:
type: string
+ format: uuid
+ nullable: true
+ description: Tenant (ID) (deprecated, use "tenant" filter instead)
explode: true
style: form
- in: query
- name: name__nie
+ name: tenant_id__isnull
+ schema:
+ type: boolean
+ description: Tenant (ID) (deprecated, use "tenant" filter instead) is null
+ - in: query
+ name: tenant_id__n
schema:
type: array
items:
type: string
+ format: uuid
+ nullable: true
+ description: Exclude Tenant (ID) (deprecated, use "tenant" filter instead)
explode: true
style: form
- in: query
- name: name__niew
+ name: vcpus
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: name__nire
+ name: vcpus__gt
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: name__nisw
+ name: vcpus__gte
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: name__nre
+ name: vcpus__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: vcpus__lt
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: name__re
+ name: vcpus__lte
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- - in: query
- name: q
- schema:
- type: string
- description: Search
- - name: sort
- required: false
- in: query
- description: Which field to use when ordering the results.
- schema:
- type: string
- in: query
- name: teams
+ name: vcpus__n
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- - in: query
- name: teams__isnull
- schema:
- type: boolean
- description: Teams (name or ID) is null
- - in: query
- name: teams__n
- schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
- in: query
name: depth
required: false
@@ -147983,6 +129027,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- virtualization
security:
@@ -147993,14 +129044,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedClusterTypeList'
+ $ref: '#/components/schemas/PaginatedVirtualMachineList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedClusterTypeList'
+ $ref: '#/components/schemas/PaginatedVirtualMachineList'
description: ''
post:
- operationId: virtualization_cluster_types_create
- description: Create one or more cluster type objects.
+ operationId: virtualization_virtual_machines_create
+ description: Create one or more virtual machine objects.
parameters:
- in: query
name: format
@@ -148015,10 +129066,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ClusterTypeRequest'
+ $ref: '#/components/schemas/VirtualMachineRequest'
text/csv:
schema:
- $ref: '#/components/schemas/ClusterTypeRequest'
+ $ref: '#/components/schemas/VirtualMachineRequest'
required: true
security:
- cookieAuth: []
@@ -148028,14 +129079,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ClusterType'
+ $ref: '#/components/schemas/VirtualMachine'
text/csv:
schema:
- $ref: '#/components/schemas/ClusterType'
+ $ref: '#/components/schemas/VirtualMachine'
description: ''
put:
- operationId: virtualization_cluster_types_bulk_update
- description: Update a list of cluster type objects.
+ operationId: virtualization_virtual_machines_bulk_update
+ description: Update a list of virtual machine objects.
parameters:
- in: query
name: format
@@ -148052,12 +129103,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableClusterTypeRequest'
+ $ref: '#/components/schemas/BulkWritableVirtualMachineRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableClusterTypeRequest'
+ $ref: '#/components/schemas/BulkWritableVirtualMachineRequest'
required: true
security:
- cookieAuth: []
@@ -148069,16 +129120,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/ClusterType'
+ $ref: '#/components/schemas/VirtualMachine'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/ClusterType'
+ $ref: '#/components/schemas/VirtualMachine'
description: ''
patch:
- operationId: virtualization_cluster_types_bulk_partial_update
- description: Partial update a list of cluster type objects.
+ operationId: virtualization_virtual_machines_bulk_partial_update
+ description: Partial update a list of virtual machine objects.
parameters:
- in: query
name: format
@@ -148095,12 +129146,12 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableClusterTypeRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableVirtualMachineRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableClusterTypeRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableVirtualMachineRequest'
required: true
security:
- cookieAuth: []
@@ -148112,16 +129163,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/ClusterType'
+ $ref: '#/components/schemas/VirtualMachine'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/ClusterType'
+ $ref: '#/components/schemas/VirtualMachine'
description: ''
delete:
- operationId: virtualization_cluster_types_bulk_destroy
- description: Destroy a list of cluster type objects.
+ operationId: virtualization_virtual_machines_bulk_destroy
+ description: Destroy a list of virtual machine objects.
parameters:
- in: query
name: format
@@ -148151,10 +129202,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /virtualization/cluster-types/{id}/:
+ /virtualization/virtual-machines/{id}/:
get:
- operationId: virtualization_cluster_types_retrieve
- description: Retrieve a cluster type object.
+ operationId: virtualization_virtual_machines_retrieve
+ description: Retrieve a virtual machine object.
parameters:
- in: query
name: format
@@ -148168,7 +129219,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this cluster type.
+ description: A UUID string identifying this virtual machine.
required: true
- in: query
name: depth
@@ -148179,6 +129230,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- virtualization
security:
@@ -148189,14 +129247,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ClusterType'
+ $ref: '#/components/schemas/VirtualMachine'
text/csv:
schema:
- $ref: '#/components/schemas/ClusterType'
+ $ref: '#/components/schemas/VirtualMachine'
description: ''
put:
- operationId: virtualization_cluster_types_update
- description: Update a cluster type object.
+ operationId: virtualization_virtual_machines_update
+ description: Update a virtual machine object.
parameters:
- in: query
name: format
@@ -148210,7 +129268,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this cluster type.
+ description: A UUID string identifying this virtual machine.
required: true
tags:
- virtualization
@@ -148218,10 +129276,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ClusterTypeRequest'
+ $ref: '#/components/schemas/VirtualMachineRequest'
text/csv:
schema:
- $ref: '#/components/schemas/ClusterTypeRequest'
+ $ref: '#/components/schemas/VirtualMachineRequest'
required: true
security:
- cookieAuth: []
@@ -148231,14 +129289,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ClusterType'
+ $ref: '#/components/schemas/VirtualMachine'
text/csv:
schema:
- $ref: '#/components/schemas/ClusterType'
+ $ref: '#/components/schemas/VirtualMachine'
description: ''
patch:
- operationId: virtualization_cluster_types_partial_update
- description: Partial update a cluster type object.
+ operationId: virtualization_virtual_machines_partial_update
+ description: Partial update a virtual machine object.
parameters:
- in: query
name: format
@@ -148252,7 +129310,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this cluster type.
+ description: A UUID string identifying this virtual machine.
required: true
tags:
- virtualization
@@ -148260,10 +129318,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedClusterTypeRequest'
+ $ref: '#/components/schemas/PatchedVirtualMachineRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedClusterTypeRequest'
+ $ref: '#/components/schemas/PatchedVirtualMachineRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -148272,14 +129330,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ClusterType'
+ $ref: '#/components/schemas/VirtualMachine'
text/csv:
schema:
- $ref: '#/components/schemas/ClusterType'
+ $ref: '#/components/schemas/VirtualMachine'
description: ''
delete:
- operationId: virtualization_cluster_types_destroy
- description: Destroy a cluster type object.
+ operationId: virtualization_virtual_machines_destroy
+ description: Destroy a virtual machine object.
parameters:
- in: query
name: format
@@ -148293,7 +129351,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this cluster type.
+ description: A UUID string identifying this virtual machine.
required: true
tags:
- virtualization
@@ -148303,9 +129361,9 @@ paths:
responses:
'204':
description: No response body
- /virtualization/cluster-types/{id}/notes/:
+ /virtualization/virtual-machines/{id}/notes/:
get:
- operationId: virtualization_cluster_types_notes_list
+ operationId: virtualization_virtual_machines_notes_list
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -148320,7 +129378,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this cluster type.
+ description: A UUID string identifying this virtual machine.
required: true
- name: limit
required: false
@@ -148343,6 +129401,13 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- virtualization
security:
@@ -148359,7 +129424,7 @@ paths:
$ref: '#/components/schemas/PaginatedNoteList'
description: ''
post:
- operationId: virtualization_cluster_types_notes_create
+ operationId: virtualization_virtual_machines_notes_create
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -148374,7 +129439,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this cluster type.
+ description: A UUID string identifying this virtual machine.
required: true
tags:
- virtualization
@@ -148400,13 +129465,14 @@ paths:
schema:
$ref: '#/components/schemas/Note'
description: ''
- /virtualization/clusters/:
+ /wireless/controller-managed-device-group-radio-profile-assignments/:
get:
- operationId: virtualization_clusters_list
- description: Retrieve a list of cluster objects.
+ operationId: wireless_controller_managed_device_group_radio_profile_assignments_list
+ description: Retrieve a list of controller managed device group radio profile
+ assignment objects.
parameters:
- in: query
- name: cluster_group
+ name: controller_managed_device_group
schema:
type: array
items:
@@ -148414,12 +129480,7 @@ paths:
explode: true
style: form
- in: query
- name: cluster_group__isnull
- schema:
- type: boolean
- description: Parent group (ID or name) is null
- - in: query
- name: cluster_group__n
+ name: controller_managed_device_group__n
schema:
type: array
items:
@@ -148427,40 +129488,51 @@ paths:
explode: true
style: form
- in: query
- name: cluster_group_id
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: query
+ name: id
schema:
type: array
items:
type: string
format: uuid
- description: Parent group (ID) - Deprecated (use group filter)
explode: true
style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
- name: cluster_group_id__isnull
- schema:
- type: boolean
- description: Parent group (ID) - Deprecated (use group filter) is null
- - in: query
- name: cluster_group_id__n
+ name: id__n
schema:
type: array
items:
type: string
format: uuid
- description: Exclude Parent group (ID) - Deprecated (use group filter)
explode: true
style: form
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
- in: query
- name: cluster_type
+ name: q
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: string
+ description: Search
- in: query
- name: cluster_type__n
+ name: radio_profile
schema:
type: array
items:
@@ -148468,67 +129540,382 @@ paths:
explode: true
style: form
- in: query
- name: cluster_type_id
+ name: radio_profile__n
schema:
type: array
items:
type: string
- format: uuid
- description: Cluster type (ID) - Deprecated (use type filter)
explode: true
style: form
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
+ schema:
+ type: string
- in: query
- name: cluster_type_id__n
+ name: depth
+ required: false
+ description: Serializer Depth
schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude Cluster type (ID) - Deprecated (use type filter)
- explode: true
- style: form
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
- in: query
- name: comments
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
+ default: false
+ tags:
+ - wireless
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList'
+ description: ''
+ post:
+ operationId: wireless_controller_managed_device_group_radio_profile_assignments_create
+ description: Create one or more controller managed device group radio profile
+ assignment objects.
+ parameters:
- in: query
- name: comments__ic
+ name: format
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - wireless
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignmentRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignmentRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '201':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignment'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignment'
+ description: ''
+ put:
+ operationId: wireless_controller_managed_device_group_radio_profile_assignments_bulk_update
+ description: Update a list of controller managed device group radio profile
+ assignment objects.
+ parameters:
- in: query
- name: comments__ie
+ name: format
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - wireless
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignment'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignment'
+ description: ''
+ patch:
+ operationId: wireless_controller_managed_device_group_radio_profile_assignments_bulk_partial_update
+ description: Partial update a list of controller managed device group radio
+ profile assignment objects.
+ parameters:
- in: query
- name: comments__iew
+ name: format
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - wireless
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignment'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignment'
+ description: ''
+ delete:
+ operationId: wireless_controller_managed_device_group_radio_profile_assignments_bulk_destroy
+ description: Destroy a list of controller managed device group radio profile
+ assignment objects.
+ parameters:
- in: query
- name: comments__ire
+ name: format
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - wireless
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '204':
+ description: No response body
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkOperationRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkOperationRequest'
+ required: true
+ /wireless/controller-managed-device-group-radio-profile-assignments/{id}/:
+ get:
+ operationId: wireless_controller_managed_device_group_radio_profile_assignments_retrieve
+ description: Retrieve a controller managed device group radio profile assignment
+ object.
+ parameters:
- in: query
- name: comments__isw
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this controller managed device group
+ radio profile assignment.
+ required: true
+ - in: query
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
+ tags:
+ - wireless
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignment'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignment'
+ description: ''
+ put:
+ operationId: wireless_controller_managed_device_group_radio_profile_assignments_update
+ description: Update a controller managed device group radio profile assignment
+ object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this controller managed device group
+ radio profile assignment.
+ required: true
+ tags:
+ - wireless
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignmentRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignmentRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignment'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignment'
+ description: ''
+ patch:
+ operationId: wireless_controller_managed_device_group_radio_profile_assignments_partial_update
+ description: Partial update a controller managed device group radio profile
+ assignment object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this controller managed device group
+ radio profile assignment.
+ required: true
+ tags:
+ - wireless
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest'
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignment'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignment'
+ description: ''
+ delete:
+ operationId: wireless_controller_managed_device_group_radio_profile_assignments_destroy
+ description: Destroy a controller managed device group radio profile assignment
+ object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this controller managed device group
+ radio profile assignment.
+ required: true
+ tags:
+ - wireless
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '204':
+ description: No response body
+ /wireless/controller-managed-device-group-wireless-network-assignments/:
+ get:
+ operationId: wireless_controller_managed_device_group_wireless_network_assignments_list
+ description: Retrieve a list of controller managed device group wireless network
+ assignment objects.
+ parameters:
+ - in: query
+ name: controller_managed_device_group
schema:
type: array
items:
@@ -148536,7 +129923,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__n
+ name: controller_managed_device_group__n
schema:
type: array
items:
@@ -148544,23 +129931,71 @@ paths:
explode: true
style: form
- in: query
- name: comments__nic
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: query
+ name: id
schema:
type: array
items:
type: string
+ format: uuid
explode: true
style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
- name: comments__nie
+ name: id__n
schema:
type: array
items:
type: string
+ format: uuid
explode: true
style: form
+ - name: limit
+ required: false
+ in: query
+ description: Number of results to return per page.
+ schema:
+ type: integer
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
+ schema:
+ type: integer
- in: query
- name: comments__niew
+ name: q
+ schema:
+ type: string
+ description: Search
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
+ schema:
+ type: string
+ - in: query
+ name: vlan
+ schema:
+ type: string
+ format: uuid
+ - in: query
+ name: vlan__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: vlan__n
+ schema:
+ type: string
+ format: uuid
+ - in: query
+ name: wireless_network
schema:
type: array
items:
@@ -148568,7 +130003,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__nire
+ name: wireless_network__n
schema:
type: array
items:
@@ -148576,7 +130011,367 @@ paths:
explode: true
style: form
- in: query
- name: comments__nisw
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
+ tags:
+ - wireless
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList'
+ description: ''
+ post:
+ operationId: wireless_controller_managed_device_group_wireless_network_assignments_create
+ description: Create one or more controller managed device group wireless network
+ assignment objects.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - wireless
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '201':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignment'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignment'
+ description: ''
+ put:
+ operationId: wireless_controller_managed_device_group_wireless_network_assignments_bulk_update
+ description: Update a list of controller managed device group wireless network
+ assignment objects.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - wireless
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignment'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignment'
+ description: ''
+ patch:
+ operationId: wireless_controller_managed_device_group_wireless_network_assignments_bulk_partial_update
+ description: Partial update a list of controller managed device group wireless
+ network assignment objects.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - wireless
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignment'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignment'
+ description: ''
+ delete:
+ operationId: wireless_controller_managed_device_group_wireless_network_assignments_bulk_destroy
+ description: Destroy a list of controller managed device group wireless network
+ assignment objects.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ tags:
+ - wireless
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '204':
+ description: No response body
+ requestBody:
+ content:
+ application/json:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkOperationRequest'
+ text/csv:
+ schema:
+ type: array
+ items:
+ $ref: '#/components/schemas/BulkOperationRequest'
+ required: true
+ /wireless/controller-managed-device-group-wireless-network-assignments/{id}/:
+ get:
+ operationId: wireless_controller_managed_device_group_wireless_network_assignments_retrieve
+ description: Retrieve a controller managed device group wireless network assignment
+ object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this controller managed device group
+ wireless network assignment.
+ required: true
+ - in: query
+ name: depth
+ required: false
+ description: Serializer Depth
+ schema:
+ type: integer
+ minimum: 0
+ maximum: 10
+ default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
+ tags:
+ - wireless
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignment'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignment'
+ description: ''
+ put:
+ operationId: wireless_controller_managed_device_group_wireless_network_assignments_update
+ description: Update a controller managed device group wireless network assignment
+ object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this controller managed device group
+ wireless network assignment.
+ required: true
+ tags:
+ - wireless
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest'
+ required: true
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignment'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignment'
+ description: ''
+ patch:
+ operationId: wireless_controller_managed_device_group_wireless_network_assignments_partial_update
+ description: Partial update a controller managed device group wireless network
+ assignment object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this controller managed device group
+ wireless network assignment.
+ required: true
+ tags:
+ - wireless
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest'
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '200':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignment'
+ text/csv:
+ schema:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignment'
+ description: ''
+ delete:
+ operationId: wireless_controller_managed_device_group_wireless_network_assignments_destroy
+ description: Destroy a controller managed device group wireless network assignment
+ object.
+ parameters:
+ - in: query
+ name: format
+ schema:
+ type: string
+ enum:
+ - csv
+ - json
+ - in: path
+ name: id
+ schema:
+ type: string
+ format: uuid
+ description: A UUID string identifying this controller managed device group
+ wireless network assignment.
+ required: true
+ tags:
+ - wireless
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ responses:
+ '204':
+ description: No response body
+ /wireless/radio-profiles/:
+ get:
+ operationId: wireless_radio_profiles_list
+ description: Retrieve a list of radio profile objects.
+ parameters:
+ - in: query
+ name: allowed_channel_list
schema:
type: array
items:
@@ -148584,7 +130379,11 @@ paths:
explode: true
style: form
- in: query
- name: comments__nre
+ name: channel_width
+ schema:
+ type: number
+ - in: query
+ name: contacts
schema:
type: array
items:
@@ -148592,7 +130391,12 @@ paths:
explode: true
style: form
- in: query
- name: comments__re
+ name: contacts__isnull
+ schema:
+ type: boolean
+ description: Contacts (name or ID) is null
+ - in: query
+ name: contacts__n
schema:
type: array
items:
@@ -148600,7 +130404,7 @@ paths:
explode: true
style: form
- in: query
- name: contacts
+ name: controller_managed_device_groups
schema:
type: array
items:
@@ -148608,16 +130412,18 @@ paths:
explode: true
style: form
- in: query
- name: contacts__isnull
+ name: controller_managed_device_groups__isnull
schema:
type: boolean
- description: Contacts (name or ID) is null
+ description: Controller Managed Device Groups (name or ID) is null
- in: query
- name: contacts__n
+ name: controller_managed_device_groups__n
schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: created
schema:
@@ -148677,20 +130483,7 @@ paths:
explode: true
style: form
- in: query
- name: devices
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: devices__isnull
- schema:
- type: boolean
- description: Devices (name or ID) is null
- - in: query
- name: devices__n
+ name: dynamic_groups
schema:
type: array
items:
@@ -148698,19 +130491,13 @@ paths:
explode: true
style: form
- in: query
- name: dynamic_groups
+ name: dynamic_groups__n
schema:
type: array
items:
type: string
explode: true
style: form
- - in: query
- name: dynamic_groups__n
- schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
- in: query
name: format
schema:
@@ -148719,127 +130506,124 @@ paths:
- csv
- json
- in: query
- name: has_devices
+ name: frequency
schema:
- type: boolean
- description: Has devices
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: has_virtual_machines
+ name: frequency__ic
schema:
- type: boolean
- description: Has virtual machines
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: id
+ name: frequency__ie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- description: Unique object identifier, either a UUID primary key or a composite
- key.
- in: query
- name: id__ic
+ name: frequency__iew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ie
+ name: frequency__ire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__iew
+ name: frequency__isw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ire
+ name: frequency__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__isw
+ name: frequency__nic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__n
+ name: frequency__nie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nic
+ name: frequency__niew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nie
+ name: frequency__nire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__niew
+ name: frequency__nisw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nire
+ name: frequency__nre
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nisw
+ name: frequency__re
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nre
+ name: has_controller_managed_device_groups
+ schema:
+ type: boolean
+ description: Has controller managed device groups
+ - in: query
+ name: id
schema:
type: array
items:
@@ -148847,8 +130631,10 @@ paths:
format: uuid
explode: true
style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
- name: id__re
+ name: id__n
schema:
type: array
items:
@@ -148920,27 +130706,6 @@ paths:
description: Number of results to return per page.
schema:
type: integer
- - in: query
- name: location
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: location__isnull
- schema:
- type: boolean
- description: Location (name or ID) is null
- - in: query
- name: location__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- in: query
name: name
schema:
@@ -149064,12 +130829,194 @@ paths:
schema:
type: string
description: Search
+ - in: query
+ name: regulatory_domain
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: regulatory_domain__ic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: regulatory_domain__ie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: regulatory_domain__iew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: regulatory_domain__ire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: regulatory_domain__isw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: regulatory_domain__n
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: regulatory_domain__nic
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: regulatory_domain__nie
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: regulatory_domain__niew
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: regulatory_domain__nire
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: regulatory_domain__nisw
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: regulatory_domain__nre
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: regulatory_domain__re
+ schema:
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
+ - in: query
+ name: rx_power_min
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: rx_power_min__gt
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: rx_power_min__gte
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: rx_power_min__isnull
+ schema:
+ type: boolean
+ - in: query
+ name: rx_power_min__lt
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: rx_power_min__lte
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: rx_power_min__n
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
- name: sort
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
+ - in: query
+ name: supported_data_rates
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ explode: true
+ style: form
+ - in: query
+ name: supported_data_rates__n
+ schema:
+ type: array
+ items:
+ type: string
+ format: uuid
+ explode: true
+ style: form
- in: query
name: tags
schema:
@@ -149105,12 +131052,6 @@ paths:
description: Teams (name or ID) is null
- in: query
name: teams__n
- schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
- - in: query
- name: tenant
schema:
type: array
items:
@@ -149118,85 +131059,107 @@ paths:
explode: true
style: form
- in: query
- name: tenant__isnull
+ name: tx_power_max
schema:
- type: boolean
- description: Tenant (name or ID) is null
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
- in: query
- name: tenant__n
+ name: tx_power_max__gt
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: tenant_group
+ name: tx_power_max__gte
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: tenant_group__isnull
+ name: tx_power_max__isnull
schema:
type: boolean
- description: Tenant Group (name or ID) is null
- in: query
- name: tenant_group__n
+ name: tx_power_max__lt
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: tenant_id
+ name: tx_power_max__lte
schema:
type: array
items:
- type: string
- format: uuid
- nullable: true
- description: Tenant (ID) (deprecated, use "tenant" filter instead)
+ type: integer
explode: true
style: form
- in: query
- name: tenant_id__isnull
+ name: tx_power_max__n
schema:
- type: boolean
- description: Tenant (ID) (deprecated, use "tenant" filter instead) is null
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
- in: query
- name: tenant_id__n
+ name: tx_power_min
schema:
type: array
items:
- type: string
- format: uuid
- nullable: true
- description: Exclude Tenant (ID) (deprecated, use "tenant" filter instead)
+ type: integer
explode: true
style: form
- in: query
- name: virtual_machines
+ name: tx_power_min__gt
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: virtual_machines__isnull
+ name: tx_power_min__gte
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: tx_power_min__isnull
schema:
type: boolean
- description: Virtual machines (name or ID) is null
- in: query
- name: virtual_machines__n
+ name: tx_power_min__lt
schema:
type: array
items:
- type: string
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: tx_power_min__lte
+ schema:
+ type: array
+ items:
+ type: integer
+ explode: true
+ style: form
+ - in: query
+ name: tx_power_min__n
+ schema:
+ type: array
+ items:
+ type: integer
explode: true
style: form
- in: query
@@ -149208,8 +131171,15 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- - virtualization
+ - wireless
security:
- cookieAuth: []
- tokenAuth: []
@@ -149218,14 +131188,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedClusterList'
+ $ref: '#/components/schemas/PaginatedRadioProfileList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedClusterList'
+ $ref: '#/components/schemas/PaginatedRadioProfileList'
description: ''
post:
- operationId: virtualization_clusters_create
- description: Create one or more cluster objects.
+ operationId: wireless_radio_profiles_create
+ description: Create one or more radio profile objects.
parameters:
- in: query
name: format
@@ -149235,15 +131205,15 @@ paths:
- csv
- json
tags:
- - virtualization
+ - wireless
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/ClusterRequest'
+ $ref: '#/components/schemas/RadioProfileRequest'
text/csv:
schema:
- $ref: '#/components/schemas/ClusterRequest'
+ $ref: '#/components/schemas/RadioProfileRequest'
required: true
security:
- cookieAuth: []
@@ -149253,14 +131223,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Cluster'
+ $ref: '#/components/schemas/RadioProfile'
text/csv:
schema:
- $ref: '#/components/schemas/Cluster'
+ $ref: '#/components/schemas/RadioProfile'
description: ''
put:
- operationId: virtualization_clusters_bulk_update
- description: Update a list of cluster objects.
+ operationId: wireless_radio_profiles_bulk_update
+ description: Update a list of radio profile objects.
parameters:
- in: query
name: format
@@ -149270,19 +131240,19 @@ paths:
- csv
- json
tags:
- - virtualization
+ - wireless
requestBody:
content:
application/json:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableClusterRequest'
+ $ref: '#/components/schemas/BulkWritableRadioProfileRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableClusterRequest'
+ $ref: '#/components/schemas/BulkWritableRadioProfileRequest'
required: true
security:
- cookieAuth: []
@@ -149294,16 +131264,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/Cluster'
+ $ref: '#/components/schemas/RadioProfile'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/Cluster'
+ $ref: '#/components/schemas/RadioProfile'
description: ''
patch:
- operationId: virtualization_clusters_bulk_partial_update
- description: Partial update a list of cluster objects.
+ operationId: wireless_radio_profiles_bulk_partial_update
+ description: Partial update a list of radio profile objects.
parameters:
- in: query
name: format
@@ -149313,19 +131283,19 @@ paths:
- csv
- json
tags:
- - virtualization
+ - wireless
requestBody:
content:
application/json:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableClusterRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableRadioProfileRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableClusterRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableRadioProfileRequest'
required: true
security:
- cookieAuth: []
@@ -149337,16 +131307,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/Cluster'
+ $ref: '#/components/schemas/RadioProfile'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/Cluster'
+ $ref: '#/components/schemas/RadioProfile'
description: ''
delete:
- operationId: virtualization_clusters_bulk_destroy
- description: Destroy a list of cluster objects.
+ operationId: wireless_radio_profiles_bulk_destroy
+ description: Destroy a list of radio profile objects.
parameters:
- in: query
name: format
@@ -149356,7 +131326,7 @@ paths:
- csv
- json
tags:
- - virtualization
+ - wireless
security:
- cookieAuth: []
- tokenAuth: []
@@ -149376,10 +131346,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /virtualization/clusters/{id}/:
+ /wireless/radio-profiles/{id}/:
get:
- operationId: virtualization_clusters_retrieve
- description: Retrieve a cluster object.
+ operationId: wireless_radio_profiles_retrieve
+ description: Retrieve a radio profile object.
parameters:
- in: query
name: format
@@ -149393,7 +131363,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this cluster.
+ description: A UUID string identifying this radio profile.
required: true
- in: query
name: depth
@@ -149404,8 +131374,15 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- - virtualization
+ - wireless
security:
- cookieAuth: []
- tokenAuth: []
@@ -149414,14 +131391,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Cluster'
+ $ref: '#/components/schemas/RadioProfile'
text/csv:
schema:
- $ref: '#/components/schemas/Cluster'
+ $ref: '#/components/schemas/RadioProfile'
description: ''
put:
- operationId: virtualization_clusters_update
- description: Update a cluster object.
+ operationId: wireless_radio_profiles_update
+ description: Update a radio profile object.
parameters:
- in: query
name: format
@@ -149435,18 +131412,18 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this cluster.
+ description: A UUID string identifying this radio profile.
required: true
tags:
- - virtualization
+ - wireless
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/ClusterRequest'
+ $ref: '#/components/schemas/RadioProfileRequest'
text/csv:
schema:
- $ref: '#/components/schemas/ClusterRequest'
+ $ref: '#/components/schemas/RadioProfileRequest'
required: true
security:
- cookieAuth: []
@@ -149456,14 +131433,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Cluster'
+ $ref: '#/components/schemas/RadioProfile'
text/csv:
schema:
- $ref: '#/components/schemas/Cluster'
+ $ref: '#/components/schemas/RadioProfile'
description: ''
patch:
- operationId: virtualization_clusters_partial_update
- description: Partial update a cluster object.
+ operationId: wireless_radio_profiles_partial_update
+ description: Partial update a radio profile object.
parameters:
- in: query
name: format
@@ -149477,18 +131454,18 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this cluster.
+ description: A UUID string identifying this radio profile.
required: true
tags:
- - virtualization
+ - wireless
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedClusterRequest'
+ $ref: '#/components/schemas/PatchedRadioProfileRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedClusterRequest'
+ $ref: '#/components/schemas/PatchedRadioProfileRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -149497,14 +131474,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/Cluster'
+ $ref: '#/components/schemas/RadioProfile'
text/csv:
schema:
- $ref: '#/components/schemas/Cluster'
+ $ref: '#/components/schemas/RadioProfile'
description: ''
delete:
- operationId: virtualization_clusters_destroy
- description: Destroy a cluster object.
+ operationId: wireless_radio_profiles_destroy
+ description: Destroy a radio profile object.
parameters:
- in: query
name: format
@@ -149518,19 +131495,19 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this cluster.
+ description: A UUID string identifying this radio profile.
required: true
tags:
- - virtualization
+ - wireless
security:
- cookieAuth: []
- tokenAuth: []
responses:
'204':
description: No response body
- /virtualization/clusters/{id}/notes/:
+ /wireless/radio-profiles/{id}/notes/:
get:
- operationId: virtualization_clusters_notes_list
+ operationId: wireless_radio_profiles_notes_list
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -149545,7 +131522,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this cluster.
+ description: A UUID string identifying this radio profile.
required: true
- name: limit
required: false
@@ -149568,8 +131545,15 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- - virtualization
+ - wireless
security:
- cookieAuth: []
- tokenAuth: []
@@ -149584,7 +131568,7 @@ paths:
$ref: '#/components/schemas/PaginatedNoteList'
description: ''
post:
- operationId: virtualization_clusters_notes_create
+ operationId: wireless_radio_profiles_notes_create
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -149599,10 +131583,10 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this cluster.
+ description: A UUID string identifying this radio profile.
required: true
tags:
- - virtualization
+ - wireless
requestBody:
content:
application/json:
@@ -149625,110 +131609,11 @@ paths:
schema:
$ref: '#/components/schemas/Note'
description: ''
- /virtualization/interfaces/:
+ /wireless/supported-data-rates/:
get:
- operationId: virtualization_interfaces_list
- description: Retrieve a list of VM interface objects.
+ operationId: wireless_supported_data_rates_list
+ description: Retrieve a list of supported data rate objects.
parameters:
- - in: query
- name: bridge
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: bridge__isnull
- schema:
- type: boolean
- description: Bridge interface (name or ID) is null
- - in: query
- name: bridge__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: bridged_interfaces
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: bridged_interfaces__isnull
- schema:
- type: boolean
- description: Bridged interfaces (name or ID) is null
- - in: query
- name: bridged_interfaces__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: child_interfaces
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: child_interfaces__isnull
- schema:
- type: boolean
- description: Child interfaces (name or ID) is null
- - in: query
- name: child_interfaces__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: cluster
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: cluster__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: cluster_id
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Cluster (ID) - Deprecated (use cluster filter)
- explode: true
- style: form
- - in: query
- name: cluster_id__n
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude Cluster (ID) - Deprecated (use cluster filter)
- explode: true
- style: form
- in: query
name: contacts
schema:
@@ -149744,28 +131629,6 @@ paths:
description: Contacts (name or ID) is null
- in: query
name: contacts__n
- schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
- - in: query
- name: description
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: description__ic
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: description__ie
schema:
type: array
items:
@@ -149773,87 +131636,65 @@ paths:
explode: true
style: form
- in: query
- name: description__iew
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: description__ire
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: description__isw
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: description__n
+ name: created
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: description__nic
+ name: created__gt
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: description__nie
+ name: created__gte
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: description__niew
+ name: created__isnull
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
- in: query
- name: description__nire
+ name: created__lt
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: description__nisw
+ name: created__lte
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: description__nre
+ name: created__n
schema:
type: array
items:
type: string
+ format: date-time
explode: true
style: form
- in: query
- name: description__re
+ name: dynamic_groups
schema:
type: array
items:
@@ -149861,23 +131702,13 @@ paths:
explode: true
style: form
- in: query
- name: dynamic_groups
+ name: dynamic_groups__n
schema:
type: array
items:
type: string
explode: true
style: form
- - in: query
- name: dynamic_groups__n
- schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
- - in: query
- name: enabled
- schema:
- type: boolean
- in: query
name: format
schema:
@@ -149886,25 +131717,10 @@ paths:
- csv
- json
- in: query
- name: has_bridged_interfaces
- schema:
- type: boolean
- description: Has Bridged Interfaces
- - in: query
- name: has_child_interfaces
- schema:
- type: boolean
- description: Has child interfaces
- - in: query
- name: has_ip_addresses
- schema:
- type: boolean
- description: Has IP addresses
- - in: query
- name: has_tagged_vlans
+ name: has_radio_profiles
schema:
type: boolean
- description: Has Tagged VLANs
+ description: Has radio profiles
- in: query
name: id
schema:
@@ -149916,51 +131732,6 @@ paths:
style: form
description: Unique object identifier, either a UUID primary key or a composite
key.
- - in: query
- name: id__ic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ie
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__iew
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__ire
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__isw
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- in: query
name: id__n
schema:
@@ -149971,75 +131742,61 @@ paths:
explode: true
style: form
- in: query
- name: id__nic
- schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
- - in: query
- name: id__nie
+ name: last_updated
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__niew
+ name: last_updated__gt
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__nire
+ name: last_updated__gte
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__nisw
+ name: last_updated__isnull
schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
+ type: boolean
- in: query
- name: id__nre
+ name: last_updated__lt
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: id__re
+ name: last_updated__lte
schema:
type: array
items:
type: string
- format: uuid
+ format: date-time
explode: true
style: form
- in: query
- name: ip_addresses
+ name: last_updated__n
schema:
type: array
items:
type: string
- description: IP addresses (address or ID)
+ format: date-time
explode: true
style: form
- name: limit
@@ -150049,221 +131806,70 @@ paths:
schema:
type: integer
- in: query
- name: mac_address
- schema:
- type: array
- items:
- type: string
- description: MAC address
- explode: true
- style: form
- - in: query
- name: mac_address__ic
- schema:
- type: array
- items:
- type: string
- description: MAC address contains
- explode: true
- style: form
- - in: query
- name: mac_address__ie
- schema:
- type: array
- items:
- type: string
- description: MAC address
- explode: true
- style: form
- - in: query
- name: mac_address__iew
- schema:
- type: array
- items:
- type: string
- description: MAC address ends with
- explode: true
- style: form
- - in: query
- name: mac_address__ire
- schema:
- type: array
- items:
- type: string
- description: MAC address matches regex
- explode: true
- style: form
- - in: query
- name: mac_address__isw
- schema:
- type: array
- items:
- type: string
- description: MAC address starts with
- explode: true
- style: form
- - in: query
- name: mac_address__n
- schema:
- type: array
- items:
- type: string
- description: Exclude MAC address
- explode: true
- style: form
- - in: query
- name: mac_address__nic
- schema:
- type: array
- items:
- type: string
- description: Exclude MAC address contains
- explode: true
- style: form
- - in: query
- name: mac_address__nie
- schema:
- type: array
- items:
- type: string
- description: Exclude MAC address
- explode: true
- style: form
- - in: query
- name: mac_address__niew
- schema:
- type: array
- items:
- type: string
- description: Exclude MAC address ends with
- explode: true
- style: form
- - in: query
- name: mac_address__nire
- schema:
- type: array
- items:
- type: string
- description: Exclude MAC address matches regex
- explode: true
- style: form
- - in: query
- name: mac_address__nisw
- schema:
- type: array
- items:
- type: string
- description: Exclude MAC address starts with
- explode: true
- style: form
- - in: query
- name: mac_address__nre
- schema:
- type: array
- items:
- type: string
- description: Exclude MAC address matches regex
- explode: true
- style: form
- - in: query
- name: mac_address__re
- schema:
- type: array
- items:
- type: string
- description: MAC address matches regex
- explode: true
- style: form
- - in: query
- name: mode
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: mode__ic
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: mode__ie
+ name: mcs_index
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: mode__iew
+ name: mcs_index__gt
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: mode__ire
+ name: mcs_index__gte
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: mode__isw
+ name: mcs_index__isnull
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
- in: query
- name: mode__n
+ name: mcs_index__lt
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: mode__nic
+ name: mcs_index__lte
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- in: query
- name: mode__nie
+ name: mcs_index__n
schema:
type: array
items:
- type: string
+ type: integer
explode: true
style: form
- - in: query
- name: mode__niew
+ - name: offset
+ required: false
+ in: query
+ description: The initial index from which to return the results.
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: integer
- in: query
- name: mode__nire
+ name: q
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: string
+ description: Search
- in: query
- name: mode__nisw
+ name: radio_profiles
schema:
type: array
items:
@@ -150271,15 +131877,12 @@ paths:
explode: true
style: form
- in: query
- name: mode__nre
+ name: radio_profiles__isnull
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
+ description: Radio Profile (name or ID) is null
- in: query
- name: mode__re
+ name: radio_profiles__n
schema:
type: array
items:
@@ -150287,7 +131890,7 @@ paths:
explode: true
style: form
- in: query
- name: mtu
+ name: rate
schema:
type: array
items:
@@ -150295,7 +131898,7 @@ paths:
explode: true
style: form
- in: query
- name: mtu__gt
+ name: rate__gt
schema:
type: array
items:
@@ -150303,7 +131906,7 @@ paths:
explode: true
style: form
- in: query
- name: mtu__gte
+ name: rate__gte
schema:
type: array
items:
@@ -150311,11 +131914,7 @@ paths:
explode: true
style: form
- in: query
- name: mtu__isnull
- schema:
- type: boolean
- - in: query
- name: mtu__lt
+ name: rate__lt
schema:
type: array
items:
@@ -150323,7 +131922,7 @@ paths:
explode: true
style: form
- in: query
- name: mtu__lte
+ name: rate__lte
schema:
type: array
items:
@@ -150331,63 +131930,21 @@ paths:
explode: true
style: form
- in: query
- name: mtu__n
+ name: rate__n
schema:
type: array
items:
type: integer
explode: true
style: form
- - in: query
- name: name
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__ic
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__ie
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__iew
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__ire
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: name__isw
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: string
- in: query
- name: name__n
+ name: standard
schema:
type: array
items:
@@ -150395,7 +131952,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nic
+ name: standard__ic
schema:
type: array
items:
@@ -150403,7 +131960,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nie
+ name: standard__ie
schema:
type: array
items:
@@ -150411,7 +131968,7 @@ paths:
explode: true
style: form
- in: query
- name: name__niew
+ name: standard__iew
schema:
type: array
items:
@@ -150419,7 +131976,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nire
+ name: standard__ire
schema:
type: array
items:
@@ -150427,7 +131984,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nisw
+ name: standard__isw
schema:
type: array
items:
@@ -150435,7 +131992,7 @@ paths:
explode: true
style: form
- in: query
- name: name__nre
+ name: standard__n
schema:
type: array
items:
@@ -150443,21 +132000,15 @@ paths:
explode: true
style: form
- in: query
- name: name__re
+ name: standard__nic
schema:
type: array
items:
type: string
explode: true
style: form
- - name: offset
- required: false
- in: query
- description: The initial index from which to return the results.
- schema:
- type: integer
- in: query
- name: parent_interface
+ name: standard__nie
schema:
type: array
items:
@@ -150465,12 +132016,7 @@ paths:
explode: true
style: form
- in: query
- name: parent_interface__isnull
- schema:
- type: boolean
- description: Parent interface (name or ID) is null
- - in: query
- name: parent_interface__n
+ name: standard__niew
schema:
type: array
items:
@@ -150478,12 +132024,7 @@ paths:
explode: true
style: form
- in: query
- name: q
- schema:
- type: string
- description: Search
- - in: query
- name: role
+ name: standard__nire
schema:
type: array
items:
@@ -150491,24 +132032,7 @@ paths:
explode: true
style: form
- in: query
- name: role__isnull
- schema:
- type: boolean
- description: Role (name or ID) is null
- - in: query
- name: role__n
- schema:
- type: string
- format: uuid
- description: Exclude Role (name or ID)
- - name: sort
- required: false
- in: query
- description: Which field to use when ordering the results.
- schema:
- type: string
- - in: query
- name: status
+ name: standard__nisw
schema:
type: array
items:
@@ -150516,13 +132040,7 @@ paths:
explode: true
style: form
- in: query
- name: status__n
- schema:
- type: string
- format: uuid
- description: Exclude Status (name or ID)
- - in: query
- name: tagged_vlans
+ name: standard__nre
schema:
type: array
items:
@@ -150530,7 +132048,7 @@ paths:
explode: true
style: form
- in: query
- name: tagged_vlans__n
+ name: standard__re
schema:
type: array
items:
@@ -150572,66 +132090,10 @@ paths:
description: Teams (name or ID) is null
- in: query
name: teams__n
- schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
- - in: query
- name: untagged_vlan
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: untagged_vlan__isnull
- schema:
- type: boolean
- description: Untagged VLAN (VID or ID) is null
- - in: query
- name: untagged_vlan__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: virtual_machine
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: virtual_machine__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: virtual_machine_id
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Virtual machine (ID) - Deprecated (use virtual_machine filter)
- explode: true
- style: form
- - in: query
- name: virtual_machine_id__n
schema:
type: array
items:
type: string
- format: uuid
- description: Exclude Virtual machine (ID) - Deprecated (use virtual_machine
- filter)
explode: true
style: form
- in: query
@@ -150643,8 +132105,15 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- - virtualization
+ - wireless
security:
- cookieAuth: []
- tokenAuth: []
@@ -150653,14 +132122,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedVMInterfaceList'
+ $ref: '#/components/schemas/PaginatedSupportedDataRateList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedVMInterfaceList'
+ $ref: '#/components/schemas/PaginatedSupportedDataRateList'
description: ''
post:
- operationId: virtualization_interfaces_create
- description: Create one or more VM interface objects.
+ operationId: wireless_supported_data_rates_create
+ description: Create one or more supported data rate objects.
parameters:
- in: query
name: format
@@ -150670,15 +132139,15 @@ paths:
- csv
- json
tags:
- - virtualization
+ - wireless
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableVMInterfaceRequest'
+ $ref: '#/components/schemas/SupportedDataRateRequest'
text/csv:
schema:
- $ref: '#/components/schemas/WritableVMInterfaceRequest'
+ $ref: '#/components/schemas/SupportedDataRateRequest'
required: true
security:
- cookieAuth: []
@@ -150688,14 +132157,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VMInterface'
+ $ref: '#/components/schemas/SupportedDataRate'
text/csv:
schema:
- $ref: '#/components/schemas/VMInterface'
+ $ref: '#/components/schemas/SupportedDataRate'
description: ''
put:
- operationId: virtualization_interfaces_bulk_update
- description: Update a list of VM interface objects.
+ operationId: wireless_supported_data_rates_bulk_update
+ description: Update a list of supported data rate objects.
parameters:
- in: query
name: format
@@ -150705,19 +132174,19 @@ paths:
- csv
- json
tags:
- - virtualization
+ - wireless
requestBody:
content:
application/json:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableVMInterfaceRequest'
+ $ref: '#/components/schemas/BulkWritableSupportedDataRateRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableVMInterfaceRequest'
+ $ref: '#/components/schemas/BulkWritableSupportedDataRateRequest'
required: true
security:
- cookieAuth: []
@@ -150729,16 +132198,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/VMInterface'
+ $ref: '#/components/schemas/SupportedDataRate'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/VMInterface'
+ $ref: '#/components/schemas/SupportedDataRate'
description: ''
patch:
- operationId: virtualization_interfaces_bulk_partial_update
- description: Partial update a list of VM interface objects.
+ operationId: wireless_supported_data_rates_bulk_partial_update
+ description: Partial update a list of supported data rate objects.
parameters:
- in: query
name: format
@@ -150748,19 +132217,19 @@ paths:
- csv
- json
tags:
- - virtualization
+ - wireless
requestBody:
content:
application/json:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableVMInterfaceRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableSupportedDataRateRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableVMInterfaceRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableSupportedDataRateRequest'
required: true
security:
- cookieAuth: []
@@ -150772,16 +132241,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/VMInterface'
+ $ref: '#/components/schemas/SupportedDataRate'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/VMInterface'
+ $ref: '#/components/schemas/SupportedDataRate'
description: ''
delete:
- operationId: virtualization_interfaces_bulk_destroy
- description: Destroy a list of VM interface objects.
+ operationId: wireless_supported_data_rates_bulk_destroy
+ description: Destroy a list of supported data rate objects.
parameters:
- in: query
name: format
@@ -150791,7 +132260,7 @@ paths:
- csv
- json
tags:
- - virtualization
+ - wireless
security:
- cookieAuth: []
- tokenAuth: []
@@ -150811,10 +132280,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /virtualization/interfaces/{id}/:
+ /wireless/supported-data-rates/{id}/:
get:
- operationId: virtualization_interfaces_retrieve
- description: Retrieve a VM interface object.
+ operationId: wireless_supported_data_rates_retrieve
+ description: Retrieve a supported data rate object.
parameters:
- in: query
name: format
@@ -150828,7 +132297,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this VM interface.
+ description: A UUID string identifying this supported data rate.
required: true
- in: query
name: depth
@@ -150839,8 +132308,15 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- - virtualization
+ - wireless
security:
- cookieAuth: []
- tokenAuth: []
@@ -150849,14 +132325,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VMInterface'
+ $ref: '#/components/schemas/SupportedDataRate'
text/csv:
schema:
- $ref: '#/components/schemas/VMInterface'
+ $ref: '#/components/schemas/SupportedDataRate'
description: ''
put:
- operationId: virtualization_interfaces_update
- description: Update a VM interface object.
+ operationId: wireless_supported_data_rates_update
+ description: Update a supported data rate object.
parameters:
- in: query
name: format
@@ -150870,18 +132346,18 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this VM interface.
+ description: A UUID string identifying this supported data rate.
required: true
tags:
- - virtualization
+ - wireless
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableVMInterfaceRequest'
+ $ref: '#/components/schemas/SupportedDataRateRequest'
text/csv:
schema:
- $ref: '#/components/schemas/WritableVMInterfaceRequest'
+ $ref: '#/components/schemas/SupportedDataRateRequest'
required: true
security:
- cookieAuth: []
@@ -150891,14 +132367,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VMInterface'
+ $ref: '#/components/schemas/SupportedDataRate'
text/csv:
schema:
- $ref: '#/components/schemas/VMInterface'
+ $ref: '#/components/schemas/SupportedDataRate'
description: ''
patch:
- operationId: virtualization_interfaces_partial_update
- description: Partial update a VM interface object.
+ operationId: wireless_supported_data_rates_partial_update
+ description: Partial update a supported data rate object.
parameters:
- in: query
name: format
@@ -150912,18 +132388,18 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this VM interface.
+ description: A UUID string identifying this supported data rate.
required: true
tags:
- - virtualization
+ - wireless
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedWritableVMInterfaceRequest'
+ $ref: '#/components/schemas/PatchedSupportedDataRateRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedWritableVMInterfaceRequest'
+ $ref: '#/components/schemas/PatchedSupportedDataRateRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -150932,14 +132408,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VMInterface'
+ $ref: '#/components/schemas/SupportedDataRate'
text/csv:
schema:
- $ref: '#/components/schemas/VMInterface'
+ $ref: '#/components/schemas/SupportedDataRate'
description: ''
delete:
- operationId: virtualization_interfaces_destroy
- description: Destroy a VM interface object.
+ operationId: wireless_supported_data_rates_destroy
+ description: Destroy a supported data rate object.
parameters:
- in: query
name: format
@@ -150953,19 +132429,19 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this VM interface.
+ description: A UUID string identifying this supported data rate.
required: true
tags:
- - virtualization
+ - wireless
security:
- cookieAuth: []
- tokenAuth: []
responses:
'204':
description: No response body
- /virtualization/interfaces/{id}/notes/:
+ /wireless/supported-data-rates/{id}/notes/:
get:
- operationId: virtualization_interfaces_notes_list
+ operationId: wireless_supported_data_rates_notes_list
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -150980,7 +132456,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this VM interface.
+ description: A UUID string identifying this supported data rate.
required: true
- name: limit
required: false
@@ -151003,8 +132479,15 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- - virtualization
+ - wireless
security:
- cookieAuth: []
- tokenAuth: []
@@ -151019,7 +132502,7 @@ paths:
$ref: '#/components/schemas/PaginatedNoteList'
description: ''
post:
- operationId: virtualization_interfaces_notes_create
+ operationId: wireless_supported_data_rates_notes_create
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -151034,10 +132517,10 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this VM interface.
+ description: A UUID string identifying this supported data rate.
required: true
tags:
- - virtualization
+ - wireless
requestBody:
content:
application/json:
@@ -151060,96 +132543,21 @@ paths:
schema:
$ref: '#/components/schemas/Note'
description: ''
- /virtualization/virtual-machines/:
+ /wireless/wireless-networks/:
get:
- operationId: virtualization_virtual_machines_list
- description: Retrieve a list of virtual machine objects.
+ operationId: wireless_wireless_networks_list
+ description: Retrieve a list of wireless network objects.
parameters:
- in: query
- name: cluster
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: cluster__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: cluster_group
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: cluster_group__isnull
- schema:
- type: boolean
- description: Cluster group (ID or name) is null
- - in: query
- name: cluster_group__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: cluster_group_id
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Cluster group (ID) - Deprecated (use cluster_group filter)
- explode: true
- style: form
- - in: query
- name: cluster_group_id__isnull
- schema:
- type: boolean
- description: Cluster group (ID) - Deprecated (use cluster_group filter) is
- null
- - in: query
- name: cluster_group_id__n
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Exclude Cluster group (ID) - Deprecated (use cluster_group filter)
- explode: true
- style: form
- - in: query
- name: cluster_id
- schema:
- type: array
- items:
- type: string
- format: uuid
- description: Cluster (ID) - Deprecated (use cluster filter)
- explode: true
- style: form
- - in: query
- name: cluster_id__n
+ name: authentication
schema:
type: array
items:
type: string
- format: uuid
- description: Exclude Cluster (ID) - Deprecated (use cluster filter)
explode: true
style: form
- in: query
- name: cluster_type
+ name: authentication__ic
schema:
type: array
items:
@@ -151157,7 +132565,7 @@ paths:
explode: true
style: form
- in: query
- name: cluster_type__n
+ name: authentication__ie
schema:
type: array
items:
@@ -151165,27 +132573,23 @@ paths:
explode: true
style: form
- in: query
- name: cluster_type_id
+ name: authentication__iew
schema:
type: array
items:
type: string
- format: uuid
- description: Cluster type (ID) - Deprecated (use cluster_type filter)
explode: true
style: form
- in: query
- name: cluster_type_id__n
+ name: authentication__ire
schema:
type: array
items:
type: string
- format: uuid
- description: Exclude Cluster type (ID) - Deprecated (use cluster_type filter)
explode: true
style: form
- in: query
- name: comments
+ name: authentication__isw
schema:
type: array
items:
@@ -151193,7 +132597,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__ic
+ name: authentication__n
schema:
type: array
items:
@@ -151201,7 +132605,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__ie
+ name: authentication__nic
schema:
type: array
items:
@@ -151209,7 +132613,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__iew
+ name: authentication__nie
schema:
type: array
items:
@@ -151217,7 +132621,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__ire
+ name: authentication__niew
schema:
type: array
items:
@@ -151225,7 +132629,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__isw
+ name: authentication__nire
schema:
type: array
items:
@@ -151233,7 +132637,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__n
+ name: authentication__nisw
schema:
type: array
items:
@@ -151241,7 +132645,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__nic
+ name: authentication__nre
schema:
type: array
items:
@@ -151249,7 +132653,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__nie
+ name: authentication__re
schema:
type: array
items:
@@ -151257,7 +132661,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__niew
+ name: contacts
schema:
type: array
items:
@@ -151265,15 +132669,12 @@ paths:
explode: true
style: form
- in: query
- name: comments__nire
+ name: contacts__isnull
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
+ description: Contacts (name or ID) is null
- in: query
- name: comments__nisw
+ name: contacts__n
schema:
type: array
items:
@@ -151281,7 +132682,7 @@ paths:
explode: true
style: form
- in: query
- name: comments__nre
+ name: controller_managed_device_groups
schema:
type: array
items:
@@ -151289,32 +132690,18 @@ paths:
explode: true
style: form
- in: query
- name: comments__re
+ name: controller_managed_device_groups__isnull
schema:
- type: array
- items:
- type: string
- explode: true
- style: form
+ type: boolean
+ description: Controller Managed Device Groups (name or ID) is null
- in: query
- name: contacts
+ name: controller_managed_device_groups__n
schema:
type: array
items:
type: string
explode: true
style: form
- - in: query
- name: contacts__isnull
- schema:
- type: boolean
- description: Contacts (name or ID) is null
- - in: query
- name: contacts__n
- schema:
- type: string
- format: uuid
- description: Exclude Contacts (name or ID)
- in: query
name: created
schema:
@@ -151374,59 +132761,47 @@ paths:
explode: true
style: form
- in: query
- name: disk
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: disk__gt
+ name: description
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: disk__gte
+ name: description__ic
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: disk__isnull
- schema:
- type: boolean
- - in: query
- name: disk__lt
+ name: description__ie
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: disk__lte
+ name: description__iew
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: disk__n
+ name: description__ire
schema:
type: array
items:
- type: integer
+ type: string
explode: true
style: form
- in: query
- name: dynamic_groups
+ name: description__isw
schema:
type: array
items:
@@ -151434,190 +132809,123 @@ paths:
explode: true
style: form
- in: query
- name: dynamic_groups__n
- schema:
- type: string
- format: uuid
- description: Exclude Dynamic groups (name or ID)
- - in: query
- name: format
- schema:
- type: string
- enum:
- - csv
- - json
- - in: query
- name: has_interfaces
- schema:
- type: boolean
- description: Has interfaces
- - in: query
- name: has_primary_ip
- schema:
- type: boolean
- description: Has a primary IP
- - in: query
- name: has_services
- schema:
- type: boolean
- description: Has services
- - in: query
- name: has_software_image_files
- schema:
- type: boolean
- description: Has software image files
- - in: query
- name: has_software_version
- schema:
- type: boolean
- description: Has software version
- - in: query
- name: id
+ name: description__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- description: Unique object identifier, either a UUID primary key or a composite
- key.
- in: query
- name: id__ic
+ name: description__nic
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ie
+ name: description__nie
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__iew
+ name: description__niew
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__ire
+ name: description__nire
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__isw
+ name: description__nisw
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__n
+ name: description__nre
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nic
+ name: description__re
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nie
+ name: dynamic_groups
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__niew
+ name: dynamic_groups__n
schema:
type: array
items:
type: string
- format: uuid
explode: true
style: form
- in: query
- name: id__nire
+ name: enabled
schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
+ type: boolean
- in: query
- name: id__nisw
+ name: format
schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
+ type: string
+ enum:
+ - csv
+ - json
- in: query
- name: id__nre
+ name: has_controller_managed_device_groups
schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
+ type: boolean
+ description: Has controller managed device groups
- in: query
- name: id__re
+ name: hidden
schema:
- type: array
- items:
- type: string
- format: uuid
- explode: true
- style: form
+ type: boolean
- in: query
- name: interfaces
+ name: id
schema:
type: array
items:
type: string
+ format: uuid
explode: true
style: form
+ description: Unique object identifier, either a UUID primary key or a composite
+ key.
- in: query
- name: interfaces__isnull
- schema:
- type: boolean
- description: Interfaces (name or ID) is null
- - in: query
- name: interfaces__n
+ name: id__n
schema:
type: array
items:
type: string
+ format: uuid
explode: true
style: form
- in: query
@@ -151685,74 +132993,7 @@ paths:
schema:
type: integer
- in: query
- name: local_config_context_data
- schema:
- type: boolean
- description: Has local config context data
- - in: query
- name: local_config_context_schema
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: local_config_context_schema__isnull
- schema:
- type: boolean
- description: Schema (ID or name) is null
- - in: query
- name: local_config_context_schema__n
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: local_config_context_schema_id
- schema:
- type: array
- items:
- type: string
- format: uuid
- nullable: true
- description: Schema (ID) - Deprecated (use local_context_schema filter)
- explode: true
- style: form
- - in: query
- name: local_config_context_schema_id__isnull
- schema:
- type: boolean
- description: Schema (ID) - Deprecated (use local_context_schema filter) is
- null
- - in: query
- name: local_config_context_schema_id__n
- schema:
- type: array
- items:
- type: string
- format: uuid
- nullable: true
- description: Exclude Schema (ID) - Deprecated (use local_context_schema filter)
- explode: true
- style: form
- - in: query
- name: location
- schema:
- type: array
- items:
- type: string
- explode: true
- style: form
- - in: query
- name: location__isnull
- schema:
- type: boolean
- description: Location (name or ID) is null
- - in: query
- name: location__n
+ name: mode
schema:
type: array
items:
@@ -151760,181 +133001,107 @@ paths:
explode: true
style: form
- in: query
- name: mac_address
- schema:
- type: array
- items:
- type: string
- description: MAC address
- explode: true
- style: form
- - in: query
- name: mac_address__ic
+ name: mode__ic
schema:
type: array
items:
type: string
- description: MAC address contains
explode: true
style: form
- in: query
- name: mac_address__ie
+ name: mode__ie
schema:
type: array
items:
type: string
- description: MAC address
explode: true
style: form
- in: query
- name: mac_address__iew
+ name: mode__iew
schema:
type: array
items:
type: string
- description: MAC address ends with
explode: true
style: form
- in: query
- name: mac_address__ire
+ name: mode__ire
schema:
type: array
items:
type: string
- description: MAC address matches regex
explode: true
style: form
- in: query
- name: mac_address__isw
+ name: mode__isw
schema:
type: array
items:
type: string
- description: MAC address starts with
explode: true
style: form
- in: query
- name: mac_address__n
+ name: mode__n
schema:
type: array
items:
type: string
- description: Exclude MAC address
explode: true
style: form
- in: query
- name: mac_address__nic
+ name: mode__nic
schema:
type: array
items:
type: string
- description: Exclude MAC address contains
explode: true
style: form
- in: query
- name: mac_address__nie
+ name: mode__nie
schema:
type: array
items:
type: string
- description: Exclude MAC address
explode: true
style: form
- in: query
- name: mac_address__niew
+ name: mode__niew
schema:
type: array
items:
type: string
- description: Exclude MAC address ends with
explode: true
style: form
- in: query
- name: mac_address__nire
+ name: mode__nire
schema:
type: array
items:
type: string
- description: Exclude MAC address matches regex
explode: true
style: form
- in: query
- name: mac_address__nisw
+ name: mode__nisw
schema:
type: array
items:
type: string
- description: Exclude MAC address starts with
explode: true
style: form
- in: query
- name: mac_address__nre
+ name: mode__nre
schema:
type: array
items:
type: string
- description: Exclude MAC address matches regex
explode: true
style: form
- in: query
- name: mac_address__re
+ name: mode__re
schema:
type: array
items:
type: string
- description: MAC address matches regex
- explode: true
- style: form
- - in: query
- name: memory
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: memory__gt
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: memory__gte
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: memory__isnull
- schema:
- type: boolean
- - in: query
- name: memory__lt
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: memory__lte
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: memory__n
- schema:
- type: array
- items:
- type: integer
explode: true
style: form
- in: query
@@ -152056,7 +133223,12 @@ paths:
schema:
type: integer
- in: query
- name: platform
+ name: q
+ schema:
+ type: string
+ description: Search
+ - in: query
+ name: secrets_group
schema:
type: array
items:
@@ -152064,70 +133236,58 @@ paths:
explode: true
style: form
- in: query
- name: platform__isnull
+ name: secrets_group__isnull
schema:
type: boolean
- description: Platform (ID or name) is null
+ description: Secrets group (name or ID) is null
- in: query
- name: platform__n
+ name: secrets_group__n
schema:
type: array
items:
type: string
explode: true
style: form
+ - name: sort
+ required: false
+ in: query
+ description: Which field to use when ordering the results.
+ schema:
+ type: string
- in: query
- name: platform_id
+ name: ssid
schema:
type: array
items:
type: string
- format: uuid
- nullable: true
- description: Platform (ID) - Deprecated (use platform filter)
explode: true
style: form
- in: query
- name: platform_id__isnull
- schema:
- type: boolean
- description: Platform (ID) - Deprecated (use platform filter) is null
- - in: query
- name: platform_id__n
+ name: ssid__ic
schema:
type: array
items:
type: string
- format: uuid
- nullable: true
- description: Exclude Platform (ID) - Deprecated (use platform filter)
explode: true
style: form
- in: query
- name: primary_ip4
+ name: ssid__ie
schema:
type: array
items:
type: string
- description: Primary IPv4 Address (address or ID)
explode: true
style: form
- in: query
- name: primary_ip6
+ name: ssid__iew
schema:
type: array
items:
type: string
- description: Primary IPv6 Address (address or ID)
explode: true
style: form
- in: query
- name: q
- schema:
- type: string
- description: Search
- - in: query
- name: role
+ name: ssid__ire
schema:
type: array
items:
@@ -152135,18 +133295,7 @@ paths:
explode: true
style: form
- in: query
- name: role__isnull
- schema:
- type: boolean
- description: Role (name or ID) is null
- - in: query
- name: role__n
- schema:
- type: string
- format: uuid
- description: Exclude Role (name or ID)
- - in: query
- name: services
+ name: ssid__isw
schema:
type: array
items:
@@ -152154,12 +133303,7 @@ paths:
explode: true
style: form
- in: query
- name: services__isnull
- schema:
- type: boolean
- description: Services (name or ID) is null
- - in: query
- name: services__n
+ name: ssid__n
schema:
type: array
items:
@@ -152167,7 +133311,7 @@ paths:
explode: true
style: form
- in: query
- name: software_image_files
+ name: ssid__nic
schema:
type: array
items:
@@ -152175,7 +133319,7 @@ paths:
explode: true
style: form
- in: query
- name: software_image_files__n
+ name: ssid__nie
schema:
type: array
items:
@@ -152183,7 +133327,7 @@ paths:
explode: true
style: form
- in: query
- name: software_version
+ name: ssid__niew
schema:
type: array
items:
@@ -152191,26 +133335,23 @@ paths:
explode: true
style: form
- in: query
- name: software_version__isnull
+ name: ssid__nire
schema:
- type: boolean
- description: Software version (version or ID) is null
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
- name: software_version__n
+ name: ssid__nisw
schema:
type: array
items:
type: string
explode: true
style: form
- - name: sort
- required: false
- in: query
- description: Which field to use when ordering the results.
- schema:
- type: string
- in: query
- name: status
+ name: ssid__nre
schema:
type: array
items:
@@ -152218,11 +133359,13 @@ paths:
explode: true
style: form
- in: query
- name: status__n
+ name: ssid__re
schema:
- type: string
- format: uuid
- description: Exclude Status (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: tags
schema:
@@ -152259,9 +133402,11 @@ paths:
- in: query
name: teams__n
schema:
- type: string
- format: uuid
- description: Exclude Teams (name or ID)
+ type: array
+ items:
+ type: string
+ explode: true
+ style: form
- in: query
name: tenant
schema:
@@ -152331,58 +133476,6 @@ paths:
description: Exclude Tenant (ID) (deprecated, use "tenant" filter instead)
explode: true
style: form
- - in: query
- name: vcpus
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: vcpus__gt
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: vcpus__gte
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: vcpus__isnull
- schema:
- type: boolean
- - in: query
- name: vcpus__lt
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: vcpus__lte
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- - in: query
- name: vcpus__n
- schema:
- type: array
- items:
- type: integer
- explode: true
- style: form
- in: query
name: depth
required: false
@@ -152392,8 +133485,15 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- - virtualization
+ - wireless
security:
- cookieAuth: []
- tokenAuth: []
@@ -152402,14 +133502,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedVirtualMachineList'
+ $ref: '#/components/schemas/PaginatedWirelessNetworkList'
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedVirtualMachineList'
+ $ref: '#/components/schemas/PaginatedWirelessNetworkList'
description: ''
post:
- operationId: virtualization_virtual_machines_create
- description: Create one or more virtual machine objects.
+ operationId: wireless_wireless_networks_create
+ description: Create one or more wireless network objects.
parameters:
- in: query
name: format
@@ -152419,15 +133519,15 @@ paths:
- csv
- json
tags:
- - virtualization
+ - wireless
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/VirtualMachineRequest'
+ $ref: '#/components/schemas/WirelessNetworkRequest'
text/csv:
schema:
- $ref: '#/components/schemas/VirtualMachineRequest'
+ $ref: '#/components/schemas/WirelessNetworkRequest'
required: true
security:
- cookieAuth: []
@@ -152437,14 +133537,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VirtualMachine'
+ $ref: '#/components/schemas/WirelessNetwork'
text/csv:
schema:
- $ref: '#/components/schemas/VirtualMachine'
+ $ref: '#/components/schemas/WirelessNetwork'
description: ''
put:
- operationId: virtualization_virtual_machines_bulk_update
- description: Update a list of virtual machine objects.
+ operationId: wireless_wireless_networks_bulk_update
+ description: Update a list of wireless network objects.
parameters:
- in: query
name: format
@@ -152454,19 +133554,19 @@ paths:
- csv
- json
tags:
- - virtualization
+ - wireless
requestBody:
content:
application/json:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableVirtualMachineRequest'
+ $ref: '#/components/schemas/BulkWritableWirelessNetworkRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/BulkWritableVirtualMachineRequest'
+ $ref: '#/components/schemas/BulkWritableWirelessNetworkRequest'
required: true
security:
- cookieAuth: []
@@ -152478,16 +133578,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/VirtualMachine'
+ $ref: '#/components/schemas/WirelessNetwork'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/VirtualMachine'
+ $ref: '#/components/schemas/WirelessNetwork'
description: ''
patch:
- operationId: virtualization_virtual_machines_bulk_partial_update
- description: Partial update a list of virtual machine objects.
+ operationId: wireless_wireless_networks_bulk_partial_update
+ description: Partial update a list of wireless network objects.
parameters:
- in: query
name: format
@@ -152497,19 +133597,19 @@ paths:
- csv
- json
tags:
- - virtualization
+ - wireless
requestBody:
content:
application/json:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableVirtualMachineRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableWirelessNetworkRequest'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/PatchedBulkWritableVirtualMachineRequest'
+ $ref: '#/components/schemas/PatchedBulkWritableWirelessNetworkRequest'
required: true
security:
- cookieAuth: []
@@ -152521,16 +133621,16 @@ paths:
schema:
type: array
items:
- $ref: '#/components/schemas/VirtualMachine'
+ $ref: '#/components/schemas/WirelessNetwork'
text/csv:
schema:
type: array
items:
- $ref: '#/components/schemas/VirtualMachine'
+ $ref: '#/components/schemas/WirelessNetwork'
description: ''
delete:
- operationId: virtualization_virtual_machines_bulk_destroy
- description: Destroy a list of virtual machine objects.
+ operationId: wireless_wireless_networks_bulk_destroy
+ description: Destroy a list of wireless network objects.
parameters:
- in: query
name: format
@@ -152540,7 +133640,7 @@ paths:
- csv
- json
tags:
- - virtualization
+ - wireless
security:
- cookieAuth: []
- tokenAuth: []
@@ -152560,10 +133660,10 @@ paths:
items:
$ref: '#/components/schemas/BulkOperationRequest'
required: true
- /virtualization/virtual-machines/{id}/:
+ /wireless/wireless-networks/{id}/:
get:
- operationId: virtualization_virtual_machines_retrieve
- description: Retrieve a virtual machine object.
+ operationId: wireless_wireless_networks_retrieve
+ description: Retrieve a wireless network object.
parameters:
- in: query
name: format
@@ -152577,7 +133677,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this virtual machine.
+ description: A UUID string identifying this wireless network.
required: true
- in: query
name: depth
@@ -152588,8 +133688,15 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- - virtualization
+ - wireless
security:
- cookieAuth: []
- tokenAuth: []
@@ -152598,14 +133705,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VirtualMachine'
+ $ref: '#/components/schemas/WirelessNetwork'
text/csv:
schema:
- $ref: '#/components/schemas/VirtualMachine'
+ $ref: '#/components/schemas/WirelessNetwork'
description: ''
put:
- operationId: virtualization_virtual_machines_update
- description: Update a virtual machine object.
+ operationId: wireless_wireless_networks_update
+ description: Update a wireless network object.
parameters:
- in: query
name: format
@@ -152619,18 +133726,18 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this virtual machine.
+ description: A UUID string identifying this wireless network.
required: true
tags:
- - virtualization
+ - wireless
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/VirtualMachineRequest'
+ $ref: '#/components/schemas/WirelessNetworkRequest'
text/csv:
schema:
- $ref: '#/components/schemas/VirtualMachineRequest'
+ $ref: '#/components/schemas/WirelessNetworkRequest'
required: true
security:
- cookieAuth: []
@@ -152640,14 +133747,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VirtualMachine'
+ $ref: '#/components/schemas/WirelessNetwork'
text/csv:
schema:
- $ref: '#/components/schemas/VirtualMachine'
+ $ref: '#/components/schemas/WirelessNetwork'
description: ''
patch:
- operationId: virtualization_virtual_machines_partial_update
- description: Partial update a virtual machine object.
+ operationId: wireless_wireless_networks_partial_update
+ description: Partial update a wireless network object.
parameters:
- in: query
name: format
@@ -152661,18 +133768,18 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this virtual machine.
+ description: A UUID string identifying this wireless network.
required: true
tags:
- - virtualization
+ - wireless
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedVirtualMachineRequest'
+ $ref: '#/components/schemas/PatchedWirelessNetworkRequest'
text/csv:
schema:
- $ref: '#/components/schemas/PatchedVirtualMachineRequest'
+ $ref: '#/components/schemas/PatchedWirelessNetworkRequest'
security:
- cookieAuth: []
- tokenAuth: []
@@ -152681,14 +133788,14 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VirtualMachine'
+ $ref: '#/components/schemas/WirelessNetwork'
text/csv:
schema:
- $ref: '#/components/schemas/VirtualMachine'
+ $ref: '#/components/schemas/WirelessNetwork'
description: ''
delete:
- operationId: virtualization_virtual_machines_destroy
- description: Destroy a virtual machine object.
+ operationId: wireless_wireless_networks_destroy
+ description: Destroy a wireless network object.
parameters:
- in: query
name: format
@@ -152702,19 +133809,19 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this virtual machine.
+ description: A UUID string identifying this wireless network.
required: true
tags:
- - virtualization
+ - wireless
security:
- cookieAuth: []
- tokenAuth: []
responses:
'204':
description: No response body
- /virtualization/virtual-machines/{id}/notes/:
+ /wireless/wireless-networks/{id}/notes/:
get:
- operationId: virtualization_virtual_machines_notes_list
+ operationId: wireless_wireless_networks_notes_list
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -152729,7 +133836,7 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this virtual machine.
+ description: A UUID string identifying this wireless network.
required: true
- name: limit
required: false
@@ -152752,8 +133859,15 @@ paths:
minimum: 0
maximum: 10
default: 1
+ - in: query
+ name: exclude_m2m
+ required: false
+ description: Exclude many-to-many fields from the response
+ schema:
+ type: boolean
+ default: false
tags:
- - virtualization
+ - wireless
security:
- cookieAuth: []
- tokenAuth: []
@@ -152768,7 +133882,7 @@ paths:
$ref: '#/components/schemas/PaginatedNoteList'
description: ''
post:
- operationId: virtualization_virtual_machines_notes_create
+ operationId: wireless_wireless_networks_notes_create
description: API methods for returning or creating notes on an object.
parameters:
- in: query
@@ -152783,10 +133897,10 @@ paths:
schema:
type: string
format: uuid
- description: A UUID string identifying this virtual machine.
+ description: A UUID string identifying this wireless network.
required: true
tags:
- - virtualization
+ - wireless
requestBody:
content:
application/json:
@@ -152823,6 +133937,17 @@ components:
- SNMP
- SSH
type: string
+ AuthenticationEnum:
+ enum:
+ - Open
+ - WPA2 Personal
+ - WPA2 Enterprise
+ - Enhanced Open
+ - WPA3 Personal
+ - WPA3 SAE
+ - WPA3 Enterprise
+ - WPA3 Enterprise 192Bit
+ type: string
AvailableIP:
type: object
description: |-
@@ -152858,6 +133983,12 @@ components:
BlankEnum:
enum:
- ''
+ BreakerPoleCountEnum:
+ type: integer
+ enum:
+ - 1
+ - 2
+ - 3
BulkOperationIntegerIDRequest:
type: object
description: As BulkOperationSerializer, but for models such as users.Group
@@ -153381,6 +134512,23 @@ components:
type: string
format: uri
nullable: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
custom_fields:
type: object
additionalProperties: {}
@@ -156182,23 +137330,6 @@ components:
id:
type: string
format: uuid
- teams:
- type: array
- items:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
name:
type: string
minLength: 1
@@ -156208,11 +137339,14 @@ components:
default: ''
maxLength: 255
email:
- type: string
- format: email
+ oneOf:
+ - type: string
+ maxLength: 254
+ format: email
+ - type: string
+ maxLength: 254
default: ''
title: E-mail
- maxLength: 254
address:
type: string
comments:
@@ -156323,9 +137457,86 @@ components:
type: string
readOnly: true
additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ teams:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
required:
- id
- name
+ BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest:
+ type: object
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ properties:
+ id:
+ type: string
+ format: uuid
+ controller_managed_device_group:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ radio_profile:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - controller_managed_device_group
+ - id
+ - radio_profile
BulkWritableControllerManagedDeviceGroupRequest:
type: object
description: |-
@@ -156336,11 +137547,19 @@ components:
id:
type: string
format: uuid
+ capabilities:
+ type: array
+ items:
+ $ref: '#/components/schemas/CapabilitiesEnum'
+ nullable: true
name:
type: string
minLength: 1
description: Name of the controller device group
maxLength: 255
+ description:
+ type: string
+ maxLength: 255
weight:
type: integer
maximum: 2147483647
@@ -156379,6 +137598,22 @@ components:
type: string
format: uri
description: Controller that manages the devices in this group
+ tenant:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
custom_fields:
type: object
additionalProperties: {}
@@ -156506,6 +137741,65 @@ components:
- controller
- id
- name
+ BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest:
+ type: object
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ properties:
+ id:
+ type: string
+ format: uuid
+ controller_managed_device_group:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ wireless_network:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ vlan:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ required:
+ - controller_managed_device_group
+ - id
+ - wireless_network
BulkWritableControllerRequest:
type: object
description: |-
@@ -156516,6 +137810,11 @@ components:
id:
type: string
format: uuid
+ capabilities:
+ type: array
+ items:
+ $ref: '#/components/schemas/CapabilitiesEnum'
+ nullable: true
name:
type: string
minLength: 1
@@ -157127,279 +138426,296 @@ components:
type: string
format: uri
required:
- - device
- - id
- - name
- BulkWritableDeviceBayTemplateRequest:
- type: object
- description: |-
- Base class to use for serializers based on OrganizationalModel or PrimaryModel.
-
- Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
- properties:
- id:
- type: string
- format: uuid
- name:
- type: string
- minLength: 1
- maxLength: 255
- label:
- type: string
- description: Physical label
- maxLength: 255
- description:
- type: string
- maxLength: 255
- device_type:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
- custom_fields:
- type: object
- additionalProperties: {}
- relationships:
- type: object
- additionalProperties:
- type: object
- required:
- - id
- - url
- - label
- - type
- properties:
- id:
- type: string
- format: uuid
- readOnly: true
- url:
- type: string
- format: uri
- readOnly: true
- label:
- type: string
- readOnly: true
- type:
- type: string
- readOnly: true
- example: one-to-many
- source:
- type: object
- properties:
- label:
- type: string
- readOnly: true
- object_type:
- type: string
- readOnly: true
- example: dcim.site
- objects:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- format: uuid
- url:
- type: string
- format: uri
- readOnly: true
- display:
- type: string
- readOnly: true
- additionalProperties: true
- destination:
- type: object
- properties:
- label:
- type: string
- readOnly: true
- object_type:
- type: string
- readOnly: true
- example: dcim.site
- objects:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- format: uuid
- url:
- type: string
- format: uri
- readOnly: true
- display:
- type: string
- readOnly: true
- additionalProperties: true
- peer:
- type: object
- properties:
- label:
- type: string
- readOnly: true
- object_type:
- type: string
- readOnly: true
- example: dcim.site
- objects:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- format: uuid
- url:
- type: string
- format: uri
- readOnly: true
- display:
- type: string
- readOnly: true
- additionalProperties: true
- required:
- - device_type
- - id
- - name
- BulkWritableDeviceFamilyRequest:
- type: object
- description: |-
- Base class to use for serializers based on OrganizationalModel or PrimaryModel.
-
- Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
- properties:
- id:
- type: string
- format: uuid
- name:
- type: string
- minLength: 1
- maxLength: 255
- description:
- type: string
- maxLength: 255
- custom_fields:
- type: object
- additionalProperties: {}
- relationships:
- type: object
- additionalProperties:
- type: object
- required:
- - id
- - url
- - label
- - type
- properties:
- id:
- type: string
- format: uuid
- readOnly: true
- url:
- type: string
- format: uri
- readOnly: true
- label:
- type: string
- readOnly: true
- type:
- type: string
- readOnly: true
- example: one-to-many
- source:
- type: object
- properties:
- label:
- type: string
- readOnly: true
- object_type:
- type: string
- readOnly: true
- example: dcim.site
- objects:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- format: uuid
- url:
- type: string
- format: uri
- readOnly: true
- display:
- type: string
- readOnly: true
- additionalProperties: true
- destination:
- type: object
- properties:
- label:
- type: string
- readOnly: true
- object_type:
- type: string
- readOnly: true
- example: dcim.site
- objects:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- format: uuid
- url:
- type: string
- format: uri
- readOnly: true
- display:
- type: string
- readOnly: true
- additionalProperties: true
- peer:
- type: object
- properties:
- label:
- type: string
- readOnly: true
- object_type:
- type: string
- readOnly: true
- example: dcim.site
- objects:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- format: uuid
- url:
- type: string
- format: uri
- readOnly: true
- display:
- type: string
- readOnly: true
- additionalProperties: true
- required:
+ - device
+ - id
+ - name
+ BulkWritableDeviceBayTemplateRequest:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ label:
+ type: string
+ description: Physical label
+ maxLength: 255
+ description:
+ type: string
+ maxLength: 255
+ device_type:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ required:
+ - device_type
+ - id
+ - name
+ BulkWritableDeviceFamilyRequest:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ description:
+ type: string
+ maxLength: 255
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
- id
- name
BulkWritableDeviceRedundancyGroupRequest:
@@ -157413,7 +138729,7 @@ components:
type: string
format: uuid
failover_strategy:
- default: null
+ default: ''
oneOf:
- $ref: '#/components/schemas/FailoverStrategyEnum'
- $ref: '#/components/schemas/BlankEnum'
@@ -158843,6 +140159,23 @@ components:
type: string
readOnly: true
additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
required:
- id
- name
@@ -159395,6 +140728,23 @@ components:
type: string
readOnly: true
additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
required:
- id
- name
@@ -159408,6 +140758,13 @@ components:
id:
type: string
format: uuid
+ owner_content_type:
+ type: string
+ nullable: true
+ owner_object_id:
+ type: string
+ format: uuid
+ nullable: true
name:
type: string
minLength: 1
@@ -160050,7 +141407,7 @@ components:
type:
$ref: '#/components/schemas/InterfaceTypeChoices'
mode:
- $ref: '#/components/schemas/ModeEnum'
+ $ref: '#/components/schemas/InterfaceModeChoices'
mac_address:
type: string
nullable: true
@@ -160538,6 +141895,49 @@ components:
- id
- name
- type
+ BulkWritableInterfaceVDCAssignmentRequest:
+ type: object
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ properties:
+ id:
+ type: string
+ format: uuid
+ virtual_device_context:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ interface:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - id
+ - interface
+ - virtual_device_context
BulkWritableInventoryItemRequest:
type: object
description: Add a `tree_depth` field to non-nested model serializers based
@@ -161005,6 +142405,211 @@ components:
- id
- job
- name
+ BulkWritableJobQueueAssignmentRequest:
+ type: object
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ properties:
+ id:
+ type: string
+ format: uuid
+ job:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ job_queue:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - id
+ - job
+ - job_queue
+ BulkWritableJobQueueRequest:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ description:
+ type: string
+ maxLength: 255
+ queue_type:
+ $ref: '#/components/schemas/QueueTypeEnum'
+ tenant:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ required:
+ - id
+ - name
+ - queue_type
BulkWritableJobRequest:
type: object
description: |-
@@ -161034,6 +142639,10 @@ components:
has_sensitive_variables:
type: boolean
description: Whether this job contains sensitive variables
+ is_singleton:
+ type: boolean
+ description: Whether this job should fail to run if another instance of
+ this job is already running
approval_required:
type: boolean
description: Whether the job requires approval from another user before
@@ -161057,9 +142666,6 @@ components:
minimum: 0
description: Maximum runtime in seconds before the job will be forcibly
terminated.
Set to 0 to use Nautobot system default
- task_queues:
- description: Comma separated list of task queues that this job can run on.
- A blank list will use the default queue
grouping_override:
type: boolean
description: If set, the configured grouping will remain even if the underlying
@@ -161096,10 +142702,33 @@ components:
type: boolean
description: If set, the configured value will remain even if the underlying
Job source code changes
- task_queues_override:
+ job_queues_override:
type: boolean
description: If set, the configured value will remain even if the underlying
Job source code changes
+ default_job_queue_override:
+ type: boolean
+ description: If set, the configured value will remain even if the underlying
+ Job source code changes
+ is_singleton_override:
+ type: boolean
+ description: If set, the configured value will remain even if the underlying
+ Job source code changes
+ default_job_queue:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
tags:
type: array
items:
@@ -161224,6 +142853,7 @@ components:
readOnly: true
additionalProperties: true
required:
+ - default_job_queue
- grouping
- id
- name
@@ -161281,9 +142911,9 @@ components:
maxLength: 255
contact_email:
type: string
- format: email
- title: Contact E-mail
maxLength: 254
+ title: Contact E-mail
+ format: email
comments:
type: string
parent:
@@ -161918,6 +143548,23 @@ components:
type: string
readOnly: true
additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
required:
- content_types
- data_type
@@ -161933,6 +143580,10 @@ components:
id:
type: string
format: uuid
+ requires_first_party_modules:
+ type: boolean
+ description: This bay will only accept modules from the same manufacturer
+ as the parent device or module
name:
type: string
minLength: 1
@@ -161980,6 +143631,228 @@ components:
type: string
format: uri
nullable: true
+ module_family:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ description: Module family that can be installed in this bay
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - id
+ - name
+ BulkWritableModuleBayTemplateRequest:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ position:
+ type: string
+ description: The position of the module bay within the device or module
+ maxLength: 255
+ label:
+ type: string
+ description: Physical label
+ maxLength: 255
+ description:
+ type: string
+ maxLength: 255
+ requires_first_party_modules:
+ type: boolean
+ description: This bay will only accept modules from the same manufacturer
+ as the parent device or module
+ device_type:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ module_type:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ module_family:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ description: Module family that can be installed in this bay. Leave blank
+ for no restriction.
custom_fields:
type: object
additionalProperties: {}
@@ -162086,32 +143959,12 @@ components:
type: string
readOnly: true
additionalProperties: true
- tags:
- type: array
- items:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
required:
- id
- name
- BulkWritableModuleBayTemplateRequest:
+ BulkWritableModuleFamilyRequest:
type: object
- description: |-
- Base class to use for serializers based on OrganizationalModel or PrimaryModel.
-
- Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ description: API serializer for ModuleFamily objects.
properties:
id:
type: string
@@ -162120,49 +143973,9 @@ components:
type: string
minLength: 1
maxLength: 255
- position:
- type: string
- description: The position of the module bay within the device or module
- maxLength: 255
- label:
- type: string
- description: Physical label
- maxLength: 255
description:
type: string
maxLength: 255
- device_type:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
- nullable: true
- module_type:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
- nullable: true
custom_fields:
type: object
additionalProperties: {}
@@ -162548,6 +144361,22 @@ components:
url:
type: string
format: uri
+ module_family:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
custom_fields:
type: object
additionalProperties: {}
@@ -163192,21 +145021,21 @@ components:
type:
allOf:
- $ref: '#/components/schemas/PowerFeedTypeChoices'
- default:
- value: primary
- label: Primary
+ default: primary
+ power_path:
+ $ref: '#/components/schemas/PowerPathEnum'
supply:
allOf:
- $ref: '#/components/schemas/SupplyEnum'
- default:
- value: ac
- label: AC
+ default: ac
phase:
allOf:
- $ref: '#/components/schemas/PhaseEnum'
- default:
- value: single-phase
- label: Single phase
+ default: single-phase
+ breaker_pole_count:
+ allOf:
+ - $ref: '#/components/schemas/BreakerPoleCountEnum'
+ nullable: true
name:
type: string
minLength: 1
@@ -163224,6 +145053,12 @@ components:
maximum: 100
minimum: 1
description: Maximum permissible draw (percentage)
+ breaker_position:
+ type: integer
+ maximum: 2147483647
+ minimum: 0
+ nullable: true
+ description: Starting circuit breaker position in panel
comments:
type: string
cable:
@@ -163257,6 +145092,24 @@ components:
url:
type: string
format: uri
+ description: Source panel that originates this power feed
+ destination_panel:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ description: Destination panel that receives power from this feed
rack:
type: object
properties:
@@ -163807,10 +145660,20 @@ components:
id:
type: string
format: uuid
+ panel_type:
+ $ref: '#/components/schemas/PanelTypeEnum'
+ power_path:
+ $ref: '#/components/schemas/PowerPathEnum'
name:
type: string
minLength: 1
maxLength: 255
+ breaker_position_count:
+ type: integer
+ maximum: 2147483647
+ minimum: 0
+ nullable: true
+ description: Total number of breaker positions in the panel (e.g., 42)
location:
type: object
properties:
@@ -164004,6 +145867,12 @@ components:
minimum: 1
nullable: true
description: Allocated power draw (watts)
+ power_factor:
+ type: string
+ format: decimal
+ pattern: ^-?\d{0,2}(?:\.\d{0,2})?$
+ description: Power factor (0.01-1.00) for converting between watts (W) and
+ volt-amps (VA). Defaults to 0.95.
device:
type: object
properties:
@@ -164197,6 +146066,12 @@ components:
minimum: 1
nullable: true
description: Allocated power draw (watts)
+ power_factor:
+ type: string
+ format: decimal
+ pattern: ^-?\d{0,2}(?:\.\d{0,2})?$
+ description: Power factor (0.01-1.00) for converting between watts (W) and
+ volt-amps (VA). Defaults to 0.95.
device_type:
type: object
properties:
@@ -164397,9 +146272,7 @@ components:
type:
allOf:
- $ref: '#/components/schemas/PrefixTypeChoices'
- default:
- value: network
- label: Network
+ default: network
location:
type: object
properties:
@@ -165311,7 +147184,7 @@ components:
maxLength: 255
u_height:
type: integer
- maximum: 100
+ maximum: 500
minimum: 1
title: Height (U)
description: Height in rack units
@@ -165732,6 +147605,196 @@ components:
- id
- rack
- units
+ BulkWritableRadioProfileRequest:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ channel_width:
+ type: array
+ items:
+ $ref: '#/components/schemas/ChannelWidthEnum'
+ allowed_channel_list:
+ type: array
+ items:
+ type: integer
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ frequency:
+ oneOf:
+ - $ref: '#/components/schemas/FrequencyEnum'
+ - $ref: '#/components/schemas/BlankEnum'
+ tx_power_min:
+ type: integer
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Transmit Power Minimum
+ tx_power_max:
+ type: integer
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Transmit Power Maximum
+ regulatory_domain:
+ $ref: '#/components/schemas/RegulatoryDomainEnum'
+ rx_power_min:
+ type: integer
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Receive Power Minimum
+ supported_data_rates:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - id
+ - name
+ - regulatory_domain
BulkWritableRearPortRequest:
type: object
description: |-
@@ -167118,6 +149181,22 @@ components:
url:
type: string
format: uri
+ external_integration:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
status:
type: object
properties:
@@ -167433,29 +149512,304 @@ components:
type: string
readOnly: true
additionalProperties: true
- tags:
- type: array
- items:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - id
+ - platform
+ - status
+ - version
+ BulkWritableStaticGroupAssociationRequest:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ associated_object_type:
+ type: string
+ associated_object_id:
+ type: string
+ format: uuid
+ dynamic_group:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ required:
+ - associated_object_id
+ - associated_object_type
+ - dynamic_group
+ - id
+ BulkWritableStatusRequest:
+ type: object
+ description: Serializer for `Status` objects.
+ properties:
+ id:
+ type: string
+ format: uuid
+ content_types:
+ type: array
+ items:
+ type: string
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ color:
+ type: string
+ minLength: 1
+ description: RGB color in hexadecimal (e.g. 00ff00)
+ pattern: ^[0-9a-f]{6}$
+ maxLength: 6
+ description:
+ type: string
+ maxLength: 255
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
required:
+ - content_types
- id
- - platform
- - status
- - version
- BulkWritableStaticGroupAssociationRequest:
+ - name
+ BulkWritableSupportedDataRateRequest:
type: object
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
@@ -167465,26 +149819,22 @@ components:
id:
type: string
format: uuid
- associated_object_type:
- type: string
- associated_object_id:
- type: string
- format: uuid
- dynamic_group:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
+ standard:
+ $ref: '#/components/schemas/StandardEnum'
+ rate:
+ type: integer
+ maximum: 2147483647
+ minimum: 0
+ title: Rate (Kbps)
+ mcs_index:
+ type: integer
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Modulation and Coding Scheme (MCS) Index
+ description: The Modulation and Coding Scheme (MCS) index is a value used
+ in wireless communications to define the modulation type, coding rate,
+ and number of spatial streams used in a transmission.
custom_fields:
type: object
additionalProperties: {}
@@ -167591,145 +149941,27 @@ components:
type: string
readOnly: true
additionalProperties: true
- required:
- - associated_object_id
- - associated_object_type
- - dynamic_group
- - id
- BulkWritableStatusRequest:
- type: object
- description: Serializer for `Status` objects.
- properties:
- id:
- type: string
- format: uuid
- content_types:
+ tags:
type: array
items:
- type: string
- name:
- type: string
- minLength: 1
- maxLength: 255
- color:
- type: string
- minLength: 1
- description: RGB color in hexadecimal (e.g. 00ff00)
- pattern: ^[0-9a-f]{6}$
- maxLength: 6
- description:
- type: string
- maxLength: 255
- custom_fields:
- type: object
- additionalProperties: {}
- relationships:
- type: object
- additionalProperties:
type: object
- required:
- - id
- - url
- - label
- - type
properties:
id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
type: string
- format: uuid
- readOnly: true
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
url:
type: string
format: uri
- readOnly: true
- label:
- type: string
- readOnly: true
- type:
- type: string
- readOnly: true
- example: one-to-many
- source:
- type: object
- properties:
- label:
- type: string
- readOnly: true
- object_type:
- type: string
- readOnly: true
- example: dcim.site
- objects:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- format: uuid
- url:
- type: string
- format: uri
- readOnly: true
- display:
- type: string
- readOnly: true
- additionalProperties: true
- destination:
- type: object
- properties:
- label:
- type: string
- readOnly: true
- object_type:
- type: string
- readOnly: true
- example: dcim.site
- objects:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- format: uuid
- url:
- type: string
- format: uri
- readOnly: true
- display:
- type: string
- readOnly: true
- additionalProperties: true
- peer:
- type: object
- properties:
- label:
- type: string
- readOnly: true
- object_type:
- type: string
- readOnly: true
- example: dcim.site
- objects:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- format: uuid
- url:
- type: string
- format: uri
- readOnly: true
- display:
- type: string
- readOnly: true
- additionalProperties: true
required:
- - content_types
- id
- - name
+ - rate
+ - standard
BulkWritableTagRequest:
type: object
description: |-
@@ -167877,6 +150109,27 @@ components:
id:
type: string
format: uuid
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ phone:
+ type: string
+ default: ''
+ maxLength: 255
+ email:
+ oneOf:
+ - type: string
+ maxLength: 254
+ format: email
+ - type: string
+ maxLength: 254
+ default: ''
+ title: E-mail
+ address:
+ type: string
+ comments:
+ type: string
contacts:
type: array
items:
@@ -167894,24 +150147,6 @@ components:
url:
type: string
format: uri
- name:
- type: string
- minLength: 1
- maxLength: 255
- phone:
- type: string
- default: ''
- maxLength: 255
- email:
- type: string
- format: email
- default: ''
- title: E-mail
- maxLength: 254
- address:
- type: string
- comments:
- type: string
custom_fields:
type: object
additionalProperties: {}
@@ -168018,6 +150253,23 @@ components:
type: string
readOnly: true
additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
required:
- id
- name
@@ -168388,9 +150640,9 @@ components:
maxLength: 150
email:
type: string
- format: email
- title: Email address
maxLength: 254
+ title: Email address
+ format: email
is_staff:
type: boolean
title: Staff status
@@ -168491,6 +150743,11 @@ components:
description:
type: string
maxLength: 255
+ range:
+ type: string
+ minLength: 1
+ description: Permitted VID range(s) as comma-separated list, default '1-4094'
+ if left blank.
location:
type: object
properties:
@@ -168507,6 +150764,23 @@ components:
type: string
format: uri
nullable: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
custom_fields:
type: object
additionalProperties: {}
@@ -168900,7 +151174,7 @@ components:
type: string
format: uuid
mode:
- $ref: '#/components/schemas/ModeEnum'
+ $ref: '#/components/schemas/InterfaceModeChoices'
mac_address:
type: string
nullable: true
@@ -169242,6 +151516,22 @@ components:
type: string
format: uri
nullable: true
+ virtual_device_context:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
required:
- id
- vrf
@@ -169518,7 +151808,6 @@ components:
required:
- id
- name
- - rd
BulkWritableVirtualChassisRequest:
type: object
description: |-
@@ -169678,6 +151967,254 @@ components:
required:
- id
- name
+ BulkWritableVirtualDeviceContextRequest:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ identifier:
+ type: integer
+ maximum: 32767
+ minimum: 0
+ nullable: true
+ description: 'Unique identifier provided by the platform being virtualized
+ (Example: Nexus VDC Identifier)'
+ description:
+ type: string
+ maxLength: 255
+ device:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ status:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ role:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ primary_ip4:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ title: Primary IPv4
+ primary_ip6:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ title: Primary IPv6
+ tenant:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - device
+ - id
+ - name
+ - status
BulkWritableVirtualMachineRequest:
type: object
description: |-
@@ -170022,84 +152559,274 @@ components:
type: string
readOnly: true
additionalProperties: true
- required:
- - cluster
- - id
- - name
- - status
- BulkWritableWebhookRequest:
- type: object
- description: |-
- Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
- validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
- properties:
- id:
- type: string
- format: uuid
- content_types:
+ required:
+ - cluster
+ - id
+ - name
+ - status
+ BulkWritableWebhookRequest:
+ type: object
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ properties:
+ id:
+ type: string
+ format: uuid
+ content_types:
+ type: array
+ items:
+ type: string
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ type_create:
+ type: boolean
+ description: Call this webhook when a matching object is created.
+ type_update:
+ type: boolean
+ description: Call this webhook when a matching object is updated.
+ type_delete:
+ type: boolean
+ description: Call this webhook when a matching object is deleted.
+ payload_url:
+ type: string
+ minLength: 1
+ title: URL
+ description: A POST will be sent to this URL when the webhook is called.
+ maxLength: 500
+ enabled:
+ type: boolean
+ http_method:
+ $ref: '#/components/schemas/HttpMethodEnum'
+ http_content_type:
+ type: string
+ minLength: 1
+ description: The complete list of official content types is available here.
+ maxLength: 255
+ additional_headers:
+ type: string
+ description: 'User-supplied HTTP headers to be sent with the request in
+ addition to the HTTP content type. Headers should be defined in the format
+ Name: Value. Jinja2 template processing is supported with
+ the same context as the request body (below).'
+ body_template:
+ type: string
+ description: 'Jinja2 template for a custom request body. If blank, a JSON
+ object representing the change will be included. Available context data
+ includes: event, model, timestamp,
+ username, request_id, and data.'
+ secret:
+ type: string
+ description: When provided, the request will include a 'X-Hook-Signature'
+ header containing a HMAC hex digest of the payload body using the secret
+ as the key. The secret is not transmitted in the request.
+ maxLength: 255
+ ssl_verification:
+ type: boolean
+ description: Enable SSL certificate verification. Disable with caution!
+ ca_file_path:
+ type: string
+ description: The specific CA certificate file to use for SSL verification.
+ Leave blank to use the system defaults.
+ maxLength: 4096
+ required:
+ - content_types
+ - id
+ - name
+ - payload_url
+ BulkWritableWirelessNetworkRequest:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ description:
+ type: string
+ maxLength: 255
+ ssid:
+ type: string
+ minLength: 1
+ maxLength: 255
+ mode:
+ $ref: '#/components/schemas/WirelessNetworkModeChoices'
+ enabled:
+ type: boolean
+ authentication:
+ $ref: '#/components/schemas/AuthenticationEnum'
+ hidden:
+ type: boolean
+ secrets_group:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ tenant:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ tags:
type: array
items:
- type: string
- name:
- type: string
- minLength: 1
- maxLength: 255
- type_create:
- type: boolean
- description: Call this webhook when a matching object is created.
- type_update:
- type: boolean
- description: Call this webhook when a matching object is updated.
- type_delete:
- type: boolean
- description: Call this webhook when a matching object is deleted.
- payload_url:
- type: string
- minLength: 1
- title: URL
- description: A POST will be sent to this URL when the webhook is called.
- maxLength: 500
- enabled:
- type: boolean
- http_method:
- $ref: '#/components/schemas/HttpMethodEnum'
- http_content_type:
- type: string
- minLength: 1
- description: The complete list of official content types is available here.
- maxLength: 255
- additional_headers:
- type: string
- description: 'User-supplied HTTP headers to be sent with the request in
- addition to the HTTP content type. Headers should be defined in the format
- Name: Value. Jinja2 template processing is supported with
- the same context as the request body (below).'
- body_template:
- type: string
- description: 'Jinja2 template for a custom request body. If blank, a JSON
- object representing the change will be included. Available context data
- includes: event, model, timestamp,
- username, request_id, and data.'
- secret:
- type: string
- description: When provided, the request will include a 'X-Hook-Signature'
- header containing a HMAC hex digest of the payload body using the secret
- as the key. The secret is not transmitted in the request.
- maxLength: 255
- ssl_verification:
- type: boolean
- description: Enable SSL certificate verification. Disable with caution!
- ca_file_path:
- type: string
- description: The specific CA certificate file to use for SSL verification.
- Leave blank to use the system defaults.
- maxLength: 4096
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
required:
- - content_types
+ - authentication
- id
+ - mode
- name
- - payload_url
+ - ssid
ButtonClassEnum:
enum:
- default
@@ -170120,7 +152847,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -170299,7 +153025,6 @@ components:
required:
- created
- display
- - id
- last_updated
- natural_slug
- notes_url
@@ -170408,6 +153133,17 @@ components:
- aoc
- power
- other
+ CapabilitiesEnum:
+ type: string
+ enum:
+ - wireless
+ ChannelWidthEnum:
+ type: integer
+ enum:
+ - 20
+ - 40
+ - 80
+ - 160
Circuit:
type: object
description: |-
@@ -170418,7 +153154,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -170592,7 +153327,6 @@ components:
- circuit_type
- created
- display
- - id
- last_updated
- natural_slug
- notes_url
@@ -170607,6 +153341,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
cid:
type: string
minLength: 1
@@ -170827,7 +153564,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -170985,6 +153721,23 @@ components:
format: date-time
readOnly: true
nullable: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
notes_url:
type: string
format: uri
@@ -171002,7 +153755,6 @@ components:
- connected_endpoint_type
- created
- display
- - id
- last_updated
- natural_slug
- notes_url
@@ -171016,6 +153768,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
term_side:
allOf:
- $ref: '#/components/schemas/TermSideEnum'
@@ -171107,6 +153862,23 @@ components:
type: string
format: uri
nullable: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
custom_fields:
type: object
additionalProperties: {}
@@ -171226,7 +153998,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -171274,7 +154045,6 @@ components:
- circuit_count
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -171288,6 +154058,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -171413,7 +154186,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -171512,7 +154284,6 @@ components:
- account_number
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -171527,6 +154298,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -171709,7 +154483,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -171838,7 +154611,6 @@ components:
- cloud_resource_type
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -171855,7 +154627,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -171906,7 +154677,6 @@ components:
required:
- cloud_network
- display
- - id
- natural_slug
- object_type
- prefix
@@ -171917,6 +154687,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
cloud_network:
type: object
properties:
@@ -171957,6 +154730,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
extra_config:
nullable: true
name:
@@ -172149,7 +154925,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -172234,7 +155009,6 @@ components:
- content_types
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -172249,6 +155023,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
content_types:
type: array
items:
@@ -172416,7 +155193,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -172530,7 +155306,6 @@ components:
- cloud_resource_type
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -172546,7 +155321,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -172598,7 +155372,6 @@ components:
- cloud_network
- cloud_service
- display
- - id
- natural_slug
- object_type
- url
@@ -172608,6 +155381,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
cloud_network:
type: object
properties:
@@ -172648,6 +155424,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
extra_config:
nullable: true
name:
@@ -172824,7 +155603,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -172955,7 +155733,6 @@ components:
- created
- device_count
- display
- - id
- last_updated
- name
- natural_slug
@@ -172973,7 +155750,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -173021,7 +155797,6 @@ components:
- cluster_count
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -173035,6 +155810,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -173157,6 +155935,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -173362,7 +156143,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -173410,7 +156190,6 @@ components:
- cluster_count
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -173424,6 +156203,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -173548,7 +156330,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -173621,7 +156402,6 @@ components:
- content_type
- created
- display
- - id
- label
- last_updated
- natural_slug
@@ -173635,6 +156415,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
content_type:
type: string
key:
@@ -173687,7 +156470,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -173935,7 +156717,6 @@ components:
- created
- data
- display
- - id
- last_updated
- name
- natural_slug
@@ -173956,6 +156737,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
owner_content_type:
type: string
nullable: true
@@ -174177,7 +156961,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -174237,7 +157020,6 @@ components:
- created
- data_schema
- display
- - id
- last_updated
- name
- natural_slug
@@ -174259,6 +157041,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
owner_content_type:
type: string
nullable: true
@@ -174395,7 +157180,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -174576,7 +157360,6 @@ components:
- connected_endpoint_type
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -174593,7 +157376,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -174712,7 +157494,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -174747,7 +157528,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -174928,7 +157708,6 @@ components:
- connected_endpoint_type
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -174945,7 +157724,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -175064,7 +157842,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -175081,7 +157858,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -175099,23 +157875,6 @@ components:
type: string
example: attribute1_attribute2
readOnly: true
- teams:
- type: array
- items:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
name:
type: string
maxLength: 255
@@ -175124,11 +157883,14 @@ components:
default: ''
maxLength: 255
email:
- type: string
- format: email
+ oneOf:
+ - type: string
+ maxLength: 254
+ format: email
+ - type: string
+ maxLength: 254
default: ''
title: E-mail
- maxLength: 254
address:
type: string
comments:
@@ -175150,10 +157912,43 @@ components:
custom_fields:
type: object
additionalProperties: {}
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ teams:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -175170,7 +157965,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -175277,7 +158071,6 @@ components:
- associated_object_type
- created
- display
- - id
- last_updated
- natural_slug
- notes_url
@@ -175292,6 +158085,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
associated_object_type:
type: string
associated_object_id:
@@ -175477,23 +158273,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
- teams:
- type: array
- items:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -175503,11 +158285,14 @@ components:
default: ''
maxLength: 255
email:
- type: string
- format: email
+ oneOf:
+ - type: string
+ maxLength: 254
+ format: email
+ - type: string
+ maxLength: 254
default: ''
title: E-mail
- maxLength: 254
address:
type: string
comments:
@@ -175618,6 +158403,40 @@ components:
type: string
readOnly: true
additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ teams:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
required:
- name
ContentType:
@@ -175681,7 +158500,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -175699,6 +158517,20 @@ components:
type: string
example: attribute1_attribute2
readOnly: true
+ capabilities:
+ type: array
+ items:
+ type: object
+ properties:
+ value:
+ type: string
+ enum:
+ - wireless
+ label:
+ type: string
+ enum:
+ - Wireless
+ nullable: true
name:
type: string
maxLength: 255
@@ -175868,7 +158700,6 @@ components:
required:
- created
- display
- - id
- last_updated
- location
- name
@@ -175887,7 +158718,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -175905,10 +158735,27 @@ components:
type: string
example: attribute1_attribute2
readOnly: true
+ capabilities:
+ type: array
+ items:
+ type: object
+ properties:
+ value:
+ type: string
+ enum:
+ - wireless
+ label:
+ type: string
+ enum:
+ - Wireless
+ nullable: true
name:
type: string
description: Name of the controller device group
maxLength: 255
+ description:
+ type: string
+ maxLength: 255
weight:
type: integer
maximum: 2147483647
@@ -175947,6 +158794,58 @@ components:
type: string
format: uri
description: Controller that manages the devices in this group
+ tenant:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ radio_profiles:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ wireless_networks:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ readOnly: true
created:
type: string
format: date-time
@@ -175985,13 +158884,119 @@ components:
- controller
- created
- display
- - id
- last_updated
- name
- natural_slug
- notes_url
- object_type
+ - radio_profiles
+ - url
+ - wireless_networks
+ ControllerManagedDeviceGroupRadioProfileAssignment:
+ type: object
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ properties:
+ id:
+ type: string
+ format: uuid
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ description: Human friendly display value
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ natural_slug:
+ type: string
+ example: attribute1_attribute2
+ readOnly: true
+ controller_managed_device_group:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ radio_profile:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - controller_managed_device_group
+ - display
+ - natural_slug
+ - object_type
+ - radio_profile
- url
+ ControllerManagedDeviceGroupRadioProfileAssignmentRequest:
+ type: object
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ properties:
+ id:
+ type: string
+ format: uuid
+ controller_managed_device_group:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ radio_profile:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - controller_managed_device_group
+ - radio_profile
ControllerManagedDeviceGroupRequest:
type: object
description: |-
@@ -175999,11 +159004,22 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
+ capabilities:
+ type: array
+ items:
+ $ref: '#/components/schemas/CapabilitiesEnum'
+ nullable: true
name:
type: string
minLength: 1
description: Name of the controller device group
maxLength: 255
+ description:
+ type: string
+ maxLength: 255
weight:
type: integer
maximum: 2147483647
@@ -176042,6 +159058,22 @@ components:
type: string
format: uri
description: Controller that manages the devices in this group
+ tenant:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
custom_fields:
type: object
additionalProperties: {}
@@ -176168,6 +159200,143 @@ components:
required:
- controller
- name
+ ControllerManagedDeviceGroupWirelessNetworkAssignment:
+ type: object
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ properties:
+ id:
+ type: string
+ format: uuid
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ description: Human friendly display value
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ natural_slug:
+ type: string
+ example: attribute1_attribute2
+ readOnly: true
+ controller_managed_device_group:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ wireless_network:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ vlan:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ required:
+ - controller_managed_device_group
+ - display
+ - natural_slug
+ - object_type
+ - url
+ - wireless_network
+ ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest:
+ type: object
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ properties:
+ id:
+ type: string
+ format: uuid
+ controller_managed_device_group:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ wireless_network:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ vlan:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ required:
+ - controller_managed_device_group
+ - wireless_network
ControllerRequest:
type: object
description: |-
@@ -176175,6 +159344,14 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
+ capabilities:
+ type: array
+ items:
+ $ref: '#/components/schemas/CapabilitiesEnum'
+ nullable: true
name:
type: string
minLength: 1
@@ -176444,7 +159621,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -176588,7 +159764,6 @@ components:
- content_types
- created
- display
- - id
- label
- last_updated
- natural_slug
@@ -176605,7 +159780,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -176660,7 +159834,6 @@ components:
- created
- custom_field
- display
- - id
- last_updated
- natural_slug
- object_type
@@ -176672,6 +159845,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
value:
type: string
minLength: 1
@@ -176720,7 +159896,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -176789,7 +159964,6 @@ components:
- content_type
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -176805,6 +159979,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
content_type:
type: string
name:
@@ -176872,7 +160049,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -177295,7 +160471,6 @@ components:
- created
- device_type
- display
- - id
- last_updated
- location
- natural_slug
@@ -177314,7 +160489,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -177411,7 +160585,6 @@ components:
- created
- device
- display
- - id
- last_updated
- name
- natural_slug
@@ -177425,6 +160598,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -177603,7 +160779,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -177667,7 +160842,6 @@ components:
- created
- device_type
- display
- - id
- last_updated
- name
- natural_slug
@@ -177681,6 +160855,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -177813,194 +160990,229 @@ components:
type: string
readOnly: true
additionalProperties: true
- required:
- - device_type
- - name
- DeviceFamily:
- type: object
- description: |-
- Base class to use for serializers based on OrganizationalModel or PrimaryModel.
-
- Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
- properties:
- id:
- type: string
- format: uuid
- readOnly: true
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- readOnly: true
- display:
- type: string
- readOnly: true
- description: Human friendly display value
- url:
- type: string
- format: uri
- readOnly: true
- natural_slug:
- type: string
- example: attribute1_attribute2
- readOnly: true
- device_type_count:
- type: integer
- readOnly: true
- name:
- type: string
- maxLength: 255
- description:
- type: string
- maxLength: 255
- created:
- type: string
- format: date-time
- readOnly: true
- nullable: true
- last_updated:
- type: string
- format: date-time
- readOnly: true
- nullable: true
- notes_url:
- type: string
- format: uri
- readOnly: true
- custom_fields:
- type: object
- additionalProperties: {}
- required:
- - created
- - device_type_count
- - display
- - id
- - last_updated
- - name
- - natural_slug
- - notes_url
- - object_type
- - url
- DeviceFamilyRequest:
- type: object
- description: |-
- Base class to use for serializers based on OrganizationalModel or PrimaryModel.
-
- Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
- properties:
- name:
- type: string
- minLength: 1
- maxLength: 255
- description:
- type: string
- maxLength: 255
- custom_fields:
- type: object
- additionalProperties: {}
- relationships:
- type: object
- additionalProperties:
+ required:
+ - device_type
+ - name
+ DeviceFamily:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ description: Human friendly display value
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ natural_slug:
+ type: string
+ example: attribute1_attribute2
+ readOnly: true
+ device_type_count:
+ type: integer
+ readOnly: true
+ name:
+ type: string
+ maxLength: 255
+ description:
+ type: string
+ maxLength: 255
+ created:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ last_updated:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ notes_url:
+ type: string
+ format: uri
+ readOnly: true
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - created
+ - device_type_count
+ - display
+ - last_updated
+ - name
+ - natural_slug
+ - notes_url
+ - object_type
+ - url
+ DeviceFamilyRequest:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ description:
+ type: string
+ maxLength: 255
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ tags:
+ type: array
+ items:
type: object
- required:
- - id
- - url
- - label
- - type
properties:
id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
type: string
- format: uuid
- readOnly: true
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
url:
type: string
format: uri
- readOnly: true
- label:
- type: string
- readOnly: true
- type:
- type: string
- readOnly: true
- example: one-to-many
- source:
- type: object
- properties:
- label:
- type: string
- readOnly: true
- object_type:
- type: string
- readOnly: true
- example: dcim.site
- objects:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- format: uuid
- url:
- type: string
- format: uri
- readOnly: true
- display:
- type: string
- readOnly: true
- additionalProperties: true
- destination:
- type: object
- properties:
- label:
- type: string
- readOnly: true
- object_type:
- type: string
- readOnly: true
- example: dcim.site
- objects:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- format: uuid
- url:
- type: string
- format: uri
- readOnly: true
- display:
- type: string
- readOnly: true
- additionalProperties: true
- peer:
- type: object
- properties:
- label:
- type: string
- readOnly: true
- object_type:
- type: string
- readOnly: true
- example: dcim.site
- objects:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- format: uuid
- url:
- type: string
- format: uri
- readOnly: true
- display:
- type: string
- readOnly: true
- additionalProperties: true
required:
- name
DeviceNAPALM:
@@ -178021,7 +161233,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -178054,7 +161265,9 @@ components:
- (unspecified)
- Active/Active
- Active/Passive
- default: null
+ default:
+ value: ''
+ label: (unspecified)
name:
type: string
maxLength: 255
@@ -178131,7 +161344,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -178149,7 +161361,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -178296,7 +161507,6 @@ components:
- created
- device_count
- display
- - id
- last_updated
- manufacturer
- model
@@ -178314,7 +161524,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -178376,7 +161585,6 @@ components:
- created
- device_type
- display
- - id
- last_updated
- natural_slug
- object_type
@@ -178388,6 +161596,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
device_type:
type: object
properties:
@@ -178431,7 +161642,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -178535,7 +161745,6 @@ components:
- content_type
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -178566,6 +161775,7 @@ components:
- $ref: '#/components/schemas/NestedController'
- $ref: '#/components/schemas/NestedModule'
- $ref: '#/components/schemas/NestedVRF'
+ - $ref: '#/components/schemas/NestedVirtualDeviceContext'
- $ref: '#/components/schemas/NestedCircuitTermination'
- $ref: '#/components/schemas/NestedCircuitType'
- $ref: '#/components/schemas/NestedProvider'
@@ -178603,6 +161813,7 @@ components:
- $ref: '#/components/schemas/NestedModuleBay'
- $ref: '#/components/schemas/NestedModuleBayTemplate'
- $ref: '#/components/schemas/NestedModuleType'
+ - $ref: '#/components/schemas/NestedModuleFamily'
- $ref: '#/components/schemas/NestedRIR'
- $ref: '#/components/schemas/NestedRouteTarget'
- $ref: '#/components/schemas/NestedVLANGroup'
@@ -178626,11 +161837,15 @@ components:
- $ref: '#/components/schemas/NestedContact'
- $ref: '#/components/schemas/NestedTeam'
- $ref: '#/components/schemas/NestedMetadataType'
+ - $ref: '#/components/schemas/NestedJobQueue'
- $ref: '#/components/schemas/NestedTenantGroup'
- $ref: '#/components/schemas/NestedTenant'
- $ref: '#/components/schemas/NestedCluster'
- $ref: '#/components/schemas/NestedClusterGroup'
- $ref: '#/components/schemas/NestedClusterType'
+ - $ref: '#/components/schemas/NestedWirelessNetwork'
+ - $ref: '#/components/schemas/NestedSupportedDataRate'
+ - $ref: '#/components/schemas/NestedRadioProfile'
discriminator:
propertyName: object_type
mapping:
@@ -178656,6 +161871,7 @@ components:
dcim.controller: '#/components/schemas/NestedController'
dcim.module: '#/components/schemas/NestedModule'
ipam.vrf: '#/components/schemas/NestedVRF'
+ dcim.virtualdevicecontext: '#/components/schemas/NestedVirtualDeviceContext'
circuits.circuittermination: '#/components/schemas/NestedCircuitTermination'
circuits.circuittype: '#/components/schemas/NestedCircuitType'
circuits.provider: '#/components/schemas/NestedProvider'
@@ -178693,6 +161909,7 @@ components:
dcim.modulebay: '#/components/schemas/NestedModuleBay'
dcim.modulebaytemplate: '#/components/schemas/NestedModuleBayTemplate'
dcim.moduletype: '#/components/schemas/NestedModuleType'
+ dcim.modulefamily: '#/components/schemas/NestedModuleFamily'
ipam.rir: '#/components/schemas/NestedRIR'
ipam.routetarget: '#/components/schemas/NestedRouteTarget'
ipam.vlangroup: '#/components/schemas/NestedVLANGroup'
@@ -178716,11 +161933,15 @@ components:
extras.contact: '#/components/schemas/NestedContact'
extras.team: '#/components/schemas/NestedTeam'
extras.metadatatype: '#/components/schemas/NestedMetadataType'
+ extras.jobqueue: '#/components/schemas/NestedJobQueue'
tenancy.tenantgroup: '#/components/schemas/NestedTenantGroup'
tenancy.tenant: '#/components/schemas/NestedTenant'
virtualization.cluster: '#/components/schemas/NestedCluster'
virtualization.clustergroup: '#/components/schemas/NestedClusterGroup'
virtualization.clustertype: '#/components/schemas/NestedClusterType'
+ wireless.wirelessnetwork: '#/components/schemas/NestedWirelessNetwork'
+ wireless.supporteddatarate: '#/components/schemas/NestedSupportedDataRate'
+ wireless.radioprofile: '#/components/schemas/NestedRadioProfile'
DynamicGroupMembership:
type: object
description: |-
@@ -178730,7 +161951,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -178787,7 +162007,6 @@ components:
required:
- display
- group
- - id
- natural_slug
- object_type
- operator
@@ -178800,6 +162019,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
operator:
$ref: '#/components/schemas/OperatorEnum'
weight:
@@ -178848,6 +162070,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
content_type:
type: string
name:
@@ -179011,7 +162236,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -179079,7 +162303,6 @@ components:
- content_type
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -179099,6 +162322,9 @@ components:
type: object
description: Extend ValidatedModelSerializer with a `relationships` field.
properties:
+ id:
+ type: string
+ format: uuid
content_type:
type: string
owner_content_type:
@@ -179245,7 +162471,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -179325,10 +162550,26 @@ components:
custom_fields:
type: object
additionalProperties: {}
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -179343,6 +162584,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -179496,6 +162740,23 @@ components:
type: string
readOnly: true
additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
required:
- name
- remote_url
@@ -179535,7 +162796,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -179578,7 +162838,6 @@ components:
nullable: true
required:
- display
- - id
- name
- natural_slug
- object_type
@@ -179590,6 +162849,12 @@ components:
- disabled
- loose
- exact
+ FrequencyEnum:
+ enum:
+ - 2.4GHz
+ - 5GHz
+ - 6GHz
+ type: string
FrontPort:
type: object
description: |-
@@ -179600,7 +162865,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -179848,7 +163112,6 @@ components:
- cable_peer_type
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -179867,7 +163130,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -180069,7 +163331,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -180085,7 +163346,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -180165,10 +163425,26 @@ components:
custom_fields:
type: object
additionalProperties: {}
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -180180,6 +163456,9 @@ components:
type: object
description: Git repositories defined as a data source.
properties:
+ id:
+ type: string
+ format: uuid
provided_contents:
type: array
items:
@@ -180334,9 +163613,41 @@ components:
type: string
readOnly: true
additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
required:
- name
- remote_url
+ GitRepositorySyncResponse:
+ type: object
+ description: Serializer representing responses from the GitRepository.sync()
+ POST endpoint.
+ properties:
+ message:
+ type: string
+ readOnly: true
+ job_result:
+ allOf:
+ - $ref: '#/components/schemas/JobResult'
+ readOnly: true
+ required:
+ - job_result
+ - message
GraphQLAPIRequest:
type: object
properties:
@@ -180357,7 +163668,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -180379,6 +163689,18 @@ components:
type: object
additionalProperties: {}
readOnly: true
+ owner_content_type:
+ type: string
+ nullable: true
+ owner:
+ allOf:
+ - $ref: '#/components/schemas/GraphQLQueryOwner'
+ nullable: true
+ readOnly: true
+ owner_object_id:
+ type: string
+ format: uuid
+ nullable: true
name:
type: string
maxLength: 255
@@ -180401,12 +163723,12 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
- notes_url
- object_type
+ - owner
- query
- url
- variables
@@ -180425,12 +163747,29 @@ components:
type: object
additionalProperties: {}
default: {}
+ GraphQLQueryOwner:
+ oneOf:
+ - $ref: '#/components/schemas/NestedGitRepository'
+ discriminator:
+ propertyName: object_type
+ mapping:
+ extras.gitrepository: '#/components/schemas/NestedGitRepository'
GraphQLQueryRequest:
type: object
description: |-
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
+ owner_content_type:
+ type: string
+ nullable: true
+ owner_object_id:
+ type: string
+ format: uuid
+ nullable: true
name:
type: string
minLength: 1
@@ -180529,7 +163868,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -180746,7 +164084,6 @@ components:
- created
- display
- host
- - id
- interfaces
- ip_version
- last_updated
@@ -180765,6 +164102,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
address:
type: string
minLength: 1
@@ -181011,7 +164351,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -181099,7 +164438,6 @@ components:
nullable: true
required:
- display
- - id
- ip_address
- natural_slug
- object_type
@@ -181110,6 +164448,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
is_source:
type: boolean
description: Is source address on interface
@@ -181191,6 +164532,9 @@ components:
description: Input serializer for POST to /api/ipam/prefixes//available-ips/,
i.e. allocating addresses from a prefix.
properties:
+ id:
+ type: string
+ format: uuid
status:
type: object
properties:
@@ -181400,7 +164744,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -181445,7 +164788,6 @@ components:
- content_type
- created
- display
- - id
- image
- image_height
- image_width
@@ -181459,6 +164801,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
content_type:
type: string
object_id:
@@ -181494,7 +164839,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -181583,6 +164927,9 @@ components:
- 400gbase-x-cfp8
- 800gbase-x-qsfpdd
- 800gbase-x-osfp
+ - 800gbase-x-osfp-xd
+ - 1600gbase-x-osfp
+ - 1600gbase-x-osfp-xd
- 1000base-kx
- 10gbase-kr
- 10gbase-kx4
@@ -181720,6 +165067,9 @@ components:
- CPF8 (400GE)
- QSFP-DD (800GE)
- OSFP (800GE)
+ - OSFP-XD (800GE)
+ - OSFP (1600GE)
+ - OSFP-XD (1600GE)
- 1000BASE-KX (1GE)
- 10GBASE-KR (10GE)
- 10GBASE-KX4 (10GE)
@@ -182098,7 +165448,6 @@ components:
- connected_endpoint_type
- created
- display
- - id
- ip_address_count
- ip_addresses
- last_updated
@@ -182118,7 +165467,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -182152,11 +165500,16 @@ components:
- connected_endpoint_reachable
- created
- display
- - id
- interface_a
- interface_b
- last_updated
- object_type
+ InterfaceModeChoices:
+ type: string
+ enum:
+ - access
+ - tagged
+ - tagged-all
InterfaceRedundancyGroup:
type: object
description: InterfaceRedundancyGroup Serializer.
@@ -182164,7 +165517,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -182309,7 +165661,6 @@ components:
required:
- created
- display
- - id
- interfaces
- last_updated
- name
@@ -182326,7 +165677,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -182391,7 +165741,6 @@ components:
required:
- created
- display
- - id
- interface
- interface_redundancy_group
- last_updated
@@ -182403,6 +165752,9 @@ components:
type: object
description: InterfaceRedundancyGroupAssociation Serializer.
properties:
+ id:
+ type: string
+ format: uuid
priority:
type: integer
maximum: 32767
@@ -182458,7 +165810,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -182529,6 +165880,9 @@ components:
- 400gbase-x-cfp8
- 800gbase-x-qsfpdd
- 800gbase-x-osfp
+ - 800gbase-x-osfp-xd
+ - 1600gbase-x-osfp
+ - 1600gbase-x-osfp-xd
- 1000base-kx
- 10gbase-kr
- 10gbase-kx4
@@ -182666,6 +166020,9 @@ components:
- CPF8 (400GE)
- QSFP-DD (800GE)
- OSFP (800GE)
+ - OSFP-XD (800GE)
+ - OSFP (1600GE)
+ - OSFP-XD (1600GE)
- 1000BASE-KX (1GE)
- 10GBASE-KR (10GE)
- 10GBASE-KX4 (10GE)
@@ -182818,7 +166175,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -182872,6 +166228,9 @@ components:
- 400gbase-x-cfp8
- 800gbase-x-qsfpdd
- 800gbase-x-osfp
+ - 800gbase-x-osfp-xd
+ - 1600gbase-x-osfp
+ - 1600gbase-x-osfp-xd
- 1000base-kx
- 10gbase-kr
- 10gbase-kx4
@@ -182963,6 +166322,111 @@ components:
- extreme-summitstack-256
- extreme-summitstack-512
- other
+ InterfaceVDCAssignment:
+ type: object
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ properties:
+ id:
+ type: string
+ format: uuid
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ description: Human friendly display value
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ natural_slug:
+ type: string
+ example: attribute1_attribute2
+ readOnly: true
+ virtual_device_context:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ interface:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - display
+ - interface
+ - natural_slug
+ - object_type
+ - url
+ - virtual_device_context
+ InterfaceVDCAssignmentRequest:
+ type: object
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ properties:
+ id:
+ type: string
+ format: uuid
+ virtual_device_context:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ interface:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - interface
+ - virtual_device_context
InventoryItem:
type: object
description: Add a `tree_depth` field to non-nested model serializers based
@@ -182971,7 +166435,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -183141,7 +166604,6 @@ components:
- created
- device
- display
- - id
- last_updated
- name
- natural_slug
@@ -183154,6 +166616,9 @@ components:
description: Add a `tree_depth` field to non-nested model serializers based
on django-tree-queries.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -183401,7 +166866,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -183419,6 +166883,11 @@ components:
type: string
example: attribute1_attribute2
readOnly: true
+ task_queues:
+ readOnly: true
+ task_queues_override:
+ type: boolean
+ readOnly: true
module_name:
type: string
readOnly: true
@@ -183457,6 +166926,10 @@ components:
has_sensitive_variables:
type: boolean
description: Whether this job contains sensitive variables
+ is_singleton:
+ type: boolean
+ description: Whether this job should fail to run if another instance of
+ this job is already running
approval_required:
type: boolean
description: Whether the job requires approval from another user before
@@ -183484,9 +166957,6 @@ components:
minimum: 0
description: Maximum runtime in seconds before the job will be forcibly
terminated.
Set to 0 to use Nautobot system default
- task_queues:
- description: Comma separated list of task queues that this job can run on.
- A blank list will use the default queue
supports_dryrun:
type: boolean
readOnly: true
@@ -183528,10 +166998,53 @@ components:
type: boolean
description: If set, the configured value will remain even if the underlying
Job source code changes
- task_queues_override:
+ job_queues_override:
+ type: boolean
+ description: If set, the configured value will remain even if the underlying
+ Job source code changes
+ default_job_queue_override:
+ type: boolean
+ description: If set, the configured value will remain even if the underlying
+ Job source code changes
+ is_singleton_override:
type: boolean
description: If set, the configured value will remain even if the underlying
Job source code changes
+ default_job_queue:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ job_queues:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ title: Job Queues
+ readOnly: true
+ description: The job queues that this job can be run on
created:
type: string
format: date-time
@@ -183568,13 +167081,14 @@ components:
additionalProperties: {}
required:
- created
+ - default_job_queue
- display
- grouping
- - id
- installed
- is_job_button_receiver
- is_job_hook_receiver
- job_class_name
+ - job_queues
- last_updated
- module_name
- name
@@ -183583,6 +167097,8 @@ components:
- object_type
- read_only
- supports_dryrun
+ - task_queues
+ - task_queues_override
- url
JobButton:
type: object
@@ -183593,7 +167109,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -183677,7 +167192,6 @@ components:
- content_types
- created
- display
- - id
- job
- last_updated
- name
@@ -183692,6 +167206,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
content_types:
type: array
items:
@@ -183755,6 +167272,9 @@ components:
We don't use `WritableNestedSerializer` here because this is not used to look up
an existing `ScheduledJob`, but instead used to specify parameters for creating one.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -183790,7 +167310,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -183863,7 +167382,6 @@ components:
- content_types
- created
- display
- - id
- job
- last_updated
- name
@@ -183878,6 +167396,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
content_types:
type: array
items:
@@ -184031,6 +167552,8 @@ components:
$ref: '#/components/schemas/JobCreationRequest'
task_queue:
type: string
+ job_queue:
+ type: string
JobLogEntry:
type: object
description: |-
@@ -184051,7 +167574,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -184102,7 +167624,6 @@ components:
format: date-time
required:
- display
- - id
- job_result
- natural_slug
- object_type
@@ -184131,6 +167652,370 @@ components:
_task_queue:
type: string
title: ' task queue'
+ _job_queue:
+ type: string
+ title: ' job queue'
+ JobQueue:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ description: Human friendly display value
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ natural_slug:
+ type: string
+ example: attribute1_attribute2
+ readOnly: true
+ name:
+ type: string
+ maxLength: 255
+ description:
+ type: string
+ maxLength: 255
+ queue_type:
+ $ref: '#/components/schemas/QueueTypeEnum'
+ tenant:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ created:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ last_updated:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ notes_url:
+ type: string
+ format: uri
+ readOnly: true
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ required:
+ - created
+ - display
+ - last_updated
+ - name
+ - natural_slug
+ - notes_url
+ - object_type
+ - queue_type
+ - url
+ JobQueueAssignment:
+ type: object
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ properties:
+ id:
+ type: string
+ format: uuid
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ description: Human friendly display value
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ natural_slug:
+ type: string
+ example: attribute1_attribute2
+ readOnly: true
+ job:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ job_queue:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - display
+ - job
+ - job_queue
+ - natural_slug
+ - object_type
+ - url
+ JobQueueAssignmentRequest:
+ type: object
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ properties:
+ id:
+ type: string
+ format: uuid
+ job:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ job_queue:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - job
+ - job_queue
+ JobQueueRequest:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ description:
+ type: string
+ maxLength: 255
+ queue_type:
+ $ref: '#/components/schemas/QueueTypeEnum'
+ tenant:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ required:
+ - name
+ - queue_type
JobRequest:
type: object
description: |-
@@ -184138,6 +168023,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
grouping:
type: string
minLength: 1
@@ -184157,6 +168045,10 @@ components:
has_sensitive_variables:
type: boolean
description: Whether this job contains sensitive variables
+ is_singleton:
+ type: boolean
+ description: Whether this job should fail to run if another instance of
+ this job is already running
approval_required:
type: boolean
description: Whether the job requires approval from another user before
@@ -184180,9 +168072,6 @@ components:
minimum: 0
description: Maximum runtime in seconds before the job will be forcibly
terminated.
Set to 0 to use Nautobot system default
- task_queues:
- description: Comma separated list of task queues that this job can run on.
- A blank list will use the default queue
grouping_override:
type: boolean
description: If set, the configured grouping will remain even if the underlying
@@ -184219,10 +168108,33 @@ components:
type: boolean
description: If set, the configured value will remain even if the underlying
Job source code changes
- task_queues_override:
+ job_queues_override:
type: boolean
description: If set, the configured value will remain even if the underlying
Job source code changes
+ default_job_queue_override:
+ type: boolean
+ description: If set, the configured value will remain even if the underlying
+ Job source code changes
+ is_singleton_override:
+ type: boolean
+ description: If set, the configured value will remain even if the underlying
+ Job source code changes
+ default_job_queue:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
tags:
type: array
items:
@@ -184347,6 +168259,7 @@ components:
readOnly: true
additionalProperties: true
required:
+ - default_job_queue
- grouping
- name
JobResult:
@@ -184357,7 +168270,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -184412,6 +168324,10 @@ components:
type: string
format: date-time
readOnly: true
+ date_started:
+ type: string
+ format: date-time
+ nullable: true
date_done:
type: string
format: date-time
@@ -184485,6 +168401,10 @@ components:
custom_fields:
type: object
additionalProperties: {}
+ computed_fields:
+ type: object
+ additionalProperties: {}
+ readOnly: true
files:
type: array
items:
@@ -184504,10 +168424,10 @@ components:
format: uri
readOnly: true
required:
+ - computed_fields
- date_created
- display
- files
- - id
- meta
- name
- natural_slug
@@ -184600,7 +168520,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -184684,9 +168603,9 @@ components:
maxLength: 255
contact_email:
type: string
- format: email
- title: Contact E-mail
maxLength: 254
+ title: Contact E-mail
+ format: email
comments:
type: string
parent:
@@ -184790,7 +168709,6 @@ components:
- created
- device_count
- display
- - id
- last_updated
- location_type
- name
@@ -184809,6 +168727,9 @@ components:
description: Add a `tree_depth` field to non-nested model serializers based
on django-tree-queries.
properties:
+ id:
+ type: string
+ format: uuid
time_zone:
type: string
nullable: true
@@ -184855,9 +168776,9 @@ components:
maxLength: 255
contact_email:
type: string
- format: email
- title: Contact E-mail
maxLength: 254
+ title: Contact E-mail
+ format: email
comments:
type: string
parent:
@@ -185057,7 +168978,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -185129,7 +169049,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -185142,6 +169061,9 @@ components:
description: Add a `tree_depth` field to non-nested model serializers based
on django-tree-queries.
properties:
+ id:
+ type: string
+ format: uuid
content_types:
type: array
items:
@@ -185285,7 +169207,9 @@ components:
enum:
- debug
- info
+ - success
- warning
+ - failure
- error
- critical
type: string
@@ -185299,7 +169223,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -185357,7 +169280,6 @@ components:
- created
- device_type_count
- display
- - id
- inventory_item_count
- last_updated
- name
@@ -185373,6 +169295,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -185497,7 +169422,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -185551,7 +169475,6 @@ components:
required:
- created
- display
- - id
- last_updated
- metadata_type
- natural_slug
@@ -185564,6 +169487,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
value:
type: string
minLength: 1
@@ -185601,7 +169527,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -185650,12 +169575,28 @@ components:
custom_fields:
type: object
additionalProperties: {}
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
required:
- content_types
- created
- data_type
- display
- - id
- last_updated
- name
- natural_slug
@@ -185669,6 +169610,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
content_types:
type: array
items:
@@ -185790,16 +169734,27 @@ components:
type: string
readOnly: true
additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
required:
- content_types
- data_type
- name
- ModeEnum:
- type: string
- enum:
- - access
- - tagged
- - tagged-all
Module:
type: object
description: |-
@@ -185810,7 +169765,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -185969,7 +169923,6 @@ components:
required:
- created
- display
- - id
- last_updated
- module_type
- natural_slug
@@ -185987,7 +169940,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -186005,6 +169957,10 @@ components:
type: string
example: attribute1_attribute2
readOnly: true
+ requires_first_party_modules:
+ type: boolean
+ description: This bay will only accept modules from the same manufacturer
+ as the parent device or module
name:
type: string
maxLength: 255
@@ -186051,6 +170007,23 @@ components:
type: string
format: uri
nullable: true
+ module_family:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ description: Module family that can be installed in this bay
created:
type: string
format: date-time
@@ -186088,7 +170061,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -186102,6 +170074,13 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
+ requires_first_party_modules:
+ type: boolean
+ description: This bay will only accept modules from the same manufacturer
+ as the parent device or module
name:
type: string
minLength: 1
@@ -186149,6 +170128,348 @@ components:
type: string
format: uri
nullable: true
+ module_family:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ description: Module family that can be installed in this bay
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - name
+ ModuleBayTemplate:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ description: Human friendly display value
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ natural_slug:
+ type: string
+ example: attribute1_attribute2
+ readOnly: true
+ notes_url:
+ type: string
+ format: uri
+ readOnly: true
+ name:
+ type: string
+ maxLength: 255
+ position:
+ type: string
+ description: The position of the module bay within the device or module
+ maxLength: 255
+ label:
+ type: string
+ description: Physical label
+ maxLength: 255
+ description:
+ type: string
+ maxLength: 255
+ requires_first_party_modules:
+ type: boolean
+ description: This bay will only accept modules from the same manufacturer
+ as the parent device or module
+ device_type:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ module_type:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ module_family:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ description: Module family that can be installed in this bay. Leave blank
+ for no restriction.
+ created:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ last_updated:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ required:
+ - created
+ - display
+ - last_updated
+ - name
+ - natural_slug
+ - notes_url
+ - object_type
+ - url
+ ModuleBayTemplateRequest:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ position:
+ type: string
+ description: The position of the module bay within the device or module
+ maxLength: 255
+ label:
+ type: string
+ description: Physical label
+ maxLength: 255
+ description:
+ type: string
+ maxLength: 255
+ requires_first_party_modules:
+ type: boolean
+ description: This bay will only accept modules from the same manufacturer
+ as the parent device or module
+ device_type:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ module_type:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ module_family:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ description: Module family that can be installed in this bay. Leave blank
+ for no restriction.
custom_fields:
type: object
additionalProperties: {}
@@ -186255,36 +170576,15 @@ components:
type: string
readOnly: true
additionalProperties: true
- tags:
- type: array
- items:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
required:
- name
- ModuleBayTemplate:
+ ModuleFamily:
type: object
- description: |-
- Base class to use for serializers based on OrganizationalModel or PrimaryModel.
-
- Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ description: API serializer for ModuleFamily objects.
properties:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -186302,56 +170602,18 @@ components:
type: string
example: attribute1_attribute2
readOnly: true
- notes_url:
- type: string
- format: uri
+ module_type_count:
+ type: integer
+ readOnly: true
+ module_bay_count:
+ type: integer
readOnly: true
name:
type: string
maxLength: 255
- position:
- type: string
- description: The position of the module bay within the device or module
- maxLength: 255
- label:
- type: string
- description: Physical label
- maxLength: 255
description:
type: string
maxLength: 255
- device_type:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
- nullable: true
- module_type:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
- nullable: true
created:
type: string
format: date-time
@@ -186362,73 +170624,38 @@ components:
format: date-time
readOnly: true
nullable: true
+ notes_url:
+ type: string
+ format: uri
+ readOnly: true
custom_fields:
type: object
additionalProperties: {}
required:
- created
- display
- - id
- last_updated
+ - module_bay_count
+ - module_type_count
- name
- natural_slug
- notes_url
- object_type
- url
- ModuleBayTemplateRequest:
+ ModuleFamilyRequest:
type: object
- description: |-
- Base class to use for serializers based on OrganizationalModel or PrimaryModel.
-
- Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ description: API serializer for ModuleFamily objects.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
maxLength: 255
- position:
- type: string
- description: The position of the module bay within the device or module
- maxLength: 255
- label:
- type: string
- description: Physical label
- maxLength: 255
description:
type: string
maxLength: 255
- device_type:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
- nullable: true
- module_type:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
- nullable: true
custom_fields:
type: object
additionalProperties: {}
@@ -186544,6 +170771,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
serial:
type: string
nullable: true
@@ -186784,7 +171014,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -186826,6 +171055,22 @@ components:
url:
type: string
format: uri
+ module_family:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
created:
type: string
format: date-time
@@ -186863,7 +171108,6 @@ components:
required:
- created
- display
- - id
- last_updated
- manufacturer
- model
@@ -186878,6 +171122,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
model:
type: string
minLength: 1
@@ -186903,6 +171150,22 @@ components:
url:
type: string
format: uri
+ module_family:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
custom_fields:
type: object
additionalProperties: {}
@@ -187039,7 +171302,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -187116,7 +171378,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -187130,6 +171391,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -187288,7 +171552,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -187299,7 +171562,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedCircuit:
@@ -187312,7 +171574,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -187323,7 +171584,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedCircuitTermination:
@@ -187336,7 +171596,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -187347,7 +171606,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedCircuitType:
@@ -187360,7 +171618,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -187371,7 +171628,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedCloudAccount:
@@ -187384,7 +171640,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -187395,7 +171650,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedCloudNetwork:
@@ -187408,7 +171662,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -187419,7 +171672,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedCloudResourceType:
@@ -187432,7 +171684,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -187443,7 +171694,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedCloudService:
@@ -187456,7 +171706,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -187467,7 +171716,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedCluster:
@@ -187480,7 +171728,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -187491,7 +171738,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedClusterGroup:
@@ -187504,7 +171750,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -187515,7 +171760,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedClusterType:
@@ -187528,7 +171772,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -187539,7 +171782,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedComputedField:
@@ -187551,7 +171793,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -187562,7 +171803,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedConfigContext:
@@ -187574,7 +171814,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -187585,7 +171824,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedConfigContextSchema:
@@ -187598,7 +171836,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -187609,7 +171846,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedConsolePort:
@@ -187622,7 +171858,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -187633,7 +171868,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedConsolePortTemplate:
@@ -187646,7 +171880,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -187657,7 +171890,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedConsoleServerPort:
@@ -187670,7 +171902,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -187681,7 +171912,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedConsoleServerPortTemplate:
@@ -187694,7 +171924,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -187705,7 +171934,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedContact:
@@ -187718,7 +171946,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -187729,7 +171956,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedContactAssociation:
@@ -187742,7 +171968,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -187753,7 +171978,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedController:
@@ -187766,7 +171990,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -187777,7 +172000,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedControllerManagedDeviceGroup:
@@ -187790,7 +172012,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -187801,7 +172022,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedCustomField:
@@ -187813,7 +172033,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -187824,7 +172043,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedCustomFieldChoice:
@@ -187836,7 +172054,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -187847,7 +172064,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedCustomLink:
@@ -187859,7 +172075,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -187870,7 +172085,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedDevice:
@@ -187883,7 +172097,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -187894,7 +172107,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedDeviceBay:
@@ -187907,7 +172119,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -187918,7 +172129,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedDeviceBayTemplate:
@@ -187931,7 +172141,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -187942,7 +172151,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedDeviceFamily:
@@ -187955,7 +172163,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -187966,7 +172173,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedDeviceRedundancyGroup:
@@ -187979,7 +172185,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -187990,7 +172195,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedDeviceType:
@@ -188003,7 +172207,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188014,7 +172217,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedDeviceTypeToSoftwareImageFile:
@@ -188026,7 +172228,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188037,7 +172238,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedDynamicGroup:
@@ -188050,7 +172250,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188061,7 +172260,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedExportTemplate:
@@ -188071,7 +172269,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188082,7 +172279,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedExternalIntegration:
@@ -188095,7 +172291,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188106,7 +172301,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedFileProxy:
@@ -188129,7 +172323,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188140,7 +172333,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedFrontPort:
@@ -188153,7 +172345,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188164,7 +172355,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedFrontPortTemplate:
@@ -188177,7 +172367,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188188,7 +172377,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedGitRepository:
@@ -188198,7 +172386,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188209,7 +172396,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedGraphQLQuery:
@@ -188221,7 +172407,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188232,7 +172417,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedIPAddress:
@@ -188245,7 +172429,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188256,7 +172439,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedImageAttachment:
@@ -188268,7 +172450,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188279,7 +172460,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedInterface:
@@ -188292,7 +172472,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188303,7 +172482,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedInterfaceRedundancyGroup:
@@ -188313,7 +172491,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188324,7 +172501,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedInterfaceRedundancyGroupAssociation:
@@ -188334,7 +172510,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188345,7 +172520,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedInterfaceTemplate:
@@ -188358,7 +172532,27 @@ components:
id:
type: string
format: uuid
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ required:
+ - object_type
+ - url
+ NestedInterfaceVDCAssignment:
+ type: object
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ properties:
+ id:
+ type: string
+ format: uuid
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188369,7 +172563,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedInventoryItem:
@@ -188380,7 +172573,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188391,7 +172583,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedJob:
@@ -188404,7 +172595,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188415,7 +172605,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedJobButton:
@@ -188427,7 +172616,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188438,7 +172626,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedJobHook:
@@ -188451,7 +172638,28 @@ components:
id:
type: string
format: uuid
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ readOnly: true
+ url:
+ type: string
+ format: uri
readOnly: true
+ required:
+ - object_type
+ - url
+ NestedJobQueue:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188462,7 +172670,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedJobResult:
@@ -188473,7 +172680,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188484,7 +172690,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedLocation:
@@ -188495,7 +172700,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188506,7 +172710,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedLocationType:
@@ -188517,7 +172720,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188528,7 +172730,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedManufacturer:
@@ -188541,7 +172742,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188552,7 +172752,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedMetadataChoice:
@@ -188564,7 +172763,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188575,7 +172773,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedMetadataType:
@@ -188588,7 +172785,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188599,7 +172795,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedModule:
@@ -188612,7 +172807,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188623,7 +172817,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedModuleBay:
@@ -188636,7 +172829,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188647,7 +172839,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedModuleBayTemplate:
@@ -188660,7 +172851,25 @@ components:
id:
type: string
format: uuid
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ readOnly: true
+ url:
+ type: string
+ format: uri
readOnly: true
+ required:
+ - object_type
+ - url
+ NestedModuleFamily:
+ type: object
+ description: API serializer for ModuleFamily objects.
+ properties:
+ id:
+ type: string
+ format: uuid
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188671,7 +172880,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedModuleType:
@@ -188684,7 +172892,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188695,7 +172902,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedNamespace:
@@ -188708,7 +172914,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188719,7 +172924,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedNote:
@@ -188742,7 +172946,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188753,7 +172956,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedObjectChange:
@@ -188776,7 +172978,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188787,7 +172988,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedObjectMetadata:
@@ -188799,7 +172999,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188810,7 +173009,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedObjectPermission:
@@ -188822,7 +173020,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188833,7 +173030,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedPlatform:
@@ -188846,7 +173042,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188857,7 +173052,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedPowerFeed:
@@ -188870,7 +173064,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188881,7 +173074,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedPowerOutlet:
@@ -188894,7 +173086,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188905,7 +173096,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedPowerOutletTemplate:
@@ -188918,7 +173108,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188929,7 +173118,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedPowerPanel:
@@ -188942,7 +173130,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188953,7 +173140,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedPowerPort:
@@ -188966,7 +173152,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -188977,7 +173162,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedPowerPortTemplate:
@@ -188990,7 +173174,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189001,7 +173184,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedPrefix:
@@ -189014,7 +173196,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189025,7 +173206,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedProvider:
@@ -189038,7 +173218,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189049,7 +173228,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedProviderNetwork:
@@ -189062,7 +173240,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189073,7 +173250,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedRIR:
@@ -189086,7 +173262,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189097,7 +173272,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedRack:
@@ -189110,7 +173284,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189121,7 +173294,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedRackGroup:
@@ -189132,7 +173304,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189143,7 +173314,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedRackReservation:
@@ -189156,7 +173326,28 @@ components:
id:
type: string
format: uuid
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ required:
+ - object_type
+ - url
+ NestedRadioProfile:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189167,7 +173358,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedRearPort:
@@ -189180,7 +173370,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189191,7 +173380,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedRearPortTemplate:
@@ -189204,7 +173392,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189215,7 +173402,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedRelationship:
@@ -189227,7 +173413,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189238,7 +173423,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedRelationshipAssociation:
@@ -189250,7 +173434,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189261,7 +173444,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedRole:
@@ -189271,7 +173453,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189282,7 +173463,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedRouteTarget:
@@ -189295,7 +173475,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189306,7 +173485,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedSavedView:
@@ -189318,7 +173496,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189329,7 +173506,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedScheduledJob:
@@ -189352,7 +173528,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189363,7 +173538,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedSecret:
@@ -189373,7 +173547,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189384,7 +173557,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedSecretsGroup:
@@ -189394,7 +173566,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189405,7 +173576,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedSecretsGroupAssociation:
@@ -189415,7 +173585,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189426,7 +173595,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedService:
@@ -189439,7 +173607,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189450,7 +173617,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedSoftwareImageFile:
@@ -189463,7 +173629,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189474,7 +173639,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedSoftwareVersion:
@@ -189487,7 +173651,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189498,7 +173661,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedStaticGroupAssociation:
@@ -189511,7 +173673,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189522,7 +173683,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedStatus:
@@ -189532,7 +173692,28 @@ components:
id:
type: string
format: uuid
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ readOnly: true
+ url:
+ type: string
+ format: uri
readOnly: true
+ required:
+ - object_type
+ - url
+ NestedSupportedDataRate:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189543,7 +173724,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedTag:
@@ -189556,7 +173736,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189567,7 +173746,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedTeam:
@@ -189580,7 +173758,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189591,7 +173768,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedTenant:
@@ -189604,7 +173780,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189615,7 +173790,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedTenantGroup:
@@ -189628,7 +173802,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189639,7 +173812,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedVLAN:
@@ -189652,7 +173824,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189663,7 +173834,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedVLANGroup:
@@ -189676,7 +173846,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189687,7 +173856,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedVMInterface:
@@ -189700,7 +173868,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189711,7 +173878,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedVRF:
@@ -189724,7 +173890,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189735,7 +173900,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedVirtualChassis:
@@ -189748,7 +173912,28 @@ components:
id:
type: string
format: uuid
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ readOnly: true
+ url:
+ type: string
+ format: uri
readOnly: true
+ required:
+ - object_type
+ - url
+ NestedVirtualDeviceContext:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189759,7 +173944,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedVirtualMachine:
@@ -189772,7 +173956,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189783,7 +173966,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
NestedWebhook:
@@ -189795,7 +173977,28 @@ components:
id:
type: string
format: uuid
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ readOnly: true
+ url:
+ type: string
+ format: uri
readOnly: true
+ required:
+ - object_type
+ - url
+ NestedWirelessNetwork:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189806,7 +174009,6 @@ components:
format: uri
readOnly: true
required:
- - id
- object_type
- url
Note:
@@ -189829,7 +174031,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -189894,7 +174095,6 @@ components:
- assigned_object_type
- created
- display
- - id
- last_updated
- natural_slug
- note
@@ -189931,6 +174131,7 @@ components:
- $ref: '#/components/schemas/NestedManufacturer'
- $ref: '#/components/schemas/NestedModule'
- $ref: '#/components/schemas/NestedModuleBay'
+ - $ref: '#/components/schemas/NestedModuleFamily'
- $ref: '#/components/schemas/NestedModuleType'
- $ref: '#/components/schemas/NestedPlatform'
- $ref: '#/components/schemas/NestedPowerFeed'
@@ -189944,6 +174145,7 @@ components:
- $ref: '#/components/schemas/NestedSoftwareImageFile'
- $ref: '#/components/schemas/NestedSoftwareVersion'
- $ref: '#/components/schemas/NestedVirtualChassis'
+ - $ref: '#/components/schemas/NestedVirtualDeviceContext'
- $ref: '#/components/schemas/NestedComputedField'
- $ref: '#/components/schemas/NestedConfigContext'
- $ref: '#/components/schemas/NestedConfigContextSchema'
@@ -189959,6 +174161,7 @@ components:
- $ref: '#/components/schemas/NestedJob'
- $ref: '#/components/schemas/NestedJobButton'
- $ref: '#/components/schemas/NestedJobHook'
+ - $ref: '#/components/schemas/NestedJobQueue'
- $ref: '#/components/schemas/NestedMetadataType'
- $ref: '#/components/schemas/NestedRelationship'
- $ref: '#/components/schemas/NestedRole'
@@ -189985,6 +174188,9 @@ components:
- $ref: '#/components/schemas/NestedClusterType'
- $ref: '#/components/schemas/NestedVirtualMachine'
- $ref: '#/components/schemas/NestedVMInterface'
+ - $ref: '#/components/schemas/NestedRadioProfile'
+ - $ref: '#/components/schemas/NestedSupportedDataRate'
+ - $ref: '#/components/schemas/NestedWirelessNetwork'
discriminator:
propertyName: object_type
mapping:
@@ -190016,6 +174222,7 @@ components:
dcim.manufacturer: '#/components/schemas/NestedManufacturer'
dcim.module: '#/components/schemas/NestedModule'
dcim.modulebay: '#/components/schemas/NestedModuleBay'
+ dcim.modulefamily: '#/components/schemas/NestedModuleFamily'
dcim.moduletype: '#/components/schemas/NestedModuleType'
dcim.platform: '#/components/schemas/NestedPlatform'
dcim.powerfeed: '#/components/schemas/NestedPowerFeed'
@@ -190029,6 +174236,7 @@ components:
dcim.softwareimagefile: '#/components/schemas/NestedSoftwareImageFile'
dcim.softwareversion: '#/components/schemas/NestedSoftwareVersion'
dcim.virtualchassis: '#/components/schemas/NestedVirtualChassis'
+ dcim.virtualdevicecontext: '#/components/schemas/NestedVirtualDeviceContext'
extras.computedfield: '#/components/schemas/NestedComputedField'
extras.configcontext: '#/components/schemas/NestedConfigContext'
extras.configcontextschema: '#/components/schemas/NestedConfigContextSchema'
@@ -190044,6 +174252,7 @@ components:
extras.job: '#/components/schemas/NestedJob'
extras.jobbutton: '#/components/schemas/NestedJobButton'
extras.jobhook: '#/components/schemas/NestedJobHook'
+ extras.jobqueue: '#/components/schemas/NestedJobQueue'
extras.metadatatype: '#/components/schemas/NestedMetadataType'
extras.relationship: '#/components/schemas/NestedRelationship'
extras.role: '#/components/schemas/NestedRole'
@@ -190070,6 +174279,9 @@ components:
virtualization.clustertype: '#/components/schemas/NestedClusterType'
virtualization.virtualmachine: '#/components/schemas/NestedVirtualMachine'
virtualization.vminterface: '#/components/schemas/NestedVMInterface'
+ wireless.radioprofile: '#/components/schemas/NestedRadioProfile'
+ wireless.supporteddatarate: '#/components/schemas/NestedSupportedDataRate'
+ wireless.wirelessnetwork: '#/components/schemas/NestedWirelessNetwork'
NoteInputRequest:
type: object
properties:
@@ -190095,6 +174307,9 @@ components:
- supports `?depth` query parameter. It is passed in as `nested_depth` to the `build_nested_field()` function
to enable the dynamic generation of nested serializers.
properties:
+ id:
+ type: string
+ format: uuid
assigned_object_type:
type: string
assigned_object_id:
@@ -190123,6 +174338,9 @@ components:
- assigned_object_id
- assigned_object_type
- note
+ NullEnum:
+ enum:
+ - null
ObjectChange:
type: object
description: |-
@@ -190143,7 +174361,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -190244,7 +174461,6 @@ components:
- changed_object_id
- changed_object_type
- display
- - id
- natural_slug
- object_data
- object_data_v2
@@ -190290,8 +174506,10 @@ components:
- $ref: '#/components/schemas/NestedSoftwareVersion'
- $ref: '#/components/schemas/NestedController'
- $ref: '#/components/schemas/NestedControllerManagedDeviceGroup'
+ - $ref: '#/components/schemas/NestedModuleFamily'
- $ref: '#/components/schemas/NestedModuleType'
- $ref: '#/components/schemas/NestedModule'
+ - $ref: '#/components/schemas/NestedVirtualDeviceContext'
- $ref: '#/components/schemas/NestedCable'
- $ref: '#/components/schemas/NestedConsolePortTemplate'
- $ref: '#/components/schemas/NestedConsoleServerPortTemplate'
@@ -190333,6 +174551,7 @@ components:
- $ref: '#/components/schemas/NestedStaticGroupAssociation'
- $ref: '#/components/schemas/NestedJob'
- $ref: '#/components/schemas/NestedJobHook'
+ - $ref: '#/components/schemas/NestedJobQueue'
- $ref: '#/components/schemas/NestedJobButton'
- $ref: '#/components/schemas/NestedMetadataType'
- $ref: '#/components/schemas/NestedMetadataChoice'
@@ -190356,6 +174575,9 @@ components:
- $ref: '#/components/schemas/NestedCluster'
- $ref: '#/components/schemas/NestedVirtualMachine'
- $ref: '#/components/schemas/NestedVMInterface'
+ - $ref: '#/components/schemas/NestedSupportedDataRate'
+ - $ref: '#/components/schemas/NestedRadioProfile'
+ - $ref: '#/components/schemas/NestedWirelessNetwork'
discriminator:
propertyName: object_type
mapping:
@@ -190392,8 +174614,10 @@ components:
dcim.softwareversion: '#/components/schemas/NestedSoftwareVersion'
dcim.controller: '#/components/schemas/NestedController'
dcim.controllermanageddevicegroup: '#/components/schemas/NestedControllerManagedDeviceGroup'
+ dcim.modulefamily: '#/components/schemas/NestedModuleFamily'
dcim.moduletype: '#/components/schemas/NestedModuleType'
dcim.module: '#/components/schemas/NestedModule'
+ dcim.virtualdevicecontext: '#/components/schemas/NestedVirtualDeviceContext'
dcim.cable: '#/components/schemas/NestedCable'
dcim.consoleporttemplate: '#/components/schemas/NestedConsolePortTemplate'
dcim.consoleserverporttemplate: '#/components/schemas/NestedConsoleServerPortTemplate'
@@ -190435,6 +174659,7 @@ components:
extras.staticgroupassociation: '#/components/schemas/NestedStaticGroupAssociation'
extras.job: '#/components/schemas/NestedJob'
extras.jobhook: '#/components/schemas/NestedJobHook'
+ extras.jobqueue: '#/components/schemas/NestedJobQueue'
extras.jobbutton: '#/components/schemas/NestedJobButton'
extras.metadatatype: '#/components/schemas/NestedMetadataType'
extras.metadatachoice: '#/components/schemas/NestedMetadataChoice'
@@ -190458,6 +174683,9 @@ components:
virtualization.cluster: '#/components/schemas/NestedCluster'
virtualization.virtualmachine: '#/components/schemas/NestedVirtualMachine'
virtualization.vminterface: '#/components/schemas/NestedVMInterface'
+ wireless.supporteddatarate: '#/components/schemas/NestedSupportedDataRate'
+ wireless.radioprofile: '#/components/schemas/NestedRadioProfile'
+ wireless.wirelessnetwork: '#/components/schemas/NestedWirelessNetwork'
ObjectMetadata:
type: object
description: |-
@@ -190467,7 +174695,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -190562,7 +174789,6 @@ components:
- assigned_object_type
- created
- display
- - id
- last_updated
- metadata_type
- natural_slug
@@ -190593,6 +174819,8 @@ components:
- $ref: '#/components/schemas/NestedController'
- $ref: '#/components/schemas/NestedModule'
- $ref: '#/components/schemas/NestedVRF'
+ - $ref: '#/components/schemas/NestedVirtualDeviceContext'
+ - $ref: '#/components/schemas/NestedDynamicGroup'
- $ref: '#/components/schemas/NestedCircuitTermination'
- $ref: '#/components/schemas/NestedCircuitType'
- $ref: '#/components/schemas/NestedProvider'
@@ -190630,6 +174858,8 @@ components:
- $ref: '#/components/schemas/NestedModuleBay'
- $ref: '#/components/schemas/NestedModuleBayTemplate'
- $ref: '#/components/schemas/NestedModuleType'
+ - $ref: '#/components/schemas/NestedInterfaceVDCAssignment'
+ - $ref: '#/components/schemas/NestedModuleFamily'
- $ref: '#/components/schemas/NestedRIR'
- $ref: '#/components/schemas/NestedRouteTarget'
- $ref: '#/components/schemas/NestedVLANGroup'
@@ -190655,7 +174885,6 @@ components:
- $ref: '#/components/schemas/NestedSecret'
- $ref: '#/components/schemas/NestedSecretsGroup'
- $ref: '#/components/schemas/NestedSecretsGroupAssociation'
- - $ref: '#/components/schemas/NestedDynamicGroup'
- $ref: '#/components/schemas/NestedJobHook'
- $ref: '#/components/schemas/NestedJobButton'
- $ref: '#/components/schemas/NestedExternalIntegration'
@@ -190663,13 +174892,16 @@ components:
- $ref: '#/components/schemas/NestedTeam'
- $ref: '#/components/schemas/NestedStaticGroupAssociation'
- $ref: '#/components/schemas/NestedMetadataType'
- - $ref: '#/components/schemas/NestedObjectMetadata'
- $ref: '#/components/schemas/NestedSavedView'
+ - $ref: '#/components/schemas/NestedJobQueue'
- $ref: '#/components/schemas/NestedTenantGroup'
- $ref: '#/components/schemas/NestedTenant'
- $ref: '#/components/schemas/NestedCluster'
- $ref: '#/components/schemas/NestedClusterGroup'
- $ref: '#/components/schemas/NestedClusterType'
+ - $ref: '#/components/schemas/NestedWirelessNetwork'
+ - $ref: '#/components/schemas/NestedSupportedDataRate'
+ - $ref: '#/components/schemas/NestedRadioProfile'
discriminator:
propertyName: object_type
mapping:
@@ -190696,6 +174928,8 @@ components:
dcim.controller: '#/components/schemas/NestedController'
dcim.module: '#/components/schemas/NestedModule'
ipam.vrf: '#/components/schemas/NestedVRF'
+ dcim.virtualdevicecontext: '#/components/schemas/NestedVirtualDeviceContext'
+ extras.dynamicgroup: '#/components/schemas/NestedDynamicGroup'
circuits.circuittermination: '#/components/schemas/NestedCircuitTermination'
circuits.circuittype: '#/components/schemas/NestedCircuitType'
circuits.provider: '#/components/schemas/NestedProvider'
@@ -190733,6 +174967,8 @@ components:
dcim.modulebay: '#/components/schemas/NestedModuleBay'
dcim.modulebaytemplate: '#/components/schemas/NestedModuleBayTemplate'
dcim.moduletype: '#/components/schemas/NestedModuleType'
+ dcim.interfacevdcassignment: '#/components/schemas/NestedInterfaceVDCAssignment'
+ dcim.modulefamily: '#/components/schemas/NestedModuleFamily'
ipam.rir: '#/components/schemas/NestedRIR'
ipam.routetarget: '#/components/schemas/NestedRouteTarget'
ipam.vlangroup: '#/components/schemas/NestedVLANGroup'
@@ -190758,7 +174994,6 @@ components:
extras.secret: '#/components/schemas/NestedSecret'
extras.secretsgroup: '#/components/schemas/NestedSecretsGroup'
extras.secretsgroupassociation: '#/components/schemas/NestedSecretsGroupAssociation'
- extras.dynamicgroup: '#/components/schemas/NestedDynamicGroup'
extras.jobhook: '#/components/schemas/NestedJobHook'
extras.jobbutton: '#/components/schemas/NestedJobButton'
extras.externalintegration: '#/components/schemas/NestedExternalIntegration'
@@ -190766,19 +175001,25 @@ components:
extras.team: '#/components/schemas/NestedTeam'
extras.staticgroupassociation: '#/components/schemas/NestedStaticGroupAssociation'
extras.metadatatype: '#/components/schemas/NestedMetadataType'
- extras.objectmetadata: '#/components/schemas/NestedObjectMetadata'
extras.savedview: '#/components/schemas/NestedSavedView'
+ extras.jobqueue: '#/components/schemas/NestedJobQueue'
tenancy.tenantgroup: '#/components/schemas/NestedTenantGroup'
tenancy.tenant: '#/components/schemas/NestedTenant'
virtualization.cluster: '#/components/schemas/NestedCluster'
virtualization.clustergroup: '#/components/schemas/NestedClusterGroup'
virtualization.clustertype: '#/components/schemas/NestedClusterType'
+ wireless.wirelessnetwork: '#/components/schemas/NestedWirelessNetwork'
+ wireless.supporteddatarate: '#/components/schemas/NestedSupportedDataRate'
+ wireless.radioprofile: '#/components/schemas/NestedRadioProfile'
ObjectMetadataRequest:
type: object
description: |-
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
assigned_object_type:
type: string
value:
@@ -190848,7 +175089,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -190932,7 +175172,6 @@ components:
- actions
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -190945,6 +175184,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
object_types:
type: array
items:
@@ -191587,8 +175829,146 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/Contact'
- PaginatedContentTypeList:
+ $ref: '#/components/schemas/Contact'
+ PaginatedContentTypeList:
+ type: object
+ required:
+ - count
+ - results
+ properties:
+ count:
+ type: integer
+ example: 123
+ next:
+ type: string
+ nullable: true
+ format: uri
+ example: http://api.example.org/accounts/?offset=400&limit=100
+ previous:
+ type: string
+ nullable: true
+ format: uri
+ example: http://api.example.org/accounts/?offset=200&limit=100
+ results:
+ type: array
+ items:
+ $ref: '#/components/schemas/ContentType'
+ PaginatedControllerList:
+ type: object
+ required:
+ - count
+ - results
+ properties:
+ count:
+ type: integer
+ example: 123
+ next:
+ type: string
+ nullable: true
+ format: uri
+ example: http://api.example.org/accounts/?offset=400&limit=100
+ previous:
+ type: string
+ nullable: true
+ format: uri
+ example: http://api.example.org/accounts/?offset=200&limit=100
+ results:
+ type: array
+ items:
+ $ref: '#/components/schemas/Controller'
+ PaginatedControllerManagedDeviceGroupList:
+ type: object
+ required:
+ - count
+ - results
+ properties:
+ count:
+ type: integer
+ example: 123
+ next:
+ type: string
+ nullable: true
+ format: uri
+ example: http://api.example.org/accounts/?offset=400&limit=100
+ previous:
+ type: string
+ nullable: true
+ format: uri
+ example: http://api.example.org/accounts/?offset=200&limit=100
+ results:
+ type: array
+ items:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroup'
+ PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList:
+ type: object
+ required:
+ - count
+ - results
+ properties:
+ count:
+ type: integer
+ example: 123
+ next:
+ type: string
+ nullable: true
+ format: uri
+ example: http://api.example.org/accounts/?offset=400&limit=100
+ previous:
+ type: string
+ nullable: true
+ format: uri
+ example: http://api.example.org/accounts/?offset=200&limit=100
+ results:
+ type: array
+ items:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignment'
+ PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList:
+ type: object
+ required:
+ - count
+ - results
+ properties:
+ count:
+ type: integer
+ example: 123
+ next:
+ type: string
+ nullable: true
+ format: uri
+ example: http://api.example.org/accounts/?offset=400&limit=100
+ previous:
+ type: string
+ nullable: true
+ format: uri
+ example: http://api.example.org/accounts/?offset=200&limit=100
+ results:
+ type: array
+ items:
+ $ref: '#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignment'
+ PaginatedCustomFieldChoiceList:
+ type: object
+ required:
+ - count
+ - results
+ properties:
+ count:
+ type: integer
+ example: 123
+ next:
+ type: string
+ nullable: true
+ format: uri
+ example: http://api.example.org/accounts/?offset=400&limit=100
+ previous:
+ type: string
+ nullable: true
+ format: uri
+ example: http://api.example.org/accounts/?offset=200&limit=100
+ results:
+ type: array
+ items:
+ $ref: '#/components/schemas/CustomFieldChoice'
+ PaginatedCustomFieldList:
type: object
required:
- count
@@ -191610,8 +175990,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/ContentType'
- PaginatedControllerList:
+ $ref: '#/components/schemas/CustomField'
+ PaginatedCustomLinkList:
type: object
required:
- count
@@ -191633,8 +176013,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/Controller'
- PaginatedControllerManagedDeviceGroupList:
+ $ref: '#/components/schemas/CustomLink'
+ PaginatedDeviceBayList:
type: object
required:
- count
@@ -191656,8 +176036,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/ControllerManagedDeviceGroup'
- PaginatedCustomFieldChoiceList:
+ $ref: '#/components/schemas/DeviceBay'
+ PaginatedDeviceBayTemplateList:
type: object
required:
- count
@@ -191679,8 +176059,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/CustomFieldChoice'
- PaginatedCustomFieldList:
+ $ref: '#/components/schemas/DeviceBayTemplate'
+ PaginatedDeviceFamilyList:
type: object
required:
- count
@@ -191702,8 +176082,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/CustomField'
- PaginatedCustomLinkList:
+ $ref: '#/components/schemas/DeviceFamily'
+ PaginatedDeviceList:
type: object
required:
- count
@@ -191725,8 +176105,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/CustomLink'
- PaginatedDeviceBayList:
+ $ref: '#/components/schemas/Device'
+ PaginatedDeviceRedundancyGroupList:
type: object
required:
- count
@@ -191748,8 +176128,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/DeviceBay'
- PaginatedDeviceBayTemplateList:
+ $ref: '#/components/schemas/DeviceRedundancyGroup'
+ PaginatedDeviceTypeList:
type: object
required:
- count
@@ -191771,8 +176151,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/DeviceBayTemplate'
- PaginatedDeviceFamilyList:
+ $ref: '#/components/schemas/DeviceType'
+ PaginatedDeviceTypeToSoftwareImageFileList:
type: object
required:
- count
@@ -191794,8 +176174,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/DeviceFamily'
- PaginatedDeviceList:
+ $ref: '#/components/schemas/DeviceTypeToSoftwareImageFile'
+ PaginatedDynamicGroupList:
type: object
required:
- count
@@ -191817,8 +176197,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/Device'
- PaginatedDeviceRedundancyGroupList:
+ $ref: '#/components/schemas/DynamicGroup'
+ PaginatedDynamicGroupMembershipList:
type: object
required:
- count
@@ -191840,8 +176220,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/DeviceRedundancyGroup'
- PaginatedDeviceTypeList:
+ $ref: '#/components/schemas/DynamicGroupMembership'
+ PaginatedExportTemplateList:
type: object
required:
- count
@@ -191863,8 +176243,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/DeviceType'
- PaginatedDeviceTypeToSoftwareImageFileList:
+ $ref: '#/components/schemas/ExportTemplate'
+ PaginatedExternalIntegrationList:
type: object
required:
- count
@@ -191886,8 +176266,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/DeviceTypeToSoftwareImageFile'
- PaginatedDynamicGroupList:
+ $ref: '#/components/schemas/ExternalIntegration'
+ PaginatedFileProxyList:
type: object
required:
- count
@@ -191909,8 +176289,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/DynamicGroup'
- PaginatedDynamicGroupMembershipList:
+ $ref: '#/components/schemas/FileProxy'
+ PaginatedFrontPortList:
type: object
required:
- count
@@ -191932,8 +176312,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/DynamicGroupMembership'
- PaginatedExportTemplateList:
+ $ref: '#/components/schemas/FrontPort'
+ PaginatedFrontPortTemplateList:
type: object
required:
- count
@@ -191955,8 +176335,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/ExportTemplate'
- PaginatedExternalIntegrationList:
+ $ref: '#/components/schemas/FrontPortTemplate'
+ PaginatedGitRepositoryList:
type: object
required:
- count
@@ -191978,8 +176358,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/ExternalIntegration'
- PaginatedFileProxyList:
+ $ref: '#/components/schemas/GitRepository'
+ PaginatedGraphQLQueryList:
type: object
required:
- count
@@ -192001,8 +176381,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/FileProxy'
- PaginatedFrontPortList:
+ $ref: '#/components/schemas/GraphQLQuery'
+ PaginatedGroupList:
type: object
required:
- count
@@ -192024,8 +176404,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/FrontPort'
- PaginatedFrontPortTemplateList:
+ $ref: '#/components/schemas/Group'
+ PaginatedIPAddressList:
type: object
required:
- count
@@ -192047,8 +176427,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/FrontPortTemplate'
- PaginatedGitRepositoryList:
+ $ref: '#/components/schemas/IPAddress'
+ PaginatedIPAddressToInterfaceList:
type: object
required:
- count
@@ -192070,8 +176450,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/GitRepository'
- PaginatedGraphQLQueryList:
+ $ref: '#/components/schemas/IPAddressToInterface'
+ PaginatedImageAttachmentList:
type: object
required:
- count
@@ -192093,8 +176473,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/GraphQLQuery'
- PaginatedGroupList:
+ $ref: '#/components/schemas/ImageAttachment'
+ PaginatedInterfaceConnectionList:
type: object
required:
- count
@@ -192116,8 +176496,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/Group'
- PaginatedIPAddressList:
+ $ref: '#/components/schemas/InterfaceConnection'
+ PaginatedInterfaceList:
type: object
required:
- count
@@ -192139,8 +176519,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/IPAddress'
- PaginatedIPAddressToInterfaceList:
+ $ref: '#/components/schemas/Interface'
+ PaginatedInterfaceRedundancyGroupAssociationList:
type: object
required:
- count
@@ -192162,8 +176542,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/IPAddressToInterface'
- PaginatedImageAttachmentList:
+ $ref: '#/components/schemas/InterfaceRedundancyGroupAssociation'
+ PaginatedInterfaceRedundancyGroupList:
type: object
required:
- count
@@ -192185,8 +176565,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/ImageAttachment'
- PaginatedInterfaceConnectionList:
+ $ref: '#/components/schemas/InterfaceRedundancyGroup'
+ PaginatedInterfaceTemplateList:
type: object
required:
- count
@@ -192208,8 +176588,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/InterfaceConnection'
- PaginatedInterfaceList:
+ $ref: '#/components/schemas/InterfaceTemplate'
+ PaginatedInterfaceVDCAssignmentList:
type: object
required:
- count
@@ -192231,8 +176611,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/Interface'
- PaginatedInterfaceRedundancyGroupAssociationList:
+ $ref: '#/components/schemas/InterfaceVDCAssignment'
+ PaginatedInventoryItemList:
type: object
required:
- count
@@ -192254,8 +176634,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/InterfaceRedundancyGroupAssociation'
- PaginatedInterfaceRedundancyGroupList:
+ $ref: '#/components/schemas/InventoryItem'
+ PaginatedJobButtonList:
type: object
required:
- count
@@ -192277,8 +176657,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/InterfaceRedundancyGroup'
- PaginatedInterfaceTemplateList:
+ $ref: '#/components/schemas/JobButton'
+ PaginatedJobHookList:
type: object
required:
- count
@@ -192300,8 +176680,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/InterfaceTemplate'
- PaginatedInventoryItemList:
+ $ref: '#/components/schemas/JobHook'
+ PaginatedJobList:
type: object
required:
- count
@@ -192323,8 +176703,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/InventoryItem'
- PaginatedJobButtonList:
+ $ref: '#/components/schemas/Job'
+ PaginatedJobLogEntryList:
type: object
required:
- count
@@ -192346,8 +176726,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/JobButton'
- PaginatedJobHookList:
+ $ref: '#/components/schemas/JobLogEntry'
+ PaginatedJobQueueAssignmentList:
type: object
required:
- count
@@ -192369,8 +176749,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/JobHook'
- PaginatedJobList:
+ $ref: '#/components/schemas/JobQueueAssignment'
+ PaginatedJobQueueList:
type: object
required:
- count
@@ -192392,8 +176772,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/Job'
- PaginatedJobLogEntryList:
+ $ref: '#/components/schemas/JobQueue'
+ PaginatedJobResultList:
type: object
required:
- count
@@ -192415,8 +176795,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/JobLogEntry'
- PaginatedJobResultList:
+ $ref: '#/components/schemas/JobResult'
+ PaginatedJobVariableList:
type: object
required:
- count
@@ -192438,8 +176818,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/JobResult'
- PaginatedJobVariableList:
+ $ref: '#/components/schemas/JobVariable'
+ PaginatedLocationList:
type: object
required:
- count
@@ -192461,8 +176841,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/JobVariable'
- PaginatedLocationList:
+ $ref: '#/components/schemas/Location'
+ PaginatedLocationTypeList:
type: object
required:
- count
@@ -192484,8 +176864,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/Location'
- PaginatedLocationTypeList:
+ $ref: '#/components/schemas/LocationType'
+ PaginatedManufacturerList:
type: object
required:
- count
@@ -192507,8 +176887,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/LocationType'
- PaginatedManufacturerList:
+ $ref: '#/components/schemas/Manufacturer'
+ PaginatedMetadataChoiceList:
type: object
required:
- count
@@ -192530,8 +176910,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/Manufacturer'
- PaginatedMetadataChoiceList:
+ $ref: '#/components/schemas/MetadataChoice'
+ PaginatedMetadataTypeList:
type: object
required:
- count
@@ -192553,8 +176933,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/MetadataChoice'
- PaginatedMetadataTypeList:
+ $ref: '#/components/schemas/MetadataType'
+ PaginatedModuleBayList:
type: object
required:
- count
@@ -192576,8 +176956,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/MetadataType'
- PaginatedModuleBayList:
+ $ref: '#/components/schemas/ModuleBay'
+ PaginatedModuleBayTemplateList:
type: object
required:
- count
@@ -192599,8 +176979,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/ModuleBay'
- PaginatedModuleBayTemplateList:
+ $ref: '#/components/schemas/ModuleBayTemplate'
+ PaginatedModuleFamilyList:
type: object
required:
- count
@@ -192622,7 +177002,7 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/ModuleBayTemplate'
+ $ref: '#/components/schemas/ModuleFamily'
PaginatedModuleList:
type: object
required:
@@ -193152,6 +177532,29 @@ components:
type: array
items:
$ref: '#/components/schemas/RackUnit'
+ PaginatedRadioProfileList:
+ type: object
+ required:
+ - count
+ - results
+ properties:
+ count:
+ type: integer
+ example: 123
+ next:
+ type: string
+ nullable: true
+ format: uri
+ example: http://api.example.org/accounts/?offset=400&limit=100
+ previous:
+ type: string
+ nullable: true
+ format: uri
+ example: http://api.example.org/accounts/?offset=200&limit=100
+ results:
+ type: array
+ items:
+ $ref: '#/components/schemas/RadioProfile'
PaginatedRearPortList:
type: object
required:
@@ -193520,6 +177923,29 @@ components:
type: array
items:
$ref: '#/components/schemas/Status'
+ PaginatedSupportedDataRateList:
+ type: object
+ required:
+ - count
+ - results
+ properties:
+ count:
+ type: integer
+ example: 123
+ next:
+ type: string
+ nullable: true
+ format: uri
+ example: http://api.example.org/accounts/?offset=400&limit=100
+ previous:
+ type: string
+ nullable: true
+ format: uri
+ example: http://api.example.org/accounts/?offset=200&limit=100
+ results:
+ type: array
+ items:
+ $ref: '#/components/schemas/SupportedDataRate'
PaginatedTagList:
type: object
required:
@@ -193864,8 +178290,54 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/VirtualChassis'
- PaginatedVirtualMachineList:
+ $ref: '#/components/schemas/VirtualChassis'
+ PaginatedVirtualDeviceContextList:
+ type: object
+ required:
+ - count
+ - results
+ properties:
+ count:
+ type: integer
+ example: 123
+ next:
+ type: string
+ nullable: true
+ format: uri
+ example: http://api.example.org/accounts/?offset=400&limit=100
+ previous:
+ type: string
+ nullable: true
+ format: uri
+ example: http://api.example.org/accounts/?offset=200&limit=100
+ results:
+ type: array
+ items:
+ $ref: '#/components/schemas/VirtualDeviceContext'
+ PaginatedVirtualMachineList:
+ type: object
+ required:
+ - count
+ - results
+ properties:
+ count:
+ type: integer
+ example: 123
+ next:
+ type: string
+ nullable: true
+ format: uri
+ example: http://api.example.org/accounts/?offset=400&limit=100
+ previous:
+ type: string
+ nullable: true
+ format: uri
+ example: http://api.example.org/accounts/?offset=200&limit=100
+ results:
+ type: array
+ items:
+ $ref: '#/components/schemas/VirtualMachine'
+ PaginatedWebhookList:
type: object
required:
- count
@@ -193887,8 +178359,8 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/VirtualMachine'
- PaginatedWebhookList:
+ $ref: '#/components/schemas/Webhook'
+ PaginatedWirelessNetworkList:
type: object
required:
- count
@@ -193910,7 +178382,20 @@ components:
results:
type: array
items:
- $ref: '#/components/schemas/Webhook'
+ $ref: '#/components/schemas/WirelessNetwork'
+ PanelTypeEnum:
+ type: string
+ enum:
+ - utility
+ - generator
+ - switchgear
+ - mdp
+ - ups
+ - transfer-switch
+ - pdu
+ - panelboard
+ - mlc
+ - rpp
PatchedBulkWritableCableRequest:
type: object
description: |-
@@ -194406,6 +178891,23 @@ components:
type: string
format: uri
nullable: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
custom_fields:
type: object
additionalProperties: {}
@@ -197170,23 +181672,6 @@ components:
id:
type: string
format: uuid
- teams:
- type: array
- items:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
name:
type: string
minLength: 1
@@ -197196,11 +181681,14 @@ components:
default: ''
maxLength: 255
email:
- type: string
- format: email
+ oneOf:
+ - type: string
+ maxLength: 254
+ format: email
+ - type: string
+ maxLength: 254
default: ''
title: E-mail
- maxLength: 254
address:
type: string
comments:
@@ -197311,6 +181799,81 @@ components:
type: string
readOnly: true
additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ teams:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - id
+ PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest:
+ type: object
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ properties:
+ id:
+ type: string
+ format: uuid
+ controller_managed_device_group:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ radio_profile:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
required:
- id
PatchedBulkWritableControllerManagedDeviceGroupRequest:
@@ -197323,11 +181886,19 @@ components:
id:
type: string
format: uuid
+ capabilities:
+ type: array
+ items:
+ $ref: '#/components/schemas/CapabilitiesEnum'
+ nullable: true
name:
type: string
minLength: 1
description: Name of the controller device group
maxLength: 255
+ description:
+ type: string
+ maxLength: 255
weight:
type: integer
maximum: 2147483647
@@ -197366,6 +181937,22 @@ components:
type: string
format: uri
description: Controller that manages the devices in this group
+ tenant:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
custom_fields:
type: object
additionalProperties: {}
@@ -197491,6 +182078,63 @@ components:
format: uri
required:
- id
+ PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest:
+ type: object
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ properties:
+ id:
+ type: string
+ format: uuid
+ controller_managed_device_group:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ wireless_network:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ vlan:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ required:
+ - id
PatchedBulkWritableControllerRequest:
type: object
description: |-
@@ -197501,6 +182145,11 @@ components:
id:
type: string
format: uuid
+ capabilities:
+ type: array
+ items:
+ $ref: '#/components/schemas/CapabilitiesEnum'
+ nullable: true
name:
type: string
minLength: 1
@@ -198367,6 +183016,23 @@ components:
type: string
readOnly: true
additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
required:
- id
PatchedBulkWritableDeviceRedundancyGroupRequest:
@@ -198380,7 +183046,7 @@ components:
type: string
format: uuid
failover_strategy:
- default: null
+ default: ''
oneOf:
- $ref: '#/components/schemas/FailoverStrategyEnum'
- $ref: '#/components/schemas/BlankEnum'
@@ -199791,6 +184457,23 @@ components:
type: string
readOnly: true
additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
required:
- id
PatchedBulkWritableFrontPortRequest:
@@ -200335,6 +185018,23 @@ components:
type: string
readOnly: true
additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
required:
- id
PatchedBulkWritableGraphQLQueryRequest:
@@ -200346,6 +185046,13 @@ components:
id:
type: string
format: uuid
+ owner_content_type:
+ type: string
+ nullable: true
+ owner_object_id:
+ type: string
+ format: uuid
+ nullable: true
name:
type: string
minLength: 1
@@ -200971,7 +185678,7 @@ components:
type:
$ref: '#/components/schemas/InterfaceTypeChoices'
mode:
- $ref: '#/components/schemas/ModeEnum'
+ $ref: '#/components/schemas/InterfaceModeChoices'
mac_address:
type: string
nullable: true
@@ -201454,6 +186161,47 @@ components:
additionalProperties: true
required:
- id
+ PatchedBulkWritableInterfaceVDCAssignmentRequest:
+ type: object
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ properties:
+ id:
+ type: string
+ format: uuid
+ virtual_device_context:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ interface:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - id
PatchedBulkWritableInventoryItemRequest:
type: object
description: Add a `tree_depth` field to non-nested model serializers based
@@ -201679,26 +186427,240 @@ components:
type: string
readOnly: true
additionalProperties: true
- tags:
- type: array
- items:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - id
+ PatchedBulkWritableJobButtonRequest:
+ type: object
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ properties:
+ id:
+ type: string
+ format: uuid
+ content_types:
+ type: array
+ items:
+ type: string
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ enabled:
+ type: boolean
+ text:
+ type: string
+ minLength: 1
+ description: Jinja2 template code for button text. Reference the object
+ as {{ obj }} such as {{ obj.platform.name }}.
+ Buttons which render as empty text will not be displayed.
+ maxLength: 500
+ weight:
+ type: integer
+ maximum: 32767
+ minimum: 0
+ group_name:
+ type: string
+ description: Buttons with the same group will appear as a dropdown menu.
+ Group dropdown buttons will inherit the button class from the button with
+ the lowest weight in the group.
+ maxLength: 255
+ button_class:
+ $ref: '#/components/schemas/ButtonClassEnum'
+ confirmation:
+ type: boolean
+ description: 'Enable confirmation pop-up box. WARNING:
+ unselecting this option will allow the Job to run (and commit changes)
+ with a single click!'
+ job:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ description: Job this button will run
+ required:
+ - id
+ PatchedBulkWritableJobHookRequest:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ content_types:
+ type: array
+ items:
+ type: string
+ enabled:
+ type: boolean
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ type_create:
+ type: boolean
+ description: Call this job hook when a matching object is created.
+ type_delete:
+ type: boolean
+ description: Call this job hook when a matching object is deleted.
+ type_update:
+ type: boolean
+ description: Call this job hook when a matching object is updated.
+ job:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ description: The job that this job hook will initiate
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
required:
- id
- PatchedBulkWritableJobButtonRequest:
+ PatchedBulkWritableJobQueueAssignmentRequest:
type: object
description: |-
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
@@ -201707,40 +186669,6 @@ components:
id:
type: string
format: uuid
- content_types:
- type: array
- items:
- type: string
- name:
- type: string
- minLength: 1
- maxLength: 255
- enabled:
- type: boolean
- text:
- type: string
- minLength: 1
- description: Jinja2 template code for button text. Reference the object
- as {{ obj }} such as {{ obj.platform.name }}.
- Buttons which render as empty text will not be displayed.
- maxLength: 500
- weight:
- type: integer
- maximum: 32767
- minimum: 0
- group_name:
- type: string
- description: Buttons with the same group will appear as a dropdown menu.
- Group dropdown buttons will inherit the button class from the button with
- the lowest weight in the group.
- maxLength: 255
- button_class:
- $ref: '#/components/schemas/ButtonClassEnum'
- confirmation:
- type: boolean
- description: 'Enable confirmation pop-up box. WARNING:
- unselecting this option will allow the Job to run (and commit changes)
- with a single click!'
job:
type: object
properties:
@@ -201756,10 +186684,24 @@ components:
url:
type: string
format: uri
- description: Job this button will run
+ job_queue:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
required:
- id
- PatchedBulkWritableJobHookRequest:
+ PatchedBulkWritableJobQueueRequest:
type: object
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
@@ -201769,26 +186711,16 @@ components:
id:
type: string
format: uuid
- content_types:
- type: array
- items:
- type: string
- enabled:
- type: boolean
name:
type: string
minLength: 1
maxLength: 255
- type_create:
- type: boolean
- description: Call this job hook when a matching object is created.
- type_delete:
- type: boolean
- description: Call this job hook when a matching object is deleted.
- type_update:
- type: boolean
- description: Call this job hook when a matching object is updated.
- job:
+ description:
+ type: string
+ maxLength: 255
+ queue_type:
+ $ref: '#/components/schemas/QueueTypeEnum'
+ tenant:
type: object
properties:
id:
@@ -201803,7 +186735,24 @@ components:
url:
type: string
format: uri
- description: The job that this job hook will initiate
+ nullable: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
custom_fields:
type: object
additionalProperties: {}
@@ -201941,6 +186890,10 @@ components:
has_sensitive_variables:
type: boolean
description: Whether this job contains sensitive variables
+ is_singleton:
+ type: boolean
+ description: Whether this job should fail to run if another instance of
+ this job is already running
approval_required:
type: boolean
description: Whether the job requires approval from another user before
@@ -201964,9 +186917,6 @@ components:
minimum: 0
description: Maximum runtime in seconds before the job will be forcibly
terminated.
Set to 0 to use Nautobot system default
- task_queues:
- description: Comma separated list of task queues that this job can run on.
- A blank list will use the default queue
grouping_override:
type: boolean
description: If set, the configured grouping will remain even if the underlying
@@ -202003,10 +186953,33 @@ components:
type: boolean
description: If set, the configured value will remain even if the underlying
Job source code changes
- task_queues_override:
+ job_queues_override:
type: boolean
description: If set, the configured value will remain even if the underlying
Job source code changes
+ default_job_queue_override:
+ type: boolean
+ description: If set, the configured value will remain even if the underlying
+ Job source code changes
+ is_singleton_override:
+ type: boolean
+ description: If set, the configured value will remain even if the underlying
+ Job source code changes
+ default_job_queue:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
tags:
type: array
items:
@@ -202186,9 +187159,9 @@ components:
maxLength: 255
contact_email:
type: string
- format: email
- title: Contact E-mail
maxLength: 254
+ title: Contact E-mail
+ format: email
comments:
type: string
parent:
@@ -202650,25 +187623,221 @@ components:
additionalProperties: true
required:
- id
- PatchedBulkWritableMetadataChoiceRequest:
+ PatchedBulkWritableMetadataChoiceRequest:
+ type: object
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ properties:
+ id:
+ type: string
+ format: uuid
+ value:
+ type: string
+ minLength: 1
+ maxLength: 255
+ weight:
+ type: integer
+ maximum: 32767
+ minimum: 0
+ description: Higher weights appear later in the list
+ metadata_type:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - id
+ PatchedBulkWritableMetadataTypeRequest:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ content_types:
+ type: array
+ items:
+ type: string
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ description:
+ type: string
+ maxLength: 255
+ data_type:
+ allOf:
+ - $ref: '#/components/schemas/DataTypeEnum'
+ description: The type of data allowed for any Metadata of this type.
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - id
+ PatchedBulkWritableModuleBayRequest:
type: object
description: |-
- Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
- validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
id:
type: string
format: uuid
- value:
+ requires_first_party_modules:
+ type: boolean
+ description: This bay will only accept modules from the same manufacturer
+ as the parent device or module
+ name:
type: string
minLength: 1
maxLength: 255
- weight:
- type: integer
- maximum: 32767
- minimum: 0
- description: Higher weights appear later in the list
- metadata_type:
+ position:
+ type: string
+ description: The position of the module bay within the parent device/module
+ maxLength: 255
+ label:
+ type: string
+ description: Physical label
+ maxLength: 255
+ description:
+ type: string
+ maxLength: 255
+ parent_device:
type: object
properties:
id:
@@ -202683,33 +187852,40 @@ components:
url:
type: string
format: uri
- required:
- - id
- PatchedBulkWritableMetadataTypeRequest:
- type: object
- description: |-
- Base class to use for serializers based on OrganizationalModel or PrimaryModel.
-
- Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
- properties:
- id:
- type: string
- format: uuid
- content_types:
- type: array
- items:
- type: string
- name:
- type: string
- minLength: 1
- maxLength: 255
- description:
- type: string
- maxLength: 255
- data_type:
- allOf:
- - $ref: '#/components/schemas/DataTypeEnum'
- description: The type of data allowed for any Metadata of this type.
+ nullable: true
+ parent_module:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ module_family:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ description: Module family that can be installed in this bay
custom_fields:
type: object
additionalProperties: {}
@@ -202816,9 +187992,26 @@ components:
type: string
readOnly: true
additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
required:
- id
- PatchedBulkWritableModuleBayRequest:
+ PatchedBulkWritableModuleBayTemplateRequest:
type: object
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
@@ -202834,7 +188027,7 @@ components:
maxLength: 255
position:
type: string
- description: The position of the module bay within the parent device/module
+ description: The position of the module bay within the device or module
maxLength: 255
label:
type: string
@@ -202843,7 +188036,11 @@ components:
description:
type: string
maxLength: 255
- parent_device:
+ requires_first_party_modules:
+ type: boolean
+ description: This bay will only accept modules from the same manufacturer
+ as the parent device or module
+ device_type:
type: object
properties:
id:
@@ -202859,7 +188056,23 @@ components:
type: string
format: uri
nullable: true
- parent_module:
+ module_type:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ module_family:
type: object
properties:
id:
@@ -202875,6 +188088,8 @@ components:
type: string
format: uri
nullable: true
+ description: Module family that can be installed in this bay. Leave blank
+ for no restriction.
custom_fields:
type: object
additionalProperties: {}
@@ -202981,31 +188196,11 @@ components:
type: string
readOnly: true
additionalProperties: true
- tags:
- type: array
- items:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
required:
- id
- PatchedBulkWritableModuleBayTemplateRequest:
+ PatchedBulkWritableModuleFamilyRequest:
type: object
- description: |-
- Base class to use for serializers based on OrganizationalModel or PrimaryModel.
-
- Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ description: API serializer for ModuleFamily objects.
properties:
id:
type: string
@@ -203014,49 +188209,9 @@ components:
type: string
minLength: 1
maxLength: 255
- position:
- type: string
- description: The position of the module bay within the device or module
- maxLength: 255
- label:
- type: string
- description: Physical label
- maxLength: 255
description:
type: string
maxLength: 255
- device_type:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
- nullable: true
- module_type:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
- nullable: true
custom_fields:
type: object
additionalProperties: {}
@@ -203439,6 +188594,22 @@ components:
url:
type: string
format: uri
+ module_family:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
custom_fields:
type: object
additionalProperties: {}
@@ -204070,21 +189241,21 @@ components:
type:
allOf:
- $ref: '#/components/schemas/PowerFeedTypeChoices'
- default:
- value: primary
- label: Primary
+ default: primary
+ power_path:
+ $ref: '#/components/schemas/PowerPathEnum'
supply:
allOf:
- $ref: '#/components/schemas/SupplyEnum'
- default:
- value: ac
- label: AC
+ default: ac
phase:
allOf:
- $ref: '#/components/schemas/PhaseEnum'
- default:
- value: single-phase
- label: Single phase
+ default: single-phase
+ breaker_pole_count:
+ allOf:
+ - $ref: '#/components/schemas/BreakerPoleCountEnum'
+ nullable: true
name:
type: string
minLength: 1
@@ -204102,6 +189273,12 @@ components:
maximum: 100
minimum: 1
description: Maximum permissible draw (percentage)
+ breaker_position:
+ type: integer
+ maximum: 2147483647
+ minimum: 0
+ nullable: true
+ description: Starting circuit breaker position in panel
comments:
type: string
cable:
@@ -204135,6 +189312,24 @@ components:
url:
type: string
format: uri
+ description: Source panel that originates this power feed
+ destination_panel:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ description: Destination panel that receives power from this feed
rack:
type: object
properties:
@@ -204680,10 +189875,20 @@ components:
id:
type: string
format: uuid
+ panel_type:
+ $ref: '#/components/schemas/PanelTypeEnum'
+ power_path:
+ $ref: '#/components/schemas/PowerPathEnum'
name:
type: string
minLength: 1
maxLength: 255
+ breaker_position_count:
+ type: integer
+ maximum: 2147483647
+ minimum: 0
+ nullable: true
+ description: Total number of breaker positions in the panel (e.g., 42)
location:
type: object
properties:
@@ -204875,6 +190080,12 @@ components:
minimum: 1
nullable: true
description: Allocated power draw (watts)
+ power_factor:
+ type: string
+ format: decimal
+ pattern: ^-?\d{0,2}(?:\.\d{0,2})?$
+ description: Power factor (0.01-1.00) for converting between watts (W) and
+ volt-amps (VA). Defaults to 0.95.
device:
type: object
properties:
@@ -205067,6 +190278,12 @@ components:
minimum: 1
nullable: true
description: Allocated power draw (watts)
+ power_factor:
+ type: string
+ format: decimal
+ pattern: ^-?\d{0,2}(?:\.\d{0,2})?$
+ description: Power factor (0.01-1.00) for converting between watts (W) and
+ volt-amps (VA). Defaults to 0.95.
device_type:
type: object
properties:
@@ -205264,9 +190481,7 @@ components:
type:
allOf:
- $ref: '#/components/schemas/PrefixTypeChoices'
- default:
- value: network
- label: Network
+ default: network
location:
type: object
properties:
@@ -206170,7 +191385,7 @@ components:
maxLength: 255
u_height:
type: integer
- maximum: 100
+ maximum: 500
minimum: 1
title: Height (U)
description: Height in rack units
@@ -206585,6 +191800,194 @@ components:
format: uri
required:
- id
+ PatchedBulkWritableRadioProfileRequest:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ channel_width:
+ type: array
+ items:
+ $ref: '#/components/schemas/ChannelWidthEnum'
+ allowed_channel_list:
+ type: array
+ items:
+ type: integer
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ frequency:
+ oneOf:
+ - $ref: '#/components/schemas/FrequencyEnum'
+ - $ref: '#/components/schemas/BlankEnum'
+ tx_power_min:
+ type: integer
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Transmit Power Minimum
+ tx_power_max:
+ type: integer
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Transmit Power Maximum
+ regulatory_domain:
+ $ref: '#/components/schemas/RegulatoryDomainEnum'
+ rx_power_min:
+ type: integer
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Receive Power Minimum
+ supported_data_rates:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - id
PatchedBulkWritableRearPortRequest:
type: object
description: |-
@@ -207944,6 +193347,22 @@ components:
url:
type: string
format: uri
+ external_integration:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
status:
type: object
properties:
@@ -208413,30 +193832,164 @@ components:
additionalProperties: true
required:
- id
- PatchedBulkWritableStatusRequest:
+ PatchedBulkWritableStatusRequest:
+ type: object
+ description: Serializer for `Status` objects.
+ properties:
+ id:
+ type: string
+ format: uuid
+ content_types:
+ type: array
+ items:
+ type: string
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ color:
+ type: string
+ minLength: 1
+ description: RGB color in hexadecimal (e.g. 00ff00)
+ pattern: ^[0-9a-f]{6}$
+ maxLength: 6
+ description:
+ type: string
+ maxLength: 255
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ required:
+ - id
+ PatchedBulkWritableSupportedDataRateRequest:
type: object
- description: Serializer for `Status` objects.
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
id:
type: string
format: uuid
- content_types:
- type: array
- items:
- type: string
- name:
- type: string
- minLength: 1
- maxLength: 255
- color:
- type: string
- minLength: 1
- description: RGB color in hexadecimal (e.g. 00ff00)
- pattern: ^[0-9a-f]{6}$
- maxLength: 6
- description:
- type: string
- maxLength: 255
+ standard:
+ $ref: '#/components/schemas/StandardEnum'
+ rate:
+ type: integer
+ maximum: 2147483647
+ minimum: 0
+ title: Rate (Kbps)
+ mcs_index:
+ type: integer
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Modulation and Coding Scheme (MCS) Index
+ description: The Modulation and Coding Scheme (MCS) index is a value used
+ in wireless communications to define the modulation type, coding rate,
+ and number of spatial streams used in a transmission.
custom_fields:
type: object
additionalProperties: {}
@@ -208543,6 +194096,23 @@ components:
type: string
readOnly: true
additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
required:
- id
PatchedBulkWritableTagRequest:
@@ -208690,6 +194260,27 @@ components:
id:
type: string
format: uuid
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ phone:
+ type: string
+ default: ''
+ maxLength: 255
+ email:
+ oneOf:
+ - type: string
+ maxLength: 254
+ format: email
+ - type: string
+ maxLength: 254
+ default: ''
+ title: E-mail
+ address:
+ type: string
+ comments:
+ type: string
contacts:
type: array
items:
@@ -208707,24 +194298,6 @@ components:
url:
type: string
format: uri
- name:
- type: string
- minLength: 1
- maxLength: 255
- phone:
- type: string
- default: ''
- maxLength: 255
- email:
- type: string
- format: email
- default: ''
- title: E-mail
- maxLength: 254
- address:
- type: string
- comments:
- type: string
custom_fields:
type: object
additionalProperties: {}
@@ -208831,6 +194404,23 @@ components:
type: string
readOnly: true
additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
required:
- id
PatchedBulkWritableTenantGroupRequest:
@@ -209198,9 +194788,9 @@ components:
maxLength: 150
email:
type: string
- format: email
- title: Email address
maxLength: 254
+ title: Email address
+ format: email
is_staff:
type: boolean
title: Staff status
@@ -209297,6 +194887,11 @@ components:
description:
type: string
maxLength: 255
+ range:
+ type: string
+ minLength: 1
+ description: Permitted VID range(s) as comma-separated list, default '1-4094'
+ if left blank.
location:
type: object
properties:
@@ -209313,6 +194908,23 @@ components:
type: string
format: uri
nullable: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
custom_fields:
type: object
additionalProperties: {}
@@ -209700,7 +195312,7 @@ components:
type: string
format: uuid
mode:
- $ref: '#/components/schemas/ModeEnum'
+ $ref: '#/components/schemas/InterfaceModeChoices'
mac_address:
type: string
nullable: true
@@ -210039,6 +195651,22 @@ components:
type: string
format: uri
nullable: true
+ virtual_device_context:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
required:
- id
PatchedBulkWritableVRFPrefixAssignmentRequest:
@@ -210311,7 +195939,165 @@ components:
additionalProperties: true
required:
- id
- PatchedBulkWritableVirtualChassisRequest:
+ PatchedBulkWritableVirtualChassisRequest:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ domain:
+ type: string
+ maxLength: 255
+ master:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - id
+ PatchedBulkWritableVirtualDeviceContextRequest:
type: object
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
@@ -210325,10 +196111,97 @@ components:
type: string
minLength: 1
maxLength: 255
- domain:
+ identifier:
+ type: integer
+ maximum: 32767
+ minimum: 0
+ nullable: true
+ description: 'Unique identifier provided by the platform being virtualized
+ (Example: Nexus VDC Identifier)'
+ description:
type: string
maxLength: 255
- master:
+ device:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ status:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ role:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ primary_ip4:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ title: Primary IPv4
+ primary_ip6:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ title: Primary IPv6
+ tenant:
type: object
properties:
id:
@@ -210885,6 +196758,192 @@ components:
maxLength: 4096
required:
- id
+ PatchedBulkWritableWirelessNetworkRequest:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ description:
+ type: string
+ maxLength: 255
+ ssid:
+ type: string
+ minLength: 1
+ maxLength: 255
+ mode:
+ $ref: '#/components/schemas/WirelessNetworkModeChoices'
+ enabled:
+ type: boolean
+ authentication:
+ $ref: '#/components/schemas/AuthenticationEnum'
+ hidden:
+ type: boolean
+ secrets_group:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ tenant:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - id
PatchedCircuitRequest:
type: object
description: |-
@@ -210892,6 +196951,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
cid:
type: string
minLength: 1
@@ -211104,6 +197166,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
term_side:
allOf:
- $ref: '#/components/schemas/TermSideEnum'
@@ -211195,6 +197260,23 @@ components:
type: string
format: uri
nullable: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
custom_fields:
type: object
additionalProperties: {}
@@ -211308,6 +197390,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -211428,6 +197513,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -211602,6 +197690,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
cloud_network:
type: object
properties:
@@ -211639,6 +197730,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
extra_config:
nullable: true
name:
@@ -211824,6 +197918,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
content_types:
type: array
items:
@@ -211983,6 +198080,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
cloud_network:
type: object
properties:
@@ -212020,6 +198120,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
extra_config:
nullable: true
name:
@@ -212190,6 +198293,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -212310,6 +198416,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -212509,6 +198618,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -212628,6 +198740,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
content_type:
type: string
key:
@@ -212673,6 +198788,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
owner_content_type:
type: string
nullable: true
@@ -212888,6 +199006,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
owner_content_type:
type: string
nullable: true
@@ -213018,6 +199139,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
associated_object_type:
type: string
associated_object_id:
@@ -213198,23 +199322,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
- teams:
- type: array
- items:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -213224,11 +199334,14 @@ components:
default: ''
maxLength: 255
email:
- type: string
- format: email
+ oneOf:
+ - type: string
+ maxLength: 254
+ format: email
+ - type: string
+ maxLength: 254
default: ''
title: E-mail
- maxLength: 254
address:
type: string
comments:
@@ -213339,6 +199452,79 @@ components:
type: string
readOnly: true
additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ teams:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest:
+ type: object
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ properties:
+ id:
+ type: string
+ format: uuid
+ controller_managed_device_group:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ radio_profile:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
PatchedControllerManagedDeviceGroupRequest:
type: object
description: |-
@@ -213346,11 +199532,22 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
+ capabilities:
+ type: array
+ items:
+ $ref: '#/components/schemas/CapabilitiesEnum'
+ nullable: true
name:
type: string
minLength: 1
description: Name of the controller device group
maxLength: 255
+ description:
+ type: string
+ maxLength: 255
weight:
type: integer
maximum: 2147483647
@@ -213389,6 +199586,22 @@ components:
type: string
format: uri
description: Controller that manages the devices in this group
+ tenant:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
custom_fields:
type: object
additionalProperties: {}
@@ -213512,6 +199725,61 @@ components:
url:
type: string
format: uri
+ PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest:
+ type: object
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ properties:
+ id:
+ type: string
+ format: uuid
+ controller_managed_device_group:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ wireless_network:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ vlan:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
PatchedControllerRequest:
type: object
description: |-
@@ -213519,6 +199787,14 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
+ capabilities:
+ type: array
+ items:
+ $ref: '#/components/schemas/CapabilitiesEnum'
+ nullable: true
name:
type: string
minLength: 1
@@ -213781,6 +200057,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
value:
type: string
minLength: 1
@@ -213811,6 +200090,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
content_type:
type: string
name:
@@ -213854,6 +200136,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -214026,6 +200311,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -214165,6 +200453,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -214278,12 +200569,32 @@ components:
type: string
readOnly: true
additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
PatchedDeviceTypeToSoftwareImageFileRequest:
type: object
description: |-
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
device_type:
type: object
properties:
@@ -214320,6 +200631,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
operator:
$ref: '#/components/schemas/OperatorEnum'
weight:
@@ -214363,6 +200677,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
content_type:
type: string
name:
@@ -214520,6 +200837,9 @@ components:
type: object
description: Extend ValidatedModelSerializer with a `relationships` field.
properties:
+ id:
+ type: string
+ format: uuid
content_type:
type: string
owner_content_type:
@@ -214659,6 +200979,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -214812,10 +201135,30 @@ components:
type: string
readOnly: true
additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
PatchedGitRepositoryRequest:
type: object
description: Git repositories defined as a data source.
properties:
+ id:
+ type: string
+ format: uuid
provided_contents:
type: array
items:
@@ -214970,12 +201313,39 @@ components:
type: string
readOnly: true
additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
PatchedGraphQLQueryRequest:
type: object
description: |-
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
+ owner_content_type:
+ type: string
+ nullable: true
+ owner_object_id:
+ type: string
+ format: uuid
+ nullable: true
name:
type: string
minLength: 1
@@ -215000,6 +201370,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
address:
type: string
minLength: 1
@@ -215240,6 +201613,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
is_source:
type: boolean
description: Is source address on interface
@@ -215314,6 +201690,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
content_type:
type: string
object_id:
@@ -215337,6 +201716,9 @@ components:
type: object
description: InterfaceRedundancyGroupAssociation Serializer.
properties:
+ id:
+ type: string
+ format: uuid
priority:
type: integer
maximum: 32767
@@ -215371,11 +201753,53 @@ components:
url:
type: string
format: uri
+ PatchedInterfaceVDCAssignmentRequest:
+ type: object
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ properties:
+ id:
+ type: string
+ format: uuid
+ virtual_device_context:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ interface:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
PatchedInventoryItemRequest:
type: object
description: Add a `tree_depth` field to non-nested model serializers based
on django-tree-queries.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -215616,6 +202040,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
content_types:
type: array
items:
@@ -215673,6 +202100,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
content_types:
type: array
items:
@@ -215814,6 +202244,203 @@ components:
type: string
readOnly: true
additionalProperties: true
+ PatchedJobQueueAssignmentRequest:
+ type: object
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ properties:
+ id:
+ type: string
+ format: uuid
+ job:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ job_queue:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ PatchedJobQueueRequest:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ description:
+ type: string
+ maxLength: 255
+ queue_type:
+ $ref: '#/components/schemas/QueueTypeEnum'
+ tenant:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
PatchedJobRequest:
type: object
description: |-
@@ -215821,6 +202448,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
grouping:
type: string
minLength: 1
@@ -215840,6 +202470,10 @@ components:
has_sensitive_variables:
type: boolean
description: Whether this job contains sensitive variables
+ is_singleton:
+ type: boolean
+ description: Whether this job should fail to run if another instance of
+ this job is already running
approval_required:
type: boolean
description: Whether the job requires approval from another user before
@@ -215863,9 +202497,6 @@ components:
minimum: 0
description: Maximum runtime in seconds before the job will be forcibly
terminated.
Set to 0 to use Nautobot system default
- task_queues:
- description: Comma separated list of task queues that this job can run on.
- A blank list will use the default queue
grouping_override:
type: boolean
description: If set, the configured grouping will remain even if the underlying
@@ -215902,10 +202533,33 @@ components:
type: boolean
description: If set, the configured value will remain even if the underlying
Job source code changes
- task_queues_override:
+ job_queues_override:
type: boolean
description: If set, the configured value will remain even if the underlying
Job source code changes
+ default_job_queue_override:
+ type: boolean
+ description: If set, the configured value will remain even if the underlying
+ Job source code changes
+ is_singleton_override:
+ type: boolean
+ description: If set, the configured value will remain even if the underlying
+ Job source code changes
+ default_job_queue:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
tags:
type: array
items:
@@ -216034,6 +202688,9 @@ components:
description: Add a `tree_depth` field to non-nested model serializers based
on django-tree-queries.
properties:
+ id:
+ type: string
+ format: uuid
time_zone:
type: string
nullable: true
@@ -216080,9 +202737,9 @@ components:
maxLength: 255
contact_email:
type: string
- format: email
- title: Contact E-mail
maxLength: 254
+ title: Contact E-mail
+ format: email
comments:
type: string
parent:
@@ -216275,6 +202932,9 @@ components:
description: Add a `tree_depth` field to non-nested model serializers based
on django-tree-queries.
properties:
+ id:
+ type: string
+ format: uuid
content_types:
type: array
items:
@@ -216419,6 +203079,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -216538,6 +203201,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
value:
type: string
minLength: 1
@@ -216569,6 +203235,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
content_types:
type: array
items:
@@ -216690,237 +203359,423 @@ components:
type: string
readOnly: true
additionalProperties: true
- PatchedModuleBayRequest:
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ PatchedModuleBayRequest:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ requires_first_party_modules:
+ type: boolean
+ description: This bay will only accept modules from the same manufacturer
+ as the parent device or module
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ position:
+ type: string
+ description: The position of the module bay within the parent device/module
+ maxLength: 255
+ label:
+ type: string
+ description: Physical label
+ maxLength: 255
+ description:
+ type: string
+ maxLength: 255
+ parent_device:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ parent_module:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ module_family:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ description: Module family that can be installed in this bay
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ PatchedModuleBayTemplateRequest:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ position:
+ type: string
+ description: The position of the module bay within the device or module
+ maxLength: 255
+ label:
+ type: string
+ description: Physical label
+ maxLength: 255
+ description:
+ type: string
+ maxLength: 255
+ requires_first_party_modules:
+ type: boolean
+ description: This bay will only accept modules from the same manufacturer
+ as the parent device or module
+ device_type:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ module_type:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ module_family:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ description: Module family that can be installed in this bay. Leave blank
+ for no restriction.
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ PatchedModuleFamilyRequest:
type: object
- description: |-
- Base class to use for serializers based on OrganizationalModel or PrimaryModel.
-
- Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ description: API serializer for ModuleFamily objects.
properties:
- name:
- type: string
- minLength: 1
- maxLength: 255
- position:
- type: string
- description: The position of the module bay within the parent device/module
- maxLength: 255
- label:
- type: string
- description: Physical label
- maxLength: 255
- description:
+ id:
type: string
- maxLength: 255
- parent_device:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
- nullable: true
- parent_module:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
- nullable: true
- custom_fields:
- type: object
- additionalProperties: {}
- relationships:
- type: object
- additionalProperties:
- type: object
- required:
- - id
- - url
- - label
- - type
- properties:
- id:
- type: string
- format: uuid
- readOnly: true
- url:
- type: string
- format: uri
- readOnly: true
- label:
- type: string
- readOnly: true
- type:
- type: string
- readOnly: true
- example: one-to-many
- source:
- type: object
- properties:
- label:
- type: string
- readOnly: true
- object_type:
- type: string
- readOnly: true
- example: dcim.site
- objects:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- format: uuid
- url:
- type: string
- format: uri
- readOnly: true
- display:
- type: string
- readOnly: true
- additionalProperties: true
- destination:
- type: object
- properties:
- label:
- type: string
- readOnly: true
- object_type:
- type: string
- readOnly: true
- example: dcim.site
- objects:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- format: uuid
- url:
- type: string
- format: uri
- readOnly: true
- display:
- type: string
- readOnly: true
- additionalProperties: true
- peer:
- type: object
- properties:
- label:
- type: string
- readOnly: true
- object_type:
- type: string
- readOnly: true
- example: dcim.site
- objects:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- format: uuid
- url:
- type: string
- format: uri
- readOnly: true
- display:
- type: string
- readOnly: true
- additionalProperties: true
- tags:
- type: array
- items:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
- PatchedModuleBayTemplateRequest:
- type: object
- description: |-
- Base class to use for serializers based on OrganizationalModel or PrimaryModel.
-
- Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
- properties:
+ format: uuid
name:
type: string
minLength: 1
maxLength: 255
- position:
- type: string
- description: The position of the module bay within the device or module
- maxLength: 255
- label:
- type: string
- description: Physical label
- maxLength: 255
description:
type: string
maxLength: 255
- device_type:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
- nullable: true
- module_type:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
- nullable: true
custom_fields:
type: object
additionalProperties: {}
@@ -217034,6 +203889,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
serial:
type: string
nullable: true
@@ -217268,6 +204126,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
model:
type: string
minLength: 1
@@ -217293,6 +204154,22 @@ components:
url:
type: string
format: uri
+ module_family:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
custom_fields:
type: object
additionalProperties: {}
@@ -217423,6 +204300,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -217586,6 +204466,9 @@ components:
- supports `?depth` query parameter. It is passed in as `nested_depth` to the `build_nested_field()` function
to enable the dynamic generation of nested serializers.
properties:
+ id:
+ type: string
+ format: uuid
assigned_object_type:
type: string
assigned_object_id:
@@ -217616,6 +204499,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
assigned_object_type:
type: string
value:
@@ -217678,6 +204564,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
object_types:
type: array
items:
@@ -217738,6 +204627,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -217884,17 +204776,30 @@ components:
type: string
readOnly: true
additionalProperties: true
- PatchedPowerPanelRequest:
+ PatchedPrefixLocationAssignmentRequest:
type: object
description: |-
- Base class to use for serializers based on OrganizationalModel or PrimaryModel.
-
- Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
- name:
+ id:
type: string
- minLength: 1
- maxLength: 255
+ format: uuid
+ prefix:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
location:
type: object
properties:
@@ -217910,7 +204815,26 @@ components:
url:
type: string
format: uri
- rack_group:
+ PatchedProviderNetworkRequest:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ description:
+ type: string
+ maxLength: 255
+ comments:
+ type: string
+ provider:
type: object
properties:
id:
@@ -217925,7 +204849,23 @@ components:
url:
type: string
format: uri
- nullable: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
custom_fields:
type: object
additionalProperties: {}
@@ -218032,90 +204972,41 @@ components:
type: string
readOnly: true
additionalProperties: true
- tags:
- type: array
- items:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
- PatchedPrefixLocationAssignmentRequest:
- type: object
- description: |-
- Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
- validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
- properties:
- prefix:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
- location:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
- PatchedProviderNetworkRequest:
+ PatchedProviderRequest:
type: object
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
maxLength: 255
- description:
+ asn:
+ type: integer
+ maximum: 4294967295
+ minimum: 1
+ format: int64
+ nullable: true
+ description: 32-bit autonomous system number
+ account:
type: string
+ title: Account number
maxLength: 255
+ portal_url:
+ type: string
+ format: uri
+ maxLength: 200
+ noc_contact:
+ type: string
+ admin_contact:
+ type: string
comments:
type: string
- provider:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
tags:
type: array
items:
@@ -218239,55 +205130,27 @@ components:
type: string
readOnly: true
additionalProperties: true
- PatchedProviderRequest:
+ PatchedRIRRequest:
type: object
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
maxLength: 255
- asn:
- type: integer
- maximum: 4294967295
- minimum: 1
- format: int64
- nullable: true
- description: 32-bit autonomous system number
- account:
+ is_private:
+ type: boolean
+ title: Private
+ description: IP space managed by this RIR is considered private
+ description:
type: string
- title: Account number
maxLength: 255
- portal_url:
- type: string
- format: uri
- maxLength: 200
- noc_contact:
- type: string
- admin_contact:
- type: string
- comments:
- type: string
- tags:
- type: array
- items:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
custom_fields:
type: object
additionalProperties: {}
@@ -218394,24 +205257,52 @@ components:
type: string
readOnly: true
additionalProperties: true
- PatchedRIRRequest:
+ PatchedRackGroupRequest:
type: object
- description: |-
- Base class to use for serializers based on OrganizationalModel or PrimaryModel.
-
- Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ description: Add a `tree_depth` field to non-nested model serializers based
+ on django-tree-queries.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
maxLength: 255
- is_private:
- type: boolean
- title: Private
- description: IP space managed by this RIR is considered private
description:
type: string
maxLength: 255
+ parent:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ location:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
custom_fields:
type: object
additionalProperties: {}
@@ -218518,19 +205409,38 @@ components:
type: string
readOnly: true
additionalProperties: true
- PatchedRackGroupRequest:
+ PatchedRackReservationRequest:
type: object
- description: Add a `tree_depth` field to non-nested model serializers based
- on django-tree-queries.
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
- name:
+ id:
type: string
- minLength: 1
- maxLength: 255
+ format: uuid
+ units:
+ description: List of rack unit numbers to reserve
description:
type: string
+ minLength: 1
maxLength: 255
- parent:
+ rack:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ tenant:
type: object
properties:
id:
@@ -218546,7 +205456,7 @@ components:
type: string
format: uri
nullable: true
- location:
+ user:
type: object
properties:
id:
@@ -218561,6 +205471,8 @@ components:
url:
type: string
format: uri
+ description: User to associate to reservations. If unspecified, the current
+ user will be used.
custom_fields:
type: object
additionalProperties: {}
@@ -218667,67 +205579,86 @@ components:
type: string
readOnly: true
additionalProperties: true
- PatchedRackReservationRequest:
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ PatchedRadioProfileRequest:
type: object
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
- units:
- description: List of rack unit numbers to reserve
- description:
+ id:
+ type: string
+ format: uuid
+ channel_width:
+ type: array
+ items:
+ $ref: '#/components/schemas/ChannelWidthEnum'
+ allowed_channel_list:
+ type: array
+ items:
+ type: integer
+ name:
type: string
minLength: 1
maxLength: 255
- rack:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
- tenant:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
+ frequency:
+ oneOf:
+ - $ref: '#/components/schemas/FrequencyEnum'
+ - $ref: '#/components/schemas/BlankEnum'
+ tx_power_min:
+ type: integer
+ maximum: 2147483647
+ minimum: -2147483648
nullable: true
- user:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
- description: User to associate to reservations. If unspecified, the current
- user will be used.
+ title: Transmit Power Minimum
+ tx_power_max:
+ type: integer
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Transmit Power Maximum
+ regulatory_domain:
+ $ref: '#/components/schemas/RegulatoryDomainEnum'
+ rx_power_min:
+ type: integer
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Receive Power Minimum
+ supported_data_rates:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
custom_fields:
type: object
additionalProperties: {}
@@ -218857,6 +205788,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
source_type:
type: string
destination_type:
@@ -218888,6 +205822,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
source_type:
type: string
destination_type:
@@ -218951,6 +205888,9 @@ components:
type: object
description: Serializer for `Role` objects.
properties:
+ id:
+ type: string
+ format: uuid
content_types:
type: array
items:
@@ -219086,6 +206026,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -219239,6 +206182,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -219276,6 +206222,9 @@ components:
type: object
description: Serializer for `Secret` objects.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -219411,15 +206360,204 @@ components:
type: string
readOnly: true
additionalProperties: true
- PatchedSecretsGroupAssociationRequest:
+ PatchedSecretsGroupAssociationRequest:
+ type: object
+ description: Serializer for `SecretsGroupAssociation` objects.
+ properties:
+ id:
+ type: string
+ format: uuid
+ access_type:
+ $ref: '#/components/schemas/AccessTypeEnum'
+ secret_type:
+ $ref: '#/components/schemas/SecretTypeEnum'
+ secrets_group:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ secret:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ PatchedSecretsGroupRequest:
+ type: object
+ description: Serializer for `SecretsGroup` objects.
+ properties:
+ id:
+ type: string
+ format: uuid
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ description:
+ type: string
+ maxLength: 255
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ PatchedSoftwareImageFileRequest:
type: object
- description: Serializer for `SecretsGroupAssociation` objects.
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
- access_type:
- $ref: '#/components/schemas/AccessTypeEnum'
- secret_type:
- $ref: '#/components/schemas/SecretTypeEnum'
- secrets_group:
+ id:
+ type: string
+ format: uuid
+ image_file_name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ image_file_checksum:
+ type: string
+ maxLength: 256
+ hashing_algorithm:
+ description: Hashing algorithm for image file checksum
+ oneOf:
+ - $ref: '#/components/schemas/HashingAlgorithmEnum'
+ - $ref: '#/components/schemas/BlankEnum'
+ image_file_size:
+ type: integer
+ maximum: 9223372036854775807
+ minimum: 0
+ format: int64
+ nullable: true
+ description: Image file size in bytes
+ download_url:
+ type: string
+ format: uri
+ maxLength: 200
+ default_image:
+ type: boolean
+ description: Is the default image for this software version
+ software_version:
type: object
properties:
id:
@@ -219434,7 +206572,23 @@ components:
url:
type: string
format: uri
- secret:
+ external_integration:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ status:
type: object
properties:
id:
@@ -219449,17 +206603,6 @@ components:
url:
type: string
format: uri
- PatchedSecretsGroupRequest:
- type: object
- description: Serializer for `SecretsGroup` objects.
- properties:
- name:
- type: string
- minLength: 1
- maxLength: 255
- description:
- type: string
- maxLength: 255
custom_fields:
type: object
additionalProperties: {}
@@ -219566,40 +206709,60 @@ components:
type: string
readOnly: true
additionalProperties: true
- PatchedSoftwareImageFileRequest:
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ PatchedSoftwareVersionRequest:
type: object
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
- image_file_name:
+ id:
+ type: string
+ format: uuid
+ version:
type: string
minLength: 1
maxLength: 255
- image_file_checksum:
+ alias:
type: string
- maxLength: 256
- hashing_algorithm:
- description: Hashing algorithm for image file checksum
- oneOf:
- - $ref: '#/components/schemas/HashingAlgorithmEnum'
- - $ref: '#/components/schemas/BlankEnum'
- image_file_size:
- type: integer
- maximum: 9223372036854775807
- minimum: 0
- format: int64
+ description: Optional alternative label for this version
+ maxLength: 255
+ release_date:
+ type: string
+ format: date
nullable: true
- description: Image file size in bytes
- download_url:
+ end_of_support_date:
+ type: string
+ format: date
+ nullable: true
+ documentation_url:
type: string
format: uri
maxLength: 200
- default_image:
+ long_term_support:
type: boolean
- description: Is the default image for this software version
- software_version:
+ description: Is a Long Term Support version
+ pre_release:
+ type: boolean
+ description: Is a Pre-Release version
+ platform:
type: object
properties:
id:
@@ -219752,55 +206915,22 @@ components:
url:
type: string
format: uri
- PatchedSoftwareVersionRequest:
+ PatchedStaticGroupAssociationRequest:
type: object
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
- version:
- type: string
- minLength: 1
- maxLength: 255
- alias:
- type: string
- description: Optional alternative label for this version
- maxLength: 255
- release_date:
+ id:
type: string
- format: date
- nullable: true
- end_of_support_date:
+ format: uuid
+ associated_object_type:
type: string
- format: date
- nullable: true
- documentation_url:
+ associated_object_id:
type: string
- format: uri
- maxLength: 200
- long_term_support:
- type: boolean
- description: Is a Long Term Support version
- pre_release:
- type: boolean
- description: Is a Pre-Release version
- platform:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
- status:
+ format: uuid
+ dynamic_group:
type: object
properties:
id:
@@ -219921,50 +207051,30 @@ components:
type: string
readOnly: true
additionalProperties: true
- tags:
- type: array
- items:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
- PatchedStaticGroupAssociationRequest:
+ PatchedStatusRequest:
type: object
- description: |-
- Base class to use for serializers based on OrganizationalModel or PrimaryModel.
-
- Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ description: Serializer for `Status` objects.
properties:
- associated_object_type:
- type: string
- associated_object_id:
+ id:
type: string
format: uuid
- dynamic_group:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
+ content_types:
+ type: array
+ items:
+ type: string
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ color:
+ type: string
+ minLength: 1
+ description: RGB color in hexadecimal (e.g. 00ff00)
+ pattern: ^[0-9a-f]{6}$
+ maxLength: 6
+ description:
+ type: string
+ maxLength: 255
custom_fields:
type: object
additionalProperties: {}
@@ -220071,27 +207181,32 @@ components:
type: string
readOnly: true
additionalProperties: true
- PatchedStatusRequest:
+ PatchedSupportedDataRateRequest:
type: object
- description: Serializer for `Status` objects.
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
- content_types:
- type: array
- items:
- type: string
- name:
- type: string
- minLength: 1
- maxLength: 255
- color:
- type: string
- minLength: 1
- description: RGB color in hexadecimal (e.g. 00ff00)
- pattern: ^[0-9a-f]{6}$
- maxLength: 6
- description:
+ id:
type: string
- maxLength: 255
+ format: uuid
+ standard:
+ $ref: '#/components/schemas/StandardEnum'
+ rate:
+ type: integer
+ maximum: 2147483647
+ minimum: 0
+ title: Rate (Kbps)
+ mcs_index:
+ type: integer
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Modulation and Coding Scheme (MCS) Index
+ description: The Modulation and Coding Scheme (MCS) index is a value used
+ in wireless communications to define the modulation type, coding rate,
+ and number of spatial streams used in a transmission.
custom_fields:
type: object
additionalProperties: {}
@@ -220198,6 +207313,23 @@ components:
type: string
readOnly: true
additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
PatchedTagRequest:
type: object
description: |-
@@ -220205,6 +207337,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
content_types:
type: array
items:
@@ -220335,6 +207470,30 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ phone:
+ type: string
+ default: ''
+ maxLength: 255
+ email:
+ oneOf:
+ - type: string
+ maxLength: 254
+ format: email
+ - type: string
+ maxLength: 254
+ default: ''
+ title: E-mail
+ address:
+ type: string
+ comments:
+ type: string
contacts:
type: array
items:
@@ -220352,24 +207511,6 @@ components:
url:
type: string
format: uri
- name:
- type: string
- minLength: 1
- maxLength: 255
- phone:
- type: string
- default: ''
- maxLength: 255
- email:
- type: string
- format: email
- default: ''
- title: E-mail
- maxLength: 254
- address:
- type: string
- comments:
- type: string
custom_fields:
type: object
additionalProperties: {}
@@ -220476,6 +207617,23 @@ components:
type: string
readOnly: true
additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
PatchedTenantGroupRequest:
type: object
description: |-
@@ -220483,6 +207641,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -220619,6 +207780,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -220773,6 +207937,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
key:
type: string
maxLength: 40
@@ -220793,6 +207960,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
password:
type: string
writeOnly: true
@@ -220823,9 +207993,9 @@ components:
maxLength: 150
email:
type: string
- format: email
- title: Email address
maxLength: 254
+ title: Email address
+ format: email
is_staff:
type: boolean
title: Staff status
@@ -220864,6 +208034,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
view_name:
type: string
minLength: 1
@@ -220905,6 +208078,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -220912,6 +208088,11 @@ components:
description:
type: string
maxLength: 255
+ range:
+ type: string
+ minLength: 1
+ description: Permitted VID range(s) as comma-separated list, default '1-4094'
+ if left blank.
location:
type: object
properties:
@@ -220928,6 +208109,23 @@ components:
type: string
format: uri
nullable: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
custom_fields:
type: object
additionalProperties: {}
@@ -221040,6 +208238,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
vlan:
type: object
properties:
@@ -221077,6 +208278,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
location:
type: object
properties:
@@ -221298,6 +208502,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
rd:
type: string
nullable: true
@@ -221354,12 +208561,31 @@ components:
type: string
format: uri
nullable: true
+ virtual_device_context:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
PatchedVRFPrefixAssignmentRequest:
type: object
description: |-
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
vrf:
type: object
properties:
@@ -221397,6 +208623,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -221614,21 +208843,267 @@ components:
type: string
readOnly: true
additionalProperties: true
- PatchedVirtualChassisRequest:
+ PatchedVirtualChassisRequest:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ domain:
+ type: string
+ maxLength: 255
+ master:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ PatchedVirtualDeviceContextRequest:
type: object
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
maxLength: 255
- domain:
+ identifier:
+ type: integer
+ maximum: 32767
+ minimum: 0
+ nullable: true
+ description: 'Unique identifier provided by the platform being virtualized
+ (Example: Nexus VDC Identifier)'
+ description:
type: string
maxLength: 255
- master:
+ device:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ status:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ role:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ primary_ip4:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ title: Primary IPv4
+ primary_ip6:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ title: Primary IPv6
+ tenant:
type: object
properties:
id:
@@ -221774,6 +209249,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
local_config_context_data:
nullable: true
local_config_context_data_owner_object_id:
@@ -222114,6 +209592,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
content_types:
type: array
items:
@@ -222173,6 +209654,190 @@ components:
description: The specific CA certificate file to use for SSL verification.
Leave blank to use the system defaults.
maxLength: 4096
+ PatchedWirelessNetworkRequest:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ description:
+ type: string
+ maxLength: 255
+ ssid:
+ type: string
+ minLength: 1
+ maxLength: 255
+ mode:
+ $ref: '#/components/schemas/WirelessNetworkModeChoices'
+ enabled:
+ type: boolean
+ authentication:
+ $ref: '#/components/schemas/AuthenticationEnum'
+ hidden:
+ type: boolean
+ secrets_group:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ tenant:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
PatchedWritableCableRequest:
type: object
description: |-
@@ -222180,6 +209845,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
termination_a_type:
type: string
termination_b_type:
@@ -222356,6 +210024,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -222534,6 +210205,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -222694,6 +210368,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -222872,6 +210549,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -223031,6 +210711,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
content_types:
type: array
items:
@@ -223114,6 +210797,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -223288,6 +210974,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
local_config_context_data:
nullable: true
local_config_context_data_owner_object_id:
@@ -223777,6 +211466,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
front_image:
type: string
format: binary
@@ -223971,6 +211663,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -224165,6 +211860,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -224339,6 +212037,9 @@ components:
type: object
description: InterfaceRedundancyGroup Serializer.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -224531,6 +212232,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
mac_address:
type: string
nullable: true
@@ -224554,7 +212258,7 @@ components:
nullable: true
mode:
oneOf:
- - $ref: '#/components/schemas/ModeEnum'
+ - $ref: '#/components/schemas/InterfaceModeChoices'
- $ref: '#/components/schemas/BlankEnum'
type:
$ref: '#/components/schemas/InterfaceTypeChoices'
@@ -224858,6 +212562,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -225019,12 +212726,20 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
maxLength: 255
type:
$ref: '#/components/schemas/PowerFeedTypeChoices'
+ power_path:
+ description: Physical power distribution redundancy path.
+ oneOf:
+ - $ref: '#/components/schemas/PowerPathEnum'
+ - $ref: '#/components/schemas/BlankEnum'
supply:
$ref: '#/components/schemas/SupplyEnum'
phase:
@@ -225042,6 +212757,20 @@ components:
maximum: 100
minimum: 1
description: Maximum permissible draw (percentage)
+ breaker_position:
+ type: integer
+ maximum: 2147483647
+ minimum: 0
+ nullable: true
+ description: Starting circuit breaker position in panel
+ breaker_pole_count:
+ nullable: true
+ description: Number of breaker poles
+ minimum: 0
+ maximum: 32767
+ oneOf:
+ - $ref: '#/components/schemas/BreakerPoleCountEnum'
+ - $ref: '#/components/schemas/NullEnum'
comments:
type: string
cable:
@@ -225075,6 +212804,24 @@ components:
url:
type: string
format: uri
+ description: Source panel that originates this power feed
+ destination_panel:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ description: Destination panel that receives power from this feed
rack:
type: object
properties:
@@ -225236,6 +212983,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -225435,6 +213185,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -225609,6 +213362,189 @@ components:
type: string
readOnly: true
additionalProperties: true
+ PatchedWritablePowerPanelRequest:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ panel_type:
+ oneOf:
+ - $ref: '#/components/schemas/PanelTypeEnum'
+ - $ref: '#/components/schemas/BlankEnum'
+ breaker_position_count:
+ type: integer
+ maximum: 2147483647
+ minimum: 0
+ nullable: true
+ description: Total number of breaker positions in the panel (e.g., 42)
+ power_path:
+ description: Physical power distribution redundancy path.
+ oneOf:
+ - $ref: '#/components/schemas/PowerPathEnum'
+ - $ref: '#/components/schemas/BlankEnum'
+ location:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ rack_group:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
PatchedWritablePowerPortRequest:
type: object
description: |-
@@ -225616,6 +213552,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -225644,6 +213583,12 @@ components:
minimum: 1
nullable: true
description: Allocated power draw (watts)
+ power_factor:
+ type: string
+ format: decimal
+ pattern: ^-?\d{0,2}(?:\.\d{0,2})?$
+ description: Power factor (0.01-1.00) for converting between watts (W) and
+ volt-amps (VA). Defaults to 0.95.
device:
type: object
properties:
@@ -225806,6 +213751,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -225833,6 +213781,12 @@ components:
minimum: 1
nullable: true
description: Allocated power draw (watts)
+ power_factor:
+ type: string
+ format: decimal
+ pattern: ^-?\d{0,2}(?:\.\d{0,2})?$
+ description: Power factor (0.01-1.00) for converting between watts (W) and
+ volt-amps (VA). Defaults to 0.95.
device_type:
type: object
properties:
@@ -225978,6 +213932,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
prefix:
type: string
minLength: 1
@@ -226251,6 +214208,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -226281,7 +214241,7 @@ components:
maximum: 32767
u_height:
type: integer
- maximum: 100
+ maximum: 500
minimum: 1
title: Height (U)
description: Height in rack units
@@ -226516,6 +214476,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -226695,6 +214658,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -226857,6 +214823,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
ports:
type: array
items:
@@ -227054,6 +215023,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
mac_address:
type: string
nullable: true
@@ -227066,7 +215038,7 @@ components:
nullable: true
mode:
oneOf:
- - $ref: '#/components/schemas/ModeEnum'
+ - $ref: '#/components/schemas/InterfaceModeChoices'
- $ref: '#/components/schemas/BlankEnum'
name:
type: string
@@ -227363,7 +215335,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -227449,7 +215420,6 @@ components:
- created
- device_count
- display
- - id
- last_updated
- name
- natural_slug
@@ -227465,6 +215435,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -227673,7 +215646,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -227729,6 +215701,19 @@ components:
default:
value: primary
label: Primary
+ power_path:
+ type: object
+ properties:
+ value:
+ type: string
+ enum:
+ - a
+ - b
+ label:
+ type: string
+ enum:
+ - Path A
+ - Path B
supply:
type: object
properties:
@@ -227761,6 +215746,22 @@ components:
default:
value: single-phase
label: Single phase
+ breaker_pole_count:
+ type: object
+ properties:
+ value:
+ type: integer
+ enum:
+ - 1
+ - 2
+ - 3
+ label:
+ type: string
+ enum:
+ - 1-Pole
+ - 2-Pole
+ - 3-Pole
+ nullable: true
name:
type: string
maxLength: 255
@@ -227777,6 +215778,12 @@ components:
maximum: 100
minimum: 1
description: Maximum permissible draw (percentage)
+ breaker_position:
+ type: integer
+ maximum: 2147483647
+ minimum: 0
+ nullable: true
+ description: Starting circuit breaker position in panel
available_power:
type: integer
readOnly: true
@@ -227813,6 +215820,24 @@ components:
url:
type: string
format: uri
+ description: Source panel that originates this power feed
+ destination_panel:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ description: Destination panel that receives power from this feed
rack:
type: object
properties:
@@ -227887,7 +215912,6 @@ components:
- connected_endpoint_type
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -227911,7 +215935,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -228048,6 +216071,7 @@ components:
- neutrik-powercon-true1
- neutrik-powercon-true1-top
- ubiquiti-smartpower
+ - eaton-c39
- hardwired
- other
label:
@@ -228144,6 +216168,7 @@ components:
- Neutrik powerCON TRUE1
- Neutrik powerCON TRUE1 TOP
- Ubiquiti SmartPower
+ - Eaton C39
- Hardwired
- Other
feed_leg:
@@ -228279,7 +216304,6 @@ components:
- connected_endpoint_type
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -228296,7 +216320,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -228415,6 +216438,7 @@ components:
- neutrik-powercon-true1
- neutrik-powercon-true1-top
- ubiquiti-smartpower
+ - eaton-c39
- hardwired
- other
label:
@@ -228511,6 +216535,7 @@ components:
- Neutrik powerCON TRUE1
- Neutrik powerCON TRUE1 TOP
- Ubiquiti SmartPower
+ - Eaton C39
- Hardwired
- Other
feed_leg:
@@ -228602,7 +216627,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -228703,6 +216727,7 @@ components:
- neutrik-powercon-true1
- neutrik-powercon-true1-top
- ubiquiti-smartpower
+ - eaton-c39
- hardwired
- other
PowerPanel:
@@ -228715,7 +216740,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -228733,12 +216757,60 @@ components:
type: string
example: attribute1_attribute2
readOnly: true
+ panel_type:
+ type: object
+ properties:
+ value:
+ type: string
+ enum:
+ - utility
+ - generator
+ - switchgear
+ - mdp
+ - ups
+ - transfer-switch
+ - pdu
+ - panelboard
+ - mlc
+ - rpp
+ label:
+ type: string
+ enum:
+ - Utility
+ - Generator
+ - Switchgear
+ - Main Distribution Panel (MDP)
+ - Uninterruptible Power Supply (UPS)
+ - Transfer Switch (TS)
+ - Power Distribution Unit (PDU)
+ - Panelboard
+ - Mini Load Center (MLC)
+ - Remote Power Panel (RPP)
+ power_path:
+ type: object
+ properties:
+ value:
+ type: string
+ enum:
+ - a
+ - b
+ label:
+ type: string
+ enum:
+ - Path A
+ - Path B
power_feed_count:
type: integer
readOnly: true
name:
type: string
maxLength: 255
+ breaker_position_count:
+ type: integer
+ maximum: 2147483647
+ minimum: 0
+ nullable: true
+ description: Total number of breaker positions in the panel (e.g., 42)
location:
type: object
properties:
@@ -228807,7 +216879,6 @@ components:
required:
- created
- display
- - id
- last_updated
- location
- name
@@ -228816,174 +216887,11 @@ components:
- object_type
- power_feed_count
- url
- PowerPanelRequest:
- type: object
- description: |-
- Base class to use for serializers based on OrganizationalModel or PrimaryModel.
-
- Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
- properties:
- name:
- type: string
- minLength: 1
- maxLength: 255
- location:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
- rack_group:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
- nullable: true
- custom_fields:
- type: object
- additionalProperties: {}
- relationships:
- type: object
- additionalProperties:
- type: object
- required:
- - id
- - url
- - label
- - type
- properties:
- id:
- type: string
- format: uuid
- readOnly: true
- url:
- type: string
- format: uri
- readOnly: true
- label:
- type: string
- readOnly: true
- type:
- type: string
- readOnly: true
- example: one-to-many
- source:
- type: object
- properties:
- label:
- type: string
- readOnly: true
- object_type:
- type: string
- readOnly: true
- example: dcim.site
- objects:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- format: uuid
- url:
- type: string
- format: uri
- readOnly: true
- display:
- type: string
- readOnly: true
- additionalProperties: true
- destination:
- type: object
- properties:
- label:
- type: string
- readOnly: true
- object_type:
- type: string
- readOnly: true
- example: dcim.site
- objects:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- format: uuid
- url:
- type: string
- format: uri
- readOnly: true
- display:
- type: string
- readOnly: true
- additionalProperties: true
- peer:
- type: object
- properties:
- label:
- type: string
- readOnly: true
- object_type:
- type: string
- readOnly: true
- example: dcim.site
- objects:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- format: uuid
- url:
- type: string
- format: uri
- readOnly: true
- display:
- type: string
- readOnly: true
- additionalProperties: true
- tags:
- type: array
- items:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
- required:
- - location
- - name
+ PowerPathEnum:
+ type: string
+ enum:
+ - a
+ - b
PowerPort:
type: object
description: |-
@@ -228994,7 +216902,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -229265,6 +217172,12 @@ components:
minimum: 1
nullable: true
description: Allocated power draw (watts)
+ power_factor:
+ type: string
+ format: decimal
+ pattern: ^-?\d{0,2}(?:\.\d{0,2})?$
+ description: Power factor (0.01-1.00) for converting between watts (W) and
+ volt-amps (VA). Defaults to 0.95.
device:
type: object
properties:
@@ -229357,7 +217270,6 @@ components:
- connected_endpoint_type
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -229374,7 +217286,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -229627,6 +217538,12 @@ components:
minimum: 1
nullable: true
description: Allocated power draw (watts)
+ power_factor:
+ type: string
+ format: decimal
+ pattern: ^-?\d{0,2}(?:\.\d{0,2})?$
+ description: Power factor (0.01-1.00) for converting between watts (W) and
+ volt-amps (VA). Defaults to 0.95.
device_type:
type: object
properties:
@@ -229675,7 +217592,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -229795,7 +217711,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -230023,11 +217938,28 @@ components:
custom_fields:
type: object
additionalProperties: {}
+ vrfs:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ readOnly: true
required:
- broadcast
- created
- display
- - id
- ip_version
- last_updated
- locations
@@ -230039,6 +217971,7 @@ components:
- prefix_length
- status
- url
+ - vrfs
PrefixLengthRequest:
type: object
description: |-
@@ -230046,14 +217979,15 @@ components:
Since setting of multiple locations on create is not supported, this uses the legacy single-location option.
properties:
+ id:
+ type: string
+ format: uuid
prefix_length:
type: integer
type:
allOf:
- $ref: '#/components/schemas/PrefixTypeChoices'
- default:
- value: network
- label: Network
+ default: network
status:
type: object
properties:
@@ -230294,7 +218228,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -230344,7 +218277,6 @@ components:
format: uri
required:
- display
- - id
- location
- natural_slug
- object_type
@@ -230356,6 +218288,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
prefix:
type: object
properties:
@@ -230400,6 +218335,7 @@ components:
- extras.configcontext
- extras.configcontextschema
- extras.exporttemplate
+ - extras.graphqlquery
- extras.job
type: string
Provider:
@@ -230412,7 +218348,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -230495,7 +218430,6 @@ components:
- circuit_count
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -230512,7 +218446,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -230590,7 +218523,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -230605,6 +218537,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -230762,6 +218697,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -230912,6 +218850,11 @@ components:
additionalProperties: true
required:
- name
+ QueueTypeEnum:
+ enum:
+ - celery
+ - kubernetes
+ type: string
RIR:
type: object
description: |-
@@ -230922,7 +218865,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -230974,7 +218916,6 @@ components:
- assigned_prefix_count
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -230988,6 +218929,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -231117,7 +219061,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -231216,7 +219159,7 @@ components:
maxLength: 255
u_height:
type: integer
- maximum: 100
+ maximum: 500
minimum: 1
title: Height (U)
description: Height in rack units
@@ -231355,7 +219298,6 @@ components:
- created
- device_count
- display
- - id
- last_updated
- location
- name
@@ -231373,7 +219315,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -231455,7 +219396,6 @@ components:
required:
- created
- display
- - id
- last_updated
- location
- name
@@ -231470,6 +219410,9 @@ components:
description: Add a `tree_depth` field to non-nested model serializers based
on django-tree-queries.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -231627,7 +219570,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -231734,77 +219676,451 @@ components:
format: uri
required:
- created
- - description
+ - description
+ - display
+ - last_updated
+ - natural_slug
+ - notes_url
+ - object_type
+ - rack
+ - units
+ - url
+ RackReservationRequest:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ units:
+ description: List of rack unit numbers to reserve
+ description:
+ type: string
+ minLength: 1
+ maxLength: 255
+ rack:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ tenant:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ user:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ description: User to associate to reservations. If unspecified, the current
+ user will be used.
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - description
+ - rack
+ - units
+ RackTypeChoices:
+ type: string
+ enum:
+ - 2-post-frame
+ - 4-post-frame
+ - 4-post-cabinet
+ - wall-frame
+ - wall-frame-vertical
+ - wall-cabinet
+ - wall-cabinet-vertical
+ - other
+ RackUnit:
+ type: object
+ description: A rack unit is an abstraction formed by the set (rack, position,
+ face); it does not exist as a row in the database.
+ properties:
+ id:
+ type: integer
+ readOnly: true
+ name:
+ type: string
+ readOnly: true
+ face:
+ type: object
+ properties:
+ value:
+ type: string
+ enum:
+ - front
+ - rear
+ label:
+ type: string
+ enum:
+ - Front
+ - Rear
+ readOnly: true
+ occupied:
+ type: boolean
+ readOnly: true
+ required:
+ - face
+ - id
+ - name
+ - occupied
+ RadioProfile:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ description: Human friendly display value
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ natural_slug:
+ type: string
+ example: attribute1_attribute2
+ readOnly: true
+ channel_width:
+ type: array
+ items:
+ type: object
+ properties:
+ value:
+ type: integer
+ enum:
+ - 20
+ - 40
+ - 80
+ - 160
+ label:
+ type: string
+ enum:
+ - 20 MHz
+ - 40 MHz
+ - 80 MHz
+ - 160 MHz
+ allowed_channel_list:
+ type: array
+ items:
+ type: integer
+ name:
+ type: string
+ maxLength: 255
+ frequency:
+ oneOf:
+ - $ref: '#/components/schemas/FrequencyEnum'
+ - $ref: '#/components/schemas/BlankEnum'
+ tx_power_min:
+ type: integer
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Transmit Power Minimum
+ tx_power_max:
+ type: integer
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Transmit Power Maximum
+ regulatory_domain:
+ $ref: '#/components/schemas/RegulatoryDomainEnum'
+ rx_power_min:
+ type: integer
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Receive Power Minimum
+ supported_data_rates:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ created:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ last_updated:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ notes_url:
+ type: string
+ format: uri
+ readOnly: true
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - created
- display
- - id
- last_updated
+ - name
- natural_slug
- notes_url
- object_type
- - rack
- - units
+ - regulatory_domain
- url
- RackReservationRequest:
+ RadioProfileRequest:
type: object
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
- units:
- description: List of rack unit numbers to reserve
- description:
+ id:
+ type: string
+ format: uuid
+ channel_width:
+ type: array
+ items:
+ $ref: '#/components/schemas/ChannelWidthEnum'
+ allowed_channel_list:
+ type: array
+ items:
+ type: integer
+ name:
type: string
minLength: 1
maxLength: 255
- rack:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
- tenant:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
+ frequency:
+ oneOf:
+ - $ref: '#/components/schemas/FrequencyEnum'
+ - $ref: '#/components/schemas/BlankEnum'
+ tx_power_min:
+ type: integer
+ maximum: 2147483647
+ minimum: -2147483648
nullable: true
- user:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
- description: User to associate to reservations. If unspecified, the current
- user will be used.
+ title: Transmit Power Minimum
+ tx_power_max:
+ type: integer
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Transmit Power Maximum
+ regulatory_domain:
+ $ref: '#/components/schemas/RegulatoryDomainEnum'
+ rx_power_min:
+ type: integer
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Receive Power Minimum
+ supported_data_rates:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
custom_fields:
type: object
additionalProperties: {}
@@ -231929,53 +220245,8 @@ components:
type: string
format: uri
required:
- - description
- - rack
- - units
- RackTypeChoices:
- type: string
- enum:
- - 2-post-frame
- - 4-post-frame
- - 4-post-cabinet
- - wall-frame
- - wall-frame-vertical
- - wall-cabinet
- - wall-cabinet-vertical
- - other
- RackUnit:
- type: object
- description: A rack unit is an abstraction formed by the set (rack, position,
- face); it does not exist as a row in the database.
- properties:
- id:
- type: integer
- readOnly: true
- name:
- type: string
- readOnly: true
- face:
- type: object
- properties:
- value:
- type: string
- enum:
- - front
- - rear
- label:
- type: string
- enum:
- - Front
- - Rear
- readOnly: true
- occupied:
- type: boolean
- readOnly: true
- required:
- - face
- - id
- name
- - occupied
+ - regulatory_domain
RearPort:
type: object
description: |-
@@ -231986,7 +220257,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -232219,7 +220489,6 @@ components:
- cable_peer_type
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -232237,7 +220506,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -232424,7 +220692,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -232432,6 +220699,135 @@ components:
- object_type
- type
- url
+ RegulatoryDomainEnum:
+ enum:
+ - AD
+ - AE
+ - AL
+ - AM
+ - AU
+ - AR
+ - AT
+ - AZ
+ - BA
+ - BE
+ - BG
+ - BH
+ - BN
+ - BO
+ - BR
+ - BS
+ - BY
+ - BZ
+ - CA
+ - CH
+ - CI
+ - CL
+ - CN
+ - CO
+ - CR
+ - RS
+ - CY
+ - CZ
+ - DE
+ - DK
+ - DO
+ - DZ
+ - EC
+ - EE
+ - EG
+ - ES
+ - FO
+ - FI
+ - FR
+ - GB
+ - GE
+ - GI
+ - GL
+ - GP
+ - GR
+ - GT
+ - GY
+ - HN
+ - HK
+ - HR
+ - HU
+ - IS
+ - IN
+ - ID
+ - IE
+ - IL
+ - IQ
+ - IT
+ - IR
+ - JM
+ - JO
+ - JP
+ - KP
+ - KR
+ - KE
+ - KW
+ - KZ
+ - LB
+ - LI
+ - LK
+ - LT
+ - LU
+ - LV
+ - LY
+ - MA
+ - MC
+ - MD
+ - MK
+ - MO
+ - MQ
+ - MT
+ - MU
+ - MX
+ - MY
+ - NA
+ - NG
+ - NI
+ - NL
+ - 'NO'
+ - NZ
+ - OM
+ - PA
+ - PE
+ - PL
+ - PH
+ - PK
+ - PR
+ - PT
+ - PY
+ - QA
+ - RO
+ - RU
+ - SA
+ - SE
+ - SG
+ - SI
+ - SK
+ - SM
+ - SV
+ - SY
+ - TH
+ - TN
+ - TR
+ - TT
+ - TW
+ - UA
+ - US
+ - UY
+ - UZ
+ - VA
+ - VE
+ - VI
+ - VN
+ - YE
+ - ZA
+ - ZW
+ type: string
Relationship:
type: object
description: |-
@@ -232441,7 +220837,115 @@ components:
id:
type: string
format: uuid
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ description: Human friendly display value
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ natural_slug:
+ type: string
+ example: attribute1_attribute2
+ readOnly: true
+ source_type:
+ type: string
+ destination_type:
+ type: string
+ label:
+ type: string
+ description: Label of the relationship as displayed to users
+ maxLength: 255
+ key:
+ type: string
+ description: Internal relationship key. Please use underscores rather than
+ dashes in this key.
+ maxLength: 255
+ pattern: ^[-a-zA-Z0-9_]+$
+ description:
+ type: string
+ maxLength: 255
+ type:
+ allOf:
+ - $ref: '#/components/schemas/RelationshipTypeChoices'
+ description: Cardinality of this relationship
+ required_on:
+ description: Objects on the specified side MUST implement this relationship.
+ Not permitted for symmetric relationships.
+ oneOf:
+ - $ref: '#/components/schemas/RequiredOnEnum'
+ - $ref: '#/components/schemas/BlankEnum'
+ source_label:
+ type: string
+ description: Label for related destination objects, as displayed on the
+ source object.
+ maxLength: 255
+ source_hidden:
+ type: boolean
+ title: Hide for source object
+ description: Hide this relationship on the source object.
+ source_filter:
+ nullable: true
+ description: Filterset filter matching the applicable source objects of
+ the selected type
+ destination_label:
+ type: string
+ description: Label for related source objects, as displayed on the destination
+ object.
+ maxLength: 255
+ destination_hidden:
+ type: boolean
+ title: Hide for destination object
+ description: Hide this relationship on the destination object.
+ destination_filter:
+ nullable: true
+ description: Filterset filter matching the applicable destination objects
+ of the selected type
+ advanced_ui:
+ type: boolean
+ title: Move to Advanced tab
+ description: Hide this field from the object's primary information tab.
+ It will appear in the "Advanced" tab instead.
+ created:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ last_updated:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ notes_url:
+ type: string
+ format: uri
readOnly: true
+ required:
+ - created
+ - destination_type
+ - display
+ - label
+ - last_updated
+ - natural_slug
+ - notes_url
+ - object_type
+ - source_type
+ - url
+ RelationshipAssociation:
+ type: object
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ properties:
+ id:
+ type: string
+ format: uuid
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -232463,8 +220967,93 @@ components:
type: string
destination_type:
type: string
+ source_id:
+ type: string
+ format: uuid
+ destination_id:
+ type: string
+ format: uuid
+ relationship:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - destination_id
+ - destination_type
+ - display
+ - natural_slug
+ - object_type
+ - relationship
+ - source_id
+ - source_type
+ - url
+ RelationshipAssociationRequest:
+ type: object
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ properties:
+ id:
+ type: string
+ format: uuid
+ source_type:
+ type: string
+ destination_type:
+ type: string
+ source_id:
+ type: string
+ format: uuid
+ destination_id:
+ type: string
+ format: uuid
+ relationship:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - destination_id
+ - destination_type
+ - relationship
+ - source_id
+ - source_type
+ RelationshipRequest:
+ type: object
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ properties:
+ id:
+ type: string
+ format: uuid
+ source_type:
+ type: string
+ destination_type:
+ type: string
label:
type: string
+ minLength: 1
description: Label of the relationship as displayed to users
maxLength: 255
key:
@@ -232517,209 +221106,51 @@ components:
title: Move to Advanced tab
description: Hide this field from the object's primary information tab.
It will appear in the "Advanced" tab instead.
- created:
- type: string
- format: date-time
- readOnly: true
- nullable: true
- last_updated:
- type: string
- format: date-time
- readOnly: true
- nullable: true
- notes_url:
- type: string
- format: uri
- readOnly: true
required:
- - created
- destination_type
- - display
- - id
- label
- - last_updated
- - natural_slug
- - notes_url
- - object_type
- source_type
- - url
- RelationshipAssociation:
+ RelationshipTypeChoices:
+ enum:
+ - one-to-one
+ - symmetric-one-to-one
+ - one-to-many
+ - many-to-many
+ - symmetric-many-to-many
+ type: string
+ RenderJinja:
type: object
- description: |-
- Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
- validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ description: Serializer for RenderJinjaView.
properties:
- id:
- type: string
- format: uuid
- readOnly: true
- object_type:
+ template_code:
type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- readOnly: true
- display:
+ context:
+ type: object
+ additionalProperties: {}
+ rendered_template:
type: string
readOnly: true
- description: Human friendly display value
- url:
- type: string
- format: uri
- readOnly: true
- natural_slug:
- type: string
- example: attribute1_attribute2
+ rendered_template_lines:
+ type: array
+ items:
+ type: string
readOnly: true
- source_type:
- type: string
- destination_type:
- type: string
- source_id:
- type: string
- format: uuid
- destination_id:
- type: string
- format: uuid
- relationship:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
required:
- - destination_id
- - destination_type
- - display
- - id
- - natural_slug
- - object_type
- - relationship
- - source_id
- - source_type
- - url
- RelationshipAssociationRequest:
+ - rendered_template
+ - rendered_template_lines
+ - template_code
+ RenderJinjaRequest:
type: object
- description: |-
- Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
- validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ description: Serializer for RenderJinjaView.
properties:
- source_type:
- type: string
- destination_type:
- type: string
- source_id:
- type: string
- format: uuid
- destination_id:
- type: string
- format: uuid
- relationship:
- type: object
- properties:
- id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- url:
- type: string
- format: uri
- required:
- - destination_id
- - destination_type
- - relationship
- - source_id
- - source_type
- RelationshipRequest:
- type: object
- description: |-
- Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
- validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
- properties:
- source_type:
- type: string
- destination_type:
- type: string
- label:
+ template_code:
type: string
minLength: 1
- description: Label of the relationship as displayed to users
- maxLength: 255
- key:
- type: string
- description: Internal relationship key. Please use underscores rather than
- dashes in this key.
- maxLength: 255
- pattern: ^[-a-zA-Z0-9_]+$
- description:
- type: string
- maxLength: 255
- type:
- allOf:
- - $ref: '#/components/schemas/RelationshipTypeChoices'
- description: Cardinality of this relationship
- required_on:
- description: Objects on the specified side MUST implement this relationship.
- Not permitted for symmetric relationships.
- oneOf:
- - $ref: '#/components/schemas/RequiredOnEnum'
- - $ref: '#/components/schemas/BlankEnum'
- source_label:
- type: string
- description: Label for related destination objects, as displayed on the
- source object.
- maxLength: 255
- source_hidden:
- type: boolean
- title: Hide for source object
- description: Hide this relationship on the source object.
- source_filter:
- nullable: true
- description: Filterset filter matching the applicable source objects of
- the selected type
- destination_label:
- type: string
- description: Label for related source objects, as displayed on the destination
- object.
- maxLength: 255
- destination_hidden:
- type: boolean
- title: Hide for destination object
- description: Hide this relationship on the destination object.
- destination_filter:
- nullable: true
- description: Filterset filter matching the applicable destination objects
- of the selected type
- advanced_ui:
- type: boolean
- title: Move to Advanced tab
- description: Hide this field from the object's primary information tab.
- It will appear in the "Advanced" tab instead.
+ context:
+ type: object
+ additionalProperties: {}
required:
- - destination_type
- - label
- - source_type
- RelationshipTypeChoices:
- enum:
- - one-to-one
- - symmetric-one-to-one
- - one-to-many
- - many-to-many
- - symmetric-many-to-many
- type: string
+ - template_code
RequiredOnEnum:
enum:
- source
@@ -232732,7 +221163,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -232791,7 +221221,6 @@ components:
- content_types
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -232802,6 +221231,9 @@ components:
type: object
description: Serializer for `Role` objects.
properties:
+ id:
+ type: string
+ format: uuid
content_types:
type: array
items:
@@ -232943,7 +221375,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -233021,7 +221452,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -233035,6 +221465,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -233193,7 +221626,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -233255,7 +221687,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -233269,6 +221700,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -233326,7 +221760,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -233344,6 +221777,9 @@ components:
type: string
example: attribute1_attribute2
readOnly: true
+ queue:
+ type: string
+ readOnly: true
time_zone:
type: string
name:
@@ -233361,12 +221797,6 @@ components:
args: {}
kwargs: {}
celery_kwargs: {}
- queue:
- type: string
- title: Queue Override
- description: Queue defined in CELERY_TASK_QUEUES. Leave empty for default
- queuing.
- maxLength: 255
one_off:
type: boolean
title: One-off Task
@@ -233432,6 +221862,23 @@ components:
type: string
format: uri
nullable: true
+ job_queue:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ title: Job Queue Override
user:
type: object
properties:
@@ -233470,12 +221917,12 @@ components:
- approved_at
- date_changed
- display
- - id
- interval
- last_run_at
- name
- natural_slug
- object_type
+ - queue
- start_time
- task
- total_run_count
@@ -233487,7 +221934,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -233552,7 +221998,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -233564,6 +222009,9 @@ components:
type: object
description: Serializer for `Secret` objects.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -233704,10 +222152,16 @@ components:
- provider
SecretTypeEnum:
enum:
+ - authentication-key
+ - authentication-protocol
- key
+ - notes
- password
+ - private-algorithm
+ - private-key
- secret
- token
+ - url
- username
type: string
SecretsGroup:
@@ -233717,7 +222171,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -233779,7 +222232,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -233794,7 +222246,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -233849,7 +222300,6 @@ components:
required:
- access_type
- display
- - id
- natural_slug
- object_type
- secret
@@ -233860,6 +222310,9 @@ components:
type: object
description: Serializer for `SecretsGroupAssociation` objects.
properties:
+ id:
+ type: string
+ format: uuid
access_type:
$ref: '#/components/schemas/AccessTypeEnum'
secret_type:
@@ -233903,6 +222356,9 @@ components:
type: object
description: Serializer for `SecretsGroup` objects.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -234028,7 +222484,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -234160,7 +222615,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -234183,7 +222637,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -234241,6 +222694,22 @@ components:
url:
type: string
format: uri
+ external_integration:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
status:
type: object
properties:
@@ -234293,7 +222762,6 @@ components:
required:
- created
- display
- - id
- image_file_name
- last_updated
- natural_slug
@@ -234309,6 +222777,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
image_file_name:
type: string
minLength: 1
@@ -234350,6 +222821,22 @@ components:
url:
type: string
format: uri
+ external_integration:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
status:
type: object
properties:
@@ -234502,7 +222989,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -234612,7 +223098,6 @@ components:
required:
- created
- display
- - id
- last_updated
- natural_slug
- notes_url
@@ -234628,6 +223113,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
version:
type: string
minLength: 1
@@ -234811,6 +223299,16 @@ components:
- platform
- status
- version
+ StandardEnum:
+ enum:
+ - 802.11a
+ - 802.11b
+ - 802.11g
+ - 802.11n
+ - 802.11ac
+ - 802.11ax
+ - 802.11be
+ type: string
StaticGroupAssociation:
type: object
description: |-
@@ -234821,7 +223319,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -234887,7 +223384,6 @@ components:
- created
- display
- dynamic_group
- - id
- last_updated
- natural_slug
- notes_url
@@ -234900,6 +223396,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
associated_object_type:
type: string
associated_object_id:
@@ -235037,7 +223536,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -235091,7 +223589,6 @@ components:
- content_types
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -235102,6 +223599,467 @@ components:
type: object
description: Serializer for `Status` objects.
properties:
+ id:
+ type: string
+ format: uuid
+ content_types:
+ type: array
+ items:
+ type: string
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ color:
+ type: string
+ minLength: 1
+ description: RGB color in hexadecimal (e.g. 00ff00)
+ pattern: ^[0-9a-f]{6}$
+ maxLength: 6
+ description:
+ type: string
+ maxLength: 255
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ required:
+ - content_types
+ - name
+ SubdeviceRoleEnum:
+ type: string
+ enum:
+ - parent
+ - child
+ SupplyEnum:
+ type: string
+ enum:
+ - ac
+ - dc
+ SupportedDataRate:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ description: Human friendly display value
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ natural_slug:
+ type: string
+ example: attribute1_attribute2
+ readOnly: true
+ standard:
+ $ref: '#/components/schemas/StandardEnum'
+ rate:
+ type: integer
+ maximum: 2147483647
+ minimum: 0
+ title: Rate (Kbps)
+ mcs_index:
+ type: integer
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Modulation and Coding Scheme (MCS) Index
+ description: The Modulation and Coding Scheme (MCS) index is a value used
+ in wireless communications to define the modulation type, coding rate,
+ and number of spatial streams used in a transmission.
+ created:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ last_updated:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ notes_url:
+ type: string
+ format: uri
+ readOnly: true
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - created
+ - display
+ - last_updated
+ - natural_slug
+ - notes_url
+ - object_type
+ - rate
+ - standard
+ - url
+ SupportedDataRateRequest:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ standard:
+ $ref: '#/components/schemas/StandardEnum'
+ rate:
+ type: integer
+ maximum: 2147483647
+ minimum: 0
+ title: Rate (Kbps)
+ mcs_index:
+ type: integer
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Modulation and Coding Scheme (MCS) Index
+ description: The Modulation and Coding Scheme (MCS) index is a value used
+ in wireless communications to define the modulation type, coding rate,
+ and number of spatial streams used in a transmission.
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - rate
+ - standard
+ Tag:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ description: Human friendly display value
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ natural_slug:
+ type: string
+ example: attribute1_attribute2
+ readOnly: true
+ tagged_items:
+ type: integer
+ readOnly: true
+ content_types:
+ type: array
+ items:
+ type: string
+ name:
+ type: string
+ maxLength: 255
+ color:
+ type: string
+ description: RGB color in hexadecimal (e.g. 00ff00)
+ pattern: ^[0-9a-f]{6}$
+ maxLength: 6
+ description:
+ type: string
+ maxLength: 255
+ created:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ last_updated:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ notes_url:
+ type: string
+ format: uri
+ readOnly: true
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ required:
+ - content_types
+ - created
+ - display
+ - last_updated
+ - name
+ - natural_slug
+ - notes_url
+ - object_type
+ - tagged_items
+ - url
+ TagRequest:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
content_types:
type: array
items:
@@ -235228,17 +224186,7 @@ components:
required:
- content_types
- name
- SubdeviceRoleEnum:
- type: string
- enum:
- - parent
- - child
- SupplyEnum:
- type: string
- enum:
- - ac
- - dc
- Tag:
+ Team:
type: object
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
@@ -235248,7 +224196,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -235266,214 +224213,26 @@ components:
type: string
example: attribute1_attribute2
readOnly: true
- tagged_items:
- type: integer
- readOnly: true
- content_types:
- type: array
- items:
- type: string
name:
type: string
maxLength: 255
- color:
- type: string
- description: RGB color in hexadecimal (e.g. 00ff00)
- pattern: ^[0-9a-f]{6}$
- maxLength: 6
- description:
- type: string
- maxLength: 255
- created:
- type: string
- format: date-time
- readOnly: true
- nullable: true
- last_updated:
- type: string
- format: date-time
- readOnly: true
- nullable: true
- notes_url:
- type: string
- format: uri
- readOnly: true
- custom_fields:
- type: object
- additionalProperties: {}
- required:
- - content_types
- - created
- - display
- - id
- - last_updated
- - name
- - natural_slug
- - notes_url
- - object_type
- - tagged_items
- - url
- TagRequest:
- type: object
- description: |-
- Base class to use for serializers based on OrganizationalModel or PrimaryModel.
-
- Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
- properties:
- content_types:
- type: array
- items:
- type: string
- name:
- type: string
- minLength: 1
- maxLength: 255
- color:
- type: string
- minLength: 1
- description: RGB color in hexadecimal (e.g. 00ff00)
- pattern: ^[0-9a-f]{6}$
- maxLength: 6
- description:
+ phone:
type: string
+ default: ''
maxLength: 255
- custom_fields:
- type: object
- additionalProperties: {}
- relationships:
- type: object
- additionalProperties:
- type: object
- required:
- - id
- - url
- - label
- - type
- properties:
- id:
- type: string
- format: uuid
- readOnly: true
- url:
- type: string
- format: uri
- readOnly: true
- label:
- type: string
- readOnly: true
- type:
- type: string
- readOnly: true
- example: one-to-many
- source:
- type: object
- properties:
- label:
- type: string
- readOnly: true
- object_type:
- type: string
- readOnly: true
- example: dcim.site
- objects:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- format: uuid
- url:
- type: string
- format: uri
- readOnly: true
- display:
- type: string
- readOnly: true
- additionalProperties: true
- destination:
- type: object
- properties:
- label:
- type: string
- readOnly: true
- object_type:
- type: string
- readOnly: true
- example: dcim.site
- objects:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- format: uuid
- url:
- type: string
- format: uri
- readOnly: true
- display:
- type: string
- readOnly: true
- additionalProperties: true
- peer:
- type: object
- properties:
- label:
- type: string
- readOnly: true
- object_type:
- type: string
- readOnly: true
- example: dcim.site
- objects:
- type: array
- items:
- type: object
- properties:
- id:
- type: string
- format: uuid
- url:
- type: string
- format: uri
- readOnly: true
- display:
- type: string
- readOnly: true
- additionalProperties: true
- required:
- - content_types
- - name
- Team:
- type: object
- description: |-
- Base class to use for serializers based on OrganizationalModel or PrimaryModel.
-
- Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
- properties:
- id:
- type: string
- format: uuid
- readOnly: true
- object_type:
- type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
- readOnly: true
- display:
- type: string
- readOnly: true
- description: Human friendly display value
- url:
+ email:
+ oneOf:
+ - type: string
+ maxLength: 254
+ format: email
+ - type: string
+ maxLength: 254
+ default: ''
+ title: E-mail
+ address:
type: string
- format: uri
- readOnly: true
- natural_slug:
+ comments:
type: string
- example: attribute1_attribute2
- readOnly: true
contacts:
type: array
items:
@@ -235491,23 +224250,6 @@ components:
url:
type: string
format: uri
- name:
- type: string
- maxLength: 255
- phone:
- type: string
- default: ''
- maxLength: 255
- email:
- type: string
- format: email
- default: ''
- title: E-mail
- maxLength: 254
- address:
- type: string
- comments:
- type: string
created:
type: string
format: date-time
@@ -235525,10 +224267,26 @@ components:
custom_fields:
type: object
additionalProperties: {}
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -235542,6 +224300,30 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ phone:
+ type: string
+ default: ''
+ maxLength: 255
+ email:
+ oneOf:
+ - type: string
+ maxLength: 254
+ format: email
+ - type: string
+ maxLength: 254
+ default: ''
+ title: E-mail
+ address:
+ type: string
+ comments:
+ type: string
contacts:
type: array
items:
@@ -235559,24 +224341,6 @@ components:
url:
type: string
format: uri
- name:
- type: string
- minLength: 1
- maxLength: 255
- phone:
- type: string
- default: ''
- maxLength: 255
- email:
- type: string
- format: email
- default: ''
- title: E-mail
- maxLength: 254
- address:
- type: string
- comments:
- type: string
custom_fields:
type: object
additionalProperties: {}
@@ -235683,6 +224447,23 @@ components:
type: string
readOnly: true
additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
required:
- name
Tenant:
@@ -235695,7 +224476,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -235804,7 +224584,6 @@ components:
- created
- device_count
- display
- - id
- ipaddress_count
- last_updated
- name
@@ -235827,7 +224606,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -235894,7 +224672,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -235910,6 +224687,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -236048,6 +224828,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -236212,7 +224995,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -236251,7 +225033,6 @@ components:
required:
- created
- display
- - id
- natural_slug
- object_type
- url
@@ -236261,6 +225042,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
key:
type: string
maxLength: 40
@@ -236284,7 +225068,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -236325,9 +225108,9 @@ components:
maxLength: 150
email:
type: string
- format: email
- title: Email address
maxLength: 254
+ title: Email address
+ format: email
is_staff:
type: boolean
title: Staff status
@@ -236384,7 +225167,6 @@ components:
required:
- default_saved_views
- display
- - id
- natural_slug
- object_type
- url
@@ -236395,6 +225177,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
password:
type: string
writeOnly: true
@@ -236425,9 +225210,9 @@ components:
maxLength: 150
email:
type: string
- format: email
- title: Email address
maxLength: 254
+ title: Email address
+ format: email
is_staff:
type: boolean
title: Staff status
@@ -236471,7 +225256,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -236524,7 +225308,6 @@ components:
format: uri
required:
- display
- - id
- natural_slug
- object_type
- saved_view
@@ -236537,6 +225320,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
view_name:
type: string
minLength: 1
@@ -236585,7 +225371,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -236680,7 +225465,262 @@ components:
type: string
format: uri
nullable: true
- locations:
+ locations:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ created:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ last_updated:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ notes_url:
+ type: string
+ format: uri
+ readOnly: true
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ computed_fields:
+ type: object
+ additionalProperties: {}
+ readOnly: true
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ required:
+ - computed_fields
+ - created
+ - display
+ - last_updated
+ - locations
+ - name
+ - natural_slug
+ - notes_url
+ - object_type
+ - prefix_count
+ - status
+ - url
+ - vid
+ VLANAllocationRequest:
+ type: object
+ description: Input serializer for POST to /api/ipam/vlan-groups//available-vlans/,
+ i.e. allocating VLAN from VLANGroup.
+ properties:
+ id:
+ type: string
+ format: uuid
+ vid:
+ type: integer
+ maximum: 4094
+ minimum: 1
+ vlan_group:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ status:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ role:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ tenant:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ description:
+ type: string
+ maxLength: 255
+ tags:
type: array
items:
type: object
@@ -236697,55 +225737,115 @@ components:
url:
type: string
format: uri
- readOnly: true
- created:
- type: string
- format: date-time
- readOnly: true
- nullable: true
- last_updated:
- type: string
- format: date-time
- readOnly: true
- nullable: true
- tags:
- type: array
- items:
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
type: object
+ required:
+ - id
+ - url
+ - label
+ - type
properties:
id:
- oneOf:
- - type: string
- format: uuid
- - type: integer
- object_type:
type: string
- pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
- example: app_label.modelname
+ format: uuid
+ readOnly: true
url:
type: string
format: uri
- notes_url:
- type: string
- format: uri
- readOnly: true
- custom_fields:
- type: object
- additionalProperties: {}
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
required:
- - created
- - display
- - id
- - last_updated
- - locations
- name
- - natural_slug
- - notes_url
- - object_type
- - prefix_count
- status
- - url
- - vid
VLANGroup:
type: object
description: |-
@@ -236756,7 +225856,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -236783,6 +225882,10 @@ components:
description:
type: string
maxLength: 255
+ range:
+ type: string
+ description: Permitted VID range(s) as comma-separated list, default '1-4094'
+ if left blank.
location:
type: object
properties:
@@ -236809,6 +225912,23 @@ components:
format: date-time
readOnly: true
nullable: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
notes_url:
type: string
format: uri
@@ -236819,7 +225939,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -236834,6 +225953,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -236841,6 +225963,11 @@ components:
description:
type: string
maxLength: 255
+ range:
+ type: string
+ minLength: 1
+ description: Permitted VID range(s) as comma-separated list, default '1-4094'
+ if left blank.
location:
type: object
properties:
@@ -236857,6 +225984,23 @@ components:
type: string
format: uri
nullable: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
custom_fields:
type: object
additionalProperties: {}
@@ -236974,7 +226118,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -237024,7 +226167,6 @@ components:
format: uri
required:
- display
- - id
- location
- natural_slug
- object_type
@@ -237036,6 +226178,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
vlan:
type: object
properties:
@@ -237076,6 +226221,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
location:
type: object
properties:
@@ -237305,7 +226453,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -237541,7 +226688,6 @@ components:
required:
- created
- display
- - id
- ip_addresses
- last_updated
- name
@@ -237561,7 +226707,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -237674,6 +226819,24 @@ components:
type: string
format: uri
readOnly: true
+ virtual_device_contexts:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ readOnly: true
prefixes:
type: array
items:
@@ -237764,15 +226927,14 @@ components:
- created
- devices
- display
- - id
- last_updated
- name
- natural_slug
- notes_url
- object_type
- prefixes
- - rd
- url
+ - virtual_device_contexts
- virtual_machines
VRFDeviceAssignment:
type: object
@@ -237783,7 +226945,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -237857,9 +227018,24 @@ components:
type: string
format: uri
nullable: true
+ virtual_device_context:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
required:
- display
- - id
- natural_slug
- object_type
- url
@@ -237870,6 +227046,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
rd:
type: string
nullable: true
@@ -237926,6 +227105,22 @@ components:
type: string
format: uri
nullable: true
+ virtual_device_context:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
required:
- vrf
VRFPrefixAssignment:
@@ -237937,7 +227132,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -237987,7 +227181,6 @@ components:
format: uri
required:
- display
- - id
- natural_slug
- object_type
- prefix
@@ -237999,6 +227192,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
vrf:
type: object
properties:
@@ -238039,6 +227235,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -238258,7 +227457,6 @@ components:
additionalProperties: true
required:
- name
- - rd
VirtualChassis:
type: object
description: |-
@@ -238269,7 +227467,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -238349,7 +227546,6 @@ components:
required:
- created
- display
- - id
- last_updated
- member_count
- name
@@ -238364,6 +227560,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -238512,7 +227711,7 @@ components:
format: uri
required:
- name
- VirtualMachine:
+ VirtualDeviceContext:
type: object
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
@@ -238522,7 +227721,453 @@ components:
id:
type: string
format: uuid
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ readOnly: true
+ display:
+ type: string
readOnly: true
+ description: Human friendly display value
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ natural_slug:
+ type: string
+ example: attribute1_attribute2
+ readOnly: true
+ name:
+ type: string
+ maxLength: 255
+ identifier:
+ type: integer
+ maximum: 32767
+ minimum: 0
+ nullable: true
+ description: 'Unique identifier provided by the platform being virtualized
+ (Example: Nexus VDC Identifier)'
+ description:
+ type: string
+ maxLength: 255
+ device:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ status:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ role:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ primary_ip4:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ title: Primary IPv4
+ primary_ip6:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ title: Primary IPv6
+ tenant:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ interfaces:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ created:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ last_updated:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ notes_url:
+ type: string
+ format: uri
+ readOnly: true
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - created
+ - device
+ - display
+ - interfaces
+ - last_updated
+ - name
+ - natural_slug
+ - notes_url
+ - object_type
+ - status
+ - url
+ VirtualDeviceContextRequest:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ identifier:
+ type: integer
+ maximum: 32767
+ minimum: 0
+ nullable: true
+ description: 'Unique identifier provided by the platform being virtualized
+ (Example: Nexus VDC Identifier)'
+ description:
+ type: string
+ maxLength: 255
+ device:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ status:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ role:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ primary_ip4:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ title: Primary IPv4
+ primary_ip6:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ title: Primary IPv6
+ tenant:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - device
+ - name
+ - status
+ VirtualMachine:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -238788,7 +228433,6 @@ components:
- cluster
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -238803,6 +228447,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
local_config_context_data:
nullable: true
local_config_context_data_owner_object_id:
@@ -239150,7 +228797,6 @@ components:
id:
type: string
format: uuid
- readOnly: true
object_type:
type: string
pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
@@ -239242,7 +228888,6 @@ components:
- content_types
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -239256,6 +228901,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
content_types:
type: array
items:
@@ -239326,6 +228974,326 @@ components:
- 19
- 21
- 23
+ WirelessNetwork:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ description: Human friendly display value
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ natural_slug:
+ type: string
+ example: attribute1_attribute2
+ readOnly: true
+ name:
+ type: string
+ maxLength: 255
+ description:
+ type: string
+ maxLength: 255
+ ssid:
+ type: string
+ maxLength: 255
+ mode:
+ $ref: '#/components/schemas/WirelessNetworkModeChoices'
+ enabled:
+ type: boolean
+ authentication:
+ $ref: '#/components/schemas/AuthenticationEnum'
+ hidden:
+ type: boolean
+ secrets_group:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ tenant:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ created:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ last_updated:
+ type: string
+ format: date-time
+ readOnly: true
+ nullable: true
+ notes_url:
+ type: string
+ format: uri
+ readOnly: true
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - authentication
+ - created
+ - display
+ - last_updated
+ - mode
+ - name
+ - natural_slug
+ - notes_url
+ - object_type
+ - ssid
+ - url
+ WirelessNetworkModeChoices:
+ enum:
+ - Central
+ - Fabric
+ - Standalone (Autonomous)
+ - Local (Flex)
+ - Mesh
+ - Bridge
+ type: string
+ WirelessNetworkRequest:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ description:
+ type: string
+ maxLength: 255
+ ssid:
+ type: string
+ minLength: 1
+ maxLength: 255
+ mode:
+ $ref: '#/components/schemas/WirelessNetworkModeChoices'
+ enabled:
+ type: boolean
+ authentication:
+ $ref: '#/components/schemas/AuthenticationEnum'
+ hidden:
+ type: boolean
+ secrets_group:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ tenant:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - authentication
+ - mode
+ - name
+ - ssid
WritableCableRequest:
type: object
description: |-
@@ -239333,6 +229301,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
termination_a_type:
type: string
termination_b_type:
@@ -239515,6 +229486,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -239695,6 +229669,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -239857,6 +229834,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -240037,6 +230017,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -240198,6 +230181,9 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
properties:
+ id:
+ type: string
+ format: uuid
content_types:
type: array
items:
@@ -240284,6 +230270,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -240461,6 +230450,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
local_config_context_data:
nullable: true
local_config_context_data_owner_object_id:
@@ -240955,6 +230947,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
front_image:
type: string
format: binary
@@ -241152,6 +231147,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -241350,6 +231348,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -241528,6 +231529,9 @@ components:
type: object
description: InterfaceRedundancyGroup Serializer.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -241723,6 +231727,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
mac_address:
type: string
nullable: true
@@ -241746,7 +231753,7 @@ components:
nullable: true
mode:
oneOf:
- - $ref: '#/components/schemas/ModeEnum'
+ - $ref: '#/components/schemas/InterfaceModeChoices'
- $ref: '#/components/schemas/BlankEnum'
type:
$ref: '#/components/schemas/InterfaceTypeChoices'
@@ -242054,6 +232061,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -242218,12 +232228,20 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
maxLength: 255
type:
$ref: '#/components/schemas/PowerFeedTypeChoices'
+ power_path:
+ description: Physical power distribution redundancy path.
+ oneOf:
+ - $ref: '#/components/schemas/PowerPathEnum'
+ - $ref: '#/components/schemas/BlankEnum'
supply:
$ref: '#/components/schemas/SupplyEnum'
phase:
@@ -242241,6 +232259,20 @@ components:
maximum: 100
minimum: 1
description: Maximum permissible draw (percentage)
+ breaker_position:
+ type: integer
+ maximum: 2147483647
+ minimum: 0
+ nullable: true
+ description: Starting circuit breaker position in panel
+ breaker_pole_count:
+ nullable: true
+ description: Number of breaker poles
+ minimum: 0
+ maximum: 32767
+ oneOf:
+ - $ref: '#/components/schemas/BreakerPoleCountEnum'
+ - $ref: '#/components/schemas/NullEnum'
comments:
type: string
cable:
@@ -242274,6 +232306,24 @@ components:
url:
type: string
format: uri
+ description: Source panel that originates this power feed
+ destination_panel:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ description: Destination panel that receives power from this feed
rack:
type: object
properties:
@@ -242439,6 +232489,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -242640,6 +232693,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -242816,6 +232872,192 @@ components:
additionalProperties: true
required:
- name
+ WritablePowerPanelRequest:
+ type: object
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ type: string
+ format: uuid
+ name:
+ type: string
+ minLength: 1
+ maxLength: 255
+ panel_type:
+ oneOf:
+ - $ref: '#/components/schemas/PanelTypeEnum'
+ - $ref: '#/components/schemas/BlankEnum'
+ breaker_position_count:
+ type: integer
+ maximum: 2147483647
+ minimum: 0
+ nullable: true
+ description: Total number of breaker positions in the panel (e.g., 42)
+ power_path:
+ description: Physical power distribution redundancy path.
+ oneOf:
+ - $ref: '#/components/schemas/PowerPathEnum'
+ - $ref: '#/components/schemas/BlankEnum'
+ location:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ rack_group:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ nullable: true
+ custom_fields:
+ type: object
+ additionalProperties: {}
+ relationships:
+ type: object
+ additionalProperties:
+ type: object
+ required:
+ - id
+ - url
+ - label
+ - type
+ properties:
+ id:
+ type: string
+ format: uuid
+ readOnly: true
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ label:
+ type: string
+ readOnly: true
+ type:
+ type: string
+ readOnly: true
+ example: one-to-many
+ source:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ destination:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ peer:
+ type: object
+ properties:
+ label:
+ type: string
+ readOnly: true
+ object_type:
+ type: string
+ readOnly: true
+ example: dcim.site
+ objects:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: string
+ format: uuid
+ url:
+ type: string
+ format: uri
+ readOnly: true
+ display:
+ type: string
+ readOnly: true
+ additionalProperties: true
+ tags:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ oneOf:
+ - type: string
+ format: uuid
+ - type: integer
+ object_type:
+ type: string
+ pattern: ^[a-z][a-z0-9_]+\.[a-z][a-z0-9_]+$
+ example: app_label.modelname
+ url:
+ type: string
+ format: uri
+ required:
+ - location
+ - name
WritablePowerPortRequest:
type: object
description: |-
@@ -242823,6 +233065,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -242851,6 +233096,12 @@ components:
minimum: 1
nullable: true
description: Allocated power draw (watts)
+ power_factor:
+ type: string
+ format: decimal
+ pattern: ^-?\d{0,2}(?:\.\d{0,2})?$
+ description: Power factor (0.01-1.00) for converting between watts (W) and
+ volt-amps (VA). Defaults to 0.95.
device:
type: object
properties:
@@ -243015,6 +233266,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -243042,6 +233296,12 @@ components:
minimum: 1
nullable: true
description: Allocated power draw (watts)
+ power_factor:
+ type: string
+ format: decimal
+ pattern: ^-?\d{0,2}(?:\.\d{0,2})?$
+ description: Power factor (0.01-1.00) for converting between watts (W) and
+ volt-amps (VA). Defaults to 0.95.
device_type:
type: object
properties:
@@ -243189,6 +233449,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
prefix:
type: string
minLength: 1
@@ -243465,6 +233728,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -243495,7 +233761,7 @@ components:
maximum: 32767
u_height:
type: integer
- maximum: 100
+ maximum: 500
minimum: 1
title: Height (U)
description: Height in rack units
@@ -243734,6 +234000,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -243916,6 +234185,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
name:
type: string
minLength: 1
@@ -244081,6 +234353,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
ports:
type: array
items:
@@ -244282,6 +234557,9 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
properties:
+ id:
+ type: string
+ format: uuid
mac_address:
type: string
nullable: true
@@ -244294,7 +234572,7 @@ components:
nullable: true
mode:
oneOf:
- - $ref: '#/components/schemas/ModeEnum'
+ - $ref: '#/components/schemas/InterfaceModeChoices'
- $ref: '#/components/schemas/BlankEnum'
name:
type: string
diff --git a/api/openapi.yaml b/api/openapi.yaml
index d6b90bf9..b408a434 100644
--- a/api/openapi.yaml
+++ b/api/openapi.yaml
@@ -4,7 +4,7 @@ info:
license:
name: Apache v2 License
title: API Documentation
- version: 2.3.4 (2.3)
+ version: 2.4.21 (2.4)
servers:
- url: /api
paths:
@@ -18,19 +18,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -143,14 +143,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -287,21 +287,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: Has cable
explode: true
@@ -323,56 +323,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -383,76 +333,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Number of results to return per page.
explode: true
in: query
@@ -766,14 +646,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -836,7 +716,6 @@ paths:
required: false
schema:
items:
- title: Termination
type: string
type: array
style: form
@@ -1101,15 +980,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedCircuitTerminationList'
+ $ref: "#/components/schemas/PaginatedCircuitTerminationList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedCircuitTerminationList'
+ $ref: "#/components/schemas/PaginatedCircuitTerminationList"
description: ""
security:
- cookieAuth: []
@@ -1125,19 +1013,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableCircuitTerminationRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableCircuitTerminationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableCircuitTerminationRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableCircuitTerminationRequest"
type: array
required: true
responses:
@@ -1146,12 +1034,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/CircuitTermination'
+ $ref: "#/components/schemas/CircuitTermination"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/CircuitTermination'
+ $ref: "#/components/schemas/CircuitTermination"
type: array
description: ""
security:
@@ -1168,26 +1056,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/CircuitTerminationRequest'
+ $ref: "#/components/schemas/CircuitTerminationRequest"
text/csv:
schema:
- $ref: '#/components/schemas/CircuitTerminationRequest'
+ $ref: "#/components/schemas/CircuitTerminationRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/CircuitTermination'
+ $ref: "#/components/schemas/CircuitTermination"
text/csv:
schema:
- $ref: '#/components/schemas/CircuitTermination'
+ $ref: "#/components/schemas/CircuitTermination"
description: ""
security:
- cookieAuth: []
@@ -1203,19 +1091,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableCircuitTerminationRequest'
+ $ref: "#/components/schemas/BulkWritableCircuitTerminationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableCircuitTerminationRequest'
+ $ref: "#/components/schemas/BulkWritableCircuitTerminationRequest"
type: array
required: true
responses:
@@ -1224,12 +1112,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/CircuitTermination'
+ $ref: "#/components/schemas/CircuitTermination"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/CircuitTermination'
+ $ref: "#/components/schemas/CircuitTermination"
type: array
description: ""
security:
@@ -1247,7 +1135,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this circuit termination.
explode: false
@@ -1275,7 +1163,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this circuit termination.
explode: false
@@ -1297,181 +1185,40 @@ paths:
minimum: 0
type: integer
style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/CircuitTermination'
- text/csv:
- schema:
- $ref: '#/components/schemas/CircuitTermination'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - circuits
- patch:
- description: Partial update a circuit termination object.
- operationId: circuits_circuit_terminations_partial_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this circuit termination.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PatchedCircuitTerminationRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/PatchedCircuitTerminationRequest'
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/CircuitTermination'
- text/csv:
- schema:
- $ref: '#/components/schemas/CircuitTermination'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - circuits
- put:
- description: Update a circuit termination object.
- operationId: circuits_circuit_terminations_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this circuit termination.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/CircuitTerminationRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/CircuitTerminationRequest'
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/CircuitTermination'
- text/csv:
- schema:
- $ref: '#/components/schemas/CircuitTermination'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - circuits
- /circuits/circuit-terminations/{id}/notes/:
- get:
- description: API methods for returning or creating notes on an object.
- operationId: circuits_circuit_terminations_notes_list
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this circuit termination.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- - description: Serializer Depth
+ - description: Exclude many-to-many fields from the response
explode: true
in: query
- name: depth
+ name: exclude_m2m
required: false
schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
+ default: false
+ type: boolean
style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/CircuitTermination"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/CircuitTermination"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- circuits
- post:
- description: API methods for returning or creating notes on an object.
- operationId: circuits_circuit_terminations_notes_create
+ patch:
+ description: Partial update a circuit termination object.
+ operationId: circuits_circuit_terminations_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this circuit termination.
explode: false
@@ -1486,20 +1233,179 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/PatchedCircuitTerminationRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/PatchedCircuitTerminationRequest"
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/CircuitTermination"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/CircuitTermination"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - circuits
+ put:
+ description: Update a circuit termination object.
+ operationId: circuits_circuit_terminations_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this circuit termination.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/CircuitTerminationRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/CircuitTerminationRequest"
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/CircuitTermination"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/CircuitTermination"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - circuits
+ /circuits/circuit-terminations/{id}/notes/:
+ get:
+ description: API methods for returning or creating notes on an object.
+ operationId: circuits_circuit_terminations_notes_list
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this circuit termination.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: The initial index from which to return the results.
+ explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - circuits
+ post:
+ description: API methods for returning or creating notes on an object.
+ operationId: circuits_circuit_terminations_notes_create
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this circuit termination.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -1517,7 +1423,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this circuit termination.
explode: false
@@ -1539,15 +1445,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/CircuitTermination'
+ $ref: "#/components/schemas/CircuitTermination"
text/csv:
schema:
- $ref: '#/components/schemas/CircuitTermination'
+ $ref: "#/components/schemas/CircuitTermination"
description: ""
security:
- cookieAuth: []
@@ -1564,19 +1479,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -1608,14 +1523,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -1819,21 +1734,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -1847,56 +1762,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -1907,76 +1772,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: last_updated
@@ -2219,14 +2014,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -2239,15 +2034,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedCircuitTypeList'
+ $ref: "#/components/schemas/PaginatedCircuitTypeList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedCircuitTypeList'
+ $ref: "#/components/schemas/PaginatedCircuitTypeList"
description: ""
security:
- cookieAuth: []
@@ -2263,19 +2067,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableCircuitTypeRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableCircuitTypeRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableCircuitTypeRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableCircuitTypeRequest"
type: array
required: true
responses:
@@ -2284,12 +2088,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/CircuitType'
+ $ref: "#/components/schemas/CircuitType"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/CircuitType'
+ $ref: "#/components/schemas/CircuitType"
type: array
description: ""
security:
@@ -2306,26 +2110,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/CircuitTypeRequest'
+ $ref: "#/components/schemas/CircuitTypeRequest"
text/csv:
schema:
- $ref: '#/components/schemas/CircuitTypeRequest'
+ $ref: "#/components/schemas/CircuitTypeRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/CircuitType'
+ $ref: "#/components/schemas/CircuitType"
text/csv:
schema:
- $ref: '#/components/schemas/CircuitType'
+ $ref: "#/components/schemas/CircuitType"
description: ""
security:
- cookieAuth: []
@@ -2341,19 +2145,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableCircuitTypeRequest'
+ $ref: "#/components/schemas/BulkWritableCircuitTypeRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableCircuitTypeRequest'
+ $ref: "#/components/schemas/BulkWritableCircuitTypeRequest"
type: array
required: true
responses:
@@ -2362,12 +2166,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/CircuitType'
+ $ref: "#/components/schemas/CircuitType"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/CircuitType'
+ $ref: "#/components/schemas/CircuitType"
type: array
description: ""
security:
@@ -2385,7 +2189,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this circuit type.
explode: false
@@ -2413,7 +2217,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this circuit type.
explode: false
@@ -2435,15 +2239,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/CircuitType'
+ $ref: "#/components/schemas/CircuitType"
text/csv:
schema:
- $ref: '#/components/schemas/CircuitType'
+ $ref: "#/components/schemas/CircuitType"
description: ""
security:
- cookieAuth: []
@@ -2459,7 +2272,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this circuit type.
explode: false
@@ -2474,19 +2287,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedCircuitTypeRequest'
+ $ref: "#/components/schemas/PatchedCircuitTypeRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedCircuitTypeRequest'
+ $ref: "#/components/schemas/PatchedCircuitTypeRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/CircuitType'
+ $ref: "#/components/schemas/CircuitType"
text/csv:
schema:
- $ref: '#/components/schemas/CircuitType'
+ $ref: "#/components/schemas/CircuitType"
description: ""
security:
- cookieAuth: []
@@ -2502,7 +2315,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this circuit type.
explode: false
@@ -2517,20 +2330,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/CircuitTypeRequest'
+ $ref: "#/components/schemas/CircuitTypeRequest"
text/csv:
schema:
- $ref: '#/components/schemas/CircuitTypeRequest'
+ $ref: "#/components/schemas/CircuitTypeRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/CircuitType'
+ $ref: "#/components/schemas/CircuitType"
text/csv:
schema:
- $ref: '#/components/schemas/CircuitType'
+ $ref: "#/components/schemas/CircuitType"
description: ""
security:
- cookieAuth: []
@@ -2547,7 +2360,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this circuit type.
explode: false
@@ -2585,15 +2398,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -2609,7 +2431,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this circuit type.
explode: false
@@ -2624,20 +2446,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -2654,19 +2476,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -3142,14 +2964,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -3353,21 +3175,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: Has terminations
explode: true
@@ -3389,56 +3211,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -3449,76 +3221,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: install_date
@@ -3764,14 +3466,14 @@ paths:
type: string
type: array
style: form
- - description: Exclude Status (name or ID)
- explode: true
+ - explode: true
in: query
name: status__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -3815,14 +3517,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -3919,15 +3621,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedCircuitList'
+ $ref: "#/components/schemas/PaginatedCircuitList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedCircuitList'
+ $ref: "#/components/schemas/PaginatedCircuitList"
description: ""
security:
- cookieAuth: []
@@ -3943,19 +3654,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableCircuitRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableCircuitRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableCircuitRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableCircuitRequest"
type: array
required: true
responses:
@@ -3964,12 +3675,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Circuit'
+ $ref: "#/components/schemas/Circuit"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Circuit'
+ $ref: "#/components/schemas/Circuit"
type: array
description: ""
security:
@@ -3986,26 +3697,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/CircuitRequest'
+ $ref: "#/components/schemas/CircuitRequest"
text/csv:
schema:
- $ref: '#/components/schemas/CircuitRequest'
+ $ref: "#/components/schemas/CircuitRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Circuit'
+ $ref: "#/components/schemas/Circuit"
text/csv:
schema:
- $ref: '#/components/schemas/Circuit'
+ $ref: "#/components/schemas/Circuit"
description: ""
security:
- cookieAuth: []
@@ -4021,19 +3732,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableCircuitRequest'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableCircuitRequest'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest"
type: array
required: true
responses:
@@ -4042,12 +3753,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Circuit'
+ $ref: "#/components/schemas/Circuit"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Circuit'
+ $ref: "#/components/schemas/Circuit"
type: array
description: ""
security:
@@ -4065,7 +3776,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this circuit.
explode: false
@@ -4093,7 +3804,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this circuit.
explode: false
@@ -4115,15 +3826,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Circuit'
+ $ref: "#/components/schemas/Circuit"
text/csv:
schema:
- $ref: '#/components/schemas/Circuit'
+ $ref: "#/components/schemas/Circuit"
description: ""
security:
- cookieAuth: []
@@ -4139,7 +3859,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this circuit.
explode: false
@@ -4154,19 +3874,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedCircuitRequest'
+ $ref: "#/components/schemas/PatchedCircuitRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedCircuitRequest'
+ $ref: "#/components/schemas/PatchedCircuitRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Circuit'
+ $ref: "#/components/schemas/Circuit"
text/csv:
schema:
- $ref: '#/components/schemas/Circuit'
+ $ref: "#/components/schemas/Circuit"
description: ""
security:
- cookieAuth: []
@@ -4182,7 +3902,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this circuit.
explode: false
@@ -4197,20 +3917,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/CircuitRequest'
+ $ref: "#/components/schemas/CircuitRequest"
text/csv:
schema:
- $ref: '#/components/schemas/CircuitRequest'
+ $ref: "#/components/schemas/CircuitRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Circuit'
+ $ref: "#/components/schemas/Circuit"
text/csv:
schema:
- $ref: '#/components/schemas/Circuit'
+ $ref: "#/components/schemas/Circuit"
description: ""
security:
- cookieAuth: []
@@ -4227,7 +3947,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this circuit.
explode: false
@@ -4265,15 +3985,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -4289,7 +4018,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this circuit.
explode: false
@@ -4304,20 +4033,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -4334,19 +4063,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -4534,14 +4263,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -4745,21 +4474,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: Has circuit terminations
explode: true
@@ -4781,56 +4510,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -4841,76 +4520,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: last_updated
@@ -5196,14 +4805,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -5216,15 +4825,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedProviderNetworkList'
+ $ref: "#/components/schemas/PaginatedProviderNetworkList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedProviderNetworkList'
+ $ref: "#/components/schemas/PaginatedProviderNetworkList"
description: ""
security:
- cookieAuth: []
@@ -5240,19 +4858,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableProviderNetworkRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableProviderNetworkRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableProviderNetworkRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableProviderNetworkRequest"
type: array
required: true
responses:
@@ -5261,12 +4879,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ProviderNetwork'
+ $ref: "#/components/schemas/ProviderNetwork"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ProviderNetwork'
+ $ref: "#/components/schemas/ProviderNetwork"
type: array
description: ""
security:
@@ -5283,26 +4901,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/ProviderNetworkRequest'
+ $ref: "#/components/schemas/ProviderNetworkRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ProviderNetworkRequest'
+ $ref: "#/components/schemas/ProviderNetworkRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/ProviderNetwork'
+ $ref: "#/components/schemas/ProviderNetwork"
text/csv:
schema:
- $ref: '#/components/schemas/ProviderNetwork'
+ $ref: "#/components/schemas/ProviderNetwork"
description: ""
security:
- cookieAuth: []
@@ -5318,19 +4936,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableProviderNetworkRequest'
+ $ref: "#/components/schemas/BulkWritableProviderNetworkRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableProviderNetworkRequest'
+ $ref: "#/components/schemas/BulkWritableProviderNetworkRequest"
type: array
required: true
responses:
@@ -5339,12 +4957,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ProviderNetwork'
+ $ref: "#/components/schemas/ProviderNetwork"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ProviderNetwork'
+ $ref: "#/components/schemas/ProviderNetwork"
type: array
description: ""
security:
@@ -5362,7 +4980,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this provider network.
explode: false
@@ -5390,7 +5008,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this provider network.
explode: false
@@ -5412,15 +5030,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ProviderNetwork'
+ $ref: "#/components/schemas/ProviderNetwork"
text/csv:
schema:
- $ref: '#/components/schemas/ProviderNetwork'
+ $ref: "#/components/schemas/ProviderNetwork"
description: ""
security:
- cookieAuth: []
@@ -5436,7 +5063,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this provider network.
explode: false
@@ -5451,19 +5078,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedProviderNetworkRequest'
+ $ref: "#/components/schemas/PatchedProviderNetworkRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedProviderNetworkRequest'
+ $ref: "#/components/schemas/PatchedProviderNetworkRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ProviderNetwork'
+ $ref: "#/components/schemas/ProviderNetwork"
text/csv:
schema:
- $ref: '#/components/schemas/ProviderNetwork'
+ $ref: "#/components/schemas/ProviderNetwork"
description: ""
security:
- cookieAuth: []
@@ -5479,7 +5106,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this provider network.
explode: false
@@ -5494,20 +5121,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ProviderNetworkRequest'
+ $ref: "#/components/schemas/ProviderNetworkRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ProviderNetworkRequest'
+ $ref: "#/components/schemas/ProviderNetworkRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ProviderNetwork'
+ $ref: "#/components/schemas/ProviderNetwork"
text/csv:
schema:
- $ref: '#/components/schemas/ProviderNetwork'
+ $ref: "#/components/schemas/ProviderNetwork"
description: ""
security:
- cookieAuth: []
@@ -5524,7 +5151,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this provider network.
explode: false
@@ -5562,15 +5189,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -5586,7 +5222,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this provider network.
explode: false
@@ -5601,20 +5237,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -5631,19 +5267,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -6140,14 +5776,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -6225,21 +5861,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: Has circuits
explode: true
@@ -6269,56 +5905,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -6329,76 +5915,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: last_updated
@@ -6970,14 +6486,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -6990,15 +6506,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedProviderList'
+ $ref: "#/components/schemas/PaginatedProviderList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedProviderList'
+ $ref: "#/components/schemas/PaginatedProviderList"
description: ""
security:
- cookieAuth: []
@@ -7014,19 +6539,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableProviderRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableProviderRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableProviderRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableProviderRequest"
type: array
required: true
responses:
@@ -7035,12 +6560,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Provider'
+ $ref: "#/components/schemas/Provider"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Provider'
+ $ref: "#/components/schemas/Provider"
type: array
description: ""
security:
@@ -7057,26 +6582,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/ProviderRequest'
+ $ref: "#/components/schemas/ProviderRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ProviderRequest'
+ $ref: "#/components/schemas/ProviderRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Provider'
+ $ref: "#/components/schemas/Provider"
text/csv:
schema:
- $ref: '#/components/schemas/Provider'
+ $ref: "#/components/schemas/Provider"
description: ""
security:
- cookieAuth: []
@@ -7092,19 +6617,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableProviderRequest'
+ $ref: "#/components/schemas/BulkWritableProviderRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableProviderRequest'
+ $ref: "#/components/schemas/BulkWritableProviderRequest"
type: array
required: true
responses:
@@ -7113,12 +6638,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Provider'
+ $ref: "#/components/schemas/Provider"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Provider'
+ $ref: "#/components/schemas/Provider"
type: array
description: ""
security:
@@ -7136,7 +6661,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this provider.
explode: false
@@ -7164,7 +6689,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this provider.
explode: false
@@ -7186,15 +6711,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Provider'
+ $ref: "#/components/schemas/Provider"
text/csv:
schema:
- $ref: '#/components/schemas/Provider'
+ $ref: "#/components/schemas/Provider"
description: ""
security:
- cookieAuth: []
@@ -7210,7 +6744,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this provider.
explode: false
@@ -7225,19 +6759,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedProviderRequest'
+ $ref: "#/components/schemas/PatchedProviderRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedProviderRequest'
+ $ref: "#/components/schemas/PatchedProviderRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Provider'
+ $ref: "#/components/schemas/Provider"
text/csv:
schema:
- $ref: '#/components/schemas/Provider'
+ $ref: "#/components/schemas/Provider"
description: ""
security:
- cookieAuth: []
@@ -7253,7 +6787,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this provider.
explode: false
@@ -7268,20 +6802,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ProviderRequest'
+ $ref: "#/components/schemas/ProviderRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ProviderRequest'
+ $ref: "#/components/schemas/ProviderRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Provider'
+ $ref: "#/components/schemas/Provider"
text/csv:
schema:
- $ref: '#/components/schemas/Provider'
+ $ref: "#/components/schemas/Provider"
description: ""
security:
- cookieAuth: []
@@ -7298,7 +6832,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this provider.
explode: false
@@ -7336,15 +6870,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -7360,7 +6903,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this provider.
explode: false
@@ -7375,20 +6918,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -7405,19 +6948,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -7575,14 +7118,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -7786,21 +7329,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -7814,56 +7357,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -7874,76 +7367,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: last_updated
@@ -8255,14 +7678,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -8275,15 +7698,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedCloudAccountList'
+ $ref: "#/components/schemas/PaginatedCloudAccountList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedCloudAccountList'
+ $ref: "#/components/schemas/PaginatedCloudAccountList"
description: ""
security:
- cookieAuth: []
@@ -8299,19 +7731,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableCloudAccountRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableCloudAccountRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableCloudAccountRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableCloudAccountRequest"
type: array
required: true
responses:
@@ -8320,12 +7752,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/CloudAccount'
+ $ref: "#/components/schemas/CloudAccount"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/CloudAccount'
+ $ref: "#/components/schemas/CloudAccount"
type: array
description: ""
security:
@@ -8342,26 +7774,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/CloudAccountRequest'
+ $ref: "#/components/schemas/CloudAccountRequest"
text/csv:
schema:
- $ref: '#/components/schemas/CloudAccountRequest'
+ $ref: "#/components/schemas/CloudAccountRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/CloudAccount'
+ $ref: "#/components/schemas/CloudAccount"
text/csv:
schema:
- $ref: '#/components/schemas/CloudAccount'
+ $ref: "#/components/schemas/CloudAccount"
description: ""
security:
- cookieAuth: []
@@ -8377,19 +7809,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableCloudAccountRequest'
+ $ref: "#/components/schemas/BulkWritableCloudAccountRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableCloudAccountRequest'
+ $ref: "#/components/schemas/BulkWritableCloudAccountRequest"
type: array
required: true
responses:
@@ -8398,12 +7830,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/CloudAccount'
+ $ref: "#/components/schemas/CloudAccount"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/CloudAccount'
+ $ref: "#/components/schemas/CloudAccount"
type: array
description: ""
security:
@@ -8421,7 +7853,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this cloud account.
explode: false
@@ -8449,7 +7881,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this cloud account.
explode: false
@@ -8471,15 +7903,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/CloudAccount'
+ $ref: "#/components/schemas/CloudAccount"
text/csv:
schema:
- $ref: '#/components/schemas/CloudAccount'
+ $ref: "#/components/schemas/CloudAccount"
description: ""
security:
- cookieAuth: []
@@ -8495,7 +7936,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this cloud account.
explode: false
@@ -8510,19 +7951,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedCloudAccountRequest'
+ $ref: "#/components/schemas/PatchedCloudAccountRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedCloudAccountRequest'
+ $ref: "#/components/schemas/PatchedCloudAccountRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/CloudAccount'
+ $ref: "#/components/schemas/CloudAccount"
text/csv:
schema:
- $ref: '#/components/schemas/CloudAccount'
+ $ref: "#/components/schemas/CloudAccount"
description: ""
security:
- cookieAuth: []
@@ -8538,7 +7979,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this cloud account.
explode: false
@@ -8553,20 +7994,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/CloudAccountRequest'
+ $ref: "#/components/schemas/CloudAccountRequest"
text/csv:
schema:
- $ref: '#/components/schemas/CloudAccountRequest'
+ $ref: "#/components/schemas/CloudAccountRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/CloudAccount'
+ $ref: "#/components/schemas/CloudAccount"
text/csv:
schema:
- $ref: '#/components/schemas/CloudAccount'
+ $ref: "#/components/schemas/CloudAccount"
description: ""
security:
- cookieAuth: []
@@ -8583,7 +8024,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this cloud account.
explode: false
@@ -8621,15 +8062,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -8645,7 +8095,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this cloud account.
explode: false
@@ -8660,20 +8110,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -8690,19 +8140,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -8740,7 +8190,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -8754,56 +8204,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -8814,76 +8214,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Number of results to return per page.
explode: true
in: query
@@ -8906,7 +8236,6 @@ paths:
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
@@ -8916,7 +8245,6 @@ paths:
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
@@ -8947,15 +8275,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedCloudNetworkPrefixAssignmentList'
+ $ref: "#/components/schemas/PaginatedCloudNetworkPrefixAssignmentList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedCloudNetworkPrefixAssignmentList'
+ $ref: "#/components/schemas/PaginatedCloudNetworkPrefixAssignmentList"
description: ""
security:
- cookieAuth: []
@@ -8971,19 +8308,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableCloudNetworkPrefixAssignmentRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableCloudNetworkPrefixAssignmentRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableCloudNetworkPrefixAssignmentRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableCloudNetworkPrefixAssignmentRequest"
type: array
required: true
responses:
@@ -8992,12 +8329,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/CloudNetworkPrefixAssignment'
+ $ref: "#/components/schemas/CloudNetworkPrefixAssignment"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/CloudNetworkPrefixAssignment'
+ $ref: "#/components/schemas/CloudNetworkPrefixAssignment"
type: array
description: ""
security:
@@ -9014,26 +8351,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/CloudNetworkPrefixAssignmentRequest'
+ $ref: "#/components/schemas/CloudNetworkPrefixAssignmentRequest"
text/csv:
schema:
- $ref: '#/components/schemas/CloudNetworkPrefixAssignmentRequest'
+ $ref: "#/components/schemas/CloudNetworkPrefixAssignmentRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/CloudNetworkPrefixAssignment'
+ $ref: "#/components/schemas/CloudNetworkPrefixAssignment"
text/csv:
schema:
- $ref: '#/components/schemas/CloudNetworkPrefixAssignment'
+ $ref: "#/components/schemas/CloudNetworkPrefixAssignment"
description: ""
security:
- cookieAuth: []
@@ -9049,19 +8386,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableCloudNetworkPrefixAssignmentRequest'
+ $ref: "#/components/schemas/BulkWritableCloudNetworkPrefixAssignmentRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableCloudNetworkPrefixAssignmentRequest'
+ $ref: "#/components/schemas/BulkWritableCloudNetworkPrefixAssignmentRequest"
type: array
required: true
responses:
@@ -9070,12 +8407,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/CloudNetworkPrefixAssignment'
+ $ref: "#/components/schemas/CloudNetworkPrefixAssignment"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/CloudNetworkPrefixAssignment'
+ $ref: "#/components/schemas/CloudNetworkPrefixAssignment"
type: array
description: ""
security:
@@ -9093,7 +8430,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this cloud network prefix assignment.
explode: false
@@ -9121,7 +8458,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this cloud network prefix assignment.
explode: false
@@ -9143,15 +8480,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/CloudNetworkPrefixAssignment'
+ $ref: "#/components/schemas/CloudNetworkPrefixAssignment"
text/csv:
schema:
- $ref: '#/components/schemas/CloudNetworkPrefixAssignment'
+ $ref: "#/components/schemas/CloudNetworkPrefixAssignment"
description: ""
security:
- cookieAuth: []
@@ -9167,7 +8513,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this cloud network prefix assignment.
explode: false
@@ -9182,19 +8528,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedCloudNetworkPrefixAssignmentRequest'
+ $ref: "#/components/schemas/PatchedCloudNetworkPrefixAssignmentRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedCloudNetworkPrefixAssignmentRequest'
+ $ref: "#/components/schemas/PatchedCloudNetworkPrefixAssignmentRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/CloudNetworkPrefixAssignment'
+ $ref: "#/components/schemas/CloudNetworkPrefixAssignment"
text/csv:
schema:
- $ref: '#/components/schemas/CloudNetworkPrefixAssignment'
+ $ref: "#/components/schemas/CloudNetworkPrefixAssignment"
description: ""
security:
- cookieAuth: []
@@ -9210,7 +8556,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this cloud network prefix assignment.
explode: false
@@ -9225,127 +8571,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/CloudNetworkPrefixAssignmentRequest'
+ $ref: "#/components/schemas/CloudNetworkPrefixAssignmentRequest"
text/csv:
schema:
- $ref: '#/components/schemas/CloudNetworkPrefixAssignmentRequest'
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/CloudNetworkPrefixAssignment'
- text/csv:
- schema:
- $ref: '#/components/schemas/CloudNetworkPrefixAssignment'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - cloud
- /cloud/cloud-network-prefix-assignments/{id}/notes/:
- get:
- description: API methods for returning or creating notes on an object.
- operationId: cloud_cloud_network_prefix_assignments_notes_list
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this cloud network prefix assignment.
- explode: false
- in: path
- name: id
+ $ref: "#/components/schemas/CloudNetworkPrefixAssignmentRequest"
required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
- style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - cloud
- post:
- description: API methods for returning or creating notes on an object.
- operationId: cloud_cloud_network_prefix_assignments_notes_create
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this cloud network prefix assignment.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- required: true
- responses:
- "201":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/CloudNetworkPrefixAssignment"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/CloudNetworkPrefixAssignment"
description: ""
security:
- cookieAuth: []
@@ -9362,19 +8601,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -9468,14 +8707,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -9679,21 +8918,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -9707,56 +8946,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -9767,76 +8956,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: last_updated
@@ -10078,7 +9197,6 @@ paths:
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
@@ -10088,7 +9206,6 @@ paths:
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
@@ -10150,14 +9267,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -10170,15 +9287,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedCloudNetworkList'
+ $ref: "#/components/schemas/PaginatedCloudNetworkList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedCloudNetworkList'
+ $ref: "#/components/schemas/PaginatedCloudNetworkList"
description: ""
security:
- cookieAuth: []
@@ -10194,19 +9320,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableCloudNetworkRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableCloudNetworkRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableCloudNetworkRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableCloudNetworkRequest"
type: array
required: true
responses:
@@ -10215,12 +9341,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/CloudNetwork'
+ $ref: "#/components/schemas/CloudNetwork"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/CloudNetwork'
+ $ref: "#/components/schemas/CloudNetwork"
type: array
description: ""
security:
@@ -10237,26 +9363,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/CloudNetworkRequest'
+ $ref: "#/components/schemas/CloudNetworkRequest"
text/csv:
schema:
- $ref: '#/components/schemas/CloudNetworkRequest'
+ $ref: "#/components/schemas/CloudNetworkRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/CloudNetwork'
+ $ref: "#/components/schemas/CloudNetwork"
text/csv:
schema:
- $ref: '#/components/schemas/CloudNetwork'
+ $ref: "#/components/schemas/CloudNetwork"
description: ""
security:
- cookieAuth: []
@@ -10272,19 +9398,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableCloudNetworkRequest'
+ $ref: "#/components/schemas/BulkWritableCloudNetworkRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableCloudNetworkRequest'
+ $ref: "#/components/schemas/BulkWritableCloudNetworkRequest"
type: array
required: true
responses:
@@ -10293,12 +9419,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/CloudNetwork'
+ $ref: "#/components/schemas/CloudNetwork"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/CloudNetwork'
+ $ref: "#/components/schemas/CloudNetwork"
type: array
description: ""
security:
@@ -10316,7 +9442,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this cloud network.
explode: false
@@ -10344,7 +9470,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this cloud network.
explode: false
@@ -10366,181 +9492,40 @@ paths:
minimum: 0
type: integer
style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/CloudNetwork'
- text/csv:
- schema:
- $ref: '#/components/schemas/CloudNetwork'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - cloud
- patch:
- description: Partial update a cloud network object.
- operationId: cloud_cloud_networks_partial_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this cloud network.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PatchedCloudNetworkRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/PatchedCloudNetworkRequest'
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/CloudNetwork'
- text/csv:
- schema:
- $ref: '#/components/schemas/CloudNetwork'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - cloud
- put:
- description: Update a cloud network object.
- operationId: cloud_cloud_networks_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this cloud network.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/CloudNetworkRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/CloudNetworkRequest'
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/CloudNetwork'
- text/csv:
- schema:
- $ref: '#/components/schemas/CloudNetwork'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - cloud
- /cloud/cloud-networks/{id}/notes/:
- get:
- description: API methods for returning or creating notes on an object.
- operationId: cloud_cloud_networks_notes_list
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this cloud network.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- - description: Serializer Depth
+ - description: Exclude many-to-many fields from the response
explode: true
in: query
- name: depth
+ name: exclude_m2m
required: false
schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
+ default: false
+ type: boolean
style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/CloudNetwork"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/CloudNetwork"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- cloud
- post:
- description: API methods for returning or creating notes on an object.
- operationId: cloud_cloud_networks_notes_create
+ patch:
+ description: Partial update a cloud network object.
+ operationId: cloud_cloud_networks_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this cloud network.
explode: false
@@ -10555,200 +9540,251 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/PatchedCloudNetworkRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
- required: true
+ $ref: "#/components/schemas/PatchedCloudNetworkRequest"
responses:
- "201":
+ "200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/CloudNetwork"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/CloudNetwork"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- cloud
- /cloud/cloud-resource-types/:
- delete:
- description: Destroy a list of cloud resource type objects.
- operationId: cloud_cloud_resource_types_bulk_destroy
+ put:
+ description: Update a cloud network object.
+ operationId: cloud_cloud_networks_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ - description: A UUID string identifying this cloud network.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
requestBody:
content:
application/json:
schema:
- items:
- $ref: '#/components/schemas/BulkOperationRequest'
- type: array
+ $ref: "#/components/schemas/CloudNetworkRequest"
text/csv:
schema:
- items:
- $ref: '#/components/schemas/BulkOperationRequest'
- type: array
+ $ref: "#/components/schemas/CloudNetworkRequest"
required: true
responses:
- "204":
- description: No response body
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/CloudNetwork"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/CloudNetwork"
+ description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- cloud
+ /cloud/cloud-networks/{id}/notes/:
get:
- description: Retrieve a list of cloud resource type objects.
- operationId: cloud_cloud_resource_types_list
+ description: API methods for returning or creating notes on an object.
+ operationId: cloud_cloud_networks_notes_list
parameters:
- explode: true
in: query
- name: contacts
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Contacts (name or ID) is null
- explode: true
- in: query
- name: contacts__isnull
+ name: format
required: false
schema:
- type: boolean
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
- in: query
- name: contacts__n
- required: false
+ - description: A UUID string identifying this cloud network.
+ explode: false
+ in: path
+ name: id
+ required: true
schema:
format: uuid
type: string
- style: form
- - explode: true
- in: query
- name: content_types
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__ic
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
+ style: simple
+ - description: Number of results to return per page.
+ explode: true
in: query
- name: content_types__ie
+ name: limit
required: false
schema:
- items:
- type: integer
- type: array
+ type: integer
style: form
- - explode: true
+ - description: The initial index from which to return the results.
+ explode: true
in: query
- name: content_types__iew
+ name: offset
required: false
schema:
- items:
- type: integer
- type: array
+ type: integer
style: form
- - explode: true
+ - description: Serializer Depth
+ explode: true
in: query
- name: content_types__ire
+ name: depth
required: false
schema:
- items:
- type: integer
- type: array
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
style: form
- - explode: true
+ - description: Exclude many-to-many fields from the response
+ explode: true
in: query
- name: content_types__isw
+ name: exclude_m2m
required: false
schema:
- items:
- type: integer
- type: array
+ default: false
+ type: boolean
style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - cloud
+ post:
+ description: API methods for returning or creating notes on an object.
+ operationId: cloud_cloud_networks_notes_create
+ parameters:
- explode: true
in: query
- name: content_types__n
+ name: format
required: false
schema:
- items:
- type: integer
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - explode: true
- in: query
- name: content_types__nic
- required: false
+ - description: A UUID string identifying this cloud network.
+ explode: false
+ in: path
+ name: id
+ required: true
schema:
- items:
- type: integer
- type: array
- style: form
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Note"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/Note"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - cloud
+ /cloud/cloud-resource-types/:
+ delete:
+ description: Destroy a list of cloud resource type objects.
+ operationId: cloud_cloud_resource_types_bulk_destroy
+ parameters:
- explode: true
in: query
- name: content_types__nie
+ name: format
required: false
schema:
- items:
- type: integer
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ required: true
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - cloud
+ get:
+ description: Retrieve a list of cloud resource type objects.
+ operationId: cloud_cloud_resource_types_list
+ parameters:
- explode: true
in: query
- name: content_types__niew
+ name: contacts
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- - explode: true
+ - description: Contacts (name or ID) is null
+ explode: true
in: query
- name: content_types__nire
+ name: contacts__isnull
required: false
schema:
- items:
- type: integer
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: content_types__nisw
+ name: contacts__n
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: content_types__nre
+ name: content_types
required: false
schema:
items:
@@ -10757,7 +9793,7 @@ paths:
style: form
- explode: true
in: query
- name: content_types__re
+ name: content_types__n
required: false
schema:
items:
@@ -10966,21 +10002,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -10994,56 +10030,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -11054,76 +10040,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: last_updated
@@ -11409,14 +10325,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -11429,15 +10345,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedCloudResourceTypeList'
+ $ref: "#/components/schemas/PaginatedCloudResourceTypeList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedCloudResourceTypeList'
+ $ref: "#/components/schemas/PaginatedCloudResourceTypeList"
description: ""
security:
- cookieAuth: []
@@ -11453,19 +10378,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableCloudResourceTypeRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableCloudResourceTypeRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableCloudResourceTypeRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableCloudResourceTypeRequest"
type: array
required: true
responses:
@@ -11474,12 +10399,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/CloudResourceType'
+ $ref: "#/components/schemas/CloudResourceType"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/CloudResourceType'
+ $ref: "#/components/schemas/CloudResourceType"
type: array
description: ""
security:
@@ -11496,26 +10421,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/CloudResourceTypeRequest'
+ $ref: "#/components/schemas/CloudResourceTypeRequest"
text/csv:
schema:
- $ref: '#/components/schemas/CloudResourceTypeRequest'
+ $ref: "#/components/schemas/CloudResourceTypeRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/CloudResourceType'
+ $ref: "#/components/schemas/CloudResourceType"
text/csv:
schema:
- $ref: '#/components/schemas/CloudResourceType'
+ $ref: "#/components/schemas/CloudResourceType"
description: ""
security:
- cookieAuth: []
@@ -11531,19 +10456,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableCloudResourceTypeRequest'
+ $ref: "#/components/schemas/BulkWritableCloudResourceTypeRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableCloudResourceTypeRequest'
+ $ref: "#/components/schemas/BulkWritableCloudResourceTypeRequest"
type: array
required: true
responses:
@@ -11552,12 +10477,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/CloudResourceType'
+ $ref: "#/components/schemas/CloudResourceType"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/CloudResourceType'
+ $ref: "#/components/schemas/CloudResourceType"
type: array
description: ""
security:
@@ -11575,7 +10500,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this cloud resource type.
explode: false
@@ -11603,7 +10528,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this cloud resource type.
explode: false
@@ -11625,15 +10550,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/CloudResourceType'
+ $ref: "#/components/schemas/CloudResourceType"
text/csv:
schema:
- $ref: '#/components/schemas/CloudResourceType'
+ $ref: "#/components/schemas/CloudResourceType"
description: ""
security:
- cookieAuth: []
@@ -11649,7 +10583,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this cloud resource type.
explode: false
@@ -11664,19 +10598,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedCloudResourceTypeRequest'
+ $ref: "#/components/schemas/PatchedCloudResourceTypeRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedCloudResourceTypeRequest'
+ $ref: "#/components/schemas/PatchedCloudResourceTypeRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/CloudResourceType'
+ $ref: "#/components/schemas/CloudResourceType"
text/csv:
schema:
- $ref: '#/components/schemas/CloudResourceType'
+ $ref: "#/components/schemas/CloudResourceType"
description: ""
security:
- cookieAuth: []
@@ -11692,7 +10626,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this cloud resource type.
explode: false
@@ -11707,20 +10641,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/CloudResourceTypeRequest'
+ $ref: "#/components/schemas/CloudResourceTypeRequest"
text/csv:
schema:
- $ref: '#/components/schemas/CloudResourceTypeRequest'
+ $ref: "#/components/schemas/CloudResourceTypeRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/CloudResourceType'
+ $ref: "#/components/schemas/CloudResourceType"
text/csv:
schema:
- $ref: '#/components/schemas/CloudResourceType'
+ $ref: "#/components/schemas/CloudResourceType"
description: ""
security:
- cookieAuth: []
@@ -11737,7 +10671,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this cloud resource type.
explode: false
@@ -11775,15 +10709,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -11799,7 +10742,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this cloud resource type.
explode: false
@@ -11814,20 +10757,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -11844,19 +10787,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -11912,7 +10855,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -11926,56 +10869,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -11986,76 +10879,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Number of results to return per page.
explode: true
in: query
@@ -12099,15 +10922,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedCloudServiceNetworkAssignmentList'
+ $ref: "#/components/schemas/PaginatedCloudServiceNetworkAssignmentList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedCloudServiceNetworkAssignmentList'
+ $ref: "#/components/schemas/PaginatedCloudServiceNetworkAssignmentList"
description: ""
security:
- cookieAuth: []
@@ -12123,19 +10955,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableCloudServiceNetworkAssignmentRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableCloudServiceNetworkAssignmentRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableCloudServiceNetworkAssignmentRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableCloudServiceNetworkAssignmentRequest"
type: array
required: true
responses:
@@ -12144,12 +10976,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/CloudServiceNetworkAssignment'
+ $ref: "#/components/schemas/CloudServiceNetworkAssignment"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/CloudServiceNetworkAssignment'
+ $ref: "#/components/schemas/CloudServiceNetworkAssignment"
type: array
description: ""
security:
@@ -12166,26 +10998,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/CloudServiceNetworkAssignmentRequest'
+ $ref: "#/components/schemas/CloudServiceNetworkAssignmentRequest"
text/csv:
schema:
- $ref: '#/components/schemas/CloudServiceNetworkAssignmentRequest'
+ $ref: "#/components/schemas/CloudServiceNetworkAssignmentRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/CloudServiceNetworkAssignment'
+ $ref: "#/components/schemas/CloudServiceNetworkAssignment"
text/csv:
schema:
- $ref: '#/components/schemas/CloudServiceNetworkAssignment'
+ $ref: "#/components/schemas/CloudServiceNetworkAssignment"
description: ""
security:
- cookieAuth: []
@@ -12201,19 +11033,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableCloudServiceNetworkAssignmentRequest'
+ $ref: "#/components/schemas/BulkWritableCloudServiceNetworkAssignmentRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableCloudServiceNetworkAssignmentRequest'
+ $ref: "#/components/schemas/BulkWritableCloudServiceNetworkAssignmentRequest"
type: array
required: true
responses:
@@ -12222,12 +11054,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/CloudServiceNetworkAssignment'
+ $ref: "#/components/schemas/CloudServiceNetworkAssignment"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/CloudServiceNetworkAssignment'
+ $ref: "#/components/schemas/CloudServiceNetworkAssignment"
type: array
description: ""
security:
@@ -12245,7 +11077,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this cloud service network assignment.
explode: false
@@ -12273,7 +11105,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this cloud service network assignment.
explode: false
@@ -12295,181 +11127,40 @@ paths:
minimum: 0
type: integer
style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/CloudServiceNetworkAssignment'
- text/csv:
- schema:
- $ref: '#/components/schemas/CloudServiceNetworkAssignment'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - cloud
- patch:
- description: Partial update a cloud service network assignment object.
- operationId: cloud_cloud_service_network_assignments_partial_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this cloud service network assignment.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PatchedCloudServiceNetworkAssignmentRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/PatchedCloudServiceNetworkAssignmentRequest'
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/CloudServiceNetworkAssignment'
- text/csv:
- schema:
- $ref: '#/components/schemas/CloudServiceNetworkAssignment'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - cloud
- put:
- description: Update a cloud service network assignment object.
- operationId: cloud_cloud_service_network_assignments_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this cloud service network assignment.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/CloudServiceNetworkAssignmentRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/CloudServiceNetworkAssignmentRequest'
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/CloudServiceNetworkAssignment'
- text/csv:
- schema:
- $ref: '#/components/schemas/CloudServiceNetworkAssignment'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - cloud
- /cloud/cloud-service-network-assignments/{id}/notes/:
- get:
- description: API methods for returning or creating notes on an object.
- operationId: cloud_cloud_service_network_assignments_notes_list
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this cloud service network assignment.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- - description: Serializer Depth
+ - description: Exclude many-to-many fields from the response
explode: true
in: query
- name: depth
+ name: exclude_m2m
required: false
schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
+ default: false
+ type: boolean
style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/CloudServiceNetworkAssignment"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/CloudServiceNetworkAssignment"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- cloud
- post:
- description: API methods for returning or creating notes on an object.
- operationId: cloud_cloud_service_network_assignments_notes_create
+ patch:
+ description: Partial update a cloud service network assignment object.
+ operationId: cloud_cloud_service_network_assignments_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this cloud service network assignment.
explode: false
@@ -12484,20 +11175,63 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/PatchedCloudServiceNetworkAssignmentRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/PatchedCloudServiceNetworkAssignmentRequest"
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/CloudServiceNetworkAssignment"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/CloudServiceNetworkAssignment"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - cloud
+ put:
+ description: Update a cloud service network assignment object.
+ operationId: cloud_cloud_service_network_assignments_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this cloud service network assignment.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/CloudServiceNetworkAssignmentRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/CloudServiceNetworkAssignmentRequest"
required: true
responses:
- "201":
+ "200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/CloudServiceNetworkAssignment"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/CloudServiceNetworkAssignment"
description: ""
security:
- cookieAuth: []
@@ -12514,19 +11248,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -12620,14 +11354,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -12831,21 +11565,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -12859,56 +11593,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -12919,76 +11603,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: last_updated
@@ -13256,14 +11870,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -13276,15 +11890,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedCloudServiceList'
+ $ref: "#/components/schemas/PaginatedCloudServiceList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedCloudServiceList'
+ $ref: "#/components/schemas/PaginatedCloudServiceList"
description: ""
security:
- cookieAuth: []
@@ -13300,19 +11923,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableCloudServiceRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableCloudServiceRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableCloudServiceRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableCloudServiceRequest"
type: array
required: true
responses:
@@ -13321,12 +11944,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/CloudService'
+ $ref: "#/components/schemas/CloudService"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/CloudService'
+ $ref: "#/components/schemas/CloudService"
type: array
description: ""
security:
@@ -13343,26 +11966,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/CloudServiceRequest'
+ $ref: "#/components/schemas/CloudServiceRequest"
text/csv:
schema:
- $ref: '#/components/schemas/CloudServiceRequest'
+ $ref: "#/components/schemas/CloudServiceRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/CloudService'
+ $ref: "#/components/schemas/CloudService"
text/csv:
schema:
- $ref: '#/components/schemas/CloudService'
+ $ref: "#/components/schemas/CloudService"
description: ""
security:
- cookieAuth: []
@@ -13378,19 +12001,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableCloudServiceRequest'
+ $ref: "#/components/schemas/BulkWritableCloudServiceRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableCloudServiceRequest'
+ $ref: "#/components/schemas/BulkWritableCloudServiceRequest"
type: array
required: true
responses:
@@ -13399,12 +12022,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/CloudService'
+ $ref: "#/components/schemas/CloudService"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/CloudService'
+ $ref: "#/components/schemas/CloudService"
type: array
description: ""
security:
@@ -13422,7 +12045,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this cloud service.
explode: false
@@ -13450,7 +12073,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this cloud service.
explode: false
@@ -13472,181 +12095,40 @@ paths:
minimum: 0
type: integer
style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/CloudService'
- text/csv:
- schema:
- $ref: '#/components/schemas/CloudService'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - cloud
- patch:
- description: Partial update a cloud service object.
- operationId: cloud_cloud_services_partial_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this cloud service.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PatchedCloudServiceRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/PatchedCloudServiceRequest'
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/CloudService'
- text/csv:
- schema:
- $ref: '#/components/schemas/CloudService'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - cloud
- put:
- description: Update a cloud service object.
- operationId: cloud_cloud_services_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this cloud service.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/CloudServiceRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/CloudServiceRequest'
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/CloudService'
- text/csv:
- schema:
- $ref: '#/components/schemas/CloudService'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - cloud
- /cloud/cloud-services/{id}/notes/:
- get:
- description: API methods for returning or creating notes on an object.
- operationId: cloud_cloud_services_notes_list
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this cloud service.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- - description: The initial index from which to return the results.
+ - description: Exclude many-to-many fields from the response
explode: true
in: query
- name: offset
+ name: exclude_m2m
required: false
schema:
- type: integer
- style: form
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
+ default: false
+ type: boolean
style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/CloudService"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/CloudService"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- cloud
- post:
- description: API methods for returning or creating notes on an object.
- operationId: cloud_cloud_services_notes_create
+ patch:
+ description: Partial update a cloud service object.
+ operationId: cloud_cloud_services_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this cloud service.
explode: false
@@ -13661,26 +12143,221 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/PatchedCloudServiceRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/PatchedCloudServiceRequest"
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/CloudService"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/CloudService"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - cloud
+ put:
+ description: Update a cloud service object.
+ operationId: cloud_cloud_services_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this cloud service.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/CloudServiceRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/CloudServiceRequest"
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/CloudService"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/CloudService"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - cloud
+ /cloud/cloud-services/{id}/notes/:
+ get:
+ description: API methods for returning or creating notes on an object.
+ operationId: cloud_cloud_services_notes_list
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this cloud service.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: The initial index from which to return the results.
+ explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - cloud
+ post:
+ description: API methods for returning or creating notes on an object.
+ operationId: cloud_cloud_services_notes_create
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this cloud service.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- cloud
+ /core/render-jinja-template/:
+ post:
+ description: View to render a Jinja template.
+ operationId: core_render_jinja_template_create
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/RenderJinjaRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/RenderJinjaRequest"
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/RenderJinja"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/RenderJinja"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - core
/dcim/cables/:
delete:
description: Destroy a list of cable objects.
@@ -13691,19 +12368,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -13861,14 +12538,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -13968,21 +12645,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -13996,56 +12673,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -14056,76 +12683,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: label
@@ -14589,14 +13146,14 @@ paths:
type: string
type: array
style: form
- - description: Exclude Status (name or ID)
- explode: true
+ - explode: true
in: query
name: status__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -14640,14 +13197,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Tenant (name)
explode: true
@@ -14680,56 +13237,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: termination_a_id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: termination_a_id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: termination_a_id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: termination_a_id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: termination_a_id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: termination_a_id__n
@@ -14740,76 +13247,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: termination_a_id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: termination_a_id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: termination_a_id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: termination_a_id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: termination_a_id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: termination_a_id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: termination_a_id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: termination_a_type
@@ -14838,56 +13275,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: termination_b_id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: termination_b_id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: termination_b_id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: termination_b_id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: termination_b_id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: termination_b_id__n
@@ -14898,76 +13285,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: termination_b_id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: termination_b_id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: termination_b_id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: termination_b_id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: termination_b_id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: termination_b_id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: termination_b_id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: termination_b_type
@@ -15132,15 +13449,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedCableList'
+ $ref: "#/components/schemas/PaginatedCableList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedCableList'
+ $ref: "#/components/schemas/PaginatedCableList"
description: ""
security:
- cookieAuth: []
@@ -15156,19 +13482,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableCableRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableCableRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableCableRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableCableRequest"
type: array
required: true
responses:
@@ -15177,12 +13503,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Cable'
+ $ref: "#/components/schemas/Cable"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Cable'
+ $ref: "#/components/schemas/Cable"
type: array
description: ""
security:
@@ -15199,26 +13525,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableCableRequest'
+ $ref: "#/components/schemas/WritableCableRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableCableRequest'
+ $ref: "#/components/schemas/WritableCableRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Cable'
+ $ref: "#/components/schemas/Cable"
text/csv:
schema:
- $ref: '#/components/schemas/Cable'
+ $ref: "#/components/schemas/Cable"
description: ""
security:
- cookieAuth: []
@@ -15234,19 +13560,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest'
+ $ref: "#/components/schemas/BulkWritableCableRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest'
+ $ref: "#/components/schemas/BulkWritableCableRequest"
type: array
required: true
responses:
@@ -15255,12 +13581,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Cable'
+ $ref: "#/components/schemas/Cable"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Cable'
+ $ref: "#/components/schemas/Cable"
type: array
description: ""
security:
@@ -15278,7 +13604,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this cable.
explode: false
@@ -15306,7 +13632,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this cable.
explode: false
@@ -15328,15 +13654,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Cable'
+ $ref: "#/components/schemas/Cable"
text/csv:
schema:
- $ref: '#/components/schemas/Cable'
+ $ref: "#/components/schemas/Cable"
description: ""
security:
- cookieAuth: []
@@ -15352,7 +13687,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this cable.
explode: false
@@ -15367,19 +13702,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedWritableCableRequest'
+ $ref: "#/components/schemas/PatchedWritableCableRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedWritableCableRequest'
+ $ref: "#/components/schemas/PatchedWritableCableRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Cable'
+ $ref: "#/components/schemas/Cable"
text/csv:
schema:
- $ref: '#/components/schemas/Cable'
+ $ref: "#/components/schemas/Cable"
description: ""
security:
- cookieAuth: []
@@ -15395,7 +13730,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this cable.
explode: false
@@ -15410,20 +13745,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableCableRequest'
+ $ref: "#/components/schemas/WritableCableRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableCableRequest'
+ $ref: "#/components/schemas/WritableCableRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Cable'
+ $ref: "#/components/schemas/Cable"
text/csv:
schema:
- $ref: '#/components/schemas/Cable'
+ $ref: "#/components/schemas/Cable"
description: ""
security:
- cookieAuth: []
@@ -15440,7 +13775,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this cable.
explode: false
@@ -15478,15 +13813,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -15502,7 +13846,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this cable.
explode: false
@@ -15517,20 +13861,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -15553,7 +13897,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: The name of the peer device
explode: true
@@ -15582,18 +13926,27 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/Device'
+ $ref: "#/components/schemas/Device"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Device'
+ $ref: "#/components/schemas/Device"
type: array
description: ""
security:
@@ -15623,14 +13976,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Device (name)
explode: true
@@ -15662,21 +14015,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -15690,56 +14043,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -15750,76 +14053,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Number of results to return per page.
explode: true
in: query
@@ -15995,14 +14228,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -16015,15 +14248,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedConsolePortList'
+ $ref: "#/components/schemas/PaginatedConsolePortList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedConsolePortList'
+ $ref: "#/components/schemas/PaginatedConsolePortList"
description: ""
security:
- cookieAuth: []
@@ -16040,19 +14282,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -16084,14 +14326,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Description
explode: true
@@ -16268,21 +14510,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: Has device type
explode: true
@@ -16311,61 +14553,6 @@ paths:
type: string
type: array
style: form
- - description: ID contains
- explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID
- explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID ends with
- explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID matches regex
- explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID starts with
- explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Exclude ID
explode: true
in: query
@@ -16377,83 +14564,6 @@ paths:
type: string
type: array
style: form
- - description: Exclude ID contains
- explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID
- explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID ends with
- explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID matches regex
- explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID starts with
- explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID matches regex
- explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID matches regex
- explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Label
explode: true
in: query
@@ -16809,14 +14919,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -16955,15 +15065,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedConsolePortTemplateList'
+ $ref: "#/components/schemas/PaginatedConsolePortTemplateList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedConsolePortTemplateList'
+ $ref: "#/components/schemas/PaginatedConsolePortTemplateList"
description: ""
security:
- cookieAuth: []
@@ -16979,19 +15098,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableConsolePortTemplateRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableConsolePortTemplateRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableConsolePortTemplateRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableConsolePortTemplateRequest"
type: array
required: true
responses:
@@ -17000,12 +15119,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ConsolePortTemplate'
+ $ref: "#/components/schemas/ConsolePortTemplate"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ConsolePortTemplate'
+ $ref: "#/components/schemas/ConsolePortTemplate"
type: array
description: ""
security:
@@ -17022,26 +15141,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableConsolePortTemplateRequest'
+ $ref: "#/components/schemas/WritableConsolePortTemplateRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableConsolePortTemplateRequest'
+ $ref: "#/components/schemas/WritableConsolePortTemplateRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/ConsolePortTemplate'
+ $ref: "#/components/schemas/ConsolePortTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/ConsolePortTemplate'
+ $ref: "#/components/schemas/ConsolePortTemplate"
description: ""
security:
- cookieAuth: []
@@ -17057,19 +15176,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableConsolePortTemplateRequest'
+ $ref: "#/components/schemas/BulkWritableConsolePortTemplateRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableConsolePortTemplateRequest'
+ $ref: "#/components/schemas/BulkWritableConsolePortTemplateRequest"
type: array
required: true
responses:
@@ -17078,12 +15197,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ConsolePortTemplate'
+ $ref: "#/components/schemas/ConsolePortTemplate"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ConsolePortTemplate'
+ $ref: "#/components/schemas/ConsolePortTemplate"
type: array
description: ""
security:
@@ -17101,7 +15220,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this console port template.
explode: false
@@ -17129,7 +15248,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this console port template.
explode: false
@@ -17151,15 +15270,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ConsolePortTemplate'
+ $ref: "#/components/schemas/ConsolePortTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/ConsolePortTemplate'
+ $ref: "#/components/schemas/ConsolePortTemplate"
description: ""
security:
- cookieAuth: []
@@ -17175,7 +15303,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this console port template.
explode: false
@@ -17190,19 +15318,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedWritableConsolePortTemplateRequest'
+ $ref: "#/components/schemas/PatchedWritableConsolePortTemplateRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedWritableConsolePortTemplateRequest'
+ $ref: "#/components/schemas/PatchedWritableConsolePortTemplateRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ConsolePortTemplate'
+ $ref: "#/components/schemas/ConsolePortTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/ConsolePortTemplate'
+ $ref: "#/components/schemas/ConsolePortTemplate"
description: ""
security:
- cookieAuth: []
@@ -17218,7 +15346,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this console port template.
explode: false
@@ -17233,127 +15361,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableConsolePortTemplateRequest'
+ $ref: "#/components/schemas/WritableConsolePortTemplateRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableConsolePortTemplateRequest'
+ $ref: "#/components/schemas/WritableConsolePortTemplateRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ConsolePortTemplate'
+ $ref: "#/components/schemas/ConsolePortTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/ConsolePortTemplate'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- /dcim/console-port-templates/{id}/notes/:
- get:
- description: API methods for returning or creating notes on an object.
- operationId: dcim_console_port_templates_notes_list
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this console port template.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
- style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- post:
- description: API methods for returning or creating notes on an object.
- operationId: dcim_console_port_templates_notes_create
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this console port template.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- required: true
- responses:
- "201":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Note'
- text/csv:
- schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/ConsolePortTemplate"
description: ""
security:
- cookieAuth: []
@@ -17370,19 +15391,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -17451,14 +15472,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -17604,21 +15625,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: Has cable
explode: true
@@ -17640,56 +15661,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -17700,76 +15671,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: label
@@ -18140,14 +16041,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Physical port type
explode: true
@@ -18159,8 +16060,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__ic
required: false
@@ -18169,8 +16069,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__ie
required: false
@@ -18179,8 +16078,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__iew
required: false
@@ -18189,8 +16087,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__ire
required: false
@@ -18199,8 +16096,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__isw
required: false
@@ -18209,8 +16105,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__n
required: false
@@ -18219,8 +16114,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__nic
required: false
@@ -18229,8 +16123,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__nie
required: false
@@ -18239,8 +16132,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__niew
required: false
@@ -18249,8 +16141,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__nire
required: false
@@ -18259,8 +16150,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__nisw
required: false
@@ -18269,8 +16159,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__nre
required: false
@@ -18279,8 +16168,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__re
required: false
@@ -18300,15 +16188,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedConsolePortList'
+ $ref: "#/components/schemas/PaginatedConsolePortList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedConsolePortList'
+ $ref: "#/components/schemas/PaginatedConsolePortList"
description: ""
security:
- cookieAuth: []
@@ -18324,19 +16221,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableConsolePortRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableConsolePortRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableConsolePortRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableConsolePortRequest"
type: array
required: true
responses:
@@ -18345,12 +16242,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ConsolePort'
+ $ref: "#/components/schemas/ConsolePort"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ConsolePort'
+ $ref: "#/components/schemas/ConsolePort"
type: array
description: ""
security:
@@ -18367,26 +16264,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableConsolePortRequest'
+ $ref: "#/components/schemas/WritableConsolePortRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableConsolePortRequest'
+ $ref: "#/components/schemas/WritableConsolePortRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/ConsolePort'
+ $ref: "#/components/schemas/ConsolePort"
text/csv:
schema:
- $ref: '#/components/schemas/ConsolePort'
+ $ref: "#/components/schemas/ConsolePort"
description: ""
security:
- cookieAuth: []
@@ -18402,19 +16299,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableConsolePortRequest'
+ $ref: "#/components/schemas/BulkWritableConsolePortRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableConsolePortRequest'
+ $ref: "#/components/schemas/BulkWritableConsolePortRequest"
type: array
required: true
responses:
@@ -18423,12 +16320,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ConsolePort'
+ $ref: "#/components/schemas/ConsolePort"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ConsolePort'
+ $ref: "#/components/schemas/ConsolePort"
type: array
description: ""
security:
@@ -18446,7 +16343,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this console port.
explode: false
@@ -18474,7 +16371,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this console port.
explode: false
@@ -18496,15 +16393,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ConsolePort'
+ $ref: "#/components/schemas/ConsolePort"
text/csv:
schema:
- $ref: '#/components/schemas/ConsolePort'
+ $ref: "#/components/schemas/ConsolePort"
description: ""
security:
- cookieAuth: []
@@ -18520,7 +16426,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this console port.
explode: false
@@ -18535,19 +16441,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedWritableConsolePortRequest'
+ $ref: "#/components/schemas/PatchedWritableConsolePortRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedWritableConsolePortRequest'
+ $ref: "#/components/schemas/PatchedWritableConsolePortRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ConsolePort'
+ $ref: "#/components/schemas/ConsolePort"
text/csv:
schema:
- $ref: '#/components/schemas/ConsolePort'
+ $ref: "#/components/schemas/ConsolePort"
description: ""
security:
- cookieAuth: []
@@ -18563,7 +16469,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this console port.
explode: false
@@ -18578,20 +16484,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableConsolePortRequest'
+ $ref: "#/components/schemas/WritableConsolePortRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableConsolePortRequest'
+ $ref: "#/components/schemas/WritableConsolePortRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ConsolePort'
+ $ref: "#/components/schemas/ConsolePort"
text/csv:
schema:
- $ref: '#/components/schemas/ConsolePort'
+ $ref: "#/components/schemas/ConsolePort"
description: ""
security:
- cookieAuth: []
@@ -18608,7 +16514,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this console port.
explode: false
@@ -18646,15 +16552,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -18670,7 +16585,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this console port.
explode: false
@@ -18685,20 +16600,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -18716,7 +16631,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this console port.
explode: false
@@ -18738,15 +16653,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ConsolePort'
+ $ref: "#/components/schemas/ConsolePort"
text/csv:
schema:
- $ref: '#/components/schemas/ConsolePort'
+ $ref: "#/components/schemas/ConsolePort"
description: ""
security:
- cookieAuth: []
@@ -18763,19 +16687,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -18807,14 +16731,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Description
explode: true
@@ -18991,21 +16915,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: Has device type
explode: true
@@ -19034,61 +16958,6 @@ paths:
type: string
type: array
style: form
- - description: ID contains
- explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID
- explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID ends with
- explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID matches regex
- explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID starts with
- explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Exclude ID
explode: true
in: query
@@ -19100,83 +16969,6 @@ paths:
type: string
type: array
style: form
- - description: Exclude ID contains
- explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID
- explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID ends with
- explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID matches regex
- explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID starts with
- explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID matches regex
- explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID matches regex
- explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Label
explode: true
in: query
@@ -19532,14 +17324,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -19678,15 +17470,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedConsoleServerPortTemplateList'
+ $ref: "#/components/schemas/PaginatedConsoleServerPortTemplateList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedConsoleServerPortTemplateList'
+ $ref: "#/components/schemas/PaginatedConsoleServerPortTemplateList"
description: ""
security:
- cookieAuth: []
@@ -19702,19 +17503,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableConsoleServerPortTemplateRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableConsoleServerPortTemplateRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableConsoleServerPortTemplateRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableConsoleServerPortTemplateRequest"
type: array
required: true
responses:
@@ -19723,12 +17524,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ConsoleServerPortTemplate'
+ $ref: "#/components/schemas/ConsoleServerPortTemplate"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ConsoleServerPortTemplate'
+ $ref: "#/components/schemas/ConsoleServerPortTemplate"
type: array
description: ""
security:
@@ -19745,26 +17546,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableConsoleServerPortTemplateRequest'
+ $ref: "#/components/schemas/WritableConsoleServerPortTemplateRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableConsoleServerPortTemplateRequest'
+ $ref: "#/components/schemas/WritableConsoleServerPortTemplateRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/ConsoleServerPortTemplate'
+ $ref: "#/components/schemas/ConsoleServerPortTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/ConsoleServerPortTemplate'
+ $ref: "#/components/schemas/ConsoleServerPortTemplate"
description: ""
security:
- cookieAuth: []
@@ -19780,19 +17581,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableConsoleServerPortTemplateRequest'
+ $ref: "#/components/schemas/BulkWritableConsoleServerPortTemplateRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableConsoleServerPortTemplateRequest'
+ $ref: "#/components/schemas/BulkWritableConsoleServerPortTemplateRequest"
type: array
required: true
responses:
@@ -19801,12 +17602,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ConsoleServerPortTemplate'
+ $ref: "#/components/schemas/ConsoleServerPortTemplate"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ConsoleServerPortTemplate'
+ $ref: "#/components/schemas/ConsoleServerPortTemplate"
type: array
description: ""
security:
@@ -19824,7 +17625,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this console server port template.
explode: false
@@ -19852,7 +17653,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this console server port template.
explode: false
@@ -19874,15 +17675,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ConsoleServerPortTemplate'
+ $ref: "#/components/schemas/ConsoleServerPortTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/ConsoleServerPortTemplate'
+ $ref: "#/components/schemas/ConsoleServerPortTemplate"
description: ""
security:
- cookieAuth: []
@@ -19898,7 +17708,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this console server port template.
explode: false
@@ -19913,19 +17723,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedWritableConsoleServerPortTemplateRequest'
+ $ref: "#/components/schemas/PatchedWritableConsoleServerPortTemplateRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedWritableConsoleServerPortTemplateRequest'
+ $ref: "#/components/schemas/PatchedWritableConsoleServerPortTemplateRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ConsoleServerPortTemplate'
+ $ref: "#/components/schemas/ConsoleServerPortTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/ConsoleServerPortTemplate'
+ $ref: "#/components/schemas/ConsoleServerPortTemplate"
description: ""
security:
- cookieAuth: []
@@ -19941,7 +17751,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this console server port template.
explode: false
@@ -19956,127 +17766,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableConsoleServerPortTemplateRequest'
+ $ref: "#/components/schemas/WritableConsoleServerPortTemplateRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableConsoleServerPortTemplateRequest'
+ $ref: "#/components/schemas/WritableConsoleServerPortTemplateRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ConsoleServerPortTemplate'
- text/csv:
- schema:
- $ref: '#/components/schemas/ConsoleServerPortTemplate'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- /dcim/console-server-port-templates/{id}/notes/:
- get:
- description: API methods for returning or creating notes on an object.
- operationId: dcim_console_server_port_templates_notes_list
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this console server port template.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
- style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- post:
- description: API methods for returning or creating notes on an object.
- operationId: dcim_console_server_port_templates_notes_create
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this console server port template.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- required: true
- responses:
- "201":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/ConsoleServerPortTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/ConsoleServerPortTemplate"
description: ""
security:
- cookieAuth: []
@@ -20093,19 +17796,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -20174,14 +17877,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -20327,21 +18030,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: Has cable
explode: true
@@ -20363,56 +18066,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -20423,76 +18076,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: label
@@ -20863,14 +18446,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Physical port type
explode: true
@@ -20882,8 +18465,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__ic
required: false
@@ -20892,8 +18474,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__ie
required: false
@@ -20902,8 +18483,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__iew
required: false
@@ -20912,8 +18492,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__ire
required: false
@@ -20922,8 +18501,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__isw
required: false
@@ -20932,8 +18510,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__n
required: false
@@ -20942,8 +18519,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__nic
required: false
@@ -20952,8 +18528,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__nie
required: false
@@ -20962,8 +18537,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__niew
required: false
@@ -20972,8 +18546,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__nire
required: false
@@ -20982,8 +18555,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__nisw
required: false
@@ -20992,8 +18564,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__nre
required: false
@@ -21002,8 +18573,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__re
required: false
@@ -21023,15 +18593,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedConsoleServerPortList'
+ $ref: "#/components/schemas/PaginatedConsoleServerPortList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedConsoleServerPortList'
+ $ref: "#/components/schemas/PaginatedConsoleServerPortList"
description: ""
security:
- cookieAuth: []
@@ -21047,19 +18626,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableConsoleServerPortRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableConsoleServerPortRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableConsoleServerPortRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableConsoleServerPortRequest"
type: array
required: true
responses:
@@ -21068,12 +18647,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ConsoleServerPort'
+ $ref: "#/components/schemas/ConsoleServerPort"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ConsoleServerPort'
+ $ref: "#/components/schemas/ConsoleServerPort"
type: array
description: ""
security:
@@ -21090,26 +18669,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableConsoleServerPortRequest'
+ $ref: "#/components/schemas/WritableConsoleServerPortRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableConsoleServerPortRequest'
+ $ref: "#/components/schemas/WritableConsoleServerPortRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/ConsoleServerPort'
+ $ref: "#/components/schemas/ConsoleServerPort"
text/csv:
schema:
- $ref: '#/components/schemas/ConsoleServerPort'
+ $ref: "#/components/schemas/ConsoleServerPort"
description: ""
security:
- cookieAuth: []
@@ -21125,19 +18704,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableConsoleServerPortRequest'
+ $ref: "#/components/schemas/BulkWritableConsoleServerPortRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableConsoleServerPortRequest'
+ $ref: "#/components/schemas/BulkWritableConsoleServerPortRequest"
type: array
required: true
responses:
@@ -21146,12 +18725,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ConsoleServerPort'
+ $ref: "#/components/schemas/ConsoleServerPort"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ConsoleServerPort'
+ $ref: "#/components/schemas/ConsoleServerPort"
type: array
description: ""
security:
@@ -21169,7 +18748,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this console server port.
explode: false
@@ -21197,7 +18776,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this console server port.
explode: false
@@ -21219,15 +18798,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ConsoleServerPort'
+ $ref: "#/components/schemas/ConsoleServerPort"
text/csv:
schema:
- $ref: '#/components/schemas/ConsoleServerPort'
+ $ref: "#/components/schemas/ConsoleServerPort"
description: ""
security:
- cookieAuth: []
@@ -21243,7 +18831,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this console server port.
explode: false
@@ -21258,19 +18846,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedWritableConsoleServerPortRequest'
+ $ref: "#/components/schemas/PatchedWritableConsoleServerPortRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedWritableConsoleServerPortRequest'
+ $ref: "#/components/schemas/PatchedWritableConsoleServerPortRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ConsoleServerPort'
+ $ref: "#/components/schemas/ConsoleServerPort"
text/csv:
schema:
- $ref: '#/components/schemas/ConsoleServerPort'
+ $ref: "#/components/schemas/ConsoleServerPort"
description: ""
security:
- cookieAuth: []
@@ -21286,7 +18874,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this console server port.
explode: false
@@ -21301,20 +18889,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableConsoleServerPortRequest'
+ $ref: "#/components/schemas/WritableConsoleServerPortRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableConsoleServerPortRequest'
+ $ref: "#/components/schemas/WritableConsoleServerPortRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ConsoleServerPort'
+ $ref: "#/components/schemas/ConsoleServerPort"
text/csv:
schema:
- $ref: '#/components/schemas/ConsoleServerPort'
+ $ref: "#/components/schemas/ConsoleServerPort"
description: ""
security:
- cookieAuth: []
@@ -21331,7 +18919,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this console server port.
explode: false
@@ -21369,15 +18957,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -21393,7 +18990,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this console server port.
explode: false
@@ -21408,20 +19005,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -21439,7 +19036,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this console server port.
explode: false
@@ -21461,15 +19058,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ConsoleServerPort'
+ $ref: "#/components/schemas/ConsoleServerPort"
text/csv:
schema:
- $ref: '#/components/schemas/ConsoleServerPort'
+ $ref: "#/components/schemas/ConsoleServerPort"
description: ""
security:
- cookieAuth: []
@@ -21486,19 +19092,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -21513,6 +19119,16 @@ paths:
description: Retrieve a list of controller managed device group objects.
operationId: dcim_controller_managed_device_groups_list
parameters:
+ - description: Capabilities
+ explode: true
+ in: query
+ name: capabilities
+ required: false
+ schema:
+ items:
+ nullable: true
+ type: array
+ style: form
- explode: true
in: query
name: contacts
@@ -21530,14 +19146,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -21626,154 +19242,176 @@ paths:
style: form
- explode: true
in: query
- name: dynamic_groups
+ name: description
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
- name: dynamic_groups__n
+ name: description__ic
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: format
+ name: description__ie
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
- explode: true
+ - explode: true
in: query
- name: id
+ name: description__iew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ic
+ name: description__ire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ie
+ name: description__isw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: description__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: description__nic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: description__nie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__n
+ name: description__niew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nic
+ name: description__nire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: description__nisw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: description__nre
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nire
+ name: description__re
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nisw
+ name: dynamic_groups
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nre
+ name: dynamic_groups__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: Has radio profiles
+ explode: true
+ in: query
+ name: has_radio_profiles
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - description: Has wireless networks
+ explode: true
+ in: query
+ name: has_wireless_networks
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
+ in: query
+ name: id
required: false
schema:
items:
@@ -21783,7 +19421,7 @@ paths:
style: form
- explode: true
in: query
- name: id__re
+ name: id__n
required: false
schema:
items:
@@ -22034,6 +19672,24 @@ paths:
schema:
type: string
style: form
+ - explode: true
+ in: query
+ name: radio_profiles
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: radio_profiles__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- description: Which field to use when ordering the results.
explode: true
in: query
@@ -22093,14 +19749,98 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: tenant
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Tenant (name or ID) is null
+ explode: true
+ in: query
+ name: tenant__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: tenant__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: tenant_group
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Tenant Group (name or ID) is null
+ explode: true
+ in: query
+ name: tenant_group__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: tenant_group__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead)"
+ explode: true
+ in: query
+ name: tenant_id
+ required: false
+ schema:
+ items:
+ format: uuid
+ nullable: true
+ type: string
+ type: array
+ style: form
+ - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead) is null"
+ explode: true
+ in: query
+ name: tenant_id__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - description: "Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead)"
+ explode: true
+ in: query
+ name: tenant_id__n
+ required: false
+ schema:
+ items:
+ format: uuid
+ nullable: true
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -22156,6 +19896,24 @@ paths:
type: integer
type: array
style: form
+ - explode: true
+ in: query
+ name: wireless_networks
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: wireless_networks__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- description: Serializer Depth
explode: true
in: query
@@ -22167,15 +19925,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedControllerManagedDeviceGroupList'
+ $ref: "#/components/schemas/PaginatedControllerManagedDeviceGroupList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedControllerManagedDeviceGroupList'
+ $ref: "#/components/schemas/PaginatedControllerManagedDeviceGroupList"
description: ""
security:
- cookieAuth: []
@@ -22191,19 +19958,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableControllerManagedDeviceGroupRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableControllerManagedDeviceGroupRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableControllerManagedDeviceGroupRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableControllerManagedDeviceGroupRequest"
type: array
required: true
responses:
@@ -22212,12 +19979,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ControllerManagedDeviceGroup'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroup"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ControllerManagedDeviceGroup'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroup"
type: array
description: ""
security:
@@ -22234,26 +20001,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/ControllerManagedDeviceGroupRequest'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ControllerManagedDeviceGroupRequest'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/ControllerManagedDeviceGroup'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroup"
text/csv:
schema:
- $ref: '#/components/schemas/ControllerManagedDeviceGroup'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroup"
description: ""
security:
- cookieAuth: []
@@ -22269,19 +20036,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableControllerManagedDeviceGroupRequest'
+ $ref: "#/components/schemas/BulkWritableControllerManagedDeviceGroupRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableControllerManagedDeviceGroupRequest'
+ $ref: "#/components/schemas/BulkWritableControllerManagedDeviceGroupRequest"
type: array
required: true
responses:
@@ -22290,12 +20057,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ControllerManagedDeviceGroup'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroup"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ControllerManagedDeviceGroup'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroup"
type: array
description: ""
security:
@@ -22313,7 +20080,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this controller managed device group.
explode: false
@@ -22341,7 +20108,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this controller managed device group.
explode: false
@@ -22363,15 +20130,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ControllerManagedDeviceGroup'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroup"
text/csv:
schema:
- $ref: '#/components/schemas/ControllerManagedDeviceGroup'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroup"
description: ""
security:
- cookieAuth: []
@@ -22387,7 +20163,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this controller managed device group.
explode: false
@@ -22402,19 +20178,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedControllerManagedDeviceGroupRequest'
+ $ref: "#/components/schemas/PatchedControllerManagedDeviceGroupRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedControllerManagedDeviceGroupRequest'
+ $ref: "#/components/schemas/PatchedControllerManagedDeviceGroupRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ControllerManagedDeviceGroup'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroup"
text/csv:
schema:
- $ref: '#/components/schemas/ControllerManagedDeviceGroup'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroup"
description: ""
security:
- cookieAuth: []
@@ -22430,7 +20206,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this controller managed device group.
explode: false
@@ -22445,20 +20221,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ControllerManagedDeviceGroupRequest'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ControllerManagedDeviceGroupRequest'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ControllerManagedDeviceGroup'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroup"
text/csv:
schema:
- $ref: '#/components/schemas/ControllerManagedDeviceGroup'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroup"
description: ""
security:
- cookieAuth: []
@@ -22475,7 +20251,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this controller managed device group.
explode: false
@@ -22513,15 +20289,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -22537,7 +20322,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this controller managed device group.
explode: false
@@ -22552,20 +20337,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -22582,19 +20367,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -22609,6 +20394,16 @@ paths:
description: Retrieve a list of controller objects.
operationId: dcim_controllers_list
parameters:
+ - description: Capabilities
+ explode: true
+ in: query
+ name: capabilities
+ required: false
+ schema:
+ items:
+ nullable: true
+ type: array
+ style: form
- explode: true
in: query
name: contacts
@@ -22626,14 +20421,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -22889,14 +20684,14 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -22929,7 +20724,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -22943,56 +20738,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -23003,76 +20748,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: last_updated
@@ -23351,14 +21026,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Role (name or ID)
- explode: true
+ - explode: true
in: query
name: role__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Which field to use when ordering the results.
explode: true
@@ -23377,14 +21052,14 @@ paths:
type: string
type: array
style: form
- - description: Exclude Status (name or ID)
- explode: true
+ - explode: true
in: query
name: status__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -23428,14 +21103,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -23521,6 +21196,24 @@ paths:
type: string
type: array
style: form
+ - explode: true
+ in: query
+ name: wireless_networks
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: wireless_networks__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- description: Serializer Depth
explode: true
in: query
@@ -23532,15 +21225,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedControllerList'
+ $ref: "#/components/schemas/PaginatedControllerList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedControllerList'
+ $ref: "#/components/schemas/PaginatedControllerList"
description: ""
security:
- cookieAuth: []
@@ -23556,19 +21258,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableControllerRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableControllerRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableControllerRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableControllerRequest"
type: array
required: true
responses:
@@ -23577,12 +21279,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Controller'
+ $ref: "#/components/schemas/Controller"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Controller'
+ $ref: "#/components/schemas/Controller"
type: array
description: ""
security:
@@ -23599,26 +21301,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/ControllerRequest'
+ $ref: "#/components/schemas/ControllerRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ControllerRequest'
+ $ref: "#/components/schemas/ControllerRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Controller'
+ $ref: "#/components/schemas/Controller"
text/csv:
schema:
- $ref: '#/components/schemas/Controller'
+ $ref: "#/components/schemas/Controller"
description: ""
security:
- cookieAuth: []
@@ -23634,19 +21336,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableControllerRequest'
+ $ref: "#/components/schemas/BulkWritableControllerRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableControllerRequest'
+ $ref: "#/components/schemas/BulkWritableControllerRequest"
type: array
required: true
responses:
@@ -23655,12 +21357,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Controller'
+ $ref: "#/components/schemas/Controller"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Controller'
+ $ref: "#/components/schemas/Controller"
type: array
description: ""
security:
@@ -23678,7 +21380,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this controller.
explode: false
@@ -23706,7 +21408,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this controller.
explode: false
@@ -23728,15 +21430,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Controller'
+ $ref: "#/components/schemas/Controller"
text/csv:
schema:
- $ref: '#/components/schemas/Controller'
+ $ref: "#/components/schemas/Controller"
description: ""
security:
- cookieAuth: []
@@ -23752,7 +21463,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this controller.
explode: false
@@ -23767,19 +21478,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedControllerRequest'
+ $ref: "#/components/schemas/PatchedControllerRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedControllerRequest'
+ $ref: "#/components/schemas/PatchedControllerRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Controller'
+ $ref: "#/components/schemas/Controller"
text/csv:
schema:
- $ref: '#/components/schemas/Controller'
+ $ref: "#/components/schemas/Controller"
description: ""
security:
- cookieAuth: []
@@ -23795,7 +21506,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this controller.
explode: false
@@ -23810,20 +21521,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ControllerRequest'
+ $ref: "#/components/schemas/ControllerRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ControllerRequest'
+ $ref: "#/components/schemas/ControllerRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Controller'
+ $ref: "#/components/schemas/Controller"
text/csv:
schema:
- $ref: '#/components/schemas/Controller'
+ $ref: "#/components/schemas/Controller"
description: ""
security:
- cookieAuth: []
@@ -23840,7 +21551,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this controller.
explode: false
@@ -23878,15 +21589,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -23902,7 +21622,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this controller.
explode: false
@@ -23917,20 +21637,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -23947,19 +21667,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -23991,14 +21711,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Description
explode: true
@@ -24167,81 +21887,26 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
- in: query
- name: dynamic_groups__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: ID
- explode: true
- in: query
- name: id
+ name: dynamic_groups__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - description: ID contains
- explode: true
+ - explode: true
in: query
- name: id__ic
+ name: format
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: ID
explode: true
in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID ends with
- explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID matches regex
- explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID starts with
- explode: true
- in: query
- name: id__isw
+ name: id
required: false
schema:
items:
@@ -24260,83 +21925,6 @@ paths:
type: string
type: array
style: form
- - description: Exclude ID contains
- explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID
- explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID ends with
- explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID matches regex
- explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID starts with
- explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID matches regex
- explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID matches regex
- explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Label
explode: true
in: query
@@ -24666,14 +22254,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -24686,121 +22274,52 @@ paths:
minimum: 0
type: integer
style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedDeviceBayTemplateList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedDeviceBayTemplateList'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- patch:
- description: Partial update a list of device bay template objects.
- operationId: dcim_device_bay_templates_bulk_partial_update
- parameters:
- - explode: true
+ - description: Exclude many-to-many fields from the response
+ explode: true
in: query
- name: format
+ name: exclude_m2m
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ default: false
+ type: boolean
style: form
- requestBody:
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/PatchedBulkWritableDeviceBayTemplateRequest'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/PatchedBulkWritableDeviceBayTemplateRequest'
- type: array
- required: true
responses:
"200":
content:
application/json:
schema:
- items:
- $ref: '#/components/schemas/DeviceBayTemplate'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/DeviceBayTemplate'
- type: array
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- post:
- description: Create one or more device bay template objects.
- operationId: dcim_device_bay_templates_create
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/DeviceBayTemplateRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/DeviceBayTemplateRequest'
- required: true
- responses:
- "201":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/DeviceBayTemplate'
+ $ref: "#/components/schemas/PaginatedDeviceBayTemplateList"
text/csv:
schema:
- $ref: '#/components/schemas/DeviceBayTemplate'
+ $ref: "#/components/schemas/PaginatedDeviceBayTemplateList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- put:
- description: Update a list of device bay template objects.
- operationId: dcim_device_bay_templates_bulk_update
+ patch:
+ description: Partial update a list of device bay template objects.
+ operationId: dcim_device_bay_templates_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableDeviceBayTemplateRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableDeviceBayTemplateRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableDeviceBayTemplateRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableDeviceBayTemplateRequest"
type: array
required: true
responses:
@@ -24809,12 +22328,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/DeviceBayTemplate'
+ $ref: "#/components/schemas/DeviceBayTemplate"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/DeviceBayTemplate'
+ $ref: "#/components/schemas/DeviceBayTemplate"
type: array
description: ""
security:
@@ -24822,91 +22341,95 @@ paths:
- tokenAuth: []
tags:
- dcim
- /dcim/device-bay-templates/{id}/:
- delete:
- description: Destroy a device bay template object.
- operationId: dcim_device_bay_templates_destroy
+ post:
+ description: Create one or more device bay template objects.
+ operationId: dcim_device_bay_templates_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this device bay template.
- explode: false
- in: path
- name: id
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/DeviceBayTemplateRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/DeviceBayTemplateRequest"
required: true
- schema:
- format: uuid
- type: string
- style: simple
responses:
- "204":
- description: No response body
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/DeviceBayTemplate"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/DeviceBayTemplate"
+ description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- get:
- description: Retrieve a device bay template object.
- operationId: dcim_device_bay_templates_retrieve
+ put:
+ description: Update a list of device bay template objects.
+ operationId: dcim_device_bay_templates_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this device bay template.
- explode: false
- in: path
- name: id
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableDeviceBayTemplateRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableDeviceBayTemplateRequest"
+ type: array
required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
- style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/DeviceBayTemplate'
+ items:
+ $ref: "#/components/schemas/DeviceBayTemplate"
+ type: array
text/csv:
schema:
- $ref: '#/components/schemas/DeviceBayTemplate'
+ items:
+ $ref: "#/components/schemas/DeviceBayTemplate"
+ type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- patch:
- description: Partial update a device bay template object.
- operationId: dcim_device_bay_templates_partial_update
+ /dcim/device-bay-templates/{id}/:
+ delete:
+ description: Destroy a device bay template object.
+ operationId: dcim_device_bay_templates_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device bay template.
explode: false
@@ -24917,39 +22440,24 @@ paths:
format: uuid
type: string
style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PatchedDeviceBayTemplateRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/PatchedDeviceBayTemplateRequest'
responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/DeviceBayTemplate'
- text/csv:
- schema:
- $ref: '#/components/schemas/DeviceBayTemplate'
- description: ""
+ "204":
+ description: No response body
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- put:
- description: Update a device bay template object.
- operationId: dcim_device_bay_templates_update
+ get:
+ description: Retrieve a device bay template object.
+ operationId: dcim_device_bay_templates_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device bay template.
explode: false
@@ -24960,41 +22468,51 @@ paths:
format: uuid
type: string
style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/DeviceBayTemplateRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/DeviceBayTemplateRequest'
- required: true
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/DeviceBayTemplate'
+ $ref: "#/components/schemas/DeviceBayTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/DeviceBayTemplate'
+ $ref: "#/components/schemas/DeviceBayTemplate"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- /dcim/device-bay-templates/{id}/notes/:
- get:
- description: API methods for returning or creating notes on an object.
- operationId: dcim_device_bay_templates_notes_list
+ patch:
+ description: Partial update a device bay template object.
+ operationId: dcim_device_bay_templates_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device bay template.
explode: false
@@ -25005,58 +22523,39 @@ paths:
format: uuid
type: string
style: simple
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
- style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PatchedDeviceBayTemplateRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PatchedDeviceBayTemplateRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/DeviceBayTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/DeviceBayTemplate"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- post:
- description: API methods for returning or creating notes on an object.
- operationId: dcim_device_bay_templates_notes_create
+ put:
+ description: Update a device bay template object.
+ operationId: dcim_device_bay_templates_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device bay template.
explode: false
@@ -25071,20 +22570,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/DeviceBayTemplateRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/DeviceBayTemplateRequest"
required: true
responses:
- "201":
+ "200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/DeviceBayTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/DeviceBayTemplate"
description: ""
security:
- cookieAuth: []
@@ -25101,19 +22600,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -25145,14 +22644,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -25307,21 +22806,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -25335,56 +22834,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -25395,76 +22844,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: installed_device
@@ -25835,14 +23214,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -25855,15 +23234,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedDeviceBayList'
+ $ref: "#/components/schemas/PaginatedDeviceBayList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedDeviceBayList'
+ $ref: "#/components/schemas/PaginatedDeviceBayList"
description: ""
security:
- cookieAuth: []
@@ -25879,19 +23267,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableDeviceBayRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableDeviceBayRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableDeviceBayRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableDeviceBayRequest"
type: array
required: true
responses:
@@ -25900,12 +23288,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/DeviceBay'
+ $ref: "#/components/schemas/DeviceBay"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/DeviceBay'
+ $ref: "#/components/schemas/DeviceBay"
type: array
description: ""
security:
@@ -25922,26 +23310,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/DeviceBayRequest'
+ $ref: "#/components/schemas/DeviceBayRequest"
text/csv:
schema:
- $ref: '#/components/schemas/DeviceBayRequest'
+ $ref: "#/components/schemas/DeviceBayRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/DeviceBay'
+ $ref: "#/components/schemas/DeviceBay"
text/csv:
schema:
- $ref: '#/components/schemas/DeviceBay'
+ $ref: "#/components/schemas/DeviceBay"
description: ""
security:
- cookieAuth: []
@@ -25957,19 +23345,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableDeviceBayRequest'
+ $ref: "#/components/schemas/BulkWritableDeviceBayRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableDeviceBayRequest'
+ $ref: "#/components/schemas/BulkWritableDeviceBayRequest"
type: array
required: true
responses:
@@ -25978,12 +23366,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/DeviceBay'
+ $ref: "#/components/schemas/DeviceBay"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/DeviceBay'
+ $ref: "#/components/schemas/DeviceBay"
type: array
description: ""
security:
@@ -26001,7 +23389,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device bay.
explode: false
@@ -26029,7 +23417,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device bay.
explode: false
@@ -26051,15 +23439,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/DeviceBay'
+ $ref: "#/components/schemas/DeviceBay"
text/csv:
schema:
- $ref: '#/components/schemas/DeviceBay'
+ $ref: "#/components/schemas/DeviceBay"
description: ""
security:
- cookieAuth: []
@@ -26075,7 +23472,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device bay.
explode: false
@@ -26090,19 +23487,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedDeviceBayRequest'
+ $ref: "#/components/schemas/PatchedDeviceBayRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedDeviceBayRequest'
+ $ref: "#/components/schemas/PatchedDeviceBayRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/DeviceBay'
+ $ref: "#/components/schemas/DeviceBay"
text/csv:
schema:
- $ref: '#/components/schemas/DeviceBay'
+ $ref: "#/components/schemas/DeviceBay"
description: ""
security:
- cookieAuth: []
@@ -26118,7 +23515,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device bay.
explode: false
@@ -26133,20 +23530,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/DeviceBayRequest'
+ $ref: "#/components/schemas/DeviceBayRequest"
text/csv:
schema:
- $ref: '#/components/schemas/DeviceBayRequest'
+ $ref: "#/components/schemas/DeviceBayRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/DeviceBay'
+ $ref: "#/components/schemas/DeviceBay"
text/csv:
schema:
- $ref: '#/components/schemas/DeviceBay'
+ $ref: "#/components/schemas/DeviceBay"
description: ""
security:
- cookieAuth: []
@@ -26163,7 +23560,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device bay.
explode: false
@@ -26201,15 +23598,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -26225,7 +23631,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device bay.
explode: false
@@ -26240,20 +23646,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -26270,19 +23676,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -26314,14 +23720,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -26551,21 +23957,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: Has device types
explode: true
@@ -26587,56 +23993,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -26647,76 +24003,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: last_updated
@@ -26984,14 +24270,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -27004,15 +24290,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedDeviceFamilyList'
+ $ref: "#/components/schemas/PaginatedDeviceFamilyList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedDeviceFamilyList'
+ $ref: "#/components/schemas/PaginatedDeviceFamilyList"
description: ""
security:
- cookieAuth: []
@@ -27028,19 +24323,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableDeviceFamilyRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableDeviceFamilyRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableDeviceFamilyRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableDeviceFamilyRequest"
type: array
required: true
responses:
@@ -27049,12 +24344,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/DeviceFamily'
+ $ref: "#/components/schemas/DeviceFamily"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/DeviceFamily'
+ $ref: "#/components/schemas/DeviceFamily"
type: array
description: ""
security:
@@ -27071,26 +24366,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/DeviceFamilyRequest'
+ $ref: "#/components/schemas/DeviceFamilyRequest"
text/csv:
schema:
- $ref: '#/components/schemas/DeviceFamilyRequest'
+ $ref: "#/components/schemas/DeviceFamilyRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/DeviceFamily'
+ $ref: "#/components/schemas/DeviceFamily"
text/csv:
schema:
- $ref: '#/components/schemas/DeviceFamily'
+ $ref: "#/components/schemas/DeviceFamily"
description: ""
security:
- cookieAuth: []
@@ -27106,19 +24401,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableDeviceFamilyRequest'
+ $ref: "#/components/schemas/BulkWritableDeviceFamilyRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableDeviceFamilyRequest'
+ $ref: "#/components/schemas/BulkWritableDeviceFamilyRequest"
type: array
required: true
responses:
@@ -27127,12 +24422,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/DeviceFamily'
+ $ref: "#/components/schemas/DeviceFamily"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/DeviceFamily'
+ $ref: "#/components/schemas/DeviceFamily"
type: array
description: ""
security:
@@ -27150,7 +24445,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device family.
explode: false
@@ -27178,7 +24473,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device family.
explode: false
@@ -27200,15 +24495,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/DeviceFamily'
+ $ref: "#/components/schemas/DeviceFamily"
text/csv:
schema:
- $ref: '#/components/schemas/DeviceFamily'
+ $ref: "#/components/schemas/DeviceFamily"
description: ""
security:
- cookieAuth: []
@@ -27224,7 +24528,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device family.
explode: false
@@ -27239,19 +24543,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedDeviceFamilyRequest'
+ $ref: "#/components/schemas/PatchedDeviceFamilyRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedDeviceFamilyRequest'
+ $ref: "#/components/schemas/PatchedDeviceFamilyRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/DeviceFamily'
+ $ref: "#/components/schemas/DeviceFamily"
text/csv:
schema:
- $ref: '#/components/schemas/DeviceFamily'
+ $ref: "#/components/schemas/DeviceFamily"
description: ""
security:
- cookieAuth: []
@@ -27267,7 +24571,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device family.
explode: false
@@ -27282,20 +24586,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/DeviceFamilyRequest'
+ $ref: "#/components/schemas/DeviceFamilyRequest"
text/csv:
schema:
- $ref: '#/components/schemas/DeviceFamilyRequest'
+ $ref: "#/components/schemas/DeviceFamilyRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/DeviceFamily'
+ $ref: "#/components/schemas/DeviceFamily"
text/csv:
schema:
- $ref: '#/components/schemas/DeviceFamily'
+ $ref: "#/components/schemas/DeviceFamily"
description: ""
security:
- cookieAuth: []
@@ -27312,7 +24616,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device family.
explode: false
@@ -27350,15 +24654,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -27374,7 +24687,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device family.
explode: false
@@ -27389,20 +24702,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -27419,19 +24732,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -27463,14 +24776,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -27548,14 +24861,14 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -27688,7 +25001,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -27702,56 +25015,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -27762,76 +25025,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: last_updated
@@ -28092,14 +25285,14 @@ paths:
type: string
type: array
style: form
- - description: Exclude Status (name or ID)
- explode: true
+ - explode: true
in: query
name: status__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -28143,14 +25336,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -28163,15 +25356,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedDeviceRedundancyGroupList'
+ $ref: "#/components/schemas/PaginatedDeviceRedundancyGroupList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedDeviceRedundancyGroupList'
+ $ref: "#/components/schemas/PaginatedDeviceRedundancyGroupList"
description: ""
security:
- cookieAuth: []
@@ -28187,19 +25389,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableDeviceRedundancyGroupRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableDeviceRedundancyGroupRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableDeviceRedundancyGroupRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableDeviceRedundancyGroupRequest"
type: array
required: true
responses:
@@ -28208,12 +25410,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/DeviceRedundancyGroup'
+ $ref: "#/components/schemas/DeviceRedundancyGroup"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/DeviceRedundancyGroup'
+ $ref: "#/components/schemas/DeviceRedundancyGroup"
type: array
description: ""
security:
@@ -28230,26 +25432,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableDeviceRedundancyGroupRequest'
+ $ref: "#/components/schemas/WritableDeviceRedundancyGroupRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableDeviceRedundancyGroupRequest'
+ $ref: "#/components/schemas/WritableDeviceRedundancyGroupRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/DeviceRedundancyGroup'
+ $ref: "#/components/schemas/DeviceRedundancyGroup"
text/csv:
schema:
- $ref: '#/components/schemas/DeviceRedundancyGroup'
+ $ref: "#/components/schemas/DeviceRedundancyGroup"
description: ""
security:
- cookieAuth: []
@@ -28265,19 +25467,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableDeviceRedundancyGroupRequest'
+ $ref: "#/components/schemas/BulkWritableDeviceRedundancyGroupRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableDeviceRedundancyGroupRequest'
+ $ref: "#/components/schemas/BulkWritableDeviceRedundancyGroupRequest"
type: array
required: true
responses:
@@ -28286,12 +25488,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/DeviceRedundancyGroup'
+ $ref: "#/components/schemas/DeviceRedundancyGroup"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/DeviceRedundancyGroup'
+ $ref: "#/components/schemas/DeviceRedundancyGroup"
type: array
description: ""
security:
@@ -28309,7 +25511,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device redundancy group.
explode: false
@@ -28337,7 +25539,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device redundancy group.
explode: false
@@ -28359,15 +25561,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/DeviceRedundancyGroup'
+ $ref: "#/components/schemas/DeviceRedundancyGroup"
text/csv:
schema:
- $ref: '#/components/schemas/DeviceRedundancyGroup'
+ $ref: "#/components/schemas/DeviceRedundancyGroup"
description: ""
security:
- cookieAuth: []
@@ -28383,7 +25594,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device redundancy group.
explode: false
@@ -28398,19 +25609,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedWritableDeviceRedundancyGroupRequest'
+ $ref: "#/components/schemas/PatchedWritableDeviceRedundancyGroupRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedWritableDeviceRedundancyGroupRequest'
+ $ref: "#/components/schemas/PatchedWritableDeviceRedundancyGroupRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/DeviceRedundancyGroup'
+ $ref: "#/components/schemas/DeviceRedundancyGroup"
text/csv:
schema:
- $ref: '#/components/schemas/DeviceRedundancyGroup'
+ $ref: "#/components/schemas/DeviceRedundancyGroup"
description: ""
security:
- cookieAuth: []
@@ -28426,7 +25637,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device redundancy group.
explode: false
@@ -28441,20 +25652,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableDeviceRedundancyGroupRequest'
+ $ref: "#/components/schemas/WritableDeviceRedundancyGroupRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableDeviceRedundancyGroupRequest'
+ $ref: "#/components/schemas/WritableDeviceRedundancyGroupRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/DeviceRedundancyGroup'
+ $ref: "#/components/schemas/DeviceRedundancyGroup"
text/csv:
schema:
- $ref: '#/components/schemas/DeviceRedundancyGroup'
+ $ref: "#/components/schemas/DeviceRedundancyGroup"
description: ""
security:
- cookieAuth: []
@@ -28471,7 +25682,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device redundancy group.
explode: false
@@ -28509,15 +25720,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -28533,7 +25753,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device redundancy group.
explode: false
@@ -28548,20 +25768,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -28578,19 +25798,24 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ multipart/form-data:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -28816,14 +26041,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -28988,21 +26213,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- explode: true
in: query
@@ -29130,56 +26355,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -29190,76 +26365,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: interface_templates
@@ -29874,15 +26979,12 @@ paths:
type: string
type: array
style: form
- - description: Parent devices house child devices in device bays. Leave blank
- if this device type is neither a parent nor a child.
- explode: true
+ - explode: true
in: query
name: subdevice_role__n
required: false
schema:
items:
- title: Parent/child status
type: string
type: array
style: form
@@ -29991,14 +27093,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -30065,15 +27167,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedDeviceTypeList'
+ $ref: "#/components/schemas/PaginatedDeviceTypeList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedDeviceTypeList'
+ $ref: "#/components/schemas/PaginatedDeviceTypeList"
description: ""
security:
- cookieAuth: []
@@ -30089,19 +27200,24 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableDeviceTypeRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableDeviceTypeRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableDeviceTypeRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableDeviceTypeRequest"
+ type: array
+ multipart/form-data:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableDeviceTypeRequest"
type: array
required: true
responses:
@@ -30110,12 +27226,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/DeviceType'
+ $ref: "#/components/schemas/DeviceType"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/DeviceType'
+ $ref: "#/components/schemas/DeviceType"
type: array
description: ""
security:
@@ -30132,26 +27248,29 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableDeviceTypeRequest'
+ $ref: "#/components/schemas/WritableDeviceTypeRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableDeviceTypeRequest'
+ $ref: "#/components/schemas/WritableDeviceTypeRequest"
+ multipart/form-data:
+ schema:
+ $ref: "#/components/schemas/WritableDeviceTypeRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/DeviceType'
+ $ref: "#/components/schemas/DeviceType"
text/csv:
schema:
- $ref: '#/components/schemas/DeviceType'
+ $ref: "#/components/schemas/DeviceType"
description: ""
security:
- cookieAuth: []
@@ -30167,19 +27286,24 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableDeviceTypeRequest'
+ $ref: "#/components/schemas/BulkWritableDeviceTypeRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableDeviceTypeRequest'
+ $ref: "#/components/schemas/BulkWritableDeviceTypeRequest"
+ type: array
+ multipart/form-data:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableDeviceTypeRequest"
type: array
required: true
responses:
@@ -30188,12 +27312,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/DeviceType'
+ $ref: "#/components/schemas/DeviceType"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/DeviceType'
+ $ref: "#/components/schemas/DeviceType"
type: array
description: ""
security:
@@ -30211,19 +27335,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -30328,7 +27452,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -30342,56 +27466,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -30402,76 +27476,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: last_updated
@@ -30600,15 +27604,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedDeviceTypeToSoftwareImageFileList'
+ $ref: "#/components/schemas/PaginatedDeviceTypeToSoftwareImageFileList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedDeviceTypeToSoftwareImageFileList'
+ $ref: "#/components/schemas/PaginatedDeviceTypeToSoftwareImageFileList"
description: ""
security:
- cookieAuth: []
@@ -30625,19 +27638,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableDeviceTypeToSoftwareImageFileRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableDeviceTypeToSoftwareImageFileRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableDeviceTypeToSoftwareImageFileRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableDeviceTypeToSoftwareImageFileRequest"
type: array
required: true
responses:
@@ -30646,12 +27659,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/DeviceTypeToSoftwareImageFile'
+ $ref: "#/components/schemas/DeviceTypeToSoftwareImageFile"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/DeviceTypeToSoftwareImageFile'
+ $ref: "#/components/schemas/DeviceTypeToSoftwareImageFile"
type: array
description: ""
security:
@@ -30668,26 +27681,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/DeviceTypeToSoftwareImageFileRequest'
+ $ref: "#/components/schemas/DeviceTypeToSoftwareImageFileRequest"
text/csv:
schema:
- $ref: '#/components/schemas/DeviceTypeToSoftwareImageFileRequest'
+ $ref: "#/components/schemas/DeviceTypeToSoftwareImageFileRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/DeviceTypeToSoftwareImageFile'
+ $ref: "#/components/schemas/DeviceTypeToSoftwareImageFile"
text/csv:
schema:
- $ref: '#/components/schemas/DeviceTypeToSoftwareImageFile'
+ $ref: "#/components/schemas/DeviceTypeToSoftwareImageFile"
description: ""
security:
- cookieAuth: []
@@ -30703,19 +27716,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableDeviceTypeToSoftwareImageFileRequest'
+ $ref: "#/components/schemas/BulkWritableDeviceTypeToSoftwareImageFileRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableDeviceTypeToSoftwareImageFileRequest'
+ $ref: "#/components/schemas/BulkWritableDeviceTypeToSoftwareImageFileRequest"
type: array
required: true
responses:
@@ -30724,12 +27737,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/DeviceTypeToSoftwareImageFile'
+ $ref: "#/components/schemas/DeviceTypeToSoftwareImageFile"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/DeviceTypeToSoftwareImageFile'
+ $ref: "#/components/schemas/DeviceTypeToSoftwareImageFile"
type: array
description: ""
security:
@@ -30747,7 +27760,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device type to software image
file mapping.
@@ -30776,7 +27789,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device type to software image
file mapping.
@@ -30799,15 +27812,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/DeviceTypeToSoftwareImageFile'
+ $ref: "#/components/schemas/DeviceTypeToSoftwareImageFile"
text/csv:
schema:
- $ref: '#/components/schemas/DeviceTypeToSoftwareImageFile'
+ $ref: "#/components/schemas/DeviceTypeToSoftwareImageFile"
description: ""
security:
- cookieAuth: []
@@ -30823,7 +27845,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device type to software image
file mapping.
@@ -30839,19 +27861,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedDeviceTypeToSoftwareImageFileRequest'
+ $ref: "#/components/schemas/PatchedDeviceTypeToSoftwareImageFileRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedDeviceTypeToSoftwareImageFileRequest'
+ $ref: "#/components/schemas/PatchedDeviceTypeToSoftwareImageFileRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/DeviceTypeToSoftwareImageFile'
+ $ref: "#/components/schemas/DeviceTypeToSoftwareImageFile"
text/csv:
schema:
- $ref: '#/components/schemas/DeviceTypeToSoftwareImageFile'
+ $ref: "#/components/schemas/DeviceTypeToSoftwareImageFile"
description: ""
security:
- cookieAuth: []
@@ -30867,7 +27889,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device type to software image
file mapping.
@@ -30883,20 +27905,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/DeviceTypeToSoftwareImageFileRequest'
+ $ref: "#/components/schemas/DeviceTypeToSoftwareImageFileRequest"
text/csv:
schema:
- $ref: '#/components/schemas/DeviceTypeToSoftwareImageFileRequest'
+ $ref: "#/components/schemas/DeviceTypeToSoftwareImageFileRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/DeviceTypeToSoftwareImageFile'
+ $ref: "#/components/schemas/DeviceTypeToSoftwareImageFile"
text/csv:
schema:
- $ref: '#/components/schemas/DeviceTypeToSoftwareImageFile'
+ $ref: "#/components/schemas/DeviceTypeToSoftwareImageFile"
description: ""
security:
- cookieAuth: []
@@ -30913,7 +27935,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device type.
explode: false
@@ -30941,7 +27963,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device type.
explode: false
@@ -30963,15 +27985,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/DeviceType'
+ $ref: "#/components/schemas/DeviceType"
text/csv:
schema:
- $ref: '#/components/schemas/DeviceType'
+ $ref: "#/components/schemas/DeviceType"
description: ""
security:
- cookieAuth: []
@@ -30987,7 +28018,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device type.
explode: false
@@ -31002,19 +28033,22 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedWritableDeviceTypeRequest'
+ $ref: "#/components/schemas/PatchedWritableDeviceTypeRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedWritableDeviceTypeRequest'
+ $ref: "#/components/schemas/PatchedWritableDeviceTypeRequest"
+ multipart/form-data:
+ schema:
+ $ref: "#/components/schemas/PatchedWritableDeviceTypeRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/DeviceType'
+ $ref: "#/components/schemas/DeviceType"
text/csv:
schema:
- $ref: '#/components/schemas/DeviceType'
+ $ref: "#/components/schemas/DeviceType"
description: ""
security:
- cookieAuth: []
@@ -31030,7 +28064,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device type.
explode: false
@@ -31045,20 +28079,23 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableDeviceTypeRequest'
+ $ref: "#/components/schemas/WritableDeviceTypeRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableDeviceTypeRequest'
+ $ref: "#/components/schemas/WritableDeviceTypeRequest"
+ multipart/form-data:
+ schema:
+ $ref: "#/components/schemas/WritableDeviceTypeRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/DeviceType'
+ $ref: "#/components/schemas/DeviceType"
text/csv:
schema:
- $ref: '#/components/schemas/DeviceType'
+ $ref: "#/components/schemas/DeviceType"
description: ""
security:
- cookieAuth: []
@@ -31075,7 +28112,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device type.
explode: false
@@ -31113,15 +28150,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -31137,7 +28183,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device type.
explode: false
@@ -31152,20 +28198,23 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
+ multipart/form-data:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -31182,19 +28231,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -31437,14 +28486,32 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: controller
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: controller__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -31709,14 +28776,14 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -31779,7 +28846,6 @@ paths:
required: false
schema:
items:
- title: Rack face
type: string
type: array
style: form
@@ -31851,7 +28917,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- explode: true
in: query
@@ -31927,6 +28993,14 @@ paths:
schema:
type: boolean
style: form
+ - description: Has IP addresses
+ explode: true
+ in: query
+ name: has_ip_addresses
+ required: false
+ schema:
+ type: boolean
+ style: form
- description: Has module bays
explode: true
in: query
@@ -31967,6 +29041,14 @@ paths:
schema:
type: boolean
style: form
+ - description: Has radio profiles
+ explode: true
+ in: query
+ name: has_radio_profiles
+ required: false
+ schema:
+ type: boolean
+ style: form
- description: Has rear ports
explode: true
in: query
@@ -31991,61 +29073,19 @@ paths:
schema:
type: boolean
style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
+ - description: Has wireless networks
explode: true
in: query
- name: id
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
+ name: has_wireless_networks
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
in: query
- name: id__isw
+ name: id
required: false
schema:
items:
@@ -32065,94 +29105,34 @@ paths:
style: form
- explode: true
in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
+ name: interfaces
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Interfaces (name or ID) is null
+ explode: true
in: query
- name: id__re
+ name: interfaces__isnull
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: interfaces
+ name: interfaces__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Interfaces (name or ID) is null
+ - description: IP addresses (address or ID)
explode: true
in: query
- name: interfaces__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: interfaces__n
+ name: ip_addresses
required: false
schema:
items:
@@ -32863,6 +29843,24 @@ paths:
type: string
type: array
style: form
+ - explode: true
+ in: query
+ name: radio_profiles
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: radio_profiles__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- explode: true
in: query
name: rear_ports
@@ -32898,14 +29896,14 @@ paths:
type: string
type: array
style: form
- - description: Exclude Role (name or ID)
- explode: true
+ - explode: true
in: query
name: role__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -32942,6 +29940,123 @@ paths:
type: string
type: array
style: form
+ - explode: true
+ in: query
+ name: serial__ic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: serial__ie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: serial__iew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: serial__ire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: serial__isw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: serial__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: serial__nic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: serial__nie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: serial__niew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: serial__nire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: serial__nisw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: serial__nre
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: serial__re
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- explode: true
in: query
name: software_image_files
@@ -33003,14 +30118,14 @@ paths:
type: string
type: array
style: form
- - description: Exclude Status (name or ID)
- explode: true
+ - explode: true
in: query
name: status__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -33054,14 +30169,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -33303,6 +30418,24 @@ paths:
schema:
type: boolean
style: form
+ - explode: true
+ in: query
+ name: wireless_networks
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: wireless_networks__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- description: Serializer Depth
explode: true
in: query
@@ -33314,15 +30447,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedDeviceList'
+ $ref: "#/components/schemas/PaginatedDeviceList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedDeviceList'
+ $ref: "#/components/schemas/PaginatedDeviceList"
description: ""
security:
- cookieAuth: []
@@ -33338,19 +30480,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableDeviceRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableDeviceRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableDeviceRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableDeviceRequest"
type: array
required: true
responses:
@@ -33359,12 +30501,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Device'
+ $ref: "#/components/schemas/Device"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Device'
+ $ref: "#/components/schemas/Device"
type: array
description: ""
security:
@@ -33381,26 +30523,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableDeviceRequest'
+ $ref: "#/components/schemas/WritableDeviceRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableDeviceRequest'
+ $ref: "#/components/schemas/WritableDeviceRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Device'
+ $ref: "#/components/schemas/Device"
text/csv:
schema:
- $ref: '#/components/schemas/Device'
+ $ref: "#/components/schemas/Device"
description: ""
security:
- cookieAuth: []
@@ -33416,19 +30558,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableDeviceRequest'
+ $ref: "#/components/schemas/BulkWritableDeviceRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableDeviceRequest'
+ $ref: "#/components/schemas/BulkWritableDeviceRequest"
type: array
required: true
responses:
@@ -33437,12 +30579,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Device'
+ $ref: "#/components/schemas/Device"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Device'
+ $ref: "#/components/schemas/Device"
type: array
description: ""
security:
@@ -33460,7 +30602,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device.
explode: false
@@ -33488,7 +30630,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device.
explode: false
@@ -33510,15 +30652,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Device'
+ $ref: "#/components/schemas/Device"
text/csv:
schema:
- $ref: '#/components/schemas/Device'
+ $ref: "#/components/schemas/Device"
description: ""
security:
- cookieAuth: []
@@ -33534,7 +30685,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device.
explode: false
@@ -33549,19 +30700,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedWritableDeviceRequest'
+ $ref: "#/components/schemas/PatchedWritableDeviceRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedWritableDeviceRequest'
+ $ref: "#/components/schemas/PatchedWritableDeviceRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Device'
+ $ref: "#/components/schemas/Device"
text/csv:
schema:
- $ref: '#/components/schemas/Device'
+ $ref: "#/components/schemas/Device"
description: ""
security:
- cookieAuth: []
@@ -33577,7 +30728,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device.
explode: false
@@ -33592,20 +30743,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableDeviceRequest'
+ $ref: "#/components/schemas/WritableDeviceRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableDeviceRequest'
+ $ref: "#/components/schemas/WritableDeviceRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Device'
+ $ref: "#/components/schemas/Device"
text/csv:
schema:
- $ref: '#/components/schemas/Device'
+ $ref: "#/components/schemas/Device"
description: ""
security:
- cookieAuth: []
@@ -33622,7 +30773,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device.
explode: false
@@ -33651,15 +30802,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/DeviceNAPALM'
+ $ref: "#/components/schemas/DeviceNAPALM"
text/csv:
schema:
- $ref: '#/components/schemas/DeviceNAPALM'
+ $ref: "#/components/schemas/DeviceNAPALM"
description: ""
security:
- cookieAuth: []
@@ -33676,7 +30836,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device.
explode: false
@@ -33714,15 +30874,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -33738,7 +30907,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this device.
explode: false
@@ -33753,20 +30922,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -33783,19 +30952,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -33827,14 +30996,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Description
explode: true
@@ -34011,21 +31180,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: Has device type
explode: true
@@ -34054,61 +31223,6 @@ paths:
type: string
type: array
style: form
- - description: ID contains
- explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID
- explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID ends with
- explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID matches regex
- explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID starts with
- explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Exclude ID
explode: true
in: query
@@ -34120,83 +31234,6 @@ paths:
type: string
type: array
style: form
- - description: Exclude ID contains
- explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID
- explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID ends with
- explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID matches regex
- explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID starts with
- explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID matches regex
- explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID matches regex
- explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Label
explode: true
in: query
@@ -34628,14 +31665,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -34774,121 +31811,52 @@ paths:
minimum: 0
type: integer
style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedFrontPortTemplateList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedFrontPortTemplateList'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- patch:
- description: Partial update a list of front port template objects.
- operationId: dcim_front_port_templates_bulk_partial_update
- parameters:
- - explode: true
+ - description: Exclude many-to-many fields from the response
+ explode: true
in: query
- name: format
+ name: exclude_m2m
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ default: false
+ type: boolean
style: form
- requestBody:
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/PatchedBulkWritableFrontPortTemplateRequest'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/PatchedBulkWritableFrontPortTemplateRequest'
- type: array
- required: true
responses:
"200":
content:
application/json:
schema:
- items:
- $ref: '#/components/schemas/FrontPortTemplate'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/FrontPortTemplate'
- type: array
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- post:
- description: Create one or more front port template objects.
- operationId: dcim_front_port_templates_create
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/WritableFrontPortTemplateRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/WritableFrontPortTemplateRequest'
- required: true
- responses:
- "201":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/FrontPortTemplate'
+ $ref: "#/components/schemas/PaginatedFrontPortTemplateList"
text/csv:
schema:
- $ref: '#/components/schemas/FrontPortTemplate'
+ $ref: "#/components/schemas/PaginatedFrontPortTemplateList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- put:
- description: Update a list of front port template objects.
- operationId: dcim_front_port_templates_bulk_update
+ patch:
+ description: Partial update a list of front port template objects.
+ operationId: dcim_front_port_templates_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableFrontPortTemplateRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableFrontPortTemplateRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableFrontPortTemplateRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableFrontPortTemplateRequest"
type: array
required: true
responses:
@@ -34897,12 +31865,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/FrontPortTemplate'
+ $ref: "#/components/schemas/FrontPortTemplate"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/FrontPortTemplate'
+ $ref: "#/components/schemas/FrontPortTemplate"
type: array
description: ""
security:
@@ -34910,91 +31878,95 @@ paths:
- tokenAuth: []
tags:
- dcim
- /dcim/front-port-templates/{id}/:
- delete:
- description: Destroy a front port template object.
- operationId: dcim_front_port_templates_destroy
+ post:
+ description: Create one or more front port template objects.
+ operationId: dcim_front_port_templates_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this front port template.
- explode: false
- in: path
- name: id
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/WritableFrontPortTemplateRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/WritableFrontPortTemplateRequest"
required: true
- schema:
- format: uuid
- type: string
- style: simple
responses:
- "204":
- description: No response body
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/FrontPortTemplate"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/FrontPortTemplate"
+ description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- get:
- description: Retrieve a front port template object.
- operationId: dcim_front_port_templates_retrieve
+ put:
+ description: Update a list of front port template objects.
+ operationId: dcim_front_port_templates_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this front port template.
- explode: false
- in: path
- name: id
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableFrontPortTemplateRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableFrontPortTemplateRequest"
+ type: array
required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
- style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/FrontPortTemplate'
+ items:
+ $ref: "#/components/schemas/FrontPortTemplate"
+ type: array
text/csv:
schema:
- $ref: '#/components/schemas/FrontPortTemplate'
+ items:
+ $ref: "#/components/schemas/FrontPortTemplate"
+ type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- patch:
- description: Partial update a front port template object.
- operationId: dcim_front_port_templates_partial_update
+ /dcim/front-port-templates/{id}/:
+ delete:
+ description: Destroy a front port template object.
+ operationId: dcim_front_port_templates_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this front port template.
explode: false
@@ -35005,39 +31977,24 @@ paths:
format: uuid
type: string
style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PatchedWritableFrontPortTemplateRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/PatchedWritableFrontPortTemplateRequest'
responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/FrontPortTemplate'
- text/csv:
- schema:
- $ref: '#/components/schemas/FrontPortTemplate'
- description: ""
+ "204":
+ description: No response body
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- put:
- description: Update a front port template object.
- operationId: dcim_front_port_templates_update
+ get:
+ description: Retrieve a front port template object.
+ operationId: dcim_front_port_templates_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this front port template.
explode: false
@@ -35048,41 +32005,51 @@ paths:
format: uuid
type: string
style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/WritableFrontPortTemplateRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/WritableFrontPortTemplateRequest'
- required: true
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/FrontPortTemplate'
+ $ref: "#/components/schemas/FrontPortTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/FrontPortTemplate'
+ $ref: "#/components/schemas/FrontPortTemplate"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- /dcim/front-port-templates/{id}/notes/:
- get:
- description: API methods for returning or creating notes on an object.
- operationId: dcim_front_port_templates_notes_list
+ patch:
+ description: Partial update a front port template object.
+ operationId: dcim_front_port_templates_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this front port template.
explode: false
@@ -35093,58 +32060,39 @@ paths:
format: uuid
type: string
style: simple
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
- style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PatchedWritableFrontPortTemplateRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PatchedWritableFrontPortTemplateRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/FrontPortTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/FrontPortTemplate"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- post:
- description: API methods for returning or creating notes on an object.
- operationId: dcim_front_port_templates_notes_create
+ put:
+ description: Update a front port template object.
+ operationId: dcim_front_port_templates_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this front port template.
explode: false
@@ -35159,20 +32107,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/WritableFrontPortTemplateRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/WritableFrontPortTemplateRequest"
required: true
responses:
- "201":
+ "200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/FrontPortTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/FrontPortTemplate"
description: ""
security:
- cookieAuth: []
@@ -35189,19 +32137,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -35262,14 +32210,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -35415,21 +32363,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: Has cable
explode: true
@@ -35451,56 +32399,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -35511,76 +32409,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: label
@@ -36023,14 +32851,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -36169,15 +32997,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedFrontPortList'
+ $ref: "#/components/schemas/PaginatedFrontPortList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedFrontPortList'
+ $ref: "#/components/schemas/PaginatedFrontPortList"
description: ""
security:
- cookieAuth: []
@@ -36193,19 +33030,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableFrontPortRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableFrontPortRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableFrontPortRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableFrontPortRequest"
type: array
required: true
responses:
@@ -36214,12 +33051,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/FrontPort'
+ $ref: "#/components/schemas/FrontPort"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/FrontPort'
+ $ref: "#/components/schemas/FrontPort"
type: array
description: ""
security:
@@ -36236,26 +33073,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableFrontPortRequest'
+ $ref: "#/components/schemas/WritableFrontPortRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableFrontPortRequest'
+ $ref: "#/components/schemas/WritableFrontPortRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/FrontPort'
+ $ref: "#/components/schemas/FrontPort"
text/csv:
schema:
- $ref: '#/components/schemas/FrontPort'
+ $ref: "#/components/schemas/FrontPort"
description: ""
security:
- cookieAuth: []
@@ -36271,19 +33108,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableFrontPortRequest'
+ $ref: "#/components/schemas/BulkWritableFrontPortRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableFrontPortRequest'
+ $ref: "#/components/schemas/BulkWritableFrontPortRequest"
type: array
required: true
responses:
@@ -36292,12 +33129,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/FrontPort'
+ $ref: "#/components/schemas/FrontPort"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/FrontPort'
+ $ref: "#/components/schemas/FrontPort"
type: array
description: ""
security:
@@ -36315,7 +33152,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this front port.
explode: false
@@ -36343,7 +33180,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this front port.
explode: false
@@ -36365,15 +33202,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/FrontPort'
+ $ref: "#/components/schemas/FrontPort"
text/csv:
schema:
- $ref: '#/components/schemas/FrontPort'
+ $ref: "#/components/schemas/FrontPort"
description: ""
security:
- cookieAuth: []
@@ -36389,7 +33235,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this front port.
explode: false
@@ -36404,19 +33250,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedWritableFrontPortRequest'
+ $ref: "#/components/schemas/PatchedWritableFrontPortRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedWritableFrontPortRequest'
+ $ref: "#/components/schemas/PatchedWritableFrontPortRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/FrontPort'
+ $ref: "#/components/schemas/FrontPort"
text/csv:
schema:
- $ref: '#/components/schemas/FrontPort'
+ $ref: "#/components/schemas/FrontPort"
description: ""
security:
- cookieAuth: []
@@ -36432,7 +33278,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this front port.
explode: false
@@ -36447,20 +33293,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableFrontPortRequest'
+ $ref: "#/components/schemas/WritableFrontPortRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableFrontPortRequest'
+ $ref: "#/components/schemas/WritableFrontPortRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/FrontPort'
+ $ref: "#/components/schemas/FrontPort"
text/csv:
schema:
- $ref: '#/components/schemas/FrontPort'
+ $ref: "#/components/schemas/FrontPort"
description: ""
security:
- cookieAuth: []
@@ -36477,7 +33323,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this front port.
explode: false
@@ -36515,15 +33361,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -36539,7 +33394,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this front port.
explode: false
@@ -36554,20 +33409,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -36584,7 +33439,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this front port.
explode: false
@@ -36622,15 +33477,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedCablePathList'
+ $ref: "#/components/schemas/PaginatedCablePathList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedCablePathList'
+ $ref: "#/components/schemas/PaginatedCablePathList"
description: ""
security:
- cookieAuth: []
@@ -36659,14 +33523,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Device (name)
explode: true
@@ -36698,21 +33562,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -36726,56 +33590,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -36786,76 +33600,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Number of results to return per page.
explode: true
in: query
@@ -36905,14 +33649,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -36925,15 +33669,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedInterfaceConnectionList'
+ $ref: "#/components/schemas/PaginatedInterfaceConnectionList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedInterfaceConnectionList'
+ $ref: "#/components/schemas/PaginatedInterfaceConnectionList"
description: ""
security:
- cookieAuth: []
@@ -36950,19 +33703,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -36982,7 +33735,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -36996,56 +33749,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -37056,76 +33759,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: interface
@@ -37259,15 +33892,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedInterfaceRedundancyGroupAssociationList'
+ $ref: "#/components/schemas/PaginatedInterfaceRedundancyGroupAssociationList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedInterfaceRedundancyGroupAssociationList'
+ $ref: "#/components/schemas/PaginatedInterfaceRedundancyGroupAssociationList"
description: ""
security:
- cookieAuth: []
@@ -37284,19 +33926,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableInterfaceRedundancyGroupAssociationRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableInterfaceRedundancyGroupAssociationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableInterfaceRedundancyGroupAssociationRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableInterfaceRedundancyGroupAssociationRequest"
type: array
required: true
responses:
@@ -37305,12 +33947,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/InterfaceRedundancyGroupAssociation'
+ $ref: "#/components/schemas/InterfaceRedundancyGroupAssociation"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/InterfaceRedundancyGroupAssociation'
+ $ref: "#/components/schemas/InterfaceRedundancyGroupAssociation"
type: array
description: ""
security:
@@ -37327,26 +33969,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/InterfaceRedundancyGroupAssociationRequest'
+ $ref: "#/components/schemas/InterfaceRedundancyGroupAssociationRequest"
text/csv:
schema:
- $ref: '#/components/schemas/InterfaceRedundancyGroupAssociationRequest'
+ $ref: "#/components/schemas/InterfaceRedundancyGroupAssociationRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/InterfaceRedundancyGroupAssociation'
+ $ref: "#/components/schemas/InterfaceRedundancyGroupAssociation"
text/csv:
schema:
- $ref: '#/components/schemas/InterfaceRedundancyGroupAssociation'
+ $ref: "#/components/schemas/InterfaceRedundancyGroupAssociation"
description: ""
security:
- cookieAuth: []
@@ -37362,19 +34004,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableInterfaceRedundancyGroupAssociationRequest'
+ $ref: "#/components/schemas/BulkWritableInterfaceRedundancyGroupAssociationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableInterfaceRedundancyGroupAssociationRequest'
+ $ref: "#/components/schemas/BulkWritableInterfaceRedundancyGroupAssociationRequest"
type: array
required: true
responses:
@@ -37383,12 +34025,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/InterfaceRedundancyGroupAssociation'
+ $ref: "#/components/schemas/InterfaceRedundancyGroupAssociation"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/InterfaceRedundancyGroupAssociation'
+ $ref: "#/components/schemas/InterfaceRedundancyGroupAssociation"
type: array
description: ""
security:
@@ -37406,7 +34048,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this interface redundancy group association.
explode: false
@@ -37434,7 +34076,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this interface redundancy group association.
explode: false
@@ -37456,15 +34098,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/InterfaceRedundancyGroupAssociation'
+ $ref: "#/components/schemas/InterfaceRedundancyGroupAssociation"
text/csv:
schema:
- $ref: '#/components/schemas/InterfaceRedundancyGroupAssociation'
+ $ref: "#/components/schemas/InterfaceRedundancyGroupAssociation"
description: ""
security:
- cookieAuth: []
@@ -37480,7 +34131,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this interface redundancy group association.
explode: false
@@ -37495,19 +34146,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedInterfaceRedundancyGroupAssociationRequest'
+ $ref: "#/components/schemas/PatchedInterfaceRedundancyGroupAssociationRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedInterfaceRedundancyGroupAssociationRequest'
+ $ref: "#/components/schemas/PatchedInterfaceRedundancyGroupAssociationRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/InterfaceRedundancyGroupAssociation'
+ $ref: "#/components/schemas/InterfaceRedundancyGroupAssociation"
text/csv:
schema:
- $ref: '#/components/schemas/InterfaceRedundancyGroupAssociation'
+ $ref: "#/components/schemas/InterfaceRedundancyGroupAssociation"
description: ""
security:
- cookieAuth: []
@@ -37523,7 +34174,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this interface redundancy group association.
explode: false
@@ -37538,20 +34189,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/InterfaceRedundancyGroupAssociationRequest'
+ $ref: "#/components/schemas/InterfaceRedundancyGroupAssociationRequest"
text/csv:
schema:
- $ref: '#/components/schemas/InterfaceRedundancyGroupAssociationRequest'
+ $ref: "#/components/schemas/InterfaceRedundancyGroupAssociationRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/InterfaceRedundancyGroupAssociation'
+ $ref: "#/components/schemas/InterfaceRedundancyGroupAssociation"
text/csv:
schema:
- $ref: '#/components/schemas/InterfaceRedundancyGroupAssociation'
+ $ref: "#/components/schemas/InterfaceRedundancyGroupAssociation"
description: ""
security:
- cookieAuth: []
@@ -37568,7 +34219,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this interface redundancy group association.
explode: false
@@ -37606,15 +34257,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -37630,7 +34290,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this interface redundancy group association.
explode: false
@@ -37645,20 +34305,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -37675,19 +34335,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -37719,14 +34379,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -37863,21 +34523,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -37891,56 +34551,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -37951,76 +34561,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Number of results to return per page.
explode: true
in: query
@@ -38224,7 +34764,6 @@ paths:
required: false
schema:
items:
- title: Redundancy Protocol
type: string
type: array
style: form
@@ -38500,14 +35039,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Virtual IP Address (address or ID)
explode: true
@@ -38530,15 +35069,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedInterfaceRedundancyGroupList'
+ $ref: "#/components/schemas/PaginatedInterfaceRedundancyGroupList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedInterfaceRedundancyGroupList'
+ $ref: "#/components/schemas/PaginatedInterfaceRedundancyGroupList"
description: ""
security:
- cookieAuth: []
@@ -38554,19 +35102,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableInterfaceRedundancyGroupRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableInterfaceRedundancyGroupRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableInterfaceRedundancyGroupRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableInterfaceRedundancyGroupRequest"
type: array
required: true
responses:
@@ -38575,12 +35123,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/InterfaceRedundancyGroup'
+ $ref: "#/components/schemas/InterfaceRedundancyGroup"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/InterfaceRedundancyGroup'
+ $ref: "#/components/schemas/InterfaceRedundancyGroup"
type: array
description: ""
security:
@@ -38597,26 +35145,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableInterfaceRedundancyGroupRequest'
+ $ref: "#/components/schemas/WritableInterfaceRedundancyGroupRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableInterfaceRedundancyGroupRequest'
+ $ref: "#/components/schemas/WritableInterfaceRedundancyGroupRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/InterfaceRedundancyGroup'
+ $ref: "#/components/schemas/InterfaceRedundancyGroup"
text/csv:
schema:
- $ref: '#/components/schemas/InterfaceRedundancyGroup'
+ $ref: "#/components/schemas/InterfaceRedundancyGroup"
description: ""
security:
- cookieAuth: []
@@ -38632,19 +35180,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableInterfaceRedundancyGroupRequest'
+ $ref: "#/components/schemas/BulkWritableInterfaceRedundancyGroupRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableInterfaceRedundancyGroupRequest'
+ $ref: "#/components/schemas/BulkWritableInterfaceRedundancyGroupRequest"
type: array
required: true
responses:
@@ -38653,12 +35201,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/InterfaceRedundancyGroup'
+ $ref: "#/components/schemas/InterfaceRedundancyGroup"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/InterfaceRedundancyGroup'
+ $ref: "#/components/schemas/InterfaceRedundancyGroup"
type: array
description: ""
security:
@@ -38676,7 +35224,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this interface redundancy group.
explode: false
@@ -38704,7 +35252,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this interface redundancy group.
explode: false
@@ -38726,15 +35274,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/InterfaceRedundancyGroup'
+ $ref: "#/components/schemas/InterfaceRedundancyGroup"
text/csv:
schema:
- $ref: '#/components/schemas/InterfaceRedundancyGroup'
+ $ref: "#/components/schemas/InterfaceRedundancyGroup"
description: ""
security:
- cookieAuth: []
@@ -38750,7 +35307,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this interface redundancy group.
explode: false
@@ -38765,19 +35322,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedWritableInterfaceRedundancyGroupRequest'
+ $ref: "#/components/schemas/PatchedWritableInterfaceRedundancyGroupRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedWritableInterfaceRedundancyGroupRequest'
+ $ref: "#/components/schemas/PatchedWritableInterfaceRedundancyGroupRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/InterfaceRedundancyGroup'
+ $ref: "#/components/schemas/InterfaceRedundancyGroup"
text/csv:
schema:
- $ref: '#/components/schemas/InterfaceRedundancyGroup'
+ $ref: "#/components/schemas/InterfaceRedundancyGroup"
description: ""
security:
- cookieAuth: []
@@ -38793,7 +35350,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this interface redundancy group.
explode: false
@@ -38808,20 +35365,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableInterfaceRedundancyGroupRequest'
+ $ref: "#/components/schemas/WritableInterfaceRedundancyGroupRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableInterfaceRedundancyGroupRequest'
+ $ref: "#/components/schemas/WritableInterfaceRedundancyGroupRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/InterfaceRedundancyGroup'
+ $ref: "#/components/schemas/InterfaceRedundancyGroup"
text/csv:
schema:
- $ref: '#/components/schemas/InterfaceRedundancyGroup'
+ $ref: "#/components/schemas/InterfaceRedundancyGroup"
description: ""
security:
- cookieAuth: []
@@ -38838,7 +35395,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this interface redundancy group.
explode: false
@@ -38876,15 +35433,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -38900,7 +35466,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this interface redundancy group.
explode: false
@@ -38915,20 +35481,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -38945,19 +35511,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -38989,14 +35555,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Description
explode: true
@@ -39173,21 +35739,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: Has device type
explode: true
@@ -39216,61 +35782,6 @@ paths:
type: string
type: array
style: form
- - description: ID contains
- explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID
- explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID ends with
- explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID matches regex
- explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID starts with
- explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Exclude ID
explode: true
in: query
@@ -39282,83 +35793,6 @@ paths:
type: string
type: array
style: form
- - description: Exclude ID contains
- explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID
- explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID ends with
- explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID matches regex
- explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID starts with
- explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID matches regex
- explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID matches regex
- explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Label
explode: true
in: query
@@ -39721,14 +36155,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -39867,15 +36301,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedInterfaceTemplateList'
+ $ref: "#/components/schemas/PaginatedInterfaceTemplateList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedInterfaceTemplateList'
+ $ref: "#/components/schemas/PaginatedInterfaceTemplateList"
description: ""
security:
- cookieAuth: []
@@ -39891,19 +36334,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableInterfaceTemplateRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableInterfaceTemplateRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableInterfaceTemplateRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableInterfaceTemplateRequest"
type: array
required: true
responses:
@@ -39912,12 +36355,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/InterfaceTemplate'
+ $ref: "#/components/schemas/InterfaceTemplate"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/InterfaceTemplate'
+ $ref: "#/components/schemas/InterfaceTemplate"
type: array
description: ""
security:
@@ -39934,26 +36377,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableInterfaceTemplateRequest'
+ $ref: "#/components/schemas/WritableInterfaceTemplateRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableInterfaceTemplateRequest'
+ $ref: "#/components/schemas/WritableInterfaceTemplateRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/InterfaceTemplate'
+ $ref: "#/components/schemas/InterfaceTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/InterfaceTemplate'
+ $ref: "#/components/schemas/InterfaceTemplate"
description: ""
security:
- cookieAuth: []
@@ -39969,19 +36412,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableInterfaceTemplateRequest'
+ $ref: "#/components/schemas/BulkWritableInterfaceTemplateRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableInterfaceTemplateRequest'
+ $ref: "#/components/schemas/BulkWritableInterfaceTemplateRequest"
type: array
required: true
responses:
@@ -39990,12 +36433,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/InterfaceTemplate'
+ $ref: "#/components/schemas/InterfaceTemplate"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/InterfaceTemplate'
+ $ref: "#/components/schemas/InterfaceTemplate"
type: array
description: ""
security:
@@ -40013,7 +36456,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this interface template.
explode: false
@@ -40041,7 +36484,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this interface template.
explode: false
@@ -40063,15 +36506,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/InterfaceTemplate'
+ $ref: "#/components/schemas/InterfaceTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/InterfaceTemplate'
+ $ref: "#/components/schemas/InterfaceTemplate"
description: ""
security:
- cookieAuth: []
@@ -40087,7 +36539,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this interface template.
explode: false
@@ -40102,19 +36554,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedWritableInterfaceTemplateRequest'
+ $ref: "#/components/schemas/PatchedWritableInterfaceTemplateRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedWritableInterfaceTemplateRequest'
+ $ref: "#/components/schemas/PatchedWritableInterfaceTemplateRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/InterfaceTemplate'
+ $ref: "#/components/schemas/InterfaceTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/InterfaceTemplate'
+ $ref: "#/components/schemas/InterfaceTemplate"
description: ""
security:
- cookieAuth: []
@@ -40130,7 +36582,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this interface template.
explode: false
@@ -40145,47 +36597,156 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableInterfaceTemplateRequest'
+ $ref: "#/components/schemas/WritableInterfaceTemplateRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableInterfaceTemplateRequest'
+ $ref: "#/components/schemas/WritableInterfaceTemplateRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/InterfaceTemplate'
+ $ref: "#/components/schemas/InterfaceTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/InterfaceTemplate'
+ $ref: "#/components/schemas/InterfaceTemplate"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- /dcim/interface-templates/{id}/notes/:
+ /dcim/interface-vdc-assignments/:
+ delete:
+ description: Destroy a list of interface vdc assignment objects.
+ operationId: dcim_interface_vdc_assignments_bulk_destroy
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ required: true
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
get:
- description: API methods for returning or creating notes on an object.
- operationId: dcim_interface_templates_notes_list
+ description: Retrieve a list of interface vdc assignment objects.
+ operationId: dcim_interface_vdc_assignments_list
parameters:
+ - explode: true
+ in: query
+ name: created
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: device
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Device (name or ID) is null
+ explode: true
+ in: query
+ name: device__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: device__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this interface template.
- explode: false
- in: path
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
+ in: query
name: id
- required: true
+ required: false
schema:
- format: uuid
- type: string
- style: simple
+ items:
+ format: uuid
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: id__n
+ required: false
+ schema:
+ items:
+ format: uuid
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: interface
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: interface__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: last_updated
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
- description: Number of results to return per page.
explode: true
in: query
@@ -40202,6 +36763,40 @@ paths:
schema:
type: integer
style: form
+ - description: Search
+ explode: true
+ in: query
+ name: q
+ required: false
+ schema:
+ type: string
+ style: form
+ - description: Which field to use when ordering the results.
+ explode: true
+ in: query
+ name: sort
+ required: false
+ schema:
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: virtual_device_context
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: virtual_device_context__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- description: Serializer Depth
explode: true
in: query
@@ -40213,15 +36808,67 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedInterfaceVDCAssignmentList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedInterfaceVDCAssignmentList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ patch:
+ description: Partial update a list of interface vdc assignment objects.
+ operationId: dcim_interface_vdc_assignments_bulk_partial_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableInterfaceVDCAssignmentRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableInterfaceVDCAssignmentRequest"
+ type: array
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/InterfaceVDCAssignment"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/InterfaceVDCAssignment"
+ type: array
description: ""
security:
- cookieAuth: []
@@ -40229,17 +36876,222 @@ paths:
tags:
- dcim
post:
- description: API methods for returning or creating notes on an object.
- operationId: dcim_interface_templates_notes_create
+ description: Create one or more interface vdc assignment objects.
+ operationId: dcim_interface_vdc_assignments_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this interface template.
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/InterfaceVDCAssignmentRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/InterfaceVDCAssignmentRequest"
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/InterfaceVDCAssignment"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/InterfaceVDCAssignment"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ put:
+ description: Update a list of interface vdc assignment objects.
+ operationId: dcim_interface_vdc_assignments_bulk_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableInterfaceVDCAssignmentRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableInterfaceVDCAssignmentRequest"
+ type: array
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/InterfaceVDCAssignment"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/InterfaceVDCAssignment"
+ type: array
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ /dcim/interface-vdc-assignments/{id}/:
+ delete:
+ description: Destroy a interface vdc assignment object.
+ operationId: dcim_interface_vdc_assignments_destroy
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this interface vdc assignment.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ get:
+ description: Retrieve a interface vdc assignment object.
+ operationId: dcim_interface_vdc_assignments_retrieve
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this interface vdc assignment.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/InterfaceVDCAssignment"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/InterfaceVDCAssignment"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ patch:
+ description: Partial update a interface vdc assignment object.
+ operationId: dcim_interface_vdc_assignments_partial_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this interface vdc assignment.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PatchedInterfaceVDCAssignmentRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PatchedInterfaceVDCAssignmentRequest"
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/InterfaceVDCAssignment"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/InterfaceVDCAssignment"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ put:
+ description: Update a interface vdc assignment object.
+ operationId: dcim_interface_vdc_assignments_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this interface vdc assignment.
explode: false
in: path
name: id
@@ -40252,20 +37104,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/InterfaceVDCAssignmentRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/InterfaceVDCAssignmentRequest"
required: true
responses:
- "201":
+ "200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/InterfaceVDCAssignment"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/InterfaceVDCAssignment"
description: ""
security:
- cookieAuth: []
@@ -40282,19 +37134,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -40441,14 +37293,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -40614,14 +37466,14 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -40635,7 +37487,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: Has bridged interfaces
explode: true
@@ -40661,77 +37513,43 @@ paths:
schema:
type: boolean
style: form
- - description: Has member interfaces
+ - description: Has IP addresses
explode: true
in: query
- name: has_member_interfaces
+ name: has_ip_addresses
required: false
schema:
type: boolean
style: form
- - description: Has tagged VLANs
+ - description: Has member interfaces
explode: true
in: query
- name: has_tagged_vlans
+ name: has_member_interfaces
required: false
schema:
type: boolean
style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
+ - description: Has tagged VLANs
explode: true
in: query
- name: id
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
+ name: has_tagged_vlans
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: Has Virtual Device Context
+ explode: true
in: query
- name: id__ire
+ name: has_virtual_device_contexts
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
in: query
- name: id__isw
+ name: id
required: false
schema:
items:
@@ -40751,93 +37569,33 @@ paths:
style: form
- explode: true
in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
+ name: interface_redundancy_groups
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__re
+ name: interface_redundancy_groups__isnull
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: interface_redundancy_groups
+ name: interface_redundancy_groups__n
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
- in: query
- name: interface_redundancy_groups__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
+ - description: IP addresses (address or ID)
+ explode: true
in: query
- name: interface_redundancy_groups__n
+ name: ip_addresses
required: false
schema:
items:
@@ -41587,14 +38345,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Role (name or ID)
- explode: true
+ - explode: true
in: query
name: role__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Which field to use when ordering the results.
explode: true
@@ -41613,14 +38371,14 @@ paths:
type: string
type: array
style: form
- - description: Exclude Status (name or ID)
- explode: true
+ - explode: true
in: query
name: status__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -41682,14 +38440,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -41843,6 +38601,32 @@ paths:
type: string
type: array
style: form
+ - explode: true
+ in: query
+ name: virtual_device_contexts
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Virtual Device Context (name or ID) is null
+ explode: true
+ in: query
+ name: virtual_device_contexts__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: virtual_device_contexts__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- description: Assigned VID
explode: true
in: query
@@ -41870,15 +38654,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedInterfaceList'
+ $ref: "#/components/schemas/PaginatedInterfaceList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedInterfaceList'
+ $ref: "#/components/schemas/PaginatedInterfaceList"
description: ""
security:
- cookieAuth: []
@@ -41894,19 +38687,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableInterfaceRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableInterfaceRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableInterfaceRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableInterfaceRequest"
type: array
required: true
responses:
@@ -41915,12 +38708,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Interface'
+ $ref: "#/components/schemas/Interface"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Interface'
+ $ref: "#/components/schemas/Interface"
type: array
description: ""
security:
@@ -41937,26 +38730,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableInterfaceRequest'
+ $ref: "#/components/schemas/WritableInterfaceRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableInterfaceRequest'
+ $ref: "#/components/schemas/WritableInterfaceRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Interface'
+ $ref: "#/components/schemas/Interface"
text/csv:
schema:
- $ref: '#/components/schemas/Interface'
+ $ref: "#/components/schemas/Interface"
description: ""
security:
- cookieAuth: []
@@ -41972,19 +38765,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableInterfaceRequest'
+ $ref: "#/components/schemas/BulkWritableInterfaceRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableInterfaceRequest'
+ $ref: "#/components/schemas/BulkWritableInterfaceRequest"
type: array
required: true
responses:
@@ -41993,12 +38786,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Interface'
+ $ref: "#/components/schemas/Interface"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Interface'
+ $ref: "#/components/schemas/Interface"
type: array
description: ""
security:
@@ -42016,7 +38809,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this interface.
explode: false
@@ -42044,7 +38837,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this interface.
explode: false
@@ -42066,181 +38859,40 @@ paths:
minimum: 0
type: integer
style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Interface'
- text/csv:
- schema:
- $ref: '#/components/schemas/Interface'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- patch:
- description: Partial update a interface object.
- operationId: dcim_interfaces_partial_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this interface.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PatchedWritableInterfaceRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/PatchedWritableInterfaceRequest'
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Interface'
- text/csv:
- schema:
- $ref: '#/components/schemas/Interface'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- put:
- description: Update a interface object.
- operationId: dcim_interfaces_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this interface.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/WritableInterfaceRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/WritableInterfaceRequest'
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Interface'
- text/csv:
- schema:
- $ref: '#/components/schemas/Interface'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- /dcim/interfaces/{id}/notes/:
- get:
- description: API methods for returning or creating notes on an object.
- operationId: dcim_interfaces_notes_list
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this interface.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- - description: The initial index from which to return the results.
+ - description: Exclude many-to-many fields from the response
explode: true
in: query
- name: offset
+ name: exclude_m2m
required: false
schema:
- type: integer
- style: form
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
+ default: false
+ type: boolean
style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/Interface"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/Interface"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- post:
- description: API methods for returning or creating notes on an object.
- operationId: dcim_interfaces_notes_create
+ patch:
+ description: Partial update a interface object.
+ operationId: dcim_interfaces_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this interface.
explode: false
@@ -42255,20 +38907,179 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/PatchedWritableInterfaceRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/PatchedWritableInterfaceRequest"
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Interface"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/Interface"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ put:
+ description: Update a interface object.
+ operationId: dcim_interfaces_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this interface.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/WritableInterfaceRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/WritableInterfaceRequest"
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Interface"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/Interface"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ /dcim/interfaces/{id}/notes/:
+ get:
+ description: API methods for returning or creating notes on an object.
+ operationId: dcim_interfaces_notes_list
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this interface.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: The initial index from which to return the results.
+ explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ post:
+ description: API methods for returning or creating notes on an object.
+ operationId: dcim_interfaces_notes_create
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this interface.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -42286,7 +39097,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this interface.
explode: false
@@ -42308,15 +39119,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Interface'
+ $ref: "#/components/schemas/Interface"
text/csv:
schema:
- $ref: '#/components/schemas/Interface'
+ $ref: "#/components/schemas/Interface"
description: ""
security:
- cookieAuth: []
@@ -42333,19 +39153,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -42536,14 +39356,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -42705,21 +39525,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: Has child items
explode: true
@@ -42757,56 +39577,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -42817,76 +39587,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: label
@@ -43368,6 +40068,123 @@ paths:
type: string
type: array
style: form
+ - explode: true
+ in: query
+ name: serial__ic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: serial__ie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: serial__iew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: serial__ire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: serial__isw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: serial__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: serial__nic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: serial__nie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: serial__niew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: serial__nire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: serial__nisw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: serial__nre
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: serial__re
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- explode: true
in: query
name: software_image_files
@@ -43462,14 +40279,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -43482,15 +40299,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedInventoryItemList'
+ $ref: "#/components/schemas/PaginatedInventoryItemList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedInventoryItemList'
+ $ref: "#/components/schemas/PaginatedInventoryItemList"
description: ""
security:
- cookieAuth: []
@@ -43506,19 +40332,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableInventoryItemRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableInventoryItemRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableInventoryItemRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableInventoryItemRequest"
type: array
required: true
responses:
@@ -43527,12 +40353,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/InventoryItem'
+ $ref: "#/components/schemas/InventoryItem"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/InventoryItem'
+ $ref: "#/components/schemas/InventoryItem"
type: array
description: ""
security:
@@ -43549,26 +40375,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/InventoryItemRequest'
+ $ref: "#/components/schemas/InventoryItemRequest"
text/csv:
schema:
- $ref: '#/components/schemas/InventoryItemRequest'
+ $ref: "#/components/schemas/InventoryItemRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/InventoryItem'
+ $ref: "#/components/schemas/InventoryItem"
text/csv:
schema:
- $ref: '#/components/schemas/InventoryItem'
+ $ref: "#/components/schemas/InventoryItem"
description: ""
security:
- cookieAuth: []
@@ -43584,19 +40410,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableInventoryItemRequest'
+ $ref: "#/components/schemas/BulkWritableInventoryItemRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableInventoryItemRequest'
+ $ref: "#/components/schemas/BulkWritableInventoryItemRequest"
type: array
required: true
responses:
@@ -43605,12 +40431,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/InventoryItem'
+ $ref: "#/components/schemas/InventoryItem"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/InventoryItem'
+ $ref: "#/components/schemas/InventoryItem"
type: array
description: ""
security:
@@ -43628,7 +40454,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this inventory item.
explode: false
@@ -43656,7 +40482,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this inventory item.
explode: false
@@ -43678,15 +40504,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/InventoryItem'
+ $ref: "#/components/schemas/InventoryItem"
text/csv:
schema:
- $ref: '#/components/schemas/InventoryItem'
+ $ref: "#/components/schemas/InventoryItem"
description: ""
security:
- cookieAuth: []
@@ -43702,7 +40537,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this inventory item.
explode: false
@@ -43717,19 +40552,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedInventoryItemRequest'
+ $ref: "#/components/schemas/PatchedInventoryItemRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedInventoryItemRequest'
+ $ref: "#/components/schemas/PatchedInventoryItemRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/InventoryItem'
+ $ref: "#/components/schemas/InventoryItem"
text/csv:
schema:
- $ref: '#/components/schemas/InventoryItem'
+ $ref: "#/components/schemas/InventoryItem"
description: ""
security:
- cookieAuth: []
@@ -43745,7 +40580,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this inventory item.
explode: false
@@ -43760,20 +40595,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/InventoryItemRequest'
+ $ref: "#/components/schemas/InventoryItemRequest"
text/csv:
schema:
- $ref: '#/components/schemas/InventoryItemRequest'
+ $ref: "#/components/schemas/InventoryItemRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/InventoryItem'
+ $ref: "#/components/schemas/InventoryItem"
text/csv:
schema:
- $ref: '#/components/schemas/InventoryItem'
+ $ref: "#/components/schemas/InventoryItem"
description: ""
security:
- cookieAuth: []
@@ -43790,7 +40625,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this inventory item.
explode: false
@@ -43828,15 +40663,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -43852,7 +40696,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this inventory item.
explode: false
@@ -43867,20 +40711,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -43897,19 +40741,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -43941,63 +40785,18 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
- in: query
- name: contacts__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- - explode: true
- in: query
- name: content_types
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__ic
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__ie
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__iew
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- explode: true
in: query
- name: content_types__ire
+ name: contacts__n
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: content_types__isw
+ name: content_types
required: false
schema:
items:
@@ -44013,69 +40812,6 @@ paths:
type: integer
type: array
style: form
- - explode: true
- in: query
- name: content_types__nic
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__nie
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__niew
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__nire
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__nisw
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__nre
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__re
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- explode: true
in: query
name: created
@@ -44278,21 +41014,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -44306,56 +41042,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -44366,76 +41052,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: last_updated
@@ -44711,14 +41327,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -44731,15 +41347,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedLocationTypeList'
+ $ref: "#/components/schemas/PaginatedLocationTypeList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedLocationTypeList'
+ $ref: "#/components/schemas/PaginatedLocationTypeList"
description: ""
security:
- cookieAuth: []
@@ -44755,19 +41380,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableLocationTypeRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableLocationTypeRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableLocationTypeRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableLocationTypeRequest"
type: array
required: true
responses:
@@ -44776,12 +41401,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/LocationType'
+ $ref: "#/components/schemas/LocationType"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/LocationType'
+ $ref: "#/components/schemas/LocationType"
type: array
description: ""
security:
@@ -44798,26 +41423,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/LocationTypeRequest'
+ $ref: "#/components/schemas/LocationTypeRequest"
text/csv:
schema:
- $ref: '#/components/schemas/LocationTypeRequest'
+ $ref: "#/components/schemas/LocationTypeRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/LocationType'
+ $ref: "#/components/schemas/LocationType"
text/csv:
schema:
- $ref: '#/components/schemas/LocationType'
+ $ref: "#/components/schemas/LocationType"
description: ""
security:
- cookieAuth: []
@@ -44833,19 +41458,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableLocationTypeRequest'
+ $ref: "#/components/schemas/BulkWritableLocationTypeRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableLocationTypeRequest'
+ $ref: "#/components/schemas/BulkWritableLocationTypeRequest"
type: array
required: true
responses:
@@ -44854,12 +41479,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/LocationType'
+ $ref: "#/components/schemas/LocationType"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/LocationType'
+ $ref: "#/components/schemas/LocationType"
type: array
description: ""
security:
@@ -44877,7 +41502,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this location type.
explode: false
@@ -44905,7 +41530,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this location type.
explode: false
@@ -44927,15 +41552,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/LocationType'
+ $ref: "#/components/schemas/LocationType"
text/csv:
schema:
- $ref: '#/components/schemas/LocationType'
+ $ref: "#/components/schemas/LocationType"
description: ""
security:
- cookieAuth: []
@@ -44951,7 +41585,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this location type.
explode: false
@@ -44966,19 +41600,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedLocationTypeRequest'
+ $ref: "#/components/schemas/PatchedLocationTypeRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedLocationTypeRequest'
+ $ref: "#/components/schemas/PatchedLocationTypeRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/LocationType'
+ $ref: "#/components/schemas/LocationType"
text/csv:
schema:
- $ref: '#/components/schemas/LocationType'
+ $ref: "#/components/schemas/LocationType"
description: ""
security:
- cookieAuth: []
@@ -44994,7 +41628,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this location type.
explode: false
@@ -45009,20 +41643,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/LocationTypeRequest'
+ $ref: "#/components/schemas/LocationTypeRequest"
text/csv:
schema:
- $ref: '#/components/schemas/LocationTypeRequest'
+ $ref: "#/components/schemas/LocationTypeRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/LocationType'
+ $ref: "#/components/schemas/LocationType"
text/csv:
schema:
- $ref: '#/components/schemas/LocationType'
+ $ref: "#/components/schemas/LocationType"
description: ""
security:
- cookieAuth: []
@@ -45039,7 +41673,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this location type.
explode: false
@@ -45077,15 +41711,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -45101,7 +41744,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this location type.
explode: false
@@ -45116,20 +41759,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -45146,19 +41789,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -45817,73 +42460,19 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
- schema:
- format: uuid
- type: string
- style: form
- - description: Object types allowed to be associated with this Location Type
- explode: true
- in: query
- name: content_type
- required: false
schema:
items:
- type: integer
- type: array
- style: form
- - description: Object types allowed to be associated with this Location Type
- contains
- explode: true
- in: query
- name: content_type__ic
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - description: Object types allowed to be associated with this Location Type
- explode: true
- in: query
- name: content_type__ie
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - description: Object types allowed to be associated with this Location Type
- ends with
- explode: true
- in: query
- name: content_type__iew
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - description: Object types allowed to be associated with this Location Type
- matches regex
- explode: true
- in: query
- name: content_type__ire
- required: false
- schema:
- items:
- type: integer
+ type: string
type: array
style: form
- description: Object types allowed to be associated with this Location Type
- starts with
explode: true
in: query
- name: content_type__isw
+ name: content_type
required: false
schema:
items:
@@ -45901,83 +42490,6 @@ paths:
type: integer
type: array
style: form
- - description: Exclude Object types allowed to be associated with this Location
- Type contains
- explode: true
- in: query
- name: content_type__nic
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - description: Exclude Object types allowed to be associated with this Location
- Type
- explode: true
- in: query
- name: content_type__nie
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - description: Exclude Object types allowed to be associated with this Location
- Type ends with
- explode: true
- in: query
- name: content_type__niew
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - description: Exclude Object types allowed to be associated with this Location
- Type matches regex
- explode: true
- in: query
- name: content_type__nire
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - description: Exclude Object types allowed to be associated with this Location
- Type starts with
- explode: true
- in: query
- name: content_type__nisw
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - description: Exclude Object types allowed to be associated with this Location
- Type matches regex
- explode: true
- in: query
- name: content_type__nre
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - description: Object types allowed to be associated with this Location Type
- matches regex
- explode: true
- in: query
- name: content_type__re
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- explode: true
in: query
name: created
@@ -46206,14 +42718,14 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -46346,7 +42858,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: Has circuit terminations
explode: true
@@ -46432,56 +42944,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -46492,76 +42954,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: last_updated
@@ -47319,14 +43711,14 @@ paths:
type: string
type: array
style: form
- - description: Exclude Status (name or ID)
- explode: true
+ - explode: true
in: query
name: status__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -47379,14 +43771,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -47481,163 +43873,137 @@ paths:
required: false
schema:
items:
- $ref: '#/components/schemas/dcim_locations_list_time_zone_parameter_inner'
+ $ref: "#/components/schemas/dcim_locations_list_time_zone_parameter_inner"
type: array
style: form
- - description: |+
- Time zone
-
+ - description: Time zone
explode: true
in: query
name: time_zone__ic
required: false
schema:
items:
- $ref: '#/components/schemas/dcim_locations_list_time_zone_parameter_inner'
+ type: string
type: array
style: form
- - description: |+
- Time zone
-
+ - description: Time zone
explode: true
in: query
name: time_zone__ie
required: false
schema:
items:
- $ref: '#/components/schemas/dcim_locations_list_time_zone_parameter_inner'
+ type: string
type: array
style: form
- - description: |+
- Time zone
-
+ - description: Time zone
explode: true
in: query
name: time_zone__iew
required: false
schema:
items:
- $ref: '#/components/schemas/dcim_locations_list_time_zone_parameter_inner'
+ type: string
type: array
style: form
- - description: |+
- Time zone
-
+ - description: Time zone
explode: true
in: query
name: time_zone__ire
required: false
schema:
items:
- $ref: '#/components/schemas/dcim_locations_list_time_zone_parameter_inner'
+ type: string
type: array
style: form
- - description: |+
- Time zone
-
+ - description: Time zone
explode: true
in: query
name: time_zone__isw
required: false
schema:
items:
- $ref: '#/components/schemas/dcim_locations_list_time_zone_parameter_inner'
+ type: string
type: array
style: form
- - description: |+
- Time zone
-
+ - description: Time zone
explode: true
in: query
name: time_zone__n
required: false
schema:
items:
- $ref: '#/components/schemas/dcim_locations_list_time_zone_parameter_inner'
+ type: string
type: array
style: form
- - description: |+
- Time zone
-
+ - description: Time zone
explode: true
in: query
name: time_zone__nic
required: false
schema:
items:
- $ref: '#/components/schemas/dcim_locations_list_time_zone_parameter_inner'
+ type: string
type: array
style: form
- - description: |+
- Time zone
-
+ - description: Time zone
explode: true
in: query
name: time_zone__nie
required: false
schema:
items:
- $ref: '#/components/schemas/dcim_locations_list_time_zone_parameter_inner'
+ type: string
type: array
style: form
- - description: |+
- Time zone
-
+ - description: Time zone
explode: true
in: query
name: time_zone__niew
required: false
schema:
items:
- $ref: '#/components/schemas/dcim_locations_list_time_zone_parameter_inner'
+ type: string
type: array
style: form
- - description: |+
- Time zone
-
+ - description: Time zone
explode: true
in: query
name: time_zone__nire
required: false
schema:
items:
- $ref: '#/components/schemas/dcim_locations_list_time_zone_parameter_inner'
+ type: string
type: array
style: form
- - description: |+
- Time zone
-
+ - description: Time zone
explode: true
in: query
name: time_zone__nisw
required: false
schema:
items:
- $ref: '#/components/schemas/dcim_locations_list_time_zone_parameter_inner'
+ type: string
type: array
style: form
- - description: |+
- Time zone
-
+ - description: Time zone
explode: true
in: query
name: time_zone__nre
required: false
schema:
items:
- $ref: '#/components/schemas/dcim_locations_list_time_zone_parameter_inner'
+ type: string
type: array
style: form
- - description: |+
- Time zone
-
+ - description: Time zone
explode: true
in: query
name: time_zone__re
required: false
schema:
items:
- $ref: '#/components/schemas/dcim_locations_list_time_zone_parameter_inner'
+ type: string
type: array
style: form
- explode: true
@@ -47703,15 +44069,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedLocationList'
+ $ref: "#/components/schemas/PaginatedLocationList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedLocationList'
+ $ref: "#/components/schemas/PaginatedLocationList"
description: ""
security:
- cookieAuth: []
@@ -47727,19 +44102,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableLocationRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableLocationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableLocationRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableLocationRequest"
type: array
required: true
responses:
@@ -47748,12 +44123,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Location'
+ $ref: "#/components/schemas/Location"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Location'
+ $ref: "#/components/schemas/Location"
type: array
description: ""
security:
@@ -47770,26 +44145,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/LocationRequest'
+ $ref: "#/components/schemas/LocationRequest"
text/csv:
schema:
- $ref: '#/components/schemas/LocationRequest'
+ $ref: "#/components/schemas/LocationRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Location'
+ $ref: "#/components/schemas/Location"
text/csv:
schema:
- $ref: '#/components/schemas/Location'
+ $ref: "#/components/schemas/Location"
description: ""
security:
- cookieAuth: []
@@ -47805,19 +44180,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableLocationRequest'
+ $ref: "#/components/schemas/BulkWritableLocationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableLocationRequest'
+ $ref: "#/components/schemas/BulkWritableLocationRequest"
type: array
required: true
responses:
@@ -47826,12 +44201,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Location'
+ $ref: "#/components/schemas/Location"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Location'
+ $ref: "#/components/schemas/Location"
type: array
description: ""
security:
@@ -47849,7 +44224,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this location.
explode: false
@@ -47877,7 +44252,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this location.
explode: false
@@ -47899,15 +44274,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Location'
+ $ref: "#/components/schemas/Location"
text/csv:
schema:
- $ref: '#/components/schemas/Location'
+ $ref: "#/components/schemas/Location"
description: ""
security:
- cookieAuth: []
@@ -47923,7 +44307,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this location.
explode: false
@@ -47938,19 +44322,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedLocationRequest'
+ $ref: "#/components/schemas/PatchedLocationRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedLocationRequest'
+ $ref: "#/components/schemas/PatchedLocationRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Location'
+ $ref: "#/components/schemas/Location"
text/csv:
schema:
- $ref: '#/components/schemas/Location'
+ $ref: "#/components/schemas/Location"
description: ""
security:
- cookieAuth: []
@@ -47966,7 +44350,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this location.
explode: false
@@ -47981,20 +44365,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/LocationRequest'
+ $ref: "#/components/schemas/LocationRequest"
text/csv:
schema:
- $ref: '#/components/schemas/LocationRequest'
+ $ref: "#/components/schemas/LocationRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Location'
+ $ref: "#/components/schemas/Location"
text/csv:
schema:
- $ref: '#/components/schemas/Location'
+ $ref: "#/components/schemas/Location"
description: ""
security:
- cookieAuth: []
@@ -48011,7 +44395,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this location.
explode: false
@@ -48049,15 +44433,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -48073,7 +44466,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this location.
explode: false
@@ -48088,20 +44481,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -48118,19 +44511,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -48162,14 +44555,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -48399,21 +44792,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: Has device types
explode: true
@@ -48451,56 +44844,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -48511,76 +44854,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: inventory_items
@@ -48875,14 +45148,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -48895,121 +45168,52 @@ paths:
minimum: 0
type: integer
style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedManufacturerList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedManufacturerList'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- patch:
- description: Partial update a list of manufacturer objects.
- operationId: dcim_manufacturers_bulk_partial_update
- parameters:
- - explode: true
+ - description: Exclude many-to-many fields from the response
+ explode: true
in: query
- name: format
+ name: exclude_m2m
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ default: false
+ type: boolean
style: form
- requestBody:
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/PatchedBulkWritableManufacturerRequest'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/PatchedBulkWritableManufacturerRequest'
- type: array
- required: true
responses:
"200":
content:
application/json:
schema:
- items:
- $ref: '#/components/schemas/Manufacturer'
- type: array
+ $ref: "#/components/schemas/PaginatedManufacturerList"
text/csv:
schema:
- items:
- $ref: '#/components/schemas/Manufacturer'
- type: array
+ $ref: "#/components/schemas/PaginatedManufacturerList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- post:
- description: Create one or more manufacturer objects.
- operationId: dcim_manufacturers_create
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ManufacturerRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/ManufacturerRequest'
- required: true
- responses:
- "201":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Manufacturer'
- text/csv:
- schema:
- $ref: '#/components/schemas/Manufacturer'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- put:
- description: Update a list of manufacturer objects.
- operationId: dcim_manufacturers_bulk_update
+ patch:
+ description: Partial update a list of manufacturer objects.
+ operationId: dcim_manufacturers_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableManufacturerRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableManufacturerRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableManufacturerRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableManufacturerRequest"
type: array
required: true
responses:
@@ -49018,12 +45222,90 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Manufacturer'
+ $ref: "#/components/schemas/Manufacturer"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Manufacturer'
+ $ref: "#/components/schemas/Manufacturer"
+ type: array
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ post:
+ description: Create one or more manufacturer objects.
+ operationId: dcim_manufacturers_create
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ManufacturerRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/ManufacturerRequest"
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Manufacturer"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/Manufacturer"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ put:
+ description: Update a list of manufacturer objects.
+ operationId: dcim_manufacturers_bulk_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableManufacturerRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableManufacturerRequest"
+ type: array
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/Manufacturer"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/Manufacturer"
type: array
description: ""
security:
@@ -49041,7 +45323,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this manufacturer.
explode: false
@@ -49069,7 +45351,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this manufacturer.
explode: false
@@ -49091,15 +45373,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Manufacturer'
+ $ref: "#/components/schemas/Manufacturer"
text/csv:
schema:
- $ref: '#/components/schemas/Manufacturer'
+ $ref: "#/components/schemas/Manufacturer"
description: ""
security:
- cookieAuth: []
@@ -49115,7 +45406,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this manufacturer.
explode: false
@@ -49130,19 +45421,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedManufacturerRequest'
+ $ref: "#/components/schemas/PatchedManufacturerRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedManufacturerRequest'
+ $ref: "#/components/schemas/PatchedManufacturerRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Manufacturer'
+ $ref: "#/components/schemas/Manufacturer"
text/csv:
schema:
- $ref: '#/components/schemas/Manufacturer'
+ $ref: "#/components/schemas/Manufacturer"
description: ""
security:
- cookieAuth: []
@@ -49158,7 +45449,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this manufacturer.
explode: false
@@ -49173,20 +45464,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ManufacturerRequest'
+ $ref: "#/components/schemas/ManufacturerRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ManufacturerRequest'
+ $ref: "#/components/schemas/ManufacturerRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Manufacturer'
+ $ref: "#/components/schemas/Manufacturer"
text/csv:
schema:
- $ref: '#/components/schemas/Manufacturer'
+ $ref: "#/components/schemas/Manufacturer"
description: ""
security:
- cookieAuth: []
@@ -49203,7 +45494,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this manufacturer.
explode: false
@@ -49241,15 +45532,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -49265,7 +45565,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this manufacturer.
explode: false
@@ -49280,20 +45580,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -49310,19 +45610,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -49354,14 +45654,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -49605,21 +45905,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: Has device type
explode: true
@@ -49648,61 +45948,6 @@ paths:
type: string
type: array
style: form
- - description: ID contains
- explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID
- explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID ends with
- explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID matches regex
- explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID starts with
- explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Exclude ID
explode: true
in: query
@@ -49714,83 +45959,6 @@ paths:
type: string
type: array
style: form
- - description: Exclude ID contains
- explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID
- explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID ends with
- explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID matches regex
- explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID starts with
- explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID matches regex
- explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID matches regex
- explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Label
explode: true
in: query
@@ -50006,6 +46174,32 @@ paths:
schema:
type: integer
style: form
+ - explode: true
+ in: query
+ name: module_family
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Module family (name or ID) is null
+ explode: true
+ in: query
+ name: module_family__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: module_family__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- explode: true
in: query
name: module_type
@@ -50314,6 +46508,14 @@ paths:
schema:
type: string
style: form
+ - description: Requires first-party modules
+ explode: true
+ in: query
+ name: requires_first_party_modules
+ required: false
+ schema:
+ type: boolean
+ style: form
- description: Which field to use when ordering the results.
explode: true
in: query
@@ -50339,14 +46541,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -50359,15 +46561,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedModuleBayTemplateList'
+ $ref: "#/components/schemas/PaginatedModuleBayTemplateList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedModuleBayTemplateList'
+ $ref: "#/components/schemas/PaginatedModuleBayTemplateList"
description: ""
security:
- cookieAuth: []
@@ -50383,19 +46594,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableModuleBayTemplateRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableModuleBayTemplateRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableModuleBayTemplateRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableModuleBayTemplateRequest"
type: array
required: true
responses:
@@ -50404,12 +46615,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ModuleBayTemplate'
+ $ref: "#/components/schemas/ModuleBayTemplate"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ModuleBayTemplate'
+ $ref: "#/components/schemas/ModuleBayTemplate"
type: array
description: ""
security:
@@ -50426,26 +46637,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/ModuleBayTemplateRequest'
+ $ref: "#/components/schemas/ModuleBayTemplateRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ModuleBayTemplateRequest'
+ $ref: "#/components/schemas/ModuleBayTemplateRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/ModuleBayTemplate'
+ $ref: "#/components/schemas/ModuleBayTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/ModuleBayTemplate'
+ $ref: "#/components/schemas/ModuleBayTemplate"
description: ""
security:
- cookieAuth: []
@@ -50461,19 +46672,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableModuleBayTemplateRequest'
+ $ref: "#/components/schemas/BulkWritableModuleBayTemplateRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableModuleBayTemplateRequest'
+ $ref: "#/components/schemas/BulkWritableModuleBayTemplateRequest"
type: array
required: true
responses:
@@ -50482,12 +46693,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ModuleBayTemplate'
+ $ref: "#/components/schemas/ModuleBayTemplate"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ModuleBayTemplate'
+ $ref: "#/components/schemas/ModuleBayTemplate"
type: array
description: ""
security:
@@ -50505,7 +46716,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this module bay template.
explode: false
@@ -50533,7 +46744,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this module bay template.
explode: false
@@ -50555,74 +46766,40 @@ paths:
minimum: 0
type: integer
style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ModuleBayTemplate'
- text/csv:
- schema:
- $ref: '#/components/schemas/ModuleBayTemplate'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- patch:
- description: Partial update a module bay template object.
- operationId: dcim_module_bay_templates_partial_update
- parameters:
- - explode: true
+ - description: Exclude many-to-many fields from the response
+ explode: true
in: query
- name: format
+ name: exclude_m2m
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ default: false
+ type: boolean
style: form
- - description: A UUID string identifying this module bay template.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PatchedModuleBayTemplateRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/PatchedModuleBayTemplateRequest'
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ModuleBayTemplate'
+ $ref: "#/components/schemas/ModuleBayTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/ModuleBayTemplate'
+ $ref: "#/components/schemas/ModuleBayTemplate"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- put:
- description: Update a module bay template object.
- operationId: dcim_module_bay_templates_update
+ patch:
+ description: Partial update a module bay template object.
+ operationId: dcim_module_bay_templates_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this module bay template.
explode: false
@@ -50637,99 +46814,35 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ModuleBayTemplateRequest'
+ $ref: "#/components/schemas/PatchedModuleBayTemplateRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ModuleBayTemplateRequest'
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ModuleBayTemplate'
- text/csv:
- schema:
- $ref: '#/components/schemas/ModuleBayTemplate'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- /dcim/module-bay-templates/{id}/notes/:
- get:
- description: API methods for returning or creating notes on an object.
- operationId: dcim_module_bay_templates_notes_list
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this module bay template.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
- style: form
+ $ref: "#/components/schemas/PatchedModuleBayTemplateRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/ModuleBayTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/ModuleBayTemplate"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- post:
- description: API methods for returning or creating notes on an object.
- operationId: dcim_module_bay_templates_notes_create
+ put:
+ description: Update a module bay template object.
+ operationId: dcim_module_bay_templates_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this module bay template.
explode: false
@@ -50744,20 +46857,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/ModuleBayTemplateRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/ModuleBayTemplateRequest"
required: true
responses:
- "201":
+ "200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/ModuleBayTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/ModuleBayTemplate"
description: ""
security:
- cookieAuth: []
@@ -50774,19 +46887,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -50818,14 +46931,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -51029,21 +47142,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: Has installed module
explode: true
@@ -51081,56 +47194,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -51141,76 +47204,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Installed module (ID)
explode: true
in: query
@@ -51442,6 +47435,32 @@ paths:
schema:
type: integer
style: form
+ - explode: true
+ in: query
+ name: module_family
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Module family (name or ID) is null
+ explode: true
+ in: query
+ name: module_family__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: module_family__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- explode: true
in: query
name: name
@@ -51766,6 +47785,14 @@ paths:
schema:
type: string
style: form
+ - description: Requires first-party modules
+ explode: true
+ in: query
+ name: requires_first_party_modules
+ required: false
+ schema:
+ type: boolean
+ style: form
- description: Which field to use when ordering the results.
explode: true
in: query
@@ -51816,14 +47843,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -51836,15 +47863,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedModuleBayList'
+ $ref: "#/components/schemas/PaginatedModuleBayList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedModuleBayList'
+ $ref: "#/components/schemas/PaginatedModuleBayList"
description: ""
security:
- cookieAuth: []
@@ -51860,19 +47896,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableModuleBayRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableModuleBayRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableModuleBayRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableModuleBayRequest"
type: array
required: true
responses:
@@ -51881,12 +47917,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ModuleBay'
+ $ref: "#/components/schemas/ModuleBay"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ModuleBay'
+ $ref: "#/components/schemas/ModuleBay"
type: array
description: ""
security:
@@ -51903,26 +47939,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/ModuleBayRequest'
+ $ref: "#/components/schemas/ModuleBayRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ModuleBayRequest'
+ $ref: "#/components/schemas/ModuleBayRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/ModuleBay'
+ $ref: "#/components/schemas/ModuleBay"
text/csv:
schema:
- $ref: '#/components/schemas/ModuleBay'
+ $ref: "#/components/schemas/ModuleBay"
description: ""
security:
- cookieAuth: []
@@ -51938,19 +47974,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableModuleBayRequest'
+ $ref: "#/components/schemas/BulkWritableModuleBayRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableModuleBayRequest'
+ $ref: "#/components/schemas/BulkWritableModuleBayRequest"
type: array
required: true
responses:
@@ -51959,12 +47995,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ModuleBay'
+ $ref: "#/components/schemas/ModuleBay"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ModuleBay'
+ $ref: "#/components/schemas/ModuleBay"
type: array
description: ""
security:
@@ -51982,7 +48018,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this module bay.
explode: false
@@ -52010,7 +48046,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this module bay.
explode: false
@@ -52032,74 +48068,40 @@ paths:
minimum: 0
type: integer
style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ModuleBay'
- text/csv:
- schema:
- $ref: '#/components/schemas/ModuleBay'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- patch:
- description: Partial update a module bay object.
- operationId: dcim_module_bays_partial_update
- parameters:
- - explode: true
+ - description: Exclude many-to-many fields from the response
+ explode: true
in: query
- name: format
+ name: exclude_m2m
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ default: false
+ type: boolean
style: form
- - description: A UUID string identifying this module bay.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PatchedModuleBayRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/PatchedModuleBayRequest'
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ModuleBay'
+ $ref: "#/components/schemas/ModuleBay"
text/csv:
schema:
- $ref: '#/components/schemas/ModuleBay'
+ $ref: "#/components/schemas/ModuleBay"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- put:
- description: Update a module bay object.
- operationId: dcim_module_bays_update
+ patch:
+ description: Partial update a module bay object.
+ operationId: dcim_module_bays_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this module bay.
explode: false
@@ -52114,20 +48116,63 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ModuleBayRequest'
+ $ref: "#/components/schemas/PatchedModuleBayRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ModuleBayRequest'
+ $ref: "#/components/schemas/PatchedModuleBayRequest"
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ModuleBay"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/ModuleBay"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ put:
+ description: Update a module bay object.
+ operationId: dcim_module_bays_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this module bay.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ModuleBayRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/ModuleBayRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ModuleBay'
+ $ref: "#/components/schemas/ModuleBay"
text/csv:
schema:
- $ref: '#/components/schemas/ModuleBay'
+ $ref: "#/components/schemas/ModuleBay"
description: ""
security:
- cookieAuth: []
@@ -52144,7 +48189,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this module bay.
explode: false
@@ -52182,15 +48227,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -52206,7 +48260,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this module bay.
explode: false
@@ -52221,49 +48275,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- /dcim/module-types/:
+ /dcim/module-families/:
delete:
- description: Destroy a list of module type objects.
- operationId: dcim_module_types_bulk_destroy
+ description: API viewset for interacting with ModuleFamily objects.
+ operationId: dcim_module_families_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -52275,187 +48329,9 @@ paths:
tags:
- dcim
get:
- description: Retrieve a list of module type objects.
- operationId: dcim_module_types_list
+ description: API viewset for interacting with ModuleFamily objects.
+ operationId: dcim_module_families_list
parameters:
- - explode: true
- in: query
- name: comments
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: comments__ic
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: comments__ie
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: comments__iew
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: comments__ire
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: comments__isw
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: comments__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: comments__nic
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: comments__nie
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: comments__niew
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: comments__nire
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: comments__nisw
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: comments__nre
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: comments__re
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: console_port_templates
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Console port templates (name or ID) is null
- explode: true
- in: query
- name: console_port_templates__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: console_port_templates__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: console_server_port_templates
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Console server port templates (name or ID) is null
- explode: true
- in: query
- name: console_server_port_templates__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: console_server_port_templates__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- explode: true
in: query
name: contacts
@@ -52473,14 +48349,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -52551,292 +48427,174 @@ paths:
style: form
- explode: true
in: query
- name: dynamic_groups
+ name: description
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
- in: query
- name: dynamic_groups__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- explode: true
in: query
- name: front_port_templates
+ name: description__ic
required: false
schema:
items:
type: string
type: array
style: form
- - description: Front port templates (name or ID) is null
- explode: true
- in: query
- name: front_port_templates__isnull
- required: false
- schema:
- type: boolean
- style: form
- explode: true
in: query
- name: front_port_templates__n
+ name: description__ie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Has console port templates
- explode: true
- in: query
- name: has_console_port_templates
- required: false
- schema:
- type: boolean
- style: form
- - description: Has console server port templates
- explode: true
- in: query
- name: has_console_server_port_templates
- required: false
- schema:
- type: boolean
- style: form
- - description: Has front port templates
- explode: true
- in: query
- name: has_front_port_templates
- required: false
- schema:
- type: boolean
- style: form
- - description: Has interface templates
- explode: true
- in: query
- name: has_interface_templates
- required: false
- schema:
- type: boolean
- style: form
- - description: Has module bay templates
- explode: true
- in: query
- name: has_module_bay_templates
- required: false
- schema:
- type: boolean
- style: form
- - description: Has module instances
- explode: true
- in: query
- name: has_modules
- required: false
- schema:
- type: boolean
- style: form
- - description: Has power outlet templates
- explode: true
- in: query
- name: has_power_outlet_templates
- required: false
- schema:
- type: boolean
- style: form
- - description: Has power port templates
- explode: true
- in: query
- name: has_power_port_templates
- required: false
- schema:
- type: boolean
- style: form
- - description: Has rear port templates
- explode: true
- in: query
- name: has_rear_port_templates
- required: false
- schema:
- type: boolean
- style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
- explode: true
+ - explode: true
in: query
- name: id
+ name: description__iew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ic
+ name: description__ire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ie
+ name: description__isw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: description__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: description__nic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: description__nie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__n
+ name: description__niew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nic
+ name: description__nire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: description__nisw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: description__nre
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nire
+ name: description__re
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nisw
+ name: dynamic_groups
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nre
+ name: dynamic_groups__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__re
+ name: format
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - explode: true
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
in: query
- name: interface_templates
+ name: id
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- - description: Interface templates (name or ID) is null
- explode: true
- in: query
- name: interface_templates__isnull
- required: false
- schema:
- type: boolean
- style: form
- explode: true
in: query
- name: interface_templates__n
+ name: id__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
@@ -52917,34 +48675,36 @@ paths:
style: form
- explode: true
in: query
- name: manufacturer
+ name: module_bay_id
required: false
schema:
items:
- type: string
+ items:
+ format: uuid
+ type: string
+ type: array
type: array
style: form
- explode: true
in: query
- name: manufacturer__n
+ name: module_types
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Module types (model or ID) is null
+ explode: true
in: query
- name: model
+ name: module_types__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: model__ic
+ name: module_types__n
required: false
schema:
items:
@@ -52953,7 +48713,7 @@ paths:
style: form
- explode: true
in: query
- name: model__ie
+ name: name
required: false
schema:
items:
@@ -52962,7 +48722,7 @@ paths:
style: form
- explode: true
in: query
- name: model__iew
+ name: name__ic
required: false
schema:
items:
@@ -52971,7 +48731,7 @@ paths:
style: form
- explode: true
in: query
- name: model__ire
+ name: name__ie
required: false
schema:
items:
@@ -52980,7 +48740,7 @@ paths:
style: form
- explode: true
in: query
- name: model__isw
+ name: name__iew
required: false
schema:
items:
@@ -52989,7 +48749,7 @@ paths:
style: form
- explode: true
in: query
- name: model__n
+ name: name__ire
required: false
schema:
items:
@@ -52998,7 +48758,7 @@ paths:
style: form
- explode: true
in: query
- name: model__nic
+ name: name__isw
required: false
schema:
items:
@@ -53007,7 +48767,7 @@ paths:
style: form
- explode: true
in: query
- name: model__nie
+ name: name__n
required: false
schema:
items:
@@ -53016,7 +48776,7 @@ paths:
style: form
- explode: true
in: query
- name: model__niew
+ name: name__nic
required: false
schema:
items:
@@ -53025,7 +48785,7 @@ paths:
style: form
- explode: true
in: query
- name: model__nire
+ name: name__nie
required: false
schema:
items:
@@ -53034,7 +48794,7 @@ paths:
style: form
- explode: true
in: query
- name: model__nisw
+ name: name__niew
required: false
schema:
items:
@@ -53043,7 +48803,7 @@ paths:
style: form
- explode: true
in: query
- name: model__nre
+ name: name__nire
required: false
schema:
items:
@@ -53052,7 +48812,7 @@ paths:
style: form
- explode: true
in: query
- name: model__re
+ name: name__nisw
required: false
schema:
items:
@@ -53061,28 +48821,19 @@ paths:
style: form
- explode: true
in: query
- name: module_bay_templates
+ name: name__nre
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: module_bay_templates__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: module_bay_templates__n
+ name: name__re
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
@@ -53094,184 +48845,6 @@ paths:
schema:
type: integer
style: form
- - explode: true
- in: query
- name: part_number
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: part_number__ic
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: part_number__ie
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: part_number__iew
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: part_number__ire
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: part_number__isw
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: part_number__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: part_number__nic
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: part_number__nie
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: part_number__niew
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: part_number__nire
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: part_number__nisw
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: part_number__nre
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: part_number__re
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: power_outlet_templates
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Power outlet templates (name or ID) is null
- explode: true
- in: query
- name: power_outlet_templates__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: power_outlet_templates__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: power_port_templates
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Power port templates (name or ID) is null
- explode: true
- in: query
- name: power_port_templates__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: power_port_templates__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- description: Search
explode: true
in: query
@@ -53280,32 +48853,6 @@ paths:
schema:
type: string
style: form
- - explode: true
- in: query
- name: rear_port_templates
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Rear port templates (name or ID) is null
- explode: true
- in: query
- name: rear_port_templates__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: rear_port_templates__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- description: Which field to use when ordering the results.
explode: true
in: query
@@ -53356,14 +48903,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -53376,15 +48923,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedModuleTypeList'
+ $ref: "#/components/schemas/PaginatedModuleFamilyList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedModuleTypeList'
+ $ref: "#/components/schemas/PaginatedModuleFamilyList"
description: ""
security:
- cookieAuth: []
@@ -53392,27 +48948,27 @@ paths:
tags:
- dcim
patch:
- description: Partial update a list of module type objects.
- operationId: dcim_module_types_bulk_partial_update
+ description: API viewset for interacting with ModuleFamily objects.
+ operationId: dcim_module_families_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableModuleTypeRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableModuleFamilyRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableModuleTypeRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableModuleFamilyRequest"
type: array
required: true
responses:
@@ -53421,12 +48977,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ModuleType'
+ $ref: "#/components/schemas/ModuleFamily"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ModuleType'
+ $ref: "#/components/schemas/ModuleFamily"
type: array
description: ""
security:
@@ -53435,34 +48991,34 @@ paths:
tags:
- dcim
post:
- description: Create one or more module type objects.
- operationId: dcim_module_types_create
+ description: API viewset for interacting with ModuleFamily objects.
+ operationId: dcim_module_families_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/ModuleTypeRequest'
+ $ref: "#/components/schemas/ModuleFamilyRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ModuleTypeRequest'
+ $ref: "#/components/schemas/ModuleFamilyRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/ModuleType'
+ $ref: "#/components/schemas/ModuleFamily"
text/csv:
schema:
- $ref: '#/components/schemas/ModuleType'
+ $ref: "#/components/schemas/ModuleFamily"
description: ""
security:
- cookieAuth: []
@@ -53470,27 +49026,27 @@ paths:
tags:
- dcim
put:
- description: Update a list of module type objects.
- operationId: dcim_module_types_bulk_update
+ description: API viewset for interacting with ModuleFamily objects.
+ operationId: dcim_module_families_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableModuleTypeRequest'
+ $ref: "#/components/schemas/BulkWritableModuleFamilyRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableModuleTypeRequest'
+ $ref: "#/components/schemas/BulkWritableModuleFamilyRequest"
type: array
required: true
responses:
@@ -53499,12 +49055,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ModuleType'
+ $ref: "#/components/schemas/ModuleFamily"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ModuleType'
+ $ref: "#/components/schemas/ModuleFamily"
type: array
description: ""
security:
@@ -53512,19 +49068,19 @@ paths:
- tokenAuth: []
tags:
- dcim
- /dcim/module-types/{id}/:
+ /dcim/module-families/{id}/:
delete:
- description: Destroy a module type object.
- operationId: dcim_module_types_destroy
+ description: API viewset for interacting with ModuleFamily objects.
+ operationId: dcim_module_families_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this module type.
+ - description: A UUID string identifying this module family.
explode: false
in: path
name: id
@@ -53542,17 +49098,17 @@ paths:
tags:
- dcim
get:
- description: Retrieve a module type object.
- operationId: dcim_module_types_retrieve
+ description: API viewset for interacting with ModuleFamily objects.
+ operationId: dcim_module_families_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this module type.
+ - description: A UUID string identifying this module family.
explode: false
in: path
name: id
@@ -53572,15 +49128,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ModuleType'
+ $ref: "#/components/schemas/ModuleFamily"
text/csv:
schema:
- $ref: '#/components/schemas/ModuleType'
+ $ref: "#/components/schemas/ModuleFamily"
description: ""
security:
- cookieAuth: []
@@ -53588,17 +49153,17 @@ paths:
tags:
- dcim
patch:
- description: Partial update a module type object.
- operationId: dcim_module_types_partial_update
+ description: API viewset for interacting with ModuleFamily objects.
+ operationId: dcim_module_families_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this module type.
+ - description: A UUID string identifying this module family.
explode: false
in: path
name: id
@@ -53611,19 +49176,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedModuleTypeRequest'
+ $ref: "#/components/schemas/PatchedModuleFamilyRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedModuleTypeRequest'
+ $ref: "#/components/schemas/PatchedModuleFamilyRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ModuleType'
+ $ref: "#/components/schemas/ModuleFamily"
text/csv:
schema:
- $ref: '#/components/schemas/ModuleType'
+ $ref: "#/components/schemas/ModuleFamily"
description: ""
security:
- cookieAuth: []
@@ -53631,17 +49196,17 @@ paths:
tags:
- dcim
put:
- description: Update a module type object.
- operationId: dcim_module_types_update
+ description: API viewset for interacting with ModuleFamily objects.
+ operationId: dcim_module_families_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this module type.
+ - description: A UUID string identifying this module family.
explode: false
in: path
name: id
@@ -53654,39 +49219,39 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ModuleTypeRequest'
+ $ref: "#/components/schemas/ModuleFamilyRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ModuleTypeRequest'
+ $ref: "#/components/schemas/ModuleFamilyRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ModuleType'
+ $ref: "#/components/schemas/ModuleFamily"
text/csv:
schema:
- $ref: '#/components/schemas/ModuleType'
+ $ref: "#/components/schemas/ModuleFamily"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- /dcim/module-types/{id}/notes/:
+ /dcim/module-families/{id}/notes/:
get:
description: API methods for returning or creating notes on an object.
- operationId: dcim_module_types_notes_list
+ operationId: dcim_module_families_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this module type.
+ - description: A UUID string identifying this module family.
explode: false
in: path
name: id
@@ -53722,15 +49287,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -53739,16 +49313,16 @@ paths:
- dcim
post:
description: API methods for returning or creating notes on an object.
- operationId: dcim_module_types_notes_create
+ operationId: dcim_module_families_notes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this module type.
+ - description: A UUID string identifying this module family.
explode: false
in: path
name: id
@@ -53761,49 +49335,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- /dcim/modules/:
+ /dcim/module-types/:
delete:
- description: Destroy a list of module objects.
- operationId: dcim_modules_bulk_destroy
+ description: Destroy a list of module type objects.
+ operationId: dcim_module_types_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -53815,12 +49389,12 @@ paths:
tags:
- dcim
get:
- description: Retrieve a list of module objects.
- operationId: dcim_modules_list
+ description: Retrieve a list of module type objects.
+ operationId: dcim_module_types_list
parameters:
- explode: true
in: query
- name: asset_tag
+ name: comments
required: false
schema:
items:
@@ -53829,7 +49403,7 @@ paths:
style: form
- explode: true
in: query
- name: asset_tag__ic
+ name: comments__ic
required: false
schema:
items:
@@ -53838,7 +49412,7 @@ paths:
style: form
- explode: true
in: query
- name: asset_tag__ie
+ name: comments__ie
required: false
schema:
items:
@@ -53847,7 +49421,7 @@ paths:
style: form
- explode: true
in: query
- name: asset_tag__iew
+ name: comments__iew
required: false
schema:
items:
@@ -53856,7 +49430,7 @@ paths:
style: form
- explode: true
in: query
- name: asset_tag__ire
+ name: comments__ire
required: false
schema:
items:
@@ -53865,14 +49439,16 @@ paths:
style: form
- explode: true
in: query
- name: asset_tag__isnull
+ name: comments__isw
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: asset_tag__isw
+ name: comments__n
required: false
schema:
items:
@@ -53881,7 +49457,7 @@ paths:
style: form
- explode: true
in: query
- name: asset_tag__n
+ name: comments__nic
required: false
schema:
items:
@@ -53890,7 +49466,7 @@ paths:
style: form
- explode: true
in: query
- name: asset_tag__nic
+ name: comments__nie
required: false
schema:
items:
@@ -53899,7 +49475,7 @@ paths:
style: form
- explode: true
in: query
- name: asset_tag__nie
+ name: comments__niew
required: false
schema:
items:
@@ -53908,7 +49484,7 @@ paths:
style: form
- explode: true
in: query
- name: asset_tag__niew
+ name: comments__nire
required: false
schema:
items:
@@ -53917,7 +49493,7 @@ paths:
style: form
- explode: true
in: query
- name: asset_tag__nire
+ name: comments__nisw
required: false
schema:
items:
@@ -53926,7 +49502,7 @@ paths:
style: form
- explode: true
in: query
- name: asset_tag__nisw
+ name: comments__nre
required: false
schema:
items:
@@ -53935,7 +49511,7 @@ paths:
style: form
- explode: true
in: query
- name: asset_tag__nre
+ name: comments__re
required: false
schema:
items:
@@ -53944,33 +49520,32 @@ paths:
style: form
- explode: true
in: query
- name: asset_tag__re
+ name: compatible_with_module_bay
required: false
schema:
- items:
- type: string
- type: array
+ format: uuid
+ type: string
style: form
- explode: true
in: query
- name: console_ports
+ name: console_port_templates
required: false
schema:
items:
type: string
type: array
style: form
- - description: Console Ports (name or ID) is null
+ - description: Console port templates (name or ID) is null
explode: true
in: query
- name: console_ports__isnull
+ name: console_port_templates__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: console_ports__n
+ name: console_port_templates__n
required: false
schema:
items:
@@ -53979,24 +49554,24 @@ paths:
style: form
- explode: true
in: query
- name: console_server_ports
+ name: console_server_port_templates
required: false
schema:
items:
type: string
type: array
style: form
- - description: Console Server Ports (name or ID) is null
+ - description: Console server port templates (name or ID) is null
explode: true
in: query
- name: console_server_ports__isnull
+ name: console_server_port_templates__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: console_server_ports__n
+ name: console_server_port_templates__n
required: false
schema:
items:
@@ -54020,14 +49595,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -54098,7 +49673,7 @@ paths:
style: form
- explode: true
in: query
- name: device
+ name: dynamic_groups
required: false
schema:
items:
@@ -54107,104 +49682,87 @@ paths:
style: form
- explode: true
in: query
- name: dynamic_groups
+ name: dynamic_groups__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
- in: query
- name: dynamic_groups__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- explode: true
in: query
- name: front_ports
+ name: front_port_templates
required: false
schema:
items:
type: string
type: array
style: form
- - description: Front Ports (name or ID) is null
+ - description: Front port templates (name or ID) is null
explode: true
in: query
- name: front_ports__isnull
+ name: front_port_templates__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: front_ports__n
+ name: front_port_templates__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Has console ports
- explode: true
- in: query
- name: has_console_ports
- required: false
- schema:
- type: boolean
- style: form
- - description: Has console server ports
+ - description: Has console port templates
explode: true
in: query
- name: has_console_server_ports
+ name: has_console_port_templates
required: false
schema:
type: boolean
style: form
- - description: Has empty module bays
+ - description: Has console server port templates
explode: true
in: query
- name: has_empty_module_bays
+ name: has_console_server_port_templates
required: false
schema:
type: boolean
style: form
- - description: Has front ports
+ - description: Has front port templates
explode: true
in: query
- name: has_front_ports
+ name: has_front_port_templates
required: false
schema:
type: boolean
style: form
- - description: Has interfaces
+ - description: Has interface templates
explode: true
in: query
- name: has_interfaces
+ name: has_interface_templates
required: false
schema:
type: boolean
style: form
- - description: Has module bays
+ - description: Has module bay templates
explode: true
in: query
- name: has_module_bays
+ name: has_module_bay_templates
required: false
schema:
type: boolean
style: form
- - description: Has modules
+ - description: Has module instances
explode: true
in: query
name: has_modules
@@ -54212,26 +49770,26 @@ paths:
schema:
type: boolean
style: form
- - description: Has power outlets
+ - description: Has power outlet templates
explode: true
in: query
- name: has_power_outlets
+ name: has_power_outlet_templates
required: false
schema:
type: boolean
style: form
- - description: Has power ports
+ - description: Has power port templates
explode: true
in: query
- name: has_power_ports
+ name: has_power_port_templates
required: false
schema:
type: boolean
style: form
- - description: Has rear ports
+ - description: Has rear port templates
explode: true
in: query
- name: has_rear_ports
+ name: has_rear_port_templates
required: false
schema:
type: boolean
@@ -54250,7 +49808,7 @@ paths:
style: form
- explode: true
in: query
- name: id__ic
+ name: id__n
required: false
schema:
items:
@@ -54260,393 +49818,403 @@ paths:
style: form
- explode: true
in: query
- name: id__ie
+ name: interface_templates
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
+ - description: Interface templates (name or ID) is null
+ explode: true
+ in: query
+ name: interface_templates__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: id__iew
+ name: interface_templates__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: last_updated
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: last_updated__gt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__n
+ name: last_updated__gte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__nic
+ name: last_updated__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: last_updated__lt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: last_updated__lte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: last_updated__n
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
- explode: true
in: query
- name: id__nire
+ name: manufacturer
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nisw
+ name: manufacturer__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nre
+ name: model
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__re
+ name: model__ic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: interfaces
+ name: model__ie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Interfaces (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: interfaces__isnull
+ name: model__iew
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: interfaces__n
+ name: model__ire
required: false
schema:
items:
type: string
type: array
style: form
- - description: Is installed in a module bay
- explode: true
+ - explode: true
in: query
- name: is_installed
+ name: model__isw
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: last_updated
+ name: model__n
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__gt
+ name: model__nic
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__gte
+ name: model__nie
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__isnull
+ name: model__niew
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: last_updated__lt
+ name: model__nire
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__lte
+ name: model__nisw
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__n
+ name: model__nre
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - description: Number of results to return per page.
- explode: true
+ - explode: true
in: query
- name: limit
+ name: model__re
required: false
schema:
- type: integer
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: location
+ name: module_bay_templates
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- - description: Location (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: location__isnull
+ name: module_bay_templates__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: location__n
+ name: module_bay_templates__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- - description: MAC address
- explode: true
+ - explode: true
in: query
- name: mac_address
+ name: module_family
required: false
schema:
items:
type: string
type: array
style: form
- - description: MAC address contains
+ - description: Module family (name or ID) is null
explode: true
in: query
- name: mac_address__ic
+ name: module_family__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- - description: MAC address
- explode: true
+ - explode: true
in: query
- name: mac_address__ie
+ name: module_family__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: MAC address ends with
+ - description: The initial index from which to return the results.
explode: true
in: query
- name: mac_address__iew
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
+ - explode: true
+ in: query
+ name: part_number
required: false
schema:
items:
type: string
type: array
style: form
- - description: MAC address matches regex
- explode: true
+ - explode: true
in: query
- name: mac_address__ire
+ name: part_number__ic
required: false
schema:
items:
type: string
type: array
style: form
- - description: MAC address starts with
- explode: true
+ - explode: true
in: query
- name: mac_address__isw
+ name: part_number__ie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude MAC address
- explode: true
+ - explode: true
in: query
- name: mac_address__n
+ name: part_number__iew
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude MAC address contains
- explode: true
+ - explode: true
in: query
- name: mac_address__nic
+ name: part_number__ire
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude MAC address
- explode: true
+ - explode: true
in: query
- name: mac_address__nie
+ name: part_number__isw
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude MAC address ends with
- explode: true
+ - explode: true
in: query
- name: mac_address__niew
+ name: part_number__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude MAC address matches regex
- explode: true
+ - explode: true
in: query
- name: mac_address__nire
+ name: part_number__nic
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude MAC address starts with
- explode: true
+ - explode: true
in: query
- name: mac_address__nisw
+ name: part_number__nie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude MAC address matches regex
- explode: true
+ - explode: true
in: query
- name: mac_address__nre
+ name: part_number__niew
required: false
schema:
items:
type: string
type: array
style: form
- - description: MAC address matches regex
- explode: true
+ - explode: true
in: query
- name: mac_address__re
+ name: part_number__nire
required: false
schema:
items:
@@ -54655,7 +50223,7 @@ paths:
style: form
- explode: true
in: query
- name: manufacturer
+ name: part_number__nisw
required: false
schema:
items:
@@ -54664,46 +50232,7 @@ paths:
style: form
- explode: true
in: query
- name: manufacturer__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Module Bays
- explode: true
- in: query
- name: module_bays
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Module Bays is null
- explode: true
- in: query
- name: module_bays__isnull
- required: false
- schema:
- type: boolean
- style: form
- - description: Exclude Module Bays
- explode: true
- in: query
- name: module_bays__n
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: module_type
+ name: part_number__nre
required: false
schema:
items:
@@ -54712,71 +50241,33 @@ paths:
style: form
- explode: true
in: query
- name: module_type__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- - description: Parent Module Bay
- explode: true
- in: query
- name: parent_module_bay
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Parent Module Bay is null
- explode: true
- in: query
- name: parent_module_bay__isnull
- required: false
- schema:
- type: boolean
- style: form
- - description: Exclude Parent Module Bay
- explode: true
- in: query
- name: parent_module_bay__n
+ name: part_number__re
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: power_outlets
+ name: power_outlet_templates
required: false
schema:
items:
type: string
type: array
style: form
- - description: Power Outlets (name or ID) is null
+ - description: Power outlet templates (name or ID) is null
explode: true
in: query
- name: power_outlets__isnull
+ name: power_outlet_templates__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: power_outlets__n
+ name: power_outlet_templates__n
required: false
schema:
items:
@@ -54785,24 +50276,24 @@ paths:
style: form
- explode: true
in: query
- name: power_ports
+ name: power_port_templates
required: false
schema:
items:
type: string
type: array
style: form
- - description: Power Ports (name or ID) is null
+ - description: Power port templates (name or ID) is null
explode: true
in: query
- name: power_ports__isnull
+ name: power_port_templates__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: power_ports__n
+ name: power_port_templates__n
required: false
schema:
items:
@@ -54819,183 +50310,24 @@ paths:
style: form
- explode: true
in: query
- name: rear_ports
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Rear Ports (name or ID) is null
- explode: true
- in: query
- name: rear_ports__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: rear_ports__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: role
+ name: rear_port_templates
required: false
schema:
items:
type: string
type: array
style: form
- - description: Role (name or ID) is null
- explode: true
- in: query
- name: role__isnull
- required: false
- schema:
- type: boolean
- style: form
- - description: Exclude Role (name or ID)
+ - description: Rear port templates (name or ID) is null
explode: true
in: query
- name: role__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- - explode: true
- in: query
- name: serial
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: serial__ic
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: serial__ie
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: serial__iew
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: serial__ire
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: serial__isnull
+ name: rear_port_templates__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: serial__isw
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: serial__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: serial__nic
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: serial__nie
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: serial__niew
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: serial__nire
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: serial__nisw
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: serial__nre
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: serial__re
+ name: rear_port_templates__n
required: false
schema:
items:
@@ -55010,24 +50342,6 @@ paths:
schema:
type: string
style: form
- - explode: true
- in: query
- name: status
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Exclude Status (name or ID)
- explode: true
- in: query
- name: status__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
name: tags
@@ -55070,96 +50384,12 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
- in: query
- name: teams__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- - explode: true
- in: query
- name: tenant
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Tenant (name or ID) is null
- explode: true
- in: query
- name: tenant__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: tenant__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: tenant_group
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Tenant Group (name or ID) is null
- explode: true
- in: query
- name: tenant_group__isnull
- required: false
- schema:
- type: boolean
- style: form
- explode: true
in: query
- name: tenant_group__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead)"
- explode: true
- in: query
- name: tenant_id
- required: false
- schema:
- items:
- format: uuid
- nullable: true
- type: string
- type: array
- style: form
- - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead) is null"
- explode: true
- in: query
- name: tenant_id__isnull
- required: false
- schema:
- type: boolean
- style: form
- - description: "Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead)"
- explode: true
- in: query
- name: tenant_id__n
+ name: teams__n
required: false
schema:
items:
- format: uuid
- nullable: true
type: string
type: array
style: form
@@ -55174,15 +50404,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedModuleList'
+ $ref: "#/components/schemas/PaginatedModuleTypeList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedModuleList'
+ $ref: "#/components/schemas/PaginatedModuleTypeList"
description: ""
security:
- cookieAuth: []
@@ -55190,27 +50429,27 @@ paths:
tags:
- dcim
patch:
- description: Partial update a list of module objects.
- operationId: dcim_modules_bulk_partial_update
+ description: Partial update a list of module type objects.
+ operationId: dcim_module_types_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableModuleRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableModuleTypeRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableModuleRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableModuleTypeRequest"
type: array
required: true
responses:
@@ -55219,12 +50458,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Module'
+ $ref: "#/components/schemas/ModuleType"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Module'
+ $ref: "#/components/schemas/ModuleType"
type: array
description: ""
security:
@@ -55233,34 +50472,34 @@ paths:
tags:
- dcim
post:
- description: Create one or more module objects.
- operationId: dcim_modules_create
+ description: Create one or more module type objects.
+ operationId: dcim_module_types_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/ModuleRequest'
+ $ref: "#/components/schemas/ModuleTypeRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ModuleRequest'
+ $ref: "#/components/schemas/ModuleTypeRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Module'
+ $ref: "#/components/schemas/ModuleType"
text/csv:
schema:
- $ref: '#/components/schemas/Module'
+ $ref: "#/components/schemas/ModuleType"
description: ""
security:
- cookieAuth: []
@@ -55268,27 +50507,27 @@ paths:
tags:
- dcim
put:
- description: Update a list of module objects.
- operationId: dcim_modules_bulk_update
+ description: Update a list of module type objects.
+ operationId: dcim_module_types_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableModuleRequest'
+ $ref: "#/components/schemas/BulkWritableModuleTypeRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableModuleRequest'
+ $ref: "#/components/schemas/BulkWritableModuleTypeRequest"
type: array
required: true
responses:
@@ -55297,12 +50536,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Module'
+ $ref: "#/components/schemas/ModuleType"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Module'
+ $ref: "#/components/schemas/ModuleType"
type: array
description: ""
security:
@@ -55310,19 +50549,19 @@ paths:
- tokenAuth: []
tags:
- dcim
- /dcim/modules/{id}/:
+ /dcim/module-types/{id}/:
delete:
- description: Destroy a module object.
- operationId: dcim_modules_destroy
+ description: Destroy a module type object.
+ operationId: dcim_module_types_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this module.
+ - description: A UUID string identifying this module type.
explode: false
in: path
name: id
@@ -55340,17 +50579,17 @@ paths:
tags:
- dcim
get:
- description: Retrieve a module object.
- operationId: dcim_modules_retrieve
+ description: Retrieve a module type object.
+ operationId: dcim_module_types_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this module.
+ - description: A UUID string identifying this module type.
explode: false
in: path
name: id
@@ -55370,15 +50609,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Module'
+ $ref: "#/components/schemas/ModuleType"
text/csv:
schema:
- $ref: '#/components/schemas/Module'
+ $ref: "#/components/schemas/ModuleType"
description: ""
security:
- cookieAuth: []
@@ -55386,17 +50634,17 @@ paths:
tags:
- dcim
patch:
- description: Partial update a module object.
- operationId: dcim_modules_partial_update
+ description: Partial update a module type object.
+ operationId: dcim_module_types_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this module.
+ - description: A UUID string identifying this module type.
explode: false
in: path
name: id
@@ -55409,19 +50657,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedModuleRequest'
+ $ref: "#/components/schemas/PatchedModuleTypeRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedModuleRequest'
+ $ref: "#/components/schemas/PatchedModuleTypeRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Module'
+ $ref: "#/components/schemas/ModuleType"
text/csv:
schema:
- $ref: '#/components/schemas/Module'
+ $ref: "#/components/schemas/ModuleType"
description: ""
security:
- cookieAuth: []
@@ -55429,17 +50677,17 @@ paths:
tags:
- dcim
put:
- description: Update a module object.
- operationId: dcim_modules_update
+ description: Update a module type object.
+ operationId: dcim_module_types_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this module.
+ - description: A UUID string identifying this module type.
explode: false
in: path
name: id
@@ -55452,39 +50700,39 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ModuleRequest'
+ $ref: "#/components/schemas/ModuleTypeRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ModuleRequest'
+ $ref: "#/components/schemas/ModuleTypeRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Module'
+ $ref: "#/components/schemas/ModuleType"
text/csv:
schema:
- $ref: '#/components/schemas/Module'
+ $ref: "#/components/schemas/ModuleType"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- /dcim/modules/{id}/notes/:
+ /dcim/module-types/{id}/notes/:
get:
description: API methods for returning or creating notes on an object.
- operationId: dcim_modules_notes_list
+ operationId: dcim_module_types_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this module.
+ - description: A UUID string identifying this module type.
explode: false
in: path
name: id
@@ -55520,15 +50768,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -55537,16 +50794,16 @@ paths:
- dcim
post:
description: API methods for returning or creating notes on an object.
- operationId: dcim_modules_notes_create
+ operationId: dcim_module_types_notes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this module.
+ - description: A UUID string identifying this module type.
explode: false
in: path
name: id
@@ -55559,49 +50816,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- /dcim/platforms/:
+ /dcim/modules/:
delete:
- description: Destroy a list of platform objects.
- operationId: dcim_platforms_bulk_destroy
+ description: Destroy a list of module objects.
+ operationId: dcim_modules_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -55613,105 +50870,109 @@ paths:
tags:
- dcim
get:
- description: Retrieve a list of platform objects.
- operationId: dcim_platforms_list
+ description: Retrieve a list of module objects.
+ operationId: dcim_modules_list
parameters:
- explode: true
in: query
- name: contacts
+ name: asset_tag
required: false
schema:
items:
type: string
type: array
style: form
- - description: Contacts (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: contacts__isnull
+ name: asset_tag__ic
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
- name: contacts__n
+ name: asset_tag__ie
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: created
+ name: asset_tag__iew
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__gt
+ name: asset_tag__ire
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__gte
+ name: asset_tag__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: asset_tag__isw
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__isnull
+ name: asset_tag__n
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: created__lt
+ name: asset_tag__nic
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__lte
+ name: asset_tag__nie
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__n
+ name: asset_tag__niew
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: description
+ name: asset_tag__nire
required: false
schema:
items:
@@ -55720,7 +50981,7 @@ paths:
style: form
- explode: true
in: query
- name: description__ic
+ name: asset_tag__nisw
required: false
schema:
items:
@@ -55729,7 +50990,7 @@ paths:
style: form
- explode: true
in: query
- name: description__ie
+ name: asset_tag__nre
required: false
schema:
items:
@@ -55738,7 +50999,7 @@ paths:
style: form
- explode: true
in: query
- name: description__iew
+ name: asset_tag__re
required: false
schema:
items:
@@ -55747,16 +51008,32 @@ paths:
style: form
- explode: true
in: query
- name: description__ire
+ name: compatible_with_module_bay
+ required: false
+ schema:
+ format: uuid
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: console_ports
required: false
schema:
items:
type: string
type: array
style: form
+ - description: Console Ports (name or ID) is null
+ explode: true
+ in: query
+ name: console_ports__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: description__isw
+ name: console_ports__n
required: false
schema:
items:
@@ -55765,16 +51042,24 @@ paths:
style: form
- explode: true
in: query
- name: description__n
+ name: console_server_ports
required: false
schema:
items:
type: string
type: array
style: form
+ - description: Console Server Ports (name or ID) is null
+ explode: true
+ in: query
+ name: console_server_ports__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: description__nic
+ name: console_server_ports__n
required: false
schema:
items:
@@ -55783,16 +51068,24 @@ paths:
style: form
- explode: true
in: query
- name: description__nie
+ name: contacts
required: false
schema:
items:
type: string
type: array
style: form
+ - description: Contacts (name or ID) is null
+ explode: true
+ in: query
+ name: contacts__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: description__niew
+ name: contacts__n
required: false
schema:
items:
@@ -55801,64 +51094,77 @@ paths:
style: form
- explode: true
in: query
- name: description__nire
+ name: created
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: description__nisw
+ name: created__gt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: description__nre
+ name: created__gte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: description__re
+ name: created__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: created__lt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: devices
+ name: created__lte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: devices__isnull
+ name: created__n
required: false
schema:
- type: boolean
+ items:
+ format: date-time
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: devices__n
+ name: device
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
@@ -55871,143 +51177,133 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: Has devices
- explode: true
+ - explode: true
in: query
- name: has_devices
+ name: front_ports
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- - description: Has virtual machines
+ - description: Front Ports (name or ID) is null
explode: true
in: query
- name: has_virtual_machines
+ name: front_ports__isnull
required: false
schema:
type: boolean
style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
- explode: true
+ - explode: true
in: query
- name: id
+ name: front_ports__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Has console ports
+ explode: true
in: query
- name: id__ic
+ name: has_console_ports
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: Has console server ports
+ explode: true
in: query
- name: id__ie
+ name: has_console_server_ports
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: Has empty module bays
+ explode: true
in: query
- name: id__iew
+ name: has_empty_module_bays
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: Has front ports
+ explode: true
in: query
- name: id__ire
+ name: has_front_ports
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: Has interfaces
+ explode: true
+ in: query
+ name: has_interfaces
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - description: Has module bays
+ explode: true
in: query
- name: id__isw
+ name: has_module_bays
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: Has modules
+ explode: true
in: query
- name: id__n
+ name: has_modules
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: Has power outlets
+ explode: true
in: query
- name: id__nic
+ name: has_power_outlets
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: Has power ports
+ explode: true
in: query
- name: id__nie
+ name: has_power_ports
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: Has rear ports
+ explode: true
in: query
- name: id__niew
+ name: has_rear_ports
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
in: query
- name: id__nire
+ name: id
required: false
schema:
items:
@@ -56017,7 +51313,7 @@ paths:
style: form
- explode: true
in: query
- name: id__nisw
+ name: id__n
required: false
schema:
items:
@@ -56027,24 +51323,38 @@ paths:
style: form
- explode: true
in: query
- name: id__nre
+ name: interfaces
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
+ - description: Interfaces (name or ID) is null
+ explode: true
+ in: query
+ name: interfaces__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: id__re
+ name: interfaces__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
+ - description: Is installed in a module bay
+ explode: true
+ in: query
+ name: is_installed
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
name: last_updated
@@ -56122,150 +51432,164 @@ paths:
style: form
- explode: true
in: query
- name: manufacturer
+ name: location
required: false
schema:
items:
type: string
type: array
style: form
- - description: Manufacturer (name or ID) is null
+ - description: Location (name or ID) is null
explode: true
in: query
- name: manufacturer__isnull
+ name: location__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: manufacturer__n
+ name: location__n
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: MAC address
+ explode: true
in: query
- name: name
+ name: mac_address
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: MAC address contains
+ explode: true
in: query
- name: name__ic
+ name: mac_address__ic
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: MAC address
+ explode: true
in: query
- name: name__ie
+ name: mac_address__ie
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: MAC address ends with
+ explode: true
in: query
- name: name__iew
+ name: mac_address__iew
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: MAC address matches regex
+ explode: true
in: query
- name: name__ire
+ name: mac_address__ire
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: MAC address starts with
+ explode: true
in: query
- name: name__isw
+ name: mac_address__isw
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Exclude MAC address
+ explode: true
in: query
- name: name__n
+ name: mac_address__n
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Exclude MAC address contains
+ explode: true
in: query
- name: name__nic
+ name: mac_address__nic
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Exclude MAC address
+ explode: true
in: query
- name: name__nie
+ name: mac_address__nie
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Exclude MAC address ends with
+ explode: true
in: query
- name: name__niew
+ name: mac_address__niew
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Exclude MAC address matches regex
+ explode: true
in: query
- name: name__nire
+ name: mac_address__nire
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Exclude MAC address starts with
+ explode: true
in: query
- name: name__nisw
+ name: mac_address__nisw
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Exclude MAC address matches regex
+ explode: true
in: query
- name: name__nre
+ name: mac_address__nre
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: MAC address matches regex
+ explode: true
in: query
- name: name__re
+ name: mac_address__re
required: false
schema:
items:
@@ -56274,7 +51598,7 @@ paths:
style: form
- explode: true
in: query
- name: napalm_args
+ name: manufacturer
required: false
schema:
items:
@@ -56283,43 +51607,63 @@ paths:
style: form
- explode: true
in: query
- name: napalm_driver
+ name: manufacturer__n
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Module Bays
+ explode: true
in: query
- name: napalm_driver__ic
+ name: module_bays
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Module Bays is null
+ explode: true
in: query
- name: napalm_driver__ie
+ name: module_bays__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - description: Exclude Module Bays
+ explode: true
+ in: query
+ name: module_bays__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: napalm_driver__iew
+ name: module_family
required: false
schema:
items:
type: string
type: array
style: form
+ - description: Module family (name or ID) is null
+ explode: true
+ in: query
+ name: module_family__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: napalm_driver__ire
+ name: module_family__n
required: false
schema:
items:
@@ -56328,7 +51672,7 @@ paths:
style: form
- explode: true
in: query
- name: napalm_driver__isw
+ name: module_type
required: false
schema:
items:
@@ -56337,34 +51681,71 @@ paths:
style: form
- explode: true
in: query
- name: napalm_driver__n
+ name: module_type__n
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: The initial index from which to return the results.
+ explode: true
in: query
- name: napalm_driver__nic
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: Parent Module Bay
+ explode: true
+ in: query
+ name: parent_module_bay
+ required: false
+ schema:
+ items:
+ format: uuid
+ type: string
+ type: array
+ style: form
+ - description: Parent Module Bay is null
+ explode: true
+ in: query
+ name: parent_module_bay__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - description: Exclude Parent Module Bay
+ explode: true
+ in: query
+ name: parent_module_bay__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: napalm_driver__nie
+ name: power_outlets
required: false
schema:
items:
type: string
type: array
style: form
+ - description: Power Outlets (name or ID) is null
+ explode: true
+ in: query
+ name: power_outlets__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: napalm_driver__niew
+ name: power_outlets__n
required: false
schema:
items:
@@ -56373,34 +51754,58 @@ paths:
style: form
- explode: true
in: query
- name: napalm_driver__nire
+ name: power_ports
required: false
schema:
items:
type: string
type: array
style: form
+ - description: Power Ports (name or ID) is null
+ explode: true
+ in: query
+ name: power_ports__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: napalm_driver__nisw
+ name: power_ports__n
required: false
schema:
items:
type: string
type: array
style: form
+ - description: Search
+ explode: true
+ in: query
+ name: q
+ required: false
+ schema:
+ type: string
+ style: form
- explode: true
in: query
- name: napalm_driver__nre
+ name: rear_ports
required: false
schema:
items:
type: string
type: array
style: form
+ - description: Rear Ports (name or ID) is null
+ explode: true
+ in: query
+ name: rear_ports__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: napalm_driver__re
+ name: rear_ports__n
required: false
schema:
items:
@@ -56409,16 +51814,24 @@ paths:
style: form
- explode: true
in: query
- name: network_driver
+ name: role
required: false
schema:
items:
type: string
type: array
style: form
+ - description: Role (name or ID) is null
+ explode: true
+ in: query
+ name: role__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: network_driver__ic
+ name: role__n
required: false
schema:
items:
@@ -56427,7 +51840,7 @@ paths:
style: form
- explode: true
in: query
- name: network_driver__ie
+ name: serial
required: false
schema:
items:
@@ -56436,7 +51849,7 @@ paths:
style: form
- explode: true
in: query
- name: network_driver__iew
+ name: serial__ic
required: false
schema:
items:
@@ -56445,7 +51858,7 @@ paths:
style: form
- explode: true
in: query
- name: network_driver__ire
+ name: serial__ie
required: false
schema:
items:
@@ -56454,7 +51867,7 @@ paths:
style: form
- explode: true
in: query
- name: network_driver__isw
+ name: serial__iew
required: false
schema:
items:
@@ -56463,7 +51876,7 @@ paths:
style: form
- explode: true
in: query
- name: network_driver__n
+ name: serial__ire
required: false
schema:
items:
@@ -56472,7 +51885,14 @@ paths:
style: form
- explode: true
in: query
- name: network_driver__nic
+ name: serial__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: serial__isw
required: false
schema:
items:
@@ -56481,7 +51901,7 @@ paths:
style: form
- explode: true
in: query
- name: network_driver__nie
+ name: serial__n
required: false
schema:
items:
@@ -56490,7 +51910,7 @@ paths:
style: form
- explode: true
in: query
- name: network_driver__niew
+ name: serial__nic
required: false
schema:
items:
@@ -56499,7 +51919,7 @@ paths:
style: form
- explode: true
in: query
- name: network_driver__nire
+ name: serial__nie
required: false
schema:
items:
@@ -56508,7 +51928,7 @@ paths:
style: form
- explode: true
in: query
- name: network_driver__nisw
+ name: serial__niew
required: false
schema:
items:
@@ -56517,7 +51937,7 @@ paths:
style: form
- explode: true
in: query
- name: network_driver__nre
+ name: serial__nire
required: false
schema:
items:
@@ -56526,28 +51946,30 @@ paths:
style: form
- explode: true
in: query
- name: network_driver__re
+ name: serial__nisw
required: false
schema:
items:
type: string
type: array
style: form
- - description: The initial index from which to return the results.
- explode: true
+ - explode: true
in: query
- name: offset
+ name: serial__nre
required: false
schema:
- type: integer
+ items:
+ type: string
+ type: array
style: form
- - description: Search
- explode: true
+ - explode: true
in: query
- name: q
+ name: serial__re
required: false
schema:
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Which field to use when ordering the results.
explode: true
@@ -56559,77 +51981,186 @@ paths:
style: form
- explode: true
in: query
- name: teams
+ name: status
required: false
schema:
items:
type: string
type: array
style: form
- - description: Teams (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: teams__isnull
+ name: status__n
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
- name: teams__n
+ name: tags
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: virtual_machines
+ name: tags__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: tags__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: virtual_machines__isnull
+ name: teams
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Teams (name or ID) is null
+ explode: true
+ in: query
+ name: teams__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: virtual_machines__n
+ name: teams__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - description: Serializer Depth
- explode: true
+ - explode: true
in: query
- name: depth
+ name: tenant
required: false
schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
- style: form
- responses:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Tenant (name or ID) is null
+ explode: true
+ in: query
+ name: tenant__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: tenant__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: tenant_group
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Tenant Group (name or ID) is null
+ explode: true
+ in: query
+ name: tenant_group__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: tenant_group__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead)"
+ explode: true
+ in: query
+ name: tenant_id
+ required: false
+ schema:
+ items:
+ format: uuid
+ nullable: true
+ type: string
+ type: array
+ style: form
+ - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead) is null"
+ explode: true
+ in: query
+ name: tenant_id__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - description: "Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead)"
+ explode: true
+ in: query
+ name: tenant_id__n
+ required: false
+ schema:
+ items:
+ format: uuid
+ nullable: true
+ type: string
+ type: array
+ style: form
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedPlatformList'
+ $ref: "#/components/schemas/PaginatedModuleList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedPlatformList'
+ $ref: "#/components/schemas/PaginatedModuleList"
description: ""
security:
- cookieAuth: []
@@ -56637,27 +52168,27 @@ paths:
tags:
- dcim
patch:
- description: Partial update a list of platform objects.
- operationId: dcim_platforms_bulk_partial_update
+ description: Partial update a list of module objects.
+ operationId: dcim_modules_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritablePlatformRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableModuleRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritablePlatformRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableModuleRequest"
type: array
required: true
responses:
@@ -56666,12 +52197,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Platform'
+ $ref: "#/components/schemas/Module"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Platform'
+ $ref: "#/components/schemas/Module"
type: array
description: ""
security:
@@ -56680,34 +52211,34 @@ paths:
tags:
- dcim
post:
- description: Create one or more platform objects.
- operationId: dcim_platforms_create
+ description: Create one or more module objects.
+ operationId: dcim_modules_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/PlatformRequest'
+ $ref: "#/components/schemas/ModuleRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PlatformRequest'
+ $ref: "#/components/schemas/ModuleRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Platform'
+ $ref: "#/components/schemas/Module"
text/csv:
schema:
- $ref: '#/components/schemas/Platform'
+ $ref: "#/components/schemas/Module"
description: ""
security:
- cookieAuth: []
@@ -56715,27 +52246,27 @@ paths:
tags:
- dcim
put:
- description: Update a list of platform objects.
- operationId: dcim_platforms_bulk_update
+ description: Update a list of module objects.
+ operationId: dcim_modules_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritablePlatformRequest'
+ $ref: "#/components/schemas/BulkWritableModuleRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritablePlatformRequest'
+ $ref: "#/components/schemas/BulkWritableModuleRequest"
type: array
required: true
responses:
@@ -56744,12 +52275,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Platform'
+ $ref: "#/components/schemas/Module"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Platform'
+ $ref: "#/components/schemas/Module"
type: array
description: ""
security:
@@ -56757,19 +52288,19 @@ paths:
- tokenAuth: []
tags:
- dcim
- /dcim/platforms/{id}/:
+ /dcim/modules/{id}/:
delete:
- description: Destroy a platform object.
- operationId: dcim_platforms_destroy
+ description: Destroy a module object.
+ operationId: dcim_modules_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this platform.
+ - description: A UUID string identifying this module.
explode: false
in: path
name: id
@@ -56787,17 +52318,17 @@ paths:
tags:
- dcim
get:
- description: Retrieve a platform object.
- operationId: dcim_platforms_retrieve
+ description: Retrieve a module object.
+ operationId: dcim_modules_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this platform.
+ - description: A UUID string identifying this module.
explode: false
in: path
name: id
@@ -56817,15 +52348,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Platform'
+ $ref: "#/components/schemas/Module"
text/csv:
schema:
- $ref: '#/components/schemas/Platform'
+ $ref: "#/components/schemas/Module"
description: ""
security:
- cookieAuth: []
@@ -56833,17 +52373,17 @@ paths:
tags:
- dcim
patch:
- description: Partial update a platform object.
- operationId: dcim_platforms_partial_update
+ description: Partial update a module object.
+ operationId: dcim_modules_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this platform.
+ - description: A UUID string identifying this module.
explode: false
in: path
name: id
@@ -56856,19 +52396,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedPlatformRequest'
+ $ref: "#/components/schemas/PatchedModuleRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedPlatformRequest'
+ $ref: "#/components/schemas/PatchedModuleRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Platform'
+ $ref: "#/components/schemas/Module"
text/csv:
schema:
- $ref: '#/components/schemas/Platform'
+ $ref: "#/components/schemas/Module"
description: ""
security:
- cookieAuth: []
@@ -56876,17 +52416,17 @@ paths:
tags:
- dcim
put:
- description: Update a platform object.
- operationId: dcim_platforms_update
+ description: Update a module object.
+ operationId: dcim_modules_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this platform.
+ - description: A UUID string identifying this module.
explode: false
in: path
name: id
@@ -56899,39 +52439,39 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PlatformRequest'
+ $ref: "#/components/schemas/ModuleRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PlatformRequest'
+ $ref: "#/components/schemas/ModuleRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Platform'
+ $ref: "#/components/schemas/Module"
text/csv:
schema:
- $ref: '#/components/schemas/Platform'
+ $ref: "#/components/schemas/Module"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- /dcim/platforms/{id}/notes/:
+ /dcim/modules/{id}/notes/:
get:
description: API methods for returning or creating notes on an object.
- operationId: dcim_platforms_notes_list
+ operationId: dcim_modules_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this platform.
+ - description: A UUID string identifying this module.
explode: false
in: path
name: id
@@ -56967,15 +52507,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -56984,16 +52533,16 @@ paths:
- dcim
post:
description: API methods for returning or creating notes on an object.
- operationId: dcim_platforms_notes_create
+ operationId: dcim_modules_notes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this platform.
+ - description: A UUID string identifying this module.
explode: false
in: path
name: id
@@ -57006,264 +52555,204 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- /dcim/power-connections/:
- get:
- description: Retrieve a list of power port objects.
- operationId: dcim_power_connections_list
+ /dcim/platforms/:
+ delete:
+ description: Destroy a list of platform objects.
+ operationId: dcim_platforms_bulk_destroy
parameters:
- explode: true
in: query
- name: contacts
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Contacts (name or ID) is null
- explode: true
- in: query
- name: contacts__isnull
- required: false
- schema:
- type: boolean
- style: form
- - description: Exclude Contacts (name or ID)
- explode: true
- in: query
- name: contacts__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- - description: Device (name)
- explode: true
- in: query
- name: device
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Device (ID)
- explode: true
- in: query
- name: device_id
+ name: format
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ required: true
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ get:
+ description: Retrieve a list of platform objects.
+ operationId: dcim_platforms_list
+ parameters:
- explode: true
in: query
- name: dynamic_groups
+ name: contacts
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
- in: query
- name: dynamic_groups__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
+ - description: Contacts (name or ID) is null
explode: true
in: query
- name: id
+ name: contacts__isnull
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: id__ic
+ name: contacts__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ie
+ name: created
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: created__gt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: created__gte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: created__isnull
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: id__n
+ name: created__lt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__nic
+ name: created__lte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: created__n
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: description
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nire
+ name: description__ic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nisw
+ name: description__ie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nre
+ name: description__iew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__re
+ name: description__ire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- - description: Location (name)
- explode: true
- in: query
- name: location
- required: false
- schema:
- type: string
- style: form
- explode: true
in: query
- name: name
+ name: description__isw
required: false
schema:
items:
@@ -57272,7 +52761,7 @@ paths:
style: form
- explode: true
in: query
- name: name__ic
+ name: description__n
required: false
schema:
items:
@@ -57281,7 +52770,7 @@ paths:
style: form
- explode: true
in: query
- name: name__ie
+ name: description__nic
required: false
schema:
items:
@@ -57290,7 +52779,7 @@ paths:
style: form
- explode: true
in: query
- name: name__iew
+ name: description__nie
required: false
schema:
items:
@@ -57299,7 +52788,7 @@ paths:
style: form
- explode: true
in: query
- name: name__ire
+ name: description__niew
required: false
schema:
items:
@@ -57308,7 +52797,7 @@ paths:
style: form
- explode: true
in: query
- name: name__isw
+ name: description__nire
required: false
schema:
items:
@@ -57317,7 +52806,7 @@ paths:
style: form
- explode: true
in: query
- name: name__n
+ name: description__nisw
required: false
schema:
items:
@@ -57326,7 +52815,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nic
+ name: description__nre
required: false
schema:
items:
@@ -57335,7 +52824,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nie
+ name: description__re
required: false
schema:
items:
@@ -57344,34 +52833,34 @@ paths:
style: form
- explode: true
in: query
- name: name__niew
+ name: devices
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: name__nire
+ name: devices__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: name__nisw
+ name: devices__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: name__nre
+ name: dynamic_groups
required: false
schema:
items:
@@ -57380,258 +52869,153 @@ paths:
style: form
- explode: true
in: query
- name: name__re
+ name: dynamic_groups__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- - description: Which field to use when ordering the results.
- explode: true
- in: query
- name: sort
- required: false
- schema:
- type: string
- style: form
- explode: true
in: query
- name: teams
+ name: format
required: false
schema:
- items:
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: Teams (name or ID) is null
+ - description: Has devices
explode: true
in: query
- name: teams__isnull
+ name: has_devices
required: false
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
+ - description: Has virtual machines
explode: true
in: query
- name: teams__n
+ name: has_virtual_machines
required: false
schema:
- format: uuid
- type: string
+ type: boolean
style: form
- - description: Serializer Depth
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
explode: true
in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
- style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedPowerPortList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedPowerPortList'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- /dcim/power-feeds/:
- delete:
- description: Destroy a list of power feed objects.
- operationId: dcim_power_feeds_bulk_destroy
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- requestBody:
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/BulkOperationRequest'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/BulkOperationRequest'
- type: array
- required: true
- responses:
- "204":
- description: No response body
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- get:
- description: Retrieve a list of power feed objects.
- operationId: dcim_power_feeds_list
- parameters:
- - explode: true
- in: query
- name: amperage
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: amperage__gt
+ name: id
required: false
schema:
items:
- type: integer
+ format: uuid
+ type: string
type: array
style: form
- explode: true
in: query
- name: amperage__gte
+ name: id__n
required: false
schema:
items:
- type: integer
+ format: uuid
+ type: string
type: array
style: form
- explode: true
in: query
- name: amperage__lt
+ name: last_updated
required: false
schema:
items:
- type: integer
+ format: date-time
+ type: string
type: array
style: form
- explode: true
in: query
- name: amperage__lte
+ name: last_updated__gt
required: false
schema:
items:
- type: integer
+ format: date-time
+ type: string
type: array
style: form
- explode: true
in: query
- name: amperage__n
+ name: last_updated__gte
required: false
schema:
items:
- type: integer
+ format: date-time
+ type: string
type: array
style: form
- explode: true
in: query
- name: available_power
+ name: last_updated__isnull
required: false
schema:
- items:
- type: integer
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: available_power__gt
+ name: last_updated__lt
required: false
schema:
items:
- type: integer
+ format: date-time
+ type: string
type: array
style: form
- explode: true
in: query
- name: available_power__gte
+ name: last_updated__lte
required: false
schema:
items:
- type: integer
+ format: date-time
+ type: string
type: array
style: form
- explode: true
in: query
- name: available_power__lt
+ name: last_updated__n
required: false
schema:
items:
- type: integer
+ format: date-time
+ type: string
type: array
style: form
- - explode: true
+ - description: Number of results to return per page.
+ explode: true
in: query
- name: available_power__lte
+ name: limit
required: false
schema:
- items:
- type: integer
- type: array
+ type: integer
style: form
- explode: true
in: query
- name: available_power__n
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - description: Cable
- explode: true
- in: query
- name: cable
+ name: manufacturer
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
- in: query
- name: cable__isnull
- required: false
- schema:
- type: boolean
- style: form
- - description: Cable
+ - description: Manufacturer (name or ID) is null
explode: true
in: query
- name: cable__n
+ name: manufacturer__isnull
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: comments
+ name: manufacturer__n
required: false
schema:
items:
@@ -57640,7 +53024,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__ic
+ name: name
required: false
schema:
items:
@@ -57649,7 +53033,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__ie
+ name: name__ic
required: false
schema:
items:
@@ -57658,7 +53042,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__iew
+ name: name__ie
required: false
schema:
items:
@@ -57667,7 +53051,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__ire
+ name: name__iew
required: false
schema:
items:
@@ -57676,7 +53060,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__isw
+ name: name__ire
required: false
schema:
items:
@@ -57685,7 +53069,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__n
+ name: name__isw
required: false
schema:
items:
@@ -57694,7 +53078,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__nic
+ name: name__n
required: false
schema:
items:
@@ -57703,7 +53087,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__nie
+ name: name__nic
required: false
schema:
items:
@@ -57712,7 +53096,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__niew
+ name: name__nie
required: false
schema:
items:
@@ -57721,7 +53105,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__nire
+ name: name__niew
required: false
schema:
items:
@@ -57730,7 +53114,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__nisw
+ name: name__nire
required: false
schema:
items:
@@ -57739,7 +53123,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__nre
+ name: name__nisw
required: false
schema:
items:
@@ -57748,367 +53132,268 @@ paths:
style: form
- explode: true
in: query
- name: comments__re
+ name: name__nre
required: false
schema:
items:
type: string
type: array
style: form
- - description: Connected status (bool)
- explode: true
- in: query
- name: connected
- required: false
- schema:
- type: boolean
- style: form
- explode: true
in: query
- name: contacts
+ name: name__re
required: false
schema:
items:
type: string
type: array
style: form
- - description: Contacts (name or ID) is null
- explode: true
- in: query
- name: contacts__isnull
- required: false
- schema:
- type: boolean
- style: form
- - description: Exclude Contacts (name or ID)
- explode: true
- in: query
- name: contacts__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
- name: created
+ name: napalm_args
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__gt
+ name: napalm_driver
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__gte
+ name: napalm_driver__ic
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: created__lt
+ name: napalm_driver__ie
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__lte
+ name: napalm_driver__iew
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__n
+ name: napalm_driver__ire
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: dynamic_groups
+ name: napalm_driver__isw
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
- in: query
- name: dynamic_groups__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: Has cable
- explode: true
- in: query
- name: has_cable
- required: false
- schema:
- type: boolean
- style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
- explode: true
- in: query
- name: id
+ name: napalm_driver__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ic
+ name: napalm_driver__nic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ie
+ name: napalm_driver__nie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: napalm_driver__niew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: napalm_driver__nire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: napalm_driver__nisw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__n
+ name: napalm_driver__nre
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nic
+ name: napalm_driver__re
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: network_driver
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: network_driver__ic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nire
+ name: network_driver__ie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nisw
+ name: network_driver__iew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nre
+ name: network_driver__ire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__re
+ name: network_driver__isw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated
+ name: network_driver__n
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__gt
+ name: network_driver__nic
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__gte
+ name: network_driver__nie
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: last_updated__lt
+ name: network_driver__niew
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__lte
+ name: network_driver__nire
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__n
+ name: network_driver__nisw
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- explode: true
in: query
- name: location
+ name: network_driver__nre
required: false
schema:
items:
@@ -58117,88 +53402,57 @@ paths:
style: form
- explode: true
in: query
- name: location__n
+ name: network_driver__re
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
- in: query
- name: max_utilization
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: max_utilization__gt
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: max_utilization__gte
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
+ - description: The initial index from which to return the results.
+ explode: true
in: query
- name: max_utilization__lt
+ name: offset
required: false
schema:
- items:
- type: integer
- type: array
+ type: integer
style: form
- - explode: true
+ - description: Search
+ explode: true
in: query
- name: max_utilization__lte
+ name: q
required: false
schema:
- items:
- type: integer
- type: array
+ type: string
style: form
- - explode: true
+ - description: Which field to use when ordering the results.
+ explode: true
in: query
- name: max_utilization__n
+ name: sort
required: false
schema:
- items:
- type: integer
- type: array
+ type: string
style: form
- explode: true
in: query
- name: name
+ name: teams
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Teams (name or ID) is null
+ explode: true
in: query
- name: name__ic
+ name: teams__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: name__ie
+ name: teams__n
required: false
schema:
items:
@@ -58207,327 +53461,592 @@ paths:
style: form
- explode: true
in: query
- name: name__iew
+ name: virtual_machines
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: name__ire
+ name: virtual_machines__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: name__isw
+ name: virtual_machines__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Serializer Depth
+ explode: true
in: query
- name: name__n
+ name: depth
required: false
schema:
- items:
- type: string
- type: array
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
style: form
- - explode: true
+ - description: Exclude many-to-many fields from the response
+ explode: true
in: query
- name: name__nic
+ name: exclude_m2m
required: false
schema:
- items:
- type: string
- type: array
+ default: false
+ type: boolean
style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedPlatformList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedPlatformList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ patch:
+ description: Partial update a list of platform objects.
+ operationId: dcim_platforms_bulk_partial_update
+ parameters:
- explode: true
in: query
- name: name__nie
+ name: format
required: false
schema:
- items:
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritablePlatformRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritablePlatformRequest"
+ type: array
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/Platform"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/Platform"
+ type: array
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ post:
+ description: Create one or more platform objects.
+ operationId: dcim_platforms_create
+ parameters:
- explode: true
in: query
- name: name__niew
+ name: format
required: false
schema:
- items:
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PlatformRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PlatformRequest"
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Platform"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/Platform"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ put:
+ description: Update a list of platform objects.
+ operationId: dcim_platforms_bulk_update
+ parameters:
- explode: true
in: query
- name: name__nire
+ name: format
required: false
schema:
- items:
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritablePlatformRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritablePlatformRequest"
+ type: array
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/Platform"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/Platform"
+ type: array
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ /dcim/platforms/{id}/:
+ delete:
+ description: Destroy a platform object.
+ operationId: dcim_platforms_destroy
+ parameters:
- explode: true
in: query
- name: name__nisw
+ name: format
required: false
schema:
- items:
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - explode: true
- in: query
- name: name__nre
- required: false
+ - description: A UUID string identifying this platform.
+ explode: false
+ in: path
+ name: id
+ required: true
schema:
- items:
- type: string
- type: array
- style: form
+ format: uuid
+ type: string
+ style: simple
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ get:
+ description: Retrieve a platform object.
+ operationId: dcim_platforms_retrieve
+ parameters:
- explode: true
in: query
- name: name__re
+ name: format
required: false
schema:
- items:
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: The initial index from which to return the results.
+ - description: A UUID string identifying this platform.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Serializer Depth
explode: true
in: query
- name: offset
+ name: depth
required: false
schema:
+ default: 1
+ maximum: 10
+ minimum: 0
type: integer
style: form
- - explode: true
- in: query
- name: phase
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
+ - description: Exclude many-to-many fields from the response
+ explode: true
in: query
- name: phase__ic
+ name: exclude_m2m
required: false
schema:
- items:
- type: string
- type: array
+ default: false
+ type: boolean
style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Platform"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/Platform"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ patch:
+ description: Partial update a platform object.
+ operationId: dcim_platforms_partial_update
+ parameters:
- explode: true
in: query
- name: phase__ie
+ name: format
required: false
schema:
- items:
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - explode: true
- in: query
- name: phase__iew
- required: false
+ - description: A UUID string identifying this platform.
+ explode: false
+ in: path
+ name: id
+ required: true
schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PatchedPlatformRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PatchedPlatformRequest"
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Platform"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/Platform"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ put:
+ description: Update a platform object.
+ operationId: dcim_platforms_update
+ parameters:
+ - explode: true
in: query
- name: phase__ire
+ name: format
required: false
schema:
- items:
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ - description: A UUID string identifying this platform.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PlatformRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PlatformRequest"
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Platform"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/Platform"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ /dcim/platforms/{id}/notes/:
+ get:
+ description: API methods for returning or creating notes on an object.
+ operationId: dcim_platforms_notes_list
+ parameters:
- explode: true
in: query
- name: phase__isw
+ name: format
required: false
schema:
- items:
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - explode: true
+ - description: A UUID string identifying this platform.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Number of results to return per page.
+ explode: true
in: query
- name: phase__n
+ name: limit
required: false
schema:
- items:
- type: string
- type: array
+ type: integer
style: form
- - explode: true
+ - description: The initial index from which to return the results.
+ explode: true
in: query
- name: phase__nic
+ name: offset
required: false
schema:
- items:
- type: string
- type: array
+ type: integer
style: form
- - explode: true
+ - description: Serializer Depth
+ explode: true
in: query
- name: phase__nie
+ name: depth
required: false
schema:
- items:
- type: string
- type: array
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
style: form
- - explode: true
+ - description: Exclude many-to-many fields from the response
+ explode: true
in: query
- name: phase__niew
+ name: exclude_m2m
required: false
schema:
- items:
- type: string
- type: array
+ default: false
+ type: boolean
style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ post:
+ description: API methods for returning or creating notes on an object.
+ operationId: dcim_platforms_notes_create
+ parameters:
- explode: true
in: query
- name: phase__nire
+ name: format
required: false
schema:
- items:
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ - description: A UUID string identifying this platform.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Note"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/Note"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ /dcim/power-connections/:
+ get:
+ description: Retrieve a list of power port objects.
+ operationId: dcim_power_connections_list
+ parameters:
- explode: true
in: query
- name: phase__nisw
+ name: contacts
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Contacts (name or ID) is null
+ explode: true
in: query
- name: phase__nre
+ name: contacts__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: phase__re
+ name: contacts__n
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Device (name)
+ explode: true
in: query
- name: power_panel
+ name: device
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Device (ID)
+ explode: true
in: query
- name: power_panel__n
+ name: device_id
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- - description: Search
- explode: true
+ - explode: true
in: query
- name: q
+ name: dynamic_groups
required: false
schema:
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: rack
+ name: dynamic_groups__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Rack (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: rack__isnull
+ name: format
required: false
schema:
- type: boolean
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - explode: true
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
in: query
- name: rack__n
+ name: id
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- - description: Which field to use when ordering the results.
- explode: true
- in: query
- name: sort
- required: false
- schema:
- type: string
- style: form
- explode: true
in: query
- name: status
+ name: id__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- - description: Exclude Status (name or ID)
+ - description: Number of results to return per page.
explode: true
in: query
- name: status__n
+ name: limit
required: false
schema:
- format: uuid
- type: string
+ type: integer
style: form
- - explode: true
+ - description: Location (name)
+ explode: true
in: query
- name: supply
+ name: location
required: false
schema:
- items:
- type: string
- type: array
+ type: string
style: form
- explode: true
in: query
- name: supply__ic
+ name: name
required: false
schema:
items:
@@ -58536,7 +54055,7 @@ paths:
style: form
- explode: true
in: query
- name: supply__ie
+ name: name__ic
required: false
schema:
items:
@@ -58545,7 +54064,7 @@ paths:
style: form
- explode: true
in: query
- name: supply__iew
+ name: name__ie
required: false
schema:
items:
@@ -58554,7 +54073,7 @@ paths:
style: form
- explode: true
in: query
- name: supply__ire
+ name: name__iew
required: false
schema:
items:
@@ -58563,7 +54082,7 @@ paths:
style: form
- explode: true
in: query
- name: supply__isw
+ name: name__ire
required: false
schema:
items:
@@ -58572,7 +54091,7 @@ paths:
style: form
- explode: true
in: query
- name: supply__n
+ name: name__isw
required: false
schema:
items:
@@ -58581,7 +54100,7 @@ paths:
style: form
- explode: true
in: query
- name: supply__nic
+ name: name__n
required: false
schema:
items:
@@ -58590,7 +54109,7 @@ paths:
style: form
- explode: true
in: query
- name: supply__nie
+ name: name__nic
required: false
schema:
items:
@@ -58599,7 +54118,7 @@ paths:
style: form
- explode: true
in: query
- name: supply__niew
+ name: name__nie
required: false
schema:
items:
@@ -58608,7 +54127,7 @@ paths:
style: form
- explode: true
in: query
- name: supply__nire
+ name: name__niew
required: false
schema:
items:
@@ -58617,7 +54136,7 @@ paths:
style: form
- explode: true
in: query
- name: supply__nisw
+ name: name__nire
required: false
schema:
items:
@@ -58626,7 +54145,7 @@ paths:
style: form
- explode: true
in: query
- name: supply__nre
+ name: name__nisw
required: false
schema:
items:
@@ -58635,7 +54154,7 @@ paths:
style: form
- explode: true
in: query
- name: supply__re
+ name: name__nre
required: false
schema:
items:
@@ -58644,28 +54163,28 @@ paths:
style: form
- explode: true
in: query
- name: tags
+ name: name__re
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: The initial index from which to return the results.
+ explode: true
in: query
- name: tags__isnull
+ name: offset
required: false
schema:
- type: boolean
+ type: integer
style: form
- - explode: true
+ - description: Which field to use when ordering the results.
+ explode: true
in: query
- name: tags__n
+ name: sort
required: false
schema:
- items:
- type: string
- type: array
+ type: string
style: form
- explode: true
in: query
@@ -58684,144 +54203,180 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
- in: query
- name: teams__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
- name: type
+ name: teams__n
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Serializer Depth
+ explode: true
in: query
- name: type__ic
+ name: depth
required: false
schema:
- items:
- type: string
- type: array
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
style: form
- - explode: true
+ - description: Exclude many-to-many fields from the response
+ explode: true
in: query
- name: type__ie
+ name: exclude_m2m
required: false
schema:
- items:
- type: string
- type: array
+ default: false
+ type: boolean
style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedPowerPortList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedPowerPortList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ /dcim/power-feeds/:
+ delete:
+ description: Destroy a list of power feed objects.
+ operationId: dcim_power_feeds_bulk_destroy
+ parameters:
- explode: true
in: query
- name: type__iew
+ name: format
required: false
schema:
- items:
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ required: true
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ get:
+ description: Retrieve a list of power feed objects.
+ operationId: dcim_power_feeds_list
+ parameters:
- explode: true
in: query
- name: type__ire
+ name: amperage
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: type__isw
+ name: amperage__gt
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: type__n
+ name: amperage__gte
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: type__nic
+ name: amperage__lt
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: type__nie
+ name: amperage__lte
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: type__niew
+ name: amperage__n
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: type__nire
+ name: available_power
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: type__nisw
+ name: available_power__gt
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: type__nre
+ name: available_power__gte
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: type__re
+ name: available_power__lt
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: voltage
+ name: available_power__lte
required: false
schema:
items:
@@ -58830,710 +54385,351 @@ paths:
style: form
- explode: true
in: query
- name: voltage__gt
+ name: available_power__n
required: false
schema:
items:
type: integer
type: array
style: form
- - explode: true
+ - description: Number of breaker poles
+ explode: true
in: query
- name: voltage__gte
+ name: breaker_pole_count
required: false
schema:
items:
+ nullable: true
type: integer
type: array
style: form
- explode: true
in: query
- name: voltage__lt
+ name: breaker_pole_count__ic
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: voltage__lte
+ name: breaker_pole_count__ie
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: voltage__n
+ name: breaker_pole_count__iew
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- - description: Serializer Depth
- explode: true
+ - explode: true
in: query
- name: depth
+ name: breaker_pole_count__ire
required: false
schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
+ items:
+ type: string
+ type: array
style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedPowerFeedList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedPowerFeedList'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- patch:
- description: Partial update a list of power feed objects.
- operationId: dcim_power_feeds_bulk_partial_update
- parameters:
- explode: true
in: query
- name: format
+ name: breaker_pole_count__isnull
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- requestBody:
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/PatchedBulkWritablePowerFeedRequest'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/PatchedBulkWritablePowerFeedRequest'
- type: array
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/PowerFeed'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/PowerFeed'
- type: array
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- post:
- description: Create one or more power feed objects.
- operationId: dcim_power_feeds_create
- parameters:
- explode: true
in: query
- name: format
+ name: breaker_pole_count__isw
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/WritablePowerFeedRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/WritablePowerFeedRequest'
- required: true
- responses:
- "201":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PowerFeed'
- text/csv:
- schema:
- $ref: '#/components/schemas/PowerFeed'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- put:
- description: Update a list of power feed objects.
- operationId: dcim_power_feeds_bulk_update
- parameters:
- explode: true
in: query
- name: format
+ name: breaker_pole_count__n
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- requestBody:
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/BulkWritablePowerFeedRequest'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/BulkWritablePowerFeedRequest'
- type: array
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/PowerFeed'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/PowerFeed'
- type: array
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- /dcim/power-feeds/{id}/:
- delete:
- description: Destroy a power feed object.
- operationId: dcim_power_feeds_destroy
- parameters:
- explode: true
in: query
- name: format
+ name: breaker_pole_count__nic
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- - description: A UUID string identifying this power feed.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- responses:
- "204":
- description: No response body
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- get:
- description: Retrieve a power feed object.
- operationId: dcim_power_feeds_retrieve
- parameters:
- explode: true
in: query
- name: format
+ name: breaker_pole_count__nie
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- - description: A UUID string identifying this power feed.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Serializer Depth
- explode: true
+ - explode: true
in: query
- name: depth
+ name: breaker_pole_count__niew
required: false
schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
+ items:
+ type: string
+ type: array
style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PowerFeed'
- text/csv:
- schema:
- $ref: '#/components/schemas/PowerFeed'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- patch:
- description: Partial update a power feed object.
- operationId: dcim_power_feeds_partial_update
- parameters:
- explode: true
in: query
- name: format
+ name: breaker_pole_count__nire
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- - description: A UUID string identifying this power feed.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PatchedWritablePowerFeedRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/PatchedWritablePowerFeedRequest'
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PowerFeed'
- text/csv:
- schema:
- $ref: '#/components/schemas/PowerFeed'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- put:
- description: Update a power feed object.
- operationId: dcim_power_feeds_update
- parameters:
- explode: true
in: query
- name: format
+ name: breaker_pole_count__nisw
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- - description: A UUID string identifying this power feed.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/WritablePowerFeedRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/WritablePowerFeedRequest'
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PowerFeed'
- text/csv:
- schema:
- $ref: '#/components/schemas/PowerFeed'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- /dcim/power-feeds/{id}/notes/:
- get:
- description: API methods for returning or creating notes on an object.
- operationId: dcim_power_feeds_notes_list
- parameters:
- explode: true
in: query
- name: format
+ name: breaker_pole_count__nre
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- - description: A UUID string identifying this power feed.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Number of results to return per page.
- explode: true
+ - explode: true
in: query
- name: limit
+ name: breaker_pole_count__re
required: false
schema:
- type: integer
+ items:
+ type: string
+ type: array
style: form
- - description: The initial index from which to return the results.
- explode: true
+ - explode: true
in: query
- name: offset
+ name: breaker_position
required: false
schema:
- type: integer
+ items:
+ type: integer
+ type: array
style: form
- - description: Serializer Depth
- explode: true
+ - explode: true
in: query
- name: depth
+ name: breaker_position__gt
required: false
schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
+ items:
+ type: integer
+ type: array
style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- post:
- description: API methods for returning or creating notes on an object.
- operationId: dcim_power_feeds_notes_create
- parameters:
- explode: true
in: query
- name: format
+ name: breaker_position__gte
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: integer
+ type: array
style: form
- - description: A UUID string identifying this power feed.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- required: true
- responses:
- "201":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Note'
- text/csv:
- schema:
- $ref: '#/components/schemas/Note'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- /dcim/power-feeds/{id}/trace/:
- get:
- description: "Trace a complete cable path and return each segment as a three-tuple\
- \ of (termination, cable, termination)."
- operationId: dcim_power_feeds_trace_retrieve
- parameters:
- explode: true
in: query
- name: format
+ name: breaker_position__isnull
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ type: boolean
style: form
- - description: A UUID string identifying this power feed.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Serializer Depth
- explode: true
+ - explode: true
in: query
- name: depth
+ name: breaker_position__lt
required: false
schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
+ items:
+ type: integer
+ type: array
style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PowerFeed'
- text/csv:
- schema:
- $ref: '#/components/schemas/PowerFeed'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- /dcim/power-outlet-templates/:
- delete:
- description: Destroy a list of power outlet template objects.
- operationId: dcim_power_outlet_templates_bulk_destroy
- parameters:
- explode: true
in: query
- name: format
+ name: breaker_position__lte
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: integer
+ type: array
style: form
- requestBody:
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/BulkOperationRequest'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/BulkOperationRequest'
- type: array
- required: true
- responses:
- "204":
- description: No response body
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- get:
- description: Retrieve a list of power outlet template objects.
- operationId: dcim_power_outlet_templates_list
- parameters:
- explode: true
in: query
- name: contacts
+ name: breaker_position__n
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- - description: Contacts (name or ID) is null
+ - description: Cable
explode: true
in: query
- name: contacts__isnull
+ name: cable
required: false
schema:
- type: boolean
+ items:
+ format: uuid
+ type: string
+ type: array
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
- name: contacts__n
+ name: cable__isnull
required: false
schema:
- format: uuid
- type: string
+ type: boolean
style: form
- - description: Description
+ - description: Cable
explode: true
in: query
- name: description
+ name: cable__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- - description: Description
- explode: true
+ - explode: true
in: query
- name: description__ic
+ name: comments
required: false
schema:
items:
type: string
type: array
style: form
- - description: Description
- explode: true
+ - explode: true
in: query
- name: description__ie
+ name: comments__ic
required: false
schema:
items:
type: string
type: array
style: form
- - description: Description
- explode: true
+ - explode: true
in: query
- name: description__iew
+ name: comments__ie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Description
- explode: true
+ - explode: true
in: query
- name: description__ire
+ name: comments__iew
required: false
schema:
items:
type: string
type: array
style: form
- - description: Description
- explode: true
+ - explode: true
in: query
- name: description__isw
+ name: comments__ire
required: false
schema:
items:
type: string
type: array
style: form
- - description: Description
- explode: true
+ - explode: true
in: query
- name: description__n
+ name: comments__isw
required: false
schema:
items:
type: string
type: array
style: form
- - description: Description
- explode: true
+ - explode: true
in: query
- name: description__nic
+ name: comments__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Description
- explode: true
+ - explode: true
in: query
- name: description__nie
+ name: comments__nic
required: false
schema:
items:
type: string
type: array
style: form
- - description: Description
- explode: true
+ - explode: true
in: query
- name: description__niew
+ name: comments__nie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Description
- explode: true
+ - explode: true
in: query
- name: description__nire
+ name: comments__niew
required: false
schema:
items:
type: string
type: array
style: form
- - description: Description
- explode: true
+ - explode: true
in: query
- name: description__nisw
+ name: comments__nire
required: false
schema:
items:
type: string
type: array
style: form
- - description: Description
- explode: true
+ - explode: true
in: query
- name: description__nre
+ name: comments__nisw
required: false
schema:
items:
type: string
type: array
style: form
- - description: Description
- explode: true
+ - explode: true
in: query
- name: description__re
+ name: comments__nre
required: false
schema:
items:
@@ -59542,61 +54738,41 @@ paths:
style: form
- explode: true
in: query
- name: device_type
+ name: comments__re
required: false
schema:
items:
type: string
type: array
style: form
- - description: Device type (model or ID) is null
+ - description: Connected status (bool)
explode: true
in: query
- name: device_type__isnull
+ name: connected
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: device_type__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: dynamic_groups
+ name: contacts
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
- in: query
- name: dynamic_groups__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- - description: Phase (for three-phase feeds)
+ - description: Contacts (name or ID) is null
explode: true
in: query
- name: feed_leg
+ name: contacts__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: feed_leg__ic
+ name: contacts__n
required: false
schema:
items:
@@ -59605,89 +54781,91 @@ paths:
style: form
- explode: true
in: query
- name: feed_leg__ie
+ name: created
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: feed_leg__iew
+ name: created__gt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: feed_leg__ire
+ name: created__gte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: feed_leg__isw
+ name: created__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- - description: Phase (for three-phase feeds)
- explode: true
+ - explode: true
in: query
- name: feed_leg__n
+ name: created__lt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: feed_leg__nic
+ name: created__lte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: feed_leg__nie
+ name: created__n
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: feed_leg__niew
+ name: destination_panel
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Destination panel (name or ID) is null
+ explode: true
in: query
- name: feed_leg__nire
+ name: destination_panel__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: feed_leg__nisw
+ name: destination_panel__n
required: false
schema:
items:
@@ -59696,7 +54874,7 @@ paths:
style: form
- explode: true
in: query
- name: feed_leg__nre
+ name: dynamic_groups
required: false
schema:
items:
@@ -59705,7 +54883,7 @@ paths:
style: form
- explode: true
in: query
- name: feed_leg__re
+ name: dynamic_groups__n
required: false
schema:
items:
@@ -59717,28 +54895,31 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: Has device type
+ - description: Has cable
explode: true
in: query
- name: has_device_type
+ name: has_cable
required: false
schema:
type: boolean
style: form
- - description: Has module type
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
explode: true
in: query
- name: has_module_type
+ name: id
required: false
schema:
- type: boolean
+ items:
+ format: uuid
+ type: string
+ type: array
style: form
- - description: ID
- explode: true
+ - explode: true
in: query
- name: id
+ name: id__n
required: false
schema:
items:
@@ -59746,491 +54927,552 @@ paths:
type: string
type: array
style: form
- - description: ID contains
- explode: true
+ - explode: true
in: query
- name: id__ic
+ name: last_updated
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- - description: ID
- explode: true
+ - explode: true
in: query
- name: id__ie
+ name: last_updated__gt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- - description: ID ends with
- explode: true
+ - explode: true
in: query
- name: id__iew
+ name: last_updated__gte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- - description: ID matches regex
- explode: true
+ - explode: true
in: query
- name: id__ire
+ name: last_updated__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: last_updated__lt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- - description: ID starts with
- explode: true
+ - explode: true
in: query
- name: id__isw
+ name: last_updated__lte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- - description: Exclude ID
- explode: true
+ - explode: true
in: query
- name: id__n
+ name: last_updated__n
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- - description: Exclude ID contains
+ - description: Number of results to return per page.
explode: true
in: query
- name: id__nic
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
+ - explode: true
+ in: query
+ name: location
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - description: Exclude ID
- explode: true
+ - explode: true
in: query
- name: id__nie
+ name: location__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - description: Exclude ID ends with
- explode: true
+ - explode: true
in: query
- name: id__niew
+ name: max_utilization
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: max_utilization__gt
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: max_utilization__gte
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: max_utilization__lt
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: max_utilization__lte
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: max_utilization__n
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - description: Exclude ID matches regex
- explode: true
+ - explode: true
in: query
- name: id__nire
+ name: name__ic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - description: Exclude ID starts with
- explode: true
+ - explode: true
in: query
- name: id__nisw
+ name: name__ie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - description: Exclude ID matches regex
- explode: true
+ - explode: true
in: query
- name: id__nre
+ name: name__iew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - description: ID matches regex
- explode: true
+ - explode: true
in: query
- name: id__re
+ name: name__ire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - description: Label
- explode: true
+ - explode: true
in: query
- name: label
+ name: name__isw
required: false
schema:
items:
type: string
type: array
style: form
- - description: Label
- explode: true
+ - explode: true
in: query
- name: label__ic
+ name: name__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Label
- explode: true
+ - explode: true
in: query
- name: label__ie
+ name: name__nic
required: false
schema:
items:
type: string
type: array
style: form
- - description: Label
- explode: true
+ - explode: true
in: query
- name: label__iew
+ name: name__nie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Label
- explode: true
+ - explode: true
in: query
- name: label__ire
+ name: name__niew
required: false
schema:
items:
type: string
type: array
style: form
- - description: Label
- explode: true
+ - explode: true
in: query
- name: label__isw
+ name: name__nire
required: false
schema:
items:
type: string
type: array
style: form
- - description: Label
- explode: true
+ - explode: true
in: query
- name: label__n
+ name: name__nisw
required: false
schema:
items:
type: string
type: array
style: form
- - description: Label
- explode: true
+ - explode: true
in: query
- name: label__nic
+ name: name__nre
required: false
schema:
items:
type: string
type: array
style: form
- - description: Label
- explode: true
+ - explode: true
in: query
- name: label__nie
+ name: name__re
required: false
schema:
items:
type: string
type: array
style: form
- - description: Label
+ - description: The initial index from which to return the results.
explode: true
in: query
- name: label__niew
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
+ - explode: true
+ in: query
+ name: phase
required: false
schema:
items:
type: string
type: array
style: form
- - description: Label
- explode: true
+ - explode: true
in: query
- name: label__nire
+ name: phase__ic
required: false
schema:
items:
type: string
type: array
style: form
- - description: Label
- explode: true
+ - explode: true
in: query
- name: label__nisw
+ name: phase__ie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Label
- explode: true
+ - explode: true
in: query
- name: label__nre
+ name: phase__iew
required: false
schema:
items:
type: string
type: array
style: form
- - description: Label
- explode: true
+ - explode: true
in: query
- name: label__re
+ name: phase__ire
required: false
schema:
items:
type: string
type: array
style: form
- - description: Number of results to return per page.
- explode: true
+ - explode: true
in: query
- name: limit
+ name: phase__isw
required: false
schema:
- type: integer
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: module_type
+ name: phase__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Module type (model or ID) is null
- explode: true
+ - explode: true
in: query
- name: module_type__isnull
+ name: phase__nic
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: module_type__n
+ name: phase__nie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Name
- explode: true
+ - explode: true
in: query
- name: name
+ name: phase__niew
required: false
schema:
items:
type: string
type: array
style: form
- - description: Name
- explode: true
+ - explode: true
in: query
- name: name__ic
+ name: phase__nire
required: false
schema:
items:
type: string
type: array
style: form
- - description: Name
- explode: true
+ - explode: true
in: query
- name: name__ie
+ name: phase__nisw
required: false
schema:
items:
type: string
type: array
style: form
- - description: Name
- explode: true
+ - explode: true
in: query
- name: name__iew
+ name: phase__nre
required: false
schema:
items:
type: string
type: array
style: form
- - description: Name
- explode: true
+ - explode: true
in: query
- name: name__ire
+ name: phase__re
required: false
schema:
items:
type: string
type: array
style: form
- - description: Name
- explode: true
+ - explode: true
in: query
- name: name__isw
+ name: power_panel
required: false
schema:
items:
type: string
type: array
style: form
- - description: Name
- explode: true
+ - explode: true
in: query
- name: name__n
+ name: power_panel__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Name
+ - description: Physical power distribution redundancy path.
explode: true
in: query
- name: name__nic
+ name: power_path
required: false
schema:
items:
type: string
type: array
style: form
- - description: Name
- explode: true
+ - explode: true
in: query
- name: name__nie
+ name: power_path__ic
required: false
schema:
items:
type: string
type: array
style: form
- - description: Name
- explode: true
+ - explode: true
in: query
- name: name__niew
+ name: power_path__ie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Name
- explode: true
+ - explode: true
in: query
- name: name__nire
+ name: power_path__iew
required: false
schema:
items:
type: string
type: array
style: form
- - description: Name
- explode: true
+ - explode: true
in: query
- name: name__nisw
+ name: power_path__ire
required: false
schema:
items:
type: string
type: array
style: form
- - description: Name
- explode: true
+ - explode: true
in: query
- name: name__nre
+ name: power_path__isw
required: false
schema:
items:
type: string
type: array
style: form
- - description: Name
- explode: true
+ - explode: true
in: query
- name: name__re
+ name: power_path__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: The initial index from which to return the results.
- explode: true
+ - explode: true
in: query
- name: offset
+ name: power_path__nic
required: false
schema:
- type: integer
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: power_port_template
+ name: power_path__nie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Power port template (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: power_port_template__isnull
+ name: power_path__niew
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: power_port_template__n
+ name: power_path__nire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: power_path__nisw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: power_path__nre
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: power_path__re
required: false
schema:
items:
@@ -60245,6 +55487,32 @@ paths:
schema:
type: string
style: form
+ - explode: true
+ in: query
+ name: rack
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Rack (name or ID) is null
+ explode: true
+ in: query
+ name: rack__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: rack__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- description: Which field to use when ordering the results.
explode: true
in: query
@@ -60253,6 +55521,175 @@ paths:
schema:
type: string
style: form
+ - explode: true
+ in: query
+ name: status
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: status__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: supply
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: supply__ic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: supply__ie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: supply__iew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: supply__ire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: supply__isw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: supply__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: supply__nic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: supply__nie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: supply__niew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: supply__nire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: supply__nisw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: supply__nre
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: supply__re
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: tags
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: tags__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: tags__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- explode: true
in: query
name: teams
@@ -60270,14 +55707,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -60405,6 +55842,60 @@ paths:
type: string
type: array
style: form
+ - explode: true
+ in: query
+ name: voltage
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: voltage__gt
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: voltage__gte
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: voltage__lt
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: voltage__lte
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: voltage__n
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
- description: Serializer Depth
explode: true
in: query
@@ -60416,15 +55907,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedPowerOutletTemplateList'
+ $ref: "#/components/schemas/PaginatedPowerFeedList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedPowerOutletTemplateList'
+ $ref: "#/components/schemas/PaginatedPowerFeedList"
description: ""
security:
- cookieAuth: []
@@ -60432,27 +55932,27 @@ paths:
tags:
- dcim
patch:
- description: Partial update a list of power outlet template objects.
- operationId: dcim_power_outlet_templates_bulk_partial_update
+ description: Partial update a list of power feed objects.
+ operationId: dcim_power_feeds_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritablePowerOutletTemplateRequest'
+ $ref: "#/components/schemas/PatchedBulkWritablePowerFeedRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritablePowerOutletTemplateRequest'
+ $ref: "#/components/schemas/PatchedBulkWritablePowerFeedRequest"
type: array
required: true
responses:
@@ -60461,12 +55961,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/PowerOutletTemplate'
+ $ref: "#/components/schemas/PowerFeed"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PowerOutletTemplate'
+ $ref: "#/components/schemas/PowerFeed"
type: array
description: ""
security:
@@ -60475,34 +55975,34 @@ paths:
tags:
- dcim
post:
- description: Create one or more power outlet template objects.
- operationId: dcim_power_outlet_templates_create
+ description: Create one or more power feed objects.
+ operationId: dcim_power_feeds_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritablePowerOutletTemplateRequest'
+ $ref: "#/components/schemas/WritablePowerFeedRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritablePowerOutletTemplateRequest'
+ $ref: "#/components/schemas/WritablePowerFeedRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/PowerOutletTemplate'
+ $ref: "#/components/schemas/PowerFeed"
text/csv:
schema:
- $ref: '#/components/schemas/PowerOutletTemplate'
+ $ref: "#/components/schemas/PowerFeed"
description: ""
security:
- cookieAuth: []
@@ -60510,27 +56010,27 @@ paths:
tags:
- dcim
put:
- description: Update a list of power outlet template objects.
- operationId: dcim_power_outlet_templates_bulk_update
+ description: Update a list of power feed objects.
+ operationId: dcim_power_feeds_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritablePowerOutletTemplateRequest'
+ $ref: "#/components/schemas/BulkWritablePowerFeedRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritablePowerOutletTemplateRequest'
+ $ref: "#/components/schemas/BulkWritablePowerFeedRequest"
type: array
required: true
responses:
@@ -60539,12 +56039,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/PowerOutletTemplate'
+ $ref: "#/components/schemas/PowerFeed"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PowerOutletTemplate'
+ $ref: "#/components/schemas/PowerFeed"
type: array
description: ""
security:
@@ -60552,19 +56052,19 @@ paths:
- tokenAuth: []
tags:
- dcim
- /dcim/power-outlet-templates/{id}/:
+ /dcim/power-feeds/{id}/:
delete:
- description: Destroy a power outlet template object.
- operationId: dcim_power_outlet_templates_destroy
+ description: Destroy a power feed object.
+ operationId: dcim_power_feeds_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this power outlet template.
+ - description: A UUID string identifying this power feed.
explode: false
in: path
name: id
@@ -60582,17 +56082,17 @@ paths:
tags:
- dcim
get:
- description: Retrieve a power outlet template object.
- operationId: dcim_power_outlet_templates_retrieve
+ description: Retrieve a power feed object.
+ operationId: dcim_power_feeds_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this power outlet template.
+ - description: A UUID string identifying this power feed.
explode: false
in: path
name: id
@@ -60612,15 +56112,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PowerOutletTemplate'
+ $ref: "#/components/schemas/PowerFeed"
text/csv:
schema:
- $ref: '#/components/schemas/PowerOutletTemplate'
+ $ref: "#/components/schemas/PowerFeed"
description: ""
security:
- cookieAuth: []
@@ -60628,17 +56137,17 @@ paths:
tags:
- dcim
patch:
- description: Partial update a power outlet template object.
- operationId: dcim_power_outlet_templates_partial_update
+ description: Partial update a power feed object.
+ operationId: dcim_power_feeds_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this power outlet template.
+ - description: A UUID string identifying this power feed.
explode: false
in: path
name: id
@@ -60651,19 +56160,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedWritablePowerOutletTemplateRequest'
+ $ref: "#/components/schemas/PatchedWritablePowerFeedRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedWritablePowerOutletTemplateRequest'
+ $ref: "#/components/schemas/PatchedWritablePowerFeedRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PowerOutletTemplate'
+ $ref: "#/components/schemas/PowerFeed"
text/csv:
schema:
- $ref: '#/components/schemas/PowerOutletTemplate'
+ $ref: "#/components/schemas/PowerFeed"
description: ""
security:
- cookieAuth: []
@@ -60671,17 +56180,17 @@ paths:
tags:
- dcim
put:
- description: Update a power outlet template object.
- operationId: dcim_power_outlet_templates_update
+ description: Update a power feed object.
+ operationId: dcim_power_feeds_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this power outlet template.
+ - description: A UUID string identifying this power feed.
explode: false
in: path
name: id
@@ -60694,39 +56203,39 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritablePowerOutletTemplateRequest'
+ $ref: "#/components/schemas/WritablePowerFeedRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritablePowerOutletTemplateRequest'
+ $ref: "#/components/schemas/WritablePowerFeedRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PowerOutletTemplate'
+ $ref: "#/components/schemas/PowerFeed"
text/csv:
schema:
- $ref: '#/components/schemas/PowerOutletTemplate'
+ $ref: "#/components/schemas/PowerFeed"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- /dcim/power-outlet-templates/{id}/notes/:
+ /dcim/power-feeds/{id}/notes/:
get:
description: API methods for returning or creating notes on an object.
- operationId: dcim_power_outlet_templates_notes_list
+ operationId: dcim_power_feeds_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this power outlet template.
+ - description: A UUID string identifying this power feed.
explode: false
in: path
name: id
@@ -60762,15 +56271,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -60779,16 +56297,16 @@ paths:
- dcim
post:
description: API methods for returning or creating notes on an object.
- operationId: dcim_power_outlet_templates_notes_create
+ operationId: dcim_power_feeds_notes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this power outlet template.
+ - description: A UUID string identifying this power feed.
explode: false
in: path
name: id
@@ -60801,49 +56319,106 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- /dcim/power-outlets/:
+ /dcim/power-feeds/{id}/trace/:
+ get:
+ description: "Trace a complete cable path and return each segment as a three-tuple\
+ \ of (termination, cable, termination)."
+ operationId: dcim_power_feeds_trace_retrieve
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this power feed.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PowerFeed"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PowerFeed"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ /dcim/power-outlet-templates/:
delete:
- description: Destroy a list of power outlet objects.
- operationId: dcim_power_outlets_bulk_destroy
+ description: Destroy a list of power outlet template objects.
+ operationId: dcim_power_outlet_templates_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -60855,73 +56430,37 @@ paths:
tags:
- dcim
get:
- description: Retrieve a list of power outlet objects.
- operationId: dcim_power_outlets_list
+ description: Retrieve a list of power outlet template objects.
+ operationId: dcim_power_outlet_templates_list
parameters:
- - description: Cable
- explode: true
- in: query
- name: cable
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
- name: cable__isnull
- required: false
- schema:
- type: boolean
- style: form
- - description: Cable
- explode: true
- in: query
- name: cable__n
+ name: contacts
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - description: Connected status (bool)
+ - description: Contacts (name or ID) is null
explode: true
in: query
- name: connected
+ name: contacts__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: contacts
+ name: contacts__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Contacts (name or ID) is null
- explode: true
- in: query
- name: contacts__isnull
- required: false
- schema:
- type: boolean
- style: form
- - description: Exclude Contacts (name or ID)
+ - description: Description
explode: true
- in: query
- name: contacts__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- - explode: true
in: query
name: description
required: false
@@ -60930,7 +56469,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Description
+ explode: true
in: query
name: description__ic
required: false
@@ -60939,7 +56479,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Description
+ explode: true
in: query
name: description__ie
required: false
@@ -60948,7 +56489,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Description
+ explode: true
in: query
name: description__iew
required: false
@@ -60957,7 +56499,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Description
+ explode: true
in: query
name: description__ire
required: false
@@ -60966,7 +56509,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Description
+ explode: true
in: query
name: description__isw
required: false
@@ -60975,7 +56519,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Description
+ explode: true
in: query
name: description__n
required: false
@@ -60984,7 +56529,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Description
+ explode: true
in: query
name: description__nic
required: false
@@ -60993,7 +56539,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Description
+ explode: true
in: query
name: description__nie
required: false
@@ -61002,7 +56549,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Description
+ explode: true
in: query
name: description__niew
required: false
@@ -61011,7 +56559,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Description
+ explode: true
in: query
name: description__nire
required: false
@@ -61020,7 +56569,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Description
+ explode: true
in: query
name: description__nisw
required: false
@@ -61029,7 +56579,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Description
+ explode: true
in: query
name: description__nre
required: false
@@ -61038,7 +56589,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Description
+ explode: true
in: query
name: description__re
required: false
@@ -61049,7 +56601,24 @@ paths:
style: form
- explode: true
in: query
- name: device
+ name: device_type
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Device type (model or ID) is null
+ explode: true
+ in: query
+ name: device_type__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: device_type__n
required: false
schema:
items:
@@ -61065,14 +56634,14 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Phase (for three-phase feeds)
explode: true
@@ -61129,8 +56698,7 @@ paths:
type: string
type: array
style: form
- - description: Phase (for three-phase feeds)
- explode: true
+ - explode: true
in: query
name: feed_leg__n
required: false
@@ -61207,18 +56775,25 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: Has cable
+ - description: Has device type
explode: true
in: query
- name: has_cable
+ name: has_device_type
required: false
schema:
type: boolean
style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
+ - description: Has module type
+ explode: true
+ in: query
+ name: has_module_type
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - description: ID
explode: true
in: query
name: id
@@ -61229,9 +56804,10 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Exclude ID
+ explode: true
in: query
- name: id__ic
+ name: id__n
required: false
schema:
items:
@@ -61239,464 +56815,351 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Label
+ explode: true
in: query
- name: id__ie
+ name: label
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Label
+ explode: true
in: query
- name: id__iew
+ name: label__ic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Label
+ explode: true
in: query
- name: id__ire
+ name: label__ie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Label
+ explode: true
in: query
- name: id__isw
+ name: label__iew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Label
+ explode: true
in: query
- name: id__n
+ name: label__ire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Label
+ explode: true
in: query
- name: id__nic
+ name: label__isw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Label
+ explode: true
in: query
- name: id__nie
+ name: label__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Label
+ explode: true
in: query
- name: id__niew
+ name: label__nic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Label
+ explode: true
in: query
- name: id__nire
+ name: label__nie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Label
+ explode: true
in: query
- name: id__nisw
+ name: label__niew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Label
+ explode: true
in: query
- name: id__nre
+ name: label__nire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Label
+ explode: true
in: query
- name: id__re
+ name: label__nisw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Label
+ explode: true
in: query
- name: label
+ name: label__nre
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Label
+ explode: true
in: query
- name: label__ic
+ name: label__re
required: false
schema:
items:
type: string
type: array
style: form
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
- explode: true
in: query
- name: label__ie
+ name: module_type
required: false
schema:
items:
type: string
type: array
style: form
+ - description: Module type (model or ID) is null
+ explode: true
+ in: query
+ name: module_type__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: label__iew
+ name: module_type__n
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Name
+ explode: true
in: query
- name: label__ire
+ name: name
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Name
+ explode: true
in: query
- name: label__isw
+ name: name__ic
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Name
+ explode: true
in: query
- name: label__n
+ name: name__ie
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Name
+ explode: true
in: query
- name: label__nic
+ name: name__iew
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Name
+ explode: true
in: query
- name: label__nie
+ name: name__ire
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Name
+ explode: true
in: query
- name: label__niew
+ name: name__isw
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Name
+ explode: true
in: query
- name: label__nire
+ name: name__n
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Name
+ explode: true
in: query
- name: label__nisw
+ name: name__nic
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Name
+ explode: true
in: query
- name: label__nre
+ name: name__nie
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Name
+ explode: true
in: query
- name: label__re
+ name: name__niew
required: false
schema:
items:
type: string
type: array
style: form
- - description: Number of results to return per page.
+ - description: Name
explode: true
in: query
- name: limit
+ name: name__nire
required: false
schema:
- type: integer
+ items:
+ type: string
+ type: array
style: form
- - explode: true
+ - description: Name
+ explode: true
in: query
- name: location
+ name: name__nisw
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Name
+ explode: true
in: query
- name: location__n
+ name: name__nre
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Name
+ explode: true
in: query
- name: module
+ name: name__re
required: false
schema:
items:
type: string
type: array
style: form
- - description: Module (model or ID) is null
+ - description: The initial index from which to return the results.
explode: true
in: query
- name: module__isnull
+ name: offset
required: false
schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: module__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__ic
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__ie
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__iew
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__ire
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__isw
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__nic
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__nie
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__niew
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__nire
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__nisw
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__nre
- required: false
- schema:
- items:
- type: string
- type: array
+ type: integer
style: form
- explode: true
in: query
- name: name__re
+ name: power_port_template
required: false
schema:
items:
type: string
type: array
style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- - description: Power port
+ - description: Power port template (name or ID) is null
explode: true
in: query
- name: power_port
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: power_port__isnull
+ name: power_port_template__isnull
required: false
schema:
type: boolean
style: form
- - description: Power port
- explode: true
+ - explode: true
in: query
- name: power_port__n
+ name: power_port_template__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
@@ -61716,31 +57179,6 @@ paths:
schema:
type: string
style: form
- - explode: true
- in: query
- name: tags
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: tags__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: tags__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- explode: true
in: query
name: teams
@@ -61758,17 +57196,16 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type
required: false
@@ -61777,8 +57214,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__ic
required: false
@@ -61787,8 +57223,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__ie
required: false
@@ -61797,8 +57232,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__iew
required: false
@@ -61807,8 +57241,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__ire
required: false
@@ -61817,8 +57250,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__isw
required: false
@@ -61827,8 +57259,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__n
required: false
@@ -61837,8 +57268,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__nic
required: false
@@ -61847,8 +57277,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__nie
required: false
@@ -61857,8 +57286,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__niew
required: false
@@ -61867,8 +57295,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__nire
required: false
@@ -61877,8 +57304,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__nisw
required: false
@@ -61887,8 +57313,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__nre
required: false
@@ -61897,8 +57322,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__re
required: false
@@ -61918,15 +57342,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedPowerOutletList'
+ $ref: "#/components/schemas/PaginatedPowerOutletTemplateList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedPowerOutletList'
+ $ref: "#/components/schemas/PaginatedPowerOutletTemplateList"
description: ""
security:
- cookieAuth: []
@@ -61934,27 +57367,27 @@ paths:
tags:
- dcim
patch:
- description: Partial update a list of power outlet objects.
- operationId: dcim_power_outlets_bulk_partial_update
+ description: Partial update a list of power outlet template objects.
+ operationId: dcim_power_outlet_templates_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritablePowerOutletRequest'
+ $ref: "#/components/schemas/PatchedBulkWritablePowerOutletTemplateRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritablePowerOutletRequest'
+ $ref: "#/components/schemas/PatchedBulkWritablePowerOutletTemplateRequest"
type: array
required: true
responses:
@@ -61963,12 +57396,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/PowerOutlet'
+ $ref: "#/components/schemas/PowerOutletTemplate"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PowerOutlet'
+ $ref: "#/components/schemas/PowerOutletTemplate"
type: array
description: ""
security:
@@ -61977,34 +57410,34 @@ paths:
tags:
- dcim
post:
- description: Create one or more power outlet objects.
- operationId: dcim_power_outlets_create
+ description: Create one or more power outlet template objects.
+ operationId: dcim_power_outlet_templates_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritablePowerOutletRequest'
+ $ref: "#/components/schemas/WritablePowerOutletTemplateRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritablePowerOutletRequest'
+ $ref: "#/components/schemas/WritablePowerOutletTemplateRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/PowerOutlet'
+ $ref: "#/components/schemas/PowerOutletTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/PowerOutlet'
+ $ref: "#/components/schemas/PowerOutletTemplate"
description: ""
security:
- cookieAuth: []
@@ -62012,27 +57445,27 @@ paths:
tags:
- dcim
put:
- description: Update a list of power outlet objects.
- operationId: dcim_power_outlets_bulk_update
+ description: Update a list of power outlet template objects.
+ operationId: dcim_power_outlet_templates_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritablePowerOutletRequest'
+ $ref: "#/components/schemas/BulkWritablePowerOutletTemplateRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritablePowerOutletRequest'
+ $ref: "#/components/schemas/BulkWritablePowerOutletTemplateRequest"
type: array
required: true
responses:
@@ -62041,12 +57474,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/PowerOutlet'
+ $ref: "#/components/schemas/PowerOutletTemplate"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PowerOutlet'
+ $ref: "#/components/schemas/PowerOutletTemplate"
type: array
description: ""
security:
@@ -62054,19 +57487,19 @@ paths:
- tokenAuth: []
tags:
- dcim
- /dcim/power-outlets/{id}/:
+ /dcim/power-outlet-templates/{id}/:
delete:
- description: Destroy a power outlet object.
- operationId: dcim_power_outlets_destroy
+ description: Destroy a power outlet template object.
+ operationId: dcim_power_outlet_templates_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this power outlet.
+ - description: A UUID string identifying this power outlet template.
explode: false
in: path
name: id
@@ -62084,17 +57517,17 @@ paths:
tags:
- dcim
get:
- description: Retrieve a power outlet object.
- operationId: dcim_power_outlets_retrieve
+ description: Retrieve a power outlet template object.
+ operationId: dcim_power_outlet_templates_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this power outlet.
+ - description: A UUID string identifying this power outlet template.
explode: false
in: path
name: id
@@ -62114,15 +57547,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PowerOutlet'
+ $ref: "#/components/schemas/PowerOutletTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/PowerOutlet'
+ $ref: "#/components/schemas/PowerOutletTemplate"
description: ""
security:
- cookieAuth: []
@@ -62130,17 +57572,17 @@ paths:
tags:
- dcim
patch:
- description: Partial update a power outlet object.
- operationId: dcim_power_outlets_partial_update
+ description: Partial update a power outlet template object.
+ operationId: dcim_power_outlet_templates_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this power outlet.
+ - description: A UUID string identifying this power outlet template.
explode: false
in: path
name: id
@@ -62153,19 +57595,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedWritablePowerOutletRequest'
+ $ref: "#/components/schemas/PatchedWritablePowerOutletTemplateRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedWritablePowerOutletRequest'
+ $ref: "#/components/schemas/PatchedWritablePowerOutletTemplateRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PowerOutlet'
+ $ref: "#/components/schemas/PowerOutletTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/PowerOutlet'
+ $ref: "#/components/schemas/PowerOutletTemplate"
description: ""
security:
- cookieAuth: []
@@ -62173,17 +57615,17 @@ paths:
tags:
- dcim
put:
- description: Update a power outlet object.
- operationId: dcim_power_outlets_update
+ description: Update a power outlet template object.
+ operationId: dcim_power_outlet_templates_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this power outlet.
+ - description: A UUID string identifying this power outlet template.
explode: false
in: path
name: id
@@ -62196,308 +57638,258 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritablePowerOutletRequest'
+ $ref: "#/components/schemas/WritablePowerOutletTemplateRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritablePowerOutletRequest'
+ $ref: "#/components/schemas/WritablePowerOutletTemplateRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PowerOutlet'
+ $ref: "#/components/schemas/PowerOutletTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/PowerOutlet'
+ $ref: "#/components/schemas/PowerOutletTemplate"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- /dcim/power-outlets/{id}/notes/:
- get:
- description: API methods for returning or creating notes on an object.
- operationId: dcim_power_outlets_notes_list
+ /dcim/power-outlets/:
+ delete:
+ description: Destroy a list of power outlet objects.
+ operationId: dcim_power_outlets_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this power outlet.
- explode: false
- in: path
- name: id
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
required: true
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ get:
+ description: Retrieve a list of power outlet objects.
+ operationId: dcim_power_outlets_list
+ parameters:
+ - description: Cable
+ explode: true
+ in: query
+ name: cable
+ required: false
schema:
- format: uuid
- type: string
- style: simple
- - description: Number of results to return per page.
+ items:
+ format: uuid
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: cable__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - description: Cable
explode: true
in: query
- name: limit
+ name: cable__n
required: false
schema:
- type: integer
+ items:
+ format: uuid
+ type: string
+ type: array
style: form
- - description: The initial index from which to return the results.
+ - description: Connected status (bool)
explode: true
in: query
- name: offset
+ name: connected
required: false
schema:
- type: integer
+ type: boolean
style: form
- - description: Serializer Depth
+ - explode: true
+ in: query
+ name: contacts
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Contacts (name or ID) is null
explode: true
in: query
- name: depth
+ name: contacts__isnull
required: false
schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
+ type: boolean
style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- post:
- description: API methods for returning or creating notes on an object.
- operationId: dcim_power_outlets_notes_create
- parameters:
- explode: true
in: query
- name: format
+ name: contacts__n
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- - description: A UUID string identifying this power outlet.
- explode: false
- in: path
- name: id
- required: true
+ - explode: true
+ in: query
+ name: description
+ required: false
schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- required: true
- responses:
- "201":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Note'
- text/csv:
- schema:
- $ref: '#/components/schemas/Note'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- /dcim/power-outlets/{id}/trace/:
- get:
- description: "Trace a complete cable path and return each segment as a three-tuple\
- \ of (termination, cable, termination)."
- operationId: dcim_power_outlets_trace_retrieve
- parameters:
+ items:
+ type: string
+ type: array
+ style: form
- explode: true
in: query
- name: format
+ name: description__ic
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- - description: A UUID string identifying this power outlet.
- explode: false
- in: path
- name: id
- required: true
+ - explode: true
+ in: query
+ name: description__ie
+ required: false
schema:
- format: uuid
- type: string
- style: simple
- - description: Serializer Depth
- explode: true
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
in: query
- name: depth
+ name: description__iew
required: false
schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
+ items:
+ type: string
+ type: array
style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PowerOutlet'
- text/csv:
- schema:
- $ref: '#/components/schemas/PowerOutlet'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- /dcim/power-panels/:
- delete:
- description: Destroy a list of power panel objects.
- operationId: dcim_power_panels_bulk_destroy
- parameters:
- explode: true
in: query
- name: format
+ name: description__ire
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- requestBody:
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/BulkOperationRequest'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/BulkOperationRequest'
- type: array
- required: true
- responses:
- "204":
- description: No response body
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- get:
- description: Retrieve a list of power panel objects.
- operationId: dcim_power_panels_list
- parameters:
- explode: true
in: query
- name: contacts
+ name: description__isw
required: false
schema:
items:
type: string
type: array
style: form
- - description: Contacts (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: contacts__isnull
+ name: description__n
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
- name: contacts__n
+ name: description__nic
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: created
+ name: description__nie
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__gt
+ name: description__niew
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__gte
+ name: description__nire
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__isnull
+ name: description__nisw
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: created__lt
+ name: description__nre
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__lte
+ name: description__re
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__n
+ name: device
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
@@ -62510,85 +57902,162 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Phase (for three-phase feeds)
+ explode: true
+ in: query
+ name: feed_leg
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: format
+ name: feed_leg__ic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: feed_leg__ie
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- - description: Has power feeds
- explode: true
+ - explode: true
in: query
- name: has_power_feeds
+ name: feed_leg__iew
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
- explode: true
+ - explode: true
in: query
- name: id
+ name: feed_leg__ire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ic
+ name: feed_leg__isw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ie
+ name: feed_leg__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: feed_leg__nic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: feed_leg__nie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: feed_leg__niew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: feed_leg__nire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: feed_leg__nisw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: feed_leg__nre
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: feed_leg__re
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: Has cable
+ explode: true
+ in: query
+ name: has_cable
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
+ in: query
+ name: id
required: false
schema:
items:
@@ -62608,138 +58077,127 @@ paths:
style: form
- explode: true
in: query
- name: id__nic
+ name: label
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: label__ic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: label__ie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nire
+ name: label__iew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nisw
+ name: label__ire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nre
+ name: label__isw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__re
+ name: label__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated
+ name: label__nic
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__gt
+ name: label__nie
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__gte
+ name: label__niew
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__isnull
+ name: label__nire
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: last_updated__lt
+ name: label__nisw
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__lte
+ name: label__nre
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__n
+ name: label__re
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
@@ -62769,6 +58227,32 @@ paths:
type: string
type: array
style: form
+ - explode: true
+ in: query
+ name: module
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Module (model or ID) is null
+ explode: true
+ in: query
+ name: module__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: module__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- explode: true
in: query
name: name
@@ -62903,29 +58387,32 @@ paths:
schema:
type: integer
style: form
- - explode: true
+ - description: Power port
+ explode: true
in: query
- name: power_feeds
+ name: power_port
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- - description: Power feeds (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: power_feeds__isnull
+ name: power_port__isnull
required: false
schema:
type: boolean
style: form
- - explode: true
+ - description: Power port
+ explode: true
in: query
- name: power_feeds__n
+ name: power_port__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
@@ -62937,43 +58424,78 @@ paths:
schema:
type: string
style: form
+ - description: Which field to use when ordering the results.
+ explode: true
+ in: query
+ name: sort
+ required: false
+ schema:
+ type: string
+ style: form
- explode: true
in: query
- name: rack_group
+ name: tags
required: false
schema:
items:
type: string
type: array
style: form
- - description: Rack group (name or ID) is null
+ - explode: true
+ in: query
+ name: tags__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: tags__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: teams
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Teams (name or ID) is null
explode: true
in: query
- name: rack_group__isnull
+ name: teams__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: rack_group__n
+ name: teams__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Which field to use when ordering the results.
+ - description: Physical port type
explode: true
in: query
- name: sort
+ name: type
required: false
schema:
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: tags
+ name: type__ic
required: false
schema:
items:
@@ -62982,14 +58504,16 @@ paths:
style: form
- explode: true
in: query
- name: tags__isnull
+ name: type__ie
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: tags__n
+ name: type__iew
required: false
schema:
items:
@@ -62998,29 +58522,93 @@ paths:
style: form
- explode: true
in: query
- name: teams
+ name: type__ire
required: false
schema:
items:
type: string
type: array
style: form
- - description: Teams (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: teams__isnull
+ name: type__isw
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
- name: teams__n
+ name: type__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: type__nic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: type__nie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: type__niew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: type__nire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: type__nisw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: type__nre
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: type__re
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -63033,15 +58621,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedPowerPanelList'
+ $ref: "#/components/schemas/PaginatedPowerOutletList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedPowerPanelList'
+ $ref: "#/components/schemas/PaginatedPowerOutletList"
description: ""
security:
- cookieAuth: []
@@ -63049,27 +58646,27 @@ paths:
tags:
- dcim
patch:
- description: Partial update a list of power panel objects.
- operationId: dcim_power_panels_bulk_partial_update
+ description: Partial update a list of power outlet objects.
+ operationId: dcim_power_outlets_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritablePowerPanelRequest'
+ $ref: "#/components/schemas/PatchedBulkWritablePowerOutletRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritablePowerPanelRequest'
+ $ref: "#/components/schemas/PatchedBulkWritablePowerOutletRequest"
type: array
required: true
responses:
@@ -63078,12 +58675,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/PowerPanel'
+ $ref: "#/components/schemas/PowerOutlet"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PowerPanel'
+ $ref: "#/components/schemas/PowerOutlet"
type: array
description: ""
security:
@@ -63092,34 +58689,34 @@ paths:
tags:
- dcim
post:
- description: Create one or more power panel objects.
- operationId: dcim_power_panels_create
+ description: Create one or more power outlet objects.
+ operationId: dcim_power_outlets_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/PowerPanelRequest'
+ $ref: "#/components/schemas/WritablePowerOutletRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PowerPanelRequest'
+ $ref: "#/components/schemas/WritablePowerOutletRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/PowerPanel'
+ $ref: "#/components/schemas/PowerOutlet"
text/csv:
schema:
- $ref: '#/components/schemas/PowerPanel'
+ $ref: "#/components/schemas/PowerOutlet"
description: ""
security:
- cookieAuth: []
@@ -63127,27 +58724,27 @@ paths:
tags:
- dcim
put:
- description: Update a list of power panel objects.
- operationId: dcim_power_panels_bulk_update
+ description: Update a list of power outlet objects.
+ operationId: dcim_power_outlets_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritablePowerPanelRequest'
+ $ref: "#/components/schemas/BulkWritablePowerOutletRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritablePowerPanelRequest'
+ $ref: "#/components/schemas/BulkWritablePowerOutletRequest"
type: array
required: true
responses:
@@ -63156,12 +58753,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/PowerPanel'
+ $ref: "#/components/schemas/PowerOutlet"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PowerPanel'
+ $ref: "#/components/schemas/PowerOutlet"
type: array
description: ""
security:
@@ -63169,19 +58766,19 @@ paths:
- tokenAuth: []
tags:
- dcim
- /dcim/power-panels/{id}/:
+ /dcim/power-outlets/{id}/:
delete:
- description: Destroy a power panel object.
- operationId: dcim_power_panels_destroy
+ description: Destroy a power outlet object.
+ operationId: dcim_power_outlets_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this power panel.
+ - description: A UUID string identifying this power outlet.
explode: false
in: path
name: id
@@ -63199,17 +58796,17 @@ paths:
tags:
- dcim
get:
- description: Retrieve a power panel object.
- operationId: dcim_power_panels_retrieve
+ description: Retrieve a power outlet object.
+ operationId: dcim_power_outlets_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this power panel.
+ - description: A UUID string identifying this power outlet.
explode: false
in: path
name: id
@@ -63229,15 +58826,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PowerPanel'
+ $ref: "#/components/schemas/PowerOutlet"
text/csv:
schema:
- $ref: '#/components/schemas/PowerPanel'
+ $ref: "#/components/schemas/PowerOutlet"
description: ""
security:
- cookieAuth: []
@@ -63245,17 +58851,17 @@ paths:
tags:
- dcim
patch:
- description: Partial update a power panel object.
- operationId: dcim_power_panels_partial_update
+ description: Partial update a power outlet object.
+ operationId: dcim_power_outlets_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this power panel.
+ - description: A UUID string identifying this power outlet.
explode: false
in: path
name: id
@@ -63268,19 +58874,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedPowerPanelRequest'
+ $ref: "#/components/schemas/PatchedWritablePowerOutletRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedPowerPanelRequest'
+ $ref: "#/components/schemas/PatchedWritablePowerOutletRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PowerPanel'
+ $ref: "#/components/schemas/PowerOutlet"
text/csv:
schema:
- $ref: '#/components/schemas/PowerPanel'
+ $ref: "#/components/schemas/PowerOutlet"
description: ""
security:
- cookieAuth: []
@@ -63288,17 +58894,17 @@ paths:
tags:
- dcim
put:
- description: Update a power panel object.
- operationId: dcim_power_panels_update
+ description: Update a power outlet object.
+ operationId: dcim_power_outlets_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this power panel.
+ - description: A UUID string identifying this power outlet.
explode: false
in: path
name: id
@@ -63311,39 +58917,39 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PowerPanelRequest'
+ $ref: "#/components/schemas/WritablePowerOutletRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PowerPanelRequest'
+ $ref: "#/components/schemas/WritablePowerOutletRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PowerPanel'
+ $ref: "#/components/schemas/PowerOutlet"
text/csv:
schema:
- $ref: '#/components/schemas/PowerPanel'
+ $ref: "#/components/schemas/PowerOutlet"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- /dcim/power-panels/{id}/notes/:
+ /dcim/power-outlets/{id}/notes/:
get:
description: API methods for returning or creating notes on an object.
- operationId: dcim_power_panels_notes_list
+ operationId: dcim_power_outlets_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this power panel.
+ - description: A UUID string identifying this power outlet.
explode: false
in: path
name: id
@@ -63379,15 +58985,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -63396,16 +59011,16 @@ paths:
- dcim
post:
description: API methods for returning or creating notes on an object.
- operationId: dcim_power_panels_notes_create
+ operationId: dcim_power_outlets_notes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this power panel.
+ - description: A UUID string identifying this power outlet.
explode: false
in: path
name: id
@@ -63418,49 +59033,106 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- /dcim/power-port-templates/:
+ /dcim/power-outlets/{id}/trace/:
+ get:
+ description: "Trace a complete cable path and return each segment as a three-tuple\
+ \ of (termination, cable, termination)."
+ operationId: dcim_power_outlets_trace_retrieve
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this power outlet.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PowerOutlet"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PowerOutlet"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ /dcim/power-panels/:
delete:
- description: Destroy a list of power port template objects.
- operationId: dcim_power_port_templates_bulk_destroy
+ description: Destroy a list of power panel objects.
+ operationId: dcim_power_panels_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -63472,70 +59144,9 @@ paths:
tags:
- dcim
get:
- description: Retrieve a list of power port template objects.
- operationId: dcim_power_port_templates_list
+ description: Retrieve a list of power panel objects.
+ operationId: dcim_power_panels_list
parameters:
- - explode: true
- in: query
- name: allocated_draw
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: allocated_draw__gt
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: allocated_draw__gte
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: allocated_draw__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: allocated_draw__lt
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: allocated_draw__lte
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: allocated_draw__n
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- explode: true
in: query
name: contacts
@@ -63553,175 +59164,85 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
- schema:
- format: uuid
- type: string
- style: form
- - description: Description
- explode: true
- in: query
- name: description
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Description
- explode: true
- in: query
- name: description__ic
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Description
- explode: true
- in: query
- name: description__ie
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Description
- explode: true
- in: query
- name: description__iew
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Description
- explode: true
- in: query
- name: description__ire
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Description
- explode: true
- in: query
- name: description__isw
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Description
- explode: true
- in: query
- name: description__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Description
- explode: true
- in: query
- name: description__nic
- required: false
schema:
items:
type: string
type: array
style: form
- - description: Description
- explode: true
+ - explode: true
in: query
- name: description__nie
+ name: created
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- - description: Description
- explode: true
+ - explode: true
in: query
- name: description__niew
+ name: created__gt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- - description: Description
- explode: true
+ - explode: true
in: query
- name: description__nire
+ name: created__gte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- - description: Description
- explode: true
+ - explode: true
in: query
- name: description__nisw
+ name: created__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- - description: Description
- explode: true
+ - explode: true
in: query
- name: description__nre
+ name: created__lt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- - description: Description
- explode: true
+ - explode: true
in: query
- name: description__re
+ name: created__lte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: device_type
+ name: created__n
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- - description: Device type (model or ID) is null
- explode: true
- in: query
- name: device_type__isnull
- required: false
- schema:
- type: boolean
- style: form
- explode: true
in: query
- name: device_type__n
+ name: dynamic_groups
required: false
schema:
items:
@@ -63730,54 +59251,38 @@ paths:
style: form
- explode: true
in: query
- name: dynamic_groups
+ name: dynamic_groups__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
- in: query
- name: dynamic_groups__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: Has device type
- explode: true
- in: query
- name: has_device_type
- required: false
- schema:
- type: boolean
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: Has module type
+ - description: Has feeders
explode: true
in: query
- name: has_module_type
+ name: has_feeders
required: false
schema:
type: boolean
style: form
- - description: Has power outlet templates
+ - description: Has power feeds
explode: true
in: query
- name: has_power_outlet_templates
+ name: has_power_feeds
required: false
schema:
type: boolean
style: form
- - description: ID
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
explode: true
in: query
name: id
@@ -63788,10 +59293,9 @@ paths:
type: string
type: array
style: form
- - description: ID contains
- explode: true
+ - explode: true
in: query
- name: id__ic
+ name: id__n
required: false
schema:
items:
@@ -63799,592 +59303,479 @@ paths:
type: string
type: array
style: form
- - description: ID
- explode: true
+ - explode: true
in: query
- name: id__ie
+ name: last_updated
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- - description: ID ends with
- explode: true
+ - explode: true
in: query
- name: id__iew
+ name: last_updated__gt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- - description: ID matches regex
- explode: true
+ - explode: true
in: query
- name: id__ire
+ name: last_updated__gte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- - description: ID starts with
- explode: true
+ - explode: true
in: query
- name: id__isw
+ name: last_updated__isnull
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- - description: Exclude ID
- explode: true
+ - explode: true
in: query
- name: id__n
+ name: last_updated__lt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- - description: Exclude ID contains
- explode: true
+ - explode: true
in: query
- name: id__nic
+ name: last_updated__lte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- - description: Exclude ID
- explode: true
+ - explode: true
in: query
- name: id__nie
+ name: last_updated__n
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- - description: Exclude ID ends with
+ - description: Number of results to return per page.
explode: true
in: query
- name: id__niew
+ name: limit
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: integer
style: form
- - description: Exclude ID matches regex
- explode: true
+ - explode: true
in: query
- name: id__nire
+ name: location
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - description: Exclude ID starts with
- explode: true
+ - explode: true
in: query
- name: id__nisw
+ name: location__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - description: Exclude ID matches regex
- explode: true
+ - explode: true
in: query
- name: id__nre
+ name: name
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - description: ID matches regex
- explode: true
+ - explode: true
in: query
- name: id__re
+ name: name__ic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - description: Label
- explode: true
+ - explode: true
in: query
- name: label
+ name: name__ie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Label
- explode: true
+ - explode: true
in: query
- name: label__ic
+ name: name__iew
required: false
schema:
items:
type: string
type: array
style: form
- - description: Label
- explode: true
+ - explode: true
in: query
- name: label__ie
+ name: name__ire
required: false
schema:
items:
type: string
type: array
style: form
- - description: Label
- explode: true
+ - explode: true
in: query
- name: label__iew
+ name: name__isw
required: false
schema:
items:
type: string
type: array
style: form
- - description: Label
- explode: true
+ - explode: true
in: query
- name: label__ire
+ name: name__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Label
- explode: true
+ - explode: true
in: query
- name: label__isw
+ name: name__nic
required: false
schema:
items:
type: string
type: array
style: form
- - description: Label
- explode: true
+ - explode: true
in: query
- name: label__n
+ name: name__nie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Label
- explode: true
+ - explode: true
in: query
- name: label__nic
+ name: name__niew
required: false
schema:
items:
type: string
type: array
style: form
- - description: Label
- explode: true
+ - explode: true
in: query
- name: label__nie
+ name: name__nire
required: false
schema:
items:
type: string
type: array
style: form
- - description: Label
- explode: true
+ - explode: true
in: query
- name: label__niew
+ name: name__nisw
required: false
schema:
items:
type: string
type: array
style: form
- - description: Label
- explode: true
+ - explode: true
in: query
- name: label__nire
+ name: name__nre
required: false
schema:
items:
type: string
type: array
style: form
- - description: Label
- explode: true
+ - explode: true
in: query
- name: label__nisw
+ name: name__re
required: false
schema:
items:
type: string
type: array
style: form
- - description: Label
+ - description: The initial index from which to return the results.
explode: true
in: query
- name: label__nre
+ name: offset
required: false
schema:
- items:
- type: string
- type: array
+ type: integer
style: form
- - description: Label
- explode: true
+ - explode: true
in: query
- name: label__re
+ name: panel_type
required: false
schema:
items:
type: string
type: array
style: form
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- explode: true
in: query
- name: maximum_draw
+ name: panel_type__ic
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: maximum_draw__gt
+ name: panel_type__ie
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: maximum_draw__gte
+ name: panel_type__iew
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: maximum_draw__isnull
+ name: panel_type__ire
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: maximum_draw__lt
+ name: panel_type__isw
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: maximum_draw__lte
+ name: panel_type__n
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: maximum_draw__n
+ name: panel_type__nic
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: module_type
+ name: panel_type__nie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Module type (model or ID) is null
- explode: true
- in: query
- name: module_type__isnull
- required: false
- schema:
- type: boolean
- style: form
- explode: true
in: query
- name: module_type__n
+ name: panel_type__niew
required: false
schema:
items:
type: string
type: array
style: form
- - description: Name
- explode: true
+ - explode: true
in: query
- name: name
+ name: panel_type__nire
required: false
schema:
items:
type: string
type: array
style: form
- - description: Name
- explode: true
+ - explode: true
in: query
- name: name__ic
+ name: panel_type__nisw
required: false
schema:
items:
type: string
type: array
style: form
- - description: Name
- explode: true
+ - explode: true
in: query
- name: name__ie
+ name: panel_type__nre
required: false
schema:
items:
type: string
type: array
style: form
- - description: Name
- explode: true
+ - explode: true
in: query
- name: name__iew
+ name: panel_type__re
required: false
schema:
items:
type: string
type: array
style: form
- - description: Name
- explode: true
+ - explode: true
in: query
- name: name__ire
+ name: power_feeds
required: false
schema:
items:
type: string
type: array
style: form
- - description: Name
+ - description: Power feeds (name or ID) is null
explode: true
in: query
- name: name__isw
+ name: power_feeds__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- - description: Name
- explode: true
+ - explode: true
in: query
- name: name__n
+ name: power_feeds__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Name
+ - description: Physical power distribution redundancy path.
explode: true
in: query
- name: name__nic
+ name: power_path
required: false
schema:
items:
type: string
type: array
style: form
- - description: Name
- explode: true
+ - explode: true
in: query
- name: name__nie
+ name: power_path__ic
required: false
schema:
items:
type: string
type: array
style: form
- - description: Name
- explode: true
+ - explode: true
in: query
- name: name__niew
+ name: power_path__ie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Name
- explode: true
+ - explode: true
in: query
- name: name__nire
+ name: power_path__iew
required: false
schema:
items:
type: string
type: array
style: form
- - description: Name
- explode: true
+ - explode: true
in: query
- name: name__nisw
+ name: power_path__ire
required: false
schema:
items:
type: string
type: array
style: form
- - description: Name
- explode: true
+ - explode: true
in: query
- name: name__nre
+ name: power_path__isw
required: false
schema:
items:
type: string
type: array
style: form
- - description: Name
- explode: true
+ - explode: true
in: query
- name: name__re
+ name: power_path__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- explode: true
in: query
- name: power_outlet_templates
+ name: power_path__nic
required: false
schema:
items:
type: string
type: array
style: form
- - description: Power outlet templates (name or ID) is null
- explode: true
- in: query
- name: power_outlet_templates__isnull
- required: false
- schema:
- type: boolean
- style: form
- explode: true
in: query
- name: power_outlet_templates__n
+ name: power_path__nie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Search
- explode: true
- in: query
- name: q
- required: false
- schema:
- type: string
- style: form
- - description: Which field to use when ordering the results.
- explode: true
- in: query
- name: sort
- required: false
- schema:
- type: string
- style: form
- explode: true
in: query
- name: teams
+ name: power_path__niew
required: false
schema:
items:
type: string
type: array
style: form
- - description: Teams (name or ID) is null
- explode: true
- in: query
- name: teams__isnull
- required: false
- schema:
- type: boolean
- style: form
- - description: Exclude Teams (name or ID)
- explode: true
- in: query
- name: teams__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
- name: type
+ name: power_path__nire
required: false
schema:
items:
@@ -64393,7 +59784,7 @@ paths:
style: form
- explode: true
in: query
- name: type__ic
+ name: power_path__nisw
required: false
schema:
items:
@@ -64402,7 +59793,7 @@ paths:
style: form
- explode: true
in: query
- name: type__ie
+ name: power_path__nre
required: false
schema:
items:
@@ -64411,61 +59802,58 @@ paths:
style: form
- explode: true
in: query
- name: type__iew
+ name: power_path__re
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Search
+ explode: true
in: query
- name: type__ire
+ name: q
required: false
schema:
- items:
- type: string
- type: array
+ type: string
style: form
- explode: true
in: query
- name: type__isw
+ name: rack_group
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Rack group (name or ID) is null
+ explode: true
in: query
- name: type__n
+ name: rack_group__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: type__nic
+ name: rack_group__n
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Which field to use when ordering the results.
+ explode: true
in: query
- name: type__nie
+ name: sort
required: false
schema:
- items:
- type: string
- type: array
+ type: string
style: form
- explode: true
in: query
- name: type__niew
+ name: tags
required: false
schema:
items:
@@ -64474,16 +59862,14 @@ paths:
style: form
- explode: true
in: query
- name: type__nire
+ name: tags__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: type__nisw
+ name: tags__n
required: false
schema:
items:
@@ -64492,16 +59878,24 @@ paths:
style: form
- explode: true
in: query
- name: type__nre
+ name: teams
required: false
schema:
items:
type: string
type: array
style: form
+ - description: Teams (name or ID) is null
+ explode: true
+ in: query
+ name: teams__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: type__re
+ name: teams__n
required: false
schema:
items:
@@ -64519,15 +59913,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedPowerPortTemplateList'
+ $ref: "#/components/schemas/PaginatedPowerPanelList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedPowerPortTemplateList'
+ $ref: "#/components/schemas/PaginatedPowerPanelList"
description: ""
security:
- cookieAuth: []
@@ -64535,27 +59938,27 @@ paths:
tags:
- dcim
patch:
- description: Partial update a list of power port template objects.
- operationId: dcim_power_port_templates_bulk_partial_update
+ description: Partial update a list of power panel objects.
+ operationId: dcim_power_panels_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritablePowerPortTemplateRequest'
+ $ref: "#/components/schemas/PatchedBulkWritablePowerPanelRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritablePowerPortTemplateRequest'
+ $ref: "#/components/schemas/PatchedBulkWritablePowerPanelRequest"
type: array
required: true
responses:
@@ -64564,12 +59967,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/PowerPortTemplate'
+ $ref: "#/components/schemas/PowerPanel"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PowerPortTemplate'
+ $ref: "#/components/schemas/PowerPanel"
type: array
description: ""
security:
@@ -64578,34 +59981,34 @@ paths:
tags:
- dcim
post:
- description: Create one or more power port template objects.
- operationId: dcim_power_port_templates_create
+ description: Create one or more power panel objects.
+ operationId: dcim_power_panels_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritablePowerPortTemplateRequest'
+ $ref: "#/components/schemas/WritablePowerPanelRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritablePowerPortTemplateRequest'
+ $ref: "#/components/schemas/WritablePowerPanelRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/PowerPortTemplate'
+ $ref: "#/components/schemas/PowerPanel"
text/csv:
schema:
- $ref: '#/components/schemas/PowerPortTemplate'
+ $ref: "#/components/schemas/PowerPanel"
description: ""
security:
- cookieAuth: []
@@ -64613,27 +60016,27 @@ paths:
tags:
- dcim
put:
- description: Update a list of power port template objects.
- operationId: dcim_power_port_templates_bulk_update
+ description: Update a list of power panel objects.
+ operationId: dcim_power_panels_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritablePowerPortTemplateRequest'
+ $ref: "#/components/schemas/BulkWritablePowerPanelRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritablePowerPortTemplateRequest'
+ $ref: "#/components/schemas/BulkWritablePowerPanelRequest"
type: array
required: true
responses:
@@ -64642,12 +60045,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/PowerPortTemplate'
+ $ref: "#/components/schemas/PowerPanel"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PowerPortTemplate'
+ $ref: "#/components/schemas/PowerPanel"
type: array
description: ""
security:
@@ -64655,19 +60058,19 @@ paths:
- tokenAuth: []
tags:
- dcim
- /dcim/power-port-templates/{id}/:
+ /dcim/power-panels/{id}/:
delete:
- description: Destroy a power port template object.
- operationId: dcim_power_port_templates_destroy
+ description: Destroy a power panel object.
+ operationId: dcim_power_panels_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this power port template.
+ - description: A UUID string identifying this power panel.
explode: false
in: path
name: id
@@ -64685,17 +60088,17 @@ paths:
tags:
- dcim
get:
- description: Retrieve a power port template object.
- operationId: dcim_power_port_templates_retrieve
+ description: Retrieve a power panel object.
+ operationId: dcim_power_panels_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this power port template.
+ - description: A UUID string identifying this power panel.
explode: false
in: path
name: id
@@ -64715,15 +60118,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PowerPortTemplate'
+ $ref: "#/components/schemas/PowerPanel"
text/csv:
schema:
- $ref: '#/components/schemas/PowerPortTemplate'
+ $ref: "#/components/schemas/PowerPanel"
description: ""
security:
- cookieAuth: []
@@ -64731,17 +60143,17 @@ paths:
tags:
- dcim
patch:
- description: Partial update a power port template object.
- operationId: dcim_power_port_templates_partial_update
+ description: Partial update a power panel object.
+ operationId: dcim_power_panels_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this power port template.
+ - description: A UUID string identifying this power panel.
explode: false
in: path
name: id
@@ -64754,19 +60166,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedWritablePowerPortTemplateRequest'
+ $ref: "#/components/schemas/PatchedWritablePowerPanelRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedWritablePowerPortTemplateRequest'
+ $ref: "#/components/schemas/PatchedWritablePowerPanelRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PowerPortTemplate'
+ $ref: "#/components/schemas/PowerPanel"
text/csv:
schema:
- $ref: '#/components/schemas/PowerPortTemplate'
+ $ref: "#/components/schemas/PowerPanel"
description: ""
security:
- cookieAuth: []
@@ -64774,17 +60186,17 @@ paths:
tags:
- dcim
put:
- description: Update a power port template object.
- operationId: dcim_power_port_templates_update
+ description: Update a power panel object.
+ operationId: dcim_power_panels_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this power port template.
+ - description: A UUID string identifying this power panel.
explode: false
in: path
name: id
@@ -64797,39 +60209,39 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritablePowerPortTemplateRequest'
+ $ref: "#/components/schemas/WritablePowerPanelRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritablePowerPortTemplateRequest'
+ $ref: "#/components/schemas/WritablePowerPanelRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PowerPortTemplate'
+ $ref: "#/components/schemas/PowerPanel"
text/csv:
schema:
- $ref: '#/components/schemas/PowerPortTemplate'
+ $ref: "#/components/schemas/PowerPanel"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- /dcim/power-port-templates/{id}/notes/:
+ /dcim/power-panels/{id}/notes/:
get:
description: API methods for returning or creating notes on an object.
- operationId: dcim_power_port_templates_notes_list
+ operationId: dcim_power_panels_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this power port template.
+ - description: A UUID string identifying this power panel.
explode: false
in: path
name: id
@@ -64865,15 +60277,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -64882,16 +60303,16 @@ paths:
- dcim
post:
description: API methods for returning or creating notes on an object.
- operationId: dcim_power_port_templates_notes_create
+ operationId: dcim_power_panels_notes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this power port template.
+ - description: A UUID string identifying this power panel.
explode: false
in: path
name: id
@@ -64904,49 +60325,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- /dcim/power-ports/:
+ /dcim/power-port-templates/:
delete:
- description: Destroy a list of power port objects.
- operationId: dcim_power_ports_bulk_destroy
+ description: Destroy a list of power port template objects.
+ operationId: dcim_power_port_templates_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -64958,8 +60379,8 @@ paths:
tags:
- dcim
get:
- description: Retrieve a list of power port objects.
- operationId: dcim_power_ports_list
+ description: Retrieve a list of power port template objects.
+ operationId: dcim_power_port_templates_list
parameters:
- explode: true
in: query
@@ -65022,70 +60443,34 @@ paths:
type: integer
type: array
style: form
- - description: Cable
- explode: true
- in: query
- name: cable
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
- name: cable__isnull
- required: false
- schema:
- type: boolean
- style: form
- - description: Cable
- explode: true
- in: query
- name: cable__n
+ name: contacts
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - description: Connected status (bool)
+ - description: Contacts (name or ID) is null
explode: true
in: query
- name: connected
+ name: contacts__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: contacts
+ name: contacts__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Contacts (name or ID) is null
- explode: true
- in: query
- name: contacts__isnull
- required: false
- schema:
- type: boolean
- style: form
- - description: Exclude Contacts (name or ID)
+ - description: Description
explode: true
- in: query
- name: contacts__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- - explode: true
in: query
name: description
required: false
@@ -65094,7 +60479,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Description
+ explode: true
in: query
name: description__ic
required: false
@@ -65103,7 +60489,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Description
+ explode: true
in: query
name: description__ie
required: false
@@ -65112,7 +60499,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Description
+ explode: true
in: query
name: description__iew
required: false
@@ -65121,7 +60509,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Description
+ explode: true
in: query
name: description__ire
required: false
@@ -65130,7 +60519,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Description
+ explode: true
in: query
name: description__isw
required: false
@@ -65139,7 +60529,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Description
+ explode: true
in: query
name: description__n
required: false
@@ -65148,7 +60539,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Description
+ explode: true
in: query
name: description__nic
required: false
@@ -65157,7 +60549,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Description
+ explode: true
in: query
name: description__nie
required: false
@@ -65166,7 +60559,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Description
+ explode: true
in: query
name: description__niew
required: false
@@ -65175,7 +60569,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Description
+ explode: true
in: query
name: description__nire
required: false
@@ -65184,7 +60579,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Description
+ explode: true
in: query
name: description__nisw
required: false
@@ -65193,7 +60589,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Description
+ explode: true
in: query
name: description__nre
required: false
@@ -65202,7 +60599,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Description
+ explode: true
in: query
name: description__re
required: false
@@ -65213,179 +60611,83 @@ paths:
style: form
- explode: true
in: query
- name: device
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: dynamic_groups
+ name: device_type
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
- in: query
- name: dynamic_groups__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: Has cable
- explode: true
- in: query
- name: has_cable
- required: false
- schema:
- type: boolean
- style: form
- - description: Has power outlets
+ - description: Device type (model or ID) is null
explode: true
in: query
- name: has_power_outlets
+ name: device_type__isnull
required: false
schema:
type: boolean
style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
- explode: true
- in: query
- name: id
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
- name: id__isw
+ name: device_type__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__n
+ name: dynamic_groups
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nic
+ name: dynamic_groups__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: format
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - explode: true
+ - description: Has device type
+ explode: true
in: query
- name: id__niew
+ name: has_device_type
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: Has module type
+ explode: true
in: query
- name: id__nire
+ name: has_module_type
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: Has power outlet templates
+ explode: true
in: query
- name: id__nisw
+ name: has_power_outlet_templates
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: ID
+ explode: true
in: query
- name: id__nre
+ name: id
required: false
schema:
items:
@@ -65393,9 +60695,10 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Exclude ID
+ explode: true
in: query
- name: id__re
+ name: id__n
required: false
schema:
items:
@@ -65403,7 +60706,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Label
+ explode: true
in: query
name: label
required: false
@@ -65412,7 +60716,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Label
+ explode: true
in: query
name: label__ic
required: false
@@ -65421,7 +60726,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Label
+ explode: true
in: query
name: label__ie
required: false
@@ -65430,7 +60736,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Label
+ explode: true
in: query
name: label__iew
required: false
@@ -65439,7 +60746,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Label
+ explode: true
in: query
name: label__ire
required: false
@@ -65448,7 +60756,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Label
+ explode: true
in: query
name: label__isw
required: false
@@ -65457,7 +60766,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Label
+ explode: true
in: query
name: label__n
required: false
@@ -65466,7 +60776,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Label
+ explode: true
in: query
name: label__nic
required: false
@@ -65475,7 +60786,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Label
+ explode: true
in: query
name: label__nie
required: false
@@ -65484,7 +60796,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Label
+ explode: true
in: query
name: label__niew
required: false
@@ -65493,7 +60806,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Label
+ explode: true
in: query
name: label__nire
required: false
@@ -65502,7 +60816,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Label
+ explode: true
in: query
name: label__nisw
required: false
@@ -65511,7 +60826,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Label
+ explode: true
in: query
name: label__nre
required: false
@@ -65520,7 +60836,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Label
+ explode: true
in: query
name: label__re
required: false
@@ -65537,24 +60854,6 @@ paths:
schema:
type: integer
style: form
- - explode: true
- in: query
- name: location
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: location__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- explode: true
in: query
name: maximum_draw
@@ -65618,31 +60917,32 @@ paths:
style: form
- explode: true
in: query
- name: module
+ name: module_type
required: false
schema:
items:
type: string
type: array
style: form
- - description: Module (model or ID) is null
+ - description: Module type (model or ID) is null
explode: true
in: query
- name: module__isnull
+ name: module_type__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: module__n
+ name: module_type__n
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Name
+ explode: true
in: query
name: name
required: false
@@ -65651,7 +60951,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Name
+ explode: true
in: query
name: name__ic
required: false
@@ -65660,7 +60961,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Name
+ explode: true
in: query
name: name__ie
required: false
@@ -65669,7 +60971,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Name
+ explode: true
in: query
name: name__iew
required: false
@@ -65678,7 +60981,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Name
+ explode: true
in: query
name: name__ire
required: false
@@ -65687,7 +60991,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Name
+ explode: true
in: query
name: name__isw
required: false
@@ -65696,7 +61001,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Name
+ explode: true
in: query
name: name__n
required: false
@@ -65705,7 +61011,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Name
+ explode: true
in: query
name: name__nic
required: false
@@ -65714,7 +61021,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Name
+ explode: true
in: query
name: name__nie
required: false
@@ -65723,7 +61031,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Name
+ explode: true
in: query
name: name__niew
required: false
@@ -65732,7 +61041,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Name
+ explode: true
in: query
name: name__nire
required: false
@@ -65741,7 +61051,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Name
+ explode: true
in: query
name: name__nisw
required: false
@@ -65750,7 +61061,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Name
+ explode: true
in: query
name: name__nre
required: false
@@ -65759,7 +61071,8 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Name
+ explode: true
in: query
name: name__re
required: false
@@ -65778,24 +61091,24 @@ paths:
style: form
- explode: true
in: query
- name: power_outlets
+ name: power_outlet_templates
required: false
schema:
items:
type: string
type: array
style: form
- - description: Power outlets (name or ID) is null
+ - description: Power outlet templates (name or ID) is null
explode: true
in: query
- name: power_outlets__isnull
+ name: power_outlet_templates__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: power_outlets__n
+ name: power_outlet_templates__n
required: false
schema:
items:
@@ -65818,31 +61131,6 @@ paths:
schema:
type: string
style: form
- - explode: true
- in: query
- name: tags
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: tags__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: tags__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- explode: true
in: query
name: teams
@@ -65860,17 +61148,16 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type
required: false
@@ -65879,8 +61166,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__ic
required: false
@@ -65889,8 +61175,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__ie
required: false
@@ -65899,8 +61184,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__iew
required: false
@@ -65909,8 +61193,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__ire
required: false
@@ -65919,8 +61202,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__isw
required: false
@@ -65929,8 +61211,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__n
required: false
@@ -65939,8 +61220,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__nic
required: false
@@ -65949,8 +61229,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__nie
required: false
@@ -65959,8 +61238,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__niew
required: false
@@ -65969,8 +61247,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__nire
required: false
@@ -65979,8 +61256,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__nisw
required: false
@@ -65989,8 +61265,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__nre
required: false
@@ -65999,8 +61274,7 @@ paths:
type: string
type: array
style: form
- - description: Physical port type
- explode: true
+ - explode: true
in: query
name: type__re
required: false
@@ -66020,15 +61294,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedPowerPortList'
+ $ref: "#/components/schemas/PaginatedPowerPortTemplateList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedPowerPortList'
+ $ref: "#/components/schemas/PaginatedPowerPortTemplateList"
description: ""
security:
- cookieAuth: []
@@ -66036,27 +61319,27 @@ paths:
tags:
- dcim
patch:
- description: Partial update a list of power port objects.
- operationId: dcim_power_ports_bulk_partial_update
+ description: Partial update a list of power port template objects.
+ operationId: dcim_power_port_templates_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritablePowerPortRequest'
+ $ref: "#/components/schemas/PatchedBulkWritablePowerPortTemplateRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritablePowerPortRequest'
+ $ref: "#/components/schemas/PatchedBulkWritablePowerPortTemplateRequest"
type: array
required: true
responses:
@@ -66065,12 +61348,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/PowerPort'
+ $ref: "#/components/schemas/PowerPortTemplate"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PowerPort'
+ $ref: "#/components/schemas/PowerPortTemplate"
type: array
description: ""
security:
@@ -66079,34 +61362,34 @@ paths:
tags:
- dcim
post:
- description: Create one or more power port objects.
- operationId: dcim_power_ports_create
+ description: Create one or more power port template objects.
+ operationId: dcim_power_port_templates_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritablePowerPortRequest'
+ $ref: "#/components/schemas/WritablePowerPortTemplateRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritablePowerPortRequest'
+ $ref: "#/components/schemas/WritablePowerPortTemplateRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/PowerPort'
+ $ref: "#/components/schemas/PowerPortTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/PowerPort'
+ $ref: "#/components/schemas/PowerPortTemplate"
description: ""
security:
- cookieAuth: []
@@ -66114,27 +61397,27 @@ paths:
tags:
- dcim
put:
- description: Update a list of power port objects.
- operationId: dcim_power_ports_bulk_update
+ description: Update a list of power port template objects.
+ operationId: dcim_power_port_templates_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritablePowerPortRequest'
+ $ref: "#/components/schemas/BulkWritablePowerPortTemplateRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritablePowerPortRequest'
+ $ref: "#/components/schemas/BulkWritablePowerPortTemplateRequest"
type: array
required: true
responses:
@@ -66143,12 +61426,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/PowerPort'
+ $ref: "#/components/schemas/PowerPortTemplate"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PowerPort'
+ $ref: "#/components/schemas/PowerPortTemplate"
type: array
description: ""
security:
@@ -66156,19 +61439,19 @@ paths:
- tokenAuth: []
tags:
- dcim
- /dcim/power-ports/{id}/:
+ /dcim/power-port-templates/{id}/:
delete:
- description: Destroy a power port object.
- operationId: dcim_power_ports_destroy
+ description: Destroy a power port template object.
+ operationId: dcim_power_port_templates_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this power port.
+ - description: A UUID string identifying this power port template.
explode: false
in: path
name: id
@@ -66186,17 +61469,17 @@ paths:
tags:
- dcim
get:
- description: Retrieve a power port object.
- operationId: dcim_power_ports_retrieve
+ description: Retrieve a power port template object.
+ operationId: dcim_power_port_templates_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this power port.
+ - description: A UUID string identifying this power port template.
explode: false
in: path
name: id
@@ -66216,76 +61499,42 @@ paths:
minimum: 0
type: integer
style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PowerPort'
- text/csv:
- schema:
- $ref: '#/components/schemas/PowerPort'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- patch:
- description: Partial update a power port object.
- operationId: dcim_power_ports_partial_update
- parameters:
- - explode: true
+ - description: Exclude many-to-many fields from the response
+ explode: true
in: query
- name: format
+ name: exclude_m2m
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ default: false
+ type: boolean
style: form
- - description: A UUID string identifying this power port.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PatchedWritablePowerPortRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/PatchedWritablePowerPortRequest'
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PowerPort'
+ $ref: "#/components/schemas/PowerPortTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/PowerPort'
+ $ref: "#/components/schemas/PowerPortTemplate"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- put:
- description: Update a power port object.
- operationId: dcim_power_ports_update
+ patch:
+ description: Partial update a power port template object.
+ operationId: dcim_power_port_templates_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this power port.
+ - description: A UUID string identifying this power port template.
explode: false
in: path
name: id
@@ -66298,101 +61547,37 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritablePowerPortRequest'
+ $ref: "#/components/schemas/PatchedWritablePowerPortTemplateRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritablePowerPortRequest'
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PowerPort'
- text/csv:
- schema:
- $ref: '#/components/schemas/PowerPort'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- /dcim/power-ports/{id}/notes/:
- get:
- description: API methods for returning or creating notes on an object.
- operationId: dcim_power_ports_notes_list
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this power port.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
- style: form
+ $ref: "#/components/schemas/PatchedWritablePowerPortTemplateRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PowerPortTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PowerPortTemplate"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- post:
- description: API methods for returning or creating notes on an object.
- operationId: dcim_power_ports_notes_create
+ put:
+ description: Update a power port template object.
+ operationId: dcim_power_port_templates_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this power port.
+ - description: A UUID string identifying this power port template.
explode: false
in: path
name: id
@@ -66405,97 +61590,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/WritablePowerPortTemplateRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/WritablePowerPortTemplateRequest"
required: true
- responses:
- "201":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Note'
- text/csv:
- schema:
- $ref: '#/components/schemas/Note'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- /dcim/power-ports/{id}/trace/:
- get:
- description: "Trace a complete cable path and return each segment as a three-tuple\
- \ of (termination, cable, termination)."
- operationId: dcim_power_ports_trace_retrieve
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this power port.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
- style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PowerPort'
+ $ref: "#/components/schemas/PowerPortTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/PowerPort'
+ $ref: "#/components/schemas/PowerPortTemplate"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- /dcim/rack-groups/:
+ /dcim/power-ports/:
delete:
- description: Destroy a list of rack group objects.
- operationId: dcim_rack_groups_bulk_destroy
+ description: Destroy a list of power port objects.
+ operationId: dcim_power_ports_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -66507,125 +61644,130 @@ paths:
tags:
- dcim
get:
- description: Retrieve a list of rack group objects.
- operationId: dcim_rack_groups_list
+ description: Retrieve a list of power port objects.
+ operationId: dcim_power_ports_list
parameters:
- explode: true
in: query
- name: children
+ name: allocated_draw
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- - description: Children (name or ID) is null
- explode: true
- in: query
- name: children__isnull
- required: false
- schema:
- type: boolean
- style: form
- explode: true
in: query
- name: children__n
+ name: allocated_draw__gt
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: contacts
+ name: allocated_draw__gte
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- - description: Contacts (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: contacts__isnull
+ name: allocated_draw__isnull
required: false
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
- name: contacts__n
+ name: allocated_draw__lt
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: integer
+ type: array
style: form
- explode: true
in: query
- name: created
+ name: allocated_draw__lte
required: false
schema:
items:
- format: date-time
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: created__gt
+ name: allocated_draw__n
required: false
schema:
items:
- format: date-time
- type: string
+ type: integer
type: array
style: form
- - explode: true
+ - description: Cable
+ explode: true
in: query
- name: created__gte
+ name: cable
required: false
schema:
items:
- format: date-time
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: created__isnull
+ name: cable__isnull
required: false
schema:
type: boolean
style: form
- - explode: true
+ - description: Cable
+ explode: true
in: query
- name: created__lt
+ name: cable__n
required: false
schema:
items:
- format: date-time
+ format: uuid
type: string
type: array
style: form
+ - description: Connected status (bool)
+ explode: true
+ in: query
+ name: connected
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: created__lte
+ name: contacts
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
+ - description: Contacts (name or ID) is null
+ explode: true
+ in: query
+ name: contacts__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: created__n
+ name: contacts__n
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
@@ -66757,49 +61899,50 @@ paths:
style: form
- explode: true
in: query
- name: dynamic_groups
+ name: device
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
- name: dynamic_groups__n
+ name: dynamic_groups
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: format
+ name: dynamic_groups__n
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- - description: Has children
- explode: true
+ - explode: true
in: query
- name: has_children
+ name: format
required: false
schema:
- type: boolean
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: Has power panels
+ - description: Has cable
explode: true
in: query
- name: has_power_panels
+ name: has_cable
required: false
schema:
type: boolean
style: form
- - description: Has racks
+ - description: Has power outlets
explode: true
in: query
- name: has_racks
+ name: has_power_outlets
required: false
schema:
type: boolean
@@ -66818,7 +61961,7 @@ paths:
style: form
- explode: true
in: query
- name: id__ic
+ name: id__n
required: false
schema:
items:
@@ -66828,211 +61971,237 @@ paths:
style: form
- explode: true
in: query
- name: id__ie
+ name: label
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: label__ic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: label__ie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: label__iew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__n
+ name: label__ire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nic
+ name: label__isw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: label__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: label__nic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nire
+ name: label__nie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nisw
+ name: label__niew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nre
+ name: label__nire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__re
+ name: label__nisw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated
+ name: label__nre
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__gt
+ name: label__re
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
- explode: true
in: query
- name: last_updated__gte
+ name: location
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__isnull
+ name: location__n
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: last_updated__lt
+ name: maximum_draw
required: false
schema:
items:
- format: date-time
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: last_updated__lte
+ name: maximum_draw__gt
required: false
schema:
items:
- format: date-time
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: last_updated__n
+ name: maximum_draw__gte
required: false
schema:
items:
- format: date-time
- type: string
+ type: integer
type: array
style: form
- - description: Number of results to return per page.
- explode: true
+ - explode: true
in: query
- name: limit
+ name: maximum_draw__isnull
required: false
schema:
- type: integer
+ type: boolean
style: form
- explode: true
in: query
- name: location
+ name: maximum_draw__lt
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: maximum_draw__lte
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: maximum_draw__n
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: module
required: false
schema:
items:
type: string
type: array
style: form
+ - description: Module (model or ID) is null
+ explode: true
+ in: query
+ name: module__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: location__n
+ name: module__n
required: false
schema:
items:
@@ -67175,24 +62344,49 @@ paths:
style: form
- explode: true
in: query
- name: parent
+ name: power_outlets
required: false
schema:
items:
type: string
type: array
style: form
- - description: Parent (name or ID) is null
+ - description: Power outlets (name or ID) is null
explode: true
in: query
- name: parent__isnull
+ name: power_outlets__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: parent__n
+ name: power_outlets__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Search
+ explode: true
+ in: query
+ name: q
+ required: false
+ schema:
+ type: string
+ style: form
+ - description: Which field to use when ordering the results.
+ explode: true
+ in: query
+ name: sort
+ required: false
+ schema:
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: tags
required: false
schema:
items:
@@ -67201,98 +62395,172 @@ paths:
style: form
- explode: true
in: query
- name: power_panels
+ name: tags__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: tags__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Power panels (name or ID) is null
+ - explode: true
+ in: query
+ name: teams
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Teams (name or ID) is null
explode: true
in: query
- name: power_panels__isnull
+ name: teams__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: power_panels__n
+ name: teams__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Search
+ - description: Physical port type
explode: true
in: query
- name: q
+ name: type
required: false
schema:
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: racks
+ name: type__ic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: racks__isnull
+ name: type__ie
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: racks__n
+ name: type__iew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - description: Which field to use when ordering the results.
- explode: true
+ - explode: true
in: query
- name: sort
+ name: type__ire
required: false
schema:
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: teams
+ name: type__isw
required: false
schema:
items:
type: string
type: array
style: form
- - description: Teams (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: teams__isnull
+ name: type__n
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
- name: teams__n
+ name: type__nic
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: type__nie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: type__niew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: type__nire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: type__nisw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: type__nre
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: type__re
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -67305,15 +62573,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedRackGroupList'
+ $ref: "#/components/schemas/PaginatedPowerPortList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedRackGroupList'
+ $ref: "#/components/schemas/PaginatedPowerPortList"
description: ""
security:
- cookieAuth: []
@@ -67321,27 +62598,27 @@ paths:
tags:
- dcim
patch:
- description: Partial update a list of rack group objects.
- operationId: dcim_rack_groups_bulk_partial_update
+ description: Partial update a list of power port objects.
+ operationId: dcim_power_ports_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableRackGroupRequest'
+ $ref: "#/components/schemas/PatchedBulkWritablePowerPortRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableRackGroupRequest'
+ $ref: "#/components/schemas/PatchedBulkWritablePowerPortRequest"
type: array
required: true
responses:
@@ -67350,12 +62627,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/RackGroup'
+ $ref: "#/components/schemas/PowerPort"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/RackGroup'
+ $ref: "#/components/schemas/PowerPort"
type: array
description: ""
security:
@@ -67364,34 +62641,34 @@ paths:
tags:
- dcim
post:
- description: Create one or more rack group objects.
- operationId: dcim_rack_groups_create
+ description: Create one or more power port objects.
+ operationId: dcim_power_ports_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/RackGroupRequest'
+ $ref: "#/components/schemas/WritablePowerPortRequest"
text/csv:
schema:
- $ref: '#/components/schemas/RackGroupRequest'
+ $ref: "#/components/schemas/WritablePowerPortRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/RackGroup'
+ $ref: "#/components/schemas/PowerPort"
text/csv:
schema:
- $ref: '#/components/schemas/RackGroup'
+ $ref: "#/components/schemas/PowerPort"
description: ""
security:
- cookieAuth: []
@@ -67399,27 +62676,27 @@ paths:
tags:
- dcim
put:
- description: Update a list of rack group objects.
- operationId: dcim_rack_groups_bulk_update
+ description: Update a list of power port objects.
+ operationId: dcim_power_ports_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableRackGroupRequest'
+ $ref: "#/components/schemas/BulkWritablePowerPortRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableRackGroupRequest'
+ $ref: "#/components/schemas/BulkWritablePowerPortRequest"
type: array
required: true
responses:
@@ -67428,12 +62705,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/RackGroup'
+ $ref: "#/components/schemas/PowerPort"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/RackGroup'
+ $ref: "#/components/schemas/PowerPort"
type: array
description: ""
security:
@@ -67441,19 +62718,19 @@ paths:
- tokenAuth: []
tags:
- dcim
- /dcim/rack-groups/{id}/:
+ /dcim/power-ports/{id}/:
delete:
- description: Destroy a rack group object.
- operationId: dcim_rack_groups_destroy
+ description: Destroy a power port object.
+ operationId: dcim_power_ports_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this rack group.
+ - description: A UUID string identifying this power port.
explode: false
in: path
name: id
@@ -67471,17 +62748,17 @@ paths:
tags:
- dcim
get:
- description: Retrieve a rack group object.
- operationId: dcim_rack_groups_retrieve
+ description: Retrieve a power port object.
+ operationId: dcim_power_ports_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this rack group.
+ - description: A UUID string identifying this power port.
explode: false
in: path
name: id
@@ -67501,15 +62778,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/RackGroup'
+ $ref: "#/components/schemas/PowerPort"
text/csv:
schema:
- $ref: '#/components/schemas/RackGroup'
+ $ref: "#/components/schemas/PowerPort"
description: ""
security:
- cookieAuth: []
@@ -67517,17 +62803,17 @@ paths:
tags:
- dcim
patch:
- description: Partial update a rack group object.
- operationId: dcim_rack_groups_partial_update
+ description: Partial update a power port object.
+ operationId: dcim_power_ports_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this rack group.
+ - description: A UUID string identifying this power port.
explode: false
in: path
name: id
@@ -67540,19 +62826,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedRackGroupRequest'
+ $ref: "#/components/schemas/PatchedWritablePowerPortRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedRackGroupRequest'
+ $ref: "#/components/schemas/PatchedWritablePowerPortRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/RackGroup'
+ $ref: "#/components/schemas/PowerPort"
text/csv:
schema:
- $ref: '#/components/schemas/RackGroup'
+ $ref: "#/components/schemas/PowerPort"
description: ""
security:
- cookieAuth: []
@@ -67560,17 +62846,17 @@ paths:
tags:
- dcim
put:
- description: Update a rack group object.
- operationId: dcim_rack_groups_update
+ description: Update a power port object.
+ operationId: dcim_power_ports_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this rack group.
+ - description: A UUID string identifying this power port.
explode: false
in: path
name: id
@@ -67583,39 +62869,39 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/RackGroupRequest'
+ $ref: "#/components/schemas/WritablePowerPortRequest"
text/csv:
schema:
- $ref: '#/components/schemas/RackGroupRequest'
+ $ref: "#/components/schemas/WritablePowerPortRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/RackGroup'
+ $ref: "#/components/schemas/PowerPort"
text/csv:
schema:
- $ref: '#/components/schemas/RackGroup'
+ $ref: "#/components/schemas/PowerPort"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- /dcim/rack-groups/{id}/notes/:
+ /dcim/power-ports/{id}/notes/:
get:
description: API methods for returning or creating notes on an object.
- operationId: dcim_rack_groups_notes_list
+ operationId: dcim_power_ports_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this rack group.
+ - description: A UUID string identifying this power port.
explode: false
in: path
name: id
@@ -67651,15 +62937,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -67668,16 +62963,16 @@ paths:
- dcim
post:
description: API methods for returning or creating notes on an object.
- operationId: dcim_rack_groups_notes_create
+ operationId: dcim_power_ports_notes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this rack group.
+ - description: A UUID string identifying this power port.
explode: false
in: path
name: id
@@ -67690,49 +62985,106 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- /dcim/rack-reservations/:
+ /dcim/power-ports/{id}/trace/:
+ get:
+ description: "Trace a complete cable path and return each segment as a three-tuple\
+ \ of (termination, cable, termination)."
+ operationId: dcim_power_ports_trace_retrieve
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this power port.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PowerPort"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PowerPort"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ /dcim/rack-groups/:
delete:
- description: Destroy a list of rack reservation objects.
- operationId: dcim_rack_reservations_bulk_destroy
+ description: Destroy a list of rack group objects.
+ operationId: dcim_rack_groups_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -67744,9 +63096,44 @@ paths:
tags:
- dcim
get:
- description: Retrieve a list of rack reservation objects.
- operationId: dcim_rack_reservations_list
+ description: Retrieve a list of rack group objects.
+ operationId: dcim_rack_groups_list
parameters:
+ - explode: true
+ in: query
+ name: ancestors
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: children
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Children (name or ID) is null
+ explode: true
+ in: query
+ name: children__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: children__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- explode: true
in: query
name: contacts
@@ -67764,14 +63151,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -67975,77 +63362,51 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
- in: query
- name: dynamic_groups__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
- explode: true
- in: query
- name: id
+ name: dynamic_groups__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ic
+ name: format
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - explode: true
+ - description: Has children
+ explode: true
in: query
- name: id__ie
+ name: has_children
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: Has power panels
+ explode: true
in: query
- name: id__iew
+ name: has_power_panels
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: Has racks
+ explode: true
in: query
- name: id__ire
+ name: has_racks
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
in: query
- name: id__isw
+ name: id
required: false
schema:
items:
@@ -68063,76 +63424,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: last_updated
@@ -68208,25 +63499,27 @@ paths:
schema:
type: integer
style: form
- - description: The initial index from which to return the results.
- explode: true
+ - explode: true
in: query
- name: offset
+ name: location
required: false
schema:
- type: integer
+ items:
+ type: string
+ type: array
style: form
- - description: Search
- explode: true
+ - explode: true
in: query
- name: q
+ name: location__n
required: false
schema:
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: rack
+ name: name
required: false
schema:
items:
@@ -68235,7 +63528,7 @@ paths:
style: form
- explode: true
in: query
- name: rack__n
+ name: name__ic
required: false
schema:
items:
@@ -68244,41 +63537,43 @@ paths:
style: form
- explode: true
in: query
- name: rack_group
+ name: name__ie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Rack group (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: rack_group__isnull
+ name: name__iew
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: rack_group__n
+ name: name__ire
required: false
schema:
items:
type: string
type: array
style: form
- - description: Which field to use when ordering the results.
- explode: true
+ - explode: true
in: query
- name: sort
+ name: name__isw
required: false
schema:
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: tags
+ name: name__n
required: false
schema:
items:
@@ -68287,14 +63582,16 @@ paths:
style: form
- explode: true
in: query
- name: tags__isnull
+ name: name__nic
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: tags__n
+ name: name__nie
required: false
schema:
items:
@@ -68303,50 +63600,77 @@ paths:
style: form
- explode: true
in: query
- name: teams
+ name: name__niew
required: false
schema:
items:
type: string
type: array
style: form
- - description: Teams (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: teams__isnull
+ name: name__nire
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__nisw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__nre
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__re
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
style: form
- - description: Exclude Teams (name or ID)
+ - description: The initial index from which to return the results.
explode: true
in: query
- name: teams__n
+ name: offset
required: false
schema:
- format: uuid
- type: string
+ type: integer
style: form
- explode: true
in: query
- name: tenant
+ name: parent
required: false
schema:
items:
type: string
type: array
style: form
- - description: Tenant (name or ID) is null
+ - description: Parent (name or ID) is null
explode: true
in: query
- name: tenant__isnull
+ name: parent__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: tenant__n
+ name: parent__n
required: false
schema:
items:
@@ -68355,74 +63679,93 @@ paths:
style: form
- explode: true
in: query
- name: tenant_group
+ name: power_panels
required: false
schema:
items:
type: string
type: array
style: form
- - description: Tenant Group (name or ID) is null
+ - description: Power panels (name or ID) is null
explode: true
in: query
- name: tenant_group__isnull
+ name: power_panels__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: tenant_group__n
+ name: power_panels__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead)"
+ - description: Search
explode: true
in: query
- name: tenant_id
+ name: q
+ required: false
+ schema:
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: racks
required: false
schema:
items:
format: uuid
- nullable: true
type: string
type: array
style: form
- - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead) is null"
- explode: true
+ - explode: true
in: query
- name: tenant_id__isnull
+ name: racks__isnull
required: false
schema:
type: boolean
style: form
- - description: "Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead)"
- explode: true
+ - explode: true
in: query
- name: tenant_id__n
+ name: racks__n
required: false
schema:
items:
format: uuid
- nullable: true
type: string
type: array
style: form
+ - description: Which field to use when ordering the results.
+ explode: true
+ in: query
+ name: sort
+ required: false
+ schema:
+ type: string
+ style: form
- explode: true
in: query
- name: user
+ name: teams
required: false
schema:
items:
type: string
type: array
style: form
+ - description: Teams (name or ID) is null
+ explode: true
+ in: query
+ name: teams__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: user__n
+ name: teams__n
required: false
schema:
items:
@@ -68440,15 +63783,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedRackReservationList'
+ $ref: "#/components/schemas/PaginatedRackGroupList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedRackReservationList'
+ $ref: "#/components/schemas/PaginatedRackGroupList"
description: ""
security:
- cookieAuth: []
@@ -68456,27 +63808,27 @@ paths:
tags:
- dcim
patch:
- description: Partial update a list of rack reservation objects.
- operationId: dcim_rack_reservations_bulk_partial_update
+ description: Partial update a list of rack group objects.
+ operationId: dcim_rack_groups_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableRackReservationRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableRackGroupRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableRackReservationRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableRackGroupRequest"
type: array
required: true
responses:
@@ -68485,12 +63837,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/RackReservation'
+ $ref: "#/components/schemas/RackGroup"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/RackReservation'
+ $ref: "#/components/schemas/RackGroup"
type: array
description: ""
security:
@@ -68499,34 +63851,34 @@ paths:
tags:
- dcim
post:
- description: Create one or more rack reservation objects.
- operationId: dcim_rack_reservations_create
+ description: Create one or more rack group objects.
+ operationId: dcim_rack_groups_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/RackReservationRequest'
+ $ref: "#/components/schemas/RackGroupRequest"
text/csv:
schema:
- $ref: '#/components/schemas/RackReservationRequest'
+ $ref: "#/components/schemas/RackGroupRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/RackReservation'
+ $ref: "#/components/schemas/RackGroup"
text/csv:
schema:
- $ref: '#/components/schemas/RackReservation'
+ $ref: "#/components/schemas/RackGroup"
description: ""
security:
- cookieAuth: []
@@ -68534,27 +63886,27 @@ paths:
tags:
- dcim
put:
- description: Update a list of rack reservation objects.
- operationId: dcim_rack_reservations_bulk_update
+ description: Update a list of rack group objects.
+ operationId: dcim_rack_groups_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableRackReservationRequest'
+ $ref: "#/components/schemas/BulkWritableRackGroupRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableRackReservationRequest'
+ $ref: "#/components/schemas/BulkWritableRackGroupRequest"
type: array
required: true
responses:
@@ -68563,12 +63915,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/RackReservation'
+ $ref: "#/components/schemas/RackGroup"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/RackReservation'
+ $ref: "#/components/schemas/RackGroup"
type: array
description: ""
security:
@@ -68576,19 +63928,19 @@ paths:
- tokenAuth: []
tags:
- dcim
- /dcim/rack-reservations/{id}/:
+ /dcim/rack-groups/{id}/:
delete:
- description: Destroy a rack reservation object.
- operationId: dcim_rack_reservations_destroy
+ description: Destroy a rack group object.
+ operationId: dcim_rack_groups_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this rack reservation.
+ - description: A UUID string identifying this rack group.
explode: false
in: path
name: id
@@ -68606,17 +63958,17 @@ paths:
tags:
- dcim
get:
- description: Retrieve a rack reservation object.
- operationId: dcim_rack_reservations_retrieve
+ description: Retrieve a rack group object.
+ operationId: dcim_rack_groups_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this rack reservation.
+ - description: A UUID string identifying this rack group.
explode: false
in: path
name: id
@@ -68636,15 +63988,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/RackReservation'
+ $ref: "#/components/schemas/RackGroup"
text/csv:
schema:
- $ref: '#/components/schemas/RackReservation'
+ $ref: "#/components/schemas/RackGroup"
description: ""
security:
- cookieAuth: []
@@ -68652,17 +64013,17 @@ paths:
tags:
- dcim
patch:
- description: Partial update a rack reservation object.
- operationId: dcim_rack_reservations_partial_update
+ description: Partial update a rack group object.
+ operationId: dcim_rack_groups_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this rack reservation.
+ - description: A UUID string identifying this rack group.
explode: false
in: path
name: id
@@ -68675,19 +64036,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedRackReservationRequest'
+ $ref: "#/components/schemas/PatchedRackGroupRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedRackReservationRequest'
+ $ref: "#/components/schemas/PatchedRackGroupRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/RackReservation'
+ $ref: "#/components/schemas/RackGroup"
text/csv:
schema:
- $ref: '#/components/schemas/RackReservation'
+ $ref: "#/components/schemas/RackGroup"
description: ""
security:
- cookieAuth: []
@@ -68695,17 +64056,17 @@ paths:
tags:
- dcim
put:
- description: Update a rack reservation object.
- operationId: dcim_rack_reservations_update
+ description: Update a rack group object.
+ operationId: dcim_rack_groups_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this rack reservation.
+ - description: A UUID string identifying this rack group.
explode: false
in: path
name: id
@@ -68718,39 +64079,39 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/RackReservationRequest'
+ $ref: "#/components/schemas/RackGroupRequest"
text/csv:
schema:
- $ref: '#/components/schemas/RackReservationRequest'
+ $ref: "#/components/schemas/RackGroupRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/RackReservation'
+ $ref: "#/components/schemas/RackGroup"
text/csv:
schema:
- $ref: '#/components/schemas/RackReservation'
+ $ref: "#/components/schemas/RackGroup"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- /dcim/rack-reservations/{id}/notes/:
+ /dcim/rack-groups/{id}/notes/:
get:
description: API methods for returning or creating notes on an object.
- operationId: dcim_rack_reservations_notes_list
+ operationId: dcim_rack_groups_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this rack reservation.
+ - description: A UUID string identifying this rack group.
explode: false
in: path
name: id
@@ -68786,15 +64147,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -68803,16 +64173,16 @@ paths:
- dcim
post:
description: API methods for returning or creating notes on an object.
- operationId: dcim_rack_reservations_notes_create
+ operationId: dcim_rack_groups_notes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this rack reservation.
+ - description: A UUID string identifying this rack group.
explode: false
in: path
name: id
@@ -68825,49 +64195,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- /dcim/racks/:
+ /dcim/rack-reservations/:
delete:
- description: Destroy a list of rack objects.
- operationId: dcim_racks_bulk_destroy
+ description: Destroy a list of rack reservation objects.
+ operationId: dcim_rack_reservations_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -68879,21 +64249,29 @@ paths:
tags:
- dcim
get:
- description: Retrieve a list of rack objects.
- operationId: dcim_racks_list
+ description: Retrieve a list of rack reservation objects.
+ operationId: dcim_rack_reservations_list
parameters:
- explode: true
in: query
- name: asset_tag
+ name: contacts
required: false
schema:
items:
type: string
type: array
style: form
+ - description: Contacts (name or ID) is null
+ explode: true
+ in: query
+ name: contacts__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: asset_tag__ic
+ name: contacts__n
required: false
schema:
items:
@@ -68902,68 +64280,74 @@ paths:
style: form
- explode: true
in: query
- name: asset_tag__ie
+ name: created
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: asset_tag__iew
+ name: created__gt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: asset_tag__ire
+ name: created__gte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: asset_tag__isnull
+ name: created__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: asset_tag__isw
+ name: created__lt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: asset_tag__n
+ name: created__lte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: asset_tag__nic
+ name: created__n
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: asset_tag__nie
+ name: description
required: false
schema:
items:
@@ -68972,7 +64356,7 @@ paths:
style: form
- explode: true
in: query
- name: asset_tag__niew
+ name: description__ic
required: false
schema:
items:
@@ -68981,7 +64365,7 @@ paths:
style: form
- explode: true
in: query
- name: asset_tag__nire
+ name: description__ie
required: false
schema:
items:
@@ -68990,7 +64374,7 @@ paths:
style: form
- explode: true
in: query
- name: asset_tag__nisw
+ name: description__iew
required: false
schema:
items:
@@ -68999,7 +64383,7 @@ paths:
style: form
- explode: true
in: query
- name: asset_tag__nre
+ name: description__ire
required: false
schema:
items:
@@ -69008,7 +64392,7 @@ paths:
style: form
- explode: true
in: query
- name: asset_tag__re
+ name: description__isw
required: false
schema:
items:
@@ -69017,7 +64401,7 @@ paths:
style: form
- explode: true
in: query
- name: comments
+ name: description__n
required: false
schema:
items:
@@ -69026,7 +64410,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__ic
+ name: description__nic
required: false
schema:
items:
@@ -69035,7 +64419,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__ie
+ name: description__nie
required: false
schema:
items:
@@ -69044,7 +64428,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__iew
+ name: description__niew
required: false
schema:
items:
@@ -69053,7 +64437,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__ire
+ name: description__nire
required: false
schema:
items:
@@ -69062,7 +64446,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__isw
+ name: description__nisw
required: false
schema:
items:
@@ -69071,7 +64455,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__n
+ name: description__nre
required: false
schema:
items:
@@ -69080,7 +64464,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__nic
+ name: description__re
required: false
schema:
items:
@@ -69089,7 +64473,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__nie
+ name: dynamic_groups
required: false
schema:
items:
@@ -69098,7 +64482,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__niew
+ name: dynamic_groups__n
required: false
schema:
items:
@@ -69107,69 +64491,73 @@ paths:
style: form
- explode: true
in: query
- name: comments__nire
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
+ in: query
+ name: id
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: comments__nisw
+ name: id__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: comments__nre
+ name: last_updated
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: comments__re
+ name: last_updated__gt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: contacts
+ name: last_updated__gte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- - description: Contacts (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: contacts__isnull
+ name: last_updated__isnull
required: false
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
- in: query
- name: contacts__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
- name: created
+ name: last_updated__lt
required: false
schema:
items:
@@ -69179,7 +64567,7 @@ paths:
style: form
- explode: true
in: query
- name: created__gt
+ name: last_updated__lte
required: false
schema:
items:
@@ -69189,7 +64577,7 @@ paths:
style: form
- explode: true
in: query
- name: created__gte
+ name: last_updated__n
required: false
schema:
items:
@@ -69197,98 +64585,127 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Number of results to return per page.
+ explode: true
in: query
- name: created__isnull
+ name: limit
required: false
schema:
- type: boolean
+ type: integer
+ style: form
+ - description: The initial index from which to return the results.
+ explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: Search
+ explode: true
+ in: query
+ name: q
+ required: false
+ schema:
+ type: string
style: form
- explode: true
in: query
- name: created__lt
+ name: rack
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__lte
+ name: rack__n
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__n
+ name: rack_group
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - explode: true
+ - description: Rack group (name or ID) is null
+ explode: true
in: query
- name: desc_units
+ name: rack_group__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: devices
+ name: rack_group__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Which field to use when ordering the results.
+ explode: true
+ in: query
+ name: sort
+ required: false
+ schema:
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: tags
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: devices__isnull
+ name: tags__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: devices__n
+ name: tags__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: dynamic_groups
+ name: teams
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
+ - description: Teams (name or ID) is null
explode: true
in: query
- name: dynamic_groups__n
+ name: teams__isnull
required: false
schema:
- format: uuid
- type: string
+ type: boolean
style: form
- explode: true
in: query
- name: facility_id
+ name: teams__n
required: false
schema:
items:
@@ -69297,25 +64714,24 @@ paths:
style: form
- explode: true
in: query
- name: facility_id__ic
+ name: tenant
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Tenant (name or ID) is null
+ explode: true
in: query
- name: facility_id__ie
+ name: tenant__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: facility_id__iew
+ name: tenant__n
required: false
schema:
items:
@@ -69324,50 +64740,65 @@ paths:
style: form
- explode: true
in: query
- name: facility_id__ire
+ name: tenant_group
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Tenant Group (name or ID) is null
+ explode: true
in: query
- name: facility_id__isnull
+ name: tenant_group__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: facility_id__isw
+ name: tenant_group__n
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead)"
+ explode: true
in: query
- name: facility_id__n
+ name: tenant_id
required: false
schema:
items:
+ format: uuid
+ nullable: true
type: string
type: array
style: form
- - explode: true
+ - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead) is null"
+ explode: true
in: query
- name: facility_id__nic
+ name: tenant_id__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - description: "Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead)"
+ explode: true
+ in: query
+ name: tenant_id__n
required: false
schema:
items:
+ format: uuid
+ nullable: true
type: string
type: array
style: form
- explode: true
in: query
- name: facility_id__nie
+ name: user
required: false
schema:
items:
@@ -69376,300 +64807,656 @@ paths:
style: form
- explode: true
in: query
- name: facility_id__niew
+ name: user__n
required: false
schema:
items:
type: string
type: array
style: form
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedRackReservationList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedRackReservationList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ patch:
+ description: Partial update a list of rack reservation objects.
+ operationId: dcim_rack_reservations_bulk_partial_update
+ parameters:
- explode: true
in: query
- name: facility_id__nire
+ name: format
required: false
schema:
- items:
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableRackReservationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableRackReservationRequest"
+ type: array
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/RackReservation"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/RackReservation"
+ type: array
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ post:
+ description: Create one or more rack reservation objects.
+ operationId: dcim_rack_reservations_create
+ parameters:
- explode: true
in: query
- name: facility_id__nisw
+ name: format
required: false
schema:
- items:
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/RackReservationRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/RackReservationRequest"
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/RackReservation"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/RackReservation"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ put:
+ description: Update a list of rack reservation objects.
+ operationId: dcim_rack_reservations_bulk_update
+ parameters:
- explode: true
in: query
- name: facility_id__nre
+ name: format
required: false
schema:
- items:
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableRackReservationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableRackReservationRequest"
+ type: array
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/RackReservation"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/RackReservation"
+ type: array
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ /dcim/rack-reservations/{id}/:
+ delete:
+ description: Destroy a rack reservation object.
+ operationId: dcim_rack_reservations_destroy
+ parameters:
- explode: true
in: query
- name: facility_id__re
+ name: format
required: false
schema:
- items:
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ - description: A UUID string identifying this rack reservation.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ get:
+ description: Retrieve a rack reservation object.
+ operationId: dcim_rack_reservations_retrieve
+ parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: Has devices
+ - description: A UUID string identifying this rack reservation.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Serializer Depth
explode: true
in: query
- name: has_devices
+ name: depth
required: false
schema:
- type: boolean
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
style: form
- - description: Has power feeds
+ - description: Exclude many-to-many fields from the response
explode: true
in: query
- name: has_power_feeds
+ name: exclude_m2m
required: false
schema:
+ default: false
type: boolean
style: form
- - description: Has rack reservations
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/RackReservation"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/RackReservation"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ patch:
+ description: Partial update a rack reservation object.
+ operationId: dcim_rack_reservations_partial_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this rack reservation.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PatchedRackReservationRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PatchedRackReservationRequest"
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/RackReservation"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/RackReservation"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ put:
+ description: Update a rack reservation object.
+ operationId: dcim_rack_reservations_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this rack reservation.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/RackReservationRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/RackReservationRequest"
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/RackReservation"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/RackReservation"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ /dcim/rack-reservations/{id}/notes/:
+ get:
+ description: API methods for returning or creating notes on an object.
+ operationId: dcim_rack_reservations_notes_list
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this rack reservation.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Number of results to return per page.
explode: true
in: query
- name: has_rack_reservations
+ name: limit
required: false
schema:
- type: boolean
+ type: integer
style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
+ - description: The initial index from which to return the results.
explode: true
in: query
- name: id
+ name: offset
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: integer
style: form
- - explode: true
+ - description: Serializer Depth
+ explode: true
in: query
- name: id__ic
+ name: depth
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ post:
+ description: API methods for returning or creating notes on an object.
+ operationId: dcim_rack_reservations_notes_create
+ parameters:
- explode: true
in: query
- name: id__ie
+ name: format
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ - description: A UUID string identifying this rack reservation.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Note"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/Note"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ /dcim/racks/:
+ delete:
+ description: Destroy a list of rack objects.
+ operationId: dcim_racks_bulk_destroy
+ parameters:
- explode: true
in: query
- name: id__iew
+ name: format
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ required: true
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ get:
+ description: Retrieve a list of rack objects.
+ operationId: dcim_racks_list
+ parameters:
- explode: true
in: query
- name: id__ire
+ name: asset_tag
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: asset_tag__ic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__n
+ name: asset_tag__ie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nic
+ name: asset_tag__iew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: asset_tag__ire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: asset_tag__isnull
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: id__nire
+ name: asset_tag__isw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nisw
+ name: asset_tag__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nre
+ name: asset_tag__nic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__re
+ name: asset_tag__nie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated
+ name: asset_tag__niew
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__gt
+ name: asset_tag__nire
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__gte
+ name: asset_tag__nisw
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__isnull
+ name: asset_tag__nre
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: last_updated__lt
+ name: asset_tag__re
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__lte
+ name: comments
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__n
+ name: comments__ic
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - description: Number of results to return per page.
- explode: true
+ - explode: true
in: query
- name: limit
+ name: comments__ie
required: false
schema:
- type: integer
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: location
+ name: comments__iew
required: false
schema:
items:
@@ -69678,7 +65465,7 @@ paths:
style: form
- explode: true
in: query
- name: location__n
+ name: comments__ire
required: false
schema:
items:
@@ -69687,7 +65474,7 @@ paths:
style: form
- explode: true
in: query
- name: name
+ name: comments__isw
required: false
schema:
items:
@@ -69696,7 +65483,7 @@ paths:
style: form
- explode: true
in: query
- name: name__ic
+ name: comments__n
required: false
schema:
items:
@@ -69705,7 +65492,7 @@ paths:
style: form
- explode: true
in: query
- name: name__ie
+ name: comments__nic
required: false
schema:
items:
@@ -69714,7 +65501,7 @@ paths:
style: form
- explode: true
in: query
- name: name__iew
+ name: comments__nie
required: false
schema:
items:
@@ -69723,7 +65510,7 @@ paths:
style: form
- explode: true
in: query
- name: name__ire
+ name: comments__niew
required: false
schema:
items:
@@ -69732,7 +65519,7 @@ paths:
style: form
- explode: true
in: query
- name: name__isw
+ name: comments__nire
required: false
schema:
items:
@@ -69741,7 +65528,7 @@ paths:
style: form
- explode: true
in: query
- name: name__n
+ name: comments__nisw
required: false
schema:
items:
@@ -69750,7 +65537,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nic
+ name: comments__nre
required: false
schema:
items:
@@ -69759,7 +65546,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nie
+ name: comments__re
required: false
schema:
items:
@@ -69768,16 +65555,24 @@ paths:
style: form
- explode: true
in: query
- name: name__niew
+ name: contacts
required: false
schema:
items:
type: string
type: array
style: form
+ - description: Contacts (name or ID) is null
+ explode: true
+ in: query
+ name: contacts__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: name__nire
+ name: contacts__n
required: false
schema:
items:
@@ -69786,103 +65581,108 @@ paths:
style: form
- explode: true
in: query
- name: name__nisw
+ name: created
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: name__nre
+ name: created__gt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: name__re
+ name: created__gte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- - description: The initial index from which to return the results.
- explode: true
+ - explode: true
in: query
- name: offset
+ name: created__isnull
required: false
schema:
- type: integer
+ type: boolean
style: form
- explode: true
in: query
- name: outer_depth
+ name: created__lt
required: false
schema:
items:
- type: integer
+ format: date-time
+ type: string
type: array
style: form
- explode: true
in: query
- name: outer_depth__gt
+ name: created__lte
required: false
schema:
items:
- type: integer
+ format: date-time
+ type: string
type: array
style: form
- explode: true
in: query
- name: outer_depth__gte
+ name: created__n
required: false
schema:
items:
- type: integer
+ format: date-time
+ type: string
type: array
style: form
- explode: true
in: query
- name: outer_depth__isnull
+ name: desc_units
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: outer_depth__lt
+ name: devices
required: false
schema:
items:
- type: integer
+ format: uuid
+ type: string
type: array
style: form
- explode: true
in: query
- name: outer_depth__lte
+ name: devices__isnull
required: false
schema:
- items:
- type: integer
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: outer_depth__n
+ name: devices__n
required: false
schema:
items:
- type: integer
+ format: uuid
+ type: string
type: array
style: form
- explode: true
in: query
- name: outer_unit
+ name: dynamic_groups
required: false
schema:
items:
@@ -69891,7 +65691,7 @@ paths:
style: form
- explode: true
in: query
- name: outer_unit__ic
+ name: dynamic_groups__n
required: false
schema:
items:
@@ -69900,7 +65700,7 @@ paths:
style: form
- explode: true
in: query
- name: outer_unit__ie
+ name: facility_id
required: false
schema:
items:
@@ -69909,7 +65709,7 @@ paths:
style: form
- explode: true
in: query
- name: outer_unit__iew
+ name: facility_id__ic
required: false
schema:
items:
@@ -69918,7 +65718,7 @@ paths:
style: form
- explode: true
in: query
- name: outer_unit__ire
+ name: facility_id__ie
required: false
schema:
items:
@@ -69927,7 +65727,499 @@ paths:
style: form
- explode: true
in: query
- name: outer_unit__isw
+ name: facility_id__iew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: facility_id__ire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: facility_id__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: facility_id__isw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: facility_id__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: facility_id__nic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: facility_id__nie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: facility_id__niew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: facility_id__nire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: facility_id__nisw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: facility_id__nre
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: facility_id__re
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: Has devices
+ explode: true
+ in: query
+ name: has_devices
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - description: Has power feeds
+ explode: true
+ in: query
+ name: has_power_feeds
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - description: Has rack reservations
+ explode: true
+ in: query
+ name: has_rack_reservations
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
+ in: query
+ name: id
+ required: false
+ schema:
+ items:
+ format: uuid
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: id__n
+ required: false
+ schema:
+ items:
+ format: uuid
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: last_updated
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: last_updated__gt
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: last_updated__gte
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: last_updated__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: last_updated__lt
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: last_updated__lte
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: last_updated__n
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
+ - explode: true
+ in: query
+ name: location
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: location__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__ic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__ie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__iew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__ire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__isw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__nic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__nie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__niew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__nire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__nisw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__nre
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__re
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: The initial index from which to return the results.
+ explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
+ - explode: true
+ in: query
+ name: outer_depth
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: outer_depth__gt
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: outer_depth__gte
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: outer_depth__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: outer_depth__lt
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: outer_depth__lte
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: outer_depth__n
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: outer_unit
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: outer_unit__ic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: outer_unit__ie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: outer_unit__iew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: outer_unit__ire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: outer_unit__isw
required: false
schema:
items:
@@ -70171,14 +66463,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Role (name or ID)
- explode: true
+ - explode: true
in: query
name: role__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Serial Number
explode: true
@@ -70190,6 +66482,136 @@ paths:
type: string
type: array
style: form
+ - description: Serial Number contains
+ explode: true
+ in: query
+ name: serial__ic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Serial Number
+ explode: true
+ in: query
+ name: serial__ie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Serial Number ends with
+ explode: true
+ in: query
+ name: serial__iew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Serial Number matches regex
+ explode: true
+ in: query
+ name: serial__ire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Serial Number starts with
+ explode: true
+ in: query
+ name: serial__isw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Exclude Serial Number
+ explode: true
+ in: query
+ name: serial__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Exclude Serial Number contains
+ explode: true
+ in: query
+ name: serial__nic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Exclude Serial Number
+ explode: true
+ in: query
+ name: serial__nie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Exclude Serial Number ends with
+ explode: true
+ in: query
+ name: serial__niew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Exclude Serial Number matches regex
+ explode: true
+ in: query
+ name: serial__nire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Exclude Serial Number starts with
+ explode: true
+ in: query
+ name: serial__nisw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Exclude Serial Number matches regex
+ explode: true
+ in: query
+ name: serial__nre
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Serial Number matches regex
+ explode: true
+ in: query
+ name: serial__re
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- description: Which field to use when ordering the results.
explode: true
in: query
@@ -70207,14 +66629,14 @@ paths:
type: string
type: array
style: form
- - description: Exclude Status (name or ID)
- explode: true
+ - explode: true
in: query
name: status__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -70258,14 +66680,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -70541,134 +66963,121 @@ paths:
type: integer
type: array
style: form
- - description: Rail-to-rail width
- explode: true
+ - explode: true
in: query
name: width__ic
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- - description: Rail-to-rail width
- explode: true
+ - explode: true
in: query
name: width__ie
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- - description: Rail-to-rail width
- explode: true
+ - explode: true
in: query
name: width__iew
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- - description: Rail-to-rail width
- explode: true
+ - explode: true
in: query
name: width__ire
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- - description: Rail-to-rail width
- explode: true
+ - explode: true
in: query
name: width__isw
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- - description: Rail-to-rail width
- explode: true
+ - explode: true
in: query
name: width__n
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- - description: Rail-to-rail width
- explode: true
+ - explode: true
in: query
name: width__nic
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- - description: Rail-to-rail width
- explode: true
+ - explode: true
in: query
name: width__nie
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- - description: Rail-to-rail width
- explode: true
+ - explode: true
in: query
name: width__niew
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- - description: Rail-to-rail width
- explode: true
+ - explode: true
in: query
name: width__nire
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- - description: Rail-to-rail width
- explode: true
+ - explode: true
in: query
name: width__nisw
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- - description: Rail-to-rail width
- explode: true
+ - explode: true
in: query
name: width__nre
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- - description: Rail-to-rail width
- explode: true
+ - explode: true
in: query
name: width__re
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- description: Serializer Depth
@@ -70682,15 +67091,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedRackList'
+ $ref: "#/components/schemas/PaginatedRackList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedRackList'
+ $ref: "#/components/schemas/PaginatedRackList"
description: ""
security:
- cookieAuth: []
@@ -70706,19 +67124,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableRackRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableRackRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableRackRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableRackRequest"
type: array
required: true
responses:
@@ -70727,12 +67145,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Rack'
+ $ref: "#/components/schemas/Rack"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Rack'
+ $ref: "#/components/schemas/Rack"
type: array
description: ""
security:
@@ -70749,26 +67167,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableRackRequest'
+ $ref: "#/components/schemas/WritableRackRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableRackRequest'
+ $ref: "#/components/schemas/WritableRackRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Rack'
+ $ref: "#/components/schemas/Rack"
text/csv:
schema:
- $ref: '#/components/schemas/Rack'
+ $ref: "#/components/schemas/Rack"
description: ""
security:
- cookieAuth: []
@@ -70784,19 +67202,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableRackRequest'
+ $ref: "#/components/schemas/BulkWritableRackRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableRackRequest'
+ $ref: "#/components/schemas/BulkWritableRackRequest"
type: array
required: true
responses:
@@ -70805,12 +67223,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Rack'
+ $ref: "#/components/schemas/Rack"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Rack'
+ $ref: "#/components/schemas/Rack"
type: array
description: ""
security:
@@ -70828,7 +67246,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this rack.
explode: false
@@ -70856,7 +67274,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this rack.
explode: false
@@ -70878,15 +67296,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Rack'
+ $ref: "#/components/schemas/Rack"
text/csv:
schema:
- $ref: '#/components/schemas/Rack'
+ $ref: "#/components/schemas/Rack"
description: ""
security:
- cookieAuth: []
@@ -70902,7 +67329,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this rack.
explode: false
@@ -70917,19 +67344,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedWritableRackRequest'
+ $ref: "#/components/schemas/PatchedWritableRackRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedWritableRackRequest'
+ $ref: "#/components/schemas/PatchedWritableRackRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Rack'
+ $ref: "#/components/schemas/Rack"
text/csv:
schema:
- $ref: '#/components/schemas/Rack'
+ $ref: "#/components/schemas/Rack"
description: ""
security:
- cookieAuth: []
@@ -70945,7 +67372,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this rack.
explode: false
@@ -70960,20 +67387,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableRackRequest'
+ $ref: "#/components/schemas/WritableRackRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableRackRequest'
+ $ref: "#/components/schemas/WritableRackRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Rack'
+ $ref: "#/components/schemas/Rack"
text/csv:
schema:
- $ref: '#/components/schemas/Rack'
+ $ref: "#/components/schemas/Rack"
description: ""
security:
- cookieAuth: []
@@ -71015,14 +67442,14 @@ paths:
name: face
required: false
schema:
- $ref: '#/components/schemas/dcim_racks_elevation_list_face_parameter'
+ $ref: "#/components/schemas/dcim_racks_elevation_list_face_parameter"
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this rack.
explode: false
@@ -71041,6 +67468,14 @@ paths:
default: true
type: boolean
style: form
+ - explode: true
+ in: query
+ name: is_occupied
+ required: false
+ schema:
+ nullable: true
+ type: boolean
+ style: form
- explode: true
in: query
name: legend_width
@@ -71078,7 +67513,7 @@ paths:
name: render
required: false
schema:
- $ref: '#/components/schemas/dcim_racks_elevation_list_render_parameter'
+ $ref: "#/components/schemas/dcim_racks_elevation_list_render_parameter"
style: form
- explode: true
in: query
@@ -71105,15 +67540,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedRackUnitList'
+ $ref: "#/components/schemas/PaginatedRackUnitList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedRackUnitList'
+ $ref: "#/components/schemas/PaginatedRackUnitList"
description: ""
security:
- cookieAuth: []
@@ -71130,7 +67574,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this rack.
explode: false
@@ -71168,15 +67612,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -71192,7 +67645,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this rack.
explode: false
@@ -71207,20 +67660,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -71237,19 +67690,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -71281,14 +67734,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Description
explode: true
@@ -71465,21 +67918,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: Front port templates
explode: true
@@ -71545,61 +67998,6 @@ paths:
type: string
type: array
style: form
- - description: ID contains
- explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID
- explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID ends with
- explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID matches regex
- explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID starts with
- explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Exclude ID
explode: true
in: query
@@ -71611,83 +68009,6 @@ paths:
type: string
type: array
style: form
- - description: Exclude ID contains
- explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID
- explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID ends with
- explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID matches regex
- explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID starts with
- explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude ID matches regex
- explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: ID matches regex
- explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Label
explode: true
in: query
@@ -72097,14 +68418,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -72243,15 +68564,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedRearPortTemplateList'
+ $ref: "#/components/schemas/PaginatedRearPortTemplateList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedRearPortTemplateList'
+ $ref: "#/components/schemas/PaginatedRearPortTemplateList"
description: ""
security:
- cookieAuth: []
@@ -72267,19 +68597,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableRearPortTemplateRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableRearPortTemplateRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableRearPortTemplateRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableRearPortTemplateRequest"
type: array
required: true
responses:
@@ -72288,12 +68618,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/RearPortTemplate'
+ $ref: "#/components/schemas/RearPortTemplate"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/RearPortTemplate'
+ $ref: "#/components/schemas/RearPortTemplate"
type: array
description: ""
security:
@@ -72310,26 +68640,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableRearPortTemplateRequest'
+ $ref: "#/components/schemas/WritableRearPortTemplateRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableRearPortTemplateRequest'
+ $ref: "#/components/schemas/WritableRearPortTemplateRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/RearPortTemplate'
+ $ref: "#/components/schemas/RearPortTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/RearPortTemplate'
+ $ref: "#/components/schemas/RearPortTemplate"
description: ""
security:
- cookieAuth: []
@@ -72345,19 +68675,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableRearPortTemplateRequest'
+ $ref: "#/components/schemas/BulkWritableRearPortTemplateRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableRearPortTemplateRequest'
+ $ref: "#/components/schemas/BulkWritableRearPortTemplateRequest"
type: array
required: true
responses:
@@ -72366,12 +68696,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/RearPortTemplate'
+ $ref: "#/components/schemas/RearPortTemplate"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/RearPortTemplate'
+ $ref: "#/components/schemas/RearPortTemplate"
type: array
description: ""
security:
@@ -72389,7 +68719,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this rear port template.
explode: false
@@ -72417,7 +68747,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this rear port template.
explode: false
@@ -72439,181 +68769,40 @@ paths:
minimum: 0
type: integer
style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/RearPortTemplate'
- text/csv:
- schema:
- $ref: '#/components/schemas/RearPortTemplate'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- patch:
- description: Partial update a rear port template object.
- operationId: dcim_rear_port_templates_partial_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this rear port template.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PatchedWritableRearPortTemplateRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/PatchedWritableRearPortTemplateRequest'
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/RearPortTemplate'
- text/csv:
- schema:
- $ref: '#/components/schemas/RearPortTemplate'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- put:
- description: Update a rear port template object.
- operationId: dcim_rear_port_templates_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this rear port template.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/WritableRearPortTemplateRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/WritableRearPortTemplateRequest'
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/RearPortTemplate'
- text/csv:
- schema:
- $ref: '#/components/schemas/RearPortTemplate'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- /dcim/rear-port-templates/{id}/notes/:
- get:
- description: API methods for returning or creating notes on an object.
- operationId: dcim_rear_port_templates_notes_list
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this rear port template.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- - description: The initial index from which to return the results.
+ - description: Exclude many-to-many fields from the response
explode: true
in: query
- name: offset
+ name: exclude_m2m
required: false
schema:
- type: integer
- style: form
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
+ default: false
+ type: boolean
style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/RearPortTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/RearPortTemplate"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- post:
- description: API methods for returning or creating notes on an object.
- operationId: dcim_rear_port_templates_notes_create
+ patch:
+ description: Partial update a rear port template object.
+ operationId: dcim_rear_port_templates_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this rear port template.
explode: false
@@ -72628,20 +68817,63 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/PatchedWritableRearPortTemplateRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/PatchedWritableRearPortTemplateRequest"
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/RearPortTemplate"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/RearPortTemplate"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ put:
+ description: Update a rear port template object.
+ operationId: dcim_rear_port_templates_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this rear port template.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/WritableRearPortTemplateRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/WritableRearPortTemplateRequest"
required: true
responses:
- "201":
+ "200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/RearPortTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/RearPortTemplate"
description: ""
security:
- cookieAuth: []
@@ -72658,19 +68890,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -72731,14 +68963,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -72884,21 +69116,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- explode: true
in: query
@@ -72954,56 +69186,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -73014,76 +69196,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: label
@@ -73508,14 +69620,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -73654,15 +69766,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedRearPortList'
+ $ref: "#/components/schemas/PaginatedRearPortList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedRearPortList'
+ $ref: "#/components/schemas/PaginatedRearPortList"
description: ""
security:
- cookieAuth: []
@@ -73678,19 +69799,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableRearPortRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableRearPortRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableRearPortRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableRearPortRequest"
type: array
required: true
responses:
@@ -73699,12 +69820,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/RearPort'
+ $ref: "#/components/schemas/RearPort"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/RearPort'
+ $ref: "#/components/schemas/RearPort"
type: array
description: ""
security:
@@ -73721,26 +69842,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableRearPortRequest'
+ $ref: "#/components/schemas/WritableRearPortRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableRearPortRequest'
+ $ref: "#/components/schemas/WritableRearPortRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/RearPort'
+ $ref: "#/components/schemas/RearPort"
text/csv:
schema:
- $ref: '#/components/schemas/RearPort'
+ $ref: "#/components/schemas/RearPort"
description: ""
security:
- cookieAuth: []
@@ -73756,19 +69877,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableRearPortRequest'
+ $ref: "#/components/schemas/BulkWritableRearPortRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableRearPortRequest'
+ $ref: "#/components/schemas/BulkWritableRearPortRequest"
type: array
required: true
responses:
@@ -73777,12 +69898,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/RearPort'
+ $ref: "#/components/schemas/RearPort"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/RearPort'
+ $ref: "#/components/schemas/RearPort"
type: array
description: ""
security:
@@ -73800,7 +69921,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this rear port.
explode: false
@@ -73828,7 +69949,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this rear port.
explode: false
@@ -73850,181 +69971,40 @@ paths:
minimum: 0
type: integer
style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/RearPort'
- text/csv:
- schema:
- $ref: '#/components/schemas/RearPort'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- patch:
- description: Partial update a rear port object.
- operationId: dcim_rear_ports_partial_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this rear port.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PatchedWritableRearPortRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/PatchedWritableRearPortRequest'
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/RearPort'
- text/csv:
- schema:
- $ref: '#/components/schemas/RearPort'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- put:
- description: Update a rear port object.
- operationId: dcim_rear_ports_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this rear port.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/WritableRearPortRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/WritableRearPortRequest'
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/RearPort'
- text/csv:
- schema:
- $ref: '#/components/schemas/RearPort'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - dcim
- /dcim/rear-ports/{id}/notes/:
- get:
- description: API methods for returning or creating notes on an object.
- operationId: dcim_rear_ports_notes_list
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this rear port.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- - description: The initial index from which to return the results.
+ - description: Exclude many-to-many fields from the response
explode: true
in: query
- name: offset
+ name: exclude_m2m
required: false
schema:
- type: integer
- style: form
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
+ default: false
+ type: boolean
style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/RearPort"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/RearPort"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- post:
- description: API methods for returning or creating notes on an object.
- operationId: dcim_rear_ports_notes_create
+ patch:
+ description: Partial update a rear port object.
+ operationId: dcim_rear_ports_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this rear port.
explode: false
@@ -74039,20 +70019,179 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/PatchedWritableRearPortRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/PatchedWritableRearPortRequest"
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/RearPort"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/RearPort"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ put:
+ description: Update a rear port object.
+ operationId: dcim_rear_ports_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this rear port.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/WritableRearPortRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/WritableRearPortRequest"
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/RearPort"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/RearPort"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ /dcim/rear-ports/{id}/notes/:
+ get:
+ description: API methods for returning or creating notes on an object.
+ operationId: dcim_rear_ports_notes_list
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this rear port.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: The initial index from which to return the results.
+ explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - dcim
+ post:
+ description: API methods for returning or creating notes on an object.
+ operationId: dcim_rear_ports_notes_create
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this rear port.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -74069,7 +70208,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this rear port.
explode: false
@@ -74107,15 +70246,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedCablePathList'
+ $ref: "#/components/schemas/PaginatedCablePathList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedCablePathList'
+ $ref: "#/components/schemas/PaginatedCablePathList"
description: ""
security:
- cookieAuth: []
@@ -74132,19 +70280,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -74176,14 +70324,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -74447,21 +70595,47 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: external_integration
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: External integration (name or ID) is null
+ explode: true
+ in: query
+ name: external_integration__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: external_integration__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: Has device types
explode: true
@@ -74534,8 +70708,7 @@ paths:
type: string
type: array
style: form
- - description: Hashing algorithm for image file checksum
- explode: true
+ - explode: true
in: query
name: hashing_algorithm__n
required: false
@@ -74619,56 +70792,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -74679,76 +70802,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: image_file_checksum
@@ -75188,14 +71241,14 @@ paths:
type: string
type: array
style: form
- - description: Exclude Status (name or ID)
- explode: true
+ - explode: true
in: query
name: status__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -75239,14 +71292,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -75259,15 +71312,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedSoftwareImageFileList'
+ $ref: "#/components/schemas/PaginatedSoftwareImageFileList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedSoftwareImageFileList'
+ $ref: "#/components/schemas/PaginatedSoftwareImageFileList"
description: ""
security:
- cookieAuth: []
@@ -75283,19 +71345,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableSoftwareImageFileRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableSoftwareImageFileRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableSoftwareImageFileRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableSoftwareImageFileRequest"
type: array
required: true
responses:
@@ -75304,12 +71366,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/SoftwareImageFile'
+ $ref: "#/components/schemas/SoftwareImageFile"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/SoftwareImageFile'
+ $ref: "#/components/schemas/SoftwareImageFile"
type: array
description: ""
security:
@@ -75326,26 +71388,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/SoftwareImageFileRequest'
+ $ref: "#/components/schemas/SoftwareImageFileRequest"
text/csv:
schema:
- $ref: '#/components/schemas/SoftwareImageFileRequest'
+ $ref: "#/components/schemas/SoftwareImageFileRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/SoftwareImageFile'
+ $ref: "#/components/schemas/SoftwareImageFile"
text/csv:
schema:
- $ref: '#/components/schemas/SoftwareImageFile'
+ $ref: "#/components/schemas/SoftwareImageFile"
description: ""
security:
- cookieAuth: []
@@ -75361,19 +71423,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableSoftwareImageFileRequest'
+ $ref: "#/components/schemas/BulkWritableSoftwareImageFileRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableSoftwareImageFileRequest'
+ $ref: "#/components/schemas/BulkWritableSoftwareImageFileRequest"
type: array
required: true
responses:
@@ -75382,12 +71444,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/SoftwareImageFile'
+ $ref: "#/components/schemas/SoftwareImageFile"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/SoftwareImageFile'
+ $ref: "#/components/schemas/SoftwareImageFile"
type: array
description: ""
security:
@@ -75405,7 +71467,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this software image file.
explode: false
@@ -75433,7 +71495,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this software image file.
explode: false
@@ -75455,15 +71517,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/SoftwareImageFile'
+ $ref: "#/components/schemas/SoftwareImageFile"
text/csv:
schema:
- $ref: '#/components/schemas/SoftwareImageFile'
+ $ref: "#/components/schemas/SoftwareImageFile"
description: ""
security:
- cookieAuth: []
@@ -75479,7 +71550,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this software image file.
explode: false
@@ -75494,19 +71565,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedSoftwareImageFileRequest'
+ $ref: "#/components/schemas/PatchedSoftwareImageFileRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedSoftwareImageFileRequest'
+ $ref: "#/components/schemas/PatchedSoftwareImageFileRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/SoftwareImageFile'
+ $ref: "#/components/schemas/SoftwareImageFile"
text/csv:
schema:
- $ref: '#/components/schemas/SoftwareImageFile'
+ $ref: "#/components/schemas/SoftwareImageFile"
description: ""
security:
- cookieAuth: []
@@ -75522,7 +71593,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this software image file.
explode: false
@@ -75537,20 +71608,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/SoftwareImageFileRequest'
+ $ref: "#/components/schemas/SoftwareImageFileRequest"
text/csv:
schema:
- $ref: '#/components/schemas/SoftwareImageFileRequest'
+ $ref: "#/components/schemas/SoftwareImageFileRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/SoftwareImageFile'
+ $ref: "#/components/schemas/SoftwareImageFile"
text/csv:
schema:
- $ref: '#/components/schemas/SoftwareImageFile'
+ $ref: "#/components/schemas/SoftwareImageFile"
description: ""
security:
- cookieAuth: []
@@ -75567,7 +71638,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this software image file.
explode: false
@@ -75605,15 +71676,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -75629,7 +71709,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this software image file.
explode: false
@@ -75644,20 +71724,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -75674,19 +71754,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -75844,14 +71924,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -76107,14 +72187,14 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -76188,7 +72268,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: Has devices
explode: true
@@ -76234,56 +72314,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -76294,76 +72324,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: inventory_items
@@ -76623,14 +72583,14 @@ paths:
type: string
type: array
style: form
- - description: Exclude Status (name or ID)
- explode: true
+ - explode: true
in: query
name: status__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -76674,14 +72634,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -76846,15 +72806,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedSoftwareVersionList'
+ $ref: "#/components/schemas/PaginatedSoftwareVersionList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedSoftwareVersionList'
+ $ref: "#/components/schemas/PaginatedSoftwareVersionList"
description: ""
security:
- cookieAuth: []
@@ -76870,19 +72839,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableSoftwareVersionRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableSoftwareVersionRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableSoftwareVersionRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableSoftwareVersionRequest"
type: array
required: true
responses:
@@ -76891,12 +72860,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/SoftwareVersion'
+ $ref: "#/components/schemas/SoftwareVersion"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/SoftwareVersion'
+ $ref: "#/components/schemas/SoftwareVersion"
type: array
description: ""
security:
@@ -76913,26 +72882,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/SoftwareVersionRequest'
+ $ref: "#/components/schemas/SoftwareVersionRequest"
text/csv:
schema:
- $ref: '#/components/schemas/SoftwareVersionRequest'
+ $ref: "#/components/schemas/SoftwareVersionRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/SoftwareVersion'
+ $ref: "#/components/schemas/SoftwareVersion"
text/csv:
schema:
- $ref: '#/components/schemas/SoftwareVersion'
+ $ref: "#/components/schemas/SoftwareVersion"
description: ""
security:
- cookieAuth: []
@@ -76948,19 +72917,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableSoftwareVersionRequest'
+ $ref: "#/components/schemas/BulkWritableSoftwareVersionRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableSoftwareVersionRequest'
+ $ref: "#/components/schemas/BulkWritableSoftwareVersionRequest"
type: array
required: true
responses:
@@ -76969,12 +72938,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/SoftwareVersion'
+ $ref: "#/components/schemas/SoftwareVersion"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/SoftwareVersion'
+ $ref: "#/components/schemas/SoftwareVersion"
type: array
description: ""
security:
@@ -76992,7 +72961,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this software version.
explode: false
@@ -77020,7 +72989,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this software version.
explode: false
@@ -77042,15 +73011,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/SoftwareVersion'
+ $ref: "#/components/schemas/SoftwareVersion"
text/csv:
schema:
- $ref: '#/components/schemas/SoftwareVersion'
+ $ref: "#/components/schemas/SoftwareVersion"
description: ""
security:
- cookieAuth: []
@@ -77066,7 +73044,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this software version.
explode: false
@@ -77081,19 +73059,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedSoftwareVersionRequest'
+ $ref: "#/components/schemas/PatchedSoftwareVersionRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedSoftwareVersionRequest'
+ $ref: "#/components/schemas/PatchedSoftwareVersionRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/SoftwareVersion'
+ $ref: "#/components/schemas/SoftwareVersion"
text/csv:
schema:
- $ref: '#/components/schemas/SoftwareVersion'
+ $ref: "#/components/schemas/SoftwareVersion"
description: ""
security:
- cookieAuth: []
@@ -77109,7 +73087,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this software version.
explode: false
@@ -77124,20 +73102,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/SoftwareVersionRequest'
+ $ref: "#/components/schemas/SoftwareVersionRequest"
text/csv:
schema:
- $ref: '#/components/schemas/SoftwareVersionRequest'
+ $ref: "#/components/schemas/SoftwareVersionRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/SoftwareVersion'
+ $ref: "#/components/schemas/SoftwareVersion"
text/csv:
schema:
- $ref: '#/components/schemas/SoftwareVersion'
+ $ref: "#/components/schemas/SoftwareVersion"
description: ""
security:
- cookieAuth: []
@@ -77154,7 +73132,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this software version.
explode: false
@@ -77192,15 +73170,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -77216,7 +73203,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this software version.
explode: false
@@ -77231,20 +73218,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -77261,19 +73248,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -77305,14 +73292,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -77516,21 +73503,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: Has device members
explode: true
@@ -77552,56 +73539,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -77612,76 +73549,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: last_updated
@@ -78019,14 +73886,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -78065,15 +73932,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedVirtualChassisList'
+ $ref: "#/components/schemas/PaginatedVirtualChassisList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedVirtualChassisList'
+ $ref: "#/components/schemas/PaginatedVirtualChassisList"
description: ""
security:
- cookieAuth: []
@@ -78089,19 +73965,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableVirtualChassisRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableVirtualChassisRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableVirtualChassisRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableVirtualChassisRequest"
type: array
required: true
responses:
@@ -78110,12 +73986,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/VirtualChassis'
+ $ref: "#/components/schemas/VirtualChassis"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/VirtualChassis'
+ $ref: "#/components/schemas/VirtualChassis"
type: array
description: ""
security:
@@ -78132,26 +74008,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/VirtualChassisRequest'
+ $ref: "#/components/schemas/VirtualChassisRequest"
text/csv:
schema:
- $ref: '#/components/schemas/VirtualChassisRequest'
+ $ref: "#/components/schemas/VirtualChassisRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/VirtualChassis'
+ $ref: "#/components/schemas/VirtualChassis"
text/csv:
schema:
- $ref: '#/components/schemas/VirtualChassis'
+ $ref: "#/components/schemas/VirtualChassis"
description: ""
security:
- cookieAuth: []
@@ -78167,19 +74043,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableVirtualChassisRequest'
+ $ref: "#/components/schemas/BulkWritableVirtualChassisRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableVirtualChassisRequest'
+ $ref: "#/components/schemas/BulkWritableVirtualChassisRequest"
type: array
required: true
responses:
@@ -78188,12 +74064,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/VirtualChassis'
+ $ref: "#/components/schemas/VirtualChassis"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/VirtualChassis'
+ $ref: "#/components/schemas/VirtualChassis"
type: array
description: ""
security:
@@ -78211,7 +74087,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this virtual chassis.
explode: false
@@ -78239,7 +74115,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this virtual chassis.
explode: false
@@ -78261,15 +74137,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/VirtualChassis'
+ $ref: "#/components/schemas/VirtualChassis"
text/csv:
schema:
- $ref: '#/components/schemas/VirtualChassis'
+ $ref: "#/components/schemas/VirtualChassis"
description: ""
security:
- cookieAuth: []
@@ -78285,7 +74170,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this virtual chassis.
explode: false
@@ -78300,19 +74185,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedVirtualChassisRequest'
+ $ref: "#/components/schemas/PatchedVirtualChassisRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedVirtualChassisRequest'
+ $ref: "#/components/schemas/PatchedVirtualChassisRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/VirtualChassis'
+ $ref: "#/components/schemas/VirtualChassis"
text/csv:
schema:
- $ref: '#/components/schemas/VirtualChassis'
+ $ref: "#/components/schemas/VirtualChassis"
description: ""
security:
- cookieAuth: []
@@ -78328,7 +74213,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this virtual chassis.
explode: false
@@ -78343,20 +74228,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VirtualChassisRequest'
+ $ref: "#/components/schemas/VirtualChassisRequest"
text/csv:
schema:
- $ref: '#/components/schemas/VirtualChassisRequest'
+ $ref: "#/components/schemas/VirtualChassisRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/VirtualChassis'
+ $ref: "#/components/schemas/VirtualChassis"
text/csv:
schema:
- $ref: '#/components/schemas/VirtualChassis'
+ $ref: "#/components/schemas/VirtualChassis"
description: ""
security:
- cookieAuth: []
@@ -78373,7 +74258,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this virtual chassis.
explode: false
@@ -78411,15 +74296,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -78435,7 +74329,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this virtual chassis.
explode: false
@@ -78450,50 +74344,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- dcim
- /extras/computed-fields/:
+ /dcim/virtual-device-contexts/:
delete:
- description: "Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH\
- \ requests."
- operationId: extras_computed_fields_bulk_destroy
+ description: Destroy a list of virtual device context objects.
+ operationId: dcim_virtual_device_contexts_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -78503,11 +74396,10 @@ paths:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
+ - dcim
get:
- description: "Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH\
- \ requests."
- operationId: extras_computed_fields_list
+ description: Retrieve a list of virtual device context objects.
+ operationId: dcim_virtual_device_contexts_list
parameters:
- explode: true
in: query
@@ -78526,77 +74418,85 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: content_type
+ name: created
required: false
schema:
- type: string
+ items:
+ format: date-time
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: content_type__n
+ name: created__gt
required: false
schema:
- type: string
+ items:
+ format: date-time
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: dynamic_groups
+ name: created__gte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
- name: dynamic_groups__n
+ name: created__isnull
required: false
schema:
- format: uuid
- type: string
+ type: boolean
style: form
- explode: true
in: query
- name: fallback_value
+ name: created__lt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: fallback_value__ic
+ name: created__lte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: fallback_value__ie
+ name: created__n
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: fallback_value__iew
+ name: description
required: false
schema:
items:
@@ -78605,7 +74505,7 @@ paths:
style: form
- explode: true
in: query
- name: fallback_value__ire
+ name: description__ic
required: false
schema:
items:
@@ -78614,7 +74514,7 @@ paths:
style: form
- explode: true
in: query
- name: fallback_value__isw
+ name: description__ie
required: false
schema:
items:
@@ -78623,7 +74523,7 @@ paths:
style: form
- explode: true
in: query
- name: fallback_value__n
+ name: description__iew
required: false
schema:
items:
@@ -78632,7 +74532,7 @@ paths:
style: form
- explode: true
in: query
- name: fallback_value__nic
+ name: description__ire
required: false
schema:
items:
@@ -78641,7 +74541,7 @@ paths:
style: form
- explode: true
in: query
- name: fallback_value__nie
+ name: description__isw
required: false
schema:
items:
@@ -78650,7 +74550,7 @@ paths:
style: form
- explode: true
in: query
- name: fallback_value__niew
+ name: description__n
required: false
schema:
items:
@@ -78659,7 +74559,7 @@ paths:
style: form
- explode: true
in: query
- name: fallback_value__nire
+ name: description__nic
required: false
schema:
items:
@@ -78668,7 +74568,7 @@ paths:
style: form
- explode: true
in: query
- name: fallback_value__nisw
+ name: description__nie
required: false
schema:
items:
@@ -78677,7 +74577,7 @@ paths:
style: form
- explode: true
in: query
- name: fallback_value__nre
+ name: description__niew
required: false
schema:
items:
@@ -78686,7 +74586,7 @@ paths:
style: form
- explode: true
in: query
- name: fallback_value__re
+ name: description__nire
required: false
schema:
items:
@@ -78695,14 +74595,16 @@ paths:
style: form
- explode: true
in: query
- name: format
+ name: description__nisw
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: grouping
+ name: description__nre
required: false
schema:
items:
@@ -78711,7 +74613,7 @@ paths:
style: form
- explode: true
in: query
- name: grouping__ic
+ name: description__re
required: false
schema:
items:
@@ -78720,7 +74622,7 @@ paths:
style: form
- explode: true
in: query
- name: grouping__ie
+ name: device
required: false
schema:
items:
@@ -78729,7 +74631,7 @@ paths:
style: form
- explode: true
in: query
- name: grouping__iew
+ name: device__n
required: false
schema:
items:
@@ -78738,7 +74640,7 @@ paths:
style: form
- explode: true
in: query
- name: grouping__ire
+ name: dynamic_groups
required: false
schema:
items:
@@ -78747,7 +74649,7 @@ paths:
style: form
- explode: true
in: query
- name: grouping__isw
+ name: dynamic_groups__n
required: false
schema:
items:
@@ -78756,221 +74658,206 @@ paths:
style: form
- explode: true
in: query
- name: grouping__n
+ name: format
required: false
schema:
- items:
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - explode: true
+ - description: Has Interfaces
+ explode: true
in: query
- name: grouping__nic
+ name: has_interfaces
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: Has a primary IP
+ explode: true
in: query
- name: grouping__nie
+ name: has_primary_ip
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
in: query
- name: grouping__niew
+ name: id
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: grouping__nire
+ name: id__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: grouping__nisw
+ name: identifier
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: grouping__nre
+ name: identifier__gt
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: grouping__re
+ name: identifier__gte
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
- explode: true
+ - explode: true
in: query
- name: id
+ name: identifier__isnull
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: id__ic
+ name: identifier__lt
required: false
schema:
items:
- format: uuid
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: id__ie
+ name: identifier__lte
required: false
schema:
items:
- format: uuid
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: identifier__n
required: false
schema:
items:
- format: uuid
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: interfaces
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: interfaces__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__n
+ name: last_updated
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__nic
+ name: last_updated__gt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: last_updated__gte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: last_updated__isnull
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: id__nire
+ name: last_updated__lt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__nisw
+ name: last_updated__lte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__nre
+ name: last_updated__n
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- - explode: true
+ - description: Number of results to return per page.
+ explode: true
in: query
- name: id__re
+ name: limit
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: integer
style: form
- explode: true
in: query
- name: key
+ name: name
required: false
schema:
items:
@@ -78979,7 +74866,7 @@ paths:
style: form
- explode: true
in: query
- name: key__ic
+ name: name__ic
required: false
schema:
items:
@@ -78988,7 +74875,7 @@ paths:
style: form
- explode: true
in: query
- name: key__ie
+ name: name__ie
required: false
schema:
items:
@@ -78997,7 +74884,7 @@ paths:
style: form
- explode: true
in: query
- name: key__iew
+ name: name__iew
required: false
schema:
items:
@@ -79006,7 +74893,7 @@ paths:
style: form
- explode: true
in: query
- name: key__ire
+ name: name__ire
required: false
schema:
items:
@@ -79015,7 +74902,7 @@ paths:
style: form
- explode: true
in: query
- name: key__isw
+ name: name__isw
required: false
schema:
items:
@@ -79024,7 +74911,7 @@ paths:
style: form
- explode: true
in: query
- name: key__n
+ name: name__n
required: false
schema:
items:
@@ -79033,7 +74920,7 @@ paths:
style: form
- explode: true
in: query
- name: key__nic
+ name: name__nic
required: false
schema:
items:
@@ -79042,7 +74929,7 @@ paths:
style: form
- explode: true
in: query
- name: key__nie
+ name: name__nie
required: false
schema:
items:
@@ -79051,7 +74938,7 @@ paths:
style: form
- explode: true
in: query
- name: key__niew
+ name: name__niew
required: false
schema:
items:
@@ -79060,7 +74947,7 @@ paths:
style: form
- explode: true
in: query
- name: key__nire
+ name: name__nire
required: false
schema:
items:
@@ -79069,7 +74956,7 @@ paths:
style: form
- explode: true
in: query
- name: key__nisw
+ name: name__nisw
required: false
schema:
items:
@@ -79078,7 +74965,7 @@ paths:
style: form
- explode: true
in: query
- name: key__nre
+ name: name__nre
required: false
schema:
items:
@@ -79087,92 +74974,86 @@ paths:
style: form
- explode: true
in: query
- name: key__re
+ name: name__re
required: false
schema:
items:
type: string
type: array
style: form
- - description: Number of results to return per page.
+ - description: The initial index from which to return the results.
explode: true
in: query
- name: limit
+ name: offset
required: false
schema:
type: integer
style: form
- - description: The initial index from which to return the results.
+ - description: Primary IPv4 Address (address or ID)
explode: true
in: query
- name: offset
+ name: primary_ip4
required: false
schema:
- type: integer
+ items:
+ type: string
+ type: array
style: form
- - description: Search
+ - description: Primary IPv6 Address (address or ID)
explode: true
in: query
- name: q
+ name: primary_ip6
required: false
schema:
- type: string
+ items:
+ type: string
+ type: array
style: form
- - description: Which field to use when ordering the results.
+ - description: Search
explode: true
in: query
- name: sort
+ name: q
required: false
schema:
type: string
style: form
- explode: true
in: query
- name: teams
+ name: role
required: false
schema:
items:
type: string
type: array
style: form
- - description: Teams (name or ID) is null
+ - description: Role (name or ID) is null
explode: true
in: query
- name: teams__isnull
+ name: role__isnull
required: false
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
- in: query
- name: teams__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
- name: template
+ name: role__n
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Which field to use when ordering the results.
+ explode: true
in: query
- name: template__ic
+ name: sort
required: false
schema:
- items:
- type: string
- type: array
+ type: string
style: form
- explode: true
in: query
- name: template__ie
+ name: status
required: false
schema:
items:
@@ -79181,7 +75062,7 @@ paths:
style: form
- explode: true
in: query
- name: template__iew
+ name: status__n
required: false
schema:
items:
@@ -79190,7 +75071,7 @@ paths:
style: form
- explode: true
in: query
- name: template__ire
+ name: tags
required: false
schema:
items:
@@ -79199,16 +75080,14 @@ paths:
style: form
- explode: true
in: query
- name: template__isw
+ name: tags__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: template__n
+ name: tags__n
required: false
schema:
items:
@@ -79217,25 +75096,24 @@ paths:
style: form
- explode: true
in: query
- name: template__nic
+ name: teams
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Teams (name or ID) is null
+ explode: true
in: query
- name: template__nie
+ name: teams__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: template__niew
+ name: teams__n
required: false
schema:
items:
@@ -79244,25 +75122,24 @@ paths:
style: form
- explode: true
in: query
- name: template__nire
+ name: tenant
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Tenant (name or ID) is null
+ explode: true
in: query
- name: template__nisw
+ name: tenant__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: template__nre
+ name: tenant__n
required: false
schema:
items:
@@ -79271,65 +75148,60 @@ paths:
style: form
- explode: true
in: query
- name: template__re
+ name: tenant_group
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
- in: query
- name: weight
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
+ - description: Tenant Group (name or ID) is null
+ explode: true
in: query
- name: weight__gt
+ name: tenant_group__isnull
required: false
schema:
- items:
- type: integer
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: weight__gte
+ name: tenant_group__n
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- - explode: true
+ - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead)"
+ explode: true
in: query
- name: weight__lt
+ name: tenant_id
required: false
schema:
items:
- type: integer
+ format: uuid
+ nullable: true
+ type: string
type: array
style: form
- - explode: true
+ - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead) is null"
+ explode: true
in: query
- name: weight__lte
+ name: tenant_id__isnull
required: false
schema:
- items:
- type: integer
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: "Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead)"
+ explode: true
in: query
- name: weight__n
+ name: tenant_id__n
required: false
schema:
items:
- type: integer
+ format: uuid
+ nullable: true
+ type: string
type: array
style: form
- description: Serializer Depth
@@ -79343,44 +75215,52 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedComputedFieldList'
+ $ref: "#/components/schemas/PaginatedVirtualDeviceContextList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedComputedFieldList'
+ $ref: "#/components/schemas/PaginatedVirtualDeviceContextList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
+ - dcim
patch:
- description: "Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH\
- \ requests."
- operationId: extras_computed_fields_bulk_partial_update
+ description: Partial update a list of virtual device context objects.
+ operationId: dcim_virtual_device_contexts_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableComputedFieldRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableVirtualDeviceContextRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableComputedFieldRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableVirtualDeviceContextRequest"
type: array
required: true
responses:
@@ -79389,78 +75269,76 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ComputedField'
+ $ref: "#/components/schemas/VirtualDeviceContext"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ComputedField'
+ $ref: "#/components/schemas/VirtualDeviceContext"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
+ - dcim
post:
- description: "Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH\
- \ requests."
- operationId: extras_computed_fields_create
+ description: Create one or more virtual device context objects.
+ operationId: dcim_virtual_device_contexts_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/ComputedFieldRequest'
+ $ref: "#/components/schemas/VirtualDeviceContextRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ComputedFieldRequest'
+ $ref: "#/components/schemas/VirtualDeviceContextRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/ComputedField'
+ $ref: "#/components/schemas/VirtualDeviceContext"
text/csv:
schema:
- $ref: '#/components/schemas/ComputedField'
+ $ref: "#/components/schemas/VirtualDeviceContext"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
+ - dcim
put:
- description: "Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH\
- \ requests."
- operationId: extras_computed_fields_bulk_update
+ description: Update a list of virtual device context objects.
+ operationId: dcim_virtual_device_contexts_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableComputedFieldRequest'
+ $ref: "#/components/schemas/BulkWritableVirtualDeviceContextRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableComputedFieldRequest'
+ $ref: "#/components/schemas/BulkWritableVirtualDeviceContextRequest"
type: array
required: true
responses:
@@ -79469,33 +75347,32 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ComputedField'
+ $ref: "#/components/schemas/VirtualDeviceContext"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ComputedField'
+ $ref: "#/components/schemas/VirtualDeviceContext"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
- /extras/computed-fields/{id}/:
+ - dcim
+ /dcim/virtual-device-contexts/{id}/:
delete:
- description: "Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH\
- \ requests."
- operationId: extras_computed_fields_destroy
+ description: Destroy a virtual device context object.
+ operationId: dcim_virtual_device_contexts_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this computed field.
+ - description: A UUID string identifying this virtual device context.
explode: false
in: path
name: id
@@ -79511,20 +75388,19 @@ paths:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
+ - dcim
get:
- description: "Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH\
- \ requests."
- operationId: extras_computed_fields_retrieve
+ description: Retrieve a virtual device context object.
+ operationId: dcim_virtual_device_contexts_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this computed field.
+ - description: A UUID string identifying this virtual device context.
explode: false
in: path
name: id
@@ -79544,34 +75420,42 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ComputedField'
+ $ref: "#/components/schemas/VirtualDeviceContext"
text/csv:
schema:
- $ref: '#/components/schemas/ComputedField'
+ $ref: "#/components/schemas/VirtualDeviceContext"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
+ - dcim
patch:
- description: "Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH\
- \ requests."
- operationId: extras_computed_fields_partial_update
+ description: Partial update a virtual device context object.
+ operationId: dcim_virtual_device_contexts_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this computed field.
+ - description: A UUID string identifying this virtual device context.
explode: false
in: path
name: id
@@ -79584,38 +75468,37 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedComputedFieldRequest'
+ $ref: "#/components/schemas/PatchedVirtualDeviceContextRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedComputedFieldRequest'
+ $ref: "#/components/schemas/PatchedVirtualDeviceContextRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ComputedField'
+ $ref: "#/components/schemas/VirtualDeviceContext"
text/csv:
schema:
- $ref: '#/components/schemas/ComputedField'
+ $ref: "#/components/schemas/VirtualDeviceContext"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
+ - dcim
put:
- description: "Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH\
- \ requests."
- operationId: extras_computed_fields_update
+ description: Update a virtual device context object.
+ operationId: dcim_virtual_device_contexts_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this computed field.
+ - description: A UUID string identifying this virtual device context.
explode: false
in: path
name: id
@@ -79628,39 +75511,39 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ComputedFieldRequest'
+ $ref: "#/components/schemas/VirtualDeviceContextRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ComputedFieldRequest'
+ $ref: "#/components/schemas/VirtualDeviceContextRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ComputedField'
+ $ref: "#/components/schemas/VirtualDeviceContext"
text/csv:
schema:
- $ref: '#/components/schemas/ComputedField'
+ $ref: "#/components/schemas/VirtualDeviceContext"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
- /extras/computed-fields/{id}/notes/:
+ - dcim
+ /dcim/virtual-device-contexts/{id}/notes/:
get:
description: API methods for returning or creating notes on an object.
- operationId: extras_computed_fields_notes_list
+ operationId: dcim_virtual_device_contexts_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this computed field.
+ - description: A UUID string identifying this virtual device context.
explode: false
in: path
name: id
@@ -79696,33 +75579,42 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
+ - dcim
post:
description: API methods for returning or creating notes on an object.
- operationId: extras_computed_fields_notes_create
+ operationId: dcim_virtual_device_contexts_notes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this computed field.
+ - description: A UUID string identifying this virtual device context.
explode: false
in: path
name: id
@@ -79735,49 +75627,50 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
- /extras/config-context-schemas/:
+ - dcim
+ /extras/computed-fields/:
delete:
- description: Destroy a list of config context schema objects.
- operationId: extras_config_context_schemas_bulk_destroy
+ description: "Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH\
+ \ requests."
+ operationId: extras_computed_fields_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -79789,8 +75682,9 @@ paths:
tags:
- extras
get:
- description: Retrieve a list of config context schema objects.
- operationId: extras_config_context_schemas_list
+ description: "Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH\
+ \ requests."
+ operationId: extras_computed_fields_list
parameters:
- explode: true
in: query
@@ -79809,18 +75703,32 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: content_type
+ required: false
+ schema:
type: string
style: form
- explode: true
in: query
- name: description
+ name: content_type__n
+ required: false
+ schema:
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: dynamic_groups
required: false
schema:
items:
@@ -79829,7 +75737,7 @@ paths:
style: form
- explode: true
in: query
- name: description__ic
+ name: dynamic_groups__n
required: false
schema:
items:
@@ -79838,7 +75746,7 @@ paths:
style: form
- explode: true
in: query
- name: description__ie
+ name: fallback_value
required: false
schema:
items:
@@ -79847,7 +75755,7 @@ paths:
style: form
- explode: true
in: query
- name: description__iew
+ name: fallback_value__ic
required: false
schema:
items:
@@ -79856,7 +75764,7 @@ paths:
style: form
- explode: true
in: query
- name: description__ire
+ name: fallback_value__ie
required: false
schema:
items:
@@ -79865,7 +75773,7 @@ paths:
style: form
- explode: true
in: query
- name: description__isw
+ name: fallback_value__iew
required: false
schema:
items:
@@ -79874,7 +75782,7 @@ paths:
style: form
- explode: true
in: query
- name: description__n
+ name: fallback_value__ire
required: false
schema:
items:
@@ -79883,7 +75791,7 @@ paths:
style: form
- explode: true
in: query
- name: description__nic
+ name: fallback_value__isw
required: false
schema:
items:
@@ -79892,7 +75800,7 @@ paths:
style: form
- explode: true
in: query
- name: description__nie
+ name: fallback_value__n
required: false
schema:
items:
@@ -79901,7 +75809,7 @@ paths:
style: form
- explode: true
in: query
- name: description__niew
+ name: fallback_value__nic
required: false
schema:
items:
@@ -79910,7 +75818,7 @@ paths:
style: form
- explode: true
in: query
- name: description__nire
+ name: fallback_value__nie
required: false
schema:
items:
@@ -79919,7 +75827,7 @@ paths:
style: form
- explode: true
in: query
- name: description__nisw
+ name: fallback_value__niew
required: false
schema:
items:
@@ -79928,7 +75836,7 @@ paths:
style: form
- explode: true
in: query
- name: description__nre
+ name: fallback_value__nire
required: false
schema:
items:
@@ -79937,7 +75845,7 @@ paths:
style: form
- explode: true
in: query
- name: description__re
+ name: fallback_value__nisw
required: false
schema:
items:
@@ -79946,191 +75854,180 @@ paths:
style: form
- explode: true
in: query
- name: dynamic_groups
+ name: fallback_value__nre
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
- name: dynamic_groups__n
+ name: fallback_value__re
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
- explode: true
+ - explode: true
in: query
- name: id
+ name: grouping
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ic
+ name: grouping__ic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ie
+ name: grouping__ie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: grouping__iew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: grouping__ire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: grouping__isw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__n
+ name: grouping__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nic
+ name: grouping__nic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: grouping__nie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: grouping__niew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nire
+ name: grouping__nire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nisw
+ name: grouping__nisw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nre
+ name: grouping__nre
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__re
+ name: grouping__re
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - description: Number of results to return per page.
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
explode: true
in: query
- name: limit
+ name: id
required: false
schema:
- type: integer
+ items:
+ format: uuid
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: name
+ name: id__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: name__ic
+ name: key
required: false
schema:
items:
@@ -80139,7 +76036,7 @@ paths:
style: form
- explode: true
in: query
- name: name__ie
+ name: key__ic
required: false
schema:
items:
@@ -80148,7 +76045,7 @@ paths:
style: form
- explode: true
in: query
- name: name__iew
+ name: key__ie
required: false
schema:
items:
@@ -80157,7 +76054,7 @@ paths:
style: form
- explode: true
in: query
- name: name__ire
+ name: key__iew
required: false
schema:
items:
@@ -80166,7 +76063,7 @@ paths:
style: form
- explode: true
in: query
- name: name__isw
+ name: key__ire
required: false
schema:
items:
@@ -80175,7 +76072,7 @@ paths:
style: form
- explode: true
in: query
- name: name__n
+ name: key__isw
required: false
schema:
items:
@@ -80184,7 +76081,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nic
+ name: key__n
required: false
schema:
items:
@@ -80193,7 +76090,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nie
+ name: key__nic
required: false
schema:
items:
@@ -80202,7 +76099,7 @@ paths:
style: form
- explode: true
in: query
- name: name__niew
+ name: key__nie
required: false
schema:
items:
@@ -80211,7 +76108,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nire
+ name: key__niew
required: false
schema:
items:
@@ -80220,7 +76117,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nisw
+ name: key__nire
required: false
schema:
items:
@@ -80229,7 +76126,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nre
+ name: key__nisw
required: false
schema:
items:
@@ -80238,41 +76135,37 @@ paths:
style: form
- explode: true
in: query
- name: name__re
+ name: key__nre
required: false
schema:
items:
type: string
type: array
style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- explode: true
in: query
- name: owner_content_type
+ name: key__re
required: false
schema:
- type: string
+ items:
+ type: string
+ type: array
style: form
- - explode: true
+ - description: Number of results to return per page.
+ explode: true
in: query
- name: owner_content_type__isnull
+ name: limit
required: false
schema:
- type: boolean
+ type: integer
style: form
- - explode: true
+ - description: The initial index from which to return the results.
+ explode: true
in: query
- name: owner_content_type__n
+ name: offset
required: false
schema:
- type: string
+ type: integer
style: form
- description: Search
explode: true
@@ -80307,14 +76200,194 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: template
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: template__ic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: template__ie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: template__iew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: template__ire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: template__isw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: template__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: template__nic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: template__nie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: template__niew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: template__nire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: template__nisw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: template__nre
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: template__re
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: weight
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: weight__gt
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: weight__gte
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: weight__lt
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: weight__lte
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: weight__n
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -80327,15 +76400,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedConfigContextSchemaList'
+ $ref: "#/components/schemas/PaginatedComputedFieldList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedConfigContextSchemaList'
+ $ref: "#/components/schemas/PaginatedComputedFieldList"
description: ""
security:
- cookieAuth: []
@@ -80343,27 +76425,28 @@ paths:
tags:
- extras
patch:
- description: Partial update a list of config context schema objects.
- operationId: extras_config_context_schemas_bulk_partial_update
+ description: "Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH\
+ \ requests."
+ operationId: extras_computed_fields_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableConfigContextSchemaRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableComputedFieldRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableConfigContextSchemaRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableComputedFieldRequest"
type: array
required: true
responses:
@@ -80372,12 +76455,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ConfigContextSchema'
+ $ref: "#/components/schemas/ComputedField"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ConfigContextSchema'
+ $ref: "#/components/schemas/ComputedField"
type: array
description: ""
security:
@@ -80386,34 +76469,35 @@ paths:
tags:
- extras
post:
- description: Create one or more config context schema objects.
- operationId: extras_config_context_schemas_create
+ description: "Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH\
+ \ requests."
+ operationId: extras_computed_fields_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/ConfigContextSchemaRequest'
+ $ref: "#/components/schemas/ComputedFieldRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ConfigContextSchemaRequest'
+ $ref: "#/components/schemas/ComputedFieldRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/ConfigContextSchema'
+ $ref: "#/components/schemas/ComputedField"
text/csv:
schema:
- $ref: '#/components/schemas/ConfigContextSchema'
+ $ref: "#/components/schemas/ComputedField"
description: ""
security:
- cookieAuth: []
@@ -80421,27 +76505,28 @@ paths:
tags:
- extras
put:
- description: Update a list of config context schema objects.
- operationId: extras_config_context_schemas_bulk_update
+ description: "Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH\
+ \ requests."
+ operationId: extras_computed_fields_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableConfigContextSchemaRequest'
+ $ref: "#/components/schemas/BulkWritableComputedFieldRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableConfigContextSchemaRequest'
+ $ref: "#/components/schemas/BulkWritableComputedFieldRequest"
type: array
required: true
responses:
@@ -80450,12 +76535,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ConfigContextSchema'
+ $ref: "#/components/schemas/ComputedField"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ConfigContextSchema'
+ $ref: "#/components/schemas/ComputedField"
type: array
description: ""
security:
@@ -80463,19 +76548,20 @@ paths:
- tokenAuth: []
tags:
- extras
- /extras/config-context-schemas/{id}/:
+ /extras/computed-fields/{id}/:
delete:
- description: Destroy a config context schema object.
- operationId: extras_config_context_schemas_destroy
+ description: "Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH\
+ \ requests."
+ operationId: extras_computed_fields_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this config context schema.
+ - description: A UUID string identifying this computed field.
explode: false
in: path
name: id
@@ -80493,17 +76579,18 @@ paths:
tags:
- extras
get:
- description: Retrieve a config context schema object.
- operationId: extras_config_context_schemas_retrieve
+ description: "Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH\
+ \ requests."
+ operationId: extras_computed_fields_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this config context schema.
+ - description: A UUID string identifying this computed field.
explode: false
in: path
name: id
@@ -80523,15 +76610,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ConfigContextSchema'
+ $ref: "#/components/schemas/ComputedField"
text/csv:
schema:
- $ref: '#/components/schemas/ConfigContextSchema'
+ $ref: "#/components/schemas/ComputedField"
description: ""
security:
- cookieAuth: []
@@ -80539,17 +76635,18 @@ paths:
tags:
- extras
patch:
- description: Partial update a config context schema object.
- operationId: extras_config_context_schemas_partial_update
+ description: "Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH\
+ \ requests."
+ operationId: extras_computed_fields_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this config context schema.
+ - description: A UUID string identifying this computed field.
explode: false
in: path
name: id
@@ -80562,19 +76659,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedConfigContextSchemaRequest'
+ $ref: "#/components/schemas/PatchedComputedFieldRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedConfigContextSchemaRequest'
+ $ref: "#/components/schemas/PatchedComputedFieldRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ConfigContextSchema'
+ $ref: "#/components/schemas/ComputedField"
text/csv:
schema:
- $ref: '#/components/schemas/ConfigContextSchema'
+ $ref: "#/components/schemas/ComputedField"
description: ""
security:
- cookieAuth: []
@@ -80582,17 +76679,18 @@ paths:
tags:
- extras
put:
- description: Update a config context schema object.
- operationId: extras_config_context_schemas_update
+ description: "Manage Computed Fields through DELETE, GET, POST, PUT, and PATCH\
+ \ requests."
+ operationId: extras_computed_fields_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this config context schema.
+ - description: A UUID string identifying this computed field.
explode: false
in: path
name: id
@@ -80605,39 +76703,39 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ConfigContextSchemaRequest'
+ $ref: "#/components/schemas/ComputedFieldRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ConfigContextSchemaRequest'
+ $ref: "#/components/schemas/ComputedFieldRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ConfigContextSchema'
+ $ref: "#/components/schemas/ComputedField"
text/csv:
schema:
- $ref: '#/components/schemas/ConfigContextSchema'
+ $ref: "#/components/schemas/ComputedField"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- extras
- /extras/config-context-schemas/{id}/notes/:
+ /extras/computed-fields/{id}/notes/:
get:
description: API methods for returning or creating notes on an object.
- operationId: extras_config_context_schemas_notes_list
+ operationId: extras_computed_fields_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this config context schema.
+ - description: A UUID string identifying this computed field.
explode: false
in: path
name: id
@@ -80673,15 +76771,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -80690,16 +76797,16 @@ paths:
- extras
post:
description: API methods for returning or creating notes on an object.
- operationId: extras_config_context_schemas_notes_create
+ operationId: extras_computed_fields_notes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this config context schema.
+ - description: A UUID string identifying this computed field.
explode: false
in: path
name: id
@@ -80712,49 +76819,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- extras
- /extras/config-contexts/:
+ /extras/config-context-schemas/:
delete:
- description: Destroy a list of config context objects.
- operationId: extras_config_contexts_bulk_destroy
+ description: Destroy a list of config context schema objects.
+ operationId: extras_config_context_schemas_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -80766,71 +76873,9 @@ paths:
tags:
- extras
get:
- description: Retrieve a list of config context objects.
- operationId: extras_config_contexts_list
+ description: Retrieve a list of config context schema objects.
+ operationId: extras_config_context_schemas_list
parameters:
- - explode: true
- in: query
- name: cluster_group
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: cluster_group__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Cluster group (ID) - Deprecated (use cluster_group filter)
- explode: true
- in: query
- name: cluster_group_id
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude Cluster group (ID) - Deprecated (use cluster_group filter)
- explode: true
- in: query
- name: cluster_group_id__n
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Cluster (ID)
- explode: true
- in: query
- name: cluster_id
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude Cluster (ID)
- explode: true
- in: query
- name: cluster_id__n
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: contacts
@@ -80848,18 +76893,9 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
- in: query
- name: contacts__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
- name: device_redundancy_group
+ name: contacts__n
required: false
schema:
items:
@@ -80868,7 +76904,7 @@ paths:
style: form
- explode: true
in: query
- name: device_redundancy_group__n
+ name: description
required: false
schema:
items:
@@ -80877,7 +76913,7 @@ paths:
style: form
- explode: true
in: query
- name: device_type
+ name: description__ic
required: false
schema:
items:
@@ -80886,167 +76922,142 @@ paths:
style: form
- explode: true
in: query
- name: device_type__n
+ name: description__ie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Device Type (ID) - Deprecated (use device_type filter)
- explode: true
+ - explode: true
in: query
- name: device_type_id
+ name: description__iew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - description: Exclude Device Type (ID) - Deprecated (use device_type filter)
- explode: true
+ - explode: true
in: query
- name: device_type_id__n
+ name: description__ire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
- explode: true
- in: query
- name: id
+ name: description__isw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ic
+ name: description__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ie
+ name: description__nic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: description__nie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: description__niew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: description__nire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__n
+ name: description__nisw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nic
+ name: description__nre
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: description__re
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: dynamic_groups
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nire
+ name: dynamic_groups__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nisw
+ name: format
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - explode: true
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
in: query
- name: id__nre
+ name: id
required: false
schema:
items:
@@ -81056,7 +77067,7 @@ paths:
style: form
- explode: true
in: query
- name: id__re
+ name: id__n
required: false
schema:
items:
@@ -81064,13 +77075,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: is_active
- required: false
- schema:
- type: boolean
- style: form
- description: Number of results to return per page.
explode: true
in: query
@@ -81079,46 +77083,6 @@ paths:
schema:
type: integer
style: form
- - explode: true
- in: query
- name: location
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: location__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Location (ID) - Deprecated (use location filter)
- explode: true
- in: query
- name: location_id
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude Location (ID) - Deprecated (use location filter)
- explode: true
- in: query
- name: location_id__n
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: name
@@ -81274,193 +77238,6 @@ paths:
schema:
type: string
style: form
- - explode: true
- in: query
- name: owner_object_id
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: owner_object_id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: owner_object_id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: owner_object_id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: owner_object_id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: owner_object_id__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: owner_object_id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: owner_object_id__n
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: owner_object_id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: owner_object_id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: owner_object_id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: owner_object_id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: owner_object_id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: owner_object_id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: owner_object_id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: platform
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: platform__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Platform (ID) - Deprecated (use platform filter)
- explode: true
- in: query
- name: platform_id
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude Platform (ID) - Deprecated (use platform filter)
- explode: true
- in: query
- name: platform_id__n
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Search
explode: true
in: query
@@ -81469,50 +77246,6 @@ paths:
schema:
type: string
style: form
- - explode: true
- in: query
- name: role
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: role__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: schema
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Schema (name or PK) is null
- explode: true
- in: query
- name: schema__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: schema__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- description: Which field to use when ordering the results.
explode: true
in: query
@@ -81521,28 +77254,6 @@ paths:
schema:
type: string
style: form
- - description: Tag (name)
- explode: true
- in: query
- name: tag
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude Tag (name)
- explode: true
- in: query
- name: tag__n
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: teams
@@ -81560,92 +77271,12 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
- in: query
- name: teams__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- - explode: true
- in: query
- name: tenant
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: tenant__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: tenant_group
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- explode: true
in: query
- name: tenant_group__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Tenant group (ID) - Deprecated (use tenant_group filter)
- explode: true
- in: query
- name: tenant_group_id
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude Tenant group (ID) - Deprecated (use tenant_group filter)
- explode: true
- in: query
- name: tenant_group_id__n
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Tenant (ID) - Deprecated (use tenant filter)
- explode: true
- in: query
- name: tenant_id
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude Tenant (ID) - Deprecated (use tenant filter)
- explode: true
- in: query
- name: tenant_id__n
+ name: teams__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
@@ -81660,15 +77291,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedConfigContextList'
+ $ref: "#/components/schemas/PaginatedConfigContextSchemaList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedConfigContextList'
+ $ref: "#/components/schemas/PaginatedConfigContextSchemaList"
description: ""
security:
- cookieAuth: []
@@ -81676,27 +77316,27 @@ paths:
tags:
- extras
patch:
- description: Partial update a list of config context objects.
- operationId: extras_config_contexts_bulk_partial_update
+ description: Partial update a list of config context schema objects.
+ operationId: extras_config_context_schemas_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableConfigContextRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableConfigContextSchemaRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableConfigContextRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableConfigContextSchemaRequest"
type: array
required: true
responses:
@@ -81705,12 +77345,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ConfigContext'
+ $ref: "#/components/schemas/ConfigContextSchema"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ConfigContext'
+ $ref: "#/components/schemas/ConfigContextSchema"
type: array
description: ""
security:
@@ -81719,34 +77359,34 @@ paths:
tags:
- extras
post:
- description: Create one or more config context objects.
- operationId: extras_config_contexts_create
+ description: Create one or more config context schema objects.
+ operationId: extras_config_context_schemas_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/ConfigContextRequest'
+ $ref: "#/components/schemas/ConfigContextSchemaRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ConfigContextRequest'
+ $ref: "#/components/schemas/ConfigContextSchemaRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/ConfigContext'
+ $ref: "#/components/schemas/ConfigContextSchema"
text/csv:
schema:
- $ref: '#/components/schemas/ConfigContext'
+ $ref: "#/components/schemas/ConfigContextSchema"
description: ""
security:
- cookieAuth: []
@@ -81754,27 +77394,27 @@ paths:
tags:
- extras
put:
- description: Update a list of config context objects.
- operationId: extras_config_contexts_bulk_update
+ description: Update a list of config context schema objects.
+ operationId: extras_config_context_schemas_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableConfigContextRequest'
+ $ref: "#/components/schemas/BulkWritableConfigContextSchemaRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableConfigContextRequest'
+ $ref: "#/components/schemas/BulkWritableConfigContextSchemaRequest"
type: array
required: true
responses:
@@ -81783,12 +77423,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ConfigContext'
+ $ref: "#/components/schemas/ConfigContextSchema"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ConfigContext'
+ $ref: "#/components/schemas/ConfigContextSchema"
type: array
description: ""
security:
@@ -81796,19 +77436,19 @@ paths:
- tokenAuth: []
tags:
- extras
- /extras/config-contexts/{id}/:
+ /extras/config-context-schemas/{id}/:
delete:
- description: Destroy a config context object.
- operationId: extras_config_contexts_destroy
+ description: Destroy a config context schema object.
+ operationId: extras_config_context_schemas_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this config context.
+ - description: A UUID string identifying this config context schema.
explode: false
in: path
name: id
@@ -81826,17 +77466,17 @@ paths:
tags:
- extras
get:
- description: Retrieve a config context object.
- operationId: extras_config_contexts_retrieve
+ description: Retrieve a config context schema object.
+ operationId: extras_config_context_schemas_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this config context.
+ - description: A UUID string identifying this config context schema.
explode: false
in: path
name: id
@@ -81856,15 +77496,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ConfigContext'
+ $ref: "#/components/schemas/ConfigContextSchema"
text/csv:
schema:
- $ref: '#/components/schemas/ConfigContext'
+ $ref: "#/components/schemas/ConfigContextSchema"
description: ""
security:
- cookieAuth: []
@@ -81872,17 +77521,17 @@ paths:
tags:
- extras
patch:
- description: Partial update a config context object.
- operationId: extras_config_contexts_partial_update
+ description: Partial update a config context schema object.
+ operationId: extras_config_context_schemas_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this config context.
+ - description: A UUID string identifying this config context schema.
explode: false
in: path
name: id
@@ -81895,19 +77544,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedConfigContextRequest'
+ $ref: "#/components/schemas/PatchedConfigContextSchemaRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedConfigContextRequest'
+ $ref: "#/components/schemas/PatchedConfigContextSchemaRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ConfigContext'
+ $ref: "#/components/schemas/ConfigContextSchema"
text/csv:
schema:
- $ref: '#/components/schemas/ConfigContext'
+ $ref: "#/components/schemas/ConfigContextSchema"
description: ""
security:
- cookieAuth: []
@@ -81915,17 +77564,17 @@ paths:
tags:
- extras
put:
- description: Update a config context object.
- operationId: extras_config_contexts_update
+ description: Update a config context schema object.
+ operationId: extras_config_context_schemas_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this config context.
+ - description: A UUID string identifying this config context schema.
explode: false
in: path
name: id
@@ -81938,39 +77587,39 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ConfigContextRequest'
+ $ref: "#/components/schemas/ConfigContextSchemaRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ConfigContextRequest'
+ $ref: "#/components/schemas/ConfigContextSchemaRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ConfigContext'
+ $ref: "#/components/schemas/ConfigContextSchema"
text/csv:
schema:
- $ref: '#/components/schemas/ConfigContext'
+ $ref: "#/components/schemas/ConfigContextSchema"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- extras
- /extras/config-contexts/{id}/notes/:
+ /extras/config-context-schemas/{id}/notes/:
get:
description: API methods for returning or creating notes on an object.
- operationId: extras_config_contexts_notes_list
+ operationId: extras_config_context_schemas_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this config context.
+ - description: A UUID string identifying this config context schema.
explode: false
in: path
name: id
@@ -82006,15 +77655,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -82023,16 +77681,16 @@ paths:
- extras
post:
description: API methods for returning or creating notes on an object.
- operationId: extras_config_contexts_notes_create
+ operationId: extras_config_context_schemas_notes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this config context.
+ - description: A UUID string identifying this config context schema.
explode: false
in: path
name: id
@@ -82045,49 +77703,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- extras
- /extras/contact-associations/:
+ /extras/config-contexts/:
delete:
- description: Destroy a list of contact association objects.
- operationId: extras_contact_associations_bulk_destroy
+ description: Destroy a list of config context objects.
+ operationId: extras_config_contexts_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -82099,32 +77757,31 @@ paths:
tags:
- extras
get:
- description: Retrieve a list of contact association objects.
- operationId: extras_contact_associations_list
+ description: Retrieve a list of config context objects.
+ operationId: extras_config_contexts_list
parameters:
- explode: true
in: query
- name: associated_object_id
+ name: cluster_group
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: associated_object_id__ic
+ name: cluster_group__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Cluster group (ID) - Deprecated (use cluster_group filter)
+ explode: true
in: query
- name: associated_object_id__ie
+ name: cluster_group_id
required: false
schema:
items:
@@ -82132,9 +77789,10 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Exclude Cluster group (ID) - Deprecated (use cluster_group filter)
+ explode: true
in: query
- name: associated_object_id__iew
+ name: cluster_group_id__n
required: false
schema:
items:
@@ -82142,9 +77800,10 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Cluster (ID)
+ explode: true
in: query
- name: associated_object_id__ire
+ name: cluster_id
required: false
schema:
items:
@@ -82152,9 +77811,10 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Exclude Cluster (ID)
+ explode: true
in: query
- name: associated_object_id__isw
+ name: cluster_id__n
required: false
schema:
items:
@@ -82164,57 +77824,70 @@ paths:
style: form
- explode: true
in: query
- name: associated_object_id__n
+ name: contacts
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
+ - description: Contacts (name or ID) is null
+ explode: true
+ in: query
+ name: contacts__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: associated_object_id__nic
+ name: contacts__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: associated_object_id__nie
+ name: device_redundancy_group
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: associated_object_id__niew
+ name: device_redundancy_group__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: associated_object_id__nire
+ name: device_type
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: associated_object_id__nisw
+ name: device_type__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Device Type (ID) - Deprecated (use device_type filter)
+ explode: true
+ in: query
+ name: device_type_id
required: false
schema:
items:
@@ -82222,9 +77895,10 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Exclude Device Type (ID) - Deprecated (use device_type filter)
+ explode: true
in: query
- name: associated_object_id__nre
+ name: device_type_id__n
required: false
schema:
items:
@@ -82234,7 +77908,16 @@ paths:
style: form
- explode: true
in: query
- name: associated_object_id__re
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
+ in: query
+ name: id
required: false
schema:
items:
@@ -82244,210 +77927,227 @@ paths:
style: form
- explode: true
in: query
- name: associated_object_type
+ name: id__n
required: false
schema:
- type: string
+ items:
+ format: uuid
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: associated_object_type__isnull
+ name: is_active
required: false
schema:
type: boolean
style: form
- - explode: true
+ - description: Number of results to return per page.
+ explode: true
in: query
- name: associated_object_type__n
+ name: limit
required: false
schema:
- type: string
+ type: integer
style: form
- explode: true
in: query
- name: contact
+ name: location
required: false
schema:
items:
type: string
type: array
style: form
- - description: Contact (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: contact__isnull
+ name: location__n
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- - explode: true
+ - description: Location (ID) - Deprecated (use location filter)
+ explode: true
in: query
- name: contact__n
+ name: location_id
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Exclude Location (ID) - Deprecated (use location filter)
+ explode: true
in: query
- name: created
+ name: location_id__n
required: false
schema:
items:
- format: date-time
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: created__gt
+ name: name
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__gte
+ name: name__ic
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__isnull
+ name: name__ie
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: created__lt
+ name: name__iew
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__lte
+ name: name__ire
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__n
+ name: name__isw
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: format
+ name: name__n
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
- explode: true
+ - explode: true
in: query
- name: id
+ name: name__nic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ic
+ name: name__nie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ie
+ name: name__niew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: name__nire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: name__nisw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: name__nre
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__n
+ name: name__re
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
+ - description: The initial index from which to return the results.
+ explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
- explode: true
in: query
- name: id__nic
+ name: owner_content_type
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: owner_content_type__isnull
+ required: false
+ schema:
+ type: boolean
style: form
- explode: true
in: query
- name: id__nie
+ name: owner_content_type__n
+ required: false
+ schema:
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: owner_object_id
required: false
schema:
items:
@@ -82457,7 +78157,14 @@ paths:
style: form
- explode: true
in: query
- name: id__niew
+ name: owner_object_id__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: owner_object_id__n
required: false
schema:
items:
@@ -82467,27 +78174,26 @@ paths:
style: form
- explode: true
in: query
- name: id__nire
+ name: platform
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nisw
+ name: platform__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Platform (ID) - Deprecated (use platform filter)
+ explode: true
in: query
- name: id__nre
+ name: platform_id
required: false
schema:
items:
@@ -82495,9 +78201,10 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Exclude Platform (ID) - Deprecated (use platform filter)
+ explode: true
in: query
- name: id__re
+ name: platform_id__n
required: false
schema:
items:
@@ -82505,164 +78212,191 @@ paths:
type: string
type: array
style: form
+ - description: Search
+ explode: true
+ in: query
+ name: q
+ required: false
+ schema:
+ type: string
+ style: form
- explode: true
in: query
- name: last_updated
+ name: role
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__gt
+ name: role__n
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__gte
+ name: schema
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - explode: true
+ - description: Schema (name or PK) is null
+ explode: true
in: query
- name: last_updated__isnull
+ name: schema__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: last_updated__lt
+ name: schema__n
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - explode: true
+ - description: Which field to use when ordering the results.
+ explode: true
in: query
- name: last_updated__lte
+ name: sort
+ required: false
+ schema:
+ type: string
+ style: form
+ - description: Tag (name)
+ explode: true
+ in: query
+ name: tag
required: false
schema:
items:
- format: date-time
+ format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Exclude Tag (name)
+ explode: true
in: query
- name: last_updated__n
+ name: tag__n
required: false
schema:
items:
- format: date-time
+ format: uuid
type: string
type: array
style: form
- - description: Number of results to return per page.
- explode: true
+ - explode: true
in: query
- name: limit
+ name: teams
required: false
schema:
- type: integer
+ items:
+ type: string
+ type: array
style: form
- - description: The initial index from which to return the results.
+ - description: Teams (name or ID) is null
explode: true
in: query
- name: offset
+ name: teams__isnull
required: false
schema:
- type: integer
+ type: boolean
style: form
- - description: Search
- explode: true
+ - explode: true
in: query
- name: q
+ name: teams__n
required: false
schema:
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: role
+ name: tenant
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Role (name or ID)
- explode: true
+ - explode: true
in: query
- name: role__n
+ name: tenant__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- - description: Which field to use when ordering the results.
- explode: true
+ - explode: true
in: query
- name: sort
+ name: tenant_group
required: false
schema:
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: status
+ name: tenant_group__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Status (name or ID)
+ - description: Tenant group (ID) - Deprecated (use tenant_group filter)
explode: true
in: query
- name: status__n
+ name: tenant_group_id
required: false
schema:
- format: uuid
- type: string
+ items:
+ format: uuid
+ type: string
+ type: array
style: form
- - explode: true
+ - description: Exclude Tenant group (ID) - Deprecated (use tenant_group filter)
+ explode: true
in: query
- name: team
+ name: tenant_group_id__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- - description: Team (name or ID) is null
+ - description: Tenant (ID) - Deprecated (use tenant filter)
explode: true
in: query
- name: team__isnull
+ name: tenant_id
required: false
schema:
- type: boolean
+ items:
+ format: uuid
+ type: string
+ type: array
style: form
- - explode: true
+ - description: Exclude Tenant (ID) - Deprecated (use tenant filter)
+ explode: true
in: query
- name: team__n
+ name: tenant_id__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
@@ -82677,15 +78411,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedContactAssociationList'
+ $ref: "#/components/schemas/PaginatedConfigContextList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedContactAssociationList'
+ $ref: "#/components/schemas/PaginatedConfigContextList"
description: ""
security:
- cookieAuth: []
@@ -82693,27 +78436,27 @@ paths:
tags:
- extras
patch:
- description: Partial update a list of contact association objects.
- operationId: extras_contact_associations_bulk_partial_update
+ description: Partial update a list of config context objects.
+ operationId: extras_config_contexts_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableContactAssociationRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableConfigContextRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableContactAssociationRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableConfigContextRequest"
type: array
required: true
responses:
@@ -82722,12 +78465,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ContactAssociation'
+ $ref: "#/components/schemas/ConfigContext"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ContactAssociation'
+ $ref: "#/components/schemas/ConfigContext"
type: array
description: ""
security:
@@ -82736,34 +78479,34 @@ paths:
tags:
- extras
post:
- description: Create one or more contact association objects.
- operationId: extras_contact_associations_create
+ description: Create one or more config context objects.
+ operationId: extras_config_contexts_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/ContactAssociationRequest'
+ $ref: "#/components/schemas/ConfigContextRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ContactAssociationRequest'
+ $ref: "#/components/schemas/ConfigContextRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/ContactAssociation'
+ $ref: "#/components/schemas/ConfigContext"
text/csv:
schema:
- $ref: '#/components/schemas/ContactAssociation'
+ $ref: "#/components/schemas/ConfigContext"
description: ""
security:
- cookieAuth: []
@@ -82771,27 +78514,27 @@ paths:
tags:
- extras
put:
- description: Update a list of contact association objects.
- operationId: extras_contact_associations_bulk_update
+ description: Update a list of config context objects.
+ operationId: extras_config_contexts_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableContactAssociationRequest'
+ $ref: "#/components/schemas/BulkWritableConfigContextRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableContactAssociationRequest'
+ $ref: "#/components/schemas/BulkWritableConfigContextRequest"
type: array
required: true
responses:
@@ -82800,12 +78543,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ContactAssociation'
+ $ref: "#/components/schemas/ConfigContext"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ContactAssociation'
+ $ref: "#/components/schemas/ConfigContext"
type: array
description: ""
security:
@@ -82813,19 +78556,19 @@ paths:
- tokenAuth: []
tags:
- extras
- /extras/contact-associations/{id}/:
+ /extras/config-contexts/{id}/:
delete:
- description: Destroy a contact association object.
- operationId: extras_contact_associations_destroy
+ description: Destroy a config context object.
+ operationId: extras_config_contexts_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this contact association.
+ - description: A UUID string identifying this config context.
explode: false
in: path
name: id
@@ -82843,17 +78586,17 @@ paths:
tags:
- extras
get:
- description: Retrieve a contact association object.
- operationId: extras_contact_associations_retrieve
+ description: Retrieve a config context object.
+ operationId: extras_config_contexts_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this contact association.
+ - description: A UUID string identifying this config context.
explode: false
in: path
name: id
@@ -82873,15 +78616,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ContactAssociation'
+ $ref: "#/components/schemas/ConfigContext"
text/csv:
schema:
- $ref: '#/components/schemas/ContactAssociation'
+ $ref: "#/components/schemas/ConfigContext"
description: ""
security:
- cookieAuth: []
@@ -82889,17 +78641,17 @@ paths:
tags:
- extras
patch:
- description: Partial update a contact association object.
- operationId: extras_contact_associations_partial_update
+ description: Partial update a config context object.
+ operationId: extras_config_contexts_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this contact association.
+ - description: A UUID string identifying this config context.
explode: false
in: path
name: id
@@ -82912,19 +78664,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedContactAssociationRequest'
+ $ref: "#/components/schemas/PatchedConfigContextRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedContactAssociationRequest'
+ $ref: "#/components/schemas/PatchedConfigContextRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ContactAssociation'
+ $ref: "#/components/schemas/ConfigContext"
text/csv:
schema:
- $ref: '#/components/schemas/ContactAssociation'
+ $ref: "#/components/schemas/ConfigContext"
description: ""
security:
- cookieAuth: []
@@ -82932,17 +78684,17 @@ paths:
tags:
- extras
put:
- description: Update a contact association object.
- operationId: extras_contact_associations_update
+ description: Update a config context object.
+ operationId: extras_config_contexts_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this contact association.
+ - description: A UUID string identifying this config context.
explode: false
in: path
name: id
@@ -82955,39 +78707,39 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ContactAssociationRequest'
+ $ref: "#/components/schemas/ConfigContextRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ContactAssociationRequest'
+ $ref: "#/components/schemas/ConfigContextRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ContactAssociation'
+ $ref: "#/components/schemas/ConfigContext"
text/csv:
schema:
- $ref: '#/components/schemas/ContactAssociation'
+ $ref: "#/components/schemas/ConfigContext"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- extras
- /extras/contact-associations/{id}/notes/:
+ /extras/config-contexts/{id}/notes/:
get:
description: API methods for returning or creating notes on an object.
- operationId: extras_contact_associations_notes_list
+ operationId: extras_config_contexts_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this contact association.
+ - description: A UUID string identifying this config context.
explode: false
in: path
name: id
@@ -83023,15 +78775,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -83040,16 +78801,16 @@ paths:
- extras
post:
description: API methods for returning or creating notes on an object.
- operationId: extras_contact_associations_notes_create
+ operationId: extras_config_contexts_notes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this contact association.
+ - description: A UUID string identifying this config context.
explode: false
in: path
name: id
@@ -83062,49 +78823,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- extras
- /extras/contacts/:
+ /extras/contact-associations/:
delete:
- description: Destroy a list of contact objects.
- operationId: extras_contacts_bulk_destroy
+ description: Destroy a list of contact association objects.
+ operationId: extras_contact_associations_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -83116,39 +78877,70 @@ paths:
tags:
- extras
get:
- description: Retrieve a list of contact objects.
- operationId: extras_contacts_list
+ description: Retrieve a list of contact association objects.
+ operationId: extras_contact_associations_list
parameters:
- explode: true
in: query
- name: address
+ name: associated_object_id
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: address__ic
+ name: associated_object_id__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: address__ie
+ name: associated_object_type
+ required: false
+ schema:
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: associated_object_type__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: associated_object_type__n
+ required: false
+ schema:
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: contact
required: false
schema:
items:
type: string
type: array
style: form
+ - description: Contact (name or ID) is null
+ explode: true
+ in: query
+ name: contact__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: address__iew
+ name: contact__n
required: false
schema:
items:
@@ -83157,133 +78949,194 @@ paths:
style: form
- explode: true
in: query
- name: address__ire
+ name: created
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: address__isw
+ name: created__gt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: address__n
+ name: created__gte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: address__nic
+ name: created__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: created__lt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: address__nie
+ name: created__lte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: address__niew
+ name: created__n
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: address__nire
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
+ in: query
+ name: id
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: address__nisw
+ name: id__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: address__nre
+ name: last_updated
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: address__re
+ name: last_updated__gt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: comments
+ name: last_updated__gte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: comments__ic
+ name: last_updated__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: last_updated__lt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: comments__ie
+ name: last_updated__lte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: comments__iew
+ name: last_updated__n
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: The initial index from which to return the results.
+ explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: Search
+ explode: true
+ in: query
+ name: q
+ required: false
+ schema:
+ type: string
+ style: form
- explode: true
in: query
- name: comments__ire
+ name: role
required: false
schema:
items:
@@ -83292,16 +79145,24 @@ paths:
style: form
- explode: true
in: query
- name: comments__isw
+ name: role__n
required: false
schema:
items:
type: string
type: array
style: form
+ - description: Which field to use when ordering the results.
+ explode: true
+ in: query
+ name: sort
+ required: false
+ schema:
+ type: string
+ style: form
- explode: true
in: query
- name: comments__n
+ name: status
required: false
schema:
items:
@@ -83310,7 +79171,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__nic
+ name: status__n
required: false
schema:
items:
@@ -83319,25 +79180,513 @@ paths:
style: form
- explode: true
in: query
- name: comments__nie
+ name: team
required: false
schema:
items:
type: string
type: array
style: form
+ - description: Team (name or ID) is null
+ explode: true
+ in: query
+ name: team__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: comments__niew
+ name: team__n
required: false
schema:
items:
type: string
type: array
style: form
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedContactAssociationList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedContactAssociationList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ patch:
+ description: Partial update a list of contact association objects.
+ operationId: extras_contact_associations_bulk_partial_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableContactAssociationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableContactAssociationRequest"
+ type: array
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/ContactAssociation"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/ContactAssociation"
+ type: array
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ post:
+ description: Create one or more contact association objects.
+ operationId: extras_contact_associations_create
+ parameters:
- explode: true
in: query
- name: comments__nire
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ContactAssociationRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/ContactAssociationRequest"
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ContactAssociation"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/ContactAssociation"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ put:
+ description: Update a list of contact association objects.
+ operationId: extras_contact_associations_bulk_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableContactAssociationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableContactAssociationRequest"
+ type: array
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/ContactAssociation"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/ContactAssociation"
+ type: array
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ /extras/contact-associations/{id}/:
+ delete:
+ description: Destroy a contact association object.
+ operationId: extras_contact_associations_destroy
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this contact association.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ get:
+ description: Retrieve a contact association object.
+ operationId: extras_contact_associations_retrieve
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this contact association.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ContactAssociation"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/ContactAssociation"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ patch:
+ description: Partial update a contact association object.
+ operationId: extras_contact_associations_partial_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this contact association.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PatchedContactAssociationRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PatchedContactAssociationRequest"
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ContactAssociation"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/ContactAssociation"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ put:
+ description: Update a contact association object.
+ operationId: extras_contact_associations_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this contact association.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ContactAssociationRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/ContactAssociationRequest"
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ContactAssociation"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/ContactAssociation"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ /extras/contact-associations/{id}/notes/:
+ get:
+ description: API methods for returning or creating notes on an object.
+ operationId: extras_contact_associations_notes_list
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this contact association.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: The initial index from which to return the results.
+ explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ post:
+ description: API methods for returning or creating notes on an object.
+ operationId: extras_contact_associations_notes_create
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this contact association.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Note"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/Note"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ /extras/contacts/:
+ delete:
+ description: Destroy a list of contact objects.
+ operationId: extras_contacts_bulk_destroy
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ required: true
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ get:
+ description: Retrieve a list of contact objects.
+ operationId: extras_contacts_list
+ parameters:
+ - explode: true
+ in: query
+ name: address
required: false
schema:
items:
@@ -83346,7 +79695,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__nisw
+ name: address__ic
required: false
schema:
items:
@@ -83355,7 +79704,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__nre
+ name: address__ie
required: false
schema:
items:
@@ -83364,7 +79713,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__re
+ name: address__iew
required: false
schema:
items:
@@ -83373,92 +79722,88 @@ paths:
style: form
- explode: true
in: query
- name: created
+ name: address__ire
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__gt
+ name: address__isw
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__gte
+ name: address__n
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__isnull
+ name: address__nic
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: created__lt
+ name: address__nie
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__lte
+ name: address__niew
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__n
+ name: address__nire
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: dynamic_groups
+ name: address__nisw
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
- name: dynamic_groups__n
+ name: address__nre
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: email
+ name: address__re
required: false
schema:
items:
@@ -83467,7 +79812,7 @@ paths:
style: form
- explode: true
in: query
- name: email__ic
+ name: comments
required: false
schema:
items:
@@ -83476,7 +79821,7 @@ paths:
style: form
- explode: true
in: query
- name: email__ie
+ name: comments__ic
required: false
schema:
items:
@@ -83485,7 +79830,7 @@ paths:
style: form
- explode: true
in: query
- name: email__iew
+ name: comments__ie
required: false
schema:
items:
@@ -83494,7 +79839,7 @@ paths:
style: form
- explode: true
in: query
- name: email__ire
+ name: comments__iew
required: false
schema:
items:
@@ -83503,7 +79848,7 @@ paths:
style: form
- explode: true
in: query
- name: email__isw
+ name: comments__ire
required: false
schema:
items:
@@ -83512,7 +79857,7 @@ paths:
style: form
- explode: true
in: query
- name: email__n
+ name: comments__isw
required: false
schema:
items:
@@ -83521,7 +79866,7 @@ paths:
style: form
- explode: true
in: query
- name: email__nic
+ name: comments__n
required: false
schema:
items:
@@ -83530,7 +79875,7 @@ paths:
style: form
- explode: true
in: query
- name: email__nie
+ name: comments__nic
required: false
schema:
items:
@@ -83539,7 +79884,7 @@ paths:
style: form
- explode: true
in: query
- name: email__niew
+ name: comments__nie
required: false
schema:
items:
@@ -83548,7 +79893,7 @@ paths:
style: form
- explode: true
in: query
- name: email__nire
+ name: comments__niew
required: false
schema:
items:
@@ -83557,7 +79902,7 @@ paths:
style: form
- explode: true
in: query
- name: email__nisw
+ name: comments__nire
required: false
schema:
items:
@@ -83566,7 +79911,7 @@ paths:
style: form
- explode: true
in: query
- name: email__nre
+ name: comments__nisw
required: false
schema:
items:
@@ -83575,7 +79920,7 @@ paths:
style: form
- explode: true
in: query
- name: email__re
+ name: comments__nre
required: false
schema:
items:
@@ -83584,136 +79929,236 @@ paths:
style: form
- explode: true
in: query
- name: format
+ name: comments__re
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
- explode: true
+ - explode: true
in: query
- name: id
+ name: created
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__ic
+ name: created__gt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__ie
+ name: created__gte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: created__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: created__lt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: created__lte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: created__n
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__n
+ name: dynamic_groups
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nic
+ name: dynamic_groups__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: email
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: email__ic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nire
+ name: email__ie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nisw
+ name: email__iew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nre
+ name: email__ire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: email__isw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: email__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: email__nic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: email__nie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: email__niew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: email__nire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: email__nisw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: email__nre
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: email__re
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
+ in: query
+ name: id
required: false
schema:
items:
@@ -83723,7 +80168,7 @@ paths:
style: form
- explode: true
in: query
- name: id__re
+ name: id__n
required: false
schema:
items:
@@ -84116,6 +80561,32 @@ paths:
type: string
type: array
style: form
+ - explode: true
+ in: query
+ name: teams
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Team (name or ID) is null
+ explode: true
+ in: query
+ name: teams__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: teams__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- description: Serializer Depth
explode: true
in: query
@@ -84127,15 +80598,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedContactList'
+ $ref: "#/components/schemas/PaginatedContactList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedContactList'
+ $ref: "#/components/schemas/PaginatedContactList"
description: ""
security:
- cookieAuth: []
@@ -84151,19 +80631,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableContactRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableContactRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableContactRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableContactRequest"
type: array
required: true
responses:
@@ -84172,12 +80652,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Contact'
+ $ref: "#/components/schemas/Contact"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Contact'
+ $ref: "#/components/schemas/Contact"
type: array
description: ""
security:
@@ -84194,26 +80674,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/ContactRequest'
+ $ref: "#/components/schemas/ContactRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ContactRequest'
+ $ref: "#/components/schemas/ContactRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Contact'
+ $ref: "#/components/schemas/Contact"
text/csv:
schema:
- $ref: '#/components/schemas/Contact'
+ $ref: "#/components/schemas/Contact"
description: ""
security:
- cookieAuth: []
@@ -84229,19 +80709,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableContactRequest'
+ $ref: "#/components/schemas/BulkWritableContactRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableContactRequest'
+ $ref: "#/components/schemas/BulkWritableContactRequest"
type: array
required: true
responses:
@@ -84250,12 +80730,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Contact'
+ $ref: "#/components/schemas/Contact"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Contact'
+ $ref: "#/components/schemas/Contact"
type: array
description: ""
security:
@@ -84273,7 +80753,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this contact.
explode: false
@@ -84301,7 +80781,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this contact.
explode: false
@@ -84323,15 +80803,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Contact'
+ $ref: "#/components/schemas/Contact"
text/csv:
schema:
- $ref: '#/components/schemas/Contact'
+ $ref: "#/components/schemas/Contact"
description: ""
security:
- cookieAuth: []
@@ -84347,7 +80836,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this contact.
explode: false
@@ -84362,19 +80851,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedContactRequest'
+ $ref: "#/components/schemas/PatchedContactRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedContactRequest'
+ $ref: "#/components/schemas/PatchedContactRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Contact'
+ $ref: "#/components/schemas/Contact"
text/csv:
schema:
- $ref: '#/components/schemas/Contact'
+ $ref: "#/components/schemas/Contact"
description: ""
security:
- cookieAuth: []
@@ -84390,7 +80879,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this contact.
explode: false
@@ -84405,20 +80894,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ContactRequest'
+ $ref: "#/components/schemas/ContactRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ContactRequest'
+ $ref: "#/components/schemas/ContactRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Contact'
+ $ref: "#/components/schemas/Contact"
text/csv:
schema:
- $ref: '#/components/schemas/Contact'
+ $ref: "#/components/schemas/Contact"
description: ""
security:
- cookieAuth: []
@@ -84435,7 +80924,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this contact.
explode: false
@@ -84473,15 +80962,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -84497,7 +80995,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this contact.
explode: false
@@ -84512,20 +81010,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -84709,7 +81207,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A REST API serializer exists for this type
explode: true
@@ -84944,15 +81442,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedContentTypeList'
+ $ref: "#/components/schemas/PaginatedContentTypeList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedContentTypeList'
+ $ref: "#/components/schemas/PaginatedContentTypeList"
description: ""
security:
- cookieAuth: []
@@ -84970,7 +81477,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A unique integer value identifying this content type.
explode: false
@@ -84991,15 +81498,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ContentType'
+ $ref: "#/components/schemas/ContentType"
text/csv:
schema:
- $ref: '#/components/schemas/ContentType'
+ $ref: "#/components/schemas/ContentType"
description: ""
security:
- cookieAuth: []
@@ -85016,19 +81532,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -85066,7 +81582,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -85080,56 +81596,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -85140,76 +81606,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Number of results to return per page.
explode: true
in: query
@@ -85433,15 +81829,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedCustomFieldChoiceList'
+ $ref: "#/components/schemas/PaginatedCustomFieldChoiceList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedCustomFieldChoiceList'
+ $ref: "#/components/schemas/PaginatedCustomFieldChoiceList"
description: ""
security:
- cookieAuth: []
@@ -85457,19 +81862,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableCustomFieldChoiceRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableCustomFieldChoiceRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableCustomFieldChoiceRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableCustomFieldChoiceRequest"
type: array
required: true
responses:
@@ -85478,12 +81883,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/CustomFieldChoice'
+ $ref: "#/components/schemas/CustomFieldChoice"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/CustomFieldChoice'
+ $ref: "#/components/schemas/CustomFieldChoice"
type: array
description: ""
security:
@@ -85500,26 +81905,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/CustomFieldChoiceRequest'
+ $ref: "#/components/schemas/CustomFieldChoiceRequest"
text/csv:
schema:
- $ref: '#/components/schemas/CustomFieldChoiceRequest'
+ $ref: "#/components/schemas/CustomFieldChoiceRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/CustomFieldChoice'
+ $ref: "#/components/schemas/CustomFieldChoice"
text/csv:
schema:
- $ref: '#/components/schemas/CustomFieldChoice'
+ $ref: "#/components/schemas/CustomFieldChoice"
description: ""
security:
- cookieAuth: []
@@ -85535,19 +81940,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableCustomFieldChoiceRequest'
+ $ref: "#/components/schemas/BulkWritableCustomFieldChoiceRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableCustomFieldChoiceRequest'
+ $ref: "#/components/schemas/BulkWritableCustomFieldChoiceRequest"
type: array
required: true
responses:
@@ -85556,12 +81961,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/CustomFieldChoice'
+ $ref: "#/components/schemas/CustomFieldChoice"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/CustomFieldChoice'
+ $ref: "#/components/schemas/CustomFieldChoice"
type: array
description: ""
security:
@@ -85579,7 +81984,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this custom field choice.
explode: false
@@ -85607,7 +82012,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this custom field choice.
explode: false
@@ -85629,15 +82034,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/CustomFieldChoice'
+ $ref: "#/components/schemas/CustomFieldChoice"
text/csv:
schema:
- $ref: '#/components/schemas/CustomFieldChoice'
+ $ref: "#/components/schemas/CustomFieldChoice"
description: ""
security:
- cookieAuth: []
@@ -85653,7 +82067,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this custom field choice.
explode: false
@@ -85668,19 +82082,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedCustomFieldChoiceRequest'
+ $ref: "#/components/schemas/PatchedCustomFieldChoiceRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedCustomFieldChoiceRequest'
+ $ref: "#/components/schemas/PatchedCustomFieldChoiceRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/CustomFieldChoice'
+ $ref: "#/components/schemas/CustomFieldChoice"
text/csv:
schema:
- $ref: '#/components/schemas/CustomFieldChoice'
+ $ref: "#/components/schemas/CustomFieldChoice"
description: ""
security:
- cookieAuth: []
@@ -85696,7 +82110,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this custom field choice.
explode: false
@@ -85711,20 +82125,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/CustomFieldChoiceRequest'
+ $ref: "#/components/schemas/CustomFieldChoiceRequest"
text/csv:
schema:
- $ref: '#/components/schemas/CustomFieldChoiceRequest'
+ $ref: "#/components/schemas/CustomFieldChoiceRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/CustomFieldChoice'
+ $ref: "#/components/schemas/CustomFieldChoice"
text/csv:
schema:
- $ref: '#/components/schemas/CustomFieldChoice'
+ $ref: "#/components/schemas/CustomFieldChoice"
description: ""
security:
- cookieAuth: []
@@ -85741,19 +82155,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -85785,63 +82199,18 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
- in: query
- name: contacts__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- - explode: true
- in: query
- name: content_types
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- explode: true
in: query
- name: content_types__ic
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__ie
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__iew
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__ire
+ name: contacts__n
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: content_types__isw
+ name: content_types
required: false
schema:
items:
@@ -85859,85 +82228,22 @@ paths:
style: form
- explode: true
in: query
- name: content_types__nic
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__nie
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__niew
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__nire
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__nisw
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__nre
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__re
+ name: dynamic_groups
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: dynamic_groups
+ name: dynamic_groups__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
- in: query
- name: dynamic_groups__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- description: Loose matches any instance of a given string; Exact matches the
entire field.
explode: true
@@ -85994,9 +82300,7 @@ paths:
type: string
type: array
style: form
- - description: Loose matches any instance of a given string; Exact matches the
- entire field.
- explode: true
+ - explode: true
in: query
name: filter_logic__n
required: false
@@ -86073,7 +82377,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- explode: true
in: query
@@ -86213,56 +82517,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -86273,76 +82527,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: label
@@ -86525,14 +82709,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -86599,15 +82783,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedCustomFieldList'
+ $ref: "#/components/schemas/PaginatedCustomFieldList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedCustomFieldList'
+ $ref: "#/components/schemas/PaginatedCustomFieldList"
description: ""
security:
- cookieAuth: []
@@ -86623,19 +82816,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableCustomFieldRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableCustomFieldRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableCustomFieldRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableCustomFieldRequest"
type: array
required: true
responses:
@@ -86644,12 +82837,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/CustomField'
+ $ref: "#/components/schemas/CustomField"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/CustomField'
+ $ref: "#/components/schemas/CustomField"
type: array
description: ""
security:
@@ -86666,26 +82859,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableCustomFieldRequest'
+ $ref: "#/components/schemas/WritableCustomFieldRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableCustomFieldRequest'
+ $ref: "#/components/schemas/WritableCustomFieldRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/CustomField'
+ $ref: "#/components/schemas/CustomField"
text/csv:
schema:
- $ref: '#/components/schemas/CustomField'
+ $ref: "#/components/schemas/CustomField"
description: ""
security:
- cookieAuth: []
@@ -86701,19 +82894,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableCustomFieldRequest'
+ $ref: "#/components/schemas/BulkWritableCustomFieldRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableCustomFieldRequest'
+ $ref: "#/components/schemas/BulkWritableCustomFieldRequest"
type: array
required: true
responses:
@@ -86722,12 +82915,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/CustomField'
+ $ref: "#/components/schemas/CustomField"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/CustomField'
+ $ref: "#/components/schemas/CustomField"
type: array
description: ""
security:
@@ -86745,7 +82938,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this custom field.
explode: false
@@ -86773,7 +82966,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this custom field.
explode: false
@@ -86795,15 +82988,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/CustomField'
+ $ref: "#/components/schemas/CustomField"
text/csv:
schema:
- $ref: '#/components/schemas/CustomField'
+ $ref: "#/components/schemas/CustomField"
description: ""
security:
- cookieAuth: []
@@ -86819,7 +83021,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this custom field.
explode: false
@@ -86834,19 +83036,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedWritableCustomFieldRequest'
+ $ref: "#/components/schemas/PatchedWritableCustomFieldRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedWritableCustomFieldRequest'
+ $ref: "#/components/schemas/PatchedWritableCustomFieldRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/CustomField'
+ $ref: "#/components/schemas/CustomField"
text/csv:
schema:
- $ref: '#/components/schemas/CustomField'
+ $ref: "#/components/schemas/CustomField"
description: ""
security:
- cookieAuth: []
@@ -86862,7 +83064,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this custom field.
explode: false
@@ -86877,20 +83079,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableCustomFieldRequest'
+ $ref: "#/components/schemas/WritableCustomFieldRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableCustomFieldRequest'
+ $ref: "#/components/schemas/WritableCustomFieldRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/CustomField'
+ $ref: "#/components/schemas/CustomField"
text/csv:
schema:
- $ref: '#/components/schemas/CustomField'
+ $ref: "#/components/schemas/CustomField"
description: ""
security:
- cookieAuth: []
@@ -86907,7 +83109,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this custom field.
explode: false
@@ -86945,15 +83147,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -86969,7 +83180,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this custom field.
explode: false
@@ -86984,20 +83195,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -87015,19 +83226,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -87099,9 +83310,7 @@ paths:
type: string
type: array
style: form
- - description: The class of the first link in a group will be used for the dropdown
- button
- explode: true
+ - explode: true
in: query
name: button_class__n
required: false
@@ -87190,14 +83399,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -87222,21 +83431,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- explode: true
in: query
@@ -87376,56 +83585,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -87436,76 +83595,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Number of results to return per page.
explode: true
in: query
@@ -87814,14 +83903,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -88014,15 +84103,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedCustomLinkList'
+ $ref: "#/components/schemas/PaginatedCustomLinkList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedCustomLinkList'
+ $ref: "#/components/schemas/PaginatedCustomLinkList"
description: ""
security:
- cookieAuth: []
@@ -88039,19 +84137,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableCustomLinkRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableCustomLinkRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableCustomLinkRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableCustomLinkRequest"
type: array
required: true
responses:
@@ -88060,12 +84158,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/CustomLink'
+ $ref: "#/components/schemas/CustomLink"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/CustomLink'
+ $ref: "#/components/schemas/CustomLink"
type: array
description: ""
security:
@@ -88083,26 +84181,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/CustomLinkRequest'
+ $ref: "#/components/schemas/CustomLinkRequest"
text/csv:
schema:
- $ref: '#/components/schemas/CustomLinkRequest'
+ $ref: "#/components/schemas/CustomLinkRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/CustomLink'
+ $ref: "#/components/schemas/CustomLink"
text/csv:
schema:
- $ref: '#/components/schemas/CustomLink'
+ $ref: "#/components/schemas/CustomLink"
description: ""
security:
- cookieAuth: []
@@ -88119,19 +84217,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableCustomLinkRequest'
+ $ref: "#/components/schemas/BulkWritableCustomLinkRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableCustomLinkRequest'
+ $ref: "#/components/schemas/BulkWritableCustomLinkRequest"
type: array
required: true
responses:
@@ -88140,12 +84238,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/CustomLink'
+ $ref: "#/components/schemas/CustomLink"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/CustomLink'
+ $ref: "#/components/schemas/CustomLink"
type: array
description: ""
security:
@@ -88164,7 +84262,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this custom link.
explode: false
@@ -88193,7 +84291,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this custom link.
explode: false
@@ -88215,15 +84313,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/CustomLink'
+ $ref: "#/components/schemas/CustomLink"
text/csv:
schema:
- $ref: '#/components/schemas/CustomLink'
+ $ref: "#/components/schemas/CustomLink"
description: ""
security:
- cookieAuth: []
@@ -88240,7 +84347,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this custom link.
explode: false
@@ -88255,19 +84362,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedCustomLinkRequest'
+ $ref: "#/components/schemas/PatchedCustomLinkRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedCustomLinkRequest'
+ $ref: "#/components/schemas/PatchedCustomLinkRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/CustomLink'
+ $ref: "#/components/schemas/CustomLink"
text/csv:
schema:
- $ref: '#/components/schemas/CustomLink'
+ $ref: "#/components/schemas/CustomLink"
description: ""
security:
- cookieAuth: []
@@ -88284,7 +84391,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this custom link.
explode: false
@@ -88299,20 +84406,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/CustomLinkRequest'
+ $ref: "#/components/schemas/CustomLinkRequest"
text/csv:
schema:
- $ref: '#/components/schemas/CustomLinkRequest'
+ $ref: "#/components/schemas/CustomLinkRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/CustomLink'
+ $ref: "#/components/schemas/CustomLink"
text/csv:
schema:
- $ref: '#/components/schemas/CustomLink'
+ $ref: "#/components/schemas/CustomLink"
description: ""
security:
- cookieAuth: []
@@ -88329,7 +84436,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this custom link.
explode: false
@@ -88367,15 +84474,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -88391,7 +84507,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this custom link.
explode: false
@@ -88406,20 +84522,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -88437,19 +84553,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -88480,7 +84596,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- explode: true
in: query
@@ -88512,56 +84628,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -88572,76 +84638,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: last_updated
@@ -88674,7 +84670,7 @@ paths:
required: false
schema:
items:
- $ref: '#/components/schemas/extras_dynamic_group_memberships_list_operator_parameter_inner'
+ $ref: "#/components/schemas/extras_dynamic_group_memberships_list_operator_parameter_inner"
type: array
style: form
- explode: true
@@ -88728,7 +84724,7 @@ paths:
required: false
schema:
items:
- $ref: '#/components/schemas/extras_dynamic_group_memberships_list_operator_parameter_inner'
+ type: string
type: array
style: form
- explode: true
@@ -88893,15 +84889,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedDynamicGroupMembershipList'
+ $ref: "#/components/schemas/PaginatedDynamicGroupMembershipList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedDynamicGroupMembershipList'
+ $ref: "#/components/schemas/PaginatedDynamicGroupMembershipList"
description: ""
security:
- cookieAuth: []
@@ -88918,19 +84923,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableDynamicGroupMembershipRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableDynamicGroupMembershipRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableDynamicGroupMembershipRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableDynamicGroupMembershipRequest"
type: array
required: true
responses:
@@ -88939,12 +84944,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/DynamicGroupMembership'
+ $ref: "#/components/schemas/DynamicGroupMembership"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/DynamicGroupMembership'
+ $ref: "#/components/schemas/DynamicGroupMembership"
type: array
description: ""
security:
@@ -88962,26 +84967,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/DynamicGroupMembershipRequest'
+ $ref: "#/components/schemas/DynamicGroupMembershipRequest"
text/csv:
schema:
- $ref: '#/components/schemas/DynamicGroupMembershipRequest'
+ $ref: "#/components/schemas/DynamicGroupMembershipRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/DynamicGroupMembership'
+ $ref: "#/components/schemas/DynamicGroupMembership"
text/csv:
schema:
- $ref: '#/components/schemas/DynamicGroupMembership'
+ $ref: "#/components/schemas/DynamicGroupMembership"
description: ""
security:
- cookieAuth: []
@@ -88998,19 +85003,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableDynamicGroupMembershipRequest'
+ $ref: "#/components/schemas/BulkWritableDynamicGroupMembershipRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableDynamicGroupMembershipRequest'
+ $ref: "#/components/schemas/BulkWritableDynamicGroupMembershipRequest"
type: array
required: true
responses:
@@ -89019,12 +85024,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/DynamicGroupMembership'
+ $ref: "#/components/schemas/DynamicGroupMembership"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/DynamicGroupMembership'
+ $ref: "#/components/schemas/DynamicGroupMembership"
type: array
description: ""
security:
@@ -89043,7 +85048,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this dynamic group membership.
explode: false
@@ -89072,7 +85077,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this dynamic group membership.
explode: false
@@ -89094,15 +85099,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/DynamicGroupMembership'
+ $ref: "#/components/schemas/DynamicGroupMembership"
text/csv:
schema:
- $ref: '#/components/schemas/DynamicGroupMembership'
+ $ref: "#/components/schemas/DynamicGroupMembership"
description: ""
security:
- cookieAuth: []
@@ -89119,7 +85133,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this dynamic group membership.
explode: false
@@ -89134,19 +85148,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedDynamicGroupMembershipRequest'
+ $ref: "#/components/schemas/PatchedDynamicGroupMembershipRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedDynamicGroupMembershipRequest'
+ $ref: "#/components/schemas/PatchedDynamicGroupMembershipRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/DynamicGroupMembership'
+ $ref: "#/components/schemas/DynamicGroupMembership"
text/csv:
schema:
- $ref: '#/components/schemas/DynamicGroupMembership'
+ $ref: "#/components/schemas/DynamicGroupMembership"
description: ""
security:
- cookieAuth: []
@@ -89163,7 +85177,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this dynamic group membership.
explode: false
@@ -89178,20 +85192,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/DynamicGroupMembershipRequest'
+ $ref: "#/components/schemas/DynamicGroupMembershipRequest"
text/csv:
schema:
- $ref: '#/components/schemas/DynamicGroupMembershipRequest'
+ $ref: "#/components/schemas/DynamicGroupMembershipRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/DynamicGroupMembership'
+ $ref: "#/components/schemas/DynamicGroupMembership"
text/csv:
schema:
- $ref: '#/components/schemas/DynamicGroupMembership'
+ $ref: "#/components/schemas/DynamicGroupMembership"
description: ""
security:
- cookieAuth: []
@@ -89209,19 +85223,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -89254,14 +85268,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -89479,7 +85493,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- explode: true
in: query
@@ -89487,7 +85501,7 @@ paths:
required: false
schema:
items:
- $ref: '#/components/schemas/extras_dynamic_groups_list_group_type_parameter_inner'
+ $ref: "#/components/schemas/extras_dynamic_groups_list_group_type_parameter_inner"
type: array
style: form
- explode: true
@@ -89541,7 +85555,7 @@ paths:
required: false
schema:
items:
- $ref: '#/components/schemas/extras_dynamic_groups_list_group_type_parameter_inner'
+ type: string
type: array
style: form
- explode: true
@@ -89619,56 +85633,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -89679,76 +85643,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: last_updated
@@ -89835,61 +85729,6 @@ paths:
type: string
type: array
style: form
- - description: Group member ID contains
- explode: true
- in: query
- name: member_id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Group member ID
- explode: true
- in: query
- name: member_id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Group member ID ends with
- explode: true
- in: query
- name: member_id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Group member ID matches regex
- explode: true
- in: query
- name: member_id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Group member ID starts with
- explode: true
- in: query
- name: member_id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Exclude Group member ID
explode: true
in: query
@@ -89901,83 +85740,6 @@ paths:
type: string
type: array
style: form
- - description: Exclude Group member ID contains
- explode: true
- in: query
- name: member_id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude Group member ID
- explode: true
- in: query
- name: member_id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude Group member ID ends with
- explode: true
- in: query
- name: member_id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude Group member ID matches regex
- explode: true
- in: query
- name: member_id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude Group member ID starts with
- explode: true
- in: query
- name: member_id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude Group member ID matches regex
- explode: true
- in: query
- name: member_id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Group member ID matches regex
- explode: true
- in: query
- name: member_id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: name
@@ -90170,14 +85932,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -90274,15 +86036,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedDynamicGroupList'
+ $ref: "#/components/schemas/PaginatedDynamicGroupList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedDynamicGroupList'
+ $ref: "#/components/schemas/PaginatedDynamicGroupList"
description: ""
security:
- cookieAuth: []
@@ -90299,19 +86070,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableDynamicGroupRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableDynamicGroupRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableDynamicGroupRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableDynamicGroupRequest"
type: array
required: true
responses:
@@ -90320,12 +86091,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/DynamicGroup'
+ $ref: "#/components/schemas/DynamicGroup"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/DynamicGroup'
+ $ref: "#/components/schemas/DynamicGroup"
type: array
description: ""
security:
@@ -90343,26 +86114,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/DynamicGroupRequest'
+ $ref: "#/components/schemas/DynamicGroupRequest"
text/csv:
schema:
- $ref: '#/components/schemas/DynamicGroupRequest'
+ $ref: "#/components/schemas/DynamicGroupRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/DynamicGroup'
+ $ref: "#/components/schemas/DynamicGroup"
text/csv:
schema:
- $ref: '#/components/schemas/DynamicGroup'
+ $ref: "#/components/schemas/DynamicGroup"
description: ""
security:
- cookieAuth: []
@@ -90379,19 +86150,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableDynamicGroupRequest'
+ $ref: "#/components/schemas/BulkWritableDynamicGroupRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableDynamicGroupRequest'
+ $ref: "#/components/schemas/BulkWritableDynamicGroupRequest"
type: array
required: true
responses:
@@ -90400,12 +86171,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/DynamicGroup'
+ $ref: "#/components/schemas/DynamicGroup"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/DynamicGroup'
+ $ref: "#/components/schemas/DynamicGroup"
type: array
description: ""
security:
@@ -90424,7 +86195,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this dynamic group.
explode: false
@@ -90453,7 +86224,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this dynamic group.
explode: false
@@ -90475,15 +86246,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/DynamicGroup'
+ $ref: "#/components/schemas/DynamicGroup"
text/csv:
schema:
- $ref: '#/components/schemas/DynamicGroup'
+ $ref: "#/components/schemas/DynamicGroup"
description: ""
security:
- cookieAuth: []
@@ -90500,7 +86280,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this dynamic group.
explode: false
@@ -90515,19 +86295,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedDynamicGroupRequest'
+ $ref: "#/components/schemas/PatchedDynamicGroupRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedDynamicGroupRequest'
+ $ref: "#/components/schemas/PatchedDynamicGroupRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/DynamicGroup'
+ $ref: "#/components/schemas/DynamicGroup"
text/csv:
schema:
- $ref: '#/components/schemas/DynamicGroup'
+ $ref: "#/components/schemas/DynamicGroup"
description: ""
security:
- cookieAuth: []
@@ -90544,7 +86324,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this dynamic group.
explode: false
@@ -90559,20 +86339,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/DynamicGroupRequest'
+ $ref: "#/components/schemas/DynamicGroupRequest"
text/csv:
schema:
- $ref: '#/components/schemas/DynamicGroupRequest'
+ $ref: "#/components/schemas/DynamicGroupRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/DynamicGroup'
+ $ref: "#/components/schemas/DynamicGroup"
text/csv:
schema:
- $ref: '#/components/schemas/DynamicGroup'
+ $ref: "#/components/schemas/DynamicGroup"
description: ""
security:
- cookieAuth: []
@@ -90589,7 +86369,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this dynamic group.
explode: false
@@ -90611,15 +86391,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/DynamicGroup'
+ $ref: "#/components/schemas/DynamicGroup"
text/csv:
schema:
- $ref: '#/components/schemas/DynamicGroup'
+ $ref: "#/components/schemas/DynamicGroup"
description: ""
security:
- cookieAuth: []
@@ -90636,7 +86425,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this dynamic group.
explode: false
@@ -90674,15 +86463,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -90698,7 +86496,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this dynamic group.
explode: false
@@ -90713,20 +86511,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -90743,19 +86541,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -90787,14 +86585,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -90819,21 +86617,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -90847,56 +86645,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -90907,76 +86655,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Number of results to return per page.
explode: true
in: query
@@ -91150,46 +86828,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: owner_object_id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: owner_object_id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: owner_object_id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: owner_object_id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: owner_object_id__isnull
@@ -91197,16 +86835,6 @@ paths:
schema:
type: boolean
style: form
- - explode: true
- in: query
- name: owner_object_id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: owner_object_id__n
@@ -91217,76 +86845,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: owner_object_id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: owner_object_id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: owner_object_id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: owner_object_id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: owner_object_id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: owner_object_id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: owner_object_id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Search
explode: true
in: query
@@ -91320,14 +86878,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -91340,15 +86898,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedExportTemplateList'
+ $ref: "#/components/schemas/PaginatedExportTemplateList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedExportTemplateList'
+ $ref: "#/components/schemas/PaginatedExportTemplateList"
description: ""
security:
- cookieAuth: []
@@ -91364,19 +86931,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableExportTemplateRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableExportTemplateRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableExportTemplateRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableExportTemplateRequest"
type: array
required: true
responses:
@@ -91385,12 +86952,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ExportTemplate'
+ $ref: "#/components/schemas/ExportTemplate"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ExportTemplate'
+ $ref: "#/components/schemas/ExportTemplate"
type: array
description: ""
security:
@@ -91407,26 +86974,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/ExportTemplateRequest'
+ $ref: "#/components/schemas/ExportTemplateRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ExportTemplateRequest'
+ $ref: "#/components/schemas/ExportTemplateRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/ExportTemplate'
+ $ref: "#/components/schemas/ExportTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/ExportTemplate'
+ $ref: "#/components/schemas/ExportTemplate"
description: ""
security:
- cookieAuth: []
@@ -91442,19 +87009,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableExportTemplateRequest'
+ $ref: "#/components/schemas/BulkWritableExportTemplateRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableExportTemplateRequest'
+ $ref: "#/components/schemas/BulkWritableExportTemplateRequest"
type: array
required: true
responses:
@@ -91463,12 +87030,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ExportTemplate'
+ $ref: "#/components/schemas/ExportTemplate"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ExportTemplate'
+ $ref: "#/components/schemas/ExportTemplate"
type: array
description: ""
security:
@@ -91486,7 +87053,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this export template.
explode: false
@@ -91514,7 +87081,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this export template.
explode: false
@@ -91536,15 +87103,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ExportTemplate'
+ $ref: "#/components/schemas/ExportTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/ExportTemplate'
+ $ref: "#/components/schemas/ExportTemplate"
description: ""
security:
- cookieAuth: []
@@ -91560,7 +87136,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this export template.
explode: false
@@ -91575,19 +87151,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedExportTemplateRequest'
+ $ref: "#/components/schemas/PatchedExportTemplateRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedExportTemplateRequest'
+ $ref: "#/components/schemas/PatchedExportTemplateRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ExportTemplate'
+ $ref: "#/components/schemas/ExportTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/ExportTemplate'
+ $ref: "#/components/schemas/ExportTemplate"
description: ""
security:
- cookieAuth: []
@@ -91603,7 +87179,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this export template.
explode: false
@@ -91618,20 +87194,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ExportTemplateRequest'
+ $ref: "#/components/schemas/ExportTemplateRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ExportTemplateRequest'
+ $ref: "#/components/schemas/ExportTemplateRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ExportTemplate'
+ $ref: "#/components/schemas/ExportTemplate"
text/csv:
schema:
- $ref: '#/components/schemas/ExportTemplate'
+ $ref: "#/components/schemas/ExportTemplate"
description: ""
security:
- cookieAuth: []
@@ -91648,7 +87224,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this export template.
explode: false
@@ -91686,15 +87262,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -91710,7 +87295,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this export template.
explode: false
@@ -91725,20 +87310,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -91755,19 +87340,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -91925,14 +87510,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -92010,14 +87595,14 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -92033,7 +87618,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: Has secrets group
explode: true
@@ -92190,56 +87775,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -92250,76 +87785,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: last_updated
@@ -92739,14 +88204,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -92820,15 +88285,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedExternalIntegrationList'
+ $ref: "#/components/schemas/PaginatedExternalIntegrationList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedExternalIntegrationList'
+ $ref: "#/components/schemas/PaginatedExternalIntegrationList"
description: ""
security:
- cookieAuth: []
@@ -92844,19 +88318,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableExternalIntegrationRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableExternalIntegrationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableExternalIntegrationRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableExternalIntegrationRequest"
type: array
required: true
responses:
@@ -92865,12 +88339,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ExternalIntegration'
+ $ref: "#/components/schemas/ExternalIntegration"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ExternalIntegration'
+ $ref: "#/components/schemas/ExternalIntegration"
type: array
description: ""
security:
@@ -92887,26 +88361,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/ExternalIntegrationRequest'
+ $ref: "#/components/schemas/ExternalIntegrationRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ExternalIntegrationRequest'
+ $ref: "#/components/schemas/ExternalIntegrationRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/ExternalIntegration'
+ $ref: "#/components/schemas/ExternalIntegration"
text/csv:
schema:
- $ref: '#/components/schemas/ExternalIntegration'
+ $ref: "#/components/schemas/ExternalIntegration"
description: ""
security:
- cookieAuth: []
@@ -92922,19 +88396,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableExternalIntegrationRequest'
+ $ref: "#/components/schemas/BulkWritableExternalIntegrationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableExternalIntegrationRequest'
+ $ref: "#/components/schemas/BulkWritableExternalIntegrationRequest"
type: array
required: true
responses:
@@ -92943,12 +88417,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ExternalIntegration'
+ $ref: "#/components/schemas/ExternalIntegration"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ExternalIntegration'
+ $ref: "#/components/schemas/ExternalIntegration"
type: array
description: ""
security:
@@ -92966,7 +88440,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this external integration.
explode: false
@@ -92994,7 +88468,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this external integration.
explode: false
@@ -93016,15 +88490,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ExternalIntegration'
+ $ref: "#/components/schemas/ExternalIntegration"
text/csv:
schema:
- $ref: '#/components/schemas/ExternalIntegration'
+ $ref: "#/components/schemas/ExternalIntegration"
description: ""
security:
- cookieAuth: []
@@ -93040,7 +88523,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this external integration.
explode: false
@@ -93055,19 +88538,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedExternalIntegrationRequest'
+ $ref: "#/components/schemas/PatchedExternalIntegrationRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedExternalIntegrationRequest'
+ $ref: "#/components/schemas/PatchedExternalIntegrationRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ExternalIntegration'
+ $ref: "#/components/schemas/ExternalIntegration"
text/csv:
schema:
- $ref: '#/components/schemas/ExternalIntegration'
+ $ref: "#/components/schemas/ExternalIntegration"
description: ""
security:
- cookieAuth: []
@@ -93083,7 +88566,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this external integration.
explode: false
@@ -93098,20 +88581,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ExternalIntegrationRequest'
+ $ref: "#/components/schemas/ExternalIntegrationRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ExternalIntegrationRequest'
+ $ref: "#/components/schemas/ExternalIntegrationRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ExternalIntegration'
+ $ref: "#/components/schemas/ExternalIntegration"
text/csv:
schema:
- $ref: '#/components/schemas/ExternalIntegration'
+ $ref: "#/components/schemas/ExternalIntegration"
description: ""
security:
- cookieAuth: []
@@ -93128,7 +88611,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this external integration.
explode: false
@@ -93166,15 +88649,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -93190,7 +88682,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this external integration.
explode: false
@@ -93205,20 +88697,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -93235,7 +88727,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -93249,56 +88741,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -93309,76 +88751,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: job
@@ -93666,15 +89038,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedFileProxyList'
+ $ref: "#/components/schemas/PaginatedFileProxyList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedFileProxyList'
+ $ref: "#/components/schemas/PaginatedFileProxyList"
description: ""
security:
- cookieAuth: []
@@ -93691,7 +89072,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this file proxy.
explode: false
@@ -93713,15 +89094,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/FileProxy'
+ $ref: "#/components/schemas/FileProxy"
text/csv:
schema:
- $ref: '#/components/schemas/FileProxy'
+ $ref: "#/components/schemas/FileProxy"
description: ""
security:
- cookieAuth: []
@@ -93738,7 +89128,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this file proxy.
explode: false
@@ -93760,6 +89150,15 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
@@ -93787,19 +89186,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -93957,14 +89356,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -94042,21 +89441,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -94070,56 +89469,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -94130,76 +89479,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: last_updated
@@ -94785,14 +90064,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -94805,15 +90084,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedGitRepositoryList'
+ $ref: "#/components/schemas/PaginatedGitRepositoryList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedGitRepositoryList'
+ $ref: "#/components/schemas/PaginatedGitRepositoryList"
description: ""
security:
- cookieAuth: []
@@ -94829,19 +90117,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableGitRepositoryRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableGitRepositoryRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableGitRepositoryRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableGitRepositoryRequest"
type: array
required: true
responses:
@@ -94850,12 +90138,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/GitRepository'
+ $ref: "#/components/schemas/GitRepository"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/GitRepository'
+ $ref: "#/components/schemas/GitRepository"
type: array
description: ""
security:
@@ -94872,26 +90160,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/GitRepositoryRequest'
+ $ref: "#/components/schemas/GitRepositoryRequest"
text/csv:
schema:
- $ref: '#/components/schemas/GitRepositoryRequest'
+ $ref: "#/components/schemas/GitRepositoryRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/GitRepository'
+ $ref: "#/components/schemas/GitRepository"
text/csv:
schema:
- $ref: '#/components/schemas/GitRepository'
+ $ref: "#/components/schemas/GitRepository"
description: ""
security:
- cookieAuth: []
@@ -94907,19 +90195,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableGitRepositoryRequest'
+ $ref: "#/components/schemas/BulkWritableGitRepositoryRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableGitRepositoryRequest'
+ $ref: "#/components/schemas/BulkWritableGitRepositoryRequest"
type: array
required: true
responses:
@@ -94928,12 +90216,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/GitRepository'
+ $ref: "#/components/schemas/GitRepository"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/GitRepository'
+ $ref: "#/components/schemas/GitRepository"
type: array
description: ""
security:
@@ -94951,7 +90239,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this Git repository.
explode: false
@@ -94979,7 +90267,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this Git repository.
explode: false
@@ -95001,15 +90289,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/GitRepository'
+ $ref: "#/components/schemas/GitRepository"
text/csv:
schema:
- $ref: '#/components/schemas/GitRepository'
+ $ref: "#/components/schemas/GitRepository"
description: ""
security:
- cookieAuth: []
@@ -95025,7 +90322,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this Git repository.
explode: false
@@ -95040,19 +90337,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedGitRepositoryRequest'
+ $ref: "#/components/schemas/PatchedGitRepositoryRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedGitRepositoryRequest'
+ $ref: "#/components/schemas/PatchedGitRepositoryRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/GitRepository'
+ $ref: "#/components/schemas/GitRepository"
text/csv:
schema:
- $ref: '#/components/schemas/GitRepository'
+ $ref: "#/components/schemas/GitRepository"
description: ""
security:
- cookieAuth: []
@@ -95068,7 +90365,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this Git repository.
explode: false
@@ -95083,20 +90380,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/GitRepositoryRequest'
+ $ref: "#/components/schemas/GitRepositoryRequest"
text/csv:
schema:
- $ref: '#/components/schemas/GitRepositoryRequest'
+ $ref: "#/components/schemas/GitRepositoryRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/GitRepository'
+ $ref: "#/components/schemas/GitRepository"
text/csv:
schema:
- $ref: '#/components/schemas/GitRepository'
+ $ref: "#/components/schemas/GitRepository"
description: ""
security:
- cookieAuth: []
@@ -95113,7 +90410,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this Git repository.
explode: false
@@ -95151,15 +90448,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -95175,7 +90481,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this Git repository.
explode: false
@@ -95190,20 +90496,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -95220,7 +90526,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this Git repository.
explode: false
@@ -95231,24 +90537,15 @@ paths:
format: uuid
type: string
style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/GitRepositoryRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/GitRepositoryRequest'
- required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/GitRepository'
+ $ref: "#/components/schemas/GitRepositorySyncResponse"
text/csv:
schema:
- $ref: '#/components/schemas/GitRepository'
+ $ref: "#/components/schemas/GitRepositorySyncResponse"
description: ""
security:
- cookieAuth: []
@@ -95265,19 +90562,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -95309,95 +90606,45 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
- in: query
- name: contacts__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- - explode: true
- in: query
- name: dynamic_groups
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
- in: query
- name: dynamic_groups__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
- explode: true
- in: query
- name: id
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ic
+ name: contacts__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ie
+ name: dynamic_groups
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: dynamic_groups__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: format
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - explode: true
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
in: query
- name: id__isw
+ name: id
required: false
schema:
items:
@@ -95415,76 +90662,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Number of results to return per page.
explode: true
in: query
@@ -95660,14 +90837,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -95680,15 +90857,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedGraphQLQueryList'
+ $ref: "#/components/schemas/PaginatedGraphQLQueryList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedGraphQLQueryList'
+ $ref: "#/components/schemas/PaginatedGraphQLQueryList"
description: ""
security:
- cookieAuth: []
@@ -95704,19 +90890,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableGraphQLQueryRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableGraphQLQueryRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableGraphQLQueryRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableGraphQLQueryRequest"
type: array
required: true
responses:
@@ -95725,12 +90911,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/GraphQLQuery'
+ $ref: "#/components/schemas/GraphQLQuery"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/GraphQLQuery'
+ $ref: "#/components/schemas/GraphQLQuery"
type: array
description: ""
security:
@@ -95747,26 +90933,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/GraphQLQueryRequest'
+ $ref: "#/components/schemas/GraphQLQueryRequest"
text/csv:
schema:
- $ref: '#/components/schemas/GraphQLQueryRequest'
+ $ref: "#/components/schemas/GraphQLQueryRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/GraphQLQuery'
+ $ref: "#/components/schemas/GraphQLQuery"
text/csv:
schema:
- $ref: '#/components/schemas/GraphQLQuery'
+ $ref: "#/components/schemas/GraphQLQuery"
description: ""
security:
- cookieAuth: []
@@ -95782,19 +90968,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableGraphQLQueryRequest'
+ $ref: "#/components/schemas/BulkWritableGraphQLQueryRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableGraphQLQueryRequest'
+ $ref: "#/components/schemas/BulkWritableGraphQLQueryRequest"
type: array
required: true
responses:
@@ -95803,12 +90989,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/GraphQLQuery'
+ $ref: "#/components/schemas/GraphQLQuery"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/GraphQLQuery'
+ $ref: "#/components/schemas/GraphQLQuery"
type: array
description: ""
security:
@@ -95826,7 +91012,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this GraphQL query.
explode: false
@@ -95854,7 +91040,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this GraphQL query.
explode: false
@@ -95876,15 +91062,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/GraphQLQuery'
+ $ref: "#/components/schemas/GraphQLQuery"
text/csv:
schema:
- $ref: '#/components/schemas/GraphQLQuery'
+ $ref: "#/components/schemas/GraphQLQuery"
description: ""
security:
- cookieAuth: []
@@ -95900,7 +91095,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this GraphQL query.
explode: false
@@ -95915,19 +91110,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedGraphQLQueryRequest'
+ $ref: "#/components/schemas/PatchedGraphQLQueryRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedGraphQLQueryRequest'
+ $ref: "#/components/schemas/PatchedGraphQLQueryRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/GraphQLQuery'
+ $ref: "#/components/schemas/GraphQLQuery"
text/csv:
schema:
- $ref: '#/components/schemas/GraphQLQuery'
+ $ref: "#/components/schemas/GraphQLQuery"
description: ""
security:
- cookieAuth: []
@@ -95943,7 +91138,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this GraphQL query.
explode: false
@@ -95958,20 +91153,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/GraphQLQueryRequest'
+ $ref: "#/components/schemas/GraphQLQueryRequest"
text/csv:
schema:
- $ref: '#/components/schemas/GraphQLQueryRequest'
+ $ref: "#/components/schemas/GraphQLQueryRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/GraphQLQuery'
+ $ref: "#/components/schemas/GraphQLQuery"
text/csv:
schema:
- $ref: '#/components/schemas/GraphQLQuery'
+ $ref: "#/components/schemas/GraphQLQuery"
description: ""
security:
- cookieAuth: []
@@ -95988,7 +91183,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this GraphQL query.
explode: false
@@ -96026,15 +91221,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -96050,7 +91254,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this GraphQL query.
explode: false
@@ -96065,20 +91269,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -96095,7 +91299,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this GraphQL query.
explode: false
@@ -96110,19 +91314,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/GraphQLQueryInputRequest'
+ $ref: "#/components/schemas/GraphQLQueryInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/GraphQLQueryInputRequest'
+ $ref: "#/components/schemas/GraphQLQueryInputRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/GraphQLQueryOutput'
+ $ref: "#/components/schemas/GraphQLQueryOutput"
text/csv:
schema:
- $ref: '#/components/schemas/GraphQLQueryOutput'
+ $ref: "#/components/schemas/GraphQLQueryOutput"
description: ""
security:
- cookieAuth: []
@@ -96139,19 +91343,24 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ multipart/form-data:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -96199,7 +91408,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -96213,56 +91422,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -96273,76 +91432,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Number of results to return per page.
explode: true
in: query
@@ -96487,56 +91576,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: object_id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: object_id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: object_id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: object_id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: object_id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: object_id__n
@@ -96547,76 +91586,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: object_id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: object_id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: object_id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: object_id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: object_id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: object_id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: object_id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: The initial index from which to return the results.
explode: true
in: query
@@ -96652,15 +91621,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedImageAttachmentList'
+ $ref: "#/components/schemas/PaginatedImageAttachmentList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedImageAttachmentList'
+ $ref: "#/components/schemas/PaginatedImageAttachmentList"
description: ""
security:
- cookieAuth: []
@@ -96676,19 +91654,24 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableImageAttachmentRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableImageAttachmentRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableImageAttachmentRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableImageAttachmentRequest"
+ type: array
+ multipart/form-data:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableImageAttachmentRequest"
type: array
required: true
responses:
@@ -96697,12 +91680,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ImageAttachment'
+ $ref: "#/components/schemas/ImageAttachment"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ImageAttachment'
+ $ref: "#/components/schemas/ImageAttachment"
type: array
description: ""
security:
@@ -96719,26 +91702,29 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/ImageAttachmentRequest'
+ $ref: "#/components/schemas/ImageAttachmentRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ImageAttachmentRequest'
+ $ref: "#/components/schemas/ImageAttachmentRequest"
+ multipart/form-data:
+ schema:
+ $ref: "#/components/schemas/ImageAttachmentRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/ImageAttachment'
+ $ref: "#/components/schemas/ImageAttachment"
text/csv:
schema:
- $ref: '#/components/schemas/ImageAttachment'
+ $ref: "#/components/schemas/ImageAttachment"
description: ""
security:
- cookieAuth: []
@@ -96754,19 +91740,24 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableImageAttachmentRequest'
+ $ref: "#/components/schemas/BulkWritableImageAttachmentRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableImageAttachmentRequest'
+ $ref: "#/components/schemas/BulkWritableImageAttachmentRequest"
+ type: array
+ multipart/form-data:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableImageAttachmentRequest"
type: array
required: true
responses:
@@ -96775,12 +91766,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ImageAttachment'
+ $ref: "#/components/schemas/ImageAttachment"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ImageAttachment'
+ $ref: "#/components/schemas/ImageAttachment"
type: array
description: ""
security:
@@ -96798,7 +91789,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this image attachment.
explode: false
@@ -96826,7 +91817,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this image attachment.
explode: false
@@ -96848,15 +91839,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ImageAttachment'
+ $ref: "#/components/schemas/ImageAttachment"
text/csv:
schema:
- $ref: '#/components/schemas/ImageAttachment'
+ $ref: "#/components/schemas/ImageAttachment"
description: ""
security:
- cookieAuth: []
@@ -96872,7 +91872,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this image attachment.
explode: false
@@ -96887,19 +91887,22 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedImageAttachmentRequest'
+ $ref: "#/components/schemas/PatchedImageAttachmentRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedImageAttachmentRequest'
+ $ref: "#/components/schemas/PatchedImageAttachmentRequest"
+ multipart/form-data:
+ schema:
+ $ref: "#/components/schemas/PatchedImageAttachmentRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ImageAttachment'
+ $ref: "#/components/schemas/ImageAttachment"
text/csv:
schema:
- $ref: '#/components/schemas/ImageAttachment'
+ $ref: "#/components/schemas/ImageAttachment"
description: ""
security:
- cookieAuth: []
@@ -96915,7 +91918,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this image attachment.
explode: false
@@ -96930,20 +91933,23 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ImageAttachmentRequest'
+ $ref: "#/components/schemas/ImageAttachmentRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ImageAttachmentRequest'
+ $ref: "#/components/schemas/ImageAttachmentRequest"
+ multipart/form-data:
+ schema:
+ $ref: "#/components/schemas/ImageAttachmentRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ImageAttachment'
+ $ref: "#/components/schemas/ImageAttachment"
text/csv:
schema:
- $ref: '#/components/schemas/ImageAttachment'
+ $ref: "#/components/schemas/ImageAttachment"
description: ""
security:
- cookieAuth: []
@@ -96960,19 +91966,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -97137,14 +92143,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -97153,41 +92159,6 @@ paths:
schema:
type: string
style: form
- - explode: true
- in: query
- name: content_types__ic
- required: false
- schema:
- type: string
- style: form
- - explode: true
- in: query
- name: content_types__ie
- required: false
- schema:
- type: string
- style: form
- - explode: true
- in: query
- name: content_types__iew
- required: false
- schema:
- type: string
- style: form
- - explode: true
- in: query
- name: content_types__ire
- required: false
- schema:
- type: string
- style: form
- - explode: true
- in: query
- name: content_types__isw
- required: false
- schema:
- type: string
- style: form
- explode: true
in: query
name: content_types__n
@@ -97195,55 +92166,6 @@ paths:
schema:
type: string
style: form
- - explode: true
- in: query
- name: content_types__nic
- required: false
- schema:
- type: string
- style: form
- - explode: true
- in: query
- name: content_types__nie
- required: false
- schema:
- type: string
- style: form
- - explode: true
- in: query
- name: content_types__niew
- required: false
- schema:
- type: string
- style: form
- - explode: true
- in: query
- name: content_types__nire
- required: false
- schema:
- type: string
- style: form
- - explode: true
- in: query
- name: content_types__nisw
- required: false
- schema:
- type: string
- style: form
- - explode: true
- in: query
- name: content_types__nre
- required: false
- schema:
- type: string
- style: form
- - explode: true
- in: query
- name: content_types__re
- required: false
- schema:
- type: string
- style: form
- explode: true
in: query
name: dynamic_groups
@@ -97253,14 +92175,14 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -97274,7 +92196,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- explode: true
in: query
@@ -97414,56 +92336,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -97474,76 +92346,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: job
@@ -97737,14 +92539,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -97937,15 +92739,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedJobButtonList'
+ $ref: "#/components/schemas/PaginatedJobButtonList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedJobButtonList'
+ $ref: "#/components/schemas/PaginatedJobButtonList"
description: ""
security:
- cookieAuth: []
@@ -97961,19 +92772,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableJobButtonRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableJobButtonRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableJobButtonRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableJobButtonRequest"
type: array
required: true
responses:
@@ -97982,12 +92793,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/JobButton'
+ $ref: "#/components/schemas/JobButton"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/JobButton'
+ $ref: "#/components/schemas/JobButton"
type: array
description: ""
security:
@@ -98004,26 +92815,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/JobButtonRequest'
+ $ref: "#/components/schemas/JobButtonRequest"
text/csv:
schema:
- $ref: '#/components/schemas/JobButtonRequest'
+ $ref: "#/components/schemas/JobButtonRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/JobButton'
+ $ref: "#/components/schemas/JobButton"
text/csv:
schema:
- $ref: '#/components/schemas/JobButton'
+ $ref: "#/components/schemas/JobButton"
description: ""
security:
- cookieAuth: []
@@ -98039,19 +92850,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableJobButtonRequest'
+ $ref: "#/components/schemas/BulkWritableJobButtonRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableJobButtonRequest'
+ $ref: "#/components/schemas/BulkWritableJobButtonRequest"
type: array
required: true
responses:
@@ -98060,12 +92871,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/JobButton'
+ $ref: "#/components/schemas/JobButton"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/JobButton'
+ $ref: "#/components/schemas/JobButton"
type: array
description: ""
security:
@@ -98083,7 +92894,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this job button.
explode: false
@@ -98111,7 +92922,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this job button.
explode: false
@@ -98133,74 +92944,40 @@ paths:
minimum: 0
type: integer
style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/JobButton'
- text/csv:
- schema:
- $ref: '#/components/schemas/JobButton'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - extras
- patch:
- description: "Manage Job Buttons through DELETE, GET, POST, PUT, and PATCH requests."
- operationId: extras_job_buttons_partial_update
- parameters:
- - explode: true
+ - description: Exclude many-to-many fields from the response
+ explode: true
in: query
- name: format
+ name: exclude_m2m
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ default: false
+ type: boolean
style: form
- - description: A UUID string identifying this job button.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PatchedJobButtonRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/PatchedJobButtonRequest'
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/JobButton'
+ $ref: "#/components/schemas/JobButton"
text/csv:
schema:
- $ref: '#/components/schemas/JobButton'
+ $ref: "#/components/schemas/JobButton"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- extras
- put:
+ patch:
description: "Manage Job Buttons through DELETE, GET, POST, PUT, and PATCH requests."
- operationId: extras_job_buttons_update
+ operationId: extras_job_buttons_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this job button.
explode: false
@@ -98215,20 +92992,63 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/JobButtonRequest'
+ $ref: "#/components/schemas/PatchedJobButtonRequest"
text/csv:
schema:
- $ref: '#/components/schemas/JobButtonRequest'
+ $ref: "#/components/schemas/PatchedJobButtonRequest"
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/JobButton"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/JobButton"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ put:
+ description: "Manage Job Buttons through DELETE, GET, POST, PUT, and PATCH requests."
+ operationId: extras_job_buttons_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this job button.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/JobButtonRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/JobButtonRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/JobButton'
+ $ref: "#/components/schemas/JobButton"
text/csv:
schema:
- $ref: '#/components/schemas/JobButton'
+ $ref: "#/components/schemas/JobButton"
description: ""
security:
- cookieAuth: []
@@ -98245,7 +93065,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this job button.
explode: false
@@ -98283,15 +93103,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -98307,7 +93136,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this job button.
explode: false
@@ -98322,20 +93151,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -98352,19 +93181,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -98396,63 +93225,18 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
- in: query
- name: contacts__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- - explode: true
- in: query
- name: content_types
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__ic
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__ie
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__iew
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- explode: true
in: query
- name: content_types__ire
+ name: contacts__n
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: content_types__isw
+ name: content_types
required: false
schema:
items:
@@ -98470,85 +93254,22 @@ paths:
style: form
- explode: true
in: query
- name: content_types__nic
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__nie
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__niew
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__nire
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__nisw
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__nre
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__re
+ name: dynamic_groups
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: dynamic_groups
+ name: dynamic_groups__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
- in: query
- name: dynamic_groups__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
name: enabled
@@ -98561,7 +93282,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -98575,56 +93296,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -98635,76 +93306,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: job
@@ -98898,14 +93499,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -98939,15 +93540,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedJobHookList'
+ $ref: "#/components/schemas/PaginatedJobHookList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedJobHookList'
+ $ref: "#/components/schemas/PaginatedJobHookList"
description: ""
security:
- cookieAuth: []
@@ -98963,19 +93573,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableJobHookRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableJobHookRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableJobHookRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableJobHookRequest"
type: array
required: true
responses:
@@ -98984,12 +93594,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/JobHook'
+ $ref: "#/components/schemas/JobHook"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/JobHook'
+ $ref: "#/components/schemas/JobHook"
type: array
description: ""
security:
@@ -99006,26 +93616,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/JobHookRequest'
+ $ref: "#/components/schemas/JobHookRequest"
text/csv:
schema:
- $ref: '#/components/schemas/JobHookRequest'
+ $ref: "#/components/schemas/JobHookRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/JobHook'
+ $ref: "#/components/schemas/JobHook"
text/csv:
schema:
- $ref: '#/components/schemas/JobHook'
+ $ref: "#/components/schemas/JobHook"
description: ""
security:
- cookieAuth: []
@@ -99041,19 +93651,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableJobHookRequest'
+ $ref: "#/components/schemas/BulkWritableJobHookRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableJobHookRequest'
+ $ref: "#/components/schemas/BulkWritableJobHookRequest"
type: array
required: true
responses:
@@ -99062,12 +93672,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/JobHook'
+ $ref: "#/components/schemas/JobHook"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/JobHook'
+ $ref: "#/components/schemas/JobHook"
type: array
description: ""
security:
@@ -99085,7 +93695,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this job hook.
explode: false
@@ -99113,7 +93723,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this job hook.
explode: false
@@ -99135,15 +93745,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/JobHook'
+ $ref: "#/components/schemas/JobHook"
text/csv:
schema:
- $ref: '#/components/schemas/JobHook'
+ $ref: "#/components/schemas/JobHook"
description: ""
security:
- cookieAuth: []
@@ -99159,7 +93778,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this job hook.
explode: false
@@ -99174,19 +93793,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedJobHookRequest'
+ $ref: "#/components/schemas/PatchedJobHookRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedJobHookRequest'
+ $ref: "#/components/schemas/PatchedJobHookRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/JobHook'
+ $ref: "#/components/schemas/JobHook"
text/csv:
schema:
- $ref: '#/components/schemas/JobHook'
+ $ref: "#/components/schemas/JobHook"
description: ""
security:
- cookieAuth: []
@@ -99202,7 +93821,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this job hook.
explode: false
@@ -99217,20 +93836,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/JobHookRequest'
+ $ref: "#/components/schemas/JobHookRequest"
text/csv:
schema:
- $ref: '#/components/schemas/JobHookRequest'
+ $ref: "#/components/schemas/JobHookRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/JobHook'
+ $ref: "#/components/schemas/JobHook"
text/csv:
schema:
- $ref: '#/components/schemas/JobHook'
+ $ref: "#/components/schemas/JobHook"
description: ""
security:
- cookieAuth: []
@@ -99247,7 +93866,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this job hook.
explode: false
@@ -99285,15 +93904,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -99309,7 +93937,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this job hook.
explode: false
@@ -99324,20 +93952,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -99540,7 +94168,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- explode: true
in: query
@@ -99682,7 +94310,7 @@ paths:
style: form
- explode: true
in: query
- name: id__ic
+ name: id__n
required: false
schema:
items:
@@ -99692,151 +94320,130 @@ paths:
style: form
- explode: true
in: query
- name: id__ie
+ name: job_result
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ format: uuid
+ type: string
style: form
- explode: true
in: query
- name: id__iew
+ name: job_result__n
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ format: uuid
+ type: string
style: form
- - explode: true
+ - description: Number of results to return per page.
+ explode: true
in: query
- name: id__ire
+ name: limit
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: integer
style: form
- explode: true
in: query
- name: id__isw
+ name: log_level
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__n
+ name: log_level__ic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nic
+ name: log_level__ie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: log_level__iew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: log_level__ire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nire
+ name: log_level__isw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nisw
+ name: log_level__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nre
+ name: log_level__nic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__re
+ name: log_level__nie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: job_result
+ name: log_level__niew
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: job_result__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
+ name: log_level__nire
required: false
schema:
- type: integer
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: log_level
+ name: log_level__nisw
required: false
schema:
items:
@@ -99845,7 +94452,7 @@ paths:
style: form
- explode: true
in: query
- name: log_level__ic
+ name: log_level__nre
required: false
schema:
items:
@@ -99854,7 +94461,7 @@ paths:
style: form
- explode: true
in: query
- name: log_level__ie
+ name: log_level__re
required: false
schema:
items:
@@ -99863,7 +94470,7 @@ paths:
style: form
- explode: true
in: query
- name: log_level__iew
+ name: log_object
required: false
schema:
items:
@@ -99872,7 +94479,7 @@ paths:
style: form
- explode: true
in: query
- name: log_level__ire
+ name: log_object__ic
required: false
schema:
items:
@@ -99881,7 +94488,7 @@ paths:
style: form
- explode: true
in: query
- name: log_level__isw
+ name: log_object__ie
required: false
schema:
items:
@@ -99890,7 +94497,7 @@ paths:
style: form
- explode: true
in: query
- name: log_level__n
+ name: log_object__iew
required: false
schema:
items:
@@ -99899,7 +94506,7 @@ paths:
style: form
- explode: true
in: query
- name: log_level__nic
+ name: log_object__ire
required: false
schema:
items:
@@ -99908,7 +94515,7 @@ paths:
style: form
- explode: true
in: query
- name: log_level__nie
+ name: log_object__isw
required: false
schema:
items:
@@ -99917,7 +94524,7 @@ paths:
style: form
- explode: true
in: query
- name: log_level__niew
+ name: log_object__n
required: false
schema:
items:
@@ -99926,7 +94533,7 @@ paths:
style: form
- explode: true
in: query
- name: log_level__nire
+ name: log_object__nic
required: false
schema:
items:
@@ -99935,7 +94542,7 @@ paths:
style: form
- explode: true
in: query
- name: log_level__nisw
+ name: log_object__nie
required: false
schema:
items:
@@ -99944,7 +94551,7 @@ paths:
style: form
- explode: true
in: query
- name: log_level__nre
+ name: log_object__niew
required: false
schema:
items:
@@ -99953,7 +94560,7 @@ paths:
style: form
- explode: true
in: query
- name: log_level__re
+ name: log_object__nire
required: false
schema:
items:
@@ -99962,7 +94569,7 @@ paths:
style: form
- explode: true
in: query
- name: log_object
+ name: log_object__nisw
required: false
schema:
items:
@@ -99971,7 +94578,7 @@ paths:
style: form
- explode: true
in: query
- name: log_object__ic
+ name: log_object__nre
required: false
schema:
items:
@@ -99980,7 +94587,7 @@ paths:
style: form
- explode: true
in: query
- name: log_object__ie
+ name: log_object__re
required: false
schema:
items:
@@ -99989,7 +94596,7 @@ paths:
style: form
- explode: true
in: query
- name: log_object__iew
+ name: message
required: false
schema:
items:
@@ -99998,7 +94605,7 @@ paths:
style: form
- explode: true
in: query
- name: log_object__ire
+ name: message__ic
required: false
schema:
items:
@@ -100007,7 +94614,7 @@ paths:
style: form
- explode: true
in: query
- name: log_object__isw
+ name: message__ie
required: false
schema:
items:
@@ -100016,7 +94623,7 @@ paths:
style: form
- explode: true
in: query
- name: log_object__n
+ name: message__iew
required: false
schema:
items:
@@ -100025,7 +94632,7 @@ paths:
style: form
- explode: true
in: query
- name: log_object__nic
+ name: message__ire
required: false
schema:
items:
@@ -100034,7 +94641,7 @@ paths:
style: form
- explode: true
in: query
- name: log_object__nie
+ name: message__isw
required: false
schema:
items:
@@ -100043,7 +94650,7 @@ paths:
style: form
- explode: true
in: query
- name: log_object__niew
+ name: message__n
required: false
schema:
items:
@@ -100052,7 +94659,7 @@ paths:
style: form
- explode: true
in: query
- name: log_object__nire
+ name: message__nic
required: false
schema:
items:
@@ -100061,7 +94668,7 @@ paths:
style: form
- explode: true
in: query
- name: log_object__nisw
+ name: message__nie
required: false
schema:
items:
@@ -100070,7 +94677,7 @@ paths:
style: form
- explode: true
in: query
- name: log_object__nre
+ name: message__niew
required: false
schema:
items:
@@ -100079,7 +94686,7 @@ paths:
style: form
- explode: true
in: query
- name: log_object__re
+ name: message__nire
required: false
schema:
items:
@@ -100088,7 +94695,7 @@ paths:
style: form
- explode: true
in: query
- name: message
+ name: message__nisw
required: false
schema:
items:
@@ -100097,7 +94704,7 @@ paths:
style: form
- explode: true
in: query
- name: message__ic
+ name: message__nre
required: false
schema:
items:
@@ -100106,79 +94713,199 @@ paths:
style: form
- explode: true
in: query
- name: message__ie
+ name: message__re
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: The initial index from which to return the results.
+ explode: true
in: query
- name: message__iew
+ name: offset
required: false
schema:
- items:
- type: string
- type: array
+ type: integer
style: form
- - explode: true
+ - description: Search
+ explode: true
in: query
- name: message__ire
+ name: q
required: false
schema:
- items:
- type: string
- type: array
+ type: string
style: form
- - explode: true
+ - description: Which field to use when ordering the results.
+ explode: true
in: query
- name: message__isw
+ name: sort
required: false
schema:
- items:
- type: string
- type: array
+ type: string
+ style: form
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedJobLogEntryList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedJobLogEntryList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ /extras/job-logs/{id}/:
+ get:
+ description: Retrieve a list of job log entries.
+ operationId: extras_job_logs_retrieve
+ parameters:
- explode: true
in: query
- name: message__n
+ name: format
required: false
schema:
- items:
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this job log entry.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/JobLogEntry"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/JobLogEntry"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ /extras/job-queue-assignments/:
+ delete:
+ description: "Manage job queue assignments through DELETE, GET, POST, PUT, and\
+ \ PATCH requests."
+ operationId: extras_job_queue_assignments_bulk_destroy
+ parameters:
- explode: true
in: query
- name: message__nic
+ name: format
required: false
schema:
- items:
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ required: true
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ get:
+ description: "Manage job queue assignments through DELETE, GET, POST, PUT, and\
+ \ PATCH requests."
+ operationId: extras_job_queue_assignments_list
+ parameters:
- explode: true
in: query
- name: message__nie
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
+ in: query
+ name: id
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: message__niew
+ name: id__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: message__nire
+ name: job
required: false
schema:
items:
@@ -100187,7 +94914,7 @@ paths:
style: form
- explode: true
in: query
- name: message__nisw
+ name: job__n
required: false
schema:
items:
@@ -100196,7 +94923,7 @@ paths:
style: form
- explode: true
in: query
- name: message__nre
+ name: job_queue
required: false
schema:
items:
@@ -100205,13 +94932,21 @@ paths:
style: form
- explode: true
in: query
- name: message__re
+ name: job_queue__n
required: false
schema:
items:
type: string
type: array
style: form
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
- description: The initial index from which to return the results.
explode: true
in: query
@@ -100247,34 +94982,197 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedJobLogEntryList'
+ $ref: "#/components/schemas/PaginatedJobQueueAssignmentList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedJobLogEntryList'
+ $ref: "#/components/schemas/PaginatedJobQueueAssignmentList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- extras
- /extras/job-logs/{id}/:
+ patch:
+ description: "Manage job queue assignments through DELETE, GET, POST, PUT, and\
+ \ PATCH requests."
+ operationId: extras_job_queue_assignments_bulk_partial_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableJobQueueAssignmentRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableJobQueueAssignmentRequest"
+ type: array
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/JobQueueAssignment"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/JobQueueAssignment"
+ type: array
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ post:
+ description: "Manage job queue assignments through DELETE, GET, POST, PUT, and\
+ \ PATCH requests."
+ operationId: extras_job_queue_assignments_create
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/JobQueueAssignmentRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/JobQueueAssignmentRequest"
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/JobQueueAssignment"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/JobQueueAssignment"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ put:
+ description: "Manage job queue assignments through DELETE, GET, POST, PUT, and\
+ \ PATCH requests."
+ operationId: extras_job_queue_assignments_bulk_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableJobQueueAssignmentRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableJobQueueAssignmentRequest"
+ type: array
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/JobQueueAssignment"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/JobQueueAssignment"
+ type: array
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ /extras/job-queue-assignments/{id}/:
+ delete:
+ description: "Manage job queue assignments through DELETE, GET, POST, PUT, and\
+ \ PATCH requests."
+ operationId: extras_job_queue_assignments_destroy
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this job queue assignment.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
get:
- description: Retrieve a list of job log entries.
- operationId: extras_job_logs_retrieve
+ description: "Manage job queue assignments through DELETE, GET, POST, PUT, and\
+ \ PATCH requests."
+ operationId: extras_job_queue_assignments_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this job log entry.
+ - description: A UUID string identifying this job queue assignment.
explode: false
in: path
name: id
@@ -100294,44 +95192,142 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/JobLogEntry'
+ $ref: "#/components/schemas/JobQueueAssignment"
text/csv:
schema:
- $ref: '#/components/schemas/JobLogEntry'
+ $ref: "#/components/schemas/JobQueueAssignment"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- extras
- /extras/job-results/:
+ patch:
+ description: "Manage job queue assignments through DELETE, GET, POST, PUT, and\
+ \ PATCH requests."
+ operationId: extras_job_queue_assignments_partial_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this job queue assignment.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PatchedJobQueueAssignmentRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PatchedJobQueueAssignmentRequest"
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/JobQueueAssignment"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/JobQueueAssignment"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ put:
+ description: "Manage job queue assignments through DELETE, GET, POST, PUT, and\
+ \ PATCH requests."
+ operationId: extras_job_queue_assignments_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this job queue assignment.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/JobQueueAssignmentRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/JobQueueAssignmentRequest"
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/JobQueueAssignment"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/JobQueueAssignment"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ /extras/job-queues/:
delete:
- description: Retrieve a list of job results
- operationId: extras_job_results_bulk_destroy
+ description: "Manage job queues through DELETE, GET, POST, PUT, and PATCH requests."
+ operationId: extras_job_queues_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -100343,32 +95339,38 @@ paths:
tags:
- extras
get:
- description: Retrieve a list of job results
- operationId: extras_job_results_list
+ description: "Manage job queues through DELETE, GET, POST, PUT, and PATCH requests."
+ operationId: extras_job_queues_list
parameters:
- explode: true
in: query
- name: date_created
+ name: contacts
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
+ - description: Contacts (name or ID) is null
+ explode: true
+ in: query
+ name: contacts__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: date_created__gt
+ name: contacts__n
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: date_created__gte
+ name: created
required: false
schema:
items:
@@ -100378,7 +95380,7 @@ paths:
style: form
- explode: true
in: query
- name: date_created__lt
+ name: created__gt
required: false
schema:
items:
@@ -100388,7 +95390,7 @@ paths:
style: form
- explode: true
in: query
- name: date_created__lte
+ name: created__gte
required: false
schema:
items:
@@ -100398,7 +95400,14 @@ paths:
style: form
- explode: true
in: query
- name: date_created__n
+ name: created__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: created__lt
required: false
schema:
items:
@@ -100408,7 +95417,7 @@ paths:
style: form
- explode: true
in: query
- name: date_done
+ name: created__lte
required: false
schema:
items:
@@ -100418,7 +95427,7 @@ paths:
style: form
- explode: true
in: query
- name: date_done__gt
+ name: created__n
required: false
schema:
items:
@@ -100428,163 +95437,168 @@ paths:
style: form
- explode: true
in: query
- name: date_done__gte
+ name: description
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: date_done__isnull
+ name: description__ic
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: date_done__lt
+ name: description__ie
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: date_done__lte
+ name: description__iew
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: date_done__n
+ name: description__ire
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: format
+ name: description__isw
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
- explode: true
+ - explode: true
in: query
- name: id
+ name: description__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ic
+ name: description__nic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ie
+ name: description__nie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: description__niew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: description__nire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: description__nisw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__n
+ name: description__nre
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nic
+ name: description__re
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: dynamic_groups
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: dynamic_groups__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nire
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: Has jobs
+ explode: true
+ in: query
+ name: has_jobs
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
+ in: query
+ name: id
required: false
schema:
items:
@@ -100594,7 +95608,7 @@ paths:
style: form
- explode: true
in: query
- name: id__nisw
+ name: id__n
required: false
schema:
items:
@@ -100604,79 +95618,94 @@ paths:
style: form
- explode: true
in: query
- name: id__nre
+ name: jobs
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
+ - description: Job (name or ID) is null
+ explode: true
+ in: query
+ name: jobs__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: id__re
+ name: jobs__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: job_model
+ name: last_updated
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- - description: Job (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: job_model__isnull
+ name: last_updated__gt
required: false
schema:
- type: boolean
+ items:
+ format: date-time
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: job_model__n
+ name: last_updated__gte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- - description: Job (ID) - Deprecated (use job_model filter)
- explode: true
+ - explode: true
in: query
- name: job_model_id
+ name: last_updated__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: last_updated__lt
required: false
schema:
items:
- format: uuid
- nullable: true
+ format: date-time
type: string
type: array
style: form
- - description: Job (ID) - Deprecated (use job_model filter) is null
- explode: true
+ - explode: true
in: query
- name: job_model_id__isnull
+ name: last_updated__lte
required: false
schema:
- type: boolean
+ items:
+ format: date-time
+ type: string
+ type: array
style: form
- - description: Exclude Job (ID) - Deprecated (use job_model filter)
- explode: true
+ - explode: true
in: query
- name: job_model_id__n
+ name: last_updated__n
required: false
schema:
items:
- format: uuid
- nullable: true
+ format: date-time
type: string
type: array
style: form
@@ -100832,172 +95861,183 @@ paths:
style: form
- explode: true
in: query
- name: scheduled_job
+ name: queue_type
required: false
schema:
items:
type: string
type: array
style: form
- - description: Scheduled Job (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: scheduled_job__isnull
+ name: queue_type__ic
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: scheduled_job__n
+ name: queue_type__ie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Which field to use when ordering the results.
- explode: true
+ - explode: true
in: query
- name: sort
+ name: queue_type__iew
required: false
schema:
- type: string
+ items:
+ type: string
+ type: array
style: form
- - description: Current state of the Job being run
- explode: true
+ - explode: true
in: query
- name: status
+ name: queue_type__ire
required: false
schema:
items:
type: string
type: array
style: form
- - description: Current state of the Job being run
- explode: true
+ - explode: true
in: query
- name: status__ic
+ name: queue_type__isw
required: false
schema:
items:
type: string
type: array
style: form
- - description: Current state of the Job being run
- explode: true
+ - explode: true
in: query
- name: status__ie
+ name: queue_type__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Current state of the Job being run
- explode: true
+ - explode: true
in: query
- name: status__iew
+ name: queue_type__nic
required: false
schema:
items:
type: string
type: array
style: form
- - description: Current state of the Job being run
- explode: true
+ - explode: true
in: query
- name: status__ire
+ name: queue_type__nie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Current state of the Job being run
- explode: true
+ - explode: true
in: query
- name: status__isw
+ name: queue_type__niew
required: false
schema:
items:
type: string
type: array
style: form
- - description: Current state of the Job being run
- explode: true
+ - explode: true
in: query
- name: status__n
+ name: queue_type__nire
required: false
schema:
items:
type: string
type: array
style: form
- - description: Current state of the Job being run
- explode: true
+ - explode: true
in: query
- name: status__nic
+ name: queue_type__nisw
required: false
schema:
items:
type: string
type: array
style: form
- - description: Current state of the Job being run
- explode: true
+ - explode: true
in: query
- name: status__nie
+ name: queue_type__nre
required: false
schema:
items:
type: string
type: array
style: form
- - description: Current state of the Job being run
- explode: true
+ - explode: true
in: query
- name: status__niew
+ name: queue_type__re
required: false
schema:
items:
type: string
type: array
style: form
- - description: Current state of the Job being run
+ - description: Which field to use when ordering the results.
explode: true
in: query
- name: status__nire
+ name: sort
+ required: false
+ schema:
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: tags
required: false
schema:
items:
type: string
type: array
style: form
- - description: Current state of the Job being run
- explode: true
+ - explode: true
in: query
- name: status__nisw
+ name: tags__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: tags__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Current state of the Job being run
- explode: true
+ - explode: true
in: query
- name: status__nre
+ name: teams
required: false
schema:
items:
type: string
type: array
style: form
- - description: Current state of the Job being run
+ - description: Teams (name or ID) is null
explode: true
in: query
- name: status__re
+ name: teams__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: teams__n
required: false
schema:
items:
@@ -101006,26 +96046,87 @@ paths:
style: form
- explode: true
in: query
- name: user
+ name: tenant
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Tenant (name or ID) is null
+ explode: true
+ in: query
+ name: tenant__isnull
+ required: false
+ schema:
+ type: boolean
style: form
- explode: true
in: query
- name: user__isnull
+ name: tenant__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: tenant_group
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Tenant Group (name or ID) is null
+ explode: true
+ in: query
+ name: tenant_group__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: user__n
+ name: tenant_group__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
+ style: form
+ - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead)"
+ explode: true
+ in: query
+ name: tenant_id
+ required: false
+ schema:
+ items:
+ format: uuid
+ nullable: true
+ type: string
+ type: array
+ style: form
+ - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead) is null"
+ explode: true
+ in: query
+ name: tenant_id__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - description: "Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead)"
+ explode: true
+ in: query
+ name: tenant_id__n
+ required: false
+ schema:
+ items:
+ format: uuid
+ nullable: true
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -101038,34 +96139,164 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedJobResultList'
+ $ref: "#/components/schemas/PaginatedJobQueueList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedJobResultList'
+ $ref: "#/components/schemas/PaginatedJobQueueList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- extras
- /extras/job-results/{id}/:
+ patch:
+ description: "Manage job queues through DELETE, GET, POST, PUT, and PATCH requests."
+ operationId: extras_job_queues_bulk_partial_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableJobQueueRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableJobQueueRequest"
+ type: array
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/JobQueue"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/JobQueue"
+ type: array
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ post:
+ description: "Manage job queues through DELETE, GET, POST, PUT, and PATCH requests."
+ operationId: extras_job_queues_create
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/JobQueueRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/JobQueueRequest"
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/JobQueue"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/JobQueue"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ put:
+ description: "Manage job queues through DELETE, GET, POST, PUT, and PATCH requests."
+ operationId: extras_job_queues_bulk_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableJobQueueRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableJobQueueRequest"
+ type: array
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/JobQueue"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/JobQueue"
+ type: array
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ /extras/job-queues/{id}/:
delete:
- description: Retrieve a list of job results
- operationId: extras_job_results_destroy
+ description: "Manage job queues through DELETE, GET, POST, PUT, and PATCH requests."
+ operationId: extras_job_queues_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this job result.
+ - description: A UUID string identifying this job queue.
explode: false
in: path
name: id
@@ -101083,17 +96314,17 @@ paths:
tags:
- extras
get:
- description: Retrieve a list of job results
- operationId: extras_job_results_retrieve
+ description: "Manage job queues through DELETE, GET, POST, PUT, and PATCH requests."
+ operationId: extras_job_queues_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this job result.
+ - description: A UUID string identifying this job queue.
explode: false
in: path
name: id
@@ -101113,34 +96344,42 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/JobResult'
+ $ref: "#/components/schemas/JobQueue"
text/csv:
schema:
- $ref: '#/components/schemas/JobResult'
+ $ref: "#/components/schemas/JobQueue"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- extras
- /extras/job-results/{id}/logs/:
- get:
- description: Retrieve a list of job results
- operationId: extras_job_results_logs_retrieve
+ patch:
+ description: "Manage job queues through DELETE, GET, POST, PUT, and PATCH requests."
+ operationId: extras_job_queues_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this job result.
+ - description: A UUID string identifying this job queue.
explode: false
in: path
name: id
@@ -101149,322 +96388,426 @@ paths:
format: uuid
type: string
style: simple
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
- style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PatchedJobQueueRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PatchedJobQueueRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/JobResult'
+ $ref: "#/components/schemas/JobQueue"
text/csv:
schema:
- $ref: '#/components/schemas/JobResult'
+ $ref: "#/components/schemas/JobQueue"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- extras
- /extras/jobs/:
- delete:
- description: Destroy a list of job objects.
- operationId: extras_jobs_bulk_destroy
+ put:
+ description: "Manage job queues through DELETE, GET, POST, PUT, and PATCH requests."
+ operationId: extras_job_queues_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ - description: A UUID string identifying this job queue.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
requestBody:
content:
application/json:
schema:
- items:
- $ref: '#/components/schemas/BulkOperationRequest'
- type: array
+ $ref: "#/components/schemas/JobQueueRequest"
text/csv:
schema:
- items:
- $ref: '#/components/schemas/BulkOperationRequest'
- type: array
+ $ref: "#/components/schemas/JobQueueRequest"
required: true
responses:
- "204":
- description: No response body
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/JobQueue"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/JobQueue"
+ description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- extras
+ /extras/job-queues/{id}/notes/:
get:
- description: Retrieve a list of job objects.
- operationId: extras_jobs_list
+ description: API methods for returning or creating notes on an object.
+ operationId: extras_job_queues_notes_list
parameters:
- explode: true
in: query
- name: approval_required
+ name: format
required: false
schema:
- type: boolean
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - explode: true
- in: query
- name: approval_required_override
- required: false
+ - description: A UUID string identifying this job queue.
+ explode: false
+ in: path
+ name: id
+ required: true
schema:
- type: boolean
- style: form
- - explode: true
+ format: uuid
+ type: string
+ style: simple
+ - description: Number of results to return per page.
+ explode: true
in: query
- name: contacts
+ name: limit
required: false
schema:
- items:
- type: string
- type: array
+ type: integer
style: form
- - description: Contacts (name or ID) is null
+ - description: The initial index from which to return the results.
explode: true
in: query
- name: contacts__isnull
+ name: offset
required: false
schema:
- type: boolean
+ type: integer
style: form
- - description: Exclude Contacts (name or ID)
+ - description: Serializer Depth
explode: true
in: query
- name: contacts__n
+ name: depth
required: false
schema:
- format: uuid
- type: string
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
style: form
- - explode: true
+ - description: Exclude many-to-many fields from the response
+ explode: true
in: query
- name: description_override
+ name: exclude_m2m
required: false
schema:
+ default: false
type: boolean
style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ post:
+ description: API methods for returning or creating notes on an object.
+ operationId: extras_job_queues_notes_create
+ parameters:
- explode: true
in: query
- name: dryrun_default
+ name: format
required: false
schema:
- type: boolean
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ - description: A UUID string identifying this job queue.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Note"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/Note"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ /extras/job-results/:
+ delete:
+ description: Retrieve a list of job results
+ operationId: extras_job_results_bulk_destroy
+ parameters:
- explode: true
in: query
- name: dryrun_default_override
+ name: format
required: false
schema:
- type: boolean
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ required: true
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ get:
+ description: Retrieve a list of job results
+ operationId: extras_job_results_list
+ parameters:
- explode: true
in: query
- name: dynamic_groups
+ name: date_created
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
- in: query
- name: dynamic_groups__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- - explode: true
- in: query
- name: enabled
- required: false
- schema:
- type: boolean
- style: form
- explode: true
in: query
- name: format
+ name: date_created__gt
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ format: date-time
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: grouping
+ name: date_created__gte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: grouping__ic
+ name: date_created__lt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: grouping__ie
+ name: date_created__lte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: grouping__iew
+ name: date_created__n
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: grouping__ire
+ name: date_done
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: grouping__isw
+ name: date_done__gt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: grouping__n
+ name: date_done__gte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: grouping__nic
+ name: date_done__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: grouping__nie
+ name: date_done__lt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: grouping__niew
+ name: date_done__lte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: grouping__nire
+ name: date_done__n
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: grouping__nisw
+ name: date_started
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: grouping__nre
+ name: date_started__gt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: grouping__re
+ name: date_started__gte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: grouping_override
+ name: date_started__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: has_sensitive_variables
+ name: date_started__lt
required: false
schema:
- type: boolean
+ items:
+ format: date-time
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: has_sensitive_variables_override
+ name: date_started__lte
required: false
schema:
- type: boolean
+ items:
+ format: date-time
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: hidden
+ name: date_started__n
required: false
schema:
- type: boolean
+ items:
+ format: date-time
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: hidden_override
+ name: format
required: false
schema:
- type: boolean
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -101480,7 +96823,7 @@ paths:
style: form
- explode: true
in: query
- name: id__ic
+ name: id__n
required: false
schema:
items:
@@ -101490,148 +96833,118 @@ paths:
style: form
- explode: true
in: query
- name: id__ie
+ name: job_model
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Job (name or ID) is null
+ explode: true
in: query
- name: id__iew
+ name: job_model__isnull
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: id__ire
+ name: job_model__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Job (ID) - Deprecated (use job_model filter)
+ explode: true
in: query
- name: id__isw
+ name: job_model_id
required: false
schema:
items:
format: uuid
+ nullable: true
type: string
type: array
style: form
- - explode: true
+ - description: Job (ID) - Deprecated (use job_model filter) is null
+ explode: true
in: query
- name: id__n
+ name: job_model_id__isnull
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: Exclude Job (ID) - Deprecated (use job_model filter)
+ explode: true
in: query
- name: id__nic
+ name: job_model_id__n
required: false
schema:
items:
format: uuid
+ nullable: true
type: string
type: array
style: form
- - explode: true
+ - description: Number of results to return per page.
+ explode: true
in: query
- name: id__nie
+ name: limit
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: integer
style: form
- explode: true
in: query
- name: id__niew
+ name: name
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nire
+ name: name__ic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nisw
+ name: name__ie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nre
+ name: name__iew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__re
+ name: name__ire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: installed
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: is_job_button_receiver
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: is_job_hook_receiver
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: job_class_name
+ name: name__isw
required: false
schema:
items:
@@ -101640,7 +96953,7 @@ paths:
style: form
- explode: true
in: query
- name: job_class_name__ic
+ name: name__n
required: false
schema:
items:
@@ -101649,7 +96962,7 @@ paths:
style: form
- explode: true
in: query
- name: job_class_name__ie
+ name: name__nic
required: false
schema:
items:
@@ -101658,7 +96971,7 @@ paths:
style: form
- explode: true
in: query
- name: job_class_name__iew
+ name: name__nie
required: false
schema:
items:
@@ -101667,7 +96980,7 @@ paths:
style: form
- explode: true
in: query
- name: job_class_name__ire
+ name: name__niew
required: false
schema:
items:
@@ -101676,7 +96989,7 @@ paths:
style: form
- explode: true
in: query
- name: job_class_name__isw
+ name: name__nire
required: false
schema:
items:
@@ -101685,7 +96998,7 @@ paths:
style: form
- explode: true
in: query
- name: job_class_name__n
+ name: name__nisw
required: false
schema:
items:
@@ -101694,7 +97007,7 @@ paths:
style: form
- explode: true
in: query
- name: job_class_name__nic
+ name: name__nre
required: false
schema:
items:
@@ -101703,21 +97016,825 @@ paths:
style: form
- explode: true
in: query
- name: job_class_name__nie
+ name: name__re
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: The initial index from which to return the results.
+ explode: true
in: query
- name: job_class_name__niew
+ name: offset
required: false
schema:
- items:
- type: string
- type: array
+ type: integer
+ style: form
+ - description: Search
+ explode: true
+ in: query
+ name: q
+ required: false
+ schema:
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: scheduled_job
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Scheduled Job (name or ID) is null
+ explode: true
+ in: query
+ name: scheduled_job__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: scheduled_job__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Which field to use when ordering the results.
+ explode: true
+ in: query
+ name: sort
+ required: false
+ schema:
+ type: string
+ style: form
+ - description: Current state of the Job being run
+ explode: true
+ in: query
+ name: status
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: status__ic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: status__ie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: status__iew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: status__ire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: status__isw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: status__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: status__nic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: status__nie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: status__niew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: status__nire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: status__nisw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: status__nre
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: status__re
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: user
+ required: false
+ schema:
+ format: uuid
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: user__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: user__n
+ required: false
+ schema:
+ format: uuid
+ type: string
+ style: form
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedJobResultList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedJobResultList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ /extras/job-results/{id}/:
+ delete:
+ description: Retrieve a list of job results
+ operationId: extras_job_results_destroy
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this job result.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ get:
+ description: Retrieve a list of job results
+ operationId: extras_job_results_retrieve
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this job result.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/JobResult"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/JobResult"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ /extras/job-results/{id}/logs/:
+ get:
+ description: Retrieve a list of job results
+ operationId: extras_job_results_logs_retrieve
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this job result.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/JobResult"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/JobResult"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ /extras/jobs/:
+ delete:
+ description: Destroy a list of job objects.
+ operationId: extras_jobs_bulk_destroy
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ required: true
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ get:
+ description: Retrieve a list of job objects.
+ operationId: extras_jobs_list
+ parameters:
+ - explode: true
+ in: query
+ name: approval_required
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: approval_required_override
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: contacts
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Contacts (name or ID) is null
+ explode: true
+ in: query
+ name: contacts__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: contacts__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: description_override
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: dryrun_default
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: dryrun_default_override
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: dynamic_groups
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: dynamic_groups__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: enabled
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - explode: true
+ in: query
+ name: grouping
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: grouping__ic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: grouping__ie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: grouping__iew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: grouping__ire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: grouping__isw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: grouping__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: grouping__nic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: grouping__nie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: grouping__niew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: grouping__nire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: grouping__nisw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: grouping__nre
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: grouping__re
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: grouping_override
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: has_sensitive_variables
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: has_sensitive_variables_override
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: hidden
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: hidden_override
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
+ in: query
+ name: id
+ required: false
+ schema:
+ items:
+ format: uuid
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: id__n
+ required: false
+ schema:
+ items:
+ format: uuid
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: installed
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: is_job_button_receiver
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: is_job_hook_receiver
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: is_singleton
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: is_singleton_override
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: job_class_name
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: job_class_name__ic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: job_class_name__ie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: job_class_name__iew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: job_class_name__ire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: job_class_name__isw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: job_class_name__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: job_class_name__nic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: job_class_name__nie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: job_class_name__niew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -101755,6 +97872,24 @@ paths:
type: string
type: array
style: form
+ - explode: true
+ in: query
+ name: job_queues
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: job_queues__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- description: Number of results to return per page.
explode: true
in: query
@@ -102162,14 +98297,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -102249,15 +98384,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedJobList'
+ $ref: "#/components/schemas/PaginatedJobList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedJobList'
+ $ref: "#/components/schemas/PaginatedJobList"
description: ""
security:
- cookieAuth: []
@@ -102273,19 +98417,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableJobRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableJobRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableJobRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableJobRequest"
type: array
required: true
responses:
@@ -102294,12 +98438,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Job'
+ $ref: "#/components/schemas/Job"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Job'
+ $ref: "#/components/schemas/Job"
type: array
description: ""
security:
@@ -102316,19 +98460,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableJobRequest'
+ $ref: "#/components/schemas/BulkWritableJobRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableJobRequest'
+ $ref: "#/components/schemas/BulkWritableJobRequest"
type: array
required: true
responses:
@@ -102337,12 +98481,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Job'
+ $ref: "#/components/schemas/Job"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Job'
+ $ref: "#/components/schemas/Job"
type: array
description: ""
security:
@@ -102360,7 +98504,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- explode: false
in: path
@@ -102387,7 +98531,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- explode: false
in: path
@@ -102408,15 +98552,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Job'
+ $ref: "#/components/schemas/Job"
text/csv:
schema:
- $ref: '#/components/schemas/Job'
+ $ref: "#/components/schemas/Job"
description: ""
security:
- cookieAuth: []
@@ -102432,7 +98585,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- explode: false
in: path
@@ -102446,19 +98599,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedJobRequest'
+ $ref: "#/components/schemas/PatchedJobRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedJobRequest'
+ $ref: "#/components/schemas/PatchedJobRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Job'
+ $ref: "#/components/schemas/Job"
text/csv:
schema:
- $ref: '#/components/schemas/Job'
+ $ref: "#/components/schemas/Job"
description: ""
security:
- cookieAuth: []
@@ -102474,7 +98627,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- explode: false
in: path
@@ -102488,20 +98641,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/JobRequest'
+ $ref: "#/components/schemas/JobRequest"
text/csv:
schema:
- $ref: '#/components/schemas/JobRequest'
+ $ref: "#/components/schemas/JobRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Job'
+ $ref: "#/components/schemas/Job"
text/csv:
schema:
- $ref: '#/components/schemas/Job'
+ $ref: "#/components/schemas/Job"
description: ""
security:
- cookieAuth: []
@@ -102518,7 +98671,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: Number of results to return per page.
explode: true
@@ -102555,15 +98708,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -102579,7 +98741,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- explode: false
in: path
@@ -102593,20 +98755,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -102623,7 +98785,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- explode: false
in: path
@@ -102637,19 +98799,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/JobInputRequest'
+ $ref: "#/components/schemas/JobInputRequest"
multipart/form-data:
schema:
- $ref: '#/components/schemas/JobMultiPartInputRequest'
+ $ref: "#/components/schemas/JobMultiPartInputRequest"
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/JobRunResponse'
+ $ref: "#/components/schemas/JobRunResponse"
text/csv:
schema:
- $ref: '#/components/schemas/JobRunResponse'
+ $ref: "#/components/schemas/JobRunResponse"
description: ""
security:
- cookieAuth: []
@@ -102667,7 +98829,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: Number of results to return per page.
explode: true
@@ -102712,15 +98874,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedJobVariableList'
+ $ref: "#/components/schemas/PaginatedJobVariableList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedJobVariableList'
+ $ref: "#/components/schemas/PaginatedJobVariableList"
description: ""
security:
- cookieAuth: []
@@ -102737,7 +98908,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -102766,7 +98937,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -102789,15 +98960,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Job'
+ $ref: "#/components/schemas/Job"
text/csv:
schema:
- $ref: '#/components/schemas/Job'
+ $ref: "#/components/schemas/Job"
description: ""
security:
- cookieAuth: []
@@ -102813,7 +98993,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -102829,19 +99009,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedJobRequest'
+ $ref: "#/components/schemas/PatchedJobRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedJobRequest'
+ $ref: "#/components/schemas/PatchedJobRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Job'
+ $ref: "#/components/schemas/Job"
text/csv:
schema:
- $ref: '#/components/schemas/Job'
+ $ref: "#/components/schemas/Job"
description: ""
security:
- cookieAuth: []
@@ -102857,7 +99037,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -102873,20 +99053,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/JobRequest'
+ $ref: "#/components/schemas/JobRequest"
text/csv:
schema:
- $ref: '#/components/schemas/JobRequest'
+ $ref: "#/components/schemas/JobRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Job'
+ $ref: "#/components/schemas/Job"
text/csv:
schema:
- $ref: '#/components/schemas/Job'
+ $ref: "#/components/schemas/Job"
description: ""
security:
- cookieAuth: []
@@ -102903,7 +99083,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -102942,15 +99122,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -102966,7 +99155,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -102982,20 +99171,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -103012,7 +99201,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -103028,19 +99217,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/JobInputRequest'
+ $ref: "#/components/schemas/JobInputRequest"
multipart/form-data:
schema:
- $ref: '#/components/schemas/JobMultiPartInputRequest'
+ $ref: "#/components/schemas/JobMultiPartInputRequest"
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/JobRunResponse'
+ $ref: "#/components/schemas/JobRunResponse"
text/csv:
schema:
- $ref: '#/components/schemas/JobRunResponse'
+ $ref: "#/components/schemas/JobRunResponse"
description: ""
security:
- cookieAuth: []
@@ -103058,7 +99247,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -103105,15 +99294,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedJobVariableList'
+ $ref: "#/components/schemas/PaginatedJobVariableList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedJobVariableList'
+ $ref: "#/components/schemas/PaginatedJobVariableList"
description: ""
security:
- cookieAuth: []
@@ -103130,19 +99328,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -103229,7 +99427,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -103243,56 +99441,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -103303,76 +99451,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: last_updated
@@ -103681,15 +99759,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedMetadataChoiceList'
+ $ref: "#/components/schemas/PaginatedMetadataChoiceList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedMetadataChoiceList'
+ $ref: "#/components/schemas/PaginatedMetadataChoiceList"
description: ""
security:
- cookieAuth: []
@@ -103705,19 +99792,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableMetadataChoiceRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableMetadataChoiceRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableMetadataChoiceRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableMetadataChoiceRequest"
type: array
required: true
responses:
@@ -103726,12 +99813,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/MetadataChoice'
+ $ref: "#/components/schemas/MetadataChoice"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/MetadataChoice'
+ $ref: "#/components/schemas/MetadataChoice"
type: array
description: ""
security:
@@ -103748,26 +99835,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/MetadataChoiceRequest'
+ $ref: "#/components/schemas/MetadataChoiceRequest"
text/csv:
schema:
- $ref: '#/components/schemas/MetadataChoiceRequest'
+ $ref: "#/components/schemas/MetadataChoiceRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/MetadataChoice'
+ $ref: "#/components/schemas/MetadataChoice"
text/csv:
schema:
- $ref: '#/components/schemas/MetadataChoice'
+ $ref: "#/components/schemas/MetadataChoice"
description: ""
security:
- cookieAuth: []
@@ -103783,19 +99870,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableMetadataChoiceRequest'
+ $ref: "#/components/schemas/BulkWritableMetadataChoiceRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableMetadataChoiceRequest'
+ $ref: "#/components/schemas/BulkWritableMetadataChoiceRequest"
type: array
required: true
responses:
@@ -103804,12 +99891,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/MetadataChoice'
+ $ref: "#/components/schemas/MetadataChoice"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/MetadataChoice'
+ $ref: "#/components/schemas/MetadataChoice"
type: array
description: ""
security:
@@ -103827,7 +99914,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this metadata choice.
explode: false
@@ -103855,7 +99942,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this metadata choice.
explode: false
@@ -103877,15 +99964,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/MetadataChoice'
+ $ref: "#/components/schemas/MetadataChoice"
text/csv:
schema:
- $ref: '#/components/schemas/MetadataChoice'
+ $ref: "#/components/schemas/MetadataChoice"
description: ""
security:
- cookieAuth: []
@@ -103901,7 +99997,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this metadata choice.
explode: false
@@ -103916,19 +100012,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedMetadataChoiceRequest'
+ $ref: "#/components/schemas/PatchedMetadataChoiceRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedMetadataChoiceRequest'
+ $ref: "#/components/schemas/PatchedMetadataChoiceRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/MetadataChoice'
+ $ref: "#/components/schemas/MetadataChoice"
text/csv:
schema:
- $ref: '#/components/schemas/MetadataChoice'
+ $ref: "#/components/schemas/MetadataChoice"
description: ""
security:
- cookieAuth: []
@@ -103944,7 +100040,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this metadata choice.
explode: false
@@ -103959,20 +100055,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/MetadataChoiceRequest'
+ $ref: "#/components/schemas/MetadataChoiceRequest"
text/csv:
schema:
- $ref: '#/components/schemas/MetadataChoiceRequest'
+ $ref: "#/components/schemas/MetadataChoiceRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/MetadataChoice'
+ $ref: "#/components/schemas/MetadataChoice"
text/csv:
schema:
- $ref: '#/components/schemas/MetadataChoice'
+ $ref: "#/components/schemas/MetadataChoice"
description: ""
security:
- cookieAuth: []
@@ -103989,19 +100085,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -104033,63 +100129,18 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
- in: query
- name: contacts__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- - explode: true
- in: query
- name: content_types
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__ic
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__ie
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__iew
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- explode: true
in: query
- name: content_types__ire
+ name: contacts__n
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: content_types__isw
+ name: content_types
required: false
schema:
items:
@@ -104105,69 +100156,6 @@ paths:
type: integer
type: array
style: form
- - explode: true
- in: query
- name: content_types__nic
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__nie
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__niew
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__nire
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__nisw
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__nre
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__re
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- explode: true
in: query
name: created
@@ -104290,8 +100278,7 @@ paths:
type: string
type: array
style: form
- - description: The type of data allowed for any Metadata of this type.
- explode: true
+ - explode: true
in: query
name: data_type__n
required: false
@@ -104498,21 +100485,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -104526,56 +100513,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -104586,76 +100523,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: last_updated
@@ -104923,14 +100790,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -104943,15 +100810,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedMetadataTypeList'
+ $ref: "#/components/schemas/PaginatedMetadataTypeList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedMetadataTypeList'
+ $ref: "#/components/schemas/PaginatedMetadataTypeList"
description: ""
security:
- cookieAuth: []
@@ -104967,19 +100843,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableMetadataTypeRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableMetadataTypeRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableMetadataTypeRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableMetadataTypeRequest"
type: array
required: true
responses:
@@ -104988,12 +100864,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/MetadataType'
+ $ref: "#/components/schemas/MetadataType"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/MetadataType'
+ $ref: "#/components/schemas/MetadataType"
type: array
description: ""
security:
@@ -105010,26 +100886,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/MetadataTypeRequest'
+ $ref: "#/components/schemas/MetadataTypeRequest"
text/csv:
schema:
- $ref: '#/components/schemas/MetadataTypeRequest'
+ $ref: "#/components/schemas/MetadataTypeRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/MetadataType'
+ $ref: "#/components/schemas/MetadataType"
text/csv:
schema:
- $ref: '#/components/schemas/MetadataType'
+ $ref: "#/components/schemas/MetadataType"
description: ""
security:
- cookieAuth: []
@@ -105045,19 +100921,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableMetadataTypeRequest'
+ $ref: "#/components/schemas/BulkWritableMetadataTypeRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableMetadataTypeRequest'
+ $ref: "#/components/schemas/BulkWritableMetadataTypeRequest"
type: array
required: true
responses:
@@ -105066,12 +100942,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/MetadataType'
+ $ref: "#/components/schemas/MetadataType"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/MetadataType'
+ $ref: "#/components/schemas/MetadataType"
type: array
description: ""
security:
@@ -105089,7 +100965,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this metadata type.
explode: false
@@ -105117,7 +100993,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this metadata type.
explode: false
@@ -105139,74 +101015,40 @@ paths:
minimum: 0
type: integer
style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/MetadataType'
- text/csv:
- schema:
- $ref: '#/components/schemas/MetadataType'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - extras
- patch:
- description: Partial update a metadata type object.
- operationId: extras_metadata_types_partial_update
- parameters:
- - explode: true
+ - description: Exclude many-to-many fields from the response
+ explode: true
in: query
- name: format
+ name: exclude_m2m
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ default: false
+ type: boolean
style: form
- - description: A UUID string identifying this metadata type.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PatchedMetadataTypeRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/PatchedMetadataTypeRequest'
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/MetadataType'
+ $ref: "#/components/schemas/MetadataType"
text/csv:
schema:
- $ref: '#/components/schemas/MetadataType'
+ $ref: "#/components/schemas/MetadataType"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- extras
- put:
- description: Update a metadata type object.
- operationId: extras_metadata_types_update
+ patch:
+ description: Partial update a metadata type object.
+ operationId: extras_metadata_types_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this metadata type.
explode: false
@@ -105221,20 +101063,63 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/MetadataTypeRequest'
+ $ref: "#/components/schemas/PatchedMetadataTypeRequest"
text/csv:
schema:
- $ref: '#/components/schemas/MetadataTypeRequest'
+ $ref: "#/components/schemas/PatchedMetadataTypeRequest"
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/MetadataType"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/MetadataType"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ put:
+ description: Update a metadata type object.
+ operationId: extras_metadata_types_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this metadata type.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/MetadataTypeRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/MetadataTypeRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/MetadataType'
+ $ref: "#/components/schemas/MetadataType"
text/csv:
schema:
- $ref: '#/components/schemas/MetadataType'
+ $ref: "#/components/schemas/MetadataType"
description: ""
security:
- cookieAuth: []
@@ -105251,7 +101136,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this metadata type.
explode: false
@@ -105289,15 +101174,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -105313,7 +101207,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this metadata type.
explode: false
@@ -105328,20 +101222,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -105358,19 +101252,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -105395,56 +101289,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: assigned_object_id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: assigned_object_id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: assigned_object_id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: assigned_object_id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: assigned_object_id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: assigned_object_id__n
@@ -105455,76 +101299,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: assigned_object_id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: assigned_object_id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: assigned_object_id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: assigned_object_id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: assigned_object_id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: assigned_object_id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: assigned_object_id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: assigned_object_type
@@ -105558,7 +101332,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -105572,56 +101346,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -105632,76 +101356,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Number of results to return per page.
explode: true
in: query
@@ -106023,15 +101677,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -106047,19 +101710,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableNoteRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableNoteRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableNoteRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableNoteRequest"
type: array
required: true
responses:
@@ -106068,12 +101731,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
type: array
description: ""
security:
@@ -106090,26 +101753,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteRequest'
+ $ref: "#/components/schemas/NoteRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteRequest'
+ $ref: "#/components/schemas/NoteRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -106125,19 +101788,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableNoteRequest'
+ $ref: "#/components/schemas/BulkWritableNoteRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableNoteRequest'
+ $ref: "#/components/schemas/BulkWritableNoteRequest"
type: array
required: true
responses:
@@ -106146,12 +101809,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
type: array
description: ""
security:
@@ -106169,7 +101832,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this note.
explode: false
@@ -106197,7 +101860,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this note.
explode: false
@@ -106219,15 +101882,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -106243,7 +101915,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this note.
explode: false
@@ -106258,19 +101930,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedNoteRequest'
+ $ref: "#/components/schemas/PatchedNoteRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedNoteRequest'
+ $ref: "#/components/schemas/PatchedNoteRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -106286,7 +101958,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this note.
explode: false
@@ -106301,20 +101973,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteRequest'
+ $ref: "#/components/schemas/NoteRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteRequest'
+ $ref: "#/components/schemas/NoteRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -106462,56 +102134,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: changed_object_id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: changed_object_id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: changed_object_id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: changed_object_id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: changed_object_id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: changed_object_id__n
@@ -106522,76 +102144,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: changed_object_id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: changed_object_id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: changed_object_id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: changed_object_id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: changed_object_id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: changed_object_id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: changed_object_id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: changed_object_type
@@ -106641,7 +102193,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -106655,56 +102207,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -106715,76 +102217,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Number of results to return per page.
explode: true
in: query
@@ -106945,56 +102377,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: request_id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: request_id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: request_id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: request_id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: request_id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: request_id__n
@@ -107005,76 +102387,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: request_id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: request_id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: request_id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: request_id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: request_id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: request_id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: request_id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Which field to use when ordering the results.
explode: true
in: query
@@ -107338,15 +102650,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedObjectChangeList'
+ $ref: "#/components/schemas/PaginatedObjectChangeList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedObjectChangeList'
+ $ref: "#/components/schemas/PaginatedObjectChangeList"
description: ""
security:
- cookieAuth: []
@@ -107363,7 +102684,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this object change.
explode: false
@@ -107385,15 +102706,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ObjectChange'
+ $ref: "#/components/schemas/ObjectChange"
text/csv:
schema:
- $ref: '#/components/schemas/ObjectChange'
+ $ref: "#/components/schemas/ObjectChange"
description: ""
security:
- cookieAuth: []
@@ -107410,19 +102740,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -107447,56 +102777,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: assigned_object_id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: assigned_object_id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: assigned_object_id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: assigned_object_id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: assigned_object_id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: assigned_object_id__n
@@ -107507,76 +102787,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: assigned_object_id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: assigned_object_id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: assigned_object_id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: assigned_object_id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: assigned_object_id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: assigned_object_id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: assigned_object_id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: assigned_object_type
@@ -107700,7 +102910,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -107714,56 +102924,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -107774,76 +102934,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: last_updated
@@ -108015,15 +103105,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedObjectMetadataList'
+ $ref: "#/components/schemas/PaginatedObjectMetadataList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedObjectMetadataList'
+ $ref: "#/components/schemas/PaginatedObjectMetadataList"
description: ""
security:
- cookieAuth: []
@@ -108039,19 +103138,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableObjectMetadataRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableObjectMetadataRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableObjectMetadataRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableObjectMetadataRequest"
type: array
required: true
responses:
@@ -108060,12 +103159,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ObjectMetadata'
+ $ref: "#/components/schemas/ObjectMetadata"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ObjectMetadata'
+ $ref: "#/components/schemas/ObjectMetadata"
type: array
description: ""
security:
@@ -108082,26 +103181,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/ObjectMetadataRequest'
+ $ref: "#/components/schemas/ObjectMetadataRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ObjectMetadataRequest'
+ $ref: "#/components/schemas/ObjectMetadataRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/ObjectMetadata'
+ $ref: "#/components/schemas/ObjectMetadata"
text/csv:
schema:
- $ref: '#/components/schemas/ObjectMetadata'
+ $ref: "#/components/schemas/ObjectMetadata"
description: ""
security:
- cookieAuth: []
@@ -108117,19 +103216,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableObjectMetadataRequest'
+ $ref: "#/components/schemas/BulkWritableObjectMetadataRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableObjectMetadataRequest'
+ $ref: "#/components/schemas/BulkWritableObjectMetadataRequest"
type: array
required: true
responses:
@@ -108138,12 +103237,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ObjectMetadata'
+ $ref: "#/components/schemas/ObjectMetadata"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ObjectMetadata'
+ $ref: "#/components/schemas/ObjectMetadata"
type: array
description: ""
security:
@@ -108161,7 +103260,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this object metadata.
explode: false
@@ -108189,7 +103288,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this object metadata.
explode: false
@@ -108211,74 +103310,40 @@ paths:
minimum: 0
type: integer
style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ObjectMetadata'
- text/csv:
- schema:
- $ref: '#/components/schemas/ObjectMetadata'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - extras
- patch:
- description: Partial update a object metadata object.
- operationId: extras_object_metadata_partial_update
- parameters:
- - explode: true
+ - description: Exclude many-to-many fields from the response
+ explode: true
in: query
- name: format
+ name: exclude_m2m
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ default: false
+ type: boolean
style: form
- - description: A UUID string identifying this object metadata.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PatchedObjectMetadataRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/PatchedObjectMetadataRequest'
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ObjectMetadata'
+ $ref: "#/components/schemas/ObjectMetadata"
text/csv:
schema:
- $ref: '#/components/schemas/ObjectMetadata'
+ $ref: "#/components/schemas/ObjectMetadata"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- extras
- put:
- description: Update a object metadata object.
- operationId: extras_object_metadata_update
+ patch:
+ description: Partial update a object metadata object.
+ operationId: extras_object_metadata_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this object metadata.
explode: false
@@ -108293,99 +103358,35 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ObjectMetadataRequest'
+ $ref: "#/components/schemas/PatchedObjectMetadataRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ObjectMetadataRequest'
- required: true
+ $ref: "#/components/schemas/PatchedObjectMetadataRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ObjectMetadata'
+ $ref: "#/components/schemas/ObjectMetadata"
text/csv:
schema:
- $ref: '#/components/schemas/ObjectMetadata'
+ $ref: "#/components/schemas/ObjectMetadata"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- extras
- /extras/object-metadata/{id}/notes/:
- get:
- description: API methods for returning or creating notes on an object.
- operationId: extras_object_metadata_notes_list
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this object metadata.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
- style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - extras
- post:
- description: API methods for returning or creating notes on an object.
- operationId: extras_object_metadata_notes_create
+ put:
+ description: Update a object metadata object.
+ operationId: extras_object_metadata_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this object metadata.
explode: false
@@ -108400,20 +103401,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/ObjectMetadataRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/ObjectMetadataRequest"
required: true
responses:
- "201":
+ "200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/ObjectMetadata"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/ObjectMetadata"
description: ""
security:
- cookieAuth: []
@@ -108430,19 +103431,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -108467,56 +103468,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: destination_id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: destination_id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: destination_id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: destination_id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: destination_id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: destination_id__n
@@ -108527,76 +103478,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: destination_id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: destination_id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: destination_id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: destination_id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: destination_id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: destination_id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: destination_id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: destination_type
@@ -108620,7 +103501,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -108634,56 +103515,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -108694,76 +103525,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- description: Number of results to return per page.
explode: true
in: query
@@ -108836,56 +103597,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: source_id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: source_id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: source_id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: source_id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: source_id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: source_id__n
@@ -108896,76 +103607,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: source_id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: source_id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: source_id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: source_id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: source_id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: source_id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: source_id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: source_type
@@ -108995,15 +103636,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedRelationshipAssociationList'
+ $ref: "#/components/schemas/PaginatedRelationshipAssociationList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedRelationshipAssociationList'
+ $ref: "#/components/schemas/PaginatedRelationshipAssociationList"
description: ""
security:
- cookieAuth: []
@@ -109019,19 +103669,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableRelationshipAssociationRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableRelationshipAssociationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableRelationshipAssociationRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableRelationshipAssociationRequest"
type: array
required: true
responses:
@@ -109040,12 +103690,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/RelationshipAssociation'
+ $ref: "#/components/schemas/RelationshipAssociation"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/RelationshipAssociation'
+ $ref: "#/components/schemas/RelationshipAssociation"
type: array
description: ""
security:
@@ -109062,26 +103712,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/RelationshipAssociationRequest'
+ $ref: "#/components/schemas/RelationshipAssociationRequest"
text/csv:
schema:
- $ref: '#/components/schemas/RelationshipAssociationRequest'
+ $ref: "#/components/schemas/RelationshipAssociationRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/RelationshipAssociation'
+ $ref: "#/components/schemas/RelationshipAssociation"
text/csv:
schema:
- $ref: '#/components/schemas/RelationshipAssociation'
+ $ref: "#/components/schemas/RelationshipAssociation"
description: ""
security:
- cookieAuth: []
@@ -109097,19 +103747,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableRelationshipAssociationRequest'
+ $ref: "#/components/schemas/BulkWritableRelationshipAssociationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableRelationshipAssociationRequest'
+ $ref: "#/components/schemas/BulkWritableRelationshipAssociationRequest"
type: array
required: true
responses:
@@ -109118,12 +103768,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/RelationshipAssociation'
+ $ref: "#/components/schemas/RelationshipAssociation"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/RelationshipAssociation'
+ $ref: "#/components/schemas/RelationshipAssociation"
type: array
description: ""
security:
@@ -109141,7 +103791,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this relationship association.
explode: false
@@ -109169,7 +103819,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this relationship association.
explode: false
@@ -109191,15 +103841,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/RelationshipAssociation'
+ $ref: "#/components/schemas/RelationshipAssociation"
text/csv:
schema:
- $ref: '#/components/schemas/RelationshipAssociation'
+ $ref: "#/components/schemas/RelationshipAssociation"
description: ""
security:
- cookieAuth: []
@@ -109215,7 +103874,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this relationship association.
explode: false
@@ -109230,19 +103889,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedRelationshipAssociationRequest'
+ $ref: "#/components/schemas/PatchedRelationshipAssociationRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedRelationshipAssociationRequest'
+ $ref: "#/components/schemas/PatchedRelationshipAssociationRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/RelationshipAssociation'
+ $ref: "#/components/schemas/RelationshipAssociation"
text/csv:
schema:
- $ref: '#/components/schemas/RelationshipAssociation'
+ $ref: "#/components/schemas/RelationshipAssociation"
description: ""
security:
- cookieAuth: []
@@ -109258,7 +103917,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this relationship association.
explode: false
@@ -109273,20 +103932,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/RelationshipAssociationRequest'
+ $ref: "#/components/schemas/RelationshipAssociationRequest"
text/csv:
schema:
- $ref: '#/components/schemas/RelationshipAssociationRequest'
+ $ref: "#/components/schemas/RelationshipAssociationRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/RelationshipAssociation'
+ $ref: "#/components/schemas/RelationshipAssociation"
text/csv:
schema:
- $ref: '#/components/schemas/RelationshipAssociation'
+ $ref: "#/components/schemas/RelationshipAssociation"
description: ""
security:
- cookieAuth: []
@@ -109303,19 +103962,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -109347,14 +104006,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -109383,21 +104042,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -109411,56 +104070,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -109471,76 +104080,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: key
@@ -109860,14 +104399,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Cardinality of this relationship
explode: true
@@ -109924,8 +104463,7 @@ paths:
type: string
type: array
style: form
- - description: Cardinality of this relationship
- explode: true
+ - explode: true
in: query
name: type__n
required: false
@@ -110008,15 +104546,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedRelationshipList'
+ $ref: "#/components/schemas/PaginatedRelationshipList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedRelationshipList'
+ $ref: "#/components/schemas/PaginatedRelationshipList"
description: ""
security:
- cookieAuth: []
@@ -110032,19 +104579,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableRelationshipRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableRelationshipRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableRelationshipRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableRelationshipRequest"
type: array
required: true
responses:
@@ -110053,12 +104600,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Relationship'
+ $ref: "#/components/schemas/Relationship"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Relationship'
+ $ref: "#/components/schemas/Relationship"
type: array
description: ""
security:
@@ -110075,26 +104622,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/RelationshipRequest'
+ $ref: "#/components/schemas/RelationshipRequest"
text/csv:
schema:
- $ref: '#/components/schemas/RelationshipRequest'
+ $ref: "#/components/schemas/RelationshipRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Relationship'
+ $ref: "#/components/schemas/Relationship"
text/csv:
schema:
- $ref: '#/components/schemas/Relationship'
+ $ref: "#/components/schemas/Relationship"
description: ""
security:
- cookieAuth: []
@@ -110110,19 +104657,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableRelationshipRequest'
+ $ref: "#/components/schemas/BulkWritableRelationshipRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableRelationshipRequest'
+ $ref: "#/components/schemas/BulkWritableRelationshipRequest"
type: array
required: true
responses:
@@ -110131,12 +104678,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Relationship'
+ $ref: "#/components/schemas/Relationship"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Relationship'
+ $ref: "#/components/schemas/Relationship"
type: array
description: ""
security:
@@ -110154,7 +104701,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this relationship.
explode: false
@@ -110182,7 +104729,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this relationship.
explode: false
@@ -110204,15 +104751,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Relationship'
+ $ref: "#/components/schemas/Relationship"
text/csv:
schema:
- $ref: '#/components/schemas/Relationship'
+ $ref: "#/components/schemas/Relationship"
description: ""
security:
- cookieAuth: []
@@ -110228,7 +104784,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this relationship.
explode: false
@@ -110243,19 +104799,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedRelationshipRequest'
+ $ref: "#/components/schemas/PatchedRelationshipRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedRelationshipRequest'
+ $ref: "#/components/schemas/PatchedRelationshipRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Relationship'
+ $ref: "#/components/schemas/Relationship"
text/csv:
schema:
- $ref: '#/components/schemas/Relationship'
+ $ref: "#/components/schemas/Relationship"
description: ""
security:
- cookieAuth: []
@@ -110271,7 +104827,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this relationship.
explode: false
@@ -110286,20 +104842,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/RelationshipRequest'
+ $ref: "#/components/schemas/RelationshipRequest"
text/csv:
schema:
- $ref: '#/components/schemas/RelationshipRequest'
+ $ref: "#/components/schemas/RelationshipRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Relationship'
+ $ref: "#/components/schemas/Relationship"
text/csv:
schema:
- $ref: '#/components/schemas/Relationship'
+ $ref: "#/components/schemas/Relationship"
description: ""
security:
- cookieAuth: []
@@ -110316,7 +104872,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this relationship.
explode: false
@@ -110354,15 +104910,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -110378,7 +104943,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this relationship.
explode: false
@@ -110393,20 +104958,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -110423,19 +104988,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -110593,63 +105158,18 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
- in: query
- name: contacts__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
- name: content_types
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__ic
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__ie
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__iew
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__ire
+ name: contacts__n
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: content_types__isw
+ name: content_types
required: false
schema:
items:
@@ -110665,69 +105185,6 @@ paths:
type: integer
type: array
style: form
- - explode: true
- in: query
- name: content_types__nic
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__nie
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__niew
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__nire
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__nisw
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__nre
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__re
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- explode: true
in: query
name: created
@@ -110804,21 +105261,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -110832,56 +105289,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -110892,76 +105299,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: last_updated
@@ -111204,14 +105541,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -111285,15 +105622,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedRoleList'
+ $ref: "#/components/schemas/PaginatedRoleList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedRoleList'
+ $ref: "#/components/schemas/PaginatedRoleList"
description: ""
security:
- cookieAuth: []
@@ -111309,19 +105655,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableRoleRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableRoleRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableRoleRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableRoleRequest"
type: array
required: true
responses:
@@ -111330,12 +105676,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Role'
+ $ref: "#/components/schemas/Role"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Role'
+ $ref: "#/components/schemas/Role"
type: array
description: ""
security:
@@ -111352,26 +105698,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/RoleRequest'
+ $ref: "#/components/schemas/RoleRequest"
text/csv:
schema:
- $ref: '#/components/schemas/RoleRequest'
+ $ref: "#/components/schemas/RoleRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Role'
+ $ref: "#/components/schemas/Role"
text/csv:
schema:
- $ref: '#/components/schemas/Role'
+ $ref: "#/components/schemas/Role"
description: ""
security:
- cookieAuth: []
@@ -111387,19 +105733,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableRoleRequest'
+ $ref: "#/components/schemas/BulkWritableRoleRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableRoleRequest'
+ $ref: "#/components/schemas/BulkWritableRoleRequest"
type: array
required: true
responses:
@@ -111408,12 +105754,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Role'
+ $ref: "#/components/schemas/Role"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Role'
+ $ref: "#/components/schemas/Role"
type: array
description: ""
security:
@@ -111431,7 +105777,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this role.
explode: false
@@ -111459,7 +105805,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this role.
explode: false
@@ -111481,15 +105827,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Role'
+ $ref: "#/components/schemas/Role"
text/csv:
schema:
- $ref: '#/components/schemas/Role'
+ $ref: "#/components/schemas/Role"
description: ""
security:
- cookieAuth: []
@@ -111505,7 +105860,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this role.
explode: false
@@ -111520,19 +105875,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedRoleRequest'
+ $ref: "#/components/schemas/PatchedRoleRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedRoleRequest'
+ $ref: "#/components/schemas/PatchedRoleRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Role'
+ $ref: "#/components/schemas/Role"
text/csv:
schema:
- $ref: '#/components/schemas/Role'
+ $ref: "#/components/schemas/Role"
description: ""
security:
- cookieAuth: []
@@ -111548,7 +105903,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this role.
explode: false
@@ -111563,20 +105918,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/RoleRequest'
+ $ref: "#/components/schemas/RoleRequest"
text/csv:
schema:
- $ref: '#/components/schemas/RoleRequest'
+ $ref: "#/components/schemas/RoleRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Role'
+ $ref: "#/components/schemas/Role"
text/csv:
schema:
- $ref: '#/components/schemas/Role'
+ $ref: "#/components/schemas/Role"
description: ""
security:
- cookieAuth: []
@@ -111593,7 +105948,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this role.
explode: false
@@ -111631,15 +105986,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -111655,7 +106019,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this role.
explode: false
@@ -111670,20 +106034,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
@@ -111700,19 +106064,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -111732,7 +106096,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -111746,56 +106110,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -111806,76 +106120,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: is_global_default
@@ -112203,15 +106447,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedSavedViewList'
+ $ref: "#/components/schemas/PaginatedSavedViewList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedSavedViewList'
+ $ref: "#/components/schemas/PaginatedSavedViewList"
description: ""
security:
- cookieAuth: []
@@ -112227,19 +106480,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableSavedViewRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableSavedViewRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableSavedViewRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableSavedViewRequest"
type: array
required: true
responses:
@@ -112248,12 +106501,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/SavedView'
+ $ref: "#/components/schemas/SavedView"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/SavedView'
+ $ref: "#/components/schemas/SavedView"
type: array
description: ""
security:
@@ -112270,26 +106523,26 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/SavedViewRequest'
+ $ref: "#/components/schemas/SavedViewRequest"
text/csv:
schema:
- $ref: '#/components/schemas/SavedViewRequest'
+ $ref: "#/components/schemas/SavedViewRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/SavedView'
+ $ref: "#/components/schemas/SavedView"
text/csv:
schema:
- $ref: '#/components/schemas/SavedView'
+ $ref: "#/components/schemas/SavedView"
description: ""
security:
- cookieAuth: []
@@ -112305,19 +106558,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableSavedViewRequest'
+ $ref: "#/components/schemas/BulkWritableSavedViewRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableSavedViewRequest'
+ $ref: "#/components/schemas/BulkWritableSavedViewRequest"
type: array
required: true
responses:
@@ -112326,12 +106579,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/SavedView'
+ $ref: "#/components/schemas/SavedView"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/SavedView'
+ $ref: "#/components/schemas/SavedView"
type: array
description: ""
security:
@@ -112349,7 +106602,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this saved view.
explode: false
@@ -112377,7 +106630,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this saved view.
explode: false
@@ -112399,15 +106652,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/SavedView'
+ $ref: "#/components/schemas/SavedView"
text/csv:
schema:
- $ref: '#/components/schemas/SavedView'
+ $ref: "#/components/schemas/SavedView"
description: ""
security:
- cookieAuth: []
@@ -112423,7 +106685,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this saved view.
explode: false
@@ -112438,19 +106700,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedSavedViewRequest'
+ $ref: "#/components/schemas/PatchedSavedViewRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedSavedViewRequest'
+ $ref: "#/components/schemas/PatchedSavedViewRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/SavedView'
+ $ref: "#/components/schemas/SavedView"
text/csv:
schema:
- $ref: '#/components/schemas/SavedView'
+ $ref: "#/components/schemas/SavedView"
description: ""
security:
- cookieAuth: []
@@ -112466,7 +106728,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this saved view.
explode: false
@@ -112481,20 +106743,20 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/SavedViewRequest'
+ $ref: "#/components/schemas/SavedViewRequest"
text/csv:
schema:
- $ref: '#/components/schemas/SavedViewRequest'
+ $ref: "#/components/schemas/SavedViewRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/SavedView'
+ $ref: "#/components/schemas/SavedView"
text/csv:
schema:
- $ref: '#/components/schemas/SavedView'
+ $ref: "#/components/schemas/SavedView"
description: ""
security:
- cookieAuth: []
@@ -112502,6 +106764,38 @@ paths:
tags:
- extras
/extras/scheduled-jobs/:
+ delete:
+ description: Retrieve a list of scheduled jobs
+ operationId: extras_scheduled_jobs_bulk_destroy
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ required: true
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
get:
description: Retrieve a list of scheduled jobs
operationId: extras_scheduled_jobs_list
@@ -112511,7 +106805,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -112525,56 +106819,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -112585,76 +106829,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: job_model
@@ -113007,163 +107181,137 @@ paths:
required: false
schema:
items:
- $ref: '#/components/schemas/dcim_locations_list_time_zone_parameter_inner'
+ $ref: "#/components/schemas/dcim_locations_list_time_zone_parameter_inner"
type: array
style: form
- - description: |+
- Time zone
-
+ - description: Time zone
explode: true
in: query
name: time_zone__ic
required: false
schema:
items:
- $ref: '#/components/schemas/dcim_locations_list_time_zone_parameter_inner'
+ type: string
type: array
style: form
- - description: |+
- Time zone
-
+ - description: Time zone
explode: true
in: query
name: time_zone__ie
required: false
schema:
items:
- $ref: '#/components/schemas/dcim_locations_list_time_zone_parameter_inner'
+ type: string
type: array
style: form
- - description: |+
- Time zone
-
+ - description: Time zone
explode: true
in: query
name: time_zone__iew
required: false
schema:
items:
- $ref: '#/components/schemas/dcim_locations_list_time_zone_parameter_inner'
+ type: string
type: array
style: form
- - description: |+
- Time zone
-
+ - description: Time zone
explode: true
in: query
name: time_zone__ire
required: false
schema:
items:
- $ref: '#/components/schemas/dcim_locations_list_time_zone_parameter_inner'
+ type: string
type: array
style: form
- - description: |+
- Time zone
-
+ - description: Time zone
explode: true
in: query
name: time_zone__isw
required: false
schema:
items:
- $ref: '#/components/schemas/dcim_locations_list_time_zone_parameter_inner'
+ type: string
type: array
style: form
- - description: |+
- Time zone
-
+ - description: Time zone
explode: true
in: query
name: time_zone__n
required: false
schema:
items:
- $ref: '#/components/schemas/dcim_locations_list_time_zone_parameter_inner'
+ type: string
type: array
style: form
- - description: |+
- Time zone
-
+ - description: Time zone
explode: true
in: query
name: time_zone__nic
required: false
schema:
items:
- $ref: '#/components/schemas/dcim_locations_list_time_zone_parameter_inner'
+ type: string
type: array
style: form
- - description: |+
- Time zone
-
+ - description: Time zone
explode: true
in: query
name: time_zone__nie
required: false
schema:
items:
- $ref: '#/components/schemas/dcim_locations_list_time_zone_parameter_inner'
+ type: string
type: array
style: form
- - description: |+
- Time zone
-
+ - description: Time zone
explode: true
in: query
name: time_zone__niew
required: false
schema:
items:
- $ref: '#/components/schemas/dcim_locations_list_time_zone_parameter_inner'
+ type: string
type: array
style: form
- - description: |+
- Time zone
-
+ - description: Time zone
explode: true
in: query
name: time_zone__nire
required: false
schema:
items:
- $ref: '#/components/schemas/dcim_locations_list_time_zone_parameter_inner'
+ type: string
type: array
style: form
- - description: |+
- Time zone
-
+ - description: Time zone
explode: true
in: query
name: time_zone__nisw
required: false
schema:
items:
- $ref: '#/components/schemas/dcim_locations_list_time_zone_parameter_inner'
+ type: string
type: array
style: form
- - description: |+
- Time zone
-
+ - description: Time zone
explode: true
in: query
name: time_zone__nre
required: false
schema:
items:
- $ref: '#/components/schemas/dcim_locations_list_time_zone_parameter_inner'
+ type: string
type: array
style: form
- - description: |+
- Time zone
-
+ - description: Time zone
explode: true
in: query
name: time_zone__re
required: false
schema:
items:
- $ref: '#/components/schemas/dcim_locations_list_time_zone_parameter_inner'
+ type: string
type: array
style: form
- explode: true
@@ -113231,15 +107379,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedScheduledJobList'
+ $ref: "#/components/schemas/PaginatedScheduledJobList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedScheduledJobList'
+ $ref: "#/components/schemas/PaginatedScheduledJobList"
description: ""
security:
- cookieAuth: []
@@ -113247,6 +107404,34 @@ paths:
tags:
- extras
/extras/scheduled-jobs/{id}/:
+ delete:
+ description: Retrieve a list of scheduled jobs
+ operationId: extras_scheduled_jobs_destroy
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this scheduled job.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
get:
description: Retrieve a list of scheduled jobs
operationId: extras_scheduled_jobs_retrieve
@@ -113256,7 +107441,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this scheduled job.
explode: false
@@ -113278,15 +107463,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ScheduledJob'
+ $ref: "#/components/schemas/ScheduledJob"
text/csv:
schema:
- $ref: '#/components/schemas/ScheduledJob'
+ $ref: "#/components/schemas/ScheduledJob"
description: ""
security:
- cookieAuth: []
@@ -113311,7 +107505,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this scheduled job.
explode: false
@@ -113327,10 +107521,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ScheduledJob'
+ $ref: "#/components/schemas/ScheduledJob"
text/csv:
schema:
- $ref: '#/components/schemas/ScheduledJob'
+ $ref: "#/components/schemas/ScheduledJob"
description: ""
security:
- cookieAuth: []
@@ -113347,7 +107541,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this scheduled job.
explode: false
@@ -113363,10 +107557,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ScheduledJob'
+ $ref: "#/components/schemas/ScheduledJob"
text/csv:
schema:
- $ref: '#/components/schemas/ScheduledJob'
+ $ref: "#/components/schemas/ScheduledJob"
description: ""
security:
- cookieAuth: []
@@ -113383,7 +107577,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this scheduled job.
explode: false
@@ -113399,10 +107593,10 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/JobResult'
+ $ref: "#/components/schemas/JobResult"
text/csv:
schema:
- $ref: '#/components/schemas/JobResult'
+ $ref: "#/components/schemas/JobResult"
description: ""
security:
- cookieAuth: []
@@ -113419,19 +107613,19 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -113463,14 +107657,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -113548,21 +107742,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -113578,7 +107772,7 @@ paths:
style: form
- explode: true
in: query
- name: id__ic
+ name: id__n
required: false
schema:
items:
@@ -113588,202 +107782,216 @@ paths:
style: form
- explode: true
in: query
- name: id__ie
+ name: last_updated
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: last_updated__gt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: last_updated__gte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: last_updated__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: last_updated__lt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__n
+ name: last_updated__lte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__nic
+ name: last_updated__n
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
- explode: true
in: query
- name: id__nie
+ name: name
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: name__ic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nire
+ name: name__ie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nisw
+ name: name__iew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nre
+ name: name__ire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__re
+ name: name__isw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated
+ name: name__n
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__gt
+ name: name__nic
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__gte
+ name: name__nie
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__isnull
+ name: name__niew
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: last_updated__lt
+ name: name__nire
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__lte
+ name: name__nisw
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__n
+ name: name__nre
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - description: Number of results to return per page.
+ - explode: true
+ in: query
+ name: name__re
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: The initial index from which to return the results.
explode: true
in: query
- name: limit
+ name: offset
required: false
schema:
type: integer
style: form
- explode: true
in: query
- name: name
+ name: provider
required: false
schema:
items:
@@ -113792,7 +108000,7 @@ paths:
style: form
- explode: true
in: query
- name: name__ic
+ name: provider__ic
required: false
schema:
items:
@@ -113801,7 +108009,7 @@ paths:
style: form
- explode: true
in: query
- name: name__ie
+ name: provider__ie
required: false
schema:
items:
@@ -113810,7 +108018,7 @@ paths:
style: form
- explode: true
in: query
- name: name__iew
+ name: provider__iew
required: false
schema:
items:
@@ -113819,7 +108027,7 @@ paths:
style: form
- explode: true
in: query
- name: name__ire
+ name: provider__ire
required: false
schema:
items:
@@ -113828,7 +108036,7 @@ paths:
style: form
- explode: true
in: query
- name: name__isw
+ name: provider__isw
required: false
schema:
items:
@@ -113837,7 +108045,7 @@ paths:
style: form
- explode: true
in: query
- name: name__n
+ name: provider__n
required: false
schema:
items:
@@ -113846,7 +108054,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nic
+ name: provider__nic
required: false
schema:
items:
@@ -113855,7 +108063,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nie
+ name: provider__nie
required: false
schema:
items:
@@ -113864,7 +108072,7 @@ paths:
style: form
- explode: true
in: query
- name: name__niew
+ name: provider__niew
required: false
schema:
items:
@@ -113873,7 +108081,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nire
+ name: provider__nire
required: false
schema:
items:
@@ -113882,7 +108090,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nisw
+ name: provider__nisw
required: false
schema:
items:
@@ -113891,7 +108099,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nre
+ name: provider__nre
required: false
schema:
items:
@@ -113900,24 +108108,32 @@ paths:
style: form
- explode: true
in: query
- name: name__re
+ name: provider__re
required: false
schema:
items:
type: string
type: array
style: form
- - description: The initial index from which to return the results.
+ - description: Search
explode: true
in: query
- name: offset
+ name: q
required: false
schema:
- type: integer
+ type: string
+ style: form
+ - description: Which field to use when ordering the results.
+ explode: true
+ in: query
+ name: sort
+ required: false
+ schema:
+ type: string
style: form
- explode: true
in: query
- name: provider
+ name: tags
required: false
schema:
items:
@@ -113926,7 +108142,14 @@ paths:
style: form
- explode: true
in: query
- name: provider__ic
+ name: tags__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: tags__n
required: false
schema:
items:
@@ -113935,34 +108158,245 @@ paths:
style: form
- explode: true
in: query
- name: provider__ie
+ name: teams
required: false
schema:
items:
type: string
type: array
style: form
+ - description: Teams (name or ID) is null
+ explode: true
+ in: query
+ name: teams__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: provider__iew
+ name: teams__n
required: false
schema:
items:
type: string
type: array
style: form
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedSecretList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedSecretList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ patch:
+ description: "Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests."
+ operationId: extras_secrets_bulk_partial_update
+ parameters:
- explode: true
in: query
- name: provider__ire
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableSecretRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableSecretRequest"
+ type: array
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/Secret"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/Secret"
+ type: array
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ post:
+ description: "Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests."
+ operationId: extras_secrets_create
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/SecretRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/SecretRequest"
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Secret"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/Secret"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ put:
+ description: "Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests."
+ operationId: extras_secrets_bulk_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableSecretRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableSecretRequest"
+ type: array
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/Secret"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/Secret"
+ type: array
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ /extras/secrets-groups/:
+ delete:
+ description: "Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH\
+ \ requests."
+ operationId: extras_secrets_groups_bulk_destroy
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ required: true
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ get:
+ description: "Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH\
+ \ requests."
+ operationId: extras_secrets_groups_list
+ parameters:
+ - explode: true
+ in: query
+ name: contacts
required: false
schema:
items:
type: string
type: array
style: form
+ - description: Contacts (name or ID) is null
+ explode: true
+ in: query
+ name: contacts__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: provider__isw
+ name: contacts__n
required: false
schema:
items:
@@ -113971,61 +108405,74 @@ paths:
style: form
- explode: true
in: query
- name: provider__n
+ name: created
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: provider__nic
+ name: created__gt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: provider__nie
+ name: created__gte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: provider__niew
+ name: created__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: created__lt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: provider__nire
+ name: created__lte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: provider__nisw
+ name: created__n
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: provider__nre
+ name: dynamic_groups
required: false
schema:
items:
@@ -114034,54 +108481,285 @@ paths:
style: form
- explode: true
in: query
- name: provider__re
+ name: dynamic_groups__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Search
- explode: true
+ - explode: true
in: query
- name: q
+ name: format
required: false
schema:
- type: string
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: Which field to use when ordering the results.
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
explode: true
in: query
- name: sort
+ name: id
required: false
schema:
- type: string
+ items:
+ format: uuid
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: tags
+ name: id__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: tags__isnull
+ name: last_updated
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: last_updated__gt
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: last_updated__gte
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: last_updated__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: tags__n
+ name: last_updated__lt
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: last_updated__lte
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: last_updated__n
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
+ - explode: true
+ in: query
+ name: name
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__ic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__ie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__iew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__ire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__isw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__nic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__nie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__niew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__nire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__nisw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__nre
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__re
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: The initial index from which to return the results.
+ explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: Search
+ explode: true
+ in: query
+ name: q
+ required: false
+ schema:
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: secrets
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: secrets__n
required: false
schema:
items:
type: string
type: array
style: form
+ - description: Which field to use when ordering the results.
+ explode: true
+ in: query
+ name: sort
+ required: false
+ schema:
+ type: string
+ style: form
- explode: true
in: query
name: teams
@@ -114099,14 +108777,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -114119,15 +108797,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedSecretList'
+ $ref: "#/components/schemas/PaginatedSecretsGroupList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedSecretList'
+ $ref: "#/components/schemas/PaginatedSecretsGroupList"
description: ""
security:
- cookieAuth: []
@@ -114135,27 +108822,28 @@ paths:
tags:
- extras
patch:
- description: "Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests."
- operationId: extras_secrets_bulk_partial_update
+ description: "Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH\
+ \ requests."
+ operationId: extras_secrets_groups_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableSecretRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableSecretsGroupRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableSecretRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableSecretsGroupRequest"
type: array
required: true
responses:
@@ -114164,12 +108852,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Secret'
+ $ref: "#/components/schemas/SecretsGroup"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Secret'
+ $ref: "#/components/schemas/SecretsGroup"
type: array
description: ""
security:
@@ -114178,34 +108866,35 @@ paths:
tags:
- extras
post:
- description: "Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests."
- operationId: extras_secrets_create
+ description: "Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH\
+ \ requests."
+ operationId: extras_secrets_groups_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/SecretRequest'
+ $ref: "#/components/schemas/SecretsGroupRequest"
text/csv:
schema:
- $ref: '#/components/schemas/SecretRequest'
+ $ref: "#/components/schemas/SecretsGroupRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Secret'
+ $ref: "#/components/schemas/SecretsGroup"
text/csv:
schema:
- $ref: '#/components/schemas/Secret'
+ $ref: "#/components/schemas/SecretsGroup"
description: ""
security:
- cookieAuth: []
@@ -114213,27 +108902,28 @@ paths:
tags:
- extras
put:
- description: "Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests."
- operationId: extras_secrets_bulk_update
+ description: "Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH\
+ \ requests."
+ operationId: extras_secrets_groups_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableSecretRequest'
+ $ref: "#/components/schemas/BulkWritableSecretsGroupRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableSecretRequest'
+ $ref: "#/components/schemas/BulkWritableSecretsGroupRequest"
type: array
required: true
responses:
@@ -114242,12 +108932,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Secret'
+ $ref: "#/components/schemas/SecretsGroup"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Secret'
+ $ref: "#/components/schemas/SecretsGroup"
type: array
description: ""
security:
@@ -114255,30 +108945,30 @@ paths:
- tokenAuth: []
tags:
- extras
- /extras/secrets-groups/:
+ /extras/secrets-groups-associations/:
delete:
- description: "Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH\
- \ requests."
- operationId: extras_secrets_groups_bulk_destroy
+ description: "Manage Secrets Group Associations through DELETE, GET, POST, PUT,\
+ \ and PATCH requests."
+ operationId: extras_secrets_groups_associations_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -114290,127 +108980,142 @@ paths:
tags:
- extras
get:
- description: "Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH\
- \ requests."
- operationId: extras_secrets_groups_list
+ description: "Manage Secrets Group Associations through DELETE, GET, POST, PUT,\
+ \ and PATCH requests."
+ operationId: extras_secrets_groups_associations_list
parameters:
- explode: true
in: query
- name: contacts
+ name: access_type
required: false
schema:
items:
type: string
type: array
style: form
- - description: Contacts (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: contacts__isnull
+ name: access_type__ic
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
- name: contacts__n
+ name: access_type__ie
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: created
+ name: access_type__iew
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__gt
+ name: access_type__ire
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__gte
+ name: access_type__isw
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__isnull
+ name: access_type__n
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: created__lt
+ name: access_type__nic
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__lte
+ name: access_type__nie
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__n
+ name: access_type__niew
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: dynamic_groups
+ name: access_type__nire
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
- name: dynamic_groups__n
+ name: access_type__nisw
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: access_type__nre
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: access_type__re
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -114426,7 +109131,7 @@ paths:
style: form
- explode: true
in: query
- name: id__ic
+ name: id__n
required: false
schema:
items:
@@ -114434,9 +109139,52 @@ paths:
type: string
type: array
style: form
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: The initial index from which to return the results.
+ explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: Search
+ explode: true
+ in: query
+ name: q
+ required: false
+ schema:
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: secret
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- explode: true
in: query
- name: id__ie
+ name: secret__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Secret (ID) - Deprecated (use secret filter)
+ explode: true
+ in: query
+ name: secret_id
required: false
schema:
items:
@@ -114444,9 +109192,10 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Exclude Secret (ID) - Deprecated (use secret filter)
+ explode: true
in: query
- name: id__iew
+ name: secret_id__n
required: false
schema:
items:
@@ -114456,87 +109205,2170 @@ paths:
style: form
- explode: true
in: query
- name: id__ire
+ name: secret_type
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: secret_type__ic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: secret_type__ie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: secret_type__iew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: secret_type__ire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: secret_type__isw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: secret_type__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: secret_type__nic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: secret_type__nie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: secret_type__niew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: secret_type__nire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: secret_type__nisw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: secret_type__nre
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: secret_type__re
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: secrets_group
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: secrets_group__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
+ - description: Which field to use when ordering the results.
+ explode: true
+ in: query
+ name: sort
+ required: false
+ schema:
+ type: string
+ style: form
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedSecretsGroupAssociationList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedSecretsGroupAssociationList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ patch:
+ description: "Manage Secrets Group Associations through DELETE, GET, POST, PUT,\
+ \ and PATCH requests."
+ operationId: extras_secrets_groups_associations_bulk_partial_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableSecretsGroupAssociationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableSecretsGroupAssociationRequest"
+ type: array
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/SecretsGroupAssociation"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/SecretsGroupAssociation"
+ type: array
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ post:
+ description: "Manage Secrets Group Associations through DELETE, GET, POST, PUT,\
+ \ and PATCH requests."
+ operationId: extras_secrets_groups_associations_create
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/SecretsGroupAssociationRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/SecretsGroupAssociationRequest"
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/SecretsGroupAssociation"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/SecretsGroupAssociation"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ put:
+ description: "Manage Secrets Group Associations through DELETE, GET, POST, PUT,\
+ \ and PATCH requests."
+ operationId: extras_secrets_groups_associations_bulk_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableSecretsGroupAssociationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableSecretsGroupAssociationRequest"
+ type: array
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/SecretsGroupAssociation"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/SecretsGroupAssociation"
+ type: array
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ /extras/secrets-groups-associations/{id}/:
+ delete:
+ description: "Manage Secrets Group Associations through DELETE, GET, POST, PUT,\
+ \ and PATCH requests."
+ operationId: extras_secrets_groups_associations_destroy
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this secrets group association.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ get:
+ description: "Manage Secrets Group Associations through DELETE, GET, POST, PUT,\
+ \ and PATCH requests."
+ operationId: extras_secrets_groups_associations_retrieve
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this secrets group association.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/SecretsGroupAssociation"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/SecretsGroupAssociation"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ patch:
+ description: "Manage Secrets Group Associations through DELETE, GET, POST, PUT,\
+ \ and PATCH requests."
+ operationId: extras_secrets_groups_associations_partial_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this secrets group association.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PatchedSecretsGroupAssociationRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PatchedSecretsGroupAssociationRequest"
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/SecretsGroupAssociation"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/SecretsGroupAssociation"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ put:
+ description: "Manage Secrets Group Associations through DELETE, GET, POST, PUT,\
+ \ and PATCH requests."
+ operationId: extras_secrets_groups_associations_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this secrets group association.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/SecretsGroupAssociationRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/SecretsGroupAssociationRequest"
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/SecretsGroupAssociation"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/SecretsGroupAssociation"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ /extras/secrets-groups/{id}/:
+ delete:
+ description: "Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH\
+ \ requests."
+ operationId: extras_secrets_groups_destroy
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this secrets group.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ get:
+ description: "Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH\
+ \ requests."
+ operationId: extras_secrets_groups_retrieve
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this secrets group.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/SecretsGroup"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/SecretsGroup"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ patch:
+ description: "Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH\
+ \ requests."
+ operationId: extras_secrets_groups_partial_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this secrets group.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PatchedSecretsGroupRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PatchedSecretsGroupRequest"
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/SecretsGroup"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/SecretsGroup"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ put:
+ description: "Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH\
+ \ requests."
+ operationId: extras_secrets_groups_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this secrets group.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/SecretsGroupRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/SecretsGroupRequest"
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/SecretsGroup"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/SecretsGroup"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ /extras/secrets-groups/{id}/notes/:
+ get:
+ description: API methods for returning or creating notes on an object.
+ operationId: extras_secrets_groups_notes_list
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this secrets group.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: The initial index from which to return the results.
+ explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ post:
+ description: API methods for returning or creating notes on an object.
+ operationId: extras_secrets_groups_notes_create
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this secrets group.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Note"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/Note"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ /extras/secrets/{id}/:
+ delete:
+ description: "Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests."
+ operationId: extras_secrets_destroy
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this secret.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ get:
+ description: "Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests."
+ operationId: extras_secrets_retrieve
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this secret.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Secret"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/Secret"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ patch:
+ description: "Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests."
+ operationId: extras_secrets_partial_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this secret.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PatchedSecretRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PatchedSecretRequest"
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Secret"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/Secret"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ put:
+ description: "Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests."
+ operationId: extras_secrets_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this secret.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/SecretRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/SecretRequest"
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Secret"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/Secret"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ /extras/secrets/{id}/check/:
+ get:
+ description: Check that a secret's value is accessible.
+ operationId: extras_secrets_check_retrieve
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this secret.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/extras_secrets_check_retrieve_200_response"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/extras_secrets_check_retrieve_200_response"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ /extras/secrets/{id}/notes/:
+ get:
+ description: API methods for returning or creating notes on an object.
+ operationId: extras_secrets_notes_list
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this secret.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: The initial index from which to return the results.
+ explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ post:
+ description: API methods for returning or creating notes on an object.
+ operationId: extras_secrets_notes_create
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this secret.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Note"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/Note"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ /extras/static-group-associations/:
+ delete:
+ description: "Manage Static Group Associations through DELETE, GET, POST, PUT,\
+ \ and PATCH requests."
+ operationId: extras_static_group_associations_bulk_destroy
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ required: true
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ get:
+ description: "Manage Static Group Associations through DELETE, GET, POST, PUT,\
+ \ and PATCH requests."
+ operationId: extras_static_group_associations_list
+ parameters:
+ - explode: true
+ in: query
+ name: associated_object_id
+ required: false
+ schema:
+ items:
+ format: uuid
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: associated_object_id__n
+ required: false
+ schema:
+ items:
+ format: uuid
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: associated_object_type
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: associated_object_type__n
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: created
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: created__gt
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: created__gte
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: created__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: created__lt
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: created__lte
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: created__n
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: dynamic_group
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: dynamic_group__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
+ in: query
+ name: id
+ required: false
+ schema:
+ items:
+ format: uuid
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: id__n
+ required: false
+ schema:
+ items:
+ format: uuid
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: last_updated
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: last_updated__gt
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: last_updated__gte
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: last_updated__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: last_updated__lt
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: last_updated__lte
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: last_updated__n
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: The initial index from which to return the results.
+ explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: Search
+ explode: true
+ in: query
+ name: q
+ required: false
+ schema:
+ type: string
+ style: form
+ - description: Which field to use when ordering the results.
+ explode: true
+ in: query
+ name: sort
+ required: false
+ schema:
+ type: string
+ style: form
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedStaticGroupAssociationList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedStaticGroupAssociationList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ patch:
+ description: "Manage Static Group Associations through DELETE, GET, POST, PUT,\
+ \ and PATCH requests."
+ operationId: extras_static_group_associations_bulk_partial_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableStaticGroupAssociationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableStaticGroupAssociationRequest"
+ type: array
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/StaticGroupAssociation"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/StaticGroupAssociation"
+ type: array
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ post:
+ description: "Manage Static Group Associations through DELETE, GET, POST, PUT,\
+ \ and PATCH requests."
+ operationId: extras_static_group_associations_create
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/StaticGroupAssociationRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/StaticGroupAssociationRequest"
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/StaticGroupAssociation"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/StaticGroupAssociation"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ put:
+ description: "Manage Static Group Associations through DELETE, GET, POST, PUT,\
+ \ and PATCH requests."
+ operationId: extras_static_group_associations_bulk_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableStaticGroupAssociationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableStaticGroupAssociationRequest"
+ type: array
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/StaticGroupAssociation"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/StaticGroupAssociation"
+ type: array
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ /extras/static-group-associations/{id}/:
+ delete:
+ description: "Manage Static Group Associations through DELETE, GET, POST, PUT,\
+ \ and PATCH requests."
+ operationId: extras_static_group_associations_destroy
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this static group association.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ get:
+ description: "Manage Static Group Associations through DELETE, GET, POST, PUT,\
+ \ and PATCH requests."
+ operationId: extras_static_group_associations_retrieve
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this static group association.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/StaticGroupAssociation"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/StaticGroupAssociation"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ patch:
+ description: "Manage Static Group Associations through DELETE, GET, POST, PUT,\
+ \ and PATCH requests."
+ operationId: extras_static_group_associations_partial_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this static group association.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PatchedStaticGroupAssociationRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PatchedStaticGroupAssociationRequest"
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/StaticGroupAssociation"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/StaticGroupAssociation"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ put:
+ description: "Manage Static Group Associations through DELETE, GET, POST, PUT,\
+ \ and PATCH requests."
+ operationId: extras_static_group_associations_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this static group association.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/StaticGroupAssociationRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/StaticGroupAssociationRequest"
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/StaticGroupAssociation"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/StaticGroupAssociation"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ /extras/static-group-associations/{id}/notes/:
+ get:
+ description: API methods for returning or creating notes on an object.
+ operationId: extras_static_group_associations_notes_list
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this static group association.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: The initial index from which to return the results.
+ explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ post:
+ description: API methods for returning or creating notes on an object.
+ operationId: extras_static_group_associations_notes_create
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this static group association.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Note"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/Note"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ /extras/statuses/:
+ delete:
+ description: View and manage custom status choices for objects with a `status`
+ field.
+ operationId: extras_statuses_bulk_destroy
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ required: true
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ get:
+ description: View and manage custom status choices for objects with a `status`
+ field.
+ operationId: extras_statuses_list
+ parameters:
+ - explode: true
+ in: query
+ name: color
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: color__ic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: color__ie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: color__iew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: color__ire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: color__isw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: color__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: color__nic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: color__nie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: color__niew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: color__nire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: color__nisw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: color__nre
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: color__re
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: contacts
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Contacts (name or ID) is null
+ explode: true
+ in: query
+ name: contacts__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: contacts__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: content_types
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: content_types__n
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: created
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: created__gt
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: created__gte
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: created__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: id__n
+ name: created__lt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__nic
+ name: created__lte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: created__n
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: dynamic_groups
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nire
+ name: dynamic_groups__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nisw
+ name: format
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - explode: true
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
in: query
- name: id__nre
+ name: id
required: false
schema:
items:
@@ -114546,7 +111378,7 @@ paths:
style: form
- explode: true
in: query
- name: id__re
+ name: id__n
required: false
schema:
items:
@@ -114796,14 +111628,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -114816,15 +111648,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedSecretsGroupList'
+ $ref: "#/components/schemas/PaginatedStatusList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedSecretsGroupList'
+ $ref: "#/components/schemas/PaginatedStatusList"
description: ""
security:
- cookieAuth: []
@@ -114832,28 +111673,28 @@ paths:
tags:
- extras
patch:
- description: "Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH\
- \ requests."
- operationId: extras_secrets_groups_bulk_partial_update
+ description: View and manage custom status choices for objects with a `status`
+ field.
+ operationId: extras_statuses_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableSecretsGroupRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableStatusRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableSecretsGroupRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableStatusRequest"
type: array
required: true
responses:
@@ -114862,12 +111703,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/SecretsGroup'
+ $ref: "#/components/schemas/Status"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/SecretsGroup'
+ $ref: "#/components/schemas/Status"
type: array
description: ""
security:
@@ -114876,35 +111717,35 @@ paths:
tags:
- extras
post:
- description: "Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH\
- \ requests."
- operationId: extras_secrets_groups_create
+ description: View and manage custom status choices for objects with a `status`
+ field.
+ operationId: extras_statuses_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/SecretsGroupRequest'
+ $ref: "#/components/schemas/StatusRequest"
text/csv:
schema:
- $ref: '#/components/schemas/SecretsGroupRequest'
+ $ref: "#/components/schemas/StatusRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/SecretsGroup'
+ $ref: "#/components/schemas/Status"
text/csv:
schema:
- $ref: '#/components/schemas/SecretsGroup'
+ $ref: "#/components/schemas/Status"
description: ""
security:
- cookieAuth: []
@@ -114912,28 +111753,28 @@ paths:
tags:
- extras
put:
- description: "Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH\
- \ requests."
- operationId: extras_secrets_groups_bulk_update
+ description: View and manage custom status choices for objects with a `status`
+ field.
+ operationId: extras_statuses_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableSecretsGroupRequest'
+ $ref: "#/components/schemas/BulkWritableStatusRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableSecretsGroupRequest'
+ $ref: "#/components/schemas/BulkWritableStatusRequest"
type: array
required: true
responses:
@@ -114942,12 +111783,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/SecretsGroup'
+ $ref: "#/components/schemas/Status"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/SecretsGroup'
+ $ref: "#/components/schemas/Status"
type: array
description: ""
security:
@@ -114955,30 +111796,320 @@ paths:
- tokenAuth: []
tags:
- extras
- /extras/secrets-groups-associations/:
+ /extras/statuses/{id}/:
delete:
- description: "Manage Secrets Group Associations through DELETE, GET, POST, PUT,\
- \ and PATCH requests."
- operationId: extras_secrets_groups_associations_bulk_destroy
+ description: View and manage custom status choices for objects with a `status`
+ field.
+ operationId: extras_statuses_destroy
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this status.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ get:
+ description: View and manage custom status choices for objects with a `status`
+ field.
+ operationId: extras_statuses_retrieve
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this status.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Status"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/Status"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ patch:
+ description: View and manage custom status choices for objects with a `status`
+ field.
+ operationId: extras_statuses_partial_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this status.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PatchedStatusRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PatchedStatusRequest"
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Status"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/Status"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ put:
+ description: View and manage custom status choices for objects with a `status`
+ field.
+ operationId: extras_statuses_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this status.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/StatusRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/StatusRequest"
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Status"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/Status"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ /extras/statuses/{id}/notes/:
+ get:
+ description: API methods for returning or creating notes on an object.
+ operationId: extras_statuses_notes_list
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this status.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: The initial index from which to return the results.
+ explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ post:
+ description: API methods for returning or creating notes on an object.
+ operationId: extras_statuses_notes_create
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this status.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Note"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/Note"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ /extras/tags/:
+ delete:
+ description: Destroy a list of tag objects.
+ operationId: extras_tags_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -114990,13 +112121,12 @@ paths:
tags:
- extras
get:
- description: "Manage Secrets Group Associations through DELETE, GET, POST, PUT,\
- \ and PATCH requests."
- operationId: extras_secrets_groups_associations_list
+ description: Retrieve a list of tag objects.
+ operationId: extras_tags_list
parameters:
- explode: true
in: query
- name: access_type
+ name: color
required: false
schema:
items:
@@ -115005,7 +112135,7 @@ paths:
style: form
- explode: true
in: query
- name: access_type__ic
+ name: color__ic
required: false
schema:
items:
@@ -115014,7 +112144,7 @@ paths:
style: form
- explode: true
in: query
- name: access_type__ie
+ name: color__ie
required: false
schema:
items:
@@ -115023,7 +112153,7 @@ paths:
style: form
- explode: true
in: query
- name: access_type__iew
+ name: color__iew
required: false
schema:
items:
@@ -115032,7 +112162,7 @@ paths:
style: form
- explode: true
in: query
- name: access_type__ire
+ name: color__ire
required: false
schema:
items:
@@ -115041,7 +112171,7 @@ paths:
style: form
- explode: true
in: query
- name: access_type__isw
+ name: color__isw
required: false
schema:
items:
@@ -115050,7 +112180,7 @@ paths:
style: form
- explode: true
in: query
- name: access_type__n
+ name: color__n
required: false
schema:
items:
@@ -115059,7 +112189,7 @@ paths:
style: form
- explode: true
in: query
- name: access_type__nic
+ name: color__nic
required: false
schema:
items:
@@ -115068,7 +112198,7 @@ paths:
style: form
- explode: true
in: query
- name: access_type__nie
+ name: color__nie
required: false
schema:
items:
@@ -115077,7 +112207,7 @@ paths:
style: form
- explode: true
in: query
- name: access_type__niew
+ name: color__niew
required: false
schema:
items:
@@ -115086,7 +112216,7 @@ paths:
style: form
- explode: true
in: query
- name: access_type__nire
+ name: color__nire
required: false
schema:
items:
@@ -115095,7 +112225,7 @@ paths:
style: form
- explode: true
in: query
- name: access_type__nisw
+ name: color__nisw
required: false
schema:
items:
@@ -115104,7 +112234,7 @@ paths:
style: form
- explode: true
in: query
- name: access_type__nre
+ name: color__nre
required: false
schema:
items:
@@ -115113,7 +112243,7 @@ paths:
style: form
- explode: true
in: query
- name: access_type__re
+ name: color__re
required: false
schema:
items:
@@ -115122,126 +112252,145 @@ paths:
style: form
- explode: true
in: query
- name: format
+ name: contacts
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
+ - description: Contacts (name or ID) is null
explode: true
in: query
- name: id
+ name: contacts__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: contacts__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ic
+ name: content_types
required: false
schema:
items:
- format: uuid
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: id__ie
+ name: content_types__n
required: false
schema:
items:
- format: uuid
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: created
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: created__gt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: created__gte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__n
+ name: created__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: created__lt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__nic
+ name: created__lte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: created__n
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: dynamic_groups
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nire
+ name: dynamic_groups__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nisw
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
+ in: query
+ name: id
required: false
schema:
items:
@@ -115251,7 +112400,7 @@ paths:
style: form
- explode: true
in: query
- name: id__nre
+ name: id__n
required: false
schema:
items:
@@ -115261,81 +112410,82 @@ paths:
style: form
- explode: true
in: query
- name: id__re
+ name: last_updated
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- - description: Number of results to return per page.
- explode: true
+ - explode: true
in: query
- name: limit
+ name: last_updated__gt
required: false
schema:
- type: integer
+ items:
+ format: date-time
+ type: string
+ type: array
style: form
- - description: The initial index from which to return the results.
- explode: true
+ - explode: true
in: query
- name: offset
+ name: last_updated__gte
required: false
schema:
- type: integer
+ items:
+ format: date-time
+ type: string
+ type: array
style: form
- - description: Search
- explode: true
+ - explode: true
in: query
- name: q
+ name: last_updated__isnull
required: false
schema:
- type: string
+ type: boolean
style: form
- explode: true
in: query
- name: secret
+ name: last_updated__lt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: secret__n
+ name: last_updated__lte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- - description: Secret (ID) - Deprecated (use secret filter)
- explode: true
+ - explode: true
in: query
- name: secret_id
+ name: last_updated__n
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- - description: Exclude Secret (ID) - Deprecated (use secret filter)
+ - description: Number of results to return per page.
explode: true
in: query
- name: secret_id__n
+ name: limit
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: integer
style: form
- explode: true
in: query
- name: secret_type
+ name: name
required: false
schema:
items:
@@ -115344,7 +112494,7 @@ paths:
style: form
- explode: true
in: query
- name: secret_type__ic
+ name: name__ic
required: false
schema:
items:
@@ -115353,7 +112503,7 @@ paths:
style: form
- explode: true
in: query
- name: secret_type__ie
+ name: name__ie
required: false
schema:
items:
@@ -115362,7 +112512,7 @@ paths:
style: form
- explode: true
in: query
- name: secret_type__iew
+ name: name__iew
required: false
schema:
items:
@@ -115371,7 +112521,7 @@ paths:
style: form
- explode: true
in: query
- name: secret_type__ire
+ name: name__ire
required: false
schema:
items:
@@ -115380,7 +112530,7 @@ paths:
style: form
- explode: true
in: query
- name: secret_type__isw
+ name: name__isw
required: false
schema:
items:
@@ -115389,7 +112539,7 @@ paths:
style: form
- explode: true
in: query
- name: secret_type__n
+ name: name__n
required: false
schema:
items:
@@ -115398,7 +112548,7 @@ paths:
style: form
- explode: true
in: query
- name: secret_type__nic
+ name: name__nic
required: false
schema:
items:
@@ -115407,7 +112557,7 @@ paths:
style: form
- explode: true
in: query
- name: secret_type__nie
+ name: name__nie
required: false
schema:
items:
@@ -115416,7 +112566,7 @@ paths:
style: form
- explode: true
in: query
- name: secret_type__niew
+ name: name__niew
required: false
schema:
items:
@@ -115425,7 +112575,7 @@ paths:
style: form
- explode: true
in: query
- name: secret_type__nire
+ name: name__nire
required: false
schema:
items:
@@ -115434,7 +112584,7 @@ paths:
style: form
- explode: true
in: query
- name: secret_type__nisw
+ name: name__nisw
required: false
schema:
items:
@@ -115443,7 +112593,7 @@ paths:
style: form
- explode: true
in: query
- name: secret_type__nre
+ name: name__nre
required: false
schema:
items:
@@ -115452,38 +112602,62 @@ paths:
style: form
- explode: true
in: query
- name: secret_type__re
+ name: name__re
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: The initial index from which to return the results.
+ explode: true
in: query
- name: secrets_group
+ name: offset
required: false
schema:
- items:
- type: string
- type: array
+ type: integer
+ style: form
+ - description: Search
+ explode: true
+ in: query
+ name: q
+ required: false
+ schema:
+ type: string
+ style: form
+ - description: Which field to use when ordering the results.
+ explode: true
+ in: query
+ name: sort
+ required: false
+ schema:
+ type: string
style: form
- explode: true
in: query
- name: secrets_group__n
+ name: teams
required: false
schema:
items:
type: string
type: array
style: form
- - description: Which field to use when ordering the results.
+ - description: Teams (name or ID) is null
explode: true
in: query
- name: sort
+ name: teams__isnull
required: false
schema:
- type: string
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: teams__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -115496,15 +112670,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedSecretsGroupAssociationList'
+ $ref: "#/components/schemas/PaginatedTagList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedSecretsGroupAssociationList'
+ $ref: "#/components/schemas/PaginatedTagList"
description: ""
security:
- cookieAuth: []
@@ -115512,28 +112695,27 @@ paths:
tags:
- extras
patch:
- description: "Manage Secrets Group Associations through DELETE, GET, POST, PUT,\
- \ and PATCH requests."
- operationId: extras_secrets_groups_associations_bulk_partial_update
+ description: Partial update a list of tag objects.
+ operationId: extras_tags_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableSecretsGroupAssociationRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableTagRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableSecretsGroupAssociationRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableTagRequest"
type: array
required: true
responses:
@@ -115542,12 +112724,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/SecretsGroupAssociation'
+ $ref: "#/components/schemas/Tag"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/SecretsGroupAssociation'
+ $ref: "#/components/schemas/Tag"
type: array
description: ""
security:
@@ -115556,35 +112738,34 @@ paths:
tags:
- extras
post:
- description: "Manage Secrets Group Associations through DELETE, GET, POST, PUT,\
- \ and PATCH requests."
- operationId: extras_secrets_groups_associations_create
+ description: Create one or more tag objects.
+ operationId: extras_tags_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/SecretsGroupAssociationRequest'
+ $ref: "#/components/schemas/TagRequest"
text/csv:
schema:
- $ref: '#/components/schemas/SecretsGroupAssociationRequest'
+ $ref: "#/components/schemas/TagRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/SecretsGroupAssociation'
+ $ref: "#/components/schemas/Tag"
text/csv:
schema:
- $ref: '#/components/schemas/SecretsGroupAssociation'
+ $ref: "#/components/schemas/Tag"
description: ""
security:
- cookieAuth: []
@@ -115592,28 +112773,27 @@ paths:
tags:
- extras
put:
- description: "Manage Secrets Group Associations through DELETE, GET, POST, PUT,\
- \ and PATCH requests."
- operationId: extras_secrets_groups_associations_bulk_update
+ description: Update a list of tag objects.
+ operationId: extras_tags_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableSecretsGroupAssociationRequest'
+ $ref: "#/components/schemas/BulkWritableTagRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableSecretsGroupAssociationRequest'
+ $ref: "#/components/schemas/BulkWritableTagRequest"
type: array
required: true
responses:
@@ -115622,12 +112802,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/SecretsGroupAssociation'
+ $ref: "#/components/schemas/Tag"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/SecretsGroupAssociation'
+ $ref: "#/components/schemas/Tag"
type: array
description: ""
security:
@@ -115635,186 +112815,19 @@ paths:
- tokenAuth: []
tags:
- extras
- /extras/secrets-groups-associations/{id}/:
- delete:
- description: "Manage Secrets Group Associations through DELETE, GET, POST, PUT,\
- \ and PATCH requests."
- operationId: extras_secrets_groups_associations_destroy
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this secrets group association.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- responses:
- "204":
- description: No response body
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - extras
- get:
- description: "Manage Secrets Group Associations through DELETE, GET, POST, PUT,\
- \ and PATCH requests."
- operationId: extras_secrets_groups_associations_retrieve
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this secrets group association.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
- style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/SecretsGroupAssociation'
- text/csv:
- schema:
- $ref: '#/components/schemas/SecretsGroupAssociation'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - extras
- patch:
- description: "Manage Secrets Group Associations through DELETE, GET, POST, PUT,\
- \ and PATCH requests."
- operationId: extras_secrets_groups_associations_partial_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this secrets group association.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PatchedSecretsGroupAssociationRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/PatchedSecretsGroupAssociationRequest'
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/SecretsGroupAssociation'
- text/csv:
- schema:
- $ref: '#/components/schemas/SecretsGroupAssociation'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - extras
- put:
- description: "Manage Secrets Group Associations through DELETE, GET, POST, PUT,\
- \ and PATCH requests."
- operationId: extras_secrets_groups_associations_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this secrets group association.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/SecretsGroupAssociationRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/SecretsGroupAssociationRequest'
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/SecretsGroupAssociation'
- text/csv:
- schema:
- $ref: '#/components/schemas/SecretsGroupAssociation'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - extras
- /extras/secrets-groups/{id}/:
+ /extras/tags/{id}/:
delete:
- description: "Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH\
- \ requests."
- operationId: extras_secrets_groups_destroy
+ description: Destroy a tag object.
+ operationId: extras_tags_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this secrets group.
+ - description: A UUID string identifying this tag.
explode: false
in: path
name: id
@@ -115832,154 +112845,17 @@ paths:
tags:
- extras
get:
- description: "Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH\
- \ requests."
- operationId: extras_secrets_groups_retrieve
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this secrets group.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
- style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/SecretsGroup'
- text/csv:
- schema:
- $ref: '#/components/schemas/SecretsGroup'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - extras
- patch:
- description: "Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH\
- \ requests."
- operationId: extras_secrets_groups_partial_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this secrets group.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PatchedSecretsGroupRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/PatchedSecretsGroupRequest'
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/SecretsGroup'
- text/csv:
- schema:
- $ref: '#/components/schemas/SecretsGroup'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - extras
- put:
- description: "Manage Secrets Groups through DELETE, GET, POST, PUT, and PATCH\
- \ requests."
- operationId: extras_secrets_groups_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this secrets group.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/SecretsGroupRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/SecretsGroupRequest'
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/SecretsGroup'
- text/csv:
- schema:
- $ref: '#/components/schemas/SecretsGroup'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - extras
- /extras/secrets-groups/{id}/notes/:
- get:
- description: API methods for returning or creating notes on an object.
- operationId: extras_secrets_groups_notes_list
+ description: Retrieve a tag object.
+ operationId: extras_tags_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this secrets group.
+ - description: A UUID string identifying this tag.
explode: false
in: path
name: id
@@ -115988,22 +112864,6 @@ paths:
format: uuid
type: string
style: simple
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- description: Serializer Depth
explode: true
in: query
@@ -116015,134 +112875,24 @@ paths:
minimum: 0
type: integer
style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - extras
- post:
- description: API methods for returning or creating notes on an object.
- operationId: extras_secrets_groups_notes_create
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this secrets group.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- required: true
- responses:
- "201":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Note'
- text/csv:
- schema:
- $ref: '#/components/schemas/Note'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - extras
- /extras/secrets/{id}/:
- delete:
- description: "Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests."
- operationId: extras_secrets_destroy
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this secret.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- responses:
- "204":
- description: No response body
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - extras
- get:
- description: "Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests."
- operationId: extras_secrets_retrieve
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this secret.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Serializer Depth
+ - description: Exclude many-to-many fields from the response
explode: true
in: query
- name: depth
+ name: exclude_m2m
required: false
schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
+ default: false
+ type: boolean
style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Secret'
+ $ref: "#/components/schemas/Tag"
text/csv:
schema:
- $ref: '#/components/schemas/Secret'
+ $ref: "#/components/schemas/Tag"
description: ""
security:
- cookieAuth: []
@@ -116150,60 +112900,17 @@ paths:
tags:
- extras
patch:
- description: "Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests."
- operationId: extras_secrets_partial_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this secret.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PatchedSecretRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/PatchedSecretRequest'
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Secret'
- text/csv:
- schema:
- $ref: '#/components/schemas/Secret'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - extras
- put:
- description: "Manage Secrets through DELETE, GET, POST, PUT, and PATCH requests."
- operationId: extras_secrets_update
+ description: Partial update a tag object.
+ operationId: extras_tags_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this secret.
+ - description: A UUID string identifying this tag.
explode: false
in: path
name: id
@@ -116216,39 +112923,37 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/SecretRequest'
+ $ref: "#/components/schemas/PatchedTagRequest"
text/csv:
schema:
- $ref: '#/components/schemas/SecretRequest'
- required: true
+ $ref: "#/components/schemas/PatchedTagRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Secret'
+ $ref: "#/components/schemas/Tag"
text/csv:
schema:
- $ref: '#/components/schemas/Secret'
+ $ref: "#/components/schemas/Tag"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- extras
- /extras/secrets/{id}/check/:
- get:
- description: Check that a secret's value is accessible.
- operationId: extras_secrets_check_retrieve
+ put:
+ description: Update a tag object.
+ operationId: extras_tags_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this secret.
+ - description: A UUID string identifying this tag.
explode: false
in: path
name: id
@@ -116257,45 +112962,43 @@ paths:
format: uuid
type: string
style: simple
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
- style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/TagRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/TagRequest"
+ required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/extras_secrets_check_retrieve_200_response'
+ $ref: "#/components/schemas/Tag"
text/csv:
schema:
- $ref: '#/components/schemas/extras_secrets_check_retrieve_200_response'
+ $ref: "#/components/schemas/Tag"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- extras
- /extras/secrets/{id}/notes/:
+ /extras/tags/{id}/notes/:
get:
description: API methods for returning or creating notes on an object.
- operationId: extras_secrets_notes_list
+ operationId: extras_tags_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this secret.
+ - description: A UUID string identifying this tag.
explode: false
in: path
name: id
@@ -116331,15 +113034,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -116348,16 +113060,16 @@ paths:
- extras
post:
description: API methods for returning or creating notes on an object.
- operationId: extras_secrets_notes_create
+ operationId: extras_tags_notes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this secret.
+ - description: A UUID string identifying this tag.
explode: false
in: path
name: id
@@ -116370,50 +113082,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- extras
- /extras/static-group-associations/:
+ /extras/teams/:
delete:
- description: "Manage Static Group Associations through DELETE, GET, POST, PUT,\
- \ and PATCH requests."
- operationId: extras_static_group_associations_bulk_destroy
+ description: Destroy a list of team objects.
+ operationId: extras_teams_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -116425,166 +113136,279 @@ paths:
tags:
- extras
get:
- description: "Manage Static Group Associations through DELETE, GET, POST, PUT,\
- \ and PATCH requests."
- operationId: extras_static_group_associations_list
+ description: Retrieve a list of team objects.
+ operationId: extras_teams_list
parameters:
- explode: true
in: query
- name: associated_object_id
+ name: address
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: associated_object_id__ic
+ name: address__ic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: address__ie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: associated_object_id__ie
+ name: address__iew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: associated_object_id__iew
+ name: address__ire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: associated_object_id__ire
+ name: address__isw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: associated_object_id__isw
+ name: address__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: associated_object_id__n
+ name: address__nic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: associated_object_id__nic
+ name: address__nie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: associated_object_id__nie
+ name: address__niew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: associated_object_id__niew
+ name: address__nire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: associated_object_id__nire
+ name: address__nisw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: associated_object_id__nisw
+ name: address__nre
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: associated_object_id__nre
+ name: address__re
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: comments
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: associated_object_id__re
+ name: comments__ic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: associated_object_type
+ name: comments__ie
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: associated_object_type__n
+ name: comments__iew
required: false
schema:
items:
- type: integer
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: comments__ire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: comments__isw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: comments__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: comments__nic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: comments__nie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: comments__niew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: comments__nire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: comments__nisw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: comments__nre
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: comments__re
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: contacts
+ required: false
+ schema:
+ items:
+ format: uuid
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: contacts__n
+ required: false
+ schema:
+ items:
+ format: uuid
+ type: string
type: array
style: form
- explode: true
@@ -116656,7 +113480,7 @@ paths:
style: form
- explode: true
in: query
- name: dynamic_group
+ name: dynamic_groups
required: false
schema:
items:
@@ -116665,7 +113489,7 @@ paths:
style: form
- explode: true
in: query
- name: dynamic_group__n
+ name: dynamic_groups__n
required: false
schema:
items:
@@ -116674,136 +113498,142 @@ paths:
style: form
- explode: true
in: query
- name: format
+ name: email
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
- explode: true
+ - explode: true
in: query
- name: id
+ name: email__ic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ic
+ name: email__ie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ie
+ name: email__iew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: email__ire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: email__isw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: email__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__n
+ name: email__nic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nic
+ name: email__nie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: email__niew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: email__nire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: email__nisw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nire
+ name: email__nre
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nisw
+ name: email__re
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nre
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
+ in: query
+ name: id
required: false
schema:
items:
@@ -116813,7 +113643,7 @@ paths:
style: form
- explode: true
in: query
- name: id__re
+ name: id__n
required: false
schema:
items:
@@ -116896,6 +113726,132 @@ paths:
schema:
type: integer
style: form
+ - explode: true
+ in: query
+ name: name
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__ic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__ie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__iew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__ire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__isw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__nic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__nie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__niew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__nire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__nisw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__nre
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__re
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- description: The initial index from which to return the results.
explode: true
in: query
@@ -116904,6 +113860,132 @@ paths:
schema:
type: integer
style: form
+ - explode: true
+ in: query
+ name: phone
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: phone__ic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: phone__ie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: phone__iew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: phone__ire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: phone__isw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: phone__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: phone__nic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: phone__nie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: phone__niew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: phone__nire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: phone__nisw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: phone__nre
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: phone__re
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- description: Search
explode: true
in: query
@@ -116912,6 +113994,15 @@ paths:
schema:
type: string
style: form
+ - explode: true
+ in: query
+ name: similar_to_location_data
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- description: Which field to use when ordering the results.
explode: true
in: query
@@ -116920,6 +114011,31 @@ paths:
schema:
type: string
style: form
+ - explode: true
+ in: query
+ name: tags
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: tags__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: tags__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- description: Serializer Depth
explode: true
in: query
@@ -116931,15 +114047,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedStaticGroupAssociationList'
+ $ref: "#/components/schemas/PaginatedTeamList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedStaticGroupAssociationList'
+ $ref: "#/components/schemas/PaginatedTeamList"
description: ""
security:
- cookieAuth: []
@@ -116947,28 +114072,27 @@ paths:
tags:
- extras
patch:
- description: "Manage Static Group Associations through DELETE, GET, POST, PUT,\
- \ and PATCH requests."
- operationId: extras_static_group_associations_bulk_partial_update
+ description: Partial update a list of team objects.
+ operationId: extras_teams_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableStaticGroupAssociationRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableTeamRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableStaticGroupAssociationRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableTeamRequest"
type: array
required: true
responses:
@@ -116977,12 +114101,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/StaticGroupAssociation'
+ $ref: "#/components/schemas/Team"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/StaticGroupAssociation'
+ $ref: "#/components/schemas/Team"
type: array
description: ""
security:
@@ -116991,35 +114115,34 @@ paths:
tags:
- extras
post:
- description: "Manage Static Group Associations through DELETE, GET, POST, PUT,\
- \ and PATCH requests."
- operationId: extras_static_group_associations_create
+ description: Create one or more team objects.
+ operationId: extras_teams_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/StaticGroupAssociationRequest'
+ $ref: "#/components/schemas/TeamRequest"
text/csv:
schema:
- $ref: '#/components/schemas/StaticGroupAssociationRequest'
+ $ref: "#/components/schemas/TeamRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/StaticGroupAssociation'
+ $ref: "#/components/schemas/Team"
text/csv:
schema:
- $ref: '#/components/schemas/StaticGroupAssociation'
+ $ref: "#/components/schemas/Team"
description: ""
security:
- cookieAuth: []
@@ -117027,28 +114150,27 @@ paths:
tags:
- extras
put:
- description: "Manage Static Group Associations through DELETE, GET, POST, PUT,\
- \ and PATCH requests."
- operationId: extras_static_group_associations_bulk_update
+ description: Update a list of team objects.
+ operationId: extras_teams_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableStaticGroupAssociationRequest'
+ $ref: "#/components/schemas/BulkWritableTeamRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableStaticGroupAssociationRequest'
+ $ref: "#/components/schemas/BulkWritableTeamRequest"
type: array
required: true
responses:
@@ -117057,12 +114179,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/StaticGroupAssociation'
+ $ref: "#/components/schemas/Team"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/StaticGroupAssociation'
+ $ref: "#/components/schemas/Team"
type: array
description: ""
security:
@@ -117070,20 +114192,19 @@ paths:
- tokenAuth: []
tags:
- extras
- /extras/static-group-associations/{id}/:
+ /extras/teams/{id}/:
delete:
- description: "Manage Static Group Associations through DELETE, GET, POST, PUT,\
- \ and PATCH requests."
- operationId: extras_static_group_associations_destroy
+ description: Destroy a team object.
+ operationId: extras_teams_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this static group association.
+ - description: A UUID string identifying this team.
explode: false
in: path
name: id
@@ -117101,18 +114222,17 @@ paths:
tags:
- extras
get:
- description: "Manage Static Group Associations through DELETE, GET, POST, PUT,\
- \ and PATCH requests."
- operationId: extras_static_group_associations_retrieve
+ description: Retrieve a team object.
+ operationId: extras_teams_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this static group association.
+ - description: A UUID string identifying this team.
explode: false
in: path
name: id
@@ -117132,15 +114252,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/StaticGroupAssociation'
+ $ref: "#/components/schemas/Team"
text/csv:
schema:
- $ref: '#/components/schemas/StaticGroupAssociation'
+ $ref: "#/components/schemas/Team"
description: ""
security:
- cookieAuth: []
@@ -117148,18 +114277,17 @@ paths:
tags:
- extras
patch:
- description: "Manage Static Group Associations through DELETE, GET, POST, PUT,\
- \ and PATCH requests."
- operationId: extras_static_group_associations_partial_update
+ description: Partial update a team object.
+ operationId: extras_teams_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this static group association.
+ - description: A UUID string identifying this team.
explode: false
in: path
name: id
@@ -117172,19 +114300,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedStaticGroupAssociationRequest'
+ $ref: "#/components/schemas/PatchedTeamRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedStaticGroupAssociationRequest'
+ $ref: "#/components/schemas/PatchedTeamRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/StaticGroupAssociation'
+ $ref: "#/components/schemas/Team"
text/csv:
schema:
- $ref: '#/components/schemas/StaticGroupAssociation'
+ $ref: "#/components/schemas/Team"
description: ""
security:
- cookieAuth: []
@@ -117192,18 +114320,17 @@ paths:
tags:
- extras
put:
- description: "Manage Static Group Associations through DELETE, GET, POST, PUT,\
- \ and PATCH requests."
- operationId: extras_static_group_associations_update
+ description: Update a team object.
+ operationId: extras_teams_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this static group association.
+ - description: A UUID string identifying this team.
explode: false
in: path
name: id
@@ -117216,39 +114343,39 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/StaticGroupAssociationRequest'
+ $ref: "#/components/schemas/TeamRequest"
text/csv:
schema:
- $ref: '#/components/schemas/StaticGroupAssociationRequest'
+ $ref: "#/components/schemas/TeamRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/StaticGroupAssociation'
+ $ref: "#/components/schemas/Team"
text/csv:
schema:
- $ref: '#/components/schemas/StaticGroupAssociation'
+ $ref: "#/components/schemas/Team"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- extras
- /extras/static-group-associations/{id}/notes/:
+ /extras/teams/{id}/notes/:
get:
description: API methods for returning or creating notes on an object.
- operationId: extras_static_group_associations_notes_list
+ operationId: extras_teams_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this static group association.
+ - description: A UUID string identifying this team.
explode: false
in: path
name: id
@@ -117284,15 +114411,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -117301,16 +114437,16 @@ paths:
- extras
post:
description: API methods for returning or creating notes on an object.
- operationId: extras_static_group_associations_notes_create
+ operationId: extras_teams_notes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this static group association.
+ - description: A UUID string identifying this team.
explode: false
in: path
name: id
@@ -117323,50 +114459,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- extras
- /extras/statuses/:
+ /extras/user-saved-view-associations/:
delete:
- description: View and manage custom status choices for objects with a `status`
- field.
- operationId: extras_statuses_bulk_destroy
+ description: Destroy a list of user saved view association objects.
+ operationId: extras_user_saved_view_associations_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -117378,49 +114513,77 @@ paths:
tags:
- extras
get:
- description: View and manage custom status choices for objects with a `status`
- field.
- operationId: extras_statuses_list
+ description: Retrieve a list of user saved view association objects.
+ operationId: extras_user_saved_view_associations_list
parameters:
- explode: true
in: query
- name: color
+ name: created
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: color__ic
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
+ in: query
+ name: id
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: color__ie
+ name: id__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: color__iew
+ name: last_updated
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: The initial index from which to return the results.
+ explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
- explode: true
in: query
- name: color__ire
+ name: saved_view
required: false
schema:
items:
@@ -117429,16 +114592,24 @@ paths:
style: form
- explode: true
in: query
- name: color__isw
+ name: saved_view__n
required: false
schema:
items:
type: string
type: array
style: form
+ - description: Which field to use when ordering the results.
+ explode: true
+ in: query
+ name: sort
+ required: false
+ schema:
+ type: string
+ style: form
- explode: true
in: query
- name: color__n
+ name: user
required: false
schema:
items:
@@ -117447,7 +114618,7 @@ paths:
style: form
- explode: true
in: query
- name: color__nic
+ name: user__n
required: false
schema:
items:
@@ -117456,7 +114627,7 @@ paths:
style: form
- explode: true
in: query
- name: color__nie
+ name: view_name
required: false
schema:
items:
@@ -117465,7 +114636,7 @@ paths:
style: form
- explode: true
in: query
- name: color__niew
+ name: view_name__ic
required: false
schema:
items:
@@ -117474,7 +114645,7 @@ paths:
style: form
- explode: true
in: query
- name: color__nire
+ name: view_name__ie
required: false
schema:
items:
@@ -117483,7 +114654,7 @@ paths:
style: form
- explode: true
in: query
- name: color__nisw
+ name: view_name__iew
required: false
schema:
items:
@@ -117492,7 +114663,7 @@ paths:
style: form
- explode: true
in: query
- name: color__nre
+ name: view_name__ire
required: false
schema:
items:
@@ -117501,7 +114672,7 @@ paths:
style: form
- explode: true
in: query
- name: color__re
+ name: view_name__isw
required: false
schema:
items:
@@ -117510,221 +114681,482 @@ paths:
style: form
- explode: true
in: query
- name: contacts
+ name: view_name__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Contacts (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: contacts__isnull
+ name: view_name__nic
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
- name: contacts__n
+ name: view_name__nie
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: content_types
+ name: view_name__niew
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: content_types__ic
+ name: view_name__nire
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: content_types__ie
+ name: view_name__nisw
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: content_types__iew
+ name: view_name__nre
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: content_types__ire
+ name: view_name__re
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- - explode: true
+ - description: Serializer Depth
+ explode: true
in: query
- name: content_types__isw
+ name: depth
required: false
schema:
- items:
- type: integer
- type: array
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
style: form
- - explode: true
+ - description: Exclude many-to-many fields from the response
+ explode: true
in: query
- name: content_types__n
+ name: exclude_m2m
required: false
schema:
- items:
- type: integer
- type: array
+ default: false
+ type: boolean
style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedUserSavedViewAssociationList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedUserSavedViewAssociationList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ patch:
+ description: Partial update a list of user saved view association objects.
+ operationId: extras_user_saved_view_associations_bulk_partial_update
+ parameters:
- explode: true
in: query
- name: content_types__nic
+ name: format
required: false
schema:
- items:
- type: integer
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableUserSavedViewAssociationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableUserSavedViewAssociationRequest"
+ type: array
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/UserSavedViewAssociation"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/UserSavedViewAssociation"
+ type: array
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ post:
+ description: Create one or more user saved view association objects.
+ operationId: extras_user_saved_view_associations_create
+ parameters:
- explode: true
in: query
- name: content_types__nie
+ name: format
required: false
schema:
- items:
- type: integer
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/UserSavedViewAssociationRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/UserSavedViewAssociationRequest"
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/UserSavedViewAssociation"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/UserSavedViewAssociation"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ put:
+ description: Update a list of user saved view association objects.
+ operationId: extras_user_saved_view_associations_bulk_update
+ parameters:
- explode: true
in: query
- name: content_types__niew
+ name: format
required: false
schema:
- items:
- type: integer
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableUserSavedViewAssociationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableUserSavedViewAssociationRequest"
+ type: array
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/UserSavedViewAssociation"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/UserSavedViewAssociation"
+ type: array
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ /extras/user-saved-view-associations/{id}/:
+ delete:
+ description: Destroy a user saved view association object.
+ operationId: extras_user_saved_view_associations_destroy
+ parameters:
- explode: true
in: query
- name: content_types__nire
+ name: format
required: false
schema:
- items:
- type: integer
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ - description: A UUID string identifying this user saved view association.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ get:
+ description: Retrieve a user saved view association object.
+ operationId: extras_user_saved_view_associations_retrieve
+ parameters:
- explode: true
in: query
- name: content_types__nisw
+ name: format
required: false
schema:
- items:
- type: integer
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - explode: true
+ - description: A UUID string identifying this user saved view association.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Serializer Depth
+ explode: true
in: query
- name: content_types__nre
+ name: depth
required: false
schema:
- items:
- type: integer
- type: array
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/UserSavedViewAssociation"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/UserSavedViewAssociation"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ patch:
+ description: Partial update a user saved view association object.
+ operationId: extras_user_saved_view_associations_partial_update
+ parameters:
- explode: true
in: query
- name: content_types__re
+ name: format
required: false
schema:
- items:
- type: integer
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ - description: A UUID string identifying this user saved view association.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PatchedUserSavedViewAssociationRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PatchedUserSavedViewAssociationRequest"
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/UserSavedViewAssociation"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/UserSavedViewAssociation"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ put:
+ description: Update a user saved view association object.
+ operationId: extras_user_saved_view_associations_update
+ parameters:
- explode: true
in: query
- name: created
+ name: format
required: false
schema:
- items:
- format: date-time
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ - description: A UUID string identifying this user saved view association.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/UserSavedViewAssociationRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/UserSavedViewAssociationRequest"
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/UserSavedViewAssociation"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/UserSavedViewAssociation"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ /extras/webhooks/:
+ delete:
+ description: "Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests."
+ operationId: extras_webhooks_bulk_destroy
+ parameters:
- explode: true
in: query
- name: created__gt
+ name: format
required: false
schema:
- items:
- format: date-time
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ required: true
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - extras
+ get:
+ description: "Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests."
+ operationId: extras_webhooks_list
+ parameters:
- explode: true
in: query
- name: created__gte
+ name: contacts
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - explode: true
+ - description: Contacts (name or ID) is null
+ explode: true
in: query
- name: created__isnull
+ name: contacts__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: created__lt
+ name: contacts__n
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__lte
+ name: content_types
required: false
schema:
items:
- format: date-time
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: created__n
+ name: content_types__n
required: false
schema:
items:
- format: date-time
- type: string
+ type: integer
type: array
style: form
- explode: true
@@ -117736,57 +115168,34 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
- in: query
- name: dynamic_groups__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
- explode: true
- in: query
- name: id
+ name: dynamic_groups__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ic
+ name: enabled
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: id__ie
+ name: format
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - explode: true
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
in: query
- name: id__iew
+ name: id
required: false
schema:
items:
@@ -117796,7 +115205,7 @@ paths:
style: form
- explode: true
in: query
- name: id__ire
+ name: id__n
required: false
schema:
items:
@@ -117804,174 +115213,151 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Number of results to return per page.
+ explode: true
in: query
- name: id__isw
+ name: limit
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: integer
style: form
- explode: true
in: query
- name: id__n
+ name: name
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nic
+ name: name__ic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: name__ie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: name__iew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nire
+ name: name__ire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nisw
+ name: name__isw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nre
+ name: name__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__re
+ name: name__nic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated
+ name: name__nie
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__gt
+ name: name__niew
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__gte
+ name: name__nire
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: last_updated__lt
+ name: name__nisw
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__lte
+ name: name__nre
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__n
+ name: name__re
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - description: Number of results to return per page.
+ - description: The initial index from which to return the results.
explode: true
in: query
- name: limit
+ name: offset
required: false
schema:
type: integer
style: form
- explode: true
in: query
- name: name
+ name: payload_url
required: false
schema:
items:
@@ -117980,7 +115366,7 @@ paths:
style: form
- explode: true
in: query
- name: name__ic
+ name: payload_url__ic
required: false
schema:
items:
@@ -117989,7 +115375,7 @@ paths:
style: form
- explode: true
in: query
- name: name__ie
+ name: payload_url__ie
required: false
schema:
items:
@@ -117998,7 +115384,7 @@ paths:
style: form
- explode: true
in: query
- name: name__iew
+ name: payload_url__iew
required: false
schema:
items:
@@ -118007,7 +115393,7 @@ paths:
style: form
- explode: true
in: query
- name: name__ire
+ name: payload_url__ire
required: false
schema:
items:
@@ -118016,7 +115402,7 @@ paths:
style: form
- explode: true
in: query
- name: name__isw
+ name: payload_url__isw
required: false
schema:
items:
@@ -118025,7 +115411,7 @@ paths:
style: form
- explode: true
in: query
- name: name__n
+ name: payload_url__n
required: false
schema:
items:
@@ -118034,7 +115420,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nic
+ name: payload_url__nic
required: false
schema:
items:
@@ -118043,7 +115429,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nie
+ name: payload_url__nie
required: false
schema:
items:
@@ -118052,7 +115438,7 @@ paths:
style: form
- explode: true
in: query
- name: name__niew
+ name: payload_url__niew
required: false
schema:
items:
@@ -118061,7 +115447,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nire
+ name: payload_url__nire
required: false
schema:
items:
@@ -118070,7 +115456,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nisw
+ name: payload_url__nisw
required: false
schema:
items:
@@ -118079,7 +115465,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nre
+ name: payload_url__nre
required: false
schema:
items:
@@ -118088,21 +115474,13 @@ paths:
style: form
- explode: true
in: query
- name: name__re
+ name: payload_url__re
required: false
schema:
items:
type: string
type: array
style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- description: Search
explode: true
in: query
@@ -118136,14 +115514,35 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: type_create
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: type_delete
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: type_update
+ required: false
+ schema:
+ type: boolean
style: form
- description: Serializer Depth
explode: true
@@ -118156,15 +115555,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedStatusList'
+ $ref: "#/components/schemas/PaginatedWebhookList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedStatusList'
+ $ref: "#/components/schemas/PaginatedWebhookList"
description: ""
security:
- cookieAuth: []
@@ -118172,28 +115580,27 @@ paths:
tags:
- extras
patch:
- description: View and manage custom status choices for objects with a `status`
- field.
- operationId: extras_statuses_bulk_partial_update
+ description: "Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests."
+ operationId: extras_webhooks_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableStatusRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableWebhookRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableStatusRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableWebhookRequest"
type: array
required: true
responses:
@@ -118202,12 +115609,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Status'
+ $ref: "#/components/schemas/Webhook"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Status'
+ $ref: "#/components/schemas/Webhook"
type: array
description: ""
security:
@@ -118216,35 +115623,34 @@ paths:
tags:
- extras
post:
- description: View and manage custom status choices for objects with a `status`
- field.
- operationId: extras_statuses_create
+ description: "Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests."
+ operationId: extras_webhooks_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/StatusRequest'
+ $ref: "#/components/schemas/WebhookRequest"
text/csv:
schema:
- $ref: '#/components/schemas/StatusRequest'
+ $ref: "#/components/schemas/WebhookRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Status'
+ $ref: "#/components/schemas/Webhook"
text/csv:
schema:
- $ref: '#/components/schemas/Status'
+ $ref: "#/components/schemas/Webhook"
description: ""
security:
- cookieAuth: []
@@ -118252,28 +115658,27 @@ paths:
tags:
- extras
put:
- description: View and manage custom status choices for objects with a `status`
- field.
- operationId: extras_statuses_bulk_update
+ description: "Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests."
+ operationId: extras_webhooks_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableStatusRequest'
+ $ref: "#/components/schemas/BulkWritableWebhookRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableStatusRequest'
+ $ref: "#/components/schemas/BulkWritableWebhookRequest"
type: array
required: true
responses:
@@ -118282,12 +115687,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Status'
+ $ref: "#/components/schemas/Webhook"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Status'
+ $ref: "#/components/schemas/Webhook"
type: array
description: ""
security:
@@ -118295,20 +115700,19 @@ paths:
- tokenAuth: []
tags:
- extras
- /extras/statuses/{id}/:
+ /extras/webhooks/{id}/:
delete:
- description: View and manage custom status choices for objects with a `status`
- field.
- operationId: extras_statuses_destroy
+ description: "Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests."
+ operationId: extras_webhooks_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this status.
+ - description: A UUID string identifying this webhook.
explode: false
in: path
name: id
@@ -118326,18 +115730,17 @@ paths:
tags:
- extras
get:
- description: View and manage custom status choices for objects with a `status`
- field.
- operationId: extras_statuses_retrieve
+ description: "Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests."
+ operationId: extras_webhooks_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this status.
+ - description: A UUID string identifying this webhook.
explode: false
in: path
name: id
@@ -118357,15 +115760,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Status'
+ $ref: "#/components/schemas/Webhook"
text/csv:
schema:
- $ref: '#/components/schemas/Status'
+ $ref: "#/components/schemas/Webhook"
description: ""
security:
- cookieAuth: []
@@ -118373,18 +115785,17 @@ paths:
tags:
- extras
patch:
- description: View and manage custom status choices for objects with a `status`
- field.
- operationId: extras_statuses_partial_update
+ description: "Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests."
+ operationId: extras_webhooks_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this status.
+ - description: A UUID string identifying this webhook.
explode: false
in: path
name: id
@@ -118397,19 +115808,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedStatusRequest'
+ $ref: "#/components/schemas/PatchedWebhookRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedStatusRequest'
+ $ref: "#/components/schemas/PatchedWebhookRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Status'
+ $ref: "#/components/schemas/Webhook"
text/csv:
schema:
- $ref: '#/components/schemas/Status'
+ $ref: "#/components/schemas/Webhook"
description: ""
security:
- cookieAuth: []
@@ -118417,18 +115828,17 @@ paths:
tags:
- extras
put:
- description: View and manage custom status choices for objects with a `status`
- field.
- operationId: extras_statuses_update
+ description: "Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests."
+ operationId: extras_webhooks_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this status.
+ - description: A UUID string identifying this webhook.
explode: false
in: path
name: id
@@ -118441,39 +115851,39 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/StatusRequest'
+ $ref: "#/components/schemas/WebhookRequest"
text/csv:
schema:
- $ref: '#/components/schemas/StatusRequest'
+ $ref: "#/components/schemas/WebhookRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Status'
+ $ref: "#/components/schemas/Webhook"
text/csv:
schema:
- $ref: '#/components/schemas/Status'
+ $ref: "#/components/schemas/Webhook"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- extras
- /extras/statuses/{id}/notes/:
+ /extras/webhooks/{id}/notes/:
get:
description: API methods for returning or creating notes on an object.
- operationId: extras_statuses_notes_list
+ operationId: extras_webhooks_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this status.
+ - description: A UUID string identifying this webhook.
explode: false
in: path
name: id
@@ -118509,15 +115919,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -118526,16 +115945,16 @@ paths:
- extras
post:
description: API methods for returning or creating notes on an object.
- operationId: extras_statuses_notes_create
+ operationId: extras_webhooks_notes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this status.
+ - description: A UUID string identifying this webhook.
explode: false
in: path
name: id
@@ -118548,49 +115967,94 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- extras
- /extras/tags/:
+ /graphql/:
+ post:
+ description: Query the database using a GraphQL query
+ operationId: graphql_create
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/GraphQLAPIRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/GraphQLAPIRequest"
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/graphql_create_200_response"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/graphql_create_200_response"
+ description: ""
+ "400":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/graphql_create_400_response"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/graphql_create_400_response"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - graphql
+ /ipam/ip-address-to-interface/:
delete:
- description: Destroy a list of tag objects.
- operationId: extras_tags_bulk_destroy
+ description: Destroy a list of IP Address Assignment objects.
+ operationId: ipam_ip_address_to_interface_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -118600,289 +116064,11 @@ paths:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
+ - ipam
get:
- description: Retrieve a list of tag objects.
- operationId: extras_tags_list
+ description: Retrieve a list of IP Address Assignment objects.
+ operationId: ipam_ip_address_to_interface_list
parameters:
- - explode: true
- in: query
- name: color
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: color__ic
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: color__ie
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: color__iew
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: color__ire
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: color__isw
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: color__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: color__nic
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: color__nie
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: color__niew
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: color__nire
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: color__nisw
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: color__nre
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: color__re
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: contacts
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Contacts (name or ID) is null
- explode: true
- in: query
- name: contacts__isnull
- required: false
- schema:
- type: boolean
- style: form
- - description: Exclude Contacts (name or ID)
- explode: true
- in: query
- name: contacts__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- - explode: true
- in: query
- name: content_types
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__ic
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__ie
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__iew
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__ire
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__isw
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__n
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__nic
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__nie
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__niew
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__nire
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__nisw
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__nre
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: content_types__re
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- explode: true
in: query
name: created
@@ -118893,87 +116079,12 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: created__gt
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: created__gte
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: created__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: created__lt
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: created__lte
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: created__n
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: dynamic_groups
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
- in: query
- name: dynamic_groups__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -118987,56 +116098,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -119049,47 +116110,34 @@ paths:
style: form
- explode: true
in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
+ name: interface
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Interface (name or ID) is null
+ explode: true
in: query
- name: id__niew
+ name: interface__isnull
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: id__nire
+ name: interface__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: IP Address (ID)
+ explode: true
in: query
- name: id__nisw
+ name: ip_address
required: false
schema:
items:
@@ -119097,9 +116145,10 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Exclude IP Address (ID)
+ explode: true
in: query
- name: id__nre
+ name: ip_address__n
required: false
schema:
items:
@@ -119109,74 +116158,56 @@ paths:
style: form
- explode: true
in: query
- name: id__re
+ name: is_default
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: last_updated
+ name: is_destination
required: false
schema:
- items:
- format: date-time
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: last_updated__gt
+ name: is_preferred
required: false
schema:
- items:
- format: date-time
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: last_updated__gte
+ name: is_primary
required: false
schema:
- items:
- format: date-time
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: last_updated__isnull
+ name: is_secondary
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: last_updated__lt
+ name: is_source
required: false
schema:
- items:
- format: date-time
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: last_updated__lte
+ name: is_standby
required: false
schema:
- items:
- format: date-time
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: last_updated__n
+ name: last_updated
required: false
schema:
items:
@@ -119192,132 +116223,6 @@ paths:
schema:
type: integer
style: form
- - explode: true
- in: query
- name: name
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__ic
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__ie
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__iew
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__ire
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__isw
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__nic
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__nie
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__niew
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__nire
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__nisw
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__nre
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__re
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- description: The initial index from which to return the results.
explode: true
in: query
@@ -119344,29 +116249,29 @@ paths:
style: form
- explode: true
in: query
- name: teams
+ name: vm_interface
required: false
schema:
items:
type: string
type: array
style: form
- - description: Teams (name or ID) is null
+ - description: VM Interface (name or ID) is null
explode: true
in: query
- name: teams__isnull
+ name: vm_interface__isnull
required: false
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
- name: teams__n
+ name: vm_interface__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -119379,43 +116284,52 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedTagList'
+ $ref: "#/components/schemas/PaginatedIPAddressToInterfaceList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedTagList'
+ $ref: "#/components/schemas/PaginatedIPAddressToInterfaceList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
+ - ipam
patch:
- description: Partial update a list of tag objects.
- operationId: extras_tags_bulk_partial_update
+ description: Partial update a list of IP Address Assignment objects.
+ operationId: ipam_ip_address_to_interface_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableTagRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableIPAddressToInterfaceRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableTagRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableIPAddressToInterfaceRequest"
type: array
required: true
responses:
@@ -119424,76 +116338,76 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Tag'
+ $ref: "#/components/schemas/IPAddressToInterface"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Tag'
+ $ref: "#/components/schemas/IPAddressToInterface"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
+ - ipam
post:
- description: Create one or more tag objects.
- operationId: extras_tags_create
+ description: Create one or more IP Address Assignment objects.
+ operationId: ipam_ip_address_to_interface_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/TagRequest'
+ $ref: "#/components/schemas/IPAddressToInterfaceRequest"
text/csv:
schema:
- $ref: '#/components/schemas/TagRequest'
+ $ref: "#/components/schemas/IPAddressToInterfaceRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Tag'
+ $ref: "#/components/schemas/IPAddressToInterface"
text/csv:
schema:
- $ref: '#/components/schemas/Tag'
+ $ref: "#/components/schemas/IPAddressToInterface"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
+ - ipam
put:
- description: Update a list of tag objects.
- operationId: extras_tags_bulk_update
+ description: Update a list of IP Address Assignment objects.
+ operationId: ipam_ip_address_to_interface_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableTagRequest'
+ $ref: "#/components/schemas/BulkWritableIPAddressToInterfaceRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableTagRequest'
+ $ref: "#/components/schemas/BulkWritableIPAddressToInterfaceRequest"
type: array
required: true
responses:
@@ -119502,32 +116416,32 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Tag'
+ $ref: "#/components/schemas/IPAddressToInterface"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Tag'
+ $ref: "#/components/schemas/IPAddressToInterface"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
- /extras/tags/{id}/:
+ - ipam
+ /ipam/ip-address-to-interface/{id}/:
delete:
- description: Destroy a tag object.
- operationId: extras_tags_destroy
+ description: Destroy a IP Address Assignment object.
+ operationId: ipam_ip_address_to_interface_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this tag.
+ - description: A UUID string identifying this IP Address Assignment.
explode: false
in: path
name: id
@@ -119543,19 +116457,19 @@ paths:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
+ - ipam
get:
- description: Retrieve a tag object.
- operationId: extras_tags_retrieve
+ description: Retrieve a IP Address Assignment object.
+ operationId: ipam_ip_address_to_interface_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this tag.
+ - description: A UUID string identifying this IP Address Assignment.
explode: false
in: path
name: id
@@ -119575,33 +116489,42 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Tag'
+ $ref: "#/components/schemas/IPAddressToInterface"
text/csv:
schema:
- $ref: '#/components/schemas/Tag'
+ $ref: "#/components/schemas/IPAddressToInterface"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
+ - ipam
patch:
- description: Partial update a tag object.
- operationId: extras_tags_partial_update
+ description: Partial update a IP Address Assignment object.
+ operationId: ipam_ip_address_to_interface_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this tag.
+ - description: A UUID string identifying this IP Address Assignment.
explode: false
in: path
name: id
@@ -119614,37 +116537,37 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedTagRequest'
+ $ref: "#/components/schemas/PatchedIPAddressToInterfaceRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedTagRequest'
+ $ref: "#/components/schemas/PatchedIPAddressToInterfaceRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Tag'
+ $ref: "#/components/schemas/IPAddressToInterface"
text/csv:
schema:
- $ref: '#/components/schemas/Tag'
+ $ref: "#/components/schemas/IPAddressToInterface"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
+ - ipam
put:
- description: Update a tag object.
- operationId: extras_tags_update
+ description: Update a IP Address Assignment object.
+ operationId: ipam_ip_address_to_interface_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this tag.
+ - description: A UUID string identifying this IP Address Assignment.
explode: false
in: path
name: id
@@ -119657,39 +116580,39 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/TagRequest'
+ $ref: "#/components/schemas/IPAddressToInterfaceRequest"
text/csv:
schema:
- $ref: '#/components/schemas/TagRequest'
+ $ref: "#/components/schemas/IPAddressToInterfaceRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Tag'
+ $ref: "#/components/schemas/IPAddressToInterface"
text/csv:
schema:
- $ref: '#/components/schemas/Tag'
+ $ref: "#/components/schemas/IPAddressToInterface"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
- /extras/tags/{id}/notes/:
+ - ipam
+ /ipam/ip-address-to-interface/{id}/notes/:
get:
description: API methods for returning or creating notes on an object.
- operationId: extras_tags_notes_list
+ operationId: ipam_ip_address_to_interface_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this tag.
+ - description: A UUID string identifying this IP Address Assignment.
explode: false
in: path
name: id
@@ -119725,33 +116648,42 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
+ - ipam
post:
description: API methods for returning or creating notes on an object.
- operationId: extras_tags_notes_create
+ operationId: ipam_ip_address_to_interface_notes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this tag.
+ - description: A UUID string identifying this IP Address Assignment.
explode: false
in: path
name: id
@@ -119764,49 +116696,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
- /extras/teams/:
+ - ipam
+ /ipam/ip-addresses/:
delete:
- description: Destroy a list of team objects.
- operationId: extras_teams_bulk_destroy
+ description: Destroy a list of IP address objects.
+ operationId: ipam_ip_addresses_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -119816,12 +116748,13 @@ paths:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
+ - ipam
get:
- description: Retrieve a list of team objects.
- operationId: extras_teams_list
+ description: Retrieve a list of IP address objects.
+ operationId: ipam_ip_addresses_list
parameters:
- - explode: true
+ - description: Address
+ explode: true
in: query
name: address
required: false
@@ -119832,52 +116765,24 @@ paths:
style: form
- explode: true
in: query
- name: address__ic
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: address__ie
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: address__iew
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: address__ire
+ name: contacts
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Contacts (name or ID) is null
+ explode: true
in: query
- name: address__isw
+ name: contacts__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: address__n
+ name: contacts__n
required: false
schema:
items:
@@ -119886,70 +116791,74 @@ paths:
style: form
- explode: true
in: query
- name: address__nic
+ name: created
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: address__nie
+ name: created__gt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: address__niew
+ name: created__gte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: address__nire
+ name: created__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: address__nisw
+ name: created__lt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: address__nre
+ name: created__lte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: address__re
+ name: created__n
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: comments
+ name: description
required: false
schema:
items:
@@ -119958,7 +116867,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__ic
+ name: description__ic
required: false
schema:
items:
@@ -119967,7 +116876,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__ie
+ name: description__ie
required: false
schema:
items:
@@ -119976,7 +116885,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__iew
+ name: description__iew
required: false
schema:
items:
@@ -119985,7 +116894,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__ire
+ name: description__ire
required: false
schema:
items:
@@ -119994,7 +116903,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__isw
+ name: description__isw
required: false
schema:
items:
@@ -120003,7 +116912,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__n
+ name: description__n
required: false
schema:
items:
@@ -120012,7 +116921,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__nic
+ name: description__nic
required: false
schema:
items:
@@ -120021,7 +116930,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__nie
+ name: description__nie
required: false
schema:
items:
@@ -120030,7 +116939,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__niew
+ name: description__niew
required: false
schema:
items:
@@ -120039,7 +116948,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__nire
+ name: description__nire
required: false
schema:
items:
@@ -120048,7 +116957,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__nisw
+ name: description__nisw
required: false
schema:
items:
@@ -120057,7 +116966,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__nre
+ name: description__nre
required: false
schema:
items:
@@ -120066,26 +116975,27 @@ paths:
style: form
- explode: true
in: query
- name: comments__re
+ name: description__re
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Device (name)
+ explode: true
in: query
- name: contacts
+ name: device
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Device (ID)
+ explode: true
in: query
- name: contacts__n
+ name: device_id
required: false
schema:
items:
@@ -120095,92 +117005,43 @@ paths:
style: form
- explode: true
in: query
- name: created
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: created__gt
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: created__gte
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: created__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: created__lt
+ name: dns_name
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__lte
+ name: dns_name__ic
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__n
+ name: dns_name__ie
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: dynamic_groups
+ name: dns_name__iew
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
- in: query
- name: dynamic_groups__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
- name: email
+ name: dns_name__ire
required: false
schema:
items:
@@ -120189,7 +117050,7 @@ paths:
style: form
- explode: true
in: query
- name: email__ic
+ name: dns_name__isw
required: false
schema:
items:
@@ -120198,7 +117059,7 @@ paths:
style: form
- explode: true
in: query
- name: email__ie
+ name: dns_name__n
required: false
schema:
items:
@@ -120207,7 +117068,7 @@ paths:
style: form
- explode: true
in: query
- name: email__iew
+ name: dns_name__nic
required: false
schema:
items:
@@ -120216,7 +117077,7 @@ paths:
style: form
- explode: true
in: query
- name: email__ire
+ name: dns_name__nie
required: false
schema:
items:
@@ -120225,7 +117086,7 @@ paths:
style: form
- explode: true
in: query
- name: email__isw
+ name: dns_name__niew
required: false
schema:
items:
@@ -120234,7 +117095,7 @@ paths:
style: form
- explode: true
in: query
- name: email__n
+ name: dns_name__nire
required: false
schema:
items:
@@ -120243,7 +117104,7 @@ paths:
style: form
- explode: true
in: query
- name: email__nic
+ name: dns_name__nisw
required: false
schema:
items:
@@ -120252,7 +117113,7 @@ paths:
style: form
- explode: true
in: query
- name: email__nie
+ name: dns_name__nre
required: false
schema:
items:
@@ -120261,7 +117122,7 @@ paths:
style: form
- explode: true
in: query
- name: email__niew
+ name: dns_name__re
required: false
schema:
items:
@@ -120270,7 +117131,7 @@ paths:
style: form
- explode: true
in: query
- name: email__nire
+ name: dynamic_groups
required: false
schema:
items:
@@ -120279,7 +117140,7 @@ paths:
style: form
- explode: true
in: query
- name: email__nisw
+ name: dynamic_groups__n
required: false
schema:
items:
@@ -120288,28 +117149,26 @@ paths:
style: form
- explode: true
in: query
- name: email__nre
+ name: format
required: false
schema:
- items:
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - explode: true
+ - description: Has Interface Assignments
+ explode: true
in: query
- name: email__re
+ name: has_interface_assignments
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: Has NAT Inside
+ explode: true
in: query
- name: format
+ name: has_nat_inside
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ type: boolean
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -120323,56 +117182,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -120385,73 +117194,36 @@ paths:
style: form
- explode: true
in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
+ name: interfaces
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Interfaces (ID or name) is null
+ explode: true
in: query
- name: id__nisw
+ name: interfaces__isnull
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: id__nre
+ name: interfaces__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__re
+ name: ip_version
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: integer
style: form
- explode: true
in: query
@@ -120530,88 +117302,61 @@ paths:
style: form
- explode: true
in: query
- name: name
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__ic
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__ie
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__iew
+ name: mask_length
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: name__ire
+ name: mask_length__gt
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: name__isw
+ name: mask_length__gte
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: name__n
+ name: mask_length__lt
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: name__nic
+ name: mask_length__lte
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: name__nie
+ name: mask_length__n
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: name__niew
+ name: namespace
required: false
schema:
items:
@@ -120620,37 +117365,39 @@ paths:
style: form
- explode: true
in: query
- name: name__nire
+ name: namespace__n
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: NAT (Inside)
+ explode: true
in: query
- name: name__nisw
+ name: nat_inside
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: name__nre
+ name: nat_inside__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: NAT (Inside)
+ explode: true
in: query
- name: name__re
+ name: nat_inside__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
@@ -120662,131 +117409,64 @@ paths:
schema:
type: integer
style: form
- - explode: true
- in: query
- name: phone
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: phone__ic
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: phone__ie
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: phone__iew
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: phone__ire
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: phone__isw
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: phone__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: phone__nic
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
+ - description: Parent prefix
+ explode: true
in: query
- name: phone__nie
+ name: parent
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Parent prefix is null
+ explode: true
in: query
- name: phone__niew
+ name: parent__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: Exclude Parent prefix
+ explode: true
in: query
- name: phone__nire
+ name: parent__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Contained in prefix
+ explode: true
in: query
- name: phone__nisw
+ name: prefix
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: VRF (RD)
+ explode: true
in: query
- name: phone__nre
+ name: present_in_vrf
required: false
schema:
- items:
- type: string
- type: array
+ nullable: true
+ title: Route distinguisher
+ type: string
style: form
- - explode: true
+ - description: VRF (ID)
+ explode: true
in: query
- name: phone__re
+ name: present_in_vrf_id
required: false
schema:
- items:
- type: string
- type: array
+ format: uuid
+ type: string
style: form
- description: Search
explode: true
@@ -120798,687 +117478,203 @@ paths:
style: form
- explode: true
in: query
- name: similar_to_location_data
+ name: role
required: false
schema:
items:
type: string
type: array
style: form
- - description: Which field to use when ordering the results.
+ - description: Role (name or ID) is null
explode: true
in: query
- name: sort
- required: false
- schema:
- type: string
- style: form
- - explode: true
- in: query
- name: tags
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: tags__isnull
+ name: role__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: tags__n
+ name: role__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
- style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedTeamList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedTeamList'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - extras
- patch:
- description: Partial update a list of team objects.
- operationId: extras_teams_bulk_partial_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- requestBody:
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/PatchedBulkWritableTeamRequest'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/PatchedBulkWritableTeamRequest'
- type: array
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/Team'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/Team'
- type: array
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - extras
- post:
- description: Create one or more team objects.
- operationId: extras_teams_create
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/TeamRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/TeamRequest'
- required: true
- responses:
- "201":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Team'
- text/csv:
- schema:
- $ref: '#/components/schemas/Team'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - extras
- put:
- description: Update a list of team objects.
- operationId: extras_teams_bulk_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- requestBody:
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/BulkWritableTeamRequest'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/BulkWritableTeamRequest'
- type: array
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/Team'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/Team'
- type: array
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - extras
- /extras/teams/{id}/:
- delete:
- description: Destroy a team object.
- operationId: extras_teams_destroy
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this team.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- responses:
- "204":
- description: No response body
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - extras
- get:
- description: Retrieve a team object.
- operationId: extras_teams_retrieve
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this team.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
- style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Team'
- text/csv:
- schema:
- $ref: '#/components/schemas/Team'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - extras
- patch:
- description: Partial update a team object.
- operationId: extras_teams_partial_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this team.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PatchedTeamRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/PatchedTeamRequest'
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Team'
- text/csv:
- schema:
- $ref: '#/components/schemas/Team'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - extras
- put:
- description: Update a team object.
- operationId: extras_teams_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this team.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/TeamRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/TeamRequest'
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Team'
- text/csv:
- schema:
- $ref: '#/components/schemas/Team'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - extras
- /extras/teams/{id}/notes/:
- get:
- description: API methods for returning or creating notes on an object.
- operationId: extras_teams_notes_list
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this team.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- - description: Serializer Depth
+ - description: Which field to use when ordering the results.
explode: true
in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
- style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - extras
- post:
- description: API methods for returning or creating notes on an object.
- operationId: extras_teams_notes_create
- parameters:
- - explode: true
- in: query
- name: format
+ name: sort
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this team.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- required: true
- responses:
- "201":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Note'
- text/csv:
- schema:
- $ref: '#/components/schemas/Note'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - extras
- /extras/user-saved-view-associations/:
- delete:
- description: Destroy a list of user saved view association objects.
- operationId: extras_user_saved_view_associations_bulk_destroy
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
style: form
- requestBody:
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/BulkOperationRequest'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/BulkOperationRequest'
- type: array
- required: true
- responses:
- "204":
- description: No response body
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - extras
- get:
- description: Retrieve a list of user saved view association objects.
- operationId: extras_user_saved_view_associations_list
- parameters:
- explode: true
in: query
- name: created
+ name: status
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
- explode: true
- in: query
- name: id
+ name: status__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ic
+ name: tags
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ie
+ name: tags__isnull
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: id__iew
+ name: tags__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: teams
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Teams (name or ID) is null
+ explode: true
in: query
- name: id__isw
+ name: teams__isnull
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: id__n
+ name: teams__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nic
+ name: tenant
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Tenant (name or ID) is null
+ explode: true
in: query
- name: id__nie
+ name: tenant__isnull
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: id__niew
+ name: tenant__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nire
+ name: tenant_group
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Tenant Group (name or ID) is null
+ explode: true
in: query
- name: id__nisw
+ name: tenant_group__isnull
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: id__nre
+ name: tenant_group__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead)"
+ explode: true
in: query
- name: id__re
+ name: tenant_id
required: false
schema:
items:
format: uuid
+ nullable: true
type: string
type: array
style: form
- - explode: true
+ - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead) is null"
+ explode: true
in: query
- name: last_updated
+ name: tenant_id__isnull
required: false
schema:
- items:
- format: date-time
- type: string
- type: array
+ type: boolean
style: form
- - description: Number of results to return per page.
+ - description: "Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead)"
explode: true
in: query
- name: limit
+ name: tenant_id__n
required: false
schema:
- type: integer
+ items:
+ format: uuid
+ nullable: true
+ type: string
+ type: array
style: form
- - description: The initial index from which to return the results.
- explode: true
+ - explode: true
in: query
- name: offset
+ name: type
required: false
schema:
- type: integer
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: saved_view
+ name: type__ic
required: false
schema:
items:
@@ -121487,24 +117683,25 @@ paths:
style: form
- explode: true
in: query
- name: saved_view__n
+ name: type__ie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Which field to use when ordering the results.
- explode: true
+ - explode: true
in: query
- name: sort
+ name: type__iew
required: false
schema:
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: user
+ name: type__ire
required: false
schema:
items:
@@ -121513,7 +117710,7 @@ paths:
style: form
- explode: true
in: query
- name: user__n
+ name: type__isw
required: false
schema:
items:
@@ -121522,7 +117719,7 @@ paths:
style: form
- explode: true
in: query
- name: view_name
+ name: type__n
required: false
schema:
items:
@@ -121531,7 +117728,7 @@ paths:
style: form
- explode: true
in: query
- name: view_name__ic
+ name: type__nic
required: false
schema:
items:
@@ -121540,7 +117737,7 @@ paths:
style: form
- explode: true
in: query
- name: view_name__ie
+ name: type__nie
required: false
schema:
items:
@@ -121549,7 +117746,7 @@ paths:
style: form
- explode: true
in: query
- name: view_name__iew
+ name: type__niew
required: false
schema:
items:
@@ -121558,7 +117755,7 @@ paths:
style: form
- explode: true
in: query
- name: view_name__ire
+ name: type__nire
required: false
schema:
items:
@@ -121567,7 +117764,7 @@ paths:
style: form
- explode: true
in: query
- name: view_name__isw
+ name: type__nisw
required: false
schema:
items:
@@ -121576,7 +117773,7 @@ paths:
style: form
- explode: true
in: query
- name: view_name__n
+ name: type__nre
required: false
schema:
items:
@@ -121585,43 +117782,54 @@ paths:
style: form
- explode: true
in: query
- name: view_name__nic
+ name: type__re
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Virtual machine (name)
+ explode: true
in: query
- name: view_name__nie
+ name: virtual_machine
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Virtual machine (ID)
+ explode: true
in: query
- name: view_name__niew
+ name: virtual_machine_id
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: view_name__nire
+ name: vm_interfaces
required: false
schema:
items:
type: string
type: array
style: form
+ - description: VM interfaces (ID or name) is null
+ explode: true
+ in: query
+ name: vm_interfaces__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: view_name__nisw
+ name: vm_interfaces__n
required: false
schema:
items:
@@ -121630,16 +117838,24 @@ paths:
style: form
- explode: true
in: query
- name: view_name__nre
+ name: vrfs
required: false
schema:
items:
type: string
type: array
style: form
+ - description: VRF (ID or RD) is null
+ explode: true
+ in: query
+ name: vrfs__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: view_name__re
+ name: vrfs__n
required: false
schema:
items:
@@ -121657,43 +117873,52 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedUserSavedViewAssociationList'
+ $ref: "#/components/schemas/PaginatedIPAddressList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedUserSavedViewAssociationList'
+ $ref: "#/components/schemas/PaginatedIPAddressList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
+ - ipam
patch:
- description: Partial update a list of user saved view association objects.
- operationId: extras_user_saved_view_associations_bulk_partial_update
+ description: Partial update a list of IP address objects.
+ operationId: ipam_ip_addresses_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableUserSavedViewAssociationRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableIPAddressRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableUserSavedViewAssociationRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableIPAddressRequest"
type: array
required: true
responses:
@@ -121702,76 +117927,76 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/UserSavedViewAssociation'
+ $ref: "#/components/schemas/IPAddress"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/UserSavedViewAssociation'
+ $ref: "#/components/schemas/IPAddress"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
+ - ipam
post:
- description: Create one or more user saved view association objects.
- operationId: extras_user_saved_view_associations_create
+ description: Create one or more IP address objects.
+ operationId: ipam_ip_addresses_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/UserSavedViewAssociationRequest'
+ $ref: "#/components/schemas/IPAddressRequest"
text/csv:
schema:
- $ref: '#/components/schemas/UserSavedViewAssociationRequest'
+ $ref: "#/components/schemas/IPAddressRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/UserSavedViewAssociation'
+ $ref: "#/components/schemas/IPAddress"
text/csv:
schema:
- $ref: '#/components/schemas/UserSavedViewAssociation'
+ $ref: "#/components/schemas/IPAddress"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
+ - ipam
put:
- description: Update a list of user saved view association objects.
- operationId: extras_user_saved_view_associations_bulk_update
+ description: Update a list of IP address objects.
+ operationId: ipam_ip_addresses_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableUserSavedViewAssociationRequest'
+ $ref: "#/components/schemas/BulkWritableIPAddressRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableUserSavedViewAssociationRequest'
+ $ref: "#/components/schemas/BulkWritableIPAddressRequest"
type: array
required: true
responses:
@@ -121780,32 +118005,32 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/UserSavedViewAssociation'
+ $ref: "#/components/schemas/IPAddress"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/UserSavedViewAssociation'
+ $ref: "#/components/schemas/IPAddress"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
- /extras/user-saved-view-associations/{id}/:
+ - ipam
+ /ipam/ip-addresses/{id}/:
delete:
- description: Destroy a user saved view association object.
- operationId: extras_user_saved_view_associations_destroy
+ description: Destroy a IP address object.
+ operationId: ipam_ip_addresses_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this user saved view association.
+ - description: A UUID string identifying this IP address.
explode: false
in: path
name: id
@@ -121821,19 +118046,19 @@ paths:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
+ - ipam
get:
- description: Retrieve a user saved view association object.
- operationId: extras_user_saved_view_associations_retrieve
+ description: Retrieve a IP address object.
+ operationId: ipam_ip_addresses_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this user saved view association.
+ - description: A UUID string identifying this IP address.
explode: false
in: path
name: id
@@ -121853,33 +118078,42 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/UserSavedViewAssociation'
+ $ref: "#/components/schemas/IPAddress"
text/csv:
schema:
- $ref: '#/components/schemas/UserSavedViewAssociation'
+ $ref: "#/components/schemas/IPAddress"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
+ - ipam
patch:
- description: Partial update a user saved view association object.
- operationId: extras_user_saved_view_associations_partial_update
+ description: Partial update a IP address object.
+ operationId: ipam_ip_addresses_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this user saved view association.
+ - description: A UUID string identifying this IP address.
explode: false
in: path
name: id
@@ -121892,37 +118126,37 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedUserSavedViewAssociationRequest'
+ $ref: "#/components/schemas/PatchedIPAddressRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedUserSavedViewAssociationRequest'
+ $ref: "#/components/schemas/PatchedIPAddressRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/UserSavedViewAssociation'
+ $ref: "#/components/schemas/IPAddress"
text/csv:
schema:
- $ref: '#/components/schemas/UserSavedViewAssociation'
+ $ref: "#/components/schemas/IPAddress"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
+ - ipam
put:
- description: Update a user saved view association object.
- operationId: extras_user_saved_view_associations_update
+ description: Update a IP address object.
+ operationId: ipam_ip_addresses_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this user saved view association.
+ - description: A UUID string identifying this IP address.
explode: false
in: path
name: id
@@ -121935,534 +118169,555 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/UserSavedViewAssociationRequest'
+ $ref: "#/components/schemas/IPAddressRequest"
text/csv:
schema:
- $ref: '#/components/schemas/UserSavedViewAssociationRequest'
+ $ref: "#/components/schemas/IPAddressRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/UserSavedViewAssociation'
+ $ref: "#/components/schemas/IPAddress"
text/csv:
schema:
- $ref: '#/components/schemas/UserSavedViewAssociation'
+ $ref: "#/components/schemas/IPAddress"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
- /extras/webhooks/:
- delete:
- description: "Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests."
- operationId: extras_webhooks_bulk_destroy
+ - ipam
+ /ipam/ip-addresses/{id}/notes/:
+ get:
+ description: API methods for returning or creating notes on an object.
+ operationId: ipam_ip_addresses_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- requestBody:
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/BulkOperationRequest'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/BulkOperationRequest'
- type: array
+ - description: A UUID string identifying this IP address.
+ explode: false
+ in: path
+ name: id
required: true
- responses:
- "204":
- description: No response body
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - extras
- get:
- description: "Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests."
- operationId: extras_webhooks_list
- parameters:
- - explode: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Number of results to return per page.
+ explode: true
in: query
- name: contacts
+ name: limit
required: false
schema:
- items:
- type: string
- type: array
+ type: integer
style: form
- - description: Contacts (name or ID) is null
+ - description: The initial index from which to return the results.
explode: true
in: query
- name: contacts__isnull
+ name: offset
required: false
schema:
- type: boolean
+ type: integer
style: form
- - description: Exclude Contacts (name or ID)
+ - description: Serializer Depth
explode: true
in: query
- name: contacts__n
+ name: depth
required: false
schema:
- format: uuid
- type: string
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
style: form
- - explode: true
+ - description: Exclude many-to-many fields from the response
+ explode: true
in: query
- name: content_types
+ name: exclude_m2m
required: false
schema:
- items:
- type: integer
- type: array
+ default: false
+ type: boolean
style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - ipam
+ post:
+ description: API methods for returning or creating notes on an object.
+ operationId: ipam_ip_addresses_notes_create
+ parameters:
- explode: true
in: query
- name: content_types__ic
+ name: format
required: false
schema:
- items:
- type: integer
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ - description: A UUID string identifying this IP address.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Note"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/Note"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - ipam
+ /ipam/namespaces/:
+ delete:
+ description: Destroy a list of namespace objects.
+ operationId: ipam_namespaces_bulk_destroy
+ parameters:
- explode: true
in: query
- name: content_types__ie
+ name: format
required: false
schema:
- items:
- type: integer
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ required: true
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - ipam
+ get:
+ description: Retrieve a list of namespace objects.
+ operationId: ipam_namespaces_list
+ parameters:
- explode: true
in: query
- name: content_types__iew
+ name: contacts
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- - explode: true
+ - description: Contacts (name or ID) is null
+ explode: true
in: query
- name: content_types__ire
+ name: contacts__isnull
required: false
schema:
- items:
- type: integer
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: content_types__isw
+ name: contacts__n
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: content_types__n
+ name: created
required: false
schema:
items:
- type: integer
+ format: date-time
+ type: string
type: array
style: form
- explode: true
in: query
- name: content_types__nic
+ name: created__gt
required: false
schema:
items:
- type: integer
+ format: date-time
+ type: string
type: array
style: form
- explode: true
in: query
- name: content_types__nie
+ name: created__gte
required: false
schema:
items:
- type: integer
+ format: date-time
+ type: string
type: array
style: form
- explode: true
in: query
- name: content_types__niew
+ name: created__isnull
required: false
schema:
- items:
- type: integer
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: content_types__nire
+ name: created__lt
required: false
schema:
items:
- type: integer
+ format: date-time
+ type: string
type: array
style: form
- explode: true
in: query
- name: content_types__nisw
+ name: created__lte
required: false
schema:
items:
- type: integer
+ format: date-time
+ type: string
type: array
style: form
- explode: true
in: query
- name: content_types__nre
+ name: created__n
required: false
schema:
items:
- type: integer
+ format: date-time
+ type: string
type: array
style: form
- explode: true
in: query
- name: content_types__re
+ name: description
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: dynamic_groups
+ name: description__ic
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
- in: query
- name: dynamic_groups__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- - explode: true
- in: query
- name: enabled
- required: false
- schema:
- type: boolean
- style: form
- explode: true
in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
- explode: true
- in: query
- name: id
+ name: description__ie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ic
+ name: description__iew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ie
+ name: description__ire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: description__isw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: description__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: description__nic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__n
+ name: description__nie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nic
+ name: description__niew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: description__nire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: description__nisw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nire
+ name: description__nre
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nisw
+ name: description__re
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nre
+ name: dynamic_groups
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__re
+ name: dynamic_groups__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - description: Number of results to return per page.
- explode: true
+ - explode: true
in: query
- name: limit
+ name: format
required: false
schema:
- type: integer
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - explode: true
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
in: query
- name: name
+ name: id
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: name__ic
+ name: id__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: name__ie
+ name: last_updated
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: name__iew
+ name: last_updated__gt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: name__ire
+ name: last_updated__gte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: name__isw
+ name: last_updated__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: name__n
+ name: last_updated__lt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: name__nic
+ name: last_updated__lte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: name__nie
+ name: last_updated__n
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- - explode: true
+ - description: Number of results to return per page.
+ explode: true
in: query
- name: name__niew
+ name: limit
required: false
schema:
- items:
- type: string
- type: array
+ type: integer
style: form
- explode: true
in: query
- name: name__nire
+ name: location
required: false
schema:
- items:
- type: string
- type: array
+ format: uuid
+ type: string
style: form
- explode: true
in: query
- name: name__nisw
+ name: location__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: name__nre
+ name: location__n
required: false
schema:
- items:
- type: string
- type: array
+ format: uuid
+ type: string
style: form
- explode: true
in: query
- name: name__re
+ name: name
required: false
schema:
items:
type: string
type: array
style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- explode: true
in: query
- name: payload_url
+ name: name__ic
required: false
schema:
items:
@@ -122471,7 +118726,7 @@ paths:
style: form
- explode: true
in: query
- name: payload_url__ic
+ name: name__ie
required: false
schema:
items:
@@ -122480,7 +118735,7 @@ paths:
style: form
- explode: true
in: query
- name: payload_url__ie
+ name: name__iew
required: false
schema:
items:
@@ -122489,7 +118744,7 @@ paths:
style: form
- explode: true
in: query
- name: payload_url__iew
+ name: name__ire
required: false
schema:
items:
@@ -122498,7 +118753,7 @@ paths:
style: form
- explode: true
in: query
- name: payload_url__ire
+ name: name__isw
required: false
schema:
items:
@@ -122507,7 +118762,7 @@ paths:
style: form
- explode: true
in: query
- name: payload_url__isw
+ name: name__n
required: false
schema:
items:
@@ -122516,7 +118771,7 @@ paths:
style: form
- explode: true
in: query
- name: payload_url__n
+ name: name__nic
required: false
schema:
items:
@@ -122525,7 +118780,7 @@ paths:
style: form
- explode: true
in: query
- name: payload_url__nic
+ name: name__nie
required: false
schema:
items:
@@ -122534,7 +118789,7 @@ paths:
style: form
- explode: true
in: query
- name: payload_url__nie
+ name: name__niew
required: false
schema:
items:
@@ -122543,7 +118798,7 @@ paths:
style: form
- explode: true
in: query
- name: payload_url__niew
+ name: name__nire
required: false
schema:
items:
@@ -122552,7 +118807,7 @@ paths:
style: form
- explode: true
in: query
- name: payload_url__nire
+ name: name__nisw
required: false
schema:
items:
@@ -122561,7 +118816,7 @@ paths:
style: form
- explode: true
in: query
- name: payload_url__nisw
+ name: name__nre
required: false
schema:
items:
@@ -122570,21 +118825,20 @@ paths:
style: form
- explode: true
in: query
- name: payload_url__nre
+ name: name__re
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: The initial index from which to return the results.
+ explode: true
in: query
- name: payload_url__re
+ name: offset
required: false
schema:
- items:
- type: string
- type: array
+ type: integer
style: form
- description: Search
explode: true
@@ -122604,50 +118858,54 @@ paths:
style: form
- explode: true
in: query
- name: teams
+ name: tags
required: false
schema:
items:
type: string
type: array
style: form
- - description: Teams (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: teams__isnull
+ name: tags__isnull
required: false
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
- name: teams__n
+ name: tags__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: type_create
+ name: teams
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- - explode: true
+ - description: Teams (name or ID) is null
+ explode: true
in: query
- name: type_delete
+ name: teams__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: type_update
+ name: teams__n
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -122660,43 +118918,52 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedWebhookList'
+ $ref: "#/components/schemas/PaginatedNamespaceList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedWebhookList'
+ $ref: "#/components/schemas/PaginatedNamespaceList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
+ - ipam
patch:
- description: "Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests."
- operationId: extras_webhooks_bulk_partial_update
+ description: Partial update a list of namespace objects.
+ operationId: ipam_namespaces_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableWebhookRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableNamespaceRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableWebhookRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableNamespaceRequest"
type: array
required: true
responses:
@@ -122705,76 +118972,76 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Webhook'
+ $ref: "#/components/schemas/Namespace"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Webhook'
+ $ref: "#/components/schemas/Namespace"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
+ - ipam
post:
- description: "Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests."
- operationId: extras_webhooks_create
+ description: Create one or more namespace objects.
+ operationId: ipam_namespaces_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/WebhookRequest'
+ $ref: "#/components/schemas/NamespaceRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WebhookRequest'
+ $ref: "#/components/schemas/NamespaceRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Webhook'
+ $ref: "#/components/schemas/Namespace"
text/csv:
schema:
- $ref: '#/components/schemas/Webhook'
+ $ref: "#/components/schemas/Namespace"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
+ - ipam
put:
- description: "Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests."
- operationId: extras_webhooks_bulk_update
+ description: Update a list of namespace objects.
+ operationId: ipam_namespaces_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableWebhookRequest'
+ $ref: "#/components/schemas/BulkWritableNamespaceRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableWebhookRequest'
+ $ref: "#/components/schemas/BulkWritableNamespaceRequest"
type: array
required: true
responses:
@@ -122783,32 +119050,32 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Webhook'
+ $ref: "#/components/schemas/Namespace"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Webhook'
+ $ref: "#/components/schemas/Namespace"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
- /extras/webhooks/{id}/:
+ - ipam
+ /ipam/namespaces/{id}/:
delete:
- description: "Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests."
- operationId: extras_webhooks_destroy
+ description: Destroy a namespace object.
+ operationId: ipam_namespaces_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this webhook.
+ - description: A UUID string identifying this namespace.
explode: false
in: path
name: id
@@ -122824,19 +119091,19 @@ paths:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
+ - ipam
get:
- description: "Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests."
- operationId: extras_webhooks_retrieve
+ description: Retrieve a namespace object.
+ operationId: ipam_namespaces_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this webhook.
+ - description: A UUID string identifying this namespace.
explode: false
in: path
name: id
@@ -122856,33 +119123,42 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Webhook'
+ $ref: "#/components/schemas/Namespace"
text/csv:
schema:
- $ref: '#/components/schemas/Webhook'
+ $ref: "#/components/schemas/Namespace"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
+ - ipam
patch:
- description: "Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests."
- operationId: extras_webhooks_partial_update
+ description: Partial update a namespace object.
+ operationId: ipam_namespaces_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this webhook.
+ - description: A UUID string identifying this namespace.
explode: false
in: path
name: id
@@ -122895,37 +119171,37 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedWebhookRequest'
+ $ref: "#/components/schemas/PatchedNamespaceRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedWebhookRequest'
+ $ref: "#/components/schemas/PatchedNamespaceRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Webhook'
+ $ref: "#/components/schemas/Namespace"
text/csv:
schema:
- $ref: '#/components/schemas/Webhook'
+ $ref: "#/components/schemas/Namespace"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
+ - ipam
put:
- description: "Manage Webhooks through DELETE, GET, POST, PUT, and PATCH requests."
- operationId: extras_webhooks_update
+ description: Update a namespace object.
+ operationId: ipam_namespaces_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this webhook.
+ - description: A UUID string identifying this namespace.
explode: false
in: path
name: id
@@ -122938,39 +119214,39 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/WebhookRequest'
+ $ref: "#/components/schemas/NamespaceRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WebhookRequest'
+ $ref: "#/components/schemas/NamespaceRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Webhook'
+ $ref: "#/components/schemas/Namespace"
text/csv:
schema:
- $ref: '#/components/schemas/Webhook'
+ $ref: "#/components/schemas/Namespace"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
- /extras/webhooks/{id}/notes/:
+ - ipam
+ /ipam/namespaces/{id}/notes/:
get:
description: API methods for returning or creating notes on an object.
- operationId: extras_webhooks_notes_list
+ operationId: ipam_namespaces_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this webhook.
+ - description: A UUID string identifying this namespace.
explode: false
in: path
name: id
@@ -123006,33 +119282,42 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - extras
+ - ipam
post:
description: API methods for returning or creating notes on an object.
- operationId: extras_webhooks_notes_create
+ operationId: ipam_namespaces_notes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this webhook.
+ - description: A UUID string identifying this namespace.
explode: false
in: path
name: id
@@ -123045,94 +119330,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
- text/csv:
- schema:
- $ref: '#/components/schemas/Note'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - extras
- /graphql/:
- post:
- description: Query the database using a GraphQL query
- operationId: graphql_create
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/GraphQLAPIRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/GraphQLAPIRequest'
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/graphql_create_200_response'
- text/csv:
- schema:
- $ref: '#/components/schemas/graphql_create_200_response'
- description: ""
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/graphql_create_400_response'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/graphql_create_400_response'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - graphql
- /ipam/ip-address-to-interface/:
+ - ipam
+ /ipam/prefix-location-assignments/:
delete:
- description: Destroy a list of IP Address Assignment objects.
- operationId: ipam_ip_address_to_interface_bulk_destroy
+ description: Destroy a list of prefix location assignment objects.
+ operationId: ipam_prefix_location_assignments_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -123144,8 +119384,8 @@ paths:
tags:
- ipam
get:
- description: Retrieve a list of IP Address Assignment objects.
- operationId: ipam_ip_address_to_interface_list
+ description: Retrieve a list of prefix location assignment objects.
+ operationId: ipam_prefix_location_assignments_list
parameters:
- explode: true
in: query
@@ -123162,7 +119402,7 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -123176,56 +119416,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -123238,197 +119428,66 @@ paths:
style: form
- explode: true
in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
+ name: last_updated
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- - explode: true
+ - description: Number of results to return per page.
+ explode: true
in: query
- name: id__nre
+ name: limit
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: integer
style: form
- explode: true
in: query
- name: id__re
+ name: location
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: interface
+ name: location__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Interface (name or ID) is null
+ - description: The initial index from which to return the results.
explode: true
in: query
- name: interface__isnull
+ name: offset
required: false
schema:
- type: boolean
+ type: integer
style: form
- explode: true
in: query
- name: interface__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: IP Address (ID)
- explode: true
- in: query
- name: ip_address
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude IP Address (ID)
- explode: true
- in: query
- name: ip_address__n
+ name: prefix
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: is_default
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: is_destination
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: is_preferred
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: is_primary
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: is_secondary
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: is_source
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: is_standby
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: last_updated
+ name: prefix__n
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- description: Search
explode: true
in: query
@@ -123445,32 +119504,6 @@ paths:
schema:
type: string
style: form
- - explode: true
- in: query
- name: vm_interface
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: VM Interface (name or ID) is null
- explode: true
- in: query
- name: vm_interface__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: vm_interface__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- description: Serializer Depth
explode: true
in: query
@@ -123482,15 +119515,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedIPAddressToInterfaceList'
+ $ref: "#/components/schemas/PaginatedPrefixLocationAssignmentList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedIPAddressToInterfaceList'
+ $ref: "#/components/schemas/PaginatedPrefixLocationAssignmentList"
description: ""
security:
- cookieAuth: []
@@ -123498,27 +119540,27 @@ paths:
tags:
- ipam
patch:
- description: Partial update a list of IP Address Assignment objects.
- operationId: ipam_ip_address_to_interface_bulk_partial_update
+ description: Partial update a list of prefix location assignment objects.
+ operationId: ipam_prefix_location_assignments_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableIPAddressToInterfaceRequest'
+ $ref: "#/components/schemas/PatchedBulkWritablePrefixLocationAssignmentRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableIPAddressToInterfaceRequest'
+ $ref: "#/components/schemas/PatchedBulkWritablePrefixLocationAssignmentRequest"
type: array
required: true
responses:
@@ -123527,12 +119569,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/IPAddressToInterface'
+ $ref: "#/components/schemas/PrefixLocationAssignment"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/IPAddressToInterface'
+ $ref: "#/components/schemas/PrefixLocationAssignment"
type: array
description: ""
security:
@@ -123541,213 +119583,96 @@ paths:
tags:
- ipam
post:
- description: Create one or more IP Address Assignment objects.
- operationId: ipam_ip_address_to_interface_create
+ description: Create one or more prefix location assignment objects.
+ operationId: ipam_prefix_location_assignments_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/IPAddressToInterfaceRequest'
+ $ref: "#/components/schemas/PrefixLocationAssignmentRequest"
text/csv:
schema:
- $ref: '#/components/schemas/IPAddressToInterfaceRequest'
+ $ref: "#/components/schemas/PrefixLocationAssignmentRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/IPAddressToInterface'
- text/csv:
- schema:
- $ref: '#/components/schemas/IPAddressToInterface'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - ipam
- put:
- description: Update a list of IP Address Assignment objects.
- operationId: ipam_ip_address_to_interface_bulk_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- requestBody:
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/BulkWritableIPAddressToInterfaceRequest'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/BulkWritableIPAddressToInterfaceRequest'
- type: array
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/IPAddressToInterface'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/IPAddressToInterface'
- type: array
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - ipam
- /ipam/ip-address-to-interface/{id}/:
- delete:
- description: Destroy a IP Address Assignment object.
- operationId: ipam_ip_address_to_interface_destroy
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this IP Address Assignment.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- responses:
- "204":
- description: No response body
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - ipam
- get:
- description: Retrieve a IP Address Assignment object.
- operationId: ipam_ip_address_to_interface_retrieve
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this IP Address Assignment.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
- style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/IPAddressToInterface'
+ $ref: "#/components/schemas/PrefixLocationAssignment"
text/csv:
schema:
- $ref: '#/components/schemas/IPAddressToInterface'
+ $ref: "#/components/schemas/PrefixLocationAssignment"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- ipam
- patch:
- description: Partial update a IP Address Assignment object.
- operationId: ipam_ip_address_to_interface_partial_update
+ put:
+ description: Update a list of prefix location assignment objects.
+ operationId: ipam_prefix_location_assignments_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this IP Address Assignment.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedIPAddressToInterfaceRequest'
+ items:
+ $ref: "#/components/schemas/BulkWritablePrefixLocationAssignmentRequest"
+ type: array
text/csv:
schema:
- $ref: '#/components/schemas/PatchedIPAddressToInterfaceRequest'
+ items:
+ $ref: "#/components/schemas/BulkWritablePrefixLocationAssignmentRequest"
+ type: array
+ required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/IPAddressToInterface'
+ items:
+ $ref: "#/components/schemas/PrefixLocationAssignment"
+ type: array
text/csv:
schema:
- $ref: '#/components/schemas/IPAddressToInterface'
+ items:
+ $ref: "#/components/schemas/PrefixLocationAssignment"
+ type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- ipam
- put:
- description: Update a IP Address Assignment object.
- operationId: ipam_ip_address_to_interface_update
+ /ipam/prefix-location-assignments/{id}/:
+ delete:
+ description: Destroy a prefix location assignment object.
+ operationId: ipam_prefix_location_assignments_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this IP Address Assignment.
+ - description: A UUID string identifying this prefix location assignment.
explode: false
in: path
name: id
@@ -123756,43 +119681,26 @@ paths:
format: uuid
type: string
style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/IPAddressToInterfaceRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/IPAddressToInterfaceRequest'
- required: true
responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/IPAddressToInterface'
- text/csv:
- schema:
- $ref: '#/components/schemas/IPAddressToInterface'
- description: ""
+ "204":
+ description: No response body
security:
- cookieAuth: []
- tokenAuth: []
tags:
- ipam
- /ipam/ip-address-to-interface/{id}/notes/:
get:
- description: API methods for returning or creating notes on an object.
- operationId: ipam_ip_address_to_interface_notes_list
+ description: Retrieve a prefix location assignment object.
+ operationId: ipam_prefix_location_assignments_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this IP Address Assignment.
+ - description: A UUID string identifying this prefix location assignment.
explode: false
in: path
name: id
@@ -123801,60 +119709,96 @@ paths:
format: uuid
type: string
style: simple
- - description: Number of results to return per page.
+ - description: Serializer Depth
explode: true
in: query
- name: limit
+ name: depth
required: false
schema:
+ default: 1
+ maximum: 10
+ minimum: 0
type: integer
style: form
- - description: The initial index from which to return the results.
+ - description: Exclude many-to-many fields from the response
explode: true
in: query
- name: offset
+ name: exclude_m2m
required: false
schema:
- type: integer
+ default: false
+ type: boolean
style: form
- - description: Serializer Depth
- explode: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PrefixLocationAssignment"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PrefixLocationAssignment"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - ipam
+ patch:
+ description: Partial update a prefix location assignment object.
+ operationId: ipam_prefix_location_assignments_partial_update
+ parameters:
+ - explode: true
in: query
- name: depth
+ name: format
required: false
schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ - description: A UUID string identifying this prefix location assignment.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PatchedPrefixLocationAssignmentRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PatchedPrefixLocationAssignmentRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PrefixLocationAssignment"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PrefixLocationAssignment"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- ipam
- post:
- description: API methods for returning or creating notes on an object.
- operationId: ipam_ip_address_to_interface_notes_create
+ put:
+ description: Update a prefix location assignment object.
+ operationId: ipam_prefix_location_assignments_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this IP Address Assignment.
+ - description: A UUID string identifying this prefix location assignment.
explode: false
in: path
name: id
@@ -123867,49 +119811,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/PrefixLocationAssignmentRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/PrefixLocationAssignmentRequest"
required: true
responses:
- "201":
+ "200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/PrefixLocationAssignment"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/PrefixLocationAssignment"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- ipam
- /ipam/ip-addresses/:
+ /ipam/prefixes/:
delete:
- description: Destroy a list of IP address objects.
- operationId: ipam_ip_addresses_bulk_destroy
+ description: Destroy a list of prefix objects.
+ operationId: ipam_prefixes_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -123921,105 +119865,74 @@ paths:
tags:
- ipam
get:
- description: Retrieve a list of IP address objects.
- operationId: ipam_ip_addresses_list
+ description: Retrieve a list of prefix objects.
+ operationId: ipam_prefixes_list
parameters:
- - description: Address
- explode: true
- in: query
- name: address
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- explode: true
in: query
- name: contacts
+ name: cloud_networks
required: false
schema:
items:
type: string
type: array
style: form
- - description: Contacts (name or ID) is null
+ - description: Cloud Network (name or ID) is null
explode: true
in: query
- name: contacts__isnull
+ name: cloud_networks__isnull
required: false
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
- in: query
- name: contacts__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- - explode: true
- in: query
- name: created
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- explode: true
in: query
- name: created__gt
+ name: cloud_networks__n
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__gte
+ name: contacts
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - explode: true
+ - description: Contacts (name or ID) is null
+ explode: true
in: query
- name: created__isnull
+ name: contacts__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: created__lt
+ name: contacts__n
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - explode: true
+ - description: Prefixes which contain this prefix or IP
+ explode: true
in: query
- name: created__lte
+ name: contains
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__n
+ name: created
required: false
schema:
items:
@@ -124027,147 +119940,133 @@ paths:
type: string
type: array
style: form
- - description: Device (name)
- explode: true
- in: query
- name: device
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Device (ID)
- explode: true
- in: query
- name: device_id
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
- name: dns_name
+ name: created__gt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: dns_name__ic
+ name: created__gte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: dns_name__ie
+ name: created__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: dns_name__iew
+ name: created__lt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: dns_name__ire
+ name: created__lte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: dns_name__isw
+ name: created__n
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: dns_name__n
+ name: date_allocated
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: dns_name__nic
+ name: date_allocated__gt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: dns_name__nie
+ name: date_allocated__gte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: dns_name__niew
+ name: date_allocated__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: dns_name__nire
+ name: date_allocated__lt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: dns_name__nisw
+ name: date_allocated__lte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: dns_name__nre
+ name: date_allocated__n
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: dns_name__re
+ name: dynamic_groups
required: false
schema:
items:
@@ -124176,41 +120075,24 @@ paths:
style: form
- explode: true
in: query
- name: dynamic_groups
+ name: dynamic_groups__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
- in: query
- name: dynamic_groups__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: Has Interface Assignments
- explode: true
- in: query
- name: has_interface_assignments
- required: false
- schema:
- type: boolean
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: Has NAT Inside
+ - description: Has RIR
explode: true
in: query
- name: has_nat_inside
+ name: has_rir
required: false
schema:
type: boolean
@@ -124229,7 +120111,7 @@ paths:
style: form
- explode: true
in: query
- name: id__ic
+ name: id__n
required: false
schema:
items:
@@ -124239,144 +120121,125 @@ paths:
style: form
- explode: true
in: query
- name: id__ie
+ name: ip_version
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: integer
style: form
- explode: true
in: query
- name: id__iew
+ name: last_updated
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: last_updated__gt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: last_updated__gte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__n
+ name: last_updated__isnull
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: id__nic
+ name: last_updated__lt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: last_updated__lte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: last_updated__n
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- - explode: true
+ - description: Number of results to return per page.
+ explode: true
in: query
- name: id__nire
+ name: limit
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: integer
style: form
- explode: true
in: query
- name: id__nisw
+ name: location
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nre
+ name: location__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__re
+ name: locations
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: interfaces
+ name: locations__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Interfaces (ID or name) is null
- explode: true
- in: query
- name: interfaces__isnull
- required: false
- schema:
- type: boolean
- style: form
- explode: true
in: query
- name: interfaces__n
+ name: namespace
required: false
schema:
items:
@@ -124385,89 +120248,60 @@ paths:
style: form
- explode: true
in: query
- name: ip_version
- required: false
- schema:
- type: integer
- style: form
- - explode: true
- in: query
- name: last_updated
+ name: namespace__n
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - explode: true
+ - description: The initial index from which to return the results.
+ explode: true
in: query
- name: last_updated__gt
+ name: offset
required: false
schema:
- items:
- format: date-time
- type: string
- type: array
+ type: integer
style: form
- explode: true
in: query
- name: last_updated__gte
+ name: parent
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - explode: true
+ - description: Prefix (ID or prefix string) is null
+ explode: true
in: query
- name: last_updated__isnull
+ name: parent__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: last_updated__lt
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: last_updated__lte
+ name: parent__n
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - explode: true
+ - description: Prefix
+ explode: true
in: query
- name: last_updated__n
+ name: prefix
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- explode: true
in: query
- name: mask_length
+ name: prefix_length
required: false
schema:
items:
@@ -124476,7 +120310,7 @@ paths:
style: form
- explode: true
in: query
- name: mask_length__gt
+ name: prefix_length__gt
required: false
schema:
items:
@@ -124485,7 +120319,7 @@ paths:
style: form
- explode: true
in: query
- name: mask_length__gte
+ name: prefix_length__gte
required: false
schema:
items:
@@ -124494,7 +120328,7 @@ paths:
style: form
- explode: true
in: query
- name: mask_length__lt
+ name: prefix_length__lt
required: false
schema:
items:
@@ -124503,7 +120337,7 @@ paths:
style: form
- explode: true
in: query
- name: mask_length__lte
+ name: prefix_length__lte
required: false
schema:
items:
@@ -124512,135 +120346,66 @@ paths:
style: form
- explode: true
in: query
- name: mask_length__n
+ name: prefix_length__n
required: false
schema:
items:
type: integer
type: array
style: form
- - explode: true
- in: query
- name: namespace
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: namespace__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: NAT (Inside)
+ - description: Present in VRF (RD)
explode: true
in: query
- name: nat_inside
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: nat_inside__isnull
+ name: present_in_vrf
required: false
schema:
- type: boolean
+ nullable: true
+ title: Route distinguisher
+ type: string
style: form
- - description: NAT (Inside)
+ - description: Present in VRF
explode: true
in: query
- name: nat_inside__n
+ name: present_in_vrf_id
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ format: uuid
+ type: string
style: form
- - description: The initial index from which to return the results.
+ - description: Search
explode: true
in: query
- name: offset
+ name: q
required: false
schema:
- type: integer
+ type: string
style: form
- - description: Parent prefix
- explode: true
+ - explode: true
in: query
- name: parent
+ name: rir
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - description: Parent prefix is null
+ - description: RIR (name or ID) is null
explode: true
in: query
- name: parent__isnull
+ name: rir__isnull
required: false
schema:
type: boolean
style: form
- - description: Exclude Parent prefix
- explode: true
- in: query
- name: parent__n
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Contained in prefix
- explode: true
+ - explode: true
in: query
- name: prefix
+ name: rir__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: VRF (RD)
- explode: true
- in: query
- name: present_in_vrf
- required: false
- schema:
- nullable: true
- title: Route distinguisher
- type: string
- style: form
- - description: VRF (ID)
- explode: true
- in: query
- name: present_in_vrf_id
- required: false
- schema:
- format: uuid
- type: string
- style: form
- - description: Search
- explode: true
- in: query
- name: q
- required: false
- schema:
- type: string
- style: form
- explode: true
in: query
name: role
@@ -124658,14 +120423,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Role (name or ID)
- explode: true
+ - explode: true
in: query
name: role__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Which field to use when ordering the results.
explode: true
@@ -124684,14 +120449,14 @@ paths:
type: string
type: array
style: form
- - description: Exclude Status (name or ID)
- explode: true
+ - explode: true
in: query
name: status__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -124735,14 +120500,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -124954,51 +120719,96 @@ paths:
type: string
type: array
style: form
- - description: Virtual machine (name)
+ - description: VLAN (ID)
explode: true
in: query
- name: virtual_machine
+ name: vlan_id
required: false
schema:
items:
+ format: uuid
+ nullable: true
type: string
type: array
style: form
- - description: Virtual machine (ID)
+ - description: VLAN (ID) is null
explode: true
in: query
- name: virtual_machine_id
+ name: vlan_id__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - description: Exclude VLAN (ID)
+ explode: true
+ in: query
+ name: vlan_id__n
required: false
schema:
items:
format: uuid
+ nullable: true
type: string
type: array
style: form
- - explode: true
+ - description: VLAN number (1-4095)
+ explode: true
in: query
- name: vm_interfaces
+ name: vlan_vid
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- - description: VM interfaces (ID or name) is null
+ - description: VLAN number (1-4095) is greater than
explode: true
in: query
- name: vm_interfaces__isnull
+ name: vlan_vid__gt
required: false
schema:
- type: boolean
+ items:
+ type: integer
+ type: array
style: form
- - explode: true
+ - description: VLAN number (1-4095) is greater than or equal to
+ explode: true
in: query
- name: vm_interfaces__n
+ name: vlan_vid__gte
required: false
schema:
items:
- type: string
+ type: integer
+ type: array
+ style: form
+ - description: VLAN number (1-4095) is less than
+ explode: true
+ in: query
+ name: vlan_vid__lt
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - description: VLAN number (1-4095) is less than or equal to
+ explode: true
+ in: query
+ name: vlan_vid__lte
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - description: Exclude VLAN number (1-4095)
+ explode: true
+ in: query
+ name: vlan_vid__n
+ required: false
+ schema:
+ items:
+ type: integer
type: array
style: form
- explode: true
@@ -125010,7 +120820,7 @@ paths:
type: string
type: array
style: form
- - description: VRF (ID or RD) is null
+ - description: Assigned VRF (ID or RD) is null
explode: true
in: query
name: vrfs__isnull
@@ -125027,6 +120837,26 @@ paths:
type: string
type: array
style: form
+ - description: Within prefix
+ explode: true
+ in: query
+ name: within
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Within and including prefix
+ explode: true
+ in: query
+ name: within_include
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- description: Serializer Depth
explode: true
in: query
@@ -125038,15 +120868,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedIPAddressList'
+ $ref: "#/components/schemas/PaginatedPrefixList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedIPAddressList'
+ $ref: "#/components/schemas/PaginatedPrefixList"
description: ""
security:
- cookieAuth: []
@@ -125054,27 +120893,27 @@ paths:
tags:
- ipam
patch:
- description: Partial update a list of IP address objects.
- operationId: ipam_ip_addresses_bulk_partial_update
+ description: Partial update a list of prefix objects.
+ operationId: ipam_prefixes_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableIPAddressRequest'
+ $ref: "#/components/schemas/PatchedBulkWritablePrefixRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableIPAddressRequest'
+ $ref: "#/components/schemas/PatchedBulkWritablePrefixRequest"
type: array
required: true
responses:
@@ -125083,12 +120922,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/IPAddress'
+ $ref: "#/components/schemas/Prefix"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/IPAddress'
+ $ref: "#/components/schemas/Prefix"
type: array
description: ""
security:
@@ -125097,34 +120936,34 @@ paths:
tags:
- ipam
post:
- description: Create one or more IP address objects.
- operationId: ipam_ip_addresses_create
+ description: Create one or more prefix objects.
+ operationId: ipam_prefixes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/IPAddressRequest'
+ $ref: "#/components/schemas/WritablePrefixRequest"
text/csv:
schema:
- $ref: '#/components/schemas/IPAddressRequest'
+ $ref: "#/components/schemas/WritablePrefixRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/IPAddress'
+ $ref: "#/components/schemas/Prefix"
text/csv:
schema:
- $ref: '#/components/schemas/IPAddress'
+ $ref: "#/components/schemas/Prefix"
description: ""
security:
- cookieAuth: []
@@ -125132,27 +120971,27 @@ paths:
tags:
- ipam
put:
- description: Update a list of IP address objects.
- operationId: ipam_ip_addresses_bulk_update
+ description: Update a list of prefix objects.
+ operationId: ipam_prefixes_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableIPAddressRequest'
+ $ref: "#/components/schemas/BulkWritablePrefixRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableIPAddressRequest'
+ $ref: "#/components/schemas/BulkWritablePrefixRequest"
type: array
required: true
responses:
@@ -125161,12 +121000,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/IPAddress'
+ $ref: "#/components/schemas/Prefix"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/IPAddress'
+ $ref: "#/components/schemas/Prefix"
type: array
description: ""
security:
@@ -125174,19 +121013,19 @@ paths:
- tokenAuth: []
tags:
- ipam
- /ipam/ip-addresses/{id}/:
+ /ipam/prefixes/{id}/:
delete:
- description: Destroy a IP address object.
- operationId: ipam_ip_addresses_destroy
+ description: Destroy a prefix object.
+ operationId: ipam_prefixes_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this IP address.
+ - description: A UUID string identifying this prefix.
explode: false
in: path
name: id
@@ -125204,17 +121043,17 @@ paths:
tags:
- ipam
get:
- description: Retrieve a IP address object.
- operationId: ipam_ip_addresses_retrieve
+ description: Retrieve a prefix object.
+ operationId: ipam_prefixes_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this IP address.
+ - description: A UUID string identifying this prefix.
explode: false
in: path
name: id
@@ -125234,15 +121073,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/IPAddress'
+ $ref: "#/components/schemas/Prefix"
text/csv:
schema:
- $ref: '#/components/schemas/IPAddress'
+ $ref: "#/components/schemas/Prefix"
description: ""
security:
- cookieAuth: []
@@ -125250,17 +121098,17 @@ paths:
tags:
- ipam
patch:
- description: Partial update a IP address object.
- operationId: ipam_ip_addresses_partial_update
+ description: Partial update a prefix object.
+ operationId: ipam_prefixes_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this IP address.
+ - description: A UUID string identifying this prefix.
explode: false
in: path
name: id
@@ -125273,19 +121121,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedIPAddressRequest'
+ $ref: "#/components/schemas/PatchedWritablePrefixRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedIPAddressRequest'
+ $ref: "#/components/schemas/PatchedWritablePrefixRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/IPAddress'
+ $ref: "#/components/schemas/Prefix"
text/csv:
schema:
- $ref: '#/components/schemas/IPAddress'
+ $ref: "#/components/schemas/Prefix"
description: ""
security:
- cookieAuth: []
@@ -125293,15 +121141,173 @@ paths:
tags:
- ipam
put:
- description: Update a IP address object.
- operationId: ipam_ip_addresses_update
+ description: Update a prefix object.
+ operationId: ipam_prefixes_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this prefix.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/WritablePrefixRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/WritablePrefixRequest"
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Prefix"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/Prefix"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - ipam
+ /ipam/prefixes/{id}/available-ips/:
+ get:
+ description: |-
+ A convenience method for listing and/or allocating 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.
+
+ This uses a Redis lock to prevent this API from being invoked in parallel, in order to avoid a race condition
+ if multiple clients tried to simultaneously request allocation from the same parent prefix.
+ operationId: ipam_prefixes_available_ips_list
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this IP address.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: The initial index from which to return the results.
+ explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: IP from which enumeration/allocation should stop.
+ explode: true
+ in: query
+ name: range_end
+ required: false
+ schema:
+ $ref: "#/components/schemas/ipam_prefixes_available_ips_list_range_end_parameter"
+ style: form
+ - description: IP from which enumeration/allocation should start.
+ explode: true
+ in: query
+ name: range_start
+ required: false
+ schema:
+ $ref: "#/components/schemas/ipam_prefixes_available_ips_list_range_end_parameter"
+ style: form
+ - description: Which field to use when ordering the results.
+ explode: true
+ in: query
+ name: sort
+ required: false
+ schema:
+ type: string
+ style: form
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/AvailableIP"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/AvailableIP"
+ type: array
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - ipam
+ post:
+ description: |-
+ A convenience method for listing and/or allocating 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.
+
+ This uses a Redis lock to prevent this API from being invoked in parallel, in order to avoid a race condition
+ if multiple clients tried to simultaneously request allocation from the same parent prefix.
+ operationId: ipam_prefixes_available_ips_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: A UUID string identifying this IP address.
explode: false
@@ -125312,43 +121318,247 @@ paths:
format: uuid
type: string
style: simple
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: The initial index from which to return the results.
+ explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: IP from which enumeration/allocation should stop.
+ explode: true
+ in: query
+ name: range_end
+ required: false
+ schema:
+ $ref: "#/components/schemas/ipam_prefixes_available_ips_list_range_end_parameter"
+ style: form
+ - description: IP from which enumeration/allocation should start.
+ explode: true
+ in: query
+ name: range_start
+ required: false
+ schema:
+ $ref: "#/components/schemas/ipam_prefixes_available_ips_list_range_end_parameter"
+ style: form
+ - description: Which field to use when ordering the results.
+ explode: true
+ in: query
+ name: sort
+ required: false
+ schema:
+ type: string
+ style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/IPAddressRequest'
+ items:
+ $ref: "#/components/schemas/IPAllocationRequest"
+ type: array
text/csv:
schema:
- $ref: '#/components/schemas/IPAddressRequest'
+ items:
+ $ref: "#/components/schemas/IPAllocationRequest"
+ type: array
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/IPAddress"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/IPAddress"
+ type: array
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - ipam
+ /ipam/prefixes/{id}/available-prefixes/:
+ get:
+ description: |-
+ A convenience method for listing and/or allocating available child prefixes within a parent.
+
+ This uses a Redis lock to prevent this API from being invoked in parallel, in order to avoid a race condition
+ if multiple clients tried to simultaneously request allocation from the same parent prefix.
+ operationId: ipam_prefixes_available_prefixes_list
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this prefix.
+ explode: false
+ in: path
+ name: id
required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: The initial index from which to return the results.
+ explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: Which field to use when ordering the results.
+ explode: true
+ in: query
+ name: sort
+ required: false
+ schema:
+ type: string
+ style: form
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/IPAddress'
+ $ref: "#/components/schemas/PaginatedAvailablePrefixList"
text/csv:
schema:
- $ref: '#/components/schemas/IPAddress'
+ $ref: "#/components/schemas/PaginatedAvailablePrefixList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- ipam
- /ipam/ip-addresses/{id}/notes/:
+ post:
+ description: |-
+ A convenience method for listing and/or allocating available child prefixes within a parent.
+
+ This uses a Redis lock to prevent this API from being invoked in parallel, in order to avoid a race condition
+ if multiple clients tried to simultaneously request allocation from the same parent prefix.
+ operationId: ipam_prefixes_available_prefixes_create
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this prefix.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: The initial index from which to return the results.
+ explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: Which field to use when ordering the results.
+ explode: true
+ in: query
+ name: sort
+ required: false
+ schema:
+ type: string
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PrefixLengthRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PrefixLengthRequest"
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedPrefixList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedPrefixList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - ipam
+ /ipam/prefixes/{id}/notes/:
get:
description: API methods for returning or creating notes on an object.
- operationId: ipam_ip_addresses_notes_list
+ operationId: ipam_prefixes_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this IP address.
+ - description: A UUID string identifying this prefix.
explode: false
in: path
name: id
@@ -125384,15 +121594,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -125401,16 +121620,16 @@ paths:
- ipam
post:
description: API methods for returning or creating notes on an object.
- operationId: ipam_ip_addresses_notes_create
+ operationId: ipam_prefixes_notes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this IP address.
+ - description: A UUID string identifying this prefix.
explode: false
in: path
name: id
@@ -125423,49 +121642,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- ipam
- /ipam/namespaces/:
+ /ipam/rirs/:
delete:
- description: Destroy a list of namespace objects.
- operationId: ipam_namespaces_bulk_destroy
+ description: Destroy a list of RIR objects.
+ operationId: ipam_rirs_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -125477,8 +121696,8 @@ paths:
tags:
- ipam
get:
- description: Retrieve a list of namespace objects.
- operationId: ipam_namespaces_list
+ description: Retrieve a list of RIR objects.
+ operationId: ipam_rirs_list
parameters:
- explode: true
in: query
@@ -125497,14 +121716,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -125708,21 +121927,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -125736,56 +121955,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -125798,73 +121967,10 @@ paths:
style: form
- explode: true
in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
+ name: is_private
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
@@ -125941,29 +122047,6 @@ paths:
schema:
type: integer
style: form
- - explode: true
- in: query
- name: location
- required: false
- schema:
- format: uuid
- type: string
- style: form
- - explode: true
- in: query
- name: location__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: location__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
name: name
@@ -126114,31 +122197,6 @@ paths:
schema:
type: string
style: form
- - explode: true
- in: query
- name: tags
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: tags__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: tags__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- explode: true
in: query
name: teams
@@ -126156,14 +122214,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -126176,15 +122234,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNamespaceList'
+ $ref: "#/components/schemas/PaginatedRIRList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNamespaceList'
+ $ref: "#/components/schemas/PaginatedRIRList"
description: ""
security:
- cookieAuth: []
@@ -126192,27 +122259,27 @@ paths:
tags:
- ipam
patch:
- description: Partial update a list of namespace objects.
- operationId: ipam_namespaces_bulk_partial_update
+ description: Partial update a list of RIR objects.
+ operationId: ipam_rirs_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableNamespaceRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableRIRRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableNamespaceRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableRIRRequest"
type: array
required: true
responses:
@@ -126221,12 +122288,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Namespace'
+ $ref: "#/components/schemas/RIR"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Namespace'
+ $ref: "#/components/schemas/RIR"
type: array
description: ""
security:
@@ -126235,34 +122302,34 @@ paths:
tags:
- ipam
post:
- description: Create one or more namespace objects.
- operationId: ipam_namespaces_create
+ description: Create one or more RIR objects.
+ operationId: ipam_rirs_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/NamespaceRequest'
+ $ref: "#/components/schemas/RIRRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NamespaceRequest'
+ $ref: "#/components/schemas/RIRRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Namespace'
+ $ref: "#/components/schemas/RIR"
text/csv:
schema:
- $ref: '#/components/schemas/Namespace'
+ $ref: "#/components/schemas/RIR"
description: ""
security:
- cookieAuth: []
@@ -126270,27 +122337,27 @@ paths:
tags:
- ipam
put:
- description: Update a list of namespace objects.
- operationId: ipam_namespaces_bulk_update
+ description: Update a list of RIR objects.
+ operationId: ipam_rirs_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableNamespaceRequest'
+ $ref: "#/components/schemas/BulkWritableRIRRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableNamespaceRequest'
+ $ref: "#/components/schemas/BulkWritableRIRRequest"
type: array
required: true
responses:
@@ -126299,12 +122366,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Namespace'
+ $ref: "#/components/schemas/RIR"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Namespace'
+ $ref: "#/components/schemas/RIR"
type: array
description: ""
security:
@@ -126312,19 +122379,19 @@ paths:
- tokenAuth: []
tags:
- ipam
- /ipam/namespaces/{id}/:
+ /ipam/rirs/{id}/:
delete:
- description: Destroy a namespace object.
- operationId: ipam_namespaces_destroy
+ description: Destroy a RIR object.
+ operationId: ipam_rirs_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this namespace.
+ - description: A UUID string identifying this RIR.
explode: false
in: path
name: id
@@ -126342,17 +122409,17 @@ paths:
tags:
- ipam
get:
- description: Retrieve a namespace object.
- operationId: ipam_namespaces_retrieve
+ description: Retrieve a RIR object.
+ operationId: ipam_rirs_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this namespace.
+ - description: A UUID string identifying this RIR.
explode: false
in: path
name: id
@@ -126372,15 +122439,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Namespace'
+ $ref: "#/components/schemas/RIR"
text/csv:
schema:
- $ref: '#/components/schemas/Namespace'
+ $ref: "#/components/schemas/RIR"
description: ""
security:
- cookieAuth: []
@@ -126388,17 +122464,17 @@ paths:
tags:
- ipam
patch:
- description: Partial update a namespace object.
- operationId: ipam_namespaces_partial_update
+ description: Partial update a RIR object.
+ operationId: ipam_rirs_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this namespace.
+ - description: A UUID string identifying this RIR.
explode: false
in: path
name: id
@@ -126411,19 +122487,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedNamespaceRequest'
+ $ref: "#/components/schemas/PatchedRIRRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedNamespaceRequest'
+ $ref: "#/components/schemas/PatchedRIRRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Namespace'
+ $ref: "#/components/schemas/RIR"
text/csv:
schema:
- $ref: '#/components/schemas/Namespace'
+ $ref: "#/components/schemas/RIR"
description: ""
security:
- cookieAuth: []
@@ -126431,17 +122507,17 @@ paths:
tags:
- ipam
put:
- description: Update a namespace object.
- operationId: ipam_namespaces_update
+ description: Update a RIR object.
+ operationId: ipam_rirs_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this namespace.
+ - description: A UUID string identifying this RIR.
explode: false
in: path
name: id
@@ -126454,39 +122530,39 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NamespaceRequest'
+ $ref: "#/components/schemas/RIRRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NamespaceRequest'
+ $ref: "#/components/schemas/RIRRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Namespace'
+ $ref: "#/components/schemas/RIR"
text/csv:
schema:
- $ref: '#/components/schemas/Namespace'
+ $ref: "#/components/schemas/RIR"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- ipam
- /ipam/namespaces/{id}/notes/:
+ /ipam/rirs/{id}/notes/:
get:
description: API methods for returning or creating notes on an object.
- operationId: ipam_namespaces_notes_list
+ operationId: ipam_rirs_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this namespace.
+ - description: A UUID string identifying this RIR.
explode: false
in: path
name: id
@@ -126522,15 +122598,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -126539,16 +122624,16 @@ paths:
- ipam
post:
description: API methods for returning or creating notes on an object.
- operationId: ipam_namespaces_notes_create
+ operationId: ipam_rirs_notes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this namespace.
+ - description: A UUID string identifying this RIR.
explode: false
in: path
name: id
@@ -126561,49 +122646,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- ipam
- /ipam/prefix-location-assignments/:
+ /ipam/route-targets/:
delete:
- description: Destroy a list of prefix location assignment objects.
- operationId: ipam_prefix_location_assignments_bulk_destroy
+ description: Destroy a list of route target objects.
+ operationId: ipam_route_targets_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -126615,9 +122700,35 @@ paths:
tags:
- ipam
get:
- description: Retrieve a list of prefix location assignment objects.
- operationId: ipam_prefix_location_assignments_list
+ description: Retrieve a list of route target objects.
+ operationId: ipam_route_targets_list
parameters:
+ - explode: true
+ in: query
+ name: contacts
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Contacts (name or ID) is null
+ explode: true
+ in: query
+ name: contacts__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: contacts__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- explode: true
in: query
name: created
@@ -126630,66 +122741,117 @@ paths:
style: form
- explode: true
in: query
- name: format
+ name: created__gt
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ format: date-time
+ type: string
+ type: array
style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
- explode: true
+ - explode: true
in: query
- name: id
+ name: created__gte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__ic
+ name: created__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: created__lt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__ie
+ name: created__lte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: created__n
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: dynamic_groups
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: dynamic_groups__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: exporting_vrfs
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Export VRF(s) (ID or RD) is null
+ explode: true
+ in: query
+ name: exporting_vrfs__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: exporting_vrfs__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
+ in: query
+ name: id
required: false
schema:
items:
@@ -126709,77 +122871,90 @@ paths:
style: form
- explode: true
in: query
- name: id__nic
+ name: importing_vrfs
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
+ - description: Import VRF(s) (ID or RD) is null
+ explode: true
+ in: query
+ name: importing_vrfs__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: id__nie
+ name: importing_vrfs__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: last_updated
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__nire
+ name: last_updated__gt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__nisw
+ name: last_updated__gte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__nre
+ name: last_updated__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: last_updated__lt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__re
+ name: last_updated__lte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated
+ name: last_updated__n
required: false
schema:
items:
@@ -126797,7 +122972,7 @@ paths:
style: form
- explode: true
in: query
- name: location
+ name: name
required: false
schema:
items:
@@ -126806,7 +122981,115 @@ paths:
style: form
- explode: true
in: query
- name: location__n
+ name: name__ic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__ie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__iew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__ire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__isw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__nic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__nie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__niew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__nire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__nisw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__nre
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__re
required: false
schema:
items:
@@ -126816,36 +123099,161 @@ paths:
- description: The initial index from which to return the results.
explode: true
in: query
- name: offset
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: Search
+ explode: true
+ in: query
+ name: q
+ required: false
+ schema:
+ type: string
+ style: form
+ - description: Which field to use when ordering the results.
+ explode: true
+ in: query
+ name: sort
+ required: false
+ schema:
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: tags
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: tags__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: tags__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: teams
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Teams (name or ID) is null
+ explode: true
+ in: query
+ name: teams__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: teams__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: tenant
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Tenant (name or ID) is null
+ explode: true
+ in: query
+ name: tenant__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: tenant__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: tenant_group
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Tenant Group (name or ID) is null
+ explode: true
+ in: query
+ name: tenant_group__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: tenant_group__n
required: false
schema:
- type: integer
+ items:
+ type: string
+ type: array
style: form
- - description: Prefix
+ - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead)"
explode: true
in: query
- name: prefix
+ name: tenant_id
required: false
schema:
items:
+ format: uuid
+ nullable: true
type: string
type: array
style: form
- - description: Search
+ - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead) is null"
explode: true
in: query
- name: q
+ name: tenant_id__isnull
required: false
schema:
- type: string
+ type: boolean
style: form
- - description: Which field to use when ordering the results.
+ - description: "Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead)"
explode: true
in: query
- name: sort
+ name: tenant_id__n
required: false
schema:
- type: string
+ items:
+ format: uuid
+ nullable: true
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -126858,15 +123266,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedPrefixLocationAssignmentList'
+ $ref: "#/components/schemas/PaginatedRouteTargetList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedPrefixLocationAssignmentList'
+ $ref: "#/components/schemas/PaginatedRouteTargetList"
description: ""
security:
- cookieAuth: []
@@ -126874,27 +123291,27 @@ paths:
tags:
- ipam
patch:
- description: Partial update a list of prefix location assignment objects.
- operationId: ipam_prefix_location_assignments_bulk_partial_update
+ description: Partial update a list of route target objects.
+ operationId: ipam_route_targets_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritablePrefixLocationAssignmentRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableRouteTargetRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritablePrefixLocationAssignmentRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableRouteTargetRequest"
type: array
required: true
responses:
@@ -126903,12 +123320,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/PrefixLocationAssignment'
+ $ref: "#/components/schemas/RouteTarget"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PrefixLocationAssignment'
+ $ref: "#/components/schemas/RouteTarget"
type: array
description: ""
security:
@@ -126917,34 +123334,34 @@ paths:
tags:
- ipam
post:
- description: Create one or more prefix location assignment objects.
- operationId: ipam_prefix_location_assignments_create
+ description: Create one or more route target objects.
+ operationId: ipam_route_targets_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/PrefixLocationAssignmentRequest'
+ $ref: "#/components/schemas/RouteTargetRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PrefixLocationAssignmentRequest'
+ $ref: "#/components/schemas/RouteTargetRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/PrefixLocationAssignment'
+ $ref: "#/components/schemas/RouteTarget"
text/csv:
schema:
- $ref: '#/components/schemas/PrefixLocationAssignment'
+ $ref: "#/components/schemas/RouteTarget"
description: ""
security:
- cookieAuth: []
@@ -126952,27 +123369,27 @@ paths:
tags:
- ipam
put:
- description: Update a list of prefix location assignment objects.
- operationId: ipam_prefix_location_assignments_bulk_update
+ description: Update a list of route target objects.
+ operationId: ipam_route_targets_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritablePrefixLocationAssignmentRequest'
+ $ref: "#/components/schemas/BulkWritableRouteTargetRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritablePrefixLocationAssignmentRequest'
+ $ref: "#/components/schemas/BulkWritableRouteTargetRequest"
type: array
required: true
responses:
@@ -126981,12 +123398,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/PrefixLocationAssignment'
+ $ref: "#/components/schemas/RouteTarget"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PrefixLocationAssignment'
+ $ref: "#/components/schemas/RouteTarget"
type: array
description: ""
security:
@@ -126994,19 +123411,19 @@ paths:
- tokenAuth: []
tags:
- ipam
- /ipam/prefix-location-assignments/{id}/:
+ /ipam/route-targets/{id}/:
delete:
- description: Destroy a prefix location assignment object.
- operationId: ipam_prefix_location_assignments_destroy
+ description: Destroy a route target object.
+ operationId: ipam_route_targets_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this prefix location assignment.
+ - description: A UUID string identifying this route target.
explode: false
in: path
name: id
@@ -127024,17 +123441,17 @@ paths:
tags:
- ipam
get:
- description: Retrieve a prefix location assignment object.
- operationId: ipam_prefix_location_assignments_retrieve
+ description: Retrieve a route target object.
+ operationId: ipam_route_targets_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this prefix location assignment.
+ - description: A UUID string identifying this route target.
explode: false
in: path
name: id
@@ -127054,15 +123471,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PrefixLocationAssignment'
+ $ref: "#/components/schemas/RouteTarget"
text/csv:
schema:
- $ref: '#/components/schemas/PrefixLocationAssignment'
+ $ref: "#/components/schemas/RouteTarget"
description: ""
security:
- cookieAuth: []
@@ -127070,17 +123496,17 @@ paths:
tags:
- ipam
patch:
- description: Partial update a prefix location assignment object.
- operationId: ipam_prefix_location_assignments_partial_update
+ description: Partial update a route target object.
+ operationId: ipam_route_targets_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this prefix location assignment.
+ - description: A UUID string identifying this route target.
explode: false
in: path
name: id
@@ -127093,19 +123519,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedPrefixLocationAssignmentRequest'
+ $ref: "#/components/schemas/PatchedRouteTargetRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedPrefixLocationAssignmentRequest'
+ $ref: "#/components/schemas/PatchedRouteTargetRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PrefixLocationAssignment'
+ $ref: "#/components/schemas/RouteTarget"
text/csv:
schema:
- $ref: '#/components/schemas/PrefixLocationAssignment'
+ $ref: "#/components/schemas/RouteTarget"
description: ""
security:
- cookieAuth: []
@@ -127113,17 +123539,17 @@ paths:
tags:
- ipam
put:
- description: Update a prefix location assignment object.
- operationId: ipam_prefix_location_assignments_update
+ description: Update a route target object.
+ operationId: ipam_route_targets_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this prefix location assignment.
+ - description: A UUID string identifying this route target.
explode: false
in: path
name: id
@@ -127136,39 +123562,39 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PrefixLocationAssignmentRequest'
+ $ref: "#/components/schemas/RouteTargetRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PrefixLocationAssignmentRequest'
+ $ref: "#/components/schemas/RouteTargetRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PrefixLocationAssignment'
+ $ref: "#/components/schemas/RouteTarget"
text/csv:
schema:
- $ref: '#/components/schemas/PrefixLocationAssignment'
+ $ref: "#/components/schemas/RouteTarget"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- ipam
- /ipam/prefix-location-assignments/{id}/notes/:
+ /ipam/route-targets/{id}/notes/:
get:
description: API methods for returning or creating notes on an object.
- operationId: ipam_prefix_location_assignments_notes_list
+ operationId: ipam_route_targets_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this prefix location assignment.
+ - description: A UUID string identifying this route target.
explode: false
in: path
name: id
@@ -127204,15 +123630,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -127221,16 +123656,16 @@ paths:
- ipam
post:
description: API methods for returning or creating notes on an object.
- operationId: ipam_prefix_location_assignments_notes_create
+ operationId: ipam_route_targets_notes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this prefix location assignment.
+ - description: A UUID string identifying this route target.
explode: false
in: path
name: id
@@ -127243,49 +123678,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- ipam
- /ipam/prefixes/:
+ /ipam/services/:
delete:
- description: Destroy a list of prefix objects.
- operationId: ipam_prefixes_bulk_destroy
+ description: Destroy a list of service objects.
+ operationId: ipam_services_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -127297,35 +123732,9 @@ paths:
tags:
- ipam
get:
- description: Retrieve a list of prefix objects.
- operationId: ipam_prefixes_list
+ description: Retrieve a list of service objects.
+ operationId: ipam_services_list
parameters:
- - explode: true
- in: query
- name: cloud_networks
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Cloud Network (name or ID) is null
- explode: true
- in: query
- name: cloud_networks__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: cloud_networks__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- explode: true
in: query
name: contacts
@@ -127343,20 +123752,10 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
- schema:
- format: uuid
- type: string
- style: form
- - description: Prefixes which contain this prefix or IP
- explode: true
- in: query
- name: contains
- required: false
schema:
items:
type: string
@@ -127431,103 +123830,54 @@ paths:
style: form
- explode: true
in: query
- name: date_allocated
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: date_allocated__gt
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: date_allocated__gte
+ name: device
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - explode: true
+ - description: Device (ID or name) is null
+ explode: true
in: query
- name: date_allocated__isnull
+ name: device__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: date_allocated__lt
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: date_allocated__lte
+ name: device__n
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: date_allocated__n
+ name: dynamic_groups
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: dynamic_groups
+ name: dynamic_groups__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
- in: query
- name: dynamic_groups__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: Has RIR
- explode: true
- in: query
- name: has_rir
- required: false
- schema:
- type: boolean
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -127541,56 +123891,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -127601,83 +123901,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: ip_version
- required: false
- schema:
- type: integer
- style: form
- explode: true
in: query
name: last_updated
@@ -127755,7 +123978,7 @@ paths:
style: form
- explode: true
in: query
- name: location
+ name: name
required: false
schema:
items:
@@ -127764,7 +123987,7 @@ paths:
style: form
- explode: true
in: query
- name: location__n
+ name: name__ic
required: false
schema:
items:
@@ -127773,7 +123996,7 @@ paths:
style: form
- explode: true
in: query
- name: locations
+ name: name__ie
required: false
schema:
items:
@@ -127782,7 +124005,7 @@ paths:
style: form
- explode: true
in: query
- name: locations__n
+ name: name__iew
required: false
schema:
items:
@@ -127791,7 +124014,7 @@ paths:
style: form
- explode: true
in: query
- name: namespace
+ name: name__ire
required: false
schema:
items:
@@ -127800,52 +124023,25 @@ paths:
style: form
- explode: true
in: query
- name: namespace__n
+ name: name__isw
required: false
schema:
items:
type: string
type: array
style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- explode: true
in: query
- name: parent
+ name: name__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: parent__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: parent__n
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Prefix
- explode: true
- in: query
- name: prefix
+ name: name__nic
required: false
schema:
items:
@@ -127854,105 +124050,34 @@ paths:
style: form
- explode: true
in: query
- name: prefix_length
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: prefix_length__gt
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: prefix_length__gte
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: prefix_length__lt
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: prefix_length__lte
+ name: name__nie
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: prefix_length__n
+ name: name__niew
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- - description: Present in VRF (RD)
- explode: true
- in: query
- name: present_in_vrf
- required: false
- schema:
- nullable: true
- title: Route distinguisher
- type: string
- style: form
- - description: Present in VRF
- explode: true
- in: query
- name: present_in_vrf_id
- required: false
- schema:
- format: uuid
- type: string
- style: form
- - description: Search
- explode: true
- in: query
- name: q
- required: false
- schema:
- type: string
- style: form
- explode: true
in: query
- name: rir
+ name: name__nire
required: false
schema:
items:
type: string
type: array
style: form
- - description: RIR (name or ID) is null
- explode: true
- in: query
- name: rir__isnull
- required: false
- schema:
- type: boolean
- style: form
- explode: true
in: query
- name: rir__n
+ name: name__nisw
required: false
schema:
items:
@@ -127961,75 +124086,40 @@ paths:
style: form
- explode: true
in: query
- name: role
+ name: name__nre
required: false
schema:
items:
type: string
type: array
style: form
- - description: Role (name or ID) is null
- explode: true
- in: query
- name: role__isnull
- required: false
- schema:
- type: boolean
- style: form
- - description: Exclude Role (name or ID)
- explode: true
- in: query
- name: role__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- - description: Which field to use when ordering the results.
- explode: true
- in: query
- name: sort
- required: false
- schema:
- type: string
- style: form
- explode: true
in: query
- name: status
+ name: name__re
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Status (name or ID)
+ - description: The initial index from which to return the results.
explode: true
in: query
- name: status__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- - explode: true
- in: query
- name: tags
+ name: offset
required: false
schema:
- items:
- type: string
- type: array
+ type: integer
style: form
- explode: true
in: query
- name: tags__isnull
+ name: ports
required: false
schema:
- type: boolean
+ type: number
style: form
- explode: true
in: query
- name: tags__n
+ name: protocol
required: false
schema:
items:
@@ -128038,50 +124128,25 @@ paths:
style: form
- explode: true
in: query
- name: teams
+ name: protocol__ic
required: false
schema:
items:
type: string
type: array
style: form
- - description: Teams (name or ID) is null
- explode: true
- in: query
- name: teams__isnull
- required: false
- schema:
- type: boolean
- style: form
- - description: Exclude Teams (name or ID)
- explode: true
- in: query
- name: teams__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
- name: tenant
+ name: protocol__ie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Tenant (name or ID) is null
- explode: true
- in: query
- name: tenant__isnull
- required: false
- schema:
- type: boolean
- style: form
- explode: true
in: query
- name: tenant__n
+ name: protocol__iew
required: false
schema:
items:
@@ -128090,65 +124155,25 @@ paths:
style: form
- explode: true
in: query
- name: tenant_group
+ name: protocol__ire
required: false
schema:
items:
type: string
type: array
style: form
- - description: Tenant Group (name or ID) is null
- explode: true
- in: query
- name: tenant_group__isnull
- required: false
- schema:
- type: boolean
- style: form
- explode: true
in: query
- name: tenant_group__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead)"
- explode: true
- in: query
- name: tenant_id
- required: false
- schema:
- items:
- format: uuid
- nullable: true
- type: string
- type: array
- style: form
- - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead) is null"
- explode: true
- in: query
- name: tenant_id__isnull
- required: false
- schema:
- type: boolean
- style: form
- - description: "Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead)"
- explode: true
- in: query
- name: tenant_id__n
+ name: protocol__isw
required: false
schema:
items:
- format: uuid
- nullable: true
type: string
type: array
style: form
- explode: true
in: query
- name: type
+ name: protocol__n
required: false
schema:
items:
@@ -128157,7 +124182,7 @@ paths:
style: form
- explode: true
in: query
- name: type__ic
+ name: protocol__nic
required: false
schema:
items:
@@ -128166,7 +124191,7 @@ paths:
style: form
- explode: true
in: query
- name: type__ie
+ name: protocol__nie
required: false
schema:
items:
@@ -128175,7 +124200,7 @@ paths:
style: form
- explode: true
in: query
- name: type__iew
+ name: protocol__niew
required: false
schema:
items:
@@ -128184,7 +124209,7 @@ paths:
style: form
- explode: true
in: query
- name: type__ire
+ name: protocol__nire
required: false
schema:
items:
@@ -128193,7 +124218,7 @@ paths:
style: form
- explode: true
in: query
- name: type__isw
+ name: protocol__nisw
required: false
schema:
items:
@@ -128202,7 +124227,7 @@ paths:
style: form
- explode: true
in: query
- name: type__n
+ name: protocol__nre
required: false
schema:
items:
@@ -128211,34 +124236,32 @@ paths:
style: form
- explode: true
in: query
- name: type__nic
+ name: protocol__re
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Search
+ explode: true
in: query
- name: type__nie
+ name: q
required: false
schema:
- items:
- type: string
- type: array
+ type: string
style: form
- - explode: true
+ - description: Which field to use when ordering the results.
+ explode: true
in: query
- name: type__niew
+ name: sort
required: false
schema:
- items:
- type: string
- type: array
+ type: string
style: form
- explode: true
in: query
- name: type__nire
+ name: tags
required: false
schema:
items:
@@ -128247,16 +124270,14 @@ paths:
style: form
- explode: true
in: query
- name: type__nisw
+ name: tags__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: type__nre
+ name: tags__n
required: false
schema:
items:
@@ -128265,145 +124286,50 @@ paths:
style: form
- explode: true
in: query
- name: type__re
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: VLAN (ID)
- explode: true
- in: query
- name: vlan_id
+ name: teams
required: false
schema:
items:
- format: uuid
- nullable: true
type: string
type: array
style: form
- - description: VLAN (ID) is null
+ - description: Teams (name or ID) is null
explode: true
in: query
- name: vlan_id__isnull
+ name: teams__isnull
required: false
schema:
type: boolean
style: form
- - description: Exclude VLAN (ID)
- explode: true
+ - explode: true
in: query
- name: vlan_id__n
+ name: teams__n
required: false
schema:
items:
- format: uuid
- nullable: true
type: string
type: array
style: form
- - description: VLAN number (1-4095)
- explode: true
- in: query
- name: vlan_vid
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - description: VLAN number (1-4095) is greater than
- explode: true
- in: query
- name: vlan_vid__gt
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - description: VLAN number (1-4095) is greater than or equal to
- explode: true
- in: query
- name: vlan_vid__gte
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - description: VLAN number (1-4095) is less than
- explode: true
- in: query
- name: vlan_vid__lt
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - description: VLAN number (1-4095) is less than or equal to
- explode: true
- in: query
- name: vlan_vid__lte
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - description: Exclude VLAN number (1-4095)
- explode: true
- in: query
- name: vlan_vid__n
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- explode: true
in: query
- name: vrfs
+ name: virtual_machine
required: false
schema:
items:
type: string
type: array
style: form
- - description: Assigned VRF (ID or RD) is null
+ - description: Virtual machine (ID or name) is null
explode: true
in: query
- name: vrfs__isnull
+ name: virtual_machine__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: vrfs__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Within prefix
- explode: true
- in: query
- name: within
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Within and including prefix
- explode: true
- in: query
- name: within_include
+ name: virtual_machine__n
required: false
schema:
items:
@@ -128421,379 +124347,66 @@ paths:
minimum: 0
type: integer
style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedPrefixList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedPrefixList'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - ipam
- patch:
- description: Partial update a list of prefix objects.
- operationId: ipam_prefixes_bulk_partial_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- requestBody:
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/PatchedBulkWritablePrefixRequest'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/PatchedBulkWritablePrefixRequest'
- type: array
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/Prefix'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/Prefix'
- type: array
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - ipam
- post:
- description: Create one or more prefix objects.
- operationId: ipam_prefixes_create
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/WritablePrefixRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/WritablePrefixRequest'
- required: true
- responses:
- "201":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Prefix'
- text/csv:
- schema:
- $ref: '#/components/schemas/Prefix'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - ipam
- put:
- description: Update a list of prefix objects.
- operationId: ipam_prefixes_bulk_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- requestBody:
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/BulkWritablePrefixRequest'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/BulkWritablePrefixRequest'
- type: array
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/Prefix'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/Prefix'
- type: array
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - ipam
- /ipam/prefixes/{id}/:
- delete:
- description: Destroy a prefix object.
- operationId: ipam_prefixes_destroy
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this prefix.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- responses:
- "204":
- description: No response body
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - ipam
- get:
- description: Retrieve a prefix object.
- operationId: ipam_prefixes_retrieve
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this prefix.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Serializer Depth
+ - description: Exclude many-to-many fields from the response
explode: true
in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
- style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Prefix'
- text/csv:
- schema:
- $ref: '#/components/schemas/Prefix'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - ipam
- patch:
- description: Partial update a prefix object.
- operationId: ipam_prefixes_partial_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this prefix.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PatchedWritablePrefixRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/PatchedWritablePrefixRequest'
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Prefix'
- text/csv:
- schema:
- $ref: '#/components/schemas/Prefix'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - ipam
- put:
- description: Update a prefix object.
- operationId: ipam_prefixes_update
- parameters:
- - explode: true
- in: query
- name: format
+ name: exclude_m2m
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ default: false
+ type: boolean
style: form
- - description: A UUID string identifying this prefix.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/WritablePrefixRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/WritablePrefixRequest'
- required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Prefix'
+ $ref: "#/components/schemas/PaginatedServiceList"
text/csv:
schema:
- $ref: '#/components/schemas/Prefix'
+ $ref: "#/components/schemas/PaginatedServiceList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- ipam
- /ipam/prefixes/{id}/available-ips/:
- get:
- description: |-
- A convenience method for listing and/or allocating 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.
-
- This uses a Redis lock to prevent this API from being invoked in parallel, in order to avoid a race condition
- if multiple clients tried to simultaneously request allocation from the same parent prefix.
- operationId: ipam_prefixes_available_ips_list
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this IP address.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- - description: Which field to use when ordering the results.
- explode: true
- in: query
- name: sort
- required: false
- schema:
- type: string
- style: form
- - description: Serializer Depth
- explode: true
+ patch:
+ description: Partial update a list of service objects.
+ operationId: ipam_services_bulk_partial_update
+ parameters:
+ - explode: true
in: query
- name: depth
+ name: format
required: false
schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableServiceRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableServiceRequest"
+ type: array
+ required: true
responses:
"200":
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/AvailableIP'
+ $ref: "#/components/schemas/Service"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/AvailableIP'
+ $ref: "#/components/schemas/Service"
type: array
description: ""
security:
@@ -128802,81 +124415,76 @@ paths:
tags:
- ipam
post:
- description: |-
- A convenience method for listing and/or allocating 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.
-
- This uses a Redis lock to prevent this API from being invoked in parallel, in order to avoid a race condition
- if multiple clients tried to simultaneously request allocation from the same parent prefix.
- operationId: ipam_prefixes_available_ips_create
+ description: Create one or more service objects.
+ operationId: ipam_services_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this IP address.
- explode: false
- in: path
- name: id
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/WritableServiceRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/WritableServiceRequest"
required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- - description: Which field to use when ordering the results.
- explode: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Service"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/Service"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - ipam
+ put:
+ description: Update a list of service objects.
+ operationId: ipam_services_bulk_update
+ parameters:
+ - explode: true
in: query
- name: sort
+ name: format
required: false
schema:
- type: string
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/IPAllocationRequest'
+ $ref: "#/components/schemas/BulkWritableServiceRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/IPAllocationRequest'
+ $ref: "#/components/schemas/BulkWritableServiceRequest"
type: array
required: true
responses:
- "201":
+ "200":
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/IPAddress'
+ $ref: "#/components/schemas/Service"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/IPAddress'
+ $ref: "#/components/schemas/Service"
type: array
description: ""
security:
@@ -128884,23 +124492,19 @@ paths:
- tokenAuth: []
tags:
- ipam
- /ipam/prefixes/{id}/available-prefixes/:
- get:
- description: |-
- A convenience method for listing and/or allocating available child prefixes within a parent.
-
- This uses a Redis lock to prevent this API from being invoked in parallel, in order to avoid a race condition
- if multiple clients tried to simultaneously request allocation from the same parent prefix.
- operationId: ipam_prefixes_available_prefixes_list
+ /ipam/services/{id}/:
+ delete:
+ description: Destroy a service object.
+ operationId: ipam_services_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this prefix.
+ - description: A UUID string identifying this service.
explode: false
in: path
name: id
@@ -128909,30 +124513,34 @@ paths:
format: uuid
type: string
style: simple
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- - description: The initial index from which to return the results.
- explode: true
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - ipam
+ get:
+ description: Retrieve a service object.
+ operationId: ipam_services_retrieve
+ parameters:
+ - explode: true
in: query
- name: offset
+ name: format
required: false
schema:
- type: integer
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: Which field to use when ordering the results.
- explode: true
- in: query
- name: sort
- required: false
+ - description: A UUID string identifying this service.
+ explode: false
+ in: path
+ name: id
+ required: true
schema:
+ format: uuid
type: string
- style: form
+ style: simple
- description: Serializer Depth
explode: true
in: query
@@ -128944,37 +124552,42 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedAvailablePrefixList'
+ $ref: "#/components/schemas/Service"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedAvailablePrefixList'
+ $ref: "#/components/schemas/Service"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- ipam
- post:
- description: |-
- A convenience method for listing and/or allocating available child prefixes within a parent.
-
- This uses a Redis lock to prevent this API from being invoked in parallel, in order to avoid a race condition
- if multiple clients tried to simultaneously request allocation from the same parent prefix.
- operationId: ipam_prefixes_available_prefixes_create
+ patch:
+ description: Partial update a service object.
+ operationId: ipam_services_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this prefix.
+ - description: A UUID string identifying this service.
explode: false
in: path
name: id
@@ -128983,67 +124596,86 @@ paths:
format: uuid
type: string
style: simple
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- - description: The initial index from which to return the results.
- explode: true
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PatchedWritableServiceRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PatchedWritableServiceRequest"
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Service"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/Service"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - ipam
+ put:
+ description: Update a service object.
+ operationId: ipam_services_update
+ parameters:
+ - explode: true
in: query
- name: offset
+ name: format
required: false
schema:
- type: integer
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: Which field to use when ordering the results.
- explode: true
- in: query
- name: sort
- required: false
+ - description: A UUID string identifying this service.
+ explode: false
+ in: path
+ name: id
+ required: true
schema:
+ format: uuid
type: string
- style: form
+ style: simple
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/PrefixLengthRequest'
+ $ref: "#/components/schemas/WritableServiceRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PrefixLengthRequest'
+ $ref: "#/components/schemas/WritableServiceRequest"
required: true
responses:
- "201":
+ "200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedPrefixList'
+ $ref: "#/components/schemas/Service"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedPrefixList'
+ $ref: "#/components/schemas/Service"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- ipam
- /ipam/prefixes/{id}/notes/:
+ /ipam/services/{id}/notes/:
get:
description: API methods for returning or creating notes on an object.
- operationId: ipam_prefixes_notes_list
+ operationId: ipam_services_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this prefix.
+ - description: A UUID string identifying this service.
explode: false
in: path
name: id
@@ -129079,15 +124711,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -129096,16 +124737,16 @@ paths:
- ipam
post:
description: API methods for returning or creating notes on an object.
- operationId: ipam_prefixes_notes_create
+ operationId: ipam_services_notes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this prefix.
+ - description: A UUID string identifying this service.
explode: false
in: path
name: id
@@ -129118,49 +124759,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- ipam
- /ipam/rirs/:
+ /ipam/vlan-groups/:
delete:
- description: Destroy a list of RIR objects.
- operationId: ipam_rirs_bulk_destroy
+ description: Destroy a list of VLAN group objects.
+ operationId: ipam_vlan_groups_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -129172,8 +124813,8 @@ paths:
tags:
- ipam
get:
- description: Retrieve a list of RIR objects.
- operationId: ipam_rirs_list
+ description: Retrieve a list of VLAN group objects.
+ operationId: ipam_vlan_groups_list
parameters:
- explode: true
in: query
@@ -129192,14 +124833,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -129403,21 +125044,21 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -129431,56 +125072,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -129493,84 +125084,44 @@ paths:
style: form
- explode: true
in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
+ name: last_updated
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__nre
+ name: last_updated__gt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__re
+ name: last_updated__gte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: is_private
+ name: last_updated__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: last_updated
+ name: last_updated__lt
required: false
schema:
items:
@@ -129580,7 +125131,7 @@ paths:
style: form
- explode: true
in: query
- name: last_updated__gt
+ name: last_updated__lte
required: false
schema:
items:
@@ -129590,7 +125141,7 @@ paths:
style: form
- explode: true
in: query
- name: last_updated__gte
+ name: last_updated__n
required: false
schema:
items:
@@ -129598,51 +125149,40 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Number of results to return per page.
+ explode: true
in: query
- name: last_updated__isnull
+ name: limit
required: false
schema:
- type: boolean
+ type: integer
style: form
- explode: true
in: query
- name: last_updated__lt
+ name: location
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - explode: true
+ - description: Location (name or ID) is null
+ explode: true
in: query
- name: last_updated__lte
+ name: location__isnull
required: false
schema:
- items:
- format: date-time
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: last_updated__n
+ name: location__n
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- explode: true
in: query
name: name
@@ -129793,6 +125333,31 @@ paths:
schema:
type: string
style: form
+ - explode: true
+ in: query
+ name: tags
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: tags__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: tags__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- explode: true
in: query
name: teams
@@ -129810,14 +125375,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -129830,15 +125395,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedRIRList'
+ $ref: "#/components/schemas/PaginatedVLANGroupList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedRIRList'
+ $ref: "#/components/schemas/PaginatedVLANGroupList"
description: ""
security:
- cookieAuth: []
@@ -129846,27 +125420,27 @@ paths:
tags:
- ipam
patch:
- description: Partial update a list of RIR objects.
- operationId: ipam_rirs_bulk_partial_update
+ description: Partial update a list of VLAN group objects.
+ operationId: ipam_vlan_groups_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableRIRRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableVLANGroupRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableRIRRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableVLANGroupRequest"
type: array
required: true
responses:
@@ -129875,12 +125449,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/RIR'
+ $ref: "#/components/schemas/VLANGroup"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/RIR'
+ $ref: "#/components/schemas/VLANGroup"
type: array
description: ""
security:
@@ -129889,34 +125463,34 @@ paths:
tags:
- ipam
post:
- description: Create one or more RIR objects.
- operationId: ipam_rirs_create
+ description: Create one or more VLAN group objects.
+ operationId: ipam_vlan_groups_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/RIRRequest'
+ $ref: "#/components/schemas/VLANGroupRequest"
text/csv:
schema:
- $ref: '#/components/schemas/RIRRequest'
+ $ref: "#/components/schemas/VLANGroupRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/RIR'
+ $ref: "#/components/schemas/VLANGroup"
text/csv:
schema:
- $ref: '#/components/schemas/RIR'
+ $ref: "#/components/schemas/VLANGroup"
description: ""
security:
- cookieAuth: []
@@ -129924,27 +125498,27 @@ paths:
tags:
- ipam
put:
- description: Update a list of RIR objects.
- operationId: ipam_rirs_bulk_update
+ description: Update a list of VLAN group objects.
+ operationId: ipam_vlan_groups_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableRIRRequest'
+ $ref: "#/components/schemas/BulkWritableVLANGroupRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableRIRRequest'
+ $ref: "#/components/schemas/BulkWritableVLANGroupRequest"
type: array
required: true
responses:
@@ -129953,12 +125527,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/RIR'
+ $ref: "#/components/schemas/VLANGroup"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/RIR'
+ $ref: "#/components/schemas/VLANGroup"
type: array
description: ""
security:
@@ -129966,19 +125540,19 @@ paths:
- tokenAuth: []
tags:
- ipam
- /ipam/rirs/{id}/:
+ /ipam/vlan-groups/{id}/:
delete:
- description: Destroy a RIR object.
- operationId: ipam_rirs_destroy
+ description: Destroy a VLAN group object.
+ operationId: ipam_vlan_groups_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this RIR.
+ - description: A UUID string identifying this VLAN group.
explode: false
in: path
name: id
@@ -129996,17 +125570,17 @@ paths:
tags:
- ipam
get:
- description: Retrieve a RIR object.
- operationId: ipam_rirs_retrieve
+ description: Retrieve a VLAN group object.
+ operationId: ipam_vlan_groups_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this RIR.
+ - description: A UUID string identifying this VLAN group.
explode: false
in: path
name: id
@@ -130026,15 +125600,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/RIR'
+ $ref: "#/components/schemas/VLANGroup"
text/csv:
schema:
- $ref: '#/components/schemas/RIR'
+ $ref: "#/components/schemas/VLANGroup"
description: ""
security:
- cookieAuth: []
@@ -130042,17 +125625,17 @@ paths:
tags:
- ipam
patch:
- description: Partial update a RIR object.
- operationId: ipam_rirs_partial_update
+ description: Partial update a VLAN group object.
+ operationId: ipam_vlan_groups_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this RIR.
+ - description: A UUID string identifying this VLAN group.
explode: false
in: path
name: id
@@ -130065,19 +125648,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedRIRRequest'
+ $ref: "#/components/schemas/PatchedVLANGroupRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedRIRRequest'
+ $ref: "#/components/schemas/PatchedVLANGroupRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/RIR'
+ $ref: "#/components/schemas/VLANGroup"
text/csv:
schema:
- $ref: '#/components/schemas/RIR'
+ $ref: "#/components/schemas/VLANGroup"
description: ""
security:
- cookieAuth: []
@@ -130085,17 +125668,17 @@ paths:
tags:
- ipam
put:
- description: Update a RIR object.
- operationId: ipam_rirs_update
+ description: Update a VLAN group object.
+ operationId: ipam_vlan_groups_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this RIR.
+ - description: A UUID string identifying this VLAN group.
explode: false
in: path
name: id
@@ -130108,39 +125691,197 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/RIRRequest'
+ $ref: "#/components/schemas/VLANGroupRequest"
text/csv:
schema:
- $ref: '#/components/schemas/RIRRequest'
+ $ref: "#/components/schemas/VLANGroupRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/RIR'
+ $ref: "#/components/schemas/VLANGroup"
text/csv:
schema:
- $ref: '#/components/schemas/RIR'
+ $ref: "#/components/schemas/VLANGroup"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- ipam
- /ipam/rirs/{id}/notes/:
+ /ipam/vlan-groups/{id}/available-vlans/:
+ get:
+ description: |-
+ A convenience method for listing available VLAN IDs within a VLANGroup.
+ By default, the number of VIDs 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.
+ operationId: ipam_vlan_groups_available_vlans_list
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this VLAN.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: The initial index from which to return the results.
+ explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: Which field to use when ordering the results.
+ explode: true
+ in: query
+ name: sort
+ required: false
+ schema:
+ type: string
+ style: form
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ipam_vlan_groups_available_vlans_list_200_response"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/ipam_vlan_groups_available_vlans_list_200_response"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - ipam
+ post:
+ description: |-
+ A convenience method for listing available VLAN IDs within a VLANGroup.
+ By default, the number of VIDs 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.
+ operationId: ipam_vlan_groups_available_vlans_create
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this VLAN.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: The initial index from which to return the results.
+ explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: Which field to use when ordering the results.
+ explode: true
+ in: query
+ name: sort
+ required: false
+ schema:
+ type: string
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/VLANAllocationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/VLANAllocationRequest"
+ type: array
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedVLANList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedVLANList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - ipam
+ /ipam/vlan-groups/{id}/notes/:
get:
description: API methods for returning or creating notes on an object.
- operationId: ipam_rirs_notes_list
+ operationId: ipam_vlan_groups_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this RIR.
+ - description: A UUID string identifying this VLAN group.
explode: false
in: path
name: id
@@ -130176,15 +125917,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -130193,16 +125943,16 @@ paths:
- ipam
post:
description: API methods for returning or creating notes on an object.
- operationId: ipam_rirs_notes_create
+ operationId: ipam_vlan_groups_notes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this RIR.
+ - description: A UUID string identifying this VLAN group.
explode: false
in: path
name: id
@@ -130215,49 +125965,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- ipam
- /ipam/route-targets/:
+ /ipam/vlan-location-assignments/:
delete:
- description: Destroy a list of route target objects.
- operationId: ipam_route_targets_bulk_destroy
+ description: Destroy a list of vlan location assignment objects.
+ operationId: ipam_vlan_location_assignments_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -130269,48 +126019,51 @@ paths:
tags:
- ipam
get:
- description: Retrieve a list of route target objects.
- operationId: ipam_route_targets_list
+ description: Retrieve a list of vlan location assignment objects.
+ operationId: ipam_vlan_location_assignments_list
parameters:
- explode: true
in: query
- name: contacts
+ name: created
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- - description: Contacts (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: contacts__isnull
+ name: format
required: false
schema:
- type: boolean
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: Exclude Contacts (name or ID)
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
explode: true
in: query
- name: contacts__n
+ name: id
required: false
schema:
- format: uuid
- type: string
+ items:
+ format: uuid
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: created
+ name: id__n
required: false
schema:
items:
- format: date-time
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: created__gt
+ name: last_updated
required: false
schema:
items:
@@ -130318,91 +126071,469 @@ paths:
type: string
type: array
style: form
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
- explode: true
in: query
- name: created__gte
+ name: location
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__isnull
+ name: location__n
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
+ style: form
+ - description: The initial index from which to return the results.
+ explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: Search
+ explode: true
+ in: query
+ name: q
+ required: false
+ schema:
+ type: string
+ style: form
+ - description: Which field to use when ordering the results.
+ explode: true
+ in: query
+ name: sort
+ required: false
+ schema:
+ type: string
style: form
- explode: true
in: query
- name: created__lt
+ name: vlan
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__lte
+ name: vlan__n
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedVLANLocationAssignmentList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedVLANLocationAssignmentList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - ipam
+ patch:
+ description: Partial update a list of vlan location assignment objects.
+ operationId: ipam_vlan_location_assignments_bulk_partial_update
+ parameters:
- explode: true
in: query
- name: created__n
+ name: format
required: false
schema:
- items:
- format: date-time
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableVLANLocationAssignmentRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableVLANLocationAssignmentRequest"
+ type: array
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/VLANLocationAssignment"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/VLANLocationAssignment"
+ type: array
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - ipam
+ post:
+ description: Create one or more vlan location assignment objects.
+ operationId: ipam_vlan_location_assignments_create
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/VLANLocationAssignmentRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/VLANLocationAssignmentRequest"
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/VLANLocationAssignment"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/VLANLocationAssignment"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - ipam
+ put:
+ description: Update a list of vlan location assignment objects.
+ operationId: ipam_vlan_location_assignments_bulk_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableVLANLocationAssignmentRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableVLANLocationAssignmentRequest"
+ type: array
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/VLANLocationAssignment"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/VLANLocationAssignment"
+ type: array
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - ipam
+ /ipam/vlan-location-assignments/{id}/:
+ delete:
+ description: Destroy a vlan location assignment object.
+ operationId: ipam_vlan_location_assignments_destroy
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this vlan location assignment.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - ipam
+ get:
+ description: Retrieve a vlan location assignment object.
+ operationId: ipam_vlan_location_assignments_retrieve
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this vlan location assignment.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/VLANLocationAssignment"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/VLANLocationAssignment"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - ipam
+ patch:
+ description: Partial update a vlan location assignment object.
+ operationId: ipam_vlan_location_assignments_partial_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this vlan location assignment.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PatchedVLANLocationAssignmentRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PatchedVLANLocationAssignmentRequest"
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/VLANLocationAssignment"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/VLANLocationAssignment"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - ipam
+ put:
+ description: Update a vlan location assignment object.
+ operationId: ipam_vlan_location_assignments_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ - description: A UUID string identifying this vlan location assignment.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/VLANLocationAssignmentRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/VLANLocationAssignmentRequest"
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/VLANLocationAssignment"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/VLANLocationAssignment"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - ipam
+ /ipam/vlans/:
+ delete:
+ description: Destroy a list of VLAN objects.
+ operationId: ipam_vlans_bulk_destroy
+ parameters:
- explode: true
in: query
- name: dynamic_groups
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ required: true
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - ipam
+ get:
+ description: Retrieve a list of VLAN objects.
+ operationId: ipam_vlans_list
+ parameters:
+ - description: Device (ID)
+ explode: true
+ in: query
+ name: available_on_device
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
- in: query
- name: dynamic_groups__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
- name: exporting_vrfs
+ name: contacts
required: false
schema:
items:
type: string
type: array
style: form
- - description: Export VRF(s) (ID or RD) is null
+ - description: Contacts (name or ID) is null
explode: true
in: query
- name: exporting_vrfs__isnull
+ name: contacts__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: exporting_vrfs__n
+ name: contacts__n
required: false
schema:
items:
@@ -130411,116 +126542,101 @@ paths:
style: form
- explode: true
in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
- explode: true
- in: query
- name: id
+ name: created
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__ic
+ name: created__gt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__ie
+ name: created__gte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: created__isnull
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: id__ire
+ name: created__lt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: created__lte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__n
+ name: created__n
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__nic
+ name: dynamic_groups
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: dynamic_groups__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: format
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - explode: true
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
in: query
- name: id__nire
+ name: id
required: false
schema:
items:
@@ -130530,7 +126646,7 @@ paths:
style: form
- explode: true
in: query
- name: id__nisw
+ name: id__n
required: false
schema:
items:
@@ -130540,53 +126656,44 @@ paths:
style: form
- explode: true
in: query
- name: id__nre
+ name: last_updated
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__re
+ name: last_updated__gt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: importing_vrfs
+ name: last_updated__gte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- - description: Import VRF(s) (ID or RD) is null
- explode: true
- in: query
- name: importing_vrfs__isnull
- required: false
- schema:
- type: boolean
- style: form
- explode: true
in: query
- name: importing_vrfs__n
+ name: last_updated__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: last_updated
+ name: last_updated__lt
required: false
schema:
items:
@@ -130596,7 +126703,7 @@ paths:
style: form
- explode: true
in: query
- name: last_updated__gt
+ name: last_updated__lte
required: false
schema:
items:
@@ -130606,7 +126713,7 @@ paths:
style: form
- explode: true
in: query
- name: last_updated__gte
+ name: last_updated__n
required: false
schema:
items:
@@ -130614,50 +126721,49 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Number of results to return per page.
+ explode: true
in: query
- name: last_updated__isnull
+ name: limit
required: false
schema:
- type: boolean
+ type: integer
style: form
- explode: true
in: query
- name: last_updated__lt
+ name: location
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__lte
+ name: location__n
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__n
+ name: locations
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - description: Number of results to return per page.
- explode: true
+ - explode: true
in: query
- name: limit
+ name: locations__n
required: false
schema:
- type: integer
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -130801,6 +126907,32 @@ paths:
schema:
type: string
style: form
+ - explode: true
+ in: query
+ name: role
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Role (name or ID) is null
+ explode: true
+ in: query
+ name: role__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: role__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- description: Which field to use when ordering the results.
explode: true
in: query
@@ -130809,6 +126941,24 @@ paths:
schema:
type: string
style: form
+ - explode: true
+ in: query
+ name: status
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: status__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- explode: true
in: query
name: tags
@@ -130851,14 +127001,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -130944,6 +127094,86 @@ paths:
type: string
type: array
style: form
+ - explode: true
+ in: query
+ name: vid
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: vid__gt
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: vid__gte
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: vid__lt
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: vid__lte
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: vid__n
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: vlan_group
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: VLAN Group (name or ID) is null
+ explode: true
+ in: query
+ name: vlan_group__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: vlan_group__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- description: Serializer Depth
explode: true
in: query
@@ -130955,15 +127185,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedRouteTargetList'
+ $ref: "#/components/schemas/PaginatedVLANList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedRouteTargetList'
+ $ref: "#/components/schemas/PaginatedVLANList"
description: ""
security:
- cookieAuth: []
@@ -130971,27 +127210,27 @@ paths:
tags:
- ipam
patch:
- description: Partial update a list of route target objects.
- operationId: ipam_route_targets_bulk_partial_update
+ description: Partial update a list of VLAN objects.
+ operationId: ipam_vlans_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableRouteTargetRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableVLANRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableRouteTargetRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableVLANRequest"
type: array
required: true
responses:
@@ -131000,12 +127239,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/RouteTarget'
+ $ref: "#/components/schemas/VLAN"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/RouteTarget'
+ $ref: "#/components/schemas/VLAN"
type: array
description: ""
security:
@@ -131014,34 +127253,34 @@ paths:
tags:
- ipam
post:
- description: Create one or more route target objects.
- operationId: ipam_route_targets_create
+ description: Create one or more VLAN objects.
+ operationId: ipam_vlans_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/RouteTargetRequest'
+ $ref: "#/components/schemas/VLANRequest"
text/csv:
schema:
- $ref: '#/components/schemas/RouteTargetRequest'
+ $ref: "#/components/schemas/VLANRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/RouteTarget'
+ $ref: "#/components/schemas/VLAN"
text/csv:
schema:
- $ref: '#/components/schemas/RouteTarget'
+ $ref: "#/components/schemas/VLAN"
description: ""
security:
- cookieAuth: []
@@ -131049,27 +127288,27 @@ paths:
tags:
- ipam
put:
- description: Update a list of route target objects.
- operationId: ipam_route_targets_bulk_update
+ description: Update a list of VLAN objects.
+ operationId: ipam_vlans_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableRouteTargetRequest'
+ $ref: "#/components/schemas/BulkWritableVLANRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableRouteTargetRequest'
+ $ref: "#/components/schemas/BulkWritableVLANRequest"
type: array
required: true
responses:
@@ -131078,12 +127317,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/RouteTarget'
+ $ref: "#/components/schemas/VLAN"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/RouteTarget'
+ $ref: "#/components/schemas/VLAN"
type: array
description: ""
security:
@@ -131091,19 +127330,19 @@ paths:
- tokenAuth: []
tags:
- ipam
- /ipam/route-targets/{id}/:
+ /ipam/vlans/{id}/:
delete:
- description: Destroy a route target object.
- operationId: ipam_route_targets_destroy
+ description: Destroy a VLAN object.
+ operationId: ipam_vlans_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this route target.
+ - description: A UUID string identifying this VLAN.
explode: false
in: path
name: id
@@ -131121,17 +127360,17 @@ paths:
tags:
- ipam
get:
- description: Retrieve a route target object.
- operationId: ipam_route_targets_retrieve
+ description: Retrieve a VLAN object.
+ operationId: ipam_vlans_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this route target.
+ - description: A UUID string identifying this VLAN.
explode: false
in: path
name: id
@@ -131151,15 +127390,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/RouteTarget'
+ $ref: "#/components/schemas/VLAN"
text/csv:
schema:
- $ref: '#/components/schemas/RouteTarget'
+ $ref: "#/components/schemas/VLAN"
description: ""
security:
- cookieAuth: []
@@ -131167,17 +127415,17 @@ paths:
tags:
- ipam
patch:
- description: Partial update a route target object.
- operationId: ipam_route_targets_partial_update
+ description: Partial update a VLAN object.
+ operationId: ipam_vlans_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this route target.
+ - description: A UUID string identifying this VLAN.
explode: false
in: path
name: id
@@ -131190,19 +127438,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedRouteTargetRequest'
+ $ref: "#/components/schemas/PatchedVLANRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedRouteTargetRequest'
+ $ref: "#/components/schemas/PatchedVLANRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/RouteTarget'
+ $ref: "#/components/schemas/VLAN"
text/csv:
schema:
- $ref: '#/components/schemas/RouteTarget'
+ $ref: "#/components/schemas/VLAN"
description: ""
security:
- cookieAuth: []
@@ -131210,17 +127458,17 @@ paths:
tags:
- ipam
put:
- description: Update a route target object.
- operationId: ipam_route_targets_update
+ description: Update a VLAN object.
+ operationId: ipam_vlans_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this route target.
+ - description: A UUID string identifying this VLAN.
explode: false
in: path
name: id
@@ -131233,39 +127481,39 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/RouteTargetRequest'
+ $ref: "#/components/schemas/VLANRequest"
text/csv:
schema:
- $ref: '#/components/schemas/RouteTargetRequest'
+ $ref: "#/components/schemas/VLANRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/RouteTarget'
+ $ref: "#/components/schemas/VLAN"
text/csv:
schema:
- $ref: '#/components/schemas/RouteTarget'
+ $ref: "#/components/schemas/VLAN"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- ipam
- /ipam/route-targets/{id}/notes/:
+ /ipam/vlans/{id}/notes/:
get:
description: API methods for returning or creating notes on an object.
- operationId: ipam_route_targets_notes_list
+ operationId: ipam_vlans_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this route target.
+ - description: A UUID string identifying this VLAN.
explode: false
in: path
name: id
@@ -131301,15 +127549,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -131318,16 +127575,16 @@ paths:
- ipam
post:
description: API methods for returning or creating notes on an object.
- operationId: ipam_route_targets_notes_create
+ operationId: ipam_vlans_notes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this route target.
+ - description: A UUID string identifying this VLAN.
explode: false
in: path
name: id
@@ -131340,49 +127597,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- ipam
- /ipam/services/:
+ /ipam/vrf-device-assignments/:
delete:
- description: Destroy a list of service objects.
- operationId: ipam_services_bulk_destroy
+ description: Destroy a list of VRF-device assignment objects.
+ operationId: ipam_vrf_device_assignments_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -131394,35 +127651,9 @@ paths:
tags:
- ipam
get:
- description: Retrieve a list of service objects.
- operationId: ipam_services_list
+ description: Retrieve a list of VRF-device assignment objects.
+ operationId: ipam_vrf_device_assignments_list
parameters:
- - explode: true
- in: query
- name: contacts
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Contacts (name or ID) is null
- explode: true
- in: query
- name: contacts__isnull
- required: false
- schema:
- type: boolean
- style: form
- - description: Exclude Contacts (name or ID)
- explode: true
- in: query
- name: contacts__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
name: created
@@ -131433,63 +127664,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: created__gt
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: created__gte
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: created__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: created__lt
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: created__lte
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: created__n
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- explode: true
in: query
name: device
@@ -131516,30 +127690,12 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: dynamic_groups
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
- in: query
- name: dynamic_groups__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -131553,56 +127709,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -131613,76 +127719,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: last_updated
@@ -131693,63 +127729,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: last_updated__gt
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: last_updated__gte
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: last_updated__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: last_updated__lt
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: last_updated__lte
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: last_updated__n
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- description: Number of results to return per page.
explode: true
in: query
@@ -131892,16 +127871,17 @@ paths:
schema:
type: integer
style: form
- - explode: true
+ - description: Search
+ explode: true
in: query
- name: ports
+ name: q
required: false
schema:
- type: number
+ type: string
style: form
- explode: true
in: query
- name: protocol
+ name: rd
required: false
schema:
items:
@@ -131910,7 +127890,7 @@ paths:
style: form
- explode: true
in: query
- name: protocol__ic
+ name: rd__ic
required: false
schema:
items:
@@ -131919,7 +127899,7 @@ paths:
style: form
- explode: true
in: query
- name: protocol__ie
+ name: rd__ie
required: false
schema:
items:
@@ -131928,7 +127908,7 @@ paths:
style: form
- explode: true
in: query
- name: protocol__iew
+ name: rd__iew
required: false
schema:
items:
@@ -131937,7 +127917,7 @@ paths:
style: form
- explode: true
in: query
- name: protocol__ire
+ name: rd__ire
required: false
schema:
items:
@@ -131946,16 +127926,14 @@ paths:
style: form
- explode: true
in: query
- name: protocol__isw
+ name: rd__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: protocol__n
+ name: rd__isw
required: false
schema:
items:
@@ -131964,7 +127942,7 @@ paths:
style: form
- explode: true
in: query
- name: protocol__nic
+ name: rd__n
required: false
schema:
items:
@@ -131973,7 +127951,7 @@ paths:
style: form
- explode: true
in: query
- name: protocol__nie
+ name: rd__nic
required: false
schema:
items:
@@ -131982,7 +127960,7 @@ paths:
style: form
- explode: true
in: query
- name: protocol__niew
+ name: rd__nie
required: false
schema:
items:
@@ -131991,7 +127969,7 @@ paths:
style: form
- explode: true
in: query
- name: protocol__nire
+ name: rd__niew
required: false
schema:
items:
@@ -132000,7 +127978,7 @@ paths:
style: form
- explode: true
in: query
- name: protocol__nisw
+ name: rd__nire
required: false
schema:
items:
@@ -132009,7 +127987,7 @@ paths:
style: form
- explode: true
in: query
- name: protocol__nre
+ name: rd__nisw
required: false
schema:
items:
@@ -132018,20 +127996,21 @@ paths:
style: form
- explode: true
in: query
- name: protocol__re
+ name: rd__nre
required: false
schema:
items:
type: string
type: array
style: form
- - description: Search
- explode: true
+ - explode: true
in: query
- name: q
+ name: rd__re
required: false
schema:
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Which field to use when ordering the results.
explode: true
@@ -132043,23 +128022,24 @@ paths:
style: form
- explode: true
in: query
- name: tags
+ name: virtual_device_context
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Virtual Device Context (ID or name) is null
+ explode: true
in: query
- name: tags__isnull
+ name: virtual_device_context__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: tags__n
+ name: virtual_device_context__n
required: false
schema:
items:
@@ -132068,50 +128048,42 @@ paths:
style: form
- explode: true
in: query
- name: teams
+ name: virtual_machine
required: false
schema:
items:
type: string
type: array
style: form
- - description: Teams (name or ID) is null
+ - description: Virtual Machine (ID or name) is null
explode: true
in: query
- name: teams__isnull
+ name: virtual_machine__isnull
required: false
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
- in: query
- name: teams__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
- name: virtual_machine
+ name: virtual_machine__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Virtual machine (ID or name) is null
- explode: true
+ - explode: true
in: query
- name: virtual_machine__isnull
+ name: vrf
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: virtual_machine__n
+ name: vrf__n
required: false
schema:
items:
@@ -132129,15 +128101,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedServiceList'
+ $ref: "#/components/schemas/PaginatedVRFDeviceAssignmentList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedServiceList'
+ $ref: "#/components/schemas/PaginatedVRFDeviceAssignmentList"
description: ""
security:
- cookieAuth: []
@@ -132145,27 +128126,27 @@ paths:
tags:
- ipam
patch:
- description: Partial update a list of service objects.
- operationId: ipam_services_bulk_partial_update
+ description: Partial update a list of VRF-device assignment objects.
+ operationId: ipam_vrf_device_assignments_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableServiceRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableVRFDeviceAssignmentRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableServiceRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableVRFDeviceAssignmentRequest"
type: array
required: true
responses:
@@ -132174,12 +128155,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Service'
+ $ref: "#/components/schemas/VRFDeviceAssignment"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Service'
+ $ref: "#/components/schemas/VRFDeviceAssignment"
type: array
description: ""
security:
@@ -132188,34 +128169,34 @@ paths:
tags:
- ipam
post:
- description: Create one or more service objects.
- operationId: ipam_services_create
+ description: Create one or more VRF-device assignment objects.
+ operationId: ipam_vrf_device_assignments_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableServiceRequest'
+ $ref: "#/components/schemas/VRFDeviceAssignmentRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableServiceRequest'
+ $ref: "#/components/schemas/VRFDeviceAssignmentRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Service'
+ $ref: "#/components/schemas/VRFDeviceAssignment"
text/csv:
schema:
- $ref: '#/components/schemas/Service'
+ $ref: "#/components/schemas/VRFDeviceAssignment"
description: ""
security:
- cookieAuth: []
@@ -132223,27 +128204,27 @@ paths:
tags:
- ipam
put:
- description: Update a list of service objects.
- operationId: ipam_services_bulk_update
+ description: Update a list of VRF-device assignment objects.
+ operationId: ipam_vrf_device_assignments_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableServiceRequest'
+ $ref: "#/components/schemas/BulkWritableVRFDeviceAssignmentRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableServiceRequest'
+ $ref: "#/components/schemas/BulkWritableVRFDeviceAssignmentRequest"
type: array
required: true
responses:
@@ -132252,12 +128233,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Service'
+ $ref: "#/components/schemas/VRFDeviceAssignment"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Service'
+ $ref: "#/components/schemas/VRFDeviceAssignment"
type: array
description: ""
security:
@@ -132265,19 +128246,19 @@ paths:
- tokenAuth: []
tags:
- ipam
- /ipam/services/{id}/:
+ /ipam/vrf-device-assignments/{id}/:
delete:
- description: Destroy a service object.
- operationId: ipam_services_destroy
+ description: Destroy a VRF-device assignment object.
+ operationId: ipam_vrf_device_assignments_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this service.
+ - description: A UUID string identifying this VRF-device assignment.
explode: false
in: path
name: id
@@ -132295,17 +128276,17 @@ paths:
tags:
- ipam
get:
- description: Retrieve a service object.
- operationId: ipam_services_retrieve
+ description: Retrieve a VRF-device assignment object.
+ operationId: ipam_vrf_device_assignments_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this service.
+ - description: A UUID string identifying this VRF-device assignment.
explode: false
in: path
name: id
@@ -132325,15 +128306,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Service'
+ $ref: "#/components/schemas/VRFDeviceAssignment"
text/csv:
schema:
- $ref: '#/components/schemas/Service'
+ $ref: "#/components/schemas/VRFDeviceAssignment"
description: ""
security:
- cookieAuth: []
@@ -132341,17 +128331,60 @@ paths:
tags:
- ipam
patch:
- description: Partial update a service object.
- operationId: ipam_services_partial_update
+ description: Partial update a VRF-device assignment object.
+ operationId: ipam_vrf_device_assignments_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this service.
+ - description: A UUID string identifying this VRF-device assignment.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PatchedVRFDeviceAssignmentRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PatchedVRFDeviceAssignmentRequest"
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/VRFDeviceAssignment"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/VRFDeviceAssignment"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - ipam
+ put:
+ description: Update a VRF-device assignment object.
+ operationId: ipam_vrf_device_assignments_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this VRF-device assignment.
explode: false
in: path
name: id
@@ -132364,37 +128397,349 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedWritableServiceRequest'
+ $ref: "#/components/schemas/VRFDeviceAssignmentRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/VRFDeviceAssignmentRequest"
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/VRFDeviceAssignment"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/VRFDeviceAssignment"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - ipam
+ /ipam/vrf-prefix-assignments/:
+ delete:
+ description: Destroy a list of VRF-prefix assignment objects.
+ operationId: ipam_vrf_prefix_assignments_bulk_destroy
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ required: true
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - ipam
+ get:
+ description: Retrieve a list of VRF-prefix assignment objects.
+ operationId: ipam_vrf_prefix_assignments_list
+ parameters:
+ - explode: true
+ in: query
+ name: created
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
+ in: query
+ name: id
+ required: false
+ schema:
+ items:
+ format: uuid
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: id__n
+ required: false
+ schema:
+ items:
+ format: uuid
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: last_updated
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: The initial index from which to return the results.
+ explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
+ - explode: true
+ in: query
+ name: prefix
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: prefix__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Search
+ explode: true
+ in: query
+ name: q
+ required: false
+ schema:
+ type: string
+ style: form
+ - description: Which field to use when ordering the results.
+ explode: true
+ in: query
+ name: sort
+ required: false
+ schema:
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: vrf
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: vrf__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedVRFPrefixAssignmentList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedVRFPrefixAssignmentList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - ipam
+ patch:
+ description: Partial update a list of VRF-prefix assignment objects.
+ operationId: ipam_vrf_prefix_assignments_bulk_partial_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableVRFPrefixAssignmentRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableVRFPrefixAssignmentRequest"
+ type: array
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/VRFPrefixAssignment"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/VRFPrefixAssignment"
+ type: array
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - ipam
+ post:
+ description: Create one or more VRF-prefix assignment objects.
+ operationId: ipam_vrf_prefix_assignments_create
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/VRFPrefixAssignmentRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/VRFPrefixAssignmentRequest"
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/VRFPrefixAssignment"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/VRFPrefixAssignment"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - ipam
+ put:
+ description: Update a list of VRF-prefix assignment objects.
+ operationId: ipam_vrf_prefix_assignments_bulk_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableVRFPrefixAssignmentRequest"
+ type: array
text/csv:
schema:
- $ref: '#/components/schemas/PatchedWritableServiceRequest'
+ items:
+ $ref: "#/components/schemas/BulkWritableVRFPrefixAssignmentRequest"
+ type: array
+ required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Service'
+ items:
+ $ref: "#/components/schemas/VRFPrefixAssignment"
+ type: array
text/csv:
schema:
- $ref: '#/components/schemas/Service'
+ items:
+ $ref: "#/components/schemas/VRFPrefixAssignment"
+ type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- ipam
- put:
- description: Update a service object.
- operationId: ipam_services_update
+ /ipam/vrf-prefix-assignments/{id}/:
+ delete:
+ description: Destroy a VRF-prefix assignment object.
+ operationId: ipam_vrf_prefix_assignments_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this service.
+ - description: A UUID string identifying this VRF-prefix assignment.
explode: false
in: path
name: id
@@ -132403,43 +128748,26 @@ paths:
format: uuid
type: string
style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/WritableServiceRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/WritableServiceRequest'
- required: true
responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Service'
- text/csv:
- schema:
- $ref: '#/components/schemas/Service'
- description: ""
+ "204":
+ description: No response body
security:
- cookieAuth: []
- tokenAuth: []
tags:
- ipam
- /ipam/services/{id}/notes/:
get:
- description: API methods for returning or creating notes on an object.
- operationId: ipam_services_notes_list
+ description: Retrieve a VRF-prefix assignment object.
+ operationId: ipam_vrf_prefix_assignments_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this service.
+ - description: A UUID string identifying this VRF-prefix assignment.
explode: false
in: path
name: id
@@ -132448,60 +128776,96 @@ paths:
format: uuid
type: string
style: simple
- - description: Number of results to return per page.
+ - description: Serializer Depth
explode: true
in: query
- name: limit
+ name: depth
required: false
schema:
+ default: 1
+ maximum: 10
+ minimum: 0
type: integer
style: form
- - description: The initial index from which to return the results.
+ - description: Exclude many-to-many fields from the response
explode: true
in: query
- name: offset
+ name: exclude_m2m
required: false
schema:
- type: integer
+ default: false
+ type: boolean
style: form
- - description: Serializer Depth
- explode: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/VRFPrefixAssignment"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/VRFPrefixAssignment"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - ipam
+ patch:
+ description: Partial update a VRF-prefix assignment object.
+ operationId: ipam_vrf_prefix_assignments_partial_update
+ parameters:
+ - explode: true
in: query
- name: depth
+ name: format
required: false
schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ - description: A UUID string identifying this VRF-prefix assignment.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PatchedVRFPrefixAssignmentRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PatchedVRFPrefixAssignmentRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/VRFPrefixAssignment"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/VRFPrefixAssignment"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- ipam
- post:
- description: API methods for returning or creating notes on an object.
- operationId: ipam_services_notes_create
+ put:
+ description: Update a VRF-prefix assignment object.
+ operationId: ipam_vrf_prefix_assignments_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this service.
+ - description: A UUID string identifying this VRF-prefix assignment.
explode: false
in: path
name: id
@@ -132514,49 +128878,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/VRFPrefixAssignmentRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/VRFPrefixAssignmentRequest"
required: true
responses:
- "201":
+ "200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/VRFPrefixAssignment"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/VRFPrefixAssignment"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- ipam
- /ipam/vlan-groups/:
+ /ipam/vrfs/:
delete:
- description: Destroy a list of VLAN group objects.
- operationId: ipam_vlan_groups_bulk_destroy
+ description: Destroy a list of VRF objects.
+ operationId: ipam_vrfs_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -132568,8 +128932,8 @@ paths:
tags:
- ipam
get:
- description: Retrieve a list of VLAN group objects.
- operationId: ipam_vlan_groups_list
+ description: Retrieve a list of VRF objects.
+ operationId: ipam_vrfs_list
parameters:
- explode: true
in: query
@@ -132588,14 +128952,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
name: contacts__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -132790,6 +129154,24 @@ paths:
type: string
type: array
style: form
+ - explode: true
+ in: query
+ name: device
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: device__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- explode: true
in: query
name: dynamic_groups
@@ -132799,21 +129181,39 @@ paths:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
name: dynamic_groups__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: export_targets
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: export_targets__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -132829,7 +129229,7 @@ paths:
style: form
- explode: true
in: query
- name: id__ic
+ name: id__n
required: false
schema:
items:
@@ -132839,219 +129239,226 @@ paths:
style: form
- explode: true
in: query
- name: id__ie
+ name: import_targets
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: import_targets__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: last_updated
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: last_updated__gt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__n
+ name: last_updated__gte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__nic
+ name: last_updated__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: last_updated__lt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: last_updated__lte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: last_updated__n
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
- explode: true
in: query
- name: id__nire
+ name: name
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nisw
+ name: name__ic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nre
+ name: name__ie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__re
+ name: name__iew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated
+ name: name__ire
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__gt
+ name: name__isw
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__gte
+ name: name__n
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__isnull
+ name: name__nic
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: last_updated__lt
+ name: name__nie
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__lte
+ name: name__niew
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__n
+ name: name__nire
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - description: Number of results to return per page.
- explode: true
+ - explode: true
in: query
- name: limit
+ name: name__nisw
required: false
schema:
- type: integer
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: location
+ name: name__nre
required: false
schema:
items:
type: string
type: array
style: form
- - description: Location (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: location__isnull
+ name: name__re
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: location__n
+ name: namespace
required: false
schema:
items:
@@ -133060,16 +129467,24 @@ paths:
style: form
- explode: true
in: query
- name: name
+ name: namespace__n
required: false
schema:
items:
type: string
type: array
style: form
+ - description: The initial index from which to return the results.
+ explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
- explode: true
in: query
- name: name__ic
+ name: prefix
required: false
schema:
items:
@@ -133078,7 +129493,24 @@ paths:
style: form
- explode: true
in: query
- name: name__ie
+ name: prefix__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Search
+ explode: true
+ in: query
+ name: q
+ required: false
+ schema:
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: rd
required: false
schema:
items:
@@ -133087,7 +129519,7 @@ paths:
style: form
- explode: true
in: query
- name: name__iew
+ name: rd__ic
required: false
schema:
items:
@@ -133096,7 +129528,7 @@ paths:
style: form
- explode: true
in: query
- name: name__ire
+ name: rd__ie
required: false
schema:
items:
@@ -133105,7 +129537,7 @@ paths:
style: form
- explode: true
in: query
- name: name__isw
+ name: rd__iew
required: false
schema:
items:
@@ -133114,7 +129546,7 @@ paths:
style: form
- explode: true
in: query
- name: name__n
+ name: rd__ire
required: false
schema:
items:
@@ -133123,7 +129555,14 @@ paths:
style: form
- explode: true
in: query
- name: name__nic
+ name: rd__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: rd__isw
required: false
schema:
items:
@@ -133132,7 +129571,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nie
+ name: rd__n
required: false
schema:
items:
@@ -133141,7 +129580,7 @@ paths:
style: form
- explode: true
in: query
- name: name__niew
+ name: rd__nic
required: false
schema:
items:
@@ -133150,7 +129589,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nire
+ name: rd__nie
required: false
schema:
items:
@@ -133159,7 +129598,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nisw
+ name: rd__niew
required: false
schema:
items:
@@ -133168,7 +129607,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nre
+ name: rd__nire
required: false
schema:
items:
@@ -133177,28 +129616,30 @@ paths:
style: form
- explode: true
in: query
- name: name__re
+ name: rd__nisw
required: false
schema:
items:
type: string
type: array
style: form
- - description: The initial index from which to return the results.
- explode: true
+ - explode: true
in: query
- name: offset
+ name: rd__nre
required: false
schema:
- type: integer
+ items:
+ type: string
+ type: array
style: form
- - description: Search
- explode: true
+ - explode: true
in: query
- name: q
+ name: rd__re
required: false
schema:
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Which field to use when ordering the results.
explode: true
@@ -133208,6 +129649,57 @@ paths:
schema:
type: string
style: form
+ - explode: true
+ in: query
+ name: status
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Status (name or ID) is null
+ explode: true
+ in: query
+ name: status__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: status__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: tags
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: tags__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: tags__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- explode: true
in: query
name: teams
@@ -133225,14 +129717,134 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: tenant
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Tenant (name or ID) is null
+ explode: true
+ in: query
+ name: tenant__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: tenant__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: tenant_group
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Tenant Group (name or ID) is null
+ explode: true
+ in: query
+ name: tenant_group__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: tenant_group__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead)"
+ explode: true
+ in: query
+ name: tenant_id
+ required: false
+ schema:
+ items:
+ format: uuid
+ nullable: true
+ type: string
+ type: array
+ style: form
+ - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead) is null"
+ explode: true
+ in: query
+ name: tenant_id__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - description: "Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead)"
+ explode: true
+ in: query
+ name: tenant_id__n
+ required: false
+ schema:
+ items:
+ format: uuid
+ nullable: true
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: virtual_device_contexts
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: virtual_device_contexts__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: virtual_machines
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: virtual_machines__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -133245,15 +129857,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedVLANGroupList'
+ $ref: "#/components/schemas/PaginatedVRFList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedVLANGroupList'
+ $ref: "#/components/schemas/PaginatedVRFList"
description: ""
security:
- cookieAuth: []
@@ -133261,27 +129882,27 @@ paths:
tags:
- ipam
patch:
- description: Partial update a list of VLAN group objects.
- operationId: ipam_vlan_groups_bulk_partial_update
+ description: Partial update a list of VRF objects.
+ operationId: ipam_vrfs_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableVLANGroupRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableVRFRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableVLANGroupRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableVRFRequest"
type: array
required: true
responses:
@@ -133290,12 +129911,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/VLANGroup'
+ $ref: "#/components/schemas/VRF"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/VLANGroup'
+ $ref: "#/components/schemas/VRF"
type: array
description: ""
security:
@@ -133304,34 +129925,34 @@ paths:
tags:
- ipam
post:
- description: Create one or more VLAN group objects.
- operationId: ipam_vlan_groups_create
+ description: Create one or more VRF objects.
+ operationId: ipam_vrfs_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/VLANGroupRequest'
+ $ref: "#/components/schemas/VRFRequest"
text/csv:
schema:
- $ref: '#/components/schemas/VLANGroupRequest'
+ $ref: "#/components/schemas/VRFRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/VLANGroup'
+ $ref: "#/components/schemas/VRF"
text/csv:
schema:
- $ref: '#/components/schemas/VLANGroup'
+ $ref: "#/components/schemas/VRF"
description: ""
security:
- cookieAuth: []
@@ -133339,27 +129960,27 @@ paths:
tags:
- ipam
put:
- description: Update a list of VLAN group objects.
- operationId: ipam_vlan_groups_bulk_update
+ description: Update a list of VRF objects.
+ operationId: ipam_vrfs_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableVLANGroupRequest'
+ $ref: "#/components/schemas/BulkWritableVRFRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableVLANGroupRequest'
+ $ref: "#/components/schemas/BulkWritableVRFRequest"
type: array
required: true
responses:
@@ -133368,12 +129989,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/VLANGroup'
+ $ref: "#/components/schemas/VRF"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/VLANGroup'
+ $ref: "#/components/schemas/VRF"
type: array
description: ""
security:
@@ -133381,19 +130002,19 @@ paths:
- tokenAuth: []
tags:
- ipam
- /ipam/vlan-groups/{id}/:
+ /ipam/vrfs/{id}/:
delete:
- description: Destroy a VLAN group object.
- operationId: ipam_vlan_groups_destroy
+ description: Destroy a VRF object.
+ operationId: ipam_vrfs_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this VLAN group.
+ - description: A UUID string identifying this VRF.
explode: false
in: path
name: id
@@ -133411,17 +130032,17 @@ paths:
tags:
- ipam
get:
- description: Retrieve a VLAN group object.
- operationId: ipam_vlan_groups_retrieve
+ description: Retrieve a VRF object.
+ operationId: ipam_vrfs_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this VLAN group.
+ - description: A UUID string identifying this VRF.
explode: false
in: path
name: id
@@ -133441,15 +130062,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/VLANGroup'
+ $ref: "#/components/schemas/VRF"
text/csv:
schema:
- $ref: '#/components/schemas/VLANGroup'
+ $ref: "#/components/schemas/VRF"
description: ""
security:
- cookieAuth: []
@@ -133457,17 +130087,17 @@ paths:
tags:
- ipam
patch:
- description: Partial update a VLAN group object.
- operationId: ipam_vlan_groups_partial_update
+ description: Partial update a VRF object.
+ operationId: ipam_vrfs_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this VLAN group.
+ - description: A UUID string identifying this VRF.
explode: false
in: path
name: id
@@ -133480,19 +130110,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedVLANGroupRequest'
+ $ref: "#/components/schemas/PatchedVRFRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedVLANGroupRequest'
+ $ref: "#/components/schemas/PatchedVRFRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/VLANGroup'
+ $ref: "#/components/schemas/VRF"
text/csv:
schema:
- $ref: '#/components/schemas/VLANGroup'
+ $ref: "#/components/schemas/VRF"
description: ""
security:
- cookieAuth: []
@@ -133500,17 +130130,17 @@ paths:
tags:
- ipam
put:
- description: Update a VLAN group object.
- operationId: ipam_vlan_groups_update
+ description: Update a VRF object.
+ operationId: ipam_vrfs_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this VLAN group.
+ - description: A UUID string identifying this VRF.
explode: false
in: path
name: id
@@ -133523,39 +130153,39 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VLANGroupRequest'
+ $ref: "#/components/schemas/VRFRequest"
text/csv:
schema:
- $ref: '#/components/schemas/VLANGroupRequest'
+ $ref: "#/components/schemas/VRFRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/VLANGroup'
+ $ref: "#/components/schemas/VRF"
text/csv:
schema:
- $ref: '#/components/schemas/VLANGroup'
+ $ref: "#/components/schemas/VRF"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- ipam
- /ipam/vlan-groups/{id}/notes/:
+ /ipam/vrfs/{id}/notes/:
get:
description: API methods for returning or creating notes on an object.
- operationId: ipam_vlan_groups_notes_list
+ operationId: ipam_vrfs_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this VLAN group.
+ - description: A UUID string identifying this VRF.
explode: false
in: path
name: id
@@ -133591,15 +130221,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -133608,16 +130247,16 @@ paths:
- ipam
post:
description: API methods for returning or creating notes on an object.
- operationId: ipam_vlan_groups_notes_create
+ operationId: ipam_vrfs_notes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this VLAN group.
+ - description: A UUID string identifying this VRF.
explode: false
in: path
name: id
@@ -133630,49 +130269,271 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- ipam
- /ipam/vlan-location-assignments/:
+ /status/:
+ get:
+ description: A lightweight read-only endpoint for conveying the current operational
+ status.
+ operationId: status_retrieve
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/status_retrieve_200_response"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/status_retrieve_200_response"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - status
+ /swagger/:
+ get:
+ description: |-
+ OpenApi3 schema for this API. Format can be selected via content negotiation.
+
+ - YAML: application/vnd.oai.openapi
+ - JSON: application/vnd.oai.openapi+json
+ operationId: swagger_retrieve
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/swagger_retrieve_format_parameter"
+ style: form
+ - explode: true
+ in: query
+ name: lang
+ required: false
+ schema:
+ $ref: "#/components/schemas/swagger_retrieve_lang_parameter"
+ style: form
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/vnd.oai.openapi:
+ schema:
+ additionalProperties: {}
+ type: object
+ application/yaml:
+ schema:
+ additionalProperties: {}
+ type: object
+ application/vnd.oai.openapi+json:
+ schema:
+ additionalProperties: {}
+ type: object
+ application/json:
+ schema:
+ additionalProperties: {}
+ type: object
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - swagger
+ /swagger.json:
+ get:
+ description: |-
+ OpenApi3 schema for this API. Format can be selected via content negotiation.
+
+ - YAML: application/vnd.oai.openapi
+ - JSON: application/vnd.oai.openapi+json
+ operationId: swagger.json_retrieve
+ parameters:
+ - explode: true
+ in: query
+ name: lang
+ required: false
+ schema:
+ $ref: "#/components/schemas/swagger_retrieve_lang_parameter"
+ style: form
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/vnd.oai.openapi+json:
+ schema:
+ additionalProperties: {}
+ type: object
+ application/json:
+ schema:
+ additionalProperties: {}
+ type: object
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - swagger.json
+ /swagger.yaml:
+ get:
+ description: |-
+ OpenApi3 schema for this API. Format can be selected via content negotiation.
+
+ - YAML: application/vnd.oai.openapi
+ - JSON: application/vnd.oai.openapi+json
+ operationId: swagger.yaml_retrieve
+ parameters:
+ - explode: true
+ in: query
+ name: lang
+ required: false
+ schema:
+ $ref: "#/components/schemas/swagger_retrieve_lang_parameter"
+ style: form
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/vnd.oai.openapi:
+ schema:
+ additionalProperties: {}
+ type: object
+ application/yaml:
+ schema:
+ additionalProperties: {}
+ type: object
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - swagger.yaml
+ /tenancy/tenant-groups/:
delete:
- description: Destroy a list of vlan location assignment objects.
- operationId: ipam_vlan_location_assignments_bulk_destroy
+ description: Destroy a list of tenant group objects.
+ operationId: tenancy_tenant_groups_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -133682,18 +130543,271 @@ paths:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
+ - tenancy
get:
- description: Retrieve a list of vlan location assignment objects.
- operationId: ipam_vlan_location_assignments_list
+ description: Retrieve a list of tenant group objects.
+ operationId: tenancy_tenant_groups_list
parameters:
- explode: true
in: query
- name: created
+ name: children
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Children (name or ID) is null
+ explode: true
+ in: query
+ name: children__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: children__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: contacts
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Contacts (name or ID) is null
+ explode: true
+ in: query
+ name: contacts__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: contacts__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: created
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: created__gt
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: created__gte
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: created__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: created__lt
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: created__lte
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: created__n
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: description
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: description__ic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: description__ie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: description__iew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: description__ire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: description__isw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: description__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: description__nic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: description__nie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: description__niew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: description__nire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: description__nisw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: description__nre
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: description__re
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: dynamic_groups
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: dynamic_groups__n
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
@@ -133702,7 +130816,23 @@ paths:
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: Has children
+ explode: true
+ in: query
+ name: has_children
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - description: Has tenants
+ explode: true
+ in: query
+ name: has_tenants
+ required: false
+ schema:
+ type: boolean
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -133718,7 +130848,7 @@ paths:
style: form
- explode: true
in: query
- name: id__ic
+ name: id__n
required: false
schema:
items:
@@ -133728,145 +130858,163 @@ paths:
style: form
- explode: true
in: query
- name: id__ie
+ name: last_updated
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: last_updated__gt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: last_updated__gte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: last_updated__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: last_updated__lt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__n
+ name: last_updated__lte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__nic
+ name: last_updated__n
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
- explode: true
in: query
- name: id__nie
+ name: name
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: name__ic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__ie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nire
+ name: name__iew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nisw
+ name: name__ire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nre
+ name: name__isw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__re
+ name: name__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated
+ name: name__nic
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - description: Number of results to return per page.
- explode: true
+ - explode: true
in: query
- name: limit
+ name: name__nie
required: false
schema:
- type: integer
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: location
+ name: name__niew
required: false
schema:
items:
@@ -133875,7 +131023,34 @@ paths:
style: form
- explode: true
in: query
- name: location__n
+ name: name__nire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__nisw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__nre
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__re
required: false
schema:
items:
@@ -133890,6 +131065,32 @@ paths:
schema:
type: integer
style: form
+ - explode: true
+ in: query
+ name: parent
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Parent tenant group (name or ID) is null
+ explode: true
+ in: query
+ name: parent__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: parent__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- description: Search
explode: true
in: query
@@ -133908,16 +131109,50 @@ paths:
style: form
- explode: true
in: query
- name: vlan
+ name: teams
required: false
schema:
items:
type: string
type: array
style: form
+ - description: Teams (name or ID) is null
+ explode: true
+ in: query
+ name: teams__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: vlan__n
+ name: teams__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: tenants
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Tenants (name or ID) is null
+ explode: true
+ in: query
+ name: tenants__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: tenants__n
required: false
schema:
items:
@@ -133935,43 +131170,52 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedVLANLocationAssignmentList'
+ $ref: "#/components/schemas/PaginatedTenantGroupList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedVLANLocationAssignmentList'
+ $ref: "#/components/schemas/PaginatedTenantGroupList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
+ - tenancy
patch:
- description: Partial update a list of vlan location assignment objects.
- operationId: ipam_vlan_location_assignments_bulk_partial_update
+ description: Partial update a list of tenant group objects.
+ operationId: tenancy_tenant_groups_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableVLANLocationAssignmentRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableTenantGroupRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableVLANLocationAssignmentRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableTenantGroupRequest"
type: array
required: true
responses:
@@ -133980,76 +131224,76 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/VLANLocationAssignment'
+ $ref: "#/components/schemas/TenantGroup"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/VLANLocationAssignment'
+ $ref: "#/components/schemas/TenantGroup"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
+ - tenancy
post:
- description: Create one or more vlan location assignment objects.
- operationId: ipam_vlan_location_assignments_create
+ description: Create one or more tenant group objects.
+ operationId: tenancy_tenant_groups_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/VLANLocationAssignmentRequest'
+ $ref: "#/components/schemas/TenantGroupRequest"
text/csv:
schema:
- $ref: '#/components/schemas/VLANLocationAssignmentRequest'
+ $ref: "#/components/schemas/TenantGroupRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/VLANLocationAssignment'
+ $ref: "#/components/schemas/TenantGroup"
text/csv:
schema:
- $ref: '#/components/schemas/VLANLocationAssignment'
+ $ref: "#/components/schemas/TenantGroup"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
+ - tenancy
put:
- description: Update a list of vlan location assignment objects.
- operationId: ipam_vlan_location_assignments_bulk_update
+ description: Update a list of tenant group objects.
+ operationId: tenancy_tenant_groups_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableVLANLocationAssignmentRequest'
+ $ref: "#/components/schemas/BulkWritableTenantGroupRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableVLANLocationAssignmentRequest'
+ $ref: "#/components/schemas/BulkWritableTenantGroupRequest"
type: array
required: true
responses:
@@ -134058,32 +131302,32 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/VLANLocationAssignment'
+ $ref: "#/components/schemas/TenantGroup"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/VLANLocationAssignment'
+ $ref: "#/components/schemas/TenantGroup"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
- /ipam/vlan-location-assignments/{id}/:
+ - tenancy
+ /tenancy/tenant-groups/{id}/:
delete:
- description: Destroy a vlan location assignment object.
- operationId: ipam_vlan_location_assignments_destroy
+ description: Destroy a tenant group object.
+ operationId: tenancy_tenant_groups_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this vlan location assignment.
+ - description: A UUID string identifying this tenant group.
explode: false
in: path
name: id
@@ -134099,19 +131343,19 @@ paths:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
+ - tenancy
get:
- description: Retrieve a vlan location assignment object.
- operationId: ipam_vlan_location_assignments_retrieve
+ description: Retrieve a tenant group object.
+ operationId: tenancy_tenant_groups_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this vlan location assignment.
+ - description: A UUID string identifying this tenant group.
explode: false
in: path
name: id
@@ -134131,33 +131375,42 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/VLANLocationAssignment'
+ $ref: "#/components/schemas/TenantGroup"
text/csv:
schema:
- $ref: '#/components/schemas/VLANLocationAssignment'
+ $ref: "#/components/schemas/TenantGroup"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
+ - tenancy
patch:
- description: Partial update a vlan location assignment object.
- operationId: ipam_vlan_location_assignments_partial_update
+ description: Partial update a tenant group object.
+ operationId: tenancy_tenant_groups_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this vlan location assignment.
+ - description: A UUID string identifying this tenant group.
explode: false
in: path
name: id
@@ -134170,37 +131423,37 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedVLANLocationAssignmentRequest'
+ $ref: "#/components/schemas/PatchedTenantGroupRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedVLANLocationAssignmentRequest'
+ $ref: "#/components/schemas/PatchedTenantGroupRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/VLANLocationAssignment'
+ $ref: "#/components/schemas/TenantGroup"
text/csv:
schema:
- $ref: '#/components/schemas/VLANLocationAssignment'
+ $ref: "#/components/schemas/TenantGroup"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
+ - tenancy
put:
- description: Update a vlan location assignment object.
- operationId: ipam_vlan_location_assignments_update
+ description: Update a tenant group object.
+ operationId: tenancy_tenant_groups_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this vlan location assignment.
+ - description: A UUID string identifying this tenant group.
explode: false
in: path
name: id
@@ -134213,39 +131466,39 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VLANLocationAssignmentRequest'
+ $ref: "#/components/schemas/TenantGroupRequest"
text/csv:
schema:
- $ref: '#/components/schemas/VLANLocationAssignmentRequest'
+ $ref: "#/components/schemas/TenantGroupRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/VLANLocationAssignment'
+ $ref: "#/components/schemas/TenantGroup"
text/csv:
schema:
- $ref: '#/components/schemas/VLANLocationAssignment'
+ $ref: "#/components/schemas/TenantGroup"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
- /ipam/vlan-location-assignments/{id}/notes/:
+ - tenancy
+ /tenancy/tenant-groups/{id}/notes/:
get:
description: API methods for returning or creating notes on an object.
- operationId: ipam_vlan_location_assignments_notes_list
+ operationId: tenancy_tenant_groups_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this vlan location assignment.
+ - description: A UUID string identifying this tenant group.
explode: false
in: path
name: id
@@ -134281,33 +131534,42 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
+ - tenancy
post:
description: API methods for returning or creating notes on an object.
- operationId: ipam_vlan_location_assignments_notes_create
+ operationId: tenancy_tenant_groups_notes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this vlan location assignment.
+ - description: A UUID string identifying this tenant group.
explode: false
in: path
name: id
@@ -134320,49 +131582,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
- /ipam/vlans/:
+ - tenancy
+ /tenancy/tenants/:
delete:
- description: Destroy a list of VLAN objects.
- operationId: ipam_vlans_bulk_destroy
+ description: Destroy a list of tenant objects.
+ operationId: tenancy_tenants_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -134372,15 +131634,15 @@ paths:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
+ - tenancy
get:
- description: Retrieve a list of VLAN objects.
- operationId: ipam_vlans_list
+ description: Retrieve a list of tenant objects.
+ operationId: tenancy_tenants_list
parameters:
- - description: Device (ID)
+ - description: Circuits (ID)
explode: true
in: query
- name: available_on_device
+ name: circuits
required: false
schema:
items:
@@ -134388,269 +131650,206 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: contacts
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Contacts (name or ID) is null
+ - description: Circuits (ID) is null
explode: true
in: query
- name: contacts__isnull
+ name: circuits__isnull
required: false
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
+ - description: Exclude Circuits (ID)
explode: true
in: query
- name: contacts__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- - explode: true
- in: query
- name: created
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: created__gt
+ name: circuits__n
required: false
schema:
items:
- format: date-time
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: created__gte
+ name: clusters
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - explode: true
+ - description: Clusters (name or ID) is null
+ explode: true
in: query
- name: created__isnull
+ name: clusters__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: created__lt
+ name: clusters__n
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__lte
+ name: comments
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__n
+ name: comments__ic
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: dynamic_groups
+ name: comments__ie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
- in: query
- name: dynamic_groups__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
- explode: true
- in: query
- name: id
+ name: comments__iew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ic
+ name: comments__ire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ie
+ name: comments__isw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: comments__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: comments__nic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: comments__nie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__n
+ name: comments__niew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nic
+ name: comments__nire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: comments__nisw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: comments__nre
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nire
+ name: comments__re
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nisw
+ name: contacts
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Contacts (name or ID) is null
+ explode: true
in: query
- name: id__nre
+ name: contacts__isnull
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: id__re
+ name: contacts__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated
+ name: created
required: false
schema:
items:
@@ -134660,7 +131859,7 @@ paths:
style: form
- explode: true
in: query
- name: last_updated__gt
+ name: created__gt
required: false
schema:
items:
@@ -134670,7 +131869,7 @@ paths:
style: form
- explode: true
in: query
- name: last_updated__gte
+ name: created__gte
required: false
schema:
items:
@@ -134680,14 +131879,14 @@ paths:
style: form
- explode: true
in: query
- name: last_updated__isnull
+ name: created__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: last_updated__lt
+ name: created__lt
required: false
schema:
items:
@@ -134697,7 +131896,7 @@ paths:
style: form
- explode: true
in: query
- name: last_updated__lte
+ name: created__lte
required: false
schema:
items:
@@ -134707,7 +131906,7 @@ paths:
style: form
- explode: true
in: query
- name: last_updated__n
+ name: created__n
required: false
schema:
items:
@@ -134715,17 +131914,9 @@ paths:
type: string
type: array
style: form
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- explode: true
in: query
- name: location
+ name: description
required: false
schema:
items:
@@ -134734,7 +131925,7 @@ paths:
style: form
- explode: true
in: query
- name: location__n
+ name: description__ic
required: false
schema:
items:
@@ -134743,7 +131934,7 @@ paths:
style: form
- explode: true
in: query
- name: locations
+ name: description__ie
required: false
schema:
items:
@@ -134752,7 +131943,7 @@ paths:
style: form
- explode: true
in: query
- name: locations__n
+ name: description__iew
required: false
schema:
items:
@@ -134761,7 +131952,7 @@ paths:
style: form
- explode: true
in: query
- name: name
+ name: description__ire
required: false
schema:
items:
@@ -134770,7 +131961,7 @@ paths:
style: form
- explode: true
in: query
- name: name__ic
+ name: description__isw
required: false
schema:
items:
@@ -134779,7 +131970,7 @@ paths:
style: form
- explode: true
in: query
- name: name__ie
+ name: description__n
required: false
schema:
items:
@@ -134788,7 +131979,7 @@ paths:
style: form
- explode: true
in: query
- name: name__iew
+ name: description__nic
required: false
schema:
items:
@@ -134797,7 +131988,7 @@ paths:
style: form
- explode: true
in: query
- name: name__ire
+ name: description__nie
required: false
schema:
items:
@@ -134806,7 +131997,7 @@ paths:
style: form
- explode: true
in: query
- name: name__isw
+ name: description__niew
required: false
schema:
items:
@@ -134815,7 +132006,7 @@ paths:
style: form
- explode: true
in: query
- name: name__n
+ name: description__nire
required: false
schema:
items:
@@ -134824,7 +132015,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nic
+ name: description__nisw
required: false
schema:
items:
@@ -134833,7 +132024,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nie
+ name: description__nre
required: false
schema:
items:
@@ -134842,7 +132033,7 @@ paths:
style: form
- explode: true
in: query
- name: name__niew
+ name: description__re
required: false
schema:
items:
@@ -134851,25 +132042,24 @@ paths:
style: form
- explode: true
in: query
- name: name__nire
+ name: devices
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Devices (name or ID) is null
+ explode: true
in: query
- name: name__nisw
+ name: devices__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: name__nre
+ name: devices__n
required: false
schema:
items:
@@ -134878,779 +132068,335 @@ paths:
style: form
- explode: true
in: query
- name: name__re
+ name: dynamic_groups
required: false
schema:
items:
type: string
type: array
style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- - description: Search
- explode: true
- in: query
- name: q
- required: false
- schema:
- type: string
- style: form
- explode: true
in: query
- name: role
+ name: dynamic_groups__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Role (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: role__isnull
+ name: format
required: false
schema:
- type: boolean
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: Exclude Role (name or ID)
+ - description: Has circuits
explode: true
in: query
- name: role__n
+ name: has_circuits
required: false
schema:
- format: uuid
- type: string
+ type: boolean
style: form
- - description: Which field to use when ordering the results.
+ - description: Has clusters
explode: true
in: query
- name: sort
- required: false
- schema:
- type: string
- style: form
- - explode: true
- in: query
- name: status
+ name: has_clusters
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- - description: Exclude Status (name or ID)
+ - description: Has devices
explode: true
in: query
- name: status__n
+ name: has_devices
required: false
schema:
- format: uuid
- type: string
+ type: boolean
style: form
- - explode: true
+ - description: Has IP addresses
+ explode: true
in: query
- name: tags
+ name: has_ip_addresses
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: Has locations
+ explode: true
in: query
- name: tags__isnull
+ name: has_locations
required: false
schema:
type: boolean
style: form
- - explode: true
+ - description: Has prefixes
+ explode: true
in: query
- name: tags__n
+ name: has_prefixes
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: Has rack reservations
+ explode: true
in: query
- name: teams
+ name: has_rack_reservations
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- - description: Teams (name or ID) is null
+ - description: Has racks
explode: true
in: query
- name: teams__isnull
+ name: has_racks
required: false
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
+ - description: Has route targets
explode: true
in: query
- name: teams__n
+ name: has_route_targets
required: false
schema:
- format: uuid
- type: string
+ type: boolean
style: form
- - explode: true
+ - description: Has virtual machines
+ explode: true
in: query
- name: tenant
+ name: has_virtual_machines
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- - description: Tenant (name or ID) is null
+ - description: Has VLANs
explode: true
in: query
- name: tenant__isnull
+ name: has_vlans
required: false
schema:
type: boolean
style: form
- - explode: true
+ - description: Has VRFs
+ explode: true
in: query
- name: tenant__n
+ name: has_vrfs
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
in: query
- name: tenant_group
+ name: id
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- - description: Tenant Group (name or ID) is null
- explode: true
- in: query
- name: tenant_group__isnull
- required: false
- schema:
- type: boolean
- style: form
- explode: true
in: query
- name: tenant_group__n
+ name: id__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead)"
+ - description: IP addresses (ID)
explode: true
in: query
- name: tenant_id
+ name: ip_addresses
required: false
schema:
items:
format: uuid
- nullable: true
type: string
type: array
style: form
- - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead) is null"
+ - description: IP addresses (ID) is null
explode: true
in: query
- name: tenant_id__isnull
+ name: ip_addresses__isnull
required: false
schema:
type: boolean
style: form
- - description: "Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead)"
+ - description: Exclude IP addresses (ID)
explode: true
in: query
- name: tenant_id__n
+ name: ip_addresses__n
required: false
schema:
items:
format: uuid
- nullable: true
type: string
type: array
style: form
- explode: true
in: query
- name: vid
+ name: last_updated
required: false
schema:
items:
- type: integer
+ format: date-time
+ type: string
type: array
style: form
- explode: true
in: query
- name: vid__gt
+ name: last_updated__gt
required: false
schema:
items:
- type: integer
+ format: date-time
+ type: string
type: array
style: form
- explode: true
in: query
- name: vid__gte
+ name: last_updated__gte
required: false
schema:
items:
- type: integer
+ format: date-time
+ type: string
type: array
style: form
- explode: true
in: query
- name: vid__lt
+ name: last_updated__isnull
required: false
schema:
- items:
- type: integer
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: vid__lte
+ name: last_updated__lt
required: false
schema:
items:
- type: integer
+ format: date-time
+ type: string
type: array
style: form
- explode: true
in: query
- name: vid__n
+ name: last_updated__lte
required: false
schema:
items:
- type: integer
+ format: date-time
+ type: string
type: array
style: form
- explode: true
in: query
- name: vlan_group
+ name: last_updated__n
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- - description: VLAN Group (name or ID) is null
+ - description: Number of results to return per page.
explode: true
in: query
- name: vlan_group__isnull
+ name: limit
required: false
schema:
- type: boolean
+ type: integer
style: form
- explode: true
in: query
- name: vlan_group__n
+ name: locations
required: false
schema:
items:
type: string
type: array
style: form
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
- style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedVLANList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedVLANList'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - ipam
- patch:
- description: Partial update a list of VLAN objects.
- operationId: ipam_vlans_bulk_partial_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- requestBody:
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/PatchedBulkWritableVLANRequest'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/PatchedBulkWritableVLANRequest'
- type: array
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/VLAN'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/VLAN'
- type: array
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - ipam
- post:
- description: Create one or more VLAN objects.
- operationId: ipam_vlans_create
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/VLANRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/VLANRequest'
- required: true
- responses:
- "201":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/VLAN'
- text/csv:
- schema:
- $ref: '#/components/schemas/VLAN'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - ipam
- put:
- description: Update a list of VLAN objects.
- operationId: ipam_vlans_bulk_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- requestBody:
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/BulkWritableVLANRequest'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/BulkWritableVLANRequest'
- type: array
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/VLAN'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/VLAN'
- type: array
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - ipam
- /ipam/vlans/{id}/:
- delete:
- description: Destroy a VLAN object.
- operationId: ipam_vlans_destroy
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this VLAN.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- responses:
- "204":
- description: No response body
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - ipam
- get:
- description: Retrieve a VLAN object.
- operationId: ipam_vlans_retrieve
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this VLAN.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Serializer Depth
+ - description: Locations (names and/or IDs) is null
explode: true
in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
- style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/VLAN'
- text/csv:
- schema:
- $ref: '#/components/schemas/VLAN'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - ipam
- patch:
- description: Partial update a VLAN object.
- operationId: ipam_vlans_partial_update
- parameters:
- - explode: true
- in: query
- name: format
+ name: locations__isnull
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ type: boolean
style: form
- - description: A UUID string identifying this VLAN.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PatchedVLANRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/PatchedVLANRequest'
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/VLAN'
- text/csv:
- schema:
- $ref: '#/components/schemas/VLAN'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - ipam
- put:
- description: Update a VLAN object.
- operationId: ipam_vlans_update
- parameters:
- explode: true
in: query
- name: format
+ name: locations__n
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- - description: A UUID string identifying this VLAN.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/VLANRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/VLANRequest'
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/VLAN'
- text/csv:
- schema:
- $ref: '#/components/schemas/VLAN'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - ipam
- /ipam/vlans/{id}/notes/:
- get:
- description: API methods for returning or creating notes on an object.
- operationId: ipam_vlans_notes_list
- parameters:
- explode: true
in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this VLAN.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
+ name: name
required: false
schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
+ items:
+ type: string
+ type: array
style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - ipam
- post:
- description: API methods for returning or creating notes on an object.
- operationId: ipam_vlans_notes_create
- parameters:
- explode: true
in: query
- name: format
+ name: name__ic
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- - description: A UUID string identifying this VLAN.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/NoteInputRequest'
- required: true
- responses:
- "201":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Note'
- text/csv:
- schema:
- $ref: '#/components/schemas/Note'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - ipam
- /ipam/vrf-device-assignments/:
- delete:
- description: Destroy a list of vrf device assignment objects.
- operationId: ipam_vrf_device_assignments_bulk_destroy
- parameters:
- explode: true
in: query
- name: format
+ name: name__ie
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- requestBody:
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/BulkOperationRequest'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/BulkOperationRequest'
- type: array
- required: true
- responses:
- "204":
- description: No response body
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - ipam
- get:
- description: Retrieve a list of vrf device assignment objects.
- operationId: ipam_vrf_device_assignments_list
- parameters:
- explode: true
in: query
- name: created
+ name: name__iew
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: device
+ name: name__ire
required: false
schema:
items:
type: string
type: array
style: form
- - description: Device (ID or name) is null
- explode: true
+ - explode: true
in: query
- name: device__isnull
+ name: name__isw
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: device__n
+ name: name__n
required: false
schema:
items:
@@ -135659,86 +132405,113 @@ paths:
style: form
- explode: true
in: query
- name: format
+ name: name__nic
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
- explode: true
+ - explode: true
in: query
- name: id
+ name: name__nie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ic
+ name: name__niew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ie
+ name: name__nire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: name__nisw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: name__nre
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: name__re
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
+ - description: The initial index from which to return the results.
+ explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
- explode: true
in: query
- name: id__n
+ name: prefixes
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
+ - description: Prefix (ID or prefix string) is null
+ explode: true
+ in: query
+ name: prefixes__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: id__nic
+ name: prefixes__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Search
+ explode: true
+ in: query
+ name: q
+ required: false
+ schema:
+ type: string
+ style: form
+ - description: Rack reservations (ID)
+ explode: true
+ in: query
+ name: rack_reservations
required: false
schema:
items:
@@ -135746,9 +132519,18 @@ paths:
type: string
type: array
style: form
- - explode: true
+ - description: Rack reservations (ID) is null
+ explode: true
+ in: query
+ name: rack_reservations__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - description: Exclude Rack reservations (ID)
+ explode: true
in: query
- name: id__nie
+ name: rack_reservations__n
required: false
schema:
items:
@@ -135758,129 +132540,222 @@ paths:
style: form
- explode: true
in: query
- name: id__niew
+ name: racks
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
+ - description: Racks (name or ID) is null
+ explode: true
+ in: query
+ name: racks__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: id__nire
+ name: racks__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nisw
+ name: route_targets
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
+ - description: Route targets (name or ID) is null
+ explode: true
+ in: query
+ name: route_targets__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: id__nre
+ name: route_targets__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
+ - description: Which field to use when ordering the results.
+ explode: true
+ in: query
+ name: sort
+ required: false
+ schema:
+ type: string
+ style: form
- explode: true
in: query
- name: id__re
+ name: tags
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated
+ name: tags__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: tags__n
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - description: Number of results to return per page.
- explode: true
+ - explode: true
in: query
- name: limit
+ name: teams
required: false
schema:
- type: integer
+ items:
+ type: string
+ type: array
style: form
- - description: The initial index from which to return the results.
+ - description: Teams (name or ID) is null
explode: true
in: query
- name: offset
+ name: teams__isnull
required: false
schema:
- type: integer
+ type: boolean
style: form
- - description: Which field to use when ordering the results.
+ - explode: true
+ in: query
+ name: teams__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: tenant_group
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Tenant group (name or ID) is null
explode: true
in: query
- name: sort
+ name: tenant_group__isnull
required: false
schema:
- type: string
+ type: boolean
style: form
- explode: true
in: query
- name: virtual_machine
+ name: tenant_group__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Virtual Machine (ID or name) is null
+ - explode: true
+ in: query
+ name: virtual_machines
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Virtual machines (name or ID) is null
explode: true
in: query
- name: virtual_machine__isnull
+ name: virtual_machines__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: virtual_machine__n
+ name: virtual_machines__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: VLANs (ID)
+ explode: true
+ in: query
+ name: vlans
required: false
schema:
items:
+ format: uuid
+ type: string
+ type: array
+ style: form
+ - description: VLANs (ID) is null
+ explode: true
+ in: query
+ name: vlans__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - description: Exclude VLANs (ID)
+ explode: true
+ in: query
+ name: vlans__n
+ required: false
+ schema:
+ items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: vrf
+ name: vrfs
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
+ style: form
+ - description: VRFs (name or ID) is null
+ explode: true
+ in: query
+ name: vrfs__isnull
+ required: false
+ schema:
+ type: boolean
style: form
- explode: true
in: query
- name: vrf__n
+ name: vrfs__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -135893,43 +132768,52 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedVRFDeviceAssignmentList'
+ $ref: "#/components/schemas/PaginatedTenantList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedVRFDeviceAssignmentList'
+ $ref: "#/components/schemas/PaginatedTenantList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
+ - tenancy
patch:
- description: Partial update a list of vrf device assignment objects.
- operationId: ipam_vrf_device_assignments_bulk_partial_update
+ description: Partial update a list of tenant objects.
+ operationId: tenancy_tenants_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableVRFDeviceAssignmentRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableTenantRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableVRFDeviceAssignmentRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableTenantRequest"
type: array
required: true
responses:
@@ -135938,76 +132822,76 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/VRFDeviceAssignment'
+ $ref: "#/components/schemas/Tenant"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/VRFDeviceAssignment'
+ $ref: "#/components/schemas/Tenant"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
+ - tenancy
post:
- description: Create one or more vrf device assignment objects.
- operationId: ipam_vrf_device_assignments_create
+ description: Create one or more tenant objects.
+ operationId: tenancy_tenants_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/VRFDeviceAssignmentRequest'
+ $ref: "#/components/schemas/TenantRequest"
text/csv:
schema:
- $ref: '#/components/schemas/VRFDeviceAssignmentRequest'
+ $ref: "#/components/schemas/TenantRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/VRFDeviceAssignment'
+ $ref: "#/components/schemas/Tenant"
text/csv:
schema:
- $ref: '#/components/schemas/VRFDeviceAssignment'
+ $ref: "#/components/schemas/Tenant"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
+ - tenancy
put:
- description: Update a list of vrf device assignment objects.
- operationId: ipam_vrf_device_assignments_bulk_update
+ description: Update a list of tenant objects.
+ operationId: tenancy_tenants_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableVRFDeviceAssignmentRequest'
+ $ref: "#/components/schemas/BulkWritableTenantRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableVRFDeviceAssignmentRequest'
+ $ref: "#/components/schemas/BulkWritableTenantRequest"
type: array
required: true
responses:
@@ -136016,32 +132900,32 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/VRFDeviceAssignment'
+ $ref: "#/components/schemas/Tenant"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/VRFDeviceAssignment'
+ $ref: "#/components/schemas/Tenant"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
- /ipam/vrf-device-assignments/{id}/:
+ - tenancy
+ /tenancy/tenants/{id}/:
delete:
- description: Destroy a vrf device assignment object.
- operationId: ipam_vrf_device_assignments_destroy
+ description: Destroy a tenant object.
+ operationId: tenancy_tenants_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this vrf device assignment.
+ - description: A UUID string identifying this tenant.
explode: false
in: path
name: id
@@ -136057,19 +132941,19 @@ paths:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
+ - tenancy
get:
- description: Retrieve a vrf device assignment object.
- operationId: ipam_vrf_device_assignments_retrieve
+ description: Retrieve a tenant object.
+ operationId: tenancy_tenants_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this vrf device assignment.
+ - description: A UUID string identifying this tenant.
explode: false
in: path
name: id
@@ -136089,33 +132973,42 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/VRFDeviceAssignment'
+ $ref: "#/components/schemas/Tenant"
text/csv:
schema:
- $ref: '#/components/schemas/VRFDeviceAssignment'
+ $ref: "#/components/schemas/Tenant"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
+ - tenancy
patch:
- description: Partial update a vrf device assignment object.
- operationId: ipam_vrf_device_assignments_partial_update
+ description: Partial update a tenant object.
+ operationId: tenancy_tenants_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this vrf device assignment.
+ - description: A UUID string identifying this tenant.
explode: false
in: path
name: id
@@ -136128,37 +133021,37 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedVRFDeviceAssignmentRequest'
+ $ref: "#/components/schemas/PatchedTenantRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedVRFDeviceAssignmentRequest'
+ $ref: "#/components/schemas/PatchedTenantRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/VRFDeviceAssignment'
+ $ref: "#/components/schemas/Tenant"
text/csv:
schema:
- $ref: '#/components/schemas/VRFDeviceAssignment'
+ $ref: "#/components/schemas/Tenant"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
+ - tenancy
put:
- description: Update a vrf device assignment object.
- operationId: ipam_vrf_device_assignments_update
+ description: Update a tenant object.
+ operationId: tenancy_tenants_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this vrf device assignment.
+ - description: A UUID string identifying this tenant.
explode: false
in: path
name: id
@@ -136171,39 +133064,39 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VRFDeviceAssignmentRequest'
+ $ref: "#/components/schemas/TenantRequest"
text/csv:
schema:
- $ref: '#/components/schemas/VRFDeviceAssignmentRequest'
+ $ref: "#/components/schemas/TenantRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/VRFDeviceAssignment'
+ $ref: "#/components/schemas/Tenant"
text/csv:
schema:
- $ref: '#/components/schemas/VRFDeviceAssignment'
+ $ref: "#/components/schemas/Tenant"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
- /ipam/vrf-device-assignments/{id}/notes/:
+ - tenancy
+ /tenancy/tenants/{id}/notes/:
get:
description: API methods for returning or creating notes on an object.
- operationId: ipam_vrf_device_assignments_notes_list
+ operationId: tenancy_tenants_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this vrf device assignment.
+ - description: A UUID string identifying this tenant.
explode: false
in: path
name: id
@@ -136239,33 +133132,42 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
+ - tenancy
post:
description: API methods for returning or creating notes on an object.
- operationId: ipam_vrf_device_assignments_notes_create
+ operationId: tenancy_tenants_notes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this vrf device assignment.
+ - description: A UUID string identifying this tenant.
explode: false
in: path
name: id
@@ -136278,49 +133180,134 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
- /ipam/vrf-prefix-assignments/:
+ - tenancy
+ /ui/core/render-jinja-template/:
+ post:
+ description: View to render a Jinja template.
+ operationId: ui_core_render_jinja_template_create
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/RenderJinjaRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/RenderJinjaRequest"
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/RenderJinja"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/RenderJinja"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - ui
+ /users/config/:
+ get:
+ description: Return the config_data for the currently authenticated User.
+ operationId: users_config_retrieve
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ additionalProperties: {}
+ type: object
+ text/csv:
+ schema:
+ additionalProperties: {}
+ type: object
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - users
+ /users/groups/:
delete:
- description: Destroy a list of vrf prefix assignment objects.
- operationId: ipam_vrf_prefix_assignments_bulk_destroy
+ description: Destroy a list of group objects.
+ operationId: users_groups_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationIntegerIDRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationIntegerIDRequest"
type: array
required: true
responses:
@@ -136330,27 +133317,17 @@ paths:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
+ - users
get:
- description: Retrieve a list of vrf prefix assignment objects.
- operationId: ipam_vrf_prefix_assignments_list
+ description: Retrieve a list of group objects.
+ operationId: users_groups_list
parameters:
- - explode: true
- in: query
- name: created
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -136360,169 +133337,173 @@ paths:
required: false
schema:
items:
- format: uuid
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: id__ic
+ name: id__gt
required: false
schema:
items:
- format: uuid
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: id__ie
+ name: id__gte
required: false
schema:
items:
- format: uuid
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: id__lt
required: false
schema:
items:
- format: uuid
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: id__lte
required: false
schema:
items:
- format: uuid
- type: string
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: id__n
+ required: false
+ schema:
+ items:
+ type: integer
type: array
style: form
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
- explode: true
in: query
- name: id__isw
+ name: name
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__n
+ name: name__ic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nic
+ name: name__ie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: name__iew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: name__ire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nire
+ name: name__isw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nisw
+ name: name__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nre
+ name: name__nic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__re
+ name: name__nie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated
+ name: name__niew
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - description: Number of results to return per page.
- explode: true
+ - explode: true
in: query
- name: limit
+ name: name__nire
required: false
schema:
- type: integer
+ items:
+ type: string
+ type: array
style: form
- - description: The initial index from which to return the results.
- explode: true
+ - explode: true
in: query
- name: offset
+ name: name__nisw
required: false
schema:
- type: integer
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: prefix
+ name: name__nre
required: false
schema:
items:
@@ -136531,38 +133512,36 @@ paths:
style: form
- explode: true
in: query
- name: prefix__n
+ name: name__re
required: false
schema:
items:
type: string
type: array
style: form
- - description: Which field to use when ordering the results.
+ - description: The initial index from which to return the results.
explode: true
in: query
- name: sort
+ name: offset
required: false
schema:
- type: string
+ type: integer
style: form
- - explode: true
+ - description: Search
+ explode: true
in: query
- name: vrf
+ name: q
required: false
schema:
- items:
- type: string
- type: array
+ type: string
style: form
- - explode: true
+ - description: Which field to use when ordering the results.
+ explode: true
in: query
- name: vrf__n
+ name: sort
required: false
schema:
- items:
- type: string
- type: array
+ type: string
style: form
- description: Serializer Depth
explode: true
@@ -136575,43 +133554,52 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedVRFPrefixAssignmentList'
+ $ref: "#/components/schemas/PaginatedGroupList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedVRFPrefixAssignmentList'
+ $ref: "#/components/schemas/PaginatedGroupList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
+ - users
patch:
- description: Partial update a list of vrf prefix assignment objects.
- operationId: ipam_vrf_prefix_assignments_bulk_partial_update
+ description: Partial update a list of group objects.
+ operationId: users_groups_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableVRFPrefixAssignmentRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableGroupRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableVRFPrefixAssignmentRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableGroupRequest"
type: array
required: true
responses:
@@ -136620,76 +133608,76 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/VRFPrefixAssignment'
+ $ref: "#/components/schemas/Group"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/VRFPrefixAssignment'
+ $ref: "#/components/schemas/Group"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
+ - users
post:
- description: Create one or more vrf prefix assignment objects.
- operationId: ipam_vrf_prefix_assignments_create
+ description: Create one or more group objects.
+ operationId: users_groups_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/VRFPrefixAssignmentRequest'
+ $ref: "#/components/schemas/GroupRequest"
text/csv:
schema:
- $ref: '#/components/schemas/VRFPrefixAssignmentRequest'
+ $ref: "#/components/schemas/GroupRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/VRFPrefixAssignment'
+ $ref: "#/components/schemas/Group"
text/csv:
schema:
- $ref: '#/components/schemas/VRFPrefixAssignment'
+ $ref: "#/components/schemas/Group"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
+ - users
put:
- description: Update a list of vrf prefix assignment objects.
- operationId: ipam_vrf_prefix_assignments_bulk_update
+ description: Update a list of group objects.
+ operationId: users_groups_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableVRFPrefixAssignmentRequest'
+ $ref: "#/components/schemas/BulkWritableGroupRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableVRFPrefixAssignmentRequest'
+ $ref: "#/components/schemas/BulkWritableGroupRequest"
type: array
required: true
responses:
@@ -136698,39 +133686,38 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/VRFPrefixAssignment'
+ $ref: "#/components/schemas/Group"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/VRFPrefixAssignment'
+ $ref: "#/components/schemas/Group"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
- /ipam/vrf-prefix-assignments/{id}/:
+ - users
+ /users/groups/{id}/:
delete:
- description: Destroy a vrf prefix assignment object.
- operationId: ipam_vrf_prefix_assignments_destroy
+ description: Destroy a group object.
+ operationId: users_groups_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this vrf prefix assignment.
+ - description: A unique integer value identifying this group.
explode: false
in: path
name: id
required: true
schema:
- format: uuid
- type: string
+ type: integer
style: simple
responses:
"204":
@@ -136739,26 +133726,25 @@ paths:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
+ - users
get:
- description: Retrieve a vrf prefix assignment object.
- operationId: ipam_vrf_prefix_assignments_retrieve
+ description: Retrieve a group object.
+ operationId: users_groups_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this vrf prefix assignment.
+ - description: A unique integer value identifying this group.
explode: false
in: path
name: id
required: true
schema:
- format: uuid
- type: string
+ type: integer
style: simple
- description: Serializer Depth
explode: true
@@ -136771,238 +133757,138 @@ paths:
minimum: 0
type: integer
style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/VRFPrefixAssignment'
- text/csv:
- schema:
- $ref: '#/components/schemas/VRFPrefixAssignment'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - ipam
- patch:
- description: Partial update a vrf prefix assignment object.
- operationId: ipam_vrf_prefix_assignments_partial_update
- parameters:
- - explode: true
+ - description: Exclude many-to-many fields from the response
+ explode: true
in: query
- name: format
+ name: exclude_m2m
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ default: false
+ type: boolean
style: form
- - description: A UUID string identifying this vrf prefix assignment.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PatchedVRFPrefixAssignmentRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/PatchedVRFPrefixAssignmentRequest'
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/VRFPrefixAssignment'
+ $ref: "#/components/schemas/Group"
text/csv:
schema:
- $ref: '#/components/schemas/VRFPrefixAssignment'
+ $ref: "#/components/schemas/Group"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
- put:
- description: Update a vrf prefix assignment object.
- operationId: ipam_vrf_prefix_assignments_update
+ - users
+ patch:
+ description: Partial update a group object.
+ operationId: users_groups_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this vrf prefix assignment.
+ - description: A unique integer value identifying this group.
explode: false
in: path
name: id
required: true
schema:
- format: uuid
- type: string
+ type: integer
style: simple
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/VRFPrefixAssignmentRequest'
+ $ref: "#/components/schemas/PatchedGroupRequest"
text/csv:
schema:
- $ref: '#/components/schemas/VRFPrefixAssignmentRequest'
- required: true
+ $ref: "#/components/schemas/PatchedGroupRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/VRFPrefixAssignment'
+ $ref: "#/components/schemas/Group"
text/csv:
schema:
- $ref: '#/components/schemas/VRFPrefixAssignment'
+ $ref: "#/components/schemas/Group"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
- /ipam/vrf-prefix-assignments/{id}/notes/:
- get:
- description: API methods for returning or creating notes on an object.
- operationId: ipam_vrf_prefix_assignments_notes_list
+ - users
+ put:
+ description: Update a group object.
+ operationId: users_groups_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this vrf prefix assignment.
+ - description: A unique integer value identifying this group.
explode: false
in: path
name: id
required: true
schema:
- format: uuid
- type: string
- style: simple
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
type: integer
- style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - ipam
- post:
- description: API methods for returning or creating notes on an object.
- operationId: ipam_vrf_prefix_assignments_notes_create
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this vrf prefix assignment.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
style: simple
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/GroupRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/GroupRequest"
required: true
responses:
- "201":
+ "200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Group"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Group"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
- /ipam/vrfs/:
+ - users
+ /users/permissions/:
delete:
- description: Destroy a list of VRF objects.
- operationId: ipam_vrfs_bulk_destroy
+ description: Destroy a list of permission objects.
+ operationId: users_permissions_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -137012,107 +133898,104 @@ paths:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
+ - users
get:
- description: Retrieve a list of VRF objects.
- operationId: ipam_vrfs_list
+ description: Retrieve a list of permission objects.
+ operationId: users_permissions_list
parameters:
- explode: true
in: query
- name: contacts
+ name: description
required: false
schema:
items:
type: string
type: array
style: form
- - description: Contacts (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: contacts__isnull
+ name: description__ic
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
- name: contacts__n
+ name: description__ie
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: created
+ name: description__iew
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__gt
+ name: description__ire
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__gte
+ name: description__isw
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__isnull
+ name: description__n
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: created__lt
+ name: description__nic
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__lte
+ name: description__nie
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__n
+ name: description__niew
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: device
+ name: description__nire
required: false
schema:
items:
@@ -137121,7 +134004,7 @@ paths:
style: form
- explode: true
in: query
- name: device__n
+ name: description__nisw
required: false
schema:
items:
@@ -137130,46 +134013,75 @@ paths:
style: form
- explode: true
in: query
- name: dynamic_groups
+ name: description__nre
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
- name: dynamic_groups__n
+ name: description__re
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: export_targets
+ name: enabled
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: Group (name)
+ explode: true
+ in: query
+ name: groups
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Exclude Group (name)
+ explode: true
in: query
- name: export_targets__n
+ name: groups__n
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Group (ID)
+ explode: true
in: query
- name: format
+ name: groups_id
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - description: Exclude Group (ID)
+ explode: true
+ in: query
+ name: groups_id__n
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: integer
+ type: array
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -137185,7 +134097,7 @@ paths:
style: form
- explode: true
in: query
- name: id__ic
+ name: id__n
required: false
schema:
items:
@@ -137193,167 +134105,568 @@ paths:
type: string
type: array
style: form
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
- explode: true
in: query
- name: id__ie
+ name: name
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: name__ic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: name__ie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: name__iew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__n
+ name: name__ire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nic
+ name: name__isw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__nic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__nie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__niew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__nire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__nisw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__nre
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: name__re
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: object_types
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: object_types__n
+ required: false
+ schema:
+ items:
+ type: integer
+ type: array
+ style: form
+ - description: The initial index from which to return the results.
+ explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: Search
+ explode: true
+ in: query
+ name: q
+ required: false
+ schema:
+ type: string
+ style: form
+ - description: Which field to use when ordering the results.
+ explode: true
+ in: query
+ name: sort
+ required: false
+ schema:
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: users
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: users__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedObjectPermissionList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedObjectPermissionList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - users
+ patch:
+ description: Partial update a list of permission objects.
+ operationId: users_permissions_bulk_partial_update
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableObjectPermissionRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableObjectPermissionRequest"
+ type: array
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/ObjectPermission"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/ObjectPermission"
+ type: array
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - users
+ post:
+ description: Create one or more permission objects.
+ operationId: users_permissions_create
+ parameters:
+ - explode: true
+ in: query
+ name: format
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ObjectPermissionRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/ObjectPermissionRequest"
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ObjectPermission"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/ObjectPermission"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - users
+ put:
+ description: Update a list of permission objects.
+ operationId: users_permissions_bulk_update
+ parameters:
- explode: true
in: query
- name: id__niew
+ name: format
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableObjectPermissionRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableObjectPermissionRequest"
+ type: array
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/ObjectPermission"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/ObjectPermission"
+ type: array
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - users
+ /users/permissions/{id}/:
+ delete:
+ description: Destroy a permission object.
+ operationId: users_permissions_destroy
+ parameters:
- explode: true
in: query
- name: id__nire
+ name: format
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
+ - description: A UUID string identifying this permission.
+ explode: false
+ in: path
+ name: id
+ required: true
schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
+ format: uuid
+ type: string
+ style: simple
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - users
+ get:
+ description: Retrieve a permission object.
+ operationId: users_permissions_retrieve
+ parameters:
- explode: true
in: query
- name: id__nre
+ name: format
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - explode: true
+ - description: A UUID string identifying this permission.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Serializer Depth
+ explode: true
in: query
- name: id__re
+ name: depth
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
style: form
- - explode: true
+ - description: Exclude many-to-many fields from the response
+ explode: true
in: query
- name: import_targets
+ name: exclude_m2m
required: false
schema:
- items:
- type: string
- type: array
+ default: false
+ type: boolean
style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ObjectPermission"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/ObjectPermission"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - users
+ patch:
+ description: Partial update a permission object.
+ operationId: users_permissions_partial_update
+ parameters:
- explode: true
in: query
- name: import_targets__n
+ name: format
required: false
schema:
- items:
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ - description: A UUID string identifying this permission.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PatchedObjectPermissionRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PatchedObjectPermissionRequest"
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ObjectPermission"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/ObjectPermission"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - users
+ put:
+ description: Update a permission object.
+ operationId: users_permissions_update
+ parameters:
- explode: true
in: query
- name: last_updated
+ name: format
required: false
schema:
- items:
- format: date-time
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ - description: A UUID string identifying this permission.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ObjectPermissionRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/ObjectPermissionRequest"
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ObjectPermission"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/ObjectPermission"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - users
+ /users/tokens/:
+ delete:
+ description: Destroy a list of token objects.
+ operationId: users_tokens_bulk_destroy
+ parameters:
- explode: true
in: query
- name: last_updated__gt
+ name: format
required: false
schema:
- items:
- format: date-time
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ required: true
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ - basicAuth: []
+ tags:
+ - users
+ get:
+ description: Retrieve a list of token objects.
+ operationId: users_tokens_list
+ parameters:
- explode: true
in: query
- name: last_updated__gte
+ name: created
required: false
schema:
items:
@@ -137363,14 +134676,7 @@ paths:
style: form
- explode: true
in: query
- name: last_updated__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: last_updated__lt
+ name: created__gt
required: false
schema:
items:
@@ -137380,7 +134686,7 @@ paths:
style: form
- explode: true
in: query
- name: last_updated__lte
+ name: created__gte
required: false
schema:
items:
@@ -137390,7 +134696,7 @@ paths:
style: form
- explode: true
in: query
- name: last_updated__n
+ name: created__lt
required: false
schema:
items:
@@ -137398,35 +134704,29 @@ paths:
type: string
type: array
style: form
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- explode: true
in: query
- name: name
+ name: created__lte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: name__ic
+ name: created__n
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: name__ie
+ name: description
required: false
schema:
items:
@@ -137435,7 +134735,7 @@ paths:
style: form
- explode: true
in: query
- name: name__iew
+ name: description__ic
required: false
schema:
items:
@@ -137444,7 +134744,7 @@ paths:
style: form
- explode: true
in: query
- name: name__ire
+ name: description__ie
required: false
schema:
items:
@@ -137453,7 +134753,7 @@ paths:
style: form
- explode: true
in: query
- name: name__isw
+ name: description__iew
required: false
schema:
items:
@@ -137462,7 +134762,7 @@ paths:
style: form
- explode: true
in: query
- name: name__n
+ name: description__ire
required: false
schema:
items:
@@ -137471,7 +134771,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nic
+ name: description__isw
required: false
schema:
items:
@@ -137480,7 +134780,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nie
+ name: description__n
required: false
schema:
items:
@@ -137489,7 +134789,7 @@ paths:
style: form
- explode: true
in: query
- name: name__niew
+ name: description__nic
required: false
schema:
items:
@@ -137498,7 +134798,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nire
+ name: description__nie
required: false
schema:
items:
@@ -137507,7 +134807,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nisw
+ name: description__niew
required: false
schema:
items:
@@ -137516,7 +134816,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nre
+ name: description__nire
required: false
schema:
items:
@@ -137525,7 +134825,7 @@ paths:
style: form
- explode: true
in: query
- name: name__re
+ name: description__nisw
required: false
schema:
items:
@@ -137534,7 +134834,7 @@ paths:
style: form
- explode: true
in: query
- name: namespace
+ name: description__nre
required: false
schema:
items:
@@ -137543,120 +134843,112 @@ paths:
style: form
- explode: true
in: query
- name: namespace__n
+ name: description__re
required: false
schema:
items:
type: string
type: array
style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- explode: true
in: query
- name: prefix
+ name: expires
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: prefix__n
+ name: expires__gt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- - description: Search
- explode: true
- in: query
- name: q
- required: false
- schema:
- type: string
- style: form
- explode: true
in: query
- name: rd
+ name: expires__gte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: rd__ic
+ name: expires__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: rd__ie
+ name: expires__lt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: rd__iew
+ name: expires__lte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: rd__ire
+ name: expires__n
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: rd__isnull
+ name: format
required: false
schema:
- type: boolean
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - explode: true
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
in: query
- name: rd__isw
+ name: id
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: rd__n
+ name: id__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: rd__nic
+ name: key
required: false
schema:
items:
@@ -137665,7 +134957,7 @@ paths:
style: form
- explode: true
in: query
- name: rd__nie
+ name: key__ic
required: false
schema:
items:
@@ -137674,7 +134966,7 @@ paths:
style: form
- explode: true
in: query
- name: rd__niew
+ name: key__ie
required: false
schema:
items:
@@ -137683,7 +134975,7 @@ paths:
style: form
- explode: true
in: query
- name: rd__nire
+ name: key__iew
required: false
schema:
items:
@@ -137692,7 +134984,7 @@ paths:
style: form
- explode: true
in: query
- name: rd__nisw
+ name: key__ire
required: false
schema:
items:
@@ -137701,7 +134993,7 @@ paths:
style: form
- explode: true
in: query
- name: rd__nre
+ name: key__isw
required: false
schema:
items:
@@ -137710,50 +135002,25 @@ paths:
style: form
- explode: true
in: query
- name: rd__re
+ name: key__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Which field to use when ordering the results.
- explode: true
- in: query
- name: sort
- required: false
- schema:
- type: string
- style: form
- explode: true
in: query
- name: status
+ name: key__nic
required: false
schema:
items:
type: string
type: array
style: form
- - description: Status (name or ID) is null
- explode: true
- in: query
- name: status__isnull
- required: false
- schema:
- type: boolean
- style: form
- - description: Exclude Status (name or ID)
- explode: true
- in: query
- name: status__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
- name: tags
+ name: key__nie
required: false
schema:
items:
@@ -137762,14 +135029,7 @@ paths:
style: form
- explode: true
in: query
- name: tags__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: tags__n
+ name: key__niew
required: false
schema:
items:
@@ -137778,50 +135038,25 @@ paths:
style: form
- explode: true
in: query
- name: teams
+ name: key__nire
required: false
schema:
items:
type: string
type: array
style: form
- - description: Teams (name or ID) is null
- explode: true
- in: query
- name: teams__isnull
- required: false
- schema:
- type: boolean
- style: form
- - description: Exclude Teams (name or ID)
- explode: true
- in: query
- name: teams__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
- name: tenant
+ name: key__nisw
required: false
schema:
items:
type: string
type: array
style: form
- - description: Tenant (name or ID) is null
- explode: true
- in: query
- name: tenant__isnull
- required: false
- schema:
- type: boolean
- style: form
- explode: true
in: query
- name: tenant__n
+ name: key__nre
required: false
schema:
items:
@@ -137830,61 +135065,51 @@ paths:
style: form
- explode: true
in: query
- name: tenant_group
+ name: key__re
required: false
schema:
items:
type: string
type: array
style: form
- - description: Tenant Group (name or ID) is null
+ - description: Number of results to return per page.
explode: true
in: query
- name: tenant_group__isnull
+ name: limit
required: false
schema:
- type: boolean
+ type: integer
style: form
- - explode: true
+ - description: The initial index from which to return the results.
+ explode: true
in: query
- name: tenant_group__n
+ name: offset
required: false
schema:
- items:
- type: string
- type: array
+ type: integer
style: form
- - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead)"
+ - description: Search
explode: true
in: query
- name: tenant_id
+ name: q
required: false
schema:
- items:
- format: uuid
- nullable: true
- type: string
- type: array
+ type: string
style: form
- - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead) is null"
+ - description: Which field to use when ordering the results.
explode: true
in: query
- name: tenant_id__isnull
+ name: sort
required: false
schema:
- type: boolean
+ type: string
style: form
- - description: "Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead)"
- explode: true
+ - explode: true
in: query
- name: tenant_id__n
+ name: write_enabled
required: false
schema:
- items:
- format: uuid
- nullable: true
- type: string
- type: array
+ type: boolean
style: form
- description: Serializer Depth
explode: true
@@ -137897,43 +135122,53 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedVRFList'
+ $ref: "#/components/schemas/PaginatedTokenList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedVRFList'
+ $ref: "#/components/schemas/PaginatedTokenList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
+ - basicAuth: []
tags:
- - ipam
+ - users
patch:
- description: Partial update a list of VRF objects.
- operationId: ipam_vrfs_bulk_partial_update
+ description: Partial update a list of token objects.
+ operationId: users_tokens_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableVRFRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableTokenRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableVRFRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableTokenRequest"
type: array
required: true
responses:
@@ -137942,76 +135177,77 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/VRF'
+ $ref: "#/components/schemas/Token"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/VRF'
+ $ref: "#/components/schemas/Token"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
+ - basicAuth: []
tags:
- - ipam
+ - users
post:
- description: Create one or more VRF objects.
- operationId: ipam_vrfs_create
+ description: Create one or more token objects.
+ operationId: users_tokens_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/VRFRequest'
+ $ref: "#/components/schemas/TokenRequest"
text/csv:
schema:
- $ref: '#/components/schemas/VRFRequest'
- required: true
+ $ref: "#/components/schemas/TokenRequest"
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/VRF'
+ $ref: "#/components/schemas/Token"
text/csv:
schema:
- $ref: '#/components/schemas/VRF'
+ $ref: "#/components/schemas/Token"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
+ - basicAuth: []
tags:
- - ipam
+ - users
put:
- description: Update a list of VRF objects.
- operationId: ipam_vrfs_bulk_update
+ description: Update a list of token objects.
+ operationId: users_tokens_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableVRFRequest'
+ $ref: "#/components/schemas/BulkWritableTokenRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableVRFRequest'
+ $ref: "#/components/schemas/BulkWritableTokenRequest"
type: array
required: true
responses:
@@ -138020,32 +135256,33 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/VRF'
+ $ref: "#/components/schemas/Token"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/VRF'
+ $ref: "#/components/schemas/Token"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
+ - basicAuth: []
tags:
- - ipam
- /ipam/vrfs/{id}/:
+ - users
+ /users/tokens/{id}/:
delete:
- description: Destroy a VRF object.
- operationId: ipam_vrfs_destroy
+ description: Destroy a token object.
+ operationId: users_tokens_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this VRF.
+ - description: A UUID string identifying this token.
explode: false
in: path
name: id
@@ -138060,20 +135297,21 @@ paths:
security:
- cookieAuth: []
- tokenAuth: []
+ - basicAuth: []
tags:
- - ipam
+ - users
get:
- description: Retrieve a VRF object.
- operationId: ipam_vrfs_retrieve
+ description: Retrieve a token object.
+ operationId: users_tokens_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this VRF.
+ - description: A UUID string identifying this token.
explode: false
in: path
name: id
@@ -138093,33 +135331,43 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/VRF'
+ $ref: "#/components/schemas/Token"
text/csv:
schema:
- $ref: '#/components/schemas/VRF'
+ $ref: "#/components/schemas/Token"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
+ - basicAuth: []
tags:
- - ipam
+ - users
patch:
- description: Partial update a VRF object.
- operationId: ipam_vrfs_partial_update
+ description: Partial update a token object.
+ operationId: users_tokens_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this VRF.
+ - description: A UUID string identifying this token.
explode: false
in: path
name: id
@@ -138132,37 +135380,38 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedVRFRequest'
+ $ref: "#/components/schemas/PatchedTokenRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedVRFRequest'
+ $ref: "#/components/schemas/PatchedTokenRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/VRF'
+ $ref: "#/components/schemas/Token"
text/csv:
schema:
- $ref: '#/components/schemas/VRF'
+ $ref: "#/components/schemas/Token"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
+ - basicAuth: []
tags:
- - ipam
+ - users
put:
- description: Update a VRF object.
- operationId: ipam_vrfs_update
+ description: Update a token object.
+ operationId: users_tokens_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this VRF.
+ - description: A UUID string identifying this token.
explode: false
in: path
name: id
@@ -138175,376 +135424,129 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VRFRequest'
+ $ref: "#/components/schemas/TokenRequest"
text/csv:
schema:
- $ref: '#/components/schemas/VRFRequest'
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/VRF'
- text/csv:
- schema:
- $ref: '#/components/schemas/VRF'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - ipam
- /ipam/vrfs/{id}/notes/:
- get:
- description: API methods for returning or creating notes on an object.
- operationId: ipam_vrfs_notes_list
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this VRF.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
- style: form
+ $ref: "#/components/schemas/TokenRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/Token"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/Token"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
+ - basicAuth: []
tags:
- - ipam
- post:
- description: API methods for returning or creating notes on an object.
- operationId: ipam_vrfs_notes_create
+ - users
+ /users/users/:
+ delete:
+ description: Destroy a list of user objects.
+ operationId: users_users_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this VRF.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
required: true
responses:
- "201":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/Note'
- text/csv:
- schema:
- $ref: '#/components/schemas/Note'
- description: ""
+ "204":
+ description: No response body
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - ipam
- /status/:
+ - users
get:
- description: A lightweight read-only endpoint for conveying the current operational
- status.
- operationId: status_retrieve
+ description: Retrieve a list of user objects.
+ operationId: users_users_list
parameters:
- explode: true
in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
+ name: email
required: false
schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
+ items:
+ type: string
+ type: array
style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/status_retrieve_200_response'
- text/csv:
- schema:
- $ref: '#/components/schemas/status_retrieve_200_response'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - status
- /swagger/:
- get:
- description: |-
- OpenApi3 schema for this API. Format can be selected via content negotiation.
-
- - YAML: application/vnd.oai.openapi
- - JSON: application/vnd.oai.openapi+json
- operationId: swagger_retrieve
- parameters:
- explode: true
in: query
- name: format
+ name: email__ic
required: false
schema:
- $ref: '#/components/schemas/swagger_retrieve_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: lang
- required: false
- schema:
- $ref: '#/components/schemas/swagger_retrieve_lang_parameter'
- style: form
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
+ name: email__ie
required: false
schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
+ items:
+ type: string
+ type: array
style: form
- responses:
- "200":
- content:
- application/vnd.oai.openapi:
- schema:
- additionalProperties: {}
- type: object
- application/yaml:
- schema:
- additionalProperties: {}
- type: object
- application/vnd.oai.openapi+json:
- schema:
- additionalProperties: {}
- type: object
- application/json:
- schema:
- additionalProperties: {}
- type: object
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - swagger
- /swagger.json:
- get:
- description: |-
- OpenApi3 schema for this API. Format can be selected via content negotiation.
-
- - YAML: application/vnd.oai.openapi
- - JSON: application/vnd.oai.openapi+json
- operationId: swagger.json_retrieve
- parameters:
- explode: true
in: query
- name: lang
- required: false
- schema:
- $ref: '#/components/schemas/swagger_retrieve_lang_parameter'
- style: form
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
+ name: email__iew
required: false
schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
+ items:
+ type: string
+ type: array
style: form
- responses:
- "200":
- content:
- application/vnd.oai.openapi+json:
- schema:
- additionalProperties: {}
- type: object
- application/json:
- schema:
- additionalProperties: {}
- type: object
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - swagger.json
- /swagger.yaml:
- get:
- description: |-
- OpenApi3 schema for this API. Format can be selected via content negotiation.
-
- - YAML: application/vnd.oai.openapi
- - JSON: application/vnd.oai.openapi+json
- operationId: swagger.yaml_retrieve
- parameters:
- explode: true
in: query
- name: lang
- required: false
- schema:
- $ref: '#/components/schemas/swagger_retrieve_lang_parameter'
- style: form
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
+ name: email__ire
required: false
schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
+ items:
+ type: string
+ type: array
style: form
- responses:
- "200":
- content:
- application/vnd.oai.openapi:
- schema:
- additionalProperties: {}
- type: object
- application/yaml:
- schema:
- additionalProperties: {}
- type: object
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - swagger.yaml
- /tenancy/tenant-groups/:
- delete:
- description: Destroy a list of tenant group objects.
- operationId: tenancy_tenant_groups_bulk_destroy
- parameters:
- explode: true
in: query
- name: format
+ name: email__isw
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- requestBody:
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/BulkOperationRequest'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/BulkOperationRequest'
- type: array
- required: true
- responses:
- "204":
- description: No response body
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - tenancy
- get:
- description: Retrieve a list of tenant group objects.
- operationId: tenancy_tenant_groups_list
- parameters:
- explode: true
in: query
- name: children
+ name: email__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Children (name or ID) is null
- explode: true
- in: query
- name: children__isnull
- required: false
- schema:
- type: boolean
- style: form
- explode: true
in: query
- name: children__n
+ name: email__nic
required: false
schema:
items:
@@ -138553,100 +135555,79 @@ paths:
style: form
- explode: true
in: query
- name: contacts
+ name: email__nie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Contacts (name or ID) is null
- explode: true
- in: query
- name: contacts__isnull
- required: false
- schema:
- type: boolean
- style: form
- - description: Exclude Contacts (name or ID)
- explode: true
- in: query
- name: contacts__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
- name: created
+ name: email__niew
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__gt
+ name: email__nire
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__gte
+ name: email__nisw
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__isnull
+ name: email__nre
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: created__lt
+ name: email__re
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__lte
+ name: first_name
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__n
+ name: first_name__ic
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: description
+ name: first_name__ie
required: false
schema:
items:
@@ -138655,7 +135636,7 @@ paths:
style: form
- explode: true
in: query
- name: description__ic
+ name: first_name__iew
required: false
schema:
items:
@@ -138664,7 +135645,7 @@ paths:
style: form
- explode: true
in: query
- name: description__ie
+ name: first_name__ire
required: false
schema:
items:
@@ -138673,7 +135654,7 @@ paths:
style: form
- explode: true
in: query
- name: description__iew
+ name: first_name__isw
required: false
schema:
items:
@@ -138682,7 +135663,7 @@ paths:
style: form
- explode: true
in: query
- name: description__ire
+ name: first_name__n
required: false
schema:
items:
@@ -138691,7 +135672,7 @@ paths:
style: form
- explode: true
in: query
- name: description__isw
+ name: first_name__nic
required: false
schema:
items:
@@ -138700,7 +135681,7 @@ paths:
style: form
- explode: true
in: query
- name: description__n
+ name: first_name__nie
required: false
schema:
items:
@@ -138709,7 +135690,7 @@ paths:
style: form
- explode: true
in: query
- name: description__nic
+ name: first_name__niew
required: false
schema:
items:
@@ -138718,7 +135699,7 @@ paths:
style: form
- explode: true
in: query
- name: description__nie
+ name: first_name__nire
required: false
schema:
items:
@@ -138727,7 +135708,7 @@ paths:
style: form
- explode: true
in: query
- name: description__niew
+ name: first_name__nisw
required: false
schema:
items:
@@ -138736,7 +135717,7 @@ paths:
style: form
- explode: true
in: query
- name: description__nire
+ name: first_name__nre
required: false
schema:
items:
@@ -138745,7 +135726,7 @@ paths:
style: form
- explode: true
in: query
- name: description__nisw
+ name: first_name__re
required: false
schema:
items:
@@ -138754,59 +135735,71 @@ paths:
style: form
- explode: true
in: query
- name: description__nre
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: Group (name)
+ explode: true
+ in: query
+ name: groups
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Exclude Group (name)
+ explode: true
in: query
- name: description__re
+ name: groups__n
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Group (ID)
+ explode: true
in: query
- name: dynamic_groups
+ name: groups_id
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
+ - description: Exclude Group (ID)
explode: true
in: query
- name: dynamic_groups__n
+ name: groups_id__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: integer
+ type: array
style: form
- - explode: true
+ - description: Has Changes
+ explode: true
in: query
- name: format
+ name: has_object_changes
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ type: boolean
style: form
- - description: Has children
+ - description: Has object permissions
explode: true
in: query
- name: has_children
+ name: has_object_permissions
required: false
schema:
type: boolean
style: form
- - description: Has tenants
+ - description: Has Rack Reservations
explode: true
in: query
- name: has_tenants
+ name: has_rack_reservations
required: false
schema:
type: boolean
@@ -138825,7 +135818,7 @@ paths:
style: form
- explode: true
in: query
- name: id__ic
+ name: id__n
required: false
schema:
items:
@@ -138835,247 +135828,265 @@ paths:
style: form
- explode: true
in: query
- name: id__ie
+ name: is_active
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: is_staff
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: last_name
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: last_name__ic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: last_name__ie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: last_name__iew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__n
+ name: last_name__ire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nic
+ name: last_name__isw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: last_name__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: last_name__nic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nire
+ name: last_name__nie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nisw
+ name: last_name__niew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nre
+ name: last_name__nire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__re
+ name: last_name__nisw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated
+ name: last_name__nre
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__gt
+ name: last_name__re
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - explode: true
+ - description: Number of results to return per page.
+ explode: true
in: query
- name: last_updated__gte
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: Object Changes (ID)
+ explode: true
+ in: query
+ name: object_changes
required: false
schema:
items:
- format: date-time
+ format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Object Changes (ID) is null
+ explode: true
in: query
- name: last_updated__isnull
+ name: object_changes__isnull
required: false
schema:
type: boolean
style: form
- - explode: true
+ - description: Exclude Object Changes (ID)
+ explode: true
in: query
- name: last_updated__lt
+ name: object_changes__n
required: false
schema:
items:
- format: date-time
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__lte
+ name: object_permissions
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
+ - description: Object Permission (ID or name) is null
+ explode: true
+ in: query
+ name: object_permissions__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: last_updated__n
+ name: object_permissions__n
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - description: Number of results to return per page.
+ - description: The initial index from which to return the results.
explode: true
in: query
- name: limit
+ name: offset
required: false
schema:
type: integer
style: form
- - explode: true
+ - description: Search
+ explode: true
in: query
- name: name
+ name: q
required: false
schema:
- items:
- type: string
- type: array
+ type: string
style: form
- - explode: true
+ - description: Rack Reservation (ID)
+ explode: true
in: query
- name: name__ic
+ name: rack_reservations_id
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Rack Reservation (ID) is null
+ explode: true
in: query
- name: name__ie
+ name: rack_reservations_id__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: Exclude Rack Reservation (ID)
+ explode: true
in: query
- name: name__iew
+ name: rack_reservations_id__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Which field to use when ordering the results.
+ explode: true
in: query
- name: name__ire
+ name: sort
required: false
schema:
- items:
- type: string
- type: array
+ type: string
style: form
- explode: true
in: query
- name: name__isw
+ name: username
required: false
schema:
items:
@@ -139084,7 +136095,7 @@ paths:
style: form
- explode: true
in: query
- name: name__n
+ name: username__ic
required: false
schema:
items:
@@ -139093,7 +136104,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nic
+ name: username__ie
required: false
schema:
items:
@@ -139102,7 +136113,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nie
+ name: username__iew
required: false
schema:
items:
@@ -139111,7 +136122,7 @@ paths:
style: form
- explode: true
in: query
- name: name__niew
+ name: username__ire
required: false
schema:
items:
@@ -139120,7 +136131,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nire
+ name: username__isw
required: false
schema:
items:
@@ -139129,7 +136140,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nisw
+ name: username__n
required: false
schema:
items:
@@ -139138,7 +136149,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nre
+ name: username__nic
required: false
schema:
items:
@@ -139147,109 +136158,52 @@ paths:
style: form
- explode: true
in: query
- name: name__re
+ name: username__nie
required: false
schema:
items:
type: string
type: array
style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- explode: true
in: query
- name: parent
+ name: username__niew
required: false
schema:
items:
type: string
type: array
style: form
- - description: Parent tenant group (name or ID) is null
- explode: true
- in: query
- name: parent__isnull
- required: false
- schema:
- type: boolean
- style: form
- explode: true
in: query
- name: parent__n
+ name: username__nire
required: false
schema:
items:
type: string
type: array
style: form
- - description: Search
- explode: true
- in: query
- name: q
- required: false
- schema:
- type: string
- style: form
- - description: Which field to use when ordering the results.
- explode: true
- in: query
- name: sort
- required: false
- schema:
- type: string
- style: form
- explode: true
in: query
- name: teams
+ name: username__nisw
required: false
schema:
items:
type: string
type: array
style: form
- - description: Teams (name or ID) is null
- explode: true
- in: query
- name: teams__isnull
- required: false
- schema:
- type: boolean
- style: form
- - description: Exclude Teams (name or ID)
- explode: true
- in: query
- name: teams__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
- name: tenants
+ name: username__nre
required: false
schema:
items:
type: string
type: array
style: form
- - description: Tenants (name or ID) is null
- explode: true
- in: query
- name: tenants__isnull
- required: false
- schema:
- type: boolean
- style: form
- explode: true
in: query
- name: tenants__n
+ name: username__re
required: false
schema:
items:
@@ -139267,43 +136221,52 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedTenantGroupList'
+ $ref: "#/components/schemas/PaginatedUserList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedTenantGroupList'
+ $ref: "#/components/schemas/PaginatedUserList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - tenancy
+ - users
patch:
- description: Partial update a list of tenant group objects.
- operationId: tenancy_tenant_groups_bulk_partial_update
+ description: Partial update a list of user objects.
+ operationId: users_users_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableTenantGroupRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableUserRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableTenantGroupRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableUserRequest"
type: array
required: true
responses:
@@ -139312,76 +136275,76 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/TenantGroup'
+ $ref: "#/components/schemas/User"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/TenantGroup'
+ $ref: "#/components/schemas/User"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - tenancy
+ - users
post:
- description: Create one or more tenant group objects.
- operationId: tenancy_tenant_groups_create
+ description: Create one or more user objects.
+ operationId: users_users_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/TenantGroupRequest'
+ $ref: "#/components/schemas/UserRequest"
text/csv:
schema:
- $ref: '#/components/schemas/TenantGroupRequest'
+ $ref: "#/components/schemas/UserRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/TenantGroup'
+ $ref: "#/components/schemas/User"
text/csv:
schema:
- $ref: '#/components/schemas/TenantGroup'
+ $ref: "#/components/schemas/User"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - tenancy
+ - users
put:
- description: Update a list of tenant group objects.
- operationId: tenancy_tenant_groups_bulk_update
+ description: Update a list of user objects.
+ operationId: users_users_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableTenantGroupRequest'
+ $ref: "#/components/schemas/BulkWritableUserRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableTenantGroupRequest'
+ $ref: "#/components/schemas/BulkWritableUserRequest"
type: array
required: true
responses:
@@ -139390,32 +136353,32 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/TenantGroup'
+ $ref: "#/components/schemas/User"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/TenantGroup'
+ $ref: "#/components/schemas/User"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - tenancy
- /tenancy/tenant-groups/{id}/:
+ - users
+ /users/users/{id}/:
delete:
- description: Destroy a tenant group object.
- operationId: tenancy_tenant_groups_destroy
+ description: Destroy a user object.
+ operationId: users_users_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this tenant group.
+ - description: A UUID string identifying this user.
explode: false
in: path
name: id
@@ -139431,19 +136394,19 @@ paths:
- cookieAuth: []
- tokenAuth: []
tags:
- - tenancy
+ - users
get:
- description: Retrieve a tenant group object.
- operationId: tenancy_tenant_groups_retrieve
+ description: Retrieve a user object.
+ operationId: users_users_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this tenant group.
+ - description: A UUID string identifying this user.
explode: false
in: path
name: id
@@ -139463,76 +136426,42 @@ paths:
minimum: 0
type: integer
style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/TenantGroup'
- text/csv:
- schema:
- $ref: '#/components/schemas/TenantGroup'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - tenancy
- patch:
- description: Partial update a tenant group object.
- operationId: tenancy_tenant_groups_partial_update
- parameters:
- - explode: true
+ - description: Exclude many-to-many fields from the response
+ explode: true
in: query
- name: format
+ name: exclude_m2m
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ default: false
+ type: boolean
style: form
- - description: A UUID string identifying this tenant group.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PatchedTenantGroupRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/PatchedTenantGroupRequest'
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/TenantGroup'
+ $ref: "#/components/schemas/User"
text/csv:
schema:
- $ref: '#/components/schemas/TenantGroup'
+ $ref: "#/components/schemas/User"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - tenancy
- put:
- description: Update a tenant group object.
- operationId: tenancy_tenant_groups_update
+ - users
+ patch:
+ description: Partial update a user object.
+ operationId: users_users_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this tenant group.
+ - description: A UUID string identifying this user.
explode: false
in: path
name: id
@@ -139545,101 +136474,37 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/TenantGroupRequest'
+ $ref: "#/components/schemas/PatchedUserRequest"
text/csv:
schema:
- $ref: '#/components/schemas/TenantGroupRequest'
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/TenantGroup'
- text/csv:
- schema:
- $ref: '#/components/schemas/TenantGroup'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - tenancy
- /tenancy/tenant-groups/{id}/notes/:
- get:
- description: API methods for returning or creating notes on an object.
- operationId: tenancy_tenant_groups_notes_list
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this tenant group.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
- style: form
+ $ref: "#/components/schemas/PatchedUserRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/User"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/User"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - tenancy
- post:
- description: API methods for returning or creating notes on an object.
- operationId: tenancy_tenant_groups_notes_create
+ - users
+ put:
+ description: Update a user object.
+ operationId: users_users_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this tenant group.
+ - description: A UUID string identifying this user.
explode: false
in: path
name: id
@@ -139652,49 +136517,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/UserRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/UserRequest"
required: true
responses:
- "201":
+ "200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/User"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/User"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - tenancy
- /tenancy/tenants/:
+ - users
+ /virtualization/cluster-groups/:
delete:
- description: Destroy a list of tenant objects.
- operationId: tenancy_tenants_bulk_destroy
+ description: Destroy a list of cluster group objects.
+ operationId: virtualization_cluster_groups_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -139704,61 +136569,57 @@ paths:
- cookieAuth: []
- tokenAuth: []
tags:
- - tenancy
+ - virtualization
get:
- description: Retrieve a list of tenant objects.
- operationId: tenancy_tenants_list
+ description: Retrieve a list of cluster group objects.
+ operationId: virtualization_cluster_groups_list
parameters:
- - description: Circuits (ID)
- explode: true
+ - explode: true
in: query
- name: circuits
+ name: clusters
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - description: Circuits (ID) is null
+ - description: Clusters (name or ID) is null
explode: true
in: query
- name: circuits__isnull
+ name: clusters__isnull
required: false
schema:
type: boolean
style: form
- - description: Exclude Circuits (ID)
- explode: true
+ - explode: true
in: query
- name: circuits__n
+ name: clusters__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: clusters
+ name: contacts
required: false
schema:
items:
type: string
type: array
style: form
- - description: Clusters (name or ID) is null
+ - description: Contacts (name or ID) is null
explode: true
in: query
- name: clusters__isnull
+ name: contacts__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: clusters__n
+ name: contacts__n
required: false
schema:
items:
@@ -139767,61 +136628,74 @@ paths:
style: form
- explode: true
in: query
- name: comments
+ name: created
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: comments__ic
+ name: created__gt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: comments__ie
+ name: created__gte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: comments__iew
+ name: created__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: created__lt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: comments__ire
+ name: created__lte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: comments__isw
+ name: created__n
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: comments__n
+ name: description
required: false
schema:
items:
@@ -139830,7 +136704,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__nic
+ name: description__ic
required: false
schema:
items:
@@ -139839,7 +136713,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__nie
+ name: description__ie
required: false
schema:
items:
@@ -139848,7 +136722,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__niew
+ name: description__iew
required: false
schema:
items:
@@ -139857,7 +136731,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__nire
+ name: description__ire
required: false
schema:
items:
@@ -139866,7 +136740,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__nisw
+ name: description__isw
required: false
schema:
items:
@@ -139875,7 +136749,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__nre
+ name: description__n
required: false
schema:
items:
@@ -139884,7 +136758,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__re
+ name: description__nic
required: false
schema:
items:
@@ -139893,154 +136767,191 @@ paths:
style: form
- explode: true
in: query
- name: contacts
+ name: description__nie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Contacts (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: contacts__isnull
+ name: description__niew
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
- name: contacts__n
+ name: description__nire
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: created
+ name: description__nisw
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__gt
+ name: description__nre
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__gte
+ name: description__re
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__isnull
+ name: dynamic_groups
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: created__lt
+ name: dynamic_groups__n
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__lte
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: Has clusters
+ explode: true
+ in: query
+ name: has_clusters
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
+ in: query
+ name: id
required: false
schema:
items:
- format: date-time
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: created__n
+ name: id__n
required: false
schema:
items:
- format: date-time
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: description
+ name: last_updated
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: description__ic
+ name: last_updated__gt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: description__ie
+ name: last_updated__gte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: description__iew
+ name: last_updated__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: last_updated__lt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: description__ire
+ name: last_updated__lte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: description__isw
+ name: last_updated__n
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
- explode: true
in: query
- name: description__n
+ name: name
required: false
schema:
items:
@@ -140049,7 +136960,7 @@ paths:
style: form
- explode: true
in: query
- name: description__nic
+ name: name__ic
required: false
schema:
items:
@@ -140058,7 +136969,7 @@ paths:
style: form
- explode: true
in: query
- name: description__nie
+ name: name__ie
required: false
schema:
items:
@@ -140067,7 +136978,7 @@ paths:
style: form
- explode: true
in: query
- name: description__niew
+ name: name__iew
required: false
schema:
items:
@@ -140076,7 +136987,7 @@ paths:
style: form
- explode: true
in: query
- name: description__nire
+ name: name__ire
required: false
schema:
items:
@@ -140085,7 +136996,7 @@ paths:
style: form
- explode: true
in: query
- name: description__nisw
+ name: name__isw
required: false
schema:
items:
@@ -140094,7 +137005,7 @@ paths:
style: form
- explode: true
in: query
- name: description__nre
+ name: name__n
required: false
schema:
items:
@@ -140103,7 +137014,7 @@ paths:
style: form
- explode: true
in: query
- name: description__re
+ name: name__nic
required: false
schema:
items:
@@ -140112,24 +137023,25 @@ paths:
style: form
- explode: true
in: query
- name: devices
+ name: name__nie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Devices (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: devices__isnull
+ name: name__niew
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: devices__n
+ name: name__nire
required: false
schema:
items:
@@ -140138,300 +137050,616 @@ paths:
style: form
- explode: true
in: query
- name: dynamic_groups
+ name: name__nisw
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
+ - explode: true
in: query
- name: dynamic_groups__n
+ name: name__nre
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: format
+ name: name__re
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- - description: Has circuits
+ - description: The initial index from which to return the results.
explode: true
in: query
- name: has_circuits
+ name: offset
required: false
schema:
- type: boolean
+ type: integer
style: form
- - description: Has clusters
+ - description: Search
explode: true
in: query
- name: has_clusters
+ name: q
required: false
schema:
- type: boolean
+ type: string
style: form
- - description: Has devices
+ - description: Which field to use when ordering the results.
explode: true
in: query
- name: has_devices
+ name: sort
required: false
schema:
- type: boolean
+ type: string
style: form
- - description: Has IP addresses
- explode: true
+ - explode: true
in: query
- name: has_ip_addresses
+ name: teams
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- - description: Has locations
+ - description: Teams (name or ID) is null
explode: true
in: query
- name: has_locations
+ name: teams__isnull
required: false
schema:
type: boolean
style: form
- - description: Has prefixes
- explode: true
+ - explode: true
in: query
- name: has_prefixes
+ name: teams__n
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- - description: Has rack reservations
+ - description: Serializer Depth
explode: true
in: query
- name: has_rack_reservations
+ name: depth
required: false
schema:
- type: boolean
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
style: form
- - description: Has racks
+ - description: Exclude many-to-many fields from the response
explode: true
in: query
- name: has_racks
+ name: exclude_m2m
required: false
schema:
+ default: false
type: boolean
style: form
- - description: Has route targets
- explode: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedClusterGroupList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedClusterGroupList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - virtualization
+ patch:
+ description: Partial update a list of cluster group objects.
+ operationId: virtualization_cluster_groups_bulk_partial_update
+ parameters:
+ - explode: true
in: query
- name: has_route_targets
+ name: format
required: false
schema:
- type: boolean
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: Has virtual machines
- explode: true
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableClusterGroupRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableClusterGroupRequest"
+ type: array
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/ClusterGroup"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/ClusterGroup"
+ type: array
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - virtualization
+ post:
+ description: Create one or more cluster group objects.
+ operationId: virtualization_cluster_groups_create
+ parameters:
+ - explode: true
in: query
- name: has_virtual_machines
+ name: format
required: false
schema:
- type: boolean
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: Has VLANs
- explode: true
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ClusterGroupRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/ClusterGroupRequest"
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ClusterGroup"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/ClusterGroup"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - virtualization
+ put:
+ description: Update a list of cluster group objects.
+ operationId: virtualization_cluster_groups_bulk_update
+ parameters:
+ - explode: true
in: query
- name: has_vlans
+ name: format
required: false
schema:
- type: boolean
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: Has VRFs
- explode: true
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableClusterGroupRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableClusterGroupRequest"
+ type: array
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/ClusterGroup"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/ClusterGroup"
+ type: array
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - virtualization
+ /virtualization/cluster-groups/{id}/:
+ delete:
+ description: Destroy a cluster group object.
+ operationId: virtualization_cluster_groups_destroy
+ parameters:
+ - explode: true
in: query
- name: has_vrfs
+ name: format
required: false
schema:
- type: boolean
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
- explode: true
+ - description: A UUID string identifying this cluster group.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - virtualization
+ get:
+ description: Retrieve a cluster group object.
+ operationId: virtualization_cluster_groups_retrieve
+ parameters:
+ - explode: true
in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this cluster group.
+ explode: false
+ in: path
name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
style: form
- - explode: true
+ - description: Exclude many-to-many fields from the response
+ explode: true
in: query
- name: id__ic
+ name: exclude_m2m
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ default: false
+ type: boolean
style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ClusterGroup"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/ClusterGroup"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - virtualization
+ patch:
+ description: Partial update a cluster group object.
+ operationId: virtualization_cluster_groups_partial_update
+ parameters:
- explode: true
in: query
- name: id__ie
+ name: format
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ - description: A UUID string identifying this cluster group.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PatchedClusterGroupRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PatchedClusterGroupRequest"
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ClusterGroup"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/ClusterGroup"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - virtualization
+ put:
+ description: Update a cluster group object.
+ operationId: virtualization_cluster_groups_update
+ parameters:
- explode: true
in: query
- name: id__iew
+ name: format
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ - description: A UUID string identifying this cluster group.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ClusterGroupRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/ClusterGroupRequest"
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ClusterGroup"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/ClusterGroup"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - virtualization
+ /virtualization/cluster-groups/{id}/notes/:
+ get:
+ description: API methods for returning or creating notes on an object.
+ operationId: virtualization_cluster_groups_notes_list
+ parameters:
- explode: true
in: query
- name: id__ire
+ name: format
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - explode: true
+ - description: A UUID string identifying this cluster group.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Number of results to return per page.
+ explode: true
in: query
- name: id__isw
+ name: limit
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: integer
style: form
- - explode: true
+ - description: The initial index from which to return the results.
+ explode: true
in: query
- name: id__n
+ name: offset
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: integer
style: form
- - explode: true
+ - description: Serializer Depth
+ explode: true
in: query
- name: id__nic
+ name: depth
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
style: form
- - explode: true
+ - description: Exclude many-to-many fields from the response
+ explode: true
in: query
- name: id__nie
+ name: exclude_m2m
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ default: false
+ type: boolean
style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - virtualization
+ post:
+ description: API methods for returning or creating notes on an object.
+ operationId: virtualization_cluster_groups_notes_create
+ parameters:
- explode: true
in: query
- name: id__niew
+ name: format
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ - description: A UUID string identifying this cluster group.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Note"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/Note"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - virtualization
+ /virtualization/cluster-types/:
+ delete:
+ description: Destroy a list of cluster type objects.
+ operationId: virtualization_cluster_types_bulk_destroy
+ parameters:
- explode: true
in: query
- name: id__nire
+ name: format
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ required: true
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - virtualization
+ get:
+ description: Retrieve a list of cluster type objects.
+ operationId: virtualization_cluster_types_list
+ parameters:
- explode: true
in: query
- name: id__nisw
+ name: clusters
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Clusters (name or ID) is null
+ explode: true
in: query
- name: id__nre
+ name: clusters__isnull
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: id__re
+ name: clusters__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - description: IP addresses (ID)
- explode: true
+ - explode: true
in: query
- name: ip_addresses
+ name: contacts
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - description: IP addresses (ID) is null
+ - description: Contacts (name or ID) is null
explode: true
in: query
- name: ip_addresses__isnull
+ name: contacts__isnull
required: false
schema:
type: boolean
style: form
- - description: Exclude IP addresses (ID)
- explode: true
+ - explode: true
in: query
- name: ip_addresses__n
+ name: contacts__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated
+ name: created
required: false
schema:
items:
@@ -140441,7 +137669,7 @@ paths:
style: form
- explode: true
in: query
- name: last_updated__gt
+ name: created__gt
required: false
schema:
items:
@@ -140451,7 +137679,7 @@ paths:
style: form
- explode: true
in: query
- name: last_updated__gte
+ name: created__gte
required: false
schema:
items:
@@ -140461,14 +137689,14 @@ paths:
style: form
- explode: true
in: query
- name: last_updated__isnull
+ name: created__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: last_updated__lt
+ name: created__lt
required: false
schema:
items:
@@ -140478,7 +137706,7 @@ paths:
style: form
- explode: true
in: query
- name: last_updated__lte
+ name: created__lte
required: false
schema:
items:
@@ -140488,7 +137716,7 @@ paths:
style: form
- explode: true
in: query
- name: last_updated__n
+ name: created__n
required: false
schema:
items:
@@ -140496,34 +137724,18 @@ paths:
type: string
type: array
style: form
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- explode: true
in: query
- name: locations
+ name: description
required: false
schema:
items:
type: string
type: array
style: form
- - description: Locations (names and/or IDs) is null
- explode: true
- in: query
- name: locations__isnull
- required: false
- schema:
- type: boolean
- style: form
- explode: true
in: query
- name: locations__n
+ name: description__ic
required: false
schema:
items:
@@ -140532,7 +137744,7 @@ paths:
style: form
- explode: true
in: query
- name: name
+ name: description__ie
required: false
schema:
items:
@@ -140541,7 +137753,7 @@ paths:
style: form
- explode: true
in: query
- name: name__ic
+ name: description__iew
required: false
schema:
items:
@@ -140550,7 +137762,7 @@ paths:
style: form
- explode: true
in: query
- name: name__ie
+ name: description__ire
required: false
schema:
items:
@@ -140559,7 +137771,7 @@ paths:
style: form
- explode: true
in: query
- name: name__iew
+ name: description__isw
required: false
schema:
items:
@@ -140568,7 +137780,7 @@ paths:
style: form
- explode: true
in: query
- name: name__ire
+ name: description__n
required: false
schema:
items:
@@ -140577,7 +137789,7 @@ paths:
style: form
- explode: true
in: query
- name: name__isw
+ name: description__nic
required: false
schema:
items:
@@ -140586,7 +137798,7 @@ paths:
style: form
- explode: true
in: query
- name: name__n
+ name: description__nie
required: false
schema:
items:
@@ -140595,7 +137807,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nic
+ name: description__niew
required: false
schema:
items:
@@ -140604,7 +137816,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nie
+ name: description__nire
required: false
schema:
items:
@@ -140613,7 +137825,7 @@ paths:
style: form
- explode: true
in: query
- name: name__niew
+ name: description__nisw
required: false
schema:
items:
@@ -140622,7 +137834,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nire
+ name: description__nre
required: false
schema:
items:
@@ -140631,7 +137843,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nisw
+ name: description__re
required: false
schema:
items:
@@ -140640,7 +137852,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nre
+ name: dynamic_groups
required: false
schema:
items:
@@ -140649,44 +137861,33 @@ paths:
style: form
- explode: true
in: query
- name: name__re
+ name: dynamic_groups__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- - description: Prefixes (ID)
- explode: true
+ - explode: true
in: query
- name: prefixes
+ name: format
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: Prefixes (ID) is null
+ - description: Has clusters
explode: true
in: query
- name: prefixes__isnull
+ name: has_clusters
required: false
schema:
type: boolean
style: form
- - description: Exclude Prefixes (ID)
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
explode: true
in: query
- name: prefixes__n
+ name: id
required: false
schema:
items:
@@ -140694,18 +137895,9 @@ paths:
type: string
type: array
style: form
- - description: Search
- explode: true
- in: query
- name: q
- required: false
- schema:
- type: string
- style: form
- - description: Rack reservations (ID)
- explode: true
+ - explode: true
in: query
- name: rack_reservations
+ name: id__n
required: false
schema:
items:
@@ -140713,88 +137905,102 @@ paths:
type: string
type: array
style: form
- - description: Rack reservations (ID) is null
- explode: true
+ - explode: true
in: query
- name: rack_reservations__isnull
+ name: last_updated
required: false
schema:
- type: boolean
+ items:
+ format: date-time
+ type: string
+ type: array
style: form
- - description: Exclude Rack reservations (ID)
- explode: true
+ - explode: true
in: query
- name: rack_reservations__n
+ name: last_updated__gt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: racks
+ name: last_updated__gte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- - description: Racks (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: racks__isnull
+ name: last_updated__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: racks__n
+ name: last_updated__lt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: route_targets
+ name: last_updated__lte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- - description: Route targets (name or ID) is null
+ - explode: true
+ in: query
+ name: last_updated__n
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - description: Number of results to return per page.
explode: true
in: query
- name: route_targets__isnull
+ name: limit
required: false
schema:
- type: boolean
+ type: integer
style: form
- explode: true
in: query
- name: route_targets__n
+ name: name
required: false
schema:
items:
type: string
type: array
style: form
- - description: Which field to use when ordering the results.
- explode: true
+ - explode: true
in: query
- name: sort
+ name: name__ic
required: false
schema:
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: tags
+ name: name__ie
required: false
schema:
items:
@@ -140803,14 +138009,16 @@ paths:
style: form
- explode: true
in: query
- name: tags__isnull
+ name: name__iew
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: tags__n
+ name: name__ire
required: false
schema:
items:
@@ -140819,50 +138027,52 @@ paths:
style: form
- explode: true
in: query
- name: teams
+ name: name__isw
required: false
schema:
items:
type: string
type: array
style: form
- - description: Teams (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: teams__isnull
+ name: name__n
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
- name: teams__n
+ name: name__nic
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: tenant_group
+ name: name__nie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Tenant group (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: tenant_group__isnull
+ name: name__niew
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: tenant_group__n
+ name: name__nire
required: false
schema:
items:
@@ -140871,80 +138081,75 @@ paths:
style: form
- explode: true
in: query
- name: virtual_machines
+ name: name__nisw
required: false
schema:
items:
type: string
type: array
style: form
- - description: Virtual machines (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: virtual_machines__isnull
+ name: name__nre
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: virtual_machines__n
+ name: name__re
required: false
schema:
items:
type: string
type: array
style: form
- - description: VLANs (ID)
+ - description: The initial index from which to return the results.
explode: true
in: query
- name: vlans
+ name: offset
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: integer
style: form
- - description: VLANs (ID) is null
+ - description: Search
explode: true
in: query
- name: vlans__isnull
+ name: q
required: false
schema:
- type: boolean
+ type: string
style: form
- - description: Exclude VLANs (ID)
+ - description: Which field to use when ordering the results.
explode: true
in: query
- name: vlans__n
+ name: sort
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: string
style: form
- explode: true
in: query
- name: vrfs
+ name: teams
required: false
schema:
items:
type: string
type: array
style: form
- - description: VRFs (name or ID) is null
+ - description: Teams (name or ID) is null
explode: true
in: query
- name: vrfs__isnull
+ name: teams__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: vrfs__n
+ name: teams__n
required: false
schema:
items:
@@ -140962,43 +138167,52 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedTenantList'
+ $ref: "#/components/schemas/PaginatedClusterTypeList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedTenantList'
+ $ref: "#/components/schemas/PaginatedClusterTypeList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - tenancy
+ - virtualization
patch:
- description: Partial update a list of tenant objects.
- operationId: tenancy_tenants_bulk_partial_update
+ description: Partial update a list of cluster type objects.
+ operationId: virtualization_cluster_types_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableTenantRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableClusterTypeRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableTenantRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableClusterTypeRequest"
type: array
required: true
responses:
@@ -141007,76 +138221,76 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Tenant'
+ $ref: "#/components/schemas/ClusterType"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Tenant'
+ $ref: "#/components/schemas/ClusterType"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - tenancy
+ - virtualization
post:
- description: Create one or more tenant objects.
- operationId: tenancy_tenants_create
+ description: Create one or more cluster type objects.
+ operationId: virtualization_cluster_types_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/TenantRequest'
+ $ref: "#/components/schemas/ClusterTypeRequest"
text/csv:
schema:
- $ref: '#/components/schemas/TenantRequest'
+ $ref: "#/components/schemas/ClusterTypeRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Tenant'
+ $ref: "#/components/schemas/ClusterType"
text/csv:
schema:
- $ref: '#/components/schemas/Tenant'
+ $ref: "#/components/schemas/ClusterType"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - tenancy
+ - virtualization
put:
- description: Update a list of tenant objects.
- operationId: tenancy_tenants_bulk_update
+ description: Update a list of cluster type objects.
+ operationId: virtualization_cluster_types_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableTenantRequest'
+ $ref: "#/components/schemas/BulkWritableClusterTypeRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableTenantRequest'
+ $ref: "#/components/schemas/BulkWritableClusterTypeRequest"
type: array
required: true
responses:
@@ -141085,32 +138299,32 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Tenant'
+ $ref: "#/components/schemas/ClusterType"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Tenant'
+ $ref: "#/components/schemas/ClusterType"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - tenancy
- /tenancy/tenants/{id}/:
+ - virtualization
+ /virtualization/cluster-types/{id}/:
delete:
- description: Destroy a tenant object.
- operationId: tenancy_tenants_destroy
+ description: Destroy a cluster type object.
+ operationId: virtualization_cluster_types_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this tenant.
+ - description: A UUID string identifying this cluster type.
explode: false
in: path
name: id
@@ -141126,19 +138340,19 @@ paths:
- cookieAuth: []
- tokenAuth: []
tags:
- - tenancy
+ - virtualization
get:
- description: Retrieve a tenant object.
- operationId: tenancy_tenants_retrieve
+ description: Retrieve a cluster type object.
+ operationId: virtualization_cluster_types_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this tenant.
+ - description: A UUID string identifying this cluster type.
explode: false
in: path
name: id
@@ -141158,33 +138372,42 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Tenant'
+ $ref: "#/components/schemas/ClusterType"
text/csv:
schema:
- $ref: '#/components/schemas/Tenant'
+ $ref: "#/components/schemas/ClusterType"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - tenancy
+ - virtualization
patch:
- description: Partial update a tenant object.
- operationId: tenancy_tenants_partial_update
+ description: Partial update a cluster type object.
+ operationId: virtualization_cluster_types_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this tenant.
+ - description: A UUID string identifying this cluster type.
explode: false
in: path
name: id
@@ -141197,37 +138420,37 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedTenantRequest'
+ $ref: "#/components/schemas/PatchedClusterTypeRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedTenantRequest'
+ $ref: "#/components/schemas/PatchedClusterTypeRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Tenant'
+ $ref: "#/components/schemas/ClusterType"
text/csv:
schema:
- $ref: '#/components/schemas/Tenant'
+ $ref: "#/components/schemas/ClusterType"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - tenancy
+ - virtualization
put:
- description: Update a tenant object.
- operationId: tenancy_tenants_update
+ description: Update a cluster type object.
+ operationId: virtualization_cluster_types_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this tenant.
+ - description: A UUID string identifying this cluster type.
explode: false
in: path
name: id
@@ -141240,39 +138463,39 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/TenantRequest'
+ $ref: "#/components/schemas/ClusterTypeRequest"
text/csv:
schema:
- $ref: '#/components/schemas/TenantRequest'
+ $ref: "#/components/schemas/ClusterTypeRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Tenant'
+ $ref: "#/components/schemas/ClusterType"
text/csv:
schema:
- $ref: '#/components/schemas/Tenant'
+ $ref: "#/components/schemas/ClusterType"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - tenancy
- /tenancy/tenants/{id}/notes/:
+ - virtualization
+ /virtualization/cluster-types/{id}/notes/:
get:
description: API methods for returning or creating notes on an object.
- operationId: tenancy_tenants_notes_list
+ operationId: virtualization_cluster_types_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this tenant.
+ - description: A UUID string identifying this cluster type.
explode: false
in: path
name: id
@@ -141308,33 +138531,42 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - tenancy
+ - virtualization
post:
description: API methods for returning or creating notes on an object.
- operationId: tenancy_tenants_notes_create
+ operationId: virtualization_cluster_types_notes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this tenant.
+ - description: A UUID string identifying this cluster type.
explode: false
in: path
name: id
@@ -141347,89 +138579,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
- text/csv:
- schema:
- $ref: '#/components/schemas/Note'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - tenancy
- /users/config/:
- get:
- description: Return the config_data for the currently authenticated User.
- operationId: users_config_retrieve
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
- style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- additionalProperties: {}
- type: object
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- additionalProperties: {}
- type: object
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - users
- /users/groups/:
+ - virtualization
+ /virtualization/clusters/:
delete:
- description: Destroy a list of group objects.
- operationId: users_groups_bulk_destroy
+ description: Destroy a list of cluster objects.
+ operationId: virtualization_clusters_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationIntegerIDRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationIntegerIDRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -141439,17 +138631,392 @@ paths:
- cookieAuth: []
- tokenAuth: []
tags:
- - users
+ - virtualization
get:
- description: Retrieve a list of group objects.
- operationId: users_groups_list
+ description: Retrieve a list of cluster objects.
+ operationId: virtualization_clusters_list
parameters:
+ - explode: true
+ in: query
+ name: cluster_group
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Parent group (ID or name) is null
+ explode: true
+ in: query
+ name: cluster_group__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: cluster_group__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Parent group (ID) - Deprecated (use group filter)
+ explode: true
+ in: query
+ name: cluster_group_id
+ required: false
+ schema:
+ items:
+ format: uuid
+ type: string
+ type: array
+ style: form
+ - description: Parent group (ID) - Deprecated (use group filter) is null
+ explode: true
+ in: query
+ name: cluster_group_id__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - description: Exclude Parent group (ID) - Deprecated (use group filter)
+ explode: true
+ in: query
+ name: cluster_group_id__n
+ required: false
+ schema:
+ items:
+ format: uuid
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: cluster_type
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: cluster_type__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Cluster type (ID) - Deprecated (use type filter)
+ explode: true
+ in: query
+ name: cluster_type_id
+ required: false
+ schema:
+ items:
+ format: uuid
+ type: string
+ type: array
+ style: form
+ - description: Exclude Cluster type (ID) - Deprecated (use type filter)
+ explode: true
+ in: query
+ name: cluster_type_id__n
+ required: false
+ schema:
+ items:
+ format: uuid
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: comments
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: comments__ic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: comments__ie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: comments__iew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: comments__ire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: comments__isw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: comments__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: comments__nic
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: comments__nie
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: comments__niew
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: comments__nire
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: comments__nisw
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: comments__nre
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: comments__re
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: contacts
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Contacts (name or ID) is null
+ explode: true
+ in: query
+ name: contacts__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: contacts__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: created
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: created__gt
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: created__gte
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: created__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: created__lt
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: created__lte
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: created__n
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: devices
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Devices (name or ID) is null
+ explode: true
+ in: query
+ name: devices__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: devices__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: dynamic_groups
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: dynamic_groups__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: Has devices
+ explode: true
+ in: query
+ name: has_devices
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - description: Has virtual machines
+ explode: true
+ in: query
+ name: has_virtual_machines
+ required: false
+ schema:
+ type: boolean
style: form
- description: "Unique object identifier, either a UUID primary key or a composite\
\ key."
@@ -141459,52 +139026,85 @@ paths:
required: false
schema:
items:
- type: integer
+ format: uuid
+ type: string
type: array
style: form
- explode: true
in: query
- name: id__gt
+ name: id__n
required: false
schema:
items:
- type: integer
+ format: uuid
+ type: string
type: array
style: form
- explode: true
in: query
- name: id__gte
+ name: last_updated
required: false
schema:
items:
- type: integer
+ format: date-time
+ type: string
type: array
style: form
- explode: true
in: query
- name: id__lt
+ name: last_updated__gt
required: false
schema:
items:
- type: integer
+ format: date-time
+ type: string
type: array
style: form
- explode: true
in: query
- name: id__lte
+ name: last_updated__gte
required: false
schema:
items:
- type: integer
+ format: date-time
+ type: string
type: array
style: form
- explode: true
in: query
- name: id__n
+ name: last_updated__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: last_updated__lt
required: false
schema:
items:
- type: integer
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: last_updated__lte
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: last_updated__n
+ required: false
+ schema:
+ items:
+ format: date-time
+ type: string
type: array
style: form
- description: Number of results to return per page.
@@ -141515,6 +139115,32 @@ paths:
schema:
type: integer
style: form
+ - explode: true
+ in: query
+ name: location
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Location (name or ID) is null
+ explode: true
+ in: query
+ name: location__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: location__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- explode: true
in: query
name: name
@@ -141663,7 +139289,168 @@ paths:
name: sort
required: false
schema:
- type: string
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: tags
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: tags__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: tags__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: teams
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Teams (name or ID) is null
+ explode: true
+ in: query
+ name: teams__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: teams__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: tenant
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Tenant (name or ID) is null
+ explode: true
+ in: query
+ name: tenant__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: tenant__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: tenant_group
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Tenant Group (name or ID) is null
+ explode: true
+ in: query
+ name: tenant_group__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: tenant_group__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead)"
+ explode: true
+ in: query
+ name: tenant_id
+ required: false
+ schema:
+ items:
+ format: uuid
+ nullable: true
+ type: string
+ type: array
+ style: form
+ - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead) is null"
+ explode: true
+ in: query
+ name: tenant_id__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - description: "Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead)"
+ explode: true
+ in: query
+ name: tenant_id__n
+ required: false
+ schema:
+ items:
+ format: uuid
+ nullable: true
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: virtual_machines
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Virtual machines (name or ID) is null
+ explode: true
+ in: query
+ name: virtual_machines__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: virtual_machines__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -141676,43 +139463,52 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedGroupList'
+ $ref: "#/components/schemas/PaginatedClusterList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedGroupList'
+ $ref: "#/components/schemas/PaginatedClusterList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - users
+ - virtualization
patch:
- description: Partial update a list of group objects.
- operationId: users_groups_bulk_partial_update
+ description: Partial update a list of cluster objects.
+ operationId: virtualization_clusters_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableGroupRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableClusterRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableGroupRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableClusterRequest"
type: array
required: true
responses:
@@ -141721,76 +139517,76 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Group'
+ $ref: "#/components/schemas/Cluster"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Group'
+ $ref: "#/components/schemas/Cluster"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - users
+ - virtualization
post:
- description: Create one or more group objects.
- operationId: users_groups_create
+ description: Create one or more cluster objects.
+ operationId: virtualization_clusters_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/GroupRequest'
+ $ref: "#/components/schemas/ClusterRequest"
text/csv:
schema:
- $ref: '#/components/schemas/GroupRequest'
+ $ref: "#/components/schemas/ClusterRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Group'
+ $ref: "#/components/schemas/Cluster"
text/csv:
schema:
- $ref: '#/components/schemas/Group'
+ $ref: "#/components/schemas/Cluster"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - users
+ - virtualization
put:
- description: Update a list of group objects.
- operationId: users_groups_bulk_update
+ description: Update a list of cluster objects.
+ operationId: virtualization_clusters_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableGroupRequest'
+ $ref: "#/components/schemas/BulkWritableClusterRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableGroupRequest'
+ $ref: "#/components/schemas/BulkWritableClusterRequest"
type: array
required: true
responses:
@@ -141799,38 +139595,39 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Group'
+ $ref: "#/components/schemas/Cluster"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Group'
+ $ref: "#/components/schemas/Cluster"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - users
- /users/groups/{id}/:
+ - virtualization
+ /virtualization/clusters/{id}/:
delete:
- description: Destroy a group object.
- operationId: users_groups_destroy
+ description: Destroy a cluster object.
+ operationId: virtualization_clusters_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A unique integer value identifying this group.
+ - description: A UUID string identifying this cluster.
explode: false
in: path
name: id
required: true
schema:
- type: integer
+ format: uuid
+ type: string
style: simple
responses:
"204":
@@ -141839,25 +139636,26 @@ paths:
- cookieAuth: []
- tokenAuth: []
tags:
- - users
+ - virtualization
get:
- description: Retrieve a group object.
- operationId: users_groups_retrieve
+ description: Retrieve a cluster object.
+ operationId: virtualization_clusters_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A unique integer value identifying this group.
+ - description: A UUID string identifying this cluster.
explode: false
in: path
name: id
required: true
schema:
- type: integer
+ format: uuid
+ type: string
style: simple
- description: Serializer Depth
explode: true
@@ -141870,129 +139668,256 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Group'
+ $ref: "#/components/schemas/Cluster"
text/csv:
schema:
- $ref: '#/components/schemas/Group'
+ $ref: "#/components/schemas/Cluster"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - users
+ - virtualization
patch:
- description: Partial update a group object.
- operationId: users_groups_partial_update
+ description: Partial update a cluster object.
+ operationId: virtualization_clusters_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A unique integer value identifying this group.
+ - description: A UUID string identifying this cluster.
explode: false
in: path
name: id
required: true
schema:
- type: integer
+ format: uuid
+ type: string
style: simple
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedGroupRequest'
+ $ref: "#/components/schemas/PatchedClusterRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedGroupRequest'
+ $ref: "#/components/schemas/PatchedClusterRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Group'
+ $ref: "#/components/schemas/Cluster"
text/csv:
schema:
- $ref: '#/components/schemas/Group'
+ $ref: "#/components/schemas/Cluster"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - users
+ - virtualization
put:
- description: Update a group object.
- operationId: users_groups_update
+ description: Update a cluster object.
+ operationId: virtualization_clusters_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A unique integer value identifying this group.
+ - description: A UUID string identifying this cluster.
explode: false
in: path
name: id
required: true
schema:
- type: integer
+ format: uuid
+ type: string
style: simple
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/GroupRequest'
+ $ref: "#/components/schemas/ClusterRequest"
text/csv:
schema:
- $ref: '#/components/schemas/GroupRequest'
+ $ref: "#/components/schemas/ClusterRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Group'
+ $ref: "#/components/schemas/Cluster"
text/csv:
schema:
- $ref: '#/components/schemas/Group'
+ $ref: "#/components/schemas/Cluster"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - users
- /users/permissions/:
+ - virtualization
+ /virtualization/clusters/{id}/notes/:
+ get:
+ description: API methods for returning or creating notes on an object.
+ operationId: virtualization_clusters_notes_list
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this cluster.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: The initial index from which to return the results.
+ explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - virtualization
+ post:
+ description: API methods for returning or creating notes on an object.
+ operationId: virtualization_clusters_notes_create
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this cluster.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Note"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/Note"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - virtualization
+ /virtualization/interfaces/:
delete:
- description: Destroy a list of permission objects.
- operationId: users_permissions_bulk_destroy
+ description: Destroy a list of VM interface objects.
+ operationId: virtualization_interfaces_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -142002,32 +139927,31 @@ paths:
- cookieAuth: []
- tokenAuth: []
tags:
- - users
+ - virtualization
get:
- description: Retrieve a list of permission objects.
- operationId: users_permissions_list
+ description: Retrieve a list of VM interface objects.
+ operationId: virtualization_interfaces_list
parameters:
- explode: true
in: query
- name: description
+ name: bridge
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Bridge interface (name or ID) is null
+ explode: true
in: query
- name: description__ic
+ name: bridge__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: description__ie
+ name: bridge__n
required: false
schema:
items:
@@ -142036,25 +139960,24 @@ paths:
style: form
- explode: true
in: query
- name: description__iew
+ name: bridged_interfaces
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Bridged interfaces (name or ID) is null
+ explode: true
in: query
- name: description__ire
+ name: bridged_interfaces__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: description__isw
+ name: bridged_interfaces__n
required: false
schema:
items:
@@ -142063,25 +139986,24 @@ paths:
style: form
- explode: true
in: query
- name: description__n
+ name: child_interfaces
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Child interfaces (name or ID) is null
+ explode: true
in: query
- name: description__nic
+ name: child_interfaces__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: description__nie
+ name: child_interfaces__n
required: false
schema:
items:
@@ -142090,7 +140012,7 @@ paths:
style: form
- explode: true
in: query
- name: description__niew
+ name: cluster
required: false
schema:
items:
@@ -142099,840 +140021,524 @@ paths:
style: form
- explode: true
in: query
- name: description__nire
+ name: cluster__n
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Cluster (ID) - Deprecated (use cluster filter)
+ explode: true
in: query
- name: description__nisw
+ name: cluster_id
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Exclude Cluster (ID) - Deprecated (use cluster filter)
+ explode: true
in: query
- name: description__nre
+ name: cluster_id__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: description__re
+ name: contacts
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Contacts (name or ID) is null
+ explode: true
in: query
- name: enabled
+ name: contacts__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: format
+ name: contacts__n
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- - description: Group (name)
- explode: true
+ - explode: true
in: query
- name: groups
+ name: description
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Group (name)
- explode: true
+ - explode: true
in: query
- name: groups__n
+ name: description__ic
required: false
schema:
items:
type: string
type: array
style: form
- - description: Group (ID)
- explode: true
+ - explode: true
in: query
- name: groups_id
+ name: description__ie
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- - description: Exclude Group (ID)
- explode: true
+ - explode: true
in: query
- name: groups_id__n
+ name: description__iew
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
- explode: true
+ - explode: true
in: query
- name: id
+ name: description__ire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ic
+ name: description__isw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ie
+ name: description__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: description__nic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: description__nie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: description__niew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__n
+ name: description__nire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nic
+ name: description__nisw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: description__nre
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: description__re
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nire
+ name: dynamic_groups
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nisw
+ name: dynamic_groups__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nre
+ name: enabled
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: id__re
+ name: format
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: Number of results to return per page.
+ - description: Has Bridged Interfaces
explode: true
in: query
- name: limit
+ name: has_bridged_interfaces
required: false
schema:
- type: integer
+ type: boolean
style: form
- - explode: true
+ - description: Has child interfaces
+ explode: true
in: query
- name: name
+ name: has_child_interfaces
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: Has IP addresses
+ explode: true
in: query
- name: name__ic
+ name: has_ip_addresses
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: Has Tagged VLANs
+ explode: true
in: query
- name: name__ie
+ name: has_tagged_vlans
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
in: query
- name: name__iew
+ name: id
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: name__ire
+ name: id__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: IP addresses (address or ID)
+ explode: true
in: query
- name: name__isw
+ name: ip_addresses
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Number of results to return per page.
+ explode: true
in: query
- name: name__n
+ name: limit
required: false
schema:
- items:
- type: string
- type: array
+ type: integer
style: form
- - explode: true
+ - description: MAC address
+ explode: true
in: query
- name: name__nic
+ name: mac_address
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: MAC address contains
+ explode: true
in: query
- name: name__nie
+ name: mac_address__ic
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: MAC address
+ explode: true
in: query
- name: name__niew
+ name: mac_address__ie
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: MAC address ends with
+ explode: true
in: query
- name: name__nire
+ name: mac_address__iew
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: MAC address matches regex
+ explode: true
in: query
- name: name__nisw
+ name: mac_address__ire
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: MAC address starts with
+ explode: true
in: query
- name: name__nre
+ name: mac_address__isw
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Exclude MAC address
+ explode: true
in: query
- name: name__re
+ name: mac_address__n
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Exclude MAC address contains
+ explode: true
in: query
- name: object_types
+ name: mac_address__nic
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- - explode: true
+ - description: Exclude MAC address
+ explode: true
in: query
- name: object_types__n
+ name: mac_address__nie
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- - description: The initial index from which to return the results.
+ - description: Exclude MAC address ends with
explode: true
in: query
- name: offset
+ name: mac_address__niew
required: false
schema:
- type: integer
+ items:
+ type: string
+ type: array
style: form
- - description: Search
+ - description: Exclude MAC address matches regex
explode: true
in: query
- name: q
+ name: mac_address__nire
required: false
schema:
- type: string
+ items:
+ type: string
+ type: array
style: form
- - description: Which field to use when ordering the results.
+ - description: Exclude MAC address starts with
explode: true
in: query
- name: sort
- required: false
- schema:
- type: string
- style: form
- - explode: true
- in: query
- name: users
+ name: mac_address__nisw
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Exclude MAC address matches regex
+ explode: true
in: query
- name: users__n
+ name: mac_address__nre
required: false
schema:
items:
type: string
type: array
style: form
- - description: Serializer Depth
+ - description: MAC address matches regex
explode: true
in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
- style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedObjectPermissionList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedObjectPermissionList'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - users
- patch:
- description: Partial update a list of permission objects.
- operationId: users_permissions_bulk_partial_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- requestBody:
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/PatchedBulkWritableObjectPermissionRequest'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/PatchedBulkWritableObjectPermissionRequest'
- type: array
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/ObjectPermission'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/ObjectPermission'
- type: array
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - users
- post:
- description: Create one or more permission objects.
- operationId: users_permissions_create
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ObjectPermissionRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/ObjectPermissionRequest'
- required: true
- responses:
- "201":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ObjectPermission'
- text/csv:
- schema:
- $ref: '#/components/schemas/ObjectPermission'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - users
- put:
- description: Update a list of permission objects.
- operationId: users_permissions_bulk_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- requestBody:
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/BulkWritableObjectPermissionRequest'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/BulkWritableObjectPermissionRequest'
- type: array
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/ObjectPermission'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/ObjectPermission'
- type: array
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - users
- /users/permissions/{id}/:
- delete:
- description: Destroy a permission object.
- operationId: users_permissions_destroy
- parameters:
- - explode: true
- in: query
- name: format
+ name: mac_address__re
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- - description: A UUID string identifying this permission.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- responses:
- "204":
- description: No response body
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - users
- get:
- description: Retrieve a permission object.
- operationId: users_permissions_retrieve
- parameters:
- explode: true
in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this permission.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
+ name: mode
required: false
schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
+ items:
+ type: string
+ type: array
style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ObjectPermission'
- text/csv:
- schema:
- $ref: '#/components/schemas/ObjectPermission'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - users
- patch:
- description: Partial update a permission object.
- operationId: users_permissions_partial_update
- parameters:
- explode: true
in: query
- name: format
+ name: mode__ic
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- - description: A UUID string identifying this permission.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PatchedObjectPermissionRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/PatchedObjectPermissionRequest'
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ObjectPermission'
- text/csv:
- schema:
- $ref: '#/components/schemas/ObjectPermission'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - users
- put:
- description: Update a permission object.
- operationId: users_permissions_update
- parameters:
- explode: true
in: query
- name: format
+ name: mode__ie
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- - description: A UUID string identifying this permission.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ObjectPermissionRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/ObjectPermissionRequest'
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ObjectPermission'
- text/csv:
- schema:
- $ref: '#/components/schemas/ObjectPermission'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - users
- /users/tokens/:
- delete:
- description: Destroy a list of token objects.
- operationId: users_tokens_bulk_destroy
- parameters:
- explode: true
in: query
- name: format
+ name: mode__iew
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- requestBody:
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/BulkOperationRequest'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/BulkOperationRequest'
- type: array
- required: true
- responses:
- "204":
- description: No response body
- security:
- - cookieAuth: []
- - tokenAuth: []
- - basicAuth: []
- tags:
- - users
- get:
- description: Retrieve a list of token objects.
- operationId: users_tokens_list
- parameters:
- explode: true
in: query
- name: created
+ name: mode__ire
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__gt
+ name: mode__isw
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__gte
+ name: mode__n
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__lt
+ name: mode__nic
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__lte
+ name: mode__nie
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__n
+ name: mode__niew
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: description
+ name: mode__nire
required: false
schema:
items:
@@ -142941,7 +140547,7 @@ paths:
style: form
- explode: true
in: query
- name: description__ic
+ name: mode__nisw
required: false
schema:
items:
@@ -142950,7 +140556,7 @@ paths:
style: form
- explode: true
in: query
- name: description__ie
+ name: mode__nre
required: false
schema:
items:
@@ -142959,7 +140565,7 @@ paths:
style: form
- explode: true
in: query
- name: description__iew
+ name: mode__re
required: false
schema:
items:
@@ -142968,70 +140574,68 @@ paths:
style: form
- explode: true
in: query
- name: description__ire
+ name: mtu
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: description__isw
+ name: mtu__gt
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: description__n
+ name: mtu__gte
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: description__nic
+ name: mtu__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: description__nie
+ name: mtu__lt
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: description__niew
+ name: mtu__lte
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: description__nire
+ name: mtu__n
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: description__nisw
+ name: name
required: false
schema:
items:
@@ -143040,7 +140644,7 @@ paths:
style: form
- explode: true
in: query
- name: description__nre
+ name: name__ic
required: false
schema:
items:
@@ -143049,7 +140653,7 @@ paths:
style: form
- explode: true
in: query
- name: description__re
+ name: name__ie
required: false
schema:
items:
@@ -143058,223 +140662,191 @@ paths:
style: form
- explode: true
in: query
- name: expires
+ name: name__iew
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: expires__gt
+ name: name__ire
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: expires__gte
+ name: name__isw
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: expires__isnull
+ name: name__n
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: expires__lt
+ name: name__nic
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: expires__lte
+ name: name__nie
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: expires__n
+ name: name__niew
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
- explode: true
- in: query
- name: id
+ name: name__nire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ic
+ name: name__nisw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ie
+ name: name__nre
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: name__re
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: The initial index from which to return the results.
+ explode: true
in: query
- name: id__ire
+ name: offset
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: integer
style: form
- explode: true
in: query
- name: id__isw
+ name: parent_interface
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Parent interface (name or ID) is null
+ explode: true
in: query
- name: id__n
+ name: parent_interface__isnull
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: id__nic
+ name: parent_interface__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Search
+ explode: true
in: query
- name: id__nie
+ name: q
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: string
style: form
- explode: true
in: query
- name: id__niew
+ name: role
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Role (name or ID) is null
+ explode: true
in: query
- name: id__nire
+ name: role__isnull
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: id__nisw
+ name: role__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Which field to use when ordering the results.
+ explode: true
in: query
- name: id__nre
+ name: sort
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: string
style: form
- explode: true
in: query
- name: id__re
+ name: status
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: key
+ name: status__n
required: false
schema:
items:
@@ -143283,7 +140855,7 @@ paths:
style: form
- explode: true
in: query
- name: key__ic
+ name: tagged_vlans
required: false
schema:
items:
@@ -143292,7 +140864,7 @@ paths:
style: form
- explode: true
in: query
- name: key__ie
+ name: tagged_vlans__n
required: false
schema:
items:
@@ -143301,7 +140873,7 @@ paths:
style: form
- explode: true
in: query
- name: key__iew
+ name: tags
required: false
schema:
items:
@@ -143310,16 +140882,14 @@ paths:
style: form
- explode: true
in: query
- name: key__ire
+ name: tags__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: key__isw
+ name: tags__n
required: false
schema:
items:
@@ -143328,25 +140898,24 @@ paths:
style: form
- explode: true
in: query
- name: key__n
+ name: teams
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Teams (name or ID) is null
+ explode: true
in: query
- name: key__nic
+ name: teams__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: key__nie
+ name: teams__n
required: false
schema:
items:
@@ -143355,25 +140924,24 @@ paths:
style: form
- explode: true
in: query
- name: key__niew
+ name: untagged_vlan
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Untagged VLAN (VID or ID) is null
+ explode: true
in: query
- name: key__nire
+ name: untagged_vlan__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: key__nisw
+ name: untagged_vlan__n
required: false
schema:
items:
@@ -143382,7 +140950,7 @@ paths:
style: form
- explode: true
in: query
- name: key__nre
+ name: virtual_machine
required: false
schema:
items:
@@ -143391,52 +140959,44 @@ paths:
style: form
- explode: true
in: query
- name: key__re
+ name: virtual_machine__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- - description: The initial index from which to return the results.
+ - description: Virtual machine (ID) - Deprecated (use virtual_machine filter)
explode: true
in: query
- name: offset
+ name: virtual_machine_id
required: false
schema:
- type: integer
+ items:
+ format: uuid
+ type: string
+ type: array
style: form
- - description: Search
+ - description: Exclude Virtual machine (ID) - Deprecated (use virtual_machine
+ filter)
explode: true
in: query
- name: q
+ name: virtual_machine_id__n
required: false
schema:
- type: string
+ items:
+ format: uuid
+ type: string
+ type: array
style: form
- - description: Which field to use when ordering the results.
+ - description: Any assigned VLAN (tagged or untagged)
explode: true
in: query
- name: sort
+ name: vlan_id
required: false
schema:
type: string
style: form
- - explode: true
- in: query
- name: write_enabled
- required: false
- schema:
- type: boolean
- style: form
- description: Serializer Depth
explode: true
in: query
@@ -143448,44 +141008,52 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedTokenList'
+ $ref: "#/components/schemas/PaginatedVMInterfaceList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedTokenList'
+ $ref: "#/components/schemas/PaginatedVMInterfaceList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
- - basicAuth: []
tags:
- - users
+ - virtualization
patch:
- description: Partial update a list of token objects.
- operationId: users_tokens_bulk_partial_update
+ description: Partial update a list of VM interface objects.
+ operationId: virtualization_interfaces_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableTokenRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableVMInterfaceRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableTokenRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableVMInterfaceRequest"
type: array
required: true
responses:
@@ -143494,77 +141062,76 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Token'
+ $ref: "#/components/schemas/VMInterface"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Token'
+ $ref: "#/components/schemas/VMInterface"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
- - basicAuth: []
tags:
- - users
+ - virtualization
post:
- description: Create one or more token objects.
- operationId: users_tokens_create
+ description: Create one or more VM interface objects.
+ operationId: virtualization_interfaces_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/TokenRequest'
+ $ref: "#/components/schemas/WritableVMInterfaceRequest"
text/csv:
schema:
- $ref: '#/components/schemas/TokenRequest'
+ $ref: "#/components/schemas/WritableVMInterfaceRequest"
+ required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Token'
+ $ref: "#/components/schemas/VMInterface"
text/csv:
schema:
- $ref: '#/components/schemas/Token'
+ $ref: "#/components/schemas/VMInterface"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
- - basicAuth: []
tags:
- - users
+ - virtualization
put:
- description: Update a list of token objects.
- operationId: users_tokens_bulk_update
+ description: Update a list of VM interface objects.
+ operationId: virtualization_interfaces_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableTokenRequest'
+ $ref: "#/components/schemas/BulkWritableVMInterfaceRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableTokenRequest'
+ $ref: "#/components/schemas/BulkWritableVMInterfaceRequest"
type: array
required: true
responses:
@@ -143573,33 +141140,32 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Token'
+ $ref: "#/components/schemas/VMInterface"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Token'
+ $ref: "#/components/schemas/VMInterface"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
- - basicAuth: []
tags:
- - users
- /users/tokens/{id}/:
+ - virtualization
+ /virtualization/interfaces/{id}/:
delete:
- description: Destroy a token object.
- operationId: users_tokens_destroy
+ description: Destroy a VM interface object.
+ operationId: virtualization_interfaces_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this token.
+ - description: A UUID string identifying this VM interface.
explode: false
in: path
name: id
@@ -143614,21 +141180,20 @@ paths:
security:
- cookieAuth: []
- tokenAuth: []
- - basicAuth: []
tags:
- - users
+ - virtualization
get:
- description: Retrieve a token object.
- operationId: users_tokens_retrieve
+ description: Retrieve a VM interface object.
+ operationId: virtualization_interfaces_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this token.
+ - description: A UUID string identifying this VM interface.
explode: false
in: path
name: id
@@ -143648,34 +141213,42 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Token'
+ $ref: "#/components/schemas/VMInterface"
text/csv:
schema:
- $ref: '#/components/schemas/Token'
+ $ref: "#/components/schemas/VMInterface"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
- - basicAuth: []
tags:
- - users
+ - virtualization
patch:
- description: Partial update a token object.
- operationId: users_tokens_partial_update
+ description: Partial update a VM interface object.
+ operationId: virtualization_interfaces_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this token.
+ - description: A UUID string identifying this VM interface.
explode: false
in: path
name: id
@@ -143688,38 +141261,37 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedTokenRequest'
+ $ref: "#/components/schemas/PatchedWritableVMInterfaceRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedTokenRequest'
+ $ref: "#/components/schemas/PatchedWritableVMInterfaceRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Token'
+ $ref: "#/components/schemas/VMInterface"
text/csv:
schema:
- $ref: '#/components/schemas/Token'
+ $ref: "#/components/schemas/VMInterface"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
- - basicAuth: []
tags:
- - users
+ - virtualization
put:
- description: Update a token object.
- operationId: users_tokens_update
+ description: Update a VM interface object.
+ operationId: virtualization_interfaces_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this token.
+ - description: A UUID string identifying this VM interface.
explode: false
in: path
name: id
@@ -143732,49 +141304,165 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/TokenRequest'
+ $ref: "#/components/schemas/WritableVMInterfaceRequest"
text/csv:
schema:
- $ref: '#/components/schemas/TokenRequest'
+ $ref: "#/components/schemas/WritableVMInterfaceRequest"
+ required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Token'
+ $ref: "#/components/schemas/VMInterface"
text/csv:
schema:
- $ref: '#/components/schemas/Token'
+ $ref: "#/components/schemas/VMInterface"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
- - basicAuth: []
tags:
- - users
- /users/users/:
+ - virtualization
+ /virtualization/interfaces/{id}/notes/:
+ get:
+ description: API methods for returning or creating notes on an object.
+ operationId: virtualization_interfaces_notes_list
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this VM interface.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ - description: Number of results to return per page.
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: The initial index from which to return the results.
+ explode: true
+ in: query
+ name: offset
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: Serializer Depth
+ explode: true
+ in: query
+ name: depth
+ required: false
+ schema:
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
+ style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedNoteList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - virtualization
+ post:
+ description: API methods for returning or creating notes on an object.
+ operationId: virtualization_interfaces_notes_create
+ parameters:
+ - explode: true
+ in: query
+ name: format
+ required: false
+ schema:
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
+ style: form
+ - description: A UUID string identifying this VM interface.
+ explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/NoteInputRequest"
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/Note"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/Note"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - virtualization
+ /virtualization/virtual-machines/:
delete:
- description: Destroy a list of user objects.
- operationId: users_users_bulk_destroy
+ description: Destroy a list of virtual machine objects.
+ operationId: virtualization_virtual_machines_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -143784,14 +141472,14 @@ paths:
- cookieAuth: []
- tokenAuth: []
tags:
- - users
+ - virtualization
get:
- description: Retrieve a list of user objects.
- operationId: users_users_list
+ description: Retrieve a list of virtual machine objects.
+ operationId: virtualization_virtual_machines_list
parameters:
- explode: true
in: query
- name: email
+ name: cluster
required: false
schema:
items:
@@ -143800,7 +141488,7 @@ paths:
style: form
- explode: true
in: query
- name: email__ic
+ name: cluster__n
required: false
schema:
items:
@@ -143809,70 +141497,86 @@ paths:
style: form
- explode: true
in: query
- name: email__ie
+ name: cluster_group
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Cluster group (ID or name) is null
+ explode: true
in: query
- name: email__iew
+ name: cluster_group__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: email__ire
+ name: cluster_group__n
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Cluster group (ID) - Deprecated (use cluster_group filter)
+ explode: true
in: query
- name: email__isw
+ name: cluster_group_id
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Cluster group (ID) - Deprecated (use cluster_group filter) is
+ null
+ explode: true
in: query
- name: email__n
+ name: cluster_group_id__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - description: Exclude Cluster group (ID) - Deprecated (use cluster_group filter)
+ explode: true
+ in: query
+ name: cluster_group_id__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Cluster (ID) - Deprecated (use cluster filter)
+ explode: true
in: query
- name: email__nic
+ name: cluster_id
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Exclude Cluster (ID) - Deprecated (use cluster filter)
+ explode: true
in: query
- name: email__nie
+ name: cluster_id__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: email__niew
+ name: cluster_type
required: false
schema:
items:
@@ -143881,34 +141585,38 @@ paths:
style: form
- explode: true
in: query
- name: email__nire
+ name: cluster_type__n
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Cluster type (ID) - Deprecated (use cluster_type filter)
+ explode: true
in: query
- name: email__nisw
+ name: cluster_type_id
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Exclude Cluster type (ID) - Deprecated (use cluster_type filter)
+ explode: true
in: query
- name: email__nre
+ name: cluster_type_id__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: email__re
+ name: comments
required: false
schema:
items:
@@ -143917,7 +141625,7 @@ paths:
style: form
- explode: true
in: query
- name: first_name
+ name: comments__ic
required: false
schema:
items:
@@ -143926,7 +141634,7 @@ paths:
style: form
- explode: true
in: query
- name: first_name__ic
+ name: comments__ie
required: false
schema:
items:
@@ -143935,7 +141643,7 @@ paths:
style: form
- explode: true
in: query
- name: first_name__ie
+ name: comments__iew
required: false
schema:
items:
@@ -143944,7 +141652,7 @@ paths:
style: form
- explode: true
in: query
- name: first_name__iew
+ name: comments__ire
required: false
schema:
items:
@@ -143953,7 +141661,7 @@ paths:
style: form
- explode: true
in: query
- name: first_name__ire
+ name: comments__isw
required: false
schema:
items:
@@ -143962,7 +141670,7 @@ paths:
style: form
- explode: true
in: query
- name: first_name__isw
+ name: comments__n
required: false
schema:
items:
@@ -143971,7 +141679,7 @@ paths:
style: form
- explode: true
in: query
- name: first_name__n
+ name: comments__nic
required: false
schema:
items:
@@ -143980,7 +141688,7 @@ paths:
style: form
- explode: true
in: query
- name: first_name__nic
+ name: comments__nie
required: false
schema:
items:
@@ -143989,7 +141697,7 @@ paths:
style: form
- explode: true
in: query
- name: first_name__nie
+ name: comments__niew
required: false
schema:
items:
@@ -143998,7 +141706,7 @@ paths:
style: form
- explode: true
in: query
- name: first_name__niew
+ name: comments__nire
required: false
schema:
items:
@@ -144007,7 +141715,7 @@ paths:
style: form
- explode: true
in: query
- name: first_name__nire
+ name: comments__nisw
required: false
schema:
items:
@@ -144016,7 +141724,7 @@ paths:
style: form
- explode: true
in: query
- name: first_name__nisw
+ name: comments__nre
required: false
schema:
items:
@@ -144025,7 +141733,7 @@ paths:
style: form
- explode: true
in: query
- name: first_name__nre
+ name: comments__re
required: false
schema:
items:
@@ -144034,297 +141742,283 @@ paths:
style: form
- explode: true
in: query
- name: first_name__re
+ name: contacts
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Contacts (name or ID) is null
+ explode: true
in: query
- name: format
+ name: contacts__isnull
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ type: boolean
style: form
- - description: Group (name)
- explode: true
+ - explode: true
in: query
- name: groups
+ name: contacts__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Group (name)
- explode: true
+ - explode: true
in: query
- name: groups__n
+ name: created
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- - description: Group (ID)
- explode: true
+ - explode: true
in: query
- name: groups_id
+ name: created__gt
required: false
schema:
items:
- type: integer
+ format: date-time
+ type: string
type: array
style: form
- - description: Exclude Group (ID)
- explode: true
+ - explode: true
in: query
- name: groups_id__n
+ name: created__gte
required: false
schema:
items:
- type: integer
+ format: date-time
+ type: string
type: array
style: form
- - description: Has Changes
- explode: true
- in: query
- name: has_object_changes
- required: false
- schema:
- type: boolean
- style: form
- - description: Has object permissions
- explode: true
- in: query
- name: has_object_permissions
- required: false
- schema:
- type: boolean
- style: form
- - description: Has Rack Reservations
- explode: true
+ - explode: true
in: query
- name: has_rack_reservations
+ name: created__isnull
required: false
schema:
type: boolean
style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
- explode: true
+ - explode: true
in: query
- name: id
+ name: created__lt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__ic
+ name: created__lte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__ie
+ name: created__n
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: disk
required: false
schema:
items:
- format: uuid
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: disk__gt
required: false
schema:
items:
- format: uuid
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: disk__gte
required: false
schema:
items:
- format: uuid
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: id__n
+ name: disk__isnull
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: id__nic
+ name: disk__lt
required: false
schema:
items:
- format: uuid
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: disk__lte
required: false
schema:
items:
- format: uuid
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: disk__n
required: false
schema:
items:
- format: uuid
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: id__nire
+ name: dynamic_groups
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nisw
+ name: dynamic_groups__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nre
+ name: format
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - explode: true
+ - description: Has interfaces
+ explode: true
in: query
- name: id__re
+ name: has_interfaces
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: Has IP addresses
+ explode: true
in: query
- name: is_active
+ name: has_ip_addresses
required: false
schema:
type: boolean
style: form
- - explode: true
+ - description: Has a primary IP
+ explode: true
in: query
- name: is_staff
+ name: has_primary_ip
required: false
schema:
type: boolean
style: form
- - explode: true
+ - description: Has services
+ explode: true
in: query
- name: last_name
+ name: has_services
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: Has software image files
+ explode: true
in: query
- name: last_name__ic
+ name: has_software_image_files
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: Has software version
+ explode: true
in: query
- name: last_name__ie
+ name: has_software_version
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
+ in: query
+ name: id
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: last_name__iew
+ name: id__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: last_name__ire
+ name: interfaces
required: false
schema:
items:
type: string
type: array
style: form
+ - description: Interfaces (name or ID) is null
+ explode: true
+ in: query
+ name: interfaces__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: last_name__isw
+ name: interfaces__n
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: IP addresses (address or ID)
+ explode: true
in: query
- name: last_name__n
+ name: ip_addresses
required: false
schema:
items:
@@ -144333,64 +142027,68 @@ paths:
style: form
- explode: true
in: query
- name: last_name__nic
+ name: last_updated
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_name__nie
+ name: last_updated__gt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_name__niew
+ name: last_updated__gte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_name__nire
+ name: last_updated__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: last_name__nisw
+ name: last_updated__lt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_name__nre
+ name: last_updated__lte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_name__re
+ name: last_updated__n
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
@@ -144402,719 +142100,303 @@ paths:
schema:
type: integer
style: form
- - description: Object Changes (ID)
- explode: true
- in: query
- name: object_changes
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Object Changes (ID) is null
+ - description: Has local config context data
explode: true
in: query
- name: object_changes__isnull
+ name: local_config_context_data
required: false
schema:
type: boolean
style: form
- - description: Exclude Object Changes (ID)
- explode: true
- in: query
- name: object_changes__n
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
- name: object_permissions
+ name: local_config_context_schema
required: false
schema:
items:
type: string
type: array
style: form
- - description: Object Permission (ID or name) is null
+ - description: Schema (ID or name) is null
explode: true
in: query
- name: object_permissions__isnull
+ name: local_config_context_schema__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: object_permissions__n
+ name: local_config_context_schema__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- - description: Search
- explode: true
- in: query
- name: q
- required: false
- schema:
- type: string
- style: form
- - description: Rack Reservation (ID)
+ - description: Schema (ID) - Deprecated (use local_context_schema filter)
explode: true
in: query
- name: rack_reservations_id
+ name: local_config_context_schema_id
required: false
schema:
items:
format: uuid
+ nullable: true
type: string
type: array
style: form
- - description: Rack Reservation (ID) is null
+ - description: Schema (ID) - Deprecated (use local_context_schema filter) is
+ null
explode: true
in: query
- name: rack_reservations_id__isnull
+ name: local_config_context_schema_id__isnull
required: false
schema:
type: boolean
style: form
- - description: Exclude Rack Reservation (ID)
+ - description: Exclude Schema (ID) - Deprecated (use local_context_schema filter)
explode: true
in: query
- name: rack_reservations_id__n
+ name: local_config_context_schema_id__n
required: false
schema:
items:
format: uuid
+ nullable: true
type: string
type: array
style: form
- - description: Which field to use when ordering the results.
- explode: true
- in: query
- name: sort
- required: false
- schema:
- type: string
- style: form
- explode: true
in: query
- name: username
+ name: location
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Location (name or ID) is null
+ explode: true
in: query
- name: username__ic
+ name: location__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: username__ie
+ name: location__n
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: MAC address
+ explode: true
in: query
- name: username__iew
+ name: mac_address
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: MAC address contains
+ explode: true
in: query
- name: username__ire
+ name: mac_address__ic
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: MAC address
+ explode: true
in: query
- name: username__isw
+ name: mac_address__ie
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: MAC address ends with
+ explode: true
in: query
- name: username__n
+ name: mac_address__iew
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: MAC address matches regex
+ explode: true
in: query
- name: username__nic
+ name: mac_address__ire
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: MAC address starts with
+ explode: true
in: query
- name: username__nie
+ name: mac_address__isw
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Exclude MAC address
+ explode: true
in: query
- name: username__niew
+ name: mac_address__n
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Exclude MAC address contains
+ explode: true
in: query
- name: username__nire
+ name: mac_address__nic
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Exclude MAC address
+ explode: true
in: query
- name: username__nisw
+ name: mac_address__nie
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Exclude MAC address ends with
+ explode: true
in: query
- name: username__nre
+ name: mac_address__niew
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Exclude MAC address matches regex
+ explode: true
in: query
- name: username__re
+ name: mac_address__nire
required: false
schema:
items:
type: string
type: array
style: form
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
- style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedUserList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedUserList'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - users
- patch:
- description: Partial update a list of user objects.
- operationId: users_users_bulk_partial_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- requestBody:
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/PatchedBulkWritableUserRequest'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/PatchedBulkWritableUserRequest'
- type: array
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/User'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/User'
- type: array
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - users
- post:
- description: Create one or more user objects.
- operationId: users_users_create
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/UserRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/UserRequest'
- required: true
- responses:
- "201":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/User'
- text/csv:
- schema:
- $ref: '#/components/schemas/User'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - users
- put:
- description: Update a list of user objects.
- operationId: users_users_bulk_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- requestBody:
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/BulkWritableUserRequest'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/BulkWritableUserRequest'
- type: array
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/User'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/User'
- type: array
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - users
- /users/users/{id}/:
- delete:
- description: Destroy a user object.
- operationId: users_users_destroy
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this user.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- responses:
- "204":
- description: No response body
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - users
- get:
- description: Retrieve a user object.
- operationId: users_users_retrieve
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this user.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Serializer Depth
+ - description: Exclude MAC address starts with
explode: true
in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
- style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/User'
- text/csv:
- schema:
- $ref: '#/components/schemas/User'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - users
- patch:
- description: Partial update a user object.
- operationId: users_users_partial_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this user.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PatchedUserRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/PatchedUserRequest'
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/User'
- text/csv:
- schema:
- $ref: '#/components/schemas/User'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - users
- put:
- description: Update a user object.
- operationId: users_users_update
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this user.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/UserRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/UserRequest'
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/User'
- text/csv:
- schema:
- $ref: '#/components/schemas/User'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - users
- /virtualization/cluster-groups/:
- delete:
- description: Destroy a list of cluster group objects.
- operationId: virtualization_cluster_groups_bulk_destroy
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- requestBody:
- content:
- application/json:
- schema:
- items:
- $ref: '#/components/schemas/BulkOperationRequest'
- type: array
- text/csv:
- schema:
- items:
- $ref: '#/components/schemas/BulkOperationRequest'
- type: array
- required: true
- responses:
- "204":
- description: No response body
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - virtualization
- get:
- description: Retrieve a list of cluster group objects.
- operationId: virtualization_cluster_groups_list
- parameters:
- - explode: true
- in: query
- name: clusters
+ name: mac_address__nisw
required: false
schema:
items:
type: string
type: array
style: form
- - description: Clusters (name or ID) is null
+ - description: Exclude MAC address matches regex
explode: true
in: query
- name: clusters__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: clusters__n
+ name: mac_address__nre
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: MAC address matches regex
+ explode: true
in: query
- name: contacts
+ name: mac_address__re
required: false
schema:
items:
type: string
type: array
style: form
- - description: Contacts (name or ID) is null
- explode: true
- in: query
- name: contacts__isnull
- required: false
- schema:
- type: boolean
- style: form
- - description: Exclude Contacts (name or ID)
- explode: true
- in: query
- name: contacts__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
- name: created
+ name: memory
required: false
schema:
items:
- format: date-time
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: created__gt
+ name: memory__gt
required: false
schema:
items:
- format: date-time
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: created__gte
+ name: memory__gte
required: false
schema:
items:
- format: date-time
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: created__isnull
+ name: memory__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: created__lt
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: created__lte
+ name: memory__lt
required: false
schema:
items:
- format: date-time
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: created__n
+ name: memory__lte
required: false
schema:
items:
- format: date-time
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: description
+ name: memory__n
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: description__ic
+ name: name
required: false
schema:
items:
@@ -145123,7 +142405,7 @@ paths:
style: form
- explode: true
in: query
- name: description__ie
+ name: name__ic
required: false
schema:
items:
@@ -145132,7 +142414,7 @@ paths:
style: form
- explode: true
in: query
- name: description__iew
+ name: name__ie
required: false
schema:
items:
@@ -145141,7 +142423,7 @@ paths:
style: form
- explode: true
in: query
- name: description__ire
+ name: name__iew
required: false
schema:
items:
@@ -145150,7 +142432,7 @@ paths:
style: form
- explode: true
in: query
- name: description__isw
+ name: name__ire
required: false
schema:
items:
@@ -145159,7 +142441,7 @@ paths:
style: form
- explode: true
in: query
- name: description__n
+ name: name__isw
required: false
schema:
items:
@@ -145168,7 +142450,7 @@ paths:
style: form
- explode: true
in: query
- name: description__nic
+ name: name__n
required: false
schema:
items:
@@ -145177,7 +142459,7 @@ paths:
style: form
- explode: true
in: query
- name: description__nie
+ name: name__nic
required: false
schema:
items:
@@ -145186,7 +142468,7 @@ paths:
style: form
- explode: true
in: query
- name: description__niew
+ name: name__nie
required: false
schema:
items:
@@ -145195,7 +142477,7 @@ paths:
style: form
- explode: true
in: query
- name: description__nire
+ name: name__niew
required: false
schema:
items:
@@ -145204,7 +142486,7 @@ paths:
style: form
- explode: true
in: query
- name: description__nisw
+ name: name__nire
required: false
schema:
items:
@@ -145213,7 +142495,7 @@ paths:
style: form
- explode: true
in: query
- name: description__nre
+ name: name__nisw
required: false
schema:
items:
@@ -145222,7 +142504,7 @@ paths:
style: form
- explode: true
in: query
- name: description__re
+ name: name__nre
required: false
schema:
items:
@@ -145231,257 +142513,248 @@ paths:
style: form
- explode: true
in: query
- name: dynamic_groups
+ name: name__re
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
+ - description: The initial index from which to return the results.
explode: true
in: query
- name: dynamic_groups__n
+ name: offset
required: false
schema:
- format: uuid
- type: string
+ type: integer
style: form
- explode: true
in: query
- name: format
+ name: platform
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ items:
+ type: string
+ type: array
style: form
- - description: Has clusters
+ - description: Platform (ID or name) is null
explode: true
in: query
- name: has_clusters
+ name: platform__isnull
required: false
schema:
type: boolean
style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
- explode: true
+ - explode: true
in: query
- name: id
+ name: platform__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Platform (ID) - Deprecated (use platform filter)
+ explode: true
in: query
- name: id__ic
+ name: platform_id
required: false
schema:
items:
format: uuid
+ nullable: true
type: string
type: array
style: form
- - explode: true
+ - description: Platform (ID) - Deprecated (use platform filter) is null
+ explode: true
in: query
- name: id__ie
+ name: platform_id__isnull
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: Exclude Platform (ID) - Deprecated (use platform filter)
+ explode: true
in: query
- name: id__iew
+ name: platform_id__n
required: false
schema:
items:
format: uuid
+ nullable: true
type: string
type: array
style: form
- - explode: true
+ - description: Primary IPv4 Address (address or ID)
+ explode: true
in: query
- name: id__ire
+ name: primary_ip4
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Primary IPv6 Address (address or ID)
+ explode: true
in: query
- name: id__isw
+ name: primary_ip6
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Search
+ explode: true
in: query
- name: id__n
+ name: q
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: string
style: form
- explode: true
in: query
- name: id__nic
+ name: role
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Role (name or ID) is null
+ explode: true
in: query
- name: id__nie
+ name: role__isnull
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: id__niew
+ name: role__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nire
+ name: services
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - explode: true
+ - description: Services (name or ID) is null
+ explode: true
in: query
- name: id__nisw
+ name: services__isnull
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: id__nre
+ name: services__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__re
+ name: software_image_files
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated
+ name: software_image_files__n
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__gt
+ name: software_version
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
+ - description: Software version (version or ID) is null
+ explode: true
+ in: query
+ name: software_version__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
- explode: true
in: query
- name: last_updated__gte
+ name: software_version__n
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - explode: true
+ - description: Which field to use when ordering the results.
+ explode: true
in: query
- name: last_updated__isnull
+ name: sort
required: false
schema:
- type: boolean
+ type: string
style: form
- explode: true
in: query
- name: last_updated__lt
+ name: status
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__lte
+ name: status__n
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__n
+ name: tags
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - description: Number of results to return per page.
- explode: true
+ - explode: true
in: query
- name: limit
+ name: tags__isnull
required: false
schema:
- type: integer
+ type: boolean
style: form
- explode: true
in: query
- name: name
+ name: tags__n
required: false
schema:
items:
@@ -145490,25 +142763,24 @@ paths:
style: form
- explode: true
in: query
- name: name__ic
+ name: teams
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Teams (name or ID) is null
+ explode: true
in: query
- name: name__ie
+ name: teams__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: name__iew
+ name: teams__n
required: false
schema:
items:
@@ -145517,25 +142789,24 @@ paths:
style: form
- explode: true
in: query
- name: name__ire
+ name: tenant
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Tenant (name or ID) is null
+ explode: true
in: query
- name: name__isw
+ name: tenant__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: name__n
+ name: tenant__n
required: false
schema:
items:
@@ -145544,116 +142815,122 @@ paths:
style: form
- explode: true
in: query
- name: name__nic
+ name: tenant_group
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Tenant Group (name or ID) is null
+ explode: true
in: query
- name: name__nie
+ name: tenant_group__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: name__niew
+ name: tenant_group__n
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead)"
+ explode: true
in: query
- name: name__nire
+ name: tenant_id
required: false
schema:
items:
+ format: uuid
+ nullable: true
type: string
type: array
style: form
- - explode: true
+ - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead) is null"
+ explode: true
in: query
- name: name__nisw
+ name: tenant_id__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: "Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead)"
+ explode: true
in: query
- name: name__nre
+ name: tenant_id__n
required: false
schema:
items:
+ format: uuid
+ nullable: true
type: string
type: array
style: form
- explode: true
in: query
- name: name__re
+ name: vcpus
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- - description: The initial index from which to return the results.
- explode: true
+ - explode: true
in: query
- name: offset
+ name: vcpus__gt
required: false
schema:
- type: integer
+ items:
+ type: integer
+ type: array
style: form
- - description: Search
- explode: true
+ - explode: true
in: query
- name: q
+ name: vcpus__gte
required: false
schema:
- type: string
+ items:
+ type: integer
+ type: array
style: form
- - description: Which field to use when ordering the results.
- explode: true
+ - explode: true
in: query
- name: sort
+ name: vcpus__isnull
required: false
schema:
- type: string
+ type: boolean
style: form
- explode: true
in: query
- name: teams
+ name: vcpus__lt
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- - description: Teams (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: teams__isnull
+ name: vcpus__lte
required: false
schema:
- type: boolean
+ items:
+ type: integer
+ type: array
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
- name: teams__n
+ name: vcpus__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: integer
+ type: array
style: form
- description: Serializer Depth
explode: true
@@ -145666,15 +142943,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedClusterGroupList'
+ $ref: "#/components/schemas/PaginatedVirtualMachineList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedClusterGroupList'
+ $ref: "#/components/schemas/PaginatedVirtualMachineList"
description: ""
security:
- cookieAuth: []
@@ -145682,27 +142968,27 @@ paths:
tags:
- virtualization
patch:
- description: Partial update a list of cluster group objects.
- operationId: virtualization_cluster_groups_bulk_partial_update
+ description: Partial update a list of virtual machine objects.
+ operationId: virtualization_virtual_machines_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableClusterGroupRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableVirtualMachineRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableClusterGroupRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableVirtualMachineRequest"
type: array
required: true
responses:
@@ -145711,12 +142997,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ClusterGroup'
+ $ref: "#/components/schemas/VirtualMachine"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ClusterGroup'
+ $ref: "#/components/schemas/VirtualMachine"
type: array
description: ""
security:
@@ -145725,34 +143011,34 @@ paths:
tags:
- virtualization
post:
- description: Create one or more cluster group objects.
- operationId: virtualization_cluster_groups_create
+ description: Create one or more virtual machine objects.
+ operationId: virtualization_virtual_machines_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/ClusterGroupRequest'
+ $ref: "#/components/schemas/VirtualMachineRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ClusterGroupRequest'
+ $ref: "#/components/schemas/VirtualMachineRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/ClusterGroup'
+ $ref: "#/components/schemas/VirtualMachine"
text/csv:
schema:
- $ref: '#/components/schemas/ClusterGroup'
+ $ref: "#/components/schemas/VirtualMachine"
description: ""
security:
- cookieAuth: []
@@ -145760,27 +143046,27 @@ paths:
tags:
- virtualization
put:
- description: Update a list of cluster group objects.
- operationId: virtualization_cluster_groups_bulk_update
+ description: Update a list of virtual machine objects.
+ operationId: virtualization_virtual_machines_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableClusterGroupRequest'
+ $ref: "#/components/schemas/BulkWritableVirtualMachineRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableClusterGroupRequest'
+ $ref: "#/components/schemas/BulkWritableVirtualMachineRequest"
type: array
required: true
responses:
@@ -145789,12 +143075,12 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ClusterGroup'
+ $ref: "#/components/schemas/VirtualMachine"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ClusterGroup'
+ $ref: "#/components/schemas/VirtualMachine"
type: array
description: ""
security:
@@ -145802,19 +143088,19 @@ paths:
- tokenAuth: []
tags:
- virtualization
- /virtualization/cluster-groups/{id}/:
+ /virtualization/virtual-machines/{id}/:
delete:
- description: Destroy a cluster group object.
- operationId: virtualization_cluster_groups_destroy
+ description: Destroy a virtual machine object.
+ operationId: virtualization_virtual_machines_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this cluster group.
+ - description: A UUID string identifying this virtual machine.
explode: false
in: path
name: id
@@ -145832,17 +143118,17 @@ paths:
tags:
- virtualization
get:
- description: Retrieve a cluster group object.
- operationId: virtualization_cluster_groups_retrieve
+ description: Retrieve a virtual machine object.
+ operationId: virtualization_virtual_machines_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this cluster group.
+ - description: A UUID string identifying this virtual machine.
explode: false
in: path
name: id
@@ -145862,15 +143148,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ClusterGroup'
+ $ref: "#/components/schemas/VirtualMachine"
text/csv:
schema:
- $ref: '#/components/schemas/ClusterGroup'
+ $ref: "#/components/schemas/VirtualMachine"
description: ""
security:
- cookieAuth: []
@@ -145878,17 +143173,17 @@ paths:
tags:
- virtualization
patch:
- description: Partial update a cluster group object.
- operationId: virtualization_cluster_groups_partial_update
+ description: Partial update a virtual machine object.
+ operationId: virtualization_virtual_machines_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this cluster group.
+ - description: A UUID string identifying this virtual machine.
explode: false
in: path
name: id
@@ -145901,19 +143196,19 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedClusterGroupRequest'
+ $ref: "#/components/schemas/PatchedVirtualMachineRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedClusterGroupRequest'
+ $ref: "#/components/schemas/PatchedVirtualMachineRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ClusterGroup'
+ $ref: "#/components/schemas/VirtualMachine"
text/csv:
schema:
- $ref: '#/components/schemas/ClusterGroup'
+ $ref: "#/components/schemas/VirtualMachine"
description: ""
security:
- cookieAuth: []
@@ -145921,17 +143216,17 @@ paths:
tags:
- virtualization
put:
- description: Update a cluster group object.
- operationId: virtualization_cluster_groups_update
+ description: Update a virtual machine object.
+ operationId: virtualization_virtual_machines_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this cluster group.
+ - description: A UUID string identifying this virtual machine.
explode: false
in: path
name: id
@@ -145944,39 +143239,39 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ClusterGroupRequest'
+ $ref: "#/components/schemas/VirtualMachineRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ClusterGroupRequest'
+ $ref: "#/components/schemas/VirtualMachineRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ClusterGroup'
+ $ref: "#/components/schemas/VirtualMachine"
text/csv:
schema:
- $ref: '#/components/schemas/ClusterGroup'
+ $ref: "#/components/schemas/VirtualMachine"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- virtualization
- /virtualization/cluster-groups/{id}/notes/:
+ /virtualization/virtual-machines/{id}/notes/:
get:
description: API methods for returning or creating notes on an object.
- operationId: virtualization_cluster_groups_notes_list
+ operationId: virtualization_virtual_machines_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this cluster group.
+ - description: A UUID string identifying this virtual machine.
explode: false
in: path
name: id
@@ -146012,15 +143307,24 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
@@ -146029,16 +143333,16 @@ paths:
- virtualization
post:
description: API methods for returning or creating notes on an object.
- operationId: virtualization_cluster_groups_notes_create
+ operationId: virtualization_virtual_machines_notes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this cluster group.
+ - description: A UUID string identifying this virtual machine.
explode: false
in: path
name: id
@@ -146051,49 +143355,50 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- virtualization
- /virtualization/cluster-types/:
+ /wireless/controller-managed-device-group-radio-profile-assignments/:
delete:
- description: Destroy a list of cluster type objects.
- operationId: virtualization_cluster_types_bulk_destroy
+ description: Destroy a list of controller managed device group radio profile
+ assignment objects.
+ operationId: wireless_controller_managed_device_group_radio_profile_assignments_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -146103,31 +143408,24 @@ paths:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
+ - wireless
get:
- description: Retrieve a list of cluster type objects.
- operationId: virtualization_cluster_types_list
+ description: Retrieve a list of controller managed device group radio profile
+ assignment objects.
+ operationId: wireless_controller_managed_device_group_radio_profile_assignments_list
parameters:
- explode: true
in: query
- name: clusters
+ name: controller_managed_device_group
required: false
schema:
items:
type: string
type: array
style: form
- - description: Clusters (name or ID) is null
- explode: true
- in: query
- name: clusters__isnull
- required: false
- schema:
- type: boolean
- style: form
- explode: true
in: query
- name: clusters__n
+ name: controller_managed_device_group__n
required: false
schema:
items:
@@ -146136,100 +143434,60 @@ paths:
style: form
- explode: true
in: query
- name: contacts
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Contacts (name or ID) is null
- explode: true
- in: query
- name: contacts__isnull
+ name: format
required: false
schema:
- type: boolean
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: Exclude Contacts (name or ID)
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
explode: true
in: query
- name: contacts__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- - explode: true
- in: query
- name: created
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: created__gt
+ name: id
required: false
schema:
items:
- format: date-time
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: created__gte
+ name: id__n
required: false
schema:
items:
- format: date-time
+ format: uuid
type: string
type: array
style: form
- - explode: true
- in: query
- name: created__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
+ - description: Number of results to return per page.
+ explode: true
in: query
- name: created__lt
+ name: limit
required: false
schema:
- items:
- format: date-time
- type: string
- type: array
+ type: integer
style: form
- - explode: true
+ - description: The initial index from which to return the results.
+ explode: true
in: query
- name: created__lte
+ name: offset
required: false
schema:
- items:
- format: date-time
- type: string
- type: array
+ type: integer
style: form
- - explode: true
+ - description: Search
+ explode: true
in: query
- name: created__n
+ name: q
required: false
schema:
- items:
- format: date-time
- type: string
- type: array
+ type: string
style: form
- explode: true
in: query
- name: description
+ name: radio_profile
required: false
schema:
items:
@@ -146238,209 +143496,428 @@ paths:
style: form
- explode: true
in: query
- name: description__ic
+ name: radio_profile__n
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Which field to use when ordering the results.
+ explode: true
in: query
- name: description__ie
+ name: sort
required: false
schema:
- items:
- type: string
- type: array
+ type: string
style: form
- - explode: true
+ - description: Serializer Depth
+ explode: true
in: query
- name: description__iew
+ name: depth
required: false
schema:
- items:
- type: string
- type: array
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
style: form
- - explode: true
+ - description: Exclude many-to-many fields from the response
+ explode: true
in: query
- name: description__ire
+ name: exclude_m2m
required: false
schema:
- items:
- type: string
- type: array
+ default: false
+ type: boolean
style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - wireless
+ patch:
+ description: Partial update a list of controller managed device group radio
+ profile assignment objects.
+ operationId: wireless_controller_managed_device_group_radio_profile_assignments_bulk_partial_update
+ parameters:
- explode: true
in: query
- name: description__isw
+ name: format
required: false
schema:
- items:
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest"
+ type: array
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignment"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignment"
+ type: array
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - wireless
+ post:
+ description: Create one or more controller managed device group radio profile
+ assignment objects.
+ operationId: wireless_controller_managed_device_group_radio_profile_assignments_create
+ parameters:
- explode: true
in: query
- name: description__n
+ name: format
required: false
schema:
- items:
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignmentRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignmentRequest"
+ required: true
+ responses:
+ "201":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignment"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignment"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - wireless
+ put:
+ description: Update a list of controller managed device group radio profile
+ assignment objects.
+ operationId: wireless_controller_managed_device_group_radio_profile_assignments_bulk_update
+ parameters:
- explode: true
in: query
- name: description__nic
+ name: format
required: false
schema:
- items:
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest"
+ type: array
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignment"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignment"
+ type: array
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - wireless
+ /wireless/controller-managed-device-group-radio-profile-assignments/{id}/:
+ delete:
+ description: Destroy a controller managed device group radio profile assignment
+ object.
+ operationId: wireless_controller_managed_device_group_radio_profile_assignments_destroy
+ parameters:
- explode: true
in: query
- name: description__nie
+ name: format
required: false
schema:
- items:
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - explode: true
- in: query
- name: description__niew
- required: false
+ - description: A UUID string identifying this controller managed device group
+ radio profile assignment.
+ explode: false
+ in: path
+ name: id
+ required: true
schema:
- items:
- type: string
- type: array
- style: form
+ format: uuid
+ type: string
+ style: simple
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - wireless
+ get:
+ description: Retrieve a controller managed device group radio profile assignment
+ object.
+ operationId: wireless_controller_managed_device_group_radio_profile_assignments_retrieve
+ parameters:
- explode: true
in: query
- name: description__nire
+ name: format
required: false
schema:
- items:
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - explode: true
- in: query
- name: description__nisw
- required: false
+ - description: A UUID string identifying this controller managed device group
+ radio profile assignment.
+ explode: false
+ in: path
+ name: id
+ required: true
schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
+ format: uuid
+ type: string
+ style: simple
+ - description: Serializer Depth
+ explode: true
in: query
- name: description__nre
+ name: depth
required: false
schema:
- items:
- type: string
- type: array
+ default: 1
+ maximum: 10
+ minimum: 0
+ type: integer
style: form
- - explode: true
+ - description: Exclude many-to-many fields from the response
+ explode: true
in: query
- name: description__re
+ name: exclude_m2m
required: false
schema:
- items:
- type: string
- type: array
+ default: false
+ type: boolean
style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignment"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignment"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - wireless
+ patch:
+ description: Partial update a controller managed device group radio profile
+ assignment object.
+ operationId: wireless_controller_managed_device_group_radio_profile_assignments_partial_update
+ parameters:
- explode: true
in: query
- name: dynamic_groups
+ name: format
required: false
schema:
- items:
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
- in: query
- name: dynamic_groups__n
- required: false
+ - description: A UUID string identifying this controller managed device group
+ radio profile assignment.
+ explode: false
+ in: path
+ name: id
+ required: true
schema:
format: uuid
type: string
- style: form
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest"
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignment"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignment"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - wireless
+ put:
+ description: Update a controller managed device group radio profile assignment
+ object.
+ operationId: wireless_controller_managed_device_group_radio_profile_assignments_update
+ parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: Has clusters
- explode: true
- in: query
- name: has_clusters
- required: false
- schema:
- type: boolean
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
- explode: true
- in: query
+ - description: A UUID string identifying this controller managed device group
+ radio profile assignment.
+ explode: false
+ in: path
name: id
- required: false
+ required: true
schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
+ format: uuid
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignmentRequest"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignmentRequest"
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignment"
+ text/csv:
+ schema:
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignment"
+ description: ""
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - wireless
+ /wireless/controller-managed-device-group-wireless-network-assignments/:
+ delete:
+ description: Destroy a list of controller managed device group wireless network
+ assignment objects.
+ operationId: wireless_controller_managed_device_group_wireless_network_assignments_bulk_destroy
+ parameters:
- explode: true
in: query
- name: id__ic
+ name: format
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ text/csv:
+ schema:
+ items:
+ $ref: "#/components/schemas/BulkOperationRequest"
+ type: array
+ required: true
+ responses:
+ "204":
+ description: No response body
+ security:
+ - cookieAuth: []
+ - tokenAuth: []
+ tags:
+ - wireless
+ get:
+ description: Retrieve a list of controller managed device group wireless network
+ assignment objects.
+ operationId: wireless_controller_managed_device_group_wireless_network_assignments_list
+ parameters:
- explode: true
in: query
- name: id__ie
+ name: controller_managed_device_group
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: controller_managed_device_group__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: format
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - explode: true
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
in: query
- name: id__isw
+ name: id
required: false
schema:
items:
@@ -146458,143 +143935,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__nic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__niew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nisw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__nre
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: last_updated
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: last_updated__gt
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: last_updated__gte
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: last_updated__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: last_updated__lt
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: last_updated__lte
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: last_updated__n
- required: false
- schema:
- items:
- format: date-time
- type: string
- type: array
- style: form
- description: Number of results to return per page.
explode: true
in: query
@@ -146603,132 +143943,6 @@ paths:
schema:
type: integer
style: form
- - explode: true
- in: query
- name: name
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__ic
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__ie
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__iew
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__ire
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__isw
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__nic
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__nie
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__niew
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__nire
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__nisw
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__nre
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__re
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- description: The initial index from which to return the results.
explode: true
in: query
@@ -146755,30 +143969,45 @@ paths:
style: form
- explode: true
in: query
- name: teams
+ name: vlan
required: false
schema:
- items:
- type: string
- type: array
+ format: uuid
+ type: string
style: form
- - description: Teams (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: teams__isnull
+ name: vlan__isnull
required: false
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
- name: teams__n
+ name: vlan__n
required: false
schema:
format: uuid
type: string
style: form
+ - explode: true
+ in: query
+ name: wireless_network
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: wireless_network__n
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
- description: Serializer Depth
explode: true
in: query
@@ -146790,43 +144019,53 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedClusterTypeList'
+ $ref: "#/components/schemas/PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedClusterTypeList'
+ $ref: "#/components/schemas/PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
+ - wireless
patch:
- description: Partial update a list of cluster type objects.
- operationId: virtualization_cluster_types_bulk_partial_update
+ description: Partial update a list of controller managed device group wireless
+ network assignment objects.
+ operationId: wireless_controller_managed_device_group_wireless_network_assignments_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableClusterTypeRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableClusterTypeRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest"
type: array
required: true
responses:
@@ -146835,76 +144074,78 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ClusterType'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignment"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ClusterType'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignment"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
+ - wireless
post:
- description: Create one or more cluster type objects.
- operationId: virtualization_cluster_types_create
+ description: Create one or more controller managed device group wireless network
+ assignment objects.
+ operationId: wireless_controller_managed_device_group_wireless_network_assignments_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/ClusterTypeRequest'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ClusterTypeRequest'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/ClusterType'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignment"
text/csv:
schema:
- $ref: '#/components/schemas/ClusterType'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignment"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
+ - wireless
put:
- description: Update a list of cluster type objects.
- operationId: virtualization_cluster_types_bulk_update
+ description: Update a list of controller managed device group wireless network
+ assignment objects.
+ operationId: wireless_controller_managed_device_group_wireless_network_assignments_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableClusterTypeRequest'
+ $ref: "#/components/schemas/BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableClusterTypeRequest'
+ $ref: "#/components/schemas/BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest"
type: array
required: true
responses:
@@ -146913,32 +144154,34 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/ClusterType'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignment"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/ClusterType'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignment"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
- /virtualization/cluster-types/{id}/:
+ - wireless
+ /wireless/controller-managed-device-group-wireless-network-assignments/{id}/:
delete:
- description: Destroy a cluster type object.
- operationId: virtualization_cluster_types_destroy
+ description: Destroy a controller managed device group wireless network assignment
+ object.
+ operationId: wireless_controller_managed_device_group_wireless_network_assignments_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this cluster type.
+ - description: A UUID string identifying this controller managed device group
+ wireless network assignment.
explode: false
in: path
name: id
@@ -146954,19 +144197,21 @@ paths:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
+ - wireless
get:
- description: Retrieve a cluster type object.
- operationId: virtualization_cluster_types_retrieve
+ description: Retrieve a controller managed device group wireless network assignment
+ object.
+ operationId: wireless_controller_managed_device_group_wireless_network_assignments_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this cluster type.
+ - description: A UUID string identifying this controller managed device group
+ wireless network assignment.
explode: false
in: path
name: id
@@ -146986,76 +144231,44 @@ paths:
minimum: 0
type: integer
style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ClusterType'
- text/csv:
- schema:
- $ref: '#/components/schemas/ClusterType'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - virtualization
- patch:
- description: Partial update a cluster type object.
- operationId: virtualization_cluster_types_partial_update
- parameters:
- - explode: true
+ - description: Exclude many-to-many fields from the response
+ explode: true
in: query
- name: format
+ name: exclude_m2m
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ default: false
+ type: boolean
style: form
- - description: A UUID string identifying this cluster type.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PatchedClusterTypeRequest'
- text/csv:
- schema:
- $ref: '#/components/schemas/PatchedClusterTypeRequest'
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ClusterType'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignment"
text/csv:
schema:
- $ref: '#/components/schemas/ClusterType'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignment"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
- put:
- description: Update a cluster type object.
- operationId: virtualization_cluster_types_update
+ - wireless
+ patch:
+ description: Partial update a controller managed device group wireless network
+ assignment object.
+ operationId: wireless_controller_managed_device_group_wireless_network_assignments_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this cluster type.
+ - description: A UUID string identifying this controller managed device group
+ wireless network assignment.
explode: false
in: path
name: id
@@ -147068,101 +144281,39 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ClusterTypeRequest'
+ $ref: "#/components/schemas/PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ClusterTypeRequest'
- required: true
+ $ref: "#/components/schemas/PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/ClusterType'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignment"
text/csv:
schema:
- $ref: '#/components/schemas/ClusterType'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignment"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
- /virtualization/cluster-types/{id}/notes/:
- get:
- description: API methods for returning or creating notes on an object.
- operationId: virtualization_cluster_types_notes_list
- parameters:
- - explode: true
- in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: A UUID string identifying this cluster type.
- explode: false
- in: path
- name: id
- required: true
- schema:
- format: uuid
- type: string
- style: simple
- - description: Number of results to return per page.
- explode: true
- in: query
- name: limit
- required: false
- schema:
- type: integer
- style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- - description: Serializer Depth
- explode: true
- in: query
- name: depth
- required: false
- schema:
- default: 1
- maximum: 10
- minimum: 0
- type: integer
- style: form
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- text/csv:
- schema:
- $ref: '#/components/schemas/PaginatedNoteList'
- description: ""
- security:
- - cookieAuth: []
- - tokenAuth: []
- tags:
- - virtualization
- post:
- description: API methods for returning or creating notes on an object.
- operationId: virtualization_cluster_types_notes_create
+ - wireless
+ put:
+ description: Update a controller managed device group wireless network assignment
+ object.
+ operationId: wireless_controller_managed_device_group_wireless_network_assignments_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this cluster type.
+ - description: A UUID string identifying this controller managed device group
+ wireless network assignment.
explode: false
in: path
name: id
@@ -147175,49 +144326,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest"
required: true
responses:
- "201":
+ "200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignment"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignment"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
- /virtualization/clusters/:
+ - wireless
+ /wireless/radio-profiles/:
delete:
- description: Destroy a list of cluster objects.
- operationId: virtualization_clusters_bulk_destroy
+ description: Destroy a list of radio profile objects.
+ operationId: wireless_radio_profiles_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -147227,137 +144378,149 @@ paths:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
+ - wireless
get:
- description: Retrieve a list of cluster objects.
- operationId: virtualization_clusters_list
+ description: Retrieve a list of radio profile objects.
+ operationId: wireless_radio_profiles_list
parameters:
- explode: true
in: query
- name: cluster_group
+ name: allowed_channel_list
required: false
schema:
items:
type: string
type: array
style: form
- - description: Parent group (ID or name) is null
+ - explode: true
+ in: query
+ name: channel_width
+ required: false
+ schema:
+ type: number
+ style: form
+ - explode: true
+ in: query
+ name: contacts
+ required: false
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: Contacts (name or ID) is null
explode: true
in: query
- name: cluster_group__isnull
+ name: contacts__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: cluster_group__n
+ name: contacts__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Parent group (ID) - Deprecated (use group filter)
- explode: true
+ - explode: true
in: query
- name: cluster_group_id
+ name: controller_managed_device_groups
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- - description: Parent group (ID) - Deprecated (use group filter) is null
+ - description: Controller Managed Device Groups (name or ID) is null
explode: true
in: query
- name: cluster_group_id__isnull
+ name: controller_managed_device_groups__isnull
required: false
schema:
type: boolean
style: form
- - description: Exclude Parent group (ID) - Deprecated (use group filter)
- explode: true
+ - explode: true
in: query
- name: cluster_group_id__n
+ name: controller_managed_device_groups__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: cluster_type
+ name: created
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: cluster_type__n
+ name: created__gt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- - description: Cluster type (ID) - Deprecated (use type filter)
- explode: true
+ - explode: true
in: query
- name: cluster_type_id
+ name: created__gte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- - description: Exclude Cluster type (ID) - Deprecated (use type filter)
- explode: true
+ - explode: true
in: query
- name: cluster_type_id__n
+ name: created__isnull
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: comments
+ name: created__lt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: comments__ic
+ name: created__lte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: comments__ie
+ name: created__n
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: comments__iew
+ name: dynamic_groups
required: false
schema:
items:
@@ -147366,7 +144529,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__ire
+ name: dynamic_groups__n
required: false
schema:
items:
@@ -147375,16 +144538,14 @@ paths:
style: form
- explode: true
in: query
- name: comments__isw
+ name: format
required: false
schema:
- items:
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- explode: true
in: query
- name: comments__n
+ name: frequency
required: false
schema:
items:
@@ -147393,7 +144554,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__nic
+ name: frequency__ic
required: false
schema:
items:
@@ -147402,7 +144563,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__nie
+ name: frequency__ie
required: false
schema:
items:
@@ -147411,7 +144572,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__niew
+ name: frequency__iew
required: false
schema:
items:
@@ -147420,7 +144581,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__nire
+ name: frequency__ire
required: false
schema:
items:
@@ -147429,7 +144590,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__nisw
+ name: frequency__isw
required: false
schema:
items:
@@ -147438,7 +144599,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__nre
+ name: frequency__n
required: false
schema:
items:
@@ -147447,7 +144608,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__re
+ name: frequency__nic
required: false
schema:
items:
@@ -147456,80 +144617,91 @@ paths:
style: form
- explode: true
in: query
- name: contacts
+ name: frequency__nie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Contacts (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: contacts__isnull
+ name: frequency__niew
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
+ - explode: true
in: query
- name: contacts__n
+ name: frequency__nire
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: created
+ name: frequency__nisw
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__gt
+ name: frequency__nre
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: created__gte
+ name: frequency__re
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - explode: true
+ - description: Has controller managed device groups
+ explode: true
in: query
- name: created__isnull
+ name: has_controller_managed_device_groups
required: false
schema:
type: boolean
style: form
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
+ in: query
+ name: id
+ required: false
+ schema:
+ items:
+ format: uuid
+ type: string
+ type: array
+ style: form
- explode: true
in: query
- name: created__lt
+ name: id__n
required: false
schema:
items:
- format: date-time
+ format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: created__lte
+ name: last_updated
required: false
schema:
items:
@@ -147539,7 +144711,7 @@ paths:
style: form
- explode: true
in: query
- name: created__n
+ name: last_updated__gt
required: false
schema:
items:
@@ -147549,308 +144721,258 @@ paths:
style: form
- explode: true
in: query
- name: devices
+ name: last_updated__gte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- - description: Devices (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: devices__isnull
+ name: last_updated__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: devices__n
+ name: last_updated__lt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: dynamic_groups
+ name: last_updated__lte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
- in: query
- name: dynamic_groups__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: Has devices
- explode: true
- in: query
- name: has_devices
- required: false
- schema:
- type: boolean
- style: form
- - description: Has virtual machines
- explode: true
- in: query
- name: has_virtual_machines
- required: false
- schema:
- type: boolean
- style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
- explode: true
- in: query
- name: id
+ name: last_updated__n
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- - explode: true
+ - description: Number of results to return per page.
+ explode: true
in: query
- name: id__ic
+ name: limit
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: integer
style: form
- explode: true
in: query
- name: id__ie
+ name: name
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: name__ic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: name__ie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: name__iew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__n
+ name: name__ire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nic
+ name: name__isw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: name__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: name__nic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nire
+ name: name__nie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nisw
+ name: name__niew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nre
+ name: name__nire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__re
+ name: name__nisw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated
+ name: name__nre
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__gt
+ name: name__re
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - explode: true
+ - description: The initial index from which to return the results.
+ explode: true
in: query
- name: last_updated__gte
+ name: offset
required: false
schema:
- items:
- format: date-time
- type: string
- type: array
+ type: integer
style: form
- - explode: true
+ - description: Search
+ explode: true
in: query
- name: last_updated__isnull
+ name: q
required: false
schema:
- type: boolean
+ type: string
style: form
- explode: true
in: query
- name: last_updated__lt
+ name: regulatory_domain
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__lte
+ name: regulatory_domain__ic
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: last_updated__n
+ name: regulatory_domain__ie
required: false
schema:
items:
- format: date-time
type: string
type: array
style: form
- - description: Number of results to return per page.
- explode: true
+ - explode: true
in: query
- name: limit
+ name: regulatory_domain__iew
required: false
schema:
- type: integer
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: location
+ name: regulatory_domain__ire
required: false
schema:
items:
type: string
type: array
style: form
- - description: Location (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: location__isnull
+ name: regulatory_domain__isw
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: location__n
+ name: regulatory_domain__n
required: false
schema:
items:
@@ -147859,7 +144981,7 @@ paths:
style: form
- explode: true
in: query
- name: name
+ name: regulatory_domain__nic
required: false
schema:
items:
@@ -147868,7 +144990,7 @@ paths:
style: form
- explode: true
in: query
- name: name__ic
+ name: regulatory_domain__nie
required: false
schema:
items:
@@ -147877,7 +144999,7 @@ paths:
style: form
- explode: true
in: query
- name: name__ie
+ name: regulatory_domain__niew
required: false
schema:
items:
@@ -147886,7 +145008,7 @@ paths:
style: form
- explode: true
in: query
- name: name__iew
+ name: regulatory_domain__nire
required: false
schema:
items:
@@ -147895,7 +145017,7 @@ paths:
style: form
- explode: true
in: query
- name: name__ire
+ name: regulatory_domain__nisw
required: false
schema:
items:
@@ -147904,7 +145026,7 @@ paths:
style: form
- explode: true
in: query
- name: name__isw
+ name: regulatory_domain__nre
required: false
schema:
items:
@@ -147913,7 +145035,7 @@ paths:
style: form
- explode: true
in: query
- name: name__n
+ name: regulatory_domain__re
required: false
schema:
items:
@@ -147922,90 +145044,92 @@ paths:
style: form
- explode: true
in: query
- name: name__nic
+ name: rx_power_min
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: name__nie
+ name: rx_power_min__gt
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: name__niew
+ name: rx_power_min__gte
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: name__nire
+ name: rx_power_min__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: name__nisw
+ name: rx_power_min__lt
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: name__nre
+ name: rx_power_min__lte
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: name__re
+ name: rx_power_min__n
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- - description: The initial index from which to return the results.
+ - description: Which field to use when ordering the results.
explode: true
in: query
- name: offset
+ name: sort
required: false
schema:
- type: integer
+ type: string
style: form
- - description: Search
- explode: true
+ - explode: true
in: query
- name: q
+ name: supported_data_rates
required: false
schema:
- type: string
+ items:
+ format: uuid
+ type: string
+ type: array
style: form
- - description: Which field to use when ordering the results.
- explode: true
+ - explode: true
in: query
- name: sort
+ name: supported_data_rates__n
required: false
schema:
- type: string
+ items:
+ format: uuid
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -148049,123 +145173,135 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: tenant
+ name: tx_power_max
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- - description: Tenant (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: tenant__isnull
+ name: tx_power_max__gt
required: false
schema:
- type: boolean
+ items:
+ type: integer
+ type: array
style: form
- explode: true
in: query
- name: tenant__n
+ name: tx_power_max__gte
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: tenant_group
+ name: tx_power_max__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: tx_power_max__lt
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- - description: Tenant Group (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: tenant_group__isnull
+ name: tx_power_max__lte
required: false
schema:
- type: boolean
+ items:
+ type: integer
+ type: array
style: form
- explode: true
in: query
- name: tenant_group__n
+ name: tx_power_max__n
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead)"
- explode: true
+ - explode: true
in: query
- name: tenant_id
+ name: tx_power_min
required: false
schema:
items:
- format: uuid
- nullable: true
- type: string
+ type: integer
type: array
style: form
- - description: "Tenant (ID) (deprecated, use \"tenant\" filter instead) is null"
- explode: true
+ - explode: true
in: query
- name: tenant_id__isnull
+ name: tx_power_min__gt
required: false
schema:
- type: boolean
+ items:
+ type: integer
+ type: array
style: form
- - description: "Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead)"
- explode: true
+ - explode: true
in: query
- name: tenant_id__n
+ name: tx_power_min__gte
required: false
schema:
items:
- format: uuid
- nullable: true
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: virtual_machines
+ name: tx_power_min__isnull
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: tx_power_min__lt
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- - description: Virtual machines (name or ID) is null
- explode: true
+ - explode: true
in: query
- name: virtual_machines__isnull
+ name: tx_power_min__lte
required: false
schema:
- type: boolean
+ items:
+ type: integer
+ type: array
style: form
- explode: true
in: query
- name: virtual_machines__n
+ name: tx_power_min__n
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- description: Serializer Depth
@@ -148179,43 +145315,52 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedClusterList'
+ $ref: "#/components/schemas/PaginatedRadioProfileList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedClusterList'
+ $ref: "#/components/schemas/PaginatedRadioProfileList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
+ - wireless
patch:
- description: Partial update a list of cluster objects.
- operationId: virtualization_clusters_bulk_partial_update
+ description: Partial update a list of radio profile objects.
+ operationId: wireless_radio_profiles_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableClusterRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableRadioProfileRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableClusterRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableRadioProfileRequest"
type: array
required: true
responses:
@@ -148224,76 +145369,76 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Cluster'
+ $ref: "#/components/schemas/RadioProfile"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Cluster'
+ $ref: "#/components/schemas/RadioProfile"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
+ - wireless
post:
- description: Create one or more cluster objects.
- operationId: virtualization_clusters_create
+ description: Create one or more radio profile objects.
+ operationId: wireless_radio_profiles_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/ClusterRequest'
+ $ref: "#/components/schemas/RadioProfileRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ClusterRequest'
+ $ref: "#/components/schemas/RadioProfileRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Cluster'
+ $ref: "#/components/schemas/RadioProfile"
text/csv:
schema:
- $ref: '#/components/schemas/Cluster'
+ $ref: "#/components/schemas/RadioProfile"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
+ - wireless
put:
- description: Update a list of cluster objects.
- operationId: virtualization_clusters_bulk_update
+ description: Update a list of radio profile objects.
+ operationId: wireless_radio_profiles_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableClusterRequest'
+ $ref: "#/components/schemas/BulkWritableRadioProfileRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableClusterRequest'
+ $ref: "#/components/schemas/BulkWritableRadioProfileRequest"
type: array
required: true
responses:
@@ -148302,32 +145447,32 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/Cluster'
+ $ref: "#/components/schemas/RadioProfile"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/Cluster'
+ $ref: "#/components/schemas/RadioProfile"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
- /virtualization/clusters/{id}/:
+ - wireless
+ /wireless/radio-profiles/{id}/:
delete:
- description: Destroy a cluster object.
- operationId: virtualization_clusters_destroy
+ description: Destroy a radio profile object.
+ operationId: wireless_radio_profiles_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this cluster.
+ - description: A UUID string identifying this radio profile.
explode: false
in: path
name: id
@@ -148343,19 +145488,19 @@ paths:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
+ - wireless
get:
- description: Retrieve a cluster object.
- operationId: virtualization_clusters_retrieve
+ description: Retrieve a radio profile object.
+ operationId: wireless_radio_profiles_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this cluster.
+ - description: A UUID string identifying this radio profile.
explode: false
in: path
name: id
@@ -148375,33 +145520,42 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Cluster'
+ $ref: "#/components/schemas/RadioProfile"
text/csv:
schema:
- $ref: '#/components/schemas/Cluster'
+ $ref: "#/components/schemas/RadioProfile"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
+ - wireless
patch:
- description: Partial update a cluster object.
- operationId: virtualization_clusters_partial_update
+ description: Partial update a radio profile object.
+ operationId: wireless_radio_profiles_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this cluster.
+ - description: A UUID string identifying this radio profile.
explode: false
in: path
name: id
@@ -148414,37 +145568,37 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedClusterRequest'
+ $ref: "#/components/schemas/PatchedRadioProfileRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedClusterRequest'
+ $ref: "#/components/schemas/PatchedRadioProfileRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Cluster'
+ $ref: "#/components/schemas/RadioProfile"
text/csv:
schema:
- $ref: '#/components/schemas/Cluster'
+ $ref: "#/components/schemas/RadioProfile"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
+ - wireless
put:
- description: Update a cluster object.
- operationId: virtualization_clusters_update
+ description: Update a radio profile object.
+ operationId: wireless_radio_profiles_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this cluster.
+ - description: A UUID string identifying this radio profile.
explode: false
in: path
name: id
@@ -148457,39 +145611,39 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/ClusterRequest'
+ $ref: "#/components/schemas/RadioProfileRequest"
text/csv:
schema:
- $ref: '#/components/schemas/ClusterRequest'
+ $ref: "#/components/schemas/RadioProfileRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/Cluster'
+ $ref: "#/components/schemas/RadioProfile"
text/csv:
schema:
- $ref: '#/components/schemas/Cluster'
+ $ref: "#/components/schemas/RadioProfile"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
- /virtualization/clusters/{id}/notes/:
+ - wireless
+ /wireless/radio-profiles/{id}/notes/:
get:
description: API methods for returning or creating notes on an object.
- operationId: virtualization_clusters_notes_list
+ operationId: wireless_radio_profiles_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this cluster.
+ - description: A UUID string identifying this radio profile.
explode: false
in: path
name: id
@@ -148525,33 +145679,42 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
+ - wireless
post:
description: API methods for returning or creating notes on an object.
- operationId: virtualization_clusters_notes_create
+ operationId: wireless_radio_profiles_notes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this cluster.
+ - description: A UUID string identifying this radio profile.
explode: false
in: path
name: id
@@ -148564,49 +145727,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
- /virtualization/interfaces/:
+ - wireless
+ /wireless/supported-data-rates/:
delete:
- description: Destroy a list of VM interface objects.
- operationId: virtualization_interfaces_bulk_destroy
+ description: Destroy a list of supported data rate objects.
+ operationId: wireless_supported_data_rates_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -148616,129 +145779,11 @@ paths:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
+ - wireless
get:
- description: Retrieve a list of VM interface objects.
- operationId: virtualization_interfaces_list
+ description: Retrieve a list of supported data rate objects.
+ operationId: wireless_supported_data_rates_list
parameters:
- - explode: true
- in: query
- name: bridge
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Bridge interface (name or ID) is null
- explode: true
- in: query
- name: bridge__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: bridge__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: bridged_interfaces
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Bridged interfaces (name or ID) is null
- explode: true
- in: query
- name: bridged_interfaces__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: bridged_interfaces__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: child_interfaces
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Child interfaces (name or ID) is null
- explode: true
- in: query
- name: child_interfaces__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: child_interfaces__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: cluster
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: cluster__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Cluster (ID) - Deprecated (use cluster filter)
- explode: true
- in: query
- name: cluster_id
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude Cluster (ID) - Deprecated (use cluster filter)
- explode: true
- in: query
- name: cluster_id__n
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: contacts
@@ -148756,63 +145801,9 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Contacts (name or ID)
- explode: true
- in: query
- name: contacts__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- - explode: true
- in: query
- name: description
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: description__ic
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: description__ie
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: description__iew
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: description__ire
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- explode: true
in: query
- name: description__isw
+ name: contacts__n
required: false
schema:
items:
@@ -148821,70 +145812,74 @@ paths:
style: form
- explode: true
in: query
- name: description__n
+ name: created
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: description__nic
+ name: created__gt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: description__nie
+ name: created__gte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: description__niew
+ name: created__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: description__nire
+ name: created__lt
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: description__nisw
+ name: created__lte
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: description__nre
+ name: created__n
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: description__re
+ name: dynamic_groups
required: false
schema:
items:
@@ -148893,64 +145888,24 @@ paths:
style: form
- explode: true
in: query
- name: dynamic_groups
+ name: dynamic_groups__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
- in: query
- name: dynamic_groups__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- - explode: true
- in: query
- name: enabled
- required: false
- schema:
- type: boolean
- style: form
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: Has Bridged Interfaces
- explode: true
- in: query
- name: has_bridged_interfaces
- required: false
- schema:
- type: boolean
- style: form
- - description: Has child interfaces
- explode: true
- in: query
- name: has_child_interfaces
- required: false
- schema:
- type: boolean
- style: form
- - description: Has IP addresses
- explode: true
- in: query
- name: has_ip_addresses
- required: false
- schema:
- type: boolean
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: Has Tagged VLANs
+ - description: Has radio profiles
explode: true
in: query
- name: has_tagged_vlans
+ name: has_radio_profiles
required: false
schema:
type: boolean
@@ -148967,56 +145922,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: id__ic
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ie
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__iew
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__ire
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: id__isw
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- explode: true
in: query
name: id__n
@@ -149029,81 +145934,68 @@ paths:
style: form
- explode: true
in: query
- name: id__nic
+ name: last_updated
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: last_updated__gt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: last_updated__gte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__nire
+ name: last_updated__isnull
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: id__nisw
+ name: last_updated__lt
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__nre
+ name: last_updated__lte
required: false
schema:
items:
- format: uuid
+ format: date-time
type: string
type: array
style: form
- explode: true
in: query
- name: id__re
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: IP addresses (address or ID)
- explode: true
- in: query
- name: ip_addresses
+ name: last_updated__n
required: false
schema:
items:
+ format: date-time
type: string
type: array
style: form
@@ -149115,266 +146007,103 @@ paths:
schema:
type: integer
style: form
- - description: MAC address
- explode: true
- in: query
- name: mac_address
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: MAC address contains
- explode: true
- in: query
- name: mac_address__ic
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: MAC address
- explode: true
- in: query
- name: mac_address__ie
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: MAC address ends with
- explode: true
- in: query
- name: mac_address__iew
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: MAC address matches regex
- explode: true
- in: query
- name: mac_address__ire
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: MAC address starts with
- explode: true
- in: query
- name: mac_address__isw
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Exclude MAC address
- explode: true
- in: query
- name: mac_address__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Exclude MAC address contains
- explode: true
- in: query
- name: mac_address__nic
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Exclude MAC address
- explode: true
- in: query
- name: mac_address__nie
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Exclude MAC address ends with
- explode: true
- in: query
- name: mac_address__niew
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Exclude MAC address matches regex
- explode: true
- in: query
- name: mac_address__nire
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Exclude MAC address starts with
- explode: true
- in: query
- name: mac_address__nisw
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Exclude MAC address matches regex
- explode: true
- in: query
- name: mac_address__nre
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: MAC address matches regex
- explode: true
- in: query
- name: mac_address__re
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- explode: true
in: query
- name: mode
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: mode__ic
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: mode__ie
+ name: mcs_index
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: mode__iew
+ name: mcs_index__gt
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: mode__ire
+ name: mcs_index__gte
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: mode__isw
+ name: mcs_index__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: mode__n
+ name: mcs_index__lt
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: mode__nic
+ name: mcs_index__lte
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- explode: true
in: query
- name: mode__nie
+ name: mcs_index__n
required: false
schema:
items:
- type: string
+ type: integer
type: array
style: form
- - explode: true
+ - description: The initial index from which to return the results.
+ explode: true
in: query
- name: mode__niew
+ name: offset
required: false
schema:
- items:
- type: string
- type: array
+ type: integer
style: form
- - explode: true
+ - description: Search
+ explode: true
in: query
- name: mode__nire
+ name: q
required: false
schema:
- items:
- type: string
- type: array
+ type: string
style: form
- explode: true
in: query
- name: mode__nisw
+ name: radio_profiles
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Radio Profile (name or ID) is null
+ explode: true
in: query
- name: mode__nre
+ name: radio_profiles__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: mode__re
+ name: radio_profiles__n
required: false
schema:
items:
@@ -149383,7 +146112,7 @@ paths:
style: form
- explode: true
in: query
- name: mtu
+ name: rate
required: false
schema:
items:
@@ -149392,7 +146121,7 @@ paths:
style: form
- explode: true
in: query
- name: mtu__gt
+ name: rate__gt
required: false
schema:
items:
@@ -149401,7 +146130,7 @@ paths:
style: form
- explode: true
in: query
- name: mtu__gte
+ name: rate__gte
required: false
schema:
items:
@@ -149410,14 +146139,7 @@ paths:
style: form
- explode: true
in: query
- name: mtu__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: mtu__lt
+ name: rate__lt
required: false
schema:
items:
@@ -149426,7 +146148,7 @@ paths:
style: form
- explode: true
in: query
- name: mtu__lte
+ name: rate__lte
required: false
schema:
items:
@@ -149435,70 +146157,24 @@ paths:
style: form
- explode: true
in: query
- name: mtu__n
+ name: rate__n
required: false
schema:
items:
type: integer
type: array
style: form
- - explode: true
- in: query
- name: name
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__ic
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__ie
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__iew
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: name__ire
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
+ - description: Which field to use when ordering the results.
+ explode: true
in: query
- name: name__isw
+ name: sort
required: false
schema:
- items:
- type: string
- type: array
+ type: string
style: form
- explode: true
in: query
- name: name__n
+ name: standard
required: false
schema:
items:
@@ -149507,7 +146183,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nic
+ name: standard__ic
required: false
schema:
items:
@@ -149516,7 +146192,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nie
+ name: standard__ie
required: false
schema:
items:
@@ -149525,7 +146201,7 @@ paths:
style: form
- explode: true
in: query
- name: name__niew
+ name: standard__iew
required: false
schema:
items:
@@ -149534,7 +146210,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nire
+ name: standard__ire
required: false
schema:
items:
@@ -149543,7 +146219,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nisw
+ name: standard__isw
required: false
schema:
items:
@@ -149552,7 +146228,7 @@ paths:
style: form
- explode: true
in: query
- name: name__nre
+ name: standard__n
required: false
schema:
items:
@@ -149561,110 +146237,52 @@ paths:
style: form
- explode: true
in: query
- name: name__re
+ name: standard__nic
required: false
schema:
items:
type: string
type: array
style: form
- - description: The initial index from which to return the results.
- explode: true
- in: query
- name: offset
- required: false
- schema:
- type: integer
- style: form
- explode: true
in: query
- name: parent_interface
+ name: standard__nie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Parent interface (name or ID) is null
- explode: true
- in: query
- name: parent_interface__isnull
- required: false
- schema:
- type: boolean
- style: form
- explode: true
in: query
- name: parent_interface__n
+ name: standard__niew
required: false
schema:
items:
type: string
type: array
style: form
- - description: Search
- explode: true
- in: query
- name: q
- required: false
- schema:
- type: string
- style: form
- explode: true
in: query
- name: role
+ name: standard__nire
required: false
schema:
items:
type: string
type: array
style: form
- - description: Role (name or ID) is null
- explode: true
- in: query
- name: role__isnull
- required: false
- schema:
- type: boolean
- style: form
- - description: Exclude Role (name or ID)
- explode: true
- in: query
- name: role__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- - description: Which field to use when ordering the results.
- explode: true
- in: query
- name: sort
- required: false
- schema:
- type: string
- style: form
- explode: true
in: query
- name: status
+ name: standard__nisw
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Status (name or ID)
- explode: true
- in: query
- name: status__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
- name: tagged_vlans
+ name: standard__nre
required: false
schema:
items:
@@ -149673,7 +146291,7 @@ paths:
style: form
- explode: true
in: query
- name: tagged_vlans__n
+ name: standard__re
required: false
schema:
items:
@@ -149722,79 +146340,12 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
- in: query
- name: teams__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- - explode: true
- in: query
- name: untagged_vlan
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Untagged VLAN (VID or ID) is null
- explode: true
- in: query
- name: untagged_vlan__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: untagged_vlan__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: virtual_machine
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- explode: true
in: query
- name: virtual_machine__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Virtual machine (ID) - Deprecated (use virtual_machine filter)
- explode: true
- in: query
- name: virtual_machine_id
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude Virtual machine (ID) - Deprecated (use virtual_machine
- filter)
- explode: true
- in: query
- name: virtual_machine_id__n
+ name: teams__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
@@ -149809,43 +146360,52 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedVMInterfaceList'
+ $ref: "#/components/schemas/PaginatedSupportedDataRateList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedVMInterfaceList'
+ $ref: "#/components/schemas/PaginatedSupportedDataRateList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
+ - wireless
patch:
- description: Partial update a list of VM interface objects.
- operationId: virtualization_interfaces_bulk_partial_update
+ description: Partial update a list of supported data rate objects.
+ operationId: wireless_supported_data_rates_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableVMInterfaceRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableSupportedDataRateRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableVMInterfaceRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableSupportedDataRateRequest"
type: array
required: true
responses:
@@ -149854,76 +146414,76 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/VMInterface'
+ $ref: "#/components/schemas/SupportedDataRate"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/VMInterface'
+ $ref: "#/components/schemas/SupportedDataRate"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
+ - wireless
post:
- description: Create one or more VM interface objects.
- operationId: virtualization_interfaces_create
+ description: Create one or more supported data rate objects.
+ operationId: wireless_supported_data_rates_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableVMInterfaceRequest'
+ $ref: "#/components/schemas/SupportedDataRateRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableVMInterfaceRequest'
+ $ref: "#/components/schemas/SupportedDataRateRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/VMInterface'
+ $ref: "#/components/schemas/SupportedDataRate"
text/csv:
schema:
- $ref: '#/components/schemas/VMInterface'
+ $ref: "#/components/schemas/SupportedDataRate"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
+ - wireless
put:
- description: Update a list of VM interface objects.
- operationId: virtualization_interfaces_bulk_update
+ description: Update a list of supported data rate objects.
+ operationId: wireless_supported_data_rates_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableVMInterfaceRequest'
+ $ref: "#/components/schemas/BulkWritableSupportedDataRateRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableVMInterfaceRequest'
+ $ref: "#/components/schemas/BulkWritableSupportedDataRateRequest"
type: array
required: true
responses:
@@ -149932,32 +146492,32 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/VMInterface'
+ $ref: "#/components/schemas/SupportedDataRate"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/VMInterface'
+ $ref: "#/components/schemas/SupportedDataRate"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
- /virtualization/interfaces/{id}/:
+ - wireless
+ /wireless/supported-data-rates/{id}/:
delete:
- description: Destroy a VM interface object.
- operationId: virtualization_interfaces_destroy
+ description: Destroy a supported data rate object.
+ operationId: wireless_supported_data_rates_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this VM interface.
+ - description: A UUID string identifying this supported data rate.
explode: false
in: path
name: id
@@ -149973,19 +146533,19 @@ paths:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
+ - wireless
get:
- description: Retrieve a VM interface object.
- operationId: virtualization_interfaces_retrieve
+ description: Retrieve a supported data rate object.
+ operationId: wireless_supported_data_rates_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this VM interface.
+ - description: A UUID string identifying this supported data rate.
explode: false
in: path
name: id
@@ -150005,33 +146565,42 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/VMInterface'
+ $ref: "#/components/schemas/SupportedDataRate"
text/csv:
schema:
- $ref: '#/components/schemas/VMInterface'
+ $ref: "#/components/schemas/SupportedDataRate"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
+ - wireless
patch:
- description: Partial update a VM interface object.
- operationId: virtualization_interfaces_partial_update
+ description: Partial update a supported data rate object.
+ operationId: wireless_supported_data_rates_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this VM interface.
+ - description: A UUID string identifying this supported data rate.
explode: false
in: path
name: id
@@ -150044,37 +146613,37 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedWritableVMInterfaceRequest'
+ $ref: "#/components/schemas/PatchedSupportedDataRateRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedWritableVMInterfaceRequest'
+ $ref: "#/components/schemas/PatchedSupportedDataRateRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/VMInterface'
+ $ref: "#/components/schemas/SupportedDataRate"
text/csv:
schema:
- $ref: '#/components/schemas/VMInterface'
+ $ref: "#/components/schemas/SupportedDataRate"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
+ - wireless
put:
- description: Update a VM interface object.
- operationId: virtualization_interfaces_update
+ description: Update a supported data rate object.
+ operationId: wireless_supported_data_rates_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this VM interface.
+ - description: A UUID string identifying this supported data rate.
explode: false
in: path
name: id
@@ -150087,39 +146656,39 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/WritableVMInterfaceRequest'
+ $ref: "#/components/schemas/SupportedDataRateRequest"
text/csv:
schema:
- $ref: '#/components/schemas/WritableVMInterfaceRequest'
+ $ref: "#/components/schemas/SupportedDataRateRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/VMInterface'
+ $ref: "#/components/schemas/SupportedDataRate"
text/csv:
schema:
- $ref: '#/components/schemas/VMInterface'
+ $ref: "#/components/schemas/SupportedDataRate"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
- /virtualization/interfaces/{id}/notes/:
+ - wireless
+ /wireless/supported-data-rates/{id}/notes/:
get:
description: API methods for returning or creating notes on an object.
- operationId: virtualization_interfaces_notes_list
+ operationId: wireless_supported_data_rates_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this VM interface.
+ - description: A UUID string identifying this supported data rate.
explode: false
in: path
name: id
@@ -150155,33 +146724,42 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
+ - wireless
post:
description: API methods for returning or creating notes on an object.
- operationId: virtualization_interfaces_notes_create
+ operationId: wireless_supported_data_rates_notes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this VM interface.
+ - description: A UUID string identifying this supported data rate.
explode: false
in: path
name: id
@@ -150194,49 +146772,49 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
- /virtualization/virtual-machines/:
+ - wireless
+ /wireless/wireless-networks/:
delete:
- description: Destroy a list of virtual machine objects.
- operationId: virtualization_virtual_machines_bulk_destroy
+ description: Destroy a list of wireless network objects.
+ operationId: wireless_wireless_networks_bulk_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkOperationRequest'
+ $ref: "#/components/schemas/BulkOperationRequest"
type: array
required: true
responses:
@@ -150246,14 +146824,14 @@ paths:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
+ - wireless
get:
- description: Retrieve a list of virtual machine objects.
- operationId: virtualization_virtual_machines_list
+ description: Retrieve a list of wireless network objects.
+ operationId: wireless_wireless_networks_list
parameters:
- explode: true
in: query
- name: cluster
+ name: authentication
required: false
schema:
items:
@@ -150262,7 +146840,7 @@ paths:
style: form
- explode: true
in: query
- name: cluster__n
+ name: authentication__ic
required: false
schema:
items:
@@ -150271,126 +146849,34 @@ paths:
style: form
- explode: true
in: query
- name: cluster_group
+ name: authentication__ie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Cluster group (ID or name) is null
- explode: true
- in: query
- name: cluster_group__isnull
- required: false
- schema:
- type: boolean
- style: form
- explode: true
in: query
- name: cluster_group__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Cluster group (ID) - Deprecated (use cluster_group filter)
- explode: true
- in: query
- name: cluster_group_id
+ name: authentication__iew
required: false
schema:
items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Cluster group (ID) - Deprecated (use cluster_group filter) is
- null
- explode: true
- in: query
- name: cluster_group_id__isnull
- required: false
- schema:
- type: boolean
- style: form
- - description: Exclude Cluster group (ID) - Deprecated (use cluster_group filter)
- explode: true
- in: query
- name: cluster_group_id__n
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Cluster (ID) - Deprecated (use cluster filter)
- explode: true
- in: query
- name: cluster_id
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude Cluster (ID) - Deprecated (use cluster filter)
- explode: true
- in: query
- name: cluster_id__n
- required: false
- schema:
- items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: cluster_type
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - explode: true
- in: query
- name: cluster_type__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Cluster type (ID) - Deprecated (use cluster_type filter)
- explode: true
- in: query
- name: cluster_type_id
- required: false
- schema:
- items:
- format: uuid
- type: string
- type: array
- style: form
- - description: Exclude Cluster type (ID) - Deprecated (use cluster_type filter)
- explode: true
- in: query
- name: cluster_type_id__n
+ name: authentication__ire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: comments
+ name: authentication__isw
required: false
schema:
items:
@@ -150399,7 +146885,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__ic
+ name: authentication__n
required: false
schema:
items:
@@ -150408,7 +146894,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__ie
+ name: authentication__nic
required: false
schema:
items:
@@ -150417,7 +146903,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__iew
+ name: authentication__nie
required: false
schema:
items:
@@ -150426,7 +146912,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__ire
+ name: authentication__niew
required: false
schema:
items:
@@ -150435,7 +146921,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__isw
+ name: authentication__nire
required: false
schema:
items:
@@ -150444,7 +146930,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__n
+ name: authentication__nisw
required: false
schema:
items:
@@ -150453,7 +146939,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__nic
+ name: authentication__nre
required: false
schema:
items:
@@ -150462,7 +146948,7 @@ paths:
style: form
- explode: true
in: query
- name: comments__nie
+ name: authentication__re
required: false
schema:
items:
@@ -150471,25 +146957,24 @@ paths:
style: form
- explode: true
in: query
- name: comments__niew
+ name: contacts
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Contacts (name or ID) is null
+ explode: true
in: query
- name: comments__nire
+ name: contacts__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: comments__nisw
+ name: contacts__n
required: false
schema:
items:
@@ -150498,48 +146983,30 @@ paths:
style: form
- explode: true
in: query
- name: comments__nre
+ name: controller_managed_device_groups
required: false
schema:
items:
type: string
type: array
style: form
- - explode: true
+ - description: Controller Managed Device Groups (name or ID) is null
+ explode: true
in: query
- name: comments__re
+ name: controller_managed_device_groups__isnull
required: false
schema:
- items:
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: contacts
+ name: controller_managed_device_groups__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: Contacts (name or ID) is null
- explode: true
- in: query
- name: contacts__isnull
- required: false
- schema:
- type: boolean
- style: form
- - description: Exclude Contacts (name or ID)
- explode: true
- in: query
- name: contacts__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
name: created
@@ -150609,295 +147076,196 @@ paths:
style: form
- explode: true
in: query
- name: disk
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: disk__gt
+ name: description
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: disk__gte
+ name: description__ic
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: disk__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: disk__lt
+ name: description__ie
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: disk__lte
+ name: description__iew
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: disk__n
+ name: description__ire
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: dynamic_groups
+ name: description__isw
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Dynamic groups (name or ID)
- explode: true
- in: query
- name: dynamic_groups__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
- name: format
- required: false
- schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
- style: form
- - description: Has interfaces
- explode: true
- in: query
- name: has_interfaces
- required: false
- schema:
- type: boolean
- style: form
- - description: Has a primary IP
- explode: true
- in: query
- name: has_primary_ip
- required: false
- schema:
- type: boolean
- style: form
- - description: Has services
- explode: true
- in: query
- name: has_services
- required: false
- schema:
- type: boolean
- style: form
- - description: Has software image files
- explode: true
- in: query
- name: has_software_image_files
- required: false
- schema:
- type: boolean
- style: form
- - description: Has software version
- explode: true
- in: query
- name: has_software_version
- required: false
- schema:
- type: boolean
- style: form
- - description: "Unique object identifier, either a UUID primary key or a composite\
- \ key."
- explode: true
- in: query
- name: id
+ name: description__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ic
+ name: description__nic
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ie
+ name: description__nie
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__iew
+ name: description__niew
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__ire
+ name: description__nire
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__isw
+ name: description__nisw
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__n
+ name: description__nre
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nic
+ name: description__re
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nie
+ name: dynamic_groups
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__niew
+ name: dynamic_groups__n
required: false
schema:
items:
- format: uuid
type: string
type: array
style: form
- explode: true
in: query
- name: id__nire
+ name: enabled
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: id__nisw
+ name: format
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - explode: true
+ - description: Has controller managed device groups
+ explode: true
in: query
- name: id__nre
+ name: has_controller_managed_device_groups
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- explode: true
in: query
- name: id__re
+ name: hidden
required: false
schema:
- items:
- format: uuid
- type: string
- type: array
+ type: boolean
style: form
- - explode: true
+ - description: "Unique object identifier, either a UUID primary key or a composite\
+ \ key."
+ explode: true
in: query
- name: interfaces
+ name: id
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
- - description: Interfaces (name or ID) is null
- explode: true
- in: query
- name: interfaces__isnull
- required: false
- schema:
- type: boolean
- style: form
- explode: true
in: query
- name: interfaces__n
+ name: id__n
required: false
schema:
items:
+ format: uuid
type: string
type: array
style: form
@@ -150976,233 +147344,72 @@ paths:
schema:
type: integer
style: form
- - description: Has local config context data
- explode: true
- in: query
- name: local_config_context_data
- required: false
- schema:
- type: boolean
- style: form
- explode: true
in: query
- name: local_config_context_schema
+ name: mode
required: false
schema:
items:
type: string
type: array
style: form
- - description: Schema (ID or name) is null
- explode: true
- in: query
- name: local_config_context_schema__isnull
- required: false
- schema:
- type: boolean
- style: form
- explode: true
in: query
- name: local_config_context_schema__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Schema (ID) - Deprecated (use local_context_schema filter)
- explode: true
- in: query
- name: local_config_context_schema_id
- required: false
- schema:
- items:
- format: uuid
- nullable: true
- type: string
- type: array
- style: form
- - description: Schema (ID) - Deprecated (use local_context_schema filter) is
- null
- explode: true
- in: query
- name: local_config_context_schema_id__isnull
- required: false
- schema:
- type: boolean
- style: form
- - description: Exclude Schema (ID) - Deprecated (use local_context_schema filter)
- explode: true
- in: query
- name: local_config_context_schema_id__n
+ name: mode__ic
required: false
schema:
items:
- format: uuid
- nullable: true
type: string
type: array
style: form
- explode: true
in: query
- name: location
+ name: mode__ie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Location (name or ID) is null
- explode: true
- in: query
- name: location__isnull
- required: false
- schema:
- type: boolean
- style: form
- explode: true
in: query
- name: location__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: MAC address
- explode: true
- in: query
- name: mac_address
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: MAC address contains
- explode: true
- in: query
- name: mac_address__ic
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: MAC address
- explode: true
- in: query
- name: mac_address__ie
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: MAC address ends with
- explode: true
- in: query
- name: mac_address__iew
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: MAC address matches regex
- explode: true
- in: query
- name: mac_address__ire
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: MAC address starts with
- explode: true
- in: query
- name: mac_address__isw
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Exclude MAC address
- explode: true
- in: query
- name: mac_address__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Exclude MAC address contains
- explode: true
- in: query
- name: mac_address__nic
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Exclude MAC address
- explode: true
- in: query
- name: mac_address__nie
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Exclude MAC address ends with
- explode: true
- in: query
- name: mac_address__niew
+ name: mode__iew
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude MAC address matches regex
- explode: true
+ - explode: true
in: query
- name: mac_address__nire
+ name: mode__ire
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude MAC address starts with
- explode: true
+ - explode: true
in: query
- name: mac_address__nisw
+ name: mode__isw
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude MAC address matches regex
- explode: true
+ - explode: true
in: query
- name: mac_address__nre
+ name: mode__n
required: false
schema:
items:
type: string
type: array
style: form
- - description: MAC address matches regex
- explode: true
+ - explode: true
in: query
- name: mac_address__re
+ name: mode__nic
required: false
schema:
items:
@@ -151211,63 +147418,56 @@ paths:
style: form
- explode: true
in: query
- name: memory
+ name: mode__nie
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: memory__gt
+ name: mode__niew
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: memory__gte
+ name: mode__nire
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: memory__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: memory__lt
+ name: mode__nisw
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: memory__lte
+ name: mode__nre
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
in: query
- name: memory__n
+ name: mode__re
required: false
schema:
items:
- type: integer
+ type: string
type: array
style: form
- explode: true
@@ -151404,138 +147604,96 @@ paths:
schema:
type: integer
style: form
+ - description: Search
+ explode: true
+ in: query
+ name: q
+ required: false
+ schema:
+ type: string
+ style: form
- explode: true
in: query
- name: platform
+ name: secrets_group
required: false
schema:
items:
type: string
type: array
style: form
- - description: Platform (ID or name) is null
+ - description: Secrets group (name or ID) is null
explode: true
in: query
- name: platform__isnull
+ name: secrets_group__isnull
required: false
schema:
type: boolean
style: form
- explode: true
in: query
- name: platform__n
- required: false
- schema:
- items:
- type: string
- type: array
- style: form
- - description: Platform (ID) - Deprecated (use platform filter)
- explode: true
- in: query
- name: platform_id
+ name: secrets_group__n
required: false
schema:
items:
- format: uuid
- nullable: true
type: string
type: array
style: form
- - description: Platform (ID) - Deprecated (use platform filter) is null
+ - description: Which field to use when ordering the results.
explode: true
in: query
- name: platform_id__isnull
+ name: sort
required: false
schema:
- type: boolean
+ type: string
style: form
- - description: Exclude Platform (ID) - Deprecated (use platform filter)
- explode: true
+ - explode: true
in: query
- name: platform_id__n
+ name: ssid
required: false
schema:
items:
- format: uuid
- nullable: true
type: string
type: array
style: form
- - description: Primary IPv4 Address (address or ID)
- explode: true
+ - explode: true
in: query
- name: primary_ip4
+ name: ssid__ic
required: false
schema:
items:
type: string
type: array
style: form
- - description: Primary IPv6 Address (address or ID)
- explode: true
+ - explode: true
in: query
- name: primary_ip6
+ name: ssid__ie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Search
- explode: true
- in: query
- name: q
- required: false
- schema:
- type: string
- style: form
- explode: true
in: query
- name: role
+ name: ssid__iew
required: false
schema:
items:
type: string
type: array
style: form
- - description: Role (name or ID) is null
- explode: true
- in: query
- name: role__isnull
- required: false
- schema:
- type: boolean
- style: form
- - description: Exclude Role (name or ID)
- explode: true
- in: query
- name: role__n
- required: false
- schema:
- format: uuid
- type: string
- style: form
- explode: true
in: query
- name: services
+ name: ssid__ire
required: false
schema:
items:
type: string
type: array
style: form
- - description: Services (name or ID) is null
- explode: true
- in: query
- name: services__isnull
- required: false
- schema:
- type: boolean
- style: form
- explode: true
in: query
- name: services__n
+ name: ssid__isw
required: false
schema:
items:
@@ -151544,7 +147702,7 @@ paths:
style: form
- explode: true
in: query
- name: software_image_files
+ name: ssid__n
required: false
schema:
items:
@@ -151553,7 +147711,7 @@ paths:
style: form
- explode: true
in: query
- name: software_image_files__n
+ name: ssid__nic
required: false
schema:
items:
@@ -151562,55 +147720,57 @@ paths:
style: form
- explode: true
in: query
- name: software_version
+ name: ssid__nie
required: false
schema:
items:
type: string
type: array
style: form
- - description: Software version (version or ID) is null
- explode: true
+ - explode: true
in: query
- name: software_version__isnull
+ name: ssid__niew
required: false
schema:
- type: boolean
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: software_version__n
+ name: ssid__nire
required: false
schema:
items:
type: string
type: array
style: form
- - description: Which field to use when ordering the results.
- explode: true
+ - explode: true
in: query
- name: sort
+ name: ssid__nisw
required: false
schema:
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
- name: status
+ name: ssid__nre
required: false
schema:
items:
type: string
type: array
style: form
- - description: Exclude Status (name or ID)
- explode: true
+ - explode: true
in: query
- name: status__n
+ name: ssid__re
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -151654,14 +147814,14 @@ paths:
schema:
type: boolean
style: form
- - description: Exclude Teams (name or ID)
- explode: true
+ - explode: true
in: query
name: teams__n
required: false
schema:
- format: uuid
- type: string
+ items:
+ type: string
+ type: array
style: form
- explode: true
in: query
@@ -151747,67 +147907,6 @@ paths:
type: string
type: array
style: form
- - explode: true
- in: query
- name: vcpus
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: vcpus__gt
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: vcpus__gte
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: vcpus__isnull
- required: false
- schema:
- type: boolean
- style: form
- - explode: true
- in: query
- name: vcpus__lt
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: vcpus__lte
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- - explode: true
- in: query
- name: vcpus__n
- required: false
- schema:
- items:
- type: integer
- type: array
- style: form
- description: Serializer Depth
explode: true
in: query
@@ -151819,43 +147918,52 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedVirtualMachineList'
+ $ref: "#/components/schemas/PaginatedWirelessNetworkList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedVirtualMachineList'
+ $ref: "#/components/schemas/PaginatedWirelessNetworkList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
+ - wireless
patch:
- description: Partial update a list of virtual machine objects.
- operationId: virtualization_virtual_machines_bulk_partial_update
+ description: Partial update a list of wireless network objects.
+ operationId: wireless_wireless_networks_bulk_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableVirtualMachineRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableWirelessNetworkRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/PatchedBulkWritableVirtualMachineRequest'
+ $ref: "#/components/schemas/PatchedBulkWritableWirelessNetworkRequest"
type: array
required: true
responses:
@@ -151864,76 +147972,76 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/VirtualMachine'
+ $ref: "#/components/schemas/WirelessNetwork"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/VirtualMachine'
+ $ref: "#/components/schemas/WirelessNetwork"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
+ - wireless
post:
- description: Create one or more virtual machine objects.
- operationId: virtualization_virtual_machines_create
+ description: Create one or more wireless network objects.
+ operationId: wireless_wireless_networks_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
- $ref: '#/components/schemas/VirtualMachineRequest'
+ $ref: "#/components/schemas/WirelessNetworkRequest"
text/csv:
schema:
- $ref: '#/components/schemas/VirtualMachineRequest'
+ $ref: "#/components/schemas/WirelessNetworkRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/VirtualMachine'
+ $ref: "#/components/schemas/WirelessNetwork"
text/csv:
schema:
- $ref: '#/components/schemas/VirtualMachine'
+ $ref: "#/components/schemas/WirelessNetwork"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
+ - wireless
put:
- description: Update a list of virtual machine objects.
- operationId: virtualization_virtual_machines_bulk_update
+ description: Update a list of wireless network objects.
+ operationId: wireless_wireless_networks_bulk_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
requestBody:
content:
application/json:
schema:
items:
- $ref: '#/components/schemas/BulkWritableVirtualMachineRequest'
+ $ref: "#/components/schemas/BulkWritableWirelessNetworkRequest"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/BulkWritableVirtualMachineRequest'
+ $ref: "#/components/schemas/BulkWritableWirelessNetworkRequest"
type: array
required: true
responses:
@@ -151942,32 +148050,32 @@ paths:
application/json:
schema:
items:
- $ref: '#/components/schemas/VirtualMachine'
+ $ref: "#/components/schemas/WirelessNetwork"
type: array
text/csv:
schema:
items:
- $ref: '#/components/schemas/VirtualMachine'
+ $ref: "#/components/schemas/WirelessNetwork"
type: array
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
- /virtualization/virtual-machines/{id}/:
+ - wireless
+ /wireless/wireless-networks/{id}/:
delete:
- description: Destroy a virtual machine object.
- operationId: virtualization_virtual_machines_destroy
+ description: Destroy a wireless network object.
+ operationId: wireless_wireless_networks_destroy
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this virtual machine.
+ - description: A UUID string identifying this wireless network.
explode: false
in: path
name: id
@@ -151983,19 +148091,19 @@ paths:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
+ - wireless
get:
- description: Retrieve a virtual machine object.
- operationId: virtualization_virtual_machines_retrieve
+ description: Retrieve a wireless network object.
+ operationId: wireless_wireless_networks_retrieve
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this virtual machine.
+ - description: A UUID string identifying this wireless network.
explode: false
in: path
name: id
@@ -152015,33 +148123,42 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/VirtualMachine'
+ $ref: "#/components/schemas/WirelessNetwork"
text/csv:
schema:
- $ref: '#/components/schemas/VirtualMachine'
+ $ref: "#/components/schemas/WirelessNetwork"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
+ - wireless
patch:
- description: Partial update a virtual machine object.
- operationId: virtualization_virtual_machines_partial_update
+ description: Partial update a wireless network object.
+ operationId: wireless_wireless_networks_partial_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this virtual machine.
+ - description: A UUID string identifying this wireless network.
explode: false
in: path
name: id
@@ -152054,37 +148171,37 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/PatchedVirtualMachineRequest'
+ $ref: "#/components/schemas/PatchedWirelessNetworkRequest"
text/csv:
schema:
- $ref: '#/components/schemas/PatchedVirtualMachineRequest'
+ $ref: "#/components/schemas/PatchedWirelessNetworkRequest"
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/VirtualMachine'
+ $ref: "#/components/schemas/WirelessNetwork"
text/csv:
schema:
- $ref: '#/components/schemas/VirtualMachine'
+ $ref: "#/components/schemas/WirelessNetwork"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
+ - wireless
put:
- description: Update a virtual machine object.
- operationId: virtualization_virtual_machines_update
+ description: Update a wireless network object.
+ operationId: wireless_wireless_networks_update
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this virtual machine.
+ - description: A UUID string identifying this wireless network.
explode: false
in: path
name: id
@@ -152097,39 +148214,39 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/VirtualMachineRequest'
+ $ref: "#/components/schemas/WirelessNetworkRequest"
text/csv:
schema:
- $ref: '#/components/schemas/VirtualMachineRequest'
+ $ref: "#/components/schemas/WirelessNetworkRequest"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/VirtualMachine'
+ $ref: "#/components/schemas/WirelessNetwork"
text/csv:
schema:
- $ref: '#/components/schemas/VirtualMachine'
+ $ref: "#/components/schemas/WirelessNetwork"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
- /virtualization/virtual-machines/{id}/notes/:
+ - wireless
+ /wireless/wireless-networks/{id}/notes/:
get:
description: API methods for returning or creating notes on an object.
- operationId: virtualization_virtual_machines_notes_list
+ operationId: wireless_wireless_networks_notes_list
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this virtual machine.
+ - description: A UUID string identifying this wireless network.
explode: false
in: path
name: id
@@ -152165,33 +148282,42 @@ paths:
minimum: 0
type: integer
style: form
+ - description: Exclude many-to-many fields from the response
+ explode: true
+ in: query
+ name: exclude_m2m
+ required: false
+ schema:
+ default: false
+ type: boolean
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
text/csv:
schema:
- $ref: '#/components/schemas/PaginatedNoteList'
+ $ref: "#/components/schemas/PaginatedNoteList"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
+ - wireless
post:
description: API methods for returning or creating notes on an object.
- operationId: virtualization_virtual_machines_notes_create
+ operationId: wireless_wireless_networks_notes_create
parameters:
- explode: true
in: query
name: format
required: false
schema:
- $ref: '#/components/schemas/circuits_circuit_terminations_list_format_parameter'
+ $ref: "#/components/schemas/circuits_circuit_terminations_list_format_parameter"
style: form
- - description: A UUID string identifying this virtual machine.
+ - description: A UUID string identifying this wireless network.
explode: false
in: path
name: id
@@ -152204,26 +148330,26 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
text/csv:
schema:
- $ref: '#/components/schemas/NoteInputRequest'
+ $ref: "#/components/schemas/NoteInputRequest"
required: true
responses:
"201":
content:
application/json:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
text/csv:
schema:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
description: ""
security:
- cookieAuth: []
- tokenAuth: []
tags:
- - virtualization
+ - wireless
components:
schemas:
AccessTypeEnum:
@@ -152238,6 +148364,17 @@ components:
- SNMP
- SSH
type: string
+ AuthenticationEnum:
+ enum:
+ - Open
+ - WPA2 Personal
+ - WPA2 Enterprise
+ - Enhanced Open
+ - WPA3 Personal
+ - WPA3 SAE
+ - WPA3 Enterprise
+ - WPA3 Enterprise 192Bit
+ type: string
AvailableIP:
description: |-
Representation of an IP address which does not exist in the database.
@@ -152280,6 +148417,12 @@ components:
enum:
- ""
type: string
+ BreakerPoleCountEnum:
+ enum:
+ - 1
+ - 2
+ - 3
+ type: integer
BulkOperationIntegerIDRequest:
description: "As BulkOperationSerializer, but for models such as users.Group\
\ that have an integer ID field."
@@ -152377,9 +148520,9 @@ components:
termination_b_type:
type: string
length_unit:
- $ref: '#/components/schemas/LengthUnitEnum'
+ $ref: "#/components/schemas/LengthUnitEnum"
type:
- $ref: '#/components/schemas/CableTypeChoices'
+ $ref: "#/components/schemas/CableTypeChoices"
termination_a_id:
format: uuid
type: string
@@ -152400,17 +148543,17 @@ components:
nullable: true
type: integer
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -152519,23 +148662,23 @@ components:
comments:
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
provider:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
circuit_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- cid
@@ -152567,6 +148710,13 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
xconnect_id: xconnect_id
relationships:
key:
@@ -152617,7 +148767,7 @@ components:
type: string
term_side:
allOf:
- - $ref: '#/components/schemas/TermSideEnum'
+ - $ref: "#/components/schemas/TermSideEnum"
title: Termination
port_speed:
maximum: 2147483647
@@ -152644,19 +148794,23 @@ components:
maxLength: 255
type: string
circuit:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
location:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
provider_network:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
cloud_network:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- circuit
@@ -152726,7 +148880,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -152813,19 +148967,19 @@ components:
minLength: 1
type: string
provider:
- $ref: '#/components/schemas/BulkWritableCloudAccountRequest_provider'
+ $ref: "#/components/schemas/BulkWritableCloudAccountRequest_provider"
secrets_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- account_number
@@ -152852,9 +149006,9 @@ components:
format: uuid
type: string
cloud_network:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
prefix:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- cloud_network
- id
@@ -152941,21 +149095,21 @@ components:
maxLength: 255
type: string
cloud_resource_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
cloud_account:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- cloud_account
@@ -153044,17 +149198,17 @@ components:
config_schema:
nullable: true
provider:
- $ref: '#/components/schemas/BulkWritableCloudAccountRequest_provider'
+ $ref: "#/components/schemas/BulkWritableCloudAccountRequest_provider"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- content_types
@@ -153081,9 +149235,9 @@ components:
format: uuid
type: string
cloud_network:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
cloud_service:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- cloud_network
- cloud_service
@@ -153166,19 +149320,19 @@ components:
maxLength: 255
type: string
cloud_resource_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
cloud_account:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- cloud_resource_type
@@ -153248,7 +149402,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -153335,23 +149489,23 @@ components:
comments:
type: string
cluster_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
cluster_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
location:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- cluster_type
@@ -153421,7 +149575,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -153604,46 +149758,46 @@ components:
type: boolean
data: {}
config_context_schema:
- $ref: '#/components/schemas/BulkWritableConfigContextRequest_config_context_schema'
+ $ref: "#/components/schemas/BulkWritableConfigContextRequest_config_context_schema"
locations:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
roles:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
device_types:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
device_redundancy_groups:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
platforms:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
cluster_groups:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
clusters:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
tenant_groups:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
tenants:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- data
@@ -153726,7 +149880,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- data_schema
@@ -153802,7 +149956,7 @@ components:
format: uuid
type: string
type:
- $ref: '#/components/schemas/ConsolePortTypeChoices'
+ $ref: "#/components/schemas/ConsolePortTypeChoices"
name:
maxLength: 255
minLength: 1
@@ -153815,19 +149969,19 @@ components:
maxLength: 255
type: string
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -153895,7 +150049,7 @@ components:
format: uuid
type: string
type:
- $ref: '#/components/schemas/ConsolePortTypeChoices'
+ $ref: "#/components/schemas/ConsolePortTypeChoices"
name:
maxLength: 255
minLength: 1
@@ -153908,15 +150062,15 @@ components:
maxLength: 255
type: string
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -153991,7 +150145,7 @@ components:
format: uuid
type: string
type:
- $ref: '#/components/schemas/ConsolePortTypeChoices'
+ $ref: "#/components/schemas/ConsolePortTypeChoices"
name:
maxLength: 255
minLength: 1
@@ -154004,19 +150158,19 @@ components:
maxLength: 255
type: string
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -154084,7 +150238,7 @@ components:
format: uuid
type: string
type:
- $ref: '#/components/schemas/ConsolePortTypeChoices'
+ $ref: "#/components/schemas/ConsolePortTypeChoices"
name:
maxLength: 255
minLength: 1
@@ -154097,15 +150251,15 @@ components:
maxLength: 255
type: string
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -154184,19 +150338,19 @@ components:
format: uuid
type: string
contact:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
team:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
role:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- associated_object_id
@@ -154262,14 +150416,17 @@ components:
name: name
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
email: ""
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
properties:
id:
format: uuid
type: string
- teams:
- items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
- type: array
name:
maxLength: 255
minLength: 1
@@ -154280,7 +150437,6 @@ components:
type: string
email:
default: ""
- format: email
maxLength: 254
title: E-mail
type: string
@@ -154293,12 +150449,47 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ teams:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
required:
- id
- name
type: object
+ BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest:
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ example:
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ radio_profile:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ controller_managed_device_group:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ controller_managed_device_group:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ radio_profile:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ required:
+ - controller_managed_device_group
+ - id
+ - radio_profile
+ type: object
BulkWritableControllerManagedDeviceGroupRequest:
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
@@ -154349,11 +150540,19 @@ components:
object_type: app_label.modelname
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
url: https://openapi-generator.tech
+ capabilities:
+ - wireless
+ - wireless
custom_fields:
key: ""
name: name
+ description: description
weight: 171976544
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ tenant:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
tags:
- object_type: app_label.modelname
id: null
@@ -154365,11 +150564,19 @@ components:
id:
format: uuid
type: string
+ capabilities:
+ items:
+ $ref: "#/components/schemas/CapabilitiesEnum"
+ nullable: true
+ type: array
name:
description: Name of the controller device group
maxLength: 255
minLength: 1
type: string
+ description:
+ maxLength: 255
+ type: string
weight:
description: "Weight of the controller device group, used to sort the groups\
\ within its parent group"
@@ -154377,31 +150584,69 @@ components:
minimum: 0
type: integer
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
controller:
- $ref: '#/components/schemas/BulkWritableControllerManagedDeviceGroupRequest_controller'
+ $ref: "#/components/schemas/BulkWritableControllerManagedDeviceGroupRequest_controller"
+ tenant:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- controller
- id
- name
type: object
+ BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest:
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ example:
+ vlan:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ wireless_network:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ controller_managed_device_group:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ controller_managed_device_group:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ wireless_network:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ vlan:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ required:
+ - controller_managed_device_group
+ - id
+ - wireless_network
+ type: object
BulkWritableControllerRequest:
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
example:
+ capabilities:
+ - wireless
+ - wireless
role:
object_type: app_label.modelname
id: null
@@ -154486,6 +150731,11 @@ components:
id:
format: uuid
type: string
+ capabilities:
+ items:
+ $ref: "#/components/schemas/CapabilitiesEnum"
+ nullable: true
+ type: array
name:
maxLength: 255
minLength: 1
@@ -154494,31 +150744,31 @@ components:
maxLength: 255
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
platform:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
external_integration:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
controller_device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
controller_device_redundancy_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -154552,7 +150802,7 @@ components:
minimum: 0
type: integer
custom_field:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- custom_field
- id
@@ -154589,9 +150839,9 @@ components:
type: string
type: array
type:
- $ref: '#/components/schemas/CustomFieldTypeChoices'
+ $ref: "#/components/schemas/CustomFieldTypeChoices"
filter_logic:
- $ref: '#/components/schemas/FilterLogicEnum'
+ $ref: "#/components/schemas/FilterLogicEnum"
label:
maxLength: 50
minLength: 1
@@ -154709,7 +150959,7 @@ components:
type: string
button_class:
allOf:
- - $ref: '#/components/schemas/ButtonClassEnum'
+ - $ref: "#/components/schemas/ButtonClassEnum"
description: The class of the first link in a group will be used for the
dropdown button
new_window:
@@ -154768,17 +151018,187 @@ components:
custom_fields:
key: ""
name: name
- installed_device:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
+ installed_device:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ device:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ name:
+ maxLength: 255
+ minLength: 1
+ type: string
+ label:
+ description: Physical label
+ maxLength: 255
+ type: string
+ description:
+ maxLength: 255
+ type: string
+ device:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ installed_device:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ required:
+ - device
+ - id
+ - name
+ type: object
+ BulkWritableDeviceBayTemplateRequest:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ name: name
+ description: description
+ device_type:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ properties:
+ id:
+ format: uuid
+ type: string
+ name:
+ maxLength: 255
+ minLength: 1
+ type: string
+ label:
+ description: Physical label
+ maxLength: 255
+ type: string
+ description:
+ maxLength: 255
+ type: string
+ device_type:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ required:
+ - device_type
+ - id
+ - name
+ type: object
+ BulkWritableDeviceFamilyRequest:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ name: name
description: description
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- label: label
- device:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
tags:
- object_type: app_label.modelname
id: null
@@ -154794,180 +151214,21 @@ components:
maxLength: 255
minLength: 1
type: string
- label:
- description: Physical label
- maxLength: 255
- type: string
description:
maxLength: 255
type: string
- device:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
- installed_device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- - device
- - id
- - name
- type: object
- BulkWritableDeviceBayTemplateRequest:
- description: |-
- Base class to use for serializers based on OrganizationalModel or PrimaryModel.
-
- Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
- example:
- relationships:
- key:
- peer:
- object_type: dcim.site
- objects:
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- label: label
- destination:
- object_type: dcim.site
- objects:
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- label: label
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- label: label
- source:
- object_type: dcim.site
- objects:
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- label: label
- type: one-to-many
- url: https://openapi-generator.tech
- custom_fields:
- key: ""
- name: name
- description: description
- device_type:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- label: label
- properties:
- id:
- format: uuid
- type: string
- name:
- maxLength: 255
- minLength: 1
- type: string
- label:
- description: Physical label
- maxLength: 255
- type: string
- description:
- maxLength: 255
- type: string
- device_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
- custom_fields:
- additionalProperties: {}
- type: object
- relationships:
- additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
- type: object
- required:
- - device_type
- - id
- - name
- type: object
- BulkWritableDeviceFamilyRequest:
- description: |-
- Base class to use for serializers based on OrganizationalModel or PrimaryModel.
-
- Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
- example:
- relationships:
- key:
- peer:
- object_type: dcim.site
- objects:
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- label: label
- destination:
- object_type: dcim.site
- objects:
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- label: label
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- label: label
- source:
- object_type: dcim.site
- objects:
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- label: label
- type: one-to-many
- url: https://openapi-generator.tech
- custom_fields:
- key: ""
- name: name
- description: description
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- properties:
- id:
- format: uuid
- type: string
- name:
- maxLength: 255
- minLength: 1
- type: string
- description:
- maxLength: 255
- type: string
- custom_fields:
- additionalProperties: {}
- type: object
- relationships:
- additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
- type: object
- required:
- id
- name
type: object
@@ -155016,7 +151277,7 @@ components:
comments: comments
custom_fields:
key: ""
- failover_strategy: active-active
+ failover_strategy: ""
name: name
description: description
secrets_group:
@@ -155040,7 +151301,7 @@ components:
format: uuid
type: string
failover_strategy:
- $ref: '#/components/schemas/BulkWritableDeviceRedundancyGroupRequest_failover_strategy'
+ $ref: "#/components/schemas/BulkWritableDeviceRedundancyGroupRequest_failover_strategy"
name:
maxLength: 255
minLength: 1
@@ -155051,19 +151312,19 @@ components:
comments:
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
secrets_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -155217,7 +151478,7 @@ components:
format: uuid
type: string
face:
- $ref: '#/components/schemas/FaceEnum'
+ $ref: "#/components/schemas/FaceEnum"
local_config_context_data:
nullable: true
local_config_context_data_owner_object_id:
@@ -155265,58 +151526,58 @@ components:
comments:
type: string
local_config_context_schema:
- $ref: '#/components/schemas/BulkWritableConfigContextRequest_config_context_schema'
+ $ref: "#/components/schemas/BulkWritableConfigContextRequest_config_context_schema"
local_config_context_data_owner_content_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
device_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
platform:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
rack:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
primary_ip4:
- $ref: '#/components/schemas/Primary_IPv4'
+ $ref: "#/components/schemas/Primary_IPv4"
primary_ip6:
- $ref: '#/components/schemas/Primary_IPv6'
+ $ref: "#/components/schemas/Primary_IPv6"
cluster:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
virtual_chassis:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
device_redundancy_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
software_version:
- $ref: '#/components/schemas/BulkWritableDeviceRequest_software_version'
+ $ref: "#/components/schemas/BulkWritableDeviceRequest_software_version"
secrets_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
controller_managed_device_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
software_image_files:
description: Override the software image files associated with the software
version for this device
items:
- $ref: '#/components/schemas/Software_Image_Files'
+ $ref: "#/components/schemas/Software_Image_Files"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
parent_bay:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
required:
- device_type
- id
@@ -155397,7 +151658,7 @@ components:
format: uuid
type: string
subdevice_role:
- $ref: '#/components/schemas/SubdeviceRoleEnum'
+ $ref: "#/components/schemas/SubdeviceRoleEnum"
front_image:
format: binary
type: string
@@ -155423,19 +151684,19 @@ components:
comments:
type: string
manufacturer:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
device_family:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -155461,9 +151722,9 @@ components:
format: uuid
type: string
device_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
software_image_file:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- device_type
- id
@@ -155490,15 +151751,15 @@ components:
format: uuid
type: string
operator:
- $ref: '#/components/schemas/OperatorEnum'
+ $ref: "#/components/schemas/OperatorEnum"
weight:
maximum: 32767
minimum: 0
type: integer
group:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
parent_group:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- group
- id
@@ -155581,22 +151842,22 @@ components:
maxLength: 255
type: string
group_type:
- $ref: '#/components/schemas/GroupTypeEnum'
+ $ref: "#/components/schemas/GroupTypeEnum"
filter:
description: A JSON-encoded dictionary of filter parameters defining membership
of this group
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- content_type
@@ -155643,114 +151904,121 @@ components:
label: label
type: one-to-many
url: https://openapi-generator.tech
- owner_object_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- content_type: content_type
- mime_type: mime_type
- name: name
- description: description
- file_extension: file_extension
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- template_code: template_code
- properties:
- id:
- format: uuid
- type: string
- content_type:
- type: string
- owner_content_type:
- nullable: true
- type: string
- owner_object_id:
- format: uuid
- nullable: true
- type: string
- name:
- maxLength: 255
- minLength: 1
- type: string
- description:
- maxLength: 255
- type: string
- template_code:
- description: The list of objects being exported is passed as a context variable
- named queryset.
- minLength: 1
- type: string
- mime_type:
- description: Defaults to text/plain
- maxLength: 255
- type: string
- file_extension:
- description: Extension to append to the rendered filename
- maxLength: 255
- type: string
- relationships:
- additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
- type: object
- required:
- - content_type
- - id
- - name
- - template_code
- type: object
- BulkWritableExternalIntegrationRequest:
- description: |-
- Base class to use for serializers based on OrganizationalModel or PrimaryModel.
-
- Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
- example:
- remote_url: https://openapi-generator.tech
- headers: ""
- relationships:
- key:
- peer:
- object_type: dcim.site
- objects:
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- label: label
- destination:
- object_type: dcim.site
- objects:
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- label: label
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- label: label
- source:
- object_type: dcim.site
- objects:
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- label: label
- type: one-to-many
- url: https://openapi-generator.tech
- http_method: GET
+ owner_object_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ content_type: content_type
+ mime_type: mime_type
+ name: name
+ description: description
+ file_extension: file_extension
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ template_code: template_code
+ properties:
+ id:
+ format: uuid
+ type: string
+ content_type:
+ type: string
+ owner_content_type:
+ nullable: true
+ type: string
+ owner_object_id:
+ format: uuid
+ nullable: true
+ type: string
+ name:
+ maxLength: 255
+ minLength: 1
+ type: string
+ description:
+ maxLength: 255
+ type: string
+ template_code:
+ description: The list of objects being exported is passed as a context variable
+ named queryset.
+ minLength: 1
+ type: string
+ mime_type:
+ description: Defaults to text/plain
+ maxLength: 255
+ type: string
+ file_extension:
+ description: Extension to append to the rendered filename
+ maxLength: 255
+ type: string
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ required:
+ - content_type
+ - id
+ - name
+ - template_code
+ type: object
+ BulkWritableExternalIntegrationRequest:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ remote_url: https://openapi-generator.tech
+ headers: ""
ca_file_path: ca_file_path
- verify_ssl: true
custom_fields:
key: ""
- name: name
secrets_group:
object_type: app_label.modelname
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
url: https://openapi-generator.tech
+ timeout: 171976544
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ http_method: GET
+ verify_ssl: true
+ name: name
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
extra_config: ""
- timeout: 171976544
properties:
id:
format: uuid
@@ -155776,7 +152044,7 @@ components:
description: Optional user-defined JSON data for this integration
nullable: true
http_method:
- $ref: '#/components/schemas/BulkWritableExternalIntegrationRequest_http_method'
+ $ref: "#/components/schemas/BulkWritableExternalIntegrationRequest_http_method"
headers:
description: Headers for the HTTP request
nullable: true
@@ -155784,14 +152052,18 @@ components:
maxLength: 255
type: string
secrets_group:
- $ref: '#/components/schemas/BulkWritableExternalIntegrationRequest_secrets_group'
+ $ref: "#/components/schemas/BulkWritableExternalIntegrationRequest_secrets_group"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
required:
- id
- name
@@ -155871,7 +152143,7 @@ components:
format: uuid
type: string
type:
- $ref: '#/components/schemas/PortTypeChoices'
+ $ref: "#/components/schemas/PortTypeChoices"
name:
maxLength: 255
minLength: 1
@@ -155888,21 +152160,21 @@ components:
minimum: 1
type: integer
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
rear_port:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -155977,7 +152249,7 @@ components:
format: uuid
type: string
type:
- $ref: '#/components/schemas/PortTypeChoices'
+ $ref: "#/components/schemas/PortTypeChoices"
name:
maxLength: 255
minLength: 1
@@ -155994,17 +152266,17 @@ components:
minimum: 1
type: integer
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
rear_port_template:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -156066,13 +152338,20 @@ components:
branch: branch
slug: slug
current_head: current_head
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
properties:
id:
format: uuid
type: string
provided_contents:
items:
- $ref: '#/components/schemas/BulkWritableGitRepositoryRequest_provided_contents_inner'
+ $ref: "#/components/schemas/BulkWritableGitRepositoryRequest_provided_contents_inner"
type: array
name:
maxLength: 255
@@ -156101,14 +152380,18 @@ components:
maxLength: 48
type: string
secrets_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
required:
- id
- name
@@ -156119,6 +152402,8 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
example:
+ owner_content_type: owner_content_type
+ owner_object_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
query: query
name: name
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
@@ -156126,6 +152411,13 @@ components:
id:
format: uuid
type: string
+ owner_content_type:
+ nullable: true
+ type: string
+ owner_object_id:
+ format: uuid
+ nullable: true
+ type: string
name:
maxLength: 255
minLength: 1
@@ -156244,9 +152536,9 @@ components:
minLength: 1
type: string
namespace:
- $ref: '#/components/schemas/BulkWritableIPAddressRequest_namespace'
+ $ref: "#/components/schemas/BulkWritableIPAddressRequest_namespace"
type:
- $ref: '#/components/schemas/IPAddressTypeChoices'
+ $ref: "#/components/schemas/IPAddressTypeChoices"
dns_name:
description: Hostname or FQDN (not case-sensitive)
maxLength: 255
@@ -156256,25 +152548,25 @@ components:
maxLength: 255
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
parent:
- $ref: '#/components/schemas/BulkWritableIPAddressRequest_parent'
+ $ref: "#/components/schemas/BulkWritableIPAddressRequest_parent"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
nat_inside:
- $ref: '#/components/schemas/NAT__Inside_'
+ $ref: "#/components/schemas/NAT__Inside_"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- address
@@ -156332,11 +152624,11 @@ components:
description: Is standby address on interface
type: boolean
ip_address:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
interface:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
vm_interface:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
required:
- id
- ip_address
@@ -156406,9 +152698,9 @@ components:
minimum: 0
type: integer
interface_redundancy_group:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
interface:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- id
- interface
@@ -156485,7 +152777,7 @@ components:
format: uuid
type: string
protocol:
- $ref: '#/components/schemas/InterfaceRedundancyGroupProtocolChoices'
+ $ref: "#/components/schemas/InterfaceRedundancyGroupProtocolChoices"
name:
maxLength: 255
minLength: 1
@@ -156497,21 +152789,21 @@ components:
maxLength: 255
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
secrets_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
virtual_ip:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -156593,47 +152885,172 @@ components:
label: label
type: one-to-many
url: https://openapi-generator.tech
- parent_interface:
- object_type: app_label.modelname
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- tagged_vlans:
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- lag:
+ parent_interface:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ tagged_vlans:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ lag:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ mac_address: mac_address
+ name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ bridge:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ device:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ status:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ type:
+ $ref: "#/components/schemas/InterfaceTypeChoices"
+ mode:
+ $ref: "#/components/schemas/InterfaceModeChoices"
+ mac_address:
+ nullable: true
+ type: string
+ name:
+ maxLength: 255
+ minLength: 1
+ type: string
+ label:
+ description: Physical label
+ maxLength: 255
+ type: string
+ description:
+ maxLength: 255
+ type: string
+ enabled:
+ type: boolean
+ mtu:
+ maximum: 65536
+ minimum: 1
+ nullable: true
+ type: integer
+ mgmt_only:
+ description: This interface is used only for out-of-band management
+ title: Management only
+ type: boolean
+ device:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ module:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ status:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ role:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ parent_interface:
+ $ref: "#/components/schemas/BulkWritableInterfaceRequest_parent_interface"
+ bridge:
+ $ref: "#/components/schemas/Bridge_interface"
+ lag:
+ $ref: "#/components/schemas/Parent_LAG"
+ untagged_vlan:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ vrf:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ tagged_vlans:
+ items:
+ $ref: "#/components/schemas/Tagged_VLANs"
+ type: array
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ required:
+ - id
+ - name
+ - status
+ - type
+ type: object
+ BulkWritableInterfaceTemplateRequest:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ module_type:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- mac_address: mac_address
+ custom_fields:
+ key: ""
name: name
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- bridge:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- device:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- status:
+ description: description
+ device_type:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ type: virtual
+ mgmt_only: true
properties:
id:
format: uuid
type: string
type:
- $ref: '#/components/schemas/InterfaceTypeChoices'
- mode:
- $ref: '#/components/schemas/ModeEnum'
- mac_address:
- nullable: true
- type: string
+ $ref: "#/components/schemas/InterfaceTypeChoices"
name:
maxLength: 255
minLength: 1
@@ -156645,149 +153062,51 @@ components:
description:
maxLength: 255
type: string
- enabled:
- type: boolean
- mtu:
- maximum: 65536
- minimum: 1
- nullable: true
- type: integer
mgmt_only:
- description: This interface is used only for out-of-band management
title: Management only
type: boolean
- device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
- module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
- status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
- role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
- parent_interface:
- $ref: '#/components/schemas/BulkWritableInterfaceRequest_parent_interface'
- bridge:
- $ref: '#/components/schemas/Bridge_interface'
- lag:
- $ref: '#/components/schemas/Parent_LAG'
- untagged_vlan:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
- vrf:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
- tagged_vlans:
- items:
- $ref: '#/components/schemas/Tagged_VLANs'
- type: array
+ device_type:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ module_type:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
- tags:
- items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
- type: array
required:
- id
- name
- - status
- type
type: object
- BulkWritableInterfaceTemplateRequest:
+ BulkWritableInterfaceVDCAssignmentRequest:
description: |-
- Base class to use for serializers based on OrganizationalModel or PrimaryModel.
-
- Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
example:
- relationships:
- key:
- peer:
- object_type: dcim.site
- objects:
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- label: label
- destination:
- object_type: dcim.site
- objects:
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- label: label
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- label: label
- source:
- object_type: dcim.site
- objects:
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- label: label
- type: one-to-many
- url: https://openapi-generator.tech
- module_type:
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ interface:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- custom_fields:
- key: ""
- name: name
- description: description
- device_type:
+ virtual_device_context:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- label: label
- type: virtual
- mgmt_only: true
properties:
id:
format: uuid
type: string
- type:
- $ref: '#/components/schemas/InterfaceTypeChoices'
- name:
- maxLength: 255
- minLength: 1
- type: string
- label:
- description: Physical label
- maxLength: 255
- type: string
- description:
- maxLength: 255
- type: string
- mgmt_only:
- title: Management only
- type: boolean
- device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
- module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
- custom_fields:
- additionalProperties: {}
- type: object
- relationships:
- additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
- type: object
+ virtual_device_context:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ interface:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- id
- - name
- - type
+ - interface
+ - virtual_device_context
type: object
BulkWritableInventoryItemRequest:
description: Add a `tree_depth` field to non-nested model serializers based
@@ -156901,29 +153220,29 @@ components:
description: This item was automatically discovered
type: boolean
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
device:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
manufacturer:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
software_version:
- $ref: '#/components/schemas/BulkWritableInventoryItemRequest_software_version'
+ $ref: "#/components/schemas/BulkWritableInventoryItemRequest_software_version"
software_image_files:
description: Override the software image files associated with the software
version for this inventory item
items:
- $ref: '#/components/schemas/Software_Image_Files'
+ $ref: "#/components/schemas/Software_Image_Files"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- device
@@ -156982,14 +153301,14 @@ components:
maxLength: 255
type: string
button_class:
- $ref: '#/components/schemas/ButtonClassEnum'
+ $ref: "#/components/schemas/ButtonClassEnum"
confirmation:
description: "Enable confirmation pop-up box. WARNING:\
\ unselecting this option will allow the Job to run (and commit changes)\
\ with a single click!"
type: boolean
job:
- $ref: '#/components/schemas/BulkWritableJobButtonRequest_job'
+ $ref: "#/components/schemas/BulkWritableJobButtonRequest_job"
required:
- content_types
- id
@@ -157078,13 +153397,13 @@ components:
description: Call this job hook when a matching object is updated.
type: boolean
job:
- $ref: '#/components/schemas/BulkWritableJobHookRequest_job'
+ $ref: "#/components/schemas/BulkWritableJobHookRequest_job"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- content_types
@@ -157092,6 +153411,123 @@ components:
- job
- name
type: object
+ BulkWritableJobQueueAssignmentRequest:
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ example:
+ job_queue:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ job:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ job:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ job_queue:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ required:
+ - id
+ - job
+ - job_queue
+ type: object
+ BulkWritableJobQueueRequest:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ queue_type: celery
+ custom_fields:
+ key: ""
+ name: name
+ description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ tenant:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ name:
+ maxLength: 255
+ minLength: 1
+ type: string
+ description:
+ maxLength: 255
+ type: string
+ queue_type:
+ $ref: "#/components/schemas/QueueTypeEnum"
+ tenant:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ required:
+ - id
+ - name
+ - queue_type
+ type: object
BulkWritableJobRequest:
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
@@ -157101,8 +153537,8 @@ components:
grouping_override: true
hidden: true
time_limit: 0.6027456183070403
+ default_job_queue_override: true
has_sensitive_variables: true
- task_queues: ""
description: description
dryrun_default_override: true
approval_required_override: true
@@ -157149,9 +153585,14 @@ components:
time_limit_override: true
dryrun_default: true
soft_time_limit: 0.08008281904610115
+ job_queues_override: true
custom_fields:
key: ""
approval_required: true
+ default_job_queue:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
grouping: grouping
tags:
- object_type: app_label.modelname
@@ -157162,9 +153603,10 @@ components:
url: https://openapi-generator.tech
name_override: true
hidden_override: true
- task_queues_override: true
+ is_singleton: true
name: name
description_override: true
+ is_singleton_override: true
properties:
id:
format: uuid
@@ -157188,6 +153630,10 @@ components:
has_sensitive_variables:
description: Whether this job contains sensitive variables
type: boolean
+ is_singleton:
+ description: Whether this job should fail to run if another instance of
+ this job is already running
+ type: boolean
approval_required:
description: Whether the job requires approval from another user before
running
@@ -157211,9 +153657,6 @@ components:
format: double
minimum: 0
type: number
- task_queues:
- description: Comma separated list of task queues that this job can run on.
- A blank list will use the default queue
grouping_override:
description: "If set, the configured grouping will remain even if the underlying\
\ Job source code changes"
@@ -157250,22 +153693,33 @@ components:
description: "If set, the configured value will remain even if the underlying\
\ Job source code changes"
type: boolean
- task_queues_override:
+ job_queues_override:
+ description: "If set, the configured value will remain even if the underlying\
+ \ Job source code changes"
+ type: boolean
+ default_job_queue_override:
+ description: "If set, the configured value will remain even if the underlying\
+ \ Job source code changes"
+ type: boolean
+ is_singleton_override:
description: "If set, the configured value will remain even if the underlying\
\ Job source code changes"
type: boolean
+ default_job_queue:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
+ - default_job_queue
- grouping
- id
- name
@@ -157405,23 +153859,23 @@ components:
comments:
type: string
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
location_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -157502,13 +153956,13 @@ components:
Locations of this same type
type: boolean
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -157577,7 +154031,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -157609,7 +154063,7 @@ components:
minimum: 0
type: integer
metadata_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- id
- metadata_type
@@ -157666,6 +154120,13 @@ components:
- content_types
- content_types
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
properties:
id:
format: uuid
@@ -157683,15 +154144,19 @@ components:
type: string
data_type:
allOf:
- - $ref: '#/components/schemas/DataTypeEnum'
+ - $ref: "#/components/schemas/DataTypeEnum"
description: The type of data allowed for any Metadata of this type.
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
required:
- content_types
- data_type
@@ -157740,6 +154205,10 @@ components:
label: label
type: one-to-many
url: https://openapi-generator.tech
+ module_family:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
parent_device:
object_type: app_label.modelname
id: null
@@ -157751,6 +154220,7 @@ components:
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
position: position
label: label
+ requires_first_party_modules: true
parent_module:
object_type: app_label.modelname
id: null
@@ -157766,6 +154236,10 @@ components:
id:
format: uuid
type: string
+ requires_first_party_modules:
+ description: This bay will only accept modules from the same manufacturer
+ as the parent device or module
+ type: boolean
name:
maxLength: 255
minLength: 1
@@ -157782,19 +154256,21 @@ components:
maxLength: 255
type: string
parent_device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
parent_module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ module_family:
+ $ref: "#/components/schemas/BulkWritableModuleBayRequest_module_family"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -157842,6 +154318,10 @@ components:
label: label
type: one-to-many
url: https://openapi-generator.tech
+ module_family:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
module_type:
object_type: app_label.modelname
id: null
@@ -157857,6 +154337,7 @@ components:
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
position: position
label: label
+ requires_first_party_modules: true
properties:
id:
format: uuid
@@ -157876,16 +154357,88 @@ components:
description:
maxLength: 255
type: string
+ requires_first_party_modules:
+ description: This bay will only accept modules from the same manufacturer
+ as the parent device or module
+ type: boolean
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ module_family:
+ $ref: "#/components/schemas/BulkWritableModuleBayTemplateRequest_module_family"
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ required:
+ - id
+ - name
+ type: object
+ BulkWritableModuleFamilyRequest:
+ description: API serializer for ModuleFamily objects.
+ example:
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ name: name
+ description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ properties:
+ id:
+ format: uuid
+ type: string
+ name:
+ maxLength: 255
+ minLength: 1
+ type: string
+ description:
+ maxLength: 255
+ type: string
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -157984,27 +154537,27 @@ components:
nullable: true
type: string
module_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
parent_module_bay:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
location:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -158054,6 +154607,10 @@ components:
type: one-to-many
url: https://openapi-generator.tech
comments: comments
+ module_family:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
custom_fields:
key: ""
part_number: part_number
@@ -158085,17 +154642,19 @@ components:
comments:
type: string
manufacturer:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ module_family:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -158172,17 +154731,17 @@ components:
maxLength: 255
type: string
location:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -158225,7 +154784,7 @@ components:
minLength: 1
type: string
user:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
required:
- assigned_object_id
- assigned_object_type
@@ -158268,11 +154827,11 @@ components:
format: uuid
type: string
metadata_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
contact:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
team:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
required:
- assigned_object_id
- assigned_object_type
@@ -158332,11 +154891,11 @@ components:
nullable: true
groups:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
users:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- actions
@@ -158426,13 +154985,13 @@ components:
maxLength: 255
type: string
manufacturer:
- $ref: '#/components/schemas/BulkWritablePlatformRequest_manufacturer'
+ $ref: "#/components/schemas/BulkWritablePlatformRequest_manufacturer"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -158450,13 +155009,15 @@ components:
id: null
url: https://openapi-generator.tech
comments: comments
+ breaker_position: 1280358508
custom_fields:
key: ""
+ breaker_pole_count: ""
type: ""
supply: ""
power_panel:
object_type: app_label.modelname
- id: null
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
url: https://openapi-generator.tech
voltage: -27519
tags:
@@ -158505,11 +155066,16 @@ components:
amperage: 19750
max_utilization: 15
name: name
+ power_path: a
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
cable:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ destination_panel:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
status:
object_type: app_label.modelname
id: null
@@ -158520,22 +155086,22 @@ components:
type: string
type:
allOf:
- - $ref: '#/components/schemas/PowerFeedTypeChoices'
- default:
- value: primary
- label: Primary
+ - $ref: "#/components/schemas/PowerFeedTypeChoices"
+ default: primary
+ power_path:
+ $ref: "#/components/schemas/PowerPathEnum"
supply:
allOf:
- - $ref: '#/components/schemas/SupplyEnum'
- default:
- value: ac
- label: AC
+ - $ref: "#/components/schemas/SupplyEnum"
+ default: ac
phase:
allOf:
- - $ref: '#/components/schemas/PhaseEnum'
- default:
- value: single-phase
- label: Single phase
+ - $ref: "#/components/schemas/PhaseEnum"
+ default: single-phase
+ breaker_pole_count:
+ allOf:
+ - $ref: "#/components/schemas/BreakerPoleCountEnum"
+ nullable: true
name:
maxLength: 255
minLength: 1
@@ -158553,26 +155119,34 @@ components:
maximum: 100
minimum: 1
type: integer
+ breaker_position:
+ description: Starting circuit breaker position in panel
+ maximum: 2147483647
+ minimum: 0
+ nullable: true
+ type: integer
comments:
type: string
cable:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
power_panel:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritablePowerFeedRequest_power_panel"
+ destination_panel:
+ $ref: "#/components/schemas/BulkWritablePowerFeedRequest_destination_panel"
rack:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -158654,9 +155228,9 @@ components:
format: uuid
type: string
type:
- $ref: '#/components/schemas/PowerOutletTypeChoices'
+ $ref: "#/components/schemas/PowerOutletTypeChoices"
feed_leg:
- $ref: '#/components/schemas/FeedLegEnum'
+ $ref: "#/components/schemas/FeedLegEnum"
name:
maxLength: 255
minLength: 1
@@ -158669,21 +155243,21 @@ components:
maxLength: 255
type: string
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
power_port:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -158756,9 +155330,9 @@ components:
format: uuid
type: string
type:
- $ref: '#/components/schemas/PowerOutletTypeChoices'
+ $ref: "#/components/schemas/PowerOutletTypeChoices"
feed_leg:
- $ref: '#/components/schemas/FeedLegEnum'
+ $ref: "#/components/schemas/FeedLegEnum"
name:
maxLength: 255
minLength: 1
@@ -158771,17 +155345,17 @@ components:
maxLength: 255
type: string
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
power_port_template:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -158831,7 +155405,10 @@ components:
url: https://openapi-generator.tech
custom_fields:
key: ""
+ panel_type: utility
name: name
+ power_path: a
+ breaker_position_count: 171976544
rack_group:
object_type: app_label.modelname
id: null
@@ -158852,24 +155429,34 @@ components:
id:
format: uuid
type: string
+ panel_type:
+ $ref: "#/components/schemas/PanelTypeEnum"
+ power_path:
+ $ref: "#/components/schemas/PowerPathEnum"
name:
maxLength: 255
minLength: 1
type: string
+ breaker_position_count:
+ description: "Total number of breaker positions in the panel (e.g., 42)"
+ maximum: 2147483647
+ minimum: 0
+ nullable: true
+ type: integer
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
rack_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -158882,6 +155469,24 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
example:
+ power_factor: power_factor
+ custom_fields:
+ key: ""
+ module:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ description: description
+ label: label
+ type: iec-60320-c6
+ maximum_draw: 2624
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
allocated_draw: 19750
relationships:
key:
@@ -158919,35 +155524,18 @@ components:
label: label
type: one-to-many
url: https://openapi-generator.tech
- custom_fields:
- key: ""
- module:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
name: name
- description: description
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- label: label
- type: iec-60320-c6
device:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- maximum_draw: 2624
- tags:
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
properties:
id:
format: uuid
type: string
type:
- $ref: '#/components/schemas/PowerPortTypeChoices'
+ $ref: "#/components/schemas/PowerPortTypeChoices"
name:
maxLength: 255
minLength: 1
@@ -158971,20 +155559,26 @@ components:
minimum: 1
nullable: true
type: integer
+ power_factor:
+ description: Power factor (0.01-1.00) for converting between watts (W) and
+ volt-amps (VA). Defaults to 0.95.
+ format: decimal
+ pattern: "^-?\\d{0,2}(?:\\.\\d{0,2})?$"
+ type: string
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -159037,6 +155631,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ power_factor: power_factor
custom_fields:
key: ""
name: name
@@ -159054,7 +155649,7 @@ components:
format: uuid
type: string
type:
- $ref: '#/components/schemas/PowerPortTypeChoices'
+ $ref: "#/components/schemas/PowerPortTypeChoices"
name:
maxLength: 255
minLength: 1
@@ -159078,16 +155673,22 @@ components:
minimum: 1
nullable: true
type: integer
+ power_factor:
+ description: Power factor (0.01-1.00) for converting between watts (W) and
+ volt-amps (VA). Defaults to 0.95.
+ format: decimal
+ pattern: "^-?\\d{0,2}(?:\\.\\d{0,2})?$"
+ type: string
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -159112,9 +155713,9 @@ components:
format: uuid
type: string
prefix:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- id
- location
@@ -159217,12 +155818,10 @@ components:
type: string
type:
allOf:
- - $ref: '#/components/schemas/PrefixTypeChoices'
- default:
- value: network
- label: Network
+ - $ref: "#/components/schemas/PrefixTypeChoices"
+ default: network
location:
- $ref: '#/components/schemas/BulkWritablePrefixRequest_location'
+ $ref: "#/components/schemas/BulkWritablePrefixRequest_location"
date_allocated:
description: "Date this prefix was allocated to an RIR, reserved in IPAM,\
\ etc."
@@ -159233,29 +155832,29 @@ components:
maxLength: 255
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
parent:
- $ref: '#/components/schemas/BulkWritablePrefixRequest_parent'
+ $ref: "#/components/schemas/BulkWritablePrefixRequest_parent"
namespace:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
vlan:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
rir:
- $ref: '#/components/schemas/BulkWritablePrefixRequest_rir'
+ $ref: "#/components/schemas/BulkWritablePrefixRequest_rir"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -159335,17 +155934,17 @@ components:
comments:
type: string
provider:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -159442,14 +156041,14 @@ components:
type: string
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -159523,7 +156122,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -159594,15 +156193,15 @@ components:
maxLength: 255
type: string
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -159617,7 +156216,7 @@ components:
example:
asset_tag: asset_tag
desc_units: true
- u_height: 8
+ u_height: 40
comments: comments
role:
object_type: app_label.modelname
@@ -159669,117 +156268,231 @@ components:
label: label
type: one-to-many
url: https://openapi-generator.tech
- serial: serial
- outer_width: 19750
- width: ""
- name: name
- facility_id: facility_id
- outer_depth: 4803
- rack_group:
- object_type: app_label.modelname
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- location:
+ serial: serial
+ outer_width: 19750
+ width: ""
+ name: name
+ facility_id: facility_id
+ outer_depth: 4803
+ rack_group:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ location:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ outer_unit: mm
+ tenant:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ status:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ type:
+ $ref: "#/components/schemas/RackTypeChoices"
+ width:
+ allOf:
+ - $ref: "#/components/schemas/WidthEnum"
+ description: Rail-to-rail width (in inches)
+ outer_unit:
+ $ref: "#/components/schemas/OuterUnitEnum"
+ name:
+ maxLength: 255
+ minLength: 1
+ type: string
+ facility_id:
+ description: Locally-assigned identifier
+ maxLength: 50
+ nullable: true
+ type: string
+ serial:
+ maxLength: 255
+ title: Serial number
+ type: string
+ asset_tag:
+ description: A unique tag used to identify this rack
+ maxLength: 255
+ nullable: true
+ type: string
+ u_height:
+ description: Height in rack units
+ maximum: 500
+ minimum: 1
+ title: Height (U)
+ type: integer
+ desc_units:
+ description: Units are numbered top-to-bottom
+ title: Descending units
+ type: boolean
+ outer_width:
+ description: Outer dimension of rack (width)
+ maximum: 32767
+ minimum: 0
+ nullable: true
+ type: integer
+ outer_depth:
+ description: Outer dimension of rack (depth)
+ maximum: 32767
+ minimum: 0
+ nullable: true
+ type: integer
+ comments:
+ type: string
+ status:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ role:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ location:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ rack_group:
+ $ref: "#/components/schemas/BulkWritableRackRequest_rack_group"
+ tenant:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ required:
+ - id
+ - location
+ - name
+ - status
+ type: object
+ BulkWritableRackReservationRequest:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ rack:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ description: description
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- outer_unit: mm
+ units: ""
+ user:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
tenant:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- status:
- object_type: app_label.modelname
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
properties:
id:
format: uuid
type: string
- type:
- $ref: '#/components/schemas/RackTypeChoices'
- width:
- allOf:
- - $ref: '#/components/schemas/WidthEnum'
- description: Rail-to-rail width (in inches)
- outer_unit:
- $ref: '#/components/schemas/OuterUnitEnum'
- name:
+ units:
+ description: List of rack unit numbers to reserve
+ description:
maxLength: 255
minLength: 1
type: string
- facility_id:
- description: Locally-assigned identifier
- maxLength: 50
- nullable: true
- type: string
- serial:
- maxLength: 255
- title: Serial number
- type: string
- asset_tag:
- description: A unique tag used to identify this rack
- maxLength: 255
- nullable: true
- type: string
- u_height:
- description: Height in rack units
- maximum: 100
- minimum: 1
- title: Height (U)
- type: integer
- desc_units:
- description: Units are numbered top-to-bottom
- title: Descending units
- type: boolean
- outer_width:
- description: Outer dimension of rack (width)
- maximum: 32767
- minimum: 0
- nullable: true
- type: integer
- outer_depth:
- description: Outer dimension of rack (depth)
- maximum: 32767
- minimum: 0
- nullable: true
- type: integer
- comments:
- type: string
- status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
- role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
- location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
- rack_group:
- $ref: '#/components/schemas/BulkWritableRackRequest_rack_group'
+ rack:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ user:
+ $ref: "#/components/schemas/BulkWritableRackReservationRequest_user"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
+ - description
- id
- - location
- - name
- - status
+ - rack
+ - units
type: object
- BulkWritableRackReservationRequest:
+ BulkWritableRadioProfileRequest:
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
example:
+ tx_power_min: -1517921766
+ custom_fields:
+ key: ""
+ rx_power_min: 273751188
+ channel_width:
+ - 0
+ - 0
+ frequency: 2.4GHz
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
relationships:
key:
peer:
@@ -159816,24 +156529,14 @@ components:
label: label
type: one-to-many
url: https://openapi-generator.tech
- rack:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- custom_fields:
- key: ""
- description: description
+ tx_power_max: 413233370
+ name: name
+ regulatory_domain: AD
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- units: ""
- user:
- object_type: app_label.modelname
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- tenant:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- tags:
+ allowed_channel_list:
+ - 6
+ - 6
+ supported_data_rates:
- object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
@@ -159844,34 +156547,59 @@ components:
id:
format: uuid
type: string
- units:
- description: List of rack unit numbers to reserve
- description:
+ channel_width:
+ items:
+ $ref: "#/components/schemas/ChannelWidthEnum"
+ type: array
+ allowed_channel_list:
+ items:
+ type: integer
+ type: array
+ name:
maxLength: 255
minLength: 1
type: string
- rack:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
- tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
- user:
- $ref: '#/components/schemas/BulkWritableRackReservationRequest_user'
+ frequency:
+ $ref: "#/components/schemas/BulkWritableRadioProfileRequest_frequency"
+ tx_power_min:
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Transmit Power Minimum
+ type: integer
+ tx_power_max:
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Transmit Power Maximum
+ type: integer
+ regulatory_domain:
+ $ref: "#/components/schemas/RegulatoryDomainEnum"
+ rx_power_min:
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Receive Power Minimum
+ type: integer
+ supported_data_rates:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- - description
- id
- - rack
- - units
+ - name
+ - regulatory_domain
type: object
BulkWritableRearPortRequest:
description: |-
@@ -159943,7 +156671,7 @@ components:
format: uuid
type: string
type:
- $ref: '#/components/schemas/PortTypeChoices'
+ $ref: "#/components/schemas/PortTypeChoices"
name:
maxLength: 255
minLength: 1
@@ -159960,19 +156688,19 @@ components:
minimum: 1
type: integer
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -160042,7 +156770,7 @@ components:
format: uuid
type: string
type:
- $ref: '#/components/schemas/PortTypeChoices'
+ $ref: "#/components/schemas/PortTypeChoices"
name:
maxLength: 255
minLength: 1
@@ -160059,15 +156787,15 @@ components:
minimum: 1
type: integer
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -160103,7 +156831,7 @@ components:
format: uuid
type: string
relationship:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- destination_id
- destination_type
@@ -160156,10 +156884,10 @@ components:
type: string
type:
allOf:
- - $ref: '#/components/schemas/RelationshipTypeChoices'
+ - $ref: "#/components/schemas/RelationshipTypeChoices"
description: Cardinality of this relationship
required_on:
- $ref: '#/components/schemas/BulkWritableRelationshipRequest_required_on'
+ $ref: "#/components/schemas/BulkWritableRelationshipRequest_required_on"
source_label:
description: "Label for related destination objects, as displayed on the\
\ source object."
@@ -160277,7 +157005,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- content_types
@@ -160355,17 +157083,17 @@ components:
maxLength: 255
type: string
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -160408,7 +157136,7 @@ components:
is_shared:
type: boolean
owner:
- $ref: '#/components/schemas/BulkWritableSavedViewRequest_owner'
+ $ref: "#/components/schemas/BulkWritableSavedViewRequest_owner"
required:
- id
- name
@@ -160486,14 +157214,14 @@ components:
parameters: {}
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -160504,7 +157232,7 @@ components:
description: Serializer for `SecretsGroupAssociation` objects.
example:
access_type: Generic
- secret_type: key
+ secret_type: authentication-key
secrets_group:
object_type: app_label.modelname
id: null
@@ -160519,13 +157247,13 @@ components:
format: uuid
type: string
access_type:
- $ref: '#/components/schemas/AccessTypeEnum'
+ $ref: "#/components/schemas/AccessTypeEnum"
secret_type:
- $ref: '#/components/schemas/SecretTypeEnum'
+ $ref: "#/components/schemas/SecretTypeEnum"
secrets_group:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
secret:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- access_type
- id
@@ -160593,7 +157321,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -160677,7 +157405,7 @@ components:
format: uuid
type: string
protocol:
- $ref: '#/components/schemas/ServiceProtocolChoices'
+ $ref: "#/components/schemas/ServiceProtocolChoices"
ports:
items:
maximum: 65535
@@ -160692,23 +157420,23 @@ components:
maxLength: 255
type: string
device:
- $ref: '#/components/schemas/BulkWritableServiceRequest_device'
+ $ref: "#/components/schemas/BulkWritableServiceRequest_device"
virtual_machine:
- $ref: '#/components/schemas/BulkWritableServiceRequest_virtual_machine'
+ $ref: "#/components/schemas/BulkWritableServiceRequest_virtual_machine"
ip_addresses:
items:
- $ref: '#/components/schemas/IP_addresses'
+ $ref: "#/components/schemas/IP_addresses"
type: array
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -160721,6 +157449,15 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
example:
+ custom_fields:
+ key: ""
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
image_file_checksum: image_file_checksum
relationships:
key:
@@ -160759,8 +157496,6 @@ components:
type: one-to-many
url: https://openapi-generator.tech
image_file_size: 738633633822310400
- custom_fields:
- key: ""
download_url: https://openapi-generator.tech
image_file_name: image_file_name
default_image: true
@@ -160769,16 +157504,13 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- hashing_algorithm: md5
- status:
+ external_integration:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- tags:
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- - object_type: app_label.modelname
+ hashing_algorithm: md5
+ status:
+ object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
properties:
@@ -160793,7 +157525,7 @@ components:
maxLength: 256
type: string
hashing_algorithm:
- $ref: '#/components/schemas/BulkWritableSoftwareImageFileRequest_hashing_algorithm'
+ $ref: "#/components/schemas/BulkWritableSoftwareImageFileRequest_hashing_algorithm"
image_file_size:
description: Image file size in bytes
format: int64
@@ -160809,19 +157541,21 @@ components:
description: Is the default image for this software version
type: boolean
software_version:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ external_integration:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -160927,19 +157661,19 @@ components:
description: Is a Pre-Release version
type: boolean
platform:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -161008,13 +157742,13 @@ components:
format: uuid
type: string
dynamic_group:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- associated_object_id
@@ -161096,13 +157830,104 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- content_types
- id
- name
type: object
+ BulkWritableSupportedDataRateRequest:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ standard: 802.11a
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ rate: 171976544
+ custom_fields:
+ key: ""
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ mcs_index: 441289069
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ standard:
+ $ref: "#/components/schemas/StandardEnum"
+ rate:
+ maximum: 2147483647
+ minimum: 0
+ title: Rate (Kbps)
+ type: integer
+ mcs_index:
+ description: "The Modulation and Coding Scheme (MCS) index is a value used\
+ \ in wireless communications to define the modulation type, coding rate,\
+ \ and number of spatial streams used in a transmission."
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Modulation and Coding Scheme (MCS) Index
+ type: integer
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ required:
+ - id
+ - rate
+ - standard
+ type: object
BulkWritableTagRequest:
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
@@ -161180,7 +158005,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- content_types
@@ -161236,6 +158061,7 @@ components:
key: ""
name: name
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ email: ""
contacts:
- object_type: app_label.modelname
id: null
@@ -161243,15 +158069,17 @@ components:
- object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- email: ""
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
properties:
id:
format: uuid
type: string
- contacts:
- items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
- type: array
name:
maxLength: 255
minLength: 1
@@ -161262,7 +158090,6 @@ components:
type: string
email:
default: ""
- format: email
maxLength: 254
title: E-mail
type: string
@@ -161270,13 +158097,21 @@ components:
type: string
comments:
type: string
+ contacts:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
required:
- id
- name
@@ -161344,13 +158179,13 @@ components:
maxLength: 255
type: string
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -161429,17 +158264,17 @@ components:
comments:
type: string
tenant_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -161554,7 +158389,7 @@ components:
description: The groups this user belongs to. A user will get all permissions
granted to each of their groups.
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -161584,9 +158419,9 @@ components:
minLength: 1
type: string
saved_view:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
user:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- id
- saved_view
@@ -161639,11 +158474,19 @@ components:
key: ""
name: name
description: description
+ range: range
location:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
properties:
id:
format: uuid
@@ -161655,14 +158498,23 @@ components:
description:
maxLength: 255
type: string
+ range:
+ description: "Permitted VID range(s) as comma-separated list, default '1-4094'\
+ \ if left blank."
+ minLength: 1
+ type: string
location:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -161687,9 +158539,9 @@ components:
format: uuid
type: string
vlan:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- id
- location
@@ -161775,7 +158627,7 @@ components:
format: uuid
type: string
location:
- $ref: '#/components/schemas/BulkWritablePrefixRequest_location'
+ $ref: "#/components/schemas/BulkWritablePrefixRequest_location"
vid:
maximum: 4094
minimum: 1
@@ -161789,23 +158641,23 @@ components:
maxLength: 255
type: string
vlan_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -161911,7 +158763,7 @@ components:
format: uuid
type: string
mode:
- $ref: '#/components/schemas/ModeEnum'
+ $ref: "#/components/schemas/InterfaceModeChoices"
mac_address:
nullable: true
type: string
@@ -161930,33 +158782,33 @@ components:
maxLength: 255
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
parent_interface:
- $ref: '#/components/schemas/BulkWritableInterfaceRequest_parent_interface'
+ $ref: "#/components/schemas/BulkWritableInterfaceRequest_parent_interface"
bridge:
- $ref: '#/components/schemas/Bridge_interface'
+ $ref: "#/components/schemas/Bridge_interface"
virtual_machine:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
untagged_vlan:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
vrf:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tagged_vlans:
items:
- $ref: '#/components/schemas/Tagged_VLANs'
+ $ref: "#/components/schemas/Tagged_VLANs"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -161984,6 +158836,10 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ virtual_device_context:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
properties:
id:
format: uuid
@@ -161998,11 +158854,13 @@ components:
maxLength: 255
type: string
vrf:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
virtual_machine:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ virtual_device_context:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
required:
- id
- vrf
@@ -162026,9 +158884,9 @@ components:
format: uuid
type: string
vrf:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
prefix:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- id
- prefix
@@ -162133,34 +158991,33 @@ components:
maxLength: 255
type: string
status:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
namespace:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
import_targets:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
export_targets:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
- name
- - rd
type: object
BulkWritableVirtualChassisRequest:
description: |-
@@ -162232,22 +159089,148 @@ components:
maxLength: 255
type: string
master:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
- name
type: object
+ BulkWritableVirtualDeviceContextRequest:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ identifier: 2624
+ role:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ description: description
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ device:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ primary_ip6:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ tenant:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ status:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ primary_ip4:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ name:
+ maxLength: 255
+ minLength: 1
+ type: string
+ identifier:
+ description: "Unique identifier provided by the platform being virtualized\
+ \ (Example: Nexus VDC Identifier)"
+ maximum: 32767
+ minimum: 0
+ nullable: true
+ type: integer
+ description:
+ maxLength: 255
+ type: string
+ device:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ status:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ role:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ primary_ip4:
+ $ref: "#/components/schemas/Primary_IPv4"
+ primary_ip6:
+ $ref: "#/components/schemas/Primary_IPv6"
+ tenant:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ required:
+ - device
+ - id
+ - name
+ - status
+ type: object
BulkWritableVirtualMachineRequest:
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
@@ -162323,203 +159306,315 @@ components:
label: label
type: one-to-many
url: https://openapi-generator.tech
- disk: 314780940
- local_config_context_data_owner_content_type:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
+ disk: 314780940
+ local_config_context_data_owner_content_type:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ name: name
+ local_config_context_schema:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ software_version:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ primary_ip6:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ tenant:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ status:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ primary_ip4:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ local_config_context_data:
+ nullable: true
+ local_config_context_data_owner_object_id:
+ format: uuid
+ nullable: true
+ type: string
+ name:
+ maxLength: 255
+ minLength: 1
+ type: string
+ vcpus:
+ maximum: 32767
+ minimum: 0
+ nullable: true
+ type: integer
+ memory:
+ maximum: 2147483647
+ minimum: 0
+ nullable: true
+ title: Memory (MB)
+ type: integer
+ disk:
+ maximum: 2147483647
+ minimum: 0
+ nullable: true
+ title: Disk (GB)
+ type: integer
+ comments:
+ type: string
+ local_config_context_schema:
+ $ref: "#/components/schemas/BulkWritableConfigContextRequest_config_context_schema"
+ local_config_context_data_owner_content_type:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ cluster:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ tenant:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ platform:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ status:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ role:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ primary_ip4:
+ $ref: "#/components/schemas/Primary_IPv4"
+ primary_ip6:
+ $ref: "#/components/schemas/Primary_IPv6"
+ software_version:
+ $ref: "#/components/schemas/BulkWritableVirtualMachineRequest_software_version"
+ software_image_files:
+ description: Override the software image files associated with the software
+ version for this virtual machine
+ items:
+ $ref: "#/components/schemas/Software_Image_Files"
+ type: array
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ required:
+ - cluster
+ - id
+ - name
+ - status
+ type: object
+ BulkWritableWebhookRequest:
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ example:
+ type_update: true
+ additional_headers: additional_headers
+ ssl_verification: true
+ ca_file_path: ca_file_path
+ type_delete: true
+ secret: secret
+ body_template: body_template
+ enabled: true
+ http_method: GET
+ http_content_type: http_content_type
+ type_create: true
+ name: name
+ content_types:
+ - content_types
+ - content_types
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ payload_url: payload_url
+ properties:
+ id:
+ format: uuid
+ type: string
+ content_types:
+ items:
+ type: string
+ type: array
+ name:
+ maxLength: 255
+ minLength: 1
+ type: string
+ type_create:
+ description: Call this webhook when a matching object is created.
+ type: boolean
+ type_update:
+ description: Call this webhook when a matching object is updated.
+ type: boolean
+ type_delete:
+ description: Call this webhook when a matching object is deleted.
+ type: boolean
+ payload_url:
+ description: A POST will be sent to this URL when the webhook is called.
+ maxLength: 500
+ minLength: 1
+ title: URL
+ type: string
+ enabled:
+ type: boolean
+ http_method:
+ $ref: "#/components/schemas/HttpMethodEnum"
+ http_content_type:
+ description: The complete list of official content types is available here.
+ maxLength: 255
+ minLength: 1
+ type: string
+ additional_headers:
+ description: "User-supplied HTTP headers to be sent with the request in\
+ \ addition to the HTTP content type. Headers should be defined in the\
+ \ format Name: Value. Jinja2 template processing is supported\
+ \ with the same context as the request body (below)."
+ type: string
+ body_template:
+ description: "Jinja2 template for a custom request body. If blank, a JSON\
+ \ object representing the change will be included. Available context data\
+ \ includes: event, model, timestamp,\
+ \ username, request_id, and data."
+ type: string
+ secret:
+ description: "When provided, the request will include a 'X-Hook-Signature'\
+ \ header containing a HMAC hex digest of the payload body using the secret\
+ \ as the key. The secret is not transmitted in the request."
+ maxLength: 255
+ type: string
+ ssl_verification:
+ description: Enable SSL certificate verification. Disable with caution!
+ type: boolean
+ ca_file_path:
+ description: The specific CA certificate file to use for SSL verification.
+ Leave blank to use the system defaults.
+ maxLength: 4096
+ type: string
+ required:
+ - content_types
+ - id
+ - name
+ - payload_url
+ type: object
+ BulkWritableWirelessNetworkRequest:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ hidden: true
+ custom_fields:
+ key: ""
+ description: description
+ secrets_group:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ ssid: ssid
+ enabled: true
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ mode: Central
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
name: name
- local_config_context_schema:
- object_type: app_label.modelname
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- software_version:
- object_type: app_label.modelname
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- primary_ip6:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
tenant:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- status:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- primary_ip4:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
+ authentication: Open
properties:
id:
format: uuid
type: string
- local_config_context_data:
- nullable: true
- local_config_context_data_owner_object_id:
- format: uuid
- nullable: true
- type: string
name:
maxLength: 255
minLength: 1
type: string
- vcpus:
- maximum: 32767
- minimum: 0
- nullable: true
- type: integer
- memory:
- maximum: 2147483647
- minimum: 0
- nullable: true
- title: Memory (MB)
- type: integer
- disk:
- maximum: 2147483647
- minimum: 0
- nullable: true
- title: Disk (GB)
- type: integer
- comments:
+ description:
+ maxLength: 255
type: string
- local_config_context_schema:
- $ref: '#/components/schemas/BulkWritableConfigContextRequest_config_context_schema'
- local_config_context_data_owner_content_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
- cluster:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ ssid:
+ maxLength: 255
+ minLength: 1
+ type: string
+ mode:
+ $ref: "#/components/schemas/WirelessNetworkModeChoices"
+ enabled:
+ type: boolean
+ authentication:
+ $ref: "#/components/schemas/AuthenticationEnum"
+ hidden:
+ type: boolean
+ secrets_group:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
- platform:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
- status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
- role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
- primary_ip4:
- $ref: '#/components/schemas/Primary_IPv4'
- primary_ip6:
- $ref: '#/components/schemas/Primary_IPv6'
- software_version:
- $ref: '#/components/schemas/BulkWritableVirtualMachineRequest_software_version'
- software_image_files:
- description: Override the software image files associated with the software
- version for this virtual machine
- items:
- $ref: '#/components/schemas/Software_Image_Files'
- type: array
- tags:
- items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
- type: array
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
- required:
- - cluster
- - id
- - name
- - status
- type: object
- BulkWritableWebhookRequest:
- description: |-
- Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
- validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
- example:
- type_update: true
- additional_headers: additional_headers
- ssl_verification: true
- ca_file_path: ca_file_path
- type_delete: true
- secret: secret
- body_template: body_template
- enabled: true
- http_method: GET
- http_content_type: http_content_type
- type_create: true
- name: name
- content_types:
- - content_types
- - content_types
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- payload_url: payload_url
- properties:
- id:
- format: uuid
- type: string
- content_types:
+ tags:
items:
- type: string
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
- name:
- maxLength: 255
- minLength: 1
- type: string
- type_create:
- description: Call this webhook when a matching object is created.
- type: boolean
- type_update:
- description: Call this webhook when a matching object is updated.
- type: boolean
- type_delete:
- description: Call this webhook when a matching object is deleted.
- type: boolean
- payload_url:
- description: A POST will be sent to this URL when the webhook is called.
- maxLength: 500
- minLength: 1
- title: URL
- type: string
- enabled:
- type: boolean
- http_method:
- $ref: '#/components/schemas/HttpMethodEnum'
- http_content_type:
- description: The complete list of official content types is available here.
- maxLength: 255
- minLength: 1
- type: string
- additional_headers:
- description: "User-supplied HTTP headers to be sent with the request in\
- \ addition to the HTTP content type. Headers should be defined in the\
- \ format Name: Value. Jinja2 template processing is supported\
- \ with the same context as the request body (below)."
- type: string
- body_template:
- description: "Jinja2 template for a custom request body. If blank, a JSON\
- \ object representing the change will be included. Available context data\
- \ includes: event, model, timestamp,\
- \ username, request_id, and data."
- type: string
- secret:
- description: "When provided, the request will include a 'X-Hook-Signature'\
- \ header containing a HMAC hex digest of the payload body using the secret\
- \ as the key. The secret is not transmitted in the request."
- maxLength: 255
- type: string
- ssl_verification:
- description: Enable SSL certificate verification. Disable with caution!
- type: boolean
- ca_file_path:
- description: The specific CA certificate file to use for SSL verification.
- Leave blank to use the system defaults.
- maxLength: 4096
- type: string
required:
- - content_types
+ - authentication
- id
+ - mode
- name
- - payload_url
+ - ssid
type: object
ButtonClassEnum:
enum:
@@ -162576,7 +159671,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -162601,16 +159695,16 @@ components:
type: string
termination_a:
allOf:
- - $ref: '#/components/schemas/CableTermination'
+ - $ref: "#/components/schemas/CableTermination"
readOnly: true
termination_b:
allOf:
- - $ref: '#/components/schemas/CableTermination'
+ - $ref: "#/components/schemas/CableTermination"
readOnly: true
length_unit:
- $ref: '#/components/schemas/Cable_length_unit'
+ $ref: "#/components/schemas/Cable_length_unit"
type:
- $ref: '#/components/schemas/Cable_type'
+ $ref: "#/components/schemas/Cable_type"
termination_a_id:
format: uuid
type: string
@@ -162631,7 +159725,7 @@ components:
nullable: true
type: integer
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
created:
format: date-time
nullable: true
@@ -162651,12 +159745,11 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- created
- display
- - id
- last_updated
- natural_slug
- notes_url
@@ -162698,19 +159791,19 @@ components:
type: string
origin:
allOf:
- - $ref: '#/components/schemas/PathEndpoint'
+ - $ref: "#/components/schemas/PathEndpoint"
readOnly: true
destination_type:
readOnly: true
type: string
destination:
allOf:
- - $ref: '#/components/schemas/PathEndpoint'
+ - $ref: "#/components/schemas/PathEndpoint"
nullable: true
readOnly: true
path:
items:
- $ref: '#/components/schemas/CableTermination'
+ $ref: "#/components/schemas/CableTermination"
readOnly: true
type: array
origin_id:
@@ -162736,26 +159829,26 @@ components:
CableTermination:
discriminator:
mapping:
- circuits.circuittermination: '#/components/schemas/NestedCircuitTermination'
- dcim.consoleport: '#/components/schemas/NestedConsolePort'
- dcim.consoleserverport: '#/components/schemas/NestedConsoleServerPort'
- dcim.frontport: '#/components/schemas/NestedFrontPort'
- dcim.interface: '#/components/schemas/NestedInterface'
- dcim.powerfeed: '#/components/schemas/NestedPowerFeed'
- dcim.poweroutlet: '#/components/schemas/NestedPowerOutlet'
- dcim.powerport: '#/components/schemas/NestedPowerPort'
- dcim.rearport: '#/components/schemas/NestedRearPort'
+ circuits.circuittermination: "#/components/schemas/NestedCircuitTermination"
+ dcim.consoleport: "#/components/schemas/NestedConsolePort"
+ dcim.consoleserverport: "#/components/schemas/NestedConsoleServerPort"
+ dcim.frontport: "#/components/schemas/NestedFrontPort"
+ dcim.interface: "#/components/schemas/NestedInterface"
+ dcim.powerfeed: "#/components/schemas/NestedPowerFeed"
+ dcim.poweroutlet: "#/components/schemas/NestedPowerOutlet"
+ dcim.powerport: "#/components/schemas/NestedPowerPort"
+ dcim.rearport: "#/components/schemas/NestedRearPort"
propertyName: object_type
oneOf:
- - $ref: '#/components/schemas/NestedCircuitTermination'
- - $ref: '#/components/schemas/NestedConsolePort'
- - $ref: '#/components/schemas/NestedConsoleServerPort'
- - $ref: '#/components/schemas/NestedFrontPort'
- - $ref: '#/components/schemas/NestedInterface'
- - $ref: '#/components/schemas/NestedPowerFeed'
- - $ref: '#/components/schemas/NestedPowerOutlet'
- - $ref: '#/components/schemas/NestedPowerPort'
- - $ref: '#/components/schemas/NestedRearPort'
+ - $ref: "#/components/schemas/NestedCircuitTermination"
+ - $ref: "#/components/schemas/NestedConsolePort"
+ - $ref: "#/components/schemas/NestedConsoleServerPort"
+ - $ref: "#/components/schemas/NestedFrontPort"
+ - $ref: "#/components/schemas/NestedInterface"
+ - $ref: "#/components/schemas/NestedPowerFeed"
+ - $ref: "#/components/schemas/NestedPowerOutlet"
+ - $ref: "#/components/schemas/NestedPowerPort"
+ - $ref: "#/components/schemas/NestedRearPort"
CableTypeChoices:
enum:
- cat3
@@ -162783,6 +159876,17 @@ components:
- power
- other
type: string
+ CapabilitiesEnum:
+ enum:
+ - wireless
+ type: string
+ ChannelWidthEnum:
+ enum:
+ - 20
+ - 40
+ - 80
+ - 160
+ type: integer
Circuit:
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
@@ -162838,7 +159942,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -162878,17 +159981,17 @@ components:
comments:
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
provider:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
circuit_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
circuit_termination_a:
- $ref: '#/components/schemas/Circuit_circuit_termination_a'
+ $ref: "#/components/schemas/Circuit_circuit_termination_a"
circuit_termination_z:
- $ref: '#/components/schemas/Circuit_circuit_termination_a'
+ $ref: "#/components/schemas/Circuit_circuit_termination_a"
created:
format: date-time
nullable: true
@@ -162901,7 +160004,7 @@ components:
type: string
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
notes_url:
format: uri
@@ -162917,7 +160020,6 @@ components:
- circuit_type
- created
- display
- - id
- last_updated
- natural_slug
- notes_url
@@ -162932,6 +160034,17 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
example:
+ comments: comments
+ custom_fields:
+ key: ""
+ description: description
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
relationships:
key:
peer:
@@ -162968,7 +160081,6 @@ components:
label: label
type: one-to-many
url: https://openapi-generator.tech
- comments: comments
commit_rate: 171976544
provider:
object_type: app_label.modelname
@@ -162978,9 +160090,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- custom_fields:
- key: ""
- description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
install_date: 2000-01-23
tenant:
object_type: app_label.modelname
@@ -162991,14 +160101,10 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- tags:
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
cid:
maxLength: 255
minLength: 1
@@ -163021,23 +160127,23 @@ components:
comments:
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
provider:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
circuit_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- cid
@@ -163085,6 +160191,13 @@ components:
id: null
url: https://openapi-generator.tech
url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
xconnect_id: xconnect_id
upstream_speed: 1294386358
cable_peer_type: cable_peer_type
@@ -163095,7 +160208,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -163120,7 +160232,7 @@ components:
type: string
cable_peer:
allOf:
- - $ref: '#/components/schemas/CableTermination'
+ - $ref: "#/components/schemas/CableTermination"
nullable: true
readOnly: true
connected_endpoint_type:
@@ -163129,7 +160241,7 @@ components:
type: string
connected_endpoint:
allOf:
- - $ref: '#/components/schemas/PathEndpoint'
+ - $ref: "#/components/schemas/PathEndpoint"
nullable: true
readOnly: true
connected_endpoint_reachable:
@@ -163138,7 +160250,7 @@ components:
type: boolean
term_side:
allOf:
- - $ref: '#/components/schemas/TermSideEnum'
+ - $ref: "#/components/schemas/TermSideEnum"
title: Termination
port_speed:
maximum: 2147483647
@@ -163165,15 +160277,15 @@ components:
maxLength: 255
type: string
cable:
- $ref: '#/components/schemas/Circuit_circuit_termination_a'
+ $ref: "#/components/schemas/Circuit_circuit_termination_a"
circuit:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
location:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
provider_network:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
cloud_network:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
created:
format: date-time
nullable: true
@@ -163184,6 +160296,10 @@ components:
nullable: true
readOnly: true
type: string
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
notes_url:
format: uri
readOnly: true
@@ -163201,7 +160317,6 @@ components:
- connected_endpoint_type
- created
- display
- - id
- last_updated
- natural_slug
- notes_url
@@ -163215,6 +160330,30 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
example:
+ port_speed: 171976544
+ circuit:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ cloud_network:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ pp_info: pp_info
+ description: description
+ provider_network:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
xconnect_id: xconnect_id
relationships:
key:
@@ -163252,33 +160391,20 @@ components:
label: label
type: one-to-many
url: https://openapi-generator.tech
- port_speed: 171976544
upstream_speed: 1294386358
- circuit:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- custom_fields:
- key: ""
- cloud_network:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- pp_info: pp_info
- description: description
term_side: ""
location:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- provider_network:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
term_side:
allOf:
- - $ref: '#/components/schemas/TermSideEnum'
+ - $ref: "#/components/schemas/TermSideEnum"
title: Termination
port_speed:
maximum: 2147483647
@@ -163305,19 +160431,23 @@ components:
maxLength: 255
type: string
circuit:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
location:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
provider_network:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
cloud_network:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- circuit
@@ -163345,7 +160475,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -163393,7 +160522,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -163447,7 +160575,11 @@ components:
key: ""
name: name
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -163460,7 +160592,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- name
@@ -163502,7 +160634,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -163533,9 +160664,9 @@ components:
maxLength: 255
type: string
provider:
- $ref: '#/components/schemas/BulkWritableCloudAccountRequest_provider'
+ $ref: "#/components/schemas/BulkWritableCloudAccountRequest_provider"
secrets_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
created:
format: date-time
nullable: true
@@ -163555,13 +160686,12 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- account_number
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -163625,6 +160755,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
tags:
- object_type: app_label.modelname
id: null
@@ -163633,6 +160764,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
description: The name of this Cloud Account.
maxLength: 255
@@ -163647,19 +160781,19 @@ components:
minLength: 1
type: string
provider:
- $ref: '#/components/schemas/BulkWritableCloudAccountRequest_provider'
+ $ref: "#/components/schemas/BulkWritableCloudAccountRequest_provider"
secrets_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- account_number
@@ -163714,7 +160848,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -163742,14 +160875,14 @@ components:
maxLength: 255
type: string
cloud_resource_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
cloud_account:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
prefixes:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
readOnly: true
type: array
created:
@@ -163771,14 +160904,13 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- cloud_account
- cloud_resource_type
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -163808,7 +160940,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -163828,13 +160959,12 @@ components:
readOnly: true
type: string
cloud_network:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
prefix:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- cloud_network
- display
- - id
- natural_slug
- object_type
- prefix
@@ -163853,11 +160983,15 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
cloud_network:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
prefix:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- cloud_network
- prefix
@@ -163920,6 +161054,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
extra_config: ""
tags:
- object_type: app_label.modelname
@@ -163929,6 +161064,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
extra_config:
nullable: true
name:
@@ -163939,21 +161077,21 @@ components:
maxLength: 255
type: string
cloud_resource_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
cloud_account:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- cloud_account
@@ -163996,7 +161134,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -164029,7 +161166,7 @@ components:
config_schema:
nullable: true
provider:
- $ref: '#/components/schemas/BulkWritableCloudAccountRequest_provider'
+ $ref: "#/components/schemas/BulkWritableCloudAccountRequest_provider"
created:
format: date-time
nullable: true
@@ -164049,13 +161186,12 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- content_types
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -164117,6 +161253,7 @@ components:
content_types:
- content_types
- content_types
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
config_schema: ""
tags:
- object_type: app_label.modelname
@@ -164126,6 +161263,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
content_types:
items:
type: string
@@ -164141,17 +161281,17 @@ components:
config_schema:
nullable: true
provider:
- $ref: '#/components/schemas/BulkWritableCloudAccountRequest_provider'
+ $ref: "#/components/schemas/BulkWritableCloudAccountRequest_provider"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- content_types
@@ -164202,7 +161342,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -164230,12 +161369,12 @@ components:
maxLength: 255
type: string
cloud_resource_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
cloud_account:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
cloud_networks:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
readOnly: true
type: array
created:
@@ -164257,14 +161396,13 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- cloud_networks
- cloud_resource_type
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -164293,7 +161431,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -164313,14 +161450,13 @@ components:
readOnly: true
type: string
cloud_network:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
cloud_service:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- cloud_network
- cloud_service
- display
- - id
- natural_slug
- object_type
- url
@@ -164334,15 +161470,19 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
cloud_service:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
cloud_network:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
cloud_service:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- cloud_network
- cloud_service
@@ -164401,6 +161541,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
extra_config: ""
tags:
- object_type: app_label.modelname
@@ -164410,6 +161551,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
extra_config:
nullable: true
name:
@@ -164420,19 +161564,19 @@ components:
maxLength: 255
type: string
cloud_resource_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
cloud_account:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- cloud_resource_type
@@ -164484,7 +161628,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -164515,13 +161658,13 @@ components:
comments:
type: string
cluster_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
cluster_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
location:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
created:
format: date-time
nullable: true
@@ -164534,7 +161677,7 @@ components:
type: string
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
notes_url:
format: uri
@@ -164547,7 +161690,6 @@ components:
- cluster_type
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -164577,7 +161719,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -164625,7 +161766,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -164679,7 +161819,11 @@ components:
key: ""
name: name
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -164692,7 +161836,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- name
@@ -164751,6 +161895,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
cluster_type:
object_type: app_label.modelname
id: null
@@ -164767,6 +161912,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -164774,23 +161922,23 @@ components:
comments:
type: string
cluster_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
cluster_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
location:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- cluster_type
@@ -164818,7 +161966,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -164866,7 +162013,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -164920,7 +162066,11 @@ components:
key: ""
name: name
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -164933,7 +162083,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- name
@@ -164963,7 +162113,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -165037,7 +162186,6 @@ components:
- content_type
- created
- display
- - id
- label
- last_updated
- natural_slug
@@ -165057,10 +162205,14 @@ components:
content_type: content_type
description: description
weight: 2624
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
label: label
grouping: grouping
key: key
properties:
+ id:
+ format: uuid
+ type: string
content_type:
type: string
key:
@@ -165203,7 +162355,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -165227,7 +162378,7 @@ components:
type: string
owner:
allOf:
- - $ref: '#/components/schemas/ConfigContextOwner'
+ - $ref: "#/components/schemas/ConfigContextOwner"
nullable: true
readOnly: true
name:
@@ -165248,42 +162399,42 @@ components:
type: boolean
data: {}
config_context_schema:
- $ref: '#/components/schemas/BulkWritableConfigContextRequest_config_context_schema'
+ $ref: "#/components/schemas/BulkWritableConfigContextRequest_config_context_schema"
locations:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
roles:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
device_types:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
device_redundancy_groups:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
platforms:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
cluster_groups:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
clusters:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
tenant_groups:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
tenants:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
created:
format: date-time
@@ -165301,13 +162452,12 @@ components:
type: string
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- created
- data
- display
- - id
- last_updated
- name
- natural_slug
@@ -165317,12 +162467,7 @@ components:
- url
type: object
ConfigContextOwner:
- discriminator:
- mapping:
- extras.gitrepository: '#/components/schemas/NestedGitRepository'
- propertyName: object_type
- oneOf:
- - $ref: '#/components/schemas/NestedGitRepository'
+ $ref: "#/components/schemas/NestedGitRepository"
ConfigContextRequest:
description: |-
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
@@ -165395,6 +162540,7 @@ components:
- object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
device_types:
- object_type: app_label.modelname
id: null
@@ -165410,6 +162556,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
owner_content_type:
nullable: true
type: string
@@ -165432,46 +162581,46 @@ components:
type: boolean
data: {}
config_context_schema:
- $ref: '#/components/schemas/BulkWritableConfigContextRequest_config_context_schema'
+ $ref: "#/components/schemas/BulkWritableConfigContextRequest_config_context_schema"
locations:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
roles:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
device_types:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
device_redundancy_groups:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
platforms:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
cluster_groups:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
clusters:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
tenant_groups:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
tenants:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- data
@@ -165502,7 +162651,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -165526,7 +162674,7 @@ components:
type: string
owner:
allOf:
- - $ref: '#/components/schemas/ConfigContextSchemaOwner'
+ - $ref: "#/components/schemas/ConfigContextSchemaOwner"
nullable: true
readOnly: true
name:
@@ -165563,7 +162711,6 @@ components:
- created
- data_schema
- display
- - id
- last_updated
- name
- natural_slug
@@ -165573,12 +162720,7 @@ components:
- url
type: object
ConfigContextSchemaOwner:
- discriminator:
- mapping:
- extras.gitrepository: '#/components/schemas/NestedGitRepository'
- propertyName: object_type
- oneOf:
- - $ref: '#/components/schemas/NestedGitRepository'
+ $ref: "#/components/schemas/NestedGitRepository"
ConfigContextSchemaRequest:
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
@@ -165628,7 +162770,11 @@ components:
name: name
description: description
data_schema: ""
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
owner_content_type:
nullable: true
type: string
@@ -165651,7 +162797,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- data_schema
@@ -165706,7 +162852,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -165731,7 +162876,7 @@ components:
type: string
cable_peer:
allOf:
- - $ref: '#/components/schemas/CableTermination'
+ - $ref: "#/components/schemas/CableTermination"
nullable: true
readOnly: true
connected_endpoint_type:
@@ -165740,7 +162885,7 @@ components:
type: string
connected_endpoint:
allOf:
- - $ref: '#/components/schemas/PathEndpoint'
+ - $ref: "#/components/schemas/PathEndpoint"
nullable: true
readOnly: true
connected_endpoint_reachable:
@@ -165748,7 +162893,7 @@ components:
readOnly: true
type: boolean
type:
- $ref: '#/components/schemas/ConsolePort_type'
+ $ref: "#/components/schemas/ConsolePort_type"
name:
maxLength: 255
type: string
@@ -165760,11 +162905,11 @@ components:
maxLength: 255
type: string
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
cable:
- $ref: '#/components/schemas/Circuit_circuit_termination_a'
+ $ref: "#/components/schemas/Circuit_circuit_termination_a"
created:
format: date-time
nullable: true
@@ -165784,7 +162929,7 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- cable
@@ -165795,7 +162940,6 @@ components:
- connected_endpoint_type
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -165836,7 +162980,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -165860,7 +163003,7 @@ components:
readOnly: true
type: string
type:
- $ref: '#/components/schemas/ConsolePort_type'
+ $ref: "#/components/schemas/ConsolePort_type"
name:
maxLength: 255
type: string
@@ -165872,9 +163015,9 @@ components:
maxLength: 255
type: string
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
created:
format: date-time
nullable: true
@@ -165891,7 +163034,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -165966,7 +163108,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -165991,7 +163132,7 @@ components:
type: string
cable_peer:
allOf:
- - $ref: '#/components/schemas/CableTermination'
+ - $ref: "#/components/schemas/CableTermination"
nullable: true
readOnly: true
connected_endpoint_type:
@@ -166000,7 +163141,7 @@ components:
type: string
connected_endpoint:
allOf:
- - $ref: '#/components/schemas/PathEndpoint'
+ - $ref: "#/components/schemas/PathEndpoint"
nullable: true
readOnly: true
connected_endpoint_reachable:
@@ -166008,7 +163149,7 @@ components:
readOnly: true
type: boolean
type:
- $ref: '#/components/schemas/ConsolePort_type'
+ $ref: "#/components/schemas/ConsolePort_type"
name:
maxLength: 255
type: string
@@ -166020,11 +163161,11 @@ components:
maxLength: 255
type: string
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
cable:
- $ref: '#/components/schemas/Circuit_circuit_termination_a'
+ $ref: "#/components/schemas/Circuit_circuit_termination_a"
created:
format: date-time
nullable: true
@@ -166044,7 +163185,7 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- cable
@@ -166055,7 +163196,6 @@ components:
- connected_endpoint_type
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -166096,7 +163236,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -166120,7 +163259,7 @@ components:
readOnly: true
type: string
type:
- $ref: '#/components/schemas/ConsolePort_type'
+ $ref: "#/components/schemas/ConsolePort_type"
name:
maxLength: 255
type: string
@@ -166132,9 +163271,9 @@ components:
maxLength: 255
type: string
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
created:
format: date-time
nullable: true
@@ -166151,7 +163290,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -166183,6 +163321,13 @@ components:
display: display
natural_slug: attribute1_attribute2
url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
phone: ""
name: name
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
@@ -166190,7 +163335,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -166209,10 +163353,6 @@ components:
example: attribute1_attribute2
readOnly: true
type: string
- teams:
- items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
- type: array
name:
maxLength: 255
type: string
@@ -166222,7 +163362,6 @@ components:
type: string
email:
default: ""
- format: email
maxLength: 254
title: E-mail
type: string
@@ -166247,10 +163386,17 @@ components:
custom_fields:
additionalProperties: {}
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ teams:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -166295,7 +163441,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -166320,13 +163465,13 @@ components:
format: uuid
type: string
contact:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
team:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
role:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
created:
format: date-time
nullable: true
@@ -166349,7 +163494,6 @@ components:
- associated_object_type
- created
- display
- - id
- last_updated
- natural_slug
- notes_url
@@ -166411,6 +163555,7 @@ components:
id: null
url: https://openapi-generator.tech
associated_object_type: associated_object_type
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
team:
object_type: app_label.modelname
id: null
@@ -166421,25 +163566,28 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
associated_object_type:
type: string
associated_object_id:
format: uuid
type: string
contact:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
team:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
role:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- associated_object_id
@@ -166502,12 +163650,19 @@ components:
custom_fields:
key: ""
name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
email: ""
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
properties:
- teams:
- items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
- type: array
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -166518,7 +163673,6 @@ components:
type: string
email:
default: ""
- format: email
maxLength: 254
title: E-mail
type: string
@@ -166531,8 +163685,16 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ teams:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
required:
- name
type: object
@@ -166602,6 +163764,11 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
example:
last_updated: 2000-01-23T04:56:07.000+00:00
+ capabilities:
+ - label: Wireless
+ value: wireless
+ - label: Wireless
+ value: wireless
role:
object_type: app_label.modelname
id: null
@@ -166655,7 +163822,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -166674,6 +163840,11 @@ components:
example: attribute1_attribute2
readOnly: true
type: string
+ capabilities:
+ items:
+ $ref: "#/components/schemas/Controller_capabilities_inner"
+ nullable: true
+ type: array
name:
maxLength: 255
type: string
@@ -166681,21 +163852,166 @@ components:
maxLength: 255
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
platform:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
external_integration:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
controller_device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
controller_device_redundancy_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ created:
+ format: date-time
+ nullable: true
+ readOnly: true
+ type: string
+ last_updated:
+ format: date-time
+ nullable: true
+ readOnly: true
+ type: string
+ notes_url:
+ format: uri
+ readOnly: true
+ type: string
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ required:
+ - created
+ - display
+ - last_updated
+ - location
+ - name
+ - natural_slug
+ - notes_url
+ - object_type
+ - status
+ - url
+ type: object
+ ControllerManagedDeviceGroup:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ wireless_networks:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ parent:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ controller:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ last_updated: 2000-01-23T04:56:07.000+00:00
+ capabilities:
+ - label: Wireless
+ value: wireless
+ - label: Wireless
+ value: wireless
+ object_type: app_label.modelname
+ created: 2000-01-23T04:56:07.000+00:00
+ notes_url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ display: display
+ natural_slug: attribute1_attribute2
+ description: description
+ weight: 171976544
+ url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ radio_profiles:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ tenant:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ object_type:
+ example: app_label.modelname
+ pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
+ readOnly: true
+ type: string
+ display:
+ description: Human friendly display value
+ readOnly: true
+ type: string
+ url:
+ format: uri
+ readOnly: true
+ type: string
+ natural_slug:
+ example: attribute1_attribute2
+ readOnly: true
+ type: string
+ capabilities:
+ items:
+ $ref: "#/components/schemas/Controller_capabilities_inner"
+ nullable: true
+ type: array
+ name:
+ description: Name of the controller device group
+ maxLength: 255
+ type: string
+ description:
+ maxLength: 255
+ type: string
+ weight:
+ description: "Weight of the controller device group, used to sort the groups\
+ \ within its parent group"
+ maximum: 2147483647
+ minimum: 0
+ type: integer
+ parent:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ controller:
+ $ref: "#/components/schemas/BulkWritableControllerManagedDeviceGroupRequest_controller"
+ tenant:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ radio_profiles:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ readOnly: true
+ type: array
+ wireless_networks:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ readOnly: true
+ type: array
created:
format: date-time
nullable: true
@@ -166715,58 +164031,42 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
+ - controller
- created
- display
- - id
- last_updated
- - location
- name
- natural_slug
- notes_url
- object_type
- - status
+ - radio_profiles
- url
+ - wireless_networks
type: object
- ControllerManagedDeviceGroup:
+ ControllerManagedDeviceGroupRadioProfileAssignment:
description: |-
- Base class to use for serializers based on OrganizationalModel or PrimaryModel.
-
- Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
example:
- parent:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- controller:
- object_type: app_label.modelname
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- last_updated: 2000-01-23T04:56:07.000+00:00
object_type: app_label.modelname
- created: 2000-01-23T04:56:07.000+00:00
- notes_url: https://openapi-generator.tech
- custom_fields:
- key: ""
display: display
natural_slug: attribute1_attribute2
- weight: 171976544
- url: https://openapi-generator.tech
- tags:
- - object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ radio_profile:
+ object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- - object_type: app_label.modelname
+ url: https://openapi-generator.tech
+ controller_managed_device_group:
+ object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- name: name
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -166785,53 +164085,44 @@ components:
example: attribute1_attribute2
readOnly: true
type: string
- name:
- description: Name of the controller device group
- maxLength: 255
- type: string
- weight:
- description: "Weight of the controller device group, used to sort the groups\
- \ within its parent group"
- maximum: 2147483647
- minimum: 0
- type: integer
- parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
- controller:
- $ref: '#/components/schemas/BulkWritableControllerManagedDeviceGroupRequest_controller'
- created:
- format: date-time
- nullable: true
- readOnly: true
- type: string
- last_updated:
- format: date-time
- nullable: true
- readOnly: true
- type: string
- notes_url:
- format: uri
- readOnly: true
- type: string
- custom_fields:
- additionalProperties: {}
- type: object
- tags:
- items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
- type: array
+ controller_managed_device_group:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ radio_profile:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- - controller
- - created
+ - controller_managed_device_group
- display
- - id
- - last_updated
- - name
- natural_slug
- - notes_url
- object_type
+ - radio_profile
- url
type: object
+ ControllerManagedDeviceGroupRadioProfileAssignmentRequest:
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ example:
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ radio_profile:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ controller_managed_device_group:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ controller_managed_device_group:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ radio_profile:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ required:
+ - controller_managed_device_group
+ - radio_profile
+ type: object
ControllerManagedDeviceGroupRequest:
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
@@ -166882,10 +164173,19 @@ components:
object_type: app_label.modelname
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
url: https://openapi-generator.tech
+ capabilities:
+ - wireless
+ - wireless
custom_fields:
key: ""
name: name
+ description: description
weight: 171976544
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ tenant:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
tags:
- object_type: app_label.modelname
id: null
@@ -166894,11 +164194,22 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
+ capabilities:
+ items:
+ $ref: "#/components/schemas/CapabilitiesEnum"
+ nullable: true
+ type: array
name:
description: Name of the controller device group
maxLength: 255
minLength: 1
type: string
+ description:
+ maxLength: 255
+ type: string
weight:
description: "Weight of the controller device group, used to sort the groups\
\ within its parent group"
@@ -166906,30 +164217,124 @@ components:
minimum: 0
type: integer
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
controller:
- $ref: '#/components/schemas/BulkWritableControllerManagedDeviceGroupRequest_controller'
+ $ref: "#/components/schemas/BulkWritableControllerManagedDeviceGroupRequest_controller"
+ tenant:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- controller
- name
type: object
+ ControllerManagedDeviceGroupWirelessNetworkAssignment:
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ example:
+ vlan:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ object_type: app_label.modelname
+ wireless_network:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ display: display
+ natural_slug: attribute1_attribute2
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ controller_managed_device_group:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ object_type:
+ example: app_label.modelname
+ pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
+ readOnly: true
+ type: string
+ display:
+ description: Human friendly display value
+ readOnly: true
+ type: string
+ url:
+ format: uri
+ readOnly: true
+ type: string
+ natural_slug:
+ example: attribute1_attribute2
+ readOnly: true
+ type: string
+ controller_managed_device_group:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ wireless_network:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ vlan:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ required:
+ - controller_managed_device_group
+ - display
+ - natural_slug
+ - object_type
+ - url
+ - wireless_network
+ type: object
+ ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest:
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ example:
+ vlan:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ wireless_network:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ controller_managed_device_group:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ controller_managed_device_group:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ wireless_network:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ vlan:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ required:
+ - controller_managed_device_group
+ - wireless_network
+ type: object
ControllerRequest:
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
example:
+ capabilities:
+ - wireless
+ - wireless
role:
object_type: app_label.modelname
id: null
@@ -166993,6 +164398,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
external_integration:
object_type: app_label.modelname
id: null
@@ -167010,6 +164416,14 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
+ capabilities:
+ items:
+ $ref: "#/components/schemas/CapabilitiesEnum"
+ nullable: true
+ type: array
name:
maxLength: 255
minLength: 1
@@ -167018,31 +164432,31 @@ components:
maxLength: 255
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
platform:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
external_integration:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
controller_device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
controller_device_redundancy_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- location
@@ -167085,7 +164499,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -167109,9 +164522,9 @@ components:
type: string
type: array
type:
- $ref: '#/components/schemas/CustomField_type'
+ $ref: "#/components/schemas/CustomField_type"
filter_logic:
- $ref: '#/components/schemas/CustomField_filter_logic'
+ $ref: "#/components/schemas/CustomField_filter_logic"
label:
maxLength: 50
type: string
@@ -167192,7 +164605,6 @@ components:
- content_types
- created
- display
- - id
- label
- last_updated
- natural_slug
@@ -167222,7 +164634,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -167250,7 +164661,7 @@ components:
minimum: 0
type: integer
custom_field:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
created:
format: date-time
nullable: true
@@ -167265,7 +164676,6 @@ components:
- created
- custom_field
- display
- - id
- last_updated
- natural_slug
- object_type
@@ -167282,8 +164692,12 @@ components:
id: null
url: https://openapi-generator.tech
weight: 2624
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
value: value
properties:
+ id:
+ format: uuid
+ type: string
value:
maxLength: 255
minLength: 1
@@ -167294,7 +164708,7 @@ components:
minimum: 0
type: integer
custom_field:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- custom_field
- value
@@ -167335,7 +164749,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -167381,7 +164794,7 @@ components:
type: string
button_class:
allOf:
- - $ref: '#/components/schemas/ButtonClassEnum'
+ - $ref: "#/components/schemas/ButtonClassEnum"
description: The class of the first link in a group will be used for the
dropdown button
new_window:
@@ -167405,7 +164818,6 @@ components:
- content_type
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -167428,8 +164840,12 @@ components:
weight: 2624
button_class: ""
new_window: true
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
text: text
properties:
+ id:
+ format: uuid
+ type: string
content_type:
type: string
name:
@@ -167460,7 +164876,7 @@ components:
type: string
button_class:
allOf:
- - $ref: '#/components/schemas/ButtonClassEnum'
+ - $ref: "#/components/schemas/ButtonClassEnum"
description: The class of the first link in a group will be used for the
dropdown button
new_window:
@@ -167606,7 +165022,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -167626,7 +165041,7 @@ components:
readOnly: true
type: string
face:
- $ref: '#/components/schemas/Device_face'
+ $ref: "#/components/schemas/Device_face"
local_config_context_data:
nullable: true
local_config_context_data_owner_object_id:
@@ -167674,44 +165089,44 @@ components:
comments:
type: string
local_config_context_schema:
- $ref: '#/components/schemas/BulkWritableConfigContextRequest_config_context_schema'
+ $ref: "#/components/schemas/BulkWritableConfigContextRequest_config_context_schema"
local_config_context_data_owner_content_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
device_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
platform:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
rack:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
primary_ip4:
- $ref: '#/components/schemas/Primary_IPv4'
+ $ref: "#/components/schemas/Primary_IPv4"
primary_ip6:
- $ref: '#/components/schemas/Primary_IPv6'
+ $ref: "#/components/schemas/Primary_IPv6"
cluster:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
virtual_chassis:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
device_redundancy_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
software_version:
- $ref: '#/components/schemas/BulkWritableDeviceRequest_software_version'
+ $ref: "#/components/schemas/BulkWritableDeviceRequest_software_version"
secrets_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
controller_managed_device_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
software_image_files:
description: Override the software image files associated with the software
version for this device
items:
- $ref: '#/components/schemas/Software_Image_Files'
+ $ref: "#/components/schemas/Software_Image_Files"
type: array
created:
format: date-time
@@ -167732,15 +165147,14 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
parent_bay:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
required:
- created
- device_type
- display
- - id
- last_updated
- location
- natural_slug
@@ -167787,7 +165201,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -167817,9 +165230,9 @@ components:
maxLength: 255
type: string
device:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
installed_device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
created:
format: date-time
nullable: true
@@ -167839,13 +165252,12 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- created
- device
- display
- - id
- last_updated
- name
- natural_slug
@@ -167903,6 +165315,7 @@ components:
id: null
url: https://openapi-generator.tech
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
label: label
device:
object_type: app_label.modelname
@@ -167916,6 +165329,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -167928,19 +165344,19 @@ components:
maxLength: 255
type: string
device:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
installed_device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- device
@@ -167972,7 +165388,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -168006,7 +165421,7 @@ components:
maxLength: 255
type: string
device_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
created:
format: date-time
nullable: true
@@ -168024,7 +165439,6 @@ components:
- created
- device_type
- display
- - id
- last_updated
- name
- natural_slug
@@ -168082,8 +165496,12 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
label: label
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -168096,13 +165514,13 @@ components:
maxLength: 255
type: string
device_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- device_type
@@ -168122,15 +165540,21 @@ components:
key: ""
display: display
natural_slug: attribute1_attribute2
- name: name
description: description
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
device_type_count: 0
url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -168175,10 +165599,13 @@ components:
custom_fields:
additionalProperties: {}
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -168232,7 +165659,18 @@ components:
key: ""
name: name
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -168245,8 +165683,12 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
required:
- name
type: object
@@ -168301,7 +165743,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -168321,7 +165762,7 @@ components:
readOnly: true
type: string
failover_strategy:
- $ref: '#/components/schemas/DeviceRedundancyGroup_failover_strategy'
+ $ref: "#/components/schemas/DeviceRedundancyGroup_failover_strategy"
name:
maxLength: 255
type: string
@@ -168331,9 +165772,9 @@ components:
comments:
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
secrets_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
created:
format: date-time
nullable: true
@@ -168353,12 +165794,11 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -168419,7 +165859,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -168439,7 +165878,7 @@ components:
readOnly: true
type: string
subdevice_role:
- $ref: '#/components/schemas/DeviceType_subdevice_role'
+ $ref: "#/components/schemas/DeviceType_subdevice_role"
front_image:
format: uri
nullable: true
@@ -168469,12 +165908,12 @@ components:
comments:
type: string
manufacturer:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
device_family:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
software_image_files:
items:
- $ref: '#/components/schemas/Software_Image_Files'
+ $ref: "#/components/schemas/Software_Image_Files"
readOnly: true
type: array
created:
@@ -168496,12 +165935,11 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- created
- display
- - id
- last_updated
- manufacturer
- model
@@ -168534,7 +165972,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -168554,9 +165991,9 @@ components:
readOnly: true
type: string
device_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
software_image_file:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
created:
format: date-time
nullable: true
@@ -168571,7 +166008,6 @@ components:
- created
- device_type
- display
- - id
- last_updated
- natural_slug
- object_type
@@ -168591,11 +166027,15 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
device_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
software_image_file:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- device_type
- software_image_file
@@ -168642,7 +166082,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -168670,15 +166109,15 @@ components:
maxLength: 255
type: string
group_type:
- $ref: '#/components/schemas/GroupTypeEnum'
+ $ref: "#/components/schemas/GroupTypeEnum"
filter:
description: A JSON-encoded dictionary of filter parameters defining membership
of this group
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
children:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
readOnly: true
type: array
created:
@@ -168700,14 +166139,13 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- children
- content_type
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -168718,182 +166156,194 @@ components:
DynamicGroupAssociatedObject:
discriminator:
mapping:
- circuits.circuit: '#/components/schemas/NestedCircuit'
- dcim.cable: '#/components/schemas/NestedCable'
- dcim.device: '#/components/schemas/NestedDevice'
- dcim.powerfeed: '#/components/schemas/NestedPowerFeed'
- dcim.rack: '#/components/schemas/NestedRack'
- ipam.ipaddress: '#/components/schemas/NestedIPAddress'
- ipam.prefix: '#/components/schemas/NestedPrefix'
- ipam.vlan: '#/components/schemas/NestedVLAN'
- virtualization.virtualmachine: '#/components/schemas/NestedVirtualMachine'
- extras.customfield: '#/components/schemas/NestedCustomField'
- extras.job: '#/components/schemas/NestedJob'
- virtualization.vminterface: '#/components/schemas/NestedVMInterface'
- dcim.interface: '#/components/schemas/NestedInterface'
- dcim.location: '#/components/schemas/NestedLocation'
- extras.role: '#/components/schemas/NestedRole'
- dcim.deviceredundancygroup: '#/components/schemas/NestedDeviceRedundancyGroup'
- dcim.interfaceredundancygroup: '#/components/schemas/NestedInterfaceRedundancyGroup'
- dcim.softwareimagefile: '#/components/schemas/NestedSoftwareImageFile'
- dcim.softwareversion: '#/components/schemas/NestedSoftwareVersion'
- dcim.controller: '#/components/schemas/NestedController'
- dcim.module: '#/components/schemas/NestedModule'
- ipam.vrf: '#/components/schemas/NestedVRF'
- circuits.circuittermination: '#/components/schemas/NestedCircuitTermination'
- circuits.circuittype: '#/components/schemas/NestedCircuitType'
- circuits.provider: '#/components/schemas/NestedProvider'
- circuits.providernetwork: '#/components/schemas/NestedProviderNetwork'
- cloud.cloudaccount: '#/components/schemas/NestedCloudAccount'
- cloud.cloudnetwork: '#/components/schemas/NestedCloudNetwork'
- cloud.cloudresourcetype: '#/components/schemas/NestedCloudResourceType'
- cloud.cloudservice: '#/components/schemas/NestedCloudService'
- dcim.consoleport: '#/components/schemas/NestedConsolePort'
- dcim.consoleporttemplate: '#/components/schemas/NestedConsolePortTemplate'
- dcim.consoleserverport: '#/components/schemas/NestedConsoleServerPort'
- dcim.consoleserverporttemplate: '#/components/schemas/NestedConsoleServerPortTemplate'
- dcim.devicebay: '#/components/schemas/NestedDeviceBay'
- dcim.devicebaytemplate: '#/components/schemas/NestedDeviceBayTemplate'
- dcim.devicetype: '#/components/schemas/NestedDeviceType'
- dcim.frontport: '#/components/schemas/NestedFrontPort'
- dcim.frontporttemplate: '#/components/schemas/NestedFrontPortTemplate'
- dcim.interfacetemplate: '#/components/schemas/NestedInterfaceTemplate'
- dcim.inventoryitem: '#/components/schemas/NestedInventoryItem'
- dcim.manufacturer: '#/components/schemas/NestedManufacturer'
- dcim.platform: '#/components/schemas/NestedPlatform'
- dcim.poweroutlet: '#/components/schemas/NestedPowerOutlet'
- dcim.poweroutlettemplate: '#/components/schemas/NestedPowerOutletTemplate'
- dcim.powerpanel: '#/components/schemas/NestedPowerPanel'
- dcim.powerport: '#/components/schemas/NestedPowerPort'
- dcim.powerporttemplate: '#/components/schemas/NestedPowerPortTemplate'
- dcim.rackgroup: '#/components/schemas/NestedRackGroup'
- dcim.rackreservation: '#/components/schemas/NestedRackReservation'
- dcim.rearport: '#/components/schemas/NestedRearPort'
- dcim.rearporttemplate: '#/components/schemas/NestedRearPortTemplate'
- dcim.virtualchassis: '#/components/schemas/NestedVirtualChassis'
- dcim.locationtype: '#/components/schemas/NestedLocationType'
- dcim.devicefamily: '#/components/schemas/NestedDeviceFamily'
- dcim.controllermanageddevicegroup: '#/components/schemas/NestedControllerManagedDeviceGroup'
- dcim.modulebay: '#/components/schemas/NestedModuleBay'
- dcim.modulebaytemplate: '#/components/schemas/NestedModuleBayTemplate'
- dcim.moduletype: '#/components/schemas/NestedModuleType'
- ipam.rir: '#/components/schemas/NestedRIR'
- ipam.routetarget: '#/components/schemas/NestedRouteTarget'
- ipam.vlangroup: '#/components/schemas/NestedVLANGroup'
- ipam.service: '#/components/schemas/NestedService'
- ipam.namespace: '#/components/schemas/NestedNamespace'
- extras.customlink: '#/components/schemas/NestedCustomLink'
- extras.exporttemplate: '#/components/schemas/NestedExportTemplate'
- extras.gitrepository: '#/components/schemas/NestedGitRepository'
- extras.relationship: '#/components/schemas/NestedRelationship'
- extras.tag: '#/components/schemas/NestedTag'
- extras.webhook: '#/components/schemas/NestedWebhook'
- extras.status: '#/components/schemas/NestedStatus'
- extras.graphqlquery: '#/components/schemas/NestedGraphQLQuery'
- extras.configcontextschema: '#/components/schemas/NestedConfigContextSchema'
- extras.computedfield: '#/components/schemas/NestedComputedField'
- extras.secret: '#/components/schemas/NestedSecret'
- extras.secretsgroup: '#/components/schemas/NestedSecretsGroup'
- extras.jobhook: '#/components/schemas/NestedJobHook'
- extras.jobbutton: '#/components/schemas/NestedJobButton'
- extras.externalintegration: '#/components/schemas/NestedExternalIntegration'
- extras.contact: '#/components/schemas/NestedContact'
- extras.team: '#/components/schemas/NestedTeam'
- extras.metadatatype: '#/components/schemas/NestedMetadataType'
- tenancy.tenantgroup: '#/components/schemas/NestedTenantGroup'
- tenancy.tenant: '#/components/schemas/NestedTenant'
- virtualization.cluster: '#/components/schemas/NestedCluster'
- virtualization.clustergroup: '#/components/schemas/NestedClusterGroup'
- virtualization.clustertype: '#/components/schemas/NestedClusterType'
+ circuits.circuit: "#/components/schemas/NestedCircuit"
+ dcim.cable: "#/components/schemas/NestedCable"
+ dcim.device: "#/components/schemas/NestedDevice"
+ dcim.powerfeed: "#/components/schemas/NestedPowerFeed"
+ dcim.rack: "#/components/schemas/NestedRack"
+ ipam.ipaddress: "#/components/schemas/NestedIPAddress"
+ ipam.prefix: "#/components/schemas/NestedPrefix"
+ ipam.vlan: "#/components/schemas/NestedVLAN"
+ virtualization.virtualmachine: "#/components/schemas/NestedVirtualMachine"
+ extras.customfield: "#/components/schemas/NestedCustomField"
+ extras.job: "#/components/schemas/NestedJob"
+ virtualization.vminterface: "#/components/schemas/NestedVMInterface"
+ dcim.interface: "#/components/schemas/NestedInterface"
+ dcim.location: "#/components/schemas/NestedLocation"
+ extras.role: "#/components/schemas/NestedRole"
+ dcim.deviceredundancygroup: "#/components/schemas/NestedDeviceRedundancyGroup"
+ dcim.interfaceredundancygroup: "#/components/schemas/NestedInterfaceRedundancyGroup"
+ dcim.softwareimagefile: "#/components/schemas/NestedSoftwareImageFile"
+ dcim.softwareversion: "#/components/schemas/NestedSoftwareVersion"
+ dcim.controller: "#/components/schemas/NestedController"
+ dcim.module: "#/components/schemas/NestedModule"
+ ipam.vrf: "#/components/schemas/NestedVRF"
+ dcim.virtualdevicecontext: "#/components/schemas/NestedVirtualDeviceContext"
+ circuits.circuittermination: "#/components/schemas/NestedCircuitTermination"
+ circuits.circuittype: "#/components/schemas/NestedCircuitType"
+ circuits.provider: "#/components/schemas/NestedProvider"
+ circuits.providernetwork: "#/components/schemas/NestedProviderNetwork"
+ cloud.cloudaccount: "#/components/schemas/NestedCloudAccount"
+ cloud.cloudnetwork: "#/components/schemas/NestedCloudNetwork"
+ cloud.cloudresourcetype: "#/components/schemas/NestedCloudResourceType"
+ cloud.cloudservice: "#/components/schemas/NestedCloudService"
+ dcim.consoleport: "#/components/schemas/NestedConsolePort"
+ dcim.consoleporttemplate: "#/components/schemas/NestedConsolePortTemplate"
+ dcim.consoleserverport: "#/components/schemas/NestedConsoleServerPort"
+ dcim.consoleserverporttemplate: "#/components/schemas/NestedConsoleServerPortTemplate"
+ dcim.devicebay: "#/components/schemas/NestedDeviceBay"
+ dcim.devicebaytemplate: "#/components/schemas/NestedDeviceBayTemplate"
+ dcim.devicetype: "#/components/schemas/NestedDeviceType"
+ dcim.frontport: "#/components/schemas/NestedFrontPort"
+ dcim.frontporttemplate: "#/components/schemas/NestedFrontPortTemplate"
+ dcim.interfacetemplate: "#/components/schemas/NestedInterfaceTemplate"
+ dcim.inventoryitem: "#/components/schemas/NestedInventoryItem"
+ dcim.manufacturer: "#/components/schemas/NestedManufacturer"
+ dcim.platform: "#/components/schemas/NestedPlatform"
+ dcim.poweroutlet: "#/components/schemas/NestedPowerOutlet"
+ dcim.poweroutlettemplate: "#/components/schemas/NestedPowerOutletTemplate"
+ dcim.powerpanel: "#/components/schemas/NestedPowerPanel"
+ dcim.powerport: "#/components/schemas/NestedPowerPort"
+ dcim.powerporttemplate: "#/components/schemas/NestedPowerPortTemplate"
+ dcim.rackgroup: "#/components/schemas/NestedRackGroup"
+ dcim.rackreservation: "#/components/schemas/NestedRackReservation"
+ dcim.rearport: "#/components/schemas/NestedRearPort"
+ dcim.rearporttemplate: "#/components/schemas/NestedRearPortTemplate"
+ dcim.virtualchassis: "#/components/schemas/NestedVirtualChassis"
+ dcim.locationtype: "#/components/schemas/NestedLocationType"
+ dcim.devicefamily: "#/components/schemas/NestedDeviceFamily"
+ dcim.controllermanageddevicegroup: "#/components/schemas/NestedControllerManagedDeviceGroup"
+ dcim.modulebay: "#/components/schemas/NestedModuleBay"
+ dcim.modulebaytemplate: "#/components/schemas/NestedModuleBayTemplate"
+ dcim.moduletype: "#/components/schemas/NestedModuleType"
+ dcim.modulefamily: "#/components/schemas/NestedModuleFamily"
+ ipam.rir: "#/components/schemas/NestedRIR"
+ ipam.routetarget: "#/components/schemas/NestedRouteTarget"
+ ipam.vlangroup: "#/components/schemas/NestedVLANGroup"
+ ipam.service: "#/components/schemas/NestedService"
+ ipam.namespace: "#/components/schemas/NestedNamespace"
+ extras.customlink: "#/components/schemas/NestedCustomLink"
+ extras.exporttemplate: "#/components/schemas/NestedExportTemplate"
+ extras.gitrepository: "#/components/schemas/NestedGitRepository"
+ extras.relationship: "#/components/schemas/NestedRelationship"
+ extras.tag: "#/components/schemas/NestedTag"
+ extras.webhook: "#/components/schemas/NestedWebhook"
+ extras.status: "#/components/schemas/NestedStatus"
+ extras.graphqlquery: "#/components/schemas/NestedGraphQLQuery"
+ extras.configcontextschema: "#/components/schemas/NestedConfigContextSchema"
+ extras.computedfield: "#/components/schemas/NestedComputedField"
+ extras.secret: "#/components/schemas/NestedSecret"
+ extras.secretsgroup: "#/components/schemas/NestedSecretsGroup"
+ extras.jobhook: "#/components/schemas/NestedJobHook"
+ extras.jobbutton: "#/components/schemas/NestedJobButton"
+ extras.externalintegration: "#/components/schemas/NestedExternalIntegration"
+ extras.contact: "#/components/schemas/NestedContact"
+ extras.team: "#/components/schemas/NestedTeam"
+ extras.metadatatype: "#/components/schemas/NestedMetadataType"
+ extras.jobqueue: "#/components/schemas/NestedJobQueue"
+ tenancy.tenantgroup: "#/components/schemas/NestedTenantGroup"
+ tenancy.tenant: "#/components/schemas/NestedTenant"
+ virtualization.cluster: "#/components/schemas/NestedCluster"
+ virtualization.clustergroup: "#/components/schemas/NestedClusterGroup"
+ virtualization.clustertype: "#/components/schemas/NestedClusterType"
+ wireless.wirelessnetwork: "#/components/schemas/NestedWirelessNetwork"
+ wireless.supporteddatarate: "#/components/schemas/NestedSupportedDataRate"
+ wireless.radioprofile: "#/components/schemas/NestedRadioProfile"
propertyName: object_type
oneOf:
- - $ref: '#/components/schemas/NestedCircuit'
- - $ref: '#/components/schemas/NestedCable'
- - $ref: '#/components/schemas/NestedDevice'
- - $ref: '#/components/schemas/NestedPowerFeed'
- - $ref: '#/components/schemas/NestedRack'
- - $ref: '#/components/schemas/NestedIPAddress'
- - $ref: '#/components/schemas/NestedPrefix'
- - $ref: '#/components/schemas/NestedVLAN'
- - $ref: '#/components/schemas/NestedVirtualMachine'
- - $ref: '#/components/schemas/NestedCustomField'
- - $ref: '#/components/schemas/NestedJob'
- - $ref: '#/components/schemas/NestedVMInterface'
- - $ref: '#/components/schemas/NestedInterface'
- - $ref: '#/components/schemas/NestedLocation'
- - $ref: '#/components/schemas/NestedRole'
- - $ref: '#/components/schemas/NestedDeviceRedundancyGroup'
- - $ref: '#/components/schemas/NestedInterfaceRedundancyGroup'
- - $ref: '#/components/schemas/NestedSoftwareImageFile'
- - $ref: '#/components/schemas/NestedSoftwareVersion'
- - $ref: '#/components/schemas/NestedController'
- - $ref: '#/components/schemas/NestedModule'
- - $ref: '#/components/schemas/NestedVRF'
- - $ref: '#/components/schemas/NestedCircuitTermination'
- - $ref: '#/components/schemas/NestedCircuitType'
- - $ref: '#/components/schemas/NestedProvider'
- - $ref: '#/components/schemas/NestedProviderNetwork'
- - $ref: '#/components/schemas/NestedCloudAccount'
- - $ref: '#/components/schemas/NestedCloudNetwork'
- - $ref: '#/components/schemas/NestedCloudResourceType'
- - $ref: '#/components/schemas/NestedCloudService'
- - $ref: '#/components/schemas/NestedConsolePort'
- - $ref: '#/components/schemas/NestedConsolePortTemplate'
- - $ref: '#/components/schemas/NestedConsoleServerPort'
- - $ref: '#/components/schemas/NestedConsoleServerPortTemplate'
- - $ref: '#/components/schemas/NestedDeviceBay'
- - $ref: '#/components/schemas/NestedDeviceBayTemplate'
- - $ref: '#/components/schemas/NestedDeviceType'
- - $ref: '#/components/schemas/NestedFrontPort'
- - $ref: '#/components/schemas/NestedFrontPortTemplate'
- - $ref: '#/components/schemas/NestedInterfaceTemplate'
- - $ref: '#/components/schemas/NestedInventoryItem'
- - $ref: '#/components/schemas/NestedManufacturer'
- - $ref: '#/components/schemas/NestedPlatform'
- - $ref: '#/components/schemas/NestedPowerOutlet'
- - $ref: '#/components/schemas/NestedPowerOutletTemplate'
- - $ref: '#/components/schemas/NestedPowerPanel'
- - $ref: '#/components/schemas/NestedPowerPort'
- - $ref: '#/components/schemas/NestedPowerPortTemplate'
- - $ref: '#/components/schemas/NestedRackGroup'
- - $ref: '#/components/schemas/NestedRackReservation'
- - $ref: '#/components/schemas/NestedRearPort'
- - $ref: '#/components/schemas/NestedRearPortTemplate'
- - $ref: '#/components/schemas/NestedVirtualChassis'
- - $ref: '#/components/schemas/NestedLocationType'
- - $ref: '#/components/schemas/NestedDeviceFamily'
- - $ref: '#/components/schemas/NestedControllerManagedDeviceGroup'
- - $ref: '#/components/schemas/NestedModuleBay'
- - $ref: '#/components/schemas/NestedModuleBayTemplate'
- - $ref: '#/components/schemas/NestedModuleType'
- - $ref: '#/components/schemas/NestedRIR'
- - $ref: '#/components/schemas/NestedRouteTarget'
- - $ref: '#/components/schemas/NestedVLANGroup'
- - $ref: '#/components/schemas/NestedService'
- - $ref: '#/components/schemas/NestedNamespace'
- - $ref: '#/components/schemas/NestedCustomLink'
- - $ref: '#/components/schemas/NestedExportTemplate'
- - $ref: '#/components/schemas/NestedGitRepository'
- - $ref: '#/components/schemas/NestedRelationship'
- - $ref: '#/components/schemas/NestedTag'
- - $ref: '#/components/schemas/NestedWebhook'
- - $ref: '#/components/schemas/NestedStatus'
- - $ref: '#/components/schemas/NestedGraphQLQuery'
- - $ref: '#/components/schemas/NestedConfigContextSchema'
- - $ref: '#/components/schemas/NestedComputedField'
- - $ref: '#/components/schemas/NestedSecret'
- - $ref: '#/components/schemas/NestedSecretsGroup'
- - $ref: '#/components/schemas/NestedJobHook'
- - $ref: '#/components/schemas/NestedJobButton'
- - $ref: '#/components/schemas/NestedExternalIntegration'
- - $ref: '#/components/schemas/NestedContact'
- - $ref: '#/components/schemas/NestedTeam'
- - $ref: '#/components/schemas/NestedMetadataType'
- - $ref: '#/components/schemas/NestedTenantGroup'
- - $ref: '#/components/schemas/NestedTenant'
- - $ref: '#/components/schemas/NestedCluster'
- - $ref: '#/components/schemas/NestedClusterGroup'
- - $ref: '#/components/schemas/NestedClusterType'
+ - $ref: "#/components/schemas/NestedCircuit"
+ - $ref: "#/components/schemas/NestedCable"
+ - $ref: "#/components/schemas/NestedDevice"
+ - $ref: "#/components/schemas/NestedPowerFeed"
+ - $ref: "#/components/schemas/NestedRack"
+ - $ref: "#/components/schemas/NestedIPAddress"
+ - $ref: "#/components/schemas/NestedPrefix"
+ - $ref: "#/components/schemas/NestedVLAN"
+ - $ref: "#/components/schemas/NestedVirtualMachine"
+ - $ref: "#/components/schemas/NestedCustomField"
+ - $ref: "#/components/schemas/NestedJob"
+ - $ref: "#/components/schemas/NestedVMInterface"
+ - $ref: "#/components/schemas/NestedInterface"
+ - $ref: "#/components/schemas/NestedLocation"
+ - $ref: "#/components/schemas/NestedRole"
+ - $ref: "#/components/schemas/NestedDeviceRedundancyGroup"
+ - $ref: "#/components/schemas/NestedInterfaceRedundancyGroup"
+ - $ref: "#/components/schemas/NestedSoftwareImageFile"
+ - $ref: "#/components/schemas/NestedSoftwareVersion"
+ - $ref: "#/components/schemas/NestedController"
+ - $ref: "#/components/schemas/NestedModule"
+ - $ref: "#/components/schemas/NestedVRF"
+ - $ref: "#/components/schemas/NestedVirtualDeviceContext"
+ - $ref: "#/components/schemas/NestedCircuitTermination"
+ - $ref: "#/components/schemas/NestedCircuitType"
+ - $ref: "#/components/schemas/NestedProvider"
+ - $ref: "#/components/schemas/NestedProviderNetwork"
+ - $ref: "#/components/schemas/NestedCloudAccount"
+ - $ref: "#/components/schemas/NestedCloudNetwork"
+ - $ref: "#/components/schemas/NestedCloudResourceType"
+ - $ref: "#/components/schemas/NestedCloudService"
+ - $ref: "#/components/schemas/NestedConsolePort"
+ - $ref: "#/components/schemas/NestedConsolePortTemplate"
+ - $ref: "#/components/schemas/NestedConsoleServerPort"
+ - $ref: "#/components/schemas/NestedConsoleServerPortTemplate"
+ - $ref: "#/components/schemas/NestedDeviceBay"
+ - $ref: "#/components/schemas/NestedDeviceBayTemplate"
+ - $ref: "#/components/schemas/NestedDeviceType"
+ - $ref: "#/components/schemas/NestedFrontPort"
+ - $ref: "#/components/schemas/NestedFrontPortTemplate"
+ - $ref: "#/components/schemas/NestedInterfaceTemplate"
+ - $ref: "#/components/schemas/NestedInventoryItem"
+ - $ref: "#/components/schemas/NestedManufacturer"
+ - $ref: "#/components/schemas/NestedPlatform"
+ - $ref: "#/components/schemas/NestedPowerOutlet"
+ - $ref: "#/components/schemas/NestedPowerOutletTemplate"
+ - $ref: "#/components/schemas/NestedPowerPanel"
+ - $ref: "#/components/schemas/NestedPowerPort"
+ - $ref: "#/components/schemas/NestedPowerPortTemplate"
+ - $ref: "#/components/schemas/NestedRackGroup"
+ - $ref: "#/components/schemas/NestedRackReservation"
+ - $ref: "#/components/schemas/NestedRearPort"
+ - $ref: "#/components/schemas/NestedRearPortTemplate"
+ - $ref: "#/components/schemas/NestedVirtualChassis"
+ - $ref: "#/components/schemas/NestedLocationType"
+ - $ref: "#/components/schemas/NestedDeviceFamily"
+ - $ref: "#/components/schemas/NestedControllerManagedDeviceGroup"
+ - $ref: "#/components/schemas/NestedModuleBay"
+ - $ref: "#/components/schemas/NestedModuleBayTemplate"
+ - $ref: "#/components/schemas/NestedModuleType"
+ - $ref: "#/components/schemas/NestedModuleFamily"
+ - $ref: "#/components/schemas/NestedRIR"
+ - $ref: "#/components/schemas/NestedRouteTarget"
+ - $ref: "#/components/schemas/NestedVLANGroup"
+ - $ref: "#/components/schemas/NestedService"
+ - $ref: "#/components/schemas/NestedNamespace"
+ - $ref: "#/components/schemas/NestedCustomLink"
+ - $ref: "#/components/schemas/NestedExportTemplate"
+ - $ref: "#/components/schemas/NestedGitRepository"
+ - $ref: "#/components/schemas/NestedRelationship"
+ - $ref: "#/components/schemas/NestedTag"
+ - $ref: "#/components/schemas/NestedWebhook"
+ - $ref: "#/components/schemas/NestedStatus"
+ - $ref: "#/components/schemas/NestedGraphQLQuery"
+ - $ref: "#/components/schemas/NestedConfigContextSchema"
+ - $ref: "#/components/schemas/NestedComputedField"
+ - $ref: "#/components/schemas/NestedSecret"
+ - $ref: "#/components/schemas/NestedSecretsGroup"
+ - $ref: "#/components/schemas/NestedJobHook"
+ - $ref: "#/components/schemas/NestedJobButton"
+ - $ref: "#/components/schemas/NestedExternalIntegration"
+ - $ref: "#/components/schemas/NestedContact"
+ - $ref: "#/components/schemas/NestedTeam"
+ - $ref: "#/components/schemas/NestedMetadataType"
+ - $ref: "#/components/schemas/NestedJobQueue"
+ - $ref: "#/components/schemas/NestedTenantGroup"
+ - $ref: "#/components/schemas/NestedTenant"
+ - $ref: "#/components/schemas/NestedCluster"
+ - $ref: "#/components/schemas/NestedClusterGroup"
+ - $ref: "#/components/schemas/NestedClusterType"
+ - $ref: "#/components/schemas/NestedWirelessNetwork"
+ - $ref: "#/components/schemas/NestedSupportedDataRate"
+ - $ref: "#/components/schemas/NestedRadioProfile"
DynamicGroupMembership:
description: |-
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
@@ -168917,7 +166367,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -168937,19 +166386,18 @@ components:
readOnly: true
type: string
operator:
- $ref: '#/components/schemas/OperatorEnum'
+ $ref: "#/components/schemas/OperatorEnum"
weight:
maximum: 32767
minimum: 0
type: integer
group:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
parent_group:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- display
- group
- - id
- natural_slug
- object_type
- operator
@@ -168963,6 +166411,7 @@ components:
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
example:
weight: 2624
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
operator: union
group:
object_type: app_label.modelname
@@ -168973,16 +166422,19 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
operator:
- $ref: '#/components/schemas/OperatorEnum'
+ $ref: "#/components/schemas/OperatorEnum"
weight:
maximum: 32767
minimum: 0
type: integer
group:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
parent_group:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- group
- operator
@@ -169037,6 +166489,7 @@ components:
key: ""
name: name
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
group_type: dynamic-filter
tenant:
object_type: app_label.modelname
@@ -169050,6 +166503,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
content_type:
type: string
name:
@@ -169060,22 +166516,22 @@ components:
maxLength: 255
type: string
group_type:
- $ref: '#/components/schemas/GroupTypeEnum'
+ $ref: "#/components/schemas/GroupTypeEnum"
filter:
description: A JSON-encoded dictionary of filter parameters defining membership
of this group
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- content_type
@@ -169104,7 +166560,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -169130,7 +166585,7 @@ components:
type: string
owner:
allOf:
- - $ref: '#/components/schemas/ExportTemplateOwner'
+ - $ref: "#/components/schemas/ExportTemplateOwner"
nullable: true
readOnly: true
owner_object_id:
@@ -169173,7 +166628,6 @@ components:
- content_type
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -169184,12 +166638,7 @@ components:
- url
type: object
ExportTemplateOwner:
- discriminator:
- mapping:
- extras.gitrepository: '#/components/schemas/NestedGitRepository'
- propertyName: object_type
- oneOf:
- - $ref: '#/components/schemas/NestedGitRepository'
+ $ref: "#/components/schemas/NestedGitRepository"
ExportTemplateRequest:
description: Extend ValidatedModelSerializer with a `relationships` field.
example:
@@ -169236,8 +166685,12 @@ components:
name: name
description: description
file_extension: file_extension
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
template_code: template_code
properties:
+ id:
+ format: uuid
+ type: string
content_type:
type: string
owner_content_type:
@@ -169269,7 +166722,7 @@ components:
type: string
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- content_type
@@ -169299,6 +166752,13 @@ components:
url: https://openapi-generator.tech
url: https://openapi-generator.tech
timeout: 171976544
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
http_method: GET
verify_ssl: true
name: name
@@ -169307,7 +166767,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -169345,7 +166804,7 @@ components:
description: Optional user-defined JSON data for this integration
nullable: true
http_method:
- $ref: '#/components/schemas/BulkWritableExternalIntegrationRequest_http_method'
+ $ref: "#/components/schemas/BulkWritableExternalIntegrationRequest_http_method"
headers:
description: Headers for the HTTP request
nullable: true
@@ -169353,7 +166812,7 @@ components:
maxLength: 255
type: string
secrets_group:
- $ref: '#/components/schemas/BulkWritableExternalIntegrationRequest_secrets_group'
+ $ref: "#/components/schemas/BulkWritableExternalIntegrationRequest_secrets_group"
created:
format: date-time
nullable: true
@@ -169371,10 +166830,13 @@ components:
custom_fields:
additionalProperties: {}
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -169391,6 +166853,21 @@ components:
example:
remote_url: https://openapi-generator.tech
headers: ""
+ ca_file_path: ca_file_path
+ custom_fields:
+ key: ""
+ secrets_group:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ timeout: 171976544
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
relationships:
key:
peer:
@@ -169428,18 +166905,14 @@ components:
type: one-to-many
url: https://openapi-generator.tech
http_method: GET
- ca_file_path: ca_file_path
verify_ssl: true
- custom_fields:
- key: ""
name: name
- secrets_group:
- object_type: app_label.modelname
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
extra_config: ""
- timeout: 171976544
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -169461,7 +166934,7 @@ components:
description: Optional user-defined JSON data for this integration
nullable: true
http_method:
- $ref: '#/components/schemas/BulkWritableExternalIntegrationRequest_http_method'
+ $ref: "#/components/schemas/BulkWritableExternalIntegrationRequest_http_method"
headers:
description: Headers for the HTTP request
nullable: true
@@ -169469,14 +166942,18 @@ components:
maxLength: 255
type: string
secrets_group:
- $ref: '#/components/schemas/BulkWritableExternalIntegrationRequest_secrets_group'
+ $ref: "#/components/schemas/BulkWritableExternalIntegrationRequest_secrets_group"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
required:
- name
- remote_url
@@ -169527,7 +167004,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -169554,10 +167030,9 @@ components:
readOnly: true
type: string
job_result:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
required:
- display
- - id
- name
- natural_slug
- object_type
@@ -169570,6 +167045,12 @@ components:
- loose
- exact
type: string
+ FrequencyEnum:
+ enum:
+ - 2.4GHz
+ - 5GHz
+ - 6GHz
+ type: string
FrontPort:
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
@@ -169621,7 +167102,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -169646,11 +167126,11 @@ components:
type: string
cable_peer:
allOf:
- - $ref: '#/components/schemas/CableTermination'
+ - $ref: "#/components/schemas/CableTermination"
nullable: true
readOnly: true
type:
- $ref: '#/components/schemas/FrontPort_type'
+ $ref: "#/components/schemas/FrontPort_type"
name:
maxLength: 255
type: string
@@ -169666,13 +167146,13 @@ components:
minimum: 1
type: integer
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
cable:
- $ref: '#/components/schemas/Circuit_circuit_termination_a'
+ $ref: "#/components/schemas/Circuit_circuit_termination_a"
rear_port:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
created:
format: date-time
nullable: true
@@ -169692,7 +167172,7 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- cable
@@ -169700,7 +167180,6 @@ components:
- cable_peer_type
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -169748,7 +167227,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -169772,7 +167250,7 @@ components:
readOnly: true
type: string
type:
- $ref: '#/components/schemas/FrontPort_type'
+ $ref: "#/components/schemas/FrontPort_type"
name:
maxLength: 255
type: string
@@ -169788,11 +167266,11 @@ components:
minimum: 1
type: integer
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
rear_port_template:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
created:
format: date-time
nullable: true
@@ -169809,7 +167287,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -169838,6 +167315,13 @@ components:
branch: branch
url: https://openapi-generator.tech
current_head: current_head
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
provided_contents:
- extras.configcontext
- extras.configcontext
@@ -169847,7 +167331,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -169868,7 +167351,7 @@ components:
type: string
provided_contents:
items:
- $ref: '#/components/schemas/BulkWritableGitRepositoryRequest_provided_contents_inner'
+ $ref: "#/components/schemas/BulkWritableGitRepositoryRequest_provided_contents_inner"
type: array
name:
maxLength: 255
@@ -169894,7 +167377,7 @@ components:
maxLength: 48
type: string
secrets_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
created:
format: date-time
nullable: true
@@ -169912,10 +167395,13 @@ components:
custom_fields:
additionalProperties: {}
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -169974,13 +167460,24 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
branch: branch
slug: slug
current_head: current_head
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
provided_contents:
items:
- $ref: '#/components/schemas/BulkWritableGitRepositoryRequest_provided_contents_inner'
+ $ref: "#/components/schemas/BulkWritableGitRepositoryRequest_provided_contents_inner"
type: array
name:
maxLength: 255
@@ -170009,18 +167506,40 @@ components:
maxLength: 48
type: string
secrets_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
required:
- name
- remote_url
type: object
+ GitRepositorySyncResponse:
+ description: Serializer representing responses from the GitRepository.sync()
+ POST endpoint.
+ example:
+ job_result: ""
+ message: message
+ properties:
+ message:
+ readOnly: true
+ type: string
+ job_result:
+ allOf:
+ - $ref: "#/components/schemas/JobResult"
+ readOnly: true
+ required:
+ - job_result
+ - message
+ type: object
GraphQLAPIRequest:
example:
variables: ""
@@ -170040,8 +167559,11 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
example:
+ owner: ""
+ owner_content_type: owner_content_type
variables:
key: ""
+ owner_object_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
last_updated: 2000-01-23T04:56:07.000+00:00
object_type: app_label.modelname
created: 2000-01-23T04:56:07.000+00:00
@@ -170049,13 +167571,12 @@ components:
display: display
query: query
natural_slug: attribute1_attribute2
+ url: https://openapi-generator.tech
name: name
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -170078,6 +167599,18 @@ components:
additionalProperties: {}
readOnly: true
type: object
+ owner_content_type:
+ nullable: true
+ type: string
+ owner:
+ allOf:
+ - $ref: "#/components/schemas/GraphQLQueryOwner"
+ nullable: true
+ readOnly: true
+ owner_object_id:
+ format: uuid
+ nullable: true
+ type: string
name:
maxLength: 255
type: string
@@ -170100,12 +167633,12 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
- notes_url
- object_type
+ - owner
- query
- url
- variables
@@ -170131,14 +167664,29 @@ components:
default: {}
type: object
type: object
+ GraphQLQueryOwner:
+ $ref: "#/components/schemas/NestedGitRepository"
GraphQLQueryRequest:
description: |-
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
example:
+ owner_content_type: owner_content_type
+ owner_object_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
query: query
name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
+ owner_content_type:
+ nullable: true
+ type: string
+ owner_object_id:
+ format: uuid
+ nullable: true
+ type: string
name:
maxLength: 255
minLength: 1
@@ -170311,7 +167859,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -170342,7 +167889,7 @@ components:
readOnly: true
type: integer
type:
- $ref: '#/components/schemas/IPAddressTypeChoices'
+ $ref: "#/components/schemas/IPAddressTypeChoices"
ip_version:
readOnly: true
type: integer
@@ -170355,15 +167902,15 @@ components:
maxLength: 255
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
parent:
- $ref: '#/components/schemas/BulkWritableIPAddressRequest_parent'
+ $ref: "#/components/schemas/BulkWritableIPAddressRequest_parent"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
nat_inside:
- $ref: '#/components/schemas/NAT__Inside_'
+ $ref: "#/components/schemas/NAT__Inside_"
created:
format: date-time
nullable: true
@@ -170376,7 +167923,7 @@ components:
type: string
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
notes_url:
format: uri
@@ -170387,17 +167934,17 @@ components:
type: object
nat_outside_list:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
readOnly: true
type: array
interfaces:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
readOnly: true
type: array
vm_interfaces:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
readOnly: true
type: array
required:
@@ -170405,7 +167952,6 @@ components:
- created
- display
- host
- - id
- interfaces
- ip_version
- last_updated
@@ -170485,6 +168031,7 @@ components:
object_type: app_label.modelname
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
tenant:
object_type: app_label.modelname
id: null
@@ -170498,13 +168045,16 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
address:
minLength: 1
type: string
namespace:
- $ref: '#/components/schemas/BulkWritableIPAddressRequest_namespace'
+ $ref: "#/components/schemas/BulkWritableIPAddressRequest_namespace"
type:
- $ref: '#/components/schemas/IPAddressTypeChoices'
+ $ref: "#/components/schemas/IPAddressTypeChoices"
dns_name:
description: Hostname or FQDN (not case-sensitive)
maxLength: 255
@@ -170514,25 +168064,25 @@ components:
maxLength: 255
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
parent:
- $ref: '#/components/schemas/BulkWritableIPAddressRequest_parent'
+ $ref: "#/components/schemas/BulkWritableIPAddressRequest_parent"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
nat_inside:
- $ref: '#/components/schemas/NAT__Inside_'
+ $ref: "#/components/schemas/NAT__Inside_"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- address
@@ -170570,7 +168120,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -170611,14 +168160,13 @@ components:
description: Is standby address on interface
type: boolean
ip_address:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
interface:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
vm_interface:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
required:
- display
- - id
- ip_address
- natural_slug
- object_type
@@ -170637,6 +168185,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
ip_address:
object_type: app_label.modelname
id: null
@@ -170649,6 +168198,9 @@ components:
is_standby: true
is_destination: true
properties:
+ id:
+ format: uuid
+ type: string
is_source:
description: Is source address on interface
type: boolean
@@ -170671,11 +168223,11 @@ components:
description: Is standby address on interface
type: boolean
ip_address:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
interface:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
vm_interface:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
required:
- ip_address
type: object
@@ -170732,6 +168284,7 @@ components:
custom_fields:
key: ""
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
type: dhcp
tenant:
object_type: app_label.modelname
@@ -170754,10 +168307,13 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type:
- $ref: '#/components/schemas/IPAddressTypeChoices'
+ $ref: "#/components/schemas/IPAddressTypeChoices"
dns_name:
description: Hostname or FQDN (not case-sensitive)
maxLength: 255
@@ -170767,21 +168323,21 @@ components:
maxLength: 255
type: string
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
nat_inside:
- $ref: '#/components/schemas/NAT__Inside_'
+ $ref: "#/components/schemas/NAT__Inside_"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- status
@@ -170806,7 +168362,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -170852,7 +168407,6 @@ components:
- content_type
- created
- display
- - id
- image
- image_height
- image_width
@@ -170870,9 +168424,13 @@ components:
image_height: 2624
content_type: content_type
name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
image_width: 19750
object_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
content_type:
type: string
object_id:
@@ -170998,7 +168556,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -171019,7 +168576,7 @@ components:
type: string
cable_peer:
allOf:
- - $ref: '#/components/schemas/CableTermination'
+ - $ref: "#/components/schemas/CableTermination"
nullable: true
readOnly: true
natural_slug:
@@ -171032,7 +168589,7 @@ components:
type: string
connected_endpoint:
allOf:
- - $ref: '#/components/schemas/PathEndpoint'
+ - $ref: "#/components/schemas/PathEndpoint"
nullable: true
readOnly: true
connected_endpoint_reachable:
@@ -171040,9 +168597,9 @@ components:
readOnly: true
type: boolean
type:
- $ref: '#/components/schemas/Interface_type'
+ $ref: "#/components/schemas/Interface_type"
mode:
- $ref: '#/components/schemas/Interface_mode'
+ $ref: "#/components/schemas/Interface_mode"
mac_address:
nullable: true
type: string
@@ -171071,32 +168628,32 @@ components:
title: Management only
type: boolean
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
cable:
- $ref: '#/components/schemas/Circuit_circuit_termination_a'
+ $ref: "#/components/schemas/Circuit_circuit_termination_a"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
parent_interface:
- $ref: '#/components/schemas/BulkWritableInterfaceRequest_parent_interface'
+ $ref: "#/components/schemas/BulkWritableInterfaceRequest_parent_interface"
bridge:
- $ref: '#/components/schemas/Bridge_interface'
+ $ref: "#/components/schemas/Bridge_interface"
lag:
- $ref: '#/components/schemas/Parent_LAG'
+ $ref: "#/components/schemas/Parent_LAG"
untagged_vlan:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
vrf:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tagged_vlans:
items:
- $ref: '#/components/schemas/Tagged_VLANs'
+ $ref: "#/components/schemas/Tagged_VLANs"
type: array
ip_addresses:
items:
- $ref: '#/components/schemas/IP_Addresses'
+ $ref: "#/components/schemas/IP_Addresses"
readOnly: true
type: array
created:
@@ -171118,7 +168675,7 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- cable
@@ -171129,7 +168686,6 @@ components:
- connected_endpoint_type
- created
- display
- - id
- ip_addresses
- last_updated
- name
@@ -171246,7 +168802,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -171259,10 +168814,10 @@ components:
type: string
interface_a:
allOf:
- - $ref: '#/components/schemas/Interface'
+ - $ref: "#/components/schemas/Interface"
readOnly: true
interface_b:
- $ref: '#/components/schemas/Interface'
+ $ref: "#/components/schemas/Interface"
connected_endpoint_reachable:
nullable: true
readOnly: true
@@ -171281,12 +168836,17 @@ components:
- connected_endpoint_reachable
- created
- display
- - id
- interface_a
- interface_b
- last_updated
- object_type
type: object
+ InterfaceModeChoices:
+ enum:
+ - access
+ - tagged
+ - tagged-all
+ type: string
InterfaceRedundancyGroup:
description: InterfaceRedundancyGroup Serializer.
example:
@@ -171335,7 +168895,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -171355,7 +168914,7 @@ components:
readOnly: true
type: string
protocol:
- $ref: '#/components/schemas/InterfaceRedundancyGroup_protocol'
+ $ref: "#/components/schemas/InterfaceRedundancyGroup_protocol"
name:
maxLength: 255
type: string
@@ -171366,14 +168925,14 @@ components:
maxLength: 255
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
secrets_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
virtual_ip:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
interfaces:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
readOnly: true
type: array
created:
@@ -171394,12 +168953,11 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- created
- display
- - id
- interfaces
- last_updated
- name
@@ -171432,7 +168990,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -171456,9 +169013,9 @@ components:
minimum: 0
type: integer
interface_redundancy_group:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
interface:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
created:
format: date-time
nullable: true
@@ -171472,7 +169029,6 @@ components:
required:
- created
- display
- - id
- interface
- interface_redundancy_group
- last_updated
@@ -171488,20 +169044,24 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
priority: 2624
interface:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
priority:
maximum: 32767
minimum: 0
type: integer
interface_redundancy_group:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
interface:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- interface
- interface_redundancy_group
@@ -171548,7 +169108,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -171572,7 +169131,7 @@ components:
readOnly: true
type: string
type:
- $ref: '#/components/schemas/Interface_type'
+ $ref: "#/components/schemas/Interface_type"
name:
maxLength: 255
type: string
@@ -171587,9 +169146,9 @@ components:
title: Management only
type: boolean
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
created:
format: date-time
nullable: true
@@ -171606,7 +169165,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -171660,6 +169218,9 @@ components:
- 400gbase-x-cfp8
- 800gbase-x-qsfpdd
- 800gbase-x-osfp
+ - 800gbase-x-osfp-xd
+ - 1600gbase-x-osfp
+ - 1600gbase-x-osfp-xd
- 1000base-kx
- 10gbase-kr
- 10gbase-kx4
@@ -171752,6 +169313,83 @@ components:
- extreme-summitstack-512
- other
type: string
+ InterfaceVDCAssignment:
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ example:
+ object_type: app_label.modelname
+ display: display
+ natural_slug: attribute1_attribute2
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ interface:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ virtual_device_context:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ object_type:
+ example: app_label.modelname
+ pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
+ readOnly: true
+ type: string
+ display:
+ description: Human friendly display value
+ readOnly: true
+ type: string
+ url:
+ format: uri
+ readOnly: true
+ type: string
+ natural_slug:
+ example: attribute1_attribute2
+ readOnly: true
+ type: string
+ virtual_device_context:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ interface:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ required:
+ - display
+ - interface
+ - natural_slug
+ - object_type
+ - url
+ - virtual_device_context
+ type: object
+ InterfaceVDCAssignmentRequest:
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ example:
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ interface:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ virtual_device_context:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ virtual_device_context:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ interface:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ required:
+ - interface
+ - virtual_device_context
+ type: object
InventoryItem:
description: Add a `tree_depth` field to non-nested model serializers based
on django-tree-queries.
@@ -171807,7 +169445,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -171857,18 +169494,18 @@ components:
description: This item was automatically discovered
type: boolean
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
device:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
manufacturer:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
software_version:
- $ref: '#/components/schemas/BulkWritableInventoryItemRequest_software_version'
+ $ref: "#/components/schemas/BulkWritableInventoryItemRequest_software_version"
software_image_files:
description: Override the software image files associated with the software
version for this inventory item
items:
- $ref: '#/components/schemas/Software_Image_Files'
+ $ref: "#/components/schemas/Software_Image_Files"
type: array
created:
format: date-time
@@ -171889,13 +169526,12 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- created
- device
- display
- - id
- last_updated
- name
- natural_slug
@@ -171974,6 +169610,7 @@ components:
url: https://openapi-generator.tech
serial: serial
name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
part_id: part_id
software_version:
object_type: app_label.modelname
@@ -171984,6 +169621,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -172012,29 +169652,29 @@ components:
description: This item was automatically discovered
type: boolean
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
device:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
manufacturer:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
software_version:
- $ref: '#/components/schemas/BulkWritableInventoryItemRequest_software_version'
+ $ref: "#/components/schemas/BulkWritableInventoryItemRequest_software_version"
software_image_files:
description: Override the software image files associated with the software
version for this inventory item
items:
- $ref: '#/components/schemas/Software_Image_Files'
+ $ref: "#/components/schemas/Software_Image_Files"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- device
@@ -172051,10 +169691,11 @@ components:
grouping_override: true
hidden: true
time_limit: 0.6027456183070403
+ default_job_queue_override: true
notes_url: https://openapi-generator.tech
natural_slug: attribute1_attribute2
- has_sensitive_variables: true
task_queues: ""
+ has_sensitive_variables: true
description: description
is_job_hook_receiver: true
dryrun_default_override: true
@@ -172069,12 +169710,24 @@ components:
last_updated: 2000-01-23T04:56:07.000+00:00
dryrun_default: true
soft_time_limit: 0.08008281904610115
+ job_queues_override: true
object_type: app_label.modelname
created: 2000-01-23T04:56:07.000+00:00
custom_fields:
key: ""
display: display
approval_required: true
+ default_job_queue:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ job_queues:
+ - object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
grouping: grouping
url: https://openapi-generator.tech
tags:
@@ -172087,14 +169740,15 @@ components:
is_job_button_receiver: true
name_override: true
hidden_override: true
+ is_singleton: true
task_queues_override: true
name: name
description_override: true
module_name: module_name
+ is_singleton_override: true
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -172113,6 +169767,11 @@ components:
example: attribute1_attribute2
readOnly: true
type: string
+ task_queues:
+ readOnly: true
+ task_queues_override:
+ readOnly: true
+ type: boolean
module_name:
description: Dotted name of the Python module providing this job
readOnly: true
@@ -172151,6 +169810,10 @@ components:
has_sensitive_variables:
description: Whether this job contains sensitive variables
type: boolean
+ is_singleton:
+ description: Whether this job should fail to run if another instance of
+ this job is already running
+ type: boolean
approval_required:
description: Whether the job requires approval from another user before
running
@@ -172178,9 +169841,6 @@ components:
format: double
minimum: 0
type: number
- task_queues:
- description: Comma separated list of task queues that this job can run on.
- A blank list will use the default queue
supports_dryrun:
description: "If supported, allows the job to bypass approval when running\
\ with dryrun argument set to true"
@@ -172222,10 +169882,26 @@ components:
description: "If set, the configured value will remain even if the underlying\
\ Job source code changes"
type: boolean
- task_queues_override:
+ job_queues_override:
+ description: "If set, the configured value will remain even if the underlying\
+ \ Job source code changes"
+ type: boolean
+ default_job_queue_override:
+ description: "If set, the configured value will remain even if the underlying\
+ \ Job source code changes"
+ type: boolean
+ is_singleton_override:
description: "If set, the configured value will remain even if the underlying\
\ Job source code changes"
type: boolean
+ default_job_queue:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ job_queues:
+ description: The job queues that this job can be run on
+ items:
+ $ref: "#/components/schemas/Job_Queues"
+ readOnly: true
+ type: array
created:
format: date-time
nullable: true
@@ -172238,7 +169914,7 @@ components:
type: string
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
notes_url:
format: uri
@@ -172249,13 +169925,14 @@ components:
type: object
required:
- created
+ - default_job_queue
- display
- grouping
- - id
- installed
- is_job_button_receiver
- is_job_hook_receiver
- job_class_name
+ - job_queues
- last_updated
- module_name
- name
@@ -172264,6 +169941,8 @@ components:
- object_type
- read_only
- supports_dryrun
+ - task_queues
+ - task_queues_override
- url
type: object
JobButton:
@@ -172296,7 +169975,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -172341,14 +170019,14 @@ components:
maxLength: 255
type: string
button_class:
- $ref: '#/components/schemas/ButtonClassEnum'
+ $ref: "#/components/schemas/ButtonClassEnum"
confirmation:
description: "Enable confirmation pop-up box. WARNING:\
\ unselecting this option will allow the Job to run (and commit changes)\
\ with a single click!"
type: boolean
job:
- $ref: '#/components/schemas/BulkWritableJobButtonRequest_job'
+ $ref: "#/components/schemas/BulkWritableJobButtonRequest_job"
created:
format: date-time
nullable: true
@@ -172367,7 +170045,6 @@ components:
- content_types
- created
- display
- - id
- job
- last_updated
- name
@@ -172389,6 +170066,7 @@ components:
content_types:
- content_types
- content_types
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
text: text
confirmation: true
job:
@@ -172397,6 +170075,9 @@ components:
url: https://openapi-generator.tech
enabled: true
properties:
+ id:
+ format: uuid
+ type: string
content_types:
items:
type: string
@@ -172425,14 +170106,14 @@ components:
maxLength: 255
type: string
button_class:
- $ref: '#/components/schemas/ButtonClassEnum'
+ $ref: "#/components/schemas/ButtonClassEnum"
confirmation:
description: "Enable confirmation pop-up box. WARNING:\
\ unselecting this option will allow the Job to run (and commit changes)\
\ with a single click!"
type: boolean
job:
- $ref: '#/components/schemas/BulkWritableJobButtonRequest_job'
+ $ref: "#/components/schemas/BulkWritableJobButtonRequest_job"
required:
- content_types
- job
@@ -172450,7 +170131,11 @@ components:
crontab: crontab
name: name
interval: immediately
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -172459,7 +170144,7 @@ components:
format: date-time
type: string
interval:
- $ref: '#/components/schemas/JobExecutionTypeIntervalChoices'
+ $ref: "#/components/schemas/JobExecutionTypeIntervalChoices"
crontab:
description: Cronjob syntax string for custom scheduling
maxLength: 255
@@ -172508,7 +170193,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -172546,7 +170230,7 @@ components:
description: Call this job hook when a matching object is updated.
type: boolean
job:
- $ref: '#/components/schemas/BulkWritableJobHookRequest_job'
+ $ref: "#/components/schemas/BulkWritableJobHookRequest_job"
created:
format: date-time
nullable: true
@@ -172568,7 +170252,6 @@ components:
- content_types
- created
- display
- - id
- job
- last_updated
- name
@@ -172628,12 +170311,16 @@ components:
content_types:
- content_types
- content_types
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
job:
object_type: app_label.modelname
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
url: https://openapi-generator.tech
enabled: true
properties:
+ id:
+ format: uuid
+ type: string
content_types:
items:
type: string
@@ -172654,13 +170341,13 @@ components:
description: Call this job hook when a matching object is updated.
type: boolean
job:
- $ref: '#/components/schemas/BulkWritableJobHookRequest_job'
+ $ref: "#/components/schemas/BulkWritableJobHookRequest_job"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- content_types
@@ -172674,14 +170361,18 @@ components:
crontab: crontab
name: name
interval: immediately
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
data: ""
task_queue: task_queue
+ job_queue: job_queue
properties:
data: {}
schedule:
- $ref: '#/components/schemas/JobCreationRequest'
+ $ref: "#/components/schemas/JobCreationRequest"
task_queue:
type: string
+ job_queue:
+ type: string
type: object
JobLogEntry:
description: |-
@@ -172717,7 +170408,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -172737,7 +170427,7 @@ components:
readOnly: true
type: string
log_level:
- $ref: '#/components/schemas/LogLevelEnum'
+ $ref: "#/components/schemas/LogLevelEnum"
grouping:
maxLength: 100
type: string
@@ -172750,13 +170440,12 @@ components:
maxLength: 255
type: string
job_result:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
created:
format: date-time
type: string
required:
- display
- - id
- job_result
- natural_slug
- object_type
@@ -172777,7 +170466,7 @@ components:
type: string
_schedule_interval:
allOf:
- - $ref: '#/components/schemas/JobExecutionTypeIntervalChoices'
+ - $ref: "#/components/schemas/JobExecutionTypeIntervalChoices"
title: ' schedule interval'
_schedule_crontab:
title: ' schedule crontab'
@@ -172785,29 +170474,27 @@ components:
_task_queue:
title: ' task queue'
type: string
+ _job_queue:
+ title: ' job queue'
+ type: string
type: object
- JobRequest:
+ JobQueue:
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
example:
- grouping_override: true
- hidden: true
- dryrun_default: true
- soft_time_limit: 0.08008281904610115
- time_limit: 0.6027456183070403
+ last_updated: 2000-01-23T04:56:07.000+00:00
+ queue_type: celery
+ object_type: app_label.modelname
+ created: 2000-01-23T04:56:07.000+00:00
+ notes_url: https://openapi-generator.tech
custom_fields:
key: ""
- approval_required: true
- has_sensitive_variables: true
- task_queues: ""
+ display: display
+ natural_slug: attribute1_attribute2
description: description
- dryrun_default_override: true
- approval_required_override: true
- grouping: grouping
- enabled: true
- has_sensitive_variables_override: true
+ url: https://openapi-generator.tech
tags:
- object_type: app_label.modelname
id: null
@@ -172815,6 +170502,257 @@ components:
- object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ tenant:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ object_type:
+ example: app_label.modelname
+ pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
+ readOnly: true
+ type: string
+ display:
+ description: Human friendly display value
+ readOnly: true
+ type: string
+ url:
+ format: uri
+ readOnly: true
+ type: string
+ natural_slug:
+ example: attribute1_attribute2
+ readOnly: true
+ type: string
+ name:
+ maxLength: 255
+ type: string
+ description:
+ maxLength: 255
+ type: string
+ queue_type:
+ $ref: "#/components/schemas/QueueTypeEnum"
+ tenant:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ created:
+ format: date-time
+ nullable: true
+ readOnly: true
+ type: string
+ last_updated:
+ format: date-time
+ nullable: true
+ readOnly: true
+ type: string
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ notes_url:
+ format: uri
+ readOnly: true
+ type: string
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ required:
+ - created
+ - display
+ - last_updated
+ - name
+ - natural_slug
+ - notes_url
+ - object_type
+ - queue_type
+ - url
+ type: object
+ JobQueueAssignment:
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ example:
+ object_type: app_label.modelname
+ display: display
+ natural_slug: attribute1_attribute2
+ job_queue:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ job:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ object_type:
+ example: app_label.modelname
+ pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
+ readOnly: true
+ type: string
+ display:
+ description: Human friendly display value
+ readOnly: true
+ type: string
+ url:
+ format: uri
+ readOnly: true
+ type: string
+ natural_slug:
+ example: attribute1_attribute2
+ readOnly: true
+ type: string
+ job:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ job_queue:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ required:
+ - display
+ - job
+ - job_queue
+ - natural_slug
+ - object_type
+ - url
+ type: object
+ JobQueueAssignmentRequest:
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ example:
+ job_queue:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ job:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ job:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ job_queue:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ required:
+ - job
+ - job_queue
+ type: object
+ JobQueueRequest:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ queue_type: celery
+ custom_fields:
+ key: ""
+ name: name
+ description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ tenant:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ name:
+ maxLength: 255
+ minLength: 1
+ type: string
+ description:
+ maxLength: 255
+ type: string
+ queue_type:
+ $ref: "#/components/schemas/QueueTypeEnum"
+ tenant:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ required:
+ - name
+ - queue_type
+ type: object
+ JobRequest:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ grouping_override: true
+ hidden: true
+ time_limit: 0.6027456183070403
+ default_job_queue_override: true
+ has_sensitive_variables: true
+ description: description
+ dryrun_default_override: true
+ approval_required_override: true
+ enabled: true
+ has_sensitive_variables_override: true
relationships:
key:
peer:
@@ -172851,14 +170789,37 @@ components:
label: label
type: one-to-many
url: https://openapi-generator.tech
+ soft_time_limit_override: true
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ time_limit_override: true
+ dryrun_default: true
+ soft_time_limit: 0.08008281904610115
+ job_queues_override: true
+ custom_fields:
+ key: ""
+ approval_required: true
+ default_job_queue:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ grouping: grouping
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
name_override: true
hidden_override: true
- task_queues_override: true
+ is_singleton: true
name: name
- soft_time_limit_override: true
description_override: true
- time_limit_override: true
+ is_singleton_override: true
properties:
+ id:
+ format: uuid
+ type: string
grouping:
description: Human-readable grouping that this job belongs to
maxLength: 255
@@ -172878,6 +170839,10 @@ components:
has_sensitive_variables:
description: Whether this job contains sensitive variables
type: boolean
+ is_singleton:
+ description: Whether this job should fail to run if another instance of
+ this job is already running
+ type: boolean
approval_required:
description: Whether the job requires approval from another user before
running
@@ -172901,9 +170866,6 @@ components:
format: double
minimum: 0
type: number
- task_queues:
- description: Comma separated list of task queues that this job can run on.
- A blank list will use the default queue
grouping_override:
description: "If set, the configured grouping will remain even if the underlying\
\ Job source code changes"
@@ -172940,22 +170902,33 @@ components:
description: "If set, the configured value will remain even if the underlying\
\ Job source code changes"
type: boolean
- task_queues_override:
+ job_queues_override:
+ description: "If set, the configured value will remain even if the underlying\
+ \ Job source code changes"
+ type: boolean
+ default_job_queue_override:
+ description: "If set, the configured value will remain even if the underlying\
+ \ Job source code changes"
+ type: boolean
+ is_singleton_override:
description: "If set, the configured value will remain even if the underlying\
\ Job source code changes"
type: boolean
+ default_job_queue:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
+ - default_job_queue
- grouping
- name
type: object
@@ -172983,6 +170956,8 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ computed_fields:
+ key: ""
meta: ""
name: name
celery_kwargs: ""
@@ -173000,13 +170975,13 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ date_started: 2000-01-23T04:56:07.000+00:00
status:
label: null
value: FAILURE
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -173026,7 +171001,7 @@ components:
readOnly: true
type: string
status:
- $ref: '#/components/schemas/JobResult_status'
+ $ref: "#/components/schemas/JobResult_status"
name:
maxLength: 255
type: string
@@ -173040,6 +171015,10 @@ components:
format: date-time
readOnly: true
type: string
+ date_started:
+ format: date-time
+ nullable: true
+ type: string
date_done:
format: date-time
nullable: true
@@ -173063,24 +171042,28 @@ components:
nullable: true
readOnly: true
job_model:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
user:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
scheduled_job:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
+ computed_fields:
+ additionalProperties: {}
+ readOnly: true
+ type: object
files:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
readOnly: true
type: array
required:
+ - computed_fields
- date_created
- display
- files
- - id
- meta
- name
- natural_slug
@@ -173098,11 +171081,11 @@ components:
properties:
schedule:
allOf:
- - $ref: '#/components/schemas/ScheduledJob'
+ - $ref: "#/components/schemas/ScheduledJob"
readOnly: true
job_result:
allOf:
- - $ref: '#/components/schemas/JobResult'
+ - $ref: "#/components/schemas/JobResult"
readOnly: true
required:
- job_result
@@ -173242,7 +171225,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -173333,13 +171315,13 @@ components:
comments:
type: string
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
location_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
created:
format: date-time
nullable: true
@@ -173359,12 +171341,11 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- created
- display
- - id
- last_updated
- location_type
- name
@@ -173441,6 +171422,7 @@ components:
type: one-to-many
url: https://openapi-generator.tech
name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
shipping_address: shipping_address
facility: facility
asn: 343953089
@@ -173454,6 +171436,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
time_zone:
minLength: 1
nullable: true
@@ -173506,23 +171491,23 @@ components:
comments:
type: string
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
location_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- location_type
@@ -173557,7 +171542,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -173595,7 +171579,7 @@ components:
Locations of this same type
type: boolean
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
created:
format: date-time
nullable: true
@@ -173616,7 +171600,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -173677,7 +171660,11 @@ components:
content_types:
- content_types
- content_types
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
content_types:
items:
type: string
@@ -173694,13 +171681,13 @@ components:
Locations of this same type
type: boolean
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- name
@@ -173709,7 +171696,9 @@ components:
enum:
- debug
- info
+ - success
- warning
+ - failure
- error
- critical
type: string
@@ -173738,7 +171727,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -173795,7 +171783,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -173849,7 +171836,11 @@ components:
key: ""
name: name
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -173862,7 +171853,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- name
@@ -173888,7 +171879,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -173916,7 +171906,7 @@ components:
minimum: 0
type: integer
metadata_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
created:
format: date-time
nullable: true
@@ -173930,7 +171920,6 @@ components:
required:
- created
- display
- - id
- last_updated
- metadata_type
- natural_slug
@@ -173948,8 +171937,12 @@ components:
id: null
url: https://openapi-generator.tech
weight: 2624
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
value: value
properties:
+ id:
+ format: uuid
+ type: string
value:
maxLength: 255
minLength: 1
@@ -173960,7 +171953,7 @@ components:
minimum: 0
type: integer
metadata_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- metadata_type
- value
@@ -173981,6 +171974,13 @@ components:
natural_slug: attribute1_attribute2
description: description
url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
name: name
data_type: ""
content_types:
@@ -173990,7 +171990,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -174021,7 +172020,7 @@ components:
type: string
data_type:
allOf:
- - $ref: '#/components/schemas/DataTypeEnum'
+ - $ref: "#/components/schemas/DataTypeEnum"
description: The type of data allowed for any Metadata of this type.
created:
format: date-time
@@ -174040,12 +172039,15 @@ components:
custom_fields:
additionalProperties: {}
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
required:
- content_types
- created
- data_type
- display
- - id
- last_updated
- name
- natural_slug
@@ -174103,7 +172105,18 @@ components:
content_types:
- content_types
- content_types
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
content_types:
items:
type: string
@@ -174117,26 +172130,24 @@ components:
type: string
data_type:
allOf:
- - $ref: '#/components/schemas/DataTypeEnum'
+ - $ref: "#/components/schemas/DataTypeEnum"
description: The type of data allowed for any Metadata of this type.
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
required:
- content_types
- data_type
- name
type: object
- ModeEnum:
- enum:
- - access
- - tagged
- - tagged-all
- type: string
Module:
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
@@ -174189,7 +172200,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -174219,17 +172229,17 @@ components:
nullable: true
type: string
module_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
parent_module_bay:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
location:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
created:
format: date-time
nullable: true
@@ -174249,12 +172259,11 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- created
- display
- - id
- last_updated
- module_type
- natural_slug
@@ -174270,6 +172279,10 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
example:
last_updated: 2000-01-23T04:56:07.000+00:00
+ module_family:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
object_type: app_label.modelname
created: 2000-01-23T04:56:07.000+00:00
notes_url: https://openapi-generator.tech
@@ -174279,6 +172292,7 @@ components:
natural_slug: attribute1_attribute2
description: description
label: label
+ requires_first_party_modules: true
url: https://openapi-generator.tech
tags:
- object_type: app_label.modelname
@@ -174301,7 +172315,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -174320,6 +172333,10 @@ components:
example: attribute1_attribute2
readOnly: true
type: string
+ requires_first_party_modules:
+ description: This bay will only accept modules from the same manufacturer
+ as the parent device or module
+ type: boolean
name:
maxLength: 255
type: string
@@ -174335,9 +172352,11 @@ components:
maxLength: 255
type: string
parent_device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
parent_module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ module_family:
+ $ref: "#/components/schemas/BulkWritableModuleBayRequest_module_family"
created:
format: date-time
nullable: true
@@ -174357,12 +172376,11 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -174412,6 +172430,10 @@ components:
label: label
type: one-to-many
url: https://openapi-generator.tech
+ module_family:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
parent_device:
object_type: app_label.modelname
id: null
@@ -174420,8 +172442,10 @@ components:
key: ""
name: name
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
position: position
label: label
+ requires_first_party_modules: true
parent_module:
object_type: app_label.modelname
id: null
@@ -174434,6 +172458,13 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
+ requires_first_party_modules:
+ description: This bay will only accept modules from the same manufacturer
+ as the parent device or module
+ type: boolean
name:
maxLength: 255
minLength: 1
@@ -174450,19 +172481,21 @@ components:
maxLength: 255
type: string
parent_device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
parent_module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ module_family:
+ $ref: "#/components/schemas/BulkWritableModuleBayRequest_module_family"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- name
@@ -174474,6 +172507,10 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
example:
last_updated: 2000-01-23T04:56:07.000+00:00
+ module_family:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
object_type: app_label.modelname
module_type:
object_type: app_label.modelname
@@ -174491,6 +172528,7 @@ components:
id: null
url: https://openapi-generator.tech
label: label
+ requires_first_party_modules: true
url: https://openapi-generator.tech
name: name
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
@@ -174498,7 +172536,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -174535,10 +172572,16 @@ components:
description:
maxLength: 255
type: string
+ requires_first_party_modules:
+ description: This bay will only accept modules from the same manufacturer
+ as the parent device or module
+ type: boolean
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ module_family:
+ $ref: "#/components/schemas/BulkWritableModuleBayTemplateRequest_module_family"
created:
format: date-time
nullable: true
@@ -174555,7 +172598,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -174605,6 +172647,10 @@ components:
label: label
type: one-to-many
url: https://openapi-generator.tech
+ module_family:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
module_type:
object_type: app_label.modelname
id: null
@@ -174617,9 +172663,14 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
position: position
label: label
+ requires_first_party_modules: true
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -174635,16 +172686,164 @@ components:
description:
maxLength: 255
type: string
+ requires_first_party_modules:
+ description: This bay will only accept modules from the same manufacturer
+ as the parent device or module
+ type: boolean
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ module_family:
+ $ref: "#/components/schemas/BulkWritableModuleBayTemplateRequest_module_family"
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ required:
+ - name
+ type: object
+ ModuleFamily:
+ description: API serializer for ModuleFamily objects.
+ example:
+ module_type_count: 0
+ last_updated: 2000-01-23T04:56:07.000+00:00
+ object_type: app_label.modelname
+ created: 2000-01-23T04:56:07.000+00:00
+ notes_url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ display: display
+ natural_slug: attribute1_attribute2
+ description: description
+ url: https://openapi-generator.tech
+ name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ module_bay_count: 6
+ properties:
+ id:
+ format: uuid
+ type: string
+ object_type:
+ example: app_label.modelname
+ pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
+ readOnly: true
+ type: string
+ display:
+ description: Human friendly display value
+ readOnly: true
+ type: string
+ url:
+ format: uri
+ readOnly: true
+ type: string
+ natural_slug:
+ example: attribute1_attribute2
+ readOnly: true
+ type: string
+ module_type_count:
+ readOnly: true
+ type: integer
+ module_bay_count:
+ readOnly: true
+ type: integer
+ name:
+ maxLength: 255
+ type: string
+ description:
+ maxLength: 255
+ type: string
+ created:
+ format: date-time
+ nullable: true
+ readOnly: true
+ type: string
+ last_updated:
+ format: date-time
+ nullable: true
+ readOnly: true
+ type: string
+ notes_url:
+ format: uri
+ readOnly: true
+ type: string
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ required:
+ - created
+ - display
+ - last_updated
+ - name
+ - natural_slug
+ - notes_url
+ - object_type
+ - url
+ type: object
+ ModuleFamilyRequest:
+ description: API serializer for ModuleFamily objects.
+ example:
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ name: name
+ description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ properties:
+ id:
+ format: uuid
+ type: string
+ name:
+ maxLength: 255
+ minLength: 1
+ type: string
+ description:
+ maxLength: 255
+ type: string
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- name
@@ -174711,6 +172910,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
tenant:
object_type: app_label.modelname
id: null
@@ -174727,6 +172927,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
serial:
maxLength: 255
nullable: true
@@ -174738,27 +172941,27 @@ components:
nullable: true
type: string
module_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
parent_module_bay:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
location:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- module_type
@@ -174772,6 +172975,10 @@ components:
example:
last_updated: 2000-01-23T04:56:07.000+00:00
comments: comments
+ module_family:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
object_type: app_label.modelname
created: 2000-01-23T04:56:07.000+00:00
notes_url: https://openapi-generator.tech
@@ -174797,7 +173004,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -174826,7 +173032,9 @@ components:
comments:
type: string
manufacturer:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ module_family:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
created:
format: date-time
nullable: true
@@ -174846,12 +173054,11 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- created
- display
- - id
- last_updated
- manufacturer
- model
@@ -174903,10 +173110,15 @@ components:
type: one-to-many
url: https://openapi-generator.tech
comments: comments
+ module_family:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
custom_fields:
key: ""
part_number: part_number
model: model
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
manufacturer:
object_type: app_label.modelname
id: null
@@ -174919,6 +173131,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
model:
maxLength: 255
minLength: 1
@@ -174930,17 +173145,19 @@ components:
comments:
type: string
manufacturer:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ module_family:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- manufacturer
@@ -174978,7 +173195,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175004,7 +173220,7 @@ components:
maxLength: 255
type: string
location:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
created:
format: date-time
nullable: true
@@ -175017,7 +173233,7 @@ components:
type: string
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
notes_url:
format: uri
@@ -175029,7 +173245,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -175087,6 +173302,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
tags:
- object_type: app_label.modelname
id: null
@@ -175095,6 +173311,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -175103,17 +173322,17 @@ components:
maxLength: 255
type: string
location:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- name
@@ -175126,7 +173345,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175138,7 +173356,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175150,7 +173367,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175162,7 +173378,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175178,7 +173393,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175190,7 +173404,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175202,7 +173415,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175214,7 +173426,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175226,7 +173437,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175238,7 +173448,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175250,7 +173459,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175262,7 +173470,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175274,7 +173481,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175286,7 +173492,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175298,7 +173503,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175310,7 +173514,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175322,7 +173525,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175334,7 +173536,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175346,7 +173547,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175358,7 +173558,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175370,7 +173569,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175382,7 +173580,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175393,7 +173590,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175405,7 +173601,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175416,7 +173611,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175428,7 +173622,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175440,7 +173633,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175452,7 +173644,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175464,7 +173655,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175476,7 +173666,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175488,7 +173677,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175500,7 +173688,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175512,7 +173699,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175524,7 +173710,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175536,7 +173721,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175548,7 +173732,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175560,7 +173743,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175572,7 +173754,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175584,7 +173765,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175596,7 +173776,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175608,7 +173787,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175620,7 +173798,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175632,7 +173809,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175644,7 +173820,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175655,7 +173830,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175667,7 +173841,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175678,7 +173851,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175690,7 +173862,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175701,7 +173872,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175713,7 +173883,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175725,7 +173894,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175737,7 +173905,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175749,7 +173916,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175761,7 +173927,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175773,7 +173938,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175785,7 +173949,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175797,7 +173960,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175809,7 +173971,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175821,7 +173982,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175833,7 +173993,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175845,7 +174004,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175857,7 +174015,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175868,7 +174025,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175880,7 +174036,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175892,7 +174047,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175904,7 +174058,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175913,7 +174066,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175925,7 +174077,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175937,7 +174088,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175949,7 +174099,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175971,7 +174120,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -175983,7 +174131,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -175995,7 +174142,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176007,7 +174153,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176019,7 +174164,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176031,7 +174175,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176040,7 +174183,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176052,7 +174194,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176063,7 +174204,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176075,7 +174215,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176087,7 +174226,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176099,7 +174237,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176110,7 +174247,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176122,7 +174258,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176134,7 +174269,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176146,7 +174280,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176155,7 +174288,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176167,7 +174299,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176176,7 +174307,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176188,7 +174318,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176200,8 +174329,28 @@ components:
properties:
id:
format: uuid
+ type: string
+ object_type:
+ example: app_label.modelname
+ pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
+ readOnly: true
+ type: string
+ url:
+ format: uri
readOnly: true
type: string
+ required:
+ - object_type
+ - url
+ type: object
+ NestedInterfaceVDCAssignment:
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ properties:
+ id:
+ format: uuid
+ type: string
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -176212,7 +174361,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176222,7 +174370,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176234,7 +174381,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176246,7 +174392,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176258,7 +174403,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176269,7 +174413,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176281,7 +174424,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176293,8 +174435,29 @@ components:
properties:
id:
format: uuid
+ type: string
+ object_type:
+ example: app_label.modelname
+ pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
+ readOnly: true
+ type: string
+ url:
+ format: uri
readOnly: true
type: string
+ required:
+ - object_type
+ - url
+ type: object
+ NestedJobQueue:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ format: uuid
+ type: string
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -176305,7 +174468,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176315,7 +174477,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176327,7 +174488,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176337,7 +174497,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176349,7 +174508,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176359,7 +174517,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176371,7 +174528,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176383,7 +174539,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176395,7 +174550,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176406,7 +174560,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176418,7 +174571,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176430,7 +174582,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176442,7 +174593,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176454,7 +174604,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176466,7 +174615,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176478,7 +174626,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176490,7 +174637,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176502,8 +174648,26 @@ components:
properties:
id:
format: uuid
+ type: string
+ object_type:
+ example: app_label.modelname
+ pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
+ readOnly: true
+ type: string
+ url:
+ format: uri
readOnly: true
type: string
+ required:
+ - object_type
+ - url
+ type: object
+ NestedModuleFamily:
+ description: API serializer for ModuleFamily objects.
+ properties:
+ id:
+ format: uuid
+ type: string
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -176514,7 +174678,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176526,7 +174689,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176538,7 +174700,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176550,7 +174711,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176562,7 +174722,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176584,7 +174743,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176596,7 +174754,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176618,7 +174775,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176630,7 +174786,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176641,7 +174796,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176653,7 +174807,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176664,7 +174817,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176676,7 +174828,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176688,7 +174839,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176700,7 +174850,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176712,7 +174861,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176724,7 +174872,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176736,7 +174883,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176748,7 +174894,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176760,7 +174905,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176772,7 +174916,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176784,7 +174927,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176796,7 +174938,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176808,7 +174949,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176820,7 +174960,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176832,7 +174971,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176844,7 +174982,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176856,7 +174993,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176868,7 +175004,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176880,7 +175015,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176892,7 +175026,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176904,7 +175037,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176916,7 +175048,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176928,7 +175059,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176940,7 +175070,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176952,7 +175081,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176964,7 +175092,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176974,7 +175101,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -176986,7 +175112,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -176998,8 +175123,29 @@ components:
properties:
id:
format: uuid
+ type: string
+ object_type:
+ example: app_label.modelname
+ pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
+ readOnly: true
+ type: string
+ url:
+ format: uri
readOnly: true
type: string
+ required:
+ - object_type
+ - url
+ type: object
+ NestedRadioProfile:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ format: uuid
+ type: string
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -177010,7 +175156,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -177022,7 +175167,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -177034,7 +175178,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -177046,7 +175189,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -177058,7 +175200,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -177069,7 +175210,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -177081,7 +175221,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -177092,7 +175231,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -177104,7 +175242,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -177113,7 +175250,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -177125,7 +175261,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -177137,7 +175272,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -177149,7 +175283,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -177160,7 +175293,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -177172,7 +175304,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -177194,7 +175325,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -177206,7 +175336,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -177215,7 +175344,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -177227,7 +175355,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -177236,7 +175363,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -177248,7 +175374,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -177257,7 +175382,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -177269,7 +175393,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -177281,7 +175404,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -177293,7 +175415,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -177305,7 +175426,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -177317,7 +175437,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -177329,7 +175448,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -177341,7 +175459,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -177353,7 +175470,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -177365,7 +175481,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -177374,8 +175489,29 @@ components:
properties:
id:
format: uuid
+ type: string
+ object_type:
+ example: app_label.modelname
+ pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
readOnly: true
type: string
+ url:
+ format: uri
+ readOnly: true
+ type: string
+ required:
+ - object_type
+ - url
+ type: object
+ NestedSupportedDataRate:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ format: uuid
+ type: string
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -177386,7 +175522,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -177398,7 +175533,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -177410,7 +175544,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -177422,7 +175555,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -177434,7 +175566,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -177446,7 +175577,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -177458,7 +175588,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -177470,7 +175599,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -177482,7 +175610,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -177494,7 +175621,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -177506,7 +175632,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -177518,7 +175643,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -177530,7 +175654,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -177542,7 +175665,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -177554,7 +175676,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -177566,7 +175687,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -177578,7 +175698,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -177590,8 +175709,29 @@ components:
properties:
id:
format: uuid
+ type: string
+ object_type:
+ example: app_label.modelname
+ pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
readOnly: true
type: string
+ url:
+ format: uri
+ readOnly: true
+ type: string
+ required:
+ - object_type
+ - url
+ type: object
+ NestedVirtualDeviceContext:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ format: uuid
+ type: string
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -177602,7 +175742,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -177614,7 +175753,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -177626,7 +175764,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -177637,8 +175774,29 @@ components:
properties:
id:
format: uuid
+ type: string
+ object_type:
+ example: app_label.modelname
+ pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
+ readOnly: true
+ type: string
+ url:
+ format: uri
readOnly: true
type: string
+ required:
+ - object_type
+ - url
+ type: object
+ NestedWirelessNetwork:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ properties:
+ id:
+ format: uuid
+ type: string
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -177649,7 +175807,6 @@ components:
readOnly: true
type: string
required:
- - id
- object_type
- url
type: object
@@ -177688,7 +175845,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -177711,7 +175867,7 @@ components:
type: string
assigned_object:
allOf:
- - $ref: '#/components/schemas/NoteAssignedObject'
+ - $ref: "#/components/schemas/NoteAssignedObject"
nullable: true
readOnly: true
assigned_object_id:
@@ -177723,7 +175879,7 @@ components:
note:
type: string
user:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
created:
format: date-time
nullable: true
@@ -177740,7 +175896,6 @@ components:
- assigned_object_type
- created
- display
- - id
- last_updated
- natural_slug
- note
@@ -177751,172 +175906,184 @@ components:
NoteAssignedObject:
discriminator:
mapping:
- circuits.circuit: '#/components/schemas/NestedCircuit'
- circuits.circuittermination: '#/components/schemas/NestedCircuitTermination'
- circuits.circuittype: '#/components/schemas/NestedCircuitType'
- circuits.provider: '#/components/schemas/NestedProvider'
- circuits.providernetwork: '#/components/schemas/NestedProviderNetwork'
- cloud.cloudaccount: '#/components/schemas/NestedCloudAccount'
- cloud.cloudnetwork: '#/components/schemas/NestedCloudNetwork'
- cloud.cloudresourcetype: '#/components/schemas/NestedCloudResourceType'
- cloud.cloudservice: '#/components/schemas/NestedCloudService'
- dcim.cable: '#/components/schemas/NestedCable'
- dcim.consoleport: '#/components/schemas/NestedConsolePort'
- dcim.consoleserverport: '#/components/schemas/NestedConsoleServerPort'
- dcim.controller: '#/components/schemas/NestedController'
- dcim.controllermanageddevicegroup: '#/components/schemas/NestedControllerManagedDeviceGroup'
- dcim.device: '#/components/schemas/NestedDevice'
- dcim.devicebay: '#/components/schemas/NestedDeviceBay'
- dcim.devicefamily: '#/components/schemas/NestedDeviceFamily'
- dcim.deviceredundancygroup: '#/components/schemas/NestedDeviceRedundancyGroup'
- dcim.devicetype: '#/components/schemas/NestedDeviceType'
- dcim.frontport: '#/components/schemas/NestedFrontPort'
- dcim.interface: '#/components/schemas/NestedInterface'
- dcim.interfaceredundancygroup: '#/components/schemas/NestedInterfaceRedundancyGroup'
- dcim.inventoryitem: '#/components/schemas/NestedInventoryItem'
- dcim.location: '#/components/schemas/NestedLocation'
- dcim.locationtype: '#/components/schemas/NestedLocationType'
- dcim.manufacturer: '#/components/schemas/NestedManufacturer'
- dcim.module: '#/components/schemas/NestedModule'
- dcim.modulebay: '#/components/schemas/NestedModuleBay'
- dcim.moduletype: '#/components/schemas/NestedModuleType'
- dcim.platform: '#/components/schemas/NestedPlatform'
- dcim.powerfeed: '#/components/schemas/NestedPowerFeed'
- dcim.poweroutlet: '#/components/schemas/NestedPowerOutlet'
- dcim.powerpanel: '#/components/schemas/NestedPowerPanel'
- dcim.powerport: '#/components/schemas/NestedPowerPort'
- dcim.rack: '#/components/schemas/NestedRack'
- dcim.rackgroup: '#/components/schemas/NestedRackGroup'
- dcim.rackreservation: '#/components/schemas/NestedRackReservation'
- dcim.rearport: '#/components/schemas/NestedRearPort'
- dcim.softwareimagefile: '#/components/schemas/NestedSoftwareImageFile'
- dcim.softwareversion: '#/components/schemas/NestedSoftwareVersion'
- dcim.virtualchassis: '#/components/schemas/NestedVirtualChassis'
- extras.computedfield: '#/components/schemas/NestedComputedField'
- extras.configcontext: '#/components/schemas/NestedConfigContext'
- extras.configcontextschema: '#/components/schemas/NestedConfigContextSchema'
- extras.contact: '#/components/schemas/NestedContact'
- extras.contactassociation: '#/components/schemas/NestedContactAssociation'
- extras.customfield: '#/components/schemas/NestedCustomField'
- extras.customlink: '#/components/schemas/NestedCustomLink'
- extras.dynamicgroup: '#/components/schemas/NestedDynamicGroup'
- extras.exporttemplate: '#/components/schemas/NestedExportTemplate'
- extras.externalintegration: '#/components/schemas/NestedExternalIntegration'
- extras.gitrepository: '#/components/schemas/NestedGitRepository'
- extras.graphqlquery: '#/components/schemas/NestedGraphQLQuery'
- extras.job: '#/components/schemas/NestedJob'
- extras.jobbutton: '#/components/schemas/NestedJobButton'
- extras.jobhook: '#/components/schemas/NestedJobHook'
- extras.metadatatype: '#/components/schemas/NestedMetadataType'
- extras.relationship: '#/components/schemas/NestedRelationship'
- extras.role: '#/components/schemas/NestedRole'
- extras.secret: '#/components/schemas/NestedSecret'
- extras.secretsgroup: '#/components/schemas/NestedSecretsGroup'
- extras.staticgroupassociation: '#/components/schemas/NestedStaticGroupAssociation'
- extras.status: '#/components/schemas/NestedStatus'
- extras.tag: '#/components/schemas/NestedTag'
- extras.team: '#/components/schemas/NestedTeam'
- extras.webhook: '#/components/schemas/NestedWebhook'
- ipam.ipaddress: '#/components/schemas/NestedIPAddress'
- ipam.namespace: '#/components/schemas/NestedNamespace'
- ipam.prefix: '#/components/schemas/NestedPrefix'
- ipam.rir: '#/components/schemas/NestedRIR'
- ipam.routetarget: '#/components/schemas/NestedRouteTarget'
- ipam.service: '#/components/schemas/NestedService'
- ipam.vlan: '#/components/schemas/NestedVLAN'
- ipam.vlangroup: '#/components/schemas/NestedVLANGroup'
- ipam.vrf: '#/components/schemas/NestedVRF'
- tenancy.tenant: '#/components/schemas/NestedTenant'
- tenancy.tenantgroup: '#/components/schemas/NestedTenantGroup'
- virtualization.cluster: '#/components/schemas/NestedCluster'
- virtualization.clustergroup: '#/components/schemas/NestedClusterGroup'
- virtualization.clustertype: '#/components/schemas/NestedClusterType'
- virtualization.virtualmachine: '#/components/schemas/NestedVirtualMachine'
- virtualization.vminterface: '#/components/schemas/NestedVMInterface'
+ circuits.circuit: "#/components/schemas/NestedCircuit"
+ circuits.circuittermination: "#/components/schemas/NestedCircuitTermination"
+ circuits.circuittype: "#/components/schemas/NestedCircuitType"
+ circuits.provider: "#/components/schemas/NestedProvider"
+ circuits.providernetwork: "#/components/schemas/NestedProviderNetwork"
+ cloud.cloudaccount: "#/components/schemas/NestedCloudAccount"
+ cloud.cloudnetwork: "#/components/schemas/NestedCloudNetwork"
+ cloud.cloudresourcetype: "#/components/schemas/NestedCloudResourceType"
+ cloud.cloudservice: "#/components/schemas/NestedCloudService"
+ dcim.cable: "#/components/schemas/NestedCable"
+ dcim.consoleport: "#/components/schemas/NestedConsolePort"
+ dcim.consoleserverport: "#/components/schemas/NestedConsoleServerPort"
+ dcim.controller: "#/components/schemas/NestedController"
+ dcim.controllermanageddevicegroup: "#/components/schemas/NestedControllerManagedDeviceGroup"
+ dcim.device: "#/components/schemas/NestedDevice"
+ dcim.devicebay: "#/components/schemas/NestedDeviceBay"
+ dcim.devicefamily: "#/components/schemas/NestedDeviceFamily"
+ dcim.deviceredundancygroup: "#/components/schemas/NestedDeviceRedundancyGroup"
+ dcim.devicetype: "#/components/schemas/NestedDeviceType"
+ dcim.frontport: "#/components/schemas/NestedFrontPort"
+ dcim.interface: "#/components/schemas/NestedInterface"
+ dcim.interfaceredundancygroup: "#/components/schemas/NestedInterfaceRedundancyGroup"
+ dcim.inventoryitem: "#/components/schemas/NestedInventoryItem"
+ dcim.location: "#/components/schemas/NestedLocation"
+ dcim.locationtype: "#/components/schemas/NestedLocationType"
+ dcim.manufacturer: "#/components/schemas/NestedManufacturer"
+ dcim.module: "#/components/schemas/NestedModule"
+ dcim.modulebay: "#/components/schemas/NestedModuleBay"
+ dcim.modulefamily: "#/components/schemas/NestedModuleFamily"
+ dcim.moduletype: "#/components/schemas/NestedModuleType"
+ dcim.platform: "#/components/schemas/NestedPlatform"
+ dcim.powerfeed: "#/components/schemas/NestedPowerFeed"
+ dcim.poweroutlet: "#/components/schemas/NestedPowerOutlet"
+ dcim.powerpanel: "#/components/schemas/NestedPowerPanel"
+ dcim.powerport: "#/components/schemas/NestedPowerPort"
+ dcim.rack: "#/components/schemas/NestedRack"
+ dcim.rackgroup: "#/components/schemas/NestedRackGroup"
+ dcim.rackreservation: "#/components/schemas/NestedRackReservation"
+ dcim.rearport: "#/components/schemas/NestedRearPort"
+ dcim.softwareimagefile: "#/components/schemas/NestedSoftwareImageFile"
+ dcim.softwareversion: "#/components/schemas/NestedSoftwareVersion"
+ dcim.virtualchassis: "#/components/schemas/NestedVirtualChassis"
+ dcim.virtualdevicecontext: "#/components/schemas/NestedVirtualDeviceContext"
+ extras.computedfield: "#/components/schemas/NestedComputedField"
+ extras.configcontext: "#/components/schemas/NestedConfigContext"
+ extras.configcontextschema: "#/components/schemas/NestedConfigContextSchema"
+ extras.contact: "#/components/schemas/NestedContact"
+ extras.contactassociation: "#/components/schemas/NestedContactAssociation"
+ extras.customfield: "#/components/schemas/NestedCustomField"
+ extras.customlink: "#/components/schemas/NestedCustomLink"
+ extras.dynamicgroup: "#/components/schemas/NestedDynamicGroup"
+ extras.exporttemplate: "#/components/schemas/NestedExportTemplate"
+ extras.externalintegration: "#/components/schemas/NestedExternalIntegration"
+ extras.gitrepository: "#/components/schemas/NestedGitRepository"
+ extras.graphqlquery: "#/components/schemas/NestedGraphQLQuery"
+ extras.job: "#/components/schemas/NestedJob"
+ extras.jobbutton: "#/components/schemas/NestedJobButton"
+ extras.jobhook: "#/components/schemas/NestedJobHook"
+ extras.jobqueue: "#/components/schemas/NestedJobQueue"
+ extras.metadatatype: "#/components/schemas/NestedMetadataType"
+ extras.relationship: "#/components/schemas/NestedRelationship"
+ extras.role: "#/components/schemas/NestedRole"
+ extras.secret: "#/components/schemas/NestedSecret"
+ extras.secretsgroup: "#/components/schemas/NestedSecretsGroup"
+ extras.staticgroupassociation: "#/components/schemas/NestedStaticGroupAssociation"
+ extras.status: "#/components/schemas/NestedStatus"
+ extras.tag: "#/components/schemas/NestedTag"
+ extras.team: "#/components/schemas/NestedTeam"
+ extras.webhook: "#/components/schemas/NestedWebhook"
+ ipam.ipaddress: "#/components/schemas/NestedIPAddress"
+ ipam.namespace: "#/components/schemas/NestedNamespace"
+ ipam.prefix: "#/components/schemas/NestedPrefix"
+ ipam.rir: "#/components/schemas/NestedRIR"
+ ipam.routetarget: "#/components/schemas/NestedRouteTarget"
+ ipam.service: "#/components/schemas/NestedService"
+ ipam.vlan: "#/components/schemas/NestedVLAN"
+ ipam.vlangroup: "#/components/schemas/NestedVLANGroup"
+ ipam.vrf: "#/components/schemas/NestedVRF"
+ tenancy.tenant: "#/components/schemas/NestedTenant"
+ tenancy.tenantgroup: "#/components/schemas/NestedTenantGroup"
+ virtualization.cluster: "#/components/schemas/NestedCluster"
+ virtualization.clustergroup: "#/components/schemas/NestedClusterGroup"
+ virtualization.clustertype: "#/components/schemas/NestedClusterType"
+ virtualization.virtualmachine: "#/components/schemas/NestedVirtualMachine"
+ virtualization.vminterface: "#/components/schemas/NestedVMInterface"
+ wireless.radioprofile: "#/components/schemas/NestedRadioProfile"
+ wireless.supporteddatarate: "#/components/schemas/NestedSupportedDataRate"
+ wireless.wirelessnetwork: "#/components/schemas/NestedWirelessNetwork"
propertyName: object_type
oneOf:
- - $ref: '#/components/schemas/NestedCircuit'
- - $ref: '#/components/schemas/NestedCircuitTermination'
- - $ref: '#/components/schemas/NestedCircuitType'
- - $ref: '#/components/schemas/NestedProvider'
- - $ref: '#/components/schemas/NestedProviderNetwork'
- - $ref: '#/components/schemas/NestedCloudAccount'
- - $ref: '#/components/schemas/NestedCloudNetwork'
- - $ref: '#/components/schemas/NestedCloudResourceType'
- - $ref: '#/components/schemas/NestedCloudService'
- - $ref: '#/components/schemas/NestedCable'
- - $ref: '#/components/schemas/NestedConsolePort'
- - $ref: '#/components/schemas/NestedConsoleServerPort'
- - $ref: '#/components/schemas/NestedController'
- - $ref: '#/components/schemas/NestedControllerManagedDeviceGroup'
- - $ref: '#/components/schemas/NestedDevice'
- - $ref: '#/components/schemas/NestedDeviceBay'
- - $ref: '#/components/schemas/NestedDeviceFamily'
- - $ref: '#/components/schemas/NestedDeviceRedundancyGroup'
- - $ref: '#/components/schemas/NestedDeviceType'
- - $ref: '#/components/schemas/NestedFrontPort'
- - $ref: '#/components/schemas/NestedInterface'
- - $ref: '#/components/schemas/NestedInterfaceRedundancyGroup'
- - $ref: '#/components/schemas/NestedInventoryItem'
- - $ref: '#/components/schemas/NestedLocation'
- - $ref: '#/components/schemas/NestedLocationType'
- - $ref: '#/components/schemas/NestedManufacturer'
- - $ref: '#/components/schemas/NestedModule'
- - $ref: '#/components/schemas/NestedModuleBay'
- - $ref: '#/components/schemas/NestedModuleType'
- - $ref: '#/components/schemas/NestedPlatform'
- - $ref: '#/components/schemas/NestedPowerFeed'
- - $ref: '#/components/schemas/NestedPowerOutlet'
- - $ref: '#/components/schemas/NestedPowerPanel'
- - $ref: '#/components/schemas/NestedPowerPort'
- - $ref: '#/components/schemas/NestedRack'
- - $ref: '#/components/schemas/NestedRackGroup'
- - $ref: '#/components/schemas/NestedRackReservation'
- - $ref: '#/components/schemas/NestedRearPort'
- - $ref: '#/components/schemas/NestedSoftwareImageFile'
- - $ref: '#/components/schemas/NestedSoftwareVersion'
- - $ref: '#/components/schemas/NestedVirtualChassis'
- - $ref: '#/components/schemas/NestedComputedField'
- - $ref: '#/components/schemas/NestedConfigContext'
- - $ref: '#/components/schemas/NestedConfigContextSchema'
- - $ref: '#/components/schemas/NestedContact'
- - $ref: '#/components/schemas/NestedContactAssociation'
- - $ref: '#/components/schemas/NestedCustomField'
- - $ref: '#/components/schemas/NestedCustomLink'
- - $ref: '#/components/schemas/NestedDynamicGroup'
- - $ref: '#/components/schemas/NestedExportTemplate'
- - $ref: '#/components/schemas/NestedExternalIntegration'
- - $ref: '#/components/schemas/NestedGitRepository'
- - $ref: '#/components/schemas/NestedGraphQLQuery'
- - $ref: '#/components/schemas/NestedJob'
- - $ref: '#/components/schemas/NestedJobButton'
- - $ref: '#/components/schemas/NestedJobHook'
- - $ref: '#/components/schemas/NestedMetadataType'
- - $ref: '#/components/schemas/NestedRelationship'
- - $ref: '#/components/schemas/NestedRole'
- - $ref: '#/components/schemas/NestedSecret'
- - $ref: '#/components/schemas/NestedSecretsGroup'
- - $ref: '#/components/schemas/NestedStaticGroupAssociation'
- - $ref: '#/components/schemas/NestedStatus'
- - $ref: '#/components/schemas/NestedTag'
- - $ref: '#/components/schemas/NestedTeam'
- - $ref: '#/components/schemas/NestedWebhook'
- - $ref: '#/components/schemas/NestedIPAddress'
- - $ref: '#/components/schemas/NestedNamespace'
- - $ref: '#/components/schemas/NestedPrefix'
- - $ref: '#/components/schemas/NestedRIR'
- - $ref: '#/components/schemas/NestedRouteTarget'
- - $ref: '#/components/schemas/NestedService'
- - $ref: '#/components/schemas/NestedVLAN'
- - $ref: '#/components/schemas/NestedVLANGroup'
- - $ref: '#/components/schemas/NestedVRF'
- - $ref: '#/components/schemas/NestedTenant'
- - $ref: '#/components/schemas/NestedTenantGroup'
- - $ref: '#/components/schemas/NestedCluster'
- - $ref: '#/components/schemas/NestedClusterGroup'
- - $ref: '#/components/schemas/NestedClusterType'
- - $ref: '#/components/schemas/NestedVirtualMachine'
- - $ref: '#/components/schemas/NestedVMInterface'
+ - $ref: "#/components/schemas/NestedCircuit"
+ - $ref: "#/components/schemas/NestedCircuitTermination"
+ - $ref: "#/components/schemas/NestedCircuitType"
+ - $ref: "#/components/schemas/NestedProvider"
+ - $ref: "#/components/schemas/NestedProviderNetwork"
+ - $ref: "#/components/schemas/NestedCloudAccount"
+ - $ref: "#/components/schemas/NestedCloudNetwork"
+ - $ref: "#/components/schemas/NestedCloudResourceType"
+ - $ref: "#/components/schemas/NestedCloudService"
+ - $ref: "#/components/schemas/NestedCable"
+ - $ref: "#/components/schemas/NestedConsolePort"
+ - $ref: "#/components/schemas/NestedConsoleServerPort"
+ - $ref: "#/components/schemas/NestedController"
+ - $ref: "#/components/schemas/NestedControllerManagedDeviceGroup"
+ - $ref: "#/components/schemas/NestedDevice"
+ - $ref: "#/components/schemas/NestedDeviceBay"
+ - $ref: "#/components/schemas/NestedDeviceFamily"
+ - $ref: "#/components/schemas/NestedDeviceRedundancyGroup"
+ - $ref: "#/components/schemas/NestedDeviceType"
+ - $ref: "#/components/schemas/NestedFrontPort"
+ - $ref: "#/components/schemas/NestedInterface"
+ - $ref: "#/components/schemas/NestedInterfaceRedundancyGroup"
+ - $ref: "#/components/schemas/NestedInventoryItem"
+ - $ref: "#/components/schemas/NestedLocation"
+ - $ref: "#/components/schemas/NestedLocationType"
+ - $ref: "#/components/schemas/NestedManufacturer"
+ - $ref: "#/components/schemas/NestedModule"
+ - $ref: "#/components/schemas/NestedModuleBay"
+ - $ref: "#/components/schemas/NestedModuleFamily"
+ - $ref: "#/components/schemas/NestedModuleType"
+ - $ref: "#/components/schemas/NestedPlatform"
+ - $ref: "#/components/schemas/NestedPowerFeed"
+ - $ref: "#/components/schemas/NestedPowerOutlet"
+ - $ref: "#/components/schemas/NestedPowerPanel"
+ - $ref: "#/components/schemas/NestedPowerPort"
+ - $ref: "#/components/schemas/NestedRack"
+ - $ref: "#/components/schemas/NestedRackGroup"
+ - $ref: "#/components/schemas/NestedRackReservation"
+ - $ref: "#/components/schemas/NestedRearPort"
+ - $ref: "#/components/schemas/NestedSoftwareImageFile"
+ - $ref: "#/components/schemas/NestedSoftwareVersion"
+ - $ref: "#/components/schemas/NestedVirtualChassis"
+ - $ref: "#/components/schemas/NestedVirtualDeviceContext"
+ - $ref: "#/components/schemas/NestedComputedField"
+ - $ref: "#/components/schemas/NestedConfigContext"
+ - $ref: "#/components/schemas/NestedConfigContextSchema"
+ - $ref: "#/components/schemas/NestedContact"
+ - $ref: "#/components/schemas/NestedContactAssociation"
+ - $ref: "#/components/schemas/NestedCustomField"
+ - $ref: "#/components/schemas/NestedCustomLink"
+ - $ref: "#/components/schemas/NestedDynamicGroup"
+ - $ref: "#/components/schemas/NestedExportTemplate"
+ - $ref: "#/components/schemas/NestedExternalIntegration"
+ - $ref: "#/components/schemas/NestedGitRepository"
+ - $ref: "#/components/schemas/NestedGraphQLQuery"
+ - $ref: "#/components/schemas/NestedJob"
+ - $ref: "#/components/schemas/NestedJobButton"
+ - $ref: "#/components/schemas/NestedJobHook"
+ - $ref: "#/components/schemas/NestedJobQueue"
+ - $ref: "#/components/schemas/NestedMetadataType"
+ - $ref: "#/components/schemas/NestedRelationship"
+ - $ref: "#/components/schemas/NestedRole"
+ - $ref: "#/components/schemas/NestedSecret"
+ - $ref: "#/components/schemas/NestedSecretsGroup"
+ - $ref: "#/components/schemas/NestedStaticGroupAssociation"
+ - $ref: "#/components/schemas/NestedStatus"
+ - $ref: "#/components/schemas/NestedTag"
+ - $ref: "#/components/schemas/NestedTeam"
+ - $ref: "#/components/schemas/NestedWebhook"
+ - $ref: "#/components/schemas/NestedIPAddress"
+ - $ref: "#/components/schemas/NestedNamespace"
+ - $ref: "#/components/schemas/NestedPrefix"
+ - $ref: "#/components/schemas/NestedRIR"
+ - $ref: "#/components/schemas/NestedRouteTarget"
+ - $ref: "#/components/schemas/NestedService"
+ - $ref: "#/components/schemas/NestedVLAN"
+ - $ref: "#/components/schemas/NestedVLANGroup"
+ - $ref: "#/components/schemas/NestedVRF"
+ - $ref: "#/components/schemas/NestedTenant"
+ - $ref: "#/components/schemas/NestedTenantGroup"
+ - $ref: "#/components/schemas/NestedCluster"
+ - $ref: "#/components/schemas/NestedClusterGroup"
+ - $ref: "#/components/schemas/NestedClusterType"
+ - $ref: "#/components/schemas/NestedVirtualMachine"
+ - $ref: "#/components/schemas/NestedVMInterface"
+ - $ref: "#/components/schemas/NestedRadioProfile"
+ - $ref: "#/components/schemas/NestedSupportedDataRate"
+ - $ref: "#/components/schemas/NestedWirelessNetwork"
NoteInputRequest:
example:
note: note
@@ -177945,12 +176112,16 @@ components:
example:
note: note
assigned_object_type: assigned_object_type
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
assigned_object_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
user:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
assigned_object_type:
type: string
assigned_object_id:
@@ -177960,12 +176131,16 @@ components:
minLength: 1
type: string
user:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
required:
- assigned_object_id
- assigned_object_type
- note
type: object
+ NullEnum:
+ enum:
+ - null
+ type: string
ObjectChange:
description: |-
This base serializer implements common fields and logic for all ModelSerializers.
@@ -178010,7 +176185,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -178030,7 +176204,7 @@ components:
readOnly: true
type: string
action:
- $ref: '#/components/schemas/ObjectChange_action'
+ $ref: "#/components/schemas/ObjectChange_action"
changed_object_type:
readOnly: true
type: string
@@ -178039,7 +176213,7 @@ components:
type: string
changed_object:
allOf:
- - $ref: '#/components/schemas/ObjectChangeChangedObject'
+ - $ref: "#/components/schemas/ObjectChangeChangedObject"
nullable: true
readOnly: true
time:
@@ -178075,7 +176249,7 @@ components:
nullable: true
readOnly: true
user:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
required:
- action
- change_context
@@ -178084,7 +176258,6 @@ components:
- changed_object_id
- changed_object_type
- display
- - id
- natural_slug
- object_data
- object_data_v2
@@ -178099,206 +176272,218 @@ components:
ObjectChangeChangedObject:
discriminator:
mapping:
- circuits.providernetwork: '#/components/schemas/NestedProviderNetwork'
- circuits.provider: '#/components/schemas/NestedProvider'
- circuits.circuittype: '#/components/schemas/NestedCircuitType'
- circuits.circuit: '#/components/schemas/NestedCircuit'
- circuits.circuittermination: '#/components/schemas/NestedCircuitTermination'
- cloud.cloudaccount: '#/components/schemas/NestedCloudAccount'
- cloud.cloudresourcetype: '#/components/schemas/NestedCloudResourceType'
- cloud.cloudnetwork: '#/components/schemas/NestedCloudNetwork'
- cloud.cloudservice: '#/components/schemas/NestedCloudService'
- dcim.consoleport: '#/components/schemas/NestedConsolePort'
- dcim.consoleserverport: '#/components/schemas/NestedConsoleServerPort'
- dcim.powerport: '#/components/schemas/NestedPowerPort'
- dcim.poweroutlet: '#/components/schemas/NestedPowerOutlet'
- dcim.interface: '#/components/schemas/NestedInterface'
- dcim.interfaceredundancygroup: '#/components/schemas/NestedInterfaceRedundancyGroup'
- dcim.interfaceredundancygroupassociation: '#/components/schemas/NestedInterfaceRedundancyGroupAssociation'
- dcim.frontport: '#/components/schemas/NestedFrontPort'
- dcim.rearport: '#/components/schemas/NestedRearPort'
- dcim.devicebay: '#/components/schemas/NestedDeviceBay'
- dcim.inventoryitem: '#/components/schemas/NestedInventoryItem'
- dcim.modulebay: '#/components/schemas/NestedModuleBay'
- dcim.manufacturer: '#/components/schemas/NestedManufacturer'
- dcim.devicefamily: '#/components/schemas/NestedDeviceFamily'
- dcim.devicetypetosoftwareimagefile: '#/components/schemas/NestedDeviceTypeToSoftwareImageFile'
- dcim.devicetype: '#/components/schemas/NestedDeviceType'
- dcim.platform: '#/components/schemas/NestedPlatform'
- dcim.device: '#/components/schemas/NestedDevice'
- dcim.virtualchassis: '#/components/schemas/NestedVirtualChassis'
- dcim.deviceredundancygroup: '#/components/schemas/NestedDeviceRedundancyGroup'
- dcim.softwareimagefile: '#/components/schemas/NestedSoftwareImageFile'
- dcim.softwareversion: '#/components/schemas/NestedSoftwareVersion'
- dcim.controller: '#/components/schemas/NestedController'
- dcim.controllermanageddevicegroup: '#/components/schemas/NestedControllerManagedDeviceGroup'
- dcim.moduletype: '#/components/schemas/NestedModuleType'
- dcim.module: '#/components/schemas/NestedModule'
- dcim.cable: '#/components/schemas/NestedCable'
- dcim.consoleporttemplate: '#/components/schemas/NestedConsolePortTemplate'
- dcim.consoleserverporttemplate: '#/components/schemas/NestedConsoleServerPortTemplate'
- dcim.powerporttemplate: '#/components/schemas/NestedPowerPortTemplate'
- dcim.poweroutlettemplate: '#/components/schemas/NestedPowerOutletTemplate'
- dcim.interfacetemplate: '#/components/schemas/NestedInterfaceTemplate'
- dcim.frontporttemplate: '#/components/schemas/NestedFrontPortTemplate'
- dcim.rearporttemplate: '#/components/schemas/NestedRearPortTemplate'
- dcim.devicebaytemplate: '#/components/schemas/NestedDeviceBayTemplate'
- dcim.modulebaytemplate: '#/components/schemas/NestedModuleBayTemplate'
- dcim.locationtype: '#/components/schemas/NestedLocationType'
- dcim.location: '#/components/schemas/NestedLocation'
- dcim.powerpanel: '#/components/schemas/NestedPowerPanel'
- dcim.powerfeed: '#/components/schemas/NestedPowerFeed'
- dcim.rackgroup: '#/components/schemas/NestedRackGroup'
- dcim.rack: '#/components/schemas/NestedRack'
- dcim.rackreservation: '#/components/schemas/NestedRackReservation'
- ipam.namespace: '#/components/schemas/NestedNamespace'
- ipam.vrf: '#/components/schemas/NestedVRF'
- ipam.routetarget: '#/components/schemas/NestedRouteTarget'
- ipam.rir: '#/components/schemas/NestedRIR'
- ipam.prefix: '#/components/schemas/NestedPrefix'
- ipam.ipaddress: '#/components/schemas/NestedIPAddress'
- ipam.vlangroup: '#/components/schemas/NestedVLANGroup'
- ipam.vlan: '#/components/schemas/NestedVLAN'
- ipam.service: '#/components/schemas/NestedService'
- extras.computedfield: '#/components/schemas/NestedComputedField'
- extras.customfield: '#/components/schemas/NestedCustomField'
- extras.customfieldchoice: '#/components/schemas/NestedCustomFieldChoice'
- extras.relationship: '#/components/schemas/NestedRelationship'
- extras.tag: '#/components/schemas/NestedTag'
- extras.role: '#/components/schemas/NestedRole'
- extras.status: '#/components/schemas/NestedStatus'
- extras.contact: '#/components/schemas/NestedContact'
- extras.team: '#/components/schemas/NestedTeam'
- extras.contactassociation: '#/components/schemas/NestedContactAssociation'
- extras.gitrepository: '#/components/schemas/NestedGitRepository'
- extras.dynamicgroup: '#/components/schemas/NestedDynamicGroup'
- extras.staticgroupassociation: '#/components/schemas/NestedStaticGroupAssociation'
- extras.job: '#/components/schemas/NestedJob'
- extras.jobhook: '#/components/schemas/NestedJobHook'
- extras.jobbutton: '#/components/schemas/NestedJobButton'
- extras.metadatatype: '#/components/schemas/NestedMetadataType'
- extras.metadatachoice: '#/components/schemas/NestedMetadataChoice'
- extras.objectmetadata: '#/components/schemas/NestedObjectMetadata'
- extras.configcontext: '#/components/schemas/NestedConfigContext'
- extras.configcontextschema: '#/components/schemas/NestedConfigContextSchema'
- extras.customlink: '#/components/schemas/NestedCustomLink'
- extras.exporttemplate: '#/components/schemas/NestedExportTemplate'
- extras.externalintegration: '#/components/schemas/NestedExternalIntegration'
- extras.graphqlquery: '#/components/schemas/NestedGraphQLQuery'
- extras.note: '#/components/schemas/NestedNote'
- extras.savedview: '#/components/schemas/NestedSavedView'
- extras.webhook: '#/components/schemas/NestedWebhook'
- extras.secret: '#/components/schemas/NestedSecret'
- extras.secretsgroup: '#/components/schemas/NestedSecretsGroup'
- tenancy.tenantgroup: '#/components/schemas/NestedTenantGroup'
- tenancy.tenant: '#/components/schemas/NestedTenant'
- users.objectpermission: '#/components/schemas/NestedObjectPermission'
- virtualization.clustertype: '#/components/schemas/NestedClusterType'
- virtualization.clustergroup: '#/components/schemas/NestedClusterGroup'
- virtualization.cluster: '#/components/schemas/NestedCluster'
- virtualization.virtualmachine: '#/components/schemas/NestedVirtualMachine'
- virtualization.vminterface: '#/components/schemas/NestedVMInterface'
+ circuits.providernetwork: "#/components/schemas/NestedProviderNetwork"
+ circuits.provider: "#/components/schemas/NestedProvider"
+ circuits.circuittype: "#/components/schemas/NestedCircuitType"
+ circuits.circuit: "#/components/schemas/NestedCircuit"
+ circuits.circuittermination: "#/components/schemas/NestedCircuitTermination"
+ cloud.cloudaccount: "#/components/schemas/NestedCloudAccount"
+ cloud.cloudresourcetype: "#/components/schemas/NestedCloudResourceType"
+ cloud.cloudnetwork: "#/components/schemas/NestedCloudNetwork"
+ cloud.cloudservice: "#/components/schemas/NestedCloudService"
+ dcim.consoleport: "#/components/schemas/NestedConsolePort"
+ dcim.consoleserverport: "#/components/schemas/NestedConsoleServerPort"
+ dcim.powerport: "#/components/schemas/NestedPowerPort"
+ dcim.poweroutlet: "#/components/schemas/NestedPowerOutlet"
+ dcim.interface: "#/components/schemas/NestedInterface"
+ dcim.interfaceredundancygroup: "#/components/schemas/NestedInterfaceRedundancyGroup"
+ dcim.interfaceredundancygroupassociation: "#/components/schemas/NestedInterfaceRedundancyGroupAssociation"
+ dcim.frontport: "#/components/schemas/NestedFrontPort"
+ dcim.rearport: "#/components/schemas/NestedRearPort"
+ dcim.devicebay: "#/components/schemas/NestedDeviceBay"
+ dcim.inventoryitem: "#/components/schemas/NestedInventoryItem"
+ dcim.modulebay: "#/components/schemas/NestedModuleBay"
+ dcim.manufacturer: "#/components/schemas/NestedManufacturer"
+ dcim.devicefamily: "#/components/schemas/NestedDeviceFamily"
+ dcim.devicetypetosoftwareimagefile: "#/components/schemas/NestedDeviceTypeToSoftwareImageFile"
+ dcim.devicetype: "#/components/schemas/NestedDeviceType"
+ dcim.platform: "#/components/schemas/NestedPlatform"
+ dcim.device: "#/components/schemas/NestedDevice"
+ dcim.virtualchassis: "#/components/schemas/NestedVirtualChassis"
+ dcim.deviceredundancygroup: "#/components/schemas/NestedDeviceRedundancyGroup"
+ dcim.softwareimagefile: "#/components/schemas/NestedSoftwareImageFile"
+ dcim.softwareversion: "#/components/schemas/NestedSoftwareVersion"
+ dcim.controller: "#/components/schemas/NestedController"
+ dcim.controllermanageddevicegroup: "#/components/schemas/NestedControllerManagedDeviceGroup"
+ dcim.modulefamily: "#/components/schemas/NestedModuleFamily"
+ dcim.moduletype: "#/components/schemas/NestedModuleType"
+ dcim.module: "#/components/schemas/NestedModule"
+ dcim.virtualdevicecontext: "#/components/schemas/NestedVirtualDeviceContext"
+ dcim.cable: "#/components/schemas/NestedCable"
+ dcim.consoleporttemplate: "#/components/schemas/NestedConsolePortTemplate"
+ dcim.consoleserverporttemplate: "#/components/schemas/NestedConsoleServerPortTemplate"
+ dcim.powerporttemplate: "#/components/schemas/NestedPowerPortTemplate"
+ dcim.poweroutlettemplate: "#/components/schemas/NestedPowerOutletTemplate"
+ dcim.interfacetemplate: "#/components/schemas/NestedInterfaceTemplate"
+ dcim.frontporttemplate: "#/components/schemas/NestedFrontPortTemplate"
+ dcim.rearporttemplate: "#/components/schemas/NestedRearPortTemplate"
+ dcim.devicebaytemplate: "#/components/schemas/NestedDeviceBayTemplate"
+ dcim.modulebaytemplate: "#/components/schemas/NestedModuleBayTemplate"
+ dcim.locationtype: "#/components/schemas/NestedLocationType"
+ dcim.location: "#/components/schemas/NestedLocation"
+ dcim.powerpanel: "#/components/schemas/NestedPowerPanel"
+ dcim.powerfeed: "#/components/schemas/NestedPowerFeed"
+ dcim.rackgroup: "#/components/schemas/NestedRackGroup"
+ dcim.rack: "#/components/schemas/NestedRack"
+ dcim.rackreservation: "#/components/schemas/NestedRackReservation"
+ ipam.namespace: "#/components/schemas/NestedNamespace"
+ ipam.vrf: "#/components/schemas/NestedVRF"
+ ipam.routetarget: "#/components/schemas/NestedRouteTarget"
+ ipam.rir: "#/components/schemas/NestedRIR"
+ ipam.prefix: "#/components/schemas/NestedPrefix"
+ ipam.ipaddress: "#/components/schemas/NestedIPAddress"
+ ipam.vlangroup: "#/components/schemas/NestedVLANGroup"
+ ipam.vlan: "#/components/schemas/NestedVLAN"
+ ipam.service: "#/components/schemas/NestedService"
+ extras.computedfield: "#/components/schemas/NestedComputedField"
+ extras.customfield: "#/components/schemas/NestedCustomField"
+ extras.customfieldchoice: "#/components/schemas/NestedCustomFieldChoice"
+ extras.relationship: "#/components/schemas/NestedRelationship"
+ extras.tag: "#/components/schemas/NestedTag"
+ extras.role: "#/components/schemas/NestedRole"
+ extras.status: "#/components/schemas/NestedStatus"
+ extras.contact: "#/components/schemas/NestedContact"
+ extras.team: "#/components/schemas/NestedTeam"
+ extras.contactassociation: "#/components/schemas/NestedContactAssociation"
+ extras.gitrepository: "#/components/schemas/NestedGitRepository"
+ extras.dynamicgroup: "#/components/schemas/NestedDynamicGroup"
+ extras.staticgroupassociation: "#/components/schemas/NestedStaticGroupAssociation"
+ extras.job: "#/components/schemas/NestedJob"
+ extras.jobhook: "#/components/schemas/NestedJobHook"
+ extras.jobqueue: "#/components/schemas/NestedJobQueue"
+ extras.jobbutton: "#/components/schemas/NestedJobButton"
+ extras.metadatatype: "#/components/schemas/NestedMetadataType"
+ extras.metadatachoice: "#/components/schemas/NestedMetadataChoice"
+ extras.objectmetadata: "#/components/schemas/NestedObjectMetadata"
+ extras.configcontext: "#/components/schemas/NestedConfigContext"
+ extras.configcontextschema: "#/components/schemas/NestedConfigContextSchema"
+ extras.customlink: "#/components/schemas/NestedCustomLink"
+ extras.exporttemplate: "#/components/schemas/NestedExportTemplate"
+ extras.externalintegration: "#/components/schemas/NestedExternalIntegration"
+ extras.graphqlquery: "#/components/schemas/NestedGraphQLQuery"
+ extras.note: "#/components/schemas/NestedNote"
+ extras.savedview: "#/components/schemas/NestedSavedView"
+ extras.webhook: "#/components/schemas/NestedWebhook"
+ extras.secret: "#/components/schemas/NestedSecret"
+ extras.secretsgroup: "#/components/schemas/NestedSecretsGroup"
+ tenancy.tenantgroup: "#/components/schemas/NestedTenantGroup"
+ tenancy.tenant: "#/components/schemas/NestedTenant"
+ users.objectpermission: "#/components/schemas/NestedObjectPermission"
+ virtualization.clustertype: "#/components/schemas/NestedClusterType"
+ virtualization.clustergroup: "#/components/schemas/NestedClusterGroup"
+ virtualization.cluster: "#/components/schemas/NestedCluster"
+ virtualization.virtualmachine: "#/components/schemas/NestedVirtualMachine"
+ virtualization.vminterface: "#/components/schemas/NestedVMInterface"
+ wireless.supporteddatarate: "#/components/schemas/NestedSupportedDataRate"
+ wireless.radioprofile: "#/components/schemas/NestedRadioProfile"
+ wireless.wirelessnetwork: "#/components/schemas/NestedWirelessNetwork"
propertyName: object_type
oneOf:
- - $ref: '#/components/schemas/NestedProviderNetwork'
- - $ref: '#/components/schemas/NestedProvider'
- - $ref: '#/components/schemas/NestedCircuitType'
- - $ref: '#/components/schemas/NestedCircuit'
- - $ref: '#/components/schemas/NestedCircuitTermination'
- - $ref: '#/components/schemas/NestedCloudAccount'
- - $ref: '#/components/schemas/NestedCloudResourceType'
- - $ref: '#/components/schemas/NestedCloudNetwork'
- - $ref: '#/components/schemas/NestedCloudService'
- - $ref: '#/components/schemas/NestedConsolePort'
- - $ref: '#/components/schemas/NestedConsoleServerPort'
- - $ref: '#/components/schemas/NestedPowerPort'
- - $ref: '#/components/schemas/NestedPowerOutlet'
- - $ref: '#/components/schemas/NestedInterface'
- - $ref: '#/components/schemas/NestedInterfaceRedundancyGroup'
- - $ref: '#/components/schemas/NestedInterfaceRedundancyGroupAssociation'
- - $ref: '#/components/schemas/NestedFrontPort'
- - $ref: '#/components/schemas/NestedRearPort'
- - $ref: '#/components/schemas/NestedDeviceBay'
- - $ref: '#/components/schemas/NestedInventoryItem'
- - $ref: '#/components/schemas/NestedModuleBay'
- - $ref: '#/components/schemas/NestedManufacturer'
- - $ref: '#/components/schemas/NestedDeviceFamily'
- - $ref: '#/components/schemas/NestedDeviceTypeToSoftwareImageFile'
- - $ref: '#/components/schemas/NestedDeviceType'
- - $ref: '#/components/schemas/NestedPlatform'
- - $ref: '#/components/schemas/NestedDevice'
- - $ref: '#/components/schemas/NestedVirtualChassis'
- - $ref: '#/components/schemas/NestedDeviceRedundancyGroup'
- - $ref: '#/components/schemas/NestedSoftwareImageFile'
- - $ref: '#/components/schemas/NestedSoftwareVersion'
- - $ref: '#/components/schemas/NestedController'
- - $ref: '#/components/schemas/NestedControllerManagedDeviceGroup'
- - $ref: '#/components/schemas/NestedModuleType'
- - $ref: '#/components/schemas/NestedModule'
- - $ref: '#/components/schemas/NestedCable'
- - $ref: '#/components/schemas/NestedConsolePortTemplate'
- - $ref: '#/components/schemas/NestedConsoleServerPortTemplate'
- - $ref: '#/components/schemas/NestedPowerPortTemplate'
- - $ref: '#/components/schemas/NestedPowerOutletTemplate'
- - $ref: '#/components/schemas/NestedInterfaceTemplate'
- - $ref: '#/components/schemas/NestedFrontPortTemplate'
- - $ref: '#/components/schemas/NestedRearPortTemplate'
- - $ref: '#/components/schemas/NestedDeviceBayTemplate'
- - $ref: '#/components/schemas/NestedModuleBayTemplate'
- - $ref: '#/components/schemas/NestedLocationType'
- - $ref: '#/components/schemas/NestedLocation'
- - $ref: '#/components/schemas/NestedPowerPanel'
- - $ref: '#/components/schemas/NestedPowerFeed'
- - $ref: '#/components/schemas/NestedRackGroup'
- - $ref: '#/components/schemas/NestedRack'
- - $ref: '#/components/schemas/NestedRackReservation'
- - $ref: '#/components/schemas/NestedNamespace'
- - $ref: '#/components/schemas/NestedVRF'
- - $ref: '#/components/schemas/NestedRouteTarget'
- - $ref: '#/components/schemas/NestedRIR'
- - $ref: '#/components/schemas/NestedPrefix'
- - $ref: '#/components/schemas/NestedIPAddress'
- - $ref: '#/components/schemas/NestedVLANGroup'
- - $ref: '#/components/schemas/NestedVLAN'
- - $ref: '#/components/schemas/NestedService'
- - $ref: '#/components/schemas/NestedComputedField'
- - $ref: '#/components/schemas/NestedCustomField'
- - $ref: '#/components/schemas/NestedCustomFieldChoice'
- - $ref: '#/components/schemas/NestedRelationship'
- - $ref: '#/components/schemas/NestedTag'
- - $ref: '#/components/schemas/NestedRole'
- - $ref: '#/components/schemas/NestedStatus'
- - $ref: '#/components/schemas/NestedContact'
- - $ref: '#/components/schemas/NestedTeam'
- - $ref: '#/components/schemas/NestedContactAssociation'
- - $ref: '#/components/schemas/NestedGitRepository'
- - $ref: '#/components/schemas/NestedDynamicGroup'
- - $ref: '#/components/schemas/NestedStaticGroupAssociation'
- - $ref: '#/components/schemas/NestedJob'
- - $ref: '#/components/schemas/NestedJobHook'
- - $ref: '#/components/schemas/NestedJobButton'
- - $ref: '#/components/schemas/NestedMetadataType'
- - $ref: '#/components/schemas/NestedMetadataChoice'
- - $ref: '#/components/schemas/NestedObjectMetadata'
- - $ref: '#/components/schemas/NestedConfigContext'
- - $ref: '#/components/schemas/NestedConfigContextSchema'
- - $ref: '#/components/schemas/NestedCustomLink'
- - $ref: '#/components/schemas/NestedExportTemplate'
- - $ref: '#/components/schemas/NestedExternalIntegration'
- - $ref: '#/components/schemas/NestedGraphQLQuery'
- - $ref: '#/components/schemas/NestedNote'
- - $ref: '#/components/schemas/NestedSavedView'
- - $ref: '#/components/schemas/NestedWebhook'
- - $ref: '#/components/schemas/NestedSecret'
- - $ref: '#/components/schemas/NestedSecretsGroup'
- - $ref: '#/components/schemas/NestedTenantGroup'
- - $ref: '#/components/schemas/NestedTenant'
- - $ref: '#/components/schemas/NestedObjectPermission'
- - $ref: '#/components/schemas/NestedClusterType'
- - $ref: '#/components/schemas/NestedClusterGroup'
- - $ref: '#/components/schemas/NestedCluster'
- - $ref: '#/components/schemas/NestedVirtualMachine'
- - $ref: '#/components/schemas/NestedVMInterface'
+ - $ref: "#/components/schemas/NestedProviderNetwork"
+ - $ref: "#/components/schemas/NestedProvider"
+ - $ref: "#/components/schemas/NestedCircuitType"
+ - $ref: "#/components/schemas/NestedCircuit"
+ - $ref: "#/components/schemas/NestedCircuitTermination"
+ - $ref: "#/components/schemas/NestedCloudAccount"
+ - $ref: "#/components/schemas/NestedCloudResourceType"
+ - $ref: "#/components/schemas/NestedCloudNetwork"
+ - $ref: "#/components/schemas/NestedCloudService"
+ - $ref: "#/components/schemas/NestedConsolePort"
+ - $ref: "#/components/schemas/NestedConsoleServerPort"
+ - $ref: "#/components/schemas/NestedPowerPort"
+ - $ref: "#/components/schemas/NestedPowerOutlet"
+ - $ref: "#/components/schemas/NestedInterface"
+ - $ref: "#/components/schemas/NestedInterfaceRedundancyGroup"
+ - $ref: "#/components/schemas/NestedInterfaceRedundancyGroupAssociation"
+ - $ref: "#/components/schemas/NestedFrontPort"
+ - $ref: "#/components/schemas/NestedRearPort"
+ - $ref: "#/components/schemas/NestedDeviceBay"
+ - $ref: "#/components/schemas/NestedInventoryItem"
+ - $ref: "#/components/schemas/NestedModuleBay"
+ - $ref: "#/components/schemas/NestedManufacturer"
+ - $ref: "#/components/schemas/NestedDeviceFamily"
+ - $ref: "#/components/schemas/NestedDeviceTypeToSoftwareImageFile"
+ - $ref: "#/components/schemas/NestedDeviceType"
+ - $ref: "#/components/schemas/NestedPlatform"
+ - $ref: "#/components/schemas/NestedDevice"
+ - $ref: "#/components/schemas/NestedVirtualChassis"
+ - $ref: "#/components/schemas/NestedDeviceRedundancyGroup"
+ - $ref: "#/components/schemas/NestedSoftwareImageFile"
+ - $ref: "#/components/schemas/NestedSoftwareVersion"
+ - $ref: "#/components/schemas/NestedController"
+ - $ref: "#/components/schemas/NestedControllerManagedDeviceGroup"
+ - $ref: "#/components/schemas/NestedModuleFamily"
+ - $ref: "#/components/schemas/NestedModuleType"
+ - $ref: "#/components/schemas/NestedModule"
+ - $ref: "#/components/schemas/NestedVirtualDeviceContext"
+ - $ref: "#/components/schemas/NestedCable"
+ - $ref: "#/components/schemas/NestedConsolePortTemplate"
+ - $ref: "#/components/schemas/NestedConsoleServerPortTemplate"
+ - $ref: "#/components/schemas/NestedPowerPortTemplate"
+ - $ref: "#/components/schemas/NestedPowerOutletTemplate"
+ - $ref: "#/components/schemas/NestedInterfaceTemplate"
+ - $ref: "#/components/schemas/NestedFrontPortTemplate"
+ - $ref: "#/components/schemas/NestedRearPortTemplate"
+ - $ref: "#/components/schemas/NestedDeviceBayTemplate"
+ - $ref: "#/components/schemas/NestedModuleBayTemplate"
+ - $ref: "#/components/schemas/NestedLocationType"
+ - $ref: "#/components/schemas/NestedLocation"
+ - $ref: "#/components/schemas/NestedPowerPanel"
+ - $ref: "#/components/schemas/NestedPowerFeed"
+ - $ref: "#/components/schemas/NestedRackGroup"
+ - $ref: "#/components/schemas/NestedRack"
+ - $ref: "#/components/schemas/NestedRackReservation"
+ - $ref: "#/components/schemas/NestedNamespace"
+ - $ref: "#/components/schemas/NestedVRF"
+ - $ref: "#/components/schemas/NestedRouteTarget"
+ - $ref: "#/components/schemas/NestedRIR"
+ - $ref: "#/components/schemas/NestedPrefix"
+ - $ref: "#/components/schemas/NestedIPAddress"
+ - $ref: "#/components/schemas/NestedVLANGroup"
+ - $ref: "#/components/schemas/NestedVLAN"
+ - $ref: "#/components/schemas/NestedService"
+ - $ref: "#/components/schemas/NestedComputedField"
+ - $ref: "#/components/schemas/NestedCustomField"
+ - $ref: "#/components/schemas/NestedCustomFieldChoice"
+ - $ref: "#/components/schemas/NestedRelationship"
+ - $ref: "#/components/schemas/NestedTag"
+ - $ref: "#/components/schemas/NestedRole"
+ - $ref: "#/components/schemas/NestedStatus"
+ - $ref: "#/components/schemas/NestedContact"
+ - $ref: "#/components/schemas/NestedTeam"
+ - $ref: "#/components/schemas/NestedContactAssociation"
+ - $ref: "#/components/schemas/NestedGitRepository"
+ - $ref: "#/components/schemas/NestedDynamicGroup"
+ - $ref: "#/components/schemas/NestedStaticGroupAssociation"
+ - $ref: "#/components/schemas/NestedJob"
+ - $ref: "#/components/schemas/NestedJobHook"
+ - $ref: "#/components/schemas/NestedJobQueue"
+ - $ref: "#/components/schemas/NestedJobButton"
+ - $ref: "#/components/schemas/NestedMetadataType"
+ - $ref: "#/components/schemas/NestedMetadataChoice"
+ - $ref: "#/components/schemas/NestedObjectMetadata"
+ - $ref: "#/components/schemas/NestedConfigContext"
+ - $ref: "#/components/schemas/NestedConfigContextSchema"
+ - $ref: "#/components/schemas/NestedCustomLink"
+ - $ref: "#/components/schemas/NestedExportTemplate"
+ - $ref: "#/components/schemas/NestedExternalIntegration"
+ - $ref: "#/components/schemas/NestedGraphQLQuery"
+ - $ref: "#/components/schemas/NestedNote"
+ - $ref: "#/components/schemas/NestedSavedView"
+ - $ref: "#/components/schemas/NestedWebhook"
+ - $ref: "#/components/schemas/NestedSecret"
+ - $ref: "#/components/schemas/NestedSecretsGroup"
+ - $ref: "#/components/schemas/NestedTenantGroup"
+ - $ref: "#/components/schemas/NestedTenant"
+ - $ref: "#/components/schemas/NestedObjectPermission"
+ - $ref: "#/components/schemas/NestedClusterType"
+ - $ref: "#/components/schemas/NestedClusterGroup"
+ - $ref: "#/components/schemas/NestedCluster"
+ - $ref: "#/components/schemas/NestedVirtualMachine"
+ - $ref: "#/components/schemas/NestedVMInterface"
+ - $ref: "#/components/schemas/NestedSupportedDataRate"
+ - $ref: "#/components/schemas/NestedRadioProfile"
+ - $ref: "#/components/schemas/NestedWirelessNetwork"
ObjectMetadata:
description: |-
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
@@ -178331,7 +176516,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -178354,7 +176538,7 @@ components:
type: string
assigned_object:
allOf:
- - $ref: '#/components/schemas/ObjectMetadataAssignedObject'
+ - $ref: "#/components/schemas/ObjectMetadataAssignedObject"
nullable: true
readOnly: true
value:
@@ -178365,11 +176549,11 @@ components:
format: uuid
type: string
metadata_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
contact:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
team:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
created:
format: date-time
nullable: true
@@ -178386,7 +176570,6 @@ components:
- assigned_object_type
- created
- display
- - id
- last_updated
- metadata_type
- natural_slug
@@ -178396,208 +176579,220 @@ components:
ObjectMetadataAssignedObject:
discriminator:
mapping:
- circuits.circuit: '#/components/schemas/NestedCircuit'
- dcim.cable: '#/components/schemas/NestedCable'
- dcim.device: '#/components/schemas/NestedDevice'
- dcim.powerfeed: '#/components/schemas/NestedPowerFeed'
- dcim.rack: '#/components/schemas/NestedRack'
- ipam.ipaddress: '#/components/schemas/NestedIPAddress'
- ipam.prefix: '#/components/schemas/NestedPrefix'
- ipam.vlan: '#/components/schemas/NestedVLAN'
- virtualization.virtualmachine: '#/components/schemas/NestedVirtualMachine'
- extras.customfield: '#/components/schemas/NestedCustomField'
- extras.job: '#/components/schemas/NestedJob'
- virtualization.vminterface: '#/components/schemas/NestedVMInterface'
- dcim.interface: '#/components/schemas/NestedInterface'
- dcim.location: '#/components/schemas/NestedLocation'
- extras.role: '#/components/schemas/NestedRole'
- dcim.deviceredundancygroup: '#/components/schemas/NestedDeviceRedundancyGroup'
- dcim.interfaceredundancygroup: '#/components/schemas/NestedInterfaceRedundancyGroup'
- extras.contactassociation: '#/components/schemas/NestedContactAssociation'
- dcim.softwareimagefile: '#/components/schemas/NestedSoftwareImageFile'
- dcim.softwareversion: '#/components/schemas/NestedSoftwareVersion'
- dcim.controller: '#/components/schemas/NestedController'
- dcim.module: '#/components/schemas/NestedModule'
- ipam.vrf: '#/components/schemas/NestedVRF'
- circuits.circuittermination: '#/components/schemas/NestedCircuitTermination'
- circuits.circuittype: '#/components/schemas/NestedCircuitType'
- circuits.provider: '#/components/schemas/NestedProvider'
- circuits.providernetwork: '#/components/schemas/NestedProviderNetwork'
- cloud.cloudaccount: '#/components/schemas/NestedCloudAccount'
- cloud.cloudnetwork: '#/components/schemas/NestedCloudNetwork'
- cloud.cloudresourcetype: '#/components/schemas/NestedCloudResourceType'
- cloud.cloudservice: '#/components/schemas/NestedCloudService'
- dcim.consoleport: '#/components/schemas/NestedConsolePort'
- dcim.consoleporttemplate: '#/components/schemas/NestedConsolePortTemplate'
- dcim.consoleserverport: '#/components/schemas/NestedConsoleServerPort'
- dcim.consoleserverporttemplate: '#/components/schemas/NestedConsoleServerPortTemplate'
- dcim.devicebay: '#/components/schemas/NestedDeviceBay'
- dcim.devicebaytemplate: '#/components/schemas/NestedDeviceBayTemplate'
- dcim.devicetype: '#/components/schemas/NestedDeviceType'
- dcim.frontport: '#/components/schemas/NestedFrontPort'
- dcim.frontporttemplate: '#/components/schemas/NestedFrontPortTemplate'
- dcim.interfacetemplate: '#/components/schemas/NestedInterfaceTemplate'
- dcim.inventoryitem: '#/components/schemas/NestedInventoryItem'
- dcim.manufacturer: '#/components/schemas/NestedManufacturer'
- dcim.platform: '#/components/schemas/NestedPlatform'
- dcim.poweroutlet: '#/components/schemas/NestedPowerOutlet'
- dcim.poweroutlettemplate: '#/components/schemas/NestedPowerOutletTemplate'
- dcim.powerpanel: '#/components/schemas/NestedPowerPanel'
- dcim.powerport: '#/components/schemas/NestedPowerPort'
- dcim.powerporttemplate: '#/components/schemas/NestedPowerPortTemplate'
- dcim.rackgroup: '#/components/schemas/NestedRackGroup'
- dcim.rackreservation: '#/components/schemas/NestedRackReservation'
- dcim.rearport: '#/components/schemas/NestedRearPort'
- dcim.rearporttemplate: '#/components/schemas/NestedRearPortTemplate'
- dcim.virtualchassis: '#/components/schemas/NestedVirtualChassis'
- dcim.locationtype: '#/components/schemas/NestedLocationType'
- dcim.devicefamily: '#/components/schemas/NestedDeviceFamily'
- dcim.controllermanageddevicegroup: '#/components/schemas/NestedControllerManagedDeviceGroup'
- dcim.modulebay: '#/components/schemas/NestedModuleBay'
- dcim.modulebaytemplate: '#/components/schemas/NestedModuleBayTemplate'
- dcim.moduletype: '#/components/schemas/NestedModuleType'
- ipam.rir: '#/components/schemas/NestedRIR'
- ipam.routetarget: '#/components/schemas/NestedRouteTarget'
- ipam.vlangroup: '#/components/schemas/NestedVLANGroup'
- ipam.service: '#/components/schemas/NestedService'
- ipam.namespace: '#/components/schemas/NestedNamespace'
- extras.configcontext: '#/components/schemas/NestedConfigContext'
- extras.customlink: '#/components/schemas/NestedCustomLink'
- extras.exporttemplate: '#/components/schemas/NestedExportTemplate'
- extras.gitrepository: '#/components/schemas/NestedGitRepository'
- extras.imageattachment: '#/components/schemas/NestedImageAttachment'
- extras.jobresult: '#/components/schemas/NestedJobResult'
- extras.relationship: '#/components/schemas/NestedRelationship'
- extras.tag: '#/components/schemas/NestedTag'
- extras.webhook: '#/components/schemas/NestedWebhook'
- extras.status: '#/components/schemas/NestedStatus'
- extras.relationshipassociation: '#/components/schemas/NestedRelationshipAssociation'
- extras.objectchange: '#/components/schemas/NestedObjectChange'
- extras.graphqlquery: '#/components/schemas/NestedGraphQLQuery'
- extras.configcontextschema: '#/components/schemas/NestedConfigContextSchema'
- extras.computedfield: '#/components/schemas/NestedComputedField'
- extras.fileproxy: '#/components/schemas/NestedFileProxy'
- extras.scheduledjob: '#/components/schemas/NestedScheduledJob'
- extras.secret: '#/components/schemas/NestedSecret'
- extras.secretsgroup: '#/components/schemas/NestedSecretsGroup'
- extras.secretsgroupassociation: '#/components/schemas/NestedSecretsGroupAssociation'
- extras.dynamicgroup: '#/components/schemas/NestedDynamicGroup'
- extras.jobhook: '#/components/schemas/NestedJobHook'
- extras.jobbutton: '#/components/schemas/NestedJobButton'
- extras.externalintegration: '#/components/schemas/NestedExternalIntegration'
- extras.contact: '#/components/schemas/NestedContact'
- extras.team: '#/components/schemas/NestedTeam'
- extras.staticgroupassociation: '#/components/schemas/NestedStaticGroupAssociation'
- extras.metadatatype: '#/components/schemas/NestedMetadataType'
- extras.objectmetadata: '#/components/schemas/NestedObjectMetadata'
- extras.savedview: '#/components/schemas/NestedSavedView'
- tenancy.tenantgroup: '#/components/schemas/NestedTenantGroup'
- tenancy.tenant: '#/components/schemas/NestedTenant'
- virtualization.cluster: '#/components/schemas/NestedCluster'
- virtualization.clustergroup: '#/components/schemas/NestedClusterGroup'
- virtualization.clustertype: '#/components/schemas/NestedClusterType'
+ circuits.circuit: "#/components/schemas/NestedCircuit"
+ dcim.cable: "#/components/schemas/NestedCable"
+ dcim.device: "#/components/schemas/NestedDevice"
+ dcim.powerfeed: "#/components/schemas/NestedPowerFeed"
+ dcim.rack: "#/components/schemas/NestedRack"
+ ipam.ipaddress: "#/components/schemas/NestedIPAddress"
+ ipam.prefix: "#/components/schemas/NestedPrefix"
+ ipam.vlan: "#/components/schemas/NestedVLAN"
+ virtualization.virtualmachine: "#/components/schemas/NestedVirtualMachine"
+ extras.customfield: "#/components/schemas/NestedCustomField"
+ extras.job: "#/components/schemas/NestedJob"
+ virtualization.vminterface: "#/components/schemas/NestedVMInterface"
+ dcim.interface: "#/components/schemas/NestedInterface"
+ dcim.location: "#/components/schemas/NestedLocation"
+ extras.role: "#/components/schemas/NestedRole"
+ dcim.deviceredundancygroup: "#/components/schemas/NestedDeviceRedundancyGroup"
+ dcim.interfaceredundancygroup: "#/components/schemas/NestedInterfaceRedundancyGroup"
+ extras.contactassociation: "#/components/schemas/NestedContactAssociation"
+ dcim.softwareimagefile: "#/components/schemas/NestedSoftwareImageFile"
+ dcim.softwareversion: "#/components/schemas/NestedSoftwareVersion"
+ dcim.controller: "#/components/schemas/NestedController"
+ dcim.module: "#/components/schemas/NestedModule"
+ ipam.vrf: "#/components/schemas/NestedVRF"
+ dcim.virtualdevicecontext: "#/components/schemas/NestedVirtualDeviceContext"
+ extras.dynamicgroup: "#/components/schemas/NestedDynamicGroup"
+ circuits.circuittermination: "#/components/schemas/NestedCircuitTermination"
+ circuits.circuittype: "#/components/schemas/NestedCircuitType"
+ circuits.provider: "#/components/schemas/NestedProvider"
+ circuits.providernetwork: "#/components/schemas/NestedProviderNetwork"
+ cloud.cloudaccount: "#/components/schemas/NestedCloudAccount"
+ cloud.cloudnetwork: "#/components/schemas/NestedCloudNetwork"
+ cloud.cloudresourcetype: "#/components/schemas/NestedCloudResourceType"
+ cloud.cloudservice: "#/components/schemas/NestedCloudService"
+ dcim.consoleport: "#/components/schemas/NestedConsolePort"
+ dcim.consoleporttemplate: "#/components/schemas/NestedConsolePortTemplate"
+ dcim.consoleserverport: "#/components/schemas/NestedConsoleServerPort"
+ dcim.consoleserverporttemplate: "#/components/schemas/NestedConsoleServerPortTemplate"
+ dcim.devicebay: "#/components/schemas/NestedDeviceBay"
+ dcim.devicebaytemplate: "#/components/schemas/NestedDeviceBayTemplate"
+ dcim.devicetype: "#/components/schemas/NestedDeviceType"
+ dcim.frontport: "#/components/schemas/NestedFrontPort"
+ dcim.frontporttemplate: "#/components/schemas/NestedFrontPortTemplate"
+ dcim.interfacetemplate: "#/components/schemas/NestedInterfaceTemplate"
+ dcim.inventoryitem: "#/components/schemas/NestedInventoryItem"
+ dcim.manufacturer: "#/components/schemas/NestedManufacturer"
+ dcim.platform: "#/components/schemas/NestedPlatform"
+ dcim.poweroutlet: "#/components/schemas/NestedPowerOutlet"
+ dcim.poweroutlettemplate: "#/components/schemas/NestedPowerOutletTemplate"
+ dcim.powerpanel: "#/components/schemas/NestedPowerPanel"
+ dcim.powerport: "#/components/schemas/NestedPowerPort"
+ dcim.powerporttemplate: "#/components/schemas/NestedPowerPortTemplate"
+ dcim.rackgroup: "#/components/schemas/NestedRackGroup"
+ dcim.rackreservation: "#/components/schemas/NestedRackReservation"
+ dcim.rearport: "#/components/schemas/NestedRearPort"
+ dcim.rearporttemplate: "#/components/schemas/NestedRearPortTemplate"
+ dcim.virtualchassis: "#/components/schemas/NestedVirtualChassis"
+ dcim.locationtype: "#/components/schemas/NestedLocationType"
+ dcim.devicefamily: "#/components/schemas/NestedDeviceFamily"
+ dcim.controllermanageddevicegroup: "#/components/schemas/NestedControllerManagedDeviceGroup"
+ dcim.modulebay: "#/components/schemas/NestedModuleBay"
+ dcim.modulebaytemplate: "#/components/schemas/NestedModuleBayTemplate"
+ dcim.moduletype: "#/components/schemas/NestedModuleType"
+ dcim.interfacevdcassignment: "#/components/schemas/NestedInterfaceVDCAssignment"
+ dcim.modulefamily: "#/components/schemas/NestedModuleFamily"
+ ipam.rir: "#/components/schemas/NestedRIR"
+ ipam.routetarget: "#/components/schemas/NestedRouteTarget"
+ ipam.vlangroup: "#/components/schemas/NestedVLANGroup"
+ ipam.service: "#/components/schemas/NestedService"
+ ipam.namespace: "#/components/schemas/NestedNamespace"
+ extras.configcontext: "#/components/schemas/NestedConfigContext"
+ extras.customlink: "#/components/schemas/NestedCustomLink"
+ extras.exporttemplate: "#/components/schemas/NestedExportTemplate"
+ extras.gitrepository: "#/components/schemas/NestedGitRepository"
+ extras.imageattachment: "#/components/schemas/NestedImageAttachment"
+ extras.jobresult: "#/components/schemas/NestedJobResult"
+ extras.relationship: "#/components/schemas/NestedRelationship"
+ extras.tag: "#/components/schemas/NestedTag"
+ extras.webhook: "#/components/schemas/NestedWebhook"
+ extras.status: "#/components/schemas/NestedStatus"
+ extras.relationshipassociation: "#/components/schemas/NestedRelationshipAssociation"
+ extras.objectchange: "#/components/schemas/NestedObjectChange"
+ extras.graphqlquery: "#/components/schemas/NestedGraphQLQuery"
+ extras.configcontextschema: "#/components/schemas/NestedConfigContextSchema"
+ extras.computedfield: "#/components/schemas/NestedComputedField"
+ extras.fileproxy: "#/components/schemas/NestedFileProxy"
+ extras.scheduledjob: "#/components/schemas/NestedScheduledJob"
+ extras.secret: "#/components/schemas/NestedSecret"
+ extras.secretsgroup: "#/components/schemas/NestedSecretsGroup"
+ extras.secretsgroupassociation: "#/components/schemas/NestedSecretsGroupAssociation"
+ extras.jobhook: "#/components/schemas/NestedJobHook"
+ extras.jobbutton: "#/components/schemas/NestedJobButton"
+ extras.externalintegration: "#/components/schemas/NestedExternalIntegration"
+ extras.contact: "#/components/schemas/NestedContact"
+ extras.team: "#/components/schemas/NestedTeam"
+ extras.staticgroupassociation: "#/components/schemas/NestedStaticGroupAssociation"
+ extras.metadatatype: "#/components/schemas/NestedMetadataType"
+ extras.savedview: "#/components/schemas/NestedSavedView"
+ extras.jobqueue: "#/components/schemas/NestedJobQueue"
+ tenancy.tenantgroup: "#/components/schemas/NestedTenantGroup"
+ tenancy.tenant: "#/components/schemas/NestedTenant"
+ virtualization.cluster: "#/components/schemas/NestedCluster"
+ virtualization.clustergroup: "#/components/schemas/NestedClusterGroup"
+ virtualization.clustertype: "#/components/schemas/NestedClusterType"
+ wireless.wirelessnetwork: "#/components/schemas/NestedWirelessNetwork"
+ wireless.supporteddatarate: "#/components/schemas/NestedSupportedDataRate"
+ wireless.radioprofile: "#/components/schemas/NestedRadioProfile"
propertyName: object_type
oneOf:
- - $ref: '#/components/schemas/NestedCircuit'
- - $ref: '#/components/schemas/NestedCable'
- - $ref: '#/components/schemas/NestedDevice'
- - $ref: '#/components/schemas/NestedPowerFeed'
- - $ref: '#/components/schemas/NestedRack'
- - $ref: '#/components/schemas/NestedIPAddress'
- - $ref: '#/components/schemas/NestedPrefix'
- - $ref: '#/components/schemas/NestedVLAN'
- - $ref: '#/components/schemas/NestedVirtualMachine'
- - $ref: '#/components/schemas/NestedCustomField'
- - $ref: '#/components/schemas/NestedJob'
- - $ref: '#/components/schemas/NestedVMInterface'
- - $ref: '#/components/schemas/NestedInterface'
- - $ref: '#/components/schemas/NestedLocation'
- - $ref: '#/components/schemas/NestedRole'
- - $ref: '#/components/schemas/NestedDeviceRedundancyGroup'
- - $ref: '#/components/schemas/NestedInterfaceRedundancyGroup'
- - $ref: '#/components/schemas/NestedContactAssociation'
- - $ref: '#/components/schemas/NestedSoftwareImageFile'
- - $ref: '#/components/schemas/NestedSoftwareVersion'
- - $ref: '#/components/schemas/NestedController'
- - $ref: '#/components/schemas/NestedModule'
- - $ref: '#/components/schemas/NestedVRF'
- - $ref: '#/components/schemas/NestedCircuitTermination'
- - $ref: '#/components/schemas/NestedCircuitType'
- - $ref: '#/components/schemas/NestedProvider'
- - $ref: '#/components/schemas/NestedProviderNetwork'
- - $ref: '#/components/schemas/NestedCloudAccount'
- - $ref: '#/components/schemas/NestedCloudNetwork'
- - $ref: '#/components/schemas/NestedCloudResourceType'
- - $ref: '#/components/schemas/NestedCloudService'
- - $ref: '#/components/schemas/NestedConsolePort'
- - $ref: '#/components/schemas/NestedConsolePortTemplate'
- - $ref: '#/components/schemas/NestedConsoleServerPort'
- - $ref: '#/components/schemas/NestedConsoleServerPortTemplate'
- - $ref: '#/components/schemas/NestedDeviceBay'
- - $ref: '#/components/schemas/NestedDeviceBayTemplate'
- - $ref: '#/components/schemas/NestedDeviceType'
- - $ref: '#/components/schemas/NestedFrontPort'
- - $ref: '#/components/schemas/NestedFrontPortTemplate'
- - $ref: '#/components/schemas/NestedInterfaceTemplate'
- - $ref: '#/components/schemas/NestedInventoryItem'
- - $ref: '#/components/schemas/NestedManufacturer'
- - $ref: '#/components/schemas/NestedPlatform'
- - $ref: '#/components/schemas/NestedPowerOutlet'
- - $ref: '#/components/schemas/NestedPowerOutletTemplate'
- - $ref: '#/components/schemas/NestedPowerPanel'
- - $ref: '#/components/schemas/NestedPowerPort'
- - $ref: '#/components/schemas/NestedPowerPortTemplate'
- - $ref: '#/components/schemas/NestedRackGroup'
- - $ref: '#/components/schemas/NestedRackReservation'
- - $ref: '#/components/schemas/NestedRearPort'
- - $ref: '#/components/schemas/NestedRearPortTemplate'
- - $ref: '#/components/schemas/NestedVirtualChassis'
- - $ref: '#/components/schemas/NestedLocationType'
- - $ref: '#/components/schemas/NestedDeviceFamily'
- - $ref: '#/components/schemas/NestedControllerManagedDeviceGroup'
- - $ref: '#/components/schemas/NestedModuleBay'
- - $ref: '#/components/schemas/NestedModuleBayTemplate'
- - $ref: '#/components/schemas/NestedModuleType'
- - $ref: '#/components/schemas/NestedRIR'
- - $ref: '#/components/schemas/NestedRouteTarget'
- - $ref: '#/components/schemas/NestedVLANGroup'
- - $ref: '#/components/schemas/NestedService'
- - $ref: '#/components/schemas/NestedNamespace'
- - $ref: '#/components/schemas/NestedConfigContext'
- - $ref: '#/components/schemas/NestedCustomLink'
- - $ref: '#/components/schemas/NestedExportTemplate'
- - $ref: '#/components/schemas/NestedGitRepository'
- - $ref: '#/components/schemas/NestedImageAttachment'
- - $ref: '#/components/schemas/NestedJobResult'
- - $ref: '#/components/schemas/NestedRelationship'
- - $ref: '#/components/schemas/NestedTag'
- - $ref: '#/components/schemas/NestedWebhook'
- - $ref: '#/components/schemas/NestedStatus'
- - $ref: '#/components/schemas/NestedRelationshipAssociation'
- - $ref: '#/components/schemas/NestedObjectChange'
- - $ref: '#/components/schemas/NestedGraphQLQuery'
- - $ref: '#/components/schemas/NestedConfigContextSchema'
- - $ref: '#/components/schemas/NestedComputedField'
- - $ref: '#/components/schemas/NestedFileProxy'
- - $ref: '#/components/schemas/NestedScheduledJob'
- - $ref: '#/components/schemas/NestedSecret'
- - $ref: '#/components/schemas/NestedSecretsGroup'
- - $ref: '#/components/schemas/NestedSecretsGroupAssociation'
- - $ref: '#/components/schemas/NestedDynamicGroup'
- - $ref: '#/components/schemas/NestedJobHook'
- - $ref: '#/components/schemas/NestedJobButton'
- - $ref: '#/components/schemas/NestedExternalIntegration'
- - $ref: '#/components/schemas/NestedContact'
- - $ref: '#/components/schemas/NestedTeam'
- - $ref: '#/components/schemas/NestedStaticGroupAssociation'
- - $ref: '#/components/schemas/NestedMetadataType'
- - $ref: '#/components/schemas/NestedObjectMetadata'
- - $ref: '#/components/schemas/NestedSavedView'
- - $ref: '#/components/schemas/NestedTenantGroup'
- - $ref: '#/components/schemas/NestedTenant'
- - $ref: '#/components/schemas/NestedCluster'
- - $ref: '#/components/schemas/NestedClusterGroup'
- - $ref: '#/components/schemas/NestedClusterType'
+ - $ref: "#/components/schemas/NestedCircuit"
+ - $ref: "#/components/schemas/NestedCable"
+ - $ref: "#/components/schemas/NestedDevice"
+ - $ref: "#/components/schemas/NestedPowerFeed"
+ - $ref: "#/components/schemas/NestedRack"
+ - $ref: "#/components/schemas/NestedIPAddress"
+ - $ref: "#/components/schemas/NestedPrefix"
+ - $ref: "#/components/schemas/NestedVLAN"
+ - $ref: "#/components/schemas/NestedVirtualMachine"
+ - $ref: "#/components/schemas/NestedCustomField"
+ - $ref: "#/components/schemas/NestedJob"
+ - $ref: "#/components/schemas/NestedVMInterface"
+ - $ref: "#/components/schemas/NestedInterface"
+ - $ref: "#/components/schemas/NestedLocation"
+ - $ref: "#/components/schemas/NestedRole"
+ - $ref: "#/components/schemas/NestedDeviceRedundancyGroup"
+ - $ref: "#/components/schemas/NestedInterfaceRedundancyGroup"
+ - $ref: "#/components/schemas/NestedContactAssociation"
+ - $ref: "#/components/schemas/NestedSoftwareImageFile"
+ - $ref: "#/components/schemas/NestedSoftwareVersion"
+ - $ref: "#/components/schemas/NestedController"
+ - $ref: "#/components/schemas/NestedModule"
+ - $ref: "#/components/schemas/NestedVRF"
+ - $ref: "#/components/schemas/NestedVirtualDeviceContext"
+ - $ref: "#/components/schemas/NestedDynamicGroup"
+ - $ref: "#/components/schemas/NestedCircuitTermination"
+ - $ref: "#/components/schemas/NestedCircuitType"
+ - $ref: "#/components/schemas/NestedProvider"
+ - $ref: "#/components/schemas/NestedProviderNetwork"
+ - $ref: "#/components/schemas/NestedCloudAccount"
+ - $ref: "#/components/schemas/NestedCloudNetwork"
+ - $ref: "#/components/schemas/NestedCloudResourceType"
+ - $ref: "#/components/schemas/NestedCloudService"
+ - $ref: "#/components/schemas/NestedConsolePort"
+ - $ref: "#/components/schemas/NestedConsolePortTemplate"
+ - $ref: "#/components/schemas/NestedConsoleServerPort"
+ - $ref: "#/components/schemas/NestedConsoleServerPortTemplate"
+ - $ref: "#/components/schemas/NestedDeviceBay"
+ - $ref: "#/components/schemas/NestedDeviceBayTemplate"
+ - $ref: "#/components/schemas/NestedDeviceType"
+ - $ref: "#/components/schemas/NestedFrontPort"
+ - $ref: "#/components/schemas/NestedFrontPortTemplate"
+ - $ref: "#/components/schemas/NestedInterfaceTemplate"
+ - $ref: "#/components/schemas/NestedInventoryItem"
+ - $ref: "#/components/schemas/NestedManufacturer"
+ - $ref: "#/components/schemas/NestedPlatform"
+ - $ref: "#/components/schemas/NestedPowerOutlet"
+ - $ref: "#/components/schemas/NestedPowerOutletTemplate"
+ - $ref: "#/components/schemas/NestedPowerPanel"
+ - $ref: "#/components/schemas/NestedPowerPort"
+ - $ref: "#/components/schemas/NestedPowerPortTemplate"
+ - $ref: "#/components/schemas/NestedRackGroup"
+ - $ref: "#/components/schemas/NestedRackReservation"
+ - $ref: "#/components/schemas/NestedRearPort"
+ - $ref: "#/components/schemas/NestedRearPortTemplate"
+ - $ref: "#/components/schemas/NestedVirtualChassis"
+ - $ref: "#/components/schemas/NestedLocationType"
+ - $ref: "#/components/schemas/NestedDeviceFamily"
+ - $ref: "#/components/schemas/NestedControllerManagedDeviceGroup"
+ - $ref: "#/components/schemas/NestedModuleBay"
+ - $ref: "#/components/schemas/NestedModuleBayTemplate"
+ - $ref: "#/components/schemas/NestedModuleType"
+ - $ref: "#/components/schemas/NestedInterfaceVDCAssignment"
+ - $ref: "#/components/schemas/NestedModuleFamily"
+ - $ref: "#/components/schemas/NestedRIR"
+ - $ref: "#/components/schemas/NestedRouteTarget"
+ - $ref: "#/components/schemas/NestedVLANGroup"
+ - $ref: "#/components/schemas/NestedService"
+ - $ref: "#/components/schemas/NestedNamespace"
+ - $ref: "#/components/schemas/NestedConfigContext"
+ - $ref: "#/components/schemas/NestedCustomLink"
+ - $ref: "#/components/schemas/NestedExportTemplate"
+ - $ref: "#/components/schemas/NestedGitRepository"
+ - $ref: "#/components/schemas/NestedImageAttachment"
+ - $ref: "#/components/schemas/NestedJobResult"
+ - $ref: "#/components/schemas/NestedRelationship"
+ - $ref: "#/components/schemas/NestedTag"
+ - $ref: "#/components/schemas/NestedWebhook"
+ - $ref: "#/components/schemas/NestedStatus"
+ - $ref: "#/components/schemas/NestedRelationshipAssociation"
+ - $ref: "#/components/schemas/NestedObjectChange"
+ - $ref: "#/components/schemas/NestedGraphQLQuery"
+ - $ref: "#/components/schemas/NestedConfigContextSchema"
+ - $ref: "#/components/schemas/NestedComputedField"
+ - $ref: "#/components/schemas/NestedFileProxy"
+ - $ref: "#/components/schemas/NestedScheduledJob"
+ - $ref: "#/components/schemas/NestedSecret"
+ - $ref: "#/components/schemas/NestedSecretsGroup"
+ - $ref: "#/components/schemas/NestedSecretsGroupAssociation"
+ - $ref: "#/components/schemas/NestedJobHook"
+ - $ref: "#/components/schemas/NestedJobButton"
+ - $ref: "#/components/schemas/NestedExternalIntegration"
+ - $ref: "#/components/schemas/NestedContact"
+ - $ref: "#/components/schemas/NestedTeam"
+ - $ref: "#/components/schemas/NestedStaticGroupAssociation"
+ - $ref: "#/components/schemas/NestedMetadataType"
+ - $ref: "#/components/schemas/NestedSavedView"
+ - $ref: "#/components/schemas/NestedJobQueue"
+ - $ref: "#/components/schemas/NestedTenantGroup"
+ - $ref: "#/components/schemas/NestedTenant"
+ - $ref: "#/components/schemas/NestedCluster"
+ - $ref: "#/components/schemas/NestedClusterGroup"
+ - $ref: "#/components/schemas/NestedClusterType"
+ - $ref: "#/components/schemas/NestedWirelessNetwork"
+ - $ref: "#/components/schemas/NestedSupportedDataRate"
+ - $ref: "#/components/schemas/NestedRadioProfile"
ObjectMetadataRequest:
description: |-
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
@@ -178612,6 +176807,7 @@ components:
id: null
url: https://openapi-generator.tech
assigned_object_type: assigned_object_type
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
team:
object_type: app_label.modelname
id: null
@@ -178620,6 +176816,9 @@ components:
value: ""
assigned_object_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
assigned_object_type:
type: string
value:
@@ -178630,11 +176829,11 @@ components:
format: uuid
type: string
metadata_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
contact:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
team:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
required:
- assigned_object_id
- assigned_object_type
@@ -178677,7 +176876,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -178716,11 +176914,11 @@ components:
nullable: true
groups:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
users:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
created:
format: date-time
@@ -178736,7 +176934,6 @@ components:
- actions
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -178761,6 +176958,7 @@ components:
- object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
actions: ""
constraints: ""
enabled: true
@@ -178772,6 +176970,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
object_types:
items:
type: string
@@ -178793,11 +176994,11 @@ components:
nullable: true
groups:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
users:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- actions
@@ -178832,7 +177033,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/AvailableIP'
+ $ref: "#/components/schemas/AvailableIP"
type: array
required:
- count
@@ -178864,7 +177065,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/AvailablePrefix'
+ $ref: "#/components/schemas/AvailablePrefix"
type: array
required:
- count
@@ -178964,7 +177165,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/Cable'
+ $ref: "#/components/schemas/Cable"
type: array
required:
- count
@@ -179024,7 +177225,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/CablePath'
+ $ref: "#/components/schemas/CablePath"
type: array
required:
- count
@@ -179144,7 +177345,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/Circuit'
+ $ref: "#/components/schemas/Circuit"
type: array
required:
- count
@@ -179190,6 +177391,13 @@ components:
id: null
url: https://openapi-generator.tech
url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
xconnect_id: xconnect_id
upstream_speed: 1294386358
cable_peer_type: cable_peer_type
@@ -179231,6 +177439,13 @@ components:
id: null
url: https://openapi-generator.tech
url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
xconnect_id: xconnect_id
upstream_speed: 1294386358
cable_peer_type: cable_peer_type
@@ -179254,7 +177469,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/CircuitTermination'
+ $ref: "#/components/schemas/CircuitTermination"
type: array
required:
- count
@@ -179308,7 +177523,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/CircuitType'
+ $ref: "#/components/schemas/CircuitType"
type: array
required:
- count
@@ -179392,7 +177607,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/CloudAccount'
+ $ref: "#/components/schemas/CloudAccount"
type: array
required:
- count
@@ -179498,7 +177713,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/CloudNetwork'
+ $ref: "#/components/schemas/CloudNetwork"
type: array
required:
- count
@@ -179552,7 +177767,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/CloudNetworkPrefixAssignment'
+ $ref: "#/components/schemas/CloudNetworkPrefixAssignment"
type: array
required:
- count
@@ -179634,7 +177849,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/CloudResourceType'
+ $ref: "#/components/schemas/CloudResourceType"
type: array
required:
- count
@@ -179732,7 +177947,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/CloudService'
+ $ref: "#/components/schemas/CloudService"
type: array
required:
- count
@@ -179786,7 +178001,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/CloudServiceNetworkAssignment'
+ $ref: "#/components/schemas/CloudServiceNetworkAssignment"
type: array
required:
- count
@@ -179840,7 +178055,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/ClusterGroup'
+ $ref: "#/components/schemas/ClusterGroup"
type: array
required:
- count
@@ -179942,7 +178157,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/Cluster'
+ $ref: "#/components/schemas/Cluster"
type: array
required:
- count
@@ -179996,7 +178211,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/ClusterType'
+ $ref: "#/components/schemas/ClusterType"
type: array
required:
- count
@@ -180058,7 +178273,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/ComputedField'
+ $ref: "#/components/schemas/ComputedField"
type: array
required:
- count
@@ -180266,7 +178481,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/ConfigContext'
+ $ref: "#/components/schemas/ConfigContext"
type: array
required:
- count
@@ -180326,7 +178541,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/ConfigContextSchema'
+ $ref: "#/components/schemas/ConfigContextSchema"
type: array
required:
- count
@@ -180434,7 +178649,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/ConsolePort'
+ $ref: "#/components/schemas/ConsolePort"
type: array
required:
- count
@@ -180510,7 +178725,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/ConsolePortTemplate'
+ $ref: "#/components/schemas/ConsolePortTemplate"
type: array
required:
- count
@@ -180618,7 +178833,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/ConsoleServerPort'
+ $ref: "#/components/schemas/ConsoleServerPort"
type: array
required:
- count
@@ -180694,7 +178909,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/ConsoleServerPortTemplate'
+ $ref: "#/components/schemas/ConsoleServerPortTemplate"
type: array
required:
- count
@@ -180778,7 +178993,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/ContactAssociation'
+ $ref: "#/components/schemas/ContactAssociation"
type: array
required:
- count
@@ -180808,6 +179023,13 @@ components:
display: display
natural_slug: attribute1_attribute2
url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
phone: ""
name: name
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
@@ -180830,6 +179052,13 @@ components:
display: display
natural_slug: attribute1_attribute2
url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
phone: ""
name: name
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
@@ -180850,7 +179079,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/Contact'
+ $ref: "#/components/schemas/Contact"
type: array
required:
- count
@@ -180892,7 +179121,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/ContentType'
+ $ref: "#/components/schemas/ContentType"
type: array
required:
- count
@@ -180905,6 +179134,11 @@ components:
count: 123
results:
- last_updated: 2000-01-23T04:56:07.000+00:00
+ capabilities:
+ - label: Wireless
+ value: wireless
+ - label: Wireless
+ value: wireless
role:
object_type: app_label.modelname
id: null
@@ -180956,6 +179190,11 @@ components:
id: null
url: https://openapi-generator.tech
- last_updated: 2000-01-23T04:56:07.000+00:00
+ capabilities:
+ - label: Wireless
+ value: wireless
+ - label: Wireless
+ value: wireless
role:
object_type: app_label.modelname
id: null
@@ -181022,72 +179261,236 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/Controller'
+ $ref: "#/components/schemas/Controller"
+ type: array
+ required:
+ - count
+ - results
+ type: object
+ PaginatedControllerManagedDeviceGroupList:
+ example:
+ next: http://api.example.org/accounts/?offset=400&limit=100
+ previous: http://api.example.org/accounts/?offset=200&limit=100
+ count: 123
+ results:
+ - wireless_networks:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ parent:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ controller:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ last_updated: 2000-01-23T04:56:07.000+00:00
+ capabilities:
+ - label: Wireless
+ value: wireless
+ - label: Wireless
+ value: wireless
+ object_type: app_label.modelname
+ created: 2000-01-23T04:56:07.000+00:00
+ notes_url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ display: display
+ natural_slug: attribute1_attribute2
+ description: description
+ weight: 171976544
+ url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ radio_profiles:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ tenant:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - wireless_networks:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ parent:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ controller:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ last_updated: 2000-01-23T04:56:07.000+00:00
+ capabilities:
+ - label: Wireless
+ value: wireless
+ - label: Wireless
+ value: wireless
+ object_type: app_label.modelname
+ created: 2000-01-23T04:56:07.000+00:00
+ notes_url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ display: display
+ natural_slug: attribute1_attribute2
+ description: description
+ weight: 171976544
+ url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ radio_profiles:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ tenant:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ count:
+ example: 123
+ type: integer
+ next:
+ example: http://api.example.org/accounts/?offset=400&limit=100
+ format: uri
+ nullable: true
+ type: string
+ previous:
+ example: http://api.example.org/accounts/?offset=200&limit=100
+ format: uri
+ nullable: true
+ type: string
+ results:
+ items:
+ $ref: "#/components/schemas/ControllerManagedDeviceGroup"
+ type: array
+ required:
+ - count
+ - results
+ type: object
+ PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList:
+ example:
+ next: http://api.example.org/accounts/?offset=400&limit=100
+ previous: http://api.example.org/accounts/?offset=200&limit=100
+ count: 123
+ results:
+ - object_type: app_label.modelname
+ display: display
+ natural_slug: attribute1_attribute2
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ radio_profile:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ url: https://openapi-generator.tech
+ controller_managed_device_group:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ display: display
+ natural_slug: attribute1_attribute2
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ radio_profile:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ url: https://openapi-generator.tech
+ controller_managed_device_group:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ count:
+ example: 123
+ type: integer
+ next:
+ example: http://api.example.org/accounts/?offset=400&limit=100
+ format: uri
+ nullable: true
+ type: string
+ previous:
+ example: http://api.example.org/accounts/?offset=200&limit=100
+ format: uri
+ nullable: true
+ type: string
+ results:
+ items:
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupRadioProfileAssignment"
type: array
required:
- count
- results
type: object
- PaginatedControllerManagedDeviceGroupList:
+ PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList:
example:
next: http://api.example.org/accounts/?offset=400&limit=100
previous: http://api.example.org/accounts/?offset=200&limit=100
count: 123
results:
- - parent:
+ - vlan:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- controller:
+ object_type: app_label.modelname
+ wireless_network:
object_type: app_label.modelname
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ id: null
url: https://openapi-generator.tech
- last_updated: 2000-01-23T04:56:07.000+00:00
- object_type: app_label.modelname
- created: 2000-01-23T04:56:07.000+00:00
- notes_url: https://openapi-generator.tech
- custom_fields:
- key: ""
display: display
natural_slug: attribute1_attribute2
- weight: 171976544
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
url: https://openapi-generator.tech
- tags:
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- - object_type: app_label.modelname
+ controller_managed_device_group:
+ object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- name: name
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- - parent:
+ - vlan:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- controller:
+ object_type: app_label.modelname
+ wireless_network:
object_type: app_label.modelname
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ id: null
url: https://openapi-generator.tech
- last_updated: 2000-01-23T04:56:07.000+00:00
- object_type: app_label.modelname
- created: 2000-01-23T04:56:07.000+00:00
- notes_url: https://openapi-generator.tech
- custom_fields:
- key: ""
display: display
natural_slug: attribute1_attribute2
- weight: 171976544
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
url: https://openapi-generator.tech
- tags:
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- - object_type: app_label.modelname
+ controller_managed_device_group:
+ object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- name: name
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
count:
example: 123
@@ -181104,7 +179507,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/ControllerManagedDeviceGroup'
+ $ref: "#/components/schemas/ControllerManagedDeviceGroupWirelessNetworkAssignment"
type: array
required:
- count
@@ -181158,7 +179561,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/CustomFieldChoice'
+ $ref: "#/components/schemas/CustomFieldChoice"
type: array
required:
- count
@@ -181242,7 +179645,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/CustomField'
+ $ref: "#/components/schemas/CustomField"
type: array
required:
- count
@@ -181302,7 +179705,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/CustomLink'
+ $ref: "#/components/schemas/CustomLink"
type: array
required:
- count
@@ -181386,7 +179789,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/DeviceBay'
+ $ref: "#/components/schemas/DeviceBay"
type: array
required:
- count
@@ -181448,7 +179851,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/DeviceBayTemplate'
+ $ref: "#/components/schemas/DeviceBayTemplate"
type: array
required:
- count
@@ -181468,11 +179871,18 @@ components:
key: ""
display: display
natural_slug: attribute1_attribute2
- name: name
description: description
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
device_type_count: 0
url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- last_updated: 2000-01-23T04:56:07.000+00:00
object_type: app_label.modelname
created: 2000-01-23T04:56:07.000+00:00
@@ -181481,11 +179891,18 @@ components:
key: ""
display: display
natural_slug: attribute1_attribute2
- name: name
description: description
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
device_type_count: 0
url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
count:
example: 123
@@ -181502,7 +179919,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/DeviceFamily'
+ $ref: "#/components/schemas/DeviceFamily"
type: array
required:
- count
@@ -181748,7 +180165,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/Device'
+ $ref: "#/components/schemas/Device"
type: array
required:
- count
@@ -181838,7 +180255,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/DeviceRedundancyGroup'
+ $ref: "#/components/schemas/DeviceRedundancyGroup"
type: array
required:
- count
@@ -181952,7 +180369,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/DeviceType'
+ $ref: "#/components/schemas/DeviceType"
type: array
required:
- count
@@ -182010,7 +180427,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/DeviceTypeToSoftwareImageFile'
+ $ref: "#/components/schemas/DeviceTypeToSoftwareImageFile"
type: array
required:
- count
@@ -182104,7 +180521,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/DynamicGroup'
+ $ref: "#/components/schemas/DynamicGroup"
type: array
required:
- count
@@ -182162,7 +180579,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/DynamicGroupMembership'
+ $ref: "#/components/schemas/DynamicGroupMembership"
type: array
required:
- count
@@ -182224,7 +180641,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/ExportTemplate'
+ $ref: "#/components/schemas/ExportTemplate"
type: array
required:
- count
@@ -182253,6 +180670,13 @@ components:
url: https://openapi-generator.tech
url: https://openapi-generator.tech
timeout: 171976544
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
http_method: GET
verify_ssl: true
name: name
@@ -182275,6 +180699,13 @@ components:
url: https://openapi-generator.tech
url: https://openapi-generator.tech
timeout: 171976544
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
http_method: GET
verify_ssl: true
name: name
@@ -182296,7 +180727,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/ExternalIntegration'
+ $ref: "#/components/schemas/ExternalIntegration"
type: array
required:
- count
@@ -182346,7 +180777,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/FileProxy'
+ $ref: "#/components/schemas/FileProxy"
type: array
required:
- count
@@ -182458,7 +180889,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/FrontPort'
+ $ref: "#/components/schemas/FrontPort"
type: array
required:
- count
@@ -182544,7 +180975,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/FrontPortTemplate'
+ $ref: "#/components/schemas/FrontPortTemplate"
type: array
required:
- count
@@ -182572,6 +181003,13 @@ components:
branch: branch
url: https://openapi-generator.tech
current_head: current_head
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
provided_contents:
- extras.configcontext
- extras.configcontext
@@ -182594,6 +181032,13 @@ components:
branch: branch
url: https://openapi-generator.tech
current_head: current_head
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
provided_contents:
- extras.configcontext
- extras.configcontext
@@ -182616,7 +181061,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/GitRepository'
+ $ref: "#/components/schemas/GitRepository"
type: array
required:
- count
@@ -182628,8 +181073,11 @@ components:
previous: http://api.example.org/accounts/?offset=200&limit=100
count: 123
results:
- - variables:
+ - owner: ""
+ owner_content_type: owner_content_type
+ variables:
key: ""
+ owner_object_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
last_updated: 2000-01-23T04:56:07.000+00:00
object_type: app_label.modelname
created: 2000-01-23T04:56:07.000+00:00
@@ -182637,11 +181085,14 @@ components:
display: display
query: query
natural_slug: attribute1_attribute2
+ url: https://openapi-generator.tech
name: name
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- - variables:
+ - owner: ""
+ owner_content_type: owner_content_type
+ variables:
key: ""
+ owner_object_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
last_updated: 2000-01-23T04:56:07.000+00:00
object_type: app_label.modelname
created: 2000-01-23T04:56:07.000+00:00
@@ -182649,9 +181100,9 @@ components:
display: display
query: query
natural_slug: attribute1_attribute2
+ url: https://openapi-generator.tech
name: name
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
properties:
count:
example: 123
@@ -182668,7 +181119,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/GraphQLQuery'
+ $ref: "#/components/schemas/GraphQLQuery"
type: array
required:
- count
@@ -182710,7 +181161,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/Group'
+ $ref: "#/components/schemas/Group"
type: array
required:
- count
@@ -182868,7 +181319,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/IPAddress'
+ $ref: "#/components/schemas/IPAddress"
type: array
required:
- count
@@ -182944,7 +181395,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/IPAddressToInterface'
+ $ref: "#/components/schemas/IPAddressToInterface"
type: array
required:
- count
@@ -182996,7 +181447,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/ImageAttachment'
+ $ref: "#/components/schemas/ImageAttachment"
type: array
required:
- count
@@ -183220,7 +181671,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/InterfaceConnection'
+ $ref: "#/components/schemas/InterfaceConnection"
type: array
required:
- count
@@ -183428,7 +181879,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/Interface'
+ $ref: "#/components/schemas/Interface"
type: array
required:
- count
@@ -183488,180 +181939,234 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/InterfaceRedundancyGroupAssociation'
+ $ref: "#/components/schemas/InterfaceRedundancyGroupAssociation"
+ type: array
+ required:
+ - count
+ - results
+ type: object
+ PaginatedInterfaceRedundancyGroupList:
+ example:
+ next: http://api.example.org/accounts/?offset=400&limit=100
+ previous: http://api.example.org/accounts/?offset=200&limit=100
+ count: 123
+ results:
+ - interfaces:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ last_updated: 2000-01-23T04:56:07.000+00:00
+ object_type: app_label.modelname
+ protocol_group_id: protocol_group_id
+ created: 2000-01-23T04:56:07.000+00:00
+ notes_url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ display: display
+ natural_slug: attribute1_attribute2
+ description: description
+ secrets_group:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ url: https://openapi-generator.tech
+ virtual_ip:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ protocol:
+ label: HSRP
+ value: hsrp
+ name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ status:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - interfaces:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ last_updated: 2000-01-23T04:56:07.000+00:00
+ object_type: app_label.modelname
+ protocol_group_id: protocol_group_id
+ created: 2000-01-23T04:56:07.000+00:00
+ notes_url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ display: display
+ natural_slug: attribute1_attribute2
+ description: description
+ secrets_group:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ url: https://openapi-generator.tech
+ virtual_ip:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ protocol:
+ label: HSRP
+ value: hsrp
+ name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ status:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ count:
+ example: 123
+ type: integer
+ next:
+ example: http://api.example.org/accounts/?offset=400&limit=100
+ format: uri
+ nullable: true
+ type: string
+ previous:
+ example: http://api.example.org/accounts/?offset=200&limit=100
+ format: uri
+ nullable: true
+ type: string
+ results:
+ items:
+ $ref: "#/components/schemas/InterfaceRedundancyGroup"
+ type: array
+ required:
+ - count
+ - results
+ type: object
+ PaginatedInterfaceTemplateList:
+ example:
+ next: http://api.example.org/accounts/?offset=400&limit=100
+ previous: http://api.example.org/accounts/?offset=200&limit=100
+ count: 123
+ results:
+ - last_updated: 2000-01-23T04:56:07.000+00:00
+ object_type: app_label.modelname
+ module_type:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ notes_url: https://openapi-generator.tech
+ created: 2000-01-23T04:56:07.000+00:00
+ custom_fields:
+ key: ""
+ display: display
+ natural_slug: attribute1_attribute2
+ description: description
+ device_type:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ label: label
+ type:
+ label: Virtual
+ value: virtual
+ url: https://openapi-generator.tech
+ mgmt_only: true
+ name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ - last_updated: 2000-01-23T04:56:07.000+00:00
+ object_type: app_label.modelname
+ module_type:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ notes_url: https://openapi-generator.tech
+ created: 2000-01-23T04:56:07.000+00:00
+ custom_fields:
+ key: ""
+ display: display
+ natural_slug: attribute1_attribute2
+ description: description
+ device_type:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ label: label
+ type:
+ label: Virtual
+ value: virtual
+ url: https://openapi-generator.tech
+ mgmt_only: true
+ name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ properties:
+ count:
+ example: 123
+ type: integer
+ next:
+ example: http://api.example.org/accounts/?offset=400&limit=100
+ format: uri
+ nullable: true
+ type: string
+ previous:
+ example: http://api.example.org/accounts/?offset=200&limit=100
+ format: uri
+ nullable: true
+ type: string
+ results:
+ items:
+ $ref: "#/components/schemas/InterfaceTemplate"
type: array
required:
- count
- results
type: object
- PaginatedInterfaceRedundancyGroupList:
+ PaginatedInterfaceVDCAssignmentList:
example:
next: http://api.example.org/accounts/?offset=400&limit=100
previous: http://api.example.org/accounts/?offset=200&limit=100
count: 123
results:
- - interfaces:
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- last_updated: 2000-01-23T04:56:07.000+00:00
- object_type: app_label.modelname
- protocol_group_id: protocol_group_id
- created: 2000-01-23T04:56:07.000+00:00
- notes_url: https://openapi-generator.tech
- custom_fields:
- key: ""
+ - object_type: app_label.modelname
display: display
natural_slug: attribute1_attribute2
- description: description
- secrets_group:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- url: https://openapi-generator.tech
- virtual_ip:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- tags:
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- protocol:
- label: HSRP
- value: hsrp
- name: name
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- status:
+ interface:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- - interfaces:
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- last_updated: 2000-01-23T04:56:07.000+00:00
- object_type: app_label.modelname
- protocol_group_id: protocol_group_id
- created: 2000-01-23T04:56:07.000+00:00
- notes_url: https://openapi-generator.tech
- custom_fields:
- key: ""
- display: display
- natural_slug: attribute1_attribute2
- description: description
- secrets_group:
+ virtual_device_context:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
url: https://openapi-generator.tech
- virtual_ip:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- tags:
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- protocol:
- label: HSRP
- value: hsrp
- name: name
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- status:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- properties:
- count:
- example: 123
- type: integer
- next:
- example: http://api.example.org/accounts/?offset=400&limit=100
- format: uri
- nullable: true
- type: string
- previous:
- example: http://api.example.org/accounts/?offset=200&limit=100
- format: uri
- nullable: true
- type: string
- results:
- items:
- $ref: '#/components/schemas/InterfaceRedundancyGroup'
- type: array
- required:
- - count
- - results
- type: object
- PaginatedInterfaceTemplateList:
- example:
- next: http://api.example.org/accounts/?offset=400&limit=100
- previous: http://api.example.org/accounts/?offset=200&limit=100
- count: 123
- results:
- - last_updated: 2000-01-23T04:56:07.000+00:00
- object_type: app_label.modelname
- module_type:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- notes_url: https://openapi-generator.tech
- created: 2000-01-23T04:56:07.000+00:00
- custom_fields:
- key: ""
+ - object_type: app_label.modelname
display: display
natural_slug: attribute1_attribute2
- description: description
- device_type:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- label: label
- type:
- label: Virtual
- value: virtual
- url: https://openapi-generator.tech
- mgmt_only: true
- name: name
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- - last_updated: 2000-01-23T04:56:07.000+00:00
- object_type: app_label.modelname
- module_type:
+ interface:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- notes_url: https://openapi-generator.tech
- created: 2000-01-23T04:56:07.000+00:00
- custom_fields:
- key: ""
- display: display
- natural_slug: attribute1_attribute2
- description: description
- device_type:
+ virtual_device_context:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- label: label
- type:
- label: Virtual
- value: virtual
url: https://openapi-generator.tech
- mgmt_only: true
- name: name
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
count:
example: 123
@@ -183678,7 +182183,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/InterfaceTemplate'
+ $ref: "#/components/schemas/InterfaceVDCAssignment"
type: array
required:
- count
@@ -183802,7 +182307,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/InventoryItem'
+ $ref: "#/components/schemas/InventoryItem"
type: array
required:
- count
@@ -183874,7 +182379,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/JobButton'
+ $ref: "#/components/schemas/JobButton"
type: array
required:
- count
@@ -183946,7 +182451,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/JobHook'
+ $ref: "#/components/schemas/JobHook"
type: array
required:
- count
@@ -183963,10 +182468,11 @@ components:
grouping_override: true
hidden: true
time_limit: 0.6027456183070403
+ default_job_queue_override: true
notes_url: https://openapi-generator.tech
natural_slug: attribute1_attribute2
- has_sensitive_variables: true
task_queues: ""
+ has_sensitive_variables: true
description: description
is_job_hook_receiver: true
dryrun_default_override: true
@@ -183981,12 +182487,24 @@ components:
last_updated: 2000-01-23T04:56:07.000+00:00
dryrun_default: true
soft_time_limit: 0.08008281904610115
+ job_queues_override: true
object_type: app_label.modelname
created: 2000-01-23T04:56:07.000+00:00
custom_fields:
key: ""
display: display
approval_required: true
+ default_job_queue:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ job_queues:
+ - object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
grouping: grouping
url: https://openapi-generator.tech
tags:
@@ -183999,19 +182517,22 @@ components:
is_job_button_receiver: true
name_override: true
hidden_override: true
+ is_singleton: true
task_queues_override: true
name: name
description_override: true
module_name: module_name
+ is_singleton_override: true
- job_class_name: job_class_name
installed: true
grouping_override: true
hidden: true
time_limit: 0.6027456183070403
+ default_job_queue_override: true
notes_url: https://openapi-generator.tech
natural_slug: attribute1_attribute2
- has_sensitive_variables: true
task_queues: ""
+ has_sensitive_variables: true
description: description
is_job_hook_receiver: true
dryrun_default_override: true
@@ -184026,12 +182547,24 @@ components:
last_updated: 2000-01-23T04:56:07.000+00:00
dryrun_default: true
soft_time_limit: 0.08008281904610115
+ job_queues_override: true
object_type: app_label.modelname
created: 2000-01-23T04:56:07.000+00:00
custom_fields:
key: ""
display: display
approval_required: true
+ default_job_queue:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ job_queues:
+ - object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
grouping: grouping
url: https://openapi-generator.tech
tags:
@@ -184044,10 +182577,124 @@ components:
is_job_button_receiver: true
name_override: true
hidden_override: true
+ is_singleton: true
task_queues_override: true
name: name
description_override: true
module_name: module_name
+ is_singleton_override: true
+ properties:
+ count:
+ example: 123
+ type: integer
+ next:
+ example: http://api.example.org/accounts/?offset=400&limit=100
+ format: uri
+ nullable: true
+ type: string
+ previous:
+ example: http://api.example.org/accounts/?offset=200&limit=100
+ format: uri
+ nullable: true
+ type: string
+ results:
+ items:
+ $ref: "#/components/schemas/Job"
+ type: array
+ required:
+ - count
+ - results
+ type: object
+ PaginatedJobLogEntryList:
+ example:
+ next: http://api.example.org/accounts/?offset=400&limit=100
+ previous: http://api.example.org/accounts/?offset=200&limit=100
+ count: 123
+ results:
+ - object_type: app_label.modelname
+ created: 2000-01-23T04:56:07.000+00:00
+ display: display
+ natural_slug: attribute1_attribute2
+ log_level: debug
+ job_result:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ log_object: log_object
+ absolute_url: absolute_url
+ message: message
+ grouping: grouping
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ created: 2000-01-23T04:56:07.000+00:00
+ display: display
+ natural_slug: attribute1_attribute2
+ log_level: debug
+ job_result:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ log_object: log_object
+ absolute_url: absolute_url
+ message: message
+ grouping: grouping
+ url: https://openapi-generator.tech
+ properties:
+ count:
+ example: 123
+ type: integer
+ next:
+ example: http://api.example.org/accounts/?offset=400&limit=100
+ format: uri
+ nullable: true
+ type: string
+ previous:
+ example: http://api.example.org/accounts/?offset=200&limit=100
+ format: uri
+ nullable: true
+ type: string
+ results:
+ items:
+ $ref: "#/components/schemas/JobLogEntry"
+ type: array
+ required:
+ - count
+ - results
+ type: object
+ PaginatedJobQueueAssignmentList:
+ example:
+ next: http://api.example.org/accounts/?offset=400&limit=100
+ previous: http://api.example.org/accounts/?offset=200&limit=100
+ count: 123
+ results:
+ - object_type: app_label.modelname
+ display: display
+ natural_slug: attribute1_attribute2
+ job_queue:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ job:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ display: display
+ natural_slug: attribute1_attribute2
+ job_queue:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ job:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ url: https://openapi-generator.tech
properties:
count:
example: 123
@@ -184064,48 +182711,66 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/Job'
+ $ref: "#/components/schemas/JobQueueAssignment"
type: array
required:
- count
- results
type: object
- PaginatedJobLogEntryList:
+ PaginatedJobQueueList:
example:
next: http://api.example.org/accounts/?offset=400&limit=100
previous: http://api.example.org/accounts/?offset=200&limit=100
count: 123
results:
- - object_type: app_label.modelname
+ - last_updated: 2000-01-23T04:56:07.000+00:00
+ queue_type: celery
+ object_type: app_label.modelname
created: 2000-01-23T04:56:07.000+00:00
+ notes_url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
display: display
natural_slug: attribute1_attribute2
- log_level: debug
- job_result:
- object_type: app_label.modelname
+ description: description
+ url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ name: name
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- log_object: log_object
- absolute_url: absolute_url
- message: message
- grouping: grouping
- url: https://openapi-generator.tech
- - object_type: app_label.modelname
+ tenant:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - last_updated: 2000-01-23T04:56:07.000+00:00
+ queue_type: celery
+ object_type: app_label.modelname
created: 2000-01-23T04:56:07.000+00:00
+ notes_url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
display: display
natural_slug: attribute1_attribute2
- log_level: debug
- job_result:
- object_type: app_label.modelname
+ description: description
+ url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ name: name
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- log_object: log_object
- absolute_url: absolute_url
- message: message
- grouping: grouping
- url: https://openapi-generator.tech
+ tenant:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
properties:
count:
example: 123
@@ -184122,7 +182787,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/JobLogEntry'
+ $ref: "#/components/schemas/JobQueue"
type: array
required:
- count
@@ -184154,6 +182819,8 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ computed_fields:
+ key: ""
meta: ""
name: name
celery_kwargs: ""
@@ -184171,6 +182838,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ date_started: 2000-01-23T04:56:07.000+00:00
status:
label: null
value: FAILURE
@@ -184194,6 +182862,8 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ computed_fields:
+ key: ""
meta: ""
name: name
celery_kwargs: ""
@@ -184211,6 +182881,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ date_started: 2000-01-23T04:56:07.000+00:00
status:
label: null
value: FAILURE
@@ -184230,7 +182901,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/JobResult'
+ $ref: "#/components/schemas/JobResult"
type: array
required:
- count
@@ -184282,7 +182953,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/JobVariable'
+ $ref: "#/components/schemas/JobVariable"
type: array
required:
- count
@@ -184416,7 +183087,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/Location'
+ $ref: "#/components/schemas/Location"
type: array
required:
- count
@@ -184486,7 +183157,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/LocationType'
+ $ref: "#/components/schemas/LocationType"
type: array
required:
- count
@@ -184546,7 +183217,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/Manufacturer'
+ $ref: "#/components/schemas/Manufacturer"
type: array
required:
- count
@@ -184600,7 +183271,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/MetadataChoice'
+ $ref: "#/components/schemas/MetadataChoice"
type: array
required:
- count
@@ -184622,6 +183293,13 @@ components:
natural_slug: attribute1_attribute2
description: description
url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
name: name
data_type: ""
content_types:
@@ -184638,6 +183316,13 @@ components:
natural_slug: attribute1_attribute2
description: description
url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
name: name
data_type: ""
content_types:
@@ -184660,7 +183345,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/MetadataType'
+ $ref: "#/components/schemas/MetadataType"
type: array
required:
- count
@@ -184673,6 +183358,10 @@ components:
count: 123
results:
- last_updated: 2000-01-23T04:56:07.000+00:00
+ module_family:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
object_type: app_label.modelname
created: 2000-01-23T04:56:07.000+00:00
notes_url: https://openapi-generator.tech
@@ -184682,6 +183371,7 @@ components:
natural_slug: attribute1_attribute2
description: description
label: label
+ requires_first_party_modules: true
url: https://openapi-generator.tech
tags:
- object_type: app_label.modelname
@@ -184702,6 +183392,10 @@ components:
id: null
url: https://openapi-generator.tech
- last_updated: 2000-01-23T04:56:07.000+00:00
+ module_family:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
object_type: app_label.modelname
created: 2000-01-23T04:56:07.000+00:00
notes_url: https://openapi-generator.tech
@@ -184711,6 +183405,7 @@ components:
natural_slug: attribute1_attribute2
description: description
label: label
+ requires_first_party_modules: true
url: https://openapi-generator.tech
tags:
- object_type: app_label.modelname
@@ -184746,7 +183441,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/ModuleBay'
+ $ref: "#/components/schemas/ModuleBay"
type: array
required:
- count
@@ -184759,6 +183454,10 @@ components:
count: 123
results:
- last_updated: 2000-01-23T04:56:07.000+00:00
+ module_family:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
object_type: app_label.modelname
module_type:
object_type: app_label.modelname
@@ -184776,11 +183475,16 @@ components:
id: null
url: https://openapi-generator.tech
label: label
+ requires_first_party_modules: true
url: https://openapi-generator.tech
name: name
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
position: position
- last_updated: 2000-01-23T04:56:07.000+00:00
+ module_family:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
object_type: app_label.modelname
module_type:
object_type: app_label.modelname
@@ -184798,6 +183502,7 @@ components:
id: null
url: https://openapi-generator.tech
label: label
+ requires_first_party_modules: true
url: https://openapi-generator.tech
name: name
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
@@ -184818,7 +183523,63 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/ModuleBayTemplate'
+ $ref: "#/components/schemas/ModuleBayTemplate"
+ type: array
+ required:
+ - count
+ - results
+ type: object
+ PaginatedModuleFamilyList:
+ example:
+ next: http://api.example.org/accounts/?offset=400&limit=100
+ previous: http://api.example.org/accounts/?offset=200&limit=100
+ count: 123
+ results:
+ - module_type_count: 0
+ last_updated: 2000-01-23T04:56:07.000+00:00
+ object_type: app_label.modelname
+ created: 2000-01-23T04:56:07.000+00:00
+ notes_url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ display: display
+ natural_slug: attribute1_attribute2
+ description: description
+ url: https://openapi-generator.tech
+ name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ module_bay_count: 6
+ - module_type_count: 0
+ last_updated: 2000-01-23T04:56:07.000+00:00
+ object_type: app_label.modelname
+ created: 2000-01-23T04:56:07.000+00:00
+ notes_url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ display: display
+ natural_slug: attribute1_attribute2
+ description: description
+ url: https://openapi-generator.tech
+ name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ module_bay_count: 6
+ properties:
+ count:
+ example: 123
+ type: integer
+ next:
+ example: http://api.example.org/accounts/?offset=400&limit=100
+ format: uri
+ nullable: true
+ type: string
+ previous:
+ example: http://api.example.org/accounts/?offset=200&limit=100
+ format: uri
+ nullable: true
+ type: string
+ results:
+ items:
+ $ref: "#/components/schemas/ModuleFamily"
type: array
required:
- count
@@ -184932,7 +183693,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/Module'
+ $ref: "#/components/schemas/Module"
type: array
required:
- count
@@ -184946,6 +183707,10 @@ components:
results:
- last_updated: 2000-01-23T04:56:07.000+00:00
comments: comments
+ module_family:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
object_type: app_label.modelname
created: 2000-01-23T04:56:07.000+00:00
notes_url: https://openapi-generator.tech
@@ -184970,6 +183735,10 @@ components:
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- last_updated: 2000-01-23T04:56:07.000+00:00
comments: comments
+ module_family:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
object_type: app_label.modelname
created: 2000-01-23T04:56:07.000+00:00
notes_url: https://openapi-generator.tech
@@ -185008,7 +183777,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/ModuleType'
+ $ref: "#/components/schemas/ModuleType"
type: array
required:
- count
@@ -185082,7 +183851,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/Namespace'
+ $ref: "#/components/schemas/Namespace"
type: array
required:
- count
@@ -185142,7 +183911,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/Note'
+ $ref: "#/components/schemas/Note"
type: array
required:
- count
@@ -185220,7 +183989,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/ObjectChange'
+ $ref: "#/components/schemas/ObjectChange"
type: array
required:
- count
@@ -185296,7 +184065,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/ObjectMetadata'
+ $ref: "#/components/schemas/ObjectMetadata"
type: array
required:
- count
@@ -185382,7 +184151,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/ObjectPermission'
+ $ref: "#/components/schemas/ObjectPermission"
type: array
required:
- count
@@ -185454,7 +184223,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/Platform'
+ $ref: "#/components/schemas/Platform"
type: array
required:
- count
@@ -185468,8 +184237,12 @@ components:
results:
- connected_endpoint_type: connected_endpoint_type
connected_endpoint: ""
+ breaker_position: 1210617418
notes_url: https://openapi-generator.tech
natural_slug: attribute1_attribute2
+ breaker_pole_count:
+ label: 1-Pole
+ value: 0
connected_endpoint_reachable: true
type:
label: Primary
@@ -185479,16 +184252,23 @@ components:
value: ac
power_panel:
object_type: app_label.modelname
- id: null
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
url: https://openapi-generator.tech
- amperage: 19750
- max_utilization: 15
+ amperage: 4803
+ max_utilization: 60
cable_peer: ""
+ power_path:
+ label: Path A
+ value: a
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
cable:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ destination_panel:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
phase:
label: Single phase
value: single-phase
@@ -185504,7 +184284,7 @@ components:
key: ""
display: display
url: https://openapi-generator.tech
- voltage: -27519
+ voltage: 6732
tags:
- object_type: app_label.modelname
id: null
@@ -185514,15 +184294,19 @@ components:
url: https://openapi-generator.tech
name: name
cable_peer_type: cable_peer_type
- available_power: 5
+ available_power: 2
status:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- connected_endpoint_type: connected_endpoint_type
connected_endpoint: ""
+ breaker_position: 1210617418
notes_url: https://openapi-generator.tech
natural_slug: attribute1_attribute2
+ breaker_pole_count:
+ label: 1-Pole
+ value: 0
connected_endpoint_reachable: true
type:
label: Primary
@@ -185532,16 +184316,23 @@ components:
value: ac
power_panel:
object_type: app_label.modelname
- id: null
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
url: https://openapi-generator.tech
- amperage: 19750
- max_utilization: 15
+ amperage: 4803
+ max_utilization: 60
cable_peer: ""
+ power_path:
+ label: Path A
+ value: a
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
cable:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ destination_panel:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
phase:
label: Single phase
value: single-phase
@@ -185557,7 +184348,7 @@ components:
key: ""
display: display
url: https://openapi-generator.tech
- voltage: -27519
+ voltage: 6732
tags:
- object_type: app_label.modelname
id: null
@@ -185567,7 +184358,7 @@ components:
url: https://openapi-generator.tech
name: name
cable_peer_type: cable_peer_type
- available_power: 5
+ available_power: 2
status:
object_type: app_label.modelname
id: null
@@ -185588,7 +184379,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/PowerFeed'
+ $ref: "#/components/schemas/PowerFeed"
type: array
required:
- count
@@ -185710,7 +184501,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/PowerOutlet'
+ $ref: "#/components/schemas/PowerOutlet"
type: array
required:
- count
@@ -185800,7 +184591,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/PowerOutletTemplate'
+ $ref: "#/components/schemas/PowerOutletTemplate"
type: array
required:
- count
@@ -185829,7 +184620,14 @@ components:
- object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ panel_type:
+ label: Utility
+ value: utility
name: name
+ power_path:
+ label: Path A
+ value: a
+ breaker_position_count: 1294386358
rack_group:
object_type: app_label.modelname
id: null
@@ -185856,7 +184654,14 @@ components:
- object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ panel_type:
+ label: Utility
+ value: utility
name: name
+ power_path:
+ label: Path A
+ value: a
+ breaker_position_count: 1294386358
rack_group:
object_type: app_label.modelname
id: null
@@ -185882,7 +184687,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/PowerPanel'
+ $ref: "#/components/schemas/PowerPanel"
type: array
required:
- count
@@ -185895,11 +184700,26 @@ components:
count: 123
results:
- connected_endpoint_type: connected_endpoint_type
- last_updated: 2000-01-23T04:56:07.000+00:00
connected_endpoint: ""
+ power_factor: power_factor
+ notes_url: https://openapi-generator.tech
+ natural_slug: attribute1_attribute2
+ description: description
+ connected_endpoint_reachable: true
+ type:
+ label: C6
+ value: iec-60320-c6
+ maximum_draw: 2624
+ allocated_draw: 19750
+ cable_peer: ""
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ cable:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ last_updated: 2000-01-23T04:56:07.000+00:00
object_type: app_label.modelname
created: 2000-01-23T04:56:07.000+00:00
- notes_url: https://openapi-generator.tech
custom_fields:
key: ""
display: display
@@ -185907,15 +184727,8 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- natural_slug: attribute1_attribute2
- description: description
label: label
- connected_endpoint_reachable: true
- type:
- label: C6
- value: iec-60320-c6
url: https://openapi-generator.tech
- maximum_draw: 2624
tags:
- object_type: app_label.modelname
id: null
@@ -185923,25 +184736,33 @@ components:
- object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- allocated_draw: 19750
- cable_peer: ""
name: name
cable_peer_type: cable_peer_type
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
device:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ - connected_endpoint_type: connected_endpoint_type
+ connected_endpoint: ""
+ power_factor: power_factor
+ notes_url: https://openapi-generator.tech
+ natural_slug: attribute1_attribute2
+ description: description
+ connected_endpoint_reachable: true
+ type:
+ label: C6
+ value: iec-60320-c6
+ maximum_draw: 2624
+ allocated_draw: 19750
+ cable_peer: ""
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
cable:
object_type: app_label.modelname
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
url: https://openapi-generator.tech
- - connected_endpoint_type: connected_endpoint_type
last_updated: 2000-01-23T04:56:07.000+00:00
- connected_endpoint: ""
object_type: app_label.modelname
created: 2000-01-23T04:56:07.000+00:00
- notes_url: https://openapi-generator.tech
custom_fields:
key: ""
display: display
@@ -185949,15 +184770,8 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- natural_slug: attribute1_attribute2
- description: description
label: label
- connected_endpoint_reachable: true
- type:
- label: C6
- value: iec-60320-c6
url: https://openapi-generator.tech
- maximum_draw: 2624
tags:
- object_type: app_label.modelname
id: null
@@ -185965,19 +184779,12 @@ components:
- object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- allocated_draw: 19750
- cable_peer: ""
name: name
cable_peer_type: cable_peer_type
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
device:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- cable:
- object_type: app_label.modelname
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
properties:
count:
example: 123
@@ -185994,7 +184801,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/PowerPort'
+ $ref: "#/components/schemas/PowerPort"
type: array
required:
- count
@@ -186013,6 +184820,7 @@ components:
id: null
url: https://openapi-generator.tech
notes_url: https://openapi-generator.tech
+ power_factor: power_factor
created: 2000-01-23T04:56:07.000+00:00
custom_fields:
key: ""
@@ -186039,6 +184847,7 @@ components:
id: null
url: https://openapi-generator.tech
notes_url: https://openapi-generator.tech
+ power_factor: power_factor
created: 2000-01-23T04:56:07.000+00:00
custom_fields:
key: ""
@@ -186074,7 +184883,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/PowerPortTemplate'
+ $ref: "#/components/schemas/PowerPortTemplate"
type: array
required:
- count
@@ -186144,6 +184953,13 @@ components:
id: null
url: https://openapi-generator.tech
prefix_length: 0
+ vrfs:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
status:
object_type: app_label.modelname
id: null
@@ -186206,6 +185022,13 @@ components:
id: null
url: https://openapi-generator.tech
prefix_length: 0
+ vrfs:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
status:
object_type: app_label.modelname
id: null
@@ -186226,7 +185049,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/Prefix'
+ $ref: "#/components/schemas/Prefix"
type: array
required:
- count
@@ -186280,7 +185103,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/PrefixLocationAssignment'
+ $ref: "#/components/schemas/PrefixLocationAssignment"
type: array
required:
- count
@@ -186358,7 +185181,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/Provider'
+ $ref: "#/components/schemas/Provider"
type: array
required:
- count
@@ -186434,7 +185257,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/ProviderNetwork'
+ $ref: "#/components/schemas/ProviderNetwork"
type: array
required:
- count
@@ -186490,7 +185313,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/RIR'
+ $ref: "#/components/schemas/RIR"
type: array
required:
- count
@@ -186562,7 +185385,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/RackGroup'
+ $ref: "#/components/schemas/RackGroup"
type: array
required:
- count
@@ -186594,7 +185417,7 @@ components:
asset_tag: asset_tag
desc_units: true
last_updated: 2000-01-23T04:56:07.000+00:00
- u_height: 60
+ u_height: 298
comments: comments
object_type: app_label.modelname
created: 2000-01-23T04:56:07.000+00:00
@@ -186651,7 +185474,7 @@ components:
asset_tag: asset_tag
desc_units: true
last_updated: 2000-01-23T04:56:07.000+00:00
- u_height: 60
+ u_height: 298
comments: comments
object_type: app_label.modelname
created: 2000-01-23T04:56:07.000+00:00
@@ -186704,7 +185527,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/Rack'
+ $ref: "#/components/schemas/Rack"
type: array
required:
- count
@@ -186794,30 +185617,134 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/RackReservation'
+ $ref: "#/components/schemas/RackReservation"
+ type: array
+ required:
+ - count
+ - results
+ type: object
+ PaginatedRackUnitList:
+ example:
+ next: http://api.example.org/accounts/?offset=400&limit=100
+ previous: http://api.example.org/accounts/?offset=200&limit=100
+ count: 123
+ results:
+ - face:
+ label: Front
+ value: front
+ name: name
+ id: 0
+ occupied: true
+ - face:
+ label: Front
+ value: front
+ name: name
+ id: 0
+ occupied: true
+ properties:
+ count:
+ example: 123
+ type: integer
+ next:
+ example: http://api.example.org/accounts/?offset=400&limit=100
+ format: uri
+ nullable: true
+ type: string
+ previous:
+ example: http://api.example.org/accounts/?offset=200&limit=100
+ format: uri
+ nullable: true
+ type: string
+ results:
+ items:
+ $ref: "#/components/schemas/RackUnit"
type: array
required:
- count
- results
type: object
- PaginatedRackUnitList:
+ PaginatedRadioProfileList:
example:
next: http://api.example.org/accounts/?offset=400&limit=100
previous: http://api.example.org/accounts/?offset=200&limit=100
count: 123
results:
- - face:
- label: Front
- value: front
+ - last_updated: 2000-01-23T04:56:07.000+00:00
+ tx_power_min: -1517921766
+ object_type: app_label.modelname
+ created: 2000-01-23T04:56:07.000+00:00
+ notes_url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ display: display
+ natural_slug: attribute1_attribute2
+ rx_power_min: 273751188
+ channel_width:
+ - label: 20 MHz
+ value: 0
+ - label: 20 MHz
+ value: 0
+ url: https://openapi-generator.tech
+ frequency: 2.4GHz
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ tx_power_max: 413233370
name: name
- id: 0
- occupied: true
- - face:
- label: Front
- value: front
+ regulatory_domain: AD
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ allowed_channel_list:
+ - 6
+ - 6
+ supported_data_rates:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - last_updated: 2000-01-23T04:56:07.000+00:00
+ tx_power_min: -1517921766
+ object_type: app_label.modelname
+ created: 2000-01-23T04:56:07.000+00:00
+ notes_url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ display: display
+ natural_slug: attribute1_attribute2
+ rx_power_min: 273751188
+ channel_width:
+ - label: 20 MHz
+ value: 0
+ - label: 20 MHz
+ value: 0
+ url: https://openapi-generator.tech
+ frequency: 2.4GHz
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ tx_power_max: 413233370
name: name
- id: 0
- occupied: true
+ regulatory_domain: AD
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ allowed_channel_list:
+ - 6
+ - 6
+ supported_data_rates:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
properties:
count:
example: 123
@@ -186834,7 +185761,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/RackUnit'
+ $ref: "#/components/schemas/RadioProfile"
type: array
required:
- count
@@ -186938,7 +185865,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/RearPort'
+ $ref: "#/components/schemas/RearPort"
type: array
required:
- count
@@ -187016,7 +185943,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/RearPortTemplate'
+ $ref: "#/components/schemas/RearPortTemplate"
type: array
required:
- count
@@ -187070,7 +185997,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/RelationshipAssociation'
+ $ref: "#/components/schemas/RelationshipAssociation"
type: array
required:
- count
@@ -187142,7 +186069,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/Relationship'
+ $ref: "#/components/schemas/Relationship"
type: array
required:
- count
@@ -187204,7 +186131,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/Role'
+ $ref: "#/components/schemas/Role"
type: array
required:
- count
@@ -187278,7 +186205,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/RouteTarget'
+ $ref: "#/components/schemas/RouteTarget"
type: array
required:
- count
@@ -187338,7 +186265,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/SavedView'
+ $ref: "#/components/schemas/SavedView"
type: array
required:
- count
@@ -187372,6 +186299,10 @@ components:
crontab: crontab
display: display
approval_required: true
+ job_queue:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
time_zone: time_zone
url: https://openapi-generator.tech
args: ""
@@ -187382,7 +186313,7 @@ components:
interval: immediately
user:
object_type: app_label.modelname
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ id: null
url: https://openapi-generator.tech
queue: queue
- last_run_at: 2000-01-23T04:56:07.000+00:00
@@ -187407,6 +186338,10 @@ components:
crontab: crontab
display: display
approval_required: true
+ job_queue:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
time_zone: time_zone
url: https://openapi-generator.tech
args: ""
@@ -187417,7 +186352,7 @@ components:
interval: immediately
user:
object_type: app_label.modelname
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ id: null
url: https://openapi-generator.tech
queue: queue
properties:
@@ -187436,7 +186371,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/ScheduledJob'
+ $ref: "#/components/schemas/ScheduledJob"
type: array
required:
- count
@@ -187506,7 +186441,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/Secret'
+ $ref: "#/components/schemas/Secret"
type: array
required:
- count
@@ -187519,7 +186454,7 @@ components:
count: 123
results:
- access_type: Generic
- secret_type: key
+ secret_type: authentication-key
object_type: app_label.modelname
display: display
natural_slug: attribute1_attribute2
@@ -187534,7 +186469,7 @@ components:
url: https://openapi-generator.tech
url: https://openapi-generator.tech
- access_type: Generic
- secret_type: key
+ secret_type: authentication-key
object_type: app_label.modelname
display: display
natural_slug: attribute1_attribute2
@@ -187564,7 +186499,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/SecretsGroupAssociation'
+ $ref: "#/components/schemas/SecretsGroupAssociation"
type: array
required:
- count
@@ -187630,7 +186565,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/SecretsGroup'
+ $ref: "#/components/schemas/SecretsGroup"
type: array
required:
- count
@@ -187738,7 +186673,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/Service'
+ $ref: "#/components/schemas/Service"
type: array
required:
- count
@@ -187776,6 +186711,10 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ external_integration:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
hashing_algorithm: md5
status:
object_type: app_label.modelname
@@ -187807,6 +186746,10 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ external_integration:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
hashing_algorithm: md5
status:
object_type: app_label.modelname
@@ -187828,7 +186771,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/SoftwareImageFile'
+ $ref: "#/components/schemas/SoftwareImageFile"
type: array
required:
- count
@@ -187920,7 +186863,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/SoftwareVersion'
+ $ref: "#/components/schemas/SoftwareVersion"
type: array
required:
- count
@@ -187982,7 +186925,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/StaticGroupAssociation'
+ $ref: "#/components/schemas/StaticGroupAssociation"
type: array
required:
- count
@@ -188042,7 +186985,75 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/Status'
+ $ref: "#/components/schemas/Status"
+ type: array
+ required:
+ - count
+ - results
+ type: object
+ PaginatedSupportedDataRateList:
+ example:
+ next: http://api.example.org/accounts/?offset=400&limit=100
+ previous: http://api.example.org/accounts/?offset=200&limit=100
+ count: 123
+ results:
+ - standard: 802.11a
+ last_updated: 2000-01-23T04:56:07.000+00:00
+ object_type: app_label.modelname
+ created: 2000-01-23T04:56:07.000+00:00
+ notes_url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ display: display
+ natural_slug: attribute1_attribute2
+ mcs_index: 441289069
+ url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ rate: 171976544
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ - standard: 802.11a
+ last_updated: 2000-01-23T04:56:07.000+00:00
+ object_type: app_label.modelname
+ created: 2000-01-23T04:56:07.000+00:00
+ notes_url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ display: display
+ natural_slug: attribute1_attribute2
+ mcs_index: 441289069
+ url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ rate: 171976544
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ properties:
+ count:
+ example: 123
+ type: integer
+ next:
+ example: http://api.example.org/accounts/?offset=400&limit=100
+ format: uri
+ nullable: true
+ type: string
+ previous:
+ example: http://api.example.org/accounts/?offset=200&limit=100
+ format: uri
+ nullable: true
+ type: string
+ results:
+ items:
+ $ref: "#/components/schemas/SupportedDataRate"
type: array
required:
- count
@@ -188104,7 +187115,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/Tag'
+ $ref: "#/components/schemas/Tag"
type: array
required:
- count
@@ -188127,9 +187138,17 @@ components:
display: display
natural_slug: attribute1_attribute2
url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
phone: ""
name: name
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ email: ""
contacts:
- object_type: app_label.modelname
id: null
@@ -188137,7 +187156,6 @@ components:
- object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- email: ""
- last_updated: 2000-01-23T04:56:07.000+00:00
address: address
comments: comments
@@ -188149,9 +187167,17 @@ components:
display: display
natural_slug: attribute1_attribute2
url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
phone: ""
name: name
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ email: ""
contacts:
- object_type: app_label.modelname
id: null
@@ -188159,7 +187185,6 @@ components:
- object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- email: ""
properties:
count:
example: 123
@@ -188176,7 +187201,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/Team'
+ $ref: "#/components/schemas/Team"
type: array
required:
- count
@@ -188240,7 +187265,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/TenantGroup'
+ $ref: "#/components/schemas/TenantGroup"
type: array
required:
- count
@@ -188334,7 +187359,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/Tenant'
+ $ref: "#/components/schemas/Tenant"
type: array
required:
- count
@@ -188382,7 +187407,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/Token'
+ $ref: "#/components/schemas/Token"
type: array
required:
- count
@@ -188468,7 +187493,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/User'
+ $ref: "#/components/schemas/User"
type: array
required:
- count
@@ -188524,7 +187549,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/UserSavedViewAssociation'
+ $ref: "#/components/schemas/UserSavedViewAssociation"
type: array
required:
- count
@@ -188545,8 +187570,16 @@ components:
display: display
natural_slug: attribute1_attribute2
description: description
+ range: range
url: https://openapi-generator.tech
vlan_count: 0
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
name: name
location:
object_type: app_label.modelname
@@ -188562,8 +187595,16 @@ components:
display: display
natural_slug: attribute1_attribute2
description: description
+ range: range
url: https://openapi-generator.tech
vlan_count: 0
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
name: name
location:
object_type: app_label.modelname
@@ -188586,7 +187627,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/VLANGroup'
+ $ref: "#/components/schemas/VLANGroup"
type: array
required:
- count
@@ -188620,6 +187661,44 @@ components:
id: null
url: https://openapi-generator.tech
vid: 2468
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ computed_fields:
+ key: ""
vlan_group:
object_type: app_label.modelname
id: null
@@ -188664,6 +187743,44 @@ components:
id: null
url: https://openapi-generator.tech
vid: 2468
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ computed_fields:
+ key: ""
vlan_group:
object_type: app_label.modelname
id: null
@@ -188702,7 +187819,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/VLAN'
+ $ref: "#/components/schemas/VLAN"
type: array
required:
- count
@@ -188756,7 +187873,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/VLANLocationAssignment'
+ $ref: "#/components/schemas/VLANLocationAssignment"
type: array
required:
- count
@@ -188918,7 +188035,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/VMInterface'
+ $ref: "#/components/schemas/VMInterface"
type: array
required:
- count
@@ -188948,6 +188065,10 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ virtual_device_context:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
url: https://openapi-generator.tech
- rd: rd
object_type: app_label.modelname
@@ -188967,6 +188088,10 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ virtual_device_context:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
url: https://openapi-generator.tech
properties:
count:
@@ -188984,7 +188109,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/VRFDeviceAssignment'
+ $ref: "#/components/schemas/VRFDeviceAssignment"
type: array
required:
- count
@@ -189012,6 +188137,13 @@ components:
display: display
natural_slug: attribute1_attribute2
description: description
+ virtual_device_contexts:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
url: https://openapi-generator.tech
virtual_machines:
- object_type: app_label.modelname
@@ -189079,6 +188211,13 @@ components:
display: display
natural_slug: attribute1_attribute2
description: description
+ virtual_device_contexts:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
url: https://openapi-generator.tech
virtual_machines:
- object_type: app_label.modelname
@@ -189146,7 +188285,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/VRF'
+ $ref: "#/components/schemas/VRF"
type: array
required:
- count
@@ -189200,19 +188339,107 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/VRFPrefixAssignment'
+ $ref: "#/components/schemas/VRFPrefixAssignment"
+ type: array
+ required:
+ - count
+ - results
+ type: object
+ PaginatedVirtualChassisList:
+ example:
+ next: http://api.example.org/accounts/?offset=400&limit=100
+ previous: http://api.example.org/accounts/?offset=200&limit=100
+ count: 123
+ results:
+ - last_updated: 2000-01-23T04:56:07.000+00:00
+ object_type: app_label.modelname
+ created: 2000-01-23T04:56:07.000+00:00
+ notes_url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ display: display
+ natural_slug: attribute1_attribute2
+ url: https://openapi-generator.tech
+ master:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ domain: domain
+ name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ member_count: 0
+ - last_updated: 2000-01-23T04:56:07.000+00:00
+ object_type: app_label.modelname
+ created: 2000-01-23T04:56:07.000+00:00
+ notes_url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ display: display
+ natural_slug: attribute1_attribute2
+ url: https://openapi-generator.tech
+ master:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ domain: domain
+ name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ member_count: 0
+ properties:
+ count:
+ example: 123
+ type: integer
+ next:
+ example: http://api.example.org/accounts/?offset=400&limit=100
+ format: uri
+ nullable: true
+ type: string
+ previous:
+ example: http://api.example.org/accounts/?offset=200&limit=100
+ format: uri
+ nullable: true
+ type: string
+ results:
+ items:
+ $ref: "#/components/schemas/VirtualChassis"
type: array
required:
- count
- results
type: object
- PaginatedVirtualChassisList:
+ PaginatedVirtualDeviceContextList:
example:
next: http://api.example.org/accounts/?offset=400&limit=100
previous: http://api.example.org/accounts/?offset=200&limit=100
count: 123
results:
- - last_updated: 2000-01-23T04:56:07.000+00:00
+ - identifier: 2624
+ interfaces:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ last_updated: 2000-01-23T04:56:07.000+00:00
+ role:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
object_type: app_label.modelname
created: 2000-01-23T04:56:07.000+00:00
notes_url: https://openapi-generator.tech
@@ -189220,11 +188447,8 @@ components:
key: ""
display: display
natural_slug: attribute1_attribute2
+ description: description
url: https://openapi-generator.tech
- master:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
tags:
- object_type: app_label.modelname
id: null
@@ -189232,11 +188456,41 @@ components:
- object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- domain: domain
name: name
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- member_count: 0
- - last_updated: 2000-01-23T04:56:07.000+00:00
+ device:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ primary_ip6:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ tenant:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ status:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ primary_ip4:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - identifier: 2624
+ interfaces:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ last_updated: 2000-01-23T04:56:07.000+00:00
+ role:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
object_type: app_label.modelname
created: 2000-01-23T04:56:07.000+00:00
notes_url: https://openapi-generator.tech
@@ -189244,11 +188498,8 @@ components:
key: ""
display: display
natural_slug: attribute1_attribute2
+ description: description
url: https://openapi-generator.tech
- master:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
tags:
- object_type: app_label.modelname
id: null
@@ -189256,10 +188507,28 @@ components:
- object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- domain: domain
name: name
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- member_count: 0
+ device:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ primary_ip6:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ tenant:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ status:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ primary_ip4:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
properties:
count:
example: 123
@@ -189276,7 +188545,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/VirtualChassis'
+ $ref: "#/components/schemas/VirtualDeviceContext"
type: array
required:
- count
@@ -189446,7 +188715,7 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/VirtualMachine'
+ $ref: "#/components/schemas/VirtualMachine"
type: array
required:
- count
@@ -189522,12 +188791,117 @@ components:
type: string
results:
items:
- $ref: '#/components/schemas/Webhook'
+ $ref: "#/components/schemas/Webhook"
+ type: array
+ required:
+ - count
+ - results
+ type: object
+ PaginatedWirelessNetworkList:
+ example:
+ next: http://api.example.org/accounts/?offset=400&limit=100
+ previous: http://api.example.org/accounts/?offset=200&limit=100
+ count: 123
+ results:
+ - last_updated: 2000-01-23T04:56:07.000+00:00
+ hidden: true
+ object_type: app_label.modelname
+ created: 2000-01-23T04:56:07.000+00:00
+ notes_url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ display: display
+ natural_slug: attribute1_attribute2
+ description: description
+ secrets_group:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ ssid: ssid
+ url: https://openapi-generator.tech
+ enabled: true
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ mode: Central
+ name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ tenant:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ authentication: Open
+ - last_updated: 2000-01-23T04:56:07.000+00:00
+ hidden: true
+ object_type: app_label.modelname
+ created: 2000-01-23T04:56:07.000+00:00
+ notes_url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ display: display
+ natural_slug: attribute1_attribute2
+ description: description
+ secrets_group:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ ssid: ssid
+ url: https://openapi-generator.tech
+ enabled: true
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ mode: Central
+ name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ tenant:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ authentication: Open
+ properties:
+ count:
+ example: 123
+ type: integer
+ next:
+ example: http://api.example.org/accounts/?offset=400&limit=100
+ format: uri
+ nullable: true
+ type: string
+ previous:
+ example: http://api.example.org/accounts/?offset=200&limit=100
+ format: uri
+ nullable: true
+ type: string
+ results:
+ items:
+ $ref: "#/components/schemas/WirelessNetwork"
type: array
required:
- count
- results
type: object
+ PanelTypeEnum:
+ enum:
+ - utility
+ - generator
+ - switchgear
+ - mdp
+ - ups
+ - transfer-switch
+ - pdu
+ - panelboard
+ - mlc
+ - rpp
+ type: string
PatchedBulkWritableCableRequest:
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
@@ -189602,9 +188976,9 @@ components:
termination_b_type:
type: string
length_unit:
- $ref: '#/components/schemas/LengthUnitEnum'
+ $ref: "#/components/schemas/LengthUnitEnum"
type:
- $ref: '#/components/schemas/CableTypeChoices'
+ $ref: "#/components/schemas/CableTypeChoices"
termination_a_id:
format: uuid
type: string
@@ -189625,17 +188999,17 @@ components:
nullable: true
type: integer
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -189739,23 +189113,23 @@ components:
comments:
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
provider:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
circuit_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -189783,6 +189157,13 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
xconnect_id: xconnect_id
relationships:
key:
@@ -189833,7 +189214,7 @@ components:
type: string
term_side:
allOf:
- - $ref: '#/components/schemas/TermSideEnum'
+ - $ref: "#/components/schemas/TermSideEnum"
title: Termination
port_speed:
maximum: 2147483647
@@ -189860,19 +189241,23 @@ components:
maxLength: 255
type: string
circuit:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
location:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
provider_network:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
cloud_network:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -189940,7 +189325,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -190026,19 +189411,19 @@ components:
minLength: 1
type: string
provider:
- $ref: '#/components/schemas/BulkWritableCloudAccountRequest_provider'
+ $ref: "#/components/schemas/BulkWritableCloudAccountRequest_provider"
secrets_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -190062,9 +189447,9 @@ components:
format: uuid
type: string
cloud_network:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
prefix:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- id
type: object
@@ -190149,21 +189534,21 @@ components:
maxLength: 255
type: string
cloud_resource_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
cloud_account:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -190249,17 +189634,17 @@ components:
config_schema:
nullable: true
provider:
- $ref: '#/components/schemas/BulkWritableCloudAccountRequest_provider'
+ $ref: "#/components/schemas/BulkWritableCloudAccountRequest_provider"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -190283,9 +189668,9 @@ components:
format: uuid
type: string
cloud_network:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
cloud_service:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- id
type: object
@@ -190366,19 +189751,19 @@ components:
maxLength: 255
type: string
cloud_resource_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
cloud_account:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -190446,7 +189831,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -190532,23 +189917,23 @@ components:
comments:
type: string
cluster_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
cluster_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
location:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -190616,7 +190001,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -190795,46 +190180,46 @@ components:
type: boolean
data: {}
config_context_schema:
- $ref: '#/components/schemas/BulkWritableConfigContextRequest_config_context_schema'
+ $ref: "#/components/schemas/BulkWritableConfigContextRequest_config_context_schema"
locations:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
roles:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
device_types:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
device_redundancy_groups:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
platforms:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
cluster_groups:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
clusters:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
tenant_groups:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
tenants:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -190915,7 +190300,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -190989,7 +190374,7 @@ components:
format: uuid
type: string
type:
- $ref: '#/components/schemas/ConsolePortTypeChoices'
+ $ref: "#/components/schemas/ConsolePortTypeChoices"
name:
maxLength: 255
minLength: 1
@@ -191002,19 +190387,19 @@ components:
maxLength: 255
type: string
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -191081,7 +190466,7 @@ components:
format: uuid
type: string
type:
- $ref: '#/components/schemas/ConsolePortTypeChoices'
+ $ref: "#/components/schemas/ConsolePortTypeChoices"
name:
maxLength: 255
minLength: 1
@@ -191094,15 +190479,15 @@ components:
maxLength: 255
type: string
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -191176,7 +190561,7 @@ components:
format: uuid
type: string
type:
- $ref: '#/components/schemas/ConsolePortTypeChoices'
+ $ref: "#/components/schemas/ConsolePortTypeChoices"
name:
maxLength: 255
minLength: 1
@@ -191189,19 +190574,19 @@ components:
maxLength: 255
type: string
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -191268,7 +190653,7 @@ components:
format: uuid
type: string
type:
- $ref: '#/components/schemas/ConsolePortTypeChoices'
+ $ref: "#/components/schemas/ConsolePortTypeChoices"
name:
maxLength: 255
minLength: 1
@@ -191281,15 +190666,15 @@ components:
maxLength: 255
type: string
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -191367,19 +190752,19 @@ components:
format: uuid
type: string
contact:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
team:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
role:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -191441,14 +190826,17 @@ components:
name: name
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
email: ""
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
properties:
id:
format: uuid
type: string
- teams:
- items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
- type: array
name:
maxLength: 255
minLength: 1
@@ -191459,7 +190847,6 @@ components:
type: string
email:
default: ""
- format: email
maxLength: 254
title: E-mail
type: string
@@ -191472,8 +190859,41 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ teams:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ required:
+ - id
+ type: object
+ PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest:
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ example:
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ radio_profile:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ controller_managed_device_group:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ controller_managed_device_group:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ radio_profile:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- id
type: object
@@ -191527,11 +190947,19 @@ components:
object_type: app_label.modelname
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
url: https://openapi-generator.tech
+ capabilities:
+ - wireless
+ - wireless
custom_fields:
key: ""
name: name
+ description: description
weight: 171976544
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ tenant:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
tags:
- object_type: app_label.modelname
id: null
@@ -191543,11 +190971,19 @@ components:
id:
format: uuid
type: string
+ capabilities:
+ items:
+ $ref: "#/components/schemas/CapabilitiesEnum"
+ nullable: true
+ type: array
name:
description: Name of the controller device group
maxLength: 255
minLength: 1
type: string
+ description:
+ maxLength: 255
+ type: string
weight:
description: "Weight of the controller device group, used to sort the groups\
\ within its parent group"
@@ -191555,29 +190991,65 @@ components:
minimum: 0
type: integer
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
controller:
- $ref: '#/components/schemas/BulkWritableControllerManagedDeviceGroupRequest_controller'
+ $ref: "#/components/schemas/BulkWritableControllerManagedDeviceGroupRequest_controller"
+ tenant:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
type: object
+ PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest:
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ example:
+ vlan:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ wireless_network:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ controller_managed_device_group:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ controller_managed_device_group:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ wireless_network:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ vlan:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ required:
+ - id
+ type: object
PatchedBulkWritableControllerRequest:
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
example:
+ capabilities:
+ - wireless
+ - wireless
role:
object_type: app_label.modelname
id: null
@@ -191662,6 +191134,11 @@ components:
id:
format: uuid
type: string
+ capabilities:
+ items:
+ $ref: "#/components/schemas/CapabilitiesEnum"
+ nullable: true
+ type: array
name:
maxLength: 255
minLength: 1
@@ -191670,31 +191147,31 @@ components:
maxLength: 255
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
platform:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
external_integration:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
controller_device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
controller_device_redundancy_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -191725,7 +191202,7 @@ components:
minimum: 0
type: integer
custom_field:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- id
type: object
@@ -191760,9 +191237,9 @@ components:
type: string
type: array
type:
- $ref: '#/components/schemas/CustomFieldTypeChoices'
+ $ref: "#/components/schemas/CustomFieldTypeChoices"
filter_logic:
- $ref: '#/components/schemas/FilterLogicEnum'
+ $ref: "#/components/schemas/FilterLogicEnum"
label:
maxLength: 50
minLength: 1
@@ -191877,7 +191354,7 @@ components:
type: string
button_class:
allOf:
- - $ref: '#/components/schemas/ButtonClassEnum'
+ - $ref: "#/components/schemas/ButtonClassEnum"
description: The class of the first link in a group will be used for the
dropdown button
new_window:
@@ -191965,19 +191442,19 @@ components:
maxLength: 255
type: string
device:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
installed_device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -192050,13 +191527,13 @@ components:
maxLength: 255
type: string
device_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -192108,6 +191585,13 @@ components:
name: name
description: description
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
properties:
id:
format: uuid
@@ -192124,8 +191608,12 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
required:
- id
type: object
@@ -192174,7 +191662,7 @@ components:
comments: comments
custom_fields:
key: ""
- failover_strategy: active-active
+ failover_strategy: ""
name: name
description: description
secrets_group:
@@ -192198,7 +191686,7 @@ components:
format: uuid
type: string
failover_strategy:
- $ref: '#/components/schemas/BulkWritableDeviceRedundancyGroupRequest_failover_strategy'
+ $ref: "#/components/schemas/BulkWritableDeviceRedundancyGroupRequest_failover_strategy"
name:
maxLength: 255
minLength: 1
@@ -192209,19 +191697,19 @@ components:
comments:
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
secrets_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -192373,7 +191861,7 @@ components:
format: uuid
type: string
face:
- $ref: '#/components/schemas/FaceEnum'
+ $ref: "#/components/schemas/FaceEnum"
local_config_context_data:
nullable: true
local_config_context_data_owner_object_id:
@@ -192421,58 +191909,58 @@ components:
comments:
type: string
local_config_context_schema:
- $ref: '#/components/schemas/BulkWritableConfigContextRequest_config_context_schema'
+ $ref: "#/components/schemas/BulkWritableConfigContextRequest_config_context_schema"
local_config_context_data_owner_content_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
device_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
platform:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
rack:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
primary_ip4:
- $ref: '#/components/schemas/Primary_IPv4'
+ $ref: "#/components/schemas/Primary_IPv4"
primary_ip6:
- $ref: '#/components/schemas/Primary_IPv6'
+ $ref: "#/components/schemas/Primary_IPv6"
cluster:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
virtual_chassis:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
device_redundancy_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
software_version:
- $ref: '#/components/schemas/BulkWritableDeviceRequest_software_version'
+ $ref: "#/components/schemas/BulkWritableDeviceRequest_software_version"
secrets_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
controller_managed_device_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
software_image_files:
description: Override the software image files associated with the software
version for this device
items:
- $ref: '#/components/schemas/Software_Image_Files'
+ $ref: "#/components/schemas/Software_Image_Files"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
parent_bay:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
required:
- id
type: object
@@ -192549,7 +192037,7 @@ components:
format: uuid
type: string
subdevice_role:
- $ref: '#/components/schemas/SubdeviceRoleEnum'
+ $ref: "#/components/schemas/SubdeviceRoleEnum"
front_image:
format: binary
type: string
@@ -192575,19 +192063,19 @@ components:
comments:
type: string
manufacturer:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
device_family:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -192611,9 +192099,9 @@ components:
format: uuid
type: string
device_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
software_image_file:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- id
type: object
@@ -192638,15 +192126,15 @@ components:
format: uuid
type: string
operator:
- $ref: '#/components/schemas/OperatorEnum'
+ $ref: "#/components/schemas/OperatorEnum"
weight:
maximum: 32767
minimum: 0
type: integer
group:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
parent_group:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- id
type: object
@@ -192725,22 +192213,22 @@ components:
maxLength: 255
type: string
group_type:
- $ref: '#/components/schemas/GroupTypeEnum'
+ $ref: "#/components/schemas/GroupTypeEnum"
filter:
description: A JSON-encoded dictionary of filter parameters defining membership
of this group
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -192828,7 +192316,7 @@ components:
type: string
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -192841,6 +192329,21 @@ components:
example:
remote_url: https://openapi-generator.tech
headers: ""
+ ca_file_path: ca_file_path
+ custom_fields:
+ key: ""
+ secrets_group:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ timeout: 171976544
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
relationships:
key:
peer:
@@ -192878,18 +192381,10 @@ components:
type: one-to-many
url: https://openapi-generator.tech
http_method: GET
- ca_file_path: ca_file_path
verify_ssl: true
- custom_fields:
- key: ""
name: name
- secrets_group:
- object_type: app_label.modelname
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
extra_config: ""
- timeout: 171976544
properties:
id:
format: uuid
@@ -192915,7 +192410,7 @@ components:
description: Optional user-defined JSON data for this integration
nullable: true
http_method:
- $ref: '#/components/schemas/BulkWritableExternalIntegrationRequest_http_method'
+ $ref: "#/components/schemas/BulkWritableExternalIntegrationRequest_http_method"
headers:
description: Headers for the HTTP request
nullable: true
@@ -192923,14 +192418,18 @@ components:
maxLength: 255
type: string
secrets_group:
- $ref: '#/components/schemas/BulkWritableExternalIntegrationRequest_secrets_group'
+ $ref: "#/components/schemas/BulkWritableExternalIntegrationRequest_secrets_group"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
required:
- id
type: object
@@ -193008,7 +192507,7 @@ components:
format: uuid
type: string
type:
- $ref: '#/components/schemas/PortTypeChoices'
+ $ref: "#/components/schemas/PortTypeChoices"
name:
maxLength: 255
minLength: 1
@@ -193025,21 +192524,21 @@ components:
minimum: 1
type: integer
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
rear_port:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -193111,7 +192610,7 @@ components:
format: uuid
type: string
type:
- $ref: '#/components/schemas/PortTypeChoices'
+ $ref: "#/components/schemas/PortTypeChoices"
name:
maxLength: 255
minLength: 1
@@ -193128,17 +192627,17 @@ components:
minimum: 1
type: integer
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
rear_port_template:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -193197,13 +192696,20 @@ components:
branch: branch
slug: slug
current_head: current_head
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
properties:
id:
format: uuid
type: string
provided_contents:
items:
- $ref: '#/components/schemas/BulkWritableGitRepositoryRequest_provided_contents_inner'
+ $ref: "#/components/schemas/BulkWritableGitRepositoryRequest_provided_contents_inner"
type: array
name:
maxLength: 255
@@ -193232,14 +192738,18 @@ components:
maxLength: 48
type: string
secrets_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
required:
- id
type: object
@@ -193248,6 +192758,8 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
example:
+ owner_content_type: owner_content_type
+ owner_object_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
query: query
name: name
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
@@ -193255,6 +192767,13 @@ components:
id:
format: uuid
type: string
+ owner_content_type:
+ nullable: true
+ type: string
+ owner_object_id:
+ format: uuid
+ nullable: true
+ type: string
name:
maxLength: 255
minLength: 1
@@ -193370,9 +192889,9 @@ components:
minLength: 1
type: string
namespace:
- $ref: '#/components/schemas/BulkWritableIPAddressRequest_namespace'
+ $ref: "#/components/schemas/BulkWritableIPAddressRequest_namespace"
type:
- $ref: '#/components/schemas/IPAddressTypeChoices'
+ $ref: "#/components/schemas/IPAddressTypeChoices"
dns_name:
description: Hostname or FQDN (not case-sensitive)
maxLength: 255
@@ -193382,25 +192901,25 @@ components:
maxLength: 255
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
parent:
- $ref: '#/components/schemas/BulkWritableIPAddressRequest_parent'
+ $ref: "#/components/schemas/BulkWritableIPAddressRequest_parent"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
nat_inside:
- $ref: '#/components/schemas/NAT__Inside_'
+ $ref: "#/components/schemas/NAT__Inside_"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -193456,11 +192975,11 @@ components:
description: Is standby address on interface
type: boolean
ip_address:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
interface:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
vm_interface:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
required:
- id
type: object
@@ -193524,9 +193043,9 @@ components:
minimum: 0
type: integer
interface_redundancy_group:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
interface:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- id
type: object
@@ -193600,7 +193119,7 @@ components:
format: uuid
type: string
protocol:
- $ref: '#/components/schemas/InterfaceRedundancyGroupProtocolChoices'
+ $ref: "#/components/schemas/InterfaceRedundancyGroupProtocolChoices"
name:
maxLength: 255
minLength: 1
@@ -193612,21 +193131,21 @@ components:
maxLength: 255
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
secrets_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
virtual_ip:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -193740,9 +193259,9 @@ components:
format: uuid
type: string
type:
- $ref: '#/components/schemas/InterfaceTypeChoices'
+ $ref: "#/components/schemas/InterfaceTypeChoices"
mode:
- $ref: '#/components/schemas/ModeEnum'
+ $ref: "#/components/schemas/InterfaceModeChoices"
mac_address:
nullable: true
type: string
@@ -193769,37 +193288,37 @@ components:
title: Management only
type: boolean
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
parent_interface:
- $ref: '#/components/schemas/BulkWritableInterfaceRequest_parent_interface'
+ $ref: "#/components/schemas/BulkWritableInterfaceRequest_parent_interface"
bridge:
- $ref: '#/components/schemas/Bridge_interface'
+ $ref: "#/components/schemas/Bridge_interface"
lag:
- $ref: '#/components/schemas/Parent_LAG'
+ $ref: "#/components/schemas/Parent_LAG"
untagged_vlan:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
vrf:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tagged_vlans:
items:
- $ref: '#/components/schemas/Tagged_VLANs'
+ $ref: "#/components/schemas/Tagged_VLANs"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -193867,7 +193386,7 @@ components:
format: uuid
type: string
type:
- $ref: '#/components/schemas/InterfaceTypeChoices'
+ $ref: "#/components/schemas/InterfaceTypeChoices"
name:
maxLength: 255
minLength: 1
@@ -193883,19 +193402,44 @@ components:
title: Management only
type: boolean
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
type: object
+ PatchedBulkWritableInterfaceVDCAssignmentRequest:
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ example:
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ interface:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ virtual_device_context:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ virtual_device_context:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ interface:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ required:
+ - id
+ type: object
PatchedBulkWritableInventoryItemRequest:
description: Add a `tree_depth` field to non-nested model serializers based
on django-tree-queries.
@@ -194008,29 +193552,29 @@ components:
description: This item was automatically discovered
type: boolean
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
device:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
manufacturer:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
software_version:
- $ref: '#/components/schemas/BulkWritableInventoryItemRequest_software_version'
+ $ref: "#/components/schemas/BulkWritableInventoryItemRequest_software_version"
software_image_files:
description: Override the software image files associated with the software
version for this inventory item
items:
- $ref: '#/components/schemas/Software_Image_Files'
+ $ref: "#/components/schemas/Software_Image_Files"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -194087,14 +193631,14 @@ components:
maxLength: 255
type: string
button_class:
- $ref: '#/components/schemas/ButtonClassEnum'
+ $ref: "#/components/schemas/ButtonClassEnum"
confirmation:
description: "Enable confirmation pop-up box. WARNING:\
\ unselecting this option will allow the Job to run (and commit changes)\
\ with a single click!"
type: boolean
job:
- $ref: '#/components/schemas/BulkWritableJobButtonRequest_job'
+ $ref: "#/components/schemas/BulkWritableJobButtonRequest_job"
required:
- id
type: object
@@ -194179,13 +193723,126 @@ components:
description: Call this job hook when a matching object is updated.
type: boolean
job:
- $ref: '#/components/schemas/BulkWritableJobHookRequest_job'
+ $ref: "#/components/schemas/BulkWritableJobHookRequest_job"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ required:
+ - id
+ type: object
+ PatchedBulkWritableJobQueueAssignmentRequest:
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ example:
+ job_queue:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ job:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ job:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ job_queue:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ required:
+ - id
+ type: object
+ PatchedBulkWritableJobQueueRequest:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ queue_type: celery
+ custom_fields:
+ key: ""
+ name: name
+ description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ tenant:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ name:
+ maxLength: 255
+ minLength: 1
+ type: string
+ description:
+ maxLength: 255
+ type: string
+ queue_type:
+ $ref: "#/components/schemas/QueueTypeEnum"
+ tenant:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -194199,8 +193856,8 @@ components:
grouping_override: true
hidden: true
time_limit: 0.6027456183070403
+ default_job_queue_override: true
has_sensitive_variables: true
- task_queues: ""
description: description
dryrun_default_override: true
approval_required_override: true
@@ -194247,9 +193904,14 @@ components:
time_limit_override: true
dryrun_default: true
soft_time_limit: 0.08008281904610115
+ job_queues_override: true
custom_fields:
key: ""
approval_required: true
+ default_job_queue:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
grouping: grouping
tags:
- object_type: app_label.modelname
@@ -194260,9 +193922,10 @@ components:
url: https://openapi-generator.tech
name_override: true
hidden_override: true
- task_queues_override: true
+ is_singleton: true
name: name
description_override: true
+ is_singleton_override: true
properties:
id:
format: uuid
@@ -194286,6 +193949,10 @@ components:
has_sensitive_variables:
description: Whether this job contains sensitive variables
type: boolean
+ is_singleton:
+ description: Whether this job should fail to run if another instance of
+ this job is already running
+ type: boolean
approval_required:
description: Whether the job requires approval from another user before
running
@@ -194309,9 +193976,6 @@ components:
format: double
minimum: 0
type: number
- task_queues:
- description: Comma separated list of task queues that this job can run on.
- A blank list will use the default queue
grouping_override:
description: "If set, the configured grouping will remain even if the underlying\
\ Job source code changes"
@@ -194348,20 +194012,30 @@ components:
description: "If set, the configured value will remain even if the underlying\
\ Job source code changes"
type: boolean
- task_queues_override:
+ job_queues_override:
description: "If set, the configured value will remain even if the underlying\
\ Job source code changes"
type: boolean
+ default_job_queue_override:
+ description: "If set, the configured value will remain even if the underlying\
+ \ Job source code changes"
+ type: boolean
+ is_singleton_override:
+ description: "If set, the configured value will remain even if the underlying\
+ \ Job source code changes"
+ type: boolean
+ default_job_queue:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -194501,23 +194175,23 @@ components:
comments:
type: string
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
location_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -194595,13 +194269,13 @@ components:
Locations of this same type
type: boolean
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -194669,7 +194343,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -194700,7 +194374,7 @@ components:
minimum: 0
type: integer
metadata_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- id
type: object
@@ -194755,6 +194429,13 @@ components:
- content_types
- content_types
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
properties:
id:
format: uuid
@@ -194772,15 +194453,19 @@ components:
type: string
data_type:
allOf:
- - $ref: '#/components/schemas/DataTypeEnum'
+ - $ref: "#/components/schemas/DataTypeEnum"
description: The type of data allowed for any Metadata of this type.
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
required:
- id
type: object
@@ -194826,6 +194511,10 @@ components:
label: label
type: one-to-many
url: https://openapi-generator.tech
+ module_family:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
parent_device:
object_type: app_label.modelname
id: null
@@ -194837,6 +194526,7 @@ components:
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
position: position
label: label
+ requires_first_party_modules: true
parent_module:
object_type: app_label.modelname
id: null
@@ -194852,6 +194542,10 @@ components:
id:
format: uuid
type: string
+ requires_first_party_modules:
+ description: This bay will only accept modules from the same manufacturer
+ as the parent device or module
+ type: boolean
name:
maxLength: 255
minLength: 1
@@ -194868,19 +194562,21 @@ components:
maxLength: 255
type: string
parent_device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
parent_module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ module_family:
+ $ref: "#/components/schemas/BulkWritableModuleBayRequest_module_family"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -194927,6 +194623,10 @@ components:
label: label
type: one-to-many
url: https://openapi-generator.tech
+ module_family:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
module_type:
object_type: app_label.modelname
id: null
@@ -194942,6 +194642,7 @@ components:
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
position: position
label: label
+ requires_first_party_modules: true
properties:
id:
format: uuid
@@ -194961,16 +194662,87 @@ components:
description:
maxLength: 255
type: string
+ requires_first_party_modules:
+ description: This bay will only accept modules from the same manufacturer
+ as the parent device or module
+ type: boolean
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ module_family:
+ $ref: "#/components/schemas/BulkWritableModuleBayTemplateRequest_module_family"
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ required:
+ - id
+ type: object
+ PatchedBulkWritableModuleFamilyRequest:
+ description: API serializer for ModuleFamily objects.
+ example:
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ name: name
+ description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ properties:
+ id:
+ format: uuid
+ type: string
+ name:
+ maxLength: 255
+ minLength: 1
+ type: string
+ description:
+ maxLength: 255
+ type: string
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -195068,27 +194840,27 @@ components:
nullable: true
type: string
module_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
parent_module_bay:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
location:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -195136,6 +194908,10 @@ components:
type: one-to-many
url: https://openapi-generator.tech
comments: comments
+ module_family:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
custom_fields:
key: ""
part_number: part_number
@@ -195167,17 +194943,19 @@ components:
comments:
type: string
manufacturer:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ module_family:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -195252,17 +195030,17 @@ components:
maxLength: 255
type: string
location:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -195304,7 +195082,7 @@ components:
minLength: 1
type: string
user:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
required:
- id
type: object
@@ -195344,11 +195122,11 @@ components:
format: uuid
type: string
metadata_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
contact:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
team:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
required:
- id
type: object
@@ -195405,11 +195183,11 @@ components:
nullable: true
groups:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
users:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -195496,13 +195274,13 @@ components:
maxLength: 255
type: string
manufacturer:
- $ref: '#/components/schemas/BulkWritablePlatformRequest_manufacturer'
+ $ref: "#/components/schemas/BulkWritablePlatformRequest_manufacturer"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -195519,13 +195297,15 @@ components:
id: null
url: https://openapi-generator.tech
comments: comments
+ breaker_position: 1280358508
custom_fields:
key: ""
+ breaker_pole_count: ""
type: ""
supply: ""
power_panel:
object_type: app_label.modelname
- id: null
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
url: https://openapi-generator.tech
voltage: -27519
tags:
@@ -195574,11 +195354,16 @@ components:
amperage: 19750
max_utilization: 15
name: name
+ power_path: a
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
cable:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ destination_panel:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
status:
object_type: app_label.modelname
id: null
@@ -195589,22 +195374,22 @@ components:
type: string
type:
allOf:
- - $ref: '#/components/schemas/PowerFeedTypeChoices'
- default:
- value: primary
- label: Primary
+ - $ref: "#/components/schemas/PowerFeedTypeChoices"
+ default: primary
+ power_path:
+ $ref: "#/components/schemas/PowerPathEnum"
supply:
allOf:
- - $ref: '#/components/schemas/SupplyEnum'
- default:
- value: ac
- label: AC
+ - $ref: "#/components/schemas/SupplyEnum"
+ default: ac
phase:
allOf:
- - $ref: '#/components/schemas/PhaseEnum'
- default:
- value: single-phase
- label: Single phase
+ - $ref: "#/components/schemas/PhaseEnum"
+ default: single-phase
+ breaker_pole_count:
+ allOf:
+ - $ref: "#/components/schemas/BreakerPoleCountEnum"
+ nullable: true
name:
maxLength: 255
minLength: 1
@@ -195622,26 +195407,34 @@ components:
maximum: 100
minimum: 1
type: integer
+ breaker_position:
+ description: Starting circuit breaker position in panel
+ maximum: 2147483647
+ minimum: 0
+ nullable: true
+ type: integer
comments:
type: string
cable:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
power_panel:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritablePowerFeedRequest_power_panel"
+ destination_panel:
+ $ref: "#/components/schemas/BulkWritablePowerFeedRequest_destination_panel"
rack:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -195720,9 +195513,9 @@ components:
format: uuid
type: string
type:
- $ref: '#/components/schemas/PowerOutletTypeChoices'
+ $ref: "#/components/schemas/PowerOutletTypeChoices"
feed_leg:
- $ref: '#/components/schemas/FeedLegEnum'
+ $ref: "#/components/schemas/FeedLegEnum"
name:
maxLength: 255
minLength: 1
@@ -195735,21 +195528,21 @@ components:
maxLength: 255
type: string
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
power_port:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -195821,9 +195614,9 @@ components:
format: uuid
type: string
type:
- $ref: '#/components/schemas/PowerOutletTypeChoices'
+ $ref: "#/components/schemas/PowerOutletTypeChoices"
feed_leg:
- $ref: '#/components/schemas/FeedLegEnum'
+ $ref: "#/components/schemas/FeedLegEnum"
name:
maxLength: 255
minLength: 1
@@ -195836,17 +195629,17 @@ components:
maxLength: 255
type: string
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
power_port_template:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -195895,7 +195688,10 @@ components:
url: https://openapi-generator.tech
custom_fields:
key: ""
+ panel_type: utility
name: name
+ power_path: a
+ breaker_position_count: 171976544
rack_group:
object_type: app_label.modelname
id: null
@@ -195916,24 +195712,34 @@ components:
id:
format: uuid
type: string
+ panel_type:
+ $ref: "#/components/schemas/PanelTypeEnum"
+ power_path:
+ $ref: "#/components/schemas/PowerPathEnum"
name:
maxLength: 255
minLength: 1
type: string
+ breaker_position_count:
+ description: "Total number of breaker positions in the panel (e.g., 42)"
+ maximum: 2147483647
+ minimum: 0
+ nullable: true
+ type: integer
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
rack_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -195944,6 +195750,24 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
example:
+ power_factor: power_factor
+ custom_fields:
+ key: ""
+ module:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ description: description
+ label: label
+ type: iec-60320-c6
+ maximum_draw: 2624
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
allocated_draw: 19750
relationships:
key:
@@ -195981,35 +195805,18 @@ components:
label: label
type: one-to-many
url: https://openapi-generator.tech
- custom_fields:
- key: ""
- module:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
name: name
- description: description
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- label: label
- type: iec-60320-c6
device:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- maximum_draw: 2624
- tags:
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
properties:
id:
format: uuid
type: string
type:
- $ref: '#/components/schemas/PowerPortTypeChoices'
+ $ref: "#/components/schemas/PowerPortTypeChoices"
name:
maxLength: 255
minLength: 1
@@ -196033,20 +195840,26 @@ components:
minimum: 1
nullable: true
type: integer
+ power_factor:
+ description: Power factor (0.01-1.00) for converting between watts (W) and
+ volt-amps (VA). Defaults to 0.95.
+ format: decimal
+ pattern: "^-?\\d{0,2}(?:\\.\\d{0,2})?$"
+ type: string
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -196098,6 +195911,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ power_factor: power_factor
custom_fields:
key: ""
name: name
@@ -196115,7 +195929,7 @@ components:
format: uuid
type: string
type:
- $ref: '#/components/schemas/PowerPortTypeChoices'
+ $ref: "#/components/schemas/PowerPortTypeChoices"
name:
maxLength: 255
minLength: 1
@@ -196139,16 +195953,22 @@ components:
minimum: 1
nullable: true
type: integer
+ power_factor:
+ description: Power factor (0.01-1.00) for converting between watts (W) and
+ volt-amps (VA). Defaults to 0.95.
+ format: decimal
+ pattern: "^-?\\d{0,2}(?:\\.\\d{0,2})?$"
+ type: string
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -196172,9 +195992,9 @@ components:
format: uuid
type: string
prefix:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- id
type: object
@@ -196275,12 +196095,10 @@ components:
type: string
type:
allOf:
- - $ref: '#/components/schemas/PrefixTypeChoices'
- default:
- value: network
- label: Network
+ - $ref: "#/components/schemas/PrefixTypeChoices"
+ default: network
location:
- $ref: '#/components/schemas/BulkWritablePrefixRequest_location'
+ $ref: "#/components/schemas/BulkWritablePrefixRequest_location"
date_allocated:
description: "Date this prefix was allocated to an RIR, reserved in IPAM,\
\ etc."
@@ -196291,29 +196109,29 @@ components:
maxLength: 255
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
parent:
- $ref: '#/components/schemas/BulkWritablePrefixRequest_parent'
+ $ref: "#/components/schemas/BulkWritablePrefixRequest_parent"
namespace:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
vlan:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
rir:
- $ref: '#/components/schemas/BulkWritablePrefixRequest_rir'
+ $ref: "#/components/schemas/BulkWritablePrefixRequest_rir"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -196391,17 +196209,17 @@ components:
comments:
type: string
provider:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -196496,14 +196314,14 @@ components:
type: string
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -196576,7 +196394,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -196646,15 +196464,15 @@ components:
maxLength: 255
type: string
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -196667,7 +196485,7 @@ components:
example:
asset_tag: asset_tag
desc_units: true
- u_height: 8
+ u_height: 40
comments: comments
role:
object_type: app_label.modelname
@@ -196748,13 +196566,13 @@ components:
format: uuid
type: string
type:
- $ref: '#/components/schemas/RackTypeChoices'
+ $ref: "#/components/schemas/RackTypeChoices"
width:
allOf:
- - $ref: '#/components/schemas/WidthEnum'
+ - $ref: "#/components/schemas/WidthEnum"
description: Rail-to-rail width (in inches)
outer_unit:
- $ref: '#/components/schemas/OuterUnitEnum'
+ $ref: "#/components/schemas/OuterUnitEnum"
name:
maxLength: 255
minLength: 1
@@ -196775,7 +196593,7 @@ components:
type: string
u_height:
description: Height in rack units
- maximum: 100
+ maximum: 500
minimum: 1
title: Height (U)
type: integer
@@ -196798,25 +196616,25 @@ components:
comments:
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
rack_group:
- $ref: '#/components/schemas/BulkWritableRackRequest_rack_group'
+ $ref: "#/components/schemas/BulkWritableRackRequest_rack_group"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -196898,21 +196716,148 @@ components:
minLength: 1
type: string
rack:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
user:
- $ref: '#/components/schemas/BulkWritableRackReservationRequest_user'
+ $ref: "#/components/schemas/BulkWritableRackReservationRequest_user"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ required:
+ - id
+ type: object
+ PatchedBulkWritableRadioProfileRequest:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ tx_power_min: -1517921766
+ custom_fields:
+ key: ""
+ rx_power_min: 273751188
+ channel_width:
+ - 0
+ - 0
+ frequency: 2.4GHz
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ tx_power_max: 413233370
+ name: name
+ regulatory_domain: AD
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ allowed_channel_list:
+ - 6
+ - 6
+ supported_data_rates:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ channel_width:
+ items:
+ $ref: "#/components/schemas/ChannelWidthEnum"
+ type: array
+ allowed_channel_list:
+ items:
+ type: integer
+ type: array
+ name:
+ maxLength: 255
+ minLength: 1
+ type: string
+ frequency:
+ $ref: "#/components/schemas/BulkWritableRadioProfileRequest_frequency"
+ tx_power_min:
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Transmit Power Minimum
+ type: integer
+ tx_power_max:
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Transmit Power Maximum
+ type: integer
+ regulatory_domain:
+ $ref: "#/components/schemas/RegulatoryDomainEnum"
+ rx_power_min:
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Receive Power Minimum
+ type: integer
+ supported_data_rates:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -196987,7 +196932,7 @@ components:
format: uuid
type: string
type:
- $ref: '#/components/schemas/PortTypeChoices'
+ $ref: "#/components/schemas/PortTypeChoices"
name:
maxLength: 255
minLength: 1
@@ -197004,19 +196949,19 @@ components:
minimum: 1
type: integer
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -197084,7 +197029,7 @@ components:
format: uuid
type: string
type:
- $ref: '#/components/schemas/PortTypeChoices'
+ $ref: "#/components/schemas/PortTypeChoices"
name:
maxLength: 255
minLength: 1
@@ -197101,15 +197046,15 @@ components:
minimum: 1
type: integer
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -197143,7 +197088,7 @@ components:
format: uuid
type: string
relationship:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- id
type: object
@@ -197191,10 +197136,10 @@ components:
type: string
type:
allOf:
- - $ref: '#/components/schemas/RelationshipTypeChoices'
+ - $ref: "#/components/schemas/RelationshipTypeChoices"
description: Cardinality of this relationship
required_on:
- $ref: '#/components/schemas/BulkWritableRelationshipRequest_required_on'
+ $ref: "#/components/schemas/BulkWritableRelationshipRequest_required_on"
source_label:
description: "Label for related destination objects, as displayed on the\
\ source object."
@@ -197309,7 +197254,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -197385,17 +197330,17 @@ components:
maxLength: 255
type: string
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -197437,7 +197382,7 @@ components:
is_shared:
type: boolean
owner:
- $ref: '#/components/schemas/BulkWritableSavedViewRequest_owner'
+ $ref: "#/components/schemas/BulkWritableSavedViewRequest_owner"
required:
- id
type: object
@@ -197512,14 +197457,14 @@ components:
parameters: {}
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -197528,7 +197473,7 @@ components:
description: Serializer for `SecretsGroupAssociation` objects.
example:
access_type: Generic
- secret_type: key
+ secret_type: authentication-key
secrets_group:
object_type: app_label.modelname
id: null
@@ -197543,13 +197488,13 @@ components:
format: uuid
type: string
access_type:
- $ref: '#/components/schemas/AccessTypeEnum'
+ $ref: "#/components/schemas/AccessTypeEnum"
secret_type:
- $ref: '#/components/schemas/SecretTypeEnum'
+ $ref: "#/components/schemas/SecretTypeEnum"
secrets_group:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
secret:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- id
type: object
@@ -197613,7 +197558,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -197696,7 +197641,7 @@ components:
format: uuid
type: string
protocol:
- $ref: '#/components/schemas/ServiceProtocolChoices'
+ $ref: "#/components/schemas/ServiceProtocolChoices"
ports:
items:
maximum: 65535
@@ -197711,23 +197656,23 @@ components:
maxLength: 255
type: string
device:
- $ref: '#/components/schemas/BulkWritableServiceRequest_device'
+ $ref: "#/components/schemas/BulkWritableServiceRequest_device"
virtual_machine:
- $ref: '#/components/schemas/BulkWritableServiceRequest_virtual_machine'
+ $ref: "#/components/schemas/BulkWritableServiceRequest_virtual_machine"
ip_addresses:
items:
- $ref: '#/components/schemas/IP_addresses'
+ $ref: "#/components/schemas/IP_addresses"
type: array
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -197738,6 +197683,15 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
example:
+ custom_fields:
+ key: ""
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
image_file_checksum: image_file_checksum
relationships:
key:
@@ -197776,8 +197730,6 @@ components:
type: one-to-many
url: https://openapi-generator.tech
image_file_size: 738633633822310400
- custom_fields:
- key: ""
download_url: https://openapi-generator.tech
image_file_name: image_file_name
default_image: true
@@ -197786,16 +197738,13 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- hashing_algorithm: md5
- status:
+ external_integration:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- tags:
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- - object_type: app_label.modelname
+ hashing_algorithm: md5
+ status:
+ object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
properties:
@@ -197810,7 +197759,7 @@ components:
maxLength: 256
type: string
hashing_algorithm:
- $ref: '#/components/schemas/BulkWritableSoftwareImageFileRequest_hashing_algorithm'
+ $ref: "#/components/schemas/BulkWritableSoftwareImageFileRequest_hashing_algorithm"
image_file_size:
description: Image file size in bytes
format: int64
@@ -197826,19 +197775,21 @@ components:
description: Is the default image for this software version
type: boolean
software_version:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ external_integration:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -197941,19 +197892,19 @@ components:
description: Is a Pre-Release version
type: boolean
platform:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -198019,13 +197970,13 @@ components:
format: uuid
type: string
dynamic_group:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -198104,8 +198055,97 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ required:
+ - id
+ type: object
+ PatchedBulkWritableSupportedDataRateRequest:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ standard: 802.11a
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ rate: 171976544
+ custom_fields:
+ key: ""
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ mcs_index: 441289069
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ standard:
+ $ref: "#/components/schemas/StandardEnum"
+ rate:
+ maximum: 2147483647
+ minimum: 0
+ title: Rate (Kbps)
+ type: integer
+ mcs_index:
+ description: "The Modulation and Coding Scheme (MCS) index is a value used\
+ \ in wireless communications to define the modulation type, coding rate,\
+ \ and number of spatial streams used in a transmission."
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Modulation and Coding Scheme (MCS) Index
+ type: integer
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
required:
- id
type: object
@@ -198186,7 +198226,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -198240,6 +198280,7 @@ components:
key: ""
name: name
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ email: ""
contacts:
- object_type: app_label.modelname
id: null
@@ -198247,15 +198288,17 @@ components:
- object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- email: ""
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
properties:
id:
format: uuid
type: string
- contacts:
- items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
- type: array
name:
maxLength: 255
minLength: 1
@@ -198266,7 +198309,6 @@ components:
type: string
email:
default: ""
- format: email
maxLength: 254
title: E-mail
type: string
@@ -198274,13 +198316,21 @@ components:
type: string
comments:
type: string
+ contacts:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
required:
- id
type: object
@@ -198347,13 +198397,13 @@ components:
maxLength: 255
type: string
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -198431,17 +198481,17 @@ components:
comments:
type: string
tenant_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -198555,7 +198605,7 @@ components:
description: The groups this user belongs to. A user will get all permissions
granted to each of their groups.
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -198584,9 +198634,9 @@ components:
minLength: 1
type: string
saved_view:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
user:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- id
type: object
@@ -198636,11 +198686,19 @@ components:
key: ""
name: name
description: description
+ range: range
location:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
properties:
id:
format: uuid
@@ -198652,14 +198710,23 @@ components:
description:
maxLength: 255
type: string
+ range:
+ description: "Permitted VID range(s) as comma-separated list, default '1-4094'\
+ \ if left blank."
+ minLength: 1
+ type: string
location:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -198683,9 +198750,9 @@ components:
format: uuid
type: string
vlan:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- id
type: object
@@ -198769,7 +198836,7 @@ components:
format: uuid
type: string
location:
- $ref: '#/components/schemas/BulkWritablePrefixRequest_location'
+ $ref: "#/components/schemas/BulkWritablePrefixRequest_location"
vid:
maximum: 4094
minimum: 1
@@ -198783,23 +198850,23 @@ components:
maxLength: 255
type: string
vlan_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -198902,7 +198969,7 @@ components:
format: uuid
type: string
mode:
- $ref: '#/components/schemas/ModeEnum'
+ $ref: "#/components/schemas/InterfaceModeChoices"
mac_address:
nullable: true
type: string
@@ -198921,33 +198988,33 @@ components:
maxLength: 255
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
parent_interface:
- $ref: '#/components/schemas/BulkWritableInterfaceRequest_parent_interface'
+ $ref: "#/components/schemas/BulkWritableInterfaceRequest_parent_interface"
bridge:
- $ref: '#/components/schemas/Bridge_interface'
+ $ref: "#/components/schemas/Bridge_interface"
virtual_machine:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
untagged_vlan:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
vrf:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tagged_vlans:
items:
- $ref: '#/components/schemas/Tagged_VLANs'
+ $ref: "#/components/schemas/Tagged_VLANs"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -198972,6 +199039,10 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ virtual_device_context:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
properties:
id:
format: uuid
@@ -198986,11 +199057,13 @@ components:
maxLength: 255
type: string
vrf:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
virtual_machine:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ virtual_device_context:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
required:
- id
type: object
@@ -199013,9 +199086,9 @@ components:
format: uuid
type: string
vrf:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
prefix:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- id
type: object
@@ -199118,29 +199191,29 @@ components:
maxLength: 255
type: string
status:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
namespace:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
import_targets:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
export_targets:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- id
@@ -199215,17 +199288,140 @@ components:
maxLength: 255
type: string
master:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ required:
+ - id
+ type: object
+ PatchedBulkWritableVirtualDeviceContextRequest:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ identifier: 2624
+ role:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ description: description
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ device:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ primary_ip6:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ tenant:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ status:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ primary_ip4:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ name:
+ maxLength: 255
+ minLength: 1
+ type: string
+ identifier:
+ description: "Unique identifier provided by the platform being virtualized\
+ \ (Example: Nexus VDC Identifier)"
+ maximum: 32767
+ minimum: 0
+ nullable: true
+ type: integer
+ description:
+ maxLength: 255
+ type: string
+ device:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ status:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ role:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ primary_ip4:
+ $ref: "#/components/schemas/Primary_IPv4"
+ primary_ip6:
+ $ref: "#/components/schemas/Primary_IPv6"
+ tenant:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- id
@@ -199305,195 +199501,303 @@ components:
label: label
type: one-to-many
url: https://openapi-generator.tech
- disk: 314780940
- local_config_context_data_owner_content_type:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
+ disk: 314780940
+ local_config_context_data_owner_content_type:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ name: name
+ local_config_context_schema:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ software_version:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ primary_ip6:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ tenant:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ status:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ primary_ip4:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ local_config_context_data:
+ nullable: true
+ local_config_context_data_owner_object_id:
+ format: uuid
+ nullable: true
+ type: string
+ name:
+ maxLength: 255
+ minLength: 1
+ type: string
+ vcpus:
+ maximum: 32767
+ minimum: 0
+ nullable: true
+ type: integer
+ memory:
+ maximum: 2147483647
+ minimum: 0
+ nullable: true
+ title: Memory (MB)
+ type: integer
+ disk:
+ maximum: 2147483647
+ minimum: 0
+ nullable: true
+ title: Disk (GB)
+ type: integer
+ comments:
+ type: string
+ local_config_context_schema:
+ $ref: "#/components/schemas/BulkWritableConfigContextRequest_config_context_schema"
+ local_config_context_data_owner_content_type:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ cluster:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ tenant:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ platform:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ status:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ role:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ primary_ip4:
+ $ref: "#/components/schemas/Primary_IPv4"
+ primary_ip6:
+ $ref: "#/components/schemas/Primary_IPv6"
+ software_version:
+ $ref: "#/components/schemas/BulkWritableVirtualMachineRequest_software_version"
+ software_image_files:
+ description: Override the software image files associated with the software
+ version for this virtual machine
+ items:
+ $ref: "#/components/schemas/Software_Image_Files"
+ type: array
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ required:
+ - id
+ type: object
+ PatchedBulkWritableWebhookRequest:
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ example:
+ type_update: true
+ additional_headers: additional_headers
+ ssl_verification: true
+ ca_file_path: ca_file_path
+ type_delete: true
+ secret: secret
+ body_template: body_template
+ enabled: true
+ http_method: GET
+ http_content_type: http_content_type
+ type_create: true
+ name: name
+ content_types:
+ - content_types
+ - content_types
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ payload_url: payload_url
+ properties:
+ id:
+ format: uuid
+ type: string
+ content_types:
+ items:
+ type: string
+ type: array
+ name:
+ maxLength: 255
+ minLength: 1
+ type: string
+ type_create:
+ description: Call this webhook when a matching object is created.
+ type: boolean
+ type_update:
+ description: Call this webhook when a matching object is updated.
+ type: boolean
+ type_delete:
+ description: Call this webhook when a matching object is deleted.
+ type: boolean
+ payload_url:
+ description: A POST will be sent to this URL when the webhook is called.
+ maxLength: 500
+ minLength: 1
+ title: URL
+ type: string
+ enabled:
+ type: boolean
+ http_method:
+ $ref: "#/components/schemas/HttpMethodEnum"
+ http_content_type:
+ description: The complete list of official content types is available here.
+ maxLength: 255
+ minLength: 1
+ type: string
+ additional_headers:
+ description: "User-supplied HTTP headers to be sent with the request in\
+ \ addition to the HTTP content type. Headers should be defined in the\
+ \ format Name: Value. Jinja2 template processing is supported\
+ \ with the same context as the request body (below)."
+ type: string
+ body_template:
+ description: "Jinja2 template for a custom request body. If blank, a JSON\
+ \ object representing the change will be included. Available context data\
+ \ includes: event, model, timestamp,\
+ \ username, request_id, and data."
+ type: string
+ secret:
+ description: "When provided, the request will include a 'X-Hook-Signature'\
+ \ header containing a HMAC hex digest of the payload body using the secret\
+ \ as the key. The secret is not transmitted in the request."
+ maxLength: 255
+ type: string
+ ssl_verification:
+ description: Enable SSL certificate verification. Disable with caution!
+ type: boolean
+ ca_file_path:
+ description: The specific CA certificate file to use for SSL verification.
+ Leave blank to use the system defaults.
+ maxLength: 4096
+ type: string
+ required:
+ - id
+ type: object
+ PatchedBulkWritableWirelessNetworkRequest:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ hidden: true
+ custom_fields:
+ key: ""
+ description: description
+ secrets_group:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ ssid: ssid
+ enabled: true
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ mode: Central
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
name: name
- local_config_context_schema:
- object_type: app_label.modelname
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- software_version:
- object_type: app_label.modelname
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- primary_ip6:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
tenant:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- status:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- primary_ip4:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
+ authentication: Open
properties:
id:
format: uuid
type: string
- local_config_context_data:
- nullable: true
- local_config_context_data_owner_object_id:
- format: uuid
- nullable: true
- type: string
name:
maxLength: 255
minLength: 1
type: string
- vcpus:
- maximum: 32767
- minimum: 0
- nullable: true
- type: integer
- memory:
- maximum: 2147483647
- minimum: 0
- nullable: true
- title: Memory (MB)
- type: integer
- disk:
- maximum: 2147483647
- minimum: 0
- nullable: true
- title: Disk (GB)
- type: integer
- comments:
+ description:
+ maxLength: 255
type: string
- local_config_context_schema:
- $ref: '#/components/schemas/BulkWritableConfigContextRequest_config_context_schema'
- local_config_context_data_owner_content_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
- cluster:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ ssid:
+ maxLength: 255
+ minLength: 1
+ type: string
+ mode:
+ $ref: "#/components/schemas/WirelessNetworkModeChoices"
+ enabled:
+ type: boolean
+ authentication:
+ $ref: "#/components/schemas/AuthenticationEnum"
+ hidden:
+ type: boolean
+ secrets_group:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
- platform:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
- status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
- role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
- primary_ip4:
- $ref: '#/components/schemas/Primary_IPv4'
- primary_ip6:
- $ref: '#/components/schemas/Primary_IPv6'
- software_version:
- $ref: '#/components/schemas/BulkWritableVirtualMachineRequest_software_version'
- software_image_files:
- description: Override the software image files associated with the software
- version for this virtual machine
- items:
- $ref: '#/components/schemas/Software_Image_Files'
- type: array
- tags:
- items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
- type: array
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
- required:
- - id
- type: object
- PatchedBulkWritableWebhookRequest:
- description: |-
- Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
- validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
- example:
- type_update: true
- additional_headers: additional_headers
- ssl_verification: true
- ca_file_path: ca_file_path
- type_delete: true
- secret: secret
- body_template: body_template
- enabled: true
- http_method: GET
- http_content_type: http_content_type
- type_create: true
- name: name
- content_types:
- - content_types
- - content_types
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- payload_url: payload_url
- properties:
- id:
- format: uuid
- type: string
- content_types:
+ tags:
items:
- type: string
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
- name:
- maxLength: 255
- minLength: 1
- type: string
- type_create:
- description: Call this webhook when a matching object is created.
- type: boolean
- type_update:
- description: Call this webhook when a matching object is updated.
- type: boolean
- type_delete:
- description: Call this webhook when a matching object is deleted.
- type: boolean
- payload_url:
- description: A POST will be sent to this URL when the webhook is called.
- maxLength: 500
- minLength: 1
- title: URL
- type: string
- enabled:
- type: boolean
- http_method:
- $ref: '#/components/schemas/HttpMethodEnum'
- http_content_type:
- description: The complete list of official content types is available here.
- maxLength: 255
- minLength: 1
- type: string
- additional_headers:
- description: "User-supplied HTTP headers to be sent with the request in\
- \ addition to the HTTP content type. Headers should be defined in the\
- \ format Name: Value. Jinja2 template processing is supported\
- \ with the same context as the request body (below)."
- type: string
- body_template:
- description: "Jinja2 template for a custom request body. If blank, a JSON\
- \ object representing the change will be included. Available context data\
- \ includes: event, model, timestamp,\
- \ username, request_id, and data."
- type: string
- secret:
- description: "When provided, the request will include a 'X-Hook-Signature'\
- \ header containing a HMAC hex digest of the payload body using the secret\
- \ as the key. The secret is not transmitted in the request."
- maxLength: 255
- type: string
- ssl_verification:
- description: Enable SSL certificate verification. Disable with caution!
- type: boolean
- ca_file_path:
- description: The specific CA certificate file to use for SSL verification.
- Leave blank to use the system defaults.
- maxLength: 4096
- type: string
required:
- id
type: object
@@ -199503,6 +199807,17 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
example:
+ comments: comments
+ custom_fields:
+ key: ""
+ description: description
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
relationships:
key:
peer:
@@ -199539,7 +199854,6 @@ components:
label: label
type: one-to-many
url: https://openapi-generator.tech
- comments: comments
commit_rate: 171976544
provider:
object_type: app_label.modelname
@@ -199549,9 +199863,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- custom_fields:
- key: ""
- description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
install_date: 2000-01-23
tenant:
object_type: app_label.modelname
@@ -199562,14 +199874,10 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- tags:
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
cid:
maxLength: 255
minLength: 1
@@ -199592,23 +199900,23 @@ components:
comments:
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
provider:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
circuit_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedCircuitTerminationRequest:
@@ -199617,6 +199925,30 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
example:
+ port_speed: 171976544
+ circuit:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ cloud_network:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ pp_info: pp_info
+ description: description
+ provider_network:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
xconnect_id: xconnect_id
relationships:
key:
@@ -199654,33 +199986,20 @@ components:
label: label
type: one-to-many
url: https://openapi-generator.tech
- port_speed: 171976544
upstream_speed: 1294386358
- circuit:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- custom_fields:
- key: ""
- cloud_network:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- pp_info: pp_info
- description: description
term_side: ""
location:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- provider_network:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
term_side:
allOf:
- - $ref: '#/components/schemas/TermSideEnum'
+ - $ref: "#/components/schemas/TermSideEnum"
title: Termination
port_speed:
maximum: 2147483647
@@ -199707,19 +200026,23 @@ components:
maxLength: 255
type: string
circuit:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
location:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
provider_network:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
cloud_network:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedCircuitTypeRequest:
@@ -199768,7 +200091,11 @@ components:
key: ""
name: name
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -199781,7 +200108,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedCloudAccountRequest:
@@ -199839,6 +200166,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
tags:
- object_type: app_label.modelname
id: null
@@ -199847,6 +200175,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
description: The name of this Cloud Account.
maxLength: 255
@@ -199861,19 +200192,19 @@ components:
minLength: 1
type: string
provider:
- $ref: '#/components/schemas/BulkWritableCloudAccountRequest_provider'
+ $ref: "#/components/schemas/BulkWritableCloudAccountRequest_provider"
secrets_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PatchedCloudNetworkPrefixAssignmentRequest:
@@ -199889,11 +200220,15 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
cloud_network:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
prefix:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: object
PatchedCloudNetworkRequest:
description: |-
@@ -199953,6 +200288,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
extra_config: ""
tags:
- object_type: app_label.modelname
@@ -199962,6 +200298,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
extra_config:
nullable: true
name:
@@ -199972,21 +200311,21 @@ components:
maxLength: 255
type: string
cloud_resource_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
cloud_account:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PatchedCloudResourceTypeRequest:
@@ -200042,6 +200381,7 @@ components:
content_types:
- content_types
- content_types
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
config_schema: ""
tags:
- object_type: app_label.modelname
@@ -200051,6 +200391,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
content_types:
items:
type: string
@@ -200066,17 +200409,17 @@ components:
config_schema:
nullable: true
provider:
- $ref: '#/components/schemas/BulkWritableCloudAccountRequest_provider'
+ $ref: "#/components/schemas/BulkWritableCloudAccountRequest_provider"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PatchedCloudServiceNetworkAssignmentRequest:
@@ -200088,15 +200431,19 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
cloud_service:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
cloud_network:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
cloud_service:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: object
PatchedCloudServiceRequest:
description: |-
@@ -200152,6 +200499,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
extra_config: ""
tags:
- object_type: app_label.modelname
@@ -200161,6 +200509,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
extra_config:
nullable: true
name:
@@ -200171,19 +200522,19 @@ components:
maxLength: 255
type: string
cloud_resource_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
cloud_account:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PatchedClusterGroupRequest:
@@ -200232,7 +200583,11 @@ components:
key: ""
name: name
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -200245,7 +200600,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedClusterRequest:
@@ -200302,6 +200657,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
cluster_type:
object_type: app_label.modelname
id: null
@@ -200318,6 +200674,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -200325,23 +200684,23 @@ components:
comments:
type: string
cluster_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
cluster_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
location:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedClusterTypeRequest:
@@ -200390,7 +200749,11 @@ components:
key: ""
name: name
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -200403,7 +200766,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedComputedFieldRequest:
@@ -200417,10 +200780,14 @@ components:
content_type: content_type
description: description
weight: 2624
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
label: label
grouping: grouping
key: key
properties:
+ id:
+ format: uuid
+ type: string
content_type:
type: string
key:
@@ -200533,6 +200900,7 @@ components:
- object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
device_types:
- object_type: app_label.modelname
id: null
@@ -200548,6 +200916,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
owner_content_type:
nullable: true
type: string
@@ -200570,46 +200941,46 @@ components:
type: boolean
data: {}
config_context_schema:
- $ref: '#/components/schemas/BulkWritableConfigContextRequest_config_context_schema'
+ $ref: "#/components/schemas/BulkWritableConfigContextRequest_config_context_schema"
locations:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
roles:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
device_types:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
device_redundancy_groups:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
platforms:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
cluster_groups:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
clusters:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
tenant_groups:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
tenants:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PatchedConfigContextSchemaRequest:
@@ -200661,7 +201032,11 @@ components:
name: name
description: description
data_schema: ""
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
owner_content_type:
nullable: true
type: string
@@ -200684,7 +201059,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedContactAssociationRequest:
@@ -200740,6 +201115,7 @@ components:
id: null
url: https://openapi-generator.tech
associated_object_type: associated_object_type
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
team:
object_type: app_label.modelname
id: null
@@ -200750,25 +201126,28 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
associated_object_type:
type: string
associated_object_id:
format: uuid
type: string
contact:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
team:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
role:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedContactRequest:
@@ -200826,12 +201205,19 @@ components:
custom_fields:
key: ""
name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
email: ""
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
properties:
- teams:
- items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
- type: array
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -200842,7 +201228,6 @@ components:
type: string
email:
default: ""
- format: email
maxLength: 254
title: E-mail
type: string
@@ -200855,8 +201240,39 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ teams:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ type: object
+ PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest:
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ example:
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ radio_profile:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ controller_managed_device_group:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ controller_managed_device_group:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ radio_profile:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: object
PatchedControllerManagedDeviceGroupRequest:
description: |-
@@ -200908,10 +201324,19 @@ components:
object_type: app_label.modelname
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
url: https://openapi-generator.tech
+ capabilities:
+ - wireless
+ - wireless
custom_fields:
key: ""
name: name
+ description: description
weight: 171976544
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ tenant:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
tags:
- object_type: app_label.modelname
id: null
@@ -200920,11 +201345,22 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
+ capabilities:
+ items:
+ $ref: "#/components/schemas/CapabilitiesEnum"
+ nullable: true
+ type: array
name:
description: Name of the controller device group
maxLength: 255
minLength: 1
type: string
+ description:
+ maxLength: 255
+ type: string
weight:
description: "Weight of the controller device group, used to sort the groups\
\ within its parent group"
@@ -200932,27 +201368,61 @@ components:
minimum: 0
type: integer
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
controller:
- $ref: '#/components/schemas/BulkWritableControllerManagedDeviceGroupRequest_controller'
+ $ref: "#/components/schemas/BulkWritableControllerManagedDeviceGroupRequest_controller"
+ tenant:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
+ PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest:
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ example:
+ vlan:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ wireless_network:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ controller_managed_device_group:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ controller_managed_device_group:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ wireless_network:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ vlan:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ type: object
PatchedControllerRequest:
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
example:
+ capabilities:
+ - wireless
+ - wireless
role:
object_type: app_label.modelname
id: null
@@ -201016,6 +201486,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
external_integration:
object_type: app_label.modelname
id: null
@@ -201033,6 +201504,14 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
+ capabilities:
+ items:
+ $ref: "#/components/schemas/CapabilitiesEnum"
+ nullable: true
+ type: array
name:
maxLength: 255
minLength: 1
@@ -201041,31 +201520,31 @@ components:
maxLength: 255
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
platform:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
external_integration:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
controller_device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
controller_device_redundancy_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PatchedCustomFieldChoiceRequest:
@@ -201078,8 +201557,12 @@ components:
id: null
url: https://openapi-generator.tech
weight: 2624
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
value: value
properties:
+ id:
+ format: uuid
+ type: string
value:
maxLength: 255
minLength: 1
@@ -201090,7 +201573,7 @@ components:
minimum: 0
type: integer
custom_field:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: object
PatchedCustomLinkRequest:
description: |-
@@ -201104,8 +201587,12 @@ components:
weight: 2624
button_class: ""
new_window: true
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
text: text
properties:
+ id:
+ format: uuid
+ type: string
content_type:
type: string
name:
@@ -201136,7 +201623,7 @@ components:
type: string
button_class:
allOf:
- - $ref: '#/components/schemas/ButtonClassEnum'
+ - $ref: "#/components/schemas/ButtonClassEnum"
description: The class of the first link in a group will be used for the
dropdown button
new_window:
@@ -201193,6 +201680,7 @@ components:
id: null
url: https://openapi-generator.tech
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
label: label
device:
object_type: app_label.modelname
@@ -201206,6 +201694,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -201218,19 +201709,19 @@ components:
maxLength: 255
type: string
device:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
installed_device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PatchedDeviceBayTemplateRequest:
@@ -201283,8 +201774,12 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
label: label
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -201297,13 +201792,13 @@ components:
maxLength: 255
type: string
device_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedDeviceFamilyRequest:
@@ -201352,7 +201847,18 @@ components:
key: ""
name: name
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -201365,8 +201871,12 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
type: object
PatchedDeviceTypeToSoftwareImageFileRequest:
description: |-
@@ -201381,11 +201891,15 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
device_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
software_image_file:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: object
PatchedDynamicGroupMembershipRequest:
description: |-
@@ -201393,6 +201907,7 @@ components:
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
example:
weight: 2624
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
operator: union
group:
object_type: app_label.modelname
@@ -201403,16 +201918,19 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
operator:
- $ref: '#/components/schemas/OperatorEnum'
+ $ref: "#/components/schemas/OperatorEnum"
weight:
maximum: 32767
minimum: 0
type: integer
group:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
parent_group:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: object
PatchedDynamicGroupRequest:
description: |-
@@ -201462,6 +201980,7 @@ components:
key: ""
name: name
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
group_type: dynamic-filter
tenant:
object_type: app_label.modelname
@@ -201475,6 +201994,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
content_type:
type: string
name:
@@ -201485,22 +202007,22 @@ components:
maxLength: 255
type: string
group_type:
- $ref: '#/components/schemas/GroupTypeEnum'
+ $ref: "#/components/schemas/GroupTypeEnum"
filter:
description: A JSON-encoded dictionary of filter parameters defining membership
of this group
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PatchedExportTemplateRequest:
@@ -201549,8 +202071,12 @@ components:
name: name
description: description
file_extension: file_extension
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
template_code: template_code
properties:
+ id:
+ format: uuid
+ type: string
content_type:
type: string
owner_content_type:
@@ -201582,7 +202108,7 @@ components:
type: string
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedExternalIntegrationRequest:
@@ -201593,6 +202119,21 @@ components:
example:
remote_url: https://openapi-generator.tech
headers: ""
+ ca_file_path: ca_file_path
+ custom_fields:
+ key: ""
+ secrets_group:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ timeout: 171976544
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
relationships:
key:
peer:
@@ -201630,18 +202171,14 @@ components:
type: one-to-many
url: https://openapi-generator.tech
http_method: GET
- ca_file_path: ca_file_path
verify_ssl: true
- custom_fields:
- key: ""
name: name
- secrets_group:
- object_type: app_label.modelname
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
extra_config: ""
- timeout: 171976544
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -201663,7 +202200,7 @@ components:
description: Optional user-defined JSON data for this integration
nullable: true
http_method:
- $ref: '#/components/schemas/BulkWritableExternalIntegrationRequest_http_method'
+ $ref: "#/components/schemas/BulkWritableExternalIntegrationRequest_http_method"
headers:
description: Headers for the HTTP request
nullable: true
@@ -201671,14 +202208,18 @@ components:
maxLength: 255
type: string
secrets_group:
- $ref: '#/components/schemas/BulkWritableExternalIntegrationRequest_secrets_group'
+ $ref: "#/components/schemas/BulkWritableExternalIntegrationRequest_secrets_group"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
type: object
PatchedGitRepositoryRequest:
description: Git repositories defined as a data source.
@@ -201730,13 +202271,24 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
branch: branch
slug: slug
current_head: current_head
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
provided_contents:
items:
- $ref: '#/components/schemas/BulkWritableGitRepositoryRequest_provided_contents_inner'
+ $ref: "#/components/schemas/BulkWritableGitRepositoryRequest_provided_contents_inner"
type: array
name:
maxLength: 255
@@ -201765,23 +202317,40 @@ components:
maxLength: 48
type: string
secrets_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
type: object
PatchedGraphQLQueryRequest:
description: |-
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
example:
+ owner_content_type: owner_content_type
+ owner_object_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
query: query
name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
+ owner_content_type:
+ nullable: true
+ type: string
+ owner_object_id:
+ format: uuid
+ nullable: true
+ type: string
name:
maxLength: 255
minLength: 1
@@ -201869,6 +202438,7 @@ components:
object_type: app_label.modelname
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
tenant:
object_type: app_label.modelname
id: null
@@ -201882,13 +202452,16 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
address:
minLength: 1
type: string
namespace:
- $ref: '#/components/schemas/BulkWritableIPAddressRequest_namespace'
+ $ref: "#/components/schemas/BulkWritableIPAddressRequest_namespace"
type:
- $ref: '#/components/schemas/IPAddressTypeChoices'
+ $ref: "#/components/schemas/IPAddressTypeChoices"
dns_name:
description: Hostname or FQDN (not case-sensitive)
maxLength: 255
@@ -201898,25 +202471,25 @@ components:
maxLength: 255
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
parent:
- $ref: '#/components/schemas/BulkWritableIPAddressRequest_parent'
+ $ref: "#/components/schemas/BulkWritableIPAddressRequest_parent"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
nat_inside:
- $ref: '#/components/schemas/NAT__Inside_'
+ $ref: "#/components/schemas/NAT__Inside_"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedIPAddressToInterfaceRequest:
@@ -201932,6 +202505,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
ip_address:
object_type: app_label.modelname
id: null
@@ -201944,6 +202518,9 @@ components:
is_standby: true
is_destination: true
properties:
+ id:
+ format: uuid
+ type: string
is_source:
description: Is source address on interface
type: boolean
@@ -201966,11 +202543,11 @@ components:
description: Is standby address on interface
type: boolean
ip_address:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
interface:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
vm_interface:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
type: object
PatchedImageAttachmentRequest:
description: |-
@@ -201981,9 +202558,13 @@ components:
image_height: 2624
content_type: content_type
name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
image_width: 19750
object_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
content_type:
type: string
object_id:
@@ -202011,20 +202592,47 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
priority: 2624
interface:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
priority:
maximum: 32767
minimum: 0
type: integer
interface_redundancy_group:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ interface:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: object
+ PatchedInterfaceVDCAssignmentRequest:
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ example:
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ interface:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ virtual_device_context:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ virtual_device_context:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
interface:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: object
PatchedInventoryItemRequest:
description: Add a `tree_depth` field to non-nested model serializers based
@@ -202096,6 +202704,7 @@ components:
url: https://openapi-generator.tech
serial: serial
name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
part_id: part_id
software_version:
object_type: app_label.modelname
@@ -202106,6 +202715,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -202134,29 +202746,29 @@ components:
description: This item was automatically discovered
type: boolean
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
device:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
manufacturer:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
software_version:
- $ref: '#/components/schemas/BulkWritableInventoryItemRequest_software_version'
+ $ref: "#/components/schemas/BulkWritableInventoryItemRequest_software_version"
software_image_files:
description: Override the software image files associated with the software
version for this inventory item
items:
- $ref: '#/components/schemas/Software_Image_Files'
+ $ref: "#/components/schemas/Software_Image_Files"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PatchedJobButtonRequest:
@@ -202171,6 +202783,7 @@ components:
content_types:
- content_types
- content_types
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
text: text
confirmation: true
job:
@@ -202179,6 +202792,9 @@ components:
url: https://openapi-generator.tech
enabled: true
properties:
+ id:
+ format: uuid
+ type: string
content_types:
items:
type: string
@@ -202207,14 +202823,14 @@ components:
maxLength: 255
type: string
button_class:
- $ref: '#/components/schemas/ButtonClassEnum'
+ $ref: "#/components/schemas/ButtonClassEnum"
confirmation:
description: "Enable confirmation pop-up box. WARNING:\
\ unselecting this option will allow the Job to run (and commit changes)\
\ with a single click!"
type: boolean
job:
- $ref: '#/components/schemas/BulkWritableJobButtonRequest_job'
+ $ref: "#/components/schemas/BulkWritableJobButtonRequest_job"
type: object
PatchedJobHookRequest:
description: |-
@@ -202267,12 +202883,16 @@ components:
content_types:
- content_types
- content_types
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
job:
object_type: app_label.modelname
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
url: https://openapi-generator.tech
enabled: true
properties:
+ id:
+ format: uuid
+ type: string
content_types:
items:
type: string
@@ -202293,37 +202913,90 @@ components:
description: Call this job hook when a matching object is updated.
type: boolean
job:
- $ref: '#/components/schemas/BulkWritableJobHookRequest_job'
+ $ref: "#/components/schemas/BulkWritableJobHookRequest_job"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
- PatchedJobRequest:
+ PatchedJobQueueAssignmentRequest:
+ description: |-
+ Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
+ validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
+ example:
+ job_queue:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ job:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ job:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ job_queue:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: object
+ PatchedJobQueueRequest:
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
example:
- grouping_override: true
- hidden: true
- dryrun_default: true
- soft_time_limit: 0.08008281904610115
- time_limit: 0.6027456183070403
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ queue_type: celery
custom_fields:
key: ""
- approval_required: true
- has_sensitive_variables: true
- task_queues: ""
+ name: name
description: description
- dryrun_default_override: true
- approval_required_override: true
- grouping: grouping
- enabled: true
- has_sensitive_variables_override: true
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ tenant:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
tags:
- object_type: app_label.modelname
id: null
@@ -202331,6 +203004,49 @@ components:
- object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ name:
+ maxLength: 255
+ minLength: 1
+ type: string
+ description:
+ maxLength: 255
+ type: string
+ queue_type:
+ $ref: "#/components/schemas/QueueTypeEnum"
+ tenant:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ type: object
+ PatchedJobRequest:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ grouping_override: true
+ hidden: true
+ time_limit: 0.6027456183070403
+ default_job_queue_override: true
+ has_sensitive_variables: true
+ description: description
+ dryrun_default_override: true
+ approval_required_override: true
+ enabled: true
+ has_sensitive_variables_override: true
relationships:
key:
peer:
@@ -202367,14 +203083,37 @@ components:
label: label
type: one-to-many
url: https://openapi-generator.tech
+ soft_time_limit_override: true
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ time_limit_override: true
+ dryrun_default: true
+ soft_time_limit: 0.08008281904610115
+ job_queues_override: true
+ custom_fields:
+ key: ""
+ approval_required: true
+ default_job_queue:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ grouping: grouping
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
name_override: true
hidden_override: true
- task_queues_override: true
+ is_singleton: true
name: name
- soft_time_limit_override: true
description_override: true
- time_limit_override: true
+ is_singleton_override: true
properties:
+ id:
+ format: uuid
+ type: string
grouping:
description: Human-readable grouping that this job belongs to
maxLength: 255
@@ -202394,6 +203133,10 @@ components:
has_sensitive_variables:
description: Whether this job contains sensitive variables
type: boolean
+ is_singleton:
+ description: Whether this job should fail to run if another instance of
+ this job is already running
+ type: boolean
approval_required:
description: Whether the job requires approval from another user before
running
@@ -202417,9 +203160,6 @@ components:
format: double
minimum: 0
type: number
- task_queues:
- description: Comma separated list of task queues that this job can run on.
- A blank list will use the default queue
grouping_override:
description: "If set, the configured grouping will remain even if the underlying\
\ Job source code changes"
@@ -202456,20 +203196,30 @@ components:
description: "If set, the configured value will remain even if the underlying\
\ Job source code changes"
type: boolean
- task_queues_override:
+ job_queues_override:
+ description: "If set, the configured value will remain even if the underlying\
+ \ Job source code changes"
+ type: boolean
+ default_job_queue_override:
+ description: "If set, the configured value will remain even if the underlying\
+ \ Job source code changes"
+ type: boolean
+ is_singleton_override:
description: "If set, the configured value will remain even if the underlying\
\ Job source code changes"
type: boolean
+ default_job_queue:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedLocationRequest:
@@ -202538,6 +203288,7 @@ components:
type: one-to-many
url: https://openapi-generator.tech
name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
shipping_address: shipping_address
facility: facility
asn: 343953089
@@ -202551,6 +203302,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
time_zone:
minLength: 1
nullable: true
@@ -202603,23 +203357,23 @@ components:
comments:
type: string
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
location_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PatchedLocationTypeRequest:
@@ -202674,7 +203428,11 @@ components:
content_types:
- content_types
- content_types
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
content_types:
items:
type: string
@@ -202691,13 +203449,13 @@ components:
Locations of this same type
type: boolean
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedManufacturerRequest:
@@ -202746,7 +203504,11 @@ components:
key: ""
name: name
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -202759,7 +203521,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedMetadataChoiceRequest:
@@ -202772,8 +203534,12 @@ components:
id: null
url: https://openapi-generator.tech
weight: 2624
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
value: value
properties:
+ id:
+ format: uuid
+ type: string
value:
maxLength: 255
minLength: 1
@@ -202784,7 +203550,7 @@ components:
minimum: 0
type: integer
metadata_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: object
PatchedMetadataTypeRequest:
description: |-
@@ -202836,7 +203602,18 @@ components:
content_types:
- content_types
- content_types
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
content_types:
items:
type: string
@@ -202850,15 +203627,19 @@ components:
type: string
data_type:
allOf:
- - $ref: '#/components/schemas/DataTypeEnum'
+ - $ref: "#/components/schemas/DataTypeEnum"
description: The type of data allowed for any Metadata of this type.
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
type: object
PatchedModuleBayRequest:
description: |-
@@ -202902,7 +203683,121 @@ components:
label: label
type: one-to-many
url: https://openapi-generator.tech
- parent_device:
+ module_family:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ parent_device:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ name: name
+ description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ position: position
+ label: label
+ requires_first_party_modules: true
+ parent_module:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ requires_first_party_modules:
+ description: This bay will only accept modules from the same manufacturer
+ as the parent device or module
+ type: boolean
+ name:
+ maxLength: 255
+ minLength: 1
+ type: string
+ position:
+ description: The position of the module bay within the parent device/module
+ maxLength: 255
+ type: string
+ label:
+ description: Physical label
+ maxLength: 255
+ type: string
+ description:
+ maxLength: 255
+ type: string
+ parent_device:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ parent_module:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ module_family:
+ $ref: "#/components/schemas/BulkWritableModuleBayRequest_module_family"
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ type: object
+ PatchedModuleBayTemplateRequest:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ module_family:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ module_type:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
@@ -202910,26 +203805,24 @@ components:
key: ""
name: name
description: description
- position: position
- label: label
- parent_module:
+ device_type:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- tags:
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ position: position
+ label: label
+ requires_first_party_modules: true
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
type: string
position:
- description: The position of the module bay within the parent device/module
+ description: The position of the module bay within the device or module
maxLength: 255
type: string
label:
@@ -202939,27 +203832,26 @@ components:
description:
maxLength: 255
type: string
- parent_device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
- parent_module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ requires_first_party_modules:
+ description: This bay will only accept modules from the same manufacturer
+ as the parent device or module
+ type: boolean
+ device_type:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ module_type:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ module_family:
+ $ref: "#/components/schemas/BulkWritableModuleBayTemplateRequest_module_family"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
- tags:
- items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
- type: array
type: object
- PatchedModuleBayTemplateRequest:
- description: |-
- Base class to use for serializers based on OrganizationalModel or PrimaryModel.
-
- Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ PatchedModuleFamilyRequest:
+ description: API serializer for ModuleFamily objects.
example:
relationships:
key:
@@ -202997,46 +203889,28 @@ components:
label: label
type: one-to-many
url: https://openapi-generator.tech
- module_type:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
custom_fields:
key: ""
name: name
description: description
- device_type:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- position: position
- label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
type: string
- position:
- description: The position of the module bay within the device or module
- maxLength: 255
- type: string
- label:
- description: Physical label
- maxLength: 255
- type: string
description:
maxLength: 255
type: string
- device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
- module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedModuleRequest:
@@ -203101,6 +203975,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
tenant:
object_type: app_label.modelname
id: null
@@ -203117,6 +203992,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
serial:
maxLength: 255
nullable: true
@@ -203128,27 +204006,27 @@ components:
nullable: true
type: string
module_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
parent_module_bay:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
location:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PatchedModuleTypeRequest:
@@ -203194,10 +204072,15 @@ components:
type: one-to-many
url: https://openapi-generator.tech
comments: comments
+ module_family:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
custom_fields:
key: ""
part_number: part_number
model: model
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
manufacturer:
object_type: app_label.modelname
id: null
@@ -203210,6 +204093,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
model:
maxLength: 255
minLength: 1
@@ -203221,17 +204107,19 @@ components:
comments:
type: string
manufacturer:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ module_family:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PatchedNamespaceRequest:
@@ -203284,6 +204172,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
tags:
- object_type: app_label.modelname
id: null
@@ -203292,6 +204181,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -203300,17 +204192,17 @@ components:
maxLength: 255
type: string
location:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedNoteRequest:
@@ -203331,12 +204223,16 @@ components:
example:
note: note
assigned_object_type: assigned_object_type
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
assigned_object_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
user:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
assigned_object_type:
type: string
assigned_object_id:
@@ -203346,7 +204242,7 @@ components:
minLength: 1
type: string
user:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
type: object
PatchedObjectMetadataRequest:
description: |-
@@ -203362,6 +204258,7 @@ components:
id: null
url: https://openapi-generator.tech
assigned_object_type: assigned_object_type
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
team:
object_type: app_label.modelname
id: null
@@ -203370,6 +204267,9 @@ components:
value: ""
assigned_object_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
assigned_object_type:
type: string
value:
@@ -203380,11 +204280,11 @@ components:
format: uuid
type: string
metadata_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
contact:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
team:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
type: object
PatchedObjectPermissionRequest:
description: |-
@@ -203403,6 +204303,7 @@ components:
- object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
actions: ""
constraints: ""
enabled: true
@@ -203414,6 +204315,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
object_types:
items:
type: string
@@ -203435,11 +204339,11 @@ components:
nullable: true
groups:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
users:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PatchedPlatformRequest:
@@ -203491,11 +204395,15 @@ components:
name: name
napalm_driver: napalm_driver
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
manufacturer:
object_type: app_label.modelname
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -203520,96 +204428,15 @@ components:
maxLength: 255
type: string
manufacturer:
- $ref: '#/components/schemas/BulkWritablePlatformRequest_manufacturer'
+ $ref: "#/components/schemas/BulkWritablePlatformRequest_manufacturer"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
- PatchedPowerPanelRequest:
- description: |-
- Base class to use for serializers based on OrganizationalModel or PrimaryModel.
-
- Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
- example:
- relationships:
- key:
- peer:
- object_type: dcim.site
- objects:
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- label: label
- destination:
- object_type: dcim.site
- objects:
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- label: label
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- label: label
- source:
- object_type: dcim.site
- objects:
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- label: label
- type: one-to-many
- url: https://openapi-generator.tech
- custom_fields:
- key: ""
- name: name
- rack_group:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- location:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- tags:
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- properties:
- name:
- maxLength: 255
- minLength: 1
- type: string
- location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
- rack_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
- custom_fields:
- additionalProperties: {}
- type: object
- relationships:
- additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
- type: object
- tags:
- items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
- type: array
- type: object
PatchedPrefixLocationAssignmentRequest:
description: |-
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
@@ -203623,11 +204450,15 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
prefix:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: object
PatchedProviderNetworkRequest:
description: |-
@@ -203680,6 +204511,7 @@ components:
key: ""
name: name
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
tags:
- object_type: app_label.modelname
id: null
@@ -203688,6 +204520,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -203698,17 +204533,17 @@ components:
comments:
type: string
provider:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedProviderRequest:
@@ -203760,6 +204595,7 @@ components:
name: name
admin_contact: admin_contact
noc_contact: noc_contact
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
asn: 343953089
account: account
tags:
@@ -203770,6 +204606,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -203797,14 +204636,14 @@ components:
type: string
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedRIRRequest:
@@ -203854,7 +204693,11 @@ components:
key: ""
name: name
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -203871,7 +204714,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedRackGroupRequest:
@@ -203926,7 +204769,11 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -203935,15 +204782,15 @@ components:
maxLength: 255
type: string
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedRackReservationRequest:
@@ -203988,23 +204835,123 @@ components:
label: label
type: one-to-many
url: https://openapi-generator.tech
- rack:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- custom_fields:
- key: ""
- description: description
- units: ""
- user:
- object_type: app_label.modelname
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- tenant:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- tags:
+ rack:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ units: ""
+ user:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ tenant:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ units:
+ description: List of rack unit numbers to reserve
+ description:
+ maxLength: 255
+ minLength: 1
+ type: string
+ rack:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ tenant:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ user:
+ $ref: "#/components/schemas/BulkWritableRackReservationRequest_user"
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ type: object
+ PatchedRadioProfileRequest:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ tx_power_min: -1517921766
+ custom_fields:
+ key: ""
+ rx_power_min: 273751188
+ channel_width:
+ - 0
+ - 0
+ frequency: 2.4GHz
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ tx_power_max: 413233370
+ name: name
+ regulatory_domain: AD
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ allowed_channel_list:
+ - 6
+ - 6
+ supported_data_rates:
- object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
@@ -204012,28 +204959,57 @@ components:
id: null
url: https://openapi-generator.tech
properties:
- units:
- description: List of rack unit numbers to reserve
- description:
+ id:
+ format: uuid
+ type: string
+ channel_width:
+ items:
+ $ref: "#/components/schemas/ChannelWidthEnum"
+ type: array
+ allowed_channel_list:
+ items:
+ type: integer
+ type: array
+ name:
maxLength: 255
minLength: 1
type: string
- rack:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
- tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
- user:
- $ref: '#/components/schemas/BulkWritableRackReservationRequest_user'
+ frequency:
+ $ref: "#/components/schemas/BulkWritableRadioProfileRequest_frequency"
+ tx_power_min:
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Transmit Power Minimum
+ type: integer
+ tx_power_max:
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Transmit Power Maximum
+ type: integer
+ regulatory_domain:
+ $ref: "#/components/schemas/RegulatoryDomainEnum"
+ rx_power_min:
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Receive Power Minimum
+ type: integer
+ supported_data_rates:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PatchedRelationshipAssociationRequest:
@@ -204044,12 +205020,16 @@ components:
destination_type: destination_type
destination_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
source_type: source_type
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
source_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
relationship:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
source_type:
type: string
destination_type:
@@ -204061,7 +205041,7 @@ components:
format: uuid
type: string
relationship:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: object
PatchedRelationshipRequest:
description: |-
@@ -204079,10 +205059,14 @@ components:
destination_type: destination_type
destination_label: destination_label
source_label: source_label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
required_on: source
key: key
source_filter: ""
properties:
+ id:
+ format: uuid
+ type: string
source_type:
type: string
destination_type:
@@ -204103,10 +205087,10 @@ components:
type: string
type:
allOf:
- - $ref: '#/components/schemas/RelationshipTypeChoices'
+ - $ref: "#/components/schemas/RelationshipTypeChoices"
description: Cardinality of this relationship
required_on:
- $ref: '#/components/schemas/BulkWritableRelationshipRequest_required_on'
+ $ref: "#/components/schemas/BulkWritableRelationshipRequest_required_on"
source_label:
description: "Label for related destination objects, as displayed on the\
\ source object."
@@ -204187,7 +205171,11 @@ components:
content_types:
- content_types
- content_types
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
content_types:
items:
type: string
@@ -204215,7 +205203,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedRouteTargetRequest:
@@ -204264,6 +205252,7 @@ components:
key: ""
name: name
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
tenant:
object_type: app_label.modelname
id: null
@@ -204276,6 +205265,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
description: Route target value (formatted in accordance with RFC 4360)
maxLength: 21
@@ -204285,17 +205277,17 @@ components:
maxLength: 255
type: string
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedSavedViewRequest:
@@ -204311,8 +205303,12 @@ components:
view: view
is_shared: true
name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
config: ""
properties:
+ id:
+ format: uuid
+ type: string
name:
description: The name of this view
maxLength: 255
@@ -204331,7 +205327,7 @@ components:
is_shared:
type: boolean
owner:
- $ref: '#/components/schemas/BulkWritableSavedViewRequest_owner'
+ $ref: "#/components/schemas/BulkWritableSavedViewRequest_owner"
type: object
PatchedSecretRequest:
description: Serializer for `Secret` objects.
@@ -204377,6 +205373,7 @@ components:
key: ""
name: name
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
parameters: ""
tags:
- object_type: app_label.modelname
@@ -204386,6 +205383,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -204400,38 +205400,42 @@ components:
parameters: {}
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedSecretsGroupAssociationRequest:
description: Serializer for `SecretsGroupAssociation` objects.
example:
access_type: Generic
- secret_type: key
+ secret_type: authentication-key
secrets_group:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
secret:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
access_type:
- $ref: '#/components/schemas/AccessTypeEnum'
+ $ref: "#/components/schemas/AccessTypeEnum"
secret_type:
- $ref: '#/components/schemas/SecretTypeEnum'
+ $ref: "#/components/schemas/SecretTypeEnum"
secrets_group:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
secret:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: object
PatchedSecretsGroupRequest:
description: Serializer for `SecretsGroup` objects.
@@ -204476,7 +205480,11 @@ components:
key: ""
name: name
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -204489,7 +205497,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedSoftwareImageFileRequest:
@@ -204498,6 +205506,15 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
example:
+ custom_fields:
+ key: ""
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
image_file_checksum: image_file_checksum
relationships:
key:
@@ -204536,28 +205553,27 @@ components:
type: one-to-many
url: https://openapi-generator.tech
image_file_size: 738633633822310400
- custom_fields:
- key: ""
download_url: https://openapi-generator.tech
image_file_name: image_file_name
default_image: true
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
software_version:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- hashing_algorithm: md5
- status:
+ external_integration:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- tags:
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- - object_type: app_label.modelname
+ hashing_algorithm: md5
+ status:
+ object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
image_file_name:
maxLength: 255
minLength: 1
@@ -204566,7 +205582,7 @@ components:
maxLength: 256
type: string
hashing_algorithm:
- $ref: '#/components/schemas/BulkWritableSoftwareImageFileRequest_hashing_algorithm'
+ $ref: "#/components/schemas/BulkWritableSoftwareImageFileRequest_hashing_algorithm"
image_file_size:
description: Image file size in bytes
format: int64
@@ -204582,19 +205598,21 @@ components:
description: Is the default image for this software version
type: boolean
software_version:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ external_integration:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PatchedSoftwareVersionRequest:
@@ -204604,6 +205622,22 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
example:
long_term_support: true
+ custom_fields:
+ key: ""
+ end_of_support_date: 2000-01-23
+ documentation_url: https://openapi-generator.tech
+ version: version
+ platform:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
relationships:
key:
peer:
@@ -204641,29 +205675,17 @@ components:
type: one-to-many
url: https://openapi-generator.tech
release_date: 2000-01-23
- custom_fields:
- key: ""
pre_release: true
alias: alias
- end_of_support_date: 2000-01-23
- documentation_url: https://openapi-generator.tech
- version: version
- platform:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
status:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- tags:
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
version:
maxLength: 255
minLength: 1
@@ -204691,19 +205713,19 @@ components:
description: Is a Pre-Release version
type: boolean
platform:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PatchedStaticGroupAssociationRequest:
@@ -204751,25 +205773,29 @@ components:
custom_fields:
key: ""
associated_object_type: associated_object_type
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
dynamic_group:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
associated_object_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
associated_object_type:
type: string
associated_object_id:
format: uuid
type: string
dynamic_group:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedStatusRequest:
@@ -204819,83 +205845,178 @@ components:
content_types:
- content_types
- content_types
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ properties:
+ id:
+ format: uuid
+ type: string
+ content_types:
+ items:
+ type: string
+ type: array
+ name:
+ maxLength: 255
+ minLength: 1
+ type: string
+ color:
+ description: RGB color in hexadecimal (e.g. 00ff00)
+ maxLength: 6
+ minLength: 1
+ pattern: "^[0-9a-f]{6}$"
+ type: string
+ description:
+ maxLength: 255
+ type: string
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ type: object
+ PatchedSupportedDataRateRequest:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ standard: 802.11a
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ rate: 171976544
+ custom_fields:
+ key: ""
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ mcs_index: 441289069
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ standard:
+ $ref: "#/components/schemas/StandardEnum"
+ rate:
+ maximum: 2147483647
+ minimum: 0
+ title: Rate (Kbps)
+ type: integer
+ mcs_index:
+ description: "The Modulation and Coding Scheme (MCS) index is a value used\
+ \ in wireless communications to define the modulation type, coding rate,\
+ \ and number of spatial streams used in a transmission."
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Modulation and Coding Scheme (MCS) Index
+ type: integer
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ type: object
+ PatchedTagRequest:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ color: color
+ custom_fields:
+ key: ""
+ name: name
+ description: description
+ content_types:
+ - content_types
+ - content_types
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
- content_types:
- items:
- type: string
- type: array
- name:
- maxLength: 255
- minLength: 1
- type: string
- color:
- description: RGB color in hexadecimal (e.g. 00ff00)
- maxLength: 6
- minLength: 1
- pattern: "^[0-9a-f]{6}$"
- type: string
- description:
- maxLength: 255
+ id:
+ format: uuid
type: string
- custom_fields:
- additionalProperties: {}
- type: object
- relationships:
- additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
- type: object
- type: object
- PatchedTagRequest:
- description: |-
- Base class to use for serializers based on OrganizationalModel or PrimaryModel.
-
- Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
- example:
- relationships:
- key:
- peer:
- object_type: dcim.site
- objects:
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- label: label
- destination:
- object_type: dcim.site
- objects:
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- label: label
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- label: label
- source:
- object_type: dcim.site
- objects:
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- label: label
- type: one-to-many
- url: https://openapi-generator.tech
- color: color
- custom_fields:
- key: ""
- name: name
- description: description
- content_types:
- - content_types
- - content_types
- properties:
content_types:
items:
type: string
@@ -204918,7 +206039,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedTeamRequest:
@@ -204969,6 +206090,8 @@ components:
custom_fields:
key: ""
name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ email: ""
contacts:
- object_type: app_label.modelname
id: null
@@ -204976,12 +206099,17 @@ components:
- object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- email: ""
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
properties:
- contacts:
- items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
- type: array
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -204992,7 +206120,6 @@ components:
type: string
email:
default: ""
- format: email
maxLength: 254
title: E-mail
type: string
@@ -205000,13 +206127,21 @@ components:
type: string
comments:
type: string
+ contacts:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
type: object
PatchedTenantGroupRequest:
description: |-
@@ -205058,7 +206193,11 @@ components:
key: ""
name: name
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -205067,13 +206206,13 @@ components:
maxLength: 255
type: string
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedTenantRequest:
@@ -205123,6 +206262,7 @@ components:
key: ""
name: name
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
tenant_group:
object_type: app_label.modelname
id: null
@@ -205135,6 +206275,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -205145,17 +206288,17 @@ components:
comments:
type: string
tenant_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedTokenRequest:
@@ -205166,8 +206309,12 @@ components:
expires: 2000-01-23T04:56:07.000+00:00
write_enabled: true
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
key: key
properties:
+ id:
+ format: uuid
+ type: string
key:
maxLength: 40
minLength: 40
@@ -205188,7 +206335,6 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
example:
- password: password
is_superuser: true
is_active: true
is_staff: true
@@ -205202,11 +206348,16 @@ components:
- object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ password: password
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
date_joined: 2000-01-23T04:56:07.000+00:00
first_name: first_name
email: email
username: username
properties:
+ id:
+ format: uuid
+ type: string
password:
maxLength: 128
minLength: 1
@@ -205257,7 +206408,7 @@ components:
description: The groups this user belongs to. A user will get all permissions
granted to each of their groups.
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PatchedUserSavedViewAssociationRequest:
@@ -205265,6 +206416,7 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
example:
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
user:
object_type: app_label.modelname
id: null
@@ -205275,14 +206427,17 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
view_name:
maxLength: 255
minLength: 1
type: string
saved_view:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
user:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: object
PatchedVLANGroupRequest:
description: |-
@@ -205330,11 +206485,23 @@ components:
key: ""
name: name
description: description
+ range: range
location:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -205342,14 +206509,23 @@ components:
description:
maxLength: 255
type: string
+ range:
+ description: "Permitted VID range(s) as comma-separated list, default '1-4094'\
+ \ if left blank."
+ minLength: 1
+ type: string
location:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedVLANLocationAssignmentRequest:
@@ -205365,11 +206541,15 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
vlan:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: object
PatchedVLANRequest:
description: |-
@@ -205430,6 +206610,7 @@ components:
object_type: app_label.modelname
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
tenant:
object_type: app_label.modelname
id: null
@@ -205446,8 +206627,11 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
location:
- $ref: '#/components/schemas/BulkWritablePrefixRequest_location'
+ $ref: "#/components/schemas/BulkWritablePrefixRequest_location"
vid:
maximum: 4094
minimum: 1
@@ -205461,23 +206645,23 @@ components:
maxLength: 255
type: string
vlan_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedVRFDeviceAssignmentRequest:
@@ -205491,6 +206675,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
vrf:
object_type: app_label.modelname
id: null
@@ -205499,7 +206684,14 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ virtual_device_context:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
rd:
description: Unique route distinguisher (as defined in RFC 4364)
maxLength: 21
@@ -205510,11 +206702,13 @@ components:
maxLength: 255
type: string
vrf:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
virtual_machine:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ virtual_device_context:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
type: object
PatchedVRFPrefixAssignmentRequest:
description: |-
@@ -205525,15 +206719,19 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
vrf:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
vrf:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
prefix:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: object
PatchedVRFRequest:
description: |-
@@ -205600,6 +206798,7 @@ components:
id: null
url: https://openapi-generator.tech
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
tenant:
object_type: app_label.modelname
id: null
@@ -205616,6 +206815,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -205630,29 +206832,29 @@ components:
maxLength: 255
type: string
status:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
namespace:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
import_targets:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
export_targets:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedVirtualChassisRequest:
@@ -205701,6 +206903,7 @@ components:
key: ""
domain: domain
name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
master:
object_type: app_label.modelname
id: null
@@ -205713,6 +206916,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -205721,17 +206927,138 @@ components:
maxLength: 255
type: string
master:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ type: object
+ PatchedVirtualDeviceContextRequest:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ identifier: 2624
+ role:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ description: description
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ device:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ primary_ip6:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ tenant:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ status:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ primary_ip4:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ name:
+ maxLength: 255
+ minLength: 1
+ type: string
+ identifier:
+ description: "Unique identifier provided by the platform being virtualized\
+ \ (Example: Nexus VDC Identifier)"
+ maximum: 32767
+ minimum: 0
+ nullable: true
+ type: integer
+ description:
+ maxLength: 255
+ type: string
+ device:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ status:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ role:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ primary_ip4:
+ $ref: "#/components/schemas/Primary_IPv4"
+ primary_ip6:
+ $ref: "#/components/schemas/Primary_IPv6"
+ tenant:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PatchedVirtualMachineRequest:
@@ -205819,6 +207146,7 @@ components:
object_type: app_label.modelname
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
software_version:
object_type: app_label.modelname
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
@@ -205840,6 +207168,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
local_config_context_data:
nullable: true
local_config_context_data_owner_object_id:
@@ -205870,41 +207201,41 @@ components:
comments:
type: string
local_config_context_schema:
- $ref: '#/components/schemas/BulkWritableConfigContextRequest_config_context_schema'
+ $ref: "#/components/schemas/BulkWritableConfigContextRequest_config_context_schema"
local_config_context_data_owner_content_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
cluster:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
platform:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
primary_ip4:
- $ref: '#/components/schemas/Primary_IPv4'
+ $ref: "#/components/schemas/Primary_IPv4"
primary_ip6:
- $ref: '#/components/schemas/Primary_IPv6'
+ $ref: "#/components/schemas/Primary_IPv6"
software_version:
- $ref: '#/components/schemas/BulkWritableVirtualMachineRequest_software_version'
+ $ref: "#/components/schemas/BulkWritableVirtualMachineRequest_software_version"
software_image_files:
description: Override the software image files associated with the software
version for this virtual machine
items:
- $ref: '#/components/schemas/Software_Image_Files'
+ $ref: "#/components/schemas/Software_Image_Files"
type: array
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedWebhookRequest:
@@ -205927,8 +207258,12 @@ components:
content_types:
- content_types
- content_types
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
payload_url: payload_url
properties:
+ id:
+ format: uuid
+ type: string
content_types:
items:
type: string
@@ -205955,7 +207290,7 @@ components:
enabled:
type: boolean
http_method:
- $ref: '#/components/schemas/HttpMethodEnum'
+ $ref: "#/components/schemas/HttpMethodEnum"
http_content_type:
description: The complete list of official content types is available here.
@@ -205989,6 +207324,112 @@ components:
maxLength: 4096
type: string
type: object
+ PatchedWirelessNetworkRequest:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ hidden: true
+ custom_fields:
+ key: ""
+ description: description
+ secrets_group:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ ssid: ssid
+ enabled: true
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ mode: Central
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ tenant:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ authentication: Open
+ properties:
+ id:
+ format: uuid
+ type: string
+ name:
+ maxLength: 255
+ minLength: 1
+ type: string
+ description:
+ maxLength: 255
+ type: string
+ ssid:
+ maxLength: 255
+ minLength: 1
+ type: string
+ mode:
+ $ref: "#/components/schemas/WirelessNetworkModeChoices"
+ enabled:
+ type: boolean
+ authentication:
+ $ref: "#/components/schemas/AuthenticationEnum"
+ hidden:
+ type: boolean
+ secrets_group:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ tenant:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ type: object
PatchedWritableCableRequest:
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
@@ -206049,11 +207490,15 @@ components:
type: one-to-many
url: https://openapi-generator.tech
termination_a_type: termination_a_type
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
status:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
termination_a_type:
type: string
termination_b_type:
@@ -206065,7 +207510,7 @@ components:
format: uuid
type: string
type:
- $ref: '#/components/schemas/PatchedWritableCableRequest_type'
+ $ref: "#/components/schemas/PatchedWritableCableRequest_type"
label:
maxLength: 255
type: string
@@ -206080,19 +207525,19 @@ components:
nullable: true
type: integer
length_unit:
- $ref: '#/components/schemas/PatchedWritableCableRequest_length_unit'
+ $ref: "#/components/schemas/PatchedWritableCableRequest_length_unit"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PatchedWritableConsolePortRequest:
@@ -206145,6 +207590,7 @@ components:
url: https://openapi-generator.tech
name: name
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
label: label
type: de-9
device:
@@ -206159,6 +207605,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -206171,21 +207620,21 @@ components:
maxLength: 255
type: string
type:
- $ref: '#/components/schemas/PatchedWritableConsolePortRequest_type'
+ $ref: "#/components/schemas/PatchedWritableConsolePortRequest_type"
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PatchedWritableConsolePortTemplateRequest:
@@ -206242,9 +207691,13 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
label: label
type: de-9
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -206257,17 +207710,17 @@ components:
maxLength: 255
type: string
type:
- $ref: '#/components/schemas/PatchedWritableConsolePortTemplateRequest_type'
+ $ref: "#/components/schemas/PatchedWritableConsolePortTemplateRequest_type"
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedWritableConsoleServerPortRequest:
@@ -206320,6 +207773,7 @@ components:
url: https://openapi-generator.tech
name: name
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
label: label
type: de-9
device:
@@ -206334,6 +207788,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -206346,21 +207803,21 @@ components:
maxLength: 255
type: string
type:
- $ref: '#/components/schemas/PatchedWritableConsolePortRequest_type'
+ $ref: "#/components/schemas/PatchedWritableConsolePortRequest_type"
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PatchedWritableConsoleServerPortTemplateRequest:
@@ -206417,9 +207874,13 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
label: label
type: de-9
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -206432,17 +207893,17 @@ components:
maxLength: 255
type: string
type:
- $ref: '#/components/schemas/PatchedWritableConsolePortTemplateRequest_type'
+ $ref: "#/components/schemas/PatchedWritableConsolePortTemplateRequest_type"
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedWritableCustomFieldRequest:
@@ -206464,9 +207925,13 @@ components:
content_types:
- content_types
- content_types
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
validation_maximum: -6519424345728851968
key: key
properties:
+ id:
+ format: uuid
+ type: string
content_types:
items:
type: string
@@ -206481,7 +207946,7 @@ components:
type: string
type:
allOf:
- - $ref: '#/components/schemas/CustomFieldTypeChoices'
+ - $ref: "#/components/schemas/CustomFieldTypeChoices"
description: The type of value(s) allowed for this field.
key:
description: Internal field name. Please use underscores rather than dashes
@@ -206499,7 +207964,7 @@ components:
type: boolean
filter_logic:
allOf:
- - $ref: '#/components/schemas/FilterLogicEnum'
+ - $ref: "#/components/schemas/FilterLogicEnum"
description: Loose matches any instance of a given string; Exact matches
the entire field.
default:
@@ -206590,12 +208055,13 @@ components:
custom_fields:
key: ""
name: name
- failover_strategy: active-active
+ failover_strategy: ""
description: description
secrets_group:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
status:
object_type: app_label.modelname
id: null
@@ -206608,6 +208074,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -206616,23 +208085,23 @@ components:
maxLength: 255
type: string
failover_strategy:
- $ref: '#/components/schemas/BulkWritableDeviceRedundancyGroupRequest_failover_strategy'
+ $ref: "#/components/schemas/BulkWritableDeviceRedundancyGroupRequest_failover_strategy"
comments:
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
secrets_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PatchedWritableDeviceRequest:
@@ -206703,6 +208172,7 @@ components:
object_type: app_label.modelname
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
software_version:
object_type: app_label.modelname
id: null
@@ -206777,6 +208247,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
local_config_context_data:
nullable: true
local_config_context_data_owner_object_id:
@@ -206804,7 +208277,7 @@ components:
title: Position (U)
type: integer
face:
- $ref: '#/components/schemas/Rack_face'
+ $ref: "#/components/schemas/Rack_face"
device_redundancy_group_priority:
description: The priority the device has in the device redundancy group.
maximum: 32767
@@ -206826,58 +208299,58 @@ components:
comments:
type: string
local_config_context_schema:
- $ref: '#/components/schemas/BulkWritableConfigContextRequest_config_context_schema'
+ $ref: "#/components/schemas/BulkWritableConfigContextRequest_config_context_schema"
local_config_context_data_owner_content_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
device_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
platform:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
rack:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
primary_ip4:
- $ref: '#/components/schemas/Primary_IPv4'
+ $ref: "#/components/schemas/Primary_IPv4"
primary_ip6:
- $ref: '#/components/schemas/Primary_IPv6'
+ $ref: "#/components/schemas/Primary_IPv6"
cluster:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
virtual_chassis:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
device_redundancy_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
software_version:
- $ref: '#/components/schemas/BulkWritableDeviceRequest_software_version'
+ $ref: "#/components/schemas/BulkWritableDeviceRequest_software_version"
secrets_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
controller_managed_device_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
software_image_files:
description: Override the software image files associated with the software
version for this device
items:
- $ref: '#/components/schemas/Software_Image_Files'
+ $ref: "#/components/schemas/Software_Image_Files"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
parent_bay:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
type: object
PatchedWritableDeviceTypeRequest:
description: |-
@@ -206946,7 +208419,11 @@ components:
subdevice_role: parent
part_number: part_number
model: model
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
front_image:
format: binary
type: string
@@ -206970,23 +208447,23 @@ components:
description: Device consumes both front and rear rack faces
type: boolean
subdevice_role:
- $ref: '#/components/schemas/Parent_child_status'
+ $ref: "#/components/schemas/Parent_child_status"
comments:
type: string
manufacturer:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
device_family:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PatchedWritableFrontPortRequest:
@@ -207043,6 +208520,7 @@ components:
id: null
url: https://openapi-generator.tech
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
label: label
type: 8p8c
device:
@@ -207058,6 +208536,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -207070,27 +208551,27 @@ components:
maxLength: 255
type: string
type:
- $ref: '#/components/schemas/PortTypeChoices'
+ $ref: "#/components/schemas/PortTypeChoices"
rear_port_position:
maximum: 1024
minimum: 1
type: integer
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
rear_port:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PatchedWritableFrontPortTemplateRequest:
@@ -207151,10 +208632,14 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
label: label
type: 8p8c
rear_port_position: 82
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -207167,23 +208652,23 @@ components:
maxLength: 255
type: string
type:
- $ref: '#/components/schemas/PortTypeChoices'
+ $ref: "#/components/schemas/PortTypeChoices"
rear_port_position:
maximum: 1024
minimum: 1
type: integer
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
rear_port_template:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedWritableInterfaceRedundancyGroupRequest:
@@ -207235,6 +208720,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
status:
object_type: app_label.modelname
id: null
@@ -207251,6 +208737,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -207259,26 +208748,26 @@ components:
maxLength: 255
type: string
protocol:
- $ref: '#/components/schemas/Redundancy_Protocol'
+ $ref: "#/components/schemas/Redundancy_Protocol"
protocol_group_id:
maxLength: 255
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
secrets_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
virtual_ip:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PatchedWritableInterfaceRequest:
@@ -207372,6 +208861,7 @@ components:
url: https://openapi-generator.tech
mac_address: mac_address
name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
bridge:
object_type: app_label.modelname
id: null
@@ -207385,6 +208875,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
mac_address:
nullable: true
type: string
@@ -207407,45 +208900,45 @@ components:
nullable: true
type: integer
mode:
- $ref: '#/components/schemas/PatchedWritableInterfaceRequest_mode'
+ $ref: "#/components/schemas/PatchedWritableInterfaceRequest_mode"
type:
- $ref: '#/components/schemas/InterfaceTypeChoices'
+ $ref: "#/components/schemas/InterfaceTypeChoices"
mgmt_only:
description: This interface is used only for out-of-band management
title: Management only
type: boolean
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
parent_interface:
- $ref: '#/components/schemas/BulkWritableInterfaceRequest_parent_interface'
+ $ref: "#/components/schemas/BulkWritableInterfaceRequest_parent_interface"
bridge:
- $ref: '#/components/schemas/Bridge_interface'
+ $ref: "#/components/schemas/Bridge_interface"
lag:
- $ref: '#/components/schemas/Parent_LAG'
+ $ref: "#/components/schemas/Parent_LAG"
untagged_vlan:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
vrf:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tagged_vlans:
items:
- $ref: '#/components/schemas/Tagged_VLANs'
+ $ref: "#/components/schemas/Tagged_VLANs"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PatchedWritableInterfaceTemplateRequest:
@@ -207502,10 +208995,14 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
label: label
type: virtual
mgmt_only: true
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -207518,20 +209015,20 @@ components:
maxLength: 255
type: string
type:
- $ref: '#/components/schemas/InterfaceTypeChoices'
+ $ref: "#/components/schemas/InterfaceTypeChoices"
mgmt_only:
title: Management only
type: boolean
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedWritablePowerFeedRequest:
@@ -207546,13 +209043,15 @@ components:
id: null
url: https://openapi-generator.tech
comments: comments
+ breaker_position: 1280358508
custom_fields:
key: ""
+ breaker_pole_count: 5
type: primary
supply: ac
power_panel:
object_type: app_label.modelname
- id: null
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
url: https://openapi-generator.tech
voltage: -27519
tags:
@@ -207601,25 +209100,36 @@ components:
amperage: 19750
max_utilization: 15
name: name
+ power_path: a
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
cable:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ destination_panel:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
status:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
type: string
type:
- $ref: '#/components/schemas/PowerFeedTypeChoices'
+ $ref: "#/components/schemas/PowerFeedTypeChoices"
+ power_path:
+ $ref: "#/components/schemas/PatchedWritablePowerFeedRequest_power_path"
supply:
- $ref: '#/components/schemas/SupplyEnum'
+ $ref: "#/components/schemas/SupplyEnum"
phase:
- $ref: '#/components/schemas/PhaseEnum'
+ $ref: "#/components/schemas/PhaseEnum"
voltage:
maximum: 32767
minimum: -32768
@@ -207633,26 +209143,36 @@ components:
maximum: 100
minimum: 1
type: integer
+ breaker_position:
+ description: Starting circuit breaker position in panel
+ maximum: 2147483647
+ minimum: 0
+ nullable: true
+ type: integer
+ breaker_pole_count:
+ $ref: "#/components/schemas/BreakerPoleCountEnum"
comments:
type: string
cable:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
power_panel:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritablePowerFeedRequest_power_panel"
+ destination_panel:
+ $ref: "#/components/schemas/BulkWritablePowerFeedRequest_destination_panel"
rack:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PatchedWritablePowerOutletRequest:
@@ -207706,6 +209226,7 @@ components:
name: name
description: description
feed_leg: A
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
label: label
type: iec-60320-c5
device:
@@ -207724,6 +209245,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -207736,25 +209260,25 @@ components:
maxLength: 255
type: string
type:
- $ref: '#/components/schemas/PatchedWritablePowerOutletRequest_type'
+ $ref: "#/components/schemas/PatchedWritablePowerOutletRequest_type"
feed_leg:
- $ref: '#/components/schemas/PatchedWritablePowerOutletRequest_feed_leg'
+ $ref: "#/components/schemas/PatchedWritablePowerOutletRequest_feed_leg"
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
power_port:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PatchedWritablePowerOutletTemplateRequest:
@@ -207816,9 +209340,13 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
label: label
type: iec-60320-c5
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -207831,22 +209359,120 @@ components:
maxLength: 255
type: string
type:
- $ref: '#/components/schemas/PatchedWritablePowerOutletTemplateRequest_type'
+ $ref: "#/components/schemas/PatchedWritablePowerOutletTemplateRequest_type"
feed_leg:
- $ref: '#/components/schemas/PatchedWritablePowerOutletRequest_feed_leg'
+ $ref: "#/components/schemas/PatchedWritablePowerOutletRequest_feed_leg"
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
power_port_template:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ type: object
+ PatchedWritablePowerPanelRequest:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ panel_type: utility
+ name: name
+ breaker_position_count: 171976544
+ power_path: a
+ rack_group:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ location:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ name:
+ maxLength: 255
+ minLength: 1
+ type: string
+ panel_type:
+ $ref: "#/components/schemas/PatchedWritablePowerPanelRequest_panel_type"
+ breaker_position_count:
+ description: "Total number of breaker positions in the panel (e.g., 42)"
+ maximum: 2147483647
+ minimum: 0
+ nullable: true
+ type: integer
+ power_path:
+ $ref: "#/components/schemas/PatchedWritablePowerFeedRequest_power_path"
+ location:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ rack_group:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
type: object
PatchedWritablePowerPortRequest:
description: |-
@@ -207854,6 +209480,24 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
example:
+ power_factor: power_factor
+ custom_fields:
+ key: ""
+ module:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ description: description
+ label: label
+ type: iec-60320-c6
+ maximum_draw: 2624
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
allocated_draw: 19750
relationships:
key:
@@ -207891,29 +209535,16 @@ components:
label: label
type: one-to-many
url: https://openapi-generator.tech
- custom_fields:
- key: ""
- module:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
name: name
- description: description
- label: label
- type: iec-60320-c6
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
device:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- maximum_draw: 2624
- tags:
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -207926,7 +209557,7 @@ components:
maxLength: 255
type: string
type:
- $ref: '#/components/schemas/PatchedWritablePowerPortRequest_type'
+ $ref: "#/components/schemas/PatchedWritablePowerPortRequest_type"
maximum_draw:
description: Maximum power draw (watts)
maximum: 32767
@@ -207939,20 +209570,26 @@ components:
minimum: 1
nullable: true
type: integer
+ power_factor:
+ description: Power factor (0.01-1.00) for converting between watts (W) and
+ volt-amps (VA). Defaults to 0.95.
+ format: decimal
+ pattern: "^-?\\d{0,2}(?:\\.\\d{0,2})?$"
+ type: string
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PatchedWritablePowerPortTemplateRequest:
@@ -208002,6 +209639,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ power_factor: power_factor
custom_fields:
key: ""
name: name
@@ -208010,10 +209648,14 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
label: label
type: iec-60320-c6
maximum_draw: 2624
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -208026,7 +209668,7 @@ components:
maxLength: 255
type: string
type:
- $ref: '#/components/schemas/PatchedWritablePowerPortTemplateRequest_type'
+ $ref: "#/components/schemas/PatchedWritablePowerPortTemplateRequest_type"
maximum_draw:
description: Maximum power draw (watts)
maximum: 32767
@@ -208039,16 +209681,22 @@ components:
minimum: 1
nullable: true
type: integer
+ power_factor:
+ description: Power factor (0.01-1.00) for converting between watts (W) and
+ volt-amps (VA). Defaults to 0.95.
+ format: decimal
+ pattern: "^-?\\d{0,2}(?:\\.\\d{0,2})?$"
+ type: string
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedWritablePrefixRequest:
@@ -208130,6 +209778,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
tenant:
object_type: app_label.modelname
id: null
@@ -208139,13 +209788,16 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
prefix:
minLength: 1
type: string
location:
- $ref: '#/components/schemas/BulkWritablePrefixRequest_location'
+ $ref: "#/components/schemas/BulkWritablePrefixRequest_location"
type:
- $ref: '#/components/schemas/PrefixTypeChoices'
+ $ref: "#/components/schemas/PrefixTypeChoices"
date_allocated:
description: "Date this prefix was allocated to an RIR, reserved in IPAM,\
\ etc."
@@ -208156,29 +209808,29 @@ components:
maxLength: 255
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
parent:
- $ref: '#/components/schemas/BulkWritablePrefixRequest_parent'
+ $ref: "#/components/schemas/BulkWritablePrefixRequest_parent"
namespace:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
vlan:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
rir:
- $ref: '#/components/schemas/BulkWritablePrefixRequest_rir'
+ $ref: "#/components/schemas/BulkWritablePrefixRequest_rir"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedWritableRackRequest:
@@ -208189,7 +209841,7 @@ components:
example:
asset_tag: asset_tag
desc_units: true
- u_height: 8
+ u_height: 40
comments: comments
role:
object_type: app_label.modelname
@@ -208255,6 +209907,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
outer_unit: mm
tenant:
object_type: app_label.modelname
@@ -208265,6 +209918,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -208284,16 +209940,16 @@ components:
nullable: true
type: string
type:
- $ref: '#/components/schemas/PatchedWritableRackRequest_type'
+ $ref: "#/components/schemas/PatchedWritableRackRequest_type"
width:
allOf:
- - $ref: '#/components/schemas/WidthEnum'
+ - $ref: "#/components/schemas/WidthEnum"
description: Rail-to-rail width
maximum: 32767
minimum: 0
u_height:
description: Height in rack units
- maximum: 100
+ maximum: 500
minimum: 1
title: Height (U)
type: integer
@@ -208314,29 +209970,29 @@ components:
nullable: true
type: integer
outer_unit:
- $ref: '#/components/schemas/PatchedWritableRackRequest_outer_unit'
+ $ref: "#/components/schemas/PatchedWritableRackRequest_outer_unit"
comments:
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
rack_group:
- $ref: '#/components/schemas/BulkWritableRackRequest_rack_group'
+ $ref: "#/components/schemas/BulkWritableRackRequest_rack_group"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PatchedWritableRearPortRequest:
@@ -208390,6 +210046,7 @@ components:
name: name
description: description
positions: 82
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
label: label
type: 8p8c
device:
@@ -208404,6 +210061,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -208416,25 +210076,25 @@ components:
maxLength: 255
type: string
type:
- $ref: '#/components/schemas/PortTypeChoices'
+ $ref: "#/components/schemas/PortTypeChoices"
positions:
maximum: 1024
minimum: 1
type: integer
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PatchedWritableRearPortTemplateRequest:
@@ -208492,9 +210152,13 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
label: label
type: 8p8c
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -208507,21 +210171,21 @@ components:
maxLength: 255
type: string
type:
- $ref: '#/components/schemas/PortTypeChoices'
+ $ref: "#/components/schemas/PortTypeChoices"
positions:
maximum: 1024
minimum: 1
type: integer
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedWritableServiceRequest:
@@ -208582,6 +210246,7 @@ components:
id: null
url: https://openapi-generator.tech
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
ports:
- 5249
- 5249
@@ -208597,6 +210262,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
ports:
items:
maximum: 65535
@@ -208608,28 +210276,28 @@ components:
minLength: 1
type: string
protocol:
- $ref: '#/components/schemas/ServiceProtocolChoices'
+ $ref: "#/components/schemas/ServiceProtocolChoices"
description:
maxLength: 255
type: string
device:
- $ref: '#/components/schemas/BulkWritableServiceRequest_device'
+ $ref: "#/components/schemas/BulkWritableServiceRequest_device"
virtual_machine:
- $ref: '#/components/schemas/BulkWritableServiceRequest_virtual_machine'
+ $ref: "#/components/schemas/BulkWritableServiceRequest_virtual_machine"
ip_addresses:
items:
- $ref: '#/components/schemas/IP_addresses'
+ $ref: "#/components/schemas/IP_addresses"
type: array
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
type: object
PatchedWritableVMInterfaceRequest:
@@ -208716,6 +210384,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
bridge:
object_type: app_label.modelname
id: null
@@ -208725,6 +210394,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
mac_address:
nullable: true
type: string
@@ -208736,7 +210408,7 @@ components:
nullable: true
type: integer
mode:
- $ref: '#/components/schemas/PatchedWritableInterfaceRequest_mode'
+ $ref: "#/components/schemas/PatchedWritableInterfaceRequest_mode"
name:
maxLength: 255
minLength: 1
@@ -208745,54 +210417,54 @@ components:
maxLength: 255
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
parent_interface:
- $ref: '#/components/schemas/BulkWritableInterfaceRequest_parent_interface'
+ $ref: "#/components/schemas/BulkWritableInterfaceRequest_parent_interface"
bridge:
- $ref: '#/components/schemas/Bridge_interface'
+ $ref: "#/components/schemas/Bridge_interface"
virtual_machine:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
untagged_vlan:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
vrf:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tagged_vlans:
items:
- $ref: '#/components/schemas/Tagged_VLANs'
+ $ref: "#/components/schemas/Tagged_VLANs"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
type: object
PathEndpoint:
discriminator:
mapping:
- circuits.circuittermination: '#/components/schemas/NestedCircuitTermination'
- dcim.consoleport: '#/components/schemas/NestedConsolePort'
- dcim.consoleserverport: '#/components/schemas/NestedConsoleServerPort'
- dcim.interface: '#/components/schemas/NestedInterface'
- dcim.powerfeed: '#/components/schemas/NestedPowerFeed'
- dcim.poweroutlet: '#/components/schemas/NestedPowerOutlet'
- dcim.powerport: '#/components/schemas/NestedPowerPort'
+ circuits.circuittermination: "#/components/schemas/NestedCircuitTermination"
+ dcim.consoleport: "#/components/schemas/NestedConsolePort"
+ dcim.consoleserverport: "#/components/schemas/NestedConsoleServerPort"
+ dcim.interface: "#/components/schemas/NestedInterface"
+ dcim.powerfeed: "#/components/schemas/NestedPowerFeed"
+ dcim.poweroutlet: "#/components/schemas/NestedPowerOutlet"
+ dcim.powerport: "#/components/schemas/NestedPowerPort"
propertyName: object_type
oneOf:
- - $ref: '#/components/schemas/NestedCircuitTermination'
- - $ref: '#/components/schemas/NestedConsolePort'
- - $ref: '#/components/schemas/NestedConsoleServerPort'
- - $ref: '#/components/schemas/NestedInterface'
- - $ref: '#/components/schemas/NestedPowerFeed'
- - $ref: '#/components/schemas/NestedPowerOutlet'
- - $ref: '#/components/schemas/NestedPowerPort'
+ - $ref: "#/components/schemas/NestedCircuitTermination"
+ - $ref: "#/components/schemas/NestedConsolePort"
+ - $ref: "#/components/schemas/NestedConsoleServerPort"
+ - $ref: "#/components/schemas/NestedInterface"
+ - $ref: "#/components/schemas/NestedPowerFeed"
+ - $ref: "#/components/schemas/NestedPowerOutlet"
+ - $ref: "#/components/schemas/NestedPowerPort"
PhaseEnum:
enum:
- single-phase
@@ -208829,7 +210501,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -208879,7 +210550,7 @@ components:
maxLength: 255
type: string
manufacturer:
- $ref: '#/components/schemas/BulkWritablePlatformRequest_manufacturer'
+ $ref: "#/components/schemas/BulkWritablePlatformRequest_manufacturer"
created:
format: date-time
nullable: true
@@ -208900,7 +210571,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -208958,11 +210628,15 @@ components:
name: name
napalm_driver: napalm_driver
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
manufacturer:
object_type: app_label.modelname
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -208987,13 +210661,13 @@ components:
maxLength: 255
type: string
manufacturer:
- $ref: '#/components/schemas/BulkWritablePlatformRequest_manufacturer'
+ $ref: "#/components/schemas/BulkWritablePlatformRequest_manufacturer"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- name
@@ -209056,8 +210730,12 @@ components:
example:
connected_endpoint_type: connected_endpoint_type
connected_endpoint: ""
+ breaker_position: 1210617418
notes_url: https://openapi-generator.tech
natural_slug: attribute1_attribute2
+ breaker_pole_count:
+ label: 1-Pole
+ value: 0
connected_endpoint_reachable: true
type:
label: Primary
@@ -209067,16 +210745,23 @@ components:
value: ac
power_panel:
object_type: app_label.modelname
- id: null
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
url: https://openapi-generator.tech
- amperage: 19750
- max_utilization: 15
+ amperage: 4803
+ max_utilization: 60
cable_peer: ""
+ power_path:
+ label: Path A
+ value: a
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
cable:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ destination_panel:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
phase:
label: Single phase
value: single-phase
@@ -209092,7 +210777,7 @@ components:
key: ""
display: display
url: https://openapi-generator.tech
- voltage: -27519
+ voltage: 6732
tags:
- object_type: app_label.modelname
id: null
@@ -209102,7 +210787,7 @@ components:
url: https://openapi-generator.tech
name: name
cable_peer_type: cable_peer_type
- available_power: 5
+ available_power: 2
status:
object_type: app_label.modelname
id: null
@@ -209110,7 +210795,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -209135,7 +210819,7 @@ components:
type: string
cable_peer:
allOf:
- - $ref: '#/components/schemas/CableTermination'
+ - $ref: "#/components/schemas/CableTermination"
nullable: true
readOnly: true
connected_endpoint_type:
@@ -209144,7 +210828,7 @@ components:
type: string
connected_endpoint:
allOf:
- - $ref: '#/components/schemas/PathEndpoint'
+ - $ref: "#/components/schemas/PathEndpoint"
nullable: true
readOnly: true
connected_endpoint_reachable:
@@ -209152,11 +210836,15 @@ components:
readOnly: true
type: boolean
type:
- $ref: '#/components/schemas/PowerFeed_type'
+ $ref: "#/components/schemas/PowerFeed_type"
+ power_path:
+ $ref: "#/components/schemas/PowerFeed_power_path"
supply:
- $ref: '#/components/schemas/PowerFeed_supply'
+ $ref: "#/components/schemas/PowerFeed_supply"
phase:
- $ref: '#/components/schemas/PowerFeed_phase'
+ $ref: "#/components/schemas/PowerFeed_phase"
+ breaker_pole_count:
+ $ref: "#/components/schemas/PowerFeed_breaker_pole_count"
name:
maxLength: 255
type: string
@@ -209173,19 +210861,27 @@ components:
maximum: 100
minimum: 1
type: integer
+ breaker_position:
+ description: Starting circuit breaker position in panel
+ maximum: 2147483647
+ minimum: 0
+ nullable: true
+ type: integer
available_power:
readOnly: true
type: integer
comments:
type: string
cable:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
power_panel:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritablePowerFeedRequest_power_panel"
+ destination_panel:
+ $ref: "#/components/schemas/BulkWritablePowerFeedRequest_destination_panel"
rack:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
created:
format: date-time
nullable: true
@@ -209205,7 +210901,7 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- available_power
@@ -209216,7 +210912,6 @@ components:
- connected_endpoint_type
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -209287,7 +210982,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -209312,7 +211006,7 @@ components:
type: string
cable_peer:
allOf:
- - $ref: '#/components/schemas/CableTermination'
+ - $ref: "#/components/schemas/CableTermination"
nullable: true
readOnly: true
connected_endpoint_type:
@@ -209321,7 +211015,7 @@ components:
type: string
connected_endpoint:
allOf:
- - $ref: '#/components/schemas/PathEndpoint'
+ - $ref: "#/components/schemas/PathEndpoint"
nullable: true
readOnly: true
connected_endpoint_reachable:
@@ -209329,9 +211023,9 @@ components:
readOnly: true
type: boolean
type:
- $ref: '#/components/schemas/PowerOutlet_type'
+ $ref: "#/components/schemas/PowerOutlet_type"
feed_leg:
- $ref: '#/components/schemas/PowerOutlet_feed_leg'
+ $ref: "#/components/schemas/PowerOutlet_feed_leg"
name:
maxLength: 255
type: string
@@ -209343,13 +211037,13 @@ components:
maxLength: 255
type: string
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
cable:
- $ref: '#/components/schemas/Circuit_circuit_termination_a'
+ $ref: "#/components/schemas/Circuit_circuit_termination_a"
power_port:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
created:
format: date-time
nullable: true
@@ -209369,7 +211063,7 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- cable
@@ -209380,7 +211074,6 @@ components:
- connected_endpoint_type
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -209428,7 +211121,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -209452,9 +211144,9 @@ components:
readOnly: true
type: string
type:
- $ref: '#/components/schemas/PowerOutlet_type'
+ $ref: "#/components/schemas/PowerOutlet_type"
feed_leg:
- $ref: '#/components/schemas/PowerOutlet_feed_leg'
+ $ref: "#/components/schemas/PowerOutlet_feed_leg"
name:
maxLength: 255
type: string
@@ -209466,11 +211158,11 @@ components:
maxLength: 255
type: string
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
power_port_template:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
created:
format: date-time
nullable: true
@@ -209487,7 +211179,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -209588,6 +211279,7 @@ components:
- neutrik-powercon-true1
- neutrik-powercon-true1-top
- ubiquiti-smartpower
+ - eaton-c39
- hardwired
- other
type: string
@@ -209614,7 +211306,14 @@ components:
- object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ panel_type:
+ label: Utility
+ value: utility
name: name
+ power_path:
+ label: Path A
+ value: a
+ breaker_position_count: 1294386358
rack_group:
object_type: app_label.modelname
id: null
@@ -209627,7 +211326,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -209646,16 +211344,26 @@ components:
example: attribute1_attribute2
readOnly: true
type: string
+ panel_type:
+ $ref: "#/components/schemas/PowerPanel_panel_type"
+ power_path:
+ $ref: "#/components/schemas/PowerFeed_power_path"
power_feed_count:
readOnly: true
type: integer
name:
maxLength: 255
type: string
+ breaker_position_count:
+ description: "Total number of breaker positions in the panel (e.g., 42)"
+ maximum: 2147483647
+ minimum: 0
+ nullable: true
+ type: integer
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
rack_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
created:
format: date-time
nullable: true
@@ -209675,12 +211383,11 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- created
- display
- - id
- last_updated
- location
- name
@@ -209689,90 +211396,11 @@ components:
- object_type
- url
type: object
- PowerPanelRequest:
- description: |-
- Base class to use for serializers based on OrganizationalModel or PrimaryModel.
-
- Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
- example:
- relationships:
- key:
- peer:
- object_type: dcim.site
- objects:
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- label: label
- destination:
- object_type: dcim.site
- objects:
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- label: label
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- label: label
- source:
- object_type: dcim.site
- objects:
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- label: label
- type: one-to-many
- url: https://openapi-generator.tech
- custom_fields:
- key: ""
- name: name
- rack_group:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- location:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- tags:
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- properties:
- name:
- maxLength: 255
- minLength: 1
- type: string
- location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
- rack_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
- custom_fields:
- additionalProperties: {}
- type: object
- relationships:
- additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
- type: object
- tags:
- items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
- type: array
- required:
- - location
- - name
- type: object
+ PowerPathEnum:
+ enum:
+ - a
+ - b
+ type: string
PowerPort:
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
@@ -209780,11 +211408,26 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
example:
connected_endpoint_type: connected_endpoint_type
- last_updated: 2000-01-23T04:56:07.000+00:00
connected_endpoint: ""
+ power_factor: power_factor
+ notes_url: https://openapi-generator.tech
+ natural_slug: attribute1_attribute2
+ description: description
+ connected_endpoint_reachable: true
+ type:
+ label: C6
+ value: iec-60320-c6
+ maximum_draw: 2624
+ allocated_draw: 19750
+ cable_peer: ""
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ cable:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ last_updated: 2000-01-23T04:56:07.000+00:00
object_type: app_label.modelname
created: 2000-01-23T04:56:07.000+00:00
- notes_url: https://openapi-generator.tech
custom_fields:
key: ""
display: display
@@ -209792,15 +211435,8 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- natural_slug: attribute1_attribute2
- description: description
label: label
- connected_endpoint_reachable: true
- type:
- label: C6
- value: iec-60320-c6
url: https://openapi-generator.tech
- maximum_draw: 2624
tags:
- object_type: app_label.modelname
id: null
@@ -209808,23 +211444,15 @@ components:
- object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- allocated_draw: 19750
- cable_peer: ""
name: name
cable_peer_type: cable_peer_type
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
device:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- cable:
- object_type: app_label.modelname
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -209849,7 +211477,7 @@ components:
type: string
cable_peer:
allOf:
- - $ref: '#/components/schemas/CableTermination'
+ - $ref: "#/components/schemas/CableTermination"
nullable: true
readOnly: true
connected_endpoint_type:
@@ -209858,7 +211486,7 @@ components:
type: string
connected_endpoint:
allOf:
- - $ref: '#/components/schemas/PathEndpoint'
+ - $ref: "#/components/schemas/PathEndpoint"
nullable: true
readOnly: true
connected_endpoint_reachable:
@@ -209866,7 +211494,7 @@ components:
readOnly: true
type: boolean
type:
- $ref: '#/components/schemas/PowerPort_type'
+ $ref: "#/components/schemas/PowerPort_type"
name:
maxLength: 255
type: string
@@ -209889,12 +211517,18 @@ components:
minimum: 1
nullable: true
type: integer
+ power_factor:
+ description: Power factor (0.01-1.00) for converting between watts (W) and
+ volt-amps (VA). Defaults to 0.95.
+ format: decimal
+ pattern: "^-?\\d{0,2}(?:\\.\\d{0,2})?$"
+ type: string
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
cable:
- $ref: '#/components/schemas/Circuit_circuit_termination_a'
+ $ref: "#/components/schemas/Circuit_circuit_termination_a"
created:
format: date-time
nullable: true
@@ -209914,7 +211548,7 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- cable
@@ -209925,7 +211559,6 @@ components:
- connected_endpoint_type
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -209946,6 +211579,7 @@ components:
id: null
url: https://openapi-generator.tech
notes_url: https://openapi-generator.tech
+ power_factor: power_factor
created: 2000-01-23T04:56:07.000+00:00
custom_fields:
key: ""
@@ -209968,7 +211602,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -209992,7 +211625,7 @@ components:
readOnly: true
type: string
type:
- $ref: '#/components/schemas/PowerPort_type'
+ $ref: "#/components/schemas/PowerPort_type"
name:
maxLength: 255
type: string
@@ -210015,10 +211648,16 @@ components:
minimum: 1
nullable: true
type: integer
+ power_factor:
+ description: Power factor (0.01-1.00) for converting between watts (W) and
+ volt-amps (VA). Defaults to 0.95.
+ format: decimal
+ pattern: "^-?\\d{0,2}(?:\\.\\d{0,2})?$"
+ type: string
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
created:
format: date-time
nullable: true
@@ -210035,7 +211674,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -210210,6 +211848,13 @@ components:
id: null
url: https://openapi-generator.tech
prefix_length: 0
+ vrfs:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
status:
object_type: app_label.modelname
id: null
@@ -210217,7 +211862,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -210239,7 +211883,7 @@ components:
prefix:
type: string
type:
- $ref: '#/components/schemas/Prefix_type'
+ $ref: "#/components/schemas/Prefix_type"
network:
description: IPv4 or IPv6 network address
format: byte
@@ -210267,22 +211911,22 @@ components:
maxLength: 255
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
parent:
- $ref: '#/components/schemas/BulkWritablePrefixRequest_parent'
+ $ref: "#/components/schemas/BulkWritablePrefixRequest_parent"
namespace:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
vlan:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
rir:
- $ref: '#/components/schemas/BulkWritablePrefixRequest_rir'
+ $ref: "#/components/schemas/BulkWritablePrefixRequest_rir"
locations:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
readOnly: true
type: array
created:
@@ -210297,7 +211941,7 @@ components:
type: string
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
notes_url:
format: uri
@@ -210306,11 +211950,15 @@ components:
custom_fields:
additionalProperties: {}
type: object
+ vrfs:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ readOnly: true
+ type: array
required:
- broadcast
- created
- display
- - id
- ip_version
- last_updated
- locations
@@ -210322,6 +211970,7 @@ components:
- prefix_length
- status
- url
+ - vrfs
type: object
PrefixLengthRequest:
description: |-
@@ -210393,6 +212042,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
prefix_length: 0
tenant:
object_type: app_label.modelname
@@ -210403,26 +212053,27 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
prefix_length:
type: integer
type:
allOf:
- - $ref: '#/components/schemas/PrefixTypeChoices'
- default:
- value: network
- label: Network
+ - $ref: "#/components/schemas/PrefixTypeChoices"
+ default: network
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
location:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
vlan:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
rir:
- $ref: '#/components/schemas/BulkWritablePrefixRequest_rir'
+ $ref: "#/components/schemas/BulkWritablePrefixRequest_rir"
date_allocated:
description: "Date this prefix was allocated to an RIR, reserved in IPAM,\
\ etc."
@@ -210434,14 +212085,14 @@ components:
type: string
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- prefix_length
@@ -210468,7 +212119,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -210488,12 +212138,11 @@ components:
readOnly: true
type: string
prefix:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- display
- - id
- location
- natural_slug
- object_type
@@ -210513,11 +212162,15 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
prefix:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- location
- prefix
@@ -210533,6 +212186,7 @@ components:
- extras.configcontext
- extras.configcontextschema
- extras.exporttemplate
+ - extras.graphqlquery
- extras.job
type: string
Provider:
@@ -210569,7 +212223,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -210627,7 +212280,7 @@ components:
type: string
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
notes_url:
format: uri
@@ -210639,7 +212292,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -210680,7 +212332,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -210708,7 +212359,7 @@ components:
comments:
type: string
provider:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
created:
format: date-time
nullable: true
@@ -210721,7 +212372,7 @@ components:
type: string
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
notes_url:
format: uri
@@ -210733,7 +212384,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -210793,6 +212443,7 @@ components:
key: ""
name: name
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
tags:
- object_type: app_label.modelname
id: null
@@ -210801,6 +212452,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -210811,17 +212465,17 @@ components:
comments:
type: string
provider:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- name
@@ -210876,6 +212530,7 @@ components:
name: name
admin_contact: admin_contact
noc_contact: noc_contact
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
asn: 343953089
account: account
tags:
@@ -210886,6 +212541,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -210913,18 +212571,23 @@ components:
type: string
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- name
type: object
+ QueueTypeEnum:
+ enum:
+ - celery
+ - kubernetes
+ type: string
RIR:
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
@@ -210948,7 +212611,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -211000,7 +212662,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -211055,7 +212716,11 @@ components:
key: ""
name: name
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -211072,7 +212737,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- name
@@ -211103,7 +212768,7 @@ components:
asset_tag: asset_tag
desc_units: true
last_updated: 2000-01-23T04:56:07.000+00:00
- u_height: 60
+ u_height: 298
comments: comments
object_type: app_label.modelname
created: 2000-01-23T04:56:07.000+00:00
@@ -211143,7 +212808,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -211163,11 +212827,11 @@ components:
readOnly: true
type: string
type:
- $ref: '#/components/schemas/Rack_type'
+ $ref: "#/components/schemas/Rack_type"
width:
- $ref: '#/components/schemas/Rack_width'
+ $ref: "#/components/schemas/Rack_width"
outer_unit:
- $ref: '#/components/schemas/Rack_outer_unit'
+ $ref: "#/components/schemas/Rack_outer_unit"
device_count:
readOnly: true
type: integer
@@ -211193,7 +212857,7 @@ components:
type: string
u_height:
description: Height in rack units
- maximum: 100
+ maximum: 500
minimum: 1
title: Height (U)
type: integer
@@ -211216,15 +212880,15 @@ components:
comments:
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
rack_group:
- $ref: '#/components/schemas/BulkWritableRackRequest_rack_group'
+ $ref: "#/components/schemas/BulkWritableRackRequest_rack_group"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
created:
format: date-time
nullable: true
@@ -211244,12 +212908,11 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- created
- display
- - id
- last_updated
- location
- name
@@ -211288,7 +212951,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -211321,9 +212983,9 @@ components:
maxLength: 255
type: string
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
created:
format: date-time
nullable: true
@@ -211344,7 +213006,6 @@ components:
required:
- created
- display
- - id
- last_updated
- location
- name
@@ -211406,7 +213067,11 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -211415,15 +213080,15 @@ components:
maxLength: 255
type: string
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- location
@@ -211469,7 +213134,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -211494,11 +213158,11 @@ components:
maxLength: 255
type: string
rack:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
user:
- $ref: '#/components/schemas/BulkWritableRackReservationRequest_user'
+ $ref: "#/components/schemas/BulkWritableRackReservationRequest_user"
created:
format: date-time
nullable: true
@@ -211518,13 +213182,12 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- created
- description
- display
- - id
- last_updated
- natural_slug
- notes_url
@@ -211582,6 +213245,7 @@ components:
custom_fields:
key: ""
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
units: ""
user:
object_type: app_label.modelname
@@ -211599,6 +213263,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
units:
description: List of rack unit numbers to reserve
description:
@@ -211606,21 +213273,21 @@ components:
minLength: 1
type: string
rack:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
user:
- $ref: '#/components/schemas/BulkWritableRackReservationRequest_user'
+ $ref: "#/components/schemas/BulkWritableRackReservationRequest_user"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- description
@@ -211656,7 +213323,7 @@ components:
readOnly: true
type: string
face:
- $ref: '#/components/schemas/RackUnit_face'
+ $ref: "#/components/schemas/RackUnit_face"
occupied:
readOnly: true
type: boolean
@@ -211666,6 +213333,268 @@ components:
- name
- occupied
type: object
+ RadioProfile:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ last_updated: 2000-01-23T04:56:07.000+00:00
+ tx_power_min: -1517921766
+ object_type: app_label.modelname
+ created: 2000-01-23T04:56:07.000+00:00
+ notes_url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ display: display
+ natural_slug: attribute1_attribute2
+ rx_power_min: 273751188
+ channel_width:
+ - label: 20 MHz
+ value: 0
+ - label: 20 MHz
+ value: 0
+ url: https://openapi-generator.tech
+ frequency: 2.4GHz
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ tx_power_max: 413233370
+ name: name
+ regulatory_domain: AD
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ allowed_channel_list:
+ - 6
+ - 6
+ supported_data_rates:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ object_type:
+ example: app_label.modelname
+ pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
+ readOnly: true
+ type: string
+ display:
+ description: Human friendly display value
+ readOnly: true
+ type: string
+ url:
+ format: uri
+ readOnly: true
+ type: string
+ natural_slug:
+ example: attribute1_attribute2
+ readOnly: true
+ type: string
+ channel_width:
+ items:
+ $ref: "#/components/schemas/RadioProfile_channel_width_inner"
+ type: array
+ allowed_channel_list:
+ items:
+ type: integer
+ type: array
+ name:
+ maxLength: 255
+ type: string
+ frequency:
+ $ref: "#/components/schemas/BulkWritableRadioProfileRequest_frequency"
+ tx_power_min:
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Transmit Power Minimum
+ type: integer
+ tx_power_max:
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Transmit Power Maximum
+ type: integer
+ regulatory_domain:
+ $ref: "#/components/schemas/RegulatoryDomainEnum"
+ rx_power_min:
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Receive Power Minimum
+ type: integer
+ supported_data_rates:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ created:
+ format: date-time
+ nullable: true
+ readOnly: true
+ type: string
+ last_updated:
+ format: date-time
+ nullable: true
+ readOnly: true
+ type: string
+ notes_url:
+ format: uri
+ readOnly: true
+ type: string
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ required:
+ - created
+ - display
+ - last_updated
+ - name
+ - natural_slug
+ - notes_url
+ - object_type
+ - regulatory_domain
+ - url
+ type: object
+ RadioProfileRequest:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ tx_power_min: -1517921766
+ custom_fields:
+ key: ""
+ rx_power_min: 273751188
+ channel_width:
+ - 0
+ - 0
+ frequency: 2.4GHz
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ tx_power_max: 413233370
+ name: name
+ regulatory_domain: AD
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ allowed_channel_list:
+ - 6
+ - 6
+ supported_data_rates:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ channel_width:
+ items:
+ $ref: "#/components/schemas/ChannelWidthEnum"
+ type: array
+ allowed_channel_list:
+ items:
+ type: integer
+ type: array
+ name:
+ maxLength: 255
+ minLength: 1
+ type: string
+ frequency:
+ $ref: "#/components/schemas/BulkWritableRadioProfileRequest_frequency"
+ tx_power_min:
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Transmit Power Minimum
+ type: integer
+ tx_power_max:
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Transmit Power Maximum
+ type: integer
+ regulatory_domain:
+ $ref: "#/components/schemas/RegulatoryDomainEnum"
+ rx_power_min:
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Receive Power Minimum
+ type: integer
+ supported_data_rates:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ required:
+ - name
+ - regulatory_domain
+ type: object
RearPort:
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
@@ -211713,7 +213642,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -211738,11 +213666,11 @@ components:
type: string
cable_peer:
allOf:
- - $ref: '#/components/schemas/CableTermination'
+ - $ref: "#/components/schemas/CableTermination"
nullable: true
readOnly: true
type:
- $ref: '#/components/schemas/FrontPort_type'
+ $ref: "#/components/schemas/FrontPort_type"
name:
maxLength: 255
type: string
@@ -211758,11 +213686,11 @@ components:
minimum: 1
type: integer
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
cable:
- $ref: '#/components/schemas/Circuit_circuit_termination_a'
+ $ref: "#/components/schemas/Circuit_circuit_termination_a"
created:
format: date-time
nullable: true
@@ -211782,7 +213710,7 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- cable
@@ -211790,7 +213718,6 @@ components:
- cable_peer_type
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -211833,7 +213760,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -211857,7 +213783,7 @@ components:
readOnly: true
type: string
type:
- $ref: '#/components/schemas/FrontPort_type'
+ $ref: "#/components/schemas/FrontPort_type"
name:
maxLength: 255
type: string
@@ -211873,9 +213799,9 @@ components:
minimum: 1
type: integer
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
created:
format: date-time
nullable: true
@@ -211892,7 +213818,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -211901,6 +213826,135 @@ components:
- type
- url
type: object
+ RegulatoryDomainEnum:
+ enum:
+ - AD
+ - AE
+ - AL
+ - AM
+ - AU
+ - AR
+ - AT
+ - AZ
+ - BA
+ - BE
+ - BG
+ - BH
+ - BN
+ - BO
+ - BR
+ - BS
+ - BY
+ - BZ
+ - CA
+ - CH
+ - CI
+ - CL
+ - CN
+ - CO
+ - CR
+ - RS
+ - CY
+ - CZ
+ - DE
+ - DK
+ - DO
+ - DZ
+ - EC
+ - EE
+ - EG
+ - ES
+ - FO
+ - FI
+ - FR
+ - GB
+ - GE
+ - GI
+ - GL
+ - GP
+ - GR
+ - GT
+ - GY
+ - HN
+ - HK
+ - HR
+ - HU
+ - IS
+ - IN
+ - ID
+ - IE
+ - IL
+ - IQ
+ - IT
+ - IR
+ - JM
+ - JO
+ - JP
+ - KP
+ - KR
+ - KE
+ - KW
+ - KZ
+ - LB
+ - LI
+ - LK
+ - LT
+ - LU
+ - LV
+ - LY
+ - MA
+ - MC
+ - MD
+ - MK
+ - MO
+ - MQ
+ - MT
+ - MU
+ - MX
+ - MY
+ - NA
+ - NG
+ - NI
+ - NL
+ - "NO"
+ - NZ
+ - OM
+ - PA
+ - PE
+ - PL
+ - PH
+ - PK
+ - PR
+ - PT
+ - PY
+ - QA
+ - RO
+ - RU
+ - SA
+ - SE
+ - SG
+ - SI
+ - SK
+ - SM
+ - SV
+ - SY
+ - TH
+ - TN
+ - TR
+ - TT
+ - TW
+ - UA
+ - US
+ - UY
+ - UZ
+ - VA
+ - VE
+ - VI
+ - VN
+ - YE
+ - ZA
+ - ZW
+ type: string
Relationship:
description: |-
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
@@ -211931,7 +213985,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -211969,10 +214022,10 @@ components:
type: string
type:
allOf:
- - $ref: '#/components/schemas/RelationshipTypeChoices'
+ - $ref: "#/components/schemas/RelationshipTypeChoices"
description: Cardinality of this relationship
required_on:
- $ref: '#/components/schemas/BulkWritableRelationshipRequest_required_on'
+ $ref: "#/components/schemas/BulkWritableRelationshipRequest_required_on"
source_label:
description: "Label for related destination objects, as displayed on the\
\ source object."
@@ -212022,7 +214075,6 @@ components:
- created
- destination_type
- display
- - id
- label
- last_updated
- natural_slug
@@ -212052,7 +214104,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -212082,12 +214133,11 @@ components:
format: uuid
type: string
relationship:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- destination_id
- destination_type
- display
- - id
- natural_slug
- object_type
- relationship
@@ -212103,12 +214153,16 @@ components:
destination_type: destination_type
destination_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
source_type: source_type
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
source_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
relationship:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
source_type:
type: string
destination_type:
@@ -212120,7 +214174,7 @@ components:
format: uuid
type: string
relationship:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- destination_id
- destination_type
@@ -212144,10 +214198,14 @@ components:
destination_type: destination_type
destination_label: destination_label
source_label: source_label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
required_on: source
key: key
source_filter: ""
properties:
+ id:
+ format: uuid
+ type: string
source_type:
type: string
destination_type:
@@ -212168,10 +214226,10 @@ components:
type: string
type:
allOf:
- - $ref: '#/components/schemas/RelationshipTypeChoices'
+ - $ref: "#/components/schemas/RelationshipTypeChoices"
description: Cardinality of this relationship
required_on:
- $ref: '#/components/schemas/BulkWritableRelationshipRequest_required_on'
+ $ref: "#/components/schemas/BulkWritableRelationshipRequest_required_on"
source_label:
description: "Label for related destination objects, as displayed on the\
\ source object."
@@ -212216,6 +214274,51 @@ components:
- many-to-many
- symmetric-many-to-many
type: string
+ RenderJinja:
+ description: Serializer for RenderJinjaView.
+ example:
+ rendered_template: rendered_template
+ context:
+ key: ""
+ rendered_template_lines:
+ - rendered_template_lines
+ - rendered_template_lines
+ template_code: template_code
+ properties:
+ template_code:
+ type: string
+ context:
+ additionalProperties: {}
+ type: object
+ rendered_template:
+ readOnly: true
+ type: string
+ rendered_template_lines:
+ items:
+ type: string
+ readOnly: true
+ type: array
+ required:
+ - rendered_template
+ - rendered_template_lines
+ - template_code
+ type: object
+ RenderJinjaRequest:
+ description: Serializer for RenderJinjaView.
+ example:
+ context:
+ key: ""
+ template_code: template_code
+ properties:
+ template_code:
+ minLength: 1
+ type: string
+ context:
+ additionalProperties: {}
+ type: object
+ required:
+ - template_code
+ type: object
RequiredOnEnum:
enum:
- source
@@ -212244,7 +214347,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -212304,7 +214406,6 @@ components:
- content_types
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -212360,7 +214461,11 @@ components:
content_types:
- content_types
- content_types
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
content_types:
items:
type: string
@@ -212388,7 +214493,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- content_types
@@ -212426,7 +214531,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -212453,7 +214557,7 @@ components:
maxLength: 255
type: string
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
created:
format: date-time
nullable: true
@@ -212466,7 +214570,7 @@ components:
type: string
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
notes_url:
format: uri
@@ -212478,7 +214582,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -212532,6 +214635,7 @@ components:
key: ""
name: name
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
tenant:
object_type: app_label.modelname
id: null
@@ -212544,6 +214648,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
description: Route target value (formatted in accordance with RFC 4360)
maxLength: 21
@@ -212553,17 +214660,17 @@ components:
maxLength: 255
type: string
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- name
@@ -212592,7 +214699,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -212627,7 +214733,7 @@ components:
is_shared:
type: boolean
owner:
- $ref: '#/components/schemas/BulkWritableSavedViewRequest_owner'
+ $ref: "#/components/schemas/BulkWritableSavedViewRequest_owner"
created:
format: date-time
nullable: true
@@ -212641,7 +214747,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -212663,8 +214768,12 @@ components:
view: view
is_shared: true
name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
config: ""
properties:
+ id:
+ format: uuid
+ type: string
name:
description: The name of this view
maxLength: 255
@@ -212683,7 +214792,7 @@ components:
is_shared:
type: boolean
owner:
- $ref: '#/components/schemas/BulkWritableSavedViewRequest_owner'
+ $ref: "#/components/schemas/BulkWritableSavedViewRequest_owner"
required:
- name
- owner
@@ -212727,6 +214836,10 @@ components:
crontab: crontab
display: display
approval_required: true
+ job_queue:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
time_zone: time_zone
url: https://openapi-generator.tech
args: ""
@@ -212737,13 +214850,12 @@ components:
interval: immediately
user:
object_type: app_label.modelname
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ id: null
url: https://openapi-generator.tech
queue: queue
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -212762,6 +214874,9 @@ components:
example: attribute1_attribute2
readOnly: true
type: string
+ queue:
+ readOnly: true
+ type: string
time_zone:
type: string
name:
@@ -212775,16 +214890,10 @@ components:
title: Task Name
type: string
interval:
- $ref: '#/components/schemas/JobExecutionTypeIntervalChoices'
+ $ref: "#/components/schemas/JobExecutionTypeIntervalChoices"
args: {}
kwargs: {}
celery_kwargs: {}
- queue:
- description: Queue defined in CELERY_TASK_QUEUES. Leave empty for default
- queuing.
- maxLength: 255
- title: Queue Override
- type: string
one_off:
description: "If True, the schedule will only run the task a single time"
title: One-off Task
@@ -212835,21 +214944,23 @@ components:
title: Custom cronjob
type: string
job_model:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ job_queue:
+ $ref: "#/components/schemas/Job_Queue_Override"
user:
- $ref: '#/components/schemas/ScheduledJob_user'
+ $ref: "#/components/schemas/ScheduledJob_user"
approved_by_user:
- $ref: '#/components/schemas/ScheduledJob_approved_by_user'
+ $ref: "#/components/schemas/ScheduledJob_approved_by_user"
required:
- approved_at
- date_changed
- display
- - id
- interval
- last_run_at
- name
- natural_slug
- object_type
+ - queue
- start_time
- task
- url
@@ -212881,7 +214992,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -212922,7 +215032,7 @@ components:
type: string
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
notes_url:
format: uri
@@ -212934,7 +215044,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -212987,6 +215096,7 @@ components:
key: ""
name: name
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
parameters: ""
tags:
- object_type: app_label.modelname
@@ -212996,6 +215106,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -213010,14 +215123,14 @@ components:
parameters: {}
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- name
@@ -213025,10 +215138,16 @@ components:
type: object
SecretTypeEnum:
enum:
+ - authentication-key
+ - authentication-protocol
- key
+ - notes
- password
+ - private-algorithm
+ - private-key
- secret
- token
+ - url
- username
type: string
SecretsGroup:
@@ -213056,7 +215175,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -213083,7 +215201,7 @@ components:
type: string
secrets:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
readOnly: true
type: array
created:
@@ -213106,7 +215224,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -213119,7 +215236,7 @@ components:
description: Serializer for `SecretsGroupAssociation` objects.
example:
access_type: Generic
- secret_type: key
+ secret_type: authentication-key
object_type: app_label.modelname
display: display
natural_slug: attribute1_attribute2
@@ -213136,7 +215253,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -213156,17 +215272,16 @@ components:
readOnly: true
type: string
access_type:
- $ref: '#/components/schemas/AccessTypeEnum'
+ $ref: "#/components/schemas/AccessTypeEnum"
secret_type:
- $ref: '#/components/schemas/SecretTypeEnum'
+ $ref: "#/components/schemas/SecretTypeEnum"
secrets_group:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
secret:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- access_type
- display
- - id
- natural_slug
- object_type
- secret
@@ -213178,24 +215293,28 @@ components:
description: Serializer for `SecretsGroupAssociation` objects.
example:
access_type: Generic
- secret_type: key
+ secret_type: authentication-key
secrets_group:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
secret:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
access_type:
- $ref: '#/components/schemas/AccessTypeEnum'
+ $ref: "#/components/schemas/AccessTypeEnum"
secret_type:
- $ref: '#/components/schemas/SecretTypeEnum'
+ $ref: "#/components/schemas/SecretTypeEnum"
secrets_group:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
secret:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- access_type
- secret
@@ -213245,7 +215364,11 @@ components:
key: ""
name: name
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -213258,7 +215381,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- name
@@ -213312,7 +215435,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -213332,7 +215454,7 @@ components:
readOnly: true
type: string
protocol:
- $ref: '#/components/schemas/Service_protocol'
+ $ref: "#/components/schemas/Service_protocol"
ports:
items:
maximum: 65535
@@ -213346,12 +215468,12 @@ components:
maxLength: 255
type: string
device:
- $ref: '#/components/schemas/BulkWritableServiceRequest_device'
+ $ref: "#/components/schemas/BulkWritableServiceRequest_device"
virtual_machine:
- $ref: '#/components/schemas/BulkWritableServiceRequest_virtual_machine'
+ $ref: "#/components/schemas/BulkWritableServiceRequest_virtual_machine"
ip_addresses:
items:
- $ref: '#/components/schemas/IP_addresses'
+ $ref: "#/components/schemas/IP_addresses"
type: array
created:
format: date-time
@@ -213365,7 +215487,7 @@ components:
type: string
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
notes_url:
format: uri
@@ -213377,7 +215499,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -213423,6 +215544,10 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ external_integration:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
hashing_algorithm: md5
status:
object_type: app_label.modelname
@@ -213431,7 +215556,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -213457,7 +215581,7 @@ components:
maxLength: 256
type: string
hashing_algorithm:
- $ref: '#/components/schemas/BulkWritableSoftwareImageFileRequest_hashing_algorithm'
+ $ref: "#/components/schemas/BulkWritableSoftwareImageFileRequest_hashing_algorithm"
image_file_size:
description: Image file size in bytes
format: int64
@@ -213473,9 +215597,11 @@ components:
description: Is the default image for this software version
type: boolean
software_version:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ external_integration:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
created:
format: date-time
nullable: true
@@ -213495,12 +215621,11 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- created
- display
- - id
- image_file_name
- last_updated
- natural_slug
@@ -213516,6 +215641,15 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
example:
+ custom_fields:
+ key: ""
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
image_file_checksum: image_file_checksum
relationships:
key:
@@ -213554,28 +215688,27 @@ components:
type: one-to-many
url: https://openapi-generator.tech
image_file_size: 738633633822310400
- custom_fields:
- key: ""
download_url: https://openapi-generator.tech
image_file_name: image_file_name
default_image: true
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
software_version:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- hashing_algorithm: md5
- status:
+ external_integration:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- tags:
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- - object_type: app_label.modelname
+ hashing_algorithm: md5
+ status:
+ object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
image_file_name:
maxLength: 255
minLength: 1
@@ -213584,7 +215717,7 @@ components:
maxLength: 256
type: string
hashing_algorithm:
- $ref: '#/components/schemas/BulkWritableSoftwareImageFileRequest_hashing_algorithm'
+ $ref: "#/components/schemas/BulkWritableSoftwareImageFileRequest_hashing_algorithm"
image_file_size:
description: Image file size in bytes
format: int64
@@ -213600,19 +215733,21 @@ components:
description: Is the default image for this software version
type: boolean
software_version:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ external_integration:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- image_file_name
@@ -213660,7 +215795,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -213705,9 +215839,9 @@ components:
description: Is a Pre-Release version
type: boolean
platform:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
created:
format: date-time
nullable: true
@@ -213727,12 +215861,11 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- created
- display
- - id
- last_updated
- natural_slug
- notes_url
@@ -213749,6 +215882,22 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
example:
long_term_support: true
+ custom_fields:
+ key: ""
+ end_of_support_date: 2000-01-23
+ documentation_url: https://openapi-generator.tech
+ version: version
+ platform:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
relationships:
key:
peer:
@@ -213786,29 +215935,17 @@ components:
type: one-to-many
url: https://openapi-generator.tech
release_date: 2000-01-23
- custom_fields:
- key: ""
pre_release: true
alias: alias
- end_of_support_date: 2000-01-23
- documentation_url: https://openapi-generator.tech
- version: version
- platform:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
status:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- tags:
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
version:
maxLength: 255
minLength: 1
@@ -213836,25 +215973,35 @@ components:
description: Is a Pre-Release version
type: boolean
platform:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- platform
- status
- version
type: object
+ StandardEnum:
+ enum:
+ - 802.11a
+ - 802.11b
+ - 802.11g
+ - 802.11n
+ - 802.11ac
+ - 802.11ax
+ - 802.11be
+ type: string
StaticGroupAssociation:
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
@@ -213881,7 +216028,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -213904,13 +216050,13 @@ components:
type: string
associated_object:
allOf:
- - $ref: '#/components/schemas/DynamicGroupAssociatedObject'
+ - $ref: "#/components/schemas/DynamicGroupAssociatedObject"
readOnly: true
associated_object_id:
format: uuid
type: string
dynamic_group:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
created:
format: date-time
nullable: true
@@ -213935,7 +216081,6 @@ components:
- created
- display
- dynamic_group
- - id
- last_updated
- natural_slug
- notes_url
@@ -213987,25 +216132,29 @@ components:
custom_fields:
key: ""
associated_object_type: associated_object_type
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
dynamic_group:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
associated_object_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
associated_object_type:
type: string
associated_object_id:
format: uuid
type: string
dynamic_group:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- associated_object_id
@@ -214034,7 +216183,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -214089,7 +216237,6 @@ components:
- content_types
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -214144,7 +216291,11 @@ components:
content_types:
- content_types
- content_types
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
content_types:
items:
type: string
@@ -214167,7 +216318,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- content_types
@@ -214183,6 +216334,191 @@ components:
- ac
- dc
type: string
+ SupportedDataRate:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ standard: 802.11a
+ last_updated: 2000-01-23T04:56:07.000+00:00
+ object_type: app_label.modelname
+ created: 2000-01-23T04:56:07.000+00:00
+ notes_url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ display: display
+ natural_slug: attribute1_attribute2
+ mcs_index: 441289069
+ url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ rate: 171976544
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ properties:
+ id:
+ format: uuid
+ type: string
+ object_type:
+ example: app_label.modelname
+ pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
+ readOnly: true
+ type: string
+ display:
+ description: Human friendly display value
+ readOnly: true
+ type: string
+ url:
+ format: uri
+ readOnly: true
+ type: string
+ natural_slug:
+ example: attribute1_attribute2
+ readOnly: true
+ type: string
+ standard:
+ $ref: "#/components/schemas/StandardEnum"
+ rate:
+ maximum: 2147483647
+ minimum: 0
+ title: Rate (Kbps)
+ type: integer
+ mcs_index:
+ description: "The Modulation and Coding Scheme (MCS) index is a value used\
+ \ in wireless communications to define the modulation type, coding rate,\
+ \ and number of spatial streams used in a transmission."
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Modulation and Coding Scheme (MCS) Index
+ type: integer
+ created:
+ format: date-time
+ nullable: true
+ readOnly: true
+ type: string
+ last_updated:
+ format: date-time
+ nullable: true
+ readOnly: true
+ type: string
+ notes_url:
+ format: uri
+ readOnly: true
+ type: string
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ required:
+ - created
+ - display
+ - last_updated
+ - natural_slug
+ - notes_url
+ - object_type
+ - rate
+ - standard
+ - url
+ type: object
+ SupportedDataRateRequest:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ standard: 802.11a
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ rate: 171976544
+ custom_fields:
+ key: ""
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ mcs_index: 441289069
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ standard:
+ $ref: "#/components/schemas/StandardEnum"
+ rate:
+ maximum: 2147483647
+ minimum: 0
+ title: Rate (Kbps)
+ type: integer
+ mcs_index:
+ description: "The Modulation and Coding Scheme (MCS) index is a value used\
+ \ in wireless communications to define the modulation type, coding rate,\
+ \ and number of spatial streams used in a transmission."
+ maximum: 2147483647
+ minimum: -2147483648
+ nullable: true
+ title: Modulation and Coding Scheme (MCS) Index
+ type: integer
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ required:
+ - rate
+ - standard
+ type: object
Tag:
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
@@ -214209,7 +216545,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -214267,7 +216602,6 @@ components:
- content_types
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -214326,7 +216660,11 @@ components:
content_types:
- content_types
- content_types
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
content_types:
items:
type: string
@@ -214349,7 +216687,7 @@ components:
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- content_types
@@ -214372,9 +216710,17 @@ components:
display: display
natural_slug: attribute1_attribute2
url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
phone: ""
name: name
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ email: ""
contacts:
- object_type: app_label.modelname
id: null
@@ -214382,11 +216728,9 @@ components:
- object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- email: ""
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -214405,10 +216749,6 @@ components:
example: attribute1_attribute2
readOnly: true
type: string
- contacts:
- items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
- type: array
name:
maxLength: 255
type: string
@@ -214418,7 +216758,6 @@ components:
type: string
email:
default: ""
- format: email
maxLength: 254
title: E-mail
type: string
@@ -214426,6 +216765,10 @@ components:
type: string
comments:
type: string
+ contacts:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
created:
format: date-time
nullable: true
@@ -214443,10 +216786,13 @@ components:
custom_fields:
additionalProperties: {}
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -214502,6 +216848,8 @@ components:
custom_fields:
key: ""
name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ email: ""
contacts:
- object_type: app_label.modelname
id: null
@@ -214509,12 +216857,17 @@ components:
- object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- email: ""
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
properties:
- contacts:
- items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
- type: array
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -214525,7 +216878,6 @@ components:
type: string
email:
default: ""
- format: email
maxLength: 254
title: E-mail
type: string
@@ -214533,13 +216885,21 @@ components:
type: string
comments:
type: string
+ contacts:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
required:
- name
type: object
@@ -214585,7 +216945,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -214640,7 +216999,7 @@ components:
comments:
type: string
tenant_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
created:
format: date-time
nullable: true
@@ -214653,7 +217012,7 @@ components:
type: string
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
notes_url:
format: uri
@@ -214665,7 +217024,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -214700,7 +217058,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -214733,7 +217090,7 @@ components:
maxLength: 255
type: string
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
created:
format: date-time
nullable: true
@@ -214754,7 +217111,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -214813,7 +217169,11 @@ components:
key: ""
name: name
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -214822,13 +217182,13 @@ components:
maxLength: 255
type: string
parent:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- name
@@ -214880,6 +217240,7 @@ components:
key: ""
name: name
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
tenant_group:
object_type: app_label.modelname
id: null
@@ -214892,6 +217253,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -214902,17 +217266,17 @@ components:
comments:
type: string
tenant_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- name
@@ -214940,7 +217304,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -214980,7 +217343,6 @@ components:
required:
- created
- display
- - id
- natural_slug
- object_type
- url
@@ -214993,8 +217355,12 @@ components:
expires: 2000-01-23T04:56:07.000+00:00
write_enabled: true
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
key: key
properties:
+ id:
+ format: uuid
+ type: string
key:
maxLength: 40
minLength: 40
@@ -215047,7 +217413,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -215109,19 +217474,18 @@ components:
description: The groups this user belongs to. A user will get all permissions
granted to each of their groups.
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
default_saved_views:
description: User specific default saved views
items:
- $ref: '#/components/schemas/User_specific_default_saved_views'
+ $ref: "#/components/schemas/User_specific_default_saved_views"
readOnly: true
title: User-specific default saved views
type: array
required:
- default_saved_views
- display
- - id
- natural_slug
- object_type
- url
@@ -215132,7 +217496,6 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
example:
- password: password
is_superuser: true
is_active: true
is_staff: true
@@ -215146,11 +217509,16 @@ components:
- object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ password: password
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
date_joined: 2000-01-23T04:56:07.000+00:00
first_name: first_name
email: email
username: username
properties:
+ id:
+ format: uuid
+ type: string
password:
maxLength: 128
minLength: 1
@@ -215201,7 +217569,7 @@ components:
description: The groups this user belongs to. A user will get all permissions
granted to each of their groups.
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- username
@@ -215228,7 +217596,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -215251,12 +217618,11 @@ components:
maxLength: 255
type: string
saved_view:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
user:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- display
- - id
- natural_slug
- object_type
- saved_view
@@ -215269,6 +217635,7 @@ components:
Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during
validation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)
example:
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
user:
object_type: app_label.modelname
id: null
@@ -215279,14 +217646,17 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
view_name:
maxLength: 255
minLength: 1
type: string
saved_view:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
user:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- saved_view
- user
@@ -215320,6 +217690,44 @@ components:
id: null
url: https://openapi-generator.tech
vid: 2468
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ computed_fields:
+ key: ""
vlan_group:
object_type: app_label.modelname
id: null
@@ -215345,7 +217753,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -215379,16 +217786,16 @@ components:
maxLength: 255
type: string
vlan_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
locations:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
readOnly: true
type: array
created:
@@ -215403,7 +217810,7 @@ components:
type: string
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
notes_url:
format: uri
@@ -215412,10 +217819,17 @@ components:
custom_fields:
additionalProperties: {}
type: object
+ computed_fields:
+ additionalProperties: {}
+ readOnly: true
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
required:
- created
- display
- - id
- last_updated
- locations
- name
@@ -215426,6 +217840,113 @@ components:
- url
- vid
type: object
+ VLANAllocationRequest:
+ description: "Input serializer for POST to /api/ipam/vlan-groups//available-vlans/,\
+ \ i.e. allocating VLAN from VLANGroup."
+ example:
+ vid: 328
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ role:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ vlan_group:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ name: name
+ description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ tenant:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ status:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ vid:
+ maximum: 4094
+ minimum: 1
+ type: integer
+ vlan_group:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ name:
+ maxLength: 255
+ minLength: 1
+ type: string
+ status:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ role:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ tenant:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ description:
+ maxLength: 255
+ type: string
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ required:
+ - name
+ - status
+ type: object
VLANGroup:
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
@@ -215441,8 +217962,16 @@ components:
display: display
natural_slug: attribute1_attribute2
description: description
+ range: range
url: https://openapi-generator.tech
vlan_count: 0
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
name: name
location:
object_type: app_label.modelname
@@ -215452,7 +217981,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -215480,8 +218008,12 @@ components:
description:
maxLength: 255
type: string
+ range:
+ description: "Permitted VID range(s) as comma-separated list, default '1-4094'\
+ \ if left blank."
+ type: string
location:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
created:
format: date-time
nullable: true
@@ -215492,6 +218024,10 @@ components:
nullable: true
readOnly: true
type: string
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
notes_url:
format: uri
readOnly: true
@@ -215502,7 +218038,6 @@ components:
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -215556,11 +218091,23 @@ components:
key: ""
name: name
description: description
+ range: range
location:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -215568,14 +218115,23 @@ components:
description:
maxLength: 255
type: string
+ range:
+ description: "Permitted VID range(s) as comma-separated list, default '1-4094'\
+ \ if left blank."
+ minLength: 1
+ type: string
location:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- name
@@ -215601,7 +218157,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -215621,12 +218176,11 @@ components:
readOnly: true
type: string
vlan:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- display
- - id
- location
- natural_slug
- object_type
@@ -215646,11 +218200,15 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
vlan:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- location
- vlan
@@ -215714,6 +218272,7 @@ components:
object_type: app_label.modelname
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
tenant:
object_type: app_label.modelname
id: null
@@ -215730,8 +218289,11 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
location:
- $ref: '#/components/schemas/BulkWritablePrefixRequest_location'
+ $ref: "#/components/schemas/BulkWritablePrefixRequest_location"
vid:
maximum: 4094
minimum: 1
@@ -215745,23 +218307,23 @@ components:
maxLength: 255
type: string
vlan_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- name
@@ -215844,7 +218406,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -215864,7 +218425,7 @@ components:
readOnly: true
type: string
mode:
- $ref: '#/components/schemas/Interface_mode'
+ $ref: "#/components/schemas/Interface_mode"
mac_address:
nullable: true
type: string
@@ -215882,26 +218443,26 @@ components:
maxLength: 255
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
parent_interface:
- $ref: '#/components/schemas/BulkWritableInterfaceRequest_parent_interface'
+ $ref: "#/components/schemas/BulkWritableInterfaceRequest_parent_interface"
bridge:
- $ref: '#/components/schemas/Bridge_interface'
+ $ref: "#/components/schemas/Bridge_interface"
virtual_machine:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
untagged_vlan:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
vrf:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tagged_vlans:
items:
- $ref: '#/components/schemas/Tagged_VLANs'
+ $ref: "#/components/schemas/Tagged_VLANs"
type: array
ip_addresses:
items:
- $ref: '#/components/schemas/IP_Addresses'
+ $ref: "#/components/schemas/IP_Addresses"
readOnly: true
type: array
created:
@@ -215923,12 +218484,11 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- created
- display
- - id
- ip_addresses
- last_updated
- name
@@ -215961,6 +218521,13 @@ components:
display: display
natural_slug: attribute1_attribute2
description: description
+ virtual_device_contexts:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
url: https://openapi-generator.tech
virtual_machines:
- object_type: app_label.modelname
@@ -216015,7 +218582,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -216047,33 +218613,38 @@ components:
maxLength: 255
type: string
status:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
namespace:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
devices:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
readOnly: true
type: array
virtual_machines:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ readOnly: true
+ type: array
+ virtual_device_contexts:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
readOnly: true
type: array
prefixes:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
readOnly: true
type: array
import_targets:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
export_targets:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
created:
format: date-time
@@ -216087,7 +218658,7 @@ components:
type: string
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
notes_url:
format: uri
@@ -216100,15 +218671,14 @@ components:
- created
- devices
- display
- - id
- last_updated
- name
- natural_slug
- notes_url
- object_type
- prefixes
- - rd
- url
+ - virtual_device_contexts
- virtual_machines
type: object
VRFDeviceAssignment:
@@ -216134,11 +218704,14 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ virtual_device_context:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
url: https://openapi-generator.tech
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -216167,14 +218740,15 @@ components:
maxLength: 255
type: string
vrf:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
virtual_machine:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ virtual_device_context:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
required:
- display
- - id
- natural_slug
- object_type
- url
@@ -216191,6 +218765,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
vrf:
object_type: app_label.modelname
id: null
@@ -216199,7 +218774,14 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ virtual_device_context:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
rd:
description: Unique route distinguisher (as defined in RFC 4364)
maxLength: 21
@@ -216210,11 +218792,13 @@ components:
maxLength: 255
type: string
vrf:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
virtual_machine:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ virtual_device_context:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
required:
- vrf
type: object
@@ -216239,7 +218823,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -216259,12 +218842,11 @@ components:
readOnly: true
type: string
vrf:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
prefix:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- display
- - id
- natural_slug
- object_type
- prefix
@@ -216280,15 +218862,19 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
vrf:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
vrf:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
prefix:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
required:
- prefix
- vrf
@@ -216358,6 +218944,7 @@ components:
id: null
url: https://openapi-generator.tech
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
tenant:
object_type: app_label.modelname
id: null
@@ -216374,6 +218961,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -216388,33 +218978,32 @@ components:
maxLength: 255
type: string
status:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
namespace:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
import_targets:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
export_targets:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- name
- - rd
type: object
VirtualChassis:
description: |-
@@ -216449,7 +219038,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -216478,7 +219066,7 @@ components:
maxLength: 255
type: string
master:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
created:
format: date-time
nullable: true
@@ -216498,12 +219086,11 @@ components:
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -216557,6 +219144,7 @@ components:
key: ""
domain: domain
name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
master:
object_type: app_label.modelname
id: null
@@ -216569,6 +219157,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -216577,20 +219168,287 @@ components:
maxLength: 255
type: string
master:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ required:
+ - name
+ type: object
+ VirtualDeviceContext:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ identifier: 2624
+ interfaces:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ last_updated: 2000-01-23T04:56:07.000+00:00
+ role:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ object_type: app_label.modelname
+ created: 2000-01-23T04:56:07.000+00:00
+ notes_url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ display: display
+ natural_slug: attribute1_attribute2
+ description: description
+ url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ device:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ primary_ip6:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ tenant:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ status:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ primary_ip4:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ object_type:
+ example: app_label.modelname
+ pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
+ readOnly: true
+ type: string
+ display:
+ description: Human friendly display value
+ readOnly: true
+ type: string
+ url:
+ format: uri
+ readOnly: true
+ type: string
+ natural_slug:
+ example: attribute1_attribute2
+ readOnly: true
+ type: string
+ name:
+ maxLength: 255
+ type: string
+ identifier:
+ description: "Unique identifier provided by the platform being virtualized\
+ \ (Example: Nexus VDC Identifier)"
+ maximum: 32767
+ minimum: 0
+ nullable: true
+ type: integer
+ description:
+ maxLength: 255
+ type: string
+ device:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ status:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ role:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ primary_ip4:
+ $ref: "#/components/schemas/Primary_IPv4"
+ primary_ip6:
+ $ref: "#/components/schemas/Primary_IPv6"
+ tenant:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ interfaces:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ readOnly: true
+ type: array
+ created:
+ format: date-time
+ nullable: true
+ readOnly: true
+ type: string
+ last_updated:
+ format: date-time
+ nullable: true
+ readOnly: true
+ type: string
+ notes_url:
+ format: uri
+ readOnly: true
+ type: string
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ required:
+ - created
+ - device
+ - display
+ - interfaces
+ - last_updated
+ - name
+ - natural_slug
+ - notes_url
+ - object_type
+ - status
+ - url
+ type: object
+ VirtualDeviceContextRequest:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ identifier: 2624
+ role:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ description: description
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ device:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ primary_ip6:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ tenant:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ status:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ primary_ip4:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ name:
+ maxLength: 255
+ minLength: 1
+ type: string
+ identifier:
+ description: "Unique identifier provided by the platform being virtualized\
+ \ (Example: Nexus VDC Identifier)"
+ maximum: 32767
+ minimum: 0
+ nullable: true
+ type: integer
+ description:
+ maxLength: 255
+ type: string
+ device:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ status:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ role:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ primary_ip4:
+ $ref: "#/components/schemas/Primary_IPv4"
+ primary_ip6:
+ $ref: "#/components/schemas/Primary_IPv6"
+ tenant:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
+ - device
- name
+ - status
type: object
VirtualMachine:
description: |-
@@ -216672,7 +219530,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -216720,30 +219577,30 @@ components:
comments:
type: string
local_config_context_schema:
- $ref: '#/components/schemas/BulkWritableConfigContextRequest_config_context_schema'
+ $ref: "#/components/schemas/BulkWritableConfigContextRequest_config_context_schema"
local_config_context_data_owner_content_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
cluster:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
platform:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
primary_ip4:
- $ref: '#/components/schemas/Primary_IPv4'
+ $ref: "#/components/schemas/Primary_IPv4"
primary_ip6:
- $ref: '#/components/schemas/Primary_IPv6'
+ $ref: "#/components/schemas/Primary_IPv6"
software_version:
- $ref: '#/components/schemas/BulkWritableVirtualMachineRequest_software_version'
+ $ref: "#/components/schemas/BulkWritableVirtualMachineRequest_software_version"
software_image_files:
description: Override the software image files associated with the software
version for this virtual machine
items:
- $ref: '#/components/schemas/Software_Image_Files'
+ $ref: "#/components/schemas/Software_Image_Files"
type: array
created:
format: date-time
@@ -216757,7 +219614,7 @@ components:
type: string
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
notes_url:
format: uri
@@ -216770,7 +219627,6 @@ components:
- cluster
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -216864,6 +219720,7 @@ components:
object_type: app_label.modelname
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
software_version:
object_type: app_label.modelname
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
@@ -216885,6 +219742,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
local_config_context_data:
nullable: true
local_config_context_data_owner_object_id:
@@ -216915,41 +219775,41 @@ components:
comments:
type: string
local_config_context_schema:
- $ref: '#/components/schemas/BulkWritableConfigContextRequest_config_context_schema'
+ $ref: "#/components/schemas/BulkWritableConfigContextRequest_config_context_schema"
local_config_context_data_owner_content_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
cluster:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
platform:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
primary_ip4:
- $ref: '#/components/schemas/Primary_IPv4'
+ $ref: "#/components/schemas/Primary_IPv4"
primary_ip6:
- $ref: '#/components/schemas/Primary_IPv6'
+ $ref: "#/components/schemas/Primary_IPv6"
software_version:
- $ref: '#/components/schemas/BulkWritableVirtualMachineRequest_software_version'
+ $ref: "#/components/schemas/BulkWritableVirtualMachineRequest_software_version"
software_image_files:
description: Override the software image files associated with the software
version for this virtual machine
items:
- $ref: '#/components/schemas/Software_Image_Files'
+ $ref: "#/components/schemas/Software_Image_Files"
type: array
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- cluster
@@ -216988,7 +219848,6 @@ components:
properties:
id:
format: uuid
- readOnly: true
type: string
object_type:
example: app_label.modelname
@@ -217031,7 +219890,7 @@ components:
enabled:
type: boolean
http_method:
- $ref: '#/components/schemas/HttpMethodEnum'
+ $ref: "#/components/schemas/HttpMethodEnum"
http_content_type:
description: The complete list of official content types is available here.
@@ -217081,7 +219940,6 @@ components:
- content_types
- created
- display
- - id
- last_updated
- name
- natural_slug
@@ -217110,8 +219968,12 @@ components:
content_types:
- content_types
- content_types
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
payload_url: payload_url
properties:
+ id:
+ format: uuid
+ type: string
content_types:
items:
type: string
@@ -217138,7 +220000,7 @@ components:
enabled:
type: boolean
http_method:
- $ref: '#/components/schemas/HttpMethodEnum'
+ $ref: "#/components/schemas/HttpMethodEnum"
http_content_type:
description: The complete list of official content types is available here.
@@ -217183,6 +220045,240 @@ components:
- 21
- 23
type: integer
+ WirelessNetwork:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ last_updated: 2000-01-23T04:56:07.000+00:00
+ hidden: true
+ object_type: app_label.modelname
+ created: 2000-01-23T04:56:07.000+00:00
+ notes_url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ display: display
+ natural_slug: attribute1_attribute2
+ description: description
+ secrets_group:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ ssid: ssid
+ url: https://openapi-generator.tech
+ enabled: true
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ mode: Central
+ name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ tenant:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ authentication: Open
+ properties:
+ id:
+ format: uuid
+ type: string
+ object_type:
+ example: app_label.modelname
+ pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
+ readOnly: true
+ type: string
+ display:
+ description: Human friendly display value
+ readOnly: true
+ type: string
+ url:
+ format: uri
+ readOnly: true
+ type: string
+ natural_slug:
+ example: attribute1_attribute2
+ readOnly: true
+ type: string
+ name:
+ maxLength: 255
+ type: string
+ description:
+ maxLength: 255
+ type: string
+ ssid:
+ maxLength: 255
+ type: string
+ mode:
+ $ref: "#/components/schemas/WirelessNetworkModeChoices"
+ enabled:
+ type: boolean
+ authentication:
+ $ref: "#/components/schemas/AuthenticationEnum"
+ hidden:
+ type: boolean
+ secrets_group:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ tenant:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ created:
+ format: date-time
+ nullable: true
+ readOnly: true
+ type: string
+ last_updated:
+ format: date-time
+ nullable: true
+ readOnly: true
+ type: string
+ notes_url:
+ format: uri
+ readOnly: true
+ type: string
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ required:
+ - authentication
+ - created
+ - display
+ - last_updated
+ - mode
+ - name
+ - natural_slug
+ - notes_url
+ - object_type
+ - ssid
+ - url
+ type: object
+ WirelessNetworkModeChoices:
+ enum:
+ - Central
+ - Fabric
+ - Standalone (Autonomous)
+ - Local (Flex)
+ - Mesh
+ - Bridge
+ type: string
+ WirelessNetworkRequest:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ hidden: true
+ custom_fields:
+ key: ""
+ description: description
+ secrets_group:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ ssid: ssid
+ enabled: true
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ mode: Central
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ tenant:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ authentication: Open
+ properties:
+ id:
+ format: uuid
+ type: string
+ name:
+ maxLength: 255
+ minLength: 1
+ type: string
+ description:
+ maxLength: 255
+ type: string
+ ssid:
+ maxLength: 255
+ minLength: 1
+ type: string
+ mode:
+ $ref: "#/components/schemas/WirelessNetworkModeChoices"
+ enabled:
+ type: boolean
+ authentication:
+ $ref: "#/components/schemas/AuthenticationEnum"
+ hidden:
+ type: boolean
+ secrets_group:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ tenant:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ required:
+ - authentication
+ - mode
+ - name
+ - ssid
+ type: object
WritableCableRequest:
description: |-
Base class to use for serializers based on OrganizationalModel or PrimaryModel.
@@ -217243,11 +220339,15 @@ components:
type: one-to-many
url: https://openapi-generator.tech
termination_a_type: termination_a_type
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
status:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
termination_a_type:
type: string
termination_b_type:
@@ -217259,7 +220359,7 @@ components:
format: uuid
type: string
type:
- $ref: '#/components/schemas/PatchedWritableCableRequest_type'
+ $ref: "#/components/schemas/PatchedWritableCableRequest_type"
label:
maxLength: 255
type: string
@@ -217274,19 +220374,19 @@ components:
nullable: true
type: integer
length_unit:
- $ref: '#/components/schemas/PatchedWritableCableRequest_length_unit'
+ $ref: "#/components/schemas/PatchedWritableCableRequest_length_unit"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- status
@@ -217345,6 +220445,7 @@ components:
url: https://openapi-generator.tech
name: name
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
label: label
type: de-9
device:
@@ -217359,6 +220460,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -217371,21 +220475,21 @@ components:
maxLength: 255
type: string
type:
- $ref: '#/components/schemas/PatchedWritableConsolePortRequest_type'
+ $ref: "#/components/schemas/PatchedWritableConsolePortRequest_type"
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- name
@@ -217444,100 +220548,200 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ type: de-9
+ properties:
+ id:
+ format: uuid
+ type: string
+ name:
+ maxLength: 255
+ minLength: 1
+ type: string
+ label:
+ description: Physical label
+ maxLength: 255
+ type: string
+ description:
+ maxLength: 255
+ type: string
+ type:
+ $ref: "#/components/schemas/PatchedWritableConsolePortTemplateRequest_type"
+ device_type:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ module_type:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ required:
+ - name
+ type: object
+ WritableConsoleServerPortRequest:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ module:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ name: name
+ description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ type: de-9
+ device:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ format: uuid
+ type: string
+ name:
+ maxLength: 255
+ minLength: 1
+ type: string
+ label:
+ description: Physical label
+ maxLength: 255
+ type: string
+ description:
+ maxLength: 255
+ type: string
+ type:
+ $ref: "#/components/schemas/PatchedWritableConsolePortRequest_type"
+ device:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ module:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
+ required:
+ - name
+ type: object
+ WritableConsoleServerPortTemplateRequest:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ module_type:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ name: name
+ description: description
+ device_type:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
label: label
type: de-9
properties:
- name:
- maxLength: 255
- minLength: 1
- type: string
- label:
- description: Physical label
- maxLength: 255
- type: string
- description:
- maxLength: 255
+ id:
+ format: uuid
type: string
- type:
- $ref: '#/components/schemas/PatchedWritableConsolePortTemplateRequest_type'
- device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
- module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
- custom_fields:
- additionalProperties: {}
- type: object
- relationships:
- additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
- type: object
- required:
- - name
- type: object
- WritableConsoleServerPortRequest:
- description: |-
- Base class to use for serializers based on OrganizationalModel or PrimaryModel.
-
- Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
- example:
- relationships:
- key:
- peer:
- object_type: dcim.site
- objects:
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- label: label
- destination:
- object_type: dcim.site
- objects:
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- label: label
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- label: label
- source:
- object_type: dcim.site
- objects:
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- label: label
- type: one-to-many
- url: https://openapi-generator.tech
- custom_fields:
- key: ""
- module:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- name: name
- description: description
- label: label
- type: de-9
- device:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- tags:
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- properties:
name:
maxLength: 255
minLength: 1
@@ -217550,105 +220754,17 @@ components:
maxLength: 255
type: string
type:
- $ref: '#/components/schemas/PatchedWritableConsolePortRequest_type'
- device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
- module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
- custom_fields:
- additionalProperties: {}
- type: object
- relationships:
- additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
- type: object
- tags:
- items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
- type: array
- required:
- - name
- type: object
- WritableConsoleServerPortTemplateRequest:
- description: |-
- Base class to use for serializers based on OrganizationalModel or PrimaryModel.
-
- Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
- example:
- relationships:
- key:
- peer:
- object_type: dcim.site
- objects:
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- label: label
- destination:
- object_type: dcim.site
- objects:
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- label: label
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- label: label
- source:
- object_type: dcim.site
- objects:
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- - display: display
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- url: https://openapi-generator.tech
- label: label
- type: one-to-many
- url: https://openapi-generator.tech
- module_type:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- custom_fields:
- key: ""
- name: name
- description: description
+ $ref: "#/components/schemas/PatchedWritableConsolePortTemplateRequest_type"
device_type:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- label: label
- type: de-9
- properties:
- name:
- maxLength: 255
- minLength: 1
- type: string
- label:
- description: Physical label
- maxLength: 255
- type: string
- description:
- maxLength: 255
- type: string
- type:
- $ref: '#/components/schemas/PatchedWritableConsolePortTemplateRequest_type'
- device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- name
@@ -217672,9 +220788,13 @@ components:
content_types:
- content_types
- content_types
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
validation_maximum: -6519424345728851968
key: key
properties:
+ id:
+ format: uuid
+ type: string
content_types:
items:
type: string
@@ -217689,7 +220809,7 @@ components:
type: string
type:
allOf:
- - $ref: '#/components/schemas/CustomFieldTypeChoices'
+ - $ref: "#/components/schemas/CustomFieldTypeChoices"
description: The type of value(s) allowed for this field.
key:
description: Internal field name. Please use underscores rather than dashes
@@ -217707,7 +220827,7 @@ components:
type: boolean
filter_logic:
allOf:
- - $ref: '#/components/schemas/FilterLogicEnum'
+ - $ref: "#/components/schemas/FilterLogicEnum"
description: Loose matches any instance of a given string; Exact matches
the entire field.
default:
@@ -217801,12 +220921,13 @@ components:
custom_fields:
key: ""
name: name
- failover_strategy: active-active
+ failover_strategy: ""
description: description
secrets_group:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
status:
object_type: app_label.modelname
id: null
@@ -217819,6 +220940,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -217827,23 +220951,23 @@ components:
maxLength: 255
type: string
failover_strategy:
- $ref: '#/components/schemas/BulkWritableDeviceRedundancyGroupRequest_failover_strategy'
+ $ref: "#/components/schemas/BulkWritableDeviceRedundancyGroupRequest_failover_strategy"
comments:
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
secrets_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- name
@@ -217917,6 +221041,7 @@ components:
object_type: app_label.modelname
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
software_version:
object_type: app_label.modelname
id: null
@@ -217991,6 +221116,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
local_config_context_data:
nullable: true
local_config_context_data_owner_object_id:
@@ -218018,7 +221146,7 @@ components:
title: Position (U)
type: integer
face:
- $ref: '#/components/schemas/Rack_face'
+ $ref: "#/components/schemas/Rack_face"
device_redundancy_group_priority:
description: The priority the device has in the device redundancy group.
maximum: 32767
@@ -218040,58 +221168,58 @@ components:
comments:
type: string
local_config_context_schema:
- $ref: '#/components/schemas/BulkWritableConfigContextRequest_config_context_schema'
+ $ref: "#/components/schemas/BulkWritableConfigContextRequest_config_context_schema"
local_config_context_data_owner_content_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
device_type:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
platform:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
rack:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
primary_ip4:
- $ref: '#/components/schemas/Primary_IPv4'
+ $ref: "#/components/schemas/Primary_IPv4"
primary_ip6:
- $ref: '#/components/schemas/Primary_IPv6'
+ $ref: "#/components/schemas/Primary_IPv6"
cluster:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
virtual_chassis:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
device_redundancy_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
software_version:
- $ref: '#/components/schemas/BulkWritableDeviceRequest_software_version'
+ $ref: "#/components/schemas/BulkWritableDeviceRequest_software_version"
secrets_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
controller_managed_device_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
software_image_files:
description: Override the software image files associated with the software
version for this device
items:
- $ref: '#/components/schemas/Software_Image_Files'
+ $ref: "#/components/schemas/Software_Image_Files"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
parent_bay:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
required:
- device_type
- location
@@ -218165,7 +221293,11 @@ components:
subdevice_role: parent
part_number: part_number
model: model
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
+ id:
+ format: uuid
+ type: string
front_image:
format: binary
type: string
@@ -218189,23 +221321,23 @@ components:
description: Device consumes both front and rear rack faces
type: boolean
subdevice_role:
- $ref: '#/components/schemas/Parent_child_status'
+ $ref: "#/components/schemas/Parent_child_status"
comments:
type: string
manufacturer:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
device_family:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- manufacturer
@@ -218265,6 +221397,7 @@ components:
id: null
url: https://openapi-generator.tech
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
label: label
type: 8p8c
device:
@@ -218280,6 +221413,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -218292,27 +221428,27 @@ components:
maxLength: 255
type: string
type:
- $ref: '#/components/schemas/PortTypeChoices'
+ $ref: "#/components/schemas/PortTypeChoices"
rear_port_position:
maximum: 1024
minimum: 1
type: integer
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
rear_port:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- name
@@ -218377,10 +221513,14 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
label: label
type: 8p8c
rear_port_position: 82
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -218393,23 +221533,23 @@ components:
maxLength: 255
type: string
type:
- $ref: '#/components/schemas/PortTypeChoices'
+ $ref: "#/components/schemas/PortTypeChoices"
rear_port_position:
maximum: 1024
minimum: 1
type: integer
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
rear_port_template:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- name
@@ -218465,6 +221605,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
status:
object_type: app_label.modelname
id: null
@@ -218481,6 +221622,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -218489,26 +221633,26 @@ components:
maxLength: 255
type: string
protocol:
- $ref: '#/components/schemas/Redundancy_Protocol'
+ $ref: "#/components/schemas/Redundancy_Protocol"
protocol_group_id:
maxLength: 255
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
secrets_group:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
virtual_ip:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- name
@@ -218605,6 +221749,7 @@ components:
url: https://openapi-generator.tech
mac_address: mac_address
name: name
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
bridge:
object_type: app_label.modelname
id: null
@@ -218618,6 +221763,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
mac_address:
nullable: true
type: string
@@ -218640,45 +221788,45 @@ components:
nullable: true
type: integer
mode:
- $ref: '#/components/schemas/PatchedWritableInterfaceRequest_mode'
+ $ref: "#/components/schemas/PatchedWritableInterfaceRequest_mode"
type:
- $ref: '#/components/schemas/InterfaceTypeChoices'
+ $ref: "#/components/schemas/InterfaceTypeChoices"
mgmt_only:
description: This interface is used only for out-of-band management
title: Management only
type: boolean
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
parent_interface:
- $ref: '#/components/schemas/BulkWritableInterfaceRequest_parent_interface'
+ $ref: "#/components/schemas/BulkWritableInterfaceRequest_parent_interface"
bridge:
- $ref: '#/components/schemas/Bridge_interface'
+ $ref: "#/components/schemas/Bridge_interface"
lag:
- $ref: '#/components/schemas/Parent_LAG'
+ $ref: "#/components/schemas/Parent_LAG"
untagged_vlan:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
vrf:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tagged_vlans:
items:
- $ref: '#/components/schemas/Tagged_VLANs'
+ $ref: "#/components/schemas/Tagged_VLANs"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- name
@@ -218739,10 +221887,14 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
label: label
type: virtual
mgmt_only: true
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -218755,20 +221907,20 @@ components:
maxLength: 255
type: string
type:
- $ref: '#/components/schemas/InterfaceTypeChoices'
+ $ref: "#/components/schemas/InterfaceTypeChoices"
mgmt_only:
title: Management only
type: boolean
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- name
@@ -218786,13 +221938,15 @@ components:
id: null
url: https://openapi-generator.tech
comments: comments
+ breaker_position: 1280358508
custom_fields:
key: ""
+ breaker_pole_count: 5
type: primary
supply: ac
power_panel:
object_type: app_label.modelname
- id: null
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
url: https://openapi-generator.tech
voltage: -27519
tags:
@@ -218841,25 +221995,36 @@ components:
amperage: 19750
max_utilization: 15
name: name
+ power_path: a
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
cable:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ destination_panel:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
status:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
type: string
type:
- $ref: '#/components/schemas/PowerFeedTypeChoices'
+ $ref: "#/components/schemas/PowerFeedTypeChoices"
+ power_path:
+ $ref: "#/components/schemas/PatchedWritablePowerFeedRequest_power_path"
supply:
- $ref: '#/components/schemas/SupplyEnum'
+ $ref: "#/components/schemas/SupplyEnum"
phase:
- $ref: '#/components/schemas/PhaseEnum'
+ $ref: "#/components/schemas/PhaseEnum"
voltage:
maximum: 32767
minimum: -32768
@@ -218873,26 +222038,36 @@ components:
maximum: 100
minimum: 1
type: integer
+ breaker_position:
+ description: Starting circuit breaker position in panel
+ maximum: 2147483647
+ minimum: 0
+ nullable: true
+ type: integer
+ breaker_pole_count:
+ $ref: "#/components/schemas/BreakerPoleCountEnum"
comments:
type: string
cable:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
power_panel:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritablePowerFeedRequest_power_panel"
+ destination_panel:
+ $ref: "#/components/schemas/BulkWritablePowerFeedRequest_destination_panel"
rack:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- name
@@ -218950,6 +222125,7 @@ components:
name: name
description: description
feed_leg: A
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
label: label
type: iec-60320-c5
device:
@@ -218968,6 +222144,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -218980,25 +222159,25 @@ components:
maxLength: 255
type: string
type:
- $ref: '#/components/schemas/PatchedWritablePowerOutletRequest_type'
+ $ref: "#/components/schemas/PatchedWritablePowerOutletRequest_type"
feed_leg:
- $ref: '#/components/schemas/PatchedWritablePowerOutletRequest_feed_leg'
+ $ref: "#/components/schemas/PatchedWritablePowerOutletRequest_feed_leg"
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
power_port:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- name
@@ -219045,55 +222224,160 @@ components:
label: label
type: one-to-many
url: https://openapi-generator.tech
- power_port_template:
+ power_port_template:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ module_type:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ name: name
+ description: description
+ feed_leg: A
+ device_type:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ type: iec-60320-c5
+ properties:
+ id:
+ format: uuid
+ type: string
+ name:
+ maxLength: 255
+ minLength: 1
+ type: string
+ label:
+ description: Physical label
+ maxLength: 255
+ type: string
+ description:
+ maxLength: 255
+ type: string
+ type:
+ $ref: "#/components/schemas/PatchedWritablePowerOutletTemplateRequest_type"
+ feed_leg:
+ $ref: "#/components/schemas/PatchedWritablePowerOutletRequest_feed_leg"
+ device_type:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ module_type:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ power_port_template:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
+ custom_fields:
+ additionalProperties: {}
+ type: object
+ relationships:
+ additionalProperties:
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
+ type: object
+ required:
+ - name
+ type: object
+ WritablePowerPanelRequest:
+ description: |-
+ Base class to use for serializers based on OrganizationalModel or PrimaryModel.
+
+ Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
+ example:
+ relationships:
+ key:
+ peer:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ destination:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ label: label
+ source:
+ object_type: dcim.site
+ objects:
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ - display: display
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ label: label
+ type: one-to-many
+ url: https://openapi-generator.tech
+ custom_fields:
+ key: ""
+ panel_type: utility
+ name: name
+ breaker_position_count: 171976544
+ power_path: a
+ rack_group:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- module_type:
+ location:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- custom_fields:
- key: ""
- name: name
- description: description
- feed_leg: A
- device_type:
- object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- label: label
- type: iec-60320-c5
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
type: string
- label:
- description: Physical label
- maxLength: 255
- type: string
- description:
- maxLength: 255
- type: string
- type:
- $ref: '#/components/schemas/PatchedWritablePowerOutletTemplateRequest_type'
- feed_leg:
- $ref: '#/components/schemas/PatchedWritablePowerOutletRequest_feed_leg'
- device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
- module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
- power_port_template:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ panel_type:
+ $ref: "#/components/schemas/PatchedWritablePowerPanelRequest_panel_type"
+ breaker_position_count:
+ description: "Total number of breaker positions in the panel (e.g., 42)"
+ maximum: 2147483647
+ minimum: 0
+ nullable: true
+ type: integer
+ power_path:
+ $ref: "#/components/schemas/PatchedWritablePowerFeedRequest_power_path"
+ location:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ rack_group:
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
+ tags:
+ items:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
+ type: array
required:
+ - location
- name
type: object
WritablePowerPortRequest:
@@ -219102,6 +222386,24 @@ components:
Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
example:
+ power_factor: power_factor
+ custom_fields:
+ key: ""
+ module:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ description: description
+ label: label
+ type: iec-60320-c6
+ maximum_draw: 2624
+ tags:
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ - object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
allocated_draw: 19750
relationships:
key:
@@ -219139,29 +222441,16 @@ components:
label: label
type: one-to-many
url: https://openapi-generator.tech
- custom_fields:
- key: ""
- module:
- object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
name: name
- description: description
- label: label
- type: iec-60320-c6
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
device:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
- maximum_draw: 2624
- tags:
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
- - object_type: app_label.modelname
- id: null
- url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -219174,7 +222463,7 @@ components:
maxLength: 255
type: string
type:
- $ref: '#/components/schemas/PatchedWritablePowerPortRequest_type'
+ $ref: "#/components/schemas/PatchedWritablePowerPortRequest_type"
maximum_draw:
description: Maximum power draw (watts)
maximum: 32767
@@ -219187,20 +222476,26 @@ components:
minimum: 1
nullable: true
type: integer
+ power_factor:
+ description: Power factor (0.01-1.00) for converting between watts (W) and
+ volt-amps (VA). Defaults to 0.95.
+ format: decimal
+ pattern: "^-?\\d{0,2}(?:\\.\\d{0,2})?$"
+ type: string
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- name
@@ -219252,6 +222547,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ power_factor: power_factor
custom_fields:
key: ""
name: name
@@ -219260,10 +222556,14 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
label: label
type: iec-60320-c6
maximum_draw: 2624
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -219276,7 +222576,7 @@ components:
maxLength: 255
type: string
type:
- $ref: '#/components/schemas/PatchedWritablePowerPortTemplateRequest_type'
+ $ref: "#/components/schemas/PatchedWritablePowerPortTemplateRequest_type"
maximum_draw:
description: Maximum power draw (watts)
maximum: 32767
@@ -219289,16 +222589,22 @@ components:
minimum: 1
nullable: true
type: integer
+ power_factor:
+ description: Power factor (0.01-1.00) for converting between watts (W) and
+ volt-amps (VA). Defaults to 0.95.
+ format: decimal
+ pattern: "^-?\\d{0,2}(?:\\.\\d{0,2})?$"
+ type: string
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- name
@@ -219382,6 +222688,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
tenant:
object_type: app_label.modelname
id: null
@@ -219391,13 +222698,16 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
prefix:
minLength: 1
type: string
location:
- $ref: '#/components/schemas/BulkWritablePrefixRequest_location'
+ $ref: "#/components/schemas/BulkWritablePrefixRequest_location"
type:
- $ref: '#/components/schemas/PrefixTypeChoices'
+ $ref: "#/components/schemas/PrefixTypeChoices"
date_allocated:
description: "Date this prefix was allocated to an RIR, reserved in IPAM,\
\ etc."
@@ -219408,29 +222718,29 @@ components:
maxLength: 255
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
parent:
- $ref: '#/components/schemas/BulkWritablePrefixRequest_parent'
+ $ref: "#/components/schemas/BulkWritablePrefixRequest_parent"
namespace:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
vlan:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
rir:
- $ref: '#/components/schemas/BulkWritablePrefixRequest_rir'
+ $ref: "#/components/schemas/BulkWritablePrefixRequest_rir"
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- prefix
@@ -219444,7 +222754,7 @@ components:
example:
asset_tag: asset_tag
desc_units: true
- u_height: 8
+ u_height: 40
comments: comments
role:
object_type: app_label.modelname
@@ -219510,6 +222820,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
outer_unit: mm
tenant:
object_type: app_label.modelname
@@ -219520,6 +222831,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -219539,16 +222853,16 @@ components:
nullable: true
type: string
type:
- $ref: '#/components/schemas/PatchedWritableRackRequest_type'
+ $ref: "#/components/schemas/PatchedWritableRackRequest_type"
width:
allOf:
- - $ref: '#/components/schemas/WidthEnum'
+ - $ref: "#/components/schemas/WidthEnum"
description: Rail-to-rail width
maximum: 32767
minimum: 0
u_height:
description: Height in rack units
- maximum: 100
+ maximum: 500
minimum: 1
title: Height (U)
type: integer
@@ -219569,29 +222883,29 @@ components:
nullable: true
type: integer
outer_unit:
- $ref: '#/components/schemas/PatchedWritableRackRequest_outer_unit'
+ $ref: "#/components/schemas/PatchedWritableRackRequest_outer_unit"
comments:
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
location:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
rack_group:
- $ref: '#/components/schemas/BulkWritableRackRequest_rack_group'
+ $ref: "#/components/schemas/BulkWritableRackRequest_rack_group"
tenant:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- location
@@ -219649,6 +222963,7 @@ components:
name: name
description: description
positions: 82
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
label: label
type: 8p8c
device:
@@ -219663,6 +222978,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -219675,25 +222993,25 @@ components:
maxLength: 255
type: string
type:
- $ref: '#/components/schemas/PortTypeChoices'
+ $ref: "#/components/schemas/PortTypeChoices"
positions:
maximum: 1024
minimum: 1
type: integer
device:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- name
@@ -219754,9 +223072,13 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
label: label
type: 8p8c
properties:
+ id:
+ format: uuid
+ type: string
name:
maxLength: 255
minLength: 1
@@ -219769,21 +223091,21 @@ components:
maxLength: 255
type: string
type:
- $ref: '#/components/schemas/PortTypeChoices'
+ $ref: "#/components/schemas/PortTypeChoices"
positions:
maximum: 1024
minimum: 1
type: integer
device_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
module_type:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- name
@@ -219847,6 +223169,7 @@ components:
id: null
url: https://openapi-generator.tech
description: description
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
ports:
- 5249
- 5249
@@ -219862,6 +223185,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
ports:
items:
maximum: 65535
@@ -219873,28 +223199,28 @@ components:
minLength: 1
type: string
protocol:
- $ref: '#/components/schemas/ServiceProtocolChoices'
+ $ref: "#/components/schemas/ServiceProtocolChoices"
description:
maxLength: 255
type: string
device:
- $ref: '#/components/schemas/BulkWritableServiceRequest_device'
+ $ref: "#/components/schemas/BulkWritableServiceRequest_device"
virtual_machine:
- $ref: '#/components/schemas/BulkWritableServiceRequest_virtual_machine'
+ $ref: "#/components/schemas/BulkWritableServiceRequest_virtual_machine"
ip_addresses:
items:
- $ref: '#/components/schemas/IP_addresses'
+ $ref: "#/components/schemas/IP_addresses"
type: array
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
required:
- name
@@ -219985,6 +223311,7 @@ components:
object_type: app_label.modelname
id: null
url: https://openapi-generator.tech
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
bridge:
object_type: app_label.modelname
id: null
@@ -219994,6 +223321,9 @@ components:
id: null
url: https://openapi-generator.tech
properties:
+ id:
+ format: uuid
+ type: string
mac_address:
nullable: true
type: string
@@ -220005,7 +223335,7 @@ components:
nullable: true
type: integer
mode:
- $ref: '#/components/schemas/PatchedWritableInterfaceRequest_mode'
+ $ref: "#/components/schemas/PatchedWritableInterfaceRequest_mode"
name:
maxLength: 255
minLength: 1
@@ -220014,33 +223344,33 @@ components:
maxLength: 255
type: string
status:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
role:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
parent_interface:
- $ref: '#/components/schemas/BulkWritableInterfaceRequest_parent_interface'
+ $ref: "#/components/schemas/BulkWritableInterfaceRequest_parent_interface"
bridge:
- $ref: '#/components/schemas/Bridge_interface'
+ $ref: "#/components/schemas/Bridge_interface"
virtual_machine:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
untagged_vlan:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
vrf:
- $ref: '#/components/schemas/BulkWritableCircuitRequest_tenant'
+ $ref: "#/components/schemas/BulkWritableCircuitRequest_tenant"
tagged_vlans:
items:
- $ref: '#/components/schemas/Tagged_VLANs'
+ $ref: "#/components/schemas/Tagged_VLANs"
type: array
custom_fields:
additionalProperties: {}
type: object
relationships:
additionalProperties:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value"
type: object
tags:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_status'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status"
type: array
required:
- name
@@ -220153,6 +223483,7 @@ components:
- America/Coral_Harbour
- America/Cordoba
- America/Costa_Rica
+ - America/Coyhaique
- America/Creston
- America/Cuiaba
- America/Curacao
@@ -220706,6 +224037,42 @@ components:
type: object
type: array
type: object
+ ipam_prefixes_available_ips_list_range_end_parameter:
+ oneOf:
+ - format: ipv6
+ type: string
+ - format: ipv4
+ type: string
+ ipam_vlan_groups_available_vlans_list_200_response:
+ example:
+ next: http://api.example.org/accounts/?offset=400&limit=100
+ previous: http://api.example.org/accounts/?offset=200&limit=100
+ count: 123
+ results:
+ - 0
+ - 0
+ properties:
+ count:
+ example: 123
+ type: integer
+ next:
+ example: http://api.example.org/accounts/?offset=400&limit=100
+ format: uri
+ nullable: true
+ type: string
+ previous:
+ example: http://api.example.org/accounts/?offset=200&limit=100
+ format: uri
+ nullable: true
+ type: string
+ results:
+ items:
+ type: integer
+ type: array
+ required:
+ - count
+ - results
+ type: object
status_retrieve_200_response:
example:
python-version: python-version
@@ -220849,7 +224216,7 @@ components:
url: https://openapi-generator.tech
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -220897,7 +224264,7 @@ components:
type: string
objects:
items:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value_source_objects_inner'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value_source_objects_inner"
type: array
type: object
BulkWritableCableRequest_relationships_value:
@@ -220953,11 +224320,11 @@ components:
readOnly: true
type: string
source:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value_source'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value_source"
destination:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value_source'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value_source"
peer:
- $ref: '#/components/schemas/BulkWritableCableRequest_relationships_value_source'
+ $ref: "#/components/schemas/BulkWritableCableRequest_relationships_value_source"
required:
- id
- label
@@ -220972,7 +224339,7 @@ components:
nullable: true
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -220989,7 +224356,7 @@ components:
url: https://openapi-generator.tech
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -221007,7 +224374,7 @@ components:
nullable: true
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -221024,7 +224391,7 @@ components:
url: https://openapi-generator.tech
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -221034,9 +224401,12 @@ components:
type: string
type: object
BulkWritableDeviceRedundancyGroupRequest_failover_strategy:
- oneOf:
- - $ref: '#/components/schemas/FailoverStrategyEnum'
- - $ref: '#/components/schemas/BlankEnum'
+ default: ""
+ enum:
+ - active-active
+ - active-passive
+ - ""
+ type: string
Primary_IPv4:
example:
object_type: app_label.modelname
@@ -221045,7 +224415,7 @@ components:
nullable: true
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -221063,7 +224433,7 @@ components:
nullable: true
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -221082,7 +224452,7 @@ components:
nullable: true
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -221098,7 +224468,7 @@ components:
url: https://openapi-generator.tech
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -221109,9 +224479,14 @@ components:
title: Software Image Files
type: object
BulkWritableExternalIntegrationRequest_http_method:
- oneOf:
- - $ref: '#/components/schemas/HttpMethodEnum'
- - $ref: '#/components/schemas/BlankEnum'
+ enum:
+ - GET
+ - POST
+ - PUT
+ - PATCH
+ - DELETE
+ - ""
+ type: string
BulkWritableExternalIntegrationRequest_secrets_group:
description: Credentials used for authenticating with the remote system
example:
@@ -221121,7 +224496,7 @@ components:
nullable: true
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -221131,9 +224506,14 @@ components:
type: string
type: object
BulkWritableGitRepositoryRequest_provided_contents_inner:
- oneOf:
- - $ref: '#/components/schemas/ProvidedContentsEnum'
- - $ref: '#/components/schemas/BlankEnum'
+ enum:
+ - extras.configcontext
+ - extras.configcontextschema
+ - extras.exporttemplate
+ - extras.graphqlquery
+ - extras.job
+ - ""
+ type: string
BulkWritableIPAddressRequest_namespace:
example:
object_type: app_label.modelname
@@ -221141,7 +224521,7 @@ components:
url: https://openapi-generator.tech
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -221160,7 +224540,7 @@ components:
nullable: true
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -221178,7 +224558,7 @@ components:
nullable: true
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -221197,7 +224577,7 @@ components:
nullable: true
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -221215,7 +224595,7 @@ components:
nullable: true
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -221234,7 +224614,7 @@ components:
nullable: true
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -221251,7 +224631,7 @@ components:
url: https://openapi-generator.tech
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -221270,7 +224650,7 @@ components:
nullable: true
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -221287,7 +224667,7 @@ components:
url: https://openapi-generator.tech
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -221304,7 +224684,44 @@ components:
url: https://openapi-generator.tech
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
+ object_type:
+ example: app_label.modelname
+ pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
+ type: string
+ url:
+ format: uri
+ type: string
+ type: object
+ BulkWritableModuleBayRequest_module_family:
+ description: Module family that can be installed in this bay
+ example:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ nullable: true
+ properties:
+ id:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
+ object_type:
+ example: app_label.modelname
+ pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
+ type: string
+ url:
+ format: uri
+ type: string
+ type: object
+ BulkWritableModuleBayTemplateRequest_module_family:
+ description: Module family that can be installed in this bay. Leave blank for
+ no restriction.
+ example:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ nullable: true
+ properties:
+ id:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -221322,7 +224739,42 @@ components:
nullable: true
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
+ object_type:
+ example: app_label.modelname
+ pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
+ type: string
+ url:
+ format: uri
+ type: string
+ type: object
+ BulkWritablePowerFeedRequest_power_panel:
+ description: Source panel that originates this power feed
+ example:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
+ object_type:
+ example: app_label.modelname
+ pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
+ type: string
+ url:
+ format: uri
+ type: string
+ type: object
+ BulkWritablePowerFeedRequest_destination_panel:
+ description: Destination panel that receives power from this feed
+ example:
+ object_type: app_label.modelname
+ id: null
+ url: https://openapi-generator.tech
+ nullable: true
+ properties:
+ id:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -221339,7 +224791,7 @@ components:
nullable: true
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -221358,7 +224810,7 @@ components:
nullable: true
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -221376,7 +224828,7 @@ components:
nullable: true
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -221394,7 +224846,7 @@ components:
nullable: true
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -221412,7 +224864,7 @@ components:
url: https://openapi-generator.tech
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -221421,12 +224873,21 @@ components:
format: uri
type: string
type: object
+ BulkWritableRadioProfileRequest_frequency:
+ enum:
+ - 2.4GHz
+ - 5GHz
+ - 6GHz
+ - ""
+ type: string
BulkWritableRelationshipRequest_required_on:
description: Objects on the specified side MUST implement this relationship.
Not permitted for symmetric relationships.
- oneOf:
- - $ref: '#/components/schemas/RequiredOnEnum'
- - $ref: '#/components/schemas/BlankEnum'
+ enum:
+ - source
+ - destination
+ - ""
+ type: string
BulkWritableSavedViewRequest_owner:
description: The user that created this view
example:
@@ -221435,7 +224896,7 @@ components:
url: https://openapi-generator.tech
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -221453,7 +224914,7 @@ components:
nullable: true
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -221471,7 +224932,7 @@ components:
nullable: true
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -221487,7 +224948,7 @@ components:
url: https://openapi-generator.tech
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -221499,9 +224960,18 @@ components:
type: object
BulkWritableSoftwareImageFileRequest_hashing_algorithm:
description: Hashing algorithm for image file checksum
- oneOf:
- - $ref: '#/components/schemas/HashingAlgorithmEnum'
- - $ref: '#/components/schemas/BlankEnum'
+ enum:
+ - md5
+ - sha1
+ - sha224
+ - sha384
+ - sha256
+ - sha512
+ - sha3
+ - blake2
+ - blake3
+ - ""
+ type: string
BulkWritableVirtualMachineRequest_software_version:
description: The software version installed on this virtual machine
example:
@@ -221511,7 +224981,7 @@ components:
nullable: true
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -221544,9 +225014,9 @@ components:
value: km
properties:
value:
- $ref: '#/components/schemas/Cable_length_unit_value'
+ $ref: "#/components/schemas/Cable_length_unit_value"
label:
- $ref: '#/components/schemas/Cable_length_unit_label'
+ $ref: "#/components/schemas/Cable_length_unit_label"
type: object
Cable_type_value:
enum:
@@ -221608,9 +225078,9 @@ components:
value: cat3
properties:
value:
- $ref: '#/components/schemas/Cable_type_value'
+ $ref: "#/components/schemas/Cable_type_value"
label:
- $ref: '#/components/schemas/Cable_type_label'
+ $ref: "#/components/schemas/Cable_type_label"
type: object
Circuit_circuit_termination_a:
example:
@@ -221620,7 +225090,7 @@ components:
nullable: true
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -221672,9 +225142,27 @@ components:
value: de-9
properties:
value:
- $ref: '#/components/schemas/ConsolePort_type_value'
+ $ref: "#/components/schemas/ConsolePort_type_value"
+ label:
+ $ref: "#/components/schemas/ConsolePort_type_label"
+ type: object
+ Controller_capabilities_inner_value:
+ enum:
+ - wireless
+ type: string
+ Controller_capabilities_inner_label:
+ enum:
+ - Wireless
+ type: string
+ Controller_capabilities_inner:
+ example:
+ label: Wireless
+ value: wireless
+ properties:
+ value:
+ $ref: "#/components/schemas/Controller_capabilities_inner_value"
label:
- $ref: '#/components/schemas/ConsolePort_type_label'
+ $ref: "#/components/schemas/Controller_capabilities_inner_label"
type: object
CustomField_type_value:
enum:
@@ -221706,9 +225194,9 @@ components:
value: text
properties:
value:
- $ref: '#/components/schemas/CustomField_type_value'
+ $ref: "#/components/schemas/CustomField_type_value"
label:
- $ref: '#/components/schemas/CustomField_type_label'
+ $ref: "#/components/schemas/CustomField_type_label"
type: object
CustomField_filter_logic_value:
enum:
@@ -221728,9 +225216,9 @@ components:
value: disabled
properties:
value:
- $ref: '#/components/schemas/CustomField_filter_logic_value'
+ $ref: "#/components/schemas/CustomField_filter_logic_value"
label:
- $ref: '#/components/schemas/CustomField_filter_logic_label'
+ $ref: "#/components/schemas/CustomField_filter_logic_label"
type: object
Device_face_value:
enum:
@@ -221748,9 +225236,9 @@ components:
value: front
properties:
value:
- $ref: '#/components/schemas/Device_face_value'
+ $ref: "#/components/schemas/Device_face_value"
label:
- $ref: '#/components/schemas/Device_face_label'
+ $ref: "#/components/schemas/Device_face_label"
type: object
DeviceRedundancyGroup_failover_strategy_value:
enum:
@@ -221770,9 +225258,9 @@ components:
value: ""
properties:
value:
- $ref: '#/components/schemas/DeviceRedundancyGroup_failover_strategy_value'
+ $ref: "#/components/schemas/DeviceRedundancyGroup_failover_strategy_value"
label:
- $ref: '#/components/schemas/DeviceRedundancyGroup_failover_strategy_label'
+ $ref: "#/components/schemas/DeviceRedundancyGroup_failover_strategy_label"
type: object
DeviceType_subdevice_role_value:
enum:
@@ -221790,9 +225278,9 @@ components:
value: parent
properties:
value:
- $ref: '#/components/schemas/DeviceType_subdevice_role_value'
+ $ref: "#/components/schemas/DeviceType_subdevice_role_value"
label:
- $ref: '#/components/schemas/DeviceType_subdevice_role_label'
+ $ref: "#/components/schemas/DeviceType_subdevice_role_label"
type: object
FrontPort_type_value:
enum:
@@ -221900,9 +225388,9 @@ components:
value: 8p8c
properties:
value:
- $ref: '#/components/schemas/FrontPort_type_value'
+ $ref: "#/components/schemas/FrontPort_type_value"
label:
- $ref: '#/components/schemas/FrontPort_type_label'
+ $ref: "#/components/schemas/FrontPort_type_label"
type: object
Interface_type_value:
enum:
@@ -221949,6 +225437,9 @@ components:
- 400gbase-x-cfp8
- 800gbase-x-qsfpdd
- 800gbase-x-osfp
+ - 800gbase-x-osfp-xd
+ - 1600gbase-x-osfp
+ - 1600gbase-x-osfp-xd
- 1000base-kx
- 10gbase-kr
- 10gbase-kx4
@@ -222086,6 +225577,9 @@ components:
- CPF8 (400GE)
- QSFP-DD (800GE)
- OSFP (800GE)
+ - OSFP-XD (800GE)
+ - OSFP (1600GE)
+ - OSFP-XD (1600GE)
- 1000BASE-KX (1GE)
- 10GBASE-KR (10GE)
- 10GBASE-KX4 (10GE)
@@ -222184,9 +225678,9 @@ components:
value: virtual
properties:
value:
- $ref: '#/components/schemas/Interface_type_value'
+ $ref: "#/components/schemas/Interface_type_value"
label:
- $ref: '#/components/schemas/Interface_type_label'
+ $ref: "#/components/schemas/Interface_type_label"
type: object
Interface_mode_value:
enum:
@@ -222206,9 +225700,9 @@ components:
value: access
properties:
value:
- $ref: '#/components/schemas/Interface_mode_value'
+ $ref: "#/components/schemas/Interface_mode_value"
label:
- $ref: '#/components/schemas/Interface_mode_label'
+ $ref: "#/components/schemas/Interface_mode_label"
type: object
IP_Addresses:
example:
@@ -222217,7 +225711,7 @@ components:
url: https://openapi-generator.tech
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -222247,9 +225741,26 @@ components:
value: hsrp
properties:
value:
- $ref: '#/components/schemas/InterfaceRedundancyGroup_protocol_value'
+ $ref: "#/components/schemas/InterfaceRedundancyGroup_protocol_value"
label:
- $ref: '#/components/schemas/InterfaceRedundancyGroup_protocol_label'
+ $ref: "#/components/schemas/InterfaceRedundancyGroup_protocol_label"
+ type: object
+ Job_Queues:
+ example:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ properties:
+ id:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
+ object_type:
+ example: app_label.modelname
+ pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
+ type: string
+ url:
+ format: uri
+ type: string
+ title: Job Queues
type: object
JobResult_status_value:
enum:
@@ -222267,9 +225778,9 @@ components:
value: FAILURE
properties:
value:
- $ref: '#/components/schemas/JobResult_status_value'
+ $ref: "#/components/schemas/JobResult_status_value"
label:
- $ref: '#/components/schemas/JobResult_status_value'
+ $ref: "#/components/schemas/JobResult_status_value"
readOnly: true
type: object
ObjectChange_action_value:
@@ -222290,80 +225801,573 @@ components:
value: create
properties:
value:
- $ref: '#/components/schemas/ObjectChange_action_value'
+ $ref: "#/components/schemas/ObjectChange_action_value"
label:
- $ref: '#/components/schemas/ObjectChange_action_label'
+ $ref: "#/components/schemas/ObjectChange_action_label"
readOnly: true
type: object
PatchedWritableCableRequest_type:
- oneOf:
- - $ref: '#/components/schemas/CableTypeChoices'
- - $ref: '#/components/schemas/BlankEnum'
+ enum:
+ - cat3
+ - cat5
+ - cat5e
+ - cat6
+ - cat6a
+ - cat7
+ - cat7a
+ - cat8
+ - dac-active
+ - dac-passive
+ - mrj21-trunk
+ - coaxial
+ - mmf
+ - mmf-om1
+ - mmf-om2
+ - mmf-om3
+ - mmf-om4
+ - mmf-om5
+ - smf
+ - smf-os1
+ - smf-os2
+ - aoc
+ - power
+ - other
+ - ""
+ type: string
PatchedWritableCableRequest_length_unit:
- oneOf:
- - $ref: '#/components/schemas/LengthUnitEnum'
- - $ref: '#/components/schemas/BlankEnum'
+ enum:
+ - km
+ - m
+ - cm
+ - mi
+ - ft
+ - in
+ - ""
+ type: string
PatchedWritableConsolePortRequest_type:
description: Physical port type
- oneOf:
- - $ref: '#/components/schemas/ConsolePortTypeChoices'
- - $ref: '#/components/schemas/BlankEnum'
+ enum:
+ - de-9
+ - db-25
+ - rj-11
+ - rj-12
+ - rj-45
+ - mini-din-8
+ - usb-a
+ - usb-b
+ - usb-c
+ - usb-mini-a
+ - usb-mini-b
+ - usb-micro-a
+ - usb-micro-b
+ - usb-micro-ab
+ - other
+ - ""
+ type: string
PatchedWritableConsolePortTemplateRequest_type:
- oneOf:
- - $ref: '#/components/schemas/ConsolePortTypeChoices'
- - $ref: '#/components/schemas/BlankEnum'
+ enum:
+ - de-9
+ - db-25
+ - rj-11
+ - rj-12
+ - rj-45
+ - mini-din-8
+ - usb-a
+ - usb-b
+ - usb-c
+ - usb-mini-a
+ - usb-mini-b
+ - usb-micro-a
+ - usb-micro-b
+ - usb-micro-ab
+ - other
+ - ""
+ type: string
Rack_face:
- oneOf:
- - $ref: '#/components/schemas/FaceEnum'
- - $ref: '#/components/schemas/BlankEnum'
+ enum:
+ - front
+ - rear
+ - ""
title: Rack face
+ type: string
Parent_child_status:
description: Parent devices house child devices in device bays. Leave blank
if this device type is neither a parent nor a child.
- oneOf:
- - $ref: '#/components/schemas/SubdeviceRoleEnum'
- - $ref: '#/components/schemas/BlankEnum'
+ enum:
+ - parent
+ - child
+ - ""
title: Parent/child status
+ type: string
Redundancy_Protocol:
- oneOf:
- - $ref: '#/components/schemas/InterfaceRedundancyGroupProtocolChoices'
- - $ref: '#/components/schemas/BlankEnum'
+ enum:
+ - hsrp
+ - vrrp
+ - glbp
+ - carp
+ - ""
title: Redundancy Protocol
+ type: string
PatchedWritableInterfaceRequest_mode:
- oneOf:
- - $ref: '#/components/schemas/ModeEnum'
- - $ref: '#/components/schemas/BlankEnum'
+ enum:
+ - access
+ - tagged
+ - tagged-all
+ - ""
+ type: string
+ PatchedWritablePowerFeedRequest_power_path:
+ description: Physical power distribution redundancy path.
+ enum:
+ - a
+ - b
+ - ""
+ type: string
PatchedWritablePowerOutletRequest_type:
description: Physical port type
- oneOf:
- - $ref: '#/components/schemas/PowerOutletTypeChoices'
- - $ref: '#/components/schemas/BlankEnum'
+ enum:
+ - iec-60320-c5
+ - iec-60320-c7
+ - iec-60320-c13
+ - iec-60320-c15
+ - iec-60320-c19
+ - iec-60320-c21
+ - iec-60309-p-n-e-4h
+ - iec-60309-p-n-e-6h
+ - iec-60309-p-n-e-9h
+ - iec-60309-2p-e-4h
+ - iec-60309-2p-e-6h
+ - iec-60309-2p-e-9h
+ - iec-60309-3p-e-4h
+ - iec-60309-3p-e-6h
+ - iec-60309-3p-e-9h
+ - iec-60309-3p-n-e-4h
+ - iec-60309-3p-n-e-6h
+ - iec-60309-3p-n-e-9h
+ - iec-60906-1
+ - nbr-14136-10a
+ - nbr-14136-20a
+ - nema-1-15r
+ - nema-5-15r
+ - nema-5-20r
+ - nema-5-30r
+ - nema-5-50r
+ - nema-6-15r
+ - nema-6-20r
+ - nema-6-30r
+ - nema-6-50r
+ - nema-10-30r
+ - nema-10-50r
+ - nema-14-20r
+ - nema-14-30r
+ - nema-14-50r
+ - nema-14-60r
+ - nema-15-15r
+ - nema-15-20r
+ - nema-15-30r
+ - nema-15-50r
+ - nema-15-60r
+ - nema-l1-15r
+ - nema-l5-15r
+ - nema-l5-20r
+ - nema-l5-30r
+ - nema-l5-50r
+ - nema-l6-15r
+ - nema-l6-20r
+ - nema-l6-30r
+ - nema-l6-50r
+ - nema-l10-30r
+ - nema-l14-20r
+ - nema-l14-30r
+ - nema-l14-50r
+ - nema-l14-60r
+ - nema-l15-20r
+ - nema-l15-30r
+ - nema-l15-50r
+ - nema-l15-60r
+ - nema-l21-20r
+ - nema-l21-30r
+ - nema-l22-30r
+ - CS6360C
+ - CS6364C
+ - CS8164C
+ - CS8264C
+ - CS8364C
+ - CS8464C
+ - ita-e
+ - ita-f
+ - ita-g
+ - ita-h
+ - ita-i
+ - ita-j
+ - ita-k
+ - ita-l
+ - ita-m
+ - ita-n
+ - ita-o
+ - ita-multistandard
+ - usb-a
+ - usb-micro-b
+ - usb-c
+ - dc-terminal
+ - hdot-cx
+ - saf-d-grid
+ - neutrik-powercon-20a
+ - neutrik-powercon-32a
+ - neutrik-powercon-true1
+ - neutrik-powercon-true1-top
+ - ubiquiti-smartpower
+ - eaton-c39
+ - hardwired
+ - other
+ - ""
+ type: string
PatchedWritablePowerOutletRequest_feed_leg:
description: Phase (for three-phase feeds)
- oneOf:
- - $ref: '#/components/schemas/FeedLegEnum'
- - $ref: '#/components/schemas/BlankEnum'
+ enum:
+ - A
+ - B
+ - C
+ - ""
+ type: string
PatchedWritablePowerOutletTemplateRequest_type:
- oneOf:
- - $ref: '#/components/schemas/PowerOutletTypeChoices'
- - $ref: '#/components/schemas/BlankEnum'
+ enum:
+ - iec-60320-c5
+ - iec-60320-c7
+ - iec-60320-c13
+ - iec-60320-c15
+ - iec-60320-c19
+ - iec-60320-c21
+ - iec-60309-p-n-e-4h
+ - iec-60309-p-n-e-6h
+ - iec-60309-p-n-e-9h
+ - iec-60309-2p-e-4h
+ - iec-60309-2p-e-6h
+ - iec-60309-2p-e-9h
+ - iec-60309-3p-e-4h
+ - iec-60309-3p-e-6h
+ - iec-60309-3p-e-9h
+ - iec-60309-3p-n-e-4h
+ - iec-60309-3p-n-e-6h
+ - iec-60309-3p-n-e-9h
+ - iec-60906-1
+ - nbr-14136-10a
+ - nbr-14136-20a
+ - nema-1-15r
+ - nema-5-15r
+ - nema-5-20r
+ - nema-5-30r
+ - nema-5-50r
+ - nema-6-15r
+ - nema-6-20r
+ - nema-6-30r
+ - nema-6-50r
+ - nema-10-30r
+ - nema-10-50r
+ - nema-14-20r
+ - nema-14-30r
+ - nema-14-50r
+ - nema-14-60r
+ - nema-15-15r
+ - nema-15-20r
+ - nema-15-30r
+ - nema-15-50r
+ - nema-15-60r
+ - nema-l1-15r
+ - nema-l5-15r
+ - nema-l5-20r
+ - nema-l5-30r
+ - nema-l5-50r
+ - nema-l6-15r
+ - nema-l6-20r
+ - nema-l6-30r
+ - nema-l6-50r
+ - nema-l10-30r
+ - nema-l14-20r
+ - nema-l14-30r
+ - nema-l14-50r
+ - nema-l14-60r
+ - nema-l15-20r
+ - nema-l15-30r
+ - nema-l15-50r
+ - nema-l15-60r
+ - nema-l21-20r
+ - nema-l21-30r
+ - nema-l22-30r
+ - CS6360C
+ - CS6364C
+ - CS8164C
+ - CS8264C
+ - CS8364C
+ - CS8464C
+ - ita-e
+ - ita-f
+ - ita-g
+ - ita-h
+ - ita-i
+ - ita-j
+ - ita-k
+ - ita-l
+ - ita-m
+ - ita-n
+ - ita-o
+ - ita-multistandard
+ - usb-a
+ - usb-micro-b
+ - usb-c
+ - dc-terminal
+ - hdot-cx
+ - saf-d-grid
+ - neutrik-powercon-20a
+ - neutrik-powercon-32a
+ - neutrik-powercon-true1
+ - neutrik-powercon-true1-top
+ - ubiquiti-smartpower
+ - eaton-c39
+ - hardwired
+ - other
+ - ""
+ type: string
+ PatchedWritablePowerPanelRequest_panel_type:
+ enum:
+ - utility
+ - generator
+ - switchgear
+ - mdp
+ - ups
+ - transfer-switch
+ - pdu
+ - panelboard
+ - mlc
+ - rpp
+ - ""
+ type: string
PatchedWritablePowerPortRequest_type:
description: Physical port type
- oneOf:
- - $ref: '#/components/schemas/PowerPortTypeChoices'
- - $ref: '#/components/schemas/BlankEnum'
+ enum:
+ - iec-60320-c6
+ - iec-60320-c8
+ - iec-60320-c14
+ - iec-60320-c16
+ - iec-60320-c20
+ - iec-60320-c22
+ - iec-60309-p-n-e-4h
+ - iec-60309-p-n-e-6h
+ - iec-60309-p-n-e-9h
+ - iec-60309-2p-e-4h
+ - iec-60309-2p-e-6h
+ - iec-60309-2p-e-9h
+ - iec-60309-3p-e-4h
+ - iec-60309-3p-e-6h
+ - iec-60309-3p-e-9h
+ - iec-60309-3p-n-e-4h
+ - iec-60309-3p-n-e-6h
+ - iec-60309-3p-n-e-9h
+ - iec-60906-1
+ - nbr-14136-10a
+ - nbr-14136-20a
+ - nema-1-15p
+ - nema-5-15p
+ - nema-5-20p
+ - nema-5-30p
+ - nema-5-50p
+ - nema-6-15p
+ - nema-6-20p
+ - nema-6-30p
+ - nema-6-50p
+ - nema-10-30p
+ - nema-10-50p
+ - nema-14-20p
+ - nema-14-30p
+ - nema-14-50p
+ - nema-14-60p
+ - nema-15-15p
+ - nema-15-20p
+ - nema-15-30p
+ - nema-15-50p
+ - nema-15-60p
+ - nema-l1-15p
+ - nema-l5-15p
+ - nema-l5-20p
+ - nema-l5-30p
+ - nema-l5-50p
+ - nema-l6-15p
+ - nema-l6-20p
+ - nema-l6-30p
+ - nema-l6-50p
+ - nema-l10-30p
+ - nema-l14-20p
+ - nema-l14-30p
+ - nema-l14-50p
+ - nema-l14-60p
+ - nema-l15-20p
+ - nema-l15-30p
+ - nema-l15-50p
+ - nema-l15-60p
+ - nema-l21-20p
+ - nema-l21-30p
+ - nema-l22-30p
+ - cs6361c
+ - cs6365c
+ - cs8165c
+ - cs8265c
+ - cs8365c
+ - cs8465c
+ - ita-c
+ - ita-e
+ - ita-f
+ - ita-ef
+ - ita-g
+ - ita-h
+ - ita-i
+ - ita-j
+ - ita-k
+ - ita-l
+ - ita-m
+ - ita-n
+ - ita-o
+ - usb-a
+ - usb-b
+ - usb-c
+ - usb-mini-a
+ - usb-mini-b
+ - usb-micro-a
+ - usb-micro-b
+ - usb-micro-ab
+ - usb-3-b
+ - usb-3-micro-b
+ - dc-terminal
+ - saf-d-grid
+ - neutrik-powercon-20
+ - neutrik-powercon-32
+ - neutrik-powercon-true1
+ - neutrik-powercon-true1-top
+ - ubiquiti-smartpower
+ - hardwired
+ - other
+ - ""
+ type: string
PatchedWritablePowerPortTemplateRequest_type:
- oneOf:
- - $ref: '#/components/schemas/PowerPortTypeChoices'
- - $ref: '#/components/schemas/BlankEnum'
+ enum:
+ - iec-60320-c6
+ - iec-60320-c8
+ - iec-60320-c14
+ - iec-60320-c16
+ - iec-60320-c20
+ - iec-60320-c22
+ - iec-60309-p-n-e-4h
+ - iec-60309-p-n-e-6h
+ - iec-60309-p-n-e-9h
+ - iec-60309-2p-e-4h
+ - iec-60309-2p-e-6h
+ - iec-60309-2p-e-9h
+ - iec-60309-3p-e-4h
+ - iec-60309-3p-e-6h
+ - iec-60309-3p-e-9h
+ - iec-60309-3p-n-e-4h
+ - iec-60309-3p-n-e-6h
+ - iec-60309-3p-n-e-9h
+ - iec-60906-1
+ - nbr-14136-10a
+ - nbr-14136-20a
+ - nema-1-15p
+ - nema-5-15p
+ - nema-5-20p
+ - nema-5-30p
+ - nema-5-50p
+ - nema-6-15p
+ - nema-6-20p
+ - nema-6-30p
+ - nema-6-50p
+ - nema-10-30p
+ - nema-10-50p
+ - nema-14-20p
+ - nema-14-30p
+ - nema-14-50p
+ - nema-14-60p
+ - nema-15-15p
+ - nema-15-20p
+ - nema-15-30p
+ - nema-15-50p
+ - nema-15-60p
+ - nema-l1-15p
+ - nema-l5-15p
+ - nema-l5-20p
+ - nema-l5-30p
+ - nema-l5-50p
+ - nema-l6-15p
+ - nema-l6-20p
+ - nema-l6-30p
+ - nema-l6-50p
+ - nema-l10-30p
+ - nema-l14-20p
+ - nema-l14-30p
+ - nema-l14-50p
+ - nema-l14-60p
+ - nema-l15-20p
+ - nema-l15-30p
+ - nema-l15-50p
+ - nema-l15-60p
+ - nema-l21-20p
+ - nema-l21-30p
+ - nema-l22-30p
+ - cs6361c
+ - cs6365c
+ - cs8165c
+ - cs8265c
+ - cs8365c
+ - cs8465c
+ - ita-c
+ - ita-e
+ - ita-f
+ - ita-ef
+ - ita-g
+ - ita-h
+ - ita-i
+ - ita-j
+ - ita-k
+ - ita-l
+ - ita-m
+ - ita-n
+ - ita-o
+ - usb-a
+ - usb-b
+ - usb-c
+ - usb-mini-a
+ - usb-mini-b
+ - usb-micro-a
+ - usb-micro-b
+ - usb-micro-ab
+ - usb-3-b
+ - usb-3-micro-b
+ - dc-terminal
+ - saf-d-grid
+ - neutrik-powercon-20
+ - neutrik-powercon-32
+ - neutrik-powercon-true1
+ - neutrik-powercon-true1-top
+ - ubiquiti-smartpower
+ - hardwired
+ - other
+ - ""
+ type: string
PatchedWritableRackRequest_type:
- oneOf:
- - $ref: '#/components/schemas/RackTypeChoices'
- - $ref: '#/components/schemas/BlankEnum'
+ enum:
+ - 2-post-frame
+ - 4-post-frame
+ - 4-post-cabinet
+ - wall-frame
+ - wall-frame-vertical
+ - wall-cabinet
+ - wall-cabinet-vertical
+ - other
+ - ""
+ type: string
PatchedWritableRackRequest_outer_unit:
- oneOf:
- - $ref: '#/components/schemas/OuterUnitEnum'
- - $ref: '#/components/schemas/BlankEnum'
+ enum:
+ - mm
+ - in
+ - ""
+ type: string
PowerFeed_type_value:
default: primary
enum:
@@ -222382,9 +226386,29 @@ components:
value: primary
properties:
value:
- $ref: '#/components/schemas/PowerFeed_type_value'
+ $ref: "#/components/schemas/PowerFeed_type_value"
label:
- $ref: '#/components/schemas/PowerFeed_type_label'
+ $ref: "#/components/schemas/PowerFeed_type_label"
+ type: object
+ PowerFeed_power_path_value:
+ enum:
+ - a
+ - b
+ type: string
+ PowerFeed_power_path_label:
+ enum:
+ - Path A
+ - Path B
+ type: string
+ PowerFeed_power_path:
+ example:
+ label: Path A
+ value: a
+ properties:
+ value:
+ $ref: "#/components/schemas/PowerFeed_power_path_value"
+ label:
+ $ref: "#/components/schemas/PowerFeed_power_path_label"
type: object
PowerFeed_supply_value:
default: ac
@@ -222404,9 +226428,9 @@ components:
value: ac
properties:
value:
- $ref: '#/components/schemas/PowerFeed_supply_value'
+ $ref: "#/components/schemas/PowerFeed_supply_value"
label:
- $ref: '#/components/schemas/PowerFeed_supply_label'
+ $ref: "#/components/schemas/PowerFeed_supply_label"
type: object
PowerFeed_phase_value:
default: single-phase
@@ -222426,9 +226450,32 @@ components:
value: single-phase
properties:
value:
- $ref: '#/components/schemas/PowerFeed_phase_value'
+ $ref: "#/components/schemas/PowerFeed_phase_value"
label:
- $ref: '#/components/schemas/PowerFeed_phase_label'
+ $ref: "#/components/schemas/PowerFeed_phase_label"
+ type: object
+ PowerFeed_breaker_pole_count_value:
+ enum:
+ - 1
+ - 2
+ - 3
+ type: integer
+ PowerFeed_breaker_pole_count_label:
+ enum:
+ - 1-Pole
+ - 2-Pole
+ - 3-Pole
+ type: string
+ PowerFeed_breaker_pole_count:
+ example:
+ label: 1-Pole
+ value: 0
+ nullable: true
+ properties:
+ value:
+ $ref: "#/components/schemas/PowerFeed_breaker_pole_count_value"
+ label:
+ $ref: "#/components/schemas/PowerFeed_breaker_pole_count_label"
type: object
PowerOutlet_type_value:
enum:
@@ -222523,6 +226570,7 @@ components:
- neutrik-powercon-true1
- neutrik-powercon-true1-top
- ubiquiti-smartpower
+ - eaton-c39
- hardwired
- other
type: string
@@ -222619,6 +226667,7 @@ components:
- Neutrik powerCON TRUE1
- Neutrik powerCON TRUE1 TOP
- Ubiquiti SmartPower
+ - Eaton C39
- Hardwired
- Other
type: string
@@ -222628,9 +226677,9 @@ components:
value: iec-60320-c5
properties:
value:
- $ref: '#/components/schemas/PowerOutlet_type_value'
+ $ref: "#/components/schemas/PowerOutlet_type_value"
label:
- $ref: '#/components/schemas/PowerOutlet_type_label'
+ $ref: "#/components/schemas/PowerOutlet_type_label"
type: object
PowerOutlet_feed_leg_value:
enum:
@@ -222644,9 +226693,45 @@ components:
value: A
properties:
value:
- $ref: '#/components/schemas/PowerOutlet_feed_leg_value'
+ $ref: "#/components/schemas/PowerOutlet_feed_leg_value"
+ label:
+ $ref: "#/components/schemas/PowerOutlet_feed_leg_value"
+ type: object
+ PowerPanel_panel_type_value:
+ enum:
+ - utility
+ - generator
+ - switchgear
+ - mdp
+ - ups
+ - transfer-switch
+ - pdu
+ - panelboard
+ - mlc
+ - rpp
+ type: string
+ PowerPanel_panel_type_label:
+ enum:
+ - Utility
+ - Generator
+ - Switchgear
+ - Main Distribution Panel (MDP)
+ - Uninterruptible Power Supply (UPS)
+ - Transfer Switch (TS)
+ - Power Distribution Unit (PDU)
+ - Panelboard
+ - Mini Load Center (MLC)
+ - Remote Power Panel (RPP)
+ type: string
+ PowerPanel_panel_type:
+ example:
+ label: Utility
+ value: utility
+ properties:
+ value:
+ $ref: "#/components/schemas/PowerPanel_panel_type_value"
label:
- $ref: '#/components/schemas/PowerOutlet_feed_leg_value'
+ $ref: "#/components/schemas/PowerPanel_panel_type_label"
type: object
PowerPort_type_value:
enum:
@@ -222860,9 +226945,9 @@ components:
value: iec-60320-c6
properties:
value:
- $ref: '#/components/schemas/PowerPort_type_value'
+ $ref: "#/components/schemas/PowerPort_type_value"
label:
- $ref: '#/components/schemas/PowerPort_type_label'
+ $ref: "#/components/schemas/PowerPort_type_label"
type: object
Prefix_type_value:
default: network
@@ -222884,9 +226969,9 @@ components:
value: network
properties:
value:
- $ref: '#/components/schemas/Prefix_type_value'
+ $ref: "#/components/schemas/Prefix_type_value"
label:
- $ref: '#/components/schemas/Prefix_type_label'
+ $ref: "#/components/schemas/Prefix_type_label"
type: object
Rack_type_value:
enum:
@@ -222916,9 +227001,9 @@ components:
value: 2-post-frame
properties:
value:
- $ref: '#/components/schemas/Rack_type_value'
+ $ref: "#/components/schemas/Rack_type_value"
label:
- $ref: '#/components/schemas/Rack_type_label'
+ $ref: "#/components/schemas/Rack_type_label"
type: object
Rack_width_value:
enum:
@@ -222941,9 +227026,9 @@ components:
value: 0
properties:
value:
- $ref: '#/components/schemas/Rack_width_value'
+ $ref: "#/components/schemas/Rack_width_value"
label:
- $ref: '#/components/schemas/Rack_width_label'
+ $ref: "#/components/schemas/Rack_width_label"
type: object
Rack_outer_unit_value:
enum:
@@ -222961,9 +227046,9 @@ components:
value: mm
properties:
value:
- $ref: '#/components/schemas/Rack_outer_unit_value'
+ $ref: "#/components/schemas/Rack_outer_unit_value"
label:
- $ref: '#/components/schemas/Rack_outer_unit_label'
+ $ref: "#/components/schemas/Rack_outer_unit_label"
type: object
RackUnit_face:
example:
@@ -222971,21 +227056,63 @@ components:
value: front
properties:
value:
- $ref: '#/components/schemas/Device_face_value'
+ $ref: "#/components/schemas/Device_face_value"
label:
- $ref: '#/components/schemas/Device_face_label'
+ $ref: "#/components/schemas/Device_face_label"
readOnly: true
type: object
+ RadioProfile_channel_width_inner_value:
+ enum:
+ - 20
+ - 40
+ - 80
+ - 160
+ type: integer
+ RadioProfile_channel_width_inner_label:
+ enum:
+ - 20 MHz
+ - 40 MHz
+ - 80 MHz
+ - 160 MHz
+ type: string
+ RadioProfile_channel_width_inner:
+ example:
+ label: 20 MHz
+ value: 0
+ properties:
+ value:
+ $ref: "#/components/schemas/RadioProfile_channel_width_inner_value"
+ label:
+ $ref: "#/components/schemas/RadioProfile_channel_width_inner_label"
+ type: object
+ Job_Queue_Override:
+ example:
+ object_type: app_label.modelname
+ id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ url: https://openapi-generator.tech
+ nullable: true
+ properties:
+ id:
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
+ object_type:
+ example: app_label.modelname
+ pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
+ type: string
+ url:
+ format: uri
+ type: string
+ title: Job Queue Override
+ type: object
ScheduledJob_user:
description: User that requested the schedule
example:
object_type: app_label.modelname
- id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
+ id: null
url: https://openapi-generator.tech
nullable: true
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -223003,7 +227130,7 @@ components:
nullable: true
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
@@ -223028,9 +227155,9 @@ components:
value: tcp
properties:
value:
- $ref: '#/components/schemas/Service_protocol_value'
+ $ref: "#/components/schemas/Service_protocol_value"
label:
- $ref: '#/components/schemas/Service_protocol_label'
+ $ref: "#/components/schemas/Service_protocol_label"
type: object
User_specific_default_saved_views:
example:
@@ -223039,7 +227166,7 @@ components:
url: https://openapi-generator.tech
properties:
id:
- $ref: '#/components/schemas/BulkWritableCableRequest_status_id'
+ $ref: "#/components/schemas/BulkWritableCableRequest_status_id"
object_type:
example: app_label.modelname
pattern: "^[a-z][a-z0-9_]+\\.[a-z][a-z0-9_]+$"
diff --git a/api_circuits.go b/api_circuits.go
index 1e9e65e5..c7eff559 100644
--- a/api_circuits.go
+++ b/api_circuits.go
@@ -3,7 +3,7 @@ API Documentation
Source of truth and network automation platform
-API version: 2.3.4 (2.3)
+API version: 2.4.21 (2.4)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -675,7 +675,7 @@ type ApiCircuitsCircuitTerminationsListRequest struct {
connected *bool
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
description *[]string
descriptionIc *[]string
descriptionIe *[]string
@@ -691,23 +691,11 @@ type ApiCircuitsCircuitTerminationsListRequest struct {
descriptionNre *[]string
descriptionRe *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
hasCable *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
limit *int32
location *[]string
locationIsnull *bool
@@ -744,7 +732,7 @@ type ApiCircuitsCircuitTerminationsListRequest struct {
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
termSide *[]string
termSideIc *[]string
termSideIe *[]string
@@ -781,6 +769,7 @@ type ApiCircuitsCircuitTerminationsListRequest struct {
xconnectIdNre *[]string
xconnectIdRe *[]string
depth *int32
+ excludeM2m *bool
}
// Cable
@@ -843,8 +832,7 @@ func (r ApiCircuitsCircuitTerminationsListRequest) ContactsIsnull(contactsIsnull
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiCircuitsCircuitTerminationsListRequest) ContactsN(contactsN string) ApiCircuitsCircuitTerminationsListRequest {
+func (r ApiCircuitsCircuitTerminationsListRequest) ContactsN(contactsN []string) ApiCircuitsCircuitTerminationsListRequest {
r.contactsN = &contactsN
return r
}
@@ -924,8 +912,7 @@ func (r ApiCircuitsCircuitTerminationsListRequest) DynamicGroups(dynamicGroups [
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiCircuitsCircuitTerminationsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiCircuitsCircuitTerminationsListRequest {
+func (r ApiCircuitsCircuitTerminationsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiCircuitsCircuitTerminationsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -947,71 +934,11 @@ func (r ApiCircuitsCircuitTerminationsListRequest) Id(id []string) ApiCircuitsCi
return r
}
-func (r ApiCircuitsCircuitTerminationsListRequest) IdIc(idIc []string) ApiCircuitsCircuitTerminationsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiCircuitsCircuitTerminationsListRequest) IdIe(idIe []string) ApiCircuitsCircuitTerminationsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiCircuitsCircuitTerminationsListRequest) IdIew(idIew []string) ApiCircuitsCircuitTerminationsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiCircuitsCircuitTerminationsListRequest) IdIre(idIre []string) ApiCircuitsCircuitTerminationsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiCircuitsCircuitTerminationsListRequest) IdIsw(idIsw []string) ApiCircuitsCircuitTerminationsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiCircuitsCircuitTerminationsListRequest) IdN(idN []string) ApiCircuitsCircuitTerminationsListRequest {
r.idN = &idN
return r
}
-func (r ApiCircuitsCircuitTerminationsListRequest) IdNic(idNic []string) ApiCircuitsCircuitTerminationsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiCircuitsCircuitTerminationsListRequest) IdNie(idNie []string) ApiCircuitsCircuitTerminationsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiCircuitsCircuitTerminationsListRequest) IdNiew(idNiew []string) ApiCircuitsCircuitTerminationsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiCircuitsCircuitTerminationsListRequest) IdNire(idNire []string) ApiCircuitsCircuitTerminationsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiCircuitsCircuitTerminationsListRequest) IdNisw(idNisw []string) ApiCircuitsCircuitTerminationsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiCircuitsCircuitTerminationsListRequest) IdNre(idNre []string) ApiCircuitsCircuitTerminationsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiCircuitsCircuitTerminationsListRequest) IdRe(idRe []string) ApiCircuitsCircuitTerminationsListRequest {
- r.idRe = &idRe
- return r
-}
-
// Number of results to return per page.
func (r ApiCircuitsCircuitTerminationsListRequest) Limit(limit int32) ApiCircuitsCircuitTerminationsListRequest {
r.limit = &limit
@@ -1199,8 +1126,7 @@ func (r ApiCircuitsCircuitTerminationsListRequest) TeamsIsnull(teamsIsnull bool)
return r
}
-// Exclude Teams (name or ID)
-func (r ApiCircuitsCircuitTerminationsListRequest) TeamsN(teamsN string) ApiCircuitsCircuitTerminationsListRequest {
+func (r ApiCircuitsCircuitTerminationsListRequest) TeamsN(teamsN []string) ApiCircuitsCircuitTerminationsListRequest {
r.teamsN = &teamsN
return r
}
@@ -1386,6 +1312,12 @@ func (r ApiCircuitsCircuitTerminationsListRequest) Depth(depth int32) ApiCircuit
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiCircuitsCircuitTerminationsListRequest) ExcludeM2m(excludeM2m bool) ApiCircuitsCircuitTerminationsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiCircuitsCircuitTerminationsListRequest) Execute() (*PaginatedCircuitTerminationList, *http.Response, error) {
return r.ApiService.CircuitsCircuitTerminationsListExecute(r)
}
@@ -1516,7 +1448,15 @@ func (a *CircuitsAPIService) CircuitsCircuitTerminationsListExecute(r ApiCircuit
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.description != nil {
t := *r.description
@@ -1684,7 +1624,15 @@ func (a *CircuitsAPIService) CircuitsCircuitTerminationsListExecute(r ApiCircuit
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -1703,61 +1651,6 @@ func (a *CircuitsAPIService) CircuitsCircuitTerminationsListExecute(r ApiCircuit
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -1769,83 +1662,6 @@ func (a *CircuitsAPIService) CircuitsCircuitTerminationsListExecute(r ApiCircuit
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.limit != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
@@ -2171,7 +1987,15 @@ func (a *CircuitsAPIService) CircuitsCircuitTerminationsListExecute(r ApiCircuit
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.termSide != nil {
t := *r.termSide
@@ -2553,8 +2377,16 @@ func (a *CircuitsAPIService) CircuitsCircuitTerminationsListExecute(r ApiCircuit
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -2769,6 +2601,7 @@ type ApiCircuitsCircuitTerminationsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiCircuitsCircuitTerminationsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCircuitsCircuitTerminationsNotesListRequest {
@@ -2794,6 +2627,12 @@ func (r ApiCircuitsCircuitTerminationsNotesListRequest) Depth(depth int32) ApiCi
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiCircuitsCircuitTerminationsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiCircuitsCircuitTerminationsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiCircuitsCircuitTerminationsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.CircuitsCircuitTerminationsNotesListExecute(r)
}
@@ -2849,8 +2688,16 @@ func (a *CircuitsAPIService) CircuitsCircuitTerminationsNotesListExecute(r ApiCi
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -3060,6 +2907,7 @@ type ApiCircuitsCircuitTerminationsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiCircuitsCircuitTerminationsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCircuitsCircuitTerminationsRetrieveRequest {
@@ -3073,6 +2921,12 @@ func (r ApiCircuitsCircuitTerminationsRetrieveRequest) Depth(depth int32) ApiCir
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiCircuitsCircuitTerminationsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiCircuitsCircuitTerminationsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiCircuitsCircuitTerminationsRetrieveRequest) Execute() (*CircuitTermination, *http.Response, error) {
return r.ApiService.CircuitsCircuitTerminationsRetrieveExecute(r)
}
@@ -3122,8 +2976,16 @@ func (a *CircuitsAPIService) CircuitsCircuitTerminationsRetrieveExecute(r ApiCir
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -3199,6 +3061,7 @@ type ApiCircuitsCircuitTerminationsTraceRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiCircuitsCircuitTerminationsTraceRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCircuitsCircuitTerminationsTraceRetrieveRequest {
@@ -3212,6 +3075,12 @@ func (r ApiCircuitsCircuitTerminationsTraceRetrieveRequest) Depth(depth int32) A
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiCircuitsCircuitTerminationsTraceRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiCircuitsCircuitTerminationsTraceRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiCircuitsCircuitTerminationsTraceRetrieveRequest) Execute() (*CircuitTermination, *http.Response, error) {
return r.ApiService.CircuitsCircuitTerminationsTraceRetrieveExecute(r)
}
@@ -3261,8 +3130,16 @@ func (a *CircuitsAPIService) CircuitsCircuitTerminationsTraceRetrieveExecute(r A
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -4110,7 +3987,7 @@ type ApiCircuitsCircuitTypesListRequest struct {
ApiService *CircuitsAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -4133,22 +4010,10 @@ type ApiCircuitsCircuitTypesListRequest struct {
descriptionNre *[]string
descriptionRe *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -4176,8 +4041,9 @@ type ApiCircuitsCircuitTypesListRequest struct {
sort *string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiCircuitsCircuitTypesListRequest) Contacts(contacts []string) ApiCircuitsCircuitTypesListRequest {
@@ -4191,8 +4057,7 @@ func (r ApiCircuitsCircuitTypesListRequest) ContactsIsnull(contactsIsnull bool)
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiCircuitsCircuitTypesListRequest) ContactsN(contactsN string) ApiCircuitsCircuitTypesListRequest {
+func (r ApiCircuitsCircuitTypesListRequest) ContactsN(contactsN []string) ApiCircuitsCircuitTypesListRequest {
r.contactsN = &contactsN
return r
}
@@ -4307,8 +4172,7 @@ func (r ApiCircuitsCircuitTypesListRequest) DynamicGroups(dynamicGroups []string
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiCircuitsCircuitTypesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiCircuitsCircuitTypesListRequest {
+func (r ApiCircuitsCircuitTypesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiCircuitsCircuitTypesListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -4324,71 +4188,11 @@ func (r ApiCircuitsCircuitTypesListRequest) Id(id []string) ApiCircuitsCircuitTy
return r
}
-func (r ApiCircuitsCircuitTypesListRequest) IdIc(idIc []string) ApiCircuitsCircuitTypesListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiCircuitsCircuitTypesListRequest) IdIe(idIe []string) ApiCircuitsCircuitTypesListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiCircuitsCircuitTypesListRequest) IdIew(idIew []string) ApiCircuitsCircuitTypesListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiCircuitsCircuitTypesListRequest) IdIre(idIre []string) ApiCircuitsCircuitTypesListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiCircuitsCircuitTypesListRequest) IdIsw(idIsw []string) ApiCircuitsCircuitTypesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiCircuitsCircuitTypesListRequest) IdN(idN []string) ApiCircuitsCircuitTypesListRequest {
r.idN = &idN
return r
}
-func (r ApiCircuitsCircuitTypesListRequest) IdNic(idNic []string) ApiCircuitsCircuitTypesListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiCircuitsCircuitTypesListRequest) IdNie(idNie []string) ApiCircuitsCircuitTypesListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiCircuitsCircuitTypesListRequest) IdNiew(idNiew []string) ApiCircuitsCircuitTypesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiCircuitsCircuitTypesListRequest) IdNire(idNire []string) ApiCircuitsCircuitTypesListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiCircuitsCircuitTypesListRequest) IdNisw(idNisw []string) ApiCircuitsCircuitTypesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiCircuitsCircuitTypesListRequest) IdNre(idNre []string) ApiCircuitsCircuitTypesListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiCircuitsCircuitTypesListRequest) IdRe(idRe []string) ApiCircuitsCircuitTypesListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiCircuitsCircuitTypesListRequest) LastUpdated(lastUpdated []time.Time) ApiCircuitsCircuitTypesListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -4529,8 +4333,7 @@ func (r ApiCircuitsCircuitTypesListRequest) TeamsIsnull(teamsIsnull bool) ApiCir
return r
}
-// Exclude Teams (name or ID)
-func (r ApiCircuitsCircuitTypesListRequest) TeamsN(teamsN string) ApiCircuitsCircuitTypesListRequest {
+func (r ApiCircuitsCircuitTypesListRequest) TeamsN(teamsN []string) ApiCircuitsCircuitTypesListRequest {
r.teamsN = &teamsN
return r
}
@@ -4541,6 +4344,12 @@ func (r ApiCircuitsCircuitTypesListRequest) Depth(depth int32) ApiCircuitsCircui
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiCircuitsCircuitTypesListRequest) ExcludeM2m(excludeM2m bool) ApiCircuitsCircuitTypesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiCircuitsCircuitTypesListRequest) Execute() (*PaginatedCircuitTypeList, *http.Response, error) {
return r.ApiService.CircuitsCircuitTypesListExecute(r)
}
@@ -4596,7 +4405,15 @@ func (a *CircuitsAPIService) CircuitsCircuitTypesListExecute(r ApiCircuitsCircui
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -4833,7 +4650,15 @@ func (a *CircuitsAPIService) CircuitsCircuitTypesListExecute(r ApiCircuitsCircui
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -4849,241 +4674,109 @@ func (a *CircuitsAPIService) CircuitsCircuitTypesListExecute(r ApiCircuitsCircui
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
+ if r.idN != nil {
+ t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idIe != nil {
- t := *r.idIe
+ if r.lastUpdated != nil {
+ t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "form", "multi")
}
}
- if r.idIew != nil {
- t := *r.idIew
+ if r.lastUpdatedGt != nil {
+ t := *r.lastUpdatedGt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", t, "form", "multi")
}
}
- if r.idIre != nil {
- t := *r.idIre
+ if r.lastUpdatedGte != nil {
+ t := *r.lastUpdatedGte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", t, "form", "multi")
}
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.lastUpdatedIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__isnull", r.lastUpdatedIsnull, "form", "")
+ }
+ if r.lastUpdatedLt != nil {
+ t := *r.lastUpdatedLt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", t, "form", "multi")
}
}
- if r.idN != nil {
- t := *r.idN
+ if r.lastUpdatedLte != nil {
+ t := *r.lastUpdatedLte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
+ if r.lastUpdatedN != nil {
+ t := *r.lastUpdatedN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", t, "form", "multi")
}
}
- if r.idNie != nil {
- t := *r.idNie
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ }
+ if r.name != nil {
+ t := *r.name
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name", t, "form", "multi")
}
}
- if r.idNiew != nil {
- t := *r.idNiew
+ if r.nameIc != nil {
+ t := *r.nameIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
- if r.lastUpdated != nil {
- t := *r.lastUpdated
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "form", "multi")
- }
- }
- if r.lastUpdatedGt != nil {
- t := *r.lastUpdatedGt
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", t, "form", "multi")
- }
- }
- if r.lastUpdatedGte != nil {
- t := *r.lastUpdatedGte
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", t, "form", "multi")
- }
- }
- if r.lastUpdatedIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__isnull", r.lastUpdatedIsnull, "form", "")
- }
- if r.lastUpdatedLt != nil {
- t := *r.lastUpdatedLt
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", t, "form", "multi")
- }
- }
- if r.lastUpdatedLte != nil {
- t := *r.lastUpdatedLte
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", t, "form", "multi")
- }
- }
- if r.lastUpdatedN != nil {
- t := *r.lastUpdatedN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", t, "form", "multi")
- }
- }
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
- }
- if r.name != nil {
- t := *r.name
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name", t, "form", "multi")
- }
- }
- if r.nameIc != nil {
- t := *r.nameIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", t, "form", "multi")
}
}
if r.nameIe != nil {
@@ -5242,13 +4935,29 @@ func (a *CircuitsAPIService) CircuitsCircuitTypesListExecute(r ApiCircuitsCircui
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -5463,6 +5172,7 @@ type ApiCircuitsCircuitTypesNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiCircuitsCircuitTypesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCircuitsCircuitTypesNotesListRequest {
@@ -5488,6 +5198,12 @@ func (r ApiCircuitsCircuitTypesNotesListRequest) Depth(depth int32) ApiCircuitsC
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiCircuitsCircuitTypesNotesListRequest) ExcludeM2m(excludeM2m bool) ApiCircuitsCircuitTypesNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiCircuitsCircuitTypesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.CircuitsCircuitTypesNotesListExecute(r)
}
@@ -5543,8 +5259,16 @@ func (a *CircuitsAPIService) CircuitsCircuitTypesNotesListExecute(r ApiCircuitsC
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -5754,6 +5478,7 @@ type ApiCircuitsCircuitTypesRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiCircuitsCircuitTypesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCircuitsCircuitTypesRetrieveRequest {
@@ -5767,6 +5492,12 @@ func (r ApiCircuitsCircuitTypesRetrieveRequest) Depth(depth int32) ApiCircuitsCi
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiCircuitsCircuitTypesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiCircuitsCircuitTypesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiCircuitsCircuitTypesRetrieveRequest) Execute() (*CircuitType, *http.Response, error) {
return r.ApiService.CircuitsCircuitTypesRetrieveExecute(r)
}
@@ -5816,8 +5547,16 @@ func (a *CircuitsAPIService) CircuitsCircuitTypesRetrieveExecute(r ApiCircuitsCi
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -6714,7 +6453,7 @@ type ApiCircuitsCircuitsListRequest struct {
commitRateN *[]int32
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -6737,23 +6476,11 @@ type ApiCircuitsCircuitsListRequest struct {
descriptionNre *[]string
descriptionRe *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
hasTerminations *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
installDate *[]string
installDateGt *[]string
installDateGte *[]string
@@ -6781,13 +6508,13 @@ type ApiCircuitsCircuitsListRequest struct {
q *string
sort *string
status *[]string
- statusN *string
+ statusN *[]string
tags *[]string
tagsIsnull *bool
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
tenant *[]string
tenantIsnull *bool
tenantN *[]string
@@ -6798,6 +6525,7 @@ type ApiCircuitsCircuitsListRequest struct {
tenantIdIsnull *bool
tenantIdN *[]*string
depth *int32
+ excludeM2m *bool
}
func (r ApiCircuitsCircuitsListRequest) Cid(cid []string) ApiCircuitsCircuitsListRequest {
@@ -7063,8 +6791,7 @@ func (r ApiCircuitsCircuitsListRequest) ContactsIsnull(contactsIsnull bool) ApiC
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiCircuitsCircuitsListRequest) ContactsN(contactsN string) ApiCircuitsCircuitsListRequest {
+func (r ApiCircuitsCircuitsListRequest) ContactsN(contactsN []string) ApiCircuitsCircuitsListRequest {
r.contactsN = &contactsN
return r
}
@@ -7179,8 +6906,7 @@ func (r ApiCircuitsCircuitsListRequest) DynamicGroups(dynamicGroups []string) Ap
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiCircuitsCircuitsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiCircuitsCircuitsListRequest {
+func (r ApiCircuitsCircuitsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiCircuitsCircuitsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -7202,71 +6928,11 @@ func (r ApiCircuitsCircuitsListRequest) Id(id []string) ApiCircuitsCircuitsListR
return r
}
-func (r ApiCircuitsCircuitsListRequest) IdIc(idIc []string) ApiCircuitsCircuitsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiCircuitsCircuitsListRequest) IdIe(idIe []string) ApiCircuitsCircuitsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiCircuitsCircuitsListRequest) IdIew(idIew []string) ApiCircuitsCircuitsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiCircuitsCircuitsListRequest) IdIre(idIre []string) ApiCircuitsCircuitsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiCircuitsCircuitsListRequest) IdIsw(idIsw []string) ApiCircuitsCircuitsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiCircuitsCircuitsListRequest) IdN(idN []string) ApiCircuitsCircuitsListRequest {
r.idN = &idN
return r
}
-func (r ApiCircuitsCircuitsListRequest) IdNic(idNic []string) ApiCircuitsCircuitsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiCircuitsCircuitsListRequest) IdNie(idNie []string) ApiCircuitsCircuitsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiCircuitsCircuitsListRequest) IdNiew(idNiew []string) ApiCircuitsCircuitsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiCircuitsCircuitsListRequest) IdNire(idNire []string) ApiCircuitsCircuitsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiCircuitsCircuitsListRequest) IdNisw(idNisw []string) ApiCircuitsCircuitsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiCircuitsCircuitsListRequest) IdNre(idNre []string) ApiCircuitsCircuitsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiCircuitsCircuitsListRequest) IdRe(idRe []string) ApiCircuitsCircuitsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiCircuitsCircuitsListRequest) InstallDate(installDate []string) ApiCircuitsCircuitsListRequest {
r.installDate = &installDate
return r
@@ -7408,8 +7074,7 @@ func (r ApiCircuitsCircuitsListRequest) Status(status []string) ApiCircuitsCircu
return r
}
-// Exclude Status (name or ID)
-func (r ApiCircuitsCircuitsListRequest) StatusN(statusN string) ApiCircuitsCircuitsListRequest {
+func (r ApiCircuitsCircuitsListRequest) StatusN(statusN []string) ApiCircuitsCircuitsListRequest {
r.statusN = &statusN
return r
}
@@ -7440,8 +7105,7 @@ func (r ApiCircuitsCircuitsListRequest) TeamsIsnull(teamsIsnull bool) ApiCircuit
return r
}
-// Exclude Teams (name or ID)
-func (r ApiCircuitsCircuitsListRequest) TeamsN(teamsN string) ApiCircuitsCircuitsListRequest {
+func (r ApiCircuitsCircuitsListRequest) TeamsN(teamsN []string) ApiCircuitsCircuitsListRequest {
r.teamsN = &teamsN
return r
}
@@ -7502,6 +7166,12 @@ func (r ApiCircuitsCircuitsListRequest) Depth(depth int32) ApiCircuitsCircuitsLi
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiCircuitsCircuitsListRequest) ExcludeM2m(excludeM2m bool) ApiCircuitsCircuitsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiCircuitsCircuitsListRequest) Execute() (*PaginatedCircuitList, *http.Response, error) {
return r.ApiService.CircuitsCircuitsListExecute(r)
}
@@ -8056,7 +7726,15 @@ func (a *CircuitsAPIService) CircuitsCircuitsListExecute(r ApiCircuitsCircuitsLi
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -8293,7 +7971,15 @@ func (a *CircuitsAPIService) CircuitsCircuitsListExecute(r ApiCircuitsCircuitsLi
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -8312,61 +7998,6 @@ func (a *CircuitsAPIService) CircuitsCircuitsListExecute(r ApiCircuitsCircuitsLi
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -8378,83 +8009,6 @@ func (a *CircuitsAPIService) CircuitsCircuitsListExecute(r ApiCircuitsCircuitsLi
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.installDate != nil {
t := *r.installDate
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -8689,7 +8243,15 @@ func (a *CircuitsAPIService) CircuitsCircuitsListExecute(r ApiCircuitsCircuitsLi
}
}
if r.statusN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", r.statusN, "form", "")
+ t := *r.statusN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "form", "multi")
+ }
}
if r.tags != nil {
t := *r.tags
@@ -8731,7 +8293,15 @@ func (a *CircuitsAPIService) CircuitsCircuitsListExecute(r ApiCircuitsCircuitsLi
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.tenant != nil {
t := *r.tenant
@@ -8811,8 +8381,16 @@ func (a *CircuitsAPIService) CircuitsCircuitsListExecute(r ApiCircuitsCircuitsLi
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -9027,6 +8605,7 @@ type ApiCircuitsCircuitsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiCircuitsCircuitsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCircuitsCircuitsNotesListRequest {
@@ -9052,6 +8631,12 @@ func (r ApiCircuitsCircuitsNotesListRequest) Depth(depth int32) ApiCircuitsCircu
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiCircuitsCircuitsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiCircuitsCircuitsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiCircuitsCircuitsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.CircuitsCircuitsNotesListExecute(r)
}
@@ -9107,8 +8692,16 @@ func (a *CircuitsAPIService) CircuitsCircuitsNotesListExecute(r ApiCircuitsCircu
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -9318,6 +8911,7 @@ type ApiCircuitsCircuitsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiCircuitsCircuitsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCircuitsCircuitsRetrieveRequest {
@@ -9331,6 +8925,12 @@ func (r ApiCircuitsCircuitsRetrieveRequest) Depth(depth int32) ApiCircuitsCircui
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiCircuitsCircuitsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiCircuitsCircuitsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiCircuitsCircuitsRetrieveRequest) Execute() (*Circuit, *http.Response, error) {
return r.ApiService.CircuitsCircuitsRetrieveExecute(r)
}
@@ -9380,8 +8980,16 @@ func (a *CircuitsAPIService) CircuitsCircuitsRetrieveExecute(r ApiCircuitsCircui
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -10246,7 +9854,7 @@ type ApiCircuitsProviderNetworksListRequest struct {
commentsRe *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -10269,23 +9877,11 @@ type ApiCircuitsProviderNetworksListRequest struct {
descriptionNre *[]string
descriptionRe *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
hasCircuitTerminations *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -10318,8 +9914,9 @@ type ApiCircuitsProviderNetworksListRequest struct {
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
// Circuit Terminations (ID)
@@ -10421,8 +10018,7 @@ func (r ApiCircuitsProviderNetworksListRequest) ContactsIsnull(contactsIsnull bo
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiCircuitsProviderNetworksListRequest) ContactsN(contactsN string) ApiCircuitsProviderNetworksListRequest {
+func (r ApiCircuitsProviderNetworksListRequest) ContactsN(contactsN []string) ApiCircuitsProviderNetworksListRequest {
r.contactsN = &contactsN
return r
}
@@ -10537,8 +10133,7 @@ func (r ApiCircuitsProviderNetworksListRequest) DynamicGroups(dynamicGroups []st
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiCircuitsProviderNetworksListRequest) DynamicGroupsN(dynamicGroupsN string) ApiCircuitsProviderNetworksListRequest {
+func (r ApiCircuitsProviderNetworksListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiCircuitsProviderNetworksListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -10560,71 +10155,11 @@ func (r ApiCircuitsProviderNetworksListRequest) Id(id []string) ApiCircuitsProvi
return r
}
-func (r ApiCircuitsProviderNetworksListRequest) IdIc(idIc []string) ApiCircuitsProviderNetworksListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiCircuitsProviderNetworksListRequest) IdIe(idIe []string) ApiCircuitsProviderNetworksListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiCircuitsProviderNetworksListRequest) IdIew(idIew []string) ApiCircuitsProviderNetworksListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiCircuitsProviderNetworksListRequest) IdIre(idIre []string) ApiCircuitsProviderNetworksListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiCircuitsProviderNetworksListRequest) IdIsw(idIsw []string) ApiCircuitsProviderNetworksListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiCircuitsProviderNetworksListRequest) IdN(idN []string) ApiCircuitsProviderNetworksListRequest {
r.idN = &idN
return r
}
-func (r ApiCircuitsProviderNetworksListRequest) IdNic(idNic []string) ApiCircuitsProviderNetworksListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiCircuitsProviderNetworksListRequest) IdNie(idNie []string) ApiCircuitsProviderNetworksListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiCircuitsProviderNetworksListRequest) IdNiew(idNiew []string) ApiCircuitsProviderNetworksListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiCircuitsProviderNetworksListRequest) IdNire(idNire []string) ApiCircuitsProviderNetworksListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiCircuitsProviderNetworksListRequest) IdNisw(idNisw []string) ApiCircuitsProviderNetworksListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiCircuitsProviderNetworksListRequest) IdNre(idNre []string) ApiCircuitsProviderNetworksListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiCircuitsProviderNetworksListRequest) IdRe(idRe []string) ApiCircuitsProviderNetworksListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiCircuitsProviderNetworksListRequest) LastUpdated(lastUpdated []time.Time) ApiCircuitsProviderNetworksListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -10790,8 +10325,7 @@ func (r ApiCircuitsProviderNetworksListRequest) TeamsIsnull(teamsIsnull bool) Ap
return r
}
-// Exclude Teams (name or ID)
-func (r ApiCircuitsProviderNetworksListRequest) TeamsN(teamsN string) ApiCircuitsProviderNetworksListRequest {
+func (r ApiCircuitsProviderNetworksListRequest) TeamsN(teamsN []string) ApiCircuitsProviderNetworksListRequest {
r.teamsN = &teamsN
return r
}
@@ -10802,6 +10336,12 @@ func (r ApiCircuitsProviderNetworksListRequest) Depth(depth int32) ApiCircuitsPr
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiCircuitsProviderNetworksListRequest) ExcludeM2m(excludeM2m bool) ApiCircuitsProviderNetworksListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiCircuitsProviderNetworksListRequest) Execute() (*PaginatedProviderNetworkList, *http.Response, error) {
return r.ApiService.CircuitsProviderNetworksListExecute(r)
}
@@ -11036,7 +10576,15 @@ func (a *CircuitsAPIService) CircuitsProviderNetworksListExecute(r ApiCircuitsPr
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -11137,302 +10685,178 @@ func (a *CircuitsAPIService) CircuitsProviderNetworksListExecute(r ApiCircuitsPr
parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", t, "form", "multi")
- }
- }
- if r.descriptionIew != nil {
- t := *r.descriptionIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", t, "form", "multi")
- }
- }
- if r.descriptionIre != nil {
- t := *r.descriptionIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", t, "form", "multi")
- }
- }
- if r.descriptionIsw != nil {
- t := *r.descriptionIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", t, "form", "multi")
- }
- }
- if r.descriptionN != nil {
- t := *r.descriptionN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", t, "form", "multi")
- }
- }
- if r.descriptionNic != nil {
- t := *r.descriptionNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", t, "form", "multi")
- }
- }
- if r.descriptionNie != nil {
- t := *r.descriptionNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", t, "form", "multi")
- }
- }
- if r.descriptionNiew != nil {
- t := *r.descriptionNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", t, "form", "multi")
- }
- }
- if r.descriptionNire != nil {
- t := *r.descriptionNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", t, "form", "multi")
- }
- }
- if r.descriptionNisw != nil {
- t := *r.descriptionNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", t, "form", "multi")
- }
- }
- if r.descriptionNre != nil {
- t := *r.descriptionNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", t, "form", "multi")
- }
- }
- if r.descriptionRe != nil {
- t := *r.descriptionRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", t, "form", "multi")
}
}
- if r.dynamicGroups != nil {
- t := *r.dynamicGroups
+ if r.descriptionIew != nil {
+ t := *r.descriptionIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", t, "form", "multi")
}
}
- if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.hasCircuitTerminations != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_circuit_terminations", r.hasCircuitTerminations, "form", "")
- }
- if r.id != nil {
- t := *r.id
+ if r.descriptionIre != nil {
+ t := *r.descriptionIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
+ if r.descriptionIsw != nil {
+ t := *r.descriptionIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", t, "form", "multi")
}
}
- if r.idIe != nil {
- t := *r.idIe
+ if r.descriptionN != nil {
+ t := *r.descriptionN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", t, "form", "multi")
}
}
- if r.idIew != nil {
- t := *r.idIew
+ if r.descriptionNic != nil {
+ t := *r.descriptionNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", t, "form", "multi")
}
}
- if r.idIre != nil {
- t := *r.idIre
+ if r.descriptionNie != nil {
+ t := *r.descriptionNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", t, "form", "multi")
}
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.descriptionNiew != nil {
+ t := *r.descriptionNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", t, "form", "multi")
}
}
- if r.idN != nil {
- t := *r.idN
+ if r.descriptionNire != nil {
+ t := *r.descriptionNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
+ if r.descriptionNisw != nil {
+ t := *r.descriptionNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", t, "form", "multi")
}
}
- if r.idNie != nil {
- t := *r.idNie
+ if r.descriptionNre != nil {
+ t := *r.descriptionNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", t, "form", "multi")
}
}
- if r.idNiew != nil {
- t := *r.idNiew
+ if r.descriptionRe != nil {
+ t := *r.descriptionRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", t, "form", "multi")
}
}
- if r.idNire != nil {
- t := *r.idNire
+ if r.dynamicGroups != nil {
+ t := *r.dynamicGroups
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
}
}
- if r.idNisw != nil {
- t := *r.idNisw
+ if r.dynamicGroupsN != nil {
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idNre != nil {
- t := *r.idNre
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.hasCircuitTerminations != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_circuit_terminations", r.hasCircuitTerminations, "form", "")
+ }
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idRe != nil {
- t := *r.idRe
+ if r.idN != nil {
+ t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
if r.lastUpdated != nil {
@@ -11732,13 +11156,29 @@ func (a *CircuitsAPIService) CircuitsProviderNetworksListExecute(r ApiCircuitsPr
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -11953,6 +11393,7 @@ type ApiCircuitsProviderNetworksNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiCircuitsProviderNetworksNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCircuitsProviderNetworksNotesListRequest {
@@ -11978,6 +11419,12 @@ func (r ApiCircuitsProviderNetworksNotesListRequest) Depth(depth int32) ApiCircu
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiCircuitsProviderNetworksNotesListRequest) ExcludeM2m(excludeM2m bool) ApiCircuitsProviderNetworksNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiCircuitsProviderNetworksNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.CircuitsProviderNetworksNotesListExecute(r)
}
@@ -12033,8 +11480,16 @@ func (a *CircuitsAPIService) CircuitsProviderNetworksNotesListExecute(r ApiCircu
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -12244,6 +11699,7 @@ type ApiCircuitsProviderNetworksRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiCircuitsProviderNetworksRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCircuitsProviderNetworksRetrieveRequest {
@@ -12257,6 +11713,12 @@ func (r ApiCircuitsProviderNetworksRetrieveRequest) Depth(depth int32) ApiCircui
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiCircuitsProviderNetworksRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiCircuitsProviderNetworksRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiCircuitsProviderNetworksRetrieveRequest) Execute() (*ProviderNetwork, *http.Response, error) {
return r.ApiService.CircuitsProviderNetworksRetrieveExecute(r)
}
@@ -12306,8 +11768,16 @@ func (a *CircuitsAPIService) CircuitsProviderNetworksRetrieveExecute(r ApiCircui
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -13207,7 +12677,7 @@ type ApiCircuitsProvidersListRequest struct {
commentsRe *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -13216,24 +12686,12 @@ type ApiCircuitsProvidersListRequest struct {
createdLte *[]time.Time
createdN *[]time.Time
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
hasCircuits *bool
hasProviderNetworks *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -13298,8 +12756,9 @@ type ApiCircuitsProvidersListRequest struct {
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiCircuitsProvidersListRequest) Account(account []string) ApiCircuitsProvidersListRequest {
@@ -13574,8 +13033,7 @@ func (r ApiCircuitsProvidersListRequest) ContactsIsnull(contactsIsnull bool) Api
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiCircuitsProvidersListRequest) ContactsN(contactsN string) ApiCircuitsProvidersListRequest {
+func (r ApiCircuitsProvidersListRequest) ContactsN(contactsN []string) ApiCircuitsProvidersListRequest {
r.contactsN = &contactsN
return r
}
@@ -13620,8 +13078,7 @@ func (r ApiCircuitsProvidersListRequest) DynamicGroups(dynamicGroups []string) A
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiCircuitsProvidersListRequest) DynamicGroupsN(dynamicGroupsN string) ApiCircuitsProvidersListRequest {
+func (r ApiCircuitsProvidersListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiCircuitsProvidersListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -13649,71 +13106,11 @@ func (r ApiCircuitsProvidersListRequest) Id(id []string) ApiCircuitsProvidersLis
return r
}
-func (r ApiCircuitsProvidersListRequest) IdIc(idIc []string) ApiCircuitsProvidersListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiCircuitsProvidersListRequest) IdIe(idIe []string) ApiCircuitsProvidersListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiCircuitsProvidersListRequest) IdIew(idIew []string) ApiCircuitsProvidersListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiCircuitsProvidersListRequest) IdIre(idIre []string) ApiCircuitsProvidersListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiCircuitsProvidersListRequest) IdIsw(idIsw []string) ApiCircuitsProvidersListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiCircuitsProvidersListRequest) IdN(idN []string) ApiCircuitsProvidersListRequest {
r.idN = &idN
return r
}
-func (r ApiCircuitsProvidersListRequest) IdNic(idNic []string) ApiCircuitsProvidersListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiCircuitsProvidersListRequest) IdNie(idNie []string) ApiCircuitsProvidersListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiCircuitsProvidersListRequest) IdNiew(idNiew []string) ApiCircuitsProvidersListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiCircuitsProvidersListRequest) IdNire(idNire []string) ApiCircuitsProvidersListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiCircuitsProvidersListRequest) IdNisw(idNisw []string) ApiCircuitsProvidersListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiCircuitsProvidersListRequest) IdNre(idNre []string) ApiCircuitsProvidersListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiCircuitsProvidersListRequest) IdRe(idRe []string) ApiCircuitsProvidersListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiCircuitsProvidersListRequest) LastUpdated(lastUpdated []time.Time) ApiCircuitsProvidersListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -14041,8 +13438,7 @@ func (r ApiCircuitsProvidersListRequest) TeamsIsnull(teamsIsnull bool) ApiCircui
return r
}
-// Exclude Teams (name or ID)
-func (r ApiCircuitsProvidersListRequest) TeamsN(teamsN string) ApiCircuitsProvidersListRequest {
+func (r ApiCircuitsProvidersListRequest) TeamsN(teamsN []string) ApiCircuitsProvidersListRequest {
r.teamsN = &teamsN
return r
}
@@ -14053,6 +13449,12 @@ func (r ApiCircuitsProvidersListRequest) Depth(depth int32) ApiCircuitsProviders
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiCircuitsProvidersListRequest) ExcludeM2m(excludeM2m bool) ApiCircuitsProvidersListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiCircuitsProvidersListRequest) Execute() (*PaginatedProviderList, *http.Response, error) {
return r.ApiService.CircuitsProvidersListExecute(r)
}
@@ -14664,7 +14066,15 @@ func (a *CircuitsAPIService) CircuitsProvidersListExecute(r ApiCircuitsProviders
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -14747,7 +14157,15 @@ func (a *CircuitsAPIService) CircuitsProvidersListExecute(r ApiCircuitsProviders
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -14769,61 +14187,6 @@ func (a *CircuitsAPIService) CircuitsProvidersListExecute(r ApiCircuitsProviders
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -14835,83 +14198,6 @@ func (a *CircuitsAPIService) CircuitsProvidersListExecute(r ApiCircuitsProviders
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -15545,13 +14831,29 @@ func (a *CircuitsAPIService) CircuitsProvidersListExecute(r ApiCircuitsProviders
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -15766,6 +15068,7 @@ type ApiCircuitsProvidersNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiCircuitsProvidersNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCircuitsProvidersNotesListRequest {
@@ -15791,6 +15094,12 @@ func (r ApiCircuitsProvidersNotesListRequest) Depth(depth int32) ApiCircuitsProv
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiCircuitsProvidersNotesListRequest) ExcludeM2m(excludeM2m bool) ApiCircuitsProvidersNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiCircuitsProvidersNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.CircuitsProvidersNotesListExecute(r)
}
@@ -15846,8 +15155,16 @@ func (a *CircuitsAPIService) CircuitsProvidersNotesListExecute(r ApiCircuitsProv
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -16057,6 +15374,7 @@ type ApiCircuitsProvidersRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiCircuitsProvidersRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCircuitsProvidersRetrieveRequest {
@@ -16070,6 +15388,12 @@ func (r ApiCircuitsProvidersRetrieveRequest) Depth(depth int32) ApiCircuitsProvi
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiCircuitsProvidersRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiCircuitsProvidersRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiCircuitsProvidersRetrieveRequest) Execute() (*Provider, *http.Response, error) {
return r.ApiService.CircuitsProvidersRetrieveExecute(r)
}
@@ -16119,8 +15443,16 @@ func (a *CircuitsAPIService) CircuitsProvidersRetrieveExecute(r ApiCircuitsProvi
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
diff --git a/api_cloud.go b/api_cloud.go
index c74c2549..394b4db2 100644
--- a/api_cloud.go
+++ b/api_cloud.go
@@ -3,7 +3,7 @@ API Documentation
Source of truth and network automation platform
-API version: 2.3.4 (2.3)
+API version: 2.4.21 (2.4)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -680,7 +680,7 @@ type ApiCloudCloudAccountsListRequest struct {
accountNumberRe *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -703,22 +703,10 @@ type ApiCloudCloudAccountsListRequest struct {
descriptionNre *[]string
descriptionRe *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -754,8 +742,9 @@ type ApiCloudCloudAccountsListRequest struct {
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiCloudCloudAccountsListRequest) AccountNumber(accountNumber []string) ApiCloudCloudAccountsListRequest {
@@ -839,8 +828,7 @@ func (r ApiCloudCloudAccountsListRequest) ContactsIsnull(contactsIsnull bool) Ap
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiCloudCloudAccountsListRequest) ContactsN(contactsN string) ApiCloudCloudAccountsListRequest {
+func (r ApiCloudCloudAccountsListRequest) ContactsN(contactsN []string) ApiCloudCloudAccountsListRequest {
r.contactsN = &contactsN
return r
}
@@ -955,8 +943,7 @@ func (r ApiCloudCloudAccountsListRequest) DynamicGroups(dynamicGroups []string)
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiCloudCloudAccountsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiCloudCloudAccountsListRequest {
+func (r ApiCloudCloudAccountsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiCloudCloudAccountsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -972,71 +959,11 @@ func (r ApiCloudCloudAccountsListRequest) Id(id []string) ApiCloudCloudAccountsL
return r
}
-func (r ApiCloudCloudAccountsListRequest) IdIc(idIc []string) ApiCloudCloudAccountsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiCloudCloudAccountsListRequest) IdIe(idIe []string) ApiCloudCloudAccountsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiCloudCloudAccountsListRequest) IdIew(idIew []string) ApiCloudCloudAccountsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiCloudCloudAccountsListRequest) IdIre(idIre []string) ApiCloudCloudAccountsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiCloudCloudAccountsListRequest) IdIsw(idIsw []string) ApiCloudCloudAccountsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiCloudCloudAccountsListRequest) IdN(idN []string) ApiCloudCloudAccountsListRequest {
r.idN = &idN
return r
}
-func (r ApiCloudCloudAccountsListRequest) IdNic(idNic []string) ApiCloudCloudAccountsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiCloudCloudAccountsListRequest) IdNie(idNie []string) ApiCloudCloudAccountsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiCloudCloudAccountsListRequest) IdNiew(idNiew []string) ApiCloudCloudAccountsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiCloudCloudAccountsListRequest) IdNire(idNire []string) ApiCloudCloudAccountsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiCloudCloudAccountsListRequest) IdNisw(idNisw []string) ApiCloudCloudAccountsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiCloudCloudAccountsListRequest) IdNre(idNre []string) ApiCloudCloudAccountsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiCloudCloudAccountsListRequest) IdRe(idRe []string) ApiCloudCloudAccountsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiCloudCloudAccountsListRequest) LastUpdated(lastUpdated []time.Time) ApiCloudCloudAccountsListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -1218,8 +1145,7 @@ func (r ApiCloudCloudAccountsListRequest) TeamsIsnull(teamsIsnull bool) ApiCloud
return r
}
-// Exclude Teams (name or ID)
-func (r ApiCloudCloudAccountsListRequest) TeamsN(teamsN string) ApiCloudCloudAccountsListRequest {
+func (r ApiCloudCloudAccountsListRequest) TeamsN(teamsN []string) ApiCloudCloudAccountsListRequest {
r.teamsN = &teamsN
return r
}
@@ -1230,6 +1156,12 @@ func (r ApiCloudCloudAccountsListRequest) Depth(depth int32) ApiCloudCloudAccoun
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiCloudCloudAccountsListRequest) ExcludeM2m(excludeM2m bool) ApiCloudCloudAccountsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiCloudCloudAccountsListRequest) Execute() (*PaginatedCloudAccountList, *http.Response, error) {
return r.ApiService.CloudCloudAccountsListExecute(r)
}
@@ -1439,7 +1371,15 @@ func (a *CloudAPIService) CloudCloudAccountsListExecute(r ApiCloudCloudAccountsL
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -1676,75 +1616,28 @@ func (a *CloudAPIService) CloudCloudAccountsListExecute(r ApiCloudCloudAccountsL
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.id != nil {
- t := *r.id
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
- }
- }
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
if r.idN != nil {
@@ -1758,83 +1651,6 @@ func (a *CloudAPIService) CloudCloudAccountsListExecute(r ApiCloudCloudAccountsL
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -2157,13 +1973,29 @@ func (a *CloudAPIService) CloudCloudAccountsListExecute(r ApiCloudCloudAccountsL
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -2378,6 +2210,7 @@ type ApiCloudCloudAccountsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiCloudCloudAccountsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudAccountsNotesListRequest {
@@ -2403,6 +2236,12 @@ func (r ApiCloudCloudAccountsNotesListRequest) Depth(depth int32) ApiCloudCloudA
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiCloudCloudAccountsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiCloudCloudAccountsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiCloudCloudAccountsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.CloudCloudAccountsNotesListExecute(r)
}
@@ -2458,8 +2297,16 @@ func (a *CloudAPIService) CloudCloudAccountsNotesListExecute(r ApiCloudCloudAcco
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -2669,6 +2516,7 @@ type ApiCloudCloudAccountsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiCloudCloudAccountsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudAccountsRetrieveRequest {
@@ -2682,6 +2530,12 @@ func (r ApiCloudCloudAccountsRetrieveRequest) Depth(depth int32) ApiCloudCloudAc
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiCloudCloudAccountsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiCloudCloudAccountsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiCloudCloudAccountsRetrieveRequest) Execute() (*CloudAccount, *http.Response, error) {
return r.ApiService.CloudCloudAccountsRetrieveExecute(r)
}
@@ -2731,8 +2585,16 @@ func (a *CloudAPIService) CloudCloudAccountsRetrieveExecute(r ApiCloudCloudAccou
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -3582,19 +3444,7 @@ type ApiCloudCloudNetworkPrefixAssignmentsListRequest struct {
cloudNetworkN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
limit *int32
offset *int32
prefix *[]string
@@ -3602,6 +3452,7 @@ type ApiCloudCloudNetworkPrefixAssignmentsListRequest struct {
q *string
sort *string
depth *int32
+ excludeM2m *bool
}
func (r ApiCloudCloudNetworkPrefixAssignmentsListRequest) CloudNetwork(cloudNetwork []string) ApiCloudCloudNetworkPrefixAssignmentsListRequest {
@@ -3625,71 +3476,11 @@ func (r ApiCloudCloudNetworkPrefixAssignmentsListRequest) Id(id []string) ApiClo
return r
}
-func (r ApiCloudCloudNetworkPrefixAssignmentsListRequest) IdIc(idIc []string) ApiCloudCloudNetworkPrefixAssignmentsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiCloudCloudNetworkPrefixAssignmentsListRequest) IdIe(idIe []string) ApiCloudCloudNetworkPrefixAssignmentsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiCloudCloudNetworkPrefixAssignmentsListRequest) IdIew(idIew []string) ApiCloudCloudNetworkPrefixAssignmentsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiCloudCloudNetworkPrefixAssignmentsListRequest) IdIre(idIre []string) ApiCloudCloudNetworkPrefixAssignmentsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiCloudCloudNetworkPrefixAssignmentsListRequest) IdIsw(idIsw []string) ApiCloudCloudNetworkPrefixAssignmentsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiCloudCloudNetworkPrefixAssignmentsListRequest) IdN(idN []string) ApiCloudCloudNetworkPrefixAssignmentsListRequest {
r.idN = &idN
return r
}
-func (r ApiCloudCloudNetworkPrefixAssignmentsListRequest) IdNic(idNic []string) ApiCloudCloudNetworkPrefixAssignmentsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiCloudCloudNetworkPrefixAssignmentsListRequest) IdNie(idNie []string) ApiCloudCloudNetworkPrefixAssignmentsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiCloudCloudNetworkPrefixAssignmentsListRequest) IdNiew(idNiew []string) ApiCloudCloudNetworkPrefixAssignmentsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiCloudCloudNetworkPrefixAssignmentsListRequest) IdNire(idNire []string) ApiCloudCloudNetworkPrefixAssignmentsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiCloudCloudNetworkPrefixAssignmentsListRequest) IdNisw(idNisw []string) ApiCloudCloudNetworkPrefixAssignmentsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiCloudCloudNetworkPrefixAssignmentsListRequest) IdNre(idNre []string) ApiCloudCloudNetworkPrefixAssignmentsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiCloudCloudNetworkPrefixAssignmentsListRequest) IdRe(idRe []string) ApiCloudCloudNetworkPrefixAssignmentsListRequest {
- r.idRe = &idRe
- return r
-}
-
// Number of results to return per page.
func (r ApiCloudCloudNetworkPrefixAssignmentsListRequest) Limit(limit int32) ApiCloudCloudNetworkPrefixAssignmentsListRequest {
r.limit = &limit
@@ -3730,6 +3521,12 @@ func (r ApiCloudCloudNetworkPrefixAssignmentsListRequest) Depth(depth int32) Api
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiCloudCloudNetworkPrefixAssignmentsListRequest) ExcludeM2m(excludeM2m bool) ApiCloudCloudNetworkPrefixAssignmentsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiCloudCloudNetworkPrefixAssignmentsListRequest) Execute() (*PaginatedCloudNetworkPrefixAssignmentList, *http.Response, error) {
return r.ApiService.CloudCloudNetworkPrefixAssignmentsListExecute(r)
}
@@ -3806,61 +3603,6 @@ func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsListExecute(r ApiClo
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -3872,109 +3614,32 @@ func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsListExecute(r ApiClo
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
}
- if r.idNiew != nil {
- t := *r.idNiew
+ if r.prefix != nil {
+ t := *r.prefix
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "prefix", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "prefix", t, "form", "multi")
}
}
- if r.idNire != nil {
- t := *r.idNire
+ if r.prefixN != nil {
+ t := *r.prefixN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "prefix__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
- }
- if r.offset != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
- }
- if r.prefix != nil {
- t := *r.prefix
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "prefix", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "prefix", t, "form", "multi")
- }
- }
- if r.prefixN != nil {
- t := *r.prefixN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "prefix__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "prefix__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "prefix__n", t, "form", "multi")
}
}
if r.q != nil {
@@ -3986,8 +3651,16 @@ func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsListExecute(r ApiClo
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -4057,39 +3730,39 @@ func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsListExecute(r ApiClo
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiCloudCloudNetworkPrefixAssignmentsNotesCreateRequest struct {
+type ApiCloudCloudNetworkPrefixAssignmentsPartialUpdateRequest struct {
ctx context.Context
ApiService *CloudAPIService
id string
- noteInputRequest *NoteInputRequest
format *CircuitsCircuitTerminationsListFormatParameter
+ patchedCloudNetworkPrefixAssignmentRequest *PatchedCloudNetworkPrefixAssignmentRequest
}
-func (r ApiCloudCloudNetworkPrefixAssignmentsNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiCloudCloudNetworkPrefixAssignmentsNotesCreateRequest {
- r.noteInputRequest = ¬eInputRequest
+func (r ApiCloudCloudNetworkPrefixAssignmentsPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudNetworkPrefixAssignmentsPartialUpdateRequest {
+ r.format = &format
return r
}
-func (r ApiCloudCloudNetworkPrefixAssignmentsNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudNetworkPrefixAssignmentsNotesCreateRequest {
- r.format = &format
+func (r ApiCloudCloudNetworkPrefixAssignmentsPartialUpdateRequest) PatchedCloudNetworkPrefixAssignmentRequest(patchedCloudNetworkPrefixAssignmentRequest PatchedCloudNetworkPrefixAssignmentRequest) ApiCloudCloudNetworkPrefixAssignmentsPartialUpdateRequest {
+ r.patchedCloudNetworkPrefixAssignmentRequest = &patchedCloudNetworkPrefixAssignmentRequest
return r
}
-func (r ApiCloudCloudNetworkPrefixAssignmentsNotesCreateRequest) Execute() (*Note, *http.Response, error) {
- return r.ApiService.CloudCloudNetworkPrefixAssignmentsNotesCreateExecute(r)
+func (r ApiCloudCloudNetworkPrefixAssignmentsPartialUpdateRequest) Execute() (*CloudNetworkPrefixAssignment, *http.Response, error) {
+ return r.ApiService.CloudCloudNetworkPrefixAssignmentsPartialUpdateExecute(r)
}
/*
-CloudCloudNetworkPrefixAssignmentsNotesCreate Method for CloudCloudNetworkPrefixAssignmentsNotesCreate
+CloudCloudNetworkPrefixAssignmentsPartialUpdate Method for CloudCloudNetworkPrefixAssignmentsPartialUpdate
-API methods for returning or creating notes on an object.
+Partial update a cloud network prefix assignment object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id A UUID string identifying this cloud network prefix assignment.
- @return ApiCloudCloudNetworkPrefixAssignmentsNotesCreateRequest
+ @return ApiCloudCloudNetworkPrefixAssignmentsPartialUpdateRequest
*/
-func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsNotesCreate(ctx context.Context, id string) ApiCloudCloudNetworkPrefixAssignmentsNotesCreateRequest {
- return ApiCloudCloudNetworkPrefixAssignmentsNotesCreateRequest{
+func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsPartialUpdate(ctx context.Context, id string) ApiCloudCloudNetworkPrefixAssignmentsPartialUpdateRequest {
+ return ApiCloudCloudNetworkPrefixAssignmentsPartialUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -4097,29 +3770,26 @@ func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsNotesCreate(ctx cont
}
// Execute executes the request
-// @return Note
-func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsNotesCreateExecute(r ApiCloudCloudNetworkPrefixAssignmentsNotesCreateRequest) (*Note, *http.Response, error) {
+// @return CloudNetworkPrefixAssignment
+func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsPartialUpdateExecute(r ApiCloudCloudNetworkPrefixAssignmentsPartialUpdateRequest) (*CloudNetworkPrefixAssignment, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPost
+ localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *Note
+ localVarReturnValue *CloudNetworkPrefixAssignment
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CloudAPIService.CloudCloudNetworkPrefixAssignmentsNotesCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CloudAPIService.CloudCloudNetworkPrefixAssignmentsPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/cloud/cloud-network-prefix-assignments/{id}/notes/"
+ localVarPath := localBasePath + "/cloud/cloud-network-prefix-assignments/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.noteInputRequest == nil {
- return localVarReturnValue, nil, reportError("noteInputRequest is required and must be specified")
- }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -4142,7 +3812,7 @@ func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsNotesCreateExecute(r
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.noteInputRequest
+ localVarPostBody = r.patchedCloudNetworkPrefixAssignmentRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -4194,54 +3864,47 @@ func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsNotesCreateExecute(r
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiCloudCloudNetworkPrefixAssignmentsNotesListRequest struct {
+type ApiCloudCloudNetworkPrefixAssignmentsRetrieveRequest struct {
ctx context.Context
ApiService *CloudAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
- limit *int32
- offset *int32
depth *int32
+ excludeM2m *bool
}
-func (r ApiCloudCloudNetworkPrefixAssignmentsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudNetworkPrefixAssignmentsNotesListRequest {
+func (r ApiCloudCloudNetworkPrefixAssignmentsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudNetworkPrefixAssignmentsRetrieveRequest {
r.format = &format
return r
}
-// Number of results to return per page.
-func (r ApiCloudCloudNetworkPrefixAssignmentsNotesListRequest) Limit(limit int32) ApiCloudCloudNetworkPrefixAssignmentsNotesListRequest {
- r.limit = &limit
- return r
-}
-
-// The initial index from which to return the results.
-func (r ApiCloudCloudNetworkPrefixAssignmentsNotesListRequest) Offset(offset int32) ApiCloudCloudNetworkPrefixAssignmentsNotesListRequest {
- r.offset = &offset
+// Serializer Depth
+func (r ApiCloudCloudNetworkPrefixAssignmentsRetrieveRequest) Depth(depth int32) ApiCloudCloudNetworkPrefixAssignmentsRetrieveRequest {
+ r.depth = &depth
return r
}
-// Serializer Depth
-func (r ApiCloudCloudNetworkPrefixAssignmentsNotesListRequest) Depth(depth int32) ApiCloudCloudNetworkPrefixAssignmentsNotesListRequest {
- r.depth = &depth
+// Exclude many-to-many fields from the response
+func (r ApiCloudCloudNetworkPrefixAssignmentsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiCloudCloudNetworkPrefixAssignmentsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
return r
}
-func (r ApiCloudCloudNetworkPrefixAssignmentsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
- return r.ApiService.CloudCloudNetworkPrefixAssignmentsNotesListExecute(r)
+func (r ApiCloudCloudNetworkPrefixAssignmentsRetrieveRequest) Execute() (*CloudNetworkPrefixAssignment, *http.Response, error) {
+ return r.ApiService.CloudCloudNetworkPrefixAssignmentsRetrieveExecute(r)
}
/*
-CloudCloudNetworkPrefixAssignmentsNotesList Method for CloudCloudNetworkPrefixAssignmentsNotesList
+CloudCloudNetworkPrefixAssignmentsRetrieve Method for CloudCloudNetworkPrefixAssignmentsRetrieve
-API methods for returning or creating notes on an object.
+Retrieve a cloud network prefix assignment object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id A UUID string identifying this cloud network prefix assignment.
- @return ApiCloudCloudNetworkPrefixAssignmentsNotesListRequest
+ @return ApiCloudCloudNetworkPrefixAssignmentsRetrieveRequest
*/
-func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsNotesList(ctx context.Context, id string) ApiCloudCloudNetworkPrefixAssignmentsNotesListRequest {
- return ApiCloudCloudNetworkPrefixAssignmentsNotesListRequest{
+func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsRetrieve(ctx context.Context, id string) ApiCloudCloudNetworkPrefixAssignmentsRetrieveRequest {
+ return ApiCloudCloudNetworkPrefixAssignmentsRetrieveRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -4249,21 +3912,21 @@ func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsNotesList(ctx contex
}
// Execute executes the request
-// @return PaginatedNoteList
-func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsNotesListExecute(r ApiCloudCloudNetworkPrefixAssignmentsNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
+// @return CloudNetworkPrefixAssignment
+func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsRetrieveExecute(r ApiCloudCloudNetworkPrefixAssignmentsRetrieveRequest) (*CloudNetworkPrefixAssignment, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PaginatedNoteList
+ localVarReturnValue *CloudNetworkPrefixAssignment
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CloudAPIService.CloudCloudNetworkPrefixAssignmentsNotesList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CloudAPIService.CloudCloudNetworkPrefixAssignmentsRetrieve")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/cloud/cloud-network-prefix-assignments/{id}/notes/"
+ localVarPath := localBasePath + "/cloud/cloud-network-prefix-assignments/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -4273,17 +3936,19 @@ func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsNotesListExecute(r A
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
- }
- if r.offset != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
- }
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -4353,39 +4018,39 @@ func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsNotesListExecute(r A
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiCloudCloudNetworkPrefixAssignmentsPartialUpdateRequest struct {
+type ApiCloudCloudNetworkPrefixAssignmentsUpdateRequest struct {
ctx context.Context
ApiService *CloudAPIService
id string
+ cloudNetworkPrefixAssignmentRequest *CloudNetworkPrefixAssignmentRequest
format *CircuitsCircuitTerminationsListFormatParameter
- patchedCloudNetworkPrefixAssignmentRequest *PatchedCloudNetworkPrefixAssignmentRequest
}
-func (r ApiCloudCloudNetworkPrefixAssignmentsPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudNetworkPrefixAssignmentsPartialUpdateRequest {
- r.format = &format
+func (r ApiCloudCloudNetworkPrefixAssignmentsUpdateRequest) CloudNetworkPrefixAssignmentRequest(cloudNetworkPrefixAssignmentRequest CloudNetworkPrefixAssignmentRequest) ApiCloudCloudNetworkPrefixAssignmentsUpdateRequest {
+ r.cloudNetworkPrefixAssignmentRequest = &cloudNetworkPrefixAssignmentRequest
return r
}
-func (r ApiCloudCloudNetworkPrefixAssignmentsPartialUpdateRequest) PatchedCloudNetworkPrefixAssignmentRequest(patchedCloudNetworkPrefixAssignmentRequest PatchedCloudNetworkPrefixAssignmentRequest) ApiCloudCloudNetworkPrefixAssignmentsPartialUpdateRequest {
- r.patchedCloudNetworkPrefixAssignmentRequest = &patchedCloudNetworkPrefixAssignmentRequest
+func (r ApiCloudCloudNetworkPrefixAssignmentsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudNetworkPrefixAssignmentsUpdateRequest {
+ r.format = &format
return r
}
-func (r ApiCloudCloudNetworkPrefixAssignmentsPartialUpdateRequest) Execute() (*CloudNetworkPrefixAssignment, *http.Response, error) {
- return r.ApiService.CloudCloudNetworkPrefixAssignmentsPartialUpdateExecute(r)
+func (r ApiCloudCloudNetworkPrefixAssignmentsUpdateRequest) Execute() (*CloudNetworkPrefixAssignment, *http.Response, error) {
+ return r.ApiService.CloudCloudNetworkPrefixAssignmentsUpdateExecute(r)
}
/*
-CloudCloudNetworkPrefixAssignmentsPartialUpdate Method for CloudCloudNetworkPrefixAssignmentsPartialUpdate
+CloudCloudNetworkPrefixAssignmentsUpdate Method for CloudCloudNetworkPrefixAssignmentsUpdate
-Partial update a cloud network prefix assignment object.
+Update a cloud network prefix assignment object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id A UUID string identifying this cloud network prefix assignment.
- @return ApiCloudCloudNetworkPrefixAssignmentsPartialUpdateRequest
+ @return ApiCloudCloudNetworkPrefixAssignmentsUpdateRequest
*/
-func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsPartialUpdate(ctx context.Context, id string) ApiCloudCloudNetworkPrefixAssignmentsPartialUpdateRequest {
- return ApiCloudCloudNetworkPrefixAssignmentsPartialUpdateRequest{
+func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsUpdate(ctx context.Context, id string) ApiCloudCloudNetworkPrefixAssignmentsUpdateRequest {
+ return ApiCloudCloudNetworkPrefixAssignmentsUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -4394,15 +4059,15 @@ func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsPartialUpdate(ctx co
// Execute executes the request
// @return CloudNetworkPrefixAssignment
-func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsPartialUpdateExecute(r ApiCloudCloudNetworkPrefixAssignmentsPartialUpdateRequest) (*CloudNetworkPrefixAssignment, *http.Response, error) {
+func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsUpdateExecute(r ApiCloudCloudNetworkPrefixAssignmentsUpdateRequest) (*CloudNetworkPrefixAssignment, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPatch
+ localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
localVarReturnValue *CloudNetworkPrefixAssignment
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CloudAPIService.CloudCloudNetworkPrefixAssignmentsPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CloudAPIService.CloudCloudNetworkPrefixAssignmentsUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -4413,6 +4078,9 @@ func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsPartialUpdateExecute
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
+ if r.cloudNetworkPrefixAssignmentRequest == nil {
+ return localVarReturnValue, nil, reportError("cloudNetworkPrefixAssignmentRequest is required and must be specified")
+ }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -4435,7 +4103,7 @@ func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsPartialUpdateExecute
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedCloudNetworkPrefixAssignmentRequest
+ localVarPostBody = r.cloudNetworkPrefixAssignmentRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -4487,79 +4155,69 @@ func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsPartialUpdateExecute
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiCloudCloudNetworkPrefixAssignmentsRetrieveRequest struct {
+type ApiCloudCloudNetworksBulkDestroyRequest struct {
ctx context.Context
ApiService *CloudAPIService
- id string
+ bulkOperationRequest *[]BulkOperationRequest
format *CircuitsCircuitTerminationsListFormatParameter
- depth *int32
}
-func (r ApiCloudCloudNetworkPrefixAssignmentsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudNetworkPrefixAssignmentsRetrieveRequest {
- r.format = &format
+func (r ApiCloudCloudNetworksBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiCloudCloudNetworksBulkDestroyRequest {
+ r.bulkOperationRequest = &bulkOperationRequest
return r
}
-// Serializer Depth
-func (r ApiCloudCloudNetworkPrefixAssignmentsRetrieveRequest) Depth(depth int32) ApiCloudCloudNetworkPrefixAssignmentsRetrieveRequest {
- r.depth = &depth
+func (r ApiCloudCloudNetworksBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudNetworksBulkDestroyRequest {
+ r.format = &format
return r
}
-func (r ApiCloudCloudNetworkPrefixAssignmentsRetrieveRequest) Execute() (*CloudNetworkPrefixAssignment, *http.Response, error) {
- return r.ApiService.CloudCloudNetworkPrefixAssignmentsRetrieveExecute(r)
+func (r ApiCloudCloudNetworksBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.CloudCloudNetworksBulkDestroyExecute(r)
}
/*
-CloudCloudNetworkPrefixAssignmentsRetrieve Method for CloudCloudNetworkPrefixAssignmentsRetrieve
+CloudCloudNetworksBulkDestroy Method for CloudCloudNetworksBulkDestroy
-Retrieve a cloud network prefix assignment object.
+Destroy a list of cloud network objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this cloud network prefix assignment.
- @return ApiCloudCloudNetworkPrefixAssignmentsRetrieveRequest
+ @return ApiCloudCloudNetworksBulkDestroyRequest
*/
-func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsRetrieve(ctx context.Context, id string) ApiCloudCloudNetworkPrefixAssignmentsRetrieveRequest {
- return ApiCloudCloudNetworkPrefixAssignmentsRetrieveRequest{
+func (a *CloudAPIService) CloudCloudNetworksBulkDestroy(ctx context.Context) ApiCloudCloudNetworksBulkDestroyRequest {
+ return ApiCloudCloudNetworksBulkDestroyRequest{
ApiService: a,
ctx: ctx,
- id: id,
}
}
// Execute executes the request
-// @return CloudNetworkPrefixAssignment
-func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsRetrieveExecute(r ApiCloudCloudNetworkPrefixAssignmentsRetrieveRequest) (*CloudNetworkPrefixAssignment, *http.Response, error) {
+func (a *CloudAPIService) CloudCloudNetworksBulkDestroyExecute(r ApiCloudCloudNetworksBulkDestroyRequest) (*http.Response, error) {
var (
- localVarHTTPMethod = http.MethodGet
+ localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *CloudNetworkPrefixAssignment
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CloudAPIService.CloudCloudNetworkPrefixAssignmentsRetrieve")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CloudAPIService.CloudCloudNetworksBulkDestroy")
if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/cloud/cloud-network-prefix-assignments/{id}/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+ localVarPath := localBasePath + "/cloud/cloud-networks/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
+ if r.bulkOperationRequest == nil {
+ return nil, reportError("bulkOperationRequest is required and must be specified")
+ }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.depth != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
- } else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
- }
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -4568,13 +4226,15 @@ func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsRetrieveExecute(r Ap
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+ localVarHTTPHeaderAccepts := []string{}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
if localVarHTTPHeaderAccept != "" {
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
+ // body params
+ localVarPostBody = r.bulkOperationRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -4591,19 +4251,19 @@ func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsRetrieveExecute(r Ap
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
- return localVarReturnValue, nil, err
+ return nil, err
}
localVarHTTPResponse, err := a.client.callAPI(req)
if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
+ return localVarHTTPResponse, err
}
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
+ return localVarHTTPResponse, err
}
if localVarHTTPResponse.StatusCode >= 300 {
@@ -4611,311 +4271,43 @@ func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsRetrieveExecute(r Ap
body: localVarBody,
error: localVarHTTPResponse.Status,
}
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
+ return localVarHTTPResponse, newErr
}
- return localVarReturnValue, localVarHTTPResponse, nil
+ return localVarHTTPResponse, nil
}
-type ApiCloudCloudNetworkPrefixAssignmentsUpdateRequest struct {
+type ApiCloudCloudNetworksBulkPartialUpdateRequest struct {
ctx context.Context
ApiService *CloudAPIService
- id string
- cloudNetworkPrefixAssignmentRequest *CloudNetworkPrefixAssignmentRequest
+ patchedBulkWritableCloudNetworkRequest *[]PatchedBulkWritableCloudNetworkRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiCloudCloudNetworkPrefixAssignmentsUpdateRequest) CloudNetworkPrefixAssignmentRequest(cloudNetworkPrefixAssignmentRequest CloudNetworkPrefixAssignmentRequest) ApiCloudCloudNetworkPrefixAssignmentsUpdateRequest {
- r.cloudNetworkPrefixAssignmentRequest = &cloudNetworkPrefixAssignmentRequest
+func (r ApiCloudCloudNetworksBulkPartialUpdateRequest) PatchedBulkWritableCloudNetworkRequest(patchedBulkWritableCloudNetworkRequest []PatchedBulkWritableCloudNetworkRequest) ApiCloudCloudNetworksBulkPartialUpdateRequest {
+ r.patchedBulkWritableCloudNetworkRequest = &patchedBulkWritableCloudNetworkRequest
return r
}
-func (r ApiCloudCloudNetworkPrefixAssignmentsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudNetworkPrefixAssignmentsUpdateRequest {
+func (r ApiCloudCloudNetworksBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudNetworksBulkPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiCloudCloudNetworkPrefixAssignmentsUpdateRequest) Execute() (*CloudNetworkPrefixAssignment, *http.Response, error) {
- return r.ApiService.CloudCloudNetworkPrefixAssignmentsUpdateExecute(r)
+func (r ApiCloudCloudNetworksBulkPartialUpdateRequest) Execute() ([]CloudNetwork, *http.Response, error) {
+ return r.ApiService.CloudCloudNetworksBulkPartialUpdateExecute(r)
}
/*
-CloudCloudNetworkPrefixAssignmentsUpdate Method for CloudCloudNetworkPrefixAssignmentsUpdate
+CloudCloudNetworksBulkPartialUpdate Method for CloudCloudNetworksBulkPartialUpdate
-Update a cloud network prefix assignment object.
+Partial update a list of cloud network objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this cloud network prefix assignment.
- @return ApiCloudCloudNetworkPrefixAssignmentsUpdateRequest
+ @return ApiCloudCloudNetworksBulkPartialUpdateRequest
*/
-func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsUpdate(ctx context.Context, id string) ApiCloudCloudNetworkPrefixAssignmentsUpdateRequest {
- return ApiCloudCloudNetworkPrefixAssignmentsUpdateRequest{
- ApiService: a,
- ctx: ctx,
- id: id,
- }
-}
-
-// Execute executes the request
-// @return CloudNetworkPrefixAssignment
-func (a *CloudAPIService) CloudCloudNetworkPrefixAssignmentsUpdateExecute(r ApiCloudCloudNetworkPrefixAssignmentsUpdateRequest) (*CloudNetworkPrefixAssignment, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPut
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *CloudNetworkPrefixAssignment
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CloudAPIService.CloudCloudNetworkPrefixAssignmentsUpdate")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/cloud/cloud-network-prefix-assignments/{id}/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.cloudNetworkPrefixAssignmentRequest == nil {
- return localVarReturnValue, nil, reportError("cloudNetworkPrefixAssignmentRequest is required and must be specified")
- }
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.cloudNetworkPrefixAssignmentRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiCloudCloudNetworksBulkDestroyRequest struct {
- ctx context.Context
- ApiService *CloudAPIService
- bulkOperationRequest *[]BulkOperationRequest
- format *CircuitsCircuitTerminationsListFormatParameter
-}
-
-func (r ApiCloudCloudNetworksBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiCloudCloudNetworksBulkDestroyRequest {
- r.bulkOperationRequest = &bulkOperationRequest
- return r
-}
-
-func (r ApiCloudCloudNetworksBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudNetworksBulkDestroyRequest {
- r.format = &format
- return r
-}
-
-func (r ApiCloudCloudNetworksBulkDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.CloudCloudNetworksBulkDestroyExecute(r)
-}
-
-/*
-CloudCloudNetworksBulkDestroy Method for CloudCloudNetworksBulkDestroy
-
-Destroy a list of cloud network objects.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiCloudCloudNetworksBulkDestroyRequest
-*/
-func (a *CloudAPIService) CloudCloudNetworksBulkDestroy(ctx context.Context) ApiCloudCloudNetworksBulkDestroyRequest {
- return ApiCloudCloudNetworksBulkDestroyRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-func (a *CloudAPIService) CloudCloudNetworksBulkDestroyExecute(r ApiCloudCloudNetworksBulkDestroyRequest) (*http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodDelete
- localVarPostBody interface{}
- formFiles []formFile
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CloudAPIService.CloudCloudNetworksBulkDestroy")
- if err != nil {
- return nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/cloud/cloud-networks/"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.bulkOperationRequest == nil {
- return nil, reportError("bulkOperationRequest is required and must be specified")
- }
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.bulkOperationRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarHTTPResponse, newErr
- }
-
- return localVarHTTPResponse, nil
-}
-
-type ApiCloudCloudNetworksBulkPartialUpdateRequest struct {
- ctx context.Context
- ApiService *CloudAPIService
- patchedBulkWritableCloudNetworkRequest *[]PatchedBulkWritableCloudNetworkRequest
- format *CircuitsCircuitTerminationsListFormatParameter
-}
-
-func (r ApiCloudCloudNetworksBulkPartialUpdateRequest) PatchedBulkWritableCloudNetworkRequest(patchedBulkWritableCloudNetworkRequest []PatchedBulkWritableCloudNetworkRequest) ApiCloudCloudNetworksBulkPartialUpdateRequest {
- r.patchedBulkWritableCloudNetworkRequest = &patchedBulkWritableCloudNetworkRequest
- return r
-}
-
-func (r ApiCloudCloudNetworksBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudNetworksBulkPartialUpdateRequest {
- r.format = &format
- return r
-}
-
-func (r ApiCloudCloudNetworksBulkPartialUpdateRequest) Execute() ([]CloudNetwork, *http.Response, error) {
- return r.ApiService.CloudCloudNetworksBulkPartialUpdateExecute(r)
-}
-
-/*
-CloudCloudNetworksBulkPartialUpdate Method for CloudCloudNetworksBulkPartialUpdate
-
-Partial update a list of cloud network objects.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiCloudCloudNetworksBulkPartialUpdateRequest
-*/
-func (a *CloudAPIService) CloudCloudNetworksBulkPartialUpdate(ctx context.Context) ApiCloudCloudNetworksBulkPartialUpdateRequest {
- return ApiCloudCloudNetworksBulkPartialUpdateRequest{
+func (a *CloudAPIService) CloudCloudNetworksBulkPartialUpdate(ctx context.Context) ApiCloudCloudNetworksBulkPartialUpdateRequest {
+ return ApiCloudCloudNetworksBulkPartialUpdateRequest{
ApiService: a,
ctx: ctx,
}
@@ -5411,7 +4803,7 @@ type ApiCloudCloudNetworksListRequest struct {
cloudServicesN *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -5434,22 +4826,10 @@ type ApiCloudCloudNetworksListRequest struct {
descriptionNre *[]string
descriptionRe *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -5485,8 +4865,9 @@ type ApiCloudCloudNetworksListRequest struct {
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiCloudCloudNetworksListRequest) CloudAccount(cloudAccount []string) ApiCloudCloudNetworksListRequest {
@@ -5536,8 +4917,7 @@ func (r ApiCloudCloudNetworksListRequest) ContactsIsnull(contactsIsnull bool) Ap
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiCloudCloudNetworksListRequest) ContactsN(contactsN string) ApiCloudCloudNetworksListRequest {
+func (r ApiCloudCloudNetworksListRequest) ContactsN(contactsN []string) ApiCloudCloudNetworksListRequest {
r.contactsN = &contactsN
return r
}
@@ -5652,8 +5032,7 @@ func (r ApiCloudCloudNetworksListRequest) DynamicGroups(dynamicGroups []string)
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiCloudCloudNetworksListRequest) DynamicGroupsN(dynamicGroupsN string) ApiCloudCloudNetworksListRequest {
+func (r ApiCloudCloudNetworksListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiCloudCloudNetworksListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -5669,71 +5048,11 @@ func (r ApiCloudCloudNetworksListRequest) Id(id []string) ApiCloudCloudNetworksL
return r
}
-func (r ApiCloudCloudNetworksListRequest) IdIc(idIc []string) ApiCloudCloudNetworksListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiCloudCloudNetworksListRequest) IdIe(idIe []string) ApiCloudCloudNetworksListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiCloudCloudNetworksListRequest) IdIew(idIew []string) ApiCloudCloudNetworksListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiCloudCloudNetworksListRequest) IdIre(idIre []string) ApiCloudCloudNetworksListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiCloudCloudNetworksListRequest) IdIsw(idIsw []string) ApiCloudCloudNetworksListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiCloudCloudNetworksListRequest) IdN(idN []string) ApiCloudCloudNetworksListRequest {
r.idN = &idN
return r
}
-func (r ApiCloudCloudNetworksListRequest) IdNic(idNic []string) ApiCloudCloudNetworksListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiCloudCloudNetworksListRequest) IdNie(idNie []string) ApiCloudCloudNetworksListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiCloudCloudNetworksListRequest) IdNiew(idNiew []string) ApiCloudCloudNetworksListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiCloudCloudNetworksListRequest) IdNire(idNire []string) ApiCloudCloudNetworksListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiCloudCloudNetworksListRequest) IdNisw(idNisw []string) ApiCloudCloudNetworksListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiCloudCloudNetworksListRequest) IdNre(idNre []string) ApiCloudCloudNetworksListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiCloudCloudNetworksListRequest) IdRe(idRe []string) ApiCloudCloudNetworksListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiCloudCloudNetworksListRequest) LastUpdated(lastUpdated []time.Time) ApiCloudCloudNetworksListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -5915,8 +5234,7 @@ func (r ApiCloudCloudNetworksListRequest) TeamsIsnull(teamsIsnull bool) ApiCloud
return r
}
-// Exclude Teams (name or ID)
-func (r ApiCloudCloudNetworksListRequest) TeamsN(teamsN string) ApiCloudCloudNetworksListRequest {
+func (r ApiCloudCloudNetworksListRequest) TeamsN(teamsN []string) ApiCloudCloudNetworksListRequest {
r.teamsN = &teamsN
return r
}
@@ -5927,6 +5245,12 @@ func (r ApiCloudCloudNetworksListRequest) Depth(depth int32) ApiCloudCloudNetwor
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiCloudCloudNetworksListRequest) ExcludeM2m(excludeM2m bool) ApiCloudCloudNetworksListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiCloudCloudNetworksListRequest) Execute() (*PaginatedCloudNetworkList, *http.Response, error) {
return r.ApiService.CloudCloudNetworksListExecute(r)
}
@@ -6051,7 +5375,15 @@ func (a *CloudAPIService) CloudCloudNetworksListExecute(r ApiCloudCloudNetworksL
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -6288,75 +5620,28 @@ func (a *CloudAPIService) CloudCloudNetworksListExecute(r ApiCloudCloudNetworksL
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.id != nil {
- t := *r.id
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
- }
- }
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
if r.idN != nil {
@@ -6370,83 +5655,6 @@ func (a *CloudAPIService) CloudCloudNetworksListExecute(r ApiCloudCloudNetworksL
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -6769,13 +5977,29 @@ func (a *CloudAPIService) CloudCloudNetworksListExecute(r ApiCloudCloudNetworksL
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -6990,6 +6214,7 @@ type ApiCloudCloudNetworksNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiCloudCloudNetworksNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudNetworksNotesListRequest {
@@ -7015,6 +6240,12 @@ func (r ApiCloudCloudNetworksNotesListRequest) Depth(depth int32) ApiCloudCloudN
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiCloudCloudNetworksNotesListRequest) ExcludeM2m(excludeM2m bool) ApiCloudCloudNetworksNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiCloudCloudNetworksNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.CloudCloudNetworksNotesListExecute(r)
}
@@ -7070,8 +6301,16 @@ func (a *CloudAPIService) CloudCloudNetworksNotesListExecute(r ApiCloudCloudNetw
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -7281,6 +6520,7 @@ type ApiCloudCloudNetworksRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiCloudCloudNetworksRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudNetworksRetrieveRequest {
@@ -7294,6 +6534,12 @@ func (r ApiCloudCloudNetworksRetrieveRequest) Depth(depth int32) ApiCloudCloudNe
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiCloudCloudNetworksRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiCloudCloudNetworksRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiCloudCloudNetworksRetrieveRequest) Execute() (*CloudNetwork, *http.Response, error) {
return r.ApiService.CloudCloudNetworksRetrieveExecute(r)
}
@@ -7343,8 +6589,16 @@ func (a *CloudAPIService) CloudCloudNetworksRetrieveExecute(r ApiCloudCloudNetwo
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -8192,21 +7446,9 @@ type ApiCloudCloudResourceTypesListRequest struct {
ApiService *CloudAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
contentTypes *[]int32
- contentTypesIc *[]int32
- contentTypesIe *[]int32
- contentTypesIew *[]int32
- contentTypesIre *[]int32
- contentTypesIsw *[]int32
contentTypesN *[]int32
- contentTypesNic *[]int32
- contentTypesNie *[]int32
- contentTypesNiew *[]int32
- contentTypesNire *[]int32
- contentTypesNisw *[]int32
- contentTypesNre *[]int32
- contentTypesRe *[]int32
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -8229,22 +7471,10 @@ type ApiCloudCloudResourceTypesListRequest struct {
descriptionNre *[]string
descriptionRe *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -8277,8 +7507,9 @@ type ApiCloudCloudResourceTypesListRequest struct {
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiCloudCloudResourceTypesListRequest) Contacts(contacts []string) ApiCloudCloudResourceTypesListRequest {
@@ -8292,8 +7523,7 @@ func (r ApiCloudCloudResourceTypesListRequest) ContactsIsnull(contactsIsnull boo
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiCloudCloudResourceTypesListRequest) ContactsN(contactsN string) ApiCloudCloudResourceTypesListRequest {
+func (r ApiCloudCloudResourceTypesListRequest) ContactsN(contactsN []string) ApiCloudCloudResourceTypesListRequest {
r.contactsN = &contactsN
return r
}
@@ -8303,71 +7533,11 @@ func (r ApiCloudCloudResourceTypesListRequest) ContentTypes(contentTypes []int32
return r
}
-func (r ApiCloudCloudResourceTypesListRequest) ContentTypesIc(contentTypesIc []int32) ApiCloudCloudResourceTypesListRequest {
- r.contentTypesIc = &contentTypesIc
- return r
-}
-
-func (r ApiCloudCloudResourceTypesListRequest) ContentTypesIe(contentTypesIe []int32) ApiCloudCloudResourceTypesListRequest {
- r.contentTypesIe = &contentTypesIe
- return r
-}
-
-func (r ApiCloudCloudResourceTypesListRequest) ContentTypesIew(contentTypesIew []int32) ApiCloudCloudResourceTypesListRequest {
- r.contentTypesIew = &contentTypesIew
- return r
-}
-
-func (r ApiCloudCloudResourceTypesListRequest) ContentTypesIre(contentTypesIre []int32) ApiCloudCloudResourceTypesListRequest {
- r.contentTypesIre = &contentTypesIre
- return r
-}
-
-func (r ApiCloudCloudResourceTypesListRequest) ContentTypesIsw(contentTypesIsw []int32) ApiCloudCloudResourceTypesListRequest {
- r.contentTypesIsw = &contentTypesIsw
- return r
-}
-
func (r ApiCloudCloudResourceTypesListRequest) ContentTypesN(contentTypesN []int32) ApiCloudCloudResourceTypesListRequest {
r.contentTypesN = &contentTypesN
return r
}
-func (r ApiCloudCloudResourceTypesListRequest) ContentTypesNic(contentTypesNic []int32) ApiCloudCloudResourceTypesListRequest {
- r.contentTypesNic = &contentTypesNic
- return r
-}
-
-func (r ApiCloudCloudResourceTypesListRequest) ContentTypesNie(contentTypesNie []int32) ApiCloudCloudResourceTypesListRequest {
- r.contentTypesNie = &contentTypesNie
- return r
-}
-
-func (r ApiCloudCloudResourceTypesListRequest) ContentTypesNiew(contentTypesNiew []int32) ApiCloudCloudResourceTypesListRequest {
- r.contentTypesNiew = &contentTypesNiew
- return r
-}
-
-func (r ApiCloudCloudResourceTypesListRequest) ContentTypesNire(contentTypesNire []int32) ApiCloudCloudResourceTypesListRequest {
- r.contentTypesNire = &contentTypesNire
- return r
-}
-
-func (r ApiCloudCloudResourceTypesListRequest) ContentTypesNisw(contentTypesNisw []int32) ApiCloudCloudResourceTypesListRequest {
- r.contentTypesNisw = &contentTypesNisw
- return r
-}
-
-func (r ApiCloudCloudResourceTypesListRequest) ContentTypesNre(contentTypesNre []int32) ApiCloudCloudResourceTypesListRequest {
- r.contentTypesNre = &contentTypesNre
- return r
-}
-
-func (r ApiCloudCloudResourceTypesListRequest) ContentTypesRe(contentTypesRe []int32) ApiCloudCloudResourceTypesListRequest {
- r.contentTypesRe = &contentTypesRe
- return r
-}
-
func (r ApiCloudCloudResourceTypesListRequest) Created(created []time.Time) ApiCloudCloudResourceTypesListRequest {
r.created = &created
return r
@@ -8478,8 +7648,7 @@ func (r ApiCloudCloudResourceTypesListRequest) DynamicGroups(dynamicGroups []str
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiCloudCloudResourceTypesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiCloudCloudResourceTypesListRequest {
+func (r ApiCloudCloudResourceTypesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiCloudCloudResourceTypesListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -8495,71 +7664,11 @@ func (r ApiCloudCloudResourceTypesListRequest) Id(id []string) ApiCloudCloudReso
return r
}
-func (r ApiCloudCloudResourceTypesListRequest) IdIc(idIc []string) ApiCloudCloudResourceTypesListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiCloudCloudResourceTypesListRequest) IdIe(idIe []string) ApiCloudCloudResourceTypesListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiCloudCloudResourceTypesListRequest) IdIew(idIew []string) ApiCloudCloudResourceTypesListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiCloudCloudResourceTypesListRequest) IdIre(idIre []string) ApiCloudCloudResourceTypesListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiCloudCloudResourceTypesListRequest) IdIsw(idIsw []string) ApiCloudCloudResourceTypesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiCloudCloudResourceTypesListRequest) IdN(idN []string) ApiCloudCloudResourceTypesListRequest {
r.idN = &idN
return r
}
-func (r ApiCloudCloudResourceTypesListRequest) IdNic(idNic []string) ApiCloudCloudResourceTypesListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiCloudCloudResourceTypesListRequest) IdNie(idNie []string) ApiCloudCloudResourceTypesListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiCloudCloudResourceTypesListRequest) IdNiew(idNiew []string) ApiCloudCloudResourceTypesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiCloudCloudResourceTypesListRequest) IdNire(idNire []string) ApiCloudCloudResourceTypesListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiCloudCloudResourceTypesListRequest) IdNisw(idNisw []string) ApiCloudCloudResourceTypesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiCloudCloudResourceTypesListRequest) IdNre(idNre []string) ApiCloudCloudResourceTypesListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiCloudCloudResourceTypesListRequest) IdRe(idRe []string) ApiCloudCloudResourceTypesListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiCloudCloudResourceTypesListRequest) LastUpdated(lastUpdated []time.Time) ApiCloudCloudResourceTypesListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -8725,8 +7834,7 @@ func (r ApiCloudCloudResourceTypesListRequest) TeamsIsnull(teamsIsnull bool) Api
return r
}
-// Exclude Teams (name or ID)
-func (r ApiCloudCloudResourceTypesListRequest) TeamsN(teamsN string) ApiCloudCloudResourceTypesListRequest {
+func (r ApiCloudCloudResourceTypesListRequest) TeamsN(teamsN []string) ApiCloudCloudResourceTypesListRequest {
r.teamsN = &teamsN
return r
}
@@ -8737,6 +7845,12 @@ func (r ApiCloudCloudResourceTypesListRequest) Depth(depth int32) ApiCloudCloudR
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiCloudCloudResourceTypesListRequest) ExcludeM2m(excludeM2m bool) ApiCloudCloudResourceTypesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiCloudCloudResourceTypesListRequest) Execute() (*PaginatedCloudResourceTypeList, *http.Response, error) {
return r.ApiService.CloudCloudResourceTypesListExecute(r)
}
@@ -8792,7 +7906,15 @@ func (a *CloudAPIService) CloudCloudResourceTypesListExecute(r ApiCloudCloudReso
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.contentTypes != nil {
t := *r.contentTypes
@@ -8805,194 +7927,62 @@ func (a *CloudAPIService) CloudCloudResourceTypesListExecute(r ApiCloudCloudReso
parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", t, "form", "multi")
}
}
- if r.contentTypesIc != nil {
- t := *r.contentTypesIc
+ if r.contentTypesN != nil {
+ t := *r.contentTypesN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__n", t, "form", "multi")
}
}
- if r.contentTypesIe != nil {
- t := *r.contentTypesIe
+ if r.created != nil {
+ t := *r.created
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created", t, "form", "multi")
}
}
- if r.contentTypesIew != nil {
- t := *r.contentTypesIew
+ if r.createdGt != nil {
+ t := *r.createdGt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", t, "form", "multi")
}
}
- if r.contentTypesIre != nil {
- t := *r.contentTypesIre
+ if r.createdGte != nil {
+ t := *r.createdGte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", t, "form", "multi")
}
}
- if r.contentTypesIsw != nil {
- t := *r.contentTypesIsw
+ if r.createdIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__isnull", r.createdIsnull, "form", "")
+ }
+ if r.createdLt != nil {
+ t := *r.createdLt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__isw", t, "form", "multi")
- }
- }
- if r.contentTypesN != nil {
- t := *r.contentTypesN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__n", t, "form", "multi")
- }
- }
- if r.contentTypesNic != nil {
- t := *r.contentTypesNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nic", t, "form", "multi")
- }
- }
- if r.contentTypesNie != nil {
- t := *r.contentTypesNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nie", t, "form", "multi")
- }
- }
- if r.contentTypesNiew != nil {
- t := *r.contentTypesNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__niew", t, "form", "multi")
- }
- }
- if r.contentTypesNire != nil {
- t := *r.contentTypesNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nire", t, "form", "multi")
- }
- }
- if r.contentTypesNisw != nil {
- t := *r.contentTypesNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nisw", t, "form", "multi")
- }
- }
- if r.contentTypesNre != nil {
- t := *r.contentTypesNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nre", t, "form", "multi")
- }
- }
- if r.contentTypesRe != nil {
- t := *r.contentTypesRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__re", t, "form", "multi")
- }
- }
- if r.created != nil {
- t := *r.created
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created", t, "form", "multi")
- }
- }
- if r.createdGt != nil {
- t := *r.createdGt
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", t, "form", "multi")
- }
- }
- if r.createdGte != nil {
- t := *r.createdGte
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", t, "form", "multi")
- }
- }
- if r.createdIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__isnull", r.createdIsnull, "form", "")
- }
- if r.createdLt != nil {
- t := *r.createdLt
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", t, "form", "multi")
}
}
if r.createdLte != nil {
@@ -9183,75 +8173,28 @@ func (a *CloudAPIService) CloudCloudResourceTypesListExecute(r ApiCloudCloudReso
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.id != nil {
- t := *r.id
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
- }
- }
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
if r.idN != nil {
@@ -9265,83 +8208,6 @@ func (a *CloudAPIService) CloudCloudResourceTypesListExecute(r ApiCloudCloudReso
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -9639,13 +8505,29 @@ func (a *CloudAPIService) CloudCloudResourceTypesListExecute(r ApiCloudCloudReso
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -9860,6 +8742,7 @@ type ApiCloudCloudResourceTypesNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiCloudCloudResourceTypesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudResourceTypesNotesListRequest {
@@ -9885,6 +8768,12 @@ func (r ApiCloudCloudResourceTypesNotesListRequest) Depth(depth int32) ApiCloudC
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiCloudCloudResourceTypesNotesListRequest) ExcludeM2m(excludeM2m bool) ApiCloudCloudResourceTypesNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiCloudCloudResourceTypesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.CloudCloudResourceTypesNotesListExecute(r)
}
@@ -9940,8 +8829,16 @@ func (a *CloudAPIService) CloudCloudResourceTypesNotesListExecute(r ApiCloudClou
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -10151,6 +9048,7 @@ type ApiCloudCloudResourceTypesRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiCloudCloudResourceTypesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudResourceTypesRetrieveRequest {
@@ -10164,6 +9062,12 @@ func (r ApiCloudCloudResourceTypesRetrieveRequest) Depth(depth int32) ApiCloudCl
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiCloudCloudResourceTypesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiCloudCloudResourceTypesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiCloudCloudResourceTypesRetrieveRequest) Execute() (*CloudResourceType, *http.Response, error) {
return r.ApiService.CloudCloudResourceTypesRetrieveExecute(r)
}
@@ -10213,8 +9117,16 @@ func (a *CloudAPIService) CloudCloudResourceTypesRetrieveExecute(r ApiCloudCloud
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -11066,24 +9978,13 @@ type ApiCloudCloudServiceNetworkAssignmentsListRequest struct {
cloudServiceN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
limit *int32
offset *int32
q *string
sort *string
depth *int32
+ excludeM2m *bool
}
func (r ApiCloudCloudServiceNetworkAssignmentsListRequest) CloudNetwork(cloudNetwork []string) ApiCloudCloudServiceNetworkAssignmentsListRequest {
@@ -11117,71 +10018,11 @@ func (r ApiCloudCloudServiceNetworkAssignmentsListRequest) Id(id []string) ApiCl
return r
}
-func (r ApiCloudCloudServiceNetworkAssignmentsListRequest) IdIc(idIc []string) ApiCloudCloudServiceNetworkAssignmentsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiCloudCloudServiceNetworkAssignmentsListRequest) IdIe(idIe []string) ApiCloudCloudServiceNetworkAssignmentsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiCloudCloudServiceNetworkAssignmentsListRequest) IdIew(idIew []string) ApiCloudCloudServiceNetworkAssignmentsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiCloudCloudServiceNetworkAssignmentsListRequest) IdIre(idIre []string) ApiCloudCloudServiceNetworkAssignmentsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiCloudCloudServiceNetworkAssignmentsListRequest) IdIsw(idIsw []string) ApiCloudCloudServiceNetworkAssignmentsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiCloudCloudServiceNetworkAssignmentsListRequest) IdN(idN []string) ApiCloudCloudServiceNetworkAssignmentsListRequest {
r.idN = &idN
return r
}
-func (r ApiCloudCloudServiceNetworkAssignmentsListRequest) IdNic(idNic []string) ApiCloudCloudServiceNetworkAssignmentsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiCloudCloudServiceNetworkAssignmentsListRequest) IdNie(idNie []string) ApiCloudCloudServiceNetworkAssignmentsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiCloudCloudServiceNetworkAssignmentsListRequest) IdNiew(idNiew []string) ApiCloudCloudServiceNetworkAssignmentsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiCloudCloudServiceNetworkAssignmentsListRequest) IdNire(idNire []string) ApiCloudCloudServiceNetworkAssignmentsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiCloudCloudServiceNetworkAssignmentsListRequest) IdNisw(idNisw []string) ApiCloudCloudServiceNetworkAssignmentsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiCloudCloudServiceNetworkAssignmentsListRequest) IdNre(idNre []string) ApiCloudCloudServiceNetworkAssignmentsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiCloudCloudServiceNetworkAssignmentsListRequest) IdRe(idRe []string) ApiCloudCloudServiceNetworkAssignmentsListRequest {
- r.idRe = &idRe
- return r
-}
-
// Number of results to return per page.
func (r ApiCloudCloudServiceNetworkAssignmentsListRequest) Limit(limit int32) ApiCloudCloudServiceNetworkAssignmentsListRequest {
r.limit = &limit
@@ -11201,571 +10042,157 @@ func (r ApiCloudCloudServiceNetworkAssignmentsListRequest) Q(q string) ApiCloudC
}
// Which field to use when ordering the results.
-func (r ApiCloudCloudServiceNetworkAssignmentsListRequest) Sort(sort string) ApiCloudCloudServiceNetworkAssignmentsListRequest {
- r.sort = &sort
- return r
-}
-
-// Serializer Depth
-func (r ApiCloudCloudServiceNetworkAssignmentsListRequest) Depth(depth int32) ApiCloudCloudServiceNetworkAssignmentsListRequest {
- r.depth = &depth
- return r
-}
-
-func (r ApiCloudCloudServiceNetworkAssignmentsListRequest) Execute() (*PaginatedCloudServiceNetworkAssignmentList, *http.Response, error) {
- return r.ApiService.CloudCloudServiceNetworkAssignmentsListExecute(r)
-}
-
-/*
-CloudCloudServiceNetworkAssignmentsList Method for CloudCloudServiceNetworkAssignmentsList
-
-Retrieve a list of cloud service network assignment objects.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiCloudCloudServiceNetworkAssignmentsListRequest
-*/
-func (a *CloudAPIService) CloudCloudServiceNetworkAssignmentsList(ctx context.Context) ApiCloudCloudServiceNetworkAssignmentsListRequest {
- return ApiCloudCloudServiceNetworkAssignmentsListRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-// @return PaginatedCloudServiceNetworkAssignmentList
-func (a *CloudAPIService) CloudCloudServiceNetworkAssignmentsListExecute(r ApiCloudCloudServiceNetworkAssignmentsListRequest) (*PaginatedCloudServiceNetworkAssignmentList, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *PaginatedCloudServiceNetworkAssignmentList
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CloudAPIService.CloudCloudServiceNetworkAssignmentsList")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/cloud/cloud-service-network-assignments/"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
-
- if r.cloudNetwork != nil {
- t := *r.cloudNetwork
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "cloud_network", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "cloud_network", t, "form", "multi")
- }
- }
- if r.cloudNetworkN != nil {
- t := *r.cloudNetworkN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "cloud_network__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "cloud_network__n", t, "form", "multi")
- }
- }
- if r.cloudService != nil {
- t := *r.cloudService
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "cloud_service", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "cloud_service", t, "form", "multi")
- }
- }
- if r.cloudServiceN != nil {
- t := *r.cloudServiceN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "cloud_service__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "cloud_service__n", t, "form", "multi")
- }
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.id != nil {
- t := *r.id
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
- }
- }
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
- if r.idN != nil {
- t := *r.idN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
- }
- }
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
- }
- if r.offset != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
- }
- if r.q != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
- }
- if r.sort != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
- }
- if r.depth != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
- } else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiCloudCloudServiceNetworkAssignmentsNotesCreateRequest struct {
- ctx context.Context
- ApiService *CloudAPIService
- id string
- noteInputRequest *NoteInputRequest
- format *CircuitsCircuitTerminationsListFormatParameter
-}
-
-func (r ApiCloudCloudServiceNetworkAssignmentsNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiCloudCloudServiceNetworkAssignmentsNotesCreateRequest {
- r.noteInputRequest = ¬eInputRequest
- return r
-}
-
-func (r ApiCloudCloudServiceNetworkAssignmentsNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudServiceNetworkAssignmentsNotesCreateRequest {
- r.format = &format
- return r
-}
-
-func (r ApiCloudCloudServiceNetworkAssignmentsNotesCreateRequest) Execute() (*Note, *http.Response, error) {
- return r.ApiService.CloudCloudServiceNetworkAssignmentsNotesCreateExecute(r)
-}
-
-/*
-CloudCloudServiceNetworkAssignmentsNotesCreate Method for CloudCloudServiceNetworkAssignmentsNotesCreate
-
-API methods for returning or creating notes on an object.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this cloud service network assignment.
- @return ApiCloudCloudServiceNetworkAssignmentsNotesCreateRequest
-*/
-func (a *CloudAPIService) CloudCloudServiceNetworkAssignmentsNotesCreate(ctx context.Context, id string) ApiCloudCloudServiceNetworkAssignmentsNotesCreateRequest {
- return ApiCloudCloudServiceNetworkAssignmentsNotesCreateRequest{
- ApiService: a,
- ctx: ctx,
- id: id,
- }
-}
-
-// Execute executes the request
-// @return Note
-func (a *CloudAPIService) CloudCloudServiceNetworkAssignmentsNotesCreateExecute(r ApiCloudCloudServiceNetworkAssignmentsNotesCreateRequest) (*Note, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *Note
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CloudAPIService.CloudCloudServiceNetworkAssignmentsNotesCreate")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/cloud/cloud-service-network-assignments/{id}/notes/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.noteInputRequest == nil {
- return localVarReturnValue, nil, reportError("noteInputRequest is required and must be specified")
- }
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.noteInputRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiCloudCloudServiceNetworkAssignmentsNotesListRequest struct {
- ctx context.Context
- ApiService *CloudAPIService
- id string
- format *CircuitsCircuitTerminationsListFormatParameter
- limit *int32
- offset *int32
- depth *int32
-}
-
-func (r ApiCloudCloudServiceNetworkAssignmentsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudServiceNetworkAssignmentsNotesListRequest {
- r.format = &format
- return r
-}
-
-// Number of results to return per page.
-func (r ApiCloudCloudServiceNetworkAssignmentsNotesListRequest) Limit(limit int32) ApiCloudCloudServiceNetworkAssignmentsNotesListRequest {
- r.limit = &limit
- return r
-}
-
-// The initial index from which to return the results.
-func (r ApiCloudCloudServiceNetworkAssignmentsNotesListRequest) Offset(offset int32) ApiCloudCloudServiceNetworkAssignmentsNotesListRequest {
- r.offset = &offset
+func (r ApiCloudCloudServiceNetworkAssignmentsListRequest) Sort(sort string) ApiCloudCloudServiceNetworkAssignmentsListRequest {
+ r.sort = &sort
return r
}
// Serializer Depth
-func (r ApiCloudCloudServiceNetworkAssignmentsNotesListRequest) Depth(depth int32) ApiCloudCloudServiceNetworkAssignmentsNotesListRequest {
+func (r ApiCloudCloudServiceNetworkAssignmentsListRequest) Depth(depth int32) ApiCloudCloudServiceNetworkAssignmentsListRequest {
r.depth = &depth
return r
}
-func (r ApiCloudCloudServiceNetworkAssignmentsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
- return r.ApiService.CloudCloudServiceNetworkAssignmentsNotesListExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiCloudCloudServiceNetworkAssignmentsListRequest) ExcludeM2m(excludeM2m bool) ApiCloudCloudServiceNetworkAssignmentsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiCloudCloudServiceNetworkAssignmentsListRequest) Execute() (*PaginatedCloudServiceNetworkAssignmentList, *http.Response, error) {
+ return r.ApiService.CloudCloudServiceNetworkAssignmentsListExecute(r)
}
/*
-CloudCloudServiceNetworkAssignmentsNotesList Method for CloudCloudServiceNetworkAssignmentsNotesList
+CloudCloudServiceNetworkAssignmentsList Method for CloudCloudServiceNetworkAssignmentsList
-API methods for returning or creating notes on an object.
+Retrieve a list of cloud service network assignment objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this cloud service network assignment.
- @return ApiCloudCloudServiceNetworkAssignmentsNotesListRequest
+ @return ApiCloudCloudServiceNetworkAssignmentsListRequest
*/
-func (a *CloudAPIService) CloudCloudServiceNetworkAssignmentsNotesList(ctx context.Context, id string) ApiCloudCloudServiceNetworkAssignmentsNotesListRequest {
- return ApiCloudCloudServiceNetworkAssignmentsNotesListRequest{
+func (a *CloudAPIService) CloudCloudServiceNetworkAssignmentsList(ctx context.Context) ApiCloudCloudServiceNetworkAssignmentsListRequest {
+ return ApiCloudCloudServiceNetworkAssignmentsListRequest{
ApiService: a,
ctx: ctx,
- id: id,
}
}
// Execute executes the request
-// @return PaginatedNoteList
-func (a *CloudAPIService) CloudCloudServiceNetworkAssignmentsNotesListExecute(r ApiCloudCloudServiceNetworkAssignmentsNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
+// @return PaginatedCloudServiceNetworkAssignmentList
+func (a *CloudAPIService) CloudCloudServiceNetworkAssignmentsListExecute(r ApiCloudCloudServiceNetworkAssignmentsListRequest) (*PaginatedCloudServiceNetworkAssignmentList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PaginatedNoteList
+ localVarReturnValue *PaginatedCloudServiceNetworkAssignmentList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CloudAPIService.CloudCloudServiceNetworkAssignmentsNotesList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CloudAPIService.CloudCloudServiceNetworkAssignmentsList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/cloud/cloud-service-network-assignments/{id}/notes/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+ localVarPath := localBasePath + "/cloud/cloud-service-network-assignments/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
+ if r.cloudNetwork != nil {
+ t := *r.cloudNetwork
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "cloud_network", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "cloud_network", t, "form", "multi")
+ }
+ }
+ if r.cloudNetworkN != nil {
+ t := *r.cloudNetworkN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "cloud_network__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "cloud_network__n", t, "form", "multi")
+ }
+ }
+ if r.cloudService != nil {
+ t := *r.cloudService
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "cloud_service", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "cloud_service", t, "form", "multi")
+ }
+ }
+ if r.cloudServiceN != nil {
+ t := *r.cloudServiceN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "cloud_service__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "cloud_service__n", t, "form", "multi")
+ }
+ }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
+ if r.id != nil {
+ t := *r.id
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ }
+ }
+ if r.idN != nil {
+ t := *r.idN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
+ }
+ }
if r.limit != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
if r.offset != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
}
+ if r.q != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
+ }
+ if r.sort != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
+ }
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -11975,6 +10402,7 @@ type ApiCloudCloudServiceNetworkAssignmentsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiCloudCloudServiceNetworkAssignmentsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudServiceNetworkAssignmentsRetrieveRequest {
@@ -11988,6 +10416,12 @@ func (r ApiCloudCloudServiceNetworkAssignmentsRetrieveRequest) Depth(depth int32
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiCloudCloudServiceNetworkAssignmentsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiCloudCloudServiceNetworkAssignmentsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiCloudCloudServiceNetworkAssignmentsRetrieveRequest) Execute() (*CloudServiceNetworkAssignment, *http.Response, error) {
return r.ApiService.CloudCloudServiceNetworkAssignmentsRetrieveExecute(r)
}
@@ -12037,8 +10471,16 @@ func (a *CloudAPIService) CloudCloudServiceNetworkAssignmentsRetrieveExecute(r A
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -12893,7 +11335,7 @@ type ApiCloudCloudServicesListRequest struct {
cloudResourceTypeN *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -12916,22 +11358,10 @@ type ApiCloudCloudServicesListRequest struct {
descriptionNre *[]string
descriptionRe *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -12962,8 +11392,9 @@ type ApiCloudCloudServicesListRequest struct {
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiCloudCloudServicesListRequest) CloudAccount(cloudAccount []string) ApiCloudCloudServicesListRequest {
@@ -13013,8 +11444,7 @@ func (r ApiCloudCloudServicesListRequest) ContactsIsnull(contactsIsnull bool) Ap
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiCloudCloudServicesListRequest) ContactsN(contactsN string) ApiCloudCloudServicesListRequest {
+func (r ApiCloudCloudServicesListRequest) ContactsN(contactsN []string) ApiCloudCloudServicesListRequest {
r.contactsN = &contactsN
return r
}
@@ -13129,8 +11559,7 @@ func (r ApiCloudCloudServicesListRequest) DynamicGroups(dynamicGroups []string)
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiCloudCloudServicesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiCloudCloudServicesListRequest {
+func (r ApiCloudCloudServicesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiCloudCloudServicesListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -13146,71 +11575,11 @@ func (r ApiCloudCloudServicesListRequest) Id(id []string) ApiCloudCloudServicesL
return r
}
-func (r ApiCloudCloudServicesListRequest) IdIc(idIc []string) ApiCloudCloudServicesListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiCloudCloudServicesListRequest) IdIe(idIe []string) ApiCloudCloudServicesListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiCloudCloudServicesListRequest) IdIew(idIew []string) ApiCloudCloudServicesListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiCloudCloudServicesListRequest) IdIre(idIre []string) ApiCloudCloudServicesListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiCloudCloudServicesListRequest) IdIsw(idIsw []string) ApiCloudCloudServicesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiCloudCloudServicesListRequest) IdN(idN []string) ApiCloudCloudServicesListRequest {
r.idN = &idN
return r
}
-func (r ApiCloudCloudServicesListRequest) IdNic(idNic []string) ApiCloudCloudServicesListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiCloudCloudServicesListRequest) IdNie(idNie []string) ApiCloudCloudServicesListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiCloudCloudServicesListRequest) IdNiew(idNiew []string) ApiCloudCloudServicesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiCloudCloudServicesListRequest) IdNire(idNire []string) ApiCloudCloudServicesListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiCloudCloudServicesListRequest) IdNisw(idNisw []string) ApiCloudCloudServicesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiCloudCloudServicesListRequest) IdNre(idNre []string) ApiCloudCloudServicesListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiCloudCloudServicesListRequest) IdRe(idRe []string) ApiCloudCloudServicesListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiCloudCloudServicesListRequest) LastUpdated(lastUpdated []time.Time) ApiCloudCloudServicesListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -13366,8 +11735,7 @@ func (r ApiCloudCloudServicesListRequest) TeamsIsnull(teamsIsnull bool) ApiCloud
return r
}
-// Exclude Teams (name or ID)
-func (r ApiCloudCloudServicesListRequest) TeamsN(teamsN string) ApiCloudCloudServicesListRequest {
+func (r ApiCloudCloudServicesListRequest) TeamsN(teamsN []string) ApiCloudCloudServicesListRequest {
r.teamsN = &teamsN
return r
}
@@ -13378,6 +11746,12 @@ func (r ApiCloudCloudServicesListRequest) Depth(depth int32) ApiCloudCloudServic
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiCloudCloudServicesListRequest) ExcludeM2m(excludeM2m bool) ApiCloudCloudServicesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiCloudCloudServicesListRequest) Execute() (*PaginatedCloudServiceList, *http.Response, error) {
return r.ApiService.CloudCloudServicesListExecute(r)
}
@@ -13502,7 +11876,15 @@ func (a *CloudAPIService) CloudCloudServicesListExecute(r ApiCloudCloudServicesL
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -13739,75 +12121,28 @@ func (a *CloudAPIService) CloudCloudServicesListExecute(r ApiCloudCloudServicesL
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.id != nil {
- t := *r.id
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
- }
- }
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
if r.idN != nil {
@@ -13821,83 +12156,6 @@ func (a *CloudAPIService) CloudCloudServicesListExecute(r ApiCloudCloudServicesL
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -14173,13 +12431,29 @@ func (a *CloudAPIService) CloudCloudServicesListExecute(r ApiCloudCloudServicesL
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -14394,6 +12668,7 @@ type ApiCloudCloudServicesNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiCloudCloudServicesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudServicesNotesListRequest {
@@ -14419,6 +12694,12 @@ func (r ApiCloudCloudServicesNotesListRequest) Depth(depth int32) ApiCloudCloudS
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiCloudCloudServicesNotesListRequest) ExcludeM2m(excludeM2m bool) ApiCloudCloudServicesNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiCloudCloudServicesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.CloudCloudServicesNotesListExecute(r)
}
@@ -14474,8 +12755,16 @@ func (a *CloudAPIService) CloudCloudServicesNotesListExecute(r ApiCloudCloudServ
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -14685,6 +12974,7 @@ type ApiCloudCloudServicesRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiCloudCloudServicesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCloudCloudServicesRetrieveRequest {
@@ -14698,6 +12988,12 @@ func (r ApiCloudCloudServicesRetrieveRequest) Depth(depth int32) ApiCloudCloudSe
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiCloudCloudServicesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiCloudCloudServicesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiCloudCloudServicesRetrieveRequest) Execute() (*CloudService, *http.Response, error) {
return r.ApiService.CloudCloudServicesRetrieveExecute(r)
}
@@ -14747,8 +13043,16 @@ func (a *CloudAPIService) CloudCloudServicesRetrieveExecute(r ApiCloudCloudServi
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
diff --git a/api_core.go b/api_core.go
new file mode 100644
index 00000000..b4a21c26
--- /dev/null
+++ b/api_core.go
@@ -0,0 +1,156 @@
+/*
+API Documentation
+
+Source of truth and network automation platform
+
+API version: 2.4.21 (2.4)
+*/
+
+// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
+
+package nautobot
+
+import (
+ "bytes"
+ "context"
+ "io"
+ "net/http"
+ "net/url"
+)
+
+
+// CoreAPIService CoreAPI service
+type CoreAPIService service
+
+type ApiCoreRenderJinjaTemplateCreateRequest struct {
+ ctx context.Context
+ ApiService *CoreAPIService
+ renderJinjaRequest *RenderJinjaRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiCoreRenderJinjaTemplateCreateRequest) RenderJinjaRequest(renderJinjaRequest RenderJinjaRequest) ApiCoreRenderJinjaTemplateCreateRequest {
+ r.renderJinjaRequest = &renderJinjaRequest
+ return r
+}
+
+func (r ApiCoreRenderJinjaTemplateCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiCoreRenderJinjaTemplateCreateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiCoreRenderJinjaTemplateCreateRequest) Execute() (*RenderJinja, *http.Response, error) {
+ return r.ApiService.CoreRenderJinjaTemplateCreateExecute(r)
+}
+
+/*
+CoreRenderJinjaTemplateCreate Method for CoreRenderJinjaTemplateCreate
+
+View to render a Jinja template.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiCoreRenderJinjaTemplateCreateRequest
+*/
+func (a *CoreAPIService) CoreRenderJinjaTemplateCreate(ctx context.Context) ApiCoreRenderJinjaTemplateCreateRequest {
+ return ApiCoreRenderJinjaTemplateCreateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return RenderJinja
+func (a *CoreAPIService) CoreRenderJinjaTemplateCreateExecute(r ApiCoreRenderJinjaTemplateCreateRequest) (*RenderJinja, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPost
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *RenderJinja
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CoreAPIService.CoreRenderJinjaTemplateCreate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/core/render-jinja-template/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.renderJinjaRequest == nil {
+ return localVarReturnValue, nil, reportError("renderJinjaRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.renderJinjaRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
diff --git a/api_dcim.go b/api_dcim.go
index 567b92d4..7673c6c4 100644
--- a/api_dcim.go
+++ b/api_dcim.go
@@ -3,7 +3,7 @@ API Documentation
Source of truth and network automation platform
-API version: 2.3.4 (2.3)
+API version: 2.4.21 (2.4)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -680,7 +680,7 @@ type ApiDcimCablesListRequest struct {
colorRe *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -691,22 +691,10 @@ type ApiDcimCablesListRequest struct {
device *[]string
deviceId *[]*string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
label *[]string
labelIc *[]string
labelIe *[]string
@@ -758,45 +746,21 @@ type ApiDcimCablesListRequest struct {
rackId *[]string
sort *string
status *[]string
- statusN *string
+ statusN *[]string
tags *[]string
tagsIsnull *bool
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
tenant *[]string
tenantId *[]string
terminationAId *[]string
- terminationAIdIc *[]string
- terminationAIdIe *[]string
- terminationAIdIew *[]string
- terminationAIdIre *[]string
- terminationAIdIsw *[]string
terminationAIdN *[]string
- terminationAIdNic *[]string
- terminationAIdNie *[]string
- terminationAIdNiew *[]string
- terminationAIdNire *[]string
- terminationAIdNisw *[]string
- terminationAIdNre *[]string
- terminationAIdRe *[]string
terminationAType *[]int32
terminationATypeN *[]int32
terminationBId *[]string
- terminationBIdIc *[]string
- terminationBIdIe *[]string
- terminationBIdIew *[]string
- terminationBIdIre *[]string
- terminationBIdIsw *[]string
terminationBIdN *[]string
- terminationBIdNic *[]string
- terminationBIdNie *[]string
- terminationBIdNiew *[]string
- terminationBIdNire *[]string
- terminationBIdNisw *[]string
- terminationBIdNre *[]string
- terminationBIdRe *[]string
terminationBType *[]int32
terminationBTypeN *[]int32
terminationType *[]string
@@ -815,6 +779,7 @@ type ApiDcimCablesListRequest struct {
typeNre *[]string
typeRe *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimCablesListRequest) Color(color []string) ApiDcimCablesListRequest {
@@ -898,8 +863,7 @@ func (r ApiDcimCablesListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimCab
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimCablesListRequest) ContactsN(contactsN string) ApiDcimCablesListRequest {
+func (r ApiDcimCablesListRequest) ContactsN(contactsN []string) ApiDcimCablesListRequest {
r.contactsN = &contactsN
return r
}
@@ -956,8 +920,7 @@ func (r ApiDcimCablesListRequest) DynamicGroups(dynamicGroups []string) ApiDcimC
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimCablesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimCablesListRequest {
+func (r ApiDcimCablesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimCablesListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -973,71 +936,11 @@ func (r ApiDcimCablesListRequest) Id(id []string) ApiDcimCablesListRequest {
return r
}
-func (r ApiDcimCablesListRequest) IdIc(idIc []string) ApiDcimCablesListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiDcimCablesListRequest) IdIe(idIe []string) ApiDcimCablesListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiDcimCablesListRequest) IdIew(idIew []string) ApiDcimCablesListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiDcimCablesListRequest) IdIre(idIre []string) ApiDcimCablesListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiDcimCablesListRequest) IdIsw(idIsw []string) ApiDcimCablesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiDcimCablesListRequest) IdN(idN []string) ApiDcimCablesListRequest {
r.idN = &idN
return r
}
-func (r ApiDcimCablesListRequest) IdNic(idNic []string) ApiDcimCablesListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiDcimCablesListRequest) IdNie(idNie []string) ApiDcimCablesListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiDcimCablesListRequest) IdNiew(idNiew []string) ApiDcimCablesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiDcimCablesListRequest) IdNire(idNire []string) ApiDcimCablesListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiDcimCablesListRequest) IdNisw(idNisw []string) ApiDcimCablesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiDcimCablesListRequest) IdNre(idNre []string) ApiDcimCablesListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiDcimCablesListRequest) IdRe(idRe []string) ApiDcimCablesListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiDcimCablesListRequest) Label(label []string) ApiDcimCablesListRequest {
r.label = &label
return r
@@ -1301,8 +1204,7 @@ func (r ApiDcimCablesListRequest) Status(status []string) ApiDcimCablesListReque
return r
}
-// Exclude Status (name or ID)
-func (r ApiDcimCablesListRequest) StatusN(statusN string) ApiDcimCablesListRequest {
+func (r ApiDcimCablesListRequest) StatusN(statusN []string) ApiDcimCablesListRequest {
r.statusN = &statusN
return r
}
@@ -1333,8 +1235,7 @@ func (r ApiDcimCablesListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimCablesLis
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimCablesListRequest) TeamsN(teamsN string) ApiDcimCablesListRequest {
+func (r ApiDcimCablesListRequest) TeamsN(teamsN []string) ApiDcimCablesListRequest {
r.teamsN = &teamsN
return r
}
@@ -1356,71 +1257,11 @@ func (r ApiDcimCablesListRequest) TerminationAId(terminationAId []string) ApiDci
return r
}
-func (r ApiDcimCablesListRequest) TerminationAIdIc(terminationAIdIc []string) ApiDcimCablesListRequest {
- r.terminationAIdIc = &terminationAIdIc
- return r
-}
-
-func (r ApiDcimCablesListRequest) TerminationAIdIe(terminationAIdIe []string) ApiDcimCablesListRequest {
- r.terminationAIdIe = &terminationAIdIe
- return r
-}
-
-func (r ApiDcimCablesListRequest) TerminationAIdIew(terminationAIdIew []string) ApiDcimCablesListRequest {
- r.terminationAIdIew = &terminationAIdIew
- return r
-}
-
-func (r ApiDcimCablesListRequest) TerminationAIdIre(terminationAIdIre []string) ApiDcimCablesListRequest {
- r.terminationAIdIre = &terminationAIdIre
- return r
-}
-
-func (r ApiDcimCablesListRequest) TerminationAIdIsw(terminationAIdIsw []string) ApiDcimCablesListRequest {
- r.terminationAIdIsw = &terminationAIdIsw
- return r
-}
-
func (r ApiDcimCablesListRequest) TerminationAIdN(terminationAIdN []string) ApiDcimCablesListRequest {
r.terminationAIdN = &terminationAIdN
return r
}
-func (r ApiDcimCablesListRequest) TerminationAIdNic(terminationAIdNic []string) ApiDcimCablesListRequest {
- r.terminationAIdNic = &terminationAIdNic
- return r
-}
-
-func (r ApiDcimCablesListRequest) TerminationAIdNie(terminationAIdNie []string) ApiDcimCablesListRequest {
- r.terminationAIdNie = &terminationAIdNie
- return r
-}
-
-func (r ApiDcimCablesListRequest) TerminationAIdNiew(terminationAIdNiew []string) ApiDcimCablesListRequest {
- r.terminationAIdNiew = &terminationAIdNiew
- return r
-}
-
-func (r ApiDcimCablesListRequest) TerminationAIdNire(terminationAIdNire []string) ApiDcimCablesListRequest {
- r.terminationAIdNire = &terminationAIdNire
- return r
-}
-
-func (r ApiDcimCablesListRequest) TerminationAIdNisw(terminationAIdNisw []string) ApiDcimCablesListRequest {
- r.terminationAIdNisw = &terminationAIdNisw
- return r
-}
-
-func (r ApiDcimCablesListRequest) TerminationAIdNre(terminationAIdNre []string) ApiDcimCablesListRequest {
- r.terminationAIdNre = &terminationAIdNre
- return r
-}
-
-func (r ApiDcimCablesListRequest) TerminationAIdRe(terminationAIdRe []string) ApiDcimCablesListRequest {
- r.terminationAIdRe = &terminationAIdRe
- return r
-}
-
func (r ApiDcimCablesListRequest) TerminationAType(terminationAType []int32) ApiDcimCablesListRequest {
r.terminationAType = &terminationAType
return r
@@ -1436,71 +1277,11 @@ func (r ApiDcimCablesListRequest) TerminationBId(terminationBId []string) ApiDci
return r
}
-func (r ApiDcimCablesListRequest) TerminationBIdIc(terminationBIdIc []string) ApiDcimCablesListRequest {
- r.terminationBIdIc = &terminationBIdIc
- return r
-}
-
-func (r ApiDcimCablesListRequest) TerminationBIdIe(terminationBIdIe []string) ApiDcimCablesListRequest {
- r.terminationBIdIe = &terminationBIdIe
- return r
-}
-
-func (r ApiDcimCablesListRequest) TerminationBIdIew(terminationBIdIew []string) ApiDcimCablesListRequest {
- r.terminationBIdIew = &terminationBIdIew
- return r
-}
-
-func (r ApiDcimCablesListRequest) TerminationBIdIre(terminationBIdIre []string) ApiDcimCablesListRequest {
- r.terminationBIdIre = &terminationBIdIre
- return r
-}
-
-func (r ApiDcimCablesListRequest) TerminationBIdIsw(terminationBIdIsw []string) ApiDcimCablesListRequest {
- r.terminationBIdIsw = &terminationBIdIsw
- return r
-}
-
func (r ApiDcimCablesListRequest) TerminationBIdN(terminationBIdN []string) ApiDcimCablesListRequest {
r.terminationBIdN = &terminationBIdN
return r
}
-func (r ApiDcimCablesListRequest) TerminationBIdNic(terminationBIdNic []string) ApiDcimCablesListRequest {
- r.terminationBIdNic = &terminationBIdNic
- return r
-}
-
-func (r ApiDcimCablesListRequest) TerminationBIdNie(terminationBIdNie []string) ApiDcimCablesListRequest {
- r.terminationBIdNie = &terminationBIdNie
- return r
-}
-
-func (r ApiDcimCablesListRequest) TerminationBIdNiew(terminationBIdNiew []string) ApiDcimCablesListRequest {
- r.terminationBIdNiew = &terminationBIdNiew
- return r
-}
-
-func (r ApiDcimCablesListRequest) TerminationBIdNire(terminationBIdNire []string) ApiDcimCablesListRequest {
- r.terminationBIdNire = &terminationBIdNire
- return r
-}
-
-func (r ApiDcimCablesListRequest) TerminationBIdNisw(terminationBIdNisw []string) ApiDcimCablesListRequest {
- r.terminationBIdNisw = &terminationBIdNisw
- return r
-}
-
-func (r ApiDcimCablesListRequest) TerminationBIdNre(terminationBIdNre []string) ApiDcimCablesListRequest {
- r.terminationBIdNre = &terminationBIdNre
- return r
-}
-
-func (r ApiDcimCablesListRequest) TerminationBIdRe(terminationBIdRe []string) ApiDcimCablesListRequest {
- r.terminationBIdRe = &terminationBIdRe
- return r
-}
-
func (r ApiDcimCablesListRequest) TerminationBType(terminationBType []int32) ApiDcimCablesListRequest {
r.terminationBType = &terminationBType
return r
@@ -1592,6 +1373,12 @@ func (r ApiDcimCablesListRequest) Depth(depth int32) ApiDcimCablesListRequest {
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimCablesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimCablesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimCablesListRequest) Execute() (*PaginatedCableList, *http.Response, error) {
return r.ApiService.DcimCablesListExecute(r)
}
@@ -1801,7 +1588,15 @@ func (a *DcimAPIService) DcimCablesListExecute(r ApiDcimCablesListRequest) (*Pag
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -1906,75 +1701,28 @@ func (a *DcimAPIService) DcimCablesListExecute(r ApiDcimCablesListRequest) (*Pag
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.id != nil {
- t := *r.id
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
- }
- }
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
if r.idN != nil {
@@ -1988,83 +1736,6 @@ func (a *DcimAPIService) DcimCablesListExecute(r ApiDcimCablesListRequest) (*Pag
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.label != nil {
t := *r.label
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -2579,7 +2250,15 @@ func (a *DcimAPIService) DcimCablesListExecute(r ApiDcimCablesListRequest) (*Pag
}
}
if r.statusN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", r.statusN, "form", "")
+ t := *r.statusN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "form", "multi")
+ }
}
if r.tags != nil {
t := *r.tags
@@ -2621,7 +2300,15 @@ func (a *DcimAPIService) DcimCablesListExecute(r ApiDcimCablesListRequest) (*Pag
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.tenant != nil {
t := *r.tenant
@@ -2656,61 +2343,6 @@ func (a *DcimAPIService) DcimCablesListExecute(r ApiDcimCablesListRequest) (*Pag
parameterAddToHeaderOrQuery(localVarQueryParams, "termination_a_id", t, "form", "multi")
}
}
- if r.terminationAIdIc != nil {
- t := *r.terminationAIdIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_a_id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_a_id__ic", t, "form", "multi")
- }
- }
- if r.terminationAIdIe != nil {
- t := *r.terminationAIdIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_a_id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_a_id__ie", t, "form", "multi")
- }
- }
- if r.terminationAIdIew != nil {
- t := *r.terminationAIdIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_a_id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_a_id__iew", t, "form", "multi")
- }
- }
- if r.terminationAIdIre != nil {
- t := *r.terminationAIdIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_a_id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_a_id__ire", t, "form", "multi")
- }
- }
- if r.terminationAIdIsw != nil {
- t := *r.terminationAIdIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_a_id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_a_id__isw", t, "form", "multi")
- }
- }
if r.terminationAIdN != nil {
t := *r.terminationAIdN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -2722,83 +2354,6 @@ func (a *DcimAPIService) DcimCablesListExecute(r ApiDcimCablesListRequest) (*Pag
parameterAddToHeaderOrQuery(localVarQueryParams, "termination_a_id__n", t, "form", "multi")
}
}
- if r.terminationAIdNic != nil {
- t := *r.terminationAIdNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_a_id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_a_id__nic", t, "form", "multi")
- }
- }
- if r.terminationAIdNie != nil {
- t := *r.terminationAIdNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_a_id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_a_id__nie", t, "form", "multi")
- }
- }
- if r.terminationAIdNiew != nil {
- t := *r.terminationAIdNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_a_id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_a_id__niew", t, "form", "multi")
- }
- }
- if r.terminationAIdNire != nil {
- t := *r.terminationAIdNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_a_id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_a_id__nire", t, "form", "multi")
- }
- }
- if r.terminationAIdNisw != nil {
- t := *r.terminationAIdNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_a_id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_a_id__nisw", t, "form", "multi")
- }
- }
- if r.terminationAIdNre != nil {
- t := *r.terminationAIdNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_a_id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_a_id__nre", t, "form", "multi")
- }
- }
- if r.terminationAIdRe != nil {
- t := *r.terminationAIdRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_a_id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_a_id__re", t, "form", "multi")
- }
- }
if r.terminationAType != nil {
t := *r.terminationAType
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -2832,61 +2387,6 @@ func (a *DcimAPIService) DcimCablesListExecute(r ApiDcimCablesListRequest) (*Pag
parameterAddToHeaderOrQuery(localVarQueryParams, "termination_b_id", t, "form", "multi")
}
}
- if r.terminationBIdIc != nil {
- t := *r.terminationBIdIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_b_id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_b_id__ic", t, "form", "multi")
- }
- }
- if r.terminationBIdIe != nil {
- t := *r.terminationBIdIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_b_id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_b_id__ie", t, "form", "multi")
- }
- }
- if r.terminationBIdIew != nil {
- t := *r.terminationBIdIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_b_id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_b_id__iew", t, "form", "multi")
- }
- }
- if r.terminationBIdIre != nil {
- t := *r.terminationBIdIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_b_id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_b_id__ire", t, "form", "multi")
- }
- }
- if r.terminationBIdIsw != nil {
- t := *r.terminationBIdIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_b_id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_b_id__isw", t, "form", "multi")
- }
- }
if r.terminationBIdN != nil {
t := *r.terminationBIdN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -2898,83 +2398,6 @@ func (a *DcimAPIService) DcimCablesListExecute(r ApiDcimCablesListRequest) (*Pag
parameterAddToHeaderOrQuery(localVarQueryParams, "termination_b_id__n", t, "form", "multi")
}
}
- if r.terminationBIdNic != nil {
- t := *r.terminationBIdNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_b_id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_b_id__nic", t, "form", "multi")
- }
- }
- if r.terminationBIdNie != nil {
- t := *r.terminationBIdNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_b_id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_b_id__nie", t, "form", "multi")
- }
- }
- if r.terminationBIdNiew != nil {
- t := *r.terminationBIdNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_b_id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_b_id__niew", t, "form", "multi")
- }
- }
- if r.terminationBIdNire != nil {
- t := *r.terminationBIdNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_b_id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_b_id__nire", t, "form", "multi")
- }
- }
- if r.terminationBIdNisw != nil {
- t := *r.terminationBIdNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_b_id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_b_id__nisw", t, "form", "multi")
- }
- }
- if r.terminationBIdNre != nil {
- t := *r.terminationBIdNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_b_id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_b_id__nre", t, "form", "multi")
- }
- }
- if r.terminationBIdRe != nil {
- t := *r.terminationBIdRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_b_id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "termination_b_id__re", t, "form", "multi")
- }
- }
if r.terminationBType != nil {
t := *r.terminationBType
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -3165,8 +2588,16 @@ func (a *DcimAPIService) DcimCablesListExecute(r ApiDcimCablesListRequest) (*Pag
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -3381,6 +2812,7 @@ type ApiDcimCablesNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimCablesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimCablesNotesListRequest {
@@ -3406,6 +2838,12 @@ func (r ApiDcimCablesNotesListRequest) Depth(depth int32) ApiDcimCablesNotesList
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimCablesNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimCablesNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimCablesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.DcimCablesNotesListExecute(r)
}
@@ -3461,8 +2899,16 @@ func (a *DcimAPIService) DcimCablesNotesListExecute(r ApiDcimCablesNotesListRequ
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -3672,6 +3118,7 @@ type ApiDcimCablesRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimCablesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimCablesRetrieveRequest {
@@ -3685,6 +3132,12 @@ func (r ApiDcimCablesRetrieveRequest) Depth(depth int32) ApiDcimCablesRetrieveRe
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimCablesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimCablesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimCablesRetrieveRequest) Execute() (*Cable, *http.Response, error) {
return r.ApiService.DcimCablesRetrieveExecute(r)
}
@@ -3734,8 +3187,16 @@ func (a *DcimAPIService) DcimCablesRetrieveExecute(r ApiDcimCablesRetrieveReques
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -3949,6 +3410,7 @@ type ApiDcimConnectedDeviceListRequest struct {
peerInterface *string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
// The name of the peer device
@@ -3974,6 +3436,12 @@ func (r ApiDcimConnectedDeviceListRequest) Depth(depth int32) ApiDcimConnectedDe
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimConnectedDeviceListRequest) ExcludeM2m(excludeM2m bool) ApiDcimConnectedDeviceListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimConnectedDeviceListRequest) Execute() ([]Device, *http.Response, error) {
return r.ApiService.DcimConnectedDeviceListExecute(r)
}
@@ -4033,8 +3501,16 @@ func (a *DcimAPIService) DcimConnectedDeviceListExecute(r ApiDcimConnectedDevice
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -4109,26 +3585,14 @@ type ApiDcimConsoleConnectionsListRequest struct {
ApiService *DcimAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
device *[]string
deviceId *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
limit *int32
location *string
name *[]string
@@ -4149,8 +3613,9 @@ type ApiDcimConsoleConnectionsListRequest struct {
sort *string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimConsoleConnectionsListRequest) Contacts(contacts []string) ApiDcimConsoleConnectionsListRequest {
@@ -4164,8 +3629,7 @@ func (r ApiDcimConsoleConnectionsListRequest) ContactsIsnull(contactsIsnull bool
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimConsoleConnectionsListRequest) ContactsN(contactsN string) ApiDcimConsoleConnectionsListRequest {
+func (r ApiDcimConsoleConnectionsListRequest) ContactsN(contactsN []string) ApiDcimConsoleConnectionsListRequest {
r.contactsN = &contactsN
return r
}
@@ -4187,8 +3651,7 @@ func (r ApiDcimConsoleConnectionsListRequest) DynamicGroups(dynamicGroups []stri
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimConsoleConnectionsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimConsoleConnectionsListRequest {
+func (r ApiDcimConsoleConnectionsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimConsoleConnectionsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -4204,71 +3667,11 @@ func (r ApiDcimConsoleConnectionsListRequest) Id(id []string) ApiDcimConsoleConn
return r
}
-func (r ApiDcimConsoleConnectionsListRequest) IdIc(idIc []string) ApiDcimConsoleConnectionsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiDcimConsoleConnectionsListRequest) IdIe(idIe []string) ApiDcimConsoleConnectionsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiDcimConsoleConnectionsListRequest) IdIew(idIew []string) ApiDcimConsoleConnectionsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiDcimConsoleConnectionsListRequest) IdIre(idIre []string) ApiDcimConsoleConnectionsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiDcimConsoleConnectionsListRequest) IdIsw(idIsw []string) ApiDcimConsoleConnectionsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiDcimConsoleConnectionsListRequest) IdN(idN []string) ApiDcimConsoleConnectionsListRequest {
r.idN = &idN
return r
}
-func (r ApiDcimConsoleConnectionsListRequest) IdNic(idNic []string) ApiDcimConsoleConnectionsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiDcimConsoleConnectionsListRequest) IdNie(idNie []string) ApiDcimConsoleConnectionsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiDcimConsoleConnectionsListRequest) IdNiew(idNiew []string) ApiDcimConsoleConnectionsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiDcimConsoleConnectionsListRequest) IdNire(idNire []string) ApiDcimConsoleConnectionsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiDcimConsoleConnectionsListRequest) IdNisw(idNisw []string) ApiDcimConsoleConnectionsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiDcimConsoleConnectionsListRequest) IdNre(idNre []string) ApiDcimConsoleConnectionsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiDcimConsoleConnectionsListRequest) IdRe(idRe []string) ApiDcimConsoleConnectionsListRequest {
- r.idRe = &idRe
- return r
-}
-
// Number of results to return per page.
func (r ApiDcimConsoleConnectionsListRequest) Limit(limit int32) ApiDcimConsoleConnectionsListRequest {
r.limit = &limit
@@ -4374,8 +3777,7 @@ func (r ApiDcimConsoleConnectionsListRequest) TeamsIsnull(teamsIsnull bool) ApiD
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimConsoleConnectionsListRequest) TeamsN(teamsN string) ApiDcimConsoleConnectionsListRequest {
+func (r ApiDcimConsoleConnectionsListRequest) TeamsN(teamsN []string) ApiDcimConsoleConnectionsListRequest {
r.teamsN = &teamsN
return r
}
@@ -4386,6 +3788,12 @@ func (r ApiDcimConsoleConnectionsListRequest) Depth(depth int32) ApiDcimConsoleC
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimConsoleConnectionsListRequest) ExcludeM2m(excludeM2m bool) ApiDcimConsoleConnectionsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimConsoleConnectionsListRequest) Execute() (*PaginatedConsolePortList, *http.Response, error) {
return r.ApiService.DcimConsoleConnectionsListExecute(r)
}
@@ -4441,7 +3849,15 @@ func (a *DcimAPIService) DcimConsoleConnectionsListExecute(r ApiDcimConsoleConne
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.device != nil {
t := *r.device
@@ -4477,75 +3893,28 @@ func (a *DcimAPIService) DcimConsoleConnectionsListExecute(r ApiDcimConsoleConne
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.id != nil {
- t := *r.id
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
- }
- }
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
if r.idN != nil {
@@ -4559,83 +3928,6 @@ func (a *DcimAPIService) DcimConsoleConnectionsListExecute(r ApiDcimConsoleConne
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.limit != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
@@ -4817,13 +4109,29 @@ func (a *DcimAPIService) DcimConsoleConnectionsListExecute(r ApiDcimConsoleConne
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -5534,7 +4842,7 @@ type ApiDcimConsolePortTemplatesListRequest struct {
ApiService *DcimAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
description *[]string
descriptionIc *[]string
descriptionIe *[]string
@@ -5553,24 +4861,12 @@ type ApiDcimConsolePortTemplatesListRequest struct {
deviceTypeIsnull *bool
deviceTypeN *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
hasDeviceType *bool
hasModuleType *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
label *[]string
labelIc *[]string
labelIe *[]string
@@ -5608,7 +4904,7 @@ type ApiDcimConsolePortTemplatesListRequest struct {
sort *string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
type_ *[]string
typeIc *[]string
typeIe *[]string
@@ -5624,6 +4920,7 @@ type ApiDcimConsolePortTemplatesListRequest struct {
typeNre *[]string
typeRe *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimConsolePortTemplatesListRequest) Contacts(contacts []string) ApiDcimConsolePortTemplatesListRequest {
@@ -5637,8 +4934,7 @@ func (r ApiDcimConsolePortTemplatesListRequest) ContactsIsnull(contactsIsnull bo
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimConsolePortTemplatesListRequest) ContactsN(contactsN string) ApiDcimConsolePortTemplatesListRequest {
+func (r ApiDcimConsolePortTemplatesListRequest) ContactsN(contactsN []string) ApiDcimConsolePortTemplatesListRequest {
r.contactsN = &contactsN
return r
}
@@ -5748,8 +5044,7 @@ func (r ApiDcimConsolePortTemplatesListRequest) DynamicGroups(dynamicGroups []st
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimConsolePortTemplatesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimConsolePortTemplatesListRequest {
+func (r ApiDcimConsolePortTemplatesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimConsolePortTemplatesListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -5777,84 +5072,12 @@ func (r ApiDcimConsolePortTemplatesListRequest) Id(id []string) ApiDcimConsolePo
return r
}
-// ID contains
-func (r ApiDcimConsolePortTemplatesListRequest) IdIc(idIc []string) ApiDcimConsolePortTemplatesListRequest {
- r.idIc = &idIc
- return r
-}
-
-// ID
-func (r ApiDcimConsolePortTemplatesListRequest) IdIe(idIe []string) ApiDcimConsolePortTemplatesListRequest {
- r.idIe = &idIe
- return r
-}
-
-// ID ends with
-func (r ApiDcimConsolePortTemplatesListRequest) IdIew(idIew []string) ApiDcimConsolePortTemplatesListRequest {
- r.idIew = &idIew
- return r
-}
-
-// ID matches regex
-func (r ApiDcimConsolePortTemplatesListRequest) IdIre(idIre []string) ApiDcimConsolePortTemplatesListRequest {
- r.idIre = &idIre
- return r
-}
-
-// ID starts with
-func (r ApiDcimConsolePortTemplatesListRequest) IdIsw(idIsw []string) ApiDcimConsolePortTemplatesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
// Exclude ID
func (r ApiDcimConsolePortTemplatesListRequest) IdN(idN []string) ApiDcimConsolePortTemplatesListRequest {
r.idN = &idN
return r
}
-// Exclude ID contains
-func (r ApiDcimConsolePortTemplatesListRequest) IdNic(idNic []string) ApiDcimConsolePortTemplatesListRequest {
- r.idNic = &idNic
- return r
-}
-
-// Exclude ID
-func (r ApiDcimConsolePortTemplatesListRequest) IdNie(idNie []string) ApiDcimConsolePortTemplatesListRequest {
- r.idNie = &idNie
- return r
-}
-
-// Exclude ID ends with
-func (r ApiDcimConsolePortTemplatesListRequest) IdNiew(idNiew []string) ApiDcimConsolePortTemplatesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-// Exclude ID matches regex
-func (r ApiDcimConsolePortTemplatesListRequest) IdNire(idNire []string) ApiDcimConsolePortTemplatesListRequest {
- r.idNire = &idNire
- return r
-}
-
-// Exclude ID starts with
-func (r ApiDcimConsolePortTemplatesListRequest) IdNisw(idNisw []string) ApiDcimConsolePortTemplatesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-// Exclude ID matches regex
-func (r ApiDcimConsolePortTemplatesListRequest) IdNre(idNre []string) ApiDcimConsolePortTemplatesListRequest {
- r.idNre = &idNre
- return r
-}
-
-// ID matches regex
-func (r ApiDcimConsolePortTemplatesListRequest) IdRe(idRe []string) ApiDcimConsolePortTemplatesListRequest {
- r.idRe = &idRe
- return r
-}
-
// Label
func (r ApiDcimConsolePortTemplatesListRequest) Label(label []string) ApiDcimConsolePortTemplatesListRequest {
r.label = &label
@@ -6074,8 +5297,7 @@ func (r ApiDcimConsolePortTemplatesListRequest) TeamsIsnull(teamsIsnull bool) Ap
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimConsolePortTemplatesListRequest) TeamsN(teamsN string) ApiDcimConsolePortTemplatesListRequest {
+func (r ApiDcimConsolePortTemplatesListRequest) TeamsN(teamsN []string) ApiDcimConsolePortTemplatesListRequest {
r.teamsN = &teamsN
return r
}
@@ -6156,6 +5378,12 @@ func (r ApiDcimConsolePortTemplatesListRequest) Depth(depth int32) ApiDcimConsol
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimConsolePortTemplatesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimConsolePortTemplatesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimConsolePortTemplatesListRequest) Execute() (*PaginatedConsolePortTemplateList, *http.Response, error) {
return r.ApiService.DcimConsolePortTemplatesListExecute(r)
}
@@ -6211,7 +5439,15 @@ func (a *DcimAPIService) DcimConsolePortTemplatesListExecute(r ApiDcimConsolePor
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.description != nil {
t := *r.description
@@ -6404,7 +5640,15 @@ func (a *DcimAPIService) DcimConsolePortTemplatesListExecute(r ApiDcimConsolePor
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -6426,61 +5670,6 @@ func (a *DcimAPIService) DcimConsolePortTemplatesListExecute(r ApiDcimConsolePor
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -6492,83 +5681,6 @@ func (a *DcimAPIService) DcimConsolePortTemplatesListExecute(r ApiDcimConsolePor
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.label != nil {
t := *r.label
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -6929,7 +6041,15 @@ func (a *DcimAPIService) DcimConsolePortTemplatesListExecute(r ApiDcimConsolePor
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.type_ != nil {
t := *r.type_
@@ -7088,8 +6208,16 @@ func (a *DcimAPIService) DcimConsolePortTemplatesListExecute(r ApiDcimConsolePor
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -7159,39 +6287,39 @@ func (a *DcimAPIService) DcimConsolePortTemplatesListExecute(r ApiDcimConsolePor
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimConsolePortTemplatesNotesCreateRequest struct {
+type ApiDcimConsolePortTemplatesPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
- noteInputRequest *NoteInputRequest
format *CircuitsCircuitTerminationsListFormatParameter
+ patchedWritableConsolePortTemplateRequest *PatchedWritableConsolePortTemplateRequest
}
-func (r ApiDcimConsolePortTemplatesNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimConsolePortTemplatesNotesCreateRequest {
- r.noteInputRequest = ¬eInputRequest
+func (r ApiDcimConsolePortTemplatesPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsolePortTemplatesPartialUpdateRequest {
+ r.format = &format
return r
}
-func (r ApiDcimConsolePortTemplatesNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsolePortTemplatesNotesCreateRequest {
- r.format = &format
+func (r ApiDcimConsolePortTemplatesPartialUpdateRequest) PatchedWritableConsolePortTemplateRequest(patchedWritableConsolePortTemplateRequest PatchedWritableConsolePortTemplateRequest) ApiDcimConsolePortTemplatesPartialUpdateRequest {
+ r.patchedWritableConsolePortTemplateRequest = &patchedWritableConsolePortTemplateRequest
return r
}
-func (r ApiDcimConsolePortTemplatesNotesCreateRequest) Execute() (*Note, *http.Response, error) {
- return r.ApiService.DcimConsolePortTemplatesNotesCreateExecute(r)
+func (r ApiDcimConsolePortTemplatesPartialUpdateRequest) Execute() (*ConsolePortTemplate, *http.Response, error) {
+ return r.ApiService.DcimConsolePortTemplatesPartialUpdateExecute(r)
}
/*
-DcimConsolePortTemplatesNotesCreate Method for DcimConsolePortTemplatesNotesCreate
+DcimConsolePortTemplatesPartialUpdate Method for DcimConsolePortTemplatesPartialUpdate
-API methods for returning or creating notes on an object.
+Partial update a console port template object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id A UUID string identifying this console port template.
- @return ApiDcimConsolePortTemplatesNotesCreateRequest
+ @return ApiDcimConsolePortTemplatesPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimConsolePortTemplatesNotesCreate(ctx context.Context, id string) ApiDcimConsolePortTemplatesNotesCreateRequest {
- return ApiDcimConsolePortTemplatesNotesCreateRequest{
+func (a *DcimAPIService) DcimConsolePortTemplatesPartialUpdate(ctx context.Context, id string) ApiDcimConsolePortTemplatesPartialUpdateRequest {
+ return ApiDcimConsolePortTemplatesPartialUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -7199,29 +6327,26 @@ func (a *DcimAPIService) DcimConsolePortTemplatesNotesCreate(ctx context.Context
}
// Execute executes the request
-// @return Note
-func (a *DcimAPIService) DcimConsolePortTemplatesNotesCreateExecute(r ApiDcimConsolePortTemplatesNotesCreateRequest) (*Note, *http.Response, error) {
+// @return ConsolePortTemplate
+func (a *DcimAPIService) DcimConsolePortTemplatesPartialUpdateExecute(r ApiDcimConsolePortTemplatesPartialUpdateRequest) (*ConsolePortTemplate, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPost
+ localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *Note
+ localVarReturnValue *ConsolePortTemplate
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimConsolePortTemplatesNotesCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimConsolePortTemplatesPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/console-port-templates/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/console-port-templates/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.noteInputRequest == nil {
- return localVarReturnValue, nil, reportError("noteInputRequest is required and must be specified")
- }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -7244,7 +6369,7 @@ func (a *DcimAPIService) DcimConsolePortTemplatesNotesCreateExecute(r ApiDcimCon
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.noteInputRequest
+ localVarPostBody = r.patchedWritableConsolePortTemplateRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -7296,54 +6421,47 @@ func (a *DcimAPIService) DcimConsolePortTemplatesNotesCreateExecute(r ApiDcimCon
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimConsolePortTemplatesNotesListRequest struct {
+type ApiDcimConsolePortTemplatesRetrieveRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
- limit *int32
- offset *int32
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimConsolePortTemplatesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsolePortTemplatesNotesListRequest {
+func (r ApiDcimConsolePortTemplatesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsolePortTemplatesRetrieveRequest {
r.format = &format
return r
}
-// Number of results to return per page.
-func (r ApiDcimConsolePortTemplatesNotesListRequest) Limit(limit int32) ApiDcimConsolePortTemplatesNotesListRequest {
- r.limit = &limit
- return r
-}
-
-// The initial index from which to return the results.
-func (r ApiDcimConsolePortTemplatesNotesListRequest) Offset(offset int32) ApiDcimConsolePortTemplatesNotesListRequest {
- r.offset = &offset
+// Serializer Depth
+func (r ApiDcimConsolePortTemplatesRetrieveRequest) Depth(depth int32) ApiDcimConsolePortTemplatesRetrieveRequest {
+ r.depth = &depth
return r
}
-// Serializer Depth
-func (r ApiDcimConsolePortTemplatesNotesListRequest) Depth(depth int32) ApiDcimConsolePortTemplatesNotesListRequest {
- r.depth = &depth
+// Exclude many-to-many fields from the response
+func (r ApiDcimConsolePortTemplatesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimConsolePortTemplatesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
return r
}
-func (r ApiDcimConsolePortTemplatesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
- return r.ApiService.DcimConsolePortTemplatesNotesListExecute(r)
+func (r ApiDcimConsolePortTemplatesRetrieveRequest) Execute() (*ConsolePortTemplate, *http.Response, error) {
+ return r.ApiService.DcimConsolePortTemplatesRetrieveExecute(r)
}
/*
-DcimConsolePortTemplatesNotesList Method for DcimConsolePortTemplatesNotesList
+DcimConsolePortTemplatesRetrieve Method for DcimConsolePortTemplatesRetrieve
-API methods for returning or creating notes on an object.
+Retrieve a console port template object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id A UUID string identifying this console port template.
- @return ApiDcimConsolePortTemplatesNotesListRequest
+ @return ApiDcimConsolePortTemplatesRetrieveRequest
*/
-func (a *DcimAPIService) DcimConsolePortTemplatesNotesList(ctx context.Context, id string) ApiDcimConsolePortTemplatesNotesListRequest {
- return ApiDcimConsolePortTemplatesNotesListRequest{
+func (a *DcimAPIService) DcimConsolePortTemplatesRetrieve(ctx context.Context, id string) ApiDcimConsolePortTemplatesRetrieveRequest {
+ return ApiDcimConsolePortTemplatesRetrieveRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -7351,21 +6469,21 @@ func (a *DcimAPIService) DcimConsolePortTemplatesNotesList(ctx context.Context,
}
// Execute executes the request
-// @return PaginatedNoteList
-func (a *DcimAPIService) DcimConsolePortTemplatesNotesListExecute(r ApiDcimConsolePortTemplatesNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
+// @return ConsolePortTemplate
+func (a *DcimAPIService) DcimConsolePortTemplatesRetrieveExecute(r ApiDcimConsolePortTemplatesRetrieveRequest) (*ConsolePortTemplate, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PaginatedNoteList
+ localVarReturnValue *ConsolePortTemplate
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimConsolePortTemplatesNotesList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimConsolePortTemplatesRetrieve")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/console-port-templates/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/console-port-templates/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -7375,17 +6493,19 @@ func (a *DcimAPIService) DcimConsolePortTemplatesNotesListExecute(r ApiDcimConso
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
- }
- if r.offset != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
- }
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -7455,39 +6575,39 @@ func (a *DcimAPIService) DcimConsolePortTemplatesNotesListExecute(r ApiDcimConso
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimConsolePortTemplatesPartialUpdateRequest struct {
+type ApiDcimConsolePortTemplatesUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
+ writableConsolePortTemplateRequest *WritableConsolePortTemplateRequest
format *CircuitsCircuitTerminationsListFormatParameter
- patchedWritableConsolePortTemplateRequest *PatchedWritableConsolePortTemplateRequest
}
-func (r ApiDcimConsolePortTemplatesPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsolePortTemplatesPartialUpdateRequest {
- r.format = &format
+func (r ApiDcimConsolePortTemplatesUpdateRequest) WritableConsolePortTemplateRequest(writableConsolePortTemplateRequest WritableConsolePortTemplateRequest) ApiDcimConsolePortTemplatesUpdateRequest {
+ r.writableConsolePortTemplateRequest = &writableConsolePortTemplateRequest
return r
}
-func (r ApiDcimConsolePortTemplatesPartialUpdateRequest) PatchedWritableConsolePortTemplateRequest(patchedWritableConsolePortTemplateRequest PatchedWritableConsolePortTemplateRequest) ApiDcimConsolePortTemplatesPartialUpdateRequest {
- r.patchedWritableConsolePortTemplateRequest = &patchedWritableConsolePortTemplateRequest
+func (r ApiDcimConsolePortTemplatesUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsolePortTemplatesUpdateRequest {
+ r.format = &format
return r
}
-func (r ApiDcimConsolePortTemplatesPartialUpdateRequest) Execute() (*ConsolePortTemplate, *http.Response, error) {
- return r.ApiService.DcimConsolePortTemplatesPartialUpdateExecute(r)
+func (r ApiDcimConsolePortTemplatesUpdateRequest) Execute() (*ConsolePortTemplate, *http.Response, error) {
+ return r.ApiService.DcimConsolePortTemplatesUpdateExecute(r)
}
/*
-DcimConsolePortTemplatesPartialUpdate Method for DcimConsolePortTemplatesPartialUpdate
+DcimConsolePortTemplatesUpdate Method for DcimConsolePortTemplatesUpdate
-Partial update a console port template object.
+Update a console port template object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id A UUID string identifying this console port template.
- @return ApiDcimConsolePortTemplatesPartialUpdateRequest
+ @return ApiDcimConsolePortTemplatesUpdateRequest
*/
-func (a *DcimAPIService) DcimConsolePortTemplatesPartialUpdate(ctx context.Context, id string) ApiDcimConsolePortTemplatesPartialUpdateRequest {
- return ApiDcimConsolePortTemplatesPartialUpdateRequest{
+func (a *DcimAPIService) DcimConsolePortTemplatesUpdate(ctx context.Context, id string) ApiDcimConsolePortTemplatesUpdateRequest {
+ return ApiDcimConsolePortTemplatesUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -7496,15 +6616,15 @@ func (a *DcimAPIService) DcimConsolePortTemplatesPartialUpdate(ctx context.Conte
// Execute executes the request
// @return ConsolePortTemplate
-func (a *DcimAPIService) DcimConsolePortTemplatesPartialUpdateExecute(r ApiDcimConsolePortTemplatesPartialUpdateRequest) (*ConsolePortTemplate, *http.Response, error) {
+func (a *DcimAPIService) DcimConsolePortTemplatesUpdateExecute(r ApiDcimConsolePortTemplatesUpdateRequest) (*ConsolePortTemplate, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPatch
+ localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
localVarReturnValue *ConsolePortTemplate
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimConsolePortTemplatesPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimConsolePortTemplatesUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -7515,6 +6635,9 @@ func (a *DcimAPIService) DcimConsolePortTemplatesPartialUpdateExecute(r ApiDcimC
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
+ if r.writableConsolePortTemplateRequest == nil {
+ return localVarReturnValue, nil, reportError("writableConsolePortTemplateRequest is required and must be specified")
+ }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -7537,7 +6660,7 @@ func (a *DcimAPIService) DcimConsolePortTemplatesPartialUpdateExecute(r ApiDcimC
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedWritableConsolePortTemplateRequest
+ localVarPostBody = r.writableConsolePortTemplateRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -7589,79 +6712,69 @@ func (a *DcimAPIService) DcimConsolePortTemplatesPartialUpdateExecute(r ApiDcimC
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimConsolePortTemplatesRetrieveRequest struct {
+type ApiDcimConsolePortsBulkDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
- id string
+ bulkOperationRequest *[]BulkOperationRequest
format *CircuitsCircuitTerminationsListFormatParameter
- depth *int32
}
-func (r ApiDcimConsolePortTemplatesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsolePortTemplatesRetrieveRequest {
- r.format = &format
+func (r ApiDcimConsolePortsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimConsolePortsBulkDestroyRequest {
+ r.bulkOperationRequest = &bulkOperationRequest
return r
}
-// Serializer Depth
-func (r ApiDcimConsolePortTemplatesRetrieveRequest) Depth(depth int32) ApiDcimConsolePortTemplatesRetrieveRequest {
- r.depth = &depth
+func (r ApiDcimConsolePortsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsolePortsBulkDestroyRequest {
+ r.format = &format
return r
}
-func (r ApiDcimConsolePortTemplatesRetrieveRequest) Execute() (*ConsolePortTemplate, *http.Response, error) {
- return r.ApiService.DcimConsolePortTemplatesRetrieveExecute(r)
+func (r ApiDcimConsolePortsBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimConsolePortsBulkDestroyExecute(r)
}
/*
-DcimConsolePortTemplatesRetrieve Method for DcimConsolePortTemplatesRetrieve
+DcimConsolePortsBulkDestroy Method for DcimConsolePortsBulkDestroy
-Retrieve a console port template object.
+Destroy a list of console port objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this console port template.
- @return ApiDcimConsolePortTemplatesRetrieveRequest
+ @return ApiDcimConsolePortsBulkDestroyRequest
*/
-func (a *DcimAPIService) DcimConsolePortTemplatesRetrieve(ctx context.Context, id string) ApiDcimConsolePortTemplatesRetrieveRequest {
- return ApiDcimConsolePortTemplatesRetrieveRequest{
+func (a *DcimAPIService) DcimConsolePortsBulkDestroy(ctx context.Context) ApiDcimConsolePortsBulkDestroyRequest {
+ return ApiDcimConsolePortsBulkDestroyRequest{
ApiService: a,
ctx: ctx,
- id: id,
}
}
// Execute executes the request
-// @return ConsolePortTemplate
-func (a *DcimAPIService) DcimConsolePortTemplatesRetrieveExecute(r ApiDcimConsolePortTemplatesRetrieveRequest) (*ConsolePortTemplate, *http.Response, error) {
+func (a *DcimAPIService) DcimConsolePortsBulkDestroyExecute(r ApiDcimConsolePortsBulkDestroyRequest) (*http.Response, error) {
var (
- localVarHTTPMethod = http.MethodGet
+ localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *ConsolePortTemplate
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimConsolePortTemplatesRetrieve")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimConsolePortsBulkDestroy")
if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/console-port-templates/{id}/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+ localVarPath := localBasePath + "/dcim/console-ports/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
+ if r.bulkOperationRequest == nil {
+ return nil, reportError("bulkOperationRequest is required and must be specified")
+ }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.depth != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
- } else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
- }
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -7670,13 +6783,15 @@ func (a *DcimAPIService) DcimConsolePortTemplatesRetrieveExecute(r ApiDcimConsol
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+ localVarHTTPHeaderAccepts := []string{}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
if localVarHTTPHeaderAccept != "" {
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
+ // body params
+ localVarPostBody = r.bulkOperationRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -7693,19 +6808,19 @@ func (a *DcimAPIService) DcimConsolePortTemplatesRetrieveExecute(r ApiDcimConsol
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
- return localVarReturnValue, nil, err
+ return nil, err
}
localVarHTTPResponse, err := a.client.callAPI(req)
if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
+ return localVarHTTPResponse, err
}
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
+ return localVarHTTPResponse, err
}
if localVarHTTPResponse.StatusCode >= 300 {
@@ -7713,338 +6828,70 @@ func (a *DcimAPIService) DcimConsolePortTemplatesRetrieveExecute(r ApiDcimConsol
body: localVarBody,
error: localVarHTTPResponse.Status,
}
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
+ return localVarHTTPResponse, newErr
}
- return localVarReturnValue, localVarHTTPResponse, nil
+ return localVarHTTPResponse, nil
}
-type ApiDcimConsolePortTemplatesUpdateRequest struct {
+type ApiDcimConsolePortsBulkPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- id string
- writableConsolePortTemplateRequest *WritableConsolePortTemplateRequest
+ patchedBulkWritableConsolePortRequest *[]PatchedBulkWritableConsolePortRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimConsolePortTemplatesUpdateRequest) WritableConsolePortTemplateRequest(writableConsolePortTemplateRequest WritableConsolePortTemplateRequest) ApiDcimConsolePortTemplatesUpdateRequest {
- r.writableConsolePortTemplateRequest = &writableConsolePortTemplateRequest
+func (r ApiDcimConsolePortsBulkPartialUpdateRequest) PatchedBulkWritableConsolePortRequest(patchedBulkWritableConsolePortRequest []PatchedBulkWritableConsolePortRequest) ApiDcimConsolePortsBulkPartialUpdateRequest {
+ r.patchedBulkWritableConsolePortRequest = &patchedBulkWritableConsolePortRequest
return r
}
-func (r ApiDcimConsolePortTemplatesUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsolePortTemplatesUpdateRequest {
+func (r ApiDcimConsolePortsBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsolePortsBulkPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimConsolePortTemplatesUpdateRequest) Execute() (*ConsolePortTemplate, *http.Response, error) {
- return r.ApiService.DcimConsolePortTemplatesUpdateExecute(r)
+func (r ApiDcimConsolePortsBulkPartialUpdateRequest) Execute() ([]ConsolePort, *http.Response, error) {
+ return r.ApiService.DcimConsolePortsBulkPartialUpdateExecute(r)
}
/*
-DcimConsolePortTemplatesUpdate Method for DcimConsolePortTemplatesUpdate
+DcimConsolePortsBulkPartialUpdate Method for DcimConsolePortsBulkPartialUpdate
-Update a console port template object.
+Partial update a list of console port objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this console port template.
- @return ApiDcimConsolePortTemplatesUpdateRequest
+ @return ApiDcimConsolePortsBulkPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimConsolePortTemplatesUpdate(ctx context.Context, id string) ApiDcimConsolePortTemplatesUpdateRequest {
- return ApiDcimConsolePortTemplatesUpdateRequest{
+func (a *DcimAPIService) DcimConsolePortsBulkPartialUpdate(ctx context.Context) ApiDcimConsolePortsBulkPartialUpdateRequest {
+ return ApiDcimConsolePortsBulkPartialUpdateRequest{
ApiService: a,
ctx: ctx,
- id: id,
}
}
// Execute executes the request
-// @return ConsolePortTemplate
-func (a *DcimAPIService) DcimConsolePortTemplatesUpdateExecute(r ApiDcimConsolePortTemplatesUpdateRequest) (*ConsolePortTemplate, *http.Response, error) {
+// @return []ConsolePort
+func (a *DcimAPIService) DcimConsolePortsBulkPartialUpdateExecute(r ApiDcimConsolePortsBulkPartialUpdateRequest) ([]ConsolePort, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPut
+ localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *ConsolePortTemplate
+ localVarReturnValue []ConsolePort
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimConsolePortTemplatesUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimConsolePortsBulkPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/console-port-templates/{id}/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+ localVarPath := localBasePath + "/dcim/console-ports/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.writableConsolePortTemplateRequest == nil {
- return localVarReturnValue, nil, reportError("writableConsolePortTemplateRequest is required and must be specified")
- }
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.writableConsolePortTemplateRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiDcimConsolePortsBulkDestroyRequest struct {
- ctx context.Context
- ApiService *DcimAPIService
- bulkOperationRequest *[]BulkOperationRequest
- format *CircuitsCircuitTerminationsListFormatParameter
-}
-
-func (r ApiDcimConsolePortsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimConsolePortsBulkDestroyRequest {
- r.bulkOperationRequest = &bulkOperationRequest
- return r
-}
-
-func (r ApiDcimConsolePortsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsolePortsBulkDestroyRequest {
- r.format = &format
- return r
-}
-
-func (r ApiDcimConsolePortsBulkDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimConsolePortsBulkDestroyExecute(r)
-}
-
-/*
-DcimConsolePortsBulkDestroy Method for DcimConsolePortsBulkDestroy
-
-Destroy a list of console port objects.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimConsolePortsBulkDestroyRequest
-*/
-func (a *DcimAPIService) DcimConsolePortsBulkDestroy(ctx context.Context) ApiDcimConsolePortsBulkDestroyRequest {
- return ApiDcimConsolePortsBulkDestroyRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-func (a *DcimAPIService) DcimConsolePortsBulkDestroyExecute(r ApiDcimConsolePortsBulkDestroyRequest) (*http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodDelete
- localVarPostBody interface{}
- formFiles []formFile
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimConsolePortsBulkDestroy")
- if err != nil {
- return nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/dcim/console-ports/"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.bulkOperationRequest == nil {
- return nil, reportError("bulkOperationRequest is required and must be specified")
- }
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.bulkOperationRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarHTTPResponse, newErr
- }
-
- return localVarHTTPResponse, nil
-}
-
-type ApiDcimConsolePortsBulkPartialUpdateRequest struct {
- ctx context.Context
- ApiService *DcimAPIService
- patchedBulkWritableConsolePortRequest *[]PatchedBulkWritableConsolePortRequest
- format *CircuitsCircuitTerminationsListFormatParameter
-}
-
-func (r ApiDcimConsolePortsBulkPartialUpdateRequest) PatchedBulkWritableConsolePortRequest(patchedBulkWritableConsolePortRequest []PatchedBulkWritableConsolePortRequest) ApiDcimConsolePortsBulkPartialUpdateRequest {
- r.patchedBulkWritableConsolePortRequest = &patchedBulkWritableConsolePortRequest
- return r
-}
-
-func (r ApiDcimConsolePortsBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsolePortsBulkPartialUpdateRequest {
- r.format = &format
- return r
-}
-
-func (r ApiDcimConsolePortsBulkPartialUpdateRequest) Execute() ([]ConsolePort, *http.Response, error) {
- return r.ApiService.DcimConsolePortsBulkPartialUpdateExecute(r)
-}
-
-/*
-DcimConsolePortsBulkPartialUpdate Method for DcimConsolePortsBulkPartialUpdate
-
-Partial update a list of console port objects.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimConsolePortsBulkPartialUpdateRequest
-*/
-func (a *DcimAPIService) DcimConsolePortsBulkPartialUpdate(ctx context.Context) ApiDcimConsolePortsBulkPartialUpdateRequest {
- return ApiDcimConsolePortsBulkPartialUpdateRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-// @return []ConsolePort
-func (a *DcimAPIService) DcimConsolePortsBulkPartialUpdateExecute(r ApiDcimConsolePortsBulkPartialUpdateRequest) ([]ConsolePort, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPatch
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue []ConsolePort
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimConsolePortsBulkPartialUpdate")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/dcim/console-ports/"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.patchedBulkWritableConsolePortRequest == nil {
- return localVarReturnValue, nil, reportError("patchedBulkWritableConsolePortRequest is required and must be specified")
+ if r.patchedBulkWritableConsolePortRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritableConsolePortRequest is required and must be specified")
}
if r.format != nil {
@@ -8510,7 +7357,7 @@ type ApiDcimConsolePortsListRequest struct {
connected *bool
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
description *[]string
descriptionIc *[]string
descriptionIe *[]string
@@ -8527,23 +7374,11 @@ type ApiDcimConsolePortsListRequest struct {
descriptionRe *[]string
device *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
hasCable *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
label *[]string
labelIc *[]string
labelIe *[]string
@@ -8586,7 +7421,7 @@ type ApiDcimConsolePortsListRequest struct {
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
type_ *[]string
typeIc *[]string
typeIe *[]string
@@ -8602,6 +7437,7 @@ type ApiDcimConsolePortsListRequest struct {
typeNre *[]string
typeRe *[]string
depth *int32
+ excludeM2m *bool
}
// Cable
@@ -8638,8 +7474,7 @@ func (r ApiDcimConsolePortsListRequest) ContactsIsnull(contactsIsnull bool) ApiD
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimConsolePortsListRequest) ContactsN(contactsN string) ApiDcimConsolePortsListRequest {
+func (r ApiDcimConsolePortsListRequest) ContactsN(contactsN []string) ApiDcimConsolePortsListRequest {
r.contactsN = &contactsN
return r
}
@@ -8724,8 +7559,7 @@ func (r ApiDcimConsolePortsListRequest) DynamicGroups(dynamicGroups []string) Ap
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimConsolePortsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimConsolePortsListRequest {
+func (r ApiDcimConsolePortsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimConsolePortsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -8747,71 +7581,11 @@ func (r ApiDcimConsolePortsListRequest) Id(id []string) ApiDcimConsolePortsListR
return r
}
-func (r ApiDcimConsolePortsListRequest) IdIc(idIc []string) ApiDcimConsolePortsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiDcimConsolePortsListRequest) IdIe(idIe []string) ApiDcimConsolePortsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiDcimConsolePortsListRequest) IdIew(idIew []string) ApiDcimConsolePortsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiDcimConsolePortsListRequest) IdIre(idIre []string) ApiDcimConsolePortsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiDcimConsolePortsListRequest) IdIsw(idIsw []string) ApiDcimConsolePortsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiDcimConsolePortsListRequest) IdN(idN []string) ApiDcimConsolePortsListRequest {
r.idN = &idN
return r
}
-func (r ApiDcimConsolePortsListRequest) IdNic(idNic []string) ApiDcimConsolePortsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiDcimConsolePortsListRequest) IdNie(idNie []string) ApiDcimConsolePortsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiDcimConsolePortsListRequest) IdNiew(idNiew []string) ApiDcimConsolePortsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiDcimConsolePortsListRequest) IdNire(idNire []string) ApiDcimConsolePortsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiDcimConsolePortsListRequest) IdNisw(idNisw []string) ApiDcimConsolePortsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiDcimConsolePortsListRequest) IdNre(idNre []string) ApiDcimConsolePortsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiDcimConsolePortsListRequest) IdRe(idRe []string) ApiDcimConsolePortsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiDcimConsolePortsListRequest) Label(label []string) ApiDcimConsolePortsListRequest {
r.label = &label
return r
@@ -9028,8 +7802,7 @@ func (r ApiDcimConsolePortsListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimCon
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimConsolePortsListRequest) TeamsN(teamsN string) ApiDcimConsolePortsListRequest {
+func (r ApiDcimConsolePortsListRequest) TeamsN(teamsN []string) ApiDcimConsolePortsListRequest {
r.teamsN = &teamsN
return r
}
@@ -9040,79 +7813,66 @@ func (r ApiDcimConsolePortsListRequest) Type_(type_ []string) ApiDcimConsolePort
return r
}
-// Physical port type
func (r ApiDcimConsolePortsListRequest) TypeIc(typeIc []string) ApiDcimConsolePortsListRequest {
r.typeIc = &typeIc
return r
}
-// Physical port type
func (r ApiDcimConsolePortsListRequest) TypeIe(typeIe []string) ApiDcimConsolePortsListRequest {
r.typeIe = &typeIe
return r
}
-// Physical port type
func (r ApiDcimConsolePortsListRequest) TypeIew(typeIew []string) ApiDcimConsolePortsListRequest {
r.typeIew = &typeIew
return r
}
-// Physical port type
func (r ApiDcimConsolePortsListRequest) TypeIre(typeIre []string) ApiDcimConsolePortsListRequest {
r.typeIre = &typeIre
return r
}
-// Physical port type
func (r ApiDcimConsolePortsListRequest) TypeIsw(typeIsw []string) ApiDcimConsolePortsListRequest {
r.typeIsw = &typeIsw
return r
}
-// Physical port type
func (r ApiDcimConsolePortsListRequest) TypeN(typeN []string) ApiDcimConsolePortsListRequest {
r.typeN = &typeN
return r
}
-// Physical port type
func (r ApiDcimConsolePortsListRequest) TypeNic(typeNic []string) ApiDcimConsolePortsListRequest {
r.typeNic = &typeNic
return r
}
-// Physical port type
func (r ApiDcimConsolePortsListRequest) TypeNie(typeNie []string) ApiDcimConsolePortsListRequest {
r.typeNie = &typeNie
return r
}
-// Physical port type
func (r ApiDcimConsolePortsListRequest) TypeNiew(typeNiew []string) ApiDcimConsolePortsListRequest {
r.typeNiew = &typeNiew
return r
}
-// Physical port type
func (r ApiDcimConsolePortsListRequest) TypeNire(typeNire []string) ApiDcimConsolePortsListRequest {
r.typeNire = &typeNire
return r
}
-// Physical port type
func (r ApiDcimConsolePortsListRequest) TypeNisw(typeNisw []string) ApiDcimConsolePortsListRequest {
r.typeNisw = &typeNisw
return r
}
-// Physical port type
func (r ApiDcimConsolePortsListRequest) TypeNre(typeNre []string) ApiDcimConsolePortsListRequest {
r.typeNre = &typeNre
return r
}
-// Physical port type
func (r ApiDcimConsolePortsListRequest) TypeRe(typeRe []string) ApiDcimConsolePortsListRequest {
r.typeRe = &typeRe
return r
@@ -9124,6 +7884,12 @@ func (r ApiDcimConsolePortsListRequest) Depth(depth int32) ApiDcimConsolePortsLi
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimConsolePortsListRequest) ExcludeM2m(excludeM2m bool) ApiDcimConsolePortsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimConsolePortsListRequest) Execute() (*PaginatedConsolePortList, *http.Response, error) {
return r.ApiService.DcimConsolePortsListExecute(r)
}
@@ -9207,7 +7973,15 @@ func (a *DcimAPIService) DcimConsolePortsListExecute(r ApiDcimConsolePortsListRe
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.description != nil {
t := *r.description
@@ -9386,7 +8160,15 @@ func (a *DcimAPIService) DcimConsolePortsListExecute(r ApiDcimConsolePortsListRe
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -9405,61 +8187,6 @@ func (a *DcimAPIService) DcimConsolePortsListExecute(r ApiDcimConsolePortsListRe
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -9471,83 +8198,6 @@ func (a *DcimAPIService) DcimConsolePortsListExecute(r ApiDcimConsolePortsListRe
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.label != nil {
t := *r.label
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -9955,7 +8605,15 @@ func (a *DcimAPIService) DcimConsolePortsListExecute(r ApiDcimConsolePortsListRe
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.type_ != nil {
t := *r.type_
@@ -10114,8 +8772,16 @@ func (a *DcimAPIService) DcimConsolePortsListExecute(r ApiDcimConsolePortsListRe
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -10330,6 +8996,7 @@ type ApiDcimConsolePortsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimConsolePortsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsolePortsNotesListRequest {
@@ -10355,6 +9022,12 @@ func (r ApiDcimConsolePortsNotesListRequest) Depth(depth int32) ApiDcimConsolePo
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimConsolePortsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimConsolePortsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimConsolePortsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.DcimConsolePortsNotesListExecute(r)
}
@@ -10410,8 +9083,16 @@ func (a *DcimAPIService) DcimConsolePortsNotesListExecute(r ApiDcimConsolePortsN
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -10621,6 +9302,7 @@ type ApiDcimConsolePortsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimConsolePortsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsolePortsRetrieveRequest {
@@ -10634,6 +9316,12 @@ func (r ApiDcimConsolePortsRetrieveRequest) Depth(depth int32) ApiDcimConsolePor
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimConsolePortsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimConsolePortsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimConsolePortsRetrieveRequest) Execute() (*ConsolePort, *http.Response, error) {
return r.ApiService.DcimConsolePortsRetrieveExecute(r)
}
@@ -10683,147 +9371,170 @@ func (a *DcimAPIService) DcimConsolePortsRetrieveExecute(r ApiDcimConsolePortsRe
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
}
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiDcimConsolePortsTraceRetrieveRequest struct {
- ctx context.Context
- ApiService *DcimAPIService
- id string
- format *CircuitsCircuitTerminationsListFormatParameter
- depth *int32
-}
-
-func (r ApiDcimConsolePortsTraceRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsolePortsTraceRetrieveRequest {
- r.format = &format
- return r
-}
-
-// Serializer Depth
-func (r ApiDcimConsolePortsTraceRetrieveRequest) Depth(depth int32) ApiDcimConsolePortsTraceRetrieveRequest {
- r.depth = &depth
- return r
-}
-
-func (r ApiDcimConsolePortsTraceRetrieveRequest) Execute() (*ConsolePort, *http.Response, error) {
- return r.ApiService.DcimConsolePortsTraceRetrieveExecute(r)
-}
-
-/*
-DcimConsolePortsTraceRetrieve Method for DcimConsolePortsTraceRetrieve
-
-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 UUID string identifying this console port.
- @return ApiDcimConsolePortsTraceRetrieveRequest
-*/
-func (a *DcimAPIService) DcimConsolePortsTraceRetrieve(ctx context.Context, id string) ApiDcimConsolePortsTraceRetrieveRequest {
- return ApiDcimConsolePortsTraceRetrieveRequest{
- ApiService: a,
- ctx: ctx,
- id: id,
- }
-}
-
-// Execute executes the request
-// @return ConsolePort
-func (a *DcimAPIService) DcimConsolePortsTraceRetrieveExecute(r ApiDcimConsolePortsTraceRetrieveRequest) (*ConsolePort, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ConsolePort
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimConsolePortsTraceRetrieve")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/dcim/console-ports/{id}/trace/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.depth != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiDcimConsolePortsTraceRetrieveRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ depth *int32
+ excludeM2m *bool
+}
+
+func (r ApiDcimConsolePortsTraceRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsolePortsTraceRetrieveRequest {
+ r.format = &format
+ return r
+}
+
+// Serializer Depth
+func (r ApiDcimConsolePortsTraceRetrieveRequest) Depth(depth int32) ApiDcimConsolePortsTraceRetrieveRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiDcimConsolePortsTraceRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimConsolePortsTraceRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimConsolePortsTraceRetrieveRequest) Execute() (*ConsolePort, *http.Response, error) {
+ return r.ApiService.DcimConsolePortsTraceRetrieveExecute(r)
+}
+
+/*
+DcimConsolePortsTraceRetrieve Method for DcimConsolePortsTraceRetrieve
+
+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 UUID string identifying this console port.
+ @return ApiDcimConsolePortsTraceRetrieveRequest
+*/
+func (a *DcimAPIService) DcimConsolePortsTraceRetrieve(ctx context.Context, id string) ApiDcimConsolePortsTraceRetrieveRequest {
+ return ApiDcimConsolePortsTraceRetrieveRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return ConsolePort
+func (a *DcimAPIService) DcimConsolePortsTraceRetrieveExecute(r ApiDcimConsolePortsTraceRetrieveRequest) (*ConsolePort, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *ConsolePort
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimConsolePortsTraceRetrieve")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/console-ports/{id}/trace/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -11671,7 +10382,7 @@ type ApiDcimConsoleServerPortTemplatesListRequest struct {
ApiService *DcimAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
description *[]string
descriptionIc *[]string
descriptionIe *[]string
@@ -11690,24 +10401,12 @@ type ApiDcimConsoleServerPortTemplatesListRequest struct {
deviceTypeIsnull *bool
deviceTypeN *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
hasDeviceType *bool
hasModuleType *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
label *[]string
labelIc *[]string
labelIe *[]string
@@ -11745,7 +10444,7 @@ type ApiDcimConsoleServerPortTemplatesListRequest struct {
sort *string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
type_ *[]string
typeIc *[]string
typeIe *[]string
@@ -11761,6 +10460,7 @@ type ApiDcimConsoleServerPortTemplatesListRequest struct {
typeNre *[]string
typeRe *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimConsoleServerPortTemplatesListRequest) Contacts(contacts []string) ApiDcimConsoleServerPortTemplatesListRequest {
@@ -11774,8 +10474,7 @@ func (r ApiDcimConsoleServerPortTemplatesListRequest) ContactsIsnull(contactsIsn
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimConsoleServerPortTemplatesListRequest) ContactsN(contactsN string) ApiDcimConsoleServerPortTemplatesListRequest {
+func (r ApiDcimConsoleServerPortTemplatesListRequest) ContactsN(contactsN []string) ApiDcimConsoleServerPortTemplatesListRequest {
r.contactsN = &contactsN
return r
}
@@ -11885,8 +10584,7 @@ func (r ApiDcimConsoleServerPortTemplatesListRequest) DynamicGroups(dynamicGroup
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimConsoleServerPortTemplatesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimConsoleServerPortTemplatesListRequest {
+func (r ApiDcimConsoleServerPortTemplatesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimConsoleServerPortTemplatesListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -11914,84 +10612,12 @@ func (r ApiDcimConsoleServerPortTemplatesListRequest) Id(id []string) ApiDcimCon
return r
}
-// ID contains
-func (r ApiDcimConsoleServerPortTemplatesListRequest) IdIc(idIc []string) ApiDcimConsoleServerPortTemplatesListRequest {
- r.idIc = &idIc
- return r
-}
-
-// ID
-func (r ApiDcimConsoleServerPortTemplatesListRequest) IdIe(idIe []string) ApiDcimConsoleServerPortTemplatesListRequest {
- r.idIe = &idIe
- return r
-}
-
-// ID ends with
-func (r ApiDcimConsoleServerPortTemplatesListRequest) IdIew(idIew []string) ApiDcimConsoleServerPortTemplatesListRequest {
- r.idIew = &idIew
- return r
-}
-
-// ID matches regex
-func (r ApiDcimConsoleServerPortTemplatesListRequest) IdIre(idIre []string) ApiDcimConsoleServerPortTemplatesListRequest {
- r.idIre = &idIre
- return r
-}
-
-// ID starts with
-func (r ApiDcimConsoleServerPortTemplatesListRequest) IdIsw(idIsw []string) ApiDcimConsoleServerPortTemplatesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
// Exclude ID
func (r ApiDcimConsoleServerPortTemplatesListRequest) IdN(idN []string) ApiDcimConsoleServerPortTemplatesListRequest {
r.idN = &idN
return r
}
-// Exclude ID contains
-func (r ApiDcimConsoleServerPortTemplatesListRequest) IdNic(idNic []string) ApiDcimConsoleServerPortTemplatesListRequest {
- r.idNic = &idNic
- return r
-}
-
-// Exclude ID
-func (r ApiDcimConsoleServerPortTemplatesListRequest) IdNie(idNie []string) ApiDcimConsoleServerPortTemplatesListRequest {
- r.idNie = &idNie
- return r
-}
-
-// Exclude ID ends with
-func (r ApiDcimConsoleServerPortTemplatesListRequest) IdNiew(idNiew []string) ApiDcimConsoleServerPortTemplatesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-// Exclude ID matches regex
-func (r ApiDcimConsoleServerPortTemplatesListRequest) IdNire(idNire []string) ApiDcimConsoleServerPortTemplatesListRequest {
- r.idNire = &idNire
- return r
-}
-
-// Exclude ID starts with
-func (r ApiDcimConsoleServerPortTemplatesListRequest) IdNisw(idNisw []string) ApiDcimConsoleServerPortTemplatesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-// Exclude ID matches regex
-func (r ApiDcimConsoleServerPortTemplatesListRequest) IdNre(idNre []string) ApiDcimConsoleServerPortTemplatesListRequest {
- r.idNre = &idNre
- return r
-}
-
-// ID matches regex
-func (r ApiDcimConsoleServerPortTemplatesListRequest) IdRe(idRe []string) ApiDcimConsoleServerPortTemplatesListRequest {
- r.idRe = &idRe
- return r
-}
-
// Label
func (r ApiDcimConsoleServerPortTemplatesListRequest) Label(label []string) ApiDcimConsoleServerPortTemplatesListRequest {
r.label = &label
@@ -12211,8 +10837,7 @@ func (r ApiDcimConsoleServerPortTemplatesListRequest) TeamsIsnull(teamsIsnull bo
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimConsoleServerPortTemplatesListRequest) TeamsN(teamsN string) ApiDcimConsoleServerPortTemplatesListRequest {
+func (r ApiDcimConsoleServerPortTemplatesListRequest) TeamsN(teamsN []string) ApiDcimConsoleServerPortTemplatesListRequest {
r.teamsN = &teamsN
return r
}
@@ -12293,6 +10918,12 @@ func (r ApiDcimConsoleServerPortTemplatesListRequest) Depth(depth int32) ApiDcim
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimConsoleServerPortTemplatesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimConsoleServerPortTemplatesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimConsoleServerPortTemplatesListRequest) Execute() (*PaginatedConsoleServerPortTemplateList, *http.Response, error) {
return r.ApiService.DcimConsoleServerPortTemplatesListExecute(r)
}
@@ -12348,7 +10979,15 @@ func (a *DcimAPIService) DcimConsoleServerPortTemplatesListExecute(r ApiDcimCons
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.description != nil {
t := *r.description
@@ -12541,7 +11180,15 @@ func (a *DcimAPIService) DcimConsoleServerPortTemplatesListExecute(r ApiDcimCons
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -12563,61 +11210,6 @@ func (a *DcimAPIService) DcimConsoleServerPortTemplatesListExecute(r ApiDcimCons
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -12629,83 +11221,6 @@ func (a *DcimAPIService) DcimConsoleServerPortTemplatesListExecute(r ApiDcimCons
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.label != nil {
t := *r.label
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -13066,7 +11581,15 @@ func (a *DcimAPIService) DcimConsoleServerPortTemplatesListExecute(r ApiDcimCons
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.type_ != nil {
t := *r.type_
@@ -13225,304 +11748,16 @@ func (a *DcimAPIService) DcimConsoleServerPortTemplatesListExecute(r ApiDcimCons
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
}
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiDcimConsoleServerPortTemplatesNotesCreateRequest struct {
- ctx context.Context
- ApiService *DcimAPIService
- id string
- noteInputRequest *NoteInputRequest
- format *CircuitsCircuitTerminationsListFormatParameter
-}
-
-func (r ApiDcimConsoleServerPortTemplatesNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimConsoleServerPortTemplatesNotesCreateRequest {
- r.noteInputRequest = ¬eInputRequest
- return r
-}
-
-func (r ApiDcimConsoleServerPortTemplatesNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsoleServerPortTemplatesNotesCreateRequest {
- r.format = &format
- return r
-}
-
-func (r ApiDcimConsoleServerPortTemplatesNotesCreateRequest) Execute() (*Note, *http.Response, error) {
- return r.ApiService.DcimConsoleServerPortTemplatesNotesCreateExecute(r)
-}
-
-/*
-DcimConsoleServerPortTemplatesNotesCreate Method for DcimConsoleServerPortTemplatesNotesCreate
-
-API methods for returning or creating notes on an object.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this console server port template.
- @return ApiDcimConsoleServerPortTemplatesNotesCreateRequest
-*/
-func (a *DcimAPIService) DcimConsoleServerPortTemplatesNotesCreate(ctx context.Context, id string) ApiDcimConsoleServerPortTemplatesNotesCreateRequest {
- return ApiDcimConsoleServerPortTemplatesNotesCreateRequest{
- ApiService: a,
- ctx: ctx,
- id: id,
- }
-}
-
-// Execute executes the request
-// @return Note
-func (a *DcimAPIService) DcimConsoleServerPortTemplatesNotesCreateExecute(r ApiDcimConsoleServerPortTemplatesNotesCreateRequest) (*Note, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *Note
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimConsoleServerPortTemplatesNotesCreate")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/dcim/console-server-port-templates/{id}/notes/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.noteInputRequest == nil {
- return localVarReturnValue, nil, reportError("noteInputRequest is required and must be specified")
- }
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.noteInputRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiDcimConsoleServerPortTemplatesNotesListRequest struct {
- ctx context.Context
- ApiService *DcimAPIService
- id string
- format *CircuitsCircuitTerminationsListFormatParameter
- limit *int32
- offset *int32
- depth *int32
-}
-
-func (r ApiDcimConsoleServerPortTemplatesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsoleServerPortTemplatesNotesListRequest {
- r.format = &format
- return r
-}
-
-// Number of results to return per page.
-func (r ApiDcimConsoleServerPortTemplatesNotesListRequest) Limit(limit int32) ApiDcimConsoleServerPortTemplatesNotesListRequest {
- r.limit = &limit
- return r
-}
-
-// The initial index from which to return the results.
-func (r ApiDcimConsoleServerPortTemplatesNotesListRequest) Offset(offset int32) ApiDcimConsoleServerPortTemplatesNotesListRequest {
- r.offset = &offset
- return r
-}
-
-// Serializer Depth
-func (r ApiDcimConsoleServerPortTemplatesNotesListRequest) Depth(depth int32) ApiDcimConsoleServerPortTemplatesNotesListRequest {
- r.depth = &depth
- return r
-}
-
-func (r ApiDcimConsoleServerPortTemplatesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
- return r.ApiService.DcimConsoleServerPortTemplatesNotesListExecute(r)
-}
-
-/*
-DcimConsoleServerPortTemplatesNotesList Method for DcimConsoleServerPortTemplatesNotesList
-
-API methods for returning or creating notes on an object.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this console server port template.
- @return ApiDcimConsoleServerPortTemplatesNotesListRequest
-*/
-func (a *DcimAPIService) DcimConsoleServerPortTemplatesNotesList(ctx context.Context, id string) ApiDcimConsoleServerPortTemplatesNotesListRequest {
- return ApiDcimConsoleServerPortTemplatesNotesListRequest{
- ApiService: a,
- ctx: ctx,
- id: id,
- }
-}
-
-// Execute executes the request
-// @return PaginatedNoteList
-func (a *DcimAPIService) DcimConsoleServerPortTemplatesNotesListExecute(r ApiDcimConsoleServerPortTemplatesNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *PaginatedNoteList
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimConsoleServerPortTemplatesNotesList")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/dcim/console-server-port-templates/{id}/notes/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
- }
- if r.offset != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
- }
- if r.depth != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -13732,6 +11967,7 @@ type ApiDcimConsoleServerPortTemplatesRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimConsoleServerPortTemplatesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsoleServerPortTemplatesRetrieveRequest {
@@ -13745,6 +11981,12 @@ func (r ApiDcimConsoleServerPortTemplatesRetrieveRequest) Depth(depth int32) Api
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimConsoleServerPortTemplatesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimConsoleServerPortTemplatesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimConsoleServerPortTemplatesRetrieveRequest) Execute() (*ConsoleServerPortTemplate, *http.Response, error) {
return r.ApiService.DcimConsoleServerPortTemplatesRetrieveExecute(r)
}
@@ -13794,8 +12036,16 @@ func (a *DcimAPIService) DcimConsoleServerPortTemplatesRetrieveExecute(r ApiDcim
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -14647,7 +12897,7 @@ type ApiDcimConsoleServerPortsListRequest struct {
connected *bool
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
description *[]string
descriptionIc *[]string
descriptionIe *[]string
@@ -14664,23 +12914,11 @@ type ApiDcimConsoleServerPortsListRequest struct {
descriptionRe *[]string
device *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
hasCable *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
label *[]string
labelIc *[]string
labelIe *[]string
@@ -14723,7 +12961,7 @@ type ApiDcimConsoleServerPortsListRequest struct {
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
type_ *[]string
typeIc *[]string
typeIe *[]string
@@ -14739,6 +12977,7 @@ type ApiDcimConsoleServerPortsListRequest struct {
typeNre *[]string
typeRe *[]string
depth *int32
+ excludeM2m *bool
}
// Cable
@@ -14775,8 +13014,7 @@ func (r ApiDcimConsoleServerPortsListRequest) ContactsIsnull(contactsIsnull bool
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimConsoleServerPortsListRequest) ContactsN(contactsN string) ApiDcimConsoleServerPortsListRequest {
+func (r ApiDcimConsoleServerPortsListRequest) ContactsN(contactsN []string) ApiDcimConsoleServerPortsListRequest {
r.contactsN = &contactsN
return r
}
@@ -14861,8 +13099,7 @@ func (r ApiDcimConsoleServerPortsListRequest) DynamicGroups(dynamicGroups []stri
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimConsoleServerPortsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimConsoleServerPortsListRequest {
+func (r ApiDcimConsoleServerPortsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimConsoleServerPortsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -14884,71 +13121,11 @@ func (r ApiDcimConsoleServerPortsListRequest) Id(id []string) ApiDcimConsoleServ
return r
}
-func (r ApiDcimConsoleServerPortsListRequest) IdIc(idIc []string) ApiDcimConsoleServerPortsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiDcimConsoleServerPortsListRequest) IdIe(idIe []string) ApiDcimConsoleServerPortsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiDcimConsoleServerPortsListRequest) IdIew(idIew []string) ApiDcimConsoleServerPortsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiDcimConsoleServerPortsListRequest) IdIre(idIre []string) ApiDcimConsoleServerPortsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiDcimConsoleServerPortsListRequest) IdIsw(idIsw []string) ApiDcimConsoleServerPortsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiDcimConsoleServerPortsListRequest) IdN(idN []string) ApiDcimConsoleServerPortsListRequest {
r.idN = &idN
return r
}
-func (r ApiDcimConsoleServerPortsListRequest) IdNic(idNic []string) ApiDcimConsoleServerPortsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiDcimConsoleServerPortsListRequest) IdNie(idNie []string) ApiDcimConsoleServerPortsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiDcimConsoleServerPortsListRequest) IdNiew(idNiew []string) ApiDcimConsoleServerPortsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiDcimConsoleServerPortsListRequest) IdNire(idNire []string) ApiDcimConsoleServerPortsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiDcimConsoleServerPortsListRequest) IdNisw(idNisw []string) ApiDcimConsoleServerPortsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiDcimConsoleServerPortsListRequest) IdNre(idNre []string) ApiDcimConsoleServerPortsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiDcimConsoleServerPortsListRequest) IdRe(idRe []string) ApiDcimConsoleServerPortsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiDcimConsoleServerPortsListRequest) Label(label []string) ApiDcimConsoleServerPortsListRequest {
r.label = &label
return r
@@ -15165,8 +13342,7 @@ func (r ApiDcimConsoleServerPortsListRequest) TeamsIsnull(teamsIsnull bool) ApiD
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimConsoleServerPortsListRequest) TeamsN(teamsN string) ApiDcimConsoleServerPortsListRequest {
+func (r ApiDcimConsoleServerPortsListRequest) TeamsN(teamsN []string) ApiDcimConsoleServerPortsListRequest {
r.teamsN = &teamsN
return r
}
@@ -15177,79 +13353,66 @@ func (r ApiDcimConsoleServerPortsListRequest) Type_(type_ []string) ApiDcimConso
return r
}
-// Physical port type
func (r ApiDcimConsoleServerPortsListRequest) TypeIc(typeIc []string) ApiDcimConsoleServerPortsListRequest {
r.typeIc = &typeIc
return r
}
-// Physical port type
func (r ApiDcimConsoleServerPortsListRequest) TypeIe(typeIe []string) ApiDcimConsoleServerPortsListRequest {
r.typeIe = &typeIe
return r
}
-// Physical port type
func (r ApiDcimConsoleServerPortsListRequest) TypeIew(typeIew []string) ApiDcimConsoleServerPortsListRequest {
r.typeIew = &typeIew
return r
}
-// Physical port type
func (r ApiDcimConsoleServerPortsListRequest) TypeIre(typeIre []string) ApiDcimConsoleServerPortsListRequest {
r.typeIre = &typeIre
return r
}
-// Physical port type
func (r ApiDcimConsoleServerPortsListRequest) TypeIsw(typeIsw []string) ApiDcimConsoleServerPortsListRequest {
r.typeIsw = &typeIsw
return r
}
-// Physical port type
func (r ApiDcimConsoleServerPortsListRequest) TypeN(typeN []string) ApiDcimConsoleServerPortsListRequest {
r.typeN = &typeN
return r
}
-// Physical port type
func (r ApiDcimConsoleServerPortsListRequest) TypeNic(typeNic []string) ApiDcimConsoleServerPortsListRequest {
r.typeNic = &typeNic
return r
}
-// Physical port type
func (r ApiDcimConsoleServerPortsListRequest) TypeNie(typeNie []string) ApiDcimConsoleServerPortsListRequest {
r.typeNie = &typeNie
return r
}
-// Physical port type
func (r ApiDcimConsoleServerPortsListRequest) TypeNiew(typeNiew []string) ApiDcimConsoleServerPortsListRequest {
r.typeNiew = &typeNiew
return r
}
-// Physical port type
func (r ApiDcimConsoleServerPortsListRequest) TypeNire(typeNire []string) ApiDcimConsoleServerPortsListRequest {
r.typeNire = &typeNire
return r
}
-// Physical port type
func (r ApiDcimConsoleServerPortsListRequest) TypeNisw(typeNisw []string) ApiDcimConsoleServerPortsListRequest {
r.typeNisw = &typeNisw
return r
}
-// Physical port type
func (r ApiDcimConsoleServerPortsListRequest) TypeNre(typeNre []string) ApiDcimConsoleServerPortsListRequest {
r.typeNre = &typeNre
return r
}
-// Physical port type
func (r ApiDcimConsoleServerPortsListRequest) TypeRe(typeRe []string) ApiDcimConsoleServerPortsListRequest {
r.typeRe = &typeRe
return r
@@ -15261,6 +13424,12 @@ func (r ApiDcimConsoleServerPortsListRequest) Depth(depth int32) ApiDcimConsoleS
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimConsoleServerPortsListRequest) ExcludeM2m(excludeM2m bool) ApiDcimConsoleServerPortsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimConsoleServerPortsListRequest) Execute() (*PaginatedConsoleServerPortList, *http.Response, error) {
return r.ApiService.DcimConsoleServerPortsListExecute(r)
}
@@ -15344,7 +13513,15 @@ func (a *DcimAPIService) DcimConsoleServerPortsListExecute(r ApiDcimConsoleServe
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.description != nil {
t := *r.description
@@ -15523,7 +13700,15 @@ func (a *DcimAPIService) DcimConsoleServerPortsListExecute(r ApiDcimConsoleServe
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -15542,61 +13727,6 @@ func (a *DcimAPIService) DcimConsoleServerPortsListExecute(r ApiDcimConsoleServe
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -15608,83 +13738,6 @@ func (a *DcimAPIService) DcimConsoleServerPortsListExecute(r ApiDcimConsoleServe
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.label != nil {
t := *r.label
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -16092,7 +14145,15 @@ func (a *DcimAPIService) DcimConsoleServerPortsListExecute(r ApiDcimConsoleServe
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.type_ != nil {
t := *r.type_
@@ -16251,8 +14312,16 @@ func (a *DcimAPIService) DcimConsoleServerPortsListExecute(r ApiDcimConsoleServe
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -16467,6 +14536,7 @@ type ApiDcimConsoleServerPortsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimConsoleServerPortsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsoleServerPortsNotesListRequest {
@@ -16492,6 +14562,12 @@ func (r ApiDcimConsoleServerPortsNotesListRequest) Depth(depth int32) ApiDcimCon
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimConsoleServerPortsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimConsoleServerPortsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimConsoleServerPortsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.DcimConsoleServerPortsNotesListExecute(r)
}
@@ -16547,8 +14623,16 @@ func (a *DcimAPIService) DcimConsoleServerPortsNotesListExecute(r ApiDcimConsole
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -16758,6 +14842,7 @@ type ApiDcimConsoleServerPortsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimConsoleServerPortsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsoleServerPortsRetrieveRequest {
@@ -16771,6 +14856,12 @@ func (r ApiDcimConsoleServerPortsRetrieveRequest) Depth(depth int32) ApiDcimCons
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimConsoleServerPortsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimConsoleServerPortsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimConsoleServerPortsRetrieveRequest) Execute() (*ConsoleServerPort, *http.Response, error) {
return r.ApiService.DcimConsoleServerPortsRetrieveExecute(r)
}
@@ -16820,8 +14911,16 @@ func (a *DcimAPIService) DcimConsoleServerPortsRetrieveExecute(r ApiDcimConsoleS
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -16897,6 +14996,7 @@ type ApiDcimConsoleServerPortsTraceRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimConsoleServerPortsTraceRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimConsoleServerPortsTraceRetrieveRequest {
@@ -16910,6 +15010,12 @@ func (r ApiDcimConsoleServerPortsTraceRetrieveRequest) Depth(depth int32) ApiDci
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimConsoleServerPortsTraceRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimConsoleServerPortsTraceRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimConsoleServerPortsTraceRetrieveRequest) Execute() (*ConsoleServerPort, *http.Response, error) {
return r.ApiService.DcimConsoleServerPortsTraceRetrieveExecute(r)
}
@@ -16959,8 +15065,16 @@ func (a *DcimAPIService) DcimConsoleServerPortsTraceRetrieveExecute(r ApiDcimCon
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -17806,9 +15920,10 @@ func (a *DcimAPIService) DcimControllerManagedDeviceGroupsDestroyExecute(r ApiDc
type ApiDcimControllerManagedDeviceGroupsListRequest struct {
ctx context.Context
ApiService *DcimAPIService
+ capabilities *[]*interface{}
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
controller *[]string
controllerN *[]string
created *[]time.Time
@@ -17818,23 +15933,27 @@ type ApiDcimControllerManagedDeviceGroupsListRequest struct {
createdLt *[]time.Time
createdLte *[]time.Time
createdN *[]time.Time
+ description *[]string
+ descriptionIc *[]string
+ descriptionIe *[]string
+ descriptionIew *[]string
+ descriptionIre *[]string
+ descriptionIsw *[]string
+ descriptionN *[]string
+ descriptionNic *[]string
+ descriptionNie *[]string
+ descriptionNiew *[]string
+ descriptionNire *[]string
+ descriptionNisw *[]string
+ descriptionNre *[]string
+ descriptionRe *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
+ hasRadioProfiles *bool
+ hasWirelessNetworks *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -17862,6 +15981,8 @@ type ApiDcimControllerManagedDeviceGroupsListRequest struct {
parentIsnull *bool
parentN *[]string
q *string
+ radioProfiles *[]string
+ radioProfilesN *[]string
sort *string
subtree *[]string
tags *[]string
@@ -17869,14 +15990,32 @@ type ApiDcimControllerManagedDeviceGroupsListRequest struct {
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
+ tenant *[]string
+ tenantIsnull *bool
+ tenantN *[]string
+ tenantGroup *[]string
+ tenantGroupIsnull *bool
+ tenantGroupN *[]string
+ tenantId *[]*string
+ tenantIdIsnull *bool
+ tenantIdN *[]*string
weight *[]int32
weightGt *[]int32
weightGte *[]int32
weightLt *[]int32
weightLte *[]int32
weightN *[]int32
+ wirelessNetworks *[]string
+ wirelessNetworksN *[]string
depth *int32
+ excludeM2m *bool
+}
+
+// Capabilities
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) Capabilities(capabilities []*interface{}) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.capabilities = &capabilities
+ return r
}
func (r ApiDcimControllerManagedDeviceGroupsListRequest) Contacts(contacts []string) ApiDcimControllerManagedDeviceGroupsListRequest {
@@ -17890,8 +16029,7 @@ func (r ApiDcimControllerManagedDeviceGroupsListRequest) ContactsIsnull(contacts
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimControllerManagedDeviceGroupsListRequest) ContactsN(contactsN string) ApiDcimControllerManagedDeviceGroupsListRequest {
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) ContactsN(contactsN []string) ApiDcimControllerManagedDeviceGroupsListRequest {
r.contactsN = &contactsN
return r
}
@@ -17941,90 +16079,111 @@ func (r ApiDcimControllerManagedDeviceGroupsListRequest) CreatedN(createdN []tim
return r
}
-func (r ApiDcimControllerManagedDeviceGroupsListRequest) DynamicGroups(dynamicGroups []string) ApiDcimControllerManagedDeviceGroupsListRequest {
- r.dynamicGroups = &dynamicGroups
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) Description(description []string) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.description = &description
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimControllerManagedDeviceGroupsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimControllerManagedDeviceGroupsListRequest {
- r.dynamicGroupsN = &dynamicGroupsN
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) DescriptionIc(descriptionIc []string) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.descriptionIc = &descriptionIc
return r
}
-func (r ApiDcimControllerManagedDeviceGroupsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimControllerManagedDeviceGroupsListRequest {
- r.format = &format
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) DescriptionIe(descriptionIe []string) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.descriptionIe = &descriptionIe
return r
}
-// Unique object identifier, either a UUID primary key or a composite key.
-func (r ApiDcimControllerManagedDeviceGroupsListRequest) Id(id []string) ApiDcimControllerManagedDeviceGroupsListRequest {
- r.id = &id
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) DescriptionIew(descriptionIew []string) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.descriptionIew = &descriptionIew
return r
}
-func (r ApiDcimControllerManagedDeviceGroupsListRequest) IdIc(idIc []string) ApiDcimControllerManagedDeviceGroupsListRequest {
- r.idIc = &idIc
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) DescriptionIre(descriptionIre []string) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.descriptionIre = &descriptionIre
return r
}
-func (r ApiDcimControllerManagedDeviceGroupsListRequest) IdIe(idIe []string) ApiDcimControllerManagedDeviceGroupsListRequest {
- r.idIe = &idIe
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) DescriptionIsw(descriptionIsw []string) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.descriptionIsw = &descriptionIsw
return r
}
-func (r ApiDcimControllerManagedDeviceGroupsListRequest) IdIew(idIew []string) ApiDcimControllerManagedDeviceGroupsListRequest {
- r.idIew = &idIew
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) DescriptionN(descriptionN []string) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.descriptionN = &descriptionN
return r
}
-func (r ApiDcimControllerManagedDeviceGroupsListRequest) IdIre(idIre []string) ApiDcimControllerManagedDeviceGroupsListRequest {
- r.idIre = &idIre
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) DescriptionNic(descriptionNic []string) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.descriptionNic = &descriptionNic
return r
}
-func (r ApiDcimControllerManagedDeviceGroupsListRequest) IdIsw(idIsw []string) ApiDcimControllerManagedDeviceGroupsListRequest {
- r.idIsw = &idIsw
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) DescriptionNie(descriptionNie []string) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.descriptionNie = &descriptionNie
return r
}
-func (r ApiDcimControllerManagedDeviceGroupsListRequest) IdN(idN []string) ApiDcimControllerManagedDeviceGroupsListRequest {
- r.idN = &idN
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) DescriptionNiew(descriptionNiew []string) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.descriptionNiew = &descriptionNiew
return r
}
-func (r ApiDcimControllerManagedDeviceGroupsListRequest) IdNic(idNic []string) ApiDcimControllerManagedDeviceGroupsListRequest {
- r.idNic = &idNic
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) DescriptionNire(descriptionNire []string) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.descriptionNire = &descriptionNire
return r
}
-func (r ApiDcimControllerManagedDeviceGroupsListRequest) IdNie(idNie []string) ApiDcimControllerManagedDeviceGroupsListRequest {
- r.idNie = &idNie
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) DescriptionNisw(descriptionNisw []string) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.descriptionNisw = &descriptionNisw
+ return r
+}
+
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) DescriptionNre(descriptionNre []string) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.descriptionNre = &descriptionNre
+ return r
+}
+
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) DescriptionRe(descriptionRe []string) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.descriptionRe = &descriptionRe
+ return r
+}
+
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) DynamicGroups(dynamicGroups []string) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.dynamicGroups = &dynamicGroups
+ return r
+}
+
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.dynamicGroupsN = &dynamicGroupsN
return r
}
-func (r ApiDcimControllerManagedDeviceGroupsListRequest) IdNiew(idNiew []string) ApiDcimControllerManagedDeviceGroupsListRequest {
- r.idNiew = &idNiew
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.format = &format
return r
}
-func (r ApiDcimControllerManagedDeviceGroupsListRequest) IdNire(idNire []string) ApiDcimControllerManagedDeviceGroupsListRequest {
- r.idNire = &idNire
+// Has radio profiles
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) HasRadioProfiles(hasRadioProfiles bool) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.hasRadioProfiles = &hasRadioProfiles
return r
}
-func (r ApiDcimControllerManagedDeviceGroupsListRequest) IdNisw(idNisw []string) ApiDcimControllerManagedDeviceGroupsListRequest {
- r.idNisw = &idNisw
+// Has wireless networks
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) HasWirelessNetworks(hasWirelessNetworks bool) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.hasWirelessNetworks = &hasWirelessNetworks
return r
}
-func (r ApiDcimControllerManagedDeviceGroupsListRequest) IdNre(idNre []string) ApiDcimControllerManagedDeviceGroupsListRequest {
- r.idNre = &idNre
+// Unique object identifier, either a UUID primary key or a composite key.
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) Id(id []string) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.id = &id
return r
}
-func (r ApiDcimControllerManagedDeviceGroupsListRequest) IdRe(idRe []string) ApiDcimControllerManagedDeviceGroupsListRequest {
- r.idRe = &idRe
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) IdN(idN []string) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.idN = &idN
return r
}
@@ -18167,6 +16326,16 @@ func (r ApiDcimControllerManagedDeviceGroupsListRequest) Q(q string) ApiDcimCont
return r
}
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) RadioProfiles(radioProfiles []string) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.radioProfiles = &radioProfiles
+ return r
+}
+
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) RadioProfilesN(radioProfilesN []string) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.radioProfilesN = &radioProfilesN
+ return r
+}
+
// Which field to use when ordering the results.
func (r ApiDcimControllerManagedDeviceGroupsListRequest) Sort(sort string) ApiDcimControllerManagedDeviceGroupsListRequest {
r.sort = &sort
@@ -18204,12 +16373,61 @@ func (r ApiDcimControllerManagedDeviceGroupsListRequest) TeamsIsnull(teamsIsnull
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimControllerManagedDeviceGroupsListRequest) TeamsN(teamsN string) ApiDcimControllerManagedDeviceGroupsListRequest {
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) TeamsN(teamsN []string) ApiDcimControllerManagedDeviceGroupsListRequest {
r.teamsN = &teamsN
return r
}
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) Tenant(tenant []string) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.tenant = &tenant
+ return r
+}
+
+// Tenant (name or ID) is null
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) TenantIsnull(tenantIsnull bool) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.tenantIsnull = &tenantIsnull
+ return r
+}
+
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) TenantN(tenantN []string) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.tenantN = &tenantN
+ return r
+}
+
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) TenantGroup(tenantGroup []string) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.tenantGroup = &tenantGroup
+ return r
+}
+
+// Tenant Group (name or ID) is null
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) TenantGroupIsnull(tenantGroupIsnull bool) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.tenantGroupIsnull = &tenantGroupIsnull
+ return r
+}
+
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) TenantGroupN(tenantGroupN []string) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.tenantGroupN = &tenantGroupN
+ return r
+}
+
+// Tenant (ID) (deprecated, use \"tenant\" filter instead)
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) TenantId(tenantId []*string) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.tenantId = &tenantId
+ return r
+}
+
+// Tenant (ID) (deprecated, use \"tenant\" filter instead) is null
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) TenantIdIsnull(tenantIdIsnull bool) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.tenantIdIsnull = &tenantIdIsnull
+ return r
+}
+
+// Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead)
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) TenantIdN(tenantIdN []*string) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.tenantIdN = &tenantIdN
+ return r
+}
+
func (r ApiDcimControllerManagedDeviceGroupsListRequest) Weight(weight []int32) ApiDcimControllerManagedDeviceGroupsListRequest {
r.weight = &weight
return r
@@ -18240,12 +16458,28 @@ func (r ApiDcimControllerManagedDeviceGroupsListRequest) WeightN(weightN []int32
return r
}
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) WirelessNetworks(wirelessNetworks []string) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.wirelessNetworks = &wirelessNetworks
+ return r
+}
+
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) WirelessNetworksN(wirelessNetworksN []string) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.wirelessNetworksN = &wirelessNetworksN
+ return r
+}
+
// Serializer Depth
func (r ApiDcimControllerManagedDeviceGroupsListRequest) Depth(depth int32) ApiDcimControllerManagedDeviceGroupsListRequest {
r.depth = &depth
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimControllerManagedDeviceGroupsListRequest) ExcludeM2m(excludeM2m bool) ApiDcimControllerManagedDeviceGroupsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimControllerManagedDeviceGroupsListRequest) Execute() (*PaginatedControllerManagedDeviceGroupList, *http.Response, error) {
return r.ApiService.DcimControllerManagedDeviceGroupsListExecute(r)
}
@@ -18286,6 +16520,17 @@ func (a *DcimAPIService) DcimControllerManagedDeviceGroupsListExecute(r ApiDcimC
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
+ if r.capabilities != nil {
+ t := *r.capabilities
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "capabilities", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "capabilities", t, "form", "multi")
+ }
+ }
if r.contacts != nil {
t := *r.contacts
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -18301,7 +16546,15 @@ func (a *DcimAPIService) DcimControllerManagedDeviceGroupsListExecute(r ApiDcimC
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.controller != nil {
t := *r.controller
@@ -18394,175 +16647,211 @@ func (a *DcimAPIService) DcimControllerManagedDeviceGroupsListExecute(r ApiDcimC
parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "form", "multi")
}
}
- if r.dynamicGroups != nil {
- t := *r.dynamicGroups
+ if r.description != nil {
+ t := *r.description
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description", t, "form", "multi")
}
}
- if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ if r.descriptionIc != nil {
+ t := *r.descriptionIc
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", t, "form", "multi")
+ }
}
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ if r.descriptionIe != nil {
+ t := *r.descriptionIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", t, "form", "multi")
+ }
}
- if r.id != nil {
- t := *r.id
+ if r.descriptionIew != nil {
+ t := *r.descriptionIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
+ if r.descriptionIre != nil {
+ t := *r.descriptionIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", t, "form", "multi")
}
}
- if r.idIe != nil {
- t := *r.idIe
+ if r.descriptionIsw != nil {
+ t := *r.descriptionIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", t, "form", "multi")
}
}
- if r.idIew != nil {
- t := *r.idIew
+ if r.descriptionN != nil {
+ t := *r.descriptionN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", t, "form", "multi")
}
}
- if r.idIre != nil {
- t := *r.idIre
+ if r.descriptionNic != nil {
+ t := *r.descriptionNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", t, "form", "multi")
}
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.descriptionNie != nil {
+ t := *r.descriptionNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", t, "form", "multi")
}
}
- if r.idN != nil {
- t := *r.idN
+ if r.descriptionNiew != nil {
+ t := *r.descriptionNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", t, "form", "multi")
+ }
+ }
+ if r.descriptionNire != nil {
+ t := *r.descriptionNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
+ if r.descriptionNisw != nil {
+ t := *r.descriptionNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", t, "form", "multi")
}
}
- if r.idNie != nil {
- t := *r.idNie
+ if r.descriptionNre != nil {
+ t := *r.descriptionNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", t, "form", "multi")
}
}
- if r.idNiew != nil {
- t := *r.idNiew
+ if r.descriptionRe != nil {
+ t := *r.descriptionRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", t, "form", "multi")
}
}
- if r.idNire != nil {
- t := *r.idNire
+ if r.dynamicGroups != nil {
+ t := *r.dynamicGroups
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
}
}
- if r.idNisw != nil {
- t := *r.idNisw
+ if r.dynamicGroupsN != nil {
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idNre != nil {
- t := *r.idNre
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.hasRadioProfiles != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_radio_profiles", r.hasRadioProfiles, "form", "")
+ }
+ if r.hasWirelessNetworks != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_wireless_networks", r.hasWirelessNetworks, "form", "")
+ }
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idRe != nil {
- t := *r.idRe
+ if r.idN != nil {
+ t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
if r.lastUpdated != nil {
@@ -18822,6 +17111,28 @@ func (a *DcimAPIService) DcimControllerManagedDeviceGroupsListExecute(r ApiDcimC
if r.q != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
}
+ if r.radioProfiles != nil {
+ t := *r.radioProfiles
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "radio_profiles", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "radio_profiles", t, "form", "multi")
+ }
+ }
+ if r.radioProfilesN != nil {
+ t := *r.radioProfilesN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "radio_profiles__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "radio_profiles__n", t, "form", "multi")
+ }
+ }
if r.sort != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
}
@@ -18876,7 +17187,90 @@ func (a *DcimAPIService) DcimControllerManagedDeviceGroupsListExecute(r ApiDcimC
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
+ }
+ if r.tenant != nil {
+ t := *r.tenant
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant", t, "form", "multi")
+ }
+ }
+ if r.tenantIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__isnull", r.tenantIsnull, "form", "")
+ }
+ if r.tenantN != nil {
+ t := *r.tenantN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__n", t, "form", "multi")
+ }
+ }
+ if r.tenantGroup != nil {
+ t := *r.tenantGroup
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group", t, "form", "multi")
+ }
+ }
+ if r.tenantGroupIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group__isnull", r.tenantGroupIsnull, "form", "")
+ }
+ if r.tenantGroupN != nil {
+ t := *r.tenantGroupN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group__n", t, "form", "multi")
+ }
+ }
+ if r.tenantId != nil {
+ t := *r.tenantId
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id", t, "form", "multi")
+ }
+ }
+ if r.tenantIdIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__isnull", r.tenantIdIsnull, "form", "")
+ }
+ if r.tenantIdN != nil {
+ t := *r.tenantIdN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__n", t, "form", "multi")
+ }
}
if r.weight != nil {
t := *r.weight
@@ -18944,11 +17338,41 @@ func (a *DcimAPIService) DcimControllerManagedDeviceGroupsListExecute(r ApiDcimC
parameterAddToHeaderOrQuery(localVarQueryParams, "weight__n", t, "form", "multi")
}
}
+ if r.wirelessNetworks != nil {
+ t := *r.wirelessNetworks
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "wireless_networks", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "wireless_networks", t, "form", "multi")
+ }
+ }
+ if r.wirelessNetworksN != nil {
+ t := *r.wirelessNetworksN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "wireless_networks__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "wireless_networks__n", t, "form", "multi")
+ }
+ }
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -19163,6 +17587,7 @@ type ApiDcimControllerManagedDeviceGroupsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimControllerManagedDeviceGroupsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimControllerManagedDeviceGroupsNotesListRequest {
@@ -19188,6 +17613,12 @@ func (r ApiDcimControllerManagedDeviceGroupsNotesListRequest) Depth(depth int32)
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimControllerManagedDeviceGroupsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimControllerManagedDeviceGroupsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimControllerManagedDeviceGroupsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.DcimControllerManagedDeviceGroupsNotesListExecute(r)
}
@@ -19243,8 +17674,16 @@ func (a *DcimAPIService) DcimControllerManagedDeviceGroupsNotesListExecute(r Api
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -19454,6 +17893,7 @@ type ApiDcimControllerManagedDeviceGroupsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimControllerManagedDeviceGroupsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimControllerManagedDeviceGroupsRetrieveRequest {
@@ -19467,6 +17907,12 @@ func (r ApiDcimControllerManagedDeviceGroupsRetrieveRequest) Depth(depth int32)
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimControllerManagedDeviceGroupsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimControllerManagedDeviceGroupsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimControllerManagedDeviceGroupsRetrieveRequest) Execute() (*ControllerManagedDeviceGroup, *http.Response, error) {
return r.ApiService.DcimControllerManagedDeviceGroupsRetrieveExecute(r)
}
@@ -19516,8 +17962,16 @@ func (a *DcimAPIService) DcimControllerManagedDeviceGroupsRetrieveExecute(r ApiD
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -20363,9 +18817,10 @@ func (a *DcimAPIService) DcimControllersDestroyExecute(r ApiDcimControllersDestr
type ApiDcimControllersListRequest struct {
ctx context.Context
ApiService *DcimAPIService
+ capabilities *[]*interface{}
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
controllerDevice *[]string
controllerDeviceIsnull *bool
controllerDeviceN *[]string
@@ -20394,25 +18849,13 @@ type ApiDcimControllersListRequest struct {
descriptionNre *[]string
descriptionRe *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
externalIntegration *[]string
externalIntegrationIsnull *bool
externalIntegrationN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -20444,16 +18887,16 @@ type ApiDcimControllersListRequest struct {
q *string
role *[]string
roleIsnull *bool
- roleN *string
+ roleN *[]string
sort *string
status *[]string
- statusN *string
+ statusN *[]string
tags *[]string
tagsIsnull *bool
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
tenant *[]string
tenantIsnull *bool
tenantN *[]string
@@ -20463,7 +18906,16 @@ type ApiDcimControllersListRequest struct {
tenantId *[]*string
tenantIdIsnull *bool
tenantIdN *[]*string
+ wirelessNetworks *[]string
+ wirelessNetworksN *[]string
depth *int32
+ excludeM2m *bool
+}
+
+// Capabilities
+func (r ApiDcimControllersListRequest) Capabilities(capabilities []*interface{}) ApiDcimControllersListRequest {
+ r.capabilities = &capabilities
+ return r
}
func (r ApiDcimControllersListRequest) Contacts(contacts []string) ApiDcimControllersListRequest {
@@ -20477,8 +18929,7 @@ func (r ApiDcimControllersListRequest) ContactsIsnull(contactsIsnull bool) ApiDc
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimControllersListRequest) ContactsN(contactsN string) ApiDcimControllersListRequest {
+func (r ApiDcimControllersListRequest) ContactsN(contactsN []string) ApiDcimControllersListRequest {
r.contactsN = &contactsN
return r
}
@@ -20625,8 +19076,7 @@ func (r ApiDcimControllersListRequest) DynamicGroups(dynamicGroups []string) Api
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimControllersListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimControllersListRequest {
+func (r ApiDcimControllersListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimControllersListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -20658,71 +19108,11 @@ func (r ApiDcimControllersListRequest) Id(id []string) ApiDcimControllersListReq
return r
}
-func (r ApiDcimControllersListRequest) IdIc(idIc []string) ApiDcimControllersListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiDcimControllersListRequest) IdIe(idIe []string) ApiDcimControllersListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiDcimControllersListRequest) IdIew(idIew []string) ApiDcimControllersListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiDcimControllersListRequest) IdIre(idIre []string) ApiDcimControllersListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiDcimControllersListRequest) IdIsw(idIsw []string) ApiDcimControllersListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiDcimControllersListRequest) IdN(idN []string) ApiDcimControllersListRequest {
r.idN = &idN
return r
}
-func (r ApiDcimControllersListRequest) IdNic(idNic []string) ApiDcimControllersListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiDcimControllersListRequest) IdNie(idNie []string) ApiDcimControllersListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiDcimControllersListRequest) IdNiew(idNiew []string) ApiDcimControllersListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiDcimControllersListRequest) IdNire(idNire []string) ApiDcimControllersListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiDcimControllersListRequest) IdNisw(idNisw []string) ApiDcimControllersListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiDcimControllersListRequest) IdNre(idNre []string) ApiDcimControllersListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiDcimControllersListRequest) IdRe(idRe []string) ApiDcimControllersListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiDcimControllersListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimControllersListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -20883,8 +19273,7 @@ func (r ApiDcimControllersListRequest) RoleIsnull(roleIsnull bool) ApiDcimContro
return r
}
-// Exclude Role (name or ID)
-func (r ApiDcimControllersListRequest) RoleN(roleN string) ApiDcimControllersListRequest {
+func (r ApiDcimControllersListRequest) RoleN(roleN []string) ApiDcimControllersListRequest {
r.roleN = &roleN
return r
}
@@ -20900,8 +19289,7 @@ func (r ApiDcimControllersListRequest) Status(status []string) ApiDcimController
return r
}
-// Exclude Status (name or ID)
-func (r ApiDcimControllersListRequest) StatusN(statusN string) ApiDcimControllersListRequest {
+func (r ApiDcimControllersListRequest) StatusN(statusN []string) ApiDcimControllersListRequest {
r.statusN = &statusN
return r
}
@@ -20932,8 +19320,7 @@ func (r ApiDcimControllersListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimCont
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimControllersListRequest) TeamsN(teamsN string) ApiDcimControllersListRequest {
+func (r ApiDcimControllersListRequest) TeamsN(teamsN []string) ApiDcimControllersListRequest {
r.teamsN = &teamsN
return r
}
@@ -20988,12 +19375,28 @@ func (r ApiDcimControllersListRequest) TenantIdN(tenantIdN []*string) ApiDcimCon
return r
}
+func (r ApiDcimControllersListRequest) WirelessNetworks(wirelessNetworks []string) ApiDcimControllersListRequest {
+ r.wirelessNetworks = &wirelessNetworks
+ return r
+}
+
+func (r ApiDcimControllersListRequest) WirelessNetworksN(wirelessNetworksN []string) ApiDcimControllersListRequest {
+ r.wirelessNetworksN = &wirelessNetworksN
+ return r
+}
+
// Serializer Depth
func (r ApiDcimControllersListRequest) Depth(depth int32) ApiDcimControllersListRequest {
r.depth = &depth
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimControllersListRequest) ExcludeM2m(excludeM2m bool) ApiDcimControllersListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimControllersListRequest) Execute() (*PaginatedControllerList, *http.Response, error) {
return r.ApiService.DcimControllersListExecute(r)
}
@@ -21034,6 +19437,17 @@ func (a *DcimAPIService) DcimControllersListExecute(r ApiDcimControllersListRequ
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
+ if r.capabilities != nil {
+ t := *r.capabilities
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "capabilities", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "capabilities", t, "form", "multi")
+ }
+ }
if r.contacts != nil {
t := *r.contacts
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -21049,7 +19463,15 @@ func (a *DcimAPIService) DcimControllersListExecute(r ApiDcimControllersListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.controllerDevice != nil {
t := *r.controllerDevice
@@ -21336,7 +19758,15 @@ func (a *DcimAPIService) DcimControllersListExecute(r ApiDcimControllersListRequ
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.externalIntegration != nil {
t := *r.externalIntegration
@@ -21377,61 +19807,6 @@ func (a *DcimAPIService) DcimControllersListExecute(r ApiDcimControllersListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -21443,83 +19818,6 @@ func (a *DcimAPIService) DcimControllersListExecute(r ApiDcimControllersListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -21814,7 +20112,15 @@ func (a *DcimAPIService) DcimControllersListExecute(r ApiDcimControllersListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "role__isnull", r.roleIsnull, "form", "")
}
if r.roleN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", r.roleN, "form", "")
+ t := *r.roleN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", t, "form", "multi")
+ }
}
if r.sort != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
@@ -21831,7 +20137,15 @@ func (a *DcimAPIService) DcimControllersListExecute(r ApiDcimControllersListRequ
}
}
if r.statusN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", r.statusN, "form", "")
+ t := *r.statusN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "form", "multi")
+ }
}
if r.tags != nil {
t := *r.tags
@@ -21873,7 +20187,15 @@ func (a *DcimAPIService) DcimControllersListExecute(r ApiDcimControllersListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.tenant != nil {
t := *r.tenant
@@ -21950,149 +20272,44 @@ func (a *DcimAPIService) DcimControllersListExecute(r ApiDcimControllersListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__n", t, "form", "multi")
}
}
- if r.depth != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
- } else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
+ if r.wirelessNetworks != nil {
+ t := *r.wirelessNetworks
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "wireless_networks", s.Index(i).Interface(), "form", "multi")
}
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "wireless_networks", t, "form", "multi")
}
}
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
+ if r.wirelessNetworksN != nil {
+ t := *r.wirelessNetworksN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "wireless_networks__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "wireless_networks__n", t, "form", "multi")
}
- return localVarReturnValue, localVarHTTPResponse, newErr
}
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiDcimControllersNotesCreateRequest struct {
- ctx context.Context
- ApiService *DcimAPIService
- id string
- noteInputRequest *NoteInputRequest
- format *CircuitsCircuitTerminationsListFormatParameter
-}
-
-func (r ApiDcimControllersNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimControllersNotesCreateRequest {
- r.noteInputRequest = ¬eInputRequest
- return r
-}
-
-func (r ApiDcimControllersNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimControllersNotesCreateRequest {
- r.format = &format
- return r
-}
-
-func (r ApiDcimControllersNotesCreateRequest) Execute() (*Note, *http.Response, error) {
- return r.ApiService.DcimControllersNotesCreateExecute(r)
-}
-
-/*
-DcimControllersNotesCreate Method for DcimControllersNotesCreate
-
-API methods for returning or creating notes on an object.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this controller.
- @return ApiDcimControllersNotesCreateRequest
-*/
-func (a *DcimAPIService) DcimControllersNotesCreate(ctx context.Context, id string) ApiDcimControllersNotesCreateRequest {
- return ApiDcimControllersNotesCreateRequest{
- ApiService: a,
- ctx: ctx,
- id: id,
- }
-}
-
-// Execute executes the request
-// @return Note
-func (a *DcimAPIService) DcimControllersNotesCreateExecute(r ApiDcimControllersNotesCreateRequest) (*Note, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *Note
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimControllersNotesCreate")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/dcim/controllers/{id}/notes/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.noteInputRequest == nil {
- return localVarReturnValue, nil, reportError("noteInputRequest is required and must be specified")
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
}
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+ localVarHTTPContentTypes := []string{}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -22108,8 +20325,143 @@ func (a *DcimAPIService) DcimControllersNotesCreateExecute(r ApiDcimControllersN
if localVarHTTPHeaderAccept != "" {
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
- // body params
- localVarPostBody = r.noteInputRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiDcimControllersNotesCreateRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ id string
+ noteInputRequest *NoteInputRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiDcimControllersNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimControllersNotesCreateRequest {
+ r.noteInputRequest = ¬eInputRequest
+ return r
+}
+
+func (r ApiDcimControllersNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimControllersNotesCreateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiDcimControllersNotesCreateRequest) Execute() (*Note, *http.Response, error) {
+ return r.ApiService.DcimControllersNotesCreateExecute(r)
+}
+
+/*
+DcimControllersNotesCreate Method for DcimControllersNotesCreate
+
+API methods for returning or creating notes on an object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this controller.
+ @return ApiDcimControllersNotesCreateRequest
+*/
+func (a *DcimAPIService) DcimControllersNotesCreate(ctx context.Context, id string) ApiDcimControllersNotesCreateRequest {
+ return ApiDcimControllersNotesCreateRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return Note
+func (a *DcimAPIService) DcimControllersNotesCreateExecute(r ApiDcimControllersNotesCreateRequest) (*Note, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPost
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *Note
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimControllersNotesCreate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/controllers/{id}/notes/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.noteInputRequest == nil {
+ return localVarReturnValue, nil, reportError("noteInputRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.noteInputRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -22169,6 +20521,7 @@ type ApiDcimControllersNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimControllersNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimControllersNotesListRequest {
@@ -22194,6 +20547,12 @@ func (r ApiDcimControllersNotesListRequest) Depth(depth int32) ApiDcimController
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimControllersNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimControllersNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimControllersNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.DcimControllersNotesListExecute(r)
}
@@ -22249,8 +20608,16 @@ func (a *DcimAPIService) DcimControllersNotesListExecute(r ApiDcimControllersNot
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -22460,6 +20827,7 @@ type ApiDcimControllersRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimControllersRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimControllersRetrieveRequest {
@@ -22473,6 +20841,12 @@ func (r ApiDcimControllersRetrieveRequest) Depth(depth int32) ApiDcimControllers
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimControllersRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimControllersRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimControllersRetrieveRequest) Execute() (*Controller, *http.Response, error) {
return r.ApiService.DcimControllersRetrieveExecute(r)
}
@@ -22522,8 +20896,16 @@ func (a *DcimAPIService) DcimControllersRetrieveExecute(r ApiDcimControllersRetr
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -23371,7 +21753,7 @@ type ApiDcimDeviceBayTemplatesListRequest struct {
ApiService *DcimAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
description *[]string
descriptionIc *[]string
descriptionIe *[]string
@@ -23389,22 +21771,10 @@ type ApiDcimDeviceBayTemplatesListRequest struct {
deviceType *[]string
deviceTypeN *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
label *[]string
labelIc *[]string
labelIe *[]string
@@ -23439,8 +21809,9 @@ type ApiDcimDeviceBayTemplatesListRequest struct {
sort *string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimDeviceBayTemplatesListRequest) Contacts(contacts []string) ApiDcimDeviceBayTemplatesListRequest {
@@ -23454,8 +21825,7 @@ func (r ApiDcimDeviceBayTemplatesListRequest) ContactsIsnull(contactsIsnull bool
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimDeviceBayTemplatesListRequest) ContactsN(contactsN string) ApiDcimDeviceBayTemplatesListRequest {
+func (r ApiDcimDeviceBayTemplatesListRequest) ContactsN(contactsN []string) ApiDcimDeviceBayTemplatesListRequest {
r.contactsN = &contactsN
return r
}
@@ -23559,8 +21929,7 @@ func (r ApiDcimDeviceBayTemplatesListRequest) DynamicGroups(dynamicGroups []stri
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimDeviceBayTemplatesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimDeviceBayTemplatesListRequest {
+func (r ApiDcimDeviceBayTemplatesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimDeviceBayTemplatesListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -23576,84 +21945,12 @@ func (r ApiDcimDeviceBayTemplatesListRequest) Id(id []string) ApiDcimDeviceBayTe
return r
}
-// ID contains
-func (r ApiDcimDeviceBayTemplatesListRequest) IdIc(idIc []string) ApiDcimDeviceBayTemplatesListRequest {
- r.idIc = &idIc
- return r
-}
-
-// ID
-func (r ApiDcimDeviceBayTemplatesListRequest) IdIe(idIe []string) ApiDcimDeviceBayTemplatesListRequest {
- r.idIe = &idIe
- return r
-}
-
-// ID ends with
-func (r ApiDcimDeviceBayTemplatesListRequest) IdIew(idIew []string) ApiDcimDeviceBayTemplatesListRequest {
- r.idIew = &idIew
- return r
-}
-
-// ID matches regex
-func (r ApiDcimDeviceBayTemplatesListRequest) IdIre(idIre []string) ApiDcimDeviceBayTemplatesListRequest {
- r.idIre = &idIre
- return r
-}
-
-// ID starts with
-func (r ApiDcimDeviceBayTemplatesListRequest) IdIsw(idIsw []string) ApiDcimDeviceBayTemplatesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
// Exclude ID
func (r ApiDcimDeviceBayTemplatesListRequest) IdN(idN []string) ApiDcimDeviceBayTemplatesListRequest {
r.idN = &idN
return r
}
-// Exclude ID contains
-func (r ApiDcimDeviceBayTemplatesListRequest) IdNic(idNic []string) ApiDcimDeviceBayTemplatesListRequest {
- r.idNic = &idNic
- return r
-}
-
-// Exclude ID
-func (r ApiDcimDeviceBayTemplatesListRequest) IdNie(idNie []string) ApiDcimDeviceBayTemplatesListRequest {
- r.idNie = &idNie
- return r
-}
-
-// Exclude ID ends with
-func (r ApiDcimDeviceBayTemplatesListRequest) IdNiew(idNiew []string) ApiDcimDeviceBayTemplatesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-// Exclude ID matches regex
-func (r ApiDcimDeviceBayTemplatesListRequest) IdNire(idNire []string) ApiDcimDeviceBayTemplatesListRequest {
- r.idNire = &idNire
- return r
-}
-
-// Exclude ID starts with
-func (r ApiDcimDeviceBayTemplatesListRequest) IdNisw(idNisw []string) ApiDcimDeviceBayTemplatesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-// Exclude ID matches regex
-func (r ApiDcimDeviceBayTemplatesListRequest) IdNre(idNre []string) ApiDcimDeviceBayTemplatesListRequest {
- r.idNre = &idNre
- return r
-}
-
-// ID matches regex
-func (r ApiDcimDeviceBayTemplatesListRequest) IdRe(idRe []string) ApiDcimDeviceBayTemplatesListRequest {
- r.idRe = &idRe
- return r
-}
-
// Label
func (r ApiDcimDeviceBayTemplatesListRequest) Label(label []string) ApiDcimDeviceBayTemplatesListRequest {
r.label = &label
@@ -23857,8 +22154,7 @@ func (r ApiDcimDeviceBayTemplatesListRequest) TeamsIsnull(teamsIsnull bool) ApiD
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimDeviceBayTemplatesListRequest) TeamsN(teamsN string) ApiDcimDeviceBayTemplatesListRequest {
+func (r ApiDcimDeviceBayTemplatesListRequest) TeamsN(teamsN []string) ApiDcimDeviceBayTemplatesListRequest {
r.teamsN = &teamsN
return r
}
@@ -23869,6 +22165,12 @@ func (r ApiDcimDeviceBayTemplatesListRequest) Depth(depth int32) ApiDcimDeviceBa
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimDeviceBayTemplatesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimDeviceBayTemplatesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimDeviceBayTemplatesListRequest) Execute() (*PaginatedDeviceBayTemplateList, *http.Response, error) {
return r.ApiService.DcimDeviceBayTemplatesListExecute(r)
}
@@ -23924,7 +22226,15 @@ func (a *DcimAPIService) DcimDeviceBayTemplatesListExecute(r ApiDcimDeviceBayTem
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.description != nil {
t := *r.description
@@ -24114,75 +22424,28 @@ func (a *DcimAPIService) DcimDeviceBayTemplatesListExecute(r ApiDcimDeviceBayTem
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.id != nil {
- t := *r.id
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
- }
- }
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
if r.idN != nil {
@@ -24196,83 +22459,6 @@ func (a *DcimAPIService) DcimDeviceBayTemplatesListExecute(r ApiDcimDeviceBayTem
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.label != nil {
t := *r.label
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -24608,309 +22794,29 @@ func (a *DcimAPIService) DcimDeviceBayTemplatesListExecute(r ApiDcimDeviceBayTem
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
- }
- if r.depth != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
- } else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiDcimDeviceBayTemplatesNotesCreateRequest struct {
- ctx context.Context
- ApiService *DcimAPIService
- id string
- noteInputRequest *NoteInputRequest
- format *CircuitsCircuitTerminationsListFormatParameter
-}
-
-func (r ApiDcimDeviceBayTemplatesNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimDeviceBayTemplatesNotesCreateRequest {
- r.noteInputRequest = ¬eInputRequest
- return r
-}
-
-func (r ApiDcimDeviceBayTemplatesNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimDeviceBayTemplatesNotesCreateRequest {
- r.format = &format
- return r
-}
-
-func (r ApiDcimDeviceBayTemplatesNotesCreateRequest) Execute() (*Note, *http.Response, error) {
- return r.ApiService.DcimDeviceBayTemplatesNotesCreateExecute(r)
-}
-
-/*
-DcimDeviceBayTemplatesNotesCreate Method for DcimDeviceBayTemplatesNotesCreate
-
-API methods for returning or creating notes on an object.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this device bay template.
- @return ApiDcimDeviceBayTemplatesNotesCreateRequest
-*/
-func (a *DcimAPIService) DcimDeviceBayTemplatesNotesCreate(ctx context.Context, id string) ApiDcimDeviceBayTemplatesNotesCreateRequest {
- return ApiDcimDeviceBayTemplatesNotesCreateRequest{
- ApiService: a,
- ctx: ctx,
- id: id,
- }
-}
-
-// Execute executes the request
-// @return Note
-func (a *DcimAPIService) DcimDeviceBayTemplatesNotesCreateExecute(r ApiDcimDeviceBayTemplatesNotesCreateRequest) (*Note, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *Note
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimDeviceBayTemplatesNotesCreate")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/dcim/device-bay-templates/{id}/notes/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.noteInputRequest == nil {
- return localVarReturnValue, nil, reportError("noteInputRequest is required and must be specified")
- }
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.noteInputRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
}
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
}
}
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiDcimDeviceBayTemplatesNotesListRequest struct {
- ctx context.Context
- ApiService *DcimAPIService
- id string
- format *CircuitsCircuitTerminationsListFormatParameter
- limit *int32
- offset *int32
- depth *int32
-}
-
-func (r ApiDcimDeviceBayTemplatesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimDeviceBayTemplatesNotesListRequest {
- r.format = &format
- return r
-}
-
-// Number of results to return per page.
-func (r ApiDcimDeviceBayTemplatesNotesListRequest) Limit(limit int32) ApiDcimDeviceBayTemplatesNotesListRequest {
- r.limit = &limit
- return r
-}
-
-// The initial index from which to return the results.
-func (r ApiDcimDeviceBayTemplatesNotesListRequest) Offset(offset int32) ApiDcimDeviceBayTemplatesNotesListRequest {
- r.offset = &offset
- return r
-}
-
-// Serializer Depth
-func (r ApiDcimDeviceBayTemplatesNotesListRequest) Depth(depth int32) ApiDcimDeviceBayTemplatesNotesListRequest {
- r.depth = &depth
- return r
-}
-
-func (r ApiDcimDeviceBayTemplatesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
- return r.ApiService.DcimDeviceBayTemplatesNotesListExecute(r)
-}
-
-/*
-DcimDeviceBayTemplatesNotesList Method for DcimDeviceBayTemplatesNotesList
-
-API methods for returning or creating notes on an object.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this device bay template.
- @return ApiDcimDeviceBayTemplatesNotesListRequest
-*/
-func (a *DcimAPIService) DcimDeviceBayTemplatesNotesList(ctx context.Context, id string) ApiDcimDeviceBayTemplatesNotesListRequest {
- return ApiDcimDeviceBayTemplatesNotesListRequest{
- ApiService: a,
- ctx: ctx,
- id: id,
- }
-}
-
-// Execute executes the request
-// @return PaginatedNoteList
-func (a *DcimAPIService) DcimDeviceBayTemplatesNotesListExecute(r ApiDcimDeviceBayTemplatesNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *PaginatedNoteList
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimDeviceBayTemplatesNotesList")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/dcim/device-bay-templates/{id}/notes/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
- }
- if r.offset != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
- }
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -25120,6 +23026,7 @@ type ApiDcimDeviceBayTemplatesRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimDeviceBayTemplatesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimDeviceBayTemplatesRetrieveRequest {
@@ -25133,6 +23040,12 @@ func (r ApiDcimDeviceBayTemplatesRetrieveRequest) Depth(depth int32) ApiDcimDevi
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimDeviceBayTemplatesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimDeviceBayTemplatesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimDeviceBayTemplatesRetrieveRequest) Execute() (*DeviceBayTemplate, *http.Response, error) {
return r.ApiService.DcimDeviceBayTemplatesRetrieveExecute(r)
}
@@ -25182,8 +23095,16 @@ func (a *DcimAPIService) DcimDeviceBayTemplatesRetrieveExecute(r ApiDcimDeviceBa
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -26031,7 +23952,7 @@ type ApiDcimDeviceBaysListRequest struct {
ApiService *DcimAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
description *[]string
descriptionIc *[]string
descriptionIe *[]string
@@ -26049,22 +23970,10 @@ type ApiDcimDeviceBaysListRequest struct {
device *[]string
deviceN *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
installedDevice *[]string
installedDeviceIsnull *bool
installedDeviceN *[]string
@@ -26107,8 +24016,9 @@ type ApiDcimDeviceBaysListRequest struct {
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimDeviceBaysListRequest) Contacts(contacts []string) ApiDcimDeviceBaysListRequest {
@@ -26122,8 +24032,7 @@ func (r ApiDcimDeviceBaysListRequest) ContactsIsnull(contactsIsnull bool) ApiDci
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimDeviceBaysListRequest) ContactsN(contactsN string) ApiDcimDeviceBaysListRequest {
+func (r ApiDcimDeviceBaysListRequest) ContactsN(contactsN []string) ApiDcimDeviceBaysListRequest {
r.contactsN = &contactsN
return r
}
@@ -26213,8 +24122,7 @@ func (r ApiDcimDeviceBaysListRequest) DynamicGroups(dynamicGroups []string) ApiD
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimDeviceBaysListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimDeviceBaysListRequest {
+func (r ApiDcimDeviceBaysListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimDeviceBaysListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -26230,71 +24138,11 @@ func (r ApiDcimDeviceBaysListRequest) Id(id []string) ApiDcimDeviceBaysListReque
return r
}
-func (r ApiDcimDeviceBaysListRequest) IdIc(idIc []string) ApiDcimDeviceBaysListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiDcimDeviceBaysListRequest) IdIe(idIe []string) ApiDcimDeviceBaysListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiDcimDeviceBaysListRequest) IdIew(idIew []string) ApiDcimDeviceBaysListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiDcimDeviceBaysListRequest) IdIre(idIre []string) ApiDcimDeviceBaysListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiDcimDeviceBaysListRequest) IdIsw(idIsw []string) ApiDcimDeviceBaysListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiDcimDeviceBaysListRequest) IdN(idN []string) ApiDcimDeviceBaysListRequest {
r.idN = &idN
return r
}
-func (r ApiDcimDeviceBaysListRequest) IdNic(idNic []string) ApiDcimDeviceBaysListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiDcimDeviceBaysListRequest) IdNie(idNie []string) ApiDcimDeviceBaysListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiDcimDeviceBaysListRequest) IdNiew(idNiew []string) ApiDcimDeviceBaysListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiDcimDeviceBaysListRequest) IdNire(idNire []string) ApiDcimDeviceBaysListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiDcimDeviceBaysListRequest) IdNisw(idNisw []string) ApiDcimDeviceBaysListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiDcimDeviceBaysListRequest) IdNre(idNre []string) ApiDcimDeviceBaysListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiDcimDeviceBaysListRequest) IdRe(idRe []string) ApiDcimDeviceBaysListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiDcimDeviceBaysListRequest) InstalledDevice(installedDevice []string) ApiDcimDeviceBaysListRequest {
r.installedDevice = &installedDevice
return r
@@ -26511,8 +24359,7 @@ func (r ApiDcimDeviceBaysListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimDevic
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimDeviceBaysListRequest) TeamsN(teamsN string) ApiDcimDeviceBaysListRequest {
+func (r ApiDcimDeviceBaysListRequest) TeamsN(teamsN []string) ApiDcimDeviceBaysListRequest {
r.teamsN = &teamsN
return r
}
@@ -26523,6 +24370,12 @@ func (r ApiDcimDeviceBaysListRequest) Depth(depth int32) ApiDcimDeviceBaysListRe
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimDeviceBaysListRequest) ExcludeM2m(excludeM2m bool) ApiDcimDeviceBaysListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimDeviceBaysListRequest) Execute() (*PaginatedDeviceBayList, *http.Response, error) {
return r.ApiService.DcimDeviceBaysListExecute(r)
}
@@ -26578,7 +24431,15 @@ func (a *DcimAPIService) DcimDeviceBaysListExecute(r ApiDcimDeviceBaysListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.description != nil {
t := *r.description
@@ -26768,75 +24629,28 @@ func (a *DcimAPIService) DcimDeviceBaysListExecute(r ApiDcimDeviceBaysListReques
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.id != nil {
- t := *r.id
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
- }
- }
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
if r.idN != nil {
@@ -26850,83 +24664,6 @@ func (a *DcimAPIService) DcimDeviceBaysListExecute(r ApiDcimDeviceBaysListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.installedDevice != nil {
t := *r.installedDevice
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -27334,13 +25071,29 @@ func (a *DcimAPIService) DcimDeviceBaysListExecute(r ApiDcimDeviceBaysListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -27555,6 +25308,7 @@ type ApiDcimDeviceBaysNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimDeviceBaysNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimDeviceBaysNotesListRequest {
@@ -27580,6 +25334,12 @@ func (r ApiDcimDeviceBaysNotesListRequest) Depth(depth int32) ApiDcimDeviceBaysN
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimDeviceBaysNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimDeviceBaysNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimDeviceBaysNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.DcimDeviceBaysNotesListExecute(r)
}
@@ -27635,8 +25395,16 @@ func (a *DcimAPIService) DcimDeviceBaysNotesListExecute(r ApiDcimDeviceBaysNotes
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -27846,6 +25614,7 @@ type ApiDcimDeviceBaysRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimDeviceBaysRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimDeviceBaysRetrieveRequest {
@@ -27859,6 +25628,12 @@ func (r ApiDcimDeviceBaysRetrieveRequest) Depth(depth int32) ApiDcimDeviceBaysRe
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimDeviceBaysRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimDeviceBaysRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimDeviceBaysRetrieveRequest) Execute() (*DeviceBay, *http.Response, error) {
return r.ApiService.DcimDeviceBaysRetrieveExecute(r)
}
@@ -27908,8 +25683,16 @@ func (a *DcimAPIService) DcimDeviceBaysRetrieveExecute(r ApiDcimDeviceBaysRetrie
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -28757,7 +26540,7 @@ type ApiDcimDeviceFamiliesListRequest struct {
ApiService *DcimAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -28783,23 +26566,11 @@ type ApiDcimDeviceFamiliesListRequest struct {
deviceTypesIsnull *bool
deviceTypesN *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
hasDeviceTypes *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -28830,8 +26601,9 @@ type ApiDcimDeviceFamiliesListRequest struct {
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimDeviceFamiliesListRequest) Contacts(contacts []string) ApiDcimDeviceFamiliesListRequest {
@@ -28845,8 +26617,7 @@ func (r ApiDcimDeviceFamiliesListRequest) ContactsIsnull(contactsIsnull bool) Ap
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimDeviceFamiliesListRequest) ContactsN(contactsN string) ApiDcimDeviceFamiliesListRequest {
+func (r ApiDcimDeviceFamiliesListRequest) ContactsN(contactsN []string) ApiDcimDeviceFamiliesListRequest {
r.contactsN = &contactsN
return r
}
@@ -28977,8 +26748,7 @@ func (r ApiDcimDeviceFamiliesListRequest) DynamicGroups(dynamicGroups []string)
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimDeviceFamiliesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimDeviceFamiliesListRequest {
+func (r ApiDcimDeviceFamiliesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimDeviceFamiliesListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -29000,71 +26770,11 @@ func (r ApiDcimDeviceFamiliesListRequest) Id(id []string) ApiDcimDeviceFamiliesL
return r
}
-func (r ApiDcimDeviceFamiliesListRequest) IdIc(idIc []string) ApiDcimDeviceFamiliesListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiDcimDeviceFamiliesListRequest) IdIe(idIe []string) ApiDcimDeviceFamiliesListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiDcimDeviceFamiliesListRequest) IdIew(idIew []string) ApiDcimDeviceFamiliesListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiDcimDeviceFamiliesListRequest) IdIre(idIre []string) ApiDcimDeviceFamiliesListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiDcimDeviceFamiliesListRequest) IdIsw(idIsw []string) ApiDcimDeviceFamiliesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiDcimDeviceFamiliesListRequest) IdN(idN []string) ApiDcimDeviceFamiliesListRequest {
r.idN = &idN
return r
}
-func (r ApiDcimDeviceFamiliesListRequest) IdNic(idNic []string) ApiDcimDeviceFamiliesListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiDcimDeviceFamiliesListRequest) IdNie(idNie []string) ApiDcimDeviceFamiliesListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiDcimDeviceFamiliesListRequest) IdNiew(idNiew []string) ApiDcimDeviceFamiliesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiDcimDeviceFamiliesListRequest) IdNire(idNire []string) ApiDcimDeviceFamiliesListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiDcimDeviceFamiliesListRequest) IdNisw(idNisw []string) ApiDcimDeviceFamiliesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiDcimDeviceFamiliesListRequest) IdNre(idNre []string) ApiDcimDeviceFamiliesListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiDcimDeviceFamiliesListRequest) IdRe(idRe []string) ApiDcimDeviceFamiliesListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiDcimDeviceFamiliesListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimDeviceFamiliesListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -29220,8 +26930,7 @@ func (r ApiDcimDeviceFamiliesListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimD
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimDeviceFamiliesListRequest) TeamsN(teamsN string) ApiDcimDeviceFamiliesListRequest {
+func (r ApiDcimDeviceFamiliesListRequest) TeamsN(teamsN []string) ApiDcimDeviceFamiliesListRequest {
r.teamsN = &teamsN
return r
}
@@ -29232,6 +26941,12 @@ func (r ApiDcimDeviceFamiliesListRequest) Depth(depth int32) ApiDcimDeviceFamili
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimDeviceFamiliesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimDeviceFamiliesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimDeviceFamiliesListRequest) Execute() (*PaginatedDeviceFamilyList, *http.Response, error) {
return r.ApiService.DcimDeviceFamiliesListExecute(r)
}
@@ -29287,7 +27002,15 @@ func (a *DcimAPIService) DcimDeviceFamiliesListExecute(r ApiDcimDeviceFamiliesLi
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -29549,7 +27272,15 @@ func (a *DcimAPIService) DcimDeviceFamiliesListExecute(r ApiDcimDeviceFamiliesLi
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -29568,61 +27299,6 @@ func (a *DcimAPIService) DcimDeviceFamiliesListExecute(r ApiDcimDeviceFamiliesLi
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -29634,83 +27310,6 @@ func (a *DcimAPIService) DcimDeviceFamiliesListExecute(r ApiDcimDeviceFamiliesLi
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -29986,13 +27585,29 @@ func (a *DcimAPIService) DcimDeviceFamiliesListExecute(r ApiDcimDeviceFamiliesLi
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -30207,6 +27822,7 @@ type ApiDcimDeviceFamiliesNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimDeviceFamiliesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimDeviceFamiliesNotesListRequest {
@@ -30232,6 +27848,12 @@ func (r ApiDcimDeviceFamiliesNotesListRequest) Depth(depth int32) ApiDcimDeviceF
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimDeviceFamiliesNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimDeviceFamiliesNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimDeviceFamiliesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.DcimDeviceFamiliesNotesListExecute(r)
}
@@ -30287,8 +27909,16 @@ func (a *DcimAPIService) DcimDeviceFamiliesNotesListExecute(r ApiDcimDeviceFamil
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -30498,6 +28128,7 @@ type ApiDcimDeviceFamiliesRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimDeviceFamiliesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimDeviceFamiliesRetrieveRequest {
@@ -30511,6 +28142,12 @@ func (r ApiDcimDeviceFamiliesRetrieveRequest) Depth(depth int32) ApiDcimDeviceFa
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimDeviceFamiliesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimDeviceFamiliesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimDeviceFamiliesRetrieveRequest) Execute() (*DeviceFamily, *http.Response, error) {
return r.ApiService.DcimDeviceFamiliesRetrieveExecute(r)
}
@@ -30560,8 +28197,16 @@ func (a *DcimAPIService) DcimDeviceFamiliesRetrieveExecute(r ApiDcimDeviceFamili
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -31409,7 +29054,7 @@ type ApiDcimDeviceRedundancyGroupsListRequest struct {
ApiService *DcimAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -31418,7 +29063,7 @@ type ApiDcimDeviceRedundancyGroupsListRequest struct {
createdLte *[]time.Time
createdN *[]time.Time
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
failoverStrategy *[]string
failoverStrategyIc *[]string
failoverStrategyIe *[]string
@@ -31435,19 +29080,7 @@ type ApiDcimDeviceRedundancyGroupsListRequest struct {
failoverStrategyRe *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -31477,14 +29110,15 @@ type ApiDcimDeviceRedundancyGroupsListRequest struct {
secretsGroupN *[]string
sort *string
status *[]string
- statusN *string
+ statusN *[]string
tags *[]string
tagsIsnull *bool
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimDeviceRedundancyGroupsListRequest) Contacts(contacts []string) ApiDcimDeviceRedundancyGroupsListRequest {
@@ -31498,8 +29132,7 @@ func (r ApiDcimDeviceRedundancyGroupsListRequest) ContactsIsnull(contactsIsnull
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimDeviceRedundancyGroupsListRequest) ContactsN(contactsN string) ApiDcimDeviceRedundancyGroupsListRequest {
+func (r ApiDcimDeviceRedundancyGroupsListRequest) ContactsN(contactsN []string) ApiDcimDeviceRedundancyGroupsListRequest {
r.contactsN = &contactsN
return r
}
@@ -31544,8 +29177,7 @@ func (r ApiDcimDeviceRedundancyGroupsListRequest) DynamicGroups(dynamicGroups []
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimDeviceRedundancyGroupsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimDeviceRedundancyGroupsListRequest {
+func (r ApiDcimDeviceRedundancyGroupsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimDeviceRedundancyGroupsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -31631,71 +29263,11 @@ func (r ApiDcimDeviceRedundancyGroupsListRequest) Id(id []string) ApiDcimDeviceR
return r
}
-func (r ApiDcimDeviceRedundancyGroupsListRequest) IdIc(idIc []string) ApiDcimDeviceRedundancyGroupsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiDcimDeviceRedundancyGroupsListRequest) IdIe(idIe []string) ApiDcimDeviceRedundancyGroupsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiDcimDeviceRedundancyGroupsListRequest) IdIew(idIew []string) ApiDcimDeviceRedundancyGroupsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiDcimDeviceRedundancyGroupsListRequest) IdIre(idIre []string) ApiDcimDeviceRedundancyGroupsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiDcimDeviceRedundancyGroupsListRequest) IdIsw(idIsw []string) ApiDcimDeviceRedundancyGroupsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiDcimDeviceRedundancyGroupsListRequest) IdN(idN []string) ApiDcimDeviceRedundancyGroupsListRequest {
r.idN = &idN
return r
}
-func (r ApiDcimDeviceRedundancyGroupsListRequest) IdNic(idNic []string) ApiDcimDeviceRedundancyGroupsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiDcimDeviceRedundancyGroupsListRequest) IdNie(idNie []string) ApiDcimDeviceRedundancyGroupsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiDcimDeviceRedundancyGroupsListRequest) IdNiew(idNiew []string) ApiDcimDeviceRedundancyGroupsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiDcimDeviceRedundancyGroupsListRequest) IdNire(idNire []string) ApiDcimDeviceRedundancyGroupsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiDcimDeviceRedundancyGroupsListRequest) IdNisw(idNisw []string) ApiDcimDeviceRedundancyGroupsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiDcimDeviceRedundancyGroupsListRequest) IdNre(idNre []string) ApiDcimDeviceRedundancyGroupsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiDcimDeviceRedundancyGroupsListRequest) IdRe(idRe []string) ApiDcimDeviceRedundancyGroupsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiDcimDeviceRedundancyGroupsListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimDeviceRedundancyGroupsListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -31846,8 +29418,7 @@ func (r ApiDcimDeviceRedundancyGroupsListRequest) Status(status []string) ApiDci
return r
}
-// Exclude Status (name or ID)
-func (r ApiDcimDeviceRedundancyGroupsListRequest) StatusN(statusN string) ApiDcimDeviceRedundancyGroupsListRequest {
+func (r ApiDcimDeviceRedundancyGroupsListRequest) StatusN(statusN []string) ApiDcimDeviceRedundancyGroupsListRequest {
r.statusN = &statusN
return r
}
@@ -31878,8 +29449,7 @@ func (r ApiDcimDeviceRedundancyGroupsListRequest) TeamsIsnull(teamsIsnull bool)
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimDeviceRedundancyGroupsListRequest) TeamsN(teamsN string) ApiDcimDeviceRedundancyGroupsListRequest {
+func (r ApiDcimDeviceRedundancyGroupsListRequest) TeamsN(teamsN []string) ApiDcimDeviceRedundancyGroupsListRequest {
r.teamsN = &teamsN
return r
}
@@ -31890,6 +29460,12 @@ func (r ApiDcimDeviceRedundancyGroupsListRequest) Depth(depth int32) ApiDcimDevi
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimDeviceRedundancyGroupsListRequest) ExcludeM2m(excludeM2m bool) ApiDcimDeviceRedundancyGroupsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimDeviceRedundancyGroupsListRequest) Execute() (*PaginatedDeviceRedundancyGroupList, *http.Response, error) {
return r.ApiService.DcimDeviceRedundancyGroupsListExecute(r)
}
@@ -31945,7 +29521,15 @@ func (a *DcimAPIService) DcimDeviceRedundancyGroupsListExecute(r ApiDcimDeviceRe
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -32028,7 +29612,15 @@ func (a *DcimAPIService) DcimDeviceRedundancyGroupsListExecute(r ApiDcimDeviceRe
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.failoverStrategy != nil {
t := *r.failoverStrategy
@@ -32198,61 +29790,6 @@ func (a *DcimAPIService) DcimDeviceRedundancyGroupsListExecute(r ApiDcimDeviceRe
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -32264,83 +29801,6 @@ func (a *DcimAPIService) DcimDeviceRedundancyGroupsListExecute(r ApiDcimDeviceRe
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -32613,7 +30073,15 @@ func (a *DcimAPIService) DcimDeviceRedundancyGroupsListExecute(r ApiDcimDeviceRe
}
}
if r.statusN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", r.statusN, "form", "")
+ t := *r.statusN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "form", "multi")
+ }
}
if r.tags != nil {
t := *r.tags
@@ -32655,13 +30123,29 @@ func (a *DcimAPIService) DcimDeviceRedundancyGroupsListExecute(r ApiDcimDeviceRe
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -32876,6 +30360,7 @@ type ApiDcimDeviceRedundancyGroupsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimDeviceRedundancyGroupsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimDeviceRedundancyGroupsNotesListRequest {
@@ -32901,6 +30386,12 @@ func (r ApiDcimDeviceRedundancyGroupsNotesListRequest) Depth(depth int32) ApiDci
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimDeviceRedundancyGroupsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimDeviceRedundancyGroupsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimDeviceRedundancyGroupsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.DcimDeviceRedundancyGroupsNotesListExecute(r)
}
@@ -32956,8 +30447,16 @@ func (a *DcimAPIService) DcimDeviceRedundancyGroupsNotesListExecute(r ApiDcimDev
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -33167,6 +30666,7 @@ type ApiDcimDeviceRedundancyGroupsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimDeviceRedundancyGroupsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimDeviceRedundancyGroupsRetrieveRequest {
@@ -33180,6 +30680,12 @@ func (r ApiDcimDeviceRedundancyGroupsRetrieveRequest) Depth(depth int32) ApiDcim
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimDeviceRedundancyGroupsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimDeviceRedundancyGroupsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimDeviceRedundancyGroupsRetrieveRequest) Execute() (*DeviceRedundancyGroup, *http.Response, error) {
return r.ApiService.DcimDeviceRedundancyGroupsRetrieveExecute(r)
}
@@ -33229,8 +30735,16 @@ func (a *DcimAPIService) DcimDeviceRedundancyGroupsRetrieveExecute(r ApiDcimDevi
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -33499,7 +31013,7 @@ func (a *DcimAPIService) DcimDeviceTypesBulkDestroyExecute(r ApiDcimDeviceTypesB
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+ localVarHTTPContentTypes := []string{"application/json", "text/csv", "multipart/form-data"}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -33623,7 +31137,7 @@ func (a *DcimAPIService) DcimDeviceTypesBulkPartialUpdateExecute(r ApiDcimDevice
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+ localVarHTTPContentTypes := []string{"application/json", "text/csv", "multipart/form-data"}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -33756,7 +31270,7 @@ func (a *DcimAPIService) DcimDeviceTypesBulkUpdateExecute(r ApiDcimDeviceTypesBu
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+ localVarHTTPContentTypes := []string{"application/json", "text/csv", "multipart/form-data"}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -33889,7 +31403,7 @@ func (a *DcimAPIService) DcimDeviceTypesCreateExecute(r ApiDcimDeviceTypesCreate
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+ localVarHTTPContentTypes := []string{"application/json", "text/csv", "multipart/form-data"}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -34100,7 +31614,7 @@ type ApiDcimDeviceTypesListRequest struct {
consoleServerPorts *bool
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -34119,7 +31633,7 @@ type ApiDcimDeviceTypesListRequest struct {
devicesIsnull *bool
devicesN *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
frontPortTemplates *[]string
frontPortTemplatesIsnull *bool
@@ -34136,19 +31650,7 @@ type ApiDcimDeviceTypesListRequest struct {
hasRearPortTemplates *bool
hasSoftwareImageFiles *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
interfaceTemplates *[]string
interfaceTemplatesIsnull *bool
interfaceTemplatesN *[]string
@@ -34231,7 +31733,7 @@ type ApiDcimDeviceTypesListRequest struct {
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
uHeight *[]int32
uHeightGt *[]int32
uHeightGte *[]int32
@@ -34239,6 +31741,7 @@ type ApiDcimDeviceTypesListRequest struct {
uHeightLte *[]int32
uHeightN *[]int32
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimDeviceTypesListRequest) Comments(comments []string) ApiDcimDeviceTypesListRequest {
@@ -34366,8 +31869,7 @@ func (r ApiDcimDeviceTypesListRequest) ContactsIsnull(contactsIsnull bool) ApiDc
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimDeviceTypesListRequest) ContactsN(contactsN string) ApiDcimDeviceTypesListRequest {
+func (r ApiDcimDeviceTypesListRequest) ContactsN(contactsN []string) ApiDcimDeviceTypesListRequest {
r.contactsN = &contactsN
return r
}
@@ -34465,8 +31967,7 @@ func (r ApiDcimDeviceTypesListRequest) DynamicGroups(dynamicGroups []string) Api
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimDeviceTypesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimDeviceTypesListRequest {
+func (r ApiDcimDeviceTypesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimDeviceTypesListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -34564,71 +32065,11 @@ func (r ApiDcimDeviceTypesListRequest) Id(id []string) ApiDcimDeviceTypesListReq
return r
}
-func (r ApiDcimDeviceTypesListRequest) IdIc(idIc []string) ApiDcimDeviceTypesListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiDcimDeviceTypesListRequest) IdIe(idIe []string) ApiDcimDeviceTypesListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiDcimDeviceTypesListRequest) IdIew(idIew []string) ApiDcimDeviceTypesListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiDcimDeviceTypesListRequest) IdIre(idIre []string) ApiDcimDeviceTypesListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiDcimDeviceTypesListRequest) IdIsw(idIsw []string) ApiDcimDeviceTypesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiDcimDeviceTypesListRequest) IdN(idN []string) ApiDcimDeviceTypesListRequest {
r.idN = &idN
return r
}
-func (r ApiDcimDeviceTypesListRequest) IdNic(idNic []string) ApiDcimDeviceTypesListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiDcimDeviceTypesListRequest) IdNie(idNie []string) ApiDcimDeviceTypesListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiDcimDeviceTypesListRequest) IdNiew(idNiew []string) ApiDcimDeviceTypesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiDcimDeviceTypesListRequest) IdNire(idNire []string) ApiDcimDeviceTypesListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiDcimDeviceTypesListRequest) IdNisw(idNisw []string) ApiDcimDeviceTypesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiDcimDeviceTypesListRequest) IdNre(idNre []string) ApiDcimDeviceTypesListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiDcimDeviceTypesListRequest) IdRe(idRe []string) ApiDcimDeviceTypesListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiDcimDeviceTypesListRequest) InterfaceTemplates(interfaceTemplates []string) ApiDcimDeviceTypesListRequest {
r.interfaceTemplates = &interfaceTemplates
return r
@@ -34987,7 +32428,6 @@ func (r ApiDcimDeviceTypesListRequest) SubdeviceRoleIsw(subdeviceRoleIsw []strin
return r
}
-// Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child.
func (r ApiDcimDeviceTypesListRequest) SubdeviceRoleN(subdeviceRoleN []string) ApiDcimDeviceTypesListRequest {
r.subdeviceRoleN = &subdeviceRoleN
return r
@@ -35054,8 +32494,7 @@ func (r ApiDcimDeviceTypesListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimDevi
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimDeviceTypesListRequest) TeamsN(teamsN string) ApiDcimDeviceTypesListRequest {
+func (r ApiDcimDeviceTypesListRequest) TeamsN(teamsN []string) ApiDcimDeviceTypesListRequest {
r.teamsN = &teamsN
return r
}
@@ -35096,6 +32535,12 @@ func (r ApiDcimDeviceTypesListRequest) Depth(depth int32) ApiDcimDeviceTypesList
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimDeviceTypesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimDeviceTypesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimDeviceTypesListRequest) Execute() (*PaginatedDeviceTypeList, *http.Response, error) {
return r.ApiService.DcimDeviceTypesListExecute(r)
}
@@ -35361,7 +32806,15 @@ func (a *DcimAPIService) DcimDeviceTypesListExecute(r ApiDcimDeviceTypesListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -35522,7 +32975,15 @@ func (a *DcimAPIService) DcimDeviceTypesListExecute(r ApiDcimDeviceTypesListRequ
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -35596,61 +33057,6 @@ func (a *DcimAPIService) DcimDeviceTypesListExecute(r ApiDcimDeviceTypesListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -35662,83 +33068,6 @@ func (a *DcimAPIService) DcimDeviceTypesListExecute(r ApiDcimDeviceTypesListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.interfaceTemplates != nil {
t := *r.interfaceTemplates
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -36506,7 +33835,15 @@ func (a *DcimAPIService) DcimDeviceTypesListExecute(r ApiDcimDeviceTypesListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.uHeight != nil {
t := *r.uHeight
@@ -36577,8 +33914,16 @@ func (a *DcimAPIService) DcimDeviceTypesListExecute(r ApiDcimDeviceTypesListRequ
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -36716,7 +34061,7 @@ func (a *DcimAPIService) DcimDeviceTypesNotesCreateExecute(r ApiDcimDeviceTypesN
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+ localVarHTTPContentTypes := []string{"application/json", "text/csv", "multipart/form-data"}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -36793,6 +34138,7 @@ type ApiDcimDeviceTypesNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimDeviceTypesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimDeviceTypesNotesListRequest {
@@ -36818,6 +34164,12 @@ func (r ApiDcimDeviceTypesNotesListRequest) Depth(depth int32) ApiDcimDeviceType
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimDeviceTypesNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimDeviceTypesNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimDeviceTypesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.DcimDeviceTypesNotesListExecute(r)
}
@@ -36873,8 +34225,16 @@ func (a *DcimAPIService) DcimDeviceTypesNotesListExecute(r ApiDcimDeviceTypesNot
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -37009,7 +34369,7 @@ func (a *DcimAPIService) DcimDeviceTypesPartialUpdateExecute(r ApiDcimDeviceType
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+ localVarHTTPContentTypes := []string{"application/json", "text/csv", "multipart/form-data"}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -37084,6 +34444,7 @@ type ApiDcimDeviceTypesRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimDeviceTypesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimDeviceTypesRetrieveRequest {
@@ -37097,6 +34458,12 @@ func (r ApiDcimDeviceTypesRetrieveRequest) Depth(depth int32) ApiDcimDeviceTypes
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimDeviceTypesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimDeviceTypesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimDeviceTypesRetrieveRequest) Execute() (*DeviceType, *http.Response, error) {
return r.ApiService.DcimDeviceTypesRetrieveExecute(r)
}
@@ -37146,8 +34513,16 @@ func (a *DcimAPIService) DcimDeviceTypesRetrieveExecute(r ApiDcimDeviceTypesRetr
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -37867,19 +35242,7 @@ type ApiDcimDeviceTypesToSoftwareImageFilesListRequest struct {
deviceTypeN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -37894,6 +35257,7 @@ type ApiDcimDeviceTypesToSoftwareImageFilesListRequest struct {
softwareImageFileN *[]string
sort *string
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimDeviceTypesToSoftwareImageFilesListRequest) Created(created []time.Time) ApiDcimDeviceTypesToSoftwareImageFilesListRequest {
@@ -37952,71 +35316,11 @@ func (r ApiDcimDeviceTypesToSoftwareImageFilesListRequest) Id(id []string) ApiDc
return r
}
-func (r ApiDcimDeviceTypesToSoftwareImageFilesListRequest) IdIc(idIc []string) ApiDcimDeviceTypesToSoftwareImageFilesListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiDcimDeviceTypesToSoftwareImageFilesListRequest) IdIe(idIe []string) ApiDcimDeviceTypesToSoftwareImageFilesListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiDcimDeviceTypesToSoftwareImageFilesListRequest) IdIew(idIew []string) ApiDcimDeviceTypesToSoftwareImageFilesListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiDcimDeviceTypesToSoftwareImageFilesListRequest) IdIre(idIre []string) ApiDcimDeviceTypesToSoftwareImageFilesListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiDcimDeviceTypesToSoftwareImageFilesListRequest) IdIsw(idIsw []string) ApiDcimDeviceTypesToSoftwareImageFilesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiDcimDeviceTypesToSoftwareImageFilesListRequest) IdN(idN []string) ApiDcimDeviceTypesToSoftwareImageFilesListRequest {
r.idN = &idN
return r
}
-func (r ApiDcimDeviceTypesToSoftwareImageFilesListRequest) IdNic(idNic []string) ApiDcimDeviceTypesToSoftwareImageFilesListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiDcimDeviceTypesToSoftwareImageFilesListRequest) IdNie(idNie []string) ApiDcimDeviceTypesToSoftwareImageFilesListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiDcimDeviceTypesToSoftwareImageFilesListRequest) IdNiew(idNiew []string) ApiDcimDeviceTypesToSoftwareImageFilesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiDcimDeviceTypesToSoftwareImageFilesListRequest) IdNire(idNire []string) ApiDcimDeviceTypesToSoftwareImageFilesListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiDcimDeviceTypesToSoftwareImageFilesListRequest) IdNisw(idNisw []string) ApiDcimDeviceTypesToSoftwareImageFilesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiDcimDeviceTypesToSoftwareImageFilesListRequest) IdNre(idNre []string) ApiDcimDeviceTypesToSoftwareImageFilesListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiDcimDeviceTypesToSoftwareImageFilesListRequest) IdRe(idRe []string) ApiDcimDeviceTypesToSoftwareImageFilesListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiDcimDeviceTypesToSoftwareImageFilesListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimDeviceTypesToSoftwareImageFilesListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -38092,6 +35396,12 @@ func (r ApiDcimDeviceTypesToSoftwareImageFilesListRequest) Depth(depth int32) Ap
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimDeviceTypesToSoftwareImageFilesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimDeviceTypesToSoftwareImageFilesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimDeviceTypesToSoftwareImageFilesListRequest) Execute() (*PaginatedDeviceTypeToSoftwareImageFileList, *http.Response, error) {
return r.ApiService.DcimDeviceTypesToSoftwareImageFilesListExecute(r)
}
@@ -38237,61 +35547,6 @@ func (a *DcimAPIService) DcimDeviceTypesToSoftwareImageFilesListExecute(r ApiDci
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -38303,83 +35558,6 @@ func (a *DcimAPIService) DcimDeviceTypesToSoftwareImageFilesListExecute(r ApiDci
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -38486,8 +35664,16 @@ func (a *DcimAPIService) DcimDeviceTypesToSoftwareImageFilesListExecute(r ApiDci
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -38697,6 +35883,7 @@ type ApiDcimDeviceTypesToSoftwareImageFilesRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimDeviceTypesToSoftwareImageFilesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimDeviceTypesToSoftwareImageFilesRetrieveRequest {
@@ -38710,6 +35897,12 @@ func (r ApiDcimDeviceTypesToSoftwareImageFilesRetrieveRequest) Depth(depth int32
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimDeviceTypesToSoftwareImageFilesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimDeviceTypesToSoftwareImageFilesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimDeviceTypesToSoftwareImageFilesRetrieveRequest) Execute() (*DeviceTypeToSoftwareImageFile, *http.Response, error) {
return r.ApiService.DcimDeviceTypesToSoftwareImageFilesRetrieveExecute(r)
}
@@ -38759,8 +35952,16 @@ func (a *DcimAPIService) DcimDeviceTypesToSoftwareImageFilesRetrieveExecute(r Ap
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -39035,7 +36236,7 @@ func (a *DcimAPIService) DcimDeviceTypesUpdateExecute(r ApiDcimDeviceTypesUpdate
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+ localVarHTTPContentTypes := []string{"application/json", "text/csv", "multipart/form-data"}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -39769,7 +36970,9 @@ type ApiDcimDevicesListRequest struct {
consoleServerPortsN *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
+ controller *[]string
+ controllerN *[]string
controllerManagedDeviceGroup *[]string
controllerManagedDeviceGroupIsnull *bool
controllerManagedDeviceGroupN *[]string
@@ -39799,7 +37002,7 @@ type ApiDcimDevicesListRequest struct {
deviceType *[]string
deviceTypeN *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
face *[]string
faceIc *[]string
faceIe *[]string
@@ -39824,31 +37027,23 @@ type ApiDcimDevicesListRequest struct {
hasEmptyModuleBays *bool
hasFrontPorts *bool
hasInterfaces *bool
+ hasIpAddresses *bool
hasModuleBays *bool
hasModules *bool
hasPowerOutlets *bool
hasPowerPorts *bool
hasPrimaryIp *bool
+ hasRadioProfiles *bool
hasRearPorts *bool
hasSoftwareImageFiles *bool
hasSoftwareVersion *bool
+ hasWirelessNetworks *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
interfaces *[]string
interfacesIsnull *bool
interfacesN *[]string
+ ipAddresses *[]string
isFullDepth *bool
isVirtualChassisMember *bool
lastUpdated *[]time.Time
@@ -39926,15 +37121,30 @@ type ApiDcimDevicesListRequest struct {
rackGroup *[]string
rackGroupIsnull *bool
rackGroupN *[]string
+ radioProfiles *[]string
+ radioProfilesN *[]string
rearPorts *[]string
rearPortsIsnull *bool
rearPortsN *[]string
role *[]string
- roleN *string
+ roleN *[]string
secretsGroup *[]string
secretsGroupIsnull *bool
secretsGroupN *[]string
serial *[]string
+ serialIc *[]string
+ serialIe *[]string
+ serialIew *[]string
+ serialIre *[]string
+ serialIsw *[]string
+ serialN *[]string
+ serialNic *[]string
+ serialNie *[]string
+ serialNiew *[]string
+ serialNire *[]string
+ serialNisw *[]string
+ serialNre *[]string
+ serialRe *[]string
softwareImageFiles *[]string
softwareImageFilesN *[]string
softwareVersion *[]string
@@ -39942,13 +37152,13 @@ type ApiDcimDevicesListRequest struct {
softwareVersionN *[]string
sort *string
status *[]string
- statusN *string
+ statusN *[]string
tags *[]string
tagsIsnull *bool
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
tenant *[]string
tenantIsnull *bool
tenantN *[]string
@@ -39976,7 +37186,10 @@ type ApiDcimDevicesListRequest struct {
virtualChassisIsnull *bool
virtualChassisN *[]string
virtualChassisMember *bool
+ wirelessNetworks *[]string
+ wirelessNetworksN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimDevicesListRequest) AssetTag(assetTag []string) ApiDcimDevicesListRequest {
@@ -40113,12 +37326,21 @@ func (r ApiDcimDevicesListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimDe
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimDevicesListRequest) ContactsN(contactsN string) ApiDcimDevicesListRequest {
+func (r ApiDcimDevicesListRequest) ContactsN(contactsN []string) ApiDcimDevicesListRequest {
r.contactsN = &contactsN
return r
}
+func (r ApiDcimDevicesListRequest) Controller(controller []string) ApiDcimDevicesListRequest {
+ r.controller = &controller
+ return r
+}
+
+func (r ApiDcimDevicesListRequest) ControllerN(controllerN []string) ApiDcimDevicesListRequest {
+ r.controllerN = &controllerN
+ return r
+}
+
func (r ApiDcimDevicesListRequest) ControllerManagedDeviceGroup(controllerManagedDeviceGroup []string) ApiDcimDevicesListRequest {
r.controllerManagedDeviceGroup = &controllerManagedDeviceGroup
return r
@@ -40270,8 +37492,7 @@ func (r ApiDcimDevicesListRequest) DynamicGroups(dynamicGroups []string) ApiDcim
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimDevicesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimDevicesListRequest {
+func (r ApiDcimDevicesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimDevicesListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -40403,6 +37624,12 @@ func (r ApiDcimDevicesListRequest) HasInterfaces(hasInterfaces bool) ApiDcimDevi
return r
}
+// Has IP addresses
+func (r ApiDcimDevicesListRequest) HasIpAddresses(hasIpAddresses bool) ApiDcimDevicesListRequest {
+ r.hasIpAddresses = &hasIpAddresses
+ return r
+}
+
// Has module bays
func (r ApiDcimDevicesListRequest) HasModuleBays(hasModuleBays bool) ApiDcimDevicesListRequest {
r.hasModuleBays = &hasModuleBays
@@ -40433,6 +37660,12 @@ func (r ApiDcimDevicesListRequest) HasPrimaryIp(hasPrimaryIp bool) ApiDcimDevice
return r
}
+// Has radio profiles
+func (r ApiDcimDevicesListRequest) HasRadioProfiles(hasRadioProfiles bool) ApiDcimDevicesListRequest {
+ r.hasRadioProfiles = &hasRadioProfiles
+ return r
+}
+
// Has rear ports
func (r ApiDcimDevicesListRequest) HasRearPorts(hasRearPorts bool) ApiDcimDevicesListRequest {
r.hasRearPorts = &hasRearPorts
@@ -40451,34 +37684,15 @@ func (r ApiDcimDevicesListRequest) HasSoftwareVersion(hasSoftwareVersion bool) A
return r
}
-// Unique object identifier, either a UUID primary key or a composite key.
-func (r ApiDcimDevicesListRequest) Id(id []string) ApiDcimDevicesListRequest {
- r.id = &id
- return r
-}
-
-func (r ApiDcimDevicesListRequest) IdIc(idIc []string) ApiDcimDevicesListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiDcimDevicesListRequest) IdIe(idIe []string) ApiDcimDevicesListRequest {
- r.idIe = &idIe
+// Has wireless networks
+func (r ApiDcimDevicesListRequest) HasWirelessNetworks(hasWirelessNetworks bool) ApiDcimDevicesListRequest {
+ r.hasWirelessNetworks = &hasWirelessNetworks
return r
}
-func (r ApiDcimDevicesListRequest) IdIew(idIew []string) ApiDcimDevicesListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiDcimDevicesListRequest) IdIre(idIre []string) ApiDcimDevicesListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiDcimDevicesListRequest) IdIsw(idIsw []string) ApiDcimDevicesListRequest {
- r.idIsw = &idIsw
+// Unique object identifier, either a UUID primary key or a composite key.
+func (r ApiDcimDevicesListRequest) Id(id []string) ApiDcimDevicesListRequest {
+ r.id = &id
return r
}
@@ -40487,41 +37701,6 @@ func (r ApiDcimDevicesListRequest) IdN(idN []string) ApiDcimDevicesListRequest {
return r
}
-func (r ApiDcimDevicesListRequest) IdNic(idNic []string) ApiDcimDevicesListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiDcimDevicesListRequest) IdNie(idNie []string) ApiDcimDevicesListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiDcimDevicesListRequest) IdNiew(idNiew []string) ApiDcimDevicesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiDcimDevicesListRequest) IdNire(idNire []string) ApiDcimDevicesListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiDcimDevicesListRequest) IdNisw(idNisw []string) ApiDcimDevicesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiDcimDevicesListRequest) IdNre(idNre []string) ApiDcimDevicesListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiDcimDevicesListRequest) IdRe(idRe []string) ApiDcimDevicesListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiDcimDevicesListRequest) Interfaces(interfaces []string) ApiDcimDevicesListRequest {
r.interfaces = &interfaces
return r
@@ -40538,6 +37717,12 @@ func (r ApiDcimDevicesListRequest) InterfacesN(interfacesN []string) ApiDcimDevi
return r
}
+// IP addresses (address or ID)
+func (r ApiDcimDevicesListRequest) IpAddresses(ipAddresses []string) ApiDcimDevicesListRequest {
+ r.ipAddresses = &ipAddresses
+ return r
+}
+
// Is full depth
func (r ApiDcimDevicesListRequest) IsFullDepth(isFullDepth bool) ApiDcimDevicesListRequest {
r.isFullDepth = &isFullDepth
@@ -40955,6 +38140,16 @@ func (r ApiDcimDevicesListRequest) RackGroupN(rackGroupN []string) ApiDcimDevice
return r
}
+func (r ApiDcimDevicesListRequest) RadioProfiles(radioProfiles []string) ApiDcimDevicesListRequest {
+ r.radioProfiles = &radioProfiles
+ return r
+}
+
+func (r ApiDcimDevicesListRequest) RadioProfilesN(radioProfilesN []string) ApiDcimDevicesListRequest {
+ r.radioProfilesN = &radioProfilesN
+ return r
+}
+
func (r ApiDcimDevicesListRequest) RearPorts(rearPorts []string) ApiDcimDevicesListRequest {
r.rearPorts = &rearPorts
return r
@@ -40976,8 +38171,7 @@ func (r ApiDcimDevicesListRequest) Role(role []string) ApiDcimDevicesListRequest
return r
}
-// Exclude Role (name or ID)
-func (r ApiDcimDevicesListRequest) RoleN(roleN string) ApiDcimDevicesListRequest {
+func (r ApiDcimDevicesListRequest) RoleN(roleN []string) ApiDcimDevicesListRequest {
r.roleN = &roleN
return r
}
@@ -41003,6 +38197,71 @@ func (r ApiDcimDevicesListRequest) Serial(serial []string) ApiDcimDevicesListReq
return r
}
+func (r ApiDcimDevicesListRequest) SerialIc(serialIc []string) ApiDcimDevicesListRequest {
+ r.serialIc = &serialIc
+ return r
+}
+
+func (r ApiDcimDevicesListRequest) SerialIe(serialIe []string) ApiDcimDevicesListRequest {
+ r.serialIe = &serialIe
+ return r
+}
+
+func (r ApiDcimDevicesListRequest) SerialIew(serialIew []string) ApiDcimDevicesListRequest {
+ r.serialIew = &serialIew
+ return r
+}
+
+func (r ApiDcimDevicesListRequest) SerialIre(serialIre []string) ApiDcimDevicesListRequest {
+ r.serialIre = &serialIre
+ return r
+}
+
+func (r ApiDcimDevicesListRequest) SerialIsw(serialIsw []string) ApiDcimDevicesListRequest {
+ r.serialIsw = &serialIsw
+ return r
+}
+
+func (r ApiDcimDevicesListRequest) SerialN(serialN []string) ApiDcimDevicesListRequest {
+ r.serialN = &serialN
+ return r
+}
+
+func (r ApiDcimDevicesListRequest) SerialNic(serialNic []string) ApiDcimDevicesListRequest {
+ r.serialNic = &serialNic
+ return r
+}
+
+func (r ApiDcimDevicesListRequest) SerialNie(serialNie []string) ApiDcimDevicesListRequest {
+ r.serialNie = &serialNie
+ return r
+}
+
+func (r ApiDcimDevicesListRequest) SerialNiew(serialNiew []string) ApiDcimDevicesListRequest {
+ r.serialNiew = &serialNiew
+ return r
+}
+
+func (r ApiDcimDevicesListRequest) SerialNire(serialNire []string) ApiDcimDevicesListRequest {
+ r.serialNire = &serialNire
+ return r
+}
+
+func (r ApiDcimDevicesListRequest) SerialNisw(serialNisw []string) ApiDcimDevicesListRequest {
+ r.serialNisw = &serialNisw
+ return r
+}
+
+func (r ApiDcimDevicesListRequest) SerialNre(serialNre []string) ApiDcimDevicesListRequest {
+ r.serialNre = &serialNre
+ return r
+}
+
+func (r ApiDcimDevicesListRequest) SerialRe(serialRe []string) ApiDcimDevicesListRequest {
+ r.serialRe = &serialRe
+ return r
+}
+
func (r ApiDcimDevicesListRequest) SoftwareImageFiles(softwareImageFiles []string) ApiDcimDevicesListRequest {
r.softwareImageFiles = &softwareImageFiles
return r
@@ -41040,8 +38299,7 @@ func (r ApiDcimDevicesListRequest) Status(status []string) ApiDcimDevicesListReq
return r
}
-// Exclude Status (name or ID)
-func (r ApiDcimDevicesListRequest) StatusN(statusN string) ApiDcimDevicesListRequest {
+func (r ApiDcimDevicesListRequest) StatusN(statusN []string) ApiDcimDevicesListRequest {
r.statusN = &statusN
return r
}
@@ -41072,8 +38330,7 @@ func (r ApiDcimDevicesListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimDevicesL
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimDevicesListRequest) TeamsN(teamsN string) ApiDcimDevicesListRequest {
+func (r ApiDcimDevicesListRequest) TeamsN(teamsN []string) ApiDcimDevicesListRequest {
r.teamsN = &teamsN
return r
}
@@ -41220,12 +38477,28 @@ func (r ApiDcimDevicesListRequest) VirtualChassisMember(virtualChassisMember boo
return r
}
+func (r ApiDcimDevicesListRequest) WirelessNetworks(wirelessNetworks []string) ApiDcimDevicesListRequest {
+ r.wirelessNetworks = &wirelessNetworks
+ return r
+}
+
+func (r ApiDcimDevicesListRequest) WirelessNetworksN(wirelessNetworksN []string) ApiDcimDevicesListRequest {
+ r.wirelessNetworksN = &wirelessNetworksN
+ return r
+}
+
// Serializer Depth
func (r ApiDcimDevicesListRequest) Depth(depth int32) ApiDcimDevicesListRequest {
r.depth = &depth
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimDevicesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimDevicesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimDevicesListRequest) Execute() (*PaginatedDeviceList, *http.Response, error) {
return r.ApiService.DcimDevicesListExecute(r)
}
@@ -41513,7 +38786,37 @@ func (a *DcimAPIService) DcimDevicesListExecute(r ApiDcimDevicesListRequest) (*P
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
+ }
+ if r.controller != nil {
+ t := *r.controller
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "controller", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "controller", t, "form", "multi")
+ }
+ }
+ if r.controllerN != nil {
+ t := *r.controllerN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "controller__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "controller__n", t, "form", "multi")
+ }
}
if r.controllerManagedDeviceGroup != nil {
t := *r.controllerManagedDeviceGroup
@@ -41787,7 +39090,15 @@ func (a *DcimAPIService) DcimDevicesListExecute(r ApiDcimDevicesListRequest) (*P
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.face != nil {
t := *r.face
@@ -41989,6 +39300,9 @@ func (a *DcimAPIService) DcimDevicesListExecute(r ApiDcimDevicesListRequest) (*P
if r.hasInterfaces != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "has_interfaces", r.hasInterfaces, "form", "")
}
+ if r.hasIpAddresses != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_ip_addresses", r.hasIpAddresses, "form", "")
+ }
if r.hasModuleBays != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "has_module_bays", r.hasModuleBays, "form", "")
}
@@ -42004,6 +39318,9 @@ func (a *DcimAPIService) DcimDevicesListExecute(r ApiDcimDevicesListRequest) (*P
if r.hasPrimaryIp != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "has_primary_ip", r.hasPrimaryIp, "form", "")
}
+ if r.hasRadioProfiles != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_radio_profiles", r.hasRadioProfiles, "form", "")
+ }
if r.hasRearPorts != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "has_rear_ports", r.hasRearPorts, "form", "")
}
@@ -42013,6 +39330,9 @@ func (a *DcimAPIService) DcimDevicesListExecute(r ApiDcimDevicesListRequest) (*P
if r.hasSoftwareVersion != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "has_software_version", r.hasSoftwareVersion, "form", "")
}
+ if r.hasWirelessNetworks != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_wireless_networks", r.hasWirelessNetworks, "form", "")
+ }
if r.id != nil {
t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -42024,61 +39344,6 @@ func (a *DcimAPIService) DcimDevicesListExecute(r ApiDcimDevicesListRequest) (*P
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -42090,83 +39355,6 @@ func (a *DcimAPIService) DcimDevicesListExecute(r ApiDcimDevicesListRequest) (*P
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.interfaces != nil {
t := *r.interfaces
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -42192,6 +39380,17 @@ func (a *DcimAPIService) DcimDevicesListExecute(r ApiDcimDevicesListRequest) (*P
parameterAddToHeaderOrQuery(localVarQueryParams, "interfaces__n", t, "form", "multi")
}
}
+ if r.ipAddresses != nil {
+ t := *r.ipAddresses
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ip_addresses", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ip_addresses", t, "form", "multi")
+ }
+ }
if r.isFullDepth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "is_full_depth", r.isFullDepth, "form", "")
}
@@ -42903,6 +40102,28 @@ func (a *DcimAPIService) DcimDevicesListExecute(r ApiDcimDevicesListRequest) (*P
parameterAddToHeaderOrQuery(localVarQueryParams, "rack_group__n", t, "form", "multi")
}
}
+ if r.radioProfiles != nil {
+ t := *r.radioProfiles
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "radio_profiles", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "radio_profiles", t, "form", "multi")
+ }
+ }
+ if r.radioProfilesN != nil {
+ t := *r.radioProfilesN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "radio_profiles__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "radio_profiles__n", t, "form", "multi")
+ }
+ }
if r.rearPorts != nil {
t := *r.rearPorts
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -42940,7 +40161,15 @@ func (a *DcimAPIService) DcimDevicesListExecute(r ApiDcimDevicesListRequest) (*P
}
}
if r.roleN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", r.roleN, "form", "")
+ t := *r.roleN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", t, "form", "multi")
+ }
}
if r.secretsGroup != nil {
t := *r.secretsGroup
@@ -42978,6 +40207,149 @@ func (a *DcimAPIService) DcimDevicesListExecute(r ApiDcimDevicesListRequest) (*P
parameterAddToHeaderOrQuery(localVarQueryParams, "serial", t, "form", "multi")
}
}
+ if r.serialIc != nil {
+ t := *r.serialIc
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ic", t, "form", "multi")
+ }
+ }
+ if r.serialIe != nil {
+ t := *r.serialIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ie", t, "form", "multi")
+ }
+ }
+ if r.serialIew != nil {
+ t := *r.serialIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__iew", t, "form", "multi")
+ }
+ }
+ if r.serialIre != nil {
+ t := *r.serialIre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ire", t, "form", "multi")
+ }
+ }
+ if r.serialIsw != nil {
+ t := *r.serialIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__isw", t, "form", "multi")
+ }
+ }
+ if r.serialN != nil {
+ t := *r.serialN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__n", t, "form", "multi")
+ }
+ }
+ if r.serialNic != nil {
+ t := *r.serialNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nic", t, "form", "multi")
+ }
+ }
+ if r.serialNie != nil {
+ t := *r.serialNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nie", t, "form", "multi")
+ }
+ }
+ if r.serialNiew != nil {
+ t := *r.serialNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__niew", t, "form", "multi")
+ }
+ }
+ if r.serialNire != nil {
+ t := *r.serialNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nire", t, "form", "multi")
+ }
+ }
+ if r.serialNisw != nil {
+ t := *r.serialNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nisw", t, "form", "multi")
+ }
+ }
+ if r.serialNre != nil {
+ t := *r.serialNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nre", t, "form", "multi")
+ }
+ }
+ if r.serialRe != nil {
+ t := *r.serialRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__re", t, "form", "multi")
+ }
+ }
if r.softwareImageFiles != nil {
t := *r.softwareImageFiles
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -43040,7 +40412,15 @@ func (a *DcimAPIService) DcimDevicesListExecute(r ApiDcimDevicesListRequest) (*P
}
}
if r.statusN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", r.statusN, "form", "")
+ t := *r.statusN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "form", "multi")
+ }
}
if r.tags != nil {
t := *r.tags
@@ -43082,7 +40462,15 @@ func (a *DcimAPIService) DcimDevicesListExecute(r ApiDcimDevicesListRequest) (*P
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.tenant != nil {
t := *r.tenant
@@ -43325,11 +40713,41 @@ func (a *DcimAPIService) DcimDevicesListExecute(r ApiDcimDevicesListRequest) (*P
if r.virtualChassisMember != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_chassis_member", r.virtualChassisMember, "form", "")
}
+ if r.wirelessNetworks != nil {
+ t := *r.wirelessNetworks
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "wireless_networks", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "wireless_networks", t, "form", "multi")
+ }
+ }
+ if r.wirelessNetworksN != nil {
+ t := *r.wirelessNetworksN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "wireless_networks__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "wireless_networks__n", t, "form", "multi")
+ }
+ }
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -43406,6 +40824,7 @@ type ApiDcimDevicesNapalmRetrieveRequest struct {
method *string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimDevicesNapalmRetrieveRequest) Method(method string) ApiDcimDevicesNapalmRetrieveRequest {
@@ -43424,6 +40843,12 @@ func (r ApiDcimDevicesNapalmRetrieveRequest) Depth(depth int32) ApiDcimDevicesNa
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimDevicesNapalmRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimDevicesNapalmRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimDevicesNapalmRetrieveRequest) Execute() (*DeviceNAPALM, *http.Response, error) {
return r.ApiService.DcimDevicesNapalmRetrieveExecute(r)
}
@@ -43477,8 +40902,16 @@ func (a *DcimAPIService) DcimDevicesNapalmRetrieveExecute(r ApiDcimDevicesNapalm
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -43693,6 +41126,7 @@ type ApiDcimDevicesNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimDevicesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimDevicesNotesListRequest {
@@ -43718,6 +41152,12 @@ func (r ApiDcimDevicesNotesListRequest) Depth(depth int32) ApiDcimDevicesNotesLi
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimDevicesNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimDevicesNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimDevicesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.DcimDevicesNotesListExecute(r)
}
@@ -43773,8 +41213,16 @@ func (a *DcimAPIService) DcimDevicesNotesListExecute(r ApiDcimDevicesNotesListRe
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -43984,6 +41432,7 @@ type ApiDcimDevicesRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimDevicesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimDevicesRetrieveRequest {
@@ -43997,6 +41446,12 @@ func (r ApiDcimDevicesRetrieveRequest) Depth(depth int32) ApiDcimDevicesRetrieve
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimDevicesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimDevicesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimDevicesRetrieveRequest) Execute() (*Device, *http.Response, error) {
return r.ApiService.DcimDevicesRetrieveExecute(r)
}
@@ -44046,8 +41501,16 @@ func (a *DcimAPIService) DcimDevicesRetrieveExecute(r ApiDcimDevicesRetrieveRequ
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -44895,7 +42358,7 @@ type ApiDcimFrontPortTemplatesListRequest struct {
ApiService *DcimAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
description *[]string
descriptionIc *[]string
descriptionIe *[]string
@@ -44914,24 +42377,12 @@ type ApiDcimFrontPortTemplatesListRequest struct {
deviceTypeIsnull *bool
deviceTypeN *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
hasDeviceType *bool
hasModuleType *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
label *[]string
labelIc *[]string
labelIe *[]string
@@ -44977,7 +42428,7 @@ type ApiDcimFrontPortTemplatesListRequest struct {
sort *string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
type_ *[]string
typeIc *[]string
typeIe *[]string
@@ -44993,6 +42444,7 @@ type ApiDcimFrontPortTemplatesListRequest struct {
typeNre *[]string
typeRe *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimFrontPortTemplatesListRequest) Contacts(contacts []string) ApiDcimFrontPortTemplatesListRequest {
@@ -45006,8 +42458,7 @@ func (r ApiDcimFrontPortTemplatesListRequest) ContactsIsnull(contactsIsnull bool
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimFrontPortTemplatesListRequest) ContactsN(contactsN string) ApiDcimFrontPortTemplatesListRequest {
+func (r ApiDcimFrontPortTemplatesListRequest) ContactsN(contactsN []string) ApiDcimFrontPortTemplatesListRequest {
r.contactsN = &contactsN
return r
}
@@ -45117,8 +42568,7 @@ func (r ApiDcimFrontPortTemplatesListRequest) DynamicGroups(dynamicGroups []stri
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimFrontPortTemplatesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimFrontPortTemplatesListRequest {
+func (r ApiDcimFrontPortTemplatesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimFrontPortTemplatesListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -45146,84 +42596,12 @@ func (r ApiDcimFrontPortTemplatesListRequest) Id(id []string) ApiDcimFrontPortTe
return r
}
-// ID contains
-func (r ApiDcimFrontPortTemplatesListRequest) IdIc(idIc []string) ApiDcimFrontPortTemplatesListRequest {
- r.idIc = &idIc
- return r
-}
-
-// ID
-func (r ApiDcimFrontPortTemplatesListRequest) IdIe(idIe []string) ApiDcimFrontPortTemplatesListRequest {
- r.idIe = &idIe
- return r
-}
-
-// ID ends with
-func (r ApiDcimFrontPortTemplatesListRequest) IdIew(idIew []string) ApiDcimFrontPortTemplatesListRequest {
- r.idIew = &idIew
- return r
-}
-
-// ID matches regex
-func (r ApiDcimFrontPortTemplatesListRequest) IdIre(idIre []string) ApiDcimFrontPortTemplatesListRequest {
- r.idIre = &idIre
- return r
-}
-
-// ID starts with
-func (r ApiDcimFrontPortTemplatesListRequest) IdIsw(idIsw []string) ApiDcimFrontPortTemplatesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
// Exclude ID
func (r ApiDcimFrontPortTemplatesListRequest) IdN(idN []string) ApiDcimFrontPortTemplatesListRequest {
r.idN = &idN
return r
}
-// Exclude ID contains
-func (r ApiDcimFrontPortTemplatesListRequest) IdNic(idNic []string) ApiDcimFrontPortTemplatesListRequest {
- r.idNic = &idNic
- return r
-}
-
-// Exclude ID
-func (r ApiDcimFrontPortTemplatesListRequest) IdNie(idNie []string) ApiDcimFrontPortTemplatesListRequest {
- r.idNie = &idNie
- return r
-}
-
-// Exclude ID ends with
-func (r ApiDcimFrontPortTemplatesListRequest) IdNiew(idNiew []string) ApiDcimFrontPortTemplatesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-// Exclude ID matches regex
-func (r ApiDcimFrontPortTemplatesListRequest) IdNire(idNire []string) ApiDcimFrontPortTemplatesListRequest {
- r.idNire = &idNire
- return r
-}
-
-// Exclude ID starts with
-func (r ApiDcimFrontPortTemplatesListRequest) IdNisw(idNisw []string) ApiDcimFrontPortTemplatesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-// Exclude ID matches regex
-func (r ApiDcimFrontPortTemplatesListRequest) IdNre(idNre []string) ApiDcimFrontPortTemplatesListRequest {
- r.idNre = &idNre
- return r
-}
-
-// ID matches regex
-func (r ApiDcimFrontPortTemplatesListRequest) IdRe(idRe []string) ApiDcimFrontPortTemplatesListRequest {
- r.idRe = &idRe
- return r
-}
-
// Label
func (r ApiDcimFrontPortTemplatesListRequest) Label(label []string) ApiDcimFrontPortTemplatesListRequest {
r.label = &label
@@ -45485,8 +42863,7 @@ func (r ApiDcimFrontPortTemplatesListRequest) TeamsIsnull(teamsIsnull bool) ApiD
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimFrontPortTemplatesListRequest) TeamsN(teamsN string) ApiDcimFrontPortTemplatesListRequest {
+func (r ApiDcimFrontPortTemplatesListRequest) TeamsN(teamsN []string) ApiDcimFrontPortTemplatesListRequest {
r.teamsN = &teamsN
return r
}
@@ -45567,6 +42944,12 @@ func (r ApiDcimFrontPortTemplatesListRequest) Depth(depth int32) ApiDcimFrontPor
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimFrontPortTemplatesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimFrontPortTemplatesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimFrontPortTemplatesListRequest) Execute() (*PaginatedFrontPortTemplateList, *http.Response, error) {
return r.ApiService.DcimFrontPortTemplatesListExecute(r)
}
@@ -45622,7 +43005,15 @@ func (a *DcimAPIService) DcimFrontPortTemplatesListExecute(r ApiDcimFrontPortTem
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.description != nil {
t := *r.description
@@ -45815,7 +43206,15 @@ func (a *DcimAPIService) DcimFrontPortTemplatesListExecute(r ApiDcimFrontPortTem
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -45837,61 +43236,6 @@ func (a *DcimAPIService) DcimFrontPortTemplatesListExecute(r ApiDcimFrontPortTem
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -45903,83 +43247,6 @@ func (a *DcimAPIService) DcimFrontPortTemplatesListExecute(r ApiDcimFrontPortTem
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.label != nil {
t := *r.label
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -46428,7 +43695,15 @@ func (a *DcimAPIService) DcimFrontPortTemplatesListExecute(r ApiDcimFrontPortTem
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.type_ != nil {
t := *r.type_
@@ -46587,8 +43862,16 @@ func (a *DcimAPIService) DcimFrontPortTemplatesListExecute(r ApiDcimFrontPortTem
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -46658,39 +43941,39 @@ func (a *DcimAPIService) DcimFrontPortTemplatesListExecute(r ApiDcimFrontPortTem
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimFrontPortTemplatesNotesCreateRequest struct {
+type ApiDcimFrontPortTemplatesPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
- noteInputRequest *NoteInputRequest
format *CircuitsCircuitTerminationsListFormatParameter
+ patchedWritableFrontPortTemplateRequest *PatchedWritableFrontPortTemplateRequest
}
-func (r ApiDcimFrontPortTemplatesNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimFrontPortTemplatesNotesCreateRequest {
- r.noteInputRequest = ¬eInputRequest
+func (r ApiDcimFrontPortTemplatesPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimFrontPortTemplatesPartialUpdateRequest {
+ r.format = &format
return r
}
-func (r ApiDcimFrontPortTemplatesNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimFrontPortTemplatesNotesCreateRequest {
- r.format = &format
+func (r ApiDcimFrontPortTemplatesPartialUpdateRequest) PatchedWritableFrontPortTemplateRequest(patchedWritableFrontPortTemplateRequest PatchedWritableFrontPortTemplateRequest) ApiDcimFrontPortTemplatesPartialUpdateRequest {
+ r.patchedWritableFrontPortTemplateRequest = &patchedWritableFrontPortTemplateRequest
return r
}
-func (r ApiDcimFrontPortTemplatesNotesCreateRequest) Execute() (*Note, *http.Response, error) {
- return r.ApiService.DcimFrontPortTemplatesNotesCreateExecute(r)
+func (r ApiDcimFrontPortTemplatesPartialUpdateRequest) Execute() (*FrontPortTemplate, *http.Response, error) {
+ return r.ApiService.DcimFrontPortTemplatesPartialUpdateExecute(r)
}
/*
-DcimFrontPortTemplatesNotesCreate Method for DcimFrontPortTemplatesNotesCreate
+DcimFrontPortTemplatesPartialUpdate Method for DcimFrontPortTemplatesPartialUpdate
-API methods for returning or creating notes on an object.
+Partial update a front port template object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id A UUID string identifying this front port template.
- @return ApiDcimFrontPortTemplatesNotesCreateRequest
+ @return ApiDcimFrontPortTemplatesPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimFrontPortTemplatesNotesCreate(ctx context.Context, id string) ApiDcimFrontPortTemplatesNotesCreateRequest {
- return ApiDcimFrontPortTemplatesNotesCreateRequest{
+func (a *DcimAPIService) DcimFrontPortTemplatesPartialUpdate(ctx context.Context, id string) ApiDcimFrontPortTemplatesPartialUpdateRequest {
+ return ApiDcimFrontPortTemplatesPartialUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -46698,29 +43981,26 @@ func (a *DcimAPIService) DcimFrontPortTemplatesNotesCreate(ctx context.Context,
}
// Execute executes the request
-// @return Note
-func (a *DcimAPIService) DcimFrontPortTemplatesNotesCreateExecute(r ApiDcimFrontPortTemplatesNotesCreateRequest) (*Note, *http.Response, error) {
+// @return FrontPortTemplate
+func (a *DcimAPIService) DcimFrontPortTemplatesPartialUpdateExecute(r ApiDcimFrontPortTemplatesPartialUpdateRequest) (*FrontPortTemplate, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPost
+ localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *Note
+ localVarReturnValue *FrontPortTemplate
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimFrontPortTemplatesNotesCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimFrontPortTemplatesPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/front-port-templates/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/front-port-templates/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.noteInputRequest == nil {
- return localVarReturnValue, nil, reportError("noteInputRequest is required and must be specified")
- }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -46743,7 +44023,7 @@ func (a *DcimAPIService) DcimFrontPortTemplatesNotesCreateExecute(r ApiDcimFront
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.noteInputRequest
+ localVarPostBody = r.patchedWritableFrontPortTemplateRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -46795,54 +44075,47 @@ func (a *DcimAPIService) DcimFrontPortTemplatesNotesCreateExecute(r ApiDcimFront
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimFrontPortTemplatesNotesListRequest struct {
+type ApiDcimFrontPortTemplatesRetrieveRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
- limit *int32
- offset *int32
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimFrontPortTemplatesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimFrontPortTemplatesNotesListRequest {
+func (r ApiDcimFrontPortTemplatesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimFrontPortTemplatesRetrieveRequest {
r.format = &format
return r
}
-// Number of results to return per page.
-func (r ApiDcimFrontPortTemplatesNotesListRequest) Limit(limit int32) ApiDcimFrontPortTemplatesNotesListRequest {
- r.limit = &limit
- return r
-}
-
-// The initial index from which to return the results.
-func (r ApiDcimFrontPortTemplatesNotesListRequest) Offset(offset int32) ApiDcimFrontPortTemplatesNotesListRequest {
- r.offset = &offset
+// Serializer Depth
+func (r ApiDcimFrontPortTemplatesRetrieveRequest) Depth(depth int32) ApiDcimFrontPortTemplatesRetrieveRequest {
+ r.depth = &depth
return r
}
-// Serializer Depth
-func (r ApiDcimFrontPortTemplatesNotesListRequest) Depth(depth int32) ApiDcimFrontPortTemplatesNotesListRequest {
- r.depth = &depth
+// Exclude many-to-many fields from the response
+func (r ApiDcimFrontPortTemplatesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimFrontPortTemplatesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
return r
}
-func (r ApiDcimFrontPortTemplatesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
- return r.ApiService.DcimFrontPortTemplatesNotesListExecute(r)
+func (r ApiDcimFrontPortTemplatesRetrieveRequest) Execute() (*FrontPortTemplate, *http.Response, error) {
+ return r.ApiService.DcimFrontPortTemplatesRetrieveExecute(r)
}
/*
-DcimFrontPortTemplatesNotesList Method for DcimFrontPortTemplatesNotesList
+DcimFrontPortTemplatesRetrieve Method for DcimFrontPortTemplatesRetrieve
-API methods for returning or creating notes on an object.
+Retrieve a front port template object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id A UUID string identifying this front port template.
- @return ApiDcimFrontPortTemplatesNotesListRequest
+ @return ApiDcimFrontPortTemplatesRetrieveRequest
*/
-func (a *DcimAPIService) DcimFrontPortTemplatesNotesList(ctx context.Context, id string) ApiDcimFrontPortTemplatesNotesListRequest {
- return ApiDcimFrontPortTemplatesNotesListRequest{
+func (a *DcimAPIService) DcimFrontPortTemplatesRetrieve(ctx context.Context, id string) ApiDcimFrontPortTemplatesRetrieveRequest {
+ return ApiDcimFrontPortTemplatesRetrieveRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -46850,21 +44123,21 @@ func (a *DcimAPIService) DcimFrontPortTemplatesNotesList(ctx context.Context, id
}
// Execute executes the request
-// @return PaginatedNoteList
-func (a *DcimAPIService) DcimFrontPortTemplatesNotesListExecute(r ApiDcimFrontPortTemplatesNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
+// @return FrontPortTemplate
+func (a *DcimAPIService) DcimFrontPortTemplatesRetrieveExecute(r ApiDcimFrontPortTemplatesRetrieveRequest) (*FrontPortTemplate, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PaginatedNoteList
+ localVarReturnValue *FrontPortTemplate
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimFrontPortTemplatesNotesList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimFrontPortTemplatesRetrieve")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/front-port-templates/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/front-port-templates/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -46874,17 +44147,19 @@ func (a *DcimAPIService) DcimFrontPortTemplatesNotesListExecute(r ApiDcimFrontPo
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
- }
- if r.offset != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
- }
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -46954,39 +44229,39 @@ func (a *DcimAPIService) DcimFrontPortTemplatesNotesListExecute(r ApiDcimFrontPo
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimFrontPortTemplatesPartialUpdateRequest struct {
+type ApiDcimFrontPortTemplatesUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
+ writableFrontPortTemplateRequest *WritableFrontPortTemplateRequest
format *CircuitsCircuitTerminationsListFormatParameter
- patchedWritableFrontPortTemplateRequest *PatchedWritableFrontPortTemplateRequest
}
-func (r ApiDcimFrontPortTemplatesPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimFrontPortTemplatesPartialUpdateRequest {
- r.format = &format
+func (r ApiDcimFrontPortTemplatesUpdateRequest) WritableFrontPortTemplateRequest(writableFrontPortTemplateRequest WritableFrontPortTemplateRequest) ApiDcimFrontPortTemplatesUpdateRequest {
+ r.writableFrontPortTemplateRequest = &writableFrontPortTemplateRequest
return r
}
-func (r ApiDcimFrontPortTemplatesPartialUpdateRequest) PatchedWritableFrontPortTemplateRequest(patchedWritableFrontPortTemplateRequest PatchedWritableFrontPortTemplateRequest) ApiDcimFrontPortTemplatesPartialUpdateRequest {
- r.patchedWritableFrontPortTemplateRequest = &patchedWritableFrontPortTemplateRequest
+func (r ApiDcimFrontPortTemplatesUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimFrontPortTemplatesUpdateRequest {
+ r.format = &format
return r
}
-func (r ApiDcimFrontPortTemplatesPartialUpdateRequest) Execute() (*FrontPortTemplate, *http.Response, error) {
- return r.ApiService.DcimFrontPortTemplatesPartialUpdateExecute(r)
+func (r ApiDcimFrontPortTemplatesUpdateRequest) Execute() (*FrontPortTemplate, *http.Response, error) {
+ return r.ApiService.DcimFrontPortTemplatesUpdateExecute(r)
}
/*
-DcimFrontPortTemplatesPartialUpdate Method for DcimFrontPortTemplatesPartialUpdate
+DcimFrontPortTemplatesUpdate Method for DcimFrontPortTemplatesUpdate
-Partial update a front port template object.
+Update a front port template object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id A UUID string identifying this front port template.
- @return ApiDcimFrontPortTemplatesPartialUpdateRequest
+ @return ApiDcimFrontPortTemplatesUpdateRequest
*/
-func (a *DcimAPIService) DcimFrontPortTemplatesPartialUpdate(ctx context.Context, id string) ApiDcimFrontPortTemplatesPartialUpdateRequest {
- return ApiDcimFrontPortTemplatesPartialUpdateRequest{
+func (a *DcimAPIService) DcimFrontPortTemplatesUpdate(ctx context.Context, id string) ApiDcimFrontPortTemplatesUpdateRequest {
+ return ApiDcimFrontPortTemplatesUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -46995,15 +44270,15 @@ func (a *DcimAPIService) DcimFrontPortTemplatesPartialUpdate(ctx context.Context
// Execute executes the request
// @return FrontPortTemplate
-func (a *DcimAPIService) DcimFrontPortTemplatesPartialUpdateExecute(r ApiDcimFrontPortTemplatesPartialUpdateRequest) (*FrontPortTemplate, *http.Response, error) {
+func (a *DcimAPIService) DcimFrontPortTemplatesUpdateExecute(r ApiDcimFrontPortTemplatesUpdateRequest) (*FrontPortTemplate, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPatch
+ localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
localVarReturnValue *FrontPortTemplate
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimFrontPortTemplatesPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimFrontPortTemplatesUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -47014,6 +44289,9 @@ func (a *DcimAPIService) DcimFrontPortTemplatesPartialUpdateExecute(r ApiDcimFro
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
+ if r.writableFrontPortTemplateRequest == nil {
+ return localVarReturnValue, nil, reportError("writableFrontPortTemplateRequest is required and must be specified")
+ }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -47036,7 +44314,7 @@ func (a *DcimAPIService) DcimFrontPortTemplatesPartialUpdateExecute(r ApiDcimFro
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedWritableFrontPortTemplateRequest
+ localVarPostBody = r.writableFrontPortTemplateRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -47088,79 +44366,69 @@ func (a *DcimAPIService) DcimFrontPortTemplatesPartialUpdateExecute(r ApiDcimFro
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimFrontPortTemplatesRetrieveRequest struct {
+type ApiDcimFrontPortsBulkDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
- id string
+ bulkOperationRequest *[]BulkOperationRequest
format *CircuitsCircuitTerminationsListFormatParameter
- depth *int32
}
-func (r ApiDcimFrontPortTemplatesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimFrontPortTemplatesRetrieveRequest {
- r.format = &format
+func (r ApiDcimFrontPortsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimFrontPortsBulkDestroyRequest {
+ r.bulkOperationRequest = &bulkOperationRequest
return r
}
-// Serializer Depth
-func (r ApiDcimFrontPortTemplatesRetrieveRequest) Depth(depth int32) ApiDcimFrontPortTemplatesRetrieveRequest {
- r.depth = &depth
+func (r ApiDcimFrontPortsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimFrontPortsBulkDestroyRequest {
+ r.format = &format
return r
}
-func (r ApiDcimFrontPortTemplatesRetrieveRequest) Execute() (*FrontPortTemplate, *http.Response, error) {
- return r.ApiService.DcimFrontPortTemplatesRetrieveExecute(r)
+func (r ApiDcimFrontPortsBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimFrontPortsBulkDestroyExecute(r)
}
/*
-DcimFrontPortTemplatesRetrieve Method for DcimFrontPortTemplatesRetrieve
+DcimFrontPortsBulkDestroy Method for DcimFrontPortsBulkDestroy
-Retrieve a front port template object.
+Destroy a list of front port objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this front port template.
- @return ApiDcimFrontPortTemplatesRetrieveRequest
+ @return ApiDcimFrontPortsBulkDestroyRequest
*/
-func (a *DcimAPIService) DcimFrontPortTemplatesRetrieve(ctx context.Context, id string) ApiDcimFrontPortTemplatesRetrieveRequest {
- return ApiDcimFrontPortTemplatesRetrieveRequest{
+func (a *DcimAPIService) DcimFrontPortsBulkDestroy(ctx context.Context) ApiDcimFrontPortsBulkDestroyRequest {
+ return ApiDcimFrontPortsBulkDestroyRequest{
ApiService: a,
ctx: ctx,
- id: id,
}
}
// Execute executes the request
-// @return FrontPortTemplate
-func (a *DcimAPIService) DcimFrontPortTemplatesRetrieveExecute(r ApiDcimFrontPortTemplatesRetrieveRequest) (*FrontPortTemplate, *http.Response, error) {
+func (a *DcimAPIService) DcimFrontPortsBulkDestroyExecute(r ApiDcimFrontPortsBulkDestroyRequest) (*http.Response, error) {
var (
- localVarHTTPMethod = http.MethodGet
+ localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *FrontPortTemplate
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimFrontPortTemplatesRetrieve")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimFrontPortsBulkDestroy")
if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/front-port-templates/{id}/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+ localVarPath := localBasePath + "/dcim/front-ports/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
+ if r.bulkOperationRequest == nil {
+ return nil, reportError("bulkOperationRequest is required and must be specified")
+ }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.depth != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
- } else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
- }
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -47169,13 +44437,15 @@ func (a *DcimAPIService) DcimFrontPortTemplatesRetrieveExecute(r ApiDcimFrontPor
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+ localVarHTTPHeaderAccepts := []string{}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
if localVarHTTPHeaderAccept != "" {
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
+ // body params
+ localVarPostBody = r.bulkOperationRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -47192,19 +44462,19 @@ func (a *DcimAPIService) DcimFrontPortTemplatesRetrieveExecute(r ApiDcimFrontPor
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
- return localVarReturnValue, nil, err
+ return nil, err
}
localVarHTTPResponse, err := a.client.callAPI(req)
if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
+ return localVarHTTPResponse, err
}
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
+ return localVarHTTPResponse, err
}
if localVarHTTPResponse.StatusCode >= 300 {
@@ -47212,83 +44482,70 @@ func (a *DcimAPIService) DcimFrontPortTemplatesRetrieveExecute(r ApiDcimFrontPor
body: localVarBody,
error: localVarHTTPResponse.Status,
}
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
+ return localVarHTTPResponse, newErr
}
- return localVarReturnValue, localVarHTTPResponse, nil
+ return localVarHTTPResponse, nil
}
-type ApiDcimFrontPortTemplatesUpdateRequest struct {
+type ApiDcimFrontPortsBulkPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- id string
- writableFrontPortTemplateRequest *WritableFrontPortTemplateRequest
+ patchedBulkWritableFrontPortRequest *[]PatchedBulkWritableFrontPortRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimFrontPortTemplatesUpdateRequest) WritableFrontPortTemplateRequest(writableFrontPortTemplateRequest WritableFrontPortTemplateRequest) ApiDcimFrontPortTemplatesUpdateRequest {
- r.writableFrontPortTemplateRequest = &writableFrontPortTemplateRequest
+func (r ApiDcimFrontPortsBulkPartialUpdateRequest) PatchedBulkWritableFrontPortRequest(patchedBulkWritableFrontPortRequest []PatchedBulkWritableFrontPortRequest) ApiDcimFrontPortsBulkPartialUpdateRequest {
+ r.patchedBulkWritableFrontPortRequest = &patchedBulkWritableFrontPortRequest
return r
}
-func (r ApiDcimFrontPortTemplatesUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimFrontPortTemplatesUpdateRequest {
+func (r ApiDcimFrontPortsBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimFrontPortsBulkPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimFrontPortTemplatesUpdateRequest) Execute() (*FrontPortTemplate, *http.Response, error) {
- return r.ApiService.DcimFrontPortTemplatesUpdateExecute(r)
+func (r ApiDcimFrontPortsBulkPartialUpdateRequest) Execute() ([]FrontPort, *http.Response, error) {
+ return r.ApiService.DcimFrontPortsBulkPartialUpdateExecute(r)
}
/*
-DcimFrontPortTemplatesUpdate Method for DcimFrontPortTemplatesUpdate
+DcimFrontPortsBulkPartialUpdate Method for DcimFrontPortsBulkPartialUpdate
-Update a front port template object.
+Partial update a list of front port objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this front port template.
- @return ApiDcimFrontPortTemplatesUpdateRequest
+ @return ApiDcimFrontPortsBulkPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimFrontPortTemplatesUpdate(ctx context.Context, id string) ApiDcimFrontPortTemplatesUpdateRequest {
- return ApiDcimFrontPortTemplatesUpdateRequest{
+func (a *DcimAPIService) DcimFrontPortsBulkPartialUpdate(ctx context.Context) ApiDcimFrontPortsBulkPartialUpdateRequest {
+ return ApiDcimFrontPortsBulkPartialUpdateRequest{
ApiService: a,
ctx: ctx,
- id: id,
}
}
// Execute executes the request
-// @return FrontPortTemplate
-func (a *DcimAPIService) DcimFrontPortTemplatesUpdateExecute(r ApiDcimFrontPortTemplatesUpdateRequest) (*FrontPortTemplate, *http.Response, error) {
+// @return []FrontPort
+func (a *DcimAPIService) DcimFrontPortsBulkPartialUpdateExecute(r ApiDcimFrontPortsBulkPartialUpdateRequest) ([]FrontPort, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPut
+ localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *FrontPortTemplate
+ localVarReturnValue []FrontPort
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimFrontPortTemplatesUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimFrontPortsBulkPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/front-port-templates/{id}/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+ localVarPath := localBasePath + "/dcim/front-ports/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.writableFrontPortTemplateRequest == nil {
- return localVarReturnValue, nil, reportError("writableFrontPortTemplateRequest is required and must be specified")
+ if r.patchedBulkWritableFrontPortRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritableFrontPortRequest is required and must be specified")
}
if r.format != nil {
@@ -47312,7 +44569,7 @@ func (a *DcimAPIService) DcimFrontPortTemplatesUpdateExecute(r ApiDcimFrontPortT
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.writableFrontPortTemplateRequest
+ localVarPostBody = r.patchedBulkWritableFrontPortRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -47364,53 +44621,55 @@ func (a *DcimAPIService) DcimFrontPortTemplatesUpdateExecute(r ApiDcimFrontPortT
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimFrontPortsBulkDestroyRequest struct {
+type ApiDcimFrontPortsBulkUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- bulkOperationRequest *[]BulkOperationRequest
+ bulkWritableFrontPortRequest *[]BulkWritableFrontPortRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimFrontPortsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimFrontPortsBulkDestroyRequest {
- r.bulkOperationRequest = &bulkOperationRequest
+func (r ApiDcimFrontPortsBulkUpdateRequest) BulkWritableFrontPortRequest(bulkWritableFrontPortRequest []BulkWritableFrontPortRequest) ApiDcimFrontPortsBulkUpdateRequest {
+ r.bulkWritableFrontPortRequest = &bulkWritableFrontPortRequest
return r
}
-func (r ApiDcimFrontPortsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimFrontPortsBulkDestroyRequest {
+func (r ApiDcimFrontPortsBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimFrontPortsBulkUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimFrontPortsBulkDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimFrontPortsBulkDestroyExecute(r)
+func (r ApiDcimFrontPortsBulkUpdateRequest) Execute() ([]FrontPort, *http.Response, error) {
+ return r.ApiService.DcimFrontPortsBulkUpdateExecute(r)
}
/*
-DcimFrontPortsBulkDestroy Method for DcimFrontPortsBulkDestroy
+DcimFrontPortsBulkUpdate Method for DcimFrontPortsBulkUpdate
-Destroy a list of front port objects.
+Update a list of front port objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimFrontPortsBulkDestroyRequest
+ @return ApiDcimFrontPortsBulkUpdateRequest
*/
-func (a *DcimAPIService) DcimFrontPortsBulkDestroy(ctx context.Context) ApiDcimFrontPortsBulkDestroyRequest {
- return ApiDcimFrontPortsBulkDestroyRequest{
+func (a *DcimAPIService) DcimFrontPortsBulkUpdate(ctx context.Context) ApiDcimFrontPortsBulkUpdateRequest {
+ return ApiDcimFrontPortsBulkUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-func (a *DcimAPIService) DcimFrontPortsBulkDestroyExecute(r ApiDcimFrontPortsBulkDestroyRequest) (*http.Response, error) {
+// @return []FrontPort
+func (a *DcimAPIService) DcimFrontPortsBulkUpdateExecute(r ApiDcimFrontPortsBulkUpdateRequest) ([]FrontPort, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodDelete
+ localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
+ localVarReturnValue []FrontPort
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimFrontPortsBulkDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimFrontPortsBulkUpdate")
if err != nil {
- return nil, &GenericOpenAPIError{error: err.Error()}
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/dcim/front-ports/"
@@ -47418,8 +44677,8 @@ func (a *DcimAPIService) DcimFrontPortsBulkDestroyExecute(r ApiDcimFrontPortsBul
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.bulkOperationRequest == nil {
- return nil, reportError("bulkOperationRequest is required and must be specified")
+ if r.bulkWritableFrontPortRequest == nil {
+ return localVarReturnValue, nil, reportError("bulkWritableFrontPortRequest is required and must be specified")
}
if r.format != nil {
@@ -47435,7 +44694,7 @@ func (a *DcimAPIService) DcimFrontPortsBulkDestroyExecute(r ApiDcimFrontPortsBul
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{}
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -47443,7 +44702,7 @@ func (a *DcimAPIService) DcimFrontPortsBulkDestroyExecute(r ApiDcimFrontPortsBul
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.bulkOperationRequest
+ localVarPostBody = r.bulkWritableFrontPortRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -47460,19 +44719,19 @@ func (a *DcimAPIService) DcimFrontPortsBulkDestroyExecute(r ApiDcimFrontPortsBul
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
- return nil, err
+ return localVarReturnValue, nil, err
}
localVarHTTPResponse, err := a.client.callAPI(req)
if err != nil || localVarHTTPResponse == nil {
- return localVarHTTPResponse, err
+ return localVarReturnValue, localVarHTTPResponse, err
}
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
- return localVarHTTPResponse, err
+ return localVarReturnValue, localVarHTTPResponse, err
}
if localVarHTTPResponse.StatusCode >= 300 {
@@ -47480,59 +44739,68 @@ func (a *DcimAPIService) DcimFrontPortsBulkDestroyExecute(r ApiDcimFrontPortsBul
body: localVarBody,
error: localVarHTTPResponse.Status,
}
- return localVarHTTPResponse, newErr
+ return localVarReturnValue, localVarHTTPResponse, newErr
}
- return localVarHTTPResponse, nil
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimFrontPortsBulkPartialUpdateRequest struct {
+type ApiDcimFrontPortsCreateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- patchedBulkWritableFrontPortRequest *[]PatchedBulkWritableFrontPortRequest
+ writableFrontPortRequest *WritableFrontPortRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimFrontPortsBulkPartialUpdateRequest) PatchedBulkWritableFrontPortRequest(patchedBulkWritableFrontPortRequest []PatchedBulkWritableFrontPortRequest) ApiDcimFrontPortsBulkPartialUpdateRequest {
- r.patchedBulkWritableFrontPortRequest = &patchedBulkWritableFrontPortRequest
+func (r ApiDcimFrontPortsCreateRequest) WritableFrontPortRequest(writableFrontPortRequest WritableFrontPortRequest) ApiDcimFrontPortsCreateRequest {
+ r.writableFrontPortRequest = &writableFrontPortRequest
return r
}
-func (r ApiDcimFrontPortsBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimFrontPortsBulkPartialUpdateRequest {
+func (r ApiDcimFrontPortsCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimFrontPortsCreateRequest {
r.format = &format
return r
}
-func (r ApiDcimFrontPortsBulkPartialUpdateRequest) Execute() ([]FrontPort, *http.Response, error) {
- return r.ApiService.DcimFrontPortsBulkPartialUpdateExecute(r)
+func (r ApiDcimFrontPortsCreateRequest) Execute() (*FrontPort, *http.Response, error) {
+ return r.ApiService.DcimFrontPortsCreateExecute(r)
}
/*
-DcimFrontPortsBulkPartialUpdate Method for DcimFrontPortsBulkPartialUpdate
+DcimFrontPortsCreate Method for DcimFrontPortsCreate
-Partial update a list of front port objects.
+Create one or more front port objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimFrontPortsBulkPartialUpdateRequest
+ @return ApiDcimFrontPortsCreateRequest
*/
-func (a *DcimAPIService) DcimFrontPortsBulkPartialUpdate(ctx context.Context) ApiDcimFrontPortsBulkPartialUpdateRequest {
- return ApiDcimFrontPortsBulkPartialUpdateRequest{
+func (a *DcimAPIService) DcimFrontPortsCreate(ctx context.Context) ApiDcimFrontPortsCreateRequest {
+ return ApiDcimFrontPortsCreateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []FrontPort
-func (a *DcimAPIService) DcimFrontPortsBulkPartialUpdateExecute(r ApiDcimFrontPortsBulkPartialUpdateRequest) ([]FrontPort, *http.Response, error) {
+// @return FrontPort
+func (a *DcimAPIService) DcimFrontPortsCreateExecute(r ApiDcimFrontPortsCreateRequest) (*FrontPort, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPatch
+ localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []FrontPort
+ localVarReturnValue *FrontPort
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimFrontPortsBulkPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimFrontPortsCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -47542,274 +44810,8 @@ func (a *DcimAPIService) DcimFrontPortsBulkPartialUpdateExecute(r ApiDcimFrontPo
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.patchedBulkWritableFrontPortRequest == nil {
- return localVarReturnValue, nil, reportError("patchedBulkWritableFrontPortRequest is required and must be specified")
- }
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.patchedBulkWritableFrontPortRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiDcimFrontPortsBulkUpdateRequest struct {
- ctx context.Context
- ApiService *DcimAPIService
- bulkWritableFrontPortRequest *[]BulkWritableFrontPortRequest
- format *CircuitsCircuitTerminationsListFormatParameter
-}
-
-func (r ApiDcimFrontPortsBulkUpdateRequest) BulkWritableFrontPortRequest(bulkWritableFrontPortRequest []BulkWritableFrontPortRequest) ApiDcimFrontPortsBulkUpdateRequest {
- r.bulkWritableFrontPortRequest = &bulkWritableFrontPortRequest
- return r
-}
-
-func (r ApiDcimFrontPortsBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimFrontPortsBulkUpdateRequest {
- r.format = &format
- return r
-}
-
-func (r ApiDcimFrontPortsBulkUpdateRequest) Execute() ([]FrontPort, *http.Response, error) {
- return r.ApiService.DcimFrontPortsBulkUpdateExecute(r)
-}
-
-/*
-DcimFrontPortsBulkUpdate Method for DcimFrontPortsBulkUpdate
-
-Update a list of front port objects.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimFrontPortsBulkUpdateRequest
-*/
-func (a *DcimAPIService) DcimFrontPortsBulkUpdate(ctx context.Context) ApiDcimFrontPortsBulkUpdateRequest {
- return ApiDcimFrontPortsBulkUpdateRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-// @return []FrontPort
-func (a *DcimAPIService) DcimFrontPortsBulkUpdateExecute(r ApiDcimFrontPortsBulkUpdateRequest) ([]FrontPort, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPut
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue []FrontPort
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimFrontPortsBulkUpdate")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/dcim/front-ports/"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.bulkWritableFrontPortRequest == nil {
- return localVarReturnValue, nil, reportError("bulkWritableFrontPortRequest is required and must be specified")
- }
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.bulkWritableFrontPortRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiDcimFrontPortsCreateRequest struct {
- ctx context.Context
- ApiService *DcimAPIService
- writableFrontPortRequest *WritableFrontPortRequest
- format *CircuitsCircuitTerminationsListFormatParameter
-}
-
-func (r ApiDcimFrontPortsCreateRequest) WritableFrontPortRequest(writableFrontPortRequest WritableFrontPortRequest) ApiDcimFrontPortsCreateRequest {
- r.writableFrontPortRequest = &writableFrontPortRequest
- return r
-}
-
-func (r ApiDcimFrontPortsCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimFrontPortsCreateRequest {
- r.format = &format
- return r
-}
-
-func (r ApiDcimFrontPortsCreateRequest) Execute() (*FrontPort, *http.Response, error) {
- return r.ApiService.DcimFrontPortsCreateExecute(r)
-}
-
-/*
-DcimFrontPortsCreate Method for DcimFrontPortsCreate
-
-Create one or more front port objects.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimFrontPortsCreateRequest
-*/
-func (a *DcimAPIService) DcimFrontPortsCreate(ctx context.Context) ApiDcimFrontPortsCreateRequest {
- return ApiDcimFrontPortsCreateRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-// @return FrontPort
-func (a *DcimAPIService) DcimFrontPortsCreateExecute(r ApiDcimFrontPortsCreateRequest) (*FrontPort, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *FrontPort
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimFrontPortsCreate")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/dcim/front-ports/"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.writableFrontPortRequest == nil {
- return localVarReturnValue, nil, reportError("writableFrontPortRequest is required and must be specified")
+ if r.writableFrontPortRequest == nil {
+ return localVarReturnValue, nil, reportError("writableFrontPortRequest is required and must be specified")
}
if r.format != nil {
@@ -48008,7 +45010,7 @@ type ApiDcimFrontPortsListRequest struct {
cableN *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
description *[]string
descriptionIc *[]string
descriptionIe *[]string
@@ -48025,23 +45027,11 @@ type ApiDcimFrontPortsListRequest struct {
descriptionRe *[]string
device *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
hasCable *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
label *[]string
labelIc *[]string
labelIe *[]string
@@ -48092,7 +45082,7 @@ type ApiDcimFrontPortsListRequest struct {
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
type_ *[]string
typeIc *[]string
typeIe *[]string
@@ -48108,6 +45098,7 @@ type ApiDcimFrontPortsListRequest struct {
typeNre *[]string
typeRe *[]string
depth *int32
+ excludeM2m *bool
}
// Cable
@@ -48138,8 +45129,7 @@ func (r ApiDcimFrontPortsListRequest) ContactsIsnull(contactsIsnull bool) ApiDci
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimFrontPortsListRequest) ContactsN(contactsN string) ApiDcimFrontPortsListRequest {
+func (r ApiDcimFrontPortsListRequest) ContactsN(contactsN []string) ApiDcimFrontPortsListRequest {
r.contactsN = &contactsN
return r
}
@@ -48224,8 +45214,7 @@ func (r ApiDcimFrontPortsListRequest) DynamicGroups(dynamicGroups []string) ApiD
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimFrontPortsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimFrontPortsListRequest {
+func (r ApiDcimFrontPortsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimFrontPortsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -48247,71 +45236,11 @@ func (r ApiDcimFrontPortsListRequest) Id(id []string) ApiDcimFrontPortsListReque
return r
}
-func (r ApiDcimFrontPortsListRequest) IdIc(idIc []string) ApiDcimFrontPortsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiDcimFrontPortsListRequest) IdIe(idIe []string) ApiDcimFrontPortsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiDcimFrontPortsListRequest) IdIew(idIew []string) ApiDcimFrontPortsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiDcimFrontPortsListRequest) IdIre(idIre []string) ApiDcimFrontPortsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiDcimFrontPortsListRequest) IdIsw(idIsw []string) ApiDcimFrontPortsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiDcimFrontPortsListRequest) IdN(idN []string) ApiDcimFrontPortsListRequest {
r.idN = &idN
return r
}
-func (r ApiDcimFrontPortsListRequest) IdNic(idNic []string) ApiDcimFrontPortsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiDcimFrontPortsListRequest) IdNie(idNie []string) ApiDcimFrontPortsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiDcimFrontPortsListRequest) IdNiew(idNiew []string) ApiDcimFrontPortsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiDcimFrontPortsListRequest) IdNire(idNire []string) ApiDcimFrontPortsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiDcimFrontPortsListRequest) IdNisw(idNisw []string) ApiDcimFrontPortsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiDcimFrontPortsListRequest) IdNre(idNre []string) ApiDcimFrontPortsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiDcimFrontPortsListRequest) IdRe(idRe []string) ApiDcimFrontPortsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiDcimFrontPortsListRequest) Label(label []string) ApiDcimFrontPortsListRequest {
r.label = &label
return r
@@ -48568,8 +45497,7 @@ func (r ApiDcimFrontPortsListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimFront
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimFrontPortsListRequest) TeamsN(teamsN string) ApiDcimFrontPortsListRequest {
+func (r ApiDcimFrontPortsListRequest) TeamsN(teamsN []string) ApiDcimFrontPortsListRequest {
r.teamsN = &teamsN
return r
}
@@ -48650,6 +45578,12 @@ func (r ApiDcimFrontPortsListRequest) Depth(depth int32) ApiDcimFrontPortsListRe
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimFrontPortsListRequest) ExcludeM2m(excludeM2m bool) ApiDcimFrontPortsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimFrontPortsListRequest) Execute() (*PaginatedFrontPortList, *http.Response, error) {
return r.ApiService.DcimFrontPortsListExecute(r)
}
@@ -48730,7 +45664,15 @@ func (a *DcimAPIService) DcimFrontPortsListExecute(r ApiDcimFrontPortsListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.description != nil {
t := *r.description
@@ -48909,7 +45851,15 @@ func (a *DcimAPIService) DcimFrontPortsListExecute(r ApiDcimFrontPortsListReques
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -48928,61 +45878,6 @@ func (a *DcimAPIService) DcimFrontPortsListExecute(r ApiDcimFrontPortsListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -48994,83 +45889,6 @@ func (a *DcimAPIService) DcimFrontPortsListExecute(r ApiDcimFrontPortsListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.label != nil {
t := *r.label
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -49566,7 +46384,15 @@ func (a *DcimAPIService) DcimFrontPortsListExecute(r ApiDcimFrontPortsListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.type_ != nil {
t := *r.type_
@@ -49725,8 +46551,16 @@ func (a *DcimAPIService) DcimFrontPortsListExecute(r ApiDcimFrontPortsListReques
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -49941,6 +46775,7 @@ type ApiDcimFrontPortsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimFrontPortsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimFrontPortsNotesListRequest {
@@ -49966,6 +46801,12 @@ func (r ApiDcimFrontPortsNotesListRequest) Depth(depth int32) ApiDcimFrontPortsN
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimFrontPortsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimFrontPortsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimFrontPortsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.DcimFrontPortsNotesListExecute(r)
}
@@ -50021,8 +46862,16 @@ func (a *DcimAPIService) DcimFrontPortsNotesListExecute(r ApiDcimFrontPortsNotes
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -50234,6 +47083,7 @@ type ApiDcimFrontPortsPathsListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimFrontPortsPathsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimFrontPortsPathsListRequest {
@@ -50259,6 +47109,12 @@ func (r ApiDcimFrontPortsPathsListRequest) Depth(depth int32) ApiDcimFrontPortsP
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimFrontPortsPathsListRequest) ExcludeM2m(excludeM2m bool) ApiDcimFrontPortsPathsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimFrontPortsPathsListRequest) Execute() (*PaginatedCablePathList, *http.Response, error) {
return r.ApiService.DcimFrontPortsPathsListExecute(r)
}
@@ -50314,8 +47170,16 @@ func (a *DcimAPIService) DcimFrontPortsPathsListExecute(r ApiDcimFrontPortsPaths
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -50391,6 +47255,7 @@ type ApiDcimFrontPortsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimFrontPortsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimFrontPortsRetrieveRequest {
@@ -50404,6 +47269,12 @@ func (r ApiDcimFrontPortsRetrieveRequest) Depth(depth int32) ApiDcimFrontPortsRe
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimFrontPortsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimFrontPortsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimFrontPortsRetrieveRequest) Execute() (*FrontPort, *http.Response, error) {
return r.ApiService.DcimFrontPortsRetrieveExecute(r)
}
@@ -50453,8 +47324,16 @@ func (a *DcimAPIService) DcimFrontPortsRetrieveExecute(r ApiDcimFrontPortsRetrie
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -50666,34 +47545,23 @@ type ApiDcimInterfaceConnectionsListRequest struct {
ApiService *DcimAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
device *[]string
deviceId *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
limit *int32
location *string
offset *int32
sort *string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimInterfaceConnectionsListRequest) Contacts(contacts []string) ApiDcimInterfaceConnectionsListRequest {
@@ -50707,8 +47575,7 @@ func (r ApiDcimInterfaceConnectionsListRequest) ContactsIsnull(contactsIsnull bo
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimInterfaceConnectionsListRequest) ContactsN(contactsN string) ApiDcimInterfaceConnectionsListRequest {
+func (r ApiDcimInterfaceConnectionsListRequest) ContactsN(contactsN []string) ApiDcimInterfaceConnectionsListRequest {
r.contactsN = &contactsN
return r
}
@@ -50730,8 +47597,7 @@ func (r ApiDcimInterfaceConnectionsListRequest) DynamicGroups(dynamicGroups []st
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimInterfaceConnectionsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimInterfaceConnectionsListRequest {
+func (r ApiDcimInterfaceConnectionsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimInterfaceConnectionsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -50747,71 +47613,11 @@ func (r ApiDcimInterfaceConnectionsListRequest) Id(id []string) ApiDcimInterface
return r
}
-func (r ApiDcimInterfaceConnectionsListRequest) IdIc(idIc []string) ApiDcimInterfaceConnectionsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiDcimInterfaceConnectionsListRequest) IdIe(idIe []string) ApiDcimInterfaceConnectionsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiDcimInterfaceConnectionsListRequest) IdIew(idIew []string) ApiDcimInterfaceConnectionsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiDcimInterfaceConnectionsListRequest) IdIre(idIre []string) ApiDcimInterfaceConnectionsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiDcimInterfaceConnectionsListRequest) IdIsw(idIsw []string) ApiDcimInterfaceConnectionsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiDcimInterfaceConnectionsListRequest) IdN(idN []string) ApiDcimInterfaceConnectionsListRequest {
r.idN = &idN
return r
}
-func (r ApiDcimInterfaceConnectionsListRequest) IdNic(idNic []string) ApiDcimInterfaceConnectionsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiDcimInterfaceConnectionsListRequest) IdNie(idNie []string) ApiDcimInterfaceConnectionsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiDcimInterfaceConnectionsListRequest) IdNiew(idNiew []string) ApiDcimInterfaceConnectionsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiDcimInterfaceConnectionsListRequest) IdNire(idNire []string) ApiDcimInterfaceConnectionsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiDcimInterfaceConnectionsListRequest) IdNisw(idNisw []string) ApiDcimInterfaceConnectionsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiDcimInterfaceConnectionsListRequest) IdNre(idNre []string) ApiDcimInterfaceConnectionsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiDcimInterfaceConnectionsListRequest) IdRe(idRe []string) ApiDcimInterfaceConnectionsListRequest {
- r.idRe = &idRe
- return r
-}
-
// Number of results to return per page.
func (r ApiDcimInterfaceConnectionsListRequest) Limit(limit int32) ApiDcimInterfaceConnectionsListRequest {
r.limit = &limit
@@ -50847,8 +47653,7 @@ func (r ApiDcimInterfaceConnectionsListRequest) TeamsIsnull(teamsIsnull bool) Ap
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimInterfaceConnectionsListRequest) TeamsN(teamsN string) ApiDcimInterfaceConnectionsListRequest {
+func (r ApiDcimInterfaceConnectionsListRequest) TeamsN(teamsN []string) ApiDcimInterfaceConnectionsListRequest {
r.teamsN = &teamsN
return r
}
@@ -50859,6 +47664,12 @@ func (r ApiDcimInterfaceConnectionsListRequest) Depth(depth int32) ApiDcimInterf
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimInterfaceConnectionsListRequest) ExcludeM2m(excludeM2m bool) ApiDcimInterfaceConnectionsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimInterfaceConnectionsListRequest) Execute() (*PaginatedInterfaceConnectionList, *http.Response, error) {
return r.ApiService.DcimInterfaceConnectionsListExecute(r)
}
@@ -50914,7 +47725,15 @@ func (a *DcimAPIService) DcimInterfaceConnectionsListExecute(r ApiDcimInterfaceC
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.device != nil {
t := *r.device
@@ -50950,75 +47769,28 @@ func (a *DcimAPIService) DcimInterfaceConnectionsListExecute(r ApiDcimInterfaceC
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.id != nil {
- t := *r.id
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
- }
- }
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
if r.idN != nil {
@@ -51032,83 +47804,6 @@ func (a *DcimAPIService) DcimInterfaceConnectionsListExecute(r ApiDcimInterfaceC
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.limit != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
@@ -51136,13 +47831,29 @@ func (a *DcimAPIService) DcimInterfaceConnectionsListExecute(r ApiDcimInterfaceC
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -51853,19 +48564,7 @@ type ApiDcimInterfaceRedundancyGroupAssociationsListRequest struct {
ApiService *DcimAPIService
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
interface_ *[]string
interfaceN *[]string
interfaceRedundancyGroup *[]string
@@ -51881,6 +48580,7 @@ type ApiDcimInterfaceRedundancyGroupAssociationsListRequest struct {
q *string
sort *string
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimInterfaceRedundancyGroupAssociationsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfaceRedundancyGroupAssociationsListRequest {
@@ -51894,71 +48594,11 @@ func (r ApiDcimInterfaceRedundancyGroupAssociationsListRequest) Id(id []string)
return r
}
-func (r ApiDcimInterfaceRedundancyGroupAssociationsListRequest) IdIc(idIc []string) ApiDcimInterfaceRedundancyGroupAssociationsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiDcimInterfaceRedundancyGroupAssociationsListRequest) IdIe(idIe []string) ApiDcimInterfaceRedundancyGroupAssociationsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiDcimInterfaceRedundancyGroupAssociationsListRequest) IdIew(idIew []string) ApiDcimInterfaceRedundancyGroupAssociationsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiDcimInterfaceRedundancyGroupAssociationsListRequest) IdIre(idIre []string) ApiDcimInterfaceRedundancyGroupAssociationsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiDcimInterfaceRedundancyGroupAssociationsListRequest) IdIsw(idIsw []string) ApiDcimInterfaceRedundancyGroupAssociationsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiDcimInterfaceRedundancyGroupAssociationsListRequest) IdN(idN []string) ApiDcimInterfaceRedundancyGroupAssociationsListRequest {
r.idN = &idN
return r
}
-func (r ApiDcimInterfaceRedundancyGroupAssociationsListRequest) IdNic(idNic []string) ApiDcimInterfaceRedundancyGroupAssociationsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiDcimInterfaceRedundancyGroupAssociationsListRequest) IdNie(idNie []string) ApiDcimInterfaceRedundancyGroupAssociationsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiDcimInterfaceRedundancyGroupAssociationsListRequest) IdNiew(idNiew []string) ApiDcimInterfaceRedundancyGroupAssociationsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiDcimInterfaceRedundancyGroupAssociationsListRequest) IdNire(idNire []string) ApiDcimInterfaceRedundancyGroupAssociationsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiDcimInterfaceRedundancyGroupAssociationsListRequest) IdNisw(idNisw []string) ApiDcimInterfaceRedundancyGroupAssociationsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiDcimInterfaceRedundancyGroupAssociationsListRequest) IdNre(idNre []string) ApiDcimInterfaceRedundancyGroupAssociationsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiDcimInterfaceRedundancyGroupAssociationsListRequest) IdRe(idRe []string) ApiDcimInterfaceRedundancyGroupAssociationsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiDcimInterfaceRedundancyGroupAssociationsListRequest) Interface_(interface_ []string) ApiDcimInterfaceRedundancyGroupAssociationsListRequest {
r.interface_ = &interface_
return r
@@ -52039,6 +48679,12 @@ func (r ApiDcimInterfaceRedundancyGroupAssociationsListRequest) Depth(depth int3
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimInterfaceRedundancyGroupAssociationsListRequest) ExcludeM2m(excludeM2m bool) ApiDcimInterfaceRedundancyGroupAssociationsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimInterfaceRedundancyGroupAssociationsListRequest) Execute() (*PaginatedInterfaceRedundancyGroupAssociationList, *http.Response, error) {
return r.ApiService.DcimInterfaceRedundancyGroupAssociationsListExecute(r)
}
@@ -52093,61 +48739,6 @@ func (a *DcimAPIService) DcimInterfaceRedundancyGroupAssociationsListExecute(r A
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -52159,83 +48750,6 @@ func (a *DcimAPIService) DcimInterfaceRedundancyGroupAssociationsListExecute(r A
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.interface_ != nil {
t := *r.interface_
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -52361,8 +48875,16 @@ func (a *DcimAPIService) DcimInterfaceRedundancyGroupAssociationsListExecute(r A
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -52577,6 +49099,7 @@ type ApiDcimInterfaceRedundancyGroupAssociationsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimInterfaceRedundancyGroupAssociationsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfaceRedundancyGroupAssociationsNotesListRequest {
@@ -52602,6 +49125,12 @@ func (r ApiDcimInterfaceRedundancyGroupAssociationsNotesListRequest) Depth(depth
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimInterfaceRedundancyGroupAssociationsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimInterfaceRedundancyGroupAssociationsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimInterfaceRedundancyGroupAssociationsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.DcimInterfaceRedundancyGroupAssociationsNotesListExecute(r)
}
@@ -52657,8 +49186,16 @@ func (a *DcimAPIService) DcimInterfaceRedundancyGroupAssociationsNotesListExecut
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -52868,6 +49405,7 @@ type ApiDcimInterfaceRedundancyGroupAssociationsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimInterfaceRedundancyGroupAssociationsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfaceRedundancyGroupAssociationsRetrieveRequest {
@@ -52881,6 +49419,12 @@ func (r ApiDcimInterfaceRedundancyGroupAssociationsRetrieveRequest) Depth(depth
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimInterfaceRedundancyGroupAssociationsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimInterfaceRedundancyGroupAssociationsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimInterfaceRedundancyGroupAssociationsRetrieveRequest) Execute() (*InterfaceRedundancyGroupAssociation, *http.Response, error) {
return r.ApiService.DcimInterfaceRedundancyGroupAssociationsRetrieveExecute(r)
}
@@ -52930,8 +49474,16 @@ func (a *DcimAPIService) DcimInterfaceRedundancyGroupAssociationsRetrieveExecute
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -53779,7 +50331,7 @@ type ApiDcimInterfaceRedundancyGroupsListRequest struct {
ApiService *DcimAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
description *[]string
descriptionIc *[]string
descriptionIe *[]string
@@ -53795,22 +50347,10 @@ type ApiDcimInterfaceRedundancyGroupsListRequest struct {
descriptionNre *[]string
descriptionRe *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
limit *int32
name *[]string
nameIc *[]string
@@ -53865,9 +50405,10 @@ type ApiDcimInterfaceRedundancyGroupsListRequest struct {
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
virtualIp *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimInterfaceRedundancyGroupsListRequest) Contacts(contacts []string) ApiDcimInterfaceRedundancyGroupsListRequest {
@@ -53881,8 +50422,7 @@ func (r ApiDcimInterfaceRedundancyGroupsListRequest) ContactsIsnull(contactsIsnu
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimInterfaceRedundancyGroupsListRequest) ContactsN(contactsN string) ApiDcimInterfaceRedundancyGroupsListRequest {
+func (r ApiDcimInterfaceRedundancyGroupsListRequest) ContactsN(contactsN []string) ApiDcimInterfaceRedundancyGroupsListRequest {
r.contactsN = &contactsN
return r
}
@@ -53962,8 +50502,7 @@ func (r ApiDcimInterfaceRedundancyGroupsListRequest) DynamicGroups(dynamicGroups
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimInterfaceRedundancyGroupsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimInterfaceRedundancyGroupsListRequest {
+func (r ApiDcimInterfaceRedundancyGroupsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimInterfaceRedundancyGroupsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -53979,71 +50518,11 @@ func (r ApiDcimInterfaceRedundancyGroupsListRequest) Id(id []string) ApiDcimInte
return r
}
-func (r ApiDcimInterfaceRedundancyGroupsListRequest) IdIc(idIc []string) ApiDcimInterfaceRedundancyGroupsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiDcimInterfaceRedundancyGroupsListRequest) IdIe(idIe []string) ApiDcimInterfaceRedundancyGroupsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiDcimInterfaceRedundancyGroupsListRequest) IdIew(idIew []string) ApiDcimInterfaceRedundancyGroupsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiDcimInterfaceRedundancyGroupsListRequest) IdIre(idIre []string) ApiDcimInterfaceRedundancyGroupsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiDcimInterfaceRedundancyGroupsListRequest) IdIsw(idIsw []string) ApiDcimInterfaceRedundancyGroupsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiDcimInterfaceRedundancyGroupsListRequest) IdN(idN []string) ApiDcimInterfaceRedundancyGroupsListRequest {
r.idN = &idN
return r
}
-func (r ApiDcimInterfaceRedundancyGroupsListRequest) IdNic(idNic []string) ApiDcimInterfaceRedundancyGroupsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiDcimInterfaceRedundancyGroupsListRequest) IdNie(idNie []string) ApiDcimInterfaceRedundancyGroupsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiDcimInterfaceRedundancyGroupsListRequest) IdNiew(idNiew []string) ApiDcimInterfaceRedundancyGroupsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiDcimInterfaceRedundancyGroupsListRequest) IdNire(idNire []string) ApiDcimInterfaceRedundancyGroupsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiDcimInterfaceRedundancyGroupsListRequest) IdNisw(idNisw []string) ApiDcimInterfaceRedundancyGroupsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiDcimInterfaceRedundancyGroupsListRequest) IdNre(idNre []string) ApiDcimInterfaceRedundancyGroupsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiDcimInterfaceRedundancyGroupsListRequest) IdRe(idRe []string) ApiDcimInterfaceRedundancyGroupsListRequest {
- r.idRe = &idRe
- return r
-}
-
// Number of results to return per page.
func (r ApiDcimInterfaceRedundancyGroupsListRequest) Limit(limit int32) ApiDcimInterfaceRedundancyGroupsListRequest {
r.limit = &limit
@@ -54319,8 +50798,7 @@ func (r ApiDcimInterfaceRedundancyGroupsListRequest) TeamsIsnull(teamsIsnull boo
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimInterfaceRedundancyGroupsListRequest) TeamsN(teamsN string) ApiDcimInterfaceRedundancyGroupsListRequest {
+func (r ApiDcimInterfaceRedundancyGroupsListRequest) TeamsN(teamsN []string) ApiDcimInterfaceRedundancyGroupsListRequest {
r.teamsN = &teamsN
return r
}
@@ -54337,6 +50815,12 @@ func (r ApiDcimInterfaceRedundancyGroupsListRequest) Depth(depth int32) ApiDcimI
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimInterfaceRedundancyGroupsListRequest) ExcludeM2m(excludeM2m bool) ApiDcimInterfaceRedundancyGroupsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimInterfaceRedundancyGroupsListRequest) Execute() (*PaginatedInterfaceRedundancyGroupList, *http.Response, error) {
return r.ApiService.DcimInterfaceRedundancyGroupsListExecute(r)
}
@@ -54392,7 +50876,15 @@ func (a *DcimAPIService) DcimInterfaceRedundancyGroupsListExecute(r ApiDcimInter
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.description != nil {
t := *r.description
@@ -54560,75 +51052,28 @@ func (a *DcimAPIService) DcimInterfaceRedundancyGroupsListExecute(r ApiDcimInter
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.id != nil {
- t := *r.id
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
if r.idN != nil {
@@ -54642,83 +51087,6 @@ func (a *DcimAPIService) DcimInterfaceRedundancyGroupsListExecute(r ApiDcimInter
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.limit != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
@@ -55258,7 +51626,15 @@ func (a *DcimAPIService) DcimInterfaceRedundancyGroupsListExecute(r ApiDcimInter
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.virtualIp != nil {
t := *r.virtualIp
@@ -55274,8 +51650,16 @@ func (a *DcimAPIService) DcimInterfaceRedundancyGroupsListExecute(r ApiDcimInter
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -55490,6 +51874,7 @@ type ApiDcimInterfaceRedundancyGroupsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimInterfaceRedundancyGroupsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfaceRedundancyGroupsNotesListRequest {
@@ -55515,6 +51900,12 @@ func (r ApiDcimInterfaceRedundancyGroupsNotesListRequest) Depth(depth int32) Api
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimInterfaceRedundancyGroupsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimInterfaceRedundancyGroupsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimInterfaceRedundancyGroupsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.DcimInterfaceRedundancyGroupsNotesListExecute(r)
}
@@ -55570,8 +51961,16 @@ func (a *DcimAPIService) DcimInterfaceRedundancyGroupsNotesListExecute(r ApiDcim
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -55781,6 +52180,7 @@ type ApiDcimInterfaceRedundancyGroupsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimInterfaceRedundancyGroupsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfaceRedundancyGroupsRetrieveRequest {
@@ -55794,6 +52194,12 @@ func (r ApiDcimInterfaceRedundancyGroupsRetrieveRequest) Depth(depth int32) ApiD
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimInterfaceRedundancyGroupsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimInterfaceRedundancyGroupsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimInterfaceRedundancyGroupsRetrieveRequest) Execute() (*InterfaceRedundancyGroup, *http.Response, error) {
return r.ApiService.DcimInterfaceRedundancyGroupsRetrieveExecute(r)
}
@@ -55843,8 +52249,16 @@ func (a *DcimAPIService) DcimInterfaceRedundancyGroupsRetrieveExecute(r ApiDcimI
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -56692,7 +53106,7 @@ type ApiDcimInterfaceTemplatesListRequest struct {
ApiService *DcimAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
description *[]string
descriptionIc *[]string
descriptionIe *[]string
@@ -56711,24 +53125,12 @@ type ApiDcimInterfaceTemplatesListRequest struct {
deviceTypeIsnull *bool
deviceTypeN *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
hasDeviceType *bool
hasModuleType *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
label *[]string
labelIc *[]string
labelIe *[]string
@@ -56767,7 +53169,7 @@ type ApiDcimInterfaceTemplatesListRequest struct {
sort *string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
type_ *[]string
typeIc *[]string
typeIe *[]string
@@ -56783,6 +53185,7 @@ type ApiDcimInterfaceTemplatesListRequest struct {
typeNre *[]string
typeRe *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimInterfaceTemplatesListRequest) Contacts(contacts []string) ApiDcimInterfaceTemplatesListRequest {
@@ -56796,8 +53199,7 @@ func (r ApiDcimInterfaceTemplatesListRequest) ContactsIsnull(contactsIsnull bool
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimInterfaceTemplatesListRequest) ContactsN(contactsN string) ApiDcimInterfaceTemplatesListRequest {
+func (r ApiDcimInterfaceTemplatesListRequest) ContactsN(contactsN []string) ApiDcimInterfaceTemplatesListRequest {
r.contactsN = &contactsN
return r
}
@@ -56907,8 +53309,7 @@ func (r ApiDcimInterfaceTemplatesListRequest) DynamicGroups(dynamicGroups []stri
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimInterfaceTemplatesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimInterfaceTemplatesListRequest {
+func (r ApiDcimInterfaceTemplatesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimInterfaceTemplatesListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -56936,84 +53337,12 @@ func (r ApiDcimInterfaceTemplatesListRequest) Id(id []string) ApiDcimInterfaceTe
return r
}
-// ID contains
-func (r ApiDcimInterfaceTemplatesListRequest) IdIc(idIc []string) ApiDcimInterfaceTemplatesListRequest {
- r.idIc = &idIc
- return r
-}
-
-// ID
-func (r ApiDcimInterfaceTemplatesListRequest) IdIe(idIe []string) ApiDcimInterfaceTemplatesListRequest {
- r.idIe = &idIe
- return r
-}
-
-// ID ends with
-func (r ApiDcimInterfaceTemplatesListRequest) IdIew(idIew []string) ApiDcimInterfaceTemplatesListRequest {
- r.idIew = &idIew
- return r
-}
-
-// ID matches regex
-func (r ApiDcimInterfaceTemplatesListRequest) IdIre(idIre []string) ApiDcimInterfaceTemplatesListRequest {
- r.idIre = &idIre
- return r
-}
-
-// ID starts with
-func (r ApiDcimInterfaceTemplatesListRequest) IdIsw(idIsw []string) ApiDcimInterfaceTemplatesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
// Exclude ID
func (r ApiDcimInterfaceTemplatesListRequest) IdN(idN []string) ApiDcimInterfaceTemplatesListRequest {
r.idN = &idN
return r
}
-// Exclude ID contains
-func (r ApiDcimInterfaceTemplatesListRequest) IdNic(idNic []string) ApiDcimInterfaceTemplatesListRequest {
- r.idNic = &idNic
- return r
-}
-
-// Exclude ID
-func (r ApiDcimInterfaceTemplatesListRequest) IdNie(idNie []string) ApiDcimInterfaceTemplatesListRequest {
- r.idNie = &idNie
- return r
-}
-
-// Exclude ID ends with
-func (r ApiDcimInterfaceTemplatesListRequest) IdNiew(idNiew []string) ApiDcimInterfaceTemplatesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-// Exclude ID matches regex
-func (r ApiDcimInterfaceTemplatesListRequest) IdNire(idNire []string) ApiDcimInterfaceTemplatesListRequest {
- r.idNire = &idNire
- return r
-}
-
-// Exclude ID starts with
-func (r ApiDcimInterfaceTemplatesListRequest) IdNisw(idNisw []string) ApiDcimInterfaceTemplatesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-// Exclude ID matches regex
-func (r ApiDcimInterfaceTemplatesListRequest) IdNre(idNre []string) ApiDcimInterfaceTemplatesListRequest {
- r.idNre = &idNre
- return r
-}
-
-// ID matches regex
-func (r ApiDcimInterfaceTemplatesListRequest) IdRe(idRe []string) ApiDcimInterfaceTemplatesListRequest {
- r.idRe = &idRe
- return r
-}
-
// Label
func (r ApiDcimInterfaceTemplatesListRequest) Label(label []string) ApiDcimInterfaceTemplatesListRequest {
r.label = &label
@@ -57238,8 +53567,7 @@ func (r ApiDcimInterfaceTemplatesListRequest) TeamsIsnull(teamsIsnull bool) ApiD
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimInterfaceTemplatesListRequest) TeamsN(teamsN string) ApiDcimInterfaceTemplatesListRequest {
+func (r ApiDcimInterfaceTemplatesListRequest) TeamsN(teamsN []string) ApiDcimInterfaceTemplatesListRequest {
r.teamsN = &teamsN
return r
}
@@ -57320,6 +53648,12 @@ func (r ApiDcimInterfaceTemplatesListRequest) Depth(depth int32) ApiDcimInterfac
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimInterfaceTemplatesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimInterfaceTemplatesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimInterfaceTemplatesListRequest) Execute() (*PaginatedInterfaceTemplateList, *http.Response, error) {
return r.ApiService.DcimInterfaceTemplatesListExecute(r)
}
@@ -57375,7 +53709,15 @@ func (a *DcimAPIService) DcimInterfaceTemplatesListExecute(r ApiDcimInterfaceTem
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.description != nil {
t := *r.description
@@ -57568,7 +53910,15 @@ func (a *DcimAPIService) DcimInterfaceTemplatesListExecute(r ApiDcimInterfaceTem
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -57590,61 +53940,6 @@ func (a *DcimAPIService) DcimInterfaceTemplatesListExecute(r ApiDcimInterfaceTem
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -57656,83 +53951,6 @@ func (a *DcimAPIService) DcimInterfaceTemplatesListExecute(r ApiDcimInterfaceTem
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.label != nil {
t := *r.label
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -58096,7 +54314,15 @@ func (a *DcimAPIService) DcimInterfaceTemplatesListExecute(r ApiDcimInterfaceTem
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.type_ != nil {
t := *r.type_
@@ -58255,8 +54481,16 @@ func (a *DcimAPIService) DcimInterfaceTemplatesListExecute(r ApiDcimInterfaceTem
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -58326,39 +54560,39 @@ func (a *DcimAPIService) DcimInterfaceTemplatesListExecute(r ApiDcimInterfaceTem
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimInterfaceTemplatesNotesCreateRequest struct {
+type ApiDcimInterfaceTemplatesPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
- noteInputRequest *NoteInputRequest
format *CircuitsCircuitTerminationsListFormatParameter
+ patchedWritableInterfaceTemplateRequest *PatchedWritableInterfaceTemplateRequest
}
-func (r ApiDcimInterfaceTemplatesNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimInterfaceTemplatesNotesCreateRequest {
- r.noteInputRequest = ¬eInputRequest
+func (r ApiDcimInterfaceTemplatesPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfaceTemplatesPartialUpdateRequest {
+ r.format = &format
return r
}
-func (r ApiDcimInterfaceTemplatesNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfaceTemplatesNotesCreateRequest {
- r.format = &format
+func (r ApiDcimInterfaceTemplatesPartialUpdateRequest) PatchedWritableInterfaceTemplateRequest(patchedWritableInterfaceTemplateRequest PatchedWritableInterfaceTemplateRequest) ApiDcimInterfaceTemplatesPartialUpdateRequest {
+ r.patchedWritableInterfaceTemplateRequest = &patchedWritableInterfaceTemplateRequest
return r
}
-func (r ApiDcimInterfaceTemplatesNotesCreateRequest) Execute() (*Note, *http.Response, error) {
- return r.ApiService.DcimInterfaceTemplatesNotesCreateExecute(r)
+func (r ApiDcimInterfaceTemplatesPartialUpdateRequest) Execute() (*InterfaceTemplate, *http.Response, error) {
+ return r.ApiService.DcimInterfaceTemplatesPartialUpdateExecute(r)
}
/*
-DcimInterfaceTemplatesNotesCreate Method for DcimInterfaceTemplatesNotesCreate
+DcimInterfaceTemplatesPartialUpdate Method for DcimInterfaceTemplatesPartialUpdate
-API methods for returning or creating notes on an object.
+Partial update a interface template object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id A UUID string identifying this interface template.
- @return ApiDcimInterfaceTemplatesNotesCreateRequest
+ @return ApiDcimInterfaceTemplatesPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimInterfaceTemplatesNotesCreate(ctx context.Context, id string) ApiDcimInterfaceTemplatesNotesCreateRequest {
- return ApiDcimInterfaceTemplatesNotesCreateRequest{
+func (a *DcimAPIService) DcimInterfaceTemplatesPartialUpdate(ctx context.Context, id string) ApiDcimInterfaceTemplatesPartialUpdateRequest {
+ return ApiDcimInterfaceTemplatesPartialUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -58366,29 +54600,26 @@ func (a *DcimAPIService) DcimInterfaceTemplatesNotesCreate(ctx context.Context,
}
// Execute executes the request
-// @return Note
-func (a *DcimAPIService) DcimInterfaceTemplatesNotesCreateExecute(r ApiDcimInterfaceTemplatesNotesCreateRequest) (*Note, *http.Response, error) {
+// @return InterfaceTemplate
+func (a *DcimAPIService) DcimInterfaceTemplatesPartialUpdateExecute(r ApiDcimInterfaceTemplatesPartialUpdateRequest) (*InterfaceTemplate, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPost
+ localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *Note
+ localVarReturnValue *InterfaceTemplate
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimInterfaceTemplatesNotesCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimInterfaceTemplatesPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/interface-templates/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/interface-templates/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.noteInputRequest == nil {
- return localVarReturnValue, nil, reportError("noteInputRequest is required and must be specified")
- }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -58411,7 +54642,7 @@ func (a *DcimAPIService) DcimInterfaceTemplatesNotesCreateExecute(r ApiDcimInter
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.noteInputRequest
+ localVarPostBody = r.patchedWritableInterfaceTemplateRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -58463,54 +54694,47 @@ func (a *DcimAPIService) DcimInterfaceTemplatesNotesCreateExecute(r ApiDcimInter
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimInterfaceTemplatesNotesListRequest struct {
+type ApiDcimInterfaceTemplatesRetrieveRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
- limit *int32
- offset *int32
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimInterfaceTemplatesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfaceTemplatesNotesListRequest {
+func (r ApiDcimInterfaceTemplatesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfaceTemplatesRetrieveRequest {
r.format = &format
return r
}
-// Number of results to return per page.
-func (r ApiDcimInterfaceTemplatesNotesListRequest) Limit(limit int32) ApiDcimInterfaceTemplatesNotesListRequest {
- r.limit = &limit
- return r
-}
-
-// The initial index from which to return the results.
-func (r ApiDcimInterfaceTemplatesNotesListRequest) Offset(offset int32) ApiDcimInterfaceTemplatesNotesListRequest {
- r.offset = &offset
+// Serializer Depth
+func (r ApiDcimInterfaceTemplatesRetrieveRequest) Depth(depth int32) ApiDcimInterfaceTemplatesRetrieveRequest {
+ r.depth = &depth
return r
}
-// Serializer Depth
-func (r ApiDcimInterfaceTemplatesNotesListRequest) Depth(depth int32) ApiDcimInterfaceTemplatesNotesListRequest {
- r.depth = &depth
+// Exclude many-to-many fields from the response
+func (r ApiDcimInterfaceTemplatesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimInterfaceTemplatesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
return r
}
-func (r ApiDcimInterfaceTemplatesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
- return r.ApiService.DcimInterfaceTemplatesNotesListExecute(r)
+func (r ApiDcimInterfaceTemplatesRetrieveRequest) Execute() (*InterfaceTemplate, *http.Response, error) {
+ return r.ApiService.DcimInterfaceTemplatesRetrieveExecute(r)
}
/*
-DcimInterfaceTemplatesNotesList Method for DcimInterfaceTemplatesNotesList
+DcimInterfaceTemplatesRetrieve Method for DcimInterfaceTemplatesRetrieve
-API methods for returning or creating notes on an object.
+Retrieve a interface template object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id A UUID string identifying this interface template.
- @return ApiDcimInterfaceTemplatesNotesListRequest
+ @return ApiDcimInterfaceTemplatesRetrieveRequest
*/
-func (a *DcimAPIService) DcimInterfaceTemplatesNotesList(ctx context.Context, id string) ApiDcimInterfaceTemplatesNotesListRequest {
- return ApiDcimInterfaceTemplatesNotesListRequest{
+func (a *DcimAPIService) DcimInterfaceTemplatesRetrieve(ctx context.Context, id string) ApiDcimInterfaceTemplatesRetrieveRequest {
+ return ApiDcimInterfaceTemplatesRetrieveRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -58518,21 +54742,21 @@ func (a *DcimAPIService) DcimInterfaceTemplatesNotesList(ctx context.Context, id
}
// Execute executes the request
-// @return PaginatedNoteList
-func (a *DcimAPIService) DcimInterfaceTemplatesNotesListExecute(r ApiDcimInterfaceTemplatesNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
+// @return InterfaceTemplate
+func (a *DcimAPIService) DcimInterfaceTemplatesRetrieveExecute(r ApiDcimInterfaceTemplatesRetrieveRequest) (*InterfaceTemplate, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PaginatedNoteList
+ localVarReturnValue *InterfaceTemplate
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimInterfaceTemplatesNotesList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimInterfaceTemplatesRetrieve")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/interface-templates/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/interface-templates/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -58542,17 +54766,19 @@ func (a *DcimAPIService) DcimInterfaceTemplatesNotesListExecute(r ApiDcimInterfa
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
- }
- if r.offset != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
- }
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -58622,39 +54848,39 @@ func (a *DcimAPIService) DcimInterfaceTemplatesNotesListExecute(r ApiDcimInterfa
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimInterfaceTemplatesPartialUpdateRequest struct {
+type ApiDcimInterfaceTemplatesUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
+ writableInterfaceTemplateRequest *WritableInterfaceTemplateRequest
format *CircuitsCircuitTerminationsListFormatParameter
- patchedWritableInterfaceTemplateRequest *PatchedWritableInterfaceTemplateRequest
}
-func (r ApiDcimInterfaceTemplatesPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfaceTemplatesPartialUpdateRequest {
- r.format = &format
+func (r ApiDcimInterfaceTemplatesUpdateRequest) WritableInterfaceTemplateRequest(writableInterfaceTemplateRequest WritableInterfaceTemplateRequest) ApiDcimInterfaceTemplatesUpdateRequest {
+ r.writableInterfaceTemplateRequest = &writableInterfaceTemplateRequest
return r
}
-func (r ApiDcimInterfaceTemplatesPartialUpdateRequest) PatchedWritableInterfaceTemplateRequest(patchedWritableInterfaceTemplateRequest PatchedWritableInterfaceTemplateRequest) ApiDcimInterfaceTemplatesPartialUpdateRequest {
- r.patchedWritableInterfaceTemplateRequest = &patchedWritableInterfaceTemplateRequest
+func (r ApiDcimInterfaceTemplatesUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfaceTemplatesUpdateRequest {
+ r.format = &format
return r
}
-func (r ApiDcimInterfaceTemplatesPartialUpdateRequest) Execute() (*InterfaceTemplate, *http.Response, error) {
- return r.ApiService.DcimInterfaceTemplatesPartialUpdateExecute(r)
+func (r ApiDcimInterfaceTemplatesUpdateRequest) Execute() (*InterfaceTemplate, *http.Response, error) {
+ return r.ApiService.DcimInterfaceTemplatesUpdateExecute(r)
}
/*
-DcimInterfaceTemplatesPartialUpdate Method for DcimInterfaceTemplatesPartialUpdate
+DcimInterfaceTemplatesUpdate Method for DcimInterfaceTemplatesUpdate
-Partial update a interface template object.
+Update a interface template object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id A UUID string identifying this interface template.
- @return ApiDcimInterfaceTemplatesPartialUpdateRequest
+ @return ApiDcimInterfaceTemplatesUpdateRequest
*/
-func (a *DcimAPIService) DcimInterfaceTemplatesPartialUpdate(ctx context.Context, id string) ApiDcimInterfaceTemplatesPartialUpdateRequest {
- return ApiDcimInterfaceTemplatesPartialUpdateRequest{
+func (a *DcimAPIService) DcimInterfaceTemplatesUpdate(ctx context.Context, id string) ApiDcimInterfaceTemplatesUpdateRequest {
+ return ApiDcimInterfaceTemplatesUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -58663,15 +54889,15 @@ func (a *DcimAPIService) DcimInterfaceTemplatesPartialUpdate(ctx context.Context
// Execute executes the request
// @return InterfaceTemplate
-func (a *DcimAPIService) DcimInterfaceTemplatesPartialUpdateExecute(r ApiDcimInterfaceTemplatesPartialUpdateRequest) (*InterfaceTemplate, *http.Response, error) {
+func (a *DcimAPIService) DcimInterfaceTemplatesUpdateExecute(r ApiDcimInterfaceTemplatesUpdateRequest) (*InterfaceTemplate, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPatch
+ localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
localVarReturnValue *InterfaceTemplate
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimInterfaceTemplatesPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimInterfaceTemplatesUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -58682,6 +54908,9 @@ func (a *DcimAPIService) DcimInterfaceTemplatesPartialUpdateExecute(r ApiDcimInt
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
+ if r.writableInterfaceTemplateRequest == nil {
+ return localVarReturnValue, nil, reportError("writableInterfaceTemplateRequest is required and must be specified")
+ }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -58704,7 +54933,7 @@ func (a *DcimAPIService) DcimInterfaceTemplatesPartialUpdateExecute(r ApiDcimInt
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedWritableInterfaceTemplateRequest
+ localVarPostBody = r.writableInterfaceTemplateRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -58756,40 +54985,1188 @@ func (a *DcimAPIService) DcimInterfaceTemplatesPartialUpdateExecute(r ApiDcimInt
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimInterfaceTemplatesRetrieveRequest struct {
+type ApiDcimInterfaceVdcAssignmentsBulkDestroyRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ bulkOperationRequest *[]BulkOperationRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiDcimInterfaceVdcAssignmentsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimInterfaceVdcAssignmentsBulkDestroyRequest {
+ r.bulkOperationRequest = &bulkOperationRequest
+ return r
+}
+
+func (r ApiDcimInterfaceVdcAssignmentsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfaceVdcAssignmentsBulkDestroyRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiDcimInterfaceVdcAssignmentsBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimInterfaceVdcAssignmentsBulkDestroyExecute(r)
+}
+
+/*
+DcimInterfaceVdcAssignmentsBulkDestroy Method for DcimInterfaceVdcAssignmentsBulkDestroy
+
+Destroy a list of interface vdc assignment objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiDcimInterfaceVdcAssignmentsBulkDestroyRequest
+*/
+func (a *DcimAPIService) DcimInterfaceVdcAssignmentsBulkDestroy(ctx context.Context) ApiDcimInterfaceVdcAssignmentsBulkDestroyRequest {
+ return ApiDcimInterfaceVdcAssignmentsBulkDestroyRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+func (a *DcimAPIService) DcimInterfaceVdcAssignmentsBulkDestroyExecute(r ApiDcimInterfaceVdcAssignmentsBulkDestroyRequest) (*http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodDelete
+ localVarPostBody interface{}
+ formFiles []formFile
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimInterfaceVdcAssignmentsBulkDestroy")
+ if err != nil {
+ return nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/interface-vdc-assignments/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.bulkOperationRequest == nil {
+ return nil, reportError("bulkOperationRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.bulkOperationRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarHTTPResponse, newErr
+ }
+
+ return localVarHTTPResponse, nil
+}
+
+type ApiDcimInterfaceVdcAssignmentsBulkPartialUpdateRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ patchedBulkWritableInterfaceVDCAssignmentRequest *[]PatchedBulkWritableInterfaceVDCAssignmentRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiDcimInterfaceVdcAssignmentsBulkPartialUpdateRequest) PatchedBulkWritableInterfaceVDCAssignmentRequest(patchedBulkWritableInterfaceVDCAssignmentRequest []PatchedBulkWritableInterfaceVDCAssignmentRequest) ApiDcimInterfaceVdcAssignmentsBulkPartialUpdateRequest {
+ r.patchedBulkWritableInterfaceVDCAssignmentRequest = &patchedBulkWritableInterfaceVDCAssignmentRequest
+ return r
+}
+
+func (r ApiDcimInterfaceVdcAssignmentsBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfaceVdcAssignmentsBulkPartialUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiDcimInterfaceVdcAssignmentsBulkPartialUpdateRequest) Execute() ([]InterfaceVDCAssignment, *http.Response, error) {
+ return r.ApiService.DcimInterfaceVdcAssignmentsBulkPartialUpdateExecute(r)
+}
+
+/*
+DcimInterfaceVdcAssignmentsBulkPartialUpdate Method for DcimInterfaceVdcAssignmentsBulkPartialUpdate
+
+Partial update a list of interface vdc assignment objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiDcimInterfaceVdcAssignmentsBulkPartialUpdateRequest
+*/
+func (a *DcimAPIService) DcimInterfaceVdcAssignmentsBulkPartialUpdate(ctx context.Context) ApiDcimInterfaceVdcAssignmentsBulkPartialUpdateRequest {
+ return ApiDcimInterfaceVdcAssignmentsBulkPartialUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return []InterfaceVDCAssignment
+func (a *DcimAPIService) DcimInterfaceVdcAssignmentsBulkPartialUpdateExecute(r ApiDcimInterfaceVdcAssignmentsBulkPartialUpdateRequest) ([]InterfaceVDCAssignment, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPatch
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue []InterfaceVDCAssignment
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimInterfaceVdcAssignmentsBulkPartialUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/interface-vdc-assignments/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.patchedBulkWritableInterfaceVDCAssignmentRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritableInterfaceVDCAssignmentRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.patchedBulkWritableInterfaceVDCAssignmentRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiDcimInterfaceVdcAssignmentsBulkUpdateRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ bulkWritableInterfaceVDCAssignmentRequest *[]BulkWritableInterfaceVDCAssignmentRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiDcimInterfaceVdcAssignmentsBulkUpdateRequest) BulkWritableInterfaceVDCAssignmentRequest(bulkWritableInterfaceVDCAssignmentRequest []BulkWritableInterfaceVDCAssignmentRequest) ApiDcimInterfaceVdcAssignmentsBulkUpdateRequest {
+ r.bulkWritableInterfaceVDCAssignmentRequest = &bulkWritableInterfaceVDCAssignmentRequest
+ return r
+}
+
+func (r ApiDcimInterfaceVdcAssignmentsBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfaceVdcAssignmentsBulkUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiDcimInterfaceVdcAssignmentsBulkUpdateRequest) Execute() ([]InterfaceVDCAssignment, *http.Response, error) {
+ return r.ApiService.DcimInterfaceVdcAssignmentsBulkUpdateExecute(r)
+}
+
+/*
+DcimInterfaceVdcAssignmentsBulkUpdate Method for DcimInterfaceVdcAssignmentsBulkUpdate
+
+Update a list of interface vdc assignment objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiDcimInterfaceVdcAssignmentsBulkUpdateRequest
+*/
+func (a *DcimAPIService) DcimInterfaceVdcAssignmentsBulkUpdate(ctx context.Context) ApiDcimInterfaceVdcAssignmentsBulkUpdateRequest {
+ return ApiDcimInterfaceVdcAssignmentsBulkUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return []InterfaceVDCAssignment
+func (a *DcimAPIService) DcimInterfaceVdcAssignmentsBulkUpdateExecute(r ApiDcimInterfaceVdcAssignmentsBulkUpdateRequest) ([]InterfaceVDCAssignment, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPut
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue []InterfaceVDCAssignment
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimInterfaceVdcAssignmentsBulkUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/interface-vdc-assignments/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.bulkWritableInterfaceVDCAssignmentRequest == nil {
+ return localVarReturnValue, nil, reportError("bulkWritableInterfaceVDCAssignmentRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.bulkWritableInterfaceVDCAssignmentRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiDcimInterfaceVdcAssignmentsCreateRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ interfaceVDCAssignmentRequest *InterfaceVDCAssignmentRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiDcimInterfaceVdcAssignmentsCreateRequest) InterfaceVDCAssignmentRequest(interfaceVDCAssignmentRequest InterfaceVDCAssignmentRequest) ApiDcimInterfaceVdcAssignmentsCreateRequest {
+ r.interfaceVDCAssignmentRequest = &interfaceVDCAssignmentRequest
+ return r
+}
+
+func (r ApiDcimInterfaceVdcAssignmentsCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfaceVdcAssignmentsCreateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiDcimInterfaceVdcAssignmentsCreateRequest) Execute() (*InterfaceVDCAssignment, *http.Response, error) {
+ return r.ApiService.DcimInterfaceVdcAssignmentsCreateExecute(r)
+}
+
+/*
+DcimInterfaceVdcAssignmentsCreate Method for DcimInterfaceVdcAssignmentsCreate
+
+Create one or more interface vdc assignment objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiDcimInterfaceVdcAssignmentsCreateRequest
+*/
+func (a *DcimAPIService) DcimInterfaceVdcAssignmentsCreate(ctx context.Context) ApiDcimInterfaceVdcAssignmentsCreateRequest {
+ return ApiDcimInterfaceVdcAssignmentsCreateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return InterfaceVDCAssignment
+func (a *DcimAPIService) DcimInterfaceVdcAssignmentsCreateExecute(r ApiDcimInterfaceVdcAssignmentsCreateRequest) (*InterfaceVDCAssignment, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPost
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *InterfaceVDCAssignment
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimInterfaceVdcAssignmentsCreate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/interface-vdc-assignments/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.interfaceVDCAssignmentRequest == nil {
+ return localVarReturnValue, nil, reportError("interfaceVDCAssignmentRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.interfaceVDCAssignmentRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiDcimInterfaceVdcAssignmentsDestroyRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiDcimInterfaceVdcAssignmentsDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfaceVdcAssignmentsDestroyRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiDcimInterfaceVdcAssignmentsDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimInterfaceVdcAssignmentsDestroyExecute(r)
+}
+
+/*
+DcimInterfaceVdcAssignmentsDestroy Method for DcimInterfaceVdcAssignmentsDestroy
+
+Destroy a interface vdc assignment object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this interface vdc assignment.
+ @return ApiDcimInterfaceVdcAssignmentsDestroyRequest
+*/
+func (a *DcimAPIService) DcimInterfaceVdcAssignmentsDestroy(ctx context.Context, id string) ApiDcimInterfaceVdcAssignmentsDestroyRequest {
+ return ApiDcimInterfaceVdcAssignmentsDestroyRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+func (a *DcimAPIService) DcimInterfaceVdcAssignmentsDestroyExecute(r ApiDcimInterfaceVdcAssignmentsDestroyRequest) (*http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodDelete
+ localVarPostBody interface{}
+ formFiles []formFile
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimInterfaceVdcAssignmentsDestroy")
+ if err != nil {
+ return nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/interface-vdc-assignments/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarHTTPResponse, newErr
+ }
+
+ return localVarHTTPResponse, nil
+}
+
+type ApiDcimInterfaceVdcAssignmentsListRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ created *[]time.Time
+ device *[]string
+ deviceIsnull *bool
+ deviceN *[]string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ id *[]string
+ idN *[]string
+ interface_ *[]string
+ interfaceN *[]string
+ lastUpdated *[]time.Time
+ limit *int32
+ offset *int32
+ q *string
+ sort *string
+ virtualDeviceContext *[]string
+ virtualDeviceContextN *[]string
+ depth *int32
+ excludeM2m *bool
+}
+
+func (r ApiDcimInterfaceVdcAssignmentsListRequest) Created(created []time.Time) ApiDcimInterfaceVdcAssignmentsListRequest {
+ r.created = &created
+ return r
+}
+
+func (r ApiDcimInterfaceVdcAssignmentsListRequest) Device(device []string) ApiDcimInterfaceVdcAssignmentsListRequest {
+ r.device = &device
+ return r
+}
+
+// Device (name or ID) is null
+func (r ApiDcimInterfaceVdcAssignmentsListRequest) DeviceIsnull(deviceIsnull bool) ApiDcimInterfaceVdcAssignmentsListRequest {
+ r.deviceIsnull = &deviceIsnull
+ return r
+}
+
+func (r ApiDcimInterfaceVdcAssignmentsListRequest) DeviceN(deviceN []string) ApiDcimInterfaceVdcAssignmentsListRequest {
+ r.deviceN = &deviceN
+ return r
+}
+
+func (r ApiDcimInterfaceVdcAssignmentsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfaceVdcAssignmentsListRequest {
+ r.format = &format
+ return r
+}
+
+// Unique object identifier, either a UUID primary key or a composite key.
+func (r ApiDcimInterfaceVdcAssignmentsListRequest) Id(id []string) ApiDcimInterfaceVdcAssignmentsListRequest {
+ r.id = &id
+ return r
+}
+
+func (r ApiDcimInterfaceVdcAssignmentsListRequest) IdN(idN []string) ApiDcimInterfaceVdcAssignmentsListRequest {
+ r.idN = &idN
+ return r
+}
+
+func (r ApiDcimInterfaceVdcAssignmentsListRequest) Interface_(interface_ []string) ApiDcimInterfaceVdcAssignmentsListRequest {
+ r.interface_ = &interface_
+ return r
+}
+
+func (r ApiDcimInterfaceVdcAssignmentsListRequest) InterfaceN(interfaceN []string) ApiDcimInterfaceVdcAssignmentsListRequest {
+ r.interfaceN = &interfaceN
+ return r
+}
+
+func (r ApiDcimInterfaceVdcAssignmentsListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimInterfaceVdcAssignmentsListRequest {
+ r.lastUpdated = &lastUpdated
+ return r
+}
+
+// Number of results to return per page.
+func (r ApiDcimInterfaceVdcAssignmentsListRequest) Limit(limit int32) ApiDcimInterfaceVdcAssignmentsListRequest {
+ r.limit = &limit
+ return r
+}
+
+// The initial index from which to return the results.
+func (r ApiDcimInterfaceVdcAssignmentsListRequest) Offset(offset int32) ApiDcimInterfaceVdcAssignmentsListRequest {
+ r.offset = &offset
+ return r
+}
+
+// Search
+func (r ApiDcimInterfaceVdcAssignmentsListRequest) Q(q string) ApiDcimInterfaceVdcAssignmentsListRequest {
+ r.q = &q
+ return r
+}
+
+// Which field to use when ordering the results.
+func (r ApiDcimInterfaceVdcAssignmentsListRequest) Sort(sort string) ApiDcimInterfaceVdcAssignmentsListRequest {
+ r.sort = &sort
+ return r
+}
+
+func (r ApiDcimInterfaceVdcAssignmentsListRequest) VirtualDeviceContext(virtualDeviceContext []string) ApiDcimInterfaceVdcAssignmentsListRequest {
+ r.virtualDeviceContext = &virtualDeviceContext
+ return r
+}
+
+func (r ApiDcimInterfaceVdcAssignmentsListRequest) VirtualDeviceContextN(virtualDeviceContextN []string) ApiDcimInterfaceVdcAssignmentsListRequest {
+ r.virtualDeviceContextN = &virtualDeviceContextN
+ return r
+}
+
+// Serializer Depth
+func (r ApiDcimInterfaceVdcAssignmentsListRequest) Depth(depth int32) ApiDcimInterfaceVdcAssignmentsListRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiDcimInterfaceVdcAssignmentsListRequest) ExcludeM2m(excludeM2m bool) ApiDcimInterfaceVdcAssignmentsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimInterfaceVdcAssignmentsListRequest) Execute() (*PaginatedInterfaceVDCAssignmentList, *http.Response, error) {
+ return r.ApiService.DcimInterfaceVdcAssignmentsListExecute(r)
+}
+
+/*
+DcimInterfaceVdcAssignmentsList Method for DcimInterfaceVdcAssignmentsList
+
+Retrieve a list of interface vdc assignment objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiDcimInterfaceVdcAssignmentsListRequest
+*/
+func (a *DcimAPIService) DcimInterfaceVdcAssignmentsList(ctx context.Context) ApiDcimInterfaceVdcAssignmentsListRequest {
+ return ApiDcimInterfaceVdcAssignmentsListRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return PaginatedInterfaceVDCAssignmentList
+func (a *DcimAPIService) DcimInterfaceVdcAssignmentsListExecute(r ApiDcimInterfaceVdcAssignmentsListRequest) (*PaginatedInterfaceVDCAssignmentList, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *PaginatedInterfaceVDCAssignmentList
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimInterfaceVdcAssignmentsList")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/interface-vdc-assignments/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.created != nil {
+ t := *r.created
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created", t, "form", "multi")
+ }
+ }
+ if r.device != nil {
+ t := *r.device
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device", t, "form", "multi")
+ }
+ }
+ if r.deviceIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device__isnull", r.deviceIsnull, "form", "")
+ }
+ if r.deviceN != nil {
+ t := *r.deviceN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device__n", t, "form", "multi")
+ }
+ }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.id != nil {
+ t := *r.id
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ }
+ }
+ if r.idN != nil {
+ t := *r.idN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
+ }
+ }
+ if r.interface_ != nil {
+ t := *r.interface_
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "interface", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "interface", t, "form", "multi")
+ }
+ }
+ if r.interfaceN != nil {
+ t := *r.interfaceN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "interface__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "interface__n", t, "form", "multi")
+ }
+ }
+ if r.lastUpdated != nil {
+ t := *r.lastUpdated
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "form", "multi")
+ }
+ }
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ }
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+ }
+ if r.q != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
+ }
+ if r.sort != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
+ }
+ if r.virtualDeviceContext != nil {
+ t := *r.virtualDeviceContext
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_device_context", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_device_context", t, "form", "multi")
+ }
+ }
+ if r.virtualDeviceContextN != nil {
+ t := *r.virtualDeviceContextN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_device_context__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_device_context__n", t, "form", "multi")
+ }
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiDcimInterfaceVdcAssignmentsPartialUpdateRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ patchedInterfaceVDCAssignmentRequest *PatchedInterfaceVDCAssignmentRequest
+}
+
+func (r ApiDcimInterfaceVdcAssignmentsPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfaceVdcAssignmentsPartialUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiDcimInterfaceVdcAssignmentsPartialUpdateRequest) PatchedInterfaceVDCAssignmentRequest(patchedInterfaceVDCAssignmentRequest PatchedInterfaceVDCAssignmentRequest) ApiDcimInterfaceVdcAssignmentsPartialUpdateRequest {
+ r.patchedInterfaceVDCAssignmentRequest = &patchedInterfaceVDCAssignmentRequest
+ return r
+}
+
+func (r ApiDcimInterfaceVdcAssignmentsPartialUpdateRequest) Execute() (*InterfaceVDCAssignment, *http.Response, error) {
+ return r.ApiService.DcimInterfaceVdcAssignmentsPartialUpdateExecute(r)
+}
+
+/*
+DcimInterfaceVdcAssignmentsPartialUpdate Method for DcimInterfaceVdcAssignmentsPartialUpdate
+
+Partial update a interface vdc assignment object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this interface vdc assignment.
+ @return ApiDcimInterfaceVdcAssignmentsPartialUpdateRequest
+*/
+func (a *DcimAPIService) DcimInterfaceVdcAssignmentsPartialUpdate(ctx context.Context, id string) ApiDcimInterfaceVdcAssignmentsPartialUpdateRequest {
+ return ApiDcimInterfaceVdcAssignmentsPartialUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return InterfaceVDCAssignment
+func (a *DcimAPIService) DcimInterfaceVdcAssignmentsPartialUpdateExecute(r ApiDcimInterfaceVdcAssignmentsPartialUpdateRequest) (*InterfaceVDCAssignment, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPatch
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *InterfaceVDCAssignment
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimInterfaceVdcAssignmentsPartialUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/interface-vdc-assignments/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.patchedInterfaceVDCAssignmentRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiDcimInterfaceVdcAssignmentsRetrieveRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimInterfaceTemplatesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfaceTemplatesRetrieveRequest {
+func (r ApiDcimInterfaceVdcAssignmentsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfaceVdcAssignmentsRetrieveRequest {
r.format = &format
return r
}
// Serializer Depth
-func (r ApiDcimInterfaceTemplatesRetrieveRequest) Depth(depth int32) ApiDcimInterfaceTemplatesRetrieveRequest {
+func (r ApiDcimInterfaceVdcAssignmentsRetrieveRequest) Depth(depth int32) ApiDcimInterfaceVdcAssignmentsRetrieveRequest {
r.depth = &depth
return r
}
-func (r ApiDcimInterfaceTemplatesRetrieveRequest) Execute() (*InterfaceTemplate, *http.Response, error) {
- return r.ApiService.DcimInterfaceTemplatesRetrieveExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimInterfaceVdcAssignmentsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimInterfaceVdcAssignmentsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimInterfaceVdcAssignmentsRetrieveRequest) Execute() (*InterfaceVDCAssignment, *http.Response, error) {
+ return r.ApiService.DcimInterfaceVdcAssignmentsRetrieveExecute(r)
}
/*
-DcimInterfaceTemplatesRetrieve Method for DcimInterfaceTemplatesRetrieve
+DcimInterfaceVdcAssignmentsRetrieve Method for DcimInterfaceVdcAssignmentsRetrieve
-Retrieve a interface template object.
+Retrieve a interface vdc assignment object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this interface template.
- @return ApiDcimInterfaceTemplatesRetrieveRequest
+ @param id A UUID string identifying this interface vdc assignment.
+ @return ApiDcimInterfaceVdcAssignmentsRetrieveRequest
*/
-func (a *DcimAPIService) DcimInterfaceTemplatesRetrieve(ctx context.Context, id string) ApiDcimInterfaceTemplatesRetrieveRequest {
- return ApiDcimInterfaceTemplatesRetrieveRequest{
+func (a *DcimAPIService) DcimInterfaceVdcAssignmentsRetrieve(ctx context.Context, id string) ApiDcimInterfaceVdcAssignmentsRetrieveRequest {
+ return ApiDcimInterfaceVdcAssignmentsRetrieveRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -58797,21 +56174,21 @@ func (a *DcimAPIService) DcimInterfaceTemplatesRetrieve(ctx context.Context, id
}
// Execute executes the request
-// @return InterfaceTemplate
-func (a *DcimAPIService) DcimInterfaceTemplatesRetrieveExecute(r ApiDcimInterfaceTemplatesRetrieveRequest) (*InterfaceTemplate, *http.Response, error) {
+// @return InterfaceVDCAssignment
+func (a *DcimAPIService) DcimInterfaceVdcAssignmentsRetrieveExecute(r ApiDcimInterfaceVdcAssignmentsRetrieveRequest) (*InterfaceVDCAssignment, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *InterfaceTemplate
+ localVarReturnValue *InterfaceVDCAssignment
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimInterfaceTemplatesRetrieve")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimInterfaceVdcAssignmentsRetrieve")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/interface-templates/{id}/"
+ localVarPath := localBasePath + "/dcim/interface-vdc-assignments/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -58824,8 +56201,16 @@ func (a *DcimAPIService) DcimInterfaceTemplatesRetrieveExecute(r ApiDcimInterfac
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -58895,39 +56280,39 @@ func (a *DcimAPIService) DcimInterfaceTemplatesRetrieveExecute(r ApiDcimInterfac
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimInterfaceTemplatesUpdateRequest struct {
+type ApiDcimInterfaceVdcAssignmentsUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
- writableInterfaceTemplateRequest *WritableInterfaceTemplateRequest
+ interfaceVDCAssignmentRequest *InterfaceVDCAssignmentRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimInterfaceTemplatesUpdateRequest) WritableInterfaceTemplateRequest(writableInterfaceTemplateRequest WritableInterfaceTemplateRequest) ApiDcimInterfaceTemplatesUpdateRequest {
- r.writableInterfaceTemplateRequest = &writableInterfaceTemplateRequest
+func (r ApiDcimInterfaceVdcAssignmentsUpdateRequest) InterfaceVDCAssignmentRequest(interfaceVDCAssignmentRequest InterfaceVDCAssignmentRequest) ApiDcimInterfaceVdcAssignmentsUpdateRequest {
+ r.interfaceVDCAssignmentRequest = &interfaceVDCAssignmentRequest
return r
}
-func (r ApiDcimInterfaceTemplatesUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfaceTemplatesUpdateRequest {
+func (r ApiDcimInterfaceVdcAssignmentsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfaceVdcAssignmentsUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimInterfaceTemplatesUpdateRequest) Execute() (*InterfaceTemplate, *http.Response, error) {
- return r.ApiService.DcimInterfaceTemplatesUpdateExecute(r)
+func (r ApiDcimInterfaceVdcAssignmentsUpdateRequest) Execute() (*InterfaceVDCAssignment, *http.Response, error) {
+ return r.ApiService.DcimInterfaceVdcAssignmentsUpdateExecute(r)
}
/*
-DcimInterfaceTemplatesUpdate Method for DcimInterfaceTemplatesUpdate
+DcimInterfaceVdcAssignmentsUpdate Method for DcimInterfaceVdcAssignmentsUpdate
-Update a interface template object.
+Update a interface vdc assignment object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this interface template.
- @return ApiDcimInterfaceTemplatesUpdateRequest
+ @param id A UUID string identifying this interface vdc assignment.
+ @return ApiDcimInterfaceVdcAssignmentsUpdateRequest
*/
-func (a *DcimAPIService) DcimInterfaceTemplatesUpdate(ctx context.Context, id string) ApiDcimInterfaceTemplatesUpdateRequest {
- return ApiDcimInterfaceTemplatesUpdateRequest{
+func (a *DcimAPIService) DcimInterfaceVdcAssignmentsUpdate(ctx context.Context, id string) ApiDcimInterfaceVdcAssignmentsUpdateRequest {
+ return ApiDcimInterfaceVdcAssignmentsUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -58935,28 +56320,28 @@ func (a *DcimAPIService) DcimInterfaceTemplatesUpdate(ctx context.Context, id st
}
// Execute executes the request
-// @return InterfaceTemplate
-func (a *DcimAPIService) DcimInterfaceTemplatesUpdateExecute(r ApiDcimInterfaceTemplatesUpdateRequest) (*InterfaceTemplate, *http.Response, error) {
+// @return InterfaceVDCAssignment
+func (a *DcimAPIService) DcimInterfaceVdcAssignmentsUpdateExecute(r ApiDcimInterfaceVdcAssignmentsUpdateRequest) (*InterfaceVDCAssignment, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *InterfaceTemplate
+ localVarReturnValue *InterfaceVDCAssignment
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimInterfaceTemplatesUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimInterfaceVdcAssignmentsUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/interface-templates/{id}/"
+ localVarPath := localBasePath + "/dcim/interface-vdc-assignments/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.writableInterfaceTemplateRequest == nil {
- return localVarReturnValue, nil, reportError("writableInterfaceTemplateRequest is required and must be specified")
+ if r.interfaceVDCAssignmentRequest == nil {
+ return localVarReturnValue, nil, reportError("interfaceVDCAssignmentRequest is required and must be specified")
}
if r.format != nil {
@@ -58980,7 +56365,7 @@ func (a *DcimAPIService) DcimInterfaceTemplatesUpdateExecute(r ApiDcimInterfaceT
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.writableInterfaceTemplateRequest
+ localVarPostBody = r.interfaceVDCAssignmentRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -59686,7 +57071,7 @@ type ApiDcimInterfacesListRequest struct {
connected *bool
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
description *[]string
descriptionIc *[]string
descriptionIe *[]string
@@ -59705,31 +57090,22 @@ type ApiDcimInterfacesListRequest struct {
deviceId *[]string
deviceWithCommonVc *string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
enabled *bool
format *CircuitsCircuitTerminationsListFormatParameter
hasBridgedInterfaces *bool
hasCable *bool
hasChildInterfaces *bool
+ hasIpAddresses *bool
hasMemberInterfaces *bool
hasTaggedVlans *bool
+ hasVirtualDeviceContexts *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
interfaceRedundancyGroups *[]string
interfaceRedundancyGroupsIsnull *bool
interfaceRedundancyGroupsN *[]string
+ ipAddresses *[]string
kind *string
label *[]string
labelIc *[]string
@@ -59814,10 +57190,10 @@ type ApiDcimInterfacesListRequest struct {
q *string
role *[]string
roleIsnull *bool
- roleN *string
+ roleN *[]string
sort *string
status *[]string
- statusN *string
+ statusN *[]string
taggedVlans *[]string
taggedVlansN *[]string
tags *[]string
@@ -59825,7 +57201,7 @@ type ApiDcimInterfacesListRequest struct {
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
type_ *[]string
typeIc *[]string
typeIe *[]string
@@ -59843,9 +57219,13 @@ type ApiDcimInterfacesListRequest struct {
untaggedVlan *[]string
untaggedVlanIsnull *bool
untaggedVlanN *[]string
+ virtualDeviceContexts *[]string
+ virtualDeviceContextsIsnull *bool
+ virtualDeviceContextsN *[]string
vlan *float32
vlanId *string
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimInterfacesListRequest) Bridge(bridge []string) ApiDcimInterfacesListRequest {
@@ -59930,8 +57310,7 @@ func (r ApiDcimInterfacesListRequest) ContactsIsnull(contactsIsnull bool) ApiDci
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimInterfacesListRequest) ContactsN(contactsN string) ApiDcimInterfacesListRequest {
+func (r ApiDcimInterfacesListRequest) ContactsN(contactsN []string) ApiDcimInterfacesListRequest {
r.contactsN = &contactsN
return r
}
@@ -60028,8 +57407,7 @@ func (r ApiDcimInterfacesListRequest) DynamicGroups(dynamicGroups []string) ApiD
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimInterfacesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimInterfacesListRequest {
+func (r ApiDcimInterfacesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimInterfacesListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -60062,6 +57440,12 @@ func (r ApiDcimInterfacesListRequest) HasChildInterfaces(hasChildInterfaces bool
return r
}
+// Has IP addresses
+func (r ApiDcimInterfacesListRequest) HasIpAddresses(hasIpAddresses bool) ApiDcimInterfacesListRequest {
+ r.hasIpAddresses = &hasIpAddresses
+ return r
+}
+
// Has member interfaces
func (r ApiDcimInterfacesListRequest) HasMemberInterfaces(hasMemberInterfaces bool) ApiDcimInterfacesListRequest {
r.hasMemberInterfaces = &hasMemberInterfaces
@@ -60074,34 +57458,15 @@ func (r ApiDcimInterfacesListRequest) HasTaggedVlans(hasTaggedVlans bool) ApiDci
return r
}
-// Unique object identifier, either a UUID primary key or a composite key.
-func (r ApiDcimInterfacesListRequest) Id(id []string) ApiDcimInterfacesListRequest {
- r.id = &id
- return r
-}
-
-func (r ApiDcimInterfacesListRequest) IdIc(idIc []string) ApiDcimInterfacesListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiDcimInterfacesListRequest) IdIe(idIe []string) ApiDcimInterfacesListRequest {
- r.idIe = &idIe
+// Has Virtual Device Context
+func (r ApiDcimInterfacesListRequest) HasVirtualDeviceContexts(hasVirtualDeviceContexts bool) ApiDcimInterfacesListRequest {
+ r.hasVirtualDeviceContexts = &hasVirtualDeviceContexts
return r
}
-func (r ApiDcimInterfacesListRequest) IdIew(idIew []string) ApiDcimInterfacesListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiDcimInterfacesListRequest) IdIre(idIre []string) ApiDcimInterfacesListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiDcimInterfacesListRequest) IdIsw(idIsw []string) ApiDcimInterfacesListRequest {
- r.idIsw = &idIsw
+// Unique object identifier, either a UUID primary key or a composite key.
+func (r ApiDcimInterfacesListRequest) Id(id []string) ApiDcimInterfacesListRequest {
+ r.id = &id
return r
}
@@ -60110,41 +57475,6 @@ func (r ApiDcimInterfacesListRequest) IdN(idN []string) ApiDcimInterfacesListReq
return r
}
-func (r ApiDcimInterfacesListRequest) IdNic(idNic []string) ApiDcimInterfacesListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiDcimInterfacesListRequest) IdNie(idNie []string) ApiDcimInterfacesListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiDcimInterfacesListRequest) IdNiew(idNiew []string) ApiDcimInterfacesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiDcimInterfacesListRequest) IdNire(idNire []string) ApiDcimInterfacesListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiDcimInterfacesListRequest) IdNisw(idNisw []string) ApiDcimInterfacesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiDcimInterfacesListRequest) IdNre(idNre []string) ApiDcimInterfacesListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiDcimInterfacesListRequest) IdRe(idRe []string) ApiDcimInterfacesListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiDcimInterfacesListRequest) InterfaceRedundancyGroups(interfaceRedundancyGroups []string) ApiDcimInterfacesListRequest {
r.interfaceRedundancyGroups = &interfaceRedundancyGroups
return r
@@ -60160,6 +57490,12 @@ func (r ApiDcimInterfacesListRequest) InterfaceRedundancyGroupsN(interfaceRedund
return r
}
+// IP addresses (address or ID)
+func (r ApiDcimInterfacesListRequest) IpAddresses(ipAddresses []string) ApiDcimInterfacesListRequest {
+ r.ipAddresses = &ipAddresses
+ return r
+}
+
// Kind of interface
func (r ApiDcimInterfacesListRequest) Kind(kind string) ApiDcimInterfacesListRequest {
r.kind = &kind
@@ -60589,8 +57925,7 @@ func (r ApiDcimInterfacesListRequest) RoleIsnull(roleIsnull bool) ApiDcimInterfa
return r
}
-// Exclude Role (name or ID)
-func (r ApiDcimInterfacesListRequest) RoleN(roleN string) ApiDcimInterfacesListRequest {
+func (r ApiDcimInterfacesListRequest) RoleN(roleN []string) ApiDcimInterfacesListRequest {
r.roleN = &roleN
return r
}
@@ -60606,8 +57941,7 @@ func (r ApiDcimInterfacesListRequest) Status(status []string) ApiDcimInterfacesL
return r
}
-// Exclude Status (name or ID)
-func (r ApiDcimInterfacesListRequest) StatusN(statusN string) ApiDcimInterfacesListRequest {
+func (r ApiDcimInterfacesListRequest) StatusN(statusN []string) ApiDcimInterfacesListRequest {
r.statusN = &statusN
return r
}
@@ -60648,8 +57982,7 @@ func (r ApiDcimInterfacesListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimInter
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimInterfacesListRequest) TeamsN(teamsN string) ApiDcimInterfacesListRequest {
+func (r ApiDcimInterfacesListRequest) TeamsN(teamsN []string) ApiDcimInterfacesListRequest {
r.teamsN = &teamsN
return r
}
@@ -60740,6 +58073,22 @@ func (r ApiDcimInterfacesListRequest) UntaggedVlanN(untaggedVlanN []string) ApiD
return r
}
+func (r ApiDcimInterfacesListRequest) VirtualDeviceContexts(virtualDeviceContexts []string) ApiDcimInterfacesListRequest {
+ r.virtualDeviceContexts = &virtualDeviceContexts
+ return r
+}
+
+// Virtual Device Context (name or ID) is null
+func (r ApiDcimInterfacesListRequest) VirtualDeviceContextsIsnull(virtualDeviceContextsIsnull bool) ApiDcimInterfacesListRequest {
+ r.virtualDeviceContextsIsnull = &virtualDeviceContextsIsnull
+ return r
+}
+
+func (r ApiDcimInterfacesListRequest) VirtualDeviceContextsN(virtualDeviceContextsN []string) ApiDcimInterfacesListRequest {
+ r.virtualDeviceContextsN = &virtualDeviceContextsN
+ return r
+}
+
// Assigned VID
func (r ApiDcimInterfacesListRequest) Vlan(vlan float32) ApiDcimInterfacesListRequest {
r.vlan = &vlan
@@ -60758,6 +58107,12 @@ func (r ApiDcimInterfacesListRequest) Depth(depth int32) ApiDcimInterfacesListRe
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimInterfacesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimInterfacesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimInterfacesListRequest) Execute() (*PaginatedInterfaceList, *http.Response, error) {
return r.ApiService.DcimInterfacesListExecute(r)
}
@@ -60916,7 +58271,15 @@ func (a *DcimAPIService) DcimInterfacesListExecute(r ApiDcimInterfacesListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.description != nil {
t := *r.description
@@ -61109,7 +58472,15 @@ func (a *DcimAPIService) DcimInterfacesListExecute(r ApiDcimInterfacesListReques
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.enabled != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "enabled", r.enabled, "form", "")
@@ -61126,12 +58497,18 @@ func (a *DcimAPIService) DcimInterfacesListExecute(r ApiDcimInterfacesListReques
if r.hasChildInterfaces != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "has_child_interfaces", r.hasChildInterfaces, "form", "")
}
+ if r.hasIpAddresses != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_ip_addresses", r.hasIpAddresses, "form", "")
+ }
if r.hasMemberInterfaces != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "has_member_interfaces", r.hasMemberInterfaces, "form", "")
}
if r.hasTaggedVlans != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "has_tagged_vlans", r.hasTaggedVlans, "form", "")
}
+ if r.hasVirtualDeviceContexts != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_virtual_device_contexts", r.hasVirtualDeviceContexts, "form", "")
+ }
if r.id != nil {
t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -61143,61 +58520,6 @@ func (a *DcimAPIService) DcimInterfacesListExecute(r ApiDcimInterfacesListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -61209,83 +58531,6 @@ func (a *DcimAPIService) DcimInterfacesListExecute(r ApiDcimInterfacesListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.interfaceRedundancyGroups != nil {
t := *r.interfaceRedundancyGroups
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -61311,6 +58556,17 @@ func (a *DcimAPIService) DcimInterfacesListExecute(r ApiDcimInterfacesListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "interface_redundancy_groups__n", t, "form", "multi")
}
}
+ if r.ipAddresses != nil {
+ t := *r.ipAddresses
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ip_addresses", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ip_addresses", t, "form", "multi")
+ }
+ }
if r.kind != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "kind", r.kind, "form", "")
}
@@ -62148,7 +59404,15 @@ func (a *DcimAPIService) DcimInterfacesListExecute(r ApiDcimInterfacesListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "role__isnull", r.roleIsnull, "form", "")
}
if r.roleN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", r.roleN, "form", "")
+ t := *r.roleN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", t, "form", "multi")
+ }
}
if r.sort != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
@@ -62165,7 +59429,15 @@ func (a *DcimAPIService) DcimInterfacesListExecute(r ApiDcimInterfacesListReques
}
}
if r.statusN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", r.statusN, "form", "")
+ t := *r.statusN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "form", "multi")
+ }
}
if r.taggedVlans != nil {
t := *r.taggedVlans
@@ -62229,7 +59501,15 @@ func (a *DcimAPIService) DcimInterfacesListExecute(r ApiDcimInterfacesListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.type_ != nil {
t := *r.type_
@@ -62410,6 +59690,31 @@ func (a *DcimAPIService) DcimInterfacesListExecute(r ApiDcimInterfacesListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "untagged_vlan__n", t, "form", "multi")
}
}
+ if r.virtualDeviceContexts != nil {
+ t := *r.virtualDeviceContexts
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_device_contexts", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_device_contexts", t, "form", "multi")
+ }
+ }
+ if r.virtualDeviceContextsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_device_contexts__isnull", r.virtualDeviceContextsIsnull, "form", "")
+ }
+ if r.virtualDeviceContextsN != nil {
+ t := *r.virtualDeviceContextsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_device_contexts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_device_contexts__n", t, "form", "multi")
+ }
+ }
if r.vlan != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "vlan", r.vlan, "form", "")
}
@@ -62419,8 +59724,16 @@ func (a *DcimAPIService) DcimInterfacesListExecute(r ApiDcimInterfacesListReques
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -62635,6 +59948,7 @@ type ApiDcimInterfacesNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimInterfacesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfacesNotesListRequest {
@@ -62660,6 +59974,12 @@ func (r ApiDcimInterfacesNotesListRequest) Depth(depth int32) ApiDcimInterfacesN
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimInterfacesNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimInterfacesNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimInterfacesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.DcimInterfacesNotesListExecute(r)
}
@@ -62715,8 +60035,16 @@ func (a *DcimAPIService) DcimInterfacesNotesListExecute(r ApiDcimInterfacesNotes
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -62926,6 +60254,7 @@ type ApiDcimInterfacesRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimInterfacesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfacesRetrieveRequest {
@@ -62939,6 +60268,12 @@ func (r ApiDcimInterfacesRetrieveRequest) Depth(depth int32) ApiDcimInterfacesRe
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimInterfacesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimInterfacesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimInterfacesRetrieveRequest) Execute() (*Interface, *http.Response, error) {
return r.ApiService.DcimInterfacesRetrieveExecute(r)
}
@@ -62988,8 +60323,16 @@ func (a *DcimAPIService) DcimInterfacesRetrieveExecute(r ApiDcimInterfacesRetrie
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -63065,6 +60408,7 @@ type ApiDcimInterfacesTraceRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimInterfacesTraceRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInterfacesTraceRetrieveRequest {
@@ -63078,6 +60422,12 @@ func (r ApiDcimInterfacesTraceRetrieveRequest) Depth(depth int32) ApiDcimInterfa
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimInterfacesTraceRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimInterfacesTraceRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimInterfacesTraceRetrieveRequest) Execute() (*Interface, *http.Response, error) {
return r.ApiService.DcimInterfacesTraceRetrieveExecute(r)
}
@@ -63127,8 +60477,16 @@ func (a *DcimAPIService) DcimInterfacesTraceRetrieveExecute(r ApiDcimInterfacesT
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -63994,7 +61352,7 @@ type ApiDcimInventoryItemsListRequest struct {
childrenN *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
description *[]string
descriptionIc *[]string
descriptionIe *[]string
@@ -64013,25 +61371,13 @@ type ApiDcimInventoryItemsListRequest struct {
deviceN *[]string
discovered *bool
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
hasChildren *bool
hasSoftwareImageFiles *bool
hasSoftwareVersion *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
label *[]string
labelIc *[]string
labelIe *[]string
@@ -64086,6 +61432,19 @@ type ApiDcimInventoryItemsListRequest struct {
partIdRe *[]string
q *string
serial *[]string
+ serialIc *[]string
+ serialIe *[]string
+ serialIew *[]string
+ serialIre *[]string
+ serialIsw *[]string
+ serialN *[]string
+ serialNic *[]string
+ serialNie *[]string
+ serialNiew *[]string
+ serialNire *[]string
+ serialNisw *[]string
+ serialNre *[]string
+ serialRe *[]string
softwareImageFiles *[]string
softwareImageFilesN *[]string
softwareVersion *[]string
@@ -64097,8 +61456,9 @@ type ApiDcimInventoryItemsListRequest struct {
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimInventoryItemsListRequest) AssetTag(assetTag []string) ApiDcimInventoryItemsListRequest {
@@ -64203,8 +61563,7 @@ func (r ApiDcimInventoryItemsListRequest) ContactsIsnull(contactsIsnull bool) Ap
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimInventoryItemsListRequest) ContactsN(contactsN string) ApiDcimInventoryItemsListRequest {
+func (r ApiDcimInventoryItemsListRequest) ContactsN(contactsN []string) ApiDcimInventoryItemsListRequest {
r.contactsN = &contactsN
return r
}
@@ -64299,8 +61658,7 @@ func (r ApiDcimInventoryItemsListRequest) DynamicGroups(dynamicGroups []string)
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimInventoryItemsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimInventoryItemsListRequest {
+func (r ApiDcimInventoryItemsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimInventoryItemsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -64334,71 +61692,11 @@ func (r ApiDcimInventoryItemsListRequest) Id(id []string) ApiDcimInventoryItemsL
return r
}
-func (r ApiDcimInventoryItemsListRequest) IdIc(idIc []string) ApiDcimInventoryItemsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiDcimInventoryItemsListRequest) IdIe(idIe []string) ApiDcimInventoryItemsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiDcimInventoryItemsListRequest) IdIew(idIew []string) ApiDcimInventoryItemsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiDcimInventoryItemsListRequest) IdIre(idIre []string) ApiDcimInventoryItemsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiDcimInventoryItemsListRequest) IdIsw(idIsw []string) ApiDcimInventoryItemsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiDcimInventoryItemsListRequest) IdN(idN []string) ApiDcimInventoryItemsListRequest {
r.idN = &idN
return r
}
-func (r ApiDcimInventoryItemsListRequest) IdNic(idNic []string) ApiDcimInventoryItemsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiDcimInventoryItemsListRequest) IdNie(idNie []string) ApiDcimInventoryItemsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiDcimInventoryItemsListRequest) IdNiew(idNiew []string) ApiDcimInventoryItemsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiDcimInventoryItemsListRequest) IdNire(idNire []string) ApiDcimInventoryItemsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiDcimInventoryItemsListRequest) IdNisw(idNisw []string) ApiDcimInventoryItemsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiDcimInventoryItemsListRequest) IdNre(idNre []string) ApiDcimInventoryItemsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiDcimInventoryItemsListRequest) IdRe(idRe []string) ApiDcimInventoryItemsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiDcimInventoryItemsListRequest) Label(label []string) ApiDcimInventoryItemsListRequest {
r.label = &label
return r
@@ -64674,6 +61972,71 @@ func (r ApiDcimInventoryItemsListRequest) Serial(serial []string) ApiDcimInvento
return r
}
+func (r ApiDcimInventoryItemsListRequest) SerialIc(serialIc []string) ApiDcimInventoryItemsListRequest {
+ r.serialIc = &serialIc
+ return r
+}
+
+func (r ApiDcimInventoryItemsListRequest) SerialIe(serialIe []string) ApiDcimInventoryItemsListRequest {
+ r.serialIe = &serialIe
+ return r
+}
+
+func (r ApiDcimInventoryItemsListRequest) SerialIew(serialIew []string) ApiDcimInventoryItemsListRequest {
+ r.serialIew = &serialIew
+ return r
+}
+
+func (r ApiDcimInventoryItemsListRequest) SerialIre(serialIre []string) ApiDcimInventoryItemsListRequest {
+ r.serialIre = &serialIre
+ return r
+}
+
+func (r ApiDcimInventoryItemsListRequest) SerialIsw(serialIsw []string) ApiDcimInventoryItemsListRequest {
+ r.serialIsw = &serialIsw
+ return r
+}
+
+func (r ApiDcimInventoryItemsListRequest) SerialN(serialN []string) ApiDcimInventoryItemsListRequest {
+ r.serialN = &serialN
+ return r
+}
+
+func (r ApiDcimInventoryItemsListRequest) SerialNic(serialNic []string) ApiDcimInventoryItemsListRequest {
+ r.serialNic = &serialNic
+ return r
+}
+
+func (r ApiDcimInventoryItemsListRequest) SerialNie(serialNie []string) ApiDcimInventoryItemsListRequest {
+ r.serialNie = &serialNie
+ return r
+}
+
+func (r ApiDcimInventoryItemsListRequest) SerialNiew(serialNiew []string) ApiDcimInventoryItemsListRequest {
+ r.serialNiew = &serialNiew
+ return r
+}
+
+func (r ApiDcimInventoryItemsListRequest) SerialNire(serialNire []string) ApiDcimInventoryItemsListRequest {
+ r.serialNire = &serialNire
+ return r
+}
+
+func (r ApiDcimInventoryItemsListRequest) SerialNisw(serialNisw []string) ApiDcimInventoryItemsListRequest {
+ r.serialNisw = &serialNisw
+ return r
+}
+
+func (r ApiDcimInventoryItemsListRequest) SerialNre(serialNre []string) ApiDcimInventoryItemsListRequest {
+ r.serialNre = &serialNre
+ return r
+}
+
+func (r ApiDcimInventoryItemsListRequest) SerialRe(serialRe []string) ApiDcimInventoryItemsListRequest {
+ r.serialRe = &serialRe
+ return r
+}
+
func (r ApiDcimInventoryItemsListRequest) SoftwareImageFiles(softwareImageFiles []string) ApiDcimInventoryItemsListRequest {
r.softwareImageFiles = &softwareImageFiles
return r
@@ -64732,8 +62095,7 @@ func (r ApiDcimInventoryItemsListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimI
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimInventoryItemsListRequest) TeamsN(teamsN string) ApiDcimInventoryItemsListRequest {
+func (r ApiDcimInventoryItemsListRequest) TeamsN(teamsN []string) ApiDcimInventoryItemsListRequest {
r.teamsN = &teamsN
return r
}
@@ -64744,6 +62106,12 @@ func (r ApiDcimInventoryItemsListRequest) Depth(depth int32) ApiDcimInventoryIte
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimInventoryItemsListRequest) ExcludeM2m(excludeM2m bool) ApiDcimInventoryItemsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimInventoryItemsListRequest) Execute() (*PaginatedInventoryItemList, *http.Response, error) {
return r.ApiService.DcimInventoryItemsListExecute(r)
}
@@ -64981,7 +62349,15 @@ func (a *DcimAPIService) DcimInventoryItemsListExecute(r ApiDcimInventoryItemsLi
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.description != nil {
t := *r.description
@@ -65174,7 +62550,15 @@ func (a *DcimAPIService) DcimInventoryItemsListExecute(r ApiDcimInventoryItemsLi
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -65199,61 +62583,6 @@ func (a *DcimAPIService) DcimInventoryItemsListExecute(r ApiDcimInventoryItemsLi
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -65265,83 +62594,6 @@ func (a *DcimAPIService) DcimInventoryItemsListExecute(r ApiDcimInventoryItemsLi
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.label != nil {
t := *r.label
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -65896,6 +63148,149 @@ func (a *DcimAPIService) DcimInventoryItemsListExecute(r ApiDcimInventoryItemsLi
parameterAddToHeaderOrQuery(localVarQueryParams, "serial", t, "form", "multi")
}
}
+ if r.serialIc != nil {
+ t := *r.serialIc
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ic", t, "form", "multi")
+ }
+ }
+ if r.serialIe != nil {
+ t := *r.serialIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ie", t, "form", "multi")
+ }
+ }
+ if r.serialIew != nil {
+ t := *r.serialIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__iew", t, "form", "multi")
+ }
+ }
+ if r.serialIre != nil {
+ t := *r.serialIre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ire", t, "form", "multi")
+ }
+ }
+ if r.serialIsw != nil {
+ t := *r.serialIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__isw", t, "form", "multi")
+ }
+ }
+ if r.serialN != nil {
+ t := *r.serialN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__n", t, "form", "multi")
+ }
+ }
+ if r.serialNic != nil {
+ t := *r.serialNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nic", t, "form", "multi")
+ }
+ }
+ if r.serialNie != nil {
+ t := *r.serialNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nie", t, "form", "multi")
+ }
+ }
+ if r.serialNiew != nil {
+ t := *r.serialNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__niew", t, "form", "multi")
+ }
+ }
+ if r.serialNire != nil {
+ t := *r.serialNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nire", t, "form", "multi")
+ }
+ }
+ if r.serialNisw != nil {
+ t := *r.serialNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nisw", t, "form", "multi")
+ }
+ }
+ if r.serialNre != nil {
+ t := *r.serialNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nre", t, "form", "multi")
+ }
+ }
+ if r.serialRe != nil {
+ t := *r.serialRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__re", t, "form", "multi")
+ }
+ }
if r.softwareImageFiles != nil {
t := *r.softwareImageFiles
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -65986,13 +63381,29 @@ func (a *DcimAPIService) DcimInventoryItemsListExecute(r ApiDcimInventoryItemsLi
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -66207,6 +63618,7 @@ type ApiDcimInventoryItemsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimInventoryItemsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInventoryItemsNotesListRequest {
@@ -66232,6 +63644,12 @@ func (r ApiDcimInventoryItemsNotesListRequest) Depth(depth int32) ApiDcimInvento
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimInventoryItemsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimInventoryItemsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimInventoryItemsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.DcimInventoryItemsNotesListExecute(r)
}
@@ -66287,8 +63705,16 @@ func (a *DcimAPIService) DcimInventoryItemsNotesListExecute(r ApiDcimInventoryIt
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -66498,6 +63924,7 @@ type ApiDcimInventoryItemsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimInventoryItemsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimInventoryItemsRetrieveRequest {
@@ -66511,6 +63938,12 @@ func (r ApiDcimInventoryItemsRetrieveRequest) Depth(depth int32) ApiDcimInventor
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimInventoryItemsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimInventoryItemsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimInventoryItemsRetrieveRequest) Execute() (*InventoryItem, *http.Response, error) {
return r.ApiService.DcimInventoryItemsRetrieveExecute(r)
}
@@ -66560,8 +63993,16 @@ func (a *DcimAPIService) DcimInventoryItemsRetrieveExecute(r ApiDcimInventoryIte
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -67409,21 +64850,9 @@ type ApiDcimLocationTypesListRequest struct {
ApiService *DcimAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
contentTypes *[]int32
- contentTypesIc *[]int32
- contentTypesIe *[]int32
- contentTypesIew *[]int32
- contentTypesIre *[]int32
- contentTypesIsw *[]int32
contentTypesN *[]int32
- contentTypesNic *[]int32
- contentTypesNie *[]int32
- contentTypesNiew *[]int32
- contentTypesNire *[]int32
- contentTypesNisw *[]int32
- contentTypesNre *[]int32
- contentTypesRe *[]int32
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -67446,22 +64875,10 @@ type ApiDcimLocationTypesListRequest struct {
descriptionNre *[]string
descriptionRe *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -67493,8 +64910,9 @@ type ApiDcimLocationTypesListRequest struct {
sort *string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimLocationTypesListRequest) Contacts(contacts []string) ApiDcimLocationTypesListRequest {
@@ -67508,8 +64926,7 @@ func (r ApiDcimLocationTypesListRequest) ContactsIsnull(contactsIsnull bool) Api
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimLocationTypesListRequest) ContactsN(contactsN string) ApiDcimLocationTypesListRequest {
+func (r ApiDcimLocationTypesListRequest) ContactsN(contactsN []string) ApiDcimLocationTypesListRequest {
r.contactsN = &contactsN
return r
}
@@ -67519,71 +64936,11 @@ func (r ApiDcimLocationTypesListRequest) ContentTypes(contentTypes []int32) ApiD
return r
}
-func (r ApiDcimLocationTypesListRequest) ContentTypesIc(contentTypesIc []int32) ApiDcimLocationTypesListRequest {
- r.contentTypesIc = &contentTypesIc
- return r
-}
-
-func (r ApiDcimLocationTypesListRequest) ContentTypesIe(contentTypesIe []int32) ApiDcimLocationTypesListRequest {
- r.contentTypesIe = &contentTypesIe
- return r
-}
-
-func (r ApiDcimLocationTypesListRequest) ContentTypesIew(contentTypesIew []int32) ApiDcimLocationTypesListRequest {
- r.contentTypesIew = &contentTypesIew
- return r
-}
-
-func (r ApiDcimLocationTypesListRequest) ContentTypesIre(contentTypesIre []int32) ApiDcimLocationTypesListRequest {
- r.contentTypesIre = &contentTypesIre
- return r
-}
-
-func (r ApiDcimLocationTypesListRequest) ContentTypesIsw(contentTypesIsw []int32) ApiDcimLocationTypesListRequest {
- r.contentTypesIsw = &contentTypesIsw
- return r
-}
-
func (r ApiDcimLocationTypesListRequest) ContentTypesN(contentTypesN []int32) ApiDcimLocationTypesListRequest {
r.contentTypesN = &contentTypesN
return r
}
-func (r ApiDcimLocationTypesListRequest) ContentTypesNic(contentTypesNic []int32) ApiDcimLocationTypesListRequest {
- r.contentTypesNic = &contentTypesNic
- return r
-}
-
-func (r ApiDcimLocationTypesListRequest) ContentTypesNie(contentTypesNie []int32) ApiDcimLocationTypesListRequest {
- r.contentTypesNie = &contentTypesNie
- return r
-}
-
-func (r ApiDcimLocationTypesListRequest) ContentTypesNiew(contentTypesNiew []int32) ApiDcimLocationTypesListRequest {
- r.contentTypesNiew = &contentTypesNiew
- return r
-}
-
-func (r ApiDcimLocationTypesListRequest) ContentTypesNire(contentTypesNire []int32) ApiDcimLocationTypesListRequest {
- r.contentTypesNire = &contentTypesNire
- return r
-}
-
-func (r ApiDcimLocationTypesListRequest) ContentTypesNisw(contentTypesNisw []int32) ApiDcimLocationTypesListRequest {
- r.contentTypesNisw = &contentTypesNisw
- return r
-}
-
-func (r ApiDcimLocationTypesListRequest) ContentTypesNre(contentTypesNre []int32) ApiDcimLocationTypesListRequest {
- r.contentTypesNre = &contentTypesNre
- return r
-}
-
-func (r ApiDcimLocationTypesListRequest) ContentTypesRe(contentTypesRe []int32) ApiDcimLocationTypesListRequest {
- r.contentTypesRe = &contentTypesRe
- return r
-}
-
func (r ApiDcimLocationTypesListRequest) Created(created []time.Time) ApiDcimLocationTypesListRequest {
r.created = &created
return r
@@ -67694,8 +65051,7 @@ func (r ApiDcimLocationTypesListRequest) DynamicGroups(dynamicGroups []string) A
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimLocationTypesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimLocationTypesListRequest {
+func (r ApiDcimLocationTypesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimLocationTypesListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -67711,71 +65067,11 @@ func (r ApiDcimLocationTypesListRequest) Id(id []string) ApiDcimLocationTypesLis
return r
}
-func (r ApiDcimLocationTypesListRequest) IdIc(idIc []string) ApiDcimLocationTypesListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiDcimLocationTypesListRequest) IdIe(idIe []string) ApiDcimLocationTypesListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiDcimLocationTypesListRequest) IdIew(idIew []string) ApiDcimLocationTypesListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiDcimLocationTypesListRequest) IdIre(idIre []string) ApiDcimLocationTypesListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiDcimLocationTypesListRequest) IdIsw(idIsw []string) ApiDcimLocationTypesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiDcimLocationTypesListRequest) IdN(idN []string) ApiDcimLocationTypesListRequest {
r.idN = &idN
return r
}
-func (r ApiDcimLocationTypesListRequest) IdNic(idNic []string) ApiDcimLocationTypesListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiDcimLocationTypesListRequest) IdNie(idNie []string) ApiDcimLocationTypesListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiDcimLocationTypesListRequest) IdNiew(idNiew []string) ApiDcimLocationTypesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiDcimLocationTypesListRequest) IdNire(idNire []string) ApiDcimLocationTypesListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiDcimLocationTypesListRequest) IdNisw(idNisw []string) ApiDcimLocationTypesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiDcimLocationTypesListRequest) IdNre(idNre []string) ApiDcimLocationTypesListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiDcimLocationTypesListRequest) IdRe(idRe []string) ApiDcimLocationTypesListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiDcimLocationTypesListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimLocationTypesListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -67937,8 +65233,7 @@ func (r ApiDcimLocationTypesListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimLo
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimLocationTypesListRequest) TeamsN(teamsN string) ApiDcimLocationTypesListRequest {
+func (r ApiDcimLocationTypesListRequest) TeamsN(teamsN []string) ApiDcimLocationTypesListRequest {
r.teamsN = &teamsN
return r
}
@@ -67949,6 +65244,12 @@ func (r ApiDcimLocationTypesListRequest) Depth(depth int32) ApiDcimLocationTypes
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimLocationTypesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimLocationTypesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimLocationTypesListRequest) Execute() (*PaginatedLocationTypeList, *http.Response, error) {
return r.ApiService.DcimLocationTypesListExecute(r)
}
@@ -68004,72 +65305,25 @@ func (a *DcimAPIService) DcimLocationTypesListExecute(r ApiDcimLocationTypesList
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
- }
- if r.contentTypes != nil {
- t := *r.contentTypes
+ t := *r.contactsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
}
}
- if r.contentTypesIc != nil {
- t := *r.contentTypesIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ic", t, "form", "multi")
- }
- }
- if r.contentTypesIe != nil {
- t := *r.contentTypesIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ie", t, "form", "multi")
- }
- }
- if r.contentTypesIew != nil {
- t := *r.contentTypesIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__iew", t, "form", "multi")
- }
- }
- if r.contentTypesIre != nil {
- t := *r.contentTypesIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ire", t, "form", "multi")
- }
- }
- if r.contentTypesIsw != nil {
- t := *r.contentTypesIsw
+ if r.contentTypes != nil {
+ t := *r.contentTypes
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", t, "form", "multi")
}
}
if r.contentTypesN != nil {
@@ -68083,83 +65337,6 @@ func (a *DcimAPIService) DcimLocationTypesListExecute(r ApiDcimLocationTypesList
parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__n", t, "form", "multi")
}
}
- if r.contentTypesNic != nil {
- t := *r.contentTypesNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nic", t, "form", "multi")
- }
- }
- if r.contentTypesNie != nil {
- t := *r.contentTypesNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nie", t, "form", "multi")
- }
- }
- if r.contentTypesNiew != nil {
- t := *r.contentTypesNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__niew", t, "form", "multi")
- }
- }
- if r.contentTypesNire != nil {
- t := *r.contentTypesNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nire", t, "form", "multi")
- }
- }
- if r.contentTypesNisw != nil {
- t := *r.contentTypesNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nisw", t, "form", "multi")
- }
- }
- if r.contentTypesNre != nil {
- t := *r.contentTypesNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nre", t, "form", "multi")
- }
- }
- if r.contentTypesRe != nil {
- t := *r.contentTypesRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__re", t, "form", "multi")
- }
- }
if r.created != nil {
t := *r.created
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -68395,75 +65572,28 @@ func (a *DcimAPIService) DcimLocationTypesListExecute(r ApiDcimLocationTypesList
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.id != nil {
- t := *r.id
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
- }
- }
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
if r.idN != nil {
@@ -68477,83 +65607,6 @@ func (a *DcimAPIService) DcimLocationTypesListExecute(r ApiDcimLocationTypesList
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -68832,13 +65885,29 @@ func (a *DcimAPIService) DcimLocationTypesListExecute(r ApiDcimLocationTypesList
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -69053,6 +66122,7 @@ type ApiDcimLocationTypesNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimLocationTypesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimLocationTypesNotesListRequest {
@@ -69078,6 +66148,12 @@ func (r ApiDcimLocationTypesNotesListRequest) Depth(depth int32) ApiDcimLocation
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimLocationTypesNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimLocationTypesNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimLocationTypesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.DcimLocationTypesNotesListExecute(r)
}
@@ -69133,8 +66209,16 @@ func (a *DcimAPIService) DcimLocationTypesNotesListExecute(r ApiDcimLocationType
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -69344,6 +66428,7 @@ type ApiDcimLocationTypesRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimLocationTypesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimLocationTypesRetrieveRequest {
@@ -69357,6 +66442,12 @@ func (r ApiDcimLocationTypesRetrieveRequest) Depth(depth int32) ApiDcimLocationT
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimLocationTypesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimLocationTypesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimLocationTypesRetrieveRequest) Execute() (*LocationType, *http.Response, error) {
return r.ApiService.DcimLocationTypesRetrieveExecute(r)
}
@@ -69406,8 +66497,16 @@ func (a *DcimAPIService) DcimLocationTypesRetrieveExecute(r ApiDcimLocationTypes
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -70325,21 +67424,9 @@ type ApiDcimLocationsListRequest struct {
contactPhoneRe *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
contentType *[]int32
- contentTypeIc *[]int32
- contentTypeIe *[]int32
- contentTypeIew *[]int32
- contentTypeIre *[]int32
- contentTypeIsw *[]int32
contentTypeN *[]int32
- contentTypeNic *[]int32
- contentTypeNie *[]int32
- contentTypeNiew *[]int32
- contentTypeNire *[]int32
- contentTypeNisw *[]int32
- contentTypeNre *[]int32
- contentTypeRe *[]int32
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -70365,7 +67452,7 @@ type ApiDcimLocationsListRequest struct {
devicesIsnull *bool
devicesN *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
facility *[]string
facilityIc *[]string
facilityIe *[]string
@@ -70391,19 +67478,7 @@ type ApiDcimLocationsListRequest struct {
hasVlanGroups *bool
hasVlans *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -70489,14 +67564,14 @@ type ApiDcimLocationsListRequest struct {
shippingAddressRe *[]string
sort *string
status *[]string
- statusN *string
+ statusN *[]string
subtree *[]string
tags *[]string
tagsIsnull *bool
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
tenant *[]string
tenantIsnull *bool
tenantN *[]string
@@ -70507,19 +67582,19 @@ type ApiDcimLocationsListRequest struct {
tenantIdIsnull *bool
tenantIdN *[]*string
timeZone *[]DcimLocationsListTimeZoneParameterInner
- timeZoneIc *[]DcimLocationsListTimeZoneParameterInner
- timeZoneIe *[]DcimLocationsListTimeZoneParameterInner
- timeZoneIew *[]DcimLocationsListTimeZoneParameterInner
- timeZoneIre *[]DcimLocationsListTimeZoneParameterInner
- timeZoneIsw *[]DcimLocationsListTimeZoneParameterInner
- timeZoneN *[]DcimLocationsListTimeZoneParameterInner
- timeZoneNic *[]DcimLocationsListTimeZoneParameterInner
- timeZoneNie *[]DcimLocationsListTimeZoneParameterInner
- timeZoneNiew *[]DcimLocationsListTimeZoneParameterInner
- timeZoneNire *[]DcimLocationsListTimeZoneParameterInner
- timeZoneNisw *[]DcimLocationsListTimeZoneParameterInner
- timeZoneNre *[]DcimLocationsListTimeZoneParameterInner
- timeZoneRe *[]DcimLocationsListTimeZoneParameterInner
+ timeZoneIc *[]string
+ timeZoneIe *[]string
+ timeZoneIew *[]string
+ timeZoneIre *[]string
+ timeZoneIsw *[]string
+ timeZoneN *[]string
+ timeZoneNic *[]string
+ timeZoneNie *[]string
+ timeZoneNiew *[]string
+ timeZoneNire *[]string
+ timeZoneNisw *[]string
+ timeZoneNre *[]string
+ timeZoneRe *[]string
vlanGroups *[]string
vlanGroupsIsnull *bool
vlanGroupsN *[]string
@@ -70527,6 +67602,7 @@ type ApiDcimLocationsListRequest struct {
vlansIsnull *bool
vlansN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimLocationsListRequest) Asn(asn []int32) ApiDcimLocationsListRequest {
@@ -70891,8 +67967,7 @@ func (r ApiDcimLocationsListRequest) ContactsIsnull(contactsIsnull bool) ApiDcim
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimLocationsListRequest) ContactsN(contactsN string) ApiDcimLocationsListRequest {
+func (r ApiDcimLocationsListRequest) ContactsN(contactsN []string) ApiDcimLocationsListRequest {
r.contactsN = &contactsN
return r
}
@@ -70903,84 +67978,12 @@ func (r ApiDcimLocationsListRequest) ContentType(contentType []int32) ApiDcimLoc
return r
}
-// Object types allowed to be associated with this Location Type contains
-func (r ApiDcimLocationsListRequest) ContentTypeIc(contentTypeIc []int32) ApiDcimLocationsListRequest {
- r.contentTypeIc = &contentTypeIc
- return r
-}
-
-// Object types allowed to be associated with this Location Type
-func (r ApiDcimLocationsListRequest) ContentTypeIe(contentTypeIe []int32) ApiDcimLocationsListRequest {
- r.contentTypeIe = &contentTypeIe
- return r
-}
-
-// Object types allowed to be associated with this Location Type ends with
-func (r ApiDcimLocationsListRequest) ContentTypeIew(contentTypeIew []int32) ApiDcimLocationsListRequest {
- r.contentTypeIew = &contentTypeIew
- return r
-}
-
-// Object types allowed to be associated with this Location Type matches regex
-func (r ApiDcimLocationsListRequest) ContentTypeIre(contentTypeIre []int32) ApiDcimLocationsListRequest {
- r.contentTypeIre = &contentTypeIre
- return r
-}
-
-// Object types allowed to be associated with this Location Type starts with
-func (r ApiDcimLocationsListRequest) ContentTypeIsw(contentTypeIsw []int32) ApiDcimLocationsListRequest {
- r.contentTypeIsw = &contentTypeIsw
- return r
-}
-
// Exclude Object types allowed to be associated with this Location Type
func (r ApiDcimLocationsListRequest) ContentTypeN(contentTypeN []int32) ApiDcimLocationsListRequest {
r.contentTypeN = &contentTypeN
return r
}
-// Exclude Object types allowed to be associated with this Location Type contains
-func (r ApiDcimLocationsListRequest) ContentTypeNic(contentTypeNic []int32) ApiDcimLocationsListRequest {
- r.contentTypeNic = &contentTypeNic
- return r
-}
-
-// Exclude Object types allowed to be associated with this Location Type
-func (r ApiDcimLocationsListRequest) ContentTypeNie(contentTypeNie []int32) ApiDcimLocationsListRequest {
- r.contentTypeNie = &contentTypeNie
- return r
-}
-
-// Exclude Object types allowed to be associated with this Location Type ends with
-func (r ApiDcimLocationsListRequest) ContentTypeNiew(contentTypeNiew []int32) ApiDcimLocationsListRequest {
- r.contentTypeNiew = &contentTypeNiew
- return r
-}
-
-// Exclude Object types allowed to be associated with this Location Type matches regex
-func (r ApiDcimLocationsListRequest) ContentTypeNire(contentTypeNire []int32) ApiDcimLocationsListRequest {
- r.contentTypeNire = &contentTypeNire
- return r
-}
-
-// Exclude Object types allowed to be associated with this Location Type starts with
-func (r ApiDcimLocationsListRequest) ContentTypeNisw(contentTypeNisw []int32) ApiDcimLocationsListRequest {
- r.contentTypeNisw = &contentTypeNisw
- return r
-}
-
-// Exclude Object types allowed to be associated with this Location Type matches regex
-func (r ApiDcimLocationsListRequest) ContentTypeNre(contentTypeNre []int32) ApiDcimLocationsListRequest {
- r.contentTypeNre = &contentTypeNre
- return r
-}
-
-// Object types allowed to be associated with this Location Type matches regex
-func (r ApiDcimLocationsListRequest) ContentTypeRe(contentTypeRe []int32) ApiDcimLocationsListRequest {
- r.contentTypeRe = &contentTypeRe
- return r
-}
-
func (r ApiDcimLocationsListRequest) Created(created []time.Time) ApiDcimLocationsListRequest {
r.created = &created
return r
@@ -71107,8 +68110,7 @@ func (r ApiDcimLocationsListRequest) DynamicGroups(dynamicGroups []string) ApiDc
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimLocationsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimLocationsListRequest {
+func (r ApiDcimLocationsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimLocationsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -71248,71 +68250,11 @@ func (r ApiDcimLocationsListRequest) Id(id []string) ApiDcimLocationsListRequest
return r
}
-func (r ApiDcimLocationsListRequest) IdIc(idIc []string) ApiDcimLocationsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiDcimLocationsListRequest) IdIe(idIe []string) ApiDcimLocationsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiDcimLocationsListRequest) IdIew(idIew []string) ApiDcimLocationsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiDcimLocationsListRequest) IdIre(idIre []string) ApiDcimLocationsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiDcimLocationsListRequest) IdIsw(idIsw []string) ApiDcimLocationsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiDcimLocationsListRequest) IdN(idN []string) ApiDcimLocationsListRequest {
r.idN = &idN
return r
}
-func (r ApiDcimLocationsListRequest) IdNic(idNic []string) ApiDcimLocationsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiDcimLocationsListRequest) IdNie(idNie []string) ApiDcimLocationsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiDcimLocationsListRequest) IdNiew(idNiew []string) ApiDcimLocationsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiDcimLocationsListRequest) IdNire(idNire []string) ApiDcimLocationsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiDcimLocationsListRequest) IdNisw(idNisw []string) ApiDcimLocationsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiDcimLocationsListRequest) IdNre(idNre []string) ApiDcimLocationsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiDcimLocationsListRequest) IdRe(idRe []string) ApiDcimLocationsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiDcimLocationsListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimLocationsListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -71746,8 +68688,7 @@ func (r ApiDcimLocationsListRequest) Status(status []string) ApiDcimLocationsLis
return r
}
-// Exclude Status (name or ID)
-func (r ApiDcimLocationsListRequest) StatusN(statusN string) ApiDcimLocationsListRequest {
+func (r ApiDcimLocationsListRequest) StatusN(statusN []string) ApiDcimLocationsListRequest {
r.statusN = &statusN
return r
}
@@ -71783,8 +68724,7 @@ func (r ApiDcimLocationsListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimLocati
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimLocationsListRequest) TeamsN(teamsN string) ApiDcimLocationsListRequest {
+func (r ApiDcimLocationsListRequest) TeamsN(teamsN []string) ApiDcimLocationsListRequest {
r.teamsN = &teamsN
return r
}
@@ -71845,80 +68785,80 @@ func (r ApiDcimLocationsListRequest) TimeZone(timeZone []DcimLocationsListTimeZo
return r
}
-// Time zone
-func (r ApiDcimLocationsListRequest) TimeZoneIc(timeZoneIc []DcimLocationsListTimeZoneParameterInner) ApiDcimLocationsListRequest {
+// Time zone
+func (r ApiDcimLocationsListRequest) TimeZoneIc(timeZoneIc []string) ApiDcimLocationsListRequest {
r.timeZoneIc = &timeZoneIc
return r
}
-// Time zone
-func (r ApiDcimLocationsListRequest) TimeZoneIe(timeZoneIe []DcimLocationsListTimeZoneParameterInner) ApiDcimLocationsListRequest {
+// Time zone
+func (r ApiDcimLocationsListRequest) TimeZoneIe(timeZoneIe []string) ApiDcimLocationsListRequest {
r.timeZoneIe = &timeZoneIe
return r
}
-// Time zone
-func (r ApiDcimLocationsListRequest) TimeZoneIew(timeZoneIew []DcimLocationsListTimeZoneParameterInner) ApiDcimLocationsListRequest {
+// Time zone
+func (r ApiDcimLocationsListRequest) TimeZoneIew(timeZoneIew []string) ApiDcimLocationsListRequest {
r.timeZoneIew = &timeZoneIew
return r
}
-// Time zone
-func (r ApiDcimLocationsListRequest) TimeZoneIre(timeZoneIre []DcimLocationsListTimeZoneParameterInner) ApiDcimLocationsListRequest {
+// Time zone
+func (r ApiDcimLocationsListRequest) TimeZoneIre(timeZoneIre []string) ApiDcimLocationsListRequest {
r.timeZoneIre = &timeZoneIre
return r
}
-// Time zone
-func (r ApiDcimLocationsListRequest) TimeZoneIsw(timeZoneIsw []DcimLocationsListTimeZoneParameterInner) ApiDcimLocationsListRequest {
+// Time zone
+func (r ApiDcimLocationsListRequest) TimeZoneIsw(timeZoneIsw []string) ApiDcimLocationsListRequest {
r.timeZoneIsw = &timeZoneIsw
return r
}
-// Time zone
-func (r ApiDcimLocationsListRequest) TimeZoneN(timeZoneN []DcimLocationsListTimeZoneParameterInner) ApiDcimLocationsListRequest {
+// Time zone
+func (r ApiDcimLocationsListRequest) TimeZoneN(timeZoneN []string) ApiDcimLocationsListRequest {
r.timeZoneN = &timeZoneN
return r
}
-// Time zone
-func (r ApiDcimLocationsListRequest) TimeZoneNic(timeZoneNic []DcimLocationsListTimeZoneParameterInner) ApiDcimLocationsListRequest {
+// Time zone
+func (r ApiDcimLocationsListRequest) TimeZoneNic(timeZoneNic []string) ApiDcimLocationsListRequest {
r.timeZoneNic = &timeZoneNic
return r
}
-// Time zone
-func (r ApiDcimLocationsListRequest) TimeZoneNie(timeZoneNie []DcimLocationsListTimeZoneParameterInner) ApiDcimLocationsListRequest {
+// Time zone
+func (r ApiDcimLocationsListRequest) TimeZoneNie(timeZoneNie []string) ApiDcimLocationsListRequest {
r.timeZoneNie = &timeZoneNie
return r
}
-// Time zone
-func (r ApiDcimLocationsListRequest) TimeZoneNiew(timeZoneNiew []DcimLocationsListTimeZoneParameterInner) ApiDcimLocationsListRequest {
+// Time zone
+func (r ApiDcimLocationsListRequest) TimeZoneNiew(timeZoneNiew []string) ApiDcimLocationsListRequest {
r.timeZoneNiew = &timeZoneNiew
return r
}
-// Time zone
-func (r ApiDcimLocationsListRequest) TimeZoneNire(timeZoneNire []DcimLocationsListTimeZoneParameterInner) ApiDcimLocationsListRequest {
+// Time zone
+func (r ApiDcimLocationsListRequest) TimeZoneNire(timeZoneNire []string) ApiDcimLocationsListRequest {
r.timeZoneNire = &timeZoneNire
return r
}
-// Time zone
-func (r ApiDcimLocationsListRequest) TimeZoneNisw(timeZoneNisw []DcimLocationsListTimeZoneParameterInner) ApiDcimLocationsListRequest {
+// Time zone
+func (r ApiDcimLocationsListRequest) TimeZoneNisw(timeZoneNisw []string) ApiDcimLocationsListRequest {
r.timeZoneNisw = &timeZoneNisw
return r
}
-// Time zone
-func (r ApiDcimLocationsListRequest) TimeZoneNre(timeZoneNre []DcimLocationsListTimeZoneParameterInner) ApiDcimLocationsListRequest {
+// Time zone
+func (r ApiDcimLocationsListRequest) TimeZoneNre(timeZoneNre []string) ApiDcimLocationsListRequest {
r.timeZoneNre = &timeZoneNre
return r
}
-// Time zone
-func (r ApiDcimLocationsListRequest) TimeZoneRe(timeZoneRe []DcimLocationsListTimeZoneParameterInner) ApiDcimLocationsListRequest {
+// Time zone
+func (r ApiDcimLocationsListRequest) TimeZoneRe(timeZoneRe []string) ApiDcimLocationsListRequest {
r.timeZoneRe = &timeZoneRe
return r
}
@@ -71961,6 +68901,12 @@ func (r ApiDcimLocationsListRequest) Depth(depth int32) ApiDcimLocationsListRequ
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimLocationsListRequest) ExcludeM2m(excludeM2m bool) ApiDcimLocationsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimLocationsListRequest) Execute() (*PaginatedLocationList, *http.Response, error) {
return r.ApiService.DcimLocationsListExecute(r)
}
@@ -72762,72 +69708,25 @@ func (a *DcimAPIService) DcimLocationsListExecute(r ApiDcimLocationsListRequest)
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
- }
- if r.contentType != nil {
- t := *r.contentType
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_type", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_type", t, "form", "multi")
- }
- }
- if r.contentTypeIc != nil {
- t := *r.contentTypeIc
+ t := *r.contactsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_type__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_type__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
}
}
- if r.contentTypeIe != nil {
- t := *r.contentTypeIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_type__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_type__ie", t, "form", "multi")
- }
- }
- if r.contentTypeIew != nil {
- t := *r.contentTypeIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_type__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_type__iew", t, "form", "multi")
- }
- }
- if r.contentTypeIre != nil {
- t := *r.contentTypeIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_type__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_type__ire", t, "form", "multi")
- }
- }
- if r.contentTypeIsw != nil {
- t := *r.contentTypeIsw
+ if r.contentType != nil {
+ t := *r.contentType
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_type__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "content_type", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_type__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "content_type", t, "form", "multi")
}
}
if r.contentTypeN != nil {
@@ -72841,83 +69740,6 @@ func (a *DcimAPIService) DcimLocationsListExecute(r ApiDcimLocationsListRequest)
parameterAddToHeaderOrQuery(localVarQueryParams, "content_type__n", t, "form", "multi")
}
}
- if r.contentTypeNic != nil {
- t := *r.contentTypeNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_type__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_type__nic", t, "form", "multi")
- }
- }
- if r.contentTypeNie != nil {
- t := *r.contentTypeNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_type__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_type__nie", t, "form", "multi")
- }
- }
- if r.contentTypeNiew != nil {
- t := *r.contentTypeNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_type__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_type__niew", t, "form", "multi")
- }
- }
- if r.contentTypeNire != nil {
- t := *r.contentTypeNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_type__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_type__nire", t, "form", "multi")
- }
- }
- if r.contentTypeNisw != nil {
- t := *r.contentTypeNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_type__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_type__nisw", t, "form", "multi")
- }
- }
- if r.contentTypeNre != nil {
- t := *r.contentTypeNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_type__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_type__nre", t, "form", "multi")
- }
- }
- if r.contentTypeRe != nil {
- t := *r.contentTypeRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_type__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_type__re", t, "form", "multi")
- }
- }
if r.created != nil {
t := *r.created
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -73178,7 +70000,15 @@ func (a *DcimAPIService) DcimLocationsListExecute(r ApiDcimLocationsListRequest)
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.facility != nil {
t := *r.facility
@@ -73375,61 +70205,6 @@ func (a *DcimAPIService) DcimLocationsListExecute(r ApiDcimLocationsListRequest)
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -73441,83 +70216,6 @@ func (a *DcimAPIService) DcimLocationsListExecute(r ApiDcimLocationsListRequest)
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -74358,7 +71056,15 @@ func (a *DcimAPIService) DcimLocationsListExecute(r ApiDcimLocationsListRequest)
}
}
if r.statusN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", r.statusN, "form", "")
+ t := *r.statusN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "form", "multi")
+ }
}
if r.subtree != nil {
t := *r.subtree
@@ -74411,7 +71117,15 @@ func (a *DcimAPIService) DcimLocationsListExecute(r ApiDcimLocationsListRequest)
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.tenant != nil {
t := *r.tenant
@@ -74695,8 +71409,16 @@ func (a *DcimAPIService) DcimLocationsListExecute(r ApiDcimLocationsListRequest)
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -74911,6 +71633,7 @@ type ApiDcimLocationsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimLocationsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimLocationsNotesListRequest {
@@ -74936,6 +71659,12 @@ func (r ApiDcimLocationsNotesListRequest) Depth(depth int32) ApiDcimLocationsNot
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimLocationsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimLocationsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimLocationsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.DcimLocationsNotesListExecute(r)
}
@@ -74991,281 +71720,16 @@ func (a *DcimAPIService) DcimLocationsNotesListExecute(r ApiDcimLocationsNotesLi
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiDcimLocationsPartialUpdateRequest struct {
- ctx context.Context
- ApiService *DcimAPIService
- id string
- format *CircuitsCircuitTerminationsListFormatParameter
- patchedLocationRequest *PatchedLocationRequest
-}
-
-func (r ApiDcimLocationsPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimLocationsPartialUpdateRequest {
- r.format = &format
- return r
-}
-
-func (r ApiDcimLocationsPartialUpdateRequest) PatchedLocationRequest(patchedLocationRequest PatchedLocationRequest) ApiDcimLocationsPartialUpdateRequest {
- r.patchedLocationRequest = &patchedLocationRequest
- return r
-}
-
-func (r ApiDcimLocationsPartialUpdateRequest) Execute() (*Location, *http.Response, error) {
- return r.ApiService.DcimLocationsPartialUpdateExecute(r)
-}
-
-/*
-DcimLocationsPartialUpdate Method for DcimLocationsPartialUpdate
-
-Partial update a location object.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this location.
- @return ApiDcimLocationsPartialUpdateRequest
-*/
-func (a *DcimAPIService) DcimLocationsPartialUpdate(ctx context.Context, id string) ApiDcimLocationsPartialUpdateRequest {
- return ApiDcimLocationsPartialUpdateRequest{
- ApiService: a,
- ctx: ctx,
- id: id,
- }
-}
-
-// Execute executes the request
-// @return Location
-func (a *DcimAPIService) DcimLocationsPartialUpdateExecute(r ApiDcimLocationsPartialUpdateRequest) (*Location, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPatch
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *Location
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimLocationsPartialUpdate")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/dcim/locations/{id}/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.patchedLocationRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
}
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiDcimLocationsRetrieveRequest struct {
- ctx context.Context
- ApiService *DcimAPIService
- id string
- format *CircuitsCircuitTerminationsListFormatParameter
- depth *int32
-}
-
-func (r ApiDcimLocationsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimLocationsRetrieveRequest {
- r.format = &format
- return r
-}
-
-// Serializer Depth
-func (r ApiDcimLocationsRetrieveRequest) Depth(depth int32) ApiDcimLocationsRetrieveRequest {
- r.depth = &depth
- return r
-}
-
-func (r ApiDcimLocationsRetrieveRequest) Execute() (*Location, *http.Response, error) {
- return r.ApiService.DcimLocationsRetrieveExecute(r)
-}
-
-/*
-DcimLocationsRetrieve Method for DcimLocationsRetrieve
-
-Retrieve a location object.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this location.
- @return ApiDcimLocationsRetrieveRequest
-*/
-func (a *DcimAPIService) DcimLocationsRetrieve(ctx context.Context, id string) ApiDcimLocationsRetrieveRequest {
- return ApiDcimLocationsRetrieveRequest{
- ApiService: a,
- ctx: ctx,
- id: id,
- }
-}
-
-// Execute executes the request
-// @return Location
-func (a *DcimAPIService) DcimLocationsRetrieveExecute(r ApiDcimLocationsRetrieveRequest) (*Location, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *Location
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimLocationsRetrieve")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/dcim/locations/{id}/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.depth != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -75335,39 +71799,39 @@ func (a *DcimAPIService) DcimLocationsRetrieveExecute(r ApiDcimLocationsRetrieve
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimLocationsUpdateRequest struct {
+type ApiDcimLocationsPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
- locationRequest *LocationRequest
format *CircuitsCircuitTerminationsListFormatParameter
+ patchedLocationRequest *PatchedLocationRequest
}
-func (r ApiDcimLocationsUpdateRequest) LocationRequest(locationRequest LocationRequest) ApiDcimLocationsUpdateRequest {
- r.locationRequest = &locationRequest
+func (r ApiDcimLocationsPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimLocationsPartialUpdateRequest {
+ r.format = &format
return r
}
-func (r ApiDcimLocationsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimLocationsUpdateRequest {
- r.format = &format
+func (r ApiDcimLocationsPartialUpdateRequest) PatchedLocationRequest(patchedLocationRequest PatchedLocationRequest) ApiDcimLocationsPartialUpdateRequest {
+ r.patchedLocationRequest = &patchedLocationRequest
return r
}
-func (r ApiDcimLocationsUpdateRequest) Execute() (*Location, *http.Response, error) {
- return r.ApiService.DcimLocationsUpdateExecute(r)
+func (r ApiDcimLocationsPartialUpdateRequest) Execute() (*Location, *http.Response, error) {
+ return r.ApiService.DcimLocationsPartialUpdateExecute(r)
}
/*
-DcimLocationsUpdate Method for DcimLocationsUpdate
+DcimLocationsPartialUpdate Method for DcimLocationsPartialUpdate
-Update a location object.
+Partial update a location object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id A UUID string identifying this location.
- @return ApiDcimLocationsUpdateRequest
+ @return ApiDcimLocationsPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimLocationsUpdate(ctx context.Context, id string) ApiDcimLocationsUpdateRequest {
- return ApiDcimLocationsUpdateRequest{
+func (a *DcimAPIService) DcimLocationsPartialUpdate(ctx context.Context, id string) ApiDcimLocationsPartialUpdateRequest {
+ return ApiDcimLocationsPartialUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -75376,15 +71840,15 @@ func (a *DcimAPIService) DcimLocationsUpdate(ctx context.Context, id string) Api
// Execute executes the request
// @return Location
-func (a *DcimAPIService) DcimLocationsUpdateExecute(r ApiDcimLocationsUpdateRequest) (*Location, *http.Response, error) {
+func (a *DcimAPIService) DcimLocationsPartialUpdateExecute(r ApiDcimLocationsPartialUpdateRequest) (*Location, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPut
+ localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
localVarReturnValue *Location
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimLocationsUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimLocationsPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -75395,9 +71859,6 @@ func (a *DcimAPIService) DcimLocationsUpdateExecute(r ApiDcimLocationsUpdateRequ
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.locationRequest == nil {
- return localVarReturnValue, nil, reportError("locationRequest is required and must be specified")
- }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -75420,7 +71881,7 @@ func (a *DcimAPIService) DcimLocationsUpdateExecute(r ApiDcimLocationsUpdateRequ
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.locationRequest
+ localVarPostBody = r.patchedLocationRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -75472,69 +71933,94 @@ func (a *DcimAPIService) DcimLocationsUpdateExecute(r ApiDcimLocationsUpdateRequ
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimManufacturersBulkDestroyRequest struct {
+type ApiDcimLocationsRetrieveRequest struct {
ctx context.Context
ApiService *DcimAPIService
- bulkOperationRequest *[]BulkOperationRequest
+ id string
format *CircuitsCircuitTerminationsListFormatParameter
+ depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimManufacturersBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimManufacturersBulkDestroyRequest {
- r.bulkOperationRequest = &bulkOperationRequest
+func (r ApiDcimLocationsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimLocationsRetrieveRequest {
+ r.format = &format
return r
}
-func (r ApiDcimManufacturersBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimManufacturersBulkDestroyRequest {
- r.format = &format
+// Serializer Depth
+func (r ApiDcimLocationsRetrieveRequest) Depth(depth int32) ApiDcimLocationsRetrieveRequest {
+ r.depth = &depth
return r
}
-func (r ApiDcimManufacturersBulkDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimManufacturersBulkDestroyExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimLocationsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimLocationsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimLocationsRetrieveRequest) Execute() (*Location, *http.Response, error) {
+ return r.ApiService.DcimLocationsRetrieveExecute(r)
}
/*
-DcimManufacturersBulkDestroy Method for DcimManufacturersBulkDestroy
+DcimLocationsRetrieve Method for DcimLocationsRetrieve
-Destroy a list of manufacturer objects.
+Retrieve a location object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimManufacturersBulkDestroyRequest
+ @param id A UUID string identifying this location.
+ @return ApiDcimLocationsRetrieveRequest
*/
-func (a *DcimAPIService) DcimManufacturersBulkDestroy(ctx context.Context) ApiDcimManufacturersBulkDestroyRequest {
- return ApiDcimManufacturersBulkDestroyRequest{
+func (a *DcimAPIService) DcimLocationsRetrieve(ctx context.Context, id string) ApiDcimLocationsRetrieveRequest {
+ return ApiDcimLocationsRetrieveRequest{
ApiService: a,
ctx: ctx,
+ id: id,
}
}
// Execute executes the request
-func (a *DcimAPIService) DcimManufacturersBulkDestroyExecute(r ApiDcimManufacturersBulkDestroyRequest) (*http.Response, error) {
+// @return Location
+func (a *DcimAPIService) DcimLocationsRetrieveExecute(r ApiDcimLocationsRetrieveRequest) (*Location, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodDelete
+ localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
+ localVarReturnValue *Location
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimManufacturersBulkDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimLocationsRetrieve")
if err != nil {
- return nil, &GenericOpenAPIError{error: err.Error()}
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/manufacturers/"
+ localVarPath := localBasePath + "/dcim/locations/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.bulkOperationRequest == nil {
- return nil, reportError("bulkOperationRequest is required and must be specified")
- }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+ localVarHTTPContentTypes := []string{}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -75543,15 +72029,13 @@ func (a *DcimAPIService) DcimManufacturersBulkDestroyExecute(r ApiDcimManufactur
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{}
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
if localVarHTTPHeaderAccept != "" {
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
- // body params
- localVarPostBody = r.bulkOperationRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -75568,19 +72052,19 @@ func (a *DcimAPIService) DcimManufacturersBulkDestroyExecute(r ApiDcimManufactur
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
- return nil, err
+ return localVarReturnValue, nil, err
}
localVarHTTPResponse, err := a.client.callAPI(req)
if err != nil || localVarHTTPResponse == nil {
- return localVarHTTPResponse, err
+ return localVarReturnValue, localVarHTTPResponse, err
}
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
- return localVarHTTPResponse, err
+ return localVarReturnValue, localVarHTTPResponse, err
}
if localVarHTTPResponse.StatusCode >= 300 {
@@ -75588,70 +72072,83 @@ func (a *DcimAPIService) DcimManufacturersBulkDestroyExecute(r ApiDcimManufactur
body: localVarBody,
error: localVarHTTPResponse.Status,
}
- return localVarHTTPResponse, newErr
+ return localVarReturnValue, localVarHTTPResponse, newErr
}
- return localVarHTTPResponse, nil
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimManufacturersBulkPartialUpdateRequest struct {
+type ApiDcimLocationsUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- patchedBulkWritableManufacturerRequest *[]PatchedBulkWritableManufacturerRequest
+ id string
+ locationRequest *LocationRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimManufacturersBulkPartialUpdateRequest) PatchedBulkWritableManufacturerRequest(patchedBulkWritableManufacturerRequest []PatchedBulkWritableManufacturerRequest) ApiDcimManufacturersBulkPartialUpdateRequest {
- r.patchedBulkWritableManufacturerRequest = &patchedBulkWritableManufacturerRequest
+func (r ApiDcimLocationsUpdateRequest) LocationRequest(locationRequest LocationRequest) ApiDcimLocationsUpdateRequest {
+ r.locationRequest = &locationRequest
return r
}
-func (r ApiDcimManufacturersBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimManufacturersBulkPartialUpdateRequest {
+func (r ApiDcimLocationsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimLocationsUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimManufacturersBulkPartialUpdateRequest) Execute() ([]Manufacturer, *http.Response, error) {
- return r.ApiService.DcimManufacturersBulkPartialUpdateExecute(r)
+func (r ApiDcimLocationsUpdateRequest) Execute() (*Location, *http.Response, error) {
+ return r.ApiService.DcimLocationsUpdateExecute(r)
}
/*
-DcimManufacturersBulkPartialUpdate Method for DcimManufacturersBulkPartialUpdate
+DcimLocationsUpdate Method for DcimLocationsUpdate
-Partial update a list of manufacturer objects.
+Update a location object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimManufacturersBulkPartialUpdateRequest
+ @param id A UUID string identifying this location.
+ @return ApiDcimLocationsUpdateRequest
*/
-func (a *DcimAPIService) DcimManufacturersBulkPartialUpdate(ctx context.Context) ApiDcimManufacturersBulkPartialUpdateRequest {
- return ApiDcimManufacturersBulkPartialUpdateRequest{
+func (a *DcimAPIService) DcimLocationsUpdate(ctx context.Context, id string) ApiDcimLocationsUpdateRequest {
+ return ApiDcimLocationsUpdateRequest{
ApiService: a,
ctx: ctx,
+ id: id,
}
}
// Execute executes the request
-// @return []Manufacturer
-func (a *DcimAPIService) DcimManufacturersBulkPartialUpdateExecute(r ApiDcimManufacturersBulkPartialUpdateRequest) ([]Manufacturer, *http.Response, error) {
+// @return Location
+func (a *DcimAPIService) DcimLocationsUpdateExecute(r ApiDcimLocationsUpdateRequest) (*Location, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPatch
+ localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []Manufacturer
+ localVarReturnValue *Location
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimManufacturersBulkPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimLocationsUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/manufacturers/"
+ localVarPath := localBasePath + "/dcim/locations/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.patchedBulkWritableManufacturerRequest == nil {
- return localVarReturnValue, nil, reportError("patchedBulkWritableManufacturerRequest is required and must be specified")
+ if r.locationRequest == nil {
+ return localVarReturnValue, nil, reportError("locationRequest is required and must be specified")
}
if r.format != nil {
@@ -75675,7 +72172,7 @@ func (a *DcimAPIService) DcimManufacturersBulkPartialUpdateExecute(r ApiDcimManu
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedBulkWritableManufacturerRequest
+ localVarPostBody = r.locationRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -75727,55 +72224,53 @@ func (a *DcimAPIService) DcimManufacturersBulkPartialUpdateExecute(r ApiDcimManu
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimManufacturersBulkUpdateRequest struct {
+type ApiDcimManufacturersBulkDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
- bulkWritableManufacturerRequest *[]BulkWritableManufacturerRequest
+ bulkOperationRequest *[]BulkOperationRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimManufacturersBulkUpdateRequest) BulkWritableManufacturerRequest(bulkWritableManufacturerRequest []BulkWritableManufacturerRequest) ApiDcimManufacturersBulkUpdateRequest {
- r.bulkWritableManufacturerRequest = &bulkWritableManufacturerRequest
+func (r ApiDcimManufacturersBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimManufacturersBulkDestroyRequest {
+ r.bulkOperationRequest = &bulkOperationRequest
return r
}
-func (r ApiDcimManufacturersBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimManufacturersBulkUpdateRequest {
+func (r ApiDcimManufacturersBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimManufacturersBulkDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimManufacturersBulkUpdateRequest) Execute() ([]Manufacturer, *http.Response, error) {
- return r.ApiService.DcimManufacturersBulkUpdateExecute(r)
+func (r ApiDcimManufacturersBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimManufacturersBulkDestroyExecute(r)
}
/*
-DcimManufacturersBulkUpdate Method for DcimManufacturersBulkUpdate
+DcimManufacturersBulkDestroy Method for DcimManufacturersBulkDestroy
-Update a list of manufacturer objects.
+Destroy a list of manufacturer objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimManufacturersBulkUpdateRequest
+ @return ApiDcimManufacturersBulkDestroyRequest
*/
-func (a *DcimAPIService) DcimManufacturersBulkUpdate(ctx context.Context) ApiDcimManufacturersBulkUpdateRequest {
- return ApiDcimManufacturersBulkUpdateRequest{
+func (a *DcimAPIService) DcimManufacturersBulkDestroy(ctx context.Context) ApiDcimManufacturersBulkDestroyRequest {
+ return ApiDcimManufacturersBulkDestroyRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []Manufacturer
-func (a *DcimAPIService) DcimManufacturersBulkUpdateExecute(r ApiDcimManufacturersBulkUpdateRequest) ([]Manufacturer, *http.Response, error) {
+func (a *DcimAPIService) DcimManufacturersBulkDestroyExecute(r ApiDcimManufacturersBulkDestroyRequest) (*http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPut
+ localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []Manufacturer
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimManufacturersBulkUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimManufacturersBulkDestroy")
if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ return nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/dcim/manufacturers/"
@@ -75783,8 +72278,8 @@ func (a *DcimAPIService) DcimManufacturersBulkUpdateExecute(r ApiDcimManufacture
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.bulkWritableManufacturerRequest == nil {
- return localVarReturnValue, nil, reportError("bulkWritableManufacturerRequest is required and must be specified")
+ if r.bulkOperationRequest == nil {
+ return nil, reportError("bulkOperationRequest is required and must be specified")
}
if r.format != nil {
@@ -75800,7 +72295,7 @@ func (a *DcimAPIService) DcimManufacturersBulkUpdateExecute(r ApiDcimManufacture
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+ localVarHTTPHeaderAccepts := []string{}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -75808,7 +72303,7 @@ func (a *DcimAPIService) DcimManufacturersBulkUpdateExecute(r ApiDcimManufacture
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.bulkWritableManufacturerRequest
+ localVarPostBody = r.bulkOperationRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -75825,19 +72320,19 @@ func (a *DcimAPIService) DcimManufacturersBulkUpdateExecute(r ApiDcimManufacture
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
- return localVarReturnValue, nil, err
+ return nil, err
}
localVarHTTPResponse, err := a.client.callAPI(req)
if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
+ return localVarHTTPResponse, err
}
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
+ return localVarHTTPResponse, err
}
if localVarHTTPResponse.StatusCode >= 300 {
@@ -75845,68 +72340,59 @@ func (a *DcimAPIService) DcimManufacturersBulkUpdateExecute(r ApiDcimManufacture
body: localVarBody,
error: localVarHTTPResponse.Status,
}
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
+ return localVarHTTPResponse, newErr
}
- return localVarReturnValue, localVarHTTPResponse, nil
+ return localVarHTTPResponse, nil
}
-type ApiDcimManufacturersCreateRequest struct {
+type ApiDcimManufacturersBulkPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- manufacturerRequest *ManufacturerRequest
+ patchedBulkWritableManufacturerRequest *[]PatchedBulkWritableManufacturerRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimManufacturersCreateRequest) ManufacturerRequest(manufacturerRequest ManufacturerRequest) ApiDcimManufacturersCreateRequest {
- r.manufacturerRequest = &manufacturerRequest
+func (r ApiDcimManufacturersBulkPartialUpdateRequest) PatchedBulkWritableManufacturerRequest(patchedBulkWritableManufacturerRequest []PatchedBulkWritableManufacturerRequest) ApiDcimManufacturersBulkPartialUpdateRequest {
+ r.patchedBulkWritableManufacturerRequest = &patchedBulkWritableManufacturerRequest
return r
}
-func (r ApiDcimManufacturersCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimManufacturersCreateRequest {
+func (r ApiDcimManufacturersBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimManufacturersBulkPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimManufacturersCreateRequest) Execute() (*Manufacturer, *http.Response, error) {
- return r.ApiService.DcimManufacturersCreateExecute(r)
+func (r ApiDcimManufacturersBulkPartialUpdateRequest) Execute() ([]Manufacturer, *http.Response, error) {
+ return r.ApiService.DcimManufacturersBulkPartialUpdateExecute(r)
}
/*
-DcimManufacturersCreate Method for DcimManufacturersCreate
+DcimManufacturersBulkPartialUpdate Method for DcimManufacturersBulkPartialUpdate
-Create one or more manufacturer objects.
+Partial update a list of manufacturer objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimManufacturersCreateRequest
+ @return ApiDcimManufacturersBulkPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimManufacturersCreate(ctx context.Context) ApiDcimManufacturersCreateRequest {
- return ApiDcimManufacturersCreateRequest{
+func (a *DcimAPIService) DcimManufacturersBulkPartialUpdate(ctx context.Context) ApiDcimManufacturersBulkPartialUpdateRequest {
+ return ApiDcimManufacturersBulkPartialUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return Manufacturer
-func (a *DcimAPIService) DcimManufacturersCreateExecute(r ApiDcimManufacturersCreateRequest) (*Manufacturer, *http.Response, error) {
+// @return []Manufacturer
+func (a *DcimAPIService) DcimManufacturersBulkPartialUpdateExecute(r ApiDcimManufacturersBulkPartialUpdateRequest) ([]Manufacturer, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPost
+ localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *Manufacturer
+ localVarReturnValue []Manufacturer
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimManufacturersCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimManufacturersBulkPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -75916,8 +72402,274 @@ func (a *DcimAPIService) DcimManufacturersCreateExecute(r ApiDcimManufacturersCr
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.manufacturerRequest == nil {
- return localVarReturnValue, nil, reportError("manufacturerRequest is required and must be specified")
+ if r.patchedBulkWritableManufacturerRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritableManufacturerRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.patchedBulkWritableManufacturerRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiDcimManufacturersBulkUpdateRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ bulkWritableManufacturerRequest *[]BulkWritableManufacturerRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiDcimManufacturersBulkUpdateRequest) BulkWritableManufacturerRequest(bulkWritableManufacturerRequest []BulkWritableManufacturerRequest) ApiDcimManufacturersBulkUpdateRequest {
+ r.bulkWritableManufacturerRequest = &bulkWritableManufacturerRequest
+ return r
+}
+
+func (r ApiDcimManufacturersBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimManufacturersBulkUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiDcimManufacturersBulkUpdateRequest) Execute() ([]Manufacturer, *http.Response, error) {
+ return r.ApiService.DcimManufacturersBulkUpdateExecute(r)
+}
+
+/*
+DcimManufacturersBulkUpdate Method for DcimManufacturersBulkUpdate
+
+Update a list of manufacturer objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiDcimManufacturersBulkUpdateRequest
+*/
+func (a *DcimAPIService) DcimManufacturersBulkUpdate(ctx context.Context) ApiDcimManufacturersBulkUpdateRequest {
+ return ApiDcimManufacturersBulkUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return []Manufacturer
+func (a *DcimAPIService) DcimManufacturersBulkUpdateExecute(r ApiDcimManufacturersBulkUpdateRequest) ([]Manufacturer, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPut
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue []Manufacturer
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimManufacturersBulkUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/manufacturers/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.bulkWritableManufacturerRequest == nil {
+ return localVarReturnValue, nil, reportError("bulkWritableManufacturerRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.bulkWritableManufacturerRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiDcimManufacturersCreateRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ manufacturerRequest *ManufacturerRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiDcimManufacturersCreateRequest) ManufacturerRequest(manufacturerRequest ManufacturerRequest) ApiDcimManufacturersCreateRequest {
+ r.manufacturerRequest = &manufacturerRequest
+ return r
+}
+
+func (r ApiDcimManufacturersCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimManufacturersCreateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiDcimManufacturersCreateRequest) Execute() (*Manufacturer, *http.Response, error) {
+ return r.ApiService.DcimManufacturersCreateExecute(r)
+}
+
+/*
+DcimManufacturersCreate Method for DcimManufacturersCreate
+
+Create one or more manufacturer objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiDcimManufacturersCreateRequest
+*/
+func (a *DcimAPIService) DcimManufacturersCreate(ctx context.Context) ApiDcimManufacturersCreateRequest {
+ return ApiDcimManufacturersCreateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return Manufacturer
+func (a *DcimAPIService) DcimManufacturersCreateExecute(r ApiDcimManufacturersCreateRequest) (*Manufacturer, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPost
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *Manufacturer
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimManufacturersCreate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/manufacturers/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.manufacturerRequest == nil {
+ return localVarReturnValue, nil, reportError("manufacturerRequest is required and must be specified")
}
if r.format != nil {
@@ -76113,7 +72865,7 @@ type ApiDcimManufacturersListRequest struct {
ApiService *DcimAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -76139,25 +72891,13 @@ type ApiDcimManufacturersListRequest struct {
deviceTypesIsnull *bool
deviceTypesN *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
hasDeviceTypes *bool
hasInventoryItems *bool
hasPlatforms *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
inventoryItems *[]string
inventoryItemsIsnull *bool
inventoryItemsN *[]string
@@ -76191,8 +72931,9 @@ type ApiDcimManufacturersListRequest struct {
sort *string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimManufacturersListRequest) Contacts(contacts []string) ApiDcimManufacturersListRequest {
@@ -76206,8 +72947,7 @@ func (r ApiDcimManufacturersListRequest) ContactsIsnull(contactsIsnull bool) Api
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimManufacturersListRequest) ContactsN(contactsN string) ApiDcimManufacturersListRequest {
+func (r ApiDcimManufacturersListRequest) ContactsN(contactsN []string) ApiDcimManufacturersListRequest {
r.contactsN = &contactsN
return r
}
@@ -76338,8 +73078,7 @@ func (r ApiDcimManufacturersListRequest) DynamicGroups(dynamicGroups []string) A
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimManufacturersListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimManufacturersListRequest {
+func (r ApiDcimManufacturersListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimManufacturersListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -76373,71 +73112,11 @@ func (r ApiDcimManufacturersListRequest) Id(id []string) ApiDcimManufacturersLis
return r
}
-func (r ApiDcimManufacturersListRequest) IdIc(idIc []string) ApiDcimManufacturersListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiDcimManufacturersListRequest) IdIe(idIe []string) ApiDcimManufacturersListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiDcimManufacturersListRequest) IdIew(idIew []string) ApiDcimManufacturersListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiDcimManufacturersListRequest) IdIre(idIre []string) ApiDcimManufacturersListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiDcimManufacturersListRequest) IdIsw(idIsw []string) ApiDcimManufacturersListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiDcimManufacturersListRequest) IdN(idN []string) ApiDcimManufacturersListRequest {
r.idN = &idN
return r
}
-func (r ApiDcimManufacturersListRequest) IdNic(idNic []string) ApiDcimManufacturersListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiDcimManufacturersListRequest) IdNie(idNie []string) ApiDcimManufacturersListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiDcimManufacturersListRequest) IdNiew(idNiew []string) ApiDcimManufacturersListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiDcimManufacturersListRequest) IdNire(idNire []string) ApiDcimManufacturersListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiDcimManufacturersListRequest) IdNisw(idNisw []string) ApiDcimManufacturersListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiDcimManufacturersListRequest) IdNre(idNre []string) ApiDcimManufacturersListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiDcimManufacturersListRequest) IdRe(idRe []string) ApiDcimManufacturersListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiDcimManufacturersListRequest) InventoryItems(inventoryItems []string) ApiDcimManufacturersListRequest {
r.inventoryItems = &inventoryItems
return r
@@ -76610,8 +73289,7 @@ func (r ApiDcimManufacturersListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimMa
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimManufacturersListRequest) TeamsN(teamsN string) ApiDcimManufacturersListRequest {
+func (r ApiDcimManufacturersListRequest) TeamsN(teamsN []string) ApiDcimManufacturersListRequest {
r.teamsN = &teamsN
return r
}
@@ -76622,6 +73300,12 @@ func (r ApiDcimManufacturersListRequest) Depth(depth int32) ApiDcimManufacturers
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimManufacturersListRequest) ExcludeM2m(excludeM2m bool) ApiDcimManufacturersListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimManufacturersListRequest) Execute() (*PaginatedManufacturerList, *http.Response, error) {
return r.ApiService.DcimManufacturersListExecute(r)
}
@@ -76677,7 +73361,15 @@ func (a *DcimAPIService) DcimManufacturersListExecute(r ApiDcimManufacturersList
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -76939,7 +73631,15 @@ func (a *DcimAPIService) DcimManufacturersListExecute(r ApiDcimManufacturersList
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -76964,61 +73664,6 @@ func (a *DcimAPIService) DcimManufacturersListExecute(r ApiDcimManufacturersList
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -77030,83 +73675,6 @@ func (a *DcimAPIService) DcimManufacturersListExecute(r ApiDcimManufacturersList
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.inventoryItems != nil {
t := *r.inventoryItems
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -77407,13 +73975,29 @@ func (a *DcimAPIService) DcimManufacturersListExecute(r ApiDcimManufacturersList
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -77628,6 +74212,7 @@ type ApiDcimManufacturersNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimManufacturersNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimManufacturersNotesListRequest {
@@ -77653,6 +74238,12 @@ func (r ApiDcimManufacturersNotesListRequest) Depth(depth int32) ApiDcimManufact
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimManufacturersNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimManufacturersNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimManufacturersNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.DcimManufacturersNotesListExecute(r)
}
@@ -77708,8 +74299,16 @@ func (a *DcimAPIService) DcimManufacturersNotesListExecute(r ApiDcimManufacturer
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -77919,6 +74518,7 @@ type ApiDcimManufacturersRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimManufacturersRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimManufacturersRetrieveRequest {
@@ -77932,6 +74532,12 @@ func (r ApiDcimManufacturersRetrieveRequest) Depth(depth int32) ApiDcimManufactu
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimManufacturersRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimManufacturersRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimManufacturersRetrieveRequest) Execute() (*Manufacturer, *http.Response, error) {
return r.ApiService.DcimManufacturersRetrieveExecute(r)
}
@@ -77981,8 +74587,16 @@ func (a *DcimAPIService) DcimManufacturersRetrieveExecute(r ApiDcimManufacturers
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -78830,7 +75444,7 @@ type ApiDcimModuleBayTemplatesListRequest struct {
ApiService *DcimAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -78856,24 +75470,12 @@ type ApiDcimModuleBayTemplatesListRequest struct {
deviceTypeIsnull *bool
deviceTypeN *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
hasDeviceType *bool
hasModuleType *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
label *[]string
labelIc *[]string
labelIe *[]string
@@ -78896,6 +75498,9 @@ type ApiDcimModuleBayTemplatesListRequest struct {
lastUpdatedLte *[]time.Time
lastUpdatedN *[]time.Time
limit *int32
+ moduleFamily *[]string
+ moduleFamilyIsnull *bool
+ moduleFamilyN *[]string
moduleType *[]string
moduleTypeIsnull *bool
moduleTypeN *[]string
@@ -78929,11 +75534,13 @@ type ApiDcimModuleBayTemplatesListRequest struct {
positionNre *[]string
positionRe *[]string
q *string
+ requiresFirstPartyModules *bool
sort *string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimModuleBayTemplatesListRequest) Contacts(contacts []string) ApiDcimModuleBayTemplatesListRequest {
@@ -78947,8 +75554,7 @@ func (r ApiDcimModuleBayTemplatesListRequest) ContactsIsnull(contactsIsnull bool
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimModuleBayTemplatesListRequest) ContactsN(contactsN string) ApiDcimModuleBayTemplatesListRequest {
+func (r ApiDcimModuleBayTemplatesListRequest) ContactsN(contactsN []string) ApiDcimModuleBayTemplatesListRequest {
r.contactsN = &contactsN
return r
}
@@ -79093,8 +75699,7 @@ func (r ApiDcimModuleBayTemplatesListRequest) DynamicGroups(dynamicGroups []stri
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimModuleBayTemplatesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimModuleBayTemplatesListRequest {
+func (r ApiDcimModuleBayTemplatesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimModuleBayTemplatesListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -79122,84 +75727,12 @@ func (r ApiDcimModuleBayTemplatesListRequest) Id(id []string) ApiDcimModuleBayTe
return r
}
-// ID contains
-func (r ApiDcimModuleBayTemplatesListRequest) IdIc(idIc []string) ApiDcimModuleBayTemplatesListRequest {
- r.idIc = &idIc
- return r
-}
-
-// ID
-func (r ApiDcimModuleBayTemplatesListRequest) IdIe(idIe []string) ApiDcimModuleBayTemplatesListRequest {
- r.idIe = &idIe
- return r
-}
-
-// ID ends with
-func (r ApiDcimModuleBayTemplatesListRequest) IdIew(idIew []string) ApiDcimModuleBayTemplatesListRequest {
- r.idIew = &idIew
- return r
-}
-
-// ID matches regex
-func (r ApiDcimModuleBayTemplatesListRequest) IdIre(idIre []string) ApiDcimModuleBayTemplatesListRequest {
- r.idIre = &idIre
- return r
-}
-
-// ID starts with
-func (r ApiDcimModuleBayTemplatesListRequest) IdIsw(idIsw []string) ApiDcimModuleBayTemplatesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
// Exclude ID
func (r ApiDcimModuleBayTemplatesListRequest) IdN(idN []string) ApiDcimModuleBayTemplatesListRequest {
r.idN = &idN
return r
}
-// Exclude ID contains
-func (r ApiDcimModuleBayTemplatesListRequest) IdNic(idNic []string) ApiDcimModuleBayTemplatesListRequest {
- r.idNic = &idNic
- return r
-}
-
-// Exclude ID
-func (r ApiDcimModuleBayTemplatesListRequest) IdNie(idNie []string) ApiDcimModuleBayTemplatesListRequest {
- r.idNie = &idNie
- return r
-}
-
-// Exclude ID ends with
-func (r ApiDcimModuleBayTemplatesListRequest) IdNiew(idNiew []string) ApiDcimModuleBayTemplatesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-// Exclude ID matches regex
-func (r ApiDcimModuleBayTemplatesListRequest) IdNire(idNire []string) ApiDcimModuleBayTemplatesListRequest {
- r.idNire = &idNire
- return r
-}
-
-// Exclude ID starts with
-func (r ApiDcimModuleBayTemplatesListRequest) IdNisw(idNisw []string) ApiDcimModuleBayTemplatesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-// Exclude ID matches regex
-func (r ApiDcimModuleBayTemplatesListRequest) IdNre(idNre []string) ApiDcimModuleBayTemplatesListRequest {
- r.idNre = &idNre
- return r
-}
-
-// ID matches regex
-func (r ApiDcimModuleBayTemplatesListRequest) IdRe(idRe []string) ApiDcimModuleBayTemplatesListRequest {
- r.idRe = &idRe
- return r
-}
-
// Label
func (r ApiDcimModuleBayTemplatesListRequest) Label(label []string) ApiDcimModuleBayTemplatesListRequest {
r.label = &label
@@ -79325,6 +75858,22 @@ func (r ApiDcimModuleBayTemplatesListRequest) Limit(limit int32) ApiDcimModuleBa
return r
}
+func (r ApiDcimModuleBayTemplatesListRequest) ModuleFamily(moduleFamily []string) ApiDcimModuleBayTemplatesListRequest {
+ r.moduleFamily = &moduleFamily
+ return r
+}
+
+// Module family (name or ID) is null
+func (r ApiDcimModuleBayTemplatesListRequest) ModuleFamilyIsnull(moduleFamilyIsnull bool) ApiDcimModuleBayTemplatesListRequest {
+ r.moduleFamilyIsnull = &moduleFamilyIsnull
+ return r
+}
+
+func (r ApiDcimModuleBayTemplatesListRequest) ModuleFamilyN(moduleFamilyN []string) ApiDcimModuleBayTemplatesListRequest {
+ r.moduleFamilyN = &moduleFamilyN
+ return r
+}
+
func (r ApiDcimModuleBayTemplatesListRequest) ModuleType(moduleType []string) ApiDcimModuleBayTemplatesListRequest {
r.moduleType = &moduleType
return r
@@ -79507,6 +76056,12 @@ func (r ApiDcimModuleBayTemplatesListRequest) Q(q string) ApiDcimModuleBayTempla
return r
}
+// Requires first-party modules
+func (r ApiDcimModuleBayTemplatesListRequest) RequiresFirstPartyModules(requiresFirstPartyModules bool) ApiDcimModuleBayTemplatesListRequest {
+ r.requiresFirstPartyModules = &requiresFirstPartyModules
+ return r
+}
+
// Which field to use when ordering the results.
func (r ApiDcimModuleBayTemplatesListRequest) Sort(sort string) ApiDcimModuleBayTemplatesListRequest {
r.sort = &sort
@@ -79524,8 +76079,7 @@ func (r ApiDcimModuleBayTemplatesListRequest) TeamsIsnull(teamsIsnull bool) ApiD
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimModuleBayTemplatesListRequest) TeamsN(teamsN string) ApiDcimModuleBayTemplatesListRequest {
+func (r ApiDcimModuleBayTemplatesListRequest) TeamsN(teamsN []string) ApiDcimModuleBayTemplatesListRequest {
r.teamsN = &teamsN
return r
}
@@ -79536,6 +76090,12 @@ func (r ApiDcimModuleBayTemplatesListRequest) Depth(depth int32) ApiDcimModuleBa
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimModuleBayTemplatesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimModuleBayTemplatesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimModuleBayTemplatesListRequest) Execute() (*PaginatedModuleBayTemplateList, *http.Response, error) {
return r.ApiService.DcimModuleBayTemplatesListExecute(r)
}
@@ -79591,7 +76151,15 @@ func (a *DcimAPIService) DcimModuleBayTemplatesListExecute(r ApiDcimModuleBayTem
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -79853,7 +76421,15 @@ func (a *DcimAPIService) DcimModuleBayTemplatesListExecute(r ApiDcimModuleBayTem
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -79875,61 +76451,6 @@ func (a *DcimAPIService) DcimModuleBayTemplatesListExecute(r ApiDcimModuleBayTem
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -79941,83 +76462,6 @@ func (a *DcimAPIService) DcimModuleBayTemplatesListExecute(r ApiDcimModuleBayTem
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.label != nil {
t := *r.label
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -80244,6 +76688,31 @@ func (a *DcimAPIService) DcimModuleBayTemplatesListExecute(r ApiDcimModuleBayTem
if r.limit != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
+ if r.moduleFamily != nil {
+ t := *r.moduleFamily
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_family", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_family", t, "form", "multi")
+ }
+ }
+ if r.moduleFamilyIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_family__isnull", r.moduleFamilyIsnull, "form", "")
+ }
+ if r.moduleFamilyN != nil {
+ t := *r.moduleFamilyN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_family__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_family__n", t, "form", "multi")
+ }
+ }
if r.moduleType != nil {
t := *r.moduleType
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -80583,6 +77052,9 @@ func (a *DcimAPIService) DcimModuleBayTemplatesListExecute(r ApiDcimModuleBayTem
if r.q != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
}
+ if r.requiresFirstPartyModules != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "requires_first_party_modules", r.requiresFirstPartyModules, "form", "")
+ }
if r.sort != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
}
@@ -80601,309 +77073,29 @@ func (a *DcimAPIService) DcimModuleBayTemplatesListExecute(r ApiDcimModuleBayTem
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
- }
- if r.depth != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
- } else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiDcimModuleBayTemplatesNotesCreateRequest struct {
- ctx context.Context
- ApiService *DcimAPIService
- id string
- noteInputRequest *NoteInputRequest
- format *CircuitsCircuitTerminationsListFormatParameter
-}
-
-func (r ApiDcimModuleBayTemplatesNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimModuleBayTemplatesNotesCreateRequest {
- r.noteInputRequest = ¬eInputRequest
- return r
-}
-
-func (r ApiDcimModuleBayTemplatesNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleBayTemplatesNotesCreateRequest {
- r.format = &format
- return r
-}
-
-func (r ApiDcimModuleBayTemplatesNotesCreateRequest) Execute() (*Note, *http.Response, error) {
- return r.ApiService.DcimModuleBayTemplatesNotesCreateExecute(r)
-}
-
-/*
-DcimModuleBayTemplatesNotesCreate Method for DcimModuleBayTemplatesNotesCreate
-
-API methods for returning or creating notes on an object.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this module bay template.
- @return ApiDcimModuleBayTemplatesNotesCreateRequest
-*/
-func (a *DcimAPIService) DcimModuleBayTemplatesNotesCreate(ctx context.Context, id string) ApiDcimModuleBayTemplatesNotesCreateRequest {
- return ApiDcimModuleBayTemplatesNotesCreateRequest{
- ApiService: a,
- ctx: ctx,
- id: id,
- }
-}
-
-// Execute executes the request
-// @return Note
-func (a *DcimAPIService) DcimModuleBayTemplatesNotesCreateExecute(r ApiDcimModuleBayTemplatesNotesCreateRequest) (*Note, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *Note
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleBayTemplatesNotesCreate")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/dcim/module-bay-templates/{id}/notes/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.noteInputRequest == nil {
- return localVarReturnValue, nil, reportError("noteInputRequest is required and must be specified")
- }
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.noteInputRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
}
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
}
}
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiDcimModuleBayTemplatesNotesListRequest struct {
- ctx context.Context
- ApiService *DcimAPIService
- id string
- format *CircuitsCircuitTerminationsListFormatParameter
- limit *int32
- offset *int32
- depth *int32
-}
-
-func (r ApiDcimModuleBayTemplatesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleBayTemplatesNotesListRequest {
- r.format = &format
- return r
-}
-
-// Number of results to return per page.
-func (r ApiDcimModuleBayTemplatesNotesListRequest) Limit(limit int32) ApiDcimModuleBayTemplatesNotesListRequest {
- r.limit = &limit
- return r
-}
-
-// The initial index from which to return the results.
-func (r ApiDcimModuleBayTemplatesNotesListRequest) Offset(offset int32) ApiDcimModuleBayTemplatesNotesListRequest {
- r.offset = &offset
- return r
-}
-
-// Serializer Depth
-func (r ApiDcimModuleBayTemplatesNotesListRequest) Depth(depth int32) ApiDcimModuleBayTemplatesNotesListRequest {
- r.depth = &depth
- return r
-}
-
-func (r ApiDcimModuleBayTemplatesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
- return r.ApiService.DcimModuleBayTemplatesNotesListExecute(r)
-}
-
-/*
-DcimModuleBayTemplatesNotesList Method for DcimModuleBayTemplatesNotesList
-
-API methods for returning or creating notes on an object.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this module bay template.
- @return ApiDcimModuleBayTemplatesNotesListRequest
-*/
-func (a *DcimAPIService) DcimModuleBayTemplatesNotesList(ctx context.Context, id string) ApiDcimModuleBayTemplatesNotesListRequest {
- return ApiDcimModuleBayTemplatesNotesListRequest{
- ApiService: a,
- ctx: ctx,
- id: id,
- }
-}
-
-// Execute executes the request
-// @return PaginatedNoteList
-func (a *DcimAPIService) DcimModuleBayTemplatesNotesListExecute(r ApiDcimModuleBayTemplatesNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *PaginatedNoteList
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleBayTemplatesNotesList")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/dcim/module-bay-templates/{id}/notes/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
- }
- if r.offset != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
- }
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -81113,6 +77305,7 @@ type ApiDcimModuleBayTemplatesRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimModuleBayTemplatesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleBayTemplatesRetrieveRequest {
@@ -81126,6 +77319,12 @@ func (r ApiDcimModuleBayTemplatesRetrieveRequest) Depth(depth int32) ApiDcimModu
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimModuleBayTemplatesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimModuleBayTemplatesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimModuleBayTemplatesRetrieveRequest) Execute() (*ModuleBayTemplate, *http.Response, error) {
return r.ApiService.DcimModuleBayTemplatesRetrieveExecute(r)
}
@@ -81175,8 +77374,16 @@ func (a *DcimAPIService) DcimModuleBayTemplatesRetrieveExecute(r ApiDcimModuleBa
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -82024,7 +78231,7 @@ type ApiDcimModuleBaysListRequest struct {
ApiService *DcimAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -82047,25 +78254,13 @@ type ApiDcimModuleBaysListRequest struct {
descriptionNre *[]string
descriptionRe *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
hasInstalledModule *bool
hasParentDevice *bool
hasParentModule *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
installedModule *[]string
installedModuleIsnull *bool
installedModuleN *[]string
@@ -82091,6 +78286,9 @@ type ApiDcimModuleBaysListRequest struct {
lastUpdatedLte *[]time.Time
lastUpdatedN *[]time.Time
limit *int32
+ moduleFamily *[]string
+ moduleFamilyIsnull *bool
+ moduleFamilyN *[]string
name *[]string
nameIc *[]string
nameIe *[]string
@@ -82127,14 +78325,16 @@ type ApiDcimModuleBaysListRequest struct {
positionNre *[]string
positionRe *[]string
q *string
+ requiresFirstPartyModules *bool
sort *string
tags *[]string
tagsIsnull *bool
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimModuleBaysListRequest) Contacts(contacts []string) ApiDcimModuleBaysListRequest {
@@ -82148,8 +78348,7 @@ func (r ApiDcimModuleBaysListRequest) ContactsIsnull(contactsIsnull bool) ApiDci
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimModuleBaysListRequest) ContactsN(contactsN string) ApiDcimModuleBaysListRequest {
+func (r ApiDcimModuleBaysListRequest) ContactsN(contactsN []string) ApiDcimModuleBaysListRequest {
r.contactsN = &contactsN
return r
}
@@ -82264,8 +78463,7 @@ func (r ApiDcimModuleBaysListRequest) DynamicGroups(dynamicGroups []string) ApiD
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimModuleBaysListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimModuleBaysListRequest {
+func (r ApiDcimModuleBaysListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimModuleBaysListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -82299,71 +78497,11 @@ func (r ApiDcimModuleBaysListRequest) Id(id []string) ApiDcimModuleBaysListReque
return r
}
-func (r ApiDcimModuleBaysListRequest) IdIc(idIc []string) ApiDcimModuleBaysListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiDcimModuleBaysListRequest) IdIe(idIe []string) ApiDcimModuleBaysListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiDcimModuleBaysListRequest) IdIew(idIew []string) ApiDcimModuleBaysListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiDcimModuleBaysListRequest) IdIre(idIre []string) ApiDcimModuleBaysListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiDcimModuleBaysListRequest) IdIsw(idIsw []string) ApiDcimModuleBaysListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiDcimModuleBaysListRequest) IdN(idN []string) ApiDcimModuleBaysListRequest {
r.idN = &idN
return r
}
-func (r ApiDcimModuleBaysListRequest) IdNic(idNic []string) ApiDcimModuleBaysListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiDcimModuleBaysListRequest) IdNie(idNie []string) ApiDcimModuleBaysListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiDcimModuleBaysListRequest) IdNiew(idNiew []string) ApiDcimModuleBaysListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiDcimModuleBaysListRequest) IdNire(idNire []string) ApiDcimModuleBaysListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiDcimModuleBaysListRequest) IdNisw(idNisw []string) ApiDcimModuleBaysListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiDcimModuleBaysListRequest) IdNre(idNre []string) ApiDcimModuleBaysListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiDcimModuleBaysListRequest) IdRe(idRe []string) ApiDcimModuleBaysListRequest {
- r.idRe = &idRe
- return r
-}
-
// Installed module (ID)
func (r ApiDcimModuleBaysListRequest) InstalledModule(installedModule []string) ApiDcimModuleBaysListRequest {
r.installedModule = &installedModule
@@ -82493,6 +78631,22 @@ func (r ApiDcimModuleBaysListRequest) Limit(limit int32) ApiDcimModuleBaysListRe
return r
}
+func (r ApiDcimModuleBaysListRequest) ModuleFamily(moduleFamily []string) ApiDcimModuleBaysListRequest {
+ r.moduleFamily = &moduleFamily
+ return r
+}
+
+// Module family (name or ID) is null
+func (r ApiDcimModuleBaysListRequest) ModuleFamilyIsnull(moduleFamilyIsnull bool) ApiDcimModuleBaysListRequest {
+ r.moduleFamilyIsnull = &moduleFamilyIsnull
+ return r
+}
+
+func (r ApiDcimModuleBaysListRequest) ModuleFamilyN(moduleFamilyN []string) ApiDcimModuleBaysListRequest {
+ r.moduleFamilyN = &moduleFamilyN
+ return r
+}
+
func (r ApiDcimModuleBaysListRequest) Name(name []string) ApiDcimModuleBaysListRequest {
r.name = &name
return r
@@ -82679,6 +78833,12 @@ func (r ApiDcimModuleBaysListRequest) Q(q string) ApiDcimModuleBaysListRequest {
return r
}
+// Requires first-party modules
+func (r ApiDcimModuleBaysListRequest) RequiresFirstPartyModules(requiresFirstPartyModules bool) ApiDcimModuleBaysListRequest {
+ r.requiresFirstPartyModules = &requiresFirstPartyModules
+ return r
+}
+
// Which field to use when ordering the results.
func (r ApiDcimModuleBaysListRequest) Sort(sort string) ApiDcimModuleBaysListRequest {
r.sort = &sort
@@ -82711,8 +78871,7 @@ func (r ApiDcimModuleBaysListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimModul
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimModuleBaysListRequest) TeamsN(teamsN string) ApiDcimModuleBaysListRequest {
+func (r ApiDcimModuleBaysListRequest) TeamsN(teamsN []string) ApiDcimModuleBaysListRequest {
r.teamsN = &teamsN
return r
}
@@ -82723,6 +78882,12 @@ func (r ApiDcimModuleBaysListRequest) Depth(depth int32) ApiDcimModuleBaysListRe
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimModuleBaysListRequest) ExcludeM2m(excludeM2m bool) ApiDcimModuleBaysListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimModuleBaysListRequest) Execute() (*PaginatedModuleBayList, *http.Response, error) {
return r.ApiService.DcimModuleBaysListExecute(r)
}
@@ -82778,7 +78943,15 @@ func (a *DcimAPIService) DcimModuleBaysListExecute(r ApiDcimModuleBaysListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -83015,7 +79188,15 @@ func (a *DcimAPIService) DcimModuleBaysListExecute(r ApiDcimModuleBaysListReques
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -83040,61 +79221,6 @@ func (a *DcimAPIService) DcimModuleBaysListExecute(r ApiDcimModuleBaysListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -83106,83 +79232,6 @@ func (a *DcimAPIService) DcimModuleBaysListExecute(r ApiDcimModuleBaysListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.installedModule != nil {
t := *r.installedModule
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -83434,6 +79483,31 @@ func (a *DcimAPIService) DcimModuleBaysListExecute(r ApiDcimModuleBaysListReques
if r.limit != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
+ if r.moduleFamily != nil {
+ t := *r.moduleFamily
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_family", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_family", t, "form", "multi")
+ }
+ }
+ if r.moduleFamilyIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_family__isnull", r.moduleFamilyIsnull, "form", "")
+ }
+ if r.moduleFamilyN != nil {
+ t := *r.moduleFamilyN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_family__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_family__n", t, "form", "multi")
+ }
+ }
if r.name != nil {
t := *r.name
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -83798,6 +79872,9 @@ func (a *DcimAPIService) DcimModuleBaysListExecute(r ApiDcimModuleBaysListReques
if r.q != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
}
+ if r.requiresFirstPartyModules != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "requires_first_party_modules", r.requiresFirstPartyModules, "form", "")
+ }
if r.sort != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
}
@@ -83841,13 +79918,29 @@ func (a *DcimAPIService) DcimModuleBaysListExecute(r ApiDcimModuleBaysListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -84062,6 +80155,7 @@ type ApiDcimModuleBaysNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimModuleBaysNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleBaysNotesListRequest {
@@ -84087,6 +80181,12 @@ func (r ApiDcimModuleBaysNotesListRequest) Depth(depth int32) ApiDcimModuleBaysN
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimModuleBaysNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimModuleBaysNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimModuleBaysNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.DcimModuleBaysNotesListExecute(r)
}
@@ -84142,8 +80242,16 @@ func (a *DcimAPIService) DcimModuleBaysNotesListExecute(r ApiDcimModuleBaysNotes
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -84353,6 +80461,7 @@ type ApiDcimModuleBaysRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiDcimModuleBaysRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleBaysRetrieveRequest {
@@ -84366,6 +80475,12 @@ func (r ApiDcimModuleBaysRetrieveRequest) Depth(depth int32) ApiDcimModuleBaysRe
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiDcimModuleBaysRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimModuleBaysRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiDcimModuleBaysRetrieveRequest) Execute() (*ModuleBay, *http.Response, error) {
return r.ApiService.DcimModuleBaysRetrieveExecute(r)
}
@@ -84415,8 +80530,16 @@ func (a *DcimAPIService) DcimModuleBaysRetrieveExecute(r ApiDcimModuleBaysRetrie
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -84623,56 +80746,56 @@ func (a *DcimAPIService) DcimModuleBaysUpdateExecute(r ApiDcimModuleBaysUpdateRe
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimModuleTypesBulkDestroyRequest struct {
+type ApiDcimModuleFamiliesBulkDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
bulkOperationRequest *[]BulkOperationRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimModuleTypesBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimModuleTypesBulkDestroyRequest {
+func (r ApiDcimModuleFamiliesBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimModuleFamiliesBulkDestroyRequest {
r.bulkOperationRequest = &bulkOperationRequest
return r
}
-func (r ApiDcimModuleTypesBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleTypesBulkDestroyRequest {
+func (r ApiDcimModuleFamiliesBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleFamiliesBulkDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimModuleTypesBulkDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimModuleTypesBulkDestroyExecute(r)
+func (r ApiDcimModuleFamiliesBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimModuleFamiliesBulkDestroyExecute(r)
}
/*
-DcimModuleTypesBulkDestroy Method for DcimModuleTypesBulkDestroy
+DcimModuleFamiliesBulkDestroy Method for DcimModuleFamiliesBulkDestroy
-Destroy a list of module type objects.
+API viewset for interacting with ModuleFamily objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimModuleTypesBulkDestroyRequest
+ @return ApiDcimModuleFamiliesBulkDestroyRequest
*/
-func (a *DcimAPIService) DcimModuleTypesBulkDestroy(ctx context.Context) ApiDcimModuleTypesBulkDestroyRequest {
- return ApiDcimModuleTypesBulkDestroyRequest{
+func (a *DcimAPIService) DcimModuleFamiliesBulkDestroy(ctx context.Context) ApiDcimModuleFamiliesBulkDestroyRequest {
+ return ApiDcimModuleFamiliesBulkDestroyRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-func (a *DcimAPIService) DcimModuleTypesBulkDestroyExecute(r ApiDcimModuleTypesBulkDestroyRequest) (*http.Response, error) {
+func (a *DcimAPIService) DcimModuleFamiliesBulkDestroyExecute(r ApiDcimModuleFamiliesBulkDestroyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleTypesBulkDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleFamiliesBulkDestroy")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/module-types/"
+ localVarPath := localBasePath + "/dcim/module-families/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -84745,64 +80868,64 @@ func (a *DcimAPIService) DcimModuleTypesBulkDestroyExecute(r ApiDcimModuleTypesB
return localVarHTTPResponse, nil
}
-type ApiDcimModuleTypesBulkPartialUpdateRequest struct {
+type ApiDcimModuleFamiliesBulkPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- patchedBulkWritableModuleTypeRequest *[]PatchedBulkWritableModuleTypeRequest
+ patchedBulkWritableModuleFamilyRequest *[]PatchedBulkWritableModuleFamilyRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimModuleTypesBulkPartialUpdateRequest) PatchedBulkWritableModuleTypeRequest(patchedBulkWritableModuleTypeRequest []PatchedBulkWritableModuleTypeRequest) ApiDcimModuleTypesBulkPartialUpdateRequest {
- r.patchedBulkWritableModuleTypeRequest = &patchedBulkWritableModuleTypeRequest
+func (r ApiDcimModuleFamiliesBulkPartialUpdateRequest) PatchedBulkWritableModuleFamilyRequest(patchedBulkWritableModuleFamilyRequest []PatchedBulkWritableModuleFamilyRequest) ApiDcimModuleFamiliesBulkPartialUpdateRequest {
+ r.patchedBulkWritableModuleFamilyRequest = &patchedBulkWritableModuleFamilyRequest
return r
}
-func (r ApiDcimModuleTypesBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleTypesBulkPartialUpdateRequest {
+func (r ApiDcimModuleFamiliesBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleFamiliesBulkPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimModuleTypesBulkPartialUpdateRequest) Execute() ([]ModuleType, *http.Response, error) {
- return r.ApiService.DcimModuleTypesBulkPartialUpdateExecute(r)
+func (r ApiDcimModuleFamiliesBulkPartialUpdateRequest) Execute() ([]ModuleFamily, *http.Response, error) {
+ return r.ApiService.DcimModuleFamiliesBulkPartialUpdateExecute(r)
}
/*
-DcimModuleTypesBulkPartialUpdate Method for DcimModuleTypesBulkPartialUpdate
+DcimModuleFamiliesBulkPartialUpdate Method for DcimModuleFamiliesBulkPartialUpdate
-Partial update a list of module type objects.
+API viewset for interacting with ModuleFamily objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimModuleTypesBulkPartialUpdateRequest
+ @return ApiDcimModuleFamiliesBulkPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimModuleTypesBulkPartialUpdate(ctx context.Context) ApiDcimModuleTypesBulkPartialUpdateRequest {
- return ApiDcimModuleTypesBulkPartialUpdateRequest{
+func (a *DcimAPIService) DcimModuleFamiliesBulkPartialUpdate(ctx context.Context) ApiDcimModuleFamiliesBulkPartialUpdateRequest {
+ return ApiDcimModuleFamiliesBulkPartialUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []ModuleType
-func (a *DcimAPIService) DcimModuleTypesBulkPartialUpdateExecute(r ApiDcimModuleTypesBulkPartialUpdateRequest) ([]ModuleType, *http.Response, error) {
+// @return []ModuleFamily
+func (a *DcimAPIService) DcimModuleFamiliesBulkPartialUpdateExecute(r ApiDcimModuleFamiliesBulkPartialUpdateRequest) ([]ModuleFamily, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []ModuleType
+ localVarReturnValue []ModuleFamily
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleTypesBulkPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleFamiliesBulkPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/module-types/"
+ localVarPath := localBasePath + "/dcim/module-families/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.patchedBulkWritableModuleTypeRequest == nil {
- return localVarReturnValue, nil, reportError("patchedBulkWritableModuleTypeRequest is required and must be specified")
+ if r.patchedBulkWritableModuleFamilyRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritableModuleFamilyRequest is required and must be specified")
}
if r.format != nil {
@@ -84826,7 +80949,7 @@ func (a *DcimAPIService) DcimModuleTypesBulkPartialUpdateExecute(r ApiDcimModule
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedBulkWritableModuleTypeRequest
+ localVarPostBody = r.patchedBulkWritableModuleFamilyRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -84878,64 +81001,64 @@ func (a *DcimAPIService) DcimModuleTypesBulkPartialUpdateExecute(r ApiDcimModule
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimModuleTypesBulkUpdateRequest struct {
+type ApiDcimModuleFamiliesBulkUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- bulkWritableModuleTypeRequest *[]BulkWritableModuleTypeRequest
+ bulkWritableModuleFamilyRequest *[]BulkWritableModuleFamilyRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimModuleTypesBulkUpdateRequest) BulkWritableModuleTypeRequest(bulkWritableModuleTypeRequest []BulkWritableModuleTypeRequest) ApiDcimModuleTypesBulkUpdateRequest {
- r.bulkWritableModuleTypeRequest = &bulkWritableModuleTypeRequest
+func (r ApiDcimModuleFamiliesBulkUpdateRequest) BulkWritableModuleFamilyRequest(bulkWritableModuleFamilyRequest []BulkWritableModuleFamilyRequest) ApiDcimModuleFamiliesBulkUpdateRequest {
+ r.bulkWritableModuleFamilyRequest = &bulkWritableModuleFamilyRequest
return r
}
-func (r ApiDcimModuleTypesBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleTypesBulkUpdateRequest {
+func (r ApiDcimModuleFamiliesBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleFamiliesBulkUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimModuleTypesBulkUpdateRequest) Execute() ([]ModuleType, *http.Response, error) {
- return r.ApiService.DcimModuleTypesBulkUpdateExecute(r)
+func (r ApiDcimModuleFamiliesBulkUpdateRequest) Execute() ([]ModuleFamily, *http.Response, error) {
+ return r.ApiService.DcimModuleFamiliesBulkUpdateExecute(r)
}
/*
-DcimModuleTypesBulkUpdate Method for DcimModuleTypesBulkUpdate
+DcimModuleFamiliesBulkUpdate Method for DcimModuleFamiliesBulkUpdate
-Update a list of module type objects.
+API viewset for interacting with ModuleFamily objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimModuleTypesBulkUpdateRequest
+ @return ApiDcimModuleFamiliesBulkUpdateRequest
*/
-func (a *DcimAPIService) DcimModuleTypesBulkUpdate(ctx context.Context) ApiDcimModuleTypesBulkUpdateRequest {
- return ApiDcimModuleTypesBulkUpdateRequest{
+func (a *DcimAPIService) DcimModuleFamiliesBulkUpdate(ctx context.Context) ApiDcimModuleFamiliesBulkUpdateRequest {
+ return ApiDcimModuleFamiliesBulkUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []ModuleType
-func (a *DcimAPIService) DcimModuleTypesBulkUpdateExecute(r ApiDcimModuleTypesBulkUpdateRequest) ([]ModuleType, *http.Response, error) {
+// @return []ModuleFamily
+func (a *DcimAPIService) DcimModuleFamiliesBulkUpdateExecute(r ApiDcimModuleFamiliesBulkUpdateRequest) ([]ModuleFamily, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []ModuleType
+ localVarReturnValue []ModuleFamily
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleTypesBulkUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleFamiliesBulkUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/module-types/"
+ localVarPath := localBasePath + "/dcim/module-families/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.bulkWritableModuleTypeRequest == nil {
- return localVarReturnValue, nil, reportError("bulkWritableModuleTypeRequest is required and must be specified")
+ if r.bulkWritableModuleFamilyRequest == nil {
+ return localVarReturnValue, nil, reportError("bulkWritableModuleFamilyRequest is required and must be specified")
}
if r.format != nil {
@@ -84959,7 +81082,7 @@ func (a *DcimAPIService) DcimModuleTypesBulkUpdateExecute(r ApiDcimModuleTypesBu
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.bulkWritableModuleTypeRequest
+ localVarPostBody = r.bulkWritableModuleFamilyRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -85011,64 +81134,64 @@ func (a *DcimAPIService) DcimModuleTypesBulkUpdateExecute(r ApiDcimModuleTypesBu
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimModuleTypesCreateRequest struct {
+type ApiDcimModuleFamiliesCreateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- moduleTypeRequest *ModuleTypeRequest
+ moduleFamilyRequest *ModuleFamilyRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimModuleTypesCreateRequest) ModuleTypeRequest(moduleTypeRequest ModuleTypeRequest) ApiDcimModuleTypesCreateRequest {
- r.moduleTypeRequest = &moduleTypeRequest
+func (r ApiDcimModuleFamiliesCreateRequest) ModuleFamilyRequest(moduleFamilyRequest ModuleFamilyRequest) ApiDcimModuleFamiliesCreateRequest {
+ r.moduleFamilyRequest = &moduleFamilyRequest
return r
}
-func (r ApiDcimModuleTypesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleTypesCreateRequest {
+func (r ApiDcimModuleFamiliesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleFamiliesCreateRequest {
r.format = &format
return r
}
-func (r ApiDcimModuleTypesCreateRequest) Execute() (*ModuleType, *http.Response, error) {
- return r.ApiService.DcimModuleTypesCreateExecute(r)
+func (r ApiDcimModuleFamiliesCreateRequest) Execute() (*ModuleFamily, *http.Response, error) {
+ return r.ApiService.DcimModuleFamiliesCreateExecute(r)
}
/*
-DcimModuleTypesCreate Method for DcimModuleTypesCreate
+DcimModuleFamiliesCreate Method for DcimModuleFamiliesCreate
-Create one or more module type objects.
+API viewset for interacting with ModuleFamily objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimModuleTypesCreateRequest
+ @return ApiDcimModuleFamiliesCreateRequest
*/
-func (a *DcimAPIService) DcimModuleTypesCreate(ctx context.Context) ApiDcimModuleTypesCreateRequest {
- return ApiDcimModuleTypesCreateRequest{
+func (a *DcimAPIService) DcimModuleFamiliesCreate(ctx context.Context) ApiDcimModuleFamiliesCreateRequest {
+ return ApiDcimModuleFamiliesCreateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return ModuleType
-func (a *DcimAPIService) DcimModuleTypesCreateExecute(r ApiDcimModuleTypesCreateRequest) (*ModuleType, *http.Response, error) {
+// @return ModuleFamily
+func (a *DcimAPIService) DcimModuleFamiliesCreateExecute(r ApiDcimModuleFamiliesCreateRequest) (*ModuleFamily, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *ModuleType
+ localVarReturnValue *ModuleFamily
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleTypesCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleFamiliesCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/module-types/"
+ localVarPath := localBasePath + "/dcim/module-families/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.moduleTypeRequest == nil {
- return localVarReturnValue, nil, reportError("moduleTypeRequest is required and must be specified")
+ if r.moduleFamilyRequest == nil {
+ return localVarReturnValue, nil, reportError("moduleFamilyRequest is required and must be specified")
}
if r.format != nil {
@@ -85092,7 +81215,7 @@ func (a *DcimAPIService) DcimModuleTypesCreateExecute(r ApiDcimModuleTypesCreate
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.moduleTypeRequest
+ localVarPostBody = r.moduleFamilyRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -85144,33 +81267,33 @@ func (a *DcimAPIService) DcimModuleTypesCreateExecute(r ApiDcimModuleTypesCreate
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimModuleTypesDestroyRequest struct {
+type ApiDcimModuleFamiliesDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimModuleTypesDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleTypesDestroyRequest {
+func (r ApiDcimModuleFamiliesDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleFamiliesDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimModuleTypesDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimModuleTypesDestroyExecute(r)
+func (r ApiDcimModuleFamiliesDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimModuleFamiliesDestroyExecute(r)
}
/*
-DcimModuleTypesDestroy Method for DcimModuleTypesDestroy
+DcimModuleFamiliesDestroy Method for DcimModuleFamiliesDestroy
-Destroy a module type object.
+API viewset for interacting with ModuleFamily objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this module type.
- @return ApiDcimModuleTypesDestroyRequest
+ @param id A UUID string identifying this module family.
+ @return ApiDcimModuleFamiliesDestroyRequest
*/
-func (a *DcimAPIService) DcimModuleTypesDestroy(ctx context.Context, id string) ApiDcimModuleTypesDestroyRequest {
- return ApiDcimModuleTypesDestroyRequest{
+func (a *DcimAPIService) DcimModuleFamiliesDestroy(ctx context.Context, id string) ApiDcimModuleFamiliesDestroyRequest {
+ return ApiDcimModuleFamiliesDestroyRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -85178,19 +81301,19 @@ func (a *DcimAPIService) DcimModuleTypesDestroy(ctx context.Context, id string)
}
// Execute executes the request
-func (a *DcimAPIService) DcimModuleTypesDestroyExecute(r ApiDcimModuleTypesDestroyRequest) (*http.Response, error) {
+func (a *DcimAPIService) DcimModuleFamiliesDestroyExecute(r ApiDcimModuleFamiliesDestroyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleTypesDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleFamiliesDestroy")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/module-types/{id}/"
+ localVarPath := localBasePath + "/dcim/module-families/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -85259,32 +81382,12 @@ func (a *DcimAPIService) DcimModuleTypesDestroyExecute(r ApiDcimModuleTypesDestr
return localVarHTTPResponse, nil
}
-type ApiDcimModuleTypesListRequest struct {
+type ApiDcimModuleFamiliesListRequest struct {
ctx context.Context
ApiService *DcimAPIService
- comments *[]string
- commentsIc *[]string
- commentsIe *[]string
- commentsIew *[]string
- commentsIre *[]string
- commentsIsw *[]string
- commentsN *[]string
- commentsNic *[]string
- commentsNie *[]string
- commentsNiew *[]string
- commentsNire *[]string
- commentsNisw *[]string
- commentsNre *[]string
- commentsRe *[]string
- consolePortTemplates *[]string
- consolePortTemplatesIsnull *bool
- consolePortTemplatesN *[]string
- consoleServerPortTemplates *[]string
- consoleServerPortTemplatesIsnull *bool
- consoleServerPortTemplatesN *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -85292,38 +81395,25 @@ type ApiDcimModuleTypesListRequest struct {
createdLt *[]time.Time
createdLte *[]time.Time
createdN *[]time.Time
+ description *[]string
+ descriptionIc *[]string
+ descriptionIe *[]string
+ descriptionIew *[]string
+ descriptionIre *[]string
+ descriptionIsw *[]string
+ descriptionN *[]string
+ descriptionNic *[]string
+ descriptionNie *[]string
+ descriptionNiew *[]string
+ descriptionNire *[]string
+ descriptionNisw *[]string
+ descriptionNre *[]string
+ descriptionRe *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
- frontPortTemplates *[]string
- frontPortTemplatesIsnull *bool
- frontPortTemplatesN *[]string
- hasConsolePortTemplates *bool
- hasConsoleServerPortTemplates *bool
- hasFrontPortTemplates *bool
- hasInterfaceTemplates *bool
- hasModuleBayTemplates *bool
- hasModules *bool
- hasPowerOutletTemplates *bool
- hasPowerPortTemplates *bool
- hasRearPortTemplates *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
- interfaceTemplates *[]string
- interfaceTemplatesIsnull *bool
- interfaceTemplatesN *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -85332,941 +81422,417 @@ type ApiDcimModuleTypesListRequest struct {
lastUpdatedLte *[]time.Time
lastUpdatedN *[]time.Time
limit *int32
- manufacturer *[]string
- manufacturerN *[]string
- model *[]string
- modelIc *[]string
- modelIe *[]string
- modelIew *[]string
- modelIre *[]string
- modelIsw *[]string
- modelN *[]string
- modelNic *[]string
- modelNie *[]string
- modelNiew *[]string
- modelNire *[]string
- modelNisw *[]string
- modelNre *[]string
- modelRe *[]string
- moduleBayTemplates *[]string
- moduleBayTemplatesIsnull *bool
- moduleBayTemplatesN *[]string
+ moduleBayId *[][]string
+ moduleTypes *[]string
+ moduleTypesIsnull *bool
+ moduleTypesN *[]string
+ name *[]string
+ nameIc *[]string
+ nameIe *[]string
+ nameIew *[]string
+ nameIre *[]string
+ nameIsw *[]string
+ nameN *[]string
+ nameNic *[]string
+ nameNie *[]string
+ nameNiew *[]string
+ nameNire *[]string
+ nameNisw *[]string
+ nameNre *[]string
+ nameRe *[]string
offset *int32
- partNumber *[]string
- partNumberIc *[]string
- partNumberIe *[]string
- partNumberIew *[]string
- partNumberIre *[]string
- partNumberIsw *[]string
- partNumberN *[]string
- partNumberNic *[]string
- partNumberNie *[]string
- partNumberNiew *[]string
- partNumberNire *[]string
- partNumberNisw *[]string
- partNumberNre *[]string
- partNumberRe *[]string
- powerOutletTemplates *[]string
- powerOutletTemplatesIsnull *bool
- powerOutletTemplatesN *[]string
- powerPortTemplates *[]string
- powerPortTemplatesIsnull *bool
- powerPortTemplatesN *[]string
q *string
- rearPortTemplates *[]string
- rearPortTemplatesIsnull *bool
- rearPortTemplatesN *[]string
sort *string
tags *[]string
tagsIsnull *bool
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimModuleTypesListRequest) Comments(comments []string) ApiDcimModuleTypesListRequest {
- r.comments = &comments
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) CommentsIc(commentsIc []string) ApiDcimModuleTypesListRequest {
- r.commentsIc = &commentsIc
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) CommentsIe(commentsIe []string) ApiDcimModuleTypesListRequest {
- r.commentsIe = &commentsIe
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) CommentsIew(commentsIew []string) ApiDcimModuleTypesListRequest {
- r.commentsIew = &commentsIew
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) CommentsIre(commentsIre []string) ApiDcimModuleTypesListRequest {
- r.commentsIre = &commentsIre
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) CommentsIsw(commentsIsw []string) ApiDcimModuleTypesListRequest {
- r.commentsIsw = &commentsIsw
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) CommentsN(commentsN []string) ApiDcimModuleTypesListRequest {
- r.commentsN = &commentsN
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) CommentsNic(commentsNic []string) ApiDcimModuleTypesListRequest {
- r.commentsNic = &commentsNic
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) CommentsNie(commentsNie []string) ApiDcimModuleTypesListRequest {
- r.commentsNie = &commentsNie
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) CommentsNiew(commentsNiew []string) ApiDcimModuleTypesListRequest {
- r.commentsNiew = &commentsNiew
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) CommentsNire(commentsNire []string) ApiDcimModuleTypesListRequest {
- r.commentsNire = &commentsNire
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) CommentsNisw(commentsNisw []string) ApiDcimModuleTypesListRequest {
- r.commentsNisw = &commentsNisw
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) CommentsNre(commentsNre []string) ApiDcimModuleTypesListRequest {
- r.commentsNre = &commentsNre
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) CommentsRe(commentsRe []string) ApiDcimModuleTypesListRequest {
- r.commentsRe = &commentsRe
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) ConsolePortTemplates(consolePortTemplates []string) ApiDcimModuleTypesListRequest {
- r.consolePortTemplates = &consolePortTemplates
- return r
-}
-
-// Console port templates (name or ID) is null
-func (r ApiDcimModuleTypesListRequest) ConsolePortTemplatesIsnull(consolePortTemplatesIsnull bool) ApiDcimModuleTypesListRequest {
- r.consolePortTemplatesIsnull = &consolePortTemplatesIsnull
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) ConsolePortTemplatesN(consolePortTemplatesN []string) ApiDcimModuleTypesListRequest {
- r.consolePortTemplatesN = &consolePortTemplatesN
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) ConsoleServerPortTemplates(consoleServerPortTemplates []string) ApiDcimModuleTypesListRequest {
- r.consoleServerPortTemplates = &consoleServerPortTemplates
- return r
-}
-
-// Console server port templates (name or ID) is null
-func (r ApiDcimModuleTypesListRequest) ConsoleServerPortTemplatesIsnull(consoleServerPortTemplatesIsnull bool) ApiDcimModuleTypesListRequest {
- r.consoleServerPortTemplatesIsnull = &consoleServerPortTemplatesIsnull
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) ConsoleServerPortTemplatesN(consoleServerPortTemplatesN []string) ApiDcimModuleTypesListRequest {
- r.consoleServerPortTemplatesN = &consoleServerPortTemplatesN
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) Contacts(contacts []string) ApiDcimModuleTypesListRequest {
+func (r ApiDcimModuleFamiliesListRequest) Contacts(contacts []string) ApiDcimModuleFamiliesListRequest {
r.contacts = &contacts
return r
}
// Contacts (name or ID) is null
-func (r ApiDcimModuleTypesListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimModuleTypesListRequest {
+func (r ApiDcimModuleFamiliesListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimModuleFamiliesListRequest {
r.contactsIsnull = &contactsIsnull
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimModuleTypesListRequest) ContactsN(contactsN string) ApiDcimModuleTypesListRequest {
+func (r ApiDcimModuleFamiliesListRequest) ContactsN(contactsN []string) ApiDcimModuleFamiliesListRequest {
r.contactsN = &contactsN
return r
}
-func (r ApiDcimModuleTypesListRequest) Created(created []time.Time) ApiDcimModuleTypesListRequest {
+func (r ApiDcimModuleFamiliesListRequest) Created(created []time.Time) ApiDcimModuleFamiliesListRequest {
r.created = &created
return r
}
-func (r ApiDcimModuleTypesListRequest) CreatedGt(createdGt []time.Time) ApiDcimModuleTypesListRequest {
+func (r ApiDcimModuleFamiliesListRequest) CreatedGt(createdGt []time.Time) ApiDcimModuleFamiliesListRequest {
r.createdGt = &createdGt
return r
}
-func (r ApiDcimModuleTypesListRequest) CreatedGte(createdGte []time.Time) ApiDcimModuleTypesListRequest {
+func (r ApiDcimModuleFamiliesListRequest) CreatedGte(createdGte []time.Time) ApiDcimModuleFamiliesListRequest {
r.createdGte = &createdGte
return r
}
-func (r ApiDcimModuleTypesListRequest) CreatedIsnull(createdIsnull bool) ApiDcimModuleTypesListRequest {
+func (r ApiDcimModuleFamiliesListRequest) CreatedIsnull(createdIsnull bool) ApiDcimModuleFamiliesListRequest {
r.createdIsnull = &createdIsnull
return r
}
-func (r ApiDcimModuleTypesListRequest) CreatedLt(createdLt []time.Time) ApiDcimModuleTypesListRequest {
+func (r ApiDcimModuleFamiliesListRequest) CreatedLt(createdLt []time.Time) ApiDcimModuleFamiliesListRequest {
r.createdLt = &createdLt
return r
}
-func (r ApiDcimModuleTypesListRequest) CreatedLte(createdLte []time.Time) ApiDcimModuleTypesListRequest {
+func (r ApiDcimModuleFamiliesListRequest) CreatedLte(createdLte []time.Time) ApiDcimModuleFamiliesListRequest {
r.createdLte = &createdLte
return r
}
-func (r ApiDcimModuleTypesListRequest) CreatedN(createdN []time.Time) ApiDcimModuleTypesListRequest {
+func (r ApiDcimModuleFamiliesListRequest) CreatedN(createdN []time.Time) ApiDcimModuleFamiliesListRequest {
r.createdN = &createdN
return r
}
-func (r ApiDcimModuleTypesListRequest) DynamicGroups(dynamicGroups []string) ApiDcimModuleTypesListRequest {
- r.dynamicGroups = &dynamicGroups
- return r
-}
-
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimModuleTypesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimModuleTypesListRequest {
- r.dynamicGroupsN = &dynamicGroupsN
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleTypesListRequest {
- r.format = &format
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) FrontPortTemplates(frontPortTemplates []string) ApiDcimModuleTypesListRequest {
- r.frontPortTemplates = &frontPortTemplates
+func (r ApiDcimModuleFamiliesListRequest) Description(description []string) ApiDcimModuleFamiliesListRequest {
+ r.description = &description
return r
}
-// Front port templates (name or ID) is null
-func (r ApiDcimModuleTypesListRequest) FrontPortTemplatesIsnull(frontPortTemplatesIsnull bool) ApiDcimModuleTypesListRequest {
- r.frontPortTemplatesIsnull = &frontPortTemplatesIsnull
+func (r ApiDcimModuleFamiliesListRequest) DescriptionIc(descriptionIc []string) ApiDcimModuleFamiliesListRequest {
+ r.descriptionIc = &descriptionIc
return r
}
-func (r ApiDcimModuleTypesListRequest) FrontPortTemplatesN(frontPortTemplatesN []string) ApiDcimModuleTypesListRequest {
- r.frontPortTemplatesN = &frontPortTemplatesN
+func (r ApiDcimModuleFamiliesListRequest) DescriptionIe(descriptionIe []string) ApiDcimModuleFamiliesListRequest {
+ r.descriptionIe = &descriptionIe
return r
}
-// Has console port templates
-func (r ApiDcimModuleTypesListRequest) HasConsolePortTemplates(hasConsolePortTemplates bool) ApiDcimModuleTypesListRequest {
- r.hasConsolePortTemplates = &hasConsolePortTemplates
+func (r ApiDcimModuleFamiliesListRequest) DescriptionIew(descriptionIew []string) ApiDcimModuleFamiliesListRequest {
+ r.descriptionIew = &descriptionIew
return r
}
-// Has console server port templates
-func (r ApiDcimModuleTypesListRequest) HasConsoleServerPortTemplates(hasConsoleServerPortTemplates bool) ApiDcimModuleTypesListRequest {
- r.hasConsoleServerPortTemplates = &hasConsoleServerPortTemplates
+func (r ApiDcimModuleFamiliesListRequest) DescriptionIre(descriptionIre []string) ApiDcimModuleFamiliesListRequest {
+ r.descriptionIre = &descriptionIre
return r
}
-// Has front port templates
-func (r ApiDcimModuleTypesListRequest) HasFrontPortTemplates(hasFrontPortTemplates bool) ApiDcimModuleTypesListRequest {
- r.hasFrontPortTemplates = &hasFrontPortTemplates
+func (r ApiDcimModuleFamiliesListRequest) DescriptionIsw(descriptionIsw []string) ApiDcimModuleFamiliesListRequest {
+ r.descriptionIsw = &descriptionIsw
return r
}
-// Has interface templates
-func (r ApiDcimModuleTypesListRequest) HasInterfaceTemplates(hasInterfaceTemplates bool) ApiDcimModuleTypesListRequest {
- r.hasInterfaceTemplates = &hasInterfaceTemplates
+func (r ApiDcimModuleFamiliesListRequest) DescriptionN(descriptionN []string) ApiDcimModuleFamiliesListRequest {
+ r.descriptionN = &descriptionN
return r
}
-// Has module bay templates
-func (r ApiDcimModuleTypesListRequest) HasModuleBayTemplates(hasModuleBayTemplates bool) ApiDcimModuleTypesListRequest {
- r.hasModuleBayTemplates = &hasModuleBayTemplates
+func (r ApiDcimModuleFamiliesListRequest) DescriptionNic(descriptionNic []string) ApiDcimModuleFamiliesListRequest {
+ r.descriptionNic = &descriptionNic
return r
}
-// Has module instances
-func (r ApiDcimModuleTypesListRequest) HasModules(hasModules bool) ApiDcimModuleTypesListRequest {
- r.hasModules = &hasModules
+func (r ApiDcimModuleFamiliesListRequest) DescriptionNie(descriptionNie []string) ApiDcimModuleFamiliesListRequest {
+ r.descriptionNie = &descriptionNie
return r
}
-// Has power outlet templates
-func (r ApiDcimModuleTypesListRequest) HasPowerOutletTemplates(hasPowerOutletTemplates bool) ApiDcimModuleTypesListRequest {
- r.hasPowerOutletTemplates = &hasPowerOutletTemplates
+func (r ApiDcimModuleFamiliesListRequest) DescriptionNiew(descriptionNiew []string) ApiDcimModuleFamiliesListRequest {
+ r.descriptionNiew = &descriptionNiew
return r
}
-// Has power port templates
-func (r ApiDcimModuleTypesListRequest) HasPowerPortTemplates(hasPowerPortTemplates bool) ApiDcimModuleTypesListRequest {
- r.hasPowerPortTemplates = &hasPowerPortTemplates
+func (r ApiDcimModuleFamiliesListRequest) DescriptionNire(descriptionNire []string) ApiDcimModuleFamiliesListRequest {
+ r.descriptionNire = &descriptionNire
return r
}
-// Has rear port templates
-func (r ApiDcimModuleTypesListRequest) HasRearPortTemplates(hasRearPortTemplates bool) ApiDcimModuleTypesListRequest {
- r.hasRearPortTemplates = &hasRearPortTemplates
+func (r ApiDcimModuleFamiliesListRequest) DescriptionNisw(descriptionNisw []string) ApiDcimModuleFamiliesListRequest {
+ r.descriptionNisw = &descriptionNisw
return r
}
-// Unique object identifier, either a UUID primary key or a composite key.
-func (r ApiDcimModuleTypesListRequest) Id(id []string) ApiDcimModuleTypesListRequest {
- r.id = &id
+func (r ApiDcimModuleFamiliesListRequest) DescriptionNre(descriptionNre []string) ApiDcimModuleFamiliesListRequest {
+ r.descriptionNre = &descriptionNre
return r
}
-func (r ApiDcimModuleTypesListRequest) IdIc(idIc []string) ApiDcimModuleTypesListRequest {
- r.idIc = &idIc
+func (r ApiDcimModuleFamiliesListRequest) DescriptionRe(descriptionRe []string) ApiDcimModuleFamiliesListRequest {
+ r.descriptionRe = &descriptionRe
return r
}
-func (r ApiDcimModuleTypesListRequest) IdIe(idIe []string) ApiDcimModuleTypesListRequest {
- r.idIe = &idIe
+func (r ApiDcimModuleFamiliesListRequest) DynamicGroups(dynamicGroups []string) ApiDcimModuleFamiliesListRequest {
+ r.dynamicGroups = &dynamicGroups
return r
}
-func (r ApiDcimModuleTypesListRequest) IdIew(idIew []string) ApiDcimModuleTypesListRequest {
- r.idIew = &idIew
+func (r ApiDcimModuleFamiliesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimModuleFamiliesListRequest {
+ r.dynamicGroupsN = &dynamicGroupsN
return r
}
-func (r ApiDcimModuleTypesListRequest) IdIre(idIre []string) ApiDcimModuleTypesListRequest {
- r.idIre = &idIre
+func (r ApiDcimModuleFamiliesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleFamiliesListRequest {
+ r.format = &format
return r
}
-func (r ApiDcimModuleTypesListRequest) IdIsw(idIsw []string) ApiDcimModuleTypesListRequest {
- r.idIsw = &idIsw
+// Unique object identifier, either a UUID primary key or a composite key.
+func (r ApiDcimModuleFamiliesListRequest) Id(id []string) ApiDcimModuleFamiliesListRequest {
+ r.id = &id
return r
}
-func (r ApiDcimModuleTypesListRequest) IdN(idN []string) ApiDcimModuleTypesListRequest {
+func (r ApiDcimModuleFamiliesListRequest) IdN(idN []string) ApiDcimModuleFamiliesListRequest {
r.idN = &idN
return r
}
-func (r ApiDcimModuleTypesListRequest) IdNic(idNic []string) ApiDcimModuleTypesListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) IdNie(idNie []string) ApiDcimModuleTypesListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) IdNiew(idNiew []string) ApiDcimModuleTypesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) IdNire(idNire []string) ApiDcimModuleTypesListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) IdNisw(idNisw []string) ApiDcimModuleTypesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) IdNre(idNre []string) ApiDcimModuleTypesListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) IdRe(idRe []string) ApiDcimModuleTypesListRequest {
- r.idRe = &idRe
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) InterfaceTemplates(interfaceTemplates []string) ApiDcimModuleTypesListRequest {
- r.interfaceTemplates = &interfaceTemplates
- return r
-}
-
-// Interface templates (name or ID) is null
-func (r ApiDcimModuleTypesListRequest) InterfaceTemplatesIsnull(interfaceTemplatesIsnull bool) ApiDcimModuleTypesListRequest {
- r.interfaceTemplatesIsnull = &interfaceTemplatesIsnull
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) InterfaceTemplatesN(interfaceTemplatesN []string) ApiDcimModuleTypesListRequest {
- r.interfaceTemplatesN = &interfaceTemplatesN
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimModuleTypesListRequest {
+func (r ApiDcimModuleFamiliesListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimModuleFamiliesListRequest {
r.lastUpdated = &lastUpdated
return r
}
-func (r ApiDcimModuleTypesListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiDcimModuleTypesListRequest {
+func (r ApiDcimModuleFamiliesListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiDcimModuleFamiliesListRequest {
r.lastUpdatedGt = &lastUpdatedGt
return r
}
-func (r ApiDcimModuleTypesListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiDcimModuleTypesListRequest {
+func (r ApiDcimModuleFamiliesListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiDcimModuleFamiliesListRequest {
r.lastUpdatedGte = &lastUpdatedGte
return r
}
-func (r ApiDcimModuleTypesListRequest) LastUpdatedIsnull(lastUpdatedIsnull bool) ApiDcimModuleTypesListRequest {
+func (r ApiDcimModuleFamiliesListRequest) LastUpdatedIsnull(lastUpdatedIsnull bool) ApiDcimModuleFamiliesListRequest {
r.lastUpdatedIsnull = &lastUpdatedIsnull
return r
}
-func (r ApiDcimModuleTypesListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiDcimModuleTypesListRequest {
+func (r ApiDcimModuleFamiliesListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiDcimModuleFamiliesListRequest {
r.lastUpdatedLt = &lastUpdatedLt
return r
}
-func (r ApiDcimModuleTypesListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiDcimModuleTypesListRequest {
+func (r ApiDcimModuleFamiliesListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiDcimModuleFamiliesListRequest {
r.lastUpdatedLte = &lastUpdatedLte
return r
}
-func (r ApiDcimModuleTypesListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiDcimModuleTypesListRequest {
+func (r ApiDcimModuleFamiliesListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiDcimModuleFamiliesListRequest {
r.lastUpdatedN = &lastUpdatedN
return r
}
// Number of results to return per page.
-func (r ApiDcimModuleTypesListRequest) Limit(limit int32) ApiDcimModuleTypesListRequest {
+func (r ApiDcimModuleFamiliesListRequest) Limit(limit int32) ApiDcimModuleFamiliesListRequest {
r.limit = &limit
return r
}
-func (r ApiDcimModuleTypesListRequest) Manufacturer(manufacturer []string) ApiDcimModuleTypesListRequest {
- r.manufacturer = &manufacturer
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) ManufacturerN(manufacturerN []string) ApiDcimModuleTypesListRequest {
- r.manufacturerN = &manufacturerN
+func (r ApiDcimModuleFamiliesListRequest) ModuleBayId(moduleBayId [][]string) ApiDcimModuleFamiliesListRequest {
+ r.moduleBayId = &moduleBayId
return r
}
-func (r ApiDcimModuleTypesListRequest) Model(model []string) ApiDcimModuleTypesListRequest {
- r.model = &model
+func (r ApiDcimModuleFamiliesListRequest) ModuleTypes(moduleTypes []string) ApiDcimModuleFamiliesListRequest {
+ r.moduleTypes = &moduleTypes
return r
}
-func (r ApiDcimModuleTypesListRequest) ModelIc(modelIc []string) ApiDcimModuleTypesListRequest {
- r.modelIc = &modelIc
+// Module types (model or ID) is null
+func (r ApiDcimModuleFamiliesListRequest) ModuleTypesIsnull(moduleTypesIsnull bool) ApiDcimModuleFamiliesListRequest {
+ r.moduleTypesIsnull = &moduleTypesIsnull
return r
}
-func (r ApiDcimModuleTypesListRequest) ModelIe(modelIe []string) ApiDcimModuleTypesListRequest {
- r.modelIe = &modelIe
+func (r ApiDcimModuleFamiliesListRequest) ModuleTypesN(moduleTypesN []string) ApiDcimModuleFamiliesListRequest {
+ r.moduleTypesN = &moduleTypesN
return r
}
-func (r ApiDcimModuleTypesListRequest) ModelIew(modelIew []string) ApiDcimModuleTypesListRequest {
- r.modelIew = &modelIew
+func (r ApiDcimModuleFamiliesListRequest) Name(name []string) ApiDcimModuleFamiliesListRequest {
+ r.name = &name
return r
}
-func (r ApiDcimModuleTypesListRequest) ModelIre(modelIre []string) ApiDcimModuleTypesListRequest {
- r.modelIre = &modelIre
+func (r ApiDcimModuleFamiliesListRequest) NameIc(nameIc []string) ApiDcimModuleFamiliesListRequest {
+ r.nameIc = &nameIc
return r
}
-func (r ApiDcimModuleTypesListRequest) ModelIsw(modelIsw []string) ApiDcimModuleTypesListRequest {
- r.modelIsw = &modelIsw
+func (r ApiDcimModuleFamiliesListRequest) NameIe(nameIe []string) ApiDcimModuleFamiliesListRequest {
+ r.nameIe = &nameIe
return r
}
-func (r ApiDcimModuleTypesListRequest) ModelN(modelN []string) ApiDcimModuleTypesListRequest {
- r.modelN = &modelN
+func (r ApiDcimModuleFamiliesListRequest) NameIew(nameIew []string) ApiDcimModuleFamiliesListRequest {
+ r.nameIew = &nameIew
return r
}
-func (r ApiDcimModuleTypesListRequest) ModelNic(modelNic []string) ApiDcimModuleTypesListRequest {
- r.modelNic = &modelNic
+func (r ApiDcimModuleFamiliesListRequest) NameIre(nameIre []string) ApiDcimModuleFamiliesListRequest {
+ r.nameIre = &nameIre
return r
}
-func (r ApiDcimModuleTypesListRequest) ModelNie(modelNie []string) ApiDcimModuleTypesListRequest {
- r.modelNie = &modelNie
+func (r ApiDcimModuleFamiliesListRequest) NameIsw(nameIsw []string) ApiDcimModuleFamiliesListRequest {
+ r.nameIsw = &nameIsw
return r
}
-func (r ApiDcimModuleTypesListRequest) ModelNiew(modelNiew []string) ApiDcimModuleTypesListRequest {
- r.modelNiew = &modelNiew
+func (r ApiDcimModuleFamiliesListRequest) NameN(nameN []string) ApiDcimModuleFamiliesListRequest {
+ r.nameN = &nameN
return r
}
-func (r ApiDcimModuleTypesListRequest) ModelNire(modelNire []string) ApiDcimModuleTypesListRequest {
- r.modelNire = &modelNire
+func (r ApiDcimModuleFamiliesListRequest) NameNic(nameNic []string) ApiDcimModuleFamiliesListRequest {
+ r.nameNic = &nameNic
return r
}
-func (r ApiDcimModuleTypesListRequest) ModelNisw(modelNisw []string) ApiDcimModuleTypesListRequest {
- r.modelNisw = &modelNisw
+func (r ApiDcimModuleFamiliesListRequest) NameNie(nameNie []string) ApiDcimModuleFamiliesListRequest {
+ r.nameNie = &nameNie
return r
}
-func (r ApiDcimModuleTypesListRequest) ModelNre(modelNre []string) ApiDcimModuleTypesListRequest {
- r.modelNre = &modelNre
+func (r ApiDcimModuleFamiliesListRequest) NameNiew(nameNiew []string) ApiDcimModuleFamiliesListRequest {
+ r.nameNiew = &nameNiew
return r
}
-func (r ApiDcimModuleTypesListRequest) ModelRe(modelRe []string) ApiDcimModuleTypesListRequest {
- r.modelRe = &modelRe
+func (r ApiDcimModuleFamiliesListRequest) NameNire(nameNire []string) ApiDcimModuleFamiliesListRequest {
+ r.nameNire = &nameNire
return r
}
-func (r ApiDcimModuleTypesListRequest) ModuleBayTemplates(moduleBayTemplates []string) ApiDcimModuleTypesListRequest {
- r.moduleBayTemplates = &moduleBayTemplates
+func (r ApiDcimModuleFamiliesListRequest) NameNisw(nameNisw []string) ApiDcimModuleFamiliesListRequest {
+ r.nameNisw = &nameNisw
return r
}
-func (r ApiDcimModuleTypesListRequest) ModuleBayTemplatesIsnull(moduleBayTemplatesIsnull bool) ApiDcimModuleTypesListRequest {
- r.moduleBayTemplatesIsnull = &moduleBayTemplatesIsnull
+func (r ApiDcimModuleFamiliesListRequest) NameNre(nameNre []string) ApiDcimModuleFamiliesListRequest {
+ r.nameNre = &nameNre
return r
}
-func (r ApiDcimModuleTypesListRequest) ModuleBayTemplatesN(moduleBayTemplatesN []string) ApiDcimModuleTypesListRequest {
- r.moduleBayTemplatesN = &moduleBayTemplatesN
+func (r ApiDcimModuleFamiliesListRequest) NameRe(nameRe []string) ApiDcimModuleFamiliesListRequest {
+ r.nameRe = &nameRe
return r
}
// The initial index from which to return the results.
-func (r ApiDcimModuleTypesListRequest) Offset(offset int32) ApiDcimModuleTypesListRequest {
+func (r ApiDcimModuleFamiliesListRequest) Offset(offset int32) ApiDcimModuleFamiliesListRequest {
r.offset = &offset
return r
}
-func (r ApiDcimModuleTypesListRequest) PartNumber(partNumber []string) ApiDcimModuleTypesListRequest {
- r.partNumber = &partNumber
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) PartNumberIc(partNumberIc []string) ApiDcimModuleTypesListRequest {
- r.partNumberIc = &partNumberIc
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) PartNumberIe(partNumberIe []string) ApiDcimModuleTypesListRequest {
- r.partNumberIe = &partNumberIe
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) PartNumberIew(partNumberIew []string) ApiDcimModuleTypesListRequest {
- r.partNumberIew = &partNumberIew
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) PartNumberIre(partNumberIre []string) ApiDcimModuleTypesListRequest {
- r.partNumberIre = &partNumberIre
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) PartNumberIsw(partNumberIsw []string) ApiDcimModuleTypesListRequest {
- r.partNumberIsw = &partNumberIsw
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) PartNumberN(partNumberN []string) ApiDcimModuleTypesListRequest {
- r.partNumberN = &partNumberN
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) PartNumberNic(partNumberNic []string) ApiDcimModuleTypesListRequest {
- r.partNumberNic = &partNumberNic
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) PartNumberNie(partNumberNie []string) ApiDcimModuleTypesListRequest {
- r.partNumberNie = &partNumberNie
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) PartNumberNiew(partNumberNiew []string) ApiDcimModuleTypesListRequest {
- r.partNumberNiew = &partNumberNiew
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) PartNumberNire(partNumberNire []string) ApiDcimModuleTypesListRequest {
- r.partNumberNire = &partNumberNire
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) PartNumberNisw(partNumberNisw []string) ApiDcimModuleTypesListRequest {
- r.partNumberNisw = &partNumberNisw
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) PartNumberNre(partNumberNre []string) ApiDcimModuleTypesListRequest {
- r.partNumberNre = &partNumberNre
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) PartNumberRe(partNumberRe []string) ApiDcimModuleTypesListRequest {
- r.partNumberRe = &partNumberRe
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) PowerOutletTemplates(powerOutletTemplates []string) ApiDcimModuleTypesListRequest {
- r.powerOutletTemplates = &powerOutletTemplates
- return r
-}
-
-// Power outlet templates (name or ID) is null
-func (r ApiDcimModuleTypesListRequest) PowerOutletTemplatesIsnull(powerOutletTemplatesIsnull bool) ApiDcimModuleTypesListRequest {
- r.powerOutletTemplatesIsnull = &powerOutletTemplatesIsnull
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) PowerOutletTemplatesN(powerOutletTemplatesN []string) ApiDcimModuleTypesListRequest {
- r.powerOutletTemplatesN = &powerOutletTemplatesN
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) PowerPortTemplates(powerPortTemplates []string) ApiDcimModuleTypesListRequest {
- r.powerPortTemplates = &powerPortTemplates
- return r
-}
-
-// Power port templates (name or ID) is null
-func (r ApiDcimModuleTypesListRequest) PowerPortTemplatesIsnull(powerPortTemplatesIsnull bool) ApiDcimModuleTypesListRequest {
- r.powerPortTemplatesIsnull = &powerPortTemplatesIsnull
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) PowerPortTemplatesN(powerPortTemplatesN []string) ApiDcimModuleTypesListRequest {
- r.powerPortTemplatesN = &powerPortTemplatesN
- return r
-}
-
// Search
-func (r ApiDcimModuleTypesListRequest) Q(q string) ApiDcimModuleTypesListRequest {
+func (r ApiDcimModuleFamiliesListRequest) Q(q string) ApiDcimModuleFamiliesListRequest {
r.q = &q
return r
}
-func (r ApiDcimModuleTypesListRequest) RearPortTemplates(rearPortTemplates []string) ApiDcimModuleTypesListRequest {
- r.rearPortTemplates = &rearPortTemplates
- return r
-}
-
-// Rear port templates (name or ID) is null
-func (r ApiDcimModuleTypesListRequest) RearPortTemplatesIsnull(rearPortTemplatesIsnull bool) ApiDcimModuleTypesListRequest {
- r.rearPortTemplatesIsnull = &rearPortTemplatesIsnull
- return r
-}
-
-func (r ApiDcimModuleTypesListRequest) RearPortTemplatesN(rearPortTemplatesN []string) ApiDcimModuleTypesListRequest {
- r.rearPortTemplatesN = &rearPortTemplatesN
- return r
-}
-
// Which field to use when ordering the results.
-func (r ApiDcimModuleTypesListRequest) Sort(sort string) ApiDcimModuleTypesListRequest {
+func (r ApiDcimModuleFamiliesListRequest) Sort(sort string) ApiDcimModuleFamiliesListRequest {
r.sort = &sort
return r
}
-func (r ApiDcimModuleTypesListRequest) Tags(tags []string) ApiDcimModuleTypesListRequest {
+func (r ApiDcimModuleFamiliesListRequest) Tags(tags []string) ApiDcimModuleFamiliesListRequest {
r.tags = &tags
return r
}
-func (r ApiDcimModuleTypesListRequest) TagsIsnull(tagsIsnull bool) ApiDcimModuleTypesListRequest {
+func (r ApiDcimModuleFamiliesListRequest) TagsIsnull(tagsIsnull bool) ApiDcimModuleFamiliesListRequest {
r.tagsIsnull = &tagsIsnull
return r
}
-func (r ApiDcimModuleTypesListRequest) TagsN(tagsN []string) ApiDcimModuleTypesListRequest {
+func (r ApiDcimModuleFamiliesListRequest) TagsN(tagsN []string) ApiDcimModuleFamiliesListRequest {
r.tagsN = &tagsN
return r
}
-func (r ApiDcimModuleTypesListRequest) Teams(teams []string) ApiDcimModuleTypesListRequest {
+func (r ApiDcimModuleFamiliesListRequest) Teams(teams []string) ApiDcimModuleFamiliesListRequest {
r.teams = &teams
return r
}
// Teams (name or ID) is null
-func (r ApiDcimModuleTypesListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimModuleTypesListRequest {
+func (r ApiDcimModuleFamiliesListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimModuleFamiliesListRequest {
r.teamsIsnull = &teamsIsnull
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimModuleTypesListRequest) TeamsN(teamsN string) ApiDcimModuleTypesListRequest {
+func (r ApiDcimModuleFamiliesListRequest) TeamsN(teamsN []string) ApiDcimModuleFamiliesListRequest {
r.teamsN = &teamsN
return r
}
// Serializer Depth
-func (r ApiDcimModuleTypesListRequest) Depth(depth int32) ApiDcimModuleTypesListRequest {
+func (r ApiDcimModuleFamiliesListRequest) Depth(depth int32) ApiDcimModuleFamiliesListRequest {
r.depth = &depth
return r
}
-func (r ApiDcimModuleTypesListRequest) Execute() (*PaginatedModuleTypeList, *http.Response, error) {
- return r.ApiService.DcimModuleTypesListExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimModuleFamiliesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimModuleFamiliesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimModuleFamiliesListRequest) Execute() (*PaginatedModuleFamilyList, *http.Response, error) {
+ return r.ApiService.DcimModuleFamiliesListExecute(r)
}
/*
-DcimModuleTypesList Method for DcimModuleTypesList
+DcimModuleFamiliesList Method for DcimModuleFamiliesList
-Retrieve a list of module type objects.
+API viewset for interacting with ModuleFamily objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimModuleTypesListRequest
+ @return ApiDcimModuleFamiliesListRequest
*/
-func (a *DcimAPIService) DcimModuleTypesList(ctx context.Context) ApiDcimModuleTypesListRequest {
- return ApiDcimModuleTypesListRequest{
+func (a *DcimAPIService) DcimModuleFamiliesList(ctx context.Context) ApiDcimModuleFamiliesListRequest {
+ return ApiDcimModuleFamiliesListRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return PaginatedModuleTypeList
-func (a *DcimAPIService) DcimModuleTypesListExecute(r ApiDcimModuleTypesListRequest) (*PaginatedModuleTypeList, *http.Response, error) {
+// @return PaginatedModuleFamilyList
+func (a *DcimAPIService) DcimModuleFamiliesListExecute(r ApiDcimModuleFamiliesListRequest) (*PaginatedModuleFamilyList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PaginatedModuleTypeList
+ localVarReturnValue *PaginatedModuleFamilyList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleTypesList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleFamiliesList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/module-types/"
+ localVarPath := localBasePath + "/dcim/module-families/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.comments != nil {
- t := *r.comments
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments", t, "form", "multi")
- }
- }
- if r.commentsIc != nil {
- t := *r.commentsIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ic", t, "form", "multi")
- }
- }
- if r.commentsIe != nil {
- t := *r.commentsIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ie", t, "form", "multi")
- }
- }
- if r.commentsIew != nil {
- t := *r.commentsIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__iew", t, "form", "multi")
- }
- }
- if r.commentsIre != nil {
- t := *r.commentsIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ire", t, "form", "multi")
- }
- }
- if r.commentsIsw != nil {
- t := *r.commentsIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__isw", t, "form", "multi")
- }
- }
- if r.commentsN != nil {
- t := *r.commentsN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__n", t, "form", "multi")
- }
- }
- if r.commentsNic != nil {
- t := *r.commentsNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nic", t, "form", "multi")
- }
- }
- if r.commentsNie != nil {
- t := *r.commentsNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nie", t, "form", "multi")
- }
- }
- if r.commentsNiew != nil {
- t := *r.commentsNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__niew", t, "form", "multi")
- }
- }
- if r.commentsNire != nil {
- t := *r.commentsNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nire", t, "form", "multi")
- }
- }
- if r.commentsNisw != nil {
- t := *r.commentsNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nisw", t, "form", "multi")
- }
- }
- if r.commentsNre != nil {
- t := *r.commentsNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nre", t, "form", "multi")
- }
- }
- if r.commentsRe != nil {
- t := *r.commentsRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__re", t, "form", "multi")
- }
- }
- if r.consolePortTemplates != nil {
- t := *r.consolePortTemplates
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "console_port_templates", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "console_port_templates", t, "form", "multi")
- }
- }
- if r.consolePortTemplatesIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "console_port_templates__isnull", r.consolePortTemplatesIsnull, "form", "")
- }
- if r.consolePortTemplatesN != nil {
- t := *r.consolePortTemplatesN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "console_port_templates__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "console_port_templates__n", t, "form", "multi")
- }
- }
- if r.consoleServerPortTemplates != nil {
- t := *r.consoleServerPortTemplates
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "console_server_port_templates", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "console_server_port_templates", t, "form", "multi")
- }
- }
- if r.consoleServerPortTemplatesIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "console_server_port_templates__isnull", r.consoleServerPortTemplatesIsnull, "form", "")
- }
- if r.consoleServerPortTemplatesN != nil {
- t := *r.consoleServerPortTemplatesN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "console_server_port_templates__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "console_server_port_templates__n", t, "form", "multi")
- }
- }
if r.contacts != nil {
t := *r.contacts
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -86282,7 +81848,15 @@ func (a *DcimAPIService) DcimModuleTypesListExecute(r ApiDcimModuleTypesListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -86353,252 +81927,205 @@ func (a *DcimAPIService) DcimModuleTypesListExecute(r ApiDcimModuleTypesListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "form", "multi")
}
}
- if r.dynamicGroups != nil {
- t := *r.dynamicGroups
+ if r.description != nil {
+ t := *r.description
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description", t, "form", "multi")
}
}
- if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.frontPortTemplates != nil {
- t := *r.frontPortTemplates
+ if r.descriptionIc != nil {
+ t := *r.descriptionIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "front_port_templates", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "front_port_templates", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", t, "form", "multi")
}
}
- if r.frontPortTemplatesIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "front_port_templates__isnull", r.frontPortTemplatesIsnull, "form", "")
- }
- if r.frontPortTemplatesN != nil {
- t := *r.frontPortTemplatesN
+ if r.descriptionIe != nil {
+ t := *r.descriptionIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "front_port_templates__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "front_port_templates__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", t, "form", "multi")
}
}
- if r.hasConsolePortTemplates != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_console_port_templates", r.hasConsolePortTemplates, "form", "")
- }
- if r.hasConsoleServerPortTemplates != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_console_server_port_templates", r.hasConsoleServerPortTemplates, "form", "")
- }
- if r.hasFrontPortTemplates != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_front_port_templates", r.hasFrontPortTemplates, "form", "")
- }
- if r.hasInterfaceTemplates != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_interface_templates", r.hasInterfaceTemplates, "form", "")
- }
- if r.hasModuleBayTemplates != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_module_bay_templates", r.hasModuleBayTemplates, "form", "")
- }
- if r.hasModules != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_modules", r.hasModules, "form", "")
- }
- if r.hasPowerOutletTemplates != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_power_outlet_templates", r.hasPowerOutletTemplates, "form", "")
- }
- if r.hasPowerPortTemplates != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_power_port_templates", r.hasPowerPortTemplates, "form", "")
- }
- if r.hasRearPortTemplates != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_rear_port_templates", r.hasRearPortTemplates, "form", "")
- }
- if r.id != nil {
- t := *r.id
+ if r.descriptionIew != nil {
+ t := *r.descriptionIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
+ if r.descriptionIre != nil {
+ t := *r.descriptionIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", t, "form", "multi")
}
}
- if r.idIe != nil {
- t := *r.idIe
+ if r.descriptionIsw != nil {
+ t := *r.descriptionIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", t, "form", "multi")
}
}
- if r.idIew != nil {
- t := *r.idIew
+ if r.descriptionN != nil {
+ t := *r.descriptionN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", t, "form", "multi")
}
}
- if r.idIre != nil {
- t := *r.idIre
+ if r.descriptionNic != nil {
+ t := *r.descriptionNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", t, "form", "multi")
}
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.descriptionNie != nil {
+ t := *r.descriptionNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", t, "form", "multi")
}
}
- if r.idN != nil {
- t := *r.idN
+ if r.descriptionNiew != nil {
+ t := *r.descriptionNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
+ if r.descriptionNire != nil {
+ t := *r.descriptionNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", t, "form", "multi")
}
}
- if r.idNie != nil {
- t := *r.idNie
+ if r.descriptionNisw != nil {
+ t := *r.descriptionNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", t, "form", "multi")
}
}
- if r.idNiew != nil {
- t := *r.idNiew
+ if r.descriptionNre != nil {
+ t := *r.descriptionNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", t, "form", "multi")
}
}
- if r.idNire != nil {
- t := *r.idNire
+ if r.descriptionRe != nil {
+ t := *r.descriptionRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", t, "form", "multi")
}
}
- if r.idNisw != nil {
- t := *r.idNisw
+ if r.dynamicGroups != nil {
+ t := *r.dynamicGroups
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
}
}
- if r.idNre != nil {
- t := *r.idNre
+ if r.dynamicGroupsN != nil {
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.interfaceTemplates != nil {
- t := *r.interfaceTemplates
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "interface_templates", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "interface_templates", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.interfaceTemplatesIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "interface_templates__isnull", r.interfaceTemplatesIsnull, "form", "")
- }
- if r.interfaceTemplatesN != nil {
- t := *r.interfaceTemplatesN
+ if r.idN != nil {
+ t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "interface_templates__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "interface_templates__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
if r.lastUpdated != nil {
@@ -86673,442 +82200,202 @@ func (a *DcimAPIService) DcimModuleTypesListExecute(r ApiDcimModuleTypesListRequ
if r.limit != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
- if r.manufacturer != nil {
- t := *r.manufacturer
+ if r.moduleBayId != nil {
+ t := *r.moduleBayId
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_bay_id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_bay_id", t, "form", "multi")
}
}
- if r.manufacturerN != nil {
- t := *r.manufacturerN
+ if r.moduleTypes != nil {
+ t := *r.moduleTypes
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_types", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_types", t, "form", "multi")
}
}
- if r.model != nil {
- t := *r.model
+ if r.moduleTypesIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_types__isnull", r.moduleTypesIsnull, "form", "")
+ }
+ if r.moduleTypesN != nil {
+ t := *r.moduleTypesN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "model", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_types__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "model", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_types__n", t, "form", "multi")
}
}
- if r.modelIc != nil {
- t := *r.modelIc
+ if r.name != nil {
+ t := *r.name
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "model__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "model__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name", t, "form", "multi")
}
}
- if r.modelIe != nil {
- t := *r.modelIe
+ if r.nameIc != nil {
+ t := *r.nameIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "model__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "model__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", t, "form", "multi")
}
}
- if r.modelIew != nil {
- t := *r.modelIew
+ if r.nameIe != nil {
+ t := *r.nameIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "model__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "model__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", t, "form", "multi")
}
}
- if r.modelIre != nil {
- t := *r.modelIre
+ if r.nameIew != nil {
+ t := *r.nameIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "model__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "model__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", t, "form", "multi")
}
}
- if r.modelIsw != nil {
- t := *r.modelIsw
+ if r.nameIre != nil {
+ t := *r.nameIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "model__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "model__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", t, "form", "multi")
}
}
- if r.modelN != nil {
- t := *r.modelN
+ if r.nameIsw != nil {
+ t := *r.nameIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "model__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "model__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", t, "form", "multi")
}
}
- if r.modelNic != nil {
- t := *r.modelNic
+ if r.nameN != nil {
+ t := *r.nameN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "model__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "model__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", t, "form", "multi")
}
}
- if r.modelNie != nil {
- t := *r.modelNie
+ if r.nameNic != nil {
+ t := *r.nameNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "model__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "model__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", t, "form", "multi")
}
}
- if r.modelNiew != nil {
- t := *r.modelNiew
+ if r.nameNie != nil {
+ t := *r.nameNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "model__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "model__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", t, "form", "multi")
}
}
- if r.modelNire != nil {
- t := *r.modelNire
+ if r.nameNiew != nil {
+ t := *r.nameNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "model__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "model__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", t, "form", "multi")
}
}
- if r.modelNisw != nil {
- t := *r.modelNisw
+ if r.nameNire != nil {
+ t := *r.nameNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "model__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "model__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", t, "form", "multi")
}
}
- if r.modelNre != nil {
- t := *r.modelNre
+ if r.nameNisw != nil {
+ t := *r.nameNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "model__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "model__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", t, "form", "multi")
}
}
- if r.modelRe != nil {
- t := *r.modelRe
+ if r.nameNre != nil {
+ t := *r.nameNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "model__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "model__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", t, "form", "multi")
}
}
- if r.moduleBayTemplates != nil {
- t := *r.moduleBayTemplates
+ if r.nameRe != nil {
+ t := *r.nameRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module_bay_templates", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module_bay_templates", t, "form", "multi")
- }
- }
- if r.moduleBayTemplatesIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module_bay_templates__isnull", r.moduleBayTemplatesIsnull, "form", "")
- }
- if r.moduleBayTemplatesN != nil {
- t := *r.moduleBayTemplatesN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module_bay_templates__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module_bay_templates__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", t, "form", "multi")
}
}
if r.offset != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
}
- if r.partNumber != nil {
- t := *r.partNumber
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "part_number", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "part_number", t, "form", "multi")
- }
- }
- if r.partNumberIc != nil {
- t := *r.partNumberIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__ic", t, "form", "multi")
- }
- }
- if r.partNumberIe != nil {
- t := *r.partNumberIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__ie", t, "form", "multi")
- }
- }
- if r.partNumberIew != nil {
- t := *r.partNumberIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__iew", t, "form", "multi")
- }
- }
- if r.partNumberIre != nil {
- t := *r.partNumberIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__ire", t, "form", "multi")
- }
- }
- if r.partNumberIsw != nil {
- t := *r.partNumberIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__isw", t, "form", "multi")
- }
- }
- if r.partNumberN != nil {
- t := *r.partNumberN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__n", t, "form", "multi")
- }
- }
- if r.partNumberNic != nil {
- t := *r.partNumberNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__nic", t, "form", "multi")
- }
- }
- if r.partNumberNie != nil {
- t := *r.partNumberNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__nie", t, "form", "multi")
- }
- }
- if r.partNumberNiew != nil {
- t := *r.partNumberNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__niew", t, "form", "multi")
- }
- }
- if r.partNumberNire != nil {
- t := *r.partNumberNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__nire", t, "form", "multi")
- }
- }
- if r.partNumberNisw != nil {
- t := *r.partNumberNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__nisw", t, "form", "multi")
- }
- }
- if r.partNumberNre != nil {
- t := *r.partNumberNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__nre", t, "form", "multi")
- }
- }
- if r.partNumberRe != nil {
- t := *r.partNumberRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__re", t, "form", "multi")
- }
- }
- if r.powerOutletTemplates != nil {
- t := *r.powerOutletTemplates
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlet_templates", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlet_templates", t, "form", "multi")
- }
- }
- if r.powerOutletTemplatesIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlet_templates__isnull", r.powerOutletTemplatesIsnull, "form", "")
- }
- if r.powerOutletTemplatesN != nil {
- t := *r.powerOutletTemplatesN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlet_templates__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlet_templates__n", t, "form", "multi")
- }
- }
- if r.powerPortTemplates != nil {
- t := *r.powerPortTemplates
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_port_templates", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_port_templates", t, "form", "multi")
- }
- }
- if r.powerPortTemplatesIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_port_templates__isnull", r.powerPortTemplatesIsnull, "form", "")
- }
- if r.powerPortTemplatesN != nil {
- t := *r.powerPortTemplatesN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_port_templates__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_port_templates__n", t, "form", "multi")
- }
- }
if r.q != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
}
- if r.rearPortTemplates != nil {
- t := *r.rearPortTemplates
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rear_port_templates", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rear_port_templates", t, "form", "multi")
- }
- }
- if r.rearPortTemplatesIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rear_port_templates__isnull", r.rearPortTemplatesIsnull, "form", "")
- }
- if r.rearPortTemplatesN != nil {
- t := *r.rearPortTemplatesN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rear_port_templates__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rear_port_templates__n", t, "form", "multi")
- }
- }
if r.sort != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
}
@@ -87152,13 +82439,29 @@ func (a *DcimAPIService) DcimModuleTypesListExecute(r ApiDcimModuleTypesListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -87228,7 +82531,7 @@ func (a *DcimAPIService) DcimModuleTypesListExecute(r ApiDcimModuleTypesListRequ
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimModuleTypesNotesCreateRequest struct {
+type ApiDcimModuleFamiliesNotesCreateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
@@ -87236,31 +82539,31 @@ type ApiDcimModuleTypesNotesCreateRequest struct {
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimModuleTypesNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimModuleTypesNotesCreateRequest {
+func (r ApiDcimModuleFamiliesNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimModuleFamiliesNotesCreateRequest {
r.noteInputRequest = ¬eInputRequest
return r
}
-func (r ApiDcimModuleTypesNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleTypesNotesCreateRequest {
+func (r ApiDcimModuleFamiliesNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleFamiliesNotesCreateRequest {
r.format = &format
return r
}
-func (r ApiDcimModuleTypesNotesCreateRequest) Execute() (*Note, *http.Response, error) {
- return r.ApiService.DcimModuleTypesNotesCreateExecute(r)
+func (r ApiDcimModuleFamiliesNotesCreateRequest) Execute() (*Note, *http.Response, error) {
+ return r.ApiService.DcimModuleFamiliesNotesCreateExecute(r)
}
/*
-DcimModuleTypesNotesCreate Method for DcimModuleTypesNotesCreate
+DcimModuleFamiliesNotesCreate Method for DcimModuleFamiliesNotesCreate
API methods for returning or creating notes on an object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this module type.
- @return ApiDcimModuleTypesNotesCreateRequest
+ @param id A UUID string identifying this module family.
+ @return ApiDcimModuleFamiliesNotesCreateRequest
*/
-func (a *DcimAPIService) DcimModuleTypesNotesCreate(ctx context.Context, id string) ApiDcimModuleTypesNotesCreateRequest {
- return ApiDcimModuleTypesNotesCreateRequest{
+func (a *DcimAPIService) DcimModuleFamiliesNotesCreate(ctx context.Context, id string) ApiDcimModuleFamiliesNotesCreateRequest {
+ return ApiDcimModuleFamiliesNotesCreateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -87269,7 +82572,7 @@ func (a *DcimAPIService) DcimModuleTypesNotesCreate(ctx context.Context, id stri
// Execute executes the request
// @return Note
-func (a *DcimAPIService) DcimModuleTypesNotesCreateExecute(r ApiDcimModuleTypesNotesCreateRequest) (*Note, *http.Response, error) {
+func (a *DcimAPIService) DcimModuleFamiliesNotesCreateExecute(r ApiDcimModuleFamiliesNotesCreateRequest) (*Note, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -87277,12 +82580,12 @@ func (a *DcimAPIService) DcimModuleTypesNotesCreateExecute(r ApiDcimModuleTypesN
localVarReturnValue *Note
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleTypesNotesCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleFamiliesNotesCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/module-types/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/module-families/{id}/notes/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -87365,7 +82668,7 @@ func (a *DcimAPIService) DcimModuleTypesNotesCreateExecute(r ApiDcimModuleTypesN
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimModuleTypesNotesListRequest struct {
+type ApiDcimModuleFamiliesNotesListRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
@@ -87373,46 +82676,53 @@ type ApiDcimModuleTypesNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimModuleTypesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleTypesNotesListRequest {
+func (r ApiDcimModuleFamiliesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleFamiliesNotesListRequest {
r.format = &format
return r
}
// Number of results to return per page.
-func (r ApiDcimModuleTypesNotesListRequest) Limit(limit int32) ApiDcimModuleTypesNotesListRequest {
+func (r ApiDcimModuleFamiliesNotesListRequest) Limit(limit int32) ApiDcimModuleFamiliesNotesListRequest {
r.limit = &limit
return r
}
// The initial index from which to return the results.
-func (r ApiDcimModuleTypesNotesListRequest) Offset(offset int32) ApiDcimModuleTypesNotesListRequest {
+func (r ApiDcimModuleFamiliesNotesListRequest) Offset(offset int32) ApiDcimModuleFamiliesNotesListRequest {
r.offset = &offset
return r
}
// Serializer Depth
-func (r ApiDcimModuleTypesNotesListRequest) Depth(depth int32) ApiDcimModuleTypesNotesListRequest {
+func (r ApiDcimModuleFamiliesNotesListRequest) Depth(depth int32) ApiDcimModuleFamiliesNotesListRequest {
r.depth = &depth
return r
}
-func (r ApiDcimModuleTypesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
- return r.ApiService.DcimModuleTypesNotesListExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimModuleFamiliesNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimModuleFamiliesNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimModuleFamiliesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
+ return r.ApiService.DcimModuleFamiliesNotesListExecute(r)
}
/*
-DcimModuleTypesNotesList Method for DcimModuleTypesNotesList
+DcimModuleFamiliesNotesList Method for DcimModuleFamiliesNotesList
API methods for returning or creating notes on an object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this module type.
- @return ApiDcimModuleTypesNotesListRequest
+ @param id A UUID string identifying this module family.
+ @return ApiDcimModuleFamiliesNotesListRequest
*/
-func (a *DcimAPIService) DcimModuleTypesNotesList(ctx context.Context, id string) ApiDcimModuleTypesNotesListRequest {
- return ApiDcimModuleTypesNotesListRequest{
+func (a *DcimAPIService) DcimModuleFamiliesNotesList(ctx context.Context, id string) ApiDcimModuleFamiliesNotesListRequest {
+ return ApiDcimModuleFamiliesNotesListRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -87421,7 +82731,7 @@ func (a *DcimAPIService) DcimModuleTypesNotesList(ctx context.Context, id string
// Execute executes the request
// @return PaginatedNoteList
-func (a *DcimAPIService) DcimModuleTypesNotesListExecute(r ApiDcimModuleTypesNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
+func (a *DcimAPIService) DcimModuleFamiliesNotesListExecute(r ApiDcimModuleFamiliesNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -87429,12 +82739,12 @@ func (a *DcimAPIService) DcimModuleTypesNotesListExecute(r ApiDcimModuleTypesNot
localVarReturnValue *PaginatedNoteList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleTypesNotesList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleFamiliesNotesList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/module-types/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/module-families/{id}/notes/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -87453,8 +82763,16 @@ func (a *DcimAPIService) DcimModuleTypesNotesListExecute(r ApiDcimModuleTypesNot
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -87524,39 +82842,39 @@ func (a *DcimAPIService) DcimModuleTypesNotesListExecute(r ApiDcimModuleTypesNot
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimModuleTypesPartialUpdateRequest struct {
+type ApiDcimModuleFamiliesPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
- patchedModuleTypeRequest *PatchedModuleTypeRequest
+ patchedModuleFamilyRequest *PatchedModuleFamilyRequest
}
-func (r ApiDcimModuleTypesPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleTypesPartialUpdateRequest {
+func (r ApiDcimModuleFamiliesPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleFamiliesPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimModuleTypesPartialUpdateRequest) PatchedModuleTypeRequest(patchedModuleTypeRequest PatchedModuleTypeRequest) ApiDcimModuleTypesPartialUpdateRequest {
- r.patchedModuleTypeRequest = &patchedModuleTypeRequest
+func (r ApiDcimModuleFamiliesPartialUpdateRequest) PatchedModuleFamilyRequest(patchedModuleFamilyRequest PatchedModuleFamilyRequest) ApiDcimModuleFamiliesPartialUpdateRequest {
+ r.patchedModuleFamilyRequest = &patchedModuleFamilyRequest
return r
}
-func (r ApiDcimModuleTypesPartialUpdateRequest) Execute() (*ModuleType, *http.Response, error) {
- return r.ApiService.DcimModuleTypesPartialUpdateExecute(r)
+func (r ApiDcimModuleFamiliesPartialUpdateRequest) Execute() (*ModuleFamily, *http.Response, error) {
+ return r.ApiService.DcimModuleFamiliesPartialUpdateExecute(r)
}
/*
-DcimModuleTypesPartialUpdate Method for DcimModuleTypesPartialUpdate
+DcimModuleFamiliesPartialUpdate Method for DcimModuleFamiliesPartialUpdate
-Partial update a module type object.
+API viewset for interacting with ModuleFamily objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this module type.
- @return ApiDcimModuleTypesPartialUpdateRequest
+ @param id A UUID string identifying this module family.
+ @return ApiDcimModuleFamiliesPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimModuleTypesPartialUpdate(ctx context.Context, id string) ApiDcimModuleTypesPartialUpdateRequest {
- return ApiDcimModuleTypesPartialUpdateRequest{
+func (a *DcimAPIService) DcimModuleFamiliesPartialUpdate(ctx context.Context, id string) ApiDcimModuleFamiliesPartialUpdateRequest {
+ return ApiDcimModuleFamiliesPartialUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -87564,21 +82882,21 @@ func (a *DcimAPIService) DcimModuleTypesPartialUpdate(ctx context.Context, id st
}
// Execute executes the request
-// @return ModuleType
-func (a *DcimAPIService) DcimModuleTypesPartialUpdateExecute(r ApiDcimModuleTypesPartialUpdateRequest) (*ModuleType, *http.Response, error) {
+// @return ModuleFamily
+func (a *DcimAPIService) DcimModuleFamiliesPartialUpdateExecute(r ApiDcimModuleFamiliesPartialUpdateRequest) (*ModuleFamily, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *ModuleType
+ localVarReturnValue *ModuleFamily
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleTypesPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleFamiliesPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/module-types/{id}/"
+ localVarPath := localBasePath + "/dcim/module-families/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -87606,7 +82924,7 @@ func (a *DcimAPIService) DcimModuleTypesPartialUpdateExecute(r ApiDcimModuleType
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedModuleTypeRequest
+ localVarPostBody = r.patchedModuleFamilyRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -87658,40 +82976,47 @@ func (a *DcimAPIService) DcimModuleTypesPartialUpdateExecute(r ApiDcimModuleType
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimModuleTypesRetrieveRequest struct {
+type ApiDcimModuleFamiliesRetrieveRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimModuleTypesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleTypesRetrieveRequest {
+func (r ApiDcimModuleFamiliesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleFamiliesRetrieveRequest {
r.format = &format
return r
}
// Serializer Depth
-func (r ApiDcimModuleTypesRetrieveRequest) Depth(depth int32) ApiDcimModuleTypesRetrieveRequest {
+func (r ApiDcimModuleFamiliesRetrieveRequest) Depth(depth int32) ApiDcimModuleFamiliesRetrieveRequest {
r.depth = &depth
return r
}
-func (r ApiDcimModuleTypesRetrieveRequest) Execute() (*ModuleType, *http.Response, error) {
- return r.ApiService.DcimModuleTypesRetrieveExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimModuleFamiliesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimModuleFamiliesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimModuleFamiliesRetrieveRequest) Execute() (*ModuleFamily, *http.Response, error) {
+ return r.ApiService.DcimModuleFamiliesRetrieveExecute(r)
}
/*
-DcimModuleTypesRetrieve Method for DcimModuleTypesRetrieve
+DcimModuleFamiliesRetrieve Method for DcimModuleFamiliesRetrieve
-Retrieve a module type object.
+API viewset for interacting with ModuleFamily objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this module type.
- @return ApiDcimModuleTypesRetrieveRequest
+ @param id A UUID string identifying this module family.
+ @return ApiDcimModuleFamiliesRetrieveRequest
*/
-func (a *DcimAPIService) DcimModuleTypesRetrieve(ctx context.Context, id string) ApiDcimModuleTypesRetrieveRequest {
- return ApiDcimModuleTypesRetrieveRequest{
+func (a *DcimAPIService) DcimModuleFamiliesRetrieve(ctx context.Context, id string) ApiDcimModuleFamiliesRetrieveRequest {
+ return ApiDcimModuleFamiliesRetrieveRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -87699,21 +83024,21 @@ func (a *DcimAPIService) DcimModuleTypesRetrieve(ctx context.Context, id string)
}
// Execute executes the request
-// @return ModuleType
-func (a *DcimAPIService) DcimModuleTypesRetrieveExecute(r ApiDcimModuleTypesRetrieveRequest) (*ModuleType, *http.Response, error) {
+// @return ModuleFamily
+func (a *DcimAPIService) DcimModuleFamiliesRetrieveExecute(r ApiDcimModuleFamiliesRetrieveRequest) (*ModuleFamily, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *ModuleType
+ localVarReturnValue *ModuleFamily
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleTypesRetrieve")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleFamiliesRetrieve")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/module-types/{id}/"
+ localVarPath := localBasePath + "/dcim/module-families/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -87726,8 +83051,16 @@ func (a *DcimAPIService) DcimModuleTypesRetrieveExecute(r ApiDcimModuleTypesRetr
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -87797,39 +83130,39 @@ func (a *DcimAPIService) DcimModuleTypesRetrieveExecute(r ApiDcimModuleTypesRetr
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimModuleTypesUpdateRequest struct {
+type ApiDcimModuleFamiliesUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
- moduleTypeRequest *ModuleTypeRequest
+ moduleFamilyRequest *ModuleFamilyRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimModuleTypesUpdateRequest) ModuleTypeRequest(moduleTypeRequest ModuleTypeRequest) ApiDcimModuleTypesUpdateRequest {
- r.moduleTypeRequest = &moduleTypeRequest
+func (r ApiDcimModuleFamiliesUpdateRequest) ModuleFamilyRequest(moduleFamilyRequest ModuleFamilyRequest) ApiDcimModuleFamiliesUpdateRequest {
+ r.moduleFamilyRequest = &moduleFamilyRequest
return r
}
-func (r ApiDcimModuleTypesUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleTypesUpdateRequest {
+func (r ApiDcimModuleFamiliesUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleFamiliesUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimModuleTypesUpdateRequest) Execute() (*ModuleType, *http.Response, error) {
- return r.ApiService.DcimModuleTypesUpdateExecute(r)
+func (r ApiDcimModuleFamiliesUpdateRequest) Execute() (*ModuleFamily, *http.Response, error) {
+ return r.ApiService.DcimModuleFamiliesUpdateExecute(r)
}
/*
-DcimModuleTypesUpdate Method for DcimModuleTypesUpdate
+DcimModuleFamiliesUpdate Method for DcimModuleFamiliesUpdate
-Update a module type object.
+API viewset for interacting with ModuleFamily objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this module type.
- @return ApiDcimModuleTypesUpdateRequest
+ @param id A UUID string identifying this module family.
+ @return ApiDcimModuleFamiliesUpdateRequest
*/
-func (a *DcimAPIService) DcimModuleTypesUpdate(ctx context.Context, id string) ApiDcimModuleTypesUpdateRequest {
- return ApiDcimModuleTypesUpdateRequest{
+func (a *DcimAPIService) DcimModuleFamiliesUpdate(ctx context.Context, id string) ApiDcimModuleFamiliesUpdateRequest {
+ return ApiDcimModuleFamiliesUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -87837,28 +83170,28 @@ func (a *DcimAPIService) DcimModuleTypesUpdate(ctx context.Context, id string) A
}
// Execute executes the request
-// @return ModuleType
-func (a *DcimAPIService) DcimModuleTypesUpdateExecute(r ApiDcimModuleTypesUpdateRequest) (*ModuleType, *http.Response, error) {
+// @return ModuleFamily
+func (a *DcimAPIService) DcimModuleFamiliesUpdateExecute(r ApiDcimModuleFamiliesUpdateRequest) (*ModuleFamily, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *ModuleType
+ localVarReturnValue *ModuleFamily
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleTypesUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleFamiliesUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/module-types/{id}/"
+ localVarPath := localBasePath + "/dcim/module-families/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.moduleTypeRequest == nil {
- return localVarReturnValue, nil, reportError("moduleTypeRequest is required and must be specified")
+ if r.moduleFamilyRequest == nil {
+ return localVarReturnValue, nil, reportError("moduleFamilyRequest is required and must be specified")
}
if r.format != nil {
@@ -87882,7 +83215,7 @@ func (a *DcimAPIService) DcimModuleTypesUpdateExecute(r ApiDcimModuleTypesUpdate
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.moduleTypeRequest
+ localVarPostBody = r.moduleFamilyRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -87934,56 +83267,56 @@ func (a *DcimAPIService) DcimModuleTypesUpdateExecute(r ApiDcimModuleTypesUpdate
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimModulesBulkDestroyRequest struct {
+type ApiDcimModuleTypesBulkDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
bulkOperationRequest *[]BulkOperationRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimModulesBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimModulesBulkDestroyRequest {
+func (r ApiDcimModuleTypesBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimModuleTypesBulkDestroyRequest {
r.bulkOperationRequest = &bulkOperationRequest
return r
}
-func (r ApiDcimModulesBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModulesBulkDestroyRequest {
+func (r ApiDcimModuleTypesBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleTypesBulkDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimModulesBulkDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimModulesBulkDestroyExecute(r)
+func (r ApiDcimModuleTypesBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimModuleTypesBulkDestroyExecute(r)
}
/*
-DcimModulesBulkDestroy Method for DcimModulesBulkDestroy
+DcimModuleTypesBulkDestroy Method for DcimModuleTypesBulkDestroy
-Destroy a list of module objects.
+Destroy a list of module type objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimModulesBulkDestroyRequest
+ @return ApiDcimModuleTypesBulkDestroyRequest
*/
-func (a *DcimAPIService) DcimModulesBulkDestroy(ctx context.Context) ApiDcimModulesBulkDestroyRequest {
- return ApiDcimModulesBulkDestroyRequest{
+func (a *DcimAPIService) DcimModuleTypesBulkDestroy(ctx context.Context) ApiDcimModuleTypesBulkDestroyRequest {
+ return ApiDcimModuleTypesBulkDestroyRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-func (a *DcimAPIService) DcimModulesBulkDestroyExecute(r ApiDcimModulesBulkDestroyRequest) (*http.Response, error) {
+func (a *DcimAPIService) DcimModuleTypesBulkDestroyExecute(r ApiDcimModuleTypesBulkDestroyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModulesBulkDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleTypesBulkDestroy")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/modules/"
+ localVarPath := localBasePath + "/dcim/module-types/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -88056,64 +83389,64 @@ func (a *DcimAPIService) DcimModulesBulkDestroyExecute(r ApiDcimModulesBulkDestr
return localVarHTTPResponse, nil
}
-type ApiDcimModulesBulkPartialUpdateRequest struct {
+type ApiDcimModuleTypesBulkPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- patchedBulkWritableModuleRequest *[]PatchedBulkWritableModuleRequest
+ patchedBulkWritableModuleTypeRequest *[]PatchedBulkWritableModuleTypeRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimModulesBulkPartialUpdateRequest) PatchedBulkWritableModuleRequest(patchedBulkWritableModuleRequest []PatchedBulkWritableModuleRequest) ApiDcimModulesBulkPartialUpdateRequest {
- r.patchedBulkWritableModuleRequest = &patchedBulkWritableModuleRequest
+func (r ApiDcimModuleTypesBulkPartialUpdateRequest) PatchedBulkWritableModuleTypeRequest(patchedBulkWritableModuleTypeRequest []PatchedBulkWritableModuleTypeRequest) ApiDcimModuleTypesBulkPartialUpdateRequest {
+ r.patchedBulkWritableModuleTypeRequest = &patchedBulkWritableModuleTypeRequest
return r
}
-func (r ApiDcimModulesBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModulesBulkPartialUpdateRequest {
+func (r ApiDcimModuleTypesBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleTypesBulkPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimModulesBulkPartialUpdateRequest) Execute() ([]Module, *http.Response, error) {
- return r.ApiService.DcimModulesBulkPartialUpdateExecute(r)
+func (r ApiDcimModuleTypesBulkPartialUpdateRequest) Execute() ([]ModuleType, *http.Response, error) {
+ return r.ApiService.DcimModuleTypesBulkPartialUpdateExecute(r)
}
/*
-DcimModulesBulkPartialUpdate Method for DcimModulesBulkPartialUpdate
+DcimModuleTypesBulkPartialUpdate Method for DcimModuleTypesBulkPartialUpdate
-Partial update a list of module objects.
+Partial update a list of module type objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimModulesBulkPartialUpdateRequest
+ @return ApiDcimModuleTypesBulkPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimModulesBulkPartialUpdate(ctx context.Context) ApiDcimModulesBulkPartialUpdateRequest {
- return ApiDcimModulesBulkPartialUpdateRequest{
+func (a *DcimAPIService) DcimModuleTypesBulkPartialUpdate(ctx context.Context) ApiDcimModuleTypesBulkPartialUpdateRequest {
+ return ApiDcimModuleTypesBulkPartialUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []Module
-func (a *DcimAPIService) DcimModulesBulkPartialUpdateExecute(r ApiDcimModulesBulkPartialUpdateRequest) ([]Module, *http.Response, error) {
+// @return []ModuleType
+func (a *DcimAPIService) DcimModuleTypesBulkPartialUpdateExecute(r ApiDcimModuleTypesBulkPartialUpdateRequest) ([]ModuleType, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []Module
+ localVarReturnValue []ModuleType
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModulesBulkPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleTypesBulkPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/modules/"
+ localVarPath := localBasePath + "/dcim/module-types/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.patchedBulkWritableModuleRequest == nil {
- return localVarReturnValue, nil, reportError("patchedBulkWritableModuleRequest is required and must be specified")
+ if r.patchedBulkWritableModuleTypeRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritableModuleTypeRequest is required and must be specified")
}
if r.format != nil {
@@ -88137,7 +83470,7 @@ func (a *DcimAPIService) DcimModulesBulkPartialUpdateExecute(r ApiDcimModulesBul
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedBulkWritableModuleRequest
+ localVarPostBody = r.patchedBulkWritableModuleTypeRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -88189,64 +83522,64 @@ func (a *DcimAPIService) DcimModulesBulkPartialUpdateExecute(r ApiDcimModulesBul
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimModulesBulkUpdateRequest struct {
+type ApiDcimModuleTypesBulkUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- bulkWritableModuleRequest *[]BulkWritableModuleRequest
+ bulkWritableModuleTypeRequest *[]BulkWritableModuleTypeRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimModulesBulkUpdateRequest) BulkWritableModuleRequest(bulkWritableModuleRequest []BulkWritableModuleRequest) ApiDcimModulesBulkUpdateRequest {
- r.bulkWritableModuleRequest = &bulkWritableModuleRequest
+func (r ApiDcimModuleTypesBulkUpdateRequest) BulkWritableModuleTypeRequest(bulkWritableModuleTypeRequest []BulkWritableModuleTypeRequest) ApiDcimModuleTypesBulkUpdateRequest {
+ r.bulkWritableModuleTypeRequest = &bulkWritableModuleTypeRequest
return r
}
-func (r ApiDcimModulesBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModulesBulkUpdateRequest {
+func (r ApiDcimModuleTypesBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleTypesBulkUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimModulesBulkUpdateRequest) Execute() ([]Module, *http.Response, error) {
- return r.ApiService.DcimModulesBulkUpdateExecute(r)
+func (r ApiDcimModuleTypesBulkUpdateRequest) Execute() ([]ModuleType, *http.Response, error) {
+ return r.ApiService.DcimModuleTypesBulkUpdateExecute(r)
}
/*
-DcimModulesBulkUpdate Method for DcimModulesBulkUpdate
+DcimModuleTypesBulkUpdate Method for DcimModuleTypesBulkUpdate
-Update a list of module objects.
+Update a list of module type objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimModulesBulkUpdateRequest
+ @return ApiDcimModuleTypesBulkUpdateRequest
*/
-func (a *DcimAPIService) DcimModulesBulkUpdate(ctx context.Context) ApiDcimModulesBulkUpdateRequest {
- return ApiDcimModulesBulkUpdateRequest{
+func (a *DcimAPIService) DcimModuleTypesBulkUpdate(ctx context.Context) ApiDcimModuleTypesBulkUpdateRequest {
+ return ApiDcimModuleTypesBulkUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []Module
-func (a *DcimAPIService) DcimModulesBulkUpdateExecute(r ApiDcimModulesBulkUpdateRequest) ([]Module, *http.Response, error) {
+// @return []ModuleType
+func (a *DcimAPIService) DcimModuleTypesBulkUpdateExecute(r ApiDcimModuleTypesBulkUpdateRequest) ([]ModuleType, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []Module
+ localVarReturnValue []ModuleType
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModulesBulkUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleTypesBulkUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/modules/"
+ localVarPath := localBasePath + "/dcim/module-types/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.bulkWritableModuleRequest == nil {
- return localVarReturnValue, nil, reportError("bulkWritableModuleRequest is required and must be specified")
+ if r.bulkWritableModuleTypeRequest == nil {
+ return localVarReturnValue, nil, reportError("bulkWritableModuleTypeRequest is required and must be specified")
}
if r.format != nil {
@@ -88270,7 +83603,7 @@ func (a *DcimAPIService) DcimModulesBulkUpdateExecute(r ApiDcimModulesBulkUpdate
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.bulkWritableModuleRequest
+ localVarPostBody = r.bulkWritableModuleTypeRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -88322,64 +83655,64 @@ func (a *DcimAPIService) DcimModulesBulkUpdateExecute(r ApiDcimModulesBulkUpdate
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimModulesCreateRequest struct {
+type ApiDcimModuleTypesCreateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- moduleRequest *ModuleRequest
+ moduleTypeRequest *ModuleTypeRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimModulesCreateRequest) ModuleRequest(moduleRequest ModuleRequest) ApiDcimModulesCreateRequest {
- r.moduleRequest = &moduleRequest
+func (r ApiDcimModuleTypesCreateRequest) ModuleTypeRequest(moduleTypeRequest ModuleTypeRequest) ApiDcimModuleTypesCreateRequest {
+ r.moduleTypeRequest = &moduleTypeRequest
return r
}
-func (r ApiDcimModulesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModulesCreateRequest {
+func (r ApiDcimModuleTypesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleTypesCreateRequest {
r.format = &format
return r
}
-func (r ApiDcimModulesCreateRequest) Execute() (*Module, *http.Response, error) {
- return r.ApiService.DcimModulesCreateExecute(r)
+func (r ApiDcimModuleTypesCreateRequest) Execute() (*ModuleType, *http.Response, error) {
+ return r.ApiService.DcimModuleTypesCreateExecute(r)
}
/*
-DcimModulesCreate Method for DcimModulesCreate
+DcimModuleTypesCreate Method for DcimModuleTypesCreate
-Create one or more module objects.
+Create one or more module type objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimModulesCreateRequest
+ @return ApiDcimModuleTypesCreateRequest
*/
-func (a *DcimAPIService) DcimModulesCreate(ctx context.Context) ApiDcimModulesCreateRequest {
- return ApiDcimModulesCreateRequest{
+func (a *DcimAPIService) DcimModuleTypesCreate(ctx context.Context) ApiDcimModuleTypesCreateRequest {
+ return ApiDcimModuleTypesCreateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return Module
-func (a *DcimAPIService) DcimModulesCreateExecute(r ApiDcimModulesCreateRequest) (*Module, *http.Response, error) {
+// @return ModuleType
+func (a *DcimAPIService) DcimModuleTypesCreateExecute(r ApiDcimModuleTypesCreateRequest) (*ModuleType, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *Module
+ localVarReturnValue *ModuleType
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModulesCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleTypesCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/modules/"
+ localVarPath := localBasePath + "/dcim/module-types/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.moduleRequest == nil {
- return localVarReturnValue, nil, reportError("moduleRequest is required and must be specified")
+ if r.moduleTypeRequest == nil {
+ return localVarReturnValue, nil, reportError("moduleTypeRequest is required and must be specified")
}
if r.format != nil {
@@ -88403,7 +83736,7 @@ func (a *DcimAPIService) DcimModulesCreateExecute(r ApiDcimModulesCreateRequest)
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.moduleRequest
+ localVarPostBody = r.moduleTypeRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -88455,33 +83788,33 @@ func (a *DcimAPIService) DcimModulesCreateExecute(r ApiDcimModulesCreateRequest)
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimModulesDestroyRequest struct {
+type ApiDcimModuleTypesDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimModulesDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModulesDestroyRequest {
+func (r ApiDcimModuleTypesDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleTypesDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimModulesDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimModulesDestroyExecute(r)
+func (r ApiDcimModuleTypesDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimModuleTypesDestroyExecute(r)
}
/*
-DcimModulesDestroy Method for DcimModulesDestroy
+DcimModuleTypesDestroy Method for DcimModuleTypesDestroy
-Destroy a module object.
+Destroy a module type object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this module.
- @return ApiDcimModulesDestroyRequest
+ @param id A UUID string identifying this module type.
+ @return ApiDcimModuleTypesDestroyRequest
*/
-func (a *DcimAPIService) DcimModulesDestroy(ctx context.Context, id string) ApiDcimModulesDestroyRequest {
- return ApiDcimModulesDestroyRequest{
+func (a *DcimAPIService) DcimModuleTypesDestroy(ctx context.Context, id string) ApiDcimModuleTypesDestroyRequest {
+ return ApiDcimModuleTypesDestroyRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -88489,19 +83822,19 @@ func (a *DcimAPIService) DcimModulesDestroy(ctx context.Context, id string) ApiD
}
// Execute executes the request
-func (a *DcimAPIService) DcimModulesDestroyExecute(r ApiDcimModulesDestroyRequest) (*http.Response, error) {
+func (a *DcimAPIService) DcimModuleTypesDestroyExecute(r ApiDcimModuleTypesDestroyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModulesDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleTypesDestroy")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/modules/{id}/"
+ localVarPath := localBasePath + "/dcim/module-types/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -88570,33 +83903,33 @@ func (a *DcimAPIService) DcimModulesDestroyExecute(r ApiDcimModulesDestroyReques
return localVarHTTPResponse, nil
}
-type ApiDcimModulesListRequest struct {
+type ApiDcimModuleTypesListRequest struct {
ctx context.Context
ApiService *DcimAPIService
- assetTag *[]string
- assetTagIc *[]string
- assetTagIe *[]string
- assetTagIew *[]string
- assetTagIre *[]string
- assetTagIsnull *bool
- assetTagIsw *[]string
- assetTagN *[]string
- assetTagNic *[]string
- assetTagNie *[]string
- assetTagNiew *[]string
- assetTagNire *[]string
- assetTagNisw *[]string
- assetTagNre *[]string
- assetTagRe *[]string
- consolePorts *[]string
- consolePortsIsnull *bool
- consolePortsN *[]string
- consoleServerPorts *[]string
- consoleServerPortsIsnull *bool
- consoleServerPortsN *[]string
+ comments *[]string
+ commentsIc *[]string
+ commentsIe *[]string
+ commentsIew *[]string
+ commentsIre *[]string
+ commentsIsw *[]string
+ commentsN *[]string
+ commentsNic *[]string
+ commentsNie *[]string
+ commentsNiew *[]string
+ commentsNire *[]string
+ commentsNisw *[]string
+ commentsNre *[]string
+ commentsRe *[]string
+ compatibleWithModuleBay *string
+ consolePortTemplates *[]string
+ consolePortTemplatesIsnull *bool
+ consolePortTemplatesN *[]string
+ consoleServerPortTemplates *[]string
+ consoleServerPortTemplatesIsnull *bool
+ consoleServerPortTemplatesN *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -88604,41 +83937,26 @@ type ApiDcimModulesListRequest struct {
createdLt *[]time.Time
createdLte *[]time.Time
createdN *[]time.Time
- device *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
- frontPorts *[]string
- frontPortsIsnull *bool
- frontPortsN *[]string
- hasConsolePorts *bool
- hasConsoleServerPorts *bool
- hasEmptyModuleBays *bool
- hasFrontPorts *bool
- hasInterfaces *bool
- hasModuleBays *bool
+ frontPortTemplates *[]string
+ frontPortTemplatesIsnull *bool
+ frontPortTemplatesN *[]string
+ hasConsolePortTemplates *bool
+ hasConsoleServerPortTemplates *bool
+ hasFrontPortTemplates *bool
+ hasInterfaceTemplates *bool
+ hasModuleBayTemplates *bool
hasModules *bool
- hasPowerOutlets *bool
- hasPowerPorts *bool
- hasRearPorts *bool
+ hasPowerOutletTemplates *bool
+ hasPowerPortTemplates *bool
+ hasRearPortTemplates *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
- interfaces *[]string
- interfacesIsnull *bool
- interfacesN *[]string
- isInstalled *bool
+ interfaceTemplates *[]string
+ interfaceTemplatesIsnull *bool
+ interfaceTemplatesN *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -88647,1131 +83965,910 @@ type ApiDcimModulesListRequest struct {
lastUpdatedLte *[]time.Time
lastUpdatedN *[]time.Time
limit *int32
- location *[]string
- locationIsnull *bool
- locationN *[]string
- macAddress *[]string
- macAddressIc *[]string
- macAddressIe *[]string
- macAddressIew *[]string
- macAddressIre *[]string
- macAddressIsw *[]string
- macAddressN *[]string
- macAddressNic *[]string
- macAddressNie *[]string
- macAddressNiew *[]string
- macAddressNire *[]string
- macAddressNisw *[]string
- macAddressNre *[]string
- macAddressRe *[]string
manufacturer *[]string
manufacturerN *[]string
- moduleBays *[]string
- moduleBaysIsnull *bool
- moduleBaysN *[]string
- moduleType *[]string
- moduleTypeN *[]string
+ model *[]string
+ modelIc *[]string
+ modelIe *[]string
+ modelIew *[]string
+ modelIre *[]string
+ modelIsw *[]string
+ modelN *[]string
+ modelNic *[]string
+ modelNie *[]string
+ modelNiew *[]string
+ modelNire *[]string
+ modelNisw *[]string
+ modelNre *[]string
+ modelRe *[]string
+ moduleBayTemplates *[]string
+ moduleBayTemplatesIsnull *bool
+ moduleBayTemplatesN *[]string
+ moduleFamily *[]string
+ moduleFamilyIsnull *bool
+ moduleFamilyN *[]string
offset *int32
- parentModuleBay *[]string
- parentModuleBayIsnull *bool
- parentModuleBayN *[]string
- powerOutlets *[]string
- powerOutletsIsnull *bool
- powerOutletsN *[]string
- powerPorts *[]string
- powerPortsIsnull *bool
- powerPortsN *[]string
+ partNumber *[]string
+ partNumberIc *[]string
+ partNumberIe *[]string
+ partNumberIew *[]string
+ partNumberIre *[]string
+ partNumberIsw *[]string
+ partNumberN *[]string
+ partNumberNic *[]string
+ partNumberNie *[]string
+ partNumberNiew *[]string
+ partNumberNire *[]string
+ partNumberNisw *[]string
+ partNumberNre *[]string
+ partNumberRe *[]string
+ powerOutletTemplates *[]string
+ powerOutletTemplatesIsnull *bool
+ powerOutletTemplatesN *[]string
+ powerPortTemplates *[]string
+ powerPortTemplatesIsnull *bool
+ powerPortTemplatesN *[]string
q *string
- rearPorts *[]string
- rearPortsIsnull *bool
- rearPortsN *[]string
- role *[]string
- roleIsnull *bool
- roleN *string
- serial *[]string
- serialIc *[]string
- serialIe *[]string
- serialIew *[]string
- serialIre *[]string
- serialIsnull *bool
- serialIsw *[]string
- serialN *[]string
- serialNic *[]string
- serialNie *[]string
- serialNiew *[]string
- serialNire *[]string
- serialNisw *[]string
- serialNre *[]string
- serialRe *[]string
+ rearPortTemplates *[]string
+ rearPortTemplatesIsnull *bool
+ rearPortTemplatesN *[]string
sort *string
- status *[]string
- statusN *string
tags *[]string
tagsIsnull *bool
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
- tenant *[]string
- tenantIsnull *bool
- tenantN *[]string
- tenantGroup *[]string
- tenantGroupIsnull *bool
- tenantGroupN *[]string
- tenantId *[]*string
- tenantIdIsnull *bool
- tenantIdN *[]*string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimModulesListRequest) AssetTag(assetTag []string) ApiDcimModulesListRequest {
- r.assetTag = &assetTag
+func (r ApiDcimModuleTypesListRequest) Comments(comments []string) ApiDcimModuleTypesListRequest {
+ r.comments = &comments
return r
}
-func (r ApiDcimModulesListRequest) AssetTagIc(assetTagIc []string) ApiDcimModulesListRequest {
- r.assetTagIc = &assetTagIc
+func (r ApiDcimModuleTypesListRequest) CommentsIc(commentsIc []string) ApiDcimModuleTypesListRequest {
+ r.commentsIc = &commentsIc
return r
}
-func (r ApiDcimModulesListRequest) AssetTagIe(assetTagIe []string) ApiDcimModulesListRequest {
- r.assetTagIe = &assetTagIe
+func (r ApiDcimModuleTypesListRequest) CommentsIe(commentsIe []string) ApiDcimModuleTypesListRequest {
+ r.commentsIe = &commentsIe
return r
}
-func (r ApiDcimModulesListRequest) AssetTagIew(assetTagIew []string) ApiDcimModulesListRequest {
- r.assetTagIew = &assetTagIew
+func (r ApiDcimModuleTypesListRequest) CommentsIew(commentsIew []string) ApiDcimModuleTypesListRequest {
+ r.commentsIew = &commentsIew
return r
}
-func (r ApiDcimModulesListRequest) AssetTagIre(assetTagIre []string) ApiDcimModulesListRequest {
- r.assetTagIre = &assetTagIre
+func (r ApiDcimModuleTypesListRequest) CommentsIre(commentsIre []string) ApiDcimModuleTypesListRequest {
+ r.commentsIre = &commentsIre
return r
}
-func (r ApiDcimModulesListRequest) AssetTagIsnull(assetTagIsnull bool) ApiDcimModulesListRequest {
- r.assetTagIsnull = &assetTagIsnull
+func (r ApiDcimModuleTypesListRequest) CommentsIsw(commentsIsw []string) ApiDcimModuleTypesListRequest {
+ r.commentsIsw = &commentsIsw
return r
}
-func (r ApiDcimModulesListRequest) AssetTagIsw(assetTagIsw []string) ApiDcimModulesListRequest {
- r.assetTagIsw = &assetTagIsw
+func (r ApiDcimModuleTypesListRequest) CommentsN(commentsN []string) ApiDcimModuleTypesListRequest {
+ r.commentsN = &commentsN
return r
}
-func (r ApiDcimModulesListRequest) AssetTagN(assetTagN []string) ApiDcimModulesListRequest {
- r.assetTagN = &assetTagN
+func (r ApiDcimModuleTypesListRequest) CommentsNic(commentsNic []string) ApiDcimModuleTypesListRequest {
+ r.commentsNic = &commentsNic
return r
}
-func (r ApiDcimModulesListRequest) AssetTagNic(assetTagNic []string) ApiDcimModulesListRequest {
- r.assetTagNic = &assetTagNic
+func (r ApiDcimModuleTypesListRequest) CommentsNie(commentsNie []string) ApiDcimModuleTypesListRequest {
+ r.commentsNie = &commentsNie
return r
}
-func (r ApiDcimModulesListRequest) AssetTagNie(assetTagNie []string) ApiDcimModulesListRequest {
- r.assetTagNie = &assetTagNie
+func (r ApiDcimModuleTypesListRequest) CommentsNiew(commentsNiew []string) ApiDcimModuleTypesListRequest {
+ r.commentsNiew = &commentsNiew
return r
}
-func (r ApiDcimModulesListRequest) AssetTagNiew(assetTagNiew []string) ApiDcimModulesListRequest {
- r.assetTagNiew = &assetTagNiew
+func (r ApiDcimModuleTypesListRequest) CommentsNire(commentsNire []string) ApiDcimModuleTypesListRequest {
+ r.commentsNire = &commentsNire
return r
}
-func (r ApiDcimModulesListRequest) AssetTagNire(assetTagNire []string) ApiDcimModulesListRequest {
- r.assetTagNire = &assetTagNire
+func (r ApiDcimModuleTypesListRequest) CommentsNisw(commentsNisw []string) ApiDcimModuleTypesListRequest {
+ r.commentsNisw = &commentsNisw
return r
}
-func (r ApiDcimModulesListRequest) AssetTagNisw(assetTagNisw []string) ApiDcimModulesListRequest {
- r.assetTagNisw = &assetTagNisw
+func (r ApiDcimModuleTypesListRequest) CommentsNre(commentsNre []string) ApiDcimModuleTypesListRequest {
+ r.commentsNre = &commentsNre
return r
}
-func (r ApiDcimModulesListRequest) AssetTagNre(assetTagNre []string) ApiDcimModulesListRequest {
- r.assetTagNre = &assetTagNre
+func (r ApiDcimModuleTypesListRequest) CommentsRe(commentsRe []string) ApiDcimModuleTypesListRequest {
+ r.commentsRe = &commentsRe
return r
}
-func (r ApiDcimModulesListRequest) AssetTagRe(assetTagRe []string) ApiDcimModulesListRequest {
- r.assetTagRe = &assetTagRe
+func (r ApiDcimModuleTypesListRequest) CompatibleWithModuleBay(compatibleWithModuleBay string) ApiDcimModuleTypesListRequest {
+ r.compatibleWithModuleBay = &compatibleWithModuleBay
return r
}
-func (r ApiDcimModulesListRequest) ConsolePorts(consolePorts []string) ApiDcimModulesListRequest {
- r.consolePorts = &consolePorts
+func (r ApiDcimModuleTypesListRequest) ConsolePortTemplates(consolePortTemplates []string) ApiDcimModuleTypesListRequest {
+ r.consolePortTemplates = &consolePortTemplates
return r
}
-// Console Ports (name or ID) is null
-func (r ApiDcimModulesListRequest) ConsolePortsIsnull(consolePortsIsnull bool) ApiDcimModulesListRequest {
- r.consolePortsIsnull = &consolePortsIsnull
+// Console port templates (name or ID) is null
+func (r ApiDcimModuleTypesListRequest) ConsolePortTemplatesIsnull(consolePortTemplatesIsnull bool) ApiDcimModuleTypesListRequest {
+ r.consolePortTemplatesIsnull = &consolePortTemplatesIsnull
return r
}
-func (r ApiDcimModulesListRequest) ConsolePortsN(consolePortsN []string) ApiDcimModulesListRequest {
- r.consolePortsN = &consolePortsN
+func (r ApiDcimModuleTypesListRequest) ConsolePortTemplatesN(consolePortTemplatesN []string) ApiDcimModuleTypesListRequest {
+ r.consolePortTemplatesN = &consolePortTemplatesN
return r
}
-func (r ApiDcimModulesListRequest) ConsoleServerPorts(consoleServerPorts []string) ApiDcimModulesListRequest {
- r.consoleServerPorts = &consoleServerPorts
+func (r ApiDcimModuleTypesListRequest) ConsoleServerPortTemplates(consoleServerPortTemplates []string) ApiDcimModuleTypesListRequest {
+ r.consoleServerPortTemplates = &consoleServerPortTemplates
return r
}
-// Console Server Ports (name or ID) is null
-func (r ApiDcimModulesListRequest) ConsoleServerPortsIsnull(consoleServerPortsIsnull bool) ApiDcimModulesListRequest {
- r.consoleServerPortsIsnull = &consoleServerPortsIsnull
+// Console server port templates (name or ID) is null
+func (r ApiDcimModuleTypesListRequest) ConsoleServerPortTemplatesIsnull(consoleServerPortTemplatesIsnull bool) ApiDcimModuleTypesListRequest {
+ r.consoleServerPortTemplatesIsnull = &consoleServerPortTemplatesIsnull
return r
}
-func (r ApiDcimModulesListRequest) ConsoleServerPortsN(consoleServerPortsN []string) ApiDcimModulesListRequest {
- r.consoleServerPortsN = &consoleServerPortsN
+func (r ApiDcimModuleTypesListRequest) ConsoleServerPortTemplatesN(consoleServerPortTemplatesN []string) ApiDcimModuleTypesListRequest {
+ r.consoleServerPortTemplatesN = &consoleServerPortTemplatesN
return r
}
-func (r ApiDcimModulesListRequest) Contacts(contacts []string) ApiDcimModulesListRequest {
+func (r ApiDcimModuleTypesListRequest) Contacts(contacts []string) ApiDcimModuleTypesListRequest {
r.contacts = &contacts
return r
}
// Contacts (name or ID) is null
-func (r ApiDcimModulesListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimModulesListRequest {
+func (r ApiDcimModuleTypesListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimModuleTypesListRequest {
r.contactsIsnull = &contactsIsnull
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimModulesListRequest) ContactsN(contactsN string) ApiDcimModulesListRequest {
+func (r ApiDcimModuleTypesListRequest) ContactsN(contactsN []string) ApiDcimModuleTypesListRequest {
r.contactsN = &contactsN
return r
}
-func (r ApiDcimModulesListRequest) Created(created []time.Time) ApiDcimModulesListRequest {
+func (r ApiDcimModuleTypesListRequest) Created(created []time.Time) ApiDcimModuleTypesListRequest {
r.created = &created
return r
}
-func (r ApiDcimModulesListRequest) CreatedGt(createdGt []time.Time) ApiDcimModulesListRequest {
+func (r ApiDcimModuleTypesListRequest) CreatedGt(createdGt []time.Time) ApiDcimModuleTypesListRequest {
r.createdGt = &createdGt
return r
}
-func (r ApiDcimModulesListRequest) CreatedGte(createdGte []time.Time) ApiDcimModulesListRequest {
+func (r ApiDcimModuleTypesListRequest) CreatedGte(createdGte []time.Time) ApiDcimModuleTypesListRequest {
r.createdGte = &createdGte
return r
}
-func (r ApiDcimModulesListRequest) CreatedIsnull(createdIsnull bool) ApiDcimModulesListRequest {
+func (r ApiDcimModuleTypesListRequest) CreatedIsnull(createdIsnull bool) ApiDcimModuleTypesListRequest {
r.createdIsnull = &createdIsnull
return r
}
-func (r ApiDcimModulesListRequest) CreatedLt(createdLt []time.Time) ApiDcimModulesListRequest {
+func (r ApiDcimModuleTypesListRequest) CreatedLt(createdLt []time.Time) ApiDcimModuleTypesListRequest {
r.createdLt = &createdLt
return r
}
-func (r ApiDcimModulesListRequest) CreatedLte(createdLte []time.Time) ApiDcimModulesListRequest {
+func (r ApiDcimModuleTypesListRequest) CreatedLte(createdLte []time.Time) ApiDcimModuleTypesListRequest {
r.createdLte = &createdLte
return r
}
-func (r ApiDcimModulesListRequest) CreatedN(createdN []time.Time) ApiDcimModulesListRequest {
+func (r ApiDcimModuleTypesListRequest) CreatedN(createdN []time.Time) ApiDcimModuleTypesListRequest {
r.createdN = &createdN
return r
}
-func (r ApiDcimModulesListRequest) Device(device []string) ApiDcimModulesListRequest {
- r.device = &device
- return r
-}
-
-func (r ApiDcimModulesListRequest) DynamicGroups(dynamicGroups []string) ApiDcimModulesListRequest {
+func (r ApiDcimModuleTypesListRequest) DynamicGroups(dynamicGroups []string) ApiDcimModuleTypesListRequest {
r.dynamicGroups = &dynamicGroups
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimModulesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimModulesListRequest {
+func (r ApiDcimModuleTypesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimModuleTypesListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
-func (r ApiDcimModulesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModulesListRequest {
+func (r ApiDcimModuleTypesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleTypesListRequest {
r.format = &format
return r
}
-func (r ApiDcimModulesListRequest) FrontPorts(frontPorts []string) ApiDcimModulesListRequest {
- r.frontPorts = &frontPorts
- return r
-}
-
-// Front Ports (name or ID) is null
-func (r ApiDcimModulesListRequest) FrontPortsIsnull(frontPortsIsnull bool) ApiDcimModulesListRequest {
- r.frontPortsIsnull = &frontPortsIsnull
+func (r ApiDcimModuleTypesListRequest) FrontPortTemplates(frontPortTemplates []string) ApiDcimModuleTypesListRequest {
+ r.frontPortTemplates = &frontPortTemplates
return r
}
-func (r ApiDcimModulesListRequest) FrontPortsN(frontPortsN []string) ApiDcimModulesListRequest {
- r.frontPortsN = &frontPortsN
+// Front port templates (name or ID) is null
+func (r ApiDcimModuleTypesListRequest) FrontPortTemplatesIsnull(frontPortTemplatesIsnull bool) ApiDcimModuleTypesListRequest {
+ r.frontPortTemplatesIsnull = &frontPortTemplatesIsnull
return r
}
-// Has console ports
-func (r ApiDcimModulesListRequest) HasConsolePorts(hasConsolePorts bool) ApiDcimModulesListRequest {
- r.hasConsolePorts = &hasConsolePorts
+func (r ApiDcimModuleTypesListRequest) FrontPortTemplatesN(frontPortTemplatesN []string) ApiDcimModuleTypesListRequest {
+ r.frontPortTemplatesN = &frontPortTemplatesN
return r
}
-// Has console server ports
-func (r ApiDcimModulesListRequest) HasConsoleServerPorts(hasConsoleServerPorts bool) ApiDcimModulesListRequest {
- r.hasConsoleServerPorts = &hasConsoleServerPorts
+// Has console port templates
+func (r ApiDcimModuleTypesListRequest) HasConsolePortTemplates(hasConsolePortTemplates bool) ApiDcimModuleTypesListRequest {
+ r.hasConsolePortTemplates = &hasConsolePortTemplates
return r
}
-// Has empty module bays
-func (r ApiDcimModulesListRequest) HasEmptyModuleBays(hasEmptyModuleBays bool) ApiDcimModulesListRequest {
- r.hasEmptyModuleBays = &hasEmptyModuleBays
+// Has console server port templates
+func (r ApiDcimModuleTypesListRequest) HasConsoleServerPortTemplates(hasConsoleServerPortTemplates bool) ApiDcimModuleTypesListRequest {
+ r.hasConsoleServerPortTemplates = &hasConsoleServerPortTemplates
return r
}
-// Has front ports
-func (r ApiDcimModulesListRequest) HasFrontPorts(hasFrontPorts bool) ApiDcimModulesListRequest {
- r.hasFrontPorts = &hasFrontPorts
+// Has front port templates
+func (r ApiDcimModuleTypesListRequest) HasFrontPortTemplates(hasFrontPortTemplates bool) ApiDcimModuleTypesListRequest {
+ r.hasFrontPortTemplates = &hasFrontPortTemplates
return r
}
-// Has interfaces
-func (r ApiDcimModulesListRequest) HasInterfaces(hasInterfaces bool) ApiDcimModulesListRequest {
- r.hasInterfaces = &hasInterfaces
+// Has interface templates
+func (r ApiDcimModuleTypesListRequest) HasInterfaceTemplates(hasInterfaceTemplates bool) ApiDcimModuleTypesListRequest {
+ r.hasInterfaceTemplates = &hasInterfaceTemplates
return r
}
-// Has module bays
-func (r ApiDcimModulesListRequest) HasModuleBays(hasModuleBays bool) ApiDcimModulesListRequest {
- r.hasModuleBays = &hasModuleBays
+// Has module bay templates
+func (r ApiDcimModuleTypesListRequest) HasModuleBayTemplates(hasModuleBayTemplates bool) ApiDcimModuleTypesListRequest {
+ r.hasModuleBayTemplates = &hasModuleBayTemplates
return r
}
-// Has modules
-func (r ApiDcimModulesListRequest) HasModules(hasModules bool) ApiDcimModulesListRequest {
+// Has module instances
+func (r ApiDcimModuleTypesListRequest) HasModules(hasModules bool) ApiDcimModuleTypesListRequest {
r.hasModules = &hasModules
return r
}
-// Has power outlets
-func (r ApiDcimModulesListRequest) HasPowerOutlets(hasPowerOutlets bool) ApiDcimModulesListRequest {
- r.hasPowerOutlets = &hasPowerOutlets
+// Has power outlet templates
+func (r ApiDcimModuleTypesListRequest) HasPowerOutletTemplates(hasPowerOutletTemplates bool) ApiDcimModuleTypesListRequest {
+ r.hasPowerOutletTemplates = &hasPowerOutletTemplates
return r
}
-// Has power ports
-func (r ApiDcimModulesListRequest) HasPowerPorts(hasPowerPorts bool) ApiDcimModulesListRequest {
- r.hasPowerPorts = &hasPowerPorts
+// Has power port templates
+func (r ApiDcimModuleTypesListRequest) HasPowerPortTemplates(hasPowerPortTemplates bool) ApiDcimModuleTypesListRequest {
+ r.hasPowerPortTemplates = &hasPowerPortTemplates
return r
}
-// Has rear ports
-func (r ApiDcimModulesListRequest) HasRearPorts(hasRearPorts bool) ApiDcimModulesListRequest {
- r.hasRearPorts = &hasRearPorts
+// Has rear port templates
+func (r ApiDcimModuleTypesListRequest) HasRearPortTemplates(hasRearPortTemplates bool) ApiDcimModuleTypesListRequest {
+ r.hasRearPortTemplates = &hasRearPortTemplates
return r
}
// Unique object identifier, either a UUID primary key or a composite key.
-func (r ApiDcimModulesListRequest) Id(id []string) ApiDcimModulesListRequest {
+func (r ApiDcimModuleTypesListRequest) Id(id []string) ApiDcimModuleTypesListRequest {
r.id = &id
return r
}
-func (r ApiDcimModulesListRequest) IdIc(idIc []string) ApiDcimModulesListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiDcimModulesListRequest) IdIe(idIe []string) ApiDcimModulesListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiDcimModulesListRequest) IdIew(idIew []string) ApiDcimModulesListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiDcimModulesListRequest) IdIre(idIre []string) ApiDcimModulesListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiDcimModulesListRequest) IdIsw(idIsw []string) ApiDcimModulesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
-func (r ApiDcimModulesListRequest) IdN(idN []string) ApiDcimModulesListRequest {
+func (r ApiDcimModuleTypesListRequest) IdN(idN []string) ApiDcimModuleTypesListRequest {
r.idN = &idN
return r
}
-func (r ApiDcimModulesListRequest) IdNic(idNic []string) ApiDcimModulesListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiDcimModulesListRequest) IdNie(idNie []string) ApiDcimModulesListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiDcimModulesListRequest) IdNiew(idNiew []string) ApiDcimModulesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiDcimModulesListRequest) IdNire(idNire []string) ApiDcimModulesListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiDcimModulesListRequest) IdNisw(idNisw []string) ApiDcimModulesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiDcimModulesListRequest) IdNre(idNre []string) ApiDcimModulesListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiDcimModulesListRequest) IdRe(idRe []string) ApiDcimModulesListRequest {
- r.idRe = &idRe
- return r
-}
-
-func (r ApiDcimModulesListRequest) Interfaces(interfaces []string) ApiDcimModulesListRequest {
- r.interfaces = &interfaces
- return r
-}
-
-// Interfaces (name or ID) is null
-func (r ApiDcimModulesListRequest) InterfacesIsnull(interfacesIsnull bool) ApiDcimModulesListRequest {
- r.interfacesIsnull = &interfacesIsnull
+func (r ApiDcimModuleTypesListRequest) InterfaceTemplates(interfaceTemplates []string) ApiDcimModuleTypesListRequest {
+ r.interfaceTemplates = &interfaceTemplates
return r
}
-func (r ApiDcimModulesListRequest) InterfacesN(interfacesN []string) ApiDcimModulesListRequest {
- r.interfacesN = &interfacesN
+// Interface templates (name or ID) is null
+func (r ApiDcimModuleTypesListRequest) InterfaceTemplatesIsnull(interfaceTemplatesIsnull bool) ApiDcimModuleTypesListRequest {
+ r.interfaceTemplatesIsnull = &interfaceTemplatesIsnull
return r
}
-// Is installed in a module bay
-func (r ApiDcimModulesListRequest) IsInstalled(isInstalled bool) ApiDcimModulesListRequest {
- r.isInstalled = &isInstalled
+func (r ApiDcimModuleTypesListRequest) InterfaceTemplatesN(interfaceTemplatesN []string) ApiDcimModuleTypesListRequest {
+ r.interfaceTemplatesN = &interfaceTemplatesN
return r
}
-func (r ApiDcimModulesListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimModulesListRequest {
+func (r ApiDcimModuleTypesListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimModuleTypesListRequest {
r.lastUpdated = &lastUpdated
return r
}
-func (r ApiDcimModulesListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiDcimModulesListRequest {
+func (r ApiDcimModuleTypesListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiDcimModuleTypesListRequest {
r.lastUpdatedGt = &lastUpdatedGt
return r
}
-func (r ApiDcimModulesListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiDcimModulesListRequest {
+func (r ApiDcimModuleTypesListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiDcimModuleTypesListRequest {
r.lastUpdatedGte = &lastUpdatedGte
return r
}
-func (r ApiDcimModulesListRequest) LastUpdatedIsnull(lastUpdatedIsnull bool) ApiDcimModulesListRequest {
+func (r ApiDcimModuleTypesListRequest) LastUpdatedIsnull(lastUpdatedIsnull bool) ApiDcimModuleTypesListRequest {
r.lastUpdatedIsnull = &lastUpdatedIsnull
return r
}
-func (r ApiDcimModulesListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiDcimModulesListRequest {
+func (r ApiDcimModuleTypesListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiDcimModuleTypesListRequest {
r.lastUpdatedLt = &lastUpdatedLt
return r
}
-func (r ApiDcimModulesListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiDcimModulesListRequest {
+func (r ApiDcimModuleTypesListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiDcimModuleTypesListRequest {
r.lastUpdatedLte = &lastUpdatedLte
return r
}
-func (r ApiDcimModulesListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiDcimModulesListRequest {
+func (r ApiDcimModuleTypesListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiDcimModuleTypesListRequest {
r.lastUpdatedN = &lastUpdatedN
return r
}
// Number of results to return per page.
-func (r ApiDcimModulesListRequest) Limit(limit int32) ApiDcimModulesListRequest {
+func (r ApiDcimModuleTypesListRequest) Limit(limit int32) ApiDcimModuleTypesListRequest {
r.limit = &limit
return r
}
-func (r ApiDcimModulesListRequest) Location(location []string) ApiDcimModulesListRequest {
- r.location = &location
- return r
-}
-
-// Location (name or ID) is null
-func (r ApiDcimModulesListRequest) LocationIsnull(locationIsnull bool) ApiDcimModulesListRequest {
- r.locationIsnull = &locationIsnull
- return r
-}
-
-func (r ApiDcimModulesListRequest) LocationN(locationN []string) ApiDcimModulesListRequest {
- r.locationN = &locationN
+func (r ApiDcimModuleTypesListRequest) Manufacturer(manufacturer []string) ApiDcimModuleTypesListRequest {
+ r.manufacturer = &manufacturer
return r
}
-// MAC address
-func (r ApiDcimModulesListRequest) MacAddress(macAddress []string) ApiDcimModulesListRequest {
- r.macAddress = &macAddress
+func (r ApiDcimModuleTypesListRequest) ManufacturerN(manufacturerN []string) ApiDcimModuleTypesListRequest {
+ r.manufacturerN = &manufacturerN
return r
}
-// MAC address contains
-func (r ApiDcimModulesListRequest) MacAddressIc(macAddressIc []string) ApiDcimModulesListRequest {
- r.macAddressIc = &macAddressIc
+func (r ApiDcimModuleTypesListRequest) Model(model []string) ApiDcimModuleTypesListRequest {
+ r.model = &model
return r
}
-// MAC address
-func (r ApiDcimModulesListRequest) MacAddressIe(macAddressIe []string) ApiDcimModulesListRequest {
- r.macAddressIe = &macAddressIe
+func (r ApiDcimModuleTypesListRequest) ModelIc(modelIc []string) ApiDcimModuleTypesListRequest {
+ r.modelIc = &modelIc
return r
}
-// MAC address ends with
-func (r ApiDcimModulesListRequest) MacAddressIew(macAddressIew []string) ApiDcimModulesListRequest {
- r.macAddressIew = &macAddressIew
+func (r ApiDcimModuleTypesListRequest) ModelIe(modelIe []string) ApiDcimModuleTypesListRequest {
+ r.modelIe = &modelIe
return r
}
-// MAC address matches regex
-func (r ApiDcimModulesListRequest) MacAddressIre(macAddressIre []string) ApiDcimModulesListRequest {
- r.macAddressIre = &macAddressIre
+func (r ApiDcimModuleTypesListRequest) ModelIew(modelIew []string) ApiDcimModuleTypesListRequest {
+ r.modelIew = &modelIew
return r
}
-// MAC address starts with
-func (r ApiDcimModulesListRequest) MacAddressIsw(macAddressIsw []string) ApiDcimModulesListRequest {
- r.macAddressIsw = &macAddressIsw
+func (r ApiDcimModuleTypesListRequest) ModelIre(modelIre []string) ApiDcimModuleTypesListRequest {
+ r.modelIre = &modelIre
return r
}
-// Exclude MAC address
-func (r ApiDcimModulesListRequest) MacAddressN(macAddressN []string) ApiDcimModulesListRequest {
- r.macAddressN = &macAddressN
+func (r ApiDcimModuleTypesListRequest) ModelIsw(modelIsw []string) ApiDcimModuleTypesListRequest {
+ r.modelIsw = &modelIsw
return r
}
-// Exclude MAC address contains
-func (r ApiDcimModulesListRequest) MacAddressNic(macAddressNic []string) ApiDcimModulesListRequest {
- r.macAddressNic = &macAddressNic
+func (r ApiDcimModuleTypesListRequest) ModelN(modelN []string) ApiDcimModuleTypesListRequest {
+ r.modelN = &modelN
return r
}
-// Exclude MAC address
-func (r ApiDcimModulesListRequest) MacAddressNie(macAddressNie []string) ApiDcimModulesListRequest {
- r.macAddressNie = &macAddressNie
+func (r ApiDcimModuleTypesListRequest) ModelNic(modelNic []string) ApiDcimModuleTypesListRequest {
+ r.modelNic = &modelNic
return r
}
-// Exclude MAC address ends with
-func (r ApiDcimModulesListRequest) MacAddressNiew(macAddressNiew []string) ApiDcimModulesListRequest {
- r.macAddressNiew = &macAddressNiew
+func (r ApiDcimModuleTypesListRequest) ModelNie(modelNie []string) ApiDcimModuleTypesListRequest {
+ r.modelNie = &modelNie
return r
}
-// Exclude MAC address matches regex
-func (r ApiDcimModulesListRequest) MacAddressNire(macAddressNire []string) ApiDcimModulesListRequest {
- r.macAddressNire = &macAddressNire
+func (r ApiDcimModuleTypesListRequest) ModelNiew(modelNiew []string) ApiDcimModuleTypesListRequest {
+ r.modelNiew = &modelNiew
return r
}
-// Exclude MAC address starts with
-func (r ApiDcimModulesListRequest) MacAddressNisw(macAddressNisw []string) ApiDcimModulesListRequest {
- r.macAddressNisw = &macAddressNisw
+func (r ApiDcimModuleTypesListRequest) ModelNire(modelNire []string) ApiDcimModuleTypesListRequest {
+ r.modelNire = &modelNire
return r
}
-// Exclude MAC address matches regex
-func (r ApiDcimModulesListRequest) MacAddressNre(macAddressNre []string) ApiDcimModulesListRequest {
- r.macAddressNre = &macAddressNre
+func (r ApiDcimModuleTypesListRequest) ModelNisw(modelNisw []string) ApiDcimModuleTypesListRequest {
+ r.modelNisw = &modelNisw
return r
}
-// MAC address matches regex
-func (r ApiDcimModulesListRequest) MacAddressRe(macAddressRe []string) ApiDcimModulesListRequest {
- r.macAddressRe = &macAddressRe
+func (r ApiDcimModuleTypesListRequest) ModelNre(modelNre []string) ApiDcimModuleTypesListRequest {
+ r.modelNre = &modelNre
return r
}
-func (r ApiDcimModulesListRequest) Manufacturer(manufacturer []string) ApiDcimModulesListRequest {
- r.manufacturer = &manufacturer
+func (r ApiDcimModuleTypesListRequest) ModelRe(modelRe []string) ApiDcimModuleTypesListRequest {
+ r.modelRe = &modelRe
return r
}
-func (r ApiDcimModulesListRequest) ManufacturerN(manufacturerN []string) ApiDcimModulesListRequest {
- r.manufacturerN = &manufacturerN
+func (r ApiDcimModuleTypesListRequest) ModuleBayTemplates(moduleBayTemplates []string) ApiDcimModuleTypesListRequest {
+ r.moduleBayTemplates = &moduleBayTemplates
return r
}
-// Module Bays
-func (r ApiDcimModulesListRequest) ModuleBays(moduleBays []string) ApiDcimModulesListRequest {
- r.moduleBays = &moduleBays
+func (r ApiDcimModuleTypesListRequest) ModuleBayTemplatesIsnull(moduleBayTemplatesIsnull bool) ApiDcimModuleTypesListRequest {
+ r.moduleBayTemplatesIsnull = &moduleBayTemplatesIsnull
return r
}
-// Module Bays is null
-func (r ApiDcimModulesListRequest) ModuleBaysIsnull(moduleBaysIsnull bool) ApiDcimModulesListRequest {
- r.moduleBaysIsnull = &moduleBaysIsnull
+func (r ApiDcimModuleTypesListRequest) ModuleBayTemplatesN(moduleBayTemplatesN []string) ApiDcimModuleTypesListRequest {
+ r.moduleBayTemplatesN = &moduleBayTemplatesN
return r
}
-// Exclude Module Bays
-func (r ApiDcimModulesListRequest) ModuleBaysN(moduleBaysN []string) ApiDcimModulesListRequest {
- r.moduleBaysN = &moduleBaysN
+func (r ApiDcimModuleTypesListRequest) ModuleFamily(moduleFamily []string) ApiDcimModuleTypesListRequest {
+ r.moduleFamily = &moduleFamily
return r
}
-func (r ApiDcimModulesListRequest) ModuleType(moduleType []string) ApiDcimModulesListRequest {
- r.moduleType = &moduleType
+// Module family (name or ID) is null
+func (r ApiDcimModuleTypesListRequest) ModuleFamilyIsnull(moduleFamilyIsnull bool) ApiDcimModuleTypesListRequest {
+ r.moduleFamilyIsnull = &moduleFamilyIsnull
return r
}
-func (r ApiDcimModulesListRequest) ModuleTypeN(moduleTypeN []string) ApiDcimModulesListRequest {
- r.moduleTypeN = &moduleTypeN
+func (r ApiDcimModuleTypesListRequest) ModuleFamilyN(moduleFamilyN []string) ApiDcimModuleTypesListRequest {
+ r.moduleFamilyN = &moduleFamilyN
return r
}
// The initial index from which to return the results.
-func (r ApiDcimModulesListRequest) Offset(offset int32) ApiDcimModulesListRequest {
+func (r ApiDcimModuleTypesListRequest) Offset(offset int32) ApiDcimModuleTypesListRequest {
r.offset = &offset
return r
}
-// Parent Module Bay
-func (r ApiDcimModulesListRequest) ParentModuleBay(parentModuleBay []string) ApiDcimModulesListRequest {
- r.parentModuleBay = &parentModuleBay
- return r
-}
-
-// Parent Module Bay is null
-func (r ApiDcimModulesListRequest) ParentModuleBayIsnull(parentModuleBayIsnull bool) ApiDcimModulesListRequest {
- r.parentModuleBayIsnull = &parentModuleBayIsnull
- return r
-}
-
-// Exclude Parent Module Bay
-func (r ApiDcimModulesListRequest) ParentModuleBayN(parentModuleBayN []string) ApiDcimModulesListRequest {
- r.parentModuleBayN = &parentModuleBayN
- return r
-}
-
-func (r ApiDcimModulesListRequest) PowerOutlets(powerOutlets []string) ApiDcimModulesListRequest {
- r.powerOutlets = &powerOutlets
- return r
-}
-
-// Power Outlets (name or ID) is null
-func (r ApiDcimModulesListRequest) PowerOutletsIsnull(powerOutletsIsnull bool) ApiDcimModulesListRequest {
- r.powerOutletsIsnull = &powerOutletsIsnull
- return r
-}
-
-func (r ApiDcimModulesListRequest) PowerOutletsN(powerOutletsN []string) ApiDcimModulesListRequest {
- r.powerOutletsN = &powerOutletsN
- return r
-}
-
-func (r ApiDcimModulesListRequest) PowerPorts(powerPorts []string) ApiDcimModulesListRequest {
- r.powerPorts = &powerPorts
- return r
-}
-
-// Power Ports (name or ID) is null
-func (r ApiDcimModulesListRequest) PowerPortsIsnull(powerPortsIsnull bool) ApiDcimModulesListRequest {
- r.powerPortsIsnull = &powerPortsIsnull
+func (r ApiDcimModuleTypesListRequest) PartNumber(partNumber []string) ApiDcimModuleTypesListRequest {
+ r.partNumber = &partNumber
return r
}
-func (r ApiDcimModulesListRequest) PowerPortsN(powerPortsN []string) ApiDcimModulesListRequest {
- r.powerPortsN = &powerPortsN
+func (r ApiDcimModuleTypesListRequest) PartNumberIc(partNumberIc []string) ApiDcimModuleTypesListRequest {
+ r.partNumberIc = &partNumberIc
return r
}
-// Search
-func (r ApiDcimModulesListRequest) Q(q string) ApiDcimModulesListRequest {
- r.q = &q
+func (r ApiDcimModuleTypesListRequest) PartNumberIe(partNumberIe []string) ApiDcimModuleTypesListRequest {
+ r.partNumberIe = &partNumberIe
return r
}
-func (r ApiDcimModulesListRequest) RearPorts(rearPorts []string) ApiDcimModulesListRequest {
- r.rearPorts = &rearPorts
+func (r ApiDcimModuleTypesListRequest) PartNumberIew(partNumberIew []string) ApiDcimModuleTypesListRequest {
+ r.partNumberIew = &partNumberIew
return r
}
-// Rear Ports (name or ID) is null
-func (r ApiDcimModulesListRequest) RearPortsIsnull(rearPortsIsnull bool) ApiDcimModulesListRequest {
- r.rearPortsIsnull = &rearPortsIsnull
+func (r ApiDcimModuleTypesListRequest) PartNumberIre(partNumberIre []string) ApiDcimModuleTypesListRequest {
+ r.partNumberIre = &partNumberIre
return r
}
-func (r ApiDcimModulesListRequest) RearPortsN(rearPortsN []string) ApiDcimModulesListRequest {
- r.rearPortsN = &rearPortsN
+func (r ApiDcimModuleTypesListRequest) PartNumberIsw(partNumberIsw []string) ApiDcimModuleTypesListRequest {
+ r.partNumberIsw = &partNumberIsw
return r
}
-func (r ApiDcimModulesListRequest) Role(role []string) ApiDcimModulesListRequest {
- r.role = &role
+func (r ApiDcimModuleTypesListRequest) PartNumberN(partNumberN []string) ApiDcimModuleTypesListRequest {
+ r.partNumberN = &partNumberN
return r
}
-// Role (name or ID) is null
-func (r ApiDcimModulesListRequest) RoleIsnull(roleIsnull bool) ApiDcimModulesListRequest {
- r.roleIsnull = &roleIsnull
+func (r ApiDcimModuleTypesListRequest) PartNumberNic(partNumberNic []string) ApiDcimModuleTypesListRequest {
+ r.partNumberNic = &partNumberNic
return r
}
-// Exclude Role (name or ID)
-func (r ApiDcimModulesListRequest) RoleN(roleN string) ApiDcimModulesListRequest {
- r.roleN = &roleN
+func (r ApiDcimModuleTypesListRequest) PartNumberNie(partNumberNie []string) ApiDcimModuleTypesListRequest {
+ r.partNumberNie = &partNumberNie
return r
}
-func (r ApiDcimModulesListRequest) Serial(serial []string) ApiDcimModulesListRequest {
- r.serial = &serial
+func (r ApiDcimModuleTypesListRequest) PartNumberNiew(partNumberNiew []string) ApiDcimModuleTypesListRequest {
+ r.partNumberNiew = &partNumberNiew
return r
}
-func (r ApiDcimModulesListRequest) SerialIc(serialIc []string) ApiDcimModulesListRequest {
- r.serialIc = &serialIc
+func (r ApiDcimModuleTypesListRequest) PartNumberNire(partNumberNire []string) ApiDcimModuleTypesListRequest {
+ r.partNumberNire = &partNumberNire
return r
}
-func (r ApiDcimModulesListRequest) SerialIe(serialIe []string) ApiDcimModulesListRequest {
- r.serialIe = &serialIe
+func (r ApiDcimModuleTypesListRequest) PartNumberNisw(partNumberNisw []string) ApiDcimModuleTypesListRequest {
+ r.partNumberNisw = &partNumberNisw
return r
}
-func (r ApiDcimModulesListRequest) SerialIew(serialIew []string) ApiDcimModulesListRequest {
- r.serialIew = &serialIew
+func (r ApiDcimModuleTypesListRequest) PartNumberNre(partNumberNre []string) ApiDcimModuleTypesListRequest {
+ r.partNumberNre = &partNumberNre
return r
}
-func (r ApiDcimModulesListRequest) SerialIre(serialIre []string) ApiDcimModulesListRequest {
- r.serialIre = &serialIre
+func (r ApiDcimModuleTypesListRequest) PartNumberRe(partNumberRe []string) ApiDcimModuleTypesListRequest {
+ r.partNumberRe = &partNumberRe
return r
}
-func (r ApiDcimModulesListRequest) SerialIsnull(serialIsnull bool) ApiDcimModulesListRequest {
- r.serialIsnull = &serialIsnull
+func (r ApiDcimModuleTypesListRequest) PowerOutletTemplates(powerOutletTemplates []string) ApiDcimModuleTypesListRequest {
+ r.powerOutletTemplates = &powerOutletTemplates
return r
}
-func (r ApiDcimModulesListRequest) SerialIsw(serialIsw []string) ApiDcimModulesListRequest {
- r.serialIsw = &serialIsw
+// Power outlet templates (name or ID) is null
+func (r ApiDcimModuleTypesListRequest) PowerOutletTemplatesIsnull(powerOutletTemplatesIsnull bool) ApiDcimModuleTypesListRequest {
+ r.powerOutletTemplatesIsnull = &powerOutletTemplatesIsnull
return r
}
-func (r ApiDcimModulesListRequest) SerialN(serialN []string) ApiDcimModulesListRequest {
- r.serialN = &serialN
+func (r ApiDcimModuleTypesListRequest) PowerOutletTemplatesN(powerOutletTemplatesN []string) ApiDcimModuleTypesListRequest {
+ r.powerOutletTemplatesN = &powerOutletTemplatesN
return r
}
-func (r ApiDcimModulesListRequest) SerialNic(serialNic []string) ApiDcimModulesListRequest {
- r.serialNic = &serialNic
+func (r ApiDcimModuleTypesListRequest) PowerPortTemplates(powerPortTemplates []string) ApiDcimModuleTypesListRequest {
+ r.powerPortTemplates = &powerPortTemplates
return r
}
-func (r ApiDcimModulesListRequest) SerialNie(serialNie []string) ApiDcimModulesListRequest {
- r.serialNie = &serialNie
+// Power port templates (name or ID) is null
+func (r ApiDcimModuleTypesListRequest) PowerPortTemplatesIsnull(powerPortTemplatesIsnull bool) ApiDcimModuleTypesListRequest {
+ r.powerPortTemplatesIsnull = &powerPortTemplatesIsnull
return r
}
-func (r ApiDcimModulesListRequest) SerialNiew(serialNiew []string) ApiDcimModulesListRequest {
- r.serialNiew = &serialNiew
+func (r ApiDcimModuleTypesListRequest) PowerPortTemplatesN(powerPortTemplatesN []string) ApiDcimModuleTypesListRequest {
+ r.powerPortTemplatesN = &powerPortTemplatesN
return r
}
-func (r ApiDcimModulesListRequest) SerialNire(serialNire []string) ApiDcimModulesListRequest {
- r.serialNire = &serialNire
+// Search
+func (r ApiDcimModuleTypesListRequest) Q(q string) ApiDcimModuleTypesListRequest {
+ r.q = &q
return r
}
-func (r ApiDcimModulesListRequest) SerialNisw(serialNisw []string) ApiDcimModulesListRequest {
- r.serialNisw = &serialNisw
+func (r ApiDcimModuleTypesListRequest) RearPortTemplates(rearPortTemplates []string) ApiDcimModuleTypesListRequest {
+ r.rearPortTemplates = &rearPortTemplates
return r
}
-func (r ApiDcimModulesListRequest) SerialNre(serialNre []string) ApiDcimModulesListRequest {
- r.serialNre = &serialNre
+// Rear port templates (name or ID) is null
+func (r ApiDcimModuleTypesListRequest) RearPortTemplatesIsnull(rearPortTemplatesIsnull bool) ApiDcimModuleTypesListRequest {
+ r.rearPortTemplatesIsnull = &rearPortTemplatesIsnull
return r
}
-func (r ApiDcimModulesListRequest) SerialRe(serialRe []string) ApiDcimModulesListRequest {
- r.serialRe = &serialRe
+func (r ApiDcimModuleTypesListRequest) RearPortTemplatesN(rearPortTemplatesN []string) ApiDcimModuleTypesListRequest {
+ r.rearPortTemplatesN = &rearPortTemplatesN
return r
}
// Which field to use when ordering the results.
-func (r ApiDcimModulesListRequest) Sort(sort string) ApiDcimModulesListRequest {
+func (r ApiDcimModuleTypesListRequest) Sort(sort string) ApiDcimModuleTypesListRequest {
r.sort = &sort
return r
}
-func (r ApiDcimModulesListRequest) Status(status []string) ApiDcimModulesListRequest {
- r.status = &status
- return r
-}
-
-// Exclude Status (name or ID)
-func (r ApiDcimModulesListRequest) StatusN(statusN string) ApiDcimModulesListRequest {
- r.statusN = &statusN
- return r
-}
-
-func (r ApiDcimModulesListRequest) Tags(tags []string) ApiDcimModulesListRequest {
+func (r ApiDcimModuleTypesListRequest) Tags(tags []string) ApiDcimModuleTypesListRequest {
r.tags = &tags
return r
}
-func (r ApiDcimModulesListRequest) TagsIsnull(tagsIsnull bool) ApiDcimModulesListRequest {
+func (r ApiDcimModuleTypesListRequest) TagsIsnull(tagsIsnull bool) ApiDcimModuleTypesListRequest {
r.tagsIsnull = &tagsIsnull
return r
}
-func (r ApiDcimModulesListRequest) TagsN(tagsN []string) ApiDcimModulesListRequest {
+func (r ApiDcimModuleTypesListRequest) TagsN(tagsN []string) ApiDcimModuleTypesListRequest {
r.tagsN = &tagsN
return r
}
-func (r ApiDcimModulesListRequest) Teams(teams []string) ApiDcimModulesListRequest {
+func (r ApiDcimModuleTypesListRequest) Teams(teams []string) ApiDcimModuleTypesListRequest {
r.teams = &teams
return r
}
// Teams (name or ID) is null
-func (r ApiDcimModulesListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimModulesListRequest {
+func (r ApiDcimModuleTypesListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimModuleTypesListRequest {
r.teamsIsnull = &teamsIsnull
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimModulesListRequest) TeamsN(teamsN string) ApiDcimModulesListRequest {
+func (r ApiDcimModuleTypesListRequest) TeamsN(teamsN []string) ApiDcimModuleTypesListRequest {
r.teamsN = &teamsN
return r
}
-func (r ApiDcimModulesListRequest) Tenant(tenant []string) ApiDcimModulesListRequest {
- r.tenant = &tenant
- return r
-}
-
-// Tenant (name or ID) is null
-func (r ApiDcimModulesListRequest) TenantIsnull(tenantIsnull bool) ApiDcimModulesListRequest {
- r.tenantIsnull = &tenantIsnull
- return r
-}
-
-func (r ApiDcimModulesListRequest) TenantN(tenantN []string) ApiDcimModulesListRequest {
- r.tenantN = &tenantN
- return r
-}
-
-func (r ApiDcimModulesListRequest) TenantGroup(tenantGroup []string) ApiDcimModulesListRequest {
- r.tenantGroup = &tenantGroup
- return r
-}
-
-// Tenant Group (name or ID) is null
-func (r ApiDcimModulesListRequest) TenantGroupIsnull(tenantGroupIsnull bool) ApiDcimModulesListRequest {
- r.tenantGroupIsnull = &tenantGroupIsnull
- return r
-}
-
-func (r ApiDcimModulesListRequest) TenantGroupN(tenantGroupN []string) ApiDcimModulesListRequest {
- r.tenantGroupN = &tenantGroupN
- return r
-}
-
-// Tenant (ID) (deprecated, use \"tenant\" filter instead)
-func (r ApiDcimModulesListRequest) TenantId(tenantId []*string) ApiDcimModulesListRequest {
- r.tenantId = &tenantId
- return r
-}
-
-// Tenant (ID) (deprecated, use \"tenant\" filter instead) is null
-func (r ApiDcimModulesListRequest) TenantIdIsnull(tenantIdIsnull bool) ApiDcimModulesListRequest {
- r.tenantIdIsnull = &tenantIdIsnull
- return r
-}
-
-// Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead)
-func (r ApiDcimModulesListRequest) TenantIdN(tenantIdN []*string) ApiDcimModulesListRequest {
- r.tenantIdN = &tenantIdN
+// Serializer Depth
+func (r ApiDcimModuleTypesListRequest) Depth(depth int32) ApiDcimModuleTypesListRequest {
+ r.depth = &depth
return r
}
-// Serializer Depth
-func (r ApiDcimModulesListRequest) Depth(depth int32) ApiDcimModulesListRequest {
- r.depth = &depth
+// Exclude many-to-many fields from the response
+func (r ApiDcimModuleTypesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimModuleTypesListRequest {
+ r.excludeM2m = &excludeM2m
return r
}
-func (r ApiDcimModulesListRequest) Execute() (*PaginatedModuleList, *http.Response, error) {
- return r.ApiService.DcimModulesListExecute(r)
+func (r ApiDcimModuleTypesListRequest) Execute() (*PaginatedModuleTypeList, *http.Response, error) {
+ return r.ApiService.DcimModuleTypesListExecute(r)
}
/*
-DcimModulesList Method for DcimModulesList
+DcimModuleTypesList Method for DcimModuleTypesList
-Retrieve a list of module objects.
+Retrieve a list of module type objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimModulesListRequest
+ @return ApiDcimModuleTypesListRequest
*/
-func (a *DcimAPIService) DcimModulesList(ctx context.Context) ApiDcimModulesListRequest {
- return ApiDcimModulesListRequest{
+func (a *DcimAPIService) DcimModuleTypesList(ctx context.Context) ApiDcimModuleTypesListRequest {
+ return ApiDcimModuleTypesListRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return PaginatedModuleList
-func (a *DcimAPIService) DcimModulesListExecute(r ApiDcimModulesListRequest) (*PaginatedModuleList, *http.Response, error) {
+// @return PaginatedModuleTypeList
+func (a *DcimAPIService) DcimModuleTypesListExecute(r ApiDcimModuleTypesListRequest) (*PaginatedModuleTypeList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PaginatedModuleList
+ localVarReturnValue *PaginatedModuleTypeList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModulesList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleTypesList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/modules/"
+ localVarPath := localBasePath + "/dcim/module-types/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.assetTag != nil {
- t := *r.assetTag
+ if r.comments != nil {
+ t := *r.comments
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments", t, "form", "multi")
}
}
- if r.assetTagIc != nil {
- t := *r.assetTagIc
+ if r.commentsIc != nil {
+ t := *r.commentsIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ic", t, "form", "multi")
}
}
- if r.assetTagIe != nil {
- t := *r.assetTagIe
+ if r.commentsIe != nil {
+ t := *r.commentsIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ie", t, "form", "multi")
}
}
- if r.assetTagIew != nil {
- t := *r.assetTagIew
+ if r.commentsIew != nil {
+ t := *r.commentsIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__iew", t, "form", "multi")
}
}
- if r.assetTagIre != nil {
- t := *r.assetTagIre
+ if r.commentsIre != nil {
+ t := *r.commentsIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ire", t, "form", "multi")
}
}
- if r.assetTagIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__isnull", r.assetTagIsnull, "form", "")
- }
- if r.assetTagIsw != nil {
- t := *r.assetTagIsw
+ if r.commentsIsw != nil {
+ t := *r.commentsIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__isw", t, "form", "multi")
}
}
- if r.assetTagN != nil {
- t := *r.assetTagN
+ if r.commentsN != nil {
+ t := *r.commentsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__n", t, "form", "multi")
}
}
- if r.assetTagNic != nil {
- t := *r.assetTagNic
+ if r.commentsNic != nil {
+ t := *r.commentsNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nic", t, "form", "multi")
}
}
- if r.assetTagNie != nil {
- t := *r.assetTagNie
+ if r.commentsNie != nil {
+ t := *r.commentsNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nie", t, "form", "multi")
}
}
- if r.assetTagNiew != nil {
- t := *r.assetTagNiew
+ if r.commentsNiew != nil {
+ t := *r.commentsNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__niew", t, "form", "multi")
}
}
- if r.assetTagNire != nil {
- t := *r.assetTagNire
+ if r.commentsNire != nil {
+ t := *r.commentsNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nire", t, "form", "multi")
}
}
- if r.assetTagNisw != nil {
- t := *r.assetTagNisw
+ if r.commentsNisw != nil {
+ t := *r.commentsNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nisw", t, "form", "multi")
}
}
- if r.assetTagNre != nil {
- t := *r.assetTagNre
+ if r.commentsNre != nil {
+ t := *r.commentsNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nre", t, "form", "multi")
}
}
- if r.assetTagRe != nil {
- t := *r.assetTagRe
+ if r.commentsRe != nil {
+ t := *r.commentsRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__re", t, "form", "multi")
}
}
- if r.consolePorts != nil {
- t := *r.consolePorts
+ if r.compatibleWithModuleBay != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "compatible_with_module_bay", r.compatibleWithModuleBay, "form", "")
+ }
+ if r.consolePortTemplates != nil {
+ t := *r.consolePortTemplates
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "console_ports", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "console_port_templates", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "console_ports", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "console_port_templates", t, "form", "multi")
}
}
- if r.consolePortsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "console_ports__isnull", r.consolePortsIsnull, "form", "")
+ if r.consolePortTemplatesIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "console_port_templates__isnull", r.consolePortTemplatesIsnull, "form", "")
}
- if r.consolePortsN != nil {
- t := *r.consolePortsN
+ if r.consolePortTemplatesN != nil {
+ t := *r.consolePortTemplatesN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "console_ports__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "console_port_templates__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "console_ports__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "console_port_templates__n", t, "form", "multi")
}
}
- if r.consoleServerPorts != nil {
- t := *r.consoleServerPorts
+ if r.consoleServerPortTemplates != nil {
+ t := *r.consoleServerPortTemplates
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "console_server_ports", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "console_server_port_templates", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "console_server_ports", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "console_server_port_templates", t, "form", "multi")
}
}
- if r.consoleServerPortsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "console_server_ports__isnull", r.consoleServerPortsIsnull, "form", "")
+ if r.consoleServerPortTemplatesIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "console_server_port_templates__isnull", r.consoleServerPortTemplatesIsnull, "form", "")
}
- if r.consoleServerPortsN != nil {
- t := *r.consoleServerPortsN
+ if r.consoleServerPortTemplatesN != nil {
+ t := *r.consoleServerPortTemplatesN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "console_server_ports__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "console_server_port_templates__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "console_server_ports__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "console_server_port_templates__n", t, "form", "multi")
}
}
if r.contacts != nil {
@@ -89789,7 +84886,15 @@ func (a *DcimAPIService) DcimModulesListExecute(r ApiDcimModulesListRequest) (*P
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -89860,88 +84965,82 @@ func (a *DcimAPIService) DcimModulesListExecute(r ApiDcimModulesListRequest) (*P
parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "form", "multi")
}
}
- if r.device != nil {
- t := *r.device
+ if r.dynamicGroups != nil {
+ t := *r.dynamicGroups
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
}
}
- if r.dynamicGroups != nil {
- t := *r.dynamicGroups
+ if r.dynamicGroupsN != nil {
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.frontPorts != nil {
- t := *r.frontPorts
+ if r.frontPortTemplates != nil {
+ t := *r.frontPortTemplates
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "front_ports", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "front_port_templates", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "front_ports", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "front_port_templates", t, "form", "multi")
}
}
- if r.frontPortsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "front_ports__isnull", r.frontPortsIsnull, "form", "")
+ if r.frontPortTemplatesIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "front_port_templates__isnull", r.frontPortTemplatesIsnull, "form", "")
}
- if r.frontPortsN != nil {
- t := *r.frontPortsN
+ if r.frontPortTemplatesN != nil {
+ t := *r.frontPortTemplatesN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "front_ports__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "front_port_templates__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "front_ports__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "front_port_templates__n", t, "form", "multi")
}
}
- if r.hasConsolePorts != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_console_ports", r.hasConsolePorts, "form", "")
- }
- if r.hasConsoleServerPorts != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_console_server_ports", r.hasConsoleServerPorts, "form", "")
+ if r.hasConsolePortTemplates != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_console_port_templates", r.hasConsolePortTemplates, "form", "")
}
- if r.hasEmptyModuleBays != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_empty_module_bays", r.hasEmptyModuleBays, "form", "")
+ if r.hasConsoleServerPortTemplates != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_console_server_port_templates", r.hasConsoleServerPortTemplates, "form", "")
}
- if r.hasFrontPorts != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_front_ports", r.hasFrontPorts, "form", "")
+ if r.hasFrontPortTemplates != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_front_port_templates", r.hasFrontPortTemplates, "form", "")
}
- if r.hasInterfaces != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_interfaces", r.hasInterfaces, "form", "")
+ if r.hasInterfaceTemplates != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_interface_templates", r.hasInterfaceTemplates, "form", "")
}
- if r.hasModuleBays != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_module_bays", r.hasModuleBays, "form", "")
+ if r.hasModuleBayTemplates != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_module_bay_templates", r.hasModuleBayTemplates, "form", "")
}
if r.hasModules != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "has_modules", r.hasModules, "form", "")
}
- if r.hasPowerOutlets != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_power_outlets", r.hasPowerOutlets, "form", "")
+ if r.hasPowerOutletTemplates != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_power_outlet_templates", r.hasPowerOutletTemplates, "form", "")
}
- if r.hasPowerPorts != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_power_ports", r.hasPowerPorts, "form", "")
+ if r.hasPowerPortTemplates != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_power_port_templates", r.hasPowerPortTemplates, "form", "")
}
- if r.hasRearPorts != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_rear_ports", r.hasRearPorts, "form", "")
+ if r.hasRearPortTemplates != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_rear_port_templates", r.hasRearPortTemplates, "form", "")
}
if r.id != nil {
t := *r.id
@@ -89954,61 +85053,6 @@ func (a *DcimAPIService) DcimModulesListExecute(r ApiDcimModulesListRequest) (*P
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -90020,111 +85064,31 @@ func (a *DcimAPIService) DcimModulesListExecute(r ApiDcimModulesListRequest) (*P
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
- if r.interfaces != nil {
- t := *r.interfaces
+ if r.interfaceTemplates != nil {
+ t := *r.interfaceTemplates
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "interfaces", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "interface_templates", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "interfaces", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "interface_templates", t, "form", "multi")
}
}
- if r.interfacesIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "interfaces__isnull", r.interfacesIsnull, "form", "")
+ if r.interfaceTemplatesIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "interface_templates__isnull", r.interfaceTemplatesIsnull, "form", "")
}
- if r.interfacesN != nil {
- t := *r.interfacesN
+ if r.interfaceTemplatesN != nil {
+ t := *r.interfaceTemplatesN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "interfaces__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "interface_templates__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "interfaces__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "interface_templates__n", t, "form", "multi")
}
}
- if r.isInstalled != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "is_installed", r.isInstalled, "form", "")
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -90197,551 +85161,470 @@ func (a *DcimAPIService) DcimModulesListExecute(r ApiDcimModulesListRequest) (*P
if r.limit != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
- if r.location != nil {
- t := *r.location
+ if r.manufacturer != nil {
+ t := *r.manufacturer
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer", t, "form", "multi")
}
}
- if r.locationIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location__isnull", r.locationIsnull, "form", "")
- }
- if r.locationN != nil {
- t := *r.locationN
+ if r.manufacturerN != nil {
+ t := *r.manufacturerN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer__n", t, "form", "multi")
}
}
- if r.macAddress != nil {
- t := *r.macAddress
+ if r.model != nil {
+ t := *r.model
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "model", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "model", t, "form", "multi")
}
}
- if r.macAddressIc != nil {
- t := *r.macAddressIc
+ if r.modelIc != nil {
+ t := *r.modelIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "model__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "model__ic", t, "form", "multi")
}
}
- if r.macAddressIe != nil {
- t := *r.macAddressIe
+ if r.modelIe != nil {
+ t := *r.modelIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "model__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "model__ie", t, "form", "multi")
}
}
- if r.macAddressIew != nil {
- t := *r.macAddressIew
+ if r.modelIew != nil {
+ t := *r.modelIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "model__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "model__iew", t, "form", "multi")
}
}
- if r.macAddressIre != nil {
- t := *r.macAddressIre
+ if r.modelIre != nil {
+ t := *r.modelIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "model__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "model__ire", t, "form", "multi")
}
}
- if r.macAddressIsw != nil {
- t := *r.macAddressIsw
+ if r.modelIsw != nil {
+ t := *r.modelIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "model__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "model__isw", t, "form", "multi")
}
}
- if r.macAddressN != nil {
- t := *r.macAddressN
+ if r.modelN != nil {
+ t := *r.modelN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "model__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "model__n", t, "form", "multi")
}
}
- if r.macAddressNic != nil {
- t := *r.macAddressNic
+ if r.modelNic != nil {
+ t := *r.modelNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "model__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "model__nic", t, "form", "multi")
}
}
- if r.macAddressNie != nil {
- t := *r.macAddressNie
+ if r.modelNie != nil {
+ t := *r.modelNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "model__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "model__nie", t, "form", "multi")
}
}
- if r.macAddressNiew != nil {
- t := *r.macAddressNiew
+ if r.modelNiew != nil {
+ t := *r.modelNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "model__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "model__niew", t, "form", "multi")
}
}
- if r.macAddressNire != nil {
- t := *r.macAddressNire
+ if r.modelNire != nil {
+ t := *r.modelNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "model__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "model__nire", t, "form", "multi")
}
}
- if r.macAddressNisw != nil {
- t := *r.macAddressNisw
+ if r.modelNisw != nil {
+ t := *r.modelNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "model__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "model__nisw", t, "form", "multi")
}
}
- if r.macAddressNre != nil {
- t := *r.macAddressNre
+ if r.modelNre != nil {
+ t := *r.modelNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "model__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "model__nre", t, "form", "multi")
}
}
- if r.macAddressRe != nil {
- t := *r.macAddressRe
+ if r.modelRe != nil {
+ t := *r.modelRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "model__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "model__re", t, "form", "multi")
}
}
- if r.manufacturer != nil {
- t := *r.manufacturer
+ if r.moduleBayTemplates != nil {
+ t := *r.moduleBayTemplates
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_bay_templates", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_bay_templates", t, "form", "multi")
}
}
- if r.manufacturerN != nil {
- t := *r.manufacturerN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer__n", t, "form", "multi")
- }
+ if r.moduleBayTemplatesIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_bay_templates__isnull", r.moduleBayTemplatesIsnull, "form", "")
}
- if r.moduleBays != nil {
- t := *r.moduleBays
+ if r.moduleBayTemplatesN != nil {
+ t := *r.moduleBayTemplatesN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module_bays", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_bay_templates__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module_bays", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_bay_templates__n", t, "form", "multi")
}
}
- if r.moduleBaysIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module_bays__isnull", r.moduleBaysIsnull, "form", "")
- }
- if r.moduleBaysN != nil {
- t := *r.moduleBaysN
+ if r.moduleFamily != nil {
+ t := *r.moduleFamily
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module_bays__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_family", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module_bays__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_family", t, "form", "multi")
}
}
- if r.moduleType != nil {
- t := *r.moduleType
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module_type", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module_type", t, "form", "multi")
- }
+ if r.moduleFamilyIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_family__isnull", r.moduleFamilyIsnull, "form", "")
}
- if r.moduleTypeN != nil {
- t := *r.moduleTypeN
+ if r.moduleFamilyN != nil {
+ t := *r.moduleFamilyN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module_type__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_family__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module_type__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_family__n", t, "form", "multi")
}
}
if r.offset != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
}
- if r.parentModuleBay != nil {
- t := *r.parentModuleBay
+ if r.partNumber != nil {
+ t := *r.partNumber
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "parent_module_bay", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "part_number", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "parent_module_bay", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "part_number", t, "form", "multi")
}
}
- if r.parentModuleBayIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "parent_module_bay__isnull", r.parentModuleBayIsnull, "form", "")
- }
- if r.parentModuleBayN != nil {
- t := *r.parentModuleBayN
+ if r.partNumberIc != nil {
+ t := *r.partNumberIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "parent_module_bay__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "parent_module_bay__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__ic", t, "form", "multi")
}
}
- if r.powerOutlets != nil {
- t := *r.powerOutlets
+ if r.partNumberIe != nil {
+ t := *r.partNumberIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlets", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlets", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__ie", t, "form", "multi")
}
}
- if r.powerOutletsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlets__isnull", r.powerOutletsIsnull, "form", "")
- }
- if r.powerOutletsN != nil {
- t := *r.powerOutletsN
+ if r.partNumberIew != nil {
+ t := *r.partNumberIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlets__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlets__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__iew", t, "form", "multi")
}
}
- if r.powerPorts != nil {
- t := *r.powerPorts
+ if r.partNumberIre != nil {
+ t := *r.partNumberIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_ports", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_ports", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__ire", t, "form", "multi")
}
}
- if r.powerPortsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_ports__isnull", r.powerPortsIsnull, "form", "")
- }
- if r.powerPortsN != nil {
- t := *r.powerPortsN
+ if r.partNumberIsw != nil {
+ t := *r.partNumberIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_ports__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_ports__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__isw", t, "form", "multi")
}
}
- if r.q != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
- }
- if r.rearPorts != nil {
- t := *r.rearPorts
+ if r.partNumberN != nil {
+ t := *r.partNumberN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rear_ports", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rear_ports", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__n", t, "form", "multi")
}
}
- if r.rearPortsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rear_ports__isnull", r.rearPortsIsnull, "form", "")
- }
- if r.rearPortsN != nil {
- t := *r.rearPortsN
+ if r.partNumberNic != nil {
+ t := *r.partNumberNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rear_ports__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rear_ports__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__nic", t, "form", "multi")
}
}
- if r.role != nil {
- t := *r.role
+ if r.partNumberNie != nil {
+ t := *r.partNumberNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "role", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "role", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__nie", t, "form", "multi")
}
}
- if r.roleIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "role__isnull", r.roleIsnull, "form", "")
- }
- if r.roleN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", r.roleN, "form", "")
- }
- if r.serial != nil {
- t := *r.serial
+ if r.partNumberNiew != nil {
+ t := *r.partNumberNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "serial", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "serial", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__niew", t, "form", "multi")
}
}
- if r.serialIc != nil {
- t := *r.serialIc
+ if r.partNumberNire != nil {
+ t := *r.partNumberNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__nire", t, "form", "multi")
}
}
- if r.serialIe != nil {
- t := *r.serialIe
+ if r.partNumberNisw != nil {
+ t := *r.partNumberNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__nisw", t, "form", "multi")
}
}
- if r.serialIew != nil {
- t := *r.serialIew
+ if r.partNumberNre != nil {
+ t := *r.partNumberNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "serial__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "serial__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__nre", t, "form", "multi")
}
}
- if r.serialIre != nil {
- t := *r.serialIre
+ if r.partNumberRe != nil {
+ t := *r.partNumberRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "part_number__re", t, "form", "multi")
}
}
- if r.serialIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "serial__isnull", r.serialIsnull, "form", "")
- }
- if r.serialIsw != nil {
- t := *r.serialIsw
+ if r.powerOutletTemplates != nil {
+ t := *r.powerOutletTemplates
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "serial__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlet_templates", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "serial__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlet_templates", t, "form", "multi")
}
}
- if r.serialN != nil {
- t := *r.serialN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "serial__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "serial__n", t, "form", "multi")
- }
+ if r.powerOutletTemplatesIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlet_templates__isnull", r.powerOutletTemplatesIsnull, "form", "")
}
- if r.serialNic != nil {
- t := *r.serialNic
+ if r.powerOutletTemplatesN != nil {
+ t := *r.powerOutletTemplatesN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlet_templates__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlet_templates__n", t, "form", "multi")
}
}
- if r.serialNie != nil {
- t := *r.serialNie
+ if r.powerPortTemplates != nil {
+ t := *r.powerPortTemplates
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_port_templates", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_port_templates", t, "form", "multi")
}
}
- if r.serialNiew != nil {
- t := *r.serialNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "serial__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "serial__niew", t, "form", "multi")
- }
+ if r.powerPortTemplatesIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_port_templates__isnull", r.powerPortTemplatesIsnull, "form", "")
}
- if r.serialNire != nil {
- t := *r.serialNire
+ if r.powerPortTemplatesN != nil {
+ t := *r.powerPortTemplatesN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_port_templates__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_port_templates__n", t, "form", "multi")
}
}
- if r.serialNisw != nil {
- t := *r.serialNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nisw", t, "form", "multi")
- }
+ if r.q != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
}
- if r.serialNre != nil {
- t := *r.serialNre
+ if r.rearPortTemplates != nil {
+ t := *r.rearPortTemplates
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rear_port_templates", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rear_port_templates", t, "form", "multi")
}
}
- if r.serialRe != nil {
- t := *r.serialRe
+ if r.rearPortTemplatesIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rear_port_templates__isnull", r.rearPortTemplatesIsnull, "form", "")
+ }
+ if r.rearPortTemplatesN != nil {
+ t := *r.rearPortTemplatesN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "serial__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rear_port_templates__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "serial__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rear_port_templates__n", t, "form", "multi")
}
}
if r.sort != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
}
- if r.status != nil {
- t := *r.status
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "status", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "status", t, "form", "multi")
- }
- }
- if r.statusN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", r.statusN, "form", "")
- }
if r.tags != nil {
t := *r.tags
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -90782,88 +85665,29 @@ func (a *DcimAPIService) DcimModulesListExecute(r ApiDcimModulesListRequest) (*P
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
- }
- if r.tenant != nil {
- t := *r.tenant
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant", t, "form", "multi")
- }
- }
- if r.tenantIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__isnull", r.tenantIsnull, "form", "")
- }
- if r.tenantN != nil {
- t := *r.tenantN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__n", t, "form", "multi")
- }
- }
- if r.tenantGroup != nil {
- t := *r.tenantGroup
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group", t, "form", "multi")
- }
- }
- if r.tenantGroupIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group__isnull", r.tenantGroupIsnull, "form", "")
- }
- if r.tenantGroupN != nil {
- t := *r.tenantGroupN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group__n", t, "form", "multi")
- }
- }
- if r.tenantId != nil {
- t := *r.tenantId
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id", t, "form", "multi")
- }
- }
- if r.tenantIdIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__isnull", r.tenantIdIsnull, "form", "")
- }
- if r.tenantIdN != nil {
- t := *r.tenantIdN
+ t := *r.teamsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
}
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -90933,7 +85757,7 @@ func (a *DcimAPIService) DcimModulesListExecute(r ApiDcimModulesListRequest) (*P
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimModulesNotesCreateRequest struct {
+type ApiDcimModuleTypesNotesCreateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
@@ -90941,31 +85765,31 @@ type ApiDcimModulesNotesCreateRequest struct {
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimModulesNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimModulesNotesCreateRequest {
+func (r ApiDcimModuleTypesNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimModuleTypesNotesCreateRequest {
r.noteInputRequest = ¬eInputRequest
return r
}
-func (r ApiDcimModulesNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModulesNotesCreateRequest {
+func (r ApiDcimModuleTypesNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleTypesNotesCreateRequest {
r.format = &format
return r
}
-func (r ApiDcimModulesNotesCreateRequest) Execute() (*Note, *http.Response, error) {
- return r.ApiService.DcimModulesNotesCreateExecute(r)
+func (r ApiDcimModuleTypesNotesCreateRequest) Execute() (*Note, *http.Response, error) {
+ return r.ApiService.DcimModuleTypesNotesCreateExecute(r)
}
/*
-DcimModulesNotesCreate Method for DcimModulesNotesCreate
+DcimModuleTypesNotesCreate Method for DcimModuleTypesNotesCreate
API methods for returning or creating notes on an object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this module.
- @return ApiDcimModulesNotesCreateRequest
+ @param id A UUID string identifying this module type.
+ @return ApiDcimModuleTypesNotesCreateRequest
*/
-func (a *DcimAPIService) DcimModulesNotesCreate(ctx context.Context, id string) ApiDcimModulesNotesCreateRequest {
- return ApiDcimModulesNotesCreateRequest{
+func (a *DcimAPIService) DcimModuleTypesNotesCreate(ctx context.Context, id string) ApiDcimModuleTypesNotesCreateRequest {
+ return ApiDcimModuleTypesNotesCreateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -90974,7 +85798,7 @@ func (a *DcimAPIService) DcimModulesNotesCreate(ctx context.Context, id string)
// Execute executes the request
// @return Note
-func (a *DcimAPIService) DcimModulesNotesCreateExecute(r ApiDcimModulesNotesCreateRequest) (*Note, *http.Response, error) {
+func (a *DcimAPIService) DcimModuleTypesNotesCreateExecute(r ApiDcimModuleTypesNotesCreateRequest) (*Note, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -90982,12 +85806,12 @@ func (a *DcimAPIService) DcimModulesNotesCreateExecute(r ApiDcimModulesNotesCrea
localVarReturnValue *Note
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModulesNotesCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleTypesNotesCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/modules/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/module-types/{id}/notes/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -91070,7 +85894,7 @@ func (a *DcimAPIService) DcimModulesNotesCreateExecute(r ApiDcimModulesNotesCrea
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimModulesNotesListRequest struct {
+type ApiDcimModuleTypesNotesListRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
@@ -91078,46 +85902,53 @@ type ApiDcimModulesNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimModulesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModulesNotesListRequest {
+func (r ApiDcimModuleTypesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleTypesNotesListRequest {
r.format = &format
return r
}
// Number of results to return per page.
-func (r ApiDcimModulesNotesListRequest) Limit(limit int32) ApiDcimModulesNotesListRequest {
+func (r ApiDcimModuleTypesNotesListRequest) Limit(limit int32) ApiDcimModuleTypesNotesListRequest {
r.limit = &limit
return r
}
// The initial index from which to return the results.
-func (r ApiDcimModulesNotesListRequest) Offset(offset int32) ApiDcimModulesNotesListRequest {
+func (r ApiDcimModuleTypesNotesListRequest) Offset(offset int32) ApiDcimModuleTypesNotesListRequest {
r.offset = &offset
return r
}
// Serializer Depth
-func (r ApiDcimModulesNotesListRequest) Depth(depth int32) ApiDcimModulesNotesListRequest {
+func (r ApiDcimModuleTypesNotesListRequest) Depth(depth int32) ApiDcimModuleTypesNotesListRequest {
r.depth = &depth
return r
}
-func (r ApiDcimModulesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
- return r.ApiService.DcimModulesNotesListExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimModuleTypesNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimModuleTypesNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimModuleTypesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
+ return r.ApiService.DcimModuleTypesNotesListExecute(r)
}
/*
-DcimModulesNotesList Method for DcimModulesNotesList
+DcimModuleTypesNotesList Method for DcimModuleTypesNotesList
API methods for returning or creating notes on an object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this module.
- @return ApiDcimModulesNotesListRequest
+ @param id A UUID string identifying this module type.
+ @return ApiDcimModuleTypesNotesListRequest
*/
-func (a *DcimAPIService) DcimModulesNotesList(ctx context.Context, id string) ApiDcimModulesNotesListRequest {
- return ApiDcimModulesNotesListRequest{
+func (a *DcimAPIService) DcimModuleTypesNotesList(ctx context.Context, id string) ApiDcimModuleTypesNotesListRequest {
+ return ApiDcimModuleTypesNotesListRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -91126,7 +85957,7 @@ func (a *DcimAPIService) DcimModulesNotesList(ctx context.Context, id string) Ap
// Execute executes the request
// @return PaginatedNoteList
-func (a *DcimAPIService) DcimModulesNotesListExecute(r ApiDcimModulesNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
+func (a *DcimAPIService) DcimModuleTypesNotesListExecute(r ApiDcimModuleTypesNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -91134,12 +85965,12 @@ func (a *DcimAPIService) DcimModulesNotesListExecute(r ApiDcimModulesNotesListRe
localVarReturnValue *PaginatedNoteList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModulesNotesList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleTypesNotesList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/modules/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/module-types/{id}/notes/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -91158,8 +85989,16 @@ func (a *DcimAPIService) DcimModulesNotesListExecute(r ApiDcimModulesNotesListRe
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -91229,39 +86068,39 @@ func (a *DcimAPIService) DcimModulesNotesListExecute(r ApiDcimModulesNotesListRe
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimModulesPartialUpdateRequest struct {
+type ApiDcimModuleTypesPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
- patchedModuleRequest *PatchedModuleRequest
+ patchedModuleTypeRequest *PatchedModuleTypeRequest
}
-func (r ApiDcimModulesPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModulesPartialUpdateRequest {
+func (r ApiDcimModuleTypesPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleTypesPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimModulesPartialUpdateRequest) PatchedModuleRequest(patchedModuleRequest PatchedModuleRequest) ApiDcimModulesPartialUpdateRequest {
- r.patchedModuleRequest = &patchedModuleRequest
+func (r ApiDcimModuleTypesPartialUpdateRequest) PatchedModuleTypeRequest(patchedModuleTypeRequest PatchedModuleTypeRequest) ApiDcimModuleTypesPartialUpdateRequest {
+ r.patchedModuleTypeRequest = &patchedModuleTypeRequest
return r
}
-func (r ApiDcimModulesPartialUpdateRequest) Execute() (*Module, *http.Response, error) {
- return r.ApiService.DcimModulesPartialUpdateExecute(r)
+func (r ApiDcimModuleTypesPartialUpdateRequest) Execute() (*ModuleType, *http.Response, error) {
+ return r.ApiService.DcimModuleTypesPartialUpdateExecute(r)
}
/*
-DcimModulesPartialUpdate Method for DcimModulesPartialUpdate
+DcimModuleTypesPartialUpdate Method for DcimModuleTypesPartialUpdate
-Partial update a module object.
+Partial update a module type object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this module.
- @return ApiDcimModulesPartialUpdateRequest
+ @param id A UUID string identifying this module type.
+ @return ApiDcimModuleTypesPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimModulesPartialUpdate(ctx context.Context, id string) ApiDcimModulesPartialUpdateRequest {
- return ApiDcimModulesPartialUpdateRequest{
+func (a *DcimAPIService) DcimModuleTypesPartialUpdate(ctx context.Context, id string) ApiDcimModuleTypesPartialUpdateRequest {
+ return ApiDcimModuleTypesPartialUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -91269,21 +86108,21 @@ func (a *DcimAPIService) DcimModulesPartialUpdate(ctx context.Context, id string
}
// Execute executes the request
-// @return Module
-func (a *DcimAPIService) DcimModulesPartialUpdateExecute(r ApiDcimModulesPartialUpdateRequest) (*Module, *http.Response, error) {
+// @return ModuleType
+func (a *DcimAPIService) DcimModuleTypesPartialUpdateExecute(r ApiDcimModuleTypesPartialUpdateRequest) (*ModuleType, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *Module
+ localVarReturnValue *ModuleType
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModulesPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleTypesPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/modules/{id}/"
+ localVarPath := localBasePath + "/dcim/module-types/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -91311,7 +86150,7 @@ func (a *DcimAPIService) DcimModulesPartialUpdateExecute(r ApiDcimModulesPartial
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedModuleRequest
+ localVarPostBody = r.patchedModuleTypeRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -91363,40 +86202,47 @@ func (a *DcimAPIService) DcimModulesPartialUpdateExecute(r ApiDcimModulesPartial
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimModulesRetrieveRequest struct {
+type ApiDcimModuleTypesRetrieveRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimModulesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModulesRetrieveRequest {
+func (r ApiDcimModuleTypesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleTypesRetrieveRequest {
r.format = &format
return r
}
// Serializer Depth
-func (r ApiDcimModulesRetrieveRequest) Depth(depth int32) ApiDcimModulesRetrieveRequest {
+func (r ApiDcimModuleTypesRetrieveRequest) Depth(depth int32) ApiDcimModuleTypesRetrieveRequest {
r.depth = &depth
return r
}
-func (r ApiDcimModulesRetrieveRequest) Execute() (*Module, *http.Response, error) {
- return r.ApiService.DcimModulesRetrieveExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimModuleTypesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimModuleTypesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimModuleTypesRetrieveRequest) Execute() (*ModuleType, *http.Response, error) {
+ return r.ApiService.DcimModuleTypesRetrieveExecute(r)
}
/*
-DcimModulesRetrieve Method for DcimModulesRetrieve
+DcimModuleTypesRetrieve Method for DcimModuleTypesRetrieve
-Retrieve a module object.
+Retrieve a module type object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this module.
- @return ApiDcimModulesRetrieveRequest
+ @param id A UUID string identifying this module type.
+ @return ApiDcimModuleTypesRetrieveRequest
*/
-func (a *DcimAPIService) DcimModulesRetrieve(ctx context.Context, id string) ApiDcimModulesRetrieveRequest {
- return ApiDcimModulesRetrieveRequest{
+func (a *DcimAPIService) DcimModuleTypesRetrieve(ctx context.Context, id string) ApiDcimModuleTypesRetrieveRequest {
+ return ApiDcimModuleTypesRetrieveRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -91404,21 +86250,21 @@ func (a *DcimAPIService) DcimModulesRetrieve(ctx context.Context, id string) Api
}
// Execute executes the request
-// @return Module
-func (a *DcimAPIService) DcimModulesRetrieveExecute(r ApiDcimModulesRetrieveRequest) (*Module, *http.Response, error) {
+// @return ModuleType
+func (a *DcimAPIService) DcimModuleTypesRetrieveExecute(r ApiDcimModuleTypesRetrieveRequest) (*ModuleType, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *Module
+ localVarReturnValue *ModuleType
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModulesRetrieve")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleTypesRetrieve")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/modules/{id}/"
+ localVarPath := localBasePath + "/dcim/module-types/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -91431,8 +86277,16 @@ func (a *DcimAPIService) DcimModulesRetrieveExecute(r ApiDcimModulesRetrieveRequ
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -91502,39 +86356,39 @@ func (a *DcimAPIService) DcimModulesRetrieveExecute(r ApiDcimModulesRetrieveRequ
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimModulesUpdateRequest struct {
+type ApiDcimModuleTypesUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
- moduleRequest *ModuleRequest
+ moduleTypeRequest *ModuleTypeRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimModulesUpdateRequest) ModuleRequest(moduleRequest ModuleRequest) ApiDcimModulesUpdateRequest {
- r.moduleRequest = &moduleRequest
+func (r ApiDcimModuleTypesUpdateRequest) ModuleTypeRequest(moduleTypeRequest ModuleTypeRequest) ApiDcimModuleTypesUpdateRequest {
+ r.moduleTypeRequest = &moduleTypeRequest
return r
}
-func (r ApiDcimModulesUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModulesUpdateRequest {
+func (r ApiDcimModuleTypesUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModuleTypesUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimModulesUpdateRequest) Execute() (*Module, *http.Response, error) {
- return r.ApiService.DcimModulesUpdateExecute(r)
+func (r ApiDcimModuleTypesUpdateRequest) Execute() (*ModuleType, *http.Response, error) {
+ return r.ApiService.DcimModuleTypesUpdateExecute(r)
}
/*
-DcimModulesUpdate Method for DcimModulesUpdate
+DcimModuleTypesUpdate Method for DcimModuleTypesUpdate
-Update a module object.
+Update a module type object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this module.
- @return ApiDcimModulesUpdateRequest
+ @param id A UUID string identifying this module type.
+ @return ApiDcimModuleTypesUpdateRequest
*/
-func (a *DcimAPIService) DcimModulesUpdate(ctx context.Context, id string) ApiDcimModulesUpdateRequest {
- return ApiDcimModulesUpdateRequest{
+func (a *DcimAPIService) DcimModuleTypesUpdate(ctx context.Context, id string) ApiDcimModuleTypesUpdateRequest {
+ return ApiDcimModuleTypesUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -91542,28 +86396,28 @@ func (a *DcimAPIService) DcimModulesUpdate(ctx context.Context, id string) ApiDc
}
// Execute executes the request
-// @return Module
-func (a *DcimAPIService) DcimModulesUpdateExecute(r ApiDcimModulesUpdateRequest) (*Module, *http.Response, error) {
+// @return ModuleType
+func (a *DcimAPIService) DcimModuleTypesUpdateExecute(r ApiDcimModuleTypesUpdateRequest) (*ModuleType, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *Module
+ localVarReturnValue *ModuleType
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModulesUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModuleTypesUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/modules/{id}/"
+ localVarPath := localBasePath + "/dcim/module-types/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.moduleRequest == nil {
- return localVarReturnValue, nil, reportError("moduleRequest is required and must be specified")
+ if r.moduleTypeRequest == nil {
+ return localVarReturnValue, nil, reportError("moduleTypeRequest is required and must be specified")
}
if r.format != nil {
@@ -91587,7 +86441,7 @@ func (a *DcimAPIService) DcimModulesUpdateExecute(r ApiDcimModulesUpdateRequest)
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.moduleRequest
+ localVarPostBody = r.moduleTypeRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -91639,56 +86493,56 @@ func (a *DcimAPIService) DcimModulesUpdateExecute(r ApiDcimModulesUpdateRequest)
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPlatformsBulkDestroyRequest struct {
+type ApiDcimModulesBulkDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
bulkOperationRequest *[]BulkOperationRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPlatformsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimPlatformsBulkDestroyRequest {
+func (r ApiDcimModulesBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimModulesBulkDestroyRequest {
r.bulkOperationRequest = &bulkOperationRequest
return r
}
-func (r ApiDcimPlatformsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPlatformsBulkDestroyRequest {
+func (r ApiDcimModulesBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModulesBulkDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimPlatformsBulkDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimPlatformsBulkDestroyExecute(r)
+func (r ApiDcimModulesBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimModulesBulkDestroyExecute(r)
}
/*
-DcimPlatformsBulkDestroy Method for DcimPlatformsBulkDestroy
+DcimModulesBulkDestroy Method for DcimModulesBulkDestroy
-Destroy a list of platform objects.
+Destroy a list of module objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPlatformsBulkDestroyRequest
+ @return ApiDcimModulesBulkDestroyRequest
*/
-func (a *DcimAPIService) DcimPlatformsBulkDestroy(ctx context.Context) ApiDcimPlatformsBulkDestroyRequest {
- return ApiDcimPlatformsBulkDestroyRequest{
+func (a *DcimAPIService) DcimModulesBulkDestroy(ctx context.Context) ApiDcimModulesBulkDestroyRequest {
+ return ApiDcimModulesBulkDestroyRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-func (a *DcimAPIService) DcimPlatformsBulkDestroyExecute(r ApiDcimPlatformsBulkDestroyRequest) (*http.Response, error) {
+func (a *DcimAPIService) DcimModulesBulkDestroyExecute(r ApiDcimModulesBulkDestroyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPlatformsBulkDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModulesBulkDestroy")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/platforms/"
+ localVarPath := localBasePath + "/dcim/modules/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -91761,64 +86615,64 @@ func (a *DcimAPIService) DcimPlatformsBulkDestroyExecute(r ApiDcimPlatformsBulkD
return localVarHTTPResponse, nil
}
-type ApiDcimPlatformsBulkPartialUpdateRequest struct {
+type ApiDcimModulesBulkPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- patchedBulkWritablePlatformRequest *[]PatchedBulkWritablePlatformRequest
+ patchedBulkWritableModuleRequest *[]PatchedBulkWritableModuleRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPlatformsBulkPartialUpdateRequest) PatchedBulkWritablePlatformRequest(patchedBulkWritablePlatformRequest []PatchedBulkWritablePlatformRequest) ApiDcimPlatformsBulkPartialUpdateRequest {
- r.patchedBulkWritablePlatformRequest = &patchedBulkWritablePlatformRequest
+func (r ApiDcimModulesBulkPartialUpdateRequest) PatchedBulkWritableModuleRequest(patchedBulkWritableModuleRequest []PatchedBulkWritableModuleRequest) ApiDcimModulesBulkPartialUpdateRequest {
+ r.patchedBulkWritableModuleRequest = &patchedBulkWritableModuleRequest
return r
}
-func (r ApiDcimPlatformsBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPlatformsBulkPartialUpdateRequest {
+func (r ApiDcimModulesBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModulesBulkPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimPlatformsBulkPartialUpdateRequest) Execute() ([]Platform, *http.Response, error) {
- return r.ApiService.DcimPlatformsBulkPartialUpdateExecute(r)
+func (r ApiDcimModulesBulkPartialUpdateRequest) Execute() ([]Module, *http.Response, error) {
+ return r.ApiService.DcimModulesBulkPartialUpdateExecute(r)
}
/*
-DcimPlatformsBulkPartialUpdate Method for DcimPlatformsBulkPartialUpdate
+DcimModulesBulkPartialUpdate Method for DcimModulesBulkPartialUpdate
-Partial update a list of platform objects.
+Partial update a list of module objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPlatformsBulkPartialUpdateRequest
+ @return ApiDcimModulesBulkPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimPlatformsBulkPartialUpdate(ctx context.Context) ApiDcimPlatformsBulkPartialUpdateRequest {
- return ApiDcimPlatformsBulkPartialUpdateRequest{
+func (a *DcimAPIService) DcimModulesBulkPartialUpdate(ctx context.Context) ApiDcimModulesBulkPartialUpdateRequest {
+ return ApiDcimModulesBulkPartialUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []Platform
-func (a *DcimAPIService) DcimPlatformsBulkPartialUpdateExecute(r ApiDcimPlatformsBulkPartialUpdateRequest) ([]Platform, *http.Response, error) {
+// @return []Module
+func (a *DcimAPIService) DcimModulesBulkPartialUpdateExecute(r ApiDcimModulesBulkPartialUpdateRequest) ([]Module, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []Platform
+ localVarReturnValue []Module
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPlatformsBulkPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModulesBulkPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/platforms/"
+ localVarPath := localBasePath + "/dcim/modules/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.patchedBulkWritablePlatformRequest == nil {
- return localVarReturnValue, nil, reportError("patchedBulkWritablePlatformRequest is required and must be specified")
+ if r.patchedBulkWritableModuleRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritableModuleRequest is required and must be specified")
}
if r.format != nil {
@@ -91842,7 +86696,7 @@ func (a *DcimAPIService) DcimPlatformsBulkPartialUpdateExecute(r ApiDcimPlatform
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedBulkWritablePlatformRequest
+ localVarPostBody = r.patchedBulkWritableModuleRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -91894,64 +86748,64 @@ func (a *DcimAPIService) DcimPlatformsBulkPartialUpdateExecute(r ApiDcimPlatform
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPlatformsBulkUpdateRequest struct {
+type ApiDcimModulesBulkUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- bulkWritablePlatformRequest *[]BulkWritablePlatformRequest
+ bulkWritableModuleRequest *[]BulkWritableModuleRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPlatformsBulkUpdateRequest) BulkWritablePlatformRequest(bulkWritablePlatformRequest []BulkWritablePlatformRequest) ApiDcimPlatformsBulkUpdateRequest {
- r.bulkWritablePlatformRequest = &bulkWritablePlatformRequest
+func (r ApiDcimModulesBulkUpdateRequest) BulkWritableModuleRequest(bulkWritableModuleRequest []BulkWritableModuleRequest) ApiDcimModulesBulkUpdateRequest {
+ r.bulkWritableModuleRequest = &bulkWritableModuleRequest
return r
}
-func (r ApiDcimPlatformsBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPlatformsBulkUpdateRequest {
+func (r ApiDcimModulesBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModulesBulkUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimPlatformsBulkUpdateRequest) Execute() ([]Platform, *http.Response, error) {
- return r.ApiService.DcimPlatformsBulkUpdateExecute(r)
+func (r ApiDcimModulesBulkUpdateRequest) Execute() ([]Module, *http.Response, error) {
+ return r.ApiService.DcimModulesBulkUpdateExecute(r)
}
/*
-DcimPlatformsBulkUpdate Method for DcimPlatformsBulkUpdate
+DcimModulesBulkUpdate Method for DcimModulesBulkUpdate
-Update a list of platform objects.
+Update a list of module objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPlatformsBulkUpdateRequest
+ @return ApiDcimModulesBulkUpdateRequest
*/
-func (a *DcimAPIService) DcimPlatformsBulkUpdate(ctx context.Context) ApiDcimPlatformsBulkUpdateRequest {
- return ApiDcimPlatformsBulkUpdateRequest{
+func (a *DcimAPIService) DcimModulesBulkUpdate(ctx context.Context) ApiDcimModulesBulkUpdateRequest {
+ return ApiDcimModulesBulkUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []Platform
-func (a *DcimAPIService) DcimPlatformsBulkUpdateExecute(r ApiDcimPlatformsBulkUpdateRequest) ([]Platform, *http.Response, error) {
+// @return []Module
+func (a *DcimAPIService) DcimModulesBulkUpdateExecute(r ApiDcimModulesBulkUpdateRequest) ([]Module, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []Platform
+ localVarReturnValue []Module
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPlatformsBulkUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModulesBulkUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/platforms/"
+ localVarPath := localBasePath + "/dcim/modules/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.bulkWritablePlatformRequest == nil {
- return localVarReturnValue, nil, reportError("bulkWritablePlatformRequest is required and must be specified")
+ if r.bulkWritableModuleRequest == nil {
+ return localVarReturnValue, nil, reportError("bulkWritableModuleRequest is required and must be specified")
}
if r.format != nil {
@@ -91975,7 +86829,7 @@ func (a *DcimAPIService) DcimPlatformsBulkUpdateExecute(r ApiDcimPlatformsBulkUp
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.bulkWritablePlatformRequest
+ localVarPostBody = r.bulkWritableModuleRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -92027,64 +86881,64 @@ func (a *DcimAPIService) DcimPlatformsBulkUpdateExecute(r ApiDcimPlatformsBulkUp
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPlatformsCreateRequest struct {
+type ApiDcimModulesCreateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- platformRequest *PlatformRequest
+ moduleRequest *ModuleRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPlatformsCreateRequest) PlatformRequest(platformRequest PlatformRequest) ApiDcimPlatformsCreateRequest {
- r.platformRequest = &platformRequest
+func (r ApiDcimModulesCreateRequest) ModuleRequest(moduleRequest ModuleRequest) ApiDcimModulesCreateRequest {
+ r.moduleRequest = &moduleRequest
return r
}
-func (r ApiDcimPlatformsCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPlatformsCreateRequest {
+func (r ApiDcimModulesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModulesCreateRequest {
r.format = &format
return r
}
-func (r ApiDcimPlatformsCreateRequest) Execute() (*Platform, *http.Response, error) {
- return r.ApiService.DcimPlatformsCreateExecute(r)
+func (r ApiDcimModulesCreateRequest) Execute() (*Module, *http.Response, error) {
+ return r.ApiService.DcimModulesCreateExecute(r)
}
/*
-DcimPlatformsCreate Method for DcimPlatformsCreate
+DcimModulesCreate Method for DcimModulesCreate
-Create one or more platform objects.
+Create one or more module objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPlatformsCreateRequest
+ @return ApiDcimModulesCreateRequest
*/
-func (a *DcimAPIService) DcimPlatformsCreate(ctx context.Context) ApiDcimPlatformsCreateRequest {
- return ApiDcimPlatformsCreateRequest{
+func (a *DcimAPIService) DcimModulesCreate(ctx context.Context) ApiDcimModulesCreateRequest {
+ return ApiDcimModulesCreateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return Platform
-func (a *DcimAPIService) DcimPlatformsCreateExecute(r ApiDcimPlatformsCreateRequest) (*Platform, *http.Response, error) {
+// @return Module
+func (a *DcimAPIService) DcimModulesCreateExecute(r ApiDcimModulesCreateRequest) (*Module, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *Platform
+ localVarReturnValue *Module
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPlatformsCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModulesCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/platforms/"
+ localVarPath := localBasePath + "/dcim/modules/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.platformRequest == nil {
- return localVarReturnValue, nil, reportError("platformRequest is required and must be specified")
+ if r.moduleRequest == nil {
+ return localVarReturnValue, nil, reportError("moduleRequest is required and must be specified")
}
if r.format != nil {
@@ -92108,7 +86962,7 @@ func (a *DcimAPIService) DcimPlatformsCreateExecute(r ApiDcimPlatformsCreateRequ
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.platformRequest
+ localVarPostBody = r.moduleRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -92160,33 +87014,33 @@ func (a *DcimAPIService) DcimPlatformsCreateExecute(r ApiDcimPlatformsCreateRequ
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPlatformsDestroyRequest struct {
+type ApiDcimModulesDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPlatformsDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPlatformsDestroyRequest {
+func (r ApiDcimModulesDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModulesDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimPlatformsDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimPlatformsDestroyExecute(r)
+func (r ApiDcimModulesDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimModulesDestroyExecute(r)
}
/*
-DcimPlatformsDestroy Method for DcimPlatformsDestroy
+DcimModulesDestroy Method for DcimModulesDestroy
-Destroy a platform object.
+Destroy a module object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this platform.
- @return ApiDcimPlatformsDestroyRequest
+ @param id A UUID string identifying this module.
+ @return ApiDcimModulesDestroyRequest
*/
-func (a *DcimAPIService) DcimPlatformsDestroy(ctx context.Context, id string) ApiDcimPlatformsDestroyRequest {
- return ApiDcimPlatformsDestroyRequest{
+func (a *DcimAPIService) DcimModulesDestroy(ctx context.Context, id string) ApiDcimModulesDestroyRequest {
+ return ApiDcimModulesDestroyRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -92194,19 +87048,19 @@ func (a *DcimAPIService) DcimPlatformsDestroy(ctx context.Context, id string) Ap
}
// Execute executes the request
-func (a *DcimAPIService) DcimPlatformsDestroyExecute(r ApiDcimPlatformsDestroyRequest) (*http.Response, error) {
+func (a *DcimAPIService) DcimModulesDestroyExecute(r ApiDcimModulesDestroyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPlatformsDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModulesDestroy")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/platforms/{id}/"
+ localVarPath := localBasePath + "/dcim/modules/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -92275,12 +87129,34 @@ func (a *DcimAPIService) DcimPlatformsDestroyExecute(r ApiDcimPlatformsDestroyRe
return localVarHTTPResponse, nil
}
-type ApiDcimPlatformsListRequest struct {
+type ApiDcimModulesListRequest struct {
ctx context.Context
ApiService *DcimAPIService
+ assetTag *[]string
+ assetTagIc *[]string
+ assetTagIe *[]string
+ assetTagIew *[]string
+ assetTagIre *[]string
+ assetTagIsnull *bool
+ assetTagIsw *[]string
+ assetTagN *[]string
+ assetTagNic *[]string
+ assetTagNie *[]string
+ assetTagNiew *[]string
+ assetTagNire *[]string
+ assetTagNisw *[]string
+ assetTagNre *[]string
+ assetTagRe *[]string
+ compatibleWithModuleBay *string
+ consolePorts *[]string
+ consolePortsIsnull *bool
+ consolePortsN *[]string
+ consoleServerPorts *[]string
+ consoleServerPortsIsnull *bool
+ consoleServerPortsN *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -92288,42 +87164,29 @@ type ApiDcimPlatformsListRequest struct {
createdLt *[]time.Time
createdLte *[]time.Time
createdN *[]time.Time
- description *[]string
- descriptionIc *[]string
- descriptionIe *[]string
- descriptionIew *[]string
- descriptionIre *[]string
- descriptionIsw *[]string
- descriptionN *[]string
- descriptionNic *[]string
- descriptionNie *[]string
- descriptionNiew *[]string
- descriptionNire *[]string
- descriptionNisw *[]string
- descriptionNre *[]string
- descriptionRe *[]string
- devices *[]string
- devicesIsnull *bool
- devicesN *[]string
+ device *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
- hasDevices *bool
- hasVirtualMachines *bool
+ frontPorts *[]string
+ frontPortsIsnull *bool
+ frontPortsN *[]string
+ hasConsolePorts *bool
+ hasConsoleServerPorts *bool
+ hasEmptyModuleBays *bool
+ hasFrontPorts *bool
+ hasInterfaces *bool
+ hasModuleBays *bool
+ hasModules *bool
+ hasPowerOutlets *bool
+ hasPowerPorts *bool
+ hasRearPorts *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
+ interfaces *[]string
+ interfacesIsnull *bool
+ interfacesN *[]string
+ isInstalled *bool
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -92332,1110 +87195,1337 @@ type ApiDcimPlatformsListRequest struct {
lastUpdatedLte *[]time.Time
lastUpdatedN *[]time.Time
limit *int32
+ location *[]string
+ locationIsnull *bool
+ locationN *[]string
+ macAddress *[]string
+ macAddressIc *[]string
+ macAddressIe *[]string
+ macAddressIew *[]string
+ macAddressIre *[]string
+ macAddressIsw *[]string
+ macAddressN *[]string
+ macAddressNic *[]string
+ macAddressNie *[]string
+ macAddressNiew *[]string
+ macAddressNire *[]string
+ macAddressNisw *[]string
+ macAddressNre *[]string
+ macAddressRe *[]string
manufacturer *[]string
- manufacturerIsnull *bool
manufacturerN *[]string
- name *[]string
- nameIc *[]string
- nameIe *[]string
- nameIew *[]string
- nameIre *[]string
- nameIsw *[]string
- nameN *[]string
- nameNic *[]string
- nameNie *[]string
- nameNiew *[]string
- nameNire *[]string
- nameNisw *[]string
- nameNre *[]string
- nameRe *[]string
- napalmArgs *[]string
- napalmDriver *[]string
- napalmDriverIc *[]string
- napalmDriverIe *[]string
- napalmDriverIew *[]string
- napalmDriverIre *[]string
- napalmDriverIsw *[]string
- napalmDriverN *[]string
- napalmDriverNic *[]string
- napalmDriverNie *[]string
- napalmDriverNiew *[]string
- napalmDriverNire *[]string
- napalmDriverNisw *[]string
- napalmDriverNre *[]string
- napalmDriverRe *[]string
- networkDriver *[]string
- networkDriverIc *[]string
- networkDriverIe *[]string
- networkDriverIew *[]string
- networkDriverIre *[]string
- networkDriverIsw *[]string
- networkDriverN *[]string
- networkDriverNic *[]string
- networkDriverNie *[]string
- networkDriverNiew *[]string
- networkDriverNire *[]string
- networkDriverNisw *[]string
- networkDriverNre *[]string
- networkDriverRe *[]string
+ moduleBays *[]string
+ moduleBaysIsnull *bool
+ moduleBaysN *[]string
+ moduleFamily *[]string
+ moduleFamilyIsnull *bool
+ moduleFamilyN *[]string
+ moduleType *[]string
+ moduleTypeN *[]string
offset *int32
+ parentModuleBay *[]string
+ parentModuleBayIsnull *bool
+ parentModuleBayN *[]string
+ powerOutlets *[]string
+ powerOutletsIsnull *bool
+ powerOutletsN *[]string
+ powerPorts *[]string
+ powerPortsIsnull *bool
+ powerPortsN *[]string
q *string
+ rearPorts *[]string
+ rearPortsIsnull *bool
+ rearPortsN *[]string
+ role *[]string
+ roleIsnull *bool
+ roleN *[]string
+ serial *[]string
+ serialIc *[]string
+ serialIe *[]string
+ serialIew *[]string
+ serialIre *[]string
+ serialIsnull *bool
+ serialIsw *[]string
+ serialN *[]string
+ serialNic *[]string
+ serialNie *[]string
+ serialNiew *[]string
+ serialNire *[]string
+ serialNisw *[]string
+ serialNre *[]string
+ serialRe *[]string
sort *string
+ status *[]string
+ statusN *[]string
+ tags *[]string
+ tagsIsnull *bool
+ tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
- virtualMachines *[]string
- virtualMachinesIsnull *bool
- virtualMachinesN *[]string
+ teamsN *[]string
+ tenant *[]string
+ tenantIsnull *bool
+ tenantN *[]string
+ tenantGroup *[]string
+ tenantGroupIsnull *bool
+ tenantGroupN *[]string
+ tenantId *[]*string
+ tenantIdIsnull *bool
+ tenantIdN *[]*string
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimPlatformsListRequest) Contacts(contacts []string) ApiDcimPlatformsListRequest {
- r.contacts = &contacts
+func (r ApiDcimModulesListRequest) AssetTag(assetTag []string) ApiDcimModulesListRequest {
+ r.assetTag = &assetTag
return r
}
-// Contacts (name or ID) is null
-func (r ApiDcimPlatformsListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimPlatformsListRequest {
- r.contactsIsnull = &contactsIsnull
+func (r ApiDcimModulesListRequest) AssetTagIc(assetTagIc []string) ApiDcimModulesListRequest {
+ r.assetTagIc = &assetTagIc
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimPlatformsListRequest) ContactsN(contactsN string) ApiDcimPlatformsListRequest {
- r.contactsN = &contactsN
+func (r ApiDcimModulesListRequest) AssetTagIe(assetTagIe []string) ApiDcimModulesListRequest {
+ r.assetTagIe = &assetTagIe
return r
}
-func (r ApiDcimPlatformsListRequest) Created(created []time.Time) ApiDcimPlatformsListRequest {
- r.created = &created
+func (r ApiDcimModulesListRequest) AssetTagIew(assetTagIew []string) ApiDcimModulesListRequest {
+ r.assetTagIew = &assetTagIew
return r
}
-func (r ApiDcimPlatformsListRequest) CreatedGt(createdGt []time.Time) ApiDcimPlatformsListRequest {
- r.createdGt = &createdGt
+func (r ApiDcimModulesListRequest) AssetTagIre(assetTagIre []string) ApiDcimModulesListRequest {
+ r.assetTagIre = &assetTagIre
return r
}
-func (r ApiDcimPlatformsListRequest) CreatedGte(createdGte []time.Time) ApiDcimPlatformsListRequest {
- r.createdGte = &createdGte
+func (r ApiDcimModulesListRequest) AssetTagIsnull(assetTagIsnull bool) ApiDcimModulesListRequest {
+ r.assetTagIsnull = &assetTagIsnull
return r
}
-func (r ApiDcimPlatformsListRequest) CreatedIsnull(createdIsnull bool) ApiDcimPlatformsListRequest {
- r.createdIsnull = &createdIsnull
+func (r ApiDcimModulesListRequest) AssetTagIsw(assetTagIsw []string) ApiDcimModulesListRequest {
+ r.assetTagIsw = &assetTagIsw
return r
}
-func (r ApiDcimPlatformsListRequest) CreatedLt(createdLt []time.Time) ApiDcimPlatformsListRequest {
- r.createdLt = &createdLt
+func (r ApiDcimModulesListRequest) AssetTagN(assetTagN []string) ApiDcimModulesListRequest {
+ r.assetTagN = &assetTagN
return r
}
-func (r ApiDcimPlatformsListRequest) CreatedLte(createdLte []time.Time) ApiDcimPlatformsListRequest {
- r.createdLte = &createdLte
+func (r ApiDcimModulesListRequest) AssetTagNic(assetTagNic []string) ApiDcimModulesListRequest {
+ r.assetTagNic = &assetTagNic
return r
}
-func (r ApiDcimPlatformsListRequest) CreatedN(createdN []time.Time) ApiDcimPlatformsListRequest {
- r.createdN = &createdN
+func (r ApiDcimModulesListRequest) AssetTagNie(assetTagNie []string) ApiDcimModulesListRequest {
+ r.assetTagNie = &assetTagNie
return r
}
-func (r ApiDcimPlatformsListRequest) Description(description []string) ApiDcimPlatformsListRequest {
- r.description = &description
+func (r ApiDcimModulesListRequest) AssetTagNiew(assetTagNiew []string) ApiDcimModulesListRequest {
+ r.assetTagNiew = &assetTagNiew
return r
}
-func (r ApiDcimPlatformsListRequest) DescriptionIc(descriptionIc []string) ApiDcimPlatformsListRequest {
- r.descriptionIc = &descriptionIc
+func (r ApiDcimModulesListRequest) AssetTagNire(assetTagNire []string) ApiDcimModulesListRequest {
+ r.assetTagNire = &assetTagNire
return r
}
-func (r ApiDcimPlatformsListRequest) DescriptionIe(descriptionIe []string) ApiDcimPlatformsListRequest {
- r.descriptionIe = &descriptionIe
+func (r ApiDcimModulesListRequest) AssetTagNisw(assetTagNisw []string) ApiDcimModulesListRequest {
+ r.assetTagNisw = &assetTagNisw
return r
}
-func (r ApiDcimPlatformsListRequest) DescriptionIew(descriptionIew []string) ApiDcimPlatformsListRequest {
- r.descriptionIew = &descriptionIew
+func (r ApiDcimModulesListRequest) AssetTagNre(assetTagNre []string) ApiDcimModulesListRequest {
+ r.assetTagNre = &assetTagNre
return r
}
-func (r ApiDcimPlatformsListRequest) DescriptionIre(descriptionIre []string) ApiDcimPlatformsListRequest {
- r.descriptionIre = &descriptionIre
+func (r ApiDcimModulesListRequest) AssetTagRe(assetTagRe []string) ApiDcimModulesListRequest {
+ r.assetTagRe = &assetTagRe
return r
}
-func (r ApiDcimPlatformsListRequest) DescriptionIsw(descriptionIsw []string) ApiDcimPlatformsListRequest {
- r.descriptionIsw = &descriptionIsw
+func (r ApiDcimModulesListRequest) CompatibleWithModuleBay(compatibleWithModuleBay string) ApiDcimModulesListRequest {
+ r.compatibleWithModuleBay = &compatibleWithModuleBay
return r
}
-func (r ApiDcimPlatformsListRequest) DescriptionN(descriptionN []string) ApiDcimPlatformsListRequest {
- r.descriptionN = &descriptionN
+func (r ApiDcimModulesListRequest) ConsolePorts(consolePorts []string) ApiDcimModulesListRequest {
+ r.consolePorts = &consolePorts
return r
}
-func (r ApiDcimPlatformsListRequest) DescriptionNic(descriptionNic []string) ApiDcimPlatformsListRequest {
- r.descriptionNic = &descriptionNic
+// Console Ports (name or ID) is null
+func (r ApiDcimModulesListRequest) ConsolePortsIsnull(consolePortsIsnull bool) ApiDcimModulesListRequest {
+ r.consolePortsIsnull = &consolePortsIsnull
return r
}
-func (r ApiDcimPlatformsListRequest) DescriptionNie(descriptionNie []string) ApiDcimPlatformsListRequest {
- r.descriptionNie = &descriptionNie
+func (r ApiDcimModulesListRequest) ConsolePortsN(consolePortsN []string) ApiDcimModulesListRequest {
+ r.consolePortsN = &consolePortsN
return r
}
-func (r ApiDcimPlatformsListRequest) DescriptionNiew(descriptionNiew []string) ApiDcimPlatformsListRequest {
- r.descriptionNiew = &descriptionNiew
+func (r ApiDcimModulesListRequest) ConsoleServerPorts(consoleServerPorts []string) ApiDcimModulesListRequest {
+ r.consoleServerPorts = &consoleServerPorts
return r
}
-func (r ApiDcimPlatformsListRequest) DescriptionNire(descriptionNire []string) ApiDcimPlatformsListRequest {
- r.descriptionNire = &descriptionNire
+// Console Server Ports (name or ID) is null
+func (r ApiDcimModulesListRequest) ConsoleServerPortsIsnull(consoleServerPortsIsnull bool) ApiDcimModulesListRequest {
+ r.consoleServerPortsIsnull = &consoleServerPortsIsnull
return r
}
-func (r ApiDcimPlatformsListRequest) DescriptionNisw(descriptionNisw []string) ApiDcimPlatformsListRequest {
- r.descriptionNisw = &descriptionNisw
+func (r ApiDcimModulesListRequest) ConsoleServerPortsN(consoleServerPortsN []string) ApiDcimModulesListRequest {
+ r.consoleServerPortsN = &consoleServerPortsN
return r
}
-func (r ApiDcimPlatformsListRequest) DescriptionNre(descriptionNre []string) ApiDcimPlatformsListRequest {
- r.descriptionNre = &descriptionNre
+func (r ApiDcimModulesListRequest) Contacts(contacts []string) ApiDcimModulesListRequest {
+ r.contacts = &contacts
return r
}
-func (r ApiDcimPlatformsListRequest) DescriptionRe(descriptionRe []string) ApiDcimPlatformsListRequest {
- r.descriptionRe = &descriptionRe
+// Contacts (name or ID) is null
+func (r ApiDcimModulesListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimModulesListRequest {
+ r.contactsIsnull = &contactsIsnull
return r
}
-func (r ApiDcimPlatformsListRequest) Devices(devices []string) ApiDcimPlatformsListRequest {
- r.devices = &devices
+func (r ApiDcimModulesListRequest) ContactsN(contactsN []string) ApiDcimModulesListRequest {
+ r.contactsN = &contactsN
return r
}
-func (r ApiDcimPlatformsListRequest) DevicesIsnull(devicesIsnull bool) ApiDcimPlatformsListRequest {
- r.devicesIsnull = &devicesIsnull
+func (r ApiDcimModulesListRequest) Created(created []time.Time) ApiDcimModulesListRequest {
+ r.created = &created
return r
}
-func (r ApiDcimPlatformsListRequest) DevicesN(devicesN []string) ApiDcimPlatformsListRequest {
- r.devicesN = &devicesN
+func (r ApiDcimModulesListRequest) CreatedGt(createdGt []time.Time) ApiDcimModulesListRequest {
+ r.createdGt = &createdGt
return r
}
-func (r ApiDcimPlatformsListRequest) DynamicGroups(dynamicGroups []string) ApiDcimPlatformsListRequest {
+func (r ApiDcimModulesListRequest) CreatedGte(createdGte []time.Time) ApiDcimModulesListRequest {
+ r.createdGte = &createdGte
+ return r
+}
+
+func (r ApiDcimModulesListRequest) CreatedIsnull(createdIsnull bool) ApiDcimModulesListRequest {
+ r.createdIsnull = &createdIsnull
+ return r
+}
+
+func (r ApiDcimModulesListRequest) CreatedLt(createdLt []time.Time) ApiDcimModulesListRequest {
+ r.createdLt = &createdLt
+ return r
+}
+
+func (r ApiDcimModulesListRequest) CreatedLte(createdLte []time.Time) ApiDcimModulesListRequest {
+ r.createdLte = &createdLte
+ return r
+}
+
+func (r ApiDcimModulesListRequest) CreatedN(createdN []time.Time) ApiDcimModulesListRequest {
+ r.createdN = &createdN
+ return r
+}
+
+func (r ApiDcimModulesListRequest) Device(device []string) ApiDcimModulesListRequest {
+ r.device = &device
+ return r
+}
+
+func (r ApiDcimModulesListRequest) DynamicGroups(dynamicGroups []string) ApiDcimModulesListRequest {
r.dynamicGroups = &dynamicGroups
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimPlatformsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimPlatformsListRequest {
+func (r ApiDcimModulesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimModulesListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
-func (r ApiDcimPlatformsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPlatformsListRequest {
+func (r ApiDcimModulesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModulesListRequest {
r.format = &format
return r
}
-// Has devices
-func (r ApiDcimPlatformsListRequest) HasDevices(hasDevices bool) ApiDcimPlatformsListRequest {
- r.hasDevices = &hasDevices
+func (r ApiDcimModulesListRequest) FrontPorts(frontPorts []string) ApiDcimModulesListRequest {
+ r.frontPorts = &frontPorts
return r
}
-// Has virtual machines
-func (r ApiDcimPlatformsListRequest) HasVirtualMachines(hasVirtualMachines bool) ApiDcimPlatformsListRequest {
- r.hasVirtualMachines = &hasVirtualMachines
+// Front Ports (name or ID) is null
+func (r ApiDcimModulesListRequest) FrontPortsIsnull(frontPortsIsnull bool) ApiDcimModulesListRequest {
+ r.frontPortsIsnull = &frontPortsIsnull
return r
}
-// Unique object identifier, either a UUID primary key or a composite key.
-func (r ApiDcimPlatformsListRequest) Id(id []string) ApiDcimPlatformsListRequest {
- r.id = &id
+func (r ApiDcimModulesListRequest) FrontPortsN(frontPortsN []string) ApiDcimModulesListRequest {
+ r.frontPortsN = &frontPortsN
+ return r
+}
+
+// Has console ports
+func (r ApiDcimModulesListRequest) HasConsolePorts(hasConsolePorts bool) ApiDcimModulesListRequest {
+ r.hasConsolePorts = &hasConsolePorts
+ return r
+}
+
+// Has console server ports
+func (r ApiDcimModulesListRequest) HasConsoleServerPorts(hasConsoleServerPorts bool) ApiDcimModulesListRequest {
+ r.hasConsoleServerPorts = &hasConsoleServerPorts
return r
}
-func (r ApiDcimPlatformsListRequest) IdIc(idIc []string) ApiDcimPlatformsListRequest {
- r.idIc = &idIc
+// Has empty module bays
+func (r ApiDcimModulesListRequest) HasEmptyModuleBays(hasEmptyModuleBays bool) ApiDcimModulesListRequest {
+ r.hasEmptyModuleBays = &hasEmptyModuleBays
return r
}
-func (r ApiDcimPlatformsListRequest) IdIe(idIe []string) ApiDcimPlatformsListRequest {
- r.idIe = &idIe
+// Has front ports
+func (r ApiDcimModulesListRequest) HasFrontPorts(hasFrontPorts bool) ApiDcimModulesListRequest {
+ r.hasFrontPorts = &hasFrontPorts
return r
}
-func (r ApiDcimPlatformsListRequest) IdIew(idIew []string) ApiDcimPlatformsListRequest {
- r.idIew = &idIew
+// Has interfaces
+func (r ApiDcimModulesListRequest) HasInterfaces(hasInterfaces bool) ApiDcimModulesListRequest {
+ r.hasInterfaces = &hasInterfaces
return r
}
-func (r ApiDcimPlatformsListRequest) IdIre(idIre []string) ApiDcimPlatformsListRequest {
- r.idIre = &idIre
+// Has module bays
+func (r ApiDcimModulesListRequest) HasModuleBays(hasModuleBays bool) ApiDcimModulesListRequest {
+ r.hasModuleBays = &hasModuleBays
return r
}
-func (r ApiDcimPlatformsListRequest) IdIsw(idIsw []string) ApiDcimPlatformsListRequest {
- r.idIsw = &idIsw
+// Has modules
+func (r ApiDcimModulesListRequest) HasModules(hasModules bool) ApiDcimModulesListRequest {
+ r.hasModules = &hasModules
return r
}
-func (r ApiDcimPlatformsListRequest) IdN(idN []string) ApiDcimPlatformsListRequest {
- r.idN = &idN
+// Has power outlets
+func (r ApiDcimModulesListRequest) HasPowerOutlets(hasPowerOutlets bool) ApiDcimModulesListRequest {
+ r.hasPowerOutlets = &hasPowerOutlets
+ return r
+}
+
+// Has power ports
+func (r ApiDcimModulesListRequest) HasPowerPorts(hasPowerPorts bool) ApiDcimModulesListRequest {
+ r.hasPowerPorts = &hasPowerPorts
return r
}
-func (r ApiDcimPlatformsListRequest) IdNic(idNic []string) ApiDcimPlatformsListRequest {
- r.idNic = &idNic
+// Has rear ports
+func (r ApiDcimModulesListRequest) HasRearPorts(hasRearPorts bool) ApiDcimModulesListRequest {
+ r.hasRearPorts = &hasRearPorts
return r
}
-func (r ApiDcimPlatformsListRequest) IdNie(idNie []string) ApiDcimPlatformsListRequest {
- r.idNie = &idNie
+// Unique object identifier, either a UUID primary key or a composite key.
+func (r ApiDcimModulesListRequest) Id(id []string) ApiDcimModulesListRequest {
+ r.id = &id
return r
}
-func (r ApiDcimPlatformsListRequest) IdNiew(idNiew []string) ApiDcimPlatformsListRequest {
- r.idNiew = &idNiew
+func (r ApiDcimModulesListRequest) IdN(idN []string) ApiDcimModulesListRequest {
+ r.idN = &idN
return r
}
-func (r ApiDcimPlatformsListRequest) IdNire(idNire []string) ApiDcimPlatformsListRequest {
- r.idNire = &idNire
+func (r ApiDcimModulesListRequest) Interfaces(interfaces []string) ApiDcimModulesListRequest {
+ r.interfaces = &interfaces
return r
}
-func (r ApiDcimPlatformsListRequest) IdNisw(idNisw []string) ApiDcimPlatformsListRequest {
- r.idNisw = &idNisw
+// Interfaces (name or ID) is null
+func (r ApiDcimModulesListRequest) InterfacesIsnull(interfacesIsnull bool) ApiDcimModulesListRequest {
+ r.interfacesIsnull = &interfacesIsnull
return r
}
-func (r ApiDcimPlatformsListRequest) IdNre(idNre []string) ApiDcimPlatformsListRequest {
- r.idNre = &idNre
+func (r ApiDcimModulesListRequest) InterfacesN(interfacesN []string) ApiDcimModulesListRequest {
+ r.interfacesN = &interfacesN
return r
}
-func (r ApiDcimPlatformsListRequest) IdRe(idRe []string) ApiDcimPlatformsListRequest {
- r.idRe = &idRe
+// Is installed in a module bay
+func (r ApiDcimModulesListRequest) IsInstalled(isInstalled bool) ApiDcimModulesListRequest {
+ r.isInstalled = &isInstalled
return r
}
-func (r ApiDcimPlatformsListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimPlatformsListRequest {
+func (r ApiDcimModulesListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimModulesListRequest {
r.lastUpdated = &lastUpdated
return r
}
-func (r ApiDcimPlatformsListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiDcimPlatformsListRequest {
+func (r ApiDcimModulesListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiDcimModulesListRequest {
r.lastUpdatedGt = &lastUpdatedGt
return r
}
-func (r ApiDcimPlatformsListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiDcimPlatformsListRequest {
+func (r ApiDcimModulesListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiDcimModulesListRequest {
r.lastUpdatedGte = &lastUpdatedGte
return r
}
-func (r ApiDcimPlatformsListRequest) LastUpdatedIsnull(lastUpdatedIsnull bool) ApiDcimPlatformsListRequest {
+func (r ApiDcimModulesListRequest) LastUpdatedIsnull(lastUpdatedIsnull bool) ApiDcimModulesListRequest {
r.lastUpdatedIsnull = &lastUpdatedIsnull
return r
}
-func (r ApiDcimPlatformsListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiDcimPlatformsListRequest {
+func (r ApiDcimModulesListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiDcimModulesListRequest {
r.lastUpdatedLt = &lastUpdatedLt
return r
}
-func (r ApiDcimPlatformsListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiDcimPlatformsListRequest {
+func (r ApiDcimModulesListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiDcimModulesListRequest {
r.lastUpdatedLte = &lastUpdatedLte
return r
}
-func (r ApiDcimPlatformsListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiDcimPlatformsListRequest {
+func (r ApiDcimModulesListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiDcimModulesListRequest {
r.lastUpdatedN = &lastUpdatedN
return r
}
// Number of results to return per page.
-func (r ApiDcimPlatformsListRequest) Limit(limit int32) ApiDcimPlatformsListRequest {
+func (r ApiDcimModulesListRequest) Limit(limit int32) ApiDcimModulesListRequest {
r.limit = &limit
return r
}
-func (r ApiDcimPlatformsListRequest) Manufacturer(manufacturer []string) ApiDcimPlatformsListRequest {
- r.manufacturer = &manufacturer
+func (r ApiDcimModulesListRequest) Location(location []string) ApiDcimModulesListRequest {
+ r.location = &location
return r
}
-// Manufacturer (name or ID) is null
-func (r ApiDcimPlatformsListRequest) ManufacturerIsnull(manufacturerIsnull bool) ApiDcimPlatformsListRequest {
- r.manufacturerIsnull = &manufacturerIsnull
+// Location (name or ID) is null
+func (r ApiDcimModulesListRequest) LocationIsnull(locationIsnull bool) ApiDcimModulesListRequest {
+ r.locationIsnull = &locationIsnull
return r
}
-func (r ApiDcimPlatformsListRequest) ManufacturerN(manufacturerN []string) ApiDcimPlatformsListRequest {
- r.manufacturerN = &manufacturerN
+func (r ApiDcimModulesListRequest) LocationN(locationN []string) ApiDcimModulesListRequest {
+ r.locationN = &locationN
return r
}
-func (r ApiDcimPlatformsListRequest) Name(name []string) ApiDcimPlatformsListRequest {
- r.name = &name
+// MAC address
+func (r ApiDcimModulesListRequest) MacAddress(macAddress []string) ApiDcimModulesListRequest {
+ r.macAddress = &macAddress
return r
}
-func (r ApiDcimPlatformsListRequest) NameIc(nameIc []string) ApiDcimPlatformsListRequest {
- r.nameIc = &nameIc
+// MAC address contains
+func (r ApiDcimModulesListRequest) MacAddressIc(macAddressIc []string) ApiDcimModulesListRequest {
+ r.macAddressIc = &macAddressIc
return r
}
-func (r ApiDcimPlatformsListRequest) NameIe(nameIe []string) ApiDcimPlatformsListRequest {
- r.nameIe = &nameIe
+// MAC address
+func (r ApiDcimModulesListRequest) MacAddressIe(macAddressIe []string) ApiDcimModulesListRequest {
+ r.macAddressIe = &macAddressIe
return r
}
-func (r ApiDcimPlatformsListRequest) NameIew(nameIew []string) ApiDcimPlatformsListRequest {
- r.nameIew = &nameIew
+// MAC address ends with
+func (r ApiDcimModulesListRequest) MacAddressIew(macAddressIew []string) ApiDcimModulesListRequest {
+ r.macAddressIew = &macAddressIew
return r
}
-func (r ApiDcimPlatformsListRequest) NameIre(nameIre []string) ApiDcimPlatformsListRequest {
- r.nameIre = &nameIre
+// MAC address matches regex
+func (r ApiDcimModulesListRequest) MacAddressIre(macAddressIre []string) ApiDcimModulesListRequest {
+ r.macAddressIre = &macAddressIre
return r
}
-func (r ApiDcimPlatformsListRequest) NameIsw(nameIsw []string) ApiDcimPlatformsListRequest {
- r.nameIsw = &nameIsw
+// MAC address starts with
+func (r ApiDcimModulesListRequest) MacAddressIsw(macAddressIsw []string) ApiDcimModulesListRequest {
+ r.macAddressIsw = &macAddressIsw
return r
}
-func (r ApiDcimPlatformsListRequest) NameN(nameN []string) ApiDcimPlatformsListRequest {
- r.nameN = &nameN
+// Exclude MAC address
+func (r ApiDcimModulesListRequest) MacAddressN(macAddressN []string) ApiDcimModulesListRequest {
+ r.macAddressN = &macAddressN
return r
}
-func (r ApiDcimPlatformsListRequest) NameNic(nameNic []string) ApiDcimPlatformsListRequest {
- r.nameNic = &nameNic
+// Exclude MAC address contains
+func (r ApiDcimModulesListRequest) MacAddressNic(macAddressNic []string) ApiDcimModulesListRequest {
+ r.macAddressNic = &macAddressNic
return r
}
-func (r ApiDcimPlatformsListRequest) NameNie(nameNie []string) ApiDcimPlatformsListRequest {
- r.nameNie = &nameNie
+// Exclude MAC address
+func (r ApiDcimModulesListRequest) MacAddressNie(macAddressNie []string) ApiDcimModulesListRequest {
+ r.macAddressNie = &macAddressNie
return r
}
-func (r ApiDcimPlatformsListRequest) NameNiew(nameNiew []string) ApiDcimPlatformsListRequest {
- r.nameNiew = &nameNiew
+// Exclude MAC address ends with
+func (r ApiDcimModulesListRequest) MacAddressNiew(macAddressNiew []string) ApiDcimModulesListRequest {
+ r.macAddressNiew = &macAddressNiew
return r
}
-func (r ApiDcimPlatformsListRequest) NameNire(nameNire []string) ApiDcimPlatformsListRequest {
- r.nameNire = &nameNire
+// Exclude MAC address matches regex
+func (r ApiDcimModulesListRequest) MacAddressNire(macAddressNire []string) ApiDcimModulesListRequest {
+ r.macAddressNire = &macAddressNire
return r
}
-func (r ApiDcimPlatformsListRequest) NameNisw(nameNisw []string) ApiDcimPlatformsListRequest {
- r.nameNisw = &nameNisw
+// Exclude MAC address starts with
+func (r ApiDcimModulesListRequest) MacAddressNisw(macAddressNisw []string) ApiDcimModulesListRequest {
+ r.macAddressNisw = &macAddressNisw
return r
}
-func (r ApiDcimPlatformsListRequest) NameNre(nameNre []string) ApiDcimPlatformsListRequest {
- r.nameNre = &nameNre
+// Exclude MAC address matches regex
+func (r ApiDcimModulesListRequest) MacAddressNre(macAddressNre []string) ApiDcimModulesListRequest {
+ r.macAddressNre = &macAddressNre
return r
}
-func (r ApiDcimPlatformsListRequest) NameRe(nameRe []string) ApiDcimPlatformsListRequest {
- r.nameRe = &nameRe
+// MAC address matches regex
+func (r ApiDcimModulesListRequest) MacAddressRe(macAddressRe []string) ApiDcimModulesListRequest {
+ r.macAddressRe = &macAddressRe
return r
}
-func (r ApiDcimPlatformsListRequest) NapalmArgs(napalmArgs []string) ApiDcimPlatformsListRequest {
- r.napalmArgs = &napalmArgs
+func (r ApiDcimModulesListRequest) Manufacturer(manufacturer []string) ApiDcimModulesListRequest {
+ r.manufacturer = &manufacturer
return r
}
-func (r ApiDcimPlatformsListRequest) NapalmDriver(napalmDriver []string) ApiDcimPlatformsListRequest {
- r.napalmDriver = &napalmDriver
+func (r ApiDcimModulesListRequest) ManufacturerN(manufacturerN []string) ApiDcimModulesListRequest {
+ r.manufacturerN = &manufacturerN
return r
}
-func (r ApiDcimPlatformsListRequest) NapalmDriverIc(napalmDriverIc []string) ApiDcimPlatformsListRequest {
- r.napalmDriverIc = &napalmDriverIc
+// Module Bays
+func (r ApiDcimModulesListRequest) ModuleBays(moduleBays []string) ApiDcimModulesListRequest {
+ r.moduleBays = &moduleBays
return r
}
-func (r ApiDcimPlatformsListRequest) NapalmDriverIe(napalmDriverIe []string) ApiDcimPlatformsListRequest {
- r.napalmDriverIe = &napalmDriverIe
+// Module Bays is null
+func (r ApiDcimModulesListRequest) ModuleBaysIsnull(moduleBaysIsnull bool) ApiDcimModulesListRequest {
+ r.moduleBaysIsnull = &moduleBaysIsnull
return r
}
-func (r ApiDcimPlatformsListRequest) NapalmDriverIew(napalmDriverIew []string) ApiDcimPlatformsListRequest {
- r.napalmDriverIew = &napalmDriverIew
+// Exclude Module Bays
+func (r ApiDcimModulesListRequest) ModuleBaysN(moduleBaysN []string) ApiDcimModulesListRequest {
+ r.moduleBaysN = &moduleBaysN
return r
}
-func (r ApiDcimPlatformsListRequest) NapalmDriverIre(napalmDriverIre []string) ApiDcimPlatformsListRequest {
- r.napalmDriverIre = &napalmDriverIre
+func (r ApiDcimModulesListRequest) ModuleFamily(moduleFamily []string) ApiDcimModulesListRequest {
+ r.moduleFamily = &moduleFamily
return r
}
-func (r ApiDcimPlatformsListRequest) NapalmDriverIsw(napalmDriverIsw []string) ApiDcimPlatformsListRequest {
- r.napalmDriverIsw = &napalmDriverIsw
+// Module family (name or ID) is null
+func (r ApiDcimModulesListRequest) ModuleFamilyIsnull(moduleFamilyIsnull bool) ApiDcimModulesListRequest {
+ r.moduleFamilyIsnull = &moduleFamilyIsnull
return r
}
-func (r ApiDcimPlatformsListRequest) NapalmDriverN(napalmDriverN []string) ApiDcimPlatformsListRequest {
- r.napalmDriverN = &napalmDriverN
+func (r ApiDcimModulesListRequest) ModuleFamilyN(moduleFamilyN []string) ApiDcimModulesListRequest {
+ r.moduleFamilyN = &moduleFamilyN
return r
}
-func (r ApiDcimPlatformsListRequest) NapalmDriverNic(napalmDriverNic []string) ApiDcimPlatformsListRequest {
- r.napalmDriverNic = &napalmDriverNic
+func (r ApiDcimModulesListRequest) ModuleType(moduleType []string) ApiDcimModulesListRequest {
+ r.moduleType = &moduleType
return r
}
-func (r ApiDcimPlatformsListRequest) NapalmDriverNie(napalmDriverNie []string) ApiDcimPlatformsListRequest {
- r.napalmDriverNie = &napalmDriverNie
+func (r ApiDcimModulesListRequest) ModuleTypeN(moduleTypeN []string) ApiDcimModulesListRequest {
+ r.moduleTypeN = &moduleTypeN
return r
}
-func (r ApiDcimPlatformsListRequest) NapalmDriverNiew(napalmDriverNiew []string) ApiDcimPlatformsListRequest {
- r.napalmDriverNiew = &napalmDriverNiew
+// The initial index from which to return the results.
+func (r ApiDcimModulesListRequest) Offset(offset int32) ApiDcimModulesListRequest {
+ r.offset = &offset
return r
}
-func (r ApiDcimPlatformsListRequest) NapalmDriverNire(napalmDriverNire []string) ApiDcimPlatformsListRequest {
- r.napalmDriverNire = &napalmDriverNire
+// Parent Module Bay
+func (r ApiDcimModulesListRequest) ParentModuleBay(parentModuleBay []string) ApiDcimModulesListRequest {
+ r.parentModuleBay = &parentModuleBay
return r
}
-func (r ApiDcimPlatformsListRequest) NapalmDriverNisw(napalmDriverNisw []string) ApiDcimPlatformsListRequest {
- r.napalmDriverNisw = &napalmDriverNisw
+// Parent Module Bay is null
+func (r ApiDcimModulesListRequest) ParentModuleBayIsnull(parentModuleBayIsnull bool) ApiDcimModulesListRequest {
+ r.parentModuleBayIsnull = &parentModuleBayIsnull
return r
}
-func (r ApiDcimPlatformsListRequest) NapalmDriverNre(napalmDriverNre []string) ApiDcimPlatformsListRequest {
- r.napalmDriverNre = &napalmDriverNre
+// Exclude Parent Module Bay
+func (r ApiDcimModulesListRequest) ParentModuleBayN(parentModuleBayN []string) ApiDcimModulesListRequest {
+ r.parentModuleBayN = &parentModuleBayN
return r
}
-func (r ApiDcimPlatformsListRequest) NapalmDriverRe(napalmDriverRe []string) ApiDcimPlatformsListRequest {
- r.napalmDriverRe = &napalmDriverRe
+func (r ApiDcimModulesListRequest) PowerOutlets(powerOutlets []string) ApiDcimModulesListRequest {
+ r.powerOutlets = &powerOutlets
return r
}
-func (r ApiDcimPlatformsListRequest) NetworkDriver(networkDriver []string) ApiDcimPlatformsListRequest {
- r.networkDriver = &networkDriver
+// Power Outlets (name or ID) is null
+func (r ApiDcimModulesListRequest) PowerOutletsIsnull(powerOutletsIsnull bool) ApiDcimModulesListRequest {
+ r.powerOutletsIsnull = &powerOutletsIsnull
return r
}
-func (r ApiDcimPlatformsListRequest) NetworkDriverIc(networkDriverIc []string) ApiDcimPlatformsListRequest {
- r.networkDriverIc = &networkDriverIc
+func (r ApiDcimModulesListRequest) PowerOutletsN(powerOutletsN []string) ApiDcimModulesListRequest {
+ r.powerOutletsN = &powerOutletsN
return r
}
-func (r ApiDcimPlatformsListRequest) NetworkDriverIe(networkDriverIe []string) ApiDcimPlatformsListRequest {
- r.networkDriverIe = &networkDriverIe
+func (r ApiDcimModulesListRequest) PowerPorts(powerPorts []string) ApiDcimModulesListRequest {
+ r.powerPorts = &powerPorts
return r
}
-func (r ApiDcimPlatformsListRequest) NetworkDriverIew(networkDriverIew []string) ApiDcimPlatformsListRequest {
- r.networkDriverIew = &networkDriverIew
+// Power Ports (name or ID) is null
+func (r ApiDcimModulesListRequest) PowerPortsIsnull(powerPortsIsnull bool) ApiDcimModulesListRequest {
+ r.powerPortsIsnull = &powerPortsIsnull
return r
}
-func (r ApiDcimPlatformsListRequest) NetworkDriverIre(networkDriverIre []string) ApiDcimPlatformsListRequest {
- r.networkDriverIre = &networkDriverIre
+func (r ApiDcimModulesListRequest) PowerPortsN(powerPortsN []string) ApiDcimModulesListRequest {
+ r.powerPortsN = &powerPortsN
return r
}
-func (r ApiDcimPlatformsListRequest) NetworkDriverIsw(networkDriverIsw []string) ApiDcimPlatformsListRequest {
- r.networkDriverIsw = &networkDriverIsw
+// Search
+func (r ApiDcimModulesListRequest) Q(q string) ApiDcimModulesListRequest {
+ r.q = &q
return r
}
-func (r ApiDcimPlatformsListRequest) NetworkDriverN(networkDriverN []string) ApiDcimPlatformsListRequest {
- r.networkDriverN = &networkDriverN
+func (r ApiDcimModulesListRequest) RearPorts(rearPorts []string) ApiDcimModulesListRequest {
+ r.rearPorts = &rearPorts
return r
}
-func (r ApiDcimPlatformsListRequest) NetworkDriverNic(networkDriverNic []string) ApiDcimPlatformsListRequest {
- r.networkDriverNic = &networkDriverNic
+// Rear Ports (name or ID) is null
+func (r ApiDcimModulesListRequest) RearPortsIsnull(rearPortsIsnull bool) ApiDcimModulesListRequest {
+ r.rearPortsIsnull = &rearPortsIsnull
return r
}
-func (r ApiDcimPlatformsListRequest) NetworkDriverNie(networkDriverNie []string) ApiDcimPlatformsListRequest {
- r.networkDriverNie = &networkDriverNie
+func (r ApiDcimModulesListRequest) RearPortsN(rearPortsN []string) ApiDcimModulesListRequest {
+ r.rearPortsN = &rearPortsN
return r
}
-func (r ApiDcimPlatformsListRequest) NetworkDriverNiew(networkDriverNiew []string) ApiDcimPlatformsListRequest {
- r.networkDriverNiew = &networkDriverNiew
+func (r ApiDcimModulesListRequest) Role(role []string) ApiDcimModulesListRequest {
+ r.role = &role
return r
}
-func (r ApiDcimPlatformsListRequest) NetworkDriverNire(networkDriverNire []string) ApiDcimPlatformsListRequest {
- r.networkDriverNire = &networkDriverNire
+// Role (name or ID) is null
+func (r ApiDcimModulesListRequest) RoleIsnull(roleIsnull bool) ApiDcimModulesListRequest {
+ r.roleIsnull = &roleIsnull
return r
}
-func (r ApiDcimPlatformsListRequest) NetworkDriverNisw(networkDriverNisw []string) ApiDcimPlatformsListRequest {
- r.networkDriverNisw = &networkDriverNisw
+func (r ApiDcimModulesListRequest) RoleN(roleN []string) ApiDcimModulesListRequest {
+ r.roleN = &roleN
return r
}
-func (r ApiDcimPlatformsListRequest) NetworkDriverNre(networkDriverNre []string) ApiDcimPlatformsListRequest {
- r.networkDriverNre = &networkDriverNre
+func (r ApiDcimModulesListRequest) Serial(serial []string) ApiDcimModulesListRequest {
+ r.serial = &serial
return r
}
-func (r ApiDcimPlatformsListRequest) NetworkDriverRe(networkDriverRe []string) ApiDcimPlatformsListRequest {
- r.networkDriverRe = &networkDriverRe
+func (r ApiDcimModulesListRequest) SerialIc(serialIc []string) ApiDcimModulesListRequest {
+ r.serialIc = &serialIc
return r
}
-// The initial index from which to return the results.
-func (r ApiDcimPlatformsListRequest) Offset(offset int32) ApiDcimPlatformsListRequest {
- r.offset = &offset
+func (r ApiDcimModulesListRequest) SerialIe(serialIe []string) ApiDcimModulesListRequest {
+ r.serialIe = &serialIe
return r
}
-// Search
-func (r ApiDcimPlatformsListRequest) Q(q string) ApiDcimPlatformsListRequest {
- r.q = &q
+func (r ApiDcimModulesListRequest) SerialIew(serialIew []string) ApiDcimModulesListRequest {
+ r.serialIew = &serialIew
+ return r
+}
+
+func (r ApiDcimModulesListRequest) SerialIre(serialIre []string) ApiDcimModulesListRequest {
+ r.serialIre = &serialIre
+ return r
+}
+
+func (r ApiDcimModulesListRequest) SerialIsnull(serialIsnull bool) ApiDcimModulesListRequest {
+ r.serialIsnull = &serialIsnull
+ return r
+}
+
+func (r ApiDcimModulesListRequest) SerialIsw(serialIsw []string) ApiDcimModulesListRequest {
+ r.serialIsw = &serialIsw
+ return r
+}
+
+func (r ApiDcimModulesListRequest) SerialN(serialN []string) ApiDcimModulesListRequest {
+ r.serialN = &serialN
+ return r
+}
+
+func (r ApiDcimModulesListRequest) SerialNic(serialNic []string) ApiDcimModulesListRequest {
+ r.serialNic = &serialNic
+ return r
+}
+
+func (r ApiDcimModulesListRequest) SerialNie(serialNie []string) ApiDcimModulesListRequest {
+ r.serialNie = &serialNie
+ return r
+}
+
+func (r ApiDcimModulesListRequest) SerialNiew(serialNiew []string) ApiDcimModulesListRequest {
+ r.serialNiew = &serialNiew
+ return r
+}
+
+func (r ApiDcimModulesListRequest) SerialNire(serialNire []string) ApiDcimModulesListRequest {
+ r.serialNire = &serialNire
+ return r
+}
+
+func (r ApiDcimModulesListRequest) SerialNisw(serialNisw []string) ApiDcimModulesListRequest {
+ r.serialNisw = &serialNisw
+ return r
+}
+
+func (r ApiDcimModulesListRequest) SerialNre(serialNre []string) ApiDcimModulesListRequest {
+ r.serialNre = &serialNre
+ return r
+}
+
+func (r ApiDcimModulesListRequest) SerialRe(serialRe []string) ApiDcimModulesListRequest {
+ r.serialRe = &serialRe
return r
}
// Which field to use when ordering the results.
-func (r ApiDcimPlatformsListRequest) Sort(sort string) ApiDcimPlatformsListRequest {
+func (r ApiDcimModulesListRequest) Sort(sort string) ApiDcimModulesListRequest {
r.sort = &sort
return r
}
-func (r ApiDcimPlatformsListRequest) Teams(teams []string) ApiDcimPlatformsListRequest {
+func (r ApiDcimModulesListRequest) Status(status []string) ApiDcimModulesListRequest {
+ r.status = &status
+ return r
+}
+
+func (r ApiDcimModulesListRequest) StatusN(statusN []string) ApiDcimModulesListRequest {
+ r.statusN = &statusN
+ return r
+}
+
+func (r ApiDcimModulesListRequest) Tags(tags []string) ApiDcimModulesListRequest {
+ r.tags = &tags
+ return r
+}
+
+func (r ApiDcimModulesListRequest) TagsIsnull(tagsIsnull bool) ApiDcimModulesListRequest {
+ r.tagsIsnull = &tagsIsnull
+ return r
+}
+
+func (r ApiDcimModulesListRequest) TagsN(tagsN []string) ApiDcimModulesListRequest {
+ r.tagsN = &tagsN
+ return r
+}
+
+func (r ApiDcimModulesListRequest) Teams(teams []string) ApiDcimModulesListRequest {
r.teams = &teams
return r
}
// Teams (name or ID) is null
-func (r ApiDcimPlatformsListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimPlatformsListRequest {
+func (r ApiDcimModulesListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimModulesListRequest {
r.teamsIsnull = &teamsIsnull
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimPlatformsListRequest) TeamsN(teamsN string) ApiDcimPlatformsListRequest {
+func (r ApiDcimModulesListRequest) TeamsN(teamsN []string) ApiDcimModulesListRequest {
r.teamsN = &teamsN
return r
}
-func (r ApiDcimPlatformsListRequest) VirtualMachines(virtualMachines []string) ApiDcimPlatformsListRequest {
- r.virtualMachines = &virtualMachines
+func (r ApiDcimModulesListRequest) Tenant(tenant []string) ApiDcimModulesListRequest {
+ r.tenant = &tenant
return r
}
-func (r ApiDcimPlatformsListRequest) VirtualMachinesIsnull(virtualMachinesIsnull bool) ApiDcimPlatformsListRequest {
- r.virtualMachinesIsnull = &virtualMachinesIsnull
+// Tenant (name or ID) is null
+func (r ApiDcimModulesListRequest) TenantIsnull(tenantIsnull bool) ApiDcimModulesListRequest {
+ r.tenantIsnull = &tenantIsnull
return r
}
-func (r ApiDcimPlatformsListRequest) VirtualMachinesN(virtualMachinesN []string) ApiDcimPlatformsListRequest {
- r.virtualMachinesN = &virtualMachinesN
+func (r ApiDcimModulesListRequest) TenantN(tenantN []string) ApiDcimModulesListRequest {
+ r.tenantN = &tenantN
+ return r
+}
+
+func (r ApiDcimModulesListRequest) TenantGroup(tenantGroup []string) ApiDcimModulesListRequest {
+ r.tenantGroup = &tenantGroup
+ return r
+}
+
+// Tenant Group (name or ID) is null
+func (r ApiDcimModulesListRequest) TenantGroupIsnull(tenantGroupIsnull bool) ApiDcimModulesListRequest {
+ r.tenantGroupIsnull = &tenantGroupIsnull
+ return r
+}
+
+func (r ApiDcimModulesListRequest) TenantGroupN(tenantGroupN []string) ApiDcimModulesListRequest {
+ r.tenantGroupN = &tenantGroupN
+ return r
+}
+
+// Tenant (ID) (deprecated, use \"tenant\" filter instead)
+func (r ApiDcimModulesListRequest) TenantId(tenantId []*string) ApiDcimModulesListRequest {
+ r.tenantId = &tenantId
+ return r
+}
+
+// Tenant (ID) (deprecated, use \"tenant\" filter instead) is null
+func (r ApiDcimModulesListRequest) TenantIdIsnull(tenantIdIsnull bool) ApiDcimModulesListRequest {
+ r.tenantIdIsnull = &tenantIdIsnull
+ return r
+}
+
+// Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead)
+func (r ApiDcimModulesListRequest) TenantIdN(tenantIdN []*string) ApiDcimModulesListRequest {
+ r.tenantIdN = &tenantIdN
return r
}
// Serializer Depth
-func (r ApiDcimPlatformsListRequest) Depth(depth int32) ApiDcimPlatformsListRequest {
+func (r ApiDcimModulesListRequest) Depth(depth int32) ApiDcimModulesListRequest {
r.depth = &depth
return r
}
-func (r ApiDcimPlatformsListRequest) Execute() (*PaginatedPlatformList, *http.Response, error) {
- return r.ApiService.DcimPlatformsListExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimModulesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimModulesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimModulesListRequest) Execute() (*PaginatedModuleList, *http.Response, error) {
+ return r.ApiService.DcimModulesListExecute(r)
}
/*
-DcimPlatformsList Method for DcimPlatformsList
+DcimModulesList Method for DcimModulesList
-Retrieve a list of platform objects.
+Retrieve a list of module objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPlatformsListRequest
+ @return ApiDcimModulesListRequest
*/
-func (a *DcimAPIService) DcimPlatformsList(ctx context.Context) ApiDcimPlatformsListRequest {
- return ApiDcimPlatformsListRequest{
+func (a *DcimAPIService) DcimModulesList(ctx context.Context) ApiDcimModulesListRequest {
+ return ApiDcimModulesListRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return PaginatedPlatformList
-func (a *DcimAPIService) DcimPlatformsListExecute(r ApiDcimPlatformsListRequest) (*PaginatedPlatformList, *http.Response, error) {
+// @return PaginatedModuleList
+func (a *DcimAPIService) DcimModulesListExecute(r ApiDcimModulesListRequest) (*PaginatedModuleList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PaginatedPlatformList
+ localVarReturnValue *PaginatedModuleList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPlatformsList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModulesList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/platforms/"
+ localVarPath := localBasePath + "/dcim/modules/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.contacts != nil {
- t := *r.contacts
+ if r.assetTag != nil {
+ t := *r.assetTag
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag", t, "form", "multi")
}
}
- if r.contactsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
- }
- if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
- }
- if r.created != nil {
- t := *r.created
+ if r.assetTagIc != nil {
+ t := *r.assetTagIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__ic", t, "form", "multi")
}
}
- if r.createdGt != nil {
- t := *r.createdGt
+ if r.assetTagIe != nil {
+ t := *r.assetTagIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__ie", t, "form", "multi")
}
}
- if r.createdGte != nil {
- t := *r.createdGte
+ if r.assetTagIew != nil {
+ t := *r.assetTagIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__iew", t, "form", "multi")
}
}
- if r.createdIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__isnull", r.createdIsnull, "form", "")
- }
- if r.createdLt != nil {
- t := *r.createdLt
+ if r.assetTagIre != nil {
+ t := *r.assetTagIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__ire", t, "form", "multi")
}
}
- if r.createdLte != nil {
- t := *r.createdLte
+ if r.assetTagIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__isnull", r.assetTagIsnull, "form", "")
+ }
+ if r.assetTagIsw != nil {
+ t := *r.assetTagIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__isw", t, "form", "multi")
}
}
- if r.createdN != nil {
- t := *r.createdN
+ if r.assetTagN != nil {
+ t := *r.assetTagN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__n", t, "form", "multi")
}
}
- if r.description != nil {
- t := *r.description
+ if r.assetTagNic != nil {
+ t := *r.assetTagNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nic", t, "form", "multi")
}
}
- if r.descriptionIc != nil {
- t := *r.descriptionIc
+ if r.assetTagNie != nil {
+ t := *r.assetTagNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nie", t, "form", "multi")
}
}
- if r.descriptionIe != nil {
- t := *r.descriptionIe
+ if r.assetTagNiew != nil {
+ t := *r.assetTagNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__niew", t, "form", "multi")
}
}
- if r.descriptionIew != nil {
- t := *r.descriptionIew
+ if r.assetTagNire != nil {
+ t := *r.assetTagNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nire", t, "form", "multi")
}
}
- if r.descriptionIre != nil {
- t := *r.descriptionIre
+ if r.assetTagNisw != nil {
+ t := *r.assetTagNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nisw", t, "form", "multi")
}
}
- if r.descriptionIsw != nil {
- t := *r.descriptionIsw
+ if r.assetTagNre != nil {
+ t := *r.assetTagNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nre", t, "form", "multi")
}
}
- if r.descriptionN != nil {
- t := *r.descriptionN
+ if r.assetTagRe != nil {
+ t := *r.assetTagRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__re", t, "form", "multi")
}
}
- if r.descriptionNic != nil {
- t := *r.descriptionNic
+ if r.compatibleWithModuleBay != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "compatible_with_module_bay", r.compatibleWithModuleBay, "form", "")
+ }
+ if r.consolePorts != nil {
+ t := *r.consolePorts
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "console_ports", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "console_ports", t, "form", "multi")
}
}
- if r.descriptionNie != nil {
- t := *r.descriptionNie
+ if r.consolePortsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "console_ports__isnull", r.consolePortsIsnull, "form", "")
+ }
+ if r.consolePortsN != nil {
+ t := *r.consolePortsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "console_ports__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "console_ports__n", t, "form", "multi")
}
}
- if r.descriptionNiew != nil {
- t := *r.descriptionNiew
+ if r.consoleServerPorts != nil {
+ t := *r.consoleServerPorts
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "console_server_ports", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "console_server_ports", t, "form", "multi")
}
}
- if r.descriptionNire != nil {
- t := *r.descriptionNire
+ if r.consoleServerPortsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "console_server_ports__isnull", r.consoleServerPortsIsnull, "form", "")
+ }
+ if r.consoleServerPortsN != nil {
+ t := *r.consoleServerPortsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "console_server_ports__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "console_server_ports__n", t, "form", "multi")
}
}
- if r.descriptionNisw != nil {
- t := *r.descriptionNisw
+ if r.contacts != nil {
+ t := *r.contacts
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", t, "form", "multi")
}
}
- if r.descriptionNre != nil {
- t := *r.descriptionNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", t, "form", "multi")
- }
+ if r.contactsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
- if r.descriptionRe != nil {
- t := *r.descriptionRe
+ if r.contactsN != nil {
+ t := *r.contactsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
}
}
- if r.devices != nil {
- t := *r.devices
+ if r.created != nil {
+ t := *r.created
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "devices", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "devices", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created", t, "form", "multi")
}
}
- if r.devicesIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "devices__isnull", r.devicesIsnull, "form", "")
- }
- if r.devicesN != nil {
- t := *r.devicesN
+ if r.createdGt != nil {
+ t := *r.createdGt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "devices__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "devices__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", t, "form", "multi")
}
}
- if r.dynamicGroups != nil {
- t := *r.dynamicGroups
+ if r.createdGte != nil {
+ t := *r.createdGte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", t, "form", "multi")
}
}
- if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.hasDevices != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_devices", r.hasDevices, "form", "")
- }
- if r.hasVirtualMachines != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_virtual_machines", r.hasVirtualMachines, "form", "")
+ if r.createdIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__isnull", r.createdIsnull, "form", "")
}
- if r.id != nil {
- t := *r.id
+ if r.createdLt != nil {
+ t := *r.createdLt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
+ if r.createdLte != nil {
+ t := *r.createdLte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", t, "form", "multi")
}
}
- if r.idIe != nil {
- t := *r.idIe
+ if r.createdN != nil {
+ t := *r.createdN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "form", "multi")
}
}
- if r.idIew != nil {
- t := *r.idIew
+ if r.device != nil {
+ t := *r.device
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device", t, "form", "multi")
}
}
- if r.idIre != nil {
- t := *r.idIre
+ if r.dynamicGroups != nil {
+ t := *r.dynamicGroups
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
}
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.dynamicGroupsN != nil {
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idN != nil {
- t := *r.idN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idNic != nil {
- t := *r.idNic
+ if r.frontPorts != nil {
+ t := *r.frontPorts
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "front_ports", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "front_ports", t, "form", "multi")
}
}
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
+ if r.frontPortsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "front_ports__isnull", r.frontPortsIsnull, "form", "")
}
- if r.idNiew != nil {
- t := *r.idNiew
+ if r.frontPortsN != nil {
+ t := *r.frontPortsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "front_ports__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "front_ports__n", t, "form", "multi")
}
}
- if r.idNire != nil {
- t := *r.idNire
+ if r.hasConsolePorts != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_console_ports", r.hasConsolePorts, "form", "")
+ }
+ if r.hasConsoleServerPorts != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_console_server_ports", r.hasConsoleServerPorts, "form", "")
+ }
+ if r.hasEmptyModuleBays != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_empty_module_bays", r.hasEmptyModuleBays, "form", "")
+ }
+ if r.hasFrontPorts != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_front_ports", r.hasFrontPorts, "form", "")
+ }
+ if r.hasInterfaces != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_interfaces", r.hasInterfaces, "form", "")
+ }
+ if r.hasModuleBays != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_module_bays", r.hasModuleBays, "form", "")
+ }
+ if r.hasModules != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_modules", r.hasModules, "form", "")
+ }
+ if r.hasPowerOutlets != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_power_outlets", r.hasPowerOutlets, "form", "")
+ }
+ if r.hasPowerPorts != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_power_ports", r.hasPowerPorts, "form", "")
+ }
+ if r.hasRearPorts != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_rear_ports", r.hasRearPorts, "form", "")
+ }
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idNisw != nil {
- t := *r.idNisw
+ if r.idN != nil {
+ t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNre != nil {
- t := *r.idNre
+ if r.interfaces != nil {
+ t := *r.interfaces
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "interfaces", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "interfaces", t, "form", "multi")
}
}
- if r.idRe != nil {
- t := *r.idRe
+ if r.interfacesIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "interfaces__isnull", r.interfacesIsnull, "form", "")
+ }
+ if r.interfacesN != nil {
+ t := *r.interfacesN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "interfaces__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "interfaces__n", t, "form", "multi")
}
}
+ if r.isInstalled != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "is_installed", r.isInstalled, "form", "")
+ }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -93508,513 +88598,617 @@ func (a *DcimAPIService) DcimPlatformsListExecute(r ApiDcimPlatformsListRequest)
if r.limit != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
- if r.manufacturer != nil {
- t := *r.manufacturer
+ if r.location != nil {
+ t := *r.location
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location", t, "form", "multi")
}
}
- if r.manufacturerIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer__isnull", r.manufacturerIsnull, "form", "")
+ if r.locationIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location__isnull", r.locationIsnull, "form", "")
}
- if r.manufacturerN != nil {
- t := *r.manufacturerN
+ if r.locationN != nil {
+ t := *r.locationN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", t, "form", "multi")
}
}
- if r.name != nil {
- t := *r.name
+ if r.macAddress != nil {
+ t := *r.macAddress
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address", t, "form", "multi")
}
}
- if r.nameIc != nil {
- t := *r.nameIc
+ if r.macAddressIc != nil {
+ t := *r.macAddressIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__ic", t, "form", "multi")
}
}
- if r.nameIe != nil {
- t := *r.nameIe
+ if r.macAddressIe != nil {
+ t := *r.macAddressIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__ie", t, "form", "multi")
}
}
- if r.nameIew != nil {
- t := *r.nameIew
+ if r.macAddressIew != nil {
+ t := *r.macAddressIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__iew", t, "form", "multi")
}
}
- if r.nameIre != nil {
- t := *r.nameIre
+ if r.macAddressIre != nil {
+ t := *r.macAddressIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__ire", t, "form", "multi")
}
}
- if r.nameIsw != nil {
- t := *r.nameIsw
+ if r.macAddressIsw != nil {
+ t := *r.macAddressIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__isw", t, "form", "multi")
}
}
- if r.nameN != nil {
- t := *r.nameN
+ if r.macAddressN != nil {
+ t := *r.macAddressN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__n", t, "form", "multi")
}
}
- if r.nameNic != nil {
- t := *r.nameNic
+ if r.macAddressNic != nil {
+ t := *r.macAddressNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__nic", t, "form", "multi")
}
}
- if r.nameNie != nil {
- t := *r.nameNie
+ if r.macAddressNie != nil {
+ t := *r.macAddressNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__nie", t, "form", "multi")
}
}
- if r.nameNiew != nil {
- t := *r.nameNiew
+ if r.macAddressNiew != nil {
+ t := *r.macAddressNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__niew", t, "form", "multi")
}
}
- if r.nameNire != nil {
- t := *r.nameNire
+ if r.macAddressNire != nil {
+ t := *r.macAddressNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__nire", t, "form", "multi")
}
}
- if r.nameNisw != nil {
- t := *r.nameNisw
+ if r.macAddressNisw != nil {
+ t := *r.macAddressNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__nisw", t, "form", "multi")
}
}
- if r.nameNre != nil {
- t := *r.nameNre
+ if r.macAddressNre != nil {
+ t := *r.macAddressNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__nre", t, "form", "multi")
}
}
- if r.nameRe != nil {
- t := *r.nameRe
+ if r.macAddressRe != nil {
+ t := *r.macAddressRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mac_address__re", t, "form", "multi")
}
}
- if r.napalmArgs != nil {
- t := *r.napalmArgs
+ if r.manufacturer != nil {
+ t := *r.manufacturer
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_args", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_args", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer", t, "form", "multi")
}
}
- if r.napalmDriver != nil {
- t := *r.napalmDriver
+ if r.manufacturerN != nil {
+ t := *r.manufacturerN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer__n", t, "form", "multi")
}
}
- if r.napalmDriverIc != nil {
- t := *r.napalmDriverIc
+ if r.moduleBays != nil {
+ t := *r.moduleBays
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_bays", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_bays", t, "form", "multi")
}
}
- if r.napalmDriverIe != nil {
- t := *r.napalmDriverIe
+ if r.moduleBaysIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_bays__isnull", r.moduleBaysIsnull, "form", "")
+ }
+ if r.moduleBaysN != nil {
+ t := *r.moduleBaysN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_bays__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_bays__n", t, "form", "multi")
}
}
- if r.napalmDriverIew != nil {
- t := *r.napalmDriverIew
+ if r.moduleFamily != nil {
+ t := *r.moduleFamily
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_family", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_family", t, "form", "multi")
}
}
- if r.napalmDriverIre != nil {
- t := *r.napalmDriverIre
+ if r.moduleFamilyIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_family__isnull", r.moduleFamilyIsnull, "form", "")
+ }
+ if r.moduleFamilyN != nil {
+ t := *r.moduleFamilyN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_family__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_family__n", t, "form", "multi")
}
}
- if r.napalmDriverIsw != nil {
- t := *r.napalmDriverIsw
+ if r.moduleType != nil {
+ t := *r.moduleType
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_type", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_type", t, "form", "multi")
}
}
- if r.napalmDriverN != nil {
- t := *r.napalmDriverN
+ if r.moduleTypeN != nil {
+ t := *r.moduleTypeN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_type__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_type__n", t, "form", "multi")
}
}
- if r.napalmDriverNic != nil {
- t := *r.napalmDriverNic
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+ }
+ if r.parentModuleBay != nil {
+ t := *r.parentModuleBay
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "parent_module_bay", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "parent_module_bay", t, "form", "multi")
}
}
- if r.napalmDriverNie != nil {
- t := *r.napalmDriverNie
+ if r.parentModuleBayIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "parent_module_bay__isnull", r.parentModuleBayIsnull, "form", "")
+ }
+ if r.parentModuleBayN != nil {
+ t := *r.parentModuleBayN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "parent_module_bay__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "parent_module_bay__n", t, "form", "multi")
}
}
- if r.napalmDriverNiew != nil {
- t := *r.napalmDriverNiew
+ if r.powerOutlets != nil {
+ t := *r.powerOutlets
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlets", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlets", t, "form", "multi")
}
}
- if r.napalmDriverNire != nil {
- t := *r.napalmDriverNire
+ if r.powerOutletsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlets__isnull", r.powerOutletsIsnull, "form", "")
+ }
+ if r.powerOutletsN != nil {
+ t := *r.powerOutletsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlets__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlets__n", t, "form", "multi")
}
}
- if r.napalmDriverNisw != nil {
- t := *r.napalmDriverNisw
+ if r.powerPorts != nil {
+ t := *r.powerPorts
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_ports", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_ports", t, "form", "multi")
}
}
- if r.napalmDriverNre != nil {
- t := *r.napalmDriverNre
+ if r.powerPortsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_ports__isnull", r.powerPortsIsnull, "form", "")
+ }
+ if r.powerPortsN != nil {
+ t := *r.powerPortsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_ports__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_ports__n", t, "form", "multi")
}
}
- if r.napalmDriverRe != nil {
- t := *r.napalmDriverRe
+ if r.q != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
+ }
+ if r.rearPorts != nil {
+ t := *r.rearPorts
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rear_ports", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rear_ports", t, "form", "multi")
}
}
- if r.networkDriver != nil {
- t := *r.networkDriver
+ if r.rearPortsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rear_ports__isnull", r.rearPortsIsnull, "form", "")
+ }
+ if r.rearPortsN != nil {
+ t := *r.rearPortsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rear_ports__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rear_ports__n", t, "form", "multi")
}
}
- if r.networkDriverIc != nil {
- t := *r.networkDriverIc
+ if r.role != nil {
+ t := *r.role
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role", t, "form", "multi")
}
}
- if r.networkDriverIe != nil {
- t := *r.networkDriverIe
+ if r.roleIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role__isnull", r.roleIsnull, "form", "")
+ }
+ if r.roleN != nil {
+ t := *r.roleN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", t, "form", "multi")
}
}
- if r.networkDriverIew != nil {
- t := *r.networkDriverIew
+ if r.serial != nil {
+ t := *r.serial
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial", t, "form", "multi")
}
}
- if r.networkDriverIre != nil {
- t := *r.networkDriverIre
+ if r.serialIc != nil {
+ t := *r.serialIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ic", t, "form", "multi")
}
}
- if r.networkDriverIsw != nil {
- t := *r.networkDriverIsw
+ if r.serialIe != nil {
+ t := *r.serialIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ie", t, "form", "multi")
}
}
- if r.networkDriverN != nil {
- t := *r.networkDriverN
+ if r.serialIew != nil {
+ t := *r.serialIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__iew", t, "form", "multi")
}
}
- if r.networkDriverNic != nil {
- t := *r.networkDriverNic
+ if r.serialIre != nil {
+ t := *r.serialIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ire", t, "form", "multi")
}
}
- if r.networkDriverNie != nil {
- t := *r.networkDriverNie
+ if r.serialIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__isnull", r.serialIsnull, "form", "")
+ }
+ if r.serialIsw != nil {
+ t := *r.serialIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__isw", t, "form", "multi")
}
}
- if r.networkDriverNiew != nil {
- t := *r.networkDriverNiew
+ if r.serialN != nil {
+ t := *r.serialN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__n", t, "form", "multi")
}
}
- if r.networkDriverNire != nil {
- t := *r.networkDriverNire
+ if r.serialNic != nil {
+ t := *r.serialNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nic", t, "form", "multi")
}
}
- if r.networkDriverNisw != nil {
- t := *r.networkDriverNisw
+ if r.serialNie != nil {
+ t := *r.serialNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nie", t, "form", "multi")
}
}
- if r.networkDriverNre != nil {
- t := *r.networkDriverNre
+ if r.serialNiew != nil {
+ t := *r.serialNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__niew", t, "form", "multi")
}
}
- if r.networkDriverRe != nil {
- t := *r.networkDriverRe
+ if r.serialNire != nil {
+ t := *r.serialNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nire", t, "form", "multi")
}
}
- if r.offset != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+ if r.serialNisw != nil {
+ t := *r.serialNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nisw", t, "form", "multi")
+ }
}
- if r.q != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
+ if r.serialNre != nil {
+ t := *r.serialNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nre", t, "form", "multi")
+ }
+ }
+ if r.serialRe != nil {
+ t := *r.serialRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__re", t, "form", "multi")
+ }
}
if r.sort != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
}
+ if r.status != nil {
+ t := *r.status
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status", t, "form", "multi")
+ }
+ }
+ if r.statusN != nil {
+ t := *r.statusN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "form", "multi")
+ }
+ }
+ if r.tags != nil {
+ t := *r.tags
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags", t, "form", "multi")
+ }
+ }
+ if r.tagsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__isnull", r.tagsIsnull, "form", "")
+ }
+ if r.tagsN != nil {
+ t := *r.tagsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", t, "form", "multi")
+ }
+ }
if r.teams != nil {
t := *r.teams
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -94030,38 +89224,104 @@ func (a *DcimAPIService) DcimPlatformsListExecute(r ApiDcimPlatformsListRequest)
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
- if r.virtualMachines != nil {
- t := *r.virtualMachines
+ if r.tenant != nil {
+ t := *r.tenant
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machines", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machines", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant", t, "form", "multi")
}
}
- if r.virtualMachinesIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machines__isnull", r.virtualMachinesIsnull, "form", "")
+ if r.tenantIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__isnull", r.tenantIsnull, "form", "")
}
- if r.virtualMachinesN != nil {
- t := *r.virtualMachinesN
+ if r.tenantN != nil {
+ t := *r.tenantN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machines__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machines__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__n", t, "form", "multi")
+ }
+ }
+ if r.tenantGroup != nil {
+ t := *r.tenantGroup
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group", t, "form", "multi")
+ }
+ }
+ if r.tenantGroupIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group__isnull", r.tenantGroupIsnull, "form", "")
+ }
+ if r.tenantGroupN != nil {
+ t := *r.tenantGroupN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group__n", t, "form", "multi")
+ }
+ }
+ if r.tenantId != nil {
+ t := *r.tenantId
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id", t, "form", "multi")
+ }
+ }
+ if r.tenantIdIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__isnull", r.tenantIdIsnull, "form", "")
+ }
+ if r.tenantIdN != nil {
+ t := *r.tenantIdN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__n", t, "form", "multi")
}
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -94131,7 +89391,7 @@ func (a *DcimAPIService) DcimPlatformsListExecute(r ApiDcimPlatformsListRequest)
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPlatformsNotesCreateRequest struct {
+type ApiDcimModulesNotesCreateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
@@ -94139,31 +89399,31 @@ type ApiDcimPlatformsNotesCreateRequest struct {
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPlatformsNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimPlatformsNotesCreateRequest {
+func (r ApiDcimModulesNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimModulesNotesCreateRequest {
r.noteInputRequest = ¬eInputRequest
return r
}
-func (r ApiDcimPlatformsNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPlatformsNotesCreateRequest {
+func (r ApiDcimModulesNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModulesNotesCreateRequest {
r.format = &format
return r
}
-func (r ApiDcimPlatformsNotesCreateRequest) Execute() (*Note, *http.Response, error) {
- return r.ApiService.DcimPlatformsNotesCreateExecute(r)
+func (r ApiDcimModulesNotesCreateRequest) Execute() (*Note, *http.Response, error) {
+ return r.ApiService.DcimModulesNotesCreateExecute(r)
}
/*
-DcimPlatformsNotesCreate Method for DcimPlatformsNotesCreate
+DcimModulesNotesCreate Method for DcimModulesNotesCreate
API methods for returning or creating notes on an object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this platform.
- @return ApiDcimPlatformsNotesCreateRequest
+ @param id A UUID string identifying this module.
+ @return ApiDcimModulesNotesCreateRequest
*/
-func (a *DcimAPIService) DcimPlatformsNotesCreate(ctx context.Context, id string) ApiDcimPlatformsNotesCreateRequest {
- return ApiDcimPlatformsNotesCreateRequest{
+func (a *DcimAPIService) DcimModulesNotesCreate(ctx context.Context, id string) ApiDcimModulesNotesCreateRequest {
+ return ApiDcimModulesNotesCreateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -94172,7 +89432,7 @@ func (a *DcimAPIService) DcimPlatformsNotesCreate(ctx context.Context, id string
// Execute executes the request
// @return Note
-func (a *DcimAPIService) DcimPlatformsNotesCreateExecute(r ApiDcimPlatformsNotesCreateRequest) (*Note, *http.Response, error) {
+func (a *DcimAPIService) DcimModulesNotesCreateExecute(r ApiDcimModulesNotesCreateRequest) (*Note, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -94180,12 +89440,12 @@ func (a *DcimAPIService) DcimPlatformsNotesCreateExecute(r ApiDcimPlatformsNotes
localVarReturnValue *Note
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPlatformsNotesCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModulesNotesCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/platforms/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/modules/{id}/notes/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -94268,7 +89528,7 @@ func (a *DcimAPIService) DcimPlatformsNotesCreateExecute(r ApiDcimPlatformsNotes
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPlatformsNotesListRequest struct {
+type ApiDcimModulesNotesListRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
@@ -94276,46 +89536,53 @@ type ApiDcimPlatformsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimPlatformsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPlatformsNotesListRequest {
+func (r ApiDcimModulesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModulesNotesListRequest {
r.format = &format
return r
}
// Number of results to return per page.
-func (r ApiDcimPlatformsNotesListRequest) Limit(limit int32) ApiDcimPlatformsNotesListRequest {
+func (r ApiDcimModulesNotesListRequest) Limit(limit int32) ApiDcimModulesNotesListRequest {
r.limit = &limit
return r
}
// The initial index from which to return the results.
-func (r ApiDcimPlatformsNotesListRequest) Offset(offset int32) ApiDcimPlatformsNotesListRequest {
+func (r ApiDcimModulesNotesListRequest) Offset(offset int32) ApiDcimModulesNotesListRequest {
r.offset = &offset
return r
}
// Serializer Depth
-func (r ApiDcimPlatformsNotesListRequest) Depth(depth int32) ApiDcimPlatformsNotesListRequest {
+func (r ApiDcimModulesNotesListRequest) Depth(depth int32) ApiDcimModulesNotesListRequest {
r.depth = &depth
return r
}
-func (r ApiDcimPlatformsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
- return r.ApiService.DcimPlatformsNotesListExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimModulesNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimModulesNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimModulesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
+ return r.ApiService.DcimModulesNotesListExecute(r)
}
/*
-DcimPlatformsNotesList Method for DcimPlatformsNotesList
+DcimModulesNotesList Method for DcimModulesNotesList
API methods for returning or creating notes on an object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this platform.
- @return ApiDcimPlatformsNotesListRequest
+ @param id A UUID string identifying this module.
+ @return ApiDcimModulesNotesListRequest
*/
-func (a *DcimAPIService) DcimPlatformsNotesList(ctx context.Context, id string) ApiDcimPlatformsNotesListRequest {
- return ApiDcimPlatformsNotesListRequest{
+func (a *DcimAPIService) DcimModulesNotesList(ctx context.Context, id string) ApiDcimModulesNotesListRequest {
+ return ApiDcimModulesNotesListRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -94324,7 +89591,7 @@ func (a *DcimAPIService) DcimPlatformsNotesList(ctx context.Context, id string)
// Execute executes the request
// @return PaginatedNoteList
-func (a *DcimAPIService) DcimPlatformsNotesListExecute(r ApiDcimPlatformsNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
+func (a *DcimAPIService) DcimModulesNotesListExecute(r ApiDcimModulesNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -94332,12 +89599,12 @@ func (a *DcimAPIService) DcimPlatformsNotesListExecute(r ApiDcimPlatformsNotesLi
localVarReturnValue *PaginatedNoteList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPlatformsNotesList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModulesNotesList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/platforms/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/modules/{id}/notes/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -94356,8 +89623,16 @@ func (a *DcimAPIService) DcimPlatformsNotesListExecute(r ApiDcimPlatformsNotesLi
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -94427,39 +89702,39 @@ func (a *DcimAPIService) DcimPlatformsNotesListExecute(r ApiDcimPlatformsNotesLi
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPlatformsPartialUpdateRequest struct {
+type ApiDcimModulesPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
- patchedPlatformRequest *PatchedPlatformRequest
+ patchedModuleRequest *PatchedModuleRequest
}
-func (r ApiDcimPlatformsPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPlatformsPartialUpdateRequest {
+func (r ApiDcimModulesPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModulesPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimPlatformsPartialUpdateRequest) PatchedPlatformRequest(patchedPlatformRequest PatchedPlatformRequest) ApiDcimPlatformsPartialUpdateRequest {
- r.patchedPlatformRequest = &patchedPlatformRequest
+func (r ApiDcimModulesPartialUpdateRequest) PatchedModuleRequest(patchedModuleRequest PatchedModuleRequest) ApiDcimModulesPartialUpdateRequest {
+ r.patchedModuleRequest = &patchedModuleRequest
return r
}
-func (r ApiDcimPlatformsPartialUpdateRequest) Execute() (*Platform, *http.Response, error) {
- return r.ApiService.DcimPlatformsPartialUpdateExecute(r)
+func (r ApiDcimModulesPartialUpdateRequest) Execute() (*Module, *http.Response, error) {
+ return r.ApiService.DcimModulesPartialUpdateExecute(r)
}
/*
-DcimPlatformsPartialUpdate Method for DcimPlatformsPartialUpdate
+DcimModulesPartialUpdate Method for DcimModulesPartialUpdate
-Partial update a platform object.
+Partial update a module object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this platform.
- @return ApiDcimPlatformsPartialUpdateRequest
+ @param id A UUID string identifying this module.
+ @return ApiDcimModulesPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimPlatformsPartialUpdate(ctx context.Context, id string) ApiDcimPlatformsPartialUpdateRequest {
- return ApiDcimPlatformsPartialUpdateRequest{
+func (a *DcimAPIService) DcimModulesPartialUpdate(ctx context.Context, id string) ApiDcimModulesPartialUpdateRequest {
+ return ApiDcimModulesPartialUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -94467,21 +89742,21 @@ func (a *DcimAPIService) DcimPlatformsPartialUpdate(ctx context.Context, id stri
}
// Execute executes the request
-// @return Platform
-func (a *DcimAPIService) DcimPlatformsPartialUpdateExecute(r ApiDcimPlatformsPartialUpdateRequest) (*Platform, *http.Response, error) {
+// @return Module
+func (a *DcimAPIService) DcimModulesPartialUpdateExecute(r ApiDcimModulesPartialUpdateRequest) (*Module, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *Platform
+ localVarReturnValue *Module
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPlatformsPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModulesPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/platforms/{id}/"
+ localVarPath := localBasePath + "/dcim/modules/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -94509,7 +89784,7 @@ func (a *DcimAPIService) DcimPlatformsPartialUpdateExecute(r ApiDcimPlatformsPar
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedPlatformRequest
+ localVarPostBody = r.patchedModuleRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -94561,40 +89836,47 @@ func (a *DcimAPIService) DcimPlatformsPartialUpdateExecute(r ApiDcimPlatformsPar
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPlatformsRetrieveRequest struct {
+type ApiDcimModulesRetrieveRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimPlatformsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPlatformsRetrieveRequest {
+func (r ApiDcimModulesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModulesRetrieveRequest {
r.format = &format
return r
}
// Serializer Depth
-func (r ApiDcimPlatformsRetrieveRequest) Depth(depth int32) ApiDcimPlatformsRetrieveRequest {
+func (r ApiDcimModulesRetrieveRequest) Depth(depth int32) ApiDcimModulesRetrieveRequest {
r.depth = &depth
return r
}
-func (r ApiDcimPlatformsRetrieveRequest) Execute() (*Platform, *http.Response, error) {
- return r.ApiService.DcimPlatformsRetrieveExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimModulesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimModulesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimModulesRetrieveRequest) Execute() (*Module, *http.Response, error) {
+ return r.ApiService.DcimModulesRetrieveExecute(r)
}
/*
-DcimPlatformsRetrieve Method for DcimPlatformsRetrieve
+DcimModulesRetrieve Method for DcimModulesRetrieve
-Retrieve a platform object.
+Retrieve a module object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this platform.
- @return ApiDcimPlatformsRetrieveRequest
+ @param id A UUID string identifying this module.
+ @return ApiDcimModulesRetrieveRequest
*/
-func (a *DcimAPIService) DcimPlatformsRetrieve(ctx context.Context, id string) ApiDcimPlatformsRetrieveRequest {
- return ApiDcimPlatformsRetrieveRequest{
+func (a *DcimAPIService) DcimModulesRetrieve(ctx context.Context, id string) ApiDcimModulesRetrieveRequest {
+ return ApiDcimModulesRetrieveRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -94602,21 +89884,21 @@ func (a *DcimAPIService) DcimPlatformsRetrieve(ctx context.Context, id string) A
}
// Execute executes the request
-// @return Platform
-func (a *DcimAPIService) DcimPlatformsRetrieveExecute(r ApiDcimPlatformsRetrieveRequest) (*Platform, *http.Response, error) {
+// @return Module
+func (a *DcimAPIService) DcimModulesRetrieveExecute(r ApiDcimModulesRetrieveRequest) (*Module, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *Platform
+ localVarReturnValue *Module
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPlatformsRetrieve")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModulesRetrieve")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/platforms/{id}/"
+ localVarPath := localBasePath + "/dcim/modules/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -94629,8 +89911,16 @@ func (a *DcimAPIService) DcimPlatformsRetrieveExecute(r ApiDcimPlatformsRetrieve
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -94700,39 +89990,39 @@ func (a *DcimAPIService) DcimPlatformsRetrieveExecute(r ApiDcimPlatformsRetrieve
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPlatformsUpdateRequest struct {
+type ApiDcimModulesUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
- platformRequest *PlatformRequest
+ moduleRequest *ModuleRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPlatformsUpdateRequest) PlatformRequest(platformRequest PlatformRequest) ApiDcimPlatformsUpdateRequest {
- r.platformRequest = &platformRequest
+func (r ApiDcimModulesUpdateRequest) ModuleRequest(moduleRequest ModuleRequest) ApiDcimModulesUpdateRequest {
+ r.moduleRequest = &moduleRequest
return r
}
-func (r ApiDcimPlatformsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPlatformsUpdateRequest {
+func (r ApiDcimModulesUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimModulesUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimPlatformsUpdateRequest) Execute() (*Platform, *http.Response, error) {
- return r.ApiService.DcimPlatformsUpdateExecute(r)
+func (r ApiDcimModulesUpdateRequest) Execute() (*Module, *http.Response, error) {
+ return r.ApiService.DcimModulesUpdateExecute(r)
}
/*
-DcimPlatformsUpdate Method for DcimPlatformsUpdate
+DcimModulesUpdate Method for DcimModulesUpdate
-Update a platform object.
+Update a module object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this platform.
- @return ApiDcimPlatformsUpdateRequest
+ @param id A UUID string identifying this module.
+ @return ApiDcimModulesUpdateRequest
*/
-func (a *DcimAPIService) DcimPlatformsUpdate(ctx context.Context, id string) ApiDcimPlatformsUpdateRequest {
- return ApiDcimPlatformsUpdateRequest{
+func (a *DcimAPIService) DcimModulesUpdate(ctx context.Context, id string) ApiDcimModulesUpdateRequest {
+ return ApiDcimModulesUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -94740,28 +90030,28 @@ func (a *DcimAPIService) DcimPlatformsUpdate(ctx context.Context, id string) Api
}
// Execute executes the request
-// @return Platform
-func (a *DcimAPIService) DcimPlatformsUpdateExecute(r ApiDcimPlatformsUpdateRequest) (*Platform, *http.Response, error) {
+// @return Module
+func (a *DcimAPIService) DcimModulesUpdateExecute(r ApiDcimModulesUpdateRequest) (*Module, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *Platform
+ localVarReturnValue *Module
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPlatformsUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimModulesUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/platforms/{id}/"
+ localVarPath := localBasePath + "/dcim/modules/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.platformRequest == nil {
- return localVarReturnValue, nil, reportError("platformRequest is required and must be specified")
+ if r.moduleRequest == nil {
+ return localVarReturnValue, nil, reportError("moduleRequest is required and must be specified")
}
if r.format != nil {
@@ -94785,7 +90075,7 @@ func (a *DcimAPIService) DcimPlatformsUpdateExecute(r ApiDcimPlatformsUpdateRequ
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.platformRequest
+ localVarPostBody = r.moduleRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -94837,867 +90127,78 @@ func (a *DcimAPIService) DcimPlatformsUpdateExecute(r ApiDcimPlatformsUpdateRequ
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerConnectionsListRequest struct {
+type ApiDcimPlatformsBulkDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
- contacts *[]string
- contactsIsnull *bool
- contactsN *string
- device *[]string
- deviceId *[]string
- dynamicGroups *[]string
- dynamicGroupsN *string
+ bulkOperationRequest *[]BulkOperationRequest
format *CircuitsCircuitTerminationsListFormatParameter
- id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
- idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
- limit *int32
- location *string
- name *[]string
- nameIc *[]string
- nameIe *[]string
- nameIew *[]string
- nameIre *[]string
- nameIsw *[]string
- nameN *[]string
- nameNic *[]string
- nameNie *[]string
- nameNiew *[]string
- nameNire *[]string
- nameNisw *[]string
- nameNre *[]string
- nameRe *[]string
- offset *int32
- sort *string
- teams *[]string
- teamsIsnull *bool
- teamsN *string
- depth *int32
-}
-
-func (r ApiDcimPowerConnectionsListRequest) Contacts(contacts []string) ApiDcimPowerConnectionsListRequest {
- r.contacts = &contacts
- return r
-}
-
-// Contacts (name or ID) is null
-func (r ApiDcimPowerConnectionsListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimPowerConnectionsListRequest {
- r.contactsIsnull = &contactsIsnull
- return r
-}
-
-// Exclude Contacts (name or ID)
-func (r ApiDcimPowerConnectionsListRequest) ContactsN(contactsN string) ApiDcimPowerConnectionsListRequest {
- r.contactsN = &contactsN
- return r
-}
-
-// Device (name)
-func (r ApiDcimPowerConnectionsListRequest) Device(device []string) ApiDcimPowerConnectionsListRequest {
- r.device = &device
- return r
-}
-
-// Device (ID)
-func (r ApiDcimPowerConnectionsListRequest) DeviceId(deviceId []string) ApiDcimPowerConnectionsListRequest {
- r.deviceId = &deviceId
- return r
-}
-
-func (r ApiDcimPowerConnectionsListRequest) DynamicGroups(dynamicGroups []string) ApiDcimPowerConnectionsListRequest {
- r.dynamicGroups = &dynamicGroups
- return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimPowerConnectionsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimPowerConnectionsListRequest {
- r.dynamicGroupsN = &dynamicGroupsN
+func (r ApiDcimPlatformsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimPlatformsBulkDestroyRequest {
+ r.bulkOperationRequest = &bulkOperationRequest
return r
}
-func (r ApiDcimPowerConnectionsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerConnectionsListRequest {
+func (r ApiDcimPlatformsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPlatformsBulkDestroyRequest {
r.format = &format
return r
}
-// Unique object identifier, either a UUID primary key or a composite key.
-func (r ApiDcimPowerConnectionsListRequest) Id(id []string) ApiDcimPowerConnectionsListRequest {
- r.id = &id
- return r
+func (r ApiDcimPlatformsBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimPlatformsBulkDestroyExecute(r)
}
-func (r ApiDcimPowerConnectionsListRequest) IdIc(idIc []string) ApiDcimPowerConnectionsListRequest {
- r.idIc = &idIc
- return r
-}
+/*
+DcimPlatformsBulkDestroy Method for DcimPlatformsBulkDestroy
-func (r ApiDcimPowerConnectionsListRequest) IdIe(idIe []string) ApiDcimPowerConnectionsListRequest {
- r.idIe = &idIe
- return r
-}
+Destroy a list of platform objects.
-func (r ApiDcimPowerConnectionsListRequest) IdIew(idIew []string) ApiDcimPowerConnectionsListRequest {
- r.idIew = &idIew
- return r
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiDcimPlatformsBulkDestroyRequest
+*/
+func (a *DcimAPIService) DcimPlatformsBulkDestroy(ctx context.Context) ApiDcimPlatformsBulkDestroyRequest {
+ return ApiDcimPlatformsBulkDestroyRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
}
-func (r ApiDcimPowerConnectionsListRequest) IdIre(idIre []string) ApiDcimPowerConnectionsListRequest {
- r.idIre = &idIre
- return r
-}
+// Execute executes the request
+func (a *DcimAPIService) DcimPlatformsBulkDestroyExecute(r ApiDcimPlatformsBulkDestroyRequest) (*http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodDelete
+ localVarPostBody interface{}
+ formFiles []formFile
+ )
-func (r ApiDcimPowerConnectionsListRequest) IdIsw(idIsw []string) ApiDcimPowerConnectionsListRequest {
- r.idIsw = &idIsw
- return r
-}
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPlatformsBulkDestroy")
+ if err != nil {
+ return nil, &GenericOpenAPIError{error: err.Error()}
+ }
-func (r ApiDcimPowerConnectionsListRequest) IdN(idN []string) ApiDcimPowerConnectionsListRequest {
- r.idN = &idN
- return r
-}
+ localVarPath := localBasePath + "/dcim/platforms/"
-func (r ApiDcimPowerConnectionsListRequest) IdNic(idNic []string) ApiDcimPowerConnectionsListRequest {
- r.idNic = &idNic
- return r
-}
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.bulkOperationRequest == nil {
+ return nil, reportError("bulkOperationRequest is required and must be specified")
+ }
-func (r ApiDcimPowerConnectionsListRequest) IdNie(idNie []string) ApiDcimPowerConnectionsListRequest {
- r.idNie = &idNie
- return r
-}
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
-func (r ApiDcimPowerConnectionsListRequest) IdNiew(idNiew []string) ApiDcimPowerConnectionsListRequest {
- r.idNiew = &idNiew
- return r
-}
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
-func (r ApiDcimPowerConnectionsListRequest) IdNire(idNire []string) ApiDcimPowerConnectionsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiDcimPowerConnectionsListRequest) IdNisw(idNisw []string) ApiDcimPowerConnectionsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiDcimPowerConnectionsListRequest) IdNre(idNre []string) ApiDcimPowerConnectionsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiDcimPowerConnectionsListRequest) IdRe(idRe []string) ApiDcimPowerConnectionsListRequest {
- r.idRe = &idRe
- return r
-}
-
-// Number of results to return per page.
-func (r ApiDcimPowerConnectionsListRequest) Limit(limit int32) ApiDcimPowerConnectionsListRequest {
- r.limit = &limit
- return r
-}
-
-// Location (name)
-func (r ApiDcimPowerConnectionsListRequest) Location(location string) ApiDcimPowerConnectionsListRequest {
- r.location = &location
- return r
-}
-
-func (r ApiDcimPowerConnectionsListRequest) Name(name []string) ApiDcimPowerConnectionsListRequest {
- r.name = &name
- return r
-}
-
-func (r ApiDcimPowerConnectionsListRequest) NameIc(nameIc []string) ApiDcimPowerConnectionsListRequest {
- r.nameIc = &nameIc
- return r
-}
-
-func (r ApiDcimPowerConnectionsListRequest) NameIe(nameIe []string) ApiDcimPowerConnectionsListRequest {
- r.nameIe = &nameIe
- return r
-}
-
-func (r ApiDcimPowerConnectionsListRequest) NameIew(nameIew []string) ApiDcimPowerConnectionsListRequest {
- r.nameIew = &nameIew
- return r
-}
-
-func (r ApiDcimPowerConnectionsListRequest) NameIre(nameIre []string) ApiDcimPowerConnectionsListRequest {
- r.nameIre = &nameIre
- return r
-}
-
-func (r ApiDcimPowerConnectionsListRequest) NameIsw(nameIsw []string) ApiDcimPowerConnectionsListRequest {
- r.nameIsw = &nameIsw
- return r
-}
-
-func (r ApiDcimPowerConnectionsListRequest) NameN(nameN []string) ApiDcimPowerConnectionsListRequest {
- r.nameN = &nameN
- return r
-}
-
-func (r ApiDcimPowerConnectionsListRequest) NameNic(nameNic []string) ApiDcimPowerConnectionsListRequest {
- r.nameNic = &nameNic
- return r
-}
-
-func (r ApiDcimPowerConnectionsListRequest) NameNie(nameNie []string) ApiDcimPowerConnectionsListRequest {
- r.nameNie = &nameNie
- return r
-}
-
-func (r ApiDcimPowerConnectionsListRequest) NameNiew(nameNiew []string) ApiDcimPowerConnectionsListRequest {
- r.nameNiew = &nameNiew
- return r
-}
-
-func (r ApiDcimPowerConnectionsListRequest) NameNire(nameNire []string) ApiDcimPowerConnectionsListRequest {
- r.nameNire = &nameNire
- return r
-}
-
-func (r ApiDcimPowerConnectionsListRequest) NameNisw(nameNisw []string) ApiDcimPowerConnectionsListRequest {
- r.nameNisw = &nameNisw
- return r
-}
-
-func (r ApiDcimPowerConnectionsListRequest) NameNre(nameNre []string) ApiDcimPowerConnectionsListRequest {
- r.nameNre = &nameNre
- return r
-}
-
-func (r ApiDcimPowerConnectionsListRequest) NameRe(nameRe []string) ApiDcimPowerConnectionsListRequest {
- r.nameRe = &nameRe
- return r
-}
-
-// The initial index from which to return the results.
-func (r ApiDcimPowerConnectionsListRequest) Offset(offset int32) ApiDcimPowerConnectionsListRequest {
- r.offset = &offset
- return r
-}
-
-// Which field to use when ordering the results.
-func (r ApiDcimPowerConnectionsListRequest) Sort(sort string) ApiDcimPowerConnectionsListRequest {
- r.sort = &sort
- return r
-}
-
-func (r ApiDcimPowerConnectionsListRequest) Teams(teams []string) ApiDcimPowerConnectionsListRequest {
- r.teams = &teams
- return r
-}
-
-// Teams (name or ID) is null
-func (r ApiDcimPowerConnectionsListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimPowerConnectionsListRequest {
- r.teamsIsnull = &teamsIsnull
- return r
-}
-
-// Exclude Teams (name or ID)
-func (r ApiDcimPowerConnectionsListRequest) TeamsN(teamsN string) ApiDcimPowerConnectionsListRequest {
- r.teamsN = &teamsN
- return r
-}
-
-// Serializer Depth
-func (r ApiDcimPowerConnectionsListRequest) Depth(depth int32) ApiDcimPowerConnectionsListRequest {
- r.depth = &depth
- return r
-}
-
-func (r ApiDcimPowerConnectionsListRequest) Execute() (*PaginatedPowerPortList, *http.Response, error) {
- return r.ApiService.DcimPowerConnectionsListExecute(r)
-}
-
-/*
-DcimPowerConnectionsList Method for DcimPowerConnectionsList
-
-Retrieve a list of power port objects.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPowerConnectionsListRequest
-*/
-func (a *DcimAPIService) DcimPowerConnectionsList(ctx context.Context) ApiDcimPowerConnectionsListRequest {
- return ApiDcimPowerConnectionsListRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-// @return PaginatedPowerPortList
-func (a *DcimAPIService) DcimPowerConnectionsListExecute(r ApiDcimPowerConnectionsListRequest) (*PaginatedPowerPortList, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *PaginatedPowerPortList
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerConnectionsList")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/dcim/power-connections/"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
-
- if r.contacts != nil {
- t := *r.contacts
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", t, "form", "multi")
- }
- }
- if r.contactsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
- }
- if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
- }
- if r.device != nil {
- t := *r.device
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device", t, "form", "multi")
- }
- }
- if r.deviceId != nil {
- t := *r.deviceId
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device_id", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device_id", t, "form", "multi")
- }
- }
- if r.dynamicGroups != nil {
- t := *r.dynamicGroups
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
- }
- }
- if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.id != nil {
- t := *r.id
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
- }
- }
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
- if r.idN != nil {
- t := *r.idN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
- }
- }
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
- }
- if r.location != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location", r.location, "form", "")
- }
- if r.name != nil {
- t := *r.name
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name", t, "form", "multi")
- }
- }
- if r.nameIc != nil {
- t := *r.nameIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", t, "form", "multi")
- }
- }
- if r.nameIe != nil {
- t := *r.nameIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", t, "form", "multi")
- }
- }
- if r.nameIew != nil {
- t := *r.nameIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", t, "form", "multi")
- }
- }
- if r.nameIre != nil {
- t := *r.nameIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", t, "form", "multi")
- }
- }
- if r.nameIsw != nil {
- t := *r.nameIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", t, "form", "multi")
- }
- }
- if r.nameN != nil {
- t := *r.nameN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", t, "form", "multi")
- }
- }
- if r.nameNic != nil {
- t := *r.nameNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", t, "form", "multi")
- }
- }
- if r.nameNie != nil {
- t := *r.nameNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", t, "form", "multi")
- }
- }
- if r.nameNiew != nil {
- t := *r.nameNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", t, "form", "multi")
- }
- }
- if r.nameNire != nil {
- t := *r.nameNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", t, "form", "multi")
- }
- }
- if r.nameNisw != nil {
- t := *r.nameNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", t, "form", "multi")
- }
- }
- if r.nameNre != nil {
- t := *r.nameNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", t, "form", "multi")
- }
- }
- if r.nameRe != nil {
- t := *r.nameRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", t, "form", "multi")
- }
- }
- if r.offset != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
- }
- if r.sort != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
- }
- if r.teams != nil {
- t := *r.teams
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams", t, "form", "multi")
- }
- }
- if r.teamsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
- }
- if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
- }
- if r.depth != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
- } else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiDcimPowerFeedsBulkDestroyRequest struct {
- ctx context.Context
- ApiService *DcimAPIService
- bulkOperationRequest *[]BulkOperationRequest
- format *CircuitsCircuitTerminationsListFormatParameter
-}
-
-func (r ApiDcimPowerFeedsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimPowerFeedsBulkDestroyRequest {
- r.bulkOperationRequest = &bulkOperationRequest
- return r
-}
-
-func (r ApiDcimPowerFeedsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerFeedsBulkDestroyRequest {
- r.format = &format
- return r
-}
-
-func (r ApiDcimPowerFeedsBulkDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimPowerFeedsBulkDestroyExecute(r)
-}
-
-/*
-DcimPowerFeedsBulkDestroy Method for DcimPowerFeedsBulkDestroy
-
-Destroy a list of power feed objects.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPowerFeedsBulkDestroyRequest
-*/
-func (a *DcimAPIService) DcimPowerFeedsBulkDestroy(ctx context.Context) ApiDcimPowerFeedsBulkDestroyRequest {
- return ApiDcimPowerFeedsBulkDestroyRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-func (a *DcimAPIService) DcimPowerFeedsBulkDestroyExecute(r ApiDcimPowerFeedsBulkDestroyRequest) (*http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodDelete
- localVarPostBody interface{}
- formFiles []formFile
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerFeedsBulkDestroy")
- if err != nil {
- return nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/dcim/power-feeds/"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.bulkOperationRequest == nil {
- return nil, reportError("bulkOperationRequest is required and must be specified")
- }
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{}
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -95748,64 +90249,64 @@ func (a *DcimAPIService) DcimPowerFeedsBulkDestroyExecute(r ApiDcimPowerFeedsBul
return localVarHTTPResponse, nil
}
-type ApiDcimPowerFeedsBulkPartialUpdateRequest struct {
+type ApiDcimPlatformsBulkPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- patchedBulkWritablePowerFeedRequest *[]PatchedBulkWritablePowerFeedRequest
+ patchedBulkWritablePlatformRequest *[]PatchedBulkWritablePlatformRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerFeedsBulkPartialUpdateRequest) PatchedBulkWritablePowerFeedRequest(patchedBulkWritablePowerFeedRequest []PatchedBulkWritablePowerFeedRequest) ApiDcimPowerFeedsBulkPartialUpdateRequest {
- r.patchedBulkWritablePowerFeedRequest = &patchedBulkWritablePowerFeedRequest
+func (r ApiDcimPlatformsBulkPartialUpdateRequest) PatchedBulkWritablePlatformRequest(patchedBulkWritablePlatformRequest []PatchedBulkWritablePlatformRequest) ApiDcimPlatformsBulkPartialUpdateRequest {
+ r.patchedBulkWritablePlatformRequest = &patchedBulkWritablePlatformRequest
return r
}
-func (r ApiDcimPowerFeedsBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerFeedsBulkPartialUpdateRequest {
+func (r ApiDcimPlatformsBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPlatformsBulkPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerFeedsBulkPartialUpdateRequest) Execute() ([]PowerFeed, *http.Response, error) {
- return r.ApiService.DcimPowerFeedsBulkPartialUpdateExecute(r)
+func (r ApiDcimPlatformsBulkPartialUpdateRequest) Execute() ([]Platform, *http.Response, error) {
+ return r.ApiService.DcimPlatformsBulkPartialUpdateExecute(r)
}
/*
-DcimPowerFeedsBulkPartialUpdate Method for DcimPowerFeedsBulkPartialUpdate
+DcimPlatformsBulkPartialUpdate Method for DcimPlatformsBulkPartialUpdate
-Partial update a list of power feed objects.
+Partial update a list of platform objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPowerFeedsBulkPartialUpdateRequest
+ @return ApiDcimPlatformsBulkPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimPowerFeedsBulkPartialUpdate(ctx context.Context) ApiDcimPowerFeedsBulkPartialUpdateRequest {
- return ApiDcimPowerFeedsBulkPartialUpdateRequest{
+func (a *DcimAPIService) DcimPlatformsBulkPartialUpdate(ctx context.Context) ApiDcimPlatformsBulkPartialUpdateRequest {
+ return ApiDcimPlatformsBulkPartialUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []PowerFeed
-func (a *DcimAPIService) DcimPowerFeedsBulkPartialUpdateExecute(r ApiDcimPowerFeedsBulkPartialUpdateRequest) ([]PowerFeed, *http.Response, error) {
+// @return []Platform
+func (a *DcimAPIService) DcimPlatformsBulkPartialUpdateExecute(r ApiDcimPlatformsBulkPartialUpdateRequest) ([]Platform, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []PowerFeed
+ localVarReturnValue []Platform
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerFeedsBulkPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPlatformsBulkPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-feeds/"
+ localVarPath := localBasePath + "/dcim/platforms/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.patchedBulkWritablePowerFeedRequest == nil {
- return localVarReturnValue, nil, reportError("patchedBulkWritablePowerFeedRequest is required and must be specified")
+ if r.patchedBulkWritablePlatformRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritablePlatformRequest is required and must be specified")
}
if r.format != nil {
@@ -95829,7 +90330,7 @@ func (a *DcimAPIService) DcimPowerFeedsBulkPartialUpdateExecute(r ApiDcimPowerFe
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedBulkWritablePowerFeedRequest
+ localVarPostBody = r.patchedBulkWritablePlatformRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -95881,64 +90382,64 @@ func (a *DcimAPIService) DcimPowerFeedsBulkPartialUpdateExecute(r ApiDcimPowerFe
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerFeedsBulkUpdateRequest struct {
+type ApiDcimPlatformsBulkUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- bulkWritablePowerFeedRequest *[]BulkWritablePowerFeedRequest
+ bulkWritablePlatformRequest *[]BulkWritablePlatformRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerFeedsBulkUpdateRequest) BulkWritablePowerFeedRequest(bulkWritablePowerFeedRequest []BulkWritablePowerFeedRequest) ApiDcimPowerFeedsBulkUpdateRequest {
- r.bulkWritablePowerFeedRequest = &bulkWritablePowerFeedRequest
+func (r ApiDcimPlatformsBulkUpdateRequest) BulkWritablePlatformRequest(bulkWritablePlatformRequest []BulkWritablePlatformRequest) ApiDcimPlatformsBulkUpdateRequest {
+ r.bulkWritablePlatformRequest = &bulkWritablePlatformRequest
return r
}
-func (r ApiDcimPowerFeedsBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerFeedsBulkUpdateRequest {
+func (r ApiDcimPlatformsBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPlatformsBulkUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerFeedsBulkUpdateRequest) Execute() ([]PowerFeed, *http.Response, error) {
- return r.ApiService.DcimPowerFeedsBulkUpdateExecute(r)
+func (r ApiDcimPlatformsBulkUpdateRequest) Execute() ([]Platform, *http.Response, error) {
+ return r.ApiService.DcimPlatformsBulkUpdateExecute(r)
}
/*
-DcimPowerFeedsBulkUpdate Method for DcimPowerFeedsBulkUpdate
+DcimPlatformsBulkUpdate Method for DcimPlatformsBulkUpdate
-Update a list of power feed objects.
+Update a list of platform objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPowerFeedsBulkUpdateRequest
+ @return ApiDcimPlatformsBulkUpdateRequest
*/
-func (a *DcimAPIService) DcimPowerFeedsBulkUpdate(ctx context.Context) ApiDcimPowerFeedsBulkUpdateRequest {
- return ApiDcimPowerFeedsBulkUpdateRequest{
+func (a *DcimAPIService) DcimPlatformsBulkUpdate(ctx context.Context) ApiDcimPlatformsBulkUpdateRequest {
+ return ApiDcimPlatformsBulkUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []PowerFeed
-func (a *DcimAPIService) DcimPowerFeedsBulkUpdateExecute(r ApiDcimPowerFeedsBulkUpdateRequest) ([]PowerFeed, *http.Response, error) {
+// @return []Platform
+func (a *DcimAPIService) DcimPlatformsBulkUpdateExecute(r ApiDcimPlatformsBulkUpdateRequest) ([]Platform, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []PowerFeed
+ localVarReturnValue []Platform
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerFeedsBulkUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPlatformsBulkUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-feeds/"
+ localVarPath := localBasePath + "/dcim/platforms/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.bulkWritablePowerFeedRequest == nil {
- return localVarReturnValue, nil, reportError("bulkWritablePowerFeedRequest is required and must be specified")
+ if r.bulkWritablePlatformRequest == nil {
+ return localVarReturnValue, nil, reportError("bulkWritablePlatformRequest is required and must be specified")
}
if r.format != nil {
@@ -95962,7 +90463,7 @@ func (a *DcimAPIService) DcimPowerFeedsBulkUpdateExecute(r ApiDcimPowerFeedsBulk
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.bulkWritablePowerFeedRequest
+ localVarPostBody = r.bulkWritablePlatformRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -96014,64 +90515,64 @@ func (a *DcimAPIService) DcimPowerFeedsBulkUpdateExecute(r ApiDcimPowerFeedsBulk
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerFeedsCreateRequest struct {
+type ApiDcimPlatformsCreateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- writablePowerFeedRequest *WritablePowerFeedRequest
+ platformRequest *PlatformRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerFeedsCreateRequest) WritablePowerFeedRequest(writablePowerFeedRequest WritablePowerFeedRequest) ApiDcimPowerFeedsCreateRequest {
- r.writablePowerFeedRequest = &writablePowerFeedRequest
+func (r ApiDcimPlatformsCreateRequest) PlatformRequest(platformRequest PlatformRequest) ApiDcimPlatformsCreateRequest {
+ r.platformRequest = &platformRequest
return r
}
-func (r ApiDcimPowerFeedsCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerFeedsCreateRequest {
+func (r ApiDcimPlatformsCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPlatformsCreateRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerFeedsCreateRequest) Execute() (*PowerFeed, *http.Response, error) {
- return r.ApiService.DcimPowerFeedsCreateExecute(r)
+func (r ApiDcimPlatformsCreateRequest) Execute() (*Platform, *http.Response, error) {
+ return r.ApiService.DcimPlatformsCreateExecute(r)
}
/*
-DcimPowerFeedsCreate Method for DcimPowerFeedsCreate
+DcimPlatformsCreate Method for DcimPlatformsCreate
-Create one or more power feed objects.
+Create one or more platform objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPowerFeedsCreateRequest
+ @return ApiDcimPlatformsCreateRequest
*/
-func (a *DcimAPIService) DcimPowerFeedsCreate(ctx context.Context) ApiDcimPowerFeedsCreateRequest {
- return ApiDcimPowerFeedsCreateRequest{
+func (a *DcimAPIService) DcimPlatformsCreate(ctx context.Context) ApiDcimPlatformsCreateRequest {
+ return ApiDcimPlatformsCreateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return PowerFeed
-func (a *DcimAPIService) DcimPowerFeedsCreateExecute(r ApiDcimPowerFeedsCreateRequest) (*PowerFeed, *http.Response, error) {
+// @return Platform
+func (a *DcimAPIService) DcimPlatformsCreateExecute(r ApiDcimPlatformsCreateRequest) (*Platform, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PowerFeed
+ localVarReturnValue *Platform
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerFeedsCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPlatformsCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-feeds/"
+ localVarPath := localBasePath + "/dcim/platforms/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.writablePowerFeedRequest == nil {
- return localVarReturnValue, nil, reportError("writablePowerFeedRequest is required and must be specified")
+ if r.platformRequest == nil {
+ return localVarReturnValue, nil, reportError("platformRequest is required and must be specified")
}
if r.format != nil {
@@ -96095,7 +90596,7 @@ func (a *DcimAPIService) DcimPowerFeedsCreateExecute(r ApiDcimPowerFeedsCreateRe
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.writablePowerFeedRequest
+ localVarPostBody = r.platformRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -96147,33 +90648,33 @@ func (a *DcimAPIService) DcimPowerFeedsCreateExecute(r ApiDcimPowerFeedsCreateRe
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerFeedsDestroyRequest struct {
+type ApiDcimPlatformsDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerFeedsDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerFeedsDestroyRequest {
+func (r ApiDcimPlatformsDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPlatformsDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerFeedsDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimPowerFeedsDestroyExecute(r)
+func (r ApiDcimPlatformsDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimPlatformsDestroyExecute(r)
}
/*
-DcimPowerFeedsDestroy Method for DcimPowerFeedsDestroy
+DcimPlatformsDestroy Method for DcimPlatformsDestroy
-Destroy a power feed object.
+Destroy a platform object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power feed.
- @return ApiDcimPowerFeedsDestroyRequest
+ @param id A UUID string identifying this platform.
+ @return ApiDcimPlatformsDestroyRequest
*/
-func (a *DcimAPIService) DcimPowerFeedsDestroy(ctx context.Context, id string) ApiDcimPowerFeedsDestroyRequest {
- return ApiDcimPowerFeedsDestroyRequest{
+func (a *DcimAPIService) DcimPlatformsDestroy(ctx context.Context, id string) ApiDcimPlatformsDestroyRequest {
+ return ApiDcimPlatformsDestroyRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -96181,19 +90682,19 @@ func (a *DcimAPIService) DcimPowerFeedsDestroy(ctx context.Context, id string) A
}
// Execute executes the request
-func (a *DcimAPIService) DcimPowerFeedsDestroyExecute(r ApiDcimPowerFeedsDestroyRequest) (*http.Response, error) {
+func (a *DcimAPIService) DcimPlatformsDestroyExecute(r ApiDcimPlatformsDestroyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerFeedsDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPlatformsDestroy")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-feeds/{id}/"
+ localVarPath := localBasePath + "/dcim/platforms/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -96262,42 +90763,12 @@ func (a *DcimAPIService) DcimPowerFeedsDestroyExecute(r ApiDcimPowerFeedsDestroy
return localVarHTTPResponse, nil
}
-type ApiDcimPowerFeedsListRequest struct {
+type ApiDcimPlatformsListRequest struct {
ctx context.Context
ApiService *DcimAPIService
- amperage *[]int32
- amperageGt *[]int32
- amperageGte *[]int32
- amperageLt *[]int32
- amperageLte *[]int32
- amperageN *[]int32
- availablePower *[]int32
- availablePowerGt *[]int32
- availablePowerGte *[]int32
- availablePowerLt *[]int32
- availablePowerLte *[]int32
- availablePowerN *[]int32
- cable *[]string
- cableIsnull *bool
- cableN *[]string
- comments *[]string
- commentsIc *[]string
- commentsIe *[]string
- commentsIew *[]string
- commentsIre *[]string
- commentsIsw *[]string
- commentsN *[]string
- commentsNic *[]string
- commentsNie *[]string
- commentsNiew *[]string
- commentsNire *[]string
- commentsNisw *[]string
- commentsNre *[]string
- commentsRe *[]string
- connected *bool
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -96305,24 +90776,30 @@ type ApiDcimPowerFeedsListRequest struct {
createdLt *[]time.Time
createdLte *[]time.Time
createdN *[]time.Time
+ description *[]string
+ descriptionIc *[]string
+ descriptionIe *[]string
+ descriptionIew *[]string
+ descriptionIre *[]string
+ descriptionIsw *[]string
+ descriptionN *[]string
+ descriptionNic *[]string
+ descriptionNie *[]string
+ descriptionNiew *[]string
+ descriptionNire *[]string
+ descriptionNisw *[]string
+ descriptionNre *[]string
+ descriptionRe *[]string
+ devices *[]string
+ devicesIsnull *bool
+ devicesN *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
- hasCable *bool
+ hasDevices *bool
+ hasVirtualMachines *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -96331,14 +90808,9 @@ type ApiDcimPowerFeedsListRequest struct {
lastUpdatedLte *[]time.Time
lastUpdatedN *[]time.Time
limit *int32
- location *[]string
- locationN *[]string
- maxUtilization *[]int32
- maxUtilizationGt *[]int32
- maxUtilizationGte *[]int32
- maxUtilizationLt *[]int32
- maxUtilizationLte *[]int32
- maxUtilizationN *[]int32
+ manufacturer *[]string
+ manufacturerIsnull *bool
+ manufacturerN *[]string
name *[]string
nameIc *[]string
nameIe *[]string
@@ -96353,2186 +90825,1500 @@ type ApiDcimPowerFeedsListRequest struct {
nameNisw *[]string
nameNre *[]string
nameRe *[]string
+ napalmArgs *[]string
+ napalmDriver *[]string
+ napalmDriverIc *[]string
+ napalmDriverIe *[]string
+ napalmDriverIew *[]string
+ napalmDriverIre *[]string
+ napalmDriverIsw *[]string
+ napalmDriverN *[]string
+ napalmDriverNic *[]string
+ napalmDriverNie *[]string
+ napalmDriverNiew *[]string
+ napalmDriverNire *[]string
+ napalmDriverNisw *[]string
+ napalmDriverNre *[]string
+ napalmDriverRe *[]string
+ networkDriver *[]string
+ networkDriverIc *[]string
+ networkDriverIe *[]string
+ networkDriverIew *[]string
+ networkDriverIre *[]string
+ networkDriverIsw *[]string
+ networkDriverN *[]string
+ networkDriverNic *[]string
+ networkDriverNie *[]string
+ networkDriverNiew *[]string
+ networkDriverNire *[]string
+ networkDriverNisw *[]string
+ networkDriverNre *[]string
+ networkDriverRe *[]string
offset *int32
- phase *[]string
- phaseIc *[]string
- phaseIe *[]string
- phaseIew *[]string
- phaseIre *[]string
- phaseIsw *[]string
- phaseN *[]string
- phaseNic *[]string
- phaseNie *[]string
- phaseNiew *[]string
- phaseNire *[]string
- phaseNisw *[]string
- phaseNre *[]string
- phaseRe *[]string
- powerPanel *[]string
- powerPanelN *[]string
q *string
- rack *[]string
- rackIsnull *bool
- rackN *[]string
sort *string
- status *[]string
- statusN *string
- supply *[]string
- supplyIc *[]string
- supplyIe *[]string
- supplyIew *[]string
- supplyIre *[]string
- supplyIsw *[]string
- supplyN *[]string
- supplyNic *[]string
- supplyNie *[]string
- supplyNiew *[]string
- supplyNire *[]string
- supplyNisw *[]string
- supplyNre *[]string
- supplyRe *[]string
- tags *[]string
- tagsIsnull *bool
- tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
- type_ *[]string
- typeIc *[]string
- typeIe *[]string
- typeIew *[]string
- typeIre *[]string
- typeIsw *[]string
- typeN *[]string
- typeNic *[]string
- typeNie *[]string
- typeNiew *[]string
- typeNire *[]string
- typeNisw *[]string
- typeNre *[]string
- typeRe *[]string
- voltage *[]int32
- voltageGt *[]int32
- voltageGte *[]int32
- voltageLt *[]int32
- voltageLte *[]int32
- voltageN *[]int32
+ teamsN *[]string
+ virtualMachines *[]string
+ virtualMachinesIsnull *bool
+ virtualMachinesN *[]string
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimPowerFeedsListRequest) Amperage(amperage []int32) ApiDcimPowerFeedsListRequest {
- r.amperage = &erage
+func (r ApiDcimPlatformsListRequest) Contacts(contacts []string) ApiDcimPlatformsListRequest {
+ r.contacts = &contacts
return r
}
-func (r ApiDcimPowerFeedsListRequest) AmperageGt(amperageGt []int32) ApiDcimPowerFeedsListRequest {
- r.amperageGt = &erageGt
+// Contacts (name or ID) is null
+func (r ApiDcimPlatformsListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimPlatformsListRequest {
+ r.contactsIsnull = &contactsIsnull
return r
}
-func (r ApiDcimPowerFeedsListRequest) AmperageGte(amperageGte []int32) ApiDcimPowerFeedsListRequest {
- r.amperageGte = &erageGte
+func (r ApiDcimPlatformsListRequest) ContactsN(contactsN []string) ApiDcimPlatformsListRequest {
+ r.contactsN = &contactsN
return r
}
-func (r ApiDcimPowerFeedsListRequest) AmperageLt(amperageLt []int32) ApiDcimPowerFeedsListRequest {
- r.amperageLt = &erageLt
+func (r ApiDcimPlatformsListRequest) Created(created []time.Time) ApiDcimPlatformsListRequest {
+ r.created = &created
return r
}
-func (r ApiDcimPowerFeedsListRequest) AmperageLte(amperageLte []int32) ApiDcimPowerFeedsListRequest {
- r.amperageLte = &erageLte
+func (r ApiDcimPlatformsListRequest) CreatedGt(createdGt []time.Time) ApiDcimPlatformsListRequest {
+ r.createdGt = &createdGt
return r
}
-func (r ApiDcimPowerFeedsListRequest) AmperageN(amperageN []int32) ApiDcimPowerFeedsListRequest {
- r.amperageN = &erageN
+func (r ApiDcimPlatformsListRequest) CreatedGte(createdGte []time.Time) ApiDcimPlatformsListRequest {
+ r.createdGte = &createdGte
return r
}
-func (r ApiDcimPowerFeedsListRequest) AvailablePower(availablePower []int32) ApiDcimPowerFeedsListRequest {
- r.availablePower = &availablePower
+func (r ApiDcimPlatformsListRequest) CreatedIsnull(createdIsnull bool) ApiDcimPlatformsListRequest {
+ r.createdIsnull = &createdIsnull
return r
}
-func (r ApiDcimPowerFeedsListRequest) AvailablePowerGt(availablePowerGt []int32) ApiDcimPowerFeedsListRequest {
- r.availablePowerGt = &availablePowerGt
+func (r ApiDcimPlatformsListRequest) CreatedLt(createdLt []time.Time) ApiDcimPlatformsListRequest {
+ r.createdLt = &createdLt
return r
}
-func (r ApiDcimPowerFeedsListRequest) AvailablePowerGte(availablePowerGte []int32) ApiDcimPowerFeedsListRequest {
- r.availablePowerGte = &availablePowerGte
+func (r ApiDcimPlatformsListRequest) CreatedLte(createdLte []time.Time) ApiDcimPlatformsListRequest {
+ r.createdLte = &createdLte
return r
}
-func (r ApiDcimPowerFeedsListRequest) AvailablePowerLt(availablePowerLt []int32) ApiDcimPowerFeedsListRequest {
- r.availablePowerLt = &availablePowerLt
+func (r ApiDcimPlatformsListRequest) CreatedN(createdN []time.Time) ApiDcimPlatformsListRequest {
+ r.createdN = &createdN
return r
}
-func (r ApiDcimPowerFeedsListRequest) AvailablePowerLte(availablePowerLte []int32) ApiDcimPowerFeedsListRequest {
- r.availablePowerLte = &availablePowerLte
+func (r ApiDcimPlatformsListRequest) Description(description []string) ApiDcimPlatformsListRequest {
+ r.description = &description
return r
}
-func (r ApiDcimPowerFeedsListRequest) AvailablePowerN(availablePowerN []int32) ApiDcimPowerFeedsListRequest {
- r.availablePowerN = &availablePowerN
+func (r ApiDcimPlatformsListRequest) DescriptionIc(descriptionIc []string) ApiDcimPlatformsListRequest {
+ r.descriptionIc = &descriptionIc
return r
}
-// Cable
-func (r ApiDcimPowerFeedsListRequest) Cable(cable []string) ApiDcimPowerFeedsListRequest {
- r.cable = &cable
+func (r ApiDcimPlatformsListRequest) DescriptionIe(descriptionIe []string) ApiDcimPlatformsListRequest {
+ r.descriptionIe = &descriptionIe
return r
}
-func (r ApiDcimPowerFeedsListRequest) CableIsnull(cableIsnull bool) ApiDcimPowerFeedsListRequest {
- r.cableIsnull = &cableIsnull
+func (r ApiDcimPlatformsListRequest) DescriptionIew(descriptionIew []string) ApiDcimPlatformsListRequest {
+ r.descriptionIew = &descriptionIew
return r
}
-// Cable
-func (r ApiDcimPowerFeedsListRequest) CableN(cableN []string) ApiDcimPowerFeedsListRequest {
- r.cableN = &cableN
+func (r ApiDcimPlatformsListRequest) DescriptionIre(descriptionIre []string) ApiDcimPlatformsListRequest {
+ r.descriptionIre = &descriptionIre
return r
}
-func (r ApiDcimPowerFeedsListRequest) Comments(comments []string) ApiDcimPowerFeedsListRequest {
- r.comments = &comments
+func (r ApiDcimPlatformsListRequest) DescriptionIsw(descriptionIsw []string) ApiDcimPlatformsListRequest {
+ r.descriptionIsw = &descriptionIsw
return r
}
-func (r ApiDcimPowerFeedsListRequest) CommentsIc(commentsIc []string) ApiDcimPowerFeedsListRequest {
- r.commentsIc = &commentsIc
+func (r ApiDcimPlatformsListRequest) DescriptionN(descriptionN []string) ApiDcimPlatformsListRequest {
+ r.descriptionN = &descriptionN
return r
}
-func (r ApiDcimPowerFeedsListRequest) CommentsIe(commentsIe []string) ApiDcimPowerFeedsListRequest {
- r.commentsIe = &commentsIe
+func (r ApiDcimPlatformsListRequest) DescriptionNic(descriptionNic []string) ApiDcimPlatformsListRequest {
+ r.descriptionNic = &descriptionNic
return r
}
-func (r ApiDcimPowerFeedsListRequest) CommentsIew(commentsIew []string) ApiDcimPowerFeedsListRequest {
- r.commentsIew = &commentsIew
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) CommentsIre(commentsIre []string) ApiDcimPowerFeedsListRequest {
- r.commentsIre = &commentsIre
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) CommentsIsw(commentsIsw []string) ApiDcimPowerFeedsListRequest {
- r.commentsIsw = &commentsIsw
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) CommentsN(commentsN []string) ApiDcimPowerFeedsListRequest {
- r.commentsN = &commentsN
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) CommentsNic(commentsNic []string) ApiDcimPowerFeedsListRequest {
- r.commentsNic = &commentsNic
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) CommentsNie(commentsNie []string) ApiDcimPowerFeedsListRequest {
- r.commentsNie = &commentsNie
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) CommentsNiew(commentsNiew []string) ApiDcimPowerFeedsListRequest {
- r.commentsNiew = &commentsNiew
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) CommentsNire(commentsNire []string) ApiDcimPowerFeedsListRequest {
- r.commentsNire = &commentsNire
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) CommentsNisw(commentsNisw []string) ApiDcimPowerFeedsListRequest {
- r.commentsNisw = &commentsNisw
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) CommentsNre(commentsNre []string) ApiDcimPowerFeedsListRequest {
- r.commentsNre = &commentsNre
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) CommentsRe(commentsRe []string) ApiDcimPowerFeedsListRequest {
- r.commentsRe = &commentsRe
- return r
-}
-
-// Connected status (bool)
-func (r ApiDcimPowerFeedsListRequest) Connected(connected bool) ApiDcimPowerFeedsListRequest {
- r.connected = &connected
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) Contacts(contacts []string) ApiDcimPowerFeedsListRequest {
- r.contacts = &contacts
- return r
-}
-
-// Contacts (name or ID) is null
-func (r ApiDcimPowerFeedsListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimPowerFeedsListRequest {
- r.contactsIsnull = &contactsIsnull
+func (r ApiDcimPlatformsListRequest) DescriptionNie(descriptionNie []string) ApiDcimPlatformsListRequest {
+ r.descriptionNie = &descriptionNie
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimPowerFeedsListRequest) ContactsN(contactsN string) ApiDcimPowerFeedsListRequest {
- r.contactsN = &contactsN
+func (r ApiDcimPlatformsListRequest) DescriptionNiew(descriptionNiew []string) ApiDcimPlatformsListRequest {
+ r.descriptionNiew = &descriptionNiew
return r
}
-func (r ApiDcimPowerFeedsListRequest) Created(created []time.Time) ApiDcimPowerFeedsListRequest {
- r.created = &created
+func (r ApiDcimPlatformsListRequest) DescriptionNire(descriptionNire []string) ApiDcimPlatformsListRequest {
+ r.descriptionNire = &descriptionNire
return r
}
-func (r ApiDcimPowerFeedsListRequest) CreatedGt(createdGt []time.Time) ApiDcimPowerFeedsListRequest {
- r.createdGt = &createdGt
+func (r ApiDcimPlatformsListRequest) DescriptionNisw(descriptionNisw []string) ApiDcimPlatformsListRequest {
+ r.descriptionNisw = &descriptionNisw
return r
}
-func (r ApiDcimPowerFeedsListRequest) CreatedGte(createdGte []time.Time) ApiDcimPowerFeedsListRequest {
- r.createdGte = &createdGte
+func (r ApiDcimPlatformsListRequest) DescriptionNre(descriptionNre []string) ApiDcimPlatformsListRequest {
+ r.descriptionNre = &descriptionNre
return r
}
-func (r ApiDcimPowerFeedsListRequest) CreatedIsnull(createdIsnull bool) ApiDcimPowerFeedsListRequest {
- r.createdIsnull = &createdIsnull
+func (r ApiDcimPlatformsListRequest) DescriptionRe(descriptionRe []string) ApiDcimPlatformsListRequest {
+ r.descriptionRe = &descriptionRe
return r
}
-func (r ApiDcimPowerFeedsListRequest) CreatedLt(createdLt []time.Time) ApiDcimPowerFeedsListRequest {
- r.createdLt = &createdLt
+func (r ApiDcimPlatformsListRequest) Devices(devices []string) ApiDcimPlatformsListRequest {
+ r.devices = &devices
return r
}
-func (r ApiDcimPowerFeedsListRequest) CreatedLte(createdLte []time.Time) ApiDcimPowerFeedsListRequest {
- r.createdLte = &createdLte
+func (r ApiDcimPlatformsListRequest) DevicesIsnull(devicesIsnull bool) ApiDcimPlatformsListRequest {
+ r.devicesIsnull = &devicesIsnull
return r
}
-func (r ApiDcimPowerFeedsListRequest) CreatedN(createdN []time.Time) ApiDcimPowerFeedsListRequest {
- r.createdN = &createdN
+func (r ApiDcimPlatformsListRequest) DevicesN(devicesN []string) ApiDcimPlatformsListRequest {
+ r.devicesN = &devicesN
return r
}
-func (r ApiDcimPowerFeedsListRequest) DynamicGroups(dynamicGroups []string) ApiDcimPowerFeedsListRequest {
+func (r ApiDcimPlatformsListRequest) DynamicGroups(dynamicGroups []string) ApiDcimPlatformsListRequest {
r.dynamicGroups = &dynamicGroups
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimPowerFeedsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimPowerFeedsListRequest {
+func (r ApiDcimPlatformsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimPlatformsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
-func (r ApiDcimPowerFeedsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerFeedsListRequest {
+func (r ApiDcimPlatformsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPlatformsListRequest {
r.format = &format
return r
}
-// Has cable
-func (r ApiDcimPowerFeedsListRequest) HasCable(hasCable bool) ApiDcimPowerFeedsListRequest {
- r.hasCable = &hasCable
- return r
-}
-
-// Unique object identifier, either a UUID primary key or a composite key.
-func (r ApiDcimPowerFeedsListRequest) Id(id []string) ApiDcimPowerFeedsListRequest {
- r.id = &id
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) IdIc(idIc []string) ApiDcimPowerFeedsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) IdIe(idIe []string) ApiDcimPowerFeedsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) IdIew(idIew []string) ApiDcimPowerFeedsListRequest {
- r.idIew = &idIew
+// Has devices
+func (r ApiDcimPlatformsListRequest) HasDevices(hasDevices bool) ApiDcimPlatformsListRequest {
+ r.hasDevices = &hasDevices
return r
}
-func (r ApiDcimPowerFeedsListRequest) IdIre(idIre []string) ApiDcimPowerFeedsListRequest {
- r.idIre = &idIre
+// Has virtual machines
+func (r ApiDcimPlatformsListRequest) HasVirtualMachines(hasVirtualMachines bool) ApiDcimPlatformsListRequest {
+ r.hasVirtualMachines = &hasVirtualMachines
return r
}
-func (r ApiDcimPowerFeedsListRequest) IdIsw(idIsw []string) ApiDcimPowerFeedsListRequest {
- r.idIsw = &idIsw
+// Unique object identifier, either a UUID primary key or a composite key.
+func (r ApiDcimPlatformsListRequest) Id(id []string) ApiDcimPlatformsListRequest {
+ r.id = &id
return r
}
-func (r ApiDcimPowerFeedsListRequest) IdN(idN []string) ApiDcimPowerFeedsListRequest {
+func (r ApiDcimPlatformsListRequest) IdN(idN []string) ApiDcimPlatformsListRequest {
r.idN = &idN
return r
}
-func (r ApiDcimPowerFeedsListRequest) IdNic(idNic []string) ApiDcimPowerFeedsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) IdNie(idNie []string) ApiDcimPowerFeedsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) IdNiew(idNiew []string) ApiDcimPowerFeedsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) IdNire(idNire []string) ApiDcimPowerFeedsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) IdNisw(idNisw []string) ApiDcimPowerFeedsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) IdNre(idNre []string) ApiDcimPowerFeedsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) IdRe(idRe []string) ApiDcimPowerFeedsListRequest {
- r.idRe = &idRe
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimPowerFeedsListRequest {
+func (r ApiDcimPlatformsListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimPlatformsListRequest {
r.lastUpdated = &lastUpdated
return r
}
-func (r ApiDcimPowerFeedsListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiDcimPowerFeedsListRequest {
+func (r ApiDcimPlatformsListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiDcimPlatformsListRequest {
r.lastUpdatedGt = &lastUpdatedGt
return r
}
-func (r ApiDcimPowerFeedsListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiDcimPowerFeedsListRequest {
+func (r ApiDcimPlatformsListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiDcimPlatformsListRequest {
r.lastUpdatedGte = &lastUpdatedGte
return r
}
-func (r ApiDcimPowerFeedsListRequest) LastUpdatedIsnull(lastUpdatedIsnull bool) ApiDcimPowerFeedsListRequest {
+func (r ApiDcimPlatformsListRequest) LastUpdatedIsnull(lastUpdatedIsnull bool) ApiDcimPlatformsListRequest {
r.lastUpdatedIsnull = &lastUpdatedIsnull
return r
}
-func (r ApiDcimPowerFeedsListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiDcimPowerFeedsListRequest {
+func (r ApiDcimPlatformsListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiDcimPlatformsListRequest {
r.lastUpdatedLt = &lastUpdatedLt
return r
}
-func (r ApiDcimPowerFeedsListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiDcimPowerFeedsListRequest {
+func (r ApiDcimPlatformsListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiDcimPlatformsListRequest {
r.lastUpdatedLte = &lastUpdatedLte
return r
}
-func (r ApiDcimPowerFeedsListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiDcimPowerFeedsListRequest {
+func (r ApiDcimPlatformsListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiDcimPlatformsListRequest {
r.lastUpdatedN = &lastUpdatedN
return r
}
// Number of results to return per page.
-func (r ApiDcimPowerFeedsListRequest) Limit(limit int32) ApiDcimPowerFeedsListRequest {
+func (r ApiDcimPlatformsListRequest) Limit(limit int32) ApiDcimPlatformsListRequest {
r.limit = &limit
return r
}
-func (r ApiDcimPowerFeedsListRequest) Location(location []string) ApiDcimPowerFeedsListRequest {
- r.location = &location
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) LocationN(locationN []string) ApiDcimPowerFeedsListRequest {
- r.locationN = &locationN
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) MaxUtilization(maxUtilization []int32) ApiDcimPowerFeedsListRequest {
- r.maxUtilization = &maxUtilization
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) MaxUtilizationGt(maxUtilizationGt []int32) ApiDcimPowerFeedsListRequest {
- r.maxUtilizationGt = &maxUtilizationGt
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) MaxUtilizationGte(maxUtilizationGte []int32) ApiDcimPowerFeedsListRequest {
- r.maxUtilizationGte = &maxUtilizationGte
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) MaxUtilizationLt(maxUtilizationLt []int32) ApiDcimPowerFeedsListRequest {
- r.maxUtilizationLt = &maxUtilizationLt
+func (r ApiDcimPlatformsListRequest) Manufacturer(manufacturer []string) ApiDcimPlatformsListRequest {
+ r.manufacturer = &manufacturer
return r
}
-func (r ApiDcimPowerFeedsListRequest) MaxUtilizationLte(maxUtilizationLte []int32) ApiDcimPowerFeedsListRequest {
- r.maxUtilizationLte = &maxUtilizationLte
+// Manufacturer (name or ID) is null
+func (r ApiDcimPlatformsListRequest) ManufacturerIsnull(manufacturerIsnull bool) ApiDcimPlatformsListRequest {
+ r.manufacturerIsnull = &manufacturerIsnull
return r
}
-func (r ApiDcimPowerFeedsListRequest) MaxUtilizationN(maxUtilizationN []int32) ApiDcimPowerFeedsListRequest {
- r.maxUtilizationN = &maxUtilizationN
+func (r ApiDcimPlatformsListRequest) ManufacturerN(manufacturerN []string) ApiDcimPlatformsListRequest {
+ r.manufacturerN = &manufacturerN
return r
}
-func (r ApiDcimPowerFeedsListRequest) Name(name []string) ApiDcimPowerFeedsListRequest {
+func (r ApiDcimPlatformsListRequest) Name(name []string) ApiDcimPlatformsListRequest {
r.name = &name
return r
}
-func (r ApiDcimPowerFeedsListRequest) NameIc(nameIc []string) ApiDcimPowerFeedsListRequest {
+func (r ApiDcimPlatformsListRequest) NameIc(nameIc []string) ApiDcimPlatformsListRequest {
r.nameIc = &nameIc
return r
}
-func (r ApiDcimPowerFeedsListRequest) NameIe(nameIe []string) ApiDcimPowerFeedsListRequest {
+func (r ApiDcimPlatformsListRequest) NameIe(nameIe []string) ApiDcimPlatformsListRequest {
r.nameIe = &nameIe
return r
}
-func (r ApiDcimPowerFeedsListRequest) NameIew(nameIew []string) ApiDcimPowerFeedsListRequest {
+func (r ApiDcimPlatformsListRequest) NameIew(nameIew []string) ApiDcimPlatformsListRequest {
r.nameIew = &nameIew
return r
}
-func (r ApiDcimPowerFeedsListRequest) NameIre(nameIre []string) ApiDcimPowerFeedsListRequest {
+func (r ApiDcimPlatformsListRequest) NameIre(nameIre []string) ApiDcimPlatformsListRequest {
r.nameIre = &nameIre
return r
}
-func (r ApiDcimPowerFeedsListRequest) NameIsw(nameIsw []string) ApiDcimPowerFeedsListRequest {
+func (r ApiDcimPlatformsListRequest) NameIsw(nameIsw []string) ApiDcimPlatformsListRequest {
r.nameIsw = &nameIsw
return r
}
-func (r ApiDcimPowerFeedsListRequest) NameN(nameN []string) ApiDcimPowerFeedsListRequest {
+func (r ApiDcimPlatformsListRequest) NameN(nameN []string) ApiDcimPlatformsListRequest {
r.nameN = &nameN
return r
}
-func (r ApiDcimPowerFeedsListRequest) NameNic(nameNic []string) ApiDcimPowerFeedsListRequest {
+func (r ApiDcimPlatformsListRequest) NameNic(nameNic []string) ApiDcimPlatformsListRequest {
r.nameNic = &nameNic
return r
}
-func (r ApiDcimPowerFeedsListRequest) NameNie(nameNie []string) ApiDcimPowerFeedsListRequest {
+func (r ApiDcimPlatformsListRequest) NameNie(nameNie []string) ApiDcimPlatformsListRequest {
r.nameNie = &nameNie
return r
}
-func (r ApiDcimPowerFeedsListRequest) NameNiew(nameNiew []string) ApiDcimPowerFeedsListRequest {
+func (r ApiDcimPlatformsListRequest) NameNiew(nameNiew []string) ApiDcimPlatformsListRequest {
r.nameNiew = &nameNiew
return r
}
-func (r ApiDcimPowerFeedsListRequest) NameNire(nameNire []string) ApiDcimPowerFeedsListRequest {
+func (r ApiDcimPlatformsListRequest) NameNire(nameNire []string) ApiDcimPlatformsListRequest {
r.nameNire = &nameNire
return r
}
-func (r ApiDcimPowerFeedsListRequest) NameNisw(nameNisw []string) ApiDcimPowerFeedsListRequest {
+func (r ApiDcimPlatformsListRequest) NameNisw(nameNisw []string) ApiDcimPlatformsListRequest {
r.nameNisw = &nameNisw
return r
}
-func (r ApiDcimPowerFeedsListRequest) NameNre(nameNre []string) ApiDcimPowerFeedsListRequest {
+func (r ApiDcimPlatformsListRequest) NameNre(nameNre []string) ApiDcimPlatformsListRequest {
r.nameNre = &nameNre
return r
}
-func (r ApiDcimPowerFeedsListRequest) NameRe(nameRe []string) ApiDcimPowerFeedsListRequest {
+func (r ApiDcimPlatformsListRequest) NameRe(nameRe []string) ApiDcimPlatformsListRequest {
r.nameRe = &nameRe
return r
}
-// The initial index from which to return the results.
-func (r ApiDcimPowerFeedsListRequest) Offset(offset int32) ApiDcimPowerFeedsListRequest {
- r.offset = &offset
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) Phase(phase []string) ApiDcimPowerFeedsListRequest {
- r.phase = &phase
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) PhaseIc(phaseIc []string) ApiDcimPowerFeedsListRequest {
- r.phaseIc = &phaseIc
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) PhaseIe(phaseIe []string) ApiDcimPowerFeedsListRequest {
- r.phaseIe = &phaseIe
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) PhaseIew(phaseIew []string) ApiDcimPowerFeedsListRequest {
- r.phaseIew = &phaseIew
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) PhaseIre(phaseIre []string) ApiDcimPowerFeedsListRequest {
- r.phaseIre = &phaseIre
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) PhaseIsw(phaseIsw []string) ApiDcimPowerFeedsListRequest {
- r.phaseIsw = &phaseIsw
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) PhaseN(phaseN []string) ApiDcimPowerFeedsListRequest {
- r.phaseN = &phaseN
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) PhaseNic(phaseNic []string) ApiDcimPowerFeedsListRequest {
- r.phaseNic = &phaseNic
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) PhaseNie(phaseNie []string) ApiDcimPowerFeedsListRequest {
- r.phaseNie = &phaseNie
+func (r ApiDcimPlatformsListRequest) NapalmArgs(napalmArgs []string) ApiDcimPlatformsListRequest {
+ r.napalmArgs = &napalmArgs
return r
}
-func (r ApiDcimPowerFeedsListRequest) PhaseNiew(phaseNiew []string) ApiDcimPowerFeedsListRequest {
- r.phaseNiew = &phaseNiew
+func (r ApiDcimPlatformsListRequest) NapalmDriver(napalmDriver []string) ApiDcimPlatformsListRequest {
+ r.napalmDriver = &napalmDriver
return r
}
-func (r ApiDcimPowerFeedsListRequest) PhaseNire(phaseNire []string) ApiDcimPowerFeedsListRequest {
- r.phaseNire = &phaseNire
+func (r ApiDcimPlatformsListRequest) NapalmDriverIc(napalmDriverIc []string) ApiDcimPlatformsListRequest {
+ r.napalmDriverIc = &napalmDriverIc
return r
}
-func (r ApiDcimPowerFeedsListRequest) PhaseNisw(phaseNisw []string) ApiDcimPowerFeedsListRequest {
- r.phaseNisw = &phaseNisw
+func (r ApiDcimPlatformsListRequest) NapalmDriverIe(napalmDriverIe []string) ApiDcimPlatformsListRequest {
+ r.napalmDriverIe = &napalmDriverIe
return r
}
-func (r ApiDcimPowerFeedsListRequest) PhaseNre(phaseNre []string) ApiDcimPowerFeedsListRequest {
- r.phaseNre = &phaseNre
+func (r ApiDcimPlatformsListRequest) NapalmDriverIew(napalmDriverIew []string) ApiDcimPlatformsListRequest {
+ r.napalmDriverIew = &napalmDriverIew
return r
}
-func (r ApiDcimPowerFeedsListRequest) PhaseRe(phaseRe []string) ApiDcimPowerFeedsListRequest {
- r.phaseRe = &phaseRe
+func (r ApiDcimPlatformsListRequest) NapalmDriverIre(napalmDriverIre []string) ApiDcimPlatformsListRequest {
+ r.napalmDriverIre = &napalmDriverIre
return r
}
-func (r ApiDcimPowerFeedsListRequest) PowerPanel(powerPanel []string) ApiDcimPowerFeedsListRequest {
- r.powerPanel = &powerPanel
+func (r ApiDcimPlatformsListRequest) NapalmDriverIsw(napalmDriverIsw []string) ApiDcimPlatformsListRequest {
+ r.napalmDriverIsw = &napalmDriverIsw
return r
}
-func (r ApiDcimPowerFeedsListRequest) PowerPanelN(powerPanelN []string) ApiDcimPowerFeedsListRequest {
- r.powerPanelN = &powerPanelN
+func (r ApiDcimPlatformsListRequest) NapalmDriverN(napalmDriverN []string) ApiDcimPlatformsListRequest {
+ r.napalmDriverN = &napalmDriverN
return r
}
-// Search
-func (r ApiDcimPowerFeedsListRequest) Q(q string) ApiDcimPowerFeedsListRequest {
- r.q = &q
+func (r ApiDcimPlatformsListRequest) NapalmDriverNic(napalmDriverNic []string) ApiDcimPlatformsListRequest {
+ r.napalmDriverNic = &napalmDriverNic
return r
}
-func (r ApiDcimPowerFeedsListRequest) Rack(rack []string) ApiDcimPowerFeedsListRequest {
- r.rack = &rack
+func (r ApiDcimPlatformsListRequest) NapalmDriverNie(napalmDriverNie []string) ApiDcimPlatformsListRequest {
+ r.napalmDriverNie = &napalmDriverNie
return r
}
-// Rack (name or ID) is null
-func (r ApiDcimPowerFeedsListRequest) RackIsnull(rackIsnull bool) ApiDcimPowerFeedsListRequest {
- r.rackIsnull = &rackIsnull
+func (r ApiDcimPlatformsListRequest) NapalmDriverNiew(napalmDriverNiew []string) ApiDcimPlatformsListRequest {
+ r.napalmDriverNiew = &napalmDriverNiew
return r
}
-func (r ApiDcimPowerFeedsListRequest) RackN(rackN []string) ApiDcimPowerFeedsListRequest {
- r.rackN = &rackN
+func (r ApiDcimPlatformsListRequest) NapalmDriverNire(napalmDriverNire []string) ApiDcimPlatformsListRequest {
+ r.napalmDriverNire = &napalmDriverNire
return r
}
-// Which field to use when ordering the results.
-func (r ApiDcimPowerFeedsListRequest) Sort(sort string) ApiDcimPowerFeedsListRequest {
- r.sort = &sort
+func (r ApiDcimPlatformsListRequest) NapalmDriverNisw(napalmDriverNisw []string) ApiDcimPlatformsListRequest {
+ r.napalmDriverNisw = &napalmDriverNisw
return r
}
-func (r ApiDcimPowerFeedsListRequest) Status(status []string) ApiDcimPowerFeedsListRequest {
- r.status = &status
+func (r ApiDcimPlatformsListRequest) NapalmDriverNre(napalmDriverNre []string) ApiDcimPlatformsListRequest {
+ r.napalmDriverNre = &napalmDriverNre
return r
}
-// Exclude Status (name or ID)
-func (r ApiDcimPowerFeedsListRequest) StatusN(statusN string) ApiDcimPowerFeedsListRequest {
- r.statusN = &statusN
+func (r ApiDcimPlatformsListRequest) NapalmDriverRe(napalmDriverRe []string) ApiDcimPlatformsListRequest {
+ r.napalmDriverRe = &napalmDriverRe
return r
}
-func (r ApiDcimPowerFeedsListRequest) Supply(supply []string) ApiDcimPowerFeedsListRequest {
- r.supply = &supply
+func (r ApiDcimPlatformsListRequest) NetworkDriver(networkDriver []string) ApiDcimPlatformsListRequest {
+ r.networkDriver = &networkDriver
return r
}
-func (r ApiDcimPowerFeedsListRequest) SupplyIc(supplyIc []string) ApiDcimPowerFeedsListRequest {
- r.supplyIc = &supplyIc
+func (r ApiDcimPlatformsListRequest) NetworkDriverIc(networkDriverIc []string) ApiDcimPlatformsListRequest {
+ r.networkDriverIc = &networkDriverIc
return r
}
-func (r ApiDcimPowerFeedsListRequest) SupplyIe(supplyIe []string) ApiDcimPowerFeedsListRequest {
- r.supplyIe = &supplyIe
+func (r ApiDcimPlatformsListRequest) NetworkDriverIe(networkDriverIe []string) ApiDcimPlatformsListRequest {
+ r.networkDriverIe = &networkDriverIe
return r
}
-func (r ApiDcimPowerFeedsListRequest) SupplyIew(supplyIew []string) ApiDcimPowerFeedsListRequest {
- r.supplyIew = &supplyIew
+func (r ApiDcimPlatformsListRequest) NetworkDriverIew(networkDriverIew []string) ApiDcimPlatformsListRequest {
+ r.networkDriverIew = &networkDriverIew
return r
}
-func (r ApiDcimPowerFeedsListRequest) SupplyIre(supplyIre []string) ApiDcimPowerFeedsListRequest {
- r.supplyIre = &supplyIre
+func (r ApiDcimPlatformsListRequest) NetworkDriverIre(networkDriverIre []string) ApiDcimPlatformsListRequest {
+ r.networkDriverIre = &networkDriverIre
return r
}
-func (r ApiDcimPowerFeedsListRequest) SupplyIsw(supplyIsw []string) ApiDcimPowerFeedsListRequest {
- r.supplyIsw = &supplyIsw
+func (r ApiDcimPlatformsListRequest) NetworkDriverIsw(networkDriverIsw []string) ApiDcimPlatformsListRequest {
+ r.networkDriverIsw = &networkDriverIsw
return r
}
-func (r ApiDcimPowerFeedsListRequest) SupplyN(supplyN []string) ApiDcimPowerFeedsListRequest {
- r.supplyN = &supplyN
+func (r ApiDcimPlatformsListRequest) NetworkDriverN(networkDriverN []string) ApiDcimPlatformsListRequest {
+ r.networkDriverN = &networkDriverN
return r
}
-func (r ApiDcimPowerFeedsListRequest) SupplyNic(supplyNic []string) ApiDcimPowerFeedsListRequest {
- r.supplyNic = &supplyNic
+func (r ApiDcimPlatformsListRequest) NetworkDriverNic(networkDriverNic []string) ApiDcimPlatformsListRequest {
+ r.networkDriverNic = &networkDriverNic
return r
}
-func (r ApiDcimPowerFeedsListRequest) SupplyNie(supplyNie []string) ApiDcimPowerFeedsListRequest {
- r.supplyNie = &supplyNie
+func (r ApiDcimPlatformsListRequest) NetworkDriverNie(networkDriverNie []string) ApiDcimPlatformsListRequest {
+ r.networkDriverNie = &networkDriverNie
return r
}
-func (r ApiDcimPowerFeedsListRequest) SupplyNiew(supplyNiew []string) ApiDcimPowerFeedsListRequest {
- r.supplyNiew = &supplyNiew
+func (r ApiDcimPlatformsListRequest) NetworkDriverNiew(networkDriverNiew []string) ApiDcimPlatformsListRequest {
+ r.networkDriverNiew = &networkDriverNiew
return r
}
-func (r ApiDcimPowerFeedsListRequest) SupplyNire(supplyNire []string) ApiDcimPowerFeedsListRequest {
- r.supplyNire = &supplyNire
+func (r ApiDcimPlatformsListRequest) NetworkDriverNire(networkDriverNire []string) ApiDcimPlatformsListRequest {
+ r.networkDriverNire = &networkDriverNire
return r
}
-func (r ApiDcimPowerFeedsListRequest) SupplyNisw(supplyNisw []string) ApiDcimPowerFeedsListRequest {
- r.supplyNisw = &supplyNisw
+func (r ApiDcimPlatformsListRequest) NetworkDriverNisw(networkDriverNisw []string) ApiDcimPlatformsListRequest {
+ r.networkDriverNisw = &networkDriverNisw
return r
}
-func (r ApiDcimPowerFeedsListRequest) SupplyNre(supplyNre []string) ApiDcimPowerFeedsListRequest {
- r.supplyNre = &supplyNre
+func (r ApiDcimPlatformsListRequest) NetworkDriverNre(networkDriverNre []string) ApiDcimPlatformsListRequest {
+ r.networkDriverNre = &networkDriverNre
return r
}
-func (r ApiDcimPowerFeedsListRequest) SupplyRe(supplyRe []string) ApiDcimPowerFeedsListRequest {
- r.supplyRe = &supplyRe
+func (r ApiDcimPlatformsListRequest) NetworkDriverRe(networkDriverRe []string) ApiDcimPlatformsListRequest {
+ r.networkDriverRe = &networkDriverRe
return r
}
-func (r ApiDcimPowerFeedsListRequest) Tags(tags []string) ApiDcimPowerFeedsListRequest {
- r.tags = &tags
+// The initial index from which to return the results.
+func (r ApiDcimPlatformsListRequest) Offset(offset int32) ApiDcimPlatformsListRequest {
+ r.offset = &offset
return r
}
-func (r ApiDcimPowerFeedsListRequest) TagsIsnull(tagsIsnull bool) ApiDcimPowerFeedsListRequest {
- r.tagsIsnull = &tagsIsnull
+// Search
+func (r ApiDcimPlatformsListRequest) Q(q string) ApiDcimPlatformsListRequest {
+ r.q = &q
return r
}
-func (r ApiDcimPowerFeedsListRequest) TagsN(tagsN []string) ApiDcimPowerFeedsListRequest {
- r.tagsN = &tagsN
+// Which field to use when ordering the results.
+func (r ApiDcimPlatformsListRequest) Sort(sort string) ApiDcimPlatformsListRequest {
+ r.sort = &sort
return r
}
-func (r ApiDcimPowerFeedsListRequest) Teams(teams []string) ApiDcimPowerFeedsListRequest {
+func (r ApiDcimPlatformsListRequest) Teams(teams []string) ApiDcimPlatformsListRequest {
r.teams = &teams
return r
}
// Teams (name or ID) is null
-func (r ApiDcimPowerFeedsListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimPowerFeedsListRequest {
+func (r ApiDcimPlatformsListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimPlatformsListRequest {
r.teamsIsnull = &teamsIsnull
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimPowerFeedsListRequest) TeamsN(teamsN string) ApiDcimPowerFeedsListRequest {
+func (r ApiDcimPlatformsListRequest) TeamsN(teamsN []string) ApiDcimPlatformsListRequest {
r.teamsN = &teamsN
return r
}
-func (r ApiDcimPowerFeedsListRequest) Type_(type_ []string) ApiDcimPowerFeedsListRequest {
- r.type_ = &type_
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) TypeIc(typeIc []string) ApiDcimPowerFeedsListRequest {
- r.typeIc = &typeIc
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) TypeIe(typeIe []string) ApiDcimPowerFeedsListRequest {
- r.typeIe = &typeIe
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) TypeIew(typeIew []string) ApiDcimPowerFeedsListRequest {
- r.typeIew = &typeIew
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) TypeIre(typeIre []string) ApiDcimPowerFeedsListRequest {
- r.typeIre = &typeIre
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) TypeIsw(typeIsw []string) ApiDcimPowerFeedsListRequest {
- r.typeIsw = &typeIsw
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) TypeN(typeN []string) ApiDcimPowerFeedsListRequest {
- r.typeN = &typeN
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) TypeNic(typeNic []string) ApiDcimPowerFeedsListRequest {
- r.typeNic = &typeNic
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) TypeNie(typeNie []string) ApiDcimPowerFeedsListRequest {
- r.typeNie = &typeNie
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) TypeNiew(typeNiew []string) ApiDcimPowerFeedsListRequest {
- r.typeNiew = &typeNiew
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) TypeNire(typeNire []string) ApiDcimPowerFeedsListRequest {
- r.typeNire = &typeNire
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) TypeNisw(typeNisw []string) ApiDcimPowerFeedsListRequest {
- r.typeNisw = &typeNisw
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) TypeNre(typeNre []string) ApiDcimPowerFeedsListRequest {
- r.typeNre = &typeNre
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) TypeRe(typeRe []string) ApiDcimPowerFeedsListRequest {
- r.typeRe = &typeRe
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) Voltage(voltage []int32) ApiDcimPowerFeedsListRequest {
- r.voltage = &voltage
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) VoltageGt(voltageGt []int32) ApiDcimPowerFeedsListRequest {
- r.voltageGt = &voltageGt
- return r
-}
-
-func (r ApiDcimPowerFeedsListRequest) VoltageGte(voltageGte []int32) ApiDcimPowerFeedsListRequest {
- r.voltageGte = &voltageGte
+func (r ApiDcimPlatformsListRequest) VirtualMachines(virtualMachines []string) ApiDcimPlatformsListRequest {
+ r.virtualMachines = &virtualMachines
return r
}
-func (r ApiDcimPowerFeedsListRequest) VoltageLt(voltageLt []int32) ApiDcimPowerFeedsListRequest {
- r.voltageLt = &voltageLt
+func (r ApiDcimPlatformsListRequest) VirtualMachinesIsnull(virtualMachinesIsnull bool) ApiDcimPlatformsListRequest {
+ r.virtualMachinesIsnull = &virtualMachinesIsnull
return r
}
-func (r ApiDcimPowerFeedsListRequest) VoltageLte(voltageLte []int32) ApiDcimPowerFeedsListRequest {
- r.voltageLte = &voltageLte
+func (r ApiDcimPlatformsListRequest) VirtualMachinesN(virtualMachinesN []string) ApiDcimPlatformsListRequest {
+ r.virtualMachinesN = &virtualMachinesN
return r
}
-func (r ApiDcimPowerFeedsListRequest) VoltageN(voltageN []int32) ApiDcimPowerFeedsListRequest {
- r.voltageN = &voltageN
+// Serializer Depth
+func (r ApiDcimPlatformsListRequest) Depth(depth int32) ApiDcimPlatformsListRequest {
+ r.depth = &depth
return r
}
-// Serializer Depth
-func (r ApiDcimPowerFeedsListRequest) Depth(depth int32) ApiDcimPowerFeedsListRequest {
- r.depth = &depth
+// Exclude many-to-many fields from the response
+func (r ApiDcimPlatformsListRequest) ExcludeM2m(excludeM2m bool) ApiDcimPlatformsListRequest {
+ r.excludeM2m = &excludeM2m
return r
}
-func (r ApiDcimPowerFeedsListRequest) Execute() (*PaginatedPowerFeedList, *http.Response, error) {
- return r.ApiService.DcimPowerFeedsListExecute(r)
+func (r ApiDcimPlatformsListRequest) Execute() (*PaginatedPlatformList, *http.Response, error) {
+ return r.ApiService.DcimPlatformsListExecute(r)
}
/*
-DcimPowerFeedsList Method for DcimPowerFeedsList
+DcimPlatformsList Method for DcimPlatformsList
-Retrieve a list of power feed objects.
+Retrieve a list of platform objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPowerFeedsListRequest
+ @return ApiDcimPlatformsListRequest
*/
-func (a *DcimAPIService) DcimPowerFeedsList(ctx context.Context) ApiDcimPowerFeedsListRequest {
- return ApiDcimPowerFeedsListRequest{
+func (a *DcimAPIService) DcimPlatformsList(ctx context.Context) ApiDcimPlatformsListRequest {
+ return ApiDcimPlatformsListRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return PaginatedPowerFeedList
-func (a *DcimAPIService) DcimPowerFeedsListExecute(r ApiDcimPowerFeedsListRequest) (*PaginatedPowerFeedList, *http.Response, error) {
+// @return PaginatedPlatformList
+func (a *DcimAPIService) DcimPlatformsListExecute(r ApiDcimPlatformsListRequest) (*PaginatedPlatformList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PaginatedPowerFeedList
+ localVarReturnValue *PaginatedPlatformList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerFeedsList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPlatformsList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-feeds/"
+ localVarPath := localBasePath + "/dcim/platforms/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.amperage != nil {
- t := *r.amperage
+ if r.contacts != nil {
+ t := *r.contacts
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "amperage", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "amperage", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", t, "form", "multi")
}
}
- if r.amperageGt != nil {
- t := *r.amperageGt
+ if r.contactsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
+ }
+ if r.contactsN != nil {
+ t := *r.contactsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "amperage__gt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "amperage__gt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
}
}
- if r.amperageGte != nil {
- t := *r.amperageGte
+ if r.created != nil {
+ t := *r.created
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "amperage__gte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "amperage__gte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created", t, "form", "multi")
}
}
- if r.amperageLt != nil {
- t := *r.amperageLt
+ if r.createdGt != nil {
+ t := *r.createdGt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "amperage__lt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "amperage__lt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", t, "form", "multi")
}
}
- if r.amperageLte != nil {
- t := *r.amperageLte
+ if r.createdGte != nil {
+ t := *r.createdGte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "amperage__lte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "amperage__lte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", t, "form", "multi")
}
}
- if r.amperageN != nil {
- t := *r.amperageN
+ if r.createdIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__isnull", r.createdIsnull, "form", "")
+ }
+ if r.createdLt != nil {
+ t := *r.createdLt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "amperage__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "amperage__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", t, "form", "multi")
}
}
- if r.availablePower != nil {
- t := *r.availablePower
+ if r.createdLte != nil {
+ t := *r.createdLte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "available_power", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "available_power", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", t, "form", "multi")
}
}
- if r.availablePowerGt != nil {
- t := *r.availablePowerGt
+ if r.createdN != nil {
+ t := *r.createdN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "available_power__gt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "available_power__gt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "form", "multi")
}
}
- if r.availablePowerGte != nil {
- t := *r.availablePowerGte
+ if r.description != nil {
+ t := *r.description
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "available_power__gte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "available_power__gte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description", t, "form", "multi")
}
}
- if r.availablePowerLt != nil {
- t := *r.availablePowerLt
+ if r.descriptionIc != nil {
+ t := *r.descriptionIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "available_power__lt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "available_power__lt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", t, "form", "multi")
}
}
- if r.availablePowerLte != nil {
- t := *r.availablePowerLte
+ if r.descriptionIe != nil {
+ t := *r.descriptionIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "available_power__lte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "available_power__lte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", t, "form", "multi")
}
}
- if r.availablePowerN != nil {
- t := *r.availablePowerN
+ if r.descriptionIew != nil {
+ t := *r.descriptionIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "available_power__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "available_power__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", t, "form", "multi")
}
}
- if r.cable != nil {
- t := *r.cable
+ if r.descriptionIre != nil {
+ t := *r.descriptionIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "cable", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "cable", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", t, "form", "multi")
}
}
- if r.cableIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "cable__isnull", r.cableIsnull, "form", "")
- }
- if r.cableN != nil {
- t := *r.cableN
+ if r.descriptionIsw != nil {
+ t := *r.descriptionIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "cable__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "cable__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", t, "form", "multi")
}
}
- if r.comments != nil {
- t := *r.comments
+ if r.descriptionN != nil {
+ t := *r.descriptionN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", t, "form", "multi")
}
}
- if r.commentsIc != nil {
- t := *r.commentsIc
+ if r.descriptionNic != nil {
+ t := *r.descriptionNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", t, "form", "multi")
}
}
- if r.commentsIe != nil {
- t := *r.commentsIe
+ if r.descriptionNie != nil {
+ t := *r.descriptionNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", t, "form", "multi")
}
}
- if r.commentsIew != nil {
- t := *r.commentsIew
+ if r.descriptionNiew != nil {
+ t := *r.descriptionNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", t, "form", "multi")
}
}
- if r.commentsIre != nil {
- t := *r.commentsIre
+ if r.descriptionNire != nil {
+ t := *r.descriptionNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", t, "form", "multi")
}
}
- if r.commentsIsw != nil {
- t := *r.commentsIsw
+ if r.descriptionNisw != nil {
+ t := *r.descriptionNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", t, "form", "multi")
}
}
- if r.commentsN != nil {
- t := *r.commentsN
+ if r.descriptionNre != nil {
+ t := *r.descriptionNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", t, "form", "multi")
}
}
- if r.commentsNic != nil {
- t := *r.commentsNic
+ if r.descriptionRe != nil {
+ t := *r.descriptionRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", t, "form", "multi")
}
}
- if r.commentsNie != nil {
- t := *r.commentsNie
+ if r.devices != nil {
+ t := *r.devices
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "devices", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "devices", t, "form", "multi")
}
}
- if r.commentsNiew != nil {
- t := *r.commentsNiew
+ if r.devicesIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "devices__isnull", r.devicesIsnull, "form", "")
+ }
+ if r.devicesN != nil {
+ t := *r.devicesN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "devices__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "devices__n", t, "form", "multi")
}
}
- if r.commentsNire != nil {
- t := *r.commentsNire
+ if r.dynamicGroups != nil {
+ t := *r.dynamicGroups
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
}
}
- if r.commentsNisw != nil {
- t := *r.commentsNisw
+ if r.dynamicGroupsN != nil {
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.commentsNre != nil {
- t := *r.commentsNre
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.hasDevices != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_devices", r.hasDevices, "form", "")
+ }
+ if r.hasVirtualMachines != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_virtual_machines", r.hasVirtualMachines, "form", "")
+ }
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.commentsRe != nil {
- t := *r.commentsRe
+ if r.idN != nil {
+ t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.connected != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "connected", r.connected, "form", "")
- }
- if r.contacts != nil {
- t := *r.contacts
+ if r.lastUpdated != nil {
+ t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "form", "multi")
}
}
- if r.contactsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
- }
- if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
- }
- if r.created != nil {
- t := *r.created
+ if r.lastUpdatedGt != nil {
+ t := *r.lastUpdatedGt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", t, "form", "multi")
}
}
- if r.createdGt != nil {
- t := *r.createdGt
+ if r.lastUpdatedGte != nil {
+ t := *r.lastUpdatedGte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", t, "form", "multi")
}
}
- if r.createdGte != nil {
- t := *r.createdGte
+ if r.lastUpdatedIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__isnull", r.lastUpdatedIsnull, "form", "")
+ }
+ if r.lastUpdatedLt != nil {
+ t := *r.lastUpdatedLt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", t, "form", "multi")
}
}
- if r.createdIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__isnull", r.createdIsnull, "form", "")
- }
- if r.createdLt != nil {
- t := *r.createdLt
+ if r.lastUpdatedLte != nil {
+ t := *r.lastUpdatedLte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", t, "form", "multi")
}
}
- if r.createdLte != nil {
- t := *r.createdLte
+ if r.lastUpdatedN != nil {
+ t := *r.lastUpdatedN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", t, "form", "multi")
}
}
- if r.createdN != nil {
- t := *r.createdN
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ }
+ if r.manufacturer != nil {
+ t := *r.manufacturer
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer", t, "form", "multi")
}
}
- if r.dynamicGroups != nil {
- t := *r.dynamicGroups
+ if r.manufacturerIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer__isnull", r.manufacturerIsnull, "form", "")
+ }
+ if r.manufacturerN != nil {
+ t := *r.manufacturerN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "manufacturer__n", t, "form", "multi")
}
}
- if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.hasCable != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_cable", r.hasCable, "form", "")
- }
- if r.id != nil {
- t := *r.id
+ if r.name != nil {
+ t := *r.name
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
+ if r.nameIc != nil {
+ t := *r.nameIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", t, "form", "multi")
}
}
- if r.idIe != nil {
- t := *r.idIe
+ if r.nameIe != nil {
+ t := *r.nameIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", t, "form", "multi")
}
}
- if r.idIew != nil {
- t := *r.idIew
+ if r.nameIew != nil {
+ t := *r.nameIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", t, "form", "multi")
}
}
- if r.idIre != nil {
- t := *r.idIre
+ if r.nameIre != nil {
+ t := *r.nameIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", t, "form", "multi")
}
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.nameIsw != nil {
+ t := *r.nameIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", t, "form", "multi")
}
}
- if r.idN != nil {
- t := *r.idN
+ if r.nameN != nil {
+ t := *r.nameN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
+ if r.nameNic != nil {
+ t := *r.nameNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", t, "form", "multi")
}
}
- if r.idNie != nil {
- t := *r.idNie
+ if r.nameNie != nil {
+ t := *r.nameNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", t, "form", "multi")
}
}
- if r.idNiew != nil {
- t := *r.idNiew
+ if r.nameNiew != nil {
+ t := *r.nameNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", t, "form", "multi")
}
}
- if r.idNire != nil {
- t := *r.idNire
+ if r.nameNire != nil {
+ t := *r.nameNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", t, "form", "multi")
}
}
- if r.idNisw != nil {
- t := *r.idNisw
+ if r.nameNisw != nil {
+ t := *r.nameNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", t, "form", "multi")
}
}
- if r.idNre != nil {
- t := *r.idNre
+ if r.nameNre != nil {
+ t := *r.nameNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", t, "form", "multi")
}
}
- if r.idRe != nil {
- t := *r.idRe
+ if r.nameRe != nil {
+ t := *r.nameRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", t, "form", "multi")
}
}
- if r.lastUpdated != nil {
- t := *r.lastUpdated
+ if r.napalmArgs != nil {
+ t := *r.napalmArgs
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_args", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_args", t, "form", "multi")
}
}
- if r.lastUpdatedGt != nil {
- t := *r.lastUpdatedGt
+ if r.napalmDriver != nil {
+ t := *r.napalmDriver
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver", t, "form", "multi")
}
}
- if r.lastUpdatedGte != nil {
- t := *r.lastUpdatedGte
+ if r.napalmDriverIc != nil {
+ t := *r.napalmDriverIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__ic", t, "form", "multi")
}
}
- if r.lastUpdatedIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__isnull", r.lastUpdatedIsnull, "form", "")
- }
- if r.lastUpdatedLt != nil {
- t := *r.lastUpdatedLt
+ if r.napalmDriverIe != nil {
+ t := *r.napalmDriverIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__ie", t, "form", "multi")
}
}
- if r.lastUpdatedLte != nil {
- t := *r.lastUpdatedLte
+ if r.napalmDriverIew != nil {
+ t := *r.napalmDriverIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__iew", t, "form", "multi")
}
}
- if r.lastUpdatedN != nil {
- t := *r.lastUpdatedN
+ if r.napalmDriverIre != nil {
+ t := *r.napalmDriverIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__ire", t, "form", "multi")
}
}
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
- }
- if r.location != nil {
- t := *r.location
+ if r.napalmDriverIsw != nil {
+ t := *r.napalmDriverIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__isw", t, "form", "multi")
}
}
- if r.locationN != nil {
- t := *r.locationN
+ if r.napalmDriverN != nil {
+ t := *r.napalmDriverN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__n", t, "form", "multi")
}
}
- if r.maxUtilization != nil {
- t := *r.maxUtilization
+ if r.napalmDriverNic != nil {
+ t := *r.napalmDriverNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "max_utilization", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "max_utilization", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__nic", t, "form", "multi")
}
}
- if r.maxUtilizationGt != nil {
- t := *r.maxUtilizationGt
+ if r.napalmDriverNie != nil {
+ t := *r.napalmDriverNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "max_utilization__gt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "max_utilization__gt", t, "form", "multi")
- }
- }
- if r.maxUtilizationGte != nil {
- t := *r.maxUtilizationGte
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "max_utilization__gte", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "max_utilization__gte", t, "form", "multi")
- }
- }
- if r.maxUtilizationLt != nil {
- t := *r.maxUtilizationLt
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "max_utilization__lt", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "max_utilization__lt", t, "form", "multi")
- }
- }
- if r.maxUtilizationLte != nil {
- t := *r.maxUtilizationLte
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "max_utilization__lte", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "max_utilization__lte", t, "form", "multi")
- }
- }
- if r.maxUtilizationN != nil {
- t := *r.maxUtilizationN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "max_utilization__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "max_utilization__n", t, "form", "multi")
- }
- }
- if r.name != nil {
- t := *r.name
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name", t, "form", "multi")
- }
- }
- if r.nameIc != nil {
- t := *r.nameIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", t, "form", "multi")
- }
- }
- if r.nameIe != nil {
- t := *r.nameIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", t, "form", "multi")
- }
- }
- if r.nameIew != nil {
- t := *r.nameIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", t, "form", "multi")
- }
- }
- if r.nameIre != nil {
- t := *r.nameIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", t, "form", "multi")
- }
- }
- if r.nameIsw != nil {
- t := *r.nameIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", t, "form", "multi")
- }
- }
- if r.nameN != nil {
- t := *r.nameN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", t, "form", "multi")
- }
- }
- if r.nameNic != nil {
- t := *r.nameNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", t, "form", "multi")
- }
- }
- if r.nameNie != nil {
- t := *r.nameNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", t, "form", "multi")
- }
- }
- if r.nameNiew != nil {
- t := *r.nameNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__nie", t, "form", "multi")
}
}
- if r.nameNire != nil {
- t := *r.nameNire
+ if r.napalmDriverNiew != nil {
+ t := *r.napalmDriverNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__niew", t, "form", "multi")
}
}
- if r.nameNisw != nil {
- t := *r.nameNisw
+ if r.napalmDriverNire != nil {
+ t := *r.napalmDriverNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__nire", t, "form", "multi")
}
}
- if r.nameNre != nil {
- t := *r.nameNre
+ if r.napalmDriverNisw != nil {
+ t := *r.napalmDriverNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__nisw", t, "form", "multi")
}
}
- if r.nameRe != nil {
- t := *r.nameRe
+ if r.napalmDriverNre != nil {
+ t := *r.napalmDriverNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__nre", t, "form", "multi")
}
}
- if r.offset != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
- }
- if r.phase != nil {
- t := *r.phase
+ if r.napalmDriverRe != nil {
+ t := *r.napalmDriverRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "phase", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "phase", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "napalm_driver__re", t, "form", "multi")
}
}
- if r.phaseIc != nil {
- t := *r.phaseIc
+ if r.networkDriver != nil {
+ t := *r.networkDriver
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "phase__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "phase__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver", t, "form", "multi")
}
}
- if r.phaseIe != nil {
- t := *r.phaseIe
+ if r.networkDriverIc != nil {
+ t := *r.networkDriverIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "phase__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "phase__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__ic", t, "form", "multi")
}
}
- if r.phaseIew != nil {
- t := *r.phaseIew
+ if r.networkDriverIe != nil {
+ t := *r.networkDriverIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "phase__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "phase__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__ie", t, "form", "multi")
}
}
- if r.phaseIre != nil {
- t := *r.phaseIre
+ if r.networkDriverIew != nil {
+ t := *r.networkDriverIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "phase__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "phase__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__iew", t, "form", "multi")
}
}
- if r.phaseIsw != nil {
- t := *r.phaseIsw
+ if r.networkDriverIre != nil {
+ t := *r.networkDriverIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "phase__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "phase__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__ire", t, "form", "multi")
}
}
- if r.phaseN != nil {
- t := *r.phaseN
+ if r.networkDriverIsw != nil {
+ t := *r.networkDriverIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "phase__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "phase__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__isw", t, "form", "multi")
}
}
- if r.phaseNic != nil {
- t := *r.phaseNic
+ if r.networkDriverN != nil {
+ t := *r.networkDriverN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "phase__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "phase__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__n", t, "form", "multi")
}
}
- if r.phaseNie != nil {
- t := *r.phaseNie
+ if r.networkDriverNic != nil {
+ t := *r.networkDriverNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "phase__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "phase__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__nic", t, "form", "multi")
}
}
- if r.phaseNiew != nil {
- t := *r.phaseNiew
+ if r.networkDriverNie != nil {
+ t := *r.networkDriverNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "phase__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "phase__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__nie", t, "form", "multi")
}
}
- if r.phaseNire != nil {
- t := *r.phaseNire
+ if r.networkDriverNiew != nil {
+ t := *r.networkDriverNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "phase__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "phase__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__niew", t, "form", "multi")
}
}
- if r.phaseNisw != nil {
- t := *r.phaseNisw
+ if r.networkDriverNire != nil {
+ t := *r.networkDriverNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "phase__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "phase__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__nire", t, "form", "multi")
}
}
- if r.phaseNre != nil {
- t := *r.phaseNre
+ if r.networkDriverNisw != nil {
+ t := *r.networkDriverNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "phase__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "phase__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__nisw", t, "form", "multi")
}
}
- if r.phaseRe != nil {
- t := *r.phaseRe
+ if r.networkDriverNre != nil {
+ t := *r.networkDriverNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "phase__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "phase__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__nre", t, "form", "multi")
}
}
- if r.powerPanel != nil {
- t := *r.powerPanel
+ if r.networkDriverRe != nil {
+ t := *r.networkDriverRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_panel", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_panel", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "network_driver__re", t, "form", "multi")
}
}
- if r.powerPanelN != nil {
- t := *r.powerPanelN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_panel__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_panel__n", t, "form", "multi")
- }
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
}
if r.q != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
}
- if r.rack != nil {
- t := *r.rack
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rack", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rack", t, "form", "multi")
- }
- }
- if r.rackIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rack__isnull", r.rackIsnull, "form", "")
- }
- if r.rackN != nil {
- t := *r.rackN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rack__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rack__n", t, "form", "multi")
- }
- }
if r.sort != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
}
- if r.status != nil {
- t := *r.status
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "status", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "status", t, "form", "multi")
- }
- }
- if r.statusN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", r.statusN, "form", "")
- }
- if r.supply != nil {
- t := *r.supply
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "supply", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "supply", t, "form", "multi")
- }
- }
- if r.supplyIc != nil {
- t := *r.supplyIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "supply__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "supply__ic", t, "form", "multi")
- }
- }
- if r.supplyIe != nil {
- t := *r.supplyIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "supply__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "supply__ie", t, "form", "multi")
- }
- }
- if r.supplyIew != nil {
- t := *r.supplyIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "supply__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "supply__iew", t, "form", "multi")
- }
- }
- if r.supplyIre != nil {
- t := *r.supplyIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "supply__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "supply__ire", t, "form", "multi")
- }
- }
- if r.supplyIsw != nil {
- t := *r.supplyIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "supply__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "supply__isw", t, "form", "multi")
- }
- }
- if r.supplyN != nil {
- t := *r.supplyN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "supply__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "supply__n", t, "form", "multi")
- }
- }
- if r.supplyNic != nil {
- t := *r.supplyNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "supply__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "supply__nic", t, "form", "multi")
- }
- }
- if r.supplyNie != nil {
- t := *r.supplyNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "supply__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "supply__nie", t, "form", "multi")
- }
- }
- if r.supplyNiew != nil {
- t := *r.supplyNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "supply__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "supply__niew", t, "form", "multi")
- }
- }
- if r.supplyNire != nil {
- t := *r.supplyNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "supply__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "supply__nire", t, "form", "multi")
- }
- }
- if r.supplyNisw != nil {
- t := *r.supplyNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "supply__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "supply__nisw", t, "form", "multi")
- }
- }
- if r.supplyNre != nil {
- t := *r.supplyNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "supply__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "supply__nre", t, "form", "multi")
- }
- }
- if r.supplyRe != nil {
- t := *r.supplyRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "supply__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "supply__re", t, "form", "multi")
- }
- }
- if r.tags != nil {
- t := *r.tags
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags", t, "form", "multi")
- }
- }
- if r.tagsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags__isnull", r.tagsIsnull, "form", "")
- }
- if r.tagsN != nil {
- t := *r.tagsN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", t, "form", "multi")
- }
- }
if r.teams != nil {
t := *r.teams
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -98548,233 +92334,54 @@ func (a *DcimAPIService) DcimPowerFeedsListExecute(r ApiDcimPowerFeedsListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
- }
- if r.type_ != nil {
- t := *r.type_
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type", t, "form", "multi")
- }
- }
- if r.typeIc != nil {
- t := *r.typeIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__ic", t, "form", "multi")
- }
- }
- if r.typeIe != nil {
- t := *r.typeIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__ie", t, "form", "multi")
- }
- }
- if r.typeIew != nil {
- t := *r.typeIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__iew", t, "form", "multi")
- }
- }
- if r.typeIre != nil {
- t := *r.typeIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__ire", t, "form", "multi")
- }
- }
- if r.typeIsw != nil {
- t := *r.typeIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__isw", t, "form", "multi")
- }
- }
- if r.typeN != nil {
- t := *r.typeN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", t, "form", "multi")
- }
- }
- if r.typeNic != nil {
- t := *r.typeNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nic", t, "form", "multi")
- }
- }
- if r.typeNie != nil {
- t := *r.typeNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nie", t, "form", "multi")
- }
- }
- if r.typeNiew != nil {
- t := *r.typeNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__niew", t, "form", "multi")
- }
- }
- if r.typeNire != nil {
- t := *r.typeNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nire", t, "form", "multi")
- }
- }
- if r.typeNisw != nil {
- t := *r.typeNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nisw", t, "form", "multi")
- }
- }
- if r.typeNre != nil {
- t := *r.typeNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nre", t, "form", "multi")
- }
- }
- if r.typeRe != nil {
- t := *r.typeRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__re", t, "form", "multi")
- }
- }
- if r.voltage != nil {
- t := *r.voltage
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "voltage", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "voltage", t, "form", "multi")
- }
- }
- if r.voltageGt != nil {
- t := *r.voltageGt
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "voltage__gt", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "voltage__gt", t, "form", "multi")
- }
- }
- if r.voltageGte != nil {
- t := *r.voltageGte
+ t := *r.teamsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "voltage__gte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "voltage__gte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
}
}
- if r.voltageLt != nil {
- t := *r.voltageLt
+ if r.virtualMachines != nil {
+ t := *r.virtualMachines
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "voltage__lt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machines", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "voltage__lt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machines", t, "form", "multi")
}
}
- if r.voltageLte != nil {
- t := *r.voltageLte
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "voltage__lte", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "voltage__lte", t, "form", "multi")
- }
+ if r.virtualMachinesIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machines__isnull", r.virtualMachinesIsnull, "form", "")
}
- if r.voltageN != nil {
- t := *r.voltageN
+ if r.virtualMachinesN != nil {
+ t := *r.virtualMachinesN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "voltage__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machines__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "voltage__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machines__n", t, "form", "multi")
}
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -98844,7 +92451,7 @@ func (a *DcimAPIService) DcimPowerFeedsListExecute(r ApiDcimPowerFeedsListReques
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerFeedsNotesCreateRequest struct {
+type ApiDcimPlatformsNotesCreateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
@@ -98852,31 +92459,31 @@ type ApiDcimPowerFeedsNotesCreateRequest struct {
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerFeedsNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimPowerFeedsNotesCreateRequest {
+func (r ApiDcimPlatformsNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimPlatformsNotesCreateRequest {
r.noteInputRequest = ¬eInputRequest
return r
}
-func (r ApiDcimPowerFeedsNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerFeedsNotesCreateRequest {
+func (r ApiDcimPlatformsNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPlatformsNotesCreateRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerFeedsNotesCreateRequest) Execute() (*Note, *http.Response, error) {
- return r.ApiService.DcimPowerFeedsNotesCreateExecute(r)
+func (r ApiDcimPlatformsNotesCreateRequest) Execute() (*Note, *http.Response, error) {
+ return r.ApiService.DcimPlatformsNotesCreateExecute(r)
}
/*
-DcimPowerFeedsNotesCreate Method for DcimPowerFeedsNotesCreate
+DcimPlatformsNotesCreate Method for DcimPlatformsNotesCreate
API methods for returning or creating notes on an object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power feed.
- @return ApiDcimPowerFeedsNotesCreateRequest
+ @param id A UUID string identifying this platform.
+ @return ApiDcimPlatformsNotesCreateRequest
*/
-func (a *DcimAPIService) DcimPowerFeedsNotesCreate(ctx context.Context, id string) ApiDcimPowerFeedsNotesCreateRequest {
- return ApiDcimPowerFeedsNotesCreateRequest{
+func (a *DcimAPIService) DcimPlatformsNotesCreate(ctx context.Context, id string) ApiDcimPlatformsNotesCreateRequest {
+ return ApiDcimPlatformsNotesCreateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -98885,7 +92492,7 @@ func (a *DcimAPIService) DcimPowerFeedsNotesCreate(ctx context.Context, id strin
// Execute executes the request
// @return Note
-func (a *DcimAPIService) DcimPowerFeedsNotesCreateExecute(r ApiDcimPowerFeedsNotesCreateRequest) (*Note, *http.Response, error) {
+func (a *DcimAPIService) DcimPlatformsNotesCreateExecute(r ApiDcimPlatformsNotesCreateRequest) (*Note, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -98893,12 +92500,12 @@ func (a *DcimAPIService) DcimPowerFeedsNotesCreateExecute(r ApiDcimPowerFeedsNot
localVarReturnValue *Note
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerFeedsNotesCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPlatformsNotesCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-feeds/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/platforms/{id}/notes/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -98981,7 +92588,7 @@ func (a *DcimAPIService) DcimPowerFeedsNotesCreateExecute(r ApiDcimPowerFeedsNot
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerFeedsNotesListRequest struct {
+type ApiDcimPlatformsNotesListRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
@@ -98989,46 +92596,53 @@ type ApiDcimPowerFeedsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimPowerFeedsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerFeedsNotesListRequest {
+func (r ApiDcimPlatformsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPlatformsNotesListRequest {
r.format = &format
return r
}
// Number of results to return per page.
-func (r ApiDcimPowerFeedsNotesListRequest) Limit(limit int32) ApiDcimPowerFeedsNotesListRequest {
+func (r ApiDcimPlatformsNotesListRequest) Limit(limit int32) ApiDcimPlatformsNotesListRequest {
r.limit = &limit
return r
}
// The initial index from which to return the results.
-func (r ApiDcimPowerFeedsNotesListRequest) Offset(offset int32) ApiDcimPowerFeedsNotesListRequest {
+func (r ApiDcimPlatformsNotesListRequest) Offset(offset int32) ApiDcimPlatformsNotesListRequest {
r.offset = &offset
return r
}
// Serializer Depth
-func (r ApiDcimPowerFeedsNotesListRequest) Depth(depth int32) ApiDcimPowerFeedsNotesListRequest {
+func (r ApiDcimPlatformsNotesListRequest) Depth(depth int32) ApiDcimPlatformsNotesListRequest {
r.depth = &depth
return r
}
-func (r ApiDcimPowerFeedsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
- return r.ApiService.DcimPowerFeedsNotesListExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimPlatformsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimPlatformsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimPlatformsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
+ return r.ApiService.DcimPlatformsNotesListExecute(r)
}
/*
-DcimPowerFeedsNotesList Method for DcimPowerFeedsNotesList
+DcimPlatformsNotesList Method for DcimPlatformsNotesList
API methods for returning or creating notes on an object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power feed.
- @return ApiDcimPowerFeedsNotesListRequest
+ @param id A UUID string identifying this platform.
+ @return ApiDcimPlatformsNotesListRequest
*/
-func (a *DcimAPIService) DcimPowerFeedsNotesList(ctx context.Context, id string) ApiDcimPowerFeedsNotesListRequest {
- return ApiDcimPowerFeedsNotesListRequest{
+func (a *DcimAPIService) DcimPlatformsNotesList(ctx context.Context, id string) ApiDcimPlatformsNotesListRequest {
+ return ApiDcimPlatformsNotesListRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -99037,7 +92651,7 @@ func (a *DcimAPIService) DcimPowerFeedsNotesList(ctx context.Context, id string)
// Execute executes the request
// @return PaginatedNoteList
-func (a *DcimAPIService) DcimPowerFeedsNotesListExecute(r ApiDcimPowerFeedsNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
+func (a *DcimAPIService) DcimPlatformsNotesListExecute(r ApiDcimPlatformsNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -99045,12 +92659,12 @@ func (a *DcimAPIService) DcimPowerFeedsNotesListExecute(r ApiDcimPowerFeedsNotes
localVarReturnValue *PaginatedNoteList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerFeedsNotesList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPlatformsNotesList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-feeds/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/platforms/{id}/notes/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -99069,8 +92683,16 @@ func (a *DcimAPIService) DcimPowerFeedsNotesListExecute(r ApiDcimPowerFeedsNotes
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -99140,39 +92762,39 @@ func (a *DcimAPIService) DcimPowerFeedsNotesListExecute(r ApiDcimPowerFeedsNotes
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerFeedsPartialUpdateRequest struct {
+type ApiDcimPlatformsPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
- patchedWritablePowerFeedRequest *PatchedWritablePowerFeedRequest
+ patchedPlatformRequest *PatchedPlatformRequest
}
-func (r ApiDcimPowerFeedsPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerFeedsPartialUpdateRequest {
+func (r ApiDcimPlatformsPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPlatformsPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerFeedsPartialUpdateRequest) PatchedWritablePowerFeedRequest(patchedWritablePowerFeedRequest PatchedWritablePowerFeedRequest) ApiDcimPowerFeedsPartialUpdateRequest {
- r.patchedWritablePowerFeedRequest = &patchedWritablePowerFeedRequest
+func (r ApiDcimPlatformsPartialUpdateRequest) PatchedPlatformRequest(patchedPlatformRequest PatchedPlatformRequest) ApiDcimPlatformsPartialUpdateRequest {
+ r.patchedPlatformRequest = &patchedPlatformRequest
return r
}
-func (r ApiDcimPowerFeedsPartialUpdateRequest) Execute() (*PowerFeed, *http.Response, error) {
- return r.ApiService.DcimPowerFeedsPartialUpdateExecute(r)
+func (r ApiDcimPlatformsPartialUpdateRequest) Execute() (*Platform, *http.Response, error) {
+ return r.ApiService.DcimPlatformsPartialUpdateExecute(r)
}
/*
-DcimPowerFeedsPartialUpdate Method for DcimPowerFeedsPartialUpdate
+DcimPlatformsPartialUpdate Method for DcimPlatformsPartialUpdate
-Partial update a power feed object.
+Partial update a platform object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power feed.
- @return ApiDcimPowerFeedsPartialUpdateRequest
+ @param id A UUID string identifying this platform.
+ @return ApiDcimPlatformsPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimPowerFeedsPartialUpdate(ctx context.Context, id string) ApiDcimPowerFeedsPartialUpdateRequest {
- return ApiDcimPowerFeedsPartialUpdateRequest{
+func (a *DcimAPIService) DcimPlatformsPartialUpdate(ctx context.Context, id string) ApiDcimPlatformsPartialUpdateRequest {
+ return ApiDcimPlatformsPartialUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -99180,21 +92802,21 @@ func (a *DcimAPIService) DcimPowerFeedsPartialUpdate(ctx context.Context, id str
}
// Execute executes the request
-// @return PowerFeed
-func (a *DcimAPIService) DcimPowerFeedsPartialUpdateExecute(r ApiDcimPowerFeedsPartialUpdateRequest) (*PowerFeed, *http.Response, error) {
+// @return Platform
+func (a *DcimAPIService) DcimPlatformsPartialUpdateExecute(r ApiDcimPlatformsPartialUpdateRequest) (*Platform, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PowerFeed
+ localVarReturnValue *Platform
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerFeedsPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPlatformsPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-feeds/{id}/"
+ localVarPath := localBasePath + "/dcim/platforms/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -99222,7 +92844,7 @@ func (a *DcimAPIService) DcimPowerFeedsPartialUpdateExecute(r ApiDcimPowerFeedsP
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedWritablePowerFeedRequest
+ localVarPostBody = r.patchedPlatformRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -99274,40 +92896,47 @@ func (a *DcimAPIService) DcimPowerFeedsPartialUpdateExecute(r ApiDcimPowerFeedsP
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerFeedsRetrieveRequest struct {
+type ApiDcimPlatformsRetrieveRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimPowerFeedsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerFeedsRetrieveRequest {
+func (r ApiDcimPlatformsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPlatformsRetrieveRequest {
r.format = &format
return r
}
// Serializer Depth
-func (r ApiDcimPowerFeedsRetrieveRequest) Depth(depth int32) ApiDcimPowerFeedsRetrieveRequest {
+func (r ApiDcimPlatformsRetrieveRequest) Depth(depth int32) ApiDcimPlatformsRetrieveRequest {
r.depth = &depth
return r
}
-func (r ApiDcimPowerFeedsRetrieveRequest) Execute() (*PowerFeed, *http.Response, error) {
- return r.ApiService.DcimPowerFeedsRetrieveExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimPlatformsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimPlatformsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimPlatformsRetrieveRequest) Execute() (*Platform, *http.Response, error) {
+ return r.ApiService.DcimPlatformsRetrieveExecute(r)
}
/*
-DcimPowerFeedsRetrieve Method for DcimPowerFeedsRetrieve
+DcimPlatformsRetrieve Method for DcimPlatformsRetrieve
-Retrieve a power feed object.
+Retrieve a platform object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power feed.
- @return ApiDcimPowerFeedsRetrieveRequest
+ @param id A UUID string identifying this platform.
+ @return ApiDcimPlatformsRetrieveRequest
*/
-func (a *DcimAPIService) DcimPowerFeedsRetrieve(ctx context.Context, id string) ApiDcimPowerFeedsRetrieveRequest {
- return ApiDcimPowerFeedsRetrieveRequest{
+func (a *DcimAPIService) DcimPlatformsRetrieve(ctx context.Context, id string) ApiDcimPlatformsRetrieveRequest {
+ return ApiDcimPlatformsRetrieveRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -99315,21 +92944,21 @@ func (a *DcimAPIService) DcimPowerFeedsRetrieve(ctx context.Context, id string)
}
// Execute executes the request
-// @return PowerFeed
-func (a *DcimAPIService) DcimPowerFeedsRetrieveExecute(r ApiDcimPowerFeedsRetrieveRequest) (*PowerFeed, *http.Response, error) {
+// @return Platform
+func (a *DcimAPIService) DcimPlatformsRetrieveExecute(r ApiDcimPlatformsRetrieveRequest) (*Platform, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PowerFeed
+ localVarReturnValue *Platform
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerFeedsRetrieve")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPlatformsRetrieve")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-feeds/{id}/"
+ localVarPath := localBasePath + "/dcim/platforms/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -99342,8 +92971,16 @@ func (a *DcimAPIService) DcimPowerFeedsRetrieveExecute(r ApiDcimPowerFeedsRetrie
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -99413,40 +93050,39 @@ func (a *DcimAPIService) DcimPowerFeedsRetrieveExecute(r ApiDcimPowerFeedsRetrie
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerFeedsTraceRetrieveRequest struct {
+type ApiDcimPlatformsUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
+ platformRequest *PlatformRequest
format *CircuitsCircuitTerminationsListFormatParameter
- depth *int32
}
-func (r ApiDcimPowerFeedsTraceRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerFeedsTraceRetrieveRequest {
- r.format = &format
+func (r ApiDcimPlatformsUpdateRequest) PlatformRequest(platformRequest PlatformRequest) ApiDcimPlatformsUpdateRequest {
+ r.platformRequest = &platformRequest
return r
}
-// Serializer Depth
-func (r ApiDcimPowerFeedsTraceRetrieveRequest) Depth(depth int32) ApiDcimPowerFeedsTraceRetrieveRequest {
- r.depth = &depth
+func (r ApiDcimPlatformsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPlatformsUpdateRequest {
+ r.format = &format
return r
}
-func (r ApiDcimPowerFeedsTraceRetrieveRequest) Execute() (*PowerFeed, *http.Response, error) {
- return r.ApiService.DcimPowerFeedsTraceRetrieveExecute(r)
+func (r ApiDcimPlatformsUpdateRequest) Execute() (*Platform, *http.Response, error) {
+ return r.ApiService.DcimPlatformsUpdateExecute(r)
}
/*
-DcimPowerFeedsTraceRetrieve Method for DcimPowerFeedsTraceRetrieve
+DcimPlatformsUpdate Method for DcimPlatformsUpdate
-Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination).
+Update a platform object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power feed.
- @return ApiDcimPowerFeedsTraceRetrieveRequest
+ @param id A UUID string identifying this platform.
+ @return ApiDcimPlatformsUpdateRequest
*/
-func (a *DcimAPIService) DcimPowerFeedsTraceRetrieve(ctx context.Context, id string) ApiDcimPowerFeedsTraceRetrieveRequest {
- return ApiDcimPowerFeedsTraceRetrieveRequest{
+func (a *DcimAPIService) DcimPlatformsUpdate(ctx context.Context, id string) ApiDcimPlatformsUpdateRequest {
+ return ApiDcimPlatformsUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -99454,38 +93090,35 @@ func (a *DcimAPIService) DcimPowerFeedsTraceRetrieve(ctx context.Context, id str
}
// Execute executes the request
-// @return PowerFeed
-func (a *DcimAPIService) DcimPowerFeedsTraceRetrieveExecute(r ApiDcimPowerFeedsTraceRetrieveRequest) (*PowerFeed, *http.Response, error) {
+// @return Platform
+func (a *DcimAPIService) DcimPlatformsUpdateExecute(r ApiDcimPlatformsUpdateRequest) (*Platform, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodGet
+ localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PowerFeed
+ localVarReturnValue *Platform
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerFeedsTraceRetrieve")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPlatformsUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-feeds/{id}/trace/"
+ localVarPath := localBasePath + "/dcim/platforms/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
+ if r.platformRequest == nil {
+ return localVarReturnValue, nil, reportError("platformRequest is required and must be specified")
+ }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.depth != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
- } else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
- }
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -99501,6 +93134,8 @@ func (a *DcimAPIService) DcimPowerFeedsTraceRetrieveExecute(r ApiDcimPowerFeedsT
if localVarHTTPHeaderAccept != "" {
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
+ // body params
+ localVarPostBody = r.platformRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -99552,75 +93187,561 @@ func (a *DcimAPIService) DcimPowerFeedsTraceRetrieveExecute(r ApiDcimPowerFeedsT
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerFeedsUpdateRequest struct {
+type ApiDcimPowerConnectionsListRequest struct {
ctx context.Context
ApiService *DcimAPIService
- id string
- writablePowerFeedRequest *WritablePowerFeedRequest
+ contacts *[]string
+ contactsIsnull *bool
+ contactsN *[]string
+ device *[]string
+ deviceId *[]string
+ dynamicGroups *[]string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
+ id *[]string
+ idN *[]string
+ limit *int32
+ location *string
+ name *[]string
+ nameIc *[]string
+ nameIe *[]string
+ nameIew *[]string
+ nameIre *[]string
+ nameIsw *[]string
+ nameN *[]string
+ nameNic *[]string
+ nameNie *[]string
+ nameNiew *[]string
+ nameNire *[]string
+ nameNisw *[]string
+ nameNre *[]string
+ nameRe *[]string
+ offset *int32
+ sort *string
+ teams *[]string
+ teamsIsnull *bool
+ teamsN *[]string
+ depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimPowerFeedsUpdateRequest) WritablePowerFeedRequest(writablePowerFeedRequest WritablePowerFeedRequest) ApiDcimPowerFeedsUpdateRequest {
- r.writablePowerFeedRequest = &writablePowerFeedRequest
+func (r ApiDcimPowerConnectionsListRequest) Contacts(contacts []string) ApiDcimPowerConnectionsListRequest {
+ r.contacts = &contacts
return r
}
-func (r ApiDcimPowerFeedsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerFeedsUpdateRequest {
- r.format = &format
+// Contacts (name or ID) is null
+func (r ApiDcimPowerConnectionsListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimPowerConnectionsListRequest {
+ r.contactsIsnull = &contactsIsnull
return r
}
-func (r ApiDcimPowerFeedsUpdateRequest) Execute() (*PowerFeed, *http.Response, error) {
- return r.ApiService.DcimPowerFeedsUpdateExecute(r)
+func (r ApiDcimPowerConnectionsListRequest) ContactsN(contactsN []string) ApiDcimPowerConnectionsListRequest {
+ r.contactsN = &contactsN
+ return r
}
-/*
-DcimPowerFeedsUpdate Method for DcimPowerFeedsUpdate
+// Device (name)
+func (r ApiDcimPowerConnectionsListRequest) Device(device []string) ApiDcimPowerConnectionsListRequest {
+ r.device = &device
+ return r
+}
-Update a power feed object.
+// Device (ID)
+func (r ApiDcimPowerConnectionsListRequest) DeviceId(deviceId []string) ApiDcimPowerConnectionsListRequest {
+ r.deviceId = &deviceId
+ return r
+}
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power feed.
- @return ApiDcimPowerFeedsUpdateRequest
-*/
-func (a *DcimAPIService) DcimPowerFeedsUpdate(ctx context.Context, id string) ApiDcimPowerFeedsUpdateRequest {
- return ApiDcimPowerFeedsUpdateRequest{
- ApiService: a,
- ctx: ctx,
- id: id,
- }
+func (r ApiDcimPowerConnectionsListRequest) DynamicGroups(dynamicGroups []string) ApiDcimPowerConnectionsListRequest {
+ r.dynamicGroups = &dynamicGroups
+ return r
}
-// Execute executes the request
-// @return PowerFeed
-func (a *DcimAPIService) DcimPowerFeedsUpdateExecute(r ApiDcimPowerFeedsUpdateRequest) (*PowerFeed, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPut
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *PowerFeed
- )
+func (r ApiDcimPowerConnectionsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimPowerConnectionsListRequest {
+ r.dynamicGroupsN = &dynamicGroupsN
+ return r
+}
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerFeedsUpdate")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+func (r ApiDcimPowerConnectionsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerConnectionsListRequest {
+ r.format = &format
+ return r
+}
+
+// Unique object identifier, either a UUID primary key or a composite key.
+func (r ApiDcimPowerConnectionsListRequest) Id(id []string) ApiDcimPowerConnectionsListRequest {
+ r.id = &id
+ return r
+}
+
+func (r ApiDcimPowerConnectionsListRequest) IdN(idN []string) ApiDcimPowerConnectionsListRequest {
+ r.idN = &idN
+ return r
+}
+
+// Number of results to return per page.
+func (r ApiDcimPowerConnectionsListRequest) Limit(limit int32) ApiDcimPowerConnectionsListRequest {
+ r.limit = &limit
+ return r
+}
+
+// Location (name)
+func (r ApiDcimPowerConnectionsListRequest) Location(location string) ApiDcimPowerConnectionsListRequest {
+ r.location = &location
+ return r
+}
+
+func (r ApiDcimPowerConnectionsListRequest) Name(name []string) ApiDcimPowerConnectionsListRequest {
+ r.name = &name
+ return r
+}
+
+func (r ApiDcimPowerConnectionsListRequest) NameIc(nameIc []string) ApiDcimPowerConnectionsListRequest {
+ r.nameIc = &nameIc
+ return r
+}
+
+func (r ApiDcimPowerConnectionsListRequest) NameIe(nameIe []string) ApiDcimPowerConnectionsListRequest {
+ r.nameIe = &nameIe
+ return r
+}
+
+func (r ApiDcimPowerConnectionsListRequest) NameIew(nameIew []string) ApiDcimPowerConnectionsListRequest {
+ r.nameIew = &nameIew
+ return r
+}
+
+func (r ApiDcimPowerConnectionsListRequest) NameIre(nameIre []string) ApiDcimPowerConnectionsListRequest {
+ r.nameIre = &nameIre
+ return r
+}
+
+func (r ApiDcimPowerConnectionsListRequest) NameIsw(nameIsw []string) ApiDcimPowerConnectionsListRequest {
+ r.nameIsw = &nameIsw
+ return r
+}
+
+func (r ApiDcimPowerConnectionsListRequest) NameN(nameN []string) ApiDcimPowerConnectionsListRequest {
+ r.nameN = &nameN
+ return r
+}
+
+func (r ApiDcimPowerConnectionsListRequest) NameNic(nameNic []string) ApiDcimPowerConnectionsListRequest {
+ r.nameNic = &nameNic
+ return r
+}
+
+func (r ApiDcimPowerConnectionsListRequest) NameNie(nameNie []string) ApiDcimPowerConnectionsListRequest {
+ r.nameNie = &nameNie
+ return r
+}
+
+func (r ApiDcimPowerConnectionsListRequest) NameNiew(nameNiew []string) ApiDcimPowerConnectionsListRequest {
+ r.nameNiew = &nameNiew
+ return r
+}
+
+func (r ApiDcimPowerConnectionsListRequest) NameNire(nameNire []string) ApiDcimPowerConnectionsListRequest {
+ r.nameNire = &nameNire
+ return r
+}
+
+func (r ApiDcimPowerConnectionsListRequest) NameNisw(nameNisw []string) ApiDcimPowerConnectionsListRequest {
+ r.nameNisw = &nameNisw
+ return r
+}
+
+func (r ApiDcimPowerConnectionsListRequest) NameNre(nameNre []string) ApiDcimPowerConnectionsListRequest {
+ r.nameNre = &nameNre
+ return r
+}
+
+func (r ApiDcimPowerConnectionsListRequest) NameRe(nameRe []string) ApiDcimPowerConnectionsListRequest {
+ r.nameRe = &nameRe
+ return r
+}
+
+// The initial index from which to return the results.
+func (r ApiDcimPowerConnectionsListRequest) Offset(offset int32) ApiDcimPowerConnectionsListRequest {
+ r.offset = &offset
+ return r
+}
+
+// Which field to use when ordering the results.
+func (r ApiDcimPowerConnectionsListRequest) Sort(sort string) ApiDcimPowerConnectionsListRequest {
+ r.sort = &sort
+ return r
+}
+
+func (r ApiDcimPowerConnectionsListRequest) Teams(teams []string) ApiDcimPowerConnectionsListRequest {
+ r.teams = &teams
+ return r
+}
+
+// Teams (name or ID) is null
+func (r ApiDcimPowerConnectionsListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimPowerConnectionsListRequest {
+ r.teamsIsnull = &teamsIsnull
+ return r
+}
+
+func (r ApiDcimPowerConnectionsListRequest) TeamsN(teamsN []string) ApiDcimPowerConnectionsListRequest {
+ r.teamsN = &teamsN
+ return r
+}
+
+// Serializer Depth
+func (r ApiDcimPowerConnectionsListRequest) Depth(depth int32) ApiDcimPowerConnectionsListRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiDcimPowerConnectionsListRequest) ExcludeM2m(excludeM2m bool) ApiDcimPowerConnectionsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimPowerConnectionsListRequest) Execute() (*PaginatedPowerPortList, *http.Response, error) {
+ return r.ApiService.DcimPowerConnectionsListExecute(r)
+}
+
+/*
+DcimPowerConnectionsList Method for DcimPowerConnectionsList
+
+Retrieve a list of power port objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiDcimPowerConnectionsListRequest
+*/
+func (a *DcimAPIService) DcimPowerConnectionsList(ctx context.Context) ApiDcimPowerConnectionsListRequest {
+ return ApiDcimPowerConnectionsListRequest{
+ ApiService: a,
+ ctx: ctx,
}
+}
- localVarPath := localBasePath + "/dcim/power-feeds/{id}/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+// Execute executes the request
+// @return PaginatedPowerPortList
+func (a *DcimAPIService) DcimPowerConnectionsListExecute(r ApiDcimPowerConnectionsListRequest) (*PaginatedPowerPortList, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *PaginatedPowerPortList
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerConnectionsList")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/power-connections/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.writablePowerFeedRequest == nil {
- return localVarReturnValue, nil, reportError("writablePowerFeedRequest is required and must be specified")
- }
+ if r.contacts != nil {
+ t := *r.contacts
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", t, "form", "multi")
+ }
+ }
+ if r.contactsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
+ }
+ if r.contactsN != nil {
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
+ }
+ if r.device != nil {
+ t := *r.device
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device", t, "form", "multi")
+ }
+ }
+ if r.deviceId != nil {
+ t := *r.deviceId
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device_id", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device_id", t, "form", "multi")
+ }
+ }
+ if r.dynamicGroups != nil {
+ t := *r.dynamicGroups
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
+ }
+ }
+ if r.dynamicGroupsN != nil {
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
+ }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
+ if r.id != nil {
+ t := *r.id
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ }
+ }
+ if r.idN != nil {
+ t := *r.idN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
+ }
+ }
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ }
+ if r.location != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location", r.location, "form", "")
+ }
+ if r.name != nil {
+ t := *r.name
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name", t, "form", "multi")
+ }
+ }
+ if r.nameIc != nil {
+ t := *r.nameIc
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", t, "form", "multi")
+ }
+ }
+ if r.nameIe != nil {
+ t := *r.nameIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", t, "form", "multi")
+ }
+ }
+ if r.nameIew != nil {
+ t := *r.nameIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", t, "form", "multi")
+ }
+ }
+ if r.nameIre != nil {
+ t := *r.nameIre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", t, "form", "multi")
+ }
+ }
+ if r.nameIsw != nil {
+ t := *r.nameIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", t, "form", "multi")
+ }
+ }
+ if r.nameN != nil {
+ t := *r.nameN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", t, "form", "multi")
+ }
+ }
+ if r.nameNic != nil {
+ t := *r.nameNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", t, "form", "multi")
+ }
+ }
+ if r.nameNie != nil {
+ t := *r.nameNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", t, "form", "multi")
+ }
+ }
+ if r.nameNiew != nil {
+ t := *r.nameNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", t, "form", "multi")
+ }
+ }
+ if r.nameNire != nil {
+ t := *r.nameNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", t, "form", "multi")
+ }
+ }
+ if r.nameNisw != nil {
+ t := *r.nameNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", t, "form", "multi")
+ }
+ }
+ if r.nameNre != nil {
+ t := *r.nameNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", t, "form", "multi")
+ }
+ }
+ if r.nameRe != nil {
+ t := *r.nameRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", t, "form", "multi")
+ }
+ }
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+ }
+ if r.sort != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
+ }
+ if r.teams != nil {
+ t := *r.teams
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams", t, "form", "multi")
+ }
+ }
+ if r.teamsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
+ }
+ if r.teamsN != nil {
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+ localVarHTTPContentTypes := []string{}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -99636,8 +93757,6 @@ func (a *DcimAPIService) DcimPowerFeedsUpdateExecute(r ApiDcimPowerFeedsUpdateRe
if localVarHTTPHeaderAccept != "" {
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
- // body params
- localVarPostBody = r.writablePowerFeedRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -99689,56 +93808,56 @@ func (a *DcimAPIService) DcimPowerFeedsUpdateExecute(r ApiDcimPowerFeedsUpdateRe
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerOutletTemplatesBulkDestroyRequest struct {
+type ApiDcimPowerFeedsBulkDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
bulkOperationRequest *[]BulkOperationRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerOutletTemplatesBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimPowerOutletTemplatesBulkDestroyRequest {
+func (r ApiDcimPowerFeedsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimPowerFeedsBulkDestroyRequest {
r.bulkOperationRequest = &bulkOperationRequest
return r
}
-func (r ApiDcimPowerOutletTemplatesBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletTemplatesBulkDestroyRequest {
+func (r ApiDcimPowerFeedsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerFeedsBulkDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerOutletTemplatesBulkDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimPowerOutletTemplatesBulkDestroyExecute(r)
+func (r ApiDcimPowerFeedsBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimPowerFeedsBulkDestroyExecute(r)
}
/*
-DcimPowerOutletTemplatesBulkDestroy Method for DcimPowerOutletTemplatesBulkDestroy
+DcimPowerFeedsBulkDestroy Method for DcimPowerFeedsBulkDestroy
-Destroy a list of power outlet template objects.
+Destroy a list of power feed objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPowerOutletTemplatesBulkDestroyRequest
+ @return ApiDcimPowerFeedsBulkDestroyRequest
*/
-func (a *DcimAPIService) DcimPowerOutletTemplatesBulkDestroy(ctx context.Context) ApiDcimPowerOutletTemplatesBulkDestroyRequest {
- return ApiDcimPowerOutletTemplatesBulkDestroyRequest{
+func (a *DcimAPIService) DcimPowerFeedsBulkDestroy(ctx context.Context) ApiDcimPowerFeedsBulkDestroyRequest {
+ return ApiDcimPowerFeedsBulkDestroyRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-func (a *DcimAPIService) DcimPowerOutletTemplatesBulkDestroyExecute(r ApiDcimPowerOutletTemplatesBulkDestroyRequest) (*http.Response, error) {
+func (a *DcimAPIService) DcimPowerFeedsBulkDestroyExecute(r ApiDcimPowerFeedsBulkDestroyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletTemplatesBulkDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerFeedsBulkDestroy")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-outlet-templates/"
+ localVarPath := localBasePath + "/dcim/power-feeds/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -99811,64 +93930,64 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesBulkDestroyExecute(r ApiDcimPow
return localVarHTTPResponse, nil
}
-type ApiDcimPowerOutletTemplatesBulkPartialUpdateRequest struct {
+type ApiDcimPowerFeedsBulkPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- patchedBulkWritablePowerOutletTemplateRequest *[]PatchedBulkWritablePowerOutletTemplateRequest
+ patchedBulkWritablePowerFeedRequest *[]PatchedBulkWritablePowerFeedRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerOutletTemplatesBulkPartialUpdateRequest) PatchedBulkWritablePowerOutletTemplateRequest(patchedBulkWritablePowerOutletTemplateRequest []PatchedBulkWritablePowerOutletTemplateRequest) ApiDcimPowerOutletTemplatesBulkPartialUpdateRequest {
- r.patchedBulkWritablePowerOutletTemplateRequest = &patchedBulkWritablePowerOutletTemplateRequest
+func (r ApiDcimPowerFeedsBulkPartialUpdateRequest) PatchedBulkWritablePowerFeedRequest(patchedBulkWritablePowerFeedRequest []PatchedBulkWritablePowerFeedRequest) ApiDcimPowerFeedsBulkPartialUpdateRequest {
+ r.patchedBulkWritablePowerFeedRequest = &patchedBulkWritablePowerFeedRequest
return r
}
-func (r ApiDcimPowerOutletTemplatesBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletTemplatesBulkPartialUpdateRequest {
+func (r ApiDcimPowerFeedsBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerFeedsBulkPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerOutletTemplatesBulkPartialUpdateRequest) Execute() ([]PowerOutletTemplate, *http.Response, error) {
- return r.ApiService.DcimPowerOutletTemplatesBulkPartialUpdateExecute(r)
+func (r ApiDcimPowerFeedsBulkPartialUpdateRequest) Execute() ([]PowerFeed, *http.Response, error) {
+ return r.ApiService.DcimPowerFeedsBulkPartialUpdateExecute(r)
}
/*
-DcimPowerOutletTemplatesBulkPartialUpdate Method for DcimPowerOutletTemplatesBulkPartialUpdate
+DcimPowerFeedsBulkPartialUpdate Method for DcimPowerFeedsBulkPartialUpdate
-Partial update a list of power outlet template objects.
+Partial update a list of power feed objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPowerOutletTemplatesBulkPartialUpdateRequest
+ @return ApiDcimPowerFeedsBulkPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimPowerOutletTemplatesBulkPartialUpdate(ctx context.Context) ApiDcimPowerOutletTemplatesBulkPartialUpdateRequest {
- return ApiDcimPowerOutletTemplatesBulkPartialUpdateRequest{
+func (a *DcimAPIService) DcimPowerFeedsBulkPartialUpdate(ctx context.Context) ApiDcimPowerFeedsBulkPartialUpdateRequest {
+ return ApiDcimPowerFeedsBulkPartialUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []PowerOutletTemplate
-func (a *DcimAPIService) DcimPowerOutletTemplatesBulkPartialUpdateExecute(r ApiDcimPowerOutletTemplatesBulkPartialUpdateRequest) ([]PowerOutletTemplate, *http.Response, error) {
+// @return []PowerFeed
+func (a *DcimAPIService) DcimPowerFeedsBulkPartialUpdateExecute(r ApiDcimPowerFeedsBulkPartialUpdateRequest) ([]PowerFeed, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []PowerOutletTemplate
+ localVarReturnValue []PowerFeed
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletTemplatesBulkPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerFeedsBulkPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-outlet-templates/"
+ localVarPath := localBasePath + "/dcim/power-feeds/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.patchedBulkWritablePowerOutletTemplateRequest == nil {
- return localVarReturnValue, nil, reportError("patchedBulkWritablePowerOutletTemplateRequest is required and must be specified")
+ if r.patchedBulkWritablePowerFeedRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritablePowerFeedRequest is required and must be specified")
}
if r.format != nil {
@@ -99892,7 +94011,7 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesBulkPartialUpdateExecute(r ApiD
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedBulkWritablePowerOutletTemplateRequest
+ localVarPostBody = r.patchedBulkWritablePowerFeedRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -99944,64 +94063,64 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesBulkPartialUpdateExecute(r ApiD
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerOutletTemplatesBulkUpdateRequest struct {
+type ApiDcimPowerFeedsBulkUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- bulkWritablePowerOutletTemplateRequest *[]BulkWritablePowerOutletTemplateRequest
+ bulkWritablePowerFeedRequest *[]BulkWritablePowerFeedRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerOutletTemplatesBulkUpdateRequest) BulkWritablePowerOutletTemplateRequest(bulkWritablePowerOutletTemplateRequest []BulkWritablePowerOutletTemplateRequest) ApiDcimPowerOutletTemplatesBulkUpdateRequest {
- r.bulkWritablePowerOutletTemplateRequest = &bulkWritablePowerOutletTemplateRequest
+func (r ApiDcimPowerFeedsBulkUpdateRequest) BulkWritablePowerFeedRequest(bulkWritablePowerFeedRequest []BulkWritablePowerFeedRequest) ApiDcimPowerFeedsBulkUpdateRequest {
+ r.bulkWritablePowerFeedRequest = &bulkWritablePowerFeedRequest
return r
}
-func (r ApiDcimPowerOutletTemplatesBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletTemplatesBulkUpdateRequest {
+func (r ApiDcimPowerFeedsBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerFeedsBulkUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerOutletTemplatesBulkUpdateRequest) Execute() ([]PowerOutletTemplate, *http.Response, error) {
- return r.ApiService.DcimPowerOutletTemplatesBulkUpdateExecute(r)
+func (r ApiDcimPowerFeedsBulkUpdateRequest) Execute() ([]PowerFeed, *http.Response, error) {
+ return r.ApiService.DcimPowerFeedsBulkUpdateExecute(r)
}
/*
-DcimPowerOutletTemplatesBulkUpdate Method for DcimPowerOutletTemplatesBulkUpdate
+DcimPowerFeedsBulkUpdate Method for DcimPowerFeedsBulkUpdate
-Update a list of power outlet template objects.
+Update a list of power feed objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPowerOutletTemplatesBulkUpdateRequest
+ @return ApiDcimPowerFeedsBulkUpdateRequest
*/
-func (a *DcimAPIService) DcimPowerOutletTemplatesBulkUpdate(ctx context.Context) ApiDcimPowerOutletTemplatesBulkUpdateRequest {
- return ApiDcimPowerOutletTemplatesBulkUpdateRequest{
+func (a *DcimAPIService) DcimPowerFeedsBulkUpdate(ctx context.Context) ApiDcimPowerFeedsBulkUpdateRequest {
+ return ApiDcimPowerFeedsBulkUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []PowerOutletTemplate
-func (a *DcimAPIService) DcimPowerOutletTemplatesBulkUpdateExecute(r ApiDcimPowerOutletTemplatesBulkUpdateRequest) ([]PowerOutletTemplate, *http.Response, error) {
+// @return []PowerFeed
+func (a *DcimAPIService) DcimPowerFeedsBulkUpdateExecute(r ApiDcimPowerFeedsBulkUpdateRequest) ([]PowerFeed, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []PowerOutletTemplate
+ localVarReturnValue []PowerFeed
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletTemplatesBulkUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerFeedsBulkUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-outlet-templates/"
+ localVarPath := localBasePath + "/dcim/power-feeds/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.bulkWritablePowerOutletTemplateRequest == nil {
- return localVarReturnValue, nil, reportError("bulkWritablePowerOutletTemplateRequest is required and must be specified")
+ if r.bulkWritablePowerFeedRequest == nil {
+ return localVarReturnValue, nil, reportError("bulkWritablePowerFeedRequest is required and must be specified")
}
if r.format != nil {
@@ -100025,7 +94144,7 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesBulkUpdateExecute(r ApiDcimPowe
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.bulkWritablePowerOutletTemplateRequest
+ localVarPostBody = r.bulkWritablePowerFeedRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -100077,64 +94196,64 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesBulkUpdateExecute(r ApiDcimPowe
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerOutletTemplatesCreateRequest struct {
+type ApiDcimPowerFeedsCreateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- writablePowerOutletTemplateRequest *WritablePowerOutletTemplateRequest
+ writablePowerFeedRequest *WritablePowerFeedRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerOutletTemplatesCreateRequest) WritablePowerOutletTemplateRequest(writablePowerOutletTemplateRequest WritablePowerOutletTemplateRequest) ApiDcimPowerOutletTemplatesCreateRequest {
- r.writablePowerOutletTemplateRequest = &writablePowerOutletTemplateRequest
+func (r ApiDcimPowerFeedsCreateRequest) WritablePowerFeedRequest(writablePowerFeedRequest WritablePowerFeedRequest) ApiDcimPowerFeedsCreateRequest {
+ r.writablePowerFeedRequest = &writablePowerFeedRequest
return r
}
-func (r ApiDcimPowerOutletTemplatesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletTemplatesCreateRequest {
+func (r ApiDcimPowerFeedsCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerFeedsCreateRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerOutletTemplatesCreateRequest) Execute() (*PowerOutletTemplate, *http.Response, error) {
- return r.ApiService.DcimPowerOutletTemplatesCreateExecute(r)
+func (r ApiDcimPowerFeedsCreateRequest) Execute() (*PowerFeed, *http.Response, error) {
+ return r.ApiService.DcimPowerFeedsCreateExecute(r)
}
/*
-DcimPowerOutletTemplatesCreate Method for DcimPowerOutletTemplatesCreate
+DcimPowerFeedsCreate Method for DcimPowerFeedsCreate
-Create one or more power outlet template objects.
+Create one or more power feed objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPowerOutletTemplatesCreateRequest
+ @return ApiDcimPowerFeedsCreateRequest
*/
-func (a *DcimAPIService) DcimPowerOutletTemplatesCreate(ctx context.Context) ApiDcimPowerOutletTemplatesCreateRequest {
- return ApiDcimPowerOutletTemplatesCreateRequest{
+func (a *DcimAPIService) DcimPowerFeedsCreate(ctx context.Context) ApiDcimPowerFeedsCreateRequest {
+ return ApiDcimPowerFeedsCreateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return PowerOutletTemplate
-func (a *DcimAPIService) DcimPowerOutletTemplatesCreateExecute(r ApiDcimPowerOutletTemplatesCreateRequest) (*PowerOutletTemplate, *http.Response, error) {
+// @return PowerFeed
+func (a *DcimAPIService) DcimPowerFeedsCreateExecute(r ApiDcimPowerFeedsCreateRequest) (*PowerFeed, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PowerOutletTemplate
+ localVarReturnValue *PowerFeed
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletTemplatesCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerFeedsCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-outlet-templates/"
+ localVarPath := localBasePath + "/dcim/power-feeds/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.writablePowerOutletTemplateRequest == nil {
- return localVarReturnValue, nil, reportError("writablePowerOutletTemplateRequest is required and must be specified")
+ if r.writablePowerFeedRequest == nil {
+ return localVarReturnValue, nil, reportError("writablePowerFeedRequest is required and must be specified")
}
if r.format != nil {
@@ -100158,7 +94277,7 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesCreateExecute(r ApiDcimPowerOut
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.writablePowerOutletTemplateRequest
+ localVarPostBody = r.writablePowerFeedRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -100210,33 +94329,33 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesCreateExecute(r ApiDcimPowerOut
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerOutletTemplatesDestroyRequest struct {
+type ApiDcimPowerFeedsDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerOutletTemplatesDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletTemplatesDestroyRequest {
+func (r ApiDcimPowerFeedsDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerFeedsDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerOutletTemplatesDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimPowerOutletTemplatesDestroyExecute(r)
+func (r ApiDcimPowerFeedsDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimPowerFeedsDestroyExecute(r)
}
/*
-DcimPowerOutletTemplatesDestroy Method for DcimPowerOutletTemplatesDestroy
+DcimPowerFeedsDestroy Method for DcimPowerFeedsDestroy
-Destroy a power outlet template object.
+Destroy a power feed object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power outlet template.
- @return ApiDcimPowerOutletTemplatesDestroyRequest
+ @param id A UUID string identifying this power feed.
+ @return ApiDcimPowerFeedsDestroyRequest
*/
-func (a *DcimAPIService) DcimPowerOutletTemplatesDestroy(ctx context.Context, id string) ApiDcimPowerOutletTemplatesDestroyRequest {
- return ApiDcimPowerOutletTemplatesDestroyRequest{
+func (a *DcimAPIService) DcimPowerFeedsDestroy(ctx context.Context, id string) ApiDcimPowerFeedsDestroyRequest {
+ return ApiDcimPowerFeedsDestroyRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -100244,19 +94363,19 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesDestroy(ctx context.Context, id
}
// Execute executes the request
-func (a *DcimAPIService) DcimPowerOutletTemplatesDestroyExecute(r ApiDcimPowerOutletTemplatesDestroyRequest) (*http.Response, error) {
+func (a *DcimAPIService) DcimPowerFeedsDestroyExecute(r ApiDcimPowerFeedsDestroyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletTemplatesDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerFeedsDestroy")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-outlet-templates/{id}/"
+ localVarPath := localBasePath + "/dcim/power-feeds/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -100325,80 +94444,96 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesDestroyExecute(r ApiDcimPowerOu
return localVarHTTPResponse, nil
}
-type ApiDcimPowerOutletTemplatesListRequest struct {
+type ApiDcimPowerFeedsListRequest struct {
ctx context.Context
ApiService *DcimAPIService
+ amperage *[]int32
+ amperageGt *[]int32
+ amperageGte *[]int32
+ amperageLt *[]int32
+ amperageLte *[]int32
+ amperageN *[]int32
+ availablePower *[]int32
+ availablePowerGt *[]int32
+ availablePowerGte *[]int32
+ availablePowerLt *[]int32
+ availablePowerLte *[]int32
+ availablePowerN *[]int32
+ breakerPoleCount *[]*int32
+ breakerPoleCountIc *[]string
+ breakerPoleCountIe *[]string
+ breakerPoleCountIew *[]string
+ breakerPoleCountIre *[]string
+ breakerPoleCountIsnull *[]string
+ breakerPoleCountIsw *[]string
+ breakerPoleCountN *[]string
+ breakerPoleCountNic *[]string
+ breakerPoleCountNie *[]string
+ breakerPoleCountNiew *[]string
+ breakerPoleCountNire *[]string
+ breakerPoleCountNisw *[]string
+ breakerPoleCountNre *[]string
+ breakerPoleCountRe *[]string
+ breakerPosition *[]int32
+ breakerPositionGt *[]int32
+ breakerPositionGte *[]int32
+ breakerPositionIsnull *bool
+ breakerPositionLt *[]int32
+ breakerPositionLte *[]int32
+ breakerPositionN *[]int32
+ cable *[]string
+ cableIsnull *bool
+ cableN *[]string
+ comments *[]string
+ commentsIc *[]string
+ commentsIe *[]string
+ commentsIew *[]string
+ commentsIre *[]string
+ commentsIsw *[]string
+ commentsN *[]string
+ commentsNic *[]string
+ commentsNie *[]string
+ commentsNiew *[]string
+ commentsNire *[]string
+ commentsNisw *[]string
+ commentsNre *[]string
+ commentsRe *[]string
+ connected *bool
contacts *[]string
contactsIsnull *bool
- contactsN *string
- description *[]string
- descriptionIc *[]string
- descriptionIe *[]string
- descriptionIew *[]string
- descriptionIre *[]string
- descriptionIsw *[]string
- descriptionN *[]string
- descriptionNic *[]string
- descriptionNie *[]string
- descriptionNiew *[]string
- descriptionNire *[]string
- descriptionNisw *[]string
- descriptionNre *[]string
- descriptionRe *[]string
- deviceType *[]string
- deviceTypeIsnull *bool
- deviceTypeN *[]string
+ contactsN *[]string
+ created *[]time.Time
+ createdGt *[]time.Time
+ createdGte *[]time.Time
+ createdIsnull *bool
+ createdLt *[]time.Time
+ createdLte *[]time.Time
+ createdN *[]time.Time
+ destinationPanel *[]string
+ destinationPanelIsnull *bool
+ destinationPanelN *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
- feedLeg *[]string
- feedLegIc *[]string
- feedLegIe *[]string
- feedLegIew *[]string
- feedLegIre *[]string
- feedLegIsw *[]string
- feedLegN *[]string
- feedLegNic *[]string
- feedLegNie *[]string
- feedLegNiew *[]string
- feedLegNire *[]string
- feedLegNisw *[]string
- feedLegNre *[]string
- feedLegRe *[]string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
- hasDeviceType *bool
- hasModuleType *bool
+ hasCable *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
- label *[]string
- labelIc *[]string
- labelIe *[]string
- labelIew *[]string
- labelIre *[]string
- labelIsw *[]string
- labelN *[]string
- labelNic *[]string
- labelNie *[]string
- labelNiew *[]string
- labelNire *[]string
- labelNisw *[]string
- labelNre *[]string
- labelRe *[]string
+ lastUpdated *[]time.Time
+ lastUpdatedGt *[]time.Time
+ lastUpdatedGte *[]time.Time
+ lastUpdatedIsnull *bool
+ lastUpdatedLt *[]time.Time
+ lastUpdatedLte *[]time.Time
+ lastUpdatedN *[]time.Time
limit *int32
- moduleType *[]string
- moduleTypeIsnull *bool
- moduleTypeN *[]string
+ location *[]string
+ locationN *[]string
+ maxUtilization *[]int32
+ maxUtilizationGt *[]int32
+ maxUtilizationGte *[]int32
+ maxUtilizationLt *[]int32
+ maxUtilizationLte *[]int32
+ maxUtilizationN *[]int32
name *[]string
nameIc *[]string
nameIe *[]string
@@ -100414,14 +94549,63 @@ type ApiDcimPowerOutletTemplatesListRequest struct {
nameNre *[]string
nameRe *[]string
offset *int32
- powerPortTemplate *[]string
- powerPortTemplateIsnull *bool
- powerPortTemplateN *[]string
+ phase *[]string
+ phaseIc *[]string
+ phaseIe *[]string
+ phaseIew *[]string
+ phaseIre *[]string
+ phaseIsw *[]string
+ phaseN *[]string
+ phaseNic *[]string
+ phaseNie *[]string
+ phaseNiew *[]string
+ phaseNire *[]string
+ phaseNisw *[]string
+ phaseNre *[]string
+ phaseRe *[]string
+ powerPanel *[]string
+ powerPanelN *[]string
+ powerPath *[]string
+ powerPathIc *[]string
+ powerPathIe *[]string
+ powerPathIew *[]string
+ powerPathIre *[]string
+ powerPathIsw *[]string
+ powerPathN *[]string
+ powerPathNic *[]string
+ powerPathNie *[]string
+ powerPathNiew *[]string
+ powerPathNire *[]string
+ powerPathNisw *[]string
+ powerPathNre *[]string
+ powerPathRe *[]string
q *string
+ rack *[]string
+ rackIsnull *bool
+ rackN *[]string
sort *string
+ status *[]string
+ statusN *[]string
+ supply *[]string
+ supplyIc *[]string
+ supplyIe *[]string
+ supplyIew *[]string
+ supplyIre *[]string
+ supplyIsw *[]string
+ supplyN *[]string
+ supplyNic *[]string
+ supplyNie *[]string
+ supplyNiew *[]string
+ supplyNire *[]string
+ supplyNisw *[]string
+ supplyNre *[]string
+ supplyRe *[]string
+ tags *[]string
+ tagsIsnull *bool
+ tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
type_ *[]string
typeIc *[]string
typeIe *[]string
@@ -100436,1374 +94620,1853 @@ type ApiDcimPowerOutletTemplatesListRequest struct {
typeNisw *[]string
typeNre *[]string
typeRe *[]string
+ voltage *[]int32
+ voltageGt *[]int32
+ voltageGte *[]int32
+ voltageLt *[]int32
+ voltageLte *[]int32
+ voltageN *[]int32
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimPowerOutletTemplatesListRequest) Contacts(contacts []string) ApiDcimPowerOutletTemplatesListRequest {
- r.contacts = &contacts
+func (r ApiDcimPowerFeedsListRequest) Amperage(amperage []int32) ApiDcimPowerFeedsListRequest {
+ r.amperage = &erage
return r
}
-// Contacts (name or ID) is null
-func (r ApiDcimPowerOutletTemplatesListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimPowerOutletTemplatesListRequest {
- r.contactsIsnull = &contactsIsnull
+func (r ApiDcimPowerFeedsListRequest) AmperageGt(amperageGt []int32) ApiDcimPowerFeedsListRequest {
+ r.amperageGt = &erageGt
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimPowerOutletTemplatesListRequest) ContactsN(contactsN string) ApiDcimPowerOutletTemplatesListRequest {
- r.contactsN = &contactsN
+func (r ApiDcimPowerFeedsListRequest) AmperageGte(amperageGte []int32) ApiDcimPowerFeedsListRequest {
+ r.amperageGte = &erageGte
return r
}
-// Description
-func (r ApiDcimPowerOutletTemplatesListRequest) Description(description []string) ApiDcimPowerOutletTemplatesListRequest {
- r.description = &description
+func (r ApiDcimPowerFeedsListRequest) AmperageLt(amperageLt []int32) ApiDcimPowerFeedsListRequest {
+ r.amperageLt = &erageLt
return r
}
-// Description
-func (r ApiDcimPowerOutletTemplatesListRequest) DescriptionIc(descriptionIc []string) ApiDcimPowerOutletTemplatesListRequest {
- r.descriptionIc = &descriptionIc
+func (r ApiDcimPowerFeedsListRequest) AmperageLte(amperageLte []int32) ApiDcimPowerFeedsListRequest {
+ r.amperageLte = &erageLte
return r
}
-// Description
-func (r ApiDcimPowerOutletTemplatesListRequest) DescriptionIe(descriptionIe []string) ApiDcimPowerOutletTemplatesListRequest {
- r.descriptionIe = &descriptionIe
+func (r ApiDcimPowerFeedsListRequest) AmperageN(amperageN []int32) ApiDcimPowerFeedsListRequest {
+ r.amperageN = &erageN
return r
}
-// Description
-func (r ApiDcimPowerOutletTemplatesListRequest) DescriptionIew(descriptionIew []string) ApiDcimPowerOutletTemplatesListRequest {
- r.descriptionIew = &descriptionIew
+func (r ApiDcimPowerFeedsListRequest) AvailablePower(availablePower []int32) ApiDcimPowerFeedsListRequest {
+ r.availablePower = &availablePower
return r
}
-// Description
-func (r ApiDcimPowerOutletTemplatesListRequest) DescriptionIre(descriptionIre []string) ApiDcimPowerOutletTemplatesListRequest {
- r.descriptionIre = &descriptionIre
+func (r ApiDcimPowerFeedsListRequest) AvailablePowerGt(availablePowerGt []int32) ApiDcimPowerFeedsListRequest {
+ r.availablePowerGt = &availablePowerGt
return r
}
-// Description
-func (r ApiDcimPowerOutletTemplatesListRequest) DescriptionIsw(descriptionIsw []string) ApiDcimPowerOutletTemplatesListRequest {
- r.descriptionIsw = &descriptionIsw
+func (r ApiDcimPowerFeedsListRequest) AvailablePowerGte(availablePowerGte []int32) ApiDcimPowerFeedsListRequest {
+ r.availablePowerGte = &availablePowerGte
return r
}
-// Description
-func (r ApiDcimPowerOutletTemplatesListRequest) DescriptionN(descriptionN []string) ApiDcimPowerOutletTemplatesListRequest {
- r.descriptionN = &descriptionN
+func (r ApiDcimPowerFeedsListRequest) AvailablePowerLt(availablePowerLt []int32) ApiDcimPowerFeedsListRequest {
+ r.availablePowerLt = &availablePowerLt
return r
}
-// Description
-func (r ApiDcimPowerOutletTemplatesListRequest) DescriptionNic(descriptionNic []string) ApiDcimPowerOutletTemplatesListRequest {
- r.descriptionNic = &descriptionNic
+func (r ApiDcimPowerFeedsListRequest) AvailablePowerLte(availablePowerLte []int32) ApiDcimPowerFeedsListRequest {
+ r.availablePowerLte = &availablePowerLte
return r
}
-// Description
-func (r ApiDcimPowerOutletTemplatesListRequest) DescriptionNie(descriptionNie []string) ApiDcimPowerOutletTemplatesListRequest {
- r.descriptionNie = &descriptionNie
+func (r ApiDcimPowerFeedsListRequest) AvailablePowerN(availablePowerN []int32) ApiDcimPowerFeedsListRequest {
+ r.availablePowerN = &availablePowerN
return r
}
-// Description
-func (r ApiDcimPowerOutletTemplatesListRequest) DescriptionNiew(descriptionNiew []string) ApiDcimPowerOutletTemplatesListRequest {
- r.descriptionNiew = &descriptionNiew
+// Number of breaker poles
+func (r ApiDcimPowerFeedsListRequest) BreakerPoleCount(breakerPoleCount []*int32) ApiDcimPowerFeedsListRequest {
+ r.breakerPoleCount = &breakerPoleCount
return r
}
-// Description
-func (r ApiDcimPowerOutletTemplatesListRequest) DescriptionNire(descriptionNire []string) ApiDcimPowerOutletTemplatesListRequest {
- r.descriptionNire = &descriptionNire
+func (r ApiDcimPowerFeedsListRequest) BreakerPoleCountIc(breakerPoleCountIc []string) ApiDcimPowerFeedsListRequest {
+ r.breakerPoleCountIc = &breakerPoleCountIc
return r
}
-// Description
-func (r ApiDcimPowerOutletTemplatesListRequest) DescriptionNisw(descriptionNisw []string) ApiDcimPowerOutletTemplatesListRequest {
- r.descriptionNisw = &descriptionNisw
+func (r ApiDcimPowerFeedsListRequest) BreakerPoleCountIe(breakerPoleCountIe []string) ApiDcimPowerFeedsListRequest {
+ r.breakerPoleCountIe = &breakerPoleCountIe
return r
}
-// Description
-func (r ApiDcimPowerOutletTemplatesListRequest) DescriptionNre(descriptionNre []string) ApiDcimPowerOutletTemplatesListRequest {
- r.descriptionNre = &descriptionNre
+func (r ApiDcimPowerFeedsListRequest) BreakerPoleCountIew(breakerPoleCountIew []string) ApiDcimPowerFeedsListRequest {
+ r.breakerPoleCountIew = &breakerPoleCountIew
return r
}
-// Description
-func (r ApiDcimPowerOutletTemplatesListRequest) DescriptionRe(descriptionRe []string) ApiDcimPowerOutletTemplatesListRequest {
- r.descriptionRe = &descriptionRe
+func (r ApiDcimPowerFeedsListRequest) BreakerPoleCountIre(breakerPoleCountIre []string) ApiDcimPowerFeedsListRequest {
+ r.breakerPoleCountIre = &breakerPoleCountIre
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) DeviceType(deviceType []string) ApiDcimPowerOutletTemplatesListRequest {
- r.deviceType = &deviceType
+func (r ApiDcimPowerFeedsListRequest) BreakerPoleCountIsnull(breakerPoleCountIsnull []string) ApiDcimPowerFeedsListRequest {
+ r.breakerPoleCountIsnull = &breakerPoleCountIsnull
return r
}
-// Device type (model or ID) is null
-func (r ApiDcimPowerOutletTemplatesListRequest) DeviceTypeIsnull(deviceTypeIsnull bool) ApiDcimPowerOutletTemplatesListRequest {
- r.deviceTypeIsnull = &deviceTypeIsnull
+func (r ApiDcimPowerFeedsListRequest) BreakerPoleCountIsw(breakerPoleCountIsw []string) ApiDcimPowerFeedsListRequest {
+ r.breakerPoleCountIsw = &breakerPoleCountIsw
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) DeviceTypeN(deviceTypeN []string) ApiDcimPowerOutletTemplatesListRequest {
- r.deviceTypeN = &deviceTypeN
+func (r ApiDcimPowerFeedsListRequest) BreakerPoleCountN(breakerPoleCountN []string) ApiDcimPowerFeedsListRequest {
+ r.breakerPoleCountN = &breakerPoleCountN
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) DynamicGroups(dynamicGroups []string) ApiDcimPowerOutletTemplatesListRequest {
- r.dynamicGroups = &dynamicGroups
+func (r ApiDcimPowerFeedsListRequest) BreakerPoleCountNic(breakerPoleCountNic []string) ApiDcimPowerFeedsListRequest {
+ r.breakerPoleCountNic = &breakerPoleCountNic
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimPowerOutletTemplatesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimPowerOutletTemplatesListRequest {
- r.dynamicGroupsN = &dynamicGroupsN
+func (r ApiDcimPowerFeedsListRequest) BreakerPoleCountNie(breakerPoleCountNie []string) ApiDcimPowerFeedsListRequest {
+ r.breakerPoleCountNie = &breakerPoleCountNie
return r
}
-// Phase (for three-phase feeds)
-func (r ApiDcimPowerOutletTemplatesListRequest) FeedLeg(feedLeg []string) ApiDcimPowerOutletTemplatesListRequest {
- r.feedLeg = &feedLeg
+func (r ApiDcimPowerFeedsListRequest) BreakerPoleCountNiew(breakerPoleCountNiew []string) ApiDcimPowerFeedsListRequest {
+ r.breakerPoleCountNiew = &breakerPoleCountNiew
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegIc(feedLegIc []string) ApiDcimPowerOutletTemplatesListRequest {
- r.feedLegIc = &feedLegIc
+func (r ApiDcimPowerFeedsListRequest) BreakerPoleCountNire(breakerPoleCountNire []string) ApiDcimPowerFeedsListRequest {
+ r.breakerPoleCountNire = &breakerPoleCountNire
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegIe(feedLegIe []string) ApiDcimPowerOutletTemplatesListRequest {
- r.feedLegIe = &feedLegIe
+func (r ApiDcimPowerFeedsListRequest) BreakerPoleCountNisw(breakerPoleCountNisw []string) ApiDcimPowerFeedsListRequest {
+ r.breakerPoleCountNisw = &breakerPoleCountNisw
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegIew(feedLegIew []string) ApiDcimPowerOutletTemplatesListRequest {
- r.feedLegIew = &feedLegIew
+func (r ApiDcimPowerFeedsListRequest) BreakerPoleCountNre(breakerPoleCountNre []string) ApiDcimPowerFeedsListRequest {
+ r.breakerPoleCountNre = &breakerPoleCountNre
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegIre(feedLegIre []string) ApiDcimPowerOutletTemplatesListRequest {
- r.feedLegIre = &feedLegIre
+func (r ApiDcimPowerFeedsListRequest) BreakerPoleCountRe(breakerPoleCountRe []string) ApiDcimPowerFeedsListRequest {
+ r.breakerPoleCountRe = &breakerPoleCountRe
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegIsw(feedLegIsw []string) ApiDcimPowerOutletTemplatesListRequest {
- r.feedLegIsw = &feedLegIsw
+func (r ApiDcimPowerFeedsListRequest) BreakerPosition(breakerPosition []int32) ApiDcimPowerFeedsListRequest {
+ r.breakerPosition = &breakerPosition
return r
}
-// Phase (for three-phase feeds)
-func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegN(feedLegN []string) ApiDcimPowerOutletTemplatesListRequest {
- r.feedLegN = &feedLegN
+func (r ApiDcimPowerFeedsListRequest) BreakerPositionGt(breakerPositionGt []int32) ApiDcimPowerFeedsListRequest {
+ r.breakerPositionGt = &breakerPositionGt
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegNic(feedLegNic []string) ApiDcimPowerOutletTemplatesListRequest {
- r.feedLegNic = &feedLegNic
+func (r ApiDcimPowerFeedsListRequest) BreakerPositionGte(breakerPositionGte []int32) ApiDcimPowerFeedsListRequest {
+ r.breakerPositionGte = &breakerPositionGte
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegNie(feedLegNie []string) ApiDcimPowerOutletTemplatesListRequest {
- r.feedLegNie = &feedLegNie
+func (r ApiDcimPowerFeedsListRequest) BreakerPositionIsnull(breakerPositionIsnull bool) ApiDcimPowerFeedsListRequest {
+ r.breakerPositionIsnull = &breakerPositionIsnull
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegNiew(feedLegNiew []string) ApiDcimPowerOutletTemplatesListRequest {
- r.feedLegNiew = &feedLegNiew
+func (r ApiDcimPowerFeedsListRequest) BreakerPositionLt(breakerPositionLt []int32) ApiDcimPowerFeedsListRequest {
+ r.breakerPositionLt = &breakerPositionLt
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegNire(feedLegNire []string) ApiDcimPowerOutletTemplatesListRequest {
- r.feedLegNire = &feedLegNire
+func (r ApiDcimPowerFeedsListRequest) BreakerPositionLte(breakerPositionLte []int32) ApiDcimPowerFeedsListRequest {
+ r.breakerPositionLte = &breakerPositionLte
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegNisw(feedLegNisw []string) ApiDcimPowerOutletTemplatesListRequest {
- r.feedLegNisw = &feedLegNisw
+func (r ApiDcimPowerFeedsListRequest) BreakerPositionN(breakerPositionN []int32) ApiDcimPowerFeedsListRequest {
+ r.breakerPositionN = &breakerPositionN
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegNre(feedLegNre []string) ApiDcimPowerOutletTemplatesListRequest {
- r.feedLegNre = &feedLegNre
+// Cable
+func (r ApiDcimPowerFeedsListRequest) Cable(cable []string) ApiDcimPowerFeedsListRequest {
+ r.cable = &cable
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegRe(feedLegRe []string) ApiDcimPowerOutletTemplatesListRequest {
- r.feedLegRe = &feedLegRe
+func (r ApiDcimPowerFeedsListRequest) CableIsnull(cableIsnull bool) ApiDcimPowerFeedsListRequest {
+ r.cableIsnull = &cableIsnull
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletTemplatesListRequest {
- r.format = &format
+// Cable
+func (r ApiDcimPowerFeedsListRequest) CableN(cableN []string) ApiDcimPowerFeedsListRequest {
+ r.cableN = &cableN
return r
}
-// Has device type
-func (r ApiDcimPowerOutletTemplatesListRequest) HasDeviceType(hasDeviceType bool) ApiDcimPowerOutletTemplatesListRequest {
- r.hasDeviceType = &hasDeviceType
+func (r ApiDcimPowerFeedsListRequest) Comments(comments []string) ApiDcimPowerFeedsListRequest {
+ r.comments = &comments
return r
}
-// Has module type
-func (r ApiDcimPowerOutletTemplatesListRequest) HasModuleType(hasModuleType bool) ApiDcimPowerOutletTemplatesListRequest {
- r.hasModuleType = &hasModuleType
+func (r ApiDcimPowerFeedsListRequest) CommentsIc(commentsIc []string) ApiDcimPowerFeedsListRequest {
+ r.commentsIc = &commentsIc
return r
}
-// ID
-func (r ApiDcimPowerOutletTemplatesListRequest) Id(id []string) ApiDcimPowerOutletTemplatesListRequest {
- r.id = &id
+func (r ApiDcimPowerFeedsListRequest) CommentsIe(commentsIe []string) ApiDcimPowerFeedsListRequest {
+ r.commentsIe = &commentsIe
return r
}
-// ID contains
-func (r ApiDcimPowerOutletTemplatesListRequest) IdIc(idIc []string) ApiDcimPowerOutletTemplatesListRequest {
- r.idIc = &idIc
+func (r ApiDcimPowerFeedsListRequest) CommentsIew(commentsIew []string) ApiDcimPowerFeedsListRequest {
+ r.commentsIew = &commentsIew
return r
}
-// ID
-func (r ApiDcimPowerOutletTemplatesListRequest) IdIe(idIe []string) ApiDcimPowerOutletTemplatesListRequest {
- r.idIe = &idIe
+func (r ApiDcimPowerFeedsListRequest) CommentsIre(commentsIre []string) ApiDcimPowerFeedsListRequest {
+ r.commentsIre = &commentsIre
return r
}
-// ID ends with
-func (r ApiDcimPowerOutletTemplatesListRequest) IdIew(idIew []string) ApiDcimPowerOutletTemplatesListRequest {
- r.idIew = &idIew
+func (r ApiDcimPowerFeedsListRequest) CommentsIsw(commentsIsw []string) ApiDcimPowerFeedsListRequest {
+ r.commentsIsw = &commentsIsw
return r
}
-// ID matches regex
-func (r ApiDcimPowerOutletTemplatesListRequest) IdIre(idIre []string) ApiDcimPowerOutletTemplatesListRequest {
- r.idIre = &idIre
+func (r ApiDcimPowerFeedsListRequest) CommentsN(commentsN []string) ApiDcimPowerFeedsListRequest {
+ r.commentsN = &commentsN
return r
}
-// ID starts with
-func (r ApiDcimPowerOutletTemplatesListRequest) IdIsw(idIsw []string) ApiDcimPowerOutletTemplatesListRequest {
- r.idIsw = &idIsw
+func (r ApiDcimPowerFeedsListRequest) CommentsNic(commentsNic []string) ApiDcimPowerFeedsListRequest {
+ r.commentsNic = &commentsNic
return r
}
-// Exclude ID
-func (r ApiDcimPowerOutletTemplatesListRequest) IdN(idN []string) ApiDcimPowerOutletTemplatesListRequest {
- r.idN = &idN
+func (r ApiDcimPowerFeedsListRequest) CommentsNie(commentsNie []string) ApiDcimPowerFeedsListRequest {
+ r.commentsNie = &commentsNie
return r
}
-// Exclude ID contains
-func (r ApiDcimPowerOutletTemplatesListRequest) IdNic(idNic []string) ApiDcimPowerOutletTemplatesListRequest {
- r.idNic = &idNic
+func (r ApiDcimPowerFeedsListRequest) CommentsNiew(commentsNiew []string) ApiDcimPowerFeedsListRequest {
+ r.commentsNiew = &commentsNiew
return r
}
-// Exclude ID
-func (r ApiDcimPowerOutletTemplatesListRequest) IdNie(idNie []string) ApiDcimPowerOutletTemplatesListRequest {
- r.idNie = &idNie
+func (r ApiDcimPowerFeedsListRequest) CommentsNire(commentsNire []string) ApiDcimPowerFeedsListRequest {
+ r.commentsNire = &commentsNire
return r
}
-// Exclude ID ends with
-func (r ApiDcimPowerOutletTemplatesListRequest) IdNiew(idNiew []string) ApiDcimPowerOutletTemplatesListRequest {
- r.idNiew = &idNiew
+func (r ApiDcimPowerFeedsListRequest) CommentsNisw(commentsNisw []string) ApiDcimPowerFeedsListRequest {
+ r.commentsNisw = &commentsNisw
return r
}
-// Exclude ID matches regex
-func (r ApiDcimPowerOutletTemplatesListRequest) IdNire(idNire []string) ApiDcimPowerOutletTemplatesListRequest {
- r.idNire = &idNire
+func (r ApiDcimPowerFeedsListRequest) CommentsNre(commentsNre []string) ApiDcimPowerFeedsListRequest {
+ r.commentsNre = &commentsNre
return r
}
-// Exclude ID starts with
-func (r ApiDcimPowerOutletTemplatesListRequest) IdNisw(idNisw []string) ApiDcimPowerOutletTemplatesListRequest {
- r.idNisw = &idNisw
+func (r ApiDcimPowerFeedsListRequest) CommentsRe(commentsRe []string) ApiDcimPowerFeedsListRequest {
+ r.commentsRe = &commentsRe
return r
}
-// Exclude ID matches regex
-func (r ApiDcimPowerOutletTemplatesListRequest) IdNre(idNre []string) ApiDcimPowerOutletTemplatesListRequest {
- r.idNre = &idNre
+// Connected status (bool)
+func (r ApiDcimPowerFeedsListRequest) Connected(connected bool) ApiDcimPowerFeedsListRequest {
+ r.connected = &connected
return r
}
-// ID matches regex
-func (r ApiDcimPowerOutletTemplatesListRequest) IdRe(idRe []string) ApiDcimPowerOutletTemplatesListRequest {
- r.idRe = &idRe
+func (r ApiDcimPowerFeedsListRequest) Contacts(contacts []string) ApiDcimPowerFeedsListRequest {
+ r.contacts = &contacts
return r
}
-// Label
-func (r ApiDcimPowerOutletTemplatesListRequest) Label(label []string) ApiDcimPowerOutletTemplatesListRequest {
- r.label = &label
+// Contacts (name or ID) is null
+func (r ApiDcimPowerFeedsListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimPowerFeedsListRequest {
+ r.contactsIsnull = &contactsIsnull
return r
}
-// Label
-func (r ApiDcimPowerOutletTemplatesListRequest) LabelIc(labelIc []string) ApiDcimPowerOutletTemplatesListRequest {
- r.labelIc = &labelIc
+func (r ApiDcimPowerFeedsListRequest) ContactsN(contactsN []string) ApiDcimPowerFeedsListRequest {
+ r.contactsN = &contactsN
return r
}
-// Label
-func (r ApiDcimPowerOutletTemplatesListRequest) LabelIe(labelIe []string) ApiDcimPowerOutletTemplatesListRequest {
- r.labelIe = &labelIe
+func (r ApiDcimPowerFeedsListRequest) Created(created []time.Time) ApiDcimPowerFeedsListRequest {
+ r.created = &created
return r
}
-// Label
-func (r ApiDcimPowerOutletTemplatesListRequest) LabelIew(labelIew []string) ApiDcimPowerOutletTemplatesListRequest {
- r.labelIew = &labelIew
+func (r ApiDcimPowerFeedsListRequest) CreatedGt(createdGt []time.Time) ApiDcimPowerFeedsListRequest {
+ r.createdGt = &createdGt
return r
}
-// Label
-func (r ApiDcimPowerOutletTemplatesListRequest) LabelIre(labelIre []string) ApiDcimPowerOutletTemplatesListRequest {
- r.labelIre = &labelIre
+func (r ApiDcimPowerFeedsListRequest) CreatedGte(createdGte []time.Time) ApiDcimPowerFeedsListRequest {
+ r.createdGte = &createdGte
return r
}
-// Label
-func (r ApiDcimPowerOutletTemplatesListRequest) LabelIsw(labelIsw []string) ApiDcimPowerOutletTemplatesListRequest {
- r.labelIsw = &labelIsw
+func (r ApiDcimPowerFeedsListRequest) CreatedIsnull(createdIsnull bool) ApiDcimPowerFeedsListRequest {
+ r.createdIsnull = &createdIsnull
return r
}
-// Label
-func (r ApiDcimPowerOutletTemplatesListRequest) LabelN(labelN []string) ApiDcimPowerOutletTemplatesListRequest {
- r.labelN = &labelN
+func (r ApiDcimPowerFeedsListRequest) CreatedLt(createdLt []time.Time) ApiDcimPowerFeedsListRequest {
+ r.createdLt = &createdLt
return r
}
-// Label
-func (r ApiDcimPowerOutletTemplatesListRequest) LabelNic(labelNic []string) ApiDcimPowerOutletTemplatesListRequest {
- r.labelNic = &labelNic
+func (r ApiDcimPowerFeedsListRequest) CreatedLte(createdLte []time.Time) ApiDcimPowerFeedsListRequest {
+ r.createdLte = &createdLte
return r
}
-// Label
-func (r ApiDcimPowerOutletTemplatesListRequest) LabelNie(labelNie []string) ApiDcimPowerOutletTemplatesListRequest {
- r.labelNie = &labelNie
+func (r ApiDcimPowerFeedsListRequest) CreatedN(createdN []time.Time) ApiDcimPowerFeedsListRequest {
+ r.createdN = &createdN
return r
}
-// Label
-func (r ApiDcimPowerOutletTemplatesListRequest) LabelNiew(labelNiew []string) ApiDcimPowerOutletTemplatesListRequest {
- r.labelNiew = &labelNiew
+func (r ApiDcimPowerFeedsListRequest) DestinationPanel(destinationPanel []string) ApiDcimPowerFeedsListRequest {
+ r.destinationPanel = &destinationPanel
return r
}
-// Label
-func (r ApiDcimPowerOutletTemplatesListRequest) LabelNire(labelNire []string) ApiDcimPowerOutletTemplatesListRequest {
- r.labelNire = &labelNire
+// Destination panel (name or ID) is null
+func (r ApiDcimPowerFeedsListRequest) DestinationPanelIsnull(destinationPanelIsnull bool) ApiDcimPowerFeedsListRequest {
+ r.destinationPanelIsnull = &destinationPanelIsnull
return r
}
-// Label
-func (r ApiDcimPowerOutletTemplatesListRequest) LabelNisw(labelNisw []string) ApiDcimPowerOutletTemplatesListRequest {
- r.labelNisw = &labelNisw
+func (r ApiDcimPowerFeedsListRequest) DestinationPanelN(destinationPanelN []string) ApiDcimPowerFeedsListRequest {
+ r.destinationPanelN = &destinationPanelN
return r
}
-// Label
-func (r ApiDcimPowerOutletTemplatesListRequest) LabelNre(labelNre []string) ApiDcimPowerOutletTemplatesListRequest {
- r.labelNre = &labelNre
+func (r ApiDcimPowerFeedsListRequest) DynamicGroups(dynamicGroups []string) ApiDcimPowerFeedsListRequest {
+ r.dynamicGroups = &dynamicGroups
return r
}
-// Label
-func (r ApiDcimPowerOutletTemplatesListRequest) LabelRe(labelRe []string) ApiDcimPowerOutletTemplatesListRequest {
- r.labelRe = &labelRe
+func (r ApiDcimPowerFeedsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimPowerFeedsListRequest {
+ r.dynamicGroupsN = &dynamicGroupsN
return r
}
-// Number of results to return per page.
-func (r ApiDcimPowerOutletTemplatesListRequest) Limit(limit int32) ApiDcimPowerOutletTemplatesListRequest {
- r.limit = &limit
+func (r ApiDcimPowerFeedsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerFeedsListRequest {
+ r.format = &format
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) ModuleType(moduleType []string) ApiDcimPowerOutletTemplatesListRequest {
- r.moduleType = &moduleType
+// Has cable
+func (r ApiDcimPowerFeedsListRequest) HasCable(hasCable bool) ApiDcimPowerFeedsListRequest {
+ r.hasCable = &hasCable
return r
}
-// Module type (model or ID) is null
-func (r ApiDcimPowerOutletTemplatesListRequest) ModuleTypeIsnull(moduleTypeIsnull bool) ApiDcimPowerOutletTemplatesListRequest {
- r.moduleTypeIsnull = &moduleTypeIsnull
- return r
+// Unique object identifier, either a UUID primary key or a composite key.
+func (r ApiDcimPowerFeedsListRequest) Id(id []string) ApiDcimPowerFeedsListRequest {
+ r.id = &id
+ return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) ModuleTypeN(moduleTypeN []string) ApiDcimPowerOutletTemplatesListRequest {
- r.moduleTypeN = &moduleTypeN
+func (r ApiDcimPowerFeedsListRequest) IdN(idN []string) ApiDcimPowerFeedsListRequest {
+ r.idN = &idN
return r
}
-// Name
-func (r ApiDcimPowerOutletTemplatesListRequest) Name(name []string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimPowerFeedsListRequest {
+ r.lastUpdated = &lastUpdated
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiDcimPowerFeedsListRequest {
+ r.lastUpdatedGt = &lastUpdatedGt
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiDcimPowerFeedsListRequest {
+ r.lastUpdatedGte = &lastUpdatedGte
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) LastUpdatedIsnull(lastUpdatedIsnull bool) ApiDcimPowerFeedsListRequest {
+ r.lastUpdatedIsnull = &lastUpdatedIsnull
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiDcimPowerFeedsListRequest {
+ r.lastUpdatedLt = &lastUpdatedLt
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiDcimPowerFeedsListRequest {
+ r.lastUpdatedLte = &lastUpdatedLte
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiDcimPowerFeedsListRequest {
+ r.lastUpdatedN = &lastUpdatedN
+ return r
+}
+
+// Number of results to return per page.
+func (r ApiDcimPowerFeedsListRequest) Limit(limit int32) ApiDcimPowerFeedsListRequest {
+ r.limit = &limit
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) Location(location []string) ApiDcimPowerFeedsListRequest {
+ r.location = &location
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) LocationN(locationN []string) ApiDcimPowerFeedsListRequest {
+ r.locationN = &locationN
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) MaxUtilization(maxUtilization []int32) ApiDcimPowerFeedsListRequest {
+ r.maxUtilization = &maxUtilization
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) MaxUtilizationGt(maxUtilizationGt []int32) ApiDcimPowerFeedsListRequest {
+ r.maxUtilizationGt = &maxUtilizationGt
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) MaxUtilizationGte(maxUtilizationGte []int32) ApiDcimPowerFeedsListRequest {
+ r.maxUtilizationGte = &maxUtilizationGte
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) MaxUtilizationLt(maxUtilizationLt []int32) ApiDcimPowerFeedsListRequest {
+ r.maxUtilizationLt = &maxUtilizationLt
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) MaxUtilizationLte(maxUtilizationLte []int32) ApiDcimPowerFeedsListRequest {
+ r.maxUtilizationLte = &maxUtilizationLte
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) MaxUtilizationN(maxUtilizationN []int32) ApiDcimPowerFeedsListRequest {
+ r.maxUtilizationN = &maxUtilizationN
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) Name(name []string) ApiDcimPowerFeedsListRequest {
r.name = &name
return r
}
-// Name
-func (r ApiDcimPowerOutletTemplatesListRequest) NameIc(nameIc []string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) NameIc(nameIc []string) ApiDcimPowerFeedsListRequest {
r.nameIc = &nameIc
return r
}
-// Name
-func (r ApiDcimPowerOutletTemplatesListRequest) NameIe(nameIe []string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) NameIe(nameIe []string) ApiDcimPowerFeedsListRequest {
r.nameIe = &nameIe
return r
}
-// Name
-func (r ApiDcimPowerOutletTemplatesListRequest) NameIew(nameIew []string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) NameIew(nameIew []string) ApiDcimPowerFeedsListRequest {
r.nameIew = &nameIew
return r
}
-// Name
-func (r ApiDcimPowerOutletTemplatesListRequest) NameIre(nameIre []string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) NameIre(nameIre []string) ApiDcimPowerFeedsListRequest {
r.nameIre = &nameIre
return r
}
-// Name
-func (r ApiDcimPowerOutletTemplatesListRequest) NameIsw(nameIsw []string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) NameIsw(nameIsw []string) ApiDcimPowerFeedsListRequest {
r.nameIsw = &nameIsw
return r
}
-// Name
-func (r ApiDcimPowerOutletTemplatesListRequest) NameN(nameN []string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) NameN(nameN []string) ApiDcimPowerFeedsListRequest {
r.nameN = &nameN
return r
}
-// Name
-func (r ApiDcimPowerOutletTemplatesListRequest) NameNic(nameNic []string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) NameNic(nameNic []string) ApiDcimPowerFeedsListRequest {
r.nameNic = &nameNic
return r
}
-// Name
-func (r ApiDcimPowerOutletTemplatesListRequest) NameNie(nameNie []string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) NameNie(nameNie []string) ApiDcimPowerFeedsListRequest {
r.nameNie = &nameNie
return r
}
-// Name
-func (r ApiDcimPowerOutletTemplatesListRequest) NameNiew(nameNiew []string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) NameNiew(nameNiew []string) ApiDcimPowerFeedsListRequest {
r.nameNiew = &nameNiew
return r
}
-// Name
-func (r ApiDcimPowerOutletTemplatesListRequest) NameNire(nameNire []string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) NameNire(nameNire []string) ApiDcimPowerFeedsListRequest {
r.nameNire = &nameNire
return r
}
-// Name
-func (r ApiDcimPowerOutletTemplatesListRequest) NameNisw(nameNisw []string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) NameNisw(nameNisw []string) ApiDcimPowerFeedsListRequest {
r.nameNisw = &nameNisw
return r
}
-// Name
-func (r ApiDcimPowerOutletTemplatesListRequest) NameNre(nameNre []string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) NameNre(nameNre []string) ApiDcimPowerFeedsListRequest {
r.nameNre = &nameNre
return r
}
-// Name
-func (r ApiDcimPowerOutletTemplatesListRequest) NameRe(nameRe []string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) NameRe(nameRe []string) ApiDcimPowerFeedsListRequest {
r.nameRe = &nameRe
return r
}
// The initial index from which to return the results.
-func (r ApiDcimPowerOutletTemplatesListRequest) Offset(offset int32) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) Offset(offset int32) ApiDcimPowerFeedsListRequest {
r.offset = &offset
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) PowerPortTemplate(powerPortTemplate []string) ApiDcimPowerOutletTemplatesListRequest {
- r.powerPortTemplate = &powerPortTemplate
+func (r ApiDcimPowerFeedsListRequest) Phase(phase []string) ApiDcimPowerFeedsListRequest {
+ r.phase = &phase
return r
}
-// Power port template (name or ID) is null
-func (r ApiDcimPowerOutletTemplatesListRequest) PowerPortTemplateIsnull(powerPortTemplateIsnull bool) ApiDcimPowerOutletTemplatesListRequest {
- r.powerPortTemplateIsnull = &powerPortTemplateIsnull
+func (r ApiDcimPowerFeedsListRequest) PhaseIc(phaseIc []string) ApiDcimPowerFeedsListRequest {
+ r.phaseIc = &phaseIc
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) PowerPortTemplateN(powerPortTemplateN []string) ApiDcimPowerOutletTemplatesListRequest {
- r.powerPortTemplateN = &powerPortTemplateN
+func (r ApiDcimPowerFeedsListRequest) PhaseIe(phaseIe []string) ApiDcimPowerFeedsListRequest {
+ r.phaseIe = &phaseIe
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) PhaseIew(phaseIew []string) ApiDcimPowerFeedsListRequest {
+ r.phaseIew = &phaseIew
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) PhaseIre(phaseIre []string) ApiDcimPowerFeedsListRequest {
+ r.phaseIre = &phaseIre
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) PhaseIsw(phaseIsw []string) ApiDcimPowerFeedsListRequest {
+ r.phaseIsw = &phaseIsw
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) PhaseN(phaseN []string) ApiDcimPowerFeedsListRequest {
+ r.phaseN = &phaseN
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) PhaseNic(phaseNic []string) ApiDcimPowerFeedsListRequest {
+ r.phaseNic = &phaseNic
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) PhaseNie(phaseNie []string) ApiDcimPowerFeedsListRequest {
+ r.phaseNie = &phaseNie
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) PhaseNiew(phaseNiew []string) ApiDcimPowerFeedsListRequest {
+ r.phaseNiew = &phaseNiew
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) PhaseNire(phaseNire []string) ApiDcimPowerFeedsListRequest {
+ r.phaseNire = &phaseNire
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) PhaseNisw(phaseNisw []string) ApiDcimPowerFeedsListRequest {
+ r.phaseNisw = &phaseNisw
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) PhaseNre(phaseNre []string) ApiDcimPowerFeedsListRequest {
+ r.phaseNre = &phaseNre
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) PhaseRe(phaseRe []string) ApiDcimPowerFeedsListRequest {
+ r.phaseRe = &phaseRe
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) PowerPanel(powerPanel []string) ApiDcimPowerFeedsListRequest {
+ r.powerPanel = &powerPanel
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) PowerPanelN(powerPanelN []string) ApiDcimPowerFeedsListRequest {
+ r.powerPanelN = &powerPanelN
+ return r
+}
+
+// Physical power distribution redundancy path.
+func (r ApiDcimPowerFeedsListRequest) PowerPath(powerPath []string) ApiDcimPowerFeedsListRequest {
+ r.powerPath = &powerPath
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) PowerPathIc(powerPathIc []string) ApiDcimPowerFeedsListRequest {
+ r.powerPathIc = &powerPathIc
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) PowerPathIe(powerPathIe []string) ApiDcimPowerFeedsListRequest {
+ r.powerPathIe = &powerPathIe
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) PowerPathIew(powerPathIew []string) ApiDcimPowerFeedsListRequest {
+ r.powerPathIew = &powerPathIew
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) PowerPathIre(powerPathIre []string) ApiDcimPowerFeedsListRequest {
+ r.powerPathIre = &powerPathIre
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) PowerPathIsw(powerPathIsw []string) ApiDcimPowerFeedsListRequest {
+ r.powerPathIsw = &powerPathIsw
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) PowerPathN(powerPathN []string) ApiDcimPowerFeedsListRequest {
+ r.powerPathN = &powerPathN
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) PowerPathNic(powerPathNic []string) ApiDcimPowerFeedsListRequest {
+ r.powerPathNic = &powerPathNic
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) PowerPathNie(powerPathNie []string) ApiDcimPowerFeedsListRequest {
+ r.powerPathNie = &powerPathNie
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) PowerPathNiew(powerPathNiew []string) ApiDcimPowerFeedsListRequest {
+ r.powerPathNiew = &powerPathNiew
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) PowerPathNire(powerPathNire []string) ApiDcimPowerFeedsListRequest {
+ r.powerPathNire = &powerPathNire
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) PowerPathNisw(powerPathNisw []string) ApiDcimPowerFeedsListRequest {
+ r.powerPathNisw = &powerPathNisw
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) PowerPathNre(powerPathNre []string) ApiDcimPowerFeedsListRequest {
+ r.powerPathNre = &powerPathNre
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) PowerPathRe(powerPathRe []string) ApiDcimPowerFeedsListRequest {
+ r.powerPathRe = &powerPathRe
return r
}
// Search
-func (r ApiDcimPowerOutletTemplatesListRequest) Q(q string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) Q(q string) ApiDcimPowerFeedsListRequest {
r.q = &q
return r
}
+func (r ApiDcimPowerFeedsListRequest) Rack(rack []string) ApiDcimPowerFeedsListRequest {
+ r.rack = &rack
+ return r
+}
+
+// Rack (name or ID) is null
+func (r ApiDcimPowerFeedsListRequest) RackIsnull(rackIsnull bool) ApiDcimPowerFeedsListRequest {
+ r.rackIsnull = &rackIsnull
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) RackN(rackN []string) ApiDcimPowerFeedsListRequest {
+ r.rackN = &rackN
+ return r
+}
+
// Which field to use when ordering the results.
-func (r ApiDcimPowerOutletTemplatesListRequest) Sort(sort string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) Sort(sort string) ApiDcimPowerFeedsListRequest {
r.sort = &sort
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) Teams(teams []string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) Status(status []string) ApiDcimPowerFeedsListRequest {
+ r.status = &status
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) StatusN(statusN []string) ApiDcimPowerFeedsListRequest {
+ r.statusN = &statusN
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) Supply(supply []string) ApiDcimPowerFeedsListRequest {
+ r.supply = &supply
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) SupplyIc(supplyIc []string) ApiDcimPowerFeedsListRequest {
+ r.supplyIc = &supplyIc
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) SupplyIe(supplyIe []string) ApiDcimPowerFeedsListRequest {
+ r.supplyIe = &supplyIe
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) SupplyIew(supplyIew []string) ApiDcimPowerFeedsListRequest {
+ r.supplyIew = &supplyIew
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) SupplyIre(supplyIre []string) ApiDcimPowerFeedsListRequest {
+ r.supplyIre = &supplyIre
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) SupplyIsw(supplyIsw []string) ApiDcimPowerFeedsListRequest {
+ r.supplyIsw = &supplyIsw
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) SupplyN(supplyN []string) ApiDcimPowerFeedsListRequest {
+ r.supplyN = &supplyN
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) SupplyNic(supplyNic []string) ApiDcimPowerFeedsListRequest {
+ r.supplyNic = &supplyNic
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) SupplyNie(supplyNie []string) ApiDcimPowerFeedsListRequest {
+ r.supplyNie = &supplyNie
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) SupplyNiew(supplyNiew []string) ApiDcimPowerFeedsListRequest {
+ r.supplyNiew = &supplyNiew
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) SupplyNire(supplyNire []string) ApiDcimPowerFeedsListRequest {
+ r.supplyNire = &supplyNire
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) SupplyNisw(supplyNisw []string) ApiDcimPowerFeedsListRequest {
+ r.supplyNisw = &supplyNisw
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) SupplyNre(supplyNre []string) ApiDcimPowerFeedsListRequest {
+ r.supplyNre = &supplyNre
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) SupplyRe(supplyRe []string) ApiDcimPowerFeedsListRequest {
+ r.supplyRe = &supplyRe
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) Tags(tags []string) ApiDcimPowerFeedsListRequest {
+ r.tags = &tags
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) TagsIsnull(tagsIsnull bool) ApiDcimPowerFeedsListRequest {
+ r.tagsIsnull = &tagsIsnull
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) TagsN(tagsN []string) ApiDcimPowerFeedsListRequest {
+ r.tagsN = &tagsN
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) Teams(teams []string) ApiDcimPowerFeedsListRequest {
r.teams = &teams
return r
}
// Teams (name or ID) is null
-func (r ApiDcimPowerOutletTemplatesListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimPowerFeedsListRequest {
r.teamsIsnull = &teamsIsnull
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimPowerOutletTemplatesListRequest) TeamsN(teamsN string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) TeamsN(teamsN []string) ApiDcimPowerFeedsListRequest {
r.teamsN = &teamsN
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) Type_(type_ []string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) Type_(type_ []string) ApiDcimPowerFeedsListRequest {
r.type_ = &type_
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) TypeIc(typeIc []string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) TypeIc(typeIc []string) ApiDcimPowerFeedsListRequest {
r.typeIc = &typeIc
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) TypeIe(typeIe []string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) TypeIe(typeIe []string) ApiDcimPowerFeedsListRequest {
r.typeIe = &typeIe
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) TypeIew(typeIew []string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) TypeIew(typeIew []string) ApiDcimPowerFeedsListRequest {
r.typeIew = &typeIew
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) TypeIre(typeIre []string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) TypeIre(typeIre []string) ApiDcimPowerFeedsListRequest {
r.typeIre = &typeIre
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) TypeIsw(typeIsw []string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) TypeIsw(typeIsw []string) ApiDcimPowerFeedsListRequest {
r.typeIsw = &typeIsw
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) TypeN(typeN []string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) TypeN(typeN []string) ApiDcimPowerFeedsListRequest {
r.typeN = &typeN
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) TypeNic(typeNic []string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) TypeNic(typeNic []string) ApiDcimPowerFeedsListRequest {
r.typeNic = &typeNic
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) TypeNie(typeNie []string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) TypeNie(typeNie []string) ApiDcimPowerFeedsListRequest {
r.typeNie = &typeNie
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) TypeNiew(typeNiew []string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) TypeNiew(typeNiew []string) ApiDcimPowerFeedsListRequest {
r.typeNiew = &typeNiew
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) TypeNire(typeNire []string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) TypeNire(typeNire []string) ApiDcimPowerFeedsListRequest {
r.typeNire = &typeNire
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) TypeNisw(typeNisw []string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) TypeNisw(typeNisw []string) ApiDcimPowerFeedsListRequest {
r.typeNisw = &typeNisw
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) TypeNre(typeNre []string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) TypeNre(typeNre []string) ApiDcimPowerFeedsListRequest {
r.typeNre = &typeNre
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) TypeRe(typeRe []string) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) TypeRe(typeRe []string) ApiDcimPowerFeedsListRequest {
r.typeRe = &typeRe
return r
}
+func (r ApiDcimPowerFeedsListRequest) Voltage(voltage []int32) ApiDcimPowerFeedsListRequest {
+ r.voltage = &voltage
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) VoltageGt(voltageGt []int32) ApiDcimPowerFeedsListRequest {
+ r.voltageGt = &voltageGt
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) VoltageGte(voltageGte []int32) ApiDcimPowerFeedsListRequest {
+ r.voltageGte = &voltageGte
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) VoltageLt(voltageLt []int32) ApiDcimPowerFeedsListRequest {
+ r.voltageLt = &voltageLt
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) VoltageLte(voltageLte []int32) ApiDcimPowerFeedsListRequest {
+ r.voltageLte = &voltageLte
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) VoltageN(voltageN []int32) ApiDcimPowerFeedsListRequest {
+ r.voltageN = &voltageN
+ return r
+}
+
// Serializer Depth
-func (r ApiDcimPowerOutletTemplatesListRequest) Depth(depth int32) ApiDcimPowerOutletTemplatesListRequest {
+func (r ApiDcimPowerFeedsListRequest) Depth(depth int32) ApiDcimPowerFeedsListRequest {
r.depth = &depth
return r
}
-func (r ApiDcimPowerOutletTemplatesListRequest) Execute() (*PaginatedPowerOutletTemplateList, *http.Response, error) {
- return r.ApiService.DcimPowerOutletTemplatesListExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimPowerFeedsListRequest) ExcludeM2m(excludeM2m bool) ApiDcimPowerFeedsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimPowerFeedsListRequest) Execute() (*PaginatedPowerFeedList, *http.Response, error) {
+ return r.ApiService.DcimPowerFeedsListExecute(r)
}
/*
-DcimPowerOutletTemplatesList Method for DcimPowerOutletTemplatesList
+DcimPowerFeedsList Method for DcimPowerFeedsList
-Retrieve a list of power outlet template objects.
+Retrieve a list of power feed objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPowerOutletTemplatesListRequest
+ @return ApiDcimPowerFeedsListRequest
*/
-func (a *DcimAPIService) DcimPowerOutletTemplatesList(ctx context.Context) ApiDcimPowerOutletTemplatesListRequest {
- return ApiDcimPowerOutletTemplatesListRequest{
+func (a *DcimAPIService) DcimPowerFeedsList(ctx context.Context) ApiDcimPowerFeedsListRequest {
+ return ApiDcimPowerFeedsListRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return PaginatedPowerOutletTemplateList
-func (a *DcimAPIService) DcimPowerOutletTemplatesListExecute(r ApiDcimPowerOutletTemplatesListRequest) (*PaginatedPowerOutletTemplateList, *http.Response, error) {
+// @return PaginatedPowerFeedList
+func (a *DcimAPIService) DcimPowerFeedsListExecute(r ApiDcimPowerFeedsListRequest) (*PaginatedPowerFeedList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PaginatedPowerOutletTemplateList
+ localVarReturnValue *PaginatedPowerFeedList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletTemplatesList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerFeedsList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-outlet-templates/"
+ localVarPath := localBasePath + "/dcim/power-feeds/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.contacts != nil {
- t := *r.contacts
+ if r.amperage != nil {
+ t := *r.amperage
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "amperage", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "amperage", t, "form", "multi")
}
}
- if r.contactsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
+ if r.amperageGt != nil {
+ t := *r.amperageGt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "amperage__gt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "amperage__gt", t, "form", "multi")
+ }
}
- if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ if r.amperageGte != nil {
+ t := *r.amperageGte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "amperage__gte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "amperage__gte", t, "form", "multi")
+ }
}
- if r.description != nil {
- t := *r.description
+ if r.amperageLt != nil {
+ t := *r.amperageLt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "amperage__lt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "amperage__lt", t, "form", "multi")
}
}
- if r.descriptionIc != nil {
- t := *r.descriptionIc
+ if r.amperageLte != nil {
+ t := *r.amperageLte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "amperage__lte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "amperage__lte", t, "form", "multi")
}
}
- if r.descriptionIe != nil {
- t := *r.descriptionIe
+ if r.amperageN != nil {
+ t := *r.amperageN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "amperage__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "amperage__n", t, "form", "multi")
}
}
- if r.descriptionIew != nil {
- t := *r.descriptionIew
+ if r.availablePower != nil {
+ t := *r.availablePower
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "available_power", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "available_power", t, "form", "multi")
}
}
- if r.descriptionIre != nil {
- t := *r.descriptionIre
+ if r.availablePowerGt != nil {
+ t := *r.availablePowerGt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "available_power__gt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "available_power__gt", t, "form", "multi")
}
}
- if r.descriptionIsw != nil {
- t := *r.descriptionIsw
+ if r.availablePowerGte != nil {
+ t := *r.availablePowerGte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "available_power__gte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "available_power__gte", t, "form", "multi")
}
}
- if r.descriptionN != nil {
- t := *r.descriptionN
+ if r.availablePowerLt != nil {
+ t := *r.availablePowerLt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "available_power__lt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "available_power__lt", t, "form", "multi")
}
}
- if r.descriptionNic != nil {
- t := *r.descriptionNic
+ if r.availablePowerLte != nil {
+ t := *r.availablePowerLte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "available_power__lte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "available_power__lte", t, "form", "multi")
}
}
- if r.descriptionNie != nil {
- t := *r.descriptionNie
+ if r.availablePowerN != nil {
+ t := *r.availablePowerN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "available_power__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "available_power__n", t, "form", "multi")
}
}
- if r.descriptionNiew != nil {
- t := *r.descriptionNiew
+ if r.breakerPoleCount != nil {
+ t := *r.breakerPoleCount
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_pole_count", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_pole_count", t, "form", "multi")
}
}
- if r.descriptionNire != nil {
- t := *r.descriptionNire
+ if r.breakerPoleCountIc != nil {
+ t := *r.breakerPoleCountIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_pole_count__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_pole_count__ic", t, "form", "multi")
}
}
- if r.descriptionNisw != nil {
- t := *r.descriptionNisw
+ if r.breakerPoleCountIe != nil {
+ t := *r.breakerPoleCountIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_pole_count__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_pole_count__ie", t, "form", "multi")
}
}
- if r.descriptionNre != nil {
- t := *r.descriptionNre
+ if r.breakerPoleCountIew != nil {
+ t := *r.breakerPoleCountIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_pole_count__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_pole_count__iew", t, "form", "multi")
}
}
- if r.descriptionRe != nil {
- t := *r.descriptionRe
+ if r.breakerPoleCountIre != nil {
+ t := *r.breakerPoleCountIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_pole_count__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_pole_count__ire", t, "form", "multi")
}
}
- if r.deviceType != nil {
- t := *r.deviceType
+ if r.breakerPoleCountIsnull != nil {
+ t := *r.breakerPoleCountIsnull
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device_type", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_pole_count__isnull", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device_type", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_pole_count__isnull", t, "form", "multi")
}
}
- if r.deviceTypeIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device_type__isnull", r.deviceTypeIsnull, "form", "")
+ if r.breakerPoleCountIsw != nil {
+ t := *r.breakerPoleCountIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_pole_count__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_pole_count__isw", t, "form", "multi")
+ }
}
- if r.deviceTypeN != nil {
- t := *r.deviceTypeN
+ if r.breakerPoleCountN != nil {
+ t := *r.breakerPoleCountN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device_type__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_pole_count__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device_type__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_pole_count__n", t, "form", "multi")
}
}
- if r.dynamicGroups != nil {
- t := *r.dynamicGroups
+ if r.breakerPoleCountNic != nil {
+ t := *r.breakerPoleCountNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_pole_count__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_pole_count__nic", t, "form", "multi")
}
}
- if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ if r.breakerPoleCountNie != nil {
+ t := *r.breakerPoleCountNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_pole_count__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_pole_count__nie", t, "form", "multi")
+ }
}
- if r.feedLeg != nil {
- t := *r.feedLeg
+ if r.breakerPoleCountNiew != nil {
+ t := *r.breakerPoleCountNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_pole_count__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_pole_count__niew", t, "form", "multi")
}
}
- if r.feedLegIc != nil {
- t := *r.feedLegIc
+ if r.breakerPoleCountNire != nil {
+ t := *r.breakerPoleCountNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_pole_count__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_pole_count__nire", t, "form", "multi")
}
}
- if r.feedLegIe != nil {
- t := *r.feedLegIe
+ if r.breakerPoleCountNisw != nil {
+ t := *r.breakerPoleCountNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_pole_count__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_pole_count__nisw", t, "form", "multi")
}
}
- if r.feedLegIew != nil {
- t := *r.feedLegIew
+ if r.breakerPoleCountNre != nil {
+ t := *r.breakerPoleCountNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_pole_count__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_pole_count__nre", t, "form", "multi")
}
}
- if r.feedLegIre != nil {
- t := *r.feedLegIre
+ if r.breakerPoleCountRe != nil {
+ t := *r.breakerPoleCountRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_pole_count__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_pole_count__re", t, "form", "multi")
}
}
- if r.feedLegIsw != nil {
- t := *r.feedLegIsw
+ if r.breakerPosition != nil {
+ t := *r.breakerPosition
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_position", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_position", t, "form", "multi")
}
}
- if r.feedLegN != nil {
- t := *r.feedLegN
+ if r.breakerPositionGt != nil {
+ t := *r.breakerPositionGt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_position__gt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_position__gt", t, "form", "multi")
}
}
- if r.feedLegNic != nil {
- t := *r.feedLegNic
+ if r.breakerPositionGte != nil {
+ t := *r.breakerPositionGte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_position__gte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_position__gte", t, "form", "multi")
}
}
- if r.feedLegNie != nil {
- t := *r.feedLegNie
+ if r.breakerPositionIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_position__isnull", r.breakerPositionIsnull, "form", "")
+ }
+ if r.breakerPositionLt != nil {
+ t := *r.breakerPositionLt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_position__lt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_position__lt", t, "form", "multi")
}
}
- if r.feedLegNiew != nil {
- t := *r.feedLegNiew
+ if r.breakerPositionLte != nil {
+ t := *r.breakerPositionLte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_position__lte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_position__lte", t, "form", "multi")
}
}
- if r.feedLegNire != nil {
- t := *r.feedLegNire
+ if r.breakerPositionN != nil {
+ t := *r.breakerPositionN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_position__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "breaker_position__n", t, "form", "multi")
}
}
- if r.feedLegNisw != nil {
- t := *r.feedLegNisw
+ if r.cable != nil {
+ t := *r.cable
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "cable", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "cable", t, "form", "multi")
}
}
- if r.feedLegNre != nil {
- t := *r.feedLegNre
+ if r.cableIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "cable__isnull", r.cableIsnull, "form", "")
+ }
+ if r.cableN != nil {
+ t := *r.cableN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "cable__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "cable__n", t, "form", "multi")
}
}
- if r.feedLegRe != nil {
- t := *r.feedLegRe
+ if r.comments != nil {
+ t := *r.comments
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments", t, "form", "multi")
}
}
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ if r.commentsIc != nil {
+ t := *r.commentsIc
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ic", t, "form", "multi")
+ }
}
- if r.hasDeviceType != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_device_type", r.hasDeviceType, "form", "")
+ if r.commentsIe != nil {
+ t := *r.commentsIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ie", t, "form", "multi")
+ }
}
- if r.hasModuleType != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_module_type", r.hasModuleType, "form", "")
+ if r.commentsIew != nil {
+ t := *r.commentsIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__iew", t, "form", "multi")
+ }
}
- if r.id != nil {
- t := *r.id
+ if r.commentsIre != nil {
+ t := *r.commentsIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ire", t, "form", "multi")
+ }
+ }
+ if r.commentsIsw != nil {
+ t := *r.commentsIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__isw", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
+ if r.commentsN != nil {
+ t := *r.commentsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__n", t, "form", "multi")
}
}
- if r.idIe != nil {
- t := *r.idIe
+ if r.commentsNic != nil {
+ t := *r.commentsNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nic", t, "form", "multi")
}
}
- if r.idIew != nil {
- t := *r.idIew
+ if r.commentsNie != nil {
+ t := *r.commentsNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nie", t, "form", "multi")
}
}
- if r.idIre != nil {
- t := *r.idIre
+ if r.commentsNiew != nil {
+ t := *r.commentsNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__niew", t, "form", "multi")
}
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.commentsNire != nil {
+ t := *r.commentsNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nire", t, "form", "multi")
}
}
- if r.idN != nil {
- t := *r.idN
+ if r.commentsNisw != nil {
+ t := *r.commentsNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nisw", t, "form", "multi")
+ }
+ }
+ if r.commentsNre != nil {
+ t := *r.commentsNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nre", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
+ if r.commentsRe != nil {
+ t := *r.commentsRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__re", t, "form", "multi")
}
}
- if r.idNie != nil {
- t := *r.idNie
+ if r.connected != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "connected", r.connected, "form", "")
+ }
+ if r.contacts != nil {
+ t := *r.contacts
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", t, "form", "multi")
}
}
- if r.idNiew != nil {
- t := *r.idNiew
+ if r.contactsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
+ }
+ if r.contactsN != nil {
+ t := *r.contactsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
}
}
- if r.idNire != nil {
- t := *r.idNire
+ if r.created != nil {
+ t := *r.created
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created", t, "form", "multi")
}
}
- if r.idNisw != nil {
- t := *r.idNisw
+ if r.createdGt != nil {
+ t := *r.createdGt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", t, "form", "multi")
}
}
- if r.idNre != nil {
- t := *r.idNre
+ if r.createdGte != nil {
+ t := *r.createdGte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", t, "form", "multi")
}
}
- if r.idRe != nil {
- t := *r.idRe
+ if r.createdIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__isnull", r.createdIsnull, "form", "")
+ }
+ if r.createdLt != nil {
+ t := *r.createdLt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", t, "form", "multi")
}
}
- if r.label != nil {
- t := *r.label
+ if r.createdLte != nil {
+ t := *r.createdLte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", t, "form", "multi")
}
}
- if r.labelIc != nil {
- t := *r.labelIc
+ if r.createdN != nil {
+ t := *r.createdN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "form", "multi")
}
}
- if r.labelIe != nil {
- t := *r.labelIe
+ if r.destinationPanel != nil {
+ t := *r.destinationPanel
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "destination_panel", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "destination_panel", t, "form", "multi")
}
}
- if r.labelIew != nil {
- t := *r.labelIew
+ if r.destinationPanelIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "destination_panel__isnull", r.destinationPanelIsnull, "form", "")
+ }
+ if r.destinationPanelN != nil {
+ t := *r.destinationPanelN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "destination_panel__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "destination_panel__n", t, "form", "multi")
}
}
- if r.labelIre != nil {
- t := *r.labelIre
+ if r.dynamicGroups != nil {
+ t := *r.dynamicGroups
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
}
}
- if r.labelIsw != nil {
- t := *r.labelIsw
+ if r.dynamicGroupsN != nil {
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.labelN != nil {
- t := *r.labelN
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.hasCable != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_cable", r.hasCable, "form", "")
+ }
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.labelNic != nil {
- t := *r.labelNic
+ if r.idN != nil {
+ t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.labelNie != nil {
- t := *r.labelNie
+ if r.lastUpdated != nil {
+ t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "form", "multi")
}
}
- if r.labelNiew != nil {
- t := *r.labelNiew
+ if r.lastUpdatedGt != nil {
+ t := *r.lastUpdatedGt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", t, "form", "multi")
}
}
- if r.labelNire != nil {
- t := *r.labelNire
+ if r.lastUpdatedGte != nil {
+ t := *r.lastUpdatedGte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", t, "form", "multi")
}
}
- if r.labelNisw != nil {
- t := *r.labelNisw
+ if r.lastUpdatedIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__isnull", r.lastUpdatedIsnull, "form", "")
+ }
+ if r.lastUpdatedLt != nil {
+ t := *r.lastUpdatedLt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", t, "form", "multi")
}
}
- if r.labelNre != nil {
- t := *r.labelNre
+ if r.lastUpdatedLte != nil {
+ t := *r.lastUpdatedLte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", t, "form", "multi")
}
}
- if r.labelRe != nil {
- t := *r.labelRe
+ if r.lastUpdatedN != nil {
+ t := *r.lastUpdatedN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", t, "form", "multi")
}
}
if r.limit != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
- if r.moduleType != nil {
- t := *r.moduleType
+ if r.location != nil {
+ t := *r.location
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module_type", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module_type", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location", t, "form", "multi")
}
}
- if r.moduleTypeIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module_type__isnull", r.moduleTypeIsnull, "form", "")
+ if r.locationN != nil {
+ t := *r.locationN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", t, "form", "multi")
+ }
}
- if r.moduleTypeN != nil {
- t := *r.moduleTypeN
+ if r.maxUtilization != nil {
+ t := *r.maxUtilization
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module_type__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "max_utilization", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module_type__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "max_utilization", t, "form", "multi")
+ }
+ }
+ if r.maxUtilizationGt != nil {
+ t := *r.maxUtilizationGt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "max_utilization__gt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "max_utilization__gt", t, "form", "multi")
+ }
+ }
+ if r.maxUtilizationGte != nil {
+ t := *r.maxUtilizationGte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "max_utilization__gte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "max_utilization__gte", t, "form", "multi")
+ }
+ }
+ if r.maxUtilizationLt != nil {
+ t := *r.maxUtilizationLt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "max_utilization__lt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "max_utilization__lt", t, "form", "multi")
+ }
+ }
+ if r.maxUtilizationLte != nil {
+ t := *r.maxUtilizationLte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "max_utilization__lte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "max_utilization__lte", t, "form", "multi")
+ }
+ }
+ if r.maxUtilizationN != nil {
+ t := *r.maxUtilizationN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "max_utilization__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "max_utilization__n", t, "form", "multi")
}
}
if r.name != nil {
@@ -101963,37 +96626,568 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesListExecute(r ApiDcimPowerOutle
if r.offset != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
}
- if r.powerPortTemplate != nil {
- t := *r.powerPortTemplate
+ if r.phase != nil {
+ t := *r.phase
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_port_template", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "phase", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_port_template", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "phase", t, "form", "multi")
}
}
- if r.powerPortTemplateIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_port_template__isnull", r.powerPortTemplateIsnull, "form", "")
- }
- if r.powerPortTemplateN != nil {
- t := *r.powerPortTemplateN
+ if r.phaseIc != nil {
+ t := *r.phaseIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_port_template__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "phase__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_port_template__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "phase__ic", t, "form", "multi")
+ }
+ }
+ if r.phaseIe != nil {
+ t := *r.phaseIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "phase__ie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "phase__ie", t, "form", "multi")
+ }
+ }
+ if r.phaseIew != nil {
+ t := *r.phaseIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "phase__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "phase__iew", t, "form", "multi")
+ }
+ }
+ if r.phaseIre != nil {
+ t := *r.phaseIre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "phase__ire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "phase__ire", t, "form", "multi")
+ }
+ }
+ if r.phaseIsw != nil {
+ t := *r.phaseIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "phase__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "phase__isw", t, "form", "multi")
+ }
+ }
+ if r.phaseN != nil {
+ t := *r.phaseN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "phase__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "phase__n", t, "form", "multi")
+ }
+ }
+ if r.phaseNic != nil {
+ t := *r.phaseNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "phase__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "phase__nic", t, "form", "multi")
+ }
+ }
+ if r.phaseNie != nil {
+ t := *r.phaseNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "phase__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "phase__nie", t, "form", "multi")
+ }
+ }
+ if r.phaseNiew != nil {
+ t := *r.phaseNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "phase__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "phase__niew", t, "form", "multi")
+ }
+ }
+ if r.phaseNire != nil {
+ t := *r.phaseNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "phase__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "phase__nire", t, "form", "multi")
+ }
+ }
+ if r.phaseNisw != nil {
+ t := *r.phaseNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "phase__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "phase__nisw", t, "form", "multi")
+ }
+ }
+ if r.phaseNre != nil {
+ t := *r.phaseNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "phase__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "phase__nre", t, "form", "multi")
+ }
+ }
+ if r.phaseRe != nil {
+ t := *r.phaseRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "phase__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "phase__re", t, "form", "multi")
+ }
+ }
+ if r.powerPanel != nil {
+ t := *r.powerPanel
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_panel", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_panel", t, "form", "multi")
+ }
+ }
+ if r.powerPanelN != nil {
+ t := *r.powerPanelN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_panel__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_panel__n", t, "form", "multi")
+ }
+ }
+ if r.powerPath != nil {
+ t := *r.powerPath
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path", t, "form", "multi")
+ }
+ }
+ if r.powerPathIc != nil {
+ t := *r.powerPathIc
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__ic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__ic", t, "form", "multi")
+ }
+ }
+ if r.powerPathIe != nil {
+ t := *r.powerPathIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__ie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__ie", t, "form", "multi")
+ }
+ }
+ if r.powerPathIew != nil {
+ t := *r.powerPathIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__iew", t, "form", "multi")
+ }
+ }
+ if r.powerPathIre != nil {
+ t := *r.powerPathIre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__ire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__ire", t, "form", "multi")
+ }
+ }
+ if r.powerPathIsw != nil {
+ t := *r.powerPathIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__isw", t, "form", "multi")
+ }
+ }
+ if r.powerPathN != nil {
+ t := *r.powerPathN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__n", t, "form", "multi")
+ }
+ }
+ if r.powerPathNic != nil {
+ t := *r.powerPathNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__nic", t, "form", "multi")
+ }
+ }
+ if r.powerPathNie != nil {
+ t := *r.powerPathNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__nie", t, "form", "multi")
+ }
+ }
+ if r.powerPathNiew != nil {
+ t := *r.powerPathNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__niew", t, "form", "multi")
+ }
+ }
+ if r.powerPathNire != nil {
+ t := *r.powerPathNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__nire", t, "form", "multi")
+ }
+ }
+ if r.powerPathNisw != nil {
+ t := *r.powerPathNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__nisw", t, "form", "multi")
+ }
+ }
+ if r.powerPathNre != nil {
+ t := *r.powerPathNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__nre", t, "form", "multi")
+ }
+ }
+ if r.powerPathRe != nil {
+ t := *r.powerPathRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__re", t, "form", "multi")
+ }
+ }
+ if r.q != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
+ }
+ if r.rack != nil {
+ t := *r.rack
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rack", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rack", t, "form", "multi")
+ }
+ }
+ if r.rackIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rack__isnull", r.rackIsnull, "form", "")
+ }
+ if r.rackN != nil {
+ t := *r.rackN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rack__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rack__n", t, "form", "multi")
}
}
- if r.q != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
- }
if r.sort != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
}
+ if r.status != nil {
+ t := *r.status
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status", t, "form", "multi")
+ }
+ }
+ if r.statusN != nil {
+ t := *r.statusN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "form", "multi")
+ }
+ }
+ if r.supply != nil {
+ t := *r.supply
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supply", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supply", t, "form", "multi")
+ }
+ }
+ if r.supplyIc != nil {
+ t := *r.supplyIc
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supply__ic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supply__ic", t, "form", "multi")
+ }
+ }
+ if r.supplyIe != nil {
+ t := *r.supplyIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supply__ie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supply__ie", t, "form", "multi")
+ }
+ }
+ if r.supplyIew != nil {
+ t := *r.supplyIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supply__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supply__iew", t, "form", "multi")
+ }
+ }
+ if r.supplyIre != nil {
+ t := *r.supplyIre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supply__ire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supply__ire", t, "form", "multi")
+ }
+ }
+ if r.supplyIsw != nil {
+ t := *r.supplyIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supply__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supply__isw", t, "form", "multi")
+ }
+ }
+ if r.supplyN != nil {
+ t := *r.supplyN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supply__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supply__n", t, "form", "multi")
+ }
+ }
+ if r.supplyNic != nil {
+ t := *r.supplyNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supply__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supply__nic", t, "form", "multi")
+ }
+ }
+ if r.supplyNie != nil {
+ t := *r.supplyNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supply__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supply__nie", t, "form", "multi")
+ }
+ }
+ if r.supplyNiew != nil {
+ t := *r.supplyNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supply__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supply__niew", t, "form", "multi")
+ }
+ }
+ if r.supplyNire != nil {
+ t := *r.supplyNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supply__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supply__nire", t, "form", "multi")
+ }
+ }
+ if r.supplyNisw != nil {
+ t := *r.supplyNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supply__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supply__nisw", t, "form", "multi")
+ }
+ }
+ if r.supplyNre != nil {
+ t := *r.supplyNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supply__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supply__nre", t, "form", "multi")
+ }
+ }
+ if r.supplyRe != nil {
+ t := *r.supplyRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supply__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supply__re", t, "form", "multi")
+ }
+ }
+ if r.tags != nil {
+ t := *r.tags
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags", t, "form", "multi")
+ }
+ }
+ if r.tagsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__isnull", r.tagsIsnull, "form", "")
+ }
+ if r.tagsN != nil {
+ t := *r.tagsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", t, "form", "multi")
+ }
+ }
if r.teams != nil {
t := *r.teams
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -102009,7 +97203,15 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesListExecute(r ApiDcimPowerOutle
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.type_ != nil {
t := *r.type_
@@ -102165,11 +97367,85 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesListExecute(r ApiDcimPowerOutle
parameterAddToHeaderOrQuery(localVarQueryParams, "type__re", t, "form", "multi")
}
}
+ if r.voltage != nil {
+ t := *r.voltage
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "voltage", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "voltage", t, "form", "multi")
+ }
+ }
+ if r.voltageGt != nil {
+ t := *r.voltageGt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "voltage__gt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "voltage__gt", t, "form", "multi")
+ }
+ }
+ if r.voltageGte != nil {
+ t := *r.voltageGte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "voltage__gte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "voltage__gte", t, "form", "multi")
+ }
+ }
+ if r.voltageLt != nil {
+ t := *r.voltageLt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "voltage__lt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "voltage__lt", t, "form", "multi")
+ }
+ }
+ if r.voltageLte != nil {
+ t := *r.voltageLte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "voltage__lte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "voltage__lte", t, "form", "multi")
+ }
+ }
+ if r.voltageN != nil {
+ t := *r.voltageN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "voltage__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "voltage__n", t, "form", "multi")
+ }
+ }
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -102239,7 +97515,7 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesListExecute(r ApiDcimPowerOutle
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerOutletTemplatesNotesCreateRequest struct {
+type ApiDcimPowerFeedsNotesCreateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
@@ -102247,31 +97523,31 @@ type ApiDcimPowerOutletTemplatesNotesCreateRequest struct {
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerOutletTemplatesNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimPowerOutletTemplatesNotesCreateRequest {
+func (r ApiDcimPowerFeedsNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimPowerFeedsNotesCreateRequest {
r.noteInputRequest = ¬eInputRequest
return r
}
-func (r ApiDcimPowerOutletTemplatesNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletTemplatesNotesCreateRequest {
+func (r ApiDcimPowerFeedsNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerFeedsNotesCreateRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerOutletTemplatesNotesCreateRequest) Execute() (*Note, *http.Response, error) {
- return r.ApiService.DcimPowerOutletTemplatesNotesCreateExecute(r)
+func (r ApiDcimPowerFeedsNotesCreateRequest) Execute() (*Note, *http.Response, error) {
+ return r.ApiService.DcimPowerFeedsNotesCreateExecute(r)
}
/*
-DcimPowerOutletTemplatesNotesCreate Method for DcimPowerOutletTemplatesNotesCreate
+DcimPowerFeedsNotesCreate Method for DcimPowerFeedsNotesCreate
API methods for returning or creating notes on an object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power outlet template.
- @return ApiDcimPowerOutletTemplatesNotesCreateRequest
+ @param id A UUID string identifying this power feed.
+ @return ApiDcimPowerFeedsNotesCreateRequest
*/
-func (a *DcimAPIService) DcimPowerOutletTemplatesNotesCreate(ctx context.Context, id string) ApiDcimPowerOutletTemplatesNotesCreateRequest {
- return ApiDcimPowerOutletTemplatesNotesCreateRequest{
+func (a *DcimAPIService) DcimPowerFeedsNotesCreate(ctx context.Context, id string) ApiDcimPowerFeedsNotesCreateRequest {
+ return ApiDcimPowerFeedsNotesCreateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -102280,7 +97556,7 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesNotesCreate(ctx context.Context
// Execute executes the request
// @return Note
-func (a *DcimAPIService) DcimPowerOutletTemplatesNotesCreateExecute(r ApiDcimPowerOutletTemplatesNotesCreateRequest) (*Note, *http.Response, error) {
+func (a *DcimAPIService) DcimPowerFeedsNotesCreateExecute(r ApiDcimPowerFeedsNotesCreateRequest) (*Note, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -102288,12 +97564,12 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesNotesCreateExecute(r ApiDcimPow
localVarReturnValue *Note
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletTemplatesNotesCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerFeedsNotesCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-outlet-templates/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/power-feeds/{id}/notes/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -102376,7 +97652,7 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesNotesCreateExecute(r ApiDcimPow
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerOutletTemplatesNotesListRequest struct {
+type ApiDcimPowerFeedsNotesListRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
@@ -102384,46 +97660,53 @@ type ApiDcimPowerOutletTemplatesNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimPowerOutletTemplatesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletTemplatesNotesListRequest {
+func (r ApiDcimPowerFeedsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerFeedsNotesListRequest {
r.format = &format
return r
}
// Number of results to return per page.
-func (r ApiDcimPowerOutletTemplatesNotesListRequest) Limit(limit int32) ApiDcimPowerOutletTemplatesNotesListRequest {
+func (r ApiDcimPowerFeedsNotesListRequest) Limit(limit int32) ApiDcimPowerFeedsNotesListRequest {
r.limit = &limit
return r
}
// The initial index from which to return the results.
-func (r ApiDcimPowerOutletTemplatesNotesListRequest) Offset(offset int32) ApiDcimPowerOutletTemplatesNotesListRequest {
+func (r ApiDcimPowerFeedsNotesListRequest) Offset(offset int32) ApiDcimPowerFeedsNotesListRequest {
r.offset = &offset
return r
}
// Serializer Depth
-func (r ApiDcimPowerOutletTemplatesNotesListRequest) Depth(depth int32) ApiDcimPowerOutletTemplatesNotesListRequest {
+func (r ApiDcimPowerFeedsNotesListRequest) Depth(depth int32) ApiDcimPowerFeedsNotesListRequest {
r.depth = &depth
return r
}
-func (r ApiDcimPowerOutletTemplatesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
- return r.ApiService.DcimPowerOutletTemplatesNotesListExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimPowerFeedsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimPowerFeedsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimPowerFeedsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
+ return r.ApiService.DcimPowerFeedsNotesListExecute(r)
}
/*
-DcimPowerOutletTemplatesNotesList Method for DcimPowerOutletTemplatesNotesList
+DcimPowerFeedsNotesList Method for DcimPowerFeedsNotesList
API methods for returning or creating notes on an object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power outlet template.
- @return ApiDcimPowerOutletTemplatesNotesListRequest
+ @param id A UUID string identifying this power feed.
+ @return ApiDcimPowerFeedsNotesListRequest
*/
-func (a *DcimAPIService) DcimPowerOutletTemplatesNotesList(ctx context.Context, id string) ApiDcimPowerOutletTemplatesNotesListRequest {
- return ApiDcimPowerOutletTemplatesNotesListRequest{
+func (a *DcimAPIService) DcimPowerFeedsNotesList(ctx context.Context, id string) ApiDcimPowerFeedsNotesListRequest {
+ return ApiDcimPowerFeedsNotesListRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -102432,7 +97715,7 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesNotesList(ctx context.Context,
// Execute executes the request
// @return PaginatedNoteList
-func (a *DcimAPIService) DcimPowerOutletTemplatesNotesListExecute(r ApiDcimPowerOutletTemplatesNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
+func (a *DcimAPIService) DcimPowerFeedsNotesListExecute(r ApiDcimPowerFeedsNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -102440,12 +97723,12 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesNotesListExecute(r ApiDcimPower
localVarReturnValue *PaginatedNoteList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletTemplatesNotesList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerFeedsNotesList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-outlet-templates/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/power-feeds/{id}/notes/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -102464,8 +97747,16 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesNotesListExecute(r ApiDcimPower
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -102535,39 +97826,39 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesNotesListExecute(r ApiDcimPower
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerOutletTemplatesPartialUpdateRequest struct {
+type ApiDcimPowerFeedsPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
- patchedWritablePowerOutletTemplateRequest *PatchedWritablePowerOutletTemplateRequest
+ patchedWritablePowerFeedRequest *PatchedWritablePowerFeedRequest
}
-func (r ApiDcimPowerOutletTemplatesPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletTemplatesPartialUpdateRequest {
+func (r ApiDcimPowerFeedsPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerFeedsPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerOutletTemplatesPartialUpdateRequest) PatchedWritablePowerOutletTemplateRequest(patchedWritablePowerOutletTemplateRequest PatchedWritablePowerOutletTemplateRequest) ApiDcimPowerOutletTemplatesPartialUpdateRequest {
- r.patchedWritablePowerOutletTemplateRequest = &patchedWritablePowerOutletTemplateRequest
+func (r ApiDcimPowerFeedsPartialUpdateRequest) PatchedWritablePowerFeedRequest(patchedWritablePowerFeedRequest PatchedWritablePowerFeedRequest) ApiDcimPowerFeedsPartialUpdateRequest {
+ r.patchedWritablePowerFeedRequest = &patchedWritablePowerFeedRequest
return r
}
-func (r ApiDcimPowerOutletTemplatesPartialUpdateRequest) Execute() (*PowerOutletTemplate, *http.Response, error) {
- return r.ApiService.DcimPowerOutletTemplatesPartialUpdateExecute(r)
+func (r ApiDcimPowerFeedsPartialUpdateRequest) Execute() (*PowerFeed, *http.Response, error) {
+ return r.ApiService.DcimPowerFeedsPartialUpdateExecute(r)
}
/*
-DcimPowerOutletTemplatesPartialUpdate Method for DcimPowerOutletTemplatesPartialUpdate
+DcimPowerFeedsPartialUpdate Method for DcimPowerFeedsPartialUpdate
-Partial update a power outlet template object.
+Partial update a power feed object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power outlet template.
- @return ApiDcimPowerOutletTemplatesPartialUpdateRequest
+ @param id A UUID string identifying this power feed.
+ @return ApiDcimPowerFeedsPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimPowerOutletTemplatesPartialUpdate(ctx context.Context, id string) ApiDcimPowerOutletTemplatesPartialUpdateRequest {
- return ApiDcimPowerOutletTemplatesPartialUpdateRequest{
+func (a *DcimAPIService) DcimPowerFeedsPartialUpdate(ctx context.Context, id string) ApiDcimPowerFeedsPartialUpdateRequest {
+ return ApiDcimPowerFeedsPartialUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -102575,21 +97866,21 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesPartialUpdate(ctx context.Conte
}
// Execute executes the request
-// @return PowerOutletTemplate
-func (a *DcimAPIService) DcimPowerOutletTemplatesPartialUpdateExecute(r ApiDcimPowerOutletTemplatesPartialUpdateRequest) (*PowerOutletTemplate, *http.Response, error) {
+// @return PowerFeed
+func (a *DcimAPIService) DcimPowerFeedsPartialUpdateExecute(r ApiDcimPowerFeedsPartialUpdateRequest) (*PowerFeed, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PowerOutletTemplate
+ localVarReturnValue *PowerFeed
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletTemplatesPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerFeedsPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-outlet-templates/{id}/"
+ localVarPath := localBasePath + "/dcim/power-feeds/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -102617,7 +97908,7 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesPartialUpdateExecute(r ApiDcimP
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedWritablePowerOutletTemplateRequest
+ localVarPostBody = r.patchedWritablePowerFeedRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -102669,40 +97960,47 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesPartialUpdateExecute(r ApiDcimP
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerOutletTemplatesRetrieveRequest struct {
+type ApiDcimPowerFeedsRetrieveRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimPowerOutletTemplatesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletTemplatesRetrieveRequest {
+func (r ApiDcimPowerFeedsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerFeedsRetrieveRequest {
r.format = &format
return r
}
// Serializer Depth
-func (r ApiDcimPowerOutletTemplatesRetrieveRequest) Depth(depth int32) ApiDcimPowerOutletTemplatesRetrieveRequest {
+func (r ApiDcimPowerFeedsRetrieveRequest) Depth(depth int32) ApiDcimPowerFeedsRetrieveRequest {
r.depth = &depth
return r
}
-func (r ApiDcimPowerOutletTemplatesRetrieveRequest) Execute() (*PowerOutletTemplate, *http.Response, error) {
- return r.ApiService.DcimPowerOutletTemplatesRetrieveExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimPowerFeedsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimPowerFeedsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimPowerFeedsRetrieveRequest) Execute() (*PowerFeed, *http.Response, error) {
+ return r.ApiService.DcimPowerFeedsRetrieveExecute(r)
}
/*
-DcimPowerOutletTemplatesRetrieve Method for DcimPowerOutletTemplatesRetrieve
+DcimPowerFeedsRetrieve Method for DcimPowerFeedsRetrieve
-Retrieve a power outlet template object.
+Retrieve a power feed object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power outlet template.
- @return ApiDcimPowerOutletTemplatesRetrieveRequest
+ @param id A UUID string identifying this power feed.
+ @return ApiDcimPowerFeedsRetrieveRequest
*/
-func (a *DcimAPIService) DcimPowerOutletTemplatesRetrieve(ctx context.Context, id string) ApiDcimPowerOutletTemplatesRetrieveRequest {
- return ApiDcimPowerOutletTemplatesRetrieveRequest{
+func (a *DcimAPIService) DcimPowerFeedsRetrieve(ctx context.Context, id string) ApiDcimPowerFeedsRetrieveRequest {
+ return ApiDcimPowerFeedsRetrieveRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -102710,21 +98008,21 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesRetrieve(ctx context.Context, i
}
// Execute executes the request
-// @return PowerOutletTemplate
-func (a *DcimAPIService) DcimPowerOutletTemplatesRetrieveExecute(r ApiDcimPowerOutletTemplatesRetrieveRequest) (*PowerOutletTemplate, *http.Response, error) {
+// @return PowerFeed
+func (a *DcimAPIService) DcimPowerFeedsRetrieveExecute(r ApiDcimPowerFeedsRetrieveRequest) (*PowerFeed, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PowerOutletTemplate
+ localVarReturnValue *PowerFeed
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletTemplatesRetrieve")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerFeedsRetrieve")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-outlet-templates/{id}/"
+ localVarPath := localBasePath + "/dcim/power-feeds/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -102737,8 +98035,16 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesRetrieveExecute(r ApiDcimPowerO
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -102808,39 +98114,193 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesRetrieveExecute(r ApiDcimPowerO
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerOutletTemplatesUpdateRequest struct {
+type ApiDcimPowerFeedsTraceRetrieveRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
- writablePowerOutletTemplateRequest *WritablePowerOutletTemplateRequest
format *CircuitsCircuitTerminationsListFormatParameter
+ depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimPowerOutletTemplatesUpdateRequest) WritablePowerOutletTemplateRequest(writablePowerOutletTemplateRequest WritablePowerOutletTemplateRequest) ApiDcimPowerOutletTemplatesUpdateRequest {
- r.writablePowerOutletTemplateRequest = &writablePowerOutletTemplateRequest
+func (r ApiDcimPowerFeedsTraceRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerFeedsTraceRetrieveRequest {
+ r.format = &format
return r
}
-func (r ApiDcimPowerOutletTemplatesUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletTemplatesUpdateRequest {
+// Serializer Depth
+func (r ApiDcimPowerFeedsTraceRetrieveRequest) Depth(depth int32) ApiDcimPowerFeedsTraceRetrieveRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiDcimPowerFeedsTraceRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimPowerFeedsTraceRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimPowerFeedsTraceRetrieveRequest) Execute() (*PowerFeed, *http.Response, error) {
+ return r.ApiService.DcimPowerFeedsTraceRetrieveExecute(r)
+}
+
+/*
+DcimPowerFeedsTraceRetrieve Method for DcimPowerFeedsTraceRetrieve
+
+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 UUID string identifying this power feed.
+ @return ApiDcimPowerFeedsTraceRetrieveRequest
+*/
+func (a *DcimAPIService) DcimPowerFeedsTraceRetrieve(ctx context.Context, id string) ApiDcimPowerFeedsTraceRetrieveRequest {
+ return ApiDcimPowerFeedsTraceRetrieveRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return PowerFeed
+func (a *DcimAPIService) DcimPowerFeedsTraceRetrieveExecute(r ApiDcimPowerFeedsTraceRetrieveRequest) (*PowerFeed, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *PowerFeed
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerFeedsTraceRetrieve")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/power-feeds/{id}/trace/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiDcimPowerFeedsUpdateRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ id string
+ writablePowerFeedRequest *WritablePowerFeedRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiDcimPowerFeedsUpdateRequest) WritablePowerFeedRequest(writablePowerFeedRequest WritablePowerFeedRequest) ApiDcimPowerFeedsUpdateRequest {
+ r.writablePowerFeedRequest = &writablePowerFeedRequest
+ return r
+}
+
+func (r ApiDcimPowerFeedsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerFeedsUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerOutletTemplatesUpdateRequest) Execute() (*PowerOutletTemplate, *http.Response, error) {
- return r.ApiService.DcimPowerOutletTemplatesUpdateExecute(r)
+func (r ApiDcimPowerFeedsUpdateRequest) Execute() (*PowerFeed, *http.Response, error) {
+ return r.ApiService.DcimPowerFeedsUpdateExecute(r)
}
/*
-DcimPowerOutletTemplatesUpdate Method for DcimPowerOutletTemplatesUpdate
+DcimPowerFeedsUpdate Method for DcimPowerFeedsUpdate
-Update a power outlet template object.
+Update a power feed object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power outlet template.
- @return ApiDcimPowerOutletTemplatesUpdateRequest
+ @param id A UUID string identifying this power feed.
+ @return ApiDcimPowerFeedsUpdateRequest
*/
-func (a *DcimAPIService) DcimPowerOutletTemplatesUpdate(ctx context.Context, id string) ApiDcimPowerOutletTemplatesUpdateRequest {
- return ApiDcimPowerOutletTemplatesUpdateRequest{
+func (a *DcimAPIService) DcimPowerFeedsUpdate(ctx context.Context, id string) ApiDcimPowerFeedsUpdateRequest {
+ return ApiDcimPowerFeedsUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -102848,28 +98308,28 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesUpdate(ctx context.Context, id
}
// Execute executes the request
-// @return PowerOutletTemplate
-func (a *DcimAPIService) DcimPowerOutletTemplatesUpdateExecute(r ApiDcimPowerOutletTemplatesUpdateRequest) (*PowerOutletTemplate, *http.Response, error) {
+// @return PowerFeed
+func (a *DcimAPIService) DcimPowerFeedsUpdateExecute(r ApiDcimPowerFeedsUpdateRequest) (*PowerFeed, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PowerOutletTemplate
+ localVarReturnValue *PowerFeed
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletTemplatesUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerFeedsUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-outlet-templates/{id}/"
+ localVarPath := localBasePath + "/dcim/power-feeds/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.writablePowerOutletTemplateRequest == nil {
- return localVarReturnValue, nil, reportError("writablePowerOutletTemplateRequest is required and must be specified")
+ if r.writablePowerFeedRequest == nil {
+ return localVarReturnValue, nil, reportError("writablePowerFeedRequest is required and must be specified")
}
if r.format != nil {
@@ -102893,7 +98353,7 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesUpdateExecute(r ApiDcimPowerOut
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.writablePowerOutletTemplateRequest
+ localVarPostBody = r.writablePowerFeedRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -102945,56 +98405,56 @@ func (a *DcimAPIService) DcimPowerOutletTemplatesUpdateExecute(r ApiDcimPowerOut
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerOutletsBulkDestroyRequest struct {
+type ApiDcimPowerOutletTemplatesBulkDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
bulkOperationRequest *[]BulkOperationRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerOutletsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimPowerOutletsBulkDestroyRequest {
+func (r ApiDcimPowerOutletTemplatesBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimPowerOutletTemplatesBulkDestroyRequest {
r.bulkOperationRequest = &bulkOperationRequest
return r
}
-func (r ApiDcimPowerOutletsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletsBulkDestroyRequest {
+func (r ApiDcimPowerOutletTemplatesBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletTemplatesBulkDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerOutletsBulkDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimPowerOutletsBulkDestroyExecute(r)
+func (r ApiDcimPowerOutletTemplatesBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimPowerOutletTemplatesBulkDestroyExecute(r)
}
/*
-DcimPowerOutletsBulkDestroy Method for DcimPowerOutletsBulkDestroy
+DcimPowerOutletTemplatesBulkDestroy Method for DcimPowerOutletTemplatesBulkDestroy
-Destroy a list of power outlet objects.
+Destroy a list of power outlet template objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPowerOutletsBulkDestroyRequest
+ @return ApiDcimPowerOutletTemplatesBulkDestroyRequest
*/
-func (a *DcimAPIService) DcimPowerOutletsBulkDestroy(ctx context.Context) ApiDcimPowerOutletsBulkDestroyRequest {
- return ApiDcimPowerOutletsBulkDestroyRequest{
+func (a *DcimAPIService) DcimPowerOutletTemplatesBulkDestroy(ctx context.Context) ApiDcimPowerOutletTemplatesBulkDestroyRequest {
+ return ApiDcimPowerOutletTemplatesBulkDestroyRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-func (a *DcimAPIService) DcimPowerOutletsBulkDestroyExecute(r ApiDcimPowerOutletsBulkDestroyRequest) (*http.Response, error) {
+func (a *DcimAPIService) DcimPowerOutletTemplatesBulkDestroyExecute(r ApiDcimPowerOutletTemplatesBulkDestroyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletsBulkDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletTemplatesBulkDestroy")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-outlets/"
+ localVarPath := localBasePath + "/dcim/power-outlet-templates/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -103067,64 +98527,64 @@ func (a *DcimAPIService) DcimPowerOutletsBulkDestroyExecute(r ApiDcimPowerOutlet
return localVarHTTPResponse, nil
}
-type ApiDcimPowerOutletsBulkPartialUpdateRequest struct {
+type ApiDcimPowerOutletTemplatesBulkPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- patchedBulkWritablePowerOutletRequest *[]PatchedBulkWritablePowerOutletRequest
+ patchedBulkWritablePowerOutletTemplateRequest *[]PatchedBulkWritablePowerOutletTemplateRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerOutletsBulkPartialUpdateRequest) PatchedBulkWritablePowerOutletRequest(patchedBulkWritablePowerOutletRequest []PatchedBulkWritablePowerOutletRequest) ApiDcimPowerOutletsBulkPartialUpdateRequest {
- r.patchedBulkWritablePowerOutletRequest = &patchedBulkWritablePowerOutletRequest
+func (r ApiDcimPowerOutletTemplatesBulkPartialUpdateRequest) PatchedBulkWritablePowerOutletTemplateRequest(patchedBulkWritablePowerOutletTemplateRequest []PatchedBulkWritablePowerOutletTemplateRequest) ApiDcimPowerOutletTemplatesBulkPartialUpdateRequest {
+ r.patchedBulkWritablePowerOutletTemplateRequest = &patchedBulkWritablePowerOutletTemplateRequest
return r
}
-func (r ApiDcimPowerOutletsBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletsBulkPartialUpdateRequest {
+func (r ApiDcimPowerOutletTemplatesBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletTemplatesBulkPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerOutletsBulkPartialUpdateRequest) Execute() ([]PowerOutlet, *http.Response, error) {
- return r.ApiService.DcimPowerOutletsBulkPartialUpdateExecute(r)
+func (r ApiDcimPowerOutletTemplatesBulkPartialUpdateRequest) Execute() ([]PowerOutletTemplate, *http.Response, error) {
+ return r.ApiService.DcimPowerOutletTemplatesBulkPartialUpdateExecute(r)
}
/*
-DcimPowerOutletsBulkPartialUpdate Method for DcimPowerOutletsBulkPartialUpdate
+DcimPowerOutletTemplatesBulkPartialUpdate Method for DcimPowerOutletTemplatesBulkPartialUpdate
-Partial update a list of power outlet objects.
+Partial update a list of power outlet template objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPowerOutletsBulkPartialUpdateRequest
+ @return ApiDcimPowerOutletTemplatesBulkPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimPowerOutletsBulkPartialUpdate(ctx context.Context) ApiDcimPowerOutletsBulkPartialUpdateRequest {
- return ApiDcimPowerOutletsBulkPartialUpdateRequest{
+func (a *DcimAPIService) DcimPowerOutletTemplatesBulkPartialUpdate(ctx context.Context) ApiDcimPowerOutletTemplatesBulkPartialUpdateRequest {
+ return ApiDcimPowerOutletTemplatesBulkPartialUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []PowerOutlet
-func (a *DcimAPIService) DcimPowerOutletsBulkPartialUpdateExecute(r ApiDcimPowerOutletsBulkPartialUpdateRequest) ([]PowerOutlet, *http.Response, error) {
+// @return []PowerOutletTemplate
+func (a *DcimAPIService) DcimPowerOutletTemplatesBulkPartialUpdateExecute(r ApiDcimPowerOutletTemplatesBulkPartialUpdateRequest) ([]PowerOutletTemplate, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []PowerOutlet
+ localVarReturnValue []PowerOutletTemplate
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletsBulkPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletTemplatesBulkPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-outlets/"
+ localVarPath := localBasePath + "/dcim/power-outlet-templates/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.patchedBulkWritablePowerOutletRequest == nil {
- return localVarReturnValue, nil, reportError("patchedBulkWritablePowerOutletRequest is required and must be specified")
+ if r.patchedBulkWritablePowerOutletTemplateRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritablePowerOutletTemplateRequest is required and must be specified")
}
if r.format != nil {
@@ -103148,7 +98608,7 @@ func (a *DcimAPIService) DcimPowerOutletsBulkPartialUpdateExecute(r ApiDcimPower
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedBulkWritablePowerOutletRequest
+ localVarPostBody = r.patchedBulkWritablePowerOutletTemplateRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -103200,64 +98660,64 @@ func (a *DcimAPIService) DcimPowerOutletsBulkPartialUpdateExecute(r ApiDcimPower
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerOutletsBulkUpdateRequest struct {
+type ApiDcimPowerOutletTemplatesBulkUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- bulkWritablePowerOutletRequest *[]BulkWritablePowerOutletRequest
+ bulkWritablePowerOutletTemplateRequest *[]BulkWritablePowerOutletTemplateRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerOutletsBulkUpdateRequest) BulkWritablePowerOutletRequest(bulkWritablePowerOutletRequest []BulkWritablePowerOutletRequest) ApiDcimPowerOutletsBulkUpdateRequest {
- r.bulkWritablePowerOutletRequest = &bulkWritablePowerOutletRequest
+func (r ApiDcimPowerOutletTemplatesBulkUpdateRequest) BulkWritablePowerOutletTemplateRequest(bulkWritablePowerOutletTemplateRequest []BulkWritablePowerOutletTemplateRequest) ApiDcimPowerOutletTemplatesBulkUpdateRequest {
+ r.bulkWritablePowerOutletTemplateRequest = &bulkWritablePowerOutletTemplateRequest
return r
}
-func (r ApiDcimPowerOutletsBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletsBulkUpdateRequest {
+func (r ApiDcimPowerOutletTemplatesBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletTemplatesBulkUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerOutletsBulkUpdateRequest) Execute() ([]PowerOutlet, *http.Response, error) {
- return r.ApiService.DcimPowerOutletsBulkUpdateExecute(r)
+func (r ApiDcimPowerOutletTemplatesBulkUpdateRequest) Execute() ([]PowerOutletTemplate, *http.Response, error) {
+ return r.ApiService.DcimPowerOutletTemplatesBulkUpdateExecute(r)
}
/*
-DcimPowerOutletsBulkUpdate Method for DcimPowerOutletsBulkUpdate
+DcimPowerOutletTemplatesBulkUpdate Method for DcimPowerOutletTemplatesBulkUpdate
-Update a list of power outlet objects.
+Update a list of power outlet template objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPowerOutletsBulkUpdateRequest
+ @return ApiDcimPowerOutletTemplatesBulkUpdateRequest
*/
-func (a *DcimAPIService) DcimPowerOutletsBulkUpdate(ctx context.Context) ApiDcimPowerOutletsBulkUpdateRequest {
- return ApiDcimPowerOutletsBulkUpdateRequest{
+func (a *DcimAPIService) DcimPowerOutletTemplatesBulkUpdate(ctx context.Context) ApiDcimPowerOutletTemplatesBulkUpdateRequest {
+ return ApiDcimPowerOutletTemplatesBulkUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []PowerOutlet
-func (a *DcimAPIService) DcimPowerOutletsBulkUpdateExecute(r ApiDcimPowerOutletsBulkUpdateRequest) ([]PowerOutlet, *http.Response, error) {
+// @return []PowerOutletTemplate
+func (a *DcimAPIService) DcimPowerOutletTemplatesBulkUpdateExecute(r ApiDcimPowerOutletTemplatesBulkUpdateRequest) ([]PowerOutletTemplate, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []PowerOutlet
+ localVarReturnValue []PowerOutletTemplate
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletsBulkUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletTemplatesBulkUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-outlets/"
+ localVarPath := localBasePath + "/dcim/power-outlet-templates/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.bulkWritablePowerOutletRequest == nil {
- return localVarReturnValue, nil, reportError("bulkWritablePowerOutletRequest is required and must be specified")
+ if r.bulkWritablePowerOutletTemplateRequest == nil {
+ return localVarReturnValue, nil, reportError("bulkWritablePowerOutletTemplateRequest is required and must be specified")
}
if r.format != nil {
@@ -103281,7 +98741,7 @@ func (a *DcimAPIService) DcimPowerOutletsBulkUpdateExecute(r ApiDcimPowerOutlets
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.bulkWritablePowerOutletRequest
+ localVarPostBody = r.bulkWritablePowerOutletTemplateRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -103333,64 +98793,64 @@ func (a *DcimAPIService) DcimPowerOutletsBulkUpdateExecute(r ApiDcimPowerOutlets
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerOutletsCreateRequest struct {
+type ApiDcimPowerOutletTemplatesCreateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- writablePowerOutletRequest *WritablePowerOutletRequest
+ writablePowerOutletTemplateRequest *WritablePowerOutletTemplateRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerOutletsCreateRequest) WritablePowerOutletRequest(writablePowerOutletRequest WritablePowerOutletRequest) ApiDcimPowerOutletsCreateRequest {
- r.writablePowerOutletRequest = &writablePowerOutletRequest
+func (r ApiDcimPowerOutletTemplatesCreateRequest) WritablePowerOutletTemplateRequest(writablePowerOutletTemplateRequest WritablePowerOutletTemplateRequest) ApiDcimPowerOutletTemplatesCreateRequest {
+ r.writablePowerOutletTemplateRequest = &writablePowerOutletTemplateRequest
return r
}
-func (r ApiDcimPowerOutletsCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletsCreateRequest {
+func (r ApiDcimPowerOutletTemplatesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletTemplatesCreateRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerOutletsCreateRequest) Execute() (*PowerOutlet, *http.Response, error) {
- return r.ApiService.DcimPowerOutletsCreateExecute(r)
+func (r ApiDcimPowerOutletTemplatesCreateRequest) Execute() (*PowerOutletTemplate, *http.Response, error) {
+ return r.ApiService.DcimPowerOutletTemplatesCreateExecute(r)
}
/*
-DcimPowerOutletsCreate Method for DcimPowerOutletsCreate
+DcimPowerOutletTemplatesCreate Method for DcimPowerOutletTemplatesCreate
-Create one or more power outlet objects.
+Create one or more power outlet template objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPowerOutletsCreateRequest
+ @return ApiDcimPowerOutletTemplatesCreateRequest
*/
-func (a *DcimAPIService) DcimPowerOutletsCreate(ctx context.Context) ApiDcimPowerOutletsCreateRequest {
- return ApiDcimPowerOutletsCreateRequest{
+func (a *DcimAPIService) DcimPowerOutletTemplatesCreate(ctx context.Context) ApiDcimPowerOutletTemplatesCreateRequest {
+ return ApiDcimPowerOutletTemplatesCreateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return PowerOutlet
-func (a *DcimAPIService) DcimPowerOutletsCreateExecute(r ApiDcimPowerOutletsCreateRequest) (*PowerOutlet, *http.Response, error) {
+// @return PowerOutletTemplate
+func (a *DcimAPIService) DcimPowerOutletTemplatesCreateExecute(r ApiDcimPowerOutletTemplatesCreateRequest) (*PowerOutletTemplate, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PowerOutlet
+ localVarReturnValue *PowerOutletTemplate
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletsCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletTemplatesCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-outlets/"
+ localVarPath := localBasePath + "/dcim/power-outlet-templates/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.writablePowerOutletRequest == nil {
- return localVarReturnValue, nil, reportError("writablePowerOutletRequest is required and must be specified")
+ if r.writablePowerOutletTemplateRequest == nil {
+ return localVarReturnValue, nil, reportError("writablePowerOutletTemplateRequest is required and must be specified")
}
if r.format != nil {
@@ -103414,7 +98874,7 @@ func (a *DcimAPIService) DcimPowerOutletsCreateExecute(r ApiDcimPowerOutletsCrea
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.writablePowerOutletRequest
+ localVarPostBody = r.writablePowerOutletTemplateRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -103466,33 +98926,33 @@ func (a *DcimAPIService) DcimPowerOutletsCreateExecute(r ApiDcimPowerOutletsCrea
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerOutletsDestroyRequest struct {
+type ApiDcimPowerOutletTemplatesDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerOutletsDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletsDestroyRequest {
+func (r ApiDcimPowerOutletTemplatesDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletTemplatesDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerOutletsDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimPowerOutletsDestroyExecute(r)
+func (r ApiDcimPowerOutletTemplatesDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimPowerOutletTemplatesDestroyExecute(r)
}
/*
-DcimPowerOutletsDestroy Method for DcimPowerOutletsDestroy
+DcimPowerOutletTemplatesDestroy Method for DcimPowerOutletTemplatesDestroy
-Destroy a power outlet object.
+Destroy a power outlet template object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power outlet.
- @return ApiDcimPowerOutletsDestroyRequest
+ @param id A UUID string identifying this power outlet template.
+ @return ApiDcimPowerOutletTemplatesDestroyRequest
*/
-func (a *DcimAPIService) DcimPowerOutletsDestroy(ctx context.Context, id string) ApiDcimPowerOutletsDestroyRequest {
- return ApiDcimPowerOutletsDestroyRequest{
+func (a *DcimAPIService) DcimPowerOutletTemplatesDestroy(ctx context.Context, id string) ApiDcimPowerOutletTemplatesDestroyRequest {
+ return ApiDcimPowerOutletTemplatesDestroyRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -103500,19 +98960,19 @@ func (a *DcimAPIService) DcimPowerOutletsDestroy(ctx context.Context, id string)
}
// Execute executes the request
-func (a *DcimAPIService) DcimPowerOutletsDestroyExecute(r ApiDcimPowerOutletsDestroyRequest) (*http.Response, error) {
+func (a *DcimAPIService) DcimPowerOutletTemplatesDestroyExecute(r ApiDcimPowerOutletTemplatesDestroyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletsDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletTemplatesDestroy")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-outlets/{id}/"
+ localVarPath := localBasePath + "/dcim/power-outlet-templates/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -103581,16 +99041,12 @@ func (a *DcimAPIService) DcimPowerOutletsDestroyExecute(r ApiDcimPowerOutletsDes
return localVarHTTPResponse, nil
}
-type ApiDcimPowerOutletsListRequest struct {
+type ApiDcimPowerOutletTemplatesListRequest struct {
ctx context.Context
ApiService *DcimAPIService
- cable *[]string
- cableIsnull *bool
- cableN *[]string
- connected *bool
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
description *[]string
descriptionIc *[]string
descriptionIe *[]string
@@ -103605,9 +99061,11 @@ type ApiDcimPowerOutletsListRequest struct {
descriptionNisw *[]string
descriptionNre *[]string
descriptionRe *[]string
- device *[]string
+ deviceType *[]string
+ deviceTypeIsnull *bool
+ deviceTypeN *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
feedLeg *[]string
feedLegIc *[]string
feedLegIe *[]string
@@ -103623,21 +99081,10 @@ type ApiDcimPowerOutletsListRequest struct {
feedLegNre *[]string
feedLegRe *[]string
format *CircuitsCircuitTerminationsListFormatParameter
- hasCable *bool
+ hasDeviceType *bool
+ hasModuleType *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
label *[]string
labelIc *[]string
labelIe *[]string
@@ -103653,11 +99100,9 @@ type ApiDcimPowerOutletsListRequest struct {
labelNre *[]string
labelRe *[]string
limit *int32
- location *[]string
- locationN *[]string
- module *[]string
- moduleIsnull *bool
- moduleN *[]string
+ moduleType *[]string
+ moduleTypeIsnull *bool
+ moduleTypeN *[]string
name *[]string
nameIc *[]string
nameIe *[]string
@@ -103673,17 +99118,14 @@ type ApiDcimPowerOutletsListRequest struct {
nameNre *[]string
nameRe *[]string
offset *int32
- powerPort *[]string
- powerPortIsnull *bool
- powerPortN *[]string
+ powerPortTemplate *[]string
+ powerPortTemplateIsnull *bool
+ powerPortTemplateN *[]string
q *string
sort *string
- tags *[]string
- tagsIsnull *bool
- tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
type_ *[]string
typeIc *[]string
typeIe *[]string
@@ -103699,685 +99141,597 @@ type ApiDcimPowerOutletsListRequest struct {
typeNre *[]string
typeRe *[]string
depth *int32
+ excludeM2m *bool
}
-// Cable
-func (r ApiDcimPowerOutletsListRequest) Cable(cable []string) ApiDcimPowerOutletsListRequest {
- r.cable = &cable
- return r
-}
-
-func (r ApiDcimPowerOutletsListRequest) CableIsnull(cableIsnull bool) ApiDcimPowerOutletsListRequest {
- r.cableIsnull = &cableIsnull
- return r
-}
-
-// Cable
-func (r ApiDcimPowerOutletsListRequest) CableN(cableN []string) ApiDcimPowerOutletsListRequest {
- r.cableN = &cableN
- return r
-}
-
-// Connected status (bool)
-func (r ApiDcimPowerOutletsListRequest) Connected(connected bool) ApiDcimPowerOutletsListRequest {
- r.connected = &connected
- return r
-}
-
-func (r ApiDcimPowerOutletsListRequest) Contacts(contacts []string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) Contacts(contacts []string) ApiDcimPowerOutletTemplatesListRequest {
r.contacts = &contacts
return r
}
// Contacts (name or ID) is null
-func (r ApiDcimPowerOutletsListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimPowerOutletTemplatesListRequest {
r.contactsIsnull = &contactsIsnull
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimPowerOutletsListRequest) ContactsN(contactsN string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) ContactsN(contactsN []string) ApiDcimPowerOutletTemplatesListRequest {
r.contactsN = &contactsN
return r
}
-func (r ApiDcimPowerOutletsListRequest) Description(description []string) ApiDcimPowerOutletsListRequest {
+// Description
+func (r ApiDcimPowerOutletTemplatesListRequest) Description(description []string) ApiDcimPowerOutletTemplatesListRequest {
r.description = &description
return r
}
-func (r ApiDcimPowerOutletsListRequest) DescriptionIc(descriptionIc []string) ApiDcimPowerOutletsListRequest {
+// Description
+func (r ApiDcimPowerOutletTemplatesListRequest) DescriptionIc(descriptionIc []string) ApiDcimPowerOutletTemplatesListRequest {
r.descriptionIc = &descriptionIc
return r
}
-func (r ApiDcimPowerOutletsListRequest) DescriptionIe(descriptionIe []string) ApiDcimPowerOutletsListRequest {
+// Description
+func (r ApiDcimPowerOutletTemplatesListRequest) DescriptionIe(descriptionIe []string) ApiDcimPowerOutletTemplatesListRequest {
r.descriptionIe = &descriptionIe
return r
}
-func (r ApiDcimPowerOutletsListRequest) DescriptionIew(descriptionIew []string) ApiDcimPowerOutletsListRequest {
+// Description
+func (r ApiDcimPowerOutletTemplatesListRequest) DescriptionIew(descriptionIew []string) ApiDcimPowerOutletTemplatesListRequest {
r.descriptionIew = &descriptionIew
return r
}
-func (r ApiDcimPowerOutletsListRequest) DescriptionIre(descriptionIre []string) ApiDcimPowerOutletsListRequest {
+// Description
+func (r ApiDcimPowerOutletTemplatesListRequest) DescriptionIre(descriptionIre []string) ApiDcimPowerOutletTemplatesListRequest {
r.descriptionIre = &descriptionIre
return r
}
-func (r ApiDcimPowerOutletsListRequest) DescriptionIsw(descriptionIsw []string) ApiDcimPowerOutletsListRequest {
+// Description
+func (r ApiDcimPowerOutletTemplatesListRequest) DescriptionIsw(descriptionIsw []string) ApiDcimPowerOutletTemplatesListRequest {
r.descriptionIsw = &descriptionIsw
return r
}
-func (r ApiDcimPowerOutletsListRequest) DescriptionN(descriptionN []string) ApiDcimPowerOutletsListRequest {
+// Description
+func (r ApiDcimPowerOutletTemplatesListRequest) DescriptionN(descriptionN []string) ApiDcimPowerOutletTemplatesListRequest {
r.descriptionN = &descriptionN
return r
}
-func (r ApiDcimPowerOutletsListRequest) DescriptionNic(descriptionNic []string) ApiDcimPowerOutletsListRequest {
+// Description
+func (r ApiDcimPowerOutletTemplatesListRequest) DescriptionNic(descriptionNic []string) ApiDcimPowerOutletTemplatesListRequest {
r.descriptionNic = &descriptionNic
return r
}
-func (r ApiDcimPowerOutletsListRequest) DescriptionNie(descriptionNie []string) ApiDcimPowerOutletsListRequest {
+// Description
+func (r ApiDcimPowerOutletTemplatesListRequest) DescriptionNie(descriptionNie []string) ApiDcimPowerOutletTemplatesListRequest {
r.descriptionNie = &descriptionNie
return r
}
-func (r ApiDcimPowerOutletsListRequest) DescriptionNiew(descriptionNiew []string) ApiDcimPowerOutletsListRequest {
+// Description
+func (r ApiDcimPowerOutletTemplatesListRequest) DescriptionNiew(descriptionNiew []string) ApiDcimPowerOutletTemplatesListRequest {
r.descriptionNiew = &descriptionNiew
return r
}
-func (r ApiDcimPowerOutletsListRequest) DescriptionNire(descriptionNire []string) ApiDcimPowerOutletsListRequest {
+// Description
+func (r ApiDcimPowerOutletTemplatesListRequest) DescriptionNire(descriptionNire []string) ApiDcimPowerOutletTemplatesListRequest {
r.descriptionNire = &descriptionNire
return r
}
-func (r ApiDcimPowerOutletsListRequest) DescriptionNisw(descriptionNisw []string) ApiDcimPowerOutletsListRequest {
+// Description
+func (r ApiDcimPowerOutletTemplatesListRequest) DescriptionNisw(descriptionNisw []string) ApiDcimPowerOutletTemplatesListRequest {
r.descriptionNisw = &descriptionNisw
return r
}
-func (r ApiDcimPowerOutletsListRequest) DescriptionNre(descriptionNre []string) ApiDcimPowerOutletsListRequest {
+// Description
+func (r ApiDcimPowerOutletTemplatesListRequest) DescriptionNre(descriptionNre []string) ApiDcimPowerOutletTemplatesListRequest {
r.descriptionNre = &descriptionNre
return r
}
-func (r ApiDcimPowerOutletsListRequest) DescriptionRe(descriptionRe []string) ApiDcimPowerOutletsListRequest {
+// Description
+func (r ApiDcimPowerOutletTemplatesListRequest) DescriptionRe(descriptionRe []string) ApiDcimPowerOutletTemplatesListRequest {
r.descriptionRe = &descriptionRe
return r
}
-func (r ApiDcimPowerOutletsListRequest) Device(device []string) ApiDcimPowerOutletsListRequest {
- r.device = &device
+func (r ApiDcimPowerOutletTemplatesListRequest) DeviceType(deviceType []string) ApiDcimPowerOutletTemplatesListRequest {
+ r.deviceType = &deviceType
return r
}
-func (r ApiDcimPowerOutletsListRequest) DynamicGroups(dynamicGroups []string) ApiDcimPowerOutletsListRequest {
+// Device type (model or ID) is null
+func (r ApiDcimPowerOutletTemplatesListRequest) DeviceTypeIsnull(deviceTypeIsnull bool) ApiDcimPowerOutletTemplatesListRequest {
+ r.deviceTypeIsnull = &deviceTypeIsnull
+ return r
+}
+
+func (r ApiDcimPowerOutletTemplatesListRequest) DeviceTypeN(deviceTypeN []string) ApiDcimPowerOutletTemplatesListRequest {
+ r.deviceTypeN = &deviceTypeN
+ return r
+}
+
+func (r ApiDcimPowerOutletTemplatesListRequest) DynamicGroups(dynamicGroups []string) ApiDcimPowerOutletTemplatesListRequest {
r.dynamicGroups = &dynamicGroups
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimPowerOutletsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimPowerOutletTemplatesListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
// Phase (for three-phase feeds)
-func (r ApiDcimPowerOutletsListRequest) FeedLeg(feedLeg []string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) FeedLeg(feedLeg []string) ApiDcimPowerOutletTemplatesListRequest {
r.feedLeg = &feedLeg
return r
}
-func (r ApiDcimPowerOutletsListRequest) FeedLegIc(feedLegIc []string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegIc(feedLegIc []string) ApiDcimPowerOutletTemplatesListRequest {
r.feedLegIc = &feedLegIc
return r
}
-func (r ApiDcimPowerOutletsListRequest) FeedLegIe(feedLegIe []string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegIe(feedLegIe []string) ApiDcimPowerOutletTemplatesListRequest {
r.feedLegIe = &feedLegIe
return r
}
-func (r ApiDcimPowerOutletsListRequest) FeedLegIew(feedLegIew []string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegIew(feedLegIew []string) ApiDcimPowerOutletTemplatesListRequest {
r.feedLegIew = &feedLegIew
return r
}
-func (r ApiDcimPowerOutletsListRequest) FeedLegIre(feedLegIre []string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegIre(feedLegIre []string) ApiDcimPowerOutletTemplatesListRequest {
r.feedLegIre = &feedLegIre
return r
}
-func (r ApiDcimPowerOutletsListRequest) FeedLegIsw(feedLegIsw []string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegIsw(feedLegIsw []string) ApiDcimPowerOutletTemplatesListRequest {
r.feedLegIsw = &feedLegIsw
return r
}
-// Phase (for three-phase feeds)
-func (r ApiDcimPowerOutletsListRequest) FeedLegN(feedLegN []string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegN(feedLegN []string) ApiDcimPowerOutletTemplatesListRequest {
r.feedLegN = &feedLegN
return r
}
-func (r ApiDcimPowerOutletsListRequest) FeedLegNic(feedLegNic []string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegNic(feedLegNic []string) ApiDcimPowerOutletTemplatesListRequest {
r.feedLegNic = &feedLegNic
return r
}
-func (r ApiDcimPowerOutletsListRequest) FeedLegNie(feedLegNie []string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegNie(feedLegNie []string) ApiDcimPowerOutletTemplatesListRequest {
r.feedLegNie = &feedLegNie
return r
}
-func (r ApiDcimPowerOutletsListRequest) FeedLegNiew(feedLegNiew []string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegNiew(feedLegNiew []string) ApiDcimPowerOutletTemplatesListRequest {
r.feedLegNiew = &feedLegNiew
return r
}
-func (r ApiDcimPowerOutletsListRequest) FeedLegNire(feedLegNire []string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegNire(feedLegNire []string) ApiDcimPowerOutletTemplatesListRequest {
r.feedLegNire = &feedLegNire
return r
}
-func (r ApiDcimPowerOutletsListRequest) FeedLegNisw(feedLegNisw []string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegNisw(feedLegNisw []string) ApiDcimPowerOutletTemplatesListRequest {
r.feedLegNisw = &feedLegNisw
return r
}
-func (r ApiDcimPowerOutletsListRequest) FeedLegNre(feedLegNre []string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegNre(feedLegNre []string) ApiDcimPowerOutletTemplatesListRequest {
r.feedLegNre = &feedLegNre
return r
}
-func (r ApiDcimPowerOutletsListRequest) FeedLegRe(feedLegRe []string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) FeedLegRe(feedLegRe []string) ApiDcimPowerOutletTemplatesListRequest {
r.feedLegRe = &feedLegRe
return r
}
-func (r ApiDcimPowerOutletsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletTemplatesListRequest {
r.format = &format
return r
}
-// Has cable
-func (r ApiDcimPowerOutletsListRequest) HasCable(hasCable bool) ApiDcimPowerOutletsListRequest {
- r.hasCable = &hasCable
- return r
-}
-
-// Unique object identifier, either a UUID primary key or a composite key.
-func (r ApiDcimPowerOutletsListRequest) Id(id []string) ApiDcimPowerOutletsListRequest {
- r.id = &id
- return r
-}
-
-func (r ApiDcimPowerOutletsListRequest) IdIc(idIc []string) ApiDcimPowerOutletsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiDcimPowerOutletsListRequest) IdIe(idIe []string) ApiDcimPowerOutletsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiDcimPowerOutletsListRequest) IdIew(idIew []string) ApiDcimPowerOutletsListRequest {
- r.idIew = &idIew
+// Has device type
+func (r ApiDcimPowerOutletTemplatesListRequest) HasDeviceType(hasDeviceType bool) ApiDcimPowerOutletTemplatesListRequest {
+ r.hasDeviceType = &hasDeviceType
return r
}
-func (r ApiDcimPowerOutletsListRequest) IdIre(idIre []string) ApiDcimPowerOutletsListRequest {
- r.idIre = &idIre
+// Has module type
+func (r ApiDcimPowerOutletTemplatesListRequest) HasModuleType(hasModuleType bool) ApiDcimPowerOutletTemplatesListRequest {
+ r.hasModuleType = &hasModuleType
return r
}
-func (r ApiDcimPowerOutletsListRequest) IdIsw(idIsw []string) ApiDcimPowerOutletsListRequest {
- r.idIsw = &idIsw
+// ID
+func (r ApiDcimPowerOutletTemplatesListRequest) Id(id []string) ApiDcimPowerOutletTemplatesListRequest {
+ r.id = &id
return r
}
-func (r ApiDcimPowerOutletsListRequest) IdN(idN []string) ApiDcimPowerOutletsListRequest {
+// Exclude ID
+func (r ApiDcimPowerOutletTemplatesListRequest) IdN(idN []string) ApiDcimPowerOutletTemplatesListRequest {
r.idN = &idN
return r
}
-func (r ApiDcimPowerOutletsListRequest) IdNic(idNic []string) ApiDcimPowerOutletsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiDcimPowerOutletsListRequest) IdNie(idNie []string) ApiDcimPowerOutletsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiDcimPowerOutletsListRequest) IdNiew(idNiew []string) ApiDcimPowerOutletsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiDcimPowerOutletsListRequest) IdNire(idNire []string) ApiDcimPowerOutletsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiDcimPowerOutletsListRequest) IdNisw(idNisw []string) ApiDcimPowerOutletsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiDcimPowerOutletsListRequest) IdNre(idNre []string) ApiDcimPowerOutletsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiDcimPowerOutletsListRequest) IdRe(idRe []string) ApiDcimPowerOutletsListRequest {
- r.idRe = &idRe
- return r
-}
-
-func (r ApiDcimPowerOutletsListRequest) Label(label []string) ApiDcimPowerOutletsListRequest {
+// Label
+func (r ApiDcimPowerOutletTemplatesListRequest) Label(label []string) ApiDcimPowerOutletTemplatesListRequest {
r.label = &label
return r
}
-func (r ApiDcimPowerOutletsListRequest) LabelIc(labelIc []string) ApiDcimPowerOutletsListRequest {
+// Label
+func (r ApiDcimPowerOutletTemplatesListRequest) LabelIc(labelIc []string) ApiDcimPowerOutletTemplatesListRequest {
r.labelIc = &labelIc
return r
}
-func (r ApiDcimPowerOutletsListRequest) LabelIe(labelIe []string) ApiDcimPowerOutletsListRequest {
+// Label
+func (r ApiDcimPowerOutletTemplatesListRequest) LabelIe(labelIe []string) ApiDcimPowerOutletTemplatesListRequest {
r.labelIe = &labelIe
return r
}
-func (r ApiDcimPowerOutletsListRequest) LabelIew(labelIew []string) ApiDcimPowerOutletsListRequest {
+// Label
+func (r ApiDcimPowerOutletTemplatesListRequest) LabelIew(labelIew []string) ApiDcimPowerOutletTemplatesListRequest {
r.labelIew = &labelIew
return r
}
-func (r ApiDcimPowerOutletsListRequest) LabelIre(labelIre []string) ApiDcimPowerOutletsListRequest {
+// Label
+func (r ApiDcimPowerOutletTemplatesListRequest) LabelIre(labelIre []string) ApiDcimPowerOutletTemplatesListRequest {
r.labelIre = &labelIre
return r
}
-func (r ApiDcimPowerOutletsListRequest) LabelIsw(labelIsw []string) ApiDcimPowerOutletsListRequest {
+// Label
+func (r ApiDcimPowerOutletTemplatesListRequest) LabelIsw(labelIsw []string) ApiDcimPowerOutletTemplatesListRequest {
r.labelIsw = &labelIsw
return r
}
-func (r ApiDcimPowerOutletsListRequest) LabelN(labelN []string) ApiDcimPowerOutletsListRequest {
+// Label
+func (r ApiDcimPowerOutletTemplatesListRequest) LabelN(labelN []string) ApiDcimPowerOutletTemplatesListRequest {
r.labelN = &labelN
return r
}
-func (r ApiDcimPowerOutletsListRequest) LabelNic(labelNic []string) ApiDcimPowerOutletsListRequest {
+// Label
+func (r ApiDcimPowerOutletTemplatesListRequest) LabelNic(labelNic []string) ApiDcimPowerOutletTemplatesListRequest {
r.labelNic = &labelNic
return r
}
-func (r ApiDcimPowerOutletsListRequest) LabelNie(labelNie []string) ApiDcimPowerOutletsListRequest {
+// Label
+func (r ApiDcimPowerOutletTemplatesListRequest) LabelNie(labelNie []string) ApiDcimPowerOutletTemplatesListRequest {
r.labelNie = &labelNie
return r
}
-func (r ApiDcimPowerOutletsListRequest) LabelNiew(labelNiew []string) ApiDcimPowerOutletsListRequest {
+// Label
+func (r ApiDcimPowerOutletTemplatesListRequest) LabelNiew(labelNiew []string) ApiDcimPowerOutletTemplatesListRequest {
r.labelNiew = &labelNiew
return r
}
-func (r ApiDcimPowerOutletsListRequest) LabelNire(labelNire []string) ApiDcimPowerOutletsListRequest {
+// Label
+func (r ApiDcimPowerOutletTemplatesListRequest) LabelNire(labelNire []string) ApiDcimPowerOutletTemplatesListRequest {
r.labelNire = &labelNire
return r
}
-func (r ApiDcimPowerOutletsListRequest) LabelNisw(labelNisw []string) ApiDcimPowerOutletsListRequest {
+// Label
+func (r ApiDcimPowerOutletTemplatesListRequest) LabelNisw(labelNisw []string) ApiDcimPowerOutletTemplatesListRequest {
r.labelNisw = &labelNisw
return r
}
-func (r ApiDcimPowerOutletsListRequest) LabelNre(labelNre []string) ApiDcimPowerOutletsListRequest {
+// Label
+func (r ApiDcimPowerOutletTemplatesListRequest) LabelNre(labelNre []string) ApiDcimPowerOutletTemplatesListRequest {
r.labelNre = &labelNre
return r
}
-func (r ApiDcimPowerOutletsListRequest) LabelRe(labelRe []string) ApiDcimPowerOutletsListRequest {
+// Label
+func (r ApiDcimPowerOutletTemplatesListRequest) LabelRe(labelRe []string) ApiDcimPowerOutletTemplatesListRequest {
r.labelRe = &labelRe
return r
}
// Number of results to return per page.
-func (r ApiDcimPowerOutletsListRequest) Limit(limit int32) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) Limit(limit int32) ApiDcimPowerOutletTemplatesListRequest {
r.limit = &limit
return r
}
-func (r ApiDcimPowerOutletsListRequest) Location(location []string) ApiDcimPowerOutletsListRequest {
- r.location = &location
- return r
-}
-
-func (r ApiDcimPowerOutletsListRequest) LocationN(locationN []string) ApiDcimPowerOutletsListRequest {
- r.locationN = &locationN
- return r
-}
-
-func (r ApiDcimPowerOutletsListRequest) Module(module []string) ApiDcimPowerOutletsListRequest {
- r.module = &module
+func (r ApiDcimPowerOutletTemplatesListRequest) ModuleType(moduleType []string) ApiDcimPowerOutletTemplatesListRequest {
+ r.moduleType = &moduleType
return r
}
-// Module (model or ID) is null
-func (r ApiDcimPowerOutletsListRequest) ModuleIsnull(moduleIsnull bool) ApiDcimPowerOutletsListRequest {
- r.moduleIsnull = &moduleIsnull
+// Module type (model or ID) is null
+func (r ApiDcimPowerOutletTemplatesListRequest) ModuleTypeIsnull(moduleTypeIsnull bool) ApiDcimPowerOutletTemplatesListRequest {
+ r.moduleTypeIsnull = &moduleTypeIsnull
return r
}
-func (r ApiDcimPowerOutletsListRequest) ModuleN(moduleN []string) ApiDcimPowerOutletsListRequest {
- r.moduleN = &moduleN
+func (r ApiDcimPowerOutletTemplatesListRequest) ModuleTypeN(moduleTypeN []string) ApiDcimPowerOutletTemplatesListRequest {
+ r.moduleTypeN = &moduleTypeN
return r
}
-func (r ApiDcimPowerOutletsListRequest) Name(name []string) ApiDcimPowerOutletsListRequest {
+// Name
+func (r ApiDcimPowerOutletTemplatesListRequest) Name(name []string) ApiDcimPowerOutletTemplatesListRequest {
r.name = &name
return r
}
-func (r ApiDcimPowerOutletsListRequest) NameIc(nameIc []string) ApiDcimPowerOutletsListRequest {
+// Name
+func (r ApiDcimPowerOutletTemplatesListRequest) NameIc(nameIc []string) ApiDcimPowerOutletTemplatesListRequest {
r.nameIc = &nameIc
return r
}
-func (r ApiDcimPowerOutletsListRequest) NameIe(nameIe []string) ApiDcimPowerOutletsListRequest {
+// Name
+func (r ApiDcimPowerOutletTemplatesListRequest) NameIe(nameIe []string) ApiDcimPowerOutletTemplatesListRequest {
r.nameIe = &nameIe
return r
}
-func (r ApiDcimPowerOutletsListRequest) NameIew(nameIew []string) ApiDcimPowerOutletsListRequest {
+// Name
+func (r ApiDcimPowerOutletTemplatesListRequest) NameIew(nameIew []string) ApiDcimPowerOutletTemplatesListRequest {
r.nameIew = &nameIew
return r
}
-func (r ApiDcimPowerOutletsListRequest) NameIre(nameIre []string) ApiDcimPowerOutletsListRequest {
+// Name
+func (r ApiDcimPowerOutletTemplatesListRequest) NameIre(nameIre []string) ApiDcimPowerOutletTemplatesListRequest {
r.nameIre = &nameIre
return r
}
-func (r ApiDcimPowerOutletsListRequest) NameIsw(nameIsw []string) ApiDcimPowerOutletsListRequest {
+// Name
+func (r ApiDcimPowerOutletTemplatesListRequest) NameIsw(nameIsw []string) ApiDcimPowerOutletTemplatesListRequest {
r.nameIsw = &nameIsw
return r
}
-func (r ApiDcimPowerOutletsListRequest) NameN(nameN []string) ApiDcimPowerOutletsListRequest {
+// Name
+func (r ApiDcimPowerOutletTemplatesListRequest) NameN(nameN []string) ApiDcimPowerOutletTemplatesListRequest {
r.nameN = &nameN
return r
}
-func (r ApiDcimPowerOutletsListRequest) NameNic(nameNic []string) ApiDcimPowerOutletsListRequest {
+// Name
+func (r ApiDcimPowerOutletTemplatesListRequest) NameNic(nameNic []string) ApiDcimPowerOutletTemplatesListRequest {
r.nameNic = &nameNic
return r
}
-func (r ApiDcimPowerOutletsListRequest) NameNie(nameNie []string) ApiDcimPowerOutletsListRequest {
+// Name
+func (r ApiDcimPowerOutletTemplatesListRequest) NameNie(nameNie []string) ApiDcimPowerOutletTemplatesListRequest {
r.nameNie = &nameNie
return r
}
-func (r ApiDcimPowerOutletsListRequest) NameNiew(nameNiew []string) ApiDcimPowerOutletsListRequest {
+// Name
+func (r ApiDcimPowerOutletTemplatesListRequest) NameNiew(nameNiew []string) ApiDcimPowerOutletTemplatesListRequest {
r.nameNiew = &nameNiew
return r
}
-func (r ApiDcimPowerOutletsListRequest) NameNire(nameNire []string) ApiDcimPowerOutletsListRequest {
+// Name
+func (r ApiDcimPowerOutletTemplatesListRequest) NameNire(nameNire []string) ApiDcimPowerOutletTemplatesListRequest {
r.nameNire = &nameNire
return r
}
-func (r ApiDcimPowerOutletsListRequest) NameNisw(nameNisw []string) ApiDcimPowerOutletsListRequest {
+// Name
+func (r ApiDcimPowerOutletTemplatesListRequest) NameNisw(nameNisw []string) ApiDcimPowerOutletTemplatesListRequest {
r.nameNisw = &nameNisw
return r
}
-func (r ApiDcimPowerOutletsListRequest) NameNre(nameNre []string) ApiDcimPowerOutletsListRequest {
+// Name
+func (r ApiDcimPowerOutletTemplatesListRequest) NameNre(nameNre []string) ApiDcimPowerOutletTemplatesListRequest {
r.nameNre = &nameNre
return r
}
-func (r ApiDcimPowerOutletsListRequest) NameRe(nameRe []string) ApiDcimPowerOutletsListRequest {
+// Name
+func (r ApiDcimPowerOutletTemplatesListRequest) NameRe(nameRe []string) ApiDcimPowerOutletTemplatesListRequest {
r.nameRe = &nameRe
return r
}
// The initial index from which to return the results.
-func (r ApiDcimPowerOutletsListRequest) Offset(offset int32) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) Offset(offset int32) ApiDcimPowerOutletTemplatesListRequest {
r.offset = &offset
return r
}
-// Power port
-func (r ApiDcimPowerOutletsListRequest) PowerPort(powerPort []string) ApiDcimPowerOutletsListRequest {
- r.powerPort = &powerPort
+func (r ApiDcimPowerOutletTemplatesListRequest) PowerPortTemplate(powerPortTemplate []string) ApiDcimPowerOutletTemplatesListRequest {
+ r.powerPortTemplate = &powerPortTemplate
return r
}
-func (r ApiDcimPowerOutletsListRequest) PowerPortIsnull(powerPortIsnull bool) ApiDcimPowerOutletsListRequest {
- r.powerPortIsnull = &powerPortIsnull
+// Power port template (name or ID) is null
+func (r ApiDcimPowerOutletTemplatesListRequest) PowerPortTemplateIsnull(powerPortTemplateIsnull bool) ApiDcimPowerOutletTemplatesListRequest {
+ r.powerPortTemplateIsnull = &powerPortTemplateIsnull
return r
}
-// Power port
-func (r ApiDcimPowerOutletsListRequest) PowerPortN(powerPortN []string) ApiDcimPowerOutletsListRequest {
- r.powerPortN = &powerPortN
+func (r ApiDcimPowerOutletTemplatesListRequest) PowerPortTemplateN(powerPortTemplateN []string) ApiDcimPowerOutletTemplatesListRequest {
+ r.powerPortTemplateN = &powerPortTemplateN
return r
}
// Search
-func (r ApiDcimPowerOutletsListRequest) Q(q string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) Q(q string) ApiDcimPowerOutletTemplatesListRequest {
r.q = &q
return r
}
// Which field to use when ordering the results.
-func (r ApiDcimPowerOutletsListRequest) Sort(sort string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) Sort(sort string) ApiDcimPowerOutletTemplatesListRequest {
r.sort = &sort
return r
}
-func (r ApiDcimPowerOutletsListRequest) Tags(tags []string) ApiDcimPowerOutletsListRequest {
- r.tags = &tags
- return r
-}
-
-func (r ApiDcimPowerOutletsListRequest) TagsIsnull(tagsIsnull bool) ApiDcimPowerOutletsListRequest {
- r.tagsIsnull = &tagsIsnull
- return r
-}
-
-func (r ApiDcimPowerOutletsListRequest) TagsN(tagsN []string) ApiDcimPowerOutletsListRequest {
- r.tagsN = &tagsN
- return r
-}
-
-func (r ApiDcimPowerOutletsListRequest) Teams(teams []string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) Teams(teams []string) ApiDcimPowerOutletTemplatesListRequest {
r.teams = &teams
return r
}
// Teams (name or ID) is null
-func (r ApiDcimPowerOutletsListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimPowerOutletTemplatesListRequest {
r.teamsIsnull = &teamsIsnull
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimPowerOutletsListRequest) TeamsN(teamsN string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) TeamsN(teamsN []string) ApiDcimPowerOutletTemplatesListRequest {
r.teamsN = &teamsN
return r
}
-// Physical port type
-func (r ApiDcimPowerOutletsListRequest) Type_(type_ []string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) Type_(type_ []string) ApiDcimPowerOutletTemplatesListRequest {
r.type_ = &type_
return r
}
-// Physical port type
-func (r ApiDcimPowerOutletsListRequest) TypeIc(typeIc []string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) TypeIc(typeIc []string) ApiDcimPowerOutletTemplatesListRequest {
r.typeIc = &typeIc
return r
}
-// Physical port type
-func (r ApiDcimPowerOutletsListRequest) TypeIe(typeIe []string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) TypeIe(typeIe []string) ApiDcimPowerOutletTemplatesListRequest {
r.typeIe = &typeIe
return r
}
-// Physical port type
-func (r ApiDcimPowerOutletsListRequest) TypeIew(typeIew []string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) TypeIew(typeIew []string) ApiDcimPowerOutletTemplatesListRequest {
r.typeIew = &typeIew
return r
}
-// Physical port type
-func (r ApiDcimPowerOutletsListRequest) TypeIre(typeIre []string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) TypeIre(typeIre []string) ApiDcimPowerOutletTemplatesListRequest {
r.typeIre = &typeIre
return r
}
-// Physical port type
-func (r ApiDcimPowerOutletsListRequest) TypeIsw(typeIsw []string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) TypeIsw(typeIsw []string) ApiDcimPowerOutletTemplatesListRequest {
r.typeIsw = &typeIsw
return r
}
-// Physical port type
-func (r ApiDcimPowerOutletsListRequest) TypeN(typeN []string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) TypeN(typeN []string) ApiDcimPowerOutletTemplatesListRequest {
r.typeN = &typeN
return r
}
-// Physical port type
-func (r ApiDcimPowerOutletsListRequest) TypeNic(typeNic []string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) TypeNic(typeNic []string) ApiDcimPowerOutletTemplatesListRequest {
r.typeNic = &typeNic
return r
}
-// Physical port type
-func (r ApiDcimPowerOutletsListRequest) TypeNie(typeNie []string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) TypeNie(typeNie []string) ApiDcimPowerOutletTemplatesListRequest {
r.typeNie = &typeNie
return r
}
-// Physical port type
-func (r ApiDcimPowerOutletsListRequest) TypeNiew(typeNiew []string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) TypeNiew(typeNiew []string) ApiDcimPowerOutletTemplatesListRequest {
r.typeNiew = &typeNiew
return r
}
-// Physical port type
-func (r ApiDcimPowerOutletsListRequest) TypeNire(typeNire []string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) TypeNire(typeNire []string) ApiDcimPowerOutletTemplatesListRequest {
r.typeNire = &typeNire
return r
}
-// Physical port type
-func (r ApiDcimPowerOutletsListRequest) TypeNisw(typeNisw []string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) TypeNisw(typeNisw []string) ApiDcimPowerOutletTemplatesListRequest {
r.typeNisw = &typeNisw
return r
}
-// Physical port type
-func (r ApiDcimPowerOutletsListRequest) TypeNre(typeNre []string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) TypeNre(typeNre []string) ApiDcimPowerOutletTemplatesListRequest {
r.typeNre = &typeNre
return r
}
-// Physical port type
-func (r ApiDcimPowerOutletsListRequest) TypeRe(typeRe []string) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) TypeRe(typeRe []string) ApiDcimPowerOutletTemplatesListRequest {
r.typeRe = &typeRe
return r
}
// Serializer Depth
-func (r ApiDcimPowerOutletsListRequest) Depth(depth int32) ApiDcimPowerOutletsListRequest {
+func (r ApiDcimPowerOutletTemplatesListRequest) Depth(depth int32) ApiDcimPowerOutletTemplatesListRequest {
r.depth = &depth
return r
}
-func (r ApiDcimPowerOutletsListRequest) Execute() (*PaginatedPowerOutletList, *http.Response, error) {
- return r.ApiService.DcimPowerOutletsListExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimPowerOutletTemplatesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimPowerOutletTemplatesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimPowerOutletTemplatesListRequest) Execute() (*PaginatedPowerOutletTemplateList, *http.Response, error) {
+ return r.ApiService.DcimPowerOutletTemplatesListExecute(r)
}
/*
-DcimPowerOutletsList Method for DcimPowerOutletsList
+DcimPowerOutletTemplatesList Method for DcimPowerOutletTemplatesList
-Retrieve a list of power outlet objects.
+Retrieve a list of power outlet template objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPowerOutletsListRequest
+ @return ApiDcimPowerOutletTemplatesListRequest
*/
-func (a *DcimAPIService) DcimPowerOutletsList(ctx context.Context) ApiDcimPowerOutletsListRequest {
- return ApiDcimPowerOutletsListRequest{
+func (a *DcimAPIService) DcimPowerOutletTemplatesList(ctx context.Context) ApiDcimPowerOutletTemplatesListRequest {
+ return ApiDcimPowerOutletTemplatesListRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return PaginatedPowerOutletList
-func (a *DcimAPIService) DcimPowerOutletsListExecute(r ApiDcimPowerOutletsListRequest) (*PaginatedPowerOutletList, *http.Response, error) {
+// @return PaginatedPowerOutletTemplateList
+func (a *DcimAPIService) DcimPowerOutletTemplatesListExecute(r ApiDcimPowerOutletTemplatesListRequest) (*PaginatedPowerOutletTemplateList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PaginatedPowerOutletList
+ localVarReturnValue *PaginatedPowerOutletTemplateList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletsList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletTemplatesList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-outlets/"
+ localVarPath := localBasePath + "/dcim/power-outlet-templates/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.cable != nil {
- t := *r.cable
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "cable", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "cable", t, "form", "multi")
- }
- }
- if r.cableIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "cable__isnull", r.cableIsnull, "form", "")
- }
- if r.cableN != nil {
- t := *r.cableN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "cable__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "cable__n", t, "form", "multi")
- }
- }
- if r.connected != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "connected", r.connected, "form", "")
- }
if r.contacts != nil {
t := *r.contacts
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -104393,7 +99747,15 @@ func (a *DcimAPIService) DcimPowerOutletsListExecute(r ApiDcimPowerOutletsListRe
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.description != nil {
t := *r.description
@@ -104549,15 +99911,29 @@ func (a *DcimAPIService) DcimPowerOutletsListExecute(r ApiDcimPowerOutletsListRe
parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", t, "form", "multi")
}
}
- if r.device != nil {
- t := *r.device
+ if r.deviceType != nil {
+ t := *r.deviceType
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device_type", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device_type", t, "form", "multi")
+ }
+ }
+ if r.deviceTypeIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device_type__isnull", r.deviceTypeIsnull, "form", "")
+ }
+ if r.deviceTypeN != nil {
+ t := *r.deviceTypeN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device_type__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device_type__n", t, "form", "multi")
}
}
if r.dynamicGroups != nil {
@@ -104572,7 +99948,15 @@ func (a *DcimAPIService) DcimPowerOutletsListExecute(r ApiDcimPowerOutletsListRe
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.feedLeg != nil {
t := *r.feedLeg
@@ -104731,8 +100115,11 @@ func (a *DcimAPIService) DcimPowerOutletsListExecute(r ApiDcimPowerOutletsListRe
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.hasCable != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_cable", r.hasCable, "form", "")
+ if r.hasDeviceType != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_device_type", r.hasDeviceType, "form", "")
+ }
+ if r.hasModuleType != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_module_type", r.hasModuleType, "form", "")
}
if r.id != nil {
t := *r.id
@@ -104745,61 +100132,6 @@ func (a *DcimAPIService) DcimPowerOutletsListExecute(r ApiDcimPowerOutletsListRe
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -104811,83 +100143,6 @@ func (a *DcimAPIService) DcimPowerOutletsListExecute(r ApiDcimPowerOutletsListRe
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.label != nil {
t := *r.label
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -105045,51 +100300,29 @@ func (a *DcimAPIService) DcimPowerOutletsListExecute(r ApiDcimPowerOutletsListRe
if r.limit != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
- if r.location != nil {
- t := *r.location
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location", t, "form", "multi")
- }
- }
- if r.locationN != nil {
- t := *r.locationN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", t, "form", "multi")
- }
- }
- if r.module != nil {
- t := *r.module
+ if r.moduleType != nil {
+ t := *r.moduleType
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_type", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_type", t, "form", "multi")
}
}
- if r.moduleIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module__isnull", r.moduleIsnull, "form", "")
+ if r.moduleTypeIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_type__isnull", r.moduleTypeIsnull, "form", "")
}
- if r.moduleN != nil {
- t := *r.moduleN
+ if r.moduleTypeN != nil {
+ t := *r.moduleTypeN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_type__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_type__n", t, "form", "multi")
}
}
if r.name != nil {
@@ -105249,29 +100482,29 @@ func (a *DcimAPIService) DcimPowerOutletsListExecute(r ApiDcimPowerOutletsListRe
if r.offset != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
}
- if r.powerPort != nil {
- t := *r.powerPort
+ if r.powerPortTemplate != nil {
+ t := *r.powerPortTemplate
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_port", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_port_template", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_port", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_port_template", t, "form", "multi")
}
}
- if r.powerPortIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_port__isnull", r.powerPortIsnull, "form", "")
+ if r.powerPortTemplateIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_port_template__isnull", r.powerPortTemplateIsnull, "form", "")
}
- if r.powerPortN != nil {
- t := *r.powerPortN
+ if r.powerPortTemplateN != nil {
+ t := *r.powerPortTemplateN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_port__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_port_template__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_port__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_port_template__n", t, "form", "multi")
}
}
if r.q != nil {
@@ -105280,31 +100513,6 @@ func (a *DcimAPIService) DcimPowerOutletsListExecute(r ApiDcimPowerOutletsListRe
if r.sort != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
}
- if r.tags != nil {
- t := *r.tags
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags", t, "form", "multi")
- }
- }
- if r.tagsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags__isnull", r.tagsIsnull, "form", "")
- }
- if r.tagsN != nil {
- t := *r.tagsN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", t, "form", "multi")
- }
- }
if r.teams != nil {
t := *r.teams
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -105320,7 +100528,15 @@ func (a *DcimAPIService) DcimPowerOutletsListExecute(r ApiDcimPowerOutletsListRe
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.type_ != nil {
t := *r.type_
@@ -105479,8 +100695,16 @@ func (a *DcimAPIService) DcimPowerOutletsListExecute(r ApiDcimPowerOutletsListRe
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -105550,39 +100774,39 @@ func (a *DcimAPIService) DcimPowerOutletsListExecute(r ApiDcimPowerOutletsListRe
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerOutletsNotesCreateRequest struct {
+type ApiDcimPowerOutletTemplatesPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
- noteInputRequest *NoteInputRequest
format *CircuitsCircuitTerminationsListFormatParameter
+ patchedWritablePowerOutletTemplateRequest *PatchedWritablePowerOutletTemplateRequest
}
-func (r ApiDcimPowerOutletsNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimPowerOutletsNotesCreateRequest {
- r.noteInputRequest = ¬eInputRequest
+func (r ApiDcimPowerOutletTemplatesPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletTemplatesPartialUpdateRequest {
+ r.format = &format
return r
}
-func (r ApiDcimPowerOutletsNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletsNotesCreateRequest {
- r.format = &format
+func (r ApiDcimPowerOutletTemplatesPartialUpdateRequest) PatchedWritablePowerOutletTemplateRequest(patchedWritablePowerOutletTemplateRequest PatchedWritablePowerOutletTemplateRequest) ApiDcimPowerOutletTemplatesPartialUpdateRequest {
+ r.patchedWritablePowerOutletTemplateRequest = &patchedWritablePowerOutletTemplateRequest
return r
}
-func (r ApiDcimPowerOutletsNotesCreateRequest) Execute() (*Note, *http.Response, error) {
- return r.ApiService.DcimPowerOutletsNotesCreateExecute(r)
+func (r ApiDcimPowerOutletTemplatesPartialUpdateRequest) Execute() (*PowerOutletTemplate, *http.Response, error) {
+ return r.ApiService.DcimPowerOutletTemplatesPartialUpdateExecute(r)
}
/*
-DcimPowerOutletsNotesCreate Method for DcimPowerOutletsNotesCreate
+DcimPowerOutletTemplatesPartialUpdate Method for DcimPowerOutletTemplatesPartialUpdate
-API methods for returning or creating notes on an object.
+Partial update a power outlet template object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power outlet.
- @return ApiDcimPowerOutletsNotesCreateRequest
+ @param id A UUID string identifying this power outlet template.
+ @return ApiDcimPowerOutletTemplatesPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimPowerOutletsNotesCreate(ctx context.Context, id string) ApiDcimPowerOutletsNotesCreateRequest {
- return ApiDcimPowerOutletsNotesCreateRequest{
+func (a *DcimAPIService) DcimPowerOutletTemplatesPartialUpdate(ctx context.Context, id string) ApiDcimPowerOutletTemplatesPartialUpdateRequest {
+ return ApiDcimPowerOutletTemplatesPartialUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -105590,29 +100814,26 @@ func (a *DcimAPIService) DcimPowerOutletsNotesCreate(ctx context.Context, id str
}
// Execute executes the request
-// @return Note
-func (a *DcimAPIService) DcimPowerOutletsNotesCreateExecute(r ApiDcimPowerOutletsNotesCreateRequest) (*Note, *http.Response, error) {
+// @return PowerOutletTemplate
+func (a *DcimAPIService) DcimPowerOutletTemplatesPartialUpdateExecute(r ApiDcimPowerOutletTemplatesPartialUpdateRequest) (*PowerOutletTemplate, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPost
+ localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *Note
+ localVarReturnValue *PowerOutletTemplate
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletsNotesCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletTemplatesPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-outlets/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/power-outlet-templates/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.noteInputRequest == nil {
- return localVarReturnValue, nil, reportError("noteInputRequest is required and must be specified")
- }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -105635,7 +100856,7 @@ func (a *DcimAPIService) DcimPowerOutletsNotesCreateExecute(r ApiDcimPowerOutlet
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.noteInputRequest
+ localVarPostBody = r.patchedWritablePowerOutletTemplateRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -105687,54 +100908,47 @@ func (a *DcimAPIService) DcimPowerOutletsNotesCreateExecute(r ApiDcimPowerOutlet
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerOutletsNotesListRequest struct {
+type ApiDcimPowerOutletTemplatesRetrieveRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
- limit *int32
- offset *int32
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimPowerOutletsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletsNotesListRequest {
+func (r ApiDcimPowerOutletTemplatesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletTemplatesRetrieveRequest {
r.format = &format
return r
}
-// Number of results to return per page.
-func (r ApiDcimPowerOutletsNotesListRequest) Limit(limit int32) ApiDcimPowerOutletsNotesListRequest {
- r.limit = &limit
+// Serializer Depth
+func (r ApiDcimPowerOutletTemplatesRetrieveRequest) Depth(depth int32) ApiDcimPowerOutletTemplatesRetrieveRequest {
+ r.depth = &depth
return r
}
-// The initial index from which to return the results.
-func (r ApiDcimPowerOutletsNotesListRequest) Offset(offset int32) ApiDcimPowerOutletsNotesListRequest {
- r.offset = &offset
+// Exclude many-to-many fields from the response
+func (r ApiDcimPowerOutletTemplatesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimPowerOutletTemplatesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
return r
}
-// Serializer Depth
-func (r ApiDcimPowerOutletsNotesListRequest) Depth(depth int32) ApiDcimPowerOutletsNotesListRequest {
- r.depth = &depth
- return r
-}
-
-func (r ApiDcimPowerOutletsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
- return r.ApiService.DcimPowerOutletsNotesListExecute(r)
+func (r ApiDcimPowerOutletTemplatesRetrieveRequest) Execute() (*PowerOutletTemplate, *http.Response, error) {
+ return r.ApiService.DcimPowerOutletTemplatesRetrieveExecute(r)
}
/*
-DcimPowerOutletsNotesList Method for DcimPowerOutletsNotesList
+DcimPowerOutletTemplatesRetrieve Method for DcimPowerOutletTemplatesRetrieve
-API methods for returning or creating notes on an object.
+Retrieve a power outlet template object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power outlet.
- @return ApiDcimPowerOutletsNotesListRequest
+ @param id A UUID string identifying this power outlet template.
+ @return ApiDcimPowerOutletTemplatesRetrieveRequest
*/
-func (a *DcimAPIService) DcimPowerOutletsNotesList(ctx context.Context, id string) ApiDcimPowerOutletsNotesListRequest {
- return ApiDcimPowerOutletsNotesListRequest{
+func (a *DcimAPIService) DcimPowerOutletTemplatesRetrieve(ctx context.Context, id string) ApiDcimPowerOutletTemplatesRetrieveRequest {
+ return ApiDcimPowerOutletTemplatesRetrieveRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -105742,21 +100956,21 @@ func (a *DcimAPIService) DcimPowerOutletsNotesList(ctx context.Context, id strin
}
// Execute executes the request
-// @return PaginatedNoteList
-func (a *DcimAPIService) DcimPowerOutletsNotesListExecute(r ApiDcimPowerOutletsNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
+// @return PowerOutletTemplate
+func (a *DcimAPIService) DcimPowerOutletTemplatesRetrieveExecute(r ApiDcimPowerOutletTemplatesRetrieveRequest) (*PowerOutletTemplate, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PaginatedNoteList
+ localVarReturnValue *PowerOutletTemplate
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletsNotesList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletTemplatesRetrieve")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-outlets/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/power-outlet-templates/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -105766,17 +100980,19 @@ func (a *DcimAPIService) DcimPowerOutletsNotesListExecute(r ApiDcimPowerOutletsN
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
- }
- if r.offset != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
- }
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -105846,451 +101062,39 @@ func (a *DcimAPIService) DcimPowerOutletsNotesListExecute(r ApiDcimPowerOutletsN
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerOutletsPartialUpdateRequest struct {
- ctx context.Context
- ApiService *DcimAPIService
- id string
- format *CircuitsCircuitTerminationsListFormatParameter
- patchedWritablePowerOutletRequest *PatchedWritablePowerOutletRequest
-}
-
-func (r ApiDcimPowerOutletsPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletsPartialUpdateRequest {
- r.format = &format
- return r
-}
-
-func (r ApiDcimPowerOutletsPartialUpdateRequest) PatchedWritablePowerOutletRequest(patchedWritablePowerOutletRequest PatchedWritablePowerOutletRequest) ApiDcimPowerOutletsPartialUpdateRequest {
- r.patchedWritablePowerOutletRequest = &patchedWritablePowerOutletRequest
- return r
-}
-
-func (r ApiDcimPowerOutletsPartialUpdateRequest) Execute() (*PowerOutlet, *http.Response, error) {
- return r.ApiService.DcimPowerOutletsPartialUpdateExecute(r)
-}
-
-/*
-DcimPowerOutletsPartialUpdate Method for DcimPowerOutletsPartialUpdate
-
-Partial update a power outlet object.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power outlet.
- @return ApiDcimPowerOutletsPartialUpdateRequest
-*/
-func (a *DcimAPIService) DcimPowerOutletsPartialUpdate(ctx context.Context, id string) ApiDcimPowerOutletsPartialUpdateRequest {
- return ApiDcimPowerOutletsPartialUpdateRequest{
- ApiService: a,
- ctx: ctx,
- id: id,
- }
-}
-
-// Execute executes the request
-// @return PowerOutlet
-func (a *DcimAPIService) DcimPowerOutletsPartialUpdateExecute(r ApiDcimPowerOutletsPartialUpdateRequest) (*PowerOutlet, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPatch
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *PowerOutlet
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletsPartialUpdate")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/dcim/power-outlets/{id}/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.patchedWritablePowerOutletRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiDcimPowerOutletsRetrieveRequest struct {
- ctx context.Context
- ApiService *DcimAPIService
- id string
- format *CircuitsCircuitTerminationsListFormatParameter
- depth *int32
-}
-
-func (r ApiDcimPowerOutletsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletsRetrieveRequest {
- r.format = &format
- return r
-}
-
-// Serializer Depth
-func (r ApiDcimPowerOutletsRetrieveRequest) Depth(depth int32) ApiDcimPowerOutletsRetrieveRequest {
- r.depth = &depth
- return r
-}
-
-func (r ApiDcimPowerOutletsRetrieveRequest) Execute() (*PowerOutlet, *http.Response, error) {
- return r.ApiService.DcimPowerOutletsRetrieveExecute(r)
-}
-
-/*
-DcimPowerOutletsRetrieve Method for DcimPowerOutletsRetrieve
-
-Retrieve a power outlet object.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power outlet.
- @return ApiDcimPowerOutletsRetrieveRequest
-*/
-func (a *DcimAPIService) DcimPowerOutletsRetrieve(ctx context.Context, id string) ApiDcimPowerOutletsRetrieveRequest {
- return ApiDcimPowerOutletsRetrieveRequest{
- ApiService: a,
- ctx: ctx,
- id: id,
- }
-}
-
-// Execute executes the request
-// @return PowerOutlet
-func (a *DcimAPIService) DcimPowerOutletsRetrieveExecute(r ApiDcimPowerOutletsRetrieveRequest) (*PowerOutlet, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *PowerOutlet
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletsRetrieve")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/dcim/power-outlets/{id}/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.depth != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
- } else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiDcimPowerOutletsTraceRetrieveRequest struct {
- ctx context.Context
- ApiService *DcimAPIService
- id string
- format *CircuitsCircuitTerminationsListFormatParameter
- depth *int32
-}
-
-func (r ApiDcimPowerOutletsTraceRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletsTraceRetrieveRequest {
- r.format = &format
- return r
-}
-
-// Serializer Depth
-func (r ApiDcimPowerOutletsTraceRetrieveRequest) Depth(depth int32) ApiDcimPowerOutletsTraceRetrieveRequest {
- r.depth = &depth
- return r
-}
-
-func (r ApiDcimPowerOutletsTraceRetrieveRequest) Execute() (*PowerOutlet, *http.Response, error) {
- return r.ApiService.DcimPowerOutletsTraceRetrieveExecute(r)
-}
-
-/*
-DcimPowerOutletsTraceRetrieve Method for DcimPowerOutletsTraceRetrieve
-
-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 UUID string identifying this power outlet.
- @return ApiDcimPowerOutletsTraceRetrieveRequest
-*/
-func (a *DcimAPIService) DcimPowerOutletsTraceRetrieve(ctx context.Context, id string) ApiDcimPowerOutletsTraceRetrieveRequest {
- return ApiDcimPowerOutletsTraceRetrieveRequest{
- ApiService: a,
- ctx: ctx,
- id: id,
- }
-}
-
-// Execute executes the request
-// @return PowerOutlet
-func (a *DcimAPIService) DcimPowerOutletsTraceRetrieveExecute(r ApiDcimPowerOutletsTraceRetrieveRequest) (*PowerOutlet, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *PowerOutlet
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletsTraceRetrieve")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/dcim/power-outlets/{id}/trace/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.depth != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
- } else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiDcimPowerOutletsUpdateRequest struct {
+type ApiDcimPowerOutletTemplatesUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
- writablePowerOutletRequest *WritablePowerOutletRequest
+ writablePowerOutletTemplateRequest *WritablePowerOutletTemplateRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerOutletsUpdateRequest) WritablePowerOutletRequest(writablePowerOutletRequest WritablePowerOutletRequest) ApiDcimPowerOutletsUpdateRequest {
- r.writablePowerOutletRequest = &writablePowerOutletRequest
+func (r ApiDcimPowerOutletTemplatesUpdateRequest) WritablePowerOutletTemplateRequest(writablePowerOutletTemplateRequest WritablePowerOutletTemplateRequest) ApiDcimPowerOutletTemplatesUpdateRequest {
+ r.writablePowerOutletTemplateRequest = &writablePowerOutletTemplateRequest
return r
}
-func (r ApiDcimPowerOutletsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletsUpdateRequest {
+func (r ApiDcimPowerOutletTemplatesUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletTemplatesUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerOutletsUpdateRequest) Execute() (*PowerOutlet, *http.Response, error) {
- return r.ApiService.DcimPowerOutletsUpdateExecute(r)
+func (r ApiDcimPowerOutletTemplatesUpdateRequest) Execute() (*PowerOutletTemplate, *http.Response, error) {
+ return r.ApiService.DcimPowerOutletTemplatesUpdateExecute(r)
}
/*
-DcimPowerOutletsUpdate Method for DcimPowerOutletsUpdate
+DcimPowerOutletTemplatesUpdate Method for DcimPowerOutletTemplatesUpdate
-Update a power outlet object.
+Update a power outlet template object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power outlet.
- @return ApiDcimPowerOutletsUpdateRequest
+ @param id A UUID string identifying this power outlet template.
+ @return ApiDcimPowerOutletTemplatesUpdateRequest
*/
-func (a *DcimAPIService) DcimPowerOutletsUpdate(ctx context.Context, id string) ApiDcimPowerOutletsUpdateRequest {
- return ApiDcimPowerOutletsUpdateRequest{
+func (a *DcimAPIService) DcimPowerOutletTemplatesUpdate(ctx context.Context, id string) ApiDcimPowerOutletTemplatesUpdateRequest {
+ return ApiDcimPowerOutletTemplatesUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -106298,28 +101102,28 @@ func (a *DcimAPIService) DcimPowerOutletsUpdate(ctx context.Context, id string)
}
// Execute executes the request
-// @return PowerOutlet
-func (a *DcimAPIService) DcimPowerOutletsUpdateExecute(r ApiDcimPowerOutletsUpdateRequest) (*PowerOutlet, *http.Response, error) {
+// @return PowerOutletTemplate
+func (a *DcimAPIService) DcimPowerOutletTemplatesUpdateExecute(r ApiDcimPowerOutletTemplatesUpdateRequest) (*PowerOutletTemplate, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PowerOutlet
+ localVarReturnValue *PowerOutletTemplate
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletsUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletTemplatesUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-outlets/{id}/"
+ localVarPath := localBasePath + "/dcim/power-outlet-templates/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.writablePowerOutletRequest == nil {
- return localVarReturnValue, nil, reportError("writablePowerOutletRequest is required and must be specified")
+ if r.writablePowerOutletTemplateRequest == nil {
+ return localVarReturnValue, nil, reportError("writablePowerOutletTemplateRequest is required and must be specified")
}
if r.format != nil {
@@ -106343,7 +101147,7 @@ func (a *DcimAPIService) DcimPowerOutletsUpdateExecute(r ApiDcimPowerOutletsUpda
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.writablePowerOutletRequest
+ localVarPostBody = r.writablePowerOutletTemplateRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -106395,56 +101199,56 @@ func (a *DcimAPIService) DcimPowerOutletsUpdateExecute(r ApiDcimPowerOutletsUpda
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerPanelsBulkDestroyRequest struct {
+type ApiDcimPowerOutletsBulkDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
bulkOperationRequest *[]BulkOperationRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerPanelsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimPowerPanelsBulkDestroyRequest {
+func (r ApiDcimPowerOutletsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimPowerOutletsBulkDestroyRequest {
r.bulkOperationRequest = &bulkOperationRequest
return r
}
-func (r ApiDcimPowerPanelsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPanelsBulkDestroyRequest {
+func (r ApiDcimPowerOutletsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletsBulkDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerPanelsBulkDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimPowerPanelsBulkDestroyExecute(r)
+func (r ApiDcimPowerOutletsBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimPowerOutletsBulkDestroyExecute(r)
}
/*
-DcimPowerPanelsBulkDestroy Method for DcimPowerPanelsBulkDestroy
+DcimPowerOutletsBulkDestroy Method for DcimPowerOutletsBulkDestroy
-Destroy a list of power panel objects.
+Destroy a list of power outlet objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPowerPanelsBulkDestroyRequest
+ @return ApiDcimPowerOutletsBulkDestroyRequest
*/
-func (a *DcimAPIService) DcimPowerPanelsBulkDestroy(ctx context.Context) ApiDcimPowerPanelsBulkDestroyRequest {
- return ApiDcimPowerPanelsBulkDestroyRequest{
+func (a *DcimAPIService) DcimPowerOutletsBulkDestroy(ctx context.Context) ApiDcimPowerOutletsBulkDestroyRequest {
+ return ApiDcimPowerOutletsBulkDestroyRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-func (a *DcimAPIService) DcimPowerPanelsBulkDestroyExecute(r ApiDcimPowerPanelsBulkDestroyRequest) (*http.Response, error) {
+func (a *DcimAPIService) DcimPowerOutletsBulkDestroyExecute(r ApiDcimPowerOutletsBulkDestroyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPanelsBulkDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletsBulkDestroy")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-panels/"
+ localVarPath := localBasePath + "/dcim/power-outlets/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -106517,64 +101321,64 @@ func (a *DcimAPIService) DcimPowerPanelsBulkDestroyExecute(r ApiDcimPowerPanelsB
return localVarHTTPResponse, nil
}
-type ApiDcimPowerPanelsBulkPartialUpdateRequest struct {
+type ApiDcimPowerOutletsBulkPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- patchedBulkWritablePowerPanelRequest *[]PatchedBulkWritablePowerPanelRequest
+ patchedBulkWritablePowerOutletRequest *[]PatchedBulkWritablePowerOutletRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerPanelsBulkPartialUpdateRequest) PatchedBulkWritablePowerPanelRequest(patchedBulkWritablePowerPanelRequest []PatchedBulkWritablePowerPanelRequest) ApiDcimPowerPanelsBulkPartialUpdateRequest {
- r.patchedBulkWritablePowerPanelRequest = &patchedBulkWritablePowerPanelRequest
+func (r ApiDcimPowerOutletsBulkPartialUpdateRequest) PatchedBulkWritablePowerOutletRequest(patchedBulkWritablePowerOutletRequest []PatchedBulkWritablePowerOutletRequest) ApiDcimPowerOutletsBulkPartialUpdateRequest {
+ r.patchedBulkWritablePowerOutletRequest = &patchedBulkWritablePowerOutletRequest
return r
}
-func (r ApiDcimPowerPanelsBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPanelsBulkPartialUpdateRequest {
+func (r ApiDcimPowerOutletsBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletsBulkPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerPanelsBulkPartialUpdateRequest) Execute() ([]PowerPanel, *http.Response, error) {
- return r.ApiService.DcimPowerPanelsBulkPartialUpdateExecute(r)
+func (r ApiDcimPowerOutletsBulkPartialUpdateRequest) Execute() ([]PowerOutlet, *http.Response, error) {
+ return r.ApiService.DcimPowerOutletsBulkPartialUpdateExecute(r)
}
/*
-DcimPowerPanelsBulkPartialUpdate Method for DcimPowerPanelsBulkPartialUpdate
+DcimPowerOutletsBulkPartialUpdate Method for DcimPowerOutletsBulkPartialUpdate
-Partial update a list of power panel objects.
+Partial update a list of power outlet objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPowerPanelsBulkPartialUpdateRequest
+ @return ApiDcimPowerOutletsBulkPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimPowerPanelsBulkPartialUpdate(ctx context.Context) ApiDcimPowerPanelsBulkPartialUpdateRequest {
- return ApiDcimPowerPanelsBulkPartialUpdateRequest{
+func (a *DcimAPIService) DcimPowerOutletsBulkPartialUpdate(ctx context.Context) ApiDcimPowerOutletsBulkPartialUpdateRequest {
+ return ApiDcimPowerOutletsBulkPartialUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []PowerPanel
-func (a *DcimAPIService) DcimPowerPanelsBulkPartialUpdateExecute(r ApiDcimPowerPanelsBulkPartialUpdateRequest) ([]PowerPanel, *http.Response, error) {
+// @return []PowerOutlet
+func (a *DcimAPIService) DcimPowerOutletsBulkPartialUpdateExecute(r ApiDcimPowerOutletsBulkPartialUpdateRequest) ([]PowerOutlet, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []PowerPanel
+ localVarReturnValue []PowerOutlet
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPanelsBulkPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletsBulkPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-panels/"
+ localVarPath := localBasePath + "/dcim/power-outlets/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.patchedBulkWritablePowerPanelRequest == nil {
- return localVarReturnValue, nil, reportError("patchedBulkWritablePowerPanelRequest is required and must be specified")
+ if r.patchedBulkWritablePowerOutletRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritablePowerOutletRequest is required and must be specified")
}
if r.format != nil {
@@ -106598,7 +101402,7 @@ func (a *DcimAPIService) DcimPowerPanelsBulkPartialUpdateExecute(r ApiDcimPowerP
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedBulkWritablePowerPanelRequest
+ localVarPostBody = r.patchedBulkWritablePowerOutletRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -106650,64 +101454,64 @@ func (a *DcimAPIService) DcimPowerPanelsBulkPartialUpdateExecute(r ApiDcimPowerP
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerPanelsBulkUpdateRequest struct {
+type ApiDcimPowerOutletsBulkUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- bulkWritablePowerPanelRequest *[]BulkWritablePowerPanelRequest
+ bulkWritablePowerOutletRequest *[]BulkWritablePowerOutletRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerPanelsBulkUpdateRequest) BulkWritablePowerPanelRequest(bulkWritablePowerPanelRequest []BulkWritablePowerPanelRequest) ApiDcimPowerPanelsBulkUpdateRequest {
- r.bulkWritablePowerPanelRequest = &bulkWritablePowerPanelRequest
+func (r ApiDcimPowerOutletsBulkUpdateRequest) BulkWritablePowerOutletRequest(bulkWritablePowerOutletRequest []BulkWritablePowerOutletRequest) ApiDcimPowerOutletsBulkUpdateRequest {
+ r.bulkWritablePowerOutletRequest = &bulkWritablePowerOutletRequest
return r
}
-func (r ApiDcimPowerPanelsBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPanelsBulkUpdateRequest {
+func (r ApiDcimPowerOutletsBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletsBulkUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerPanelsBulkUpdateRequest) Execute() ([]PowerPanel, *http.Response, error) {
- return r.ApiService.DcimPowerPanelsBulkUpdateExecute(r)
+func (r ApiDcimPowerOutletsBulkUpdateRequest) Execute() ([]PowerOutlet, *http.Response, error) {
+ return r.ApiService.DcimPowerOutletsBulkUpdateExecute(r)
}
/*
-DcimPowerPanelsBulkUpdate Method for DcimPowerPanelsBulkUpdate
+DcimPowerOutletsBulkUpdate Method for DcimPowerOutletsBulkUpdate
-Update a list of power panel objects.
+Update a list of power outlet objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPowerPanelsBulkUpdateRequest
+ @return ApiDcimPowerOutletsBulkUpdateRequest
*/
-func (a *DcimAPIService) DcimPowerPanelsBulkUpdate(ctx context.Context) ApiDcimPowerPanelsBulkUpdateRequest {
- return ApiDcimPowerPanelsBulkUpdateRequest{
+func (a *DcimAPIService) DcimPowerOutletsBulkUpdate(ctx context.Context) ApiDcimPowerOutletsBulkUpdateRequest {
+ return ApiDcimPowerOutletsBulkUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []PowerPanel
-func (a *DcimAPIService) DcimPowerPanelsBulkUpdateExecute(r ApiDcimPowerPanelsBulkUpdateRequest) ([]PowerPanel, *http.Response, error) {
+// @return []PowerOutlet
+func (a *DcimAPIService) DcimPowerOutletsBulkUpdateExecute(r ApiDcimPowerOutletsBulkUpdateRequest) ([]PowerOutlet, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []PowerPanel
+ localVarReturnValue []PowerOutlet
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPanelsBulkUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletsBulkUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-panels/"
+ localVarPath := localBasePath + "/dcim/power-outlets/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.bulkWritablePowerPanelRequest == nil {
- return localVarReturnValue, nil, reportError("bulkWritablePowerPanelRequest is required and must be specified")
+ if r.bulkWritablePowerOutletRequest == nil {
+ return localVarReturnValue, nil, reportError("bulkWritablePowerOutletRequest is required and must be specified")
}
if r.format != nil {
@@ -106731,7 +101535,7 @@ func (a *DcimAPIService) DcimPowerPanelsBulkUpdateExecute(r ApiDcimPowerPanelsBu
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.bulkWritablePowerPanelRequest
+ localVarPostBody = r.bulkWritablePowerOutletRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -106783,64 +101587,64 @@ func (a *DcimAPIService) DcimPowerPanelsBulkUpdateExecute(r ApiDcimPowerPanelsBu
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerPanelsCreateRequest struct {
+type ApiDcimPowerOutletsCreateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- powerPanelRequest *PowerPanelRequest
+ writablePowerOutletRequest *WritablePowerOutletRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerPanelsCreateRequest) PowerPanelRequest(powerPanelRequest PowerPanelRequest) ApiDcimPowerPanelsCreateRequest {
- r.powerPanelRequest = &powerPanelRequest
+func (r ApiDcimPowerOutletsCreateRequest) WritablePowerOutletRequest(writablePowerOutletRequest WritablePowerOutletRequest) ApiDcimPowerOutletsCreateRequest {
+ r.writablePowerOutletRequest = &writablePowerOutletRequest
return r
}
-func (r ApiDcimPowerPanelsCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPanelsCreateRequest {
+func (r ApiDcimPowerOutletsCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletsCreateRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerPanelsCreateRequest) Execute() (*PowerPanel, *http.Response, error) {
- return r.ApiService.DcimPowerPanelsCreateExecute(r)
+func (r ApiDcimPowerOutletsCreateRequest) Execute() (*PowerOutlet, *http.Response, error) {
+ return r.ApiService.DcimPowerOutletsCreateExecute(r)
}
/*
-DcimPowerPanelsCreate Method for DcimPowerPanelsCreate
+DcimPowerOutletsCreate Method for DcimPowerOutletsCreate
-Create one or more power panel objects.
+Create one or more power outlet objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPowerPanelsCreateRequest
+ @return ApiDcimPowerOutletsCreateRequest
*/
-func (a *DcimAPIService) DcimPowerPanelsCreate(ctx context.Context) ApiDcimPowerPanelsCreateRequest {
- return ApiDcimPowerPanelsCreateRequest{
+func (a *DcimAPIService) DcimPowerOutletsCreate(ctx context.Context) ApiDcimPowerOutletsCreateRequest {
+ return ApiDcimPowerOutletsCreateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return PowerPanel
-func (a *DcimAPIService) DcimPowerPanelsCreateExecute(r ApiDcimPowerPanelsCreateRequest) (*PowerPanel, *http.Response, error) {
+// @return PowerOutlet
+func (a *DcimAPIService) DcimPowerOutletsCreateExecute(r ApiDcimPowerOutletsCreateRequest) (*PowerOutlet, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PowerPanel
+ localVarReturnValue *PowerOutlet
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPanelsCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletsCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-panels/"
+ localVarPath := localBasePath + "/dcim/power-outlets/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.powerPanelRequest == nil {
- return localVarReturnValue, nil, reportError("powerPanelRequest is required and must be specified")
+ if r.writablePowerOutletRequest == nil {
+ return localVarReturnValue, nil, reportError("writablePowerOutletRequest is required and must be specified")
}
if r.format != nil {
@@ -106864,7 +101668,7 @@ func (a *DcimAPIService) DcimPowerPanelsCreateExecute(r ApiDcimPowerPanelsCreate
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.powerPanelRequest
+ localVarPostBody = r.writablePowerOutletRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -106916,33 +101720,33 @@ func (a *DcimAPIService) DcimPowerPanelsCreateExecute(r ApiDcimPowerPanelsCreate
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerPanelsDestroyRequest struct {
+type ApiDcimPowerOutletsDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerPanelsDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPanelsDestroyRequest {
+func (r ApiDcimPowerOutletsDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletsDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerPanelsDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimPowerPanelsDestroyExecute(r)
+func (r ApiDcimPowerOutletsDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimPowerOutletsDestroyExecute(r)
}
/*
-DcimPowerPanelsDestroy Method for DcimPowerPanelsDestroy
+DcimPowerOutletsDestroy Method for DcimPowerOutletsDestroy
-Destroy a power panel object.
+Destroy a power outlet object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power panel.
- @return ApiDcimPowerPanelsDestroyRequest
+ @param id A UUID string identifying this power outlet.
+ @return ApiDcimPowerOutletsDestroyRequest
*/
-func (a *DcimAPIService) DcimPowerPanelsDestroy(ctx context.Context, id string) ApiDcimPowerPanelsDestroyRequest {
- return ApiDcimPowerPanelsDestroyRequest{
+func (a *DcimAPIService) DcimPowerOutletsDestroy(ctx context.Context, id string) ApiDcimPowerOutletsDestroyRequest {
+ return ApiDcimPowerOutletsDestroyRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -106950,19 +101754,19 @@ func (a *DcimAPIService) DcimPowerPanelsDestroy(ctx context.Context, id string)
}
// Execute executes the request
-func (a *DcimAPIService) DcimPowerPanelsDestroyExecute(r ApiDcimPowerPanelsDestroyRequest) (*http.Response, error) {
+func (a *DcimAPIService) DcimPowerOutletsDestroyExecute(r ApiDcimPowerOutletsDestroyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPanelsDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletsDestroy")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-panels/{id}/"
+ localVarPath := localBasePath + "/dcim/power-outlets/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -107031,47 +101835,71 @@ func (a *DcimAPIService) DcimPowerPanelsDestroyExecute(r ApiDcimPowerPanelsDestr
return localVarHTTPResponse, nil
}
-type ApiDcimPowerPanelsListRequest struct {
+type ApiDcimPowerOutletsListRequest struct {
ctx context.Context
ApiService *DcimAPIService
+ cable *[]string
+ cableIsnull *bool
+ cableN *[]string
+ connected *bool
contacts *[]string
contactsIsnull *bool
- contactsN *string
- created *[]time.Time
- createdGt *[]time.Time
- createdGte *[]time.Time
- createdIsnull *bool
- createdLt *[]time.Time
- createdLte *[]time.Time
- createdN *[]time.Time
+ contactsN *[]string
+ description *[]string
+ descriptionIc *[]string
+ descriptionIe *[]string
+ descriptionIew *[]string
+ descriptionIre *[]string
+ descriptionIsw *[]string
+ descriptionN *[]string
+ descriptionNic *[]string
+ descriptionNie *[]string
+ descriptionNiew *[]string
+ descriptionNire *[]string
+ descriptionNisw *[]string
+ descriptionNre *[]string
+ descriptionRe *[]string
+ device *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
+ feedLeg *[]string
+ feedLegIc *[]string
+ feedLegIe *[]string
+ feedLegIew *[]string
+ feedLegIre *[]string
+ feedLegIsw *[]string
+ feedLegN *[]string
+ feedLegNic *[]string
+ feedLegNie *[]string
+ feedLegNiew *[]string
+ feedLegNire *[]string
+ feedLegNisw *[]string
+ feedLegNre *[]string
+ feedLegRe *[]string
format *CircuitsCircuitTerminationsListFormatParameter
- hasPowerFeeds *bool
+ hasCable *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
- lastUpdated *[]time.Time
- lastUpdatedGt *[]time.Time
- lastUpdatedGte *[]time.Time
- lastUpdatedIsnull *bool
- lastUpdatedLt *[]time.Time
- lastUpdatedLte *[]time.Time
- lastUpdatedN *[]time.Time
+ label *[]string
+ labelIc *[]string
+ labelIe *[]string
+ labelIew *[]string
+ labelIre *[]string
+ labelIsw *[]string
+ labelN *[]string
+ labelNic *[]string
+ labelNie *[]string
+ labelNiew *[]string
+ labelNire *[]string
+ labelNisw *[]string
+ labelNre *[]string
+ labelRe *[]string
limit *int32
location *[]string
locationN *[]string
+ module *[]string
+ moduleIsnull *bool
+ moduleN *[]string
name *[]string
nameIc *[]string
nameIe *[]string
@@ -107087,417 +101915,641 @@ type ApiDcimPowerPanelsListRequest struct {
nameNre *[]string
nameRe *[]string
offset *int32
- powerFeeds *[]string
- powerFeedsIsnull *bool
- powerFeedsN *[]string
+ powerPort *[]string
+ powerPortIsnull *bool
+ powerPortN *[]string
q *string
- rackGroup *[]string
- rackGroupIsnull *bool
- rackGroupN *[]string
sort *string
tags *[]string
tagsIsnull *bool
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
+ type_ *[]string
+ typeIc *[]string
+ typeIe *[]string
+ typeIew *[]string
+ typeIre *[]string
+ typeIsw *[]string
+ typeN *[]string
+ typeNic *[]string
+ typeNie *[]string
+ typeNiew *[]string
+ typeNire *[]string
+ typeNisw *[]string
+ typeNre *[]string
+ typeRe *[]string
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimPowerPanelsListRequest) Contacts(contacts []string) ApiDcimPowerPanelsListRequest {
+// Cable
+func (r ApiDcimPowerOutletsListRequest) Cable(cable []string) ApiDcimPowerOutletsListRequest {
+ r.cable = &cable
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) CableIsnull(cableIsnull bool) ApiDcimPowerOutletsListRequest {
+ r.cableIsnull = &cableIsnull
+ return r
+}
+
+// Cable
+func (r ApiDcimPowerOutletsListRequest) CableN(cableN []string) ApiDcimPowerOutletsListRequest {
+ r.cableN = &cableN
+ return r
+}
+
+// Connected status (bool)
+func (r ApiDcimPowerOutletsListRequest) Connected(connected bool) ApiDcimPowerOutletsListRequest {
+ r.connected = &connected
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) Contacts(contacts []string) ApiDcimPowerOutletsListRequest {
r.contacts = &contacts
return r
}
// Contacts (name or ID) is null
-func (r ApiDcimPowerPanelsListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimPowerPanelsListRequest {
+func (r ApiDcimPowerOutletsListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimPowerOutletsListRequest {
r.contactsIsnull = &contactsIsnull
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimPowerPanelsListRequest) ContactsN(contactsN string) ApiDcimPowerPanelsListRequest {
+func (r ApiDcimPowerOutletsListRequest) ContactsN(contactsN []string) ApiDcimPowerOutletsListRequest {
r.contactsN = &contactsN
return r
}
-func (r ApiDcimPowerPanelsListRequest) Created(created []time.Time) ApiDcimPowerPanelsListRequest {
- r.created = &created
+func (r ApiDcimPowerOutletsListRequest) Description(description []string) ApiDcimPowerOutletsListRequest {
+ r.description = &description
return r
}
-func (r ApiDcimPowerPanelsListRequest) CreatedGt(createdGt []time.Time) ApiDcimPowerPanelsListRequest {
- r.createdGt = &createdGt
+func (r ApiDcimPowerOutletsListRequest) DescriptionIc(descriptionIc []string) ApiDcimPowerOutletsListRequest {
+ r.descriptionIc = &descriptionIc
return r
}
-func (r ApiDcimPowerPanelsListRequest) CreatedGte(createdGte []time.Time) ApiDcimPowerPanelsListRequest {
- r.createdGte = &createdGte
+func (r ApiDcimPowerOutletsListRequest) DescriptionIe(descriptionIe []string) ApiDcimPowerOutletsListRequest {
+ r.descriptionIe = &descriptionIe
return r
}
-func (r ApiDcimPowerPanelsListRequest) CreatedIsnull(createdIsnull bool) ApiDcimPowerPanelsListRequest {
- r.createdIsnull = &createdIsnull
+func (r ApiDcimPowerOutletsListRequest) DescriptionIew(descriptionIew []string) ApiDcimPowerOutletsListRequest {
+ r.descriptionIew = &descriptionIew
return r
}
-func (r ApiDcimPowerPanelsListRequest) CreatedLt(createdLt []time.Time) ApiDcimPowerPanelsListRequest {
- r.createdLt = &createdLt
+func (r ApiDcimPowerOutletsListRequest) DescriptionIre(descriptionIre []string) ApiDcimPowerOutletsListRequest {
+ r.descriptionIre = &descriptionIre
return r
}
-func (r ApiDcimPowerPanelsListRequest) CreatedLte(createdLte []time.Time) ApiDcimPowerPanelsListRequest {
- r.createdLte = &createdLte
+func (r ApiDcimPowerOutletsListRequest) DescriptionIsw(descriptionIsw []string) ApiDcimPowerOutletsListRequest {
+ r.descriptionIsw = &descriptionIsw
return r
}
-func (r ApiDcimPowerPanelsListRequest) CreatedN(createdN []time.Time) ApiDcimPowerPanelsListRequest {
- r.createdN = &createdN
+func (r ApiDcimPowerOutletsListRequest) DescriptionN(descriptionN []string) ApiDcimPowerOutletsListRequest {
+ r.descriptionN = &descriptionN
return r
}
-func (r ApiDcimPowerPanelsListRequest) DynamicGroups(dynamicGroups []string) ApiDcimPowerPanelsListRequest {
+func (r ApiDcimPowerOutletsListRequest) DescriptionNic(descriptionNic []string) ApiDcimPowerOutletsListRequest {
+ r.descriptionNic = &descriptionNic
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) DescriptionNie(descriptionNie []string) ApiDcimPowerOutletsListRequest {
+ r.descriptionNie = &descriptionNie
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) DescriptionNiew(descriptionNiew []string) ApiDcimPowerOutletsListRequest {
+ r.descriptionNiew = &descriptionNiew
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) DescriptionNire(descriptionNire []string) ApiDcimPowerOutletsListRequest {
+ r.descriptionNire = &descriptionNire
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) DescriptionNisw(descriptionNisw []string) ApiDcimPowerOutletsListRequest {
+ r.descriptionNisw = &descriptionNisw
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) DescriptionNre(descriptionNre []string) ApiDcimPowerOutletsListRequest {
+ r.descriptionNre = &descriptionNre
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) DescriptionRe(descriptionRe []string) ApiDcimPowerOutletsListRequest {
+ r.descriptionRe = &descriptionRe
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) Device(device []string) ApiDcimPowerOutletsListRequest {
+ r.device = &device
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) DynamicGroups(dynamicGroups []string) ApiDcimPowerOutletsListRequest {
r.dynamicGroups = &dynamicGroups
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimPowerPanelsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimPowerPanelsListRequest {
+func (r ApiDcimPowerOutletsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimPowerOutletsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
-func (r ApiDcimPowerPanelsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPanelsListRequest {
- r.format = &format
+// Phase (for three-phase feeds)
+func (r ApiDcimPowerOutletsListRequest) FeedLeg(feedLeg []string) ApiDcimPowerOutletsListRequest {
+ r.feedLeg = &feedLeg
return r
}
-// Has power feeds
-func (r ApiDcimPowerPanelsListRequest) HasPowerFeeds(hasPowerFeeds bool) ApiDcimPowerPanelsListRequest {
- r.hasPowerFeeds = &hasPowerFeeds
+func (r ApiDcimPowerOutletsListRequest) FeedLegIc(feedLegIc []string) ApiDcimPowerOutletsListRequest {
+ r.feedLegIc = &feedLegIc
return r
}
-// Unique object identifier, either a UUID primary key or a composite key.
-func (r ApiDcimPowerPanelsListRequest) Id(id []string) ApiDcimPowerPanelsListRequest {
- r.id = &id
+func (r ApiDcimPowerOutletsListRequest) FeedLegIe(feedLegIe []string) ApiDcimPowerOutletsListRequest {
+ r.feedLegIe = &feedLegIe
return r
}
-func (r ApiDcimPowerPanelsListRequest) IdIc(idIc []string) ApiDcimPowerPanelsListRequest {
- r.idIc = &idIc
+func (r ApiDcimPowerOutletsListRequest) FeedLegIew(feedLegIew []string) ApiDcimPowerOutletsListRequest {
+ r.feedLegIew = &feedLegIew
return r
}
-func (r ApiDcimPowerPanelsListRequest) IdIe(idIe []string) ApiDcimPowerPanelsListRequest {
- r.idIe = &idIe
+func (r ApiDcimPowerOutletsListRequest) FeedLegIre(feedLegIre []string) ApiDcimPowerOutletsListRequest {
+ r.feedLegIre = &feedLegIre
return r
}
-func (r ApiDcimPowerPanelsListRequest) IdIew(idIew []string) ApiDcimPowerPanelsListRequest {
- r.idIew = &idIew
+func (r ApiDcimPowerOutletsListRequest) FeedLegIsw(feedLegIsw []string) ApiDcimPowerOutletsListRequest {
+ r.feedLegIsw = &feedLegIsw
return r
}
-func (r ApiDcimPowerPanelsListRequest) IdIre(idIre []string) ApiDcimPowerPanelsListRequest {
- r.idIre = &idIre
+func (r ApiDcimPowerOutletsListRequest) FeedLegN(feedLegN []string) ApiDcimPowerOutletsListRequest {
+ r.feedLegN = &feedLegN
return r
}
-func (r ApiDcimPowerPanelsListRequest) IdIsw(idIsw []string) ApiDcimPowerPanelsListRequest {
- r.idIsw = &idIsw
+func (r ApiDcimPowerOutletsListRequest) FeedLegNic(feedLegNic []string) ApiDcimPowerOutletsListRequest {
+ r.feedLegNic = &feedLegNic
return r
}
-func (r ApiDcimPowerPanelsListRequest) IdN(idN []string) ApiDcimPowerPanelsListRequest {
+func (r ApiDcimPowerOutletsListRequest) FeedLegNie(feedLegNie []string) ApiDcimPowerOutletsListRequest {
+ r.feedLegNie = &feedLegNie
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) FeedLegNiew(feedLegNiew []string) ApiDcimPowerOutletsListRequest {
+ r.feedLegNiew = &feedLegNiew
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) FeedLegNire(feedLegNire []string) ApiDcimPowerOutletsListRequest {
+ r.feedLegNire = &feedLegNire
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) FeedLegNisw(feedLegNisw []string) ApiDcimPowerOutletsListRequest {
+ r.feedLegNisw = &feedLegNisw
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) FeedLegNre(feedLegNre []string) ApiDcimPowerOutletsListRequest {
+ r.feedLegNre = &feedLegNre
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) FeedLegRe(feedLegRe []string) ApiDcimPowerOutletsListRequest {
+ r.feedLegRe = &feedLegRe
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletsListRequest {
+ r.format = &format
+ return r
+}
+
+// Has cable
+func (r ApiDcimPowerOutletsListRequest) HasCable(hasCable bool) ApiDcimPowerOutletsListRequest {
+ r.hasCable = &hasCable
+ return r
+}
+
+// Unique object identifier, either a UUID primary key or a composite key.
+func (r ApiDcimPowerOutletsListRequest) Id(id []string) ApiDcimPowerOutletsListRequest {
+ r.id = &id
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) IdN(idN []string) ApiDcimPowerOutletsListRequest {
r.idN = &idN
return r
}
-func (r ApiDcimPowerPanelsListRequest) IdNic(idNic []string) ApiDcimPowerPanelsListRequest {
- r.idNic = &idNic
+func (r ApiDcimPowerOutletsListRequest) Label(label []string) ApiDcimPowerOutletsListRequest {
+ r.label = &label
return r
}
-func (r ApiDcimPowerPanelsListRequest) IdNie(idNie []string) ApiDcimPowerPanelsListRequest {
- r.idNie = &idNie
+func (r ApiDcimPowerOutletsListRequest) LabelIc(labelIc []string) ApiDcimPowerOutletsListRequest {
+ r.labelIc = &labelIc
return r
}
-func (r ApiDcimPowerPanelsListRequest) IdNiew(idNiew []string) ApiDcimPowerPanelsListRequest {
- r.idNiew = &idNiew
+func (r ApiDcimPowerOutletsListRequest) LabelIe(labelIe []string) ApiDcimPowerOutletsListRequest {
+ r.labelIe = &labelIe
return r
}
-func (r ApiDcimPowerPanelsListRequest) IdNire(idNire []string) ApiDcimPowerPanelsListRequest {
- r.idNire = &idNire
+func (r ApiDcimPowerOutletsListRequest) LabelIew(labelIew []string) ApiDcimPowerOutletsListRequest {
+ r.labelIew = &labelIew
return r
}
-func (r ApiDcimPowerPanelsListRequest) IdNisw(idNisw []string) ApiDcimPowerPanelsListRequest {
- r.idNisw = &idNisw
+func (r ApiDcimPowerOutletsListRequest) LabelIre(labelIre []string) ApiDcimPowerOutletsListRequest {
+ r.labelIre = &labelIre
return r
}
-func (r ApiDcimPowerPanelsListRequest) IdNre(idNre []string) ApiDcimPowerPanelsListRequest {
- r.idNre = &idNre
+func (r ApiDcimPowerOutletsListRequest) LabelIsw(labelIsw []string) ApiDcimPowerOutletsListRequest {
+ r.labelIsw = &labelIsw
return r
}
-func (r ApiDcimPowerPanelsListRequest) IdRe(idRe []string) ApiDcimPowerPanelsListRequest {
- r.idRe = &idRe
+func (r ApiDcimPowerOutletsListRequest) LabelN(labelN []string) ApiDcimPowerOutletsListRequest {
+ r.labelN = &labelN
return r
}
-func (r ApiDcimPowerPanelsListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimPowerPanelsListRequest {
- r.lastUpdated = &lastUpdated
+func (r ApiDcimPowerOutletsListRequest) LabelNic(labelNic []string) ApiDcimPowerOutletsListRequest {
+ r.labelNic = &labelNic
return r
}
-func (r ApiDcimPowerPanelsListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiDcimPowerPanelsListRequest {
- r.lastUpdatedGt = &lastUpdatedGt
+func (r ApiDcimPowerOutletsListRequest) LabelNie(labelNie []string) ApiDcimPowerOutletsListRequest {
+ r.labelNie = &labelNie
return r
}
-func (r ApiDcimPowerPanelsListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiDcimPowerPanelsListRequest {
- r.lastUpdatedGte = &lastUpdatedGte
+func (r ApiDcimPowerOutletsListRequest) LabelNiew(labelNiew []string) ApiDcimPowerOutletsListRequest {
+ r.labelNiew = &labelNiew
return r
}
-func (r ApiDcimPowerPanelsListRequest) LastUpdatedIsnull(lastUpdatedIsnull bool) ApiDcimPowerPanelsListRequest {
- r.lastUpdatedIsnull = &lastUpdatedIsnull
+func (r ApiDcimPowerOutletsListRequest) LabelNire(labelNire []string) ApiDcimPowerOutletsListRequest {
+ r.labelNire = &labelNire
return r
}
-func (r ApiDcimPowerPanelsListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiDcimPowerPanelsListRequest {
- r.lastUpdatedLt = &lastUpdatedLt
+func (r ApiDcimPowerOutletsListRequest) LabelNisw(labelNisw []string) ApiDcimPowerOutletsListRequest {
+ r.labelNisw = &labelNisw
return r
}
-func (r ApiDcimPowerPanelsListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiDcimPowerPanelsListRequest {
- r.lastUpdatedLte = &lastUpdatedLte
+func (r ApiDcimPowerOutletsListRequest) LabelNre(labelNre []string) ApiDcimPowerOutletsListRequest {
+ r.labelNre = &labelNre
return r
}
-func (r ApiDcimPowerPanelsListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiDcimPowerPanelsListRequest {
- r.lastUpdatedN = &lastUpdatedN
+func (r ApiDcimPowerOutletsListRequest) LabelRe(labelRe []string) ApiDcimPowerOutletsListRequest {
+ r.labelRe = &labelRe
return r
}
// Number of results to return per page.
-func (r ApiDcimPowerPanelsListRequest) Limit(limit int32) ApiDcimPowerPanelsListRequest {
+func (r ApiDcimPowerOutletsListRequest) Limit(limit int32) ApiDcimPowerOutletsListRequest {
r.limit = &limit
return r
}
-func (r ApiDcimPowerPanelsListRequest) Location(location []string) ApiDcimPowerPanelsListRequest {
+func (r ApiDcimPowerOutletsListRequest) Location(location []string) ApiDcimPowerOutletsListRequest {
r.location = &location
return r
}
-func (r ApiDcimPowerPanelsListRequest) LocationN(locationN []string) ApiDcimPowerPanelsListRequest {
+func (r ApiDcimPowerOutletsListRequest) LocationN(locationN []string) ApiDcimPowerOutletsListRequest {
r.locationN = &locationN
return r
}
-func (r ApiDcimPowerPanelsListRequest) Name(name []string) ApiDcimPowerPanelsListRequest {
+func (r ApiDcimPowerOutletsListRequest) Module(module []string) ApiDcimPowerOutletsListRequest {
+ r.module = &module
+ return r
+}
+
+// Module (model or ID) is null
+func (r ApiDcimPowerOutletsListRequest) ModuleIsnull(moduleIsnull bool) ApiDcimPowerOutletsListRequest {
+ r.moduleIsnull = &moduleIsnull
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) ModuleN(moduleN []string) ApiDcimPowerOutletsListRequest {
+ r.moduleN = &moduleN
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) Name(name []string) ApiDcimPowerOutletsListRequest {
r.name = &name
return r
}
-func (r ApiDcimPowerPanelsListRequest) NameIc(nameIc []string) ApiDcimPowerPanelsListRequest {
+func (r ApiDcimPowerOutletsListRequest) NameIc(nameIc []string) ApiDcimPowerOutletsListRequest {
r.nameIc = &nameIc
return r
}
-func (r ApiDcimPowerPanelsListRequest) NameIe(nameIe []string) ApiDcimPowerPanelsListRequest {
+func (r ApiDcimPowerOutletsListRequest) NameIe(nameIe []string) ApiDcimPowerOutletsListRequest {
r.nameIe = &nameIe
return r
}
-func (r ApiDcimPowerPanelsListRequest) NameIew(nameIew []string) ApiDcimPowerPanelsListRequest {
+func (r ApiDcimPowerOutletsListRequest) NameIew(nameIew []string) ApiDcimPowerOutletsListRequest {
r.nameIew = &nameIew
return r
}
-func (r ApiDcimPowerPanelsListRequest) NameIre(nameIre []string) ApiDcimPowerPanelsListRequest {
+func (r ApiDcimPowerOutletsListRequest) NameIre(nameIre []string) ApiDcimPowerOutletsListRequest {
r.nameIre = &nameIre
return r
}
-func (r ApiDcimPowerPanelsListRequest) NameIsw(nameIsw []string) ApiDcimPowerPanelsListRequest {
+func (r ApiDcimPowerOutletsListRequest) NameIsw(nameIsw []string) ApiDcimPowerOutletsListRequest {
r.nameIsw = &nameIsw
return r
}
-func (r ApiDcimPowerPanelsListRequest) NameN(nameN []string) ApiDcimPowerPanelsListRequest {
+func (r ApiDcimPowerOutletsListRequest) NameN(nameN []string) ApiDcimPowerOutletsListRequest {
r.nameN = &nameN
return r
}
-func (r ApiDcimPowerPanelsListRequest) NameNic(nameNic []string) ApiDcimPowerPanelsListRequest {
+func (r ApiDcimPowerOutletsListRequest) NameNic(nameNic []string) ApiDcimPowerOutletsListRequest {
r.nameNic = &nameNic
return r
}
-func (r ApiDcimPowerPanelsListRequest) NameNie(nameNie []string) ApiDcimPowerPanelsListRequest {
+func (r ApiDcimPowerOutletsListRequest) NameNie(nameNie []string) ApiDcimPowerOutletsListRequest {
r.nameNie = &nameNie
return r
}
-func (r ApiDcimPowerPanelsListRequest) NameNiew(nameNiew []string) ApiDcimPowerPanelsListRequest {
+func (r ApiDcimPowerOutletsListRequest) NameNiew(nameNiew []string) ApiDcimPowerOutletsListRequest {
r.nameNiew = &nameNiew
return r
}
-func (r ApiDcimPowerPanelsListRequest) NameNire(nameNire []string) ApiDcimPowerPanelsListRequest {
+func (r ApiDcimPowerOutletsListRequest) NameNire(nameNire []string) ApiDcimPowerOutletsListRequest {
r.nameNire = &nameNire
return r
}
-func (r ApiDcimPowerPanelsListRequest) NameNisw(nameNisw []string) ApiDcimPowerPanelsListRequest {
+func (r ApiDcimPowerOutletsListRequest) NameNisw(nameNisw []string) ApiDcimPowerOutletsListRequest {
r.nameNisw = &nameNisw
return r
}
-func (r ApiDcimPowerPanelsListRequest) NameNre(nameNre []string) ApiDcimPowerPanelsListRequest {
+func (r ApiDcimPowerOutletsListRequest) NameNre(nameNre []string) ApiDcimPowerOutletsListRequest {
r.nameNre = &nameNre
return r
}
-func (r ApiDcimPowerPanelsListRequest) NameRe(nameRe []string) ApiDcimPowerPanelsListRequest {
+func (r ApiDcimPowerOutletsListRequest) NameRe(nameRe []string) ApiDcimPowerOutletsListRequest {
r.nameRe = &nameRe
return r
}
// The initial index from which to return the results.
-func (r ApiDcimPowerPanelsListRequest) Offset(offset int32) ApiDcimPowerPanelsListRequest {
+func (r ApiDcimPowerOutletsListRequest) Offset(offset int32) ApiDcimPowerOutletsListRequest {
r.offset = &offset
return r
}
-func (r ApiDcimPowerPanelsListRequest) PowerFeeds(powerFeeds []string) ApiDcimPowerPanelsListRequest {
- r.powerFeeds = &powerFeeds
+// Power port
+func (r ApiDcimPowerOutletsListRequest) PowerPort(powerPort []string) ApiDcimPowerOutletsListRequest {
+ r.powerPort = &powerPort
return r
}
-// Power feeds (name or ID) is null
-func (r ApiDcimPowerPanelsListRequest) PowerFeedsIsnull(powerFeedsIsnull bool) ApiDcimPowerPanelsListRequest {
- r.powerFeedsIsnull = &powerFeedsIsnull
+func (r ApiDcimPowerOutletsListRequest) PowerPortIsnull(powerPortIsnull bool) ApiDcimPowerOutletsListRequest {
+ r.powerPortIsnull = &powerPortIsnull
return r
}
-func (r ApiDcimPowerPanelsListRequest) PowerFeedsN(powerFeedsN []string) ApiDcimPowerPanelsListRequest {
- r.powerFeedsN = &powerFeedsN
+// Power port
+func (r ApiDcimPowerOutletsListRequest) PowerPortN(powerPortN []string) ApiDcimPowerOutletsListRequest {
+ r.powerPortN = &powerPortN
return r
}
// Search
-func (r ApiDcimPowerPanelsListRequest) Q(q string) ApiDcimPowerPanelsListRequest {
+func (r ApiDcimPowerOutletsListRequest) Q(q string) ApiDcimPowerOutletsListRequest {
r.q = &q
return r
}
-func (r ApiDcimPowerPanelsListRequest) RackGroup(rackGroup []string) ApiDcimPowerPanelsListRequest {
- r.rackGroup = &rackGroup
- return r
-}
-
-// Rack group (name or ID) is null
-func (r ApiDcimPowerPanelsListRequest) RackGroupIsnull(rackGroupIsnull bool) ApiDcimPowerPanelsListRequest {
- r.rackGroupIsnull = &rackGroupIsnull
- return r
-}
-
-func (r ApiDcimPowerPanelsListRequest) RackGroupN(rackGroupN []string) ApiDcimPowerPanelsListRequest {
- r.rackGroupN = &rackGroupN
- return r
-}
-
// Which field to use when ordering the results.
-func (r ApiDcimPowerPanelsListRequest) Sort(sort string) ApiDcimPowerPanelsListRequest {
+func (r ApiDcimPowerOutletsListRequest) Sort(sort string) ApiDcimPowerOutletsListRequest {
r.sort = &sort
return r
}
-func (r ApiDcimPowerPanelsListRequest) Tags(tags []string) ApiDcimPowerPanelsListRequest {
+func (r ApiDcimPowerOutletsListRequest) Tags(tags []string) ApiDcimPowerOutletsListRequest {
r.tags = &tags
return r
}
-func (r ApiDcimPowerPanelsListRequest) TagsIsnull(tagsIsnull bool) ApiDcimPowerPanelsListRequest {
+func (r ApiDcimPowerOutletsListRequest) TagsIsnull(tagsIsnull bool) ApiDcimPowerOutletsListRequest {
r.tagsIsnull = &tagsIsnull
return r
}
-func (r ApiDcimPowerPanelsListRequest) TagsN(tagsN []string) ApiDcimPowerPanelsListRequest {
+func (r ApiDcimPowerOutletsListRequest) TagsN(tagsN []string) ApiDcimPowerOutletsListRequest {
r.tagsN = &tagsN
return r
}
-func (r ApiDcimPowerPanelsListRequest) Teams(teams []string) ApiDcimPowerPanelsListRequest {
+func (r ApiDcimPowerOutletsListRequest) Teams(teams []string) ApiDcimPowerOutletsListRequest {
r.teams = &teams
return r
}
// Teams (name or ID) is null
-func (r ApiDcimPowerPanelsListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimPowerPanelsListRequest {
+func (r ApiDcimPowerOutletsListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimPowerOutletsListRequest {
r.teamsIsnull = &teamsIsnull
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimPowerPanelsListRequest) TeamsN(teamsN string) ApiDcimPowerPanelsListRequest {
+func (r ApiDcimPowerOutletsListRequest) TeamsN(teamsN []string) ApiDcimPowerOutletsListRequest {
r.teamsN = &teamsN
return r
}
-// Serializer Depth
-func (r ApiDcimPowerPanelsListRequest) Depth(depth int32) ApiDcimPowerPanelsListRequest {
- r.depth = &depth
+// Physical port type
+func (r ApiDcimPowerOutletsListRequest) Type_(type_ []string) ApiDcimPowerOutletsListRequest {
+ r.type_ = &type_
return r
}
-func (r ApiDcimPowerPanelsListRequest) Execute() (*PaginatedPowerPanelList, *http.Response, error) {
- return r.ApiService.DcimPowerPanelsListExecute(r)
+func (r ApiDcimPowerOutletsListRequest) TypeIc(typeIc []string) ApiDcimPowerOutletsListRequest {
+ r.typeIc = &typeIc
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) TypeIe(typeIe []string) ApiDcimPowerOutletsListRequest {
+ r.typeIe = &typeIe
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) TypeIew(typeIew []string) ApiDcimPowerOutletsListRequest {
+ r.typeIew = &typeIew
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) TypeIre(typeIre []string) ApiDcimPowerOutletsListRequest {
+ r.typeIre = &typeIre
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) TypeIsw(typeIsw []string) ApiDcimPowerOutletsListRequest {
+ r.typeIsw = &typeIsw
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) TypeN(typeN []string) ApiDcimPowerOutletsListRequest {
+ r.typeN = &typeN
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) TypeNic(typeNic []string) ApiDcimPowerOutletsListRequest {
+ r.typeNic = &typeNic
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) TypeNie(typeNie []string) ApiDcimPowerOutletsListRequest {
+ r.typeNie = &typeNie
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) TypeNiew(typeNiew []string) ApiDcimPowerOutletsListRequest {
+ r.typeNiew = &typeNiew
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) TypeNire(typeNire []string) ApiDcimPowerOutletsListRequest {
+ r.typeNire = &typeNire
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) TypeNisw(typeNisw []string) ApiDcimPowerOutletsListRequest {
+ r.typeNisw = &typeNisw
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) TypeNre(typeNre []string) ApiDcimPowerOutletsListRequest {
+ r.typeNre = &typeNre
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) TypeRe(typeRe []string) ApiDcimPowerOutletsListRequest {
+ r.typeRe = &typeRe
+ return r
+}
+
+// Serializer Depth
+func (r ApiDcimPowerOutletsListRequest) Depth(depth int32) ApiDcimPowerOutletsListRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiDcimPowerOutletsListRequest) ExcludeM2m(excludeM2m bool) ApiDcimPowerOutletsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimPowerOutletsListRequest) Execute() (*PaginatedPowerOutletList, *http.Response, error) {
+ return r.ApiService.DcimPowerOutletsListExecute(r)
}
/*
-DcimPowerPanelsList Method for DcimPowerPanelsList
+DcimPowerOutletsList Method for DcimPowerOutletsList
-Retrieve a list of power panel objects.
+Retrieve a list of power outlet objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPowerPanelsListRequest
+ @return ApiDcimPowerOutletsListRequest
*/
-func (a *DcimAPIService) DcimPowerPanelsList(ctx context.Context) ApiDcimPowerPanelsListRequest {
- return ApiDcimPowerPanelsListRequest{
+func (a *DcimAPIService) DcimPowerOutletsList(ctx context.Context) ApiDcimPowerOutletsListRequest {
+ return ApiDcimPowerOutletsListRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return PaginatedPowerPanelList
-func (a *DcimAPIService) DcimPowerPanelsListExecute(r ApiDcimPowerPanelsListRequest) (*PaginatedPowerPanelList, *http.Response, error) {
+// @return PaginatedPowerOutletList
+func (a *DcimAPIService) DcimPowerOutletsListExecute(r ApiDcimPowerOutletsListRequest) (*PaginatedPowerOutletList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PaginatedPowerPanelList
+ localVarReturnValue *PaginatedPowerOutletList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPanelsList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletsList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-panels/"
+ localVarPath := localBasePath + "/dcim/power-outlets/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
+ if r.cable != nil {
+ t := *r.cable
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "cable", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "cable", t, "form", "multi")
+ }
+ }
+ if r.cableIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "cable__isnull", r.cableIsnull, "form", "")
+ }
+ if r.cableN != nil {
+ t := *r.cableN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "cable__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "cable__n", t, "form", "multi")
+ }
+ }
+ if r.connected != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "connected", r.connected, "form", "")
+ }
if r.contacts != nil {
t := *r.contacts
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -107513,75 +102565,179 @@ func (a *DcimAPIService) DcimPowerPanelsListExecute(r ApiDcimPowerPanelsListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
- if r.created != nil {
- t := *r.created
+ if r.description != nil {
+ t := *r.description
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description", t, "form", "multi")
}
}
- if r.createdGt != nil {
- t := *r.createdGt
+ if r.descriptionIc != nil {
+ t := *r.descriptionIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", t, "form", "multi")
}
}
- if r.createdGte != nil {
- t := *r.createdGte
+ if r.descriptionIe != nil {
+ t := *r.descriptionIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", t, "form", "multi")
}
}
- if r.createdIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__isnull", r.createdIsnull, "form", "")
+ if r.descriptionIew != nil {
+ t := *r.descriptionIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", t, "form", "multi")
+ }
}
- if r.createdLt != nil {
- t := *r.createdLt
+ if r.descriptionIre != nil {
+ t := *r.descriptionIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", t, "form", "multi")
}
}
- if r.createdLte != nil {
- t := *r.createdLte
+ if r.descriptionIsw != nil {
+ t := *r.descriptionIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", t, "form", "multi")
}
}
- if r.createdN != nil {
- t := *r.createdN
+ if r.descriptionN != nil {
+ t := *r.descriptionN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", t, "form", "multi")
+ }
+ }
+ if r.descriptionNic != nil {
+ t := *r.descriptionNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", t, "form", "multi")
+ }
+ }
+ if r.descriptionNie != nil {
+ t := *r.descriptionNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", t, "form", "multi")
+ }
+ }
+ if r.descriptionNiew != nil {
+ t := *r.descriptionNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", t, "form", "multi")
+ }
+ }
+ if r.descriptionNire != nil {
+ t := *r.descriptionNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", t, "form", "multi")
+ }
+ }
+ if r.descriptionNisw != nil {
+ t := *r.descriptionNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", t, "form", "multi")
+ }
+ }
+ if r.descriptionNre != nil {
+ t := *r.descriptionNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", t, "form", "multi")
+ }
+ }
+ if r.descriptionRe != nil {
+ t := *r.descriptionRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", t, "form", "multi")
+ }
+ }
+ if r.device != nil {
+ t := *r.device
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device", t, "form", "multi")
}
}
if r.dynamicGroups != nil {
@@ -107596,78 +102752,185 @@ func (a *DcimAPIService) DcimPowerPanelsListExecute(r ApiDcimPowerPanelsListRequ
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ if r.feedLeg != nil {
+ t := *r.feedLeg
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg", t, "form", "multi")
+ }
}
- if r.hasPowerFeeds != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_power_feeds", r.hasPowerFeeds, "form", "")
+ if r.feedLegIc != nil {
+ t := *r.feedLegIc
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__ic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__ic", t, "form", "multi")
+ }
}
- if r.id != nil {
- t := *r.id
+ if r.feedLegIe != nil {
+ t := *r.feedLegIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__ie", t, "form", "multi")
+ }
+ }
+ if r.feedLegIew != nil {
+ t := *r.feedLegIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__iew", t, "form", "multi")
+ }
+ }
+ if r.feedLegIre != nil {
+ t := *r.feedLegIre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__ire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__ire", t, "form", "multi")
+ }
+ }
+ if r.feedLegIsw != nil {
+ t := *r.feedLegIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__isw", t, "form", "multi")
+ }
+ }
+ if r.feedLegN != nil {
+ t := *r.feedLegN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__n", t, "form", "multi")
+ }
+ }
+ if r.feedLegNic != nil {
+ t := *r.feedLegNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__nic", t, "form", "multi")
+ }
+ }
+ if r.feedLegNie != nil {
+ t := *r.feedLegNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__nie", t, "form", "multi")
+ }
+ }
+ if r.feedLegNiew != nil {
+ t := *r.feedLegNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__niew", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
+ if r.feedLegNire != nil {
+ t := *r.feedLegNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__nire", t, "form", "multi")
}
}
- if r.idIe != nil {
- t := *r.idIe
+ if r.feedLegNisw != nil {
+ t := *r.feedLegNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__nisw", t, "form", "multi")
}
}
- if r.idIew != nil {
- t := *r.idIew
+ if r.feedLegNre != nil {
+ t := *r.feedLegNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__nre", t, "form", "multi")
}
}
- if r.idIre != nil {
- t := *r.idIre
+ if r.feedLegRe != nil {
+ t := *r.feedLegRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "feed_leg__re", t, "form", "multi")
}
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.hasCable != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_cable", r.hasCable, "form", "")
+ }
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
if r.idN != nil {
@@ -107681,150 +102944,158 @@ func (a *DcimAPIService) DcimPowerPanelsListExecute(r ApiDcimPowerPanelsListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
+ if r.label != nil {
+ t := *r.label
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label", t, "form", "multi")
}
}
- if r.idNie != nil {
- t := *r.idNie
+ if r.labelIc != nil {
+ t := *r.labelIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__ic", t, "form", "multi")
}
}
- if r.idNiew != nil {
- t := *r.idNiew
+ if r.labelIe != nil {
+ t := *r.labelIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__ie", t, "form", "multi")
}
}
- if r.idNire != nil {
- t := *r.idNire
+ if r.labelIew != nil {
+ t := *r.labelIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__iew", t, "form", "multi")
}
}
- if r.idNisw != nil {
- t := *r.idNisw
+ if r.labelIre != nil {
+ t := *r.labelIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__ire", t, "form", "multi")
}
}
- if r.idNre != nil {
- t := *r.idNre
+ if r.labelIsw != nil {
+ t := *r.labelIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__isw", t, "form", "multi")
}
}
- if r.idRe != nil {
- t := *r.idRe
+ if r.labelN != nil {
+ t := *r.labelN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__n", t, "form", "multi")
}
}
- if r.lastUpdated != nil {
- t := *r.lastUpdated
+ if r.labelNic != nil {
+ t := *r.labelNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__nic", t, "form", "multi")
}
}
- if r.lastUpdatedGt != nil {
- t := *r.lastUpdatedGt
+ if r.labelNie != nil {
+ t := *r.labelNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__nie", t, "form", "multi")
}
}
- if r.lastUpdatedGte != nil {
- t := *r.lastUpdatedGte
+ if r.labelNiew != nil {
+ t := *r.labelNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__niew", t, "form", "multi")
}
}
- if r.lastUpdatedIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__isnull", r.lastUpdatedIsnull, "form", "")
+ if r.labelNire != nil {
+ t := *r.labelNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__nire", t, "form", "multi")
+ }
}
- if r.lastUpdatedLt != nil {
- t := *r.lastUpdatedLt
+ if r.labelNisw != nil {
+ t := *r.labelNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__nisw", t, "form", "multi")
}
}
- if r.lastUpdatedLte != nil {
- t := *r.lastUpdatedLte
+ if r.labelNre != nil {
+ t := *r.labelNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__nre", t, "form", "multi")
}
}
- if r.lastUpdatedN != nil {
- t := *r.lastUpdatedN
+ if r.labelRe != nil {
+ t := *r.labelRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__re", t, "form", "multi")
}
}
if r.limit != nil {
@@ -107852,6 +103123,31 @@ func (a *DcimAPIService) DcimPowerPanelsListExecute(r ApiDcimPowerPanelsListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", t, "form", "multi")
}
}
+ if r.module != nil {
+ t := *r.module
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module", t, "form", "multi")
+ }
+ }
+ if r.moduleIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module__isnull", r.moduleIsnull, "form", "")
+ }
+ if r.moduleN != nil {
+ t := *r.moduleN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module__n", t, "form", "multi")
+ }
+ }
if r.name != nil {
t := *r.name
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -108009,59 +103305,34 @@ func (a *DcimAPIService) DcimPowerPanelsListExecute(r ApiDcimPowerPanelsListRequ
if r.offset != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
}
- if r.powerFeeds != nil {
- t := *r.powerFeeds
+ if r.powerPort != nil {
+ t := *r.powerPort
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_feeds", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_port", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_feeds", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_port", t, "form", "multi")
}
}
- if r.powerFeedsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_feeds__isnull", r.powerFeedsIsnull, "form", "")
+ if r.powerPortIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_port__isnull", r.powerPortIsnull, "form", "")
}
- if r.powerFeedsN != nil {
- t := *r.powerFeedsN
+ if r.powerPortN != nil {
+ t := *r.powerPortN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_feeds__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_port__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_feeds__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_port__n", t, "form", "multi")
}
}
if r.q != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
}
- if r.rackGroup != nil {
- t := *r.rackGroup
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rack_group", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rack_group", t, "form", "multi")
- }
- }
- if r.rackGroupIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rack_group__isnull", r.rackGroupIsnull, "form", "")
- }
- if r.rackGroupN != nil {
- t := *r.rackGroupN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rack_group__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rack_group__n", t, "form", "multi")
- }
- }
if r.sort != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
}
@@ -108105,13 +103376,183 @@ func (a *DcimAPIService) DcimPowerPanelsListExecute(r ApiDcimPowerPanelsListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
+ }
+ if r.type_ != nil {
+ t := *r.type_
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type", t, "form", "multi")
+ }
+ }
+ if r.typeIc != nil {
+ t := *r.typeIc
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__ic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__ic", t, "form", "multi")
+ }
+ }
+ if r.typeIe != nil {
+ t := *r.typeIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__ie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__ie", t, "form", "multi")
+ }
+ }
+ if r.typeIew != nil {
+ t := *r.typeIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__iew", t, "form", "multi")
+ }
+ }
+ if r.typeIre != nil {
+ t := *r.typeIre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__ire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__ire", t, "form", "multi")
+ }
+ }
+ if r.typeIsw != nil {
+ t := *r.typeIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__isw", t, "form", "multi")
+ }
+ }
+ if r.typeN != nil {
+ t := *r.typeN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", t, "form", "multi")
+ }
+ }
+ if r.typeNic != nil {
+ t := *r.typeNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nic", t, "form", "multi")
+ }
+ }
+ if r.typeNie != nil {
+ t := *r.typeNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nie", t, "form", "multi")
+ }
+ }
+ if r.typeNiew != nil {
+ t := *r.typeNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__niew", t, "form", "multi")
+ }
+ }
+ if r.typeNire != nil {
+ t := *r.typeNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nire", t, "form", "multi")
+ }
+ }
+ if r.typeNisw != nil {
+ t := *r.typeNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nisw", t, "form", "multi")
+ }
+ }
+ if r.typeNre != nil {
+ t := *r.typeNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nre", t, "form", "multi")
+ }
+ }
+ if r.typeRe != nil {
+ t := *r.typeRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__re", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -108181,7 +103622,7 @@ func (a *DcimAPIService) DcimPowerPanelsListExecute(r ApiDcimPowerPanelsListRequ
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerPanelsNotesCreateRequest struct {
+type ApiDcimPowerOutletsNotesCreateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
@@ -108189,31 +103630,31 @@ type ApiDcimPowerPanelsNotesCreateRequest struct {
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerPanelsNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimPowerPanelsNotesCreateRequest {
+func (r ApiDcimPowerOutletsNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimPowerOutletsNotesCreateRequest {
r.noteInputRequest = ¬eInputRequest
return r
}
-func (r ApiDcimPowerPanelsNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPanelsNotesCreateRequest {
+func (r ApiDcimPowerOutletsNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletsNotesCreateRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerPanelsNotesCreateRequest) Execute() (*Note, *http.Response, error) {
- return r.ApiService.DcimPowerPanelsNotesCreateExecute(r)
+func (r ApiDcimPowerOutletsNotesCreateRequest) Execute() (*Note, *http.Response, error) {
+ return r.ApiService.DcimPowerOutletsNotesCreateExecute(r)
}
/*
-DcimPowerPanelsNotesCreate Method for DcimPowerPanelsNotesCreate
+DcimPowerOutletsNotesCreate Method for DcimPowerOutletsNotesCreate
API methods for returning or creating notes on an object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power panel.
- @return ApiDcimPowerPanelsNotesCreateRequest
+ @param id A UUID string identifying this power outlet.
+ @return ApiDcimPowerOutletsNotesCreateRequest
*/
-func (a *DcimAPIService) DcimPowerPanelsNotesCreate(ctx context.Context, id string) ApiDcimPowerPanelsNotesCreateRequest {
- return ApiDcimPowerPanelsNotesCreateRequest{
+func (a *DcimAPIService) DcimPowerOutletsNotesCreate(ctx context.Context, id string) ApiDcimPowerOutletsNotesCreateRequest {
+ return ApiDcimPowerOutletsNotesCreateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -108222,7 +103663,7 @@ func (a *DcimAPIService) DcimPowerPanelsNotesCreate(ctx context.Context, id stri
// Execute executes the request
// @return Note
-func (a *DcimAPIService) DcimPowerPanelsNotesCreateExecute(r ApiDcimPowerPanelsNotesCreateRequest) (*Note, *http.Response, error) {
+func (a *DcimAPIService) DcimPowerOutletsNotesCreateExecute(r ApiDcimPowerOutletsNotesCreateRequest) (*Note, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -108230,12 +103671,12 @@ func (a *DcimAPIService) DcimPowerPanelsNotesCreateExecute(r ApiDcimPowerPanelsN
localVarReturnValue *Note
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPanelsNotesCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletsNotesCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-panels/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/power-outlets/{id}/notes/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -108318,7 +103759,7 @@ func (a *DcimAPIService) DcimPowerPanelsNotesCreateExecute(r ApiDcimPowerPanelsN
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerPanelsNotesListRequest struct {
+type ApiDcimPowerOutletsNotesListRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
@@ -108326,46 +103767,53 @@ type ApiDcimPowerPanelsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimPowerPanelsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPanelsNotesListRequest {
+func (r ApiDcimPowerOutletsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletsNotesListRequest {
r.format = &format
return r
}
// Number of results to return per page.
-func (r ApiDcimPowerPanelsNotesListRequest) Limit(limit int32) ApiDcimPowerPanelsNotesListRequest {
+func (r ApiDcimPowerOutletsNotesListRequest) Limit(limit int32) ApiDcimPowerOutletsNotesListRequest {
r.limit = &limit
return r
}
// The initial index from which to return the results.
-func (r ApiDcimPowerPanelsNotesListRequest) Offset(offset int32) ApiDcimPowerPanelsNotesListRequest {
+func (r ApiDcimPowerOutletsNotesListRequest) Offset(offset int32) ApiDcimPowerOutletsNotesListRequest {
r.offset = &offset
return r
}
// Serializer Depth
-func (r ApiDcimPowerPanelsNotesListRequest) Depth(depth int32) ApiDcimPowerPanelsNotesListRequest {
+func (r ApiDcimPowerOutletsNotesListRequest) Depth(depth int32) ApiDcimPowerOutletsNotesListRequest {
r.depth = &depth
return r
}
-func (r ApiDcimPowerPanelsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
- return r.ApiService.DcimPowerPanelsNotesListExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimPowerOutletsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimPowerOutletsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimPowerOutletsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
+ return r.ApiService.DcimPowerOutletsNotesListExecute(r)
}
/*
-DcimPowerPanelsNotesList Method for DcimPowerPanelsNotesList
+DcimPowerOutletsNotesList Method for DcimPowerOutletsNotesList
API methods for returning or creating notes on an object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power panel.
- @return ApiDcimPowerPanelsNotesListRequest
+ @param id A UUID string identifying this power outlet.
+ @return ApiDcimPowerOutletsNotesListRequest
*/
-func (a *DcimAPIService) DcimPowerPanelsNotesList(ctx context.Context, id string) ApiDcimPowerPanelsNotesListRequest {
- return ApiDcimPowerPanelsNotesListRequest{
+func (a *DcimAPIService) DcimPowerOutletsNotesList(ctx context.Context, id string) ApiDcimPowerOutletsNotesListRequest {
+ return ApiDcimPowerOutletsNotesListRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -108374,7 +103822,7 @@ func (a *DcimAPIService) DcimPowerPanelsNotesList(ctx context.Context, id string
// Execute executes the request
// @return PaginatedNoteList
-func (a *DcimAPIService) DcimPowerPanelsNotesListExecute(r ApiDcimPowerPanelsNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
+func (a *DcimAPIService) DcimPowerOutletsNotesListExecute(r ApiDcimPowerOutletsNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -108382,12 +103830,12 @@ func (a *DcimAPIService) DcimPowerPanelsNotesListExecute(r ApiDcimPowerPanelsNot
localVarReturnValue *PaginatedNoteList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPanelsNotesList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletsNotesList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-panels/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/power-outlets/{id}/notes/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -108406,8 +103854,16 @@ func (a *DcimAPIService) DcimPowerPanelsNotesListExecute(r ApiDcimPowerPanelsNot
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -108477,39 +103933,39 @@ func (a *DcimAPIService) DcimPowerPanelsNotesListExecute(r ApiDcimPowerPanelsNot
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerPanelsPartialUpdateRequest struct {
+type ApiDcimPowerOutletsPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
- patchedPowerPanelRequest *PatchedPowerPanelRequest
+ patchedWritablePowerOutletRequest *PatchedWritablePowerOutletRequest
}
-func (r ApiDcimPowerPanelsPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPanelsPartialUpdateRequest {
+func (r ApiDcimPowerOutletsPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletsPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerPanelsPartialUpdateRequest) PatchedPowerPanelRequest(patchedPowerPanelRequest PatchedPowerPanelRequest) ApiDcimPowerPanelsPartialUpdateRequest {
- r.patchedPowerPanelRequest = &patchedPowerPanelRequest
+func (r ApiDcimPowerOutletsPartialUpdateRequest) PatchedWritablePowerOutletRequest(patchedWritablePowerOutletRequest PatchedWritablePowerOutletRequest) ApiDcimPowerOutletsPartialUpdateRequest {
+ r.patchedWritablePowerOutletRequest = &patchedWritablePowerOutletRequest
return r
}
-func (r ApiDcimPowerPanelsPartialUpdateRequest) Execute() (*PowerPanel, *http.Response, error) {
- return r.ApiService.DcimPowerPanelsPartialUpdateExecute(r)
+func (r ApiDcimPowerOutletsPartialUpdateRequest) Execute() (*PowerOutlet, *http.Response, error) {
+ return r.ApiService.DcimPowerOutletsPartialUpdateExecute(r)
}
/*
-DcimPowerPanelsPartialUpdate Method for DcimPowerPanelsPartialUpdate
+DcimPowerOutletsPartialUpdate Method for DcimPowerOutletsPartialUpdate
-Partial update a power panel object.
+Partial update a power outlet object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power panel.
- @return ApiDcimPowerPanelsPartialUpdateRequest
+ @param id A UUID string identifying this power outlet.
+ @return ApiDcimPowerOutletsPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimPowerPanelsPartialUpdate(ctx context.Context, id string) ApiDcimPowerPanelsPartialUpdateRequest {
- return ApiDcimPowerPanelsPartialUpdateRequest{
+func (a *DcimAPIService) DcimPowerOutletsPartialUpdate(ctx context.Context, id string) ApiDcimPowerOutletsPartialUpdateRequest {
+ return ApiDcimPowerOutletsPartialUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -108517,21 +103973,21 @@ func (a *DcimAPIService) DcimPowerPanelsPartialUpdate(ctx context.Context, id st
}
// Execute executes the request
-// @return PowerPanel
-func (a *DcimAPIService) DcimPowerPanelsPartialUpdateExecute(r ApiDcimPowerPanelsPartialUpdateRequest) (*PowerPanel, *http.Response, error) {
+// @return PowerOutlet
+func (a *DcimAPIService) DcimPowerOutletsPartialUpdateExecute(r ApiDcimPowerOutletsPartialUpdateRequest) (*PowerOutlet, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PowerPanel
+ localVarReturnValue *PowerOutlet
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPanelsPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletsPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-panels/{id}/"
+ localVarPath := localBasePath + "/dcim/power-outlets/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -108559,7 +104015,7 @@ func (a *DcimAPIService) DcimPowerPanelsPartialUpdateExecute(r ApiDcimPowerPanel
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedPowerPanelRequest
+ localVarPostBody = r.patchedWritablePowerOutletRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -108611,40 +104067,47 @@ func (a *DcimAPIService) DcimPowerPanelsPartialUpdateExecute(r ApiDcimPowerPanel
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerPanelsRetrieveRequest struct {
+type ApiDcimPowerOutletsRetrieveRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimPowerPanelsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPanelsRetrieveRequest {
+func (r ApiDcimPowerOutletsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletsRetrieveRequest {
r.format = &format
return r
}
// Serializer Depth
-func (r ApiDcimPowerPanelsRetrieveRequest) Depth(depth int32) ApiDcimPowerPanelsRetrieveRequest {
+func (r ApiDcimPowerOutletsRetrieveRequest) Depth(depth int32) ApiDcimPowerOutletsRetrieveRequest {
r.depth = &depth
return r
}
-func (r ApiDcimPowerPanelsRetrieveRequest) Execute() (*PowerPanel, *http.Response, error) {
- return r.ApiService.DcimPowerPanelsRetrieveExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimPowerOutletsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimPowerOutletsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimPowerOutletsRetrieveRequest) Execute() (*PowerOutlet, *http.Response, error) {
+ return r.ApiService.DcimPowerOutletsRetrieveExecute(r)
}
/*
-DcimPowerPanelsRetrieve Method for DcimPowerPanelsRetrieve
+DcimPowerOutletsRetrieve Method for DcimPowerOutletsRetrieve
-Retrieve a power panel object.
+Retrieve a power outlet object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power panel.
- @return ApiDcimPowerPanelsRetrieveRequest
+ @param id A UUID string identifying this power outlet.
+ @return ApiDcimPowerOutletsRetrieveRequest
*/
-func (a *DcimAPIService) DcimPowerPanelsRetrieve(ctx context.Context, id string) ApiDcimPowerPanelsRetrieveRequest {
- return ApiDcimPowerPanelsRetrieveRequest{
+func (a *DcimAPIService) DcimPowerOutletsRetrieve(ctx context.Context, id string) ApiDcimPowerOutletsRetrieveRequest {
+ return ApiDcimPowerOutletsRetrieveRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -108652,21 +104115,21 @@ func (a *DcimAPIService) DcimPowerPanelsRetrieve(ctx context.Context, id string)
}
// Execute executes the request
-// @return PowerPanel
-func (a *DcimAPIService) DcimPowerPanelsRetrieveExecute(r ApiDcimPowerPanelsRetrieveRequest) (*PowerPanel, *http.Response, error) {
+// @return PowerOutlet
+func (a *DcimAPIService) DcimPowerOutletsRetrieveExecute(r ApiDcimPowerOutletsRetrieveRequest) (*PowerOutlet, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PowerPanel
+ localVarReturnValue *PowerOutlet
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPanelsRetrieve")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletsRetrieve")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-panels/{id}/"
+ localVarPath := localBasePath + "/dcim/power-outlets/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -108679,8 +104142,16 @@ func (a *DcimAPIService) DcimPowerPanelsRetrieveExecute(r ApiDcimPowerPanelsRetr
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -108750,39 +104221,47 @@ func (a *DcimAPIService) DcimPowerPanelsRetrieveExecute(r ApiDcimPowerPanelsRetr
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerPanelsUpdateRequest struct {
+type ApiDcimPowerOutletsTraceRetrieveRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
- powerPanelRequest *PowerPanelRequest
format *CircuitsCircuitTerminationsListFormatParameter
+ depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimPowerPanelsUpdateRequest) PowerPanelRequest(powerPanelRequest PowerPanelRequest) ApiDcimPowerPanelsUpdateRequest {
- r.powerPanelRequest = &powerPanelRequest
+func (r ApiDcimPowerOutletsTraceRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletsTraceRetrieveRequest {
+ r.format = &format
return r
}
-func (r ApiDcimPowerPanelsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPanelsUpdateRequest {
- r.format = &format
+// Serializer Depth
+func (r ApiDcimPowerOutletsTraceRetrieveRequest) Depth(depth int32) ApiDcimPowerOutletsTraceRetrieveRequest {
+ r.depth = &depth
return r
}
-func (r ApiDcimPowerPanelsUpdateRequest) Execute() (*PowerPanel, *http.Response, error) {
- return r.ApiService.DcimPowerPanelsUpdateExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimPowerOutletsTraceRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimPowerOutletsTraceRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimPowerOutletsTraceRetrieveRequest) Execute() (*PowerOutlet, *http.Response, error) {
+ return r.ApiService.DcimPowerOutletsTraceRetrieveExecute(r)
}
/*
-DcimPowerPanelsUpdate Method for DcimPowerPanelsUpdate
+DcimPowerOutletsTraceRetrieve Method for DcimPowerOutletsTraceRetrieve
-Update a power panel object.
+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 UUID string identifying this power panel.
- @return ApiDcimPowerPanelsUpdateRequest
+ @param id A UUID string identifying this power outlet.
+ @return ApiDcimPowerOutletsTraceRetrieveRequest
*/
-func (a *DcimAPIService) DcimPowerPanelsUpdate(ctx context.Context, id string) ApiDcimPowerPanelsUpdateRequest {
- return ApiDcimPowerPanelsUpdateRequest{
+func (a *DcimAPIService) DcimPowerOutletsTraceRetrieve(ctx context.Context, id string) ApiDcimPowerOutletsTraceRetrieveRequest {
+ return ApiDcimPowerOutletsTraceRetrieveRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -108790,35 +104269,46 @@ func (a *DcimAPIService) DcimPowerPanelsUpdate(ctx context.Context, id string) A
}
// Execute executes the request
-// @return PowerPanel
-func (a *DcimAPIService) DcimPowerPanelsUpdateExecute(r ApiDcimPowerPanelsUpdateRequest) (*PowerPanel, *http.Response, error) {
+// @return PowerOutlet
+func (a *DcimAPIService) DcimPowerOutletsTraceRetrieveExecute(r ApiDcimPowerOutletsTraceRetrieveRequest) (*PowerOutlet, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPut
+ localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PowerPanel
+ localVarReturnValue *PowerOutlet
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPanelsUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletsTraceRetrieve")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-panels/{id}/"
+ localVarPath := localBasePath + "/dcim/power-outlets/{id}/trace/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.powerPanelRequest == nil {
- return localVarReturnValue, nil, reportError("powerPanelRequest is required and must be specified")
- }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+ localVarHTTPContentTypes := []string{}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -108834,8 +104324,6 @@ func (a *DcimAPIService) DcimPowerPanelsUpdateExecute(r ApiDcimPowerPanelsUpdate
if localVarHTTPHeaderAccept != "" {
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
- // body params
- localVarPostBody = r.powerPanelRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -108887,62 +104375,68 @@ func (a *DcimAPIService) DcimPowerPanelsUpdateExecute(r ApiDcimPowerPanelsUpdate
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerPortTemplatesBulkDestroyRequest struct {
+type ApiDcimPowerOutletsUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- bulkOperationRequest *[]BulkOperationRequest
+ id string
+ writablePowerOutletRequest *WritablePowerOutletRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerPortTemplatesBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimPowerPortTemplatesBulkDestroyRequest {
- r.bulkOperationRequest = &bulkOperationRequest
+func (r ApiDcimPowerOutletsUpdateRequest) WritablePowerOutletRequest(writablePowerOutletRequest WritablePowerOutletRequest) ApiDcimPowerOutletsUpdateRequest {
+ r.writablePowerOutletRequest = &writablePowerOutletRequest
return r
}
-func (r ApiDcimPowerPortTemplatesBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortTemplatesBulkDestroyRequest {
+func (r ApiDcimPowerOutletsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerOutletsUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerPortTemplatesBulkDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimPowerPortTemplatesBulkDestroyExecute(r)
+func (r ApiDcimPowerOutletsUpdateRequest) Execute() (*PowerOutlet, *http.Response, error) {
+ return r.ApiService.DcimPowerOutletsUpdateExecute(r)
}
/*
-DcimPowerPortTemplatesBulkDestroy Method for DcimPowerPortTemplatesBulkDestroy
+DcimPowerOutletsUpdate Method for DcimPowerOutletsUpdate
-Destroy a list of power port template objects.
+Update a power outlet object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPowerPortTemplatesBulkDestroyRequest
+ @param id A UUID string identifying this power outlet.
+ @return ApiDcimPowerOutletsUpdateRequest
*/
-func (a *DcimAPIService) DcimPowerPortTemplatesBulkDestroy(ctx context.Context) ApiDcimPowerPortTemplatesBulkDestroyRequest {
- return ApiDcimPowerPortTemplatesBulkDestroyRequest{
+func (a *DcimAPIService) DcimPowerOutletsUpdate(ctx context.Context, id string) ApiDcimPowerOutletsUpdateRequest {
+ return ApiDcimPowerOutletsUpdateRequest{
ApiService: a,
ctx: ctx,
+ id: id,
}
}
// Execute executes the request
-func (a *DcimAPIService) DcimPowerPortTemplatesBulkDestroyExecute(r ApiDcimPowerPortTemplatesBulkDestroyRequest) (*http.Response, error) {
+// @return PowerOutlet
+func (a *DcimAPIService) DcimPowerOutletsUpdateExecute(r ApiDcimPowerOutletsUpdateRequest) (*PowerOutlet, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodDelete
+ localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
+ localVarReturnValue *PowerOutlet
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortTemplatesBulkDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerOutletsUpdate")
if err != nil {
- return nil, &GenericOpenAPIError{error: err.Error()}
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-port-templates/"
+ localVarPath := localBasePath + "/dcim/power-outlets/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.bulkOperationRequest == nil {
- return nil, reportError("bulkOperationRequest is required and must be specified")
+ if r.writablePowerOutletRequest == nil {
+ return localVarReturnValue, nil, reportError("writablePowerOutletRequest is required and must be specified")
}
if r.format != nil {
@@ -108958,7 +104452,7 @@ func (a *DcimAPIService) DcimPowerPortTemplatesBulkDestroyExecute(r ApiDcimPower
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{}
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -108966,7 +104460,7 @@ func (a *DcimAPIService) DcimPowerPortTemplatesBulkDestroyExecute(r ApiDcimPower
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.bulkOperationRequest
+ localVarPostBody = r.writablePowerOutletRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -108983,19 +104477,19 @@ func (a *DcimAPIService) DcimPowerPortTemplatesBulkDestroyExecute(r ApiDcimPower
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
- return nil, err
+ return localVarReturnValue, nil, err
}
localVarHTTPResponse, err := a.client.callAPI(req)
if err != nil || localVarHTTPResponse == nil {
- return localVarHTTPResponse, err
+ return localVarReturnValue, localVarHTTPResponse, err
}
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
- return localVarHTTPResponse, err
+ return localVarReturnValue, localVarHTTPResponse, err
}
if localVarHTTPResponse.StatusCode >= 300 {
@@ -109003,70 +104497,201 @@ func (a *DcimAPIService) DcimPowerPortTemplatesBulkDestroyExecute(r ApiDcimPower
body: localVarBody,
error: localVarHTTPResponse.Status,
}
- return localVarHTTPResponse, newErr
+ return localVarReturnValue, localVarHTTPResponse, newErr
}
- return localVarHTTPResponse, nil
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerPortTemplatesBulkPartialUpdateRequest struct {
+type ApiDcimPowerPanelsBulkDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
- patchedBulkWritablePowerPortTemplateRequest *[]PatchedBulkWritablePowerPortTemplateRequest
+ bulkOperationRequest *[]BulkOperationRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerPortTemplatesBulkPartialUpdateRequest) PatchedBulkWritablePowerPortTemplateRequest(patchedBulkWritablePowerPortTemplateRequest []PatchedBulkWritablePowerPortTemplateRequest) ApiDcimPowerPortTemplatesBulkPartialUpdateRequest {
- r.patchedBulkWritablePowerPortTemplateRequest = &patchedBulkWritablePowerPortTemplateRequest
+func (r ApiDcimPowerPanelsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimPowerPanelsBulkDestroyRequest {
+ r.bulkOperationRequest = &bulkOperationRequest
return r
}
-func (r ApiDcimPowerPortTemplatesBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortTemplatesBulkPartialUpdateRequest {
+func (r ApiDcimPowerPanelsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPanelsBulkDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerPortTemplatesBulkPartialUpdateRequest) Execute() ([]PowerPortTemplate, *http.Response, error) {
- return r.ApiService.DcimPowerPortTemplatesBulkPartialUpdateExecute(r)
+func (r ApiDcimPowerPanelsBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimPowerPanelsBulkDestroyExecute(r)
}
/*
-DcimPowerPortTemplatesBulkPartialUpdate Method for DcimPowerPortTemplatesBulkPartialUpdate
+DcimPowerPanelsBulkDestroy Method for DcimPowerPanelsBulkDestroy
-Partial update a list of power port template objects.
+Destroy a list of power panel objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPowerPortTemplatesBulkPartialUpdateRequest
+ @return ApiDcimPowerPanelsBulkDestroyRequest
*/
-func (a *DcimAPIService) DcimPowerPortTemplatesBulkPartialUpdate(ctx context.Context) ApiDcimPowerPortTemplatesBulkPartialUpdateRequest {
- return ApiDcimPowerPortTemplatesBulkPartialUpdateRequest{
+func (a *DcimAPIService) DcimPowerPanelsBulkDestroy(ctx context.Context) ApiDcimPowerPanelsBulkDestroyRequest {
+ return ApiDcimPowerPanelsBulkDestroyRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []PowerPortTemplate
-func (a *DcimAPIService) DcimPowerPortTemplatesBulkPartialUpdateExecute(r ApiDcimPowerPortTemplatesBulkPartialUpdateRequest) ([]PowerPortTemplate, *http.Response, error) {
+func (a *DcimAPIService) DcimPowerPanelsBulkDestroyExecute(r ApiDcimPowerPanelsBulkDestroyRequest) (*http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPatch
+ localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []PowerPortTemplate
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortTemplatesBulkPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPanelsBulkDestroy")
if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-port-templates/"
+ localVarPath := localBasePath + "/dcim/power-panels/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.patchedBulkWritablePowerPortTemplateRequest == nil {
- return localVarReturnValue, nil, reportError("patchedBulkWritablePowerPortTemplateRequest is required and must be specified")
+ if r.bulkOperationRequest == nil {
+ return nil, reportError("bulkOperationRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.bulkOperationRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarHTTPResponse, newErr
+ }
+
+ return localVarHTTPResponse, nil
+}
+
+type ApiDcimPowerPanelsBulkPartialUpdateRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ patchedBulkWritablePowerPanelRequest *[]PatchedBulkWritablePowerPanelRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiDcimPowerPanelsBulkPartialUpdateRequest) PatchedBulkWritablePowerPanelRequest(patchedBulkWritablePowerPanelRequest []PatchedBulkWritablePowerPanelRequest) ApiDcimPowerPanelsBulkPartialUpdateRequest {
+ r.patchedBulkWritablePowerPanelRequest = &patchedBulkWritablePowerPanelRequest
+ return r
+}
+
+func (r ApiDcimPowerPanelsBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPanelsBulkPartialUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiDcimPowerPanelsBulkPartialUpdateRequest) Execute() ([]PowerPanel, *http.Response, error) {
+ return r.ApiService.DcimPowerPanelsBulkPartialUpdateExecute(r)
+}
+
+/*
+DcimPowerPanelsBulkPartialUpdate Method for DcimPowerPanelsBulkPartialUpdate
+
+Partial update a list of power panel objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiDcimPowerPanelsBulkPartialUpdateRequest
+*/
+func (a *DcimAPIService) DcimPowerPanelsBulkPartialUpdate(ctx context.Context) ApiDcimPowerPanelsBulkPartialUpdateRequest {
+ return ApiDcimPowerPanelsBulkPartialUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return []PowerPanel
+func (a *DcimAPIService) DcimPowerPanelsBulkPartialUpdateExecute(r ApiDcimPowerPanelsBulkPartialUpdateRequest) ([]PowerPanel, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPatch
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue []PowerPanel
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPanelsBulkPartialUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/power-panels/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.patchedBulkWritablePowerPanelRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritablePowerPanelRequest is required and must be specified")
}
if r.format != nil {
@@ -109090,7 +104715,7 @@ func (a *DcimAPIService) DcimPowerPortTemplatesBulkPartialUpdateExecute(r ApiDci
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedBulkWritablePowerPortTemplateRequest
+ localVarPostBody = r.patchedBulkWritablePowerPanelRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -109142,64 +104767,64 @@ func (a *DcimAPIService) DcimPowerPortTemplatesBulkPartialUpdateExecute(r ApiDci
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerPortTemplatesBulkUpdateRequest struct {
+type ApiDcimPowerPanelsBulkUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- bulkWritablePowerPortTemplateRequest *[]BulkWritablePowerPortTemplateRequest
+ bulkWritablePowerPanelRequest *[]BulkWritablePowerPanelRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerPortTemplatesBulkUpdateRequest) BulkWritablePowerPortTemplateRequest(bulkWritablePowerPortTemplateRequest []BulkWritablePowerPortTemplateRequest) ApiDcimPowerPortTemplatesBulkUpdateRequest {
- r.bulkWritablePowerPortTemplateRequest = &bulkWritablePowerPortTemplateRequest
+func (r ApiDcimPowerPanelsBulkUpdateRequest) BulkWritablePowerPanelRequest(bulkWritablePowerPanelRequest []BulkWritablePowerPanelRequest) ApiDcimPowerPanelsBulkUpdateRequest {
+ r.bulkWritablePowerPanelRequest = &bulkWritablePowerPanelRequest
return r
}
-func (r ApiDcimPowerPortTemplatesBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortTemplatesBulkUpdateRequest {
+func (r ApiDcimPowerPanelsBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPanelsBulkUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerPortTemplatesBulkUpdateRequest) Execute() ([]PowerPortTemplate, *http.Response, error) {
- return r.ApiService.DcimPowerPortTemplatesBulkUpdateExecute(r)
+func (r ApiDcimPowerPanelsBulkUpdateRequest) Execute() ([]PowerPanel, *http.Response, error) {
+ return r.ApiService.DcimPowerPanelsBulkUpdateExecute(r)
}
/*
-DcimPowerPortTemplatesBulkUpdate Method for DcimPowerPortTemplatesBulkUpdate
+DcimPowerPanelsBulkUpdate Method for DcimPowerPanelsBulkUpdate
-Update a list of power port template objects.
+Update a list of power panel objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPowerPortTemplatesBulkUpdateRequest
+ @return ApiDcimPowerPanelsBulkUpdateRequest
*/
-func (a *DcimAPIService) DcimPowerPortTemplatesBulkUpdate(ctx context.Context) ApiDcimPowerPortTemplatesBulkUpdateRequest {
- return ApiDcimPowerPortTemplatesBulkUpdateRequest{
+func (a *DcimAPIService) DcimPowerPanelsBulkUpdate(ctx context.Context) ApiDcimPowerPanelsBulkUpdateRequest {
+ return ApiDcimPowerPanelsBulkUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []PowerPortTemplate
-func (a *DcimAPIService) DcimPowerPortTemplatesBulkUpdateExecute(r ApiDcimPowerPortTemplatesBulkUpdateRequest) ([]PowerPortTemplate, *http.Response, error) {
+// @return []PowerPanel
+func (a *DcimAPIService) DcimPowerPanelsBulkUpdateExecute(r ApiDcimPowerPanelsBulkUpdateRequest) ([]PowerPanel, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []PowerPortTemplate
+ localVarReturnValue []PowerPanel
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortTemplatesBulkUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPanelsBulkUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-port-templates/"
+ localVarPath := localBasePath + "/dcim/power-panels/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.bulkWritablePowerPortTemplateRequest == nil {
- return localVarReturnValue, nil, reportError("bulkWritablePowerPortTemplateRequest is required and must be specified")
+ if r.bulkWritablePowerPanelRequest == nil {
+ return localVarReturnValue, nil, reportError("bulkWritablePowerPanelRequest is required and must be specified")
}
if r.format != nil {
@@ -109223,7 +104848,7 @@ func (a *DcimAPIService) DcimPowerPortTemplatesBulkUpdateExecute(r ApiDcimPowerP
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.bulkWritablePowerPortTemplateRequest
+ localVarPostBody = r.bulkWritablePowerPanelRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -109275,64 +104900,64 @@ func (a *DcimAPIService) DcimPowerPortTemplatesBulkUpdateExecute(r ApiDcimPowerP
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerPortTemplatesCreateRequest struct {
+type ApiDcimPowerPanelsCreateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- writablePowerPortTemplateRequest *WritablePowerPortTemplateRequest
+ writablePowerPanelRequest *WritablePowerPanelRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerPortTemplatesCreateRequest) WritablePowerPortTemplateRequest(writablePowerPortTemplateRequest WritablePowerPortTemplateRequest) ApiDcimPowerPortTemplatesCreateRequest {
- r.writablePowerPortTemplateRequest = &writablePowerPortTemplateRequest
+func (r ApiDcimPowerPanelsCreateRequest) WritablePowerPanelRequest(writablePowerPanelRequest WritablePowerPanelRequest) ApiDcimPowerPanelsCreateRequest {
+ r.writablePowerPanelRequest = &writablePowerPanelRequest
return r
}
-func (r ApiDcimPowerPortTemplatesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortTemplatesCreateRequest {
+func (r ApiDcimPowerPanelsCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPanelsCreateRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerPortTemplatesCreateRequest) Execute() (*PowerPortTemplate, *http.Response, error) {
- return r.ApiService.DcimPowerPortTemplatesCreateExecute(r)
+func (r ApiDcimPowerPanelsCreateRequest) Execute() (*PowerPanel, *http.Response, error) {
+ return r.ApiService.DcimPowerPanelsCreateExecute(r)
}
/*
-DcimPowerPortTemplatesCreate Method for DcimPowerPortTemplatesCreate
+DcimPowerPanelsCreate Method for DcimPowerPanelsCreate
-Create one or more power port template objects.
+Create one or more power panel objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPowerPortTemplatesCreateRequest
+ @return ApiDcimPowerPanelsCreateRequest
*/
-func (a *DcimAPIService) DcimPowerPortTemplatesCreate(ctx context.Context) ApiDcimPowerPortTemplatesCreateRequest {
- return ApiDcimPowerPortTemplatesCreateRequest{
+func (a *DcimAPIService) DcimPowerPanelsCreate(ctx context.Context) ApiDcimPowerPanelsCreateRequest {
+ return ApiDcimPowerPanelsCreateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return PowerPortTemplate
-func (a *DcimAPIService) DcimPowerPortTemplatesCreateExecute(r ApiDcimPowerPortTemplatesCreateRequest) (*PowerPortTemplate, *http.Response, error) {
+// @return PowerPanel
+func (a *DcimAPIService) DcimPowerPanelsCreateExecute(r ApiDcimPowerPanelsCreateRequest) (*PowerPanel, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PowerPortTemplate
+ localVarReturnValue *PowerPanel
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortTemplatesCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPanelsCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-port-templates/"
+ localVarPath := localBasePath + "/dcim/power-panels/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.writablePowerPortTemplateRequest == nil {
- return localVarReturnValue, nil, reportError("writablePowerPortTemplateRequest is required and must be specified")
+ if r.writablePowerPanelRequest == nil {
+ return localVarReturnValue, nil, reportError("writablePowerPanelRequest is required and must be specified")
}
if r.format != nil {
@@ -109356,7 +104981,7 @@ func (a *DcimAPIService) DcimPowerPortTemplatesCreateExecute(r ApiDcimPowerPortT
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.writablePowerPortTemplateRequest
+ localVarPostBody = r.writablePowerPanelRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -109408,33 +105033,33 @@ func (a *DcimAPIService) DcimPowerPortTemplatesCreateExecute(r ApiDcimPowerPortT
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerPortTemplatesDestroyRequest struct {
+type ApiDcimPowerPanelsDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerPortTemplatesDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortTemplatesDestroyRequest {
+func (r ApiDcimPowerPanelsDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPanelsDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerPortTemplatesDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimPowerPortTemplatesDestroyExecute(r)
+func (r ApiDcimPowerPanelsDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimPowerPanelsDestroyExecute(r)
}
/*
-DcimPowerPortTemplatesDestroy Method for DcimPowerPortTemplatesDestroy
+DcimPowerPanelsDestroy Method for DcimPowerPanelsDestroy
-Destroy a power port template object.
+Destroy a power panel object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power port template.
- @return ApiDcimPowerPortTemplatesDestroyRequest
+ @param id A UUID string identifying this power panel.
+ @return ApiDcimPowerPanelsDestroyRequest
*/
-func (a *DcimAPIService) DcimPowerPortTemplatesDestroy(ctx context.Context, id string) ApiDcimPowerPortTemplatesDestroyRequest {
- return ApiDcimPowerPortTemplatesDestroyRequest{
+func (a *DcimAPIService) DcimPowerPanelsDestroy(ctx context.Context, id string) ApiDcimPowerPanelsDestroyRequest {
+ return ApiDcimPowerPanelsDestroyRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -109442,19 +105067,19 @@ func (a *DcimAPIService) DcimPowerPortTemplatesDestroy(ctx context.Context, id s
}
// Execute executes the request
-func (a *DcimAPIService) DcimPowerPortTemplatesDestroyExecute(r ApiDcimPowerPortTemplatesDestroyRequest) (*http.Response, error) {
+func (a *DcimAPIService) DcimPowerPanelsDestroyExecute(r ApiDcimPowerPanelsDestroyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortTemplatesDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPanelsDestroy")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-port-templates/{id}/"
+ localVarPath := localBasePath + "/dcim/power-panels/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -109523,81 +105148,36 @@ func (a *DcimAPIService) DcimPowerPortTemplatesDestroyExecute(r ApiDcimPowerPort
return localVarHTTPResponse, nil
}
-type ApiDcimPowerPortTemplatesListRequest struct {
+type ApiDcimPowerPanelsListRequest struct {
ctx context.Context
ApiService *DcimAPIService
- allocatedDraw *[]int32
- allocatedDrawGt *[]int32
- allocatedDrawGte *[]int32
- allocatedDrawIsnull *bool
- allocatedDrawLt *[]int32
- allocatedDrawLte *[]int32
- allocatedDrawN *[]int32
contacts *[]string
contactsIsnull *bool
- contactsN *string
- description *[]string
- descriptionIc *[]string
- descriptionIe *[]string
- descriptionIew *[]string
- descriptionIre *[]string
- descriptionIsw *[]string
- descriptionN *[]string
- descriptionNic *[]string
- descriptionNie *[]string
- descriptionNiew *[]string
- descriptionNire *[]string
- descriptionNisw *[]string
- descriptionNre *[]string
- descriptionRe *[]string
- deviceType *[]string
- deviceTypeIsnull *bool
- deviceTypeN *[]string
+ contactsN *[]string
+ created *[]time.Time
+ createdGt *[]time.Time
+ createdGte *[]time.Time
+ createdIsnull *bool
+ createdLt *[]time.Time
+ createdLte *[]time.Time
+ createdN *[]time.Time
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
- hasDeviceType *bool
- hasModuleType *bool
- hasPowerOutletTemplates *bool
+ hasFeeders *bool
+ hasPowerFeeds *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
- label *[]string
- labelIc *[]string
- labelIe *[]string
- labelIew *[]string
- labelIre *[]string
- labelIsw *[]string
- labelN *[]string
- labelNic *[]string
- labelNie *[]string
- labelNiew *[]string
- labelNire *[]string
- labelNisw *[]string
- labelNre *[]string
- labelRe *[]string
+ lastUpdated *[]time.Time
+ lastUpdatedGt *[]time.Time
+ lastUpdatedGte *[]time.Time
+ lastUpdatedIsnull *bool
+ lastUpdatedLt *[]time.Time
+ lastUpdatedLte *[]time.Time
+ lastUpdatedN *[]time.Time
limit *int32
- maximumDraw *[]int32
- maximumDrawGt *[]int32
- maximumDrawGte *[]int32
- maximumDrawIsnull *bool
- maximumDrawLt *[]int32
- maximumDrawLte *[]int32
- maximumDrawN *[]int32
- moduleType *[]string
- moduleTypeIsnull *bool
- moduleTypeN *[]string
+ location *[]string
+ locationN *[]string
name *[]string
nameIc *[]string
nameIe *[]string
@@ -109613,1577 +105193,1323 @@ type ApiDcimPowerPortTemplatesListRequest struct {
nameNre *[]string
nameRe *[]string
offset *int32
- powerOutletTemplates *[]string
- powerOutletTemplatesIsnull *bool
- powerOutletTemplatesN *[]string
+ panelType *[]string
+ panelTypeIc *[]string
+ panelTypeIe *[]string
+ panelTypeIew *[]string
+ panelTypeIre *[]string
+ panelTypeIsw *[]string
+ panelTypeN *[]string
+ panelTypeNic *[]string
+ panelTypeNie *[]string
+ panelTypeNiew *[]string
+ panelTypeNire *[]string
+ panelTypeNisw *[]string
+ panelTypeNre *[]string
+ panelTypeRe *[]string
+ powerFeeds *[]string
+ powerFeedsIsnull *bool
+ powerFeedsN *[]string
+ powerPath *[]string
+ powerPathIc *[]string
+ powerPathIe *[]string
+ powerPathIew *[]string
+ powerPathIre *[]string
+ powerPathIsw *[]string
+ powerPathN *[]string
+ powerPathNic *[]string
+ powerPathNie *[]string
+ powerPathNiew *[]string
+ powerPathNire *[]string
+ powerPathNisw *[]string
+ powerPathNre *[]string
+ powerPathRe *[]string
q *string
+ rackGroup *[]string
+ rackGroupIsnull *bool
+ rackGroupN *[]string
sort *string
+ tags *[]string
+ tagsIsnull *bool
+ tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
- type_ *[]string
- typeIc *[]string
- typeIe *[]string
- typeIew *[]string
- typeIre *[]string
- typeIsw *[]string
- typeN *[]string
- typeNic *[]string
- typeNie *[]string
- typeNiew *[]string
- typeNire *[]string
- typeNisw *[]string
- typeNre *[]string
- typeRe *[]string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimPowerPortTemplatesListRequest) AllocatedDraw(allocatedDraw []int32) ApiDcimPowerPortTemplatesListRequest {
- r.allocatedDraw = &allocatedDraw
- return r
-}
-
-func (r ApiDcimPowerPortTemplatesListRequest) AllocatedDrawGt(allocatedDrawGt []int32) ApiDcimPowerPortTemplatesListRequest {
- r.allocatedDrawGt = &allocatedDrawGt
- return r
-}
-
-func (r ApiDcimPowerPortTemplatesListRequest) AllocatedDrawGte(allocatedDrawGte []int32) ApiDcimPowerPortTemplatesListRequest {
- r.allocatedDrawGte = &allocatedDrawGte
- return r
-}
-
-func (r ApiDcimPowerPortTemplatesListRequest) AllocatedDrawIsnull(allocatedDrawIsnull bool) ApiDcimPowerPortTemplatesListRequest {
- r.allocatedDrawIsnull = &allocatedDrawIsnull
- return r
-}
-
-func (r ApiDcimPowerPortTemplatesListRequest) AllocatedDrawLt(allocatedDrawLt []int32) ApiDcimPowerPortTemplatesListRequest {
- r.allocatedDrawLt = &allocatedDrawLt
- return r
-}
-
-func (r ApiDcimPowerPortTemplatesListRequest) AllocatedDrawLte(allocatedDrawLte []int32) ApiDcimPowerPortTemplatesListRequest {
- r.allocatedDrawLte = &allocatedDrawLte
- return r
-}
-
-func (r ApiDcimPowerPortTemplatesListRequest) AllocatedDrawN(allocatedDrawN []int32) ApiDcimPowerPortTemplatesListRequest {
- r.allocatedDrawN = &allocatedDrawN
- return r
-}
-
-func (r ApiDcimPowerPortTemplatesListRequest) Contacts(contacts []string) ApiDcimPowerPortTemplatesListRequest {
+func (r ApiDcimPowerPanelsListRequest) Contacts(contacts []string) ApiDcimPowerPanelsListRequest {
r.contacts = &contacts
return r
}
// Contacts (name or ID) is null
-func (r ApiDcimPowerPortTemplatesListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimPowerPortTemplatesListRequest {
+func (r ApiDcimPowerPanelsListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimPowerPanelsListRequest {
r.contactsIsnull = &contactsIsnull
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimPowerPortTemplatesListRequest) ContactsN(contactsN string) ApiDcimPowerPortTemplatesListRequest {
+func (r ApiDcimPowerPanelsListRequest) ContactsN(contactsN []string) ApiDcimPowerPanelsListRequest {
r.contactsN = &contactsN
return r
}
-// Description
-func (r ApiDcimPowerPortTemplatesListRequest) Description(description []string) ApiDcimPowerPortTemplatesListRequest {
- r.description = &description
- return r
-}
-
-// Description
-func (r ApiDcimPowerPortTemplatesListRequest) DescriptionIc(descriptionIc []string) ApiDcimPowerPortTemplatesListRequest {
- r.descriptionIc = &descriptionIc
- return r
-}
-
-// Description
-func (r ApiDcimPowerPortTemplatesListRequest) DescriptionIe(descriptionIe []string) ApiDcimPowerPortTemplatesListRequest {
- r.descriptionIe = &descriptionIe
- return r
-}
-
-// Description
-func (r ApiDcimPowerPortTemplatesListRequest) DescriptionIew(descriptionIew []string) ApiDcimPowerPortTemplatesListRequest {
- r.descriptionIew = &descriptionIew
- return r
-}
-
-// Description
-func (r ApiDcimPowerPortTemplatesListRequest) DescriptionIre(descriptionIre []string) ApiDcimPowerPortTemplatesListRequest {
- r.descriptionIre = &descriptionIre
- return r
-}
-
-// Description
-func (r ApiDcimPowerPortTemplatesListRequest) DescriptionIsw(descriptionIsw []string) ApiDcimPowerPortTemplatesListRequest {
- r.descriptionIsw = &descriptionIsw
- return r
-}
-
-// Description
-func (r ApiDcimPowerPortTemplatesListRequest) DescriptionN(descriptionN []string) ApiDcimPowerPortTemplatesListRequest {
- r.descriptionN = &descriptionN
- return r
-}
-
-// Description
-func (r ApiDcimPowerPortTemplatesListRequest) DescriptionNic(descriptionNic []string) ApiDcimPowerPortTemplatesListRequest {
- r.descriptionNic = &descriptionNic
- return r
-}
-
-// Description
-func (r ApiDcimPowerPortTemplatesListRequest) DescriptionNie(descriptionNie []string) ApiDcimPowerPortTemplatesListRequest {
- r.descriptionNie = &descriptionNie
- return r
-}
-
-// Description
-func (r ApiDcimPowerPortTemplatesListRequest) DescriptionNiew(descriptionNiew []string) ApiDcimPowerPortTemplatesListRequest {
- r.descriptionNiew = &descriptionNiew
- return r
-}
-
-// Description
-func (r ApiDcimPowerPortTemplatesListRequest) DescriptionNire(descriptionNire []string) ApiDcimPowerPortTemplatesListRequest {
- r.descriptionNire = &descriptionNire
+func (r ApiDcimPowerPanelsListRequest) Created(created []time.Time) ApiDcimPowerPanelsListRequest {
+ r.created = &created
return r
}
-// Description
-func (r ApiDcimPowerPortTemplatesListRequest) DescriptionNisw(descriptionNisw []string) ApiDcimPowerPortTemplatesListRequest {
- r.descriptionNisw = &descriptionNisw
+func (r ApiDcimPowerPanelsListRequest) CreatedGt(createdGt []time.Time) ApiDcimPowerPanelsListRequest {
+ r.createdGt = &createdGt
return r
}
-// Description
-func (r ApiDcimPowerPortTemplatesListRequest) DescriptionNre(descriptionNre []string) ApiDcimPowerPortTemplatesListRequest {
- r.descriptionNre = &descriptionNre
+func (r ApiDcimPowerPanelsListRequest) CreatedGte(createdGte []time.Time) ApiDcimPowerPanelsListRequest {
+ r.createdGte = &createdGte
return r
}
-// Description
-func (r ApiDcimPowerPortTemplatesListRequest) DescriptionRe(descriptionRe []string) ApiDcimPowerPortTemplatesListRequest {
- r.descriptionRe = &descriptionRe
+func (r ApiDcimPowerPanelsListRequest) CreatedIsnull(createdIsnull bool) ApiDcimPowerPanelsListRequest {
+ r.createdIsnull = &createdIsnull
return r
}
-func (r ApiDcimPowerPortTemplatesListRequest) DeviceType(deviceType []string) ApiDcimPowerPortTemplatesListRequest {
- r.deviceType = &deviceType
+func (r ApiDcimPowerPanelsListRequest) CreatedLt(createdLt []time.Time) ApiDcimPowerPanelsListRequest {
+ r.createdLt = &createdLt
return r
}
-// Device type (model or ID) is null
-func (r ApiDcimPowerPortTemplatesListRequest) DeviceTypeIsnull(deviceTypeIsnull bool) ApiDcimPowerPortTemplatesListRequest {
- r.deviceTypeIsnull = &deviceTypeIsnull
+func (r ApiDcimPowerPanelsListRequest) CreatedLte(createdLte []time.Time) ApiDcimPowerPanelsListRequest {
+ r.createdLte = &createdLte
return r
}
-func (r ApiDcimPowerPortTemplatesListRequest) DeviceTypeN(deviceTypeN []string) ApiDcimPowerPortTemplatesListRequest {
- r.deviceTypeN = &deviceTypeN
+func (r ApiDcimPowerPanelsListRequest) CreatedN(createdN []time.Time) ApiDcimPowerPanelsListRequest {
+ r.createdN = &createdN
return r
}
-func (r ApiDcimPowerPortTemplatesListRequest) DynamicGroups(dynamicGroups []string) ApiDcimPowerPortTemplatesListRequest {
+func (r ApiDcimPowerPanelsListRequest) DynamicGroups(dynamicGroups []string) ApiDcimPowerPanelsListRequest {
r.dynamicGroups = &dynamicGroups
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimPowerPortTemplatesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimPowerPortTemplatesListRequest {
+func (r ApiDcimPowerPanelsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimPowerPanelsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
-func (r ApiDcimPowerPortTemplatesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortTemplatesListRequest {
+func (r ApiDcimPowerPanelsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPanelsListRequest {
r.format = &format
return r
}
-// Has device type
-func (r ApiDcimPowerPortTemplatesListRequest) HasDeviceType(hasDeviceType bool) ApiDcimPowerPortTemplatesListRequest {
- r.hasDeviceType = &hasDeviceType
- return r
-}
-
-// Has module type
-func (r ApiDcimPowerPortTemplatesListRequest) HasModuleType(hasModuleType bool) ApiDcimPowerPortTemplatesListRequest {
- r.hasModuleType = &hasModuleType
+// Has feeders
+func (r ApiDcimPowerPanelsListRequest) HasFeeders(hasFeeders bool) ApiDcimPowerPanelsListRequest {
+ r.hasFeeders = &hasFeeders
return r
}
-// Has power outlet templates
-func (r ApiDcimPowerPortTemplatesListRequest) HasPowerOutletTemplates(hasPowerOutletTemplates bool) ApiDcimPowerPortTemplatesListRequest {
- r.hasPowerOutletTemplates = &hasPowerOutletTemplates
+// Has power feeds
+func (r ApiDcimPowerPanelsListRequest) HasPowerFeeds(hasPowerFeeds bool) ApiDcimPowerPanelsListRequest {
+ r.hasPowerFeeds = &hasPowerFeeds
return r
}
-// ID
-func (r ApiDcimPowerPortTemplatesListRequest) Id(id []string) ApiDcimPowerPortTemplatesListRequest {
+// Unique object identifier, either a UUID primary key or a composite key.
+func (r ApiDcimPowerPanelsListRequest) Id(id []string) ApiDcimPowerPanelsListRequest {
r.id = &id
return r
}
-// ID contains
-func (r ApiDcimPowerPortTemplatesListRequest) IdIc(idIc []string) ApiDcimPowerPortTemplatesListRequest {
- r.idIc = &idIc
- return r
-}
-
-// ID
-func (r ApiDcimPowerPortTemplatesListRequest) IdIe(idIe []string) ApiDcimPowerPortTemplatesListRequest {
- r.idIe = &idIe
- return r
-}
-
-// ID ends with
-func (r ApiDcimPowerPortTemplatesListRequest) IdIew(idIew []string) ApiDcimPowerPortTemplatesListRequest {
- r.idIew = &idIew
- return r
-}
-
-// ID matches regex
-func (r ApiDcimPowerPortTemplatesListRequest) IdIre(idIre []string) ApiDcimPowerPortTemplatesListRequest {
- r.idIre = &idIre
- return r
-}
-
-// ID starts with
-func (r ApiDcimPowerPortTemplatesListRequest) IdIsw(idIsw []string) ApiDcimPowerPortTemplatesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
-// Exclude ID
-func (r ApiDcimPowerPortTemplatesListRequest) IdN(idN []string) ApiDcimPowerPortTemplatesListRequest {
+func (r ApiDcimPowerPanelsListRequest) IdN(idN []string) ApiDcimPowerPanelsListRequest {
r.idN = &idN
return r
}
-// Exclude ID contains
-func (r ApiDcimPowerPortTemplatesListRequest) IdNic(idNic []string) ApiDcimPowerPortTemplatesListRequest {
- r.idNic = &idNic
- return r
-}
-
-// Exclude ID
-func (r ApiDcimPowerPortTemplatesListRequest) IdNie(idNie []string) ApiDcimPowerPortTemplatesListRequest {
- r.idNie = &idNie
+func (r ApiDcimPowerPanelsListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimPowerPanelsListRequest {
+ r.lastUpdated = &lastUpdated
return r
}
-// Exclude ID ends with
-func (r ApiDcimPowerPortTemplatesListRequest) IdNiew(idNiew []string) ApiDcimPowerPortTemplatesListRequest {
- r.idNiew = &idNiew
+func (r ApiDcimPowerPanelsListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiDcimPowerPanelsListRequest {
+ r.lastUpdatedGt = &lastUpdatedGt
return r
}
-// Exclude ID matches regex
-func (r ApiDcimPowerPortTemplatesListRequest) IdNire(idNire []string) ApiDcimPowerPortTemplatesListRequest {
- r.idNire = &idNire
+func (r ApiDcimPowerPanelsListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiDcimPowerPanelsListRequest {
+ r.lastUpdatedGte = &lastUpdatedGte
return r
}
-// Exclude ID starts with
-func (r ApiDcimPowerPortTemplatesListRequest) IdNisw(idNisw []string) ApiDcimPowerPortTemplatesListRequest {
- r.idNisw = &idNisw
+func (r ApiDcimPowerPanelsListRequest) LastUpdatedIsnull(lastUpdatedIsnull bool) ApiDcimPowerPanelsListRequest {
+ r.lastUpdatedIsnull = &lastUpdatedIsnull
return r
}
-// Exclude ID matches regex
-func (r ApiDcimPowerPortTemplatesListRequest) IdNre(idNre []string) ApiDcimPowerPortTemplatesListRequest {
- r.idNre = &idNre
+func (r ApiDcimPowerPanelsListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiDcimPowerPanelsListRequest {
+ r.lastUpdatedLt = &lastUpdatedLt
return r
}
-// ID matches regex
-func (r ApiDcimPowerPortTemplatesListRequest) IdRe(idRe []string) ApiDcimPowerPortTemplatesListRequest {
- r.idRe = &idRe
+func (r ApiDcimPowerPanelsListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiDcimPowerPanelsListRequest {
+ r.lastUpdatedLte = &lastUpdatedLte
return r
}
-// Label
-func (r ApiDcimPowerPortTemplatesListRequest) Label(label []string) ApiDcimPowerPortTemplatesListRequest {
- r.label = &label
+func (r ApiDcimPowerPanelsListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiDcimPowerPanelsListRequest {
+ r.lastUpdatedN = &lastUpdatedN
return r
}
-// Label
-func (r ApiDcimPowerPortTemplatesListRequest) LabelIc(labelIc []string) ApiDcimPowerPortTemplatesListRequest {
- r.labelIc = &labelIc
+// Number of results to return per page.
+func (r ApiDcimPowerPanelsListRequest) Limit(limit int32) ApiDcimPowerPanelsListRequest {
+ r.limit = &limit
return r
}
-// Label
-func (r ApiDcimPowerPortTemplatesListRequest) LabelIe(labelIe []string) ApiDcimPowerPortTemplatesListRequest {
- r.labelIe = &labelIe
+func (r ApiDcimPowerPanelsListRequest) Location(location []string) ApiDcimPowerPanelsListRequest {
+ r.location = &location
return r
}
-// Label
-func (r ApiDcimPowerPortTemplatesListRequest) LabelIew(labelIew []string) ApiDcimPowerPortTemplatesListRequest {
- r.labelIew = &labelIew
+func (r ApiDcimPowerPanelsListRequest) LocationN(locationN []string) ApiDcimPowerPanelsListRequest {
+ r.locationN = &locationN
return r
}
-// Label
-func (r ApiDcimPowerPortTemplatesListRequest) LabelIre(labelIre []string) ApiDcimPowerPortTemplatesListRequest {
- r.labelIre = &labelIre
+func (r ApiDcimPowerPanelsListRequest) Name(name []string) ApiDcimPowerPanelsListRequest {
+ r.name = &name
return r
}
-// Label
-func (r ApiDcimPowerPortTemplatesListRequest) LabelIsw(labelIsw []string) ApiDcimPowerPortTemplatesListRequest {
- r.labelIsw = &labelIsw
+func (r ApiDcimPowerPanelsListRequest) NameIc(nameIc []string) ApiDcimPowerPanelsListRequest {
+ r.nameIc = &nameIc
return r
}
-// Label
-func (r ApiDcimPowerPortTemplatesListRequest) LabelN(labelN []string) ApiDcimPowerPortTemplatesListRequest {
- r.labelN = &labelN
+func (r ApiDcimPowerPanelsListRequest) NameIe(nameIe []string) ApiDcimPowerPanelsListRequest {
+ r.nameIe = &nameIe
return r
}
-// Label
-func (r ApiDcimPowerPortTemplatesListRequest) LabelNic(labelNic []string) ApiDcimPowerPortTemplatesListRequest {
- r.labelNic = &labelNic
+func (r ApiDcimPowerPanelsListRequest) NameIew(nameIew []string) ApiDcimPowerPanelsListRequest {
+ r.nameIew = &nameIew
return r
}
-// Label
-func (r ApiDcimPowerPortTemplatesListRequest) LabelNie(labelNie []string) ApiDcimPowerPortTemplatesListRequest {
- r.labelNie = &labelNie
+func (r ApiDcimPowerPanelsListRequest) NameIre(nameIre []string) ApiDcimPowerPanelsListRequest {
+ r.nameIre = &nameIre
return r
}
-// Label
-func (r ApiDcimPowerPortTemplatesListRequest) LabelNiew(labelNiew []string) ApiDcimPowerPortTemplatesListRequest {
- r.labelNiew = &labelNiew
+func (r ApiDcimPowerPanelsListRequest) NameIsw(nameIsw []string) ApiDcimPowerPanelsListRequest {
+ r.nameIsw = &nameIsw
return r
}
-// Label
-func (r ApiDcimPowerPortTemplatesListRequest) LabelNire(labelNire []string) ApiDcimPowerPortTemplatesListRequest {
- r.labelNire = &labelNire
+func (r ApiDcimPowerPanelsListRequest) NameN(nameN []string) ApiDcimPowerPanelsListRequest {
+ r.nameN = &nameN
return r
}
-// Label
-func (r ApiDcimPowerPortTemplatesListRequest) LabelNisw(labelNisw []string) ApiDcimPowerPortTemplatesListRequest {
- r.labelNisw = &labelNisw
+func (r ApiDcimPowerPanelsListRequest) NameNic(nameNic []string) ApiDcimPowerPanelsListRequest {
+ r.nameNic = &nameNic
return r
}
-// Label
-func (r ApiDcimPowerPortTemplatesListRequest) LabelNre(labelNre []string) ApiDcimPowerPortTemplatesListRequest {
- r.labelNre = &labelNre
+func (r ApiDcimPowerPanelsListRequest) NameNie(nameNie []string) ApiDcimPowerPanelsListRequest {
+ r.nameNie = &nameNie
return r
}
-// Label
-func (r ApiDcimPowerPortTemplatesListRequest) LabelRe(labelRe []string) ApiDcimPowerPortTemplatesListRequest {
- r.labelRe = &labelRe
+func (r ApiDcimPowerPanelsListRequest) NameNiew(nameNiew []string) ApiDcimPowerPanelsListRequest {
+ r.nameNiew = &nameNiew
return r
}
-// Number of results to return per page.
-func (r ApiDcimPowerPortTemplatesListRequest) Limit(limit int32) ApiDcimPowerPortTemplatesListRequest {
- r.limit = &limit
+func (r ApiDcimPowerPanelsListRequest) NameNire(nameNire []string) ApiDcimPowerPanelsListRequest {
+ r.nameNire = &nameNire
return r
}
-func (r ApiDcimPowerPortTemplatesListRequest) MaximumDraw(maximumDraw []int32) ApiDcimPowerPortTemplatesListRequest {
- r.maximumDraw = &maximumDraw
+func (r ApiDcimPowerPanelsListRequest) NameNisw(nameNisw []string) ApiDcimPowerPanelsListRequest {
+ r.nameNisw = &nameNisw
return r
}
-func (r ApiDcimPowerPortTemplatesListRequest) MaximumDrawGt(maximumDrawGt []int32) ApiDcimPowerPortTemplatesListRequest {
- r.maximumDrawGt = &maximumDrawGt
+func (r ApiDcimPowerPanelsListRequest) NameNre(nameNre []string) ApiDcimPowerPanelsListRequest {
+ r.nameNre = &nameNre
return r
}
-func (r ApiDcimPowerPortTemplatesListRequest) MaximumDrawGte(maximumDrawGte []int32) ApiDcimPowerPortTemplatesListRequest {
- r.maximumDrawGte = &maximumDrawGte
+func (r ApiDcimPowerPanelsListRequest) NameRe(nameRe []string) ApiDcimPowerPanelsListRequest {
+ r.nameRe = &nameRe
return r
}
-func (r ApiDcimPowerPortTemplatesListRequest) MaximumDrawIsnull(maximumDrawIsnull bool) ApiDcimPowerPortTemplatesListRequest {
- r.maximumDrawIsnull = &maximumDrawIsnull
+// The initial index from which to return the results.
+func (r ApiDcimPowerPanelsListRequest) Offset(offset int32) ApiDcimPowerPanelsListRequest {
+ r.offset = &offset
return r
}
-func (r ApiDcimPowerPortTemplatesListRequest) MaximumDrawLt(maximumDrawLt []int32) ApiDcimPowerPortTemplatesListRequest {
- r.maximumDrawLt = &maximumDrawLt
+func (r ApiDcimPowerPanelsListRequest) PanelType(panelType []string) ApiDcimPowerPanelsListRequest {
+ r.panelType = &panelType
return r
}
-func (r ApiDcimPowerPortTemplatesListRequest) MaximumDrawLte(maximumDrawLte []int32) ApiDcimPowerPortTemplatesListRequest {
- r.maximumDrawLte = &maximumDrawLte
+func (r ApiDcimPowerPanelsListRequest) PanelTypeIc(panelTypeIc []string) ApiDcimPowerPanelsListRequest {
+ r.panelTypeIc = &panelTypeIc
return r
}
-func (r ApiDcimPowerPortTemplatesListRequest) MaximumDrawN(maximumDrawN []int32) ApiDcimPowerPortTemplatesListRequest {
- r.maximumDrawN = &maximumDrawN
+func (r ApiDcimPowerPanelsListRequest) PanelTypeIe(panelTypeIe []string) ApiDcimPowerPanelsListRequest {
+ r.panelTypeIe = &panelTypeIe
return r
}
-func (r ApiDcimPowerPortTemplatesListRequest) ModuleType(moduleType []string) ApiDcimPowerPortTemplatesListRequest {
- r.moduleType = &moduleType
+func (r ApiDcimPowerPanelsListRequest) PanelTypeIew(panelTypeIew []string) ApiDcimPowerPanelsListRequest {
+ r.panelTypeIew = &panelTypeIew
return r
}
-// Module type (model or ID) is null
-func (r ApiDcimPowerPortTemplatesListRequest) ModuleTypeIsnull(moduleTypeIsnull bool) ApiDcimPowerPortTemplatesListRequest {
- r.moduleTypeIsnull = &moduleTypeIsnull
+func (r ApiDcimPowerPanelsListRequest) PanelTypeIre(panelTypeIre []string) ApiDcimPowerPanelsListRequest {
+ r.panelTypeIre = &panelTypeIre
return r
}
-func (r ApiDcimPowerPortTemplatesListRequest) ModuleTypeN(moduleTypeN []string) ApiDcimPowerPortTemplatesListRequest {
- r.moduleTypeN = &moduleTypeN
+func (r ApiDcimPowerPanelsListRequest) PanelTypeIsw(panelTypeIsw []string) ApiDcimPowerPanelsListRequest {
+ r.panelTypeIsw = &panelTypeIsw
return r
}
-// Name
-func (r ApiDcimPowerPortTemplatesListRequest) Name(name []string) ApiDcimPowerPortTemplatesListRequest {
- r.name = &name
+func (r ApiDcimPowerPanelsListRequest) PanelTypeN(panelTypeN []string) ApiDcimPowerPanelsListRequest {
+ r.panelTypeN = &panelTypeN
return r
}
-// Name
-func (r ApiDcimPowerPortTemplatesListRequest) NameIc(nameIc []string) ApiDcimPowerPortTemplatesListRequest {
- r.nameIc = &nameIc
+func (r ApiDcimPowerPanelsListRequest) PanelTypeNic(panelTypeNic []string) ApiDcimPowerPanelsListRequest {
+ r.panelTypeNic = &panelTypeNic
return r
}
-// Name
-func (r ApiDcimPowerPortTemplatesListRequest) NameIe(nameIe []string) ApiDcimPowerPortTemplatesListRequest {
- r.nameIe = &nameIe
+func (r ApiDcimPowerPanelsListRequest) PanelTypeNie(panelTypeNie []string) ApiDcimPowerPanelsListRequest {
+ r.panelTypeNie = &panelTypeNie
return r
}
-// Name
-func (r ApiDcimPowerPortTemplatesListRequest) NameIew(nameIew []string) ApiDcimPowerPortTemplatesListRequest {
- r.nameIew = &nameIew
+func (r ApiDcimPowerPanelsListRequest) PanelTypeNiew(panelTypeNiew []string) ApiDcimPowerPanelsListRequest {
+ r.panelTypeNiew = &panelTypeNiew
return r
}
-// Name
-func (r ApiDcimPowerPortTemplatesListRequest) NameIre(nameIre []string) ApiDcimPowerPortTemplatesListRequest {
- r.nameIre = &nameIre
+func (r ApiDcimPowerPanelsListRequest) PanelTypeNire(panelTypeNire []string) ApiDcimPowerPanelsListRequest {
+ r.panelTypeNire = &panelTypeNire
return r
}
-// Name
-func (r ApiDcimPowerPortTemplatesListRequest) NameIsw(nameIsw []string) ApiDcimPowerPortTemplatesListRequest {
- r.nameIsw = &nameIsw
+func (r ApiDcimPowerPanelsListRequest) PanelTypeNisw(panelTypeNisw []string) ApiDcimPowerPanelsListRequest {
+ r.panelTypeNisw = &panelTypeNisw
return r
}
-// Name
-func (r ApiDcimPowerPortTemplatesListRequest) NameN(nameN []string) ApiDcimPowerPortTemplatesListRequest {
- r.nameN = &nameN
+func (r ApiDcimPowerPanelsListRequest) PanelTypeNre(panelTypeNre []string) ApiDcimPowerPanelsListRequest {
+ r.panelTypeNre = &panelTypeNre
return r
}
-// Name
-func (r ApiDcimPowerPortTemplatesListRequest) NameNic(nameNic []string) ApiDcimPowerPortTemplatesListRequest {
- r.nameNic = &nameNic
+func (r ApiDcimPowerPanelsListRequest) PanelTypeRe(panelTypeRe []string) ApiDcimPowerPanelsListRequest {
+ r.panelTypeRe = &panelTypeRe
return r
}
-// Name
-func (r ApiDcimPowerPortTemplatesListRequest) NameNie(nameNie []string) ApiDcimPowerPortTemplatesListRequest {
- r.nameNie = &nameNie
+func (r ApiDcimPowerPanelsListRequest) PowerFeeds(powerFeeds []string) ApiDcimPowerPanelsListRequest {
+ r.powerFeeds = &powerFeeds
return r
}
-// Name
-func (r ApiDcimPowerPortTemplatesListRequest) NameNiew(nameNiew []string) ApiDcimPowerPortTemplatesListRequest {
- r.nameNiew = &nameNiew
+// Power feeds (name or ID) is null
+func (r ApiDcimPowerPanelsListRequest) PowerFeedsIsnull(powerFeedsIsnull bool) ApiDcimPowerPanelsListRequest {
+ r.powerFeedsIsnull = &powerFeedsIsnull
return r
}
-// Name
-func (r ApiDcimPowerPortTemplatesListRequest) NameNire(nameNire []string) ApiDcimPowerPortTemplatesListRequest {
- r.nameNire = &nameNire
+func (r ApiDcimPowerPanelsListRequest) PowerFeedsN(powerFeedsN []string) ApiDcimPowerPanelsListRequest {
+ r.powerFeedsN = &powerFeedsN
return r
}
-// Name
-func (r ApiDcimPowerPortTemplatesListRequest) NameNisw(nameNisw []string) ApiDcimPowerPortTemplatesListRequest {
- r.nameNisw = &nameNisw
+// Physical power distribution redundancy path.
+func (r ApiDcimPowerPanelsListRequest) PowerPath(powerPath []string) ApiDcimPowerPanelsListRequest {
+ r.powerPath = &powerPath
return r
}
-// Name
-func (r ApiDcimPowerPortTemplatesListRequest) NameNre(nameNre []string) ApiDcimPowerPortTemplatesListRequest {
- r.nameNre = &nameNre
+func (r ApiDcimPowerPanelsListRequest) PowerPathIc(powerPathIc []string) ApiDcimPowerPanelsListRequest {
+ r.powerPathIc = &powerPathIc
return r
}
-// Name
-func (r ApiDcimPowerPortTemplatesListRequest) NameRe(nameRe []string) ApiDcimPowerPortTemplatesListRequest {
- r.nameRe = &nameRe
+func (r ApiDcimPowerPanelsListRequest) PowerPathIe(powerPathIe []string) ApiDcimPowerPanelsListRequest {
+ r.powerPathIe = &powerPathIe
return r
}
-// The initial index from which to return the results.
-func (r ApiDcimPowerPortTemplatesListRequest) Offset(offset int32) ApiDcimPowerPortTemplatesListRequest {
- r.offset = &offset
+func (r ApiDcimPowerPanelsListRequest) PowerPathIew(powerPathIew []string) ApiDcimPowerPanelsListRequest {
+ r.powerPathIew = &powerPathIew
return r
}
-func (r ApiDcimPowerPortTemplatesListRequest) PowerOutletTemplates(powerOutletTemplates []string) ApiDcimPowerPortTemplatesListRequest {
- r.powerOutletTemplates = &powerOutletTemplates
+func (r ApiDcimPowerPanelsListRequest) PowerPathIre(powerPathIre []string) ApiDcimPowerPanelsListRequest {
+ r.powerPathIre = &powerPathIre
return r
}
-// Power outlet templates (name or ID) is null
-func (r ApiDcimPowerPortTemplatesListRequest) PowerOutletTemplatesIsnull(powerOutletTemplatesIsnull bool) ApiDcimPowerPortTemplatesListRequest {
- r.powerOutletTemplatesIsnull = &powerOutletTemplatesIsnull
+func (r ApiDcimPowerPanelsListRequest) PowerPathIsw(powerPathIsw []string) ApiDcimPowerPanelsListRequest {
+ r.powerPathIsw = &powerPathIsw
return r
}
-func (r ApiDcimPowerPortTemplatesListRequest) PowerOutletTemplatesN(powerOutletTemplatesN []string) ApiDcimPowerPortTemplatesListRequest {
- r.powerOutletTemplatesN = &powerOutletTemplatesN
+func (r ApiDcimPowerPanelsListRequest) PowerPathN(powerPathN []string) ApiDcimPowerPanelsListRequest {
+ r.powerPathN = &powerPathN
return r
}
-// Search
-func (r ApiDcimPowerPortTemplatesListRequest) Q(q string) ApiDcimPowerPortTemplatesListRequest {
- r.q = &q
+func (r ApiDcimPowerPanelsListRequest) PowerPathNic(powerPathNic []string) ApiDcimPowerPanelsListRequest {
+ r.powerPathNic = &powerPathNic
return r
}
-// Which field to use when ordering the results.
-func (r ApiDcimPowerPortTemplatesListRequest) Sort(sort string) ApiDcimPowerPortTemplatesListRequest {
- r.sort = &sort
+func (r ApiDcimPowerPanelsListRequest) PowerPathNie(powerPathNie []string) ApiDcimPowerPanelsListRequest {
+ r.powerPathNie = &powerPathNie
return r
}
-func (r ApiDcimPowerPortTemplatesListRequest) Teams(teams []string) ApiDcimPowerPortTemplatesListRequest {
- r.teams = &teams
+func (r ApiDcimPowerPanelsListRequest) PowerPathNiew(powerPathNiew []string) ApiDcimPowerPanelsListRequest {
+ r.powerPathNiew = &powerPathNiew
return r
}
-// Teams (name or ID) is null
-func (r ApiDcimPowerPortTemplatesListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimPowerPortTemplatesListRequest {
- r.teamsIsnull = &teamsIsnull
+func (r ApiDcimPowerPanelsListRequest) PowerPathNire(powerPathNire []string) ApiDcimPowerPanelsListRequest {
+ r.powerPathNire = &powerPathNire
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimPowerPortTemplatesListRequest) TeamsN(teamsN string) ApiDcimPowerPortTemplatesListRequest {
- r.teamsN = &teamsN
+func (r ApiDcimPowerPanelsListRequest) PowerPathNisw(powerPathNisw []string) ApiDcimPowerPanelsListRequest {
+ r.powerPathNisw = &powerPathNisw
return r
}
-func (r ApiDcimPowerPortTemplatesListRequest) Type_(type_ []string) ApiDcimPowerPortTemplatesListRequest {
- r.type_ = &type_
+func (r ApiDcimPowerPanelsListRequest) PowerPathNre(powerPathNre []string) ApiDcimPowerPanelsListRequest {
+ r.powerPathNre = &powerPathNre
return r
}
-func (r ApiDcimPowerPortTemplatesListRequest) TypeIc(typeIc []string) ApiDcimPowerPortTemplatesListRequest {
- r.typeIc = &typeIc
+func (r ApiDcimPowerPanelsListRequest) PowerPathRe(powerPathRe []string) ApiDcimPowerPanelsListRequest {
+ r.powerPathRe = &powerPathRe
return r
}
-func (r ApiDcimPowerPortTemplatesListRequest) TypeIe(typeIe []string) ApiDcimPowerPortTemplatesListRequest {
- r.typeIe = &typeIe
+// Search
+func (r ApiDcimPowerPanelsListRequest) Q(q string) ApiDcimPowerPanelsListRequest {
+ r.q = &q
return r
}
-func (r ApiDcimPowerPortTemplatesListRequest) TypeIew(typeIew []string) ApiDcimPowerPortTemplatesListRequest {
- r.typeIew = &typeIew
+func (r ApiDcimPowerPanelsListRequest) RackGroup(rackGroup []string) ApiDcimPowerPanelsListRequest {
+ r.rackGroup = &rackGroup
return r
}
-func (r ApiDcimPowerPortTemplatesListRequest) TypeIre(typeIre []string) ApiDcimPowerPortTemplatesListRequest {
- r.typeIre = &typeIre
+// Rack group (name or ID) is null
+func (r ApiDcimPowerPanelsListRequest) RackGroupIsnull(rackGroupIsnull bool) ApiDcimPowerPanelsListRequest {
+ r.rackGroupIsnull = &rackGroupIsnull
return r
}
-func (r ApiDcimPowerPortTemplatesListRequest) TypeIsw(typeIsw []string) ApiDcimPowerPortTemplatesListRequest {
- r.typeIsw = &typeIsw
+func (r ApiDcimPowerPanelsListRequest) RackGroupN(rackGroupN []string) ApiDcimPowerPanelsListRequest {
+ r.rackGroupN = &rackGroupN
return r
}
-func (r ApiDcimPowerPortTemplatesListRequest) TypeN(typeN []string) ApiDcimPowerPortTemplatesListRequest {
- r.typeN = &typeN
+// Which field to use when ordering the results.
+func (r ApiDcimPowerPanelsListRequest) Sort(sort string) ApiDcimPowerPanelsListRequest {
+ r.sort = &sort
return r
}
-func (r ApiDcimPowerPortTemplatesListRequest) TypeNic(typeNic []string) ApiDcimPowerPortTemplatesListRequest {
- r.typeNic = &typeNic
+func (r ApiDcimPowerPanelsListRequest) Tags(tags []string) ApiDcimPowerPanelsListRequest {
+ r.tags = &tags
return r
}
-func (r ApiDcimPowerPortTemplatesListRequest) TypeNie(typeNie []string) ApiDcimPowerPortTemplatesListRequest {
- r.typeNie = &typeNie
+func (r ApiDcimPowerPanelsListRequest) TagsIsnull(tagsIsnull bool) ApiDcimPowerPanelsListRequest {
+ r.tagsIsnull = &tagsIsnull
return r
}
-func (r ApiDcimPowerPortTemplatesListRequest) TypeNiew(typeNiew []string) ApiDcimPowerPortTemplatesListRequest {
- r.typeNiew = &typeNiew
+func (r ApiDcimPowerPanelsListRequest) TagsN(tagsN []string) ApiDcimPowerPanelsListRequest {
+ r.tagsN = &tagsN
return r
}
-func (r ApiDcimPowerPortTemplatesListRequest) TypeNire(typeNire []string) ApiDcimPowerPortTemplatesListRequest {
- r.typeNire = &typeNire
+func (r ApiDcimPowerPanelsListRequest) Teams(teams []string) ApiDcimPowerPanelsListRequest {
+ r.teams = &teams
return r
}
-func (r ApiDcimPowerPortTemplatesListRequest) TypeNisw(typeNisw []string) ApiDcimPowerPortTemplatesListRequest {
- r.typeNisw = &typeNisw
+// Teams (name or ID) is null
+func (r ApiDcimPowerPanelsListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimPowerPanelsListRequest {
+ r.teamsIsnull = &teamsIsnull
return r
}
-func (r ApiDcimPowerPortTemplatesListRequest) TypeNre(typeNre []string) ApiDcimPowerPortTemplatesListRequest {
- r.typeNre = &typeNre
+func (r ApiDcimPowerPanelsListRequest) TeamsN(teamsN []string) ApiDcimPowerPanelsListRequest {
+ r.teamsN = &teamsN
return r
}
-func (r ApiDcimPowerPortTemplatesListRequest) TypeRe(typeRe []string) ApiDcimPowerPortTemplatesListRequest {
- r.typeRe = &typeRe
+// Serializer Depth
+func (r ApiDcimPowerPanelsListRequest) Depth(depth int32) ApiDcimPowerPanelsListRequest {
+ r.depth = &depth
return r
}
-// Serializer Depth
-func (r ApiDcimPowerPortTemplatesListRequest) Depth(depth int32) ApiDcimPowerPortTemplatesListRequest {
- r.depth = &depth
+// Exclude many-to-many fields from the response
+func (r ApiDcimPowerPanelsListRequest) ExcludeM2m(excludeM2m bool) ApiDcimPowerPanelsListRequest {
+ r.excludeM2m = &excludeM2m
return r
}
-func (r ApiDcimPowerPortTemplatesListRequest) Execute() (*PaginatedPowerPortTemplateList, *http.Response, error) {
- return r.ApiService.DcimPowerPortTemplatesListExecute(r)
+func (r ApiDcimPowerPanelsListRequest) Execute() (*PaginatedPowerPanelList, *http.Response, error) {
+ return r.ApiService.DcimPowerPanelsListExecute(r)
}
/*
-DcimPowerPortTemplatesList Method for DcimPowerPortTemplatesList
+DcimPowerPanelsList Method for DcimPowerPanelsList
-Retrieve a list of power port template objects.
+Retrieve a list of power panel objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPowerPortTemplatesListRequest
+ @return ApiDcimPowerPanelsListRequest
*/
-func (a *DcimAPIService) DcimPowerPortTemplatesList(ctx context.Context) ApiDcimPowerPortTemplatesListRequest {
- return ApiDcimPowerPortTemplatesListRequest{
+func (a *DcimAPIService) DcimPowerPanelsList(ctx context.Context) ApiDcimPowerPanelsListRequest {
+ return ApiDcimPowerPanelsListRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return PaginatedPowerPortTemplateList
-func (a *DcimAPIService) DcimPowerPortTemplatesListExecute(r ApiDcimPowerPortTemplatesListRequest) (*PaginatedPowerPortTemplateList, *http.Response, error) {
+// @return PaginatedPowerPanelList
+func (a *DcimAPIService) DcimPowerPanelsListExecute(r ApiDcimPowerPanelsListRequest) (*PaginatedPowerPanelList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PaginatedPowerPortTemplateList
+ localVarReturnValue *PaginatedPowerPanelList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortTemplatesList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPanelsList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-port-templates/"
+ localVarPath := localBasePath + "/dcim/power-panels/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.allocatedDraw != nil {
- t := *r.allocatedDraw
+ if r.contacts != nil {
+ t := *r.contacts
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "allocated_draw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "allocated_draw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", t, "form", "multi")
}
}
- if r.allocatedDrawGt != nil {
- t := *r.allocatedDrawGt
+ if r.contactsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
+ }
+ if r.contactsN != nil {
+ t := *r.contactsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "allocated_draw__gt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "allocated_draw__gt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
}
}
- if r.allocatedDrawGte != nil {
- t := *r.allocatedDrawGte
+ if r.created != nil {
+ t := *r.created
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "allocated_draw__gte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "allocated_draw__gte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created", t, "form", "multi")
}
}
- if r.allocatedDrawIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "allocated_draw__isnull", r.allocatedDrawIsnull, "form", "")
- }
- if r.allocatedDrawLt != nil {
- t := *r.allocatedDrawLt
+ if r.createdGt != nil {
+ t := *r.createdGt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "allocated_draw__lt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "allocated_draw__lt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", t, "form", "multi")
}
}
- if r.allocatedDrawLte != nil {
- t := *r.allocatedDrawLte
+ if r.createdGte != nil {
+ t := *r.createdGte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "allocated_draw__lte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "allocated_draw__lte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", t, "form", "multi")
}
}
- if r.allocatedDrawN != nil {
- t := *r.allocatedDrawN
+ if r.createdIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__isnull", r.createdIsnull, "form", "")
+ }
+ if r.createdLt != nil {
+ t := *r.createdLt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "allocated_draw__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "allocated_draw__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", t, "form", "multi")
}
}
- if r.contacts != nil {
- t := *r.contacts
+ if r.createdLte != nil {
+ t := *r.createdLte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", t, "form", "multi")
}
}
- if r.contactsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
- }
- if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
- }
- if r.description != nil {
- t := *r.description
+ if r.createdN != nil {
+ t := *r.createdN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "form", "multi")
}
}
- if r.descriptionIc != nil {
- t := *r.descriptionIc
+ if r.dynamicGroups != nil {
+ t := *r.dynamicGroups
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
}
}
- if r.descriptionIe != nil {
- t := *r.descriptionIe
+ if r.dynamicGroupsN != nil {
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.descriptionIew != nil {
- t := *r.descriptionIew
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.hasFeeders != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_feeders", r.hasFeeders, "form", "")
+ }
+ if r.hasPowerFeeds != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_power_feeds", r.hasPowerFeeds, "form", "")
+ }
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.descriptionIre != nil {
- t := *r.descriptionIre
+ if r.idN != nil {
+ t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.descriptionIsw != nil {
- t := *r.descriptionIsw
+ if r.lastUpdated != nil {
+ t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "form", "multi")
}
}
- if r.descriptionN != nil {
- t := *r.descriptionN
+ if r.lastUpdatedGt != nil {
+ t := *r.lastUpdatedGt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", t, "form", "multi")
}
}
- if r.descriptionNic != nil {
- t := *r.descriptionNic
+ if r.lastUpdatedGte != nil {
+ t := *r.lastUpdatedGte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", t, "form", "multi")
}
}
- if r.descriptionNie != nil {
- t := *r.descriptionNie
+ if r.lastUpdatedIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__isnull", r.lastUpdatedIsnull, "form", "")
+ }
+ if r.lastUpdatedLt != nil {
+ t := *r.lastUpdatedLt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", t, "form", "multi")
}
}
- if r.descriptionNiew != nil {
- t := *r.descriptionNiew
+ if r.lastUpdatedLte != nil {
+ t := *r.lastUpdatedLte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", t, "form", "multi")
}
}
- if r.descriptionNire != nil {
- t := *r.descriptionNire
+ if r.lastUpdatedN != nil {
+ t := *r.lastUpdatedN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", t, "form", "multi")
}
}
- if r.descriptionNisw != nil {
- t := *r.descriptionNisw
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ }
+ if r.location != nil {
+ t := *r.location
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location", t, "form", "multi")
}
}
- if r.descriptionNre != nil {
- t := *r.descriptionNre
+ if r.locationN != nil {
+ t := *r.locationN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", t, "form", "multi")
}
}
- if r.descriptionRe != nil {
- t := *r.descriptionRe
+ if r.name != nil {
+ t := *r.name
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name", t, "form", "multi")
}
}
- if r.deviceType != nil {
- t := *r.deviceType
+ if r.nameIc != nil {
+ t := *r.nameIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device_type", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device_type", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", t, "form", "multi")
}
}
- if r.deviceTypeIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device_type__isnull", r.deviceTypeIsnull, "form", "")
- }
- if r.deviceTypeN != nil {
- t := *r.deviceTypeN
+ if r.nameIe != nil {
+ t := *r.nameIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device_type__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device_type__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", t, "form", "multi")
}
}
- if r.dynamicGroups != nil {
- t := *r.dynamicGroups
+ if r.nameIew != nil {
+ t := *r.nameIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", t, "form", "multi")
}
}
- if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.hasDeviceType != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_device_type", r.hasDeviceType, "form", "")
- }
- if r.hasModuleType != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_module_type", r.hasModuleType, "form", "")
- }
- if r.hasPowerOutletTemplates != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_power_outlet_templates", r.hasPowerOutletTemplates, "form", "")
- }
- if r.id != nil {
- t := *r.id
+ if r.nameIre != nil {
+ t := *r.nameIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
+ if r.nameIsw != nil {
+ t := *r.nameIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", t, "form", "multi")
}
}
- if r.idIe != nil {
- t := *r.idIe
+ if r.nameN != nil {
+ t := *r.nameN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", t, "form", "multi")
}
}
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
- if r.idN != nil {
- t := *r.idN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
- }
- }
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
+ if r.nameNic != nil {
+ t := *r.nameNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", t, "form", "multi")
}
}
- if r.idNiew != nil {
- t := *r.idNiew
+ if r.nameNie != nil {
+ t := *r.nameNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", t, "form", "multi")
}
}
- if r.idNire != nil {
- t := *r.idNire
+ if r.nameNiew != nil {
+ t := *r.nameNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", t, "form", "multi")
}
}
- if r.idNisw != nil {
- t := *r.idNisw
+ if r.nameNire != nil {
+ t := *r.nameNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", t, "form", "multi")
}
}
- if r.idNre != nil {
- t := *r.idNre
+ if r.nameNisw != nil {
+ t := *r.nameNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", t, "form", "multi")
}
}
- if r.idRe != nil {
- t := *r.idRe
+ if r.nameNre != nil {
+ t := *r.nameNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", t, "form", "multi")
}
}
- if r.label != nil {
- t := *r.label
+ if r.nameRe != nil {
+ t := *r.nameRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", t, "form", "multi")
}
}
- if r.labelIc != nil {
- t := *r.labelIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__ic", t, "form", "multi")
- }
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
}
- if r.labelIe != nil {
- t := *r.labelIe
+ if r.panelType != nil {
+ t := *r.panelType
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "panel_type", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "panel_type", t, "form", "multi")
}
}
- if r.labelIew != nil {
- t := *r.labelIew
+ if r.panelTypeIc != nil {
+ t := *r.panelTypeIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "panel_type__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "panel_type__ic", t, "form", "multi")
}
}
- if r.labelIre != nil {
- t := *r.labelIre
+ if r.panelTypeIe != nil {
+ t := *r.panelTypeIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "panel_type__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "panel_type__ie", t, "form", "multi")
}
}
- if r.labelIsw != nil {
- t := *r.labelIsw
+ if r.panelTypeIew != nil {
+ t := *r.panelTypeIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "panel_type__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "panel_type__iew", t, "form", "multi")
}
}
- if r.labelN != nil {
- t := *r.labelN
+ if r.panelTypeIre != nil {
+ t := *r.panelTypeIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "panel_type__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "panel_type__ire", t, "form", "multi")
}
}
- if r.labelNic != nil {
- t := *r.labelNic
+ if r.panelTypeIsw != nil {
+ t := *r.panelTypeIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "panel_type__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "panel_type__isw", t, "form", "multi")
}
}
- if r.labelNie != nil {
- t := *r.labelNie
+ if r.panelTypeN != nil {
+ t := *r.panelTypeN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "panel_type__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "panel_type__n", t, "form", "multi")
}
}
- if r.labelNiew != nil {
- t := *r.labelNiew
+ if r.panelTypeNic != nil {
+ t := *r.panelTypeNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "panel_type__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "panel_type__nic", t, "form", "multi")
}
}
- if r.labelNire != nil {
- t := *r.labelNire
+ if r.panelTypeNie != nil {
+ t := *r.panelTypeNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "panel_type__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "panel_type__nie", t, "form", "multi")
}
}
- if r.labelNisw != nil {
- t := *r.labelNisw
+ if r.panelTypeNiew != nil {
+ t := *r.panelTypeNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "panel_type__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "panel_type__niew", t, "form", "multi")
}
}
- if r.labelNre != nil {
- t := *r.labelNre
+ if r.panelTypeNire != nil {
+ t := *r.panelTypeNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "panel_type__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "panel_type__nire", t, "form", "multi")
}
}
- if r.labelRe != nil {
- t := *r.labelRe
+ if r.panelTypeNisw != nil {
+ t := *r.panelTypeNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "panel_type__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "panel_type__nisw", t, "form", "multi")
}
}
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
- }
- if r.maximumDraw != nil {
- t := *r.maximumDraw
+ if r.panelTypeNre != nil {
+ t := *r.panelTypeNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "maximum_draw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "panel_type__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "maximum_draw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "panel_type__nre", t, "form", "multi")
}
}
- if r.maximumDrawGt != nil {
- t := *r.maximumDrawGt
+ if r.panelTypeRe != nil {
+ t := *r.panelTypeRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "maximum_draw__gt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "panel_type__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "maximum_draw__gt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "panel_type__re", t, "form", "multi")
}
}
- if r.maximumDrawGte != nil {
- t := *r.maximumDrawGte
+ if r.powerFeeds != nil {
+ t := *r.powerFeeds
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "maximum_draw__gte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_feeds", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "maximum_draw__gte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_feeds", t, "form", "multi")
}
}
- if r.maximumDrawIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "maximum_draw__isnull", r.maximumDrawIsnull, "form", "")
+ if r.powerFeedsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_feeds__isnull", r.powerFeedsIsnull, "form", "")
}
- if r.maximumDrawLt != nil {
- t := *r.maximumDrawLt
+ if r.powerFeedsN != nil {
+ t := *r.powerFeedsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "maximum_draw__lt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_feeds__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "maximum_draw__lt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_feeds__n", t, "form", "multi")
}
}
- if r.maximumDrawLte != nil {
- t := *r.maximumDrawLte
+ if r.powerPath != nil {
+ t := *r.powerPath
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "maximum_draw__lte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "maximum_draw__lte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path", t, "form", "multi")
}
}
- if r.maximumDrawN != nil {
- t := *r.maximumDrawN
+ if r.powerPathIc != nil {
+ t := *r.powerPathIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "maximum_draw__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "maximum_draw__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__ic", t, "form", "multi")
}
}
- if r.moduleType != nil {
- t := *r.moduleType
+ if r.powerPathIe != nil {
+ t := *r.powerPathIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module_type", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module_type", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__ie", t, "form", "multi")
}
}
- if r.moduleTypeIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module_type__isnull", r.moduleTypeIsnull, "form", "")
- }
- if r.moduleTypeN != nil {
- t := *r.moduleTypeN
+ if r.powerPathIew != nil {
+ t := *r.powerPathIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module_type__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module_type__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__iew", t, "form", "multi")
}
}
- if r.name != nil {
- t := *r.name
+ if r.powerPathIre != nil {
+ t := *r.powerPathIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__ire", t, "form", "multi")
}
}
- if r.nameIc != nil {
- t := *r.nameIc
+ if r.powerPathIsw != nil {
+ t := *r.powerPathIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__isw", t, "form", "multi")
}
}
- if r.nameIe != nil {
- t := *r.nameIe
+ if r.powerPathN != nil {
+ t := *r.powerPathN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__n", t, "form", "multi")
}
}
- if r.nameIew != nil {
- t := *r.nameIew
+ if r.powerPathNic != nil {
+ t := *r.powerPathNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__nic", t, "form", "multi")
}
}
- if r.nameIre != nil {
- t := *r.nameIre
+ if r.powerPathNie != nil {
+ t := *r.powerPathNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__nie", t, "form", "multi")
}
}
- if r.nameIsw != nil {
- t := *r.nameIsw
+ if r.powerPathNiew != nil {
+ t := *r.powerPathNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__niew", t, "form", "multi")
}
}
- if r.nameN != nil {
- t := *r.nameN
+ if r.powerPathNire != nil {
+ t := *r.powerPathNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__nire", t, "form", "multi")
}
}
- if r.nameNic != nil {
- t := *r.nameNic
+ if r.powerPathNisw != nil {
+ t := *r.powerPathNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__nisw", t, "form", "multi")
}
}
- if r.nameNie != nil {
- t := *r.nameNie
+ if r.powerPathNre != nil {
+ t := *r.powerPathNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__nre", t, "form", "multi")
}
}
- if r.nameNiew != nil {
- t := *r.nameNiew
+ if r.powerPathRe != nil {
+ t := *r.powerPathRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_path__re", t, "form", "multi")
}
}
- if r.nameNire != nil {
- t := *r.nameNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", t, "form", "multi")
- }
+ if r.q != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
}
- if r.nameNisw != nil {
- t := *r.nameNisw
+ if r.rackGroup != nil {
+ t := *r.rackGroup
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rack_group", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rack_group", t, "form", "multi")
}
}
- if r.nameNre != nil {
- t := *r.nameNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", t, "form", "multi")
- }
+ if r.rackGroupIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rack_group__isnull", r.rackGroupIsnull, "form", "")
}
- if r.nameRe != nil {
- t := *r.nameRe
+ if r.rackGroupN != nil {
+ t := *r.rackGroupN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rack_group__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rack_group__n", t, "form", "multi")
}
}
- if r.offset != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+ if r.sort != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
}
- if r.powerOutletTemplates != nil {
- t := *r.powerOutletTemplates
+ if r.tags != nil {
+ t := *r.tags
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlet_templates", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlet_templates", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags", t, "form", "multi")
}
}
- if r.powerOutletTemplatesIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlet_templates__isnull", r.powerOutletTemplatesIsnull, "form", "")
+ if r.tagsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__isnull", r.tagsIsnull, "form", "")
}
- if r.powerOutletTemplatesN != nil {
- t := *r.powerOutletTemplatesN
+ if r.tagsN != nil {
+ t := *r.tagsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlet_templates__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlet_templates__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", t, "form", "multi")
}
}
- if r.q != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
- }
- if r.sort != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
- }
if r.teams != nil {
t := *r.teams
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -111199,167 +106525,29 @@ func (a *DcimAPIService) DcimPowerPortTemplatesListExecute(r ApiDcimPowerPortTem
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
- }
- if r.type_ != nil {
- t := *r.type_
+ t := *r.teamsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type", t, "form", "multi")
- }
- }
- if r.typeIc != nil {
- t := *r.typeIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__ic", t, "form", "multi")
- }
- }
- if r.typeIe != nil {
- t := *r.typeIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__ie", t, "form", "multi")
- }
- }
- if r.typeIew != nil {
- t := *r.typeIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__iew", t, "form", "multi")
- }
- }
- if r.typeIre != nil {
- t := *r.typeIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__ire", t, "form", "multi")
- }
- }
- if r.typeIsw != nil {
- t := *r.typeIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__isw", t, "form", "multi")
- }
- }
- if r.typeN != nil {
- t := *r.typeN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", t, "form", "multi")
- }
- }
- if r.typeNic != nil {
- t := *r.typeNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nic", t, "form", "multi")
- }
- }
- if r.typeNie != nil {
- t := *r.typeNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nie", t, "form", "multi")
- }
- }
- if r.typeNiew != nil {
- t := *r.typeNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__niew", t, "form", "multi")
- }
- }
- if r.typeNire != nil {
- t := *r.typeNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nire", t, "form", "multi")
- }
- }
- if r.typeNisw != nil {
- t := *r.typeNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nisw", t, "form", "multi")
- }
- }
- if r.typeNre != nil {
- t := *r.typeNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nre", t, "form", "multi")
- }
- }
- if r.typeRe != nil {
- t := *r.typeRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
}
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -111429,7 +106617,7 @@ func (a *DcimAPIService) DcimPowerPortTemplatesListExecute(r ApiDcimPowerPortTem
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerPortTemplatesNotesCreateRequest struct {
+type ApiDcimPowerPanelsNotesCreateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
@@ -111437,31 +106625,31 @@ type ApiDcimPowerPortTemplatesNotesCreateRequest struct {
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerPortTemplatesNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimPowerPortTemplatesNotesCreateRequest {
+func (r ApiDcimPowerPanelsNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimPowerPanelsNotesCreateRequest {
r.noteInputRequest = ¬eInputRequest
return r
}
-func (r ApiDcimPowerPortTemplatesNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortTemplatesNotesCreateRequest {
+func (r ApiDcimPowerPanelsNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPanelsNotesCreateRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerPortTemplatesNotesCreateRequest) Execute() (*Note, *http.Response, error) {
- return r.ApiService.DcimPowerPortTemplatesNotesCreateExecute(r)
+func (r ApiDcimPowerPanelsNotesCreateRequest) Execute() (*Note, *http.Response, error) {
+ return r.ApiService.DcimPowerPanelsNotesCreateExecute(r)
}
/*
-DcimPowerPortTemplatesNotesCreate Method for DcimPowerPortTemplatesNotesCreate
+DcimPowerPanelsNotesCreate Method for DcimPowerPanelsNotesCreate
API methods for returning or creating notes on an object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power port template.
- @return ApiDcimPowerPortTemplatesNotesCreateRequest
+ @param id A UUID string identifying this power panel.
+ @return ApiDcimPowerPanelsNotesCreateRequest
*/
-func (a *DcimAPIService) DcimPowerPortTemplatesNotesCreate(ctx context.Context, id string) ApiDcimPowerPortTemplatesNotesCreateRequest {
- return ApiDcimPowerPortTemplatesNotesCreateRequest{
+func (a *DcimAPIService) DcimPowerPanelsNotesCreate(ctx context.Context, id string) ApiDcimPowerPanelsNotesCreateRequest {
+ return ApiDcimPowerPanelsNotesCreateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -111470,7 +106658,7 @@ func (a *DcimAPIService) DcimPowerPortTemplatesNotesCreate(ctx context.Context,
// Execute executes the request
// @return Note
-func (a *DcimAPIService) DcimPowerPortTemplatesNotesCreateExecute(r ApiDcimPowerPortTemplatesNotesCreateRequest) (*Note, *http.Response, error) {
+func (a *DcimAPIService) DcimPowerPanelsNotesCreateExecute(r ApiDcimPowerPanelsNotesCreateRequest) (*Note, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -111478,12 +106666,12 @@ func (a *DcimAPIService) DcimPowerPortTemplatesNotesCreateExecute(r ApiDcimPower
localVarReturnValue *Note
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortTemplatesNotesCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPanelsNotesCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-port-templates/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/power-panels/{id}/notes/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -111566,7 +106754,7 @@ func (a *DcimAPIService) DcimPowerPortTemplatesNotesCreateExecute(r ApiDcimPower
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerPortTemplatesNotesListRequest struct {
+type ApiDcimPowerPanelsNotesListRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
@@ -111574,46 +106762,53 @@ type ApiDcimPowerPortTemplatesNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimPowerPortTemplatesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortTemplatesNotesListRequest {
+func (r ApiDcimPowerPanelsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPanelsNotesListRequest {
r.format = &format
return r
}
// Number of results to return per page.
-func (r ApiDcimPowerPortTemplatesNotesListRequest) Limit(limit int32) ApiDcimPowerPortTemplatesNotesListRequest {
+func (r ApiDcimPowerPanelsNotesListRequest) Limit(limit int32) ApiDcimPowerPanelsNotesListRequest {
r.limit = &limit
return r
}
// The initial index from which to return the results.
-func (r ApiDcimPowerPortTemplatesNotesListRequest) Offset(offset int32) ApiDcimPowerPortTemplatesNotesListRequest {
+func (r ApiDcimPowerPanelsNotesListRequest) Offset(offset int32) ApiDcimPowerPanelsNotesListRequest {
r.offset = &offset
return r
}
// Serializer Depth
-func (r ApiDcimPowerPortTemplatesNotesListRequest) Depth(depth int32) ApiDcimPowerPortTemplatesNotesListRequest {
+func (r ApiDcimPowerPanelsNotesListRequest) Depth(depth int32) ApiDcimPowerPanelsNotesListRequest {
r.depth = &depth
return r
}
-func (r ApiDcimPowerPortTemplatesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
- return r.ApiService.DcimPowerPortTemplatesNotesListExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimPowerPanelsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimPowerPanelsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimPowerPanelsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
+ return r.ApiService.DcimPowerPanelsNotesListExecute(r)
}
/*
-DcimPowerPortTemplatesNotesList Method for DcimPowerPortTemplatesNotesList
+DcimPowerPanelsNotesList Method for DcimPowerPanelsNotesList
API methods for returning or creating notes on an object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power port template.
- @return ApiDcimPowerPortTemplatesNotesListRequest
+ @param id A UUID string identifying this power panel.
+ @return ApiDcimPowerPanelsNotesListRequest
*/
-func (a *DcimAPIService) DcimPowerPortTemplatesNotesList(ctx context.Context, id string) ApiDcimPowerPortTemplatesNotesListRequest {
- return ApiDcimPowerPortTemplatesNotesListRequest{
+func (a *DcimAPIService) DcimPowerPanelsNotesList(ctx context.Context, id string) ApiDcimPowerPanelsNotesListRequest {
+ return ApiDcimPowerPanelsNotesListRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -111622,7 +106817,7 @@ func (a *DcimAPIService) DcimPowerPortTemplatesNotesList(ctx context.Context, id
// Execute executes the request
// @return PaginatedNoteList
-func (a *DcimAPIService) DcimPowerPortTemplatesNotesListExecute(r ApiDcimPowerPortTemplatesNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
+func (a *DcimAPIService) DcimPowerPanelsNotesListExecute(r ApiDcimPowerPanelsNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -111630,12 +106825,12 @@ func (a *DcimAPIService) DcimPowerPortTemplatesNotesListExecute(r ApiDcimPowerPo
localVarReturnValue *PaginatedNoteList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortTemplatesNotesList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPanelsNotesList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-port-templates/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/power-panels/{id}/notes/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -111654,8 +106849,16 @@ func (a *DcimAPIService) DcimPowerPortTemplatesNotesListExecute(r ApiDcimPowerPo
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -111725,39 +106928,39 @@ func (a *DcimAPIService) DcimPowerPortTemplatesNotesListExecute(r ApiDcimPowerPo
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerPortTemplatesPartialUpdateRequest struct {
+type ApiDcimPowerPanelsPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
- patchedWritablePowerPortTemplateRequest *PatchedWritablePowerPortTemplateRequest
+ patchedWritablePowerPanelRequest *PatchedWritablePowerPanelRequest
}
-func (r ApiDcimPowerPortTemplatesPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortTemplatesPartialUpdateRequest {
+func (r ApiDcimPowerPanelsPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPanelsPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerPortTemplatesPartialUpdateRequest) PatchedWritablePowerPortTemplateRequest(patchedWritablePowerPortTemplateRequest PatchedWritablePowerPortTemplateRequest) ApiDcimPowerPortTemplatesPartialUpdateRequest {
- r.patchedWritablePowerPortTemplateRequest = &patchedWritablePowerPortTemplateRequest
+func (r ApiDcimPowerPanelsPartialUpdateRequest) PatchedWritablePowerPanelRequest(patchedWritablePowerPanelRequest PatchedWritablePowerPanelRequest) ApiDcimPowerPanelsPartialUpdateRequest {
+ r.patchedWritablePowerPanelRequest = &patchedWritablePowerPanelRequest
return r
}
-func (r ApiDcimPowerPortTemplatesPartialUpdateRequest) Execute() (*PowerPortTemplate, *http.Response, error) {
- return r.ApiService.DcimPowerPortTemplatesPartialUpdateExecute(r)
+func (r ApiDcimPowerPanelsPartialUpdateRequest) Execute() (*PowerPanel, *http.Response, error) {
+ return r.ApiService.DcimPowerPanelsPartialUpdateExecute(r)
}
/*
-DcimPowerPortTemplatesPartialUpdate Method for DcimPowerPortTemplatesPartialUpdate
+DcimPowerPanelsPartialUpdate Method for DcimPowerPanelsPartialUpdate
-Partial update a power port template object.
+Partial update a power panel object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power port template.
- @return ApiDcimPowerPortTemplatesPartialUpdateRequest
+ @param id A UUID string identifying this power panel.
+ @return ApiDcimPowerPanelsPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimPowerPortTemplatesPartialUpdate(ctx context.Context, id string) ApiDcimPowerPortTemplatesPartialUpdateRequest {
- return ApiDcimPowerPortTemplatesPartialUpdateRequest{
+func (a *DcimAPIService) DcimPowerPanelsPartialUpdate(ctx context.Context, id string) ApiDcimPowerPanelsPartialUpdateRequest {
+ return ApiDcimPowerPanelsPartialUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -111765,21 +106968,21 @@ func (a *DcimAPIService) DcimPowerPortTemplatesPartialUpdate(ctx context.Context
}
// Execute executes the request
-// @return PowerPortTemplate
-func (a *DcimAPIService) DcimPowerPortTemplatesPartialUpdateExecute(r ApiDcimPowerPortTemplatesPartialUpdateRequest) (*PowerPortTemplate, *http.Response, error) {
+// @return PowerPanel
+func (a *DcimAPIService) DcimPowerPanelsPartialUpdateExecute(r ApiDcimPowerPanelsPartialUpdateRequest) (*PowerPanel, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PowerPortTemplate
+ localVarReturnValue *PowerPanel
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortTemplatesPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPanelsPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-port-templates/{id}/"
+ localVarPath := localBasePath + "/dcim/power-panels/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -111807,7 +107010,7 @@ func (a *DcimAPIService) DcimPowerPortTemplatesPartialUpdateExecute(r ApiDcimPow
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedWritablePowerPortTemplateRequest
+ localVarPostBody = r.patchedWritablePowerPanelRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -111859,40 +107062,47 @@ func (a *DcimAPIService) DcimPowerPortTemplatesPartialUpdateExecute(r ApiDcimPow
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerPortTemplatesRetrieveRequest struct {
+type ApiDcimPowerPanelsRetrieveRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimPowerPortTemplatesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortTemplatesRetrieveRequest {
+func (r ApiDcimPowerPanelsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPanelsRetrieveRequest {
r.format = &format
return r
}
// Serializer Depth
-func (r ApiDcimPowerPortTemplatesRetrieveRequest) Depth(depth int32) ApiDcimPowerPortTemplatesRetrieveRequest {
+func (r ApiDcimPowerPanelsRetrieveRequest) Depth(depth int32) ApiDcimPowerPanelsRetrieveRequest {
r.depth = &depth
return r
}
-func (r ApiDcimPowerPortTemplatesRetrieveRequest) Execute() (*PowerPortTemplate, *http.Response, error) {
- return r.ApiService.DcimPowerPortTemplatesRetrieveExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimPowerPanelsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimPowerPanelsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimPowerPanelsRetrieveRequest) Execute() (*PowerPanel, *http.Response, error) {
+ return r.ApiService.DcimPowerPanelsRetrieveExecute(r)
}
/*
-DcimPowerPortTemplatesRetrieve Method for DcimPowerPortTemplatesRetrieve
+DcimPowerPanelsRetrieve Method for DcimPowerPanelsRetrieve
-Retrieve a power port template object.
+Retrieve a power panel object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power port template.
- @return ApiDcimPowerPortTemplatesRetrieveRequest
+ @param id A UUID string identifying this power panel.
+ @return ApiDcimPowerPanelsRetrieveRequest
*/
-func (a *DcimAPIService) DcimPowerPortTemplatesRetrieve(ctx context.Context, id string) ApiDcimPowerPortTemplatesRetrieveRequest {
- return ApiDcimPowerPortTemplatesRetrieveRequest{
+func (a *DcimAPIService) DcimPowerPanelsRetrieve(ctx context.Context, id string) ApiDcimPowerPanelsRetrieveRequest {
+ return ApiDcimPowerPanelsRetrieveRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -111900,21 +107110,21 @@ func (a *DcimAPIService) DcimPowerPortTemplatesRetrieve(ctx context.Context, id
}
// Execute executes the request
-// @return PowerPortTemplate
-func (a *DcimAPIService) DcimPowerPortTemplatesRetrieveExecute(r ApiDcimPowerPortTemplatesRetrieveRequest) (*PowerPortTemplate, *http.Response, error) {
+// @return PowerPanel
+func (a *DcimAPIService) DcimPowerPanelsRetrieveExecute(r ApiDcimPowerPanelsRetrieveRequest) (*PowerPanel, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PowerPortTemplate
+ localVarReturnValue *PowerPanel
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortTemplatesRetrieve")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPanelsRetrieve")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-port-templates/{id}/"
+ localVarPath := localBasePath + "/dcim/power-panels/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -111927,8 +107137,16 @@ func (a *DcimAPIService) DcimPowerPortTemplatesRetrieveExecute(r ApiDcimPowerPor
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -111998,39 +107216,39 @@ func (a *DcimAPIService) DcimPowerPortTemplatesRetrieveExecute(r ApiDcimPowerPor
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerPortTemplatesUpdateRequest struct {
+type ApiDcimPowerPanelsUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
- writablePowerPortTemplateRequest *WritablePowerPortTemplateRequest
+ writablePowerPanelRequest *WritablePowerPanelRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerPortTemplatesUpdateRequest) WritablePowerPortTemplateRequest(writablePowerPortTemplateRequest WritablePowerPortTemplateRequest) ApiDcimPowerPortTemplatesUpdateRequest {
- r.writablePowerPortTemplateRequest = &writablePowerPortTemplateRequest
+func (r ApiDcimPowerPanelsUpdateRequest) WritablePowerPanelRequest(writablePowerPanelRequest WritablePowerPanelRequest) ApiDcimPowerPanelsUpdateRequest {
+ r.writablePowerPanelRequest = &writablePowerPanelRequest
return r
}
-func (r ApiDcimPowerPortTemplatesUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortTemplatesUpdateRequest {
+func (r ApiDcimPowerPanelsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPanelsUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerPortTemplatesUpdateRequest) Execute() (*PowerPortTemplate, *http.Response, error) {
- return r.ApiService.DcimPowerPortTemplatesUpdateExecute(r)
+func (r ApiDcimPowerPanelsUpdateRequest) Execute() (*PowerPanel, *http.Response, error) {
+ return r.ApiService.DcimPowerPanelsUpdateExecute(r)
}
/*
-DcimPowerPortTemplatesUpdate Method for DcimPowerPortTemplatesUpdate
+DcimPowerPanelsUpdate Method for DcimPowerPanelsUpdate
-Update a power port template object.
+Update a power panel object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power port template.
- @return ApiDcimPowerPortTemplatesUpdateRequest
+ @param id A UUID string identifying this power panel.
+ @return ApiDcimPowerPanelsUpdateRequest
*/
-func (a *DcimAPIService) DcimPowerPortTemplatesUpdate(ctx context.Context, id string) ApiDcimPowerPortTemplatesUpdateRequest {
- return ApiDcimPowerPortTemplatesUpdateRequest{
+func (a *DcimAPIService) DcimPowerPanelsUpdate(ctx context.Context, id string) ApiDcimPowerPanelsUpdateRequest {
+ return ApiDcimPowerPanelsUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -112038,28 +107256,28 @@ func (a *DcimAPIService) DcimPowerPortTemplatesUpdate(ctx context.Context, id st
}
// Execute executes the request
-// @return PowerPortTemplate
-func (a *DcimAPIService) DcimPowerPortTemplatesUpdateExecute(r ApiDcimPowerPortTemplatesUpdateRequest) (*PowerPortTemplate, *http.Response, error) {
+// @return PowerPanel
+func (a *DcimAPIService) DcimPowerPanelsUpdateExecute(r ApiDcimPowerPanelsUpdateRequest) (*PowerPanel, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PowerPortTemplate
+ localVarReturnValue *PowerPanel
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortTemplatesUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPanelsUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-port-templates/{id}/"
+ localVarPath := localBasePath + "/dcim/power-panels/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.writablePowerPortTemplateRequest == nil {
- return localVarReturnValue, nil, reportError("writablePowerPortTemplateRequest is required and must be specified")
+ if r.writablePowerPanelRequest == nil {
+ return localVarReturnValue, nil, reportError("writablePowerPanelRequest is required and must be specified")
}
if r.format != nil {
@@ -112083,7 +107301,7 @@ func (a *DcimAPIService) DcimPowerPortTemplatesUpdateExecute(r ApiDcimPowerPortT
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.writablePowerPortTemplateRequest
+ localVarPostBody = r.writablePowerPanelRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -112135,56 +107353,56 @@ func (a *DcimAPIService) DcimPowerPortTemplatesUpdateExecute(r ApiDcimPowerPortT
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerPortsBulkDestroyRequest struct {
+type ApiDcimPowerPortTemplatesBulkDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
bulkOperationRequest *[]BulkOperationRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerPortsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimPowerPortsBulkDestroyRequest {
+func (r ApiDcimPowerPortTemplatesBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimPowerPortTemplatesBulkDestroyRequest {
r.bulkOperationRequest = &bulkOperationRequest
return r
}
-func (r ApiDcimPowerPortsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortsBulkDestroyRequest {
+func (r ApiDcimPowerPortTemplatesBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortTemplatesBulkDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerPortsBulkDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimPowerPortsBulkDestroyExecute(r)
+func (r ApiDcimPowerPortTemplatesBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimPowerPortTemplatesBulkDestroyExecute(r)
}
/*
-DcimPowerPortsBulkDestroy Method for DcimPowerPortsBulkDestroy
+DcimPowerPortTemplatesBulkDestroy Method for DcimPowerPortTemplatesBulkDestroy
-Destroy a list of power port objects.
+Destroy a list of power port template objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPowerPortsBulkDestroyRequest
+ @return ApiDcimPowerPortTemplatesBulkDestroyRequest
*/
-func (a *DcimAPIService) DcimPowerPortsBulkDestroy(ctx context.Context) ApiDcimPowerPortsBulkDestroyRequest {
- return ApiDcimPowerPortsBulkDestroyRequest{
+func (a *DcimAPIService) DcimPowerPortTemplatesBulkDestroy(ctx context.Context) ApiDcimPowerPortTemplatesBulkDestroyRequest {
+ return ApiDcimPowerPortTemplatesBulkDestroyRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-func (a *DcimAPIService) DcimPowerPortsBulkDestroyExecute(r ApiDcimPowerPortsBulkDestroyRequest) (*http.Response, error) {
+func (a *DcimAPIService) DcimPowerPortTemplatesBulkDestroyExecute(r ApiDcimPowerPortTemplatesBulkDestroyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortsBulkDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortTemplatesBulkDestroy")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-ports/"
+ localVarPath := localBasePath + "/dcim/power-port-templates/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -112257,64 +107475,64 @@ func (a *DcimAPIService) DcimPowerPortsBulkDestroyExecute(r ApiDcimPowerPortsBul
return localVarHTTPResponse, nil
}
-type ApiDcimPowerPortsBulkPartialUpdateRequest struct {
+type ApiDcimPowerPortTemplatesBulkPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- patchedBulkWritablePowerPortRequest *[]PatchedBulkWritablePowerPortRequest
+ patchedBulkWritablePowerPortTemplateRequest *[]PatchedBulkWritablePowerPortTemplateRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerPortsBulkPartialUpdateRequest) PatchedBulkWritablePowerPortRequest(patchedBulkWritablePowerPortRequest []PatchedBulkWritablePowerPortRequest) ApiDcimPowerPortsBulkPartialUpdateRequest {
- r.patchedBulkWritablePowerPortRequest = &patchedBulkWritablePowerPortRequest
+func (r ApiDcimPowerPortTemplatesBulkPartialUpdateRequest) PatchedBulkWritablePowerPortTemplateRequest(patchedBulkWritablePowerPortTemplateRequest []PatchedBulkWritablePowerPortTemplateRequest) ApiDcimPowerPortTemplatesBulkPartialUpdateRequest {
+ r.patchedBulkWritablePowerPortTemplateRequest = &patchedBulkWritablePowerPortTemplateRequest
return r
}
-func (r ApiDcimPowerPortsBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortsBulkPartialUpdateRequest {
+func (r ApiDcimPowerPortTemplatesBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortTemplatesBulkPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerPortsBulkPartialUpdateRequest) Execute() ([]PowerPort, *http.Response, error) {
- return r.ApiService.DcimPowerPortsBulkPartialUpdateExecute(r)
+func (r ApiDcimPowerPortTemplatesBulkPartialUpdateRequest) Execute() ([]PowerPortTemplate, *http.Response, error) {
+ return r.ApiService.DcimPowerPortTemplatesBulkPartialUpdateExecute(r)
}
/*
-DcimPowerPortsBulkPartialUpdate Method for DcimPowerPortsBulkPartialUpdate
+DcimPowerPortTemplatesBulkPartialUpdate Method for DcimPowerPortTemplatesBulkPartialUpdate
-Partial update a list of power port objects.
+Partial update a list of power port template objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPowerPortsBulkPartialUpdateRequest
+ @return ApiDcimPowerPortTemplatesBulkPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimPowerPortsBulkPartialUpdate(ctx context.Context) ApiDcimPowerPortsBulkPartialUpdateRequest {
- return ApiDcimPowerPortsBulkPartialUpdateRequest{
+func (a *DcimAPIService) DcimPowerPortTemplatesBulkPartialUpdate(ctx context.Context) ApiDcimPowerPortTemplatesBulkPartialUpdateRequest {
+ return ApiDcimPowerPortTemplatesBulkPartialUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []PowerPort
-func (a *DcimAPIService) DcimPowerPortsBulkPartialUpdateExecute(r ApiDcimPowerPortsBulkPartialUpdateRequest) ([]PowerPort, *http.Response, error) {
+// @return []PowerPortTemplate
+func (a *DcimAPIService) DcimPowerPortTemplatesBulkPartialUpdateExecute(r ApiDcimPowerPortTemplatesBulkPartialUpdateRequest) ([]PowerPortTemplate, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []PowerPort
+ localVarReturnValue []PowerPortTemplate
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortsBulkPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortTemplatesBulkPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-ports/"
+ localVarPath := localBasePath + "/dcim/power-port-templates/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.patchedBulkWritablePowerPortRequest == nil {
- return localVarReturnValue, nil, reportError("patchedBulkWritablePowerPortRequest is required and must be specified")
+ if r.patchedBulkWritablePowerPortTemplateRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritablePowerPortTemplateRequest is required and must be specified")
}
if r.format != nil {
@@ -112338,7 +107556,7 @@ func (a *DcimAPIService) DcimPowerPortsBulkPartialUpdateExecute(r ApiDcimPowerPo
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedBulkWritablePowerPortRequest
+ localVarPostBody = r.patchedBulkWritablePowerPortTemplateRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -112390,64 +107608,64 @@ func (a *DcimAPIService) DcimPowerPortsBulkPartialUpdateExecute(r ApiDcimPowerPo
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerPortsBulkUpdateRequest struct {
+type ApiDcimPowerPortTemplatesBulkUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- bulkWritablePowerPortRequest *[]BulkWritablePowerPortRequest
+ bulkWritablePowerPortTemplateRequest *[]BulkWritablePowerPortTemplateRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerPortsBulkUpdateRequest) BulkWritablePowerPortRequest(bulkWritablePowerPortRequest []BulkWritablePowerPortRequest) ApiDcimPowerPortsBulkUpdateRequest {
- r.bulkWritablePowerPortRequest = &bulkWritablePowerPortRequest
+func (r ApiDcimPowerPortTemplatesBulkUpdateRequest) BulkWritablePowerPortTemplateRequest(bulkWritablePowerPortTemplateRequest []BulkWritablePowerPortTemplateRequest) ApiDcimPowerPortTemplatesBulkUpdateRequest {
+ r.bulkWritablePowerPortTemplateRequest = &bulkWritablePowerPortTemplateRequest
return r
}
-func (r ApiDcimPowerPortsBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortsBulkUpdateRequest {
+func (r ApiDcimPowerPortTemplatesBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortTemplatesBulkUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerPortsBulkUpdateRequest) Execute() ([]PowerPort, *http.Response, error) {
- return r.ApiService.DcimPowerPortsBulkUpdateExecute(r)
+func (r ApiDcimPowerPortTemplatesBulkUpdateRequest) Execute() ([]PowerPortTemplate, *http.Response, error) {
+ return r.ApiService.DcimPowerPortTemplatesBulkUpdateExecute(r)
}
/*
-DcimPowerPortsBulkUpdate Method for DcimPowerPortsBulkUpdate
+DcimPowerPortTemplatesBulkUpdate Method for DcimPowerPortTemplatesBulkUpdate
-Update a list of power port objects.
+Update a list of power port template objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPowerPortsBulkUpdateRequest
+ @return ApiDcimPowerPortTemplatesBulkUpdateRequest
*/
-func (a *DcimAPIService) DcimPowerPortsBulkUpdate(ctx context.Context) ApiDcimPowerPortsBulkUpdateRequest {
- return ApiDcimPowerPortsBulkUpdateRequest{
+func (a *DcimAPIService) DcimPowerPortTemplatesBulkUpdate(ctx context.Context) ApiDcimPowerPortTemplatesBulkUpdateRequest {
+ return ApiDcimPowerPortTemplatesBulkUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []PowerPort
-func (a *DcimAPIService) DcimPowerPortsBulkUpdateExecute(r ApiDcimPowerPortsBulkUpdateRequest) ([]PowerPort, *http.Response, error) {
+// @return []PowerPortTemplate
+func (a *DcimAPIService) DcimPowerPortTemplatesBulkUpdateExecute(r ApiDcimPowerPortTemplatesBulkUpdateRequest) ([]PowerPortTemplate, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []PowerPort
+ localVarReturnValue []PowerPortTemplate
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortsBulkUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortTemplatesBulkUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-ports/"
+ localVarPath := localBasePath + "/dcim/power-port-templates/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.bulkWritablePowerPortRequest == nil {
- return localVarReturnValue, nil, reportError("bulkWritablePowerPortRequest is required and must be specified")
+ if r.bulkWritablePowerPortTemplateRequest == nil {
+ return localVarReturnValue, nil, reportError("bulkWritablePowerPortTemplateRequest is required and must be specified")
}
if r.format != nil {
@@ -112471,7 +107689,7 @@ func (a *DcimAPIService) DcimPowerPortsBulkUpdateExecute(r ApiDcimPowerPortsBulk
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.bulkWritablePowerPortRequest
+ localVarPostBody = r.bulkWritablePowerPortTemplateRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -112523,64 +107741,64 @@ func (a *DcimAPIService) DcimPowerPortsBulkUpdateExecute(r ApiDcimPowerPortsBulk
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerPortsCreateRequest struct {
+type ApiDcimPowerPortTemplatesCreateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- writablePowerPortRequest *WritablePowerPortRequest
+ writablePowerPortTemplateRequest *WritablePowerPortTemplateRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerPortsCreateRequest) WritablePowerPortRequest(writablePowerPortRequest WritablePowerPortRequest) ApiDcimPowerPortsCreateRequest {
- r.writablePowerPortRequest = &writablePowerPortRequest
+func (r ApiDcimPowerPortTemplatesCreateRequest) WritablePowerPortTemplateRequest(writablePowerPortTemplateRequest WritablePowerPortTemplateRequest) ApiDcimPowerPortTemplatesCreateRequest {
+ r.writablePowerPortTemplateRequest = &writablePowerPortTemplateRequest
return r
}
-func (r ApiDcimPowerPortsCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortsCreateRequest {
+func (r ApiDcimPowerPortTemplatesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortTemplatesCreateRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerPortsCreateRequest) Execute() (*PowerPort, *http.Response, error) {
- return r.ApiService.DcimPowerPortsCreateExecute(r)
+func (r ApiDcimPowerPortTemplatesCreateRequest) Execute() (*PowerPortTemplate, *http.Response, error) {
+ return r.ApiService.DcimPowerPortTemplatesCreateExecute(r)
}
/*
-DcimPowerPortsCreate Method for DcimPowerPortsCreate
+DcimPowerPortTemplatesCreate Method for DcimPowerPortTemplatesCreate
-Create one or more power port objects.
+Create one or more power port template objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPowerPortsCreateRequest
+ @return ApiDcimPowerPortTemplatesCreateRequest
*/
-func (a *DcimAPIService) DcimPowerPortsCreate(ctx context.Context) ApiDcimPowerPortsCreateRequest {
- return ApiDcimPowerPortsCreateRequest{
+func (a *DcimAPIService) DcimPowerPortTemplatesCreate(ctx context.Context) ApiDcimPowerPortTemplatesCreateRequest {
+ return ApiDcimPowerPortTemplatesCreateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return PowerPort
-func (a *DcimAPIService) DcimPowerPortsCreateExecute(r ApiDcimPowerPortsCreateRequest) (*PowerPort, *http.Response, error) {
+// @return PowerPortTemplate
+func (a *DcimAPIService) DcimPowerPortTemplatesCreateExecute(r ApiDcimPowerPortTemplatesCreateRequest) (*PowerPortTemplate, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PowerPort
+ localVarReturnValue *PowerPortTemplate
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortsCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortTemplatesCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-ports/"
+ localVarPath := localBasePath + "/dcim/power-port-templates/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.writablePowerPortRequest == nil {
- return localVarReturnValue, nil, reportError("writablePowerPortRequest is required and must be specified")
+ if r.writablePowerPortTemplateRequest == nil {
+ return localVarReturnValue, nil, reportError("writablePowerPortTemplateRequest is required and must be specified")
}
if r.format != nil {
@@ -112604,7 +107822,7 @@ func (a *DcimAPIService) DcimPowerPortsCreateExecute(r ApiDcimPowerPortsCreateRe
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.writablePowerPortRequest
+ localVarPostBody = r.writablePowerPortTemplateRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -112656,33 +107874,33 @@ func (a *DcimAPIService) DcimPowerPortsCreateExecute(r ApiDcimPowerPortsCreateRe
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerPortsDestroyRequest struct {
+type ApiDcimPowerPortTemplatesDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerPortsDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortsDestroyRequest {
+func (r ApiDcimPowerPortTemplatesDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortTemplatesDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerPortsDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimPowerPortsDestroyExecute(r)
+func (r ApiDcimPowerPortTemplatesDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimPowerPortTemplatesDestroyExecute(r)
}
/*
-DcimPowerPortsDestroy Method for DcimPowerPortsDestroy
+DcimPowerPortTemplatesDestroy Method for DcimPowerPortTemplatesDestroy
-Destroy a power port object.
+Destroy a power port template object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power port.
- @return ApiDcimPowerPortsDestroyRequest
+ @param id A UUID string identifying this power port template.
+ @return ApiDcimPowerPortTemplatesDestroyRequest
*/
-func (a *DcimAPIService) DcimPowerPortsDestroy(ctx context.Context, id string) ApiDcimPowerPortsDestroyRequest {
- return ApiDcimPowerPortsDestroyRequest{
+func (a *DcimAPIService) DcimPowerPortTemplatesDestroy(ctx context.Context, id string) ApiDcimPowerPortTemplatesDestroyRequest {
+ return ApiDcimPowerPortTemplatesDestroyRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -112690,19 +107908,19 @@ func (a *DcimAPIService) DcimPowerPortsDestroy(ctx context.Context, id string) A
}
// Execute executes the request
-func (a *DcimAPIService) DcimPowerPortsDestroyExecute(r ApiDcimPowerPortsDestroyRequest) (*http.Response, error) {
+func (a *DcimAPIService) DcimPowerPortTemplatesDestroyExecute(r ApiDcimPowerPortTemplatesDestroyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortsDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortTemplatesDestroy")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-ports/{id}/"
+ localVarPath := localBasePath + "/dcim/power-port-templates/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -112771,7 +107989,7 @@ func (a *DcimAPIService) DcimPowerPortsDestroyExecute(r ApiDcimPowerPortsDestroy
return localVarHTTPResponse, nil
}
-type ApiDcimPowerPortsListRequest struct {
+type ApiDcimPowerPortTemplatesListRequest struct {
ctx context.Context
ApiService *DcimAPIService
allocatedDraw *[]int32
@@ -112781,13 +107999,9 @@ type ApiDcimPowerPortsListRequest struct {
allocatedDrawLt *[]int32
allocatedDrawLte *[]int32
allocatedDrawN *[]int32
- cable *[]string
- cableIsnull *bool
- cableN *[]string
- connected *bool
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
description *[]string
descriptionIc *[]string
descriptionIe *[]string
@@ -112802,26 +108016,17 @@ type ApiDcimPowerPortsListRequest struct {
descriptionNisw *[]string
descriptionNre *[]string
descriptionRe *[]string
- device *[]string
+ deviceType *[]string
+ deviceTypeIsnull *bool
+ deviceTypeN *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
- hasCable *bool
- hasPowerOutlets *bool
+ hasDeviceType *bool
+ hasModuleType *bool
+ hasPowerOutletTemplates *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
label *[]string
labelIc *[]string
labelIe *[]string
@@ -112837,8 +108042,6 @@ type ApiDcimPowerPortsListRequest struct {
labelNre *[]string
labelRe *[]string
limit *int32
- location *[]string
- locationN *[]string
maximumDraw *[]int32
maximumDrawGt *[]int32
maximumDrawGte *[]int32
@@ -112846,9 +108049,9 @@ type ApiDcimPowerPortsListRequest struct {
maximumDrawLt *[]int32
maximumDrawLte *[]int32
maximumDrawN *[]int32
- module *[]string
- moduleIsnull *bool
- moduleN *[]string
+ moduleType *[]string
+ moduleTypeIsnull *bool
+ moduleTypeN *[]string
name *[]string
nameIc *[]string
nameIe *[]string
@@ -112864,17 +108067,14 @@ type ApiDcimPowerPortsListRequest struct {
nameNre *[]string
nameRe *[]string
offset *int32
- powerOutlets *[]string
- powerOutletsIsnull *bool
- powerOutletsN *[]string
+ powerOutletTemplates *[]string
+ powerOutletTemplatesIsnull *bool
+ powerOutletTemplatesN *[]string
q *string
sort *string
- tags *[]string
- tagsIsnull *bool
- tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
type_ *[]string
typeIc *[]string
typeIe *[]string
@@ -112890,655 +108090,597 @@ type ApiDcimPowerPortsListRequest struct {
typeNre *[]string
typeRe *[]string
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimPowerPortsListRequest) AllocatedDraw(allocatedDraw []int32) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) AllocatedDraw(allocatedDraw []int32) ApiDcimPowerPortTemplatesListRequest {
r.allocatedDraw = &allocatedDraw
return r
}
-func (r ApiDcimPowerPortsListRequest) AllocatedDrawGt(allocatedDrawGt []int32) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) AllocatedDrawGt(allocatedDrawGt []int32) ApiDcimPowerPortTemplatesListRequest {
r.allocatedDrawGt = &allocatedDrawGt
return r
}
-func (r ApiDcimPowerPortsListRequest) AllocatedDrawGte(allocatedDrawGte []int32) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) AllocatedDrawGte(allocatedDrawGte []int32) ApiDcimPowerPortTemplatesListRequest {
r.allocatedDrawGte = &allocatedDrawGte
return r
}
-func (r ApiDcimPowerPortsListRequest) AllocatedDrawIsnull(allocatedDrawIsnull bool) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) AllocatedDrawIsnull(allocatedDrawIsnull bool) ApiDcimPowerPortTemplatesListRequest {
r.allocatedDrawIsnull = &allocatedDrawIsnull
return r
}
-func (r ApiDcimPowerPortsListRequest) AllocatedDrawLt(allocatedDrawLt []int32) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) AllocatedDrawLt(allocatedDrawLt []int32) ApiDcimPowerPortTemplatesListRequest {
r.allocatedDrawLt = &allocatedDrawLt
return r
}
-func (r ApiDcimPowerPortsListRequest) AllocatedDrawLte(allocatedDrawLte []int32) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) AllocatedDrawLte(allocatedDrawLte []int32) ApiDcimPowerPortTemplatesListRequest {
r.allocatedDrawLte = &allocatedDrawLte
return r
}
-func (r ApiDcimPowerPortsListRequest) AllocatedDrawN(allocatedDrawN []int32) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) AllocatedDrawN(allocatedDrawN []int32) ApiDcimPowerPortTemplatesListRequest {
r.allocatedDrawN = &allocatedDrawN
return r
}
-// Cable
-func (r ApiDcimPowerPortsListRequest) Cable(cable []string) ApiDcimPowerPortsListRequest {
- r.cable = &cable
- return r
-}
-
-func (r ApiDcimPowerPortsListRequest) CableIsnull(cableIsnull bool) ApiDcimPowerPortsListRequest {
- r.cableIsnull = &cableIsnull
- return r
-}
-
-// Cable
-func (r ApiDcimPowerPortsListRequest) CableN(cableN []string) ApiDcimPowerPortsListRequest {
- r.cableN = &cableN
- return r
-}
-
-// Connected status (bool)
-func (r ApiDcimPowerPortsListRequest) Connected(connected bool) ApiDcimPowerPortsListRequest {
- r.connected = &connected
- return r
-}
-
-func (r ApiDcimPowerPortsListRequest) Contacts(contacts []string) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) Contacts(contacts []string) ApiDcimPowerPortTemplatesListRequest {
r.contacts = &contacts
return r
}
// Contacts (name or ID) is null
-func (r ApiDcimPowerPortsListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimPowerPortTemplatesListRequest {
r.contactsIsnull = &contactsIsnull
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimPowerPortsListRequest) ContactsN(contactsN string) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) ContactsN(contactsN []string) ApiDcimPowerPortTemplatesListRequest {
r.contactsN = &contactsN
return r
}
-func (r ApiDcimPowerPortsListRequest) Description(description []string) ApiDcimPowerPortsListRequest {
+// Description
+func (r ApiDcimPowerPortTemplatesListRequest) Description(description []string) ApiDcimPowerPortTemplatesListRequest {
r.description = &description
return r
}
-func (r ApiDcimPowerPortsListRequest) DescriptionIc(descriptionIc []string) ApiDcimPowerPortsListRequest {
+// Description
+func (r ApiDcimPowerPortTemplatesListRequest) DescriptionIc(descriptionIc []string) ApiDcimPowerPortTemplatesListRequest {
r.descriptionIc = &descriptionIc
return r
}
-func (r ApiDcimPowerPortsListRequest) DescriptionIe(descriptionIe []string) ApiDcimPowerPortsListRequest {
+// Description
+func (r ApiDcimPowerPortTemplatesListRequest) DescriptionIe(descriptionIe []string) ApiDcimPowerPortTemplatesListRequest {
r.descriptionIe = &descriptionIe
return r
}
-func (r ApiDcimPowerPortsListRequest) DescriptionIew(descriptionIew []string) ApiDcimPowerPortsListRequest {
+// Description
+func (r ApiDcimPowerPortTemplatesListRequest) DescriptionIew(descriptionIew []string) ApiDcimPowerPortTemplatesListRequest {
r.descriptionIew = &descriptionIew
return r
}
-func (r ApiDcimPowerPortsListRequest) DescriptionIre(descriptionIre []string) ApiDcimPowerPortsListRequest {
+// Description
+func (r ApiDcimPowerPortTemplatesListRequest) DescriptionIre(descriptionIre []string) ApiDcimPowerPortTemplatesListRequest {
r.descriptionIre = &descriptionIre
return r
}
-func (r ApiDcimPowerPortsListRequest) DescriptionIsw(descriptionIsw []string) ApiDcimPowerPortsListRequest {
+// Description
+func (r ApiDcimPowerPortTemplatesListRequest) DescriptionIsw(descriptionIsw []string) ApiDcimPowerPortTemplatesListRequest {
r.descriptionIsw = &descriptionIsw
return r
}
-func (r ApiDcimPowerPortsListRequest) DescriptionN(descriptionN []string) ApiDcimPowerPortsListRequest {
+// Description
+func (r ApiDcimPowerPortTemplatesListRequest) DescriptionN(descriptionN []string) ApiDcimPowerPortTemplatesListRequest {
r.descriptionN = &descriptionN
return r
}
-func (r ApiDcimPowerPortsListRequest) DescriptionNic(descriptionNic []string) ApiDcimPowerPortsListRequest {
+// Description
+func (r ApiDcimPowerPortTemplatesListRequest) DescriptionNic(descriptionNic []string) ApiDcimPowerPortTemplatesListRequest {
r.descriptionNic = &descriptionNic
return r
}
-func (r ApiDcimPowerPortsListRequest) DescriptionNie(descriptionNie []string) ApiDcimPowerPortsListRequest {
+// Description
+func (r ApiDcimPowerPortTemplatesListRequest) DescriptionNie(descriptionNie []string) ApiDcimPowerPortTemplatesListRequest {
r.descriptionNie = &descriptionNie
return r
}
-func (r ApiDcimPowerPortsListRequest) DescriptionNiew(descriptionNiew []string) ApiDcimPowerPortsListRequest {
+// Description
+func (r ApiDcimPowerPortTemplatesListRequest) DescriptionNiew(descriptionNiew []string) ApiDcimPowerPortTemplatesListRequest {
r.descriptionNiew = &descriptionNiew
return r
}
-func (r ApiDcimPowerPortsListRequest) DescriptionNire(descriptionNire []string) ApiDcimPowerPortsListRequest {
+// Description
+func (r ApiDcimPowerPortTemplatesListRequest) DescriptionNire(descriptionNire []string) ApiDcimPowerPortTemplatesListRequest {
r.descriptionNire = &descriptionNire
return r
}
-func (r ApiDcimPowerPortsListRequest) DescriptionNisw(descriptionNisw []string) ApiDcimPowerPortsListRequest {
+// Description
+func (r ApiDcimPowerPortTemplatesListRequest) DescriptionNisw(descriptionNisw []string) ApiDcimPowerPortTemplatesListRequest {
r.descriptionNisw = &descriptionNisw
return r
}
-func (r ApiDcimPowerPortsListRequest) DescriptionNre(descriptionNre []string) ApiDcimPowerPortsListRequest {
+// Description
+func (r ApiDcimPowerPortTemplatesListRequest) DescriptionNre(descriptionNre []string) ApiDcimPowerPortTemplatesListRequest {
r.descriptionNre = &descriptionNre
return r
}
-func (r ApiDcimPowerPortsListRequest) DescriptionRe(descriptionRe []string) ApiDcimPowerPortsListRequest {
+// Description
+func (r ApiDcimPowerPortTemplatesListRequest) DescriptionRe(descriptionRe []string) ApiDcimPowerPortTemplatesListRequest {
r.descriptionRe = &descriptionRe
return r
}
-func (r ApiDcimPowerPortsListRequest) Device(device []string) ApiDcimPowerPortsListRequest {
- r.device = &device
- return r
-}
-
-func (r ApiDcimPowerPortsListRequest) DynamicGroups(dynamicGroups []string) ApiDcimPowerPortsListRequest {
- r.dynamicGroups = &dynamicGroups
- return r
-}
-
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimPowerPortsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimPowerPortsListRequest {
- r.dynamicGroupsN = &dynamicGroupsN
+func (r ApiDcimPowerPortTemplatesListRequest) DeviceType(deviceType []string) ApiDcimPowerPortTemplatesListRequest {
+ r.deviceType = &deviceType
return r
}
-func (r ApiDcimPowerPortsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortsListRequest {
- r.format = &format
+// Device type (model or ID) is null
+func (r ApiDcimPowerPortTemplatesListRequest) DeviceTypeIsnull(deviceTypeIsnull bool) ApiDcimPowerPortTemplatesListRequest {
+ r.deviceTypeIsnull = &deviceTypeIsnull
return r
}
-// Has cable
-func (r ApiDcimPowerPortsListRequest) HasCable(hasCable bool) ApiDcimPowerPortsListRequest {
- r.hasCable = &hasCable
+func (r ApiDcimPowerPortTemplatesListRequest) DeviceTypeN(deviceTypeN []string) ApiDcimPowerPortTemplatesListRequest {
+ r.deviceTypeN = &deviceTypeN
return r
}
-// Has power outlets
-func (r ApiDcimPowerPortsListRequest) HasPowerOutlets(hasPowerOutlets bool) ApiDcimPowerPortsListRequest {
- r.hasPowerOutlets = &hasPowerOutlets
+func (r ApiDcimPowerPortTemplatesListRequest) DynamicGroups(dynamicGroups []string) ApiDcimPowerPortTemplatesListRequest {
+ r.dynamicGroups = &dynamicGroups
return r
}
-// Unique object identifier, either a UUID primary key or a composite key.
-func (r ApiDcimPowerPortsListRequest) Id(id []string) ApiDcimPowerPortsListRequest {
- r.id = &id
+func (r ApiDcimPowerPortTemplatesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimPowerPortTemplatesListRequest {
+ r.dynamicGroupsN = &dynamicGroupsN
return r
}
-func (r ApiDcimPowerPortsListRequest) IdIc(idIc []string) ApiDcimPowerPortsListRequest {
- r.idIc = &idIc
+func (r ApiDcimPowerPortTemplatesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortTemplatesListRequest {
+ r.format = &format
return r
}
-func (r ApiDcimPowerPortsListRequest) IdIe(idIe []string) ApiDcimPowerPortsListRequest {
- r.idIe = &idIe
+// Has device type
+func (r ApiDcimPowerPortTemplatesListRequest) HasDeviceType(hasDeviceType bool) ApiDcimPowerPortTemplatesListRequest {
+ r.hasDeviceType = &hasDeviceType
return r
}
-func (r ApiDcimPowerPortsListRequest) IdIew(idIew []string) ApiDcimPowerPortsListRequest {
- r.idIew = &idIew
+// Has module type
+func (r ApiDcimPowerPortTemplatesListRequest) HasModuleType(hasModuleType bool) ApiDcimPowerPortTemplatesListRequest {
+ r.hasModuleType = &hasModuleType
return r
}
-func (r ApiDcimPowerPortsListRequest) IdIre(idIre []string) ApiDcimPowerPortsListRequest {
- r.idIre = &idIre
+// Has power outlet templates
+func (r ApiDcimPowerPortTemplatesListRequest) HasPowerOutletTemplates(hasPowerOutletTemplates bool) ApiDcimPowerPortTemplatesListRequest {
+ r.hasPowerOutletTemplates = &hasPowerOutletTemplates
return r
}
-func (r ApiDcimPowerPortsListRequest) IdIsw(idIsw []string) ApiDcimPowerPortsListRequest {
- r.idIsw = &idIsw
+// ID
+func (r ApiDcimPowerPortTemplatesListRequest) Id(id []string) ApiDcimPowerPortTemplatesListRequest {
+ r.id = &id
return r
}
-func (r ApiDcimPowerPortsListRequest) IdN(idN []string) ApiDcimPowerPortsListRequest {
+// Exclude ID
+func (r ApiDcimPowerPortTemplatesListRequest) IdN(idN []string) ApiDcimPowerPortTemplatesListRequest {
r.idN = &idN
return r
}
-func (r ApiDcimPowerPortsListRequest) IdNic(idNic []string) ApiDcimPowerPortsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiDcimPowerPortsListRequest) IdNie(idNie []string) ApiDcimPowerPortsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiDcimPowerPortsListRequest) IdNiew(idNiew []string) ApiDcimPowerPortsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiDcimPowerPortsListRequest) IdNire(idNire []string) ApiDcimPowerPortsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiDcimPowerPortsListRequest) IdNisw(idNisw []string) ApiDcimPowerPortsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiDcimPowerPortsListRequest) IdNre(idNre []string) ApiDcimPowerPortsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiDcimPowerPortsListRequest) IdRe(idRe []string) ApiDcimPowerPortsListRequest {
- r.idRe = &idRe
- return r
-}
-
-func (r ApiDcimPowerPortsListRequest) Label(label []string) ApiDcimPowerPortsListRequest {
+// Label
+func (r ApiDcimPowerPortTemplatesListRequest) Label(label []string) ApiDcimPowerPortTemplatesListRequest {
r.label = &label
return r
}
-func (r ApiDcimPowerPortsListRequest) LabelIc(labelIc []string) ApiDcimPowerPortsListRequest {
+// Label
+func (r ApiDcimPowerPortTemplatesListRequest) LabelIc(labelIc []string) ApiDcimPowerPortTemplatesListRequest {
r.labelIc = &labelIc
return r
}
-func (r ApiDcimPowerPortsListRequest) LabelIe(labelIe []string) ApiDcimPowerPortsListRequest {
+// Label
+func (r ApiDcimPowerPortTemplatesListRequest) LabelIe(labelIe []string) ApiDcimPowerPortTemplatesListRequest {
r.labelIe = &labelIe
return r
}
-func (r ApiDcimPowerPortsListRequest) LabelIew(labelIew []string) ApiDcimPowerPortsListRequest {
+// Label
+func (r ApiDcimPowerPortTemplatesListRequest) LabelIew(labelIew []string) ApiDcimPowerPortTemplatesListRequest {
r.labelIew = &labelIew
return r
}
-func (r ApiDcimPowerPortsListRequest) LabelIre(labelIre []string) ApiDcimPowerPortsListRequest {
+// Label
+func (r ApiDcimPowerPortTemplatesListRequest) LabelIre(labelIre []string) ApiDcimPowerPortTemplatesListRequest {
r.labelIre = &labelIre
return r
}
-func (r ApiDcimPowerPortsListRequest) LabelIsw(labelIsw []string) ApiDcimPowerPortsListRequest {
+// Label
+func (r ApiDcimPowerPortTemplatesListRequest) LabelIsw(labelIsw []string) ApiDcimPowerPortTemplatesListRequest {
r.labelIsw = &labelIsw
return r
}
-func (r ApiDcimPowerPortsListRequest) LabelN(labelN []string) ApiDcimPowerPortsListRequest {
+// Label
+func (r ApiDcimPowerPortTemplatesListRequest) LabelN(labelN []string) ApiDcimPowerPortTemplatesListRequest {
r.labelN = &labelN
return r
}
-func (r ApiDcimPowerPortsListRequest) LabelNic(labelNic []string) ApiDcimPowerPortsListRequest {
+// Label
+func (r ApiDcimPowerPortTemplatesListRequest) LabelNic(labelNic []string) ApiDcimPowerPortTemplatesListRequest {
r.labelNic = &labelNic
return r
}
-func (r ApiDcimPowerPortsListRequest) LabelNie(labelNie []string) ApiDcimPowerPortsListRequest {
+// Label
+func (r ApiDcimPowerPortTemplatesListRequest) LabelNie(labelNie []string) ApiDcimPowerPortTemplatesListRequest {
r.labelNie = &labelNie
return r
}
-func (r ApiDcimPowerPortsListRequest) LabelNiew(labelNiew []string) ApiDcimPowerPortsListRequest {
+// Label
+func (r ApiDcimPowerPortTemplatesListRequest) LabelNiew(labelNiew []string) ApiDcimPowerPortTemplatesListRequest {
r.labelNiew = &labelNiew
return r
}
-func (r ApiDcimPowerPortsListRequest) LabelNire(labelNire []string) ApiDcimPowerPortsListRequest {
+// Label
+func (r ApiDcimPowerPortTemplatesListRequest) LabelNire(labelNire []string) ApiDcimPowerPortTemplatesListRequest {
r.labelNire = &labelNire
return r
}
-func (r ApiDcimPowerPortsListRequest) LabelNisw(labelNisw []string) ApiDcimPowerPortsListRequest {
+// Label
+func (r ApiDcimPowerPortTemplatesListRequest) LabelNisw(labelNisw []string) ApiDcimPowerPortTemplatesListRequest {
r.labelNisw = &labelNisw
return r
}
-func (r ApiDcimPowerPortsListRequest) LabelNre(labelNre []string) ApiDcimPowerPortsListRequest {
+// Label
+func (r ApiDcimPowerPortTemplatesListRequest) LabelNre(labelNre []string) ApiDcimPowerPortTemplatesListRequest {
r.labelNre = &labelNre
return r
}
-func (r ApiDcimPowerPortsListRequest) LabelRe(labelRe []string) ApiDcimPowerPortsListRequest {
+// Label
+func (r ApiDcimPowerPortTemplatesListRequest) LabelRe(labelRe []string) ApiDcimPowerPortTemplatesListRequest {
r.labelRe = &labelRe
return r
}
// Number of results to return per page.
-func (r ApiDcimPowerPortsListRequest) Limit(limit int32) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) Limit(limit int32) ApiDcimPowerPortTemplatesListRequest {
r.limit = &limit
return r
}
-func (r ApiDcimPowerPortsListRequest) Location(location []string) ApiDcimPowerPortsListRequest {
- r.location = &location
- return r
-}
-
-func (r ApiDcimPowerPortsListRequest) LocationN(locationN []string) ApiDcimPowerPortsListRequest {
- r.locationN = &locationN
- return r
-}
-
-func (r ApiDcimPowerPortsListRequest) MaximumDraw(maximumDraw []int32) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) MaximumDraw(maximumDraw []int32) ApiDcimPowerPortTemplatesListRequest {
r.maximumDraw = &maximumDraw
return r
}
-func (r ApiDcimPowerPortsListRequest) MaximumDrawGt(maximumDrawGt []int32) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) MaximumDrawGt(maximumDrawGt []int32) ApiDcimPowerPortTemplatesListRequest {
r.maximumDrawGt = &maximumDrawGt
return r
}
-func (r ApiDcimPowerPortsListRequest) MaximumDrawGte(maximumDrawGte []int32) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) MaximumDrawGte(maximumDrawGte []int32) ApiDcimPowerPortTemplatesListRequest {
r.maximumDrawGte = &maximumDrawGte
return r
}
-func (r ApiDcimPowerPortsListRequest) MaximumDrawIsnull(maximumDrawIsnull bool) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) MaximumDrawIsnull(maximumDrawIsnull bool) ApiDcimPowerPortTemplatesListRequest {
r.maximumDrawIsnull = &maximumDrawIsnull
return r
}
-func (r ApiDcimPowerPortsListRequest) MaximumDrawLt(maximumDrawLt []int32) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) MaximumDrawLt(maximumDrawLt []int32) ApiDcimPowerPortTemplatesListRequest {
r.maximumDrawLt = &maximumDrawLt
return r
}
-func (r ApiDcimPowerPortsListRequest) MaximumDrawLte(maximumDrawLte []int32) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) MaximumDrawLte(maximumDrawLte []int32) ApiDcimPowerPortTemplatesListRequest {
r.maximumDrawLte = &maximumDrawLte
return r
}
-func (r ApiDcimPowerPortsListRequest) MaximumDrawN(maximumDrawN []int32) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) MaximumDrawN(maximumDrawN []int32) ApiDcimPowerPortTemplatesListRequest {
r.maximumDrawN = &maximumDrawN
return r
}
-func (r ApiDcimPowerPortsListRequest) Module(module []string) ApiDcimPowerPortsListRequest {
- r.module = &module
+func (r ApiDcimPowerPortTemplatesListRequest) ModuleType(moduleType []string) ApiDcimPowerPortTemplatesListRequest {
+ r.moduleType = &moduleType
return r
}
-// Module (model or ID) is null
-func (r ApiDcimPowerPortsListRequest) ModuleIsnull(moduleIsnull bool) ApiDcimPowerPortsListRequest {
- r.moduleIsnull = &moduleIsnull
+// Module type (model or ID) is null
+func (r ApiDcimPowerPortTemplatesListRequest) ModuleTypeIsnull(moduleTypeIsnull bool) ApiDcimPowerPortTemplatesListRequest {
+ r.moduleTypeIsnull = &moduleTypeIsnull
return r
}
-func (r ApiDcimPowerPortsListRequest) ModuleN(moduleN []string) ApiDcimPowerPortsListRequest {
- r.moduleN = &moduleN
+func (r ApiDcimPowerPortTemplatesListRequest) ModuleTypeN(moduleTypeN []string) ApiDcimPowerPortTemplatesListRequest {
+ r.moduleTypeN = &moduleTypeN
return r
}
-func (r ApiDcimPowerPortsListRequest) Name(name []string) ApiDcimPowerPortsListRequest {
+// Name
+func (r ApiDcimPowerPortTemplatesListRequest) Name(name []string) ApiDcimPowerPortTemplatesListRequest {
r.name = &name
return r
}
-func (r ApiDcimPowerPortsListRequest) NameIc(nameIc []string) ApiDcimPowerPortsListRequest {
+// Name
+func (r ApiDcimPowerPortTemplatesListRequest) NameIc(nameIc []string) ApiDcimPowerPortTemplatesListRequest {
r.nameIc = &nameIc
return r
}
-func (r ApiDcimPowerPortsListRequest) NameIe(nameIe []string) ApiDcimPowerPortsListRequest {
+// Name
+func (r ApiDcimPowerPortTemplatesListRequest) NameIe(nameIe []string) ApiDcimPowerPortTemplatesListRequest {
r.nameIe = &nameIe
return r
}
-func (r ApiDcimPowerPortsListRequest) NameIew(nameIew []string) ApiDcimPowerPortsListRequest {
+// Name
+func (r ApiDcimPowerPortTemplatesListRequest) NameIew(nameIew []string) ApiDcimPowerPortTemplatesListRequest {
r.nameIew = &nameIew
return r
}
-func (r ApiDcimPowerPortsListRequest) NameIre(nameIre []string) ApiDcimPowerPortsListRequest {
+// Name
+func (r ApiDcimPowerPortTemplatesListRequest) NameIre(nameIre []string) ApiDcimPowerPortTemplatesListRequest {
r.nameIre = &nameIre
return r
}
-func (r ApiDcimPowerPortsListRequest) NameIsw(nameIsw []string) ApiDcimPowerPortsListRequest {
+// Name
+func (r ApiDcimPowerPortTemplatesListRequest) NameIsw(nameIsw []string) ApiDcimPowerPortTemplatesListRequest {
r.nameIsw = &nameIsw
return r
}
-func (r ApiDcimPowerPortsListRequest) NameN(nameN []string) ApiDcimPowerPortsListRequest {
+// Name
+func (r ApiDcimPowerPortTemplatesListRequest) NameN(nameN []string) ApiDcimPowerPortTemplatesListRequest {
r.nameN = &nameN
return r
}
-func (r ApiDcimPowerPortsListRequest) NameNic(nameNic []string) ApiDcimPowerPortsListRequest {
+// Name
+func (r ApiDcimPowerPortTemplatesListRequest) NameNic(nameNic []string) ApiDcimPowerPortTemplatesListRequest {
r.nameNic = &nameNic
return r
}
-func (r ApiDcimPowerPortsListRequest) NameNie(nameNie []string) ApiDcimPowerPortsListRequest {
+// Name
+func (r ApiDcimPowerPortTemplatesListRequest) NameNie(nameNie []string) ApiDcimPowerPortTemplatesListRequest {
r.nameNie = &nameNie
return r
}
-func (r ApiDcimPowerPortsListRequest) NameNiew(nameNiew []string) ApiDcimPowerPortsListRequest {
+// Name
+func (r ApiDcimPowerPortTemplatesListRequest) NameNiew(nameNiew []string) ApiDcimPowerPortTemplatesListRequest {
r.nameNiew = &nameNiew
return r
}
-func (r ApiDcimPowerPortsListRequest) NameNire(nameNire []string) ApiDcimPowerPortsListRequest {
+// Name
+func (r ApiDcimPowerPortTemplatesListRequest) NameNire(nameNire []string) ApiDcimPowerPortTemplatesListRequest {
r.nameNire = &nameNire
return r
}
-func (r ApiDcimPowerPortsListRequest) NameNisw(nameNisw []string) ApiDcimPowerPortsListRequest {
+// Name
+func (r ApiDcimPowerPortTemplatesListRequest) NameNisw(nameNisw []string) ApiDcimPowerPortTemplatesListRequest {
r.nameNisw = &nameNisw
return r
}
-func (r ApiDcimPowerPortsListRequest) NameNre(nameNre []string) ApiDcimPowerPortsListRequest {
+// Name
+func (r ApiDcimPowerPortTemplatesListRequest) NameNre(nameNre []string) ApiDcimPowerPortTemplatesListRequest {
r.nameNre = &nameNre
return r
}
-func (r ApiDcimPowerPortsListRequest) NameRe(nameRe []string) ApiDcimPowerPortsListRequest {
+// Name
+func (r ApiDcimPowerPortTemplatesListRequest) NameRe(nameRe []string) ApiDcimPowerPortTemplatesListRequest {
r.nameRe = &nameRe
return r
}
// The initial index from which to return the results.
-func (r ApiDcimPowerPortsListRequest) Offset(offset int32) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) Offset(offset int32) ApiDcimPowerPortTemplatesListRequest {
r.offset = &offset
return r
}
-func (r ApiDcimPowerPortsListRequest) PowerOutlets(powerOutlets []string) ApiDcimPowerPortsListRequest {
- r.powerOutlets = &powerOutlets
+func (r ApiDcimPowerPortTemplatesListRequest) PowerOutletTemplates(powerOutletTemplates []string) ApiDcimPowerPortTemplatesListRequest {
+ r.powerOutletTemplates = &powerOutletTemplates
return r
}
-// Power outlets (name or ID) is null
-func (r ApiDcimPowerPortsListRequest) PowerOutletsIsnull(powerOutletsIsnull bool) ApiDcimPowerPortsListRequest {
- r.powerOutletsIsnull = &powerOutletsIsnull
+// Power outlet templates (name or ID) is null
+func (r ApiDcimPowerPortTemplatesListRequest) PowerOutletTemplatesIsnull(powerOutletTemplatesIsnull bool) ApiDcimPowerPortTemplatesListRequest {
+ r.powerOutletTemplatesIsnull = &powerOutletTemplatesIsnull
return r
}
-func (r ApiDcimPowerPortsListRequest) PowerOutletsN(powerOutletsN []string) ApiDcimPowerPortsListRequest {
- r.powerOutletsN = &powerOutletsN
+func (r ApiDcimPowerPortTemplatesListRequest) PowerOutletTemplatesN(powerOutletTemplatesN []string) ApiDcimPowerPortTemplatesListRequest {
+ r.powerOutletTemplatesN = &powerOutletTemplatesN
return r
}
// Search
-func (r ApiDcimPowerPortsListRequest) Q(q string) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) Q(q string) ApiDcimPowerPortTemplatesListRequest {
r.q = &q
return r
}
// Which field to use when ordering the results.
-func (r ApiDcimPowerPortsListRequest) Sort(sort string) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) Sort(sort string) ApiDcimPowerPortTemplatesListRequest {
r.sort = &sort
return r
}
-func (r ApiDcimPowerPortsListRequest) Tags(tags []string) ApiDcimPowerPortsListRequest {
- r.tags = &tags
- return r
-}
-
-func (r ApiDcimPowerPortsListRequest) TagsIsnull(tagsIsnull bool) ApiDcimPowerPortsListRequest {
- r.tagsIsnull = &tagsIsnull
- return r
-}
-
-func (r ApiDcimPowerPortsListRequest) TagsN(tagsN []string) ApiDcimPowerPortsListRequest {
- r.tagsN = &tagsN
- return r
-}
-
-func (r ApiDcimPowerPortsListRequest) Teams(teams []string) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) Teams(teams []string) ApiDcimPowerPortTemplatesListRequest {
r.teams = &teams
return r
}
// Teams (name or ID) is null
-func (r ApiDcimPowerPortsListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimPowerPortTemplatesListRequest {
r.teamsIsnull = &teamsIsnull
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimPowerPortsListRequest) TeamsN(teamsN string) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) TeamsN(teamsN []string) ApiDcimPowerPortTemplatesListRequest {
r.teamsN = &teamsN
return r
}
-// Physical port type
-func (r ApiDcimPowerPortsListRequest) Type_(type_ []string) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) Type_(type_ []string) ApiDcimPowerPortTemplatesListRequest {
r.type_ = &type_
return r
}
-// Physical port type
-func (r ApiDcimPowerPortsListRequest) TypeIc(typeIc []string) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) TypeIc(typeIc []string) ApiDcimPowerPortTemplatesListRequest {
r.typeIc = &typeIc
return r
}
-// Physical port type
-func (r ApiDcimPowerPortsListRequest) TypeIe(typeIe []string) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) TypeIe(typeIe []string) ApiDcimPowerPortTemplatesListRequest {
r.typeIe = &typeIe
return r
}
-// Physical port type
-func (r ApiDcimPowerPortsListRequest) TypeIew(typeIew []string) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) TypeIew(typeIew []string) ApiDcimPowerPortTemplatesListRequest {
r.typeIew = &typeIew
return r
}
-// Physical port type
-func (r ApiDcimPowerPortsListRequest) TypeIre(typeIre []string) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) TypeIre(typeIre []string) ApiDcimPowerPortTemplatesListRequest {
r.typeIre = &typeIre
return r
}
-// Physical port type
-func (r ApiDcimPowerPortsListRequest) TypeIsw(typeIsw []string) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) TypeIsw(typeIsw []string) ApiDcimPowerPortTemplatesListRequest {
r.typeIsw = &typeIsw
return r
}
-// Physical port type
-func (r ApiDcimPowerPortsListRequest) TypeN(typeN []string) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) TypeN(typeN []string) ApiDcimPowerPortTemplatesListRequest {
r.typeN = &typeN
return r
}
-// Physical port type
-func (r ApiDcimPowerPortsListRequest) TypeNic(typeNic []string) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) TypeNic(typeNic []string) ApiDcimPowerPortTemplatesListRequest {
r.typeNic = &typeNic
return r
}
-// Physical port type
-func (r ApiDcimPowerPortsListRequest) TypeNie(typeNie []string) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) TypeNie(typeNie []string) ApiDcimPowerPortTemplatesListRequest {
r.typeNie = &typeNie
return r
}
-// Physical port type
-func (r ApiDcimPowerPortsListRequest) TypeNiew(typeNiew []string) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) TypeNiew(typeNiew []string) ApiDcimPowerPortTemplatesListRequest {
r.typeNiew = &typeNiew
return r
}
-// Physical port type
-func (r ApiDcimPowerPortsListRequest) TypeNire(typeNire []string) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) TypeNire(typeNire []string) ApiDcimPowerPortTemplatesListRequest {
r.typeNire = &typeNire
return r
}
-// Physical port type
-func (r ApiDcimPowerPortsListRequest) TypeNisw(typeNisw []string) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) TypeNisw(typeNisw []string) ApiDcimPowerPortTemplatesListRequest {
r.typeNisw = &typeNisw
return r
}
-// Physical port type
-func (r ApiDcimPowerPortsListRequest) TypeNre(typeNre []string) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) TypeNre(typeNre []string) ApiDcimPowerPortTemplatesListRequest {
r.typeNre = &typeNre
return r
}
-// Physical port type
-func (r ApiDcimPowerPortsListRequest) TypeRe(typeRe []string) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) TypeRe(typeRe []string) ApiDcimPowerPortTemplatesListRequest {
r.typeRe = &typeRe
return r
}
// Serializer Depth
-func (r ApiDcimPowerPortsListRequest) Depth(depth int32) ApiDcimPowerPortsListRequest {
+func (r ApiDcimPowerPortTemplatesListRequest) Depth(depth int32) ApiDcimPowerPortTemplatesListRequest {
r.depth = &depth
return r
}
-func (r ApiDcimPowerPortsListRequest) Execute() (*PaginatedPowerPortList, *http.Response, error) {
- return r.ApiService.DcimPowerPortsListExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimPowerPortTemplatesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimPowerPortTemplatesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimPowerPortTemplatesListRequest) Execute() (*PaginatedPowerPortTemplateList, *http.Response, error) {
+ return r.ApiService.DcimPowerPortTemplatesListExecute(r)
}
/*
-DcimPowerPortsList Method for DcimPowerPortsList
+DcimPowerPortTemplatesList Method for DcimPowerPortTemplatesList
-Retrieve a list of power port objects.
+Retrieve a list of power port template objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimPowerPortsListRequest
+ @return ApiDcimPowerPortTemplatesListRequest
*/
-func (a *DcimAPIService) DcimPowerPortsList(ctx context.Context) ApiDcimPowerPortsListRequest {
- return ApiDcimPowerPortsListRequest{
+func (a *DcimAPIService) DcimPowerPortTemplatesList(ctx context.Context) ApiDcimPowerPortTemplatesListRequest {
+ return ApiDcimPowerPortTemplatesListRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return PaginatedPowerPortList
-func (a *DcimAPIService) DcimPowerPortsListExecute(r ApiDcimPowerPortsListRequest) (*PaginatedPowerPortList, *http.Response, error) {
+// @return PaginatedPowerPortTemplateList
+func (a *DcimAPIService) DcimPowerPortTemplatesListExecute(r ApiDcimPowerPortTemplatesListRequest) (*PaginatedPowerPortTemplateList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PaginatedPowerPortList
+ localVarReturnValue *PaginatedPowerPortTemplateList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortsList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortTemplatesList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-ports/"
+ localVarPath := localBasePath + "/dcim/power-port-templates/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -113613,34 +108755,6 @@ func (a *DcimAPIService) DcimPowerPortsListExecute(r ApiDcimPowerPortsListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "allocated_draw__n", t, "form", "multi")
}
}
- if r.cable != nil {
- t := *r.cable
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "cable", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "cable", t, "form", "multi")
- }
- }
- if r.cableIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "cable__isnull", r.cableIsnull, "form", "")
- }
- if r.cableN != nil {
- t := *r.cableN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "cable__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "cable__n", t, "form", "multi")
- }
- }
- if r.connected != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "connected", r.connected, "form", "")
- }
if r.contacts != nil {
t := *r.contacts
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -113656,7 +108770,15 @@ func (a *DcimAPIService) DcimPowerPortsListExecute(r ApiDcimPowerPortsListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.description != nil {
t := *r.description
@@ -113812,104 +108934,74 @@ func (a *DcimAPIService) DcimPowerPortsListExecute(r ApiDcimPowerPortsListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", t, "form", "multi")
}
}
- if r.device != nil {
- t := *r.device
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device", t, "form", "multi")
- }
- }
- if r.dynamicGroups != nil {
- t := *r.dynamicGroups
+ if r.deviceType != nil {
+ t := *r.deviceType
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device_type", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device_type", t, "form", "multi")
}
}
- if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.hasCable != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_cable", r.hasCable, "form", "")
- }
- if r.hasPowerOutlets != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_power_outlets", r.hasPowerOutlets, "form", "")
+ if r.deviceTypeIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device_type__isnull", r.deviceTypeIsnull, "form", "")
}
- if r.id != nil {
- t := *r.id
+ if r.deviceTypeN != nil {
+ t := *r.deviceTypeN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device_type__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device_type__n", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
+ if r.dynamicGroups != nil {
+ t := *r.dynamicGroups
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
}
}
- if r.idIe != nil {
- t := *r.idIe
+ if r.dynamicGroupsN != nil {
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
+ if r.hasDeviceType != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_device_type", r.hasDeviceType, "form", "")
+ }
+ if r.hasModuleType != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_module_type", r.hasModuleType, "form", "")
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.hasPowerOutletTemplates != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_power_outlet_templates", r.hasPowerOutletTemplates, "form", "")
+ }
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
if r.idN != nil {
@@ -113923,83 +109015,6 @@ func (a *DcimAPIService) DcimPowerPortsListExecute(r ApiDcimPowerPortsListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.label != nil {
t := *r.label
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -114157,28 +109172,6 @@ func (a *DcimAPIService) DcimPowerPortsListExecute(r ApiDcimPowerPortsListReques
if r.limit != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
- if r.location != nil {
- t := *r.location
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location", t, "form", "multi")
- }
- }
- if r.locationN != nil {
- t := *r.locationN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", t, "form", "multi")
- }
- }
if r.maximumDraw != nil {
t := *r.maximumDraw
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -114248,29 +109241,29 @@ func (a *DcimAPIService) DcimPowerPortsListExecute(r ApiDcimPowerPortsListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "maximum_draw__n", t, "form", "multi")
}
}
- if r.module != nil {
- t := *r.module
+ if r.moduleType != nil {
+ t := *r.moduleType
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_type", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_type", t, "form", "multi")
}
}
- if r.moduleIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module__isnull", r.moduleIsnull, "form", "")
+ if r.moduleTypeIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_type__isnull", r.moduleTypeIsnull, "form", "")
}
- if r.moduleN != nil {
- t := *r.moduleN
+ if r.moduleTypeN != nil {
+ t := *r.moduleTypeN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_type__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_type__n", t, "form", "multi")
}
}
if r.name != nil {
@@ -114430,29 +109423,29 @@ func (a *DcimAPIService) DcimPowerPortsListExecute(r ApiDcimPowerPortsListReques
if r.offset != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
}
- if r.powerOutlets != nil {
- t := *r.powerOutlets
+ if r.powerOutletTemplates != nil {
+ t := *r.powerOutletTemplates
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlets", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlet_templates", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlets", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlet_templates", t, "form", "multi")
}
}
- if r.powerOutletsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlets__isnull", r.powerOutletsIsnull, "form", "")
+ if r.powerOutletTemplatesIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlet_templates__isnull", r.powerOutletTemplatesIsnull, "form", "")
}
- if r.powerOutletsN != nil {
- t := *r.powerOutletsN
+ if r.powerOutletTemplatesN != nil {
+ t := *r.powerOutletTemplatesN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlets__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlet_templates__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlets__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlet_templates__n", t, "form", "multi")
}
}
if r.q != nil {
@@ -114461,31 +109454,6 @@ func (a *DcimAPIService) DcimPowerPortsListExecute(r ApiDcimPowerPortsListReques
if r.sort != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
}
- if r.tags != nil {
- t := *r.tags
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags", t, "form", "multi")
- }
- }
- if r.tagsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags__isnull", r.tagsIsnull, "form", "")
- }
- if r.tagsN != nil {
- t := *r.tagsN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", t, "form", "multi")
- }
- }
if r.teams != nil {
t := *r.teams
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -114501,7 +109469,15 @@ func (a *DcimAPIService) DcimPowerPortsListExecute(r ApiDcimPowerPortsListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.type_ != nil {
t := *r.type_
@@ -114660,8 +109636,16 @@ func (a *DcimAPIService) DcimPowerPortsListExecute(r ApiDcimPowerPortsListReques
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -114731,39 +109715,39 @@ func (a *DcimAPIService) DcimPowerPortsListExecute(r ApiDcimPowerPortsListReques
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerPortsNotesCreateRequest struct {
+type ApiDcimPowerPortTemplatesPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
- noteInputRequest *NoteInputRequest
format *CircuitsCircuitTerminationsListFormatParameter
+ patchedWritablePowerPortTemplateRequest *PatchedWritablePowerPortTemplateRequest
}
-func (r ApiDcimPowerPortsNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimPowerPortsNotesCreateRequest {
- r.noteInputRequest = ¬eInputRequest
+func (r ApiDcimPowerPortTemplatesPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortTemplatesPartialUpdateRequest {
+ r.format = &format
return r
}
-func (r ApiDcimPowerPortsNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortsNotesCreateRequest {
- r.format = &format
+func (r ApiDcimPowerPortTemplatesPartialUpdateRequest) PatchedWritablePowerPortTemplateRequest(patchedWritablePowerPortTemplateRequest PatchedWritablePowerPortTemplateRequest) ApiDcimPowerPortTemplatesPartialUpdateRequest {
+ r.patchedWritablePowerPortTemplateRequest = &patchedWritablePowerPortTemplateRequest
return r
}
-func (r ApiDcimPowerPortsNotesCreateRequest) Execute() (*Note, *http.Response, error) {
- return r.ApiService.DcimPowerPortsNotesCreateExecute(r)
+func (r ApiDcimPowerPortTemplatesPartialUpdateRequest) Execute() (*PowerPortTemplate, *http.Response, error) {
+ return r.ApiService.DcimPowerPortTemplatesPartialUpdateExecute(r)
}
/*
-DcimPowerPortsNotesCreate Method for DcimPowerPortsNotesCreate
+DcimPowerPortTemplatesPartialUpdate Method for DcimPowerPortTemplatesPartialUpdate
-API methods for returning or creating notes on an object.
+Partial update a power port template object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power port.
- @return ApiDcimPowerPortsNotesCreateRequest
+ @param id A UUID string identifying this power port template.
+ @return ApiDcimPowerPortTemplatesPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimPowerPortsNotesCreate(ctx context.Context, id string) ApiDcimPowerPortsNotesCreateRequest {
- return ApiDcimPowerPortsNotesCreateRequest{
+func (a *DcimAPIService) DcimPowerPortTemplatesPartialUpdate(ctx context.Context, id string) ApiDcimPowerPortTemplatesPartialUpdateRequest {
+ return ApiDcimPowerPortTemplatesPartialUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -114771,29 +109755,26 @@ func (a *DcimAPIService) DcimPowerPortsNotesCreate(ctx context.Context, id strin
}
// Execute executes the request
-// @return Note
-func (a *DcimAPIService) DcimPowerPortsNotesCreateExecute(r ApiDcimPowerPortsNotesCreateRequest) (*Note, *http.Response, error) {
+// @return PowerPortTemplate
+func (a *DcimAPIService) DcimPowerPortTemplatesPartialUpdateExecute(r ApiDcimPowerPortTemplatesPartialUpdateRequest) (*PowerPortTemplate, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPost
+ localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *Note
+ localVarReturnValue *PowerPortTemplate
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortsNotesCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortTemplatesPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-ports/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/power-port-templates/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.noteInputRequest == nil {
- return localVarReturnValue, nil, reportError("noteInputRequest is required and must be specified")
- }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -114816,7 +109797,7 @@ func (a *DcimAPIService) DcimPowerPortsNotesCreateExecute(r ApiDcimPowerPortsNot
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.noteInputRequest
+ localVarPostBody = r.patchedWritablePowerPortTemplateRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -114868,54 +109849,47 @@ func (a *DcimAPIService) DcimPowerPortsNotesCreateExecute(r ApiDcimPowerPortsNot
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerPortsNotesListRequest struct {
+type ApiDcimPowerPortTemplatesRetrieveRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
- limit *int32
- offset *int32
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimPowerPortsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortsNotesListRequest {
+func (r ApiDcimPowerPortTemplatesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortTemplatesRetrieveRequest {
r.format = &format
return r
}
-// Number of results to return per page.
-func (r ApiDcimPowerPortsNotesListRequest) Limit(limit int32) ApiDcimPowerPortsNotesListRequest {
- r.limit = &limit
- return r
-}
-
-// The initial index from which to return the results.
-func (r ApiDcimPowerPortsNotesListRequest) Offset(offset int32) ApiDcimPowerPortsNotesListRequest {
- r.offset = &offset
+// Serializer Depth
+func (r ApiDcimPowerPortTemplatesRetrieveRequest) Depth(depth int32) ApiDcimPowerPortTemplatesRetrieveRequest {
+ r.depth = &depth
return r
}
-// Serializer Depth
-func (r ApiDcimPowerPortsNotesListRequest) Depth(depth int32) ApiDcimPowerPortsNotesListRequest {
- r.depth = &depth
+// Exclude many-to-many fields from the response
+func (r ApiDcimPowerPortTemplatesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimPowerPortTemplatesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
return r
}
-func (r ApiDcimPowerPortsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
- return r.ApiService.DcimPowerPortsNotesListExecute(r)
+func (r ApiDcimPowerPortTemplatesRetrieveRequest) Execute() (*PowerPortTemplate, *http.Response, error) {
+ return r.ApiService.DcimPowerPortTemplatesRetrieveExecute(r)
}
/*
-DcimPowerPortsNotesList Method for DcimPowerPortsNotesList
+DcimPowerPortTemplatesRetrieve Method for DcimPowerPortTemplatesRetrieve
-API methods for returning or creating notes on an object.
+Retrieve a power port template object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power port.
- @return ApiDcimPowerPortsNotesListRequest
+ @param id A UUID string identifying this power port template.
+ @return ApiDcimPowerPortTemplatesRetrieveRequest
*/
-func (a *DcimAPIService) DcimPowerPortsNotesList(ctx context.Context, id string) ApiDcimPowerPortsNotesListRequest {
- return ApiDcimPowerPortsNotesListRequest{
+func (a *DcimAPIService) DcimPowerPortTemplatesRetrieve(ctx context.Context, id string) ApiDcimPowerPortTemplatesRetrieveRequest {
+ return ApiDcimPowerPortTemplatesRetrieveRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -114923,21 +109897,21 @@ func (a *DcimAPIService) DcimPowerPortsNotesList(ctx context.Context, id string)
}
// Execute executes the request
-// @return PaginatedNoteList
-func (a *DcimAPIService) DcimPowerPortsNotesListExecute(r ApiDcimPowerPortsNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
+// @return PowerPortTemplate
+func (a *DcimAPIService) DcimPowerPortTemplatesRetrieveExecute(r ApiDcimPowerPortTemplatesRetrieveRequest) (*PowerPortTemplate, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PaginatedNoteList
+ localVarReturnValue *PowerPortTemplate
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortsNotesList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortTemplatesRetrieve")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-ports/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/power-port-templates/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -114947,17 +109921,19 @@ func (a *DcimAPIService) DcimPowerPortsNotesListExecute(r ApiDcimPowerPortsNotes
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
- }
- if r.offset != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
- }
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -115027,39 +110003,39 @@ func (a *DcimAPIService) DcimPowerPortsNotesListExecute(r ApiDcimPowerPortsNotes
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerPortsPartialUpdateRequest struct {
+type ApiDcimPowerPortTemplatesUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
+ writablePowerPortTemplateRequest *WritablePowerPortTemplateRequest
format *CircuitsCircuitTerminationsListFormatParameter
- patchedWritablePowerPortRequest *PatchedWritablePowerPortRequest
}
-func (r ApiDcimPowerPortsPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortsPartialUpdateRequest {
- r.format = &format
+func (r ApiDcimPowerPortTemplatesUpdateRequest) WritablePowerPortTemplateRequest(writablePowerPortTemplateRequest WritablePowerPortTemplateRequest) ApiDcimPowerPortTemplatesUpdateRequest {
+ r.writablePowerPortTemplateRequest = &writablePowerPortTemplateRequest
return r
}
-func (r ApiDcimPowerPortsPartialUpdateRequest) PatchedWritablePowerPortRequest(patchedWritablePowerPortRequest PatchedWritablePowerPortRequest) ApiDcimPowerPortsPartialUpdateRequest {
- r.patchedWritablePowerPortRequest = &patchedWritablePowerPortRequest
+func (r ApiDcimPowerPortTemplatesUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortTemplatesUpdateRequest {
+ r.format = &format
return r
}
-func (r ApiDcimPowerPortsPartialUpdateRequest) Execute() (*PowerPort, *http.Response, error) {
- return r.ApiService.DcimPowerPortsPartialUpdateExecute(r)
+func (r ApiDcimPowerPortTemplatesUpdateRequest) Execute() (*PowerPortTemplate, *http.Response, error) {
+ return r.ApiService.DcimPowerPortTemplatesUpdateExecute(r)
}
/*
-DcimPowerPortsPartialUpdate Method for DcimPowerPortsPartialUpdate
+DcimPowerPortTemplatesUpdate Method for DcimPowerPortTemplatesUpdate
-Partial update a power port object.
+Update a power port template object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power port.
- @return ApiDcimPowerPortsPartialUpdateRequest
+ @param id A UUID string identifying this power port template.
+ @return ApiDcimPowerPortTemplatesUpdateRequest
*/
-func (a *DcimAPIService) DcimPowerPortsPartialUpdate(ctx context.Context, id string) ApiDcimPowerPortsPartialUpdateRequest {
- return ApiDcimPowerPortsPartialUpdateRequest{
+func (a *DcimAPIService) DcimPowerPortTemplatesUpdate(ctx context.Context, id string) ApiDcimPowerPortTemplatesUpdateRequest {
+ return ApiDcimPowerPortTemplatesUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -115067,26 +110043,29 @@ func (a *DcimAPIService) DcimPowerPortsPartialUpdate(ctx context.Context, id str
}
// Execute executes the request
-// @return PowerPort
-func (a *DcimAPIService) DcimPowerPortsPartialUpdateExecute(r ApiDcimPowerPortsPartialUpdateRequest) (*PowerPort, *http.Response, error) {
+// @return PowerPortTemplate
+func (a *DcimAPIService) DcimPowerPortTemplatesUpdateExecute(r ApiDcimPowerPortTemplatesUpdateRequest) (*PowerPortTemplate, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPatch
+ localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PowerPort
+ localVarReturnValue *PowerPortTemplate
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortsPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortTemplatesUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-ports/{id}/"
+ localVarPath := localBasePath + "/dcim/power-port-templates/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
+ if r.writablePowerPortTemplateRequest == nil {
+ return localVarReturnValue, nil, reportError("writablePowerPortTemplateRequest is required and must be specified")
+ }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -115109,7 +110088,7 @@ func (a *DcimAPIService) DcimPowerPortsPartialUpdateExecute(r ApiDcimPowerPortsP
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedWritablePowerPortRequest
+ localVarPostBody = r.writablePowerPortTemplateRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -115161,79 +110140,69 @@ func (a *DcimAPIService) DcimPowerPortsPartialUpdateExecute(r ApiDcimPowerPortsP
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerPortsRetrieveRequest struct {
+type ApiDcimPowerPortsBulkDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
- id string
+ bulkOperationRequest *[]BulkOperationRequest
format *CircuitsCircuitTerminationsListFormatParameter
- depth *int32
}
-func (r ApiDcimPowerPortsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortsRetrieveRequest {
- r.format = &format
+func (r ApiDcimPowerPortsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimPowerPortsBulkDestroyRequest {
+ r.bulkOperationRequest = &bulkOperationRequest
return r
}
-// Serializer Depth
-func (r ApiDcimPowerPortsRetrieveRequest) Depth(depth int32) ApiDcimPowerPortsRetrieveRequest {
- r.depth = &depth
+func (r ApiDcimPowerPortsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortsBulkDestroyRequest {
+ r.format = &format
return r
}
-func (r ApiDcimPowerPortsRetrieveRequest) Execute() (*PowerPort, *http.Response, error) {
- return r.ApiService.DcimPowerPortsRetrieveExecute(r)
+func (r ApiDcimPowerPortsBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimPowerPortsBulkDestroyExecute(r)
}
/*
-DcimPowerPortsRetrieve Method for DcimPowerPortsRetrieve
+DcimPowerPortsBulkDestroy Method for DcimPowerPortsBulkDestroy
-Retrieve a power port object.
+Destroy a list of power port objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power port.
- @return ApiDcimPowerPortsRetrieveRequest
+ @return ApiDcimPowerPortsBulkDestroyRequest
*/
-func (a *DcimAPIService) DcimPowerPortsRetrieve(ctx context.Context, id string) ApiDcimPowerPortsRetrieveRequest {
- return ApiDcimPowerPortsRetrieveRequest{
+func (a *DcimAPIService) DcimPowerPortsBulkDestroy(ctx context.Context) ApiDcimPowerPortsBulkDestroyRequest {
+ return ApiDcimPowerPortsBulkDestroyRequest{
ApiService: a,
ctx: ctx,
- id: id,
}
}
// Execute executes the request
-// @return PowerPort
-func (a *DcimAPIService) DcimPowerPortsRetrieveExecute(r ApiDcimPowerPortsRetrieveRequest) (*PowerPort, *http.Response, error) {
+func (a *DcimAPIService) DcimPowerPortsBulkDestroyExecute(r ApiDcimPowerPortsBulkDestroyRequest) (*http.Response, error) {
var (
- localVarHTTPMethod = http.MethodGet
+ localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PowerPort
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortsRetrieve")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortsBulkDestroy")
if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-ports/{id}/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+ localVarPath := localBasePath + "/dcim/power-ports/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
+ if r.bulkOperationRequest == nil {
+ return nil, reportError("bulkOperationRequest is required and must be specified")
+ }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.depth != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
- } else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
- }
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -115242,13 +110211,15 @@ func (a *DcimAPIService) DcimPowerPortsRetrieveExecute(r ApiDcimPowerPortsRetrie
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+ localVarHTTPHeaderAccepts := []string{}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
if localVarHTTPHeaderAccept != "" {
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
+ // body params
+ localVarPostBody = r.bulkOperationRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -115265,19 +110236,19 @@ func (a *DcimAPIService) DcimPowerPortsRetrieveExecute(r ApiDcimPowerPortsRetrie
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
- return localVarReturnValue, nil, err
+ return nil, err
}
localVarHTTPResponse, err := a.client.callAPI(req)
if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
+ return localVarHTTPResponse, err
}
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
+ return localVarHTTPResponse, err
}
if localVarHTTPResponse.StatusCode >= 300 {
@@ -115285,94 +110256,77 @@ func (a *DcimAPIService) DcimPowerPortsRetrieveExecute(r ApiDcimPowerPortsRetrie
body: localVarBody,
error: localVarHTTPResponse.Status,
}
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
+ return localVarHTTPResponse, newErr
}
- return localVarReturnValue, localVarHTTPResponse, nil
+ return localVarHTTPResponse, nil
}
-type ApiDcimPowerPortsTraceRetrieveRequest struct {
+type ApiDcimPowerPortsBulkPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- id string
+ patchedBulkWritablePowerPortRequest *[]PatchedBulkWritablePowerPortRequest
format *CircuitsCircuitTerminationsListFormatParameter
- depth *int32
}
-func (r ApiDcimPowerPortsTraceRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortsTraceRetrieveRequest {
- r.format = &format
+func (r ApiDcimPowerPortsBulkPartialUpdateRequest) PatchedBulkWritablePowerPortRequest(patchedBulkWritablePowerPortRequest []PatchedBulkWritablePowerPortRequest) ApiDcimPowerPortsBulkPartialUpdateRequest {
+ r.patchedBulkWritablePowerPortRequest = &patchedBulkWritablePowerPortRequest
return r
}
-// Serializer Depth
-func (r ApiDcimPowerPortsTraceRetrieveRequest) Depth(depth int32) ApiDcimPowerPortsTraceRetrieveRequest {
- r.depth = &depth
+func (r ApiDcimPowerPortsBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortsBulkPartialUpdateRequest {
+ r.format = &format
return r
}
-func (r ApiDcimPowerPortsTraceRetrieveRequest) Execute() (*PowerPort, *http.Response, error) {
- return r.ApiService.DcimPowerPortsTraceRetrieveExecute(r)
+func (r ApiDcimPowerPortsBulkPartialUpdateRequest) Execute() ([]PowerPort, *http.Response, error) {
+ return r.ApiService.DcimPowerPortsBulkPartialUpdateExecute(r)
}
/*
-DcimPowerPortsTraceRetrieve Method for DcimPowerPortsTraceRetrieve
+DcimPowerPortsBulkPartialUpdate Method for DcimPowerPortsBulkPartialUpdate
-Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination).
+Partial update a list of power port objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power port.
- @return ApiDcimPowerPortsTraceRetrieveRequest
+ @return ApiDcimPowerPortsBulkPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimPowerPortsTraceRetrieve(ctx context.Context, id string) ApiDcimPowerPortsTraceRetrieveRequest {
- return ApiDcimPowerPortsTraceRetrieveRequest{
+func (a *DcimAPIService) DcimPowerPortsBulkPartialUpdate(ctx context.Context) ApiDcimPowerPortsBulkPartialUpdateRequest {
+ return ApiDcimPowerPortsBulkPartialUpdateRequest{
ApiService: a,
ctx: ctx,
- id: id,
}
}
// Execute executes the request
-// @return PowerPort
-func (a *DcimAPIService) DcimPowerPortsTraceRetrieveExecute(r ApiDcimPowerPortsTraceRetrieveRequest) (*PowerPort, *http.Response, error) {
+// @return []PowerPort
+func (a *DcimAPIService) DcimPowerPortsBulkPartialUpdateExecute(r ApiDcimPowerPortsBulkPartialUpdateRequest) ([]PowerPort, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodGet
+ localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PowerPort
+ localVarReturnValue []PowerPort
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortsTraceRetrieve")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortsBulkPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-ports/{id}/trace/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+ localVarPath := localBasePath + "/dcim/power-ports/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
+ if r.patchedBulkWritablePowerPortRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritablePowerPortRequest is required and must be specified")
+ }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.depth != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
- } else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
- }
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -115388,6 +110342,8 @@ func (a *DcimAPIService) DcimPowerPortsTraceRetrieveExecute(r ApiDcimPowerPortsT
if localVarHTTPHeaderAccept != "" {
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
+ // body params
+ localVarPostBody = r.patchedBulkWritablePowerPortRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -115439,68 +110395,64 @@ func (a *DcimAPIService) DcimPowerPortsTraceRetrieveExecute(r ApiDcimPowerPortsT
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimPowerPortsUpdateRequest struct {
+type ApiDcimPowerPortsBulkUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- id string
- writablePowerPortRequest *WritablePowerPortRequest
+ bulkWritablePowerPortRequest *[]BulkWritablePowerPortRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimPowerPortsUpdateRequest) WritablePowerPortRequest(writablePowerPortRequest WritablePowerPortRequest) ApiDcimPowerPortsUpdateRequest {
- r.writablePowerPortRequest = &writablePowerPortRequest
+func (r ApiDcimPowerPortsBulkUpdateRequest) BulkWritablePowerPortRequest(bulkWritablePowerPortRequest []BulkWritablePowerPortRequest) ApiDcimPowerPortsBulkUpdateRequest {
+ r.bulkWritablePowerPortRequest = &bulkWritablePowerPortRequest
return r
}
-func (r ApiDcimPowerPortsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortsUpdateRequest {
+func (r ApiDcimPowerPortsBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortsBulkUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimPowerPortsUpdateRequest) Execute() (*PowerPort, *http.Response, error) {
- return r.ApiService.DcimPowerPortsUpdateExecute(r)
+func (r ApiDcimPowerPortsBulkUpdateRequest) Execute() ([]PowerPort, *http.Response, error) {
+ return r.ApiService.DcimPowerPortsBulkUpdateExecute(r)
}
/*
-DcimPowerPortsUpdate Method for DcimPowerPortsUpdate
+DcimPowerPortsBulkUpdate Method for DcimPowerPortsBulkUpdate
-Update a power port object.
+Update a list of power port objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this power port.
- @return ApiDcimPowerPortsUpdateRequest
+ @return ApiDcimPowerPortsBulkUpdateRequest
*/
-func (a *DcimAPIService) DcimPowerPortsUpdate(ctx context.Context, id string) ApiDcimPowerPortsUpdateRequest {
- return ApiDcimPowerPortsUpdateRequest{
+func (a *DcimAPIService) DcimPowerPortsBulkUpdate(ctx context.Context) ApiDcimPowerPortsBulkUpdateRequest {
+ return ApiDcimPowerPortsBulkUpdateRequest{
ApiService: a,
ctx: ctx,
- id: id,
}
}
// Execute executes the request
-// @return PowerPort
-func (a *DcimAPIService) DcimPowerPortsUpdateExecute(r ApiDcimPowerPortsUpdateRequest) (*PowerPort, *http.Response, error) {
+// @return []PowerPort
+func (a *DcimAPIService) DcimPowerPortsBulkUpdateExecute(r ApiDcimPowerPortsBulkUpdateRequest) ([]PowerPort, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PowerPort
+ localVarReturnValue []PowerPort
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortsUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortsBulkUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/power-ports/{id}/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+ localVarPath := localBasePath + "/dcim/power-ports/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.writablePowerPortRequest == nil {
- return localVarReturnValue, nil, reportError("writablePowerPortRequest is required and must be specified")
+ if r.bulkWritablePowerPortRequest == nil {
+ return localVarReturnValue, nil, reportError("bulkWritablePowerPortRequest is required and must be specified")
}
if r.format != nil {
@@ -115524,395 +110476,7 @@ func (a *DcimAPIService) DcimPowerPortsUpdateExecute(r ApiDcimPowerPortsUpdateRe
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.writablePowerPortRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiDcimRackGroupsBulkDestroyRequest struct {
- ctx context.Context
- ApiService *DcimAPIService
- bulkOperationRequest *[]BulkOperationRequest
- format *CircuitsCircuitTerminationsListFormatParameter
-}
-
-func (r ApiDcimRackGroupsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimRackGroupsBulkDestroyRequest {
- r.bulkOperationRequest = &bulkOperationRequest
- return r
-}
-
-func (r ApiDcimRackGroupsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackGroupsBulkDestroyRequest {
- r.format = &format
- return r
-}
-
-func (r ApiDcimRackGroupsBulkDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimRackGroupsBulkDestroyExecute(r)
-}
-
-/*
-DcimRackGroupsBulkDestroy Method for DcimRackGroupsBulkDestroy
-
-Destroy a list of rack group objects.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimRackGroupsBulkDestroyRequest
-*/
-func (a *DcimAPIService) DcimRackGroupsBulkDestroy(ctx context.Context) ApiDcimRackGroupsBulkDestroyRequest {
- return ApiDcimRackGroupsBulkDestroyRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-func (a *DcimAPIService) DcimRackGroupsBulkDestroyExecute(r ApiDcimRackGroupsBulkDestroyRequest) (*http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodDelete
- localVarPostBody interface{}
- formFiles []formFile
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackGroupsBulkDestroy")
- if err != nil {
- return nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/dcim/rack-groups/"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.bulkOperationRequest == nil {
- return nil, reportError("bulkOperationRequest is required and must be specified")
- }
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.bulkOperationRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarHTTPResponse, newErr
- }
-
- return localVarHTTPResponse, nil
-}
-
-type ApiDcimRackGroupsBulkPartialUpdateRequest struct {
- ctx context.Context
- ApiService *DcimAPIService
- patchedBulkWritableRackGroupRequest *[]PatchedBulkWritableRackGroupRequest
- format *CircuitsCircuitTerminationsListFormatParameter
-}
-
-func (r ApiDcimRackGroupsBulkPartialUpdateRequest) PatchedBulkWritableRackGroupRequest(patchedBulkWritableRackGroupRequest []PatchedBulkWritableRackGroupRequest) ApiDcimRackGroupsBulkPartialUpdateRequest {
- r.patchedBulkWritableRackGroupRequest = &patchedBulkWritableRackGroupRequest
- return r
-}
-
-func (r ApiDcimRackGroupsBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackGroupsBulkPartialUpdateRequest {
- r.format = &format
- return r
-}
-
-func (r ApiDcimRackGroupsBulkPartialUpdateRequest) Execute() ([]RackGroup, *http.Response, error) {
- return r.ApiService.DcimRackGroupsBulkPartialUpdateExecute(r)
-}
-
-/*
-DcimRackGroupsBulkPartialUpdate Method for DcimRackGroupsBulkPartialUpdate
-
-Partial update a list of rack group objects.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimRackGroupsBulkPartialUpdateRequest
-*/
-func (a *DcimAPIService) DcimRackGroupsBulkPartialUpdate(ctx context.Context) ApiDcimRackGroupsBulkPartialUpdateRequest {
- return ApiDcimRackGroupsBulkPartialUpdateRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-// @return []RackGroup
-func (a *DcimAPIService) DcimRackGroupsBulkPartialUpdateExecute(r ApiDcimRackGroupsBulkPartialUpdateRequest) ([]RackGroup, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPatch
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue []RackGroup
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackGroupsBulkPartialUpdate")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/dcim/rack-groups/"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.patchedBulkWritableRackGroupRequest == nil {
- return localVarReturnValue, nil, reportError("patchedBulkWritableRackGroupRequest is required and must be specified")
- }
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.patchedBulkWritableRackGroupRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiDcimRackGroupsBulkUpdateRequest struct {
- ctx context.Context
- ApiService *DcimAPIService
- bulkWritableRackGroupRequest *[]BulkWritableRackGroupRequest
- format *CircuitsCircuitTerminationsListFormatParameter
-}
-
-func (r ApiDcimRackGroupsBulkUpdateRequest) BulkWritableRackGroupRequest(bulkWritableRackGroupRequest []BulkWritableRackGroupRequest) ApiDcimRackGroupsBulkUpdateRequest {
- r.bulkWritableRackGroupRequest = &bulkWritableRackGroupRequest
- return r
-}
-
-func (r ApiDcimRackGroupsBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackGroupsBulkUpdateRequest {
- r.format = &format
- return r
-}
-
-func (r ApiDcimRackGroupsBulkUpdateRequest) Execute() ([]RackGroup, *http.Response, error) {
- return r.ApiService.DcimRackGroupsBulkUpdateExecute(r)
-}
-
-/*
-DcimRackGroupsBulkUpdate Method for DcimRackGroupsBulkUpdate
-
-Update a list of rack group objects.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimRackGroupsBulkUpdateRequest
-*/
-func (a *DcimAPIService) DcimRackGroupsBulkUpdate(ctx context.Context) ApiDcimRackGroupsBulkUpdateRequest {
- return ApiDcimRackGroupsBulkUpdateRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-// @return []RackGroup
-func (a *DcimAPIService) DcimRackGroupsBulkUpdateExecute(r ApiDcimRackGroupsBulkUpdateRequest) ([]RackGroup, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPut
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue []RackGroup
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackGroupsBulkUpdate")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/dcim/rack-groups/"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.bulkWritableRackGroupRequest == nil {
- return localVarReturnValue, nil, reportError("bulkWritableRackGroupRequest is required and must be specified")
- }
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.bulkWritableRackGroupRequest
+ localVarPostBody = r.bulkWritablePowerPortRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -115964,64 +110528,64 @@ func (a *DcimAPIService) DcimRackGroupsBulkUpdateExecute(r ApiDcimRackGroupsBulk
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRackGroupsCreateRequest struct {
+type ApiDcimPowerPortsCreateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- rackGroupRequest *RackGroupRequest
+ writablePowerPortRequest *WritablePowerPortRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimRackGroupsCreateRequest) RackGroupRequest(rackGroupRequest RackGroupRequest) ApiDcimRackGroupsCreateRequest {
- r.rackGroupRequest = &rackGroupRequest
+func (r ApiDcimPowerPortsCreateRequest) WritablePowerPortRequest(writablePowerPortRequest WritablePowerPortRequest) ApiDcimPowerPortsCreateRequest {
+ r.writablePowerPortRequest = &writablePowerPortRequest
return r
}
-func (r ApiDcimRackGroupsCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackGroupsCreateRequest {
+func (r ApiDcimPowerPortsCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortsCreateRequest {
r.format = &format
return r
}
-func (r ApiDcimRackGroupsCreateRequest) Execute() (*RackGroup, *http.Response, error) {
- return r.ApiService.DcimRackGroupsCreateExecute(r)
+func (r ApiDcimPowerPortsCreateRequest) Execute() (*PowerPort, *http.Response, error) {
+ return r.ApiService.DcimPowerPortsCreateExecute(r)
}
/*
-DcimRackGroupsCreate Method for DcimRackGroupsCreate
+DcimPowerPortsCreate Method for DcimPowerPortsCreate
-Create one or more rack group objects.
+Create one or more power port objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimRackGroupsCreateRequest
+ @return ApiDcimPowerPortsCreateRequest
*/
-func (a *DcimAPIService) DcimRackGroupsCreate(ctx context.Context) ApiDcimRackGroupsCreateRequest {
- return ApiDcimRackGroupsCreateRequest{
+func (a *DcimAPIService) DcimPowerPortsCreate(ctx context.Context) ApiDcimPowerPortsCreateRequest {
+ return ApiDcimPowerPortsCreateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return RackGroup
-func (a *DcimAPIService) DcimRackGroupsCreateExecute(r ApiDcimRackGroupsCreateRequest) (*RackGroup, *http.Response, error) {
+// @return PowerPort
+func (a *DcimAPIService) DcimPowerPortsCreateExecute(r ApiDcimPowerPortsCreateRequest) (*PowerPort, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *RackGroup
+ localVarReturnValue *PowerPort
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackGroupsCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortsCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rack-groups/"
+ localVarPath := localBasePath + "/dcim/power-ports/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.rackGroupRequest == nil {
- return localVarReturnValue, nil, reportError("rackGroupRequest is required and must be specified")
+ if r.writablePowerPortRequest == nil {
+ return localVarReturnValue, nil, reportError("writablePowerPortRequest is required and must be specified")
}
if r.format != nil {
@@ -116045,7 +110609,7 @@ func (a *DcimAPIService) DcimRackGroupsCreateExecute(r ApiDcimRackGroupsCreateRe
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.rackGroupRequest
+ localVarPostBody = r.writablePowerPortRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -116097,33 +110661,33 @@ func (a *DcimAPIService) DcimRackGroupsCreateExecute(r ApiDcimRackGroupsCreateRe
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRackGroupsDestroyRequest struct {
+type ApiDcimPowerPortsDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimRackGroupsDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackGroupsDestroyRequest {
+func (r ApiDcimPowerPortsDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortsDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimRackGroupsDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimRackGroupsDestroyExecute(r)
+func (r ApiDcimPowerPortsDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimPowerPortsDestroyExecute(r)
}
/*
-DcimRackGroupsDestroy Method for DcimRackGroupsDestroy
+DcimPowerPortsDestroy Method for DcimPowerPortsDestroy
-Destroy a rack group object.
+Destroy a power port object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this rack group.
- @return ApiDcimRackGroupsDestroyRequest
+ @param id A UUID string identifying this power port.
+ @return ApiDcimPowerPortsDestroyRequest
*/
-func (a *DcimAPIService) DcimRackGroupsDestroy(ctx context.Context, id string) ApiDcimRackGroupsDestroyRequest {
- return ApiDcimRackGroupsDestroyRequest{
+func (a *DcimAPIService) DcimPowerPortsDestroy(ctx context.Context, id string) ApiDcimPowerPortsDestroyRequest {
+ return ApiDcimPowerPortsDestroyRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -116131,19 +110695,19 @@ func (a *DcimAPIService) DcimRackGroupsDestroy(ctx context.Context, id string) A
}
// Execute executes the request
-func (a *DcimAPIService) DcimRackGroupsDestroyExecute(r ApiDcimRackGroupsDestroyRequest) (*http.Response, error) {
+func (a *DcimAPIService) DcimPowerPortsDestroyExecute(r ApiDcimPowerPortsDestroyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackGroupsDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortsDestroy")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rack-groups/{id}/"
+ localVarPath := localBasePath + "/dcim/power-ports/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -116212,22 +110776,23 @@ func (a *DcimAPIService) DcimRackGroupsDestroyExecute(r ApiDcimRackGroupsDestroy
return localVarHTTPResponse, nil
}
-type ApiDcimRackGroupsListRequest struct {
+type ApiDcimPowerPortsListRequest struct {
ctx context.Context
ApiService *DcimAPIService
- children *[]string
- childrenIsnull *bool
- childrenN *[]string
+ allocatedDraw *[]int32
+ allocatedDrawGt *[]int32
+ allocatedDrawGte *[]int32
+ allocatedDrawIsnull *bool
+ allocatedDrawLt *[]int32
+ allocatedDrawLte *[]int32
+ allocatedDrawN *[]int32
+ cable *[]string
+ cableIsnull *bool
+ cableN *[]string
+ connected *bool
contacts *[]string
contactsIsnull *bool
- contactsN *string
- created *[]time.Time
- createdGt *[]time.Time
- createdGte *[]time.Time
- createdIsnull *bool
- createdLt *[]time.Time
- createdLte *[]time.Time
- createdN *[]time.Time
+ contactsN *[]string
description *[]string
descriptionIc *[]string
descriptionIe *[]string
@@ -116242,36 +110807,41 @@ type ApiDcimRackGroupsListRequest struct {
descriptionNisw *[]string
descriptionNre *[]string
descriptionRe *[]string
+ device *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
- hasChildren *bool
- hasPowerPanels *bool
- hasRacks *bool
+ hasCable *bool
+ hasPowerOutlets *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
- lastUpdated *[]time.Time
- lastUpdatedGt *[]time.Time
- lastUpdatedGte *[]time.Time
- lastUpdatedIsnull *bool
- lastUpdatedLt *[]time.Time
- lastUpdatedLte *[]time.Time
- lastUpdatedN *[]time.Time
+ label *[]string
+ labelIc *[]string
+ labelIe *[]string
+ labelIew *[]string
+ labelIre *[]string
+ labelIsw *[]string
+ labelN *[]string
+ labelNic *[]string
+ labelNie *[]string
+ labelNiew *[]string
+ labelNire *[]string
+ labelNisw *[]string
+ labelNre *[]string
+ labelRe *[]string
limit *int32
location *[]string
locationN *[]string
+ maximumDraw *[]int32
+ maximumDrawGt *[]int32
+ maximumDrawGte *[]int32
+ maximumDrawIsnull *bool
+ maximumDrawLt *[]int32
+ maximumDrawLte *[]int32
+ maximumDrawN *[]int32
+ module *[]string
+ moduleIsnull *bool
+ moduleN *[]string
name *[]string
nameIc *[]string
nameIe *[]string
@@ -116287,624 +110857,737 @@ type ApiDcimRackGroupsListRequest struct {
nameNre *[]string
nameRe *[]string
offset *int32
- parent *[]string
- parentIsnull *bool
- parentN *[]string
- powerPanels *[]string
- powerPanelsIsnull *bool
- powerPanelsN *[]string
+ powerOutlets *[]string
+ powerOutletsIsnull *bool
+ powerOutletsN *[]string
q *string
- racks *[]string
- racksIsnull *bool
- racksN *[]string
sort *string
+ tags *[]string
+ tagsIsnull *bool
+ tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
+ type_ *[]string
+ typeIc *[]string
+ typeIe *[]string
+ typeIew *[]string
+ typeIre *[]string
+ typeIsw *[]string
+ typeN *[]string
+ typeNic *[]string
+ typeNie *[]string
+ typeNiew *[]string
+ typeNire *[]string
+ typeNisw *[]string
+ typeNre *[]string
+ typeRe *[]string
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimRackGroupsListRequest) Children(children []string) ApiDcimRackGroupsListRequest {
- r.children = &children
+func (r ApiDcimPowerPortsListRequest) AllocatedDraw(allocatedDraw []int32) ApiDcimPowerPortsListRequest {
+ r.allocatedDraw = &allocatedDraw
return r
}
-// Children (name or ID) is null
-func (r ApiDcimRackGroupsListRequest) ChildrenIsnull(childrenIsnull bool) ApiDcimRackGroupsListRequest {
- r.childrenIsnull = &childrenIsnull
+func (r ApiDcimPowerPortsListRequest) AllocatedDrawGt(allocatedDrawGt []int32) ApiDcimPowerPortsListRequest {
+ r.allocatedDrawGt = &allocatedDrawGt
return r
}
-func (r ApiDcimRackGroupsListRequest) ChildrenN(childrenN []string) ApiDcimRackGroupsListRequest {
- r.childrenN = &childrenN
+func (r ApiDcimPowerPortsListRequest) AllocatedDrawGte(allocatedDrawGte []int32) ApiDcimPowerPortsListRequest {
+ r.allocatedDrawGte = &allocatedDrawGte
return r
}
-func (r ApiDcimRackGroupsListRequest) Contacts(contacts []string) ApiDcimRackGroupsListRequest {
- r.contacts = &contacts
+func (r ApiDcimPowerPortsListRequest) AllocatedDrawIsnull(allocatedDrawIsnull bool) ApiDcimPowerPortsListRequest {
+ r.allocatedDrawIsnull = &allocatedDrawIsnull
return r
}
-// Contacts (name or ID) is null
-func (r ApiDcimRackGroupsListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimRackGroupsListRequest {
- r.contactsIsnull = &contactsIsnull
+func (r ApiDcimPowerPortsListRequest) AllocatedDrawLt(allocatedDrawLt []int32) ApiDcimPowerPortsListRequest {
+ r.allocatedDrawLt = &allocatedDrawLt
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimRackGroupsListRequest) ContactsN(contactsN string) ApiDcimRackGroupsListRequest {
- r.contactsN = &contactsN
+func (r ApiDcimPowerPortsListRequest) AllocatedDrawLte(allocatedDrawLte []int32) ApiDcimPowerPortsListRequest {
+ r.allocatedDrawLte = &allocatedDrawLte
return r
}
-func (r ApiDcimRackGroupsListRequest) Created(created []time.Time) ApiDcimRackGroupsListRequest {
- r.created = &created
+func (r ApiDcimPowerPortsListRequest) AllocatedDrawN(allocatedDrawN []int32) ApiDcimPowerPortsListRequest {
+ r.allocatedDrawN = &allocatedDrawN
return r
}
-func (r ApiDcimRackGroupsListRequest) CreatedGt(createdGt []time.Time) ApiDcimRackGroupsListRequest {
- r.createdGt = &createdGt
+// Cable
+func (r ApiDcimPowerPortsListRequest) Cable(cable []string) ApiDcimPowerPortsListRequest {
+ r.cable = &cable
return r
}
-func (r ApiDcimRackGroupsListRequest) CreatedGte(createdGte []time.Time) ApiDcimRackGroupsListRequest {
- r.createdGte = &createdGte
+func (r ApiDcimPowerPortsListRequest) CableIsnull(cableIsnull bool) ApiDcimPowerPortsListRequest {
+ r.cableIsnull = &cableIsnull
return r
}
-func (r ApiDcimRackGroupsListRequest) CreatedIsnull(createdIsnull bool) ApiDcimRackGroupsListRequest {
- r.createdIsnull = &createdIsnull
+// Cable
+func (r ApiDcimPowerPortsListRequest) CableN(cableN []string) ApiDcimPowerPortsListRequest {
+ r.cableN = &cableN
return r
}
-func (r ApiDcimRackGroupsListRequest) CreatedLt(createdLt []time.Time) ApiDcimRackGroupsListRequest {
- r.createdLt = &createdLt
+// Connected status (bool)
+func (r ApiDcimPowerPortsListRequest) Connected(connected bool) ApiDcimPowerPortsListRequest {
+ r.connected = &connected
return r
}
-func (r ApiDcimRackGroupsListRequest) CreatedLte(createdLte []time.Time) ApiDcimRackGroupsListRequest {
- r.createdLte = &createdLte
+func (r ApiDcimPowerPortsListRequest) Contacts(contacts []string) ApiDcimPowerPortsListRequest {
+ r.contacts = &contacts
return r
}
-func (r ApiDcimRackGroupsListRequest) CreatedN(createdN []time.Time) ApiDcimRackGroupsListRequest {
- r.createdN = &createdN
+// Contacts (name or ID) is null
+func (r ApiDcimPowerPortsListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimPowerPortsListRequest {
+ r.contactsIsnull = &contactsIsnull
return r
}
-func (r ApiDcimRackGroupsListRequest) Description(description []string) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) ContactsN(contactsN []string) ApiDcimPowerPortsListRequest {
+ r.contactsN = &contactsN
+ return r
+}
+
+func (r ApiDcimPowerPortsListRequest) Description(description []string) ApiDcimPowerPortsListRequest {
r.description = &description
return r
}
-func (r ApiDcimRackGroupsListRequest) DescriptionIc(descriptionIc []string) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) DescriptionIc(descriptionIc []string) ApiDcimPowerPortsListRequest {
r.descriptionIc = &descriptionIc
return r
}
-func (r ApiDcimRackGroupsListRequest) DescriptionIe(descriptionIe []string) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) DescriptionIe(descriptionIe []string) ApiDcimPowerPortsListRequest {
r.descriptionIe = &descriptionIe
return r
}
-func (r ApiDcimRackGroupsListRequest) DescriptionIew(descriptionIew []string) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) DescriptionIew(descriptionIew []string) ApiDcimPowerPortsListRequest {
r.descriptionIew = &descriptionIew
return r
}
-func (r ApiDcimRackGroupsListRequest) DescriptionIre(descriptionIre []string) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) DescriptionIre(descriptionIre []string) ApiDcimPowerPortsListRequest {
r.descriptionIre = &descriptionIre
return r
}
-func (r ApiDcimRackGroupsListRequest) DescriptionIsw(descriptionIsw []string) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) DescriptionIsw(descriptionIsw []string) ApiDcimPowerPortsListRequest {
r.descriptionIsw = &descriptionIsw
return r
}
-func (r ApiDcimRackGroupsListRequest) DescriptionN(descriptionN []string) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) DescriptionN(descriptionN []string) ApiDcimPowerPortsListRequest {
r.descriptionN = &descriptionN
return r
}
-func (r ApiDcimRackGroupsListRequest) DescriptionNic(descriptionNic []string) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) DescriptionNic(descriptionNic []string) ApiDcimPowerPortsListRequest {
r.descriptionNic = &descriptionNic
return r
}
-func (r ApiDcimRackGroupsListRequest) DescriptionNie(descriptionNie []string) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) DescriptionNie(descriptionNie []string) ApiDcimPowerPortsListRequest {
r.descriptionNie = &descriptionNie
return r
}
-func (r ApiDcimRackGroupsListRequest) DescriptionNiew(descriptionNiew []string) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) DescriptionNiew(descriptionNiew []string) ApiDcimPowerPortsListRequest {
r.descriptionNiew = &descriptionNiew
return r
}
-func (r ApiDcimRackGroupsListRequest) DescriptionNire(descriptionNire []string) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) DescriptionNire(descriptionNire []string) ApiDcimPowerPortsListRequest {
r.descriptionNire = &descriptionNire
return r
}
-func (r ApiDcimRackGroupsListRequest) DescriptionNisw(descriptionNisw []string) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) DescriptionNisw(descriptionNisw []string) ApiDcimPowerPortsListRequest {
r.descriptionNisw = &descriptionNisw
return r
}
-func (r ApiDcimRackGroupsListRequest) DescriptionNre(descriptionNre []string) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) DescriptionNre(descriptionNre []string) ApiDcimPowerPortsListRequest {
r.descriptionNre = &descriptionNre
return r
}
-func (r ApiDcimRackGroupsListRequest) DescriptionRe(descriptionRe []string) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) DescriptionRe(descriptionRe []string) ApiDcimPowerPortsListRequest {
r.descriptionRe = &descriptionRe
return r
}
-func (r ApiDcimRackGroupsListRequest) DynamicGroups(dynamicGroups []string) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) Device(device []string) ApiDcimPowerPortsListRequest {
+ r.device = &device
+ return r
+}
+
+func (r ApiDcimPowerPortsListRequest) DynamicGroups(dynamicGroups []string) ApiDcimPowerPortsListRequest {
r.dynamicGroups = &dynamicGroups
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimRackGroupsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimPowerPortsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
-func (r ApiDcimRackGroupsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortsListRequest {
r.format = &format
return r
}
-// Has children
-func (r ApiDcimRackGroupsListRequest) HasChildren(hasChildren bool) ApiDcimRackGroupsListRequest {
- r.hasChildren = &hasChildren
+// Has cable
+func (r ApiDcimPowerPortsListRequest) HasCable(hasCable bool) ApiDcimPowerPortsListRequest {
+ r.hasCable = &hasCable
return r
}
-// Has power panels
-func (r ApiDcimRackGroupsListRequest) HasPowerPanels(hasPowerPanels bool) ApiDcimRackGroupsListRequest {
- r.hasPowerPanels = &hasPowerPanels
+// Has power outlets
+func (r ApiDcimPowerPortsListRequest) HasPowerOutlets(hasPowerOutlets bool) ApiDcimPowerPortsListRequest {
+ r.hasPowerOutlets = &hasPowerOutlets
return r
}
-// Has racks
-func (r ApiDcimRackGroupsListRequest) HasRacks(hasRacks bool) ApiDcimRackGroupsListRequest {
- r.hasRacks = &hasRacks
+// Unique object identifier, either a UUID primary key or a composite key.
+func (r ApiDcimPowerPortsListRequest) Id(id []string) ApiDcimPowerPortsListRequest {
+ r.id = &id
return r
}
-// Unique object identifier, either a UUID primary key or a composite key.
-func (r ApiDcimRackGroupsListRequest) Id(id []string) ApiDcimRackGroupsListRequest {
- r.id = &id
+func (r ApiDcimPowerPortsListRequest) IdN(idN []string) ApiDcimPowerPortsListRequest {
+ r.idN = &idN
return r
}
-func (r ApiDcimRackGroupsListRequest) IdIc(idIc []string) ApiDcimRackGroupsListRequest {
- r.idIc = &idIc
+func (r ApiDcimPowerPortsListRequest) Label(label []string) ApiDcimPowerPortsListRequest {
+ r.label = &label
return r
}
-func (r ApiDcimRackGroupsListRequest) IdIe(idIe []string) ApiDcimRackGroupsListRequest {
- r.idIe = &idIe
+func (r ApiDcimPowerPortsListRequest) LabelIc(labelIc []string) ApiDcimPowerPortsListRequest {
+ r.labelIc = &labelIc
return r
}
-func (r ApiDcimRackGroupsListRequest) IdIew(idIew []string) ApiDcimRackGroupsListRequest {
- r.idIew = &idIew
+func (r ApiDcimPowerPortsListRequest) LabelIe(labelIe []string) ApiDcimPowerPortsListRequest {
+ r.labelIe = &labelIe
return r
}
-func (r ApiDcimRackGroupsListRequest) IdIre(idIre []string) ApiDcimRackGroupsListRequest {
- r.idIre = &idIre
+func (r ApiDcimPowerPortsListRequest) LabelIew(labelIew []string) ApiDcimPowerPortsListRequest {
+ r.labelIew = &labelIew
return r
}
-func (r ApiDcimRackGroupsListRequest) IdIsw(idIsw []string) ApiDcimRackGroupsListRequest {
- r.idIsw = &idIsw
+func (r ApiDcimPowerPortsListRequest) LabelIre(labelIre []string) ApiDcimPowerPortsListRequest {
+ r.labelIre = &labelIre
return r
}
-func (r ApiDcimRackGroupsListRequest) IdN(idN []string) ApiDcimRackGroupsListRequest {
- r.idN = &idN
+func (r ApiDcimPowerPortsListRequest) LabelIsw(labelIsw []string) ApiDcimPowerPortsListRequest {
+ r.labelIsw = &labelIsw
return r
}
-func (r ApiDcimRackGroupsListRequest) IdNic(idNic []string) ApiDcimRackGroupsListRequest {
- r.idNic = &idNic
+func (r ApiDcimPowerPortsListRequest) LabelN(labelN []string) ApiDcimPowerPortsListRequest {
+ r.labelN = &labelN
return r
}
-func (r ApiDcimRackGroupsListRequest) IdNie(idNie []string) ApiDcimRackGroupsListRequest {
- r.idNie = &idNie
+func (r ApiDcimPowerPortsListRequest) LabelNic(labelNic []string) ApiDcimPowerPortsListRequest {
+ r.labelNic = &labelNic
return r
}
-func (r ApiDcimRackGroupsListRequest) IdNiew(idNiew []string) ApiDcimRackGroupsListRequest {
- r.idNiew = &idNiew
+func (r ApiDcimPowerPortsListRequest) LabelNie(labelNie []string) ApiDcimPowerPortsListRequest {
+ r.labelNie = &labelNie
return r
}
-func (r ApiDcimRackGroupsListRequest) IdNire(idNire []string) ApiDcimRackGroupsListRequest {
- r.idNire = &idNire
+func (r ApiDcimPowerPortsListRequest) LabelNiew(labelNiew []string) ApiDcimPowerPortsListRequest {
+ r.labelNiew = &labelNiew
return r
}
-func (r ApiDcimRackGroupsListRequest) IdNisw(idNisw []string) ApiDcimRackGroupsListRequest {
- r.idNisw = &idNisw
+func (r ApiDcimPowerPortsListRequest) LabelNire(labelNire []string) ApiDcimPowerPortsListRequest {
+ r.labelNire = &labelNire
return r
}
-func (r ApiDcimRackGroupsListRequest) IdNre(idNre []string) ApiDcimRackGroupsListRequest {
- r.idNre = &idNre
+func (r ApiDcimPowerPortsListRequest) LabelNisw(labelNisw []string) ApiDcimPowerPortsListRequest {
+ r.labelNisw = &labelNisw
return r
}
-func (r ApiDcimRackGroupsListRequest) IdRe(idRe []string) ApiDcimRackGroupsListRequest {
- r.idRe = &idRe
+func (r ApiDcimPowerPortsListRequest) LabelNre(labelNre []string) ApiDcimPowerPortsListRequest {
+ r.labelNre = &labelNre
return r
}
-func (r ApiDcimRackGroupsListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimRackGroupsListRequest {
- r.lastUpdated = &lastUpdated
+func (r ApiDcimPowerPortsListRequest) LabelRe(labelRe []string) ApiDcimPowerPortsListRequest {
+ r.labelRe = &labelRe
return r
}
-func (r ApiDcimRackGroupsListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiDcimRackGroupsListRequest {
- r.lastUpdatedGt = &lastUpdatedGt
+// Number of results to return per page.
+func (r ApiDcimPowerPortsListRequest) Limit(limit int32) ApiDcimPowerPortsListRequest {
+ r.limit = &limit
return r
}
-func (r ApiDcimRackGroupsListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiDcimRackGroupsListRequest {
- r.lastUpdatedGte = &lastUpdatedGte
+func (r ApiDcimPowerPortsListRequest) Location(location []string) ApiDcimPowerPortsListRequest {
+ r.location = &location
return r
}
-func (r ApiDcimRackGroupsListRequest) LastUpdatedIsnull(lastUpdatedIsnull bool) ApiDcimRackGroupsListRequest {
- r.lastUpdatedIsnull = &lastUpdatedIsnull
+func (r ApiDcimPowerPortsListRequest) LocationN(locationN []string) ApiDcimPowerPortsListRequest {
+ r.locationN = &locationN
return r
}
-func (r ApiDcimRackGroupsListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiDcimRackGroupsListRequest {
- r.lastUpdatedLt = &lastUpdatedLt
+func (r ApiDcimPowerPortsListRequest) MaximumDraw(maximumDraw []int32) ApiDcimPowerPortsListRequest {
+ r.maximumDraw = &maximumDraw
return r
}
-func (r ApiDcimRackGroupsListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiDcimRackGroupsListRequest {
- r.lastUpdatedLte = &lastUpdatedLte
+func (r ApiDcimPowerPortsListRequest) MaximumDrawGt(maximumDrawGt []int32) ApiDcimPowerPortsListRequest {
+ r.maximumDrawGt = &maximumDrawGt
return r
}
-func (r ApiDcimRackGroupsListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiDcimRackGroupsListRequest {
- r.lastUpdatedN = &lastUpdatedN
+func (r ApiDcimPowerPortsListRequest) MaximumDrawGte(maximumDrawGte []int32) ApiDcimPowerPortsListRequest {
+ r.maximumDrawGte = &maximumDrawGte
return r
}
-// Number of results to return per page.
-func (r ApiDcimRackGroupsListRequest) Limit(limit int32) ApiDcimRackGroupsListRequest {
- r.limit = &limit
+func (r ApiDcimPowerPortsListRequest) MaximumDrawIsnull(maximumDrawIsnull bool) ApiDcimPowerPortsListRequest {
+ r.maximumDrawIsnull = &maximumDrawIsnull
return r
}
-func (r ApiDcimRackGroupsListRequest) Location(location []string) ApiDcimRackGroupsListRequest {
- r.location = &location
+func (r ApiDcimPowerPortsListRequest) MaximumDrawLt(maximumDrawLt []int32) ApiDcimPowerPortsListRequest {
+ r.maximumDrawLt = &maximumDrawLt
return r
}
-func (r ApiDcimRackGroupsListRequest) LocationN(locationN []string) ApiDcimRackGroupsListRequest {
- r.locationN = &locationN
+func (r ApiDcimPowerPortsListRequest) MaximumDrawLte(maximumDrawLte []int32) ApiDcimPowerPortsListRequest {
+ r.maximumDrawLte = &maximumDrawLte
return r
}
-func (r ApiDcimRackGroupsListRequest) Name(name []string) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) MaximumDrawN(maximumDrawN []int32) ApiDcimPowerPortsListRequest {
+ r.maximumDrawN = &maximumDrawN
+ return r
+}
+
+func (r ApiDcimPowerPortsListRequest) Module(module []string) ApiDcimPowerPortsListRequest {
+ r.module = &module
+ return r
+}
+
+// Module (model or ID) is null
+func (r ApiDcimPowerPortsListRequest) ModuleIsnull(moduleIsnull bool) ApiDcimPowerPortsListRequest {
+ r.moduleIsnull = &moduleIsnull
+ return r
+}
+
+func (r ApiDcimPowerPortsListRequest) ModuleN(moduleN []string) ApiDcimPowerPortsListRequest {
+ r.moduleN = &moduleN
+ return r
+}
+
+func (r ApiDcimPowerPortsListRequest) Name(name []string) ApiDcimPowerPortsListRequest {
r.name = &name
return r
}
-func (r ApiDcimRackGroupsListRequest) NameIc(nameIc []string) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) NameIc(nameIc []string) ApiDcimPowerPortsListRequest {
r.nameIc = &nameIc
return r
}
-func (r ApiDcimRackGroupsListRequest) NameIe(nameIe []string) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) NameIe(nameIe []string) ApiDcimPowerPortsListRequest {
r.nameIe = &nameIe
return r
}
-func (r ApiDcimRackGroupsListRequest) NameIew(nameIew []string) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) NameIew(nameIew []string) ApiDcimPowerPortsListRequest {
r.nameIew = &nameIew
return r
}
-func (r ApiDcimRackGroupsListRequest) NameIre(nameIre []string) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) NameIre(nameIre []string) ApiDcimPowerPortsListRequest {
r.nameIre = &nameIre
return r
}
-func (r ApiDcimRackGroupsListRequest) NameIsw(nameIsw []string) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) NameIsw(nameIsw []string) ApiDcimPowerPortsListRequest {
r.nameIsw = &nameIsw
return r
}
-func (r ApiDcimRackGroupsListRequest) NameN(nameN []string) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) NameN(nameN []string) ApiDcimPowerPortsListRequest {
r.nameN = &nameN
return r
}
-func (r ApiDcimRackGroupsListRequest) NameNic(nameNic []string) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) NameNic(nameNic []string) ApiDcimPowerPortsListRequest {
r.nameNic = &nameNic
return r
}
-func (r ApiDcimRackGroupsListRequest) NameNie(nameNie []string) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) NameNie(nameNie []string) ApiDcimPowerPortsListRequest {
r.nameNie = &nameNie
return r
}
-func (r ApiDcimRackGroupsListRequest) NameNiew(nameNiew []string) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) NameNiew(nameNiew []string) ApiDcimPowerPortsListRequest {
r.nameNiew = &nameNiew
return r
}
-func (r ApiDcimRackGroupsListRequest) NameNire(nameNire []string) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) NameNire(nameNire []string) ApiDcimPowerPortsListRequest {
r.nameNire = &nameNire
return r
}
-func (r ApiDcimRackGroupsListRequest) NameNisw(nameNisw []string) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) NameNisw(nameNisw []string) ApiDcimPowerPortsListRequest {
r.nameNisw = &nameNisw
return r
}
-func (r ApiDcimRackGroupsListRequest) NameNre(nameNre []string) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) NameNre(nameNre []string) ApiDcimPowerPortsListRequest {
r.nameNre = &nameNre
return r
}
-func (r ApiDcimRackGroupsListRequest) NameRe(nameRe []string) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) NameRe(nameRe []string) ApiDcimPowerPortsListRequest {
r.nameRe = &nameRe
return r
}
// The initial index from which to return the results.
-func (r ApiDcimRackGroupsListRequest) Offset(offset int32) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) Offset(offset int32) ApiDcimPowerPortsListRequest {
r.offset = &offset
return r
}
-func (r ApiDcimRackGroupsListRequest) Parent(parent []string) ApiDcimRackGroupsListRequest {
- r.parent = &parent
+func (r ApiDcimPowerPortsListRequest) PowerOutlets(powerOutlets []string) ApiDcimPowerPortsListRequest {
+ r.powerOutlets = &powerOutlets
return r
}
-// Parent (name or ID) is null
-func (r ApiDcimRackGroupsListRequest) ParentIsnull(parentIsnull bool) ApiDcimRackGroupsListRequest {
- r.parentIsnull = &parentIsnull
+// Power outlets (name or ID) is null
+func (r ApiDcimPowerPortsListRequest) PowerOutletsIsnull(powerOutletsIsnull bool) ApiDcimPowerPortsListRequest {
+ r.powerOutletsIsnull = &powerOutletsIsnull
return r
}
-func (r ApiDcimRackGroupsListRequest) ParentN(parentN []string) ApiDcimRackGroupsListRequest {
- r.parentN = &parentN
+func (r ApiDcimPowerPortsListRequest) PowerOutletsN(powerOutletsN []string) ApiDcimPowerPortsListRequest {
+ r.powerOutletsN = &powerOutletsN
return r
}
-func (r ApiDcimRackGroupsListRequest) PowerPanels(powerPanels []string) ApiDcimRackGroupsListRequest {
- r.powerPanels = &powerPanels
+// Search
+func (r ApiDcimPowerPortsListRequest) Q(q string) ApiDcimPowerPortsListRequest {
+ r.q = &q
return r
}
-// Power panels (name or ID) is null
-func (r ApiDcimRackGroupsListRequest) PowerPanelsIsnull(powerPanelsIsnull bool) ApiDcimRackGroupsListRequest {
- r.powerPanelsIsnull = &powerPanelsIsnull
+// Which field to use when ordering the results.
+func (r ApiDcimPowerPortsListRequest) Sort(sort string) ApiDcimPowerPortsListRequest {
+ r.sort = &sort
return r
}
-func (r ApiDcimRackGroupsListRequest) PowerPanelsN(powerPanelsN []string) ApiDcimRackGroupsListRequest {
- r.powerPanelsN = &powerPanelsN
+func (r ApiDcimPowerPortsListRequest) Tags(tags []string) ApiDcimPowerPortsListRequest {
+ r.tags = &tags
return r
}
-// Search
-func (r ApiDcimRackGroupsListRequest) Q(q string) ApiDcimRackGroupsListRequest {
- r.q = &q
+func (r ApiDcimPowerPortsListRequest) TagsIsnull(tagsIsnull bool) ApiDcimPowerPortsListRequest {
+ r.tagsIsnull = &tagsIsnull
return r
}
-func (r ApiDcimRackGroupsListRequest) Racks(racks []string) ApiDcimRackGroupsListRequest {
- r.racks = &racks
+func (r ApiDcimPowerPortsListRequest) TagsN(tagsN []string) ApiDcimPowerPortsListRequest {
+ r.tagsN = &tagsN
return r
}
-func (r ApiDcimRackGroupsListRequest) RacksIsnull(racksIsnull bool) ApiDcimRackGroupsListRequest {
- r.racksIsnull = &racksIsnull
+func (r ApiDcimPowerPortsListRequest) Teams(teams []string) ApiDcimPowerPortsListRequest {
+ r.teams = &teams
return r
}
-func (r ApiDcimRackGroupsListRequest) RacksN(racksN []string) ApiDcimRackGroupsListRequest {
- r.racksN = &racksN
+// Teams (name or ID) is null
+func (r ApiDcimPowerPortsListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimPowerPortsListRequest {
+ r.teamsIsnull = &teamsIsnull
return r
}
-// Which field to use when ordering the results.
-func (r ApiDcimRackGroupsListRequest) Sort(sort string) ApiDcimRackGroupsListRequest {
- r.sort = &sort
+func (r ApiDcimPowerPortsListRequest) TeamsN(teamsN []string) ApiDcimPowerPortsListRequest {
+ r.teamsN = &teamsN
return r
}
-func (r ApiDcimRackGroupsListRequest) Teams(teams []string) ApiDcimRackGroupsListRequest {
- r.teams = &teams
+// Physical port type
+func (r ApiDcimPowerPortsListRequest) Type_(type_ []string) ApiDcimPowerPortsListRequest {
+ r.type_ = &type_
return r
}
-// Teams (name or ID) is null
-func (r ApiDcimRackGroupsListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimRackGroupsListRequest {
- r.teamsIsnull = &teamsIsnull
+func (r ApiDcimPowerPortsListRequest) TypeIc(typeIc []string) ApiDcimPowerPortsListRequest {
+ r.typeIc = &typeIc
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimRackGroupsListRequest) TeamsN(teamsN string) ApiDcimRackGroupsListRequest {
- r.teamsN = &teamsN
+func (r ApiDcimPowerPortsListRequest) TypeIe(typeIe []string) ApiDcimPowerPortsListRequest {
+ r.typeIe = &typeIe
+ return r
+}
+
+func (r ApiDcimPowerPortsListRequest) TypeIew(typeIew []string) ApiDcimPowerPortsListRequest {
+ r.typeIew = &typeIew
+ return r
+}
+
+func (r ApiDcimPowerPortsListRequest) TypeIre(typeIre []string) ApiDcimPowerPortsListRequest {
+ r.typeIre = &typeIre
+ return r
+}
+
+func (r ApiDcimPowerPortsListRequest) TypeIsw(typeIsw []string) ApiDcimPowerPortsListRequest {
+ r.typeIsw = &typeIsw
+ return r
+}
+
+func (r ApiDcimPowerPortsListRequest) TypeN(typeN []string) ApiDcimPowerPortsListRequest {
+ r.typeN = &typeN
+ return r
+}
+
+func (r ApiDcimPowerPortsListRequest) TypeNic(typeNic []string) ApiDcimPowerPortsListRequest {
+ r.typeNic = &typeNic
+ return r
+}
+
+func (r ApiDcimPowerPortsListRequest) TypeNie(typeNie []string) ApiDcimPowerPortsListRequest {
+ r.typeNie = &typeNie
+ return r
+}
+
+func (r ApiDcimPowerPortsListRequest) TypeNiew(typeNiew []string) ApiDcimPowerPortsListRequest {
+ r.typeNiew = &typeNiew
+ return r
+}
+
+func (r ApiDcimPowerPortsListRequest) TypeNire(typeNire []string) ApiDcimPowerPortsListRequest {
+ r.typeNire = &typeNire
+ return r
+}
+
+func (r ApiDcimPowerPortsListRequest) TypeNisw(typeNisw []string) ApiDcimPowerPortsListRequest {
+ r.typeNisw = &typeNisw
+ return r
+}
+
+func (r ApiDcimPowerPortsListRequest) TypeNre(typeNre []string) ApiDcimPowerPortsListRequest {
+ r.typeNre = &typeNre
+ return r
+}
+
+func (r ApiDcimPowerPortsListRequest) TypeRe(typeRe []string) ApiDcimPowerPortsListRequest {
+ r.typeRe = &typeRe
return r
}
// Serializer Depth
-func (r ApiDcimRackGroupsListRequest) Depth(depth int32) ApiDcimRackGroupsListRequest {
+func (r ApiDcimPowerPortsListRequest) Depth(depth int32) ApiDcimPowerPortsListRequest {
r.depth = &depth
return r
}
-func (r ApiDcimRackGroupsListRequest) Execute() (*PaginatedRackGroupList, *http.Response, error) {
- return r.ApiService.DcimRackGroupsListExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimPowerPortsListRequest) ExcludeM2m(excludeM2m bool) ApiDcimPowerPortsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimPowerPortsListRequest) Execute() (*PaginatedPowerPortList, *http.Response, error) {
+ return r.ApiService.DcimPowerPortsListExecute(r)
}
/*
-DcimRackGroupsList Method for DcimRackGroupsList
+DcimPowerPortsList Method for DcimPowerPortsList
-Retrieve a list of rack group objects.
+Retrieve a list of power port objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimRackGroupsListRequest
+ @return ApiDcimPowerPortsListRequest
*/
-func (a *DcimAPIService) DcimRackGroupsList(ctx context.Context) ApiDcimRackGroupsListRequest {
- return ApiDcimRackGroupsListRequest{
+func (a *DcimAPIService) DcimPowerPortsList(ctx context.Context) ApiDcimPowerPortsListRequest {
+ return ApiDcimPowerPortsListRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return PaginatedRackGroupList
-func (a *DcimAPIService) DcimRackGroupsListExecute(r ApiDcimRackGroupsListRequest) (*PaginatedRackGroupList, *http.Response, error) {
+// @return PaginatedPowerPortList
+func (a *DcimAPIService) DcimPowerPortsListExecute(r ApiDcimPowerPortsListRequest) (*PaginatedPowerPortList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PaginatedRackGroupList
+ localVarReturnValue *PaginatedPowerPortList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackGroupsList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortsList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rack-groups/"
+ localVarPath := localBasePath + "/dcim/power-ports/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.children != nil {
- t := *r.children
+ if r.allocatedDraw != nil {
+ t := *r.allocatedDraw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "children", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "allocated_draw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "children", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "allocated_draw", t, "form", "multi")
}
}
- if r.childrenIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "children__isnull", r.childrenIsnull, "form", "")
- }
- if r.childrenN != nil {
- t := *r.childrenN
+ if r.allocatedDrawGt != nil {
+ t := *r.allocatedDrawGt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "children__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "allocated_draw__gt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "children__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "allocated_draw__gt", t, "form", "multi")
}
}
- if r.contacts != nil {
- t := *r.contacts
+ if r.allocatedDrawGte != nil {
+ t := *r.allocatedDrawGte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "allocated_draw__gte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "allocated_draw__gte", t, "form", "multi")
}
}
- if r.contactsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
- }
- if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ if r.allocatedDrawIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "allocated_draw__isnull", r.allocatedDrawIsnull, "form", "")
}
- if r.created != nil {
- t := *r.created
+ if r.allocatedDrawLt != nil {
+ t := *r.allocatedDrawLt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "allocated_draw__lt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "allocated_draw__lt", t, "form", "multi")
}
}
- if r.createdGt != nil {
- t := *r.createdGt
+ if r.allocatedDrawLte != nil {
+ t := *r.allocatedDrawLte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "allocated_draw__lte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "allocated_draw__lte", t, "form", "multi")
}
}
- if r.createdGte != nil {
- t := *r.createdGte
+ if r.allocatedDrawN != nil {
+ t := *r.allocatedDrawN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "allocated_draw__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "allocated_draw__n", t, "form", "multi")
}
}
- if r.createdIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__isnull", r.createdIsnull, "form", "")
- }
- if r.createdLt != nil {
- t := *r.createdLt
+ if r.cable != nil {
+ t := *r.cable
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "cable", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "cable", t, "form", "multi")
}
}
- if r.createdLte != nil {
- t := *r.createdLte
+ if r.cableIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "cable__isnull", r.cableIsnull, "form", "")
+ }
+ if r.cableN != nil {
+ t := *r.cableN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "cable__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "cable__n", t, "form", "multi")
}
}
- if r.createdN != nil {
- t := *r.createdN
+ if r.connected != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "connected", r.connected, "form", "")
+ }
+ if r.contacts != nil {
+ t := *r.contacts
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", t, "form", "multi")
+ }
+ }
+ if r.contactsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
+ }
+ if r.contactsN != nil {
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
}
}
if r.description != nil {
@@ -117061,6 +111744,17 @@ func (a *DcimAPIService) DcimRackGroupsListExecute(r ApiDcimRackGroupsListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", t, "form", "multi")
}
}
+ if r.device != nil {
+ t := *r.device
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device", t, "form", "multi")
+ }
+ }
if r.dynamicGroups != nil {
t := *r.dynamicGroups
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -117073,19 +111767,24 @@ func (a *DcimAPIService) DcimRackGroupsListExecute(r ApiDcimRackGroupsListReques
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.hasChildren != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_children", r.hasChildren, "form", "")
- }
- if r.hasPowerPanels != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_power_panels", r.hasPowerPanels, "form", "")
+ if r.hasCable != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_cable", r.hasCable, "form", "")
}
- if r.hasRacks != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_racks", r.hasRacks, "form", "")
+ if r.hasPowerOutlets != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_power_outlets", r.hasPowerOutlets, "form", "")
}
if r.id != nil {
t := *r.id
@@ -117098,241 +111797,288 @@ func (a *DcimAPIService) DcimRackGroupsListExecute(r ApiDcimRackGroupsListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
+ if r.idN != nil {
+ t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idIe != nil {
- t := *r.idIe
+ if r.label != nil {
+ t := *r.label
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label", t, "form", "multi")
}
}
- if r.idIew != nil {
- t := *r.idIew
+ if r.labelIc != nil {
+ t := *r.labelIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__ic", t, "form", "multi")
}
}
- if r.idIre != nil {
- t := *r.idIre
+ if r.labelIe != nil {
+ t := *r.labelIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__ie", t, "form", "multi")
}
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.labelIew != nil {
+ t := *r.labelIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__iew", t, "form", "multi")
}
}
- if r.idN != nil {
- t := *r.idN
+ if r.labelIre != nil {
+ t := *r.labelIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__ire", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
+ if r.labelIsw != nil {
+ t := *r.labelIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__isw", t, "form", "multi")
}
}
- if r.idNie != nil {
- t := *r.idNie
+ if r.labelN != nil {
+ t := *r.labelN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__n", t, "form", "multi")
}
}
- if r.idNiew != nil {
- t := *r.idNiew
+ if r.labelNic != nil {
+ t := *r.labelNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__nic", t, "form", "multi")
}
}
- if r.idNire != nil {
- t := *r.idNire
+ if r.labelNie != nil {
+ t := *r.labelNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__nie", t, "form", "multi")
}
}
- if r.idNisw != nil {
- t := *r.idNisw
+ if r.labelNiew != nil {
+ t := *r.labelNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__niew", t, "form", "multi")
}
}
- if r.idNre != nil {
- t := *r.idNre
+ if r.labelNire != nil {
+ t := *r.labelNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__nire", t, "form", "multi")
}
}
- if r.idRe != nil {
- t := *r.idRe
+ if r.labelNisw != nil {
+ t := *r.labelNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__nisw", t, "form", "multi")
}
}
- if r.lastUpdated != nil {
- t := *r.lastUpdated
+ if r.labelNre != nil {
+ t := *r.labelNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__nre", t, "form", "multi")
}
}
- if r.lastUpdatedGt != nil {
- t := *r.lastUpdatedGt
+ if r.labelRe != nil {
+ t := *r.labelRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__re", t, "form", "multi")
}
}
- if r.lastUpdatedGte != nil {
- t := *r.lastUpdatedGte
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ }
+ if r.location != nil {
+ t := *r.location
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location", t, "form", "multi")
}
}
- if r.lastUpdatedIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__isnull", r.lastUpdatedIsnull, "form", "")
+ if r.locationN != nil {
+ t := *r.locationN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", t, "form", "multi")
+ }
}
- if r.lastUpdatedLt != nil {
- t := *r.lastUpdatedLt
+ if r.maximumDraw != nil {
+ t := *r.maximumDraw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "maximum_draw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "maximum_draw", t, "form", "multi")
}
}
- if r.lastUpdatedLte != nil {
- t := *r.lastUpdatedLte
+ if r.maximumDrawGt != nil {
+ t := *r.maximumDrawGt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "maximum_draw__gt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "maximum_draw__gt", t, "form", "multi")
}
}
- if r.lastUpdatedN != nil {
- t := *r.lastUpdatedN
+ if r.maximumDrawGte != nil {
+ t := *r.maximumDrawGte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "maximum_draw__gte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "maximum_draw__gte", t, "form", "multi")
}
}
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ if r.maximumDrawIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "maximum_draw__isnull", r.maximumDrawIsnull, "form", "")
}
- if r.location != nil {
- t := *r.location
+ if r.maximumDrawLt != nil {
+ t := *r.maximumDrawLt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "maximum_draw__lt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "maximum_draw__lt", t, "form", "multi")
}
}
- if r.locationN != nil {
- t := *r.locationN
+ if r.maximumDrawLte != nil {
+ t := *r.maximumDrawLte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "maximum_draw__lte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "maximum_draw__lte", t, "form", "multi")
+ }
+ }
+ if r.maximumDrawN != nil {
+ t := *r.maximumDrawN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "maximum_draw__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "maximum_draw__n", t, "form", "multi")
+ }
+ }
+ if r.module != nil {
+ t := *r.module
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module", t, "form", "multi")
+ }
+ }
+ if r.moduleIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module__isnull", r.moduleIsnull, "form", "")
+ }
+ if r.moduleN != nil {
+ t := *r.moduleN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module__n", t, "form", "multi")
}
}
if r.name != nil {
@@ -117492,109 +112238,254 @@ func (a *DcimAPIService) DcimRackGroupsListExecute(r ApiDcimRackGroupsListReques
if r.offset != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
}
- if r.parent != nil {
- t := *r.parent
+ if r.powerOutlets != nil {
+ t := *r.powerOutlets
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "parent", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlets", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "parent", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlets", t, "form", "multi")
}
}
- if r.parentIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "parent__isnull", r.parentIsnull, "form", "")
+ if r.powerOutletsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlets__isnull", r.powerOutletsIsnull, "form", "")
}
- if r.parentN != nil {
- t := *r.parentN
+ if r.powerOutletsN != nil {
+ t := *r.powerOutletsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "parent__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlets__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "parent__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_outlets__n", t, "form", "multi")
}
}
- if r.powerPanels != nil {
- t := *r.powerPanels
+ if r.q != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
+ }
+ if r.sort != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
+ }
+ if r.tags != nil {
+ t := *r.tags
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_panels", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_panels", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags", t, "form", "multi")
}
}
- if r.powerPanelsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_panels__isnull", r.powerPanelsIsnull, "form", "")
+ if r.tagsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__isnull", r.tagsIsnull, "form", "")
}
- if r.powerPanelsN != nil {
- t := *r.powerPanelsN
+ if r.tagsN != nil {
+ t := *r.tagsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_panels__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_panels__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", t, "form", "multi")
}
}
- if r.q != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
+ if r.teams != nil {
+ t := *r.teams
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams", t, "form", "multi")
+ }
}
- if r.racks != nil {
- t := *r.racks
+ if r.teamsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
+ }
+ if r.teamsN != nil {
+ t := *r.teamsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "racks", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "racks", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
}
}
- if r.racksIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "racks__isnull", r.racksIsnull, "form", "")
+ if r.type_ != nil {
+ t := *r.type_
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type", t, "form", "multi")
+ }
}
- if r.racksN != nil {
- t := *r.racksN
+ if r.typeIc != nil {
+ t := *r.typeIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "racks__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "racks__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__ic", t, "form", "multi")
}
}
- if r.sort != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
+ if r.typeIe != nil {
+ t := *r.typeIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__ie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__ie", t, "form", "multi")
+ }
}
- if r.teams != nil {
- t := *r.teams
+ if r.typeIew != nil {
+ t := *r.typeIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__iew", t, "form", "multi")
}
}
- if r.teamsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
+ if r.typeIre != nil {
+ t := *r.typeIre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__ire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__ire", t, "form", "multi")
+ }
}
- if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ if r.typeIsw != nil {
+ t := *r.typeIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__isw", t, "form", "multi")
+ }
+ }
+ if r.typeN != nil {
+ t := *r.typeN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", t, "form", "multi")
+ }
+ }
+ if r.typeNic != nil {
+ t := *r.typeNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nic", t, "form", "multi")
+ }
+ }
+ if r.typeNie != nil {
+ t := *r.typeNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nie", t, "form", "multi")
+ }
+ }
+ if r.typeNiew != nil {
+ t := *r.typeNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__niew", t, "form", "multi")
+ }
+ }
+ if r.typeNire != nil {
+ t := *r.typeNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nire", t, "form", "multi")
+ }
+ }
+ if r.typeNisw != nil {
+ t := *r.typeNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nisw", t, "form", "multi")
+ }
+ }
+ if r.typeNre != nil {
+ t := *r.typeNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nre", t, "form", "multi")
+ }
+ }
+ if r.typeRe != nil {
+ t := *r.typeRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__re", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -117664,7 +112555,7 @@ func (a *DcimAPIService) DcimRackGroupsListExecute(r ApiDcimRackGroupsListReques
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRackGroupsNotesCreateRequest struct {
+type ApiDcimPowerPortsNotesCreateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
@@ -117672,31 +112563,31 @@ type ApiDcimRackGroupsNotesCreateRequest struct {
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimRackGroupsNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimRackGroupsNotesCreateRequest {
+func (r ApiDcimPowerPortsNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimPowerPortsNotesCreateRequest {
r.noteInputRequest = ¬eInputRequest
return r
}
-func (r ApiDcimRackGroupsNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackGroupsNotesCreateRequest {
+func (r ApiDcimPowerPortsNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortsNotesCreateRequest {
r.format = &format
return r
}
-func (r ApiDcimRackGroupsNotesCreateRequest) Execute() (*Note, *http.Response, error) {
- return r.ApiService.DcimRackGroupsNotesCreateExecute(r)
+func (r ApiDcimPowerPortsNotesCreateRequest) Execute() (*Note, *http.Response, error) {
+ return r.ApiService.DcimPowerPortsNotesCreateExecute(r)
}
/*
-DcimRackGroupsNotesCreate Method for DcimRackGroupsNotesCreate
+DcimPowerPortsNotesCreate Method for DcimPowerPortsNotesCreate
API methods for returning or creating notes on an object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this rack group.
- @return ApiDcimRackGroupsNotesCreateRequest
+ @param id A UUID string identifying this power port.
+ @return ApiDcimPowerPortsNotesCreateRequest
*/
-func (a *DcimAPIService) DcimRackGroupsNotesCreate(ctx context.Context, id string) ApiDcimRackGroupsNotesCreateRequest {
- return ApiDcimRackGroupsNotesCreateRequest{
+func (a *DcimAPIService) DcimPowerPortsNotesCreate(ctx context.Context, id string) ApiDcimPowerPortsNotesCreateRequest {
+ return ApiDcimPowerPortsNotesCreateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -117705,7 +112596,7 @@ func (a *DcimAPIService) DcimRackGroupsNotesCreate(ctx context.Context, id strin
// Execute executes the request
// @return Note
-func (a *DcimAPIService) DcimRackGroupsNotesCreateExecute(r ApiDcimRackGroupsNotesCreateRequest) (*Note, *http.Response, error) {
+func (a *DcimAPIService) DcimPowerPortsNotesCreateExecute(r ApiDcimPowerPortsNotesCreateRequest) (*Note, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -117713,12 +112604,12 @@ func (a *DcimAPIService) DcimRackGroupsNotesCreateExecute(r ApiDcimRackGroupsNot
localVarReturnValue *Note
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackGroupsNotesCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortsNotesCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rack-groups/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/power-ports/{id}/notes/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -117801,7 +112692,7 @@ func (a *DcimAPIService) DcimRackGroupsNotesCreateExecute(r ApiDcimRackGroupsNot
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRackGroupsNotesListRequest struct {
+type ApiDcimPowerPortsNotesListRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
@@ -117809,46 +112700,53 @@ type ApiDcimRackGroupsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimRackGroupsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackGroupsNotesListRequest {
+func (r ApiDcimPowerPortsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortsNotesListRequest {
r.format = &format
return r
}
// Number of results to return per page.
-func (r ApiDcimRackGroupsNotesListRequest) Limit(limit int32) ApiDcimRackGroupsNotesListRequest {
+func (r ApiDcimPowerPortsNotesListRequest) Limit(limit int32) ApiDcimPowerPortsNotesListRequest {
r.limit = &limit
return r
}
// The initial index from which to return the results.
-func (r ApiDcimRackGroupsNotesListRequest) Offset(offset int32) ApiDcimRackGroupsNotesListRequest {
+func (r ApiDcimPowerPortsNotesListRequest) Offset(offset int32) ApiDcimPowerPortsNotesListRequest {
r.offset = &offset
return r
}
// Serializer Depth
-func (r ApiDcimRackGroupsNotesListRequest) Depth(depth int32) ApiDcimRackGroupsNotesListRequest {
+func (r ApiDcimPowerPortsNotesListRequest) Depth(depth int32) ApiDcimPowerPortsNotesListRequest {
r.depth = &depth
return r
}
-func (r ApiDcimRackGroupsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
- return r.ApiService.DcimRackGroupsNotesListExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimPowerPortsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimPowerPortsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimPowerPortsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
+ return r.ApiService.DcimPowerPortsNotesListExecute(r)
}
/*
-DcimRackGroupsNotesList Method for DcimRackGroupsNotesList
+DcimPowerPortsNotesList Method for DcimPowerPortsNotesList
API methods for returning or creating notes on an object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this rack group.
- @return ApiDcimRackGroupsNotesListRequest
+ @param id A UUID string identifying this power port.
+ @return ApiDcimPowerPortsNotesListRequest
*/
-func (a *DcimAPIService) DcimRackGroupsNotesList(ctx context.Context, id string) ApiDcimRackGroupsNotesListRequest {
- return ApiDcimRackGroupsNotesListRequest{
+func (a *DcimAPIService) DcimPowerPortsNotesList(ctx context.Context, id string) ApiDcimPowerPortsNotesListRequest {
+ return ApiDcimPowerPortsNotesListRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -117857,7 +112755,7 @@ func (a *DcimAPIService) DcimRackGroupsNotesList(ctx context.Context, id string)
// Execute executes the request
// @return PaginatedNoteList
-func (a *DcimAPIService) DcimRackGroupsNotesListExecute(r ApiDcimRackGroupsNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
+func (a *DcimAPIService) DcimPowerPortsNotesListExecute(r ApiDcimPowerPortsNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -117865,12 +112763,12 @@ func (a *DcimAPIService) DcimRackGroupsNotesListExecute(r ApiDcimRackGroupsNotes
localVarReturnValue *PaginatedNoteList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackGroupsNotesList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortsNotesList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rack-groups/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/power-ports/{id}/notes/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -117889,8 +112787,16 @@ func (a *DcimAPIService) DcimRackGroupsNotesListExecute(r ApiDcimRackGroupsNotes
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -117960,39 +112866,39 @@ func (a *DcimAPIService) DcimRackGroupsNotesListExecute(r ApiDcimRackGroupsNotes
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRackGroupsPartialUpdateRequest struct {
+type ApiDcimPowerPortsPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
- patchedRackGroupRequest *PatchedRackGroupRequest
+ patchedWritablePowerPortRequest *PatchedWritablePowerPortRequest
}
-func (r ApiDcimRackGroupsPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackGroupsPartialUpdateRequest {
+func (r ApiDcimPowerPortsPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortsPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimRackGroupsPartialUpdateRequest) PatchedRackGroupRequest(patchedRackGroupRequest PatchedRackGroupRequest) ApiDcimRackGroupsPartialUpdateRequest {
- r.patchedRackGroupRequest = &patchedRackGroupRequest
+func (r ApiDcimPowerPortsPartialUpdateRequest) PatchedWritablePowerPortRequest(patchedWritablePowerPortRequest PatchedWritablePowerPortRequest) ApiDcimPowerPortsPartialUpdateRequest {
+ r.patchedWritablePowerPortRequest = &patchedWritablePowerPortRequest
return r
}
-func (r ApiDcimRackGroupsPartialUpdateRequest) Execute() (*RackGroup, *http.Response, error) {
- return r.ApiService.DcimRackGroupsPartialUpdateExecute(r)
+func (r ApiDcimPowerPortsPartialUpdateRequest) Execute() (*PowerPort, *http.Response, error) {
+ return r.ApiService.DcimPowerPortsPartialUpdateExecute(r)
}
/*
-DcimRackGroupsPartialUpdate Method for DcimRackGroupsPartialUpdate
+DcimPowerPortsPartialUpdate Method for DcimPowerPortsPartialUpdate
-Partial update a rack group object.
+Partial update a power port object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this rack group.
- @return ApiDcimRackGroupsPartialUpdateRequest
+ @param id A UUID string identifying this power port.
+ @return ApiDcimPowerPortsPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimRackGroupsPartialUpdate(ctx context.Context, id string) ApiDcimRackGroupsPartialUpdateRequest {
- return ApiDcimRackGroupsPartialUpdateRequest{
+func (a *DcimAPIService) DcimPowerPortsPartialUpdate(ctx context.Context, id string) ApiDcimPowerPortsPartialUpdateRequest {
+ return ApiDcimPowerPortsPartialUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -118000,21 +112906,21 @@ func (a *DcimAPIService) DcimRackGroupsPartialUpdate(ctx context.Context, id str
}
// Execute executes the request
-// @return RackGroup
-func (a *DcimAPIService) DcimRackGroupsPartialUpdateExecute(r ApiDcimRackGroupsPartialUpdateRequest) (*RackGroup, *http.Response, error) {
+// @return PowerPort
+func (a *DcimAPIService) DcimPowerPortsPartialUpdateExecute(r ApiDcimPowerPortsPartialUpdateRequest) (*PowerPort, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *RackGroup
+ localVarReturnValue *PowerPort
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackGroupsPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortsPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rack-groups/{id}/"
+ localVarPath := localBasePath + "/dcim/power-ports/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -118042,7 +112948,7 @@ func (a *DcimAPIService) DcimRackGroupsPartialUpdateExecute(r ApiDcimRackGroupsP
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedRackGroupRequest
+ localVarPostBody = r.patchedWritablePowerPortRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -118094,40 +113000,47 @@ func (a *DcimAPIService) DcimRackGroupsPartialUpdateExecute(r ApiDcimRackGroupsP
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRackGroupsRetrieveRequest struct {
+type ApiDcimPowerPortsRetrieveRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimRackGroupsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackGroupsRetrieveRequest {
+func (r ApiDcimPowerPortsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortsRetrieveRequest {
r.format = &format
return r
}
// Serializer Depth
-func (r ApiDcimRackGroupsRetrieveRequest) Depth(depth int32) ApiDcimRackGroupsRetrieveRequest {
+func (r ApiDcimPowerPortsRetrieveRequest) Depth(depth int32) ApiDcimPowerPortsRetrieveRequest {
r.depth = &depth
return r
}
-func (r ApiDcimRackGroupsRetrieveRequest) Execute() (*RackGroup, *http.Response, error) {
- return r.ApiService.DcimRackGroupsRetrieveExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimPowerPortsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimPowerPortsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimPowerPortsRetrieveRequest) Execute() (*PowerPort, *http.Response, error) {
+ return r.ApiService.DcimPowerPortsRetrieveExecute(r)
}
/*
-DcimRackGroupsRetrieve Method for DcimRackGroupsRetrieve
+DcimPowerPortsRetrieve Method for DcimPowerPortsRetrieve
-Retrieve a rack group object.
+Retrieve a power port object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this rack group.
- @return ApiDcimRackGroupsRetrieveRequest
+ @param id A UUID string identifying this power port.
+ @return ApiDcimPowerPortsRetrieveRequest
*/
-func (a *DcimAPIService) DcimRackGroupsRetrieve(ctx context.Context, id string) ApiDcimRackGroupsRetrieveRequest {
- return ApiDcimRackGroupsRetrieveRequest{
+func (a *DcimAPIService) DcimPowerPortsRetrieve(ctx context.Context, id string) ApiDcimPowerPortsRetrieveRequest {
+ return ApiDcimPowerPortsRetrieveRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -118135,21 +113048,21 @@ func (a *DcimAPIService) DcimRackGroupsRetrieve(ctx context.Context, id string)
}
// Execute executes the request
-// @return RackGroup
-func (a *DcimAPIService) DcimRackGroupsRetrieveExecute(r ApiDcimRackGroupsRetrieveRequest) (*RackGroup, *http.Response, error) {
+// @return PowerPort
+func (a *DcimAPIService) DcimPowerPortsRetrieveExecute(r ApiDcimPowerPortsRetrieveRequest) (*PowerPort, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *RackGroup
+ localVarReturnValue *PowerPort
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackGroupsRetrieve")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortsRetrieve")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rack-groups/{id}/"
+ localVarPath := localBasePath + "/dcim/power-ports/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -118162,8 +113075,16 @@ func (a *DcimAPIService) DcimRackGroupsRetrieveExecute(r ApiDcimRackGroupsRetrie
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -118233,39 +113154,47 @@ func (a *DcimAPIService) DcimRackGroupsRetrieveExecute(r ApiDcimRackGroupsRetrie
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRackGroupsUpdateRequest struct {
+type ApiDcimPowerPortsTraceRetrieveRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
- rackGroupRequest *RackGroupRequest
format *CircuitsCircuitTerminationsListFormatParameter
+ depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimRackGroupsUpdateRequest) RackGroupRequest(rackGroupRequest RackGroupRequest) ApiDcimRackGroupsUpdateRequest {
- r.rackGroupRequest = &rackGroupRequest
+func (r ApiDcimPowerPortsTraceRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortsTraceRetrieveRequest {
+ r.format = &format
return r
}
-func (r ApiDcimRackGroupsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackGroupsUpdateRequest {
- r.format = &format
+// Serializer Depth
+func (r ApiDcimPowerPortsTraceRetrieveRequest) Depth(depth int32) ApiDcimPowerPortsTraceRetrieveRequest {
+ r.depth = &depth
return r
}
-func (r ApiDcimRackGroupsUpdateRequest) Execute() (*RackGroup, *http.Response, error) {
- return r.ApiService.DcimRackGroupsUpdateExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimPowerPortsTraceRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimPowerPortsTraceRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimPowerPortsTraceRetrieveRequest) Execute() (*PowerPort, *http.Response, error) {
+ return r.ApiService.DcimPowerPortsTraceRetrieveExecute(r)
}
/*
-DcimRackGroupsUpdate Method for DcimRackGroupsUpdate
+DcimPowerPortsTraceRetrieve Method for DcimPowerPortsTraceRetrieve
-Update a rack group object.
+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 UUID string identifying this rack group.
- @return ApiDcimRackGroupsUpdateRequest
+ @param id A UUID string identifying this power port.
+ @return ApiDcimPowerPortsTraceRetrieveRequest
*/
-func (a *DcimAPIService) DcimRackGroupsUpdate(ctx context.Context, id string) ApiDcimRackGroupsUpdateRequest {
- return ApiDcimRackGroupsUpdateRequest{
+func (a *DcimAPIService) DcimPowerPortsTraceRetrieve(ctx context.Context, id string) ApiDcimPowerPortsTraceRetrieveRequest {
+ return ApiDcimPowerPortsTraceRetrieveRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -118273,35 +113202,46 @@ func (a *DcimAPIService) DcimRackGroupsUpdate(ctx context.Context, id string) Ap
}
// Execute executes the request
-// @return RackGroup
-func (a *DcimAPIService) DcimRackGroupsUpdateExecute(r ApiDcimRackGroupsUpdateRequest) (*RackGroup, *http.Response, error) {
+// @return PowerPort
+func (a *DcimAPIService) DcimPowerPortsTraceRetrieveExecute(r ApiDcimPowerPortsTraceRetrieveRequest) (*PowerPort, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPut
+ localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *RackGroup
+ localVarReturnValue *PowerPort
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackGroupsUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortsTraceRetrieve")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rack-groups/{id}/"
+ localVarPath := localBasePath + "/dcim/power-ports/{id}/trace/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.rackGroupRequest == nil {
- return localVarReturnValue, nil, reportError("rackGroupRequest is required and must be specified")
- }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+ localVarHTTPContentTypes := []string{}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -118317,8 +113257,6 @@ func (a *DcimAPIService) DcimRackGroupsUpdateExecute(r ApiDcimRackGroupsUpdateRe
if localVarHTTPHeaderAccept != "" {
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
- // body params
- localVarPostBody = r.rackGroupRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -118370,62 +113308,68 @@ func (a *DcimAPIService) DcimRackGroupsUpdateExecute(r ApiDcimRackGroupsUpdateRe
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRackReservationsBulkDestroyRequest struct {
+type ApiDcimPowerPortsUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- bulkOperationRequest *[]BulkOperationRequest
+ id string
+ writablePowerPortRequest *WritablePowerPortRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimRackReservationsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimRackReservationsBulkDestroyRequest {
- r.bulkOperationRequest = &bulkOperationRequest
+func (r ApiDcimPowerPortsUpdateRequest) WritablePowerPortRequest(writablePowerPortRequest WritablePowerPortRequest) ApiDcimPowerPortsUpdateRequest {
+ r.writablePowerPortRequest = &writablePowerPortRequest
return r
}
-func (r ApiDcimRackReservationsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackReservationsBulkDestroyRequest {
+func (r ApiDcimPowerPortsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimPowerPortsUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimRackReservationsBulkDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimRackReservationsBulkDestroyExecute(r)
+func (r ApiDcimPowerPortsUpdateRequest) Execute() (*PowerPort, *http.Response, error) {
+ return r.ApiService.DcimPowerPortsUpdateExecute(r)
}
/*
-DcimRackReservationsBulkDestroy Method for DcimRackReservationsBulkDestroy
+DcimPowerPortsUpdate Method for DcimPowerPortsUpdate
-Destroy a list of rack reservation objects.
+Update a power port object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimRackReservationsBulkDestroyRequest
+ @param id A UUID string identifying this power port.
+ @return ApiDcimPowerPortsUpdateRequest
*/
-func (a *DcimAPIService) DcimRackReservationsBulkDestroy(ctx context.Context) ApiDcimRackReservationsBulkDestroyRequest {
- return ApiDcimRackReservationsBulkDestroyRequest{
+func (a *DcimAPIService) DcimPowerPortsUpdate(ctx context.Context, id string) ApiDcimPowerPortsUpdateRequest {
+ return ApiDcimPowerPortsUpdateRequest{
ApiService: a,
ctx: ctx,
+ id: id,
}
}
// Execute executes the request
-func (a *DcimAPIService) DcimRackReservationsBulkDestroyExecute(r ApiDcimRackReservationsBulkDestroyRequest) (*http.Response, error) {
+// @return PowerPort
+func (a *DcimAPIService) DcimPowerPortsUpdateExecute(r ApiDcimPowerPortsUpdateRequest) (*PowerPort, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodDelete
+ localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
+ localVarReturnValue *PowerPort
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackReservationsBulkDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimPowerPortsUpdate")
if err != nil {
- return nil, &GenericOpenAPIError{error: err.Error()}
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rack-reservations/"
+ localVarPath := localBasePath + "/dcim/power-ports/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.bulkOperationRequest == nil {
- return nil, reportError("bulkOperationRequest is required and must be specified")
+ if r.writablePowerPortRequest == nil {
+ return localVarReturnValue, nil, reportError("writablePowerPortRequest is required and must be specified")
}
if r.format != nil {
@@ -118441,7 +113385,7 @@ func (a *DcimAPIService) DcimRackReservationsBulkDestroyExecute(r ApiDcimRackRes
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{}
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -118449,7 +113393,7 @@ func (a *DcimAPIService) DcimRackReservationsBulkDestroyExecute(r ApiDcimRackRes
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.bulkOperationRequest
+ localVarPostBody = r.writablePowerPortRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -118466,19 +113410,19 @@ func (a *DcimAPIService) DcimRackReservationsBulkDestroyExecute(r ApiDcimRackRes
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
- return nil, err
+ return localVarReturnValue, nil, err
}
localVarHTTPResponse, err := a.client.callAPI(req)
if err != nil || localVarHTTPResponse == nil {
- return localVarHTTPResponse, err
+ return localVarReturnValue, localVarHTTPResponse, err
}
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
- return localVarHTTPResponse, err
+ return localVarReturnValue, localVarHTTPResponse, err
}
if localVarHTTPResponse.StatusCode >= 300 {
@@ -118486,70 +113430,77 @@ func (a *DcimAPIService) DcimRackReservationsBulkDestroyExecute(r ApiDcimRackRes
body: localVarBody,
error: localVarHTTPResponse.Status,
}
- return localVarHTTPResponse, newErr
+ return localVarReturnValue, localVarHTTPResponse, newErr
}
- return localVarHTTPResponse, nil
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRackReservationsBulkPartialUpdateRequest struct {
+type ApiDcimRackGroupsBulkDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
- patchedBulkWritableRackReservationRequest *[]PatchedBulkWritableRackReservationRequest
+ bulkOperationRequest *[]BulkOperationRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimRackReservationsBulkPartialUpdateRequest) PatchedBulkWritableRackReservationRequest(patchedBulkWritableRackReservationRequest []PatchedBulkWritableRackReservationRequest) ApiDcimRackReservationsBulkPartialUpdateRequest {
- r.patchedBulkWritableRackReservationRequest = &patchedBulkWritableRackReservationRequest
+func (r ApiDcimRackGroupsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimRackGroupsBulkDestroyRequest {
+ r.bulkOperationRequest = &bulkOperationRequest
return r
}
-func (r ApiDcimRackReservationsBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackReservationsBulkPartialUpdateRequest {
+func (r ApiDcimRackGroupsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackGroupsBulkDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimRackReservationsBulkPartialUpdateRequest) Execute() ([]RackReservation, *http.Response, error) {
- return r.ApiService.DcimRackReservationsBulkPartialUpdateExecute(r)
+func (r ApiDcimRackGroupsBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimRackGroupsBulkDestroyExecute(r)
}
/*
-DcimRackReservationsBulkPartialUpdate Method for DcimRackReservationsBulkPartialUpdate
+DcimRackGroupsBulkDestroy Method for DcimRackGroupsBulkDestroy
-Partial update a list of rack reservation objects.
+Destroy a list of rack group objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimRackReservationsBulkPartialUpdateRequest
+ @return ApiDcimRackGroupsBulkDestroyRequest
*/
-func (a *DcimAPIService) DcimRackReservationsBulkPartialUpdate(ctx context.Context) ApiDcimRackReservationsBulkPartialUpdateRequest {
- return ApiDcimRackReservationsBulkPartialUpdateRequest{
+func (a *DcimAPIService) DcimRackGroupsBulkDestroy(ctx context.Context) ApiDcimRackGroupsBulkDestroyRequest {
+ return ApiDcimRackGroupsBulkDestroyRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []RackReservation
-func (a *DcimAPIService) DcimRackReservationsBulkPartialUpdateExecute(r ApiDcimRackReservationsBulkPartialUpdateRequest) ([]RackReservation, *http.Response, error) {
+func (a *DcimAPIService) DcimRackGroupsBulkDestroyExecute(r ApiDcimRackGroupsBulkDestroyRequest) (*http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPatch
+ localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []RackReservation
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackReservationsBulkPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackGroupsBulkDestroy")
if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rack-reservations/"
+ localVarPath := localBasePath + "/dcim/rack-groups/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.patchedBulkWritableRackReservationRequest == nil {
- return localVarReturnValue, nil, reportError("patchedBulkWritableRackReservationRequest is required and must be specified")
+ if r.bulkOperationRequest == nil {
+ return nil, reportError("bulkOperationRequest is required and must be specified")
}
if r.format != nil {
@@ -118565,7 +113516,7 @@ func (a *DcimAPIService) DcimRackReservationsBulkPartialUpdateExecute(r ApiDcimR
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+ localVarHTTPHeaderAccepts := []string{}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -118573,7 +113524,7 @@ func (a *DcimAPIService) DcimRackReservationsBulkPartialUpdateExecute(r ApiDcimR
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedBulkWritableRackReservationRequest
+ localVarPostBody = r.bulkOperationRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -118590,19 +113541,19 @@ func (a *DcimAPIService) DcimRackReservationsBulkPartialUpdateExecute(r ApiDcimR
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
- return localVarReturnValue, nil, err
+ return nil, err
}
localVarHTTPResponse, err := a.client.callAPI(req)
if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
+ return localVarHTTPResponse, err
}
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
+ return localVarHTTPResponse, err
}
if localVarHTTPResponse.StatusCode >= 300 {
@@ -118610,79 +113561,70 @@ func (a *DcimAPIService) DcimRackReservationsBulkPartialUpdateExecute(r ApiDcimR
body: localVarBody,
error: localVarHTTPResponse.Status,
}
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
+ return localVarHTTPResponse, newErr
}
- return localVarReturnValue, localVarHTTPResponse, nil
+ return localVarHTTPResponse, nil
}
-type ApiDcimRackReservationsBulkUpdateRequest struct {
+type ApiDcimRackGroupsBulkPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- bulkWritableRackReservationRequest *[]BulkWritableRackReservationRequest
+ patchedBulkWritableRackGroupRequest *[]PatchedBulkWritableRackGroupRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimRackReservationsBulkUpdateRequest) BulkWritableRackReservationRequest(bulkWritableRackReservationRequest []BulkWritableRackReservationRequest) ApiDcimRackReservationsBulkUpdateRequest {
- r.bulkWritableRackReservationRequest = &bulkWritableRackReservationRequest
+func (r ApiDcimRackGroupsBulkPartialUpdateRequest) PatchedBulkWritableRackGroupRequest(patchedBulkWritableRackGroupRequest []PatchedBulkWritableRackGroupRequest) ApiDcimRackGroupsBulkPartialUpdateRequest {
+ r.patchedBulkWritableRackGroupRequest = &patchedBulkWritableRackGroupRequest
return r
}
-func (r ApiDcimRackReservationsBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackReservationsBulkUpdateRequest {
+func (r ApiDcimRackGroupsBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackGroupsBulkPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimRackReservationsBulkUpdateRequest) Execute() ([]RackReservation, *http.Response, error) {
- return r.ApiService.DcimRackReservationsBulkUpdateExecute(r)
+func (r ApiDcimRackGroupsBulkPartialUpdateRequest) Execute() ([]RackGroup, *http.Response, error) {
+ return r.ApiService.DcimRackGroupsBulkPartialUpdateExecute(r)
}
/*
-DcimRackReservationsBulkUpdate Method for DcimRackReservationsBulkUpdate
+DcimRackGroupsBulkPartialUpdate Method for DcimRackGroupsBulkPartialUpdate
-Update a list of rack reservation objects.
+Partial update a list of rack group objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimRackReservationsBulkUpdateRequest
+ @return ApiDcimRackGroupsBulkPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimRackReservationsBulkUpdate(ctx context.Context) ApiDcimRackReservationsBulkUpdateRequest {
- return ApiDcimRackReservationsBulkUpdateRequest{
+func (a *DcimAPIService) DcimRackGroupsBulkPartialUpdate(ctx context.Context) ApiDcimRackGroupsBulkPartialUpdateRequest {
+ return ApiDcimRackGroupsBulkPartialUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []RackReservation
-func (a *DcimAPIService) DcimRackReservationsBulkUpdateExecute(r ApiDcimRackReservationsBulkUpdateRequest) ([]RackReservation, *http.Response, error) {
+// @return []RackGroup
+func (a *DcimAPIService) DcimRackGroupsBulkPartialUpdateExecute(r ApiDcimRackGroupsBulkPartialUpdateRequest) ([]RackGroup, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPut
+ localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []RackReservation
+ localVarReturnValue []RackGroup
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackReservationsBulkUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackGroupsBulkPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rack-reservations/"
+ localVarPath := localBasePath + "/dcim/rack-groups/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.bulkWritableRackReservationRequest == nil {
- return localVarReturnValue, nil, reportError("bulkWritableRackReservationRequest is required and must be specified")
+ if r.patchedBulkWritableRackGroupRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritableRackGroupRequest is required and must be specified")
}
if r.format != nil {
@@ -118706,7 +113648,7 @@ func (a *DcimAPIService) DcimRackReservationsBulkUpdateExecute(r ApiDcimRackRese
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.bulkWritableRackReservationRequest
+ localVarPostBody = r.patchedBulkWritableRackGroupRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -118758,64 +113700,197 @@ func (a *DcimAPIService) DcimRackReservationsBulkUpdateExecute(r ApiDcimRackRese
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRackReservationsCreateRequest struct {
+type ApiDcimRackGroupsBulkUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- rackReservationRequest *RackReservationRequest
+ bulkWritableRackGroupRequest *[]BulkWritableRackGroupRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimRackReservationsCreateRequest) RackReservationRequest(rackReservationRequest RackReservationRequest) ApiDcimRackReservationsCreateRequest {
- r.rackReservationRequest = &rackReservationRequest
+func (r ApiDcimRackGroupsBulkUpdateRequest) BulkWritableRackGroupRequest(bulkWritableRackGroupRequest []BulkWritableRackGroupRequest) ApiDcimRackGroupsBulkUpdateRequest {
+ r.bulkWritableRackGroupRequest = &bulkWritableRackGroupRequest
return r
}
-func (r ApiDcimRackReservationsCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackReservationsCreateRequest {
+func (r ApiDcimRackGroupsBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackGroupsBulkUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimRackReservationsCreateRequest) Execute() (*RackReservation, *http.Response, error) {
- return r.ApiService.DcimRackReservationsCreateExecute(r)
+func (r ApiDcimRackGroupsBulkUpdateRequest) Execute() ([]RackGroup, *http.Response, error) {
+ return r.ApiService.DcimRackGroupsBulkUpdateExecute(r)
}
/*
-DcimRackReservationsCreate Method for DcimRackReservationsCreate
+DcimRackGroupsBulkUpdate Method for DcimRackGroupsBulkUpdate
-Create one or more rack reservation objects.
+Update a list of rack group objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimRackReservationsCreateRequest
+ @return ApiDcimRackGroupsBulkUpdateRequest
*/
-func (a *DcimAPIService) DcimRackReservationsCreate(ctx context.Context) ApiDcimRackReservationsCreateRequest {
- return ApiDcimRackReservationsCreateRequest{
+func (a *DcimAPIService) DcimRackGroupsBulkUpdate(ctx context.Context) ApiDcimRackGroupsBulkUpdateRequest {
+ return ApiDcimRackGroupsBulkUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return RackReservation
-func (a *DcimAPIService) DcimRackReservationsCreateExecute(r ApiDcimRackReservationsCreateRequest) (*RackReservation, *http.Response, error) {
+// @return []RackGroup
+func (a *DcimAPIService) DcimRackGroupsBulkUpdateExecute(r ApiDcimRackGroupsBulkUpdateRequest) ([]RackGroup, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPut
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue []RackGroup
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackGroupsBulkUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/rack-groups/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.bulkWritableRackGroupRequest == nil {
+ return localVarReturnValue, nil, reportError("bulkWritableRackGroupRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.bulkWritableRackGroupRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiDcimRackGroupsCreateRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ rackGroupRequest *RackGroupRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiDcimRackGroupsCreateRequest) RackGroupRequest(rackGroupRequest RackGroupRequest) ApiDcimRackGroupsCreateRequest {
+ r.rackGroupRequest = &rackGroupRequest
+ return r
+}
+
+func (r ApiDcimRackGroupsCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackGroupsCreateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiDcimRackGroupsCreateRequest) Execute() (*RackGroup, *http.Response, error) {
+ return r.ApiService.DcimRackGroupsCreateExecute(r)
+}
+
+/*
+DcimRackGroupsCreate Method for DcimRackGroupsCreate
+
+Create one or more rack group objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiDcimRackGroupsCreateRequest
+*/
+func (a *DcimAPIService) DcimRackGroupsCreate(ctx context.Context) ApiDcimRackGroupsCreateRequest {
+ return ApiDcimRackGroupsCreateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return RackGroup
+func (a *DcimAPIService) DcimRackGroupsCreateExecute(r ApiDcimRackGroupsCreateRequest) (*RackGroup, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *RackReservation
+ localVarReturnValue *RackGroup
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackReservationsCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackGroupsCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rack-reservations/"
+ localVarPath := localBasePath + "/dcim/rack-groups/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.rackReservationRequest == nil {
- return localVarReturnValue, nil, reportError("rackReservationRequest is required and must be specified")
+ if r.rackGroupRequest == nil {
+ return localVarReturnValue, nil, reportError("rackGroupRequest is required and must be specified")
}
if r.format != nil {
@@ -118839,7 +113914,7 @@ func (a *DcimAPIService) DcimRackReservationsCreateExecute(r ApiDcimRackReservat
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.rackReservationRequest
+ localVarPostBody = r.rackGroupRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -118891,33 +113966,33 @@ func (a *DcimAPIService) DcimRackReservationsCreateExecute(r ApiDcimRackReservat
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRackReservationsDestroyRequest struct {
+type ApiDcimRackGroupsDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimRackReservationsDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackReservationsDestroyRequest {
+func (r ApiDcimRackGroupsDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackGroupsDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimRackReservationsDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimRackReservationsDestroyExecute(r)
+func (r ApiDcimRackGroupsDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimRackGroupsDestroyExecute(r)
}
/*
-DcimRackReservationsDestroy Method for DcimRackReservationsDestroy
+DcimRackGroupsDestroy Method for DcimRackGroupsDestroy
-Destroy a rack reservation object.
+Destroy a rack group object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this rack reservation.
- @return ApiDcimRackReservationsDestroyRequest
+ @param id A UUID string identifying this rack group.
+ @return ApiDcimRackGroupsDestroyRequest
*/
-func (a *DcimAPIService) DcimRackReservationsDestroy(ctx context.Context, id string) ApiDcimRackReservationsDestroyRequest {
- return ApiDcimRackReservationsDestroyRequest{
+func (a *DcimAPIService) DcimRackGroupsDestroy(ctx context.Context, id string) ApiDcimRackGroupsDestroyRequest {
+ return ApiDcimRackGroupsDestroyRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -118925,19 +114000,19 @@ func (a *DcimAPIService) DcimRackReservationsDestroy(ctx context.Context, id str
}
// Execute executes the request
-func (a *DcimAPIService) DcimRackReservationsDestroyExecute(r ApiDcimRackReservationsDestroyRequest) (*http.Response, error) {
+func (a *DcimAPIService) DcimRackGroupsDestroyExecute(r ApiDcimRackGroupsDestroyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackReservationsDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackGroupsDestroy")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rack-reservations/{id}/"
+ localVarPath := localBasePath + "/dcim/rack-groups/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -119006,12 +114081,16 @@ func (a *DcimAPIService) DcimRackReservationsDestroyExecute(r ApiDcimRackReserva
return localVarHTTPResponse, nil
}
-type ApiDcimRackReservationsListRequest struct {
+type ApiDcimRackGroupsListRequest struct {
ctx context.Context
ApiService *DcimAPIService
+ ancestors *[]string
+ children *[]string
+ childrenIsnull *bool
+ childrenN *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -119034,22 +114113,13 @@ type ApiDcimRackReservationsListRequest struct {
descriptionNre *[]string
descriptionRe *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
+ hasChildren *bool
+ hasPowerPanels *bool
+ hasRacks *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -119058,466 +114128,517 @@ type ApiDcimRackReservationsListRequest struct {
lastUpdatedLte *[]time.Time
lastUpdatedN *[]time.Time
limit *int32
+ location *[]string
+ locationN *[]string
+ name *[]string
+ nameIc *[]string
+ nameIe *[]string
+ nameIew *[]string
+ nameIre *[]string
+ nameIsw *[]string
+ nameN *[]string
+ nameNic *[]string
+ nameNie *[]string
+ nameNiew *[]string
+ nameNire *[]string
+ nameNisw *[]string
+ nameNre *[]string
+ nameRe *[]string
offset *int32
+ parent *[]string
+ parentIsnull *bool
+ parentN *[]string
+ powerPanels *[]string
+ powerPanelsIsnull *bool
+ powerPanelsN *[]string
q *string
- rack *[]string
- rackN *[]string
- rackGroup *[]string
- rackGroupIsnull *bool
- rackGroupN *[]string
+ racks *[]string
+ racksIsnull *bool
+ racksN *[]string
sort *string
- tags *[]string
- tagsIsnull *bool
- tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
- tenant *[]string
- tenantIsnull *bool
- tenantN *[]string
- tenantGroup *[]string
- tenantGroupIsnull *bool
- tenantGroupN *[]string
- tenantId *[]*string
- tenantIdIsnull *bool
- tenantIdN *[]*string
- user *[]string
- userN *[]string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimRackReservationsListRequest) Contacts(contacts []string) ApiDcimRackReservationsListRequest {
+func (r ApiDcimRackGroupsListRequest) Ancestors(ancestors []string) ApiDcimRackGroupsListRequest {
+ r.ancestors = &ancestors
+ return r
+}
+
+func (r ApiDcimRackGroupsListRequest) Children(children []string) ApiDcimRackGroupsListRequest {
+ r.children = &children
+ return r
+}
+
+// Children (name or ID) is null
+func (r ApiDcimRackGroupsListRequest) ChildrenIsnull(childrenIsnull bool) ApiDcimRackGroupsListRequest {
+ r.childrenIsnull = &childrenIsnull
+ return r
+}
+
+func (r ApiDcimRackGroupsListRequest) ChildrenN(childrenN []string) ApiDcimRackGroupsListRequest {
+ r.childrenN = &childrenN
+ return r
+}
+
+func (r ApiDcimRackGroupsListRequest) Contacts(contacts []string) ApiDcimRackGroupsListRequest {
r.contacts = &contacts
return r
}
// Contacts (name or ID) is null
-func (r ApiDcimRackReservationsListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimRackReservationsListRequest {
+func (r ApiDcimRackGroupsListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimRackGroupsListRequest {
r.contactsIsnull = &contactsIsnull
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimRackReservationsListRequest) ContactsN(contactsN string) ApiDcimRackReservationsListRequest {
+func (r ApiDcimRackGroupsListRequest) ContactsN(contactsN []string) ApiDcimRackGroupsListRequest {
r.contactsN = &contactsN
return r
}
-func (r ApiDcimRackReservationsListRequest) Created(created []time.Time) ApiDcimRackReservationsListRequest {
+func (r ApiDcimRackGroupsListRequest) Created(created []time.Time) ApiDcimRackGroupsListRequest {
r.created = &created
return r
}
-func (r ApiDcimRackReservationsListRequest) CreatedGt(createdGt []time.Time) ApiDcimRackReservationsListRequest {
+func (r ApiDcimRackGroupsListRequest) CreatedGt(createdGt []time.Time) ApiDcimRackGroupsListRequest {
r.createdGt = &createdGt
return r
}
-func (r ApiDcimRackReservationsListRequest) CreatedGte(createdGte []time.Time) ApiDcimRackReservationsListRequest {
+func (r ApiDcimRackGroupsListRequest) CreatedGte(createdGte []time.Time) ApiDcimRackGroupsListRequest {
r.createdGte = &createdGte
return r
}
-func (r ApiDcimRackReservationsListRequest) CreatedIsnull(createdIsnull bool) ApiDcimRackReservationsListRequest {
+func (r ApiDcimRackGroupsListRequest) CreatedIsnull(createdIsnull bool) ApiDcimRackGroupsListRequest {
r.createdIsnull = &createdIsnull
return r
}
-func (r ApiDcimRackReservationsListRequest) CreatedLt(createdLt []time.Time) ApiDcimRackReservationsListRequest {
+func (r ApiDcimRackGroupsListRequest) CreatedLt(createdLt []time.Time) ApiDcimRackGroupsListRequest {
r.createdLt = &createdLt
return r
}
-func (r ApiDcimRackReservationsListRequest) CreatedLte(createdLte []time.Time) ApiDcimRackReservationsListRequest {
+func (r ApiDcimRackGroupsListRequest) CreatedLte(createdLte []time.Time) ApiDcimRackGroupsListRequest {
r.createdLte = &createdLte
return r
}
-func (r ApiDcimRackReservationsListRequest) CreatedN(createdN []time.Time) ApiDcimRackReservationsListRequest {
+func (r ApiDcimRackGroupsListRequest) CreatedN(createdN []time.Time) ApiDcimRackGroupsListRequest {
r.createdN = &createdN
return r
}
-func (r ApiDcimRackReservationsListRequest) Description(description []string) ApiDcimRackReservationsListRequest {
+func (r ApiDcimRackGroupsListRequest) Description(description []string) ApiDcimRackGroupsListRequest {
r.description = &description
return r
}
-func (r ApiDcimRackReservationsListRequest) DescriptionIc(descriptionIc []string) ApiDcimRackReservationsListRequest {
+func (r ApiDcimRackGroupsListRequest) DescriptionIc(descriptionIc []string) ApiDcimRackGroupsListRequest {
r.descriptionIc = &descriptionIc
return r
}
-func (r ApiDcimRackReservationsListRequest) DescriptionIe(descriptionIe []string) ApiDcimRackReservationsListRequest {
+func (r ApiDcimRackGroupsListRequest) DescriptionIe(descriptionIe []string) ApiDcimRackGroupsListRequest {
r.descriptionIe = &descriptionIe
return r
}
-func (r ApiDcimRackReservationsListRequest) DescriptionIew(descriptionIew []string) ApiDcimRackReservationsListRequest {
+func (r ApiDcimRackGroupsListRequest) DescriptionIew(descriptionIew []string) ApiDcimRackGroupsListRequest {
r.descriptionIew = &descriptionIew
return r
}
-func (r ApiDcimRackReservationsListRequest) DescriptionIre(descriptionIre []string) ApiDcimRackReservationsListRequest {
+func (r ApiDcimRackGroupsListRequest) DescriptionIre(descriptionIre []string) ApiDcimRackGroupsListRequest {
r.descriptionIre = &descriptionIre
return r
}
-func (r ApiDcimRackReservationsListRequest) DescriptionIsw(descriptionIsw []string) ApiDcimRackReservationsListRequest {
+func (r ApiDcimRackGroupsListRequest) DescriptionIsw(descriptionIsw []string) ApiDcimRackGroupsListRequest {
r.descriptionIsw = &descriptionIsw
return r
}
-func (r ApiDcimRackReservationsListRequest) DescriptionN(descriptionN []string) ApiDcimRackReservationsListRequest {
+func (r ApiDcimRackGroupsListRequest) DescriptionN(descriptionN []string) ApiDcimRackGroupsListRequest {
r.descriptionN = &descriptionN
return r
}
-func (r ApiDcimRackReservationsListRequest) DescriptionNic(descriptionNic []string) ApiDcimRackReservationsListRequest {
+func (r ApiDcimRackGroupsListRequest) DescriptionNic(descriptionNic []string) ApiDcimRackGroupsListRequest {
r.descriptionNic = &descriptionNic
return r
}
-func (r ApiDcimRackReservationsListRequest) DescriptionNie(descriptionNie []string) ApiDcimRackReservationsListRequest {
+func (r ApiDcimRackGroupsListRequest) DescriptionNie(descriptionNie []string) ApiDcimRackGroupsListRequest {
r.descriptionNie = &descriptionNie
return r
}
-func (r ApiDcimRackReservationsListRequest) DescriptionNiew(descriptionNiew []string) ApiDcimRackReservationsListRequest {
+func (r ApiDcimRackGroupsListRequest) DescriptionNiew(descriptionNiew []string) ApiDcimRackGroupsListRequest {
r.descriptionNiew = &descriptionNiew
return r
}
-func (r ApiDcimRackReservationsListRequest) DescriptionNire(descriptionNire []string) ApiDcimRackReservationsListRequest {
+func (r ApiDcimRackGroupsListRequest) DescriptionNire(descriptionNire []string) ApiDcimRackGroupsListRequest {
r.descriptionNire = &descriptionNire
return r
}
-func (r ApiDcimRackReservationsListRequest) DescriptionNisw(descriptionNisw []string) ApiDcimRackReservationsListRequest {
+func (r ApiDcimRackGroupsListRequest) DescriptionNisw(descriptionNisw []string) ApiDcimRackGroupsListRequest {
r.descriptionNisw = &descriptionNisw
return r
}
-func (r ApiDcimRackReservationsListRequest) DescriptionNre(descriptionNre []string) ApiDcimRackReservationsListRequest {
+func (r ApiDcimRackGroupsListRequest) DescriptionNre(descriptionNre []string) ApiDcimRackGroupsListRequest {
r.descriptionNre = &descriptionNre
return r
}
-func (r ApiDcimRackReservationsListRequest) DescriptionRe(descriptionRe []string) ApiDcimRackReservationsListRequest {
+func (r ApiDcimRackGroupsListRequest) DescriptionRe(descriptionRe []string) ApiDcimRackGroupsListRequest {
r.descriptionRe = &descriptionRe
return r
}
-func (r ApiDcimRackReservationsListRequest) DynamicGroups(dynamicGroups []string) ApiDcimRackReservationsListRequest {
+func (r ApiDcimRackGroupsListRequest) DynamicGroups(dynamicGroups []string) ApiDcimRackGroupsListRequest {
r.dynamicGroups = &dynamicGroups
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimRackReservationsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimRackReservationsListRequest {
+func (r ApiDcimRackGroupsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimRackGroupsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
-func (r ApiDcimRackReservationsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackReservationsListRequest {
+func (r ApiDcimRackGroupsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackGroupsListRequest {
r.format = &format
return r
}
-// Unique object identifier, either a UUID primary key or a composite key.
-func (r ApiDcimRackReservationsListRequest) Id(id []string) ApiDcimRackReservationsListRequest {
- r.id = &id
- return r
-}
-
-func (r ApiDcimRackReservationsListRequest) IdIc(idIc []string) ApiDcimRackReservationsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiDcimRackReservationsListRequest) IdIe(idIe []string) ApiDcimRackReservationsListRequest {
- r.idIe = &idIe
+// Has children
+func (r ApiDcimRackGroupsListRequest) HasChildren(hasChildren bool) ApiDcimRackGroupsListRequest {
+ r.hasChildren = &hasChildren
return r
}
-func (r ApiDcimRackReservationsListRequest) IdIew(idIew []string) ApiDcimRackReservationsListRequest {
- r.idIew = &idIew
+// Has power panels
+func (r ApiDcimRackGroupsListRequest) HasPowerPanels(hasPowerPanels bool) ApiDcimRackGroupsListRequest {
+ r.hasPowerPanels = &hasPowerPanels
return r
}
-func (r ApiDcimRackReservationsListRequest) IdIre(idIre []string) ApiDcimRackReservationsListRequest {
- r.idIre = &idIre
+// Has racks
+func (r ApiDcimRackGroupsListRequest) HasRacks(hasRacks bool) ApiDcimRackGroupsListRequest {
+ r.hasRacks = &hasRacks
return r
}
-func (r ApiDcimRackReservationsListRequest) IdIsw(idIsw []string) ApiDcimRackReservationsListRequest {
- r.idIsw = &idIsw
+// Unique object identifier, either a UUID primary key or a composite key.
+func (r ApiDcimRackGroupsListRequest) Id(id []string) ApiDcimRackGroupsListRequest {
+ r.id = &id
return r
}
-func (r ApiDcimRackReservationsListRequest) IdN(idN []string) ApiDcimRackReservationsListRequest {
+func (r ApiDcimRackGroupsListRequest) IdN(idN []string) ApiDcimRackGroupsListRequest {
r.idN = &idN
return r
}
-func (r ApiDcimRackReservationsListRequest) IdNic(idNic []string) ApiDcimRackReservationsListRequest {
- r.idNic = &idNic
+func (r ApiDcimRackGroupsListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimRackGroupsListRequest {
+ r.lastUpdated = &lastUpdated
return r
}
-func (r ApiDcimRackReservationsListRequest) IdNie(idNie []string) ApiDcimRackReservationsListRequest {
- r.idNie = &idNie
+func (r ApiDcimRackGroupsListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiDcimRackGroupsListRequest {
+ r.lastUpdatedGt = &lastUpdatedGt
return r
}
-func (r ApiDcimRackReservationsListRequest) IdNiew(idNiew []string) ApiDcimRackReservationsListRequest {
- r.idNiew = &idNiew
+func (r ApiDcimRackGroupsListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiDcimRackGroupsListRequest {
+ r.lastUpdatedGte = &lastUpdatedGte
return r
}
-func (r ApiDcimRackReservationsListRequest) IdNire(idNire []string) ApiDcimRackReservationsListRequest {
- r.idNire = &idNire
+func (r ApiDcimRackGroupsListRequest) LastUpdatedIsnull(lastUpdatedIsnull bool) ApiDcimRackGroupsListRequest {
+ r.lastUpdatedIsnull = &lastUpdatedIsnull
return r
}
-func (r ApiDcimRackReservationsListRequest) IdNisw(idNisw []string) ApiDcimRackReservationsListRequest {
- r.idNisw = &idNisw
+func (r ApiDcimRackGroupsListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiDcimRackGroupsListRequest {
+ r.lastUpdatedLt = &lastUpdatedLt
return r
}
-func (r ApiDcimRackReservationsListRequest) IdNre(idNre []string) ApiDcimRackReservationsListRequest {
- r.idNre = &idNre
+func (r ApiDcimRackGroupsListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiDcimRackGroupsListRequest {
+ r.lastUpdatedLte = &lastUpdatedLte
return r
}
-func (r ApiDcimRackReservationsListRequest) IdRe(idRe []string) ApiDcimRackReservationsListRequest {
- r.idRe = &idRe
+func (r ApiDcimRackGroupsListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiDcimRackGroupsListRequest {
+ r.lastUpdatedN = &lastUpdatedN
return r
}
-func (r ApiDcimRackReservationsListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimRackReservationsListRequest {
- r.lastUpdated = &lastUpdated
+// Number of results to return per page.
+func (r ApiDcimRackGroupsListRequest) Limit(limit int32) ApiDcimRackGroupsListRequest {
+ r.limit = &limit
return r
}
-func (r ApiDcimRackReservationsListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiDcimRackReservationsListRequest {
- r.lastUpdatedGt = &lastUpdatedGt
+func (r ApiDcimRackGroupsListRequest) Location(location []string) ApiDcimRackGroupsListRequest {
+ r.location = &location
return r
}
-func (r ApiDcimRackReservationsListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiDcimRackReservationsListRequest {
- r.lastUpdatedGte = &lastUpdatedGte
+func (r ApiDcimRackGroupsListRequest) LocationN(locationN []string) ApiDcimRackGroupsListRequest {
+ r.locationN = &locationN
return r
}
-func (r ApiDcimRackReservationsListRequest) LastUpdatedIsnull(lastUpdatedIsnull bool) ApiDcimRackReservationsListRequest {
- r.lastUpdatedIsnull = &lastUpdatedIsnull
+func (r ApiDcimRackGroupsListRequest) Name(name []string) ApiDcimRackGroupsListRequest {
+ r.name = &name
return r
}
-func (r ApiDcimRackReservationsListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiDcimRackReservationsListRequest {
- r.lastUpdatedLt = &lastUpdatedLt
+func (r ApiDcimRackGroupsListRequest) NameIc(nameIc []string) ApiDcimRackGroupsListRequest {
+ r.nameIc = &nameIc
return r
}
-func (r ApiDcimRackReservationsListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiDcimRackReservationsListRequest {
- r.lastUpdatedLte = &lastUpdatedLte
+func (r ApiDcimRackGroupsListRequest) NameIe(nameIe []string) ApiDcimRackGroupsListRequest {
+ r.nameIe = &nameIe
return r
}
-func (r ApiDcimRackReservationsListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiDcimRackReservationsListRequest {
- r.lastUpdatedN = &lastUpdatedN
+func (r ApiDcimRackGroupsListRequest) NameIew(nameIew []string) ApiDcimRackGroupsListRequest {
+ r.nameIew = &nameIew
return r
}
-// Number of results to return per page.
-func (r ApiDcimRackReservationsListRequest) Limit(limit int32) ApiDcimRackReservationsListRequest {
- r.limit = &limit
+func (r ApiDcimRackGroupsListRequest) NameIre(nameIre []string) ApiDcimRackGroupsListRequest {
+ r.nameIre = &nameIre
return r
}
-// The initial index from which to return the results.
-func (r ApiDcimRackReservationsListRequest) Offset(offset int32) ApiDcimRackReservationsListRequest {
- r.offset = &offset
+func (r ApiDcimRackGroupsListRequest) NameIsw(nameIsw []string) ApiDcimRackGroupsListRequest {
+ r.nameIsw = &nameIsw
return r
}
-// Search
-func (r ApiDcimRackReservationsListRequest) Q(q string) ApiDcimRackReservationsListRequest {
- r.q = &q
+func (r ApiDcimRackGroupsListRequest) NameN(nameN []string) ApiDcimRackGroupsListRequest {
+ r.nameN = &nameN
return r
}
-func (r ApiDcimRackReservationsListRequest) Rack(rack []string) ApiDcimRackReservationsListRequest {
- r.rack = &rack
+func (r ApiDcimRackGroupsListRequest) NameNic(nameNic []string) ApiDcimRackGroupsListRequest {
+ r.nameNic = &nameNic
return r
}
-func (r ApiDcimRackReservationsListRequest) RackN(rackN []string) ApiDcimRackReservationsListRequest {
- r.rackN = &rackN
+func (r ApiDcimRackGroupsListRequest) NameNie(nameNie []string) ApiDcimRackGroupsListRequest {
+ r.nameNie = &nameNie
return r
}
-func (r ApiDcimRackReservationsListRequest) RackGroup(rackGroup []string) ApiDcimRackReservationsListRequest {
- r.rackGroup = &rackGroup
+func (r ApiDcimRackGroupsListRequest) NameNiew(nameNiew []string) ApiDcimRackGroupsListRequest {
+ r.nameNiew = &nameNiew
return r
}
-// Rack group (name or ID) is null
-func (r ApiDcimRackReservationsListRequest) RackGroupIsnull(rackGroupIsnull bool) ApiDcimRackReservationsListRequest {
- r.rackGroupIsnull = &rackGroupIsnull
+func (r ApiDcimRackGroupsListRequest) NameNire(nameNire []string) ApiDcimRackGroupsListRequest {
+ r.nameNire = &nameNire
return r
}
-func (r ApiDcimRackReservationsListRequest) RackGroupN(rackGroupN []string) ApiDcimRackReservationsListRequest {
- r.rackGroupN = &rackGroupN
+func (r ApiDcimRackGroupsListRequest) NameNisw(nameNisw []string) ApiDcimRackGroupsListRequest {
+ r.nameNisw = &nameNisw
return r
}
-// Which field to use when ordering the results.
-func (r ApiDcimRackReservationsListRequest) Sort(sort string) ApiDcimRackReservationsListRequest {
- r.sort = &sort
+func (r ApiDcimRackGroupsListRequest) NameNre(nameNre []string) ApiDcimRackGroupsListRequest {
+ r.nameNre = &nameNre
return r
}
-func (r ApiDcimRackReservationsListRequest) Tags(tags []string) ApiDcimRackReservationsListRequest {
- r.tags = &tags
+func (r ApiDcimRackGroupsListRequest) NameRe(nameRe []string) ApiDcimRackGroupsListRequest {
+ r.nameRe = &nameRe
return r
}
-func (r ApiDcimRackReservationsListRequest) TagsIsnull(tagsIsnull bool) ApiDcimRackReservationsListRequest {
- r.tagsIsnull = &tagsIsnull
+// The initial index from which to return the results.
+func (r ApiDcimRackGroupsListRequest) Offset(offset int32) ApiDcimRackGroupsListRequest {
+ r.offset = &offset
return r
}
-func (r ApiDcimRackReservationsListRequest) TagsN(tagsN []string) ApiDcimRackReservationsListRequest {
- r.tagsN = &tagsN
+func (r ApiDcimRackGroupsListRequest) Parent(parent []string) ApiDcimRackGroupsListRequest {
+ r.parent = &parent
return r
}
-func (r ApiDcimRackReservationsListRequest) Teams(teams []string) ApiDcimRackReservationsListRequest {
- r.teams = &teams
+// Parent (name or ID) is null
+func (r ApiDcimRackGroupsListRequest) ParentIsnull(parentIsnull bool) ApiDcimRackGroupsListRequest {
+ r.parentIsnull = &parentIsnull
return r
}
-// Teams (name or ID) is null
-func (r ApiDcimRackReservationsListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimRackReservationsListRequest {
- r.teamsIsnull = &teamsIsnull
+func (r ApiDcimRackGroupsListRequest) ParentN(parentN []string) ApiDcimRackGroupsListRequest {
+ r.parentN = &parentN
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimRackReservationsListRequest) TeamsN(teamsN string) ApiDcimRackReservationsListRequest {
- r.teamsN = &teamsN
+func (r ApiDcimRackGroupsListRequest) PowerPanels(powerPanels []string) ApiDcimRackGroupsListRequest {
+ r.powerPanels = &powerPanels
return r
}
-func (r ApiDcimRackReservationsListRequest) Tenant(tenant []string) ApiDcimRackReservationsListRequest {
- r.tenant = &tenant
+// Power panels (name or ID) is null
+func (r ApiDcimRackGroupsListRequest) PowerPanelsIsnull(powerPanelsIsnull bool) ApiDcimRackGroupsListRequest {
+ r.powerPanelsIsnull = &powerPanelsIsnull
return r
}
-// Tenant (name or ID) is null
-func (r ApiDcimRackReservationsListRequest) TenantIsnull(tenantIsnull bool) ApiDcimRackReservationsListRequest {
- r.tenantIsnull = &tenantIsnull
+func (r ApiDcimRackGroupsListRequest) PowerPanelsN(powerPanelsN []string) ApiDcimRackGroupsListRequest {
+ r.powerPanelsN = &powerPanelsN
return r
}
-func (r ApiDcimRackReservationsListRequest) TenantN(tenantN []string) ApiDcimRackReservationsListRequest {
- r.tenantN = &tenantN
+// Search
+func (r ApiDcimRackGroupsListRequest) Q(q string) ApiDcimRackGroupsListRequest {
+ r.q = &q
return r
}
-func (r ApiDcimRackReservationsListRequest) TenantGroup(tenantGroup []string) ApiDcimRackReservationsListRequest {
- r.tenantGroup = &tenantGroup
+func (r ApiDcimRackGroupsListRequest) Racks(racks []string) ApiDcimRackGroupsListRequest {
+ r.racks = &racks
return r
}
-// Tenant Group (name or ID) is null
-func (r ApiDcimRackReservationsListRequest) TenantGroupIsnull(tenantGroupIsnull bool) ApiDcimRackReservationsListRequest {
- r.tenantGroupIsnull = &tenantGroupIsnull
+func (r ApiDcimRackGroupsListRequest) RacksIsnull(racksIsnull bool) ApiDcimRackGroupsListRequest {
+ r.racksIsnull = &racksIsnull
return r
}
-func (r ApiDcimRackReservationsListRequest) TenantGroupN(tenantGroupN []string) ApiDcimRackReservationsListRequest {
- r.tenantGroupN = &tenantGroupN
+func (r ApiDcimRackGroupsListRequest) RacksN(racksN []string) ApiDcimRackGroupsListRequest {
+ r.racksN = &racksN
return r
}
-// Tenant (ID) (deprecated, use \"tenant\" filter instead)
-func (r ApiDcimRackReservationsListRequest) TenantId(tenantId []*string) ApiDcimRackReservationsListRequest {
- r.tenantId = &tenantId
+// Which field to use when ordering the results.
+func (r ApiDcimRackGroupsListRequest) Sort(sort string) ApiDcimRackGroupsListRequest {
+ r.sort = &sort
return r
}
-// Tenant (ID) (deprecated, use \"tenant\" filter instead) is null
-func (r ApiDcimRackReservationsListRequest) TenantIdIsnull(tenantIdIsnull bool) ApiDcimRackReservationsListRequest {
- r.tenantIdIsnull = &tenantIdIsnull
+func (r ApiDcimRackGroupsListRequest) Teams(teams []string) ApiDcimRackGroupsListRequest {
+ r.teams = &teams
return r
}
-// Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead)
-func (r ApiDcimRackReservationsListRequest) TenantIdN(tenantIdN []*string) ApiDcimRackReservationsListRequest {
- r.tenantIdN = &tenantIdN
+// Teams (name or ID) is null
+func (r ApiDcimRackGroupsListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimRackGroupsListRequest {
+ r.teamsIsnull = &teamsIsnull
return r
}
-func (r ApiDcimRackReservationsListRequest) User(user []string) ApiDcimRackReservationsListRequest {
- r.user = &user
+func (r ApiDcimRackGroupsListRequest) TeamsN(teamsN []string) ApiDcimRackGroupsListRequest {
+ r.teamsN = &teamsN
return r
}
-func (r ApiDcimRackReservationsListRequest) UserN(userN []string) ApiDcimRackReservationsListRequest {
- r.userN = &userN
+// Serializer Depth
+func (r ApiDcimRackGroupsListRequest) Depth(depth int32) ApiDcimRackGroupsListRequest {
+ r.depth = &depth
return r
}
-// Serializer Depth
-func (r ApiDcimRackReservationsListRequest) Depth(depth int32) ApiDcimRackReservationsListRequest {
- r.depth = &depth
+// Exclude many-to-many fields from the response
+func (r ApiDcimRackGroupsListRequest) ExcludeM2m(excludeM2m bool) ApiDcimRackGroupsListRequest {
+ r.excludeM2m = &excludeM2m
return r
}
-func (r ApiDcimRackReservationsListRequest) Execute() (*PaginatedRackReservationList, *http.Response, error) {
- return r.ApiService.DcimRackReservationsListExecute(r)
+func (r ApiDcimRackGroupsListRequest) Execute() (*PaginatedRackGroupList, *http.Response, error) {
+ return r.ApiService.DcimRackGroupsListExecute(r)
}
/*
-DcimRackReservationsList Method for DcimRackReservationsList
+DcimRackGroupsList Method for DcimRackGroupsList
-Retrieve a list of rack reservation objects.
+Retrieve a list of rack group objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimRackReservationsListRequest
+ @return ApiDcimRackGroupsListRequest
*/
-func (a *DcimAPIService) DcimRackReservationsList(ctx context.Context) ApiDcimRackReservationsListRequest {
- return ApiDcimRackReservationsListRequest{
+func (a *DcimAPIService) DcimRackGroupsList(ctx context.Context) ApiDcimRackGroupsListRequest {
+ return ApiDcimRackGroupsListRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return PaginatedRackReservationList
-func (a *DcimAPIService) DcimRackReservationsListExecute(r ApiDcimRackReservationsListRequest) (*PaginatedRackReservationList, *http.Response, error) {
+// @return PaginatedRackGroupList
+func (a *DcimAPIService) DcimRackGroupsListExecute(r ApiDcimRackGroupsListRequest) (*PaginatedRackGroupList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PaginatedRackReservationList
+ localVarReturnValue *PaginatedRackGroupList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackReservationsList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackGroupsList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rack-reservations/"
+ localVarPath := localBasePath + "/dcim/rack-groups/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
+ if r.ancestors != nil {
+ t := *r.ancestors
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ancestors", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ancestors", t, "form", "multi")
+ }
+ }
+ if r.children != nil {
+ t := *r.children
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "children", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "children", t, "form", "multi")
+ }
+ }
+ if r.childrenIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "children__isnull", r.childrenIsnull, "form", "")
+ }
+ if r.childrenN != nil {
+ t := *r.childrenN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "children__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "children__n", t, "form", "multi")
+ }
+ }
if r.contacts != nil {
t := *r.contacts
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -119533,7 +114654,15 @@ func (a *DcimAPIService) DcimRackReservationsListExecute(r ApiDcimRackReservatio
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -119770,11 +114899,28 @@ func (a *DcimAPIService) DcimRackReservationsListExecute(r ApiDcimRackReservatio
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
+ if r.hasChildren != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_children", r.hasChildren, "form", "")
+ }
+ if r.hasPowerPanels != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_power_panels", r.hasPowerPanels, "form", "")
+ }
+ if r.hasRacks != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_racks", r.hasRacks, "form", "")
+ }
if r.id != nil {
t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -119786,421 +114932,387 @@ func (a *DcimAPIService) DcimRackReservationsListExecute(r ApiDcimRackReservatio
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
+ if r.idN != nil {
+ t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idIe != nil {
- t := *r.idIe
+ if r.lastUpdated != nil {
+ t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "form", "multi")
}
}
- if r.idIew != nil {
- t := *r.idIew
+ if r.lastUpdatedGt != nil {
+ t := *r.lastUpdatedGt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", t, "form", "multi")
}
}
- if r.idIre != nil {
- t := *r.idIre
+ if r.lastUpdatedGte != nil {
+ t := *r.lastUpdatedGte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", t, "form", "multi")
}
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.lastUpdatedIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__isnull", r.lastUpdatedIsnull, "form", "")
+ }
+ if r.lastUpdatedLt != nil {
+ t := *r.lastUpdatedLt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", t, "form", "multi")
}
}
- if r.idN != nil {
- t := *r.idN
+ if r.lastUpdatedLte != nil {
+ t := *r.lastUpdatedLte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
+ if r.lastUpdatedN != nil {
+ t := *r.lastUpdatedN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", t, "form", "multi")
}
}
- if r.idNie != nil {
- t := *r.idNie
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ }
+ if r.location != nil {
+ t := *r.location
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location", t, "form", "multi")
}
}
- if r.idNiew != nil {
- t := *r.idNiew
+ if r.locationN != nil {
+ t := *r.locationN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", t, "form", "multi")
}
}
- if r.idNire != nil {
- t := *r.idNire
+ if r.name != nil {
+ t := *r.name
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name", t, "form", "multi")
}
}
- if r.idNisw != nil {
- t := *r.idNisw
+ if r.nameIc != nil {
+ t := *r.nameIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", t, "form", "multi")
}
}
- if r.idNre != nil {
- t := *r.idNre
+ if r.nameIe != nil {
+ t := *r.nameIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", t, "form", "multi")
}
}
- if r.idRe != nil {
- t := *r.idRe
+ if r.nameIew != nil {
+ t := *r.nameIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", t, "form", "multi")
}
}
- if r.lastUpdated != nil {
- t := *r.lastUpdated
+ if r.nameIre != nil {
+ t := *r.nameIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", t, "form", "multi")
}
}
- if r.lastUpdatedGt != nil {
- t := *r.lastUpdatedGt
+ if r.nameIsw != nil {
+ t := *r.nameIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", t, "form", "multi")
}
}
- if r.lastUpdatedGte != nil {
- t := *r.lastUpdatedGte
+ if r.nameN != nil {
+ t := *r.nameN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", t, "form", "multi")
}
}
- if r.lastUpdatedIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__isnull", r.lastUpdatedIsnull, "form", "")
- }
- if r.lastUpdatedLt != nil {
- t := *r.lastUpdatedLt
+ if r.nameNic != nil {
+ t := *r.nameNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", t, "form", "multi")
}
}
- if r.lastUpdatedLte != nil {
- t := *r.lastUpdatedLte
+ if r.nameNie != nil {
+ t := *r.nameNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", t, "form", "multi")
}
}
- if r.lastUpdatedN != nil {
- t := *r.lastUpdatedN
+ if r.nameNiew != nil {
+ t := *r.nameNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", t, "form", "multi")
}
}
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
- }
- if r.offset != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
- }
- if r.q != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
- }
- if r.rack != nil {
- t := *r.rack
+ if r.nameNire != nil {
+ t := *r.nameNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rack", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rack", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", t, "form", "multi")
}
}
- if r.rackN != nil {
- t := *r.rackN
+ if r.nameNisw != nil {
+ t := *r.nameNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rack__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rack__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", t, "form", "multi")
}
}
- if r.rackGroup != nil {
- t := *r.rackGroup
+ if r.nameNre != nil {
+ t := *r.nameNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rack_group", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rack_group", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", t, "form", "multi")
}
}
- if r.rackGroupIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rack_group__isnull", r.rackGroupIsnull, "form", "")
- }
- if r.rackGroupN != nil {
- t := *r.rackGroupN
+ if r.nameRe != nil {
+ t := *r.nameRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rack_group__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rack_group__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", t, "form", "multi")
}
}
- if r.sort != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
}
- if r.tags != nil {
- t := *r.tags
+ if r.parent != nil {
+ t := *r.parent
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "parent", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "parent", t, "form", "multi")
}
}
- if r.tagsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags__isnull", r.tagsIsnull, "form", "")
+ if r.parentIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "parent__isnull", r.parentIsnull, "form", "")
}
- if r.tagsN != nil {
- t := *r.tagsN
+ if r.parentN != nil {
+ t := *r.parentN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "parent__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "parent__n", t, "form", "multi")
}
}
- if r.teams != nil {
- t := *r.teams
+ if r.powerPanels != nil {
+ t := *r.powerPanels
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_panels", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_panels", t, "form", "multi")
}
}
- if r.teamsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
- }
- if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ if r.powerPanelsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_panels__isnull", r.powerPanelsIsnull, "form", "")
}
- if r.tenant != nil {
- t := *r.tenant
+ if r.powerPanelsN != nil {
+ t := *r.powerPanelsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_panels__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_panels__n", t, "form", "multi")
}
}
- if r.tenantIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__isnull", r.tenantIsnull, "form", "")
- }
- if r.tenantN != nil {
- t := *r.tenantN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__n", t, "form", "multi")
- }
+ if r.q != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
}
- if r.tenantGroup != nil {
- t := *r.tenantGroup
+ if r.racks != nil {
+ t := *r.racks
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "racks", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "racks", t, "form", "multi")
}
}
- if r.tenantGroupIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group__isnull", r.tenantGroupIsnull, "form", "")
- }
- if r.tenantGroupN != nil {
- t := *r.tenantGroupN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group__n", t, "form", "multi")
- }
+ if r.racksIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "racks__isnull", r.racksIsnull, "form", "")
}
- if r.tenantId != nil {
- t := *r.tenantId
+ if r.racksN != nil {
+ t := *r.racksN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "racks__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "racks__n", t, "form", "multi")
}
}
- if r.tenantIdIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__isnull", r.tenantIdIsnull, "form", "")
+ if r.sort != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
}
- if r.tenantIdN != nil {
- t := *r.tenantIdN
+ if r.teams != nil {
+ t := *r.teams
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams", t, "form", "multi")
}
}
- if r.user != nil {
- t := *r.user
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "user", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "user", t, "form", "multi")
- }
+ if r.teamsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
- if r.userN != nil {
- t := *r.userN
+ if r.teamsN != nil {
+ t := *r.teamsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "user__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "user__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
}
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -120270,7 +115382,7 @@ func (a *DcimAPIService) DcimRackReservationsListExecute(r ApiDcimRackReservatio
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRackReservationsNotesCreateRequest struct {
+type ApiDcimRackGroupsNotesCreateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
@@ -120278,31 +115390,31 @@ type ApiDcimRackReservationsNotesCreateRequest struct {
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimRackReservationsNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimRackReservationsNotesCreateRequest {
+func (r ApiDcimRackGroupsNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimRackGroupsNotesCreateRequest {
r.noteInputRequest = ¬eInputRequest
return r
}
-func (r ApiDcimRackReservationsNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackReservationsNotesCreateRequest {
+func (r ApiDcimRackGroupsNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackGroupsNotesCreateRequest {
r.format = &format
return r
}
-func (r ApiDcimRackReservationsNotesCreateRequest) Execute() (*Note, *http.Response, error) {
- return r.ApiService.DcimRackReservationsNotesCreateExecute(r)
+func (r ApiDcimRackGroupsNotesCreateRequest) Execute() (*Note, *http.Response, error) {
+ return r.ApiService.DcimRackGroupsNotesCreateExecute(r)
}
/*
-DcimRackReservationsNotesCreate Method for DcimRackReservationsNotesCreate
+DcimRackGroupsNotesCreate Method for DcimRackGroupsNotesCreate
API methods for returning or creating notes on an object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this rack reservation.
- @return ApiDcimRackReservationsNotesCreateRequest
+ @param id A UUID string identifying this rack group.
+ @return ApiDcimRackGroupsNotesCreateRequest
*/
-func (a *DcimAPIService) DcimRackReservationsNotesCreate(ctx context.Context, id string) ApiDcimRackReservationsNotesCreateRequest {
- return ApiDcimRackReservationsNotesCreateRequest{
+func (a *DcimAPIService) DcimRackGroupsNotesCreate(ctx context.Context, id string) ApiDcimRackGroupsNotesCreateRequest {
+ return ApiDcimRackGroupsNotesCreateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -120311,7 +115423,7 @@ func (a *DcimAPIService) DcimRackReservationsNotesCreate(ctx context.Context, id
// Execute executes the request
// @return Note
-func (a *DcimAPIService) DcimRackReservationsNotesCreateExecute(r ApiDcimRackReservationsNotesCreateRequest) (*Note, *http.Response, error) {
+func (a *DcimAPIService) DcimRackGroupsNotesCreateExecute(r ApiDcimRackGroupsNotesCreateRequest) (*Note, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -120319,12 +115431,12 @@ func (a *DcimAPIService) DcimRackReservationsNotesCreateExecute(r ApiDcimRackRes
localVarReturnValue *Note
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackReservationsNotesCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackGroupsNotesCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rack-reservations/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/rack-groups/{id}/notes/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -120407,7 +115519,7 @@ func (a *DcimAPIService) DcimRackReservationsNotesCreateExecute(r ApiDcimRackRes
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRackReservationsNotesListRequest struct {
+type ApiDcimRackGroupsNotesListRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
@@ -120415,46 +115527,53 @@ type ApiDcimRackReservationsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimRackReservationsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackReservationsNotesListRequest {
+func (r ApiDcimRackGroupsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackGroupsNotesListRequest {
r.format = &format
return r
}
// Number of results to return per page.
-func (r ApiDcimRackReservationsNotesListRequest) Limit(limit int32) ApiDcimRackReservationsNotesListRequest {
+func (r ApiDcimRackGroupsNotesListRequest) Limit(limit int32) ApiDcimRackGroupsNotesListRequest {
r.limit = &limit
return r
}
// The initial index from which to return the results.
-func (r ApiDcimRackReservationsNotesListRequest) Offset(offset int32) ApiDcimRackReservationsNotesListRequest {
+func (r ApiDcimRackGroupsNotesListRequest) Offset(offset int32) ApiDcimRackGroupsNotesListRequest {
r.offset = &offset
return r
}
// Serializer Depth
-func (r ApiDcimRackReservationsNotesListRequest) Depth(depth int32) ApiDcimRackReservationsNotesListRequest {
+func (r ApiDcimRackGroupsNotesListRequest) Depth(depth int32) ApiDcimRackGroupsNotesListRequest {
r.depth = &depth
return r
}
-func (r ApiDcimRackReservationsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
- return r.ApiService.DcimRackReservationsNotesListExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimRackGroupsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimRackGroupsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimRackGroupsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
+ return r.ApiService.DcimRackGroupsNotesListExecute(r)
}
/*
-DcimRackReservationsNotesList Method for DcimRackReservationsNotesList
+DcimRackGroupsNotesList Method for DcimRackGroupsNotesList
API methods for returning or creating notes on an object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this rack reservation.
- @return ApiDcimRackReservationsNotesListRequest
+ @param id A UUID string identifying this rack group.
+ @return ApiDcimRackGroupsNotesListRequest
*/
-func (a *DcimAPIService) DcimRackReservationsNotesList(ctx context.Context, id string) ApiDcimRackReservationsNotesListRequest {
- return ApiDcimRackReservationsNotesListRequest{
+func (a *DcimAPIService) DcimRackGroupsNotesList(ctx context.Context, id string) ApiDcimRackGroupsNotesListRequest {
+ return ApiDcimRackGroupsNotesListRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -120463,7 +115582,7 @@ func (a *DcimAPIService) DcimRackReservationsNotesList(ctx context.Context, id s
// Execute executes the request
// @return PaginatedNoteList
-func (a *DcimAPIService) DcimRackReservationsNotesListExecute(r ApiDcimRackReservationsNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
+func (a *DcimAPIService) DcimRackGroupsNotesListExecute(r ApiDcimRackGroupsNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -120471,12 +115590,12 @@ func (a *DcimAPIService) DcimRackReservationsNotesListExecute(r ApiDcimRackReser
localVarReturnValue *PaginatedNoteList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackReservationsNotesList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackGroupsNotesList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rack-reservations/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/rack-groups/{id}/notes/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -120495,8 +115614,16 @@ func (a *DcimAPIService) DcimRackReservationsNotesListExecute(r ApiDcimRackReser
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -120566,39 +115693,39 @@ func (a *DcimAPIService) DcimRackReservationsNotesListExecute(r ApiDcimRackReser
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRackReservationsPartialUpdateRequest struct {
+type ApiDcimRackGroupsPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
- patchedRackReservationRequest *PatchedRackReservationRequest
+ patchedRackGroupRequest *PatchedRackGroupRequest
}
-func (r ApiDcimRackReservationsPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackReservationsPartialUpdateRequest {
+func (r ApiDcimRackGroupsPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackGroupsPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimRackReservationsPartialUpdateRequest) PatchedRackReservationRequest(patchedRackReservationRequest PatchedRackReservationRequest) ApiDcimRackReservationsPartialUpdateRequest {
- r.patchedRackReservationRequest = &patchedRackReservationRequest
+func (r ApiDcimRackGroupsPartialUpdateRequest) PatchedRackGroupRequest(patchedRackGroupRequest PatchedRackGroupRequest) ApiDcimRackGroupsPartialUpdateRequest {
+ r.patchedRackGroupRequest = &patchedRackGroupRequest
return r
}
-func (r ApiDcimRackReservationsPartialUpdateRequest) Execute() (*RackReservation, *http.Response, error) {
- return r.ApiService.DcimRackReservationsPartialUpdateExecute(r)
+func (r ApiDcimRackGroupsPartialUpdateRequest) Execute() (*RackGroup, *http.Response, error) {
+ return r.ApiService.DcimRackGroupsPartialUpdateExecute(r)
}
/*
-DcimRackReservationsPartialUpdate Method for DcimRackReservationsPartialUpdate
+DcimRackGroupsPartialUpdate Method for DcimRackGroupsPartialUpdate
-Partial update a rack reservation object.
+Partial update a rack group object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this rack reservation.
- @return ApiDcimRackReservationsPartialUpdateRequest
+ @param id A UUID string identifying this rack group.
+ @return ApiDcimRackGroupsPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimRackReservationsPartialUpdate(ctx context.Context, id string) ApiDcimRackReservationsPartialUpdateRequest {
- return ApiDcimRackReservationsPartialUpdateRequest{
+func (a *DcimAPIService) DcimRackGroupsPartialUpdate(ctx context.Context, id string) ApiDcimRackGroupsPartialUpdateRequest {
+ return ApiDcimRackGroupsPartialUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -120606,21 +115733,21 @@ func (a *DcimAPIService) DcimRackReservationsPartialUpdate(ctx context.Context,
}
// Execute executes the request
-// @return RackReservation
-func (a *DcimAPIService) DcimRackReservationsPartialUpdateExecute(r ApiDcimRackReservationsPartialUpdateRequest) (*RackReservation, *http.Response, error) {
+// @return RackGroup
+func (a *DcimAPIService) DcimRackGroupsPartialUpdateExecute(r ApiDcimRackGroupsPartialUpdateRequest) (*RackGroup, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *RackReservation
+ localVarReturnValue *RackGroup
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackReservationsPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackGroupsPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rack-reservations/{id}/"
+ localVarPath := localBasePath + "/dcim/rack-groups/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -120648,7 +115775,7 @@ func (a *DcimAPIService) DcimRackReservationsPartialUpdateExecute(r ApiDcimRackR
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedRackReservationRequest
+ localVarPostBody = r.patchedRackGroupRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -120700,40 +115827,47 @@ func (a *DcimAPIService) DcimRackReservationsPartialUpdateExecute(r ApiDcimRackR
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRackReservationsRetrieveRequest struct {
+type ApiDcimRackGroupsRetrieveRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimRackReservationsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackReservationsRetrieveRequest {
+func (r ApiDcimRackGroupsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackGroupsRetrieveRequest {
r.format = &format
return r
}
// Serializer Depth
-func (r ApiDcimRackReservationsRetrieveRequest) Depth(depth int32) ApiDcimRackReservationsRetrieveRequest {
+func (r ApiDcimRackGroupsRetrieveRequest) Depth(depth int32) ApiDcimRackGroupsRetrieveRequest {
r.depth = &depth
return r
}
-func (r ApiDcimRackReservationsRetrieveRequest) Execute() (*RackReservation, *http.Response, error) {
- return r.ApiService.DcimRackReservationsRetrieveExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimRackGroupsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimRackGroupsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimRackGroupsRetrieveRequest) Execute() (*RackGroup, *http.Response, error) {
+ return r.ApiService.DcimRackGroupsRetrieveExecute(r)
}
/*
-DcimRackReservationsRetrieve Method for DcimRackReservationsRetrieve
+DcimRackGroupsRetrieve Method for DcimRackGroupsRetrieve
-Retrieve a rack reservation object.
+Retrieve a rack group object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this rack reservation.
- @return ApiDcimRackReservationsRetrieveRequest
+ @param id A UUID string identifying this rack group.
+ @return ApiDcimRackGroupsRetrieveRequest
*/
-func (a *DcimAPIService) DcimRackReservationsRetrieve(ctx context.Context, id string) ApiDcimRackReservationsRetrieveRequest {
- return ApiDcimRackReservationsRetrieveRequest{
+func (a *DcimAPIService) DcimRackGroupsRetrieve(ctx context.Context, id string) ApiDcimRackGroupsRetrieveRequest {
+ return ApiDcimRackGroupsRetrieveRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -120741,21 +115875,21 @@ func (a *DcimAPIService) DcimRackReservationsRetrieve(ctx context.Context, id st
}
// Execute executes the request
-// @return RackReservation
-func (a *DcimAPIService) DcimRackReservationsRetrieveExecute(r ApiDcimRackReservationsRetrieveRequest) (*RackReservation, *http.Response, error) {
+// @return RackGroup
+func (a *DcimAPIService) DcimRackGroupsRetrieveExecute(r ApiDcimRackGroupsRetrieveRequest) (*RackGroup, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *RackReservation
+ localVarReturnValue *RackGroup
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackReservationsRetrieve")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackGroupsRetrieve")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rack-reservations/{id}/"
+ localVarPath := localBasePath + "/dcim/rack-groups/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -120768,8 +115902,16 @@ func (a *DcimAPIService) DcimRackReservationsRetrieveExecute(r ApiDcimRackReserv
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -120839,39 +115981,39 @@ func (a *DcimAPIService) DcimRackReservationsRetrieveExecute(r ApiDcimRackReserv
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRackReservationsUpdateRequest struct {
+type ApiDcimRackGroupsUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
- rackReservationRequest *RackReservationRequest
+ rackGroupRequest *RackGroupRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimRackReservationsUpdateRequest) RackReservationRequest(rackReservationRequest RackReservationRequest) ApiDcimRackReservationsUpdateRequest {
- r.rackReservationRequest = &rackReservationRequest
+func (r ApiDcimRackGroupsUpdateRequest) RackGroupRequest(rackGroupRequest RackGroupRequest) ApiDcimRackGroupsUpdateRequest {
+ r.rackGroupRequest = &rackGroupRequest
return r
}
-func (r ApiDcimRackReservationsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackReservationsUpdateRequest {
+func (r ApiDcimRackGroupsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackGroupsUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimRackReservationsUpdateRequest) Execute() (*RackReservation, *http.Response, error) {
- return r.ApiService.DcimRackReservationsUpdateExecute(r)
+func (r ApiDcimRackGroupsUpdateRequest) Execute() (*RackGroup, *http.Response, error) {
+ return r.ApiService.DcimRackGroupsUpdateExecute(r)
}
/*
-DcimRackReservationsUpdate Method for DcimRackReservationsUpdate
+DcimRackGroupsUpdate Method for DcimRackGroupsUpdate
-Update a rack reservation object.
+Update a rack group object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this rack reservation.
- @return ApiDcimRackReservationsUpdateRequest
+ @param id A UUID string identifying this rack group.
+ @return ApiDcimRackGroupsUpdateRequest
*/
-func (a *DcimAPIService) DcimRackReservationsUpdate(ctx context.Context, id string) ApiDcimRackReservationsUpdateRequest {
- return ApiDcimRackReservationsUpdateRequest{
+func (a *DcimAPIService) DcimRackGroupsUpdate(ctx context.Context, id string) ApiDcimRackGroupsUpdateRequest {
+ return ApiDcimRackGroupsUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -120879,28 +116021,28 @@ func (a *DcimAPIService) DcimRackReservationsUpdate(ctx context.Context, id stri
}
// Execute executes the request
-// @return RackReservation
-func (a *DcimAPIService) DcimRackReservationsUpdateExecute(r ApiDcimRackReservationsUpdateRequest) (*RackReservation, *http.Response, error) {
+// @return RackGroup
+func (a *DcimAPIService) DcimRackGroupsUpdateExecute(r ApiDcimRackGroupsUpdateRequest) (*RackGroup, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *RackReservation
+ localVarReturnValue *RackGroup
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackReservationsUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackGroupsUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rack-reservations/{id}/"
+ localVarPath := localBasePath + "/dcim/rack-groups/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.rackReservationRequest == nil {
- return localVarReturnValue, nil, reportError("rackReservationRequest is required and must be specified")
+ if r.rackGroupRequest == nil {
+ return localVarReturnValue, nil, reportError("rackGroupRequest is required and must be specified")
}
if r.format != nil {
@@ -120924,7 +116066,7 @@ func (a *DcimAPIService) DcimRackReservationsUpdateExecute(r ApiDcimRackReservat
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.rackReservationRequest
+ localVarPostBody = r.rackGroupRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -120976,56 +116118,56 @@ func (a *DcimAPIService) DcimRackReservationsUpdateExecute(r ApiDcimRackReservat
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRacksBulkDestroyRequest struct {
+type ApiDcimRackReservationsBulkDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
bulkOperationRequest *[]BulkOperationRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimRacksBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimRacksBulkDestroyRequest {
+func (r ApiDcimRackReservationsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimRackReservationsBulkDestroyRequest {
r.bulkOperationRequest = &bulkOperationRequest
return r
}
-func (r ApiDcimRacksBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRacksBulkDestroyRequest {
+func (r ApiDcimRackReservationsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackReservationsBulkDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimRacksBulkDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimRacksBulkDestroyExecute(r)
+func (r ApiDcimRackReservationsBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimRackReservationsBulkDestroyExecute(r)
}
/*
-DcimRacksBulkDestroy Method for DcimRacksBulkDestroy
+DcimRackReservationsBulkDestroy Method for DcimRackReservationsBulkDestroy
-Destroy a list of rack objects.
+Destroy a list of rack reservation objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimRacksBulkDestroyRequest
+ @return ApiDcimRackReservationsBulkDestroyRequest
*/
-func (a *DcimAPIService) DcimRacksBulkDestroy(ctx context.Context) ApiDcimRacksBulkDestroyRequest {
- return ApiDcimRacksBulkDestroyRequest{
+func (a *DcimAPIService) DcimRackReservationsBulkDestroy(ctx context.Context) ApiDcimRackReservationsBulkDestroyRequest {
+ return ApiDcimRackReservationsBulkDestroyRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-func (a *DcimAPIService) DcimRacksBulkDestroyExecute(r ApiDcimRacksBulkDestroyRequest) (*http.Response, error) {
+func (a *DcimAPIService) DcimRackReservationsBulkDestroyExecute(r ApiDcimRackReservationsBulkDestroyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRacksBulkDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackReservationsBulkDestroy")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/racks/"
+ localVarPath := localBasePath + "/dcim/rack-reservations/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -121098,64 +116240,64 @@ func (a *DcimAPIService) DcimRacksBulkDestroyExecute(r ApiDcimRacksBulkDestroyRe
return localVarHTTPResponse, nil
}
-type ApiDcimRacksBulkPartialUpdateRequest struct {
+type ApiDcimRackReservationsBulkPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- patchedBulkWritableRackRequest *[]PatchedBulkWritableRackRequest
+ patchedBulkWritableRackReservationRequest *[]PatchedBulkWritableRackReservationRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimRacksBulkPartialUpdateRequest) PatchedBulkWritableRackRequest(patchedBulkWritableRackRequest []PatchedBulkWritableRackRequest) ApiDcimRacksBulkPartialUpdateRequest {
- r.patchedBulkWritableRackRequest = &patchedBulkWritableRackRequest
+func (r ApiDcimRackReservationsBulkPartialUpdateRequest) PatchedBulkWritableRackReservationRequest(patchedBulkWritableRackReservationRequest []PatchedBulkWritableRackReservationRequest) ApiDcimRackReservationsBulkPartialUpdateRequest {
+ r.patchedBulkWritableRackReservationRequest = &patchedBulkWritableRackReservationRequest
return r
}
-func (r ApiDcimRacksBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRacksBulkPartialUpdateRequest {
+func (r ApiDcimRackReservationsBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackReservationsBulkPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimRacksBulkPartialUpdateRequest) Execute() ([]Rack, *http.Response, error) {
- return r.ApiService.DcimRacksBulkPartialUpdateExecute(r)
+func (r ApiDcimRackReservationsBulkPartialUpdateRequest) Execute() ([]RackReservation, *http.Response, error) {
+ return r.ApiService.DcimRackReservationsBulkPartialUpdateExecute(r)
}
/*
-DcimRacksBulkPartialUpdate Method for DcimRacksBulkPartialUpdate
+DcimRackReservationsBulkPartialUpdate Method for DcimRackReservationsBulkPartialUpdate
-Partial update a list of rack objects.
+Partial update a list of rack reservation objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimRacksBulkPartialUpdateRequest
+ @return ApiDcimRackReservationsBulkPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimRacksBulkPartialUpdate(ctx context.Context) ApiDcimRacksBulkPartialUpdateRequest {
- return ApiDcimRacksBulkPartialUpdateRequest{
+func (a *DcimAPIService) DcimRackReservationsBulkPartialUpdate(ctx context.Context) ApiDcimRackReservationsBulkPartialUpdateRequest {
+ return ApiDcimRackReservationsBulkPartialUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []Rack
-func (a *DcimAPIService) DcimRacksBulkPartialUpdateExecute(r ApiDcimRacksBulkPartialUpdateRequest) ([]Rack, *http.Response, error) {
+// @return []RackReservation
+func (a *DcimAPIService) DcimRackReservationsBulkPartialUpdateExecute(r ApiDcimRackReservationsBulkPartialUpdateRequest) ([]RackReservation, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []Rack
+ localVarReturnValue []RackReservation
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRacksBulkPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackReservationsBulkPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/racks/"
+ localVarPath := localBasePath + "/dcim/rack-reservations/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.patchedBulkWritableRackRequest == nil {
- return localVarReturnValue, nil, reportError("patchedBulkWritableRackRequest is required and must be specified")
+ if r.patchedBulkWritableRackReservationRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritableRackReservationRequest is required and must be specified")
}
if r.format != nil {
@@ -121179,7 +116321,7 @@ func (a *DcimAPIService) DcimRacksBulkPartialUpdateExecute(r ApiDcimRacksBulkPar
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedBulkWritableRackRequest
+ localVarPostBody = r.patchedBulkWritableRackReservationRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -121231,64 +116373,64 @@ func (a *DcimAPIService) DcimRacksBulkPartialUpdateExecute(r ApiDcimRacksBulkPar
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRacksBulkUpdateRequest struct {
+type ApiDcimRackReservationsBulkUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- bulkWritableRackRequest *[]BulkWritableRackRequest
+ bulkWritableRackReservationRequest *[]BulkWritableRackReservationRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimRacksBulkUpdateRequest) BulkWritableRackRequest(bulkWritableRackRequest []BulkWritableRackRequest) ApiDcimRacksBulkUpdateRequest {
- r.bulkWritableRackRequest = &bulkWritableRackRequest
+func (r ApiDcimRackReservationsBulkUpdateRequest) BulkWritableRackReservationRequest(bulkWritableRackReservationRequest []BulkWritableRackReservationRequest) ApiDcimRackReservationsBulkUpdateRequest {
+ r.bulkWritableRackReservationRequest = &bulkWritableRackReservationRequest
return r
}
-func (r ApiDcimRacksBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRacksBulkUpdateRequest {
+func (r ApiDcimRackReservationsBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackReservationsBulkUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimRacksBulkUpdateRequest) Execute() ([]Rack, *http.Response, error) {
- return r.ApiService.DcimRacksBulkUpdateExecute(r)
+func (r ApiDcimRackReservationsBulkUpdateRequest) Execute() ([]RackReservation, *http.Response, error) {
+ return r.ApiService.DcimRackReservationsBulkUpdateExecute(r)
}
/*
-DcimRacksBulkUpdate Method for DcimRacksBulkUpdate
+DcimRackReservationsBulkUpdate Method for DcimRackReservationsBulkUpdate
-Update a list of rack objects.
+Update a list of rack reservation objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimRacksBulkUpdateRequest
+ @return ApiDcimRackReservationsBulkUpdateRequest
*/
-func (a *DcimAPIService) DcimRacksBulkUpdate(ctx context.Context) ApiDcimRacksBulkUpdateRequest {
- return ApiDcimRacksBulkUpdateRequest{
+func (a *DcimAPIService) DcimRackReservationsBulkUpdate(ctx context.Context) ApiDcimRackReservationsBulkUpdateRequest {
+ return ApiDcimRackReservationsBulkUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []Rack
-func (a *DcimAPIService) DcimRacksBulkUpdateExecute(r ApiDcimRacksBulkUpdateRequest) ([]Rack, *http.Response, error) {
+// @return []RackReservation
+func (a *DcimAPIService) DcimRackReservationsBulkUpdateExecute(r ApiDcimRackReservationsBulkUpdateRequest) ([]RackReservation, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []Rack
+ localVarReturnValue []RackReservation
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRacksBulkUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackReservationsBulkUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/racks/"
+ localVarPath := localBasePath + "/dcim/rack-reservations/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.bulkWritableRackRequest == nil {
- return localVarReturnValue, nil, reportError("bulkWritableRackRequest is required and must be specified")
+ if r.bulkWritableRackReservationRequest == nil {
+ return localVarReturnValue, nil, reportError("bulkWritableRackReservationRequest is required and must be specified")
}
if r.format != nil {
@@ -121312,7 +116454,7 @@ func (a *DcimAPIService) DcimRacksBulkUpdateExecute(r ApiDcimRacksBulkUpdateRequ
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.bulkWritableRackRequest
+ localVarPostBody = r.bulkWritableRackReservationRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -121364,64 +116506,64 @@ func (a *DcimAPIService) DcimRacksBulkUpdateExecute(r ApiDcimRacksBulkUpdateRequ
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRacksCreateRequest struct {
+type ApiDcimRackReservationsCreateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- writableRackRequest *WritableRackRequest
+ rackReservationRequest *RackReservationRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimRacksCreateRequest) WritableRackRequest(writableRackRequest WritableRackRequest) ApiDcimRacksCreateRequest {
- r.writableRackRequest = &writableRackRequest
+func (r ApiDcimRackReservationsCreateRequest) RackReservationRequest(rackReservationRequest RackReservationRequest) ApiDcimRackReservationsCreateRequest {
+ r.rackReservationRequest = &rackReservationRequest
return r
}
-func (r ApiDcimRacksCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRacksCreateRequest {
+func (r ApiDcimRackReservationsCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackReservationsCreateRequest {
r.format = &format
return r
}
-func (r ApiDcimRacksCreateRequest) Execute() (*Rack, *http.Response, error) {
- return r.ApiService.DcimRacksCreateExecute(r)
+func (r ApiDcimRackReservationsCreateRequest) Execute() (*RackReservation, *http.Response, error) {
+ return r.ApiService.DcimRackReservationsCreateExecute(r)
}
/*
-DcimRacksCreate Method for DcimRacksCreate
+DcimRackReservationsCreate Method for DcimRackReservationsCreate
-Create one or more rack objects.
+Create one or more rack reservation objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimRacksCreateRequest
+ @return ApiDcimRackReservationsCreateRequest
*/
-func (a *DcimAPIService) DcimRacksCreate(ctx context.Context) ApiDcimRacksCreateRequest {
- return ApiDcimRacksCreateRequest{
+func (a *DcimAPIService) DcimRackReservationsCreate(ctx context.Context) ApiDcimRackReservationsCreateRequest {
+ return ApiDcimRackReservationsCreateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return Rack
-func (a *DcimAPIService) DcimRacksCreateExecute(r ApiDcimRacksCreateRequest) (*Rack, *http.Response, error) {
+// @return RackReservation
+func (a *DcimAPIService) DcimRackReservationsCreateExecute(r ApiDcimRackReservationsCreateRequest) (*RackReservation, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *Rack
+ localVarReturnValue *RackReservation
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRacksCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackReservationsCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/racks/"
+ localVarPath := localBasePath + "/dcim/rack-reservations/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.writableRackRequest == nil {
- return localVarReturnValue, nil, reportError("writableRackRequest is required and must be specified")
+ if r.rackReservationRequest == nil {
+ return localVarReturnValue, nil, reportError("rackReservationRequest is required and must be specified")
}
if r.format != nil {
@@ -121445,7 +116587,7 @@ func (a *DcimAPIService) DcimRacksCreateExecute(r ApiDcimRacksCreateRequest) (*R
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.writableRackRequest
+ localVarPostBody = r.rackReservationRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -121497,33 +116639,33 @@ func (a *DcimAPIService) DcimRacksCreateExecute(r ApiDcimRacksCreateRequest) (*R
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRacksDestroyRequest struct {
+type ApiDcimRackReservationsDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimRacksDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRacksDestroyRequest {
+func (r ApiDcimRackReservationsDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackReservationsDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimRacksDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimRacksDestroyExecute(r)
+func (r ApiDcimRackReservationsDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimRackReservationsDestroyExecute(r)
}
/*
-DcimRacksDestroy Method for DcimRacksDestroy
+DcimRackReservationsDestroy Method for DcimRackReservationsDestroy
-Destroy a rack object.
+Destroy a rack reservation object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this rack.
- @return ApiDcimRacksDestroyRequest
+ @param id A UUID string identifying this rack reservation.
+ @return ApiDcimRackReservationsDestroyRequest
*/
-func (a *DcimAPIService) DcimRacksDestroy(ctx context.Context, id string) ApiDcimRacksDestroyRequest {
- return ApiDcimRacksDestroyRequest{
+func (a *DcimAPIService) DcimRackReservationsDestroy(ctx context.Context, id string) ApiDcimRackReservationsDestroyRequest {
+ return ApiDcimRackReservationsDestroyRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -121531,19 +116673,19 @@ func (a *DcimAPIService) DcimRacksDestroy(ctx context.Context, id string) ApiDci
}
// Execute executes the request
-func (a *DcimAPIService) DcimRacksDestroyExecute(r ApiDcimRacksDestroyRequest) (*http.Response, error) {
+func (a *DcimAPIService) DcimRackReservationsDestroyExecute(r ApiDcimRackReservationsDestroyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRacksDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackReservationsDestroy")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/racks/{id}/"
+ localVarPath := localBasePath + "/dcim/rack-reservations/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -121612,308 +116754,12 @@ func (a *DcimAPIService) DcimRacksDestroyExecute(r ApiDcimRacksDestroyRequest) (
return localVarHTTPResponse, nil
}
-type ApiDcimRacksElevationListRequest struct {
- ctx context.Context
- ApiService *DcimAPIService
- id string
- displayFullname *bool
- exclude *string
- expandDevices *bool
- face *DcimRacksElevationListFaceParameter
- format *CircuitsCircuitTerminationsListFormatParameter
- includeImages *bool
- legendWidth *int32
- limit *int32
- offset *int32
- q *string
- render *DcimRacksElevationListRenderParameter
- unitHeight *int32
- unitWidth *int32
- depth *int32
-}
-
-func (r ApiDcimRacksElevationListRequest) DisplayFullname(displayFullname bool) ApiDcimRacksElevationListRequest {
- r.displayFullname = &displayFullname
- return r
-}
-
-func (r ApiDcimRacksElevationListRequest) Exclude(exclude string) ApiDcimRacksElevationListRequest {
- r.exclude = &exclude
- return r
-}
-
-func (r ApiDcimRacksElevationListRequest) ExpandDevices(expandDevices bool) ApiDcimRacksElevationListRequest {
- r.expandDevices = &expandDevices
- return r
-}
-
-func (r ApiDcimRacksElevationListRequest) Face(face DcimRacksElevationListFaceParameter) ApiDcimRacksElevationListRequest {
- r.face = &face
- return r
-}
-
-func (r ApiDcimRacksElevationListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRacksElevationListRequest {
- r.format = &format
- return r
-}
-
-func (r ApiDcimRacksElevationListRequest) IncludeImages(includeImages bool) ApiDcimRacksElevationListRequest {
- r.includeImages = &includeImages
- return r
-}
-
-func (r ApiDcimRacksElevationListRequest) LegendWidth(legendWidth int32) ApiDcimRacksElevationListRequest {
- r.legendWidth = &legendWidth
- return r
-}
-
-// Number of results to return per page.
-func (r ApiDcimRacksElevationListRequest) Limit(limit int32) ApiDcimRacksElevationListRequest {
- r.limit = &limit
- return r
-}
-
-// The initial index from which to return the results.
-func (r ApiDcimRacksElevationListRequest) Offset(offset int32) ApiDcimRacksElevationListRequest {
- r.offset = &offset
- return r
-}
-
-func (r ApiDcimRacksElevationListRequest) Q(q string) ApiDcimRacksElevationListRequest {
- r.q = &q
- return r
-}
-
-func (r ApiDcimRacksElevationListRequest) Render(render DcimRacksElevationListRenderParameter) ApiDcimRacksElevationListRequest {
- r.render = &render
- return r
-}
-
-func (r ApiDcimRacksElevationListRequest) UnitHeight(unitHeight int32) ApiDcimRacksElevationListRequest {
- r.unitHeight = &unitHeight
- return r
-}
-
-func (r ApiDcimRacksElevationListRequest) UnitWidth(unitWidth int32) ApiDcimRacksElevationListRequest {
- r.unitWidth = &unitWidth
- return r
-}
-
-// Serializer Depth
-func (r ApiDcimRacksElevationListRequest) Depth(depth int32) ApiDcimRacksElevationListRequest {
- r.depth = &depth
- return r
-}
-
-func (r ApiDcimRacksElevationListRequest) Execute() (*PaginatedRackUnitList, *http.Response, error) {
- return r.ApiService.DcimRacksElevationListExecute(r)
-}
-
-/*
-DcimRacksElevationList Method for DcimRacksElevationList
-
-Rack elevation representing the list of rack units. Also supports rendering the elevation as an SVG.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this rack.
- @return ApiDcimRacksElevationListRequest
-*/
-func (a *DcimAPIService) DcimRacksElevationList(ctx context.Context, id string) ApiDcimRacksElevationListRequest {
- return ApiDcimRacksElevationListRequest{
- ApiService: a,
- ctx: ctx,
- id: id,
- }
-}
-
-// Execute executes the request
-// @return PaginatedRackUnitList
-func (a *DcimAPIService) DcimRacksElevationListExecute(r ApiDcimRacksElevationListRequest) (*PaginatedRackUnitList, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *PaginatedRackUnitList
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRacksElevationList")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/dcim/racks/{id}/elevation/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
-
- if r.displayFullname != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "display_fullname", r.displayFullname, "form", "")
- } else {
- var defaultValue bool = true
- r.displayFullname = &defaultValue
- }
- if r.exclude != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "exclude", r.exclude, "form", "")
- }
- if r.expandDevices != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "expand_devices", r.expandDevices, "form", "")
- } else {
- var defaultValue bool = true
- r.expandDevices = &defaultValue
- }
- if r.face != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "face", r.face, "form", "")
- } else {
- var defaultValue DcimRacksElevationListFaceParameter = "front"
- r.face = &defaultValue
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.includeImages != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "include_images", r.includeImages, "form", "")
- } else {
- var defaultValue bool = true
- r.includeImages = &defaultValue
- }
- if r.legendWidth != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "legend_width", r.legendWidth, "form", "")
- } else {
- var defaultValue int32 = 30
- r.legendWidth = &defaultValue
- }
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
- }
- if r.offset != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
- }
- if r.q != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
- }
- if r.render != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "render", r.render, "form", "")
- } else {
- var defaultValue DcimRacksElevationListRenderParameter = "json"
- r.render = &defaultValue
- }
- if r.unitHeight != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "unit_height", r.unitHeight, "form", "")
- }
- if r.unitWidth != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "unit_width", r.unitWidth, "form", "")
- }
- if r.depth != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
- } else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiDcimRacksListRequest struct {
+type ApiDcimRackReservationsListRequest struct {
ctx context.Context
ApiService *DcimAPIService
- assetTag *[]string
- assetTagIc *[]string
- assetTagIe *[]string
- assetTagIew *[]string
- assetTagIre *[]string
- assetTagIsnull *bool
- assetTagIsw *[]string
- assetTagN *[]string
- assetTagNic *[]string
- assetTagNie *[]string
- assetTagNiew *[]string
- assetTagNire *[]string
- assetTagNisw *[]string
- assetTagNre *[]string
- assetTagRe *[]string
- comments *[]string
- commentsIc *[]string
- commentsIe *[]string
- commentsIew *[]string
- commentsIre *[]string
- commentsIsw *[]string
- commentsN *[]string
- commentsNic *[]string
- commentsNie *[]string
- commentsNiew *[]string
- commentsNire *[]string
- commentsNisw *[]string
- commentsNre *[]string
- commentsRe *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -121921,45 +116767,25 @@ type ApiDcimRacksListRequest struct {
createdLt *[]time.Time
createdLte *[]time.Time
createdN *[]time.Time
- descUnits *bool
- devices *[]string
- devicesIsnull *bool
- devicesN *[]string
+ description *[]string
+ descriptionIc *[]string
+ descriptionIe *[]string
+ descriptionIew *[]string
+ descriptionIre *[]string
+ descriptionIsw *[]string
+ descriptionN *[]string
+ descriptionNic *[]string
+ descriptionNie *[]string
+ descriptionNiew *[]string
+ descriptionNire *[]string
+ descriptionNisw *[]string
+ descriptionNre *[]string
+ descriptionRe *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
- facilityId *[]string
- facilityIdIc *[]string
- facilityIdIe *[]string
- facilityIdIew *[]string
- facilityIdIre *[]string
- facilityIdIsnull *bool
- facilityIdIsw *[]string
- facilityIdN *[]string
- facilityIdNic *[]string
- facilityIdNie *[]string
- facilityIdNiew *[]string
- facilityIdNire *[]string
- facilityIdNisw *[]string
- facilityIdNre *[]string
- facilityIdRe *[]string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
- hasDevices *bool
- hasPowerFeeds *bool
- hasRackReservations *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -121968,74 +116794,20 @@ type ApiDcimRacksListRequest struct {
lastUpdatedLte *[]time.Time
lastUpdatedN *[]time.Time
limit *int32
- location *[]string
- locationN *[]string
- name *[]string
- nameIc *[]string
- nameIe *[]string
- nameIew *[]string
- nameIre *[]string
- nameIsw *[]string
- nameN *[]string
- nameNic *[]string
- nameNie *[]string
- nameNiew *[]string
- nameNire *[]string
- nameNisw *[]string
- nameNre *[]string
- nameRe *[]string
offset *int32
- outerDepth *[]int32
- outerDepthGt *[]int32
- outerDepthGte *[]int32
- outerDepthIsnull *bool
- outerDepthLt *[]int32
- outerDepthLte *[]int32
- outerDepthN *[]int32
- outerUnit *[]string
- outerUnitIc *[]string
- outerUnitIe *[]string
- outerUnitIew *[]string
- outerUnitIre *[]string
- outerUnitIsw *[]string
- outerUnitN *[]string
- outerUnitNic *[]string
- outerUnitNie *[]string
- outerUnitNiew *[]string
- outerUnitNire *[]string
- outerUnitNisw *[]string
- outerUnitNre *[]string
- outerUnitRe *[]string
- outerWidth *[]int32
- outerWidthGt *[]int32
- outerWidthGte *[]int32
- outerWidthIsnull *bool
- outerWidthLt *[]int32
- outerWidthLte *[]int32
- outerWidthN *[]int32
- powerFeeds *[]string
- powerFeedsIsnull *bool
- powerFeedsN *[]string
q *string
+ rack *[]string
+ rackN *[]string
rackGroup *[]string
rackGroupIsnull *bool
rackGroupN *[]string
- rackReservations *[]string
- rackReservationsIsnull *bool
- rackReservationsN *[]string
- role *[]string
- roleIsnull *bool
- roleN *string
- serial *[]string
sort *string
- status *[]string
- statusN *string
tags *[]string
tagsIsnull *bool
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
tenant *[]string
tenantIsnull *bool
tenantN *[]string
@@ -122045,3332 +116817,8950 @@ type ApiDcimRacksListRequest struct {
tenantId *[]*string
tenantIdIsnull *bool
tenantIdN *[]*string
- type_ *[]string
- typeIc *[]string
- typeIe *[]string
- typeIew *[]string
- typeIre *[]string
- typeIsw *[]string
- typeN *[]string
- typeNic *[]string
- typeNie *[]string
- typeNiew *[]string
- typeNire *[]string
- typeNisw *[]string
- typeNre *[]string
- typeRe *[]string
- uHeight *[]int32
- uHeightGt *[]int32
- uHeightGte *[]int32
- uHeightLt *[]int32
- uHeightLte *[]int32
- uHeightN *[]int32
- width *[]int32
- widthIc *[]int32
- widthIe *[]int32
- widthIew *[]int32
- widthIre *[]int32
- widthIsw *[]int32
- widthN *[]int32
- widthNic *[]int32
- widthNie *[]int32
- widthNiew *[]int32
- widthNire *[]int32
- widthNisw *[]int32
- widthNre *[]int32
- widthRe *[]int32
+ user *[]string
+ userN *[]string
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimRacksListRequest) AssetTag(assetTag []string) ApiDcimRacksListRequest {
- r.assetTag = &assetTag
- return r
-}
-
-func (r ApiDcimRacksListRequest) AssetTagIc(assetTagIc []string) ApiDcimRacksListRequest {
- r.assetTagIc = &assetTagIc
- return r
-}
-
-func (r ApiDcimRacksListRequest) AssetTagIe(assetTagIe []string) ApiDcimRacksListRequest {
- r.assetTagIe = &assetTagIe
- return r
-}
-
-func (r ApiDcimRacksListRequest) AssetTagIew(assetTagIew []string) ApiDcimRacksListRequest {
- r.assetTagIew = &assetTagIew
- return r
-}
-
-func (r ApiDcimRacksListRequest) AssetTagIre(assetTagIre []string) ApiDcimRacksListRequest {
- r.assetTagIre = &assetTagIre
- return r
-}
-
-func (r ApiDcimRacksListRequest) AssetTagIsnull(assetTagIsnull bool) ApiDcimRacksListRequest {
- r.assetTagIsnull = &assetTagIsnull
- return r
-}
-
-func (r ApiDcimRacksListRequest) AssetTagIsw(assetTagIsw []string) ApiDcimRacksListRequest {
- r.assetTagIsw = &assetTagIsw
- return r
-}
-
-func (r ApiDcimRacksListRequest) AssetTagN(assetTagN []string) ApiDcimRacksListRequest {
- r.assetTagN = &assetTagN
- return r
-}
-
-func (r ApiDcimRacksListRequest) AssetTagNic(assetTagNic []string) ApiDcimRacksListRequest {
- r.assetTagNic = &assetTagNic
- return r
-}
-
-func (r ApiDcimRacksListRequest) AssetTagNie(assetTagNie []string) ApiDcimRacksListRequest {
- r.assetTagNie = &assetTagNie
- return r
-}
-
-func (r ApiDcimRacksListRequest) AssetTagNiew(assetTagNiew []string) ApiDcimRacksListRequest {
- r.assetTagNiew = &assetTagNiew
- return r
-}
-
-func (r ApiDcimRacksListRequest) AssetTagNire(assetTagNire []string) ApiDcimRacksListRequest {
- r.assetTagNire = &assetTagNire
- return r
-}
-
-func (r ApiDcimRacksListRequest) AssetTagNisw(assetTagNisw []string) ApiDcimRacksListRequest {
- r.assetTagNisw = &assetTagNisw
- return r
-}
-
-func (r ApiDcimRacksListRequest) AssetTagNre(assetTagNre []string) ApiDcimRacksListRequest {
- r.assetTagNre = &assetTagNre
- return r
-}
-
-func (r ApiDcimRacksListRequest) AssetTagRe(assetTagRe []string) ApiDcimRacksListRequest {
- r.assetTagRe = &assetTagRe
- return r
-}
-
-func (r ApiDcimRacksListRequest) Comments(comments []string) ApiDcimRacksListRequest {
- r.comments = &comments
- return r
-}
-
-func (r ApiDcimRacksListRequest) CommentsIc(commentsIc []string) ApiDcimRacksListRequest {
- r.commentsIc = &commentsIc
- return r
-}
-
-func (r ApiDcimRacksListRequest) CommentsIe(commentsIe []string) ApiDcimRacksListRequest {
- r.commentsIe = &commentsIe
- return r
-}
-
-func (r ApiDcimRacksListRequest) CommentsIew(commentsIew []string) ApiDcimRacksListRequest {
- r.commentsIew = &commentsIew
- return r
-}
-
-func (r ApiDcimRacksListRequest) CommentsIre(commentsIre []string) ApiDcimRacksListRequest {
- r.commentsIre = &commentsIre
- return r
-}
-
-func (r ApiDcimRacksListRequest) CommentsIsw(commentsIsw []string) ApiDcimRacksListRequest {
- r.commentsIsw = &commentsIsw
- return r
-}
-
-func (r ApiDcimRacksListRequest) CommentsN(commentsN []string) ApiDcimRacksListRequest {
- r.commentsN = &commentsN
- return r
-}
-
-func (r ApiDcimRacksListRequest) CommentsNic(commentsNic []string) ApiDcimRacksListRequest {
- r.commentsNic = &commentsNic
- return r
-}
-
-func (r ApiDcimRacksListRequest) CommentsNie(commentsNie []string) ApiDcimRacksListRequest {
- r.commentsNie = &commentsNie
- return r
-}
-
-func (r ApiDcimRacksListRequest) CommentsNiew(commentsNiew []string) ApiDcimRacksListRequest {
- r.commentsNiew = &commentsNiew
- return r
-}
-
-func (r ApiDcimRacksListRequest) CommentsNire(commentsNire []string) ApiDcimRacksListRequest {
- r.commentsNire = &commentsNire
- return r
-}
-
-func (r ApiDcimRacksListRequest) CommentsNisw(commentsNisw []string) ApiDcimRacksListRequest {
- r.commentsNisw = &commentsNisw
- return r
-}
-
-func (r ApiDcimRacksListRequest) CommentsNre(commentsNre []string) ApiDcimRacksListRequest {
- r.commentsNre = &commentsNre
- return r
-}
-
-func (r ApiDcimRacksListRequest) CommentsRe(commentsRe []string) ApiDcimRacksListRequest {
- r.commentsRe = &commentsRe
- return r
-}
-
-func (r ApiDcimRacksListRequest) Contacts(contacts []string) ApiDcimRacksListRequest {
+func (r ApiDcimRackReservationsListRequest) Contacts(contacts []string) ApiDcimRackReservationsListRequest {
r.contacts = &contacts
return r
}
// Contacts (name or ID) is null
-func (r ApiDcimRacksListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimRacksListRequest {
+func (r ApiDcimRackReservationsListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimRackReservationsListRequest {
r.contactsIsnull = &contactsIsnull
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimRacksListRequest) ContactsN(contactsN string) ApiDcimRacksListRequest {
+func (r ApiDcimRackReservationsListRequest) ContactsN(contactsN []string) ApiDcimRackReservationsListRequest {
r.contactsN = &contactsN
return r
}
-func (r ApiDcimRacksListRequest) Created(created []time.Time) ApiDcimRacksListRequest {
+func (r ApiDcimRackReservationsListRequest) Created(created []time.Time) ApiDcimRackReservationsListRequest {
r.created = &created
return r
}
-func (r ApiDcimRacksListRequest) CreatedGt(createdGt []time.Time) ApiDcimRacksListRequest {
+func (r ApiDcimRackReservationsListRequest) CreatedGt(createdGt []time.Time) ApiDcimRackReservationsListRequest {
r.createdGt = &createdGt
return r
}
-func (r ApiDcimRacksListRequest) CreatedGte(createdGte []time.Time) ApiDcimRacksListRequest {
+func (r ApiDcimRackReservationsListRequest) CreatedGte(createdGte []time.Time) ApiDcimRackReservationsListRequest {
r.createdGte = &createdGte
return r
}
-func (r ApiDcimRacksListRequest) CreatedIsnull(createdIsnull bool) ApiDcimRacksListRequest {
+func (r ApiDcimRackReservationsListRequest) CreatedIsnull(createdIsnull bool) ApiDcimRackReservationsListRequest {
r.createdIsnull = &createdIsnull
return r
}
-func (r ApiDcimRacksListRequest) CreatedLt(createdLt []time.Time) ApiDcimRacksListRequest {
+func (r ApiDcimRackReservationsListRequest) CreatedLt(createdLt []time.Time) ApiDcimRackReservationsListRequest {
r.createdLt = &createdLt
return r
}
-func (r ApiDcimRacksListRequest) CreatedLte(createdLte []time.Time) ApiDcimRacksListRequest {
+func (r ApiDcimRackReservationsListRequest) CreatedLte(createdLte []time.Time) ApiDcimRackReservationsListRequest {
r.createdLte = &createdLte
return r
}
-func (r ApiDcimRacksListRequest) CreatedN(createdN []time.Time) ApiDcimRacksListRequest {
+func (r ApiDcimRackReservationsListRequest) CreatedN(createdN []time.Time) ApiDcimRackReservationsListRequest {
r.createdN = &createdN
return r
}
-func (r ApiDcimRacksListRequest) DescUnits(descUnits bool) ApiDcimRacksListRequest {
- r.descUnits = &descUnits
+func (r ApiDcimRackReservationsListRequest) Description(description []string) ApiDcimRackReservationsListRequest {
+ r.description = &description
return r
}
-func (r ApiDcimRacksListRequest) Devices(devices []string) ApiDcimRacksListRequest {
- r.devices = &devices
+func (r ApiDcimRackReservationsListRequest) DescriptionIc(descriptionIc []string) ApiDcimRackReservationsListRequest {
+ r.descriptionIc = &descriptionIc
return r
}
-func (r ApiDcimRacksListRequest) DevicesIsnull(devicesIsnull bool) ApiDcimRacksListRequest {
- r.devicesIsnull = &devicesIsnull
+func (r ApiDcimRackReservationsListRequest) DescriptionIe(descriptionIe []string) ApiDcimRackReservationsListRequest {
+ r.descriptionIe = &descriptionIe
return r
}
-func (r ApiDcimRacksListRequest) DevicesN(devicesN []string) ApiDcimRacksListRequest {
- r.devicesN = &devicesN
+func (r ApiDcimRackReservationsListRequest) DescriptionIew(descriptionIew []string) ApiDcimRackReservationsListRequest {
+ r.descriptionIew = &descriptionIew
return r
}
-func (r ApiDcimRacksListRequest) DynamicGroups(dynamicGroups []string) ApiDcimRacksListRequest {
- r.dynamicGroups = &dynamicGroups
+func (r ApiDcimRackReservationsListRequest) DescriptionIre(descriptionIre []string) ApiDcimRackReservationsListRequest {
+ r.descriptionIre = &descriptionIre
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimRacksListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimRacksListRequest {
- r.dynamicGroupsN = &dynamicGroupsN
+func (r ApiDcimRackReservationsListRequest) DescriptionIsw(descriptionIsw []string) ApiDcimRackReservationsListRequest {
+ r.descriptionIsw = &descriptionIsw
return r
}
-func (r ApiDcimRacksListRequest) FacilityId(facilityId []string) ApiDcimRacksListRequest {
- r.facilityId = &facilityId
+func (r ApiDcimRackReservationsListRequest) DescriptionN(descriptionN []string) ApiDcimRackReservationsListRequest {
+ r.descriptionN = &descriptionN
return r
}
-func (r ApiDcimRacksListRequest) FacilityIdIc(facilityIdIc []string) ApiDcimRacksListRequest {
- r.facilityIdIc = &facilityIdIc
+func (r ApiDcimRackReservationsListRequest) DescriptionNic(descriptionNic []string) ApiDcimRackReservationsListRequest {
+ r.descriptionNic = &descriptionNic
return r
}
-func (r ApiDcimRacksListRequest) FacilityIdIe(facilityIdIe []string) ApiDcimRacksListRequest {
- r.facilityIdIe = &facilityIdIe
+func (r ApiDcimRackReservationsListRequest) DescriptionNie(descriptionNie []string) ApiDcimRackReservationsListRequest {
+ r.descriptionNie = &descriptionNie
return r
}
-func (r ApiDcimRacksListRequest) FacilityIdIew(facilityIdIew []string) ApiDcimRacksListRequest {
- r.facilityIdIew = &facilityIdIew
+func (r ApiDcimRackReservationsListRequest) DescriptionNiew(descriptionNiew []string) ApiDcimRackReservationsListRequest {
+ r.descriptionNiew = &descriptionNiew
return r
}
-func (r ApiDcimRacksListRequest) FacilityIdIre(facilityIdIre []string) ApiDcimRacksListRequest {
- r.facilityIdIre = &facilityIdIre
+func (r ApiDcimRackReservationsListRequest) DescriptionNire(descriptionNire []string) ApiDcimRackReservationsListRequest {
+ r.descriptionNire = &descriptionNire
return r
}
-func (r ApiDcimRacksListRequest) FacilityIdIsnull(facilityIdIsnull bool) ApiDcimRacksListRequest {
- r.facilityIdIsnull = &facilityIdIsnull
+func (r ApiDcimRackReservationsListRequest) DescriptionNisw(descriptionNisw []string) ApiDcimRackReservationsListRequest {
+ r.descriptionNisw = &descriptionNisw
return r
}
-func (r ApiDcimRacksListRequest) FacilityIdIsw(facilityIdIsw []string) ApiDcimRacksListRequest {
- r.facilityIdIsw = &facilityIdIsw
+func (r ApiDcimRackReservationsListRequest) DescriptionNre(descriptionNre []string) ApiDcimRackReservationsListRequest {
+ r.descriptionNre = &descriptionNre
return r
}
-func (r ApiDcimRacksListRequest) FacilityIdN(facilityIdN []string) ApiDcimRacksListRequest {
- r.facilityIdN = &facilityIdN
+func (r ApiDcimRackReservationsListRequest) DescriptionRe(descriptionRe []string) ApiDcimRackReservationsListRequest {
+ r.descriptionRe = &descriptionRe
return r
}
-func (r ApiDcimRacksListRequest) FacilityIdNic(facilityIdNic []string) ApiDcimRacksListRequest {
- r.facilityIdNic = &facilityIdNic
+func (r ApiDcimRackReservationsListRequest) DynamicGroups(dynamicGroups []string) ApiDcimRackReservationsListRequest {
+ r.dynamicGroups = &dynamicGroups
return r
}
-func (r ApiDcimRacksListRequest) FacilityIdNie(facilityIdNie []string) ApiDcimRacksListRequest {
- r.facilityIdNie = &facilityIdNie
+func (r ApiDcimRackReservationsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimRackReservationsListRequest {
+ r.dynamicGroupsN = &dynamicGroupsN
return r
}
-func (r ApiDcimRacksListRequest) FacilityIdNiew(facilityIdNiew []string) ApiDcimRacksListRequest {
- r.facilityIdNiew = &facilityIdNiew
+func (r ApiDcimRackReservationsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackReservationsListRequest {
+ r.format = &format
return r
}
-func (r ApiDcimRacksListRequest) FacilityIdNire(facilityIdNire []string) ApiDcimRacksListRequest {
- r.facilityIdNire = &facilityIdNire
+// Unique object identifier, either a UUID primary key or a composite key.
+func (r ApiDcimRackReservationsListRequest) Id(id []string) ApiDcimRackReservationsListRequest {
+ r.id = &id
return r
}
-func (r ApiDcimRacksListRequest) FacilityIdNisw(facilityIdNisw []string) ApiDcimRacksListRequest {
- r.facilityIdNisw = &facilityIdNisw
+func (r ApiDcimRackReservationsListRequest) IdN(idN []string) ApiDcimRackReservationsListRequest {
+ r.idN = &idN
return r
}
-func (r ApiDcimRacksListRequest) FacilityIdNre(facilityIdNre []string) ApiDcimRacksListRequest {
- r.facilityIdNre = &facilityIdNre
+func (r ApiDcimRackReservationsListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimRackReservationsListRequest {
+ r.lastUpdated = &lastUpdated
return r
}
-func (r ApiDcimRacksListRequest) FacilityIdRe(facilityIdRe []string) ApiDcimRacksListRequest {
- r.facilityIdRe = &facilityIdRe
+func (r ApiDcimRackReservationsListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiDcimRackReservationsListRequest {
+ r.lastUpdatedGt = &lastUpdatedGt
return r
}
-func (r ApiDcimRacksListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRacksListRequest {
- r.format = &format
+func (r ApiDcimRackReservationsListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiDcimRackReservationsListRequest {
+ r.lastUpdatedGte = &lastUpdatedGte
return r
}
-// Has devices
-func (r ApiDcimRacksListRequest) HasDevices(hasDevices bool) ApiDcimRacksListRequest {
- r.hasDevices = &hasDevices
+func (r ApiDcimRackReservationsListRequest) LastUpdatedIsnull(lastUpdatedIsnull bool) ApiDcimRackReservationsListRequest {
+ r.lastUpdatedIsnull = &lastUpdatedIsnull
return r
}
-// Has power feeds
-func (r ApiDcimRacksListRequest) HasPowerFeeds(hasPowerFeeds bool) ApiDcimRacksListRequest {
- r.hasPowerFeeds = &hasPowerFeeds
+func (r ApiDcimRackReservationsListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiDcimRackReservationsListRequest {
+ r.lastUpdatedLt = &lastUpdatedLt
return r
}
-// Has rack reservations
-func (r ApiDcimRacksListRequest) HasRackReservations(hasRackReservations bool) ApiDcimRacksListRequest {
- r.hasRackReservations = &hasRackReservations
+func (r ApiDcimRackReservationsListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiDcimRackReservationsListRequest {
+ r.lastUpdatedLte = &lastUpdatedLte
return r
}
-// Unique object identifier, either a UUID primary key or a composite key.
-func (r ApiDcimRacksListRequest) Id(id []string) ApiDcimRacksListRequest {
- r.id = &id
+func (r ApiDcimRackReservationsListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiDcimRackReservationsListRequest {
+ r.lastUpdatedN = &lastUpdatedN
return r
}
-func (r ApiDcimRacksListRequest) IdIc(idIc []string) ApiDcimRacksListRequest {
- r.idIc = &idIc
+// Number of results to return per page.
+func (r ApiDcimRackReservationsListRequest) Limit(limit int32) ApiDcimRackReservationsListRequest {
+ r.limit = &limit
return r
}
-func (r ApiDcimRacksListRequest) IdIe(idIe []string) ApiDcimRacksListRequest {
- r.idIe = &idIe
+// The initial index from which to return the results.
+func (r ApiDcimRackReservationsListRequest) Offset(offset int32) ApiDcimRackReservationsListRequest {
+ r.offset = &offset
return r
}
-func (r ApiDcimRacksListRequest) IdIew(idIew []string) ApiDcimRacksListRequest {
- r.idIew = &idIew
+// Search
+func (r ApiDcimRackReservationsListRequest) Q(q string) ApiDcimRackReservationsListRequest {
+ r.q = &q
return r
}
-func (r ApiDcimRacksListRequest) IdIre(idIre []string) ApiDcimRacksListRequest {
- r.idIre = &idIre
+func (r ApiDcimRackReservationsListRequest) Rack(rack []string) ApiDcimRackReservationsListRequest {
+ r.rack = &rack
return r
}
-func (r ApiDcimRacksListRequest) IdIsw(idIsw []string) ApiDcimRacksListRequest {
- r.idIsw = &idIsw
+func (r ApiDcimRackReservationsListRequest) RackN(rackN []string) ApiDcimRackReservationsListRequest {
+ r.rackN = &rackN
return r
}
-func (r ApiDcimRacksListRequest) IdN(idN []string) ApiDcimRacksListRequest {
- r.idN = &idN
+func (r ApiDcimRackReservationsListRequest) RackGroup(rackGroup []string) ApiDcimRackReservationsListRequest {
+ r.rackGroup = &rackGroup
return r
}
-func (r ApiDcimRacksListRequest) IdNic(idNic []string) ApiDcimRacksListRequest {
- r.idNic = &idNic
+// Rack group (name or ID) is null
+func (r ApiDcimRackReservationsListRequest) RackGroupIsnull(rackGroupIsnull bool) ApiDcimRackReservationsListRequest {
+ r.rackGroupIsnull = &rackGroupIsnull
return r
}
-func (r ApiDcimRacksListRequest) IdNie(idNie []string) ApiDcimRacksListRequest {
- r.idNie = &idNie
+func (r ApiDcimRackReservationsListRequest) RackGroupN(rackGroupN []string) ApiDcimRackReservationsListRequest {
+ r.rackGroupN = &rackGroupN
return r
}
-func (r ApiDcimRacksListRequest) IdNiew(idNiew []string) ApiDcimRacksListRequest {
- r.idNiew = &idNiew
+// Which field to use when ordering the results.
+func (r ApiDcimRackReservationsListRequest) Sort(sort string) ApiDcimRackReservationsListRequest {
+ r.sort = &sort
return r
}
-func (r ApiDcimRacksListRequest) IdNire(idNire []string) ApiDcimRacksListRequest {
- r.idNire = &idNire
+func (r ApiDcimRackReservationsListRequest) Tags(tags []string) ApiDcimRackReservationsListRequest {
+ r.tags = &tags
return r
}
-func (r ApiDcimRacksListRequest) IdNisw(idNisw []string) ApiDcimRacksListRequest {
- r.idNisw = &idNisw
+func (r ApiDcimRackReservationsListRequest) TagsIsnull(tagsIsnull bool) ApiDcimRackReservationsListRequest {
+ r.tagsIsnull = &tagsIsnull
return r
}
-func (r ApiDcimRacksListRequest) IdNre(idNre []string) ApiDcimRacksListRequest {
- r.idNre = &idNre
+func (r ApiDcimRackReservationsListRequest) TagsN(tagsN []string) ApiDcimRackReservationsListRequest {
+ r.tagsN = &tagsN
return r
}
-func (r ApiDcimRacksListRequest) IdRe(idRe []string) ApiDcimRacksListRequest {
- r.idRe = &idRe
+func (r ApiDcimRackReservationsListRequest) Teams(teams []string) ApiDcimRackReservationsListRequest {
+ r.teams = &teams
return r
}
-func (r ApiDcimRacksListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimRacksListRequest {
- r.lastUpdated = &lastUpdated
+// Teams (name or ID) is null
+func (r ApiDcimRackReservationsListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimRackReservationsListRequest {
+ r.teamsIsnull = &teamsIsnull
return r
}
-func (r ApiDcimRacksListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiDcimRacksListRequest {
- r.lastUpdatedGt = &lastUpdatedGt
+func (r ApiDcimRackReservationsListRequest) TeamsN(teamsN []string) ApiDcimRackReservationsListRequest {
+ r.teamsN = &teamsN
return r
}
-func (r ApiDcimRacksListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiDcimRacksListRequest {
- r.lastUpdatedGte = &lastUpdatedGte
+func (r ApiDcimRackReservationsListRequest) Tenant(tenant []string) ApiDcimRackReservationsListRequest {
+ r.tenant = &tenant
return r
}
-func (r ApiDcimRacksListRequest) LastUpdatedIsnull(lastUpdatedIsnull bool) ApiDcimRacksListRequest {
- r.lastUpdatedIsnull = &lastUpdatedIsnull
+// Tenant (name or ID) is null
+func (r ApiDcimRackReservationsListRequest) TenantIsnull(tenantIsnull bool) ApiDcimRackReservationsListRequest {
+ r.tenantIsnull = &tenantIsnull
return r
}
-func (r ApiDcimRacksListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiDcimRacksListRequest {
- r.lastUpdatedLt = &lastUpdatedLt
+func (r ApiDcimRackReservationsListRequest) TenantN(tenantN []string) ApiDcimRackReservationsListRequest {
+ r.tenantN = &tenantN
return r
}
-func (r ApiDcimRacksListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiDcimRacksListRequest {
- r.lastUpdatedLte = &lastUpdatedLte
+func (r ApiDcimRackReservationsListRequest) TenantGroup(tenantGroup []string) ApiDcimRackReservationsListRequest {
+ r.tenantGroup = &tenantGroup
return r
}
-func (r ApiDcimRacksListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiDcimRacksListRequest {
- r.lastUpdatedN = &lastUpdatedN
+// Tenant Group (name or ID) is null
+func (r ApiDcimRackReservationsListRequest) TenantGroupIsnull(tenantGroupIsnull bool) ApiDcimRackReservationsListRequest {
+ r.tenantGroupIsnull = &tenantGroupIsnull
return r
}
-// Number of results to return per page.
-func (r ApiDcimRacksListRequest) Limit(limit int32) ApiDcimRacksListRequest {
- r.limit = &limit
+func (r ApiDcimRackReservationsListRequest) TenantGroupN(tenantGroupN []string) ApiDcimRackReservationsListRequest {
+ r.tenantGroupN = &tenantGroupN
return r
}
-func (r ApiDcimRacksListRequest) Location(location []string) ApiDcimRacksListRequest {
- r.location = &location
+// Tenant (ID) (deprecated, use \"tenant\" filter instead)
+func (r ApiDcimRackReservationsListRequest) TenantId(tenantId []*string) ApiDcimRackReservationsListRequest {
+ r.tenantId = &tenantId
return r
}
-func (r ApiDcimRacksListRequest) LocationN(locationN []string) ApiDcimRacksListRequest {
- r.locationN = &locationN
+// Tenant (ID) (deprecated, use \"tenant\" filter instead) is null
+func (r ApiDcimRackReservationsListRequest) TenantIdIsnull(tenantIdIsnull bool) ApiDcimRackReservationsListRequest {
+ r.tenantIdIsnull = &tenantIdIsnull
return r
}
-func (r ApiDcimRacksListRequest) Name(name []string) ApiDcimRacksListRequest {
- r.name = &name
+// Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead)
+func (r ApiDcimRackReservationsListRequest) TenantIdN(tenantIdN []*string) ApiDcimRackReservationsListRequest {
+ r.tenantIdN = &tenantIdN
return r
}
-func (r ApiDcimRacksListRequest) NameIc(nameIc []string) ApiDcimRacksListRequest {
- r.nameIc = &nameIc
+func (r ApiDcimRackReservationsListRequest) User(user []string) ApiDcimRackReservationsListRequest {
+ r.user = &user
return r
}
-func (r ApiDcimRacksListRequest) NameIe(nameIe []string) ApiDcimRacksListRequest {
- r.nameIe = &nameIe
+func (r ApiDcimRackReservationsListRequest) UserN(userN []string) ApiDcimRackReservationsListRequest {
+ r.userN = &userN
return r
}
-func (r ApiDcimRacksListRequest) NameIew(nameIew []string) ApiDcimRacksListRequest {
- r.nameIew = &nameIew
+// Serializer Depth
+func (r ApiDcimRackReservationsListRequest) Depth(depth int32) ApiDcimRackReservationsListRequest {
+ r.depth = &depth
return r
}
-func (r ApiDcimRacksListRequest) NameIre(nameIre []string) ApiDcimRacksListRequest {
- r.nameIre = &nameIre
+// Exclude many-to-many fields from the response
+func (r ApiDcimRackReservationsListRequest) ExcludeM2m(excludeM2m bool) ApiDcimRackReservationsListRequest {
+ r.excludeM2m = &excludeM2m
return r
}
-func (r ApiDcimRacksListRequest) NameIsw(nameIsw []string) ApiDcimRacksListRequest {
- r.nameIsw = &nameIsw
- return r
+func (r ApiDcimRackReservationsListRequest) Execute() (*PaginatedRackReservationList, *http.Response, error) {
+ return r.ApiService.DcimRackReservationsListExecute(r)
}
-func (r ApiDcimRacksListRequest) NameN(nameN []string) ApiDcimRacksListRequest {
- r.nameN = &nameN
- return r
-}
+/*
+DcimRackReservationsList Method for DcimRackReservationsList
-func (r ApiDcimRacksListRequest) NameNic(nameNic []string) ApiDcimRacksListRequest {
- r.nameNic = &nameNic
- return r
-}
+Retrieve a list of rack reservation objects.
-func (r ApiDcimRacksListRequest) NameNie(nameNie []string) ApiDcimRacksListRequest {
- r.nameNie = &nameNie
- return r
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiDcimRackReservationsListRequest
+*/
+func (a *DcimAPIService) DcimRackReservationsList(ctx context.Context) ApiDcimRackReservationsListRequest {
+ return ApiDcimRackReservationsListRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
}
-func (r ApiDcimRacksListRequest) NameNiew(nameNiew []string) ApiDcimRacksListRequest {
- r.nameNiew = &nameNiew
- return r
-}
+// Execute executes the request
+// @return PaginatedRackReservationList
+func (a *DcimAPIService) DcimRackReservationsListExecute(r ApiDcimRackReservationsListRequest) (*PaginatedRackReservationList, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *PaginatedRackReservationList
+ )
-func (r ApiDcimRacksListRequest) NameNire(nameNire []string) ApiDcimRacksListRequest {
- r.nameNire = &nameNire
- return r
-}
-
-func (r ApiDcimRacksListRequest) NameNisw(nameNisw []string) ApiDcimRacksListRequest {
- r.nameNisw = &nameNisw
- return r
-}
-
-func (r ApiDcimRacksListRequest) NameNre(nameNre []string) ApiDcimRacksListRequest {
- r.nameNre = &nameNre
- return r
-}
-
-func (r ApiDcimRacksListRequest) NameRe(nameRe []string) ApiDcimRacksListRequest {
- r.nameRe = &nameRe
- return r
-}
-
-// The initial index from which to return the results.
-func (r ApiDcimRacksListRequest) Offset(offset int32) ApiDcimRacksListRequest {
- r.offset = &offset
- return r
-}
-
-func (r ApiDcimRacksListRequest) OuterDepth(outerDepth []int32) ApiDcimRacksListRequest {
- r.outerDepth = &outerDepth
- return r
-}
-
-func (r ApiDcimRacksListRequest) OuterDepthGt(outerDepthGt []int32) ApiDcimRacksListRequest {
- r.outerDepthGt = &outerDepthGt
- return r
-}
-
-func (r ApiDcimRacksListRequest) OuterDepthGte(outerDepthGte []int32) ApiDcimRacksListRequest {
- r.outerDepthGte = &outerDepthGte
- return r
-}
-
-func (r ApiDcimRacksListRequest) OuterDepthIsnull(outerDepthIsnull bool) ApiDcimRacksListRequest {
- r.outerDepthIsnull = &outerDepthIsnull
- return r
-}
-
-func (r ApiDcimRacksListRequest) OuterDepthLt(outerDepthLt []int32) ApiDcimRacksListRequest {
- r.outerDepthLt = &outerDepthLt
- return r
-}
-
-func (r ApiDcimRacksListRequest) OuterDepthLte(outerDepthLte []int32) ApiDcimRacksListRequest {
- r.outerDepthLte = &outerDepthLte
- return r
-}
-
-func (r ApiDcimRacksListRequest) OuterDepthN(outerDepthN []int32) ApiDcimRacksListRequest {
- r.outerDepthN = &outerDepthN
- return r
-}
-
-func (r ApiDcimRacksListRequest) OuterUnit(outerUnit []string) ApiDcimRacksListRequest {
- r.outerUnit = &outerUnit
- return r
-}
-
-func (r ApiDcimRacksListRequest) OuterUnitIc(outerUnitIc []string) ApiDcimRacksListRequest {
- r.outerUnitIc = &outerUnitIc
- return r
-}
-
-func (r ApiDcimRacksListRequest) OuterUnitIe(outerUnitIe []string) ApiDcimRacksListRequest {
- r.outerUnitIe = &outerUnitIe
- return r
-}
-
-func (r ApiDcimRacksListRequest) OuterUnitIew(outerUnitIew []string) ApiDcimRacksListRequest {
- r.outerUnitIew = &outerUnitIew
- return r
-}
-
-func (r ApiDcimRacksListRequest) OuterUnitIre(outerUnitIre []string) ApiDcimRacksListRequest {
- r.outerUnitIre = &outerUnitIre
- return r
-}
-
-func (r ApiDcimRacksListRequest) OuterUnitIsw(outerUnitIsw []string) ApiDcimRacksListRequest {
- r.outerUnitIsw = &outerUnitIsw
- return r
-}
-
-func (r ApiDcimRacksListRequest) OuterUnitN(outerUnitN []string) ApiDcimRacksListRequest {
- r.outerUnitN = &outerUnitN
- return r
-}
-
-func (r ApiDcimRacksListRequest) OuterUnitNic(outerUnitNic []string) ApiDcimRacksListRequest {
- r.outerUnitNic = &outerUnitNic
- return r
-}
-
-func (r ApiDcimRacksListRequest) OuterUnitNie(outerUnitNie []string) ApiDcimRacksListRequest {
- r.outerUnitNie = &outerUnitNie
- return r
-}
-
-func (r ApiDcimRacksListRequest) OuterUnitNiew(outerUnitNiew []string) ApiDcimRacksListRequest {
- r.outerUnitNiew = &outerUnitNiew
- return r
-}
-
-func (r ApiDcimRacksListRequest) OuterUnitNire(outerUnitNire []string) ApiDcimRacksListRequest {
- r.outerUnitNire = &outerUnitNire
- return r
-}
-
-func (r ApiDcimRacksListRequest) OuterUnitNisw(outerUnitNisw []string) ApiDcimRacksListRequest {
- r.outerUnitNisw = &outerUnitNisw
- return r
-}
-
-func (r ApiDcimRacksListRequest) OuterUnitNre(outerUnitNre []string) ApiDcimRacksListRequest {
- r.outerUnitNre = &outerUnitNre
- return r
-}
-
-func (r ApiDcimRacksListRequest) OuterUnitRe(outerUnitRe []string) ApiDcimRacksListRequest {
- r.outerUnitRe = &outerUnitRe
- return r
-}
-
-func (r ApiDcimRacksListRequest) OuterWidth(outerWidth []int32) ApiDcimRacksListRequest {
- r.outerWidth = &outerWidth
- return r
-}
-
-func (r ApiDcimRacksListRequest) OuterWidthGt(outerWidthGt []int32) ApiDcimRacksListRequest {
- r.outerWidthGt = &outerWidthGt
- return r
-}
-
-func (r ApiDcimRacksListRequest) OuterWidthGte(outerWidthGte []int32) ApiDcimRacksListRequest {
- r.outerWidthGte = &outerWidthGte
- return r
-}
-
-func (r ApiDcimRacksListRequest) OuterWidthIsnull(outerWidthIsnull bool) ApiDcimRacksListRequest {
- r.outerWidthIsnull = &outerWidthIsnull
- return r
-}
-
-func (r ApiDcimRacksListRequest) OuterWidthLt(outerWidthLt []int32) ApiDcimRacksListRequest {
- r.outerWidthLt = &outerWidthLt
- return r
-}
-
-func (r ApiDcimRacksListRequest) OuterWidthLte(outerWidthLte []int32) ApiDcimRacksListRequest {
- r.outerWidthLte = &outerWidthLte
- return r
-}
-
-func (r ApiDcimRacksListRequest) OuterWidthN(outerWidthN []int32) ApiDcimRacksListRequest {
- r.outerWidthN = &outerWidthN
- return r
-}
-
-func (r ApiDcimRacksListRequest) PowerFeeds(powerFeeds []string) ApiDcimRacksListRequest {
- r.powerFeeds = &powerFeeds
- return r
-}
-
-// Power feeds (name or ID) is null
-func (r ApiDcimRacksListRequest) PowerFeedsIsnull(powerFeedsIsnull bool) ApiDcimRacksListRequest {
- r.powerFeedsIsnull = &powerFeedsIsnull
- return r
-}
-
-func (r ApiDcimRacksListRequest) PowerFeedsN(powerFeedsN []string) ApiDcimRacksListRequest {
- r.powerFeedsN = &powerFeedsN
- return r
-}
-
-// Search
-func (r ApiDcimRacksListRequest) Q(q string) ApiDcimRacksListRequest {
- r.q = &q
- return r
-}
-
-func (r ApiDcimRacksListRequest) RackGroup(rackGroup []string) ApiDcimRacksListRequest {
- r.rackGroup = &rackGroup
- return r
-}
-
-// Rack group (name or ID) is null
-func (r ApiDcimRacksListRequest) RackGroupIsnull(rackGroupIsnull bool) ApiDcimRacksListRequest {
- r.rackGroupIsnull = &rackGroupIsnull
- return r
-}
-
-func (r ApiDcimRacksListRequest) RackGroupN(rackGroupN []string) ApiDcimRacksListRequest {
- r.rackGroupN = &rackGroupN
- return r
-}
-
-func (r ApiDcimRacksListRequest) RackReservations(rackReservations []string) ApiDcimRacksListRequest {
- r.rackReservations = &rackReservations
- return r
-}
-
-func (r ApiDcimRacksListRequest) RackReservationsIsnull(rackReservationsIsnull bool) ApiDcimRacksListRequest {
- r.rackReservationsIsnull = &rackReservationsIsnull
- return r
-}
-
-func (r ApiDcimRacksListRequest) RackReservationsN(rackReservationsN []string) ApiDcimRacksListRequest {
- r.rackReservationsN = &rackReservationsN
- return r
-}
-
-func (r ApiDcimRacksListRequest) Role(role []string) ApiDcimRacksListRequest {
- r.role = &role
- return r
-}
-
-// Role (name or ID) is null
-func (r ApiDcimRacksListRequest) RoleIsnull(roleIsnull bool) ApiDcimRacksListRequest {
- r.roleIsnull = &roleIsnull
- return r
-}
-
-// Exclude Role (name or ID)
-func (r ApiDcimRacksListRequest) RoleN(roleN string) ApiDcimRacksListRequest {
- r.roleN = &roleN
- return r
-}
-
-// Serial Number
-func (r ApiDcimRacksListRequest) Serial(serial []string) ApiDcimRacksListRequest {
- r.serial = &serial
- return r
-}
-
-// Which field to use when ordering the results.
-func (r ApiDcimRacksListRequest) Sort(sort string) ApiDcimRacksListRequest {
- r.sort = &sort
- return r
-}
-
-func (r ApiDcimRacksListRequest) Status(status []string) ApiDcimRacksListRequest {
- r.status = &status
- return r
-}
-
-// Exclude Status (name or ID)
-func (r ApiDcimRacksListRequest) StatusN(statusN string) ApiDcimRacksListRequest {
- r.statusN = &statusN
- return r
-}
-
-func (r ApiDcimRacksListRequest) Tags(tags []string) ApiDcimRacksListRequest {
- r.tags = &tags
- return r
-}
-
-func (r ApiDcimRacksListRequest) TagsIsnull(tagsIsnull bool) ApiDcimRacksListRequest {
- r.tagsIsnull = &tagsIsnull
- return r
-}
-
-func (r ApiDcimRacksListRequest) TagsN(tagsN []string) ApiDcimRacksListRequest {
- r.tagsN = &tagsN
- return r
-}
-
-func (r ApiDcimRacksListRequest) Teams(teams []string) ApiDcimRacksListRequest {
- r.teams = &teams
- return r
-}
-
-// Teams (name or ID) is null
-func (r ApiDcimRacksListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimRacksListRequest {
- r.teamsIsnull = &teamsIsnull
- return r
-}
-
-// Exclude Teams (name or ID)
-func (r ApiDcimRacksListRequest) TeamsN(teamsN string) ApiDcimRacksListRequest {
- r.teamsN = &teamsN
- return r
-}
-
-func (r ApiDcimRacksListRequest) Tenant(tenant []string) ApiDcimRacksListRequest {
- r.tenant = &tenant
- return r
-}
-
-// Tenant (name or ID) is null
-func (r ApiDcimRacksListRequest) TenantIsnull(tenantIsnull bool) ApiDcimRacksListRequest {
- r.tenantIsnull = &tenantIsnull
- return r
-}
-
-func (r ApiDcimRacksListRequest) TenantN(tenantN []string) ApiDcimRacksListRequest {
- r.tenantN = &tenantN
- return r
-}
-
-func (r ApiDcimRacksListRequest) TenantGroup(tenantGroup []string) ApiDcimRacksListRequest {
- r.tenantGroup = &tenantGroup
- return r
-}
-
-// Tenant Group (name or ID) is null
-func (r ApiDcimRacksListRequest) TenantGroupIsnull(tenantGroupIsnull bool) ApiDcimRacksListRequest {
- r.tenantGroupIsnull = &tenantGroupIsnull
- return r
-}
-
-func (r ApiDcimRacksListRequest) TenantGroupN(tenantGroupN []string) ApiDcimRacksListRequest {
- r.tenantGroupN = &tenantGroupN
- return r
-}
-
-// Tenant (ID) (deprecated, use \"tenant\" filter instead)
-func (r ApiDcimRacksListRequest) TenantId(tenantId []*string) ApiDcimRacksListRequest {
- r.tenantId = &tenantId
- return r
-}
-
-// Tenant (ID) (deprecated, use \"tenant\" filter instead) is null
-func (r ApiDcimRacksListRequest) TenantIdIsnull(tenantIdIsnull bool) ApiDcimRacksListRequest {
- r.tenantIdIsnull = &tenantIdIsnull
- return r
-}
-
-// Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead)
-func (r ApiDcimRacksListRequest) TenantIdN(tenantIdN []*string) ApiDcimRacksListRequest {
- r.tenantIdN = &tenantIdN
- return r
-}
-
-func (r ApiDcimRacksListRequest) Type_(type_ []string) ApiDcimRacksListRequest {
- r.type_ = &type_
- return r
-}
-
-func (r ApiDcimRacksListRequest) TypeIc(typeIc []string) ApiDcimRacksListRequest {
- r.typeIc = &typeIc
- return r
-}
-
-func (r ApiDcimRacksListRequest) TypeIe(typeIe []string) ApiDcimRacksListRequest {
- r.typeIe = &typeIe
- return r
-}
-
-func (r ApiDcimRacksListRequest) TypeIew(typeIew []string) ApiDcimRacksListRequest {
- r.typeIew = &typeIew
- return r
-}
-
-func (r ApiDcimRacksListRequest) TypeIre(typeIre []string) ApiDcimRacksListRequest {
- r.typeIre = &typeIre
- return r
-}
-
-func (r ApiDcimRacksListRequest) TypeIsw(typeIsw []string) ApiDcimRacksListRequest {
- r.typeIsw = &typeIsw
- return r
-}
-
-func (r ApiDcimRacksListRequest) TypeN(typeN []string) ApiDcimRacksListRequest {
- r.typeN = &typeN
- return r
-}
-
-func (r ApiDcimRacksListRequest) TypeNic(typeNic []string) ApiDcimRacksListRequest {
- r.typeNic = &typeNic
- return r
-}
-
-func (r ApiDcimRacksListRequest) TypeNie(typeNie []string) ApiDcimRacksListRequest {
- r.typeNie = &typeNie
- return r
-}
-
-func (r ApiDcimRacksListRequest) TypeNiew(typeNiew []string) ApiDcimRacksListRequest {
- r.typeNiew = &typeNiew
- return r
-}
-
-func (r ApiDcimRacksListRequest) TypeNire(typeNire []string) ApiDcimRacksListRequest {
- r.typeNire = &typeNire
- return r
-}
-
-func (r ApiDcimRacksListRequest) TypeNisw(typeNisw []string) ApiDcimRacksListRequest {
- r.typeNisw = &typeNisw
- return r
-}
-
-func (r ApiDcimRacksListRequest) TypeNre(typeNre []string) ApiDcimRacksListRequest {
- r.typeNre = &typeNre
- return r
-}
-
-func (r ApiDcimRacksListRequest) TypeRe(typeRe []string) ApiDcimRacksListRequest {
- r.typeRe = &typeRe
- return r
-}
-
-func (r ApiDcimRacksListRequest) UHeight(uHeight []int32) ApiDcimRacksListRequest {
- r.uHeight = &uHeight
- return r
-}
-
-func (r ApiDcimRacksListRequest) UHeightGt(uHeightGt []int32) ApiDcimRacksListRequest {
- r.uHeightGt = &uHeightGt
- return r
-}
-
-func (r ApiDcimRacksListRequest) UHeightGte(uHeightGte []int32) ApiDcimRacksListRequest {
- r.uHeightGte = &uHeightGte
- return r
-}
-
-func (r ApiDcimRacksListRequest) UHeightLt(uHeightLt []int32) ApiDcimRacksListRequest {
- r.uHeightLt = &uHeightLt
- return r
-}
-
-func (r ApiDcimRacksListRequest) UHeightLte(uHeightLte []int32) ApiDcimRacksListRequest {
- r.uHeightLte = &uHeightLte
- return r
-}
-
-func (r ApiDcimRacksListRequest) UHeightN(uHeightN []int32) ApiDcimRacksListRequest {
- r.uHeightN = &uHeightN
- return r
-}
-
-// Rail-to-rail width
-func (r ApiDcimRacksListRequest) Width(width []int32) ApiDcimRacksListRequest {
- r.width = &width
- return r
-}
-
-// Rail-to-rail width
-func (r ApiDcimRacksListRequest) WidthIc(widthIc []int32) ApiDcimRacksListRequest {
- r.widthIc = &widthIc
- return r
-}
-
-// Rail-to-rail width
-func (r ApiDcimRacksListRequest) WidthIe(widthIe []int32) ApiDcimRacksListRequest {
- r.widthIe = &widthIe
- return r
-}
-
-// Rail-to-rail width
-func (r ApiDcimRacksListRequest) WidthIew(widthIew []int32) ApiDcimRacksListRequest {
- r.widthIew = &widthIew
- return r
-}
-
-// Rail-to-rail width
-func (r ApiDcimRacksListRequest) WidthIre(widthIre []int32) ApiDcimRacksListRequest {
- r.widthIre = &widthIre
- return r
-}
-
-// Rail-to-rail width
-func (r ApiDcimRacksListRequest) WidthIsw(widthIsw []int32) ApiDcimRacksListRequest {
- r.widthIsw = &widthIsw
- return r
-}
-
-// Rail-to-rail width
-func (r ApiDcimRacksListRequest) WidthN(widthN []int32) ApiDcimRacksListRequest {
- r.widthN = &widthN
- return r
-}
-
-// Rail-to-rail width
-func (r ApiDcimRacksListRequest) WidthNic(widthNic []int32) ApiDcimRacksListRequest {
- r.widthNic = &widthNic
- return r
-}
-
-// Rail-to-rail width
-func (r ApiDcimRacksListRequest) WidthNie(widthNie []int32) ApiDcimRacksListRequest {
- r.widthNie = &widthNie
- return r
-}
-
-// Rail-to-rail width
-func (r ApiDcimRacksListRequest) WidthNiew(widthNiew []int32) ApiDcimRacksListRequest {
- r.widthNiew = &widthNiew
- return r
-}
-
-// Rail-to-rail width
-func (r ApiDcimRacksListRequest) WidthNire(widthNire []int32) ApiDcimRacksListRequest {
- r.widthNire = &widthNire
- return r
-}
-
-// Rail-to-rail width
-func (r ApiDcimRacksListRequest) WidthNisw(widthNisw []int32) ApiDcimRacksListRequest {
- r.widthNisw = &widthNisw
- return r
-}
-
-// Rail-to-rail width
-func (r ApiDcimRacksListRequest) WidthNre(widthNre []int32) ApiDcimRacksListRequest {
- r.widthNre = &widthNre
- return r
-}
-
-// Rail-to-rail width
-func (r ApiDcimRacksListRequest) WidthRe(widthRe []int32) ApiDcimRacksListRequest {
- r.widthRe = &widthRe
- return r
-}
-
-// Serializer Depth
-func (r ApiDcimRacksListRequest) Depth(depth int32) ApiDcimRacksListRequest {
- r.depth = &depth
- return r
-}
-
-func (r ApiDcimRacksListRequest) Execute() (*PaginatedRackList, *http.Response, error) {
- return r.ApiService.DcimRacksListExecute(r)
-}
-
-/*
-DcimRacksList Method for DcimRacksList
-
-Retrieve a list of rack objects.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimRacksListRequest
-*/
-func (a *DcimAPIService) DcimRacksList(ctx context.Context) ApiDcimRacksListRequest {
- return ApiDcimRacksListRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-// @return PaginatedRackList
-func (a *DcimAPIService) DcimRacksListExecute(r ApiDcimRacksListRequest) (*PaginatedRackList, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *PaginatedRackList
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRacksList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackReservationsList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/racks/"
+ localVarPath := localBasePath + "/dcim/rack-reservations/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.assetTag != nil {
- t := *r.assetTag
+ if r.contacts != nil {
+ t := *r.contacts
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", t, "form", "multi")
}
}
- if r.assetTagIc != nil {
- t := *r.assetTagIc
+ if r.contactsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
+ }
+ if r.contactsN != nil {
+ t := *r.contactsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
}
}
- if r.assetTagIe != nil {
- t := *r.assetTagIe
+ if r.created != nil {
+ t := *r.created
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created", t, "form", "multi")
}
}
- if r.assetTagIew != nil {
- t := *r.assetTagIew
+ if r.createdGt != nil {
+ t := *r.createdGt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", t, "form", "multi")
}
}
- if r.assetTagIre != nil {
- t := *r.assetTagIre
+ if r.createdGte != nil {
+ t := *r.createdGte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", t, "form", "multi")
}
}
- if r.assetTagIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__isnull", r.assetTagIsnull, "form", "")
+ if r.createdIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__isnull", r.createdIsnull, "form", "")
}
- if r.assetTagIsw != nil {
- t := *r.assetTagIsw
+ if r.createdLt != nil {
+ t := *r.createdLt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", t, "form", "multi")
}
}
- if r.assetTagN != nil {
- t := *r.assetTagN
+ if r.createdLte != nil {
+ t := *r.createdLte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", t, "form", "multi")
}
}
- if r.assetTagNic != nil {
- t := *r.assetTagNic
+ if r.createdN != nil {
+ t := *r.createdN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "form", "multi")
}
}
- if r.assetTagNie != nil {
- t := *r.assetTagNie
+ if r.description != nil {
+ t := *r.description
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description", t, "form", "multi")
}
}
- if r.assetTagNiew != nil {
- t := *r.assetTagNiew
+ if r.descriptionIc != nil {
+ t := *r.descriptionIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", t, "form", "multi")
}
}
- if r.assetTagNire != nil {
- t := *r.assetTagNire
+ if r.descriptionIe != nil {
+ t := *r.descriptionIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", t, "form", "multi")
}
}
- if r.assetTagNisw != nil {
- t := *r.assetTagNisw
+ if r.descriptionIew != nil {
+ t := *r.descriptionIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", t, "form", "multi")
}
}
- if r.assetTagNre != nil {
- t := *r.assetTagNre
+ if r.descriptionIre != nil {
+ t := *r.descriptionIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", t, "form", "multi")
}
}
- if r.assetTagRe != nil {
- t := *r.assetTagRe
+ if r.descriptionIsw != nil {
+ t := *r.descriptionIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", t, "form", "multi")
}
}
- if r.comments != nil {
- t := *r.comments
+ if r.descriptionN != nil {
+ t := *r.descriptionN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", t, "form", "multi")
}
}
- if r.commentsIc != nil {
- t := *r.commentsIc
+ if r.descriptionNic != nil {
+ t := *r.descriptionNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", t, "form", "multi")
}
}
- if r.commentsIe != nil {
- t := *r.commentsIe
+ if r.descriptionNie != nil {
+ t := *r.descriptionNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", t, "form", "multi")
}
}
- if r.commentsIew != nil {
- t := *r.commentsIew
+ if r.descriptionNiew != nil {
+ t := *r.descriptionNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", t, "form", "multi")
}
}
- if r.commentsIre != nil {
- t := *r.commentsIre
+ if r.descriptionNire != nil {
+ t := *r.descriptionNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", t, "form", "multi")
}
}
- if r.commentsIsw != nil {
- t := *r.commentsIsw
+ if r.descriptionNisw != nil {
+ t := *r.descriptionNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", t, "form", "multi")
}
}
- if r.commentsN != nil {
- t := *r.commentsN
+ if r.descriptionNre != nil {
+ t := *r.descriptionNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", t, "form", "multi")
}
}
- if r.commentsNic != nil {
- t := *r.commentsNic
+ if r.descriptionRe != nil {
+ t := *r.descriptionRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", t, "form", "multi")
}
}
- if r.commentsNie != nil {
- t := *r.commentsNie
+ if r.dynamicGroups != nil {
+ t := *r.dynamicGroups
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
}
}
- if r.commentsNiew != nil {
- t := *r.commentsNiew
+ if r.dynamicGroupsN != nil {
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.commentsNire != nil {
- t := *r.commentsNire
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.commentsNisw != nil {
- t := *r.commentsNisw
+ if r.idN != nil {
+ t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.commentsNre != nil {
- t := *r.commentsNre
+ if r.lastUpdated != nil {
+ t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "form", "multi")
}
}
- if r.commentsRe != nil {
- t := *r.commentsRe
+ if r.lastUpdatedGt != nil {
+ t := *r.lastUpdatedGt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", t, "form", "multi")
}
}
- if r.contacts != nil {
- t := *r.contacts
+ if r.lastUpdatedGte != nil {
+ t := *r.lastUpdatedGte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", t, "form", "multi")
}
}
- if r.contactsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
- }
- if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ if r.lastUpdatedIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__isnull", r.lastUpdatedIsnull, "form", "")
}
- if r.created != nil {
- t := *r.created
+ if r.lastUpdatedLt != nil {
+ t := *r.lastUpdatedLt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", t, "form", "multi")
}
}
- if r.createdGt != nil {
- t := *r.createdGt
+ if r.lastUpdatedLte != nil {
+ t := *r.lastUpdatedLte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", t, "form", "multi")
}
}
- if r.createdGte != nil {
- t := *r.createdGte
+ if r.lastUpdatedN != nil {
+ t := *r.lastUpdatedN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", t, "form", "multi")
}
}
- if r.createdIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__isnull", r.createdIsnull, "form", "")
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
- if r.createdLt != nil {
- t := *r.createdLt
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", t, "form", "multi")
- }
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
}
- if r.createdLte != nil {
- t := *r.createdLte
+ if r.q != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
+ }
+ if r.rack != nil {
+ t := *r.rack
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rack", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rack", t, "form", "multi")
}
}
- if r.createdN != nil {
- t := *r.createdN
+ if r.rackN != nil {
+ t := *r.rackN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rack__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rack__n", t, "form", "multi")
}
}
- if r.descUnits != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "desc_units", r.descUnits, "form", "")
- }
- if r.devices != nil {
- t := *r.devices
+ if r.rackGroup != nil {
+ t := *r.rackGroup
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "devices", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rack_group", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "devices", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rack_group", t, "form", "multi")
}
}
- if r.devicesIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "devices__isnull", r.devicesIsnull, "form", "")
+ if r.rackGroupIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rack_group__isnull", r.rackGroupIsnull, "form", "")
}
- if r.devicesN != nil {
- t := *r.devicesN
+ if r.rackGroupN != nil {
+ t := *r.rackGroupN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "devices__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rack_group__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "devices__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rack_group__n", t, "form", "multi")
}
}
- if r.dynamicGroups != nil {
- t := *r.dynamicGroups
+ if r.sort != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
+ }
+ if r.tags != nil {
+ t := *r.tags
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags", t, "form", "multi")
}
}
- if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ if r.tagsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__isnull", r.tagsIsnull, "form", "")
}
- if r.facilityId != nil {
- t := *r.facilityId
+ if r.tagsN != nil {
+ t := *r.tagsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", t, "form", "multi")
}
}
- if r.facilityIdIc != nil {
- t := *r.facilityIdIc
+ if r.teams != nil {
+ t := *r.teams
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams", t, "form", "multi")
}
}
- if r.facilityIdIe != nil {
- t := *r.facilityIdIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__ie", t, "form", "multi")
- }
+ if r.teamsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
- if r.facilityIdIew != nil {
- t := *r.facilityIdIew
+ if r.teamsN != nil {
+ t := *r.teamsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
}
}
- if r.facilityIdIre != nil {
- t := *r.facilityIdIre
+ if r.tenant != nil {
+ t := *r.tenant
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant", t, "form", "multi")
}
}
- if r.facilityIdIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__isnull", r.facilityIdIsnull, "form", "")
+ if r.tenantIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__isnull", r.tenantIsnull, "form", "")
}
- if r.facilityIdIsw != nil {
- t := *r.facilityIdIsw
+ if r.tenantN != nil {
+ t := *r.tenantN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__n", t, "form", "multi")
}
}
- if r.facilityIdN != nil {
- t := *r.facilityIdN
+ if r.tenantGroup != nil {
+ t := *r.tenantGroup
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group", t, "form", "multi")
}
}
- if r.facilityIdNic != nil {
- t := *r.facilityIdNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__nic", t, "form", "multi")
- }
+ if r.tenantGroupIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group__isnull", r.tenantGroupIsnull, "form", "")
}
- if r.facilityIdNie != nil {
- t := *r.facilityIdNie
+ if r.tenantGroupN != nil {
+ t := *r.tenantGroupN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group__n", t, "form", "multi")
}
}
- if r.facilityIdNiew != nil {
- t := *r.facilityIdNiew
+ if r.tenantId != nil {
+ t := *r.tenantId
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id", t, "form", "multi")
}
}
- if r.facilityIdNire != nil {
- t := *r.facilityIdNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__nire", t, "form", "multi")
- }
+ if r.tenantIdIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__isnull", r.tenantIdIsnull, "form", "")
}
- if r.facilityIdNisw != nil {
- t := *r.facilityIdNisw
+ if r.tenantIdN != nil {
+ t := *r.tenantIdN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__n", t, "form", "multi")
}
}
- if r.facilityIdNre != nil {
- t := *r.facilityIdNre
+ if r.user != nil {
+ t := *r.user
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "user", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "user", t, "form", "multi")
}
}
- if r.facilityIdRe != nil {
- t := *r.facilityIdRe
+ if r.userN != nil {
+ t := *r.userN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "user__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "user__n", t, "form", "multi")
}
}
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
}
- if r.hasDevices != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_devices", r.hasDevices, "form", "")
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
- if r.hasPowerFeeds != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_power_feeds", r.hasPowerFeeds, "form", "")
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
}
- if r.hasRackReservations != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_rack_reservations", r.hasRackReservations, "form", "")
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
- if r.id != nil {
- t := *r.id
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
}
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
}
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
}
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
}
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
}
+ return localVarReturnValue, localVarHTTPResponse, newErr
}
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
}
+ return localVarReturnValue, localVarHTTPResponse, newErr
}
- if r.idN != nil {
- t := *r.idN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
- }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiDcimRackReservationsNotesCreateRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ id string
+ noteInputRequest *NoteInputRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiDcimRackReservationsNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimRackReservationsNotesCreateRequest {
+ r.noteInputRequest = ¬eInputRequest
+ return r
+}
+
+func (r ApiDcimRackReservationsNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackReservationsNotesCreateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiDcimRackReservationsNotesCreateRequest) Execute() (*Note, *http.Response, error) {
+ return r.ApiService.DcimRackReservationsNotesCreateExecute(r)
+}
+
+/*
+DcimRackReservationsNotesCreate Method for DcimRackReservationsNotesCreate
+
+API methods for returning or creating notes on an object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this rack reservation.
+ @return ApiDcimRackReservationsNotesCreateRequest
+*/
+func (a *DcimAPIService) DcimRackReservationsNotesCreate(ctx context.Context, id string) ApiDcimRackReservationsNotesCreateRequest {
+ return ApiDcimRackReservationsNotesCreateRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
+}
+
+// Execute executes the request
+// @return Note
+func (a *DcimAPIService) DcimRackReservationsNotesCreateExecute(r ApiDcimRackReservationsNotesCreateRequest) (*Note, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPost
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *Note
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackReservationsNotesCreate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
+
+ localVarPath := localBasePath + "/dcim/rack-reservations/{id}/notes/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.noteInputRequest == nil {
+ return localVarReturnValue, nil, reportError("noteInputRequest is required and must be specified")
}
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
}
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.noteInputRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
}
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
}
}
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
}
+ return localVarReturnValue, localVarHTTPResponse, newErr
}
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
}
+ return localVarReturnValue, localVarHTTPResponse, newErr
}
- if r.lastUpdated != nil {
- t := *r.lastUpdated
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", s.Index(i).Interface(), "form", "multi")
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiDcimRackReservationsNotesListRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ limit *int32
+ offset *int32
+ depth *int32
+ excludeM2m *bool
+}
+
+func (r ApiDcimRackReservationsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackReservationsNotesListRequest {
+ r.format = &format
+ return r
+}
+
+// Number of results to return per page.
+func (r ApiDcimRackReservationsNotesListRequest) Limit(limit int32) ApiDcimRackReservationsNotesListRequest {
+ r.limit = &limit
+ return r
+}
+
+// The initial index from which to return the results.
+func (r ApiDcimRackReservationsNotesListRequest) Offset(offset int32) ApiDcimRackReservationsNotesListRequest {
+ r.offset = &offset
+ return r
+}
+
+// Serializer Depth
+func (r ApiDcimRackReservationsNotesListRequest) Depth(depth int32) ApiDcimRackReservationsNotesListRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiDcimRackReservationsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimRackReservationsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimRackReservationsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
+ return r.ApiService.DcimRackReservationsNotesListExecute(r)
+}
+
+/*
+DcimRackReservationsNotesList Method for DcimRackReservationsNotesList
+
+API methods for returning or creating notes on an object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this rack reservation.
+ @return ApiDcimRackReservationsNotesListRequest
+*/
+func (a *DcimAPIService) DcimRackReservationsNotesList(ctx context.Context, id string) ApiDcimRackReservationsNotesListRequest {
+ return ApiDcimRackReservationsNotesListRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return PaginatedNoteList
+func (a *DcimAPIService) DcimRackReservationsNotesListExecute(r ApiDcimRackReservationsNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *PaginatedNoteList
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackReservationsNotesList")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/rack-reservations/{id}/notes/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ }
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
}
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "form", "multi")
}
}
- if r.lastUpdatedGt != nil {
- t := *r.lastUpdatedGt
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", t, "form", "multi")
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
}
+ return localVarReturnValue, localVarHTTPResponse, newErr
}
- if r.lastUpdatedGte != nil {
- t := *r.lastUpdatedGte
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", t, "form", "multi")
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
}
+ return localVarReturnValue, localVarHTTPResponse, newErr
}
- if r.lastUpdatedIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__isnull", r.lastUpdatedIsnull, "form", "")
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiDcimRackReservationsPartialUpdateRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ patchedRackReservationRequest *PatchedRackReservationRequest
+}
+
+func (r ApiDcimRackReservationsPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackReservationsPartialUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiDcimRackReservationsPartialUpdateRequest) PatchedRackReservationRequest(patchedRackReservationRequest PatchedRackReservationRequest) ApiDcimRackReservationsPartialUpdateRequest {
+ r.patchedRackReservationRequest = &patchedRackReservationRequest
+ return r
+}
+
+func (r ApiDcimRackReservationsPartialUpdateRequest) Execute() (*RackReservation, *http.Response, error) {
+ return r.ApiService.DcimRackReservationsPartialUpdateExecute(r)
+}
+
+/*
+DcimRackReservationsPartialUpdate Method for DcimRackReservationsPartialUpdate
+
+Partial update a rack reservation object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this rack reservation.
+ @return ApiDcimRackReservationsPartialUpdateRequest
+*/
+func (a *DcimAPIService) DcimRackReservationsPartialUpdate(ctx context.Context, id string) ApiDcimRackReservationsPartialUpdateRequest {
+ return ApiDcimRackReservationsPartialUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
}
- if r.lastUpdatedLt != nil {
- t := *r.lastUpdatedLt
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", s.Index(i).Interface(), "form", "multi")
+}
+
+// Execute executes the request
+// @return RackReservation
+func (a *DcimAPIService) DcimRackReservationsPartialUpdateExecute(r ApiDcimRackReservationsPartialUpdateRequest) (*RackReservation, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPatch
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *RackReservation
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackReservationsPartialUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/rack-reservations/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.patchedRackReservationRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
}
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", t, "form", "multi")
}
}
- if r.lastUpdatedLte != nil {
- t := *r.lastUpdatedLte
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", t, "form", "multi")
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
}
+ return localVarReturnValue, localVarHTTPResponse, newErr
}
- if r.lastUpdatedN != nil {
- t := *r.lastUpdatedN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", t, "form", "multi")
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
}
+ return localVarReturnValue, localVarHTTPResponse, newErr
}
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiDcimRackReservationsRetrieveRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ depth *int32
+ excludeM2m *bool
+}
+
+func (r ApiDcimRackReservationsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackReservationsRetrieveRequest {
+ r.format = &format
+ return r
+}
+
+// Serializer Depth
+func (r ApiDcimRackReservationsRetrieveRequest) Depth(depth int32) ApiDcimRackReservationsRetrieveRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiDcimRackReservationsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimRackReservationsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimRackReservationsRetrieveRequest) Execute() (*RackReservation, *http.Response, error) {
+ return r.ApiService.DcimRackReservationsRetrieveExecute(r)
+}
+
+/*
+DcimRackReservationsRetrieve Method for DcimRackReservationsRetrieve
+
+Retrieve a rack reservation object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this rack reservation.
+ @return ApiDcimRackReservationsRetrieveRequest
+*/
+func (a *DcimAPIService) DcimRackReservationsRetrieve(ctx context.Context, id string) ApiDcimRackReservationsRetrieveRequest {
+ return ApiDcimRackReservationsRetrieveRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
}
- if r.location != nil {
- t := *r.location
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location", t, "form", "multi")
- }
+}
+
+// Execute executes the request
+// @return RackReservation
+func (a *DcimAPIService) DcimRackReservationsRetrieveExecute(r ApiDcimRackReservationsRetrieveRequest) (*RackReservation, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *RackReservation
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackReservationsRetrieve")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- if r.locationN != nil {
- t := *r.locationN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", s.Index(i).Interface(), "form", "multi")
+
+ localVarPath := localBasePath + "/dcim/rack-reservations/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
}
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", t, "form", "multi")
}
}
- if r.name != nil {
- t := *r.name
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name", t, "form", "multi")
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
}
+ return localVarReturnValue, localVarHTTPResponse, newErr
}
- if r.nameIc != nil {
- t := *r.nameIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", t, "form", "multi")
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
}
+ return localVarReturnValue, localVarHTTPResponse, newErr
}
- if r.nameIe != nil {
- t := *r.nameIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", s.Index(i).Interface(), "form", "multi")
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiDcimRackReservationsUpdateRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ id string
+ rackReservationRequest *RackReservationRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiDcimRackReservationsUpdateRequest) RackReservationRequest(rackReservationRequest RackReservationRequest) ApiDcimRackReservationsUpdateRequest {
+ r.rackReservationRequest = &rackReservationRequest
+ return r
+}
+
+func (r ApiDcimRackReservationsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRackReservationsUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiDcimRackReservationsUpdateRequest) Execute() (*RackReservation, *http.Response, error) {
+ return r.ApiService.DcimRackReservationsUpdateExecute(r)
+}
+
+/*
+DcimRackReservationsUpdate Method for DcimRackReservationsUpdate
+
+Update a rack reservation object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this rack reservation.
+ @return ApiDcimRackReservationsUpdateRequest
+*/
+func (a *DcimAPIService) DcimRackReservationsUpdate(ctx context.Context, id string) ApiDcimRackReservationsUpdateRequest {
+ return ApiDcimRackReservationsUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return RackReservation
+func (a *DcimAPIService) DcimRackReservationsUpdateExecute(r ApiDcimRackReservationsUpdateRequest) (*RackReservation, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPut
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *RackReservation
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRackReservationsUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/rack-reservations/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.rackReservationRequest == nil {
+ return localVarReturnValue, nil, reportError("rackReservationRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.rackReservationRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
}
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", t, "form", "multi")
}
}
- if r.nameIew != nil {
- t := *r.nameIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", t, "form", "multi")
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
}
+ return localVarReturnValue, localVarHTTPResponse, newErr
}
- if r.nameIre != nil {
- t := *r.nameIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", t, "form", "multi")
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
}
+ return localVarReturnValue, localVarHTTPResponse, newErr
}
- if r.nameIsw != nil {
- t := *r.nameIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", s.Index(i).Interface(), "form", "multi")
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiDcimRacksBulkDestroyRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ bulkOperationRequest *[]BulkOperationRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiDcimRacksBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimRacksBulkDestroyRequest {
+ r.bulkOperationRequest = &bulkOperationRequest
+ return r
+}
+
+func (r ApiDcimRacksBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRacksBulkDestroyRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiDcimRacksBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimRacksBulkDestroyExecute(r)
+}
+
+/*
+DcimRacksBulkDestroy Method for DcimRacksBulkDestroy
+
+Destroy a list of rack objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiDcimRacksBulkDestroyRequest
+*/
+func (a *DcimAPIService) DcimRacksBulkDestroy(ctx context.Context) ApiDcimRacksBulkDestroyRequest {
+ return ApiDcimRacksBulkDestroyRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+func (a *DcimAPIService) DcimRacksBulkDestroyExecute(r ApiDcimRacksBulkDestroyRequest) (*http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodDelete
+ localVarPostBody interface{}
+ formFiles []formFile
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRacksBulkDestroy")
+ if err != nil {
+ return nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/racks/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.bulkOperationRequest == nil {
+ return nil, reportError("bulkOperationRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.bulkOperationRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
}
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", t, "form", "multi")
}
}
- if r.nameN != nil {
- t := *r.nameN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarHTTPResponse, newErr
+ }
+
+ return localVarHTTPResponse, nil
+}
+
+type ApiDcimRacksBulkPartialUpdateRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ patchedBulkWritableRackRequest *[]PatchedBulkWritableRackRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiDcimRacksBulkPartialUpdateRequest) PatchedBulkWritableRackRequest(patchedBulkWritableRackRequest []PatchedBulkWritableRackRequest) ApiDcimRacksBulkPartialUpdateRequest {
+ r.patchedBulkWritableRackRequest = &patchedBulkWritableRackRequest
+ return r
+}
+
+func (r ApiDcimRacksBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRacksBulkPartialUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiDcimRacksBulkPartialUpdateRequest) Execute() ([]Rack, *http.Response, error) {
+ return r.ApiService.DcimRacksBulkPartialUpdateExecute(r)
+}
+
+/*
+DcimRacksBulkPartialUpdate Method for DcimRacksBulkPartialUpdate
+
+Partial update a list of rack objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiDcimRacksBulkPartialUpdateRequest
+*/
+func (a *DcimAPIService) DcimRacksBulkPartialUpdate(ctx context.Context) ApiDcimRacksBulkPartialUpdateRequest {
+ return ApiDcimRacksBulkPartialUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return []Rack
+func (a *DcimAPIService) DcimRacksBulkPartialUpdateExecute(r ApiDcimRacksBulkPartialUpdateRequest) ([]Rack, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPatch
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue []Rack
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRacksBulkPartialUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/racks/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.patchedBulkWritableRackRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritableRackRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.patchedBulkWritableRackRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiDcimRacksBulkUpdateRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ bulkWritableRackRequest *[]BulkWritableRackRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiDcimRacksBulkUpdateRequest) BulkWritableRackRequest(bulkWritableRackRequest []BulkWritableRackRequest) ApiDcimRacksBulkUpdateRequest {
+ r.bulkWritableRackRequest = &bulkWritableRackRequest
+ return r
+}
+
+func (r ApiDcimRacksBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRacksBulkUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiDcimRacksBulkUpdateRequest) Execute() ([]Rack, *http.Response, error) {
+ return r.ApiService.DcimRacksBulkUpdateExecute(r)
+}
+
+/*
+DcimRacksBulkUpdate Method for DcimRacksBulkUpdate
+
+Update a list of rack objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiDcimRacksBulkUpdateRequest
+*/
+func (a *DcimAPIService) DcimRacksBulkUpdate(ctx context.Context) ApiDcimRacksBulkUpdateRequest {
+ return ApiDcimRacksBulkUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return []Rack
+func (a *DcimAPIService) DcimRacksBulkUpdateExecute(r ApiDcimRacksBulkUpdateRequest) ([]Rack, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPut
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue []Rack
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRacksBulkUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/racks/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.bulkWritableRackRequest == nil {
+ return localVarReturnValue, nil, reportError("bulkWritableRackRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.bulkWritableRackRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiDcimRacksCreateRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ writableRackRequest *WritableRackRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiDcimRacksCreateRequest) WritableRackRequest(writableRackRequest WritableRackRequest) ApiDcimRacksCreateRequest {
+ r.writableRackRequest = &writableRackRequest
+ return r
+}
+
+func (r ApiDcimRacksCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRacksCreateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiDcimRacksCreateRequest) Execute() (*Rack, *http.Response, error) {
+ return r.ApiService.DcimRacksCreateExecute(r)
+}
+
+/*
+DcimRacksCreate Method for DcimRacksCreate
+
+Create one or more rack objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiDcimRacksCreateRequest
+*/
+func (a *DcimAPIService) DcimRacksCreate(ctx context.Context) ApiDcimRacksCreateRequest {
+ return ApiDcimRacksCreateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return Rack
+func (a *DcimAPIService) DcimRacksCreateExecute(r ApiDcimRacksCreateRequest) (*Rack, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPost
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *Rack
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRacksCreate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/racks/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.writableRackRequest == nil {
+ return localVarReturnValue, nil, reportError("writableRackRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.writableRackRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiDcimRacksDestroyRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiDcimRacksDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRacksDestroyRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiDcimRacksDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimRacksDestroyExecute(r)
+}
+
+/*
+DcimRacksDestroy Method for DcimRacksDestroy
+
+Destroy a rack object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this rack.
+ @return ApiDcimRacksDestroyRequest
+*/
+func (a *DcimAPIService) DcimRacksDestroy(ctx context.Context, id string) ApiDcimRacksDestroyRequest {
+ return ApiDcimRacksDestroyRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+func (a *DcimAPIService) DcimRacksDestroyExecute(r ApiDcimRacksDestroyRequest) (*http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodDelete
+ localVarPostBody interface{}
+ formFiles []formFile
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRacksDestroy")
+ if err != nil {
+ return nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/racks/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarHTTPResponse, newErr
+ }
+
+ return localVarHTTPResponse, nil
+}
+
+type ApiDcimRacksElevationListRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ id string
+ displayFullname *bool
+ exclude *string
+ expandDevices *bool
+ face *DcimRacksElevationListFaceParameter
+ format *CircuitsCircuitTerminationsListFormatParameter
+ includeImages *bool
+ isOccupied *bool
+ legendWidth *int32
+ limit *int32
+ offset *int32
+ q *string
+ render *DcimRacksElevationListRenderParameter
+ unitHeight *int32
+ unitWidth *int32
+ depth *int32
+ excludeM2m *bool
+}
+
+func (r ApiDcimRacksElevationListRequest) DisplayFullname(displayFullname bool) ApiDcimRacksElevationListRequest {
+ r.displayFullname = &displayFullname
+ return r
+}
+
+func (r ApiDcimRacksElevationListRequest) Exclude(exclude string) ApiDcimRacksElevationListRequest {
+ r.exclude = &exclude
+ return r
+}
+
+func (r ApiDcimRacksElevationListRequest) ExpandDevices(expandDevices bool) ApiDcimRacksElevationListRequest {
+ r.expandDevices = &expandDevices
+ return r
+}
+
+func (r ApiDcimRacksElevationListRequest) Face(face DcimRacksElevationListFaceParameter) ApiDcimRacksElevationListRequest {
+ r.face = &face
+ return r
+}
+
+func (r ApiDcimRacksElevationListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRacksElevationListRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiDcimRacksElevationListRequest) IncludeImages(includeImages bool) ApiDcimRacksElevationListRequest {
+ r.includeImages = &includeImages
+ return r
+}
+
+func (r ApiDcimRacksElevationListRequest) IsOccupied(isOccupied bool) ApiDcimRacksElevationListRequest {
+ r.isOccupied = &isOccupied
+ return r
+}
+
+func (r ApiDcimRacksElevationListRequest) LegendWidth(legendWidth int32) ApiDcimRacksElevationListRequest {
+ r.legendWidth = &legendWidth
+ return r
+}
+
+// Number of results to return per page.
+func (r ApiDcimRacksElevationListRequest) Limit(limit int32) ApiDcimRacksElevationListRequest {
+ r.limit = &limit
+ return r
+}
+
+// The initial index from which to return the results.
+func (r ApiDcimRacksElevationListRequest) Offset(offset int32) ApiDcimRacksElevationListRequest {
+ r.offset = &offset
+ return r
+}
+
+func (r ApiDcimRacksElevationListRequest) Q(q string) ApiDcimRacksElevationListRequest {
+ r.q = &q
+ return r
+}
+
+func (r ApiDcimRacksElevationListRequest) Render(render DcimRacksElevationListRenderParameter) ApiDcimRacksElevationListRequest {
+ r.render = &render
+ return r
+}
+
+func (r ApiDcimRacksElevationListRequest) UnitHeight(unitHeight int32) ApiDcimRacksElevationListRequest {
+ r.unitHeight = &unitHeight
+ return r
+}
+
+func (r ApiDcimRacksElevationListRequest) UnitWidth(unitWidth int32) ApiDcimRacksElevationListRequest {
+ r.unitWidth = &unitWidth
+ return r
+}
+
+// Serializer Depth
+func (r ApiDcimRacksElevationListRequest) Depth(depth int32) ApiDcimRacksElevationListRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiDcimRacksElevationListRequest) ExcludeM2m(excludeM2m bool) ApiDcimRacksElevationListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimRacksElevationListRequest) Execute() (*PaginatedRackUnitList, *http.Response, error) {
+ return r.ApiService.DcimRacksElevationListExecute(r)
+}
+
+/*
+DcimRacksElevationList Method for DcimRacksElevationList
+
+Rack elevation representing the list of rack units. Also supports rendering the elevation as an SVG.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this rack.
+ @return ApiDcimRacksElevationListRequest
+*/
+func (a *DcimAPIService) DcimRacksElevationList(ctx context.Context, id string) ApiDcimRacksElevationListRequest {
+ return ApiDcimRacksElevationListRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return PaginatedRackUnitList
+func (a *DcimAPIService) DcimRacksElevationListExecute(r ApiDcimRacksElevationListRequest) (*PaginatedRackUnitList, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *PaginatedRackUnitList
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRacksElevationList")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/racks/{id}/elevation/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.displayFullname != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "display_fullname", r.displayFullname, "form", "")
+ } else {
+ var defaultValue bool = true
+ parameterAddToHeaderOrQuery(localVarQueryParams, "display_fullname", defaultValue, "form", "")
+ r.displayFullname = &defaultValue
+ }
+ if r.exclude != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude", r.exclude, "form", "")
+ }
+ if r.expandDevices != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "expand_devices", r.expandDevices, "form", "")
+ } else {
+ var defaultValue bool = true
+ parameterAddToHeaderOrQuery(localVarQueryParams, "expand_devices", defaultValue, "form", "")
+ r.expandDevices = &defaultValue
+ }
+ if r.face != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "face", r.face, "form", "")
+ } else {
+ var defaultValue DcimRacksElevationListFaceParameter = "front"
+ parameterAddToHeaderOrQuery(localVarQueryParams, "face", defaultValue, "form", "")
+ r.face = &defaultValue
+ }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.includeImages != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "include_images", r.includeImages, "form", "")
+ } else {
+ var defaultValue bool = true
+ parameterAddToHeaderOrQuery(localVarQueryParams, "include_images", defaultValue, "form", "")
+ r.includeImages = &defaultValue
+ }
+ if r.isOccupied != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "is_occupied", r.isOccupied, "form", "")
+ }
+ if r.legendWidth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "legend_width", r.legendWidth, "form", "")
+ } else {
+ var defaultValue int32 = 30
+ parameterAddToHeaderOrQuery(localVarQueryParams, "legend_width", defaultValue, "form", "")
+ r.legendWidth = &defaultValue
+ }
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ }
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+ }
+ if r.q != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
+ }
+ if r.render != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "render", r.render, "form", "")
+ } else {
+ var defaultValue DcimRacksElevationListRenderParameter = "json"
+ parameterAddToHeaderOrQuery(localVarQueryParams, "render", defaultValue, "form", "")
+ r.render = &defaultValue
+ }
+ if r.unitHeight != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "unit_height", r.unitHeight, "form", "")
+ }
+ if r.unitWidth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "unit_width", r.unitWidth, "form", "")
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiDcimRacksListRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ assetTag *[]string
+ assetTagIc *[]string
+ assetTagIe *[]string
+ assetTagIew *[]string
+ assetTagIre *[]string
+ assetTagIsnull *bool
+ assetTagIsw *[]string
+ assetTagN *[]string
+ assetTagNic *[]string
+ assetTagNie *[]string
+ assetTagNiew *[]string
+ assetTagNire *[]string
+ assetTagNisw *[]string
+ assetTagNre *[]string
+ assetTagRe *[]string
+ comments *[]string
+ commentsIc *[]string
+ commentsIe *[]string
+ commentsIew *[]string
+ commentsIre *[]string
+ commentsIsw *[]string
+ commentsN *[]string
+ commentsNic *[]string
+ commentsNie *[]string
+ commentsNiew *[]string
+ commentsNire *[]string
+ commentsNisw *[]string
+ commentsNre *[]string
+ commentsRe *[]string
+ contacts *[]string
+ contactsIsnull *bool
+ contactsN *[]string
+ created *[]time.Time
+ createdGt *[]time.Time
+ createdGte *[]time.Time
+ createdIsnull *bool
+ createdLt *[]time.Time
+ createdLte *[]time.Time
+ createdN *[]time.Time
+ descUnits *bool
+ devices *[]string
+ devicesIsnull *bool
+ devicesN *[]string
+ dynamicGroups *[]string
+ dynamicGroupsN *[]string
+ facilityId *[]string
+ facilityIdIc *[]string
+ facilityIdIe *[]string
+ facilityIdIew *[]string
+ facilityIdIre *[]string
+ facilityIdIsnull *bool
+ facilityIdIsw *[]string
+ facilityIdN *[]string
+ facilityIdNic *[]string
+ facilityIdNie *[]string
+ facilityIdNiew *[]string
+ facilityIdNire *[]string
+ facilityIdNisw *[]string
+ facilityIdNre *[]string
+ facilityIdRe *[]string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ hasDevices *bool
+ hasPowerFeeds *bool
+ hasRackReservations *bool
+ id *[]string
+ idN *[]string
+ lastUpdated *[]time.Time
+ lastUpdatedGt *[]time.Time
+ lastUpdatedGte *[]time.Time
+ lastUpdatedIsnull *bool
+ lastUpdatedLt *[]time.Time
+ lastUpdatedLte *[]time.Time
+ lastUpdatedN *[]time.Time
+ limit *int32
+ location *[]string
+ locationN *[]string
+ name *[]string
+ nameIc *[]string
+ nameIe *[]string
+ nameIew *[]string
+ nameIre *[]string
+ nameIsw *[]string
+ nameN *[]string
+ nameNic *[]string
+ nameNie *[]string
+ nameNiew *[]string
+ nameNire *[]string
+ nameNisw *[]string
+ nameNre *[]string
+ nameRe *[]string
+ offset *int32
+ outerDepth *[]int32
+ outerDepthGt *[]int32
+ outerDepthGte *[]int32
+ outerDepthIsnull *bool
+ outerDepthLt *[]int32
+ outerDepthLte *[]int32
+ outerDepthN *[]int32
+ outerUnit *[]string
+ outerUnitIc *[]string
+ outerUnitIe *[]string
+ outerUnitIew *[]string
+ outerUnitIre *[]string
+ outerUnitIsw *[]string
+ outerUnitN *[]string
+ outerUnitNic *[]string
+ outerUnitNie *[]string
+ outerUnitNiew *[]string
+ outerUnitNire *[]string
+ outerUnitNisw *[]string
+ outerUnitNre *[]string
+ outerUnitRe *[]string
+ outerWidth *[]int32
+ outerWidthGt *[]int32
+ outerWidthGte *[]int32
+ outerWidthIsnull *bool
+ outerWidthLt *[]int32
+ outerWidthLte *[]int32
+ outerWidthN *[]int32
+ powerFeeds *[]string
+ powerFeedsIsnull *bool
+ powerFeedsN *[]string
+ q *string
+ rackGroup *[]string
+ rackGroupIsnull *bool
+ rackGroupN *[]string
+ rackReservations *[]string
+ rackReservationsIsnull *bool
+ rackReservationsN *[]string
+ role *[]string
+ roleIsnull *bool
+ roleN *[]string
+ serial *[]string
+ serialIc *[]string
+ serialIe *[]string
+ serialIew *[]string
+ serialIre *[]string
+ serialIsw *[]string
+ serialN *[]string
+ serialNic *[]string
+ serialNie *[]string
+ serialNiew *[]string
+ serialNire *[]string
+ serialNisw *[]string
+ serialNre *[]string
+ serialRe *[]string
+ sort *string
+ status *[]string
+ statusN *[]string
+ tags *[]string
+ tagsIsnull *bool
+ tagsN *[]string
+ teams *[]string
+ teamsIsnull *bool
+ teamsN *[]string
+ tenant *[]string
+ tenantIsnull *bool
+ tenantN *[]string
+ tenantGroup *[]string
+ tenantGroupIsnull *bool
+ tenantGroupN *[]string
+ tenantId *[]*string
+ tenantIdIsnull *bool
+ tenantIdN *[]*string
+ type_ *[]string
+ typeIc *[]string
+ typeIe *[]string
+ typeIew *[]string
+ typeIre *[]string
+ typeIsw *[]string
+ typeN *[]string
+ typeNic *[]string
+ typeNie *[]string
+ typeNiew *[]string
+ typeNire *[]string
+ typeNisw *[]string
+ typeNre *[]string
+ typeRe *[]string
+ uHeight *[]int32
+ uHeightGt *[]int32
+ uHeightGte *[]int32
+ uHeightLt *[]int32
+ uHeightLte *[]int32
+ uHeightN *[]int32
+ width *[]int32
+ widthIc *[]string
+ widthIe *[]string
+ widthIew *[]string
+ widthIre *[]string
+ widthIsw *[]string
+ widthN *[]string
+ widthNic *[]string
+ widthNie *[]string
+ widthNiew *[]string
+ widthNire *[]string
+ widthNisw *[]string
+ widthNre *[]string
+ widthRe *[]string
+ depth *int32
+ excludeM2m *bool
+}
+
+func (r ApiDcimRacksListRequest) AssetTag(assetTag []string) ApiDcimRacksListRequest {
+ r.assetTag = &assetTag
+ return r
+}
+
+func (r ApiDcimRacksListRequest) AssetTagIc(assetTagIc []string) ApiDcimRacksListRequest {
+ r.assetTagIc = &assetTagIc
+ return r
+}
+
+func (r ApiDcimRacksListRequest) AssetTagIe(assetTagIe []string) ApiDcimRacksListRequest {
+ r.assetTagIe = &assetTagIe
+ return r
+}
+
+func (r ApiDcimRacksListRequest) AssetTagIew(assetTagIew []string) ApiDcimRacksListRequest {
+ r.assetTagIew = &assetTagIew
+ return r
+}
+
+func (r ApiDcimRacksListRequest) AssetTagIre(assetTagIre []string) ApiDcimRacksListRequest {
+ r.assetTagIre = &assetTagIre
+ return r
+}
+
+func (r ApiDcimRacksListRequest) AssetTagIsnull(assetTagIsnull bool) ApiDcimRacksListRequest {
+ r.assetTagIsnull = &assetTagIsnull
+ return r
+}
+
+func (r ApiDcimRacksListRequest) AssetTagIsw(assetTagIsw []string) ApiDcimRacksListRequest {
+ r.assetTagIsw = &assetTagIsw
+ return r
+}
+
+func (r ApiDcimRacksListRequest) AssetTagN(assetTagN []string) ApiDcimRacksListRequest {
+ r.assetTagN = &assetTagN
+ return r
+}
+
+func (r ApiDcimRacksListRequest) AssetTagNic(assetTagNic []string) ApiDcimRacksListRequest {
+ r.assetTagNic = &assetTagNic
+ return r
+}
+
+func (r ApiDcimRacksListRequest) AssetTagNie(assetTagNie []string) ApiDcimRacksListRequest {
+ r.assetTagNie = &assetTagNie
+ return r
+}
+
+func (r ApiDcimRacksListRequest) AssetTagNiew(assetTagNiew []string) ApiDcimRacksListRequest {
+ r.assetTagNiew = &assetTagNiew
+ return r
+}
+
+func (r ApiDcimRacksListRequest) AssetTagNire(assetTagNire []string) ApiDcimRacksListRequest {
+ r.assetTagNire = &assetTagNire
+ return r
+}
+
+func (r ApiDcimRacksListRequest) AssetTagNisw(assetTagNisw []string) ApiDcimRacksListRequest {
+ r.assetTagNisw = &assetTagNisw
+ return r
+}
+
+func (r ApiDcimRacksListRequest) AssetTagNre(assetTagNre []string) ApiDcimRacksListRequest {
+ r.assetTagNre = &assetTagNre
+ return r
+}
+
+func (r ApiDcimRacksListRequest) AssetTagRe(assetTagRe []string) ApiDcimRacksListRequest {
+ r.assetTagRe = &assetTagRe
+ return r
+}
+
+func (r ApiDcimRacksListRequest) Comments(comments []string) ApiDcimRacksListRequest {
+ r.comments = &comments
+ return r
+}
+
+func (r ApiDcimRacksListRequest) CommentsIc(commentsIc []string) ApiDcimRacksListRequest {
+ r.commentsIc = &commentsIc
+ return r
+}
+
+func (r ApiDcimRacksListRequest) CommentsIe(commentsIe []string) ApiDcimRacksListRequest {
+ r.commentsIe = &commentsIe
+ return r
+}
+
+func (r ApiDcimRacksListRequest) CommentsIew(commentsIew []string) ApiDcimRacksListRequest {
+ r.commentsIew = &commentsIew
+ return r
+}
+
+func (r ApiDcimRacksListRequest) CommentsIre(commentsIre []string) ApiDcimRacksListRequest {
+ r.commentsIre = &commentsIre
+ return r
+}
+
+func (r ApiDcimRacksListRequest) CommentsIsw(commentsIsw []string) ApiDcimRacksListRequest {
+ r.commentsIsw = &commentsIsw
+ return r
+}
+
+func (r ApiDcimRacksListRequest) CommentsN(commentsN []string) ApiDcimRacksListRequest {
+ r.commentsN = &commentsN
+ return r
+}
+
+func (r ApiDcimRacksListRequest) CommentsNic(commentsNic []string) ApiDcimRacksListRequest {
+ r.commentsNic = &commentsNic
+ return r
+}
+
+func (r ApiDcimRacksListRequest) CommentsNie(commentsNie []string) ApiDcimRacksListRequest {
+ r.commentsNie = &commentsNie
+ return r
+}
+
+func (r ApiDcimRacksListRequest) CommentsNiew(commentsNiew []string) ApiDcimRacksListRequest {
+ r.commentsNiew = &commentsNiew
+ return r
+}
+
+func (r ApiDcimRacksListRequest) CommentsNire(commentsNire []string) ApiDcimRacksListRequest {
+ r.commentsNire = &commentsNire
+ return r
+}
+
+func (r ApiDcimRacksListRequest) CommentsNisw(commentsNisw []string) ApiDcimRacksListRequest {
+ r.commentsNisw = &commentsNisw
+ return r
+}
+
+func (r ApiDcimRacksListRequest) CommentsNre(commentsNre []string) ApiDcimRacksListRequest {
+ r.commentsNre = &commentsNre
+ return r
+}
+
+func (r ApiDcimRacksListRequest) CommentsRe(commentsRe []string) ApiDcimRacksListRequest {
+ r.commentsRe = &commentsRe
+ return r
+}
+
+func (r ApiDcimRacksListRequest) Contacts(contacts []string) ApiDcimRacksListRequest {
+ r.contacts = &contacts
+ return r
+}
+
+// Contacts (name or ID) is null
+func (r ApiDcimRacksListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimRacksListRequest {
+ r.contactsIsnull = &contactsIsnull
+ return r
+}
+
+func (r ApiDcimRacksListRequest) ContactsN(contactsN []string) ApiDcimRacksListRequest {
+ r.contactsN = &contactsN
+ return r
+}
+
+func (r ApiDcimRacksListRequest) Created(created []time.Time) ApiDcimRacksListRequest {
+ r.created = &created
+ return r
+}
+
+func (r ApiDcimRacksListRequest) CreatedGt(createdGt []time.Time) ApiDcimRacksListRequest {
+ r.createdGt = &createdGt
+ return r
+}
+
+func (r ApiDcimRacksListRequest) CreatedGte(createdGte []time.Time) ApiDcimRacksListRequest {
+ r.createdGte = &createdGte
+ return r
+}
+
+func (r ApiDcimRacksListRequest) CreatedIsnull(createdIsnull bool) ApiDcimRacksListRequest {
+ r.createdIsnull = &createdIsnull
+ return r
+}
+
+func (r ApiDcimRacksListRequest) CreatedLt(createdLt []time.Time) ApiDcimRacksListRequest {
+ r.createdLt = &createdLt
+ return r
+}
+
+func (r ApiDcimRacksListRequest) CreatedLte(createdLte []time.Time) ApiDcimRacksListRequest {
+ r.createdLte = &createdLte
+ return r
+}
+
+func (r ApiDcimRacksListRequest) CreatedN(createdN []time.Time) ApiDcimRacksListRequest {
+ r.createdN = &createdN
+ return r
+}
+
+func (r ApiDcimRacksListRequest) DescUnits(descUnits bool) ApiDcimRacksListRequest {
+ r.descUnits = &descUnits
+ return r
+}
+
+func (r ApiDcimRacksListRequest) Devices(devices []string) ApiDcimRacksListRequest {
+ r.devices = &devices
+ return r
+}
+
+func (r ApiDcimRacksListRequest) DevicesIsnull(devicesIsnull bool) ApiDcimRacksListRequest {
+ r.devicesIsnull = &devicesIsnull
+ return r
+}
+
+func (r ApiDcimRacksListRequest) DevicesN(devicesN []string) ApiDcimRacksListRequest {
+ r.devicesN = &devicesN
+ return r
+}
+
+func (r ApiDcimRacksListRequest) DynamicGroups(dynamicGroups []string) ApiDcimRacksListRequest {
+ r.dynamicGroups = &dynamicGroups
+ return r
+}
+
+func (r ApiDcimRacksListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimRacksListRequest {
+ r.dynamicGroupsN = &dynamicGroupsN
+ return r
+}
+
+func (r ApiDcimRacksListRequest) FacilityId(facilityId []string) ApiDcimRacksListRequest {
+ r.facilityId = &facilityId
+ return r
+}
+
+func (r ApiDcimRacksListRequest) FacilityIdIc(facilityIdIc []string) ApiDcimRacksListRequest {
+ r.facilityIdIc = &facilityIdIc
+ return r
+}
+
+func (r ApiDcimRacksListRequest) FacilityIdIe(facilityIdIe []string) ApiDcimRacksListRequest {
+ r.facilityIdIe = &facilityIdIe
+ return r
+}
+
+func (r ApiDcimRacksListRequest) FacilityIdIew(facilityIdIew []string) ApiDcimRacksListRequest {
+ r.facilityIdIew = &facilityIdIew
+ return r
+}
+
+func (r ApiDcimRacksListRequest) FacilityIdIre(facilityIdIre []string) ApiDcimRacksListRequest {
+ r.facilityIdIre = &facilityIdIre
+ return r
+}
+
+func (r ApiDcimRacksListRequest) FacilityIdIsnull(facilityIdIsnull bool) ApiDcimRacksListRequest {
+ r.facilityIdIsnull = &facilityIdIsnull
+ return r
+}
+
+func (r ApiDcimRacksListRequest) FacilityIdIsw(facilityIdIsw []string) ApiDcimRacksListRequest {
+ r.facilityIdIsw = &facilityIdIsw
+ return r
+}
+
+func (r ApiDcimRacksListRequest) FacilityIdN(facilityIdN []string) ApiDcimRacksListRequest {
+ r.facilityIdN = &facilityIdN
+ return r
+}
+
+func (r ApiDcimRacksListRequest) FacilityIdNic(facilityIdNic []string) ApiDcimRacksListRequest {
+ r.facilityIdNic = &facilityIdNic
+ return r
+}
+
+func (r ApiDcimRacksListRequest) FacilityIdNie(facilityIdNie []string) ApiDcimRacksListRequest {
+ r.facilityIdNie = &facilityIdNie
+ return r
+}
+
+func (r ApiDcimRacksListRequest) FacilityIdNiew(facilityIdNiew []string) ApiDcimRacksListRequest {
+ r.facilityIdNiew = &facilityIdNiew
+ return r
+}
+
+func (r ApiDcimRacksListRequest) FacilityIdNire(facilityIdNire []string) ApiDcimRacksListRequest {
+ r.facilityIdNire = &facilityIdNire
+ return r
+}
+
+func (r ApiDcimRacksListRequest) FacilityIdNisw(facilityIdNisw []string) ApiDcimRacksListRequest {
+ r.facilityIdNisw = &facilityIdNisw
+ return r
+}
+
+func (r ApiDcimRacksListRequest) FacilityIdNre(facilityIdNre []string) ApiDcimRacksListRequest {
+ r.facilityIdNre = &facilityIdNre
+ return r
+}
+
+func (r ApiDcimRacksListRequest) FacilityIdRe(facilityIdRe []string) ApiDcimRacksListRequest {
+ r.facilityIdRe = &facilityIdRe
+ return r
+}
+
+func (r ApiDcimRacksListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRacksListRequest {
+ r.format = &format
+ return r
+}
+
+// Has devices
+func (r ApiDcimRacksListRequest) HasDevices(hasDevices bool) ApiDcimRacksListRequest {
+ r.hasDevices = &hasDevices
+ return r
+}
+
+// Has power feeds
+func (r ApiDcimRacksListRequest) HasPowerFeeds(hasPowerFeeds bool) ApiDcimRacksListRequest {
+ r.hasPowerFeeds = &hasPowerFeeds
+ return r
+}
+
+// Has rack reservations
+func (r ApiDcimRacksListRequest) HasRackReservations(hasRackReservations bool) ApiDcimRacksListRequest {
+ r.hasRackReservations = &hasRackReservations
+ return r
+}
+
+// Unique object identifier, either a UUID primary key or a composite key.
+func (r ApiDcimRacksListRequest) Id(id []string) ApiDcimRacksListRequest {
+ r.id = &id
+ return r
+}
+
+func (r ApiDcimRacksListRequest) IdN(idN []string) ApiDcimRacksListRequest {
+ r.idN = &idN
+ return r
+}
+
+func (r ApiDcimRacksListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimRacksListRequest {
+ r.lastUpdated = &lastUpdated
+ return r
+}
+
+func (r ApiDcimRacksListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiDcimRacksListRequest {
+ r.lastUpdatedGt = &lastUpdatedGt
+ return r
+}
+
+func (r ApiDcimRacksListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiDcimRacksListRequest {
+ r.lastUpdatedGte = &lastUpdatedGte
+ return r
+}
+
+func (r ApiDcimRacksListRequest) LastUpdatedIsnull(lastUpdatedIsnull bool) ApiDcimRacksListRequest {
+ r.lastUpdatedIsnull = &lastUpdatedIsnull
+ return r
+}
+
+func (r ApiDcimRacksListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiDcimRacksListRequest {
+ r.lastUpdatedLt = &lastUpdatedLt
+ return r
+}
+
+func (r ApiDcimRacksListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiDcimRacksListRequest {
+ r.lastUpdatedLte = &lastUpdatedLte
+ return r
+}
+
+func (r ApiDcimRacksListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiDcimRacksListRequest {
+ r.lastUpdatedN = &lastUpdatedN
+ return r
+}
+
+// Number of results to return per page.
+func (r ApiDcimRacksListRequest) Limit(limit int32) ApiDcimRacksListRequest {
+ r.limit = &limit
+ return r
+}
+
+func (r ApiDcimRacksListRequest) Location(location []string) ApiDcimRacksListRequest {
+ r.location = &location
+ return r
+}
+
+func (r ApiDcimRacksListRequest) LocationN(locationN []string) ApiDcimRacksListRequest {
+ r.locationN = &locationN
+ return r
+}
+
+func (r ApiDcimRacksListRequest) Name(name []string) ApiDcimRacksListRequest {
+ r.name = &name
+ return r
+}
+
+func (r ApiDcimRacksListRequest) NameIc(nameIc []string) ApiDcimRacksListRequest {
+ r.nameIc = &nameIc
+ return r
+}
+
+func (r ApiDcimRacksListRequest) NameIe(nameIe []string) ApiDcimRacksListRequest {
+ r.nameIe = &nameIe
+ return r
+}
+
+func (r ApiDcimRacksListRequest) NameIew(nameIew []string) ApiDcimRacksListRequest {
+ r.nameIew = &nameIew
+ return r
+}
+
+func (r ApiDcimRacksListRequest) NameIre(nameIre []string) ApiDcimRacksListRequest {
+ r.nameIre = &nameIre
+ return r
+}
+
+func (r ApiDcimRacksListRequest) NameIsw(nameIsw []string) ApiDcimRacksListRequest {
+ r.nameIsw = &nameIsw
+ return r
+}
+
+func (r ApiDcimRacksListRequest) NameN(nameN []string) ApiDcimRacksListRequest {
+ r.nameN = &nameN
+ return r
+}
+
+func (r ApiDcimRacksListRequest) NameNic(nameNic []string) ApiDcimRacksListRequest {
+ r.nameNic = &nameNic
+ return r
+}
+
+func (r ApiDcimRacksListRequest) NameNie(nameNie []string) ApiDcimRacksListRequest {
+ r.nameNie = &nameNie
+ return r
+}
+
+func (r ApiDcimRacksListRequest) NameNiew(nameNiew []string) ApiDcimRacksListRequest {
+ r.nameNiew = &nameNiew
+ return r
+}
+
+func (r ApiDcimRacksListRequest) NameNire(nameNire []string) ApiDcimRacksListRequest {
+ r.nameNire = &nameNire
+ return r
+}
+
+func (r ApiDcimRacksListRequest) NameNisw(nameNisw []string) ApiDcimRacksListRequest {
+ r.nameNisw = &nameNisw
+ return r
+}
+
+func (r ApiDcimRacksListRequest) NameNre(nameNre []string) ApiDcimRacksListRequest {
+ r.nameNre = &nameNre
+ return r
+}
+
+func (r ApiDcimRacksListRequest) NameRe(nameRe []string) ApiDcimRacksListRequest {
+ r.nameRe = &nameRe
+ return r
+}
+
+// The initial index from which to return the results.
+func (r ApiDcimRacksListRequest) Offset(offset int32) ApiDcimRacksListRequest {
+ r.offset = &offset
+ return r
+}
+
+func (r ApiDcimRacksListRequest) OuterDepth(outerDepth []int32) ApiDcimRacksListRequest {
+ r.outerDepth = &outerDepth
+ return r
+}
+
+func (r ApiDcimRacksListRequest) OuterDepthGt(outerDepthGt []int32) ApiDcimRacksListRequest {
+ r.outerDepthGt = &outerDepthGt
+ return r
+}
+
+func (r ApiDcimRacksListRequest) OuterDepthGte(outerDepthGte []int32) ApiDcimRacksListRequest {
+ r.outerDepthGte = &outerDepthGte
+ return r
+}
+
+func (r ApiDcimRacksListRequest) OuterDepthIsnull(outerDepthIsnull bool) ApiDcimRacksListRequest {
+ r.outerDepthIsnull = &outerDepthIsnull
+ return r
+}
+
+func (r ApiDcimRacksListRequest) OuterDepthLt(outerDepthLt []int32) ApiDcimRacksListRequest {
+ r.outerDepthLt = &outerDepthLt
+ return r
+}
+
+func (r ApiDcimRacksListRequest) OuterDepthLte(outerDepthLte []int32) ApiDcimRacksListRequest {
+ r.outerDepthLte = &outerDepthLte
+ return r
+}
+
+func (r ApiDcimRacksListRequest) OuterDepthN(outerDepthN []int32) ApiDcimRacksListRequest {
+ r.outerDepthN = &outerDepthN
+ return r
+}
+
+func (r ApiDcimRacksListRequest) OuterUnit(outerUnit []string) ApiDcimRacksListRequest {
+ r.outerUnit = &outerUnit
+ return r
+}
+
+func (r ApiDcimRacksListRequest) OuterUnitIc(outerUnitIc []string) ApiDcimRacksListRequest {
+ r.outerUnitIc = &outerUnitIc
+ return r
+}
+
+func (r ApiDcimRacksListRequest) OuterUnitIe(outerUnitIe []string) ApiDcimRacksListRequest {
+ r.outerUnitIe = &outerUnitIe
+ return r
+}
+
+func (r ApiDcimRacksListRequest) OuterUnitIew(outerUnitIew []string) ApiDcimRacksListRequest {
+ r.outerUnitIew = &outerUnitIew
+ return r
+}
+
+func (r ApiDcimRacksListRequest) OuterUnitIre(outerUnitIre []string) ApiDcimRacksListRequest {
+ r.outerUnitIre = &outerUnitIre
+ return r
+}
+
+func (r ApiDcimRacksListRequest) OuterUnitIsw(outerUnitIsw []string) ApiDcimRacksListRequest {
+ r.outerUnitIsw = &outerUnitIsw
+ return r
+}
+
+func (r ApiDcimRacksListRequest) OuterUnitN(outerUnitN []string) ApiDcimRacksListRequest {
+ r.outerUnitN = &outerUnitN
+ return r
+}
+
+func (r ApiDcimRacksListRequest) OuterUnitNic(outerUnitNic []string) ApiDcimRacksListRequest {
+ r.outerUnitNic = &outerUnitNic
+ return r
+}
+
+func (r ApiDcimRacksListRequest) OuterUnitNie(outerUnitNie []string) ApiDcimRacksListRequest {
+ r.outerUnitNie = &outerUnitNie
+ return r
+}
+
+func (r ApiDcimRacksListRequest) OuterUnitNiew(outerUnitNiew []string) ApiDcimRacksListRequest {
+ r.outerUnitNiew = &outerUnitNiew
+ return r
+}
+
+func (r ApiDcimRacksListRequest) OuterUnitNire(outerUnitNire []string) ApiDcimRacksListRequest {
+ r.outerUnitNire = &outerUnitNire
+ return r
+}
+
+func (r ApiDcimRacksListRequest) OuterUnitNisw(outerUnitNisw []string) ApiDcimRacksListRequest {
+ r.outerUnitNisw = &outerUnitNisw
+ return r
+}
+
+func (r ApiDcimRacksListRequest) OuterUnitNre(outerUnitNre []string) ApiDcimRacksListRequest {
+ r.outerUnitNre = &outerUnitNre
+ return r
+}
+
+func (r ApiDcimRacksListRequest) OuterUnitRe(outerUnitRe []string) ApiDcimRacksListRequest {
+ r.outerUnitRe = &outerUnitRe
+ return r
+}
+
+func (r ApiDcimRacksListRequest) OuterWidth(outerWidth []int32) ApiDcimRacksListRequest {
+ r.outerWidth = &outerWidth
+ return r
+}
+
+func (r ApiDcimRacksListRequest) OuterWidthGt(outerWidthGt []int32) ApiDcimRacksListRequest {
+ r.outerWidthGt = &outerWidthGt
+ return r
+}
+
+func (r ApiDcimRacksListRequest) OuterWidthGte(outerWidthGte []int32) ApiDcimRacksListRequest {
+ r.outerWidthGte = &outerWidthGte
+ return r
+}
+
+func (r ApiDcimRacksListRequest) OuterWidthIsnull(outerWidthIsnull bool) ApiDcimRacksListRequest {
+ r.outerWidthIsnull = &outerWidthIsnull
+ return r
+}
+
+func (r ApiDcimRacksListRequest) OuterWidthLt(outerWidthLt []int32) ApiDcimRacksListRequest {
+ r.outerWidthLt = &outerWidthLt
+ return r
+}
+
+func (r ApiDcimRacksListRequest) OuterWidthLte(outerWidthLte []int32) ApiDcimRacksListRequest {
+ r.outerWidthLte = &outerWidthLte
+ return r
+}
+
+func (r ApiDcimRacksListRequest) OuterWidthN(outerWidthN []int32) ApiDcimRacksListRequest {
+ r.outerWidthN = &outerWidthN
+ return r
+}
+
+func (r ApiDcimRacksListRequest) PowerFeeds(powerFeeds []string) ApiDcimRacksListRequest {
+ r.powerFeeds = &powerFeeds
+ return r
+}
+
+// Power feeds (name or ID) is null
+func (r ApiDcimRacksListRequest) PowerFeedsIsnull(powerFeedsIsnull bool) ApiDcimRacksListRequest {
+ r.powerFeedsIsnull = &powerFeedsIsnull
+ return r
+}
+
+func (r ApiDcimRacksListRequest) PowerFeedsN(powerFeedsN []string) ApiDcimRacksListRequest {
+ r.powerFeedsN = &powerFeedsN
+ return r
+}
+
+// Search
+func (r ApiDcimRacksListRequest) Q(q string) ApiDcimRacksListRequest {
+ r.q = &q
+ return r
+}
+
+func (r ApiDcimRacksListRequest) RackGroup(rackGroup []string) ApiDcimRacksListRequest {
+ r.rackGroup = &rackGroup
+ return r
+}
+
+// Rack group (name or ID) is null
+func (r ApiDcimRacksListRequest) RackGroupIsnull(rackGroupIsnull bool) ApiDcimRacksListRequest {
+ r.rackGroupIsnull = &rackGroupIsnull
+ return r
+}
+
+func (r ApiDcimRacksListRequest) RackGroupN(rackGroupN []string) ApiDcimRacksListRequest {
+ r.rackGroupN = &rackGroupN
+ return r
+}
+
+func (r ApiDcimRacksListRequest) RackReservations(rackReservations []string) ApiDcimRacksListRequest {
+ r.rackReservations = &rackReservations
+ return r
+}
+
+func (r ApiDcimRacksListRequest) RackReservationsIsnull(rackReservationsIsnull bool) ApiDcimRacksListRequest {
+ r.rackReservationsIsnull = &rackReservationsIsnull
+ return r
+}
+
+func (r ApiDcimRacksListRequest) RackReservationsN(rackReservationsN []string) ApiDcimRacksListRequest {
+ r.rackReservationsN = &rackReservationsN
+ return r
+}
+
+func (r ApiDcimRacksListRequest) Role(role []string) ApiDcimRacksListRequest {
+ r.role = &role
+ return r
+}
+
+// Role (name or ID) is null
+func (r ApiDcimRacksListRequest) RoleIsnull(roleIsnull bool) ApiDcimRacksListRequest {
+ r.roleIsnull = &roleIsnull
+ return r
+}
+
+func (r ApiDcimRacksListRequest) RoleN(roleN []string) ApiDcimRacksListRequest {
+ r.roleN = &roleN
+ return r
+}
+
+// Serial Number
+func (r ApiDcimRacksListRequest) Serial(serial []string) ApiDcimRacksListRequest {
+ r.serial = &serial
+ return r
+}
+
+// Serial Number contains
+func (r ApiDcimRacksListRequest) SerialIc(serialIc []string) ApiDcimRacksListRequest {
+ r.serialIc = &serialIc
+ return r
+}
+
+// Serial Number
+func (r ApiDcimRacksListRequest) SerialIe(serialIe []string) ApiDcimRacksListRequest {
+ r.serialIe = &serialIe
+ return r
+}
+
+// Serial Number ends with
+func (r ApiDcimRacksListRequest) SerialIew(serialIew []string) ApiDcimRacksListRequest {
+ r.serialIew = &serialIew
+ return r
+}
+
+// Serial Number matches regex
+func (r ApiDcimRacksListRequest) SerialIre(serialIre []string) ApiDcimRacksListRequest {
+ r.serialIre = &serialIre
+ return r
+}
+
+// Serial Number starts with
+func (r ApiDcimRacksListRequest) SerialIsw(serialIsw []string) ApiDcimRacksListRequest {
+ r.serialIsw = &serialIsw
+ return r
+}
+
+// Exclude Serial Number
+func (r ApiDcimRacksListRequest) SerialN(serialN []string) ApiDcimRacksListRequest {
+ r.serialN = &serialN
+ return r
+}
+
+// Exclude Serial Number contains
+func (r ApiDcimRacksListRequest) SerialNic(serialNic []string) ApiDcimRacksListRequest {
+ r.serialNic = &serialNic
+ return r
+}
+
+// Exclude Serial Number
+func (r ApiDcimRacksListRequest) SerialNie(serialNie []string) ApiDcimRacksListRequest {
+ r.serialNie = &serialNie
+ return r
+}
+
+// Exclude Serial Number ends with
+func (r ApiDcimRacksListRequest) SerialNiew(serialNiew []string) ApiDcimRacksListRequest {
+ r.serialNiew = &serialNiew
+ return r
+}
+
+// Exclude Serial Number matches regex
+func (r ApiDcimRacksListRequest) SerialNire(serialNire []string) ApiDcimRacksListRequest {
+ r.serialNire = &serialNire
+ return r
+}
+
+// Exclude Serial Number starts with
+func (r ApiDcimRacksListRequest) SerialNisw(serialNisw []string) ApiDcimRacksListRequest {
+ r.serialNisw = &serialNisw
+ return r
+}
+
+// Exclude Serial Number matches regex
+func (r ApiDcimRacksListRequest) SerialNre(serialNre []string) ApiDcimRacksListRequest {
+ r.serialNre = &serialNre
+ return r
+}
+
+// Serial Number matches regex
+func (r ApiDcimRacksListRequest) SerialRe(serialRe []string) ApiDcimRacksListRequest {
+ r.serialRe = &serialRe
+ return r
+}
+
+// Which field to use when ordering the results.
+func (r ApiDcimRacksListRequest) Sort(sort string) ApiDcimRacksListRequest {
+ r.sort = &sort
+ return r
+}
+
+func (r ApiDcimRacksListRequest) Status(status []string) ApiDcimRacksListRequest {
+ r.status = &status
+ return r
+}
+
+func (r ApiDcimRacksListRequest) StatusN(statusN []string) ApiDcimRacksListRequest {
+ r.statusN = &statusN
+ return r
+}
+
+func (r ApiDcimRacksListRequest) Tags(tags []string) ApiDcimRacksListRequest {
+ r.tags = &tags
+ return r
+}
+
+func (r ApiDcimRacksListRequest) TagsIsnull(tagsIsnull bool) ApiDcimRacksListRequest {
+ r.tagsIsnull = &tagsIsnull
+ return r
+}
+
+func (r ApiDcimRacksListRequest) TagsN(tagsN []string) ApiDcimRacksListRequest {
+ r.tagsN = &tagsN
+ return r
+}
+
+func (r ApiDcimRacksListRequest) Teams(teams []string) ApiDcimRacksListRequest {
+ r.teams = &teams
+ return r
+}
+
+// Teams (name or ID) is null
+func (r ApiDcimRacksListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimRacksListRequest {
+ r.teamsIsnull = &teamsIsnull
+ return r
+}
+
+func (r ApiDcimRacksListRequest) TeamsN(teamsN []string) ApiDcimRacksListRequest {
+ r.teamsN = &teamsN
+ return r
+}
+
+func (r ApiDcimRacksListRequest) Tenant(tenant []string) ApiDcimRacksListRequest {
+ r.tenant = &tenant
+ return r
+}
+
+// Tenant (name or ID) is null
+func (r ApiDcimRacksListRequest) TenantIsnull(tenantIsnull bool) ApiDcimRacksListRequest {
+ r.tenantIsnull = &tenantIsnull
+ return r
+}
+
+func (r ApiDcimRacksListRequest) TenantN(tenantN []string) ApiDcimRacksListRequest {
+ r.tenantN = &tenantN
+ return r
+}
+
+func (r ApiDcimRacksListRequest) TenantGroup(tenantGroup []string) ApiDcimRacksListRequest {
+ r.tenantGroup = &tenantGroup
+ return r
+}
+
+// Tenant Group (name or ID) is null
+func (r ApiDcimRacksListRequest) TenantGroupIsnull(tenantGroupIsnull bool) ApiDcimRacksListRequest {
+ r.tenantGroupIsnull = &tenantGroupIsnull
+ return r
+}
+
+func (r ApiDcimRacksListRequest) TenantGroupN(tenantGroupN []string) ApiDcimRacksListRequest {
+ r.tenantGroupN = &tenantGroupN
+ return r
+}
+
+// Tenant (ID) (deprecated, use \"tenant\" filter instead)
+func (r ApiDcimRacksListRequest) TenantId(tenantId []*string) ApiDcimRacksListRequest {
+ r.tenantId = &tenantId
+ return r
+}
+
+// Tenant (ID) (deprecated, use \"tenant\" filter instead) is null
+func (r ApiDcimRacksListRequest) TenantIdIsnull(tenantIdIsnull bool) ApiDcimRacksListRequest {
+ r.tenantIdIsnull = &tenantIdIsnull
+ return r
+}
+
+// Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead)
+func (r ApiDcimRacksListRequest) TenantIdN(tenantIdN []*string) ApiDcimRacksListRequest {
+ r.tenantIdN = &tenantIdN
+ return r
+}
+
+func (r ApiDcimRacksListRequest) Type_(type_ []string) ApiDcimRacksListRequest {
+ r.type_ = &type_
+ return r
+}
+
+func (r ApiDcimRacksListRequest) TypeIc(typeIc []string) ApiDcimRacksListRequest {
+ r.typeIc = &typeIc
+ return r
+}
+
+func (r ApiDcimRacksListRequest) TypeIe(typeIe []string) ApiDcimRacksListRequest {
+ r.typeIe = &typeIe
+ return r
+}
+
+func (r ApiDcimRacksListRequest) TypeIew(typeIew []string) ApiDcimRacksListRequest {
+ r.typeIew = &typeIew
+ return r
+}
+
+func (r ApiDcimRacksListRequest) TypeIre(typeIre []string) ApiDcimRacksListRequest {
+ r.typeIre = &typeIre
+ return r
+}
+
+func (r ApiDcimRacksListRequest) TypeIsw(typeIsw []string) ApiDcimRacksListRequest {
+ r.typeIsw = &typeIsw
+ return r
+}
+
+func (r ApiDcimRacksListRequest) TypeN(typeN []string) ApiDcimRacksListRequest {
+ r.typeN = &typeN
+ return r
+}
+
+func (r ApiDcimRacksListRequest) TypeNic(typeNic []string) ApiDcimRacksListRequest {
+ r.typeNic = &typeNic
+ return r
+}
+
+func (r ApiDcimRacksListRequest) TypeNie(typeNie []string) ApiDcimRacksListRequest {
+ r.typeNie = &typeNie
+ return r
+}
+
+func (r ApiDcimRacksListRequest) TypeNiew(typeNiew []string) ApiDcimRacksListRequest {
+ r.typeNiew = &typeNiew
+ return r
+}
+
+func (r ApiDcimRacksListRequest) TypeNire(typeNire []string) ApiDcimRacksListRequest {
+ r.typeNire = &typeNire
+ return r
+}
+
+func (r ApiDcimRacksListRequest) TypeNisw(typeNisw []string) ApiDcimRacksListRequest {
+ r.typeNisw = &typeNisw
+ return r
+}
+
+func (r ApiDcimRacksListRequest) TypeNre(typeNre []string) ApiDcimRacksListRequest {
+ r.typeNre = &typeNre
+ return r
+}
+
+func (r ApiDcimRacksListRequest) TypeRe(typeRe []string) ApiDcimRacksListRequest {
+ r.typeRe = &typeRe
+ return r
+}
+
+func (r ApiDcimRacksListRequest) UHeight(uHeight []int32) ApiDcimRacksListRequest {
+ r.uHeight = &uHeight
+ return r
+}
+
+func (r ApiDcimRacksListRequest) UHeightGt(uHeightGt []int32) ApiDcimRacksListRequest {
+ r.uHeightGt = &uHeightGt
+ return r
+}
+
+func (r ApiDcimRacksListRequest) UHeightGte(uHeightGte []int32) ApiDcimRacksListRequest {
+ r.uHeightGte = &uHeightGte
+ return r
+}
+
+func (r ApiDcimRacksListRequest) UHeightLt(uHeightLt []int32) ApiDcimRacksListRequest {
+ r.uHeightLt = &uHeightLt
+ return r
+}
+
+func (r ApiDcimRacksListRequest) UHeightLte(uHeightLte []int32) ApiDcimRacksListRequest {
+ r.uHeightLte = &uHeightLte
+ return r
+}
+
+func (r ApiDcimRacksListRequest) UHeightN(uHeightN []int32) ApiDcimRacksListRequest {
+ r.uHeightN = &uHeightN
+ return r
+}
+
+// Rail-to-rail width
+func (r ApiDcimRacksListRequest) Width(width []int32) ApiDcimRacksListRequest {
+ r.width = &width
+ return r
+}
+
+func (r ApiDcimRacksListRequest) WidthIc(widthIc []string) ApiDcimRacksListRequest {
+ r.widthIc = &widthIc
+ return r
+}
+
+func (r ApiDcimRacksListRequest) WidthIe(widthIe []string) ApiDcimRacksListRequest {
+ r.widthIe = &widthIe
+ return r
+}
+
+func (r ApiDcimRacksListRequest) WidthIew(widthIew []string) ApiDcimRacksListRequest {
+ r.widthIew = &widthIew
+ return r
+}
+
+func (r ApiDcimRacksListRequest) WidthIre(widthIre []string) ApiDcimRacksListRequest {
+ r.widthIre = &widthIre
+ return r
+}
+
+func (r ApiDcimRacksListRequest) WidthIsw(widthIsw []string) ApiDcimRacksListRequest {
+ r.widthIsw = &widthIsw
+ return r
+}
+
+func (r ApiDcimRacksListRequest) WidthN(widthN []string) ApiDcimRacksListRequest {
+ r.widthN = &widthN
+ return r
+}
+
+func (r ApiDcimRacksListRequest) WidthNic(widthNic []string) ApiDcimRacksListRequest {
+ r.widthNic = &widthNic
+ return r
+}
+
+func (r ApiDcimRacksListRequest) WidthNie(widthNie []string) ApiDcimRacksListRequest {
+ r.widthNie = &widthNie
+ return r
+}
+
+func (r ApiDcimRacksListRequest) WidthNiew(widthNiew []string) ApiDcimRacksListRequest {
+ r.widthNiew = &widthNiew
+ return r
+}
+
+func (r ApiDcimRacksListRequest) WidthNire(widthNire []string) ApiDcimRacksListRequest {
+ r.widthNire = &widthNire
+ return r
+}
+
+func (r ApiDcimRacksListRequest) WidthNisw(widthNisw []string) ApiDcimRacksListRequest {
+ r.widthNisw = &widthNisw
+ return r
+}
+
+func (r ApiDcimRacksListRequest) WidthNre(widthNre []string) ApiDcimRacksListRequest {
+ r.widthNre = &widthNre
+ return r
+}
+
+func (r ApiDcimRacksListRequest) WidthRe(widthRe []string) ApiDcimRacksListRequest {
+ r.widthRe = &widthRe
+ return r
+}
+
+// Serializer Depth
+func (r ApiDcimRacksListRequest) Depth(depth int32) ApiDcimRacksListRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiDcimRacksListRequest) ExcludeM2m(excludeM2m bool) ApiDcimRacksListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimRacksListRequest) Execute() (*PaginatedRackList, *http.Response, error) {
+ return r.ApiService.DcimRacksListExecute(r)
+}
+
+/*
+DcimRacksList Method for DcimRacksList
+
+Retrieve a list of rack objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiDcimRacksListRequest
+*/
+func (a *DcimAPIService) DcimRacksList(ctx context.Context) ApiDcimRacksListRequest {
+ return ApiDcimRacksListRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return PaginatedRackList
+func (a *DcimAPIService) DcimRacksListExecute(r ApiDcimRacksListRequest) (*PaginatedRackList, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *PaginatedRackList
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRacksList")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/racks/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.assetTag != nil {
+ t := *r.assetTag
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag", t, "form", "multi")
+ }
+ }
+ if r.assetTagIc != nil {
+ t := *r.assetTagIc
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__ic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__ic", t, "form", "multi")
+ }
+ }
+ if r.assetTagIe != nil {
+ t := *r.assetTagIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__ie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__ie", t, "form", "multi")
+ }
+ }
+ if r.assetTagIew != nil {
+ t := *r.assetTagIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__iew", t, "form", "multi")
+ }
+ }
+ if r.assetTagIre != nil {
+ t := *r.assetTagIre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__ire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__ire", t, "form", "multi")
+ }
+ }
+ if r.assetTagIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__isnull", r.assetTagIsnull, "form", "")
+ }
+ if r.assetTagIsw != nil {
+ t := *r.assetTagIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__isw", t, "form", "multi")
+ }
+ }
+ if r.assetTagN != nil {
+ t := *r.assetTagN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__n", t, "form", "multi")
+ }
+ }
+ if r.assetTagNic != nil {
+ t := *r.assetTagNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nic", t, "form", "multi")
+ }
+ }
+ if r.assetTagNie != nil {
+ t := *r.assetTagNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nie", t, "form", "multi")
+ }
+ }
+ if r.assetTagNiew != nil {
+ t := *r.assetTagNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__niew", t, "form", "multi")
+ }
+ }
+ if r.assetTagNire != nil {
+ t := *r.assetTagNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nire", t, "form", "multi")
+ }
+ }
+ if r.assetTagNisw != nil {
+ t := *r.assetTagNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nisw", t, "form", "multi")
+ }
+ }
+ if r.assetTagNre != nil {
+ t := *r.assetTagNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__nre", t, "form", "multi")
+ }
+ }
+ if r.assetTagRe != nil {
+ t := *r.assetTagRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "asset_tag__re", t, "form", "multi")
+ }
+ }
+ if r.comments != nil {
+ t := *r.comments
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments", t, "form", "multi")
+ }
+ }
+ if r.commentsIc != nil {
+ t := *r.commentsIc
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ic", t, "form", "multi")
+ }
+ }
+ if r.commentsIe != nil {
+ t := *r.commentsIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ie", t, "form", "multi")
+ }
+ }
+ if r.commentsIew != nil {
+ t := *r.commentsIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__iew", t, "form", "multi")
+ }
+ }
+ if r.commentsIre != nil {
+ t := *r.commentsIre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__ire", t, "form", "multi")
+ }
+ }
+ if r.commentsIsw != nil {
+ t := *r.commentsIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__isw", t, "form", "multi")
+ }
+ }
+ if r.commentsN != nil {
+ t := *r.commentsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__n", t, "form", "multi")
+ }
+ }
+ if r.commentsNic != nil {
+ t := *r.commentsNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nic", t, "form", "multi")
+ }
+ }
+ if r.commentsNie != nil {
+ t := *r.commentsNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nie", t, "form", "multi")
+ }
+ }
+ if r.commentsNiew != nil {
+ t := *r.commentsNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__niew", t, "form", "multi")
+ }
+ }
+ if r.commentsNire != nil {
+ t := *r.commentsNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nire", t, "form", "multi")
+ }
+ }
+ if r.commentsNisw != nil {
+ t := *r.commentsNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nisw", t, "form", "multi")
+ }
+ }
+ if r.commentsNre != nil {
+ t := *r.commentsNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__nre", t, "form", "multi")
+ }
+ }
+ if r.commentsRe != nil {
+ t := *r.commentsRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__re", t, "form", "multi")
+ }
+ }
+ if r.contacts != nil {
+ t := *r.contacts
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", t, "form", "multi")
+ }
+ }
+ if r.contactsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
+ }
+ if r.contactsN != nil {
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
+ }
+ if r.created != nil {
+ t := *r.created
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created", t, "form", "multi")
+ }
+ }
+ if r.createdGt != nil {
+ t := *r.createdGt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", t, "form", "multi")
+ }
+ }
+ if r.createdGte != nil {
+ t := *r.createdGte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", t, "form", "multi")
+ }
+ }
+ if r.createdIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__isnull", r.createdIsnull, "form", "")
+ }
+ if r.createdLt != nil {
+ t := *r.createdLt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", t, "form", "multi")
+ }
+ }
+ if r.createdLte != nil {
+ t := *r.createdLte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", t, "form", "multi")
+ }
+ }
+ if r.createdN != nil {
+ t := *r.createdN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "form", "multi")
+ }
+ }
+ if r.descUnits != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "desc_units", r.descUnits, "form", "")
+ }
+ if r.devices != nil {
+ t := *r.devices
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "devices", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "devices", t, "form", "multi")
+ }
+ }
+ if r.devicesIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "devices__isnull", r.devicesIsnull, "form", "")
+ }
+ if r.devicesN != nil {
+ t := *r.devicesN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "devices__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "devices__n", t, "form", "multi")
+ }
+ }
+ if r.dynamicGroups != nil {
+ t := *r.dynamicGroups
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
+ }
+ }
+ if r.dynamicGroupsN != nil {
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
+ }
+ if r.facilityId != nil {
+ t := *r.facilityId
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id", t, "form", "multi")
+ }
+ }
+ if r.facilityIdIc != nil {
+ t := *r.facilityIdIc
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__ic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__ic", t, "form", "multi")
+ }
+ }
+ if r.facilityIdIe != nil {
+ t := *r.facilityIdIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__ie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__ie", t, "form", "multi")
+ }
+ }
+ if r.facilityIdIew != nil {
+ t := *r.facilityIdIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__iew", t, "form", "multi")
+ }
+ }
+ if r.facilityIdIre != nil {
+ t := *r.facilityIdIre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__ire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__ire", t, "form", "multi")
+ }
+ }
+ if r.facilityIdIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__isnull", r.facilityIdIsnull, "form", "")
+ }
+ if r.facilityIdIsw != nil {
+ t := *r.facilityIdIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__isw", t, "form", "multi")
+ }
+ }
+ if r.facilityIdN != nil {
+ t := *r.facilityIdN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__n", t, "form", "multi")
+ }
+ }
+ if r.facilityIdNic != nil {
+ t := *r.facilityIdNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__nic", t, "form", "multi")
+ }
+ }
+ if r.facilityIdNie != nil {
+ t := *r.facilityIdNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__nie", t, "form", "multi")
+ }
+ }
+ if r.facilityIdNiew != nil {
+ t := *r.facilityIdNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__niew", t, "form", "multi")
+ }
+ }
+ if r.facilityIdNire != nil {
+ t := *r.facilityIdNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__nire", t, "form", "multi")
+ }
+ }
+ if r.facilityIdNisw != nil {
+ t := *r.facilityIdNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__nisw", t, "form", "multi")
+ }
+ }
+ if r.facilityIdNre != nil {
+ t := *r.facilityIdNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__nre", t, "form", "multi")
+ }
+ }
+ if r.facilityIdRe != nil {
+ t := *r.facilityIdRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "facility_id__re", t, "form", "multi")
+ }
+ }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.hasDevices != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_devices", r.hasDevices, "form", "")
+ }
+ if r.hasPowerFeeds != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_power_feeds", r.hasPowerFeeds, "form", "")
+ }
+ if r.hasRackReservations != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_rack_reservations", r.hasRackReservations, "form", "")
+ }
+ if r.id != nil {
+ t := *r.id
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ }
+ }
+ if r.idN != nil {
+ t := *r.idN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
+ }
+ }
+ if r.lastUpdated != nil {
+ t := *r.lastUpdated
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "form", "multi")
+ }
+ }
+ if r.lastUpdatedGt != nil {
+ t := *r.lastUpdatedGt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", t, "form", "multi")
+ }
+ }
+ if r.lastUpdatedGte != nil {
+ t := *r.lastUpdatedGte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", t, "form", "multi")
+ }
+ }
+ if r.lastUpdatedIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__isnull", r.lastUpdatedIsnull, "form", "")
+ }
+ if r.lastUpdatedLt != nil {
+ t := *r.lastUpdatedLt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", t, "form", "multi")
+ }
+ }
+ if r.lastUpdatedLte != nil {
+ t := *r.lastUpdatedLte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", t, "form", "multi")
+ }
+ }
+ if r.lastUpdatedN != nil {
+ t := *r.lastUpdatedN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", t, "form", "multi")
+ }
+ }
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ }
+ if r.location != nil {
+ t := *r.location
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location", t, "form", "multi")
+ }
+ }
+ if r.locationN != nil {
+ t := *r.locationN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", t, "form", "multi")
+ }
+ }
+ if r.name != nil {
+ t := *r.name
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name", t, "form", "multi")
+ }
+ }
+ if r.nameIc != nil {
+ t := *r.nameIc
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", t, "form", "multi")
+ }
+ }
+ if r.nameIe != nil {
+ t := *r.nameIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", t, "form", "multi")
+ }
+ }
+ if r.nameIew != nil {
+ t := *r.nameIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", t, "form", "multi")
+ }
+ }
+ if r.nameIre != nil {
+ t := *r.nameIre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", t, "form", "multi")
+ }
+ }
+ if r.nameIsw != nil {
+ t := *r.nameIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", t, "form", "multi")
+ }
+ }
+ if r.nameN != nil {
+ t := *r.nameN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", s.Index(i).Interface(), "form", "multi")
}
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", t, "form", "multi")
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", t, "form", "multi")
+ }
+ }
+ if r.nameNic != nil {
+ t := *r.nameNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", t, "form", "multi")
+ }
+ }
+ if r.nameNie != nil {
+ t := *r.nameNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", t, "form", "multi")
+ }
+ }
+ if r.nameNiew != nil {
+ t := *r.nameNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", t, "form", "multi")
+ }
+ }
+ if r.nameNire != nil {
+ t := *r.nameNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", t, "form", "multi")
+ }
+ }
+ if r.nameNisw != nil {
+ t := *r.nameNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", t, "form", "multi")
+ }
+ }
+ if r.nameNre != nil {
+ t := *r.nameNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", t, "form", "multi")
+ }
+ }
+ if r.nameRe != nil {
+ t := *r.nameRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", t, "form", "multi")
+ }
+ }
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+ }
+ if r.outerDepth != nil {
+ t := *r.outerDepth
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth", t, "form", "multi")
+ }
+ }
+ if r.outerDepthGt != nil {
+ t := *r.outerDepthGt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth__gt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth__gt", t, "form", "multi")
+ }
+ }
+ if r.outerDepthGte != nil {
+ t := *r.outerDepthGte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth__gte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth__gte", t, "form", "multi")
+ }
+ }
+ if r.outerDepthIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth__isnull", r.outerDepthIsnull, "form", "")
+ }
+ if r.outerDepthLt != nil {
+ t := *r.outerDepthLt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth__lt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth__lt", t, "form", "multi")
+ }
+ }
+ if r.outerDepthLte != nil {
+ t := *r.outerDepthLte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth__lte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth__lte", t, "form", "multi")
+ }
+ }
+ if r.outerDepthN != nil {
+ t := *r.outerDepthN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth__n", t, "form", "multi")
+ }
+ }
+ if r.outerUnit != nil {
+ t := *r.outerUnit
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit", t, "form", "multi")
+ }
+ }
+ if r.outerUnitIc != nil {
+ t := *r.outerUnitIc
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__ic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__ic", t, "form", "multi")
+ }
+ }
+ if r.outerUnitIe != nil {
+ t := *r.outerUnitIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__ie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__ie", t, "form", "multi")
+ }
+ }
+ if r.outerUnitIew != nil {
+ t := *r.outerUnitIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__iew", t, "form", "multi")
+ }
+ }
+ if r.outerUnitIre != nil {
+ t := *r.outerUnitIre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__ire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__ire", t, "form", "multi")
+ }
+ }
+ if r.outerUnitIsw != nil {
+ t := *r.outerUnitIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__isw", t, "form", "multi")
+ }
+ }
+ if r.outerUnitN != nil {
+ t := *r.outerUnitN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__n", t, "form", "multi")
+ }
+ }
+ if r.outerUnitNic != nil {
+ t := *r.outerUnitNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__nic", t, "form", "multi")
+ }
+ }
+ if r.outerUnitNie != nil {
+ t := *r.outerUnitNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__nie", t, "form", "multi")
+ }
+ }
+ if r.outerUnitNiew != nil {
+ t := *r.outerUnitNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__niew", t, "form", "multi")
+ }
+ }
+ if r.outerUnitNire != nil {
+ t := *r.outerUnitNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__nire", t, "form", "multi")
+ }
+ }
+ if r.outerUnitNisw != nil {
+ t := *r.outerUnitNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__nisw", t, "form", "multi")
+ }
+ }
+ if r.outerUnitNre != nil {
+ t := *r.outerUnitNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__nre", t, "form", "multi")
+ }
+ }
+ if r.outerUnitRe != nil {
+ t := *r.outerUnitRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__re", t, "form", "multi")
+ }
+ }
+ if r.outerWidth != nil {
+ t := *r.outerWidth
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width", t, "form", "multi")
+ }
+ }
+ if r.outerWidthGt != nil {
+ t := *r.outerWidthGt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width__gt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width__gt", t, "form", "multi")
+ }
+ }
+ if r.outerWidthGte != nil {
+ t := *r.outerWidthGte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width__gte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width__gte", t, "form", "multi")
+ }
+ }
+ if r.outerWidthIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width__isnull", r.outerWidthIsnull, "form", "")
+ }
+ if r.outerWidthLt != nil {
+ t := *r.outerWidthLt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width__lt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width__lt", t, "form", "multi")
+ }
+ }
+ if r.outerWidthLte != nil {
+ t := *r.outerWidthLte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width__lte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width__lte", t, "form", "multi")
+ }
+ }
+ if r.outerWidthN != nil {
+ t := *r.outerWidthN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width__n", t, "form", "multi")
+ }
+ }
+ if r.powerFeeds != nil {
+ t := *r.powerFeeds
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_feeds", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_feeds", t, "form", "multi")
+ }
+ }
+ if r.powerFeedsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_feeds__isnull", r.powerFeedsIsnull, "form", "")
+ }
+ if r.powerFeedsN != nil {
+ t := *r.powerFeedsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_feeds__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "power_feeds__n", t, "form", "multi")
+ }
+ }
+ if r.q != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
+ }
+ if r.rackGroup != nil {
+ t := *r.rackGroup
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rack_group", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rack_group", t, "form", "multi")
+ }
+ }
+ if r.rackGroupIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rack_group__isnull", r.rackGroupIsnull, "form", "")
+ }
+ if r.rackGroupN != nil {
+ t := *r.rackGroupN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rack_group__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rack_group__n", t, "form", "multi")
+ }
+ }
+ if r.rackReservations != nil {
+ t := *r.rackReservations
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rack_reservations", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rack_reservations", t, "form", "multi")
+ }
+ }
+ if r.rackReservationsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rack_reservations__isnull", r.rackReservationsIsnull, "form", "")
+ }
+ if r.rackReservationsN != nil {
+ t := *r.rackReservationsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rack_reservations__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rack_reservations__n", t, "form", "multi")
+ }
+ }
+ if r.role != nil {
+ t := *r.role
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role", t, "form", "multi")
+ }
+ }
+ if r.roleIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role__isnull", r.roleIsnull, "form", "")
+ }
+ if r.roleN != nil {
+ t := *r.roleN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", t, "form", "multi")
+ }
+ }
+ if r.serial != nil {
+ t := *r.serial
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial", t, "form", "multi")
+ }
+ }
+ if r.serialIc != nil {
+ t := *r.serialIc
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ic", t, "form", "multi")
+ }
+ }
+ if r.serialIe != nil {
+ t := *r.serialIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ie", t, "form", "multi")
+ }
+ }
+ if r.serialIew != nil {
+ t := *r.serialIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__iew", t, "form", "multi")
+ }
+ }
+ if r.serialIre != nil {
+ t := *r.serialIre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__ire", t, "form", "multi")
+ }
+ }
+ if r.serialIsw != nil {
+ t := *r.serialIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__isw", t, "form", "multi")
+ }
+ }
+ if r.serialN != nil {
+ t := *r.serialN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__n", t, "form", "multi")
+ }
+ }
+ if r.serialNic != nil {
+ t := *r.serialNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nic", t, "form", "multi")
+ }
+ }
+ if r.serialNie != nil {
+ t := *r.serialNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nie", t, "form", "multi")
+ }
+ }
+ if r.serialNiew != nil {
+ t := *r.serialNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__niew", t, "form", "multi")
+ }
+ }
+ if r.serialNire != nil {
+ t := *r.serialNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nire", t, "form", "multi")
+ }
+ }
+ if r.serialNisw != nil {
+ t := *r.serialNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nisw", t, "form", "multi")
+ }
+ }
+ if r.serialNre != nil {
+ t := *r.serialNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__nre", t, "form", "multi")
+ }
+ }
+ if r.serialRe != nil {
+ t := *r.serialRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "serial__re", t, "form", "multi")
+ }
+ }
+ if r.sort != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
+ }
+ if r.status != nil {
+ t := *r.status
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status", t, "form", "multi")
+ }
+ }
+ if r.statusN != nil {
+ t := *r.statusN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "form", "multi")
+ }
+ }
+ if r.tags != nil {
+ t := *r.tags
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags", t, "form", "multi")
+ }
+ }
+ if r.tagsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__isnull", r.tagsIsnull, "form", "")
+ }
+ if r.tagsN != nil {
+ t := *r.tagsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", t, "form", "multi")
+ }
+ }
+ if r.teams != nil {
+ t := *r.teams
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams", t, "form", "multi")
+ }
+ }
+ if r.teamsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
+ }
+ if r.teamsN != nil {
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
+ }
+ if r.tenant != nil {
+ t := *r.tenant
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant", t, "form", "multi")
+ }
+ }
+ if r.tenantIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__isnull", r.tenantIsnull, "form", "")
+ }
+ if r.tenantN != nil {
+ t := *r.tenantN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__n", t, "form", "multi")
+ }
+ }
+ if r.tenantGroup != nil {
+ t := *r.tenantGroup
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group", t, "form", "multi")
+ }
+ }
+ if r.tenantGroupIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group__isnull", r.tenantGroupIsnull, "form", "")
+ }
+ if r.tenantGroupN != nil {
+ t := *r.tenantGroupN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group__n", t, "form", "multi")
+ }
+ }
+ if r.tenantId != nil {
+ t := *r.tenantId
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id", t, "form", "multi")
+ }
+ }
+ if r.tenantIdIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__isnull", r.tenantIdIsnull, "form", "")
+ }
+ if r.tenantIdN != nil {
+ t := *r.tenantIdN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__n", t, "form", "multi")
+ }
+ }
+ if r.type_ != nil {
+ t := *r.type_
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type", t, "form", "multi")
+ }
+ }
+ if r.typeIc != nil {
+ t := *r.typeIc
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__ic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__ic", t, "form", "multi")
+ }
+ }
+ if r.typeIe != nil {
+ t := *r.typeIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__ie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__ie", t, "form", "multi")
+ }
+ }
+ if r.typeIew != nil {
+ t := *r.typeIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__iew", t, "form", "multi")
+ }
+ }
+ if r.typeIre != nil {
+ t := *r.typeIre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__ire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__ire", t, "form", "multi")
+ }
+ }
+ if r.typeIsw != nil {
+ t := *r.typeIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__isw", t, "form", "multi")
+ }
+ }
+ if r.typeN != nil {
+ t := *r.typeN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", t, "form", "multi")
+ }
+ }
+ if r.typeNic != nil {
+ t := *r.typeNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nic", t, "form", "multi")
+ }
+ }
+ if r.typeNie != nil {
+ t := *r.typeNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nie", t, "form", "multi")
+ }
+ }
+ if r.typeNiew != nil {
+ t := *r.typeNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__niew", t, "form", "multi")
+ }
+ }
+ if r.typeNire != nil {
+ t := *r.typeNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nire", t, "form", "multi")
+ }
+ }
+ if r.typeNisw != nil {
+ t := *r.typeNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nisw", t, "form", "multi")
+ }
+ }
+ if r.typeNre != nil {
+ t := *r.typeNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nre", t, "form", "multi")
+ }
+ }
+ if r.typeRe != nil {
+ t := *r.typeRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__re", t, "form", "multi")
+ }
+ }
+ if r.uHeight != nil {
+ t := *r.uHeight
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "u_height", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "u_height", t, "form", "multi")
+ }
+ }
+ if r.uHeightGt != nil {
+ t := *r.uHeightGt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "u_height__gt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "u_height__gt", t, "form", "multi")
+ }
+ }
+ if r.uHeightGte != nil {
+ t := *r.uHeightGte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "u_height__gte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "u_height__gte", t, "form", "multi")
+ }
+ }
+ if r.uHeightLt != nil {
+ t := *r.uHeightLt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "u_height__lt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "u_height__lt", t, "form", "multi")
+ }
+ }
+ if r.uHeightLte != nil {
+ t := *r.uHeightLte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "u_height__lte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "u_height__lte", t, "form", "multi")
+ }
+ }
+ if r.uHeightN != nil {
+ t := *r.uHeightN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "u_height__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "u_height__n", t, "form", "multi")
+ }
+ }
+ if r.width != nil {
+ t := *r.width
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "width", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "width", t, "form", "multi")
+ }
+ }
+ if r.widthIc != nil {
+ t := *r.widthIc
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "width__ic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "width__ic", t, "form", "multi")
+ }
+ }
+ if r.widthIe != nil {
+ t := *r.widthIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "width__ie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "width__ie", t, "form", "multi")
+ }
+ }
+ if r.widthIew != nil {
+ t := *r.widthIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "width__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "width__iew", t, "form", "multi")
+ }
+ }
+ if r.widthIre != nil {
+ t := *r.widthIre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "width__ire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "width__ire", t, "form", "multi")
+ }
+ }
+ if r.widthIsw != nil {
+ t := *r.widthIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "width__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "width__isw", t, "form", "multi")
+ }
+ }
+ if r.widthN != nil {
+ t := *r.widthN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "width__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "width__n", t, "form", "multi")
+ }
+ }
+ if r.widthNic != nil {
+ t := *r.widthNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "width__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "width__nic", t, "form", "multi")
+ }
+ }
+ if r.widthNie != nil {
+ t := *r.widthNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "width__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "width__nie", t, "form", "multi")
+ }
+ }
+ if r.widthNiew != nil {
+ t := *r.widthNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "width__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "width__niew", t, "form", "multi")
+ }
+ }
+ if r.widthNire != nil {
+ t := *r.widthNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "width__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "width__nire", t, "form", "multi")
+ }
+ }
+ if r.widthNisw != nil {
+ t := *r.widthNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "width__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "width__nisw", t, "form", "multi")
+ }
+ }
+ if r.widthNre != nil {
+ t := *r.widthNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "width__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "width__nre", t, "form", "multi")
+ }
+ }
+ if r.widthRe != nil {
+ t := *r.widthRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "width__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "width__re", t, "form", "multi")
+ }
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiDcimRacksNotesCreateRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ id string
+ noteInputRequest *NoteInputRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiDcimRacksNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimRacksNotesCreateRequest {
+ r.noteInputRequest = ¬eInputRequest
+ return r
+}
+
+func (r ApiDcimRacksNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRacksNotesCreateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiDcimRacksNotesCreateRequest) Execute() (*Note, *http.Response, error) {
+ return r.ApiService.DcimRacksNotesCreateExecute(r)
+}
+
+/*
+DcimRacksNotesCreate Method for DcimRacksNotesCreate
+
+API methods for returning or creating notes on an object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this rack.
+ @return ApiDcimRacksNotesCreateRequest
+*/
+func (a *DcimAPIService) DcimRacksNotesCreate(ctx context.Context, id string) ApiDcimRacksNotesCreateRequest {
+ return ApiDcimRacksNotesCreateRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return Note
+func (a *DcimAPIService) DcimRacksNotesCreateExecute(r ApiDcimRacksNotesCreateRequest) (*Note, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPost
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *Note
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRacksNotesCreate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/racks/{id}/notes/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.noteInputRequest == nil {
+ return localVarReturnValue, nil, reportError("noteInputRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.noteInputRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiDcimRacksNotesListRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ limit *int32
+ offset *int32
+ depth *int32
+ excludeM2m *bool
+}
+
+func (r ApiDcimRacksNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRacksNotesListRequest {
+ r.format = &format
+ return r
+}
+
+// Number of results to return per page.
+func (r ApiDcimRacksNotesListRequest) Limit(limit int32) ApiDcimRacksNotesListRequest {
+ r.limit = &limit
+ return r
+}
+
+// The initial index from which to return the results.
+func (r ApiDcimRacksNotesListRequest) Offset(offset int32) ApiDcimRacksNotesListRequest {
+ r.offset = &offset
+ return r
+}
+
+// Serializer Depth
+func (r ApiDcimRacksNotesListRequest) Depth(depth int32) ApiDcimRacksNotesListRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiDcimRacksNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimRacksNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimRacksNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
+ return r.ApiService.DcimRacksNotesListExecute(r)
+}
+
+/*
+DcimRacksNotesList Method for DcimRacksNotesList
+
+API methods for returning or creating notes on an object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this rack.
+ @return ApiDcimRacksNotesListRequest
+*/
+func (a *DcimAPIService) DcimRacksNotesList(ctx context.Context, id string) ApiDcimRacksNotesListRequest {
+ return ApiDcimRacksNotesListRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return PaginatedNoteList
+func (a *DcimAPIService) DcimRacksNotesListExecute(r ApiDcimRacksNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *PaginatedNoteList
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRacksNotesList")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/racks/{id}/notes/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ }
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
}
}
- if r.nameNic != nil {
- t := *r.nameNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", s.Index(i).Interface(), "form", "multi")
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiDcimRacksPartialUpdateRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ patchedWritableRackRequest *PatchedWritableRackRequest
+}
+
+func (r ApiDcimRacksPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRacksPartialUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiDcimRacksPartialUpdateRequest) PatchedWritableRackRequest(patchedWritableRackRequest PatchedWritableRackRequest) ApiDcimRacksPartialUpdateRequest {
+ r.patchedWritableRackRequest = &patchedWritableRackRequest
+ return r
+}
+
+func (r ApiDcimRacksPartialUpdateRequest) Execute() (*Rack, *http.Response, error) {
+ return r.ApiService.DcimRacksPartialUpdateExecute(r)
+}
+
+/*
+DcimRacksPartialUpdate Method for DcimRacksPartialUpdate
+
+Partial update a rack object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this rack.
+ @return ApiDcimRacksPartialUpdateRequest
+*/
+func (a *DcimAPIService) DcimRacksPartialUpdate(ctx context.Context, id string) ApiDcimRacksPartialUpdateRequest {
+ return ApiDcimRacksPartialUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return Rack
+func (a *DcimAPIService) DcimRacksPartialUpdateExecute(r ApiDcimRacksPartialUpdateRequest) (*Rack, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPatch
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *Rack
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRacksPartialUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/racks/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.patchedWritableRackRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiDcimRacksRetrieveRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ depth *int32
+ excludeM2m *bool
+}
+
+func (r ApiDcimRacksRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRacksRetrieveRequest {
+ r.format = &format
+ return r
+}
+
+// Serializer Depth
+func (r ApiDcimRacksRetrieveRequest) Depth(depth int32) ApiDcimRacksRetrieveRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiDcimRacksRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimRacksRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimRacksRetrieveRequest) Execute() (*Rack, *http.Response, error) {
+ return r.ApiService.DcimRacksRetrieveExecute(r)
+}
+
+/*
+DcimRacksRetrieve Method for DcimRacksRetrieve
+
+Retrieve a rack object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this rack.
+ @return ApiDcimRacksRetrieveRequest
+*/
+func (a *DcimAPIService) DcimRacksRetrieve(ctx context.Context, id string) ApiDcimRacksRetrieveRequest {
+ return ApiDcimRacksRetrieveRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return Rack
+func (a *DcimAPIService) DcimRacksRetrieveExecute(r ApiDcimRacksRetrieveRequest) (*Rack, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *Rack
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRacksRetrieve")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/racks/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiDcimRacksUpdateRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ id string
+ writableRackRequest *WritableRackRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiDcimRacksUpdateRequest) WritableRackRequest(writableRackRequest WritableRackRequest) ApiDcimRacksUpdateRequest {
+ r.writableRackRequest = &writableRackRequest
+ return r
+}
+
+func (r ApiDcimRacksUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRacksUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiDcimRacksUpdateRequest) Execute() (*Rack, *http.Response, error) {
+ return r.ApiService.DcimRacksUpdateExecute(r)
+}
+
+/*
+DcimRacksUpdate Method for DcimRacksUpdate
+
+Update a rack object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this rack.
+ @return ApiDcimRacksUpdateRequest
+*/
+func (a *DcimAPIService) DcimRacksUpdate(ctx context.Context, id string) ApiDcimRacksUpdateRequest {
+ return ApiDcimRacksUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return Rack
+func (a *DcimAPIService) DcimRacksUpdateExecute(r ApiDcimRacksUpdateRequest) (*Rack, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPut
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *Rack
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRacksUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/racks/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.writableRackRequest == nil {
+ return localVarReturnValue, nil, reportError("writableRackRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.writableRackRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiDcimRearPortTemplatesBulkDestroyRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ bulkOperationRequest *[]BulkOperationRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiDcimRearPortTemplatesBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimRearPortTemplatesBulkDestroyRequest {
+ r.bulkOperationRequest = &bulkOperationRequest
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortTemplatesBulkDestroyRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimRearPortTemplatesBulkDestroyExecute(r)
+}
+
+/*
+DcimRearPortTemplatesBulkDestroy Method for DcimRearPortTemplatesBulkDestroy
+
+Destroy a list of rear port template objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiDcimRearPortTemplatesBulkDestroyRequest
+*/
+func (a *DcimAPIService) DcimRearPortTemplatesBulkDestroy(ctx context.Context) ApiDcimRearPortTemplatesBulkDestroyRequest {
+ return ApiDcimRearPortTemplatesBulkDestroyRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+func (a *DcimAPIService) DcimRearPortTemplatesBulkDestroyExecute(r ApiDcimRearPortTemplatesBulkDestroyRequest) (*http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodDelete
+ localVarPostBody interface{}
+ formFiles []formFile
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortTemplatesBulkDestroy")
+ if err != nil {
+ return nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/rear-port-templates/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.bulkOperationRequest == nil {
+ return nil, reportError("bulkOperationRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.bulkOperationRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarHTTPResponse, newErr
+ }
+
+ return localVarHTTPResponse, nil
+}
+
+type ApiDcimRearPortTemplatesBulkPartialUpdateRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ patchedBulkWritableRearPortTemplateRequest *[]PatchedBulkWritableRearPortTemplateRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiDcimRearPortTemplatesBulkPartialUpdateRequest) PatchedBulkWritableRearPortTemplateRequest(patchedBulkWritableRearPortTemplateRequest []PatchedBulkWritableRearPortTemplateRequest) ApiDcimRearPortTemplatesBulkPartialUpdateRequest {
+ r.patchedBulkWritableRearPortTemplateRequest = &patchedBulkWritableRearPortTemplateRequest
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortTemplatesBulkPartialUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesBulkPartialUpdateRequest) Execute() ([]RearPortTemplate, *http.Response, error) {
+ return r.ApiService.DcimRearPortTemplatesBulkPartialUpdateExecute(r)
+}
+
+/*
+DcimRearPortTemplatesBulkPartialUpdate Method for DcimRearPortTemplatesBulkPartialUpdate
+
+Partial update a list of rear port template objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiDcimRearPortTemplatesBulkPartialUpdateRequest
+*/
+func (a *DcimAPIService) DcimRearPortTemplatesBulkPartialUpdate(ctx context.Context) ApiDcimRearPortTemplatesBulkPartialUpdateRequest {
+ return ApiDcimRearPortTemplatesBulkPartialUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return []RearPortTemplate
+func (a *DcimAPIService) DcimRearPortTemplatesBulkPartialUpdateExecute(r ApiDcimRearPortTemplatesBulkPartialUpdateRequest) ([]RearPortTemplate, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPatch
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue []RearPortTemplate
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortTemplatesBulkPartialUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/rear-port-templates/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.patchedBulkWritableRearPortTemplateRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritableRearPortTemplateRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.patchedBulkWritableRearPortTemplateRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiDcimRearPortTemplatesBulkUpdateRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ bulkWritableRearPortTemplateRequest *[]BulkWritableRearPortTemplateRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiDcimRearPortTemplatesBulkUpdateRequest) BulkWritableRearPortTemplateRequest(bulkWritableRearPortTemplateRequest []BulkWritableRearPortTemplateRequest) ApiDcimRearPortTemplatesBulkUpdateRequest {
+ r.bulkWritableRearPortTemplateRequest = &bulkWritableRearPortTemplateRequest
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortTemplatesBulkUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesBulkUpdateRequest) Execute() ([]RearPortTemplate, *http.Response, error) {
+ return r.ApiService.DcimRearPortTemplatesBulkUpdateExecute(r)
+}
+
+/*
+DcimRearPortTemplatesBulkUpdate Method for DcimRearPortTemplatesBulkUpdate
+
+Update a list of rear port template objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiDcimRearPortTemplatesBulkUpdateRequest
+*/
+func (a *DcimAPIService) DcimRearPortTemplatesBulkUpdate(ctx context.Context) ApiDcimRearPortTemplatesBulkUpdateRequest {
+ return ApiDcimRearPortTemplatesBulkUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return []RearPortTemplate
+func (a *DcimAPIService) DcimRearPortTemplatesBulkUpdateExecute(r ApiDcimRearPortTemplatesBulkUpdateRequest) ([]RearPortTemplate, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPut
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue []RearPortTemplate
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortTemplatesBulkUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/rear-port-templates/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.bulkWritableRearPortTemplateRequest == nil {
+ return localVarReturnValue, nil, reportError("bulkWritableRearPortTemplateRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.bulkWritableRearPortTemplateRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiDcimRearPortTemplatesCreateRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ writableRearPortTemplateRequest *WritableRearPortTemplateRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiDcimRearPortTemplatesCreateRequest) WritableRearPortTemplateRequest(writableRearPortTemplateRequest WritableRearPortTemplateRequest) ApiDcimRearPortTemplatesCreateRequest {
+ r.writableRearPortTemplateRequest = &writableRearPortTemplateRequest
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortTemplatesCreateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesCreateRequest) Execute() (*RearPortTemplate, *http.Response, error) {
+ return r.ApiService.DcimRearPortTemplatesCreateExecute(r)
+}
+
+/*
+DcimRearPortTemplatesCreate Method for DcimRearPortTemplatesCreate
+
+Create one or more rear port template objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiDcimRearPortTemplatesCreateRequest
+*/
+func (a *DcimAPIService) DcimRearPortTemplatesCreate(ctx context.Context) ApiDcimRearPortTemplatesCreateRequest {
+ return ApiDcimRearPortTemplatesCreateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return RearPortTemplate
+func (a *DcimAPIService) DcimRearPortTemplatesCreateExecute(r ApiDcimRearPortTemplatesCreateRequest) (*RearPortTemplate, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPost
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *RearPortTemplate
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortTemplatesCreate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/rear-port-templates/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.writableRearPortTemplateRequest == nil {
+ return localVarReturnValue, nil, reportError("writableRearPortTemplateRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.writableRearPortTemplateRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
}
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", t, "form", "multi")
}
}
- if r.nameNie != nil {
- t := *r.nameNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", t, "form", "multi")
- }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
}
- if r.nameNiew != nil {
- t := *r.nameNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", t, "form", "multi")
- }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
}
- if r.nameNire != nil {
- t := *r.nameNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", t, "form", "multi")
- }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
}
- if r.nameNisw != nil {
- t := *r.nameNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", t, "form", "multi")
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
}
+ return localVarReturnValue, localVarHTTPResponse, newErr
}
- if r.nameNre != nil {
- t := *r.nameNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", t, "form", "multi")
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
}
+ return localVarReturnValue, localVarHTTPResponse, newErr
}
- if r.nameRe != nil {
- t := *r.nameRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", t, "form", "multi")
- }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiDcimRearPortTemplatesDestroyRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiDcimRearPortTemplatesDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortTemplatesDestroyRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimRearPortTemplatesDestroyExecute(r)
+}
+
+/*
+DcimRearPortTemplatesDestroy Method for DcimRearPortTemplatesDestroy
+
+Destroy a rear port template object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this rear port template.
+ @return ApiDcimRearPortTemplatesDestroyRequest
+*/
+func (a *DcimAPIService) DcimRearPortTemplatesDestroy(ctx context.Context, id string) ApiDcimRearPortTemplatesDestroyRequest {
+ return ApiDcimRearPortTemplatesDestroyRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
}
- if r.offset != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+}
+
+// Execute executes the request
+func (a *DcimAPIService) DcimRearPortTemplatesDestroyExecute(r ApiDcimRearPortTemplatesDestroyRequest) (*http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodDelete
+ localVarPostBody interface{}
+ formFiles []formFile
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortTemplatesDestroy")
+ if err != nil {
+ return nil, &GenericOpenAPIError{error: err.Error()}
}
- if r.outerDepth != nil {
- t := *r.outerDepth
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth", s.Index(i).Interface(), "form", "multi")
+
+ localVarPath := localBasePath + "/dcim/rear-port-templates/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
}
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth", t, "form", "multi")
}
}
- if r.outerDepthGt != nil {
- t := *r.outerDepthGt
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth__gt", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth__gt", t, "form", "multi")
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
}
+ return localVarHTTPResponse, newErr
}
- if r.outerDepthGte != nil {
- t := *r.outerDepthGte
+
+ return localVarHTTPResponse, nil
+}
+
+type ApiDcimRearPortTemplatesListRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ contacts *[]string
+ contactsIsnull *bool
+ contactsN *[]string
+ description *[]string
+ descriptionIc *[]string
+ descriptionIe *[]string
+ descriptionIew *[]string
+ descriptionIre *[]string
+ descriptionIsw *[]string
+ descriptionN *[]string
+ descriptionNic *[]string
+ descriptionNie *[]string
+ descriptionNiew *[]string
+ descriptionNire *[]string
+ descriptionNisw *[]string
+ descriptionNre *[]string
+ descriptionRe *[]string
+ deviceType *[]string
+ deviceTypeIsnull *bool
+ deviceTypeN *[]string
+ dynamicGroups *[]string
+ dynamicGroupsN *[]string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ frontPortTemplates *[]string
+ frontPortTemplatesIsnull *bool
+ frontPortTemplatesN *[]string
+ hasDeviceType *bool
+ hasFrontPortTemplates *bool
+ hasModuleType *bool
+ id *[]string
+ idN *[]string
+ label *[]string
+ labelIc *[]string
+ labelIe *[]string
+ labelIew *[]string
+ labelIre *[]string
+ labelIsw *[]string
+ labelN *[]string
+ labelNic *[]string
+ labelNie *[]string
+ labelNiew *[]string
+ labelNire *[]string
+ labelNisw *[]string
+ labelNre *[]string
+ labelRe *[]string
+ limit *int32
+ moduleType *[]string
+ moduleTypeIsnull *bool
+ moduleTypeN *[]string
+ name *[]string
+ nameIc *[]string
+ nameIe *[]string
+ nameIew *[]string
+ nameIre *[]string
+ nameIsw *[]string
+ nameN *[]string
+ nameNic *[]string
+ nameNie *[]string
+ nameNiew *[]string
+ nameNire *[]string
+ nameNisw *[]string
+ nameNre *[]string
+ nameRe *[]string
+ offset *int32
+ positions *[]int32
+ positionsGt *[]int32
+ positionsGte *[]int32
+ positionsLt *[]int32
+ positionsLte *[]int32
+ positionsN *[]int32
+ q *string
+ sort *string
+ teams *[]string
+ teamsIsnull *bool
+ teamsN *[]string
+ type_ *[]string
+ typeIc *[]string
+ typeIe *[]string
+ typeIew *[]string
+ typeIre *[]string
+ typeIsw *[]string
+ typeN *[]string
+ typeNic *[]string
+ typeNie *[]string
+ typeNiew *[]string
+ typeNire *[]string
+ typeNisw *[]string
+ typeNre *[]string
+ typeRe *[]string
+ depth *int32
+ excludeM2m *bool
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) Contacts(contacts []string) ApiDcimRearPortTemplatesListRequest {
+ r.contacts = &contacts
+ return r
+}
+
+// Contacts (name or ID) is null
+func (r ApiDcimRearPortTemplatesListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimRearPortTemplatesListRequest {
+ r.contactsIsnull = &contactsIsnull
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) ContactsN(contactsN []string) ApiDcimRearPortTemplatesListRequest {
+ r.contactsN = &contactsN
+ return r
+}
+
+// Description
+func (r ApiDcimRearPortTemplatesListRequest) Description(description []string) ApiDcimRearPortTemplatesListRequest {
+ r.description = &description
+ return r
+}
+
+// Description
+func (r ApiDcimRearPortTemplatesListRequest) DescriptionIc(descriptionIc []string) ApiDcimRearPortTemplatesListRequest {
+ r.descriptionIc = &descriptionIc
+ return r
+}
+
+// Description
+func (r ApiDcimRearPortTemplatesListRequest) DescriptionIe(descriptionIe []string) ApiDcimRearPortTemplatesListRequest {
+ r.descriptionIe = &descriptionIe
+ return r
+}
+
+// Description
+func (r ApiDcimRearPortTemplatesListRequest) DescriptionIew(descriptionIew []string) ApiDcimRearPortTemplatesListRequest {
+ r.descriptionIew = &descriptionIew
+ return r
+}
+
+// Description
+func (r ApiDcimRearPortTemplatesListRequest) DescriptionIre(descriptionIre []string) ApiDcimRearPortTemplatesListRequest {
+ r.descriptionIre = &descriptionIre
+ return r
+}
+
+// Description
+func (r ApiDcimRearPortTemplatesListRequest) DescriptionIsw(descriptionIsw []string) ApiDcimRearPortTemplatesListRequest {
+ r.descriptionIsw = &descriptionIsw
+ return r
+}
+
+// Description
+func (r ApiDcimRearPortTemplatesListRequest) DescriptionN(descriptionN []string) ApiDcimRearPortTemplatesListRequest {
+ r.descriptionN = &descriptionN
+ return r
+}
+
+// Description
+func (r ApiDcimRearPortTemplatesListRequest) DescriptionNic(descriptionNic []string) ApiDcimRearPortTemplatesListRequest {
+ r.descriptionNic = &descriptionNic
+ return r
+}
+
+// Description
+func (r ApiDcimRearPortTemplatesListRequest) DescriptionNie(descriptionNie []string) ApiDcimRearPortTemplatesListRequest {
+ r.descriptionNie = &descriptionNie
+ return r
+}
+
+// Description
+func (r ApiDcimRearPortTemplatesListRequest) DescriptionNiew(descriptionNiew []string) ApiDcimRearPortTemplatesListRequest {
+ r.descriptionNiew = &descriptionNiew
+ return r
+}
+
+// Description
+func (r ApiDcimRearPortTemplatesListRequest) DescriptionNire(descriptionNire []string) ApiDcimRearPortTemplatesListRequest {
+ r.descriptionNire = &descriptionNire
+ return r
+}
+
+// Description
+func (r ApiDcimRearPortTemplatesListRequest) DescriptionNisw(descriptionNisw []string) ApiDcimRearPortTemplatesListRequest {
+ r.descriptionNisw = &descriptionNisw
+ return r
+}
+
+// Description
+func (r ApiDcimRearPortTemplatesListRequest) DescriptionNre(descriptionNre []string) ApiDcimRearPortTemplatesListRequest {
+ r.descriptionNre = &descriptionNre
+ return r
+}
+
+// Description
+func (r ApiDcimRearPortTemplatesListRequest) DescriptionRe(descriptionRe []string) ApiDcimRearPortTemplatesListRequest {
+ r.descriptionRe = &descriptionRe
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) DeviceType(deviceType []string) ApiDcimRearPortTemplatesListRequest {
+ r.deviceType = &deviceType
+ return r
+}
+
+// Device type (model or ID) is null
+func (r ApiDcimRearPortTemplatesListRequest) DeviceTypeIsnull(deviceTypeIsnull bool) ApiDcimRearPortTemplatesListRequest {
+ r.deviceTypeIsnull = &deviceTypeIsnull
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) DeviceTypeN(deviceTypeN []string) ApiDcimRearPortTemplatesListRequest {
+ r.deviceTypeN = &deviceTypeN
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) DynamicGroups(dynamicGroups []string) ApiDcimRearPortTemplatesListRequest {
+ r.dynamicGroups = &dynamicGroups
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimRearPortTemplatesListRequest {
+ r.dynamicGroupsN = &dynamicGroupsN
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortTemplatesListRequest {
+ r.format = &format
+ return r
+}
+
+// Front port templates
+func (r ApiDcimRearPortTemplatesListRequest) FrontPortTemplates(frontPortTemplates []string) ApiDcimRearPortTemplatesListRequest {
+ r.frontPortTemplates = &frontPortTemplates
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) FrontPortTemplatesIsnull(frontPortTemplatesIsnull bool) ApiDcimRearPortTemplatesListRequest {
+ r.frontPortTemplatesIsnull = &frontPortTemplatesIsnull
+ return r
+}
+
+// Front port templates
+func (r ApiDcimRearPortTemplatesListRequest) FrontPortTemplatesN(frontPortTemplatesN []string) ApiDcimRearPortTemplatesListRequest {
+ r.frontPortTemplatesN = &frontPortTemplatesN
+ return r
+}
+
+// Has device type
+func (r ApiDcimRearPortTemplatesListRequest) HasDeviceType(hasDeviceType bool) ApiDcimRearPortTemplatesListRequest {
+ r.hasDeviceType = &hasDeviceType
+ return r
+}
+
+// Has front port templates
+func (r ApiDcimRearPortTemplatesListRequest) HasFrontPortTemplates(hasFrontPortTemplates bool) ApiDcimRearPortTemplatesListRequest {
+ r.hasFrontPortTemplates = &hasFrontPortTemplates
+ return r
+}
+
+// Has module type
+func (r ApiDcimRearPortTemplatesListRequest) HasModuleType(hasModuleType bool) ApiDcimRearPortTemplatesListRequest {
+ r.hasModuleType = &hasModuleType
+ return r
+}
+
+// ID
+func (r ApiDcimRearPortTemplatesListRequest) Id(id []string) ApiDcimRearPortTemplatesListRequest {
+ r.id = &id
+ return r
+}
+
+// Exclude ID
+func (r ApiDcimRearPortTemplatesListRequest) IdN(idN []string) ApiDcimRearPortTemplatesListRequest {
+ r.idN = &idN
+ return r
+}
+
+// Label
+func (r ApiDcimRearPortTemplatesListRequest) Label(label []string) ApiDcimRearPortTemplatesListRequest {
+ r.label = &label
+ return r
+}
+
+// Label
+func (r ApiDcimRearPortTemplatesListRequest) LabelIc(labelIc []string) ApiDcimRearPortTemplatesListRequest {
+ r.labelIc = &labelIc
+ return r
+}
+
+// Label
+func (r ApiDcimRearPortTemplatesListRequest) LabelIe(labelIe []string) ApiDcimRearPortTemplatesListRequest {
+ r.labelIe = &labelIe
+ return r
+}
+
+// Label
+func (r ApiDcimRearPortTemplatesListRequest) LabelIew(labelIew []string) ApiDcimRearPortTemplatesListRequest {
+ r.labelIew = &labelIew
+ return r
+}
+
+// Label
+func (r ApiDcimRearPortTemplatesListRequest) LabelIre(labelIre []string) ApiDcimRearPortTemplatesListRequest {
+ r.labelIre = &labelIre
+ return r
+}
+
+// Label
+func (r ApiDcimRearPortTemplatesListRequest) LabelIsw(labelIsw []string) ApiDcimRearPortTemplatesListRequest {
+ r.labelIsw = &labelIsw
+ return r
+}
+
+// Label
+func (r ApiDcimRearPortTemplatesListRequest) LabelN(labelN []string) ApiDcimRearPortTemplatesListRequest {
+ r.labelN = &labelN
+ return r
+}
+
+// Label
+func (r ApiDcimRearPortTemplatesListRequest) LabelNic(labelNic []string) ApiDcimRearPortTemplatesListRequest {
+ r.labelNic = &labelNic
+ return r
+}
+
+// Label
+func (r ApiDcimRearPortTemplatesListRequest) LabelNie(labelNie []string) ApiDcimRearPortTemplatesListRequest {
+ r.labelNie = &labelNie
+ return r
+}
+
+// Label
+func (r ApiDcimRearPortTemplatesListRequest) LabelNiew(labelNiew []string) ApiDcimRearPortTemplatesListRequest {
+ r.labelNiew = &labelNiew
+ return r
+}
+
+// Label
+func (r ApiDcimRearPortTemplatesListRequest) LabelNire(labelNire []string) ApiDcimRearPortTemplatesListRequest {
+ r.labelNire = &labelNire
+ return r
+}
+
+// Label
+func (r ApiDcimRearPortTemplatesListRequest) LabelNisw(labelNisw []string) ApiDcimRearPortTemplatesListRequest {
+ r.labelNisw = &labelNisw
+ return r
+}
+
+// Label
+func (r ApiDcimRearPortTemplatesListRequest) LabelNre(labelNre []string) ApiDcimRearPortTemplatesListRequest {
+ r.labelNre = &labelNre
+ return r
+}
+
+// Label
+func (r ApiDcimRearPortTemplatesListRequest) LabelRe(labelRe []string) ApiDcimRearPortTemplatesListRequest {
+ r.labelRe = &labelRe
+ return r
+}
+
+// Number of results to return per page.
+func (r ApiDcimRearPortTemplatesListRequest) Limit(limit int32) ApiDcimRearPortTemplatesListRequest {
+ r.limit = &limit
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) ModuleType(moduleType []string) ApiDcimRearPortTemplatesListRequest {
+ r.moduleType = &moduleType
+ return r
+}
+
+// Module type (model or ID) is null
+func (r ApiDcimRearPortTemplatesListRequest) ModuleTypeIsnull(moduleTypeIsnull bool) ApiDcimRearPortTemplatesListRequest {
+ r.moduleTypeIsnull = &moduleTypeIsnull
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) ModuleTypeN(moduleTypeN []string) ApiDcimRearPortTemplatesListRequest {
+ r.moduleTypeN = &moduleTypeN
+ return r
+}
+
+// Name
+func (r ApiDcimRearPortTemplatesListRequest) Name(name []string) ApiDcimRearPortTemplatesListRequest {
+ r.name = &name
+ return r
+}
+
+// Name
+func (r ApiDcimRearPortTemplatesListRequest) NameIc(nameIc []string) ApiDcimRearPortTemplatesListRequest {
+ r.nameIc = &nameIc
+ return r
+}
+
+// Name
+func (r ApiDcimRearPortTemplatesListRequest) NameIe(nameIe []string) ApiDcimRearPortTemplatesListRequest {
+ r.nameIe = &nameIe
+ return r
+}
+
+// Name
+func (r ApiDcimRearPortTemplatesListRequest) NameIew(nameIew []string) ApiDcimRearPortTemplatesListRequest {
+ r.nameIew = &nameIew
+ return r
+}
+
+// Name
+func (r ApiDcimRearPortTemplatesListRequest) NameIre(nameIre []string) ApiDcimRearPortTemplatesListRequest {
+ r.nameIre = &nameIre
+ return r
+}
+
+// Name
+func (r ApiDcimRearPortTemplatesListRequest) NameIsw(nameIsw []string) ApiDcimRearPortTemplatesListRequest {
+ r.nameIsw = &nameIsw
+ return r
+}
+
+// Name
+func (r ApiDcimRearPortTemplatesListRequest) NameN(nameN []string) ApiDcimRearPortTemplatesListRequest {
+ r.nameN = &nameN
+ return r
+}
+
+// Name
+func (r ApiDcimRearPortTemplatesListRequest) NameNic(nameNic []string) ApiDcimRearPortTemplatesListRequest {
+ r.nameNic = &nameNic
+ return r
+}
+
+// Name
+func (r ApiDcimRearPortTemplatesListRequest) NameNie(nameNie []string) ApiDcimRearPortTemplatesListRequest {
+ r.nameNie = &nameNie
+ return r
+}
+
+// Name
+func (r ApiDcimRearPortTemplatesListRequest) NameNiew(nameNiew []string) ApiDcimRearPortTemplatesListRequest {
+ r.nameNiew = &nameNiew
+ return r
+}
+
+// Name
+func (r ApiDcimRearPortTemplatesListRequest) NameNire(nameNire []string) ApiDcimRearPortTemplatesListRequest {
+ r.nameNire = &nameNire
+ return r
+}
+
+// Name
+func (r ApiDcimRearPortTemplatesListRequest) NameNisw(nameNisw []string) ApiDcimRearPortTemplatesListRequest {
+ r.nameNisw = &nameNisw
+ return r
+}
+
+// Name
+func (r ApiDcimRearPortTemplatesListRequest) NameNre(nameNre []string) ApiDcimRearPortTemplatesListRequest {
+ r.nameNre = &nameNre
+ return r
+}
+
+// Name
+func (r ApiDcimRearPortTemplatesListRequest) NameRe(nameRe []string) ApiDcimRearPortTemplatesListRequest {
+ r.nameRe = &nameRe
+ return r
+}
+
+// The initial index from which to return the results.
+func (r ApiDcimRearPortTemplatesListRequest) Offset(offset int32) ApiDcimRearPortTemplatesListRequest {
+ r.offset = &offset
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) Positions(positions []int32) ApiDcimRearPortTemplatesListRequest {
+ r.positions = &positions
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) PositionsGt(positionsGt []int32) ApiDcimRearPortTemplatesListRequest {
+ r.positionsGt = &positionsGt
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) PositionsGte(positionsGte []int32) ApiDcimRearPortTemplatesListRequest {
+ r.positionsGte = &positionsGte
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) PositionsLt(positionsLt []int32) ApiDcimRearPortTemplatesListRequest {
+ r.positionsLt = &positionsLt
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) PositionsLte(positionsLte []int32) ApiDcimRearPortTemplatesListRequest {
+ r.positionsLte = &positionsLte
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) PositionsN(positionsN []int32) ApiDcimRearPortTemplatesListRequest {
+ r.positionsN = &positionsN
+ return r
+}
+
+// Search
+func (r ApiDcimRearPortTemplatesListRequest) Q(q string) ApiDcimRearPortTemplatesListRequest {
+ r.q = &q
+ return r
+}
+
+// Which field to use when ordering the results.
+func (r ApiDcimRearPortTemplatesListRequest) Sort(sort string) ApiDcimRearPortTemplatesListRequest {
+ r.sort = &sort
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) Teams(teams []string) ApiDcimRearPortTemplatesListRequest {
+ r.teams = &teams
+ return r
+}
+
+// Teams (name or ID) is null
+func (r ApiDcimRearPortTemplatesListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimRearPortTemplatesListRequest {
+ r.teamsIsnull = &teamsIsnull
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) TeamsN(teamsN []string) ApiDcimRearPortTemplatesListRequest {
+ r.teamsN = &teamsN
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) Type_(type_ []string) ApiDcimRearPortTemplatesListRequest {
+ r.type_ = &type_
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) TypeIc(typeIc []string) ApiDcimRearPortTemplatesListRequest {
+ r.typeIc = &typeIc
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) TypeIe(typeIe []string) ApiDcimRearPortTemplatesListRequest {
+ r.typeIe = &typeIe
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) TypeIew(typeIew []string) ApiDcimRearPortTemplatesListRequest {
+ r.typeIew = &typeIew
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) TypeIre(typeIre []string) ApiDcimRearPortTemplatesListRequest {
+ r.typeIre = &typeIre
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) TypeIsw(typeIsw []string) ApiDcimRearPortTemplatesListRequest {
+ r.typeIsw = &typeIsw
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) TypeN(typeN []string) ApiDcimRearPortTemplatesListRequest {
+ r.typeN = &typeN
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) TypeNic(typeNic []string) ApiDcimRearPortTemplatesListRequest {
+ r.typeNic = &typeNic
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) TypeNie(typeNie []string) ApiDcimRearPortTemplatesListRequest {
+ r.typeNie = &typeNie
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) TypeNiew(typeNiew []string) ApiDcimRearPortTemplatesListRequest {
+ r.typeNiew = &typeNiew
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) TypeNire(typeNire []string) ApiDcimRearPortTemplatesListRequest {
+ r.typeNire = &typeNire
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) TypeNisw(typeNisw []string) ApiDcimRearPortTemplatesListRequest {
+ r.typeNisw = &typeNisw
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) TypeNre(typeNre []string) ApiDcimRearPortTemplatesListRequest {
+ r.typeNre = &typeNre
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) TypeRe(typeRe []string) ApiDcimRearPortTemplatesListRequest {
+ r.typeRe = &typeRe
+ return r
+}
+
+// Serializer Depth
+func (r ApiDcimRearPortTemplatesListRequest) Depth(depth int32) ApiDcimRearPortTemplatesListRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiDcimRearPortTemplatesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimRearPortTemplatesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesListRequest) Execute() (*PaginatedRearPortTemplateList, *http.Response, error) {
+ return r.ApiService.DcimRearPortTemplatesListExecute(r)
+}
+
+/*
+DcimRearPortTemplatesList Method for DcimRearPortTemplatesList
+
+Retrieve a list of rear port template objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiDcimRearPortTemplatesListRequest
+*/
+func (a *DcimAPIService) DcimRearPortTemplatesList(ctx context.Context) ApiDcimRearPortTemplatesListRequest {
+ return ApiDcimRearPortTemplatesListRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return PaginatedRearPortTemplateList
+func (a *DcimAPIService) DcimRearPortTemplatesListExecute(r ApiDcimRearPortTemplatesListRequest) (*PaginatedRearPortTemplateList, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *PaginatedRearPortTemplateList
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortTemplatesList")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/rear-port-templates/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.contacts != nil {
+ t := *r.contacts
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth__gte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth__gte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", t, "form", "multi")
}
}
- if r.outerDepthIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth__isnull", r.outerDepthIsnull, "form", "")
+ if r.contactsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
- if r.outerDepthLt != nil {
- t := *r.outerDepthLt
+ if r.contactsN != nil {
+ t := *r.contactsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth__lt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth__lt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
}
}
- if r.outerDepthLte != nil {
- t := *r.outerDepthLte
+ if r.description != nil {
+ t := *r.description
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth__lte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth__lte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description", t, "form", "multi")
}
}
- if r.outerDepthN != nil {
- t := *r.outerDepthN
+ if r.descriptionIc != nil {
+ t := *r.descriptionIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_depth__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", t, "form", "multi")
}
}
- if r.outerUnit != nil {
- t := *r.outerUnit
+ if r.descriptionIe != nil {
+ t := *r.descriptionIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", t, "form", "multi")
}
}
- if r.outerUnitIc != nil {
- t := *r.outerUnitIc
+ if r.descriptionIew != nil {
+ t := *r.descriptionIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", t, "form", "multi")
}
}
- if r.outerUnitIe != nil {
- t := *r.outerUnitIe
+ if r.descriptionIre != nil {
+ t := *r.descriptionIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", t, "form", "multi")
}
}
- if r.outerUnitIew != nil {
- t := *r.outerUnitIew
+ if r.descriptionIsw != nil {
+ t := *r.descriptionIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", t, "form", "multi")
}
}
- if r.outerUnitIre != nil {
- t := *r.outerUnitIre
+ if r.descriptionN != nil {
+ t := *r.descriptionN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", t, "form", "multi")
}
}
- if r.outerUnitIsw != nil {
- t := *r.outerUnitIsw
+ if r.descriptionNic != nil {
+ t := *r.descriptionNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", t, "form", "multi")
}
}
- if r.outerUnitN != nil {
- t := *r.outerUnitN
+ if r.descriptionNie != nil {
+ t := *r.descriptionNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", t, "form", "multi")
}
}
- if r.outerUnitNic != nil {
- t := *r.outerUnitNic
+ if r.descriptionNiew != nil {
+ t := *r.descriptionNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", t, "form", "multi")
}
}
- if r.outerUnitNie != nil {
- t := *r.outerUnitNie
+ if r.descriptionNire != nil {
+ t := *r.descriptionNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", t, "form", "multi")
}
}
- if r.outerUnitNiew != nil {
- t := *r.outerUnitNiew
+ if r.descriptionNisw != nil {
+ t := *r.descriptionNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", t, "form", "multi")
}
}
- if r.outerUnitNire != nil {
- t := *r.outerUnitNire
+ if r.descriptionNre != nil {
+ t := *r.descriptionNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", t, "form", "multi")
}
}
- if r.outerUnitNisw != nil {
- t := *r.outerUnitNisw
+ if r.descriptionRe != nil {
+ t := *r.descriptionRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", t, "form", "multi")
}
}
- if r.outerUnitNre != nil {
- t := *r.outerUnitNre
+ if r.deviceType != nil {
+ t := *r.deviceType
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device_type", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device_type", t, "form", "multi")
}
}
- if r.outerUnitRe != nil {
- t := *r.outerUnitRe
+ if r.deviceTypeIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device_type__isnull", r.deviceTypeIsnull, "form", "")
+ }
+ if r.deviceTypeN != nil {
+ t := *r.deviceTypeN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device_type__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_unit__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device_type__n", t, "form", "multi")
}
}
- if r.outerWidth != nil {
- t := *r.outerWidth
+ if r.dynamicGroups != nil {
+ t := *r.dynamicGroups
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
}
}
- if r.outerWidthGt != nil {
- t := *r.outerWidthGt
+ if r.dynamicGroupsN != nil {
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width__gt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width__gt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.outerWidthGte != nil {
- t := *r.outerWidthGte
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.frontPortTemplates != nil {
+ t := *r.frontPortTemplates
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width__gte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "front_port_templates", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width__gte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "front_port_templates", t, "form", "multi")
}
}
- if r.outerWidthIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width__isnull", r.outerWidthIsnull, "form", "")
+ if r.frontPortTemplatesIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "front_port_templates__isnull", r.frontPortTemplatesIsnull, "form", "")
}
- if r.outerWidthLt != nil {
- t := *r.outerWidthLt
+ if r.frontPortTemplatesN != nil {
+ t := *r.frontPortTemplatesN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width__lt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "front_port_templates__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width__lt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "front_port_templates__n", t, "form", "multi")
}
}
- if r.outerWidthLte != nil {
- t := *r.outerWidthLte
+ if r.hasDeviceType != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_device_type", r.hasDeviceType, "form", "")
+ }
+ if r.hasFrontPortTemplates != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_front_port_templates", r.hasFrontPortTemplates, "form", "")
+ }
+ if r.hasModuleType != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_module_type", r.hasModuleType, "form", "")
+ }
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width__lte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width__lte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.outerWidthN != nil {
- t := *r.outerWidthN
+ if r.idN != nil {
+ t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "outer_width__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.powerFeeds != nil {
- t := *r.powerFeeds
+ if r.label != nil {
+ t := *r.label
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_feeds", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_feeds", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label", t, "form", "multi")
}
}
- if r.powerFeedsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_feeds__isnull", r.powerFeedsIsnull, "form", "")
- }
- if r.powerFeedsN != nil {
- t := *r.powerFeedsN
+ if r.labelIc != nil {
+ t := *r.labelIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_feeds__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "power_feeds__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__ic", t, "form", "multi")
}
}
- if r.q != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
- }
- if r.rackGroup != nil {
- t := *r.rackGroup
+ if r.labelIe != nil {
+ t := *r.labelIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rack_group", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rack_group", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__ie", t, "form", "multi")
}
}
- if r.rackGroupIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rack_group__isnull", r.rackGroupIsnull, "form", "")
- }
- if r.rackGroupN != nil {
- t := *r.rackGroupN
+ if r.labelIew != nil {
+ t := *r.labelIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rack_group__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rack_group__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__iew", t, "form", "multi")
}
}
- if r.rackReservations != nil {
- t := *r.rackReservations
+ if r.labelIre != nil {
+ t := *r.labelIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rack_reservations", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rack_reservations", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__ire", t, "form", "multi")
}
}
- if r.rackReservationsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rack_reservations__isnull", r.rackReservationsIsnull, "form", "")
- }
- if r.rackReservationsN != nil {
- t := *r.rackReservationsN
+ if r.labelIsw != nil {
+ t := *r.labelIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rack_reservations__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "rack_reservations__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__isw", t, "form", "multi")
}
}
- if r.role != nil {
- t := *r.role
+ if r.labelN != nil {
+ t := *r.labelN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "role", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "role", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__n", t, "form", "multi")
}
}
- if r.roleIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "role__isnull", r.roleIsnull, "form", "")
- }
- if r.roleN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", r.roleN, "form", "")
- }
- if r.serial != nil {
- t := *r.serial
+ if r.labelNic != nil {
+ t := *r.labelNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "serial", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "serial", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__nic", t, "form", "multi")
}
}
- if r.sort != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
- }
- if r.status != nil {
- t := *r.status
+ if r.labelNie != nil {
+ t := *r.labelNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "status", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "status", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__nie", t, "form", "multi")
}
}
- if r.statusN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", r.statusN, "form", "")
- }
- if r.tags != nil {
- t := *r.tags
+ if r.labelNiew != nil {
+ t := *r.labelNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__niew", t, "form", "multi")
}
}
- if r.tagsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags__isnull", r.tagsIsnull, "form", "")
- }
- if r.tagsN != nil {
- t := *r.tagsN
+ if r.labelNire != nil {
+ t := *r.labelNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__nire", t, "form", "multi")
}
}
- if r.teams != nil {
- t := *r.teams
+ if r.labelNisw != nil {
+ t := *r.labelNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__nisw", t, "form", "multi")
}
}
- if r.teamsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
- }
- if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
- }
- if r.tenant != nil {
- t := *r.tenant
+ if r.labelNre != nil {
+ t := *r.labelNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__nre", t, "form", "multi")
}
}
- if r.tenantIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__isnull", r.tenantIsnull, "form", "")
- }
- if r.tenantN != nil {
- t := *r.tenantN
+ if r.labelRe != nil {
+ t := *r.labelRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "label__re", t, "form", "multi")
}
}
- if r.tenantGroup != nil {
- t := *r.tenantGroup
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ }
+ if r.moduleType != nil {
+ t := *r.moduleType
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_type", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_type", t, "form", "multi")
}
}
- if r.tenantGroupIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group__isnull", r.tenantGroupIsnull, "form", "")
+ if r.moduleTypeIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_type__isnull", r.moduleTypeIsnull, "form", "")
}
- if r.tenantGroupN != nil {
- t := *r.tenantGroupN
+ if r.moduleTypeN != nil {
+ t := *r.moduleTypeN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_type__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module_type__n", t, "form", "multi")
}
}
- if r.tenantId != nil {
- t := *r.tenantId
+ if r.name != nil {
+ t := *r.name
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name", t, "form", "multi")
}
}
- if r.tenantIdIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__isnull", r.tenantIdIsnull, "form", "")
- }
- if r.tenantIdN != nil {
- t := *r.tenantIdN
+ if r.nameIc != nil {
+ t := *r.nameIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", t, "form", "multi")
}
}
- if r.type_ != nil {
- t := *r.type_
+ if r.nameIe != nil {
+ t := *r.nameIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", t, "form", "multi")
}
}
- if r.typeIc != nil {
- t := *r.typeIc
+ if r.nameIew != nil {
+ t := *r.nameIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", t, "form", "multi")
}
}
- if r.typeIe != nil {
- t := *r.typeIe
+ if r.nameIre != nil {
+ t := *r.nameIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", t, "form", "multi")
}
}
- if r.typeIew != nil {
- t := *r.typeIew
+ if r.nameIsw != nil {
+ t := *r.nameIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", t, "form", "multi")
}
}
- if r.typeIre != nil {
- t := *r.typeIre
+ if r.nameN != nil {
+ t := *r.nameN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", t, "form", "multi")
}
}
- if r.typeIsw != nil {
- t := *r.typeIsw
+ if r.nameNic != nil {
+ t := *r.nameNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", t, "form", "multi")
}
}
- if r.typeN != nil {
- t := *r.typeN
+ if r.nameNie != nil {
+ t := *r.nameNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", t, "form", "multi")
}
}
- if r.typeNic != nil {
- t := *r.typeNic
+ if r.nameNiew != nil {
+ t := *r.nameNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", t, "form", "multi")
}
}
- if r.typeNie != nil {
- t := *r.typeNie
+ if r.nameNire != nil {
+ t := *r.nameNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", t, "form", "multi")
}
}
- if r.typeNiew != nil {
- t := *r.typeNiew
+ if r.nameNisw != nil {
+ t := *r.nameNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", t, "form", "multi")
}
}
- if r.typeNire != nil {
- t := *r.typeNire
+ if r.nameNre != nil {
+ t := *r.nameNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", t, "form", "multi")
}
}
- if r.typeNisw != nil {
- t := *r.typeNisw
+ if r.nameRe != nil {
+ t := *r.nameRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", t, "form", "multi")
}
}
- if r.typeNre != nil {
- t := *r.typeNre
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+ }
+ if r.positions != nil {
+ t := *r.positions
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "positions", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "positions", t, "form", "multi")
}
}
- if r.typeRe != nil {
- t := *r.typeRe
+ if r.positionsGt != nil {
+ t := *r.positionsGt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "positions__gt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "positions__gt", t, "form", "multi")
}
}
- if r.uHeight != nil {
- t := *r.uHeight
+ if r.positionsGte != nil {
+ t := *r.positionsGte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "u_height", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "positions__gte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "u_height", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "positions__gte", t, "form", "multi")
}
}
- if r.uHeightGt != nil {
- t := *r.uHeightGt
+ if r.positionsLt != nil {
+ t := *r.positionsLt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "u_height__gt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "positions__lt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "u_height__gt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "positions__lt", t, "form", "multi")
}
}
- if r.uHeightGte != nil {
- t := *r.uHeightGte
+ if r.positionsLte != nil {
+ t := *r.positionsLte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "u_height__gte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "positions__lte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "u_height__gte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "positions__lte", t, "form", "multi")
}
}
- if r.uHeightLt != nil {
- t := *r.uHeightLt
+ if r.positionsN != nil {
+ t := *r.positionsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "u_height__lt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "positions__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "u_height__lt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "positions__n", t, "form", "multi")
}
}
- if r.uHeightLte != nil {
- t := *r.uHeightLte
+ if r.q != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
+ }
+ if r.sort != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
+ }
+ if r.teams != nil {
+ t := *r.teams
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "u_height__lte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "u_height__lte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams", t, "form", "multi")
}
}
- if r.uHeightN != nil {
- t := *r.uHeightN
+ if r.teamsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
+ }
+ if r.teamsN != nil {
+ t := *r.teamsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "u_height__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "u_height__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
}
}
- if r.width != nil {
- t := *r.width
+ if r.type_ != nil {
+ t := *r.type_
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "width", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "width", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type", t, "form", "multi")
}
}
- if r.widthIc != nil {
- t := *r.widthIc
+ if r.typeIc != nil {
+ t := *r.typeIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "width__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "width__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__ic", t, "form", "multi")
}
}
- if r.widthIe != nil {
- t := *r.widthIe
+ if r.typeIe != nil {
+ t := *r.typeIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "width__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "width__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__ie", t, "form", "multi")
}
}
- if r.widthIew != nil {
- t := *r.widthIew
+ if r.typeIew != nil {
+ t := *r.typeIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "width__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "width__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__iew", t, "form", "multi")
}
}
- if r.widthIre != nil {
- t := *r.widthIre
+ if r.typeIre != nil {
+ t := *r.typeIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "width__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "width__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__ire", t, "form", "multi")
}
}
- if r.widthIsw != nil {
- t := *r.widthIsw
+ if r.typeIsw != nil {
+ t := *r.typeIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "width__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "width__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__isw", t, "form", "multi")
}
}
- if r.widthN != nil {
- t := *r.widthN
+ if r.typeN != nil {
+ t := *r.typeN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "width__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "width__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", t, "form", "multi")
}
}
- if r.widthNic != nil {
- t := *r.widthNic
+ if r.typeNic != nil {
+ t := *r.typeNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "width__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "width__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nic", t, "form", "multi")
}
}
- if r.widthNie != nil {
- t := *r.widthNie
+ if r.typeNie != nil {
+ t := *r.typeNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "width__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "width__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nie", t, "form", "multi")
}
}
- if r.widthNiew != nil {
- t := *r.widthNiew
+ if r.typeNiew != nil {
+ t := *r.typeNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "width__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "width__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__niew", t, "form", "multi")
}
}
- if r.widthNire != nil {
- t := *r.widthNire
+ if r.typeNire != nil {
+ t := *r.typeNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "width__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "width__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nire", t, "form", "multi")
}
}
- if r.widthNisw != nil {
- t := *r.widthNisw
+ if r.typeNisw != nil {
+ t := *r.typeNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "width__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "width__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nisw", t, "form", "multi")
}
}
- if r.widthNre != nil {
- t := *r.widthNre
+ if r.typeNre != nil {
+ t := *r.typeNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "width__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "width__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__nre", t, "form", "multi")
}
}
- if r.widthRe != nil {
- t := *r.widthRe
+ if r.typeRe != nil {
+ t := *r.typeRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "width__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "width__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "type__re", t, "form", "multi")
}
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiDcimRacksNotesCreateRequest struct {
- ctx context.Context
- ApiService *DcimAPIService
- id string
- noteInputRequest *NoteInputRequest
- format *CircuitsCircuitTerminationsListFormatParameter
-}
-
-func (r ApiDcimRacksNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimRacksNotesCreateRequest {
- r.noteInputRequest = ¬eInputRequest
- return r
-}
-
-func (r ApiDcimRacksNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRacksNotesCreateRequest {
- r.format = &format
- return r
-}
-
-func (r ApiDcimRacksNotesCreateRequest) Execute() (*Note, *http.Response, error) {
- return r.ApiService.DcimRacksNotesCreateExecute(r)
-}
-
-/*
-DcimRacksNotesCreate Method for DcimRacksNotesCreate
-
-API methods for returning or creating notes on an object.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this rack.
- @return ApiDcimRacksNotesCreateRequest
-*/
-func (a *DcimAPIService) DcimRacksNotesCreate(ctx context.Context, id string) ApiDcimRacksNotesCreateRequest {
- return ApiDcimRacksNotesCreateRequest{
- ApiService: a,
- ctx: ctx,
- id: id,
- }
-}
-
-// Execute executes the request
-// @return Note
-func (a *DcimAPIService) DcimRacksNotesCreateExecute(r ApiDcimRacksNotesCreateRequest) (*Note, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *Note
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRacksNotesCreate")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/dcim/racks/{id}/notes/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.noteInputRequest == nil {
- return localVarReturnValue, nil, reportError("noteInputRequest is required and must be specified")
- }
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.noteInputRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiDcimRacksNotesListRequest struct {
- ctx context.Context
- ApiService *DcimAPIService
- id string
- format *CircuitsCircuitTerminationsListFormatParameter
- limit *int32
- offset *int32
- depth *int32
-}
-
-func (r ApiDcimRacksNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRacksNotesListRequest {
- r.format = &format
- return r
-}
-
-// Number of results to return per page.
-func (r ApiDcimRacksNotesListRequest) Limit(limit int32) ApiDcimRacksNotesListRequest {
- r.limit = &limit
- return r
-}
-
-// The initial index from which to return the results.
-func (r ApiDcimRacksNotesListRequest) Offset(offset int32) ApiDcimRacksNotesListRequest {
- r.offset = &offset
- return r
-}
-
-// Serializer Depth
-func (r ApiDcimRacksNotesListRequest) Depth(depth int32) ApiDcimRacksNotesListRequest {
- r.depth = &depth
- return r
-}
-
-func (r ApiDcimRacksNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
- return r.ApiService.DcimRacksNotesListExecute(r)
-}
-
-/*
-DcimRacksNotesList Method for DcimRacksNotesList
-
-API methods for returning or creating notes on an object.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this rack.
- @return ApiDcimRacksNotesListRequest
-*/
-func (a *DcimAPIService) DcimRacksNotesList(ctx context.Context, id string) ApiDcimRacksNotesListRequest {
- return ApiDcimRacksNotesListRequest{
- ApiService: a,
- ctx: ctx,
- id: id,
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
}
-}
-
-// Execute executes the request
-// @return PaginatedNoteList
-func (a *DcimAPIService) DcimRacksNotesListExecute(r ApiDcimRacksNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *PaginatedNoteList
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRacksNotesList")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/dcim/racks/{id}/notes/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
- }
- if r.offset != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
- }
- if r.depth != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -125440,39 +125830,39 @@ func (a *DcimAPIService) DcimRacksNotesListExecute(r ApiDcimRacksNotesListReques
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRacksPartialUpdateRequest struct {
+type ApiDcimRearPortTemplatesPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
- patchedWritableRackRequest *PatchedWritableRackRequest
+ patchedWritableRearPortTemplateRequest *PatchedWritableRearPortTemplateRequest
}
-func (r ApiDcimRacksPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRacksPartialUpdateRequest {
+func (r ApiDcimRearPortTemplatesPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortTemplatesPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimRacksPartialUpdateRequest) PatchedWritableRackRequest(patchedWritableRackRequest PatchedWritableRackRequest) ApiDcimRacksPartialUpdateRequest {
- r.patchedWritableRackRequest = &patchedWritableRackRequest
+func (r ApiDcimRearPortTemplatesPartialUpdateRequest) PatchedWritableRearPortTemplateRequest(patchedWritableRearPortTemplateRequest PatchedWritableRearPortTemplateRequest) ApiDcimRearPortTemplatesPartialUpdateRequest {
+ r.patchedWritableRearPortTemplateRequest = &patchedWritableRearPortTemplateRequest
return r
}
-func (r ApiDcimRacksPartialUpdateRequest) Execute() (*Rack, *http.Response, error) {
- return r.ApiService.DcimRacksPartialUpdateExecute(r)
+func (r ApiDcimRearPortTemplatesPartialUpdateRequest) Execute() (*RearPortTemplate, *http.Response, error) {
+ return r.ApiService.DcimRearPortTemplatesPartialUpdateExecute(r)
}
/*
-DcimRacksPartialUpdate Method for DcimRacksPartialUpdate
+DcimRearPortTemplatesPartialUpdate Method for DcimRearPortTemplatesPartialUpdate
-Partial update a rack object.
+Partial update a rear port template object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this rack.
- @return ApiDcimRacksPartialUpdateRequest
+ @param id A UUID string identifying this rear port template.
+ @return ApiDcimRearPortTemplatesPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimRacksPartialUpdate(ctx context.Context, id string) ApiDcimRacksPartialUpdateRequest {
- return ApiDcimRacksPartialUpdateRequest{
+func (a *DcimAPIService) DcimRearPortTemplatesPartialUpdate(ctx context.Context, id string) ApiDcimRearPortTemplatesPartialUpdateRequest {
+ return ApiDcimRearPortTemplatesPartialUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -125480,21 +125870,21 @@ func (a *DcimAPIService) DcimRacksPartialUpdate(ctx context.Context, id string)
}
// Execute executes the request
-// @return Rack
-func (a *DcimAPIService) DcimRacksPartialUpdateExecute(r ApiDcimRacksPartialUpdateRequest) (*Rack, *http.Response, error) {
+// @return RearPortTemplate
+func (a *DcimAPIService) DcimRearPortTemplatesPartialUpdateExecute(r ApiDcimRearPortTemplatesPartialUpdateRequest) (*RearPortTemplate, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *Rack
+ localVarReturnValue *RearPortTemplate
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRacksPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortTemplatesPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/racks/{id}/"
+ localVarPath := localBasePath + "/dcim/rear-port-templates/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -125522,7 +125912,7 @@ func (a *DcimAPIService) DcimRacksPartialUpdateExecute(r ApiDcimRacksPartialUpda
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedWritableRackRequest
+ localVarPostBody = r.patchedWritableRearPortTemplateRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -125574,40 +125964,47 @@ func (a *DcimAPIService) DcimRacksPartialUpdateExecute(r ApiDcimRacksPartialUpda
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRacksRetrieveRequest struct {
+type ApiDcimRearPortTemplatesRetrieveRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimRacksRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRacksRetrieveRequest {
+func (r ApiDcimRearPortTemplatesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortTemplatesRetrieveRequest {
r.format = &format
return r
}
// Serializer Depth
-func (r ApiDcimRacksRetrieveRequest) Depth(depth int32) ApiDcimRacksRetrieveRequest {
+func (r ApiDcimRearPortTemplatesRetrieveRequest) Depth(depth int32) ApiDcimRearPortTemplatesRetrieveRequest {
r.depth = &depth
return r
}
-func (r ApiDcimRacksRetrieveRequest) Execute() (*Rack, *http.Response, error) {
- return r.ApiService.DcimRacksRetrieveExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimRearPortTemplatesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimRearPortTemplatesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimRearPortTemplatesRetrieveRequest) Execute() (*RearPortTemplate, *http.Response, error) {
+ return r.ApiService.DcimRearPortTemplatesRetrieveExecute(r)
}
/*
-DcimRacksRetrieve Method for DcimRacksRetrieve
+DcimRearPortTemplatesRetrieve Method for DcimRearPortTemplatesRetrieve
-Retrieve a rack object.
+Retrieve a rear port template object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this rack.
- @return ApiDcimRacksRetrieveRequest
+ @param id A UUID string identifying this rear port template.
+ @return ApiDcimRearPortTemplatesRetrieveRequest
*/
-func (a *DcimAPIService) DcimRacksRetrieve(ctx context.Context, id string) ApiDcimRacksRetrieveRequest {
- return ApiDcimRacksRetrieveRequest{
+func (a *DcimAPIService) DcimRearPortTemplatesRetrieve(ctx context.Context, id string) ApiDcimRearPortTemplatesRetrieveRequest {
+ return ApiDcimRearPortTemplatesRetrieveRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -125615,21 +126012,21 @@ func (a *DcimAPIService) DcimRacksRetrieve(ctx context.Context, id string) ApiDc
}
// Execute executes the request
-// @return Rack
-func (a *DcimAPIService) DcimRacksRetrieveExecute(r ApiDcimRacksRetrieveRequest) (*Rack, *http.Response, error) {
+// @return RearPortTemplate
+func (a *DcimAPIService) DcimRearPortTemplatesRetrieveExecute(r ApiDcimRearPortTemplatesRetrieveRequest) (*RearPortTemplate, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *Rack
+ localVarReturnValue *RearPortTemplate
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRacksRetrieve")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortTemplatesRetrieve")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/racks/{id}/"
+ localVarPath := localBasePath + "/dcim/rear-port-templates/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -125642,8 +126039,16 @@ func (a *DcimAPIService) DcimRacksRetrieveExecute(r ApiDcimRacksRetrieveRequest)
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -125713,39 +126118,39 @@ func (a *DcimAPIService) DcimRacksRetrieveExecute(r ApiDcimRacksRetrieveRequest)
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRacksUpdateRequest struct {
+type ApiDcimRearPortTemplatesUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
- writableRackRequest *WritableRackRequest
+ writableRearPortTemplateRequest *WritableRearPortTemplateRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimRacksUpdateRequest) WritableRackRequest(writableRackRequest WritableRackRequest) ApiDcimRacksUpdateRequest {
- r.writableRackRequest = &writableRackRequest
+func (r ApiDcimRearPortTemplatesUpdateRequest) WritableRearPortTemplateRequest(writableRearPortTemplateRequest WritableRearPortTemplateRequest) ApiDcimRearPortTemplatesUpdateRequest {
+ r.writableRearPortTemplateRequest = &writableRearPortTemplateRequest
return r
}
-func (r ApiDcimRacksUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRacksUpdateRequest {
+func (r ApiDcimRearPortTemplatesUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortTemplatesUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimRacksUpdateRequest) Execute() (*Rack, *http.Response, error) {
- return r.ApiService.DcimRacksUpdateExecute(r)
+func (r ApiDcimRearPortTemplatesUpdateRequest) Execute() (*RearPortTemplate, *http.Response, error) {
+ return r.ApiService.DcimRearPortTemplatesUpdateExecute(r)
}
/*
-DcimRacksUpdate Method for DcimRacksUpdate
+DcimRearPortTemplatesUpdate Method for DcimRearPortTemplatesUpdate
-Update a rack object.
+Update a rear port template object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this rack.
- @return ApiDcimRacksUpdateRequest
+ @param id A UUID string identifying this rear port template.
+ @return ApiDcimRearPortTemplatesUpdateRequest
*/
-func (a *DcimAPIService) DcimRacksUpdate(ctx context.Context, id string) ApiDcimRacksUpdateRequest {
- return ApiDcimRacksUpdateRequest{
+func (a *DcimAPIService) DcimRearPortTemplatesUpdate(ctx context.Context, id string) ApiDcimRearPortTemplatesUpdateRequest {
+ return ApiDcimRearPortTemplatesUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -125753,28 +126158,28 @@ func (a *DcimAPIService) DcimRacksUpdate(ctx context.Context, id string) ApiDcim
}
// Execute executes the request
-// @return Rack
-func (a *DcimAPIService) DcimRacksUpdateExecute(r ApiDcimRacksUpdateRequest) (*Rack, *http.Response, error) {
+// @return RearPortTemplate
+func (a *DcimAPIService) DcimRearPortTemplatesUpdateExecute(r ApiDcimRearPortTemplatesUpdateRequest) (*RearPortTemplate, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *Rack
+ localVarReturnValue *RearPortTemplate
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRacksUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortTemplatesUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/racks/{id}/"
+ localVarPath := localBasePath + "/dcim/rear-port-templates/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.writableRackRequest == nil {
- return localVarReturnValue, nil, reportError("writableRackRequest is required and must be specified")
+ if r.writableRearPortTemplateRequest == nil {
+ return localVarReturnValue, nil, reportError("writableRearPortTemplateRequest is required and must be specified")
}
if r.format != nil {
@@ -125798,7 +126203,7 @@ func (a *DcimAPIService) DcimRacksUpdateExecute(r ApiDcimRacksUpdateRequest) (*R
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.writableRackRequest
+ localVarPostBody = r.writableRearPortTemplateRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -125850,56 +126255,56 @@ func (a *DcimAPIService) DcimRacksUpdateExecute(r ApiDcimRacksUpdateRequest) (*R
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRearPortTemplatesBulkDestroyRequest struct {
+type ApiDcimRearPortsBulkDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
bulkOperationRequest *[]BulkOperationRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimRearPortTemplatesBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimRearPortTemplatesBulkDestroyRequest {
+func (r ApiDcimRearPortsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimRearPortsBulkDestroyRequest {
r.bulkOperationRequest = &bulkOperationRequest
return r
}
-func (r ApiDcimRearPortTemplatesBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortTemplatesBulkDestroyRequest {
+func (r ApiDcimRearPortsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortsBulkDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimRearPortTemplatesBulkDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimRearPortTemplatesBulkDestroyExecute(r)
+func (r ApiDcimRearPortsBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimRearPortsBulkDestroyExecute(r)
}
/*
-DcimRearPortTemplatesBulkDestroy Method for DcimRearPortTemplatesBulkDestroy
+DcimRearPortsBulkDestroy Method for DcimRearPortsBulkDestroy
-Destroy a list of rear port template objects.
+Destroy a list of rear port objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimRearPortTemplatesBulkDestroyRequest
+ @return ApiDcimRearPortsBulkDestroyRequest
*/
-func (a *DcimAPIService) DcimRearPortTemplatesBulkDestroy(ctx context.Context) ApiDcimRearPortTemplatesBulkDestroyRequest {
- return ApiDcimRearPortTemplatesBulkDestroyRequest{
+func (a *DcimAPIService) DcimRearPortsBulkDestroy(ctx context.Context) ApiDcimRearPortsBulkDestroyRequest {
+ return ApiDcimRearPortsBulkDestroyRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-func (a *DcimAPIService) DcimRearPortTemplatesBulkDestroyExecute(r ApiDcimRearPortTemplatesBulkDestroyRequest) (*http.Response, error) {
+func (a *DcimAPIService) DcimRearPortsBulkDestroyExecute(r ApiDcimRearPortsBulkDestroyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortTemplatesBulkDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortsBulkDestroy")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rear-port-templates/"
+ localVarPath := localBasePath + "/dcim/rear-ports/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -125972,64 +126377,64 @@ func (a *DcimAPIService) DcimRearPortTemplatesBulkDestroyExecute(r ApiDcimRearPo
return localVarHTTPResponse, nil
}
-type ApiDcimRearPortTemplatesBulkPartialUpdateRequest struct {
+type ApiDcimRearPortsBulkPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- patchedBulkWritableRearPortTemplateRequest *[]PatchedBulkWritableRearPortTemplateRequest
+ patchedBulkWritableRearPortRequest *[]PatchedBulkWritableRearPortRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimRearPortTemplatesBulkPartialUpdateRequest) PatchedBulkWritableRearPortTemplateRequest(patchedBulkWritableRearPortTemplateRequest []PatchedBulkWritableRearPortTemplateRequest) ApiDcimRearPortTemplatesBulkPartialUpdateRequest {
- r.patchedBulkWritableRearPortTemplateRequest = &patchedBulkWritableRearPortTemplateRequest
+func (r ApiDcimRearPortsBulkPartialUpdateRequest) PatchedBulkWritableRearPortRequest(patchedBulkWritableRearPortRequest []PatchedBulkWritableRearPortRequest) ApiDcimRearPortsBulkPartialUpdateRequest {
+ r.patchedBulkWritableRearPortRequest = &patchedBulkWritableRearPortRequest
return r
}
-func (r ApiDcimRearPortTemplatesBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortTemplatesBulkPartialUpdateRequest {
+func (r ApiDcimRearPortsBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortsBulkPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimRearPortTemplatesBulkPartialUpdateRequest) Execute() ([]RearPortTemplate, *http.Response, error) {
- return r.ApiService.DcimRearPortTemplatesBulkPartialUpdateExecute(r)
+func (r ApiDcimRearPortsBulkPartialUpdateRequest) Execute() ([]RearPort, *http.Response, error) {
+ return r.ApiService.DcimRearPortsBulkPartialUpdateExecute(r)
}
/*
-DcimRearPortTemplatesBulkPartialUpdate Method for DcimRearPortTemplatesBulkPartialUpdate
+DcimRearPortsBulkPartialUpdate Method for DcimRearPortsBulkPartialUpdate
-Partial update a list of rear port template objects.
+Partial update a list of rear port objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimRearPortTemplatesBulkPartialUpdateRequest
+ @return ApiDcimRearPortsBulkPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimRearPortTemplatesBulkPartialUpdate(ctx context.Context) ApiDcimRearPortTemplatesBulkPartialUpdateRequest {
- return ApiDcimRearPortTemplatesBulkPartialUpdateRequest{
+func (a *DcimAPIService) DcimRearPortsBulkPartialUpdate(ctx context.Context) ApiDcimRearPortsBulkPartialUpdateRequest {
+ return ApiDcimRearPortsBulkPartialUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []RearPortTemplate
-func (a *DcimAPIService) DcimRearPortTemplatesBulkPartialUpdateExecute(r ApiDcimRearPortTemplatesBulkPartialUpdateRequest) ([]RearPortTemplate, *http.Response, error) {
+// @return []RearPort
+func (a *DcimAPIService) DcimRearPortsBulkPartialUpdateExecute(r ApiDcimRearPortsBulkPartialUpdateRequest) ([]RearPort, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []RearPortTemplate
+ localVarReturnValue []RearPort
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortTemplatesBulkPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortsBulkPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rear-port-templates/"
+ localVarPath := localBasePath + "/dcim/rear-ports/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.patchedBulkWritableRearPortTemplateRequest == nil {
- return localVarReturnValue, nil, reportError("patchedBulkWritableRearPortTemplateRequest is required and must be specified")
+ if r.patchedBulkWritableRearPortRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritableRearPortRequest is required and must be specified")
}
if r.format != nil {
@@ -126053,7 +126458,7 @@ func (a *DcimAPIService) DcimRearPortTemplatesBulkPartialUpdateExecute(r ApiDcim
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedBulkWritableRearPortTemplateRequest
+ localVarPostBody = r.patchedBulkWritableRearPortRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -126105,64 +126510,64 @@ func (a *DcimAPIService) DcimRearPortTemplatesBulkPartialUpdateExecute(r ApiDcim
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRearPortTemplatesBulkUpdateRequest struct {
+type ApiDcimRearPortsBulkUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- bulkWritableRearPortTemplateRequest *[]BulkWritableRearPortTemplateRequest
+ bulkWritableRearPortRequest *[]BulkWritableRearPortRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimRearPortTemplatesBulkUpdateRequest) BulkWritableRearPortTemplateRequest(bulkWritableRearPortTemplateRequest []BulkWritableRearPortTemplateRequest) ApiDcimRearPortTemplatesBulkUpdateRequest {
- r.bulkWritableRearPortTemplateRequest = &bulkWritableRearPortTemplateRequest
+func (r ApiDcimRearPortsBulkUpdateRequest) BulkWritableRearPortRequest(bulkWritableRearPortRequest []BulkWritableRearPortRequest) ApiDcimRearPortsBulkUpdateRequest {
+ r.bulkWritableRearPortRequest = &bulkWritableRearPortRequest
return r
}
-func (r ApiDcimRearPortTemplatesBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortTemplatesBulkUpdateRequest {
+func (r ApiDcimRearPortsBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortsBulkUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimRearPortTemplatesBulkUpdateRequest) Execute() ([]RearPortTemplate, *http.Response, error) {
- return r.ApiService.DcimRearPortTemplatesBulkUpdateExecute(r)
+func (r ApiDcimRearPortsBulkUpdateRequest) Execute() ([]RearPort, *http.Response, error) {
+ return r.ApiService.DcimRearPortsBulkUpdateExecute(r)
}
/*
-DcimRearPortTemplatesBulkUpdate Method for DcimRearPortTemplatesBulkUpdate
+DcimRearPortsBulkUpdate Method for DcimRearPortsBulkUpdate
-Update a list of rear port template objects.
+Update a list of rear port objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimRearPortTemplatesBulkUpdateRequest
+ @return ApiDcimRearPortsBulkUpdateRequest
*/
-func (a *DcimAPIService) DcimRearPortTemplatesBulkUpdate(ctx context.Context) ApiDcimRearPortTemplatesBulkUpdateRequest {
- return ApiDcimRearPortTemplatesBulkUpdateRequest{
+func (a *DcimAPIService) DcimRearPortsBulkUpdate(ctx context.Context) ApiDcimRearPortsBulkUpdateRequest {
+ return ApiDcimRearPortsBulkUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []RearPortTemplate
-func (a *DcimAPIService) DcimRearPortTemplatesBulkUpdateExecute(r ApiDcimRearPortTemplatesBulkUpdateRequest) ([]RearPortTemplate, *http.Response, error) {
+// @return []RearPort
+func (a *DcimAPIService) DcimRearPortsBulkUpdateExecute(r ApiDcimRearPortsBulkUpdateRequest) ([]RearPort, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []RearPortTemplate
+ localVarReturnValue []RearPort
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortTemplatesBulkUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortsBulkUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rear-port-templates/"
+ localVarPath := localBasePath + "/dcim/rear-ports/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.bulkWritableRearPortTemplateRequest == nil {
- return localVarReturnValue, nil, reportError("bulkWritableRearPortTemplateRequest is required and must be specified")
+ if r.bulkWritableRearPortRequest == nil {
+ return localVarReturnValue, nil, reportError("bulkWritableRearPortRequest is required and must be specified")
}
if r.format != nil {
@@ -126186,7 +126591,7 @@ func (a *DcimAPIService) DcimRearPortTemplatesBulkUpdateExecute(r ApiDcimRearPor
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.bulkWritableRearPortTemplateRequest
+ localVarPostBody = r.bulkWritableRearPortRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -126238,64 +126643,64 @@ func (a *DcimAPIService) DcimRearPortTemplatesBulkUpdateExecute(r ApiDcimRearPor
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRearPortTemplatesCreateRequest struct {
+type ApiDcimRearPortsCreateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- writableRearPortTemplateRequest *WritableRearPortTemplateRequest
+ writableRearPortRequest *WritableRearPortRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimRearPortTemplatesCreateRequest) WritableRearPortTemplateRequest(writableRearPortTemplateRequest WritableRearPortTemplateRequest) ApiDcimRearPortTemplatesCreateRequest {
- r.writableRearPortTemplateRequest = &writableRearPortTemplateRequest
+func (r ApiDcimRearPortsCreateRequest) WritableRearPortRequest(writableRearPortRequest WritableRearPortRequest) ApiDcimRearPortsCreateRequest {
+ r.writableRearPortRequest = &writableRearPortRequest
return r
}
-func (r ApiDcimRearPortTemplatesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortTemplatesCreateRequest {
+func (r ApiDcimRearPortsCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortsCreateRequest {
r.format = &format
return r
}
-func (r ApiDcimRearPortTemplatesCreateRequest) Execute() (*RearPortTemplate, *http.Response, error) {
- return r.ApiService.DcimRearPortTemplatesCreateExecute(r)
+func (r ApiDcimRearPortsCreateRequest) Execute() (*RearPort, *http.Response, error) {
+ return r.ApiService.DcimRearPortsCreateExecute(r)
}
/*
-DcimRearPortTemplatesCreate Method for DcimRearPortTemplatesCreate
+DcimRearPortsCreate Method for DcimRearPortsCreate
-Create one or more rear port template objects.
+Create one or more rear port objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimRearPortTemplatesCreateRequest
+ @return ApiDcimRearPortsCreateRequest
*/
-func (a *DcimAPIService) DcimRearPortTemplatesCreate(ctx context.Context) ApiDcimRearPortTemplatesCreateRequest {
- return ApiDcimRearPortTemplatesCreateRequest{
+func (a *DcimAPIService) DcimRearPortsCreate(ctx context.Context) ApiDcimRearPortsCreateRequest {
+ return ApiDcimRearPortsCreateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return RearPortTemplate
-func (a *DcimAPIService) DcimRearPortTemplatesCreateExecute(r ApiDcimRearPortTemplatesCreateRequest) (*RearPortTemplate, *http.Response, error) {
+// @return RearPort
+func (a *DcimAPIService) DcimRearPortsCreateExecute(r ApiDcimRearPortsCreateRequest) (*RearPort, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *RearPortTemplate
+ localVarReturnValue *RearPort
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortTemplatesCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortsCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rear-port-templates/"
+ localVarPath := localBasePath + "/dcim/rear-ports/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.writableRearPortTemplateRequest == nil {
- return localVarReturnValue, nil, reportError("writableRearPortTemplateRequest is required and must be specified")
+ if r.writableRearPortRequest == nil {
+ return localVarReturnValue, nil, reportError("writableRearPortRequest is required and must be specified")
}
if r.format != nil {
@@ -126319,7 +126724,7 @@ func (a *DcimAPIService) DcimRearPortTemplatesCreateExecute(r ApiDcimRearPortTem
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.writableRearPortTemplateRequest
+ localVarPostBody = r.writableRearPortRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -126371,33 +126776,33 @@ func (a *DcimAPIService) DcimRearPortTemplatesCreateExecute(r ApiDcimRearPortTem
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRearPortTemplatesDestroyRequest struct {
+type ApiDcimRearPortsDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimRearPortTemplatesDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortTemplatesDestroyRequest {
+func (r ApiDcimRearPortsDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortsDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimRearPortTemplatesDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimRearPortTemplatesDestroyExecute(r)
+func (r ApiDcimRearPortsDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimRearPortsDestroyExecute(r)
}
/*
-DcimRearPortTemplatesDestroy Method for DcimRearPortTemplatesDestroy
+DcimRearPortsDestroy Method for DcimRearPortsDestroy
-Destroy a rear port template object.
+Destroy a rear port object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this rear port template.
- @return ApiDcimRearPortTemplatesDestroyRequest
+ @param id A UUID string identifying this rear port.
+ @return ApiDcimRearPortsDestroyRequest
*/
-func (a *DcimAPIService) DcimRearPortTemplatesDestroy(ctx context.Context, id string) ApiDcimRearPortTemplatesDestroyRequest {
- return ApiDcimRearPortTemplatesDestroyRequest{
+func (a *DcimAPIService) DcimRearPortsDestroy(ctx context.Context, id string) ApiDcimRearPortsDestroyRequest {
+ return ApiDcimRearPortsDestroyRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -126405,19 +126810,19 @@ func (a *DcimAPIService) DcimRearPortTemplatesDestroy(ctx context.Context, id st
}
// Execute executes the request
-func (a *DcimAPIService) DcimRearPortTemplatesDestroyExecute(r ApiDcimRearPortTemplatesDestroyRequest) (*http.Response, error) {
+func (a *DcimAPIService) DcimRearPortsDestroyExecute(r ApiDcimRearPortsDestroyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortTemplatesDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortsDestroy")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rear-port-templates/{id}/"
+ localVarPath := localBasePath + "/dcim/rear-ports/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -126486,12 +126891,15 @@ func (a *DcimAPIService) DcimRearPortTemplatesDestroyExecute(r ApiDcimRearPortTe
return localVarHTTPResponse, nil
}
-type ApiDcimRearPortTemplatesListRequest struct {
+type ApiDcimRearPortsListRequest struct {
ctx context.Context
ApiService *DcimAPIService
+ cable *[]string
+ cableIsnull *bool
+ cableN *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
description *[]string
descriptionIc *[]string
descriptionIe *[]string
@@ -126506,32 +126914,17 @@ type ApiDcimRearPortTemplatesListRequest struct {
descriptionNisw *[]string
descriptionNre *[]string
descriptionRe *[]string
- deviceType *[]string
- deviceTypeIsnull *bool
- deviceTypeN *[]string
+ device *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
- frontPortTemplates *[]string
- frontPortTemplatesIsnull *bool
- frontPortTemplatesN *[]string
- hasDeviceType *bool
- hasFrontPortTemplates *bool
- hasModuleType *bool
+ frontPorts *[]string
+ frontPortsIsnull *bool
+ frontPortsN *[]string
+ hasCable *bool
+ hasFrontPorts *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
label *[]string
labelIc *[]string
labelIe *[]string
@@ -126547,9 +126940,11 @@ type ApiDcimRearPortTemplatesListRequest struct {
labelNre *[]string
labelRe *[]string
limit *int32
- moduleType *[]string
- moduleTypeIsnull *bool
- moduleTypeN *[]string
+ location *[]string
+ locationN *[]string
+ module *[]string
+ moduleIsnull *bool
+ moduleN *[]string
name *[]string
nameIc *[]string
nameIe *[]string
@@ -126573,9 +126968,12 @@ type ApiDcimRearPortTemplatesListRequest struct {
positionsN *[]int32
q *string
sort *string
+ tags *[]string
+ tagsIsnull *bool
+ tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
type_ *[]string
typeIc *[]string
typeIe *[]string
@@ -126591,631 +126989,569 @@ type ApiDcimRearPortTemplatesListRequest struct {
typeNre *[]string
typeRe *[]string
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimRearPortTemplatesListRequest) Contacts(contacts []string) ApiDcimRearPortTemplatesListRequest {
+// Cable
+func (r ApiDcimRearPortsListRequest) Cable(cable []string) ApiDcimRearPortsListRequest {
+ r.cable = &cable
+ return r
+}
+
+func (r ApiDcimRearPortsListRequest) CableIsnull(cableIsnull bool) ApiDcimRearPortsListRequest {
+ r.cableIsnull = &cableIsnull
+ return r
+}
+
+// Cable
+func (r ApiDcimRearPortsListRequest) CableN(cableN []string) ApiDcimRearPortsListRequest {
+ r.cableN = &cableN
+ return r
+}
+
+func (r ApiDcimRearPortsListRequest) Contacts(contacts []string) ApiDcimRearPortsListRequest {
r.contacts = &contacts
return r
}
// Contacts (name or ID) is null
-func (r ApiDcimRearPortTemplatesListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimRearPortsListRequest {
r.contactsIsnull = &contactsIsnull
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimRearPortTemplatesListRequest) ContactsN(contactsN string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) ContactsN(contactsN []string) ApiDcimRearPortsListRequest {
r.contactsN = &contactsN
return r
}
-// Description
-func (r ApiDcimRearPortTemplatesListRequest) Description(description []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) Description(description []string) ApiDcimRearPortsListRequest {
r.description = &description
return r
}
-// Description
-func (r ApiDcimRearPortTemplatesListRequest) DescriptionIc(descriptionIc []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) DescriptionIc(descriptionIc []string) ApiDcimRearPortsListRequest {
r.descriptionIc = &descriptionIc
return r
}
-// Description
-func (r ApiDcimRearPortTemplatesListRequest) DescriptionIe(descriptionIe []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) DescriptionIe(descriptionIe []string) ApiDcimRearPortsListRequest {
r.descriptionIe = &descriptionIe
return r
}
-// Description
-func (r ApiDcimRearPortTemplatesListRequest) DescriptionIew(descriptionIew []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) DescriptionIew(descriptionIew []string) ApiDcimRearPortsListRequest {
r.descriptionIew = &descriptionIew
return r
}
-// Description
-func (r ApiDcimRearPortTemplatesListRequest) DescriptionIre(descriptionIre []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) DescriptionIre(descriptionIre []string) ApiDcimRearPortsListRequest {
r.descriptionIre = &descriptionIre
return r
}
-// Description
-func (r ApiDcimRearPortTemplatesListRequest) DescriptionIsw(descriptionIsw []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) DescriptionIsw(descriptionIsw []string) ApiDcimRearPortsListRequest {
r.descriptionIsw = &descriptionIsw
return r
}
-// Description
-func (r ApiDcimRearPortTemplatesListRequest) DescriptionN(descriptionN []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) DescriptionN(descriptionN []string) ApiDcimRearPortsListRequest {
r.descriptionN = &descriptionN
return r
}
-// Description
-func (r ApiDcimRearPortTemplatesListRequest) DescriptionNic(descriptionNic []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) DescriptionNic(descriptionNic []string) ApiDcimRearPortsListRequest {
r.descriptionNic = &descriptionNic
return r
}
-// Description
-func (r ApiDcimRearPortTemplatesListRequest) DescriptionNie(descriptionNie []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) DescriptionNie(descriptionNie []string) ApiDcimRearPortsListRequest {
r.descriptionNie = &descriptionNie
return r
}
-// Description
-func (r ApiDcimRearPortTemplatesListRequest) DescriptionNiew(descriptionNiew []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) DescriptionNiew(descriptionNiew []string) ApiDcimRearPortsListRequest {
r.descriptionNiew = &descriptionNiew
return r
}
-// Description
-func (r ApiDcimRearPortTemplatesListRequest) DescriptionNire(descriptionNire []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) DescriptionNire(descriptionNire []string) ApiDcimRearPortsListRequest {
r.descriptionNire = &descriptionNire
return r
}
-// Description
-func (r ApiDcimRearPortTemplatesListRequest) DescriptionNisw(descriptionNisw []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) DescriptionNisw(descriptionNisw []string) ApiDcimRearPortsListRequest {
r.descriptionNisw = &descriptionNisw
return r
}
-// Description
-func (r ApiDcimRearPortTemplatesListRequest) DescriptionNre(descriptionNre []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) DescriptionNre(descriptionNre []string) ApiDcimRearPortsListRequest {
r.descriptionNre = &descriptionNre
return r
}
-// Description
-func (r ApiDcimRearPortTemplatesListRequest) DescriptionRe(descriptionRe []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) DescriptionRe(descriptionRe []string) ApiDcimRearPortsListRequest {
r.descriptionRe = &descriptionRe
return r
}
-func (r ApiDcimRearPortTemplatesListRequest) DeviceType(deviceType []string) ApiDcimRearPortTemplatesListRequest {
- r.deviceType = &deviceType
- return r
-}
-
-// Device type (model or ID) is null
-func (r ApiDcimRearPortTemplatesListRequest) DeviceTypeIsnull(deviceTypeIsnull bool) ApiDcimRearPortTemplatesListRequest {
- r.deviceTypeIsnull = &deviceTypeIsnull
- return r
-}
-
-func (r ApiDcimRearPortTemplatesListRequest) DeviceTypeN(deviceTypeN []string) ApiDcimRearPortTemplatesListRequest {
- r.deviceTypeN = &deviceTypeN
+func (r ApiDcimRearPortsListRequest) Device(device []string) ApiDcimRearPortsListRequest {
+ r.device = &device
return r
}
-func (r ApiDcimRearPortTemplatesListRequest) DynamicGroups(dynamicGroups []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) DynamicGroups(dynamicGroups []string) ApiDcimRearPortsListRequest {
r.dynamicGroups = &dynamicGroups
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimRearPortTemplatesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimRearPortsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
-func (r ApiDcimRearPortTemplatesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortsListRequest {
r.format = &format
return r
}
-// Front port templates
-func (r ApiDcimRearPortTemplatesListRequest) FrontPortTemplates(frontPortTemplates []string) ApiDcimRearPortTemplatesListRequest {
- r.frontPortTemplates = &frontPortTemplates
- return r
-}
-
-func (r ApiDcimRearPortTemplatesListRequest) FrontPortTemplatesIsnull(frontPortTemplatesIsnull bool) ApiDcimRearPortTemplatesListRequest {
- r.frontPortTemplatesIsnull = &frontPortTemplatesIsnull
+func (r ApiDcimRearPortsListRequest) FrontPorts(frontPorts []string) ApiDcimRearPortsListRequest {
+ r.frontPorts = &frontPorts
return r
}
-// Front port templates
-func (r ApiDcimRearPortTemplatesListRequest) FrontPortTemplatesN(frontPortTemplatesN []string) ApiDcimRearPortTemplatesListRequest {
- r.frontPortTemplatesN = &frontPortTemplatesN
+// Front ports (name or ID) is null
+func (r ApiDcimRearPortsListRequest) FrontPortsIsnull(frontPortsIsnull bool) ApiDcimRearPortsListRequest {
+ r.frontPortsIsnull = &frontPortsIsnull
return r
}
-// Has device type
-func (r ApiDcimRearPortTemplatesListRequest) HasDeviceType(hasDeviceType bool) ApiDcimRearPortTemplatesListRequest {
- r.hasDeviceType = &hasDeviceType
+func (r ApiDcimRearPortsListRequest) FrontPortsN(frontPortsN []string) ApiDcimRearPortsListRequest {
+ r.frontPortsN = &frontPortsN
return r
}
-// Has front port templates
-func (r ApiDcimRearPortTemplatesListRequest) HasFrontPortTemplates(hasFrontPortTemplates bool) ApiDcimRearPortTemplatesListRequest {
- r.hasFrontPortTemplates = &hasFrontPortTemplates
+// Has cable
+func (r ApiDcimRearPortsListRequest) HasCable(hasCable bool) ApiDcimRearPortsListRequest {
+ r.hasCable = &hasCable
return r
}
-// Has module type
-func (r ApiDcimRearPortTemplatesListRequest) HasModuleType(hasModuleType bool) ApiDcimRearPortTemplatesListRequest {
- r.hasModuleType = &hasModuleType
+// Has front ports
+func (r ApiDcimRearPortsListRequest) HasFrontPorts(hasFrontPorts bool) ApiDcimRearPortsListRequest {
+ r.hasFrontPorts = &hasFrontPorts
return r
}
-// ID
-func (r ApiDcimRearPortTemplatesListRequest) Id(id []string) ApiDcimRearPortTemplatesListRequest {
+// Unique object identifier, either a UUID primary key or a composite key.
+func (r ApiDcimRearPortsListRequest) Id(id []string) ApiDcimRearPortsListRequest {
r.id = &id
return r
}
-// ID contains
-func (r ApiDcimRearPortTemplatesListRequest) IdIc(idIc []string) ApiDcimRearPortTemplatesListRequest {
- r.idIc = &idIc
- return r
-}
-
-// ID
-func (r ApiDcimRearPortTemplatesListRequest) IdIe(idIe []string) ApiDcimRearPortTemplatesListRequest {
- r.idIe = &idIe
- return r
-}
-
-// ID ends with
-func (r ApiDcimRearPortTemplatesListRequest) IdIew(idIew []string) ApiDcimRearPortTemplatesListRequest {
- r.idIew = &idIew
- return r
-}
-
-// ID matches regex
-func (r ApiDcimRearPortTemplatesListRequest) IdIre(idIre []string) ApiDcimRearPortTemplatesListRequest {
- r.idIre = &idIre
- return r
-}
-
-// ID starts with
-func (r ApiDcimRearPortTemplatesListRequest) IdIsw(idIsw []string) ApiDcimRearPortTemplatesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
-// Exclude ID
-func (r ApiDcimRearPortTemplatesListRequest) IdN(idN []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) IdN(idN []string) ApiDcimRearPortsListRequest {
r.idN = &idN
return r
}
-// Exclude ID contains
-func (r ApiDcimRearPortTemplatesListRequest) IdNic(idNic []string) ApiDcimRearPortTemplatesListRequest {
- r.idNic = &idNic
- return r
-}
-
-// Exclude ID
-func (r ApiDcimRearPortTemplatesListRequest) IdNie(idNie []string) ApiDcimRearPortTemplatesListRequest {
- r.idNie = &idNie
- return r
-}
-
-// Exclude ID ends with
-func (r ApiDcimRearPortTemplatesListRequest) IdNiew(idNiew []string) ApiDcimRearPortTemplatesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-// Exclude ID matches regex
-func (r ApiDcimRearPortTemplatesListRequest) IdNire(idNire []string) ApiDcimRearPortTemplatesListRequest {
- r.idNire = &idNire
- return r
-}
-
-// Exclude ID starts with
-func (r ApiDcimRearPortTemplatesListRequest) IdNisw(idNisw []string) ApiDcimRearPortTemplatesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-// Exclude ID matches regex
-func (r ApiDcimRearPortTemplatesListRequest) IdNre(idNre []string) ApiDcimRearPortTemplatesListRequest {
- r.idNre = &idNre
- return r
-}
-
-// ID matches regex
-func (r ApiDcimRearPortTemplatesListRequest) IdRe(idRe []string) ApiDcimRearPortTemplatesListRequest {
- r.idRe = &idRe
- return r
-}
-
-// Label
-func (r ApiDcimRearPortTemplatesListRequest) Label(label []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) Label(label []string) ApiDcimRearPortsListRequest {
r.label = &label
return r
}
-// Label
-func (r ApiDcimRearPortTemplatesListRequest) LabelIc(labelIc []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) LabelIc(labelIc []string) ApiDcimRearPortsListRequest {
r.labelIc = &labelIc
return r
}
-// Label
-func (r ApiDcimRearPortTemplatesListRequest) LabelIe(labelIe []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) LabelIe(labelIe []string) ApiDcimRearPortsListRequest {
r.labelIe = &labelIe
return r
}
-// Label
-func (r ApiDcimRearPortTemplatesListRequest) LabelIew(labelIew []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) LabelIew(labelIew []string) ApiDcimRearPortsListRequest {
r.labelIew = &labelIew
return r
}
-// Label
-func (r ApiDcimRearPortTemplatesListRequest) LabelIre(labelIre []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) LabelIre(labelIre []string) ApiDcimRearPortsListRequest {
r.labelIre = &labelIre
return r
}
-// Label
-func (r ApiDcimRearPortTemplatesListRequest) LabelIsw(labelIsw []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) LabelIsw(labelIsw []string) ApiDcimRearPortsListRequest {
r.labelIsw = &labelIsw
return r
}
-// Label
-func (r ApiDcimRearPortTemplatesListRequest) LabelN(labelN []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) LabelN(labelN []string) ApiDcimRearPortsListRequest {
r.labelN = &labelN
return r
}
-// Label
-func (r ApiDcimRearPortTemplatesListRequest) LabelNic(labelNic []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) LabelNic(labelNic []string) ApiDcimRearPortsListRequest {
r.labelNic = &labelNic
return r
}
-// Label
-func (r ApiDcimRearPortTemplatesListRequest) LabelNie(labelNie []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) LabelNie(labelNie []string) ApiDcimRearPortsListRequest {
r.labelNie = &labelNie
return r
}
-// Label
-func (r ApiDcimRearPortTemplatesListRequest) LabelNiew(labelNiew []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) LabelNiew(labelNiew []string) ApiDcimRearPortsListRequest {
r.labelNiew = &labelNiew
return r
}
-// Label
-func (r ApiDcimRearPortTemplatesListRequest) LabelNire(labelNire []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) LabelNire(labelNire []string) ApiDcimRearPortsListRequest {
r.labelNire = &labelNire
return r
}
-// Label
-func (r ApiDcimRearPortTemplatesListRequest) LabelNisw(labelNisw []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) LabelNisw(labelNisw []string) ApiDcimRearPortsListRequest {
r.labelNisw = &labelNisw
return r
}
-// Label
-func (r ApiDcimRearPortTemplatesListRequest) LabelNre(labelNre []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) LabelNre(labelNre []string) ApiDcimRearPortsListRequest {
r.labelNre = &labelNre
return r
}
-// Label
-func (r ApiDcimRearPortTemplatesListRequest) LabelRe(labelRe []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) LabelRe(labelRe []string) ApiDcimRearPortsListRequest {
r.labelRe = &labelRe
return r
}
// Number of results to return per page.
-func (r ApiDcimRearPortTemplatesListRequest) Limit(limit int32) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) Limit(limit int32) ApiDcimRearPortsListRequest {
r.limit = &limit
return r
}
-func (r ApiDcimRearPortTemplatesListRequest) ModuleType(moduleType []string) ApiDcimRearPortTemplatesListRequest {
- r.moduleType = &moduleType
+func (r ApiDcimRearPortsListRequest) Location(location []string) ApiDcimRearPortsListRequest {
+ r.location = &location
return r
}
-// Module type (model or ID) is null
-func (r ApiDcimRearPortTemplatesListRequest) ModuleTypeIsnull(moduleTypeIsnull bool) ApiDcimRearPortTemplatesListRequest {
- r.moduleTypeIsnull = &moduleTypeIsnull
+func (r ApiDcimRearPortsListRequest) LocationN(locationN []string) ApiDcimRearPortsListRequest {
+ r.locationN = &locationN
return r
}
-func (r ApiDcimRearPortTemplatesListRequest) ModuleTypeN(moduleTypeN []string) ApiDcimRearPortTemplatesListRequest {
- r.moduleTypeN = &moduleTypeN
+func (r ApiDcimRearPortsListRequest) Module(module []string) ApiDcimRearPortsListRequest {
+ r.module = &module
return r
}
-// Name
-func (r ApiDcimRearPortTemplatesListRequest) Name(name []string) ApiDcimRearPortTemplatesListRequest {
+// Module (model or ID) is null
+func (r ApiDcimRearPortsListRequest) ModuleIsnull(moduleIsnull bool) ApiDcimRearPortsListRequest {
+ r.moduleIsnull = &moduleIsnull
+ return r
+}
+
+func (r ApiDcimRearPortsListRequest) ModuleN(moduleN []string) ApiDcimRearPortsListRequest {
+ r.moduleN = &moduleN
+ return r
+}
+
+func (r ApiDcimRearPortsListRequest) Name(name []string) ApiDcimRearPortsListRequest {
r.name = &name
return r
}
-// Name
-func (r ApiDcimRearPortTemplatesListRequest) NameIc(nameIc []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) NameIc(nameIc []string) ApiDcimRearPortsListRequest {
r.nameIc = &nameIc
return r
}
-// Name
-func (r ApiDcimRearPortTemplatesListRequest) NameIe(nameIe []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) NameIe(nameIe []string) ApiDcimRearPortsListRequest {
r.nameIe = &nameIe
return r
}
-// Name
-func (r ApiDcimRearPortTemplatesListRequest) NameIew(nameIew []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) NameIew(nameIew []string) ApiDcimRearPortsListRequest {
r.nameIew = &nameIew
return r
}
-// Name
-func (r ApiDcimRearPortTemplatesListRequest) NameIre(nameIre []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) NameIre(nameIre []string) ApiDcimRearPortsListRequest {
r.nameIre = &nameIre
return r
}
-// Name
-func (r ApiDcimRearPortTemplatesListRequest) NameIsw(nameIsw []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) NameIsw(nameIsw []string) ApiDcimRearPortsListRequest {
r.nameIsw = &nameIsw
return r
}
-// Name
-func (r ApiDcimRearPortTemplatesListRequest) NameN(nameN []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) NameN(nameN []string) ApiDcimRearPortsListRequest {
r.nameN = &nameN
return r
}
-// Name
-func (r ApiDcimRearPortTemplatesListRequest) NameNic(nameNic []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) NameNic(nameNic []string) ApiDcimRearPortsListRequest {
r.nameNic = &nameNic
return r
}
-// Name
-func (r ApiDcimRearPortTemplatesListRequest) NameNie(nameNie []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) NameNie(nameNie []string) ApiDcimRearPortsListRequest {
r.nameNie = &nameNie
return r
}
-// Name
-func (r ApiDcimRearPortTemplatesListRequest) NameNiew(nameNiew []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) NameNiew(nameNiew []string) ApiDcimRearPortsListRequest {
r.nameNiew = &nameNiew
return r
}
-// Name
-func (r ApiDcimRearPortTemplatesListRequest) NameNire(nameNire []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) NameNire(nameNire []string) ApiDcimRearPortsListRequest {
r.nameNire = &nameNire
return r
}
-// Name
-func (r ApiDcimRearPortTemplatesListRequest) NameNisw(nameNisw []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) NameNisw(nameNisw []string) ApiDcimRearPortsListRequest {
r.nameNisw = &nameNisw
return r
}
-// Name
-func (r ApiDcimRearPortTemplatesListRequest) NameNre(nameNre []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) NameNre(nameNre []string) ApiDcimRearPortsListRequest {
r.nameNre = &nameNre
return r
}
-// Name
-func (r ApiDcimRearPortTemplatesListRequest) NameRe(nameRe []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) NameRe(nameRe []string) ApiDcimRearPortsListRequest {
r.nameRe = &nameRe
return r
}
// The initial index from which to return the results.
-func (r ApiDcimRearPortTemplatesListRequest) Offset(offset int32) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) Offset(offset int32) ApiDcimRearPortsListRequest {
r.offset = &offset
return r
}
-func (r ApiDcimRearPortTemplatesListRequest) Positions(positions []int32) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) Positions(positions []int32) ApiDcimRearPortsListRequest {
r.positions = &positions
return r
}
-func (r ApiDcimRearPortTemplatesListRequest) PositionsGt(positionsGt []int32) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) PositionsGt(positionsGt []int32) ApiDcimRearPortsListRequest {
r.positionsGt = &positionsGt
return r
}
-func (r ApiDcimRearPortTemplatesListRequest) PositionsGte(positionsGte []int32) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) PositionsGte(positionsGte []int32) ApiDcimRearPortsListRequest {
r.positionsGte = &positionsGte
return r
}
-func (r ApiDcimRearPortTemplatesListRequest) PositionsLt(positionsLt []int32) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) PositionsLt(positionsLt []int32) ApiDcimRearPortsListRequest {
r.positionsLt = &positionsLt
return r
}
-func (r ApiDcimRearPortTemplatesListRequest) PositionsLte(positionsLte []int32) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) PositionsLte(positionsLte []int32) ApiDcimRearPortsListRequest {
r.positionsLte = &positionsLte
return r
}
-func (r ApiDcimRearPortTemplatesListRequest) PositionsN(positionsN []int32) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) PositionsN(positionsN []int32) ApiDcimRearPortsListRequest {
r.positionsN = &positionsN
return r
}
// Search
-func (r ApiDcimRearPortTemplatesListRequest) Q(q string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) Q(q string) ApiDcimRearPortsListRequest {
r.q = &q
return r
}
// Which field to use when ordering the results.
-func (r ApiDcimRearPortTemplatesListRequest) Sort(sort string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) Sort(sort string) ApiDcimRearPortsListRequest {
r.sort = &sort
return r
}
-func (r ApiDcimRearPortTemplatesListRequest) Teams(teams []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) Tags(tags []string) ApiDcimRearPortsListRequest {
+ r.tags = &tags
+ return r
+}
+
+func (r ApiDcimRearPortsListRequest) TagsIsnull(tagsIsnull bool) ApiDcimRearPortsListRequest {
+ r.tagsIsnull = &tagsIsnull
+ return r
+}
+
+func (r ApiDcimRearPortsListRequest) TagsN(tagsN []string) ApiDcimRearPortsListRequest {
+ r.tagsN = &tagsN
+ return r
+}
+
+func (r ApiDcimRearPortsListRequest) Teams(teams []string) ApiDcimRearPortsListRequest {
r.teams = &teams
return r
}
// Teams (name or ID) is null
-func (r ApiDcimRearPortTemplatesListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimRearPortsListRequest {
r.teamsIsnull = &teamsIsnull
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimRearPortTemplatesListRequest) TeamsN(teamsN string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) TeamsN(teamsN []string) ApiDcimRearPortsListRequest {
r.teamsN = &teamsN
return r
}
-func (r ApiDcimRearPortTemplatesListRequest) Type_(type_ []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) Type_(type_ []string) ApiDcimRearPortsListRequest {
r.type_ = &type_
return r
}
-func (r ApiDcimRearPortTemplatesListRequest) TypeIc(typeIc []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) TypeIc(typeIc []string) ApiDcimRearPortsListRequest {
r.typeIc = &typeIc
return r
}
-func (r ApiDcimRearPortTemplatesListRequest) TypeIe(typeIe []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) TypeIe(typeIe []string) ApiDcimRearPortsListRequest {
r.typeIe = &typeIe
return r
}
-func (r ApiDcimRearPortTemplatesListRequest) TypeIew(typeIew []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) TypeIew(typeIew []string) ApiDcimRearPortsListRequest {
r.typeIew = &typeIew
return r
}
-func (r ApiDcimRearPortTemplatesListRequest) TypeIre(typeIre []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) TypeIre(typeIre []string) ApiDcimRearPortsListRequest {
r.typeIre = &typeIre
return r
}
-func (r ApiDcimRearPortTemplatesListRequest) TypeIsw(typeIsw []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) TypeIsw(typeIsw []string) ApiDcimRearPortsListRequest {
r.typeIsw = &typeIsw
return r
}
-func (r ApiDcimRearPortTemplatesListRequest) TypeN(typeN []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) TypeN(typeN []string) ApiDcimRearPortsListRequest {
r.typeN = &typeN
return r
}
-func (r ApiDcimRearPortTemplatesListRequest) TypeNic(typeNic []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) TypeNic(typeNic []string) ApiDcimRearPortsListRequest {
r.typeNic = &typeNic
return r
}
-func (r ApiDcimRearPortTemplatesListRequest) TypeNie(typeNie []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) TypeNie(typeNie []string) ApiDcimRearPortsListRequest {
r.typeNie = &typeNie
return r
}
-func (r ApiDcimRearPortTemplatesListRequest) TypeNiew(typeNiew []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) TypeNiew(typeNiew []string) ApiDcimRearPortsListRequest {
r.typeNiew = &typeNiew
return r
}
-func (r ApiDcimRearPortTemplatesListRequest) TypeNire(typeNire []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) TypeNire(typeNire []string) ApiDcimRearPortsListRequest {
r.typeNire = &typeNire
return r
}
-func (r ApiDcimRearPortTemplatesListRequest) TypeNisw(typeNisw []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) TypeNisw(typeNisw []string) ApiDcimRearPortsListRequest {
r.typeNisw = &typeNisw
return r
}
-func (r ApiDcimRearPortTemplatesListRequest) TypeNre(typeNre []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) TypeNre(typeNre []string) ApiDcimRearPortsListRequest {
r.typeNre = &typeNre
return r
}
-func (r ApiDcimRearPortTemplatesListRequest) TypeRe(typeRe []string) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) TypeRe(typeRe []string) ApiDcimRearPortsListRequest {
r.typeRe = &typeRe
return r
}
// Serializer Depth
-func (r ApiDcimRearPortTemplatesListRequest) Depth(depth int32) ApiDcimRearPortTemplatesListRequest {
+func (r ApiDcimRearPortsListRequest) Depth(depth int32) ApiDcimRearPortsListRequest {
r.depth = &depth
return r
}
-func (r ApiDcimRearPortTemplatesListRequest) Execute() (*PaginatedRearPortTemplateList, *http.Response, error) {
- return r.ApiService.DcimRearPortTemplatesListExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimRearPortsListRequest) ExcludeM2m(excludeM2m bool) ApiDcimRearPortsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimRearPortsListRequest) Execute() (*PaginatedRearPortList, *http.Response, error) {
+ return r.ApiService.DcimRearPortsListExecute(r)
}
/*
-DcimRearPortTemplatesList Method for DcimRearPortTemplatesList
+DcimRearPortsList Method for DcimRearPortsList
-Retrieve a list of rear port template objects.
+Retrieve a list of rear port objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimRearPortTemplatesListRequest
+ @return ApiDcimRearPortsListRequest
*/
-func (a *DcimAPIService) DcimRearPortTemplatesList(ctx context.Context) ApiDcimRearPortTemplatesListRequest {
- return ApiDcimRearPortTemplatesListRequest{
+func (a *DcimAPIService) DcimRearPortsList(ctx context.Context) ApiDcimRearPortsListRequest {
+ return ApiDcimRearPortsListRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return PaginatedRearPortTemplateList
-func (a *DcimAPIService) DcimRearPortTemplatesListExecute(r ApiDcimRearPortTemplatesListRequest) (*PaginatedRearPortTemplateList, *http.Response, error) {
+// @return PaginatedRearPortList
+func (a *DcimAPIService) DcimRearPortsListExecute(r ApiDcimRearPortsListRequest) (*PaginatedRearPortList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PaginatedRearPortTemplateList
+ localVarReturnValue *PaginatedRearPortList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortTemplatesList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortsList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rear-port-templates/"
+ localVarPath := localBasePath + "/dcim/rear-ports/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
+ if r.cable != nil {
+ t := *r.cable
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "cable", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "cable", t, "form", "multi")
+ }
+ }
+ if r.cableIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "cable__isnull", r.cableIsnull, "form", "")
+ }
+ if r.cableN != nil {
+ t := *r.cableN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "cable__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "cable__n", t, "form", "multi")
+ }
+ }
if r.contacts != nil {
t := *r.contacts
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -127231,7 +127567,15 @@ func (a *DcimAPIService) DcimRearPortTemplatesListExecute(r ApiDcimRearPortTempl
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.description != nil {
t := *r.description
@@ -127387,81 +127731,72 @@ func (a *DcimAPIService) DcimRearPortTemplatesListExecute(r ApiDcimRearPortTempl
parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", t, "form", "multi")
}
}
- if r.deviceType != nil {
- t := *r.deviceType
+ if r.device != nil {
+ t := *r.device
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device_type", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device_type", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device", t, "form", "multi")
}
}
- if r.deviceTypeIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device_type__isnull", r.deviceTypeIsnull, "form", "")
- }
- if r.deviceTypeN != nil {
- t := *r.deviceTypeN
+ if r.dynamicGroups != nil {
+ t := *r.dynamicGroups
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device_type__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device_type__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
}
}
- if r.dynamicGroups != nil {
- t := *r.dynamicGroups
+ if r.dynamicGroupsN != nil {
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.frontPortTemplates != nil {
- t := *r.frontPortTemplates
+ if r.frontPorts != nil {
+ t := *r.frontPorts
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "front_port_templates", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "front_ports", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "front_port_templates", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "front_ports", t, "form", "multi")
}
}
- if r.frontPortTemplatesIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "front_port_templates__isnull", r.frontPortTemplatesIsnull, "form", "")
+ if r.frontPortsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "front_ports__isnull", r.frontPortsIsnull, "form", "")
}
- if r.frontPortTemplatesN != nil {
- t := *r.frontPortTemplatesN
+ if r.frontPortsN != nil {
+ t := *r.frontPortsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "front_port_templates__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "front_ports__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "front_port_templates__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "front_ports__n", t, "form", "multi")
}
}
- if r.hasDeviceType != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_device_type", r.hasDeviceType, "form", "")
- }
- if r.hasFrontPortTemplates != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_front_port_templates", r.hasFrontPortTemplates, "form", "")
+ if r.hasCable != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_cable", r.hasCable, "form", "")
}
- if r.hasModuleType != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_module_type", r.hasModuleType, "form", "")
+ if r.hasFrontPorts != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_front_ports", r.hasFrontPorts, "form", "")
}
if r.id != nil {
t := *r.id
@@ -127474,61 +127809,6 @@ func (a *DcimAPIService) DcimRearPortTemplatesListExecute(r ApiDcimRearPortTempl
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -127540,83 +127820,6 @@ func (a *DcimAPIService) DcimRearPortTemplatesListExecute(r ApiDcimRearPortTempl
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.label != nil {
t := *r.label
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -127774,29 +127977,51 @@ func (a *DcimAPIService) DcimRearPortTemplatesListExecute(r ApiDcimRearPortTempl
if r.limit != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
- if r.moduleType != nil {
- t := *r.moduleType
+ if r.location != nil {
+ t := *r.location
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module_type", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module_type", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location", t, "form", "multi")
}
}
- if r.moduleTypeIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module_type__isnull", r.moduleTypeIsnull, "form", "")
+ if r.locationN != nil {
+ t := *r.locationN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", t, "form", "multi")
+ }
}
- if r.moduleTypeN != nil {
- t := *r.moduleTypeN
+ if r.module != nil {
+ t := *r.module
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module_type__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module_type__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module", t, "form", "multi")
+ }
+ }
+ if r.moduleIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module__isnull", r.moduleIsnull, "form", "")
+ }
+ if r.moduleN != nil {
+ t := *r.moduleN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "module__n", t, "form", "multi")
}
}
if r.name != nil {
@@ -128028,6 +128253,31 @@ func (a *DcimAPIService) DcimRearPortTemplatesListExecute(r ApiDcimRearPortTempl
if r.sort != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
}
+ if r.tags != nil {
+ t := *r.tags
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags", t, "form", "multi")
+ }
+ }
+ if r.tagsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__isnull", r.tagsIsnull, "form", "")
+ }
+ if r.tagsN != nil {
+ t := *r.tagsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", t, "form", "multi")
+ }
+ }
if r.teams != nil {
t := *r.teams
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -128043,7 +128293,15 @@ func (a *DcimAPIService) DcimRearPortTemplatesListExecute(r ApiDcimRearPortTempl
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.type_ != nil {
t := *r.type_
@@ -128202,8 +128460,16 @@ func (a *DcimAPIService) DcimRearPortTemplatesListExecute(r ApiDcimRearPortTempl
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -128273,7 +128539,7 @@ func (a *DcimAPIService) DcimRearPortTemplatesListExecute(r ApiDcimRearPortTempl
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRearPortTemplatesNotesCreateRequest struct {
+type ApiDcimRearPortsNotesCreateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
@@ -128281,31 +128547,190 @@ type ApiDcimRearPortTemplatesNotesCreateRequest struct {
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimRearPortTemplatesNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimRearPortTemplatesNotesCreateRequest {
- r.noteInputRequest = ¬eInputRequest
+func (r ApiDcimRearPortsNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimRearPortsNotesCreateRequest {
+ r.noteInputRequest = ¬eInputRequest
+ return r
+}
+
+func (r ApiDcimRearPortsNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortsNotesCreateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiDcimRearPortsNotesCreateRequest) Execute() (*Note, *http.Response, error) {
+ return r.ApiService.DcimRearPortsNotesCreateExecute(r)
+}
+
+/*
+DcimRearPortsNotesCreate Method for DcimRearPortsNotesCreate
+
+API methods for returning or creating notes on an object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this rear port.
+ @return ApiDcimRearPortsNotesCreateRequest
+*/
+func (a *DcimAPIService) DcimRearPortsNotesCreate(ctx context.Context, id string) ApiDcimRearPortsNotesCreateRequest {
+ return ApiDcimRearPortsNotesCreateRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return Note
+func (a *DcimAPIService) DcimRearPortsNotesCreateExecute(r ApiDcimRearPortsNotesCreateRequest) (*Note, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPost
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *Note
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortsNotesCreate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/dcim/rear-ports/{id}/notes/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.noteInputRequest == nil {
+ return localVarReturnValue, nil, reportError("noteInputRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.noteInputRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiDcimRearPortsNotesListRequest struct {
+ ctx context.Context
+ ApiService *DcimAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ limit *int32
+ offset *int32
+ depth *int32
+ excludeM2m *bool
+}
+
+func (r ApiDcimRearPortsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortsNotesListRequest {
+ r.format = &format
+ return r
+}
+
+// Number of results to return per page.
+func (r ApiDcimRearPortsNotesListRequest) Limit(limit int32) ApiDcimRearPortsNotesListRequest {
+ r.limit = &limit
+ return r
+}
+
+// The initial index from which to return the results.
+func (r ApiDcimRearPortsNotesListRequest) Offset(offset int32) ApiDcimRearPortsNotesListRequest {
+ r.offset = &offset
+ return r
+}
+
+// Serializer Depth
+func (r ApiDcimRearPortsNotesListRequest) Depth(depth int32) ApiDcimRearPortsNotesListRequest {
+ r.depth = &depth
return r
}
-func (r ApiDcimRearPortTemplatesNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortTemplatesNotesCreateRequest {
- r.format = &format
+// Exclude many-to-many fields from the response
+func (r ApiDcimRearPortsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimRearPortsNotesListRequest {
+ r.excludeM2m = &excludeM2m
return r
}
-func (r ApiDcimRearPortTemplatesNotesCreateRequest) Execute() (*Note, *http.Response, error) {
- return r.ApiService.DcimRearPortTemplatesNotesCreateExecute(r)
+func (r ApiDcimRearPortsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
+ return r.ApiService.DcimRearPortsNotesListExecute(r)
}
/*
-DcimRearPortTemplatesNotesCreate Method for DcimRearPortTemplatesNotesCreate
+DcimRearPortsNotesList Method for DcimRearPortsNotesList
API methods for returning or creating notes on an object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this rear port template.
- @return ApiDcimRearPortTemplatesNotesCreateRequest
+ @param id A UUID string identifying this rear port.
+ @return ApiDcimRearPortsNotesListRequest
*/
-func (a *DcimAPIService) DcimRearPortTemplatesNotesCreate(ctx context.Context, id string) ApiDcimRearPortTemplatesNotesCreateRequest {
- return ApiDcimRearPortTemplatesNotesCreateRequest{
+func (a *DcimAPIService) DcimRearPortsNotesList(ctx context.Context, id string) ApiDcimRearPortsNotesListRequest {
+ return ApiDcimRearPortsNotesListRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -128313,35 +128738,52 @@ func (a *DcimAPIService) DcimRearPortTemplatesNotesCreate(ctx context.Context, i
}
// Execute executes the request
-// @return Note
-func (a *DcimAPIService) DcimRearPortTemplatesNotesCreateExecute(r ApiDcimRearPortTemplatesNotesCreateRequest) (*Note, *http.Response, error) {
+// @return PaginatedNoteList
+func (a *DcimAPIService) DcimRearPortsNotesListExecute(r ApiDcimRearPortsNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPost
+ localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *Note
+ localVarReturnValue *PaginatedNoteList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortTemplatesNotesCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortsNotesList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rear-port-templates/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/rear-ports/{id}/notes/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.noteInputRequest == nil {
- return localVarReturnValue, nil, reportError("noteInputRequest is required and must be specified")
- }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ }
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+ localVarHTTPContentTypes := []string{}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -128357,8 +128799,6 @@ func (a *DcimAPIService) DcimRearPortTemplatesNotesCreateExecute(r ApiDcimRearPo
if localVarHTTPHeaderAccept != "" {
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
- // body params
- localVarPostBody = r.noteInputRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -128410,54 +128850,39 @@ func (a *DcimAPIService) DcimRearPortTemplatesNotesCreateExecute(r ApiDcimRearPo
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRearPortTemplatesNotesListRequest struct {
+type ApiDcimRearPortsPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
- limit *int32
- offset *int32
- depth *int32
+ patchedWritableRearPortRequest *PatchedWritableRearPortRequest
}
-func (r ApiDcimRearPortTemplatesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortTemplatesNotesListRequest {
+func (r ApiDcimRearPortsPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortsPartialUpdateRequest {
r.format = &format
return r
}
-// Number of results to return per page.
-func (r ApiDcimRearPortTemplatesNotesListRequest) Limit(limit int32) ApiDcimRearPortTemplatesNotesListRequest {
- r.limit = &limit
- return r
-}
-
-// The initial index from which to return the results.
-func (r ApiDcimRearPortTemplatesNotesListRequest) Offset(offset int32) ApiDcimRearPortTemplatesNotesListRequest {
- r.offset = &offset
- return r
-}
-
-// Serializer Depth
-func (r ApiDcimRearPortTemplatesNotesListRequest) Depth(depth int32) ApiDcimRearPortTemplatesNotesListRequest {
- r.depth = &depth
+func (r ApiDcimRearPortsPartialUpdateRequest) PatchedWritableRearPortRequest(patchedWritableRearPortRequest PatchedWritableRearPortRequest) ApiDcimRearPortsPartialUpdateRequest {
+ r.patchedWritableRearPortRequest = &patchedWritableRearPortRequest
return r
}
-func (r ApiDcimRearPortTemplatesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
- return r.ApiService.DcimRearPortTemplatesNotesListExecute(r)
+func (r ApiDcimRearPortsPartialUpdateRequest) Execute() (*RearPort, *http.Response, error) {
+ return r.ApiService.DcimRearPortsPartialUpdateExecute(r)
}
/*
-DcimRearPortTemplatesNotesList Method for DcimRearPortTemplatesNotesList
+DcimRearPortsPartialUpdate Method for DcimRearPortsPartialUpdate
-API methods for returning or creating notes on an object.
+Partial update a rear port object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this rear port template.
- @return ApiDcimRearPortTemplatesNotesListRequest
+ @param id A UUID string identifying this rear port.
+ @return ApiDcimRearPortsPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimRearPortTemplatesNotesList(ctx context.Context, id string) ApiDcimRearPortTemplatesNotesListRequest {
- return ApiDcimRearPortTemplatesNotesListRequest{
+func (a *DcimAPIService) DcimRearPortsPartialUpdate(ctx context.Context, id string) ApiDcimRearPortsPartialUpdateRequest {
+ return ApiDcimRearPortsPartialUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -128465,21 +128890,21 @@ func (a *DcimAPIService) DcimRearPortTemplatesNotesList(ctx context.Context, id
}
// Execute executes the request
-// @return PaginatedNoteList
-func (a *DcimAPIService) DcimRearPortTemplatesNotesListExecute(r ApiDcimRearPortTemplatesNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
+// @return RearPort
+func (a *DcimAPIService) DcimRearPortsPartialUpdateExecute(r ApiDcimRearPortsPartialUpdateRequest) (*RearPort, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodGet
+ localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PaginatedNoteList
+ localVarReturnValue *RearPort
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortTemplatesNotesList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortsPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rear-port-templates/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/rear-ports/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -128489,20 +128914,8 @@ func (a *DcimAPIService) DcimRearPortTemplatesNotesListExecute(r ApiDcimRearPort
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
- }
- if r.offset != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
- }
- if r.depth != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
- } else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
- }
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -128518,6 +128931,8 @@ func (a *DcimAPIService) DcimRearPortTemplatesNotesListExecute(r ApiDcimRearPort
if localVarHTTPHeaderAccept != "" {
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
+ // body params
+ localVarPostBody = r.patchedWritableRearPortRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -128569,39 +128984,61 @@ func (a *DcimAPIService) DcimRearPortTemplatesNotesListExecute(r ApiDcimRearPort
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRearPortTemplatesPartialUpdateRequest struct {
+type ApiDcimRearPortsPathsListRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
- patchedWritableRearPortTemplateRequest *PatchedWritableRearPortTemplateRequest
+ limit *int32
+ offset *int32
+ depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimRearPortTemplatesPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortTemplatesPartialUpdateRequest {
+func (r ApiDcimRearPortsPathsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortsPathsListRequest {
r.format = &format
return r
}
-func (r ApiDcimRearPortTemplatesPartialUpdateRequest) PatchedWritableRearPortTemplateRequest(patchedWritableRearPortTemplateRequest PatchedWritableRearPortTemplateRequest) ApiDcimRearPortTemplatesPartialUpdateRequest {
- r.patchedWritableRearPortTemplateRequest = &patchedWritableRearPortTemplateRequest
+// Number of results to return per page.
+func (r ApiDcimRearPortsPathsListRequest) Limit(limit int32) ApiDcimRearPortsPathsListRequest {
+ r.limit = &limit
return r
}
-func (r ApiDcimRearPortTemplatesPartialUpdateRequest) Execute() (*RearPortTemplate, *http.Response, error) {
- return r.ApiService.DcimRearPortTemplatesPartialUpdateExecute(r)
+// The initial index from which to return the results.
+func (r ApiDcimRearPortsPathsListRequest) Offset(offset int32) ApiDcimRearPortsPathsListRequest {
+ r.offset = &offset
+ return r
+}
+
+// Serializer Depth
+func (r ApiDcimRearPortsPathsListRequest) Depth(depth int32) ApiDcimRearPortsPathsListRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiDcimRearPortsPathsListRequest) ExcludeM2m(excludeM2m bool) ApiDcimRearPortsPathsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimRearPortsPathsListRequest) Execute() (*PaginatedCablePathList, *http.Response, error) {
+ return r.ApiService.DcimRearPortsPathsListExecute(r)
}
/*
-DcimRearPortTemplatesPartialUpdate Method for DcimRearPortTemplatesPartialUpdate
+DcimRearPortsPathsList Method for DcimRearPortsPathsList
-Partial update a rear port template object.
+Return all CablePaths which traverse a given pass-through port.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this rear port template.
- @return ApiDcimRearPortTemplatesPartialUpdateRequest
+ @param id A UUID string identifying this rear port.
+ @return ApiDcimRearPortsPathsListRequest
*/
-func (a *DcimAPIService) DcimRearPortTemplatesPartialUpdate(ctx context.Context, id string) ApiDcimRearPortTemplatesPartialUpdateRequest {
- return ApiDcimRearPortTemplatesPartialUpdateRequest{
+func (a *DcimAPIService) DcimRearPortsPathsList(ctx context.Context, id string) ApiDcimRearPortsPathsListRequest {
+ return ApiDcimRearPortsPathsListRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -128609,21 +129046,21 @@ func (a *DcimAPIService) DcimRearPortTemplatesPartialUpdate(ctx context.Context,
}
// Execute executes the request
-// @return RearPortTemplate
-func (a *DcimAPIService) DcimRearPortTemplatesPartialUpdateExecute(r ApiDcimRearPortTemplatesPartialUpdateRequest) (*RearPortTemplate, *http.Response, error) {
+// @return PaginatedCablePathList
+func (a *DcimAPIService) DcimRearPortsPathsListExecute(r ApiDcimRearPortsPathsListRequest) (*PaginatedCablePathList, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPatch
+ localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *RearPortTemplate
+ localVarReturnValue *PaginatedCablePathList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortTemplatesPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortsPathsList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rear-port-templates/{id}/"
+ localVarPath := localBasePath + "/dcim/rear-ports/{id}/paths/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -128633,8 +129070,28 @@ func (a *DcimAPIService) DcimRearPortTemplatesPartialUpdateExecute(r ApiDcimRear
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ }
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+ localVarHTTPContentTypes := []string{}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -128650,8 +129107,6 @@ func (a *DcimAPIService) DcimRearPortTemplatesPartialUpdateExecute(r ApiDcimRear
if localVarHTTPHeaderAccept != "" {
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
- // body params
- localVarPostBody = r.patchedWritableRearPortTemplateRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -128703,40 +129158,47 @@ func (a *DcimAPIService) DcimRearPortTemplatesPartialUpdateExecute(r ApiDcimRear
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRearPortTemplatesRetrieveRequest struct {
+type ApiDcimRearPortsRetrieveRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimRearPortTemplatesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortTemplatesRetrieveRequest {
+func (r ApiDcimRearPortsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortsRetrieveRequest {
r.format = &format
return r
}
// Serializer Depth
-func (r ApiDcimRearPortTemplatesRetrieveRequest) Depth(depth int32) ApiDcimRearPortTemplatesRetrieveRequest {
+func (r ApiDcimRearPortsRetrieveRequest) Depth(depth int32) ApiDcimRearPortsRetrieveRequest {
r.depth = &depth
return r
}
-func (r ApiDcimRearPortTemplatesRetrieveRequest) Execute() (*RearPortTemplate, *http.Response, error) {
- return r.ApiService.DcimRearPortTemplatesRetrieveExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimRearPortsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimRearPortsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimRearPortsRetrieveRequest) Execute() (*RearPort, *http.Response, error) {
+ return r.ApiService.DcimRearPortsRetrieveExecute(r)
}
/*
-DcimRearPortTemplatesRetrieve Method for DcimRearPortTemplatesRetrieve
+DcimRearPortsRetrieve Method for DcimRearPortsRetrieve
-Retrieve a rear port template object.
+Retrieve a rear port object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this rear port template.
- @return ApiDcimRearPortTemplatesRetrieveRequest
+ @param id A UUID string identifying this rear port.
+ @return ApiDcimRearPortsRetrieveRequest
*/
-func (a *DcimAPIService) DcimRearPortTemplatesRetrieve(ctx context.Context, id string) ApiDcimRearPortTemplatesRetrieveRequest {
- return ApiDcimRearPortTemplatesRetrieveRequest{
+func (a *DcimAPIService) DcimRearPortsRetrieve(ctx context.Context, id string) ApiDcimRearPortsRetrieveRequest {
+ return ApiDcimRearPortsRetrieveRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -128744,21 +129206,21 @@ func (a *DcimAPIService) DcimRearPortTemplatesRetrieve(ctx context.Context, id s
}
// Execute executes the request
-// @return RearPortTemplate
-func (a *DcimAPIService) DcimRearPortTemplatesRetrieveExecute(r ApiDcimRearPortTemplatesRetrieveRequest) (*RearPortTemplate, *http.Response, error) {
+// @return RearPort
+func (a *DcimAPIService) DcimRearPortsRetrieveExecute(r ApiDcimRearPortsRetrieveRequest) (*RearPort, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *RearPortTemplate
+ localVarReturnValue *RearPort
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortTemplatesRetrieve")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortsRetrieve")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rear-port-templates/{id}/"
+ localVarPath := localBasePath + "/dcim/rear-ports/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -128771,8 +129233,16 @@ func (a *DcimAPIService) DcimRearPortTemplatesRetrieveExecute(r ApiDcimRearPortT
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -128842,39 +129312,39 @@ func (a *DcimAPIService) DcimRearPortTemplatesRetrieveExecute(r ApiDcimRearPortT
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRearPortTemplatesUpdateRequest struct {
+type ApiDcimRearPortsUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
- writableRearPortTemplateRequest *WritableRearPortTemplateRequest
+ writableRearPortRequest *WritableRearPortRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimRearPortTemplatesUpdateRequest) WritableRearPortTemplateRequest(writableRearPortTemplateRequest WritableRearPortTemplateRequest) ApiDcimRearPortTemplatesUpdateRequest {
- r.writableRearPortTemplateRequest = &writableRearPortTemplateRequest
+func (r ApiDcimRearPortsUpdateRequest) WritableRearPortRequest(writableRearPortRequest WritableRearPortRequest) ApiDcimRearPortsUpdateRequest {
+ r.writableRearPortRequest = &writableRearPortRequest
return r
}
-func (r ApiDcimRearPortTemplatesUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortTemplatesUpdateRequest {
+func (r ApiDcimRearPortsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortsUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimRearPortTemplatesUpdateRequest) Execute() (*RearPortTemplate, *http.Response, error) {
- return r.ApiService.DcimRearPortTemplatesUpdateExecute(r)
+func (r ApiDcimRearPortsUpdateRequest) Execute() (*RearPort, *http.Response, error) {
+ return r.ApiService.DcimRearPortsUpdateExecute(r)
}
/*
-DcimRearPortTemplatesUpdate Method for DcimRearPortTemplatesUpdate
+DcimRearPortsUpdate Method for DcimRearPortsUpdate
-Update a rear port template object.
+Update a rear port object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this rear port template.
- @return ApiDcimRearPortTemplatesUpdateRequest
+ @param id A UUID string identifying this rear port.
+ @return ApiDcimRearPortsUpdateRequest
*/
-func (a *DcimAPIService) DcimRearPortTemplatesUpdate(ctx context.Context, id string) ApiDcimRearPortTemplatesUpdateRequest {
- return ApiDcimRearPortTemplatesUpdateRequest{
+func (a *DcimAPIService) DcimRearPortsUpdate(ctx context.Context, id string) ApiDcimRearPortsUpdateRequest {
+ return ApiDcimRearPortsUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -128882,28 +129352,28 @@ func (a *DcimAPIService) DcimRearPortTemplatesUpdate(ctx context.Context, id str
}
// Execute executes the request
-// @return RearPortTemplate
-func (a *DcimAPIService) DcimRearPortTemplatesUpdateExecute(r ApiDcimRearPortTemplatesUpdateRequest) (*RearPortTemplate, *http.Response, error) {
+// @return RearPort
+func (a *DcimAPIService) DcimRearPortsUpdateExecute(r ApiDcimRearPortsUpdateRequest) (*RearPort, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *RearPortTemplate
+ localVarReturnValue *RearPort
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortTemplatesUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortsUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rear-port-templates/{id}/"
+ localVarPath := localBasePath + "/dcim/rear-ports/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.writableRearPortTemplateRequest == nil {
- return localVarReturnValue, nil, reportError("writableRearPortTemplateRequest is required and must be specified")
+ if r.writableRearPortRequest == nil {
+ return localVarReturnValue, nil, reportError("writableRearPortRequest is required and must be specified")
}
if r.format != nil {
@@ -128927,7 +129397,7 @@ func (a *DcimAPIService) DcimRearPortTemplatesUpdateExecute(r ApiDcimRearPortTem
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.writableRearPortTemplateRequest
+ localVarPostBody = r.writableRearPortRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -128979,56 +129449,56 @@ func (a *DcimAPIService) DcimRearPortTemplatesUpdateExecute(r ApiDcimRearPortTem
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRearPortsBulkDestroyRequest struct {
+type ApiDcimSoftwareImageFilesBulkDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
bulkOperationRequest *[]BulkOperationRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimRearPortsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimRearPortsBulkDestroyRequest {
+func (r ApiDcimSoftwareImageFilesBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimSoftwareImageFilesBulkDestroyRequest {
r.bulkOperationRequest = &bulkOperationRequest
return r
}
-func (r ApiDcimRearPortsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortsBulkDestroyRequest {
+func (r ApiDcimSoftwareImageFilesBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareImageFilesBulkDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimRearPortsBulkDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimRearPortsBulkDestroyExecute(r)
+func (r ApiDcimSoftwareImageFilesBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimSoftwareImageFilesBulkDestroyExecute(r)
}
/*
-DcimRearPortsBulkDestroy Method for DcimRearPortsBulkDestroy
+DcimSoftwareImageFilesBulkDestroy Method for DcimSoftwareImageFilesBulkDestroy
-Destroy a list of rear port objects.
+Destroy a list of software image file objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimRearPortsBulkDestroyRequest
+ @return ApiDcimSoftwareImageFilesBulkDestroyRequest
*/
-func (a *DcimAPIService) DcimRearPortsBulkDestroy(ctx context.Context) ApiDcimRearPortsBulkDestroyRequest {
- return ApiDcimRearPortsBulkDestroyRequest{
+func (a *DcimAPIService) DcimSoftwareImageFilesBulkDestroy(ctx context.Context) ApiDcimSoftwareImageFilesBulkDestroyRequest {
+ return ApiDcimSoftwareImageFilesBulkDestroyRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-func (a *DcimAPIService) DcimRearPortsBulkDestroyExecute(r ApiDcimRearPortsBulkDestroyRequest) (*http.Response, error) {
+func (a *DcimAPIService) DcimSoftwareImageFilesBulkDestroyExecute(r ApiDcimSoftwareImageFilesBulkDestroyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortsBulkDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareImageFilesBulkDestroy")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rear-ports/"
+ localVarPath := localBasePath + "/dcim/software-image-files/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -129101,64 +129571,64 @@ func (a *DcimAPIService) DcimRearPortsBulkDestroyExecute(r ApiDcimRearPortsBulkD
return localVarHTTPResponse, nil
}
-type ApiDcimRearPortsBulkPartialUpdateRequest struct {
+type ApiDcimSoftwareImageFilesBulkPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- patchedBulkWritableRearPortRequest *[]PatchedBulkWritableRearPortRequest
+ patchedBulkWritableSoftwareImageFileRequest *[]PatchedBulkWritableSoftwareImageFileRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimRearPortsBulkPartialUpdateRequest) PatchedBulkWritableRearPortRequest(patchedBulkWritableRearPortRequest []PatchedBulkWritableRearPortRequest) ApiDcimRearPortsBulkPartialUpdateRequest {
- r.patchedBulkWritableRearPortRequest = &patchedBulkWritableRearPortRequest
+func (r ApiDcimSoftwareImageFilesBulkPartialUpdateRequest) PatchedBulkWritableSoftwareImageFileRequest(patchedBulkWritableSoftwareImageFileRequest []PatchedBulkWritableSoftwareImageFileRequest) ApiDcimSoftwareImageFilesBulkPartialUpdateRequest {
+ r.patchedBulkWritableSoftwareImageFileRequest = &patchedBulkWritableSoftwareImageFileRequest
return r
}
-func (r ApiDcimRearPortsBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortsBulkPartialUpdateRequest {
+func (r ApiDcimSoftwareImageFilesBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareImageFilesBulkPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimRearPortsBulkPartialUpdateRequest) Execute() ([]RearPort, *http.Response, error) {
- return r.ApiService.DcimRearPortsBulkPartialUpdateExecute(r)
+func (r ApiDcimSoftwareImageFilesBulkPartialUpdateRequest) Execute() ([]SoftwareImageFile, *http.Response, error) {
+ return r.ApiService.DcimSoftwareImageFilesBulkPartialUpdateExecute(r)
}
/*
-DcimRearPortsBulkPartialUpdate Method for DcimRearPortsBulkPartialUpdate
+DcimSoftwareImageFilesBulkPartialUpdate Method for DcimSoftwareImageFilesBulkPartialUpdate
-Partial update a list of rear port objects.
+Partial update a list of software image file objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimRearPortsBulkPartialUpdateRequest
+ @return ApiDcimSoftwareImageFilesBulkPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimRearPortsBulkPartialUpdate(ctx context.Context) ApiDcimRearPortsBulkPartialUpdateRequest {
- return ApiDcimRearPortsBulkPartialUpdateRequest{
+func (a *DcimAPIService) DcimSoftwareImageFilesBulkPartialUpdate(ctx context.Context) ApiDcimSoftwareImageFilesBulkPartialUpdateRequest {
+ return ApiDcimSoftwareImageFilesBulkPartialUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []RearPort
-func (a *DcimAPIService) DcimRearPortsBulkPartialUpdateExecute(r ApiDcimRearPortsBulkPartialUpdateRequest) ([]RearPort, *http.Response, error) {
+// @return []SoftwareImageFile
+func (a *DcimAPIService) DcimSoftwareImageFilesBulkPartialUpdateExecute(r ApiDcimSoftwareImageFilesBulkPartialUpdateRequest) ([]SoftwareImageFile, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []RearPort
+ localVarReturnValue []SoftwareImageFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortsBulkPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareImageFilesBulkPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rear-ports/"
+ localVarPath := localBasePath + "/dcim/software-image-files/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.patchedBulkWritableRearPortRequest == nil {
- return localVarReturnValue, nil, reportError("patchedBulkWritableRearPortRequest is required and must be specified")
+ if r.patchedBulkWritableSoftwareImageFileRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritableSoftwareImageFileRequest is required and must be specified")
}
if r.format != nil {
@@ -129182,7 +129652,7 @@ func (a *DcimAPIService) DcimRearPortsBulkPartialUpdateExecute(r ApiDcimRearPort
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedBulkWritableRearPortRequest
+ localVarPostBody = r.patchedBulkWritableSoftwareImageFileRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -129234,64 +129704,64 @@ func (a *DcimAPIService) DcimRearPortsBulkPartialUpdateExecute(r ApiDcimRearPort
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRearPortsBulkUpdateRequest struct {
+type ApiDcimSoftwareImageFilesBulkUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- bulkWritableRearPortRequest *[]BulkWritableRearPortRequest
+ bulkWritableSoftwareImageFileRequest *[]BulkWritableSoftwareImageFileRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimRearPortsBulkUpdateRequest) BulkWritableRearPortRequest(bulkWritableRearPortRequest []BulkWritableRearPortRequest) ApiDcimRearPortsBulkUpdateRequest {
- r.bulkWritableRearPortRequest = &bulkWritableRearPortRequest
+func (r ApiDcimSoftwareImageFilesBulkUpdateRequest) BulkWritableSoftwareImageFileRequest(bulkWritableSoftwareImageFileRequest []BulkWritableSoftwareImageFileRequest) ApiDcimSoftwareImageFilesBulkUpdateRequest {
+ r.bulkWritableSoftwareImageFileRequest = &bulkWritableSoftwareImageFileRequest
return r
}
-func (r ApiDcimRearPortsBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortsBulkUpdateRequest {
+func (r ApiDcimSoftwareImageFilesBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareImageFilesBulkUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimRearPortsBulkUpdateRequest) Execute() ([]RearPort, *http.Response, error) {
- return r.ApiService.DcimRearPortsBulkUpdateExecute(r)
+func (r ApiDcimSoftwareImageFilesBulkUpdateRequest) Execute() ([]SoftwareImageFile, *http.Response, error) {
+ return r.ApiService.DcimSoftwareImageFilesBulkUpdateExecute(r)
}
/*
-DcimRearPortsBulkUpdate Method for DcimRearPortsBulkUpdate
+DcimSoftwareImageFilesBulkUpdate Method for DcimSoftwareImageFilesBulkUpdate
-Update a list of rear port objects.
+Update a list of software image file objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimRearPortsBulkUpdateRequest
+ @return ApiDcimSoftwareImageFilesBulkUpdateRequest
*/
-func (a *DcimAPIService) DcimRearPortsBulkUpdate(ctx context.Context) ApiDcimRearPortsBulkUpdateRequest {
- return ApiDcimRearPortsBulkUpdateRequest{
+func (a *DcimAPIService) DcimSoftwareImageFilesBulkUpdate(ctx context.Context) ApiDcimSoftwareImageFilesBulkUpdateRequest {
+ return ApiDcimSoftwareImageFilesBulkUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []RearPort
-func (a *DcimAPIService) DcimRearPortsBulkUpdateExecute(r ApiDcimRearPortsBulkUpdateRequest) ([]RearPort, *http.Response, error) {
+// @return []SoftwareImageFile
+func (a *DcimAPIService) DcimSoftwareImageFilesBulkUpdateExecute(r ApiDcimSoftwareImageFilesBulkUpdateRequest) ([]SoftwareImageFile, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []RearPort
+ localVarReturnValue []SoftwareImageFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortsBulkUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareImageFilesBulkUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rear-ports/"
+ localVarPath := localBasePath + "/dcim/software-image-files/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.bulkWritableRearPortRequest == nil {
- return localVarReturnValue, nil, reportError("bulkWritableRearPortRequest is required and must be specified")
+ if r.bulkWritableSoftwareImageFileRequest == nil {
+ return localVarReturnValue, nil, reportError("bulkWritableSoftwareImageFileRequest is required and must be specified")
}
if r.format != nil {
@@ -129315,7 +129785,7 @@ func (a *DcimAPIService) DcimRearPortsBulkUpdateExecute(r ApiDcimRearPortsBulkUp
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.bulkWritableRearPortRequest
+ localVarPostBody = r.bulkWritableSoftwareImageFileRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -129367,64 +129837,64 @@ func (a *DcimAPIService) DcimRearPortsBulkUpdateExecute(r ApiDcimRearPortsBulkUp
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRearPortsCreateRequest struct {
+type ApiDcimSoftwareImageFilesCreateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- writableRearPortRequest *WritableRearPortRequest
+ softwareImageFileRequest *SoftwareImageFileRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimRearPortsCreateRequest) WritableRearPortRequest(writableRearPortRequest WritableRearPortRequest) ApiDcimRearPortsCreateRequest {
- r.writableRearPortRequest = &writableRearPortRequest
+func (r ApiDcimSoftwareImageFilesCreateRequest) SoftwareImageFileRequest(softwareImageFileRequest SoftwareImageFileRequest) ApiDcimSoftwareImageFilesCreateRequest {
+ r.softwareImageFileRequest = &softwareImageFileRequest
return r
}
-func (r ApiDcimRearPortsCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortsCreateRequest {
+func (r ApiDcimSoftwareImageFilesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareImageFilesCreateRequest {
r.format = &format
return r
}
-func (r ApiDcimRearPortsCreateRequest) Execute() (*RearPort, *http.Response, error) {
- return r.ApiService.DcimRearPortsCreateExecute(r)
+func (r ApiDcimSoftwareImageFilesCreateRequest) Execute() (*SoftwareImageFile, *http.Response, error) {
+ return r.ApiService.DcimSoftwareImageFilesCreateExecute(r)
}
/*
-DcimRearPortsCreate Method for DcimRearPortsCreate
+DcimSoftwareImageFilesCreate Method for DcimSoftwareImageFilesCreate
-Create one or more rear port objects.
+Create one or more software image file objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimRearPortsCreateRequest
+ @return ApiDcimSoftwareImageFilesCreateRequest
*/
-func (a *DcimAPIService) DcimRearPortsCreate(ctx context.Context) ApiDcimRearPortsCreateRequest {
- return ApiDcimRearPortsCreateRequest{
+func (a *DcimAPIService) DcimSoftwareImageFilesCreate(ctx context.Context) ApiDcimSoftwareImageFilesCreateRequest {
+ return ApiDcimSoftwareImageFilesCreateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return RearPort
-func (a *DcimAPIService) DcimRearPortsCreateExecute(r ApiDcimRearPortsCreateRequest) (*RearPort, *http.Response, error) {
+// @return SoftwareImageFile
+func (a *DcimAPIService) DcimSoftwareImageFilesCreateExecute(r ApiDcimSoftwareImageFilesCreateRequest) (*SoftwareImageFile, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *RearPort
+ localVarReturnValue *SoftwareImageFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortsCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareImageFilesCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rear-ports/"
+ localVarPath := localBasePath + "/dcim/software-image-files/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.writableRearPortRequest == nil {
- return localVarReturnValue, nil, reportError("writableRearPortRequest is required and must be specified")
+ if r.softwareImageFileRequest == nil {
+ return localVarReturnValue, nil, reportError("softwareImageFileRequest is required and must be specified")
}
if r.format != nil {
@@ -129448,7 +129918,7 @@ func (a *DcimAPIService) DcimRearPortsCreateExecute(r ApiDcimRearPortsCreateRequ
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.writableRearPortRequest
+ localVarPostBody = r.softwareImageFileRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -129500,33 +129970,33 @@ func (a *DcimAPIService) DcimRearPortsCreateExecute(r ApiDcimRearPortsCreateRequ
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRearPortsDestroyRequest struct {
+type ApiDcimSoftwareImageFilesDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimRearPortsDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortsDestroyRequest {
+func (r ApiDcimSoftwareImageFilesDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareImageFilesDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimRearPortsDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimRearPortsDestroyExecute(r)
+func (r ApiDcimSoftwareImageFilesDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimSoftwareImageFilesDestroyExecute(r)
}
/*
-DcimRearPortsDestroy Method for DcimRearPortsDestroy
+DcimSoftwareImageFilesDestroy Method for DcimSoftwareImageFilesDestroy
-Destroy a rear port object.
+Destroy a software image file object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this rear port.
- @return ApiDcimRearPortsDestroyRequest
+ @param id A UUID string identifying this software image file.
+ @return ApiDcimSoftwareImageFilesDestroyRequest
*/
-func (a *DcimAPIService) DcimRearPortsDestroy(ctx context.Context, id string) ApiDcimRearPortsDestroyRequest {
- return ApiDcimRearPortsDestroyRequest{
+func (a *DcimAPIService) DcimSoftwareImageFilesDestroy(ctx context.Context, id string) ApiDcimSoftwareImageFilesDestroyRequest {
+ return ApiDcimSoftwareImageFilesDestroyRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -129534,19 +130004,19 @@ func (a *DcimAPIService) DcimRearPortsDestroy(ctx context.Context, id string) Ap
}
// Execute executes the request
-func (a *DcimAPIService) DcimRearPortsDestroyExecute(r ApiDcimRearPortsDestroyRequest) (*http.Response, error) {
+func (a *DcimAPIService) DcimSoftwareImageFilesDestroyExecute(r ApiDcimSoftwareImageFilesDestroyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortsDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareImageFilesDestroy")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rear-ports/{id}/"
+ localVarPath := localBasePath + "/dcim/software-image-files/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -129615,1753 +130085,1843 @@ func (a *DcimAPIService) DcimRearPortsDestroyExecute(r ApiDcimRearPortsDestroyRe
return localVarHTTPResponse, nil
}
-type ApiDcimRearPortsListRequest struct {
+type ApiDcimSoftwareImageFilesListRequest struct {
ctx context.Context
ApiService *DcimAPIService
- cable *[]string
- cableIsnull *bool
- cableN *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
- description *[]string
- descriptionIc *[]string
- descriptionIe *[]string
- descriptionIew *[]string
- descriptionIre *[]string
- descriptionIsw *[]string
- descriptionN *[]string
- descriptionNic *[]string
- descriptionNie *[]string
- descriptionNiew *[]string
- descriptionNire *[]string
- descriptionNisw *[]string
- descriptionNre *[]string
- descriptionRe *[]string
- device *[]string
+ contactsN *[]string
+ created *[]time.Time
+ createdGt *[]time.Time
+ createdGte *[]time.Time
+ createdIsnull *bool
+ createdLt *[]time.Time
+ createdLte *[]time.Time
+ createdN *[]time.Time
+ defaultImage *bool
+ deviceTypes *[]string
+ deviceTypesIsnull *bool
+ deviceTypesN *[]string
+ devices *[]string
+ devicesIsnull *bool
+ devicesN *[]string
+ downloadUrl *[]string
+ downloadUrlIc *[]string
+ downloadUrlIe *[]string
+ downloadUrlIew *[]string
+ downloadUrlIre *[]string
+ downloadUrlIsw *[]string
+ downloadUrlN *[]string
+ downloadUrlNic *[]string
+ downloadUrlNie *[]string
+ downloadUrlNiew *[]string
+ downloadUrlNire *[]string
+ downloadUrlNisw *[]string
+ downloadUrlNre *[]string
+ downloadUrlRe *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
+ externalIntegration *[]string
+ externalIntegrationIsnull *bool
+ externalIntegrationN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
- frontPorts *[]string
- frontPortsIsnull *bool
- frontPortsN *[]string
- hasCable *bool
- hasFrontPorts *bool
+ hasDeviceTypes *bool
+ hasDevices *bool
+ hashingAlgorithm *[]string
+ hashingAlgorithmIc *[]string
+ hashingAlgorithmIe *[]string
+ hashingAlgorithmIew *[]string
+ hashingAlgorithmIre *[]string
+ hashingAlgorithmIsw *[]string
+ hashingAlgorithmN *[]string
+ hashingAlgorithmNic *[]string
+ hashingAlgorithmNie *[]string
+ hashingAlgorithmNiew *[]string
+ hashingAlgorithmNire *[]string
+ hashingAlgorithmNisw *[]string
+ hashingAlgorithmNre *[]string
+ hashingAlgorithmRe *[]string
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
- label *[]string
- labelIc *[]string
- labelIe *[]string
- labelIew *[]string
- labelIre *[]string
- labelIsw *[]string
- labelN *[]string
- labelNic *[]string
- labelNie *[]string
- labelNiew *[]string
- labelNire *[]string
- labelNisw *[]string
- labelNre *[]string
- labelRe *[]string
+ imageFileChecksum *[]string
+ imageFileChecksumIc *[]string
+ imageFileChecksumIe *[]string
+ imageFileChecksumIew *[]string
+ imageFileChecksumIre *[]string
+ imageFileChecksumIsw *[]string
+ imageFileChecksumN *[]string
+ imageFileChecksumNic *[]string
+ imageFileChecksumNie *[]string
+ imageFileChecksumNiew *[]string
+ imageFileChecksumNire *[]string
+ imageFileChecksumNisw *[]string
+ imageFileChecksumNre *[]string
+ imageFileChecksumRe *[]string
+ imageFileName *[]string
+ imageFileNameIc *[]string
+ imageFileNameIe *[]string
+ imageFileNameIew *[]string
+ imageFileNameIre *[]string
+ imageFileNameIsw *[]string
+ imageFileNameN *[]string
+ imageFileNameNic *[]string
+ imageFileNameNie *[]string
+ imageFileNameNiew *[]string
+ imageFileNameNire *[]string
+ imageFileNameNisw *[]string
+ imageFileNameNre *[]string
+ imageFileNameRe *[]string
+ imageFileSize *[]int32
+ imageFileSizeGt *[]int32
+ imageFileSizeGte *[]int32
+ imageFileSizeIsnull *bool
+ imageFileSizeLt *[]int32
+ imageFileSizeLte *[]int32
+ imageFileSizeN *[]int32
+ lastUpdated *[]time.Time
+ lastUpdatedGt *[]time.Time
+ lastUpdatedGte *[]time.Time
+ lastUpdatedIsnull *bool
+ lastUpdatedLt *[]time.Time
+ lastUpdatedLte *[]time.Time
+ lastUpdatedN *[]time.Time
limit *int32
- location *[]string
- locationN *[]string
- module *[]string
- moduleIsnull *bool
- moduleN *[]string
- name *[]string
- nameIc *[]string
- nameIe *[]string
- nameIew *[]string
- nameIre *[]string
- nameIsw *[]string
- nameN *[]string
- nameNic *[]string
- nameNie *[]string
- nameNiew *[]string
- nameNire *[]string
- nameNisw *[]string
- nameNre *[]string
- nameRe *[]string
offset *int32
- positions *[]int32
- positionsGt *[]int32
- positionsGte *[]int32
- positionsLt *[]int32
- positionsLte *[]int32
- positionsN *[]int32
q *string
+ softwareVersion *[]string
+ softwareVersionN *[]string
sort *string
+ status *[]string
+ statusN *[]string
tags *[]string
tagsIsnull *bool
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
- type_ *[]string
- typeIc *[]string
- typeIe *[]string
- typeIew *[]string
- typeIre *[]string
- typeIsw *[]string
- typeN *[]string
- typeNic *[]string
- typeNie *[]string
- typeNiew *[]string
- typeNire *[]string
- typeNisw *[]string
- typeNre *[]string
- typeRe *[]string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
-// Cable
-func (r ApiDcimRearPortsListRequest) Cable(cable []string) ApiDcimRearPortsListRequest {
- r.cable = &cable
+func (r ApiDcimSoftwareImageFilesListRequest) Contacts(contacts []string) ApiDcimSoftwareImageFilesListRequest {
+ r.contacts = &contacts
return r
}
-func (r ApiDcimRearPortsListRequest) CableIsnull(cableIsnull bool) ApiDcimRearPortsListRequest {
- r.cableIsnull = &cableIsnull
+// Contacts (name or ID) is null
+func (r ApiDcimSoftwareImageFilesListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimSoftwareImageFilesListRequest {
+ r.contactsIsnull = &contactsIsnull
return r
}
-// Cable
-func (r ApiDcimRearPortsListRequest) CableN(cableN []string) ApiDcimRearPortsListRequest {
- r.cableN = &cableN
+func (r ApiDcimSoftwareImageFilesListRequest) ContactsN(contactsN []string) ApiDcimSoftwareImageFilesListRequest {
+ r.contactsN = &contactsN
return r
}
-func (r ApiDcimRearPortsListRequest) Contacts(contacts []string) ApiDcimRearPortsListRequest {
- r.contacts = &contacts
+func (r ApiDcimSoftwareImageFilesListRequest) Created(created []time.Time) ApiDcimSoftwareImageFilesListRequest {
+ r.created = &created
return r
}
-// Contacts (name or ID) is null
-func (r ApiDcimRearPortsListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimRearPortsListRequest {
- r.contactsIsnull = &contactsIsnull
+func (r ApiDcimSoftwareImageFilesListRequest) CreatedGt(createdGt []time.Time) ApiDcimSoftwareImageFilesListRequest {
+ r.createdGt = &createdGt
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimRearPortsListRequest) ContactsN(contactsN string) ApiDcimRearPortsListRequest {
- r.contactsN = &contactsN
+func (r ApiDcimSoftwareImageFilesListRequest) CreatedGte(createdGte []time.Time) ApiDcimSoftwareImageFilesListRequest {
+ r.createdGte = &createdGte
return r
}
-func (r ApiDcimRearPortsListRequest) Description(description []string) ApiDcimRearPortsListRequest {
- r.description = &description
+func (r ApiDcimSoftwareImageFilesListRequest) CreatedIsnull(createdIsnull bool) ApiDcimSoftwareImageFilesListRequest {
+ r.createdIsnull = &createdIsnull
return r
}
-func (r ApiDcimRearPortsListRequest) DescriptionIc(descriptionIc []string) ApiDcimRearPortsListRequest {
- r.descriptionIc = &descriptionIc
+func (r ApiDcimSoftwareImageFilesListRequest) CreatedLt(createdLt []time.Time) ApiDcimSoftwareImageFilesListRequest {
+ r.createdLt = &createdLt
return r
}
-func (r ApiDcimRearPortsListRequest) DescriptionIe(descriptionIe []string) ApiDcimRearPortsListRequest {
- r.descriptionIe = &descriptionIe
+func (r ApiDcimSoftwareImageFilesListRequest) CreatedLte(createdLte []time.Time) ApiDcimSoftwareImageFilesListRequest {
+ r.createdLte = &createdLte
return r
}
-func (r ApiDcimRearPortsListRequest) DescriptionIew(descriptionIew []string) ApiDcimRearPortsListRequest {
- r.descriptionIew = &descriptionIew
+func (r ApiDcimSoftwareImageFilesListRequest) CreatedN(createdN []time.Time) ApiDcimSoftwareImageFilesListRequest {
+ r.createdN = &createdN
return r
}
-func (r ApiDcimRearPortsListRequest) DescriptionIre(descriptionIre []string) ApiDcimRearPortsListRequest {
- r.descriptionIre = &descriptionIre
+// Is default image for associated software version
+func (r ApiDcimSoftwareImageFilesListRequest) DefaultImage(defaultImage bool) ApiDcimSoftwareImageFilesListRequest {
+ r.defaultImage = &defaultImage
return r
}
-func (r ApiDcimRearPortsListRequest) DescriptionIsw(descriptionIsw []string) ApiDcimRearPortsListRequest {
- r.descriptionIsw = &descriptionIsw
+func (r ApiDcimSoftwareImageFilesListRequest) DeviceTypes(deviceTypes []string) ApiDcimSoftwareImageFilesListRequest {
+ r.deviceTypes = &deviceTypes
return r
}
-func (r ApiDcimRearPortsListRequest) DescriptionN(descriptionN []string) ApiDcimRearPortsListRequest {
- r.descriptionN = &descriptionN
+// Device types (model or ID) is null
+func (r ApiDcimSoftwareImageFilesListRequest) DeviceTypesIsnull(deviceTypesIsnull bool) ApiDcimSoftwareImageFilesListRequest {
+ r.deviceTypesIsnull = &deviceTypesIsnull
return r
}
-func (r ApiDcimRearPortsListRequest) DescriptionNic(descriptionNic []string) ApiDcimRearPortsListRequest {
- r.descriptionNic = &descriptionNic
+func (r ApiDcimSoftwareImageFilesListRequest) DeviceTypesN(deviceTypesN []string) ApiDcimSoftwareImageFilesListRequest {
+ r.deviceTypesN = &deviceTypesN
return r
}
-func (r ApiDcimRearPortsListRequest) DescriptionNie(descriptionNie []string) ApiDcimRearPortsListRequest {
- r.descriptionNie = &descriptionNie
+func (r ApiDcimSoftwareImageFilesListRequest) Devices(devices []string) ApiDcimSoftwareImageFilesListRequest {
+ r.devices = &devices
return r
}
-func (r ApiDcimRearPortsListRequest) DescriptionNiew(descriptionNiew []string) ApiDcimRearPortsListRequest {
- r.descriptionNiew = &descriptionNiew
+// Devices (name or ID) is null
+func (r ApiDcimSoftwareImageFilesListRequest) DevicesIsnull(devicesIsnull bool) ApiDcimSoftwareImageFilesListRequest {
+ r.devicesIsnull = &devicesIsnull
return r
}
-func (r ApiDcimRearPortsListRequest) DescriptionNire(descriptionNire []string) ApiDcimRearPortsListRequest {
- r.descriptionNire = &descriptionNire
+func (r ApiDcimSoftwareImageFilesListRequest) DevicesN(devicesN []string) ApiDcimSoftwareImageFilesListRequest {
+ r.devicesN = &devicesN
return r
}
-func (r ApiDcimRearPortsListRequest) DescriptionNisw(descriptionNisw []string) ApiDcimRearPortsListRequest {
- r.descriptionNisw = &descriptionNisw
+func (r ApiDcimSoftwareImageFilesListRequest) DownloadUrl(downloadUrl []string) ApiDcimSoftwareImageFilesListRequest {
+ r.downloadUrl = &downloadUrl
return r
}
-func (r ApiDcimRearPortsListRequest) DescriptionNre(descriptionNre []string) ApiDcimRearPortsListRequest {
- r.descriptionNre = &descriptionNre
+func (r ApiDcimSoftwareImageFilesListRequest) DownloadUrlIc(downloadUrlIc []string) ApiDcimSoftwareImageFilesListRequest {
+ r.downloadUrlIc = &downloadUrlIc
return r
}
-func (r ApiDcimRearPortsListRequest) DescriptionRe(descriptionRe []string) ApiDcimRearPortsListRequest {
- r.descriptionRe = &descriptionRe
+func (r ApiDcimSoftwareImageFilesListRequest) DownloadUrlIe(downloadUrlIe []string) ApiDcimSoftwareImageFilesListRequest {
+ r.downloadUrlIe = &downloadUrlIe
return r
}
-func (r ApiDcimRearPortsListRequest) Device(device []string) ApiDcimRearPortsListRequest {
- r.device = &device
+func (r ApiDcimSoftwareImageFilesListRequest) DownloadUrlIew(downloadUrlIew []string) ApiDcimSoftwareImageFilesListRequest {
+ r.downloadUrlIew = &downloadUrlIew
return r
}
-func (r ApiDcimRearPortsListRequest) DynamicGroups(dynamicGroups []string) ApiDcimRearPortsListRequest {
- r.dynamicGroups = &dynamicGroups
+func (r ApiDcimSoftwareImageFilesListRequest) DownloadUrlIre(downloadUrlIre []string) ApiDcimSoftwareImageFilesListRequest {
+ r.downloadUrlIre = &downloadUrlIre
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimRearPortsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimRearPortsListRequest {
- r.dynamicGroupsN = &dynamicGroupsN
+func (r ApiDcimSoftwareImageFilesListRequest) DownloadUrlIsw(downloadUrlIsw []string) ApiDcimSoftwareImageFilesListRequest {
+ r.downloadUrlIsw = &downloadUrlIsw
return r
}
-func (r ApiDcimRearPortsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortsListRequest {
- r.format = &format
+func (r ApiDcimSoftwareImageFilesListRequest) DownloadUrlN(downloadUrlN []string) ApiDcimSoftwareImageFilesListRequest {
+ r.downloadUrlN = &downloadUrlN
return r
}
-func (r ApiDcimRearPortsListRequest) FrontPorts(frontPorts []string) ApiDcimRearPortsListRequest {
- r.frontPorts = &frontPorts
+func (r ApiDcimSoftwareImageFilesListRequest) DownloadUrlNic(downloadUrlNic []string) ApiDcimSoftwareImageFilesListRequest {
+ r.downloadUrlNic = &downloadUrlNic
return r
}
-// Front ports (name or ID) is null
-func (r ApiDcimRearPortsListRequest) FrontPortsIsnull(frontPortsIsnull bool) ApiDcimRearPortsListRequest {
- r.frontPortsIsnull = &frontPortsIsnull
+func (r ApiDcimSoftwareImageFilesListRequest) DownloadUrlNie(downloadUrlNie []string) ApiDcimSoftwareImageFilesListRequest {
+ r.downloadUrlNie = &downloadUrlNie
return r
}
-func (r ApiDcimRearPortsListRequest) FrontPortsN(frontPortsN []string) ApiDcimRearPortsListRequest {
- r.frontPortsN = &frontPortsN
+func (r ApiDcimSoftwareImageFilesListRequest) DownloadUrlNiew(downloadUrlNiew []string) ApiDcimSoftwareImageFilesListRequest {
+ r.downloadUrlNiew = &downloadUrlNiew
return r
}
-// Has cable
-func (r ApiDcimRearPortsListRequest) HasCable(hasCable bool) ApiDcimRearPortsListRequest {
- r.hasCable = &hasCable
+func (r ApiDcimSoftwareImageFilesListRequest) DownloadUrlNire(downloadUrlNire []string) ApiDcimSoftwareImageFilesListRequest {
+ r.downloadUrlNire = &downloadUrlNire
return r
}
-// Has front ports
-func (r ApiDcimRearPortsListRequest) HasFrontPorts(hasFrontPorts bool) ApiDcimRearPortsListRequest {
- r.hasFrontPorts = &hasFrontPorts
+func (r ApiDcimSoftwareImageFilesListRequest) DownloadUrlNisw(downloadUrlNisw []string) ApiDcimSoftwareImageFilesListRequest {
+ r.downloadUrlNisw = &downloadUrlNisw
return r
}
-// Unique object identifier, either a UUID primary key or a composite key.
-func (r ApiDcimRearPortsListRequest) Id(id []string) ApiDcimRearPortsListRequest {
- r.id = &id
+func (r ApiDcimSoftwareImageFilesListRequest) DownloadUrlNre(downloadUrlNre []string) ApiDcimSoftwareImageFilesListRequest {
+ r.downloadUrlNre = &downloadUrlNre
return r
}
-func (r ApiDcimRearPortsListRequest) IdIc(idIc []string) ApiDcimRearPortsListRequest {
- r.idIc = &idIc
+func (r ApiDcimSoftwareImageFilesListRequest) DownloadUrlRe(downloadUrlRe []string) ApiDcimSoftwareImageFilesListRequest {
+ r.downloadUrlRe = &downloadUrlRe
return r
}
-func (r ApiDcimRearPortsListRequest) IdIe(idIe []string) ApiDcimRearPortsListRequest {
- r.idIe = &idIe
+func (r ApiDcimSoftwareImageFilesListRequest) DynamicGroups(dynamicGroups []string) ApiDcimSoftwareImageFilesListRequest {
+ r.dynamicGroups = &dynamicGroups
return r
}
-func (r ApiDcimRearPortsListRequest) IdIew(idIew []string) ApiDcimRearPortsListRequest {
- r.idIew = &idIew
+func (r ApiDcimSoftwareImageFilesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimSoftwareImageFilesListRequest {
+ r.dynamicGroupsN = &dynamicGroupsN
return r
}
-func (r ApiDcimRearPortsListRequest) IdIre(idIre []string) ApiDcimRearPortsListRequest {
- r.idIre = &idIre
+func (r ApiDcimSoftwareImageFilesListRequest) ExternalIntegration(externalIntegration []string) ApiDcimSoftwareImageFilesListRequest {
+ r.externalIntegration = &externalIntegration
return r
}
-func (r ApiDcimRearPortsListRequest) IdIsw(idIsw []string) ApiDcimRearPortsListRequest {
- r.idIsw = &idIsw
+// External integration (name or ID) is null
+func (r ApiDcimSoftwareImageFilesListRequest) ExternalIntegrationIsnull(externalIntegrationIsnull bool) ApiDcimSoftwareImageFilesListRequest {
+ r.externalIntegrationIsnull = &externalIntegrationIsnull
return r
}
-func (r ApiDcimRearPortsListRequest) IdN(idN []string) ApiDcimRearPortsListRequest {
- r.idN = &idN
+func (r ApiDcimSoftwareImageFilesListRequest) ExternalIntegrationN(externalIntegrationN []string) ApiDcimSoftwareImageFilesListRequest {
+ r.externalIntegrationN = &externalIntegrationN
return r
}
-func (r ApiDcimRearPortsListRequest) IdNic(idNic []string) ApiDcimRearPortsListRequest {
- r.idNic = &idNic
+func (r ApiDcimSoftwareImageFilesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareImageFilesListRequest {
+ r.format = &format
return r
}
-func (r ApiDcimRearPortsListRequest) IdNie(idNie []string) ApiDcimRearPortsListRequest {
- r.idNie = &idNie
+// Has device types
+func (r ApiDcimSoftwareImageFilesListRequest) HasDeviceTypes(hasDeviceTypes bool) ApiDcimSoftwareImageFilesListRequest {
+ r.hasDeviceTypes = &hasDeviceTypes
return r
}
-func (r ApiDcimRearPortsListRequest) IdNiew(idNiew []string) ApiDcimRearPortsListRequest {
- r.idNiew = &idNiew
+// Has devices
+func (r ApiDcimSoftwareImageFilesListRequest) HasDevices(hasDevices bool) ApiDcimSoftwareImageFilesListRequest {
+ r.hasDevices = &hasDevices
return r
}
-func (r ApiDcimRearPortsListRequest) IdNire(idNire []string) ApiDcimRearPortsListRequest {
- r.idNire = &idNire
+// Hashing algorithm for image file checksum
+func (r ApiDcimSoftwareImageFilesListRequest) HashingAlgorithm(hashingAlgorithm []string) ApiDcimSoftwareImageFilesListRequest {
+ r.hashingAlgorithm = &hashingAlgorithm
return r
}
-func (r ApiDcimRearPortsListRequest) IdNisw(idNisw []string) ApiDcimRearPortsListRequest {
- r.idNisw = &idNisw
+func (r ApiDcimSoftwareImageFilesListRequest) HashingAlgorithmIc(hashingAlgorithmIc []string) ApiDcimSoftwareImageFilesListRequest {
+ r.hashingAlgorithmIc = &hashingAlgorithmIc
return r
}
-func (r ApiDcimRearPortsListRequest) IdNre(idNre []string) ApiDcimRearPortsListRequest {
- r.idNre = &idNre
+func (r ApiDcimSoftwareImageFilesListRequest) HashingAlgorithmIe(hashingAlgorithmIe []string) ApiDcimSoftwareImageFilesListRequest {
+ r.hashingAlgorithmIe = &hashingAlgorithmIe
return r
}
-func (r ApiDcimRearPortsListRequest) IdRe(idRe []string) ApiDcimRearPortsListRequest {
- r.idRe = &idRe
+func (r ApiDcimSoftwareImageFilesListRequest) HashingAlgorithmIew(hashingAlgorithmIew []string) ApiDcimSoftwareImageFilesListRequest {
+ r.hashingAlgorithmIew = &hashingAlgorithmIew
return r
}
-func (r ApiDcimRearPortsListRequest) Label(label []string) ApiDcimRearPortsListRequest {
- r.label = &label
+func (r ApiDcimSoftwareImageFilesListRequest) HashingAlgorithmIre(hashingAlgorithmIre []string) ApiDcimSoftwareImageFilesListRequest {
+ r.hashingAlgorithmIre = &hashingAlgorithmIre
return r
}
-func (r ApiDcimRearPortsListRequest) LabelIc(labelIc []string) ApiDcimRearPortsListRequest {
- r.labelIc = &labelIc
+func (r ApiDcimSoftwareImageFilesListRequest) HashingAlgorithmIsw(hashingAlgorithmIsw []string) ApiDcimSoftwareImageFilesListRequest {
+ r.hashingAlgorithmIsw = &hashingAlgorithmIsw
return r
}
-func (r ApiDcimRearPortsListRequest) LabelIe(labelIe []string) ApiDcimRearPortsListRequest {
- r.labelIe = &labelIe
+func (r ApiDcimSoftwareImageFilesListRequest) HashingAlgorithmN(hashingAlgorithmN []string) ApiDcimSoftwareImageFilesListRequest {
+ r.hashingAlgorithmN = &hashingAlgorithmN
return r
}
-func (r ApiDcimRearPortsListRequest) LabelIew(labelIew []string) ApiDcimRearPortsListRequest {
- r.labelIew = &labelIew
+func (r ApiDcimSoftwareImageFilesListRequest) HashingAlgorithmNic(hashingAlgorithmNic []string) ApiDcimSoftwareImageFilesListRequest {
+ r.hashingAlgorithmNic = &hashingAlgorithmNic
return r
}
-func (r ApiDcimRearPortsListRequest) LabelIre(labelIre []string) ApiDcimRearPortsListRequest {
- r.labelIre = &labelIre
+func (r ApiDcimSoftwareImageFilesListRequest) HashingAlgorithmNie(hashingAlgorithmNie []string) ApiDcimSoftwareImageFilesListRequest {
+ r.hashingAlgorithmNie = &hashingAlgorithmNie
return r
}
-func (r ApiDcimRearPortsListRequest) LabelIsw(labelIsw []string) ApiDcimRearPortsListRequest {
- r.labelIsw = &labelIsw
+func (r ApiDcimSoftwareImageFilesListRequest) HashingAlgorithmNiew(hashingAlgorithmNiew []string) ApiDcimSoftwareImageFilesListRequest {
+ r.hashingAlgorithmNiew = &hashingAlgorithmNiew
return r
}
-func (r ApiDcimRearPortsListRequest) LabelN(labelN []string) ApiDcimRearPortsListRequest {
- r.labelN = &labelN
+func (r ApiDcimSoftwareImageFilesListRequest) HashingAlgorithmNire(hashingAlgorithmNire []string) ApiDcimSoftwareImageFilesListRequest {
+ r.hashingAlgorithmNire = &hashingAlgorithmNire
return r
}
-func (r ApiDcimRearPortsListRequest) LabelNic(labelNic []string) ApiDcimRearPortsListRequest {
- r.labelNic = &labelNic
+func (r ApiDcimSoftwareImageFilesListRequest) HashingAlgorithmNisw(hashingAlgorithmNisw []string) ApiDcimSoftwareImageFilesListRequest {
+ r.hashingAlgorithmNisw = &hashingAlgorithmNisw
return r
}
-func (r ApiDcimRearPortsListRequest) LabelNie(labelNie []string) ApiDcimRearPortsListRequest {
- r.labelNie = &labelNie
+func (r ApiDcimSoftwareImageFilesListRequest) HashingAlgorithmNre(hashingAlgorithmNre []string) ApiDcimSoftwareImageFilesListRequest {
+ r.hashingAlgorithmNre = &hashingAlgorithmNre
return r
}
-func (r ApiDcimRearPortsListRequest) LabelNiew(labelNiew []string) ApiDcimRearPortsListRequest {
- r.labelNiew = &labelNiew
+func (r ApiDcimSoftwareImageFilesListRequest) HashingAlgorithmRe(hashingAlgorithmRe []string) ApiDcimSoftwareImageFilesListRequest {
+ r.hashingAlgorithmRe = &hashingAlgorithmRe
return r
}
-func (r ApiDcimRearPortsListRequest) LabelNire(labelNire []string) ApiDcimRearPortsListRequest {
- r.labelNire = &labelNire
+// Unique object identifier, either a UUID primary key or a composite key.
+func (r ApiDcimSoftwareImageFilesListRequest) Id(id []string) ApiDcimSoftwareImageFilesListRequest {
+ r.id = &id
return r
}
-func (r ApiDcimRearPortsListRequest) LabelNisw(labelNisw []string) ApiDcimRearPortsListRequest {
- r.labelNisw = &labelNisw
+func (r ApiDcimSoftwareImageFilesListRequest) IdN(idN []string) ApiDcimSoftwareImageFilesListRequest {
+ r.idN = &idN
return r
}
-func (r ApiDcimRearPortsListRequest) LabelNre(labelNre []string) ApiDcimRearPortsListRequest {
- r.labelNre = &labelNre
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileChecksum(imageFileChecksum []string) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileChecksum = &imageFileChecksum
return r
}
-func (r ApiDcimRearPortsListRequest) LabelRe(labelRe []string) ApiDcimRearPortsListRequest {
- r.labelRe = &labelRe
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileChecksumIc(imageFileChecksumIc []string) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileChecksumIc = &imageFileChecksumIc
return r
}
-// Number of results to return per page.
-func (r ApiDcimRearPortsListRequest) Limit(limit int32) ApiDcimRearPortsListRequest {
- r.limit = &limit
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileChecksumIe(imageFileChecksumIe []string) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileChecksumIe = &imageFileChecksumIe
return r
}
-func (r ApiDcimRearPortsListRequest) Location(location []string) ApiDcimRearPortsListRequest {
- r.location = &location
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileChecksumIew(imageFileChecksumIew []string) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileChecksumIew = &imageFileChecksumIew
return r
}
-func (r ApiDcimRearPortsListRequest) LocationN(locationN []string) ApiDcimRearPortsListRequest {
- r.locationN = &locationN
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileChecksumIre(imageFileChecksumIre []string) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileChecksumIre = &imageFileChecksumIre
return r
}
-func (r ApiDcimRearPortsListRequest) Module(module []string) ApiDcimRearPortsListRequest {
- r.module = &module
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileChecksumIsw(imageFileChecksumIsw []string) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileChecksumIsw = &imageFileChecksumIsw
return r
}
-// Module (model or ID) is null
-func (r ApiDcimRearPortsListRequest) ModuleIsnull(moduleIsnull bool) ApiDcimRearPortsListRequest {
- r.moduleIsnull = &moduleIsnull
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileChecksumN(imageFileChecksumN []string) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileChecksumN = &imageFileChecksumN
return r
}
-func (r ApiDcimRearPortsListRequest) ModuleN(moduleN []string) ApiDcimRearPortsListRequest {
- r.moduleN = &moduleN
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileChecksumNic(imageFileChecksumNic []string) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileChecksumNic = &imageFileChecksumNic
return r
}
-func (r ApiDcimRearPortsListRequest) Name(name []string) ApiDcimRearPortsListRequest {
- r.name = &name
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileChecksumNie(imageFileChecksumNie []string) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileChecksumNie = &imageFileChecksumNie
return r
}
-func (r ApiDcimRearPortsListRequest) NameIc(nameIc []string) ApiDcimRearPortsListRequest {
- r.nameIc = &nameIc
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileChecksumNiew(imageFileChecksumNiew []string) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileChecksumNiew = &imageFileChecksumNiew
return r
}
-func (r ApiDcimRearPortsListRequest) NameIe(nameIe []string) ApiDcimRearPortsListRequest {
- r.nameIe = &nameIe
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileChecksumNire(imageFileChecksumNire []string) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileChecksumNire = &imageFileChecksumNire
return r
}
-func (r ApiDcimRearPortsListRequest) NameIew(nameIew []string) ApiDcimRearPortsListRequest {
- r.nameIew = &nameIew
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileChecksumNisw(imageFileChecksumNisw []string) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileChecksumNisw = &imageFileChecksumNisw
return r
}
-func (r ApiDcimRearPortsListRequest) NameIre(nameIre []string) ApiDcimRearPortsListRequest {
- r.nameIre = &nameIre
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileChecksumNre(imageFileChecksumNre []string) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileChecksumNre = &imageFileChecksumNre
return r
}
-func (r ApiDcimRearPortsListRequest) NameIsw(nameIsw []string) ApiDcimRearPortsListRequest {
- r.nameIsw = &nameIsw
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileChecksumRe(imageFileChecksumRe []string) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileChecksumRe = &imageFileChecksumRe
return r
}
-func (r ApiDcimRearPortsListRequest) NameN(nameN []string) ApiDcimRearPortsListRequest {
- r.nameN = &nameN
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileName(imageFileName []string) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileName = &imageFileName
return r
}
-func (r ApiDcimRearPortsListRequest) NameNic(nameNic []string) ApiDcimRearPortsListRequest {
- r.nameNic = &nameNic
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileNameIc(imageFileNameIc []string) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileNameIc = &imageFileNameIc
return r
}
-func (r ApiDcimRearPortsListRequest) NameNie(nameNie []string) ApiDcimRearPortsListRequest {
- r.nameNie = &nameNie
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileNameIe(imageFileNameIe []string) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileNameIe = &imageFileNameIe
return r
}
-func (r ApiDcimRearPortsListRequest) NameNiew(nameNiew []string) ApiDcimRearPortsListRequest {
- r.nameNiew = &nameNiew
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileNameIew(imageFileNameIew []string) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileNameIew = &imageFileNameIew
return r
}
-func (r ApiDcimRearPortsListRequest) NameNire(nameNire []string) ApiDcimRearPortsListRequest {
- r.nameNire = &nameNire
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileNameIre(imageFileNameIre []string) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileNameIre = &imageFileNameIre
return r
}
-func (r ApiDcimRearPortsListRequest) NameNisw(nameNisw []string) ApiDcimRearPortsListRequest {
- r.nameNisw = &nameNisw
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileNameIsw(imageFileNameIsw []string) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileNameIsw = &imageFileNameIsw
return r
}
-func (r ApiDcimRearPortsListRequest) NameNre(nameNre []string) ApiDcimRearPortsListRequest {
- r.nameNre = &nameNre
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileNameN(imageFileNameN []string) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileNameN = &imageFileNameN
return r
}
-func (r ApiDcimRearPortsListRequest) NameRe(nameRe []string) ApiDcimRearPortsListRequest {
- r.nameRe = &nameRe
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileNameNic(imageFileNameNic []string) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileNameNic = &imageFileNameNic
return r
}
-// The initial index from which to return the results.
-func (r ApiDcimRearPortsListRequest) Offset(offset int32) ApiDcimRearPortsListRequest {
- r.offset = &offset
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileNameNie(imageFileNameNie []string) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileNameNie = &imageFileNameNie
return r
}
-func (r ApiDcimRearPortsListRequest) Positions(positions []int32) ApiDcimRearPortsListRequest {
- r.positions = &positions
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileNameNiew(imageFileNameNiew []string) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileNameNiew = &imageFileNameNiew
return r
}
-func (r ApiDcimRearPortsListRequest) PositionsGt(positionsGt []int32) ApiDcimRearPortsListRequest {
- r.positionsGt = &positionsGt
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileNameNire(imageFileNameNire []string) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileNameNire = &imageFileNameNire
return r
}
-func (r ApiDcimRearPortsListRequest) PositionsGte(positionsGte []int32) ApiDcimRearPortsListRequest {
- r.positionsGte = &positionsGte
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileNameNisw(imageFileNameNisw []string) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileNameNisw = &imageFileNameNisw
return r
}
-func (r ApiDcimRearPortsListRequest) PositionsLt(positionsLt []int32) ApiDcimRearPortsListRequest {
- r.positionsLt = &positionsLt
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileNameNre(imageFileNameNre []string) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileNameNre = &imageFileNameNre
return r
}
-func (r ApiDcimRearPortsListRequest) PositionsLte(positionsLte []int32) ApiDcimRearPortsListRequest {
- r.positionsLte = &positionsLte
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileNameRe(imageFileNameRe []string) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileNameRe = &imageFileNameRe
return r
}
-func (r ApiDcimRearPortsListRequest) PositionsN(positionsN []int32) ApiDcimRearPortsListRequest {
- r.positionsN = &positionsN
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileSize(imageFileSize []int32) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileSize = &imageFileSize
return r
}
-// Search
-func (r ApiDcimRearPortsListRequest) Q(q string) ApiDcimRearPortsListRequest {
- r.q = &q
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileSizeGt(imageFileSizeGt []int32) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileSizeGt = &imageFileSizeGt
return r
}
-// Which field to use when ordering the results.
-func (r ApiDcimRearPortsListRequest) Sort(sort string) ApiDcimRearPortsListRequest {
- r.sort = &sort
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileSizeGte(imageFileSizeGte []int32) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileSizeGte = &imageFileSizeGte
return r
}
-func (r ApiDcimRearPortsListRequest) Tags(tags []string) ApiDcimRearPortsListRequest {
- r.tags = &tags
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileSizeIsnull(imageFileSizeIsnull bool) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileSizeIsnull = &imageFileSizeIsnull
return r
}
-func (r ApiDcimRearPortsListRequest) TagsIsnull(tagsIsnull bool) ApiDcimRearPortsListRequest {
- r.tagsIsnull = &tagsIsnull
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileSizeLt(imageFileSizeLt []int32) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileSizeLt = &imageFileSizeLt
return r
}
-func (r ApiDcimRearPortsListRequest) TagsN(tagsN []string) ApiDcimRearPortsListRequest {
- r.tagsN = &tagsN
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileSizeLte(imageFileSizeLte []int32) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileSizeLte = &imageFileSizeLte
return r
}
-func (r ApiDcimRearPortsListRequest) Teams(teams []string) ApiDcimRearPortsListRequest {
- r.teams = &teams
+func (r ApiDcimSoftwareImageFilesListRequest) ImageFileSizeN(imageFileSizeN []int32) ApiDcimSoftwareImageFilesListRequest {
+ r.imageFileSizeN = &imageFileSizeN
return r
}
-// Teams (name or ID) is null
-func (r ApiDcimRearPortsListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimRearPortsListRequest {
- r.teamsIsnull = &teamsIsnull
+func (r ApiDcimSoftwareImageFilesListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimSoftwareImageFilesListRequest {
+ r.lastUpdated = &lastUpdated
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimRearPortsListRequest) TeamsN(teamsN string) ApiDcimRearPortsListRequest {
- r.teamsN = &teamsN
+func (r ApiDcimSoftwareImageFilesListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiDcimSoftwareImageFilesListRequest {
+ r.lastUpdatedGt = &lastUpdatedGt
return r
}
-func (r ApiDcimRearPortsListRequest) Type_(type_ []string) ApiDcimRearPortsListRequest {
- r.type_ = &type_
+func (r ApiDcimSoftwareImageFilesListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiDcimSoftwareImageFilesListRequest {
+ r.lastUpdatedGte = &lastUpdatedGte
return r
}
-func (r ApiDcimRearPortsListRequest) TypeIc(typeIc []string) ApiDcimRearPortsListRequest {
- r.typeIc = &typeIc
+func (r ApiDcimSoftwareImageFilesListRequest) LastUpdatedIsnull(lastUpdatedIsnull bool) ApiDcimSoftwareImageFilesListRequest {
+ r.lastUpdatedIsnull = &lastUpdatedIsnull
return r
}
-func (r ApiDcimRearPortsListRequest) TypeIe(typeIe []string) ApiDcimRearPortsListRequest {
- r.typeIe = &typeIe
+func (r ApiDcimSoftwareImageFilesListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiDcimSoftwareImageFilesListRequest {
+ r.lastUpdatedLt = &lastUpdatedLt
return r
}
-func (r ApiDcimRearPortsListRequest) TypeIew(typeIew []string) ApiDcimRearPortsListRequest {
- r.typeIew = &typeIew
+func (r ApiDcimSoftwareImageFilesListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiDcimSoftwareImageFilesListRequest {
+ r.lastUpdatedLte = &lastUpdatedLte
return r
}
-func (r ApiDcimRearPortsListRequest) TypeIre(typeIre []string) ApiDcimRearPortsListRequest {
- r.typeIre = &typeIre
+func (r ApiDcimSoftwareImageFilesListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiDcimSoftwareImageFilesListRequest {
+ r.lastUpdatedN = &lastUpdatedN
return r
}
-func (r ApiDcimRearPortsListRequest) TypeIsw(typeIsw []string) ApiDcimRearPortsListRequest {
- r.typeIsw = &typeIsw
+// Number of results to return per page.
+func (r ApiDcimSoftwareImageFilesListRequest) Limit(limit int32) ApiDcimSoftwareImageFilesListRequest {
+ r.limit = &limit
return r
}
-func (r ApiDcimRearPortsListRequest) TypeN(typeN []string) ApiDcimRearPortsListRequest {
- r.typeN = &typeN
+// The initial index from which to return the results.
+func (r ApiDcimSoftwareImageFilesListRequest) Offset(offset int32) ApiDcimSoftwareImageFilesListRequest {
+ r.offset = &offset
return r
}
-func (r ApiDcimRearPortsListRequest) TypeNic(typeNic []string) ApiDcimRearPortsListRequest {
- r.typeNic = &typeNic
+// Search
+func (r ApiDcimSoftwareImageFilesListRequest) Q(q string) ApiDcimSoftwareImageFilesListRequest {
+ r.q = &q
return r
}
-func (r ApiDcimRearPortsListRequest) TypeNie(typeNie []string) ApiDcimRearPortsListRequest {
- r.typeNie = &typeNie
+func (r ApiDcimSoftwareImageFilesListRequest) SoftwareVersion(softwareVersion []string) ApiDcimSoftwareImageFilesListRequest {
+ r.softwareVersion = &softwareVersion
return r
}
-func (r ApiDcimRearPortsListRequest) TypeNiew(typeNiew []string) ApiDcimRearPortsListRequest {
- r.typeNiew = &typeNiew
+func (r ApiDcimSoftwareImageFilesListRequest) SoftwareVersionN(softwareVersionN []string) ApiDcimSoftwareImageFilesListRequest {
+ r.softwareVersionN = &softwareVersionN
return r
}
-func (r ApiDcimRearPortsListRequest) TypeNire(typeNire []string) ApiDcimRearPortsListRequest {
- r.typeNire = &typeNire
+// Which field to use when ordering the results.
+func (r ApiDcimSoftwareImageFilesListRequest) Sort(sort string) ApiDcimSoftwareImageFilesListRequest {
+ r.sort = &sort
return r
}
-func (r ApiDcimRearPortsListRequest) TypeNisw(typeNisw []string) ApiDcimRearPortsListRequest {
- r.typeNisw = &typeNisw
+func (r ApiDcimSoftwareImageFilesListRequest) Status(status []string) ApiDcimSoftwareImageFilesListRequest {
+ r.status = &status
+ return r
+}
+
+func (r ApiDcimSoftwareImageFilesListRequest) StatusN(statusN []string) ApiDcimSoftwareImageFilesListRequest {
+ r.statusN = &statusN
+ return r
+}
+
+func (r ApiDcimSoftwareImageFilesListRequest) Tags(tags []string) ApiDcimSoftwareImageFilesListRequest {
+ r.tags = &tags
+ return r
+}
+
+func (r ApiDcimSoftwareImageFilesListRequest) TagsIsnull(tagsIsnull bool) ApiDcimSoftwareImageFilesListRequest {
+ r.tagsIsnull = &tagsIsnull
+ return r
+}
+
+func (r ApiDcimSoftwareImageFilesListRequest) TagsN(tagsN []string) ApiDcimSoftwareImageFilesListRequest {
+ r.tagsN = &tagsN
+ return r
+}
+
+func (r ApiDcimSoftwareImageFilesListRequest) Teams(teams []string) ApiDcimSoftwareImageFilesListRequest {
+ r.teams = &teams
return r
}
-func (r ApiDcimRearPortsListRequest) TypeNre(typeNre []string) ApiDcimRearPortsListRequest {
- r.typeNre = &typeNre
+// Teams (name or ID) is null
+func (r ApiDcimSoftwareImageFilesListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimSoftwareImageFilesListRequest {
+ r.teamsIsnull = &teamsIsnull
return r
}
-func (r ApiDcimRearPortsListRequest) TypeRe(typeRe []string) ApiDcimRearPortsListRequest {
- r.typeRe = &typeRe
+func (r ApiDcimSoftwareImageFilesListRequest) TeamsN(teamsN []string) ApiDcimSoftwareImageFilesListRequest {
+ r.teamsN = &teamsN
return r
}
// Serializer Depth
-func (r ApiDcimRearPortsListRequest) Depth(depth int32) ApiDcimRearPortsListRequest {
+func (r ApiDcimSoftwareImageFilesListRequest) Depth(depth int32) ApiDcimSoftwareImageFilesListRequest {
r.depth = &depth
return r
}
-func (r ApiDcimRearPortsListRequest) Execute() (*PaginatedRearPortList, *http.Response, error) {
- return r.ApiService.DcimRearPortsListExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimSoftwareImageFilesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimSoftwareImageFilesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimSoftwareImageFilesListRequest) Execute() (*PaginatedSoftwareImageFileList, *http.Response, error) {
+ return r.ApiService.DcimSoftwareImageFilesListExecute(r)
}
/*
-DcimRearPortsList Method for DcimRearPortsList
+DcimSoftwareImageFilesList Method for DcimSoftwareImageFilesList
-Retrieve a list of rear port objects.
+Retrieve a list of software image file objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimRearPortsListRequest
+ @return ApiDcimSoftwareImageFilesListRequest
*/
-func (a *DcimAPIService) DcimRearPortsList(ctx context.Context) ApiDcimRearPortsListRequest {
- return ApiDcimRearPortsListRequest{
+func (a *DcimAPIService) DcimSoftwareImageFilesList(ctx context.Context) ApiDcimSoftwareImageFilesListRequest {
+ return ApiDcimSoftwareImageFilesListRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return PaginatedRearPortList
-func (a *DcimAPIService) DcimRearPortsListExecute(r ApiDcimRearPortsListRequest) (*PaginatedRearPortList, *http.Response, error) {
+// @return PaginatedSoftwareImageFileList
+func (a *DcimAPIService) DcimSoftwareImageFilesListExecute(r ApiDcimSoftwareImageFilesListRequest) (*PaginatedSoftwareImageFileList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PaginatedRearPortList
+ localVarReturnValue *PaginatedSoftwareImageFileList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortsList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareImageFilesList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rear-ports/"
+ localVarPath := localBasePath + "/dcim/software-image-files/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.cable != nil {
- t := *r.cable
+ if r.contacts != nil {
+ t := *r.contacts
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "cable", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "cable", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", t, "form", "multi")
}
}
- if r.cableIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "cable__isnull", r.cableIsnull, "form", "")
+ if r.contactsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
- if r.cableN != nil {
- t := *r.cableN
+ if r.contactsN != nil {
+ t := *r.contactsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "cable__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "cable__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
}
}
- if r.contacts != nil {
- t := *r.contacts
+ if r.created != nil {
+ t := *r.created
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created", t, "form", "multi")
}
}
- if r.contactsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
- }
- if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
- }
- if r.description != nil {
- t := *r.description
+ if r.createdGt != nil {
+ t := *r.createdGt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", t, "form", "multi")
}
}
- if r.descriptionIc != nil {
- t := *r.descriptionIc
+ if r.createdGte != nil {
+ t := *r.createdGte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", t, "form", "multi")
}
}
- if r.descriptionIe != nil {
- t := *r.descriptionIe
+ if r.createdIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__isnull", r.createdIsnull, "form", "")
+ }
+ if r.createdLt != nil {
+ t := *r.createdLt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", t, "form", "multi")
}
}
- if r.descriptionIew != nil {
- t := *r.descriptionIew
+ if r.createdLte != nil {
+ t := *r.createdLte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", t, "form", "multi")
}
}
- if r.descriptionIre != nil {
- t := *r.descriptionIre
+ if r.createdN != nil {
+ t := *r.createdN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "form", "multi")
}
}
- if r.descriptionIsw != nil {
- t := *r.descriptionIsw
+ if r.defaultImage != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "default_image", r.defaultImage, "form", "")
+ }
+ if r.deviceTypes != nil {
+ t := *r.deviceTypes
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device_types", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device_types", t, "form", "multi")
}
}
- if r.descriptionN != nil {
- t := *r.descriptionN
+ if r.deviceTypesIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device_types__isnull", r.deviceTypesIsnull, "form", "")
+ }
+ if r.deviceTypesN != nil {
+ t := *r.deviceTypesN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device_types__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device_types__n", t, "form", "multi")
}
}
- if r.descriptionNic != nil {
- t := *r.descriptionNic
+ if r.devices != nil {
+ t := *r.devices
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "devices", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "devices", t, "form", "multi")
}
}
- if r.descriptionNie != nil {
- t := *r.descriptionNie
+ if r.devicesIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "devices__isnull", r.devicesIsnull, "form", "")
+ }
+ if r.devicesN != nil {
+ t := *r.devicesN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "devices__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "devices__n", t, "form", "multi")
}
}
- if r.descriptionNiew != nil {
- t := *r.descriptionNiew
+ if r.downloadUrl != nil {
+ t := *r.downloadUrl
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "download_url", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "download_url", t, "form", "multi")
}
}
- if r.descriptionNire != nil {
- t := *r.descriptionNire
+ if r.downloadUrlIc != nil {
+ t := *r.downloadUrlIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__ic", t, "form", "multi")
}
}
- if r.descriptionNisw != nil {
- t := *r.descriptionNisw
+ if r.downloadUrlIe != nil {
+ t := *r.downloadUrlIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__ie", t, "form", "multi")
}
}
- if r.descriptionNre != nil {
- t := *r.descriptionNre
+ if r.downloadUrlIew != nil {
+ t := *r.downloadUrlIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__iew", t, "form", "multi")
}
}
- if r.descriptionRe != nil {
- t := *r.descriptionRe
+ if r.downloadUrlIre != nil {
+ t := *r.downloadUrlIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__ire", t, "form", "multi")
}
}
- if r.device != nil {
- t := *r.device
+ if r.downloadUrlIsw != nil {
+ t := *r.downloadUrlIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__isw", t, "form", "multi")
}
}
- if r.dynamicGroups != nil {
- t := *r.dynamicGroups
+ if r.downloadUrlN != nil {
+ t := *r.downloadUrlN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__n", t, "form", "multi")
}
}
- if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.frontPorts != nil {
- t := *r.frontPorts
+ if r.downloadUrlNic != nil {
+ t := *r.downloadUrlNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "front_ports", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "front_ports", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__nic", t, "form", "multi")
}
}
- if r.frontPortsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "front_ports__isnull", r.frontPortsIsnull, "form", "")
- }
- if r.frontPortsN != nil {
- t := *r.frontPortsN
+ if r.downloadUrlNie != nil {
+ t := *r.downloadUrlNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "front_ports__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "front_ports__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__nie", t, "form", "multi")
}
}
- if r.hasCable != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_cable", r.hasCable, "form", "")
- }
- if r.hasFrontPorts != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_front_ports", r.hasFrontPorts, "form", "")
- }
- if r.id != nil {
- t := *r.id
+ if r.downloadUrlNiew != nil {
+ t := *r.downloadUrlNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__niew", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
+ if r.downloadUrlNire != nil {
+ t := *r.downloadUrlNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__nire", t, "form", "multi")
}
}
- if r.idIe != nil {
- t := *r.idIe
+ if r.downloadUrlNisw != nil {
+ t := *r.downloadUrlNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__nisw", t, "form", "multi")
}
}
- if r.idIew != nil {
- t := *r.idIew
+ if r.downloadUrlNre != nil {
+ t := *r.downloadUrlNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__nre", t, "form", "multi")
}
}
- if r.idIre != nil {
- t := *r.idIre
+ if r.downloadUrlRe != nil {
+ t := *r.downloadUrlRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__re", t, "form", "multi")
}
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.dynamicGroups != nil {
+ t := *r.dynamicGroups
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
}
}
- if r.idN != nil {
- t := *r.idN
+ if r.dynamicGroupsN != nil {
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
+ if r.externalIntegration != nil {
+ t := *r.externalIntegration
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "external_integration", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "external_integration", t, "form", "multi")
}
}
- if r.idNie != nil {
- t := *r.idNie
+ if r.externalIntegrationIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "external_integration__isnull", r.externalIntegrationIsnull, "form", "")
+ }
+ if r.externalIntegrationN != nil {
+ t := *r.externalIntegrationN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "external_integration__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "external_integration__n", t, "form", "multi")
}
}
- if r.idNiew != nil {
- t := *r.idNiew
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.hasDeviceTypes != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_device_types", r.hasDeviceTypes, "form", "")
+ }
+ if r.hasDevices != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_devices", r.hasDevices, "form", "")
+ }
+ if r.hashingAlgorithm != nil {
+ t := *r.hashingAlgorithm
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm", t, "form", "multi")
}
}
- if r.idNire != nil {
- t := *r.idNire
+ if r.hashingAlgorithmIc != nil {
+ t := *r.hashingAlgorithmIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__ic", t, "form", "multi")
}
}
- if r.idNisw != nil {
- t := *r.idNisw
+ if r.hashingAlgorithmIe != nil {
+ t := *r.hashingAlgorithmIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__ie", t, "form", "multi")
}
}
- if r.idNre != nil {
- t := *r.idNre
+ if r.hashingAlgorithmIew != nil {
+ t := *r.hashingAlgorithmIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__iew", t, "form", "multi")
}
}
- if r.idRe != nil {
- t := *r.idRe
+ if r.hashingAlgorithmIre != nil {
+ t := *r.hashingAlgorithmIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__ire", t, "form", "multi")
}
}
- if r.label != nil {
- t := *r.label
+ if r.hashingAlgorithmIsw != nil {
+ t := *r.hashingAlgorithmIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__isw", t, "form", "multi")
}
}
- if r.labelIc != nil {
- t := *r.labelIc
+ if r.hashingAlgorithmN != nil {
+ t := *r.hashingAlgorithmN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__n", t, "form", "multi")
}
}
- if r.labelIe != nil {
- t := *r.labelIe
+ if r.hashingAlgorithmNic != nil {
+ t := *r.hashingAlgorithmNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__nic", t, "form", "multi")
}
}
- if r.labelIew != nil {
- t := *r.labelIew
+ if r.hashingAlgorithmNie != nil {
+ t := *r.hashingAlgorithmNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__nie", t, "form", "multi")
}
}
- if r.labelIre != nil {
- t := *r.labelIre
+ if r.hashingAlgorithmNiew != nil {
+ t := *r.hashingAlgorithmNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__niew", t, "form", "multi")
}
}
- if r.labelIsw != nil {
- t := *r.labelIsw
+ if r.hashingAlgorithmNire != nil {
+ t := *r.hashingAlgorithmNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__nire", t, "form", "multi")
}
}
- if r.labelN != nil {
- t := *r.labelN
+ if r.hashingAlgorithmNisw != nil {
+ t := *r.hashingAlgorithmNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__nisw", t, "form", "multi")
}
}
- if r.labelNic != nil {
- t := *r.labelNic
+ if r.hashingAlgorithmNre != nil {
+ t := *r.hashingAlgorithmNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__nre", t, "form", "multi")
}
}
- if r.labelNie != nil {
- t := *r.labelNie
+ if r.hashingAlgorithmRe != nil {
+ t := *r.hashingAlgorithmRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__re", t, "form", "multi")
}
}
- if r.labelNiew != nil {
- t := *r.labelNiew
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.labelNire != nil {
- t := *r.labelNire
+ if r.idN != nil {
+ t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.labelNisw != nil {
- t := *r.labelNisw
+ if r.imageFileChecksum != nil {
+ t := *r.imageFileChecksum
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum", t, "form", "multi")
}
}
- if r.labelNre != nil {
- t := *r.labelNre
+ if r.imageFileChecksumIc != nil {
+ t := *r.imageFileChecksumIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__ic", t, "form", "multi")
}
}
- if r.labelRe != nil {
- t := *r.labelRe
+ if r.imageFileChecksumIe != nil {
+ t := *r.imageFileChecksumIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "label__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__ie", t, "form", "multi")
}
}
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
- }
- if r.location != nil {
- t := *r.location
+ if r.imageFileChecksumIew != nil {
+ t := *r.imageFileChecksumIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__iew", t, "form", "multi")
}
}
- if r.locationN != nil {
- t := *r.locationN
+ if r.imageFileChecksumIre != nil {
+ t := *r.imageFileChecksumIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__ire", t, "form", "multi")
}
}
- if r.module != nil {
- t := *r.module
+ if r.imageFileChecksumIsw != nil {
+ t := *r.imageFileChecksumIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__isw", t, "form", "multi")
}
}
- if r.moduleIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module__isnull", r.moduleIsnull, "form", "")
- }
- if r.moduleN != nil {
- t := *r.moduleN
+ if r.imageFileChecksumN != nil {
+ t := *r.imageFileChecksumN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "module__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__n", t, "form", "multi")
}
}
- if r.name != nil {
- t := *r.name
+ if r.imageFileChecksumNic != nil {
+ t := *r.imageFileChecksumNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__nic", t, "form", "multi")
}
}
- if r.nameIc != nil {
- t := *r.nameIc
+ if r.imageFileChecksumNie != nil {
+ t := *r.imageFileChecksumNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__nie", t, "form", "multi")
}
}
- if r.nameIe != nil {
- t := *r.nameIe
+ if r.imageFileChecksumNiew != nil {
+ t := *r.imageFileChecksumNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__niew", t, "form", "multi")
}
}
- if r.nameIew != nil {
- t := *r.nameIew
+ if r.imageFileChecksumNire != nil {
+ t := *r.imageFileChecksumNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__nire", t, "form", "multi")
}
}
- if r.nameIre != nil {
- t := *r.nameIre
+ if r.imageFileChecksumNisw != nil {
+ t := *r.imageFileChecksumNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__nisw", t, "form", "multi")
}
}
- if r.nameIsw != nil {
- t := *r.nameIsw
+ if r.imageFileChecksumNre != nil {
+ t := *r.imageFileChecksumNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__nre", t, "form", "multi")
}
}
- if r.nameN != nil {
- t := *r.nameN
+ if r.imageFileChecksumRe != nil {
+ t := *r.imageFileChecksumRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__re", t, "form", "multi")
}
}
- if r.nameNic != nil {
- t := *r.nameNic
+ if r.imageFileName != nil {
+ t := *r.imageFileName
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name", t, "form", "multi")
}
}
- if r.nameNie != nil {
- t := *r.nameNie
+ if r.imageFileNameIc != nil {
+ t := *r.imageFileNameIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__ic", t, "form", "multi")
}
}
- if r.nameNiew != nil {
- t := *r.nameNiew
+ if r.imageFileNameIe != nil {
+ t := *r.imageFileNameIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__ie", t, "form", "multi")
}
}
- if r.nameNire != nil {
- t := *r.nameNire
+ if r.imageFileNameIew != nil {
+ t := *r.imageFileNameIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__iew", t, "form", "multi")
}
}
- if r.nameNisw != nil {
- t := *r.nameNisw
+ if r.imageFileNameIre != nil {
+ t := *r.imageFileNameIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__ire", t, "form", "multi")
}
}
- if r.nameNre != nil {
- t := *r.nameNre
+ if r.imageFileNameIsw != nil {
+ t := *r.imageFileNameIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__isw", t, "form", "multi")
}
}
- if r.nameRe != nil {
- t := *r.nameRe
+ if r.imageFileNameN != nil {
+ t := *r.imageFileNameN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__n", t, "form", "multi")
}
}
- if r.offset != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+ if r.imageFileNameNic != nil {
+ t := *r.imageFileNameNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__nic", t, "form", "multi")
+ }
}
- if r.positions != nil {
- t := *r.positions
+ if r.imageFileNameNie != nil {
+ t := *r.imageFileNameNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "positions", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "positions", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__nie", t, "form", "multi")
}
}
- if r.positionsGt != nil {
- t := *r.positionsGt
+ if r.imageFileNameNiew != nil {
+ t := *r.imageFileNameNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "positions__gt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "positions__gt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__niew", t, "form", "multi")
}
}
- if r.positionsGte != nil {
- t := *r.positionsGte
+ if r.imageFileNameNire != nil {
+ t := *r.imageFileNameNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "positions__gte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "positions__gte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__nire", t, "form", "multi")
}
}
- if r.positionsLt != nil {
- t := *r.positionsLt
+ if r.imageFileNameNisw != nil {
+ t := *r.imageFileNameNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "positions__lt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "positions__lt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__nisw", t, "form", "multi")
}
}
- if r.positionsLte != nil {
- t := *r.positionsLte
+ if r.imageFileNameNre != nil {
+ t := *r.imageFileNameNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "positions__lte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "positions__lte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__nre", t, "form", "multi")
}
}
- if r.positionsN != nil {
- t := *r.positionsN
+ if r.imageFileNameRe != nil {
+ t := *r.imageFileNameRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "positions__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "positions__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__re", t, "form", "multi")
}
}
- if r.q != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
+ if r.imageFileSize != nil {
+ t := *r.imageFileSize
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_size", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_size", t, "form", "multi")
+ }
}
- if r.sort != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
+ if r.imageFileSizeGt != nil {
+ t := *r.imageFileSizeGt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_size__gt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_size__gt", t, "form", "multi")
+ }
}
- if r.tags != nil {
- t := *r.tags
+ if r.imageFileSizeGte != nil {
+ t := *r.imageFileSizeGte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_size__gte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_size__gte", t, "form", "multi")
}
}
- if r.tagsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags__isnull", r.tagsIsnull, "form", "")
+ if r.imageFileSizeIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_size__isnull", r.imageFileSizeIsnull, "form", "")
}
- if r.tagsN != nil {
- t := *r.tagsN
+ if r.imageFileSizeLt != nil {
+ t := *r.imageFileSizeLt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_size__lt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_size__lt", t, "form", "multi")
}
}
- if r.teams != nil {
- t := *r.teams
+ if r.imageFileSizeLte != nil {
+ t := *r.imageFileSizeLte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_size__lte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_size__lte", t, "form", "multi")
}
}
- if r.teamsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
- }
- if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ if r.imageFileSizeN != nil {
+ t := *r.imageFileSizeN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_size__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_size__n", t, "form", "multi")
+ }
}
- if r.type_ != nil {
- t := *r.type_
+ if r.lastUpdated != nil {
+ t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "form", "multi")
}
}
- if r.typeIc != nil {
- t := *r.typeIc
+ if r.lastUpdatedGt != nil {
+ t := *r.lastUpdatedGt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", t, "form", "multi")
}
}
- if r.typeIe != nil {
- t := *r.typeIe
+ if r.lastUpdatedGte != nil {
+ t := *r.lastUpdatedGte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", t, "form", "multi")
}
}
- if r.typeIew != nil {
- t := *r.typeIew
+ if r.lastUpdatedIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__isnull", r.lastUpdatedIsnull, "form", "")
+ }
+ if r.lastUpdatedLt != nil {
+ t := *r.lastUpdatedLt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", t, "form", "multi")
}
}
- if r.typeIre != nil {
- t := *r.typeIre
+ if r.lastUpdatedLte != nil {
+ t := *r.lastUpdatedLte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", t, "form", "multi")
}
}
- if r.typeIsw != nil {
- t := *r.typeIsw
+ if r.lastUpdatedN != nil {
+ t := *r.lastUpdatedN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", t, "form", "multi")
}
}
- if r.typeN != nil {
- t := *r.typeN
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ }
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+ }
+ if r.q != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
+ }
+ if r.softwareVersion != nil {
+ t := *r.softwareVersion
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "software_version", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "software_version", t, "form", "multi")
}
}
- if r.typeNic != nil {
- t := *r.typeNic
+ if r.softwareVersionN != nil {
+ t := *r.softwareVersionN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "software_version__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "software_version__n", t, "form", "multi")
}
}
- if r.typeNie != nil {
- t := *r.typeNie
+ if r.sort != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
+ }
+ if r.status != nil {
+ t := *r.status
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status", t, "form", "multi")
}
}
- if r.typeNiew != nil {
- t := *r.typeNiew
+ if r.statusN != nil {
+ t := *r.statusN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "form", "multi")
}
}
- if r.typeNire != nil {
- t := *r.typeNire
+ if r.tags != nil {
+ t := *r.tags
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags", t, "form", "multi")
}
}
- if r.typeNisw != nil {
- t := *r.typeNisw
+ if r.tagsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__isnull", r.tagsIsnull, "form", "")
+ }
+ if r.tagsN != nil {
+ t := *r.tagsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", t, "form", "multi")
}
}
- if r.typeNre != nil {
- t := *r.typeNre
+ if r.teams != nil {
+ t := *r.teams
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams", t, "form", "multi")
}
}
- if r.typeRe != nil {
- t := *r.typeRe
+ if r.teamsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
+ }
+ if r.teamsN != nil {
+ t := *r.teamsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "type__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
}
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -131431,7 +131991,7 @@ func (a *DcimAPIService) DcimRearPortsListExecute(r ApiDcimRearPortsListRequest)
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRearPortsNotesCreateRequest struct {
+type ApiDcimSoftwareImageFilesNotesCreateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
@@ -131439,31 +131999,31 @@ type ApiDcimRearPortsNotesCreateRequest struct {
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimRearPortsNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimRearPortsNotesCreateRequest {
+func (r ApiDcimSoftwareImageFilesNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimSoftwareImageFilesNotesCreateRequest {
r.noteInputRequest = ¬eInputRequest
return r
}
-func (r ApiDcimRearPortsNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortsNotesCreateRequest {
+func (r ApiDcimSoftwareImageFilesNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareImageFilesNotesCreateRequest {
r.format = &format
return r
}
-func (r ApiDcimRearPortsNotesCreateRequest) Execute() (*Note, *http.Response, error) {
- return r.ApiService.DcimRearPortsNotesCreateExecute(r)
+func (r ApiDcimSoftwareImageFilesNotesCreateRequest) Execute() (*Note, *http.Response, error) {
+ return r.ApiService.DcimSoftwareImageFilesNotesCreateExecute(r)
}
/*
-DcimRearPortsNotesCreate Method for DcimRearPortsNotesCreate
+DcimSoftwareImageFilesNotesCreate Method for DcimSoftwareImageFilesNotesCreate
API methods for returning or creating notes on an object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this rear port.
- @return ApiDcimRearPortsNotesCreateRequest
+ @param id A UUID string identifying this software image file.
+ @return ApiDcimSoftwareImageFilesNotesCreateRequest
*/
-func (a *DcimAPIService) DcimRearPortsNotesCreate(ctx context.Context, id string) ApiDcimRearPortsNotesCreateRequest {
- return ApiDcimRearPortsNotesCreateRequest{
+func (a *DcimAPIService) DcimSoftwareImageFilesNotesCreate(ctx context.Context, id string) ApiDcimSoftwareImageFilesNotesCreateRequest {
+ return ApiDcimSoftwareImageFilesNotesCreateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -131472,7 +132032,7 @@ func (a *DcimAPIService) DcimRearPortsNotesCreate(ctx context.Context, id string
// Execute executes the request
// @return Note
-func (a *DcimAPIService) DcimRearPortsNotesCreateExecute(r ApiDcimRearPortsNotesCreateRequest) (*Note, *http.Response, error) {
+func (a *DcimAPIService) DcimSoftwareImageFilesNotesCreateExecute(r ApiDcimSoftwareImageFilesNotesCreateRequest) (*Note, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -131480,12 +132040,12 @@ func (a *DcimAPIService) DcimRearPortsNotesCreateExecute(r ApiDcimRearPortsNotes
localVarReturnValue *Note
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortsNotesCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareImageFilesNotesCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rear-ports/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/software-image-files/{id}/notes/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -131568,7 +132128,7 @@ func (a *DcimAPIService) DcimRearPortsNotesCreateExecute(r ApiDcimRearPortsNotes
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRearPortsNotesListRequest struct {
+type ApiDcimSoftwareImageFilesNotesListRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
@@ -131576,46 +132136,53 @@ type ApiDcimRearPortsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimRearPortsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortsNotesListRequest {
+func (r ApiDcimSoftwareImageFilesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareImageFilesNotesListRequest {
r.format = &format
return r
}
// Number of results to return per page.
-func (r ApiDcimRearPortsNotesListRequest) Limit(limit int32) ApiDcimRearPortsNotesListRequest {
+func (r ApiDcimSoftwareImageFilesNotesListRequest) Limit(limit int32) ApiDcimSoftwareImageFilesNotesListRequest {
r.limit = &limit
return r
}
// The initial index from which to return the results.
-func (r ApiDcimRearPortsNotesListRequest) Offset(offset int32) ApiDcimRearPortsNotesListRequest {
+func (r ApiDcimSoftwareImageFilesNotesListRequest) Offset(offset int32) ApiDcimSoftwareImageFilesNotesListRequest {
r.offset = &offset
return r
}
// Serializer Depth
-func (r ApiDcimRearPortsNotesListRequest) Depth(depth int32) ApiDcimRearPortsNotesListRequest {
+func (r ApiDcimSoftwareImageFilesNotesListRequest) Depth(depth int32) ApiDcimSoftwareImageFilesNotesListRequest {
r.depth = &depth
return r
}
-func (r ApiDcimRearPortsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
- return r.ApiService.DcimRearPortsNotesListExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimSoftwareImageFilesNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimSoftwareImageFilesNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimSoftwareImageFilesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
+ return r.ApiService.DcimSoftwareImageFilesNotesListExecute(r)
}
/*
-DcimRearPortsNotesList Method for DcimRearPortsNotesList
+DcimSoftwareImageFilesNotesList Method for DcimSoftwareImageFilesNotesList
API methods for returning or creating notes on an object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this rear port.
- @return ApiDcimRearPortsNotesListRequest
+ @param id A UUID string identifying this software image file.
+ @return ApiDcimSoftwareImageFilesNotesListRequest
*/
-func (a *DcimAPIService) DcimRearPortsNotesList(ctx context.Context, id string) ApiDcimRearPortsNotesListRequest {
- return ApiDcimRearPortsNotesListRequest{
+func (a *DcimAPIService) DcimSoftwareImageFilesNotesList(ctx context.Context, id string) ApiDcimSoftwareImageFilesNotesListRequest {
+ return ApiDcimSoftwareImageFilesNotesListRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -131624,7 +132191,7 @@ func (a *DcimAPIService) DcimRearPortsNotesList(ctx context.Context, id string)
// Execute executes the request
// @return PaginatedNoteList
-func (a *DcimAPIService) DcimRearPortsNotesListExecute(r ApiDcimRearPortsNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
+func (a *DcimAPIService) DcimSoftwareImageFilesNotesListExecute(r ApiDcimSoftwareImageFilesNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -131632,12 +132199,12 @@ func (a *DcimAPIService) DcimRearPortsNotesListExecute(r ApiDcimRearPortsNotesLi
localVarReturnValue *PaginatedNoteList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortsNotesList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareImageFilesNotesList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rear-ports/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/software-image-files/{id}/notes/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -131656,143 +132223,19 @@ func (a *DcimAPIService) DcimRearPortsNotesListExecute(r ApiDcimRearPortsNotesLi
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
}
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiDcimRearPortsPartialUpdateRequest struct {
- ctx context.Context
- ApiService *DcimAPIService
- id string
- format *CircuitsCircuitTerminationsListFormatParameter
- patchedWritableRearPortRequest *PatchedWritableRearPortRequest
-}
-
-func (r ApiDcimRearPortsPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortsPartialUpdateRequest {
- r.format = &format
- return r
-}
-
-func (r ApiDcimRearPortsPartialUpdateRequest) PatchedWritableRearPortRequest(patchedWritableRearPortRequest PatchedWritableRearPortRequest) ApiDcimRearPortsPartialUpdateRequest {
- r.patchedWritableRearPortRequest = &patchedWritableRearPortRequest
- return r
-}
-
-func (r ApiDcimRearPortsPartialUpdateRequest) Execute() (*RearPort, *http.Response, error) {
- return r.ApiService.DcimRearPortsPartialUpdateExecute(r)
-}
-
-/*
-DcimRearPortsPartialUpdate Method for DcimRearPortsPartialUpdate
-
-Partial update a rear port object.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this rear port.
- @return ApiDcimRearPortsPartialUpdateRequest
-*/
-func (a *DcimAPIService) DcimRearPortsPartialUpdate(ctx context.Context, id string) ApiDcimRearPortsPartialUpdateRequest {
- return ApiDcimRearPortsPartialUpdateRequest{
- ApiService: a,
- ctx: ctx,
- id: id,
- }
-}
-
-// Execute executes the request
-// @return RearPort
-func (a *DcimAPIService) DcimRearPortsPartialUpdateExecute(r ApiDcimRearPortsPartialUpdateRequest) (*RearPort, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPatch
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *RearPort
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortsPartialUpdate")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/dcim/rear-ports/{id}/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+ localVarHTTPContentTypes := []string{}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -131808,8 +132251,6 @@ func (a *DcimAPIService) DcimRearPortsPartialUpdateExecute(r ApiDcimRearPortsPar
if localVarHTTPHeaderAccept != "" {
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
- // body params
- localVarPostBody = r.patchedWritableRearPortRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -131861,54 +132302,39 @@ func (a *DcimAPIService) DcimRearPortsPartialUpdateExecute(r ApiDcimRearPortsPar
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRearPortsPathsListRequest struct {
+type ApiDcimSoftwareImageFilesPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
- limit *int32
- offset *int32
- depth *int32
+ patchedSoftwareImageFileRequest *PatchedSoftwareImageFileRequest
}
-func (r ApiDcimRearPortsPathsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortsPathsListRequest {
+func (r ApiDcimSoftwareImageFilesPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareImageFilesPartialUpdateRequest {
r.format = &format
return r
}
-// Number of results to return per page.
-func (r ApiDcimRearPortsPathsListRequest) Limit(limit int32) ApiDcimRearPortsPathsListRequest {
- r.limit = &limit
- return r
-}
-
-// The initial index from which to return the results.
-func (r ApiDcimRearPortsPathsListRequest) Offset(offset int32) ApiDcimRearPortsPathsListRequest {
- r.offset = &offset
- return r
-}
-
-// Serializer Depth
-func (r ApiDcimRearPortsPathsListRequest) Depth(depth int32) ApiDcimRearPortsPathsListRequest {
- r.depth = &depth
+func (r ApiDcimSoftwareImageFilesPartialUpdateRequest) PatchedSoftwareImageFileRequest(patchedSoftwareImageFileRequest PatchedSoftwareImageFileRequest) ApiDcimSoftwareImageFilesPartialUpdateRequest {
+ r.patchedSoftwareImageFileRequest = &patchedSoftwareImageFileRequest
return r
}
-func (r ApiDcimRearPortsPathsListRequest) Execute() (*PaginatedCablePathList, *http.Response, error) {
- return r.ApiService.DcimRearPortsPathsListExecute(r)
+func (r ApiDcimSoftwareImageFilesPartialUpdateRequest) Execute() (*SoftwareImageFile, *http.Response, error) {
+ return r.ApiService.DcimSoftwareImageFilesPartialUpdateExecute(r)
}
/*
-DcimRearPortsPathsList Method for DcimRearPortsPathsList
+DcimSoftwareImageFilesPartialUpdate Method for DcimSoftwareImageFilesPartialUpdate
-Return all CablePaths which traverse a given pass-through port.
+Partial update a software image file object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this rear port.
- @return ApiDcimRearPortsPathsListRequest
+ @param id A UUID string identifying this software image file.
+ @return ApiDcimSoftwareImageFilesPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimRearPortsPathsList(ctx context.Context, id string) ApiDcimRearPortsPathsListRequest {
- return ApiDcimRearPortsPathsListRequest{
+func (a *DcimAPIService) DcimSoftwareImageFilesPartialUpdate(ctx context.Context, id string) ApiDcimSoftwareImageFilesPartialUpdateRequest {
+ return ApiDcimSoftwareImageFilesPartialUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -131916,21 +132342,21 @@ func (a *DcimAPIService) DcimRearPortsPathsList(ctx context.Context, id string)
}
// Execute executes the request
-// @return PaginatedCablePathList
-func (a *DcimAPIService) DcimRearPortsPathsListExecute(r ApiDcimRearPortsPathsListRequest) (*PaginatedCablePathList, *http.Response, error) {
+// @return SoftwareImageFile
+func (a *DcimAPIService) DcimSoftwareImageFilesPartialUpdateExecute(r ApiDcimSoftwareImageFilesPartialUpdateRequest) (*SoftwareImageFile, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodGet
+ localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PaginatedCablePathList
+ localVarReturnValue *SoftwareImageFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortsPathsList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareImageFilesPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rear-ports/{id}/paths/"
+ localVarPath := localBasePath + "/dcim/software-image-files/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -131940,20 +132366,8 @@ func (a *DcimAPIService) DcimRearPortsPathsListExecute(r ApiDcimRearPortsPathsLi
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
- }
- if r.offset != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
- }
- if r.depth != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
- } else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
- }
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -131969,6 +132383,8 @@ func (a *DcimAPIService) DcimRearPortsPathsListExecute(r ApiDcimRearPortsPathsLi
if localVarHTTPHeaderAccept != "" {
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
+ // body params
+ localVarPostBody = r.patchedSoftwareImageFileRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -132020,40 +132436,47 @@ func (a *DcimAPIService) DcimRearPortsPathsListExecute(r ApiDcimRearPortsPathsLi
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRearPortsRetrieveRequest struct {
+type ApiDcimSoftwareImageFilesRetrieveRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimRearPortsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortsRetrieveRequest {
+func (r ApiDcimSoftwareImageFilesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareImageFilesRetrieveRequest {
r.format = &format
return r
}
// Serializer Depth
-func (r ApiDcimRearPortsRetrieveRequest) Depth(depth int32) ApiDcimRearPortsRetrieveRequest {
+func (r ApiDcimSoftwareImageFilesRetrieveRequest) Depth(depth int32) ApiDcimSoftwareImageFilesRetrieveRequest {
r.depth = &depth
return r
}
-func (r ApiDcimRearPortsRetrieveRequest) Execute() (*RearPort, *http.Response, error) {
- return r.ApiService.DcimRearPortsRetrieveExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimSoftwareImageFilesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimSoftwareImageFilesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimSoftwareImageFilesRetrieveRequest) Execute() (*SoftwareImageFile, *http.Response, error) {
+ return r.ApiService.DcimSoftwareImageFilesRetrieveExecute(r)
}
/*
-DcimRearPortsRetrieve Method for DcimRearPortsRetrieve
+DcimSoftwareImageFilesRetrieve Method for DcimSoftwareImageFilesRetrieve
-Retrieve a rear port object.
+Retrieve a software image file object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this rear port.
- @return ApiDcimRearPortsRetrieveRequest
+ @param id A UUID string identifying this software image file.
+ @return ApiDcimSoftwareImageFilesRetrieveRequest
*/
-func (a *DcimAPIService) DcimRearPortsRetrieve(ctx context.Context, id string) ApiDcimRearPortsRetrieveRequest {
- return ApiDcimRearPortsRetrieveRequest{
+func (a *DcimAPIService) DcimSoftwareImageFilesRetrieve(ctx context.Context, id string) ApiDcimSoftwareImageFilesRetrieveRequest {
+ return ApiDcimSoftwareImageFilesRetrieveRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -132061,21 +132484,21 @@ func (a *DcimAPIService) DcimRearPortsRetrieve(ctx context.Context, id string) A
}
// Execute executes the request
-// @return RearPort
-func (a *DcimAPIService) DcimRearPortsRetrieveExecute(r ApiDcimRearPortsRetrieveRequest) (*RearPort, *http.Response, error) {
+// @return SoftwareImageFile
+func (a *DcimAPIService) DcimSoftwareImageFilesRetrieveExecute(r ApiDcimSoftwareImageFilesRetrieveRequest) (*SoftwareImageFile, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *RearPort
+ localVarReturnValue *SoftwareImageFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortsRetrieve")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareImageFilesRetrieve")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rear-ports/{id}/"
+ localVarPath := localBasePath + "/dcim/software-image-files/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -132088,8 +132511,16 @@ func (a *DcimAPIService) DcimRearPortsRetrieveExecute(r ApiDcimRearPortsRetrieve
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -132159,39 +132590,39 @@ func (a *DcimAPIService) DcimRearPortsRetrieveExecute(r ApiDcimRearPortsRetrieve
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimRearPortsUpdateRequest struct {
+type ApiDcimSoftwareImageFilesUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
- writableRearPortRequest *WritableRearPortRequest
+ softwareImageFileRequest *SoftwareImageFileRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimRearPortsUpdateRequest) WritableRearPortRequest(writableRearPortRequest WritableRearPortRequest) ApiDcimRearPortsUpdateRequest {
- r.writableRearPortRequest = &writableRearPortRequest
+func (r ApiDcimSoftwareImageFilesUpdateRequest) SoftwareImageFileRequest(softwareImageFileRequest SoftwareImageFileRequest) ApiDcimSoftwareImageFilesUpdateRequest {
+ r.softwareImageFileRequest = &softwareImageFileRequest
return r
}
-func (r ApiDcimRearPortsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimRearPortsUpdateRequest {
+func (r ApiDcimSoftwareImageFilesUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareImageFilesUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimRearPortsUpdateRequest) Execute() (*RearPort, *http.Response, error) {
- return r.ApiService.DcimRearPortsUpdateExecute(r)
+func (r ApiDcimSoftwareImageFilesUpdateRequest) Execute() (*SoftwareImageFile, *http.Response, error) {
+ return r.ApiService.DcimSoftwareImageFilesUpdateExecute(r)
}
/*
-DcimRearPortsUpdate Method for DcimRearPortsUpdate
+DcimSoftwareImageFilesUpdate Method for DcimSoftwareImageFilesUpdate
-Update a rear port object.
+Update a software image file object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this rear port.
- @return ApiDcimRearPortsUpdateRequest
+ @param id A UUID string identifying this software image file.
+ @return ApiDcimSoftwareImageFilesUpdateRequest
*/
-func (a *DcimAPIService) DcimRearPortsUpdate(ctx context.Context, id string) ApiDcimRearPortsUpdateRequest {
- return ApiDcimRearPortsUpdateRequest{
+func (a *DcimAPIService) DcimSoftwareImageFilesUpdate(ctx context.Context, id string) ApiDcimSoftwareImageFilesUpdateRequest {
+ return ApiDcimSoftwareImageFilesUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -132199,28 +132630,28 @@ func (a *DcimAPIService) DcimRearPortsUpdate(ctx context.Context, id string) Api
}
// Execute executes the request
-// @return RearPort
-func (a *DcimAPIService) DcimRearPortsUpdateExecute(r ApiDcimRearPortsUpdateRequest) (*RearPort, *http.Response, error) {
+// @return SoftwareImageFile
+func (a *DcimAPIService) DcimSoftwareImageFilesUpdateExecute(r ApiDcimSoftwareImageFilesUpdateRequest) (*SoftwareImageFile, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *RearPort
+ localVarReturnValue *SoftwareImageFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimRearPortsUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareImageFilesUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/rear-ports/{id}/"
+ localVarPath := localBasePath + "/dcim/software-image-files/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.writableRearPortRequest == nil {
- return localVarReturnValue, nil, reportError("writableRearPortRequest is required and must be specified")
+ if r.softwareImageFileRequest == nil {
+ return localVarReturnValue, nil, reportError("softwareImageFileRequest is required and must be specified")
}
if r.format != nil {
@@ -132244,7 +132675,7 @@ func (a *DcimAPIService) DcimRearPortsUpdateExecute(r ApiDcimRearPortsUpdateRequ
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.writableRearPortRequest
+ localVarPostBody = r.softwareImageFileRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -132296,56 +132727,56 @@ func (a *DcimAPIService) DcimRearPortsUpdateExecute(r ApiDcimRearPortsUpdateRequ
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimSoftwareImageFilesBulkDestroyRequest struct {
+type ApiDcimSoftwareVersionsBulkDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
bulkOperationRequest *[]BulkOperationRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimSoftwareImageFilesBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimSoftwareImageFilesBulkDestroyRequest {
+func (r ApiDcimSoftwareVersionsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimSoftwareVersionsBulkDestroyRequest {
r.bulkOperationRequest = &bulkOperationRequest
return r
}
-func (r ApiDcimSoftwareImageFilesBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareImageFilesBulkDestroyRequest {
+func (r ApiDcimSoftwareVersionsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareVersionsBulkDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimSoftwareImageFilesBulkDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimSoftwareImageFilesBulkDestroyExecute(r)
+func (r ApiDcimSoftwareVersionsBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimSoftwareVersionsBulkDestroyExecute(r)
}
/*
-DcimSoftwareImageFilesBulkDestroy Method for DcimSoftwareImageFilesBulkDestroy
+DcimSoftwareVersionsBulkDestroy Method for DcimSoftwareVersionsBulkDestroy
-Destroy a list of software image file objects.
+Destroy a list of software version objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimSoftwareImageFilesBulkDestroyRequest
+ @return ApiDcimSoftwareVersionsBulkDestroyRequest
*/
-func (a *DcimAPIService) DcimSoftwareImageFilesBulkDestroy(ctx context.Context) ApiDcimSoftwareImageFilesBulkDestroyRequest {
- return ApiDcimSoftwareImageFilesBulkDestroyRequest{
+func (a *DcimAPIService) DcimSoftwareVersionsBulkDestroy(ctx context.Context) ApiDcimSoftwareVersionsBulkDestroyRequest {
+ return ApiDcimSoftwareVersionsBulkDestroyRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-func (a *DcimAPIService) DcimSoftwareImageFilesBulkDestroyExecute(r ApiDcimSoftwareImageFilesBulkDestroyRequest) (*http.Response, error) {
+func (a *DcimAPIService) DcimSoftwareVersionsBulkDestroyExecute(r ApiDcimSoftwareVersionsBulkDestroyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareImageFilesBulkDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareVersionsBulkDestroy")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/software-image-files/"
+ localVarPath := localBasePath + "/dcim/software-versions/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -132418,64 +132849,64 @@ func (a *DcimAPIService) DcimSoftwareImageFilesBulkDestroyExecute(r ApiDcimSoftw
return localVarHTTPResponse, nil
}
-type ApiDcimSoftwareImageFilesBulkPartialUpdateRequest struct {
+type ApiDcimSoftwareVersionsBulkPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- patchedBulkWritableSoftwareImageFileRequest *[]PatchedBulkWritableSoftwareImageFileRequest
+ patchedBulkWritableSoftwareVersionRequest *[]PatchedBulkWritableSoftwareVersionRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimSoftwareImageFilesBulkPartialUpdateRequest) PatchedBulkWritableSoftwareImageFileRequest(patchedBulkWritableSoftwareImageFileRequest []PatchedBulkWritableSoftwareImageFileRequest) ApiDcimSoftwareImageFilesBulkPartialUpdateRequest {
- r.patchedBulkWritableSoftwareImageFileRequest = &patchedBulkWritableSoftwareImageFileRequest
+func (r ApiDcimSoftwareVersionsBulkPartialUpdateRequest) PatchedBulkWritableSoftwareVersionRequest(patchedBulkWritableSoftwareVersionRequest []PatchedBulkWritableSoftwareVersionRequest) ApiDcimSoftwareVersionsBulkPartialUpdateRequest {
+ r.patchedBulkWritableSoftwareVersionRequest = &patchedBulkWritableSoftwareVersionRequest
return r
}
-func (r ApiDcimSoftwareImageFilesBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareImageFilesBulkPartialUpdateRequest {
+func (r ApiDcimSoftwareVersionsBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareVersionsBulkPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimSoftwareImageFilesBulkPartialUpdateRequest) Execute() ([]SoftwareImageFile, *http.Response, error) {
- return r.ApiService.DcimSoftwareImageFilesBulkPartialUpdateExecute(r)
+func (r ApiDcimSoftwareVersionsBulkPartialUpdateRequest) Execute() ([]SoftwareVersion, *http.Response, error) {
+ return r.ApiService.DcimSoftwareVersionsBulkPartialUpdateExecute(r)
}
/*
-DcimSoftwareImageFilesBulkPartialUpdate Method for DcimSoftwareImageFilesBulkPartialUpdate
+DcimSoftwareVersionsBulkPartialUpdate Method for DcimSoftwareVersionsBulkPartialUpdate
-Partial update a list of software image file objects.
+Partial update a list of software version objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimSoftwareImageFilesBulkPartialUpdateRequest
+ @return ApiDcimSoftwareVersionsBulkPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimSoftwareImageFilesBulkPartialUpdate(ctx context.Context) ApiDcimSoftwareImageFilesBulkPartialUpdateRequest {
- return ApiDcimSoftwareImageFilesBulkPartialUpdateRequest{
+func (a *DcimAPIService) DcimSoftwareVersionsBulkPartialUpdate(ctx context.Context) ApiDcimSoftwareVersionsBulkPartialUpdateRequest {
+ return ApiDcimSoftwareVersionsBulkPartialUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []SoftwareImageFile
-func (a *DcimAPIService) DcimSoftwareImageFilesBulkPartialUpdateExecute(r ApiDcimSoftwareImageFilesBulkPartialUpdateRequest) ([]SoftwareImageFile, *http.Response, error) {
+// @return []SoftwareVersion
+func (a *DcimAPIService) DcimSoftwareVersionsBulkPartialUpdateExecute(r ApiDcimSoftwareVersionsBulkPartialUpdateRequest) ([]SoftwareVersion, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []SoftwareImageFile
+ localVarReturnValue []SoftwareVersion
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareImageFilesBulkPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareVersionsBulkPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/software-image-files/"
+ localVarPath := localBasePath + "/dcim/software-versions/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.patchedBulkWritableSoftwareImageFileRequest == nil {
- return localVarReturnValue, nil, reportError("patchedBulkWritableSoftwareImageFileRequest is required and must be specified")
+ if r.patchedBulkWritableSoftwareVersionRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritableSoftwareVersionRequest is required and must be specified")
}
if r.format != nil {
@@ -132499,7 +132930,7 @@ func (a *DcimAPIService) DcimSoftwareImageFilesBulkPartialUpdateExecute(r ApiDci
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedBulkWritableSoftwareImageFileRequest
+ localVarPostBody = r.patchedBulkWritableSoftwareVersionRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -132551,64 +132982,64 @@ func (a *DcimAPIService) DcimSoftwareImageFilesBulkPartialUpdateExecute(r ApiDci
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimSoftwareImageFilesBulkUpdateRequest struct {
+type ApiDcimSoftwareVersionsBulkUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- bulkWritableSoftwareImageFileRequest *[]BulkWritableSoftwareImageFileRequest
+ bulkWritableSoftwareVersionRequest *[]BulkWritableSoftwareVersionRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimSoftwareImageFilesBulkUpdateRequest) BulkWritableSoftwareImageFileRequest(bulkWritableSoftwareImageFileRequest []BulkWritableSoftwareImageFileRequest) ApiDcimSoftwareImageFilesBulkUpdateRequest {
- r.bulkWritableSoftwareImageFileRequest = &bulkWritableSoftwareImageFileRequest
+func (r ApiDcimSoftwareVersionsBulkUpdateRequest) BulkWritableSoftwareVersionRequest(bulkWritableSoftwareVersionRequest []BulkWritableSoftwareVersionRequest) ApiDcimSoftwareVersionsBulkUpdateRequest {
+ r.bulkWritableSoftwareVersionRequest = &bulkWritableSoftwareVersionRequest
return r
}
-func (r ApiDcimSoftwareImageFilesBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareImageFilesBulkUpdateRequest {
+func (r ApiDcimSoftwareVersionsBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareVersionsBulkUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimSoftwareImageFilesBulkUpdateRequest) Execute() ([]SoftwareImageFile, *http.Response, error) {
- return r.ApiService.DcimSoftwareImageFilesBulkUpdateExecute(r)
+func (r ApiDcimSoftwareVersionsBulkUpdateRequest) Execute() ([]SoftwareVersion, *http.Response, error) {
+ return r.ApiService.DcimSoftwareVersionsBulkUpdateExecute(r)
}
/*
-DcimSoftwareImageFilesBulkUpdate Method for DcimSoftwareImageFilesBulkUpdate
+DcimSoftwareVersionsBulkUpdate Method for DcimSoftwareVersionsBulkUpdate
-Update a list of software image file objects.
+Update a list of software version objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimSoftwareImageFilesBulkUpdateRequest
+ @return ApiDcimSoftwareVersionsBulkUpdateRequest
*/
-func (a *DcimAPIService) DcimSoftwareImageFilesBulkUpdate(ctx context.Context) ApiDcimSoftwareImageFilesBulkUpdateRequest {
- return ApiDcimSoftwareImageFilesBulkUpdateRequest{
+func (a *DcimAPIService) DcimSoftwareVersionsBulkUpdate(ctx context.Context) ApiDcimSoftwareVersionsBulkUpdateRequest {
+ return ApiDcimSoftwareVersionsBulkUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []SoftwareImageFile
-func (a *DcimAPIService) DcimSoftwareImageFilesBulkUpdateExecute(r ApiDcimSoftwareImageFilesBulkUpdateRequest) ([]SoftwareImageFile, *http.Response, error) {
+// @return []SoftwareVersion
+func (a *DcimAPIService) DcimSoftwareVersionsBulkUpdateExecute(r ApiDcimSoftwareVersionsBulkUpdateRequest) ([]SoftwareVersion, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []SoftwareImageFile
+ localVarReturnValue []SoftwareVersion
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareImageFilesBulkUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareVersionsBulkUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/software-image-files/"
+ localVarPath := localBasePath + "/dcim/software-versions/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.bulkWritableSoftwareImageFileRequest == nil {
- return localVarReturnValue, nil, reportError("bulkWritableSoftwareImageFileRequest is required and must be specified")
+ if r.bulkWritableSoftwareVersionRequest == nil {
+ return localVarReturnValue, nil, reportError("bulkWritableSoftwareVersionRequest is required and must be specified")
}
if r.format != nil {
@@ -132632,7 +133063,7 @@ func (a *DcimAPIService) DcimSoftwareImageFilesBulkUpdateExecute(r ApiDcimSoftwa
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.bulkWritableSoftwareImageFileRequest
+ localVarPostBody = r.bulkWritableSoftwareVersionRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -132684,64 +133115,64 @@ func (a *DcimAPIService) DcimSoftwareImageFilesBulkUpdateExecute(r ApiDcimSoftwa
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimSoftwareImageFilesCreateRequest struct {
+type ApiDcimSoftwareVersionsCreateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- softwareImageFileRequest *SoftwareImageFileRequest
+ softwareVersionRequest *SoftwareVersionRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimSoftwareImageFilesCreateRequest) SoftwareImageFileRequest(softwareImageFileRequest SoftwareImageFileRequest) ApiDcimSoftwareImageFilesCreateRequest {
- r.softwareImageFileRequest = &softwareImageFileRequest
+func (r ApiDcimSoftwareVersionsCreateRequest) SoftwareVersionRequest(softwareVersionRequest SoftwareVersionRequest) ApiDcimSoftwareVersionsCreateRequest {
+ r.softwareVersionRequest = &softwareVersionRequest
return r
}
-func (r ApiDcimSoftwareImageFilesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareImageFilesCreateRequest {
+func (r ApiDcimSoftwareVersionsCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareVersionsCreateRequest {
r.format = &format
return r
}
-func (r ApiDcimSoftwareImageFilesCreateRequest) Execute() (*SoftwareImageFile, *http.Response, error) {
- return r.ApiService.DcimSoftwareImageFilesCreateExecute(r)
+func (r ApiDcimSoftwareVersionsCreateRequest) Execute() (*SoftwareVersion, *http.Response, error) {
+ return r.ApiService.DcimSoftwareVersionsCreateExecute(r)
}
/*
-DcimSoftwareImageFilesCreate Method for DcimSoftwareImageFilesCreate
+DcimSoftwareVersionsCreate Method for DcimSoftwareVersionsCreate
-Create one or more software image file objects.
+Create one or more software version objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimSoftwareImageFilesCreateRequest
+ @return ApiDcimSoftwareVersionsCreateRequest
*/
-func (a *DcimAPIService) DcimSoftwareImageFilesCreate(ctx context.Context) ApiDcimSoftwareImageFilesCreateRequest {
- return ApiDcimSoftwareImageFilesCreateRequest{
+func (a *DcimAPIService) DcimSoftwareVersionsCreate(ctx context.Context) ApiDcimSoftwareVersionsCreateRequest {
+ return ApiDcimSoftwareVersionsCreateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return SoftwareImageFile
-func (a *DcimAPIService) DcimSoftwareImageFilesCreateExecute(r ApiDcimSoftwareImageFilesCreateRequest) (*SoftwareImageFile, *http.Response, error) {
+// @return SoftwareVersion
+func (a *DcimAPIService) DcimSoftwareVersionsCreateExecute(r ApiDcimSoftwareVersionsCreateRequest) (*SoftwareVersion, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *SoftwareImageFile
+ localVarReturnValue *SoftwareVersion
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareImageFilesCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareVersionsCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/software-image-files/"
+ localVarPath := localBasePath + "/dcim/software-versions/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.softwareImageFileRequest == nil {
- return localVarReturnValue, nil, reportError("softwareImageFileRequest is required and must be specified")
+ if r.softwareVersionRequest == nil {
+ return localVarReturnValue, nil, reportError("softwareVersionRequest is required and must be specified")
}
if r.format != nil {
@@ -132765,7 +133196,7 @@ func (a *DcimAPIService) DcimSoftwareImageFilesCreateExecute(r ApiDcimSoftwareIm
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.softwareImageFileRequest
+ localVarPostBody = r.softwareVersionRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -132817,33 +133248,33 @@ func (a *DcimAPIService) DcimSoftwareImageFilesCreateExecute(r ApiDcimSoftwareIm
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimSoftwareImageFilesDestroyRequest struct {
+type ApiDcimSoftwareVersionsDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimSoftwareImageFilesDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareImageFilesDestroyRequest {
+func (r ApiDcimSoftwareVersionsDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareVersionsDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimSoftwareImageFilesDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimSoftwareImageFilesDestroyExecute(r)
+func (r ApiDcimSoftwareVersionsDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimSoftwareVersionsDestroyExecute(r)
}
/*
-DcimSoftwareImageFilesDestroy Method for DcimSoftwareImageFilesDestroy
+DcimSoftwareVersionsDestroy Method for DcimSoftwareVersionsDestroy
-Destroy a software image file object.
+Destroy a software version object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this software image file.
- @return ApiDcimSoftwareImageFilesDestroyRequest
+ @param id A UUID string identifying this software version.
+ @return ApiDcimSoftwareVersionsDestroyRequest
*/
-func (a *DcimAPIService) DcimSoftwareImageFilesDestroy(ctx context.Context, id string) ApiDcimSoftwareImageFilesDestroyRequest {
- return ApiDcimSoftwareImageFilesDestroyRequest{
+func (a *DcimAPIService) DcimSoftwareVersionsDestroy(ctx context.Context, id string) ApiDcimSoftwareVersionsDestroyRequest {
+ return ApiDcimSoftwareVersionsDestroyRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -132851,19 +133282,19 @@ func (a *DcimAPIService) DcimSoftwareImageFilesDestroy(ctx context.Context, id s
}
// Execute executes the request
-func (a *DcimAPIService) DcimSoftwareImageFilesDestroyExecute(r ApiDcimSoftwareImageFilesDestroyRequest) (*http.Response, error) {
+func (a *DcimAPIService) DcimSoftwareVersionsDestroyExecute(r ApiDcimSoftwareVersionsDestroyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareImageFilesDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareVersionsDestroy")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/software-image-files/{id}/"
+ localVarPath := localBasePath + "/dcim/software-versions/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -132932,12 +133363,26 @@ func (a *DcimAPIService) DcimSoftwareImageFilesDestroyExecute(r ApiDcimSoftwareI
return localVarHTTPResponse, nil
}
-type ApiDcimSoftwareImageFilesListRequest struct {
+type ApiDcimSoftwareVersionsListRequest struct {
ctx context.Context
ApiService *DcimAPIService
+ alias *[]string
+ aliasIc *[]string
+ aliasIe *[]string
+ aliasIew *[]string
+ aliasIre *[]string
+ aliasIsw *[]string
+ aliasN *[]string
+ aliasNic *[]string
+ aliasNie *[]string
+ aliasNiew *[]string
+ aliasNire *[]string
+ aliasNisw *[]string
+ aliasNre *[]string
+ aliasRe *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -132945,95 +133390,45 @@ type ApiDcimSoftwareImageFilesListRequest struct {
createdLt *[]time.Time
createdLte *[]time.Time
createdN *[]time.Time
- defaultImage *bool
deviceTypes *[]string
deviceTypesIsnull *bool
deviceTypesN *[]string
devices *[]string
devicesIsnull *bool
devicesN *[]string
- downloadUrl *[]string
- downloadUrlIc *[]string
- downloadUrlIe *[]string
- downloadUrlIew *[]string
- downloadUrlIre *[]string
- downloadUrlIsw *[]string
- downloadUrlN *[]string
- downloadUrlNic *[]string
- downloadUrlNie *[]string
- downloadUrlNiew *[]string
- downloadUrlNire *[]string
- downloadUrlNisw *[]string
- downloadUrlNre *[]string
- downloadUrlRe *[]string
+ documentationUrl *[]string
+ documentationUrlIc *[]string
+ documentationUrlIe *[]string
+ documentationUrlIew *[]string
+ documentationUrlIre *[]string
+ documentationUrlIsw *[]string
+ documentationUrlN *[]string
+ documentationUrlNic *[]string
+ documentationUrlNie *[]string
+ documentationUrlNiew *[]string
+ documentationUrlNire *[]string
+ documentationUrlNisw *[]string
+ documentationUrlNre *[]string
+ documentationUrlRe *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
+ endOfSupportDate *[]string
+ endOfSupportDateGt *[]string
+ endOfSupportDateGte *[]string
+ endOfSupportDateIsnull *bool
+ endOfSupportDateLt *[]string
+ endOfSupportDateLte *[]string
+ endOfSupportDateN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
- hasDeviceTypes *bool
hasDevices *bool
- hashingAlgorithm *[]string
- hashingAlgorithmIc *[]string
- hashingAlgorithmIe *[]string
- hashingAlgorithmIew *[]string
- hashingAlgorithmIre *[]string
- hashingAlgorithmIsw *[]string
- hashingAlgorithmN *[]string
- hashingAlgorithmNic *[]string
- hashingAlgorithmNie *[]string
- hashingAlgorithmNiew *[]string
- hashingAlgorithmNire *[]string
- hashingAlgorithmNisw *[]string
- hashingAlgorithmNre *[]string
- hashingAlgorithmRe *[]string
+ hasInventoryItems *bool
+ hasSoftwareImageFiles *bool
+ hasVirtualMachines *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
- imageFileChecksum *[]string
- imageFileChecksumIc *[]string
- imageFileChecksumIe *[]string
- imageFileChecksumIew *[]string
- imageFileChecksumIre *[]string
- imageFileChecksumIsw *[]string
- imageFileChecksumN *[]string
- imageFileChecksumNic *[]string
- imageFileChecksumNie *[]string
- imageFileChecksumNiew *[]string
- imageFileChecksumNire *[]string
- imageFileChecksumNisw *[]string
- imageFileChecksumNre *[]string
- imageFileChecksumRe *[]string
- imageFileName *[]string
- imageFileNameIc *[]string
- imageFileNameIe *[]string
- imageFileNameIew *[]string
- imageFileNameIre *[]string
- imageFileNameIsw *[]string
- imageFileNameN *[]string
- imageFileNameNic *[]string
- imageFileNameNie *[]string
- imageFileNameNiew *[]string
- imageFileNameNire *[]string
- imageFileNameNisw *[]string
- imageFileNameNre *[]string
- imageFileNameRe *[]string
- imageFileSize *[]int32
- imageFileSizeGt *[]int32
- imageFileSizeGte *[]int32
- imageFileSizeIsnull *bool
- imageFileSizeLt *[]int32
- imageFileSizeLte *[]int32
- imageFileSizeN *[]int32
+ inventoryItems *[]string
+ inventoryItemsIsnull *bool
+ inventoryItemsN *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -133042,1851 +133437,1757 @@ type ApiDcimSoftwareImageFilesListRequest struct {
lastUpdatedLte *[]time.Time
lastUpdatedN *[]time.Time
limit *int32
+ longTermSupport *bool
offset *int32
+ platform *[]string
+ platformN *[]string
+ preRelease *bool
q *string
- softwareVersion *[]string
- softwareVersionN *[]string
+ releaseDate *[]string
+ releaseDateGt *[]string
+ releaseDateGte *[]string
+ releaseDateIsnull *bool
+ releaseDateLt *[]string
+ releaseDateLte *[]string
+ releaseDateN *[]string
+ softwareImageFiles *[]string
+ softwareImageFilesIsnull *bool
+ softwareImageFilesN *[]string
sort *string
status *[]string
- statusN *string
+ statusN *[]string
tags *[]string
tagsIsnull *bool
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
+ version *[]string
+ versionIc *[]string
+ versionIe *[]string
+ versionIew *[]string
+ versionIre *[]string
+ versionIsw *[]string
+ versionN *[]string
+ versionNic *[]string
+ versionNie *[]string
+ versionNiew *[]string
+ versionNire *[]string
+ versionNisw *[]string
+ versionNre *[]string
+ versionRe *[]string
+ virtualMachines *[]string
+ virtualMachinesIsnull *bool
+ virtualMachinesN *[]string
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimSoftwareImageFilesListRequest) Contacts(contacts []string) ApiDcimSoftwareImageFilesListRequest {
- r.contacts = &contacts
- return r
-}
-
-// Contacts (name or ID) is null
-func (r ApiDcimSoftwareImageFilesListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimSoftwareImageFilesListRequest {
- r.contactsIsnull = &contactsIsnull
- return r
-}
-
-// Exclude Contacts (name or ID)
-func (r ApiDcimSoftwareImageFilesListRequest) ContactsN(contactsN string) ApiDcimSoftwareImageFilesListRequest {
- r.contactsN = &contactsN
- return r
-}
-
-func (r ApiDcimSoftwareImageFilesListRequest) Created(created []time.Time) ApiDcimSoftwareImageFilesListRequest {
- r.created = &created
- return r
-}
-
-func (r ApiDcimSoftwareImageFilesListRequest) CreatedGt(createdGt []time.Time) ApiDcimSoftwareImageFilesListRequest {
- r.createdGt = &createdGt
- return r
-}
-
-func (r ApiDcimSoftwareImageFilesListRequest) CreatedGte(createdGte []time.Time) ApiDcimSoftwareImageFilesListRequest {
- r.createdGte = &createdGte
- return r
-}
-
-func (r ApiDcimSoftwareImageFilesListRequest) CreatedIsnull(createdIsnull bool) ApiDcimSoftwareImageFilesListRequest {
- r.createdIsnull = &createdIsnull
+func (r ApiDcimSoftwareVersionsListRequest) Alias(alias []string) ApiDcimSoftwareVersionsListRequest {
+ r.alias = &alias
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) CreatedLt(createdLt []time.Time) ApiDcimSoftwareImageFilesListRequest {
- r.createdLt = &createdLt
+func (r ApiDcimSoftwareVersionsListRequest) AliasIc(aliasIc []string) ApiDcimSoftwareVersionsListRequest {
+ r.aliasIc = &aliasIc
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) CreatedLte(createdLte []time.Time) ApiDcimSoftwareImageFilesListRequest {
- r.createdLte = &createdLte
+func (r ApiDcimSoftwareVersionsListRequest) AliasIe(aliasIe []string) ApiDcimSoftwareVersionsListRequest {
+ r.aliasIe = &aliasIe
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) CreatedN(createdN []time.Time) ApiDcimSoftwareImageFilesListRequest {
- r.createdN = &createdN
+func (r ApiDcimSoftwareVersionsListRequest) AliasIew(aliasIew []string) ApiDcimSoftwareVersionsListRequest {
+ r.aliasIew = &aliasIew
return r
}
-// Is default image for associated software version
-func (r ApiDcimSoftwareImageFilesListRequest) DefaultImage(defaultImage bool) ApiDcimSoftwareImageFilesListRequest {
- r.defaultImage = &defaultImage
+func (r ApiDcimSoftwareVersionsListRequest) AliasIre(aliasIre []string) ApiDcimSoftwareVersionsListRequest {
+ r.aliasIre = &aliasIre
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) DeviceTypes(deviceTypes []string) ApiDcimSoftwareImageFilesListRequest {
- r.deviceTypes = &deviceTypes
+func (r ApiDcimSoftwareVersionsListRequest) AliasIsw(aliasIsw []string) ApiDcimSoftwareVersionsListRequest {
+ r.aliasIsw = &aliasIsw
return r
}
-// Device types (model or ID) is null
-func (r ApiDcimSoftwareImageFilesListRequest) DeviceTypesIsnull(deviceTypesIsnull bool) ApiDcimSoftwareImageFilesListRequest {
- r.deviceTypesIsnull = &deviceTypesIsnull
+func (r ApiDcimSoftwareVersionsListRequest) AliasN(aliasN []string) ApiDcimSoftwareVersionsListRequest {
+ r.aliasN = &aliasN
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) DeviceTypesN(deviceTypesN []string) ApiDcimSoftwareImageFilesListRequest {
- r.deviceTypesN = &deviceTypesN
+func (r ApiDcimSoftwareVersionsListRequest) AliasNic(aliasNic []string) ApiDcimSoftwareVersionsListRequest {
+ r.aliasNic = &aliasNic
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) Devices(devices []string) ApiDcimSoftwareImageFilesListRequest {
- r.devices = &devices
+func (r ApiDcimSoftwareVersionsListRequest) AliasNie(aliasNie []string) ApiDcimSoftwareVersionsListRequest {
+ r.aliasNie = &aliasNie
return r
}
-// Devices (name or ID) is null
-func (r ApiDcimSoftwareImageFilesListRequest) DevicesIsnull(devicesIsnull bool) ApiDcimSoftwareImageFilesListRequest {
- r.devicesIsnull = &devicesIsnull
+func (r ApiDcimSoftwareVersionsListRequest) AliasNiew(aliasNiew []string) ApiDcimSoftwareVersionsListRequest {
+ r.aliasNiew = &aliasNiew
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) DevicesN(devicesN []string) ApiDcimSoftwareImageFilesListRequest {
- r.devicesN = &devicesN
+func (r ApiDcimSoftwareVersionsListRequest) AliasNire(aliasNire []string) ApiDcimSoftwareVersionsListRequest {
+ r.aliasNire = &aliasNire
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) DownloadUrl(downloadUrl []string) ApiDcimSoftwareImageFilesListRequest {
- r.downloadUrl = &downloadUrl
+func (r ApiDcimSoftwareVersionsListRequest) AliasNisw(aliasNisw []string) ApiDcimSoftwareVersionsListRequest {
+ r.aliasNisw = &aliasNisw
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) DownloadUrlIc(downloadUrlIc []string) ApiDcimSoftwareImageFilesListRequest {
- r.downloadUrlIc = &downloadUrlIc
+func (r ApiDcimSoftwareVersionsListRequest) AliasNre(aliasNre []string) ApiDcimSoftwareVersionsListRequest {
+ r.aliasNre = &aliasNre
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) DownloadUrlIe(downloadUrlIe []string) ApiDcimSoftwareImageFilesListRequest {
- r.downloadUrlIe = &downloadUrlIe
+func (r ApiDcimSoftwareVersionsListRequest) AliasRe(aliasRe []string) ApiDcimSoftwareVersionsListRequest {
+ r.aliasRe = &aliasRe
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) DownloadUrlIew(downloadUrlIew []string) ApiDcimSoftwareImageFilesListRequest {
- r.downloadUrlIew = &downloadUrlIew
+func (r ApiDcimSoftwareVersionsListRequest) Contacts(contacts []string) ApiDcimSoftwareVersionsListRequest {
+ r.contacts = &contacts
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) DownloadUrlIre(downloadUrlIre []string) ApiDcimSoftwareImageFilesListRequest {
- r.downloadUrlIre = &downloadUrlIre
+// Contacts (name or ID) is null
+func (r ApiDcimSoftwareVersionsListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimSoftwareVersionsListRequest {
+ r.contactsIsnull = &contactsIsnull
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) DownloadUrlIsw(downloadUrlIsw []string) ApiDcimSoftwareImageFilesListRequest {
- r.downloadUrlIsw = &downloadUrlIsw
+func (r ApiDcimSoftwareVersionsListRequest) ContactsN(contactsN []string) ApiDcimSoftwareVersionsListRequest {
+ r.contactsN = &contactsN
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) DownloadUrlN(downloadUrlN []string) ApiDcimSoftwareImageFilesListRequest {
- r.downloadUrlN = &downloadUrlN
+func (r ApiDcimSoftwareVersionsListRequest) Created(created []time.Time) ApiDcimSoftwareVersionsListRequest {
+ r.created = &created
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) DownloadUrlNic(downloadUrlNic []string) ApiDcimSoftwareImageFilesListRequest {
- r.downloadUrlNic = &downloadUrlNic
+func (r ApiDcimSoftwareVersionsListRequest) CreatedGt(createdGt []time.Time) ApiDcimSoftwareVersionsListRequest {
+ r.createdGt = &createdGt
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) DownloadUrlNie(downloadUrlNie []string) ApiDcimSoftwareImageFilesListRequest {
- r.downloadUrlNie = &downloadUrlNie
+func (r ApiDcimSoftwareVersionsListRequest) CreatedGte(createdGte []time.Time) ApiDcimSoftwareVersionsListRequest {
+ r.createdGte = &createdGte
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) DownloadUrlNiew(downloadUrlNiew []string) ApiDcimSoftwareImageFilesListRequest {
- r.downloadUrlNiew = &downloadUrlNiew
+func (r ApiDcimSoftwareVersionsListRequest) CreatedIsnull(createdIsnull bool) ApiDcimSoftwareVersionsListRequest {
+ r.createdIsnull = &createdIsnull
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) DownloadUrlNire(downloadUrlNire []string) ApiDcimSoftwareImageFilesListRequest {
- r.downloadUrlNire = &downloadUrlNire
+func (r ApiDcimSoftwareVersionsListRequest) CreatedLt(createdLt []time.Time) ApiDcimSoftwareVersionsListRequest {
+ r.createdLt = &createdLt
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) DownloadUrlNisw(downloadUrlNisw []string) ApiDcimSoftwareImageFilesListRequest {
- r.downloadUrlNisw = &downloadUrlNisw
+func (r ApiDcimSoftwareVersionsListRequest) CreatedLte(createdLte []time.Time) ApiDcimSoftwareVersionsListRequest {
+ r.createdLte = &createdLte
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) DownloadUrlNre(downloadUrlNre []string) ApiDcimSoftwareImageFilesListRequest {
- r.downloadUrlNre = &downloadUrlNre
+func (r ApiDcimSoftwareVersionsListRequest) CreatedN(createdN []time.Time) ApiDcimSoftwareVersionsListRequest {
+ r.createdN = &createdN
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) DownloadUrlRe(downloadUrlRe []string) ApiDcimSoftwareImageFilesListRequest {
- r.downloadUrlRe = &downloadUrlRe
+func (r ApiDcimSoftwareVersionsListRequest) DeviceTypes(deviceTypes []string) ApiDcimSoftwareVersionsListRequest {
+ r.deviceTypes = &deviceTypes
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) DynamicGroups(dynamicGroups []string) ApiDcimSoftwareImageFilesListRequest {
- r.dynamicGroups = &dynamicGroups
+// Device types (model or ID) is null
+func (r ApiDcimSoftwareVersionsListRequest) DeviceTypesIsnull(deviceTypesIsnull bool) ApiDcimSoftwareVersionsListRequest {
+ r.deviceTypesIsnull = &deviceTypesIsnull
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimSoftwareImageFilesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimSoftwareImageFilesListRequest {
- r.dynamicGroupsN = &dynamicGroupsN
+func (r ApiDcimSoftwareVersionsListRequest) DeviceTypesN(deviceTypesN []string) ApiDcimSoftwareVersionsListRequest {
+ r.deviceTypesN = &deviceTypesN
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareImageFilesListRequest {
- r.format = &format
+func (r ApiDcimSoftwareVersionsListRequest) Devices(devices []string) ApiDcimSoftwareVersionsListRequest {
+ r.devices = &devices
return r
}
-// Has device types
-func (r ApiDcimSoftwareImageFilesListRequest) HasDeviceTypes(hasDeviceTypes bool) ApiDcimSoftwareImageFilesListRequest {
- r.hasDeviceTypes = &hasDeviceTypes
+// Devices (name or ID) is null
+func (r ApiDcimSoftwareVersionsListRequest) DevicesIsnull(devicesIsnull bool) ApiDcimSoftwareVersionsListRequest {
+ r.devicesIsnull = &devicesIsnull
return r
}
-// Has devices
-func (r ApiDcimSoftwareImageFilesListRequest) HasDevices(hasDevices bool) ApiDcimSoftwareImageFilesListRequest {
- r.hasDevices = &hasDevices
+func (r ApiDcimSoftwareVersionsListRequest) DevicesN(devicesN []string) ApiDcimSoftwareVersionsListRequest {
+ r.devicesN = &devicesN
return r
}
-// Hashing algorithm for image file checksum
-func (r ApiDcimSoftwareImageFilesListRequest) HashingAlgorithm(hashingAlgorithm []string) ApiDcimSoftwareImageFilesListRequest {
- r.hashingAlgorithm = &hashingAlgorithm
+func (r ApiDcimSoftwareVersionsListRequest) DocumentationUrl(documentationUrl []string) ApiDcimSoftwareVersionsListRequest {
+ r.documentationUrl = &documentationUrl
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) HashingAlgorithmIc(hashingAlgorithmIc []string) ApiDcimSoftwareImageFilesListRequest {
- r.hashingAlgorithmIc = &hashingAlgorithmIc
+func (r ApiDcimSoftwareVersionsListRequest) DocumentationUrlIc(documentationUrlIc []string) ApiDcimSoftwareVersionsListRequest {
+ r.documentationUrlIc = &documentationUrlIc
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) HashingAlgorithmIe(hashingAlgorithmIe []string) ApiDcimSoftwareImageFilesListRequest {
- r.hashingAlgorithmIe = &hashingAlgorithmIe
+func (r ApiDcimSoftwareVersionsListRequest) DocumentationUrlIe(documentationUrlIe []string) ApiDcimSoftwareVersionsListRequest {
+ r.documentationUrlIe = &documentationUrlIe
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) HashingAlgorithmIew(hashingAlgorithmIew []string) ApiDcimSoftwareImageFilesListRequest {
- r.hashingAlgorithmIew = &hashingAlgorithmIew
+func (r ApiDcimSoftwareVersionsListRequest) DocumentationUrlIew(documentationUrlIew []string) ApiDcimSoftwareVersionsListRequest {
+ r.documentationUrlIew = &documentationUrlIew
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) HashingAlgorithmIre(hashingAlgorithmIre []string) ApiDcimSoftwareImageFilesListRequest {
- r.hashingAlgorithmIre = &hashingAlgorithmIre
+func (r ApiDcimSoftwareVersionsListRequest) DocumentationUrlIre(documentationUrlIre []string) ApiDcimSoftwareVersionsListRequest {
+ r.documentationUrlIre = &documentationUrlIre
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) HashingAlgorithmIsw(hashingAlgorithmIsw []string) ApiDcimSoftwareImageFilesListRequest {
- r.hashingAlgorithmIsw = &hashingAlgorithmIsw
+func (r ApiDcimSoftwareVersionsListRequest) DocumentationUrlIsw(documentationUrlIsw []string) ApiDcimSoftwareVersionsListRequest {
+ r.documentationUrlIsw = &documentationUrlIsw
return r
}
-// Hashing algorithm for image file checksum
-func (r ApiDcimSoftwareImageFilesListRequest) HashingAlgorithmN(hashingAlgorithmN []string) ApiDcimSoftwareImageFilesListRequest {
- r.hashingAlgorithmN = &hashingAlgorithmN
+func (r ApiDcimSoftwareVersionsListRequest) DocumentationUrlN(documentationUrlN []string) ApiDcimSoftwareVersionsListRequest {
+ r.documentationUrlN = &documentationUrlN
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) HashingAlgorithmNic(hashingAlgorithmNic []string) ApiDcimSoftwareImageFilesListRequest {
- r.hashingAlgorithmNic = &hashingAlgorithmNic
+func (r ApiDcimSoftwareVersionsListRequest) DocumentationUrlNic(documentationUrlNic []string) ApiDcimSoftwareVersionsListRequest {
+ r.documentationUrlNic = &documentationUrlNic
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) HashingAlgorithmNie(hashingAlgorithmNie []string) ApiDcimSoftwareImageFilesListRequest {
- r.hashingAlgorithmNie = &hashingAlgorithmNie
+func (r ApiDcimSoftwareVersionsListRequest) DocumentationUrlNie(documentationUrlNie []string) ApiDcimSoftwareVersionsListRequest {
+ r.documentationUrlNie = &documentationUrlNie
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) HashingAlgorithmNiew(hashingAlgorithmNiew []string) ApiDcimSoftwareImageFilesListRequest {
- r.hashingAlgorithmNiew = &hashingAlgorithmNiew
+func (r ApiDcimSoftwareVersionsListRequest) DocumentationUrlNiew(documentationUrlNiew []string) ApiDcimSoftwareVersionsListRequest {
+ r.documentationUrlNiew = &documentationUrlNiew
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) HashingAlgorithmNire(hashingAlgorithmNire []string) ApiDcimSoftwareImageFilesListRequest {
- r.hashingAlgorithmNire = &hashingAlgorithmNire
+func (r ApiDcimSoftwareVersionsListRequest) DocumentationUrlNire(documentationUrlNire []string) ApiDcimSoftwareVersionsListRequest {
+ r.documentationUrlNire = &documentationUrlNire
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) HashingAlgorithmNisw(hashingAlgorithmNisw []string) ApiDcimSoftwareImageFilesListRequest {
- r.hashingAlgorithmNisw = &hashingAlgorithmNisw
+func (r ApiDcimSoftwareVersionsListRequest) DocumentationUrlNisw(documentationUrlNisw []string) ApiDcimSoftwareVersionsListRequest {
+ r.documentationUrlNisw = &documentationUrlNisw
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) HashingAlgorithmNre(hashingAlgorithmNre []string) ApiDcimSoftwareImageFilesListRequest {
- r.hashingAlgorithmNre = &hashingAlgorithmNre
+func (r ApiDcimSoftwareVersionsListRequest) DocumentationUrlNre(documentationUrlNre []string) ApiDcimSoftwareVersionsListRequest {
+ r.documentationUrlNre = &documentationUrlNre
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) HashingAlgorithmRe(hashingAlgorithmRe []string) ApiDcimSoftwareImageFilesListRequest {
- r.hashingAlgorithmRe = &hashingAlgorithmRe
+func (r ApiDcimSoftwareVersionsListRequest) DocumentationUrlRe(documentationUrlRe []string) ApiDcimSoftwareVersionsListRequest {
+ r.documentationUrlRe = &documentationUrlRe
return r
}
-// Unique object identifier, either a UUID primary key or a composite key.
-func (r ApiDcimSoftwareImageFilesListRequest) Id(id []string) ApiDcimSoftwareImageFilesListRequest {
- r.id = &id
+func (r ApiDcimSoftwareVersionsListRequest) DynamicGroups(dynamicGroups []string) ApiDcimSoftwareVersionsListRequest {
+ r.dynamicGroups = &dynamicGroups
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) IdIc(idIc []string) ApiDcimSoftwareImageFilesListRequest {
- r.idIc = &idIc
+func (r ApiDcimSoftwareVersionsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimSoftwareVersionsListRequest {
+ r.dynamicGroupsN = &dynamicGroupsN
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) IdIe(idIe []string) ApiDcimSoftwareImageFilesListRequest {
- r.idIe = &idIe
+func (r ApiDcimSoftwareVersionsListRequest) EndOfSupportDate(endOfSupportDate []string) ApiDcimSoftwareVersionsListRequest {
+ r.endOfSupportDate = &endOfSupportDate
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) IdIew(idIew []string) ApiDcimSoftwareImageFilesListRequest {
- r.idIew = &idIew
+func (r ApiDcimSoftwareVersionsListRequest) EndOfSupportDateGt(endOfSupportDateGt []string) ApiDcimSoftwareVersionsListRequest {
+ r.endOfSupportDateGt = &endOfSupportDateGt
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) IdIre(idIre []string) ApiDcimSoftwareImageFilesListRequest {
- r.idIre = &idIre
+func (r ApiDcimSoftwareVersionsListRequest) EndOfSupportDateGte(endOfSupportDateGte []string) ApiDcimSoftwareVersionsListRequest {
+ r.endOfSupportDateGte = &endOfSupportDateGte
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) IdIsw(idIsw []string) ApiDcimSoftwareImageFilesListRequest {
- r.idIsw = &idIsw
+func (r ApiDcimSoftwareVersionsListRequest) EndOfSupportDateIsnull(endOfSupportDateIsnull bool) ApiDcimSoftwareVersionsListRequest {
+ r.endOfSupportDateIsnull = &endOfSupportDateIsnull
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) IdN(idN []string) ApiDcimSoftwareImageFilesListRequest {
- r.idN = &idN
+func (r ApiDcimSoftwareVersionsListRequest) EndOfSupportDateLt(endOfSupportDateLt []string) ApiDcimSoftwareVersionsListRequest {
+ r.endOfSupportDateLt = &endOfSupportDateLt
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) IdNic(idNic []string) ApiDcimSoftwareImageFilesListRequest {
- r.idNic = &idNic
+func (r ApiDcimSoftwareVersionsListRequest) EndOfSupportDateLte(endOfSupportDateLte []string) ApiDcimSoftwareVersionsListRequest {
+ r.endOfSupportDateLte = &endOfSupportDateLte
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) IdNie(idNie []string) ApiDcimSoftwareImageFilesListRequest {
- r.idNie = &idNie
+func (r ApiDcimSoftwareVersionsListRequest) EndOfSupportDateN(endOfSupportDateN []string) ApiDcimSoftwareVersionsListRequest {
+ r.endOfSupportDateN = &endOfSupportDateN
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) IdNiew(idNiew []string) ApiDcimSoftwareImageFilesListRequest {
- r.idNiew = &idNiew
+func (r ApiDcimSoftwareVersionsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareVersionsListRequest {
+ r.format = &format
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) IdNire(idNire []string) ApiDcimSoftwareImageFilesListRequest {
- r.idNire = &idNire
+// Has devices
+func (r ApiDcimSoftwareVersionsListRequest) HasDevices(hasDevices bool) ApiDcimSoftwareVersionsListRequest {
+ r.hasDevices = &hasDevices
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) IdNisw(idNisw []string) ApiDcimSoftwareImageFilesListRequest {
- r.idNisw = &idNisw
+// Has inventory items
+func (r ApiDcimSoftwareVersionsListRequest) HasInventoryItems(hasInventoryItems bool) ApiDcimSoftwareVersionsListRequest {
+ r.hasInventoryItems = &hasInventoryItems
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) IdNre(idNre []string) ApiDcimSoftwareImageFilesListRequest {
- r.idNre = &idNre
+// Has software image files
+func (r ApiDcimSoftwareVersionsListRequest) HasSoftwareImageFiles(hasSoftwareImageFiles bool) ApiDcimSoftwareVersionsListRequest {
+ r.hasSoftwareImageFiles = &hasSoftwareImageFiles
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) IdRe(idRe []string) ApiDcimSoftwareImageFilesListRequest {
- r.idRe = &idRe
+// Has virtual machines
+func (r ApiDcimSoftwareVersionsListRequest) HasVirtualMachines(hasVirtualMachines bool) ApiDcimSoftwareVersionsListRequest {
+ r.hasVirtualMachines = &hasVirtualMachines
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileChecksum(imageFileChecksum []string) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileChecksum = &imageFileChecksum
+// Unique object identifier, either a UUID primary key or a composite key.
+func (r ApiDcimSoftwareVersionsListRequest) Id(id []string) ApiDcimSoftwareVersionsListRequest {
+ r.id = &id
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileChecksumIc(imageFileChecksumIc []string) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileChecksumIc = &imageFileChecksumIc
+func (r ApiDcimSoftwareVersionsListRequest) IdN(idN []string) ApiDcimSoftwareVersionsListRequest {
+ r.idN = &idN
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileChecksumIe(imageFileChecksumIe []string) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileChecksumIe = &imageFileChecksumIe
+func (r ApiDcimSoftwareVersionsListRequest) InventoryItems(inventoryItems []string) ApiDcimSoftwareVersionsListRequest {
+ r.inventoryItems = &inventoryItems
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileChecksumIew(imageFileChecksumIew []string) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileChecksumIew = &imageFileChecksumIew
+// Inventory items (name or ID) is null
+func (r ApiDcimSoftwareVersionsListRequest) InventoryItemsIsnull(inventoryItemsIsnull bool) ApiDcimSoftwareVersionsListRequest {
+ r.inventoryItemsIsnull = &inventoryItemsIsnull
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileChecksumIre(imageFileChecksumIre []string) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileChecksumIre = &imageFileChecksumIre
+func (r ApiDcimSoftwareVersionsListRequest) InventoryItemsN(inventoryItemsN []string) ApiDcimSoftwareVersionsListRequest {
+ r.inventoryItemsN = &inventoryItemsN
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileChecksumIsw(imageFileChecksumIsw []string) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileChecksumIsw = &imageFileChecksumIsw
+func (r ApiDcimSoftwareVersionsListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimSoftwareVersionsListRequest {
+ r.lastUpdated = &lastUpdated
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileChecksumN(imageFileChecksumN []string) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileChecksumN = &imageFileChecksumN
+func (r ApiDcimSoftwareVersionsListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiDcimSoftwareVersionsListRequest {
+ r.lastUpdatedGt = &lastUpdatedGt
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileChecksumNic(imageFileChecksumNic []string) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileChecksumNic = &imageFileChecksumNic
+func (r ApiDcimSoftwareVersionsListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiDcimSoftwareVersionsListRequest {
+ r.lastUpdatedGte = &lastUpdatedGte
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileChecksumNie(imageFileChecksumNie []string) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileChecksumNie = &imageFileChecksumNie
+func (r ApiDcimSoftwareVersionsListRequest) LastUpdatedIsnull(lastUpdatedIsnull bool) ApiDcimSoftwareVersionsListRequest {
+ r.lastUpdatedIsnull = &lastUpdatedIsnull
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileChecksumNiew(imageFileChecksumNiew []string) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileChecksumNiew = &imageFileChecksumNiew
+func (r ApiDcimSoftwareVersionsListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiDcimSoftwareVersionsListRequest {
+ r.lastUpdatedLt = &lastUpdatedLt
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileChecksumNire(imageFileChecksumNire []string) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileChecksumNire = &imageFileChecksumNire
+func (r ApiDcimSoftwareVersionsListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiDcimSoftwareVersionsListRequest {
+ r.lastUpdatedLte = &lastUpdatedLte
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileChecksumNisw(imageFileChecksumNisw []string) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileChecksumNisw = &imageFileChecksumNisw
+func (r ApiDcimSoftwareVersionsListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiDcimSoftwareVersionsListRequest {
+ r.lastUpdatedN = &lastUpdatedN
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileChecksumNre(imageFileChecksumNre []string) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileChecksumNre = &imageFileChecksumNre
+// Number of results to return per page.
+func (r ApiDcimSoftwareVersionsListRequest) Limit(limit int32) ApiDcimSoftwareVersionsListRequest {
+ r.limit = &limit
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileChecksumRe(imageFileChecksumRe []string) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileChecksumRe = &imageFileChecksumRe
+func (r ApiDcimSoftwareVersionsListRequest) LongTermSupport(longTermSupport bool) ApiDcimSoftwareVersionsListRequest {
+ r.longTermSupport = &longTermSupport
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileName(imageFileName []string) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileName = &imageFileName
+// The initial index from which to return the results.
+func (r ApiDcimSoftwareVersionsListRequest) Offset(offset int32) ApiDcimSoftwareVersionsListRequest {
+ r.offset = &offset
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileNameIc(imageFileNameIc []string) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileNameIc = &imageFileNameIc
+func (r ApiDcimSoftwareVersionsListRequest) Platform(platform []string) ApiDcimSoftwareVersionsListRequest {
+ r.platform = &platform
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileNameIe(imageFileNameIe []string) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileNameIe = &imageFileNameIe
+func (r ApiDcimSoftwareVersionsListRequest) PlatformN(platformN []string) ApiDcimSoftwareVersionsListRequest {
+ r.platformN = &platformN
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileNameIew(imageFileNameIew []string) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileNameIew = &imageFileNameIew
+func (r ApiDcimSoftwareVersionsListRequest) PreRelease(preRelease bool) ApiDcimSoftwareVersionsListRequest {
+ r.preRelease = &preRelease
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileNameIre(imageFileNameIre []string) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileNameIre = &imageFileNameIre
+// Search
+func (r ApiDcimSoftwareVersionsListRequest) Q(q string) ApiDcimSoftwareVersionsListRequest {
+ r.q = &q
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileNameIsw(imageFileNameIsw []string) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileNameIsw = &imageFileNameIsw
+func (r ApiDcimSoftwareVersionsListRequest) ReleaseDate(releaseDate []string) ApiDcimSoftwareVersionsListRequest {
+ r.releaseDate = &releaseDate
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileNameN(imageFileNameN []string) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileNameN = &imageFileNameN
+func (r ApiDcimSoftwareVersionsListRequest) ReleaseDateGt(releaseDateGt []string) ApiDcimSoftwareVersionsListRequest {
+ r.releaseDateGt = &releaseDateGt
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileNameNic(imageFileNameNic []string) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileNameNic = &imageFileNameNic
+func (r ApiDcimSoftwareVersionsListRequest) ReleaseDateGte(releaseDateGte []string) ApiDcimSoftwareVersionsListRequest {
+ r.releaseDateGte = &releaseDateGte
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileNameNie(imageFileNameNie []string) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileNameNie = &imageFileNameNie
+func (r ApiDcimSoftwareVersionsListRequest) ReleaseDateIsnull(releaseDateIsnull bool) ApiDcimSoftwareVersionsListRequest {
+ r.releaseDateIsnull = &releaseDateIsnull
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileNameNiew(imageFileNameNiew []string) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileNameNiew = &imageFileNameNiew
+func (r ApiDcimSoftwareVersionsListRequest) ReleaseDateLt(releaseDateLt []string) ApiDcimSoftwareVersionsListRequest {
+ r.releaseDateLt = &releaseDateLt
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileNameNire(imageFileNameNire []string) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileNameNire = &imageFileNameNire
+func (r ApiDcimSoftwareVersionsListRequest) ReleaseDateLte(releaseDateLte []string) ApiDcimSoftwareVersionsListRequest {
+ r.releaseDateLte = &releaseDateLte
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileNameNisw(imageFileNameNisw []string) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileNameNisw = &imageFileNameNisw
+func (r ApiDcimSoftwareVersionsListRequest) ReleaseDateN(releaseDateN []string) ApiDcimSoftwareVersionsListRequest {
+ r.releaseDateN = &releaseDateN
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileNameNre(imageFileNameNre []string) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileNameNre = &imageFileNameNre
+func (r ApiDcimSoftwareVersionsListRequest) SoftwareImageFiles(softwareImageFiles []string) ApiDcimSoftwareVersionsListRequest {
+ r.softwareImageFiles = &softwareImageFiles
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileNameRe(imageFileNameRe []string) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileNameRe = &imageFileNameRe
+// Software image files (image file name or ID) is null
+func (r ApiDcimSoftwareVersionsListRequest) SoftwareImageFilesIsnull(softwareImageFilesIsnull bool) ApiDcimSoftwareVersionsListRequest {
+ r.softwareImageFilesIsnull = &softwareImageFilesIsnull
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileSize(imageFileSize []int32) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileSize = &imageFileSize
+func (r ApiDcimSoftwareVersionsListRequest) SoftwareImageFilesN(softwareImageFilesN []string) ApiDcimSoftwareVersionsListRequest {
+ r.softwareImageFilesN = &softwareImageFilesN
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileSizeGt(imageFileSizeGt []int32) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileSizeGt = &imageFileSizeGt
+// Which field to use when ordering the results.
+func (r ApiDcimSoftwareVersionsListRequest) Sort(sort string) ApiDcimSoftwareVersionsListRequest {
+ r.sort = &sort
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileSizeGte(imageFileSizeGte []int32) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileSizeGte = &imageFileSizeGte
+func (r ApiDcimSoftwareVersionsListRequest) Status(status []string) ApiDcimSoftwareVersionsListRequest {
+ r.status = &status
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileSizeIsnull(imageFileSizeIsnull bool) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileSizeIsnull = &imageFileSizeIsnull
+func (r ApiDcimSoftwareVersionsListRequest) StatusN(statusN []string) ApiDcimSoftwareVersionsListRequest {
+ r.statusN = &statusN
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileSizeLt(imageFileSizeLt []int32) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileSizeLt = &imageFileSizeLt
+func (r ApiDcimSoftwareVersionsListRequest) Tags(tags []string) ApiDcimSoftwareVersionsListRequest {
+ r.tags = &tags
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileSizeLte(imageFileSizeLte []int32) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileSizeLte = &imageFileSizeLte
+func (r ApiDcimSoftwareVersionsListRequest) TagsIsnull(tagsIsnull bool) ApiDcimSoftwareVersionsListRequest {
+ r.tagsIsnull = &tagsIsnull
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) ImageFileSizeN(imageFileSizeN []int32) ApiDcimSoftwareImageFilesListRequest {
- r.imageFileSizeN = &imageFileSizeN
+func (r ApiDcimSoftwareVersionsListRequest) TagsN(tagsN []string) ApiDcimSoftwareVersionsListRequest {
+ r.tagsN = &tagsN
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimSoftwareImageFilesListRequest {
- r.lastUpdated = &lastUpdated
+func (r ApiDcimSoftwareVersionsListRequest) Teams(teams []string) ApiDcimSoftwareVersionsListRequest {
+ r.teams = &teams
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiDcimSoftwareImageFilesListRequest {
- r.lastUpdatedGt = &lastUpdatedGt
+// Teams (name or ID) is null
+func (r ApiDcimSoftwareVersionsListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimSoftwareVersionsListRequest {
+ r.teamsIsnull = &teamsIsnull
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiDcimSoftwareImageFilesListRequest {
- r.lastUpdatedGte = &lastUpdatedGte
+func (r ApiDcimSoftwareVersionsListRequest) TeamsN(teamsN []string) ApiDcimSoftwareVersionsListRequest {
+ r.teamsN = &teamsN
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) LastUpdatedIsnull(lastUpdatedIsnull bool) ApiDcimSoftwareImageFilesListRequest {
- r.lastUpdatedIsnull = &lastUpdatedIsnull
+func (r ApiDcimSoftwareVersionsListRequest) Version(version []string) ApiDcimSoftwareVersionsListRequest {
+ r.version = &version
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiDcimSoftwareImageFilesListRequest {
- r.lastUpdatedLt = &lastUpdatedLt
+func (r ApiDcimSoftwareVersionsListRequest) VersionIc(versionIc []string) ApiDcimSoftwareVersionsListRequest {
+ r.versionIc = &versionIc
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiDcimSoftwareImageFilesListRequest {
- r.lastUpdatedLte = &lastUpdatedLte
+func (r ApiDcimSoftwareVersionsListRequest) VersionIe(versionIe []string) ApiDcimSoftwareVersionsListRequest {
+ r.versionIe = &versionIe
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiDcimSoftwareImageFilesListRequest {
- r.lastUpdatedN = &lastUpdatedN
+func (r ApiDcimSoftwareVersionsListRequest) VersionIew(versionIew []string) ApiDcimSoftwareVersionsListRequest {
+ r.versionIew = &versionIew
return r
}
-// Number of results to return per page.
-func (r ApiDcimSoftwareImageFilesListRequest) Limit(limit int32) ApiDcimSoftwareImageFilesListRequest {
- r.limit = &limit
+func (r ApiDcimSoftwareVersionsListRequest) VersionIre(versionIre []string) ApiDcimSoftwareVersionsListRequest {
+ r.versionIre = &versionIre
return r
}
-// The initial index from which to return the results.
-func (r ApiDcimSoftwareImageFilesListRequest) Offset(offset int32) ApiDcimSoftwareImageFilesListRequest {
- r.offset = &offset
+func (r ApiDcimSoftwareVersionsListRequest) VersionIsw(versionIsw []string) ApiDcimSoftwareVersionsListRequest {
+ r.versionIsw = &versionIsw
return r
}
-// Search
-func (r ApiDcimSoftwareImageFilesListRequest) Q(q string) ApiDcimSoftwareImageFilesListRequest {
- r.q = &q
+func (r ApiDcimSoftwareVersionsListRequest) VersionN(versionN []string) ApiDcimSoftwareVersionsListRequest {
+ r.versionN = &versionN
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) SoftwareVersion(softwareVersion []string) ApiDcimSoftwareImageFilesListRequest {
- r.softwareVersion = &softwareVersion
+func (r ApiDcimSoftwareVersionsListRequest) VersionNic(versionNic []string) ApiDcimSoftwareVersionsListRequest {
+ r.versionNic = &versionNic
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) SoftwareVersionN(softwareVersionN []string) ApiDcimSoftwareImageFilesListRequest {
- r.softwareVersionN = &softwareVersionN
+func (r ApiDcimSoftwareVersionsListRequest) VersionNie(versionNie []string) ApiDcimSoftwareVersionsListRequest {
+ r.versionNie = &versionNie
return r
}
-// Which field to use when ordering the results.
-func (r ApiDcimSoftwareImageFilesListRequest) Sort(sort string) ApiDcimSoftwareImageFilesListRequest {
- r.sort = &sort
+func (r ApiDcimSoftwareVersionsListRequest) VersionNiew(versionNiew []string) ApiDcimSoftwareVersionsListRequest {
+ r.versionNiew = &versionNiew
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) Status(status []string) ApiDcimSoftwareImageFilesListRequest {
- r.status = &status
+func (r ApiDcimSoftwareVersionsListRequest) VersionNire(versionNire []string) ApiDcimSoftwareVersionsListRequest {
+ r.versionNire = &versionNire
return r
}
-// Exclude Status (name or ID)
-func (r ApiDcimSoftwareImageFilesListRequest) StatusN(statusN string) ApiDcimSoftwareImageFilesListRequest {
- r.statusN = &statusN
+func (r ApiDcimSoftwareVersionsListRequest) VersionNisw(versionNisw []string) ApiDcimSoftwareVersionsListRequest {
+ r.versionNisw = &versionNisw
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) Tags(tags []string) ApiDcimSoftwareImageFilesListRequest {
- r.tags = &tags
+func (r ApiDcimSoftwareVersionsListRequest) VersionNre(versionNre []string) ApiDcimSoftwareVersionsListRequest {
+ r.versionNre = &versionNre
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) TagsIsnull(tagsIsnull bool) ApiDcimSoftwareImageFilesListRequest {
- r.tagsIsnull = &tagsIsnull
+func (r ApiDcimSoftwareVersionsListRequest) VersionRe(versionRe []string) ApiDcimSoftwareVersionsListRequest {
+ r.versionRe = &versionRe
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) TagsN(tagsN []string) ApiDcimSoftwareImageFilesListRequest {
- r.tagsN = &tagsN
+func (r ApiDcimSoftwareVersionsListRequest) VirtualMachines(virtualMachines []string) ApiDcimSoftwareVersionsListRequest {
+ r.virtualMachines = &virtualMachines
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) Teams(teams []string) ApiDcimSoftwareImageFilesListRequest {
- r.teams = &teams
+// Virtual machines (name or ID) is null
+func (r ApiDcimSoftwareVersionsListRequest) VirtualMachinesIsnull(virtualMachinesIsnull bool) ApiDcimSoftwareVersionsListRequest {
+ r.virtualMachinesIsnull = &virtualMachinesIsnull
return r
}
-// Teams (name or ID) is null
-func (r ApiDcimSoftwareImageFilesListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimSoftwareImageFilesListRequest {
- r.teamsIsnull = &teamsIsnull
+func (r ApiDcimSoftwareVersionsListRequest) VirtualMachinesN(virtualMachinesN []string) ApiDcimSoftwareVersionsListRequest {
+ r.virtualMachinesN = &virtualMachinesN
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimSoftwareImageFilesListRequest) TeamsN(teamsN string) ApiDcimSoftwareImageFilesListRequest {
- r.teamsN = &teamsN
+// Serializer Depth
+func (r ApiDcimSoftwareVersionsListRequest) Depth(depth int32) ApiDcimSoftwareVersionsListRequest {
+ r.depth = &depth
return r
}
-// Serializer Depth
-func (r ApiDcimSoftwareImageFilesListRequest) Depth(depth int32) ApiDcimSoftwareImageFilesListRequest {
- r.depth = &depth
+// Exclude many-to-many fields from the response
+func (r ApiDcimSoftwareVersionsListRequest) ExcludeM2m(excludeM2m bool) ApiDcimSoftwareVersionsListRequest {
+ r.excludeM2m = &excludeM2m
return r
}
-func (r ApiDcimSoftwareImageFilesListRequest) Execute() (*PaginatedSoftwareImageFileList, *http.Response, error) {
- return r.ApiService.DcimSoftwareImageFilesListExecute(r)
+func (r ApiDcimSoftwareVersionsListRequest) Execute() (*PaginatedSoftwareVersionList, *http.Response, error) {
+ return r.ApiService.DcimSoftwareVersionsListExecute(r)
}
/*
-DcimSoftwareImageFilesList Method for DcimSoftwareImageFilesList
+DcimSoftwareVersionsList Method for DcimSoftwareVersionsList
-Retrieve a list of software image file objects.
+Retrieve a list of software version objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimSoftwareImageFilesListRequest
+ @return ApiDcimSoftwareVersionsListRequest
*/
-func (a *DcimAPIService) DcimSoftwareImageFilesList(ctx context.Context) ApiDcimSoftwareImageFilesListRequest {
- return ApiDcimSoftwareImageFilesListRequest{
+func (a *DcimAPIService) DcimSoftwareVersionsList(ctx context.Context) ApiDcimSoftwareVersionsListRequest {
+ return ApiDcimSoftwareVersionsListRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return PaginatedSoftwareImageFileList
-func (a *DcimAPIService) DcimSoftwareImageFilesListExecute(r ApiDcimSoftwareImageFilesListRequest) (*PaginatedSoftwareImageFileList, *http.Response, error) {
+// @return PaginatedSoftwareVersionList
+func (a *DcimAPIService) DcimSoftwareVersionsListExecute(r ApiDcimSoftwareVersionsListRequest) (*PaginatedSoftwareVersionList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PaginatedSoftwareImageFileList
+ localVarReturnValue *PaginatedSoftwareVersionList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareImageFilesList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareVersionsList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/software-image-files/"
+ localVarPath := localBasePath + "/dcim/software-versions/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.contacts != nil {
- t := *r.contacts
+ if r.alias != nil {
+ t := *r.alias
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "alias", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "alias", t, "form", "multi")
}
}
- if r.contactsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
- }
- if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
- }
- if r.created != nil {
- t := *r.created
+ if r.aliasIc != nil {
+ t := *r.aliasIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "alias__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "alias__ic", t, "form", "multi")
}
}
- if r.createdGt != nil {
- t := *r.createdGt
+ if r.aliasIe != nil {
+ t := *r.aliasIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "alias__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "alias__ie", t, "form", "multi")
}
}
- if r.createdGte != nil {
- t := *r.createdGte
+ if r.aliasIew != nil {
+ t := *r.aliasIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "alias__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "alias__iew", t, "form", "multi")
}
}
- if r.createdIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__isnull", r.createdIsnull, "form", "")
- }
- if r.createdLt != nil {
- t := *r.createdLt
+ if r.aliasIre != nil {
+ t := *r.aliasIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "alias__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "alias__ire", t, "form", "multi")
}
}
- if r.createdLte != nil {
- t := *r.createdLte
+ if r.aliasIsw != nil {
+ t := *r.aliasIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "alias__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "alias__isw", t, "form", "multi")
}
}
- if r.createdN != nil {
- t := *r.createdN
+ if r.aliasN != nil {
+ t := *r.aliasN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "alias__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "alias__n", t, "form", "multi")
}
}
- if r.defaultImage != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "default_image", r.defaultImage, "form", "")
- }
- if r.deviceTypes != nil {
- t := *r.deviceTypes
+ if r.aliasNic != nil {
+ t := *r.aliasNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device_types", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "alias__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device_types", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "alias__nic", t, "form", "multi")
}
}
- if r.deviceTypesIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device_types__isnull", r.deviceTypesIsnull, "form", "")
- }
- if r.deviceTypesN != nil {
- t := *r.deviceTypesN
+ if r.aliasNie != nil {
+ t := *r.aliasNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device_types__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "alias__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device_types__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "alias__nie", t, "form", "multi")
}
}
- if r.devices != nil {
- t := *r.devices
+ if r.aliasNiew != nil {
+ t := *r.aliasNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "devices", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "alias__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "devices", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "alias__niew", t, "form", "multi")
}
}
- if r.devicesIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "devices__isnull", r.devicesIsnull, "form", "")
- }
- if r.devicesN != nil {
- t := *r.devicesN
+ if r.aliasNire != nil {
+ t := *r.aliasNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "devices__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "alias__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "devices__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "alias__nire", t, "form", "multi")
}
}
- if r.downloadUrl != nil {
- t := *r.downloadUrl
+ if r.aliasNisw != nil {
+ t := *r.aliasNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "download_url", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "alias__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "download_url", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "alias__nisw", t, "form", "multi")
}
}
- if r.downloadUrlIc != nil {
- t := *r.downloadUrlIc
+ if r.aliasNre != nil {
+ t := *r.aliasNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "alias__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "alias__nre", t, "form", "multi")
}
}
- if r.downloadUrlIe != nil {
- t := *r.downloadUrlIe
+ if r.aliasRe != nil {
+ t := *r.aliasRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "alias__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "alias__re", t, "form", "multi")
}
}
- if r.downloadUrlIew != nil {
- t := *r.downloadUrlIew
+ if r.contacts != nil {
+ t := *r.contacts
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", t, "form", "multi")
}
}
- if r.downloadUrlIre != nil {
- t := *r.downloadUrlIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__ire", t, "form", "multi")
- }
+ if r.contactsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
- if r.downloadUrlIsw != nil {
- t := *r.downloadUrlIsw
+ if r.contactsN != nil {
+ t := *r.contactsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
}
}
- if r.downloadUrlN != nil {
- t := *r.downloadUrlN
+ if r.created != nil {
+ t := *r.created
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created", t, "form", "multi")
}
}
- if r.downloadUrlNic != nil {
- t := *r.downloadUrlNic
+ if r.createdGt != nil {
+ t := *r.createdGt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", t, "form", "multi")
}
}
- if r.downloadUrlNie != nil {
- t := *r.downloadUrlNie
+ if r.createdGte != nil {
+ t := *r.createdGte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", t, "form", "multi")
}
}
- if r.downloadUrlNiew != nil {
- t := *r.downloadUrlNiew
+ if r.createdIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__isnull", r.createdIsnull, "form", "")
+ }
+ if r.createdLt != nil {
+ t := *r.createdLt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", t, "form", "multi")
}
}
- if r.downloadUrlNire != nil {
- t := *r.downloadUrlNire
+ if r.createdLte != nil {
+ t := *r.createdLte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", t, "form", "multi")
}
}
- if r.downloadUrlNisw != nil {
- t := *r.downloadUrlNisw
+ if r.createdN != nil {
+ t := *r.createdN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "form", "multi")
}
}
- if r.downloadUrlNre != nil {
- t := *r.downloadUrlNre
+ if r.deviceTypes != nil {
+ t := *r.deviceTypes
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device_types", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device_types", t, "form", "multi")
}
}
- if r.downloadUrlRe != nil {
- t := *r.downloadUrlRe
+ if r.deviceTypesIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device_types__isnull", r.deviceTypesIsnull, "form", "")
+ }
+ if r.deviceTypesN != nil {
+ t := *r.deviceTypesN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device_types__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "download_url__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device_types__n", t, "form", "multi")
}
}
- if r.dynamicGroups != nil {
- t := *r.dynamicGroups
+ if r.devices != nil {
+ t := *r.devices
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "devices", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "devices", t, "form", "multi")
}
}
- if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.hasDeviceTypes != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_device_types", r.hasDeviceTypes, "form", "")
- }
- if r.hasDevices != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_devices", r.hasDevices, "form", "")
+ if r.devicesIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "devices__isnull", r.devicesIsnull, "form", "")
}
- if r.hashingAlgorithm != nil {
- t := *r.hashingAlgorithm
+ if r.devicesN != nil {
+ t := *r.devicesN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "devices__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "devices__n", t, "form", "multi")
}
}
- if r.hashingAlgorithmIc != nil {
- t := *r.hashingAlgorithmIc
+ if r.documentationUrl != nil {
+ t := *r.documentationUrl
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url", t, "form", "multi")
}
}
- if r.hashingAlgorithmIe != nil {
- t := *r.hashingAlgorithmIe
+ if r.documentationUrlIc != nil {
+ t := *r.documentationUrlIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__ic", t, "form", "multi")
}
}
- if r.hashingAlgorithmIew != nil {
- t := *r.hashingAlgorithmIew
+ if r.documentationUrlIe != nil {
+ t := *r.documentationUrlIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__ie", t, "form", "multi")
}
}
- if r.hashingAlgorithmIre != nil {
- t := *r.hashingAlgorithmIre
+ if r.documentationUrlIew != nil {
+ t := *r.documentationUrlIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__iew", t, "form", "multi")
}
}
- if r.hashingAlgorithmIsw != nil {
- t := *r.hashingAlgorithmIsw
+ if r.documentationUrlIre != nil {
+ t := *r.documentationUrlIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__ire", t, "form", "multi")
}
}
- if r.hashingAlgorithmN != nil {
- t := *r.hashingAlgorithmN
+ if r.documentationUrlIsw != nil {
+ t := *r.documentationUrlIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__isw", t, "form", "multi")
}
}
- if r.hashingAlgorithmNic != nil {
- t := *r.hashingAlgorithmNic
+ if r.documentationUrlN != nil {
+ t := *r.documentationUrlN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__n", t, "form", "multi")
}
}
- if r.hashingAlgorithmNie != nil {
- t := *r.hashingAlgorithmNie
+ if r.documentationUrlNic != nil {
+ t := *r.documentationUrlNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__nic", t, "form", "multi")
}
}
- if r.hashingAlgorithmNiew != nil {
- t := *r.hashingAlgorithmNiew
+ if r.documentationUrlNie != nil {
+ t := *r.documentationUrlNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__nie", t, "form", "multi")
}
}
- if r.hashingAlgorithmNire != nil {
- t := *r.hashingAlgorithmNire
+ if r.documentationUrlNiew != nil {
+ t := *r.documentationUrlNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__niew", t, "form", "multi")
}
}
- if r.hashingAlgorithmNisw != nil {
- t := *r.hashingAlgorithmNisw
+ if r.documentationUrlNire != nil {
+ t := *r.documentationUrlNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__nire", t, "form", "multi")
}
}
- if r.hashingAlgorithmNre != nil {
- t := *r.hashingAlgorithmNre
+ if r.documentationUrlNisw != nil {
+ t := *r.documentationUrlNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__nisw", t, "form", "multi")
}
}
- if r.hashingAlgorithmRe != nil {
- t := *r.hashingAlgorithmRe
+ if r.documentationUrlNre != nil {
+ t := *r.documentationUrlNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "hashing_algorithm__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__nre", t, "form", "multi")
}
}
- if r.id != nil {
- t := *r.id
+ if r.documentationUrlRe != nil {
+ t := *r.documentationUrlRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__re", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
+ if r.dynamicGroups != nil {
+ t := *r.dynamicGroups
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
}
}
- if r.idIe != nil {
- t := *r.idIe
+ if r.dynamicGroupsN != nil {
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idIew != nil {
- t := *r.idIew
+ if r.endOfSupportDate != nil {
+ t := *r.endOfSupportDate
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "end_of_support_date", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "end_of_support_date", t, "form", "multi")
}
}
- if r.idIre != nil {
- t := *r.idIre
+ if r.endOfSupportDateGt != nil {
+ t := *r.endOfSupportDateGt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "end_of_support_date__gt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "end_of_support_date__gt", t, "form", "multi")
}
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.endOfSupportDateGte != nil {
+ t := *r.endOfSupportDateGte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "end_of_support_date__gte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "end_of_support_date__gte", t, "form", "multi")
}
}
- if r.idN != nil {
- t := *r.idN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
- }
+ if r.endOfSupportDateIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "end_of_support_date__isnull", r.endOfSupportDateIsnull, "form", "")
}
- if r.idNic != nil {
- t := *r.idNic
+ if r.endOfSupportDateLt != nil {
+ t := *r.endOfSupportDateLt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "end_of_support_date__lt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "end_of_support_date__lt", t, "form", "multi")
}
}
- if r.idNie != nil {
- t := *r.idNie
+ if r.endOfSupportDateLte != nil {
+ t := *r.endOfSupportDateLte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "end_of_support_date__lte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "end_of_support_date__lte", t, "form", "multi")
}
}
- if r.idNiew != nil {
- t := *r.idNiew
+ if r.endOfSupportDateN != nil {
+ t := *r.endOfSupportDateN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "end_of_support_date__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "end_of_support_date__n", t, "form", "multi")
}
}
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
+ if r.hasDevices != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_devices", r.hasDevices, "form", "")
}
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
+ if r.hasInventoryItems != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_inventory_items", r.hasInventoryItems, "form", "")
}
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
+ if r.hasSoftwareImageFiles != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_software_image_files", r.hasSoftwareImageFiles, "form", "")
}
- if r.imageFileChecksum != nil {
- t := *r.imageFileChecksum
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum", t, "form", "multi")
- }
+ if r.hasVirtualMachines != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_virtual_machines", r.hasVirtualMachines, "form", "")
}
- if r.imageFileChecksumIc != nil {
- t := *r.imageFileChecksumIc
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.imageFileChecksumIe != nil {
- t := *r.imageFileChecksumIe
+ if r.idN != nil {
+ t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.imageFileChecksumIew != nil {
- t := *r.imageFileChecksumIew
+ if r.inventoryItems != nil {
+ t := *r.inventoryItems
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "inventory_items", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "inventory_items", t, "form", "multi")
}
}
- if r.imageFileChecksumIre != nil {
- t := *r.imageFileChecksumIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__ire", t, "form", "multi")
- }
+ if r.inventoryItemsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "inventory_items__isnull", r.inventoryItemsIsnull, "form", "")
}
- if r.imageFileChecksumIsw != nil {
- t := *r.imageFileChecksumIsw
+ if r.inventoryItemsN != nil {
+ t := *r.inventoryItemsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "inventory_items__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "inventory_items__n", t, "form", "multi")
}
}
- if r.imageFileChecksumN != nil {
- t := *r.imageFileChecksumN
+ if r.lastUpdated != nil {
+ t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "form", "multi")
}
}
- if r.imageFileChecksumNic != nil {
- t := *r.imageFileChecksumNic
+ if r.lastUpdatedGt != nil {
+ t := *r.lastUpdatedGt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", t, "form", "multi")
}
}
- if r.imageFileChecksumNie != nil {
- t := *r.imageFileChecksumNie
+ if r.lastUpdatedGte != nil {
+ t := *r.lastUpdatedGte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", t, "form", "multi")
}
}
- if r.imageFileChecksumNiew != nil {
- t := *r.imageFileChecksumNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__niew", t, "form", "multi")
- }
+ if r.lastUpdatedIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__isnull", r.lastUpdatedIsnull, "form", "")
}
- if r.imageFileChecksumNire != nil {
- t := *r.imageFileChecksumNire
+ if r.lastUpdatedLt != nil {
+ t := *r.lastUpdatedLt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", t, "form", "multi")
}
}
- if r.imageFileChecksumNisw != nil {
- t := *r.imageFileChecksumNisw
+ if r.lastUpdatedLte != nil {
+ t := *r.lastUpdatedLte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", t, "form", "multi")
}
}
- if r.imageFileChecksumNre != nil {
- t := *r.imageFileChecksumNre
+ if r.lastUpdatedN != nil {
+ t := *r.lastUpdatedN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", t, "form", "multi")
}
}
- if r.imageFileChecksumRe != nil {
- t := *r.imageFileChecksumRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_checksum__re", t, "form", "multi")
- }
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
- if r.imageFileName != nil {
- t := *r.imageFileName
+ if r.longTermSupport != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "long_term_support", r.longTermSupport, "form", "")
+ }
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+ }
+ if r.platform != nil {
+ t := *r.platform
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "platform", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "platform", t, "form", "multi")
}
}
- if r.imageFileNameIc != nil {
- t := *r.imageFileNameIc
+ if r.platformN != nil {
+ t := *r.platformN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "platform__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "platform__n", t, "form", "multi")
}
}
- if r.imageFileNameIe != nil {
- t := *r.imageFileNameIe
+ if r.preRelease != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "pre_release", r.preRelease, "form", "")
+ }
+ if r.q != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
+ }
+ if r.releaseDate != nil {
+ t := *r.releaseDate
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "release_date", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "release_date", t, "form", "multi")
}
}
- if r.imageFileNameIew != nil {
- t := *r.imageFileNameIew
+ if r.releaseDateGt != nil {
+ t := *r.releaseDateGt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "release_date__gt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "release_date__gt", t, "form", "multi")
}
}
- if r.imageFileNameIre != nil {
- t := *r.imageFileNameIre
+ if r.releaseDateGte != nil {
+ t := *r.releaseDateGte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "release_date__gte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "release_date__gte", t, "form", "multi")
}
}
- if r.imageFileNameIsw != nil {
- t := *r.imageFileNameIsw
+ if r.releaseDateIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "release_date__isnull", r.releaseDateIsnull, "form", "")
+ }
+ if r.releaseDateLt != nil {
+ t := *r.releaseDateLt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "release_date__lt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "release_date__lt", t, "form", "multi")
}
}
- if r.imageFileNameN != nil {
- t := *r.imageFileNameN
+ if r.releaseDateLte != nil {
+ t := *r.releaseDateLte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "release_date__lte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "release_date__lte", t, "form", "multi")
}
}
- if r.imageFileNameNic != nil {
- t := *r.imageFileNameNic
+ if r.releaseDateN != nil {
+ t := *r.releaseDateN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "release_date__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "release_date__n", t, "form", "multi")
}
}
- if r.imageFileNameNie != nil {
- t := *r.imageFileNameNie
+ if r.softwareImageFiles != nil {
+ t := *r.softwareImageFiles
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "software_image_files", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "software_image_files", t, "form", "multi")
}
}
- if r.imageFileNameNiew != nil {
- t := *r.imageFileNameNiew
+ if r.softwareImageFilesIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "software_image_files__isnull", r.softwareImageFilesIsnull, "form", "")
+ }
+ if r.softwareImageFilesN != nil {
+ t := *r.softwareImageFilesN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "software_image_files__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "software_image_files__n", t, "form", "multi")
}
}
- if r.imageFileNameNire != nil {
- t := *r.imageFileNameNire
+ if r.sort != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
+ }
+ if r.status != nil {
+ t := *r.status
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status", t, "form", "multi")
}
}
- if r.imageFileNameNisw != nil {
- t := *r.imageFileNameNisw
+ if r.statusN != nil {
+ t := *r.statusN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "form", "multi")
}
}
- if r.imageFileNameNre != nil {
- t := *r.imageFileNameNre
+ if r.tags != nil {
+ t := *r.tags
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags", t, "form", "multi")
}
}
- if r.imageFileNameRe != nil {
- t := *r.imageFileNameRe
+ if r.tagsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__isnull", r.tagsIsnull, "form", "")
+ }
+ if r.tagsN != nil {
+ t := *r.tagsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_name__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", t, "form", "multi")
}
}
- if r.imageFileSize != nil {
- t := *r.imageFileSize
+ if r.teams != nil {
+ t := *r.teams
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_size", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_size", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams", t, "form", "multi")
}
}
- if r.imageFileSizeGt != nil {
- t := *r.imageFileSizeGt
+ if r.teamsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
+ }
+ if r.teamsN != nil {
+ t := *r.teamsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_size__gt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_size__gt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
}
}
- if r.imageFileSizeGte != nil {
- t := *r.imageFileSizeGte
+ if r.version != nil {
+ t := *r.version
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_size__gte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "version", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_size__gte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "version", t, "form", "multi")
}
}
- if r.imageFileSizeIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_size__isnull", r.imageFileSizeIsnull, "form", "")
- }
- if r.imageFileSizeLt != nil {
- t := *r.imageFileSizeLt
+ if r.versionIc != nil {
+ t := *r.versionIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_size__lt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "version__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_size__lt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "version__ic", t, "form", "multi")
}
}
- if r.imageFileSizeLte != nil {
- t := *r.imageFileSizeLte
+ if r.versionIe != nil {
+ t := *r.versionIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_size__lte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "version__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_size__lte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "version__ie", t, "form", "multi")
}
}
- if r.imageFileSizeN != nil {
- t := *r.imageFileSizeN
+ if r.versionIew != nil {
+ t := *r.versionIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_size__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "version__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "image_file_size__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "version__iew", t, "form", "multi")
}
}
- if r.lastUpdated != nil {
- t := *r.lastUpdated
+ if r.versionIre != nil {
+ t := *r.versionIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "version__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "version__ire", t, "form", "multi")
}
}
- if r.lastUpdatedGt != nil {
- t := *r.lastUpdatedGt
+ if r.versionIsw != nil {
+ t := *r.versionIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "version__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "version__isw", t, "form", "multi")
}
}
- if r.lastUpdatedGte != nil {
- t := *r.lastUpdatedGte
+ if r.versionN != nil {
+ t := *r.versionN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "version__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "version__n", t, "form", "multi")
}
}
- if r.lastUpdatedIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__isnull", r.lastUpdatedIsnull, "form", "")
- }
- if r.lastUpdatedLt != nil {
- t := *r.lastUpdatedLt
+ if r.versionNic != nil {
+ t := *r.versionNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "version__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "version__nic", t, "form", "multi")
}
}
- if r.lastUpdatedLte != nil {
- t := *r.lastUpdatedLte
+ if r.versionNie != nil {
+ t := *r.versionNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "version__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "version__nie", t, "form", "multi")
}
}
- if r.lastUpdatedN != nil {
- t := *r.lastUpdatedN
+ if r.versionNiew != nil {
+ t := *r.versionNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "version__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "version__niew", t, "form", "multi")
}
}
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
- }
- if r.offset != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
- }
- if r.q != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
- }
- if r.softwareVersion != nil {
- t := *r.softwareVersion
+ if r.versionNire != nil {
+ t := *r.versionNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "software_version", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "version__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "software_version", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "version__nire", t, "form", "multi")
}
}
- if r.softwareVersionN != nil {
- t := *r.softwareVersionN
+ if r.versionNisw != nil {
+ t := *r.versionNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "software_version__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "version__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "software_version__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "version__nisw", t, "form", "multi")
}
}
- if r.sort != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
- }
- if r.status != nil {
- t := *r.status
+ if r.versionNre != nil {
+ t := *r.versionNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "status", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "version__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "status", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "version__nre", t, "form", "multi")
}
}
- if r.statusN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", r.statusN, "form", "")
- }
- if r.tags != nil {
- t := *r.tags
+ if r.versionRe != nil {
+ t := *r.versionRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "version__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "version__re", t, "form", "multi")
}
}
- if r.tagsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags__isnull", r.tagsIsnull, "form", "")
- }
- if r.tagsN != nil {
- t := *r.tagsN
+ if r.virtualMachines != nil {
+ t := *r.virtualMachines
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machines", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machines", t, "form", "multi")
}
}
- if r.teams != nil {
- t := *r.teams
+ if r.virtualMachinesIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machines__isnull", r.virtualMachinesIsnull, "form", "")
+ }
+ if r.virtualMachinesN != nil {
+ t := *r.virtualMachinesN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machines__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machines__n", t, "form", "multi")
}
}
- if r.teamsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
- }
- if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
- }
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -134956,7 +135257,7 @@ func (a *DcimAPIService) DcimSoftwareImageFilesListExecute(r ApiDcimSoftwareImag
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimSoftwareImageFilesNotesCreateRequest struct {
+type ApiDcimSoftwareVersionsNotesCreateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
@@ -134964,31 +135265,31 @@ type ApiDcimSoftwareImageFilesNotesCreateRequest struct {
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimSoftwareImageFilesNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimSoftwareImageFilesNotesCreateRequest {
+func (r ApiDcimSoftwareVersionsNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimSoftwareVersionsNotesCreateRequest {
r.noteInputRequest = ¬eInputRequest
return r
}
-func (r ApiDcimSoftwareImageFilesNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareImageFilesNotesCreateRequest {
+func (r ApiDcimSoftwareVersionsNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareVersionsNotesCreateRequest {
r.format = &format
return r
}
-func (r ApiDcimSoftwareImageFilesNotesCreateRequest) Execute() (*Note, *http.Response, error) {
- return r.ApiService.DcimSoftwareImageFilesNotesCreateExecute(r)
+func (r ApiDcimSoftwareVersionsNotesCreateRequest) Execute() (*Note, *http.Response, error) {
+ return r.ApiService.DcimSoftwareVersionsNotesCreateExecute(r)
}
/*
-DcimSoftwareImageFilesNotesCreate Method for DcimSoftwareImageFilesNotesCreate
+DcimSoftwareVersionsNotesCreate Method for DcimSoftwareVersionsNotesCreate
API methods for returning or creating notes on an object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this software image file.
- @return ApiDcimSoftwareImageFilesNotesCreateRequest
+ @param id A UUID string identifying this software version.
+ @return ApiDcimSoftwareVersionsNotesCreateRequest
*/
-func (a *DcimAPIService) DcimSoftwareImageFilesNotesCreate(ctx context.Context, id string) ApiDcimSoftwareImageFilesNotesCreateRequest {
- return ApiDcimSoftwareImageFilesNotesCreateRequest{
+func (a *DcimAPIService) DcimSoftwareVersionsNotesCreate(ctx context.Context, id string) ApiDcimSoftwareVersionsNotesCreateRequest {
+ return ApiDcimSoftwareVersionsNotesCreateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -134997,7 +135298,7 @@ func (a *DcimAPIService) DcimSoftwareImageFilesNotesCreate(ctx context.Context,
// Execute executes the request
// @return Note
-func (a *DcimAPIService) DcimSoftwareImageFilesNotesCreateExecute(r ApiDcimSoftwareImageFilesNotesCreateRequest) (*Note, *http.Response, error) {
+func (a *DcimAPIService) DcimSoftwareVersionsNotesCreateExecute(r ApiDcimSoftwareVersionsNotesCreateRequest) (*Note, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -135005,12 +135306,12 @@ func (a *DcimAPIService) DcimSoftwareImageFilesNotesCreateExecute(r ApiDcimSoftw
localVarReturnValue *Note
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareImageFilesNotesCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareVersionsNotesCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/software-image-files/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/software-versions/{id}/notes/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -135093,7 +135394,7 @@ func (a *DcimAPIService) DcimSoftwareImageFilesNotesCreateExecute(r ApiDcimSoftw
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimSoftwareImageFilesNotesListRequest struct {
+type ApiDcimSoftwareVersionsNotesListRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
@@ -135101,46 +135402,53 @@ type ApiDcimSoftwareImageFilesNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimSoftwareImageFilesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareImageFilesNotesListRequest {
+func (r ApiDcimSoftwareVersionsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareVersionsNotesListRequest {
r.format = &format
return r
}
// Number of results to return per page.
-func (r ApiDcimSoftwareImageFilesNotesListRequest) Limit(limit int32) ApiDcimSoftwareImageFilesNotesListRequest {
+func (r ApiDcimSoftwareVersionsNotesListRequest) Limit(limit int32) ApiDcimSoftwareVersionsNotesListRequest {
r.limit = &limit
return r
}
// The initial index from which to return the results.
-func (r ApiDcimSoftwareImageFilesNotesListRequest) Offset(offset int32) ApiDcimSoftwareImageFilesNotesListRequest {
+func (r ApiDcimSoftwareVersionsNotesListRequest) Offset(offset int32) ApiDcimSoftwareVersionsNotesListRequest {
r.offset = &offset
return r
}
// Serializer Depth
-func (r ApiDcimSoftwareImageFilesNotesListRequest) Depth(depth int32) ApiDcimSoftwareImageFilesNotesListRequest {
+func (r ApiDcimSoftwareVersionsNotesListRequest) Depth(depth int32) ApiDcimSoftwareVersionsNotesListRequest {
r.depth = &depth
return r
}
-func (r ApiDcimSoftwareImageFilesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
- return r.ApiService.DcimSoftwareImageFilesNotesListExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimSoftwareVersionsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimSoftwareVersionsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimSoftwareVersionsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
+ return r.ApiService.DcimSoftwareVersionsNotesListExecute(r)
}
/*
-DcimSoftwareImageFilesNotesList Method for DcimSoftwareImageFilesNotesList
+DcimSoftwareVersionsNotesList Method for DcimSoftwareVersionsNotesList
API methods for returning or creating notes on an object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this software image file.
- @return ApiDcimSoftwareImageFilesNotesListRequest
+ @param id A UUID string identifying this software version.
+ @return ApiDcimSoftwareVersionsNotesListRequest
*/
-func (a *DcimAPIService) DcimSoftwareImageFilesNotesList(ctx context.Context, id string) ApiDcimSoftwareImageFilesNotesListRequest {
- return ApiDcimSoftwareImageFilesNotesListRequest{
+func (a *DcimAPIService) DcimSoftwareVersionsNotesList(ctx context.Context, id string) ApiDcimSoftwareVersionsNotesListRequest {
+ return ApiDcimSoftwareVersionsNotesListRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -135149,7 +135457,7 @@ func (a *DcimAPIService) DcimSoftwareImageFilesNotesList(ctx context.Context, id
// Execute executes the request
// @return PaginatedNoteList
-func (a *DcimAPIService) DcimSoftwareImageFilesNotesListExecute(r ApiDcimSoftwareImageFilesNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
+func (a *DcimAPIService) DcimSoftwareVersionsNotesListExecute(r ApiDcimSoftwareVersionsNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -135157,12 +135465,12 @@ func (a *DcimAPIService) DcimSoftwareImageFilesNotesListExecute(r ApiDcimSoftwar
localVarReturnValue *PaginatedNoteList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareImageFilesNotesList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareVersionsNotesList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/software-image-files/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/software-versions/{id}/notes/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -135181,8 +135489,16 @@ func (a *DcimAPIService) DcimSoftwareImageFilesNotesListExecute(r ApiDcimSoftwar
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -135252,39 +135568,39 @@ func (a *DcimAPIService) DcimSoftwareImageFilesNotesListExecute(r ApiDcimSoftwar
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimSoftwareImageFilesPartialUpdateRequest struct {
+type ApiDcimSoftwareVersionsPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
- patchedSoftwareImageFileRequest *PatchedSoftwareImageFileRequest
+ patchedSoftwareVersionRequest *PatchedSoftwareVersionRequest
}
-func (r ApiDcimSoftwareImageFilesPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareImageFilesPartialUpdateRequest {
+func (r ApiDcimSoftwareVersionsPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareVersionsPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimSoftwareImageFilesPartialUpdateRequest) PatchedSoftwareImageFileRequest(patchedSoftwareImageFileRequest PatchedSoftwareImageFileRequest) ApiDcimSoftwareImageFilesPartialUpdateRequest {
- r.patchedSoftwareImageFileRequest = &patchedSoftwareImageFileRequest
+func (r ApiDcimSoftwareVersionsPartialUpdateRequest) PatchedSoftwareVersionRequest(patchedSoftwareVersionRequest PatchedSoftwareVersionRequest) ApiDcimSoftwareVersionsPartialUpdateRequest {
+ r.patchedSoftwareVersionRequest = &patchedSoftwareVersionRequest
return r
}
-func (r ApiDcimSoftwareImageFilesPartialUpdateRequest) Execute() (*SoftwareImageFile, *http.Response, error) {
- return r.ApiService.DcimSoftwareImageFilesPartialUpdateExecute(r)
+func (r ApiDcimSoftwareVersionsPartialUpdateRequest) Execute() (*SoftwareVersion, *http.Response, error) {
+ return r.ApiService.DcimSoftwareVersionsPartialUpdateExecute(r)
}
/*
-DcimSoftwareImageFilesPartialUpdate Method for DcimSoftwareImageFilesPartialUpdate
+DcimSoftwareVersionsPartialUpdate Method for DcimSoftwareVersionsPartialUpdate
-Partial update a software image file object.
+Partial update a software version object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this software image file.
- @return ApiDcimSoftwareImageFilesPartialUpdateRequest
+ @param id A UUID string identifying this software version.
+ @return ApiDcimSoftwareVersionsPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimSoftwareImageFilesPartialUpdate(ctx context.Context, id string) ApiDcimSoftwareImageFilesPartialUpdateRequest {
- return ApiDcimSoftwareImageFilesPartialUpdateRequest{
+func (a *DcimAPIService) DcimSoftwareVersionsPartialUpdate(ctx context.Context, id string) ApiDcimSoftwareVersionsPartialUpdateRequest {
+ return ApiDcimSoftwareVersionsPartialUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -135292,21 +135608,21 @@ func (a *DcimAPIService) DcimSoftwareImageFilesPartialUpdate(ctx context.Context
}
// Execute executes the request
-// @return SoftwareImageFile
-func (a *DcimAPIService) DcimSoftwareImageFilesPartialUpdateExecute(r ApiDcimSoftwareImageFilesPartialUpdateRequest) (*SoftwareImageFile, *http.Response, error) {
+// @return SoftwareVersion
+func (a *DcimAPIService) DcimSoftwareVersionsPartialUpdateExecute(r ApiDcimSoftwareVersionsPartialUpdateRequest) (*SoftwareVersion, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *SoftwareImageFile
+ localVarReturnValue *SoftwareVersion
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareImageFilesPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareVersionsPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/software-image-files/{id}/"
+ localVarPath := localBasePath + "/dcim/software-versions/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -135334,7 +135650,7 @@ func (a *DcimAPIService) DcimSoftwareImageFilesPartialUpdateExecute(r ApiDcimSof
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedSoftwareImageFileRequest
+ localVarPostBody = r.patchedSoftwareVersionRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -135386,40 +135702,47 @@ func (a *DcimAPIService) DcimSoftwareImageFilesPartialUpdateExecute(r ApiDcimSof
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimSoftwareImageFilesRetrieveRequest struct {
+type ApiDcimSoftwareVersionsRetrieveRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimSoftwareImageFilesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareImageFilesRetrieveRequest {
+func (r ApiDcimSoftwareVersionsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareVersionsRetrieveRequest {
r.format = &format
return r
}
// Serializer Depth
-func (r ApiDcimSoftwareImageFilesRetrieveRequest) Depth(depth int32) ApiDcimSoftwareImageFilesRetrieveRequest {
+func (r ApiDcimSoftwareVersionsRetrieveRequest) Depth(depth int32) ApiDcimSoftwareVersionsRetrieveRequest {
r.depth = &depth
return r
}
-func (r ApiDcimSoftwareImageFilesRetrieveRequest) Execute() (*SoftwareImageFile, *http.Response, error) {
- return r.ApiService.DcimSoftwareImageFilesRetrieveExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimSoftwareVersionsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimSoftwareVersionsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimSoftwareVersionsRetrieveRequest) Execute() (*SoftwareVersion, *http.Response, error) {
+ return r.ApiService.DcimSoftwareVersionsRetrieveExecute(r)
}
/*
-DcimSoftwareImageFilesRetrieve Method for DcimSoftwareImageFilesRetrieve
+DcimSoftwareVersionsRetrieve Method for DcimSoftwareVersionsRetrieve
-Retrieve a software image file object.
+Retrieve a software version object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this software image file.
- @return ApiDcimSoftwareImageFilesRetrieveRequest
+ @param id A UUID string identifying this software version.
+ @return ApiDcimSoftwareVersionsRetrieveRequest
*/
-func (a *DcimAPIService) DcimSoftwareImageFilesRetrieve(ctx context.Context, id string) ApiDcimSoftwareImageFilesRetrieveRequest {
- return ApiDcimSoftwareImageFilesRetrieveRequest{
+func (a *DcimAPIService) DcimSoftwareVersionsRetrieve(ctx context.Context, id string) ApiDcimSoftwareVersionsRetrieveRequest {
+ return ApiDcimSoftwareVersionsRetrieveRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -135427,21 +135750,21 @@ func (a *DcimAPIService) DcimSoftwareImageFilesRetrieve(ctx context.Context, id
}
// Execute executes the request
-// @return SoftwareImageFile
-func (a *DcimAPIService) DcimSoftwareImageFilesRetrieveExecute(r ApiDcimSoftwareImageFilesRetrieveRequest) (*SoftwareImageFile, *http.Response, error) {
+// @return SoftwareVersion
+func (a *DcimAPIService) DcimSoftwareVersionsRetrieveExecute(r ApiDcimSoftwareVersionsRetrieveRequest) (*SoftwareVersion, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *SoftwareImageFile
+ localVarReturnValue *SoftwareVersion
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareImageFilesRetrieve")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareVersionsRetrieve")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/software-image-files/{id}/"
+ localVarPath := localBasePath + "/dcim/software-versions/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -135454,8 +135777,16 @@ func (a *DcimAPIService) DcimSoftwareImageFilesRetrieveExecute(r ApiDcimSoftware
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -135525,39 +135856,39 @@ func (a *DcimAPIService) DcimSoftwareImageFilesRetrieveExecute(r ApiDcimSoftware
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimSoftwareImageFilesUpdateRequest struct {
+type ApiDcimSoftwareVersionsUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
- softwareImageFileRequest *SoftwareImageFileRequest
+ softwareVersionRequest *SoftwareVersionRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimSoftwareImageFilesUpdateRequest) SoftwareImageFileRequest(softwareImageFileRequest SoftwareImageFileRequest) ApiDcimSoftwareImageFilesUpdateRequest {
- r.softwareImageFileRequest = &softwareImageFileRequest
+func (r ApiDcimSoftwareVersionsUpdateRequest) SoftwareVersionRequest(softwareVersionRequest SoftwareVersionRequest) ApiDcimSoftwareVersionsUpdateRequest {
+ r.softwareVersionRequest = &softwareVersionRequest
return r
}
-func (r ApiDcimSoftwareImageFilesUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareImageFilesUpdateRequest {
+func (r ApiDcimSoftwareVersionsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareVersionsUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimSoftwareImageFilesUpdateRequest) Execute() (*SoftwareImageFile, *http.Response, error) {
- return r.ApiService.DcimSoftwareImageFilesUpdateExecute(r)
+func (r ApiDcimSoftwareVersionsUpdateRequest) Execute() (*SoftwareVersion, *http.Response, error) {
+ return r.ApiService.DcimSoftwareVersionsUpdateExecute(r)
}
/*
-DcimSoftwareImageFilesUpdate Method for DcimSoftwareImageFilesUpdate
+DcimSoftwareVersionsUpdate Method for DcimSoftwareVersionsUpdate
-Update a software image file object.
+Update a software version object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this software image file.
- @return ApiDcimSoftwareImageFilesUpdateRequest
+ @param id A UUID string identifying this software version.
+ @return ApiDcimSoftwareVersionsUpdateRequest
*/
-func (a *DcimAPIService) DcimSoftwareImageFilesUpdate(ctx context.Context, id string) ApiDcimSoftwareImageFilesUpdateRequest {
- return ApiDcimSoftwareImageFilesUpdateRequest{
+func (a *DcimAPIService) DcimSoftwareVersionsUpdate(ctx context.Context, id string) ApiDcimSoftwareVersionsUpdateRequest {
+ return ApiDcimSoftwareVersionsUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -135565,28 +135896,28 @@ func (a *DcimAPIService) DcimSoftwareImageFilesUpdate(ctx context.Context, id st
}
// Execute executes the request
-// @return SoftwareImageFile
-func (a *DcimAPIService) DcimSoftwareImageFilesUpdateExecute(r ApiDcimSoftwareImageFilesUpdateRequest) (*SoftwareImageFile, *http.Response, error) {
+// @return SoftwareVersion
+func (a *DcimAPIService) DcimSoftwareVersionsUpdateExecute(r ApiDcimSoftwareVersionsUpdateRequest) (*SoftwareVersion, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *SoftwareImageFile
+ localVarReturnValue *SoftwareVersion
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareImageFilesUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareVersionsUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/software-image-files/{id}/"
+ localVarPath := localBasePath + "/dcim/software-versions/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.softwareImageFileRequest == nil {
- return localVarReturnValue, nil, reportError("softwareImageFileRequest is required and must be specified")
+ if r.softwareVersionRequest == nil {
+ return localVarReturnValue, nil, reportError("softwareVersionRequest is required and must be specified")
}
if r.format != nil {
@@ -135610,7 +135941,7 @@ func (a *DcimAPIService) DcimSoftwareImageFilesUpdateExecute(r ApiDcimSoftwareIm
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.softwareImageFileRequest
+ localVarPostBody = r.softwareVersionRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -135662,56 +135993,56 @@ func (a *DcimAPIService) DcimSoftwareImageFilesUpdateExecute(r ApiDcimSoftwareIm
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimSoftwareVersionsBulkDestroyRequest struct {
+type ApiDcimVirtualChassisBulkDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
bulkOperationRequest *[]BulkOperationRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimSoftwareVersionsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimSoftwareVersionsBulkDestroyRequest {
+func (r ApiDcimVirtualChassisBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimVirtualChassisBulkDestroyRequest {
r.bulkOperationRequest = &bulkOperationRequest
return r
}
-func (r ApiDcimSoftwareVersionsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareVersionsBulkDestroyRequest {
+func (r ApiDcimVirtualChassisBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualChassisBulkDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimSoftwareVersionsBulkDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimSoftwareVersionsBulkDestroyExecute(r)
+func (r ApiDcimVirtualChassisBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimVirtualChassisBulkDestroyExecute(r)
}
/*
-DcimSoftwareVersionsBulkDestroy Method for DcimSoftwareVersionsBulkDestroy
+DcimVirtualChassisBulkDestroy Method for DcimVirtualChassisBulkDestroy
-Destroy a list of software version objects.
+Destroy a list of virtual chassis objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimSoftwareVersionsBulkDestroyRequest
+ @return ApiDcimVirtualChassisBulkDestroyRequest
*/
-func (a *DcimAPIService) DcimSoftwareVersionsBulkDestroy(ctx context.Context) ApiDcimSoftwareVersionsBulkDestroyRequest {
- return ApiDcimSoftwareVersionsBulkDestroyRequest{
+func (a *DcimAPIService) DcimVirtualChassisBulkDestroy(ctx context.Context) ApiDcimVirtualChassisBulkDestroyRequest {
+ return ApiDcimVirtualChassisBulkDestroyRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-func (a *DcimAPIService) DcimSoftwareVersionsBulkDestroyExecute(r ApiDcimSoftwareVersionsBulkDestroyRequest) (*http.Response, error) {
+func (a *DcimAPIService) DcimVirtualChassisBulkDestroyExecute(r ApiDcimVirtualChassisBulkDestroyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareVersionsBulkDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualChassisBulkDestroy")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/software-versions/"
+ localVarPath := localBasePath + "/dcim/virtual-chassis/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -135784,64 +136115,64 @@ func (a *DcimAPIService) DcimSoftwareVersionsBulkDestroyExecute(r ApiDcimSoftwar
return localVarHTTPResponse, nil
}
-type ApiDcimSoftwareVersionsBulkPartialUpdateRequest struct {
+type ApiDcimVirtualChassisBulkPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- patchedBulkWritableSoftwareVersionRequest *[]PatchedBulkWritableSoftwareVersionRequest
+ patchedBulkWritableVirtualChassisRequest *[]PatchedBulkWritableVirtualChassisRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimSoftwareVersionsBulkPartialUpdateRequest) PatchedBulkWritableSoftwareVersionRequest(patchedBulkWritableSoftwareVersionRequest []PatchedBulkWritableSoftwareVersionRequest) ApiDcimSoftwareVersionsBulkPartialUpdateRequest {
- r.patchedBulkWritableSoftwareVersionRequest = &patchedBulkWritableSoftwareVersionRequest
+func (r ApiDcimVirtualChassisBulkPartialUpdateRequest) PatchedBulkWritableVirtualChassisRequest(patchedBulkWritableVirtualChassisRequest []PatchedBulkWritableVirtualChassisRequest) ApiDcimVirtualChassisBulkPartialUpdateRequest {
+ r.patchedBulkWritableVirtualChassisRequest = &patchedBulkWritableVirtualChassisRequest
return r
}
-func (r ApiDcimSoftwareVersionsBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareVersionsBulkPartialUpdateRequest {
+func (r ApiDcimVirtualChassisBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualChassisBulkPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimSoftwareVersionsBulkPartialUpdateRequest) Execute() ([]SoftwareVersion, *http.Response, error) {
- return r.ApiService.DcimSoftwareVersionsBulkPartialUpdateExecute(r)
+func (r ApiDcimVirtualChassisBulkPartialUpdateRequest) Execute() ([]VirtualChassis, *http.Response, error) {
+ return r.ApiService.DcimVirtualChassisBulkPartialUpdateExecute(r)
}
/*
-DcimSoftwareVersionsBulkPartialUpdate Method for DcimSoftwareVersionsBulkPartialUpdate
+DcimVirtualChassisBulkPartialUpdate Method for DcimVirtualChassisBulkPartialUpdate
-Partial update a list of software version objects.
+Partial update a list of virtual chassis objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimSoftwareVersionsBulkPartialUpdateRequest
+ @return ApiDcimVirtualChassisBulkPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimSoftwareVersionsBulkPartialUpdate(ctx context.Context) ApiDcimSoftwareVersionsBulkPartialUpdateRequest {
- return ApiDcimSoftwareVersionsBulkPartialUpdateRequest{
+func (a *DcimAPIService) DcimVirtualChassisBulkPartialUpdate(ctx context.Context) ApiDcimVirtualChassisBulkPartialUpdateRequest {
+ return ApiDcimVirtualChassisBulkPartialUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []SoftwareVersion
-func (a *DcimAPIService) DcimSoftwareVersionsBulkPartialUpdateExecute(r ApiDcimSoftwareVersionsBulkPartialUpdateRequest) ([]SoftwareVersion, *http.Response, error) {
+// @return []VirtualChassis
+func (a *DcimAPIService) DcimVirtualChassisBulkPartialUpdateExecute(r ApiDcimVirtualChassisBulkPartialUpdateRequest) ([]VirtualChassis, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []SoftwareVersion
+ localVarReturnValue []VirtualChassis
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareVersionsBulkPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualChassisBulkPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/software-versions/"
+ localVarPath := localBasePath + "/dcim/virtual-chassis/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.patchedBulkWritableSoftwareVersionRequest == nil {
- return localVarReturnValue, nil, reportError("patchedBulkWritableSoftwareVersionRequest is required and must be specified")
+ if r.patchedBulkWritableVirtualChassisRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritableVirtualChassisRequest is required and must be specified")
}
if r.format != nil {
@@ -135865,7 +136196,7 @@ func (a *DcimAPIService) DcimSoftwareVersionsBulkPartialUpdateExecute(r ApiDcimS
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedBulkWritableSoftwareVersionRequest
+ localVarPostBody = r.patchedBulkWritableVirtualChassisRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -135917,64 +136248,64 @@ func (a *DcimAPIService) DcimSoftwareVersionsBulkPartialUpdateExecute(r ApiDcimS
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimSoftwareVersionsBulkUpdateRequest struct {
+type ApiDcimVirtualChassisBulkUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- bulkWritableSoftwareVersionRequest *[]BulkWritableSoftwareVersionRequest
+ bulkWritableVirtualChassisRequest *[]BulkWritableVirtualChassisRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimSoftwareVersionsBulkUpdateRequest) BulkWritableSoftwareVersionRequest(bulkWritableSoftwareVersionRequest []BulkWritableSoftwareVersionRequest) ApiDcimSoftwareVersionsBulkUpdateRequest {
- r.bulkWritableSoftwareVersionRequest = &bulkWritableSoftwareVersionRequest
+func (r ApiDcimVirtualChassisBulkUpdateRequest) BulkWritableVirtualChassisRequest(bulkWritableVirtualChassisRequest []BulkWritableVirtualChassisRequest) ApiDcimVirtualChassisBulkUpdateRequest {
+ r.bulkWritableVirtualChassisRequest = &bulkWritableVirtualChassisRequest
return r
}
-func (r ApiDcimSoftwareVersionsBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareVersionsBulkUpdateRequest {
+func (r ApiDcimVirtualChassisBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualChassisBulkUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimSoftwareVersionsBulkUpdateRequest) Execute() ([]SoftwareVersion, *http.Response, error) {
- return r.ApiService.DcimSoftwareVersionsBulkUpdateExecute(r)
+func (r ApiDcimVirtualChassisBulkUpdateRequest) Execute() ([]VirtualChassis, *http.Response, error) {
+ return r.ApiService.DcimVirtualChassisBulkUpdateExecute(r)
}
/*
-DcimSoftwareVersionsBulkUpdate Method for DcimSoftwareVersionsBulkUpdate
+DcimVirtualChassisBulkUpdate Method for DcimVirtualChassisBulkUpdate
-Update a list of software version objects.
+Update a list of virtual chassis objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimSoftwareVersionsBulkUpdateRequest
+ @return ApiDcimVirtualChassisBulkUpdateRequest
*/
-func (a *DcimAPIService) DcimSoftwareVersionsBulkUpdate(ctx context.Context) ApiDcimSoftwareVersionsBulkUpdateRequest {
- return ApiDcimSoftwareVersionsBulkUpdateRequest{
+func (a *DcimAPIService) DcimVirtualChassisBulkUpdate(ctx context.Context) ApiDcimVirtualChassisBulkUpdateRequest {
+ return ApiDcimVirtualChassisBulkUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []SoftwareVersion
-func (a *DcimAPIService) DcimSoftwareVersionsBulkUpdateExecute(r ApiDcimSoftwareVersionsBulkUpdateRequest) ([]SoftwareVersion, *http.Response, error) {
+// @return []VirtualChassis
+func (a *DcimAPIService) DcimVirtualChassisBulkUpdateExecute(r ApiDcimVirtualChassisBulkUpdateRequest) ([]VirtualChassis, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []SoftwareVersion
+ localVarReturnValue []VirtualChassis
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareVersionsBulkUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualChassisBulkUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/software-versions/"
+ localVarPath := localBasePath + "/dcim/virtual-chassis/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.bulkWritableSoftwareVersionRequest == nil {
- return localVarReturnValue, nil, reportError("bulkWritableSoftwareVersionRequest is required and must be specified")
+ if r.bulkWritableVirtualChassisRequest == nil {
+ return localVarReturnValue, nil, reportError("bulkWritableVirtualChassisRequest is required and must be specified")
}
if r.format != nil {
@@ -135998,7 +136329,7 @@ func (a *DcimAPIService) DcimSoftwareVersionsBulkUpdateExecute(r ApiDcimSoftware
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.bulkWritableSoftwareVersionRequest
+ localVarPostBody = r.bulkWritableVirtualChassisRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -136050,64 +136381,64 @@ func (a *DcimAPIService) DcimSoftwareVersionsBulkUpdateExecute(r ApiDcimSoftware
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimSoftwareVersionsCreateRequest struct {
+type ApiDcimVirtualChassisCreateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- softwareVersionRequest *SoftwareVersionRequest
+ virtualChassisRequest *VirtualChassisRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimSoftwareVersionsCreateRequest) SoftwareVersionRequest(softwareVersionRequest SoftwareVersionRequest) ApiDcimSoftwareVersionsCreateRequest {
- r.softwareVersionRequest = &softwareVersionRequest
+func (r ApiDcimVirtualChassisCreateRequest) VirtualChassisRequest(virtualChassisRequest VirtualChassisRequest) ApiDcimVirtualChassisCreateRequest {
+ r.virtualChassisRequest = &virtualChassisRequest
return r
}
-func (r ApiDcimSoftwareVersionsCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareVersionsCreateRequest {
+func (r ApiDcimVirtualChassisCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualChassisCreateRequest {
r.format = &format
return r
}
-func (r ApiDcimSoftwareVersionsCreateRequest) Execute() (*SoftwareVersion, *http.Response, error) {
- return r.ApiService.DcimSoftwareVersionsCreateExecute(r)
+func (r ApiDcimVirtualChassisCreateRequest) Execute() (*VirtualChassis, *http.Response, error) {
+ return r.ApiService.DcimVirtualChassisCreateExecute(r)
}
/*
-DcimSoftwareVersionsCreate Method for DcimSoftwareVersionsCreate
+DcimVirtualChassisCreate Method for DcimVirtualChassisCreate
-Create one or more software version objects.
+Create one or more virtual chassis objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimSoftwareVersionsCreateRequest
+ @return ApiDcimVirtualChassisCreateRequest
*/
-func (a *DcimAPIService) DcimSoftwareVersionsCreate(ctx context.Context) ApiDcimSoftwareVersionsCreateRequest {
- return ApiDcimSoftwareVersionsCreateRequest{
+func (a *DcimAPIService) DcimVirtualChassisCreate(ctx context.Context) ApiDcimVirtualChassisCreateRequest {
+ return ApiDcimVirtualChassisCreateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return SoftwareVersion
-func (a *DcimAPIService) DcimSoftwareVersionsCreateExecute(r ApiDcimSoftwareVersionsCreateRequest) (*SoftwareVersion, *http.Response, error) {
+// @return VirtualChassis
+func (a *DcimAPIService) DcimVirtualChassisCreateExecute(r ApiDcimVirtualChassisCreateRequest) (*VirtualChassis, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *SoftwareVersion
+ localVarReturnValue *VirtualChassis
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareVersionsCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualChassisCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/software-versions/"
+ localVarPath := localBasePath + "/dcim/virtual-chassis/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.softwareVersionRequest == nil {
- return localVarReturnValue, nil, reportError("softwareVersionRequest is required and must be specified")
+ if r.virtualChassisRequest == nil {
+ return localVarReturnValue, nil, reportError("virtualChassisRequest is required and must be specified")
}
if r.format != nil {
@@ -136131,7 +136462,7 @@ func (a *DcimAPIService) DcimSoftwareVersionsCreateExecute(r ApiDcimSoftwareVers
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.softwareVersionRequest
+ localVarPostBody = r.virtualChassisRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -136183,33 +136514,33 @@ func (a *DcimAPIService) DcimSoftwareVersionsCreateExecute(r ApiDcimSoftwareVers
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimSoftwareVersionsDestroyRequest struct {
+type ApiDcimVirtualChassisDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimSoftwareVersionsDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareVersionsDestroyRequest {
+func (r ApiDcimVirtualChassisDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualChassisDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimSoftwareVersionsDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimSoftwareVersionsDestroyExecute(r)
+func (r ApiDcimVirtualChassisDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimVirtualChassisDestroyExecute(r)
}
/*
-DcimSoftwareVersionsDestroy Method for DcimSoftwareVersionsDestroy
+DcimVirtualChassisDestroy Method for DcimVirtualChassisDestroy
-Destroy a software version object.
+Destroy a virtual chassis object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this software version.
- @return ApiDcimSoftwareVersionsDestroyRequest
+ @param id A UUID string identifying this virtual chassis.
+ @return ApiDcimVirtualChassisDestroyRequest
*/
-func (a *DcimAPIService) DcimSoftwareVersionsDestroy(ctx context.Context, id string) ApiDcimSoftwareVersionsDestroyRequest {
- return ApiDcimSoftwareVersionsDestroyRequest{
+func (a *DcimAPIService) DcimVirtualChassisDestroy(ctx context.Context, id string) ApiDcimVirtualChassisDestroyRequest {
+ return ApiDcimVirtualChassisDestroyRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -136217,19 +136548,19 @@ func (a *DcimAPIService) DcimSoftwareVersionsDestroy(ctx context.Context, id str
}
// Execute executes the request
-func (a *DcimAPIService) DcimSoftwareVersionsDestroyExecute(r ApiDcimSoftwareVersionsDestroyRequest) (*http.Response, error) {
+func (a *DcimAPIService) DcimVirtualChassisDestroyExecute(r ApiDcimVirtualChassisDestroyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareVersionsDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualChassisDestroy")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/software-versions/{id}/"
+ localVarPath := localBasePath + "/dcim/virtual-chassis/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -136298,26 +136629,12 @@ func (a *DcimAPIService) DcimSoftwareVersionsDestroyExecute(r ApiDcimSoftwareVer
return localVarHTTPResponse, nil
}
-type ApiDcimSoftwareVersionsListRequest struct {
+type ApiDcimVirtualChassisListRequest struct {
ctx context.Context
ApiService *DcimAPIService
- alias *[]string
- aliasIc *[]string
- aliasIe *[]string
- aliasIew *[]string
- aliasIre *[]string
- aliasIsw *[]string
- aliasN *[]string
- aliasNic *[]string
- aliasNie *[]string
- aliasNiew *[]string
- aliasNire *[]string
- aliasNisw *[]string
- aliasNre *[]string
- aliasRe *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -136325,57 +136642,26 @@ type ApiDcimSoftwareVersionsListRequest struct {
createdLt *[]time.Time
createdLte *[]time.Time
createdN *[]time.Time
- deviceTypes *[]string
- deviceTypesIsnull *bool
- deviceTypesN *[]string
- devices *[]string
- devicesIsnull *bool
- devicesN *[]string
- documentationUrl *[]string
- documentationUrlIc *[]string
- documentationUrlIe *[]string
- documentationUrlIew *[]string
- documentationUrlIre *[]string
- documentationUrlIsw *[]string
- documentationUrlN *[]string
- documentationUrlNic *[]string
- documentationUrlNie *[]string
- documentationUrlNiew *[]string
- documentationUrlNire *[]string
- documentationUrlNisw *[]string
- documentationUrlNre *[]string
- documentationUrlRe *[]string
+ domain *[]string
+ domainIc *[]string
+ domainIe *[]string
+ domainIew *[]string
+ domainIre *[]string
+ domainIsw *[]string
+ domainN *[]string
+ domainNic *[]string
+ domainNie *[]string
+ domainNiew *[]string
+ domainNire *[]string
+ domainNisw *[]string
+ domainNre *[]string
+ domainRe *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
- endOfSupportDate *[]string
- endOfSupportDateGt *[]string
- endOfSupportDateGte *[]string
- endOfSupportDateIsnull *bool
- endOfSupportDateLt *[]string
- endOfSupportDateLte *[]string
- endOfSupportDateN *[]string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
- hasDevices *bool
- hasInventoryItems *bool
- hasSoftwareImageFiles *bool
- hasVirtualMachines *bool
+ hasMembers *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
- inventoryItems *[]string
- inventoryItemsIsnull *bool
- inventoryItemsN *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -136384,896 +136670,467 @@ type ApiDcimSoftwareVersionsListRequest struct {
lastUpdatedLte *[]time.Time
lastUpdatedN *[]time.Time
limit *int32
- longTermSupport *bool
+ location *[]string
+ locationN *[]string
+ master *[]string
+ masterIsnull *bool
+ masterN *[]string
+ members *[]string
+ membersIsnull *bool
+ membersN *[]string
+ name *[]string
+ nameIc *[]string
+ nameIe *[]string
+ nameIew *[]string
+ nameIre *[]string
+ nameIsw *[]string
+ nameN *[]string
+ nameNic *[]string
+ nameNie *[]string
+ nameNiew *[]string
+ nameNire *[]string
+ nameNisw *[]string
+ nameNre *[]string
+ nameRe *[]string
offset *int32
- platform *[]string
- platformN *[]string
- preRelease *bool
q *string
- releaseDate *[]string
- releaseDateGt *[]string
- releaseDateGte *[]string
- releaseDateIsnull *bool
- releaseDateLt *[]string
- releaseDateLte *[]string
- releaseDateN *[]string
- softwareImageFiles *[]string
- softwareImageFilesIsnull *bool
- softwareImageFilesN *[]string
sort *string
- status *[]string
- statusN *string
tags *[]string
tagsIsnull *bool
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
- version *[]string
- versionIc *[]string
- versionIe *[]string
- versionIew *[]string
- versionIre *[]string
- versionIsw *[]string
- versionN *[]string
- versionNic *[]string
- versionNie *[]string
- versionNiew *[]string
- versionNire *[]string
- versionNisw *[]string
- versionNre *[]string
- versionRe *[]string
- virtualMachines *[]string
- virtualMachinesIsnull *bool
- virtualMachinesN *[]string
+ teamsN *[]string
+ tenant *[]string
+ tenantIsnull *bool
+ tenantN *[]string
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimSoftwareVersionsListRequest) Alias(alias []string) ApiDcimSoftwareVersionsListRequest {
- r.alias = &alias
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) AliasIc(aliasIc []string) ApiDcimSoftwareVersionsListRequest {
- r.aliasIc = &aliasIc
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) AliasIe(aliasIe []string) ApiDcimSoftwareVersionsListRequest {
- r.aliasIe = &aliasIe
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) AliasIew(aliasIew []string) ApiDcimSoftwareVersionsListRequest {
- r.aliasIew = &aliasIew
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) AliasIre(aliasIre []string) ApiDcimSoftwareVersionsListRequest {
- r.aliasIre = &aliasIre
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) AliasIsw(aliasIsw []string) ApiDcimSoftwareVersionsListRequest {
- r.aliasIsw = &aliasIsw
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) AliasN(aliasN []string) ApiDcimSoftwareVersionsListRequest {
- r.aliasN = &aliasN
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) AliasNic(aliasNic []string) ApiDcimSoftwareVersionsListRequest {
- r.aliasNic = &aliasNic
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) AliasNie(aliasNie []string) ApiDcimSoftwareVersionsListRequest {
- r.aliasNie = &aliasNie
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) AliasNiew(aliasNiew []string) ApiDcimSoftwareVersionsListRequest {
- r.aliasNiew = &aliasNiew
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) AliasNire(aliasNire []string) ApiDcimSoftwareVersionsListRequest {
- r.aliasNire = &aliasNire
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) AliasNisw(aliasNisw []string) ApiDcimSoftwareVersionsListRequest {
- r.aliasNisw = &aliasNisw
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) AliasNre(aliasNre []string) ApiDcimSoftwareVersionsListRequest {
- r.aliasNre = &aliasNre
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) AliasRe(aliasRe []string) ApiDcimSoftwareVersionsListRequest {
- r.aliasRe = &aliasRe
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) Contacts(contacts []string) ApiDcimSoftwareVersionsListRequest {
+func (r ApiDcimVirtualChassisListRequest) Contacts(contacts []string) ApiDcimVirtualChassisListRequest {
r.contacts = &contacts
return r
}
// Contacts (name or ID) is null
-func (r ApiDcimSoftwareVersionsListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimSoftwareVersionsListRequest {
+func (r ApiDcimVirtualChassisListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimVirtualChassisListRequest {
r.contactsIsnull = &contactsIsnull
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimSoftwareVersionsListRequest) ContactsN(contactsN string) ApiDcimSoftwareVersionsListRequest {
+func (r ApiDcimVirtualChassisListRequest) ContactsN(contactsN []string) ApiDcimVirtualChassisListRequest {
r.contactsN = &contactsN
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) Created(created []time.Time) ApiDcimSoftwareVersionsListRequest {
+func (r ApiDcimVirtualChassisListRequest) Created(created []time.Time) ApiDcimVirtualChassisListRequest {
r.created = &created
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) CreatedGt(createdGt []time.Time) ApiDcimSoftwareVersionsListRequest {
+func (r ApiDcimVirtualChassisListRequest) CreatedGt(createdGt []time.Time) ApiDcimVirtualChassisListRequest {
r.createdGt = &createdGt
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) CreatedGte(createdGte []time.Time) ApiDcimSoftwareVersionsListRequest {
+func (r ApiDcimVirtualChassisListRequest) CreatedGte(createdGte []time.Time) ApiDcimVirtualChassisListRequest {
r.createdGte = &createdGte
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) CreatedIsnull(createdIsnull bool) ApiDcimSoftwareVersionsListRequest {
+func (r ApiDcimVirtualChassisListRequest) CreatedIsnull(createdIsnull bool) ApiDcimVirtualChassisListRequest {
r.createdIsnull = &createdIsnull
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) CreatedLt(createdLt []time.Time) ApiDcimSoftwareVersionsListRequest {
+func (r ApiDcimVirtualChassisListRequest) CreatedLt(createdLt []time.Time) ApiDcimVirtualChassisListRequest {
r.createdLt = &createdLt
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) CreatedLte(createdLte []time.Time) ApiDcimSoftwareVersionsListRequest {
+func (r ApiDcimVirtualChassisListRequest) CreatedLte(createdLte []time.Time) ApiDcimVirtualChassisListRequest {
r.createdLte = &createdLte
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) CreatedN(createdN []time.Time) ApiDcimSoftwareVersionsListRequest {
+func (r ApiDcimVirtualChassisListRequest) CreatedN(createdN []time.Time) ApiDcimVirtualChassisListRequest {
r.createdN = &createdN
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) DeviceTypes(deviceTypes []string) ApiDcimSoftwareVersionsListRequest {
- r.deviceTypes = &deviceTypes
- return r
-}
-
-// Device types (model or ID) is null
-func (r ApiDcimSoftwareVersionsListRequest) DeviceTypesIsnull(deviceTypesIsnull bool) ApiDcimSoftwareVersionsListRequest {
- r.deviceTypesIsnull = &deviceTypesIsnull
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) DeviceTypesN(deviceTypesN []string) ApiDcimSoftwareVersionsListRequest {
- r.deviceTypesN = &deviceTypesN
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) Devices(devices []string) ApiDcimSoftwareVersionsListRequest {
- r.devices = &devices
- return r
-}
-
-// Devices (name or ID) is null
-func (r ApiDcimSoftwareVersionsListRequest) DevicesIsnull(devicesIsnull bool) ApiDcimSoftwareVersionsListRequest {
- r.devicesIsnull = &devicesIsnull
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) DevicesN(devicesN []string) ApiDcimSoftwareVersionsListRequest {
- r.devicesN = &devicesN
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) DocumentationUrl(documentationUrl []string) ApiDcimSoftwareVersionsListRequest {
- r.documentationUrl = &documentationUrl
+func (r ApiDcimVirtualChassisListRequest) Domain(domain []string) ApiDcimVirtualChassisListRequest {
+ r.domain = &domain
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) DocumentationUrlIc(documentationUrlIc []string) ApiDcimSoftwareVersionsListRequest {
- r.documentationUrlIc = &documentationUrlIc
+func (r ApiDcimVirtualChassisListRequest) DomainIc(domainIc []string) ApiDcimVirtualChassisListRequest {
+ r.domainIc = &domainIc
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) DocumentationUrlIe(documentationUrlIe []string) ApiDcimSoftwareVersionsListRequest {
- r.documentationUrlIe = &documentationUrlIe
+func (r ApiDcimVirtualChassisListRequest) DomainIe(domainIe []string) ApiDcimVirtualChassisListRequest {
+ r.domainIe = &domainIe
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) DocumentationUrlIew(documentationUrlIew []string) ApiDcimSoftwareVersionsListRequest {
- r.documentationUrlIew = &documentationUrlIew
+func (r ApiDcimVirtualChassisListRequest) DomainIew(domainIew []string) ApiDcimVirtualChassisListRequest {
+ r.domainIew = &domainIew
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) DocumentationUrlIre(documentationUrlIre []string) ApiDcimSoftwareVersionsListRequest {
- r.documentationUrlIre = &documentationUrlIre
+func (r ApiDcimVirtualChassisListRequest) DomainIre(domainIre []string) ApiDcimVirtualChassisListRequest {
+ r.domainIre = &domainIre
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) DocumentationUrlIsw(documentationUrlIsw []string) ApiDcimSoftwareVersionsListRequest {
- r.documentationUrlIsw = &documentationUrlIsw
+func (r ApiDcimVirtualChassisListRequest) DomainIsw(domainIsw []string) ApiDcimVirtualChassisListRequest {
+ r.domainIsw = &domainIsw
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) DocumentationUrlN(documentationUrlN []string) ApiDcimSoftwareVersionsListRequest {
- r.documentationUrlN = &documentationUrlN
+func (r ApiDcimVirtualChassisListRequest) DomainN(domainN []string) ApiDcimVirtualChassisListRequest {
+ r.domainN = &domainN
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) DocumentationUrlNic(documentationUrlNic []string) ApiDcimSoftwareVersionsListRequest {
- r.documentationUrlNic = &documentationUrlNic
+func (r ApiDcimVirtualChassisListRequest) DomainNic(domainNic []string) ApiDcimVirtualChassisListRequest {
+ r.domainNic = &domainNic
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) DocumentationUrlNie(documentationUrlNie []string) ApiDcimSoftwareVersionsListRequest {
- r.documentationUrlNie = &documentationUrlNie
+func (r ApiDcimVirtualChassisListRequest) DomainNie(domainNie []string) ApiDcimVirtualChassisListRequest {
+ r.domainNie = &domainNie
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) DocumentationUrlNiew(documentationUrlNiew []string) ApiDcimSoftwareVersionsListRequest {
- r.documentationUrlNiew = &documentationUrlNiew
+func (r ApiDcimVirtualChassisListRequest) DomainNiew(domainNiew []string) ApiDcimVirtualChassisListRequest {
+ r.domainNiew = &domainNiew
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) DocumentationUrlNire(documentationUrlNire []string) ApiDcimSoftwareVersionsListRequest {
- r.documentationUrlNire = &documentationUrlNire
+func (r ApiDcimVirtualChassisListRequest) DomainNire(domainNire []string) ApiDcimVirtualChassisListRequest {
+ r.domainNire = &domainNire
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) DocumentationUrlNisw(documentationUrlNisw []string) ApiDcimSoftwareVersionsListRequest {
- r.documentationUrlNisw = &documentationUrlNisw
+func (r ApiDcimVirtualChassisListRequest) DomainNisw(domainNisw []string) ApiDcimVirtualChassisListRequest {
+ r.domainNisw = &domainNisw
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) DocumentationUrlNre(documentationUrlNre []string) ApiDcimSoftwareVersionsListRequest {
- r.documentationUrlNre = &documentationUrlNre
+func (r ApiDcimVirtualChassisListRequest) DomainNre(domainNre []string) ApiDcimVirtualChassisListRequest {
+ r.domainNre = &domainNre
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) DocumentationUrlRe(documentationUrlRe []string) ApiDcimSoftwareVersionsListRequest {
- r.documentationUrlRe = &documentationUrlRe
+func (r ApiDcimVirtualChassisListRequest) DomainRe(domainRe []string) ApiDcimVirtualChassisListRequest {
+ r.domainRe = &domainRe
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) DynamicGroups(dynamicGroups []string) ApiDcimSoftwareVersionsListRequest {
+func (r ApiDcimVirtualChassisListRequest) DynamicGroups(dynamicGroups []string) ApiDcimVirtualChassisListRequest {
r.dynamicGroups = &dynamicGroups
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimSoftwareVersionsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimSoftwareVersionsListRequest {
+func (r ApiDcimVirtualChassisListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimVirtualChassisListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) EndOfSupportDate(endOfSupportDate []string) ApiDcimSoftwareVersionsListRequest {
- r.endOfSupportDate = &endOfSupportDate
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) EndOfSupportDateGt(endOfSupportDateGt []string) ApiDcimSoftwareVersionsListRequest {
- r.endOfSupportDateGt = &endOfSupportDateGt
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) EndOfSupportDateGte(endOfSupportDateGte []string) ApiDcimSoftwareVersionsListRequest {
- r.endOfSupportDateGte = &endOfSupportDateGte
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) EndOfSupportDateIsnull(endOfSupportDateIsnull bool) ApiDcimSoftwareVersionsListRequest {
- r.endOfSupportDateIsnull = &endOfSupportDateIsnull
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) EndOfSupportDateLt(endOfSupportDateLt []string) ApiDcimSoftwareVersionsListRequest {
- r.endOfSupportDateLt = &endOfSupportDateLt
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) EndOfSupportDateLte(endOfSupportDateLte []string) ApiDcimSoftwareVersionsListRequest {
- r.endOfSupportDateLte = &endOfSupportDateLte
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) EndOfSupportDateN(endOfSupportDateN []string) ApiDcimSoftwareVersionsListRequest {
- r.endOfSupportDateN = &endOfSupportDateN
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareVersionsListRequest {
+func (r ApiDcimVirtualChassisListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualChassisListRequest {
r.format = &format
return r
}
-// Has devices
-func (r ApiDcimSoftwareVersionsListRequest) HasDevices(hasDevices bool) ApiDcimSoftwareVersionsListRequest {
- r.hasDevices = &hasDevices
- return r
-}
-
-// Has inventory items
-func (r ApiDcimSoftwareVersionsListRequest) HasInventoryItems(hasInventoryItems bool) ApiDcimSoftwareVersionsListRequest {
- r.hasInventoryItems = &hasInventoryItems
- return r
-}
-
-// Has software image files
-func (r ApiDcimSoftwareVersionsListRequest) HasSoftwareImageFiles(hasSoftwareImageFiles bool) ApiDcimSoftwareVersionsListRequest {
- r.hasSoftwareImageFiles = &hasSoftwareImageFiles
- return r
-}
-
-// Has virtual machines
-func (r ApiDcimSoftwareVersionsListRequest) HasVirtualMachines(hasVirtualMachines bool) ApiDcimSoftwareVersionsListRequest {
- r.hasVirtualMachines = &hasVirtualMachines
- return r
-}
-
-// Unique object identifier, either a UUID primary key or a composite key.
-func (r ApiDcimSoftwareVersionsListRequest) Id(id []string) ApiDcimSoftwareVersionsListRequest {
- r.id = &id
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) IdIc(idIc []string) ApiDcimSoftwareVersionsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) IdIe(idIe []string) ApiDcimSoftwareVersionsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) IdIew(idIew []string) ApiDcimSoftwareVersionsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) IdIre(idIre []string) ApiDcimSoftwareVersionsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) IdIsw(idIsw []string) ApiDcimSoftwareVersionsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) IdN(idN []string) ApiDcimSoftwareVersionsListRequest {
- r.idN = &idN
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) IdNic(idNic []string) ApiDcimSoftwareVersionsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) IdNie(idNie []string) ApiDcimSoftwareVersionsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) IdNiew(idNiew []string) ApiDcimSoftwareVersionsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) IdNire(idNire []string) ApiDcimSoftwareVersionsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) IdNisw(idNisw []string) ApiDcimSoftwareVersionsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) IdNre(idNre []string) ApiDcimSoftwareVersionsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) IdRe(idRe []string) ApiDcimSoftwareVersionsListRequest {
- r.idRe = &idRe
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) InventoryItems(inventoryItems []string) ApiDcimSoftwareVersionsListRequest {
- r.inventoryItems = &inventoryItems
- return r
-}
-
-// Inventory items (name or ID) is null
-func (r ApiDcimSoftwareVersionsListRequest) InventoryItemsIsnull(inventoryItemsIsnull bool) ApiDcimSoftwareVersionsListRequest {
- r.inventoryItemsIsnull = &inventoryItemsIsnull
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) InventoryItemsN(inventoryItemsN []string) ApiDcimSoftwareVersionsListRequest {
- r.inventoryItemsN = &inventoryItemsN
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimSoftwareVersionsListRequest {
- r.lastUpdated = &lastUpdated
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiDcimSoftwareVersionsListRequest {
- r.lastUpdatedGt = &lastUpdatedGt
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiDcimSoftwareVersionsListRequest {
- r.lastUpdatedGte = &lastUpdatedGte
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) LastUpdatedIsnull(lastUpdatedIsnull bool) ApiDcimSoftwareVersionsListRequest {
- r.lastUpdatedIsnull = &lastUpdatedIsnull
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiDcimSoftwareVersionsListRequest {
- r.lastUpdatedLt = &lastUpdatedLt
- return r
-}
-
-func (r ApiDcimSoftwareVersionsListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiDcimSoftwareVersionsListRequest {
- r.lastUpdatedLte = &lastUpdatedLte
+// Has device members
+func (r ApiDcimVirtualChassisListRequest) HasMembers(hasMembers bool) ApiDcimVirtualChassisListRequest {
+ r.hasMembers = &hasMembers
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiDcimSoftwareVersionsListRequest {
- r.lastUpdatedN = &lastUpdatedN
+// Unique object identifier, either a UUID primary key or a composite key.
+func (r ApiDcimVirtualChassisListRequest) Id(id []string) ApiDcimVirtualChassisListRequest {
+ r.id = &id
return r
}
-// Number of results to return per page.
-func (r ApiDcimSoftwareVersionsListRequest) Limit(limit int32) ApiDcimSoftwareVersionsListRequest {
- r.limit = &limit
+func (r ApiDcimVirtualChassisListRequest) IdN(idN []string) ApiDcimVirtualChassisListRequest {
+ r.idN = &idN
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) LongTermSupport(longTermSupport bool) ApiDcimSoftwareVersionsListRequest {
- r.longTermSupport = &longTermSupport
+func (r ApiDcimVirtualChassisListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimVirtualChassisListRequest {
+ r.lastUpdated = &lastUpdated
return r
}
-// The initial index from which to return the results.
-func (r ApiDcimSoftwareVersionsListRequest) Offset(offset int32) ApiDcimSoftwareVersionsListRequest {
- r.offset = &offset
+func (r ApiDcimVirtualChassisListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiDcimVirtualChassisListRequest {
+ r.lastUpdatedGt = &lastUpdatedGt
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) Platform(platform []string) ApiDcimSoftwareVersionsListRequest {
- r.platform = &platform
+func (r ApiDcimVirtualChassisListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiDcimVirtualChassisListRequest {
+ r.lastUpdatedGte = &lastUpdatedGte
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) PlatformN(platformN []string) ApiDcimSoftwareVersionsListRequest {
- r.platformN = &platformN
+func (r ApiDcimVirtualChassisListRequest) LastUpdatedIsnull(lastUpdatedIsnull bool) ApiDcimVirtualChassisListRequest {
+ r.lastUpdatedIsnull = &lastUpdatedIsnull
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) PreRelease(preRelease bool) ApiDcimSoftwareVersionsListRequest {
- r.preRelease = &preRelease
+func (r ApiDcimVirtualChassisListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiDcimVirtualChassisListRequest {
+ r.lastUpdatedLt = &lastUpdatedLt
return r
}
-// Search
-func (r ApiDcimSoftwareVersionsListRequest) Q(q string) ApiDcimSoftwareVersionsListRequest {
- r.q = &q
+func (r ApiDcimVirtualChassisListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiDcimVirtualChassisListRequest {
+ r.lastUpdatedLte = &lastUpdatedLte
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) ReleaseDate(releaseDate []string) ApiDcimSoftwareVersionsListRequest {
- r.releaseDate = &releaseDate
+func (r ApiDcimVirtualChassisListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiDcimVirtualChassisListRequest {
+ r.lastUpdatedN = &lastUpdatedN
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) ReleaseDateGt(releaseDateGt []string) ApiDcimSoftwareVersionsListRequest {
- r.releaseDateGt = &releaseDateGt
+// Number of results to return per page.
+func (r ApiDcimVirtualChassisListRequest) Limit(limit int32) ApiDcimVirtualChassisListRequest {
+ r.limit = &limit
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) ReleaseDateGte(releaseDateGte []string) ApiDcimSoftwareVersionsListRequest {
- r.releaseDateGte = &releaseDateGte
+func (r ApiDcimVirtualChassisListRequest) Location(location []string) ApiDcimVirtualChassisListRequest {
+ r.location = &location
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) ReleaseDateIsnull(releaseDateIsnull bool) ApiDcimSoftwareVersionsListRequest {
- r.releaseDateIsnull = &releaseDateIsnull
+func (r ApiDcimVirtualChassisListRequest) LocationN(locationN []string) ApiDcimVirtualChassisListRequest {
+ r.locationN = &locationN
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) ReleaseDateLt(releaseDateLt []string) ApiDcimSoftwareVersionsListRequest {
- r.releaseDateLt = &releaseDateLt
+func (r ApiDcimVirtualChassisListRequest) Master(master []string) ApiDcimVirtualChassisListRequest {
+ r.master = &master
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) ReleaseDateLte(releaseDateLte []string) ApiDcimSoftwareVersionsListRequest {
- r.releaseDateLte = &releaseDateLte
+// Master (name or ID) is null
+func (r ApiDcimVirtualChassisListRequest) MasterIsnull(masterIsnull bool) ApiDcimVirtualChassisListRequest {
+ r.masterIsnull = &masterIsnull
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) ReleaseDateN(releaseDateN []string) ApiDcimSoftwareVersionsListRequest {
- r.releaseDateN = &releaseDateN
+func (r ApiDcimVirtualChassisListRequest) MasterN(masterN []string) ApiDcimVirtualChassisListRequest {
+ r.masterN = &masterN
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) SoftwareImageFiles(softwareImageFiles []string) ApiDcimSoftwareVersionsListRequest {
- r.softwareImageFiles = &softwareImageFiles
+func (r ApiDcimVirtualChassisListRequest) Members(members []string) ApiDcimVirtualChassisListRequest {
+ r.members = &members
return r
}
-// Software image files (image file name or ID) is null
-func (r ApiDcimSoftwareVersionsListRequest) SoftwareImageFilesIsnull(softwareImageFilesIsnull bool) ApiDcimSoftwareVersionsListRequest {
- r.softwareImageFilesIsnull = &softwareImageFilesIsnull
+// Device members (name or ID) is null
+func (r ApiDcimVirtualChassisListRequest) MembersIsnull(membersIsnull bool) ApiDcimVirtualChassisListRequest {
+ r.membersIsnull = &membersIsnull
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) SoftwareImageFilesN(softwareImageFilesN []string) ApiDcimSoftwareVersionsListRequest {
- r.softwareImageFilesN = &softwareImageFilesN
+func (r ApiDcimVirtualChassisListRequest) MembersN(membersN []string) ApiDcimVirtualChassisListRequest {
+ r.membersN = &membersN
return r
}
-// Which field to use when ordering the results.
-func (r ApiDcimSoftwareVersionsListRequest) Sort(sort string) ApiDcimSoftwareVersionsListRequest {
- r.sort = &sort
+func (r ApiDcimVirtualChassisListRequest) Name(name []string) ApiDcimVirtualChassisListRequest {
+ r.name = &name
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) Status(status []string) ApiDcimSoftwareVersionsListRequest {
- r.status = &status
+func (r ApiDcimVirtualChassisListRequest) NameIc(nameIc []string) ApiDcimVirtualChassisListRequest {
+ r.nameIc = &nameIc
return r
}
-// Exclude Status (name or ID)
-func (r ApiDcimSoftwareVersionsListRequest) StatusN(statusN string) ApiDcimSoftwareVersionsListRequest {
- r.statusN = &statusN
+func (r ApiDcimVirtualChassisListRequest) NameIe(nameIe []string) ApiDcimVirtualChassisListRequest {
+ r.nameIe = &nameIe
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) Tags(tags []string) ApiDcimSoftwareVersionsListRequest {
- r.tags = &tags
+func (r ApiDcimVirtualChassisListRequest) NameIew(nameIew []string) ApiDcimVirtualChassisListRequest {
+ r.nameIew = &nameIew
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) TagsIsnull(tagsIsnull bool) ApiDcimSoftwareVersionsListRequest {
- r.tagsIsnull = &tagsIsnull
+func (r ApiDcimVirtualChassisListRequest) NameIre(nameIre []string) ApiDcimVirtualChassisListRequest {
+ r.nameIre = &nameIre
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) TagsN(tagsN []string) ApiDcimSoftwareVersionsListRequest {
- r.tagsN = &tagsN
+func (r ApiDcimVirtualChassisListRequest) NameIsw(nameIsw []string) ApiDcimVirtualChassisListRequest {
+ r.nameIsw = &nameIsw
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) Teams(teams []string) ApiDcimSoftwareVersionsListRequest {
- r.teams = &teams
+func (r ApiDcimVirtualChassisListRequest) NameN(nameN []string) ApiDcimVirtualChassisListRequest {
+ r.nameN = &nameN
return r
}
-// Teams (name or ID) is null
-func (r ApiDcimSoftwareVersionsListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimSoftwareVersionsListRequest {
- r.teamsIsnull = &teamsIsnull
+func (r ApiDcimVirtualChassisListRequest) NameNic(nameNic []string) ApiDcimVirtualChassisListRequest {
+ r.nameNic = &nameNic
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimSoftwareVersionsListRequest) TeamsN(teamsN string) ApiDcimSoftwareVersionsListRequest {
- r.teamsN = &teamsN
+func (r ApiDcimVirtualChassisListRequest) NameNie(nameNie []string) ApiDcimVirtualChassisListRequest {
+ r.nameNie = &nameNie
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) Version(version []string) ApiDcimSoftwareVersionsListRequest {
- r.version = &version
+func (r ApiDcimVirtualChassisListRequest) NameNiew(nameNiew []string) ApiDcimVirtualChassisListRequest {
+ r.nameNiew = &nameNiew
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) VersionIc(versionIc []string) ApiDcimSoftwareVersionsListRequest {
- r.versionIc = &versionIc
+func (r ApiDcimVirtualChassisListRequest) NameNire(nameNire []string) ApiDcimVirtualChassisListRequest {
+ r.nameNire = &nameNire
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) VersionIe(versionIe []string) ApiDcimSoftwareVersionsListRequest {
- r.versionIe = &versionIe
+func (r ApiDcimVirtualChassisListRequest) NameNisw(nameNisw []string) ApiDcimVirtualChassisListRequest {
+ r.nameNisw = &nameNisw
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) VersionIew(versionIew []string) ApiDcimSoftwareVersionsListRequest {
- r.versionIew = &versionIew
+func (r ApiDcimVirtualChassisListRequest) NameNre(nameNre []string) ApiDcimVirtualChassisListRequest {
+ r.nameNre = &nameNre
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) VersionIre(versionIre []string) ApiDcimSoftwareVersionsListRequest {
- r.versionIre = &versionIre
+func (r ApiDcimVirtualChassisListRequest) NameRe(nameRe []string) ApiDcimVirtualChassisListRequest {
+ r.nameRe = &nameRe
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) VersionIsw(versionIsw []string) ApiDcimSoftwareVersionsListRequest {
- r.versionIsw = &versionIsw
+// The initial index from which to return the results.
+func (r ApiDcimVirtualChassisListRequest) Offset(offset int32) ApiDcimVirtualChassisListRequest {
+ r.offset = &offset
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) VersionN(versionN []string) ApiDcimSoftwareVersionsListRequest {
- r.versionN = &versionN
+// Search
+func (r ApiDcimVirtualChassisListRequest) Q(q string) ApiDcimVirtualChassisListRequest {
+ r.q = &q
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) VersionNic(versionNic []string) ApiDcimSoftwareVersionsListRequest {
- r.versionNic = &versionNic
+// Which field to use when ordering the results.
+func (r ApiDcimVirtualChassisListRequest) Sort(sort string) ApiDcimVirtualChassisListRequest {
+ r.sort = &sort
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) VersionNie(versionNie []string) ApiDcimSoftwareVersionsListRequest {
- r.versionNie = &versionNie
+func (r ApiDcimVirtualChassisListRequest) Tags(tags []string) ApiDcimVirtualChassisListRequest {
+ r.tags = &tags
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) VersionNiew(versionNiew []string) ApiDcimSoftwareVersionsListRequest {
- r.versionNiew = &versionNiew
+func (r ApiDcimVirtualChassisListRequest) TagsIsnull(tagsIsnull bool) ApiDcimVirtualChassisListRequest {
+ r.tagsIsnull = &tagsIsnull
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) VersionNire(versionNire []string) ApiDcimSoftwareVersionsListRequest {
- r.versionNire = &versionNire
+func (r ApiDcimVirtualChassisListRequest) TagsN(tagsN []string) ApiDcimVirtualChassisListRequest {
+ r.tagsN = &tagsN
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) VersionNisw(versionNisw []string) ApiDcimSoftwareVersionsListRequest {
- r.versionNisw = &versionNisw
+func (r ApiDcimVirtualChassisListRequest) Teams(teams []string) ApiDcimVirtualChassisListRequest {
+ r.teams = &teams
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) VersionNre(versionNre []string) ApiDcimSoftwareVersionsListRequest {
- r.versionNre = &versionNre
+// Teams (name or ID) is null
+func (r ApiDcimVirtualChassisListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimVirtualChassisListRequest {
+ r.teamsIsnull = &teamsIsnull
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) VersionRe(versionRe []string) ApiDcimSoftwareVersionsListRequest {
- r.versionRe = &versionRe
+func (r ApiDcimVirtualChassisListRequest) TeamsN(teamsN []string) ApiDcimVirtualChassisListRequest {
+ r.teamsN = &teamsN
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) VirtualMachines(virtualMachines []string) ApiDcimSoftwareVersionsListRequest {
- r.virtualMachines = &virtualMachines
+func (r ApiDcimVirtualChassisListRequest) Tenant(tenant []string) ApiDcimVirtualChassisListRequest {
+ r.tenant = &tenant
return r
}
-// Virtual machines (name or ID) is null
-func (r ApiDcimSoftwareVersionsListRequest) VirtualMachinesIsnull(virtualMachinesIsnull bool) ApiDcimSoftwareVersionsListRequest {
- r.virtualMachinesIsnull = &virtualMachinesIsnull
+// Tenant (name or ID) is null
+func (r ApiDcimVirtualChassisListRequest) TenantIsnull(tenantIsnull bool) ApiDcimVirtualChassisListRequest {
+ r.tenantIsnull = &tenantIsnull
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) VirtualMachinesN(virtualMachinesN []string) ApiDcimSoftwareVersionsListRequest {
- r.virtualMachinesN = &virtualMachinesN
+func (r ApiDcimVirtualChassisListRequest) TenantN(tenantN []string) ApiDcimVirtualChassisListRequest {
+ r.tenantN = &tenantN
return r
}
// Serializer Depth
-func (r ApiDcimSoftwareVersionsListRequest) Depth(depth int32) ApiDcimSoftwareVersionsListRequest {
+func (r ApiDcimVirtualChassisListRequest) Depth(depth int32) ApiDcimVirtualChassisListRequest {
r.depth = &depth
return r
}
-func (r ApiDcimSoftwareVersionsListRequest) Execute() (*PaginatedSoftwareVersionList, *http.Response, error) {
- return r.ApiService.DcimSoftwareVersionsListExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimVirtualChassisListRequest) ExcludeM2m(excludeM2m bool) ApiDcimVirtualChassisListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimVirtualChassisListRequest) Execute() (*PaginatedVirtualChassisList, *http.Response, error) {
+ return r.ApiService.DcimVirtualChassisListExecute(r)
}
/*
-DcimSoftwareVersionsList Method for DcimSoftwareVersionsList
+DcimVirtualChassisList Method for DcimVirtualChassisList
-Retrieve a list of software version objects.
+Retrieve a list of virtual chassis objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimSoftwareVersionsListRequest
+ @return ApiDcimVirtualChassisListRequest
*/
-func (a *DcimAPIService) DcimSoftwareVersionsList(ctx context.Context) ApiDcimSoftwareVersionsListRequest {
- return ApiDcimSoftwareVersionsListRequest{
+func (a *DcimAPIService) DcimVirtualChassisList(ctx context.Context) ApiDcimVirtualChassisListRequest {
+ return ApiDcimVirtualChassisListRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return PaginatedSoftwareVersionList
-func (a *DcimAPIService) DcimSoftwareVersionsListExecute(r ApiDcimSoftwareVersionsListRequest) (*PaginatedSoftwareVersionList, *http.Response, error) {
+// @return PaginatedVirtualChassisList
+func (a *DcimAPIService) DcimVirtualChassisListExecute(r ApiDcimVirtualChassisListRequest) (*PaginatedVirtualChassisList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PaginatedSoftwareVersionList
+ localVarReturnValue *PaginatedVirtualChassisList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareVersionsList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualChassisList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/software-versions/"
+ localVarPath := localBasePath + "/dcim/virtual-chassis/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.alias != nil {
- t := *r.alias
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "alias", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "alias", t, "form", "multi")
- }
- }
- if r.aliasIc != nil {
- t := *r.aliasIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "alias__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "alias__ic", t, "form", "multi")
- }
- }
- if r.aliasIe != nil {
- t := *r.aliasIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "alias__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "alias__ie", t, "form", "multi")
- }
- }
- if r.aliasIew != nil {
- t := *r.aliasIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "alias__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "alias__iew", t, "form", "multi")
- }
- }
- if r.aliasIre != nil {
- t := *r.aliasIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "alias__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "alias__ire", t, "form", "multi")
- }
- }
- if r.aliasIsw != nil {
- t := *r.aliasIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "alias__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "alias__isw", t, "form", "multi")
- }
- }
- if r.aliasN != nil {
- t := *r.aliasN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "alias__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "alias__n", t, "form", "multi")
- }
- }
- if r.aliasNic != nil {
- t := *r.aliasNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "alias__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "alias__nic", t, "form", "multi")
- }
- }
- if r.aliasNie != nil {
- t := *r.aliasNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "alias__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "alias__nie", t, "form", "multi")
- }
- }
- if r.aliasNiew != nil {
- t := *r.aliasNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "alias__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "alias__niew", t, "form", "multi")
- }
- }
- if r.aliasNire != nil {
- t := *r.aliasNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "alias__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "alias__nire", t, "form", "multi")
- }
- }
- if r.aliasNisw != nil {
- t := *r.aliasNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "alias__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "alias__nisw", t, "form", "multi")
- }
- }
- if r.aliasNre != nil {
- t := *r.aliasNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "alias__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "alias__nre", t, "form", "multi")
- }
- }
- if r.aliasRe != nil {
- t := *r.aliasRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "alias__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "alias__re", t, "form", "multi")
- }
- }
if r.contacts != nil {
t := *r.contacts
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -137289,7 +137146,15 @@ func (a *DcimAPIService) DcimSoftwareVersionsListExecute(r ApiDcimSoftwareVersio
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -137360,208 +137225,158 @@ func (a *DcimAPIService) DcimSoftwareVersionsListExecute(r ApiDcimSoftwareVersio
parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "form", "multi")
}
}
- if r.deviceTypes != nil {
- t := *r.deviceTypes
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device_types", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device_types", t, "form", "multi")
- }
- }
- if r.deviceTypesIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device_types__isnull", r.deviceTypesIsnull, "form", "")
- }
- if r.deviceTypesN != nil {
- t := *r.deviceTypesN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device_types__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device_types__n", t, "form", "multi")
- }
- }
- if r.devices != nil {
- t := *r.devices
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "devices", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "devices", t, "form", "multi")
- }
- }
- if r.devicesIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "devices__isnull", r.devicesIsnull, "form", "")
- }
- if r.devicesN != nil {
- t := *r.devicesN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "devices__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "devices__n", t, "form", "multi")
- }
- }
- if r.documentationUrl != nil {
- t := *r.documentationUrl
+ if r.domain != nil {
+ t := *r.domain
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "domain", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "domain", t, "form", "multi")
}
}
- if r.documentationUrlIc != nil {
- t := *r.documentationUrlIc
+ if r.domainIc != nil {
+ t := *r.domainIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "domain__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "domain__ic", t, "form", "multi")
}
}
- if r.documentationUrlIe != nil {
- t := *r.documentationUrlIe
+ if r.domainIe != nil {
+ t := *r.domainIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "domain__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "domain__ie", t, "form", "multi")
}
}
- if r.documentationUrlIew != nil {
- t := *r.documentationUrlIew
+ if r.domainIew != nil {
+ t := *r.domainIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "domain__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "domain__iew", t, "form", "multi")
}
}
- if r.documentationUrlIre != nil {
- t := *r.documentationUrlIre
+ if r.domainIre != nil {
+ t := *r.domainIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "domain__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "domain__ire", t, "form", "multi")
}
}
- if r.documentationUrlIsw != nil {
- t := *r.documentationUrlIsw
+ if r.domainIsw != nil {
+ t := *r.domainIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "domain__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "domain__isw", t, "form", "multi")
}
}
- if r.documentationUrlN != nil {
- t := *r.documentationUrlN
+ if r.domainN != nil {
+ t := *r.domainN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "domain__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "domain__n", t, "form", "multi")
}
}
- if r.documentationUrlNic != nil {
- t := *r.documentationUrlNic
+ if r.domainNic != nil {
+ t := *r.domainNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "domain__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "domain__nic", t, "form", "multi")
}
}
- if r.documentationUrlNie != nil {
- t := *r.documentationUrlNie
+ if r.domainNie != nil {
+ t := *r.domainNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "domain__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "domain__nie", t, "form", "multi")
}
}
- if r.documentationUrlNiew != nil {
- t := *r.documentationUrlNiew
+ if r.domainNiew != nil {
+ t := *r.domainNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "domain__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "domain__niew", t, "form", "multi")
}
}
- if r.documentationUrlNire != nil {
- t := *r.documentationUrlNire
+ if r.domainNire != nil {
+ t := *r.domainNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "domain__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "domain__nire", t, "form", "multi")
}
}
- if r.documentationUrlNisw != nil {
- t := *r.documentationUrlNisw
+ if r.domainNisw != nil {
+ t := *r.domainNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "domain__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "domain__nisw", t, "form", "multi")
}
}
- if r.documentationUrlNre != nil {
- t := *r.documentationUrlNre
+ if r.domainNre != nil {
+ t := *r.domainNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "domain__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "domain__nre", t, "form", "multi")
}
}
- if r.documentationUrlRe != nil {
- t := *r.documentationUrlRe
+ if r.domainRe != nil {
+ t := *r.domainRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "domain__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "documentation_url__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "domain__re", t, "form", "multi")
}
}
if r.dynamicGroups != nil {
@@ -137576,91 +137391,21 @@ func (a *DcimAPIService) DcimSoftwareVersionsListExecute(r ApiDcimSoftwareVersio
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.endOfSupportDate != nil {
- t := *r.endOfSupportDate
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "end_of_support_date", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "end_of_support_date", t, "form", "multi")
- }
- }
- if r.endOfSupportDateGt != nil {
- t := *r.endOfSupportDateGt
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "end_of_support_date__gt", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "end_of_support_date__gt", t, "form", "multi")
- }
- }
- if r.endOfSupportDateGte != nil {
- t := *r.endOfSupportDateGte
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "end_of_support_date__gte", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "end_of_support_date__gte", t, "form", "multi")
- }
- }
- if r.endOfSupportDateIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "end_of_support_date__isnull", r.endOfSupportDateIsnull, "form", "")
- }
- if r.endOfSupportDateLt != nil {
- t := *r.endOfSupportDateLt
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "end_of_support_date__lt", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "end_of_support_date__lt", t, "form", "multi")
- }
- }
- if r.endOfSupportDateLte != nil {
- t := *r.endOfSupportDateLte
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "end_of_support_date__lte", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "end_of_support_date__lte", t, "form", "multi")
- }
- }
- if r.endOfSupportDateN != nil {
- t := *r.endOfSupportDateN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "end_of_support_date__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "end_of_support_date__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.hasDevices != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_devices", r.hasDevices, "form", "")
- }
- if r.hasInventoryItems != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_inventory_items", r.hasInventoryItems, "form", "")
- }
- if r.hasSoftwareImageFiles != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_software_image_files", r.hasSoftwareImageFiles, "form", "")
- }
- if r.hasVirtualMachines != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_virtual_machines", r.hasVirtualMachines, "form", "")
+ if r.hasMembers != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_members", r.hasMembers, "form", "")
}
if r.id != nil {
t := *r.id
@@ -137673,61 +137418,6 @@ func (a *DcimAPIService) DcimSoftwareVersionsListExecute(r ApiDcimSoftwareVersio
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -137739,108 +137429,6 @@ func (a *DcimAPIService) DcimSoftwareVersionsListExecute(r ApiDcimSoftwareVersio
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
- if r.inventoryItems != nil {
- t := *r.inventoryItems
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "inventory_items", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "inventory_items", t, "form", "multi")
- }
- }
- if r.inventoryItemsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "inventory_items__isnull", r.inventoryItemsIsnull, "form", "")
- }
- if r.inventoryItemsN != nil {
- t := *r.inventoryItemsN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "inventory_items__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "inventory_items__n", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -137913,377 +137501,329 @@ func (a *DcimAPIService) DcimSoftwareVersionsListExecute(r ApiDcimSoftwareVersio
if r.limit != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
- if r.longTermSupport != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "long_term_support", r.longTermSupport, "form", "")
- }
- if r.offset != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
- }
- if r.platform != nil {
- t := *r.platform
+ if r.location != nil {
+ t := *r.location
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "platform", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "platform", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location", t, "form", "multi")
}
}
- if r.platformN != nil {
- t := *r.platformN
+ if r.locationN != nil {
+ t := *r.locationN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "platform__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "platform__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", t, "form", "multi")
}
}
- if r.preRelease != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "pre_release", r.preRelease, "form", "")
- }
- if r.q != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
- }
- if r.releaseDate != nil {
- t := *r.releaseDate
+ if r.master != nil {
+ t := *r.master
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "release_date", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "master", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "release_date", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "master", t, "form", "multi")
}
}
- if r.releaseDateGt != nil {
- t := *r.releaseDateGt
+ if r.masterIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "master__isnull", r.masterIsnull, "form", "")
+ }
+ if r.masterN != nil {
+ t := *r.masterN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "release_date__gt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "master__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "release_date__gt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "master__n", t, "form", "multi")
}
}
- if r.releaseDateGte != nil {
- t := *r.releaseDateGte
+ if r.members != nil {
+ t := *r.members
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "release_date__gte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "members", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "release_date__gte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "members", t, "form", "multi")
}
}
- if r.releaseDateIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "release_date__isnull", r.releaseDateIsnull, "form", "")
+ if r.membersIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "members__isnull", r.membersIsnull, "form", "")
}
- if r.releaseDateLt != nil {
- t := *r.releaseDateLt
+ if r.membersN != nil {
+ t := *r.membersN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "release_date__lt", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "members__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "release_date__lt", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "members__n", t, "form", "multi")
}
}
- if r.releaseDateLte != nil {
- t := *r.releaseDateLte
+ if r.name != nil {
+ t := *r.name
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "release_date__lte", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "release_date__lte", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name", t, "form", "multi")
}
}
- if r.releaseDateN != nil {
- t := *r.releaseDateN
+ if r.nameIc != nil {
+ t := *r.nameIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "release_date__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "release_date__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", t, "form", "multi")
}
}
- if r.softwareImageFiles != nil {
- t := *r.softwareImageFiles
+ if r.nameIe != nil {
+ t := *r.nameIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "software_image_files", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "software_image_files", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", t, "form", "multi")
}
}
- if r.softwareImageFilesIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "software_image_files__isnull", r.softwareImageFilesIsnull, "form", "")
- }
- if r.softwareImageFilesN != nil {
- t := *r.softwareImageFilesN
+ if r.nameIew != nil {
+ t := *r.nameIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "software_image_files__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "software_image_files__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", t, "form", "multi")
}
}
- if r.sort != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
- }
- if r.status != nil {
- t := *r.status
+ if r.nameIre != nil {
+ t := *r.nameIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "status", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "status", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", t, "form", "multi")
}
}
- if r.statusN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", r.statusN, "form", "")
- }
- if r.tags != nil {
- t := *r.tags
+ if r.nameIsw != nil {
+ t := *r.nameIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", t, "form", "multi")
}
}
- if r.tagsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags__isnull", r.tagsIsnull, "form", "")
- }
- if r.tagsN != nil {
- t := *r.tagsN
+ if r.nameN != nil {
+ t := *r.nameN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", t, "form", "multi")
}
}
- if r.teams != nil {
- t := *r.teams
+ if r.nameNic != nil {
+ t := *r.nameNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", t, "form", "multi")
}
}
- if r.teamsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
- }
- if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
- }
- if r.version != nil {
- t := *r.version
+ if r.nameNie != nil {
+ t := *r.nameNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "version", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "version", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", t, "form", "multi")
}
}
- if r.versionIc != nil {
- t := *r.versionIc
+ if r.nameNiew != nil {
+ t := *r.nameNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "version__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "version__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", t, "form", "multi")
}
}
- if r.versionIe != nil {
- t := *r.versionIe
+ if r.nameNire != nil {
+ t := *r.nameNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "version__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "version__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", t, "form", "multi")
}
}
- if r.versionIew != nil {
- t := *r.versionIew
+ if r.nameNisw != nil {
+ t := *r.nameNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "version__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "version__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", t, "form", "multi")
}
}
- if r.versionIre != nil {
- t := *r.versionIre
+ if r.nameNre != nil {
+ t := *r.nameNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "version__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "version__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", t, "form", "multi")
}
}
- if r.versionIsw != nil {
- t := *r.versionIsw
+ if r.nameRe != nil {
+ t := *r.nameRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "version__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "version__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", t, "form", "multi")
}
}
- if r.versionN != nil {
- t := *r.versionN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "version__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "version__n", t, "form", "multi")
- }
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
}
- if r.versionNic != nil {
- t := *r.versionNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "version__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "version__nic", t, "form", "multi")
- }
+ if r.q != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
}
- if r.versionNie != nil {
- t := *r.versionNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "version__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "version__nie", t, "form", "multi")
- }
+ if r.sort != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
}
- if r.versionNiew != nil {
- t := *r.versionNiew
+ if r.tags != nil {
+ t := *r.tags
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "version__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "version__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags", t, "form", "multi")
}
}
- if r.versionNire != nil {
- t := *r.versionNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "version__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "version__nire", t, "form", "multi")
- }
+ if r.tagsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__isnull", r.tagsIsnull, "form", "")
}
- if r.versionNisw != nil {
- t := *r.versionNisw
+ if r.tagsN != nil {
+ t := *r.tagsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "version__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "version__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", t, "form", "multi")
}
}
- if r.versionNre != nil {
- t := *r.versionNre
+ if r.teams != nil {
+ t := *r.teams
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "version__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "version__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams", t, "form", "multi")
}
}
- if r.versionRe != nil {
- t := *r.versionRe
+ if r.teamsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
+ }
+ if r.teamsN != nil {
+ t := *r.teamsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "version__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "version__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
}
}
- if r.virtualMachines != nil {
- t := *r.virtualMachines
+ if r.tenant != nil {
+ t := *r.tenant
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machines", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machines", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant", t, "form", "multi")
}
}
- if r.virtualMachinesIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machines__isnull", r.virtualMachinesIsnull, "form", "")
+ if r.tenantIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__isnull", r.tenantIsnull, "form", "")
}
- if r.virtualMachinesN != nil {
- t := *r.virtualMachinesN
+ if r.tenantN != nil {
+ t := *r.tenantN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machines__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machines__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__n", t, "form", "multi")
}
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -138353,7 +137893,7 @@ func (a *DcimAPIService) DcimSoftwareVersionsListExecute(r ApiDcimSoftwareVersio
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimSoftwareVersionsNotesCreateRequest struct {
+type ApiDcimVirtualChassisNotesCreateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
@@ -138361,31 +137901,31 @@ type ApiDcimSoftwareVersionsNotesCreateRequest struct {
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimSoftwareVersionsNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimSoftwareVersionsNotesCreateRequest {
+func (r ApiDcimVirtualChassisNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimVirtualChassisNotesCreateRequest {
r.noteInputRequest = ¬eInputRequest
return r
}
-func (r ApiDcimSoftwareVersionsNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareVersionsNotesCreateRequest {
+func (r ApiDcimVirtualChassisNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualChassisNotesCreateRequest {
r.format = &format
return r
}
-func (r ApiDcimSoftwareVersionsNotesCreateRequest) Execute() (*Note, *http.Response, error) {
- return r.ApiService.DcimSoftwareVersionsNotesCreateExecute(r)
+func (r ApiDcimVirtualChassisNotesCreateRequest) Execute() (*Note, *http.Response, error) {
+ return r.ApiService.DcimVirtualChassisNotesCreateExecute(r)
}
/*
-DcimSoftwareVersionsNotesCreate Method for DcimSoftwareVersionsNotesCreate
+DcimVirtualChassisNotesCreate Method for DcimVirtualChassisNotesCreate
API methods for returning or creating notes on an object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this software version.
- @return ApiDcimSoftwareVersionsNotesCreateRequest
+ @param id A UUID string identifying this virtual chassis.
+ @return ApiDcimVirtualChassisNotesCreateRequest
*/
-func (a *DcimAPIService) DcimSoftwareVersionsNotesCreate(ctx context.Context, id string) ApiDcimSoftwareVersionsNotesCreateRequest {
- return ApiDcimSoftwareVersionsNotesCreateRequest{
+func (a *DcimAPIService) DcimVirtualChassisNotesCreate(ctx context.Context, id string) ApiDcimVirtualChassisNotesCreateRequest {
+ return ApiDcimVirtualChassisNotesCreateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -138394,7 +137934,7 @@ func (a *DcimAPIService) DcimSoftwareVersionsNotesCreate(ctx context.Context, id
// Execute executes the request
// @return Note
-func (a *DcimAPIService) DcimSoftwareVersionsNotesCreateExecute(r ApiDcimSoftwareVersionsNotesCreateRequest) (*Note, *http.Response, error) {
+func (a *DcimAPIService) DcimVirtualChassisNotesCreateExecute(r ApiDcimVirtualChassisNotesCreateRequest) (*Note, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -138402,12 +137942,12 @@ func (a *DcimAPIService) DcimSoftwareVersionsNotesCreateExecute(r ApiDcimSoftwar
localVarReturnValue *Note
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareVersionsNotesCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualChassisNotesCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/software-versions/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/virtual-chassis/{id}/notes/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -138490,7 +138030,7 @@ func (a *DcimAPIService) DcimSoftwareVersionsNotesCreateExecute(r ApiDcimSoftwar
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimSoftwareVersionsNotesListRequest struct {
+type ApiDcimVirtualChassisNotesListRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
@@ -138498,46 +138038,53 @@ type ApiDcimSoftwareVersionsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimSoftwareVersionsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareVersionsNotesListRequest {
+func (r ApiDcimVirtualChassisNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualChassisNotesListRequest {
r.format = &format
return r
}
// Number of results to return per page.
-func (r ApiDcimSoftwareVersionsNotesListRequest) Limit(limit int32) ApiDcimSoftwareVersionsNotesListRequest {
+func (r ApiDcimVirtualChassisNotesListRequest) Limit(limit int32) ApiDcimVirtualChassisNotesListRequest {
r.limit = &limit
return r
}
// The initial index from which to return the results.
-func (r ApiDcimSoftwareVersionsNotesListRequest) Offset(offset int32) ApiDcimSoftwareVersionsNotesListRequest {
+func (r ApiDcimVirtualChassisNotesListRequest) Offset(offset int32) ApiDcimVirtualChassisNotesListRequest {
r.offset = &offset
return r
}
// Serializer Depth
-func (r ApiDcimSoftwareVersionsNotesListRequest) Depth(depth int32) ApiDcimSoftwareVersionsNotesListRequest {
+func (r ApiDcimVirtualChassisNotesListRequest) Depth(depth int32) ApiDcimVirtualChassisNotesListRequest {
r.depth = &depth
return r
}
-func (r ApiDcimSoftwareVersionsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
- return r.ApiService.DcimSoftwareVersionsNotesListExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimVirtualChassisNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimVirtualChassisNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimVirtualChassisNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
+ return r.ApiService.DcimVirtualChassisNotesListExecute(r)
}
/*
-DcimSoftwareVersionsNotesList Method for DcimSoftwareVersionsNotesList
+DcimVirtualChassisNotesList Method for DcimVirtualChassisNotesList
API methods for returning or creating notes on an object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this software version.
- @return ApiDcimSoftwareVersionsNotesListRequest
+ @param id A UUID string identifying this virtual chassis.
+ @return ApiDcimVirtualChassisNotesListRequest
*/
-func (a *DcimAPIService) DcimSoftwareVersionsNotesList(ctx context.Context, id string) ApiDcimSoftwareVersionsNotesListRequest {
- return ApiDcimSoftwareVersionsNotesListRequest{
+func (a *DcimAPIService) DcimVirtualChassisNotesList(ctx context.Context, id string) ApiDcimVirtualChassisNotesListRequest {
+ return ApiDcimVirtualChassisNotesListRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -138546,7 +138093,7 @@ func (a *DcimAPIService) DcimSoftwareVersionsNotesList(ctx context.Context, id s
// Execute executes the request
// @return PaginatedNoteList
-func (a *DcimAPIService) DcimSoftwareVersionsNotesListExecute(r ApiDcimSoftwareVersionsNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
+func (a *DcimAPIService) DcimVirtualChassisNotesListExecute(r ApiDcimVirtualChassisNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -138554,12 +138101,12 @@ func (a *DcimAPIService) DcimSoftwareVersionsNotesListExecute(r ApiDcimSoftwareV
localVarReturnValue *PaginatedNoteList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareVersionsNotesList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualChassisNotesList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/software-versions/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/virtual-chassis/{id}/notes/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -138578,8 +138125,16 @@ func (a *DcimAPIService) DcimSoftwareVersionsNotesListExecute(r ApiDcimSoftwareV
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -138649,39 +138204,39 @@ func (a *DcimAPIService) DcimSoftwareVersionsNotesListExecute(r ApiDcimSoftwareV
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimSoftwareVersionsPartialUpdateRequest struct {
+type ApiDcimVirtualChassisPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
- patchedSoftwareVersionRequest *PatchedSoftwareVersionRequest
+ patchedVirtualChassisRequest *PatchedVirtualChassisRequest
}
-func (r ApiDcimSoftwareVersionsPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareVersionsPartialUpdateRequest {
+func (r ApiDcimVirtualChassisPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualChassisPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimSoftwareVersionsPartialUpdateRequest) PatchedSoftwareVersionRequest(patchedSoftwareVersionRequest PatchedSoftwareVersionRequest) ApiDcimSoftwareVersionsPartialUpdateRequest {
- r.patchedSoftwareVersionRequest = &patchedSoftwareVersionRequest
+func (r ApiDcimVirtualChassisPartialUpdateRequest) PatchedVirtualChassisRequest(patchedVirtualChassisRequest PatchedVirtualChassisRequest) ApiDcimVirtualChassisPartialUpdateRequest {
+ r.patchedVirtualChassisRequest = &patchedVirtualChassisRequest
return r
}
-func (r ApiDcimSoftwareVersionsPartialUpdateRequest) Execute() (*SoftwareVersion, *http.Response, error) {
- return r.ApiService.DcimSoftwareVersionsPartialUpdateExecute(r)
+func (r ApiDcimVirtualChassisPartialUpdateRequest) Execute() (*VirtualChassis, *http.Response, error) {
+ return r.ApiService.DcimVirtualChassisPartialUpdateExecute(r)
}
/*
-DcimSoftwareVersionsPartialUpdate Method for DcimSoftwareVersionsPartialUpdate
+DcimVirtualChassisPartialUpdate Method for DcimVirtualChassisPartialUpdate
-Partial update a software version object.
+Partial update a virtual chassis object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this software version.
- @return ApiDcimSoftwareVersionsPartialUpdateRequest
+ @param id A UUID string identifying this virtual chassis.
+ @return ApiDcimVirtualChassisPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimSoftwareVersionsPartialUpdate(ctx context.Context, id string) ApiDcimSoftwareVersionsPartialUpdateRequest {
- return ApiDcimSoftwareVersionsPartialUpdateRequest{
+func (a *DcimAPIService) DcimVirtualChassisPartialUpdate(ctx context.Context, id string) ApiDcimVirtualChassisPartialUpdateRequest {
+ return ApiDcimVirtualChassisPartialUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -138689,21 +138244,21 @@ func (a *DcimAPIService) DcimSoftwareVersionsPartialUpdate(ctx context.Context,
}
// Execute executes the request
-// @return SoftwareVersion
-func (a *DcimAPIService) DcimSoftwareVersionsPartialUpdateExecute(r ApiDcimSoftwareVersionsPartialUpdateRequest) (*SoftwareVersion, *http.Response, error) {
+// @return VirtualChassis
+func (a *DcimAPIService) DcimVirtualChassisPartialUpdateExecute(r ApiDcimVirtualChassisPartialUpdateRequest) (*VirtualChassis, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *SoftwareVersion
+ localVarReturnValue *VirtualChassis
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareVersionsPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualChassisPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/software-versions/{id}/"
+ localVarPath := localBasePath + "/dcim/virtual-chassis/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -138731,7 +138286,7 @@ func (a *DcimAPIService) DcimSoftwareVersionsPartialUpdateExecute(r ApiDcimSoftw
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedSoftwareVersionRequest
+ localVarPostBody = r.patchedVirtualChassisRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -138783,40 +138338,47 @@ func (a *DcimAPIService) DcimSoftwareVersionsPartialUpdateExecute(r ApiDcimSoftw
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimSoftwareVersionsRetrieveRequest struct {
+type ApiDcimVirtualChassisRetrieveRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimSoftwareVersionsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareVersionsRetrieveRequest {
+func (r ApiDcimVirtualChassisRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualChassisRetrieveRequest {
r.format = &format
return r
}
// Serializer Depth
-func (r ApiDcimSoftwareVersionsRetrieveRequest) Depth(depth int32) ApiDcimSoftwareVersionsRetrieveRequest {
+func (r ApiDcimVirtualChassisRetrieveRequest) Depth(depth int32) ApiDcimVirtualChassisRetrieveRequest {
r.depth = &depth
return r
}
-func (r ApiDcimSoftwareVersionsRetrieveRequest) Execute() (*SoftwareVersion, *http.Response, error) {
- return r.ApiService.DcimSoftwareVersionsRetrieveExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimVirtualChassisRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimVirtualChassisRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimVirtualChassisRetrieveRequest) Execute() (*VirtualChassis, *http.Response, error) {
+ return r.ApiService.DcimVirtualChassisRetrieveExecute(r)
}
/*
-DcimSoftwareVersionsRetrieve Method for DcimSoftwareVersionsRetrieve
+DcimVirtualChassisRetrieve Method for DcimVirtualChassisRetrieve
-Retrieve a software version object.
+Retrieve a virtual chassis object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this software version.
- @return ApiDcimSoftwareVersionsRetrieveRequest
+ @param id A UUID string identifying this virtual chassis.
+ @return ApiDcimVirtualChassisRetrieveRequest
*/
-func (a *DcimAPIService) DcimSoftwareVersionsRetrieve(ctx context.Context, id string) ApiDcimSoftwareVersionsRetrieveRequest {
- return ApiDcimSoftwareVersionsRetrieveRequest{
+func (a *DcimAPIService) DcimVirtualChassisRetrieve(ctx context.Context, id string) ApiDcimVirtualChassisRetrieveRequest {
+ return ApiDcimVirtualChassisRetrieveRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -138824,21 +138386,21 @@ func (a *DcimAPIService) DcimSoftwareVersionsRetrieve(ctx context.Context, id st
}
// Execute executes the request
-// @return SoftwareVersion
-func (a *DcimAPIService) DcimSoftwareVersionsRetrieveExecute(r ApiDcimSoftwareVersionsRetrieveRequest) (*SoftwareVersion, *http.Response, error) {
+// @return VirtualChassis
+func (a *DcimAPIService) DcimVirtualChassisRetrieveExecute(r ApiDcimVirtualChassisRetrieveRequest) (*VirtualChassis, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *SoftwareVersion
+ localVarReturnValue *VirtualChassis
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareVersionsRetrieve")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualChassisRetrieve")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/software-versions/{id}/"
+ localVarPath := localBasePath + "/dcim/virtual-chassis/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -138851,8 +138413,16 @@ func (a *DcimAPIService) DcimSoftwareVersionsRetrieveExecute(r ApiDcimSoftwareVe
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -138922,39 +138492,39 @@ func (a *DcimAPIService) DcimSoftwareVersionsRetrieveExecute(r ApiDcimSoftwareVe
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimSoftwareVersionsUpdateRequest struct {
+type ApiDcimVirtualChassisUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
- softwareVersionRequest *SoftwareVersionRequest
+ virtualChassisRequest *VirtualChassisRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimSoftwareVersionsUpdateRequest) SoftwareVersionRequest(softwareVersionRequest SoftwareVersionRequest) ApiDcimSoftwareVersionsUpdateRequest {
- r.softwareVersionRequest = &softwareVersionRequest
+func (r ApiDcimVirtualChassisUpdateRequest) VirtualChassisRequest(virtualChassisRequest VirtualChassisRequest) ApiDcimVirtualChassisUpdateRequest {
+ r.virtualChassisRequest = &virtualChassisRequest
return r
}
-func (r ApiDcimSoftwareVersionsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimSoftwareVersionsUpdateRequest {
+func (r ApiDcimVirtualChassisUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualChassisUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimSoftwareVersionsUpdateRequest) Execute() (*SoftwareVersion, *http.Response, error) {
- return r.ApiService.DcimSoftwareVersionsUpdateExecute(r)
+func (r ApiDcimVirtualChassisUpdateRequest) Execute() (*VirtualChassis, *http.Response, error) {
+ return r.ApiService.DcimVirtualChassisUpdateExecute(r)
}
/*
-DcimSoftwareVersionsUpdate Method for DcimSoftwareVersionsUpdate
+DcimVirtualChassisUpdate Method for DcimVirtualChassisUpdate
-Update a software version object.
+Update a virtual chassis object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this software version.
- @return ApiDcimSoftwareVersionsUpdateRequest
+ @param id A UUID string identifying this virtual chassis.
+ @return ApiDcimVirtualChassisUpdateRequest
*/
-func (a *DcimAPIService) DcimSoftwareVersionsUpdate(ctx context.Context, id string) ApiDcimSoftwareVersionsUpdateRequest {
- return ApiDcimSoftwareVersionsUpdateRequest{
+func (a *DcimAPIService) DcimVirtualChassisUpdate(ctx context.Context, id string) ApiDcimVirtualChassisUpdateRequest {
+ return ApiDcimVirtualChassisUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -138962,28 +138532,28 @@ func (a *DcimAPIService) DcimSoftwareVersionsUpdate(ctx context.Context, id stri
}
// Execute executes the request
-// @return SoftwareVersion
-func (a *DcimAPIService) DcimSoftwareVersionsUpdateExecute(r ApiDcimSoftwareVersionsUpdateRequest) (*SoftwareVersion, *http.Response, error) {
+// @return VirtualChassis
+func (a *DcimAPIService) DcimVirtualChassisUpdateExecute(r ApiDcimVirtualChassisUpdateRequest) (*VirtualChassis, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *SoftwareVersion
+ localVarReturnValue *VirtualChassis
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimSoftwareVersionsUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualChassisUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/software-versions/{id}/"
+ localVarPath := localBasePath + "/dcim/virtual-chassis/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.softwareVersionRequest == nil {
- return localVarReturnValue, nil, reportError("softwareVersionRequest is required and must be specified")
+ if r.virtualChassisRequest == nil {
+ return localVarReturnValue, nil, reportError("virtualChassisRequest is required and must be specified")
}
if r.format != nil {
@@ -139007,7 +138577,7 @@ func (a *DcimAPIService) DcimSoftwareVersionsUpdateExecute(r ApiDcimSoftwareVers
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.softwareVersionRequest
+ localVarPostBody = r.virtualChassisRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -139059,56 +138629,56 @@ func (a *DcimAPIService) DcimSoftwareVersionsUpdateExecute(r ApiDcimSoftwareVers
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimVirtualChassisBulkDestroyRequest struct {
+type ApiDcimVirtualDeviceContextsBulkDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
bulkOperationRequest *[]BulkOperationRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimVirtualChassisBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimVirtualChassisBulkDestroyRequest {
+func (r ApiDcimVirtualDeviceContextsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiDcimVirtualDeviceContextsBulkDestroyRequest {
r.bulkOperationRequest = &bulkOperationRequest
return r
}
-func (r ApiDcimVirtualChassisBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualChassisBulkDestroyRequest {
+func (r ApiDcimVirtualDeviceContextsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualDeviceContextsBulkDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimVirtualChassisBulkDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimVirtualChassisBulkDestroyExecute(r)
+func (r ApiDcimVirtualDeviceContextsBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimVirtualDeviceContextsBulkDestroyExecute(r)
}
/*
-DcimVirtualChassisBulkDestroy Method for DcimVirtualChassisBulkDestroy
+DcimVirtualDeviceContextsBulkDestroy Method for DcimVirtualDeviceContextsBulkDestroy
-Destroy a list of virtual chassis objects.
+Destroy a list of virtual device context objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimVirtualChassisBulkDestroyRequest
+ @return ApiDcimVirtualDeviceContextsBulkDestroyRequest
*/
-func (a *DcimAPIService) DcimVirtualChassisBulkDestroy(ctx context.Context) ApiDcimVirtualChassisBulkDestroyRequest {
- return ApiDcimVirtualChassisBulkDestroyRequest{
+func (a *DcimAPIService) DcimVirtualDeviceContextsBulkDestroy(ctx context.Context) ApiDcimVirtualDeviceContextsBulkDestroyRequest {
+ return ApiDcimVirtualDeviceContextsBulkDestroyRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-func (a *DcimAPIService) DcimVirtualChassisBulkDestroyExecute(r ApiDcimVirtualChassisBulkDestroyRequest) (*http.Response, error) {
+func (a *DcimAPIService) DcimVirtualDeviceContextsBulkDestroyExecute(r ApiDcimVirtualDeviceContextsBulkDestroyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualChassisBulkDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualDeviceContextsBulkDestroy")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/virtual-chassis/"
+ localVarPath := localBasePath + "/dcim/virtual-device-contexts/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -139181,64 +138751,64 @@ func (a *DcimAPIService) DcimVirtualChassisBulkDestroyExecute(r ApiDcimVirtualCh
return localVarHTTPResponse, nil
}
-type ApiDcimVirtualChassisBulkPartialUpdateRequest struct {
+type ApiDcimVirtualDeviceContextsBulkPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- patchedBulkWritableVirtualChassisRequest *[]PatchedBulkWritableVirtualChassisRequest
+ patchedBulkWritableVirtualDeviceContextRequest *[]PatchedBulkWritableVirtualDeviceContextRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimVirtualChassisBulkPartialUpdateRequest) PatchedBulkWritableVirtualChassisRequest(patchedBulkWritableVirtualChassisRequest []PatchedBulkWritableVirtualChassisRequest) ApiDcimVirtualChassisBulkPartialUpdateRequest {
- r.patchedBulkWritableVirtualChassisRequest = &patchedBulkWritableVirtualChassisRequest
+func (r ApiDcimVirtualDeviceContextsBulkPartialUpdateRequest) PatchedBulkWritableVirtualDeviceContextRequest(patchedBulkWritableVirtualDeviceContextRequest []PatchedBulkWritableVirtualDeviceContextRequest) ApiDcimVirtualDeviceContextsBulkPartialUpdateRequest {
+ r.patchedBulkWritableVirtualDeviceContextRequest = &patchedBulkWritableVirtualDeviceContextRequest
return r
}
-func (r ApiDcimVirtualChassisBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualChassisBulkPartialUpdateRequest {
+func (r ApiDcimVirtualDeviceContextsBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualDeviceContextsBulkPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimVirtualChassisBulkPartialUpdateRequest) Execute() ([]VirtualChassis, *http.Response, error) {
- return r.ApiService.DcimVirtualChassisBulkPartialUpdateExecute(r)
+func (r ApiDcimVirtualDeviceContextsBulkPartialUpdateRequest) Execute() ([]VirtualDeviceContext, *http.Response, error) {
+ return r.ApiService.DcimVirtualDeviceContextsBulkPartialUpdateExecute(r)
}
/*
-DcimVirtualChassisBulkPartialUpdate Method for DcimVirtualChassisBulkPartialUpdate
+DcimVirtualDeviceContextsBulkPartialUpdate Method for DcimVirtualDeviceContextsBulkPartialUpdate
-Partial update a list of virtual chassis objects.
+Partial update a list of virtual device context objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimVirtualChassisBulkPartialUpdateRequest
+ @return ApiDcimVirtualDeviceContextsBulkPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimVirtualChassisBulkPartialUpdate(ctx context.Context) ApiDcimVirtualChassisBulkPartialUpdateRequest {
- return ApiDcimVirtualChassisBulkPartialUpdateRequest{
+func (a *DcimAPIService) DcimVirtualDeviceContextsBulkPartialUpdate(ctx context.Context) ApiDcimVirtualDeviceContextsBulkPartialUpdateRequest {
+ return ApiDcimVirtualDeviceContextsBulkPartialUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []VirtualChassis
-func (a *DcimAPIService) DcimVirtualChassisBulkPartialUpdateExecute(r ApiDcimVirtualChassisBulkPartialUpdateRequest) ([]VirtualChassis, *http.Response, error) {
+// @return []VirtualDeviceContext
+func (a *DcimAPIService) DcimVirtualDeviceContextsBulkPartialUpdateExecute(r ApiDcimVirtualDeviceContextsBulkPartialUpdateRequest) ([]VirtualDeviceContext, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []VirtualChassis
+ localVarReturnValue []VirtualDeviceContext
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualChassisBulkPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualDeviceContextsBulkPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/virtual-chassis/"
+ localVarPath := localBasePath + "/dcim/virtual-device-contexts/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.patchedBulkWritableVirtualChassisRequest == nil {
- return localVarReturnValue, nil, reportError("patchedBulkWritableVirtualChassisRequest is required and must be specified")
+ if r.patchedBulkWritableVirtualDeviceContextRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritableVirtualDeviceContextRequest is required and must be specified")
}
if r.format != nil {
@@ -139262,7 +138832,7 @@ func (a *DcimAPIService) DcimVirtualChassisBulkPartialUpdateExecute(r ApiDcimVir
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedBulkWritableVirtualChassisRequest
+ localVarPostBody = r.patchedBulkWritableVirtualDeviceContextRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -139314,64 +138884,64 @@ func (a *DcimAPIService) DcimVirtualChassisBulkPartialUpdateExecute(r ApiDcimVir
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimVirtualChassisBulkUpdateRequest struct {
+type ApiDcimVirtualDeviceContextsBulkUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- bulkWritableVirtualChassisRequest *[]BulkWritableVirtualChassisRequest
+ bulkWritableVirtualDeviceContextRequest *[]BulkWritableVirtualDeviceContextRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimVirtualChassisBulkUpdateRequest) BulkWritableVirtualChassisRequest(bulkWritableVirtualChassisRequest []BulkWritableVirtualChassisRequest) ApiDcimVirtualChassisBulkUpdateRequest {
- r.bulkWritableVirtualChassisRequest = &bulkWritableVirtualChassisRequest
+func (r ApiDcimVirtualDeviceContextsBulkUpdateRequest) BulkWritableVirtualDeviceContextRequest(bulkWritableVirtualDeviceContextRequest []BulkWritableVirtualDeviceContextRequest) ApiDcimVirtualDeviceContextsBulkUpdateRequest {
+ r.bulkWritableVirtualDeviceContextRequest = &bulkWritableVirtualDeviceContextRequest
return r
}
-func (r ApiDcimVirtualChassisBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualChassisBulkUpdateRequest {
+func (r ApiDcimVirtualDeviceContextsBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualDeviceContextsBulkUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimVirtualChassisBulkUpdateRequest) Execute() ([]VirtualChassis, *http.Response, error) {
- return r.ApiService.DcimVirtualChassisBulkUpdateExecute(r)
+func (r ApiDcimVirtualDeviceContextsBulkUpdateRequest) Execute() ([]VirtualDeviceContext, *http.Response, error) {
+ return r.ApiService.DcimVirtualDeviceContextsBulkUpdateExecute(r)
}
/*
-DcimVirtualChassisBulkUpdate Method for DcimVirtualChassisBulkUpdate
+DcimVirtualDeviceContextsBulkUpdate Method for DcimVirtualDeviceContextsBulkUpdate
-Update a list of virtual chassis objects.
+Update a list of virtual device context objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimVirtualChassisBulkUpdateRequest
+ @return ApiDcimVirtualDeviceContextsBulkUpdateRequest
*/
-func (a *DcimAPIService) DcimVirtualChassisBulkUpdate(ctx context.Context) ApiDcimVirtualChassisBulkUpdateRequest {
- return ApiDcimVirtualChassisBulkUpdateRequest{
+func (a *DcimAPIService) DcimVirtualDeviceContextsBulkUpdate(ctx context.Context) ApiDcimVirtualDeviceContextsBulkUpdateRequest {
+ return ApiDcimVirtualDeviceContextsBulkUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []VirtualChassis
-func (a *DcimAPIService) DcimVirtualChassisBulkUpdateExecute(r ApiDcimVirtualChassisBulkUpdateRequest) ([]VirtualChassis, *http.Response, error) {
+// @return []VirtualDeviceContext
+func (a *DcimAPIService) DcimVirtualDeviceContextsBulkUpdateExecute(r ApiDcimVirtualDeviceContextsBulkUpdateRequest) ([]VirtualDeviceContext, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []VirtualChassis
+ localVarReturnValue []VirtualDeviceContext
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualChassisBulkUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualDeviceContextsBulkUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/virtual-chassis/"
+ localVarPath := localBasePath + "/dcim/virtual-device-contexts/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.bulkWritableVirtualChassisRequest == nil {
- return localVarReturnValue, nil, reportError("bulkWritableVirtualChassisRequest is required and must be specified")
+ if r.bulkWritableVirtualDeviceContextRequest == nil {
+ return localVarReturnValue, nil, reportError("bulkWritableVirtualDeviceContextRequest is required and must be specified")
}
if r.format != nil {
@@ -139395,7 +138965,7 @@ func (a *DcimAPIService) DcimVirtualChassisBulkUpdateExecute(r ApiDcimVirtualCha
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.bulkWritableVirtualChassisRequest
+ localVarPostBody = r.bulkWritableVirtualDeviceContextRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -139447,64 +139017,64 @@ func (a *DcimAPIService) DcimVirtualChassisBulkUpdateExecute(r ApiDcimVirtualCha
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimVirtualChassisCreateRequest struct {
+type ApiDcimVirtualDeviceContextsCreateRequest struct {
ctx context.Context
ApiService *DcimAPIService
- virtualChassisRequest *VirtualChassisRequest
+ virtualDeviceContextRequest *VirtualDeviceContextRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimVirtualChassisCreateRequest) VirtualChassisRequest(virtualChassisRequest VirtualChassisRequest) ApiDcimVirtualChassisCreateRequest {
- r.virtualChassisRequest = &virtualChassisRequest
+func (r ApiDcimVirtualDeviceContextsCreateRequest) VirtualDeviceContextRequest(virtualDeviceContextRequest VirtualDeviceContextRequest) ApiDcimVirtualDeviceContextsCreateRequest {
+ r.virtualDeviceContextRequest = &virtualDeviceContextRequest
return r
}
-func (r ApiDcimVirtualChassisCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualChassisCreateRequest {
+func (r ApiDcimVirtualDeviceContextsCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualDeviceContextsCreateRequest {
r.format = &format
return r
}
-func (r ApiDcimVirtualChassisCreateRequest) Execute() (*VirtualChassis, *http.Response, error) {
- return r.ApiService.DcimVirtualChassisCreateExecute(r)
+func (r ApiDcimVirtualDeviceContextsCreateRequest) Execute() (*VirtualDeviceContext, *http.Response, error) {
+ return r.ApiService.DcimVirtualDeviceContextsCreateExecute(r)
}
/*
-DcimVirtualChassisCreate Method for DcimVirtualChassisCreate
+DcimVirtualDeviceContextsCreate Method for DcimVirtualDeviceContextsCreate
-Create one or more virtual chassis objects.
+Create one or more virtual device context objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimVirtualChassisCreateRequest
+ @return ApiDcimVirtualDeviceContextsCreateRequest
*/
-func (a *DcimAPIService) DcimVirtualChassisCreate(ctx context.Context) ApiDcimVirtualChassisCreateRequest {
- return ApiDcimVirtualChassisCreateRequest{
+func (a *DcimAPIService) DcimVirtualDeviceContextsCreate(ctx context.Context) ApiDcimVirtualDeviceContextsCreateRequest {
+ return ApiDcimVirtualDeviceContextsCreateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return VirtualChassis
-func (a *DcimAPIService) DcimVirtualChassisCreateExecute(r ApiDcimVirtualChassisCreateRequest) (*VirtualChassis, *http.Response, error) {
+// @return VirtualDeviceContext
+func (a *DcimAPIService) DcimVirtualDeviceContextsCreateExecute(r ApiDcimVirtualDeviceContextsCreateRequest) (*VirtualDeviceContext, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *VirtualChassis
+ localVarReturnValue *VirtualDeviceContext
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualChassisCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualDeviceContextsCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/virtual-chassis/"
+ localVarPath := localBasePath + "/dcim/virtual-device-contexts/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.virtualChassisRequest == nil {
- return localVarReturnValue, nil, reportError("virtualChassisRequest is required and must be specified")
+ if r.virtualDeviceContextRequest == nil {
+ return localVarReturnValue, nil, reportError("virtualDeviceContextRequest is required and must be specified")
}
if r.format != nil {
@@ -139528,7 +139098,7 @@ func (a *DcimAPIService) DcimVirtualChassisCreateExecute(r ApiDcimVirtualChassis
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.virtualChassisRequest
+ localVarPostBody = r.virtualDeviceContextRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -139580,33 +139150,33 @@ func (a *DcimAPIService) DcimVirtualChassisCreateExecute(r ApiDcimVirtualChassis
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimVirtualChassisDestroyRequest struct {
+type ApiDcimVirtualDeviceContextsDestroyRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimVirtualChassisDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualChassisDestroyRequest {
+func (r ApiDcimVirtualDeviceContextsDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualDeviceContextsDestroyRequest {
r.format = &format
return r
}
-func (r ApiDcimVirtualChassisDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.DcimVirtualChassisDestroyExecute(r)
+func (r ApiDcimVirtualDeviceContextsDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.DcimVirtualDeviceContextsDestroyExecute(r)
}
/*
-DcimVirtualChassisDestroy Method for DcimVirtualChassisDestroy
+DcimVirtualDeviceContextsDestroy Method for DcimVirtualDeviceContextsDestroy
-Destroy a virtual chassis object.
+Destroy a virtual device context object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this virtual chassis.
- @return ApiDcimVirtualChassisDestroyRequest
+ @param id A UUID string identifying this virtual device context.
+ @return ApiDcimVirtualDeviceContextsDestroyRequest
*/
-func (a *DcimAPIService) DcimVirtualChassisDestroy(ctx context.Context, id string) ApiDcimVirtualChassisDestroyRequest {
- return ApiDcimVirtualChassisDestroyRequest{
+func (a *DcimAPIService) DcimVirtualDeviceContextsDestroy(ctx context.Context, id string) ApiDcimVirtualDeviceContextsDestroyRequest {
+ return ApiDcimVirtualDeviceContextsDestroyRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -139614,19 +139184,19 @@ func (a *DcimAPIService) DcimVirtualChassisDestroy(ctx context.Context, id strin
}
// Execute executes the request
-func (a *DcimAPIService) DcimVirtualChassisDestroyExecute(r ApiDcimVirtualChassisDestroyRequest) (*http.Response, error) {
+func (a *DcimAPIService) DcimVirtualDeviceContextsDestroyExecute(r ApiDcimVirtualDeviceContextsDestroyRequest) (*http.Response, error) {
var (
localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualChassisDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualDeviceContextsDestroy")
if err != nil {
return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/virtual-chassis/{id}/"
+ localVarPath := localBasePath + "/dcim/virtual-device-contexts/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -139695,12 +139265,12 @@ func (a *DcimAPIService) DcimVirtualChassisDestroyExecute(r ApiDcimVirtualChassi
return localVarHTTPResponse, nil
}
-type ApiDcimVirtualChassisListRequest struct {
+type ApiDcimVirtualDeviceContextsListRequest struct {
ctx context.Context
ApiService *DcimAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -139708,38 +139278,38 @@ type ApiDcimVirtualChassisListRequest struct {
createdLt *[]time.Time
createdLte *[]time.Time
createdN *[]time.Time
- domain *[]string
- domainIc *[]string
- domainIe *[]string
- domainIew *[]string
- domainIre *[]string
- domainIsw *[]string
- domainN *[]string
- domainNic *[]string
- domainNie *[]string
- domainNiew *[]string
- domainNire *[]string
- domainNisw *[]string
- domainNre *[]string
- domainRe *[]string
+ description *[]string
+ descriptionIc *[]string
+ descriptionIe *[]string
+ descriptionIew *[]string
+ descriptionIre *[]string
+ descriptionIsw *[]string
+ descriptionN *[]string
+ descriptionNic *[]string
+ descriptionNie *[]string
+ descriptionNiew *[]string
+ descriptionNire *[]string
+ descriptionNisw *[]string
+ descriptionNre *[]string
+ descriptionRe *[]string
+ device *[]string
+ deviceN *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
- hasMembers *bool
+ hasInterfaces *bool
+ hasPrimaryIp *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
+ identifier *[]int32
+ identifierGt *[]int32
+ identifierGte *[]int32
+ identifierIsnull *bool
+ identifierLt *[]int32
+ identifierLte *[]int32
+ identifierN *[]int32
+ interfaces *[]string
+ interfacesN *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -139748,14 +139318,6 @@ type ApiDcimVirtualChassisListRequest struct {
lastUpdatedLte *[]time.Time
lastUpdatedN *[]time.Time
limit *int32
- location *[]string
- locationN *[]string
- master *[]string
- masterIsnull *bool
- masterN *[]string
- members *[]string
- membersIsnull *bool
- membersN *[]string
name *[]string
nameIc *[]string
nameIe *[]string
@@ -139771,495 +139333,543 @@ type ApiDcimVirtualChassisListRequest struct {
nameNre *[]string
nameRe *[]string
offset *int32
+ primaryIp4 *[]string
+ primaryIp6 *[]string
q *string
+ role *[]string
+ roleIsnull *bool
+ roleN *[]string
sort *string
+ status *[]string
+ statusN *[]string
tags *[]string
tagsIsnull *bool
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
tenant *[]string
tenantIsnull *bool
tenantN *[]string
+ tenantGroup *[]string
+ tenantGroupIsnull *bool
+ tenantGroupN *[]string
+ tenantId *[]*string
+ tenantIdIsnull *bool
+ tenantIdN *[]*string
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimVirtualChassisListRequest) Contacts(contacts []string) ApiDcimVirtualChassisListRequest {
+func (r ApiDcimVirtualDeviceContextsListRequest) Contacts(contacts []string) ApiDcimVirtualDeviceContextsListRequest {
r.contacts = &contacts
return r
}
// Contacts (name or ID) is null
-func (r ApiDcimVirtualChassisListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimVirtualChassisListRequest {
+func (r ApiDcimVirtualDeviceContextsListRequest) ContactsIsnull(contactsIsnull bool) ApiDcimVirtualDeviceContextsListRequest {
r.contactsIsnull = &contactsIsnull
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiDcimVirtualChassisListRequest) ContactsN(contactsN string) ApiDcimVirtualChassisListRequest {
+func (r ApiDcimVirtualDeviceContextsListRequest) ContactsN(contactsN []string) ApiDcimVirtualDeviceContextsListRequest {
r.contactsN = &contactsN
return r
}
-func (r ApiDcimVirtualChassisListRequest) Created(created []time.Time) ApiDcimVirtualChassisListRequest {
+func (r ApiDcimVirtualDeviceContextsListRequest) Created(created []time.Time) ApiDcimVirtualDeviceContextsListRequest {
r.created = &created
return r
}
-func (r ApiDcimVirtualChassisListRequest) CreatedGt(createdGt []time.Time) ApiDcimVirtualChassisListRequest {
+func (r ApiDcimVirtualDeviceContextsListRequest) CreatedGt(createdGt []time.Time) ApiDcimVirtualDeviceContextsListRequest {
r.createdGt = &createdGt
return r
}
-func (r ApiDcimVirtualChassisListRequest) CreatedGte(createdGte []time.Time) ApiDcimVirtualChassisListRequest {
+func (r ApiDcimVirtualDeviceContextsListRequest) CreatedGte(createdGte []time.Time) ApiDcimVirtualDeviceContextsListRequest {
r.createdGte = &createdGte
return r
}
-func (r ApiDcimVirtualChassisListRequest) CreatedIsnull(createdIsnull bool) ApiDcimVirtualChassisListRequest {
+func (r ApiDcimVirtualDeviceContextsListRequest) CreatedIsnull(createdIsnull bool) ApiDcimVirtualDeviceContextsListRequest {
r.createdIsnull = &createdIsnull
return r
}
-func (r ApiDcimVirtualChassisListRequest) CreatedLt(createdLt []time.Time) ApiDcimVirtualChassisListRequest {
+func (r ApiDcimVirtualDeviceContextsListRequest) CreatedLt(createdLt []time.Time) ApiDcimVirtualDeviceContextsListRequest {
r.createdLt = &createdLt
return r
}
-func (r ApiDcimVirtualChassisListRequest) CreatedLte(createdLte []time.Time) ApiDcimVirtualChassisListRequest {
+func (r ApiDcimVirtualDeviceContextsListRequest) CreatedLte(createdLte []time.Time) ApiDcimVirtualDeviceContextsListRequest {
r.createdLte = &createdLte
return r
}
-func (r ApiDcimVirtualChassisListRequest) CreatedN(createdN []time.Time) ApiDcimVirtualChassisListRequest {
+func (r ApiDcimVirtualDeviceContextsListRequest) CreatedN(createdN []time.Time) ApiDcimVirtualDeviceContextsListRequest {
r.createdN = &createdN
return r
}
-func (r ApiDcimVirtualChassisListRequest) Domain(domain []string) ApiDcimVirtualChassisListRequest {
- r.domain = &domain
+func (r ApiDcimVirtualDeviceContextsListRequest) Description(description []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.description = &description
return r
}
-func (r ApiDcimVirtualChassisListRequest) DomainIc(domainIc []string) ApiDcimVirtualChassisListRequest {
- r.domainIc = &domainIc
+func (r ApiDcimVirtualDeviceContextsListRequest) DescriptionIc(descriptionIc []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.descriptionIc = &descriptionIc
return r
}
-func (r ApiDcimVirtualChassisListRequest) DomainIe(domainIe []string) ApiDcimVirtualChassisListRequest {
- r.domainIe = &domainIe
+func (r ApiDcimVirtualDeviceContextsListRequest) DescriptionIe(descriptionIe []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.descriptionIe = &descriptionIe
return r
}
-func (r ApiDcimVirtualChassisListRequest) DomainIew(domainIew []string) ApiDcimVirtualChassisListRequest {
- r.domainIew = &domainIew
+func (r ApiDcimVirtualDeviceContextsListRequest) DescriptionIew(descriptionIew []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.descriptionIew = &descriptionIew
return r
}
-func (r ApiDcimVirtualChassisListRequest) DomainIre(domainIre []string) ApiDcimVirtualChassisListRequest {
- r.domainIre = &domainIre
+func (r ApiDcimVirtualDeviceContextsListRequest) DescriptionIre(descriptionIre []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.descriptionIre = &descriptionIre
return r
}
-func (r ApiDcimVirtualChassisListRequest) DomainIsw(domainIsw []string) ApiDcimVirtualChassisListRequest {
- r.domainIsw = &domainIsw
+func (r ApiDcimVirtualDeviceContextsListRequest) DescriptionIsw(descriptionIsw []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.descriptionIsw = &descriptionIsw
return r
}
-func (r ApiDcimVirtualChassisListRequest) DomainN(domainN []string) ApiDcimVirtualChassisListRequest {
- r.domainN = &domainN
+func (r ApiDcimVirtualDeviceContextsListRequest) DescriptionN(descriptionN []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.descriptionN = &descriptionN
return r
}
-func (r ApiDcimVirtualChassisListRequest) DomainNic(domainNic []string) ApiDcimVirtualChassisListRequest {
- r.domainNic = &domainNic
+func (r ApiDcimVirtualDeviceContextsListRequest) DescriptionNic(descriptionNic []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.descriptionNic = &descriptionNic
return r
}
-func (r ApiDcimVirtualChassisListRequest) DomainNie(domainNie []string) ApiDcimVirtualChassisListRequest {
- r.domainNie = &domainNie
+func (r ApiDcimVirtualDeviceContextsListRequest) DescriptionNie(descriptionNie []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.descriptionNie = &descriptionNie
return r
}
-func (r ApiDcimVirtualChassisListRequest) DomainNiew(domainNiew []string) ApiDcimVirtualChassisListRequest {
- r.domainNiew = &domainNiew
+func (r ApiDcimVirtualDeviceContextsListRequest) DescriptionNiew(descriptionNiew []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.descriptionNiew = &descriptionNiew
return r
}
-func (r ApiDcimVirtualChassisListRequest) DomainNire(domainNire []string) ApiDcimVirtualChassisListRequest {
- r.domainNire = &domainNire
+func (r ApiDcimVirtualDeviceContextsListRequest) DescriptionNire(descriptionNire []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.descriptionNire = &descriptionNire
return r
}
-func (r ApiDcimVirtualChassisListRequest) DomainNisw(domainNisw []string) ApiDcimVirtualChassisListRequest {
- r.domainNisw = &domainNisw
+func (r ApiDcimVirtualDeviceContextsListRequest) DescriptionNisw(descriptionNisw []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.descriptionNisw = &descriptionNisw
return r
}
-func (r ApiDcimVirtualChassisListRequest) DomainNre(domainNre []string) ApiDcimVirtualChassisListRequest {
- r.domainNre = &domainNre
+func (r ApiDcimVirtualDeviceContextsListRequest) DescriptionNre(descriptionNre []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.descriptionNre = &descriptionNre
return r
}
-func (r ApiDcimVirtualChassisListRequest) DomainRe(domainRe []string) ApiDcimVirtualChassisListRequest {
- r.domainRe = &domainRe
+func (r ApiDcimVirtualDeviceContextsListRequest) DescriptionRe(descriptionRe []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.descriptionRe = &descriptionRe
return r
}
-func (r ApiDcimVirtualChassisListRequest) DynamicGroups(dynamicGroups []string) ApiDcimVirtualChassisListRequest {
- r.dynamicGroups = &dynamicGroups
+func (r ApiDcimVirtualDeviceContextsListRequest) Device(device []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.device = &device
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiDcimVirtualChassisListRequest) DynamicGroupsN(dynamicGroupsN string) ApiDcimVirtualChassisListRequest {
- r.dynamicGroupsN = &dynamicGroupsN
+func (r ApiDcimVirtualDeviceContextsListRequest) DeviceN(deviceN []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.deviceN = &deviceN
return r
}
-func (r ApiDcimVirtualChassisListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualChassisListRequest {
- r.format = &format
+func (r ApiDcimVirtualDeviceContextsListRequest) DynamicGroups(dynamicGroups []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.dynamicGroups = &dynamicGroups
return r
}
-// Has device members
-func (r ApiDcimVirtualChassisListRequest) HasMembers(hasMembers bool) ApiDcimVirtualChassisListRequest {
- r.hasMembers = &hasMembers
+func (r ApiDcimVirtualDeviceContextsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.dynamicGroupsN = &dynamicGroupsN
return r
}
-// Unique object identifier, either a UUID primary key or a composite key.
-func (r ApiDcimVirtualChassisListRequest) Id(id []string) ApiDcimVirtualChassisListRequest {
- r.id = &id
+func (r ApiDcimVirtualDeviceContextsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualDeviceContextsListRequest {
+ r.format = &format
return r
}
-func (r ApiDcimVirtualChassisListRequest) IdIc(idIc []string) ApiDcimVirtualChassisListRequest {
- r.idIc = &idIc
+// Has Interfaces
+func (r ApiDcimVirtualDeviceContextsListRequest) HasInterfaces(hasInterfaces bool) ApiDcimVirtualDeviceContextsListRequest {
+ r.hasInterfaces = &hasInterfaces
return r
}
-func (r ApiDcimVirtualChassisListRequest) IdIe(idIe []string) ApiDcimVirtualChassisListRequest {
- r.idIe = &idIe
+// Has a primary IP
+func (r ApiDcimVirtualDeviceContextsListRequest) HasPrimaryIp(hasPrimaryIp bool) ApiDcimVirtualDeviceContextsListRequest {
+ r.hasPrimaryIp = &hasPrimaryIp
return r
}
-func (r ApiDcimVirtualChassisListRequest) IdIew(idIew []string) ApiDcimVirtualChassisListRequest {
- r.idIew = &idIew
+// Unique object identifier, either a UUID primary key or a composite key.
+func (r ApiDcimVirtualDeviceContextsListRequest) Id(id []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.id = &id
return r
}
-func (r ApiDcimVirtualChassisListRequest) IdIre(idIre []string) ApiDcimVirtualChassisListRequest {
- r.idIre = &idIre
+func (r ApiDcimVirtualDeviceContextsListRequest) IdN(idN []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.idN = &idN
return r
}
-func (r ApiDcimVirtualChassisListRequest) IdIsw(idIsw []string) ApiDcimVirtualChassisListRequest {
- r.idIsw = &idIsw
+func (r ApiDcimVirtualDeviceContextsListRequest) Identifier(identifier []int32) ApiDcimVirtualDeviceContextsListRequest {
+ r.identifier = &identifier
return r
}
-func (r ApiDcimVirtualChassisListRequest) IdN(idN []string) ApiDcimVirtualChassisListRequest {
- r.idN = &idN
+func (r ApiDcimVirtualDeviceContextsListRequest) IdentifierGt(identifierGt []int32) ApiDcimVirtualDeviceContextsListRequest {
+ r.identifierGt = &identifierGt
return r
}
-func (r ApiDcimVirtualChassisListRequest) IdNic(idNic []string) ApiDcimVirtualChassisListRequest {
- r.idNic = &idNic
+func (r ApiDcimVirtualDeviceContextsListRequest) IdentifierGte(identifierGte []int32) ApiDcimVirtualDeviceContextsListRequest {
+ r.identifierGte = &identifierGte
return r
}
-func (r ApiDcimVirtualChassisListRequest) IdNie(idNie []string) ApiDcimVirtualChassisListRequest {
- r.idNie = &idNie
+func (r ApiDcimVirtualDeviceContextsListRequest) IdentifierIsnull(identifierIsnull bool) ApiDcimVirtualDeviceContextsListRequest {
+ r.identifierIsnull = &identifierIsnull
return r
}
-func (r ApiDcimVirtualChassisListRequest) IdNiew(idNiew []string) ApiDcimVirtualChassisListRequest {
- r.idNiew = &idNiew
+func (r ApiDcimVirtualDeviceContextsListRequest) IdentifierLt(identifierLt []int32) ApiDcimVirtualDeviceContextsListRequest {
+ r.identifierLt = &identifierLt
return r
}
-func (r ApiDcimVirtualChassisListRequest) IdNire(idNire []string) ApiDcimVirtualChassisListRequest {
- r.idNire = &idNire
+func (r ApiDcimVirtualDeviceContextsListRequest) IdentifierLte(identifierLte []int32) ApiDcimVirtualDeviceContextsListRequest {
+ r.identifierLte = &identifierLte
return r
}
-func (r ApiDcimVirtualChassisListRequest) IdNisw(idNisw []string) ApiDcimVirtualChassisListRequest {
- r.idNisw = &idNisw
+func (r ApiDcimVirtualDeviceContextsListRequest) IdentifierN(identifierN []int32) ApiDcimVirtualDeviceContextsListRequest {
+ r.identifierN = &identifierN
return r
}
-func (r ApiDcimVirtualChassisListRequest) IdNre(idNre []string) ApiDcimVirtualChassisListRequest {
- r.idNre = &idNre
+func (r ApiDcimVirtualDeviceContextsListRequest) Interfaces(interfaces []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.interfaces = &interfaces
return r
}
-func (r ApiDcimVirtualChassisListRequest) IdRe(idRe []string) ApiDcimVirtualChassisListRequest {
- r.idRe = &idRe
+func (r ApiDcimVirtualDeviceContextsListRequest) InterfacesN(interfacesN []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.interfacesN = &interfacesN
return r
}
-func (r ApiDcimVirtualChassisListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimVirtualChassisListRequest {
+func (r ApiDcimVirtualDeviceContextsListRequest) LastUpdated(lastUpdated []time.Time) ApiDcimVirtualDeviceContextsListRequest {
r.lastUpdated = &lastUpdated
return r
}
-func (r ApiDcimVirtualChassisListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiDcimVirtualChassisListRequest {
+func (r ApiDcimVirtualDeviceContextsListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiDcimVirtualDeviceContextsListRequest {
r.lastUpdatedGt = &lastUpdatedGt
return r
}
-func (r ApiDcimVirtualChassisListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiDcimVirtualChassisListRequest {
+func (r ApiDcimVirtualDeviceContextsListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiDcimVirtualDeviceContextsListRequest {
r.lastUpdatedGte = &lastUpdatedGte
return r
}
-func (r ApiDcimVirtualChassisListRequest) LastUpdatedIsnull(lastUpdatedIsnull bool) ApiDcimVirtualChassisListRequest {
+func (r ApiDcimVirtualDeviceContextsListRequest) LastUpdatedIsnull(lastUpdatedIsnull bool) ApiDcimVirtualDeviceContextsListRequest {
r.lastUpdatedIsnull = &lastUpdatedIsnull
return r
}
-func (r ApiDcimVirtualChassisListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiDcimVirtualChassisListRequest {
+func (r ApiDcimVirtualDeviceContextsListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiDcimVirtualDeviceContextsListRequest {
r.lastUpdatedLt = &lastUpdatedLt
return r
}
-func (r ApiDcimVirtualChassisListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiDcimVirtualChassisListRequest {
+func (r ApiDcimVirtualDeviceContextsListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiDcimVirtualDeviceContextsListRequest {
r.lastUpdatedLte = &lastUpdatedLte
return r
}
-func (r ApiDcimVirtualChassisListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiDcimVirtualChassisListRequest {
+func (r ApiDcimVirtualDeviceContextsListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiDcimVirtualDeviceContextsListRequest {
r.lastUpdatedN = &lastUpdatedN
return r
}
// Number of results to return per page.
-func (r ApiDcimVirtualChassisListRequest) Limit(limit int32) ApiDcimVirtualChassisListRequest {
+func (r ApiDcimVirtualDeviceContextsListRequest) Limit(limit int32) ApiDcimVirtualDeviceContextsListRequest {
r.limit = &limit
return r
}
-func (r ApiDcimVirtualChassisListRequest) Location(location []string) ApiDcimVirtualChassisListRequest {
- r.location = &location
- return r
-}
-
-func (r ApiDcimVirtualChassisListRequest) LocationN(locationN []string) ApiDcimVirtualChassisListRequest {
- r.locationN = &locationN
+func (r ApiDcimVirtualDeviceContextsListRequest) Name(name []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.name = &name
return r
}
-func (r ApiDcimVirtualChassisListRequest) Master(master []string) ApiDcimVirtualChassisListRequest {
- r.master = &master
+func (r ApiDcimVirtualDeviceContextsListRequest) NameIc(nameIc []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.nameIc = &nameIc
return r
}
-// Master (name or ID) is null
-func (r ApiDcimVirtualChassisListRequest) MasterIsnull(masterIsnull bool) ApiDcimVirtualChassisListRequest {
- r.masterIsnull = &masterIsnull
+func (r ApiDcimVirtualDeviceContextsListRequest) NameIe(nameIe []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.nameIe = &nameIe
return r
}
-func (r ApiDcimVirtualChassisListRequest) MasterN(masterN []string) ApiDcimVirtualChassisListRequest {
- r.masterN = &masterN
+func (r ApiDcimVirtualDeviceContextsListRequest) NameIew(nameIew []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.nameIew = &nameIew
return r
}
-func (r ApiDcimVirtualChassisListRequest) Members(members []string) ApiDcimVirtualChassisListRequest {
- r.members = &members
+func (r ApiDcimVirtualDeviceContextsListRequest) NameIre(nameIre []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.nameIre = &nameIre
return r
}
-// Device members (name or ID) is null
-func (r ApiDcimVirtualChassisListRequest) MembersIsnull(membersIsnull bool) ApiDcimVirtualChassisListRequest {
- r.membersIsnull = &membersIsnull
+func (r ApiDcimVirtualDeviceContextsListRequest) NameIsw(nameIsw []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.nameIsw = &nameIsw
return r
}
-func (r ApiDcimVirtualChassisListRequest) MembersN(membersN []string) ApiDcimVirtualChassisListRequest {
- r.membersN = &membersN
+func (r ApiDcimVirtualDeviceContextsListRequest) NameN(nameN []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.nameN = &nameN
return r
}
-func (r ApiDcimVirtualChassisListRequest) Name(name []string) ApiDcimVirtualChassisListRequest {
- r.name = &name
+func (r ApiDcimVirtualDeviceContextsListRequest) NameNic(nameNic []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.nameNic = &nameNic
return r
}
-func (r ApiDcimVirtualChassisListRequest) NameIc(nameIc []string) ApiDcimVirtualChassisListRequest {
- r.nameIc = &nameIc
+func (r ApiDcimVirtualDeviceContextsListRequest) NameNie(nameNie []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.nameNie = &nameNie
return r
}
-func (r ApiDcimVirtualChassisListRequest) NameIe(nameIe []string) ApiDcimVirtualChassisListRequest {
- r.nameIe = &nameIe
+func (r ApiDcimVirtualDeviceContextsListRequest) NameNiew(nameNiew []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.nameNiew = &nameNiew
return r
}
-func (r ApiDcimVirtualChassisListRequest) NameIew(nameIew []string) ApiDcimVirtualChassisListRequest {
- r.nameIew = &nameIew
+func (r ApiDcimVirtualDeviceContextsListRequest) NameNire(nameNire []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.nameNire = &nameNire
return r
}
-func (r ApiDcimVirtualChassisListRequest) NameIre(nameIre []string) ApiDcimVirtualChassisListRequest {
- r.nameIre = &nameIre
+func (r ApiDcimVirtualDeviceContextsListRequest) NameNisw(nameNisw []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.nameNisw = &nameNisw
return r
}
-func (r ApiDcimVirtualChassisListRequest) NameIsw(nameIsw []string) ApiDcimVirtualChassisListRequest {
- r.nameIsw = &nameIsw
+func (r ApiDcimVirtualDeviceContextsListRequest) NameNre(nameNre []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.nameNre = &nameNre
return r
}
-func (r ApiDcimVirtualChassisListRequest) NameN(nameN []string) ApiDcimVirtualChassisListRequest {
- r.nameN = &nameN
+func (r ApiDcimVirtualDeviceContextsListRequest) NameRe(nameRe []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.nameRe = &nameRe
return r
}
-func (r ApiDcimVirtualChassisListRequest) NameNic(nameNic []string) ApiDcimVirtualChassisListRequest {
- r.nameNic = &nameNic
+// The initial index from which to return the results.
+func (r ApiDcimVirtualDeviceContextsListRequest) Offset(offset int32) ApiDcimVirtualDeviceContextsListRequest {
+ r.offset = &offset
return r
}
-func (r ApiDcimVirtualChassisListRequest) NameNie(nameNie []string) ApiDcimVirtualChassisListRequest {
- r.nameNie = &nameNie
+// Primary IPv4 Address (address or ID)
+func (r ApiDcimVirtualDeviceContextsListRequest) PrimaryIp4(primaryIp4 []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.primaryIp4 = &primaryIp4
return r
}
-func (r ApiDcimVirtualChassisListRequest) NameNiew(nameNiew []string) ApiDcimVirtualChassisListRequest {
- r.nameNiew = &nameNiew
+// Primary IPv6 Address (address or ID)
+func (r ApiDcimVirtualDeviceContextsListRequest) PrimaryIp6(primaryIp6 []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.primaryIp6 = &primaryIp6
return r
}
-func (r ApiDcimVirtualChassisListRequest) NameNire(nameNire []string) ApiDcimVirtualChassisListRequest {
- r.nameNire = &nameNire
+// Search
+func (r ApiDcimVirtualDeviceContextsListRequest) Q(q string) ApiDcimVirtualDeviceContextsListRequest {
+ r.q = &q
return r
}
-func (r ApiDcimVirtualChassisListRequest) NameNisw(nameNisw []string) ApiDcimVirtualChassisListRequest {
- r.nameNisw = &nameNisw
+func (r ApiDcimVirtualDeviceContextsListRequest) Role(role []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.role = &role
return r
}
-func (r ApiDcimVirtualChassisListRequest) NameNre(nameNre []string) ApiDcimVirtualChassisListRequest {
- r.nameNre = &nameNre
+// Role (name or ID) is null
+func (r ApiDcimVirtualDeviceContextsListRequest) RoleIsnull(roleIsnull bool) ApiDcimVirtualDeviceContextsListRequest {
+ r.roleIsnull = &roleIsnull
return r
}
-func (r ApiDcimVirtualChassisListRequest) NameRe(nameRe []string) ApiDcimVirtualChassisListRequest {
- r.nameRe = &nameRe
+func (r ApiDcimVirtualDeviceContextsListRequest) RoleN(roleN []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.roleN = &roleN
return r
}
-// The initial index from which to return the results.
-func (r ApiDcimVirtualChassisListRequest) Offset(offset int32) ApiDcimVirtualChassisListRequest {
- r.offset = &offset
+// Which field to use when ordering the results.
+func (r ApiDcimVirtualDeviceContextsListRequest) Sort(sort string) ApiDcimVirtualDeviceContextsListRequest {
+ r.sort = &sort
return r
}
-// Search
-func (r ApiDcimVirtualChassisListRequest) Q(q string) ApiDcimVirtualChassisListRequest {
- r.q = &q
+func (r ApiDcimVirtualDeviceContextsListRequest) Status(status []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.status = &status
return r
}
-// Which field to use when ordering the results.
-func (r ApiDcimVirtualChassisListRequest) Sort(sort string) ApiDcimVirtualChassisListRequest {
- r.sort = &sort
+func (r ApiDcimVirtualDeviceContextsListRequest) StatusN(statusN []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.statusN = &statusN
return r
}
-func (r ApiDcimVirtualChassisListRequest) Tags(tags []string) ApiDcimVirtualChassisListRequest {
+func (r ApiDcimVirtualDeviceContextsListRequest) Tags(tags []string) ApiDcimVirtualDeviceContextsListRequest {
r.tags = &tags
return r
}
-func (r ApiDcimVirtualChassisListRequest) TagsIsnull(tagsIsnull bool) ApiDcimVirtualChassisListRequest {
+func (r ApiDcimVirtualDeviceContextsListRequest) TagsIsnull(tagsIsnull bool) ApiDcimVirtualDeviceContextsListRequest {
r.tagsIsnull = &tagsIsnull
return r
}
-func (r ApiDcimVirtualChassisListRequest) TagsN(tagsN []string) ApiDcimVirtualChassisListRequest {
+func (r ApiDcimVirtualDeviceContextsListRequest) TagsN(tagsN []string) ApiDcimVirtualDeviceContextsListRequest {
r.tagsN = &tagsN
return r
}
-func (r ApiDcimVirtualChassisListRequest) Teams(teams []string) ApiDcimVirtualChassisListRequest {
+func (r ApiDcimVirtualDeviceContextsListRequest) Teams(teams []string) ApiDcimVirtualDeviceContextsListRequest {
r.teams = &teams
return r
}
// Teams (name or ID) is null
-func (r ApiDcimVirtualChassisListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimVirtualChassisListRequest {
+func (r ApiDcimVirtualDeviceContextsListRequest) TeamsIsnull(teamsIsnull bool) ApiDcimVirtualDeviceContextsListRequest {
r.teamsIsnull = &teamsIsnull
return r
}
-// Exclude Teams (name or ID)
-func (r ApiDcimVirtualChassisListRequest) TeamsN(teamsN string) ApiDcimVirtualChassisListRequest {
+func (r ApiDcimVirtualDeviceContextsListRequest) TeamsN(teamsN []string) ApiDcimVirtualDeviceContextsListRequest {
r.teamsN = &teamsN
return r
}
-func (r ApiDcimVirtualChassisListRequest) Tenant(tenant []string) ApiDcimVirtualChassisListRequest {
+func (r ApiDcimVirtualDeviceContextsListRequest) Tenant(tenant []string) ApiDcimVirtualDeviceContextsListRequest {
r.tenant = &tenant
return r
}
// Tenant (name or ID) is null
-func (r ApiDcimVirtualChassisListRequest) TenantIsnull(tenantIsnull bool) ApiDcimVirtualChassisListRequest {
+func (r ApiDcimVirtualDeviceContextsListRequest) TenantIsnull(tenantIsnull bool) ApiDcimVirtualDeviceContextsListRequest {
r.tenantIsnull = &tenantIsnull
return r
}
-func (r ApiDcimVirtualChassisListRequest) TenantN(tenantN []string) ApiDcimVirtualChassisListRequest {
+func (r ApiDcimVirtualDeviceContextsListRequest) TenantN(tenantN []string) ApiDcimVirtualDeviceContextsListRequest {
r.tenantN = &tenantN
return r
}
+func (r ApiDcimVirtualDeviceContextsListRequest) TenantGroup(tenantGroup []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.tenantGroup = &tenantGroup
+ return r
+}
+
+// Tenant Group (name or ID) is null
+func (r ApiDcimVirtualDeviceContextsListRequest) TenantGroupIsnull(tenantGroupIsnull bool) ApiDcimVirtualDeviceContextsListRequest {
+ r.tenantGroupIsnull = &tenantGroupIsnull
+ return r
+}
+
+func (r ApiDcimVirtualDeviceContextsListRequest) TenantGroupN(tenantGroupN []string) ApiDcimVirtualDeviceContextsListRequest {
+ r.tenantGroupN = &tenantGroupN
+ return r
+}
+
+// Tenant (ID) (deprecated, use \"tenant\" filter instead)
+func (r ApiDcimVirtualDeviceContextsListRequest) TenantId(tenantId []*string) ApiDcimVirtualDeviceContextsListRequest {
+ r.tenantId = &tenantId
+ return r
+}
+
+// Tenant (ID) (deprecated, use \"tenant\" filter instead) is null
+func (r ApiDcimVirtualDeviceContextsListRequest) TenantIdIsnull(tenantIdIsnull bool) ApiDcimVirtualDeviceContextsListRequest {
+ r.tenantIdIsnull = &tenantIdIsnull
+ return r
+}
+
+// Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead)
+func (r ApiDcimVirtualDeviceContextsListRequest) TenantIdN(tenantIdN []*string) ApiDcimVirtualDeviceContextsListRequest {
+ r.tenantIdN = &tenantIdN
+ return r
+}
+
// Serializer Depth
-func (r ApiDcimVirtualChassisListRequest) Depth(depth int32) ApiDcimVirtualChassisListRequest {
+func (r ApiDcimVirtualDeviceContextsListRequest) Depth(depth int32) ApiDcimVirtualDeviceContextsListRequest {
r.depth = &depth
return r
}
-func (r ApiDcimVirtualChassisListRequest) Execute() (*PaginatedVirtualChassisList, *http.Response, error) {
- return r.ApiService.DcimVirtualChassisListExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimVirtualDeviceContextsListRequest) ExcludeM2m(excludeM2m bool) ApiDcimVirtualDeviceContextsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimVirtualDeviceContextsListRequest) Execute() (*PaginatedVirtualDeviceContextList, *http.Response, error) {
+ return r.ApiService.DcimVirtualDeviceContextsListExecute(r)
}
/*
-DcimVirtualChassisList Method for DcimVirtualChassisList
+DcimVirtualDeviceContextsList Method for DcimVirtualDeviceContextsList
-Retrieve a list of virtual chassis objects.
+Retrieve a list of virtual device context objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDcimVirtualChassisListRequest
+ @return ApiDcimVirtualDeviceContextsListRequest
*/
-func (a *DcimAPIService) DcimVirtualChassisList(ctx context.Context) ApiDcimVirtualChassisListRequest {
- return ApiDcimVirtualChassisListRequest{
+func (a *DcimAPIService) DcimVirtualDeviceContextsList(ctx context.Context) ApiDcimVirtualDeviceContextsListRequest {
+ return ApiDcimVirtualDeviceContextsListRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return PaginatedVirtualChassisList
-func (a *DcimAPIService) DcimVirtualChassisListExecute(r ApiDcimVirtualChassisListRequest) (*PaginatedVirtualChassisList, *http.Response, error) {
+// @return PaginatedVirtualDeviceContextList
+func (a *DcimAPIService) DcimVirtualDeviceContextsListExecute(r ApiDcimVirtualDeviceContextsListRequest) (*PaginatedVirtualDeviceContextList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PaginatedVirtualChassisList
+ localVarReturnValue *PaginatedVirtualDeviceContextList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualChassisList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualDeviceContextsList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/virtual-chassis/"
+ localVarPath := localBasePath + "/dcim/virtual-device-contexts/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
@@ -140280,7 +139890,15 @@ func (a *DcimAPIService) DcimVirtualChassisListExecute(r ApiDcimVirtualChassisLi
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -140351,332 +139969,324 @@ func (a *DcimAPIService) DcimVirtualChassisListExecute(r ApiDcimVirtualChassisLi
parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "form", "multi")
}
}
- if r.domain != nil {
- t := *r.domain
+ if r.description != nil {
+ t := *r.description
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "domain", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "domain", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description", t, "form", "multi")
}
}
- if r.domainIc != nil {
- t := *r.domainIc
+ if r.descriptionIc != nil {
+ t := *r.descriptionIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "domain__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "domain__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", t, "form", "multi")
}
}
- if r.domainIe != nil {
- t := *r.domainIe
+ if r.descriptionIe != nil {
+ t := *r.descriptionIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "domain__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "domain__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", t, "form", "multi")
}
}
- if r.domainIew != nil {
- t := *r.domainIew
+ if r.descriptionIew != nil {
+ t := *r.descriptionIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "domain__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "domain__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", t, "form", "multi")
}
}
- if r.domainIre != nil {
- t := *r.domainIre
+ if r.descriptionIre != nil {
+ t := *r.descriptionIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "domain__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "domain__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", t, "form", "multi")
}
}
- if r.domainIsw != nil {
- t := *r.domainIsw
+ if r.descriptionIsw != nil {
+ t := *r.descriptionIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "domain__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "domain__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", t, "form", "multi")
}
}
- if r.domainN != nil {
- t := *r.domainN
+ if r.descriptionN != nil {
+ t := *r.descriptionN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "domain__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "domain__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", t, "form", "multi")
}
}
- if r.domainNic != nil {
- t := *r.domainNic
+ if r.descriptionNic != nil {
+ t := *r.descriptionNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "domain__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "domain__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", t, "form", "multi")
}
}
- if r.domainNie != nil {
- t := *r.domainNie
+ if r.descriptionNie != nil {
+ t := *r.descriptionNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "domain__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "domain__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", t, "form", "multi")
}
}
- if r.domainNiew != nil {
- t := *r.domainNiew
+ if r.descriptionNiew != nil {
+ t := *r.descriptionNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "domain__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "domain__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", t, "form", "multi")
}
}
- if r.domainNire != nil {
- t := *r.domainNire
+ if r.descriptionNire != nil {
+ t := *r.descriptionNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "domain__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "domain__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", t, "form", "multi")
}
}
- if r.domainNisw != nil {
- t := *r.domainNisw
+ if r.descriptionNisw != nil {
+ t := *r.descriptionNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "domain__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "domain__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", t, "form", "multi")
}
}
- if r.domainNre != nil {
- t := *r.domainNre
+ if r.descriptionNre != nil {
+ t := *r.descriptionNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "domain__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "domain__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", t, "form", "multi")
}
}
- if r.domainRe != nil {
- t := *r.domainRe
+ if r.descriptionRe != nil {
+ t := *r.descriptionRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "domain__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "domain__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", t, "form", "multi")
}
}
- if r.dynamicGroups != nil {
- t := *r.dynamicGroups
+ if r.device != nil {
+ t := *r.device
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device", t, "form", "multi")
}
}
- if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.hasMembers != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_members", r.hasMembers, "form", "")
- }
- if r.id != nil {
- t := *r.id
+ if r.deviceN != nil {
+ t := *r.deviceN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device__n", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
+ if r.dynamicGroups != nil {
+ t := *r.dynamicGroups
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
}
}
- if r.idIe != nil {
- t := *r.idIe
+ if r.dynamicGroupsN != nil {
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.hasInterfaces != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_interfaces", r.hasInterfaces, "form", "")
+ }
+ if r.hasPrimaryIp != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_primary_ip", r.hasPrimaryIp, "form", "")
}
- if r.idIre != nil {
- t := *r.idIre
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.idN != nil {
+ t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idN != nil {
- t := *r.idN
+ if r.identifier != nil {
+ t := *r.identifier
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "identifier", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "identifier", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
+ if r.identifierGt != nil {
+ t := *r.identifierGt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "identifier__gt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "identifier__gt", t, "form", "multi")
}
}
- if r.idNie != nil {
- t := *r.idNie
+ if r.identifierGte != nil {
+ t := *r.identifierGte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "identifier__gte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "identifier__gte", t, "form", "multi")
}
}
- if r.idNiew != nil {
- t := *r.idNiew
+ if r.identifierIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "identifier__isnull", r.identifierIsnull, "form", "")
+ }
+ if r.identifierLt != nil {
+ t := *r.identifierLt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "identifier__lt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "identifier__lt", t, "form", "multi")
}
}
- if r.idNire != nil {
- t := *r.idNire
+ if r.identifierLte != nil {
+ t := *r.identifierLte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "identifier__lte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "identifier__lte", t, "form", "multi")
}
}
- if r.idNisw != nil {
- t := *r.idNisw
+ if r.identifierN != nil {
+ t := *r.identifierN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "identifier__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "identifier__n", t, "form", "multi")
}
}
- if r.idNre != nil {
- t := *r.idNre
+ if r.interfaces != nil {
+ t := *r.interfaces
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "interfaces", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "interfaces", t, "form", "multi")
}
}
- if r.idRe != nil {
- t := *r.idRe
+ if r.interfacesN != nil {
+ t := *r.interfacesN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "interfaces__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "interfaces__n", t, "form", "multi")
}
}
if r.lastUpdated != nil {
@@ -140751,78 +140361,6 @@ func (a *DcimAPIService) DcimVirtualChassisListExecute(r ApiDcimVirtualChassisLi
if r.limit != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
- if r.location != nil {
- t := *r.location
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location", t, "form", "multi")
- }
- }
- if r.locationN != nil {
- t := *r.locationN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "location__n", t, "form", "multi")
- }
- }
- if r.master != nil {
- t := *r.master
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "master", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "master", t, "form", "multi")
- }
- }
- if r.masterIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "master__isnull", r.masterIsnull, "form", "")
- }
- if r.masterN != nil {
- t := *r.masterN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "master__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "master__n", t, "form", "multi")
- }
- }
- if r.members != nil {
- t := *r.members
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "members", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "members", t, "form", "multi")
- }
- }
- if r.membersIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "members__isnull", r.membersIsnull, "form", "")
- }
- if r.membersN != nil {
- t := *r.membersN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "members__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "members__n", t, "form", "multi")
- }
- }
if r.name != nil {
t := *r.name
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -140980,12 +140518,81 @@ func (a *DcimAPIService) DcimVirtualChassisListExecute(r ApiDcimVirtualChassisLi
if r.offset != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
}
+ if r.primaryIp4 != nil {
+ t := *r.primaryIp4
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "primary_ip4", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "primary_ip4", t, "form", "multi")
+ }
+ }
+ if r.primaryIp6 != nil {
+ t := *r.primaryIp6
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "primary_ip6", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "primary_ip6", t, "form", "multi")
+ }
+ }
if r.q != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
}
+ if r.role != nil {
+ t := *r.role
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role", t, "form", "multi")
+ }
+ }
+ if r.roleIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role__isnull", r.roleIsnull, "form", "")
+ }
+ if r.roleN != nil {
+ t := *r.roleN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", t, "form", "multi")
+ }
+ }
if r.sort != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
}
+ if r.status != nil {
+ t := *r.status
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status", t, "form", "multi")
+ }
+ }
+ if r.statusN != nil {
+ t := *r.statusN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "form", "multi")
+ }
+ }
if r.tags != nil {
t := *r.tags
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -141026,7 +140633,15 @@ func (a *DcimAPIService) DcimVirtualChassisListExecute(r ApiDcimVirtualChassisLi
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.tenant != nil {
t := *r.tenant
@@ -141053,11 +140668,69 @@ func (a *DcimAPIService) DcimVirtualChassisListExecute(r ApiDcimVirtualChassisLi
parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__n", t, "form", "multi")
}
}
+ if r.tenantGroup != nil {
+ t := *r.tenantGroup
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group", t, "form", "multi")
+ }
+ }
+ if r.tenantGroupIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group__isnull", r.tenantGroupIsnull, "form", "")
+ }
+ if r.tenantGroupN != nil {
+ t := *r.tenantGroupN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group__n", t, "form", "multi")
+ }
+ }
+ if r.tenantId != nil {
+ t := *r.tenantId
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id", t, "form", "multi")
+ }
+ }
+ if r.tenantIdIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__isnull", r.tenantIdIsnull, "form", "")
+ }
+ if r.tenantIdN != nil {
+ t := *r.tenantIdN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__n", t, "form", "multi")
+ }
+ }
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -141127,7 +140800,7 @@ func (a *DcimAPIService) DcimVirtualChassisListExecute(r ApiDcimVirtualChassisLi
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimVirtualChassisNotesCreateRequest struct {
+type ApiDcimVirtualDeviceContextsNotesCreateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
@@ -141135,31 +140808,31 @@ type ApiDcimVirtualChassisNotesCreateRequest struct {
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimVirtualChassisNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimVirtualChassisNotesCreateRequest {
+func (r ApiDcimVirtualDeviceContextsNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiDcimVirtualDeviceContextsNotesCreateRequest {
r.noteInputRequest = ¬eInputRequest
return r
}
-func (r ApiDcimVirtualChassisNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualChassisNotesCreateRequest {
+func (r ApiDcimVirtualDeviceContextsNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualDeviceContextsNotesCreateRequest {
r.format = &format
return r
}
-func (r ApiDcimVirtualChassisNotesCreateRequest) Execute() (*Note, *http.Response, error) {
- return r.ApiService.DcimVirtualChassisNotesCreateExecute(r)
+func (r ApiDcimVirtualDeviceContextsNotesCreateRequest) Execute() (*Note, *http.Response, error) {
+ return r.ApiService.DcimVirtualDeviceContextsNotesCreateExecute(r)
}
/*
-DcimVirtualChassisNotesCreate Method for DcimVirtualChassisNotesCreate
+DcimVirtualDeviceContextsNotesCreate Method for DcimVirtualDeviceContextsNotesCreate
API methods for returning or creating notes on an object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this virtual chassis.
- @return ApiDcimVirtualChassisNotesCreateRequest
+ @param id A UUID string identifying this virtual device context.
+ @return ApiDcimVirtualDeviceContextsNotesCreateRequest
*/
-func (a *DcimAPIService) DcimVirtualChassisNotesCreate(ctx context.Context, id string) ApiDcimVirtualChassisNotesCreateRequest {
- return ApiDcimVirtualChassisNotesCreateRequest{
+func (a *DcimAPIService) DcimVirtualDeviceContextsNotesCreate(ctx context.Context, id string) ApiDcimVirtualDeviceContextsNotesCreateRequest {
+ return ApiDcimVirtualDeviceContextsNotesCreateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -141168,7 +140841,7 @@ func (a *DcimAPIService) DcimVirtualChassisNotesCreate(ctx context.Context, id s
// Execute executes the request
// @return Note
-func (a *DcimAPIService) DcimVirtualChassisNotesCreateExecute(r ApiDcimVirtualChassisNotesCreateRequest) (*Note, *http.Response, error) {
+func (a *DcimAPIService) DcimVirtualDeviceContextsNotesCreateExecute(r ApiDcimVirtualDeviceContextsNotesCreateRequest) (*Note, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -141176,12 +140849,12 @@ func (a *DcimAPIService) DcimVirtualChassisNotesCreateExecute(r ApiDcimVirtualCh
localVarReturnValue *Note
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualChassisNotesCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualDeviceContextsNotesCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/virtual-chassis/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/virtual-device-contexts/{id}/notes/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -141264,7 +140937,7 @@ func (a *DcimAPIService) DcimVirtualChassisNotesCreateExecute(r ApiDcimVirtualCh
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimVirtualChassisNotesListRequest struct {
+type ApiDcimVirtualDeviceContextsNotesListRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
@@ -141272,46 +140945,53 @@ type ApiDcimVirtualChassisNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimVirtualChassisNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualChassisNotesListRequest {
+func (r ApiDcimVirtualDeviceContextsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualDeviceContextsNotesListRequest {
r.format = &format
return r
}
// Number of results to return per page.
-func (r ApiDcimVirtualChassisNotesListRequest) Limit(limit int32) ApiDcimVirtualChassisNotesListRequest {
+func (r ApiDcimVirtualDeviceContextsNotesListRequest) Limit(limit int32) ApiDcimVirtualDeviceContextsNotesListRequest {
r.limit = &limit
return r
}
// The initial index from which to return the results.
-func (r ApiDcimVirtualChassisNotesListRequest) Offset(offset int32) ApiDcimVirtualChassisNotesListRequest {
+func (r ApiDcimVirtualDeviceContextsNotesListRequest) Offset(offset int32) ApiDcimVirtualDeviceContextsNotesListRequest {
r.offset = &offset
return r
}
// Serializer Depth
-func (r ApiDcimVirtualChassisNotesListRequest) Depth(depth int32) ApiDcimVirtualChassisNotesListRequest {
+func (r ApiDcimVirtualDeviceContextsNotesListRequest) Depth(depth int32) ApiDcimVirtualDeviceContextsNotesListRequest {
r.depth = &depth
return r
}
-func (r ApiDcimVirtualChassisNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
- return r.ApiService.DcimVirtualChassisNotesListExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimVirtualDeviceContextsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiDcimVirtualDeviceContextsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimVirtualDeviceContextsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
+ return r.ApiService.DcimVirtualDeviceContextsNotesListExecute(r)
}
/*
-DcimVirtualChassisNotesList Method for DcimVirtualChassisNotesList
+DcimVirtualDeviceContextsNotesList Method for DcimVirtualDeviceContextsNotesList
API methods for returning or creating notes on an object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this virtual chassis.
- @return ApiDcimVirtualChassisNotesListRequest
+ @param id A UUID string identifying this virtual device context.
+ @return ApiDcimVirtualDeviceContextsNotesListRequest
*/
-func (a *DcimAPIService) DcimVirtualChassisNotesList(ctx context.Context, id string) ApiDcimVirtualChassisNotesListRequest {
- return ApiDcimVirtualChassisNotesListRequest{
+func (a *DcimAPIService) DcimVirtualDeviceContextsNotesList(ctx context.Context, id string) ApiDcimVirtualDeviceContextsNotesListRequest {
+ return ApiDcimVirtualDeviceContextsNotesListRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -141320,7 +141000,7 @@ func (a *DcimAPIService) DcimVirtualChassisNotesList(ctx context.Context, id str
// Execute executes the request
// @return PaginatedNoteList
-func (a *DcimAPIService) DcimVirtualChassisNotesListExecute(r ApiDcimVirtualChassisNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
+func (a *DcimAPIService) DcimVirtualDeviceContextsNotesListExecute(r ApiDcimVirtualDeviceContextsNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -141328,12 +141008,12 @@ func (a *DcimAPIService) DcimVirtualChassisNotesListExecute(r ApiDcimVirtualChas
localVarReturnValue *PaginatedNoteList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualChassisNotesList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualDeviceContextsNotesList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/virtual-chassis/{id}/notes/"
+ localVarPath := localBasePath + "/dcim/virtual-device-contexts/{id}/notes/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -141352,8 +141032,16 @@ func (a *DcimAPIService) DcimVirtualChassisNotesListExecute(r ApiDcimVirtualChas
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -141423,39 +141111,39 @@ func (a *DcimAPIService) DcimVirtualChassisNotesListExecute(r ApiDcimVirtualChas
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimVirtualChassisPartialUpdateRequest struct {
+type ApiDcimVirtualDeviceContextsPartialUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
- patchedVirtualChassisRequest *PatchedVirtualChassisRequest
+ patchedVirtualDeviceContextRequest *PatchedVirtualDeviceContextRequest
}
-func (r ApiDcimVirtualChassisPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualChassisPartialUpdateRequest {
+func (r ApiDcimVirtualDeviceContextsPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualDeviceContextsPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimVirtualChassisPartialUpdateRequest) PatchedVirtualChassisRequest(patchedVirtualChassisRequest PatchedVirtualChassisRequest) ApiDcimVirtualChassisPartialUpdateRequest {
- r.patchedVirtualChassisRequest = &patchedVirtualChassisRequest
+func (r ApiDcimVirtualDeviceContextsPartialUpdateRequest) PatchedVirtualDeviceContextRequest(patchedVirtualDeviceContextRequest PatchedVirtualDeviceContextRequest) ApiDcimVirtualDeviceContextsPartialUpdateRequest {
+ r.patchedVirtualDeviceContextRequest = &patchedVirtualDeviceContextRequest
return r
}
-func (r ApiDcimVirtualChassisPartialUpdateRequest) Execute() (*VirtualChassis, *http.Response, error) {
- return r.ApiService.DcimVirtualChassisPartialUpdateExecute(r)
+func (r ApiDcimVirtualDeviceContextsPartialUpdateRequest) Execute() (*VirtualDeviceContext, *http.Response, error) {
+ return r.ApiService.DcimVirtualDeviceContextsPartialUpdateExecute(r)
}
/*
-DcimVirtualChassisPartialUpdate Method for DcimVirtualChassisPartialUpdate
+DcimVirtualDeviceContextsPartialUpdate Method for DcimVirtualDeviceContextsPartialUpdate
-Partial update a virtual chassis object.
+Partial update a virtual device context object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this virtual chassis.
- @return ApiDcimVirtualChassisPartialUpdateRequest
+ @param id A UUID string identifying this virtual device context.
+ @return ApiDcimVirtualDeviceContextsPartialUpdateRequest
*/
-func (a *DcimAPIService) DcimVirtualChassisPartialUpdate(ctx context.Context, id string) ApiDcimVirtualChassisPartialUpdateRequest {
- return ApiDcimVirtualChassisPartialUpdateRequest{
+func (a *DcimAPIService) DcimVirtualDeviceContextsPartialUpdate(ctx context.Context, id string) ApiDcimVirtualDeviceContextsPartialUpdateRequest {
+ return ApiDcimVirtualDeviceContextsPartialUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -141463,21 +141151,21 @@ func (a *DcimAPIService) DcimVirtualChassisPartialUpdate(ctx context.Context, id
}
// Execute executes the request
-// @return VirtualChassis
-func (a *DcimAPIService) DcimVirtualChassisPartialUpdateExecute(r ApiDcimVirtualChassisPartialUpdateRequest) (*VirtualChassis, *http.Response, error) {
+// @return VirtualDeviceContext
+func (a *DcimAPIService) DcimVirtualDeviceContextsPartialUpdateExecute(r ApiDcimVirtualDeviceContextsPartialUpdateRequest) (*VirtualDeviceContext, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *VirtualChassis
+ localVarReturnValue *VirtualDeviceContext
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualChassisPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualDeviceContextsPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/virtual-chassis/{id}/"
+ localVarPath := localBasePath + "/dcim/virtual-device-contexts/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -141505,7 +141193,7 @@ func (a *DcimAPIService) DcimVirtualChassisPartialUpdateExecute(r ApiDcimVirtual
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedVirtualChassisRequest
+ localVarPostBody = r.patchedVirtualDeviceContextRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -141557,40 +141245,47 @@ func (a *DcimAPIService) DcimVirtualChassisPartialUpdateExecute(r ApiDcimVirtual
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimVirtualChassisRetrieveRequest struct {
+type ApiDcimVirtualDeviceContextsRetrieveRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
-func (r ApiDcimVirtualChassisRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualChassisRetrieveRequest {
+func (r ApiDcimVirtualDeviceContextsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualDeviceContextsRetrieveRequest {
r.format = &format
return r
}
// Serializer Depth
-func (r ApiDcimVirtualChassisRetrieveRequest) Depth(depth int32) ApiDcimVirtualChassisRetrieveRequest {
+func (r ApiDcimVirtualDeviceContextsRetrieveRequest) Depth(depth int32) ApiDcimVirtualDeviceContextsRetrieveRequest {
r.depth = &depth
return r
}
-func (r ApiDcimVirtualChassisRetrieveRequest) Execute() (*VirtualChassis, *http.Response, error) {
- return r.ApiService.DcimVirtualChassisRetrieveExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiDcimVirtualDeviceContextsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiDcimVirtualDeviceContextsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiDcimVirtualDeviceContextsRetrieveRequest) Execute() (*VirtualDeviceContext, *http.Response, error) {
+ return r.ApiService.DcimVirtualDeviceContextsRetrieveExecute(r)
}
/*
-DcimVirtualChassisRetrieve Method for DcimVirtualChassisRetrieve
+DcimVirtualDeviceContextsRetrieve Method for DcimVirtualDeviceContextsRetrieve
-Retrieve a virtual chassis object.
+Retrieve a virtual device context object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this virtual chassis.
- @return ApiDcimVirtualChassisRetrieveRequest
+ @param id A UUID string identifying this virtual device context.
+ @return ApiDcimVirtualDeviceContextsRetrieveRequest
*/
-func (a *DcimAPIService) DcimVirtualChassisRetrieve(ctx context.Context, id string) ApiDcimVirtualChassisRetrieveRequest {
- return ApiDcimVirtualChassisRetrieveRequest{
+func (a *DcimAPIService) DcimVirtualDeviceContextsRetrieve(ctx context.Context, id string) ApiDcimVirtualDeviceContextsRetrieveRequest {
+ return ApiDcimVirtualDeviceContextsRetrieveRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -141598,21 +141293,21 @@ func (a *DcimAPIService) DcimVirtualChassisRetrieve(ctx context.Context, id stri
}
// Execute executes the request
-// @return VirtualChassis
-func (a *DcimAPIService) DcimVirtualChassisRetrieveExecute(r ApiDcimVirtualChassisRetrieveRequest) (*VirtualChassis, *http.Response, error) {
+// @return VirtualDeviceContext
+func (a *DcimAPIService) DcimVirtualDeviceContextsRetrieveExecute(r ApiDcimVirtualDeviceContextsRetrieveRequest) (*VirtualDeviceContext, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *VirtualChassis
+ localVarReturnValue *VirtualDeviceContext
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualChassisRetrieve")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualDeviceContextsRetrieve")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/virtual-chassis/{id}/"
+ localVarPath := localBasePath + "/dcim/virtual-device-contexts/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -141625,8 +141320,16 @@ func (a *DcimAPIService) DcimVirtualChassisRetrieveExecute(r ApiDcimVirtualChass
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -141696,39 +141399,39 @@ func (a *DcimAPIService) DcimVirtualChassisRetrieveExecute(r ApiDcimVirtualChass
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiDcimVirtualChassisUpdateRequest struct {
+type ApiDcimVirtualDeviceContextsUpdateRequest struct {
ctx context.Context
ApiService *DcimAPIService
id string
- virtualChassisRequest *VirtualChassisRequest
+ virtualDeviceContextRequest *VirtualDeviceContextRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiDcimVirtualChassisUpdateRequest) VirtualChassisRequest(virtualChassisRequest VirtualChassisRequest) ApiDcimVirtualChassisUpdateRequest {
- r.virtualChassisRequest = &virtualChassisRequest
+func (r ApiDcimVirtualDeviceContextsUpdateRequest) VirtualDeviceContextRequest(virtualDeviceContextRequest VirtualDeviceContextRequest) ApiDcimVirtualDeviceContextsUpdateRequest {
+ r.virtualDeviceContextRequest = &virtualDeviceContextRequest
return r
}
-func (r ApiDcimVirtualChassisUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualChassisUpdateRequest {
+func (r ApiDcimVirtualDeviceContextsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiDcimVirtualDeviceContextsUpdateRequest {
r.format = &format
return r
}
-func (r ApiDcimVirtualChassisUpdateRequest) Execute() (*VirtualChassis, *http.Response, error) {
- return r.ApiService.DcimVirtualChassisUpdateExecute(r)
+func (r ApiDcimVirtualDeviceContextsUpdateRequest) Execute() (*VirtualDeviceContext, *http.Response, error) {
+ return r.ApiService.DcimVirtualDeviceContextsUpdateExecute(r)
}
/*
-DcimVirtualChassisUpdate Method for DcimVirtualChassisUpdate
+DcimVirtualDeviceContextsUpdate Method for DcimVirtualDeviceContextsUpdate
-Update a virtual chassis object.
+Update a virtual device context object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this virtual chassis.
- @return ApiDcimVirtualChassisUpdateRequest
+ @param id A UUID string identifying this virtual device context.
+ @return ApiDcimVirtualDeviceContextsUpdateRequest
*/
-func (a *DcimAPIService) DcimVirtualChassisUpdate(ctx context.Context, id string) ApiDcimVirtualChassisUpdateRequest {
- return ApiDcimVirtualChassisUpdateRequest{
+func (a *DcimAPIService) DcimVirtualDeviceContextsUpdate(ctx context.Context, id string) ApiDcimVirtualDeviceContextsUpdateRequest {
+ return ApiDcimVirtualDeviceContextsUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -141736,28 +141439,28 @@ func (a *DcimAPIService) DcimVirtualChassisUpdate(ctx context.Context, id string
}
// Execute executes the request
-// @return VirtualChassis
-func (a *DcimAPIService) DcimVirtualChassisUpdateExecute(r ApiDcimVirtualChassisUpdateRequest) (*VirtualChassis, *http.Response, error) {
+// @return VirtualDeviceContext
+func (a *DcimAPIService) DcimVirtualDeviceContextsUpdateExecute(r ApiDcimVirtualDeviceContextsUpdateRequest) (*VirtualDeviceContext, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *VirtualChassis
+ localVarReturnValue *VirtualDeviceContext
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualChassisUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DcimAPIService.DcimVirtualDeviceContextsUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/dcim/virtual-chassis/{id}/"
+ localVarPath := localBasePath + "/dcim/virtual-device-contexts/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.virtualChassisRequest == nil {
- return localVarReturnValue, nil, reportError("virtualChassisRequest is required and must be specified")
+ if r.virtualDeviceContextRequest == nil {
+ return localVarReturnValue, nil, reportError("virtualDeviceContextRequest is required and must be specified")
}
if r.format != nil {
@@ -141781,7 +141484,7 @@ func (a *DcimAPIService) DcimVirtualChassisUpdateExecute(r ApiDcimVirtualChassis
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.virtualChassisRequest
+ localVarPostBody = r.virtualDeviceContextRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
diff --git a/api_extras.go b/api_extras.go
index f88b8f62..9c2a049e 100644
--- a/api_extras.go
+++ b/api_extras.go
@@ -3,7 +3,7 @@ API Documentation
Source of truth and network automation platform
-API version: 2.3.4 (2.3)
+API version: 2.4.21 (2.4)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -667,11 +667,11 @@ type ApiExtrasComputedFieldsListRequest struct {
ApiService *ExtrasAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
contentType *string
contentTypeN *string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
fallbackValue *[]string
fallbackValueIc *[]string
fallbackValueIe *[]string
@@ -702,19 +702,7 @@ type ApiExtrasComputedFieldsListRequest struct {
groupingNre *[]string
groupingRe *[]string
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
key *[]string
keyIc *[]string
keyIe *[]string
@@ -735,7 +723,7 @@ type ApiExtrasComputedFieldsListRequest struct {
sort *string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
template *[]string
templateIc *[]string
templateIe *[]string
@@ -757,6 +745,7 @@ type ApiExtrasComputedFieldsListRequest struct {
weightLte *[]int32
weightN *[]int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasComputedFieldsListRequest) Contacts(contacts []string) ApiExtrasComputedFieldsListRequest {
@@ -770,8 +759,7 @@ func (r ApiExtrasComputedFieldsListRequest) ContactsIsnull(contactsIsnull bool)
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiExtrasComputedFieldsListRequest) ContactsN(contactsN string) ApiExtrasComputedFieldsListRequest {
+func (r ApiExtrasComputedFieldsListRequest) ContactsN(contactsN []string) ApiExtrasComputedFieldsListRequest {
r.contactsN = &contactsN
return r
}
@@ -791,8 +779,7 @@ func (r ApiExtrasComputedFieldsListRequest) DynamicGroups(dynamicGroups []string
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiExtrasComputedFieldsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiExtrasComputedFieldsListRequest {
+func (r ApiExtrasComputedFieldsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiExtrasComputedFieldsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -948,71 +935,11 @@ func (r ApiExtrasComputedFieldsListRequest) Id(id []string) ApiExtrasComputedFie
return r
}
-func (r ApiExtrasComputedFieldsListRequest) IdIc(idIc []string) ApiExtrasComputedFieldsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasComputedFieldsListRequest) IdIe(idIe []string) ApiExtrasComputedFieldsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasComputedFieldsListRequest) IdIew(idIew []string) ApiExtrasComputedFieldsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasComputedFieldsListRequest) IdIre(idIre []string) ApiExtrasComputedFieldsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasComputedFieldsListRequest) IdIsw(idIsw []string) ApiExtrasComputedFieldsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasComputedFieldsListRequest) IdN(idN []string) ApiExtrasComputedFieldsListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasComputedFieldsListRequest) IdNic(idNic []string) ApiExtrasComputedFieldsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasComputedFieldsListRequest) IdNie(idNie []string) ApiExtrasComputedFieldsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasComputedFieldsListRequest) IdNiew(idNiew []string) ApiExtrasComputedFieldsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasComputedFieldsListRequest) IdNire(idNire []string) ApiExtrasComputedFieldsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasComputedFieldsListRequest) IdNisw(idNisw []string) ApiExtrasComputedFieldsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasComputedFieldsListRequest) IdNre(idNre []string) ApiExtrasComputedFieldsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasComputedFieldsListRequest) IdRe(idRe []string) ApiExtrasComputedFieldsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiExtrasComputedFieldsListRequest) Key(key []string) ApiExtrasComputedFieldsListRequest {
r.key = &key
return r
@@ -1118,8 +1045,7 @@ func (r ApiExtrasComputedFieldsListRequest) TeamsIsnull(teamsIsnull bool) ApiExt
return r
}
-// Exclude Teams (name or ID)
-func (r ApiExtrasComputedFieldsListRequest) TeamsN(teamsN string) ApiExtrasComputedFieldsListRequest {
+func (r ApiExtrasComputedFieldsListRequest) TeamsN(teamsN []string) ApiExtrasComputedFieldsListRequest {
r.teamsN = &teamsN
return r
}
@@ -1230,6 +1156,12 @@ func (r ApiExtrasComputedFieldsListRequest) Depth(depth int32) ApiExtrasComputed
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasComputedFieldsListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasComputedFieldsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasComputedFieldsListRequest) Execute() (*PaginatedComputedFieldList, *http.Response, error) {
return r.ApiService.ExtrasComputedFieldsListExecute(r)
}
@@ -1285,7 +1217,15 @@ func (a *ExtrasAPIService) ExtrasComputedFieldsListExecute(r ApiExtrasComputedFi
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.contentType != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "content_type", r.contentType, "form", "")
@@ -1305,7 +1245,15 @@ func (a *ExtrasAPIService) ExtrasComputedFieldsListExecute(r ApiExtrasComputedFi
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.fallbackValue != nil {
t := *r.fallbackValue
@@ -1629,61 +1577,6 @@ func (a *ExtrasAPIService) ExtrasComputedFieldsListExecute(r ApiExtrasComputedFi
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -1695,83 +1588,6 @@ func (a *ExtrasAPIService) ExtrasComputedFieldsListExecute(r ApiExtrasComputedFi
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.key != nil {
t := *r.key
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -1953,7 +1769,15 @@ func (a *ExtrasAPIService) ExtrasComputedFieldsListExecute(r ApiExtrasComputedFi
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.template != nil {
t := *r.template
@@ -2178,8 +2002,16 @@ func (a *ExtrasAPIService) ExtrasComputedFieldsListExecute(r ApiExtrasComputedFi
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -2394,6 +2226,7 @@ type ApiExtrasComputedFieldsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasComputedFieldsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasComputedFieldsNotesListRequest {
@@ -2419,6 +2252,12 @@ func (r ApiExtrasComputedFieldsNotesListRequest) Depth(depth int32) ApiExtrasCom
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasComputedFieldsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasComputedFieldsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasComputedFieldsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.ExtrasComputedFieldsNotesListExecute(r)
}
@@ -2474,8 +2313,16 @@ func (a *ExtrasAPIService) ExtrasComputedFieldsNotesListExecute(r ApiExtrasCompu
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -2685,6 +2532,7 @@ type ApiExtrasComputedFieldsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasComputedFieldsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasComputedFieldsRetrieveRequest {
@@ -2698,6 +2546,12 @@ func (r ApiExtrasComputedFieldsRetrieveRequest) Depth(depth int32) ApiExtrasComp
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasComputedFieldsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasComputedFieldsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasComputedFieldsRetrieveRequest) Execute() (*ComputedField, *http.Response, error) {
return r.ApiService.ExtrasComputedFieldsRetrieveExecute(r)
}
@@ -2747,8 +2601,16 @@ func (a *ExtrasAPIService) ExtrasComputedFieldsRetrieveExecute(r ApiExtrasComput
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -3596,7 +3458,7 @@ type ApiExtrasConfigContextSchemasListRequest struct {
ApiService *ExtrasAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
description *[]string
descriptionIc *[]string
descriptionIe *[]string
@@ -3612,22 +3474,10 @@ type ApiExtrasConfigContextSchemasListRequest struct {
descriptionNre *[]string
descriptionRe *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
limit *int32
name *[]string
nameIc *[]string
@@ -3651,8 +3501,9 @@ type ApiExtrasConfigContextSchemasListRequest struct {
sort *string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasConfigContextSchemasListRequest) Contacts(contacts []string) ApiExtrasConfigContextSchemasListRequest {
@@ -3666,8 +3517,7 @@ func (r ApiExtrasConfigContextSchemasListRequest) ContactsIsnull(contactsIsnull
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiExtrasConfigContextSchemasListRequest) ContactsN(contactsN string) ApiExtrasConfigContextSchemasListRequest {
+func (r ApiExtrasConfigContextSchemasListRequest) ContactsN(contactsN []string) ApiExtrasConfigContextSchemasListRequest {
r.contactsN = &contactsN
return r
}
@@ -3747,8 +3597,7 @@ func (r ApiExtrasConfigContextSchemasListRequest) DynamicGroups(dynamicGroups []
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiExtrasConfigContextSchemasListRequest) DynamicGroupsN(dynamicGroupsN string) ApiExtrasConfigContextSchemasListRequest {
+func (r ApiExtrasConfigContextSchemasListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiExtrasConfigContextSchemasListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -3764,71 +3613,11 @@ func (r ApiExtrasConfigContextSchemasListRequest) Id(id []string) ApiExtrasConfi
return r
}
-func (r ApiExtrasConfigContextSchemasListRequest) IdIc(idIc []string) ApiExtrasConfigContextSchemasListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasConfigContextSchemasListRequest) IdIe(idIe []string) ApiExtrasConfigContextSchemasListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasConfigContextSchemasListRequest) IdIew(idIew []string) ApiExtrasConfigContextSchemasListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasConfigContextSchemasListRequest) IdIre(idIre []string) ApiExtrasConfigContextSchemasListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasConfigContextSchemasListRequest) IdIsw(idIsw []string) ApiExtrasConfigContextSchemasListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasConfigContextSchemasListRequest) IdN(idN []string) ApiExtrasConfigContextSchemasListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasConfigContextSchemasListRequest) IdNic(idNic []string) ApiExtrasConfigContextSchemasListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasConfigContextSchemasListRequest) IdNie(idNie []string) ApiExtrasConfigContextSchemasListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasConfigContextSchemasListRequest) IdNiew(idNiew []string) ApiExtrasConfigContextSchemasListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasConfigContextSchemasListRequest) IdNire(idNire []string) ApiExtrasConfigContextSchemasListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasConfigContextSchemasListRequest) IdNisw(idNisw []string) ApiExtrasConfigContextSchemasListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasConfigContextSchemasListRequest) IdNre(idNre []string) ApiExtrasConfigContextSchemasListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasConfigContextSchemasListRequest) IdRe(idRe []string) ApiExtrasConfigContextSchemasListRequest {
- r.idRe = &idRe
- return r
-}
-
// Number of results to return per page.
func (r ApiExtrasConfigContextSchemasListRequest) Limit(limit int32) ApiExtrasConfigContextSchemasListRequest {
r.limit = &limit
@@ -3949,8 +3738,7 @@ func (r ApiExtrasConfigContextSchemasListRequest) TeamsIsnull(teamsIsnull bool)
return r
}
-// Exclude Teams (name or ID)
-func (r ApiExtrasConfigContextSchemasListRequest) TeamsN(teamsN string) ApiExtrasConfigContextSchemasListRequest {
+func (r ApiExtrasConfigContextSchemasListRequest) TeamsN(teamsN []string) ApiExtrasConfigContextSchemasListRequest {
r.teamsN = &teamsN
return r
}
@@ -3961,6 +3749,12 @@ func (r ApiExtrasConfigContextSchemasListRequest) Depth(depth int32) ApiExtrasCo
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasConfigContextSchemasListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasConfigContextSchemasListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasConfigContextSchemasListRequest) Execute() (*PaginatedConfigContextSchemaList, *http.Response, error) {
return r.ApiService.ExtrasConfigContextSchemasListExecute(r)
}
@@ -4016,7 +3810,15 @@ func (a *ExtrasAPIService) ExtrasConfigContextSchemasListExecute(r ApiExtrasConf
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.description != nil {
t := *r.description
@@ -4184,75 +3986,28 @@ func (a *ExtrasAPIService) ExtrasConfigContextSchemasListExecute(r ApiExtrasConf
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.id != nil {
- t := *r.id
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
- }
- }
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
if r.idN != nil {
@@ -4266,83 +4021,6 @@ func (a *ExtrasAPIService) ExtrasConfigContextSchemasListExecute(r ApiExtrasConf
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.limit != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
@@ -4533,13 +4211,29 @@ func (a *ExtrasAPIService) ExtrasConfigContextSchemasListExecute(r ApiExtrasConf
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -4754,6 +4448,7 @@ type ApiExtrasConfigContextSchemasNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasConfigContextSchemasNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasConfigContextSchemasNotesListRequest {
@@ -4779,6 +4474,12 @@ func (r ApiExtrasConfigContextSchemasNotesListRequest) Depth(depth int32) ApiExt
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasConfigContextSchemasNotesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasConfigContextSchemasNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasConfigContextSchemasNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.ExtrasConfigContextSchemasNotesListExecute(r)
}
@@ -4834,8 +4535,16 @@ func (a *ExtrasAPIService) ExtrasConfigContextSchemasNotesListExecute(r ApiExtra
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -5045,6 +4754,7 @@ type ApiExtrasConfigContextSchemasRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasConfigContextSchemasRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasConfigContextSchemasRetrieveRequest {
@@ -5058,6 +4768,12 @@ func (r ApiExtrasConfigContextSchemasRetrieveRequest) Depth(depth int32) ApiExtr
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasConfigContextSchemasRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasConfigContextSchemasRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasConfigContextSchemasRetrieveRequest) Execute() (*ConfigContextSchema, *http.Response, error) {
return r.ApiService.ExtrasConfigContextSchemasRetrieveExecute(r)
}
@@ -5107,8 +4823,16 @@ func (a *ExtrasAPIService) ExtrasConfigContextSchemasRetrieveExecute(r ApiExtras
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -5962,7 +5686,7 @@ type ApiExtrasConfigContextsListRequest struct {
clusterIdN *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
deviceRedundancyGroup *[]string
deviceRedundancyGroupN *[]string
deviceType *[]string
@@ -5971,19 +5695,7 @@ type ApiExtrasConfigContextsListRequest struct {
deviceTypeIdN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
isActive *bool
limit *int32
location *[]string
@@ -6009,20 +5721,8 @@ type ApiExtrasConfigContextsListRequest struct {
ownerContentTypeIsnull *bool
ownerContentTypeN *string
ownerObjectId *[]string
- ownerObjectIdIc *[]string
- ownerObjectIdIe *[]string
- ownerObjectIdIew *[]string
- ownerObjectIdIre *[]string
ownerObjectIdIsnull *bool
- ownerObjectIdIsw *[]string
ownerObjectIdN *[]string
- ownerObjectIdNic *[]string
- ownerObjectIdNie *[]string
- ownerObjectIdNiew *[]string
- ownerObjectIdNire *[]string
- ownerObjectIdNisw *[]string
- ownerObjectIdNre *[]string
- ownerObjectIdRe *[]string
platform *[]string
platformN *[]string
platformId *[]string
@@ -6038,7 +5738,7 @@ type ApiExtrasConfigContextsListRequest struct {
tagN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
tenant *[]string
tenantN *[]string
tenantGroup *[]string
@@ -6048,6 +5748,7 @@ type ApiExtrasConfigContextsListRequest struct {
tenantId *[]string
tenantIdN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasConfigContextsListRequest) ClusterGroup(clusterGroup []string) ApiExtrasConfigContextsListRequest {
@@ -6095,8 +5796,7 @@ func (r ApiExtrasConfigContextsListRequest) ContactsIsnull(contactsIsnull bool)
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiExtrasConfigContextsListRequest) ContactsN(contactsN string) ApiExtrasConfigContextsListRequest {
+func (r ApiExtrasConfigContextsListRequest) ContactsN(contactsN []string) ApiExtrasConfigContextsListRequest {
r.contactsN = &contactsN
return r
}
@@ -6144,71 +5844,11 @@ func (r ApiExtrasConfigContextsListRequest) Id(id []string) ApiExtrasConfigConte
return r
}
-func (r ApiExtrasConfigContextsListRequest) IdIc(idIc []string) ApiExtrasConfigContextsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasConfigContextsListRequest) IdIe(idIe []string) ApiExtrasConfigContextsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasConfigContextsListRequest) IdIew(idIew []string) ApiExtrasConfigContextsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasConfigContextsListRequest) IdIre(idIre []string) ApiExtrasConfigContextsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasConfigContextsListRequest) IdIsw(idIsw []string) ApiExtrasConfigContextsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasConfigContextsListRequest) IdN(idN []string) ApiExtrasConfigContextsListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasConfigContextsListRequest) IdNic(idNic []string) ApiExtrasConfigContextsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasConfigContextsListRequest) IdNie(idNie []string) ApiExtrasConfigContextsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasConfigContextsListRequest) IdNiew(idNiew []string) ApiExtrasConfigContextsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasConfigContextsListRequest) IdNire(idNire []string) ApiExtrasConfigContextsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasConfigContextsListRequest) IdNisw(idNisw []string) ApiExtrasConfigContextsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasConfigContextsListRequest) IdNre(idNre []string) ApiExtrasConfigContextsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasConfigContextsListRequest) IdRe(idRe []string) ApiExtrasConfigContextsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiExtrasConfigContextsListRequest) IsActive(isActive bool) ApiExtrasConfigContextsListRequest {
r.isActive = &isActive
return r
@@ -6338,76 +5978,16 @@ func (r ApiExtrasConfigContextsListRequest) OwnerObjectId(ownerObjectId []string
return r
}
-func (r ApiExtrasConfigContextsListRequest) OwnerObjectIdIc(ownerObjectIdIc []string) ApiExtrasConfigContextsListRequest {
- r.ownerObjectIdIc = &ownerObjectIdIc
- return r
-}
-
-func (r ApiExtrasConfigContextsListRequest) OwnerObjectIdIe(ownerObjectIdIe []string) ApiExtrasConfigContextsListRequest {
- r.ownerObjectIdIe = &ownerObjectIdIe
- return r
-}
-
-func (r ApiExtrasConfigContextsListRequest) OwnerObjectIdIew(ownerObjectIdIew []string) ApiExtrasConfigContextsListRequest {
- r.ownerObjectIdIew = &ownerObjectIdIew
- return r
-}
-
-func (r ApiExtrasConfigContextsListRequest) OwnerObjectIdIre(ownerObjectIdIre []string) ApiExtrasConfigContextsListRequest {
- r.ownerObjectIdIre = &ownerObjectIdIre
- return r
-}
-
func (r ApiExtrasConfigContextsListRequest) OwnerObjectIdIsnull(ownerObjectIdIsnull bool) ApiExtrasConfigContextsListRequest {
r.ownerObjectIdIsnull = &ownerObjectIdIsnull
return r
}
-func (r ApiExtrasConfigContextsListRequest) OwnerObjectIdIsw(ownerObjectIdIsw []string) ApiExtrasConfigContextsListRequest {
- r.ownerObjectIdIsw = &ownerObjectIdIsw
- return r
-}
-
func (r ApiExtrasConfigContextsListRequest) OwnerObjectIdN(ownerObjectIdN []string) ApiExtrasConfigContextsListRequest {
r.ownerObjectIdN = &ownerObjectIdN
return r
}
-func (r ApiExtrasConfigContextsListRequest) OwnerObjectIdNic(ownerObjectIdNic []string) ApiExtrasConfigContextsListRequest {
- r.ownerObjectIdNic = &ownerObjectIdNic
- return r
-}
-
-func (r ApiExtrasConfigContextsListRequest) OwnerObjectIdNie(ownerObjectIdNie []string) ApiExtrasConfigContextsListRequest {
- r.ownerObjectIdNie = &ownerObjectIdNie
- return r
-}
-
-func (r ApiExtrasConfigContextsListRequest) OwnerObjectIdNiew(ownerObjectIdNiew []string) ApiExtrasConfigContextsListRequest {
- r.ownerObjectIdNiew = &ownerObjectIdNiew
- return r
-}
-
-func (r ApiExtrasConfigContextsListRequest) OwnerObjectIdNire(ownerObjectIdNire []string) ApiExtrasConfigContextsListRequest {
- r.ownerObjectIdNire = &ownerObjectIdNire
- return r
-}
-
-func (r ApiExtrasConfigContextsListRequest) OwnerObjectIdNisw(ownerObjectIdNisw []string) ApiExtrasConfigContextsListRequest {
- r.ownerObjectIdNisw = &ownerObjectIdNisw
- return r
-}
-
-func (r ApiExtrasConfigContextsListRequest) OwnerObjectIdNre(ownerObjectIdNre []string) ApiExtrasConfigContextsListRequest {
- r.ownerObjectIdNre = &ownerObjectIdNre
- return r
-}
-
-func (r ApiExtrasConfigContextsListRequest) OwnerObjectIdRe(ownerObjectIdRe []string) ApiExtrasConfigContextsListRequest {
- r.ownerObjectIdRe = &ownerObjectIdRe
- return r
-}
-
func (r ApiExtrasConfigContextsListRequest) Platform(platform []string) ApiExtrasConfigContextsListRequest {
r.platform = &platform
return r
@@ -6491,8 +6071,7 @@ func (r ApiExtrasConfigContextsListRequest) TeamsIsnull(teamsIsnull bool) ApiExt
return r
}
-// Exclude Teams (name or ID)
-func (r ApiExtrasConfigContextsListRequest) TeamsN(teamsN string) ApiExtrasConfigContextsListRequest {
+func (r ApiExtrasConfigContextsListRequest) TeamsN(teamsN []string) ApiExtrasConfigContextsListRequest {
r.teamsN = &teamsN
return r
}
@@ -6547,6 +6126,12 @@ func (r ApiExtrasConfigContextsListRequest) Depth(depth int32) ApiExtrasConfigCo
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasConfigContextsListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasConfigContextsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasConfigContextsListRequest) Execute() (*PaginatedConfigContextList, *http.Response, error) {
return r.ApiService.ExtrasConfigContextsListExecute(r)
}
@@ -6668,7 +6253,15 @@ func (a *ExtrasAPIService) ExtrasConfigContextsListExecute(r ApiExtrasConfigCont
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.deviceRedundancyGroup != nil {
t := *r.deviceRedundancyGroup
@@ -6750,61 +6343,6 @@ func (a *ExtrasAPIService) ExtrasConfigContextsListExecute(r ApiExtrasConfigCont
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -6816,83 +6354,6 @@ func (a *ExtrasAPIService) ExtrasConfigContextsListExecute(r ApiExtrasConfigCont
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.isActive != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "is_active", r.isActive, "form", "")
}
@@ -7120,64 +6581,9 @@ func (a *ExtrasAPIService) ExtrasConfigContextsListExecute(r ApiExtrasConfigCont
parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id", t, "form", "multi")
}
}
- if r.ownerObjectIdIc != nil {
- t := *r.ownerObjectIdIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__ic", t, "form", "multi")
- }
- }
- if r.ownerObjectIdIe != nil {
- t := *r.ownerObjectIdIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__ie", t, "form", "multi")
- }
- }
- if r.ownerObjectIdIew != nil {
- t := *r.ownerObjectIdIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__iew", t, "form", "multi")
- }
- }
- if r.ownerObjectIdIre != nil {
- t := *r.ownerObjectIdIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__ire", t, "form", "multi")
- }
- }
if r.ownerObjectIdIsnull != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__isnull", r.ownerObjectIdIsnull, "form", "")
}
- if r.ownerObjectIdIsw != nil {
- t := *r.ownerObjectIdIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__isw", t, "form", "multi")
- }
- }
if r.ownerObjectIdN != nil {
t := *r.ownerObjectIdN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -7189,83 +6595,6 @@ func (a *ExtrasAPIService) ExtrasConfigContextsListExecute(r ApiExtrasConfigCont
parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__n", t, "form", "multi")
}
}
- if r.ownerObjectIdNic != nil {
- t := *r.ownerObjectIdNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__nic", t, "form", "multi")
- }
- }
- if r.ownerObjectIdNie != nil {
- t := *r.ownerObjectIdNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__nie", t, "form", "multi")
- }
- }
- if r.ownerObjectIdNiew != nil {
- t := *r.ownerObjectIdNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__niew", t, "form", "multi")
- }
- }
- if r.ownerObjectIdNire != nil {
- t := *r.ownerObjectIdNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__nire", t, "form", "multi")
- }
- }
- if r.ownerObjectIdNisw != nil {
- t := *r.ownerObjectIdNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__nisw", t, "form", "multi")
- }
- }
- if r.ownerObjectIdNre != nil {
- t := *r.ownerObjectIdNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__nre", t, "form", "multi")
- }
- }
- if r.ownerObjectIdRe != nil {
- t := *r.ownerObjectIdRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__re", t, "form", "multi")
- }
- }
if r.platform != nil {
t := *r.platform
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -7400,7 +6729,15 @@ func (a *ExtrasAPIService) ExtrasConfigContextsListExecute(r ApiExtrasConfigCont
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.tenant != nil {
t := *r.tenant
@@ -7493,8 +6830,16 @@ func (a *ExtrasAPIService) ExtrasConfigContextsListExecute(r ApiExtrasConfigCont
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -7709,6 +7054,7 @@ type ApiExtrasConfigContextsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasConfigContextsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasConfigContextsNotesListRequest {
@@ -7734,6 +7080,12 @@ func (r ApiExtrasConfigContextsNotesListRequest) Depth(depth int32) ApiExtrasCon
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasConfigContextsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasConfigContextsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasConfigContextsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.ExtrasConfigContextsNotesListExecute(r)
}
@@ -7789,8 +7141,16 @@ func (a *ExtrasAPIService) ExtrasConfigContextsNotesListExecute(r ApiExtrasConfi
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -8000,6 +7360,7 @@ type ApiExtrasConfigContextsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasConfigContextsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasConfigContextsRetrieveRequest {
@@ -8013,6 +7374,12 @@ func (r ApiExtrasConfigContextsRetrieveRequest) Depth(depth int32) ApiExtrasConf
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasConfigContextsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasConfigContextsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasConfigContextsRetrieveRequest) Execute() (*ConfigContext, *http.Response, error) {
return r.ApiService.ExtrasConfigContextsRetrieveExecute(r)
}
@@ -8062,8 +7429,16 @@ func (a *ExtrasAPIService) ExtrasConfigContextsRetrieveExecute(r ApiExtrasConfig
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -8910,19 +8285,7 @@ type ApiExtrasContactAssociationsListRequest struct {
ctx context.Context
ApiService *ExtrasAPIService
associatedObjectId *[]string
- associatedObjectIdIc *[]string
- associatedObjectIdIe *[]string
- associatedObjectIdIew *[]string
- associatedObjectIdIre *[]string
- associatedObjectIdIsw *[]string
associatedObjectIdN *[]string
- associatedObjectIdNic *[]string
- associatedObjectIdNie *[]string
- associatedObjectIdNiew *[]string
- associatedObjectIdNire *[]string
- associatedObjectIdNisw *[]string
- associatedObjectIdNre *[]string
- associatedObjectIdRe *[]string
associatedObjectType *string
associatedObjectTypeIsnull *bool
associatedObjectTypeN *string
@@ -8938,19 +8301,7 @@ type ApiExtrasContactAssociationsListRequest struct {
createdN *[]time.Time
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -8962,14 +8313,15 @@ type ApiExtrasContactAssociationsListRequest struct {
offset *int32
q *string
role *[]string
- roleN *string
+ roleN *[]string
sort *string
status *[]string
- statusN *string
+ statusN *[]string
team *[]string
teamIsnull *bool
teamN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasContactAssociationsListRequest) AssociatedObjectId(associatedObjectId []string) ApiExtrasContactAssociationsListRequest {
@@ -8977,71 +8329,11 @@ func (r ApiExtrasContactAssociationsListRequest) AssociatedObjectId(associatedOb
return r
}
-func (r ApiExtrasContactAssociationsListRequest) AssociatedObjectIdIc(associatedObjectIdIc []string) ApiExtrasContactAssociationsListRequest {
- r.associatedObjectIdIc = &associatedObjectIdIc
- return r
-}
-
-func (r ApiExtrasContactAssociationsListRequest) AssociatedObjectIdIe(associatedObjectIdIe []string) ApiExtrasContactAssociationsListRequest {
- r.associatedObjectIdIe = &associatedObjectIdIe
- return r
-}
-
-func (r ApiExtrasContactAssociationsListRequest) AssociatedObjectIdIew(associatedObjectIdIew []string) ApiExtrasContactAssociationsListRequest {
- r.associatedObjectIdIew = &associatedObjectIdIew
- return r
-}
-
-func (r ApiExtrasContactAssociationsListRequest) AssociatedObjectIdIre(associatedObjectIdIre []string) ApiExtrasContactAssociationsListRequest {
- r.associatedObjectIdIre = &associatedObjectIdIre
- return r
-}
-
-func (r ApiExtrasContactAssociationsListRequest) AssociatedObjectIdIsw(associatedObjectIdIsw []string) ApiExtrasContactAssociationsListRequest {
- r.associatedObjectIdIsw = &associatedObjectIdIsw
- return r
-}
-
func (r ApiExtrasContactAssociationsListRequest) AssociatedObjectIdN(associatedObjectIdN []string) ApiExtrasContactAssociationsListRequest {
r.associatedObjectIdN = &associatedObjectIdN
return r
}
-func (r ApiExtrasContactAssociationsListRequest) AssociatedObjectIdNic(associatedObjectIdNic []string) ApiExtrasContactAssociationsListRequest {
- r.associatedObjectIdNic = &associatedObjectIdNic
- return r
-}
-
-func (r ApiExtrasContactAssociationsListRequest) AssociatedObjectIdNie(associatedObjectIdNie []string) ApiExtrasContactAssociationsListRequest {
- r.associatedObjectIdNie = &associatedObjectIdNie
- return r
-}
-
-func (r ApiExtrasContactAssociationsListRequest) AssociatedObjectIdNiew(associatedObjectIdNiew []string) ApiExtrasContactAssociationsListRequest {
- r.associatedObjectIdNiew = &associatedObjectIdNiew
- return r
-}
-
-func (r ApiExtrasContactAssociationsListRequest) AssociatedObjectIdNire(associatedObjectIdNire []string) ApiExtrasContactAssociationsListRequest {
- r.associatedObjectIdNire = &associatedObjectIdNire
- return r
-}
-
-func (r ApiExtrasContactAssociationsListRequest) AssociatedObjectIdNisw(associatedObjectIdNisw []string) ApiExtrasContactAssociationsListRequest {
- r.associatedObjectIdNisw = &associatedObjectIdNisw
- return r
-}
-
-func (r ApiExtrasContactAssociationsListRequest) AssociatedObjectIdNre(associatedObjectIdNre []string) ApiExtrasContactAssociationsListRequest {
- r.associatedObjectIdNre = &associatedObjectIdNre
- return r
-}
-
-func (r ApiExtrasContactAssociationsListRequest) AssociatedObjectIdRe(associatedObjectIdRe []string) ApiExtrasContactAssociationsListRequest {
- r.associatedObjectIdRe = &associatedObjectIdRe
- return r
-}
-
func (r ApiExtrasContactAssociationsListRequest) AssociatedObjectType(associatedObjectType string) ApiExtrasContactAssociationsListRequest {
r.associatedObjectType = &associatedObjectType
return r
@@ -9119,71 +8411,11 @@ func (r ApiExtrasContactAssociationsListRequest) Id(id []string) ApiExtrasContac
return r
}
-func (r ApiExtrasContactAssociationsListRequest) IdIc(idIc []string) ApiExtrasContactAssociationsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasContactAssociationsListRequest) IdIe(idIe []string) ApiExtrasContactAssociationsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasContactAssociationsListRequest) IdIew(idIew []string) ApiExtrasContactAssociationsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasContactAssociationsListRequest) IdIre(idIre []string) ApiExtrasContactAssociationsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasContactAssociationsListRequest) IdIsw(idIsw []string) ApiExtrasContactAssociationsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasContactAssociationsListRequest) IdN(idN []string) ApiExtrasContactAssociationsListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasContactAssociationsListRequest) IdNic(idNic []string) ApiExtrasContactAssociationsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasContactAssociationsListRequest) IdNie(idNie []string) ApiExtrasContactAssociationsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasContactAssociationsListRequest) IdNiew(idNiew []string) ApiExtrasContactAssociationsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasContactAssociationsListRequest) IdNire(idNire []string) ApiExtrasContactAssociationsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasContactAssociationsListRequest) IdNisw(idNisw []string) ApiExtrasContactAssociationsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasContactAssociationsListRequest) IdNre(idNre []string) ApiExtrasContactAssociationsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasContactAssociationsListRequest) IdRe(idRe []string) ApiExtrasContactAssociationsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiExtrasContactAssociationsListRequest) LastUpdated(lastUpdated []time.Time) ApiExtrasContactAssociationsListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -9242,8 +8474,7 @@ func (r ApiExtrasContactAssociationsListRequest) Role(role []string) ApiExtrasCo
return r
}
-// Exclude Role (name or ID)
-func (r ApiExtrasContactAssociationsListRequest) RoleN(roleN string) ApiExtrasContactAssociationsListRequest {
+func (r ApiExtrasContactAssociationsListRequest) RoleN(roleN []string) ApiExtrasContactAssociationsListRequest {
r.roleN = &roleN
return r
}
@@ -9259,8 +8490,7 @@ func (r ApiExtrasContactAssociationsListRequest) Status(status []string) ApiExtr
return r
}
-// Exclude Status (name or ID)
-func (r ApiExtrasContactAssociationsListRequest) StatusN(statusN string) ApiExtrasContactAssociationsListRequest {
+func (r ApiExtrasContactAssociationsListRequest) StatusN(statusN []string) ApiExtrasContactAssociationsListRequest {
r.statusN = &statusN
return r
}
@@ -9287,6 +8517,12 @@ func (r ApiExtrasContactAssociationsListRequest) Depth(depth int32) ApiExtrasCon
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasContactAssociationsListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasContactAssociationsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasContactAssociationsListRequest) Execute() (*PaginatedContactAssociationList, *http.Response, error) {
return r.ApiService.ExtrasContactAssociationsListExecute(r)
}
@@ -9338,61 +8574,6 @@ func (a *ExtrasAPIService) ExtrasContactAssociationsListExecute(r ApiExtrasConta
parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id", t, "form", "multi")
}
}
- if r.associatedObjectIdIc != nil {
- t := *r.associatedObjectIdIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__ic", t, "form", "multi")
- }
- }
- if r.associatedObjectIdIe != nil {
- t := *r.associatedObjectIdIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__ie", t, "form", "multi")
- }
- }
- if r.associatedObjectIdIew != nil {
- t := *r.associatedObjectIdIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__iew", t, "form", "multi")
- }
- }
- if r.associatedObjectIdIre != nil {
- t := *r.associatedObjectIdIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__ire", t, "form", "multi")
- }
- }
- if r.associatedObjectIdIsw != nil {
- t := *r.associatedObjectIdIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__isw", t, "form", "multi")
- }
- }
if r.associatedObjectIdN != nil {
t := *r.associatedObjectIdN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -9404,83 +8585,6 @@ func (a *ExtrasAPIService) ExtrasContactAssociationsListExecute(r ApiExtrasConta
parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__n", t, "form", "multi")
}
}
- if r.associatedObjectIdNic != nil {
- t := *r.associatedObjectIdNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__nic", t, "form", "multi")
- }
- }
- if r.associatedObjectIdNie != nil {
- t := *r.associatedObjectIdNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__nie", t, "form", "multi")
- }
- }
- if r.associatedObjectIdNiew != nil {
- t := *r.associatedObjectIdNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__niew", t, "form", "multi")
- }
- }
- if r.associatedObjectIdNire != nil {
- t := *r.associatedObjectIdNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__nire", t, "form", "multi")
- }
- }
- if r.associatedObjectIdNisw != nil {
- t := *r.associatedObjectIdNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__nisw", t, "form", "multi")
- }
- }
- if r.associatedObjectIdNre != nil {
- t := *r.associatedObjectIdNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__nre", t, "form", "multi")
- }
- }
- if r.associatedObjectIdRe != nil {
- t := *r.associatedObjectIdRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__re", t, "form", "multi")
- }
- }
if r.associatedObjectType != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_type", r.associatedObjectType, "form", "")
}
@@ -9598,61 +8702,6 @@ func (a *ExtrasAPIService) ExtrasContactAssociationsListExecute(r ApiExtrasConta
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -9664,83 +8713,6 @@ func (a *ExtrasAPIService) ExtrasContactAssociationsListExecute(r ApiExtrasConta
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -9831,7 +8803,15 @@ func (a *ExtrasAPIService) ExtrasContactAssociationsListExecute(r ApiExtrasConta
}
}
if r.roleN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", r.roleN, "form", "")
+ t := *r.roleN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", t, "form", "multi")
+ }
}
if r.sort != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
@@ -9848,7 +8828,15 @@ func (a *ExtrasAPIService) ExtrasContactAssociationsListExecute(r ApiExtrasConta
}
}
if r.statusN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", r.statusN, "form", "")
+ t := *r.statusN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "form", "multi")
+ }
}
if r.team != nil {
t := *r.team
@@ -9878,8 +8866,16 @@ func (a *ExtrasAPIService) ExtrasContactAssociationsListExecute(r ApiExtrasConta
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -10094,6 +9090,7 @@ type ApiExtrasContactAssociationsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasContactAssociationsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasContactAssociationsNotesListRequest {
@@ -10119,6 +9116,12 @@ func (r ApiExtrasContactAssociationsNotesListRequest) Depth(depth int32) ApiExtr
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasContactAssociationsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasContactAssociationsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasContactAssociationsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.ExtrasContactAssociationsNotesListExecute(r)
}
@@ -10174,8 +9177,16 @@ func (a *ExtrasAPIService) ExtrasContactAssociationsNotesListExecute(r ApiExtras
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -10385,6 +9396,7 @@ type ApiExtrasContactAssociationsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasContactAssociationsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasContactAssociationsRetrieveRequest {
@@ -10398,6 +9410,12 @@ func (r ApiExtrasContactAssociationsRetrieveRequest) Depth(depth int32) ApiExtra
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasContactAssociationsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasContactAssociationsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasContactAssociationsRetrieveRequest) Execute() (*ContactAssociation, *http.Response, error) {
return r.ApiService.ExtrasContactAssociationsRetrieveExecute(r)
}
@@ -10447,8 +9465,16 @@ func (a *ExtrasAPIService) ExtrasContactAssociationsRetrieveExecute(r ApiExtrasC
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -11330,7 +10356,7 @@ type ApiExtrasContactsListRequest struct {
createdLte *[]time.Time
createdN *[]time.Time
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
email *[]string
emailIc *[]string
emailIe *[]string
@@ -11347,19 +10373,7 @@ type ApiExtrasContactsListRequest struct {
emailRe *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -11403,7 +10417,11 @@ type ApiExtrasContactsListRequest struct {
tags *[]string
tagsIsnull *bool
tagsN *[]string
+ teams *[]string
+ teamsIsnull *bool
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasContactsListRequest) Address(address []string) ApiExtrasContactsListRequest {
@@ -11586,8 +10604,7 @@ func (r ApiExtrasContactsListRequest) DynamicGroups(dynamicGroups []string) ApiE
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiExtrasContactsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiExtrasContactsListRequest {
+func (r ApiExtrasContactsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiExtrasContactsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -11673,71 +10690,11 @@ func (r ApiExtrasContactsListRequest) Id(id []string) ApiExtrasContactsListReque
return r
}
-func (r ApiExtrasContactsListRequest) IdIc(idIc []string) ApiExtrasContactsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasContactsListRequest) IdIe(idIe []string) ApiExtrasContactsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasContactsListRequest) IdIew(idIew []string) ApiExtrasContactsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasContactsListRequest) IdIre(idIre []string) ApiExtrasContactsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasContactsListRequest) IdIsw(idIsw []string) ApiExtrasContactsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasContactsListRequest) IdN(idN []string) ApiExtrasContactsListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasContactsListRequest) IdNic(idNic []string) ApiExtrasContactsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasContactsListRequest) IdNie(idNie []string) ApiExtrasContactsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasContactsListRequest) IdNiew(idNiew []string) ApiExtrasContactsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasContactsListRequest) IdNire(idNire []string) ApiExtrasContactsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasContactsListRequest) IdNisw(idNisw []string) ApiExtrasContactsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasContactsListRequest) IdNre(idNre []string) ApiExtrasContactsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasContactsListRequest) IdRe(idRe []string) ApiExtrasContactsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiExtrasContactsListRequest) LastUpdated(lastUpdated []time.Time) ApiExtrasContactsListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -11957,12 +10914,34 @@ func (r ApiExtrasContactsListRequest) TagsN(tagsN []string) ApiExtrasContactsLis
return r
}
+func (r ApiExtrasContactsListRequest) Teams(teams []string) ApiExtrasContactsListRequest {
+ r.teams = &teams
+ return r
+}
+
+// Team (name or ID) is null
+func (r ApiExtrasContactsListRequest) TeamsIsnull(teamsIsnull bool) ApiExtrasContactsListRequest {
+ r.teamsIsnull = &teamsIsnull
+ return r
+}
+
+func (r ApiExtrasContactsListRequest) TeamsN(teamsN []string) ApiExtrasContactsListRequest {
+ r.teamsN = &teamsN
+ return r
+}
+
// Serializer Depth
func (r ApiExtrasContactsListRequest) Depth(depth int32) ApiExtrasContactsListRequest {
r.depth = &depth
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasContactsListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasContactsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasContactsListRequest) Execute() (*PaginatedContactList, *http.Response, error) {
return r.ApiService.ExtrasContactsListExecute(r)
}
@@ -12392,7 +11371,15 @@ func (a *ExtrasAPIService) ExtrasContactsListExecute(r ApiExtrasContactsListRequ
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.email != nil {
t := *r.email
@@ -12562,61 +11549,6 @@ func (a *ExtrasAPIService) ExtrasContactsListExecute(r ApiExtrasContactsListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -12628,83 +11560,6 @@ func (a *ExtrasAPIService) ExtrasContactsListExecute(r ApiExtrasContactsListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -13130,11 +11985,44 @@ func (a *ExtrasAPIService) ExtrasContactsListExecute(r ApiExtrasContactsListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", t, "form", "multi")
}
}
+ if r.teams != nil {
+ t := *r.teams
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams", t, "form", "multi")
+ }
+ }
+ if r.teamsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
+ }
+ if r.teamsN != nil {
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
+ }
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -13349,6 +12237,7 @@ type ApiExtrasContactsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasContactsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasContactsNotesListRequest {
@@ -13374,6 +12263,12 @@ func (r ApiExtrasContactsNotesListRequest) Depth(depth int32) ApiExtrasContactsN
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasContactsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasContactsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasContactsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.ExtrasContactsNotesListExecute(r)
}
@@ -13429,8 +12324,16 @@ func (a *ExtrasAPIService) ExtrasContactsNotesListExecute(r ApiExtrasContactsNot
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -13640,6 +12543,7 @@ type ApiExtrasContactsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasContactsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasContactsRetrieveRequest {
@@ -13653,6 +12557,12 @@ func (r ApiExtrasContactsRetrieveRequest) Depth(depth int32) ApiExtrasContactsRe
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasContactsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasContactsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasContactsRetrieveRequest) Execute() (*Contact, *http.Response, error) {
return r.ApiService.ExtrasContactsRetrieveExecute(r)
}
@@ -13702,8 +12612,16 @@ func (a *ExtrasAPIService) ExtrasContactsRetrieveExecute(r ApiExtrasContactsRetr
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -13959,6 +12877,7 @@ type ApiExtrasContentTypesListRequest struct {
q *string
sort *string
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasContentTypesListRequest) AppLabel(appLabel []string) ApiExtrasContentTypesListRequest {
@@ -14203,6 +13122,12 @@ func (r ApiExtrasContentTypesListRequest) Depth(depth int32) ApiExtrasContentTyp
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasContentTypesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasContentTypesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasContentTypesListRequest) Execute() (*PaginatedContentTypeList, *http.Response, error) {
return r.ApiService.ExtrasContentTypesListExecute(r)
}
@@ -14653,8 +13578,16 @@ func (a *ExtrasAPIService) ExtrasContentTypesListExecute(r ApiExtrasContentTypes
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -14730,6 +13663,7 @@ type ApiExtrasContentTypesRetrieveRequest struct {
id int32
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasContentTypesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasContentTypesRetrieveRequest {
@@ -14743,6 +13677,12 @@ func (r ApiExtrasContentTypesRetrieveRequest) Depth(depth int32) ApiExtrasConten
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasContentTypesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasContentTypesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasContentTypesRetrieveRequest) Execute() (*ContentType, *http.Response, error) {
return r.ApiService.ExtrasContentTypesRetrieveExecute(r)
}
@@ -14792,8 +13732,16 @@ func (a *ExtrasAPIService) ExtrasContentTypesRetrieveExecute(r ApiExtrasContentT
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -15506,19 +14454,7 @@ type ApiExtrasCustomFieldChoicesListRequest struct {
customFieldN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
limit *int32
offset *int32
q *string
@@ -15544,6 +14480,7 @@ type ApiExtrasCustomFieldChoicesListRequest struct {
weightLte *[]int32
weightN *[]int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasCustomFieldChoicesListRequest) CustomField(customField []string) ApiExtrasCustomFieldChoicesListRequest {
@@ -15567,71 +14504,11 @@ func (r ApiExtrasCustomFieldChoicesListRequest) Id(id []string) ApiExtrasCustomF
return r
}
-func (r ApiExtrasCustomFieldChoicesListRequest) IdIc(idIc []string) ApiExtrasCustomFieldChoicesListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasCustomFieldChoicesListRequest) IdIe(idIe []string) ApiExtrasCustomFieldChoicesListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasCustomFieldChoicesListRequest) IdIew(idIew []string) ApiExtrasCustomFieldChoicesListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasCustomFieldChoicesListRequest) IdIre(idIre []string) ApiExtrasCustomFieldChoicesListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasCustomFieldChoicesListRequest) IdIsw(idIsw []string) ApiExtrasCustomFieldChoicesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasCustomFieldChoicesListRequest) IdN(idN []string) ApiExtrasCustomFieldChoicesListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasCustomFieldChoicesListRequest) IdNic(idNic []string) ApiExtrasCustomFieldChoicesListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasCustomFieldChoicesListRequest) IdNie(idNie []string) ApiExtrasCustomFieldChoicesListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasCustomFieldChoicesListRequest) IdNiew(idNiew []string) ApiExtrasCustomFieldChoicesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasCustomFieldChoicesListRequest) IdNire(idNire []string) ApiExtrasCustomFieldChoicesListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasCustomFieldChoicesListRequest) IdNisw(idNisw []string) ApiExtrasCustomFieldChoicesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasCustomFieldChoicesListRequest) IdNre(idNre []string) ApiExtrasCustomFieldChoicesListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasCustomFieldChoicesListRequest) IdRe(idRe []string) ApiExtrasCustomFieldChoicesListRequest {
- r.idRe = &idRe
- return r
-}
-
// Number of results to return per page.
func (r ApiExtrasCustomFieldChoicesListRequest) Limit(limit int32) ApiExtrasCustomFieldChoicesListRequest {
r.limit = &limit
@@ -15762,6 +14639,12 @@ func (r ApiExtrasCustomFieldChoicesListRequest) Depth(depth int32) ApiExtrasCust
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasCustomFieldChoicesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasCustomFieldChoicesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasCustomFieldChoicesListRequest) Execute() (*PaginatedCustomFieldChoiceList, *http.Response, error) {
return r.ApiService.ExtrasCustomFieldChoicesListExecute(r)
}
@@ -15838,61 +14721,6 @@ func (a *ExtrasAPIService) ExtrasCustomFieldChoicesListExecute(r ApiExtrasCustom
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -15904,83 +14732,6 @@ func (a *ExtrasAPIService) ExtrasCustomFieldChoicesListExecute(r ApiExtrasCustom
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.limit != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
@@ -16216,8 +14967,16 @@ func (a *ExtrasAPIService) ExtrasCustomFieldChoicesListExecute(r ApiExtrasCustom
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -16427,6 +15186,7 @@ type ApiExtrasCustomFieldChoicesRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasCustomFieldChoicesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasCustomFieldChoicesRetrieveRequest {
@@ -16440,6 +15200,12 @@ func (r ApiExtrasCustomFieldChoicesRetrieveRequest) Depth(depth int32) ApiExtras
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasCustomFieldChoicesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasCustomFieldChoicesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasCustomFieldChoicesRetrieveRequest) Execute() (*CustomFieldChoice, *http.Response, error) {
return r.ApiService.ExtrasCustomFieldChoicesRetrieveExecute(r)
}
@@ -16489,8 +15255,16 @@ func (a *ExtrasAPIService) ExtrasCustomFieldChoicesRetrieveExecute(r ApiExtrasCu
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -17338,23 +16112,11 @@ type ApiExtrasCustomFieldsListRequest struct {
ApiService *ExtrasAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
contentTypes *[]int32
- contentTypesIc *[]int32
- contentTypesIe *[]int32
- contentTypesIew *[]int32
- contentTypesIre *[]int32
- contentTypesIsw *[]int32
contentTypesN *[]int32
- contentTypesNic *[]int32
- contentTypesNie *[]int32
- contentTypesNiew *[]int32
- contentTypesNire *[]int32
- contentTypesNisw *[]int32
- contentTypesNre *[]int32
- contentTypesRe *[]int32
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
filterLogic *[]string
filterLogicIc *[]string
filterLogicIe *[]string
@@ -17385,19 +16147,7 @@ type ApiExtrasCustomFieldsListRequest struct {
groupingNre *[]string
groupingRe *[]string
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
label *[]string
labelIc *[]string
labelIe *[]string
@@ -17419,7 +16169,7 @@ type ApiExtrasCustomFieldsListRequest struct {
sort *string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
weight *[]int32
weightGt *[]int32
weightGte *[]int32
@@ -17427,6 +16177,7 @@ type ApiExtrasCustomFieldsListRequest struct {
weightLte *[]int32
weightN *[]int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasCustomFieldsListRequest) Contacts(contacts []string) ApiExtrasCustomFieldsListRequest {
@@ -17440,8 +16191,7 @@ func (r ApiExtrasCustomFieldsListRequest) ContactsIsnull(contactsIsnull bool) Ap
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiExtrasCustomFieldsListRequest) ContactsN(contactsN string) ApiExtrasCustomFieldsListRequest {
+func (r ApiExtrasCustomFieldsListRequest) ContactsN(contactsN []string) ApiExtrasCustomFieldsListRequest {
r.contactsN = &contactsN
return r
}
@@ -17451,78 +16201,17 @@ func (r ApiExtrasCustomFieldsListRequest) ContentTypes(contentTypes []int32) Api
return r
}
-func (r ApiExtrasCustomFieldsListRequest) ContentTypesIc(contentTypesIc []int32) ApiExtrasCustomFieldsListRequest {
- r.contentTypesIc = &contentTypesIc
- return r
-}
-
-func (r ApiExtrasCustomFieldsListRequest) ContentTypesIe(contentTypesIe []int32) ApiExtrasCustomFieldsListRequest {
- r.contentTypesIe = &contentTypesIe
- return r
-}
-
-func (r ApiExtrasCustomFieldsListRequest) ContentTypesIew(contentTypesIew []int32) ApiExtrasCustomFieldsListRequest {
- r.contentTypesIew = &contentTypesIew
- return r
-}
-
-func (r ApiExtrasCustomFieldsListRequest) ContentTypesIre(contentTypesIre []int32) ApiExtrasCustomFieldsListRequest {
- r.contentTypesIre = &contentTypesIre
- return r
-}
-
-func (r ApiExtrasCustomFieldsListRequest) ContentTypesIsw(contentTypesIsw []int32) ApiExtrasCustomFieldsListRequest {
- r.contentTypesIsw = &contentTypesIsw
- return r
-}
-
func (r ApiExtrasCustomFieldsListRequest) ContentTypesN(contentTypesN []int32) ApiExtrasCustomFieldsListRequest {
r.contentTypesN = &contentTypesN
return r
}
-func (r ApiExtrasCustomFieldsListRequest) ContentTypesNic(contentTypesNic []int32) ApiExtrasCustomFieldsListRequest {
- r.contentTypesNic = &contentTypesNic
- return r
-}
-
-func (r ApiExtrasCustomFieldsListRequest) ContentTypesNie(contentTypesNie []int32) ApiExtrasCustomFieldsListRequest {
- r.contentTypesNie = &contentTypesNie
- return r
-}
-
-func (r ApiExtrasCustomFieldsListRequest) ContentTypesNiew(contentTypesNiew []int32) ApiExtrasCustomFieldsListRequest {
- r.contentTypesNiew = &contentTypesNiew
- return r
-}
-
-func (r ApiExtrasCustomFieldsListRequest) ContentTypesNire(contentTypesNire []int32) ApiExtrasCustomFieldsListRequest {
- r.contentTypesNire = &contentTypesNire
- return r
-}
-
-func (r ApiExtrasCustomFieldsListRequest) ContentTypesNisw(contentTypesNisw []int32) ApiExtrasCustomFieldsListRequest {
- r.contentTypesNisw = &contentTypesNisw
- return r
-}
-
-func (r ApiExtrasCustomFieldsListRequest) ContentTypesNre(contentTypesNre []int32) ApiExtrasCustomFieldsListRequest {
- r.contentTypesNre = &contentTypesNre
- return r
-}
-
-func (r ApiExtrasCustomFieldsListRequest) ContentTypesRe(contentTypesRe []int32) ApiExtrasCustomFieldsListRequest {
- r.contentTypesRe = &contentTypesRe
- return r
-}
-
func (r ApiExtrasCustomFieldsListRequest) DynamicGroups(dynamicGroups []string) ApiExtrasCustomFieldsListRequest {
r.dynamicGroups = &dynamicGroups
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiExtrasCustomFieldsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiExtrasCustomFieldsListRequest {
+func (r ApiExtrasCustomFieldsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiExtrasCustomFieldsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -17558,7 +16247,6 @@ func (r ApiExtrasCustomFieldsListRequest) FilterLogicIsw(filterLogicIsw []string
return r
}
-// Loose matches any instance of a given string; Exact matches the entire field.
func (r ApiExtrasCustomFieldsListRequest) FilterLogicN(filterLogicN []string) ApiExtrasCustomFieldsListRequest {
r.filterLogicN = &filterLogicN
return r
@@ -17680,71 +16368,11 @@ func (r ApiExtrasCustomFieldsListRequest) Id(id []string) ApiExtrasCustomFieldsL
return r
}
-func (r ApiExtrasCustomFieldsListRequest) IdIc(idIc []string) ApiExtrasCustomFieldsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasCustomFieldsListRequest) IdIe(idIe []string) ApiExtrasCustomFieldsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasCustomFieldsListRequest) IdIew(idIew []string) ApiExtrasCustomFieldsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasCustomFieldsListRequest) IdIre(idIre []string) ApiExtrasCustomFieldsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasCustomFieldsListRequest) IdIsw(idIsw []string) ApiExtrasCustomFieldsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasCustomFieldsListRequest) IdN(idN []string) ApiExtrasCustomFieldsListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasCustomFieldsListRequest) IdNic(idNic []string) ApiExtrasCustomFieldsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasCustomFieldsListRequest) IdNie(idNie []string) ApiExtrasCustomFieldsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasCustomFieldsListRequest) IdNiew(idNiew []string) ApiExtrasCustomFieldsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasCustomFieldsListRequest) IdNire(idNire []string) ApiExtrasCustomFieldsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasCustomFieldsListRequest) IdNisw(idNisw []string) ApiExtrasCustomFieldsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasCustomFieldsListRequest) IdNre(idNre []string) ApiExtrasCustomFieldsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasCustomFieldsListRequest) IdRe(idRe []string) ApiExtrasCustomFieldsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiExtrasCustomFieldsListRequest) Label(label []string) ApiExtrasCustomFieldsListRequest {
r.label = &label
return r
@@ -17855,8 +16483,7 @@ func (r ApiExtrasCustomFieldsListRequest) TeamsIsnull(teamsIsnull bool) ApiExtra
return r
}
-// Exclude Teams (name or ID)
-func (r ApiExtrasCustomFieldsListRequest) TeamsN(teamsN string) ApiExtrasCustomFieldsListRequest {
+func (r ApiExtrasCustomFieldsListRequest) TeamsN(teamsN []string) ApiExtrasCustomFieldsListRequest {
r.teamsN = &teamsN
return r
}
@@ -17897,6 +16524,12 @@ func (r ApiExtrasCustomFieldsListRequest) Depth(depth int32) ApiExtrasCustomFiel
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasCustomFieldsListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasCustomFieldsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasCustomFieldsListRequest) Execute() (*PaginatedCustomFieldList, *http.Response, error) {
return r.ApiService.ExtrasCustomFieldsListExecute(r)
}
@@ -17952,72 +16585,25 @@ func (a *ExtrasAPIService) ExtrasCustomFieldsListExecute(r ApiExtrasCustomFields
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
- }
- if r.contentTypes != nil {
- t := *r.contentTypes
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", t, "form", "multi")
- }
- }
- if r.contentTypesIc != nil {
- t := *r.contentTypesIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ic", t, "form", "multi")
- }
- }
- if r.contentTypesIe != nil {
- t := *r.contentTypesIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ie", t, "form", "multi")
- }
- }
- if r.contentTypesIew != nil {
- t := *r.contentTypesIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__iew", t, "form", "multi")
- }
- }
- if r.contentTypesIre != nil {
- t := *r.contentTypesIre
+ t := *r.contactsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
}
}
- if r.contentTypesIsw != nil {
- t := *r.contentTypesIsw
+ if r.contentTypes != nil {
+ t := *r.contentTypes
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", t, "form", "multi")
}
}
if r.contentTypesN != nil {
@@ -18031,97 +16617,28 @@ func (a *ExtrasAPIService) ExtrasCustomFieldsListExecute(r ApiExtrasCustomFields
parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__n", t, "form", "multi")
}
}
- if r.contentTypesNic != nil {
- t := *r.contentTypesNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nic", t, "form", "multi")
- }
- }
- if r.contentTypesNie != nil {
- t := *r.contentTypesNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nie", t, "form", "multi")
- }
- }
- if r.contentTypesNiew != nil {
- t := *r.contentTypesNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__niew", t, "form", "multi")
- }
- }
- if r.contentTypesNire != nil {
- t := *r.contentTypesNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nire", t, "form", "multi")
- }
- }
- if r.contentTypesNisw != nil {
- t := *r.contentTypesNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nisw", t, "form", "multi")
- }
- }
- if r.contentTypesNre != nil {
- t := *r.contentTypesNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nre", t, "form", "multi")
- }
- }
- if r.contentTypesRe != nil {
- t := *r.contentTypesRe
+ if r.dynamicGroups != nil {
+ t := *r.dynamicGroups
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
}
}
- if r.dynamicGroups != nil {
- t := *r.dynamicGroups
+ if r.dynamicGroupsN != nil {
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
if r.filterLogic != nil {
t := *r.filterLogic
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -18444,61 +16961,6 @@ func (a *ExtrasAPIService) ExtrasCustomFieldsListExecute(r ApiExtrasCustomFields
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -18510,83 +16972,6 @@ func (a *ExtrasAPIService) ExtrasCustomFieldsListExecute(r ApiExtrasCustomFields
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.label != nil {
t := *r.label
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -18771,7 +17156,15 @@ func (a *ExtrasAPIService) ExtrasCustomFieldsListExecute(r ApiExtrasCustomFields
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.weight != nil {
t := *r.weight
@@ -18842,8 +17235,16 @@ func (a *ExtrasAPIService) ExtrasCustomFieldsListExecute(r ApiExtrasCustomFields
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -19058,6 +17459,7 @@ type ApiExtrasCustomFieldsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasCustomFieldsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasCustomFieldsNotesListRequest {
@@ -19083,6 +17485,12 @@ func (r ApiExtrasCustomFieldsNotesListRequest) Depth(depth int32) ApiExtrasCusto
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasCustomFieldsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasCustomFieldsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasCustomFieldsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.ExtrasCustomFieldsNotesListExecute(r)
}
@@ -19138,8 +17546,16 @@ func (a *ExtrasAPIService) ExtrasCustomFieldsNotesListExecute(r ApiExtrasCustomF
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -19349,6 +17765,7 @@ type ApiExtrasCustomFieldsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasCustomFieldsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasCustomFieldsRetrieveRequest {
@@ -19362,6 +17779,12 @@ func (r ApiExtrasCustomFieldsRetrieveRequest) Depth(depth int32) ApiExtrasCustom
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasCustomFieldsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasCustomFieldsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasCustomFieldsRetrieveRequest) Execute() (*CustomField, *http.Response, error) {
return r.ApiService.ExtrasCustomFieldsRetrieveExecute(r)
}
@@ -19411,8 +17834,16 @@ func (a *ExtrasAPIService) ExtrasCustomFieldsRetrieveExecute(r ApiExtrasCustomFi
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -20274,11 +18705,11 @@ type ApiExtrasCustomLinksListRequest struct {
buttonClassRe *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
contentType *string
contentTypeN *string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
groupName *[]string
groupNameIc *[]string
@@ -20295,19 +18726,7 @@ type ApiExtrasCustomLinksListRequest struct {
groupNameNre *[]string
groupNameRe *[]string
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
limit *int32
name *[]string
nameIc *[]string
@@ -20343,7 +18762,7 @@ type ApiExtrasCustomLinksListRequest struct {
targetUrlRe *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
text *[]string
textIc *[]string
textIe *[]string
@@ -20365,6 +18784,7 @@ type ApiExtrasCustomLinksListRequest struct {
weightLte *[]int32
weightN *[]int32
depth *int32
+ excludeM2m *bool
}
// The class of the first link in a group will be used for the dropdown button
@@ -20398,7 +18818,6 @@ func (r ApiExtrasCustomLinksListRequest) ButtonClassIsw(buttonClassIsw []string)
return r
}
-// The class of the first link in a group will be used for the dropdown button
func (r ApiExtrasCustomLinksListRequest) ButtonClassN(buttonClassN []string) ApiExtrasCustomLinksListRequest {
r.buttonClassN = &buttonClassN
return r
@@ -20450,8 +18869,7 @@ func (r ApiExtrasCustomLinksListRequest) ContactsIsnull(contactsIsnull bool) Api
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiExtrasCustomLinksListRequest) ContactsN(contactsN string) ApiExtrasCustomLinksListRequest {
+func (r ApiExtrasCustomLinksListRequest) ContactsN(contactsN []string) ApiExtrasCustomLinksListRequest {
r.contactsN = &contactsN
return r
}
@@ -20471,8 +18889,7 @@ func (r ApiExtrasCustomLinksListRequest) DynamicGroups(dynamicGroups []string) A
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiExtrasCustomLinksListRequest) DynamicGroupsN(dynamicGroupsN string) ApiExtrasCustomLinksListRequest {
+func (r ApiExtrasCustomLinksListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiExtrasCustomLinksListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -20558,71 +18975,11 @@ func (r ApiExtrasCustomLinksListRequest) Id(id []string) ApiExtrasCustomLinksLis
return r
}
-func (r ApiExtrasCustomLinksListRequest) IdIc(idIc []string) ApiExtrasCustomLinksListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasCustomLinksListRequest) IdIe(idIe []string) ApiExtrasCustomLinksListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasCustomLinksListRequest) IdIew(idIew []string) ApiExtrasCustomLinksListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasCustomLinksListRequest) IdIre(idIre []string) ApiExtrasCustomLinksListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasCustomLinksListRequest) IdIsw(idIsw []string) ApiExtrasCustomLinksListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasCustomLinksListRequest) IdN(idN []string) ApiExtrasCustomLinksListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasCustomLinksListRequest) IdNic(idNic []string) ApiExtrasCustomLinksListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasCustomLinksListRequest) IdNie(idNie []string) ApiExtrasCustomLinksListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasCustomLinksListRequest) IdNiew(idNiew []string) ApiExtrasCustomLinksListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasCustomLinksListRequest) IdNire(idNire []string) ApiExtrasCustomLinksListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasCustomLinksListRequest) IdNisw(idNisw []string) ApiExtrasCustomLinksListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasCustomLinksListRequest) IdNre(idNre []string) ApiExtrasCustomLinksListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasCustomLinksListRequest) IdRe(idRe []string) ApiExtrasCustomLinksListRequest {
- r.idRe = &idRe
- return r
-}
-
// Number of results to return per page.
func (r ApiExtrasCustomLinksListRequest) Limit(limit int32) ApiExtrasCustomLinksListRequest {
r.limit = &limit
@@ -20803,8 +19160,7 @@ func (r ApiExtrasCustomLinksListRequest) TeamsIsnull(teamsIsnull bool) ApiExtras
return r
}
-// Exclude Teams (name or ID)
-func (r ApiExtrasCustomLinksListRequest) TeamsN(teamsN string) ApiExtrasCustomLinksListRequest {
+func (r ApiExtrasCustomLinksListRequest) TeamsN(teamsN []string) ApiExtrasCustomLinksListRequest {
r.teamsN = &teamsN
return r
}
@@ -20915,6 +19271,12 @@ func (r ApiExtrasCustomLinksListRequest) Depth(depth int32) ApiExtrasCustomLinks
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasCustomLinksListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasCustomLinksListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasCustomLinksListRequest) Execute() (*PaginatedCustomLinkList, *http.Response, error) {
return r.ApiService.ExtrasCustomLinksListExecute(r)
}
@@ -21124,7 +19486,15 @@ func (a *ExtrasAPIService) ExtrasCustomLinksListExecute(r ApiExtrasCustomLinksLi
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.contentType != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "content_type", r.contentType, "form", "")
@@ -21144,7 +19514,15 @@ func (a *ExtrasAPIService) ExtrasCustomLinksListExecute(r ApiExtrasCustomLinksLi
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -21314,61 +19692,6 @@ func (a *ExtrasAPIService) ExtrasCustomLinksListExecute(r ApiExtrasCustomLinksLi
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -21380,83 +19703,6 @@ func (a *ExtrasAPIService) ExtrasCustomLinksListExecute(r ApiExtrasCustomLinksLi
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.limit != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
@@ -21795,7 +20041,15 @@ func (a *ExtrasAPIService) ExtrasCustomLinksListExecute(r ApiExtrasCustomLinksLi
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.text != nil {
t := *r.text
@@ -22020,8 +20274,16 @@ func (a *ExtrasAPIService) ExtrasCustomLinksListExecute(r ApiExtrasCustomLinksLi
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -22236,6 +20498,7 @@ type ApiExtrasCustomLinksNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasCustomLinksNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasCustomLinksNotesListRequest {
@@ -22261,6 +20524,12 @@ func (r ApiExtrasCustomLinksNotesListRequest) Depth(depth int32) ApiExtrasCustom
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasCustomLinksNotesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasCustomLinksNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasCustomLinksNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.ExtrasCustomLinksNotesListExecute(r)
}
@@ -22316,8 +20585,16 @@ func (a *ExtrasAPIService) ExtrasCustomLinksNotesListExecute(r ApiExtrasCustomLi
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -22527,6 +20804,7 @@ type ApiExtrasCustomLinksRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasCustomLinksRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasCustomLinksRetrieveRequest {
@@ -22540,6 +20818,12 @@ func (r ApiExtrasCustomLinksRetrieveRequest) Depth(depth int32) ApiExtrasCustomL
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasCustomLinksRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasCustomLinksRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasCustomLinksRetrieveRequest) Execute() (*CustomLink, *http.Response, error) {
return r.ApiService.ExtrasCustomLinksRetrieveExecute(r)
}
@@ -22589,8 +20873,16 @@ func (a *ExtrasAPIService) ExtrasCustomLinksRetrieveExecute(r ApiExtrasCustomLin
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -23441,19 +21733,7 @@ type ApiExtrasDynamicGroupMembershipsListRequest struct {
group *[]string
groupN *[]string
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
limit *int32
offset *int32
@@ -23463,7 +21743,7 @@ type ApiExtrasDynamicGroupMembershipsListRequest struct {
operatorIew *[]string
operatorIre *[]string
operatorIsw *[]string
- operatorN *[]ExtrasDynamicGroupMembershipsListOperatorParameterInner
+ operatorN *[]string
operatorNic *[]string
operatorNie *[]string
operatorNiew *[]string
@@ -23482,6 +21762,7 @@ type ApiExtrasDynamicGroupMembershipsListRequest struct {
weightLte *[]int32
weightN *[]int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasDynamicGroupMembershipsListRequest) Created(created []time.Time) ApiExtrasDynamicGroupMembershipsListRequest {
@@ -23510,71 +21791,11 @@ func (r ApiExtrasDynamicGroupMembershipsListRequest) Id(id []string) ApiExtrasDy
return r
}
-func (r ApiExtrasDynamicGroupMembershipsListRequest) IdIc(idIc []string) ApiExtrasDynamicGroupMembershipsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasDynamicGroupMembershipsListRequest) IdIe(idIe []string) ApiExtrasDynamicGroupMembershipsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasDynamicGroupMembershipsListRequest) IdIew(idIew []string) ApiExtrasDynamicGroupMembershipsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasDynamicGroupMembershipsListRequest) IdIre(idIre []string) ApiExtrasDynamicGroupMembershipsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasDynamicGroupMembershipsListRequest) IdIsw(idIsw []string) ApiExtrasDynamicGroupMembershipsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasDynamicGroupMembershipsListRequest) IdN(idN []string) ApiExtrasDynamicGroupMembershipsListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasDynamicGroupMembershipsListRequest) IdNic(idNic []string) ApiExtrasDynamicGroupMembershipsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasDynamicGroupMembershipsListRequest) IdNie(idNie []string) ApiExtrasDynamicGroupMembershipsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasDynamicGroupMembershipsListRequest) IdNiew(idNiew []string) ApiExtrasDynamicGroupMembershipsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasDynamicGroupMembershipsListRequest) IdNire(idNire []string) ApiExtrasDynamicGroupMembershipsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasDynamicGroupMembershipsListRequest) IdNisw(idNisw []string) ApiExtrasDynamicGroupMembershipsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasDynamicGroupMembershipsListRequest) IdNre(idNre []string) ApiExtrasDynamicGroupMembershipsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasDynamicGroupMembershipsListRequest) IdRe(idRe []string) ApiExtrasDynamicGroupMembershipsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiExtrasDynamicGroupMembershipsListRequest) LastUpdated(lastUpdated []time.Time) ApiExtrasDynamicGroupMembershipsListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -23622,7 +21843,7 @@ func (r ApiExtrasDynamicGroupMembershipsListRequest) OperatorIsw(operatorIsw []s
return r
}
-func (r ApiExtrasDynamicGroupMembershipsListRequest) OperatorN(operatorN []ExtrasDynamicGroupMembershipsListOperatorParameterInner) ApiExtrasDynamicGroupMembershipsListRequest {
+func (r ApiExtrasDynamicGroupMembershipsListRequest) OperatorN(operatorN []string) ApiExtrasDynamicGroupMembershipsListRequest {
r.operatorN = &operatorN
return r
}
@@ -23720,6 +21941,12 @@ func (r ApiExtrasDynamicGroupMembershipsListRequest) Depth(depth int32) ApiExtra
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasDynamicGroupMembershipsListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasDynamicGroupMembershipsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasDynamicGroupMembershipsListRequest) Execute() (*PaginatedDynamicGroupMembershipList, *http.Response, error) {
return r.ApiService.ExtrasDynamicGroupMembershipsListExecute(r)
}
@@ -23807,61 +22034,6 @@ func (a *ExtrasAPIService) ExtrasDynamicGroupMembershipsListExecute(r ApiExtrasD
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -23873,83 +22045,6 @@ func (a *ExtrasAPIService) ExtrasDynamicGroupMembershipsListExecute(r ApiExtrasD
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -24218,8 +22313,16 @@ func (a *ExtrasAPIService) ExtrasDynamicGroupMembershipsListExecute(r ApiExtrasD
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -24429,6 +22532,7 @@ type ApiExtrasDynamicGroupMembershipsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasDynamicGroupMembershipsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasDynamicGroupMembershipsRetrieveRequest {
@@ -24442,6 +22546,12 @@ func (r ApiExtrasDynamicGroupMembershipsRetrieveRequest) Depth(depth int32) ApiE
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasDynamicGroupMembershipsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasDynamicGroupMembershipsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasDynamicGroupMembershipsRetrieveRequest) Execute() (*DynamicGroupMembership, *http.Response, error) {
return r.ApiService.ExtrasDynamicGroupMembershipsRetrieveExecute(r)
}
@@ -24491,8 +22601,16 @@ func (a *ExtrasAPIService) ExtrasDynamicGroupMembershipsRetrieveExecute(r ApiExt
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -25340,7 +23458,7 @@ type ApiExtrasDynamicGroupsListRequest struct {
ApiService *ExtrasAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
contentType *[]int32
contentTypeN *[]int32
created *[]time.Time
@@ -25371,7 +23489,7 @@ type ApiExtrasDynamicGroupsListRequest struct {
groupTypeIew *[]string
groupTypeIre *[]string
groupTypeIsw *[]string
- groupTypeN *[]ExtrasDynamicGroupsListGroupTypeParameterInner
+ groupTypeN *[]string
groupTypeNic *[]string
groupTypeNie *[]string
groupTypeNiew *[]string
@@ -25380,19 +23498,7 @@ type ApiExtrasDynamicGroupsListRequest struct {
groupTypeNre *[]string
groupTypeRe *[]string
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -25402,19 +23508,7 @@ type ApiExtrasDynamicGroupsListRequest struct {
lastUpdatedN *[]time.Time
limit *int32
memberId *[]string
- memberIdIc *[]string
- memberIdIe *[]string
- memberIdIew *[]string
- memberIdIre *[]string
- memberIdIsw *[]string
memberIdN *[]string
- memberIdNic *[]string
- memberIdNie *[]string
- memberIdNiew *[]string
- memberIdNire *[]string
- memberIdNisw *[]string
- memberIdNre *[]string
- memberIdRe *[]string
name *[]string
nameIc *[]string
nameIe *[]string
@@ -25437,7 +23531,7 @@ type ApiExtrasDynamicGroupsListRequest struct {
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
tenant *[]string
tenantIsnull *bool
tenantN *[]string
@@ -25448,6 +23542,7 @@ type ApiExtrasDynamicGroupsListRequest struct {
tenantIdIsnull *bool
tenantIdN *[]*string
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasDynamicGroupsListRequest) Contacts(contacts []string) ApiExtrasDynamicGroupsListRequest {
@@ -25461,8 +23556,7 @@ func (r ApiExtrasDynamicGroupsListRequest) ContactsIsnull(contactsIsnull bool) A
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiExtrasDynamicGroupsListRequest) ContactsN(contactsN string) ApiExtrasDynamicGroupsListRequest {
+func (r ApiExtrasDynamicGroupsListRequest) ContactsN(contactsN []string) ApiExtrasDynamicGroupsListRequest {
r.contactsN = &contactsN
return r
}
@@ -25617,7 +23711,7 @@ func (r ApiExtrasDynamicGroupsListRequest) GroupTypeIsw(groupTypeIsw []string) A
return r
}
-func (r ApiExtrasDynamicGroupsListRequest) GroupTypeN(groupTypeN []ExtrasDynamicGroupsListGroupTypeParameterInner) ApiExtrasDynamicGroupsListRequest {
+func (r ApiExtrasDynamicGroupsListRequest) GroupTypeN(groupTypeN []string) ApiExtrasDynamicGroupsListRequest {
r.groupTypeN = &groupTypeN
return r
}
@@ -25663,71 +23757,11 @@ func (r ApiExtrasDynamicGroupsListRequest) Id(id []string) ApiExtrasDynamicGroup
return r
}
-func (r ApiExtrasDynamicGroupsListRequest) IdIc(idIc []string) ApiExtrasDynamicGroupsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasDynamicGroupsListRequest) IdIe(idIe []string) ApiExtrasDynamicGroupsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasDynamicGroupsListRequest) IdIew(idIew []string) ApiExtrasDynamicGroupsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasDynamicGroupsListRequest) IdIre(idIre []string) ApiExtrasDynamicGroupsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasDynamicGroupsListRequest) IdIsw(idIsw []string) ApiExtrasDynamicGroupsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasDynamicGroupsListRequest) IdN(idN []string) ApiExtrasDynamicGroupsListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasDynamicGroupsListRequest) IdNic(idNic []string) ApiExtrasDynamicGroupsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasDynamicGroupsListRequest) IdNie(idNie []string) ApiExtrasDynamicGroupsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasDynamicGroupsListRequest) IdNiew(idNiew []string) ApiExtrasDynamicGroupsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasDynamicGroupsListRequest) IdNire(idNire []string) ApiExtrasDynamicGroupsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasDynamicGroupsListRequest) IdNisw(idNisw []string) ApiExtrasDynamicGroupsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasDynamicGroupsListRequest) IdNre(idNre []string) ApiExtrasDynamicGroupsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasDynamicGroupsListRequest) IdRe(idRe []string) ApiExtrasDynamicGroupsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiExtrasDynamicGroupsListRequest) LastUpdated(lastUpdated []time.Time) ApiExtrasDynamicGroupsListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -25775,84 +23809,12 @@ func (r ApiExtrasDynamicGroupsListRequest) MemberId(memberId []string) ApiExtras
return r
}
-// Group member ID contains
-func (r ApiExtrasDynamicGroupsListRequest) MemberIdIc(memberIdIc []string) ApiExtrasDynamicGroupsListRequest {
- r.memberIdIc = &memberIdIc
- return r
-}
-
-// Group member ID
-func (r ApiExtrasDynamicGroupsListRequest) MemberIdIe(memberIdIe []string) ApiExtrasDynamicGroupsListRequest {
- r.memberIdIe = &memberIdIe
- return r
-}
-
-// Group member ID ends with
-func (r ApiExtrasDynamicGroupsListRequest) MemberIdIew(memberIdIew []string) ApiExtrasDynamicGroupsListRequest {
- r.memberIdIew = &memberIdIew
- return r
-}
-
-// Group member ID matches regex
-func (r ApiExtrasDynamicGroupsListRequest) MemberIdIre(memberIdIre []string) ApiExtrasDynamicGroupsListRequest {
- r.memberIdIre = &memberIdIre
- return r
-}
-
-// Group member ID starts with
-func (r ApiExtrasDynamicGroupsListRequest) MemberIdIsw(memberIdIsw []string) ApiExtrasDynamicGroupsListRequest {
- r.memberIdIsw = &memberIdIsw
- return r
-}
-
// Exclude Group member ID
func (r ApiExtrasDynamicGroupsListRequest) MemberIdN(memberIdN []string) ApiExtrasDynamicGroupsListRequest {
r.memberIdN = &memberIdN
return r
}
-// Exclude Group member ID contains
-func (r ApiExtrasDynamicGroupsListRequest) MemberIdNic(memberIdNic []string) ApiExtrasDynamicGroupsListRequest {
- r.memberIdNic = &memberIdNic
- return r
-}
-
-// Exclude Group member ID
-func (r ApiExtrasDynamicGroupsListRequest) MemberIdNie(memberIdNie []string) ApiExtrasDynamicGroupsListRequest {
- r.memberIdNie = &memberIdNie
- return r
-}
-
-// Exclude Group member ID ends with
-func (r ApiExtrasDynamicGroupsListRequest) MemberIdNiew(memberIdNiew []string) ApiExtrasDynamicGroupsListRequest {
- r.memberIdNiew = &memberIdNiew
- return r
-}
-
-// Exclude Group member ID matches regex
-func (r ApiExtrasDynamicGroupsListRequest) MemberIdNire(memberIdNire []string) ApiExtrasDynamicGroupsListRequest {
- r.memberIdNire = &memberIdNire
- return r
-}
-
-// Exclude Group member ID starts with
-func (r ApiExtrasDynamicGroupsListRequest) MemberIdNisw(memberIdNisw []string) ApiExtrasDynamicGroupsListRequest {
- r.memberIdNisw = &memberIdNisw
- return r
-}
-
-// Exclude Group member ID matches regex
-func (r ApiExtrasDynamicGroupsListRequest) MemberIdNre(memberIdNre []string) ApiExtrasDynamicGroupsListRequest {
- r.memberIdNre = &memberIdNre
- return r
-}
-
-// Group member ID matches regex
-func (r ApiExtrasDynamicGroupsListRequest) MemberIdRe(memberIdRe []string) ApiExtrasDynamicGroupsListRequest {
- r.memberIdRe = &memberIdRe
- return r
-}
-
func (r ApiExtrasDynamicGroupsListRequest) Name(name []string) ApiExtrasDynamicGroupsListRequest {
r.name = &name
return r
@@ -25967,8 +23929,7 @@ func (r ApiExtrasDynamicGroupsListRequest) TeamsIsnull(teamsIsnull bool) ApiExtr
return r
}
-// Exclude Teams (name or ID)
-func (r ApiExtrasDynamicGroupsListRequest) TeamsN(teamsN string) ApiExtrasDynamicGroupsListRequest {
+func (r ApiExtrasDynamicGroupsListRequest) TeamsN(teamsN []string) ApiExtrasDynamicGroupsListRequest {
r.teamsN = &teamsN
return r
}
@@ -26029,6 +23990,12 @@ func (r ApiExtrasDynamicGroupsListRequest) Depth(depth int32) ApiExtrasDynamicGr
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasDynamicGroupsListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasDynamicGroupsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasDynamicGroupsListRequest) Execute() (*PaginatedDynamicGroupList, *http.Response, error) {
return r.ApiService.ExtrasDynamicGroupsListExecute(r)
}
@@ -26084,7 +24051,15 @@ func (a *ExtrasAPIService) ExtrasDynamicGroupsListExecute(r ApiExtrasDynamicGrou
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.contentType != nil {
t := *r.contentType
@@ -26499,61 +24474,6 @@ func (a *ExtrasAPIService) ExtrasDynamicGroupsListExecute(r ApiExtrasDynamicGrou
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -26565,83 +24485,6 @@ func (a *ExtrasAPIService) ExtrasDynamicGroupsListExecute(r ApiExtrasDynamicGrou
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -26725,61 +24568,6 @@ func (a *ExtrasAPIService) ExtrasDynamicGroupsListExecute(r ApiExtrasDynamicGrou
parameterAddToHeaderOrQuery(localVarQueryParams, "member_id", t, "form", "multi")
}
}
- if r.memberIdIc != nil {
- t := *r.memberIdIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "member_id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "member_id__ic", t, "form", "multi")
- }
- }
- if r.memberIdIe != nil {
- t := *r.memberIdIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "member_id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "member_id__ie", t, "form", "multi")
- }
- }
- if r.memberIdIew != nil {
- t := *r.memberIdIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "member_id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "member_id__iew", t, "form", "multi")
- }
- }
- if r.memberIdIre != nil {
- t := *r.memberIdIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "member_id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "member_id__ire", t, "form", "multi")
- }
- }
- if r.memberIdIsw != nil {
- t := *r.memberIdIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "member_id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "member_id__isw", t, "form", "multi")
- }
- }
if r.memberIdN != nil {
t := *r.memberIdN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -26791,83 +24579,6 @@ func (a *ExtrasAPIService) ExtrasDynamicGroupsListExecute(r ApiExtrasDynamicGrou
parameterAddToHeaderOrQuery(localVarQueryParams, "member_id__n", t, "form", "multi")
}
}
- if r.memberIdNic != nil {
- t := *r.memberIdNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "member_id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "member_id__nic", t, "form", "multi")
- }
- }
- if r.memberIdNie != nil {
- t := *r.memberIdNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "member_id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "member_id__nie", t, "form", "multi")
- }
- }
- if r.memberIdNiew != nil {
- t := *r.memberIdNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "member_id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "member_id__niew", t, "form", "multi")
- }
- }
- if r.memberIdNire != nil {
- t := *r.memberIdNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "member_id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "member_id__nire", t, "form", "multi")
- }
- }
- if r.memberIdNisw != nil {
- t := *r.memberIdNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "member_id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "member_id__nisw", t, "form", "multi")
- }
- }
- if r.memberIdNre != nil {
- t := *r.memberIdNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "member_id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "member_id__nre", t, "form", "multi")
- }
- }
- if r.memberIdRe != nil {
- t := *r.memberIdRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "member_id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "member_id__re", t, "form", "multi")
- }
- }
if r.name != nil {
t := *r.name
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -27071,7 +24782,15 @@ func (a *ExtrasAPIService) ExtrasDynamicGroupsListExecute(r ApiExtrasDynamicGrou
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.tenant != nil {
t := *r.tenant
@@ -27151,8 +24870,16 @@ func (a *ExtrasAPIService) ExtrasDynamicGroupsListExecute(r ApiExtrasDynamicGrou
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -27228,6 +24955,7 @@ type ApiExtrasDynamicGroupsMembersRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasDynamicGroupsMembersRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasDynamicGroupsMembersRetrieveRequest {
@@ -27241,6 +24969,12 @@ func (r ApiExtrasDynamicGroupsMembersRetrieveRequest) Depth(depth int32) ApiExtr
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasDynamicGroupsMembersRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasDynamicGroupsMembersRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasDynamicGroupsMembersRetrieveRequest) Execute() (*DynamicGroup, *http.Response, error) {
return r.ApiService.ExtrasDynamicGroupsMembersRetrieveExecute(r)
}
@@ -27290,8 +25024,16 @@ func (a *ExtrasAPIService) ExtrasDynamicGroupsMembersRetrieveExecute(r ApiExtras
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -27506,6 +25248,7 @@ type ApiExtrasDynamicGroupsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasDynamicGroupsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasDynamicGroupsNotesListRequest {
@@ -27531,6 +25274,12 @@ func (r ApiExtrasDynamicGroupsNotesListRequest) Depth(depth int32) ApiExtrasDyna
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasDynamicGroupsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasDynamicGroupsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasDynamicGroupsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.ExtrasDynamicGroupsNotesListExecute(r)
}
@@ -27586,8 +25335,16 @@ func (a *ExtrasAPIService) ExtrasDynamicGroupsNotesListExecute(r ApiExtrasDynami
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -27797,6 +25554,7 @@ type ApiExtrasDynamicGroupsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasDynamicGroupsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasDynamicGroupsRetrieveRequest {
@@ -27810,6 +25568,12 @@ func (r ApiExtrasDynamicGroupsRetrieveRequest) Depth(depth int32) ApiExtrasDynam
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasDynamicGroupsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasDynamicGroupsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasDynamicGroupsRetrieveRequest) Execute() (*DynamicGroup, *http.Response, error) {
return r.ApiService.ExtrasDynamicGroupsRetrieveExecute(r)
}
@@ -27859,8 +25623,16 @@ func (a *ExtrasAPIService) ExtrasDynamicGroupsRetrieveExecute(r ApiExtrasDynamic
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -28708,26 +26480,14 @@ type ApiExtrasExportTemplatesListRequest struct {
ApiService *ExtrasAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
contentType *string
contentTypeN *string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
limit *int32
name *[]string
nameIc *[]string
@@ -28748,26 +26508,15 @@ type ApiExtrasExportTemplatesListRequest struct {
ownerContentTypeIsnull *bool
ownerContentTypeN *string
ownerObjectId *[]string
- ownerObjectIdIc *[]string
- ownerObjectIdIe *[]string
- ownerObjectIdIew *[]string
- ownerObjectIdIre *[]string
ownerObjectIdIsnull *bool
- ownerObjectIdIsw *[]string
ownerObjectIdN *[]string
- ownerObjectIdNic *[]string
- ownerObjectIdNie *[]string
- ownerObjectIdNiew *[]string
- ownerObjectIdNire *[]string
- ownerObjectIdNisw *[]string
- ownerObjectIdNre *[]string
- ownerObjectIdRe *[]string
q *string
sort *string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasExportTemplatesListRequest) Contacts(contacts []string) ApiExtrasExportTemplatesListRequest {
@@ -28781,8 +26530,7 @@ func (r ApiExtrasExportTemplatesListRequest) ContactsIsnull(contactsIsnull bool)
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiExtrasExportTemplatesListRequest) ContactsN(contactsN string) ApiExtrasExportTemplatesListRequest {
+func (r ApiExtrasExportTemplatesListRequest) ContactsN(contactsN []string) ApiExtrasExportTemplatesListRequest {
r.contactsN = &contactsN
return r
}
@@ -28802,8 +26550,7 @@ func (r ApiExtrasExportTemplatesListRequest) DynamicGroups(dynamicGroups []strin
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiExtrasExportTemplatesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiExtrasExportTemplatesListRequest {
+func (r ApiExtrasExportTemplatesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiExtrasExportTemplatesListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -28819,71 +26566,11 @@ func (r ApiExtrasExportTemplatesListRequest) Id(id []string) ApiExtrasExportTemp
return r
}
-func (r ApiExtrasExportTemplatesListRequest) IdIc(idIc []string) ApiExtrasExportTemplatesListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasExportTemplatesListRequest) IdIe(idIe []string) ApiExtrasExportTemplatesListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasExportTemplatesListRequest) IdIew(idIew []string) ApiExtrasExportTemplatesListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasExportTemplatesListRequest) IdIre(idIre []string) ApiExtrasExportTemplatesListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasExportTemplatesListRequest) IdIsw(idIsw []string) ApiExtrasExportTemplatesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasExportTemplatesListRequest) IdN(idN []string) ApiExtrasExportTemplatesListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasExportTemplatesListRequest) IdNic(idNic []string) ApiExtrasExportTemplatesListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasExportTemplatesListRequest) IdNie(idNie []string) ApiExtrasExportTemplatesListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasExportTemplatesListRequest) IdNiew(idNiew []string) ApiExtrasExportTemplatesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasExportTemplatesListRequest) IdNire(idNire []string) ApiExtrasExportTemplatesListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasExportTemplatesListRequest) IdNisw(idNisw []string) ApiExtrasExportTemplatesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasExportTemplatesListRequest) IdNre(idNre []string) ApiExtrasExportTemplatesListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasExportTemplatesListRequest) IdRe(idRe []string) ApiExtrasExportTemplatesListRequest {
- r.idRe = &idRe
- return r
-}
-
// Number of results to return per page.
func (r ApiExtrasExportTemplatesListRequest) Limit(limit int32) ApiExtrasExportTemplatesListRequest {
r.limit = &limit
@@ -28986,76 +26673,16 @@ func (r ApiExtrasExportTemplatesListRequest) OwnerObjectId(ownerObjectId []strin
return r
}
-func (r ApiExtrasExportTemplatesListRequest) OwnerObjectIdIc(ownerObjectIdIc []string) ApiExtrasExportTemplatesListRequest {
- r.ownerObjectIdIc = &ownerObjectIdIc
- return r
-}
-
-func (r ApiExtrasExportTemplatesListRequest) OwnerObjectIdIe(ownerObjectIdIe []string) ApiExtrasExportTemplatesListRequest {
- r.ownerObjectIdIe = &ownerObjectIdIe
- return r
-}
-
-func (r ApiExtrasExportTemplatesListRequest) OwnerObjectIdIew(ownerObjectIdIew []string) ApiExtrasExportTemplatesListRequest {
- r.ownerObjectIdIew = &ownerObjectIdIew
- return r
-}
-
-func (r ApiExtrasExportTemplatesListRequest) OwnerObjectIdIre(ownerObjectIdIre []string) ApiExtrasExportTemplatesListRequest {
- r.ownerObjectIdIre = &ownerObjectIdIre
- return r
-}
-
func (r ApiExtrasExportTemplatesListRequest) OwnerObjectIdIsnull(ownerObjectIdIsnull bool) ApiExtrasExportTemplatesListRequest {
r.ownerObjectIdIsnull = &ownerObjectIdIsnull
return r
}
-func (r ApiExtrasExportTemplatesListRequest) OwnerObjectIdIsw(ownerObjectIdIsw []string) ApiExtrasExportTemplatesListRequest {
- r.ownerObjectIdIsw = &ownerObjectIdIsw
- return r
-}
-
func (r ApiExtrasExportTemplatesListRequest) OwnerObjectIdN(ownerObjectIdN []string) ApiExtrasExportTemplatesListRequest {
r.ownerObjectIdN = &ownerObjectIdN
return r
}
-func (r ApiExtrasExportTemplatesListRequest) OwnerObjectIdNic(ownerObjectIdNic []string) ApiExtrasExportTemplatesListRequest {
- r.ownerObjectIdNic = &ownerObjectIdNic
- return r
-}
-
-func (r ApiExtrasExportTemplatesListRequest) OwnerObjectIdNie(ownerObjectIdNie []string) ApiExtrasExportTemplatesListRequest {
- r.ownerObjectIdNie = &ownerObjectIdNie
- return r
-}
-
-func (r ApiExtrasExportTemplatesListRequest) OwnerObjectIdNiew(ownerObjectIdNiew []string) ApiExtrasExportTemplatesListRequest {
- r.ownerObjectIdNiew = &ownerObjectIdNiew
- return r
-}
-
-func (r ApiExtrasExportTemplatesListRequest) OwnerObjectIdNire(ownerObjectIdNire []string) ApiExtrasExportTemplatesListRequest {
- r.ownerObjectIdNire = &ownerObjectIdNire
- return r
-}
-
-func (r ApiExtrasExportTemplatesListRequest) OwnerObjectIdNisw(ownerObjectIdNisw []string) ApiExtrasExportTemplatesListRequest {
- r.ownerObjectIdNisw = &ownerObjectIdNisw
- return r
-}
-
-func (r ApiExtrasExportTemplatesListRequest) OwnerObjectIdNre(ownerObjectIdNre []string) ApiExtrasExportTemplatesListRequest {
- r.ownerObjectIdNre = &ownerObjectIdNre
- return r
-}
-
-func (r ApiExtrasExportTemplatesListRequest) OwnerObjectIdRe(ownerObjectIdRe []string) ApiExtrasExportTemplatesListRequest {
- r.ownerObjectIdRe = &ownerObjectIdRe
- return r
-}
-
// Search
func (r ApiExtrasExportTemplatesListRequest) Q(q string) ApiExtrasExportTemplatesListRequest {
r.q = &q
@@ -29079,8 +26706,7 @@ func (r ApiExtrasExportTemplatesListRequest) TeamsIsnull(teamsIsnull bool) ApiEx
return r
}
-// Exclude Teams (name or ID)
-func (r ApiExtrasExportTemplatesListRequest) TeamsN(teamsN string) ApiExtrasExportTemplatesListRequest {
+func (r ApiExtrasExportTemplatesListRequest) TeamsN(teamsN []string) ApiExtrasExportTemplatesListRequest {
r.teamsN = &teamsN
return r
}
@@ -29091,6 +26717,12 @@ func (r ApiExtrasExportTemplatesListRequest) Depth(depth int32) ApiExtrasExportT
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasExportTemplatesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasExportTemplatesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasExportTemplatesListRequest) Execute() (*PaginatedExportTemplateList, *http.Response, error) {
return r.ApiService.ExtrasExportTemplatesListExecute(r)
}
@@ -29146,7 +26778,15 @@ func (a *ExtrasAPIService) ExtrasExportTemplatesListExecute(r ApiExtrasExportTem
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.contentType != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "content_type", r.contentType, "form", "")
@@ -29166,75 +26806,28 @@ func (a *ExtrasAPIService) ExtrasExportTemplatesListExecute(r ApiExtrasExportTem
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.id != nil {
- t := *r.id
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
if r.idN != nil {
@@ -29248,83 +26841,6 @@ func (a *ExtrasAPIService) ExtrasExportTemplatesListExecute(r ApiExtrasExportTem
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.limit != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
@@ -29505,64 +27021,9 @@ func (a *ExtrasAPIService) ExtrasExportTemplatesListExecute(r ApiExtrasExportTem
parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id", t, "form", "multi")
}
}
- if r.ownerObjectIdIc != nil {
- t := *r.ownerObjectIdIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__ic", t, "form", "multi")
- }
- }
- if r.ownerObjectIdIe != nil {
- t := *r.ownerObjectIdIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__ie", t, "form", "multi")
- }
- }
- if r.ownerObjectIdIew != nil {
- t := *r.ownerObjectIdIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__iew", t, "form", "multi")
- }
- }
- if r.ownerObjectIdIre != nil {
- t := *r.ownerObjectIdIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__ire", t, "form", "multi")
- }
- }
if r.ownerObjectIdIsnull != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__isnull", r.ownerObjectIdIsnull, "form", "")
}
- if r.ownerObjectIdIsw != nil {
- t := *r.ownerObjectIdIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__isw", t, "form", "multi")
- }
- }
if r.ownerObjectIdN != nil {
t := *r.ownerObjectIdN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -29574,83 +27035,6 @@ func (a *ExtrasAPIService) ExtrasExportTemplatesListExecute(r ApiExtrasExportTem
parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__n", t, "form", "multi")
}
}
- if r.ownerObjectIdNic != nil {
- t := *r.ownerObjectIdNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__nic", t, "form", "multi")
- }
- }
- if r.ownerObjectIdNie != nil {
- t := *r.ownerObjectIdNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__nie", t, "form", "multi")
- }
- }
- if r.ownerObjectIdNiew != nil {
- t := *r.ownerObjectIdNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__niew", t, "form", "multi")
- }
- }
- if r.ownerObjectIdNire != nil {
- t := *r.ownerObjectIdNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__nire", t, "form", "multi")
- }
- }
- if r.ownerObjectIdNisw != nil {
- t := *r.ownerObjectIdNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__nisw", t, "form", "multi")
- }
- }
- if r.ownerObjectIdNre != nil {
- t := *r.ownerObjectIdNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__nre", t, "form", "multi")
- }
- }
- if r.ownerObjectIdRe != nil {
- t := *r.ownerObjectIdRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "owner_object_id__re", t, "form", "multi")
- }
- }
if r.q != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
}
@@ -29672,13 +27056,29 @@ func (a *ExtrasAPIService) ExtrasExportTemplatesListExecute(r ApiExtrasExportTem
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -29893,6 +27293,7 @@ type ApiExtrasExportTemplatesNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasExportTemplatesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasExportTemplatesNotesListRequest {
@@ -29918,6 +27319,12 @@ func (r ApiExtrasExportTemplatesNotesListRequest) Depth(depth int32) ApiExtrasEx
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasExportTemplatesNotesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasExportTemplatesNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasExportTemplatesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.ExtrasExportTemplatesNotesListExecute(r)
}
@@ -29973,8 +27380,16 @@ func (a *ExtrasAPIService) ExtrasExportTemplatesNotesListExecute(r ApiExtrasExpo
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -30184,6 +27599,7 @@ type ApiExtrasExportTemplatesRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasExportTemplatesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasExportTemplatesRetrieveRequest {
@@ -30197,6 +27613,12 @@ func (r ApiExtrasExportTemplatesRetrieveRequest) Depth(depth int32) ApiExtrasExp
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasExportTemplatesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasExportTemplatesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasExportTemplatesRetrieveRequest) Execute() (*ExportTemplate, *http.Response, error) {
return r.ApiService.ExtrasExportTemplatesRetrieveExecute(r)
}
@@ -30246,8 +27668,16 @@ func (a *ExtrasAPIService) ExtrasExportTemplatesRetrieveExecute(r ApiExtrasExpor
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -31109,7 +28539,7 @@ type ApiExtrasExternalIntegrationsListRequest struct {
caFilePathRe *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -31118,7 +28548,7 @@ type ApiExtrasExternalIntegrationsListRequest struct {
createdLte *[]time.Time
createdN *[]time.Time
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
extraConfig *[]string
format *CircuitsCircuitTerminationsListFormatParameter
hasSecretsGroup *bool
@@ -31138,19 +28568,7 @@ type ApiExtrasExternalIntegrationsListRequest struct {
httpMethodNre *[]string
httpMethodRe *[]string
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -31198,7 +28616,7 @@ type ApiExtrasExternalIntegrationsListRequest struct {
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
timeout *[]int32
timeoutGt *[]int32
timeoutGte *[]int32
@@ -31207,6 +28625,7 @@ type ApiExtrasExternalIntegrationsListRequest struct {
timeoutN *[]int32
verifySsl *bool
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasExternalIntegrationsListRequest) CaFilePath(caFilePath []string) ApiExtrasExternalIntegrationsListRequest {
@@ -31290,8 +28709,7 @@ func (r ApiExtrasExternalIntegrationsListRequest) ContactsIsnull(contactsIsnull
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiExtrasExternalIntegrationsListRequest) ContactsN(contactsN string) ApiExtrasExternalIntegrationsListRequest {
+func (r ApiExtrasExternalIntegrationsListRequest) ContactsN(contactsN []string) ApiExtrasExternalIntegrationsListRequest {
r.contactsN = &contactsN
return r
}
@@ -31336,8 +28754,7 @@ func (r ApiExtrasExternalIntegrationsListRequest) DynamicGroups(dynamicGroups []
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiExtrasExternalIntegrationsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiExtrasExternalIntegrationsListRequest {
+func (r ApiExtrasExternalIntegrationsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiExtrasExternalIntegrationsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -31439,71 +28856,11 @@ func (r ApiExtrasExternalIntegrationsListRequest) Id(id []string) ApiExtrasExter
return r
}
-func (r ApiExtrasExternalIntegrationsListRequest) IdIc(idIc []string) ApiExtrasExternalIntegrationsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasExternalIntegrationsListRequest) IdIe(idIe []string) ApiExtrasExternalIntegrationsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasExternalIntegrationsListRequest) IdIew(idIew []string) ApiExtrasExternalIntegrationsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasExternalIntegrationsListRequest) IdIre(idIre []string) ApiExtrasExternalIntegrationsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasExternalIntegrationsListRequest) IdIsw(idIsw []string) ApiExtrasExternalIntegrationsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasExternalIntegrationsListRequest) IdN(idN []string) ApiExtrasExternalIntegrationsListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasExternalIntegrationsListRequest) IdNic(idNic []string) ApiExtrasExternalIntegrationsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasExternalIntegrationsListRequest) IdNie(idNie []string) ApiExtrasExternalIntegrationsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasExternalIntegrationsListRequest) IdNiew(idNiew []string) ApiExtrasExternalIntegrationsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasExternalIntegrationsListRequest) IdNire(idNire []string) ApiExtrasExternalIntegrationsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasExternalIntegrationsListRequest) IdNisw(idNisw []string) ApiExtrasExternalIntegrationsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasExternalIntegrationsListRequest) IdNre(idNre []string) ApiExtrasExternalIntegrationsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasExternalIntegrationsListRequest) IdRe(idRe []string) ApiExtrasExternalIntegrationsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiExtrasExternalIntegrationsListRequest) LastUpdated(lastUpdated []time.Time) ApiExtrasExternalIntegrationsListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -31745,8 +29102,7 @@ func (r ApiExtrasExternalIntegrationsListRequest) TeamsIsnull(teamsIsnull bool)
return r
}
-// Exclude Teams (name or ID)
-func (r ApiExtrasExternalIntegrationsListRequest) TeamsN(teamsN string) ApiExtrasExternalIntegrationsListRequest {
+func (r ApiExtrasExternalIntegrationsListRequest) TeamsN(teamsN []string) ApiExtrasExternalIntegrationsListRequest {
r.teamsN = &teamsN
return r
}
@@ -31792,6 +29148,12 @@ func (r ApiExtrasExternalIntegrationsListRequest) Depth(depth int32) ApiExtrasEx
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasExternalIntegrationsListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasExternalIntegrationsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasExternalIntegrationsListRequest) Execute() (*PaginatedExternalIntegrationList, *http.Response, error) {
return r.ApiService.ExtrasExternalIntegrationsListExecute(r)
}
@@ -32001,7 +29363,15 @@ func (a *ExtrasAPIService) ExtrasExternalIntegrationsListExecute(r ApiExtrasExte
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -32084,7 +29454,15 @@ func (a *ExtrasAPIService) ExtrasExternalIntegrationsListExecute(r ApiExtrasExte
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.extraConfig != nil {
t := *r.extraConfig
@@ -32279,61 +29657,6 @@ func (a *ExtrasAPIService) ExtrasExternalIntegrationsListExecute(r ApiExtrasExte
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -32345,83 +29668,6 @@ func (a *ExtrasAPIService) ExtrasExternalIntegrationsListExecute(r ApiExtrasExte
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -32876,7 +30122,15 @@ func (a *ExtrasAPIService) ExtrasExternalIntegrationsListExecute(r ApiExtrasExte
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.timeout != nil {
t := *r.timeout
@@ -32950,8 +30204,16 @@ func (a *ExtrasAPIService) ExtrasExternalIntegrationsListExecute(r ApiExtrasExte
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -33166,6 +30428,7 @@ type ApiExtrasExternalIntegrationsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasExternalIntegrationsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasExternalIntegrationsNotesListRequest {
@@ -33191,6 +30454,12 @@ func (r ApiExtrasExternalIntegrationsNotesListRequest) Depth(depth int32) ApiExt
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasExternalIntegrationsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasExternalIntegrationsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasExternalIntegrationsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.ExtrasExternalIntegrationsNotesListExecute(r)
}
@@ -33246,8 +30515,16 @@ func (a *ExtrasAPIService) ExtrasExternalIntegrationsNotesListExecute(r ApiExtra
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -33457,6 +30734,7 @@ type ApiExtrasExternalIntegrationsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasExternalIntegrationsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasExternalIntegrationsRetrieveRequest {
@@ -33470,6 +30748,12 @@ func (r ApiExtrasExternalIntegrationsRetrieveRequest) Depth(depth int32) ApiExtr
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasExternalIntegrationsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasExternalIntegrationsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasExternalIntegrationsRetrieveRequest) Execute() (*ExternalIntegration, *http.Response, error) {
return r.ApiService.ExtrasExternalIntegrationsRetrieveExecute(r)
}
@@ -33519,8 +30803,16 @@ func (a *ExtrasAPIService) ExtrasExternalIntegrationsRetrieveExecute(r ApiExtras
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -33733,6 +31025,7 @@ type ApiExtrasFileProxiesDownloadRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasFileProxiesDownloadRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasFileProxiesDownloadRetrieveRequest {
@@ -33746,6 +31039,12 @@ func (r ApiExtrasFileProxiesDownloadRetrieveRequest) Depth(depth int32) ApiExtra
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasFileProxiesDownloadRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasFileProxiesDownloadRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasFileProxiesDownloadRetrieveRequest) Execute() (*os.File, *http.Response, error) {
return r.ApiService.ExtrasFileProxiesDownloadRetrieveExecute(r)
}
@@ -33795,8 +31094,16 @@ func (a *ExtrasAPIService) ExtrasFileProxiesDownloadRetrieveExecute(r ApiExtrasF
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -33871,19 +31178,7 @@ type ApiExtrasFileProxiesListRequest struct {
ApiService *ExtrasAPIService
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
job *[]string
jobIsnull *bool
jobN *[]string
@@ -33915,6 +31210,7 @@ type ApiExtrasFileProxiesListRequest struct {
uploadedAtLte *[]time.Time
uploadedAtN *[]time.Time
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasFileProxiesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasFileProxiesListRequest {
@@ -33928,71 +31224,11 @@ func (r ApiExtrasFileProxiesListRequest) Id(id []string) ApiExtrasFileProxiesLis
return r
}
-func (r ApiExtrasFileProxiesListRequest) IdIc(idIc []string) ApiExtrasFileProxiesListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasFileProxiesListRequest) IdIe(idIe []string) ApiExtrasFileProxiesListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasFileProxiesListRequest) IdIew(idIew []string) ApiExtrasFileProxiesListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasFileProxiesListRequest) IdIre(idIre []string) ApiExtrasFileProxiesListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasFileProxiesListRequest) IdIsw(idIsw []string) ApiExtrasFileProxiesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasFileProxiesListRequest) IdN(idN []string) ApiExtrasFileProxiesListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasFileProxiesListRequest) IdNic(idNic []string) ApiExtrasFileProxiesListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasFileProxiesListRequest) IdNie(idNie []string) ApiExtrasFileProxiesListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasFileProxiesListRequest) IdNiew(idNiew []string) ApiExtrasFileProxiesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasFileProxiesListRequest) IdNire(idNire []string) ApiExtrasFileProxiesListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasFileProxiesListRequest) IdNisw(idNisw []string) ApiExtrasFileProxiesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasFileProxiesListRequest) IdNre(idNre []string) ApiExtrasFileProxiesListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasFileProxiesListRequest) IdRe(idRe []string) ApiExtrasFileProxiesListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiExtrasFileProxiesListRequest) Job(job []string) ApiExtrasFileProxiesListRequest {
r.job = &job
return r
@@ -34157,6 +31393,12 @@ func (r ApiExtrasFileProxiesListRequest) Depth(depth int32) ApiExtrasFileProxies
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasFileProxiesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasFileProxiesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasFileProxiesListRequest) Execute() (*PaginatedFileProxyList, *http.Response, error) {
return r.ApiService.ExtrasFileProxiesListExecute(r)
}
@@ -34211,61 +31453,6 @@ func (a *ExtrasAPIService) ExtrasFileProxiesListExecute(r ApiExtrasFileProxiesLi
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -34277,83 +31464,6 @@ func (a *ExtrasAPIService) ExtrasFileProxiesListExecute(r ApiExtrasFileProxiesLi
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.job != nil {
t := *r.job
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -34639,147 +31749,170 @@ func (a *ExtrasAPIService) ExtrasFileProxiesListExecute(r ApiExtrasFileProxiesLi
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
}
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiExtrasFileProxiesRetrieveRequest struct {
- ctx context.Context
- ApiService *ExtrasAPIService
- id string
- format *CircuitsCircuitTerminationsListFormatParameter
- depth *int32
-}
-
-func (r ApiExtrasFileProxiesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasFileProxiesRetrieveRequest {
- r.format = &format
- return r
-}
-
-// Serializer Depth
-func (r ApiExtrasFileProxiesRetrieveRequest) Depth(depth int32) ApiExtrasFileProxiesRetrieveRequest {
- r.depth = &depth
- return r
-}
-
-func (r ApiExtrasFileProxiesRetrieveRequest) Execute() (*FileProxy, *http.Response, error) {
- return r.ApiService.ExtrasFileProxiesRetrieveExecute(r)
-}
-
-/*
-ExtrasFileProxiesRetrieve Method for ExtrasFileProxiesRetrieve
-
-Retrieve a file proxy object.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this file proxy.
- @return ApiExtrasFileProxiesRetrieveRequest
-*/
-func (a *ExtrasAPIService) ExtrasFileProxiesRetrieve(ctx context.Context, id string) ApiExtrasFileProxiesRetrieveRequest {
- return ApiExtrasFileProxiesRetrieveRequest{
- ApiService: a,
- ctx: ctx,
- id: id,
- }
-}
-
-// Execute executes the request
-// @return FileProxy
-func (a *ExtrasAPIService) ExtrasFileProxiesRetrieveExecute(r ApiExtrasFileProxiesRetrieveRequest) (*FileProxy, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *FileProxy
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasFileProxiesRetrieve")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/extras/file-proxies/{id}/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.depth != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiExtrasFileProxiesRetrieveRequest struct {
+ ctx context.Context
+ ApiService *ExtrasAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ depth *int32
+ excludeM2m *bool
+}
+
+func (r ApiExtrasFileProxiesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasFileProxiesRetrieveRequest {
+ r.format = &format
+ return r
+}
+
+// Serializer Depth
+func (r ApiExtrasFileProxiesRetrieveRequest) Depth(depth int32) ApiExtrasFileProxiesRetrieveRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiExtrasFileProxiesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasFileProxiesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiExtrasFileProxiesRetrieveRequest) Execute() (*FileProxy, *http.Response, error) {
+ return r.ApiService.ExtrasFileProxiesRetrieveExecute(r)
+}
+
+/*
+ExtrasFileProxiesRetrieve Method for ExtrasFileProxiesRetrieve
+
+Retrieve a file proxy object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this file proxy.
+ @return ApiExtrasFileProxiesRetrieveRequest
+*/
+func (a *ExtrasAPIService) ExtrasFileProxiesRetrieve(ctx context.Context, id string) ApiExtrasFileProxiesRetrieveRequest {
+ return ApiExtrasFileProxiesRetrieveRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return FileProxy
+func (a *ExtrasAPIService) ExtrasFileProxiesRetrieveExecute(r ApiExtrasFileProxiesRetrieveRequest) (*FileProxy, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *FileProxy
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasFileProxiesRetrieve")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/extras/file-proxies/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -35504,7 +32637,7 @@ type ApiExtrasGitRepositoriesListRequest struct {
branchRe *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -35513,22 +32646,10 @@ type ApiExtrasGitRepositoriesListRequest struct {
createdLte *[]time.Time
createdN *[]time.Time
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -35594,8 +32715,9 @@ type ApiExtrasGitRepositoriesListRequest struct {
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasGitRepositoriesListRequest) Branch(branch []string) ApiExtrasGitRepositoriesListRequest {
@@ -35679,8 +32801,7 @@ func (r ApiExtrasGitRepositoriesListRequest) ContactsIsnull(contactsIsnull bool)
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiExtrasGitRepositoriesListRequest) ContactsN(contactsN string) ApiExtrasGitRepositoriesListRequest {
+func (r ApiExtrasGitRepositoriesListRequest) ContactsN(contactsN []string) ApiExtrasGitRepositoriesListRequest {
r.contactsN = &contactsN
return r
}
@@ -35725,8 +32846,7 @@ func (r ApiExtrasGitRepositoriesListRequest) DynamicGroups(dynamicGroups []strin
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiExtrasGitRepositoriesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiExtrasGitRepositoriesListRequest {
+func (r ApiExtrasGitRepositoriesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiExtrasGitRepositoriesListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -35742,71 +32862,11 @@ func (r ApiExtrasGitRepositoriesListRequest) Id(id []string) ApiExtrasGitReposit
return r
}
-func (r ApiExtrasGitRepositoriesListRequest) IdIc(idIc []string) ApiExtrasGitRepositoriesListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasGitRepositoriesListRequest) IdIe(idIe []string) ApiExtrasGitRepositoriesListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasGitRepositoriesListRequest) IdIew(idIew []string) ApiExtrasGitRepositoriesListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasGitRepositoriesListRequest) IdIre(idIre []string) ApiExtrasGitRepositoriesListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasGitRepositoriesListRequest) IdIsw(idIsw []string) ApiExtrasGitRepositoriesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasGitRepositoriesListRequest) IdN(idN []string) ApiExtrasGitRepositoriesListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasGitRepositoriesListRequest) IdNic(idNic []string) ApiExtrasGitRepositoriesListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasGitRepositoriesListRequest) IdNie(idNie []string) ApiExtrasGitRepositoriesListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasGitRepositoriesListRequest) IdNiew(idNiew []string) ApiExtrasGitRepositoriesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasGitRepositoriesListRequest) IdNire(idNire []string) ApiExtrasGitRepositoriesListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasGitRepositoriesListRequest) IdNisw(idNisw []string) ApiExtrasGitRepositoriesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasGitRepositoriesListRequest) IdNre(idNre []string) ApiExtrasGitRepositoriesListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasGitRepositoriesListRequest) IdRe(idRe []string) ApiExtrasGitRepositoriesListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiExtrasGitRepositoriesListRequest) LastUpdated(lastUpdated []time.Time) ApiExtrasGitRepositoriesListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -36141,8 +33201,7 @@ func (r ApiExtrasGitRepositoriesListRequest) TeamsIsnull(teamsIsnull bool) ApiEx
return r
}
-// Exclude Teams (name or ID)
-func (r ApiExtrasGitRepositoriesListRequest) TeamsN(teamsN string) ApiExtrasGitRepositoriesListRequest {
+func (r ApiExtrasGitRepositoriesListRequest) TeamsN(teamsN []string) ApiExtrasGitRepositoriesListRequest {
r.teamsN = &teamsN
return r
}
@@ -36153,6 +33212,12 @@ func (r ApiExtrasGitRepositoriesListRequest) Depth(depth int32) ApiExtrasGitRepo
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasGitRepositoriesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasGitRepositoriesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasGitRepositoriesListRequest) Execute() (*PaginatedGitRepositoryList, *http.Response, error) {
return r.ApiService.ExtrasGitRepositoriesListExecute(r)
}
@@ -36362,7 +33427,15 @@ func (a *ExtrasAPIService) ExtrasGitRepositoriesListExecute(r ApiExtrasGitReposi
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -36445,75 +33518,28 @@ func (a *ExtrasAPIService) ExtrasGitRepositoriesListExecute(r ApiExtrasGitReposi
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.id != nil {
- t := *r.id
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
- }
- }
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
if r.idN != nil {
@@ -36527,83 +33553,6 @@ func (a *ExtrasAPIService) ExtrasGitRepositoriesListExecute(r ApiExtrasGitReposi
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -37248,13 +34197,29 @@ func (a *ExtrasAPIService) ExtrasGitRepositoriesListExecute(r ApiExtrasGitReposi
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -37469,6 +34434,7 @@ type ApiExtrasGitRepositoriesNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasGitRepositoriesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasGitRepositoriesNotesListRequest {
@@ -37494,6 +34460,12 @@ func (r ApiExtrasGitRepositoriesNotesListRequest) Depth(depth int32) ApiExtrasGi
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasGitRepositoriesNotesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasGitRepositoriesNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasGitRepositoriesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.ExtrasGitRepositoriesNotesListExecute(r)
}
@@ -37549,8 +34521,16 @@ func (a *ExtrasAPIService) ExtrasGitRepositoriesNotesListExecute(r ApiExtrasGitR
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -37760,6 +34740,7 @@ type ApiExtrasGitRepositoriesRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasGitRepositoriesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasGitRepositoriesRetrieveRequest {
@@ -37773,6 +34754,12 @@ func (r ApiExtrasGitRepositoriesRetrieveRequest) Depth(depth int32) ApiExtrasGit
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasGitRepositoriesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasGitRepositoriesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasGitRepositoriesRetrieveRequest) Execute() (*GitRepository, *http.Response, error) {
return r.ApiService.ExtrasGitRepositoriesRetrieveExecute(r)
}
@@ -37822,8 +34809,16 @@ func (a *ExtrasAPIService) ExtrasGitRepositoriesRetrieveExecute(r ApiExtrasGitRe
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -37897,21 +34892,15 @@ type ApiExtrasGitRepositoriesSyncCreateRequest struct {
ctx context.Context
ApiService *ExtrasAPIService
id string
- gitRepositoryRequest *GitRepositoryRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiExtrasGitRepositoriesSyncCreateRequest) GitRepositoryRequest(gitRepositoryRequest GitRepositoryRequest) ApiExtrasGitRepositoriesSyncCreateRequest {
- r.gitRepositoryRequest = &gitRepositoryRequest
- return r
-}
-
func (r ApiExtrasGitRepositoriesSyncCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasGitRepositoriesSyncCreateRequest {
r.format = &format
return r
}
-func (r ApiExtrasGitRepositoriesSyncCreateRequest) Execute() (*GitRepository, *http.Response, error) {
+func (r ApiExtrasGitRepositoriesSyncCreateRequest) Execute() (*GitRepositorySyncResponse, *http.Response, error) {
return r.ApiService.ExtrasGitRepositoriesSyncCreateExecute(r)
}
@@ -37933,13 +34922,13 @@ func (a *ExtrasAPIService) ExtrasGitRepositoriesSyncCreate(ctx context.Context,
}
// Execute executes the request
-// @return GitRepository
-func (a *ExtrasAPIService) ExtrasGitRepositoriesSyncCreateExecute(r ApiExtrasGitRepositoriesSyncCreateRequest) (*GitRepository, *http.Response, error) {
+// @return GitRepositorySyncResponse
+func (a *ExtrasAPIService) ExtrasGitRepositoriesSyncCreateExecute(r ApiExtrasGitRepositoriesSyncCreateRequest) (*GitRepositorySyncResponse, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *GitRepository
+ localVarReturnValue *GitRepositorySyncResponse
)
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasGitRepositoriesSyncCreate")
@@ -37953,15 +34942,12 @@ func (a *ExtrasAPIService) ExtrasGitRepositoriesSyncCreateExecute(r ApiExtrasGit
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.gitRepositoryRequest == nil {
- return localVarReturnValue, nil, reportError("gitRepositoryRequest is required and must be specified")
- }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+ localVarHTTPContentTypes := []string{}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -37977,8 +34963,6 @@ func (a *ExtrasAPIService) ExtrasGitRepositoriesSyncCreateExecute(r ApiExtrasGit
if localVarHTTPHeaderAccept != "" {
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
- // body params
- localVarPostBody = r.gitRepositoryRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -38808,24 +35792,12 @@ type ApiExtrasGraphqlQueriesListRequest struct {
ApiService *ExtrasAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
limit *int32
name *[]string
nameIc *[]string
@@ -38846,8 +35818,9 @@ type ApiExtrasGraphqlQueriesListRequest struct {
sort *string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasGraphqlQueriesListRequest) Contacts(contacts []string) ApiExtrasGraphqlQueriesListRequest {
@@ -38861,8 +35834,7 @@ func (r ApiExtrasGraphqlQueriesListRequest) ContactsIsnull(contactsIsnull bool)
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiExtrasGraphqlQueriesListRequest) ContactsN(contactsN string) ApiExtrasGraphqlQueriesListRequest {
+func (r ApiExtrasGraphqlQueriesListRequest) ContactsN(contactsN []string) ApiExtrasGraphqlQueriesListRequest {
r.contactsN = &contactsN
return r
}
@@ -38872,8 +35844,7 @@ func (r ApiExtrasGraphqlQueriesListRequest) DynamicGroups(dynamicGroups []string
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiExtrasGraphqlQueriesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiExtrasGraphqlQueriesListRequest {
+func (r ApiExtrasGraphqlQueriesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiExtrasGraphqlQueriesListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -38889,71 +35860,11 @@ func (r ApiExtrasGraphqlQueriesListRequest) Id(id []string) ApiExtrasGraphqlQuer
return r
}
-func (r ApiExtrasGraphqlQueriesListRequest) IdIc(idIc []string) ApiExtrasGraphqlQueriesListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasGraphqlQueriesListRequest) IdIe(idIe []string) ApiExtrasGraphqlQueriesListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasGraphqlQueriesListRequest) IdIew(idIew []string) ApiExtrasGraphqlQueriesListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasGraphqlQueriesListRequest) IdIre(idIre []string) ApiExtrasGraphqlQueriesListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasGraphqlQueriesListRequest) IdIsw(idIsw []string) ApiExtrasGraphqlQueriesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasGraphqlQueriesListRequest) IdN(idN []string) ApiExtrasGraphqlQueriesListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasGraphqlQueriesListRequest) IdNic(idNic []string) ApiExtrasGraphqlQueriesListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasGraphqlQueriesListRequest) IdNie(idNie []string) ApiExtrasGraphqlQueriesListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasGraphqlQueriesListRequest) IdNiew(idNiew []string) ApiExtrasGraphqlQueriesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasGraphqlQueriesListRequest) IdNire(idNire []string) ApiExtrasGraphqlQueriesListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasGraphqlQueriesListRequest) IdNisw(idNisw []string) ApiExtrasGraphqlQueriesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasGraphqlQueriesListRequest) IdNre(idNre []string) ApiExtrasGraphqlQueriesListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasGraphqlQueriesListRequest) IdRe(idRe []string) ApiExtrasGraphqlQueriesListRequest {
- r.idRe = &idRe
- return r
-}
-
// Number of results to return per page.
func (r ApiExtrasGraphqlQueriesListRequest) Limit(limit int32) ApiExtrasGraphqlQueriesListRequest {
r.limit = &limit
@@ -39059,8 +35970,7 @@ func (r ApiExtrasGraphqlQueriesListRequest) TeamsIsnull(teamsIsnull bool) ApiExt
return r
}
-// Exclude Teams (name or ID)
-func (r ApiExtrasGraphqlQueriesListRequest) TeamsN(teamsN string) ApiExtrasGraphqlQueriesListRequest {
+func (r ApiExtrasGraphqlQueriesListRequest) TeamsN(teamsN []string) ApiExtrasGraphqlQueriesListRequest {
r.teamsN = &teamsN
return r
}
@@ -39071,6 +35981,12 @@ func (r ApiExtrasGraphqlQueriesListRequest) Depth(depth int32) ApiExtrasGraphqlQ
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasGraphqlQueriesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasGraphqlQueriesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasGraphqlQueriesListRequest) Execute() (*PaginatedGraphQLQueryList, *http.Response, error) {
return r.ApiService.ExtrasGraphqlQueriesListExecute(r)
}
@@ -39126,89 +36042,50 @@ func (a *ExtrasAPIService) ExtrasGraphqlQueriesListExecute(r ApiExtrasGraphqlQue
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
- }
- if r.dynamicGroups != nil {
- t := *r.dynamicGroups
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
- }
- }
- if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.id != nil {
- t := *r.id
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
- }
- }
- if r.idIc != nil {
- t := *r.idIc
+ t := *r.contactsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
}
}
- if r.idIe != nil {
- t := *r.idIe
+ if r.dynamicGroups != nil {
+ t := *r.dynamicGroups
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
}
}
- if r.idIew != nil {
- t := *r.idIew
+ if r.dynamicGroupsN != nil {
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
if r.idN != nil {
@@ -39222,83 +36099,6 @@ func (a *ExtrasAPIService) ExtrasGraphqlQueriesListExecute(r ApiExtrasGraphqlQue
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.limit != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
@@ -39480,13 +36280,29 @@ func (a *ExtrasAPIService) ExtrasGraphqlQueriesListExecute(r ApiExtrasGraphqlQue
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -39701,6 +36517,7 @@ type ApiExtrasGraphqlQueriesNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasGraphqlQueriesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasGraphqlQueriesNotesListRequest {
@@ -39726,6 +36543,12 @@ func (r ApiExtrasGraphqlQueriesNotesListRequest) Depth(depth int32) ApiExtrasGra
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasGraphqlQueriesNotesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasGraphqlQueriesNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasGraphqlQueriesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.ExtrasGraphqlQueriesNotesListExecute(r)
}
@@ -39781,8 +36604,16 @@ func (a *ExtrasAPIService) ExtrasGraphqlQueriesNotesListExecute(r ApiExtrasGraph
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -39992,6 +36823,7 @@ type ApiExtrasGraphqlQueriesRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasGraphqlQueriesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasGraphqlQueriesRetrieveRequest {
@@ -40005,6 +36837,12 @@ func (r ApiExtrasGraphqlQueriesRetrieveRequest) Depth(depth int32) ApiExtrasGrap
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasGraphqlQueriesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasGraphqlQueriesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasGraphqlQueriesRetrieveRequest) Execute() (*GraphQLQuery, *http.Response, error) {
return r.ApiService.ExtrasGraphqlQueriesRetrieveExecute(r)
}
@@ -40054,8 +36892,16 @@ func (a *ExtrasAPIService) ExtrasGraphqlQueriesRetrieveExecute(r ApiExtrasGraphq
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -40458,7 +37304,7 @@ func (a *ExtrasAPIService) ExtrasImageAttachmentsBulkDestroyExecute(r ApiExtrasI
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+ localVarHTTPContentTypes := []string{"application/json", "text/csv", "multipart/form-data"}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -40582,7 +37428,7 @@ func (a *ExtrasAPIService) ExtrasImageAttachmentsBulkPartialUpdateExecute(r ApiE
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+ localVarHTTPContentTypes := []string{"application/json", "text/csv", "multipart/form-data"}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -40715,7 +37561,7 @@ func (a *ExtrasAPIService) ExtrasImageAttachmentsBulkUpdateExecute(r ApiExtrasIm
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+ localVarHTTPContentTypes := []string{"application/json", "text/csv", "multipart/form-data"}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -40848,7 +37694,7 @@ func (a *ExtrasAPIService) ExtrasImageAttachmentsCreateExecute(r ApiExtrasImageA
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+ localVarHTTPContentTypes := []string{"application/json", "text/csv", "multipart/form-data"}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -41041,19 +37887,7 @@ type ApiExtrasImageAttachmentsListRequest struct {
contentTypeIdN *int32
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
limit *int32
name *[]string
nameIc *[]string
@@ -41070,23 +37904,12 @@ type ApiExtrasImageAttachmentsListRequest struct {
nameNre *[]string
nameRe *[]string
objectId *[]string
- objectIdIc *[]string
- objectIdIe *[]string
- objectIdIew *[]string
- objectIdIre *[]string
- objectIdIsw *[]string
objectIdN *[]string
- objectIdNic *[]string
- objectIdNie *[]string
- objectIdNiew *[]string
- objectIdNire *[]string
- objectIdNisw *[]string
- objectIdNre *[]string
- objectIdRe *[]string
offset *int32
q *string
sort *string
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasImageAttachmentsListRequest) ContentType(contentType string) ApiExtrasImageAttachmentsListRequest {
@@ -41120,71 +37943,11 @@ func (r ApiExtrasImageAttachmentsListRequest) Id(id []string) ApiExtrasImageAtta
return r
}
-func (r ApiExtrasImageAttachmentsListRequest) IdIc(idIc []string) ApiExtrasImageAttachmentsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasImageAttachmentsListRequest) IdIe(idIe []string) ApiExtrasImageAttachmentsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasImageAttachmentsListRequest) IdIew(idIew []string) ApiExtrasImageAttachmentsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasImageAttachmentsListRequest) IdIre(idIre []string) ApiExtrasImageAttachmentsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasImageAttachmentsListRequest) IdIsw(idIsw []string) ApiExtrasImageAttachmentsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasImageAttachmentsListRequest) IdN(idN []string) ApiExtrasImageAttachmentsListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasImageAttachmentsListRequest) IdNic(idNic []string) ApiExtrasImageAttachmentsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasImageAttachmentsListRequest) IdNie(idNie []string) ApiExtrasImageAttachmentsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasImageAttachmentsListRequest) IdNiew(idNiew []string) ApiExtrasImageAttachmentsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasImageAttachmentsListRequest) IdNire(idNire []string) ApiExtrasImageAttachmentsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasImageAttachmentsListRequest) IdNisw(idNisw []string) ApiExtrasImageAttachmentsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasImageAttachmentsListRequest) IdNre(idNre []string) ApiExtrasImageAttachmentsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasImageAttachmentsListRequest) IdRe(idRe []string) ApiExtrasImageAttachmentsListRequest {
- r.idRe = &idRe
- return r
-}
-
// Number of results to return per page.
func (r ApiExtrasImageAttachmentsListRequest) Limit(limit int32) ApiExtrasImageAttachmentsListRequest {
r.limit = &limit
@@ -41266,71 +38029,11 @@ func (r ApiExtrasImageAttachmentsListRequest) ObjectId(objectId []string) ApiExt
return r
}
-func (r ApiExtrasImageAttachmentsListRequest) ObjectIdIc(objectIdIc []string) ApiExtrasImageAttachmentsListRequest {
- r.objectIdIc = &objectIdIc
- return r
-}
-
-func (r ApiExtrasImageAttachmentsListRequest) ObjectIdIe(objectIdIe []string) ApiExtrasImageAttachmentsListRequest {
- r.objectIdIe = &objectIdIe
- return r
-}
-
-func (r ApiExtrasImageAttachmentsListRequest) ObjectIdIew(objectIdIew []string) ApiExtrasImageAttachmentsListRequest {
- r.objectIdIew = &objectIdIew
- return r
-}
-
-func (r ApiExtrasImageAttachmentsListRequest) ObjectIdIre(objectIdIre []string) ApiExtrasImageAttachmentsListRequest {
- r.objectIdIre = &objectIdIre
- return r
-}
-
-func (r ApiExtrasImageAttachmentsListRequest) ObjectIdIsw(objectIdIsw []string) ApiExtrasImageAttachmentsListRequest {
- r.objectIdIsw = &objectIdIsw
- return r
-}
-
func (r ApiExtrasImageAttachmentsListRequest) ObjectIdN(objectIdN []string) ApiExtrasImageAttachmentsListRequest {
r.objectIdN = &objectIdN
return r
}
-func (r ApiExtrasImageAttachmentsListRequest) ObjectIdNic(objectIdNic []string) ApiExtrasImageAttachmentsListRequest {
- r.objectIdNic = &objectIdNic
- return r
-}
-
-func (r ApiExtrasImageAttachmentsListRequest) ObjectIdNie(objectIdNie []string) ApiExtrasImageAttachmentsListRequest {
- r.objectIdNie = &objectIdNie
- return r
-}
-
-func (r ApiExtrasImageAttachmentsListRequest) ObjectIdNiew(objectIdNiew []string) ApiExtrasImageAttachmentsListRequest {
- r.objectIdNiew = &objectIdNiew
- return r
-}
-
-func (r ApiExtrasImageAttachmentsListRequest) ObjectIdNire(objectIdNire []string) ApiExtrasImageAttachmentsListRequest {
- r.objectIdNire = &objectIdNire
- return r
-}
-
-func (r ApiExtrasImageAttachmentsListRequest) ObjectIdNisw(objectIdNisw []string) ApiExtrasImageAttachmentsListRequest {
- r.objectIdNisw = &objectIdNisw
- return r
-}
-
-func (r ApiExtrasImageAttachmentsListRequest) ObjectIdNre(objectIdNre []string) ApiExtrasImageAttachmentsListRequest {
- r.objectIdNre = &objectIdNre
- return r
-}
-
-func (r ApiExtrasImageAttachmentsListRequest) ObjectIdRe(objectIdRe []string) ApiExtrasImageAttachmentsListRequest {
- r.objectIdRe = &objectIdRe
- return r
-}
-
// The initial index from which to return the results.
func (r ApiExtrasImageAttachmentsListRequest) Offset(offset int32) ApiExtrasImageAttachmentsListRequest {
r.offset = &offset
@@ -41355,6 +38058,12 @@ func (r ApiExtrasImageAttachmentsListRequest) Depth(depth int32) ApiExtrasImageA
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasImageAttachmentsListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasImageAttachmentsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasImageAttachmentsListRequest) Execute() (*PaginatedImageAttachmentList, *http.Response, error) {
return r.ApiService.ExtrasImageAttachmentsListExecute(r)
}
@@ -41421,61 +38130,6 @@ func (a *ExtrasAPIService) ExtrasImageAttachmentsListExecute(r ApiExtrasImageAtt
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -41487,83 +38141,6 @@ func (a *ExtrasAPIService) ExtrasImageAttachmentsListExecute(r ApiExtrasImageAtt
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.limit != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
@@ -41732,61 +38309,6 @@ func (a *ExtrasAPIService) ExtrasImageAttachmentsListExecute(r ApiExtrasImageAtt
parameterAddToHeaderOrQuery(localVarQueryParams, "object_id", t, "form", "multi")
}
}
- if r.objectIdIc != nil {
- t := *r.objectIdIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "object_id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "object_id__ic", t, "form", "multi")
- }
- }
- if r.objectIdIe != nil {
- t := *r.objectIdIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "object_id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "object_id__ie", t, "form", "multi")
- }
- }
- if r.objectIdIew != nil {
- t := *r.objectIdIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "object_id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "object_id__iew", t, "form", "multi")
- }
- }
- if r.objectIdIre != nil {
- t := *r.objectIdIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "object_id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "object_id__ire", t, "form", "multi")
- }
- }
- if r.objectIdIsw != nil {
- t := *r.objectIdIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "object_id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "object_id__isw", t, "form", "multi")
- }
- }
if r.objectIdN != nil {
t := *r.objectIdN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -41798,83 +38320,6 @@ func (a *ExtrasAPIService) ExtrasImageAttachmentsListExecute(r ApiExtrasImageAtt
parameterAddToHeaderOrQuery(localVarQueryParams, "object_id__n", t, "form", "multi")
}
}
- if r.objectIdNic != nil {
- t := *r.objectIdNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "object_id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "object_id__nic", t, "form", "multi")
- }
- }
- if r.objectIdNie != nil {
- t := *r.objectIdNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "object_id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "object_id__nie", t, "form", "multi")
- }
- }
- if r.objectIdNiew != nil {
- t := *r.objectIdNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "object_id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "object_id__niew", t, "form", "multi")
- }
- }
- if r.objectIdNire != nil {
- t := *r.objectIdNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "object_id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "object_id__nire", t, "form", "multi")
- }
- }
- if r.objectIdNisw != nil {
- t := *r.objectIdNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "object_id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "object_id__nisw", t, "form", "multi")
- }
- }
- if r.objectIdNre != nil {
- t := *r.objectIdNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "object_id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "object_id__nre", t, "form", "multi")
- }
- }
- if r.objectIdRe != nil {
- t := *r.objectIdRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "object_id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "object_id__re", t, "form", "multi")
- }
- }
if r.offset != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
}
@@ -41887,8 +38332,16 @@ func (a *ExtrasAPIService) ExtrasImageAttachmentsListExecute(r ApiExtrasImageAtt
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -42023,7 +38476,7 @@ func (a *ExtrasAPIService) ExtrasImageAttachmentsPartialUpdateExecute(r ApiExtra
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+ localVarHTTPContentTypes := []string{"application/json", "text/csv", "multipart/form-data"}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -42098,6 +38551,7 @@ type ApiExtrasImageAttachmentsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasImageAttachmentsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasImageAttachmentsRetrieveRequest {
@@ -42111,6 +38565,12 @@ func (r ApiExtrasImageAttachmentsRetrieveRequest) Depth(depth int32) ApiExtrasIm
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasImageAttachmentsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasImageAttachmentsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasImageAttachmentsRetrieveRequest) Execute() (*ImageAttachment, *http.Response, error) {
return r.ApiService.ExtrasImageAttachmentsRetrieveExecute(r)
}
@@ -42160,8 +38620,16 @@ func (a *ExtrasAPIService) ExtrasImageAttachmentsRetrieveExecute(r ApiExtrasImag
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -42299,7 +38767,7 @@ func (a *ExtrasAPIService) ExtrasImageAttachmentsUpdateExecute(r ApiExtrasImageA
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+ localVarHTTPContentTypes := []string{"application/json", "text/csv", "multipart/form-data"}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -43024,23 +39492,11 @@ type ApiExtrasJobButtonsListRequest struct {
confirmation *bool
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
contentTypes *string
- contentTypesIc *string
- contentTypesIe *string
- contentTypesIew *string
- contentTypesIre *string
- contentTypesIsw *string
contentTypesN *string
- contentTypesNic *string
- contentTypesNie *string
- contentTypesNiew *string
- contentTypesNire *string
- contentTypesNisw *string
- contentTypesNre *string
- contentTypesRe *string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
enabled *bool
format *CircuitsCircuitTerminationsListFormatParameter
groupName *[]string
@@ -43058,19 +39514,7 @@ type ApiExtrasJobButtonsListRequest struct {
groupNameNre *[]string
groupNameRe *[]string
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
job *[]string
jobN *[]string
limit *int32
@@ -43093,7 +39537,7 @@ type ApiExtrasJobButtonsListRequest struct {
sort *string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
text *[]string
textIc *[]string
textIe *[]string
@@ -43115,6 +39559,7 @@ type ApiExtrasJobButtonsListRequest struct {
weightLte *[]int32
weightN *[]int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasJobButtonsListRequest) ButtonClass(buttonClass []string) ApiExtrasJobButtonsListRequest {
@@ -43203,8 +39648,7 @@ func (r ApiExtrasJobButtonsListRequest) ContactsIsnull(contactsIsnull bool) ApiE
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiExtrasJobButtonsListRequest) ContactsN(contactsN string) ApiExtrasJobButtonsListRequest {
+func (r ApiExtrasJobButtonsListRequest) ContactsN(contactsN []string) ApiExtrasJobButtonsListRequest {
r.contactsN = &contactsN
return r
}
@@ -43214,78 +39658,17 @@ func (r ApiExtrasJobButtonsListRequest) ContentTypes(contentTypes string) ApiExt
return r
}
-func (r ApiExtrasJobButtonsListRequest) ContentTypesIc(contentTypesIc string) ApiExtrasJobButtonsListRequest {
- r.contentTypesIc = &contentTypesIc
- return r
-}
-
-func (r ApiExtrasJobButtonsListRequest) ContentTypesIe(contentTypesIe string) ApiExtrasJobButtonsListRequest {
- r.contentTypesIe = &contentTypesIe
- return r
-}
-
-func (r ApiExtrasJobButtonsListRequest) ContentTypesIew(contentTypesIew string) ApiExtrasJobButtonsListRequest {
- r.contentTypesIew = &contentTypesIew
- return r
-}
-
-func (r ApiExtrasJobButtonsListRequest) ContentTypesIre(contentTypesIre string) ApiExtrasJobButtonsListRequest {
- r.contentTypesIre = &contentTypesIre
- return r
-}
-
-func (r ApiExtrasJobButtonsListRequest) ContentTypesIsw(contentTypesIsw string) ApiExtrasJobButtonsListRequest {
- r.contentTypesIsw = &contentTypesIsw
- return r
-}
-
func (r ApiExtrasJobButtonsListRequest) ContentTypesN(contentTypesN string) ApiExtrasJobButtonsListRequest {
r.contentTypesN = &contentTypesN
return r
}
-func (r ApiExtrasJobButtonsListRequest) ContentTypesNic(contentTypesNic string) ApiExtrasJobButtonsListRequest {
- r.contentTypesNic = &contentTypesNic
- return r
-}
-
-func (r ApiExtrasJobButtonsListRequest) ContentTypesNie(contentTypesNie string) ApiExtrasJobButtonsListRequest {
- r.contentTypesNie = &contentTypesNie
- return r
-}
-
-func (r ApiExtrasJobButtonsListRequest) ContentTypesNiew(contentTypesNiew string) ApiExtrasJobButtonsListRequest {
- r.contentTypesNiew = &contentTypesNiew
- return r
-}
-
-func (r ApiExtrasJobButtonsListRequest) ContentTypesNire(contentTypesNire string) ApiExtrasJobButtonsListRequest {
- r.contentTypesNire = &contentTypesNire
- return r
-}
-
-func (r ApiExtrasJobButtonsListRequest) ContentTypesNisw(contentTypesNisw string) ApiExtrasJobButtonsListRequest {
- r.contentTypesNisw = &contentTypesNisw
- return r
-}
-
-func (r ApiExtrasJobButtonsListRequest) ContentTypesNre(contentTypesNre string) ApiExtrasJobButtonsListRequest {
- r.contentTypesNre = &contentTypesNre
- return r
-}
-
-func (r ApiExtrasJobButtonsListRequest) ContentTypesRe(contentTypesRe string) ApiExtrasJobButtonsListRequest {
- r.contentTypesRe = &contentTypesRe
- return r
-}
-
func (r ApiExtrasJobButtonsListRequest) DynamicGroups(dynamicGroups []string) ApiExtrasJobButtonsListRequest {
r.dynamicGroups = &dynamicGroups
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiExtrasJobButtonsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiExtrasJobButtonsListRequest {
+func (r ApiExtrasJobButtonsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiExtrasJobButtonsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -43376,71 +39759,11 @@ func (r ApiExtrasJobButtonsListRequest) Id(id []string) ApiExtrasJobButtonsListR
return r
}
-func (r ApiExtrasJobButtonsListRequest) IdIc(idIc []string) ApiExtrasJobButtonsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasJobButtonsListRequest) IdIe(idIe []string) ApiExtrasJobButtonsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasJobButtonsListRequest) IdIew(idIew []string) ApiExtrasJobButtonsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasJobButtonsListRequest) IdIre(idIre []string) ApiExtrasJobButtonsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasJobButtonsListRequest) IdIsw(idIsw []string) ApiExtrasJobButtonsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasJobButtonsListRequest) IdN(idN []string) ApiExtrasJobButtonsListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasJobButtonsListRequest) IdNic(idNic []string) ApiExtrasJobButtonsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasJobButtonsListRequest) IdNie(idNie []string) ApiExtrasJobButtonsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasJobButtonsListRequest) IdNiew(idNiew []string) ApiExtrasJobButtonsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasJobButtonsListRequest) IdNire(idNire []string) ApiExtrasJobButtonsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasJobButtonsListRequest) IdNisw(idNisw []string) ApiExtrasJobButtonsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasJobButtonsListRequest) IdNre(idNre []string) ApiExtrasJobButtonsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasJobButtonsListRequest) IdRe(idRe []string) ApiExtrasJobButtonsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiExtrasJobButtonsListRequest) Job(job []string) ApiExtrasJobButtonsListRequest {
r.job = &job
return r
@@ -43556,8 +39879,7 @@ func (r ApiExtrasJobButtonsListRequest) TeamsIsnull(teamsIsnull bool) ApiExtrasJ
return r
}
-// Exclude Teams (name or ID)
-func (r ApiExtrasJobButtonsListRequest) TeamsN(teamsN string) ApiExtrasJobButtonsListRequest {
+func (r ApiExtrasJobButtonsListRequest) TeamsN(teamsN []string) ApiExtrasJobButtonsListRequest {
r.teamsN = &teamsN
return r
}
@@ -43668,6 +39990,12 @@ func (r ApiExtrasJobButtonsListRequest) Depth(depth int32) ApiExtrasJobButtonsLi
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasJobButtonsListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasJobButtonsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasJobButtonsListRequest) Execute() (*PaginatedJobButtonList, *http.Response, error) {
return r.ApiService.ExtrasJobButtonsListExecute(r)
}
@@ -43880,50 +40208,22 @@ func (a *ExtrasAPIService) ExtrasJobButtonsListExecute(r ApiExtrasJobButtonsList
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.contentTypes != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", r.contentTypes, "form", "")
}
- if r.contentTypesIc != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ic", r.contentTypesIc, "form", "")
- }
- if r.contentTypesIe != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ie", r.contentTypesIe, "form", "")
- }
- if r.contentTypesIew != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__iew", r.contentTypesIew, "form", "")
- }
- if r.contentTypesIre != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ire", r.contentTypesIre, "form", "")
- }
- if r.contentTypesIsw != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__isw", r.contentTypesIsw, "form", "")
- }
if r.contentTypesN != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__n", r.contentTypesN, "form", "")
}
- if r.contentTypesNic != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nic", r.contentTypesNic, "form", "")
- }
- if r.contentTypesNie != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nie", r.contentTypesNie, "form", "")
- }
- if r.contentTypesNiew != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__niew", r.contentTypesNiew, "form", "")
- }
- if r.contentTypesNire != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nire", r.contentTypesNire, "form", "")
- }
- if r.contentTypesNisw != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nisw", r.contentTypesNisw, "form", "")
- }
- if r.contentTypesNre != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nre", r.contentTypesNre, "form", "")
- }
- if r.contentTypesRe != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__re", r.contentTypesRe, "form", "")
- }
if r.dynamicGroups != nil {
t := *r.dynamicGroups
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -43936,7 +40236,15 @@ func (a *ExtrasAPIService) ExtrasJobButtonsListExecute(r ApiExtrasJobButtonsList
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.enabled != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "enabled", r.enabled, "form", "")
@@ -44109,61 +40417,6 @@ func (a *ExtrasAPIService) ExtrasJobButtonsListExecute(r ApiExtrasJobButtonsList
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -44175,83 +40428,6 @@ func (a *ExtrasAPIService) ExtrasJobButtonsListExecute(r ApiExtrasJobButtonsList
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.job != nil {
t := *r.job
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -44455,7 +40631,15 @@ func (a *ExtrasAPIService) ExtrasJobButtonsListExecute(r ApiExtrasJobButtonsList
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.text != nil {
t := *r.text
@@ -44680,8 +40864,16 @@ func (a *ExtrasAPIService) ExtrasJobButtonsListExecute(r ApiExtrasJobButtonsList
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -44896,6 +41088,7 @@ type ApiExtrasJobButtonsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasJobButtonsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobButtonsNotesListRequest {
@@ -44921,6 +41114,12 @@ func (r ApiExtrasJobButtonsNotesListRequest) Depth(depth int32) ApiExtrasJobButt
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasJobButtonsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasJobButtonsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasJobButtonsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.ExtrasJobButtonsNotesListExecute(r)
}
@@ -44976,8 +41175,16 @@ func (a *ExtrasAPIService) ExtrasJobButtonsNotesListExecute(r ApiExtrasJobButton
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -45187,6 +41394,7 @@ type ApiExtrasJobButtonsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasJobButtonsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobButtonsRetrieveRequest {
@@ -45200,6 +41408,12 @@ func (r ApiExtrasJobButtonsRetrieveRequest) Depth(depth int32) ApiExtrasJobButto
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasJobButtonsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasJobButtonsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasJobButtonsRetrieveRequest) Execute() (*JobButton, *http.Response, error) {
return r.ApiService.ExtrasJobButtonsRetrieveExecute(r)
}
@@ -45249,8 +41463,16 @@ func (a *ExtrasAPIService) ExtrasJobButtonsRetrieveExecute(r ApiExtrasJobButtons
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -46098,39 +42320,15 @@ type ApiExtrasJobHooksListRequest struct {
ApiService *ExtrasAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
contentTypes *[]int32
- contentTypesIc *[]int32
- contentTypesIe *[]int32
- contentTypesIew *[]int32
- contentTypesIre *[]int32
- contentTypesIsw *[]int32
contentTypesN *[]int32
- contentTypesNic *[]int32
- contentTypesNie *[]int32
- contentTypesNiew *[]int32
- contentTypesNire *[]int32
- contentTypesNisw *[]int32
- contentTypesNre *[]int32
- contentTypesRe *[]int32
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
enabled *bool
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
job *[]string
jobN *[]string
limit *int32
@@ -46153,11 +42351,12 @@ type ApiExtrasJobHooksListRequest struct {
sort *string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
typeCreate *bool
typeDelete *bool
typeUpdate *bool
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasJobHooksListRequest) Contacts(contacts []string) ApiExtrasJobHooksListRequest {
@@ -46171,8 +42370,7 @@ func (r ApiExtrasJobHooksListRequest) ContactsIsnull(contactsIsnull bool) ApiExt
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiExtrasJobHooksListRequest) ContactsN(contactsN string) ApiExtrasJobHooksListRequest {
+func (r ApiExtrasJobHooksListRequest) ContactsN(contactsN []string) ApiExtrasJobHooksListRequest {
r.contactsN = &contactsN
return r
}
@@ -46182,78 +42380,17 @@ func (r ApiExtrasJobHooksListRequest) ContentTypes(contentTypes []int32) ApiExtr
return r
}
-func (r ApiExtrasJobHooksListRequest) ContentTypesIc(contentTypesIc []int32) ApiExtrasJobHooksListRequest {
- r.contentTypesIc = &contentTypesIc
- return r
-}
-
-func (r ApiExtrasJobHooksListRequest) ContentTypesIe(contentTypesIe []int32) ApiExtrasJobHooksListRequest {
- r.contentTypesIe = &contentTypesIe
- return r
-}
-
-func (r ApiExtrasJobHooksListRequest) ContentTypesIew(contentTypesIew []int32) ApiExtrasJobHooksListRequest {
- r.contentTypesIew = &contentTypesIew
- return r
-}
-
-func (r ApiExtrasJobHooksListRequest) ContentTypesIre(contentTypesIre []int32) ApiExtrasJobHooksListRequest {
- r.contentTypesIre = &contentTypesIre
- return r
-}
-
-func (r ApiExtrasJobHooksListRequest) ContentTypesIsw(contentTypesIsw []int32) ApiExtrasJobHooksListRequest {
- r.contentTypesIsw = &contentTypesIsw
- return r
-}
-
func (r ApiExtrasJobHooksListRequest) ContentTypesN(contentTypesN []int32) ApiExtrasJobHooksListRequest {
r.contentTypesN = &contentTypesN
return r
}
-func (r ApiExtrasJobHooksListRequest) ContentTypesNic(contentTypesNic []int32) ApiExtrasJobHooksListRequest {
- r.contentTypesNic = &contentTypesNic
- return r
-}
-
-func (r ApiExtrasJobHooksListRequest) ContentTypesNie(contentTypesNie []int32) ApiExtrasJobHooksListRequest {
- r.contentTypesNie = &contentTypesNie
- return r
-}
-
-func (r ApiExtrasJobHooksListRequest) ContentTypesNiew(contentTypesNiew []int32) ApiExtrasJobHooksListRequest {
- r.contentTypesNiew = &contentTypesNiew
- return r
-}
-
-func (r ApiExtrasJobHooksListRequest) ContentTypesNire(contentTypesNire []int32) ApiExtrasJobHooksListRequest {
- r.contentTypesNire = &contentTypesNire
- return r
-}
-
-func (r ApiExtrasJobHooksListRequest) ContentTypesNisw(contentTypesNisw []int32) ApiExtrasJobHooksListRequest {
- r.contentTypesNisw = &contentTypesNisw
- return r
-}
-
-func (r ApiExtrasJobHooksListRequest) ContentTypesNre(contentTypesNre []int32) ApiExtrasJobHooksListRequest {
- r.contentTypesNre = &contentTypesNre
- return r
-}
-
-func (r ApiExtrasJobHooksListRequest) ContentTypesRe(contentTypesRe []int32) ApiExtrasJobHooksListRequest {
- r.contentTypesRe = &contentTypesRe
- return r
-}
-
func (r ApiExtrasJobHooksListRequest) DynamicGroups(dynamicGroups []string) ApiExtrasJobHooksListRequest {
r.dynamicGroups = &dynamicGroups
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiExtrasJobHooksListRequest) DynamicGroupsN(dynamicGroupsN string) ApiExtrasJobHooksListRequest {
+func (r ApiExtrasJobHooksListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiExtrasJobHooksListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -46274,71 +42411,11 @@ func (r ApiExtrasJobHooksListRequest) Id(id []string) ApiExtrasJobHooksListReque
return r
}
-func (r ApiExtrasJobHooksListRequest) IdIc(idIc []string) ApiExtrasJobHooksListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasJobHooksListRequest) IdIe(idIe []string) ApiExtrasJobHooksListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasJobHooksListRequest) IdIew(idIew []string) ApiExtrasJobHooksListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasJobHooksListRequest) IdIre(idIre []string) ApiExtrasJobHooksListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasJobHooksListRequest) IdIsw(idIsw []string) ApiExtrasJobHooksListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasJobHooksListRequest) IdN(idN []string) ApiExtrasJobHooksListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasJobHooksListRequest) IdNic(idNic []string) ApiExtrasJobHooksListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasJobHooksListRequest) IdNie(idNie []string) ApiExtrasJobHooksListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasJobHooksListRequest) IdNiew(idNiew []string) ApiExtrasJobHooksListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasJobHooksListRequest) IdNire(idNire []string) ApiExtrasJobHooksListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasJobHooksListRequest) IdNisw(idNisw []string) ApiExtrasJobHooksListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasJobHooksListRequest) IdNre(idNre []string) ApiExtrasJobHooksListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasJobHooksListRequest) IdRe(idRe []string) ApiExtrasJobHooksListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiExtrasJobHooksListRequest) Job(job []string) ApiExtrasJobHooksListRequest {
r.job = &job
return r
@@ -46454,8 +42531,7 @@ func (r ApiExtrasJobHooksListRequest) TeamsIsnull(teamsIsnull bool) ApiExtrasJob
return r
}
-// Exclude Teams (name or ID)
-func (r ApiExtrasJobHooksListRequest) TeamsN(teamsN string) ApiExtrasJobHooksListRequest {
+func (r ApiExtrasJobHooksListRequest) TeamsN(teamsN []string) ApiExtrasJobHooksListRequest {
r.teamsN = &teamsN
return r
}
@@ -46481,6 +42557,12 @@ func (r ApiExtrasJobHooksListRequest) Depth(depth int32) ApiExtrasJobHooksListRe
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasJobHooksListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasJobHooksListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasJobHooksListRequest) Execute() (*PaginatedJobHookList, *http.Response, error) {
return r.ApiService.ExtrasJobHooksListExecute(r)
}
@@ -46536,72 +42618,25 @@ func (a *ExtrasAPIService) ExtrasJobHooksListExecute(r ApiExtrasJobHooksListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
- }
- if r.contentTypes != nil {
- t := *r.contentTypes
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", t, "form", "multi")
- }
- }
- if r.contentTypesIc != nil {
- t := *r.contentTypesIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ic", t, "form", "multi")
- }
- }
- if r.contentTypesIe != nil {
- t := *r.contentTypesIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ie", t, "form", "multi")
- }
- }
- if r.contentTypesIew != nil {
- t := *r.contentTypesIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__iew", t, "form", "multi")
- }
- }
- if r.contentTypesIre != nil {
- t := *r.contentTypesIre
+ t := *r.contactsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
}
}
- if r.contentTypesIsw != nil {
- t := *r.contentTypesIsw
+ if r.contentTypes != nil {
+ t := *r.contentTypes
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", t, "form", "multi")
}
}
if r.contentTypesN != nil {
@@ -46615,97 +42650,28 @@ func (a *ExtrasAPIService) ExtrasJobHooksListExecute(r ApiExtrasJobHooksListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__n", t, "form", "multi")
}
}
- if r.contentTypesNic != nil {
- t := *r.contentTypesNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nic", t, "form", "multi")
- }
- }
- if r.contentTypesNie != nil {
- t := *r.contentTypesNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nie", t, "form", "multi")
- }
- }
- if r.contentTypesNiew != nil {
- t := *r.contentTypesNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__niew", t, "form", "multi")
- }
- }
- if r.contentTypesNire != nil {
- t := *r.contentTypesNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nire", t, "form", "multi")
- }
- }
- if r.contentTypesNisw != nil {
- t := *r.contentTypesNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nisw", t, "form", "multi")
- }
- }
- if r.contentTypesNre != nil {
- t := *r.contentTypesNre
+ if r.dynamicGroups != nil {
+ t := *r.dynamicGroups
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
}
}
- if r.contentTypesRe != nil {
- t := *r.contentTypesRe
+ if r.dynamicGroupsN != nil {
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.dynamicGroups != nil {
- t := *r.dynamicGroups
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
- }
- }
- if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
if r.enabled != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "enabled", r.enabled, "form", "")
}
@@ -46723,61 +42689,6 @@ func (a *ExtrasAPIService) ExtrasJobHooksListExecute(r ApiExtrasJobHooksListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -46789,83 +42700,6 @@ func (a *ExtrasAPIService) ExtrasJobHooksListExecute(r ApiExtrasJobHooksListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.job != nil {
t := *r.job
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -47069,7 +42903,15 @@ func (a *ExtrasAPIService) ExtrasJobHooksListExecute(r ApiExtrasJobHooksListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.typeCreate != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "type_create", r.typeCreate, "form", "")
@@ -47083,8 +42925,16 @@ func (a *ExtrasAPIService) ExtrasJobHooksListExecute(r ApiExtrasJobHooksListRequ
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -47299,6 +43149,7 @@ type ApiExtrasJobHooksNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasJobHooksNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobHooksNotesListRequest {
@@ -47324,6 +43175,12 @@ func (r ApiExtrasJobHooksNotesListRequest) Depth(depth int32) ApiExtrasJobHooksN
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasJobHooksNotesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasJobHooksNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasJobHooksNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.ExtrasJobHooksNotesListExecute(r)
}
@@ -47379,8 +43236,16 @@ func (a *ExtrasAPIService) ExtrasJobHooksNotesListExecute(r ApiExtrasJobHooksNot
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -47590,6 +43455,7 @@ type ApiExtrasJobHooksRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasJobHooksRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobHooksRetrieveRequest {
@@ -47603,6 +43469,12 @@ func (r ApiExtrasJobHooksRetrieveRequest) Depth(depth int32) ApiExtrasJobHooksRe
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasJobHooksRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasJobHooksRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasJobHooksRetrieveRequest) Execute() (*JobHook, *http.Response, error) {
return r.ApiService.ExtrasJobHooksRetrieveExecute(r)
}
@@ -47652,8 +43524,16 @@ func (a *ExtrasAPIService) ExtrasJobHooksRetrieveExecute(r ApiExtrasJobHooksRetr
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -47899,19 +43779,7 @@ type ApiExtrasJobLogsListRequest struct {
groupingNre *[]string
groupingRe *[]string
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
jobResult *string
jobResultN *string
limit *int32
@@ -47961,6 +43829,7 @@ type ApiExtrasJobLogsListRequest struct {
q *string
sort *string
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasJobLogsListRequest) AbsoluteUrl(absoluteUrl []string) ApiExtrasJobLogsListRequest {
@@ -48144,71 +44013,11 @@ func (r ApiExtrasJobLogsListRequest) Id(id []string) ApiExtrasJobLogsListRequest
return r
}
-func (r ApiExtrasJobLogsListRequest) IdIc(idIc []string) ApiExtrasJobLogsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasJobLogsListRequest) IdIe(idIe []string) ApiExtrasJobLogsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasJobLogsListRequest) IdIew(idIew []string) ApiExtrasJobLogsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasJobLogsListRequest) IdIre(idIre []string) ApiExtrasJobLogsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasJobLogsListRequest) IdIsw(idIsw []string) ApiExtrasJobLogsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasJobLogsListRequest) IdN(idN []string) ApiExtrasJobLogsListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasJobLogsListRequest) IdNic(idNic []string) ApiExtrasJobLogsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasJobLogsListRequest) IdNie(idNie []string) ApiExtrasJobLogsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasJobLogsListRequest) IdNiew(idNiew []string) ApiExtrasJobLogsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasJobLogsListRequest) IdNire(idNire []string) ApiExtrasJobLogsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasJobLogsListRequest) IdNisw(idNisw []string) ApiExtrasJobLogsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasJobLogsListRequest) IdNre(idNre []string) ApiExtrasJobLogsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasJobLogsListRequest) IdRe(idRe []string) ApiExtrasJobLogsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiExtrasJobLogsListRequest) JobResult(jobResult string) ApiExtrasJobLogsListRequest {
r.jobResult = &jobResult
return r
@@ -48459,6 +44268,12 @@ func (r ApiExtrasJobLogsListRequest) Depth(depth int32) ApiExtrasJobLogsListRequ
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasJobLogsListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasJobLogsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasJobLogsListRequest) Execute() (*PaginatedJobLogEntryList, *http.Response, error) {
return r.ApiService.ExtrasJobLogsListExecute(r)
}
@@ -48887,61 +44702,6 @@ func (a *ExtrasAPIService) ExtrasJobLogsListExecute(r ApiExtrasJobLogsListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -48953,83 +44713,6 @@ func (a *ExtrasAPIService) ExtrasJobLogsListExecute(r ApiExtrasJobLogsListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.jobResult != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "job_result", r.jobResult, "form", "")
}
@@ -49513,147 +45196,16 @@ func (a *ExtrasAPIService) ExtrasJobLogsListExecute(r ApiExtrasJobLogsListReques
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiExtrasJobLogsRetrieveRequest struct {
- ctx context.Context
- ApiService *ExtrasAPIService
- id string
- format *CircuitsCircuitTerminationsListFormatParameter
- depth *int32
-}
-
-func (r ApiExtrasJobLogsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobLogsRetrieveRequest {
- r.format = &format
- return r
-}
-
-// Serializer Depth
-func (r ApiExtrasJobLogsRetrieveRequest) Depth(depth int32) ApiExtrasJobLogsRetrieveRequest {
- r.depth = &depth
- return r
-}
-
-func (r ApiExtrasJobLogsRetrieveRequest) Execute() (*JobLogEntry, *http.Response, error) {
- return r.ApiService.ExtrasJobLogsRetrieveExecute(r)
-}
-
-/*
-ExtrasJobLogsRetrieve Method for ExtrasJobLogsRetrieve
-
-Retrieve a list of job log entries.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this job log entry.
- @return ApiExtrasJobLogsRetrieveRequest
-*/
-func (a *ExtrasAPIService) ExtrasJobLogsRetrieve(ctx context.Context, id string) ApiExtrasJobLogsRetrieveRequest {
- return ApiExtrasJobLogsRetrieveRequest{
- ApiService: a,
- ctx: ctx,
- id: id,
- }
-}
-
-// Execute executes the request
-// @return JobLogEntry
-func (a *ExtrasAPIService) ExtrasJobLogsRetrieveExecute(r ApiExtrasJobLogsRetrieveRequest) (*JobLogEntry, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *JobLogEntry
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasJobLogsRetrieve")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
}
-
- localVarPath := localBasePath + "/extras/job-logs/{id}/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.depth != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -49723,6 +45275,4400 @@ func (a *ExtrasAPIService) ExtrasJobLogsRetrieveExecute(r ApiExtrasJobLogsRetrie
return localVarReturnValue, localVarHTTPResponse, nil
}
+type ApiExtrasJobLogsRetrieveRequest struct {
+ ctx context.Context
+ ApiService *ExtrasAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ depth *int32
+ excludeM2m *bool
+}
+
+func (r ApiExtrasJobLogsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobLogsRetrieveRequest {
+ r.format = &format
+ return r
+}
+
+// Serializer Depth
+func (r ApiExtrasJobLogsRetrieveRequest) Depth(depth int32) ApiExtrasJobLogsRetrieveRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiExtrasJobLogsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasJobLogsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiExtrasJobLogsRetrieveRequest) Execute() (*JobLogEntry, *http.Response, error) {
+ return r.ApiService.ExtrasJobLogsRetrieveExecute(r)
+}
+
+/*
+ExtrasJobLogsRetrieve Method for ExtrasJobLogsRetrieve
+
+Retrieve a list of job log entries.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this job log entry.
+ @return ApiExtrasJobLogsRetrieveRequest
+*/
+func (a *ExtrasAPIService) ExtrasJobLogsRetrieve(ctx context.Context, id string) ApiExtrasJobLogsRetrieveRequest {
+ return ApiExtrasJobLogsRetrieveRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return JobLogEntry
+func (a *ExtrasAPIService) ExtrasJobLogsRetrieveExecute(r ApiExtrasJobLogsRetrieveRequest) (*JobLogEntry, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *JobLogEntry
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasJobLogsRetrieve")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/extras/job-logs/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiExtrasJobQueueAssignmentsBulkDestroyRequest struct {
+ ctx context.Context
+ ApiService *ExtrasAPIService
+ bulkOperationRequest *[]BulkOperationRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiExtrasJobQueueAssignmentsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiExtrasJobQueueAssignmentsBulkDestroyRequest {
+ r.bulkOperationRequest = &bulkOperationRequest
+ return r
+}
+
+func (r ApiExtrasJobQueueAssignmentsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobQueueAssignmentsBulkDestroyRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiExtrasJobQueueAssignmentsBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.ExtrasJobQueueAssignmentsBulkDestroyExecute(r)
+}
+
+/*
+ExtrasJobQueueAssignmentsBulkDestroy Method for ExtrasJobQueueAssignmentsBulkDestroy
+
+Manage job queue assignments through DELETE, GET, POST, PUT, and PATCH requests.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiExtrasJobQueueAssignmentsBulkDestroyRequest
+*/
+func (a *ExtrasAPIService) ExtrasJobQueueAssignmentsBulkDestroy(ctx context.Context) ApiExtrasJobQueueAssignmentsBulkDestroyRequest {
+ return ApiExtrasJobQueueAssignmentsBulkDestroyRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+func (a *ExtrasAPIService) ExtrasJobQueueAssignmentsBulkDestroyExecute(r ApiExtrasJobQueueAssignmentsBulkDestroyRequest) (*http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodDelete
+ localVarPostBody interface{}
+ formFiles []formFile
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasJobQueueAssignmentsBulkDestroy")
+ if err != nil {
+ return nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/extras/job-queue-assignments/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.bulkOperationRequest == nil {
+ return nil, reportError("bulkOperationRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.bulkOperationRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarHTTPResponse, newErr
+ }
+
+ return localVarHTTPResponse, nil
+}
+
+type ApiExtrasJobQueueAssignmentsBulkPartialUpdateRequest struct {
+ ctx context.Context
+ ApiService *ExtrasAPIService
+ patchedBulkWritableJobQueueAssignmentRequest *[]PatchedBulkWritableJobQueueAssignmentRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiExtrasJobQueueAssignmentsBulkPartialUpdateRequest) PatchedBulkWritableJobQueueAssignmentRequest(patchedBulkWritableJobQueueAssignmentRequest []PatchedBulkWritableJobQueueAssignmentRequest) ApiExtrasJobQueueAssignmentsBulkPartialUpdateRequest {
+ r.patchedBulkWritableJobQueueAssignmentRequest = &patchedBulkWritableJobQueueAssignmentRequest
+ return r
+}
+
+func (r ApiExtrasJobQueueAssignmentsBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobQueueAssignmentsBulkPartialUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiExtrasJobQueueAssignmentsBulkPartialUpdateRequest) Execute() ([]JobQueueAssignment, *http.Response, error) {
+ return r.ApiService.ExtrasJobQueueAssignmentsBulkPartialUpdateExecute(r)
+}
+
+/*
+ExtrasJobQueueAssignmentsBulkPartialUpdate Method for ExtrasJobQueueAssignmentsBulkPartialUpdate
+
+Manage job queue assignments through DELETE, GET, POST, PUT, and PATCH requests.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiExtrasJobQueueAssignmentsBulkPartialUpdateRequest
+*/
+func (a *ExtrasAPIService) ExtrasJobQueueAssignmentsBulkPartialUpdate(ctx context.Context) ApiExtrasJobQueueAssignmentsBulkPartialUpdateRequest {
+ return ApiExtrasJobQueueAssignmentsBulkPartialUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return []JobQueueAssignment
+func (a *ExtrasAPIService) ExtrasJobQueueAssignmentsBulkPartialUpdateExecute(r ApiExtrasJobQueueAssignmentsBulkPartialUpdateRequest) ([]JobQueueAssignment, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPatch
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue []JobQueueAssignment
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasJobQueueAssignmentsBulkPartialUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/extras/job-queue-assignments/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.patchedBulkWritableJobQueueAssignmentRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritableJobQueueAssignmentRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.patchedBulkWritableJobQueueAssignmentRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiExtrasJobQueueAssignmentsBulkUpdateRequest struct {
+ ctx context.Context
+ ApiService *ExtrasAPIService
+ bulkWritableJobQueueAssignmentRequest *[]BulkWritableJobQueueAssignmentRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiExtrasJobQueueAssignmentsBulkUpdateRequest) BulkWritableJobQueueAssignmentRequest(bulkWritableJobQueueAssignmentRequest []BulkWritableJobQueueAssignmentRequest) ApiExtrasJobQueueAssignmentsBulkUpdateRequest {
+ r.bulkWritableJobQueueAssignmentRequest = &bulkWritableJobQueueAssignmentRequest
+ return r
+}
+
+func (r ApiExtrasJobQueueAssignmentsBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobQueueAssignmentsBulkUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiExtrasJobQueueAssignmentsBulkUpdateRequest) Execute() ([]JobQueueAssignment, *http.Response, error) {
+ return r.ApiService.ExtrasJobQueueAssignmentsBulkUpdateExecute(r)
+}
+
+/*
+ExtrasJobQueueAssignmentsBulkUpdate Method for ExtrasJobQueueAssignmentsBulkUpdate
+
+Manage job queue assignments through DELETE, GET, POST, PUT, and PATCH requests.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiExtrasJobQueueAssignmentsBulkUpdateRequest
+*/
+func (a *ExtrasAPIService) ExtrasJobQueueAssignmentsBulkUpdate(ctx context.Context) ApiExtrasJobQueueAssignmentsBulkUpdateRequest {
+ return ApiExtrasJobQueueAssignmentsBulkUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return []JobQueueAssignment
+func (a *ExtrasAPIService) ExtrasJobQueueAssignmentsBulkUpdateExecute(r ApiExtrasJobQueueAssignmentsBulkUpdateRequest) ([]JobQueueAssignment, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPut
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue []JobQueueAssignment
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasJobQueueAssignmentsBulkUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/extras/job-queue-assignments/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.bulkWritableJobQueueAssignmentRequest == nil {
+ return localVarReturnValue, nil, reportError("bulkWritableJobQueueAssignmentRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.bulkWritableJobQueueAssignmentRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiExtrasJobQueueAssignmentsCreateRequest struct {
+ ctx context.Context
+ ApiService *ExtrasAPIService
+ jobQueueAssignmentRequest *JobQueueAssignmentRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiExtrasJobQueueAssignmentsCreateRequest) JobQueueAssignmentRequest(jobQueueAssignmentRequest JobQueueAssignmentRequest) ApiExtrasJobQueueAssignmentsCreateRequest {
+ r.jobQueueAssignmentRequest = &jobQueueAssignmentRequest
+ return r
+}
+
+func (r ApiExtrasJobQueueAssignmentsCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobQueueAssignmentsCreateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiExtrasJobQueueAssignmentsCreateRequest) Execute() (*JobQueueAssignment, *http.Response, error) {
+ return r.ApiService.ExtrasJobQueueAssignmentsCreateExecute(r)
+}
+
+/*
+ExtrasJobQueueAssignmentsCreate Method for ExtrasJobQueueAssignmentsCreate
+
+Manage job queue assignments through DELETE, GET, POST, PUT, and PATCH requests.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiExtrasJobQueueAssignmentsCreateRequest
+*/
+func (a *ExtrasAPIService) ExtrasJobQueueAssignmentsCreate(ctx context.Context) ApiExtrasJobQueueAssignmentsCreateRequest {
+ return ApiExtrasJobQueueAssignmentsCreateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return JobQueueAssignment
+func (a *ExtrasAPIService) ExtrasJobQueueAssignmentsCreateExecute(r ApiExtrasJobQueueAssignmentsCreateRequest) (*JobQueueAssignment, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPost
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *JobQueueAssignment
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasJobQueueAssignmentsCreate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/extras/job-queue-assignments/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.jobQueueAssignmentRequest == nil {
+ return localVarReturnValue, nil, reportError("jobQueueAssignmentRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.jobQueueAssignmentRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiExtrasJobQueueAssignmentsDestroyRequest struct {
+ ctx context.Context
+ ApiService *ExtrasAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiExtrasJobQueueAssignmentsDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobQueueAssignmentsDestroyRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiExtrasJobQueueAssignmentsDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.ExtrasJobQueueAssignmentsDestroyExecute(r)
+}
+
+/*
+ExtrasJobQueueAssignmentsDestroy Method for ExtrasJobQueueAssignmentsDestroy
+
+Manage job queue assignments through DELETE, GET, POST, PUT, and PATCH requests.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this job queue assignment.
+ @return ApiExtrasJobQueueAssignmentsDestroyRequest
+*/
+func (a *ExtrasAPIService) ExtrasJobQueueAssignmentsDestroy(ctx context.Context, id string) ApiExtrasJobQueueAssignmentsDestroyRequest {
+ return ApiExtrasJobQueueAssignmentsDestroyRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+func (a *ExtrasAPIService) ExtrasJobQueueAssignmentsDestroyExecute(r ApiExtrasJobQueueAssignmentsDestroyRequest) (*http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodDelete
+ localVarPostBody interface{}
+ formFiles []formFile
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasJobQueueAssignmentsDestroy")
+ if err != nil {
+ return nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/extras/job-queue-assignments/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarHTTPResponse, newErr
+ }
+
+ return localVarHTTPResponse, nil
+}
+
+type ApiExtrasJobQueueAssignmentsListRequest struct {
+ ctx context.Context
+ ApiService *ExtrasAPIService
+ format *CircuitsCircuitTerminationsListFormatParameter
+ id *[]string
+ idN *[]string
+ job *[]string
+ jobN *[]string
+ jobQueue *[]string
+ jobQueueN *[]string
+ limit *int32
+ offset *int32
+ q *string
+ sort *string
+ depth *int32
+ excludeM2m *bool
+}
+
+func (r ApiExtrasJobQueueAssignmentsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobQueueAssignmentsListRequest {
+ r.format = &format
+ return r
+}
+
+// Unique object identifier, either a UUID primary key or a composite key.
+func (r ApiExtrasJobQueueAssignmentsListRequest) Id(id []string) ApiExtrasJobQueueAssignmentsListRequest {
+ r.id = &id
+ return r
+}
+
+func (r ApiExtrasJobQueueAssignmentsListRequest) IdN(idN []string) ApiExtrasJobQueueAssignmentsListRequest {
+ r.idN = &idN
+ return r
+}
+
+func (r ApiExtrasJobQueueAssignmentsListRequest) Job(job []string) ApiExtrasJobQueueAssignmentsListRequest {
+ r.job = &job
+ return r
+}
+
+func (r ApiExtrasJobQueueAssignmentsListRequest) JobN(jobN []string) ApiExtrasJobQueueAssignmentsListRequest {
+ r.jobN = &jobN
+ return r
+}
+
+func (r ApiExtrasJobQueueAssignmentsListRequest) JobQueue(jobQueue []string) ApiExtrasJobQueueAssignmentsListRequest {
+ r.jobQueue = &jobQueue
+ return r
+}
+
+func (r ApiExtrasJobQueueAssignmentsListRequest) JobQueueN(jobQueueN []string) ApiExtrasJobQueueAssignmentsListRequest {
+ r.jobQueueN = &jobQueueN
+ return r
+}
+
+// Number of results to return per page.
+func (r ApiExtrasJobQueueAssignmentsListRequest) Limit(limit int32) ApiExtrasJobQueueAssignmentsListRequest {
+ r.limit = &limit
+ return r
+}
+
+// The initial index from which to return the results.
+func (r ApiExtrasJobQueueAssignmentsListRequest) Offset(offset int32) ApiExtrasJobQueueAssignmentsListRequest {
+ r.offset = &offset
+ return r
+}
+
+// Search
+func (r ApiExtrasJobQueueAssignmentsListRequest) Q(q string) ApiExtrasJobQueueAssignmentsListRequest {
+ r.q = &q
+ return r
+}
+
+// Which field to use when ordering the results.
+func (r ApiExtrasJobQueueAssignmentsListRequest) Sort(sort string) ApiExtrasJobQueueAssignmentsListRequest {
+ r.sort = &sort
+ return r
+}
+
+// Serializer Depth
+func (r ApiExtrasJobQueueAssignmentsListRequest) Depth(depth int32) ApiExtrasJobQueueAssignmentsListRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiExtrasJobQueueAssignmentsListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasJobQueueAssignmentsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiExtrasJobQueueAssignmentsListRequest) Execute() (*PaginatedJobQueueAssignmentList, *http.Response, error) {
+ return r.ApiService.ExtrasJobQueueAssignmentsListExecute(r)
+}
+
+/*
+ExtrasJobQueueAssignmentsList Method for ExtrasJobQueueAssignmentsList
+
+Manage job queue assignments through DELETE, GET, POST, PUT, and PATCH requests.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiExtrasJobQueueAssignmentsListRequest
+*/
+func (a *ExtrasAPIService) ExtrasJobQueueAssignmentsList(ctx context.Context) ApiExtrasJobQueueAssignmentsListRequest {
+ return ApiExtrasJobQueueAssignmentsListRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return PaginatedJobQueueAssignmentList
+func (a *ExtrasAPIService) ExtrasJobQueueAssignmentsListExecute(r ApiExtrasJobQueueAssignmentsListRequest) (*PaginatedJobQueueAssignmentList, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *PaginatedJobQueueAssignmentList
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasJobQueueAssignmentsList")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/extras/job-queue-assignments/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.id != nil {
+ t := *r.id
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ }
+ }
+ if r.idN != nil {
+ t := *r.idN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
+ }
+ }
+ if r.job != nil {
+ t := *r.job
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "job", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "job", t, "form", "multi")
+ }
+ }
+ if r.jobN != nil {
+ t := *r.jobN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "job__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "job__n", t, "form", "multi")
+ }
+ }
+ if r.jobQueue != nil {
+ t := *r.jobQueue
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "job_queue", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "job_queue", t, "form", "multi")
+ }
+ }
+ if r.jobQueueN != nil {
+ t := *r.jobQueueN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "job_queue__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "job_queue__n", t, "form", "multi")
+ }
+ }
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ }
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+ }
+ if r.q != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
+ }
+ if r.sort != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiExtrasJobQueueAssignmentsPartialUpdateRequest struct {
+ ctx context.Context
+ ApiService *ExtrasAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ patchedJobQueueAssignmentRequest *PatchedJobQueueAssignmentRequest
+}
+
+func (r ApiExtrasJobQueueAssignmentsPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobQueueAssignmentsPartialUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiExtrasJobQueueAssignmentsPartialUpdateRequest) PatchedJobQueueAssignmentRequest(patchedJobQueueAssignmentRequest PatchedJobQueueAssignmentRequest) ApiExtrasJobQueueAssignmentsPartialUpdateRequest {
+ r.patchedJobQueueAssignmentRequest = &patchedJobQueueAssignmentRequest
+ return r
+}
+
+func (r ApiExtrasJobQueueAssignmentsPartialUpdateRequest) Execute() (*JobQueueAssignment, *http.Response, error) {
+ return r.ApiService.ExtrasJobQueueAssignmentsPartialUpdateExecute(r)
+}
+
+/*
+ExtrasJobQueueAssignmentsPartialUpdate Method for ExtrasJobQueueAssignmentsPartialUpdate
+
+Manage job queue assignments through DELETE, GET, POST, PUT, and PATCH requests.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this job queue assignment.
+ @return ApiExtrasJobQueueAssignmentsPartialUpdateRequest
+*/
+func (a *ExtrasAPIService) ExtrasJobQueueAssignmentsPartialUpdate(ctx context.Context, id string) ApiExtrasJobQueueAssignmentsPartialUpdateRequest {
+ return ApiExtrasJobQueueAssignmentsPartialUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return JobQueueAssignment
+func (a *ExtrasAPIService) ExtrasJobQueueAssignmentsPartialUpdateExecute(r ApiExtrasJobQueueAssignmentsPartialUpdateRequest) (*JobQueueAssignment, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPatch
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *JobQueueAssignment
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasJobQueueAssignmentsPartialUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/extras/job-queue-assignments/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.patchedJobQueueAssignmentRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiExtrasJobQueueAssignmentsRetrieveRequest struct {
+ ctx context.Context
+ ApiService *ExtrasAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ depth *int32
+ excludeM2m *bool
+}
+
+func (r ApiExtrasJobQueueAssignmentsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobQueueAssignmentsRetrieveRequest {
+ r.format = &format
+ return r
+}
+
+// Serializer Depth
+func (r ApiExtrasJobQueueAssignmentsRetrieveRequest) Depth(depth int32) ApiExtrasJobQueueAssignmentsRetrieveRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiExtrasJobQueueAssignmentsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasJobQueueAssignmentsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiExtrasJobQueueAssignmentsRetrieveRequest) Execute() (*JobQueueAssignment, *http.Response, error) {
+ return r.ApiService.ExtrasJobQueueAssignmentsRetrieveExecute(r)
+}
+
+/*
+ExtrasJobQueueAssignmentsRetrieve Method for ExtrasJobQueueAssignmentsRetrieve
+
+Manage job queue assignments through DELETE, GET, POST, PUT, and PATCH requests.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this job queue assignment.
+ @return ApiExtrasJobQueueAssignmentsRetrieveRequest
+*/
+func (a *ExtrasAPIService) ExtrasJobQueueAssignmentsRetrieve(ctx context.Context, id string) ApiExtrasJobQueueAssignmentsRetrieveRequest {
+ return ApiExtrasJobQueueAssignmentsRetrieveRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return JobQueueAssignment
+func (a *ExtrasAPIService) ExtrasJobQueueAssignmentsRetrieveExecute(r ApiExtrasJobQueueAssignmentsRetrieveRequest) (*JobQueueAssignment, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *JobQueueAssignment
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasJobQueueAssignmentsRetrieve")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/extras/job-queue-assignments/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiExtrasJobQueueAssignmentsUpdateRequest struct {
+ ctx context.Context
+ ApiService *ExtrasAPIService
+ id string
+ jobQueueAssignmentRequest *JobQueueAssignmentRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiExtrasJobQueueAssignmentsUpdateRequest) JobQueueAssignmentRequest(jobQueueAssignmentRequest JobQueueAssignmentRequest) ApiExtrasJobQueueAssignmentsUpdateRequest {
+ r.jobQueueAssignmentRequest = &jobQueueAssignmentRequest
+ return r
+}
+
+func (r ApiExtrasJobQueueAssignmentsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobQueueAssignmentsUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiExtrasJobQueueAssignmentsUpdateRequest) Execute() (*JobQueueAssignment, *http.Response, error) {
+ return r.ApiService.ExtrasJobQueueAssignmentsUpdateExecute(r)
+}
+
+/*
+ExtrasJobQueueAssignmentsUpdate Method for ExtrasJobQueueAssignmentsUpdate
+
+Manage job queue assignments through DELETE, GET, POST, PUT, and PATCH requests.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this job queue assignment.
+ @return ApiExtrasJobQueueAssignmentsUpdateRequest
+*/
+func (a *ExtrasAPIService) ExtrasJobQueueAssignmentsUpdate(ctx context.Context, id string) ApiExtrasJobQueueAssignmentsUpdateRequest {
+ return ApiExtrasJobQueueAssignmentsUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return JobQueueAssignment
+func (a *ExtrasAPIService) ExtrasJobQueueAssignmentsUpdateExecute(r ApiExtrasJobQueueAssignmentsUpdateRequest) (*JobQueueAssignment, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPut
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *JobQueueAssignment
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasJobQueueAssignmentsUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/extras/job-queue-assignments/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.jobQueueAssignmentRequest == nil {
+ return localVarReturnValue, nil, reportError("jobQueueAssignmentRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.jobQueueAssignmentRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiExtrasJobQueuesBulkDestroyRequest struct {
+ ctx context.Context
+ ApiService *ExtrasAPIService
+ bulkOperationRequest *[]BulkOperationRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiExtrasJobQueuesBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiExtrasJobQueuesBulkDestroyRequest {
+ r.bulkOperationRequest = &bulkOperationRequest
+ return r
+}
+
+func (r ApiExtrasJobQueuesBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobQueuesBulkDestroyRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiExtrasJobQueuesBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.ExtrasJobQueuesBulkDestroyExecute(r)
+}
+
+/*
+ExtrasJobQueuesBulkDestroy Method for ExtrasJobQueuesBulkDestroy
+
+Manage job queues through DELETE, GET, POST, PUT, and PATCH requests.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiExtrasJobQueuesBulkDestroyRequest
+*/
+func (a *ExtrasAPIService) ExtrasJobQueuesBulkDestroy(ctx context.Context) ApiExtrasJobQueuesBulkDestroyRequest {
+ return ApiExtrasJobQueuesBulkDestroyRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+func (a *ExtrasAPIService) ExtrasJobQueuesBulkDestroyExecute(r ApiExtrasJobQueuesBulkDestroyRequest) (*http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodDelete
+ localVarPostBody interface{}
+ formFiles []formFile
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasJobQueuesBulkDestroy")
+ if err != nil {
+ return nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/extras/job-queues/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.bulkOperationRequest == nil {
+ return nil, reportError("bulkOperationRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.bulkOperationRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarHTTPResponse, newErr
+ }
+
+ return localVarHTTPResponse, nil
+}
+
+type ApiExtrasJobQueuesBulkPartialUpdateRequest struct {
+ ctx context.Context
+ ApiService *ExtrasAPIService
+ patchedBulkWritableJobQueueRequest *[]PatchedBulkWritableJobQueueRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiExtrasJobQueuesBulkPartialUpdateRequest) PatchedBulkWritableJobQueueRequest(patchedBulkWritableJobQueueRequest []PatchedBulkWritableJobQueueRequest) ApiExtrasJobQueuesBulkPartialUpdateRequest {
+ r.patchedBulkWritableJobQueueRequest = &patchedBulkWritableJobQueueRequest
+ return r
+}
+
+func (r ApiExtrasJobQueuesBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobQueuesBulkPartialUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiExtrasJobQueuesBulkPartialUpdateRequest) Execute() ([]JobQueue, *http.Response, error) {
+ return r.ApiService.ExtrasJobQueuesBulkPartialUpdateExecute(r)
+}
+
+/*
+ExtrasJobQueuesBulkPartialUpdate Method for ExtrasJobQueuesBulkPartialUpdate
+
+Manage job queues through DELETE, GET, POST, PUT, and PATCH requests.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiExtrasJobQueuesBulkPartialUpdateRequest
+*/
+func (a *ExtrasAPIService) ExtrasJobQueuesBulkPartialUpdate(ctx context.Context) ApiExtrasJobQueuesBulkPartialUpdateRequest {
+ return ApiExtrasJobQueuesBulkPartialUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return []JobQueue
+func (a *ExtrasAPIService) ExtrasJobQueuesBulkPartialUpdateExecute(r ApiExtrasJobQueuesBulkPartialUpdateRequest) ([]JobQueue, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPatch
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue []JobQueue
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasJobQueuesBulkPartialUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/extras/job-queues/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.patchedBulkWritableJobQueueRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritableJobQueueRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.patchedBulkWritableJobQueueRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiExtrasJobQueuesBulkUpdateRequest struct {
+ ctx context.Context
+ ApiService *ExtrasAPIService
+ bulkWritableJobQueueRequest *[]BulkWritableJobQueueRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiExtrasJobQueuesBulkUpdateRequest) BulkWritableJobQueueRequest(bulkWritableJobQueueRequest []BulkWritableJobQueueRequest) ApiExtrasJobQueuesBulkUpdateRequest {
+ r.bulkWritableJobQueueRequest = &bulkWritableJobQueueRequest
+ return r
+}
+
+func (r ApiExtrasJobQueuesBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobQueuesBulkUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiExtrasJobQueuesBulkUpdateRequest) Execute() ([]JobQueue, *http.Response, error) {
+ return r.ApiService.ExtrasJobQueuesBulkUpdateExecute(r)
+}
+
+/*
+ExtrasJobQueuesBulkUpdate Method for ExtrasJobQueuesBulkUpdate
+
+Manage job queues through DELETE, GET, POST, PUT, and PATCH requests.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiExtrasJobQueuesBulkUpdateRequest
+*/
+func (a *ExtrasAPIService) ExtrasJobQueuesBulkUpdate(ctx context.Context) ApiExtrasJobQueuesBulkUpdateRequest {
+ return ApiExtrasJobQueuesBulkUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return []JobQueue
+func (a *ExtrasAPIService) ExtrasJobQueuesBulkUpdateExecute(r ApiExtrasJobQueuesBulkUpdateRequest) ([]JobQueue, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPut
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue []JobQueue
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasJobQueuesBulkUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/extras/job-queues/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.bulkWritableJobQueueRequest == nil {
+ return localVarReturnValue, nil, reportError("bulkWritableJobQueueRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.bulkWritableJobQueueRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiExtrasJobQueuesCreateRequest struct {
+ ctx context.Context
+ ApiService *ExtrasAPIService
+ jobQueueRequest *JobQueueRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiExtrasJobQueuesCreateRequest) JobQueueRequest(jobQueueRequest JobQueueRequest) ApiExtrasJobQueuesCreateRequest {
+ r.jobQueueRequest = &jobQueueRequest
+ return r
+}
+
+func (r ApiExtrasJobQueuesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobQueuesCreateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiExtrasJobQueuesCreateRequest) Execute() (*JobQueue, *http.Response, error) {
+ return r.ApiService.ExtrasJobQueuesCreateExecute(r)
+}
+
+/*
+ExtrasJobQueuesCreate Method for ExtrasJobQueuesCreate
+
+Manage job queues through DELETE, GET, POST, PUT, and PATCH requests.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiExtrasJobQueuesCreateRequest
+*/
+func (a *ExtrasAPIService) ExtrasJobQueuesCreate(ctx context.Context) ApiExtrasJobQueuesCreateRequest {
+ return ApiExtrasJobQueuesCreateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return JobQueue
+func (a *ExtrasAPIService) ExtrasJobQueuesCreateExecute(r ApiExtrasJobQueuesCreateRequest) (*JobQueue, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPost
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *JobQueue
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasJobQueuesCreate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/extras/job-queues/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.jobQueueRequest == nil {
+ return localVarReturnValue, nil, reportError("jobQueueRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.jobQueueRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiExtrasJobQueuesDestroyRequest struct {
+ ctx context.Context
+ ApiService *ExtrasAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiExtrasJobQueuesDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobQueuesDestroyRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiExtrasJobQueuesDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.ExtrasJobQueuesDestroyExecute(r)
+}
+
+/*
+ExtrasJobQueuesDestroy Method for ExtrasJobQueuesDestroy
+
+Manage job queues through DELETE, GET, POST, PUT, and PATCH requests.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this job queue.
+ @return ApiExtrasJobQueuesDestroyRequest
+*/
+func (a *ExtrasAPIService) ExtrasJobQueuesDestroy(ctx context.Context, id string) ApiExtrasJobQueuesDestroyRequest {
+ return ApiExtrasJobQueuesDestroyRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+func (a *ExtrasAPIService) ExtrasJobQueuesDestroyExecute(r ApiExtrasJobQueuesDestroyRequest) (*http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodDelete
+ localVarPostBody interface{}
+ formFiles []formFile
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasJobQueuesDestroy")
+ if err != nil {
+ return nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/extras/job-queues/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarHTTPResponse, newErr
+ }
+
+ return localVarHTTPResponse, nil
+}
+
+type ApiExtrasJobQueuesListRequest struct {
+ ctx context.Context
+ ApiService *ExtrasAPIService
+ contacts *[]string
+ contactsIsnull *bool
+ contactsN *[]string
+ created *[]time.Time
+ createdGt *[]time.Time
+ createdGte *[]time.Time
+ createdIsnull *bool
+ createdLt *[]time.Time
+ createdLte *[]time.Time
+ createdN *[]time.Time
+ description *[]string
+ descriptionIc *[]string
+ descriptionIe *[]string
+ descriptionIew *[]string
+ descriptionIre *[]string
+ descriptionIsw *[]string
+ descriptionN *[]string
+ descriptionNic *[]string
+ descriptionNie *[]string
+ descriptionNiew *[]string
+ descriptionNire *[]string
+ descriptionNisw *[]string
+ descriptionNre *[]string
+ descriptionRe *[]string
+ dynamicGroups *[]string
+ dynamicGroupsN *[]string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ hasJobs *bool
+ id *[]string
+ idN *[]string
+ jobs *[]string
+ jobsIsnull *bool
+ jobsN *[]string
+ lastUpdated *[]time.Time
+ lastUpdatedGt *[]time.Time
+ lastUpdatedGte *[]time.Time
+ lastUpdatedIsnull *bool
+ lastUpdatedLt *[]time.Time
+ lastUpdatedLte *[]time.Time
+ lastUpdatedN *[]time.Time
+ limit *int32
+ name *[]string
+ nameIc *[]string
+ nameIe *[]string
+ nameIew *[]string
+ nameIre *[]string
+ nameIsw *[]string
+ nameN *[]string
+ nameNic *[]string
+ nameNie *[]string
+ nameNiew *[]string
+ nameNire *[]string
+ nameNisw *[]string
+ nameNre *[]string
+ nameRe *[]string
+ offset *int32
+ q *string
+ queueType *[]string
+ queueTypeIc *[]string
+ queueTypeIe *[]string
+ queueTypeIew *[]string
+ queueTypeIre *[]string
+ queueTypeIsw *[]string
+ queueTypeN *[]string
+ queueTypeNic *[]string
+ queueTypeNie *[]string
+ queueTypeNiew *[]string
+ queueTypeNire *[]string
+ queueTypeNisw *[]string
+ queueTypeNre *[]string
+ queueTypeRe *[]string
+ sort *string
+ tags *[]string
+ tagsIsnull *bool
+ tagsN *[]string
+ teams *[]string
+ teamsIsnull *bool
+ teamsN *[]string
+ tenant *[]string
+ tenantIsnull *bool
+ tenantN *[]string
+ tenantGroup *[]string
+ tenantGroupIsnull *bool
+ tenantGroupN *[]string
+ tenantId *[]*string
+ tenantIdIsnull *bool
+ tenantIdN *[]*string
+ depth *int32
+ excludeM2m *bool
+}
+
+func (r ApiExtrasJobQueuesListRequest) Contacts(contacts []string) ApiExtrasJobQueuesListRequest {
+ r.contacts = &contacts
+ return r
+}
+
+// Contacts (name or ID) is null
+func (r ApiExtrasJobQueuesListRequest) ContactsIsnull(contactsIsnull bool) ApiExtrasJobQueuesListRequest {
+ r.contactsIsnull = &contactsIsnull
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) ContactsN(contactsN []string) ApiExtrasJobQueuesListRequest {
+ r.contactsN = &contactsN
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) Created(created []time.Time) ApiExtrasJobQueuesListRequest {
+ r.created = &created
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) CreatedGt(createdGt []time.Time) ApiExtrasJobQueuesListRequest {
+ r.createdGt = &createdGt
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) CreatedGte(createdGte []time.Time) ApiExtrasJobQueuesListRequest {
+ r.createdGte = &createdGte
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) CreatedIsnull(createdIsnull bool) ApiExtrasJobQueuesListRequest {
+ r.createdIsnull = &createdIsnull
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) CreatedLt(createdLt []time.Time) ApiExtrasJobQueuesListRequest {
+ r.createdLt = &createdLt
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) CreatedLte(createdLte []time.Time) ApiExtrasJobQueuesListRequest {
+ r.createdLte = &createdLte
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) CreatedN(createdN []time.Time) ApiExtrasJobQueuesListRequest {
+ r.createdN = &createdN
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) Description(description []string) ApiExtrasJobQueuesListRequest {
+ r.description = &description
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) DescriptionIc(descriptionIc []string) ApiExtrasJobQueuesListRequest {
+ r.descriptionIc = &descriptionIc
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) DescriptionIe(descriptionIe []string) ApiExtrasJobQueuesListRequest {
+ r.descriptionIe = &descriptionIe
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) DescriptionIew(descriptionIew []string) ApiExtrasJobQueuesListRequest {
+ r.descriptionIew = &descriptionIew
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) DescriptionIre(descriptionIre []string) ApiExtrasJobQueuesListRequest {
+ r.descriptionIre = &descriptionIre
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) DescriptionIsw(descriptionIsw []string) ApiExtrasJobQueuesListRequest {
+ r.descriptionIsw = &descriptionIsw
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) DescriptionN(descriptionN []string) ApiExtrasJobQueuesListRequest {
+ r.descriptionN = &descriptionN
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) DescriptionNic(descriptionNic []string) ApiExtrasJobQueuesListRequest {
+ r.descriptionNic = &descriptionNic
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) DescriptionNie(descriptionNie []string) ApiExtrasJobQueuesListRequest {
+ r.descriptionNie = &descriptionNie
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) DescriptionNiew(descriptionNiew []string) ApiExtrasJobQueuesListRequest {
+ r.descriptionNiew = &descriptionNiew
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) DescriptionNire(descriptionNire []string) ApiExtrasJobQueuesListRequest {
+ r.descriptionNire = &descriptionNire
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) DescriptionNisw(descriptionNisw []string) ApiExtrasJobQueuesListRequest {
+ r.descriptionNisw = &descriptionNisw
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) DescriptionNre(descriptionNre []string) ApiExtrasJobQueuesListRequest {
+ r.descriptionNre = &descriptionNre
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) DescriptionRe(descriptionRe []string) ApiExtrasJobQueuesListRequest {
+ r.descriptionRe = &descriptionRe
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) DynamicGroups(dynamicGroups []string) ApiExtrasJobQueuesListRequest {
+ r.dynamicGroups = &dynamicGroups
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiExtrasJobQueuesListRequest {
+ r.dynamicGroupsN = &dynamicGroupsN
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobQueuesListRequest {
+ r.format = &format
+ return r
+}
+
+// Has jobs
+func (r ApiExtrasJobQueuesListRequest) HasJobs(hasJobs bool) ApiExtrasJobQueuesListRequest {
+ r.hasJobs = &hasJobs
+ return r
+}
+
+// Unique object identifier, either a UUID primary key or a composite key.
+func (r ApiExtrasJobQueuesListRequest) Id(id []string) ApiExtrasJobQueuesListRequest {
+ r.id = &id
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) IdN(idN []string) ApiExtrasJobQueuesListRequest {
+ r.idN = &idN
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) Jobs(jobs []string) ApiExtrasJobQueuesListRequest {
+ r.jobs = &jobs
+ return r
+}
+
+// Job (name or ID) is null
+func (r ApiExtrasJobQueuesListRequest) JobsIsnull(jobsIsnull bool) ApiExtrasJobQueuesListRequest {
+ r.jobsIsnull = &jobsIsnull
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) JobsN(jobsN []string) ApiExtrasJobQueuesListRequest {
+ r.jobsN = &jobsN
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) LastUpdated(lastUpdated []time.Time) ApiExtrasJobQueuesListRequest {
+ r.lastUpdated = &lastUpdated
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiExtrasJobQueuesListRequest {
+ r.lastUpdatedGt = &lastUpdatedGt
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiExtrasJobQueuesListRequest {
+ r.lastUpdatedGte = &lastUpdatedGte
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) LastUpdatedIsnull(lastUpdatedIsnull bool) ApiExtrasJobQueuesListRequest {
+ r.lastUpdatedIsnull = &lastUpdatedIsnull
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiExtrasJobQueuesListRequest {
+ r.lastUpdatedLt = &lastUpdatedLt
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiExtrasJobQueuesListRequest {
+ r.lastUpdatedLte = &lastUpdatedLte
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiExtrasJobQueuesListRequest {
+ r.lastUpdatedN = &lastUpdatedN
+ return r
+}
+
+// Number of results to return per page.
+func (r ApiExtrasJobQueuesListRequest) Limit(limit int32) ApiExtrasJobQueuesListRequest {
+ r.limit = &limit
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) Name(name []string) ApiExtrasJobQueuesListRequest {
+ r.name = &name
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) NameIc(nameIc []string) ApiExtrasJobQueuesListRequest {
+ r.nameIc = &nameIc
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) NameIe(nameIe []string) ApiExtrasJobQueuesListRequest {
+ r.nameIe = &nameIe
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) NameIew(nameIew []string) ApiExtrasJobQueuesListRequest {
+ r.nameIew = &nameIew
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) NameIre(nameIre []string) ApiExtrasJobQueuesListRequest {
+ r.nameIre = &nameIre
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) NameIsw(nameIsw []string) ApiExtrasJobQueuesListRequest {
+ r.nameIsw = &nameIsw
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) NameN(nameN []string) ApiExtrasJobQueuesListRequest {
+ r.nameN = &nameN
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) NameNic(nameNic []string) ApiExtrasJobQueuesListRequest {
+ r.nameNic = &nameNic
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) NameNie(nameNie []string) ApiExtrasJobQueuesListRequest {
+ r.nameNie = &nameNie
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) NameNiew(nameNiew []string) ApiExtrasJobQueuesListRequest {
+ r.nameNiew = &nameNiew
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) NameNire(nameNire []string) ApiExtrasJobQueuesListRequest {
+ r.nameNire = &nameNire
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) NameNisw(nameNisw []string) ApiExtrasJobQueuesListRequest {
+ r.nameNisw = &nameNisw
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) NameNre(nameNre []string) ApiExtrasJobQueuesListRequest {
+ r.nameNre = &nameNre
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) NameRe(nameRe []string) ApiExtrasJobQueuesListRequest {
+ r.nameRe = &nameRe
+ return r
+}
+
+// The initial index from which to return the results.
+func (r ApiExtrasJobQueuesListRequest) Offset(offset int32) ApiExtrasJobQueuesListRequest {
+ r.offset = &offset
+ return r
+}
+
+// Search
+func (r ApiExtrasJobQueuesListRequest) Q(q string) ApiExtrasJobQueuesListRequest {
+ r.q = &q
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) QueueType(queueType []string) ApiExtrasJobQueuesListRequest {
+ r.queueType = &queueType
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) QueueTypeIc(queueTypeIc []string) ApiExtrasJobQueuesListRequest {
+ r.queueTypeIc = &queueTypeIc
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) QueueTypeIe(queueTypeIe []string) ApiExtrasJobQueuesListRequest {
+ r.queueTypeIe = &queueTypeIe
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) QueueTypeIew(queueTypeIew []string) ApiExtrasJobQueuesListRequest {
+ r.queueTypeIew = &queueTypeIew
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) QueueTypeIre(queueTypeIre []string) ApiExtrasJobQueuesListRequest {
+ r.queueTypeIre = &queueTypeIre
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) QueueTypeIsw(queueTypeIsw []string) ApiExtrasJobQueuesListRequest {
+ r.queueTypeIsw = &queueTypeIsw
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) QueueTypeN(queueTypeN []string) ApiExtrasJobQueuesListRequest {
+ r.queueTypeN = &queueTypeN
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) QueueTypeNic(queueTypeNic []string) ApiExtrasJobQueuesListRequest {
+ r.queueTypeNic = &queueTypeNic
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) QueueTypeNie(queueTypeNie []string) ApiExtrasJobQueuesListRequest {
+ r.queueTypeNie = &queueTypeNie
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) QueueTypeNiew(queueTypeNiew []string) ApiExtrasJobQueuesListRequest {
+ r.queueTypeNiew = &queueTypeNiew
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) QueueTypeNire(queueTypeNire []string) ApiExtrasJobQueuesListRequest {
+ r.queueTypeNire = &queueTypeNire
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) QueueTypeNisw(queueTypeNisw []string) ApiExtrasJobQueuesListRequest {
+ r.queueTypeNisw = &queueTypeNisw
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) QueueTypeNre(queueTypeNre []string) ApiExtrasJobQueuesListRequest {
+ r.queueTypeNre = &queueTypeNre
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) QueueTypeRe(queueTypeRe []string) ApiExtrasJobQueuesListRequest {
+ r.queueTypeRe = &queueTypeRe
+ return r
+}
+
+// Which field to use when ordering the results.
+func (r ApiExtrasJobQueuesListRequest) Sort(sort string) ApiExtrasJobQueuesListRequest {
+ r.sort = &sort
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) Tags(tags []string) ApiExtrasJobQueuesListRequest {
+ r.tags = &tags
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) TagsIsnull(tagsIsnull bool) ApiExtrasJobQueuesListRequest {
+ r.tagsIsnull = &tagsIsnull
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) TagsN(tagsN []string) ApiExtrasJobQueuesListRequest {
+ r.tagsN = &tagsN
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) Teams(teams []string) ApiExtrasJobQueuesListRequest {
+ r.teams = &teams
+ return r
+}
+
+// Teams (name or ID) is null
+func (r ApiExtrasJobQueuesListRequest) TeamsIsnull(teamsIsnull bool) ApiExtrasJobQueuesListRequest {
+ r.teamsIsnull = &teamsIsnull
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) TeamsN(teamsN []string) ApiExtrasJobQueuesListRequest {
+ r.teamsN = &teamsN
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) Tenant(tenant []string) ApiExtrasJobQueuesListRequest {
+ r.tenant = &tenant
+ return r
+}
+
+// Tenant (name or ID) is null
+func (r ApiExtrasJobQueuesListRequest) TenantIsnull(tenantIsnull bool) ApiExtrasJobQueuesListRequest {
+ r.tenantIsnull = &tenantIsnull
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) TenantN(tenantN []string) ApiExtrasJobQueuesListRequest {
+ r.tenantN = &tenantN
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) TenantGroup(tenantGroup []string) ApiExtrasJobQueuesListRequest {
+ r.tenantGroup = &tenantGroup
+ return r
+}
+
+// Tenant Group (name or ID) is null
+func (r ApiExtrasJobQueuesListRequest) TenantGroupIsnull(tenantGroupIsnull bool) ApiExtrasJobQueuesListRequest {
+ r.tenantGroupIsnull = &tenantGroupIsnull
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) TenantGroupN(tenantGroupN []string) ApiExtrasJobQueuesListRequest {
+ r.tenantGroupN = &tenantGroupN
+ return r
+}
+
+// Tenant (ID) (deprecated, use \"tenant\" filter instead)
+func (r ApiExtrasJobQueuesListRequest) TenantId(tenantId []*string) ApiExtrasJobQueuesListRequest {
+ r.tenantId = &tenantId
+ return r
+}
+
+// Tenant (ID) (deprecated, use \"tenant\" filter instead) is null
+func (r ApiExtrasJobQueuesListRequest) TenantIdIsnull(tenantIdIsnull bool) ApiExtrasJobQueuesListRequest {
+ r.tenantIdIsnull = &tenantIdIsnull
+ return r
+}
+
+// Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead)
+func (r ApiExtrasJobQueuesListRequest) TenantIdN(tenantIdN []*string) ApiExtrasJobQueuesListRequest {
+ r.tenantIdN = &tenantIdN
+ return r
+}
+
+// Serializer Depth
+func (r ApiExtrasJobQueuesListRequest) Depth(depth int32) ApiExtrasJobQueuesListRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiExtrasJobQueuesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasJobQueuesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiExtrasJobQueuesListRequest) Execute() (*PaginatedJobQueueList, *http.Response, error) {
+ return r.ApiService.ExtrasJobQueuesListExecute(r)
+}
+
+/*
+ExtrasJobQueuesList Method for ExtrasJobQueuesList
+
+Manage job queues through DELETE, GET, POST, PUT, and PATCH requests.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiExtrasJobQueuesListRequest
+*/
+func (a *ExtrasAPIService) ExtrasJobQueuesList(ctx context.Context) ApiExtrasJobQueuesListRequest {
+ return ApiExtrasJobQueuesListRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return PaginatedJobQueueList
+func (a *ExtrasAPIService) ExtrasJobQueuesListExecute(r ApiExtrasJobQueuesListRequest) (*PaginatedJobQueueList, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *PaginatedJobQueueList
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasJobQueuesList")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/extras/job-queues/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.contacts != nil {
+ t := *r.contacts
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", t, "form", "multi")
+ }
+ }
+ if r.contactsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
+ }
+ if r.contactsN != nil {
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
+ }
+ if r.created != nil {
+ t := *r.created
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created", t, "form", "multi")
+ }
+ }
+ if r.createdGt != nil {
+ t := *r.createdGt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", t, "form", "multi")
+ }
+ }
+ if r.createdGte != nil {
+ t := *r.createdGte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", t, "form", "multi")
+ }
+ }
+ if r.createdIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__isnull", r.createdIsnull, "form", "")
+ }
+ if r.createdLt != nil {
+ t := *r.createdLt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", t, "form", "multi")
+ }
+ }
+ if r.createdLte != nil {
+ t := *r.createdLte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", t, "form", "multi")
+ }
+ }
+ if r.createdN != nil {
+ t := *r.createdN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "form", "multi")
+ }
+ }
+ if r.description != nil {
+ t := *r.description
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description", t, "form", "multi")
+ }
+ }
+ if r.descriptionIc != nil {
+ t := *r.descriptionIc
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", t, "form", "multi")
+ }
+ }
+ if r.descriptionIe != nil {
+ t := *r.descriptionIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", t, "form", "multi")
+ }
+ }
+ if r.descriptionIew != nil {
+ t := *r.descriptionIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", t, "form", "multi")
+ }
+ }
+ if r.descriptionIre != nil {
+ t := *r.descriptionIre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", t, "form", "multi")
+ }
+ }
+ if r.descriptionIsw != nil {
+ t := *r.descriptionIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", t, "form", "multi")
+ }
+ }
+ if r.descriptionN != nil {
+ t := *r.descriptionN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", t, "form", "multi")
+ }
+ }
+ if r.descriptionNic != nil {
+ t := *r.descriptionNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", t, "form", "multi")
+ }
+ }
+ if r.descriptionNie != nil {
+ t := *r.descriptionNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", t, "form", "multi")
+ }
+ }
+ if r.descriptionNiew != nil {
+ t := *r.descriptionNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", t, "form", "multi")
+ }
+ }
+ if r.descriptionNire != nil {
+ t := *r.descriptionNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", t, "form", "multi")
+ }
+ }
+ if r.descriptionNisw != nil {
+ t := *r.descriptionNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", t, "form", "multi")
+ }
+ }
+ if r.descriptionNre != nil {
+ t := *r.descriptionNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", t, "form", "multi")
+ }
+ }
+ if r.descriptionRe != nil {
+ t := *r.descriptionRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", t, "form", "multi")
+ }
+ }
+ if r.dynamicGroups != nil {
+ t := *r.dynamicGroups
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
+ }
+ }
+ if r.dynamicGroupsN != nil {
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
+ }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.hasJobs != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_jobs", r.hasJobs, "form", "")
+ }
+ if r.id != nil {
+ t := *r.id
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ }
+ }
+ if r.idN != nil {
+ t := *r.idN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
+ }
+ }
+ if r.jobs != nil {
+ t := *r.jobs
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "jobs", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "jobs", t, "form", "multi")
+ }
+ }
+ if r.jobsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "jobs__isnull", r.jobsIsnull, "form", "")
+ }
+ if r.jobsN != nil {
+ t := *r.jobsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "jobs__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "jobs__n", t, "form", "multi")
+ }
+ }
+ if r.lastUpdated != nil {
+ t := *r.lastUpdated
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "form", "multi")
+ }
+ }
+ if r.lastUpdatedGt != nil {
+ t := *r.lastUpdatedGt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", t, "form", "multi")
+ }
+ }
+ if r.lastUpdatedGte != nil {
+ t := *r.lastUpdatedGte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", t, "form", "multi")
+ }
+ }
+ if r.lastUpdatedIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__isnull", r.lastUpdatedIsnull, "form", "")
+ }
+ if r.lastUpdatedLt != nil {
+ t := *r.lastUpdatedLt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", t, "form", "multi")
+ }
+ }
+ if r.lastUpdatedLte != nil {
+ t := *r.lastUpdatedLte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", t, "form", "multi")
+ }
+ }
+ if r.lastUpdatedN != nil {
+ t := *r.lastUpdatedN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", t, "form", "multi")
+ }
+ }
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ }
+ if r.name != nil {
+ t := *r.name
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name", t, "form", "multi")
+ }
+ }
+ if r.nameIc != nil {
+ t := *r.nameIc
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", t, "form", "multi")
+ }
+ }
+ if r.nameIe != nil {
+ t := *r.nameIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", t, "form", "multi")
+ }
+ }
+ if r.nameIew != nil {
+ t := *r.nameIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", t, "form", "multi")
+ }
+ }
+ if r.nameIre != nil {
+ t := *r.nameIre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", t, "form", "multi")
+ }
+ }
+ if r.nameIsw != nil {
+ t := *r.nameIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", t, "form", "multi")
+ }
+ }
+ if r.nameN != nil {
+ t := *r.nameN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", t, "form", "multi")
+ }
+ }
+ if r.nameNic != nil {
+ t := *r.nameNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", t, "form", "multi")
+ }
+ }
+ if r.nameNie != nil {
+ t := *r.nameNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", t, "form", "multi")
+ }
+ }
+ if r.nameNiew != nil {
+ t := *r.nameNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", t, "form", "multi")
+ }
+ }
+ if r.nameNire != nil {
+ t := *r.nameNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", t, "form", "multi")
+ }
+ }
+ if r.nameNisw != nil {
+ t := *r.nameNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", t, "form", "multi")
+ }
+ }
+ if r.nameNre != nil {
+ t := *r.nameNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", t, "form", "multi")
+ }
+ }
+ if r.nameRe != nil {
+ t := *r.nameRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", t, "form", "multi")
+ }
+ }
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+ }
+ if r.q != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
+ }
+ if r.queueType != nil {
+ t := *r.queueType
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "queue_type", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "queue_type", t, "form", "multi")
+ }
+ }
+ if r.queueTypeIc != nil {
+ t := *r.queueTypeIc
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "queue_type__ic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "queue_type__ic", t, "form", "multi")
+ }
+ }
+ if r.queueTypeIe != nil {
+ t := *r.queueTypeIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "queue_type__ie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "queue_type__ie", t, "form", "multi")
+ }
+ }
+ if r.queueTypeIew != nil {
+ t := *r.queueTypeIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "queue_type__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "queue_type__iew", t, "form", "multi")
+ }
+ }
+ if r.queueTypeIre != nil {
+ t := *r.queueTypeIre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "queue_type__ire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "queue_type__ire", t, "form", "multi")
+ }
+ }
+ if r.queueTypeIsw != nil {
+ t := *r.queueTypeIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "queue_type__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "queue_type__isw", t, "form", "multi")
+ }
+ }
+ if r.queueTypeN != nil {
+ t := *r.queueTypeN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "queue_type__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "queue_type__n", t, "form", "multi")
+ }
+ }
+ if r.queueTypeNic != nil {
+ t := *r.queueTypeNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "queue_type__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "queue_type__nic", t, "form", "multi")
+ }
+ }
+ if r.queueTypeNie != nil {
+ t := *r.queueTypeNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "queue_type__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "queue_type__nie", t, "form", "multi")
+ }
+ }
+ if r.queueTypeNiew != nil {
+ t := *r.queueTypeNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "queue_type__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "queue_type__niew", t, "form", "multi")
+ }
+ }
+ if r.queueTypeNire != nil {
+ t := *r.queueTypeNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "queue_type__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "queue_type__nire", t, "form", "multi")
+ }
+ }
+ if r.queueTypeNisw != nil {
+ t := *r.queueTypeNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "queue_type__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "queue_type__nisw", t, "form", "multi")
+ }
+ }
+ if r.queueTypeNre != nil {
+ t := *r.queueTypeNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "queue_type__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "queue_type__nre", t, "form", "multi")
+ }
+ }
+ if r.queueTypeRe != nil {
+ t := *r.queueTypeRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "queue_type__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "queue_type__re", t, "form", "multi")
+ }
+ }
+ if r.sort != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
+ }
+ if r.tags != nil {
+ t := *r.tags
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags", t, "form", "multi")
+ }
+ }
+ if r.tagsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__isnull", r.tagsIsnull, "form", "")
+ }
+ if r.tagsN != nil {
+ t := *r.tagsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", t, "form", "multi")
+ }
+ }
+ if r.teams != nil {
+ t := *r.teams
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams", t, "form", "multi")
+ }
+ }
+ if r.teamsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
+ }
+ if r.teamsN != nil {
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
+ }
+ if r.tenant != nil {
+ t := *r.tenant
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant", t, "form", "multi")
+ }
+ }
+ if r.tenantIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__isnull", r.tenantIsnull, "form", "")
+ }
+ if r.tenantN != nil {
+ t := *r.tenantN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__n", t, "form", "multi")
+ }
+ }
+ if r.tenantGroup != nil {
+ t := *r.tenantGroup
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group", t, "form", "multi")
+ }
+ }
+ if r.tenantGroupIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group__isnull", r.tenantGroupIsnull, "form", "")
+ }
+ if r.tenantGroupN != nil {
+ t := *r.tenantGroupN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group__n", t, "form", "multi")
+ }
+ }
+ if r.tenantId != nil {
+ t := *r.tenantId
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id", t, "form", "multi")
+ }
+ }
+ if r.tenantIdIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__isnull", r.tenantIdIsnull, "form", "")
+ }
+ if r.tenantIdN != nil {
+ t := *r.tenantIdN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__n", t, "form", "multi")
+ }
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiExtrasJobQueuesNotesCreateRequest struct {
+ ctx context.Context
+ ApiService *ExtrasAPIService
+ id string
+ noteInputRequest *NoteInputRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiExtrasJobQueuesNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiExtrasJobQueuesNotesCreateRequest {
+ r.noteInputRequest = ¬eInputRequest
+ return r
+}
+
+func (r ApiExtrasJobQueuesNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobQueuesNotesCreateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiExtrasJobQueuesNotesCreateRequest) Execute() (*Note, *http.Response, error) {
+ return r.ApiService.ExtrasJobQueuesNotesCreateExecute(r)
+}
+
+/*
+ExtrasJobQueuesNotesCreate Method for ExtrasJobQueuesNotesCreate
+
+API methods for returning or creating notes on an object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this job queue.
+ @return ApiExtrasJobQueuesNotesCreateRequest
+*/
+func (a *ExtrasAPIService) ExtrasJobQueuesNotesCreate(ctx context.Context, id string) ApiExtrasJobQueuesNotesCreateRequest {
+ return ApiExtrasJobQueuesNotesCreateRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return Note
+func (a *ExtrasAPIService) ExtrasJobQueuesNotesCreateExecute(r ApiExtrasJobQueuesNotesCreateRequest) (*Note, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPost
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *Note
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasJobQueuesNotesCreate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/extras/job-queues/{id}/notes/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.noteInputRequest == nil {
+ return localVarReturnValue, nil, reportError("noteInputRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.noteInputRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiExtrasJobQueuesNotesListRequest struct {
+ ctx context.Context
+ ApiService *ExtrasAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ limit *int32
+ offset *int32
+ depth *int32
+ excludeM2m *bool
+}
+
+func (r ApiExtrasJobQueuesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobQueuesNotesListRequest {
+ r.format = &format
+ return r
+}
+
+// Number of results to return per page.
+func (r ApiExtrasJobQueuesNotesListRequest) Limit(limit int32) ApiExtrasJobQueuesNotesListRequest {
+ r.limit = &limit
+ return r
+}
+
+// The initial index from which to return the results.
+func (r ApiExtrasJobQueuesNotesListRequest) Offset(offset int32) ApiExtrasJobQueuesNotesListRequest {
+ r.offset = &offset
+ return r
+}
+
+// Serializer Depth
+func (r ApiExtrasJobQueuesNotesListRequest) Depth(depth int32) ApiExtrasJobQueuesNotesListRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiExtrasJobQueuesNotesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasJobQueuesNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiExtrasJobQueuesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
+ return r.ApiService.ExtrasJobQueuesNotesListExecute(r)
+}
+
+/*
+ExtrasJobQueuesNotesList Method for ExtrasJobQueuesNotesList
+
+API methods for returning or creating notes on an object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this job queue.
+ @return ApiExtrasJobQueuesNotesListRequest
+*/
+func (a *ExtrasAPIService) ExtrasJobQueuesNotesList(ctx context.Context, id string) ApiExtrasJobQueuesNotesListRequest {
+ return ApiExtrasJobQueuesNotesListRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return PaginatedNoteList
+func (a *ExtrasAPIService) ExtrasJobQueuesNotesListExecute(r ApiExtrasJobQueuesNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *PaginatedNoteList
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasJobQueuesNotesList")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/extras/job-queues/{id}/notes/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ }
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiExtrasJobQueuesPartialUpdateRequest struct {
+ ctx context.Context
+ ApiService *ExtrasAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ patchedJobQueueRequest *PatchedJobQueueRequest
+}
+
+func (r ApiExtrasJobQueuesPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobQueuesPartialUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiExtrasJobQueuesPartialUpdateRequest) PatchedJobQueueRequest(patchedJobQueueRequest PatchedJobQueueRequest) ApiExtrasJobQueuesPartialUpdateRequest {
+ r.patchedJobQueueRequest = &patchedJobQueueRequest
+ return r
+}
+
+func (r ApiExtrasJobQueuesPartialUpdateRequest) Execute() (*JobQueue, *http.Response, error) {
+ return r.ApiService.ExtrasJobQueuesPartialUpdateExecute(r)
+}
+
+/*
+ExtrasJobQueuesPartialUpdate Method for ExtrasJobQueuesPartialUpdate
+
+Manage job queues through DELETE, GET, POST, PUT, and PATCH requests.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this job queue.
+ @return ApiExtrasJobQueuesPartialUpdateRequest
+*/
+func (a *ExtrasAPIService) ExtrasJobQueuesPartialUpdate(ctx context.Context, id string) ApiExtrasJobQueuesPartialUpdateRequest {
+ return ApiExtrasJobQueuesPartialUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return JobQueue
+func (a *ExtrasAPIService) ExtrasJobQueuesPartialUpdateExecute(r ApiExtrasJobQueuesPartialUpdateRequest) (*JobQueue, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPatch
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *JobQueue
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasJobQueuesPartialUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/extras/job-queues/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.patchedJobQueueRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiExtrasJobQueuesRetrieveRequest struct {
+ ctx context.Context
+ ApiService *ExtrasAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ depth *int32
+ excludeM2m *bool
+}
+
+func (r ApiExtrasJobQueuesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobQueuesRetrieveRequest {
+ r.format = &format
+ return r
+}
+
+// Serializer Depth
+func (r ApiExtrasJobQueuesRetrieveRequest) Depth(depth int32) ApiExtrasJobQueuesRetrieveRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiExtrasJobQueuesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasJobQueuesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiExtrasJobQueuesRetrieveRequest) Execute() (*JobQueue, *http.Response, error) {
+ return r.ApiService.ExtrasJobQueuesRetrieveExecute(r)
+}
+
+/*
+ExtrasJobQueuesRetrieve Method for ExtrasJobQueuesRetrieve
+
+Manage job queues through DELETE, GET, POST, PUT, and PATCH requests.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this job queue.
+ @return ApiExtrasJobQueuesRetrieveRequest
+*/
+func (a *ExtrasAPIService) ExtrasJobQueuesRetrieve(ctx context.Context, id string) ApiExtrasJobQueuesRetrieveRequest {
+ return ApiExtrasJobQueuesRetrieveRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return JobQueue
+func (a *ExtrasAPIService) ExtrasJobQueuesRetrieveExecute(r ApiExtrasJobQueuesRetrieveRequest) (*JobQueue, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *JobQueue
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasJobQueuesRetrieve")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/extras/job-queues/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiExtrasJobQueuesUpdateRequest struct {
+ ctx context.Context
+ ApiService *ExtrasAPIService
+ id string
+ jobQueueRequest *JobQueueRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiExtrasJobQueuesUpdateRequest) JobQueueRequest(jobQueueRequest JobQueueRequest) ApiExtrasJobQueuesUpdateRequest {
+ r.jobQueueRequest = &jobQueueRequest
+ return r
+}
+
+func (r ApiExtrasJobQueuesUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobQueuesUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiExtrasJobQueuesUpdateRequest) Execute() (*JobQueue, *http.Response, error) {
+ return r.ApiService.ExtrasJobQueuesUpdateExecute(r)
+}
+
+/*
+ExtrasJobQueuesUpdate Method for ExtrasJobQueuesUpdate
+
+Manage job queues through DELETE, GET, POST, PUT, and PATCH requests.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this job queue.
+ @return ApiExtrasJobQueuesUpdateRequest
+*/
+func (a *ExtrasAPIService) ExtrasJobQueuesUpdate(ctx context.Context, id string) ApiExtrasJobQueuesUpdateRequest {
+ return ApiExtrasJobQueuesUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return JobQueue
+func (a *ExtrasAPIService) ExtrasJobQueuesUpdateExecute(r ApiExtrasJobQueuesUpdateRequest) (*JobQueue, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPut
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *JobQueue
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasJobQueuesUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/extras/job-queues/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.jobQueueRequest == nil {
+ return localVarReturnValue, nil, reportError("jobQueueRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.jobQueueRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
type ApiExtrasJobResultsBulkDestroyRequest struct {
ctx context.Context
ApiService *ExtrasAPIService
@@ -49976,21 +49922,16 @@ type ApiExtrasJobResultsListRequest struct {
dateDoneLt *[]time.Time
dateDoneLte *[]time.Time
dateDoneN *[]time.Time
+ dateStarted *[]time.Time
+ dateStartedGt *[]time.Time
+ dateStartedGte *[]time.Time
+ dateStartedIsnull *bool
+ dateStartedLt *[]time.Time
+ dateStartedLte *[]time.Time
+ dateStartedN *[]time.Time
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
jobModel *[]string
jobModelIsnull *bool
jobModelN *[]string
@@ -50036,6 +49977,7 @@ type ApiExtrasJobResultsListRequest struct {
userIsnull *bool
userN *string
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasJobResultsListRequest) DateCreated(dateCreated []time.Time) ApiExtrasJobResultsListRequest {
@@ -50103,79 +50045,54 @@ func (r ApiExtrasJobResultsListRequest) DateDoneN(dateDoneN []time.Time) ApiExtr
return r
}
-func (r ApiExtrasJobResultsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobResultsListRequest {
- r.format = &format
- return r
-}
-
-// Unique object identifier, either a UUID primary key or a composite key.
-func (r ApiExtrasJobResultsListRequest) Id(id []string) ApiExtrasJobResultsListRequest {
- r.id = &id
- return r
-}
-
-func (r ApiExtrasJobResultsListRequest) IdIc(idIc []string) ApiExtrasJobResultsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasJobResultsListRequest) IdIe(idIe []string) ApiExtrasJobResultsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasJobResultsListRequest) IdIew(idIew []string) ApiExtrasJobResultsListRequest {
- r.idIew = &idIew
+func (r ApiExtrasJobResultsListRequest) DateStarted(dateStarted []time.Time) ApiExtrasJobResultsListRequest {
+ r.dateStarted = &dateStarted
return r
}
-func (r ApiExtrasJobResultsListRequest) IdIre(idIre []string) ApiExtrasJobResultsListRequest {
- r.idIre = &idIre
+func (r ApiExtrasJobResultsListRequest) DateStartedGt(dateStartedGt []time.Time) ApiExtrasJobResultsListRequest {
+ r.dateStartedGt = &dateStartedGt
return r
}
-func (r ApiExtrasJobResultsListRequest) IdIsw(idIsw []string) ApiExtrasJobResultsListRequest {
- r.idIsw = &idIsw
+func (r ApiExtrasJobResultsListRequest) DateStartedGte(dateStartedGte []time.Time) ApiExtrasJobResultsListRequest {
+ r.dateStartedGte = &dateStartedGte
return r
}
-func (r ApiExtrasJobResultsListRequest) IdN(idN []string) ApiExtrasJobResultsListRequest {
- r.idN = &idN
- return r
-}
-
-func (r ApiExtrasJobResultsListRequest) IdNic(idNic []string) ApiExtrasJobResultsListRequest {
- r.idNic = &idNic
+func (r ApiExtrasJobResultsListRequest) DateStartedIsnull(dateStartedIsnull bool) ApiExtrasJobResultsListRequest {
+ r.dateStartedIsnull = &dateStartedIsnull
return r
}
-func (r ApiExtrasJobResultsListRequest) IdNie(idNie []string) ApiExtrasJobResultsListRequest {
- r.idNie = &idNie
+func (r ApiExtrasJobResultsListRequest) DateStartedLt(dateStartedLt []time.Time) ApiExtrasJobResultsListRequest {
+ r.dateStartedLt = &dateStartedLt
return r
}
-func (r ApiExtrasJobResultsListRequest) IdNiew(idNiew []string) ApiExtrasJobResultsListRequest {
- r.idNiew = &idNiew
+func (r ApiExtrasJobResultsListRequest) DateStartedLte(dateStartedLte []time.Time) ApiExtrasJobResultsListRequest {
+ r.dateStartedLte = &dateStartedLte
return r
}
-func (r ApiExtrasJobResultsListRequest) IdNire(idNire []string) ApiExtrasJobResultsListRequest {
- r.idNire = &idNire
+func (r ApiExtrasJobResultsListRequest) DateStartedN(dateStartedN []time.Time) ApiExtrasJobResultsListRequest {
+ r.dateStartedN = &dateStartedN
return r
}
-func (r ApiExtrasJobResultsListRequest) IdNisw(idNisw []string) ApiExtrasJobResultsListRequest {
- r.idNisw = &idNisw
+func (r ApiExtrasJobResultsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobResultsListRequest {
+ r.format = &format
return r
}
-func (r ApiExtrasJobResultsListRequest) IdNre(idNre []string) ApiExtrasJobResultsListRequest {
- r.idNre = &idNre
+// Unique object identifier, either a UUID primary key or a composite key.
+func (r ApiExtrasJobResultsListRequest) Id(id []string) ApiExtrasJobResultsListRequest {
+ r.id = &id
return r
}
-func (r ApiExtrasJobResultsListRequest) IdRe(idRe []string) ApiExtrasJobResultsListRequest {
- r.idRe = &idRe
+func (r ApiExtrasJobResultsListRequest) IdN(idN []string) ApiExtrasJobResultsListRequest {
+ r.idN = &idN
return r
}
@@ -50329,79 +50246,66 @@ func (r ApiExtrasJobResultsListRequest) Status(status []string) ApiExtrasJobResu
return r
}
-// Current state of the Job being run
func (r ApiExtrasJobResultsListRequest) StatusIc(statusIc []string) ApiExtrasJobResultsListRequest {
r.statusIc = &statusIc
return r
}
-// Current state of the Job being run
func (r ApiExtrasJobResultsListRequest) StatusIe(statusIe []string) ApiExtrasJobResultsListRequest {
r.statusIe = &statusIe
return r
}
-// Current state of the Job being run
func (r ApiExtrasJobResultsListRequest) StatusIew(statusIew []string) ApiExtrasJobResultsListRequest {
r.statusIew = &statusIew
return r
}
-// Current state of the Job being run
func (r ApiExtrasJobResultsListRequest) StatusIre(statusIre []string) ApiExtrasJobResultsListRequest {
r.statusIre = &statusIre
return r
}
-// Current state of the Job being run
func (r ApiExtrasJobResultsListRequest) StatusIsw(statusIsw []string) ApiExtrasJobResultsListRequest {
r.statusIsw = &statusIsw
return r
}
-// Current state of the Job being run
func (r ApiExtrasJobResultsListRequest) StatusN(statusN []string) ApiExtrasJobResultsListRequest {
r.statusN = &statusN
return r
}
-// Current state of the Job being run
func (r ApiExtrasJobResultsListRequest) StatusNic(statusNic []string) ApiExtrasJobResultsListRequest {
r.statusNic = &statusNic
return r
}
-// Current state of the Job being run
func (r ApiExtrasJobResultsListRequest) StatusNie(statusNie []string) ApiExtrasJobResultsListRequest {
r.statusNie = &statusNie
return r
}
-// Current state of the Job being run
func (r ApiExtrasJobResultsListRequest) StatusNiew(statusNiew []string) ApiExtrasJobResultsListRequest {
r.statusNiew = &statusNiew
return r
}
-// Current state of the Job being run
func (r ApiExtrasJobResultsListRequest) StatusNire(statusNire []string) ApiExtrasJobResultsListRequest {
r.statusNire = &statusNire
return r
}
-// Current state of the Job being run
func (r ApiExtrasJobResultsListRequest) StatusNisw(statusNisw []string) ApiExtrasJobResultsListRequest {
r.statusNisw = &statusNisw
return r
}
-// Current state of the Job being run
func (r ApiExtrasJobResultsListRequest) StatusNre(statusNre []string) ApiExtrasJobResultsListRequest {
r.statusNre = &statusNre
return r
}
-// Current state of the Job being run
func (r ApiExtrasJobResultsListRequest) StatusRe(statusRe []string) ApiExtrasJobResultsListRequest {
r.statusRe = &statusRe
return r
@@ -50428,6 +50332,12 @@ func (r ApiExtrasJobResultsListRequest) Depth(depth int32) ApiExtrasJobResultsLi
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasJobResultsListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasJobResultsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasJobResultsListRequest) Execute() (*PaginatedJobResultList, *http.Response, error) {
return r.ApiService.ExtrasJobResultsListExecute(r)
}
@@ -50603,161 +50513,98 @@ func (a *ExtrasAPIService) ExtrasJobResultsListExecute(r ApiExtrasJobResultsList
parameterAddToHeaderOrQuery(localVarQueryParams, "date_done__n", t, "form", "multi")
}
}
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.id != nil {
- t := *r.id
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
- }
- }
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
+ if r.dateStarted != nil {
+ t := *r.dateStarted
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "date_started", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "date_started", t, "form", "multi")
}
}
- if r.idIre != nil {
- t := *r.idIre
+ if r.dateStartedGt != nil {
+ t := *r.dateStartedGt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "date_started__gt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "date_started__gt", t, "form", "multi")
}
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.dateStartedGte != nil {
+ t := *r.dateStartedGte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "date_started__gte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "date_started__gte", t, "form", "multi")
}
}
- if r.idN != nil {
- t := *r.idN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
- }
- }
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
+ if r.dateStartedIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "date_started__isnull", r.dateStartedIsnull, "form", "")
}
- if r.idNie != nil {
- t := *r.idNie
+ if r.dateStartedLt != nil {
+ t := *r.dateStartedLt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "date_started__lt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "date_started__lt", t, "form", "multi")
}
}
- if r.idNiew != nil {
- t := *r.idNiew
+ if r.dateStartedLte != nil {
+ t := *r.dateStartedLte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "date_started__lte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "date_started__lte", t, "form", "multi")
}
}
- if r.idNire != nil {
- t := *r.idNire
+ if r.dateStartedN != nil {
+ t := *r.dateStartedN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "date_started__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "date_started__n", t, "form", "multi")
}
}
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idNre != nil {
- t := *r.idNre
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idRe != nil {
- t := *r.idRe
+ if r.idN != nil {
+ t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
if r.jobModel != nil {
@@ -51167,8 +51014,16 @@ func (a *ExtrasAPIService) ExtrasJobResultsListExecute(r ApiExtrasJobResultsList
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -51244,6 +51099,7 @@ type ApiExtrasJobResultsLogsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasJobResultsLogsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobResultsLogsRetrieveRequest {
@@ -51257,6 +51113,12 @@ func (r ApiExtrasJobResultsLogsRetrieveRequest) Depth(depth int32) ApiExtrasJobR
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasJobResultsLogsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasJobResultsLogsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasJobResultsLogsRetrieveRequest) Execute() (*JobResult, *http.Response, error) {
return r.ApiService.ExtrasJobResultsLogsRetrieveExecute(r)
}
@@ -51306,8 +51168,16 @@ func (a *ExtrasAPIService) ExtrasJobResultsLogsRetrieveExecute(r ApiExtrasJobRes
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -51383,6 +51253,7 @@ type ApiExtrasJobResultsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasJobResultsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobResultsRetrieveRequest {
@@ -51396,6 +51267,12 @@ func (r ApiExtrasJobResultsRetrieveRequest) Depth(depth int32) ApiExtrasJobResul
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasJobResultsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasJobResultsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasJobResultsRetrieveRequest) Execute() (*JobResult, *http.Response, error) {
return r.ApiService.ExtrasJobResultsRetrieveExecute(r)
}
@@ -51445,8 +51322,16 @@ func (a *ExtrasAPIService) ExtrasJobResultsRetrieveExecute(r ApiExtrasJobResults
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -52141,12 +52026,12 @@ type ApiExtrasJobsListRequest struct {
approvalRequiredOverride *bool
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
descriptionOverride *bool
dryrunDefault *bool
dryrunDefaultOverride *bool
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
enabled *bool
format *CircuitsCircuitTerminationsListFormatParameter
grouping *[]string
@@ -52169,22 +52054,12 @@ type ApiExtrasJobsListRequest struct {
hidden *bool
hiddenOverride *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
installed *bool
isJobButtonReceiver *bool
isJobHookReceiver *bool
+ isSingleton *bool
+ isSingletonOverride *bool
jobClassName *[]string
jobClassNameIc *[]string
jobClassNameIe *[]string
@@ -52199,6 +52074,8 @@ type ApiExtrasJobsListRequest struct {
jobClassNameNisw *[]string
jobClassNameNre *[]string
jobClassNameRe *[]string
+ jobQueues *[]string
+ jobQueuesN *[]string
limit *int32
moduleName *[]string
moduleNameIc *[]string
@@ -52245,7 +52122,7 @@ type ApiExtrasJobsListRequest struct {
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
timeLimit *[]float32
timeLimitGt *[]float32
timeLimitGte *[]float32
@@ -52254,6 +52131,7 @@ type ApiExtrasJobsListRequest struct {
timeLimitN *[]float32
timeLimitOverride *bool
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasJobsListRequest) ApprovalRequired(approvalRequired bool) ApiExtrasJobsListRequest {
@@ -52277,8 +52155,7 @@ func (r ApiExtrasJobsListRequest) ContactsIsnull(contactsIsnull bool) ApiExtrasJ
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiExtrasJobsListRequest) ContactsN(contactsN string) ApiExtrasJobsListRequest {
+func (r ApiExtrasJobsListRequest) ContactsN(contactsN []string) ApiExtrasJobsListRequest {
r.contactsN = &contactsN
return r
}
@@ -52303,8 +52180,7 @@ func (r ApiExtrasJobsListRequest) DynamicGroups(dynamicGroups []string) ApiExtra
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiExtrasJobsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiExtrasJobsListRequest {
+func (r ApiExtrasJobsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiExtrasJobsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -52420,71 +52296,11 @@ func (r ApiExtrasJobsListRequest) Id(id []string) ApiExtrasJobsListRequest {
return r
}
-func (r ApiExtrasJobsListRequest) IdIc(idIc []string) ApiExtrasJobsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasJobsListRequest) IdIe(idIe []string) ApiExtrasJobsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasJobsListRequest) IdIew(idIew []string) ApiExtrasJobsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasJobsListRequest) IdIre(idIre []string) ApiExtrasJobsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasJobsListRequest) IdIsw(idIsw []string) ApiExtrasJobsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasJobsListRequest) IdN(idN []string) ApiExtrasJobsListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasJobsListRequest) IdNic(idNic []string) ApiExtrasJobsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasJobsListRequest) IdNie(idNie []string) ApiExtrasJobsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasJobsListRequest) IdNiew(idNiew []string) ApiExtrasJobsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasJobsListRequest) IdNire(idNire []string) ApiExtrasJobsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasJobsListRequest) IdNisw(idNisw []string) ApiExtrasJobsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasJobsListRequest) IdNre(idNre []string) ApiExtrasJobsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasJobsListRequest) IdRe(idRe []string) ApiExtrasJobsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiExtrasJobsListRequest) Installed(installed bool) ApiExtrasJobsListRequest {
r.installed = &installed
return r
@@ -52500,6 +52316,16 @@ func (r ApiExtrasJobsListRequest) IsJobHookReceiver(isJobHookReceiver bool) ApiE
return r
}
+func (r ApiExtrasJobsListRequest) IsSingleton(isSingleton bool) ApiExtrasJobsListRequest {
+ r.isSingleton = &isSingleton
+ return r
+}
+
+func (r ApiExtrasJobsListRequest) IsSingletonOverride(isSingletonOverride bool) ApiExtrasJobsListRequest {
+ r.isSingletonOverride = &isSingletonOverride
+ return r
+}
+
func (r ApiExtrasJobsListRequest) JobClassName(jobClassName []string) ApiExtrasJobsListRequest {
r.jobClassName = &jobClassName
return r
@@ -52570,6 +52396,16 @@ func (r ApiExtrasJobsListRequest) JobClassNameRe(jobClassNameRe []string) ApiExt
return r
}
+func (r ApiExtrasJobsListRequest) JobQueues(jobQueues []string) ApiExtrasJobsListRequest {
+ r.jobQueues = &jobQueues
+ return r
+}
+
+func (r ApiExtrasJobsListRequest) JobQueuesN(jobQueuesN []string) ApiExtrasJobsListRequest {
+ r.jobQueuesN = &jobQueuesN
+ return r
+}
+
// Number of results to return per page.
func (r ApiExtrasJobsListRequest) Limit(limit int32) ApiExtrasJobsListRequest {
r.limit = &limit
@@ -52805,8 +52641,7 @@ func (r ApiExtrasJobsListRequest) TeamsIsnull(teamsIsnull bool) ApiExtrasJobsLis
return r
}
-// Exclude Teams (name or ID)
-func (r ApiExtrasJobsListRequest) TeamsN(teamsN string) ApiExtrasJobsListRequest {
+func (r ApiExtrasJobsListRequest) TeamsN(teamsN []string) ApiExtrasJobsListRequest {
r.teamsN = &teamsN
return r
}
@@ -52852,6 +52687,12 @@ func (r ApiExtrasJobsListRequest) Depth(depth int32) ApiExtrasJobsListRequest {
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasJobsListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasJobsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasJobsListRequest) Execute() (*PaginatedJobList, *http.Response, error) {
return r.ApiService.ExtrasJobsListExecute(r)
}
@@ -52913,7 +52754,15 @@ func (a *ExtrasAPIService) ExtrasJobsListExecute(r ApiExtrasJobsListRequest) (*P
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.descriptionOverride != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "description_override", r.descriptionOverride, "form", "")
@@ -52936,7 +52785,15 @@ func (a *ExtrasAPIService) ExtrasJobsListExecute(r ApiExtrasJobsListRequest) (*P
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.enabled != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "enabled", r.enabled, "form", "")
@@ -53124,61 +52981,6 @@ func (a *ExtrasAPIService) ExtrasJobsListExecute(r ApiExtrasJobsListRequest) (*P
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -53190,83 +52992,6 @@ func (a *ExtrasAPIService) ExtrasJobsListExecute(r ApiExtrasJobsListRequest) (*P
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.installed != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "installed", r.installed, "form", "")
}
@@ -53276,6 +53001,12 @@ func (a *ExtrasAPIService) ExtrasJobsListExecute(r ApiExtrasJobsListRequest) (*P
if r.isJobHookReceiver != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "is_job_hook_receiver", r.isJobHookReceiver, "form", "")
}
+ if r.isSingleton != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "is_singleton", r.isSingleton, "form", "")
+ }
+ if r.isSingletonOverride != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "is_singleton_override", r.isSingletonOverride, "form", "")
+ }
if r.jobClassName != nil {
t := *r.jobClassName
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -53430,6 +53161,28 @@ func (a *ExtrasAPIService) ExtrasJobsListExecute(r ApiExtrasJobsListRequest) (*P
parameterAddToHeaderOrQuery(localVarQueryParams, "job_class_name__re", t, "form", "multi")
}
}
+ if r.jobQueues != nil {
+ t := *r.jobQueues
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "job_queues", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "job_queues", t, "form", "multi")
+ }
+ }
+ if r.jobQueuesN != nil {
+ t := *r.jobQueuesN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "job_queues__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "job_queues__n", t, "form", "multi")
+ }
+ }
if r.limit != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
@@ -53865,7 +53618,15 @@ func (a *ExtrasAPIService) ExtrasJobsListExecute(r ApiExtrasJobsListRequest) (*P
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.timeLimit != nil {
t := *r.timeLimit
@@ -53939,8 +53700,16 @@ func (a *ExtrasAPIService) ExtrasJobsListExecute(r ApiExtrasJobsListRequest) (*P
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -54292,6 +54061,7 @@ type ApiExtrasJobsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasJobsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobsNotesListRequest {
@@ -54317,6 +54087,12 @@ func (r ApiExtrasJobsNotesListRequest) Depth(depth int32) ApiExtrasJobsNotesList
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasJobsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasJobsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasJobsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.ExtrasJobsNotesListExecute(r)
}
@@ -54372,8 +54148,16 @@ func (a *ExtrasAPIService) ExtrasJobsNotesListExecute(r ApiExtrasJobsNotesListRe
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -54451,6 +54235,7 @@ type ApiExtrasJobsNotesListByNameRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasJobsNotesListByNameRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobsNotesListByNameRequest {
@@ -54476,6 +54261,12 @@ func (r ApiExtrasJobsNotesListByNameRequest) Depth(depth int32) ApiExtrasJobsNot
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasJobsNotesListByNameRequest) ExcludeM2m(excludeM2m bool) ApiExtrasJobsNotesListByNameRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasJobsNotesListByNameRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.ExtrasJobsNotesListByNameExecute(r)
}
@@ -54531,8 +54322,16 @@ func (a *ExtrasAPIService) ExtrasJobsNotesListByNameExecute(r ApiExtrasJobsNotes
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -54876,6 +54675,7 @@ type ApiExtrasJobsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasJobsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobsRetrieveRequest {
@@ -54889,6 +54689,12 @@ func (r ApiExtrasJobsRetrieveRequest) Depth(depth int32) ApiExtrasJobsRetrieveRe
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasJobsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasJobsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasJobsRetrieveRequest) Execute() (*Job, *http.Response, error) {
return r.ApiService.ExtrasJobsRetrieveExecute(r)
}
@@ -54938,8 +54744,16 @@ func (a *ExtrasAPIService) ExtrasJobsRetrieveExecute(r ApiExtrasJobsRetrieveRequ
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -55015,6 +54829,7 @@ type ApiExtrasJobsRetrieveByNameRequest struct {
name string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasJobsRetrieveByNameRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobsRetrieveByNameRequest {
@@ -55028,6 +54843,12 @@ func (r ApiExtrasJobsRetrieveByNameRequest) Depth(depth int32) ApiExtrasJobsRetr
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasJobsRetrieveByNameRequest) ExcludeM2m(excludeM2m bool) ApiExtrasJobsRetrieveByNameRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasJobsRetrieveByNameRequest) Execute() (*Job, *http.Response, error) {
return r.ApiService.ExtrasJobsRetrieveByNameExecute(r)
}
@@ -55077,8 +54898,16 @@ func (a *ExtrasAPIService) ExtrasJobsRetrieveByNameExecute(r ApiExtrasJobsRetrie
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -55699,6 +55528,7 @@ type ApiExtrasJobsVariablesListRequest struct {
offset *int32
sort *string
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasJobsVariablesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobsVariablesListRequest {
@@ -55730,6 +55560,12 @@ func (r ApiExtrasJobsVariablesListRequest) Depth(depth int32) ApiExtrasJobsVaria
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasJobsVariablesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasJobsVariablesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasJobsVariablesListRequest) Execute() (*PaginatedJobVariableList, *http.Response, error) {
return r.ApiService.ExtrasJobsVariablesListExecute(r)
}
@@ -55788,8 +55624,16 @@ func (a *ExtrasAPIService) ExtrasJobsVariablesListExecute(r ApiExtrasJobsVariabl
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -55868,6 +55712,7 @@ type ApiExtrasJobsVariablesListByNameRequest struct {
offset *int32
sort *string
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasJobsVariablesListByNameRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasJobsVariablesListByNameRequest {
@@ -55899,6 +55744,12 @@ func (r ApiExtrasJobsVariablesListByNameRequest) Depth(depth int32) ApiExtrasJob
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasJobsVariablesListByNameRequest) ExcludeM2m(excludeM2m bool) ApiExtrasJobsVariablesListByNameRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasJobsVariablesListByNameRequest) Execute() (*PaginatedJobVariableList, *http.Response, error) {
return r.ApiService.ExtrasJobsVariablesListByNameExecute(r)
}
@@ -55957,8 +55808,16 @@ func (a *ExtrasAPIService) ExtrasJobsVariablesListByNameExecute(r ApiExtrasJobsV
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -56676,19 +56535,7 @@ type ApiExtrasMetadataChoicesListRequest struct {
createdN *[]time.Time
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -56723,6 +56570,7 @@ type ApiExtrasMetadataChoicesListRequest struct {
weightLte *[]int32
weightN *[]int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasMetadataChoicesListRequest) Created(created []time.Time) ApiExtrasMetadataChoicesListRequest {
@@ -56771,71 +56619,11 @@ func (r ApiExtrasMetadataChoicesListRequest) Id(id []string) ApiExtrasMetadataCh
return r
}
-func (r ApiExtrasMetadataChoicesListRequest) IdIc(idIc []string) ApiExtrasMetadataChoicesListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasMetadataChoicesListRequest) IdIe(idIe []string) ApiExtrasMetadataChoicesListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasMetadataChoicesListRequest) IdIew(idIew []string) ApiExtrasMetadataChoicesListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasMetadataChoicesListRequest) IdIre(idIre []string) ApiExtrasMetadataChoicesListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasMetadataChoicesListRequest) IdIsw(idIsw []string) ApiExtrasMetadataChoicesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasMetadataChoicesListRequest) IdN(idN []string) ApiExtrasMetadataChoicesListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasMetadataChoicesListRequest) IdNic(idNic []string) ApiExtrasMetadataChoicesListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasMetadataChoicesListRequest) IdNie(idNie []string) ApiExtrasMetadataChoicesListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasMetadataChoicesListRequest) IdNiew(idNiew []string) ApiExtrasMetadataChoicesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasMetadataChoicesListRequest) IdNire(idNire []string) ApiExtrasMetadataChoicesListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasMetadataChoicesListRequest) IdNisw(idNisw []string) ApiExtrasMetadataChoicesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasMetadataChoicesListRequest) IdNre(idNre []string) ApiExtrasMetadataChoicesListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasMetadataChoicesListRequest) IdRe(idRe []string) ApiExtrasMetadataChoicesListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiExtrasMetadataChoicesListRequest) LastUpdated(lastUpdated []time.Time) ApiExtrasMetadataChoicesListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -57011,6 +56799,12 @@ func (r ApiExtrasMetadataChoicesListRequest) Depth(depth int32) ApiExtrasMetadat
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasMetadataChoicesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasMetadataChoicesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasMetadataChoicesListRequest) Execute() (*PaginatedMetadataChoiceList, *http.Response, error) {
return r.ApiService.ExtrasMetadataChoicesListExecute(r)
}
@@ -57134,61 +56928,6 @@ func (a *ExtrasAPIService) ExtrasMetadataChoicesListExecute(r ApiExtrasMetadataC
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -57200,83 +56939,6 @@ func (a *ExtrasAPIService) ExtrasMetadataChoicesListExecute(r ApiExtrasMetadataC
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -57603,8 +57265,16 @@ func (a *ExtrasAPIService) ExtrasMetadataChoicesListExecute(r ApiExtrasMetadataC
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -57814,6 +57484,7 @@ type ApiExtrasMetadataChoicesRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasMetadataChoicesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasMetadataChoicesRetrieveRequest {
@@ -57827,6 +57498,12 @@ func (r ApiExtrasMetadataChoicesRetrieveRequest) Depth(depth int32) ApiExtrasMet
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasMetadataChoicesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasMetadataChoicesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasMetadataChoicesRetrieveRequest) Execute() (*MetadataChoice, *http.Response, error) {
return r.ApiService.ExtrasMetadataChoicesRetrieveExecute(r)
}
@@ -57876,8 +57553,16 @@ func (a *ExtrasAPIService) ExtrasMetadataChoicesRetrieveExecute(r ApiExtrasMetad
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -58725,21 +58410,9 @@ type ApiExtrasMetadataTypesListRequest struct {
ApiService *ExtrasAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
contentTypes *[]int32
- contentTypesIc *[]int32
- contentTypesIe *[]int32
- contentTypesIew *[]int32
- contentTypesIre *[]int32
- contentTypesIsw *[]int32
contentTypesN *[]int32
- contentTypesNic *[]int32
- contentTypesNie *[]int32
- contentTypesNiew *[]int32
- contentTypesNire *[]int32
- contentTypesNisw *[]int32
- contentTypesNre *[]int32
- contentTypesRe *[]int32
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -58776,22 +58449,10 @@ type ApiExtrasMetadataTypesListRequest struct {
descriptionNre *[]string
descriptionRe *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -58822,8 +58483,9 @@ type ApiExtrasMetadataTypesListRequest struct {
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasMetadataTypesListRequest) Contacts(contacts []string) ApiExtrasMetadataTypesListRequest {
@@ -58837,8 +58499,7 @@ func (r ApiExtrasMetadataTypesListRequest) ContactsIsnull(contactsIsnull bool) A
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiExtrasMetadataTypesListRequest) ContactsN(contactsN string) ApiExtrasMetadataTypesListRequest {
+func (r ApiExtrasMetadataTypesListRequest) ContactsN(contactsN []string) ApiExtrasMetadataTypesListRequest {
r.contactsN = &contactsN
return r
}
@@ -58848,71 +58509,11 @@ func (r ApiExtrasMetadataTypesListRequest) ContentTypes(contentTypes []int32) Ap
return r
}
-func (r ApiExtrasMetadataTypesListRequest) ContentTypesIc(contentTypesIc []int32) ApiExtrasMetadataTypesListRequest {
- r.contentTypesIc = &contentTypesIc
- return r
-}
-
-func (r ApiExtrasMetadataTypesListRequest) ContentTypesIe(contentTypesIe []int32) ApiExtrasMetadataTypesListRequest {
- r.contentTypesIe = &contentTypesIe
- return r
-}
-
-func (r ApiExtrasMetadataTypesListRequest) ContentTypesIew(contentTypesIew []int32) ApiExtrasMetadataTypesListRequest {
- r.contentTypesIew = &contentTypesIew
- return r
-}
-
-func (r ApiExtrasMetadataTypesListRequest) ContentTypesIre(contentTypesIre []int32) ApiExtrasMetadataTypesListRequest {
- r.contentTypesIre = &contentTypesIre
- return r
-}
-
-func (r ApiExtrasMetadataTypesListRequest) ContentTypesIsw(contentTypesIsw []int32) ApiExtrasMetadataTypesListRequest {
- r.contentTypesIsw = &contentTypesIsw
- return r
-}
-
func (r ApiExtrasMetadataTypesListRequest) ContentTypesN(contentTypesN []int32) ApiExtrasMetadataTypesListRequest {
r.contentTypesN = &contentTypesN
return r
}
-func (r ApiExtrasMetadataTypesListRequest) ContentTypesNic(contentTypesNic []int32) ApiExtrasMetadataTypesListRequest {
- r.contentTypesNic = &contentTypesNic
- return r
-}
-
-func (r ApiExtrasMetadataTypesListRequest) ContentTypesNie(contentTypesNie []int32) ApiExtrasMetadataTypesListRequest {
- r.contentTypesNie = &contentTypesNie
- return r
-}
-
-func (r ApiExtrasMetadataTypesListRequest) ContentTypesNiew(contentTypesNiew []int32) ApiExtrasMetadataTypesListRequest {
- r.contentTypesNiew = &contentTypesNiew
- return r
-}
-
-func (r ApiExtrasMetadataTypesListRequest) ContentTypesNire(contentTypesNire []int32) ApiExtrasMetadataTypesListRequest {
- r.contentTypesNire = &contentTypesNire
- return r
-}
-
-func (r ApiExtrasMetadataTypesListRequest) ContentTypesNisw(contentTypesNisw []int32) ApiExtrasMetadataTypesListRequest {
- r.contentTypesNisw = &contentTypesNisw
- return r
-}
-
-func (r ApiExtrasMetadataTypesListRequest) ContentTypesNre(contentTypesNre []int32) ApiExtrasMetadataTypesListRequest {
- r.contentTypesNre = &contentTypesNre
- return r
-}
-
-func (r ApiExtrasMetadataTypesListRequest) ContentTypesRe(contentTypesRe []int32) ApiExtrasMetadataTypesListRequest {
- r.contentTypesRe = &contentTypesRe
- return r
-}
-
func (r ApiExtrasMetadataTypesListRequest) Created(created []time.Time) ApiExtrasMetadataTypesListRequest {
r.created = &created
return r
@@ -58979,7 +58580,6 @@ func (r ApiExtrasMetadataTypesListRequest) DataTypeIsw(dataTypeIsw []string) Api
return r
}
-// The type of data allowed for any Metadata of this type.
func (r ApiExtrasMetadataTypesListRequest) DataTypeN(dataTypeN []string) ApiExtrasMetadataTypesListRequest {
r.dataTypeN = &dataTypeN
return r
@@ -59095,8 +58695,7 @@ func (r ApiExtrasMetadataTypesListRequest) DynamicGroups(dynamicGroups []string)
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiExtrasMetadataTypesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiExtrasMetadataTypesListRequest {
+func (r ApiExtrasMetadataTypesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiExtrasMetadataTypesListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -59112,71 +58711,11 @@ func (r ApiExtrasMetadataTypesListRequest) Id(id []string) ApiExtrasMetadataType
return r
}
-func (r ApiExtrasMetadataTypesListRequest) IdIc(idIc []string) ApiExtrasMetadataTypesListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasMetadataTypesListRequest) IdIe(idIe []string) ApiExtrasMetadataTypesListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasMetadataTypesListRequest) IdIew(idIew []string) ApiExtrasMetadataTypesListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasMetadataTypesListRequest) IdIre(idIre []string) ApiExtrasMetadataTypesListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasMetadataTypesListRequest) IdIsw(idIsw []string) ApiExtrasMetadataTypesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasMetadataTypesListRequest) IdN(idN []string) ApiExtrasMetadataTypesListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasMetadataTypesListRequest) IdNic(idNic []string) ApiExtrasMetadataTypesListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasMetadataTypesListRequest) IdNie(idNie []string) ApiExtrasMetadataTypesListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasMetadataTypesListRequest) IdNiew(idNiew []string) ApiExtrasMetadataTypesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasMetadataTypesListRequest) IdNire(idNire []string) ApiExtrasMetadataTypesListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasMetadataTypesListRequest) IdNisw(idNisw []string) ApiExtrasMetadataTypesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasMetadataTypesListRequest) IdNre(idNre []string) ApiExtrasMetadataTypesListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasMetadataTypesListRequest) IdRe(idRe []string) ApiExtrasMetadataTypesListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiExtrasMetadataTypesListRequest) LastUpdated(lastUpdated []time.Time) ApiExtrasMetadataTypesListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -59332,8 +58871,7 @@ func (r ApiExtrasMetadataTypesListRequest) TeamsIsnull(teamsIsnull bool) ApiExtr
return r
}
-// Exclude Teams (name or ID)
-func (r ApiExtrasMetadataTypesListRequest) TeamsN(teamsN string) ApiExtrasMetadataTypesListRequest {
+func (r ApiExtrasMetadataTypesListRequest) TeamsN(teamsN []string) ApiExtrasMetadataTypesListRequest {
r.teamsN = &teamsN
return r
}
@@ -59344,6 +58882,12 @@ func (r ApiExtrasMetadataTypesListRequest) Depth(depth int32) ApiExtrasMetadataT
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasMetadataTypesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasMetadataTypesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasMetadataTypesListRequest) Execute() (*PaginatedMetadataTypeList, *http.Response, error) {
return r.ApiService.ExtrasMetadataTypesListExecute(r)
}
@@ -59399,72 +58943,25 @@ func (a *ExtrasAPIService) ExtrasMetadataTypesListExecute(r ApiExtrasMetadataTyp
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
- }
- if r.contentTypes != nil {
- t := *r.contentTypes
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", t, "form", "multi")
- }
- }
- if r.contentTypesIc != nil {
- t := *r.contentTypesIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ic", t, "form", "multi")
- }
- }
- if r.contentTypesIe != nil {
- t := *r.contentTypesIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ie", t, "form", "multi")
- }
- }
- if r.contentTypesIew != nil {
- t := *r.contentTypesIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__iew", t, "form", "multi")
- }
- }
- if r.contentTypesIre != nil {
- t := *r.contentTypesIre
+ t := *r.contactsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
}
}
- if r.contentTypesIsw != nil {
- t := *r.contentTypesIsw
+ if r.contentTypes != nil {
+ t := *r.contentTypes
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", t, "form", "multi")
}
}
if r.contentTypesN != nil {
@@ -59478,83 +58975,6 @@ func (a *ExtrasAPIService) ExtrasMetadataTypesListExecute(r ApiExtrasMetadataTyp
parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__n", t, "form", "multi")
}
}
- if r.contentTypesNic != nil {
- t := *r.contentTypesNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nic", t, "form", "multi")
- }
- }
- if r.contentTypesNie != nil {
- t := *r.contentTypesNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nie", t, "form", "multi")
- }
- }
- if r.contentTypesNiew != nil {
- t := *r.contentTypesNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__niew", t, "form", "multi")
- }
- }
- if r.contentTypesNire != nil {
- t := *r.contentTypesNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nire", t, "form", "multi")
- }
- }
- if r.contentTypesNisw != nil {
- t := *r.contentTypesNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nisw", t, "form", "multi")
- }
- }
- if r.contentTypesNre != nil {
- t := *r.contentTypesNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nre", t, "form", "multi")
- }
- }
- if r.contentTypesRe != nil {
- t := *r.contentTypesRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__re", t, "form", "multi")
- }
- }
if r.created != nil {
t := *r.created
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -59944,75 +59364,28 @@ func (a *ExtrasAPIService) ExtrasMetadataTypesListExecute(r ApiExtrasMetadataTyp
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.id != nil {
- t := *r.id
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
if r.idN != nil {
@@ -60026,83 +59399,6 @@ func (a *ExtrasAPIService) ExtrasMetadataTypesListExecute(r ApiExtrasMetadataTyp
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -60378,13 +59674,29 @@ func (a *ExtrasAPIService) ExtrasMetadataTypesListExecute(r ApiExtrasMetadataTyp
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -60599,6 +59911,7 @@ type ApiExtrasMetadataTypesNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasMetadataTypesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasMetadataTypesNotesListRequest {
@@ -60624,6 +59937,12 @@ func (r ApiExtrasMetadataTypesNotesListRequest) Depth(depth int32) ApiExtrasMeta
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasMetadataTypesNotesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasMetadataTypesNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasMetadataTypesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.ExtrasMetadataTypesNotesListExecute(r)
}
@@ -60679,8 +59998,16 @@ func (a *ExtrasAPIService) ExtrasMetadataTypesNotesListExecute(r ApiExtrasMetada
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -60890,6 +60217,7 @@ type ApiExtrasMetadataTypesRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasMetadataTypesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasMetadataTypesRetrieveRequest {
@@ -60903,6 +60231,12 @@ func (r ApiExtrasMetadataTypesRetrieveRequest) Depth(depth int32) ApiExtrasMetad
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasMetadataTypesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasMetadataTypesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasMetadataTypesRetrieveRequest) Execute() (*MetadataType, *http.Response, error) {
return r.ApiService.ExtrasMetadataTypesRetrieveExecute(r)
}
@@ -60952,8 +60286,16 @@ func (a *ExtrasAPIService) ExtrasMetadataTypesRetrieveExecute(r ApiExtrasMetadat
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -61800,38 +61142,14 @@ type ApiExtrasNotesListRequest struct {
ctx context.Context
ApiService *ExtrasAPIService
assignedObjectId *[]string
- assignedObjectIdIc *[]string
- assignedObjectIdIe *[]string
- assignedObjectIdIew *[]string
- assignedObjectIdIre *[]string
- assignedObjectIdIsw *[]string
assignedObjectIdN *[]string
- assignedObjectIdNic *[]string
- assignedObjectIdNie *[]string
- assignedObjectIdNiew *[]string
- assignedObjectIdNire *[]string
- assignedObjectIdNisw *[]string
- assignedObjectIdNre *[]string
- assignedObjectIdRe *[]string
assignedObjectType *string
assignedObjectTypeN *string
assignedObjectTypeId *int32
assignedObjectTypeIdN *int32
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
limit *int32
note *[]string
noteIc *[]string
@@ -61868,6 +61186,7 @@ type ApiExtrasNotesListRequest struct {
userNameNre *[]string
userNameRe *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasNotesListRequest) AssignedObjectId(assignedObjectId []string) ApiExtrasNotesListRequest {
@@ -61875,71 +61194,11 @@ func (r ApiExtrasNotesListRequest) AssignedObjectId(assignedObjectId []string) A
return r
}
-func (r ApiExtrasNotesListRequest) AssignedObjectIdIc(assignedObjectIdIc []string) ApiExtrasNotesListRequest {
- r.assignedObjectIdIc = &assignedObjectIdIc
- return r
-}
-
-func (r ApiExtrasNotesListRequest) AssignedObjectIdIe(assignedObjectIdIe []string) ApiExtrasNotesListRequest {
- r.assignedObjectIdIe = &assignedObjectIdIe
- return r
-}
-
-func (r ApiExtrasNotesListRequest) AssignedObjectIdIew(assignedObjectIdIew []string) ApiExtrasNotesListRequest {
- r.assignedObjectIdIew = &assignedObjectIdIew
- return r
-}
-
-func (r ApiExtrasNotesListRequest) AssignedObjectIdIre(assignedObjectIdIre []string) ApiExtrasNotesListRequest {
- r.assignedObjectIdIre = &assignedObjectIdIre
- return r
-}
-
-func (r ApiExtrasNotesListRequest) AssignedObjectIdIsw(assignedObjectIdIsw []string) ApiExtrasNotesListRequest {
- r.assignedObjectIdIsw = &assignedObjectIdIsw
- return r
-}
-
func (r ApiExtrasNotesListRequest) AssignedObjectIdN(assignedObjectIdN []string) ApiExtrasNotesListRequest {
r.assignedObjectIdN = &assignedObjectIdN
return r
}
-func (r ApiExtrasNotesListRequest) AssignedObjectIdNic(assignedObjectIdNic []string) ApiExtrasNotesListRequest {
- r.assignedObjectIdNic = &assignedObjectIdNic
- return r
-}
-
-func (r ApiExtrasNotesListRequest) AssignedObjectIdNie(assignedObjectIdNie []string) ApiExtrasNotesListRequest {
- r.assignedObjectIdNie = &assignedObjectIdNie
- return r
-}
-
-func (r ApiExtrasNotesListRequest) AssignedObjectIdNiew(assignedObjectIdNiew []string) ApiExtrasNotesListRequest {
- r.assignedObjectIdNiew = &assignedObjectIdNiew
- return r
-}
-
-func (r ApiExtrasNotesListRequest) AssignedObjectIdNire(assignedObjectIdNire []string) ApiExtrasNotesListRequest {
- r.assignedObjectIdNire = &assignedObjectIdNire
- return r
-}
-
-func (r ApiExtrasNotesListRequest) AssignedObjectIdNisw(assignedObjectIdNisw []string) ApiExtrasNotesListRequest {
- r.assignedObjectIdNisw = &assignedObjectIdNisw
- return r
-}
-
-func (r ApiExtrasNotesListRequest) AssignedObjectIdNre(assignedObjectIdNre []string) ApiExtrasNotesListRequest {
- r.assignedObjectIdNre = &assignedObjectIdNre
- return r
-}
-
-func (r ApiExtrasNotesListRequest) AssignedObjectIdRe(assignedObjectIdRe []string) ApiExtrasNotesListRequest {
- r.assignedObjectIdRe = &assignedObjectIdRe
- return r
-}
-
func (r ApiExtrasNotesListRequest) AssignedObjectType(assignedObjectType string) ApiExtrasNotesListRequest {
r.assignedObjectType = &assignedObjectType
return r
@@ -61971,71 +61230,11 @@ func (r ApiExtrasNotesListRequest) Id(id []string) ApiExtrasNotesListRequest {
return r
}
-func (r ApiExtrasNotesListRequest) IdIc(idIc []string) ApiExtrasNotesListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasNotesListRequest) IdIe(idIe []string) ApiExtrasNotesListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasNotesListRequest) IdIew(idIew []string) ApiExtrasNotesListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasNotesListRequest) IdIre(idIre []string) ApiExtrasNotesListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasNotesListRequest) IdIsw(idIsw []string) ApiExtrasNotesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasNotesListRequest) IdN(idN []string) ApiExtrasNotesListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasNotesListRequest) IdNic(idNic []string) ApiExtrasNotesListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasNotesListRequest) IdNie(idNie []string) ApiExtrasNotesListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasNotesListRequest) IdNiew(idNiew []string) ApiExtrasNotesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasNotesListRequest) IdNire(idNire []string) ApiExtrasNotesListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasNotesListRequest) IdNisw(idNisw []string) ApiExtrasNotesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasNotesListRequest) IdNre(idNre []string) ApiExtrasNotesListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasNotesListRequest) IdRe(idRe []string) ApiExtrasNotesListRequest {
- r.idRe = &idRe
- return r
-}
-
// Number of results to return per page.
func (r ApiExtrasNotesListRequest) Limit(limit int32) ApiExtrasNotesListRequest {
r.limit = &limit
@@ -62222,6 +61421,12 @@ func (r ApiExtrasNotesListRequest) Depth(depth int32) ApiExtrasNotesListRequest
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasNotesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.ExtrasNotesListExecute(r)
}
@@ -62273,61 +61478,6 @@ func (a *ExtrasAPIService) ExtrasNotesListExecute(r ApiExtrasNotesListRequest) (
parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id", t, "form", "multi")
}
}
- if r.assignedObjectIdIc != nil {
- t := *r.assignedObjectIdIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__ic", t, "form", "multi")
- }
- }
- if r.assignedObjectIdIe != nil {
- t := *r.assignedObjectIdIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__ie", t, "form", "multi")
- }
- }
- if r.assignedObjectIdIew != nil {
- t := *r.assignedObjectIdIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__iew", t, "form", "multi")
- }
- }
- if r.assignedObjectIdIre != nil {
- t := *r.assignedObjectIdIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__ire", t, "form", "multi")
- }
- }
- if r.assignedObjectIdIsw != nil {
- t := *r.assignedObjectIdIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__isw", t, "form", "multi")
- }
- }
if r.assignedObjectIdN != nil {
t := *r.assignedObjectIdN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -62339,83 +61489,6 @@ func (a *ExtrasAPIService) ExtrasNotesListExecute(r ApiExtrasNotesListRequest) (
parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__n", t, "form", "multi")
}
}
- if r.assignedObjectIdNic != nil {
- t := *r.assignedObjectIdNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__nic", t, "form", "multi")
- }
- }
- if r.assignedObjectIdNie != nil {
- t := *r.assignedObjectIdNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__nie", t, "form", "multi")
- }
- }
- if r.assignedObjectIdNiew != nil {
- t := *r.assignedObjectIdNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__niew", t, "form", "multi")
- }
- }
- if r.assignedObjectIdNire != nil {
- t := *r.assignedObjectIdNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__nire", t, "form", "multi")
- }
- }
- if r.assignedObjectIdNisw != nil {
- t := *r.assignedObjectIdNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__nisw", t, "form", "multi")
- }
- }
- if r.assignedObjectIdNre != nil {
- t := *r.assignedObjectIdNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__nre", t, "form", "multi")
- }
- }
- if r.assignedObjectIdRe != nil {
- t := *r.assignedObjectIdRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__re", t, "form", "multi")
- }
- }
if r.assignedObjectType != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_type", r.assignedObjectType, "form", "")
}
@@ -62442,61 +61515,6 @@ func (a *ExtrasAPIService) ExtrasNotesListExecute(r ApiExtrasNotesListRequest) (
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -62508,83 +61526,6 @@ func (a *ExtrasAPIService) ExtrasNotesListExecute(r ApiExtrasNotesListRequest) (
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.limit != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
@@ -62933,8 +61874,16 @@ func (a *ExtrasAPIService) ExtrasNotesListExecute(r ApiExtrasNotesListRequest) (
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -63144,6 +62093,7 @@ type ApiExtrasNotesRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasNotesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasNotesRetrieveRequest {
@@ -63157,6 +62107,12 @@ func (r ApiExtrasNotesRetrieveRequest) Depth(depth int32) ApiExtrasNotesRetrieve
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasNotesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasNotesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasNotesRetrieveRequest) Execute() (*Note, *http.Response, error) {
return r.ApiService.ExtrasNotesRetrieveExecute(r)
}
@@ -63206,8 +62162,16 @@ func (a *ExtrasAPIService) ExtrasNotesRetrieveExecute(r ApiExtrasNotesRetrieveRe
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -63432,19 +62396,7 @@ type ApiExtrasObjectChangesListRequest struct {
actionNre *[]string
actionRe *[]string
changedObjectId *[]string
- changedObjectIdIc *[]string
- changedObjectIdIe *[]string
- changedObjectIdIew *[]string
- changedObjectIdIre *[]string
- changedObjectIdIsw *[]string
changedObjectIdN *[]string
- changedObjectIdNic *[]string
- changedObjectIdNie *[]string
- changedObjectIdNiew *[]string
- changedObjectIdNire *[]string
- changedObjectIdNisw *[]string
- changedObjectIdNre *[]string
- changedObjectIdRe *[]string
changedObjectType *string
changedObjectTypeIsnull *bool
changedObjectTypeN *string
@@ -63453,19 +62405,7 @@ type ApiExtrasObjectChangesListRequest struct {
changedObjectTypeIdN *int32
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
limit *int32
objectRepr *[]string
objectReprIc *[]string
@@ -63484,19 +62424,7 @@ type ApiExtrasObjectChangesListRequest struct {
offset *int32
q *string
requestId *[]string
- requestIdIc *[]string
- requestIdIe *[]string
- requestIdIew *[]string
- requestIdIre *[]string
- requestIdIsw *[]string
requestIdN *[]string
- requestIdNic *[]string
- requestIdNie *[]string
- requestIdNiew *[]string
- requestIdNire *[]string
- requestIdNisw *[]string
- requestIdNre *[]string
- requestIdRe *[]string
sort *string
time *[]time.Time
timeGt *[]time.Time
@@ -63525,6 +62453,7 @@ type ApiExtrasObjectChangesListRequest struct {
userNameNre *[]string
userNameRe *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasObjectChangesListRequest) Action(action []string) ApiExtrasObjectChangesListRequest {
@@ -63602,71 +62531,11 @@ func (r ApiExtrasObjectChangesListRequest) ChangedObjectId(changedObjectId []str
return r
}
-func (r ApiExtrasObjectChangesListRequest) ChangedObjectIdIc(changedObjectIdIc []string) ApiExtrasObjectChangesListRequest {
- r.changedObjectIdIc = &changedObjectIdIc
- return r
-}
-
-func (r ApiExtrasObjectChangesListRequest) ChangedObjectIdIe(changedObjectIdIe []string) ApiExtrasObjectChangesListRequest {
- r.changedObjectIdIe = &changedObjectIdIe
- return r
-}
-
-func (r ApiExtrasObjectChangesListRequest) ChangedObjectIdIew(changedObjectIdIew []string) ApiExtrasObjectChangesListRequest {
- r.changedObjectIdIew = &changedObjectIdIew
- return r
-}
-
-func (r ApiExtrasObjectChangesListRequest) ChangedObjectIdIre(changedObjectIdIre []string) ApiExtrasObjectChangesListRequest {
- r.changedObjectIdIre = &changedObjectIdIre
- return r
-}
-
-func (r ApiExtrasObjectChangesListRequest) ChangedObjectIdIsw(changedObjectIdIsw []string) ApiExtrasObjectChangesListRequest {
- r.changedObjectIdIsw = &changedObjectIdIsw
- return r
-}
-
func (r ApiExtrasObjectChangesListRequest) ChangedObjectIdN(changedObjectIdN []string) ApiExtrasObjectChangesListRequest {
r.changedObjectIdN = &changedObjectIdN
return r
}
-func (r ApiExtrasObjectChangesListRequest) ChangedObjectIdNic(changedObjectIdNic []string) ApiExtrasObjectChangesListRequest {
- r.changedObjectIdNic = &changedObjectIdNic
- return r
-}
-
-func (r ApiExtrasObjectChangesListRequest) ChangedObjectIdNie(changedObjectIdNie []string) ApiExtrasObjectChangesListRequest {
- r.changedObjectIdNie = &changedObjectIdNie
- return r
-}
-
-func (r ApiExtrasObjectChangesListRequest) ChangedObjectIdNiew(changedObjectIdNiew []string) ApiExtrasObjectChangesListRequest {
- r.changedObjectIdNiew = &changedObjectIdNiew
- return r
-}
-
-func (r ApiExtrasObjectChangesListRequest) ChangedObjectIdNire(changedObjectIdNire []string) ApiExtrasObjectChangesListRequest {
- r.changedObjectIdNire = &changedObjectIdNire
- return r
-}
-
-func (r ApiExtrasObjectChangesListRequest) ChangedObjectIdNisw(changedObjectIdNisw []string) ApiExtrasObjectChangesListRequest {
- r.changedObjectIdNisw = &changedObjectIdNisw
- return r
-}
-
-func (r ApiExtrasObjectChangesListRequest) ChangedObjectIdNre(changedObjectIdNre []string) ApiExtrasObjectChangesListRequest {
- r.changedObjectIdNre = &changedObjectIdNre
- return r
-}
-
-func (r ApiExtrasObjectChangesListRequest) ChangedObjectIdRe(changedObjectIdRe []string) ApiExtrasObjectChangesListRequest {
- r.changedObjectIdRe = &changedObjectIdRe
- return r
-}
-
func (r ApiExtrasObjectChangesListRequest) ChangedObjectType(changedObjectType string) ApiExtrasObjectChangesListRequest {
r.changedObjectType = &changedObjectType
return r
@@ -63708,71 +62577,11 @@ func (r ApiExtrasObjectChangesListRequest) Id(id []string) ApiExtrasObjectChange
return r
}
-func (r ApiExtrasObjectChangesListRequest) IdIc(idIc []string) ApiExtrasObjectChangesListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasObjectChangesListRequest) IdIe(idIe []string) ApiExtrasObjectChangesListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasObjectChangesListRequest) IdIew(idIew []string) ApiExtrasObjectChangesListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasObjectChangesListRequest) IdIre(idIre []string) ApiExtrasObjectChangesListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasObjectChangesListRequest) IdIsw(idIsw []string) ApiExtrasObjectChangesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasObjectChangesListRequest) IdN(idN []string) ApiExtrasObjectChangesListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasObjectChangesListRequest) IdNic(idNic []string) ApiExtrasObjectChangesListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasObjectChangesListRequest) IdNie(idNie []string) ApiExtrasObjectChangesListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasObjectChangesListRequest) IdNiew(idNiew []string) ApiExtrasObjectChangesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasObjectChangesListRequest) IdNire(idNire []string) ApiExtrasObjectChangesListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasObjectChangesListRequest) IdNisw(idNisw []string) ApiExtrasObjectChangesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasObjectChangesListRequest) IdNre(idNre []string) ApiExtrasObjectChangesListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasObjectChangesListRequest) IdRe(idRe []string) ApiExtrasObjectChangesListRequest {
- r.idRe = &idRe
- return r
-}
-
// Number of results to return per page.
func (r ApiExtrasObjectChangesListRequest) Limit(limit int32) ApiExtrasObjectChangesListRequest {
r.limit = &limit
@@ -63866,71 +62675,11 @@ func (r ApiExtrasObjectChangesListRequest) RequestId(requestId []string) ApiExtr
return r
}
-func (r ApiExtrasObjectChangesListRequest) RequestIdIc(requestIdIc []string) ApiExtrasObjectChangesListRequest {
- r.requestIdIc = &requestIdIc
- return r
-}
-
-func (r ApiExtrasObjectChangesListRequest) RequestIdIe(requestIdIe []string) ApiExtrasObjectChangesListRequest {
- r.requestIdIe = &requestIdIe
- return r
-}
-
-func (r ApiExtrasObjectChangesListRequest) RequestIdIew(requestIdIew []string) ApiExtrasObjectChangesListRequest {
- r.requestIdIew = &requestIdIew
- return r
-}
-
-func (r ApiExtrasObjectChangesListRequest) RequestIdIre(requestIdIre []string) ApiExtrasObjectChangesListRequest {
- r.requestIdIre = &requestIdIre
- return r
-}
-
-func (r ApiExtrasObjectChangesListRequest) RequestIdIsw(requestIdIsw []string) ApiExtrasObjectChangesListRequest {
- r.requestIdIsw = &requestIdIsw
- return r
-}
-
func (r ApiExtrasObjectChangesListRequest) RequestIdN(requestIdN []string) ApiExtrasObjectChangesListRequest {
r.requestIdN = &requestIdN
return r
}
-func (r ApiExtrasObjectChangesListRequest) RequestIdNic(requestIdNic []string) ApiExtrasObjectChangesListRequest {
- r.requestIdNic = &requestIdNic
- return r
-}
-
-func (r ApiExtrasObjectChangesListRequest) RequestIdNie(requestIdNie []string) ApiExtrasObjectChangesListRequest {
- r.requestIdNie = &requestIdNie
- return r
-}
-
-func (r ApiExtrasObjectChangesListRequest) RequestIdNiew(requestIdNiew []string) ApiExtrasObjectChangesListRequest {
- r.requestIdNiew = &requestIdNiew
- return r
-}
-
-func (r ApiExtrasObjectChangesListRequest) RequestIdNire(requestIdNire []string) ApiExtrasObjectChangesListRequest {
- r.requestIdNire = &requestIdNire
- return r
-}
-
-func (r ApiExtrasObjectChangesListRequest) RequestIdNisw(requestIdNisw []string) ApiExtrasObjectChangesListRequest {
- r.requestIdNisw = &requestIdNisw
- return r
-}
-
-func (r ApiExtrasObjectChangesListRequest) RequestIdNre(requestIdNre []string) ApiExtrasObjectChangesListRequest {
- r.requestIdNre = &requestIdNre
- return r
-}
-
-func (r ApiExtrasObjectChangesListRequest) RequestIdRe(requestIdRe []string) ApiExtrasObjectChangesListRequest {
- r.requestIdRe = &requestIdRe
- return r
-}
-
// Which field to use when ordering the results.
func (r ApiExtrasObjectChangesListRequest) Sort(sort string) ApiExtrasObjectChangesListRequest {
r.sort = &sort
@@ -64077,6 +62826,12 @@ func (r ApiExtrasObjectChangesListRequest) Depth(depth int32) ApiExtrasObjectCha
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasObjectChangesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasObjectChangesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasObjectChangesListRequest) Execute() (*PaginatedObjectChangeList, *http.Response, error) {
return r.ApiService.ExtrasObjectChangesListExecute(r)
}
@@ -64282,61 +63037,6 @@ func (a *ExtrasAPIService) ExtrasObjectChangesListExecute(r ApiExtrasObjectChang
parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id", t, "form", "multi")
}
}
- if r.changedObjectIdIc != nil {
- t := *r.changedObjectIdIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__ic", t, "form", "multi")
- }
- }
- if r.changedObjectIdIe != nil {
- t := *r.changedObjectIdIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__ie", t, "form", "multi")
- }
- }
- if r.changedObjectIdIew != nil {
- t := *r.changedObjectIdIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__iew", t, "form", "multi")
- }
- }
- if r.changedObjectIdIre != nil {
- t := *r.changedObjectIdIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__ire", t, "form", "multi")
- }
- }
- if r.changedObjectIdIsw != nil {
- t := *r.changedObjectIdIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__isw", t, "form", "multi")
- }
- }
if r.changedObjectIdN != nil {
t := *r.changedObjectIdN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -64348,83 +63048,6 @@ func (a *ExtrasAPIService) ExtrasObjectChangesListExecute(r ApiExtrasObjectChang
parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__n", t, "form", "multi")
}
}
- if r.changedObjectIdNic != nil {
- t := *r.changedObjectIdNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__nic", t, "form", "multi")
- }
- }
- if r.changedObjectIdNie != nil {
- t := *r.changedObjectIdNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__nie", t, "form", "multi")
- }
- }
- if r.changedObjectIdNiew != nil {
- t := *r.changedObjectIdNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__niew", t, "form", "multi")
- }
- }
- if r.changedObjectIdNire != nil {
- t := *r.changedObjectIdNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__nire", t, "form", "multi")
- }
- }
- if r.changedObjectIdNisw != nil {
- t := *r.changedObjectIdNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__nisw", t, "form", "multi")
- }
- }
- if r.changedObjectIdNre != nil {
- t := *r.changedObjectIdNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__nre", t, "form", "multi")
- }
- }
- if r.changedObjectIdRe != nil {
- t := *r.changedObjectIdRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_id__re", t, "form", "multi")
- }
- }
if r.changedObjectType != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "changed_object_type", r.changedObjectType, "form", "")
}
@@ -64457,61 +63080,6 @@ func (a *ExtrasAPIService) ExtrasObjectChangesListExecute(r ApiExtrasObjectChang
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -64523,83 +63091,6 @@ func (a *ExtrasAPIService) ExtrasObjectChangesListExecute(r ApiExtrasObjectChang
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.limit != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
@@ -64774,61 +63265,6 @@ func (a *ExtrasAPIService) ExtrasObjectChangesListExecute(r ApiExtrasObjectChang
parameterAddToHeaderOrQuery(localVarQueryParams, "request_id", t, "form", "multi")
}
}
- if r.requestIdIc != nil {
- t := *r.requestIdIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "request_id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "request_id__ic", t, "form", "multi")
- }
- }
- if r.requestIdIe != nil {
- t := *r.requestIdIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "request_id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "request_id__ie", t, "form", "multi")
- }
- }
- if r.requestIdIew != nil {
- t := *r.requestIdIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "request_id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "request_id__iew", t, "form", "multi")
- }
- }
- if r.requestIdIre != nil {
- t := *r.requestIdIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "request_id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "request_id__ire", t, "form", "multi")
- }
- }
- if r.requestIdIsw != nil {
- t := *r.requestIdIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "request_id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "request_id__isw", t, "form", "multi")
- }
- }
if r.requestIdN != nil {
t := *r.requestIdN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -64840,83 +63276,6 @@ func (a *ExtrasAPIService) ExtrasObjectChangesListExecute(r ApiExtrasObjectChang
parameterAddToHeaderOrQuery(localVarQueryParams, "request_id__n", t, "form", "multi")
}
}
- if r.requestIdNic != nil {
- t := *r.requestIdNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "request_id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "request_id__nic", t, "form", "multi")
- }
- }
- if r.requestIdNie != nil {
- t := *r.requestIdNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "request_id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "request_id__nie", t, "form", "multi")
- }
- }
- if r.requestIdNiew != nil {
- t := *r.requestIdNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "request_id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "request_id__niew", t, "form", "multi")
- }
- }
- if r.requestIdNire != nil {
- t := *r.requestIdNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "request_id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "request_id__nire", t, "form", "multi")
- }
- }
- if r.requestIdNisw != nil {
- t := *r.requestIdNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "request_id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "request_id__nisw", t, "form", "multi")
- }
- }
- if r.requestIdNre != nil {
- t := *r.requestIdNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "request_id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "request_id__nre", t, "form", "multi")
- }
- }
- if r.requestIdRe != nil {
- t := *r.requestIdRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "request_id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "request_id__re", t, "form", "multi")
- }
- }
if r.sort != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
}
@@ -65193,8 +63552,16 @@ func (a *ExtrasAPIService) ExtrasObjectChangesListExecute(r ApiExtrasObjectChang
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -65270,6 +63637,7 @@ type ApiExtrasObjectChangesRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasObjectChangesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasObjectChangesRetrieveRequest {
@@ -65283,6 +63651,12 @@ func (r ApiExtrasObjectChangesRetrieveRequest) Depth(depth int32) ApiExtrasObjec
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasObjectChangesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasObjectChangesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasObjectChangesRetrieveRequest) Execute() (*ObjectChange, *http.Response, error) {
return r.ApiService.ExtrasObjectChangesRetrieveExecute(r)
}
@@ -65332,8 +63706,16 @@ func (a *ExtrasAPIService) ExtrasObjectChangesRetrieveExecute(r ApiExtrasObjectC
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -66043,19 +64425,7 @@ type ApiExtrasObjectMetadataListRequest struct {
ctx context.Context
ApiService *ExtrasAPIService
assignedObjectId *[]string
- assignedObjectIdIc *[]string
- assignedObjectIdIe *[]string
- assignedObjectIdIew *[]string
- assignedObjectIdIre *[]string
- assignedObjectIdIsw *[]string
assignedObjectIdN *[]string
- assignedObjectIdNic *[]string
- assignedObjectIdNie *[]string
- assignedObjectIdNiew *[]string
- assignedObjectIdNire *[]string
- assignedObjectIdNisw *[]string
- assignedObjectIdNre *[]string
- assignedObjectIdRe *[]string
assignedObjectType *[]int32
assignedObjectTypeIsnull *bool
assignedObjectTypeN *[]int32
@@ -66071,19 +64441,7 @@ type ApiExtrasObjectMetadataListRequest struct {
createdN *[]time.Time
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -66103,6 +64461,7 @@ type ApiExtrasObjectMetadataListRequest struct {
teamN *[]string
value *interface{}
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasObjectMetadataListRequest) AssignedObjectId(assignedObjectId []string) ApiExtrasObjectMetadataListRequest {
@@ -66110,71 +64469,11 @@ func (r ApiExtrasObjectMetadataListRequest) AssignedObjectId(assignedObjectId []
return r
}
-func (r ApiExtrasObjectMetadataListRequest) AssignedObjectIdIc(assignedObjectIdIc []string) ApiExtrasObjectMetadataListRequest {
- r.assignedObjectIdIc = &assignedObjectIdIc
- return r
-}
-
-func (r ApiExtrasObjectMetadataListRequest) AssignedObjectIdIe(assignedObjectIdIe []string) ApiExtrasObjectMetadataListRequest {
- r.assignedObjectIdIe = &assignedObjectIdIe
- return r
-}
-
-func (r ApiExtrasObjectMetadataListRequest) AssignedObjectIdIew(assignedObjectIdIew []string) ApiExtrasObjectMetadataListRequest {
- r.assignedObjectIdIew = &assignedObjectIdIew
- return r
-}
-
-func (r ApiExtrasObjectMetadataListRequest) AssignedObjectIdIre(assignedObjectIdIre []string) ApiExtrasObjectMetadataListRequest {
- r.assignedObjectIdIre = &assignedObjectIdIre
- return r
-}
-
-func (r ApiExtrasObjectMetadataListRequest) AssignedObjectIdIsw(assignedObjectIdIsw []string) ApiExtrasObjectMetadataListRequest {
- r.assignedObjectIdIsw = &assignedObjectIdIsw
- return r
-}
-
func (r ApiExtrasObjectMetadataListRequest) AssignedObjectIdN(assignedObjectIdN []string) ApiExtrasObjectMetadataListRequest {
r.assignedObjectIdN = &assignedObjectIdN
return r
}
-func (r ApiExtrasObjectMetadataListRequest) AssignedObjectIdNic(assignedObjectIdNic []string) ApiExtrasObjectMetadataListRequest {
- r.assignedObjectIdNic = &assignedObjectIdNic
- return r
-}
-
-func (r ApiExtrasObjectMetadataListRequest) AssignedObjectIdNie(assignedObjectIdNie []string) ApiExtrasObjectMetadataListRequest {
- r.assignedObjectIdNie = &assignedObjectIdNie
- return r
-}
-
-func (r ApiExtrasObjectMetadataListRequest) AssignedObjectIdNiew(assignedObjectIdNiew []string) ApiExtrasObjectMetadataListRequest {
- r.assignedObjectIdNiew = &assignedObjectIdNiew
- return r
-}
-
-func (r ApiExtrasObjectMetadataListRequest) AssignedObjectIdNire(assignedObjectIdNire []string) ApiExtrasObjectMetadataListRequest {
- r.assignedObjectIdNire = &assignedObjectIdNire
- return r
-}
-
-func (r ApiExtrasObjectMetadataListRequest) AssignedObjectIdNisw(assignedObjectIdNisw []string) ApiExtrasObjectMetadataListRequest {
- r.assignedObjectIdNisw = &assignedObjectIdNisw
- return r
-}
-
-func (r ApiExtrasObjectMetadataListRequest) AssignedObjectIdNre(assignedObjectIdNre []string) ApiExtrasObjectMetadataListRequest {
- r.assignedObjectIdNre = &assignedObjectIdNre
- return r
-}
-
-func (r ApiExtrasObjectMetadataListRequest) AssignedObjectIdRe(assignedObjectIdRe []string) ApiExtrasObjectMetadataListRequest {
- r.assignedObjectIdRe = &assignedObjectIdRe
- return r
-}
-
func (r ApiExtrasObjectMetadataListRequest) AssignedObjectType(assignedObjectType []int32) ApiExtrasObjectMetadataListRequest {
r.assignedObjectType = &assignedObjectType
return r
@@ -66252,71 +64551,11 @@ func (r ApiExtrasObjectMetadataListRequest) Id(id []string) ApiExtrasObjectMetad
return r
}
-func (r ApiExtrasObjectMetadataListRequest) IdIc(idIc []string) ApiExtrasObjectMetadataListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasObjectMetadataListRequest) IdIe(idIe []string) ApiExtrasObjectMetadataListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasObjectMetadataListRequest) IdIew(idIew []string) ApiExtrasObjectMetadataListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasObjectMetadataListRequest) IdIre(idIre []string) ApiExtrasObjectMetadataListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasObjectMetadataListRequest) IdIsw(idIsw []string) ApiExtrasObjectMetadataListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasObjectMetadataListRequest) IdN(idN []string) ApiExtrasObjectMetadataListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasObjectMetadataListRequest) IdNic(idNic []string) ApiExtrasObjectMetadataListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasObjectMetadataListRequest) IdNie(idNie []string) ApiExtrasObjectMetadataListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasObjectMetadataListRequest) IdNiew(idNiew []string) ApiExtrasObjectMetadataListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasObjectMetadataListRequest) IdNire(idNire []string) ApiExtrasObjectMetadataListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasObjectMetadataListRequest) IdNisw(idNisw []string) ApiExtrasObjectMetadataListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasObjectMetadataListRequest) IdNre(idNre []string) ApiExtrasObjectMetadataListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasObjectMetadataListRequest) IdRe(idRe []string) ApiExtrasObjectMetadataListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiExtrasObjectMetadataListRequest) LastUpdated(lastUpdated []time.Time) ApiExtrasObjectMetadataListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -66419,6 +64658,12 @@ func (r ApiExtrasObjectMetadataListRequest) Depth(depth int32) ApiExtrasObjectMe
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasObjectMetadataListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasObjectMetadataListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasObjectMetadataListRequest) Execute() (*PaginatedObjectMetadataList, *http.Response, error) {
return r.ApiService.ExtrasObjectMetadataListExecute(r)
}
@@ -66470,61 +64715,6 @@ func (a *ExtrasAPIService) ExtrasObjectMetadataListExecute(r ApiExtrasObjectMeta
parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id", t, "form", "multi")
}
}
- if r.assignedObjectIdIc != nil {
- t := *r.assignedObjectIdIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__ic", t, "form", "multi")
- }
- }
- if r.assignedObjectIdIe != nil {
- t := *r.assignedObjectIdIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__ie", t, "form", "multi")
- }
- }
- if r.assignedObjectIdIew != nil {
- t := *r.assignedObjectIdIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__iew", t, "form", "multi")
- }
- }
- if r.assignedObjectIdIre != nil {
- t := *r.assignedObjectIdIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__ire", t, "form", "multi")
- }
- }
- if r.assignedObjectIdIsw != nil {
- t := *r.assignedObjectIdIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__isw", t, "form", "multi")
- }
- }
if r.assignedObjectIdN != nil {
t := *r.assignedObjectIdN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -66536,83 +64726,6 @@ func (a *ExtrasAPIService) ExtrasObjectMetadataListExecute(r ApiExtrasObjectMeta
parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__n", t, "form", "multi")
}
}
- if r.assignedObjectIdNic != nil {
- t := *r.assignedObjectIdNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__nic", t, "form", "multi")
- }
- }
- if r.assignedObjectIdNie != nil {
- t := *r.assignedObjectIdNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__nie", t, "form", "multi")
- }
- }
- if r.assignedObjectIdNiew != nil {
- t := *r.assignedObjectIdNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__niew", t, "form", "multi")
- }
- }
- if r.assignedObjectIdNire != nil {
- t := *r.assignedObjectIdNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__nire", t, "form", "multi")
- }
- }
- if r.assignedObjectIdNisw != nil {
- t := *r.assignedObjectIdNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__nisw", t, "form", "multi")
- }
- }
- if r.assignedObjectIdNre != nil {
- t := *r.assignedObjectIdNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__nre", t, "form", "multi")
- }
- }
- if r.assignedObjectIdRe != nil {
- t := *r.assignedObjectIdRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "assigned_object_id__re", t, "form", "multi")
- }
- }
if r.assignedObjectType != nil {
t := *r.assignedObjectType
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -66746,61 +64859,6 @@ func (a *ExtrasAPIService) ExtrasObjectMetadataListExecute(r ApiExtrasObjectMeta
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -66812,83 +64870,6 @@ func (a *ExtrasAPIService) ExtrasObjectMetadataListExecute(r ApiExtrasObjectMeta
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -67034,304 +65015,16 @@ func (a *ExtrasAPIService) ExtrasObjectMetadataListExecute(r ApiExtrasObjectMeta
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
}
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiExtrasObjectMetadataNotesCreateRequest struct {
- ctx context.Context
- ApiService *ExtrasAPIService
- id string
- noteInputRequest *NoteInputRequest
- format *CircuitsCircuitTerminationsListFormatParameter
-}
-
-func (r ApiExtrasObjectMetadataNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiExtrasObjectMetadataNotesCreateRequest {
- r.noteInputRequest = ¬eInputRequest
- return r
-}
-
-func (r ApiExtrasObjectMetadataNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasObjectMetadataNotesCreateRequest {
- r.format = &format
- return r
-}
-
-func (r ApiExtrasObjectMetadataNotesCreateRequest) Execute() (*Note, *http.Response, error) {
- return r.ApiService.ExtrasObjectMetadataNotesCreateExecute(r)
-}
-
-/*
-ExtrasObjectMetadataNotesCreate Method for ExtrasObjectMetadataNotesCreate
-
-API methods for returning or creating notes on an object.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this object metadata.
- @return ApiExtrasObjectMetadataNotesCreateRequest
-*/
-func (a *ExtrasAPIService) ExtrasObjectMetadataNotesCreate(ctx context.Context, id string) ApiExtrasObjectMetadataNotesCreateRequest {
- return ApiExtrasObjectMetadataNotesCreateRequest{
- ApiService: a,
- ctx: ctx,
- id: id,
- }
-}
-
-// Execute executes the request
-// @return Note
-func (a *ExtrasAPIService) ExtrasObjectMetadataNotesCreateExecute(r ApiExtrasObjectMetadataNotesCreateRequest) (*Note, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *Note
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasObjectMetadataNotesCreate")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/extras/object-metadata/{id}/notes/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.noteInputRequest == nil {
- return localVarReturnValue, nil, reportError("noteInputRequest is required and must be specified")
- }
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.noteInputRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiExtrasObjectMetadataNotesListRequest struct {
- ctx context.Context
- ApiService *ExtrasAPIService
- id string
- format *CircuitsCircuitTerminationsListFormatParameter
- limit *int32
- offset *int32
- depth *int32
-}
-
-func (r ApiExtrasObjectMetadataNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasObjectMetadataNotesListRequest {
- r.format = &format
- return r
-}
-
-// Number of results to return per page.
-func (r ApiExtrasObjectMetadataNotesListRequest) Limit(limit int32) ApiExtrasObjectMetadataNotesListRequest {
- r.limit = &limit
- return r
-}
-
-// The initial index from which to return the results.
-func (r ApiExtrasObjectMetadataNotesListRequest) Offset(offset int32) ApiExtrasObjectMetadataNotesListRequest {
- r.offset = &offset
- return r
-}
-
-// Serializer Depth
-func (r ApiExtrasObjectMetadataNotesListRequest) Depth(depth int32) ApiExtrasObjectMetadataNotesListRequest {
- r.depth = &depth
- return r
-}
-
-func (r ApiExtrasObjectMetadataNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
- return r.ApiService.ExtrasObjectMetadataNotesListExecute(r)
-}
-
-/*
-ExtrasObjectMetadataNotesList Method for ExtrasObjectMetadataNotesList
-
-API methods for returning or creating notes on an object.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this object metadata.
- @return ApiExtrasObjectMetadataNotesListRequest
-*/
-func (a *ExtrasAPIService) ExtrasObjectMetadataNotesList(ctx context.Context, id string) ApiExtrasObjectMetadataNotesListRequest {
- return ApiExtrasObjectMetadataNotesListRequest{
- ApiService: a,
- ctx: ctx,
- id: id,
- }
-}
-
-// Execute executes the request
-// @return PaginatedNoteList
-func (a *ExtrasAPIService) ExtrasObjectMetadataNotesListExecute(r ApiExtrasObjectMetadataNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *PaginatedNoteList
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasObjectMetadataNotesList")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/extras/object-metadata/{id}/notes/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
- }
- if r.offset != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
- }
- if r.depth != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -67541,6 +65234,7 @@ type ApiExtrasObjectMetadataRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasObjectMetadataRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasObjectMetadataRetrieveRequest {
@@ -67554,6 +65248,12 @@ func (r ApiExtrasObjectMetadataRetrieveRequest) Depth(depth int32) ApiExtrasObje
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasObjectMetadataRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasObjectMetadataRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasObjectMetadataRetrieveRequest) Execute() (*ObjectMetadata, *http.Response, error) {
return r.ApiService.ExtrasObjectMetadataRetrieveExecute(r)
}
@@ -67603,8 +65303,16 @@ func (a *ExtrasAPIService) ExtrasObjectMetadataRetrieveExecute(r ApiExtrasObject
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -68451,36 +66159,12 @@ type ApiExtrasRelationshipAssociationsListRequest struct {
ctx context.Context
ApiService *ExtrasAPIService
destinationId *[]string
- destinationIdIc *[]string
- destinationIdIe *[]string
- destinationIdIew *[]string
- destinationIdIre *[]string
- destinationIdIsw *[]string
destinationIdN *[]string
- destinationIdNic *[]string
- destinationIdNie *[]string
- destinationIdNiew *[]string
- destinationIdNire *[]string
- destinationIdNisw *[]string
- destinationIdNre *[]string
- destinationIdRe *[]string
destinationType *[]int32
destinationTypeN *[]int32
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
limit *int32
offset *int32
peerId *[]string
@@ -68489,22 +66173,11 @@ type ApiExtrasRelationshipAssociationsListRequest struct {
relationshipN *[]string
sort *string
sourceId *[]string
- sourceIdIc *[]string
- sourceIdIe *[]string
- sourceIdIew *[]string
- sourceIdIre *[]string
- sourceIdIsw *[]string
sourceIdN *[]string
- sourceIdNic *[]string
- sourceIdNie *[]string
- sourceIdNiew *[]string
- sourceIdNire *[]string
- sourceIdNisw *[]string
- sourceIdNre *[]string
- sourceIdRe *[]string
sourceType *[]int32
sourceTypeN *[]int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasRelationshipAssociationsListRequest) DestinationId(destinationId []string) ApiExtrasRelationshipAssociationsListRequest {
@@ -68512,71 +66185,11 @@ func (r ApiExtrasRelationshipAssociationsListRequest) DestinationId(destinationI
return r
}
-func (r ApiExtrasRelationshipAssociationsListRequest) DestinationIdIc(destinationIdIc []string) ApiExtrasRelationshipAssociationsListRequest {
- r.destinationIdIc = &destinationIdIc
- return r
-}
-
-func (r ApiExtrasRelationshipAssociationsListRequest) DestinationIdIe(destinationIdIe []string) ApiExtrasRelationshipAssociationsListRequest {
- r.destinationIdIe = &destinationIdIe
- return r
-}
-
-func (r ApiExtrasRelationshipAssociationsListRequest) DestinationIdIew(destinationIdIew []string) ApiExtrasRelationshipAssociationsListRequest {
- r.destinationIdIew = &destinationIdIew
- return r
-}
-
-func (r ApiExtrasRelationshipAssociationsListRequest) DestinationIdIre(destinationIdIre []string) ApiExtrasRelationshipAssociationsListRequest {
- r.destinationIdIre = &destinationIdIre
- return r
-}
-
-func (r ApiExtrasRelationshipAssociationsListRequest) DestinationIdIsw(destinationIdIsw []string) ApiExtrasRelationshipAssociationsListRequest {
- r.destinationIdIsw = &destinationIdIsw
- return r
-}
-
func (r ApiExtrasRelationshipAssociationsListRequest) DestinationIdN(destinationIdN []string) ApiExtrasRelationshipAssociationsListRequest {
r.destinationIdN = &destinationIdN
return r
}
-func (r ApiExtrasRelationshipAssociationsListRequest) DestinationIdNic(destinationIdNic []string) ApiExtrasRelationshipAssociationsListRequest {
- r.destinationIdNic = &destinationIdNic
- return r
-}
-
-func (r ApiExtrasRelationshipAssociationsListRequest) DestinationIdNie(destinationIdNie []string) ApiExtrasRelationshipAssociationsListRequest {
- r.destinationIdNie = &destinationIdNie
- return r
-}
-
-func (r ApiExtrasRelationshipAssociationsListRequest) DestinationIdNiew(destinationIdNiew []string) ApiExtrasRelationshipAssociationsListRequest {
- r.destinationIdNiew = &destinationIdNiew
- return r
-}
-
-func (r ApiExtrasRelationshipAssociationsListRequest) DestinationIdNire(destinationIdNire []string) ApiExtrasRelationshipAssociationsListRequest {
- r.destinationIdNire = &destinationIdNire
- return r
-}
-
-func (r ApiExtrasRelationshipAssociationsListRequest) DestinationIdNisw(destinationIdNisw []string) ApiExtrasRelationshipAssociationsListRequest {
- r.destinationIdNisw = &destinationIdNisw
- return r
-}
-
-func (r ApiExtrasRelationshipAssociationsListRequest) DestinationIdNre(destinationIdNre []string) ApiExtrasRelationshipAssociationsListRequest {
- r.destinationIdNre = &destinationIdNre
- return r
-}
-
-func (r ApiExtrasRelationshipAssociationsListRequest) DestinationIdRe(destinationIdRe []string) ApiExtrasRelationshipAssociationsListRequest {
- r.destinationIdRe = &destinationIdRe
- return r
-}
-
func (r ApiExtrasRelationshipAssociationsListRequest) DestinationType(destinationType []int32) ApiExtrasRelationshipAssociationsListRequest {
r.destinationType = &destinationType
return r
@@ -68598,71 +66211,11 @@ func (r ApiExtrasRelationshipAssociationsListRequest) Id(id []string) ApiExtrasR
return r
}
-func (r ApiExtrasRelationshipAssociationsListRequest) IdIc(idIc []string) ApiExtrasRelationshipAssociationsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasRelationshipAssociationsListRequest) IdIe(idIe []string) ApiExtrasRelationshipAssociationsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasRelationshipAssociationsListRequest) IdIew(idIew []string) ApiExtrasRelationshipAssociationsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasRelationshipAssociationsListRequest) IdIre(idIre []string) ApiExtrasRelationshipAssociationsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasRelationshipAssociationsListRequest) IdIsw(idIsw []string) ApiExtrasRelationshipAssociationsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasRelationshipAssociationsListRequest) IdN(idN []string) ApiExtrasRelationshipAssociationsListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasRelationshipAssociationsListRequest) IdNic(idNic []string) ApiExtrasRelationshipAssociationsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasRelationshipAssociationsListRequest) IdNie(idNie []string) ApiExtrasRelationshipAssociationsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasRelationshipAssociationsListRequest) IdNiew(idNiew []string) ApiExtrasRelationshipAssociationsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasRelationshipAssociationsListRequest) IdNire(idNire []string) ApiExtrasRelationshipAssociationsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasRelationshipAssociationsListRequest) IdNisw(idNisw []string) ApiExtrasRelationshipAssociationsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasRelationshipAssociationsListRequest) IdNre(idNre []string) ApiExtrasRelationshipAssociationsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasRelationshipAssociationsListRequest) IdRe(idRe []string) ApiExtrasRelationshipAssociationsListRequest {
- r.idRe = &idRe
- return r
-}
-
// Number of results to return per page.
func (r ApiExtrasRelationshipAssociationsListRequest) Limit(limit int32) ApiExtrasRelationshipAssociationsListRequest {
r.limit = &limit
@@ -68709,71 +66262,11 @@ func (r ApiExtrasRelationshipAssociationsListRequest) SourceId(sourceId []string
return r
}
-func (r ApiExtrasRelationshipAssociationsListRequest) SourceIdIc(sourceIdIc []string) ApiExtrasRelationshipAssociationsListRequest {
- r.sourceIdIc = &sourceIdIc
- return r
-}
-
-func (r ApiExtrasRelationshipAssociationsListRequest) SourceIdIe(sourceIdIe []string) ApiExtrasRelationshipAssociationsListRequest {
- r.sourceIdIe = &sourceIdIe
- return r
-}
-
-func (r ApiExtrasRelationshipAssociationsListRequest) SourceIdIew(sourceIdIew []string) ApiExtrasRelationshipAssociationsListRequest {
- r.sourceIdIew = &sourceIdIew
- return r
-}
-
-func (r ApiExtrasRelationshipAssociationsListRequest) SourceIdIre(sourceIdIre []string) ApiExtrasRelationshipAssociationsListRequest {
- r.sourceIdIre = &sourceIdIre
- return r
-}
-
-func (r ApiExtrasRelationshipAssociationsListRequest) SourceIdIsw(sourceIdIsw []string) ApiExtrasRelationshipAssociationsListRequest {
- r.sourceIdIsw = &sourceIdIsw
- return r
-}
-
func (r ApiExtrasRelationshipAssociationsListRequest) SourceIdN(sourceIdN []string) ApiExtrasRelationshipAssociationsListRequest {
r.sourceIdN = &sourceIdN
return r
}
-func (r ApiExtrasRelationshipAssociationsListRequest) SourceIdNic(sourceIdNic []string) ApiExtrasRelationshipAssociationsListRequest {
- r.sourceIdNic = &sourceIdNic
- return r
-}
-
-func (r ApiExtrasRelationshipAssociationsListRequest) SourceIdNie(sourceIdNie []string) ApiExtrasRelationshipAssociationsListRequest {
- r.sourceIdNie = &sourceIdNie
- return r
-}
-
-func (r ApiExtrasRelationshipAssociationsListRequest) SourceIdNiew(sourceIdNiew []string) ApiExtrasRelationshipAssociationsListRequest {
- r.sourceIdNiew = &sourceIdNiew
- return r
-}
-
-func (r ApiExtrasRelationshipAssociationsListRequest) SourceIdNire(sourceIdNire []string) ApiExtrasRelationshipAssociationsListRequest {
- r.sourceIdNire = &sourceIdNire
- return r
-}
-
-func (r ApiExtrasRelationshipAssociationsListRequest) SourceIdNisw(sourceIdNisw []string) ApiExtrasRelationshipAssociationsListRequest {
- r.sourceIdNisw = &sourceIdNisw
- return r
-}
-
-func (r ApiExtrasRelationshipAssociationsListRequest) SourceIdNre(sourceIdNre []string) ApiExtrasRelationshipAssociationsListRequest {
- r.sourceIdNre = &sourceIdNre
- return r
-}
-
-func (r ApiExtrasRelationshipAssociationsListRequest) SourceIdRe(sourceIdRe []string) ApiExtrasRelationshipAssociationsListRequest {
- r.sourceIdRe = &sourceIdRe
- return r
-}
-
func (r ApiExtrasRelationshipAssociationsListRequest) SourceType(sourceType []int32) ApiExtrasRelationshipAssociationsListRequest {
r.sourceType = &sourceType
return r
@@ -68790,6 +66283,12 @@ func (r ApiExtrasRelationshipAssociationsListRequest) Depth(depth int32) ApiExtr
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasRelationshipAssociationsListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasRelationshipAssociationsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasRelationshipAssociationsListRequest) Execute() (*PaginatedRelationshipAssociationList, *http.Response, error) {
return r.ApiService.ExtrasRelationshipAssociationsListExecute(r)
}
@@ -68841,61 +66340,6 @@ func (a *ExtrasAPIService) ExtrasRelationshipAssociationsListExecute(r ApiExtras
parameterAddToHeaderOrQuery(localVarQueryParams, "destination_id", t, "form", "multi")
}
}
- if r.destinationIdIc != nil {
- t := *r.destinationIdIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "destination_id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "destination_id__ic", t, "form", "multi")
- }
- }
- if r.destinationIdIe != nil {
- t := *r.destinationIdIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "destination_id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "destination_id__ie", t, "form", "multi")
- }
- }
- if r.destinationIdIew != nil {
- t := *r.destinationIdIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "destination_id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "destination_id__iew", t, "form", "multi")
- }
- }
- if r.destinationIdIre != nil {
- t := *r.destinationIdIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "destination_id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "destination_id__ire", t, "form", "multi")
- }
- }
- if r.destinationIdIsw != nil {
- t := *r.destinationIdIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "destination_id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "destination_id__isw", t, "form", "multi")
- }
- }
if r.destinationIdN != nil {
t := *r.destinationIdN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -68907,83 +66351,6 @@ func (a *ExtrasAPIService) ExtrasRelationshipAssociationsListExecute(r ApiExtras
parameterAddToHeaderOrQuery(localVarQueryParams, "destination_id__n", t, "form", "multi")
}
}
- if r.destinationIdNic != nil {
- t := *r.destinationIdNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "destination_id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "destination_id__nic", t, "form", "multi")
- }
- }
- if r.destinationIdNie != nil {
- t := *r.destinationIdNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "destination_id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "destination_id__nie", t, "form", "multi")
- }
- }
- if r.destinationIdNiew != nil {
- t := *r.destinationIdNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "destination_id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "destination_id__niew", t, "form", "multi")
- }
- }
- if r.destinationIdNire != nil {
- t := *r.destinationIdNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "destination_id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "destination_id__nire", t, "form", "multi")
- }
- }
- if r.destinationIdNisw != nil {
- t := *r.destinationIdNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "destination_id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "destination_id__nisw", t, "form", "multi")
- }
- }
- if r.destinationIdNre != nil {
- t := *r.destinationIdNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "destination_id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "destination_id__nre", t, "form", "multi")
- }
- }
- if r.destinationIdRe != nil {
- t := *r.destinationIdRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "destination_id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "destination_id__re", t, "form", "multi")
- }
- }
if r.destinationType != nil {
t := *r.destinationType
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -69020,61 +66387,6 @@ func (a *ExtrasAPIService) ExtrasRelationshipAssociationsListExecute(r ApiExtras
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -69086,83 +66398,6 @@ func (a *ExtrasAPIService) ExtrasRelationshipAssociationsListExecute(r ApiExtras
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.limit != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
@@ -69219,61 +66454,6 @@ func (a *ExtrasAPIService) ExtrasRelationshipAssociationsListExecute(r ApiExtras
parameterAddToHeaderOrQuery(localVarQueryParams, "source_id", t, "form", "multi")
}
}
- if r.sourceIdIc != nil {
- t := *r.sourceIdIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "source_id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "source_id__ic", t, "form", "multi")
- }
- }
- if r.sourceIdIe != nil {
- t := *r.sourceIdIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "source_id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "source_id__ie", t, "form", "multi")
- }
- }
- if r.sourceIdIew != nil {
- t := *r.sourceIdIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "source_id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "source_id__iew", t, "form", "multi")
- }
- }
- if r.sourceIdIre != nil {
- t := *r.sourceIdIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "source_id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "source_id__ire", t, "form", "multi")
- }
- }
- if r.sourceIdIsw != nil {
- t := *r.sourceIdIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "source_id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "source_id__isw", t, "form", "multi")
- }
- }
if r.sourceIdN != nil {
t := *r.sourceIdN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -69285,83 +66465,6 @@ func (a *ExtrasAPIService) ExtrasRelationshipAssociationsListExecute(r ApiExtras
parameterAddToHeaderOrQuery(localVarQueryParams, "source_id__n", t, "form", "multi")
}
}
- if r.sourceIdNic != nil {
- t := *r.sourceIdNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "source_id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "source_id__nic", t, "form", "multi")
- }
- }
- if r.sourceIdNie != nil {
- t := *r.sourceIdNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "source_id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "source_id__nie", t, "form", "multi")
- }
- }
- if r.sourceIdNiew != nil {
- t := *r.sourceIdNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "source_id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "source_id__niew", t, "form", "multi")
- }
- }
- if r.sourceIdNire != nil {
- t := *r.sourceIdNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "source_id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "source_id__nire", t, "form", "multi")
- }
- }
- if r.sourceIdNisw != nil {
- t := *r.sourceIdNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "source_id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "source_id__nisw", t, "form", "multi")
- }
- }
- if r.sourceIdNre != nil {
- t := *r.sourceIdNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "source_id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "source_id__nre", t, "form", "multi")
- }
- }
- if r.sourceIdRe != nil {
- t := *r.sourceIdRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "source_id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "source_id__re", t, "form", "multi")
- }
- }
if r.sourceType != nil {
t := *r.sourceType
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -69387,8 +66490,16 @@ func (a *ExtrasAPIService) ExtrasRelationshipAssociationsListExecute(r ApiExtras
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -69598,6 +66709,7 @@ type ApiExtrasRelationshipAssociationsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasRelationshipAssociationsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasRelationshipAssociationsRetrieveRequest {
@@ -69611,6 +66723,12 @@ func (r ApiExtrasRelationshipAssociationsRetrieveRequest) Depth(depth int32) Api
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasRelationshipAssociationsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasRelationshipAssociationsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasRelationshipAssociationsRetrieveRequest) Execute() (*RelationshipAssociation, *http.Response, error) {
return r.ApiService.ExtrasRelationshipAssociationsRetrieveExecute(r)
}
@@ -69660,8 +66778,16 @@ func (a *ExtrasAPIService) ExtrasRelationshipAssociationsRetrieveExecute(r ApiEx
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -70509,26 +67635,14 @@ type ApiExtrasRelationshipsListRequest struct {
ApiService *ExtrasAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
destinationType *[]int32
destinationTypeN *[]int32
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
key *[]string
keyIc *[]string
keyIe *[]string
@@ -70565,7 +67679,7 @@ type ApiExtrasRelationshipsListRequest struct {
sourceTypeN *[]int32
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
type_ *[]string
typeIc *[]string
typeIe *[]string
@@ -70581,6 +67695,7 @@ type ApiExtrasRelationshipsListRequest struct {
typeNre *[]string
typeRe *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasRelationshipsListRequest) Contacts(contacts []string) ApiExtrasRelationshipsListRequest {
@@ -70594,8 +67709,7 @@ func (r ApiExtrasRelationshipsListRequest) ContactsIsnull(contactsIsnull bool) A
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiExtrasRelationshipsListRequest) ContactsN(contactsN string) ApiExtrasRelationshipsListRequest {
+func (r ApiExtrasRelationshipsListRequest) ContactsN(contactsN []string) ApiExtrasRelationshipsListRequest {
r.contactsN = &contactsN
return r
}
@@ -70615,8 +67729,7 @@ func (r ApiExtrasRelationshipsListRequest) DynamicGroups(dynamicGroups []string)
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiExtrasRelationshipsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiExtrasRelationshipsListRequest {
+func (r ApiExtrasRelationshipsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiExtrasRelationshipsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -70632,71 +67745,11 @@ func (r ApiExtrasRelationshipsListRequest) Id(id []string) ApiExtrasRelationship
return r
}
-func (r ApiExtrasRelationshipsListRequest) IdIc(idIc []string) ApiExtrasRelationshipsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasRelationshipsListRequest) IdIe(idIe []string) ApiExtrasRelationshipsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasRelationshipsListRequest) IdIew(idIew []string) ApiExtrasRelationshipsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasRelationshipsListRequest) IdIre(idIre []string) ApiExtrasRelationshipsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasRelationshipsListRequest) IdIsw(idIsw []string) ApiExtrasRelationshipsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasRelationshipsListRequest) IdN(idN []string) ApiExtrasRelationshipsListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasRelationshipsListRequest) IdNic(idNic []string) ApiExtrasRelationshipsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasRelationshipsListRequest) IdNie(idNie []string) ApiExtrasRelationshipsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasRelationshipsListRequest) IdNiew(idNiew []string) ApiExtrasRelationshipsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasRelationshipsListRequest) IdNire(idNire []string) ApiExtrasRelationshipsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasRelationshipsListRequest) IdNisw(idNisw []string) ApiExtrasRelationshipsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasRelationshipsListRequest) IdNre(idNre []string) ApiExtrasRelationshipsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasRelationshipsListRequest) IdRe(idRe []string) ApiExtrasRelationshipsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiExtrasRelationshipsListRequest) Key(key []string) ApiExtrasRelationshipsListRequest {
r.key = &key
return r
@@ -70882,8 +67935,7 @@ func (r ApiExtrasRelationshipsListRequest) TeamsIsnull(teamsIsnull bool) ApiExtr
return r
}
-// Exclude Teams (name or ID)
-func (r ApiExtrasRelationshipsListRequest) TeamsN(teamsN string) ApiExtrasRelationshipsListRequest {
+func (r ApiExtrasRelationshipsListRequest) TeamsN(teamsN []string) ApiExtrasRelationshipsListRequest {
r.teamsN = &teamsN
return r
}
@@ -70919,7 +67971,6 @@ func (r ApiExtrasRelationshipsListRequest) TypeIsw(typeIsw []string) ApiExtrasRe
return r
}
-// Cardinality of this relationship
func (r ApiExtrasRelationshipsListRequest) TypeN(typeN []string) ApiExtrasRelationshipsListRequest {
r.typeN = &typeN
return r
@@ -70966,6 +68017,12 @@ func (r ApiExtrasRelationshipsListRequest) Depth(depth int32) ApiExtrasRelations
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasRelationshipsListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasRelationshipsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasRelationshipsListRequest) Execute() (*PaginatedRelationshipList, *http.Response, error) {
return r.ApiService.ExtrasRelationshipsListExecute(r)
}
@@ -71021,7 +68078,15 @@ func (a *ExtrasAPIService) ExtrasRelationshipsListExecute(r ApiExtrasRelationshi
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.destinationType != nil {
t := *r.destinationType
@@ -71057,75 +68122,28 @@ func (a *ExtrasAPIService) ExtrasRelationshipsListExecute(r ApiExtrasRelationshi
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.id != nil {
- t := *r.id
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
if r.idN != nil {
@@ -71139,83 +68157,6 @@ func (a *ExtrasAPIService) ExtrasRelationshipsListExecute(r ApiExtrasRelationshi
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.key != nil {
t := *r.key
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -71573,7 +68514,15 @@ func (a *ExtrasAPIService) ExtrasRelationshipsListExecute(r ApiExtrasRelationshi
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.type_ != nil {
t := *r.type_
@@ -71732,8 +68681,16 @@ func (a *ExtrasAPIService) ExtrasRelationshipsListExecute(r ApiExtrasRelationshi
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -71948,6 +68905,7 @@ type ApiExtrasRelationshipsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasRelationshipsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasRelationshipsNotesListRequest {
@@ -71973,6 +68931,12 @@ func (r ApiExtrasRelationshipsNotesListRequest) Depth(depth int32) ApiExtrasRela
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasRelationshipsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasRelationshipsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasRelationshipsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.ExtrasRelationshipsNotesListExecute(r)
}
@@ -72028,8 +68992,16 @@ func (a *ExtrasAPIService) ExtrasRelationshipsNotesListExecute(r ApiExtrasRelati
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -72239,6 +69211,7 @@ type ApiExtrasRelationshipsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasRelationshipsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasRelationshipsRetrieveRequest {
@@ -72252,6 +69225,12 @@ func (r ApiExtrasRelationshipsRetrieveRequest) Depth(depth int32) ApiExtrasRelat
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasRelationshipsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasRelationshipsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasRelationshipsRetrieveRequest) Execute() (*Relationship, *http.Response, error) {
return r.ApiService.ExtrasRelationshipsRetrieveExecute(r)
}
@@ -72301,8 +69280,16 @@ func (a *ExtrasAPIService) ExtrasRelationshipsRetrieveExecute(r ApiExtrasRelatio
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -73164,21 +70151,9 @@ type ApiExtrasRolesListRequest struct {
colorRe *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
contentTypes *[]int32
- contentTypesIc *[]int32
- contentTypesIe *[]int32
- contentTypesIew *[]int32
- contentTypesIre *[]int32
- contentTypesIsw *[]int32
contentTypesN *[]int32
- contentTypesNic *[]int32
- contentTypesNie *[]int32
- contentTypesNiew *[]int32
- contentTypesNire *[]int32
- contentTypesNisw *[]int32
- contentTypesNre *[]int32
- contentTypesRe *[]int32
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -73187,22 +70162,10 @@ type ApiExtrasRolesListRequest struct {
createdLte *[]time.Time
createdN *[]time.Time
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -73230,7 +70193,7 @@ type ApiExtrasRolesListRequest struct {
sort *string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
weight *[]int32
weightGt *[]int32
weightGte *[]int32
@@ -73239,6 +70202,7 @@ type ApiExtrasRolesListRequest struct {
weightLte *[]int32
weightN *[]int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasRolesListRequest) Color(color []string) ApiExtrasRolesListRequest {
@@ -73322,8 +70286,7 @@ func (r ApiExtrasRolesListRequest) ContactsIsnull(contactsIsnull bool) ApiExtras
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiExtrasRolesListRequest) ContactsN(contactsN string) ApiExtrasRolesListRequest {
+func (r ApiExtrasRolesListRequest) ContactsN(contactsN []string) ApiExtrasRolesListRequest {
r.contactsN = &contactsN
return r
}
@@ -73333,71 +70296,11 @@ func (r ApiExtrasRolesListRequest) ContentTypes(contentTypes []int32) ApiExtrasR
return r
}
-func (r ApiExtrasRolesListRequest) ContentTypesIc(contentTypesIc []int32) ApiExtrasRolesListRequest {
- r.contentTypesIc = &contentTypesIc
- return r
-}
-
-func (r ApiExtrasRolesListRequest) ContentTypesIe(contentTypesIe []int32) ApiExtrasRolesListRequest {
- r.contentTypesIe = &contentTypesIe
- return r
-}
-
-func (r ApiExtrasRolesListRequest) ContentTypesIew(contentTypesIew []int32) ApiExtrasRolesListRequest {
- r.contentTypesIew = &contentTypesIew
- return r
-}
-
-func (r ApiExtrasRolesListRequest) ContentTypesIre(contentTypesIre []int32) ApiExtrasRolesListRequest {
- r.contentTypesIre = &contentTypesIre
- return r
-}
-
-func (r ApiExtrasRolesListRequest) ContentTypesIsw(contentTypesIsw []int32) ApiExtrasRolesListRequest {
- r.contentTypesIsw = &contentTypesIsw
- return r
-}
-
func (r ApiExtrasRolesListRequest) ContentTypesN(contentTypesN []int32) ApiExtrasRolesListRequest {
r.contentTypesN = &contentTypesN
return r
}
-func (r ApiExtrasRolesListRequest) ContentTypesNic(contentTypesNic []int32) ApiExtrasRolesListRequest {
- r.contentTypesNic = &contentTypesNic
- return r
-}
-
-func (r ApiExtrasRolesListRequest) ContentTypesNie(contentTypesNie []int32) ApiExtrasRolesListRequest {
- r.contentTypesNie = &contentTypesNie
- return r
-}
-
-func (r ApiExtrasRolesListRequest) ContentTypesNiew(contentTypesNiew []int32) ApiExtrasRolesListRequest {
- r.contentTypesNiew = &contentTypesNiew
- return r
-}
-
-func (r ApiExtrasRolesListRequest) ContentTypesNire(contentTypesNire []int32) ApiExtrasRolesListRequest {
- r.contentTypesNire = &contentTypesNire
- return r
-}
-
-func (r ApiExtrasRolesListRequest) ContentTypesNisw(contentTypesNisw []int32) ApiExtrasRolesListRequest {
- r.contentTypesNisw = &contentTypesNisw
- return r
-}
-
-func (r ApiExtrasRolesListRequest) ContentTypesNre(contentTypesNre []int32) ApiExtrasRolesListRequest {
- r.contentTypesNre = &contentTypesNre
- return r
-}
-
-func (r ApiExtrasRolesListRequest) ContentTypesRe(contentTypesRe []int32) ApiExtrasRolesListRequest {
- r.contentTypesRe = &contentTypesRe
- return r
-}
-
func (r ApiExtrasRolesListRequest) Created(created []time.Time) ApiExtrasRolesListRequest {
r.created = &created
return r
@@ -73438,8 +70341,7 @@ func (r ApiExtrasRolesListRequest) DynamicGroups(dynamicGroups []string) ApiExtr
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiExtrasRolesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiExtrasRolesListRequest {
+func (r ApiExtrasRolesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiExtrasRolesListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -73455,71 +70357,11 @@ func (r ApiExtrasRolesListRequest) Id(id []string) ApiExtrasRolesListRequest {
return r
}
-func (r ApiExtrasRolesListRequest) IdIc(idIc []string) ApiExtrasRolesListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasRolesListRequest) IdIe(idIe []string) ApiExtrasRolesListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasRolesListRequest) IdIew(idIew []string) ApiExtrasRolesListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasRolesListRequest) IdIre(idIre []string) ApiExtrasRolesListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasRolesListRequest) IdIsw(idIsw []string) ApiExtrasRolesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasRolesListRequest) IdN(idN []string) ApiExtrasRolesListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasRolesListRequest) IdNic(idNic []string) ApiExtrasRolesListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasRolesListRequest) IdNie(idNie []string) ApiExtrasRolesListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasRolesListRequest) IdNiew(idNiew []string) ApiExtrasRolesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasRolesListRequest) IdNire(idNire []string) ApiExtrasRolesListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasRolesListRequest) IdNisw(idNisw []string) ApiExtrasRolesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasRolesListRequest) IdNre(idNre []string) ApiExtrasRolesListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasRolesListRequest) IdRe(idRe []string) ApiExtrasRolesListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiExtrasRolesListRequest) LastUpdated(lastUpdated []time.Time) ApiExtrasRolesListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -73660,8 +70502,7 @@ func (r ApiExtrasRolesListRequest) TeamsIsnull(teamsIsnull bool) ApiExtrasRolesL
return r
}
-// Exclude Teams (name or ID)
-func (r ApiExtrasRolesListRequest) TeamsN(teamsN string) ApiExtrasRolesListRequest {
+func (r ApiExtrasRolesListRequest) TeamsN(teamsN []string) ApiExtrasRolesListRequest {
r.teamsN = &teamsN
return r
}
@@ -73707,6 +70548,12 @@ func (r ApiExtrasRolesListRequest) Depth(depth int32) ApiExtrasRolesListRequest
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasRolesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasRolesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasRolesListRequest) Execute() (*PaginatedRoleList, *http.Response, error) {
return r.ApiService.ExtrasRolesListExecute(r)
}
@@ -73916,72 +70763,25 @@ func (a *ExtrasAPIService) ExtrasRolesListExecute(r ApiExtrasRolesListRequest) (
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
- }
- if r.contentTypes != nil {
- t := *r.contentTypes
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", t, "form", "multi")
- }
- }
- if r.contentTypesIc != nil {
- t := *r.contentTypesIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ic", t, "form", "multi")
- }
- }
- if r.contentTypesIe != nil {
- t := *r.contentTypesIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ie", t, "form", "multi")
- }
- }
- if r.contentTypesIew != nil {
- t := *r.contentTypesIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__iew", t, "form", "multi")
- }
- }
- if r.contentTypesIre != nil {
- t := *r.contentTypesIre
+ t := *r.contactsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
}
}
- if r.contentTypesIsw != nil {
- t := *r.contentTypesIsw
+ if r.contentTypes != nil {
+ t := *r.contentTypes
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", t, "form", "multi")
}
}
if r.contentTypesN != nil {
@@ -73995,83 +70795,6 @@ func (a *ExtrasAPIService) ExtrasRolesListExecute(r ApiExtrasRolesListRequest) (
parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__n", t, "form", "multi")
}
}
- if r.contentTypesNic != nil {
- t := *r.contentTypesNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nic", t, "form", "multi")
- }
- }
- if r.contentTypesNie != nil {
- t := *r.contentTypesNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nie", t, "form", "multi")
- }
- }
- if r.contentTypesNiew != nil {
- t := *r.contentTypesNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__niew", t, "form", "multi")
- }
- }
- if r.contentTypesNire != nil {
- t := *r.contentTypesNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nire", t, "form", "multi")
- }
- }
- if r.contentTypesNisw != nil {
- t := *r.contentTypesNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nisw", t, "form", "multi")
- }
- }
- if r.contentTypesNre != nil {
- t := *r.contentTypesNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nre", t, "form", "multi")
- }
- }
- if r.contentTypesRe != nil {
- t := *r.contentTypesRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__re", t, "form", "multi")
- }
- }
if r.created != nil {
t := *r.created
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -74153,75 +70876,28 @@ func (a *ExtrasAPIService) ExtrasRolesListExecute(r ApiExtrasRolesListRequest) (
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.id != nil {
- t := *r.id
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
- }
- }
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
if r.idN != nil {
@@ -74235,83 +70911,6 @@ func (a *ExtrasAPIService) ExtrasRolesListExecute(r ApiExtrasRolesListRequest) (
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -74562,7 +71161,15 @@ func (a *ExtrasAPIService) ExtrasRolesListExecute(r ApiExtrasRolesListRequest) (
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.weight != nil {
t := *r.weight
@@ -74636,8 +71243,16 @@ func (a *ExtrasAPIService) ExtrasRolesListExecute(r ApiExtrasRolesListRequest) (
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -74852,6 +71467,7 @@ type ApiExtrasRolesNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasRolesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasRolesNotesListRequest {
@@ -74877,6 +71493,12 @@ func (r ApiExtrasRolesNotesListRequest) Depth(depth int32) ApiExtrasRolesNotesLi
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasRolesNotesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasRolesNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasRolesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.ExtrasRolesNotesListExecute(r)
}
@@ -74932,8 +71554,16 @@ func (a *ExtrasAPIService) ExtrasRolesNotesListExecute(r ApiExtrasRolesNotesList
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -75143,6 +71773,7 @@ type ApiExtrasRolesRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasRolesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasRolesRetrieveRequest {
@@ -75156,6 +71787,12 @@ func (r ApiExtrasRolesRetrieveRequest) Depth(depth int32) ApiExtrasRolesRetrieve
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasRolesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasRolesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasRolesRetrieveRequest) Execute() (*Role, *http.Response, error) {
return r.ApiService.ExtrasRolesRetrieveExecute(r)
}
@@ -75205,8 +71842,16 @@ func (a *ExtrasAPIService) ExtrasRolesRetrieveExecute(r ApiExtrasRolesRetrieveRe
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -76054,19 +72699,7 @@ type ApiExtrasSavedViewsListRequest struct {
ApiService *ExtrasAPIService
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
isGlobalDefault *bool
isShared *bool
limit *int32
@@ -76104,6 +72737,7 @@ type ApiExtrasSavedViewsListRequest struct {
viewNre *[]string
viewRe *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasSavedViewsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasSavedViewsListRequest {
@@ -76117,71 +72751,11 @@ func (r ApiExtrasSavedViewsListRequest) Id(id []string) ApiExtrasSavedViewsListR
return r
}
-func (r ApiExtrasSavedViewsListRequest) IdIc(idIc []string) ApiExtrasSavedViewsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasSavedViewsListRequest) IdIe(idIe []string) ApiExtrasSavedViewsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasSavedViewsListRequest) IdIew(idIew []string) ApiExtrasSavedViewsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasSavedViewsListRequest) IdIre(idIre []string) ApiExtrasSavedViewsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasSavedViewsListRequest) IdIsw(idIsw []string) ApiExtrasSavedViewsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasSavedViewsListRequest) IdN(idN []string) ApiExtrasSavedViewsListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasSavedViewsListRequest) IdNic(idNic []string) ApiExtrasSavedViewsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasSavedViewsListRequest) IdNie(idNie []string) ApiExtrasSavedViewsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasSavedViewsListRequest) IdNiew(idNiew []string) ApiExtrasSavedViewsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasSavedViewsListRequest) IdNire(idNire []string) ApiExtrasSavedViewsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasSavedViewsListRequest) IdNisw(idNisw []string) ApiExtrasSavedViewsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasSavedViewsListRequest) IdNre(idNre []string) ApiExtrasSavedViewsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasSavedViewsListRequest) IdRe(idRe []string) ApiExtrasSavedViewsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiExtrasSavedViewsListRequest) IsGlobalDefault(isGlobalDefault bool) ApiExtrasSavedViewsListRequest {
r.isGlobalDefault = &isGlobalDefault
return r
@@ -76372,6 +72946,12 @@ func (r ApiExtrasSavedViewsListRequest) Depth(depth int32) ApiExtrasSavedViewsLi
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasSavedViewsListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasSavedViewsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasSavedViewsListRequest) Execute() (*PaginatedSavedViewList, *http.Response, error) {
return r.ApiService.ExtrasSavedViewsListExecute(r)
}
@@ -76426,61 +73006,6 @@ func (a *ExtrasAPIService) ExtrasSavedViewsListExecute(r ApiExtrasSavedViewsList
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -76492,83 +73017,6 @@ func (a *ExtrasAPIService) ExtrasSavedViewsListExecute(r ApiExtrasSavedViewsList
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.isGlobalDefault != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "is_global_default", r.isGlobalDefault, "form", "")
}
@@ -76920,8 +73368,304 @@ func (a *ExtrasAPIService) ExtrasSavedViewsListExecute(r ApiExtrasSavedViewsList
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiExtrasSavedViewsPartialUpdateRequest struct {
+ ctx context.Context
+ ApiService *ExtrasAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ patchedSavedViewRequest *PatchedSavedViewRequest
+}
+
+func (r ApiExtrasSavedViewsPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasSavedViewsPartialUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiExtrasSavedViewsPartialUpdateRequest) PatchedSavedViewRequest(patchedSavedViewRequest PatchedSavedViewRequest) ApiExtrasSavedViewsPartialUpdateRequest {
+ r.patchedSavedViewRequest = &patchedSavedViewRequest
+ return r
+}
+
+func (r ApiExtrasSavedViewsPartialUpdateRequest) Execute() (*SavedView, *http.Response, error) {
+ return r.ApiService.ExtrasSavedViewsPartialUpdateExecute(r)
+}
+
+/*
+ExtrasSavedViewsPartialUpdate Method for ExtrasSavedViewsPartialUpdate
+
+Partial update a saved view object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this saved view.
+ @return ApiExtrasSavedViewsPartialUpdateRequest
+*/
+func (a *ExtrasAPIService) ExtrasSavedViewsPartialUpdate(ctx context.Context, id string) ApiExtrasSavedViewsPartialUpdateRequest {
+ return ApiExtrasSavedViewsPartialUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return SavedView
+func (a *ExtrasAPIService) ExtrasSavedViewsPartialUpdateExecute(r ApiExtrasSavedViewsPartialUpdateRequest) (*SavedView, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPatch
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *SavedView
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSavedViewsPartialUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/extras/saved-views/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.patchedSavedViewRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiExtrasSavedViewsRetrieveRequest struct {
+ ctx context.Context
+ ApiService *ExtrasAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ depth *int32
+ excludeM2m *bool
+}
+
+func (r ApiExtrasSavedViewsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasSavedViewsRetrieveRequest {
+ r.format = &format
+ return r
+}
+
+// Serializer Depth
+func (r ApiExtrasSavedViewsRetrieveRequest) Depth(depth int32) ApiExtrasSavedViewsRetrieveRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiExtrasSavedViewsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasSavedViewsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiExtrasSavedViewsRetrieveRequest) Execute() (*SavedView, *http.Response, error) {
+ return r.ApiService.ExtrasSavedViewsRetrieveExecute(r)
+}
+
+/*
+ExtrasSavedViewsRetrieve Method for ExtrasSavedViewsRetrieve
+
+Retrieve a saved view object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this saved view.
+ @return ApiExtrasSavedViewsRetrieveRequest
+*/
+func (a *ExtrasAPIService) ExtrasSavedViewsRetrieve(ctx context.Context, id string) ApiExtrasSavedViewsRetrieveRequest {
+ return ApiExtrasSavedViewsRetrieveRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return SavedView
+func (a *ExtrasAPIService) ExtrasSavedViewsRetrieveExecute(r ApiExtrasSavedViewsRetrieveRequest) (*SavedView, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *SavedView
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSavedViewsRetrieve")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/extras/saved-views/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -76991,39 +73735,39 @@ func (a *ExtrasAPIService) ExtrasSavedViewsListExecute(r ApiExtrasSavedViewsList
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiExtrasSavedViewsPartialUpdateRequest struct {
+type ApiExtrasSavedViewsUpdateRequest struct {
ctx context.Context
ApiService *ExtrasAPIService
id string
+ savedViewRequest *SavedViewRequest
format *CircuitsCircuitTerminationsListFormatParameter
- patchedSavedViewRequest *PatchedSavedViewRequest
}
-func (r ApiExtrasSavedViewsPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasSavedViewsPartialUpdateRequest {
- r.format = &format
+func (r ApiExtrasSavedViewsUpdateRequest) SavedViewRequest(savedViewRequest SavedViewRequest) ApiExtrasSavedViewsUpdateRequest {
+ r.savedViewRequest = &savedViewRequest
return r
}
-func (r ApiExtrasSavedViewsPartialUpdateRequest) PatchedSavedViewRequest(patchedSavedViewRequest PatchedSavedViewRequest) ApiExtrasSavedViewsPartialUpdateRequest {
- r.patchedSavedViewRequest = &patchedSavedViewRequest
+func (r ApiExtrasSavedViewsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasSavedViewsUpdateRequest {
+ r.format = &format
return r
}
-func (r ApiExtrasSavedViewsPartialUpdateRequest) Execute() (*SavedView, *http.Response, error) {
- return r.ApiService.ExtrasSavedViewsPartialUpdateExecute(r)
+func (r ApiExtrasSavedViewsUpdateRequest) Execute() (*SavedView, *http.Response, error) {
+ return r.ApiService.ExtrasSavedViewsUpdateExecute(r)
}
/*
-ExtrasSavedViewsPartialUpdate Method for ExtrasSavedViewsPartialUpdate
+ExtrasSavedViewsUpdate Method for ExtrasSavedViewsUpdate
-Partial update a saved view object.
+Update a saved view object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id A UUID string identifying this saved view.
- @return ApiExtrasSavedViewsPartialUpdateRequest
+ @return ApiExtrasSavedViewsUpdateRequest
*/
-func (a *ExtrasAPIService) ExtrasSavedViewsPartialUpdate(ctx context.Context, id string) ApiExtrasSavedViewsPartialUpdateRequest {
- return ApiExtrasSavedViewsPartialUpdateRequest{
+func (a *ExtrasAPIService) ExtrasSavedViewsUpdate(ctx context.Context, id string) ApiExtrasSavedViewsUpdateRequest {
+ return ApiExtrasSavedViewsUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -77032,15 +73776,15 @@ func (a *ExtrasAPIService) ExtrasSavedViewsPartialUpdate(ctx context.Context, id
// Execute executes the request
// @return SavedView
-func (a *ExtrasAPIService) ExtrasSavedViewsPartialUpdateExecute(r ApiExtrasSavedViewsPartialUpdateRequest) (*SavedView, *http.Response, error) {
+func (a *ExtrasAPIService) ExtrasSavedViewsUpdateExecute(r ApiExtrasSavedViewsUpdateRequest) (*SavedView, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPatch
+ localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
localVarReturnValue *SavedView
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSavedViewsPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSavedViewsUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -77051,6 +73795,9 @@ func (a *ExtrasAPIService) ExtrasSavedViewsPartialUpdateExecute(r ApiExtrasSaved
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
+ if r.savedViewRequest == nil {
+ return localVarReturnValue, nil, reportError("savedViewRequest is required and must be specified")
+ }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -77073,7 +73820,7 @@ func (a *ExtrasAPIService) ExtrasSavedViewsPartialUpdateExecute(r ApiExtrasSaved
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedSavedViewRequest
+ localVarPostBody = r.savedViewRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -77125,40 +73872,40 @@ func (a *ExtrasAPIService) ExtrasSavedViewsPartialUpdateExecute(r ApiExtrasSaved
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiExtrasSavedViewsRetrieveRequest struct {
+type ApiExtrasScheduledJobsApproveCreateRequest struct {
ctx context.Context
ApiService *ExtrasAPIService
id string
+ force *bool
format *CircuitsCircuitTerminationsListFormatParameter
- depth *int32
}
-func (r ApiExtrasSavedViewsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasSavedViewsRetrieveRequest {
- r.format = &format
+// force execution even if start time has passed
+func (r ApiExtrasScheduledJobsApproveCreateRequest) Force(force bool) ApiExtrasScheduledJobsApproveCreateRequest {
+ r.force = &force
return r
}
-// Serializer Depth
-func (r ApiExtrasSavedViewsRetrieveRequest) Depth(depth int32) ApiExtrasSavedViewsRetrieveRequest {
- r.depth = &depth
+func (r ApiExtrasScheduledJobsApproveCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasScheduledJobsApproveCreateRequest {
+ r.format = &format
return r
}
-func (r ApiExtrasSavedViewsRetrieveRequest) Execute() (*SavedView, *http.Response, error) {
- return r.ApiService.ExtrasSavedViewsRetrieveExecute(r)
+func (r ApiExtrasScheduledJobsApproveCreateRequest) Execute() (*ScheduledJob, *http.Response, error) {
+ return r.ApiService.ExtrasScheduledJobsApproveCreateExecute(r)
}
/*
-ExtrasSavedViewsRetrieve Method for ExtrasSavedViewsRetrieve
+ExtrasScheduledJobsApproveCreate Method for ExtrasScheduledJobsApproveCreate
-Retrieve a saved view object.
+Retrieve a list of scheduled jobs
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this saved view.
- @return ApiExtrasSavedViewsRetrieveRequest
+ @param id A UUID string identifying this scheduled job.
+ @return ApiExtrasScheduledJobsApproveCreateRequest
*/
-func (a *ExtrasAPIService) ExtrasSavedViewsRetrieve(ctx context.Context, id string) ApiExtrasSavedViewsRetrieveRequest {
- return ApiExtrasSavedViewsRetrieveRequest{
+func (a *ExtrasAPIService) ExtrasScheduledJobsApproveCreate(ctx context.Context, id string) ApiExtrasScheduledJobsApproveCreateRequest {
+ return ApiExtrasScheduledJobsApproveCreateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -77166,36 +73913,33 @@ func (a *ExtrasAPIService) ExtrasSavedViewsRetrieve(ctx context.Context, id stri
}
// Execute executes the request
-// @return SavedView
-func (a *ExtrasAPIService) ExtrasSavedViewsRetrieveExecute(r ApiExtrasSavedViewsRetrieveRequest) (*SavedView, *http.Response, error) {
+// @return ScheduledJob
+func (a *ExtrasAPIService) ExtrasScheduledJobsApproveCreateExecute(r ApiExtrasScheduledJobsApproveCreateRequest) (*ScheduledJob, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodGet
+ localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *SavedView
+ localVarReturnValue *ScheduledJob
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSavedViewsRetrieve")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasScheduledJobsApproveCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/extras/saved-views/{id}/"
+ localVarPath := localBasePath + "/extras/scheduled-jobs/{id}/approve/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
+ if r.force != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "force", r.force, "form", "")
+ }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.depth != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
- } else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
- }
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -77264,68 +74008,62 @@ func (a *ExtrasAPIService) ExtrasSavedViewsRetrieveExecute(r ApiExtrasSavedViews
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiExtrasSavedViewsUpdateRequest struct {
+type ApiExtrasScheduledJobsBulkDestroyRequest struct {
ctx context.Context
ApiService *ExtrasAPIService
- id string
- savedViewRequest *SavedViewRequest
+ bulkOperationRequest *[]BulkOperationRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiExtrasSavedViewsUpdateRequest) SavedViewRequest(savedViewRequest SavedViewRequest) ApiExtrasSavedViewsUpdateRequest {
- r.savedViewRequest = &savedViewRequest
+func (r ApiExtrasScheduledJobsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiExtrasScheduledJobsBulkDestroyRequest {
+ r.bulkOperationRequest = &bulkOperationRequest
return r
}
-func (r ApiExtrasSavedViewsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasSavedViewsUpdateRequest {
+func (r ApiExtrasScheduledJobsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasScheduledJobsBulkDestroyRequest {
r.format = &format
return r
}
-func (r ApiExtrasSavedViewsUpdateRequest) Execute() (*SavedView, *http.Response, error) {
- return r.ApiService.ExtrasSavedViewsUpdateExecute(r)
+func (r ApiExtrasScheduledJobsBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.ExtrasScheduledJobsBulkDestroyExecute(r)
}
/*
-ExtrasSavedViewsUpdate Method for ExtrasSavedViewsUpdate
+ExtrasScheduledJobsBulkDestroy Method for ExtrasScheduledJobsBulkDestroy
-Update a saved view object.
+Retrieve a list of scheduled jobs
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this saved view.
- @return ApiExtrasSavedViewsUpdateRequest
+ @return ApiExtrasScheduledJobsBulkDestroyRequest
*/
-func (a *ExtrasAPIService) ExtrasSavedViewsUpdate(ctx context.Context, id string) ApiExtrasSavedViewsUpdateRequest {
- return ApiExtrasSavedViewsUpdateRequest{
+func (a *ExtrasAPIService) ExtrasScheduledJobsBulkDestroy(ctx context.Context) ApiExtrasScheduledJobsBulkDestroyRequest {
+ return ApiExtrasScheduledJobsBulkDestroyRequest{
ApiService: a,
ctx: ctx,
- id: id,
}
}
// Execute executes the request
-// @return SavedView
-func (a *ExtrasAPIService) ExtrasSavedViewsUpdateExecute(r ApiExtrasSavedViewsUpdateRequest) (*SavedView, *http.Response, error) {
+func (a *ExtrasAPIService) ExtrasScheduledJobsBulkDestroyExecute(r ApiExtrasScheduledJobsBulkDestroyRequest) (*http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPut
+ localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *SavedView
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasSavedViewsUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasScheduledJobsBulkDestroy")
if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/extras/saved-views/{id}/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+ localVarPath := localBasePath + "/extras/scheduled-jobs/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.savedViewRequest == nil {
- return localVarReturnValue, nil, reportError("savedViewRequest is required and must be specified")
+ if r.bulkOperationRequest == nil {
+ return nil, reportError("bulkOperationRequest is required and must be specified")
}
if r.format != nil {
@@ -77341,7 +74079,7 @@ func (a *ExtrasAPIService) ExtrasSavedViewsUpdateExecute(r ApiExtrasSavedViewsUp
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+ localVarHTTPHeaderAccepts := []string{}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -77349,7 +74087,7 @@ func (a *ExtrasAPIService) ExtrasSavedViewsUpdateExecute(r ApiExtrasSavedViewsUp
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.savedViewRequest
+ localVarPostBody = r.bulkOperationRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -77366,19 +74104,19 @@ func (a *ExtrasAPIService) ExtrasSavedViewsUpdateExecute(r ApiExtrasSavedViewsUp
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
- return localVarReturnValue, nil, err
+ return nil, err
}
localVarHTTPResponse, err := a.client.callAPI(req)
if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
+ return localVarHTTPResponse, err
}
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
+ return localVarHTTPResponse, err
}
if localVarHTTPResponse.StatusCode >= 300 {
@@ -77386,55 +74124,39 @@ func (a *ExtrasAPIService) ExtrasSavedViewsUpdateExecute(r ApiExtrasSavedViewsUp
body: localVarBody,
error: localVarHTTPResponse.Status,
}
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
+ return localVarHTTPResponse, newErr
}
- return localVarReturnValue, localVarHTTPResponse, nil
+ return localVarHTTPResponse, nil
}
-type ApiExtrasScheduledJobsApproveCreateRequest struct {
+type ApiExtrasScheduledJobsDenyCreateRequest struct {
ctx context.Context
ApiService *ExtrasAPIService
id string
- force *bool
format *CircuitsCircuitTerminationsListFormatParameter
}
-// force execution even if start time has passed
-func (r ApiExtrasScheduledJobsApproveCreateRequest) Force(force bool) ApiExtrasScheduledJobsApproveCreateRequest {
- r.force = &force
- return r
-}
-
-func (r ApiExtrasScheduledJobsApproveCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasScheduledJobsApproveCreateRequest {
+func (r ApiExtrasScheduledJobsDenyCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasScheduledJobsDenyCreateRequest {
r.format = &format
return r
}
-func (r ApiExtrasScheduledJobsApproveCreateRequest) Execute() (*ScheduledJob, *http.Response, error) {
- return r.ApiService.ExtrasScheduledJobsApproveCreateExecute(r)
+func (r ApiExtrasScheduledJobsDenyCreateRequest) Execute() (*ScheduledJob, *http.Response, error) {
+ return r.ApiService.ExtrasScheduledJobsDenyCreateExecute(r)
}
/*
-ExtrasScheduledJobsApproveCreate Method for ExtrasScheduledJobsApproveCreate
+ExtrasScheduledJobsDenyCreate Method for ExtrasScheduledJobsDenyCreate
Retrieve a list of scheduled jobs
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id A UUID string identifying this scheduled job.
- @return ApiExtrasScheduledJobsApproveCreateRequest
+ @return ApiExtrasScheduledJobsDenyCreateRequest
*/
-func (a *ExtrasAPIService) ExtrasScheduledJobsApproveCreate(ctx context.Context, id string) ApiExtrasScheduledJobsApproveCreateRequest {
- return ApiExtrasScheduledJobsApproveCreateRequest{
+func (a *ExtrasAPIService) ExtrasScheduledJobsDenyCreate(ctx context.Context, id string) ApiExtrasScheduledJobsDenyCreateRequest {
+ return ApiExtrasScheduledJobsDenyCreateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -77443,7 +74165,7 @@ func (a *ExtrasAPIService) ExtrasScheduledJobsApproveCreate(ctx context.Context,
// Execute executes the request
// @return ScheduledJob
-func (a *ExtrasAPIService) ExtrasScheduledJobsApproveCreateExecute(r ApiExtrasScheduledJobsApproveCreateRequest) (*ScheduledJob, *http.Response, error) {
+func (a *ExtrasAPIService) ExtrasScheduledJobsDenyCreateExecute(r ApiExtrasScheduledJobsDenyCreateRequest) (*ScheduledJob, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
@@ -77451,21 +74173,18 @@ func (a *ExtrasAPIService) ExtrasScheduledJobsApproveCreateExecute(r ApiExtrasSc
localVarReturnValue *ScheduledJob
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasScheduledJobsApproveCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasScheduledJobsDenyCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/extras/scheduled-jobs/{id}/approve/"
+ localVarPath := localBasePath + "/extras/scheduled-jobs/{id}/deny/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.force != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "force", r.force, "form", "")
- }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
@@ -77537,33 +74256,33 @@ func (a *ExtrasAPIService) ExtrasScheduledJobsApproveCreateExecute(r ApiExtrasSc
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiExtrasScheduledJobsDenyCreateRequest struct {
+type ApiExtrasScheduledJobsDestroyRequest struct {
ctx context.Context
ApiService *ExtrasAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiExtrasScheduledJobsDenyCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasScheduledJobsDenyCreateRequest {
+func (r ApiExtrasScheduledJobsDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasScheduledJobsDestroyRequest {
r.format = &format
return r
}
-func (r ApiExtrasScheduledJobsDenyCreateRequest) Execute() (*ScheduledJob, *http.Response, error) {
- return r.ApiService.ExtrasScheduledJobsDenyCreateExecute(r)
+func (r ApiExtrasScheduledJobsDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.ExtrasScheduledJobsDestroyExecute(r)
}
/*
-ExtrasScheduledJobsDenyCreate Method for ExtrasScheduledJobsDenyCreate
+ExtrasScheduledJobsDestroy Method for ExtrasScheduledJobsDestroy
Retrieve a list of scheduled jobs
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id A UUID string identifying this scheduled job.
- @return ApiExtrasScheduledJobsDenyCreateRequest
+ @return ApiExtrasScheduledJobsDestroyRequest
*/
-func (a *ExtrasAPIService) ExtrasScheduledJobsDenyCreate(ctx context.Context, id string) ApiExtrasScheduledJobsDenyCreateRequest {
- return ApiExtrasScheduledJobsDenyCreateRequest{
+func (a *ExtrasAPIService) ExtrasScheduledJobsDestroy(ctx context.Context, id string) ApiExtrasScheduledJobsDestroyRequest {
+ return ApiExtrasScheduledJobsDestroyRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -77571,21 +74290,19 @@ func (a *ExtrasAPIService) ExtrasScheduledJobsDenyCreate(ctx context.Context, id
}
// Execute executes the request
-// @return ScheduledJob
-func (a *ExtrasAPIService) ExtrasScheduledJobsDenyCreateExecute(r ApiExtrasScheduledJobsDenyCreateRequest) (*ScheduledJob, *http.Response, error) {
+func (a *ExtrasAPIService) ExtrasScheduledJobsDestroyExecute(r ApiExtrasScheduledJobsDestroyRequest) (*http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPost
+ localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *ScheduledJob
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasScheduledJobsDenyCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ExtrasAPIService.ExtrasScheduledJobsDestroy")
if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/extras/scheduled-jobs/{id}/deny/"
+ localVarPath := localBasePath + "/extras/scheduled-jobs/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -77605,7 +74322,7 @@ func (a *ExtrasAPIService) ExtrasScheduledJobsDenyCreateExecute(r ApiExtrasSched
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+ localVarHTTPHeaderAccepts := []string{}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -77628,19 +74345,19 @@ func (a *ExtrasAPIService) ExtrasScheduledJobsDenyCreateExecute(r ApiExtrasSched
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
- return localVarReturnValue, nil, err
+ return nil, err
}
localVarHTTPResponse, err := a.client.callAPI(req)
if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
+ return localVarHTTPResponse, err
}
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
+ return localVarHTTPResponse, err
}
if localVarHTTPResponse.StatusCode >= 300 {
@@ -77648,19 +74365,10 @@ func (a *ExtrasAPIService) ExtrasScheduledJobsDenyCreateExecute(r ApiExtrasSched
body: localVarBody,
error: localVarHTTPResponse.Status,
}
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
+ return localVarHTTPResponse, newErr
}
- return localVarReturnValue, localVarHTTPResponse, nil
+ return localVarHTTPResponse, nil
}
type ApiExtrasScheduledJobsDryRunCreateRequest struct {
@@ -77794,19 +74502,7 @@ type ApiExtrasScheduledJobsListRequest struct {
ApiService *ExtrasAPIService
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
jobModel *[]string
jobModelIsnull *bool
jobModelN *[]string
@@ -77845,19 +74541,19 @@ type ApiExtrasScheduledJobsListRequest struct {
startTimeLte *[]time.Time
startTimeN *[]time.Time
timeZone *[]DcimLocationsListTimeZoneParameterInner
- timeZoneIc *[]DcimLocationsListTimeZoneParameterInner
- timeZoneIe *[]DcimLocationsListTimeZoneParameterInner
- timeZoneIew *[]DcimLocationsListTimeZoneParameterInner
- timeZoneIre *[]DcimLocationsListTimeZoneParameterInner
- timeZoneIsw *[]DcimLocationsListTimeZoneParameterInner
- timeZoneN *[]DcimLocationsListTimeZoneParameterInner
- timeZoneNic *[]DcimLocationsListTimeZoneParameterInner
- timeZoneNie *[]DcimLocationsListTimeZoneParameterInner
- timeZoneNiew *[]DcimLocationsListTimeZoneParameterInner
- timeZoneNire *[]DcimLocationsListTimeZoneParameterInner
- timeZoneNisw *[]DcimLocationsListTimeZoneParameterInner
- timeZoneNre *[]DcimLocationsListTimeZoneParameterInner
- timeZoneRe *[]DcimLocationsListTimeZoneParameterInner
+ timeZoneIc *[]string
+ timeZoneIe *[]string
+ timeZoneIew *[]string
+ timeZoneIre *[]string
+ timeZoneIsw *[]string
+ timeZoneN *[]string
+ timeZoneNic *[]string
+ timeZoneNie *[]string
+ timeZoneNiew *[]string
+ timeZoneNire *[]string
+ timeZoneNisw *[]string
+ timeZoneNre *[]string
+ timeZoneRe *[]string
totalRunCount *[]int32
totalRunCountGt *[]int32
totalRunCountGte *[]int32
@@ -77865,6 +74561,7 @@ type ApiExtrasScheduledJobsListRequest struct {
totalRunCountLte *[]int32
totalRunCountN *[]int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasScheduledJobsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasScheduledJobsListRequest {
@@ -77878,71 +74575,11 @@ func (r ApiExtrasScheduledJobsListRequest) Id(id []string) ApiExtrasScheduledJob
return r
}
-func (r ApiExtrasScheduledJobsListRequest) IdIc(idIc []string) ApiExtrasScheduledJobsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasScheduledJobsListRequest) IdIe(idIe []string) ApiExtrasScheduledJobsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasScheduledJobsListRequest) IdIew(idIew []string) ApiExtrasScheduledJobsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasScheduledJobsListRequest) IdIre(idIre []string) ApiExtrasScheduledJobsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasScheduledJobsListRequest) IdIsw(idIsw []string) ApiExtrasScheduledJobsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasScheduledJobsListRequest) IdN(idN []string) ApiExtrasScheduledJobsListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasScheduledJobsListRequest) IdNic(idNic []string) ApiExtrasScheduledJobsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasScheduledJobsListRequest) IdNie(idNie []string) ApiExtrasScheduledJobsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasScheduledJobsListRequest) IdNiew(idNiew []string) ApiExtrasScheduledJobsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasScheduledJobsListRequest) IdNire(idNire []string) ApiExtrasScheduledJobsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasScheduledJobsListRequest) IdNisw(idNisw []string) ApiExtrasScheduledJobsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasScheduledJobsListRequest) IdNre(idNre []string) ApiExtrasScheduledJobsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasScheduledJobsListRequest) IdRe(idRe []string) ApiExtrasScheduledJobsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiExtrasScheduledJobsListRequest) JobModel(jobModel []string) ApiExtrasScheduledJobsListRequest {
r.jobModel = &jobModel
return r
@@ -78142,80 +74779,80 @@ func (r ApiExtrasScheduledJobsListRequest) TimeZone(timeZone []DcimLocationsList
return r
}
-// Time zone
-func (r ApiExtrasScheduledJobsListRequest) TimeZoneIc(timeZoneIc []DcimLocationsListTimeZoneParameterInner) ApiExtrasScheduledJobsListRequest {
+// Time zone
+func (r ApiExtrasScheduledJobsListRequest) TimeZoneIc(timeZoneIc []string) ApiExtrasScheduledJobsListRequest {
r.timeZoneIc = &timeZoneIc
return r
}
-// Time zone
-func (r ApiExtrasScheduledJobsListRequest) TimeZoneIe(timeZoneIe []DcimLocationsListTimeZoneParameterInner) ApiExtrasScheduledJobsListRequest {
+// Time zone
+func (r ApiExtrasScheduledJobsListRequest) TimeZoneIe(timeZoneIe []string) ApiExtrasScheduledJobsListRequest {
r.timeZoneIe = &timeZoneIe
return r
}
-// Time zone
-func (r ApiExtrasScheduledJobsListRequest) TimeZoneIew(timeZoneIew []DcimLocationsListTimeZoneParameterInner) ApiExtrasScheduledJobsListRequest {
+// Time zone
+func (r ApiExtrasScheduledJobsListRequest) TimeZoneIew(timeZoneIew []string) ApiExtrasScheduledJobsListRequest {
r.timeZoneIew = &timeZoneIew
return r
}
-// Time zone
-func (r ApiExtrasScheduledJobsListRequest) TimeZoneIre(timeZoneIre []DcimLocationsListTimeZoneParameterInner) ApiExtrasScheduledJobsListRequest {
+// Time zone
+func (r ApiExtrasScheduledJobsListRequest) TimeZoneIre(timeZoneIre []string) ApiExtrasScheduledJobsListRequest {
r.timeZoneIre = &timeZoneIre
return r
}
-// Time zone
-func (r ApiExtrasScheduledJobsListRequest) TimeZoneIsw(timeZoneIsw []DcimLocationsListTimeZoneParameterInner) ApiExtrasScheduledJobsListRequest {
+// Time zone
+func (r ApiExtrasScheduledJobsListRequest) TimeZoneIsw(timeZoneIsw []string) ApiExtrasScheduledJobsListRequest {
r.timeZoneIsw = &timeZoneIsw
return r
}
-// Time zone
-func (r ApiExtrasScheduledJobsListRequest) TimeZoneN(timeZoneN []DcimLocationsListTimeZoneParameterInner) ApiExtrasScheduledJobsListRequest {
+// Time zone
+func (r ApiExtrasScheduledJobsListRequest) TimeZoneN(timeZoneN []string) ApiExtrasScheduledJobsListRequest {
r.timeZoneN = &timeZoneN
return r
}
-// Time zone
-func (r ApiExtrasScheduledJobsListRequest) TimeZoneNic(timeZoneNic []DcimLocationsListTimeZoneParameterInner) ApiExtrasScheduledJobsListRequest {
+// Time zone
+func (r ApiExtrasScheduledJobsListRequest) TimeZoneNic(timeZoneNic []string) ApiExtrasScheduledJobsListRequest {
r.timeZoneNic = &timeZoneNic
return r
}
-// Time zone
-func (r ApiExtrasScheduledJobsListRequest) TimeZoneNie(timeZoneNie []DcimLocationsListTimeZoneParameterInner) ApiExtrasScheduledJobsListRequest {
+// Time zone
+func (r ApiExtrasScheduledJobsListRequest) TimeZoneNie(timeZoneNie []string) ApiExtrasScheduledJobsListRequest {
r.timeZoneNie = &timeZoneNie
return r
}
-// Time zone
-func (r ApiExtrasScheduledJobsListRequest) TimeZoneNiew(timeZoneNiew []DcimLocationsListTimeZoneParameterInner) ApiExtrasScheduledJobsListRequest {
+// Time zone
+func (r ApiExtrasScheduledJobsListRequest) TimeZoneNiew(timeZoneNiew []string) ApiExtrasScheduledJobsListRequest {
r.timeZoneNiew = &timeZoneNiew
return r
}
-// Time zone
-func (r ApiExtrasScheduledJobsListRequest) TimeZoneNire(timeZoneNire []DcimLocationsListTimeZoneParameterInner) ApiExtrasScheduledJobsListRequest {
+// Time zone
+func (r ApiExtrasScheduledJobsListRequest) TimeZoneNire(timeZoneNire []string) ApiExtrasScheduledJobsListRequest {
r.timeZoneNire = &timeZoneNire
return r
}
-// Time zone
-func (r ApiExtrasScheduledJobsListRequest) TimeZoneNisw(timeZoneNisw []DcimLocationsListTimeZoneParameterInner) ApiExtrasScheduledJobsListRequest {
+// Time zone
+func (r ApiExtrasScheduledJobsListRequest) TimeZoneNisw(timeZoneNisw []string) ApiExtrasScheduledJobsListRequest {
r.timeZoneNisw = &timeZoneNisw
return r
}
-// Time zone
-func (r ApiExtrasScheduledJobsListRequest) TimeZoneNre(timeZoneNre []DcimLocationsListTimeZoneParameterInner) ApiExtrasScheduledJobsListRequest {
+// Time zone
+func (r ApiExtrasScheduledJobsListRequest) TimeZoneNre(timeZoneNre []string) ApiExtrasScheduledJobsListRequest {
r.timeZoneNre = &timeZoneNre
return r
}
-// Time zone
-func (r ApiExtrasScheduledJobsListRequest) TimeZoneRe(timeZoneRe []DcimLocationsListTimeZoneParameterInner) ApiExtrasScheduledJobsListRequest {
+// Time zone
+func (r ApiExtrasScheduledJobsListRequest) TimeZoneRe(timeZoneRe []string) ApiExtrasScheduledJobsListRequest {
r.timeZoneRe = &timeZoneRe
return r
}
@@ -78256,6 +74893,12 @@ func (r ApiExtrasScheduledJobsListRequest) Depth(depth int32) ApiExtrasScheduled
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasScheduledJobsListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasScheduledJobsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasScheduledJobsListRequest) Execute() (*PaginatedScheduledJobList, *http.Response, error) {
return r.ApiService.ExtrasScheduledJobsListExecute(r)
}
@@ -78310,61 +74953,6 @@ func (a *ExtrasAPIService) ExtrasScheduledJobsListExecute(r ApiExtrasScheduledJo
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -78376,83 +74964,6 @@ func (a *ExtrasAPIService) ExtrasScheduledJobsListExecute(r ApiExtrasScheduledJo
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.jobModel != nil {
t := *r.jobModel
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -79027,8 +75538,16 @@ func (a *ExtrasAPIService) ExtrasScheduledJobsListExecute(r ApiExtrasScheduledJo
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -79104,6 +75623,7 @@ type ApiExtrasScheduledJobsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasScheduledJobsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasScheduledJobsRetrieveRequest {
@@ -79117,6 +75637,12 @@ func (r ApiExtrasScheduledJobsRetrieveRequest) Depth(depth int32) ApiExtrasSched
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasScheduledJobsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasScheduledJobsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasScheduledJobsRetrieveRequest) Execute() (*ScheduledJob, *http.Response, error) {
return r.ApiService.ExtrasScheduledJobsRetrieveExecute(r)
}
@@ -79166,8 +75692,16 @@ func (a *ExtrasAPIService) ExtrasScheduledJobsRetrieveExecute(r ApiExtrasSchedul
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -79631,6 +76165,7 @@ type ApiExtrasSecretsCheckRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasSecretsCheckRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasSecretsCheckRetrieveRequest {
@@ -79644,6 +76179,12 @@ func (r ApiExtrasSecretsCheckRetrieveRequest) Depth(depth int32) ApiExtrasSecret
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasSecretsCheckRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasSecretsCheckRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasSecretsCheckRetrieveRequest) Execute() (*ExtrasSecretsCheckRetrieve200Response, *http.Response, error) {
return r.ApiService.ExtrasSecretsCheckRetrieveExecute(r)
}
@@ -79693,8 +76234,16 @@ func (a *ExtrasAPIService) ExtrasSecretsCheckRetrieveExecute(r ApiExtrasSecretsC
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -80667,19 +77216,7 @@ type ApiExtrasSecretsGroupsAssociationsListRequest struct {
accessTypeRe *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
limit *int32
offset *int32
q *string
@@ -80705,6 +77242,7 @@ type ApiExtrasSecretsGroupsAssociationsListRequest struct {
secretsGroupN *[]string
sort *string
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasSecretsGroupsAssociationsListRequest) AccessType(accessType []string) ApiExtrasSecretsGroupsAssociationsListRequest {
@@ -80788,71 +77326,11 @@ func (r ApiExtrasSecretsGroupsAssociationsListRequest) Id(id []string) ApiExtras
return r
}
-func (r ApiExtrasSecretsGroupsAssociationsListRequest) IdIc(idIc []string) ApiExtrasSecretsGroupsAssociationsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasSecretsGroupsAssociationsListRequest) IdIe(idIe []string) ApiExtrasSecretsGroupsAssociationsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasSecretsGroupsAssociationsListRequest) IdIew(idIew []string) ApiExtrasSecretsGroupsAssociationsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasSecretsGroupsAssociationsListRequest) IdIre(idIre []string) ApiExtrasSecretsGroupsAssociationsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasSecretsGroupsAssociationsListRequest) IdIsw(idIsw []string) ApiExtrasSecretsGroupsAssociationsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasSecretsGroupsAssociationsListRequest) IdN(idN []string) ApiExtrasSecretsGroupsAssociationsListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasSecretsGroupsAssociationsListRequest) IdNic(idNic []string) ApiExtrasSecretsGroupsAssociationsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasSecretsGroupsAssociationsListRequest) IdNie(idNie []string) ApiExtrasSecretsGroupsAssociationsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasSecretsGroupsAssociationsListRequest) IdNiew(idNiew []string) ApiExtrasSecretsGroupsAssociationsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasSecretsGroupsAssociationsListRequest) IdNire(idNire []string) ApiExtrasSecretsGroupsAssociationsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasSecretsGroupsAssociationsListRequest) IdNisw(idNisw []string) ApiExtrasSecretsGroupsAssociationsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasSecretsGroupsAssociationsListRequest) IdNre(idNre []string) ApiExtrasSecretsGroupsAssociationsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasSecretsGroupsAssociationsListRequest) IdRe(idRe []string) ApiExtrasSecretsGroupsAssociationsListRequest {
- r.idRe = &idRe
- return r
-}
-
// Number of results to return per page.
func (r ApiExtrasSecretsGroupsAssociationsListRequest) Limit(limit int32) ApiExtrasSecretsGroupsAssociationsListRequest {
r.limit = &limit
@@ -80985,6 +77463,12 @@ func (r ApiExtrasSecretsGroupsAssociationsListRequest) Depth(depth int32) ApiExt
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasSecretsGroupsAssociationsListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasSecretsGroupsAssociationsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasSecretsGroupsAssociationsListRequest) Execute() (*PaginatedSecretsGroupAssociationList, *http.Response, error) {
return r.ApiService.ExtrasSecretsGroupsAssociationsListExecute(r)
}
@@ -81193,61 +77677,6 @@ func (a *ExtrasAPIService) ExtrasSecretsGroupsAssociationsListExecute(r ApiExtra
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -81259,83 +77688,6 @@ func (a *ExtrasAPIService) ExtrasSecretsGroupsAssociationsListExecute(r ApiExtra
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.limit != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
@@ -81571,8 +77923,16 @@ func (a *ExtrasAPIService) ExtrasSecretsGroupsAssociationsListExecute(r ApiExtra
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -81782,6 +78142,7 @@ type ApiExtrasSecretsGroupsAssociationsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasSecretsGroupsAssociationsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasSecretsGroupsAssociationsRetrieveRequest {
@@ -81795,6 +78156,12 @@ func (r ApiExtrasSecretsGroupsAssociationsRetrieveRequest) Depth(depth int32) Ap
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasSecretsGroupsAssociationsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasSecretsGroupsAssociationsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasSecretsGroupsAssociationsRetrieveRequest) Execute() (*SecretsGroupAssociation, *http.Response, error) {
return r.ApiService.ExtrasSecretsGroupsAssociationsRetrieveExecute(r)
}
@@ -81844,8 +78211,16 @@ func (a *ExtrasAPIService) ExtrasSecretsGroupsAssociationsRetrieveExecute(r ApiE
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -82693,7 +79068,7 @@ type ApiExtrasSecretsGroupsListRequest struct {
ApiService *ExtrasAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -82702,22 +79077,10 @@ type ApiExtrasSecretsGroupsListRequest struct {
createdLte *[]time.Time
createdN *[]time.Time
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -82742,11 +79105,14 @@ type ApiExtrasSecretsGroupsListRequest struct {
nameRe *[]string
offset *int32
q *string
+ secrets *[]string
+ secretsN *[]string
sort *string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasSecretsGroupsListRequest) Contacts(contacts []string) ApiExtrasSecretsGroupsListRequest {
@@ -82760,8 +79126,7 @@ func (r ApiExtrasSecretsGroupsListRequest) ContactsIsnull(contactsIsnull bool) A
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiExtrasSecretsGroupsListRequest) ContactsN(contactsN string) ApiExtrasSecretsGroupsListRequest {
+func (r ApiExtrasSecretsGroupsListRequest) ContactsN(contactsN []string) ApiExtrasSecretsGroupsListRequest {
r.contactsN = &contactsN
return r
}
@@ -82806,8 +79171,7 @@ func (r ApiExtrasSecretsGroupsListRequest) DynamicGroups(dynamicGroups []string)
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiExtrasSecretsGroupsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiExtrasSecretsGroupsListRequest {
+func (r ApiExtrasSecretsGroupsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiExtrasSecretsGroupsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -82823,71 +79187,11 @@ func (r ApiExtrasSecretsGroupsListRequest) Id(id []string) ApiExtrasSecretsGroup
return r
}
-func (r ApiExtrasSecretsGroupsListRequest) IdIc(idIc []string) ApiExtrasSecretsGroupsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasSecretsGroupsListRequest) IdIe(idIe []string) ApiExtrasSecretsGroupsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasSecretsGroupsListRequest) IdIew(idIew []string) ApiExtrasSecretsGroupsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasSecretsGroupsListRequest) IdIre(idIre []string) ApiExtrasSecretsGroupsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasSecretsGroupsListRequest) IdIsw(idIsw []string) ApiExtrasSecretsGroupsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasSecretsGroupsListRequest) IdN(idN []string) ApiExtrasSecretsGroupsListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasSecretsGroupsListRequest) IdNic(idNic []string) ApiExtrasSecretsGroupsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasSecretsGroupsListRequest) IdNie(idNie []string) ApiExtrasSecretsGroupsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasSecretsGroupsListRequest) IdNiew(idNiew []string) ApiExtrasSecretsGroupsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasSecretsGroupsListRequest) IdNire(idNire []string) ApiExtrasSecretsGroupsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasSecretsGroupsListRequest) IdNisw(idNisw []string) ApiExtrasSecretsGroupsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasSecretsGroupsListRequest) IdNre(idNre []string) ApiExtrasSecretsGroupsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasSecretsGroupsListRequest) IdRe(idRe []string) ApiExtrasSecretsGroupsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiExtrasSecretsGroupsListRequest) LastUpdated(lastUpdated []time.Time) ApiExtrasSecretsGroupsListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -83011,6 +79315,16 @@ func (r ApiExtrasSecretsGroupsListRequest) Q(q string) ApiExtrasSecretsGroupsLis
return r
}
+func (r ApiExtrasSecretsGroupsListRequest) Secrets(secrets []string) ApiExtrasSecretsGroupsListRequest {
+ r.secrets = &secrets
+ return r
+}
+
+func (r ApiExtrasSecretsGroupsListRequest) SecretsN(secretsN []string) ApiExtrasSecretsGroupsListRequest {
+ r.secretsN = &secretsN
+ return r
+}
+
// Which field to use when ordering the results.
func (r ApiExtrasSecretsGroupsListRequest) Sort(sort string) ApiExtrasSecretsGroupsListRequest {
r.sort = &sort
@@ -83028,8 +79342,7 @@ func (r ApiExtrasSecretsGroupsListRequest) TeamsIsnull(teamsIsnull bool) ApiExtr
return r
}
-// Exclude Teams (name or ID)
-func (r ApiExtrasSecretsGroupsListRequest) TeamsN(teamsN string) ApiExtrasSecretsGroupsListRequest {
+func (r ApiExtrasSecretsGroupsListRequest) TeamsN(teamsN []string) ApiExtrasSecretsGroupsListRequest {
r.teamsN = &teamsN
return r
}
@@ -83040,6 +79353,12 @@ func (r ApiExtrasSecretsGroupsListRequest) Depth(depth int32) ApiExtrasSecretsGr
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasSecretsGroupsListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasSecretsGroupsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasSecretsGroupsListRequest) Execute() (*PaginatedSecretsGroupList, *http.Response, error) {
return r.ApiService.ExtrasSecretsGroupsListExecute(r)
}
@@ -83095,7 +79414,15 @@ func (a *ExtrasAPIService) ExtrasSecretsGroupsListExecute(r ApiExtrasSecretsGrou
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -83178,75 +79505,28 @@ func (a *ExtrasAPIService) ExtrasSecretsGroupsListExecute(r ApiExtrasSecretsGrou
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.id != nil {
- t := *r.id
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
- }
- }
- if r.idIc != nil {
- t := *r.idIc
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
if r.idN != nil {
@@ -83260,83 +79540,6 @@ func (a *ExtrasAPIService) ExtrasSecretsGroupsListExecute(r ApiExtrasSecretsGrou
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -83569,6 +79772,28 @@ func (a *ExtrasAPIService) ExtrasSecretsGroupsListExecute(r ApiExtrasSecretsGrou
if r.q != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
}
+ if r.secrets != nil {
+ t := *r.secrets
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "secrets", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "secrets", t, "form", "multi")
+ }
+ }
+ if r.secretsN != nil {
+ t := *r.secretsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "secrets__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "secrets__n", t, "form", "multi")
+ }
+ }
if r.sort != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
}
@@ -83587,13 +79812,29 @@ func (a *ExtrasAPIService) ExtrasSecretsGroupsListExecute(r ApiExtrasSecretsGrou
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -83808,6 +80049,7 @@ type ApiExtrasSecretsGroupsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasSecretsGroupsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasSecretsGroupsNotesListRequest {
@@ -83833,6 +80075,12 @@ func (r ApiExtrasSecretsGroupsNotesListRequest) Depth(depth int32) ApiExtrasSecr
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasSecretsGroupsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasSecretsGroupsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasSecretsGroupsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.ExtrasSecretsGroupsNotesListExecute(r)
}
@@ -83888,8 +80136,16 @@ func (a *ExtrasAPIService) ExtrasSecretsGroupsNotesListExecute(r ApiExtrasSecret
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -84099,6 +80355,7 @@ type ApiExtrasSecretsGroupsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasSecretsGroupsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasSecretsGroupsRetrieveRequest {
@@ -84112,6 +80369,12 @@ func (r ApiExtrasSecretsGroupsRetrieveRequest) Depth(depth int32) ApiExtrasSecre
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasSecretsGroupsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasSecretsGroupsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasSecretsGroupsRetrieveRequest) Execute() (*SecretsGroup, *http.Response, error) {
return r.ApiService.ExtrasSecretsGroupsRetrieveExecute(r)
}
@@ -84161,8 +80424,16 @@ func (a *ExtrasAPIService) ExtrasSecretsGroupsRetrieveExecute(r ApiExtrasSecrets
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -84374,7 +80645,7 @@ type ApiExtrasSecretsListRequest struct {
ApiService *ExtrasAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -84383,22 +80654,10 @@ type ApiExtrasSecretsListRequest struct {
createdLte *[]time.Time
createdN *[]time.Time
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -84443,8 +80702,9 @@ type ApiExtrasSecretsListRequest struct {
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasSecretsListRequest) Contacts(contacts []string) ApiExtrasSecretsListRequest {
@@ -84458,8 +80718,7 @@ func (r ApiExtrasSecretsListRequest) ContactsIsnull(contactsIsnull bool) ApiExtr
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiExtrasSecretsListRequest) ContactsN(contactsN string) ApiExtrasSecretsListRequest {
+func (r ApiExtrasSecretsListRequest) ContactsN(contactsN []string) ApiExtrasSecretsListRequest {
r.contactsN = &contactsN
return r
}
@@ -84504,8 +80763,7 @@ func (r ApiExtrasSecretsListRequest) DynamicGroups(dynamicGroups []string) ApiEx
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiExtrasSecretsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiExtrasSecretsListRequest {
+func (r ApiExtrasSecretsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiExtrasSecretsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -84521,71 +80779,11 @@ func (r ApiExtrasSecretsListRequest) Id(id []string) ApiExtrasSecretsListRequest
return r
}
-func (r ApiExtrasSecretsListRequest) IdIc(idIc []string) ApiExtrasSecretsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasSecretsListRequest) IdIe(idIe []string) ApiExtrasSecretsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasSecretsListRequest) IdIew(idIew []string) ApiExtrasSecretsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasSecretsListRequest) IdIre(idIre []string) ApiExtrasSecretsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasSecretsListRequest) IdIsw(idIsw []string) ApiExtrasSecretsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasSecretsListRequest) IdN(idN []string) ApiExtrasSecretsListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasSecretsListRequest) IdNic(idNic []string) ApiExtrasSecretsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasSecretsListRequest) IdNie(idNie []string) ApiExtrasSecretsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasSecretsListRequest) IdNiew(idNiew []string) ApiExtrasSecretsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasSecretsListRequest) IdNire(idNire []string) ApiExtrasSecretsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasSecretsListRequest) IdNisw(idNisw []string) ApiExtrasSecretsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasSecretsListRequest) IdNre(idNre []string) ApiExtrasSecretsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasSecretsListRequest) IdRe(idRe []string) ApiExtrasSecretsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiExtrasSecretsListRequest) LastUpdated(lastUpdated []time.Time) ApiExtrasSecretsListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -84811,8 +81009,7 @@ func (r ApiExtrasSecretsListRequest) TeamsIsnull(teamsIsnull bool) ApiExtrasSecr
return r
}
-// Exclude Teams (name or ID)
-func (r ApiExtrasSecretsListRequest) TeamsN(teamsN string) ApiExtrasSecretsListRequest {
+func (r ApiExtrasSecretsListRequest) TeamsN(teamsN []string) ApiExtrasSecretsListRequest {
r.teamsN = &teamsN
return r
}
@@ -84823,6 +81020,12 @@ func (r ApiExtrasSecretsListRequest) Depth(depth int32) ApiExtrasSecretsListRequ
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasSecretsListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasSecretsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasSecretsListRequest) Execute() (*PaginatedSecretList, *http.Response, error) {
return r.ApiService.ExtrasSecretsListExecute(r)
}
@@ -84878,7 +81081,15 @@ func (a *ExtrasAPIService) ExtrasSecretsListExecute(r ApiExtrasSecretsListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -84961,75 +81172,28 @@ func (a *ExtrasAPIService) ExtrasSecretsListExecute(r ApiExtrasSecretsListReques
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.id != nil {
- t := *r.id
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
- }
- }
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
if r.idN != nil {
@@ -85043,83 +81207,6 @@ func (a *ExtrasAPIService) ExtrasSecretsListExecute(r ApiExtrasSecretsListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -85549,13 +81636,29 @@ func (a *ExtrasAPIService) ExtrasSecretsListExecute(r ApiExtrasSecretsListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -85770,6 +81873,7 @@ type ApiExtrasSecretsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasSecretsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasSecretsNotesListRequest {
@@ -85795,6 +81899,12 @@ func (r ApiExtrasSecretsNotesListRequest) Depth(depth int32) ApiExtrasSecretsNot
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasSecretsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasSecretsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasSecretsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.ExtrasSecretsNotesListExecute(r)
}
@@ -85850,8 +81960,16 @@ func (a *ExtrasAPIService) ExtrasSecretsNotesListExecute(r ApiExtrasSecretsNotes
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -86061,6 +82179,7 @@ type ApiExtrasSecretsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasSecretsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasSecretsRetrieveRequest {
@@ -86074,6 +82193,12 @@ func (r ApiExtrasSecretsRetrieveRequest) Depth(depth int32) ApiExtrasSecretsRetr
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasSecretsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasSecretsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasSecretsRetrieveRequest) Execute() (*Secret, *http.Response, error) {
return r.ApiService.ExtrasSecretsRetrieveExecute(r)
}
@@ -86123,8 +82248,16 @@ func (a *ExtrasAPIService) ExtrasSecretsRetrieveExecute(r ApiExtrasSecretsRetrie
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -86971,19 +83104,7 @@ type ApiExtrasStaticGroupAssociationsListRequest struct {
ctx context.Context
ApiService *ExtrasAPIService
associatedObjectId *[]string
- associatedObjectIdIc *[]string
- associatedObjectIdIe *[]string
- associatedObjectIdIew *[]string
- associatedObjectIdIre *[]string
- associatedObjectIdIsw *[]string
associatedObjectIdN *[]string
- associatedObjectIdNic *[]string
- associatedObjectIdNie *[]string
- associatedObjectIdNiew *[]string
- associatedObjectIdNire *[]string
- associatedObjectIdNisw *[]string
- associatedObjectIdNre *[]string
- associatedObjectIdRe *[]string
associatedObjectType *[]int32
associatedObjectTypeN *[]int32
created *[]time.Time
@@ -86997,19 +83118,7 @@ type ApiExtrasStaticGroupAssociationsListRequest struct {
dynamicGroupN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -87022,6 +83131,7 @@ type ApiExtrasStaticGroupAssociationsListRequest struct {
q *string
sort *string
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasStaticGroupAssociationsListRequest) AssociatedObjectId(associatedObjectId []string) ApiExtrasStaticGroupAssociationsListRequest {
@@ -87029,71 +83139,11 @@ func (r ApiExtrasStaticGroupAssociationsListRequest) AssociatedObjectId(associat
return r
}
-func (r ApiExtrasStaticGroupAssociationsListRequest) AssociatedObjectIdIc(associatedObjectIdIc []string) ApiExtrasStaticGroupAssociationsListRequest {
- r.associatedObjectIdIc = &associatedObjectIdIc
- return r
-}
-
-func (r ApiExtrasStaticGroupAssociationsListRequest) AssociatedObjectIdIe(associatedObjectIdIe []string) ApiExtrasStaticGroupAssociationsListRequest {
- r.associatedObjectIdIe = &associatedObjectIdIe
- return r
-}
-
-func (r ApiExtrasStaticGroupAssociationsListRequest) AssociatedObjectIdIew(associatedObjectIdIew []string) ApiExtrasStaticGroupAssociationsListRequest {
- r.associatedObjectIdIew = &associatedObjectIdIew
- return r
-}
-
-func (r ApiExtrasStaticGroupAssociationsListRequest) AssociatedObjectIdIre(associatedObjectIdIre []string) ApiExtrasStaticGroupAssociationsListRequest {
- r.associatedObjectIdIre = &associatedObjectIdIre
- return r
-}
-
-func (r ApiExtrasStaticGroupAssociationsListRequest) AssociatedObjectIdIsw(associatedObjectIdIsw []string) ApiExtrasStaticGroupAssociationsListRequest {
- r.associatedObjectIdIsw = &associatedObjectIdIsw
- return r
-}
-
func (r ApiExtrasStaticGroupAssociationsListRequest) AssociatedObjectIdN(associatedObjectIdN []string) ApiExtrasStaticGroupAssociationsListRequest {
r.associatedObjectIdN = &associatedObjectIdN
return r
}
-func (r ApiExtrasStaticGroupAssociationsListRequest) AssociatedObjectIdNic(associatedObjectIdNic []string) ApiExtrasStaticGroupAssociationsListRequest {
- r.associatedObjectIdNic = &associatedObjectIdNic
- return r
-}
-
-func (r ApiExtrasStaticGroupAssociationsListRequest) AssociatedObjectIdNie(associatedObjectIdNie []string) ApiExtrasStaticGroupAssociationsListRequest {
- r.associatedObjectIdNie = &associatedObjectIdNie
- return r
-}
-
-func (r ApiExtrasStaticGroupAssociationsListRequest) AssociatedObjectIdNiew(associatedObjectIdNiew []string) ApiExtrasStaticGroupAssociationsListRequest {
- r.associatedObjectIdNiew = &associatedObjectIdNiew
- return r
-}
-
-func (r ApiExtrasStaticGroupAssociationsListRequest) AssociatedObjectIdNire(associatedObjectIdNire []string) ApiExtrasStaticGroupAssociationsListRequest {
- r.associatedObjectIdNire = &associatedObjectIdNire
- return r
-}
-
-func (r ApiExtrasStaticGroupAssociationsListRequest) AssociatedObjectIdNisw(associatedObjectIdNisw []string) ApiExtrasStaticGroupAssociationsListRequest {
- r.associatedObjectIdNisw = &associatedObjectIdNisw
- return r
-}
-
-func (r ApiExtrasStaticGroupAssociationsListRequest) AssociatedObjectIdNre(associatedObjectIdNre []string) ApiExtrasStaticGroupAssociationsListRequest {
- r.associatedObjectIdNre = &associatedObjectIdNre
- return r
-}
-
-func (r ApiExtrasStaticGroupAssociationsListRequest) AssociatedObjectIdRe(associatedObjectIdRe []string) ApiExtrasStaticGroupAssociationsListRequest {
- r.associatedObjectIdRe = &associatedObjectIdRe
- return r
-}
-
func (r ApiExtrasStaticGroupAssociationsListRequest) AssociatedObjectType(associatedObjectType []int32) ApiExtrasStaticGroupAssociationsListRequest {
r.associatedObjectType = &associatedObjectType
return r
@@ -87160,71 +83210,11 @@ func (r ApiExtrasStaticGroupAssociationsListRequest) Id(id []string) ApiExtrasSt
return r
}
-func (r ApiExtrasStaticGroupAssociationsListRequest) IdIc(idIc []string) ApiExtrasStaticGroupAssociationsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasStaticGroupAssociationsListRequest) IdIe(idIe []string) ApiExtrasStaticGroupAssociationsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasStaticGroupAssociationsListRequest) IdIew(idIew []string) ApiExtrasStaticGroupAssociationsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasStaticGroupAssociationsListRequest) IdIre(idIre []string) ApiExtrasStaticGroupAssociationsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasStaticGroupAssociationsListRequest) IdIsw(idIsw []string) ApiExtrasStaticGroupAssociationsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasStaticGroupAssociationsListRequest) IdN(idN []string) ApiExtrasStaticGroupAssociationsListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasStaticGroupAssociationsListRequest) IdNic(idNic []string) ApiExtrasStaticGroupAssociationsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasStaticGroupAssociationsListRequest) IdNie(idNie []string) ApiExtrasStaticGroupAssociationsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasStaticGroupAssociationsListRequest) IdNiew(idNiew []string) ApiExtrasStaticGroupAssociationsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasStaticGroupAssociationsListRequest) IdNire(idNire []string) ApiExtrasStaticGroupAssociationsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasStaticGroupAssociationsListRequest) IdNisw(idNisw []string) ApiExtrasStaticGroupAssociationsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasStaticGroupAssociationsListRequest) IdNre(idNre []string) ApiExtrasStaticGroupAssociationsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasStaticGroupAssociationsListRequest) IdRe(idRe []string) ApiExtrasStaticGroupAssociationsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiExtrasStaticGroupAssociationsListRequest) LastUpdated(lastUpdated []time.Time) ApiExtrasStaticGroupAssociationsListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -87290,6 +83280,12 @@ func (r ApiExtrasStaticGroupAssociationsListRequest) Depth(depth int32) ApiExtra
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasStaticGroupAssociationsListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasStaticGroupAssociationsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasStaticGroupAssociationsListRequest) Execute() (*PaginatedStaticGroupAssociationList, *http.Response, error) {
return r.ApiService.ExtrasStaticGroupAssociationsListExecute(r)
}
@@ -87341,61 +83337,6 @@ func (a *ExtrasAPIService) ExtrasStaticGroupAssociationsListExecute(r ApiExtrasS
parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id", t, "form", "multi")
}
}
- if r.associatedObjectIdIc != nil {
- t := *r.associatedObjectIdIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__ic", t, "form", "multi")
- }
- }
- if r.associatedObjectIdIe != nil {
- t := *r.associatedObjectIdIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__ie", t, "form", "multi")
- }
- }
- if r.associatedObjectIdIew != nil {
- t := *r.associatedObjectIdIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__iew", t, "form", "multi")
- }
- }
- if r.associatedObjectIdIre != nil {
- t := *r.associatedObjectIdIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__ire", t, "form", "multi")
- }
- }
- if r.associatedObjectIdIsw != nil {
- t := *r.associatedObjectIdIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__isw", t, "form", "multi")
- }
- }
if r.associatedObjectIdN != nil {
t := *r.associatedObjectIdN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -87407,83 +83348,6 @@ func (a *ExtrasAPIService) ExtrasStaticGroupAssociationsListExecute(r ApiExtrasS
parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__n", t, "form", "multi")
}
}
- if r.associatedObjectIdNic != nil {
- t := *r.associatedObjectIdNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__nic", t, "form", "multi")
- }
- }
- if r.associatedObjectIdNie != nil {
- t := *r.associatedObjectIdNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__nie", t, "form", "multi")
- }
- }
- if r.associatedObjectIdNiew != nil {
- t := *r.associatedObjectIdNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__niew", t, "form", "multi")
- }
- }
- if r.associatedObjectIdNire != nil {
- t := *r.associatedObjectIdNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__nire", t, "form", "multi")
- }
- }
- if r.associatedObjectIdNisw != nil {
- t := *r.associatedObjectIdNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__nisw", t, "form", "multi")
- }
- }
- if r.associatedObjectIdNre != nil {
- t := *r.associatedObjectIdNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__nre", t, "form", "multi")
- }
- }
- if r.associatedObjectIdRe != nil {
- t := *r.associatedObjectIdRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "associated_object_id__re", t, "form", "multi")
- }
- }
if r.associatedObjectType != nil {
t := *r.associatedObjectType
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -87611,61 +83475,6 @@ func (a *ExtrasAPIService) ExtrasStaticGroupAssociationsListExecute(r ApiExtrasS
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -87677,83 +83486,6 @@ func (a *ExtrasAPIService) ExtrasStaticGroupAssociationsListExecute(r ApiExtrasS
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -87838,8 +83570,16 @@ func (a *ExtrasAPIService) ExtrasStaticGroupAssociationsListExecute(r ApiExtrasS
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -88054,6 +83794,7 @@ type ApiExtrasStaticGroupAssociationsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasStaticGroupAssociationsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasStaticGroupAssociationsNotesListRequest {
@@ -88079,6 +83820,12 @@ func (r ApiExtrasStaticGroupAssociationsNotesListRequest) Depth(depth int32) Api
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasStaticGroupAssociationsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasStaticGroupAssociationsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasStaticGroupAssociationsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.ExtrasStaticGroupAssociationsNotesListExecute(r)
}
@@ -88134,8 +83881,16 @@ func (a *ExtrasAPIService) ExtrasStaticGroupAssociationsNotesListExecute(r ApiEx
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -88345,6 +84100,7 @@ type ApiExtrasStaticGroupAssociationsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasStaticGroupAssociationsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasStaticGroupAssociationsRetrieveRequest {
@@ -88358,6 +84114,12 @@ func (r ApiExtrasStaticGroupAssociationsRetrieveRequest) Depth(depth int32) ApiE
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasStaticGroupAssociationsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasStaticGroupAssociationsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasStaticGroupAssociationsRetrieveRequest) Execute() (*StaticGroupAssociation, *http.Response, error) {
return r.ApiService.ExtrasStaticGroupAssociationsRetrieveExecute(r)
}
@@ -88407,8 +84169,16 @@ func (a *ExtrasAPIService) ExtrasStaticGroupAssociationsRetrieveExecute(r ApiExt
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -89270,21 +85040,9 @@ type ApiExtrasStatusesListRequest struct {
colorRe *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
contentTypes *[]int32
- contentTypesIc *[]int32
- contentTypesIe *[]int32
- contentTypesIew *[]int32
- contentTypesIre *[]int32
- contentTypesIsw *[]int32
contentTypesN *[]int32
- contentTypesNic *[]int32
- contentTypesNie *[]int32
- contentTypesNiew *[]int32
- contentTypesNire *[]int32
- contentTypesNisw *[]int32
- contentTypesNre *[]int32
- contentTypesRe *[]int32
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -89293,22 +85051,10 @@ type ApiExtrasStatusesListRequest struct {
createdLte *[]time.Time
createdN *[]time.Time
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -89336,8 +85082,9 @@ type ApiExtrasStatusesListRequest struct {
sort *string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasStatusesListRequest) Color(color []string) ApiExtrasStatusesListRequest {
@@ -89421,8 +85168,7 @@ func (r ApiExtrasStatusesListRequest) ContactsIsnull(contactsIsnull bool) ApiExt
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiExtrasStatusesListRequest) ContactsN(contactsN string) ApiExtrasStatusesListRequest {
+func (r ApiExtrasStatusesListRequest) ContactsN(contactsN []string) ApiExtrasStatusesListRequest {
r.contactsN = &contactsN
return r
}
@@ -89432,71 +85178,11 @@ func (r ApiExtrasStatusesListRequest) ContentTypes(contentTypes []int32) ApiExtr
return r
}
-func (r ApiExtrasStatusesListRequest) ContentTypesIc(contentTypesIc []int32) ApiExtrasStatusesListRequest {
- r.contentTypesIc = &contentTypesIc
- return r
-}
-
-func (r ApiExtrasStatusesListRequest) ContentTypesIe(contentTypesIe []int32) ApiExtrasStatusesListRequest {
- r.contentTypesIe = &contentTypesIe
- return r
-}
-
-func (r ApiExtrasStatusesListRequest) ContentTypesIew(contentTypesIew []int32) ApiExtrasStatusesListRequest {
- r.contentTypesIew = &contentTypesIew
- return r
-}
-
-func (r ApiExtrasStatusesListRequest) ContentTypesIre(contentTypesIre []int32) ApiExtrasStatusesListRequest {
- r.contentTypesIre = &contentTypesIre
- return r
-}
-
-func (r ApiExtrasStatusesListRequest) ContentTypesIsw(contentTypesIsw []int32) ApiExtrasStatusesListRequest {
- r.contentTypesIsw = &contentTypesIsw
- return r
-}
-
func (r ApiExtrasStatusesListRequest) ContentTypesN(contentTypesN []int32) ApiExtrasStatusesListRequest {
r.contentTypesN = &contentTypesN
return r
}
-func (r ApiExtrasStatusesListRequest) ContentTypesNic(contentTypesNic []int32) ApiExtrasStatusesListRequest {
- r.contentTypesNic = &contentTypesNic
- return r
-}
-
-func (r ApiExtrasStatusesListRequest) ContentTypesNie(contentTypesNie []int32) ApiExtrasStatusesListRequest {
- r.contentTypesNie = &contentTypesNie
- return r
-}
-
-func (r ApiExtrasStatusesListRequest) ContentTypesNiew(contentTypesNiew []int32) ApiExtrasStatusesListRequest {
- r.contentTypesNiew = &contentTypesNiew
- return r
-}
-
-func (r ApiExtrasStatusesListRequest) ContentTypesNire(contentTypesNire []int32) ApiExtrasStatusesListRequest {
- r.contentTypesNire = &contentTypesNire
- return r
-}
-
-func (r ApiExtrasStatusesListRequest) ContentTypesNisw(contentTypesNisw []int32) ApiExtrasStatusesListRequest {
- r.contentTypesNisw = &contentTypesNisw
- return r
-}
-
-func (r ApiExtrasStatusesListRequest) ContentTypesNre(contentTypesNre []int32) ApiExtrasStatusesListRequest {
- r.contentTypesNre = &contentTypesNre
- return r
-}
-
-func (r ApiExtrasStatusesListRequest) ContentTypesRe(contentTypesRe []int32) ApiExtrasStatusesListRequest {
- r.contentTypesRe = &contentTypesRe
- return r
-}
-
func (r ApiExtrasStatusesListRequest) Created(created []time.Time) ApiExtrasStatusesListRequest {
r.created = &created
return r
@@ -89537,8 +85223,7 @@ func (r ApiExtrasStatusesListRequest) DynamicGroups(dynamicGroups []string) ApiE
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiExtrasStatusesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiExtrasStatusesListRequest {
+func (r ApiExtrasStatusesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiExtrasStatusesListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -89554,71 +85239,11 @@ func (r ApiExtrasStatusesListRequest) Id(id []string) ApiExtrasStatusesListReque
return r
}
-func (r ApiExtrasStatusesListRequest) IdIc(idIc []string) ApiExtrasStatusesListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasStatusesListRequest) IdIe(idIe []string) ApiExtrasStatusesListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasStatusesListRequest) IdIew(idIew []string) ApiExtrasStatusesListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasStatusesListRequest) IdIre(idIre []string) ApiExtrasStatusesListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasStatusesListRequest) IdIsw(idIsw []string) ApiExtrasStatusesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasStatusesListRequest) IdN(idN []string) ApiExtrasStatusesListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasStatusesListRequest) IdNic(idNic []string) ApiExtrasStatusesListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasStatusesListRequest) IdNie(idNie []string) ApiExtrasStatusesListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasStatusesListRequest) IdNiew(idNiew []string) ApiExtrasStatusesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasStatusesListRequest) IdNire(idNire []string) ApiExtrasStatusesListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasStatusesListRequest) IdNisw(idNisw []string) ApiExtrasStatusesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasStatusesListRequest) IdNre(idNre []string) ApiExtrasStatusesListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasStatusesListRequest) IdRe(idRe []string) ApiExtrasStatusesListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiExtrasStatusesListRequest) LastUpdated(lastUpdated []time.Time) ApiExtrasStatusesListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -89759,8 +85384,7 @@ func (r ApiExtrasStatusesListRequest) TeamsIsnull(teamsIsnull bool) ApiExtrasSta
return r
}
-// Exclude Teams (name or ID)
-func (r ApiExtrasStatusesListRequest) TeamsN(teamsN string) ApiExtrasStatusesListRequest {
+func (r ApiExtrasStatusesListRequest) TeamsN(teamsN []string) ApiExtrasStatusesListRequest {
r.teamsN = &teamsN
return r
}
@@ -89771,6 +85395,12 @@ func (r ApiExtrasStatusesListRequest) Depth(depth int32) ApiExtrasStatusesListRe
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasStatusesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasStatusesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasStatusesListRequest) Execute() (*PaginatedStatusList, *http.Response, error) {
return r.ApiService.ExtrasStatusesListExecute(r)
}
@@ -89980,72 +85610,25 @@ func (a *ExtrasAPIService) ExtrasStatusesListExecute(r ApiExtrasStatusesListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
- }
- if r.contentTypes != nil {
- t := *r.contentTypes
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", t, "form", "multi")
- }
- }
- if r.contentTypesIc != nil {
- t := *r.contentTypesIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ic", t, "form", "multi")
- }
- }
- if r.contentTypesIe != nil {
- t := *r.contentTypesIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ie", t, "form", "multi")
- }
- }
- if r.contentTypesIew != nil {
- t := *r.contentTypesIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__iew", t, "form", "multi")
- }
- }
- if r.contentTypesIre != nil {
- t := *r.contentTypesIre
+ t := *r.contactsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
}
}
- if r.contentTypesIsw != nil {
- t := *r.contentTypesIsw
+ if r.contentTypes != nil {
+ t := *r.contentTypes
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", t, "form", "multi")
}
}
if r.contentTypesN != nil {
@@ -90059,83 +85642,6 @@ func (a *ExtrasAPIService) ExtrasStatusesListExecute(r ApiExtrasStatusesListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__n", t, "form", "multi")
}
}
- if r.contentTypesNic != nil {
- t := *r.contentTypesNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nic", t, "form", "multi")
- }
- }
- if r.contentTypesNie != nil {
- t := *r.contentTypesNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nie", t, "form", "multi")
- }
- }
- if r.contentTypesNiew != nil {
- t := *r.contentTypesNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__niew", t, "form", "multi")
- }
- }
- if r.contentTypesNire != nil {
- t := *r.contentTypesNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nire", t, "form", "multi")
- }
- }
- if r.contentTypesNisw != nil {
- t := *r.contentTypesNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nisw", t, "form", "multi")
- }
- }
- if r.contentTypesNre != nil {
- t := *r.contentTypesNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nre", t, "form", "multi")
- }
- }
- if r.contentTypesRe != nil {
- t := *r.contentTypesRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__re", t, "form", "multi")
- }
- }
if r.created != nil {
t := *r.created
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -90217,75 +85723,28 @@ func (a *ExtrasAPIService) ExtrasStatusesListExecute(r ApiExtrasStatusesListRequ
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.id != nil {
- t := *r.id
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
- }
- }
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
if r.idN != nil {
@@ -90299,83 +85758,6 @@ func (a *ExtrasAPIService) ExtrasStatusesListExecute(r ApiExtrasStatusesListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -90626,13 +86008,29 @@ func (a *ExtrasAPIService) ExtrasStatusesListExecute(r ApiExtrasStatusesListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -90847,6 +86245,7 @@ type ApiExtrasStatusesNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasStatusesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasStatusesNotesListRequest {
@@ -90872,6 +86271,12 @@ func (r ApiExtrasStatusesNotesListRequest) Depth(depth int32) ApiExtrasStatusesN
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasStatusesNotesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasStatusesNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasStatusesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.ExtrasStatusesNotesListExecute(r)
}
@@ -90927,8 +86332,16 @@ func (a *ExtrasAPIService) ExtrasStatusesNotesListExecute(r ApiExtrasStatusesNot
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -91138,6 +86551,7 @@ type ApiExtrasStatusesRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasStatusesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasStatusesRetrieveRequest {
@@ -91151,6 +86565,12 @@ func (r ApiExtrasStatusesRetrieveRequest) Depth(depth int32) ApiExtrasStatusesRe
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasStatusesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasStatusesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasStatusesRetrieveRequest) Execute() (*Status, *http.Response, error) {
return r.ApiService.ExtrasStatusesRetrieveExecute(r)
}
@@ -91200,8 +86620,16 @@ func (a *ExtrasAPIService) ExtrasStatusesRetrieveExecute(r ApiExtrasStatusesRetr
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -92063,21 +87491,9 @@ type ApiExtrasTagsListRequest struct {
colorRe *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
contentTypes *[]int32
- contentTypesIc *[]int32
- contentTypesIe *[]int32
- contentTypesIew *[]int32
- contentTypesIre *[]int32
- contentTypesIsw *[]int32
contentTypesN *[]int32
- contentTypesNic *[]int32
- contentTypesNie *[]int32
- contentTypesNiew *[]int32
- contentTypesNire *[]int32
- contentTypesNisw *[]int32
- contentTypesNre *[]int32
- contentTypesRe *[]int32
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -92086,22 +87502,10 @@ type ApiExtrasTagsListRequest struct {
createdLte *[]time.Time
createdN *[]time.Time
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -92129,8 +87533,9 @@ type ApiExtrasTagsListRequest struct {
sort *string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasTagsListRequest) Color(color []string) ApiExtrasTagsListRequest {
@@ -92214,8 +87619,7 @@ func (r ApiExtrasTagsListRequest) ContactsIsnull(contactsIsnull bool) ApiExtrasT
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiExtrasTagsListRequest) ContactsN(contactsN string) ApiExtrasTagsListRequest {
+func (r ApiExtrasTagsListRequest) ContactsN(contactsN []string) ApiExtrasTagsListRequest {
r.contactsN = &contactsN
return r
}
@@ -92225,71 +87629,11 @@ func (r ApiExtrasTagsListRequest) ContentTypes(contentTypes []int32) ApiExtrasTa
return r
}
-func (r ApiExtrasTagsListRequest) ContentTypesIc(contentTypesIc []int32) ApiExtrasTagsListRequest {
- r.contentTypesIc = &contentTypesIc
- return r
-}
-
-func (r ApiExtrasTagsListRequest) ContentTypesIe(contentTypesIe []int32) ApiExtrasTagsListRequest {
- r.contentTypesIe = &contentTypesIe
- return r
-}
-
-func (r ApiExtrasTagsListRequest) ContentTypesIew(contentTypesIew []int32) ApiExtrasTagsListRequest {
- r.contentTypesIew = &contentTypesIew
- return r
-}
-
-func (r ApiExtrasTagsListRequest) ContentTypesIre(contentTypesIre []int32) ApiExtrasTagsListRequest {
- r.contentTypesIre = &contentTypesIre
- return r
-}
-
-func (r ApiExtrasTagsListRequest) ContentTypesIsw(contentTypesIsw []int32) ApiExtrasTagsListRequest {
- r.contentTypesIsw = &contentTypesIsw
- return r
-}
-
func (r ApiExtrasTagsListRequest) ContentTypesN(contentTypesN []int32) ApiExtrasTagsListRequest {
r.contentTypesN = &contentTypesN
return r
}
-func (r ApiExtrasTagsListRequest) ContentTypesNic(contentTypesNic []int32) ApiExtrasTagsListRequest {
- r.contentTypesNic = &contentTypesNic
- return r
-}
-
-func (r ApiExtrasTagsListRequest) ContentTypesNie(contentTypesNie []int32) ApiExtrasTagsListRequest {
- r.contentTypesNie = &contentTypesNie
- return r
-}
-
-func (r ApiExtrasTagsListRequest) ContentTypesNiew(contentTypesNiew []int32) ApiExtrasTagsListRequest {
- r.contentTypesNiew = &contentTypesNiew
- return r
-}
-
-func (r ApiExtrasTagsListRequest) ContentTypesNire(contentTypesNire []int32) ApiExtrasTagsListRequest {
- r.contentTypesNire = &contentTypesNire
- return r
-}
-
-func (r ApiExtrasTagsListRequest) ContentTypesNisw(contentTypesNisw []int32) ApiExtrasTagsListRequest {
- r.contentTypesNisw = &contentTypesNisw
- return r
-}
-
-func (r ApiExtrasTagsListRequest) ContentTypesNre(contentTypesNre []int32) ApiExtrasTagsListRequest {
- r.contentTypesNre = &contentTypesNre
- return r
-}
-
-func (r ApiExtrasTagsListRequest) ContentTypesRe(contentTypesRe []int32) ApiExtrasTagsListRequest {
- r.contentTypesRe = &contentTypesRe
- return r
-}
-
func (r ApiExtrasTagsListRequest) Created(created []time.Time) ApiExtrasTagsListRequest {
r.created = &created
return r
@@ -92330,8 +87674,7 @@ func (r ApiExtrasTagsListRequest) DynamicGroups(dynamicGroups []string) ApiExtra
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiExtrasTagsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiExtrasTagsListRequest {
+func (r ApiExtrasTagsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiExtrasTagsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -92347,71 +87690,11 @@ func (r ApiExtrasTagsListRequest) Id(id []string) ApiExtrasTagsListRequest {
return r
}
-func (r ApiExtrasTagsListRequest) IdIc(idIc []string) ApiExtrasTagsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasTagsListRequest) IdIe(idIe []string) ApiExtrasTagsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasTagsListRequest) IdIew(idIew []string) ApiExtrasTagsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasTagsListRequest) IdIre(idIre []string) ApiExtrasTagsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasTagsListRequest) IdIsw(idIsw []string) ApiExtrasTagsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasTagsListRequest) IdN(idN []string) ApiExtrasTagsListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasTagsListRequest) IdNic(idNic []string) ApiExtrasTagsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasTagsListRequest) IdNie(idNie []string) ApiExtrasTagsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasTagsListRequest) IdNiew(idNiew []string) ApiExtrasTagsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasTagsListRequest) IdNire(idNire []string) ApiExtrasTagsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasTagsListRequest) IdNisw(idNisw []string) ApiExtrasTagsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasTagsListRequest) IdNre(idNre []string) ApiExtrasTagsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasTagsListRequest) IdRe(idRe []string) ApiExtrasTagsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiExtrasTagsListRequest) LastUpdated(lastUpdated []time.Time) ApiExtrasTagsListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -92552,8 +87835,7 @@ func (r ApiExtrasTagsListRequest) TeamsIsnull(teamsIsnull bool) ApiExtrasTagsLis
return r
}
-// Exclude Teams (name or ID)
-func (r ApiExtrasTagsListRequest) TeamsN(teamsN string) ApiExtrasTagsListRequest {
+func (r ApiExtrasTagsListRequest) TeamsN(teamsN []string) ApiExtrasTagsListRequest {
r.teamsN = &teamsN
return r
}
@@ -92564,6 +87846,12 @@ func (r ApiExtrasTagsListRequest) Depth(depth int32) ApiExtrasTagsListRequest {
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasTagsListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasTagsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasTagsListRequest) Execute() (*PaginatedTagList, *http.Response, error) {
return r.ApiService.ExtrasTagsListExecute(r)
}
@@ -92773,72 +88061,25 @@ func (a *ExtrasAPIService) ExtrasTagsListExecute(r ApiExtrasTagsListRequest) (*P
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
- }
- if r.contentTypes != nil {
- t := *r.contentTypes
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", t, "form", "multi")
- }
- }
- if r.contentTypesIc != nil {
- t := *r.contentTypesIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ic", t, "form", "multi")
- }
- }
- if r.contentTypesIe != nil {
- t := *r.contentTypesIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ie", t, "form", "multi")
- }
- }
- if r.contentTypesIew != nil {
- t := *r.contentTypesIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__iew", t, "form", "multi")
- }
- }
- if r.contentTypesIre != nil {
- t := *r.contentTypesIre
+ t := *r.contactsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
}
}
- if r.contentTypesIsw != nil {
- t := *r.contentTypesIsw
+ if r.contentTypes != nil {
+ t := *r.contentTypes
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", t, "form", "multi")
}
}
if r.contentTypesN != nil {
@@ -92852,83 +88093,6 @@ func (a *ExtrasAPIService) ExtrasTagsListExecute(r ApiExtrasTagsListRequest) (*P
parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__n", t, "form", "multi")
}
}
- if r.contentTypesNic != nil {
- t := *r.contentTypesNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nic", t, "form", "multi")
- }
- }
- if r.contentTypesNie != nil {
- t := *r.contentTypesNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nie", t, "form", "multi")
- }
- }
- if r.contentTypesNiew != nil {
- t := *r.contentTypesNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__niew", t, "form", "multi")
- }
- }
- if r.contentTypesNire != nil {
- t := *r.contentTypesNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nire", t, "form", "multi")
- }
- }
- if r.contentTypesNisw != nil {
- t := *r.contentTypesNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nisw", t, "form", "multi")
- }
- }
- if r.contentTypesNre != nil {
- t := *r.contentTypesNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nre", t, "form", "multi")
- }
- }
- if r.contentTypesRe != nil {
- t := *r.contentTypesRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__re", t, "form", "multi")
- }
- }
if r.created != nil {
t := *r.created
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -93010,75 +88174,28 @@ func (a *ExtrasAPIService) ExtrasTagsListExecute(r ApiExtrasTagsListRequest) (*P
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.id != nil {
- t := *r.id
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
- }
- }
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
if r.idN != nil {
@@ -93092,83 +88209,6 @@ func (a *ExtrasAPIService) ExtrasTagsListExecute(r ApiExtrasTagsListRequest) (*P
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -93419,13 +88459,29 @@ func (a *ExtrasAPIService) ExtrasTagsListExecute(r ApiExtrasTagsListRequest) (*P
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -93640,6 +88696,7 @@ type ApiExtrasTagsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasTagsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasTagsNotesListRequest {
@@ -93665,6 +88722,12 @@ func (r ApiExtrasTagsNotesListRequest) Depth(depth int32) ApiExtrasTagsNotesList
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasTagsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasTagsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasTagsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.ExtrasTagsNotesListExecute(r)
}
@@ -93720,8 +88783,16 @@ func (a *ExtrasAPIService) ExtrasTagsNotesListExecute(r ApiExtrasTagsNotesListRe
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -93931,6 +89002,7 @@ type ApiExtrasTagsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasTagsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasTagsRetrieveRequest {
@@ -93944,6 +89016,12 @@ func (r ApiExtrasTagsRetrieveRequest) Depth(depth int32) ApiExtrasTagsRetrieveRe
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasTagsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasTagsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasTagsRetrieveRequest) Execute() (*Tag, *http.Response, error) {
return r.ApiService.ExtrasTagsRetrieveExecute(r)
}
@@ -93993,8 +89071,16 @@ func (a *ExtrasAPIService) ExtrasTagsRetrieveExecute(r ApiExtrasTagsRetrieveRequ
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -94878,7 +89964,7 @@ type ApiExtrasTeamsListRequest struct {
createdLte *[]time.Time
createdN *[]time.Time
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
email *[]string
emailIc *[]string
emailIe *[]string
@@ -94895,19 +89981,7 @@ type ApiExtrasTeamsListRequest struct {
emailRe *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -94952,6 +90026,7 @@ type ApiExtrasTeamsListRequest struct {
tagsIsnull *bool
tagsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasTeamsListRequest) Address(address []string) ApiExtrasTeamsListRequest {
@@ -95144,8 +90219,7 @@ func (r ApiExtrasTeamsListRequest) DynamicGroups(dynamicGroups []string) ApiExtr
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiExtrasTeamsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiExtrasTeamsListRequest {
+func (r ApiExtrasTeamsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiExtrasTeamsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -95231,71 +90305,11 @@ func (r ApiExtrasTeamsListRequest) Id(id []string) ApiExtrasTeamsListRequest {
return r
}
-func (r ApiExtrasTeamsListRequest) IdIc(idIc []string) ApiExtrasTeamsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasTeamsListRequest) IdIe(idIe []string) ApiExtrasTeamsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasTeamsListRequest) IdIew(idIew []string) ApiExtrasTeamsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasTeamsListRequest) IdIre(idIre []string) ApiExtrasTeamsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasTeamsListRequest) IdIsw(idIsw []string) ApiExtrasTeamsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasTeamsListRequest) IdN(idN []string) ApiExtrasTeamsListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasTeamsListRequest) IdNic(idNic []string) ApiExtrasTeamsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasTeamsListRequest) IdNie(idNie []string) ApiExtrasTeamsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasTeamsListRequest) IdNiew(idNiew []string) ApiExtrasTeamsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasTeamsListRequest) IdNire(idNire []string) ApiExtrasTeamsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasTeamsListRequest) IdNisw(idNisw []string) ApiExtrasTeamsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasTeamsListRequest) IdNre(idNre []string) ApiExtrasTeamsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasTeamsListRequest) IdRe(idRe []string) ApiExtrasTeamsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiExtrasTeamsListRequest) LastUpdated(lastUpdated []time.Time) ApiExtrasTeamsListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -95521,6 +90535,12 @@ func (r ApiExtrasTeamsListRequest) Depth(depth int32) ApiExtrasTeamsListRequest
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasTeamsListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasTeamsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasTeamsListRequest) Execute() (*PaginatedTeamList, *http.Response, error) {
return r.ApiService.ExtrasTeamsListExecute(r)
}
@@ -95972,7 +90992,15 @@ func (a *ExtrasAPIService) ExtrasTeamsListExecute(r ApiExtrasTeamsListRequest) (
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.email != nil {
t := *r.email
@@ -96142,61 +91170,6 @@ func (a *ExtrasAPIService) ExtrasTeamsListExecute(r ApiExtrasTeamsListRequest) (
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -96208,83 +91181,6 @@ func (a *ExtrasAPIService) ExtrasTeamsListExecute(r ApiExtrasTeamsListRequest) (
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -96713,8 +91609,16 @@ func (a *ExtrasAPIService) ExtrasTeamsListExecute(r ApiExtrasTeamsListRequest) (
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -96929,6 +91833,7 @@ type ApiExtrasTeamsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasTeamsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasTeamsNotesListRequest {
@@ -96954,6 +91859,12 @@ func (r ApiExtrasTeamsNotesListRequest) Depth(depth int32) ApiExtrasTeamsNotesLi
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasTeamsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasTeamsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasTeamsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.ExtrasTeamsNotesListExecute(r)
}
@@ -97009,8 +91920,16 @@ func (a *ExtrasAPIService) ExtrasTeamsNotesListExecute(r ApiExtrasTeamsNotesList
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -97220,6 +92139,7 @@ type ApiExtrasTeamsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasTeamsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasTeamsRetrieveRequest {
@@ -97233,6 +92153,12 @@ func (r ApiExtrasTeamsRetrieveRequest) Depth(depth int32) ApiExtrasTeamsRetrieve
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasTeamsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasTeamsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasTeamsRetrieveRequest) Execute() (*Team, *http.Response, error) {
return r.ApiService.ExtrasTeamsRetrieveExecute(r)
}
@@ -97282,8 +92208,16 @@ func (a *ExtrasAPIService) ExtrasTeamsRetrieveExecute(r ApiExtrasTeamsRetrieveRe
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -98132,19 +93066,7 @@ type ApiExtrasUserSavedViewAssociationsListRequest struct {
created *[]time.Time
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
limit *int32
offset *int32
@@ -98168,6 +93090,7 @@ type ApiExtrasUserSavedViewAssociationsListRequest struct {
viewNameNre *[]string
viewNameRe *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasUserSavedViewAssociationsListRequest) Created(created []time.Time) ApiExtrasUserSavedViewAssociationsListRequest {
@@ -98186,71 +93109,11 @@ func (r ApiExtrasUserSavedViewAssociationsListRequest) Id(id []string) ApiExtras
return r
}
-func (r ApiExtrasUserSavedViewAssociationsListRequest) IdIc(idIc []string) ApiExtrasUserSavedViewAssociationsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasUserSavedViewAssociationsListRequest) IdIe(idIe []string) ApiExtrasUserSavedViewAssociationsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasUserSavedViewAssociationsListRequest) IdIew(idIew []string) ApiExtrasUserSavedViewAssociationsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasUserSavedViewAssociationsListRequest) IdIre(idIre []string) ApiExtrasUserSavedViewAssociationsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasUserSavedViewAssociationsListRequest) IdIsw(idIsw []string) ApiExtrasUserSavedViewAssociationsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasUserSavedViewAssociationsListRequest) IdN(idN []string) ApiExtrasUserSavedViewAssociationsListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasUserSavedViewAssociationsListRequest) IdNic(idNic []string) ApiExtrasUserSavedViewAssociationsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasUserSavedViewAssociationsListRequest) IdNie(idNie []string) ApiExtrasUserSavedViewAssociationsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasUserSavedViewAssociationsListRequest) IdNiew(idNiew []string) ApiExtrasUserSavedViewAssociationsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasUserSavedViewAssociationsListRequest) IdNire(idNire []string) ApiExtrasUserSavedViewAssociationsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasUserSavedViewAssociationsListRequest) IdNisw(idNisw []string) ApiExtrasUserSavedViewAssociationsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasUserSavedViewAssociationsListRequest) IdNre(idNre []string) ApiExtrasUserSavedViewAssociationsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasUserSavedViewAssociationsListRequest) IdRe(idRe []string) ApiExtrasUserSavedViewAssociationsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiExtrasUserSavedViewAssociationsListRequest) LastUpdated(lastUpdated []time.Time) ApiExtrasUserSavedViewAssociationsListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -98370,6 +93233,12 @@ func (r ApiExtrasUserSavedViewAssociationsListRequest) Depth(depth int32) ApiExt
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasUserSavedViewAssociationsListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasUserSavedViewAssociationsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasUserSavedViewAssociationsListRequest) Execute() (*PaginatedUserSavedViewAssociationList, *http.Response, error) {
return r.ApiService.ExtrasUserSavedViewAssociationsListExecute(r)
}
@@ -98435,61 +93304,6 @@ func (a *ExtrasAPIService) ExtrasUserSavedViewAssociationsListExecute(r ApiExtra
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -98501,83 +93315,6 @@ func (a *ExtrasAPIService) ExtrasUserSavedViewAssociationsListExecute(r ApiExtra
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -98799,8 +93536,16 @@ func (a *ExtrasAPIService) ExtrasUserSavedViewAssociationsListExecute(r ApiExtra
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -99010,6 +93755,7 @@ type ApiExtrasUserSavedViewAssociationsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasUserSavedViewAssociationsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasUserSavedViewAssociationsRetrieveRequest {
@@ -99023,6 +93769,12 @@ func (r ApiExtrasUserSavedViewAssociationsRetrieveRequest) Depth(depth int32) Ap
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasUserSavedViewAssociationsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasUserSavedViewAssociationsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasUserSavedViewAssociationsRetrieveRequest) Execute() (*UserSavedViewAssociation, *http.Response, error) {
return r.ApiService.ExtrasUserSavedViewAssociationsRetrieveExecute(r)
}
@@ -99072,8 +93824,16 @@ func (a *ExtrasAPIService) ExtrasUserSavedViewAssociationsRetrieveExecute(r ApiE
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -99921,39 +94681,15 @@ type ApiExtrasWebhooksListRequest struct {
ApiService *ExtrasAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
contentTypes *[]int32
- contentTypesIc *[]int32
- contentTypesIe *[]int32
- contentTypesIew *[]int32
- contentTypesIre *[]int32
- contentTypesIsw *[]int32
contentTypesN *[]int32
- contentTypesNic *[]int32
- contentTypesNie *[]int32
- contentTypesNiew *[]int32
- contentTypesNire *[]int32
- contentTypesNisw *[]int32
- contentTypesNre *[]int32
- contentTypesRe *[]int32
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
enabled *bool
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
limit *int32
name *[]string
nameIc *[]string
@@ -99988,11 +94724,12 @@ type ApiExtrasWebhooksListRequest struct {
sort *string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
typeCreate *bool
typeDelete *bool
typeUpdate *bool
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasWebhooksListRequest) Contacts(contacts []string) ApiExtrasWebhooksListRequest {
@@ -100006,8 +94743,7 @@ func (r ApiExtrasWebhooksListRequest) ContactsIsnull(contactsIsnull bool) ApiExt
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiExtrasWebhooksListRequest) ContactsN(contactsN string) ApiExtrasWebhooksListRequest {
+func (r ApiExtrasWebhooksListRequest) ContactsN(contactsN []string) ApiExtrasWebhooksListRequest {
r.contactsN = &contactsN
return r
}
@@ -100017,78 +94753,17 @@ func (r ApiExtrasWebhooksListRequest) ContentTypes(contentTypes []int32) ApiExtr
return r
}
-func (r ApiExtrasWebhooksListRequest) ContentTypesIc(contentTypesIc []int32) ApiExtrasWebhooksListRequest {
- r.contentTypesIc = &contentTypesIc
- return r
-}
-
-func (r ApiExtrasWebhooksListRequest) ContentTypesIe(contentTypesIe []int32) ApiExtrasWebhooksListRequest {
- r.contentTypesIe = &contentTypesIe
- return r
-}
-
-func (r ApiExtrasWebhooksListRequest) ContentTypesIew(contentTypesIew []int32) ApiExtrasWebhooksListRequest {
- r.contentTypesIew = &contentTypesIew
- return r
-}
-
-func (r ApiExtrasWebhooksListRequest) ContentTypesIre(contentTypesIre []int32) ApiExtrasWebhooksListRequest {
- r.contentTypesIre = &contentTypesIre
- return r
-}
-
-func (r ApiExtrasWebhooksListRequest) ContentTypesIsw(contentTypesIsw []int32) ApiExtrasWebhooksListRequest {
- r.contentTypesIsw = &contentTypesIsw
- return r
-}
-
func (r ApiExtrasWebhooksListRequest) ContentTypesN(contentTypesN []int32) ApiExtrasWebhooksListRequest {
r.contentTypesN = &contentTypesN
return r
}
-func (r ApiExtrasWebhooksListRequest) ContentTypesNic(contentTypesNic []int32) ApiExtrasWebhooksListRequest {
- r.contentTypesNic = &contentTypesNic
- return r
-}
-
-func (r ApiExtrasWebhooksListRequest) ContentTypesNie(contentTypesNie []int32) ApiExtrasWebhooksListRequest {
- r.contentTypesNie = &contentTypesNie
- return r
-}
-
-func (r ApiExtrasWebhooksListRequest) ContentTypesNiew(contentTypesNiew []int32) ApiExtrasWebhooksListRequest {
- r.contentTypesNiew = &contentTypesNiew
- return r
-}
-
-func (r ApiExtrasWebhooksListRequest) ContentTypesNire(contentTypesNire []int32) ApiExtrasWebhooksListRequest {
- r.contentTypesNire = &contentTypesNire
- return r
-}
-
-func (r ApiExtrasWebhooksListRequest) ContentTypesNisw(contentTypesNisw []int32) ApiExtrasWebhooksListRequest {
- r.contentTypesNisw = &contentTypesNisw
- return r
-}
-
-func (r ApiExtrasWebhooksListRequest) ContentTypesNre(contentTypesNre []int32) ApiExtrasWebhooksListRequest {
- r.contentTypesNre = &contentTypesNre
- return r
-}
-
-func (r ApiExtrasWebhooksListRequest) ContentTypesRe(contentTypesRe []int32) ApiExtrasWebhooksListRequest {
- r.contentTypesRe = &contentTypesRe
- return r
-}
-
func (r ApiExtrasWebhooksListRequest) DynamicGroups(dynamicGroups []string) ApiExtrasWebhooksListRequest {
r.dynamicGroups = &dynamicGroups
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiExtrasWebhooksListRequest) DynamicGroupsN(dynamicGroupsN string) ApiExtrasWebhooksListRequest {
+func (r ApiExtrasWebhooksListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiExtrasWebhooksListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -100109,71 +94784,11 @@ func (r ApiExtrasWebhooksListRequest) Id(id []string) ApiExtrasWebhooksListReque
return r
}
-func (r ApiExtrasWebhooksListRequest) IdIc(idIc []string) ApiExtrasWebhooksListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiExtrasWebhooksListRequest) IdIe(idIe []string) ApiExtrasWebhooksListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiExtrasWebhooksListRequest) IdIew(idIew []string) ApiExtrasWebhooksListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiExtrasWebhooksListRequest) IdIre(idIre []string) ApiExtrasWebhooksListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiExtrasWebhooksListRequest) IdIsw(idIsw []string) ApiExtrasWebhooksListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiExtrasWebhooksListRequest) IdN(idN []string) ApiExtrasWebhooksListRequest {
r.idN = &idN
return r
}
-func (r ApiExtrasWebhooksListRequest) IdNic(idNic []string) ApiExtrasWebhooksListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiExtrasWebhooksListRequest) IdNie(idNie []string) ApiExtrasWebhooksListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiExtrasWebhooksListRequest) IdNiew(idNiew []string) ApiExtrasWebhooksListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiExtrasWebhooksListRequest) IdNire(idNire []string) ApiExtrasWebhooksListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiExtrasWebhooksListRequest) IdNisw(idNisw []string) ApiExtrasWebhooksListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiExtrasWebhooksListRequest) IdNre(idNre []string) ApiExtrasWebhooksListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiExtrasWebhooksListRequest) IdRe(idRe []string) ApiExtrasWebhooksListRequest {
- r.idRe = &idRe
- return r
-}
-
// Number of results to return per page.
func (r ApiExtrasWebhooksListRequest) Limit(limit int32) ApiExtrasWebhooksListRequest {
r.limit = &limit
@@ -100349,8 +94964,7 @@ func (r ApiExtrasWebhooksListRequest) TeamsIsnull(teamsIsnull bool) ApiExtrasWeb
return r
}
-// Exclude Teams (name or ID)
-func (r ApiExtrasWebhooksListRequest) TeamsN(teamsN string) ApiExtrasWebhooksListRequest {
+func (r ApiExtrasWebhooksListRequest) TeamsN(teamsN []string) ApiExtrasWebhooksListRequest {
r.teamsN = &teamsN
return r
}
@@ -100376,6 +94990,12 @@ func (r ApiExtrasWebhooksListRequest) Depth(depth int32) ApiExtrasWebhooksListRe
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasWebhooksListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasWebhooksListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasWebhooksListRequest) Execute() (*PaginatedWebhookList, *http.Response, error) {
return r.ApiService.ExtrasWebhooksListExecute(r)
}
@@ -100431,72 +95051,25 @@ func (a *ExtrasAPIService) ExtrasWebhooksListExecute(r ApiExtrasWebhooksListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
- }
- if r.contentTypes != nil {
- t := *r.contentTypes
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", t, "form", "multi")
- }
- }
- if r.contentTypesIc != nil {
- t := *r.contentTypesIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ic", t, "form", "multi")
- }
- }
- if r.contentTypesIe != nil {
- t := *r.contentTypesIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ie", t, "form", "multi")
- }
- }
- if r.contentTypesIew != nil {
- t := *r.contentTypesIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__iew", t, "form", "multi")
- }
- }
- if r.contentTypesIre != nil {
- t := *r.contentTypesIre
+ t := *r.contactsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
}
}
- if r.contentTypesIsw != nil {
- t := *r.contentTypesIsw
+ if r.contentTypes != nil {
+ t := *r.contentTypes
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "content_types", t, "form", "multi")
}
}
if r.contentTypesN != nil {
@@ -100510,97 +95083,28 @@ func (a *ExtrasAPIService) ExtrasWebhooksListExecute(r ApiExtrasWebhooksListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__n", t, "form", "multi")
}
}
- if r.contentTypesNic != nil {
- t := *r.contentTypesNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nic", t, "form", "multi")
- }
- }
- if r.contentTypesNie != nil {
- t := *r.contentTypesNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nie", t, "form", "multi")
- }
- }
- if r.contentTypesNiew != nil {
- t := *r.contentTypesNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__niew", t, "form", "multi")
- }
- }
- if r.contentTypesNire != nil {
- t := *r.contentTypesNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nire", t, "form", "multi")
- }
- }
- if r.contentTypesNisw != nil {
- t := *r.contentTypesNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nisw", t, "form", "multi")
- }
- }
- if r.contentTypesNre != nil {
- t := *r.contentTypesNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__nre", t, "form", "multi")
- }
- }
- if r.contentTypesRe != nil {
- t := *r.contentTypesRe
+ if r.dynamicGroups != nil {
+ t := *r.dynamicGroups
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "content_types__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
}
}
- if r.dynamicGroups != nil {
- t := *r.dynamicGroups
+ if r.dynamicGroupsN != nil {
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
if r.enabled != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "enabled", r.enabled, "form", "")
}
@@ -100618,61 +95122,6 @@ func (a *ExtrasAPIService) ExtrasWebhooksListExecute(r ApiExtrasWebhooksListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -100684,83 +95133,6 @@ func (a *ExtrasAPIService) ExtrasWebhooksListExecute(r ApiExtrasWebhooksListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.limit != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
@@ -101096,7 +95468,15 @@ func (a *ExtrasAPIService) ExtrasWebhooksListExecute(r ApiExtrasWebhooksListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.typeCreate != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "type_create", r.typeCreate, "form", "")
@@ -101110,8 +95490,16 @@ func (a *ExtrasAPIService) ExtrasWebhooksListExecute(r ApiExtrasWebhooksListRequ
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -101326,6 +95714,7 @@ type ApiExtrasWebhooksNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasWebhooksNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasWebhooksNotesListRequest {
@@ -101351,6 +95740,12 @@ func (r ApiExtrasWebhooksNotesListRequest) Depth(depth int32) ApiExtrasWebhooksN
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasWebhooksNotesListRequest) ExcludeM2m(excludeM2m bool) ApiExtrasWebhooksNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasWebhooksNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.ExtrasWebhooksNotesListExecute(r)
}
@@ -101406,8 +95801,16 @@ func (a *ExtrasAPIService) ExtrasWebhooksNotesListExecute(r ApiExtrasWebhooksNot
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -101617,6 +96020,7 @@ type ApiExtrasWebhooksRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiExtrasWebhooksRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiExtrasWebhooksRetrieveRequest {
@@ -101630,6 +96034,12 @@ func (r ApiExtrasWebhooksRetrieveRequest) Depth(depth int32) ApiExtrasWebhooksRe
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiExtrasWebhooksRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiExtrasWebhooksRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiExtrasWebhooksRetrieveRequest) Execute() (*Webhook, *http.Response, error) {
return r.ApiService.ExtrasWebhooksRetrieveExecute(r)
}
@@ -101679,8 +96089,16 @@ func (a *ExtrasAPIService) ExtrasWebhooksRetrieveExecute(r ApiExtrasWebhooksRetr
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
diff --git a/api_graphql.go b/api_graphql.go
index 3a386360..af1f415a 100644
--- a/api_graphql.go
+++ b/api_graphql.go
@@ -3,7 +3,7 @@ API Documentation
Source of truth and network automation platform
-API version: 2.3.4 (2.3)
+API version: 2.4.21 (2.4)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
diff --git a/api_ipam.go b/api_ipam.go
index c44cb0d4..898b33ba 100644
--- a/api_ipam.go
+++ b/api_ipam.go
@@ -3,7 +3,7 @@ API Documentation
Source of truth and network automation platform
-API version: 2.3.4 (2.3)
+API version: 2.4.21 (2.4)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -667,19 +667,7 @@ type ApiIpamIpAddressToInterfaceListRequest struct {
created *[]time.Time
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
interface_ *[]string
interfaceIsnull *bool
interfaceN *[]string
@@ -701,6 +689,7 @@ type ApiIpamIpAddressToInterfaceListRequest struct {
vmInterfaceIsnull *bool
vmInterfaceN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamIpAddressToInterfaceListRequest) Created(created []time.Time) ApiIpamIpAddressToInterfaceListRequest {
@@ -719,71 +708,11 @@ func (r ApiIpamIpAddressToInterfaceListRequest) Id(id []string) ApiIpamIpAddress
return r
}
-func (r ApiIpamIpAddressToInterfaceListRequest) IdIc(idIc []string) ApiIpamIpAddressToInterfaceListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiIpamIpAddressToInterfaceListRequest) IdIe(idIe []string) ApiIpamIpAddressToInterfaceListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiIpamIpAddressToInterfaceListRequest) IdIew(idIew []string) ApiIpamIpAddressToInterfaceListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiIpamIpAddressToInterfaceListRequest) IdIre(idIre []string) ApiIpamIpAddressToInterfaceListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiIpamIpAddressToInterfaceListRequest) IdIsw(idIsw []string) ApiIpamIpAddressToInterfaceListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiIpamIpAddressToInterfaceListRequest) IdN(idN []string) ApiIpamIpAddressToInterfaceListRequest {
r.idN = &idN
return r
}
-func (r ApiIpamIpAddressToInterfaceListRequest) IdNic(idNic []string) ApiIpamIpAddressToInterfaceListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiIpamIpAddressToInterfaceListRequest) IdNie(idNie []string) ApiIpamIpAddressToInterfaceListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiIpamIpAddressToInterfaceListRequest) IdNiew(idNiew []string) ApiIpamIpAddressToInterfaceListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiIpamIpAddressToInterfaceListRequest) IdNire(idNire []string) ApiIpamIpAddressToInterfaceListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiIpamIpAddressToInterfaceListRequest) IdNisw(idNisw []string) ApiIpamIpAddressToInterfaceListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiIpamIpAddressToInterfaceListRequest) IdNre(idNre []string) ApiIpamIpAddressToInterfaceListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiIpamIpAddressToInterfaceListRequest) IdRe(idRe []string) ApiIpamIpAddressToInterfaceListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiIpamIpAddressToInterfaceListRequest) Interface_(interface_ []string) ApiIpamIpAddressToInterfaceListRequest {
r.interface_ = &interface_
return r
@@ -898,6 +827,12 @@ func (r ApiIpamIpAddressToInterfaceListRequest) Depth(depth int32) ApiIpamIpAddr
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamIpAddressToInterfaceListRequest) ExcludeM2m(excludeM2m bool) ApiIpamIpAddressToInterfaceListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamIpAddressToInterfaceListRequest) Execute() (*PaginatedIPAddressToInterfaceList, *http.Response, error) {
return r.ApiService.IpamIpAddressToInterfaceListExecute(r)
}
@@ -963,61 +898,6 @@ func (a *IpamAPIService) IpamIpAddressToInterfaceListExecute(r ApiIpamIpAddressT
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -1029,83 +909,6 @@ func (a *IpamAPIService) IpamIpAddressToInterfaceListExecute(r ApiIpamIpAddressT
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.interface_ != nil {
t := *r.interface_
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -1225,8 +1028,16 @@ func (a *IpamAPIService) IpamIpAddressToInterfaceListExecute(r ApiIpamIpAddressT
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -1441,6 +1252,7 @@ type ApiIpamIpAddressToInterfaceNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamIpAddressToInterfaceNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamIpAddressToInterfaceNotesListRequest {
@@ -1466,6 +1278,12 @@ func (r ApiIpamIpAddressToInterfaceNotesListRequest) Depth(depth int32) ApiIpamI
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamIpAddressToInterfaceNotesListRequest) ExcludeM2m(excludeM2m bool) ApiIpamIpAddressToInterfaceNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamIpAddressToInterfaceNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.IpamIpAddressToInterfaceNotesListExecute(r)
}
@@ -1521,8 +1339,16 @@ func (a *IpamAPIService) IpamIpAddressToInterfaceNotesListExecute(r ApiIpamIpAdd
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -1732,6 +1558,7 @@ type ApiIpamIpAddressToInterfaceRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamIpAddressToInterfaceRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamIpAddressToInterfaceRetrieveRequest {
@@ -1745,6 +1572,12 @@ func (r ApiIpamIpAddressToInterfaceRetrieveRequest) Depth(depth int32) ApiIpamIp
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamIpAddressToInterfaceRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiIpamIpAddressToInterfaceRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamIpAddressToInterfaceRetrieveRequest) Execute() (*IPAddressToInterface, *http.Response, error) {
return r.ApiService.IpamIpAddressToInterfaceRetrieveExecute(r)
}
@@ -1794,8 +1627,16 @@ func (a *IpamAPIService) IpamIpAddressToInterfaceRetrieveExecute(r ApiIpamIpAddr
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -2644,7 +2485,7 @@ type ApiIpamIpAddressesListRequest struct {
address *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -2652,6 +2493,20 @@ type ApiIpamIpAddressesListRequest struct {
createdLt *[]time.Time
createdLte *[]time.Time
createdN *[]time.Time
+ description *[]string
+ descriptionIc *[]string
+ descriptionIe *[]string
+ descriptionIew *[]string
+ descriptionIre *[]string
+ descriptionIsw *[]string
+ descriptionN *[]string
+ descriptionNic *[]string
+ descriptionNie *[]string
+ descriptionNiew *[]string
+ descriptionNire *[]string
+ descriptionNisw *[]string
+ descriptionNre *[]string
+ descriptionRe *[]string
device *[]string
deviceId *[]string
dnsName *[]string
@@ -2669,24 +2524,12 @@ type ApiIpamIpAddressesListRequest struct {
dnsNameNre *[]string
dnsNameRe *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
hasInterfaceAssignments *bool
hasNatInside *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
interfaces *[]string
interfacesIsnull *bool
interfacesN *[]string
@@ -2720,16 +2563,16 @@ type ApiIpamIpAddressesListRequest struct {
q *string
role *[]string
roleIsnull *bool
- roleN *string
+ roleN *[]string
sort *string
status *[]string
- statusN *string
+ statusN *[]string
tags *[]string
tagsIsnull *bool
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
tenant *[]string
tenantIsnull *bool
tenantN *[]string
@@ -2762,6 +2605,7 @@ type ApiIpamIpAddressesListRequest struct {
vrfsIsnull *bool
vrfsN *[]string
depth *int32
+ excludeM2m *bool
}
// Address
@@ -2781,8 +2625,7 @@ func (r ApiIpamIpAddressesListRequest) ContactsIsnull(contactsIsnull bool) ApiIp
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiIpamIpAddressesListRequest) ContactsN(contactsN string) ApiIpamIpAddressesListRequest {
+func (r ApiIpamIpAddressesListRequest) ContactsN(contactsN []string) ApiIpamIpAddressesListRequest {
r.contactsN = &contactsN
return r
}
@@ -2822,6 +2665,76 @@ func (r ApiIpamIpAddressesListRequest) CreatedN(createdN []time.Time) ApiIpamIpA
return r
}
+func (r ApiIpamIpAddressesListRequest) Description(description []string) ApiIpamIpAddressesListRequest {
+ r.description = &description
+ return r
+}
+
+func (r ApiIpamIpAddressesListRequest) DescriptionIc(descriptionIc []string) ApiIpamIpAddressesListRequest {
+ r.descriptionIc = &descriptionIc
+ return r
+}
+
+func (r ApiIpamIpAddressesListRequest) DescriptionIe(descriptionIe []string) ApiIpamIpAddressesListRequest {
+ r.descriptionIe = &descriptionIe
+ return r
+}
+
+func (r ApiIpamIpAddressesListRequest) DescriptionIew(descriptionIew []string) ApiIpamIpAddressesListRequest {
+ r.descriptionIew = &descriptionIew
+ return r
+}
+
+func (r ApiIpamIpAddressesListRequest) DescriptionIre(descriptionIre []string) ApiIpamIpAddressesListRequest {
+ r.descriptionIre = &descriptionIre
+ return r
+}
+
+func (r ApiIpamIpAddressesListRequest) DescriptionIsw(descriptionIsw []string) ApiIpamIpAddressesListRequest {
+ r.descriptionIsw = &descriptionIsw
+ return r
+}
+
+func (r ApiIpamIpAddressesListRequest) DescriptionN(descriptionN []string) ApiIpamIpAddressesListRequest {
+ r.descriptionN = &descriptionN
+ return r
+}
+
+func (r ApiIpamIpAddressesListRequest) DescriptionNic(descriptionNic []string) ApiIpamIpAddressesListRequest {
+ r.descriptionNic = &descriptionNic
+ return r
+}
+
+func (r ApiIpamIpAddressesListRequest) DescriptionNie(descriptionNie []string) ApiIpamIpAddressesListRequest {
+ r.descriptionNie = &descriptionNie
+ return r
+}
+
+func (r ApiIpamIpAddressesListRequest) DescriptionNiew(descriptionNiew []string) ApiIpamIpAddressesListRequest {
+ r.descriptionNiew = &descriptionNiew
+ return r
+}
+
+func (r ApiIpamIpAddressesListRequest) DescriptionNire(descriptionNire []string) ApiIpamIpAddressesListRequest {
+ r.descriptionNire = &descriptionNire
+ return r
+}
+
+func (r ApiIpamIpAddressesListRequest) DescriptionNisw(descriptionNisw []string) ApiIpamIpAddressesListRequest {
+ r.descriptionNisw = &descriptionNisw
+ return r
+}
+
+func (r ApiIpamIpAddressesListRequest) DescriptionNre(descriptionNre []string) ApiIpamIpAddressesListRequest {
+ r.descriptionNre = &descriptionNre
+ return r
+}
+
+func (r ApiIpamIpAddressesListRequest) DescriptionRe(descriptionRe []string) ApiIpamIpAddressesListRequest {
+ r.descriptionRe = &descriptionRe
+ return r
+}
+
// Device (name)
func (r ApiIpamIpAddressesListRequest) Device(device []string) ApiIpamIpAddressesListRequest {
r.device = &device
@@ -2909,8 +2822,7 @@ func (r ApiIpamIpAddressesListRequest) DynamicGroups(dynamicGroups []string) Api
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiIpamIpAddressesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiIpamIpAddressesListRequest {
+func (r ApiIpamIpAddressesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiIpamIpAddressesListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -2938,71 +2850,11 @@ func (r ApiIpamIpAddressesListRequest) Id(id []string) ApiIpamIpAddressesListReq
return r
}
-func (r ApiIpamIpAddressesListRequest) IdIc(idIc []string) ApiIpamIpAddressesListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiIpamIpAddressesListRequest) IdIe(idIe []string) ApiIpamIpAddressesListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiIpamIpAddressesListRequest) IdIew(idIew []string) ApiIpamIpAddressesListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiIpamIpAddressesListRequest) IdIre(idIre []string) ApiIpamIpAddressesListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiIpamIpAddressesListRequest) IdIsw(idIsw []string) ApiIpamIpAddressesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiIpamIpAddressesListRequest) IdN(idN []string) ApiIpamIpAddressesListRequest {
r.idN = &idN
return r
}
-func (r ApiIpamIpAddressesListRequest) IdNic(idNic []string) ApiIpamIpAddressesListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiIpamIpAddressesListRequest) IdNie(idNie []string) ApiIpamIpAddressesListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiIpamIpAddressesListRequest) IdNiew(idNiew []string) ApiIpamIpAddressesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiIpamIpAddressesListRequest) IdNire(idNire []string) ApiIpamIpAddressesListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiIpamIpAddressesListRequest) IdNisw(idNisw []string) ApiIpamIpAddressesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiIpamIpAddressesListRequest) IdNre(idNre []string) ApiIpamIpAddressesListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiIpamIpAddressesListRequest) IdRe(idRe []string) ApiIpamIpAddressesListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiIpamIpAddressesListRequest) Interfaces(interfaces []string) ApiIpamIpAddressesListRequest {
r.interfaces = &interfaces
return r
@@ -3181,8 +3033,7 @@ func (r ApiIpamIpAddressesListRequest) RoleIsnull(roleIsnull bool) ApiIpamIpAddr
return r
}
-// Exclude Role (name or ID)
-func (r ApiIpamIpAddressesListRequest) RoleN(roleN string) ApiIpamIpAddressesListRequest {
+func (r ApiIpamIpAddressesListRequest) RoleN(roleN []string) ApiIpamIpAddressesListRequest {
r.roleN = &roleN
return r
}
@@ -3198,8 +3049,7 @@ func (r ApiIpamIpAddressesListRequest) Status(status []string) ApiIpamIpAddresse
return r
}
-// Exclude Status (name or ID)
-func (r ApiIpamIpAddressesListRequest) StatusN(statusN string) ApiIpamIpAddressesListRequest {
+func (r ApiIpamIpAddressesListRequest) StatusN(statusN []string) ApiIpamIpAddressesListRequest {
r.statusN = &statusN
return r
}
@@ -3230,8 +3080,7 @@ func (r ApiIpamIpAddressesListRequest) TeamsIsnull(teamsIsnull bool) ApiIpamIpAd
return r
}
-// Exclude Teams (name or ID)
-func (r ApiIpamIpAddressesListRequest) TeamsN(teamsN string) ApiIpamIpAddressesListRequest {
+func (r ApiIpamIpAddressesListRequest) TeamsN(teamsN []string) ApiIpamIpAddressesListRequest {
r.teamsN = &teamsN
return r
}
@@ -3406,6 +3255,12 @@ func (r ApiIpamIpAddressesListRequest) Depth(depth int32) ApiIpamIpAddressesList
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamIpAddressesListRequest) ExcludeM2m(excludeM2m bool) ApiIpamIpAddressesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamIpAddressesListRequest) Execute() (*PaginatedIPAddressList, *http.Response, error) {
return r.ApiService.IpamIpAddressesListExecute(r)
}
@@ -3472,7 +3327,15 @@ func (a *IpamAPIService) IpamIpAddressesListExecute(r ApiIpamIpAddressesListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -3543,6 +3406,160 @@ func (a *IpamAPIService) IpamIpAddressesListExecute(r ApiIpamIpAddressesListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "form", "multi")
}
}
+ if r.description != nil {
+ t := *r.description
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description", t, "form", "multi")
+ }
+ }
+ if r.descriptionIc != nil {
+ t := *r.descriptionIc
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", t, "form", "multi")
+ }
+ }
+ if r.descriptionIe != nil {
+ t := *r.descriptionIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", t, "form", "multi")
+ }
+ }
+ if r.descriptionIew != nil {
+ t := *r.descriptionIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", t, "form", "multi")
+ }
+ }
+ if r.descriptionIre != nil {
+ t := *r.descriptionIre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", t, "form", "multi")
+ }
+ }
+ if r.descriptionIsw != nil {
+ t := *r.descriptionIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", t, "form", "multi")
+ }
+ }
+ if r.descriptionN != nil {
+ t := *r.descriptionN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", t, "form", "multi")
+ }
+ }
+ if r.descriptionNic != nil {
+ t := *r.descriptionNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", t, "form", "multi")
+ }
+ }
+ if r.descriptionNie != nil {
+ t := *r.descriptionNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", t, "form", "multi")
+ }
+ }
+ if r.descriptionNiew != nil {
+ t := *r.descriptionNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", t, "form", "multi")
+ }
+ }
+ if r.descriptionNire != nil {
+ t := *r.descriptionNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", t, "form", "multi")
+ }
+ }
+ if r.descriptionNisw != nil {
+ t := *r.descriptionNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", t, "form", "multi")
+ }
+ }
+ if r.descriptionNre != nil {
+ t := *r.descriptionNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", t, "form", "multi")
+ }
+ }
+ if r.descriptionRe != nil {
+ t := *r.descriptionRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", t, "form", "multi")
+ }
+ }
if r.device != nil {
t := *r.device
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -3731,7 +3748,15 @@ func (a *IpamAPIService) IpamIpAddressesListExecute(r ApiIpamIpAddressesListRequ
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -3753,61 +3778,6 @@ func (a *IpamAPIService) IpamIpAddressesListExecute(r ApiIpamIpAddressesListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -3819,83 +3789,6 @@ func (a *IpamAPIService) IpamIpAddressesListExecute(r ApiIpamIpAddressesListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.interfaces != nil {
t := *r.interfaces
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -4172,7 +4065,15 @@ func (a *IpamAPIService) IpamIpAddressesListExecute(r ApiIpamIpAddressesListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "role__isnull", r.roleIsnull, "form", "")
}
if r.roleN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", r.roleN, "form", "")
+ t := *r.roleN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", t, "form", "multi")
+ }
}
if r.sort != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
@@ -4189,7 +4090,15 @@ func (a *IpamAPIService) IpamIpAddressesListExecute(r ApiIpamIpAddressesListRequ
}
}
if r.statusN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", r.statusN, "form", "")
+ t := *r.statusN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "form", "multi")
+ }
}
if r.tags != nil {
t := *r.tags
@@ -4231,7 +4140,15 @@ func (a *IpamAPIService) IpamIpAddressesListExecute(r ApiIpamIpAddressesListRequ
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.tenant != nil {
t := *r.tenant
@@ -4537,8 +4454,16 @@ func (a *IpamAPIService) IpamIpAddressesListExecute(r ApiIpamIpAddressesListRequ
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -4753,6 +4678,7 @@ type ApiIpamIpAddressesNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamIpAddressesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamIpAddressesNotesListRequest {
@@ -4778,6 +4704,12 @@ func (r ApiIpamIpAddressesNotesListRequest) Depth(depth int32) ApiIpamIpAddresse
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamIpAddressesNotesListRequest) ExcludeM2m(excludeM2m bool) ApiIpamIpAddressesNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamIpAddressesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.IpamIpAddressesNotesListExecute(r)
}
@@ -4833,8 +4765,16 @@ func (a *IpamAPIService) IpamIpAddressesNotesListExecute(r ApiIpamIpAddressesNot
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -5044,6 +4984,7 @@ type ApiIpamIpAddressesRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamIpAddressesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamIpAddressesRetrieveRequest {
@@ -5057,6 +4998,12 @@ func (r ApiIpamIpAddressesRetrieveRequest) Depth(depth int32) ApiIpamIpAddresses
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamIpAddressesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiIpamIpAddressesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamIpAddressesRetrieveRequest) Execute() (*IPAddress, *http.Response, error) {
return r.ApiService.IpamIpAddressesRetrieveExecute(r)
}
@@ -5106,8 +5053,16 @@ func (a *IpamAPIService) IpamIpAddressesRetrieveExecute(r ApiIpamIpAddressesRetr
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -5955,7 +5910,7 @@ type ApiIpamNamespacesListRequest struct {
ApiService *IpamAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -5978,22 +5933,10 @@ type ApiIpamNamespacesListRequest struct {
descriptionNre *[]string
descriptionRe *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -6027,8 +5970,9 @@ type ApiIpamNamespacesListRequest struct {
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamNamespacesListRequest) Contacts(contacts []string) ApiIpamNamespacesListRequest {
@@ -6042,8 +5986,7 @@ func (r ApiIpamNamespacesListRequest) ContactsIsnull(contactsIsnull bool) ApiIpa
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiIpamNamespacesListRequest) ContactsN(contactsN string) ApiIpamNamespacesListRequest {
+func (r ApiIpamNamespacesListRequest) ContactsN(contactsN []string) ApiIpamNamespacesListRequest {
r.contactsN = &contactsN
return r
}
@@ -6158,8 +6101,7 @@ func (r ApiIpamNamespacesListRequest) DynamicGroups(dynamicGroups []string) ApiI
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiIpamNamespacesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiIpamNamespacesListRequest {
+func (r ApiIpamNamespacesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiIpamNamespacesListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -6175,71 +6117,11 @@ func (r ApiIpamNamespacesListRequest) Id(id []string) ApiIpamNamespacesListReque
return r
}
-func (r ApiIpamNamespacesListRequest) IdIc(idIc []string) ApiIpamNamespacesListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiIpamNamespacesListRequest) IdIe(idIe []string) ApiIpamNamespacesListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiIpamNamespacesListRequest) IdIew(idIew []string) ApiIpamNamespacesListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiIpamNamespacesListRequest) IdIre(idIre []string) ApiIpamNamespacesListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiIpamNamespacesListRequest) IdIsw(idIsw []string) ApiIpamNamespacesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiIpamNamespacesListRequest) IdN(idN []string) ApiIpamNamespacesListRequest {
r.idN = &idN
return r
}
-func (r ApiIpamNamespacesListRequest) IdNic(idNic []string) ApiIpamNamespacesListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiIpamNamespacesListRequest) IdNie(idNie []string) ApiIpamNamespacesListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiIpamNamespacesListRequest) IdNiew(idNiew []string) ApiIpamNamespacesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiIpamNamespacesListRequest) IdNire(idNire []string) ApiIpamNamespacesListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiIpamNamespacesListRequest) IdNisw(idNisw []string) ApiIpamNamespacesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiIpamNamespacesListRequest) IdNre(idNre []string) ApiIpamNamespacesListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiIpamNamespacesListRequest) IdRe(idRe []string) ApiIpamNamespacesListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiIpamNamespacesListRequest) LastUpdated(lastUpdated []time.Time) ApiIpamNamespacesListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -6410,8 +6292,7 @@ func (r ApiIpamNamespacesListRequest) TeamsIsnull(teamsIsnull bool) ApiIpamNames
return r
}
-// Exclude Teams (name or ID)
-func (r ApiIpamNamespacesListRequest) TeamsN(teamsN string) ApiIpamNamespacesListRequest {
+func (r ApiIpamNamespacesListRequest) TeamsN(teamsN []string) ApiIpamNamespacesListRequest {
r.teamsN = &teamsN
return r
}
@@ -6422,6 +6303,12 @@ func (r ApiIpamNamespacesListRequest) Depth(depth int32) ApiIpamNamespacesListRe
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamNamespacesListRequest) ExcludeM2m(excludeM2m bool) ApiIpamNamespacesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamNamespacesListRequest) Execute() (*PaginatedNamespaceList, *http.Response, error) {
return r.ApiService.IpamNamespacesListExecute(r)
}
@@ -6477,7 +6364,15 @@ func (a *IpamAPIService) IpamNamespacesListExecute(r ApiIpamNamespacesListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -6714,75 +6609,28 @@ func (a *IpamAPIService) IpamNamespacesListExecute(r ApiIpamNamespacesListReques
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.id != nil {
- t := *r.id
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
if r.idN != nil {
@@ -6796,83 +6644,6 @@ func (a *IpamAPIService) IpamNamespacesListExecute(r ApiIpamNamespacesListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -7157,13 +6928,29 @@ func (a *IpamAPIService) IpamNamespacesListExecute(r ApiIpamNamespacesListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -7378,6 +7165,7 @@ type ApiIpamNamespacesNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamNamespacesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamNamespacesNotesListRequest {
@@ -7403,6 +7191,12 @@ func (r ApiIpamNamespacesNotesListRequest) Depth(depth int32) ApiIpamNamespacesN
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamNamespacesNotesListRequest) ExcludeM2m(excludeM2m bool) ApiIpamNamespacesNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamNamespacesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.IpamNamespacesNotesListExecute(r)
}
@@ -7458,8 +7252,16 @@ func (a *IpamAPIService) IpamNamespacesNotesListExecute(r ApiIpamNamespacesNotes
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -7669,6 +7471,7 @@ type ApiIpamNamespacesRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamNamespacesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamNamespacesRetrieveRequest {
@@ -7682,6 +7485,12 @@ func (r ApiIpamNamespacesRetrieveRequest) Depth(depth int32) ApiIpamNamespacesRe
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamNamespacesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiIpamNamespacesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamNamespacesRetrieveRequest) Execute() (*Namespace, *http.Response, error) {
return r.ApiService.IpamNamespacesRetrieveExecute(r)
}
@@ -7731,8 +7540,16 @@ func (a *IpamAPIService) IpamNamespacesRetrieveExecute(r ApiIpamNamespacesRetrie
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -8581,28 +8398,18 @@ type ApiIpamPrefixLocationAssignmentsListRequest struct {
created *[]time.Time
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
limit *int32
location *[]string
locationN *[]string
offset *int32
prefix *[]string
+ prefixN *[]string
q *string
sort *string
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamPrefixLocationAssignmentsListRequest) Created(created []time.Time) ApiIpamPrefixLocationAssignmentsListRequest {
@@ -8621,71 +8428,11 @@ func (r ApiIpamPrefixLocationAssignmentsListRequest) Id(id []string) ApiIpamPref
return r
}
-func (r ApiIpamPrefixLocationAssignmentsListRequest) IdIc(idIc []string) ApiIpamPrefixLocationAssignmentsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiIpamPrefixLocationAssignmentsListRequest) IdIe(idIe []string) ApiIpamPrefixLocationAssignmentsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiIpamPrefixLocationAssignmentsListRequest) IdIew(idIew []string) ApiIpamPrefixLocationAssignmentsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiIpamPrefixLocationAssignmentsListRequest) IdIre(idIre []string) ApiIpamPrefixLocationAssignmentsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiIpamPrefixLocationAssignmentsListRequest) IdIsw(idIsw []string) ApiIpamPrefixLocationAssignmentsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiIpamPrefixLocationAssignmentsListRequest) IdN(idN []string) ApiIpamPrefixLocationAssignmentsListRequest {
r.idN = &idN
return r
}
-func (r ApiIpamPrefixLocationAssignmentsListRequest) IdNic(idNic []string) ApiIpamPrefixLocationAssignmentsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiIpamPrefixLocationAssignmentsListRequest) IdNie(idNie []string) ApiIpamPrefixLocationAssignmentsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiIpamPrefixLocationAssignmentsListRequest) IdNiew(idNiew []string) ApiIpamPrefixLocationAssignmentsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiIpamPrefixLocationAssignmentsListRequest) IdNire(idNire []string) ApiIpamPrefixLocationAssignmentsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiIpamPrefixLocationAssignmentsListRequest) IdNisw(idNisw []string) ApiIpamPrefixLocationAssignmentsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiIpamPrefixLocationAssignmentsListRequest) IdNre(idNre []string) ApiIpamPrefixLocationAssignmentsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiIpamPrefixLocationAssignmentsListRequest) IdRe(idRe []string) ApiIpamPrefixLocationAssignmentsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiIpamPrefixLocationAssignmentsListRequest) LastUpdated(lastUpdated []time.Time) ApiIpamPrefixLocationAssignmentsListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -8713,12 +8460,16 @@ func (r ApiIpamPrefixLocationAssignmentsListRequest) Offset(offset int32) ApiIpa
return r
}
-// Prefix
func (r ApiIpamPrefixLocationAssignmentsListRequest) Prefix(prefix []string) ApiIpamPrefixLocationAssignmentsListRequest {
r.prefix = &prefix
return r
}
+func (r ApiIpamPrefixLocationAssignmentsListRequest) PrefixN(prefixN []string) ApiIpamPrefixLocationAssignmentsListRequest {
+ r.prefixN = &prefixN
+ return r
+}
+
// Search
func (r ApiIpamPrefixLocationAssignmentsListRequest) Q(q string) ApiIpamPrefixLocationAssignmentsListRequest {
r.q = &q
@@ -8737,6 +8488,12 @@ func (r ApiIpamPrefixLocationAssignmentsListRequest) Depth(depth int32) ApiIpamP
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamPrefixLocationAssignmentsListRequest) ExcludeM2m(excludeM2m bool) ApiIpamPrefixLocationAssignmentsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamPrefixLocationAssignmentsListRequest) Execute() (*PaginatedPrefixLocationAssignmentList, *http.Response, error) {
return r.ApiService.IpamPrefixLocationAssignmentsListExecute(r)
}
@@ -8802,61 +8559,6 @@ func (a *IpamAPIService) IpamPrefixLocationAssignmentsListExecute(r ApiIpamPrefi
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -8868,83 +8570,6 @@ func (a *IpamAPIService) IpamPrefixLocationAssignmentsListExecute(r ApiIpamPrefi
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -8995,6 +8620,17 @@ func (a *IpamAPIService) IpamPrefixLocationAssignmentsListExecute(r ApiIpamPrefi
parameterAddToHeaderOrQuery(localVarQueryParams, "prefix", t, "form", "multi")
}
}
+ if r.prefixN != nil {
+ t := *r.prefixN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "prefix__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "prefix__n", t, "form", "multi")
+ }
+ }
if r.q != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
}
@@ -9004,8 +8640,16 @@ func (a *IpamAPIService) IpamPrefixLocationAssignmentsListExecute(r ApiIpamPrefi
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -9075,39 +8719,39 @@ func (a *IpamAPIService) IpamPrefixLocationAssignmentsListExecute(r ApiIpamPrefi
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiIpamPrefixLocationAssignmentsNotesCreateRequest struct {
+type ApiIpamPrefixLocationAssignmentsPartialUpdateRequest struct {
ctx context.Context
ApiService *IpamAPIService
id string
- noteInputRequest *NoteInputRequest
format *CircuitsCircuitTerminationsListFormatParameter
+ patchedPrefixLocationAssignmentRequest *PatchedPrefixLocationAssignmentRequest
}
-func (r ApiIpamPrefixLocationAssignmentsNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiIpamPrefixLocationAssignmentsNotesCreateRequest {
- r.noteInputRequest = ¬eInputRequest
+func (r ApiIpamPrefixLocationAssignmentsPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamPrefixLocationAssignmentsPartialUpdateRequest {
+ r.format = &format
return r
}
-func (r ApiIpamPrefixLocationAssignmentsNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamPrefixLocationAssignmentsNotesCreateRequest {
- r.format = &format
+func (r ApiIpamPrefixLocationAssignmentsPartialUpdateRequest) PatchedPrefixLocationAssignmentRequest(patchedPrefixLocationAssignmentRequest PatchedPrefixLocationAssignmentRequest) ApiIpamPrefixLocationAssignmentsPartialUpdateRequest {
+ r.patchedPrefixLocationAssignmentRequest = &patchedPrefixLocationAssignmentRequest
return r
}
-func (r ApiIpamPrefixLocationAssignmentsNotesCreateRequest) Execute() (*Note, *http.Response, error) {
- return r.ApiService.IpamPrefixLocationAssignmentsNotesCreateExecute(r)
+func (r ApiIpamPrefixLocationAssignmentsPartialUpdateRequest) Execute() (*PrefixLocationAssignment, *http.Response, error) {
+ return r.ApiService.IpamPrefixLocationAssignmentsPartialUpdateExecute(r)
}
/*
-IpamPrefixLocationAssignmentsNotesCreate Method for IpamPrefixLocationAssignmentsNotesCreate
+IpamPrefixLocationAssignmentsPartialUpdate Method for IpamPrefixLocationAssignmentsPartialUpdate
-API methods for returning or creating notes on an object.
+Partial update a prefix location assignment object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id A UUID string identifying this prefix location assignment.
- @return ApiIpamPrefixLocationAssignmentsNotesCreateRequest
+ @return ApiIpamPrefixLocationAssignmentsPartialUpdateRequest
*/
-func (a *IpamAPIService) IpamPrefixLocationAssignmentsNotesCreate(ctx context.Context, id string) ApiIpamPrefixLocationAssignmentsNotesCreateRequest {
- return ApiIpamPrefixLocationAssignmentsNotesCreateRequest{
+func (a *IpamAPIService) IpamPrefixLocationAssignmentsPartialUpdate(ctx context.Context, id string) ApiIpamPrefixLocationAssignmentsPartialUpdateRequest {
+ return ApiIpamPrefixLocationAssignmentsPartialUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -9115,29 +8759,26 @@ func (a *IpamAPIService) IpamPrefixLocationAssignmentsNotesCreate(ctx context.Co
}
// Execute executes the request
-// @return Note
-func (a *IpamAPIService) IpamPrefixLocationAssignmentsNotesCreateExecute(r ApiIpamPrefixLocationAssignmentsNotesCreateRequest) (*Note, *http.Response, error) {
+// @return PrefixLocationAssignment
+func (a *IpamAPIService) IpamPrefixLocationAssignmentsPartialUpdateExecute(r ApiIpamPrefixLocationAssignmentsPartialUpdateRequest) (*PrefixLocationAssignment, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPost
+ localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *Note
+ localVarReturnValue *PrefixLocationAssignment
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamPrefixLocationAssignmentsNotesCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamPrefixLocationAssignmentsPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/ipam/prefix-location-assignments/{id}/notes/"
+ localVarPath := localBasePath + "/ipam/prefix-location-assignments/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.noteInputRequest == nil {
- return localVarReturnValue, nil, reportError("noteInputRequest is required and must be specified")
- }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -9160,7 +8801,7 @@ func (a *IpamAPIService) IpamPrefixLocationAssignmentsNotesCreateExecute(r ApiIp
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.noteInputRequest
+ localVarPostBody = r.patchedPrefixLocationAssignmentRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -9212,54 +8853,47 @@ func (a *IpamAPIService) IpamPrefixLocationAssignmentsNotesCreateExecute(r ApiIp
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiIpamPrefixLocationAssignmentsNotesListRequest struct {
+type ApiIpamPrefixLocationAssignmentsRetrieveRequest struct {
ctx context.Context
ApiService *IpamAPIService
id string
format *CircuitsCircuitTerminationsListFormatParameter
- limit *int32
- offset *int32
depth *int32
+ excludeM2m *bool
}
-func (r ApiIpamPrefixLocationAssignmentsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamPrefixLocationAssignmentsNotesListRequest {
+func (r ApiIpamPrefixLocationAssignmentsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamPrefixLocationAssignmentsRetrieveRequest {
r.format = &format
return r
}
-// Number of results to return per page.
-func (r ApiIpamPrefixLocationAssignmentsNotesListRequest) Limit(limit int32) ApiIpamPrefixLocationAssignmentsNotesListRequest {
- r.limit = &limit
- return r
-}
-
-// The initial index from which to return the results.
-func (r ApiIpamPrefixLocationAssignmentsNotesListRequest) Offset(offset int32) ApiIpamPrefixLocationAssignmentsNotesListRequest {
- r.offset = &offset
+// Serializer Depth
+func (r ApiIpamPrefixLocationAssignmentsRetrieveRequest) Depth(depth int32) ApiIpamPrefixLocationAssignmentsRetrieveRequest {
+ r.depth = &depth
return r
}
-// Serializer Depth
-func (r ApiIpamPrefixLocationAssignmentsNotesListRequest) Depth(depth int32) ApiIpamPrefixLocationAssignmentsNotesListRequest {
- r.depth = &depth
+// Exclude many-to-many fields from the response
+func (r ApiIpamPrefixLocationAssignmentsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiIpamPrefixLocationAssignmentsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
return r
}
-func (r ApiIpamPrefixLocationAssignmentsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
- return r.ApiService.IpamPrefixLocationAssignmentsNotesListExecute(r)
+func (r ApiIpamPrefixLocationAssignmentsRetrieveRequest) Execute() (*PrefixLocationAssignment, *http.Response, error) {
+ return r.ApiService.IpamPrefixLocationAssignmentsRetrieveExecute(r)
}
/*
-IpamPrefixLocationAssignmentsNotesList Method for IpamPrefixLocationAssignmentsNotesList
+IpamPrefixLocationAssignmentsRetrieve Method for IpamPrefixLocationAssignmentsRetrieve
-API methods for returning or creating notes on an object.
+Retrieve a prefix location assignment object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id A UUID string identifying this prefix location assignment.
- @return ApiIpamPrefixLocationAssignmentsNotesListRequest
+ @return ApiIpamPrefixLocationAssignmentsRetrieveRequest
*/
-func (a *IpamAPIService) IpamPrefixLocationAssignmentsNotesList(ctx context.Context, id string) ApiIpamPrefixLocationAssignmentsNotesListRequest {
- return ApiIpamPrefixLocationAssignmentsNotesListRequest{
+func (a *IpamAPIService) IpamPrefixLocationAssignmentsRetrieve(ctx context.Context, id string) ApiIpamPrefixLocationAssignmentsRetrieveRequest {
+ return ApiIpamPrefixLocationAssignmentsRetrieveRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -9267,21 +8901,21 @@ func (a *IpamAPIService) IpamPrefixLocationAssignmentsNotesList(ctx context.Cont
}
// Execute executes the request
-// @return PaginatedNoteList
-func (a *IpamAPIService) IpamPrefixLocationAssignmentsNotesListExecute(r ApiIpamPrefixLocationAssignmentsNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
+// @return PrefixLocationAssignment
+func (a *IpamAPIService) IpamPrefixLocationAssignmentsRetrieveExecute(r ApiIpamPrefixLocationAssignmentsRetrieveRequest) (*PrefixLocationAssignment, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PaginatedNoteList
+ localVarReturnValue *PrefixLocationAssignment
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamPrefixLocationAssignmentsNotesList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamPrefixLocationAssignmentsRetrieve")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/ipam/prefix-location-assignments/{id}/notes/"
+ localVarPath := localBasePath + "/ipam/prefix-location-assignments/{id}/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -9291,17 +8925,19 @@ func (a *IpamAPIService) IpamPrefixLocationAssignmentsNotesListExecute(r ApiIpam
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
- }
- if r.offset != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
- }
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -9371,39 +9007,39 @@ func (a *IpamAPIService) IpamPrefixLocationAssignmentsNotesListExecute(r ApiIpam
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiIpamPrefixLocationAssignmentsPartialUpdateRequest struct {
+type ApiIpamPrefixLocationAssignmentsUpdateRequest struct {
ctx context.Context
ApiService *IpamAPIService
id string
+ prefixLocationAssignmentRequest *PrefixLocationAssignmentRequest
format *CircuitsCircuitTerminationsListFormatParameter
- patchedPrefixLocationAssignmentRequest *PatchedPrefixLocationAssignmentRequest
}
-func (r ApiIpamPrefixLocationAssignmentsPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamPrefixLocationAssignmentsPartialUpdateRequest {
- r.format = &format
+func (r ApiIpamPrefixLocationAssignmentsUpdateRequest) PrefixLocationAssignmentRequest(prefixLocationAssignmentRequest PrefixLocationAssignmentRequest) ApiIpamPrefixLocationAssignmentsUpdateRequest {
+ r.prefixLocationAssignmentRequest = &prefixLocationAssignmentRequest
return r
}
-func (r ApiIpamPrefixLocationAssignmentsPartialUpdateRequest) PatchedPrefixLocationAssignmentRequest(patchedPrefixLocationAssignmentRequest PatchedPrefixLocationAssignmentRequest) ApiIpamPrefixLocationAssignmentsPartialUpdateRequest {
- r.patchedPrefixLocationAssignmentRequest = &patchedPrefixLocationAssignmentRequest
+func (r ApiIpamPrefixLocationAssignmentsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamPrefixLocationAssignmentsUpdateRequest {
+ r.format = &format
return r
}
-func (r ApiIpamPrefixLocationAssignmentsPartialUpdateRequest) Execute() (*PrefixLocationAssignment, *http.Response, error) {
- return r.ApiService.IpamPrefixLocationAssignmentsPartialUpdateExecute(r)
+func (r ApiIpamPrefixLocationAssignmentsUpdateRequest) Execute() (*PrefixLocationAssignment, *http.Response, error) {
+ return r.ApiService.IpamPrefixLocationAssignmentsUpdateExecute(r)
}
/*
-IpamPrefixLocationAssignmentsPartialUpdate Method for IpamPrefixLocationAssignmentsPartialUpdate
+IpamPrefixLocationAssignmentsUpdate Method for IpamPrefixLocationAssignmentsUpdate
-Partial update a prefix location assignment object.
+Update a prefix location assignment object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id A UUID string identifying this prefix location assignment.
- @return ApiIpamPrefixLocationAssignmentsPartialUpdateRequest
+ @return ApiIpamPrefixLocationAssignmentsUpdateRequest
*/
-func (a *IpamAPIService) IpamPrefixLocationAssignmentsPartialUpdate(ctx context.Context, id string) ApiIpamPrefixLocationAssignmentsPartialUpdateRequest {
- return ApiIpamPrefixLocationAssignmentsPartialUpdateRequest{
+func (a *IpamAPIService) IpamPrefixLocationAssignmentsUpdate(ctx context.Context, id string) ApiIpamPrefixLocationAssignmentsUpdateRequest {
+ return ApiIpamPrefixLocationAssignmentsUpdateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -9412,15 +9048,15 @@ func (a *IpamAPIService) IpamPrefixLocationAssignmentsPartialUpdate(ctx context.
// Execute executes the request
// @return PrefixLocationAssignment
-func (a *IpamAPIService) IpamPrefixLocationAssignmentsPartialUpdateExecute(r ApiIpamPrefixLocationAssignmentsPartialUpdateRequest) (*PrefixLocationAssignment, *http.Response, error) {
+func (a *IpamAPIService) IpamPrefixLocationAssignmentsUpdateExecute(r ApiIpamPrefixLocationAssignmentsUpdateRequest) (*PrefixLocationAssignment, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPatch
+ localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
localVarReturnValue *PrefixLocationAssignment
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamPrefixLocationAssignmentsPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamPrefixLocationAssignmentsUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -9431,6 +9067,9 @@ func (a *IpamAPIService) IpamPrefixLocationAssignmentsPartialUpdateExecute(r Api
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
+ if r.prefixLocationAssignmentRequest == nil {
+ return localVarReturnValue, nil, reportError("prefixLocationAssignmentRequest is required and must be specified")
+ }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -9453,7 +9092,7 @@ func (a *IpamAPIService) IpamPrefixLocationAssignmentsPartialUpdateExecute(r Api
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedPrefixLocationAssignmentRequest
+ localVarPostBody = r.prefixLocationAssignmentRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -9505,40 +9144,80 @@ func (a *IpamAPIService) IpamPrefixLocationAssignmentsPartialUpdateExecute(r Api
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiIpamPrefixLocationAssignmentsRetrieveRequest struct {
+type ApiIpamPrefixesAvailableIpsCreateRequest struct {
ctx context.Context
ApiService *IpamAPIService
id string
+ iPAllocationRequest *[]IPAllocationRequest
format *CircuitsCircuitTerminationsListFormatParameter
- depth *int32
+ limit *int32
+ offset *int32
+ rangeEnd *IpamPrefixesAvailableIpsListRangeEndParameter
+ rangeStart *IpamPrefixesAvailableIpsListRangeEndParameter
+ sort *string
}
-func (r ApiIpamPrefixLocationAssignmentsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamPrefixLocationAssignmentsRetrieveRequest {
+func (r ApiIpamPrefixesAvailableIpsCreateRequest) IPAllocationRequest(iPAllocationRequest []IPAllocationRequest) ApiIpamPrefixesAvailableIpsCreateRequest {
+ r.iPAllocationRequest = &iPAllocationRequest
+ return r
+}
+
+func (r ApiIpamPrefixesAvailableIpsCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamPrefixesAvailableIpsCreateRequest {
r.format = &format
return r
}
-// Serializer Depth
-func (r ApiIpamPrefixLocationAssignmentsRetrieveRequest) Depth(depth int32) ApiIpamPrefixLocationAssignmentsRetrieveRequest {
- r.depth = &depth
+// Number of results to return per page.
+func (r ApiIpamPrefixesAvailableIpsCreateRequest) Limit(limit int32) ApiIpamPrefixesAvailableIpsCreateRequest {
+ r.limit = &limit
return r
}
-func (r ApiIpamPrefixLocationAssignmentsRetrieveRequest) Execute() (*PrefixLocationAssignment, *http.Response, error) {
- return r.ApiService.IpamPrefixLocationAssignmentsRetrieveExecute(r)
+// The initial index from which to return the results.
+func (r ApiIpamPrefixesAvailableIpsCreateRequest) Offset(offset int32) ApiIpamPrefixesAvailableIpsCreateRequest {
+ r.offset = &offset
+ return r
+}
+
+// IP from which enumeration/allocation should stop.
+func (r ApiIpamPrefixesAvailableIpsCreateRequest) RangeEnd(rangeEnd IpamPrefixesAvailableIpsListRangeEndParameter) ApiIpamPrefixesAvailableIpsCreateRequest {
+ r.rangeEnd = &rangeEnd
+ return r
+}
+
+// IP from which enumeration/allocation should start.
+func (r ApiIpamPrefixesAvailableIpsCreateRequest) RangeStart(rangeStart IpamPrefixesAvailableIpsListRangeEndParameter) ApiIpamPrefixesAvailableIpsCreateRequest {
+ r.rangeStart = &rangeStart
+ return r
+}
+
+// Which field to use when ordering the results.
+func (r ApiIpamPrefixesAvailableIpsCreateRequest) Sort(sort string) ApiIpamPrefixesAvailableIpsCreateRequest {
+ r.sort = &sort
+ return r
+}
+
+func (r ApiIpamPrefixesAvailableIpsCreateRequest) Execute() ([]IPAddress, *http.Response, error) {
+ return r.ApiService.IpamPrefixesAvailableIpsCreateExecute(r)
}
/*
-IpamPrefixLocationAssignmentsRetrieve Method for IpamPrefixLocationAssignmentsRetrieve
+IpamPrefixesAvailableIpsCreate Method for IpamPrefixesAvailableIpsCreate
-Retrieve a prefix location assignment object.
+A convenience method for listing and/or allocating 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.
+
+This uses a Redis lock to prevent this API from being invoked in parallel, in order to avoid a race condition
+if multiple clients tried to simultaneously request allocation from the same parent prefix.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this prefix location assignment.
- @return ApiIpamPrefixLocationAssignmentsRetrieveRequest
+ @param id A UUID string identifying this IP address.
+ @return ApiIpamPrefixesAvailableIpsCreateRequest
*/
-func (a *IpamAPIService) IpamPrefixLocationAssignmentsRetrieve(ctx context.Context, id string) ApiIpamPrefixLocationAssignmentsRetrieveRequest {
- return ApiIpamPrefixLocationAssignmentsRetrieveRequest{
+func (a *IpamAPIService) IpamPrefixesAvailableIpsCreate(ctx context.Context, id string) ApiIpamPrefixesAvailableIpsCreateRequest {
+ return ApiIpamPrefixesAvailableIpsCreateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -9546,38 +9225,50 @@ func (a *IpamAPIService) IpamPrefixLocationAssignmentsRetrieve(ctx context.Conte
}
// Execute executes the request
-// @return PrefixLocationAssignment
-func (a *IpamAPIService) IpamPrefixLocationAssignmentsRetrieveExecute(r ApiIpamPrefixLocationAssignmentsRetrieveRequest) (*PrefixLocationAssignment, *http.Response, error) {
+// @return []IPAddress
+func (a *IpamAPIService) IpamPrefixesAvailableIpsCreateExecute(r ApiIpamPrefixesAvailableIpsCreateRequest) ([]IPAddress, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodGet
+ localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PrefixLocationAssignment
+ localVarReturnValue []IPAddress
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamPrefixLocationAssignmentsRetrieve")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamPrefixesAvailableIpsCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/ipam/prefix-location-assignments/{id}/"
+ localVarPath := localBasePath + "/ipam/prefixes/{id}/available-ips/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
+ if r.iPAllocationRequest == nil {
+ return localVarReturnValue, nil, reportError("iPAllocationRequest is required and must be specified")
+ }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.depth != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
- } else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ }
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+ }
+ if r.rangeEnd != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "range_end", r.rangeEnd, "form", "")
+ }
+ if r.rangeStart != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "range_start", r.rangeStart, "form", "")
+ }
+ if r.sort != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
}
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -9593,6 +9284,8 @@ func (a *IpamAPIService) IpamPrefixLocationAssignmentsRetrieveExecute(r ApiIpamP
if localVarHTTPHeaderAccept != "" {
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
+ // body params
+ localVarPostBody = r.iPAllocationRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -9644,39 +9337,88 @@ func (a *IpamAPIService) IpamPrefixLocationAssignmentsRetrieveExecute(r ApiIpamP
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiIpamPrefixLocationAssignmentsUpdateRequest struct {
+type ApiIpamPrefixesAvailableIpsListRequest struct {
ctx context.Context
ApiService *IpamAPIService
id string
- prefixLocationAssignmentRequest *PrefixLocationAssignmentRequest
format *CircuitsCircuitTerminationsListFormatParameter
+ limit *int32
+ offset *int32
+ rangeEnd *IpamPrefixesAvailableIpsListRangeEndParameter
+ rangeStart *IpamPrefixesAvailableIpsListRangeEndParameter
+ sort *string
+ depth *int32
+ excludeM2m *bool
}
-func (r ApiIpamPrefixLocationAssignmentsUpdateRequest) PrefixLocationAssignmentRequest(prefixLocationAssignmentRequest PrefixLocationAssignmentRequest) ApiIpamPrefixLocationAssignmentsUpdateRequest {
- r.prefixLocationAssignmentRequest = &prefixLocationAssignmentRequest
+func (r ApiIpamPrefixesAvailableIpsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamPrefixesAvailableIpsListRequest {
+ r.format = &format
return r
}
-func (r ApiIpamPrefixLocationAssignmentsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamPrefixLocationAssignmentsUpdateRequest {
- r.format = &format
+// Number of results to return per page.
+func (r ApiIpamPrefixesAvailableIpsListRequest) Limit(limit int32) ApiIpamPrefixesAvailableIpsListRequest {
+ r.limit = &limit
return r
}
-func (r ApiIpamPrefixLocationAssignmentsUpdateRequest) Execute() (*PrefixLocationAssignment, *http.Response, error) {
- return r.ApiService.IpamPrefixLocationAssignmentsUpdateExecute(r)
+// The initial index from which to return the results.
+func (r ApiIpamPrefixesAvailableIpsListRequest) Offset(offset int32) ApiIpamPrefixesAvailableIpsListRequest {
+ r.offset = &offset
+ return r
+}
+
+// IP from which enumeration/allocation should stop.
+func (r ApiIpamPrefixesAvailableIpsListRequest) RangeEnd(rangeEnd IpamPrefixesAvailableIpsListRangeEndParameter) ApiIpamPrefixesAvailableIpsListRequest {
+ r.rangeEnd = &rangeEnd
+ return r
+}
+
+// IP from which enumeration/allocation should start.
+func (r ApiIpamPrefixesAvailableIpsListRequest) RangeStart(rangeStart IpamPrefixesAvailableIpsListRangeEndParameter) ApiIpamPrefixesAvailableIpsListRequest {
+ r.rangeStart = &rangeStart
+ return r
+}
+
+// Which field to use when ordering the results.
+func (r ApiIpamPrefixesAvailableIpsListRequest) Sort(sort string) ApiIpamPrefixesAvailableIpsListRequest {
+ r.sort = &sort
+ return r
+}
+
+// Serializer Depth
+func (r ApiIpamPrefixesAvailableIpsListRequest) Depth(depth int32) ApiIpamPrefixesAvailableIpsListRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiIpamPrefixesAvailableIpsListRequest) ExcludeM2m(excludeM2m bool) ApiIpamPrefixesAvailableIpsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiIpamPrefixesAvailableIpsListRequest) Execute() ([]AvailableIP, *http.Response, error) {
+ return r.ApiService.IpamPrefixesAvailableIpsListExecute(r)
}
/*
-IpamPrefixLocationAssignmentsUpdate Method for IpamPrefixLocationAssignmentsUpdate
+IpamPrefixesAvailableIpsList Method for IpamPrefixesAvailableIpsList
-Update a prefix location assignment object.
+A convenience method for listing and/or allocating 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.
+
+This uses a Redis lock to prevent this API from being invoked in parallel, in order to avoid a race condition
+if multiple clients tried to simultaneously request allocation from the same parent prefix.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this prefix location assignment.
- @return ApiIpamPrefixLocationAssignmentsUpdateRequest
+ @param id A UUID string identifying this IP address.
+ @return ApiIpamPrefixesAvailableIpsListRequest
*/
-func (a *IpamAPIService) IpamPrefixLocationAssignmentsUpdate(ctx context.Context, id string) ApiIpamPrefixLocationAssignmentsUpdateRequest {
- return ApiIpamPrefixLocationAssignmentsUpdateRequest{
+func (a *IpamAPIService) IpamPrefixesAvailableIpsList(ctx context.Context, id string) ApiIpamPrefixesAvailableIpsListRequest {
+ return ApiIpamPrefixesAvailableIpsListRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -9684,35 +9426,61 @@ func (a *IpamAPIService) IpamPrefixLocationAssignmentsUpdate(ctx context.Context
}
// Execute executes the request
-// @return PrefixLocationAssignment
-func (a *IpamAPIService) IpamPrefixLocationAssignmentsUpdateExecute(r ApiIpamPrefixLocationAssignmentsUpdateRequest) (*PrefixLocationAssignment, *http.Response, error) {
+// @return []AvailableIP
+func (a *IpamAPIService) IpamPrefixesAvailableIpsListExecute(r ApiIpamPrefixesAvailableIpsListRequest) ([]AvailableIP, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPut
+ localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PrefixLocationAssignment
+ localVarReturnValue []AvailableIP
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamPrefixLocationAssignmentsUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamPrefixesAvailableIpsList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/ipam/prefix-location-assignments/{id}/"
+ localVarPath := localBasePath + "/ipam/prefixes/{id}/available-ips/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.prefixLocationAssignmentRequest == nil {
- return localVarReturnValue, nil, reportError("prefixLocationAssignmentRequest is required and must be specified")
- }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ }
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+ }
+ if r.rangeEnd != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "range_end", r.rangeEnd, "form", "")
+ }
+ if r.rangeStart != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "range_start", r.rangeStart, "form", "")
+ }
+ if r.sort != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+ localVarHTTPContentTypes := []string{}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -9728,8 +9496,6 @@ func (a *IpamAPIService) IpamPrefixLocationAssignmentsUpdateExecute(r ApiIpamPre
if localVarHTTPHeaderAccept != "" {
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
- // body params
- localVarPostBody = r.prefixLocationAssignmentRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -9781,66 +9547,63 @@ func (a *IpamAPIService) IpamPrefixLocationAssignmentsUpdateExecute(r ApiIpamPre
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiIpamPrefixesAvailableIpsCreateRequest struct {
+type ApiIpamPrefixesAvailablePrefixesCreateRequest struct {
ctx context.Context
ApiService *IpamAPIService
id string
- iPAllocationRequest *[]IPAllocationRequest
+ prefixLengthRequest *PrefixLengthRequest
format *CircuitsCircuitTerminationsListFormatParameter
limit *int32
offset *int32
sort *string
}
-func (r ApiIpamPrefixesAvailableIpsCreateRequest) IPAllocationRequest(iPAllocationRequest []IPAllocationRequest) ApiIpamPrefixesAvailableIpsCreateRequest {
- r.iPAllocationRequest = &iPAllocationRequest
+func (r ApiIpamPrefixesAvailablePrefixesCreateRequest) PrefixLengthRequest(prefixLengthRequest PrefixLengthRequest) ApiIpamPrefixesAvailablePrefixesCreateRequest {
+ r.prefixLengthRequest = &prefixLengthRequest
return r
}
-func (r ApiIpamPrefixesAvailableIpsCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamPrefixesAvailableIpsCreateRequest {
+func (r ApiIpamPrefixesAvailablePrefixesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamPrefixesAvailablePrefixesCreateRequest {
r.format = &format
return r
}
// Number of results to return per page.
-func (r ApiIpamPrefixesAvailableIpsCreateRequest) Limit(limit int32) ApiIpamPrefixesAvailableIpsCreateRequest {
+func (r ApiIpamPrefixesAvailablePrefixesCreateRequest) Limit(limit int32) ApiIpamPrefixesAvailablePrefixesCreateRequest {
r.limit = &limit
return r
}
// The initial index from which to return the results.
-func (r ApiIpamPrefixesAvailableIpsCreateRequest) Offset(offset int32) ApiIpamPrefixesAvailableIpsCreateRequest {
+func (r ApiIpamPrefixesAvailablePrefixesCreateRequest) Offset(offset int32) ApiIpamPrefixesAvailablePrefixesCreateRequest {
r.offset = &offset
return r
}
// Which field to use when ordering the results.
-func (r ApiIpamPrefixesAvailableIpsCreateRequest) Sort(sort string) ApiIpamPrefixesAvailableIpsCreateRequest {
+func (r ApiIpamPrefixesAvailablePrefixesCreateRequest) Sort(sort string) ApiIpamPrefixesAvailablePrefixesCreateRequest {
r.sort = &sort
return r
}
-func (r ApiIpamPrefixesAvailableIpsCreateRequest) Execute() ([]IPAddress, *http.Response, error) {
- return r.ApiService.IpamPrefixesAvailableIpsCreateExecute(r)
+func (r ApiIpamPrefixesAvailablePrefixesCreateRequest) Execute() (*PaginatedPrefixList, *http.Response, error) {
+ return r.ApiService.IpamPrefixesAvailablePrefixesCreateExecute(r)
}
/*
-IpamPrefixesAvailableIpsCreate Method for IpamPrefixesAvailableIpsCreate
-
-A convenience method for listing and/or allocating available IP addresses within a prefix.
+IpamPrefixesAvailablePrefixesCreate Method for IpamPrefixesAvailablePrefixesCreate
-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.
+A convenience method for listing and/or allocating available child prefixes within a parent.
This uses a Redis lock to prevent this API from being invoked in parallel, in order to avoid a race condition
if multiple clients tried to simultaneously request allocation from the same parent prefix.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this IP address.
- @return ApiIpamPrefixesAvailableIpsCreateRequest
+ @param id A UUID string identifying this prefix.
+ @return ApiIpamPrefixesAvailablePrefixesCreateRequest
*/
-func (a *IpamAPIService) IpamPrefixesAvailableIpsCreate(ctx context.Context, id string) ApiIpamPrefixesAvailableIpsCreateRequest {
- return ApiIpamPrefixesAvailableIpsCreateRequest{
+func (a *IpamAPIService) IpamPrefixesAvailablePrefixesCreate(ctx context.Context, id string) ApiIpamPrefixesAvailablePrefixesCreateRequest {
+ return ApiIpamPrefixesAvailablePrefixesCreateRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -9848,28 +9611,28 @@ func (a *IpamAPIService) IpamPrefixesAvailableIpsCreate(ctx context.Context, id
}
// Execute executes the request
-// @return []IPAddress
-func (a *IpamAPIService) IpamPrefixesAvailableIpsCreateExecute(r ApiIpamPrefixesAvailableIpsCreateRequest) ([]IPAddress, *http.Response, error) {
+// @return PaginatedPrefixList
+func (a *IpamAPIService) IpamPrefixesAvailablePrefixesCreateExecute(r ApiIpamPrefixesAvailablePrefixesCreateRequest) (*PaginatedPrefixList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []IPAddress
+ localVarReturnValue *PaginatedPrefixList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamPrefixesAvailableIpsCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamPrefixesAvailablePrefixesCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/ipam/prefixes/{id}/available-ips/"
+ localVarPath := localBasePath + "/ipam/prefixes/{id}/available-prefixes/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.iPAllocationRequest == nil {
- return localVarReturnValue, nil, reportError("iPAllocationRequest is required and must be specified")
+ if r.prefixLengthRequest == nil {
+ return localVarReturnValue, nil, reportError("prefixLengthRequest is required and must be specified")
}
if r.format != nil {
@@ -9902,7 +9665,7 @@ func (a *IpamAPIService) IpamPrefixesAvailableIpsCreateExecute(r ApiIpamPrefixes
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.iPAllocationRequest
+ localVarPostBody = r.prefixLengthRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -9954,7 +9717,7 @@ func (a *IpamAPIService) IpamPrefixesAvailableIpsCreateExecute(r ApiIpamPrefixes
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiIpamPrefixesAvailableIpsListRequest struct {
+type ApiIpamPrefixesAvailablePrefixesListRequest struct {
ctx context.Context
ApiService *IpamAPIService
id string
@@ -9963,58 +9726,62 @@ type ApiIpamPrefixesAvailableIpsListRequest struct {
offset *int32
sort *string
depth *int32
+ excludeM2m *bool
}
-func (r ApiIpamPrefixesAvailableIpsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamPrefixesAvailableIpsListRequest {
+func (r ApiIpamPrefixesAvailablePrefixesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamPrefixesAvailablePrefixesListRequest {
r.format = &format
return r
}
// Number of results to return per page.
-func (r ApiIpamPrefixesAvailableIpsListRequest) Limit(limit int32) ApiIpamPrefixesAvailableIpsListRequest {
+func (r ApiIpamPrefixesAvailablePrefixesListRequest) Limit(limit int32) ApiIpamPrefixesAvailablePrefixesListRequest {
r.limit = &limit
return r
}
// The initial index from which to return the results.
-func (r ApiIpamPrefixesAvailableIpsListRequest) Offset(offset int32) ApiIpamPrefixesAvailableIpsListRequest {
+func (r ApiIpamPrefixesAvailablePrefixesListRequest) Offset(offset int32) ApiIpamPrefixesAvailablePrefixesListRequest {
r.offset = &offset
return r
}
// Which field to use when ordering the results.
-func (r ApiIpamPrefixesAvailableIpsListRequest) Sort(sort string) ApiIpamPrefixesAvailableIpsListRequest {
+func (r ApiIpamPrefixesAvailablePrefixesListRequest) Sort(sort string) ApiIpamPrefixesAvailablePrefixesListRequest {
r.sort = &sort
return r
}
// Serializer Depth
-func (r ApiIpamPrefixesAvailableIpsListRequest) Depth(depth int32) ApiIpamPrefixesAvailableIpsListRequest {
+func (r ApiIpamPrefixesAvailablePrefixesListRequest) Depth(depth int32) ApiIpamPrefixesAvailablePrefixesListRequest {
r.depth = &depth
return r
}
-func (r ApiIpamPrefixesAvailableIpsListRequest) Execute() ([]AvailableIP, *http.Response, error) {
- return r.ApiService.IpamPrefixesAvailableIpsListExecute(r)
+// Exclude many-to-many fields from the response
+func (r ApiIpamPrefixesAvailablePrefixesListRequest) ExcludeM2m(excludeM2m bool) ApiIpamPrefixesAvailablePrefixesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
}
-/*
-IpamPrefixesAvailableIpsList Method for IpamPrefixesAvailableIpsList
+func (r ApiIpamPrefixesAvailablePrefixesListRequest) Execute() (*PaginatedAvailablePrefixList, *http.Response, error) {
+ return r.ApiService.IpamPrefixesAvailablePrefixesListExecute(r)
+}
-A convenience method for listing and/or allocating available IP addresses within a prefix.
+/*
+IpamPrefixesAvailablePrefixesList Method for IpamPrefixesAvailablePrefixesList
-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.
+A convenience method for listing and/or allocating available child prefixes within a parent.
This uses a Redis lock to prevent this API from being invoked in parallel, in order to avoid a race condition
if multiple clients tried to simultaneously request allocation from the same parent prefix.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this IP address.
- @return ApiIpamPrefixesAvailableIpsListRequest
+ @param id A UUID string identifying this prefix.
+ @return ApiIpamPrefixesAvailablePrefixesListRequest
*/
-func (a *IpamAPIService) IpamPrefixesAvailableIpsList(ctx context.Context, id string) ApiIpamPrefixesAvailableIpsListRequest {
- return ApiIpamPrefixesAvailableIpsListRequest{
+func (a *IpamAPIService) IpamPrefixesAvailablePrefixesList(ctx context.Context, id string) ApiIpamPrefixesAvailablePrefixesListRequest {
+ return ApiIpamPrefixesAvailablePrefixesListRequest{
ApiService: a,
ctx: ctx,
id: id,
@@ -10022,21 +9789,21 @@ func (a *IpamAPIService) IpamPrefixesAvailableIpsList(ctx context.Context, id st
}
// Execute executes the request
-// @return []AvailableIP
-func (a *IpamAPIService) IpamPrefixesAvailableIpsListExecute(r ApiIpamPrefixesAvailableIpsListRequest) ([]AvailableIP, *http.Response, error) {
+// @return PaginatedAvailablePrefixList
+func (a *IpamAPIService) IpamPrefixesAvailablePrefixesListExecute(r ApiIpamPrefixesAvailablePrefixesListRequest) (*PaginatedAvailablePrefixList, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []AvailableIP
+ localVarReturnValue *PaginatedAvailablePrefixList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamPrefixesAvailableIpsList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamPrefixesAvailablePrefixesList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/ipam/prefixes/{id}/available-ips/"
+ localVarPath := localBasePath + "/ipam/prefixes/{id}/available-prefixes/"
localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
@@ -10058,8 +9825,16 @@ func (a *IpamAPIService) IpamPrefixesAvailableIpsListExecute(r ApiIpamPrefixesAv
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -10129,106 +9904,67 @@ func (a *IpamAPIService) IpamPrefixesAvailableIpsListExecute(r ApiIpamPrefixesAv
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiIpamPrefixesAvailablePrefixesCreateRequest struct {
+type ApiIpamPrefixesBulkDestroyRequest struct {
ctx context.Context
ApiService *IpamAPIService
- id string
- prefixLengthRequest *PrefixLengthRequest
+ bulkOperationRequest *[]BulkOperationRequest
format *CircuitsCircuitTerminationsListFormatParameter
- limit *int32
- offset *int32
- sort *string
}
-func (r ApiIpamPrefixesAvailablePrefixesCreateRequest) PrefixLengthRequest(prefixLengthRequest PrefixLengthRequest) ApiIpamPrefixesAvailablePrefixesCreateRequest {
- r.prefixLengthRequest = &prefixLengthRequest
+func (r ApiIpamPrefixesBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiIpamPrefixesBulkDestroyRequest {
+ r.bulkOperationRequest = &bulkOperationRequest
return r
}
-func (r ApiIpamPrefixesAvailablePrefixesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamPrefixesAvailablePrefixesCreateRequest {
+func (r ApiIpamPrefixesBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamPrefixesBulkDestroyRequest {
r.format = &format
return r
}
-// Number of results to return per page.
-func (r ApiIpamPrefixesAvailablePrefixesCreateRequest) Limit(limit int32) ApiIpamPrefixesAvailablePrefixesCreateRequest {
- r.limit = &limit
- return r
-}
-
-// The initial index from which to return the results.
-func (r ApiIpamPrefixesAvailablePrefixesCreateRequest) Offset(offset int32) ApiIpamPrefixesAvailablePrefixesCreateRequest {
- r.offset = &offset
- return r
-}
-
-// Which field to use when ordering the results.
-func (r ApiIpamPrefixesAvailablePrefixesCreateRequest) Sort(sort string) ApiIpamPrefixesAvailablePrefixesCreateRequest {
- r.sort = &sort
- return r
-}
-
-func (r ApiIpamPrefixesAvailablePrefixesCreateRequest) Execute() (*PaginatedPrefixList, *http.Response, error) {
- return r.ApiService.IpamPrefixesAvailablePrefixesCreateExecute(r)
+func (r ApiIpamPrefixesBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.IpamPrefixesBulkDestroyExecute(r)
}
/*
-IpamPrefixesAvailablePrefixesCreate Method for IpamPrefixesAvailablePrefixesCreate
-
-A convenience method for listing and/or allocating available child prefixes within a parent.
+IpamPrefixesBulkDestroy Method for IpamPrefixesBulkDestroy
-This uses a Redis lock to prevent this API from being invoked in parallel, in order to avoid a race condition
-if multiple clients tried to simultaneously request allocation from the same parent prefix.
+Destroy a list of prefix objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this prefix.
- @return ApiIpamPrefixesAvailablePrefixesCreateRequest
+ @return ApiIpamPrefixesBulkDestroyRequest
*/
-func (a *IpamAPIService) IpamPrefixesAvailablePrefixesCreate(ctx context.Context, id string) ApiIpamPrefixesAvailablePrefixesCreateRequest {
- return ApiIpamPrefixesAvailablePrefixesCreateRequest{
+func (a *IpamAPIService) IpamPrefixesBulkDestroy(ctx context.Context) ApiIpamPrefixesBulkDestroyRequest {
+ return ApiIpamPrefixesBulkDestroyRequest{
ApiService: a,
ctx: ctx,
- id: id,
}
}
// Execute executes the request
-// @return PaginatedPrefixList
-func (a *IpamAPIService) IpamPrefixesAvailablePrefixesCreateExecute(r ApiIpamPrefixesAvailablePrefixesCreateRequest) (*PaginatedPrefixList, *http.Response, error) {
+func (a *IpamAPIService) IpamPrefixesBulkDestroyExecute(r ApiIpamPrefixesBulkDestroyRequest) (*http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPost
+ localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PaginatedPrefixList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamPrefixesAvailablePrefixesCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamPrefixesBulkDestroy")
if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ return nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/ipam/prefixes/{id}/available-prefixes/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+ localVarPath := localBasePath + "/ipam/prefixes/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.prefixLengthRequest == nil {
- return localVarReturnValue, nil, reportError("prefixLengthRequest is required and must be specified")
+ if r.bulkOperationRequest == nil {
+ return nil, reportError("bulkOperationRequest is required and must be specified")
}
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
- }
- if r.offset != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
- }
- if r.sort != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
- }
// to determine the Content-Type header
localVarHTTPContentTypes := []string{"application/json", "text/csv"}
@@ -10239,7 +9975,7 @@ func (a *IpamAPIService) IpamPrefixesAvailablePrefixesCreateExecute(r ApiIpamPre
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+ localVarHTTPHeaderAccepts := []string{}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -10247,7 +9983,7 @@ func (a *IpamAPIService) IpamPrefixesAvailablePrefixesCreateExecute(r ApiIpamPre
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.prefixLengthRequest
+ localVarPostBody = r.bulkOperationRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -10264,19 +10000,19 @@ func (a *IpamAPIService) IpamPrefixesAvailablePrefixesCreateExecute(r ApiIpamPre
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
- return localVarReturnValue, nil, err
+ return nil, err
}
localVarHTTPResponse, err := a.client.callAPI(req)
if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
+ return localVarHTTPResponse, err
}
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
+ return localVarHTTPResponse, err
}
if localVarHTTPResponse.StatusCode >= 300 {
@@ -10284,127 +10020,77 @@ func (a *IpamAPIService) IpamPrefixesAvailablePrefixesCreateExecute(r ApiIpamPre
body: localVarBody,
error: localVarHTTPResponse.Status,
}
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
+ return localVarHTTPResponse, newErr
}
- return localVarReturnValue, localVarHTTPResponse, nil
+ return localVarHTTPResponse, nil
}
-type ApiIpamPrefixesAvailablePrefixesListRequest struct {
+type ApiIpamPrefixesBulkPartialUpdateRequest struct {
ctx context.Context
ApiService *IpamAPIService
- id string
+ patchedBulkWritablePrefixRequest *[]PatchedBulkWritablePrefixRequest
format *CircuitsCircuitTerminationsListFormatParameter
- limit *int32
- offset *int32
- sort *string
- depth *int32
-}
-
-func (r ApiIpamPrefixesAvailablePrefixesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamPrefixesAvailablePrefixesListRequest {
- r.format = &format
- return r
-}
-
-// Number of results to return per page.
-func (r ApiIpamPrefixesAvailablePrefixesListRequest) Limit(limit int32) ApiIpamPrefixesAvailablePrefixesListRequest {
- r.limit = &limit
- return r
-}
-
-// The initial index from which to return the results.
-func (r ApiIpamPrefixesAvailablePrefixesListRequest) Offset(offset int32) ApiIpamPrefixesAvailablePrefixesListRequest {
- r.offset = &offset
- return r
}
-// Which field to use when ordering the results.
-func (r ApiIpamPrefixesAvailablePrefixesListRequest) Sort(sort string) ApiIpamPrefixesAvailablePrefixesListRequest {
- r.sort = &sort
+func (r ApiIpamPrefixesBulkPartialUpdateRequest) PatchedBulkWritablePrefixRequest(patchedBulkWritablePrefixRequest []PatchedBulkWritablePrefixRequest) ApiIpamPrefixesBulkPartialUpdateRequest {
+ r.patchedBulkWritablePrefixRequest = &patchedBulkWritablePrefixRequest
return r
}
-// Serializer Depth
-func (r ApiIpamPrefixesAvailablePrefixesListRequest) Depth(depth int32) ApiIpamPrefixesAvailablePrefixesListRequest {
- r.depth = &depth
+func (r ApiIpamPrefixesBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamPrefixesBulkPartialUpdateRequest {
+ r.format = &format
return r
}
-func (r ApiIpamPrefixesAvailablePrefixesListRequest) Execute() (*PaginatedAvailablePrefixList, *http.Response, error) {
- return r.ApiService.IpamPrefixesAvailablePrefixesListExecute(r)
+func (r ApiIpamPrefixesBulkPartialUpdateRequest) Execute() ([]Prefix, *http.Response, error) {
+ return r.ApiService.IpamPrefixesBulkPartialUpdateExecute(r)
}
/*
-IpamPrefixesAvailablePrefixesList Method for IpamPrefixesAvailablePrefixesList
-
-A convenience method for listing and/or allocating available child prefixes within a parent.
+IpamPrefixesBulkPartialUpdate Method for IpamPrefixesBulkPartialUpdate
-This uses a Redis lock to prevent this API from being invoked in parallel, in order to avoid a race condition
-if multiple clients tried to simultaneously request allocation from the same parent prefix.
+Partial update a list of prefix objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this prefix.
- @return ApiIpamPrefixesAvailablePrefixesListRequest
+ @return ApiIpamPrefixesBulkPartialUpdateRequest
*/
-func (a *IpamAPIService) IpamPrefixesAvailablePrefixesList(ctx context.Context, id string) ApiIpamPrefixesAvailablePrefixesListRequest {
- return ApiIpamPrefixesAvailablePrefixesListRequest{
+func (a *IpamAPIService) IpamPrefixesBulkPartialUpdate(ctx context.Context) ApiIpamPrefixesBulkPartialUpdateRequest {
+ return ApiIpamPrefixesBulkPartialUpdateRequest{
ApiService: a,
ctx: ctx,
- id: id,
}
}
// Execute executes the request
-// @return PaginatedAvailablePrefixList
-func (a *IpamAPIService) IpamPrefixesAvailablePrefixesListExecute(r ApiIpamPrefixesAvailablePrefixesListRequest) (*PaginatedAvailablePrefixList, *http.Response, error) {
+// @return []Prefix
+func (a *IpamAPIService) IpamPrefixesBulkPartialUpdateExecute(r ApiIpamPrefixesBulkPartialUpdateRequest) ([]Prefix, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodGet
+ localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *PaginatedAvailablePrefixList
+ localVarReturnValue []Prefix
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamPrefixesAvailablePrefixesList")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamPrefixesBulkPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/ipam/prefixes/{id}/available-prefixes/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+ localVarPath := localBasePath + "/ipam/prefixes/"
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
+ if r.patchedBulkWritablePrefixRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritablePrefixRequest is required and must be specified")
+ }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
- }
- if r.offset != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
- }
- if r.sort != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
- }
- if r.depth != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
- } else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
- }
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -10420,6 +10106,8 @@ func (a *IpamAPIService) IpamPrefixesAvailablePrefixesListExecute(r ApiIpamPrefi
if localVarHTTPHeaderAccept != "" {
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
+ // body params
+ localVarPostBody = r.patchedBulkWritablePrefixRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -10471,53 +10159,55 @@ func (a *IpamAPIService) IpamPrefixesAvailablePrefixesListExecute(r ApiIpamPrefi
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiIpamPrefixesBulkDestroyRequest struct {
+type ApiIpamPrefixesBulkUpdateRequest struct {
ctx context.Context
ApiService *IpamAPIService
- bulkOperationRequest *[]BulkOperationRequest
+ bulkWritablePrefixRequest *[]BulkWritablePrefixRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiIpamPrefixesBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiIpamPrefixesBulkDestroyRequest {
- r.bulkOperationRequest = &bulkOperationRequest
+func (r ApiIpamPrefixesBulkUpdateRequest) BulkWritablePrefixRequest(bulkWritablePrefixRequest []BulkWritablePrefixRequest) ApiIpamPrefixesBulkUpdateRequest {
+ r.bulkWritablePrefixRequest = &bulkWritablePrefixRequest
return r
}
-func (r ApiIpamPrefixesBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamPrefixesBulkDestroyRequest {
+func (r ApiIpamPrefixesBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamPrefixesBulkUpdateRequest {
r.format = &format
return r
}
-func (r ApiIpamPrefixesBulkDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.IpamPrefixesBulkDestroyExecute(r)
+func (r ApiIpamPrefixesBulkUpdateRequest) Execute() ([]Prefix, *http.Response, error) {
+ return r.ApiService.IpamPrefixesBulkUpdateExecute(r)
}
/*
-IpamPrefixesBulkDestroy Method for IpamPrefixesBulkDestroy
+IpamPrefixesBulkUpdate Method for IpamPrefixesBulkUpdate
-Destroy a list of prefix objects.
+Update a list of prefix objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiIpamPrefixesBulkDestroyRequest
+ @return ApiIpamPrefixesBulkUpdateRequest
*/
-func (a *IpamAPIService) IpamPrefixesBulkDestroy(ctx context.Context) ApiIpamPrefixesBulkDestroyRequest {
- return ApiIpamPrefixesBulkDestroyRequest{
+func (a *IpamAPIService) IpamPrefixesBulkUpdate(ctx context.Context) ApiIpamPrefixesBulkUpdateRequest {
+ return ApiIpamPrefixesBulkUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-func (a *IpamAPIService) IpamPrefixesBulkDestroyExecute(r ApiIpamPrefixesBulkDestroyRequest) (*http.Response, error) {
+// @return []Prefix
+func (a *IpamAPIService) IpamPrefixesBulkUpdateExecute(r ApiIpamPrefixesBulkUpdateRequest) ([]Prefix, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodDelete
+ localVarHTTPMethod = http.MethodPut
localVarPostBody interface{}
formFiles []formFile
+ localVarReturnValue []Prefix
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamPrefixesBulkDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamPrefixesBulkUpdate")
if err != nil {
- return nil, &GenericOpenAPIError{error: err.Error()}
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/ipam/prefixes/"
@@ -10525,8 +10215,8 @@ func (a *IpamAPIService) IpamPrefixesBulkDestroyExecute(r ApiIpamPrefixesBulkDes
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.bulkOperationRequest == nil {
- return nil, reportError("bulkOperationRequest is required and must be specified")
+ if r.bulkWritablePrefixRequest == nil {
+ return localVarReturnValue, nil, reportError("bulkWritablePrefixRequest is required and must be specified")
}
if r.format != nil {
@@ -10542,7 +10232,7 @@ func (a *IpamAPIService) IpamPrefixesBulkDestroyExecute(r ApiIpamPrefixesBulkDes
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{}
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -10550,7 +10240,7 @@ func (a *IpamAPIService) IpamPrefixesBulkDestroyExecute(r ApiIpamPrefixesBulkDes
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.bulkOperationRequest
+ localVarPostBody = r.bulkWritablePrefixRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -10567,19 +10257,19 @@ func (a *IpamAPIService) IpamPrefixesBulkDestroyExecute(r ApiIpamPrefixesBulkDes
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
- return nil, err
+ return localVarReturnValue, nil, err
}
localVarHTTPResponse, err := a.client.callAPI(req)
if err != nil || localVarHTTPResponse == nil {
- return localVarHTTPResponse, err
+ return localVarReturnValue, localVarHTTPResponse, err
}
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
- return localVarHTTPResponse, err
+ return localVarReturnValue, localVarHTTPResponse, err
}
if localVarHTTPResponse.StatusCode >= 300 {
@@ -10587,59 +10277,68 @@ func (a *IpamAPIService) IpamPrefixesBulkDestroyExecute(r ApiIpamPrefixesBulkDes
body: localVarBody,
error: localVarHTTPResponse.Status,
}
- return localVarHTTPResponse, newErr
+ return localVarReturnValue, localVarHTTPResponse, newErr
}
- return localVarHTTPResponse, nil
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiIpamPrefixesBulkPartialUpdateRequest struct {
+type ApiIpamPrefixesCreateRequest struct {
ctx context.Context
ApiService *IpamAPIService
- patchedBulkWritablePrefixRequest *[]PatchedBulkWritablePrefixRequest
+ writablePrefixRequest *WritablePrefixRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiIpamPrefixesBulkPartialUpdateRequest) PatchedBulkWritablePrefixRequest(patchedBulkWritablePrefixRequest []PatchedBulkWritablePrefixRequest) ApiIpamPrefixesBulkPartialUpdateRequest {
- r.patchedBulkWritablePrefixRequest = &patchedBulkWritablePrefixRequest
+func (r ApiIpamPrefixesCreateRequest) WritablePrefixRequest(writablePrefixRequest WritablePrefixRequest) ApiIpamPrefixesCreateRequest {
+ r.writablePrefixRequest = &writablePrefixRequest
return r
}
-func (r ApiIpamPrefixesBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamPrefixesBulkPartialUpdateRequest {
+func (r ApiIpamPrefixesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamPrefixesCreateRequest {
r.format = &format
return r
}
-func (r ApiIpamPrefixesBulkPartialUpdateRequest) Execute() ([]Prefix, *http.Response, error) {
- return r.ApiService.IpamPrefixesBulkPartialUpdateExecute(r)
+func (r ApiIpamPrefixesCreateRequest) Execute() (*Prefix, *http.Response, error) {
+ return r.ApiService.IpamPrefixesCreateExecute(r)
}
/*
-IpamPrefixesBulkPartialUpdate Method for IpamPrefixesBulkPartialUpdate
+IpamPrefixesCreate Method for IpamPrefixesCreate
-Partial update a list of prefix objects.
+Create one or more prefix objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiIpamPrefixesBulkPartialUpdateRequest
+ @return ApiIpamPrefixesCreateRequest
*/
-func (a *IpamAPIService) IpamPrefixesBulkPartialUpdate(ctx context.Context) ApiIpamPrefixesBulkPartialUpdateRequest {
- return ApiIpamPrefixesBulkPartialUpdateRequest{
+func (a *IpamAPIService) IpamPrefixesCreate(ctx context.Context) ApiIpamPrefixesCreateRequest {
+ return ApiIpamPrefixesCreateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []Prefix
-func (a *IpamAPIService) IpamPrefixesBulkPartialUpdateExecute(r ApiIpamPrefixesBulkPartialUpdateRequest) ([]Prefix, *http.Response, error) {
+// @return Prefix
+func (a *IpamAPIService) IpamPrefixesCreateExecute(r ApiIpamPrefixesCreateRequest) (*Prefix, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPatch
+ localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []Prefix
+ localVarReturnValue *Prefix
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamPrefixesBulkPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamPrefixesCreate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -10649,8 +10348,8 @@ func (a *IpamAPIService) IpamPrefixesBulkPartialUpdateExecute(r ApiIpamPrefixesB
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.patchedBulkWritablePrefixRequest == nil {
- return localVarReturnValue, nil, reportError("patchedBulkWritablePrefixRequest is required and must be specified")
+ if r.writablePrefixRequest == nil {
+ return localVarReturnValue, nil, reportError("writablePrefixRequest is required and must be specified")
}
if r.format != nil {
@@ -10674,273 +10373,7 @@ func (a *IpamAPIService) IpamPrefixesBulkPartialUpdateExecute(r ApiIpamPrefixesB
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.patchedBulkWritablePrefixRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiIpamPrefixesBulkUpdateRequest struct {
- ctx context.Context
- ApiService *IpamAPIService
- bulkWritablePrefixRequest *[]BulkWritablePrefixRequest
- format *CircuitsCircuitTerminationsListFormatParameter
-}
-
-func (r ApiIpamPrefixesBulkUpdateRequest) BulkWritablePrefixRequest(bulkWritablePrefixRequest []BulkWritablePrefixRequest) ApiIpamPrefixesBulkUpdateRequest {
- r.bulkWritablePrefixRequest = &bulkWritablePrefixRequest
- return r
-}
-
-func (r ApiIpamPrefixesBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamPrefixesBulkUpdateRequest {
- r.format = &format
- return r
-}
-
-func (r ApiIpamPrefixesBulkUpdateRequest) Execute() ([]Prefix, *http.Response, error) {
- return r.ApiService.IpamPrefixesBulkUpdateExecute(r)
-}
-
-/*
-IpamPrefixesBulkUpdate Method for IpamPrefixesBulkUpdate
-
-Update a list of prefix objects.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiIpamPrefixesBulkUpdateRequest
-*/
-func (a *IpamAPIService) IpamPrefixesBulkUpdate(ctx context.Context) ApiIpamPrefixesBulkUpdateRequest {
- return ApiIpamPrefixesBulkUpdateRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-// @return []Prefix
-func (a *IpamAPIService) IpamPrefixesBulkUpdateExecute(r ApiIpamPrefixesBulkUpdateRequest) ([]Prefix, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPut
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue []Prefix
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamPrefixesBulkUpdate")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/ipam/prefixes/"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.bulkWritablePrefixRequest == nil {
- return localVarReturnValue, nil, reportError("bulkWritablePrefixRequest is required and must be specified")
- }
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.bulkWritablePrefixRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiIpamPrefixesCreateRequest struct {
- ctx context.Context
- ApiService *IpamAPIService
- writablePrefixRequest *WritablePrefixRequest
- format *CircuitsCircuitTerminationsListFormatParameter
-}
-
-func (r ApiIpamPrefixesCreateRequest) WritablePrefixRequest(writablePrefixRequest WritablePrefixRequest) ApiIpamPrefixesCreateRequest {
- r.writablePrefixRequest = &writablePrefixRequest
- return r
-}
-
-func (r ApiIpamPrefixesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamPrefixesCreateRequest {
- r.format = &format
- return r
-}
-
-func (r ApiIpamPrefixesCreateRequest) Execute() (*Prefix, *http.Response, error) {
- return r.ApiService.IpamPrefixesCreateExecute(r)
-}
-
-/*
-IpamPrefixesCreate Method for IpamPrefixesCreate
-
-Create one or more prefix objects.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiIpamPrefixesCreateRequest
-*/
-func (a *IpamAPIService) IpamPrefixesCreate(ctx context.Context) ApiIpamPrefixesCreateRequest {
- return ApiIpamPrefixesCreateRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-// @return Prefix
-func (a *IpamAPIService) IpamPrefixesCreateExecute(r ApiIpamPrefixesCreateRequest) (*Prefix, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *Prefix
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamPrefixesCreate")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/ipam/prefixes/"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.writablePrefixRequest == nil {
- return localVarReturnValue, nil, reportError("writablePrefixRequest is required and must be specified")
- }
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.writablePrefixRequest
+ localVarPostBody = r.writablePrefixRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -11115,7 +10548,7 @@ type ApiIpamPrefixesListRequest struct {
cloudNetworksN *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
contains *[]string
created *[]time.Time
createdGt *[]time.Time
@@ -11132,23 +10565,11 @@ type ApiIpamPrefixesListRequest struct {
dateAllocatedLte *[]time.Time
dateAllocatedN *[]time.Time
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
hasRir *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
ipVersion *int32
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
@@ -11183,16 +10604,16 @@ type ApiIpamPrefixesListRequest struct {
rirN *[]string
role *[]string
roleIsnull *bool
- roleN *string
+ roleN *[]string
sort *string
status *[]string
- statusN *string
+ statusN *[]string
tags *[]string
tagsIsnull *bool
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
tenant *[]string
tenantIsnull *bool
tenantN *[]string
@@ -11231,6 +10652,7 @@ type ApiIpamPrefixesListRequest struct {
within *[]string
withinInclude *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamPrefixesListRequest) CloudNetworks(cloudNetworks []string) ApiIpamPrefixesListRequest {
@@ -11260,8 +10682,7 @@ func (r ApiIpamPrefixesListRequest) ContactsIsnull(contactsIsnull bool) ApiIpamP
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiIpamPrefixesListRequest) ContactsN(contactsN string) ApiIpamPrefixesListRequest {
+func (r ApiIpamPrefixesListRequest) ContactsN(contactsN []string) ApiIpamPrefixesListRequest {
r.contactsN = &contactsN
return r
}
@@ -11347,8 +10768,7 @@ func (r ApiIpamPrefixesListRequest) DynamicGroups(dynamicGroups []string) ApiIpa
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiIpamPrefixesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiIpamPrefixesListRequest {
+func (r ApiIpamPrefixesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiIpamPrefixesListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -11370,71 +10790,11 @@ func (r ApiIpamPrefixesListRequest) Id(id []string) ApiIpamPrefixesListRequest {
return r
}
-func (r ApiIpamPrefixesListRequest) IdIc(idIc []string) ApiIpamPrefixesListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiIpamPrefixesListRequest) IdIe(idIe []string) ApiIpamPrefixesListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiIpamPrefixesListRequest) IdIew(idIew []string) ApiIpamPrefixesListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiIpamPrefixesListRequest) IdIre(idIre []string) ApiIpamPrefixesListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiIpamPrefixesListRequest) IdIsw(idIsw []string) ApiIpamPrefixesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiIpamPrefixesListRequest) IdN(idN []string) ApiIpamPrefixesListRequest {
r.idN = &idN
return r
}
-func (r ApiIpamPrefixesListRequest) IdNic(idNic []string) ApiIpamPrefixesListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiIpamPrefixesListRequest) IdNie(idNie []string) ApiIpamPrefixesListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiIpamPrefixesListRequest) IdNiew(idNiew []string) ApiIpamPrefixesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiIpamPrefixesListRequest) IdNire(idNire []string) ApiIpamPrefixesListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiIpamPrefixesListRequest) IdNisw(idNisw []string) ApiIpamPrefixesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiIpamPrefixesListRequest) IdNre(idNre []string) ApiIpamPrefixesListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiIpamPrefixesListRequest) IdRe(idRe []string) ApiIpamPrefixesListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiIpamPrefixesListRequest) IpVersion(ipVersion int32) ApiIpamPrefixesListRequest {
r.ipVersion = &ipVersion
return r
@@ -11522,6 +10882,7 @@ func (r ApiIpamPrefixesListRequest) Parent(parent []string) ApiIpamPrefixesListR
return r
}
+// Prefix (ID or prefix string) is null
func (r ApiIpamPrefixesListRequest) ParentIsnull(parentIsnull bool) ApiIpamPrefixesListRequest {
r.parentIsnull = &parentIsnull
return r
@@ -11613,8 +10974,7 @@ func (r ApiIpamPrefixesListRequest) RoleIsnull(roleIsnull bool) ApiIpamPrefixesL
return r
}
-// Exclude Role (name or ID)
-func (r ApiIpamPrefixesListRequest) RoleN(roleN string) ApiIpamPrefixesListRequest {
+func (r ApiIpamPrefixesListRequest) RoleN(roleN []string) ApiIpamPrefixesListRequest {
r.roleN = &roleN
return r
}
@@ -11630,8 +10990,7 @@ func (r ApiIpamPrefixesListRequest) Status(status []string) ApiIpamPrefixesListR
return r
}
-// Exclude Status (name or ID)
-func (r ApiIpamPrefixesListRequest) StatusN(statusN string) ApiIpamPrefixesListRequest {
+func (r ApiIpamPrefixesListRequest) StatusN(statusN []string) ApiIpamPrefixesListRequest {
r.statusN = &statusN
return r
}
@@ -11662,8 +11021,7 @@ func (r ApiIpamPrefixesListRequest) TeamsIsnull(teamsIsnull bool) ApiIpamPrefixe
return r
}
-// Exclude Teams (name or ID)
-func (r ApiIpamPrefixesListRequest) TeamsN(teamsN string) ApiIpamPrefixesListRequest {
+func (r ApiIpamPrefixesListRequest) TeamsN(teamsN []string) ApiIpamPrefixesListRequest {
r.teamsN = &teamsN
return r
}
@@ -11876,6 +11234,12 @@ func (r ApiIpamPrefixesListRequest) Depth(depth int32) ApiIpamPrefixesListReques
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamPrefixesListRequest) ExcludeM2m(excludeM2m bool) ApiIpamPrefixesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamPrefixesListRequest) Execute() (*PaginatedPrefixList, *http.Response, error) {
return r.ApiService.IpamPrefixesListExecute(r)
}
@@ -11956,7 +11320,15 @@ func (a *IpamAPIService) IpamPrefixesListExecute(r ApiIpamPrefixesListRequest) (
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.contains != nil {
t := *r.contains
@@ -12119,7 +11491,15 @@ func (a *IpamAPIService) IpamPrefixesListExecute(r ApiIpamPrefixesListRequest) (
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -12138,61 +11518,6 @@ func (a *IpamAPIService) IpamPrefixesListExecute(r ApiIpamPrefixesListRequest) (
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -12204,83 +11529,6 @@ func (a *IpamAPIService) IpamPrefixesListExecute(r ApiIpamPrefixesListRequest) (
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.ipVersion != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "ip_version", r.ipVersion, "form", "")
}
@@ -12576,7 +11824,15 @@ func (a *IpamAPIService) IpamPrefixesListExecute(r ApiIpamPrefixesListRequest) (
parameterAddToHeaderOrQuery(localVarQueryParams, "role__isnull", r.roleIsnull, "form", "")
}
if r.roleN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", r.roleN, "form", "")
+ t := *r.roleN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", t, "form", "multi")
+ }
}
if r.sort != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
@@ -12593,7 +11849,15 @@ func (a *IpamAPIService) IpamPrefixesListExecute(r ApiIpamPrefixesListRequest) (
}
}
if r.statusN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", r.statusN, "form", "")
+ t := *r.statusN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "form", "multi")
+ }
}
if r.tags != nil {
t := *r.tags
@@ -12635,7 +11899,15 @@ func (a *IpamAPIService) IpamPrefixesListExecute(r ApiIpamPrefixesListRequest) (
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.tenant != nil {
t := *r.tenant
@@ -13007,8 +12279,16 @@ func (a *IpamAPIService) IpamPrefixesListExecute(r ApiIpamPrefixesListRequest) (
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -13223,6 +12503,7 @@ type ApiIpamPrefixesNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamPrefixesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamPrefixesNotesListRequest {
@@ -13248,6 +12529,12 @@ func (r ApiIpamPrefixesNotesListRequest) Depth(depth int32) ApiIpamPrefixesNotes
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamPrefixesNotesListRequest) ExcludeM2m(excludeM2m bool) ApiIpamPrefixesNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamPrefixesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.IpamPrefixesNotesListExecute(r)
}
@@ -13303,8 +12590,16 @@ func (a *IpamAPIService) IpamPrefixesNotesListExecute(r ApiIpamPrefixesNotesList
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -13514,6 +12809,7 @@ type ApiIpamPrefixesRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamPrefixesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamPrefixesRetrieveRequest {
@@ -13527,6 +12823,12 @@ func (r ApiIpamPrefixesRetrieveRequest) Depth(depth int32) ApiIpamPrefixesRetrie
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamPrefixesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiIpamPrefixesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamPrefixesRetrieveRequest) Execute() (*Prefix, *http.Response, error) {
return r.ApiService.IpamPrefixesRetrieveExecute(r)
}
@@ -13576,8 +12878,16 @@ func (a *IpamAPIService) IpamPrefixesRetrieveExecute(r ApiIpamPrefixesRetrieveRe
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -14425,7 +13735,7 @@ type ApiIpamRirsListRequest struct {
ApiService *IpamAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -14448,22 +13758,10 @@ type ApiIpamRirsListRequest struct {
descriptionNre *[]string
descriptionRe *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
isPrivate *bool
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
@@ -14492,8 +13790,9 @@ type ApiIpamRirsListRequest struct {
sort *string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamRirsListRequest) Contacts(contacts []string) ApiIpamRirsListRequest {
@@ -14507,8 +13806,7 @@ func (r ApiIpamRirsListRequest) ContactsIsnull(contactsIsnull bool) ApiIpamRirsL
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiIpamRirsListRequest) ContactsN(contactsN string) ApiIpamRirsListRequest {
+func (r ApiIpamRirsListRequest) ContactsN(contactsN []string) ApiIpamRirsListRequest {
r.contactsN = &contactsN
return r
}
@@ -14623,8 +13921,7 @@ func (r ApiIpamRirsListRequest) DynamicGroups(dynamicGroups []string) ApiIpamRir
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiIpamRirsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiIpamRirsListRequest {
+func (r ApiIpamRirsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiIpamRirsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -14640,71 +13937,11 @@ func (r ApiIpamRirsListRequest) Id(id []string) ApiIpamRirsListRequest {
return r
}
-func (r ApiIpamRirsListRequest) IdIc(idIc []string) ApiIpamRirsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiIpamRirsListRequest) IdIe(idIe []string) ApiIpamRirsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiIpamRirsListRequest) IdIew(idIew []string) ApiIpamRirsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiIpamRirsListRequest) IdIre(idIre []string) ApiIpamRirsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiIpamRirsListRequest) IdIsw(idIsw []string) ApiIpamRirsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiIpamRirsListRequest) IdN(idN []string) ApiIpamRirsListRequest {
r.idN = &idN
return r
}
-func (r ApiIpamRirsListRequest) IdNic(idNic []string) ApiIpamRirsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiIpamRirsListRequest) IdNie(idNie []string) ApiIpamRirsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiIpamRirsListRequest) IdNiew(idNiew []string) ApiIpamRirsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiIpamRirsListRequest) IdNire(idNire []string) ApiIpamRirsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiIpamRirsListRequest) IdNisw(idNisw []string) ApiIpamRirsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiIpamRirsListRequest) IdNre(idNre []string) ApiIpamRirsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiIpamRirsListRequest) IdRe(idRe []string) ApiIpamRirsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiIpamRirsListRequest) IsPrivate(isPrivate bool) ApiIpamRirsListRequest {
r.isPrivate = &isPrivate
return r
@@ -14850,8 +14087,7 @@ func (r ApiIpamRirsListRequest) TeamsIsnull(teamsIsnull bool) ApiIpamRirsListReq
return r
}
-// Exclude Teams (name or ID)
-func (r ApiIpamRirsListRequest) TeamsN(teamsN string) ApiIpamRirsListRequest {
+func (r ApiIpamRirsListRequest) TeamsN(teamsN []string) ApiIpamRirsListRequest {
r.teamsN = &teamsN
return r
}
@@ -14862,6 +14098,12 @@ func (r ApiIpamRirsListRequest) Depth(depth int32) ApiIpamRirsListRequest {
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamRirsListRequest) ExcludeM2m(excludeM2m bool) ApiIpamRirsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamRirsListRequest) Execute() (*PaginatedRIRList, *http.Response, error) {
return r.ApiService.IpamRirsListExecute(r)
}
@@ -14917,7 +14159,15 @@ func (a *IpamAPIService) IpamRirsListExecute(r ApiIpamRirsListRequest) (*Paginat
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -15154,75 +14404,28 @@ func (a *IpamAPIService) IpamRirsListExecute(r ApiIpamRirsListRequest) (*Paginat
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.id != nil {
- t := *r.id
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
- }
- }
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
if r.idN != nil {
@@ -15236,83 +14439,6 @@ func (a *IpamAPIService) IpamRirsListExecute(r ApiIpamRirsListRequest) (*Paginat
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.isPrivate != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "is_private", r.isPrivate, "form", "")
}
@@ -15566,13 +14692,29 @@ func (a *IpamAPIService) IpamRirsListExecute(r ApiIpamRirsListRequest) (*Paginat
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -15787,6 +14929,7 @@ type ApiIpamRirsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamRirsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamRirsNotesListRequest {
@@ -15812,6 +14955,12 @@ func (r ApiIpamRirsNotesListRequest) Depth(depth int32) ApiIpamRirsNotesListRequ
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamRirsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiIpamRirsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamRirsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.IpamRirsNotesListExecute(r)
}
@@ -15867,8 +15016,16 @@ func (a *IpamAPIService) IpamRirsNotesListExecute(r ApiIpamRirsNotesListRequest)
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -16078,6 +15235,7 @@ type ApiIpamRirsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamRirsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamRirsRetrieveRequest {
@@ -16091,6 +15249,12 @@ func (r ApiIpamRirsRetrieveRequest) Depth(depth int32) ApiIpamRirsRetrieveReques
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamRirsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiIpamRirsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamRirsRetrieveRequest) Execute() (*RIR, *http.Response, error) {
return r.ApiService.IpamRirsRetrieveExecute(r)
}
@@ -16140,8 +15304,16 @@ func (a *IpamAPIService) IpamRirsRetrieveExecute(r ApiIpamRirsRetrieveRequest) (
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -16989,7 +16161,7 @@ type ApiIpamRouteTargetsListRequest struct {
ApiService *IpamAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -16998,25 +16170,13 @@ type ApiIpamRouteTargetsListRequest struct {
createdLte *[]time.Time
createdN *[]time.Time
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
exportingVrfs *[]string
exportingVrfsIsnull *bool
exportingVrfsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
importingVrfs *[]string
importingVrfsIsnull *bool
importingVrfsN *[]string
@@ -17050,7 +16210,7 @@ type ApiIpamRouteTargetsListRequest struct {
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
tenant *[]string
tenantIsnull *bool
tenantN *[]string
@@ -17061,6 +16221,7 @@ type ApiIpamRouteTargetsListRequest struct {
tenantIdIsnull *bool
tenantIdN *[]*string
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamRouteTargetsListRequest) Contacts(contacts []string) ApiIpamRouteTargetsListRequest {
@@ -17074,8 +16235,7 @@ func (r ApiIpamRouteTargetsListRequest) ContactsIsnull(contactsIsnull bool) ApiI
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiIpamRouteTargetsListRequest) ContactsN(contactsN string) ApiIpamRouteTargetsListRequest {
+func (r ApiIpamRouteTargetsListRequest) ContactsN(contactsN []string) ApiIpamRouteTargetsListRequest {
r.contactsN = &contactsN
return r
}
@@ -17120,8 +16280,7 @@ func (r ApiIpamRouteTargetsListRequest) DynamicGroups(dynamicGroups []string) Ap
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiIpamRouteTargetsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiIpamRouteTargetsListRequest {
+func (r ApiIpamRouteTargetsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiIpamRouteTargetsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -17153,71 +16312,11 @@ func (r ApiIpamRouteTargetsListRequest) Id(id []string) ApiIpamRouteTargetsListR
return r
}
-func (r ApiIpamRouteTargetsListRequest) IdIc(idIc []string) ApiIpamRouteTargetsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiIpamRouteTargetsListRequest) IdIe(idIe []string) ApiIpamRouteTargetsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiIpamRouteTargetsListRequest) IdIew(idIew []string) ApiIpamRouteTargetsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiIpamRouteTargetsListRequest) IdIre(idIre []string) ApiIpamRouteTargetsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiIpamRouteTargetsListRequest) IdIsw(idIsw []string) ApiIpamRouteTargetsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiIpamRouteTargetsListRequest) IdN(idN []string) ApiIpamRouteTargetsListRequest {
r.idN = &idN
return r
}
-func (r ApiIpamRouteTargetsListRequest) IdNic(idNic []string) ApiIpamRouteTargetsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiIpamRouteTargetsListRequest) IdNie(idNie []string) ApiIpamRouteTargetsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiIpamRouteTargetsListRequest) IdNiew(idNiew []string) ApiIpamRouteTargetsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiIpamRouteTargetsListRequest) IdNire(idNire []string) ApiIpamRouteTargetsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiIpamRouteTargetsListRequest) IdNisw(idNisw []string) ApiIpamRouteTargetsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiIpamRouteTargetsListRequest) IdNre(idNre []string) ApiIpamRouteTargetsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiIpamRouteTargetsListRequest) IdRe(idRe []string) ApiIpamRouteTargetsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiIpamRouteTargetsListRequest) ImportingVrfs(importingVrfs []string) ApiIpamRouteTargetsListRequest {
r.importingVrfs = &importingVrfs
return r
@@ -17389,8 +16488,7 @@ func (r ApiIpamRouteTargetsListRequest) TeamsIsnull(teamsIsnull bool) ApiIpamRou
return r
}
-// Exclude Teams (name or ID)
-func (r ApiIpamRouteTargetsListRequest) TeamsN(teamsN string) ApiIpamRouteTargetsListRequest {
+func (r ApiIpamRouteTargetsListRequest) TeamsN(teamsN []string) ApiIpamRouteTargetsListRequest {
r.teamsN = &teamsN
return r
}
@@ -17451,6 +16549,12 @@ func (r ApiIpamRouteTargetsListRequest) Depth(depth int32) ApiIpamRouteTargetsLi
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamRouteTargetsListRequest) ExcludeM2m(excludeM2m bool) ApiIpamRouteTargetsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamRouteTargetsListRequest) Execute() (*PaginatedRouteTargetList, *http.Response, error) {
return r.ApiService.IpamRouteTargetsListExecute(r)
}
@@ -17506,7 +16610,15 @@ func (a *IpamAPIService) IpamRouteTargetsListExecute(r ApiIpamRouteTargetsListRe
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -17589,7 +16701,15 @@ func (a *IpamAPIService) IpamRouteTargetsListExecute(r ApiIpamRouteTargetsListRe
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.exportingVrfs != nil {
t := *r.exportingVrfs
@@ -17630,61 +16750,6 @@ func (a *IpamAPIService) IpamRouteTargetsListExecute(r ApiIpamRouteTargetsListRe
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -17696,83 +16761,6 @@ func (a *IpamAPIService) IpamRouteTargetsListExecute(r ApiIpamRouteTargetsListRe
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.importingVrfs != nil {
t := *r.importingVrfs
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -18073,7 +17061,15 @@ func (a *IpamAPIService) IpamRouteTargetsListExecute(r ApiIpamRouteTargetsListRe
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.tenant != nil {
t := *r.tenant
@@ -18153,8 +17149,16 @@ func (a *IpamAPIService) IpamRouteTargetsListExecute(r ApiIpamRouteTargetsListRe
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -18369,6 +17373,7 @@ type ApiIpamRouteTargetsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamRouteTargetsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamRouteTargetsNotesListRequest {
@@ -18394,6 +17399,12 @@ func (r ApiIpamRouteTargetsNotesListRequest) Depth(depth int32) ApiIpamRouteTarg
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamRouteTargetsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiIpamRouteTargetsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamRouteTargetsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.IpamRouteTargetsNotesListExecute(r)
}
@@ -18449,8 +17460,16 @@ func (a *IpamAPIService) IpamRouteTargetsNotesListExecute(r ApiIpamRouteTargetsN
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -18660,6 +17679,7 @@ type ApiIpamRouteTargetsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamRouteTargetsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamRouteTargetsRetrieveRequest {
@@ -18673,6 +17693,12 @@ func (r ApiIpamRouteTargetsRetrieveRequest) Depth(depth int32) ApiIpamRouteTarge
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamRouteTargetsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiIpamRouteTargetsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamRouteTargetsRetrieveRequest) Execute() (*RouteTarget, *http.Response, error) {
return r.ApiService.IpamRouteTargetsRetrieveExecute(r)
}
@@ -18722,8 +17748,16 @@ func (a *IpamAPIService) IpamRouteTargetsRetrieveExecute(r ApiIpamRouteTargetsRe
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -19571,7 +18605,7 @@ type ApiIpamServicesListRequest struct {
ApiService *IpamAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -19583,22 +18617,10 @@ type ApiIpamServicesListRequest struct {
deviceIsnull *bool
deviceN *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -19644,11 +18666,12 @@ type ApiIpamServicesListRequest struct {
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
virtualMachine *[]string
virtualMachineIsnull *bool
virtualMachineN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamServicesListRequest) Contacts(contacts []string) ApiIpamServicesListRequest {
@@ -19662,8 +18685,7 @@ func (r ApiIpamServicesListRequest) ContactsIsnull(contactsIsnull bool) ApiIpamS
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiIpamServicesListRequest) ContactsN(contactsN string) ApiIpamServicesListRequest {
+func (r ApiIpamServicesListRequest) ContactsN(contactsN []string) ApiIpamServicesListRequest {
r.contactsN = &contactsN
return r
}
@@ -19724,8 +18746,7 @@ func (r ApiIpamServicesListRequest) DynamicGroups(dynamicGroups []string) ApiIpa
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiIpamServicesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiIpamServicesListRequest {
+func (r ApiIpamServicesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiIpamServicesListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -19741,71 +18762,11 @@ func (r ApiIpamServicesListRequest) Id(id []string) ApiIpamServicesListRequest {
return r
}
-func (r ApiIpamServicesListRequest) IdIc(idIc []string) ApiIpamServicesListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiIpamServicesListRequest) IdIe(idIe []string) ApiIpamServicesListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiIpamServicesListRequest) IdIew(idIew []string) ApiIpamServicesListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiIpamServicesListRequest) IdIre(idIre []string) ApiIpamServicesListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiIpamServicesListRequest) IdIsw(idIsw []string) ApiIpamServicesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiIpamServicesListRequest) IdN(idN []string) ApiIpamServicesListRequest {
r.idN = &idN
return r
}
-func (r ApiIpamServicesListRequest) IdNic(idNic []string) ApiIpamServicesListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiIpamServicesListRequest) IdNie(idNie []string) ApiIpamServicesListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiIpamServicesListRequest) IdNiew(idNiew []string) ApiIpamServicesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiIpamServicesListRequest) IdNire(idNire []string) ApiIpamServicesListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiIpamServicesListRequest) IdNisw(idNisw []string) ApiIpamServicesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiIpamServicesListRequest) IdNre(idNre []string) ApiIpamServicesListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiIpamServicesListRequest) IdRe(idRe []string) ApiIpamServicesListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiIpamServicesListRequest) LastUpdated(lastUpdated []time.Time) ApiIpamServicesListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -20036,8 +18997,7 @@ func (r ApiIpamServicesListRequest) TeamsIsnull(teamsIsnull bool) ApiIpamService
return r
}
-// Exclude Teams (name or ID)
-func (r ApiIpamServicesListRequest) TeamsN(teamsN string) ApiIpamServicesListRequest {
+func (r ApiIpamServicesListRequest) TeamsN(teamsN []string) ApiIpamServicesListRequest {
r.teamsN = &teamsN
return r
}
@@ -20064,6 +19024,12 @@ func (r ApiIpamServicesListRequest) Depth(depth int32) ApiIpamServicesListReques
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamServicesListRequest) ExcludeM2m(excludeM2m bool) ApiIpamServicesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamServicesListRequest) Execute() (*PaginatedServiceList, *http.Response, error) {
return r.ApiService.IpamServicesListExecute(r)
}
@@ -20119,7 +19085,15 @@ func (a *IpamAPIService) IpamServicesListExecute(r ApiIpamServicesListRequest) (
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -20227,75 +19201,28 @@ func (a *IpamAPIService) IpamServicesListExecute(r ApiIpamServicesListRequest) (
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.id != nil {
- t := *r.id
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
if r.idN != nil {
@@ -20309,83 +19236,6 @@ func (a *IpamAPIService) IpamServicesListExecute(r ApiIpamServicesListRequest) (
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -20818,7 +19668,15 @@ func (a *IpamAPIService) IpamServicesListExecute(r ApiIpamServicesListRequest) (
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.virtualMachine != nil {
t := *r.virtualMachine
@@ -20848,8 +19706,16 @@ func (a *IpamAPIService) IpamServicesListExecute(r ApiIpamServicesListRequest) (
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -21064,6 +19930,7 @@ type ApiIpamServicesNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamServicesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamServicesNotesListRequest {
@@ -21089,6 +19956,12 @@ func (r ApiIpamServicesNotesListRequest) Depth(depth int32) ApiIpamServicesNotes
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamServicesNotesListRequest) ExcludeM2m(excludeM2m bool) ApiIpamServicesNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamServicesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.IpamServicesNotesListExecute(r)
}
@@ -21144,8 +20017,16 @@ func (a *IpamAPIService) IpamServicesNotesListExecute(r ApiIpamServicesNotesList
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -21355,6 +20236,7 @@ type ApiIpamServicesRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamServicesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamServicesRetrieveRequest {
@@ -21368,6 +20250,12 @@ func (r ApiIpamServicesRetrieveRequest) Depth(depth int32) ApiIpamServicesRetrie
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamServicesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiIpamServicesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamServicesRetrieveRequest) Execute() (*Service, *http.Response, error) {
return r.ApiService.IpamServicesRetrieveExecute(r)
}
@@ -21417,8 +20305,16 @@ func (a *IpamAPIService) IpamServicesRetrieveExecute(r ApiIpamServicesRetrieveRe
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -21625,67 +20521,105 @@ func (a *IpamAPIService) IpamServicesUpdateExecute(r ApiIpamServicesUpdateReques
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiIpamVlanGroupsBulkDestroyRequest struct {
+type ApiIpamVlanGroupsAvailableVlansCreateRequest struct {
ctx context.Context
ApiService *IpamAPIService
- bulkOperationRequest *[]BulkOperationRequest
+ id string
+ vLANAllocationRequest *[]VLANAllocationRequest
format *CircuitsCircuitTerminationsListFormatParameter
+ limit *int32
+ offset *int32
+ sort *string
}
-func (r ApiIpamVlanGroupsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiIpamVlanGroupsBulkDestroyRequest {
- r.bulkOperationRequest = &bulkOperationRequest
+func (r ApiIpamVlanGroupsAvailableVlansCreateRequest) VLANAllocationRequest(vLANAllocationRequest []VLANAllocationRequest) ApiIpamVlanGroupsAvailableVlansCreateRequest {
+ r.vLANAllocationRequest = &vLANAllocationRequest
return r
}
-func (r ApiIpamVlanGroupsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVlanGroupsBulkDestroyRequest {
+func (r ApiIpamVlanGroupsAvailableVlansCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVlanGroupsAvailableVlansCreateRequest {
r.format = &format
return r
}
-func (r ApiIpamVlanGroupsBulkDestroyRequest) Execute() (*http.Response, error) {
- return r.ApiService.IpamVlanGroupsBulkDestroyExecute(r)
+// Number of results to return per page.
+func (r ApiIpamVlanGroupsAvailableVlansCreateRequest) Limit(limit int32) ApiIpamVlanGroupsAvailableVlansCreateRequest {
+ r.limit = &limit
+ return r
+}
+
+// The initial index from which to return the results.
+func (r ApiIpamVlanGroupsAvailableVlansCreateRequest) Offset(offset int32) ApiIpamVlanGroupsAvailableVlansCreateRequest {
+ r.offset = &offset
+ return r
+}
+
+// Which field to use when ordering the results.
+func (r ApiIpamVlanGroupsAvailableVlansCreateRequest) Sort(sort string) ApiIpamVlanGroupsAvailableVlansCreateRequest {
+ r.sort = &sort
+ return r
+}
+
+func (r ApiIpamVlanGroupsAvailableVlansCreateRequest) Execute() (*PaginatedVLANList, *http.Response, error) {
+ return r.ApiService.IpamVlanGroupsAvailableVlansCreateExecute(r)
}
/*
-IpamVlanGroupsBulkDestroy Method for IpamVlanGroupsBulkDestroy
+IpamVlanGroupsAvailableVlansCreate Method for IpamVlanGroupsAvailableVlansCreate
-Destroy a list of VLAN group objects.
+A convenience method for listing available VLAN IDs within a VLANGroup.
+By default, the number of VIDs 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.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiIpamVlanGroupsBulkDestroyRequest
+ @param id A UUID string identifying this VLAN.
+ @return ApiIpamVlanGroupsAvailableVlansCreateRequest
*/
-func (a *IpamAPIService) IpamVlanGroupsBulkDestroy(ctx context.Context) ApiIpamVlanGroupsBulkDestroyRequest {
- return ApiIpamVlanGroupsBulkDestroyRequest{
+func (a *IpamAPIService) IpamVlanGroupsAvailableVlansCreate(ctx context.Context, id string) ApiIpamVlanGroupsAvailableVlansCreateRequest {
+ return ApiIpamVlanGroupsAvailableVlansCreateRequest{
ApiService: a,
ctx: ctx,
+ id: id,
}
}
// Execute executes the request
-func (a *IpamAPIService) IpamVlanGroupsBulkDestroyExecute(r ApiIpamVlanGroupsBulkDestroyRequest) (*http.Response, error) {
+// @return PaginatedVLANList
+func (a *IpamAPIService) IpamVlanGroupsAvailableVlansCreateExecute(r ApiIpamVlanGroupsAvailableVlansCreateRequest) (*PaginatedVLANList, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodDelete
+ localVarHTTPMethod = http.MethodPost
localVarPostBody interface{}
formFiles []formFile
+ localVarReturnValue *PaginatedVLANList
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamVlanGroupsBulkDestroy")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamVlanGroupsAvailableVlansCreate")
if err != nil {
- return nil, &GenericOpenAPIError{error: err.Error()}
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/ipam/vlan-groups/"
+ localVarPath := localBasePath + "/ipam/vlan-groups/{id}/available-vlans/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.bulkOperationRequest == nil {
- return nil, reportError("bulkOperationRequest is required and must be specified")
+ if r.vLANAllocationRequest == nil {
+ return localVarReturnValue, nil, reportError("vLANAllocationRequest is required and must be specified")
}
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ }
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+ }
+ if r.sort != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
+ }
// to determine the Content-Type header
localVarHTTPContentTypes := []string{"application/json", "text/csv"}
@@ -21696,7 +20630,7 @@ func (a *IpamAPIService) IpamVlanGroupsBulkDestroyExecute(r ApiIpamVlanGroupsBul
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{}
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -21704,7 +20638,7 @@ func (a *IpamAPIService) IpamVlanGroupsBulkDestroyExecute(r ApiIpamVlanGroupsBul
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.bulkOperationRequest
+ localVarPostBody = r.vLANAllocationRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -21721,19 +20655,19 @@ func (a *IpamAPIService) IpamVlanGroupsBulkDestroyExecute(r ApiIpamVlanGroupsBul
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
- return nil, err
+ return localVarReturnValue, nil, err
}
localVarHTTPResponse, err := a.client.callAPI(req)
if err != nil || localVarHTTPResponse == nil {
- return localVarHTTPResponse, err
+ return localVarReturnValue, localVarHTTPResponse, err
}
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
- return localVarHTTPResponse, err
+ return localVarReturnValue, localVarHTTPResponse, err
}
if localVarHTTPResponse.StatusCode >= 300 {
@@ -21741,77 +20675,141 @@ func (a *IpamAPIService) IpamVlanGroupsBulkDestroyExecute(r ApiIpamVlanGroupsBul
body: localVarBody,
error: localVarHTTPResponse.Status,
}
- return localVarHTTPResponse, newErr
+ return localVarReturnValue, localVarHTTPResponse, newErr
}
- return localVarHTTPResponse, nil
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiIpamVlanGroupsBulkPartialUpdateRequest struct {
+type ApiIpamVlanGroupsAvailableVlansListRequest struct {
ctx context.Context
ApiService *IpamAPIService
- patchedBulkWritableVLANGroupRequest *[]PatchedBulkWritableVLANGroupRequest
+ id string
format *CircuitsCircuitTerminationsListFormatParameter
+ limit *int32
+ offset *int32
+ sort *string
+ depth *int32
+ excludeM2m *bool
}
-func (r ApiIpamVlanGroupsBulkPartialUpdateRequest) PatchedBulkWritableVLANGroupRequest(patchedBulkWritableVLANGroupRequest []PatchedBulkWritableVLANGroupRequest) ApiIpamVlanGroupsBulkPartialUpdateRequest {
- r.patchedBulkWritableVLANGroupRequest = &patchedBulkWritableVLANGroupRequest
+func (r ApiIpamVlanGroupsAvailableVlansListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVlanGroupsAvailableVlansListRequest {
+ r.format = &format
return r
}
-func (r ApiIpamVlanGroupsBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVlanGroupsBulkPartialUpdateRequest {
- r.format = &format
+// Number of results to return per page.
+func (r ApiIpamVlanGroupsAvailableVlansListRequest) Limit(limit int32) ApiIpamVlanGroupsAvailableVlansListRequest {
+ r.limit = &limit
return r
}
-func (r ApiIpamVlanGroupsBulkPartialUpdateRequest) Execute() ([]VLANGroup, *http.Response, error) {
- return r.ApiService.IpamVlanGroupsBulkPartialUpdateExecute(r)
+// The initial index from which to return the results.
+func (r ApiIpamVlanGroupsAvailableVlansListRequest) Offset(offset int32) ApiIpamVlanGroupsAvailableVlansListRequest {
+ r.offset = &offset
+ return r
+}
+
+// Which field to use when ordering the results.
+func (r ApiIpamVlanGroupsAvailableVlansListRequest) Sort(sort string) ApiIpamVlanGroupsAvailableVlansListRequest {
+ r.sort = &sort
+ return r
+}
+
+// Serializer Depth
+func (r ApiIpamVlanGroupsAvailableVlansListRequest) Depth(depth int32) ApiIpamVlanGroupsAvailableVlansListRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiIpamVlanGroupsAvailableVlansListRequest) ExcludeM2m(excludeM2m bool) ApiIpamVlanGroupsAvailableVlansListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiIpamVlanGroupsAvailableVlansListRequest) Execute() (*IpamVlanGroupsAvailableVlansList200Response, *http.Response, error) {
+ return r.ApiService.IpamVlanGroupsAvailableVlansListExecute(r)
}
/*
-IpamVlanGroupsBulkPartialUpdate Method for IpamVlanGroupsBulkPartialUpdate
+IpamVlanGroupsAvailableVlansList Method for IpamVlanGroupsAvailableVlansList
-Partial update a list of VLAN group objects.
+A convenience method for listing available VLAN IDs within a VLANGroup.
+By default, the number of VIDs 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.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiIpamVlanGroupsBulkPartialUpdateRequest
+ @param id A UUID string identifying this VLAN.
+ @return ApiIpamVlanGroupsAvailableVlansListRequest
*/
-func (a *IpamAPIService) IpamVlanGroupsBulkPartialUpdate(ctx context.Context) ApiIpamVlanGroupsBulkPartialUpdateRequest {
- return ApiIpamVlanGroupsBulkPartialUpdateRequest{
+func (a *IpamAPIService) IpamVlanGroupsAvailableVlansList(ctx context.Context, id string) ApiIpamVlanGroupsAvailableVlansListRequest {
+ return ApiIpamVlanGroupsAvailableVlansListRequest{
ApiService: a,
ctx: ctx,
+ id: id,
}
}
// Execute executes the request
-// @return []VLANGroup
-func (a *IpamAPIService) IpamVlanGroupsBulkPartialUpdateExecute(r ApiIpamVlanGroupsBulkPartialUpdateRequest) ([]VLANGroup, *http.Response, error) {
+// @return IpamVlanGroupsAvailableVlansList200Response
+func (a *IpamAPIService) IpamVlanGroupsAvailableVlansListExecute(r ApiIpamVlanGroupsAvailableVlansListRequest) (*IpamVlanGroupsAvailableVlansList200Response, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPatch
+ localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []VLANGroup
+ localVarReturnValue *IpamVlanGroupsAvailableVlansList200Response
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamVlanGroupsBulkPartialUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamVlanGroupsAvailableVlansList")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
- localVarPath := localBasePath + "/ipam/vlan-groups/"
+ localVarPath := localBasePath + "/ipam/vlan-groups/{id}/available-vlans/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.patchedBulkWritableVLANGroupRequest == nil {
- return localVarReturnValue, nil, reportError("patchedBulkWritableVLANGroupRequest is required and must be specified")
- }
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ }
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+ }
+ if r.sort != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
// to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+ localVarHTTPContentTypes := []string{}
// set Content-Type header
localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -21827,8 +20825,6 @@ func (a *IpamAPIService) IpamVlanGroupsBulkPartialUpdateExecute(r ApiIpamVlanGro
if localVarHTTPHeaderAccept != "" {
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
- // body params
- localVarPostBody = r.patchedBulkWritableVLANGroupRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -21880,55 +20876,53 @@ func (a *IpamAPIService) IpamVlanGroupsBulkPartialUpdateExecute(r ApiIpamVlanGro
return localVarReturnValue, localVarHTTPResponse, nil
}
-type ApiIpamVlanGroupsBulkUpdateRequest struct {
+type ApiIpamVlanGroupsBulkDestroyRequest struct {
ctx context.Context
ApiService *IpamAPIService
- bulkWritableVLANGroupRequest *[]BulkWritableVLANGroupRequest
+ bulkOperationRequest *[]BulkOperationRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiIpamVlanGroupsBulkUpdateRequest) BulkWritableVLANGroupRequest(bulkWritableVLANGroupRequest []BulkWritableVLANGroupRequest) ApiIpamVlanGroupsBulkUpdateRequest {
- r.bulkWritableVLANGroupRequest = &bulkWritableVLANGroupRequest
+func (r ApiIpamVlanGroupsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiIpamVlanGroupsBulkDestroyRequest {
+ r.bulkOperationRequest = &bulkOperationRequest
return r
}
-func (r ApiIpamVlanGroupsBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVlanGroupsBulkUpdateRequest {
+func (r ApiIpamVlanGroupsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVlanGroupsBulkDestroyRequest {
r.format = &format
return r
}
-func (r ApiIpamVlanGroupsBulkUpdateRequest) Execute() ([]VLANGroup, *http.Response, error) {
- return r.ApiService.IpamVlanGroupsBulkUpdateExecute(r)
+func (r ApiIpamVlanGroupsBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.IpamVlanGroupsBulkDestroyExecute(r)
}
/*
-IpamVlanGroupsBulkUpdate Method for IpamVlanGroupsBulkUpdate
+IpamVlanGroupsBulkDestroy Method for IpamVlanGroupsBulkDestroy
-Update a list of VLAN group objects.
+Destroy a list of VLAN group objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiIpamVlanGroupsBulkUpdateRequest
+ @return ApiIpamVlanGroupsBulkDestroyRequest
*/
-func (a *IpamAPIService) IpamVlanGroupsBulkUpdate(ctx context.Context) ApiIpamVlanGroupsBulkUpdateRequest {
- return ApiIpamVlanGroupsBulkUpdateRequest{
+func (a *IpamAPIService) IpamVlanGroupsBulkDestroy(ctx context.Context) ApiIpamVlanGroupsBulkDestroyRequest {
+ return ApiIpamVlanGroupsBulkDestroyRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return []VLANGroup
-func (a *IpamAPIService) IpamVlanGroupsBulkUpdateExecute(r ApiIpamVlanGroupsBulkUpdateRequest) ([]VLANGroup, *http.Response, error) {
+func (a *IpamAPIService) IpamVlanGroupsBulkDestroyExecute(r ApiIpamVlanGroupsBulkDestroyRequest) (*http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPut
+ localVarHTTPMethod = http.MethodDelete
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue []VLANGroup
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamVlanGroupsBulkUpdate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamVlanGroupsBulkDestroy")
if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ return nil, &GenericOpenAPIError{error: err.Error()}
}
localVarPath := localBasePath + "/ipam/vlan-groups/"
@@ -21936,8 +20930,8 @@ func (a *IpamAPIService) IpamVlanGroupsBulkUpdateExecute(r ApiIpamVlanGroupsBulk
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.bulkWritableVLANGroupRequest == nil {
- return localVarReturnValue, nil, reportError("bulkWritableVLANGroupRequest is required and must be specified")
+ if r.bulkOperationRequest == nil {
+ return nil, reportError("bulkOperationRequest is required and must be specified")
}
if r.format != nil {
@@ -21953,7 +20947,7 @@ func (a *IpamAPIService) IpamVlanGroupsBulkUpdateExecute(r ApiIpamVlanGroupsBulk
}
// to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+ localVarHTTPHeaderAccepts := []string{}
// set Accept header
localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
@@ -21961,7 +20955,7 @@ func (a *IpamAPIService) IpamVlanGroupsBulkUpdateExecute(r ApiIpamVlanGroupsBulk
localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
}
// body params
- localVarPostBody = r.bulkWritableVLANGroupRequest
+ localVarPostBody = r.bulkOperationRequest
if r.ctx != nil {
// API Key Authentication
if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
@@ -21978,19 +20972,19 @@ func (a *IpamAPIService) IpamVlanGroupsBulkUpdateExecute(r ApiIpamVlanGroupsBulk
}
req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
if err != nil {
- return localVarReturnValue, nil, err
+ return nil, err
}
localVarHTTPResponse, err := a.client.callAPI(req)
if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
+ return localVarHTTPResponse, err
}
localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
localVarHTTPResponse.Body.Close()
localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
+ return localVarHTTPResponse, err
}
if localVarHTTPResponse.StatusCode >= 300 {
@@ -21998,68 +20992,59 @@ func (a *IpamAPIService) IpamVlanGroupsBulkUpdateExecute(r ApiIpamVlanGroupsBulk
body: localVarBody,
error: localVarHTTPResponse.Status,
}
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
+ return localVarHTTPResponse, newErr
}
- return localVarReturnValue, localVarHTTPResponse, nil
+ return localVarHTTPResponse, nil
}
-type ApiIpamVlanGroupsCreateRequest struct {
+type ApiIpamVlanGroupsBulkPartialUpdateRequest struct {
ctx context.Context
ApiService *IpamAPIService
- vLANGroupRequest *VLANGroupRequest
+ patchedBulkWritableVLANGroupRequest *[]PatchedBulkWritableVLANGroupRequest
format *CircuitsCircuitTerminationsListFormatParameter
}
-func (r ApiIpamVlanGroupsCreateRequest) VLANGroupRequest(vLANGroupRequest VLANGroupRequest) ApiIpamVlanGroupsCreateRequest {
- r.vLANGroupRequest = &vLANGroupRequest
+func (r ApiIpamVlanGroupsBulkPartialUpdateRequest) PatchedBulkWritableVLANGroupRequest(patchedBulkWritableVLANGroupRequest []PatchedBulkWritableVLANGroupRequest) ApiIpamVlanGroupsBulkPartialUpdateRequest {
+ r.patchedBulkWritableVLANGroupRequest = &patchedBulkWritableVLANGroupRequest
return r
}
-func (r ApiIpamVlanGroupsCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVlanGroupsCreateRequest {
+func (r ApiIpamVlanGroupsBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVlanGroupsBulkPartialUpdateRequest {
r.format = &format
return r
}
-func (r ApiIpamVlanGroupsCreateRequest) Execute() (*VLANGroup, *http.Response, error) {
- return r.ApiService.IpamVlanGroupsCreateExecute(r)
+func (r ApiIpamVlanGroupsBulkPartialUpdateRequest) Execute() ([]VLANGroup, *http.Response, error) {
+ return r.ApiService.IpamVlanGroupsBulkPartialUpdateExecute(r)
}
/*
-IpamVlanGroupsCreate Method for IpamVlanGroupsCreate
+IpamVlanGroupsBulkPartialUpdate Method for IpamVlanGroupsBulkPartialUpdate
-Create one or more VLAN group objects.
+Partial update a list of VLAN group objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiIpamVlanGroupsCreateRequest
+ @return ApiIpamVlanGroupsBulkPartialUpdateRequest
*/
-func (a *IpamAPIService) IpamVlanGroupsCreate(ctx context.Context) ApiIpamVlanGroupsCreateRequest {
- return ApiIpamVlanGroupsCreateRequest{
+func (a *IpamAPIService) IpamVlanGroupsBulkPartialUpdate(ctx context.Context) ApiIpamVlanGroupsBulkPartialUpdateRequest {
+ return ApiIpamVlanGroupsBulkPartialUpdateRequest{
ApiService: a,
ctx: ctx,
}
}
// Execute executes the request
-// @return VLANGroup
-func (a *IpamAPIService) IpamVlanGroupsCreateExecute(r ApiIpamVlanGroupsCreateRequest) (*VLANGroup, *http.Response, error) {
+// @return []VLANGroup
+func (a *IpamAPIService) IpamVlanGroupsBulkPartialUpdateExecute(r ApiIpamVlanGroupsBulkPartialUpdateRequest) ([]VLANGroup, *http.Response, error) {
var (
- localVarHTTPMethod = http.MethodPost
+ localVarHTTPMethod = http.MethodPatch
localVarPostBody interface{}
formFiles []formFile
- localVarReturnValue *VLANGroup
+ localVarReturnValue []VLANGroup
)
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamVlanGroupsCreate")
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamVlanGroupsBulkPartialUpdate")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -22069,8 +21054,274 @@ func (a *IpamAPIService) IpamVlanGroupsCreateExecute(r ApiIpamVlanGroupsCreateRe
localVarHeaderParams := make(map[string]string)
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
- if r.vLANGroupRequest == nil {
- return localVarReturnValue, nil, reportError("vLANGroupRequest is required and must be specified")
+ if r.patchedBulkWritableVLANGroupRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritableVLANGroupRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.patchedBulkWritableVLANGroupRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiIpamVlanGroupsBulkUpdateRequest struct {
+ ctx context.Context
+ ApiService *IpamAPIService
+ bulkWritableVLANGroupRequest *[]BulkWritableVLANGroupRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiIpamVlanGroupsBulkUpdateRequest) BulkWritableVLANGroupRequest(bulkWritableVLANGroupRequest []BulkWritableVLANGroupRequest) ApiIpamVlanGroupsBulkUpdateRequest {
+ r.bulkWritableVLANGroupRequest = &bulkWritableVLANGroupRequest
+ return r
+}
+
+func (r ApiIpamVlanGroupsBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVlanGroupsBulkUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiIpamVlanGroupsBulkUpdateRequest) Execute() ([]VLANGroup, *http.Response, error) {
+ return r.ApiService.IpamVlanGroupsBulkUpdateExecute(r)
+}
+
+/*
+IpamVlanGroupsBulkUpdate Method for IpamVlanGroupsBulkUpdate
+
+Update a list of VLAN group objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiIpamVlanGroupsBulkUpdateRequest
+*/
+func (a *IpamAPIService) IpamVlanGroupsBulkUpdate(ctx context.Context) ApiIpamVlanGroupsBulkUpdateRequest {
+ return ApiIpamVlanGroupsBulkUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return []VLANGroup
+func (a *IpamAPIService) IpamVlanGroupsBulkUpdateExecute(r ApiIpamVlanGroupsBulkUpdateRequest) ([]VLANGroup, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPut
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue []VLANGroup
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamVlanGroupsBulkUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/ipam/vlan-groups/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.bulkWritableVLANGroupRequest == nil {
+ return localVarReturnValue, nil, reportError("bulkWritableVLANGroupRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.bulkWritableVLANGroupRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiIpamVlanGroupsCreateRequest struct {
+ ctx context.Context
+ ApiService *IpamAPIService
+ vLANGroupRequest *VLANGroupRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiIpamVlanGroupsCreateRequest) VLANGroupRequest(vLANGroupRequest VLANGroupRequest) ApiIpamVlanGroupsCreateRequest {
+ r.vLANGroupRequest = &vLANGroupRequest
+ return r
+}
+
+func (r ApiIpamVlanGroupsCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVlanGroupsCreateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiIpamVlanGroupsCreateRequest) Execute() (*VLANGroup, *http.Response, error) {
+ return r.ApiService.IpamVlanGroupsCreateExecute(r)
+}
+
+/*
+IpamVlanGroupsCreate Method for IpamVlanGroupsCreate
+
+Create one or more VLAN group objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiIpamVlanGroupsCreateRequest
+*/
+func (a *IpamAPIService) IpamVlanGroupsCreate(ctx context.Context) ApiIpamVlanGroupsCreateRequest {
+ return ApiIpamVlanGroupsCreateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return VLANGroup
+func (a *IpamAPIService) IpamVlanGroupsCreateExecute(r ApiIpamVlanGroupsCreateRequest) (*VLANGroup, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPost
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *VLANGroup
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamVlanGroupsCreate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/ipam/vlan-groups/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.vLANGroupRequest == nil {
+ return localVarReturnValue, nil, reportError("vLANGroupRequest is required and must be specified")
}
if r.format != nil {
@@ -22266,7 +21517,7 @@ type ApiIpamVlanGroupsListRequest struct {
ApiService *IpamAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -22289,22 +21540,10 @@ type ApiIpamVlanGroupsListRequest struct {
descriptionNre *[]string
descriptionRe *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -22333,10 +21572,14 @@ type ApiIpamVlanGroupsListRequest struct {
offset *int32
q *string
sort *string
+ tags *[]string
+ tagsIsnull *bool
+ tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamVlanGroupsListRequest) Contacts(contacts []string) ApiIpamVlanGroupsListRequest {
@@ -22350,8 +21593,7 @@ func (r ApiIpamVlanGroupsListRequest) ContactsIsnull(contactsIsnull bool) ApiIpa
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiIpamVlanGroupsListRequest) ContactsN(contactsN string) ApiIpamVlanGroupsListRequest {
+func (r ApiIpamVlanGroupsListRequest) ContactsN(contactsN []string) ApiIpamVlanGroupsListRequest {
r.contactsN = &contactsN
return r
}
@@ -22466,8 +21708,7 @@ func (r ApiIpamVlanGroupsListRequest) DynamicGroups(dynamicGroups []string) ApiI
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiIpamVlanGroupsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiIpamVlanGroupsListRequest {
+func (r ApiIpamVlanGroupsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiIpamVlanGroupsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -22483,71 +21724,11 @@ func (r ApiIpamVlanGroupsListRequest) Id(id []string) ApiIpamVlanGroupsListReque
return r
}
-func (r ApiIpamVlanGroupsListRequest) IdIc(idIc []string) ApiIpamVlanGroupsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiIpamVlanGroupsListRequest) IdIe(idIe []string) ApiIpamVlanGroupsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiIpamVlanGroupsListRequest) IdIew(idIew []string) ApiIpamVlanGroupsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiIpamVlanGroupsListRequest) IdIre(idIre []string) ApiIpamVlanGroupsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiIpamVlanGroupsListRequest) IdIsw(idIsw []string) ApiIpamVlanGroupsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiIpamVlanGroupsListRequest) IdN(idN []string) ApiIpamVlanGroupsListRequest {
r.idN = &idN
return r
}
-func (r ApiIpamVlanGroupsListRequest) IdNic(idNic []string) ApiIpamVlanGroupsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiIpamVlanGroupsListRequest) IdNie(idNie []string) ApiIpamVlanGroupsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiIpamVlanGroupsListRequest) IdNiew(idNiew []string) ApiIpamVlanGroupsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiIpamVlanGroupsListRequest) IdNire(idNire []string) ApiIpamVlanGroupsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiIpamVlanGroupsListRequest) IdNisw(idNisw []string) ApiIpamVlanGroupsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiIpamVlanGroupsListRequest) IdNre(idNre []string) ApiIpamVlanGroupsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiIpamVlanGroupsListRequest) IdRe(idRe []string) ApiIpamVlanGroupsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiIpamVlanGroupsListRequest) LastUpdated(lastUpdated []time.Time) ApiIpamVlanGroupsListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -22693,6 +21874,21 @@ func (r ApiIpamVlanGroupsListRequest) Sort(sort string) ApiIpamVlanGroupsListReq
return r
}
+func (r ApiIpamVlanGroupsListRequest) Tags(tags []string) ApiIpamVlanGroupsListRequest {
+ r.tags = &tags
+ return r
+}
+
+func (r ApiIpamVlanGroupsListRequest) TagsIsnull(tagsIsnull bool) ApiIpamVlanGroupsListRequest {
+ r.tagsIsnull = &tagsIsnull
+ return r
+}
+
+func (r ApiIpamVlanGroupsListRequest) TagsN(tagsN []string) ApiIpamVlanGroupsListRequest {
+ r.tagsN = &tagsN
+ return r
+}
+
func (r ApiIpamVlanGroupsListRequest) Teams(teams []string) ApiIpamVlanGroupsListRequest {
r.teams = &teams
return r
@@ -22704,8 +21900,7 @@ func (r ApiIpamVlanGroupsListRequest) TeamsIsnull(teamsIsnull bool) ApiIpamVlanG
return r
}
-// Exclude Teams (name or ID)
-func (r ApiIpamVlanGroupsListRequest) TeamsN(teamsN string) ApiIpamVlanGroupsListRequest {
+func (r ApiIpamVlanGroupsListRequest) TeamsN(teamsN []string) ApiIpamVlanGroupsListRequest {
r.teamsN = &teamsN
return r
}
@@ -22716,6 +21911,12 @@ func (r ApiIpamVlanGroupsListRequest) Depth(depth int32) ApiIpamVlanGroupsListRe
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamVlanGroupsListRequest) ExcludeM2m(excludeM2m bool) ApiIpamVlanGroupsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamVlanGroupsListRequest) Execute() (*PaginatedVLANGroupList, *http.Response, error) {
return r.ApiService.IpamVlanGroupsListExecute(r)
}
@@ -22771,7 +21972,15 @@ func (a *IpamAPIService) IpamVlanGroupsListExecute(r ApiIpamVlanGroupsListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -23008,75 +22217,28 @@ func (a *IpamAPIService) IpamVlanGroupsListExecute(r ApiIpamVlanGroupsListReques
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.id != nil {
- t := *r.id
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
if r.idN != nil {
@@ -23090,83 +22252,6 @@ func (a *IpamAPIService) IpamVlanGroupsListExecute(r ApiIpamVlanGroupsListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -23427,6 +22512,31 @@ func (a *IpamAPIService) IpamVlanGroupsListExecute(r ApiIpamVlanGroupsListReques
if r.sort != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
}
+ if r.tags != nil {
+ t := *r.tags
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags", t, "form", "multi")
+ }
+ }
+ if r.tagsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__isnull", r.tagsIsnull, "form", "")
+ }
+ if r.tagsN != nil {
+ t := *r.tagsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", t, "form", "multi")
+ }
+ }
if r.teams != nil {
t := *r.teams
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -23442,13 +22552,29 @@ func (a *IpamAPIService) IpamVlanGroupsListExecute(r ApiIpamVlanGroupsListReques
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -23663,6 +22789,7 @@ type ApiIpamVlanGroupsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamVlanGroupsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVlanGroupsNotesListRequest {
@@ -23688,6 +22815,12 @@ func (r ApiIpamVlanGroupsNotesListRequest) Depth(depth int32) ApiIpamVlanGroupsN
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamVlanGroupsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiIpamVlanGroupsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamVlanGroupsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.IpamVlanGroupsNotesListExecute(r)
}
@@ -23743,8 +22876,16 @@ func (a *IpamAPIService) IpamVlanGroupsNotesListExecute(r ApiIpamVlanGroupsNotes
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -23954,6 +23095,7 @@ type ApiIpamVlanGroupsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamVlanGroupsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVlanGroupsRetrieveRequest {
@@ -23967,6 +23109,12 @@ func (r ApiIpamVlanGroupsRetrieveRequest) Depth(depth int32) ApiIpamVlanGroupsRe
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamVlanGroupsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiIpamVlanGroupsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamVlanGroupsRetrieveRequest) Execute() (*VLANGroup, *http.Response, error) {
return r.ApiService.IpamVlanGroupsRetrieveExecute(r)
}
@@ -24016,8 +23164,16 @@ func (a *IpamAPIService) IpamVlanGroupsRetrieveExecute(r ApiIpamVlanGroupsRetrie
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -24866,19 +24022,7 @@ type ApiIpamVlanLocationAssignmentsListRequest struct {
created *[]time.Time
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
limit *int32
location *[]string
@@ -24889,6 +24033,7 @@ type ApiIpamVlanLocationAssignmentsListRequest struct {
vlan *[]string
vlanN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamVlanLocationAssignmentsListRequest) Created(created []time.Time) ApiIpamVlanLocationAssignmentsListRequest {
@@ -24907,71 +24052,11 @@ func (r ApiIpamVlanLocationAssignmentsListRequest) Id(id []string) ApiIpamVlanLo
return r
}
-func (r ApiIpamVlanLocationAssignmentsListRequest) IdIc(idIc []string) ApiIpamVlanLocationAssignmentsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiIpamVlanLocationAssignmentsListRequest) IdIe(idIe []string) ApiIpamVlanLocationAssignmentsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiIpamVlanLocationAssignmentsListRequest) IdIew(idIew []string) ApiIpamVlanLocationAssignmentsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiIpamVlanLocationAssignmentsListRequest) IdIre(idIre []string) ApiIpamVlanLocationAssignmentsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiIpamVlanLocationAssignmentsListRequest) IdIsw(idIsw []string) ApiIpamVlanLocationAssignmentsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiIpamVlanLocationAssignmentsListRequest) IdN(idN []string) ApiIpamVlanLocationAssignmentsListRequest {
r.idN = &idN
return r
}
-func (r ApiIpamVlanLocationAssignmentsListRequest) IdNic(idNic []string) ApiIpamVlanLocationAssignmentsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiIpamVlanLocationAssignmentsListRequest) IdNie(idNie []string) ApiIpamVlanLocationAssignmentsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiIpamVlanLocationAssignmentsListRequest) IdNiew(idNiew []string) ApiIpamVlanLocationAssignmentsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiIpamVlanLocationAssignmentsListRequest) IdNire(idNire []string) ApiIpamVlanLocationAssignmentsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiIpamVlanLocationAssignmentsListRequest) IdNisw(idNisw []string) ApiIpamVlanLocationAssignmentsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiIpamVlanLocationAssignmentsListRequest) IdNre(idNre []string) ApiIpamVlanLocationAssignmentsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiIpamVlanLocationAssignmentsListRequest) IdRe(idRe []string) ApiIpamVlanLocationAssignmentsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiIpamVlanLocationAssignmentsListRequest) LastUpdated(lastUpdated []time.Time) ApiIpamVlanLocationAssignmentsListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -25027,6 +24112,12 @@ func (r ApiIpamVlanLocationAssignmentsListRequest) Depth(depth int32) ApiIpamVla
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamVlanLocationAssignmentsListRequest) ExcludeM2m(excludeM2m bool) ApiIpamVlanLocationAssignmentsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamVlanLocationAssignmentsListRequest) Execute() (*PaginatedVLANLocationAssignmentList, *http.Response, error) {
return r.ApiService.IpamVlanLocationAssignmentsListExecute(r)
}
@@ -25092,61 +24183,6 @@ func (a *IpamAPIService) IpamVlanLocationAssignmentsListExecute(r ApiIpamVlanLoc
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -25158,83 +24194,6 @@ func (a *IpamAPIService) IpamVlanLocationAssignmentsListExecute(r ApiIpamVlanLoc
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -25305,304 +24264,16 @@ func (a *IpamAPIService) IpamVlanLocationAssignmentsListExecute(r ApiIpamVlanLoc
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiIpamVlanLocationAssignmentsNotesCreateRequest struct {
- ctx context.Context
- ApiService *IpamAPIService
- id string
- noteInputRequest *NoteInputRequest
- format *CircuitsCircuitTerminationsListFormatParameter
-}
-
-func (r ApiIpamVlanLocationAssignmentsNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiIpamVlanLocationAssignmentsNotesCreateRequest {
- r.noteInputRequest = ¬eInputRequest
- return r
-}
-
-func (r ApiIpamVlanLocationAssignmentsNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVlanLocationAssignmentsNotesCreateRequest {
- r.format = &format
- return r
-}
-
-func (r ApiIpamVlanLocationAssignmentsNotesCreateRequest) Execute() (*Note, *http.Response, error) {
- return r.ApiService.IpamVlanLocationAssignmentsNotesCreateExecute(r)
-}
-
-/*
-IpamVlanLocationAssignmentsNotesCreate Method for IpamVlanLocationAssignmentsNotesCreate
-
-API methods for returning or creating notes on an object.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this vlan location assignment.
- @return ApiIpamVlanLocationAssignmentsNotesCreateRequest
-*/
-func (a *IpamAPIService) IpamVlanLocationAssignmentsNotesCreate(ctx context.Context, id string) ApiIpamVlanLocationAssignmentsNotesCreateRequest {
- return ApiIpamVlanLocationAssignmentsNotesCreateRequest{
- ApiService: a,
- ctx: ctx,
- id: id,
- }
-}
-
-// Execute executes the request
-// @return Note
-func (a *IpamAPIService) IpamVlanLocationAssignmentsNotesCreateExecute(r ApiIpamVlanLocationAssignmentsNotesCreateRequest) (*Note, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *Note
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamVlanLocationAssignmentsNotesCreate")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/ipam/vlan-location-assignments/{id}/notes/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.noteInputRequest == nil {
- return localVarReturnValue, nil, reportError("noteInputRequest is required and must be specified")
- }
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.noteInputRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiIpamVlanLocationAssignmentsNotesListRequest struct {
- ctx context.Context
- ApiService *IpamAPIService
- id string
- format *CircuitsCircuitTerminationsListFormatParameter
- limit *int32
- offset *int32
- depth *int32
-}
-
-func (r ApiIpamVlanLocationAssignmentsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVlanLocationAssignmentsNotesListRequest {
- r.format = &format
- return r
-}
-
-// Number of results to return per page.
-func (r ApiIpamVlanLocationAssignmentsNotesListRequest) Limit(limit int32) ApiIpamVlanLocationAssignmentsNotesListRequest {
- r.limit = &limit
- return r
-}
-
-// The initial index from which to return the results.
-func (r ApiIpamVlanLocationAssignmentsNotesListRequest) Offset(offset int32) ApiIpamVlanLocationAssignmentsNotesListRequest {
- r.offset = &offset
- return r
-}
-
-// Serializer Depth
-func (r ApiIpamVlanLocationAssignmentsNotesListRequest) Depth(depth int32) ApiIpamVlanLocationAssignmentsNotesListRequest {
- r.depth = &depth
- return r
-}
-
-func (r ApiIpamVlanLocationAssignmentsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
- return r.ApiService.IpamVlanLocationAssignmentsNotesListExecute(r)
-}
-
-/*
-IpamVlanLocationAssignmentsNotesList Method for IpamVlanLocationAssignmentsNotesList
-
-API methods for returning or creating notes on an object.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this vlan location assignment.
- @return ApiIpamVlanLocationAssignmentsNotesListRequest
-*/
-func (a *IpamAPIService) IpamVlanLocationAssignmentsNotesList(ctx context.Context, id string) ApiIpamVlanLocationAssignmentsNotesListRequest {
- return ApiIpamVlanLocationAssignmentsNotesListRequest{
- ApiService: a,
- ctx: ctx,
- id: id,
- }
-}
-
-// Execute executes the request
-// @return PaginatedNoteList
-func (a *IpamAPIService) IpamVlanLocationAssignmentsNotesListExecute(r ApiIpamVlanLocationAssignmentsNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *PaginatedNoteList
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamVlanLocationAssignmentsNotesList")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/ipam/vlan-location-assignments/{id}/notes/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
- }
- if r.offset != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
- }
- if r.depth != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
- } else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -25812,6 +24483,7 @@ type ApiIpamVlanLocationAssignmentsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamVlanLocationAssignmentsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVlanLocationAssignmentsRetrieveRequest {
@@ -25825,6 +24497,12 @@ func (r ApiIpamVlanLocationAssignmentsRetrieveRequest) Depth(depth int32) ApiIpa
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamVlanLocationAssignmentsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiIpamVlanLocationAssignmentsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamVlanLocationAssignmentsRetrieveRequest) Execute() (*VLANLocationAssignment, *http.Response, error) {
return r.ApiService.IpamVlanLocationAssignmentsRetrieveExecute(r)
}
@@ -25874,8 +24552,16 @@ func (a *IpamAPIService) IpamVlanLocationAssignmentsRetrieveExecute(r ApiIpamVla
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -26724,7 +25410,7 @@ type ApiIpamVlansListRequest struct {
availableOnDevice *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -26733,22 +25419,10 @@ type ApiIpamVlansListRequest struct {
createdLte *[]time.Time
createdN *[]time.Time
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -26779,16 +25453,16 @@ type ApiIpamVlansListRequest struct {
q *string
role *[]string
roleIsnull *bool
- roleN *string
+ roleN *[]string
sort *string
status *[]string
- statusN *string
+ statusN *[]string
tags *[]string
tagsIsnull *bool
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
tenant *[]string
tenantIsnull *bool
tenantN *[]string
@@ -26808,6 +25482,7 @@ type ApiIpamVlansListRequest struct {
vlanGroupIsnull *bool
vlanGroupN *[]string
depth *int32
+ excludeM2m *bool
}
// Device (ID)
@@ -26827,8 +25502,7 @@ func (r ApiIpamVlansListRequest) ContactsIsnull(contactsIsnull bool) ApiIpamVlan
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiIpamVlansListRequest) ContactsN(contactsN string) ApiIpamVlansListRequest {
+func (r ApiIpamVlansListRequest) ContactsN(contactsN []string) ApiIpamVlansListRequest {
r.contactsN = &contactsN
return r
}
@@ -26873,8 +25547,7 @@ func (r ApiIpamVlansListRequest) DynamicGroups(dynamicGroups []string) ApiIpamVl
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiIpamVlansListRequest) DynamicGroupsN(dynamicGroupsN string) ApiIpamVlansListRequest {
+func (r ApiIpamVlansListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiIpamVlansListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -26890,71 +25563,11 @@ func (r ApiIpamVlansListRequest) Id(id []string) ApiIpamVlansListRequest {
return r
}
-func (r ApiIpamVlansListRequest) IdIc(idIc []string) ApiIpamVlansListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiIpamVlansListRequest) IdIe(idIe []string) ApiIpamVlansListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiIpamVlansListRequest) IdIew(idIew []string) ApiIpamVlansListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiIpamVlansListRequest) IdIre(idIre []string) ApiIpamVlansListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiIpamVlansListRequest) IdIsw(idIsw []string) ApiIpamVlansListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiIpamVlansListRequest) IdN(idN []string) ApiIpamVlansListRequest {
r.idN = &idN
return r
}
-func (r ApiIpamVlansListRequest) IdNic(idNic []string) ApiIpamVlansListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiIpamVlansListRequest) IdNie(idNie []string) ApiIpamVlansListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiIpamVlansListRequest) IdNiew(idNiew []string) ApiIpamVlansListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiIpamVlansListRequest) IdNire(idNire []string) ApiIpamVlansListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiIpamVlansListRequest) IdNisw(idNisw []string) ApiIpamVlansListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiIpamVlansListRequest) IdNre(idNre []string) ApiIpamVlansListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiIpamVlansListRequest) IdRe(idRe []string) ApiIpamVlansListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiIpamVlansListRequest) LastUpdated(lastUpdated []time.Time) ApiIpamVlansListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -27109,8 +25722,7 @@ func (r ApiIpamVlansListRequest) RoleIsnull(roleIsnull bool) ApiIpamVlansListReq
return r
}
-// Exclude Role (name or ID)
-func (r ApiIpamVlansListRequest) RoleN(roleN string) ApiIpamVlansListRequest {
+func (r ApiIpamVlansListRequest) RoleN(roleN []string) ApiIpamVlansListRequest {
r.roleN = &roleN
return r
}
@@ -27126,8 +25738,7 @@ func (r ApiIpamVlansListRequest) Status(status []string) ApiIpamVlansListRequest
return r
}
-// Exclude Status (name or ID)
-func (r ApiIpamVlansListRequest) StatusN(statusN string) ApiIpamVlansListRequest {
+func (r ApiIpamVlansListRequest) StatusN(statusN []string) ApiIpamVlansListRequest {
r.statusN = &statusN
return r
}
@@ -27158,8 +25769,7 @@ func (r ApiIpamVlansListRequest) TeamsIsnull(teamsIsnull bool) ApiIpamVlansListR
return r
}
-// Exclude Teams (name or ID)
-func (r ApiIpamVlansListRequest) TeamsN(teamsN string) ApiIpamVlansListRequest {
+func (r ApiIpamVlansListRequest) TeamsN(teamsN []string) ApiIpamVlansListRequest {
r.teamsN = &teamsN
return r
}
@@ -27266,6 +25876,12 @@ func (r ApiIpamVlansListRequest) Depth(depth int32) ApiIpamVlansListRequest {
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamVlansListRequest) ExcludeM2m(excludeM2m bool) ApiIpamVlansListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamVlansListRequest) Execute() (*PaginatedVLANList, *http.Response, error) {
return r.ApiService.IpamVlansListExecute(r)
}
@@ -27332,7 +25948,15 @@ func (a *IpamAPIService) IpamVlansListExecute(r ApiIpamVlansListRequest) (*Pagin
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -27415,75 +26039,28 @@ func (a *IpamAPIService) IpamVlansListExecute(r ApiIpamVlansListRequest) (*Pagin
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.id != nil {
- t := *r.id
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
- }
- }
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
if r.idN != nil {
@@ -27497,83 +26074,6 @@ func (a *IpamAPIService) IpamVlansListExecute(r ApiIpamVlansListRequest) (*Pagin
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -27865,7 +26365,15 @@ func (a *IpamAPIService) IpamVlansListExecute(r ApiIpamVlansListRequest) (*Pagin
parameterAddToHeaderOrQuery(localVarQueryParams, "role__isnull", r.roleIsnull, "form", "")
}
if r.roleN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", r.roleN, "form", "")
+ t := *r.roleN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", t, "form", "multi")
+ }
}
if r.sort != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
@@ -27882,7 +26390,15 @@ func (a *IpamAPIService) IpamVlansListExecute(r ApiIpamVlansListRequest) (*Pagin
}
}
if r.statusN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", r.statusN, "form", "")
+ t := *r.statusN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "form", "multi")
+ }
}
if r.tags != nil {
t := *r.tags
@@ -27924,7 +26440,15 @@ func (a *IpamAPIService) IpamVlansListExecute(r ApiIpamVlansListRequest) (*Pagin
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.tenant != nil {
t := *r.tenant
@@ -28095,8 +26619,16 @@ func (a *IpamAPIService) IpamVlansListExecute(r ApiIpamVlansListRequest) (*Pagin
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -28311,6 +26843,7 @@ type ApiIpamVlansNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamVlansNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVlansNotesListRequest {
@@ -28336,6 +26869,12 @@ func (r ApiIpamVlansNotesListRequest) Depth(depth int32) ApiIpamVlansNotesListRe
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamVlansNotesListRequest) ExcludeM2m(excludeM2m bool) ApiIpamVlansNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamVlansNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.IpamVlansNotesListExecute(r)
}
@@ -28391,8 +26930,16 @@ func (a *IpamAPIService) IpamVlansNotesListExecute(r ApiIpamVlansNotesListReques
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -28602,6 +27149,7 @@ type ApiIpamVlansRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamVlansRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVlansRetrieveRequest {
@@ -28615,6 +27163,12 @@ func (r ApiIpamVlansRetrieveRequest) Depth(depth int32) ApiIpamVlansRetrieveRequ
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamVlansRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiIpamVlansRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamVlansRetrieveRequest) Execute() (*VLAN, *http.Response, error) {
return r.ApiService.IpamVlansRetrieveExecute(r)
}
@@ -28664,8 +27218,16 @@ func (a *IpamAPIService) IpamVlansRetrieveExecute(r ApiIpamVlansRetrieveRequest)
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -28896,7 +27458,7 @@ func (r ApiIpamVrfDeviceAssignmentsBulkDestroyRequest) Execute() (*http.Response
/*
IpamVrfDeviceAssignmentsBulkDestroy Method for IpamVrfDeviceAssignmentsBulkDestroy
-Destroy a list of vrf device assignment objects.
+Destroy a list of VRF-device assignment objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiIpamVrfDeviceAssignmentsBulkDestroyRequest
@@ -29018,7 +27580,7 @@ func (r ApiIpamVrfDeviceAssignmentsBulkPartialUpdateRequest) Execute() ([]VRFDev
/*
IpamVrfDeviceAssignmentsBulkPartialUpdate Method for IpamVrfDeviceAssignmentsBulkPartialUpdate
-Partial update a list of vrf device assignment objects.
+Partial update a list of VRF-device assignment objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiIpamVrfDeviceAssignmentsBulkPartialUpdateRequest
@@ -29151,7 +27713,7 @@ func (r ApiIpamVrfDeviceAssignmentsBulkUpdateRequest) Execute() ([]VRFDeviceAssi
/*
IpamVrfDeviceAssignmentsBulkUpdate Method for IpamVrfDeviceAssignmentsBulkUpdate
-Update a list of vrf device assignment objects.
+Update a list of VRF-device assignment objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiIpamVrfDeviceAssignmentsBulkUpdateRequest
@@ -29284,7 +27846,7 @@ func (r ApiIpamVrfDeviceAssignmentsCreateRequest) Execute() (*VRFDeviceAssignmen
/*
IpamVrfDeviceAssignmentsCreate Method for IpamVrfDeviceAssignmentsCreate
-Create one or more vrf device assignment objects.
+Create one or more VRF-device assignment objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiIpamVrfDeviceAssignmentsCreateRequest
@@ -29412,10 +27974,10 @@ func (r ApiIpamVrfDeviceAssignmentsDestroyRequest) Execute() (*http.Response, er
/*
IpamVrfDeviceAssignmentsDestroy Method for IpamVrfDeviceAssignmentsDestroy
-Destroy a vrf device assignment object.
+Destroy a VRF-device assignment object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this vrf device assignment.
+ @param id A UUID string identifying this VRF-device assignment.
@return ApiIpamVrfDeviceAssignmentsDestroyRequest
*/
func (a *IpamAPIService) IpamVrfDeviceAssignmentsDestroy(ctx context.Context, id string) ApiIpamVrfDeviceAssignmentsDestroyRequest {
@@ -29517,29 +28079,51 @@ type ApiIpamVrfDeviceAssignmentsListRequest struct {
deviceN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
limit *int32
+ name *[]string
+ nameIc *[]string
+ nameIe *[]string
+ nameIew *[]string
+ nameIre *[]string
+ nameIsw *[]string
+ nameN *[]string
+ nameNic *[]string
+ nameNie *[]string
+ nameNiew *[]string
+ nameNire *[]string
+ nameNisw *[]string
+ nameNre *[]string
+ nameRe *[]string
offset *int32
+ q *string
+ rd *[]string
+ rdIc *[]string
+ rdIe *[]string
+ rdIew *[]string
+ rdIre *[]string
+ rdIsnull *bool
+ rdIsw *[]string
+ rdN *[]string
+ rdNic *[]string
+ rdNie *[]string
+ rdNiew *[]string
+ rdNire *[]string
+ rdNisw *[]string
+ rdNre *[]string
+ rdRe *[]string
sort *string
+ virtualDeviceContext *[]string
+ virtualDeviceContextIsnull *bool
+ virtualDeviceContextN *[]string
virtualMachine *[]string
virtualMachineIsnull *bool
virtualMachineN *[]string
- vrf *string
- vrfN *string
+ vrf *[]string
+ vrfN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamVrfDeviceAssignmentsListRequest) Created(created []time.Time) ApiIpamVrfDeviceAssignmentsListRequest {
@@ -29574,79 +28158,89 @@ func (r ApiIpamVrfDeviceAssignmentsListRequest) Id(id []string) ApiIpamVrfDevice
return r
}
-func (r ApiIpamVrfDeviceAssignmentsListRequest) IdIc(idIc []string) ApiIpamVrfDeviceAssignmentsListRequest {
- r.idIc = &idIc
+func (r ApiIpamVrfDeviceAssignmentsListRequest) IdN(idN []string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.idN = &idN
return r
}
-func (r ApiIpamVrfDeviceAssignmentsListRequest) IdIe(idIe []string) ApiIpamVrfDeviceAssignmentsListRequest {
- r.idIe = &idIe
+func (r ApiIpamVrfDeviceAssignmentsListRequest) LastUpdated(lastUpdated []time.Time) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.lastUpdated = &lastUpdated
return r
}
-func (r ApiIpamVrfDeviceAssignmentsListRequest) IdIew(idIew []string) ApiIpamVrfDeviceAssignmentsListRequest {
- r.idIew = &idIew
+// Number of results to return per page.
+func (r ApiIpamVrfDeviceAssignmentsListRequest) Limit(limit int32) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.limit = &limit
return r
}
-func (r ApiIpamVrfDeviceAssignmentsListRequest) IdIre(idIre []string) ApiIpamVrfDeviceAssignmentsListRequest {
- r.idIre = &idIre
+func (r ApiIpamVrfDeviceAssignmentsListRequest) Name(name []string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.name = &name
return r
}
-func (r ApiIpamVrfDeviceAssignmentsListRequest) IdIsw(idIsw []string) ApiIpamVrfDeviceAssignmentsListRequest {
- r.idIsw = &idIsw
+func (r ApiIpamVrfDeviceAssignmentsListRequest) NameIc(nameIc []string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.nameIc = &nameIc
return r
}
-func (r ApiIpamVrfDeviceAssignmentsListRequest) IdN(idN []string) ApiIpamVrfDeviceAssignmentsListRequest {
- r.idN = &idN
+func (r ApiIpamVrfDeviceAssignmentsListRequest) NameIe(nameIe []string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.nameIe = &nameIe
+ return r
+}
+
+func (r ApiIpamVrfDeviceAssignmentsListRequest) NameIew(nameIew []string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.nameIew = &nameIew
return r
}
-func (r ApiIpamVrfDeviceAssignmentsListRequest) IdNic(idNic []string) ApiIpamVrfDeviceAssignmentsListRequest {
- r.idNic = &idNic
+func (r ApiIpamVrfDeviceAssignmentsListRequest) NameIre(nameIre []string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.nameIre = &nameIre
return r
}
-func (r ApiIpamVrfDeviceAssignmentsListRequest) IdNie(idNie []string) ApiIpamVrfDeviceAssignmentsListRequest {
- r.idNie = &idNie
+func (r ApiIpamVrfDeviceAssignmentsListRequest) NameIsw(nameIsw []string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.nameIsw = &nameIsw
return r
}
-func (r ApiIpamVrfDeviceAssignmentsListRequest) IdNiew(idNiew []string) ApiIpamVrfDeviceAssignmentsListRequest {
- r.idNiew = &idNiew
+func (r ApiIpamVrfDeviceAssignmentsListRequest) NameN(nameN []string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.nameN = &nameN
return r
}
-func (r ApiIpamVrfDeviceAssignmentsListRequest) IdNire(idNire []string) ApiIpamVrfDeviceAssignmentsListRequest {
- r.idNire = &idNire
+func (r ApiIpamVrfDeviceAssignmentsListRequest) NameNic(nameNic []string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.nameNic = &nameNic
return r
}
-func (r ApiIpamVrfDeviceAssignmentsListRequest) IdNisw(idNisw []string) ApiIpamVrfDeviceAssignmentsListRequest {
- r.idNisw = &idNisw
+func (r ApiIpamVrfDeviceAssignmentsListRequest) NameNie(nameNie []string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.nameNie = &nameNie
return r
}
-func (r ApiIpamVrfDeviceAssignmentsListRequest) IdNre(idNre []string) ApiIpamVrfDeviceAssignmentsListRequest {
- r.idNre = &idNre
+func (r ApiIpamVrfDeviceAssignmentsListRequest) NameNiew(nameNiew []string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.nameNiew = &nameNiew
return r
}
-func (r ApiIpamVrfDeviceAssignmentsListRequest) IdRe(idRe []string) ApiIpamVrfDeviceAssignmentsListRequest {
- r.idRe = &idRe
+func (r ApiIpamVrfDeviceAssignmentsListRequest) NameNire(nameNire []string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.nameNire = &nameNire
return r
}
-func (r ApiIpamVrfDeviceAssignmentsListRequest) LastUpdated(lastUpdated []time.Time) ApiIpamVrfDeviceAssignmentsListRequest {
- r.lastUpdated = &lastUpdated
+func (r ApiIpamVrfDeviceAssignmentsListRequest) NameNisw(nameNisw []string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.nameNisw = &nameNisw
return r
}
-// Number of results to return per page.
-func (r ApiIpamVrfDeviceAssignmentsListRequest) Limit(limit int32) ApiIpamVrfDeviceAssignmentsListRequest {
- r.limit = &limit
+func (r ApiIpamVrfDeviceAssignmentsListRequest) NameNre(nameNre []string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.nameNre = &nameNre
+ return r
+}
+
+func (r ApiIpamVrfDeviceAssignmentsListRequest) NameRe(nameRe []string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.nameRe = &nameRe
return r
}
@@ -29656,12 +28250,109 @@ func (r ApiIpamVrfDeviceAssignmentsListRequest) Offset(offset int32) ApiIpamVrfD
return r
}
+// Search
+func (r ApiIpamVrfDeviceAssignmentsListRequest) Q(q string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.q = &q
+ return r
+}
+
+func (r ApiIpamVrfDeviceAssignmentsListRequest) Rd(rd []string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.rd = &rd
+ return r
+}
+
+func (r ApiIpamVrfDeviceAssignmentsListRequest) RdIc(rdIc []string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.rdIc = &rdIc
+ return r
+}
+
+func (r ApiIpamVrfDeviceAssignmentsListRequest) RdIe(rdIe []string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.rdIe = &rdIe
+ return r
+}
+
+func (r ApiIpamVrfDeviceAssignmentsListRequest) RdIew(rdIew []string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.rdIew = &rdIew
+ return r
+}
+
+func (r ApiIpamVrfDeviceAssignmentsListRequest) RdIre(rdIre []string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.rdIre = &rdIre
+ return r
+}
+
+func (r ApiIpamVrfDeviceAssignmentsListRequest) RdIsnull(rdIsnull bool) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.rdIsnull = &rdIsnull
+ return r
+}
+
+func (r ApiIpamVrfDeviceAssignmentsListRequest) RdIsw(rdIsw []string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.rdIsw = &rdIsw
+ return r
+}
+
+func (r ApiIpamVrfDeviceAssignmentsListRequest) RdN(rdN []string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.rdN = &rdN
+ return r
+}
+
+func (r ApiIpamVrfDeviceAssignmentsListRequest) RdNic(rdNic []string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.rdNic = &rdNic
+ return r
+}
+
+func (r ApiIpamVrfDeviceAssignmentsListRequest) RdNie(rdNie []string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.rdNie = &rdNie
+ return r
+}
+
+func (r ApiIpamVrfDeviceAssignmentsListRequest) RdNiew(rdNiew []string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.rdNiew = &rdNiew
+ return r
+}
+
+func (r ApiIpamVrfDeviceAssignmentsListRequest) RdNire(rdNire []string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.rdNire = &rdNire
+ return r
+}
+
+func (r ApiIpamVrfDeviceAssignmentsListRequest) RdNisw(rdNisw []string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.rdNisw = &rdNisw
+ return r
+}
+
+func (r ApiIpamVrfDeviceAssignmentsListRequest) RdNre(rdNre []string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.rdNre = &rdNre
+ return r
+}
+
+func (r ApiIpamVrfDeviceAssignmentsListRequest) RdRe(rdRe []string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.rdRe = &rdRe
+ return r
+}
+
// Which field to use when ordering the results.
func (r ApiIpamVrfDeviceAssignmentsListRequest) Sort(sort string) ApiIpamVrfDeviceAssignmentsListRequest {
r.sort = &sort
return r
}
+func (r ApiIpamVrfDeviceAssignmentsListRequest) VirtualDeviceContext(virtualDeviceContext []string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.virtualDeviceContext = &virtualDeviceContext
+ return r
+}
+
+// Virtual Device Context (ID or name) is null
+func (r ApiIpamVrfDeviceAssignmentsListRequest) VirtualDeviceContextIsnull(virtualDeviceContextIsnull bool) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.virtualDeviceContextIsnull = &virtualDeviceContextIsnull
+ return r
+}
+
+func (r ApiIpamVrfDeviceAssignmentsListRequest) VirtualDeviceContextN(virtualDeviceContextN []string) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.virtualDeviceContextN = &virtualDeviceContextN
+ return r
+}
+
func (r ApiIpamVrfDeviceAssignmentsListRequest) VirtualMachine(virtualMachine []string) ApiIpamVrfDeviceAssignmentsListRequest {
r.virtualMachine = &virtualMachine
return r
@@ -29678,12 +28369,12 @@ func (r ApiIpamVrfDeviceAssignmentsListRequest) VirtualMachineN(virtualMachineN
return r
}
-func (r ApiIpamVrfDeviceAssignmentsListRequest) Vrf(vrf string) ApiIpamVrfDeviceAssignmentsListRequest {
+func (r ApiIpamVrfDeviceAssignmentsListRequest) Vrf(vrf []string) ApiIpamVrfDeviceAssignmentsListRequest {
r.vrf = &vrf
return r
}
-func (r ApiIpamVrfDeviceAssignmentsListRequest) VrfN(vrfN string) ApiIpamVrfDeviceAssignmentsListRequest {
+func (r ApiIpamVrfDeviceAssignmentsListRequest) VrfN(vrfN []string) ApiIpamVrfDeviceAssignmentsListRequest {
r.vrfN = &vrfN
return r
}
@@ -29694,6 +28385,12 @@ func (r ApiIpamVrfDeviceAssignmentsListRequest) Depth(depth int32) ApiIpamVrfDev
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamVrfDeviceAssignmentsListRequest) ExcludeM2m(excludeM2m bool) ApiIpamVrfDeviceAssignmentsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamVrfDeviceAssignmentsListRequest) Execute() (*PaginatedVRFDeviceAssignmentList, *http.Response, error) {
return r.ApiService.IpamVrfDeviceAssignmentsListExecute(r)
}
@@ -29701,7 +28398,7 @@ func (r ApiIpamVrfDeviceAssignmentsListRequest) Execute() (*PaginatedVRFDeviceAs
/*
IpamVrfDeviceAssignmentsList Method for IpamVrfDeviceAssignmentsList
-Retrieve a list of vrf device assignment objects.
+Retrieve a list of VRF-device assignment objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiIpamVrfDeviceAssignmentsListRequest
@@ -29784,501 +28481,436 @@ func (a *IpamAPIService) IpamVrfDeviceAssignmentsListExecute(r ApiIpamVrfDeviceA
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
+ if r.idN != nil {
+ t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idIe != nil {
- t := *r.idIe
+ if r.lastUpdated != nil {
+ t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "form", "multi")
}
}
- if r.idIew != nil {
- t := *r.idIew
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ }
+ if r.name != nil {
+ t := *r.name
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name", t, "form", "multi")
}
}
- if r.idIre != nil {
- t := *r.idIre
+ if r.nameIc != nil {
+ t := *r.nameIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", t, "form", "multi")
}
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.nameIe != nil {
+ t := *r.nameIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", t, "form", "multi")
}
}
- if r.idN != nil {
- t := *r.idN
+ if r.nameIew != nil {
+ t := *r.nameIew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
+ if r.nameIre != nil {
+ t := *r.nameIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", t, "form", "multi")
}
}
- if r.idNie != nil {
- t := *r.idNie
+ if r.nameIsw != nil {
+ t := *r.nameIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", t, "form", "multi")
}
}
- if r.idNiew != nil {
- t := *r.idNiew
+ if r.nameN != nil {
+ t := *r.nameN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", t, "form", "multi")
}
}
- if r.idNire != nil {
- t := *r.idNire
+ if r.nameNic != nil {
+ t := *r.nameNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", t, "form", "multi")
}
}
- if r.idNisw != nil {
- t := *r.idNisw
+ if r.nameNie != nil {
+ t := *r.nameNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", t, "form", "multi")
}
}
- if r.idNre != nil {
- t := *r.idNre
+ if r.nameNiew != nil {
+ t := *r.nameNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", t, "form", "multi")
}
}
- if r.idRe != nil {
- t := *r.idRe
+ if r.nameNire != nil {
+ t := *r.nameNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", t, "form", "multi")
}
}
- if r.lastUpdated != nil {
- t := *r.lastUpdated
+ if r.nameNisw != nil {
+ t := *r.nameNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", t, "form", "multi")
}
}
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ if r.nameNre != nil {
+ t := *r.nameNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", t, "form", "multi")
+ }
+ }
+ if r.nameRe != nil {
+ t := *r.nameRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", t, "form", "multi")
+ }
}
if r.offset != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
}
- if r.sort != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
+ if r.q != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
}
- if r.virtualMachine != nil {
- t := *r.virtualMachine
+ if r.rd != nil {
+ t := *r.rd
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machine", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rd", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machine", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rd", t, "form", "multi")
}
}
- if r.virtualMachineIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machine__isnull", r.virtualMachineIsnull, "form", "")
- }
- if r.virtualMachineN != nil {
- t := *r.virtualMachineN
+ if r.rdIc != nil {
+ t := *r.rdIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machine__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rd__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machine__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rd__ic", t, "form", "multi")
}
}
- if r.vrf != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "vrf", r.vrf, "form", "")
- }
- if r.vrfN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "vrf__n", r.vrfN, "form", "")
- }
- if r.depth != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
- } else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
+ if r.rdIe != nil {
+ t := *r.rdIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rd__ie", s.Index(i).Interface(), "form", "multi")
}
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rd__ie", t, "form", "multi")
}
}
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
+ if r.rdIew != nil {
+ t := *r.rdIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rd__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rd__iew", t, "form", "multi")
+ }
}
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
+ if r.rdIre != nil {
+ t := *r.rdIre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rd__ire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rd__ire", t, "form", "multi")
+ }
}
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
+ if r.rdIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rd__isnull", r.rdIsnull, "form", "")
}
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
+ if r.rdIsw != nil {
+ t := *r.rdIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rd__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rd__isw", t, "form", "multi")
}
- return localVarReturnValue, localVarHTTPResponse, newErr
}
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
+ if r.rdN != nil {
+ t := *r.rdN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rd__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rd__n", t, "form", "multi")
}
- return localVarReturnValue, localVarHTTPResponse, newErr
}
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiIpamVrfDeviceAssignmentsNotesCreateRequest struct {
- ctx context.Context
- ApiService *IpamAPIService
- id string
- noteInputRequest *NoteInputRequest
- format *CircuitsCircuitTerminationsListFormatParameter
-}
-
-func (r ApiIpamVrfDeviceAssignmentsNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiIpamVrfDeviceAssignmentsNotesCreateRequest {
- r.noteInputRequest = ¬eInputRequest
- return r
-}
-
-func (r ApiIpamVrfDeviceAssignmentsNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVrfDeviceAssignmentsNotesCreateRequest {
- r.format = &format
- return r
-}
-
-func (r ApiIpamVrfDeviceAssignmentsNotesCreateRequest) Execute() (*Note, *http.Response, error) {
- return r.ApiService.IpamVrfDeviceAssignmentsNotesCreateExecute(r)
-}
-
-/*
-IpamVrfDeviceAssignmentsNotesCreate Method for IpamVrfDeviceAssignmentsNotesCreate
-
-API methods for returning or creating notes on an object.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this vrf device assignment.
- @return ApiIpamVrfDeviceAssignmentsNotesCreateRequest
-*/
-func (a *IpamAPIService) IpamVrfDeviceAssignmentsNotesCreate(ctx context.Context, id string) ApiIpamVrfDeviceAssignmentsNotesCreateRequest {
- return ApiIpamVrfDeviceAssignmentsNotesCreateRequest{
- ApiService: a,
- ctx: ctx,
- id: id,
+ if r.rdNic != nil {
+ t := *r.rdNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rd__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rd__nic", t, "form", "multi")
+ }
}
-}
-
-// Execute executes the request
-// @return Note
-func (a *IpamAPIService) IpamVrfDeviceAssignmentsNotesCreateExecute(r ApiIpamVrfDeviceAssignmentsNotesCreateRequest) (*Note, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *Note
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamVrfDeviceAssignmentsNotesCreate")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ if r.rdNie != nil {
+ t := *r.rdNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rd__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rd__nie", t, "form", "multi")
+ }
}
-
- localVarPath := localBasePath + "/ipam/vrf-device-assignments/{id}/notes/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.noteInputRequest == nil {
- return localVarReturnValue, nil, reportError("noteInputRequest is required and must be specified")
+ if r.rdNiew != nil {
+ t := *r.rdNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rd__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rd__niew", t, "form", "multi")
+ }
}
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ if r.rdNire != nil {
+ t := *r.rdNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rd__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rd__nire", t, "form", "multi")
+ }
}
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ if r.rdNisw != nil {
+ t := *r.rdNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rd__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rd__nisw", t, "form", "multi")
+ }
}
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ if r.rdNre != nil {
+ t := *r.rdNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rd__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rd__nre", t, "form", "multi")
+ }
}
- // body params
- localVarPostBody = r.noteInputRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
+ if r.rdRe != nil {
+ t := *r.rdRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rd__re", s.Index(i).Interface(), "form", "multi")
}
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rd__re", t, "form", "multi")
}
}
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
+ if r.sort != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
}
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
+ if r.virtualDeviceContext != nil {
+ t := *r.virtualDeviceContext
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_device_context", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_device_context", t, "form", "multi")
+ }
}
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
+ if r.virtualDeviceContextIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_device_context__isnull", r.virtualDeviceContextIsnull, "form", "")
}
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
+ if r.virtualDeviceContextN != nil {
+ t := *r.virtualDeviceContextN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_device_context__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_device_context__n", t, "form", "multi")
}
- return localVarReturnValue, localVarHTTPResponse, newErr
}
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
+ if r.virtualMachine != nil {
+ t := *r.virtualMachine
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machine", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machine", t, "form", "multi")
}
- return localVarReturnValue, localVarHTTPResponse, newErr
}
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiIpamVrfDeviceAssignmentsNotesListRequest struct {
- ctx context.Context
- ApiService *IpamAPIService
- id string
- format *CircuitsCircuitTerminationsListFormatParameter
- limit *int32
- offset *int32
- depth *int32
-}
-
-func (r ApiIpamVrfDeviceAssignmentsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVrfDeviceAssignmentsNotesListRequest {
- r.format = &format
- return r
-}
-
-// Number of results to return per page.
-func (r ApiIpamVrfDeviceAssignmentsNotesListRequest) Limit(limit int32) ApiIpamVrfDeviceAssignmentsNotesListRequest {
- r.limit = &limit
- return r
-}
-
-// The initial index from which to return the results.
-func (r ApiIpamVrfDeviceAssignmentsNotesListRequest) Offset(offset int32) ApiIpamVrfDeviceAssignmentsNotesListRequest {
- r.offset = &offset
- return r
-}
-
-// Serializer Depth
-func (r ApiIpamVrfDeviceAssignmentsNotesListRequest) Depth(depth int32) ApiIpamVrfDeviceAssignmentsNotesListRequest {
- r.depth = &depth
- return r
-}
-
-func (r ApiIpamVrfDeviceAssignmentsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
- return r.ApiService.IpamVrfDeviceAssignmentsNotesListExecute(r)
-}
-
-/*
-IpamVrfDeviceAssignmentsNotesList Method for IpamVrfDeviceAssignmentsNotesList
-
-API methods for returning or creating notes on an object.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this vrf device assignment.
- @return ApiIpamVrfDeviceAssignmentsNotesListRequest
-*/
-func (a *IpamAPIService) IpamVrfDeviceAssignmentsNotesList(ctx context.Context, id string) ApiIpamVrfDeviceAssignmentsNotesListRequest {
- return ApiIpamVrfDeviceAssignmentsNotesListRequest{
- ApiService: a,
- ctx: ctx,
- id: id,
- }
-}
-
-// Execute executes the request
-// @return PaginatedNoteList
-func (a *IpamAPIService) IpamVrfDeviceAssignmentsNotesListExecute(r ApiIpamVrfDeviceAssignmentsNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *PaginatedNoteList
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamVrfDeviceAssignmentsNotesList")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ if r.virtualMachineIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machine__isnull", r.virtualMachineIsnull, "form", "")
}
-
- localVarPath := localBasePath + "/ipam/vrf-device-assignments/{id}/notes/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ if r.virtualMachineN != nil {
+ t := *r.virtualMachineN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machine__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machine__n", t, "form", "multi")
+ }
}
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ if r.vrf != nil {
+ t := *r.vrf
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "vrf", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "vrf", t, "form", "multi")
+ }
}
- if r.offset != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+ if r.vrfN != nil {
+ t := *r.vrfN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "vrf__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "vrf__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -30373,10 +29005,10 @@ func (r ApiIpamVrfDeviceAssignmentsPartialUpdateRequest) Execute() (*VRFDeviceAs
/*
IpamVrfDeviceAssignmentsPartialUpdate Method for IpamVrfDeviceAssignmentsPartialUpdate
-Partial update a vrf device assignment object.
+Partial update a VRF-device assignment object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this vrf device assignment.
+ @param id A UUID string identifying this VRF-device assignment.
@return ApiIpamVrfDeviceAssignmentsPartialUpdateRequest
*/
func (a *IpamAPIService) IpamVrfDeviceAssignmentsPartialUpdate(ctx context.Context, id string) ApiIpamVrfDeviceAssignmentsPartialUpdateRequest {
@@ -30488,6 +29120,7 @@ type ApiIpamVrfDeviceAssignmentsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamVrfDeviceAssignmentsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVrfDeviceAssignmentsRetrieveRequest {
@@ -30501,6 +29134,12 @@ func (r ApiIpamVrfDeviceAssignmentsRetrieveRequest) Depth(depth int32) ApiIpamVr
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamVrfDeviceAssignmentsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiIpamVrfDeviceAssignmentsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamVrfDeviceAssignmentsRetrieveRequest) Execute() (*VRFDeviceAssignment, *http.Response, error) {
return r.ApiService.IpamVrfDeviceAssignmentsRetrieveExecute(r)
}
@@ -30508,10 +29147,10 @@ func (r ApiIpamVrfDeviceAssignmentsRetrieveRequest) Execute() (*VRFDeviceAssignm
/*
IpamVrfDeviceAssignmentsRetrieve Method for IpamVrfDeviceAssignmentsRetrieve
-Retrieve a vrf device assignment object.
+Retrieve a VRF-device assignment object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this vrf device assignment.
+ @param id A UUID string identifying this VRF-device assignment.
@return ApiIpamVrfDeviceAssignmentsRetrieveRequest
*/
func (a *IpamAPIService) IpamVrfDeviceAssignmentsRetrieve(ctx context.Context, id string) ApiIpamVrfDeviceAssignmentsRetrieveRequest {
@@ -30550,8 +29189,16 @@ func (a *IpamAPIService) IpamVrfDeviceAssignmentsRetrieveExecute(r ApiIpamVrfDev
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -30646,10 +29293,10 @@ func (r ApiIpamVrfDeviceAssignmentsUpdateRequest) Execute() (*VRFDeviceAssignmen
/*
IpamVrfDeviceAssignmentsUpdate Method for IpamVrfDeviceAssignmentsUpdate
-Update a vrf device assignment object.
+Update a VRF-device assignment object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this vrf device assignment.
+ @param id A UUID string identifying this VRF-device assignment.
@return ApiIpamVrfDeviceAssignmentsUpdateRequest
*/
func (a *IpamAPIService) IpamVrfDeviceAssignmentsUpdate(ctx context.Context, id string) ApiIpamVrfDeviceAssignmentsUpdateRequest {
@@ -30782,7 +29429,7 @@ func (r ApiIpamVrfPrefixAssignmentsBulkDestroyRequest) Execute() (*http.Response
/*
IpamVrfPrefixAssignmentsBulkDestroy Method for IpamVrfPrefixAssignmentsBulkDestroy
-Destroy a list of vrf prefix assignment objects.
+Destroy a list of VRF-prefix assignment objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiIpamVrfPrefixAssignmentsBulkDestroyRequest
@@ -30904,7 +29551,7 @@ func (r ApiIpamVrfPrefixAssignmentsBulkPartialUpdateRequest) Execute() ([]VRFPre
/*
IpamVrfPrefixAssignmentsBulkPartialUpdate Method for IpamVrfPrefixAssignmentsBulkPartialUpdate
-Partial update a list of vrf prefix assignment objects.
+Partial update a list of VRF-prefix assignment objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiIpamVrfPrefixAssignmentsBulkPartialUpdateRequest
@@ -31037,7 +29684,7 @@ func (r ApiIpamVrfPrefixAssignmentsBulkUpdateRequest) Execute() ([]VRFPrefixAssi
/*
IpamVrfPrefixAssignmentsBulkUpdate Method for IpamVrfPrefixAssignmentsBulkUpdate
-Update a list of vrf prefix assignment objects.
+Update a list of VRF-prefix assignment objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiIpamVrfPrefixAssignmentsBulkUpdateRequest
@@ -31170,7 +29817,7 @@ func (r ApiIpamVrfPrefixAssignmentsCreateRequest) Execute() (*VRFPrefixAssignmen
/*
IpamVrfPrefixAssignmentsCreate Method for IpamVrfPrefixAssignmentsCreate
-Create one or more vrf prefix assignment objects.
+Create one or more VRF-prefix assignment objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiIpamVrfPrefixAssignmentsCreateRequest
@@ -31298,10 +29945,10 @@ func (r ApiIpamVrfPrefixAssignmentsDestroyRequest) Execute() (*http.Response, er
/*
IpamVrfPrefixAssignmentsDestroy Method for IpamVrfPrefixAssignmentsDestroy
-Destroy a vrf prefix assignment object.
+Destroy a VRF-prefix assignment object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this vrf prefix assignment.
+ @param id A UUID string identifying this VRF-prefix assignment.
@return ApiIpamVrfPrefixAssignmentsDestroyRequest
*/
func (a *IpamAPIService) IpamVrfPrefixAssignmentsDestroy(ctx context.Context, id string) ApiIpamVrfPrefixAssignmentsDestroyRequest {
@@ -31400,28 +30047,18 @@ type ApiIpamVrfPrefixAssignmentsListRequest struct {
created *[]time.Time
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
limit *int32
offset *int32
prefix *[]string
prefixN *[]string
+ q *string
sort *string
vrf *[]string
vrfN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamVrfPrefixAssignmentsListRequest) Created(created []time.Time) ApiIpamVrfPrefixAssignmentsListRequest {
@@ -31440,71 +30077,11 @@ func (r ApiIpamVrfPrefixAssignmentsListRequest) Id(id []string) ApiIpamVrfPrefix
return r
}
-func (r ApiIpamVrfPrefixAssignmentsListRequest) IdIc(idIc []string) ApiIpamVrfPrefixAssignmentsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiIpamVrfPrefixAssignmentsListRequest) IdIe(idIe []string) ApiIpamVrfPrefixAssignmentsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiIpamVrfPrefixAssignmentsListRequest) IdIew(idIew []string) ApiIpamVrfPrefixAssignmentsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiIpamVrfPrefixAssignmentsListRequest) IdIre(idIre []string) ApiIpamVrfPrefixAssignmentsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiIpamVrfPrefixAssignmentsListRequest) IdIsw(idIsw []string) ApiIpamVrfPrefixAssignmentsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiIpamVrfPrefixAssignmentsListRequest) IdN(idN []string) ApiIpamVrfPrefixAssignmentsListRequest {
r.idN = &idN
return r
}
-func (r ApiIpamVrfPrefixAssignmentsListRequest) IdNic(idNic []string) ApiIpamVrfPrefixAssignmentsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiIpamVrfPrefixAssignmentsListRequest) IdNie(idNie []string) ApiIpamVrfPrefixAssignmentsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiIpamVrfPrefixAssignmentsListRequest) IdNiew(idNiew []string) ApiIpamVrfPrefixAssignmentsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiIpamVrfPrefixAssignmentsListRequest) IdNire(idNire []string) ApiIpamVrfPrefixAssignmentsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiIpamVrfPrefixAssignmentsListRequest) IdNisw(idNisw []string) ApiIpamVrfPrefixAssignmentsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiIpamVrfPrefixAssignmentsListRequest) IdNre(idNre []string) ApiIpamVrfPrefixAssignmentsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiIpamVrfPrefixAssignmentsListRequest) IdRe(idRe []string) ApiIpamVrfPrefixAssignmentsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiIpamVrfPrefixAssignmentsListRequest) LastUpdated(lastUpdated []time.Time) ApiIpamVrfPrefixAssignmentsListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -31532,6 +30109,12 @@ func (r ApiIpamVrfPrefixAssignmentsListRequest) PrefixN(prefixN []string) ApiIpa
return r
}
+// Search
+func (r ApiIpamVrfPrefixAssignmentsListRequest) Q(q string) ApiIpamVrfPrefixAssignmentsListRequest {
+ r.q = &q
+ return r
+}
+
// Which field to use when ordering the results.
func (r ApiIpamVrfPrefixAssignmentsListRequest) Sort(sort string) ApiIpamVrfPrefixAssignmentsListRequest {
r.sort = &sort
@@ -31554,6 +30137,12 @@ func (r ApiIpamVrfPrefixAssignmentsListRequest) Depth(depth int32) ApiIpamVrfPre
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamVrfPrefixAssignmentsListRequest) ExcludeM2m(excludeM2m bool) ApiIpamVrfPrefixAssignmentsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamVrfPrefixAssignmentsListRequest) Execute() (*PaginatedVRFPrefixAssignmentList, *http.Response, error) {
return r.ApiService.IpamVrfPrefixAssignmentsListExecute(r)
}
@@ -31561,7 +30150,7 @@ func (r ApiIpamVrfPrefixAssignmentsListRequest) Execute() (*PaginatedVRFPrefixAs
/*
IpamVrfPrefixAssignmentsList Method for IpamVrfPrefixAssignmentsList
-Retrieve a list of vrf prefix assignment objects.
+Retrieve a list of VRF-prefix assignment objects.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiIpamVrfPrefixAssignmentsListRequest
@@ -31619,61 +30208,6 @@ func (a *IpamAPIService) IpamVrfPrefixAssignmentsListExecute(r ApiIpamVrfPrefixA
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -31685,83 +30219,6 @@ func (a *IpamAPIService) IpamVrfPrefixAssignmentsListExecute(r ApiIpamVrfPrefixA
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -31801,6 +30258,9 @@ func (a *IpamAPIService) IpamVrfPrefixAssignmentsListExecute(r ApiIpamVrfPrefixA
parameterAddToHeaderOrQuery(localVarQueryParams, "prefix__n", t, "form", "multi")
}
}
+ if r.q != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
+ }
if r.sort != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
}
@@ -31829,304 +30289,16 @@ func (a *IpamAPIService) IpamVrfPrefixAssignmentsListExecute(r ApiIpamVrfPrefixA
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
}
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiIpamVrfPrefixAssignmentsNotesCreateRequest struct {
- ctx context.Context
- ApiService *IpamAPIService
- id string
- noteInputRequest *NoteInputRequest
- format *CircuitsCircuitTerminationsListFormatParameter
-}
-
-func (r ApiIpamVrfPrefixAssignmentsNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiIpamVrfPrefixAssignmentsNotesCreateRequest {
- r.noteInputRequest = ¬eInputRequest
- return r
-}
-
-func (r ApiIpamVrfPrefixAssignmentsNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVrfPrefixAssignmentsNotesCreateRequest {
- r.format = &format
- return r
-}
-
-func (r ApiIpamVrfPrefixAssignmentsNotesCreateRequest) Execute() (*Note, *http.Response, error) {
- return r.ApiService.IpamVrfPrefixAssignmentsNotesCreateExecute(r)
-}
-
-/*
-IpamVrfPrefixAssignmentsNotesCreate Method for IpamVrfPrefixAssignmentsNotesCreate
-
-API methods for returning or creating notes on an object.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this vrf prefix assignment.
- @return ApiIpamVrfPrefixAssignmentsNotesCreateRequest
-*/
-func (a *IpamAPIService) IpamVrfPrefixAssignmentsNotesCreate(ctx context.Context, id string) ApiIpamVrfPrefixAssignmentsNotesCreateRequest {
- return ApiIpamVrfPrefixAssignmentsNotesCreateRequest{
- ApiService: a,
- ctx: ctx,
- id: id,
- }
-}
-
-// Execute executes the request
-// @return Note
-func (a *IpamAPIService) IpamVrfPrefixAssignmentsNotesCreateExecute(r ApiIpamVrfPrefixAssignmentsNotesCreateRequest) (*Note, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *Note
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamVrfPrefixAssignmentsNotesCreate")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/ipam/vrf-prefix-assignments/{id}/notes/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.noteInputRequest == nil {
- return localVarReturnValue, nil, reportError("noteInputRequest is required and must be specified")
- }
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json", "text/csv"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.noteInputRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["tokenAuth"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["Authorization"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiIpamVrfPrefixAssignmentsNotesListRequest struct {
- ctx context.Context
- ApiService *IpamAPIService
- id string
- format *CircuitsCircuitTerminationsListFormatParameter
- limit *int32
- offset *int32
- depth *int32
-}
-
-func (r ApiIpamVrfPrefixAssignmentsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVrfPrefixAssignmentsNotesListRequest {
- r.format = &format
- return r
-}
-
-// Number of results to return per page.
-func (r ApiIpamVrfPrefixAssignmentsNotesListRequest) Limit(limit int32) ApiIpamVrfPrefixAssignmentsNotesListRequest {
- r.limit = &limit
- return r
-}
-
-// The initial index from which to return the results.
-func (r ApiIpamVrfPrefixAssignmentsNotesListRequest) Offset(offset int32) ApiIpamVrfPrefixAssignmentsNotesListRequest {
- r.offset = &offset
- return r
-}
-
-// Serializer Depth
-func (r ApiIpamVrfPrefixAssignmentsNotesListRequest) Depth(depth int32) ApiIpamVrfPrefixAssignmentsNotesListRequest {
- r.depth = &depth
- return r
-}
-
-func (r ApiIpamVrfPrefixAssignmentsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
- return r.ApiService.IpamVrfPrefixAssignmentsNotesListExecute(r)
-}
-
-/*
-IpamVrfPrefixAssignmentsNotesList Method for IpamVrfPrefixAssignmentsNotesList
-
-API methods for returning or creating notes on an object.
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this vrf prefix assignment.
- @return ApiIpamVrfPrefixAssignmentsNotesListRequest
-*/
-func (a *IpamAPIService) IpamVrfPrefixAssignmentsNotesList(ctx context.Context, id string) ApiIpamVrfPrefixAssignmentsNotesListRequest {
- return ApiIpamVrfPrefixAssignmentsNotesListRequest{
- ApiService: a,
- ctx: ctx,
- id: id,
- }
-}
-
-// Execute executes the request
-// @return PaginatedNoteList
-func (a *IpamAPIService) IpamVrfPrefixAssignmentsNotesListExecute(r ApiIpamVrfPrefixAssignmentsNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *PaginatedNoteList
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "IpamAPIService.IpamVrfPrefixAssignmentsNotesList")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/ipam/vrf-prefix-assignments/{id}/notes/"
- localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
-
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.limit != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
- }
- if r.offset != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
- }
- if r.depth != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -32221,10 +30393,10 @@ func (r ApiIpamVrfPrefixAssignmentsPartialUpdateRequest) Execute() (*VRFPrefixAs
/*
IpamVrfPrefixAssignmentsPartialUpdate Method for IpamVrfPrefixAssignmentsPartialUpdate
-Partial update a vrf prefix assignment object.
+Partial update a VRF-prefix assignment object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this vrf prefix assignment.
+ @param id A UUID string identifying this VRF-prefix assignment.
@return ApiIpamVrfPrefixAssignmentsPartialUpdateRequest
*/
func (a *IpamAPIService) IpamVrfPrefixAssignmentsPartialUpdate(ctx context.Context, id string) ApiIpamVrfPrefixAssignmentsPartialUpdateRequest {
@@ -32336,6 +30508,7 @@ type ApiIpamVrfPrefixAssignmentsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamVrfPrefixAssignmentsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVrfPrefixAssignmentsRetrieveRequest {
@@ -32349,6 +30522,12 @@ func (r ApiIpamVrfPrefixAssignmentsRetrieveRequest) Depth(depth int32) ApiIpamVr
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamVrfPrefixAssignmentsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiIpamVrfPrefixAssignmentsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamVrfPrefixAssignmentsRetrieveRequest) Execute() (*VRFPrefixAssignment, *http.Response, error) {
return r.ApiService.IpamVrfPrefixAssignmentsRetrieveExecute(r)
}
@@ -32356,10 +30535,10 @@ func (r ApiIpamVrfPrefixAssignmentsRetrieveRequest) Execute() (*VRFPrefixAssignm
/*
IpamVrfPrefixAssignmentsRetrieve Method for IpamVrfPrefixAssignmentsRetrieve
-Retrieve a vrf prefix assignment object.
+Retrieve a VRF-prefix assignment object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this vrf prefix assignment.
+ @param id A UUID string identifying this VRF-prefix assignment.
@return ApiIpamVrfPrefixAssignmentsRetrieveRequest
*/
func (a *IpamAPIService) IpamVrfPrefixAssignmentsRetrieve(ctx context.Context, id string) ApiIpamVrfPrefixAssignmentsRetrieveRequest {
@@ -32398,8 +30577,16 @@ func (a *IpamAPIService) IpamVrfPrefixAssignmentsRetrieveExecute(r ApiIpamVrfPre
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -32494,10 +30681,10 @@ func (r ApiIpamVrfPrefixAssignmentsUpdateRequest) Execute() (*VRFPrefixAssignmen
/*
IpamVrfPrefixAssignmentsUpdate Method for IpamVrfPrefixAssignmentsUpdate
-Update a vrf prefix assignment object.
+Update a VRF-prefix assignment object.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A UUID string identifying this vrf prefix assignment.
+ @param id A UUID string identifying this VRF-prefix assignment.
@return ApiIpamVrfPrefixAssignmentsUpdateRequest
*/
func (a *IpamAPIService) IpamVrfPrefixAssignmentsUpdate(ctx context.Context, id string) ApiIpamVrfPrefixAssignmentsUpdateRequest {
@@ -33247,7 +31434,7 @@ type ApiIpamVrfsListRequest struct {
ApiService *IpamAPIService
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -33255,27 +31442,29 @@ type ApiIpamVrfsListRequest struct {
createdLt *[]time.Time
createdLte *[]time.Time
createdN *[]time.Time
+ description *[]string
+ descriptionIc *[]string
+ descriptionIe *[]string
+ descriptionIew *[]string
+ descriptionIre *[]string
+ descriptionIsw *[]string
+ descriptionN *[]string
+ descriptionNic *[]string
+ descriptionNie *[]string
+ descriptionNiew *[]string
+ descriptionNire *[]string
+ descriptionNisw *[]string
+ descriptionNre *[]string
+ descriptionRe *[]string
device *[]string
deviceN *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
exportTargets *[]string
exportTargetsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
importTargets *[]string
importTargetsN *[]string
lastUpdated *[]time.Time
@@ -33324,13 +31513,13 @@ type ApiIpamVrfsListRequest struct {
sort *string
status *[]string
statusIsnull *bool
- statusN *string
+ statusN *[]string
tags *[]string
tagsIsnull *bool
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
tenant *[]string
tenantIsnull *bool
tenantN *[]string
@@ -33340,7 +31529,12 @@ type ApiIpamVrfsListRequest struct {
tenantId *[]*string
tenantIdIsnull *bool
tenantIdN *[]*string
+ virtualDeviceContexts *[]string
+ virtualDeviceContextsN *[]string
+ virtualMachines *[]string
+ virtualMachinesN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamVrfsListRequest) Contacts(contacts []string) ApiIpamVrfsListRequest {
@@ -33354,8 +31548,7 @@ func (r ApiIpamVrfsListRequest) ContactsIsnull(contactsIsnull bool) ApiIpamVrfsL
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiIpamVrfsListRequest) ContactsN(contactsN string) ApiIpamVrfsListRequest {
+func (r ApiIpamVrfsListRequest) ContactsN(contactsN []string) ApiIpamVrfsListRequest {
r.contactsN = &contactsN
return r
}
@@ -33395,110 +31588,119 @@ func (r ApiIpamVrfsListRequest) CreatedN(createdN []time.Time) ApiIpamVrfsListRe
return r
}
-func (r ApiIpamVrfsListRequest) Device(device []string) ApiIpamVrfsListRequest {
- r.device = &device
+func (r ApiIpamVrfsListRequest) Description(description []string) ApiIpamVrfsListRequest {
+ r.description = &description
return r
}
-func (r ApiIpamVrfsListRequest) DeviceN(deviceN []string) ApiIpamVrfsListRequest {
- r.deviceN = &deviceN
+func (r ApiIpamVrfsListRequest) DescriptionIc(descriptionIc []string) ApiIpamVrfsListRequest {
+ r.descriptionIc = &descriptionIc
return r
}
-func (r ApiIpamVrfsListRequest) DynamicGroups(dynamicGroups []string) ApiIpamVrfsListRequest {
- r.dynamicGroups = &dynamicGroups
+func (r ApiIpamVrfsListRequest) DescriptionIe(descriptionIe []string) ApiIpamVrfsListRequest {
+ r.descriptionIe = &descriptionIe
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiIpamVrfsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiIpamVrfsListRequest {
- r.dynamicGroupsN = &dynamicGroupsN
+func (r ApiIpamVrfsListRequest) DescriptionIew(descriptionIew []string) ApiIpamVrfsListRequest {
+ r.descriptionIew = &descriptionIew
return r
}
-func (r ApiIpamVrfsListRequest) ExportTargets(exportTargets []string) ApiIpamVrfsListRequest {
- r.exportTargets = &exportTargets
+func (r ApiIpamVrfsListRequest) DescriptionIre(descriptionIre []string) ApiIpamVrfsListRequest {
+ r.descriptionIre = &descriptionIre
return r
}
-func (r ApiIpamVrfsListRequest) ExportTargetsN(exportTargetsN []string) ApiIpamVrfsListRequest {
- r.exportTargetsN = &exportTargetsN
+func (r ApiIpamVrfsListRequest) DescriptionIsw(descriptionIsw []string) ApiIpamVrfsListRequest {
+ r.descriptionIsw = &descriptionIsw
return r
}
-func (r ApiIpamVrfsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVrfsListRequest {
- r.format = &format
+func (r ApiIpamVrfsListRequest) DescriptionN(descriptionN []string) ApiIpamVrfsListRequest {
+ r.descriptionN = &descriptionN
return r
}
-// Unique object identifier, either a UUID primary key or a composite key.
-func (r ApiIpamVrfsListRequest) Id(id []string) ApiIpamVrfsListRequest {
- r.id = &id
+func (r ApiIpamVrfsListRequest) DescriptionNic(descriptionNic []string) ApiIpamVrfsListRequest {
+ r.descriptionNic = &descriptionNic
return r
}
-func (r ApiIpamVrfsListRequest) IdIc(idIc []string) ApiIpamVrfsListRequest {
- r.idIc = &idIc
+func (r ApiIpamVrfsListRequest) DescriptionNie(descriptionNie []string) ApiIpamVrfsListRequest {
+ r.descriptionNie = &descriptionNie
return r
}
-func (r ApiIpamVrfsListRequest) IdIe(idIe []string) ApiIpamVrfsListRequest {
- r.idIe = &idIe
+func (r ApiIpamVrfsListRequest) DescriptionNiew(descriptionNiew []string) ApiIpamVrfsListRequest {
+ r.descriptionNiew = &descriptionNiew
return r
}
-func (r ApiIpamVrfsListRequest) IdIew(idIew []string) ApiIpamVrfsListRequest {
- r.idIew = &idIew
+func (r ApiIpamVrfsListRequest) DescriptionNire(descriptionNire []string) ApiIpamVrfsListRequest {
+ r.descriptionNire = &descriptionNire
return r
}
-func (r ApiIpamVrfsListRequest) IdIre(idIre []string) ApiIpamVrfsListRequest {
- r.idIre = &idIre
+func (r ApiIpamVrfsListRequest) DescriptionNisw(descriptionNisw []string) ApiIpamVrfsListRequest {
+ r.descriptionNisw = &descriptionNisw
return r
}
-func (r ApiIpamVrfsListRequest) IdIsw(idIsw []string) ApiIpamVrfsListRequest {
- r.idIsw = &idIsw
+func (r ApiIpamVrfsListRequest) DescriptionNre(descriptionNre []string) ApiIpamVrfsListRequest {
+ r.descriptionNre = &descriptionNre
return r
}
-func (r ApiIpamVrfsListRequest) IdN(idN []string) ApiIpamVrfsListRequest {
- r.idN = &idN
+func (r ApiIpamVrfsListRequest) DescriptionRe(descriptionRe []string) ApiIpamVrfsListRequest {
+ r.descriptionRe = &descriptionRe
return r
}
-func (r ApiIpamVrfsListRequest) IdNic(idNic []string) ApiIpamVrfsListRequest {
- r.idNic = &idNic
+func (r ApiIpamVrfsListRequest) Device(device []string) ApiIpamVrfsListRequest {
+ r.device = &device
return r
}
-func (r ApiIpamVrfsListRequest) IdNie(idNie []string) ApiIpamVrfsListRequest {
- r.idNie = &idNie
+func (r ApiIpamVrfsListRequest) DeviceN(deviceN []string) ApiIpamVrfsListRequest {
+ r.deviceN = &deviceN
return r
}
-func (r ApiIpamVrfsListRequest) IdNiew(idNiew []string) ApiIpamVrfsListRequest {
- r.idNiew = &idNiew
+func (r ApiIpamVrfsListRequest) DynamicGroups(dynamicGroups []string) ApiIpamVrfsListRequest {
+ r.dynamicGroups = &dynamicGroups
return r
}
-func (r ApiIpamVrfsListRequest) IdNire(idNire []string) ApiIpamVrfsListRequest {
- r.idNire = &idNire
+func (r ApiIpamVrfsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiIpamVrfsListRequest {
+ r.dynamicGroupsN = &dynamicGroupsN
return r
}
-func (r ApiIpamVrfsListRequest) IdNisw(idNisw []string) ApiIpamVrfsListRequest {
- r.idNisw = &idNisw
+func (r ApiIpamVrfsListRequest) ExportTargets(exportTargets []string) ApiIpamVrfsListRequest {
+ r.exportTargets = &exportTargets
return r
}
-func (r ApiIpamVrfsListRequest) IdNre(idNre []string) ApiIpamVrfsListRequest {
- r.idNre = &idNre
+func (r ApiIpamVrfsListRequest) ExportTargetsN(exportTargetsN []string) ApiIpamVrfsListRequest {
+ r.exportTargetsN = &exportTargetsN
return r
}
-func (r ApiIpamVrfsListRequest) IdRe(idRe []string) ApiIpamVrfsListRequest {
- r.idRe = &idRe
+func (r ApiIpamVrfsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVrfsListRequest {
+ r.format = &format
+ return r
+}
+
+// Unique object identifier, either a UUID primary key or a composite key.
+func (r ApiIpamVrfsListRequest) Id(id []string) ApiIpamVrfsListRequest {
+ r.id = &id
+ return r
+}
+
+func (r ApiIpamVrfsListRequest) IdN(idN []string) ApiIpamVrfsListRequest {
+ r.idN = &idN
return r
}
@@ -33747,8 +31949,7 @@ func (r ApiIpamVrfsListRequest) StatusIsnull(statusIsnull bool) ApiIpamVrfsListR
return r
}
-// Exclude Status (name or ID)
-func (r ApiIpamVrfsListRequest) StatusN(statusN string) ApiIpamVrfsListRequest {
+func (r ApiIpamVrfsListRequest) StatusN(statusN []string) ApiIpamVrfsListRequest {
r.statusN = &statusN
return r
}
@@ -33779,8 +31980,7 @@ func (r ApiIpamVrfsListRequest) TeamsIsnull(teamsIsnull bool) ApiIpamVrfsListReq
return r
}
-// Exclude Teams (name or ID)
-func (r ApiIpamVrfsListRequest) TeamsN(teamsN string) ApiIpamVrfsListRequest {
+func (r ApiIpamVrfsListRequest) TeamsN(teamsN []string) ApiIpamVrfsListRequest {
r.teamsN = &teamsN
return r
}
@@ -33835,12 +32035,38 @@ func (r ApiIpamVrfsListRequest) TenantIdN(tenantIdN []*string) ApiIpamVrfsListRe
return r
}
+func (r ApiIpamVrfsListRequest) VirtualDeviceContexts(virtualDeviceContexts []string) ApiIpamVrfsListRequest {
+ r.virtualDeviceContexts = &virtualDeviceContexts
+ return r
+}
+
+func (r ApiIpamVrfsListRequest) VirtualDeviceContextsN(virtualDeviceContextsN []string) ApiIpamVrfsListRequest {
+ r.virtualDeviceContextsN = &virtualDeviceContextsN
+ return r
+}
+
+func (r ApiIpamVrfsListRequest) VirtualMachines(virtualMachines []string) ApiIpamVrfsListRequest {
+ r.virtualMachines = &virtualMachines
+ return r
+}
+
+func (r ApiIpamVrfsListRequest) VirtualMachinesN(virtualMachinesN []string) ApiIpamVrfsListRequest {
+ r.virtualMachinesN = &virtualMachinesN
+ return r
+}
+
// Serializer Depth
func (r ApiIpamVrfsListRequest) Depth(depth int32) ApiIpamVrfsListRequest {
r.depth = &depth
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamVrfsListRequest) ExcludeM2m(excludeM2m bool) ApiIpamVrfsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamVrfsListRequest) Execute() (*PaginatedVRFList, *http.Response, error) {
return r.ApiService.IpamVrfsListExecute(r)
}
@@ -33896,7 +32122,15 @@ func (a *IpamAPIService) IpamVrfsListExecute(r ApiIpamVrfsListRequest) (*Paginat
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -33967,219 +32201,249 @@ func (a *IpamAPIService) IpamVrfsListExecute(r ApiIpamVrfsListRequest) (*Paginat
parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "form", "multi")
}
}
- if r.device != nil {
- t := *r.device
+ if r.description != nil {
+ t := *r.description
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description", t, "form", "multi")
}
}
- if r.deviceN != nil {
- t := *r.deviceN
+ if r.descriptionIc != nil {
+ t := *r.descriptionIc
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "device__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", t, "form", "multi")
}
}
- if r.dynamicGroups != nil {
- t := *r.dynamicGroups
+ if r.descriptionIe != nil {
+ t := *r.descriptionIe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", t, "form", "multi")
}
}
- if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ if r.descriptionIew != nil {
+ t := *r.descriptionIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", t, "form", "multi")
+ }
}
- if r.exportTargets != nil {
- t := *r.exportTargets
+ if r.descriptionIre != nil {
+ t := *r.descriptionIre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "export_targets", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "export_targets", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", t, "form", "multi")
}
}
- if r.exportTargetsN != nil {
- t := *r.exportTargetsN
+ if r.descriptionIsw != nil {
+ t := *r.descriptionIsw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "export_targets__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "export_targets__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", t, "form", "multi")
}
}
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ if r.descriptionN != nil {
+ t := *r.descriptionN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", t, "form", "multi")
+ }
}
- if r.id != nil {
- t := *r.id
+ if r.descriptionNic != nil {
+ t := *r.descriptionNic
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
+ if r.descriptionNie != nil {
+ t := *r.descriptionNie
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", t, "form", "multi")
}
}
- if r.idIe != nil {
- t := *r.idIe
+ if r.descriptionNiew != nil {
+ t := *r.descriptionNiew
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", t, "form", "multi")
}
}
- if r.idIew != nil {
- t := *r.idIew
+ if r.descriptionNire != nil {
+ t := *r.descriptionNire
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", t, "form", "multi")
}
}
- if r.idIre != nil {
- t := *r.idIre
+ if r.descriptionNisw != nil {
+ t := *r.descriptionNisw
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", t, "form", "multi")
}
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.descriptionNre != nil {
+ t := *r.descriptionNre
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", t, "form", "multi")
}
}
- if r.idN != nil {
- t := *r.idN
+ if r.descriptionRe != nil {
+ t := *r.descriptionRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
+ if r.device != nil {
+ t := *r.device
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device", t, "form", "multi")
}
}
- if r.idNie != nil {
- t := *r.idNie
+ if r.deviceN != nil {
+ t := *r.deviceN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "device__n", t, "form", "multi")
}
}
- if r.idNiew != nil {
- t := *r.idNiew
+ if r.dynamicGroups != nil {
+ t := *r.dynamicGroups
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
}
}
- if r.idNire != nil {
- t := *r.idNire
+ if r.dynamicGroupsN != nil {
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idNisw != nil {
- t := *r.idNisw
+ if r.exportTargets != nil {
+ t := *r.exportTargets
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "export_targets", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "export_targets", t, "form", "multi")
}
}
- if r.idNre != nil {
- t := *r.idNre
+ if r.exportTargetsN != nil {
+ t := *r.exportTargetsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "export_targets__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "export_targets__n", t, "form", "multi")
}
}
- if r.idRe != nil {
- t := *r.idRe
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ }
+ }
+ if r.idN != nil {
+ t := *r.idN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
if r.importTargets != nil {
@@ -34655,7 +32919,15 @@ func (a *IpamAPIService) IpamVrfsListExecute(r ApiIpamVrfsListRequest) (*Paginat
parameterAddToHeaderOrQuery(localVarQueryParams, "status__isnull", r.statusIsnull, "form", "")
}
if r.statusN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", r.statusN, "form", "")
+ t := *r.statusN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "form", "multi")
+ }
}
if r.tags != nil {
t := *r.tags
@@ -34697,7 +32969,15 @@ func (a *IpamAPIService) IpamVrfsListExecute(r ApiIpamVrfsListRequest) (*Paginat
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.tenant != nil {
t := *r.tenant
@@ -34774,11 +33054,63 @@ func (a *IpamAPIService) IpamVrfsListExecute(r ApiIpamVrfsListRequest) (*Paginat
parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__n", t, "form", "multi")
}
}
+ if r.virtualDeviceContexts != nil {
+ t := *r.virtualDeviceContexts
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_device_contexts", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_device_contexts", t, "form", "multi")
+ }
+ }
+ if r.virtualDeviceContextsN != nil {
+ t := *r.virtualDeviceContextsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_device_contexts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_device_contexts__n", t, "form", "multi")
+ }
+ }
+ if r.virtualMachines != nil {
+ t := *r.virtualMachines
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machines", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machines", t, "form", "multi")
+ }
+ }
+ if r.virtualMachinesN != nil {
+ t := *r.virtualMachinesN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machines__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machines__n", t, "form", "multi")
+ }
+ }
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -34993,6 +33325,7 @@ type ApiIpamVrfsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamVrfsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVrfsNotesListRequest {
@@ -35018,6 +33351,12 @@ func (r ApiIpamVrfsNotesListRequest) Depth(depth int32) ApiIpamVrfsNotesListRequ
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamVrfsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiIpamVrfsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamVrfsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.IpamVrfsNotesListExecute(r)
}
@@ -35073,8 +33412,16 @@ func (a *IpamAPIService) IpamVrfsNotesListExecute(r ApiIpamVrfsNotesListRequest)
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -35284,6 +33631,7 @@ type ApiIpamVrfsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiIpamVrfsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiIpamVrfsRetrieveRequest {
@@ -35297,6 +33645,12 @@ func (r ApiIpamVrfsRetrieveRequest) Depth(depth int32) ApiIpamVrfsRetrieveReques
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiIpamVrfsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiIpamVrfsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiIpamVrfsRetrieveRequest) Execute() (*VRF, *http.Response, error) {
return r.ApiService.IpamVrfsRetrieveExecute(r)
}
@@ -35346,8 +33700,16 @@ func (a *IpamAPIService) IpamVrfsRetrieveExecute(r ApiIpamVrfsRetrieveRequest) (
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
diff --git a/api_status.go b/api_status.go
index 6a65669d..049ea001 100644
--- a/api_status.go
+++ b/api_status.go
@@ -3,7 +3,7 @@ API Documentation
Source of truth and network automation platform
-API version: 2.3.4 (2.3)
+API version: 2.4.21 (2.4)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -27,6 +27,7 @@ type ApiStatusRetrieveRequest struct {
ApiService *StatusAPIService
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiStatusRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiStatusRetrieveRequest {
@@ -40,6 +41,12 @@ func (r ApiStatusRetrieveRequest) Depth(depth int32) ApiStatusRetrieveRequest {
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiStatusRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiStatusRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiStatusRetrieveRequest) Execute() (*StatusRetrieve200Response, *http.Response, error) {
return r.ApiService.StatusRetrieveExecute(r)
}
@@ -86,8 +93,16 @@ func (a *StatusAPIService) StatusRetrieveExecute(r ApiStatusRetrieveRequest) (*S
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
diff --git a/api_swagger.go b/api_swagger.go
index 3a2e3f6a..b32ae600 100644
--- a/api_swagger.go
+++ b/api_swagger.go
@@ -3,7 +3,7 @@ API Documentation
Source of truth and network automation platform
-API version: 2.3.4 (2.3)
+API version: 2.4.21 (2.4)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -28,6 +28,7 @@ type ApiSwaggerRetrieveRequest struct {
format *SwaggerRetrieveFormatParameter
lang *SwaggerRetrieveLangParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiSwaggerRetrieveRequest) Format(format SwaggerRetrieveFormatParameter) ApiSwaggerRetrieveRequest {
@@ -46,6 +47,12 @@ func (r ApiSwaggerRetrieveRequest) Depth(depth int32) ApiSwaggerRetrieveRequest
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiSwaggerRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiSwaggerRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiSwaggerRetrieveRequest) Execute() (map[string]interface{}, *http.Response, error) {
return r.ApiService.SwaggerRetrieveExecute(r)
}
@@ -98,8 +105,16 @@ func (a *SwaggerAPIService) SwaggerRetrieveExecute(r ApiSwaggerRetrieveRequest)
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
diff --git a/api_swagger_json.go b/api_swagger_json.go
index 98a6ec9d..c683ffb4 100644
--- a/api_swagger_json.go
+++ b/api_swagger_json.go
@@ -3,7 +3,7 @@ API Documentation
Source of truth and network automation platform
-API version: 2.3.4 (2.3)
+API version: 2.4.21 (2.4)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -27,6 +27,7 @@ type ApiSwaggerJsonRetrieveRequest struct {
ApiService *SwaggerJsonAPIService
lang *SwaggerRetrieveLangParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiSwaggerJsonRetrieveRequest) Lang(lang SwaggerRetrieveLangParameter) ApiSwaggerJsonRetrieveRequest {
@@ -40,6 +41,12 @@ func (r ApiSwaggerJsonRetrieveRequest) Depth(depth int32) ApiSwaggerJsonRetrieve
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiSwaggerJsonRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiSwaggerJsonRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiSwaggerJsonRetrieveRequest) Execute() (map[string]interface{}, *http.Response, error) {
return r.ApiService.SwaggerJsonRetrieveExecute(r)
}
@@ -89,8 +96,16 @@ func (a *SwaggerJsonAPIService) SwaggerJsonRetrieveExecute(r ApiSwaggerJsonRetri
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
diff --git a/api_swagger_yaml.go b/api_swagger_yaml.go
index c4ca4568..6da0e70f 100644
--- a/api_swagger_yaml.go
+++ b/api_swagger_yaml.go
@@ -3,7 +3,7 @@ API Documentation
Source of truth and network automation platform
-API version: 2.3.4 (2.3)
+API version: 2.4.21 (2.4)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -27,6 +27,7 @@ type ApiSwaggerYamlRetrieveRequest struct {
ApiService *SwaggerYamlAPIService
lang *SwaggerRetrieveLangParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiSwaggerYamlRetrieveRequest) Lang(lang SwaggerRetrieveLangParameter) ApiSwaggerYamlRetrieveRequest {
@@ -40,6 +41,12 @@ func (r ApiSwaggerYamlRetrieveRequest) Depth(depth int32) ApiSwaggerYamlRetrieve
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiSwaggerYamlRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiSwaggerYamlRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiSwaggerYamlRetrieveRequest) Execute() (map[string]interface{}, *http.Response, error) {
return r.ApiService.SwaggerYamlRetrieveExecute(r)
}
@@ -89,8 +96,16 @@ func (a *SwaggerYamlAPIService) SwaggerYamlRetrieveExecute(r ApiSwaggerYamlRetri
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
diff --git a/api_tenancy.go b/api_tenancy.go
index 823e033e..d05c0331 100644
--- a/api_tenancy.go
+++ b/api_tenancy.go
@@ -3,7 +3,7 @@ API Documentation
Source of truth and network automation platform
-API version: 2.3.4 (2.3)
+API version: 2.4.21 (2.4)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -669,7 +669,7 @@ type ApiTenancyTenantGroupsListRequest struct {
childrenN *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -692,24 +692,12 @@ type ApiTenancyTenantGroupsListRequest struct {
descriptionNre *[]string
descriptionRe *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
hasChildren *bool
hasTenants *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -740,11 +728,12 @@ type ApiTenancyTenantGroupsListRequest struct {
sort *string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
tenants *[]string
tenantsIsnull *bool
tenantsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiTenancyTenantGroupsListRequest) Children(children []string) ApiTenancyTenantGroupsListRequest {
@@ -774,8 +763,7 @@ func (r ApiTenancyTenantGroupsListRequest) ContactsIsnull(contactsIsnull bool) A
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiTenancyTenantGroupsListRequest) ContactsN(contactsN string) ApiTenancyTenantGroupsListRequest {
+func (r ApiTenancyTenantGroupsListRequest) ContactsN(contactsN []string) ApiTenancyTenantGroupsListRequest {
r.contactsN = &contactsN
return r
}
@@ -890,8 +878,7 @@ func (r ApiTenancyTenantGroupsListRequest) DynamicGroups(dynamicGroups []string)
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiTenancyTenantGroupsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiTenancyTenantGroupsListRequest {
+func (r ApiTenancyTenantGroupsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiTenancyTenantGroupsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -919,71 +906,11 @@ func (r ApiTenancyTenantGroupsListRequest) Id(id []string) ApiTenancyTenantGroup
return r
}
-func (r ApiTenancyTenantGroupsListRequest) IdIc(idIc []string) ApiTenancyTenantGroupsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiTenancyTenantGroupsListRequest) IdIe(idIe []string) ApiTenancyTenantGroupsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiTenancyTenantGroupsListRequest) IdIew(idIew []string) ApiTenancyTenantGroupsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiTenancyTenantGroupsListRequest) IdIre(idIre []string) ApiTenancyTenantGroupsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiTenancyTenantGroupsListRequest) IdIsw(idIsw []string) ApiTenancyTenantGroupsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiTenancyTenantGroupsListRequest) IdN(idN []string) ApiTenancyTenantGroupsListRequest {
r.idN = &idN
return r
}
-func (r ApiTenancyTenantGroupsListRequest) IdNic(idNic []string) ApiTenancyTenantGroupsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiTenancyTenantGroupsListRequest) IdNie(idNie []string) ApiTenancyTenantGroupsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiTenancyTenantGroupsListRequest) IdNiew(idNiew []string) ApiTenancyTenantGroupsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiTenancyTenantGroupsListRequest) IdNire(idNire []string) ApiTenancyTenantGroupsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiTenancyTenantGroupsListRequest) IdNisw(idNisw []string) ApiTenancyTenantGroupsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiTenancyTenantGroupsListRequest) IdNre(idNre []string) ApiTenancyTenantGroupsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiTenancyTenantGroupsListRequest) IdRe(idRe []string) ApiTenancyTenantGroupsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiTenancyTenantGroupsListRequest) LastUpdated(lastUpdated []time.Time) ApiTenancyTenantGroupsListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -1140,8 +1067,7 @@ func (r ApiTenancyTenantGroupsListRequest) TeamsIsnull(teamsIsnull bool) ApiTena
return r
}
-// Exclude Teams (name or ID)
-func (r ApiTenancyTenantGroupsListRequest) TeamsN(teamsN string) ApiTenancyTenantGroupsListRequest {
+func (r ApiTenancyTenantGroupsListRequest) TeamsN(teamsN []string) ApiTenancyTenantGroupsListRequest {
r.teamsN = &teamsN
return r
}
@@ -1168,6 +1094,12 @@ func (r ApiTenancyTenantGroupsListRequest) Depth(depth int32) ApiTenancyTenantGr
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiTenancyTenantGroupsListRequest) ExcludeM2m(excludeM2m bool) ApiTenancyTenantGroupsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiTenancyTenantGroupsListRequest) Execute() (*PaginatedTenantGroupList, *http.Response, error) {
return r.ApiService.TenancyTenantGroupsListExecute(r)
}
@@ -1248,7 +1180,15 @@ func (a *TenancyAPIService) TenancyTenantGroupsListExecute(r ApiTenancyTenantGro
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -1485,7 +1425,15 @@ func (a *TenancyAPIService) TenancyTenantGroupsListExecute(r ApiTenancyTenantGro
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -1507,61 +1455,6 @@ func (a *TenancyAPIService) TenancyTenantGroupsListExecute(r ApiTenancyTenantGro
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -1573,83 +1466,6 @@ func (a *TenancyAPIService) TenancyTenantGroupsListExecute(r ApiTenancyTenantGro
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -1925,7 +1741,15 @@ func (a *TenancyAPIService) TenancyTenantGroupsListExecute(r ApiTenancyTenantGro
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.tenants != nil {
t := *r.tenants
@@ -1955,8 +1779,16 @@ func (a *TenancyAPIService) TenancyTenantGroupsListExecute(r ApiTenancyTenantGro
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -2171,6 +2003,7 @@ type ApiTenancyTenantGroupsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiTenancyTenantGroupsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiTenancyTenantGroupsNotesListRequest {
@@ -2196,6 +2029,12 @@ func (r ApiTenancyTenantGroupsNotesListRequest) Depth(depth int32) ApiTenancyTen
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiTenancyTenantGroupsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiTenancyTenantGroupsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiTenancyTenantGroupsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.TenancyTenantGroupsNotesListExecute(r)
}
@@ -2251,8 +2090,16 @@ func (a *TenancyAPIService) TenancyTenantGroupsNotesListExecute(r ApiTenancyTena
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -2462,6 +2309,7 @@ type ApiTenancyTenantGroupsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiTenancyTenantGroupsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiTenancyTenantGroupsRetrieveRequest {
@@ -2475,6 +2323,12 @@ func (r ApiTenancyTenantGroupsRetrieveRequest) Depth(depth int32) ApiTenancyTena
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiTenancyTenantGroupsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiTenancyTenantGroupsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiTenancyTenantGroupsRetrieveRequest) Execute() (*TenantGroup, *http.Response, error) {
return r.ApiService.TenancyTenantGroupsRetrieveExecute(r)
}
@@ -2524,8 +2378,16 @@ func (a *TenancyAPIService) TenancyTenantGroupsRetrieveExecute(r ApiTenancyTenan
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -3393,7 +3255,7 @@ type ApiTenancyTenantsListRequest struct {
commentsRe *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -3419,7 +3281,7 @@ type ApiTenancyTenantsListRequest struct {
devicesIsnull *bool
devicesN *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
hasCircuits *bool
hasClusters *bool
@@ -3434,19 +3296,7 @@ type ApiTenancyTenantsListRequest struct {
hasVlans *bool
hasVrfs *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
ipAddresses *[]string
ipAddressesIsnull *bool
ipAddressesN *[]string
@@ -3495,7 +3345,7 @@ type ApiTenancyTenantsListRequest struct {
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
tenantGroup *[]string
tenantGroupIsnull *bool
tenantGroupN *[]string
@@ -3509,6 +3359,7 @@ type ApiTenancyTenantsListRequest struct {
vrfsIsnull *bool
vrfsN *[]string
depth *int32
+ excludeM2m *bool
}
// Circuits (ID)
@@ -3626,8 +3477,7 @@ func (r ApiTenancyTenantsListRequest) ContactsIsnull(contactsIsnull bool) ApiTen
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiTenancyTenantsListRequest) ContactsN(contactsN string) ApiTenancyTenantsListRequest {
+func (r ApiTenancyTenantsListRequest) ContactsN(contactsN []string) ApiTenancyTenantsListRequest {
r.contactsN = &contactsN
return r
}
@@ -3758,8 +3608,7 @@ func (r ApiTenancyTenantsListRequest) DynamicGroups(dynamicGroups []string) ApiT
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiTenancyTenantsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiTenancyTenantsListRequest {
+func (r ApiTenancyTenantsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiTenancyTenantsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -3847,71 +3696,11 @@ func (r ApiTenancyTenantsListRequest) Id(id []string) ApiTenancyTenantsListReque
return r
}
-func (r ApiTenancyTenantsListRequest) IdIc(idIc []string) ApiTenancyTenantsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiTenancyTenantsListRequest) IdIe(idIe []string) ApiTenancyTenantsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiTenancyTenantsListRequest) IdIew(idIew []string) ApiTenancyTenantsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiTenancyTenantsListRequest) IdIre(idIre []string) ApiTenancyTenantsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiTenancyTenantsListRequest) IdIsw(idIsw []string) ApiTenancyTenantsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiTenancyTenantsListRequest) IdN(idN []string) ApiTenancyTenantsListRequest {
r.idN = &idN
return r
}
-func (r ApiTenancyTenantsListRequest) IdNic(idNic []string) ApiTenancyTenantsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiTenancyTenantsListRequest) IdNie(idNie []string) ApiTenancyTenantsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiTenancyTenantsListRequest) IdNiew(idNiew []string) ApiTenancyTenantsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiTenancyTenantsListRequest) IdNire(idNire []string) ApiTenancyTenantsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiTenancyTenantsListRequest) IdNisw(idNisw []string) ApiTenancyTenantsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiTenancyTenantsListRequest) IdNre(idNre []string) ApiTenancyTenantsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiTenancyTenantsListRequest) IdRe(idRe []string) ApiTenancyTenantsListRequest {
- r.idRe = &idRe
- return r
-}
-
// IP addresses (ID)
func (r ApiTenancyTenantsListRequest) IpAddresses(ipAddresses []string) ApiTenancyTenantsListRequest {
r.ipAddresses = &ipAddresses
@@ -4063,19 +3852,17 @@ func (r ApiTenancyTenantsListRequest) Offset(offset int32) ApiTenancyTenantsList
return r
}
-// Prefixes (ID)
func (r ApiTenancyTenantsListRequest) Prefixes(prefixes []string) ApiTenancyTenantsListRequest {
r.prefixes = &prefixes
return r
}
-// Prefixes (ID) is null
+// Prefix (ID or prefix string) is null
func (r ApiTenancyTenantsListRequest) PrefixesIsnull(prefixesIsnull bool) ApiTenancyTenantsListRequest {
r.prefixesIsnull = &prefixesIsnull
return r
}
-// Exclude Prefixes (ID)
func (r ApiTenancyTenantsListRequest) PrefixesN(prefixesN []string) ApiTenancyTenantsListRequest {
r.prefixesN = &prefixesN
return r
@@ -4169,8 +3956,7 @@ func (r ApiTenancyTenantsListRequest) TeamsIsnull(teamsIsnull bool) ApiTenancyTe
return r
}
-// Exclude Teams (name or ID)
-func (r ApiTenancyTenantsListRequest) TeamsN(teamsN string) ApiTenancyTenantsListRequest {
+func (r ApiTenancyTenantsListRequest) TeamsN(teamsN []string) ApiTenancyTenantsListRequest {
r.teamsN = &teamsN
return r
}
@@ -4247,6 +4033,12 @@ func (r ApiTenancyTenantsListRequest) Depth(depth int32) ApiTenancyTenantsListRe
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiTenancyTenantsListRequest) ExcludeM2m(excludeM2m bool) ApiTenancyTenantsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiTenancyTenantsListRequest) Execute() (*PaginatedTenantList, *http.Response, error) {
return r.ApiService.TenancyTenantsListExecute(r)
}
@@ -4506,7 +4298,15 @@ func (a *TenancyAPIService) TenancyTenantsListExecute(r ApiTenancyTenantsListReq
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -4768,7 +4568,15 @@ func (a *TenancyAPIService) TenancyTenantsListExecute(r ApiTenancyTenantsListReq
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -4820,61 +4628,6 @@ func (a *TenancyAPIService) TenancyTenantsListExecute(r ApiTenancyTenantsListReq
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -4886,83 +4639,6 @@ func (a *TenancyAPIService) TenancyTenantsListExecute(r ApiTenancyTenantsListReq
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.ipAddresses != nil {
t := *r.ipAddresses
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -5388,7 +5064,15 @@ func (a *TenancyAPIService) TenancyTenantsListExecute(r ApiTenancyTenantsListReq
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.tenantGroup != nil {
t := *r.tenantGroup
@@ -5493,8 +5177,16 @@ func (a *TenancyAPIService) TenancyTenantsListExecute(r ApiTenancyTenantsListReq
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -5709,6 +5401,7 @@ type ApiTenancyTenantsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiTenancyTenantsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiTenancyTenantsNotesListRequest {
@@ -5734,6 +5427,12 @@ func (r ApiTenancyTenantsNotesListRequest) Depth(depth int32) ApiTenancyTenantsN
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiTenancyTenantsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiTenancyTenantsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiTenancyTenantsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.TenancyTenantsNotesListExecute(r)
}
@@ -5789,8 +5488,16 @@ func (a *TenancyAPIService) TenancyTenantsNotesListExecute(r ApiTenancyTenantsNo
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -6000,6 +5707,7 @@ type ApiTenancyTenantsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiTenancyTenantsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiTenancyTenantsRetrieveRequest {
@@ -6013,6 +5721,12 @@ func (r ApiTenancyTenantsRetrieveRequest) Depth(depth int32) ApiTenancyTenantsRe
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiTenancyTenantsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiTenancyTenantsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiTenancyTenantsRetrieveRequest) Execute() (*Tenant, *http.Response, error) {
return r.ApiService.TenancyTenantsRetrieveExecute(r)
}
@@ -6062,8 +5776,16 @@ func (a *TenancyAPIService) TenancyTenantsRetrieveExecute(r ApiTenancyTenantsRet
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
diff --git a/api_ui.go b/api_ui.go
new file mode 100644
index 00000000..f84e5e42
--- /dev/null
+++ b/api_ui.go
@@ -0,0 +1,156 @@
+/*
+API Documentation
+
+Source of truth and network automation platform
+
+API version: 2.4.21 (2.4)
+*/
+
+// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
+
+package nautobot
+
+import (
+ "bytes"
+ "context"
+ "io"
+ "net/http"
+ "net/url"
+)
+
+
+// UiAPIService UiAPI service
+type UiAPIService service
+
+type ApiUiCoreRenderJinjaTemplateCreateRequest struct {
+ ctx context.Context
+ ApiService *UiAPIService
+ renderJinjaRequest *RenderJinjaRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiUiCoreRenderJinjaTemplateCreateRequest) RenderJinjaRequest(renderJinjaRequest RenderJinjaRequest) ApiUiCoreRenderJinjaTemplateCreateRequest {
+ r.renderJinjaRequest = &renderJinjaRequest
+ return r
+}
+
+func (r ApiUiCoreRenderJinjaTemplateCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiUiCoreRenderJinjaTemplateCreateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiUiCoreRenderJinjaTemplateCreateRequest) Execute() (*RenderJinja, *http.Response, error) {
+ return r.ApiService.UiCoreRenderJinjaTemplateCreateExecute(r)
+}
+
+/*
+UiCoreRenderJinjaTemplateCreate Method for UiCoreRenderJinjaTemplateCreate
+
+View to render a Jinja template.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiUiCoreRenderJinjaTemplateCreateRequest
+*/
+func (a *UiAPIService) UiCoreRenderJinjaTemplateCreate(ctx context.Context) ApiUiCoreRenderJinjaTemplateCreateRequest {
+ return ApiUiCoreRenderJinjaTemplateCreateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return RenderJinja
+func (a *UiAPIService) UiCoreRenderJinjaTemplateCreateExecute(r ApiUiCoreRenderJinjaTemplateCreateRequest) (*RenderJinja, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPost
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *RenderJinja
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UiAPIService.UiCoreRenderJinjaTemplateCreate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/ui/core/render-jinja-template/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.renderJinjaRequest == nil {
+ return localVarReturnValue, nil, reportError("renderJinjaRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.renderJinjaRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
diff --git a/api_users.go b/api_users.go
index 24ed9fba..3296303a 100644
--- a/api_users.go
+++ b/api_users.go
@@ -3,7 +3,7 @@ API Documentation
Source of truth and network automation platform
-API version: 2.3.4 (2.3)
+API version: 2.4.21 (2.4)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -30,6 +30,7 @@ type ApiUsersConfigRetrieveRequest struct {
ApiService *UsersAPIService
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiUsersConfigRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiUsersConfigRetrieveRequest {
@@ -43,6 +44,12 @@ func (r ApiUsersConfigRetrieveRequest) Depth(depth int32) ApiUsersConfigRetrieve
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiUsersConfigRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiUsersConfigRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiUsersConfigRetrieveRequest) Execute() (map[string]interface{}, *http.Response, error) {
return r.ApiService.UsersConfigRetrieveExecute(r)
}
@@ -89,8 +96,16 @@ func (a *UsersAPIService) UsersConfigRetrieveExecute(r ApiUsersConfigRetrieveReq
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -825,6 +840,7 @@ type ApiUsersGroupsListRequest struct {
q *string
sort *string
depth *int32
+ excludeM2m *bool
}
func (r ApiUsersGroupsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiUsersGroupsListRequest {
@@ -963,6 +979,12 @@ func (r ApiUsersGroupsListRequest) Depth(depth int32) ApiUsersGroupsListRequest
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiUsersGroupsListRequest) ExcludeM2m(excludeM2m bool) ApiUsersGroupsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiUsersGroupsListRequest) Execute() (*PaginatedGroupList, *http.Response, error) {
return r.ApiService.UsersGroupsListExecute(r)
}
@@ -1241,8 +1263,16 @@ func (a *UsersAPIService) UsersGroupsListExecute(r ApiUsersGroupsListRequest) (*
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -1452,6 +1482,7 @@ type ApiUsersGroupsRetrieveRequest struct {
id int32
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiUsersGroupsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiUsersGroupsRetrieveRequest {
@@ -1465,6 +1496,12 @@ func (r ApiUsersGroupsRetrieveRequest) Depth(depth int32) ApiUsersGroupsRetrieve
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiUsersGroupsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiUsersGroupsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiUsersGroupsRetrieveRequest) Execute() (*Group, *http.Response, error) {
return r.ApiService.UsersGroupsRetrieveExecute(r)
}
@@ -1514,8 +1551,16 @@ func (a *UsersAPIService) UsersGroupsRetrieveExecute(r ApiUsersGroupsRetrieveReq
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -2382,19 +2427,7 @@ type ApiUsersPermissionsListRequest struct {
groupsId *[]int32
groupsIdN *[]int32
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
limit *int32
name *[]string
nameIc *[]string
@@ -2418,6 +2451,7 @@ type ApiUsersPermissionsListRequest struct {
users *[]string
usersN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiUsersPermissionsListRequest) Description(description []string) ApiUsersPermissionsListRequest {
@@ -2530,71 +2564,11 @@ func (r ApiUsersPermissionsListRequest) Id(id []string) ApiUsersPermissionsListR
return r
}
-func (r ApiUsersPermissionsListRequest) IdIc(idIc []string) ApiUsersPermissionsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiUsersPermissionsListRequest) IdIe(idIe []string) ApiUsersPermissionsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiUsersPermissionsListRequest) IdIew(idIew []string) ApiUsersPermissionsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiUsersPermissionsListRequest) IdIre(idIre []string) ApiUsersPermissionsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiUsersPermissionsListRequest) IdIsw(idIsw []string) ApiUsersPermissionsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiUsersPermissionsListRequest) IdN(idN []string) ApiUsersPermissionsListRequest {
r.idN = &idN
return r
}
-func (r ApiUsersPermissionsListRequest) IdNic(idNic []string) ApiUsersPermissionsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiUsersPermissionsListRequest) IdNie(idNie []string) ApiUsersPermissionsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiUsersPermissionsListRequest) IdNiew(idNiew []string) ApiUsersPermissionsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiUsersPermissionsListRequest) IdNire(idNire []string) ApiUsersPermissionsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiUsersPermissionsListRequest) IdNisw(idNisw []string) ApiUsersPermissionsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiUsersPermissionsListRequest) IdNre(idNre []string) ApiUsersPermissionsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiUsersPermissionsListRequest) IdRe(idRe []string) ApiUsersPermissionsListRequest {
- r.idRe = &idRe
- return r
-}
-
// Number of results to return per page.
func (r ApiUsersPermissionsListRequest) Limit(limit int32) ApiUsersPermissionsListRequest {
r.limit = &limit
@@ -2715,6 +2689,12 @@ func (r ApiUsersPermissionsListRequest) Depth(depth int32) ApiUsersPermissionsLi
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiUsersPermissionsListRequest) ExcludeM2m(excludeM2m bool) ApiUsersPermissionsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiUsersPermissionsListRequest) Execute() (*PaginatedObjectPermissionList, *http.Response, error) {
return r.ApiService.UsersPermissionsListExecute(r)
}
@@ -2970,61 +2950,6 @@ func (a *UsersAPIService) UsersPermissionsListExecute(r ApiUsersPermissionsListR
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -3036,83 +2961,6 @@ func (a *UsersAPIService) UsersPermissionsListExecute(r ApiUsersPermissionsListR
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.limit != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
}
@@ -3326,8 +3174,16 @@ func (a *UsersAPIService) UsersPermissionsListExecute(r ApiUsersPermissionsListR
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -3537,6 +3393,7 @@ type ApiUsersPermissionsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiUsersPermissionsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiUsersPermissionsRetrieveRequest {
@@ -3550,6 +3407,12 @@ func (r ApiUsersPermissionsRetrieveRequest) Depth(depth int32) ApiUsersPermissio
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiUsersPermissionsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiUsersPermissionsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiUsersPermissionsRetrieveRequest) Execute() (*ObjectPermission, *http.Response, error) {
return r.ApiService.UsersPermissionsRetrieveExecute(r)
}
@@ -3599,8 +3462,16 @@ func (a *UsersAPIService) UsersPermissionsRetrieveExecute(r ApiUsersPermissionsR
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -4472,19 +4343,7 @@ type ApiUsersTokensListRequest struct {
expiresN *[]time.Time
format *CircuitsCircuitTerminationsListFormatParameter
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
key *[]string
keyIc *[]string
keyIe *[]string
@@ -4505,6 +4364,7 @@ type ApiUsersTokensListRequest struct {
sort *string
writeEnabled *bool
depth *int32
+ excludeM2m *bool
}
func (r ApiUsersTokensListRequest) Created(created []time.Time) ApiUsersTokensListRequest {
@@ -4653,71 +4513,11 @@ func (r ApiUsersTokensListRequest) Id(id []string) ApiUsersTokensListRequest {
return r
}
-func (r ApiUsersTokensListRequest) IdIc(idIc []string) ApiUsersTokensListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiUsersTokensListRequest) IdIe(idIe []string) ApiUsersTokensListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiUsersTokensListRequest) IdIew(idIew []string) ApiUsersTokensListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiUsersTokensListRequest) IdIre(idIre []string) ApiUsersTokensListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiUsersTokensListRequest) IdIsw(idIsw []string) ApiUsersTokensListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiUsersTokensListRequest) IdN(idN []string) ApiUsersTokensListRequest {
r.idN = &idN
return r
}
-func (r ApiUsersTokensListRequest) IdNic(idNic []string) ApiUsersTokensListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiUsersTokensListRequest) IdNie(idNie []string) ApiUsersTokensListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiUsersTokensListRequest) IdNiew(idNiew []string) ApiUsersTokensListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiUsersTokensListRequest) IdNire(idNire []string) ApiUsersTokensListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiUsersTokensListRequest) IdNisw(idNisw []string) ApiUsersTokensListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiUsersTokensListRequest) IdNre(idNre []string) ApiUsersTokensListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiUsersTokensListRequest) IdRe(idRe []string) ApiUsersTokensListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiUsersTokensListRequest) Key(key []string) ApiUsersTokensListRequest {
r.key = &key
return r
@@ -4823,6 +4623,12 @@ func (r ApiUsersTokensListRequest) Depth(depth int32) ApiUsersTokensListRequest
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiUsersTokensListRequest) ExcludeM2m(excludeM2m bool) ApiUsersTokensListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiUsersTokensListRequest) Execute() (*PaginatedTokenList, *http.Response, error) {
return r.ApiService.UsersTokensListExecute(r)
}
@@ -5166,61 +4972,6 @@ func (a *UsersAPIService) UsersTokensListExecute(r ApiUsersTokensListRequest) (*
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -5232,83 +4983,6 @@ func (a *UsersAPIService) UsersTokensListExecute(r ApiUsersTokensListRequest) (*
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.key != nil {
t := *r.key
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -5481,8 +5155,16 @@ func (a *UsersAPIService) UsersTokensListExecute(r ApiUsersTokensListRequest) (*
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -5692,6 +5374,7 @@ type ApiUsersTokensRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiUsersTokensRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiUsersTokensRetrieveRequest {
@@ -5705,6 +5388,12 @@ func (r ApiUsersTokensRetrieveRequest) Depth(depth int32) ApiUsersTokensRetrieve
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiUsersTokensRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiUsersTokensRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiUsersTokensRetrieveRequest) Execute() (*Token, *http.Response, error) {
return r.ApiService.UsersTokensRetrieveExecute(r)
}
@@ -5754,8 +5443,16 @@ func (a *UsersAPIService) UsersTokensRetrieveExecute(r ApiUsersTokensRetrieveReq
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -6635,19 +6332,7 @@ type ApiUsersUsersListRequest struct {
hasObjectPermissions *bool
hasRackReservations *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
isActive *bool
isStaff *bool
lastName *[]string
@@ -6692,6 +6377,7 @@ type ApiUsersUsersListRequest struct {
usernameNre *[]string
usernameRe *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiUsersUsersListRequest) Email(email []string) ApiUsersUsersListRequest {
@@ -6887,71 +6573,11 @@ func (r ApiUsersUsersListRequest) Id(id []string) ApiUsersUsersListRequest {
return r
}
-func (r ApiUsersUsersListRequest) IdIc(idIc []string) ApiUsersUsersListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiUsersUsersListRequest) IdIe(idIe []string) ApiUsersUsersListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiUsersUsersListRequest) IdIew(idIew []string) ApiUsersUsersListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiUsersUsersListRequest) IdIre(idIre []string) ApiUsersUsersListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiUsersUsersListRequest) IdIsw(idIsw []string) ApiUsersUsersListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiUsersUsersListRequest) IdN(idN []string) ApiUsersUsersListRequest {
r.idN = &idN
return r
}
-func (r ApiUsersUsersListRequest) IdNic(idNic []string) ApiUsersUsersListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiUsersUsersListRequest) IdNie(idNie []string) ApiUsersUsersListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiUsersUsersListRequest) IdNiew(idNiew []string) ApiUsersUsersListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiUsersUsersListRequest) IdNire(idNire []string) ApiUsersUsersListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiUsersUsersListRequest) IdNisw(idNisw []string) ApiUsersUsersListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiUsersUsersListRequest) IdNre(idNre []string) ApiUsersUsersListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiUsersUsersListRequest) IdRe(idRe []string) ApiUsersUsersListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiUsersUsersListRequest) IsActive(isActive bool) ApiUsersUsersListRequest {
r.isActive = &isActive
return r
@@ -7184,6 +6810,12 @@ func (r ApiUsersUsersListRequest) Depth(depth int32) ApiUsersUsersListRequest {
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiUsersUsersListRequest) ExcludeM2m(excludeM2m bool) ApiUsersUsersListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiUsersUsersListRequest) Execute() (*PaginatedUserList, *http.Response, error) {
return r.ApiService.UsersUsersListExecute(r)
}
@@ -7599,61 +7231,6 @@ func (a *UsersAPIService) UsersUsersListExecute(r ApiUsersUsersListRequest) (*Pa
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -7665,83 +7242,6 @@ func (a *UsersAPIService) UsersUsersListExecute(r ApiUsersUsersListRequest) (*Pa
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.isActive != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "is_active", r.isActive, "form", "")
}
@@ -8146,8 +7646,16 @@ func (a *UsersAPIService) UsersUsersListExecute(r ApiUsersUsersListRequest) (*Pa
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -8357,6 +7865,7 @@ type ApiUsersUsersRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiUsersUsersRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiUsersUsersRetrieveRequest {
@@ -8370,6 +7879,12 @@ func (r ApiUsersUsersRetrieveRequest) Depth(depth int32) ApiUsersUsersRetrieveRe
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiUsersUsersRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiUsersUsersRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiUsersUsersRetrieveRequest) Execute() (*User, *http.Response, error) {
return r.ApiService.UsersUsersRetrieveExecute(r)
}
@@ -8419,8 +7934,16 @@ func (a *UsersAPIService) UsersUsersRetrieveExecute(r ApiUsersUsersRetrieveReque
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
diff --git a/api_virtualization.go b/api_virtualization.go
index cf2e370a..ecd04d8d 100644
--- a/api_virtualization.go
+++ b/api_virtualization.go
@@ -3,7 +3,7 @@ API Documentation
Source of truth and network automation platform
-API version: 2.3.4 (2.3)
+API version: 2.4.21 (2.4)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -669,7 +669,7 @@ type ApiVirtualizationClusterGroupsListRequest struct {
clustersN *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -692,23 +692,11 @@ type ApiVirtualizationClusterGroupsListRequest struct {
descriptionNre *[]string
descriptionRe *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
hasClusters *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -736,8 +724,9 @@ type ApiVirtualizationClusterGroupsListRequest struct {
sort *string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiVirtualizationClusterGroupsListRequest) Clusters(clusters []string) ApiVirtualizationClusterGroupsListRequest {
@@ -767,8 +756,7 @@ func (r ApiVirtualizationClusterGroupsListRequest) ContactsIsnull(contactsIsnull
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiVirtualizationClusterGroupsListRequest) ContactsN(contactsN string) ApiVirtualizationClusterGroupsListRequest {
+func (r ApiVirtualizationClusterGroupsListRequest) ContactsN(contactsN []string) ApiVirtualizationClusterGroupsListRequest {
r.contactsN = &contactsN
return r
}
@@ -883,8 +871,7 @@ func (r ApiVirtualizationClusterGroupsListRequest) DynamicGroups(dynamicGroups [
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiVirtualizationClusterGroupsListRequest) DynamicGroupsN(dynamicGroupsN string) ApiVirtualizationClusterGroupsListRequest {
+func (r ApiVirtualizationClusterGroupsListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiVirtualizationClusterGroupsListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -906,71 +893,11 @@ func (r ApiVirtualizationClusterGroupsListRequest) Id(id []string) ApiVirtualiza
return r
}
-func (r ApiVirtualizationClusterGroupsListRequest) IdIc(idIc []string) ApiVirtualizationClusterGroupsListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiVirtualizationClusterGroupsListRequest) IdIe(idIe []string) ApiVirtualizationClusterGroupsListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiVirtualizationClusterGroupsListRequest) IdIew(idIew []string) ApiVirtualizationClusterGroupsListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiVirtualizationClusterGroupsListRequest) IdIre(idIre []string) ApiVirtualizationClusterGroupsListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiVirtualizationClusterGroupsListRequest) IdIsw(idIsw []string) ApiVirtualizationClusterGroupsListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiVirtualizationClusterGroupsListRequest) IdN(idN []string) ApiVirtualizationClusterGroupsListRequest {
r.idN = &idN
return r
}
-func (r ApiVirtualizationClusterGroupsListRequest) IdNic(idNic []string) ApiVirtualizationClusterGroupsListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiVirtualizationClusterGroupsListRequest) IdNie(idNie []string) ApiVirtualizationClusterGroupsListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiVirtualizationClusterGroupsListRequest) IdNiew(idNiew []string) ApiVirtualizationClusterGroupsListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiVirtualizationClusterGroupsListRequest) IdNire(idNire []string) ApiVirtualizationClusterGroupsListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiVirtualizationClusterGroupsListRequest) IdNisw(idNisw []string) ApiVirtualizationClusterGroupsListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiVirtualizationClusterGroupsListRequest) IdNre(idNre []string) ApiVirtualizationClusterGroupsListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiVirtualizationClusterGroupsListRequest) IdRe(idRe []string) ApiVirtualizationClusterGroupsListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiVirtualizationClusterGroupsListRequest) LastUpdated(lastUpdated []time.Time) ApiVirtualizationClusterGroupsListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -1111,8 +1038,7 @@ func (r ApiVirtualizationClusterGroupsListRequest) TeamsIsnull(teamsIsnull bool)
return r
}
-// Exclude Teams (name or ID)
-func (r ApiVirtualizationClusterGroupsListRequest) TeamsN(teamsN string) ApiVirtualizationClusterGroupsListRequest {
+func (r ApiVirtualizationClusterGroupsListRequest) TeamsN(teamsN []string) ApiVirtualizationClusterGroupsListRequest {
r.teamsN = &teamsN
return r
}
@@ -1123,6 +1049,12 @@ func (r ApiVirtualizationClusterGroupsListRequest) Depth(depth int32) ApiVirtual
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiVirtualizationClusterGroupsListRequest) ExcludeM2m(excludeM2m bool) ApiVirtualizationClusterGroupsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiVirtualizationClusterGroupsListRequest) Execute() (*PaginatedClusterGroupList, *http.Response, error) {
return r.ApiService.VirtualizationClusterGroupsListExecute(r)
}
@@ -1203,7 +1135,15 @@ func (a *VirtualizationAPIService) VirtualizationClusterGroupsListExecute(r ApiV
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -1440,7 +1380,15 @@ func (a *VirtualizationAPIService) VirtualizationClusterGroupsListExecute(r ApiV
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -1459,61 +1407,6 @@ func (a *VirtualizationAPIService) VirtualizationClusterGroupsListExecute(r ApiV
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -1525,83 +1418,6 @@ func (a *VirtualizationAPIService) VirtualizationClusterGroupsListExecute(r ApiV
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -1852,13 +1668,29 @@ func (a *VirtualizationAPIService) VirtualizationClusterGroupsListExecute(r ApiV
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -2073,6 +1905,7 @@ type ApiVirtualizationClusterGroupsNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiVirtualizationClusterGroupsNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiVirtualizationClusterGroupsNotesListRequest {
@@ -2098,6 +1931,12 @@ func (r ApiVirtualizationClusterGroupsNotesListRequest) Depth(depth int32) ApiVi
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiVirtualizationClusterGroupsNotesListRequest) ExcludeM2m(excludeM2m bool) ApiVirtualizationClusterGroupsNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiVirtualizationClusterGroupsNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.VirtualizationClusterGroupsNotesListExecute(r)
}
@@ -2153,8 +1992,16 @@ func (a *VirtualizationAPIService) VirtualizationClusterGroupsNotesListExecute(r
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -2364,6 +2211,7 @@ type ApiVirtualizationClusterGroupsRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiVirtualizationClusterGroupsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiVirtualizationClusterGroupsRetrieveRequest {
@@ -2377,6 +2225,12 @@ func (r ApiVirtualizationClusterGroupsRetrieveRequest) Depth(depth int32) ApiVir
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiVirtualizationClusterGroupsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiVirtualizationClusterGroupsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiVirtualizationClusterGroupsRetrieveRequest) Execute() (*ClusterGroup, *http.Response, error) {
return r.ApiService.VirtualizationClusterGroupsRetrieveExecute(r)
}
@@ -2426,8 +2280,16 @@ func (a *VirtualizationAPIService) VirtualizationClusterGroupsRetrieveExecute(r
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -3278,7 +3140,7 @@ type ApiVirtualizationClusterTypesListRequest struct {
clustersN *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -3301,23 +3163,11 @@ type ApiVirtualizationClusterTypesListRequest struct {
descriptionNre *[]string
descriptionRe *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
hasClusters *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -3345,8 +3195,9 @@ type ApiVirtualizationClusterTypesListRequest struct {
sort *string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiVirtualizationClusterTypesListRequest) Clusters(clusters []string) ApiVirtualizationClusterTypesListRequest {
@@ -3376,8 +3227,7 @@ func (r ApiVirtualizationClusterTypesListRequest) ContactsIsnull(contactsIsnull
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiVirtualizationClusterTypesListRequest) ContactsN(contactsN string) ApiVirtualizationClusterTypesListRequest {
+func (r ApiVirtualizationClusterTypesListRequest) ContactsN(contactsN []string) ApiVirtualizationClusterTypesListRequest {
r.contactsN = &contactsN
return r
}
@@ -3492,8 +3342,7 @@ func (r ApiVirtualizationClusterTypesListRequest) DynamicGroups(dynamicGroups []
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiVirtualizationClusterTypesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiVirtualizationClusterTypesListRequest {
+func (r ApiVirtualizationClusterTypesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiVirtualizationClusterTypesListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -3515,71 +3364,11 @@ func (r ApiVirtualizationClusterTypesListRequest) Id(id []string) ApiVirtualizat
return r
}
-func (r ApiVirtualizationClusterTypesListRequest) IdIc(idIc []string) ApiVirtualizationClusterTypesListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiVirtualizationClusterTypesListRequest) IdIe(idIe []string) ApiVirtualizationClusterTypesListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiVirtualizationClusterTypesListRequest) IdIew(idIew []string) ApiVirtualizationClusterTypesListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiVirtualizationClusterTypesListRequest) IdIre(idIre []string) ApiVirtualizationClusterTypesListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiVirtualizationClusterTypesListRequest) IdIsw(idIsw []string) ApiVirtualizationClusterTypesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiVirtualizationClusterTypesListRequest) IdN(idN []string) ApiVirtualizationClusterTypesListRequest {
r.idN = &idN
return r
}
-func (r ApiVirtualizationClusterTypesListRequest) IdNic(idNic []string) ApiVirtualizationClusterTypesListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiVirtualizationClusterTypesListRequest) IdNie(idNie []string) ApiVirtualizationClusterTypesListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiVirtualizationClusterTypesListRequest) IdNiew(idNiew []string) ApiVirtualizationClusterTypesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiVirtualizationClusterTypesListRequest) IdNire(idNire []string) ApiVirtualizationClusterTypesListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiVirtualizationClusterTypesListRequest) IdNisw(idNisw []string) ApiVirtualizationClusterTypesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiVirtualizationClusterTypesListRequest) IdNre(idNre []string) ApiVirtualizationClusterTypesListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiVirtualizationClusterTypesListRequest) IdRe(idRe []string) ApiVirtualizationClusterTypesListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiVirtualizationClusterTypesListRequest) LastUpdated(lastUpdated []time.Time) ApiVirtualizationClusterTypesListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -3720,8 +3509,7 @@ func (r ApiVirtualizationClusterTypesListRequest) TeamsIsnull(teamsIsnull bool)
return r
}
-// Exclude Teams (name or ID)
-func (r ApiVirtualizationClusterTypesListRequest) TeamsN(teamsN string) ApiVirtualizationClusterTypesListRequest {
+func (r ApiVirtualizationClusterTypesListRequest) TeamsN(teamsN []string) ApiVirtualizationClusterTypesListRequest {
r.teamsN = &teamsN
return r
}
@@ -3732,6 +3520,12 @@ func (r ApiVirtualizationClusterTypesListRequest) Depth(depth int32) ApiVirtuali
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiVirtualizationClusterTypesListRequest) ExcludeM2m(excludeM2m bool) ApiVirtualizationClusterTypesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiVirtualizationClusterTypesListRequest) Execute() (*PaginatedClusterTypeList, *http.Response, error) {
return r.ApiService.VirtualizationClusterTypesListExecute(r)
}
@@ -3812,7 +3606,15 @@ func (a *VirtualizationAPIService) VirtualizationClusterTypesListExecute(r ApiVi
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -4049,7 +3851,15 @@ func (a *VirtualizationAPIService) VirtualizationClusterTypesListExecute(r ApiVi
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -4068,61 +3878,6 @@ func (a *VirtualizationAPIService) VirtualizationClusterTypesListExecute(r ApiVi
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -4134,83 +3889,6 @@ func (a *VirtualizationAPIService) VirtualizationClusterTypesListExecute(r ApiVi
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -4461,13 +4139,29 @@ func (a *VirtualizationAPIService) VirtualizationClusterTypesListExecute(r ApiVi
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -4682,6 +4376,7 @@ type ApiVirtualizationClusterTypesNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiVirtualizationClusterTypesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiVirtualizationClusterTypesNotesListRequest {
@@ -4707,6 +4402,12 @@ func (r ApiVirtualizationClusterTypesNotesListRequest) Depth(depth int32) ApiVir
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiVirtualizationClusterTypesNotesListRequest) ExcludeM2m(excludeM2m bool) ApiVirtualizationClusterTypesNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiVirtualizationClusterTypesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.VirtualizationClusterTypesNotesListExecute(r)
}
@@ -4762,8 +4463,16 @@ func (a *VirtualizationAPIService) VirtualizationClusterTypesNotesListExecute(r
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -4973,6 +4682,7 @@ type ApiVirtualizationClusterTypesRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiVirtualizationClusterTypesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiVirtualizationClusterTypesRetrieveRequest {
@@ -4986,6 +4696,12 @@ func (r ApiVirtualizationClusterTypesRetrieveRequest) Depth(depth int32) ApiVirt
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiVirtualizationClusterTypesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiVirtualizationClusterTypesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiVirtualizationClusterTypesRetrieveRequest) Execute() (*ClusterType, *http.Response, error) {
return r.ApiService.VirtualizationClusterTypesRetrieveExecute(r)
}
@@ -5035,8 +4751,16 @@ func (a *VirtualizationAPIService) VirtualizationClusterTypesRetrieveExecute(r A
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -5908,7 +5632,7 @@ type ApiVirtualizationClustersListRequest struct {
commentsRe *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -5920,24 +5644,12 @@ type ApiVirtualizationClustersListRequest struct {
devicesIsnull *bool
devicesN *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
hasDevices *bool
hasVirtualMachines *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -5971,7 +5683,7 @@ type ApiVirtualizationClustersListRequest struct {
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
tenant *[]string
tenantIsnull *bool
tenantN *[]string
@@ -5985,6 +5697,7 @@ type ApiVirtualizationClustersListRequest struct {
virtualMachinesIsnull *bool
virtualMachinesN *[]string
depth *int32
+ excludeM2m *bool
}
func (r ApiVirtualizationClustersListRequest) ClusterGroup(clusterGroup []string) ApiVirtualizationClustersListRequest {
@@ -6124,8 +5837,7 @@ func (r ApiVirtualizationClustersListRequest) ContactsIsnull(contactsIsnull bool
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiVirtualizationClustersListRequest) ContactsN(contactsN string) ApiVirtualizationClustersListRequest {
+func (r ApiVirtualizationClustersListRequest) ContactsN(contactsN []string) ApiVirtualizationClustersListRequest {
r.contactsN = &contactsN
return r
}
@@ -6186,8 +5898,7 @@ func (r ApiVirtualizationClustersListRequest) DynamicGroups(dynamicGroups []stri
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiVirtualizationClustersListRequest) DynamicGroupsN(dynamicGroupsN string) ApiVirtualizationClustersListRequest {
+func (r ApiVirtualizationClustersListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiVirtualizationClustersListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -6215,71 +5926,11 @@ func (r ApiVirtualizationClustersListRequest) Id(id []string) ApiVirtualizationC
return r
}
-func (r ApiVirtualizationClustersListRequest) IdIc(idIc []string) ApiVirtualizationClustersListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiVirtualizationClustersListRequest) IdIe(idIe []string) ApiVirtualizationClustersListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiVirtualizationClustersListRequest) IdIew(idIew []string) ApiVirtualizationClustersListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiVirtualizationClustersListRequest) IdIre(idIre []string) ApiVirtualizationClustersListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiVirtualizationClustersListRequest) IdIsw(idIsw []string) ApiVirtualizationClustersListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiVirtualizationClustersListRequest) IdN(idN []string) ApiVirtualizationClustersListRequest {
r.idN = &idN
return r
}
-func (r ApiVirtualizationClustersListRequest) IdNic(idNic []string) ApiVirtualizationClustersListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiVirtualizationClustersListRequest) IdNie(idNie []string) ApiVirtualizationClustersListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiVirtualizationClustersListRequest) IdNiew(idNiew []string) ApiVirtualizationClustersListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiVirtualizationClustersListRequest) IdNire(idNire []string) ApiVirtualizationClustersListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiVirtualizationClustersListRequest) IdNisw(idNisw []string) ApiVirtualizationClustersListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiVirtualizationClustersListRequest) IdNre(idNre []string) ApiVirtualizationClustersListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiVirtualizationClustersListRequest) IdRe(idRe []string) ApiVirtualizationClustersListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiVirtualizationClustersListRequest) LastUpdated(lastUpdated []time.Time) ApiVirtualizationClustersListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -6451,8 +6102,7 @@ func (r ApiVirtualizationClustersListRequest) TeamsIsnull(teamsIsnull bool) ApiV
return r
}
-// Exclude Teams (name or ID)
-func (r ApiVirtualizationClustersListRequest) TeamsN(teamsN string) ApiVirtualizationClustersListRequest {
+func (r ApiVirtualizationClustersListRequest) TeamsN(teamsN []string) ApiVirtualizationClustersListRequest {
r.teamsN = &teamsN
return r
}
@@ -6529,6 +6179,12 @@ func (r ApiVirtualizationClustersListRequest) Depth(depth int32) ApiVirtualizati
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiVirtualizationClustersListRequest) ExcludeM2m(excludeM2m bool) ApiVirtualizationClustersListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiVirtualizationClustersListRequest) Execute() (*PaginatedClusterList, *http.Response, error) {
return r.ApiService.VirtualizationClustersListExecute(r)
}
@@ -6814,295 +6470,179 @@ func (a *VirtualizationAPIService) VirtualizationClustersListExecute(r ApiVirtua
parameterAddToHeaderOrQuery(localVarQueryParams, "comments__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "comments__re", t, "form", "multi")
- }
- }
- if r.contacts != nil {
- t := *r.contacts
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", t, "form", "multi")
- }
- }
- if r.contactsIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
- }
- if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
- }
- if r.created != nil {
- t := *r.created
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created", t, "form", "multi")
- }
- }
- if r.createdGt != nil {
- t := *r.createdGt
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", t, "form", "multi")
- }
- }
- if r.createdGte != nil {
- t := *r.createdGte
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", t, "form", "multi")
- }
- }
- if r.createdIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__isnull", r.createdIsnull, "form", "")
- }
- if r.createdLt != nil {
- t := *r.createdLt
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", t, "form", "multi")
- }
- }
- if r.createdLte != nil {
- t := *r.createdLte
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", t, "form", "multi")
- }
- }
- if r.createdN != nil {
- t := *r.createdN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "form", "multi")
- }
- }
- if r.devices != nil {
- t := *r.devices
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "devices", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "devices", t, "form", "multi")
- }
- }
- if r.devicesIsnull != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "devices__isnull", r.devicesIsnull, "form", "")
- }
- if r.devicesN != nil {
- t := *r.devicesN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "devices__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "devices__n", t, "form", "multi")
- }
- }
- if r.dynamicGroups != nil {
- t := *r.dynamicGroups
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
- }
- }
- if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.hasDevices != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_devices", r.hasDevices, "form", "")
- }
- if r.hasVirtualMachines != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_virtual_machines", r.hasVirtualMachines, "form", "")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "comments__re", t, "form", "multi")
+ }
}
- if r.id != nil {
- t := *r.id
+ if r.contacts != nil {
+ t := *r.contacts
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
+ if r.contactsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
+ }
+ if r.contactsN != nil {
+ t := *r.contactsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
}
}
- if r.idIe != nil {
- t := *r.idIe
+ if r.created != nil {
+ t := *r.created
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created", t, "form", "multi")
}
}
- if r.idIew != nil {
- t := *r.idIew
+ if r.createdGt != nil {
+ t := *r.createdGt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", t, "form", "multi")
}
}
- if r.idIre != nil {
- t := *r.idIre
+ if r.createdGte != nil {
+ t := *r.createdGte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", t, "form", "multi")
}
}
- if r.idIsw != nil {
- t := *r.idIsw
+ if r.createdIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__isnull", r.createdIsnull, "form", "")
+ }
+ if r.createdLt != nil {
+ t := *r.createdLt
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", t, "form", "multi")
}
}
- if r.idN != nil {
- t := *r.idN
+ if r.createdLte != nil {
+ t := *r.createdLte
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
+ if r.createdN != nil {
+ t := *r.createdN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "form", "multi")
}
}
- if r.idNie != nil {
- t := *r.idNie
+ if r.devices != nil {
+ t := *r.devices
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "devices", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "devices", t, "form", "multi")
}
}
- if r.idNiew != nil {
- t := *r.idNiew
+ if r.devicesIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "devices__isnull", r.devicesIsnull, "form", "")
+ }
+ if r.devicesN != nil {
+ t := *r.devicesN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "devices__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "devices__n", t, "form", "multi")
}
}
- if r.idNire != nil {
- t := *r.idNire
+ if r.dynamicGroups != nil {
+ t := *r.dynamicGroups
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
}
}
- if r.idNisw != nil {
- t := *r.idNisw
+ if r.dynamicGroupsN != nil {
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idNre != nil {
- t := *r.idNre
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.hasDevices != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_devices", r.hasDevices, "form", "")
+ }
+ if r.hasVirtualMachines != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_virtual_machines", r.hasVirtualMachines, "form", "")
+ }
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idRe != nil {
- t := *r.idRe
+ if r.idN != nil {
+ t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
if r.lastUpdated != nil {
@@ -7405,7 +6945,15 @@ func (a *VirtualizationAPIService) VirtualizationClustersListExecute(r ApiVirtua
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.tenant != nil {
t := *r.tenant
@@ -7510,8 +7058,16 @@ func (a *VirtualizationAPIService) VirtualizationClustersListExecute(r ApiVirtua
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -7726,6 +7282,7 @@ type ApiVirtualizationClustersNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiVirtualizationClustersNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiVirtualizationClustersNotesListRequest {
@@ -7751,6 +7308,12 @@ func (r ApiVirtualizationClustersNotesListRequest) Depth(depth int32) ApiVirtual
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiVirtualizationClustersNotesListRequest) ExcludeM2m(excludeM2m bool) ApiVirtualizationClustersNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiVirtualizationClustersNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.VirtualizationClustersNotesListExecute(r)
}
@@ -7806,8 +7369,16 @@ func (a *VirtualizationAPIService) VirtualizationClustersNotesListExecute(r ApiV
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -8017,6 +7588,7 @@ type ApiVirtualizationClustersRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiVirtualizationClustersRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiVirtualizationClustersRetrieveRequest {
@@ -8030,6 +7602,12 @@ func (r ApiVirtualizationClustersRetrieveRequest) Depth(depth int32) ApiVirtuali
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiVirtualizationClustersRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiVirtualizationClustersRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiVirtualizationClustersRetrieveRequest) Execute() (*Cluster, *http.Response, error) {
return r.ApiService.VirtualizationClustersRetrieveExecute(r)
}
@@ -8079,8 +7657,16 @@ func (a *VirtualizationAPIService) VirtualizationClustersRetrieveExecute(r ApiVi
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -8941,7 +8527,7 @@ type ApiVirtualizationInterfacesListRequest struct {
clusterIdN *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
description *[]string
descriptionIc *[]string
descriptionIe *[]string
@@ -8957,7 +8543,7 @@ type ApiVirtualizationInterfacesListRequest struct {
descriptionNre *[]string
descriptionRe *[]string
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
enabled *bool
format *CircuitsCircuitTerminationsListFormatParameter
hasBridgedInterfaces *bool
@@ -8965,19 +8551,7 @@ type ApiVirtualizationInterfacesListRequest struct {
hasIpAddresses *bool
hasTaggedVlans *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
ipAddresses *[]string
limit *int32
macAddress *[]string
@@ -9036,10 +8610,10 @@ type ApiVirtualizationInterfacesListRequest struct {
q *string
role *[]string
roleIsnull *bool
- roleN *string
+ roleN *[]string
sort *string
status *[]string
- statusN *string
+ statusN *[]string
taggedVlans *[]string
taggedVlansN *[]string
tags *[]string
@@ -9047,7 +8621,7 @@ type ApiVirtualizationInterfacesListRequest struct {
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
untaggedVlan *[]string
untaggedVlanIsnull *bool
untaggedVlanN *[]string
@@ -9055,7 +8629,9 @@ type ApiVirtualizationInterfacesListRequest struct {
virtualMachineN *[]string
virtualMachineId *[]string
virtualMachineIdN *[]string
+ vlanId *string
depth *int32
+ excludeM2m *bool
}
func (r ApiVirtualizationInterfacesListRequest) Bridge(bridge []string) ApiVirtualizationInterfacesListRequest {
@@ -9139,8 +8715,7 @@ func (r ApiVirtualizationInterfacesListRequest) ContactsIsnull(contactsIsnull bo
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiVirtualizationInterfacesListRequest) ContactsN(contactsN string) ApiVirtualizationInterfacesListRequest {
+func (r ApiVirtualizationInterfacesListRequest) ContactsN(contactsN []string) ApiVirtualizationInterfacesListRequest {
r.contactsN = &contactsN
return r
}
@@ -9220,8 +8795,7 @@ func (r ApiVirtualizationInterfacesListRequest) DynamicGroups(dynamicGroups []st
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiVirtualizationInterfacesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiVirtualizationInterfacesListRequest {
+func (r ApiVirtualizationInterfacesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiVirtualizationInterfacesListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -9266,71 +8840,11 @@ func (r ApiVirtualizationInterfacesListRequest) Id(id []string) ApiVirtualizatio
return r
}
-func (r ApiVirtualizationInterfacesListRequest) IdIc(idIc []string) ApiVirtualizationInterfacesListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiVirtualizationInterfacesListRequest) IdIe(idIe []string) ApiVirtualizationInterfacesListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiVirtualizationInterfacesListRequest) IdIew(idIew []string) ApiVirtualizationInterfacesListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiVirtualizationInterfacesListRequest) IdIre(idIre []string) ApiVirtualizationInterfacesListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiVirtualizationInterfacesListRequest) IdIsw(idIsw []string) ApiVirtualizationInterfacesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiVirtualizationInterfacesListRequest) IdN(idN []string) ApiVirtualizationInterfacesListRequest {
r.idN = &idN
return r
}
-func (r ApiVirtualizationInterfacesListRequest) IdNic(idNic []string) ApiVirtualizationInterfacesListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiVirtualizationInterfacesListRequest) IdNie(idNie []string) ApiVirtualizationInterfacesListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiVirtualizationInterfacesListRequest) IdNiew(idNiew []string) ApiVirtualizationInterfacesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiVirtualizationInterfacesListRequest) IdNire(idNire []string) ApiVirtualizationInterfacesListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiVirtualizationInterfacesListRequest) IdNisw(idNisw []string) ApiVirtualizationInterfacesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiVirtualizationInterfacesListRequest) IdNre(idNre []string) ApiVirtualizationInterfacesListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiVirtualizationInterfacesListRequest) IdRe(idRe []string) ApiVirtualizationInterfacesListRequest {
- r.idRe = &idRe
- return r
-}
-
// IP addresses (address or ID)
func (r ApiVirtualizationInterfacesListRequest) IpAddresses(ipAddresses []string) ApiVirtualizationInterfacesListRequest {
r.ipAddresses = &ipAddresses
@@ -9641,8 +9155,7 @@ func (r ApiVirtualizationInterfacesListRequest) RoleIsnull(roleIsnull bool) ApiV
return r
}
-// Exclude Role (name or ID)
-func (r ApiVirtualizationInterfacesListRequest) RoleN(roleN string) ApiVirtualizationInterfacesListRequest {
+func (r ApiVirtualizationInterfacesListRequest) RoleN(roleN []string) ApiVirtualizationInterfacesListRequest {
r.roleN = &roleN
return r
}
@@ -9658,8 +9171,7 @@ func (r ApiVirtualizationInterfacesListRequest) Status(status []string) ApiVirtu
return r
}
-// Exclude Status (name or ID)
-func (r ApiVirtualizationInterfacesListRequest) StatusN(statusN string) ApiVirtualizationInterfacesListRequest {
+func (r ApiVirtualizationInterfacesListRequest) StatusN(statusN []string) ApiVirtualizationInterfacesListRequest {
r.statusN = &statusN
return r
}
@@ -9700,8 +9212,7 @@ func (r ApiVirtualizationInterfacesListRequest) TeamsIsnull(teamsIsnull bool) Ap
return r
}
-// Exclude Teams (name or ID)
-func (r ApiVirtualizationInterfacesListRequest) TeamsN(teamsN string) ApiVirtualizationInterfacesListRequest {
+func (r ApiVirtualizationInterfacesListRequest) TeamsN(teamsN []string) ApiVirtualizationInterfacesListRequest {
r.teamsN = &teamsN
return r
}
@@ -9744,12 +9255,24 @@ func (r ApiVirtualizationInterfacesListRequest) VirtualMachineIdN(virtualMachine
return r
}
+// Any assigned VLAN (tagged or untagged)
+func (r ApiVirtualizationInterfacesListRequest) VlanId(vlanId string) ApiVirtualizationInterfacesListRequest {
+ r.vlanId = &vlanId
+ return r
+}
+
// Serializer Depth
func (r ApiVirtualizationInterfacesListRequest) Depth(depth int32) ApiVirtualizationInterfacesListRequest {
r.depth = &depth
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiVirtualizationInterfacesListRequest) ExcludeM2m(excludeM2m bool) ApiVirtualizationInterfacesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiVirtualizationInterfacesListRequest) Execute() (*PaginatedVMInterfaceList, *http.Response, error) {
return r.ApiService.VirtualizationInterfacesListExecute(r)
}
@@ -9924,7 +9447,15 @@ func (a *VirtualizationAPIService) VirtualizationInterfacesListExecute(r ApiVirt
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.description != nil {
t := *r.description
@@ -10070,200 +9601,76 @@ func (a *VirtualizationAPIService) VirtualizationInterfacesListExecute(r ApiVirt
}
}
if r.descriptionRe != nil {
- t := *r.descriptionRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", t, "form", "multi")
- }
- }
- if r.dynamicGroups != nil {
- t := *r.dynamicGroups
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
- }
- }
- if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
- }
- if r.enabled != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "enabled", r.enabled, "form", "")
- }
- if r.format != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
- }
- if r.hasBridgedInterfaces != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_bridged_interfaces", r.hasBridgedInterfaces, "form", "")
- }
- if r.hasChildInterfaces != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_child_interfaces", r.hasChildInterfaces, "form", "")
- }
- if r.hasIpAddresses != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_ip_addresses", r.hasIpAddresses, "form", "")
- }
- if r.hasTaggedVlans != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "has_tagged_vlans", r.hasTaggedVlans, "form", "")
- }
- if r.id != nil {
- t := *r.id
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
- }
- }
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
- if r.idN != nil {
- t := *r.idN
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
- }
- }
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
+ t := *r.descriptionRe
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", t, "form", "multi")
}
}
- if r.idNire != nil {
- t := *r.idNire
+ if r.dynamicGroups != nil {
+ t := *r.dynamicGroups
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
}
}
- if r.idNisw != nil {
- t := *r.idNisw
+ if r.dynamicGroupsN != nil {
+ t := *r.dynamicGroupsN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
}
}
- if r.idNre != nil {
- t := *r.idNre
+ if r.enabled != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "enabled", r.enabled, "form", "")
+ }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.hasBridgedInterfaces != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_bridged_interfaces", r.hasBridgedInterfaces, "form", "")
+ }
+ if r.hasChildInterfaces != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_child_interfaces", r.hasChildInterfaces, "form", "")
+ }
+ if r.hasIpAddresses != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_ip_addresses", r.hasIpAddresses, "form", "")
+ }
+ if r.hasTaggedVlans != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_tagged_vlans", r.hasTaggedVlans, "form", "")
+ }
+ if r.id != nil {
+ t := *r.id
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idRe != nil {
- t := *r.idRe
+ if r.idN != nil {
+ t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
s := reflect.ValueOf(t)
for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
}
} else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
if r.ipAddresses != nil {
@@ -10857,7 +10264,15 @@ func (a *VirtualizationAPIService) VirtualizationInterfacesListExecute(r ApiVirt
parameterAddToHeaderOrQuery(localVarQueryParams, "role__isnull", r.roleIsnull, "form", "")
}
if r.roleN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", r.roleN, "form", "")
+ t := *r.roleN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", t, "form", "multi")
+ }
}
if r.sort != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
@@ -10874,7 +10289,15 @@ func (a *VirtualizationAPIService) VirtualizationInterfacesListExecute(r ApiVirt
}
}
if r.statusN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", r.statusN, "form", "")
+ t := *r.statusN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "form", "multi")
+ }
}
if r.taggedVlans != nil {
t := *r.taggedVlans
@@ -10938,7 +10361,15 @@ func (a *VirtualizationAPIService) VirtualizationInterfacesListExecute(r ApiVirt
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.untaggedVlan != nil {
t := *r.untaggedVlan
@@ -11009,11 +10440,22 @@ func (a *VirtualizationAPIService) VirtualizationInterfacesListExecute(r ApiVirt
parameterAddToHeaderOrQuery(localVarQueryParams, "virtual_machine_id__n", t, "form", "multi")
}
}
+ if r.vlanId != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "vlan_id", r.vlanId, "form", "")
+ }
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -11228,6 +10670,7 @@ type ApiVirtualizationInterfacesNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiVirtualizationInterfacesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiVirtualizationInterfacesNotesListRequest {
@@ -11253,6 +10696,12 @@ func (r ApiVirtualizationInterfacesNotesListRequest) Depth(depth int32) ApiVirtu
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiVirtualizationInterfacesNotesListRequest) ExcludeM2m(excludeM2m bool) ApiVirtualizationInterfacesNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiVirtualizationInterfacesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.VirtualizationInterfacesNotesListExecute(r)
}
@@ -11308,8 +10757,16 @@ func (a *VirtualizationAPIService) VirtualizationInterfacesNotesListExecute(r Ap
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -11519,6 +10976,7 @@ type ApiVirtualizationInterfacesRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiVirtualizationInterfacesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiVirtualizationInterfacesRetrieveRequest {
@@ -11532,6 +10990,12 @@ func (r ApiVirtualizationInterfacesRetrieveRequest) Depth(depth int32) ApiVirtua
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiVirtualizationInterfacesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiVirtualizationInterfacesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiVirtualizationInterfacesRetrieveRequest) Execute() (*VMInterface, *http.Response, error) {
return r.ApiService.VirtualizationInterfacesRetrieveExecute(r)
}
@@ -11581,8 +11045,16 @@ func (a *VirtualizationAPIService) VirtualizationInterfacesRetrieveExecute(r Api
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -12458,7 +11930,7 @@ type ApiVirtualizationVirtualMachinesListRequest struct {
commentsRe *[]string
contacts *[]string
contactsIsnull *bool
- contactsN *string
+ contactsN *[]string
created *[]time.Time
createdGt *[]time.Time
createdGte *[]time.Time
@@ -12474,30 +11946,20 @@ type ApiVirtualizationVirtualMachinesListRequest struct {
diskLte *[]int32
diskN *[]int32
dynamicGroups *[]string
- dynamicGroupsN *string
+ dynamicGroupsN *[]string
format *CircuitsCircuitTerminationsListFormatParameter
hasInterfaces *bool
+ hasIpAddresses *bool
hasPrimaryIp *bool
hasServices *bool
hasSoftwareImageFiles *bool
hasSoftwareVersion *bool
id *[]string
- idIc *[]string
- idIe *[]string
- idIew *[]string
- idIre *[]string
- idIsw *[]string
idN *[]string
- idNic *[]string
- idNie *[]string
- idNiew *[]string
- idNire *[]string
- idNisw *[]string
- idNre *[]string
- idRe *[]string
interfaces *[]string
interfacesIsnull *bool
interfacesN *[]string
+ ipAddresses *[]string
lastUpdated *[]time.Time
lastUpdatedGt *[]time.Time
lastUpdatedGte *[]time.Time
@@ -12563,7 +12025,7 @@ type ApiVirtualizationVirtualMachinesListRequest struct {
q *string
role *[]string
roleIsnull *bool
- roleN *string
+ roleN *[]string
services *[]string
servicesIsnull *bool
servicesN *[]string
@@ -12574,13 +12036,13 @@ type ApiVirtualizationVirtualMachinesListRequest struct {
softwareVersionN *[]string
sort *string
status *[]string
- statusN *string
+ statusN *[]string
tags *[]string
tagsIsnull *bool
tagsN *[]string
teams *[]string
teamsIsnull *bool
- teamsN *string
+ teamsN *[]string
tenant *[]string
tenantIsnull *bool
tenantN *[]string
@@ -12598,6 +12060,7 @@ type ApiVirtualizationVirtualMachinesListRequest struct {
vcpusLte *[]int32
vcpusN *[]int32
depth *int32
+ excludeM2m *bool
}
func (r ApiVirtualizationVirtualMachinesListRequest) Cluster(cluster []string) ApiVirtualizationVirtualMachinesListRequest {
@@ -12759,8 +12222,7 @@ func (r ApiVirtualizationVirtualMachinesListRequest) ContactsIsnull(contactsIsnu
return r
}
-// Exclude Contacts (name or ID)
-func (r ApiVirtualizationVirtualMachinesListRequest) ContactsN(contactsN string) ApiVirtualizationVirtualMachinesListRequest {
+func (r ApiVirtualizationVirtualMachinesListRequest) ContactsN(contactsN []string) ApiVirtualizationVirtualMachinesListRequest {
r.contactsN = &contactsN
return r
}
@@ -12840,8 +12302,7 @@ func (r ApiVirtualizationVirtualMachinesListRequest) DynamicGroups(dynamicGroups
return r
}
-// Exclude Dynamic groups (name or ID)
-func (r ApiVirtualizationVirtualMachinesListRequest) DynamicGroupsN(dynamicGroupsN string) ApiVirtualizationVirtualMachinesListRequest {
+func (r ApiVirtualizationVirtualMachinesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiVirtualizationVirtualMachinesListRequest {
r.dynamicGroupsN = &dynamicGroupsN
return r
}
@@ -12857,6 +12318,12 @@ func (r ApiVirtualizationVirtualMachinesListRequest) HasInterfaces(hasInterfaces
return r
}
+// Has IP addresses
+func (r ApiVirtualizationVirtualMachinesListRequest) HasIpAddresses(hasIpAddresses bool) ApiVirtualizationVirtualMachinesListRequest {
+ r.hasIpAddresses = &hasIpAddresses
+ return r
+}
+
// Has a primary IP
func (r ApiVirtualizationVirtualMachinesListRequest) HasPrimaryIp(hasPrimaryIp bool) ApiVirtualizationVirtualMachinesListRequest {
r.hasPrimaryIp = &hasPrimaryIp
@@ -12887,71 +12354,11 @@ func (r ApiVirtualizationVirtualMachinesListRequest) Id(id []string) ApiVirtuali
return r
}
-func (r ApiVirtualizationVirtualMachinesListRequest) IdIc(idIc []string) ApiVirtualizationVirtualMachinesListRequest {
- r.idIc = &idIc
- return r
-}
-
-func (r ApiVirtualizationVirtualMachinesListRequest) IdIe(idIe []string) ApiVirtualizationVirtualMachinesListRequest {
- r.idIe = &idIe
- return r
-}
-
-func (r ApiVirtualizationVirtualMachinesListRequest) IdIew(idIew []string) ApiVirtualizationVirtualMachinesListRequest {
- r.idIew = &idIew
- return r
-}
-
-func (r ApiVirtualizationVirtualMachinesListRequest) IdIre(idIre []string) ApiVirtualizationVirtualMachinesListRequest {
- r.idIre = &idIre
- return r
-}
-
-func (r ApiVirtualizationVirtualMachinesListRequest) IdIsw(idIsw []string) ApiVirtualizationVirtualMachinesListRequest {
- r.idIsw = &idIsw
- return r
-}
-
func (r ApiVirtualizationVirtualMachinesListRequest) IdN(idN []string) ApiVirtualizationVirtualMachinesListRequest {
r.idN = &idN
return r
}
-func (r ApiVirtualizationVirtualMachinesListRequest) IdNic(idNic []string) ApiVirtualizationVirtualMachinesListRequest {
- r.idNic = &idNic
- return r
-}
-
-func (r ApiVirtualizationVirtualMachinesListRequest) IdNie(idNie []string) ApiVirtualizationVirtualMachinesListRequest {
- r.idNie = &idNie
- return r
-}
-
-func (r ApiVirtualizationVirtualMachinesListRequest) IdNiew(idNiew []string) ApiVirtualizationVirtualMachinesListRequest {
- r.idNiew = &idNiew
- return r
-}
-
-func (r ApiVirtualizationVirtualMachinesListRequest) IdNire(idNire []string) ApiVirtualizationVirtualMachinesListRequest {
- r.idNire = &idNire
- return r
-}
-
-func (r ApiVirtualizationVirtualMachinesListRequest) IdNisw(idNisw []string) ApiVirtualizationVirtualMachinesListRequest {
- r.idNisw = &idNisw
- return r
-}
-
-func (r ApiVirtualizationVirtualMachinesListRequest) IdNre(idNre []string) ApiVirtualizationVirtualMachinesListRequest {
- r.idNre = &idNre
- return r
-}
-
-func (r ApiVirtualizationVirtualMachinesListRequest) IdRe(idRe []string) ApiVirtualizationVirtualMachinesListRequest {
- r.idRe = &idRe
- return r
-}
-
func (r ApiVirtualizationVirtualMachinesListRequest) Interfaces(interfaces []string) ApiVirtualizationVirtualMachinesListRequest {
r.interfaces = &interfaces
return r
@@ -12968,6 +12375,12 @@ func (r ApiVirtualizationVirtualMachinesListRequest) InterfacesN(interfacesN []s
return r
}
+// IP addresses (address or ID)
+func (r ApiVirtualizationVirtualMachinesListRequest) IpAddresses(ipAddresses []string) ApiVirtualizationVirtualMachinesListRequest {
+ r.ipAddresses = &ipAddresses
+ return r
+}
+
func (r ApiVirtualizationVirtualMachinesListRequest) LastUpdated(lastUpdated []time.Time) ApiVirtualizationVirtualMachinesListRequest {
r.lastUpdated = &lastUpdated
return r
@@ -13323,8 +12736,7 @@ func (r ApiVirtualizationVirtualMachinesListRequest) RoleIsnull(roleIsnull bool)
return r
}
-// Exclude Role (name or ID)
-func (r ApiVirtualizationVirtualMachinesListRequest) RoleN(roleN string) ApiVirtualizationVirtualMachinesListRequest {
+func (r ApiVirtualizationVirtualMachinesListRequest) RoleN(roleN []string) ApiVirtualizationVirtualMachinesListRequest {
r.roleN = &roleN
return r
}
@@ -13382,8 +12794,7 @@ func (r ApiVirtualizationVirtualMachinesListRequest) Status(status []string) Api
return r
}
-// Exclude Status (name or ID)
-func (r ApiVirtualizationVirtualMachinesListRequest) StatusN(statusN string) ApiVirtualizationVirtualMachinesListRequest {
+func (r ApiVirtualizationVirtualMachinesListRequest) StatusN(statusN []string) ApiVirtualizationVirtualMachinesListRequest {
r.statusN = &statusN
return r
}
@@ -13414,8 +12825,7 @@ func (r ApiVirtualizationVirtualMachinesListRequest) TeamsIsnull(teamsIsnull boo
return r
}
-// Exclude Teams (name or ID)
-func (r ApiVirtualizationVirtualMachinesListRequest) TeamsN(teamsN string) ApiVirtualizationVirtualMachinesListRequest {
+func (r ApiVirtualizationVirtualMachinesListRequest) TeamsN(teamsN []string) ApiVirtualizationVirtualMachinesListRequest {
r.teamsN = &teamsN
return r
}
@@ -13511,6 +12921,12 @@ func (r ApiVirtualizationVirtualMachinesListRequest) Depth(depth int32) ApiVirtu
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiVirtualizationVirtualMachinesListRequest) ExcludeM2m(excludeM2m bool) ApiVirtualizationVirtualMachinesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiVirtualizationVirtualMachinesListRequest) Execute() (*PaginatedVirtualMachineList, *http.Response, error) {
return r.ApiService.VirtualizationVirtualMachinesListExecute(r)
}
@@ -13858,7 +13274,15 @@ func (a *VirtualizationAPIService) VirtualizationVirtualMachinesListExecute(r Ap
parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
}
if r.contactsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", r.contactsN, "form", "")
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
}
if r.created != nil {
t := *r.created
@@ -14010,7 +13434,15 @@ func (a *VirtualizationAPIService) VirtualizationVirtualMachinesListExecute(r Ap
}
}
if r.dynamicGroupsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", r.dynamicGroupsN, "form", "")
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
}
if r.format != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
@@ -14018,6 +13450,9 @@ func (a *VirtualizationAPIService) VirtualizationVirtualMachinesListExecute(r Ap
if r.hasInterfaces != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "has_interfaces", r.hasInterfaces, "form", "")
}
+ if r.hasIpAddresses != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_ip_addresses", r.hasIpAddresses, "form", "")
+ }
if r.hasPrimaryIp != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "has_primary_ip", r.hasPrimaryIp, "form", "")
}
@@ -14041,61 +13476,6 @@ func (a *VirtualizationAPIService) VirtualizationVirtualMachinesListExecute(r Ap
parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
}
}
- if r.idIc != nil {
- t := *r.idIc
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ic", t, "form", "multi")
- }
- }
- if r.idIe != nil {
- t := *r.idIe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ie", t, "form", "multi")
- }
- }
- if r.idIew != nil {
- t := *r.idIew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__iew", t, "form", "multi")
- }
- }
- if r.idIre != nil {
- t := *r.idIre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__ire", t, "form", "multi")
- }
- }
- if r.idIsw != nil {
- t := *r.idIsw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__isw", t, "form", "multi")
- }
- }
if r.idN != nil {
t := *r.idN
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -14107,83 +13487,6 @@ func (a *VirtualizationAPIService) VirtualizationVirtualMachinesListExecute(r Ap
parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
}
}
- if r.idNic != nil {
- t := *r.idNic
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nic", t, "form", "multi")
- }
- }
- if r.idNie != nil {
- t := *r.idNie
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nie", t, "form", "multi")
- }
- }
- if r.idNiew != nil {
- t := *r.idNiew
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__niew", t, "form", "multi")
- }
- }
- if r.idNire != nil {
- t := *r.idNire
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nire", t, "form", "multi")
- }
- }
- if r.idNisw != nil {
- t := *r.idNisw
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nisw", t, "form", "multi")
- }
- }
- if r.idNre != nil {
- t := *r.idNre
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__nre", t, "form", "multi")
- }
- }
- if r.idRe != nil {
- t := *r.idRe
- if reflect.TypeOf(t).Kind() == reflect.Slice {
- s := reflect.ValueOf(t)
- for i := 0; i < s.Len(); i++ {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", s.Index(i).Interface(), "form", "multi")
- }
- } else {
- parameterAddToHeaderOrQuery(localVarQueryParams, "id__re", t, "form", "multi")
- }
- }
if r.interfaces != nil {
t := *r.interfaces
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -14209,6 +13512,17 @@ func (a *VirtualizationAPIService) VirtualizationVirtualMachinesListExecute(r Ap
parameterAddToHeaderOrQuery(localVarQueryParams, "interfaces__n", t, "form", "multi")
}
}
+ if r.ipAddresses != nil {
+ t := *r.ipAddresses
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ip_addresses", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ip_addresses", t, "form", "multi")
+ }
+ }
if r.lastUpdated != nil {
t := *r.lastUpdated
if reflect.TypeOf(t).Kind() == reflect.Slice {
@@ -14829,7 +14143,15 @@ func (a *VirtualizationAPIService) VirtualizationVirtualMachinesListExecute(r Ap
parameterAddToHeaderOrQuery(localVarQueryParams, "role__isnull", r.roleIsnull, "form", "")
}
if r.roleN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", r.roleN, "form", "")
+ t := *r.roleN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "role__n", t, "form", "multi")
+ }
}
if r.services != nil {
t := *r.services
@@ -14918,7 +14240,15 @@ func (a *VirtualizationAPIService) VirtualizationVirtualMachinesListExecute(r Ap
}
}
if r.statusN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", r.statusN, "form", "")
+ t := *r.statusN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "status__n", t, "form", "multi")
+ }
}
if r.tags != nil {
t := *r.tags
@@ -14960,7 +14290,15 @@ func (a *VirtualizationAPIService) VirtualizationVirtualMachinesListExecute(r Ap
parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
}
if r.teamsN != nil {
- parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", r.teamsN, "form", "")
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
}
if r.tenant != nil {
t := *r.tenant
@@ -15109,8 +14447,16 @@ func (a *VirtualizationAPIService) VirtualizationVirtualMachinesListExecute(r Ap
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -15325,6 +14671,7 @@ type ApiVirtualizationVirtualMachinesNotesListRequest struct {
limit *int32
offset *int32
depth *int32
+ excludeM2m *bool
}
func (r ApiVirtualizationVirtualMachinesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiVirtualizationVirtualMachinesNotesListRequest {
@@ -15350,6 +14697,12 @@ func (r ApiVirtualizationVirtualMachinesNotesListRequest) Depth(depth int32) Api
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiVirtualizationVirtualMachinesNotesListRequest) ExcludeM2m(excludeM2m bool) ApiVirtualizationVirtualMachinesNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiVirtualizationVirtualMachinesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
return r.ApiService.VirtualizationVirtualMachinesNotesListExecute(r)
}
@@ -15405,8 +14758,16 @@ func (a *VirtualizationAPIService) VirtualizationVirtualMachinesNotesListExecute
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
@@ -15616,6 +14977,7 @@ type ApiVirtualizationVirtualMachinesRetrieveRequest struct {
id string
format *CircuitsCircuitTerminationsListFormatParameter
depth *int32
+ excludeM2m *bool
}
func (r ApiVirtualizationVirtualMachinesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiVirtualizationVirtualMachinesRetrieveRequest {
@@ -15629,6 +14991,12 @@ func (r ApiVirtualizationVirtualMachinesRetrieveRequest) Depth(depth int32) ApiV
return r
}
+// Exclude many-to-many fields from the response
+func (r ApiVirtualizationVirtualMachinesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiVirtualizationVirtualMachinesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
func (r ApiVirtualizationVirtualMachinesRetrieveRequest) Execute() (*VirtualMachine, *http.Response, error) {
return r.ApiService.VirtualizationVirtualMachinesRetrieveExecute(r)
}
@@ -15678,8 +15046,16 @@ func (a *VirtualizationAPIService) VirtualizationVirtualMachinesRetrieveExecute(
if r.depth != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
} else {
- var defaultValue int32 = 1
- r.depth = &defaultValue
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}
diff --git a/api_wireless.go b/api_wireless.go
new file mode 100644
index 00000000..54653686
--- /dev/null
+++ b/api_wireless.go
@@ -0,0 +1,11819 @@
+/*
+API Documentation
+
+Source of truth and network automation platform
+
+API version: 2.4.21 (2.4)
+*/
+
+// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
+
+package nautobot
+
+import (
+ "time"
+ "bytes"
+ "context"
+ "io"
+ "net/http"
+ "net/url"
+ "strings"
+ "reflect"
+)
+
+
+// WirelessAPIService WirelessAPI service
+type WirelessAPIService service
+
+type ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkDestroyRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ bulkOperationRequest *[]BulkOperationRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkDestroyRequest {
+ r.bulkOperationRequest = &bulkOperationRequest
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkDestroyRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkDestroyExecute(r)
+}
+
+/*
+WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkDestroy Method for WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkDestroy
+
+Destroy a list of controller managed device group radio profile assignment objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkDestroyRequest
+*/
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkDestroy(ctx context.Context) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkDestroyRequest {
+ return ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkDestroyRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkDestroyExecute(r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkDestroyRequest) (*http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodDelete
+ localVarPostBody interface{}
+ formFiles []formFile
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkDestroy")
+ if err != nil {
+ return nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/controller-managed-device-group-radio-profile-assignments/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.bulkOperationRequest == nil {
+ return nil, reportError("bulkOperationRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.bulkOperationRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarHTTPResponse, newErr
+ }
+
+ return localVarHTTPResponse, nil
+}
+
+type ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkPartialUpdateRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ patchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest *[]PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkPartialUpdateRequest) PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest(patchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest []PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkPartialUpdateRequest {
+ r.patchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest = &patchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkPartialUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkPartialUpdateRequest) Execute() ([]ControllerManagedDeviceGroupRadioProfileAssignment, *http.Response, error) {
+ return r.ApiService.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkPartialUpdateExecute(r)
+}
+
+/*
+WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkPartialUpdate Method for WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkPartialUpdate
+
+Partial update a list of controller managed device group radio profile assignment objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkPartialUpdateRequest
+*/
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkPartialUpdate(ctx context.Context) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkPartialUpdateRequest {
+ return ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkPartialUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return []ControllerManagedDeviceGroupRadioProfileAssignment
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkPartialUpdateExecute(r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkPartialUpdateRequest) ([]ControllerManagedDeviceGroupRadioProfileAssignment, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPatch
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue []ControllerManagedDeviceGroupRadioProfileAssignment
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkPartialUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/controller-managed-device-group-radio-profile-assignments/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.patchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.patchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkUpdateRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ bulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest *[]BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkUpdateRequest) BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest(bulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest []BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkUpdateRequest {
+ r.bulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest = &bulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkUpdateRequest) Execute() ([]ControllerManagedDeviceGroupRadioProfileAssignment, *http.Response, error) {
+ return r.ApiService.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkUpdateExecute(r)
+}
+
+/*
+WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkUpdate Method for WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkUpdate
+
+Update a list of controller managed device group radio profile assignment objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkUpdateRequest
+*/
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkUpdate(ctx context.Context) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkUpdateRequest {
+ return ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return []ControllerManagedDeviceGroupRadioProfileAssignment
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkUpdateExecute(r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkUpdateRequest) ([]ControllerManagedDeviceGroupRadioProfileAssignment, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPut
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue []ControllerManagedDeviceGroupRadioProfileAssignment
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsBulkUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/controller-managed-device-group-radio-profile-assignments/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.bulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest == nil {
+ return localVarReturnValue, nil, reportError("bulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.bulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsCreateRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ controllerManagedDeviceGroupRadioProfileAssignmentRequest *ControllerManagedDeviceGroupRadioProfileAssignmentRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsCreateRequest) ControllerManagedDeviceGroupRadioProfileAssignmentRequest(controllerManagedDeviceGroupRadioProfileAssignmentRequest ControllerManagedDeviceGroupRadioProfileAssignmentRequest) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsCreateRequest {
+ r.controllerManagedDeviceGroupRadioProfileAssignmentRequest = &controllerManagedDeviceGroupRadioProfileAssignmentRequest
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsCreateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsCreateRequest) Execute() (*ControllerManagedDeviceGroupRadioProfileAssignment, *http.Response, error) {
+ return r.ApiService.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsCreateExecute(r)
+}
+
+/*
+WirelessControllerManagedDeviceGroupRadioProfileAssignmentsCreate Method for WirelessControllerManagedDeviceGroupRadioProfileAssignmentsCreate
+
+Create one or more controller managed device group radio profile assignment objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsCreateRequest
+*/
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupRadioProfileAssignmentsCreate(ctx context.Context) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsCreateRequest {
+ return ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsCreateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return ControllerManagedDeviceGroupRadioProfileAssignment
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupRadioProfileAssignmentsCreateExecute(r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsCreateRequest) (*ControllerManagedDeviceGroupRadioProfileAssignment, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPost
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *ControllerManagedDeviceGroupRadioProfileAssignment
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsCreate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/controller-managed-device-group-radio-profile-assignments/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.controllerManagedDeviceGroupRadioProfileAssignmentRequest == nil {
+ return localVarReturnValue, nil, reportError("controllerManagedDeviceGroupRadioProfileAssignmentRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.controllerManagedDeviceGroupRadioProfileAssignmentRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsDestroyRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsDestroyRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsDestroyExecute(r)
+}
+
+/*
+WirelessControllerManagedDeviceGroupRadioProfileAssignmentsDestroy Method for WirelessControllerManagedDeviceGroupRadioProfileAssignmentsDestroy
+
+Destroy a controller managed device group radio profile assignment object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this controller managed device group radio profile assignment.
+ @return ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsDestroyRequest
+*/
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupRadioProfileAssignmentsDestroy(ctx context.Context, id string) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsDestroyRequest {
+ return ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsDestroyRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupRadioProfileAssignmentsDestroyExecute(r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsDestroyRequest) (*http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodDelete
+ localVarPostBody interface{}
+ formFiles []formFile
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsDestroy")
+ if err != nil {
+ return nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/controller-managed-device-group-radio-profile-assignments/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarHTTPResponse, newErr
+ }
+
+ return localVarHTTPResponse, nil
+}
+
+type ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ controllerManagedDeviceGroup *[]string
+ controllerManagedDeviceGroupN *[]string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ id *[]string
+ idN *[]string
+ limit *int32
+ offset *int32
+ q *string
+ radioProfile *[]string
+ radioProfileN *[]string
+ sort *string
+ depth *int32
+ excludeM2m *bool
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest) ControllerManagedDeviceGroup(controllerManagedDeviceGroup []string) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest {
+ r.controllerManagedDeviceGroup = &controllerManagedDeviceGroup
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest) ControllerManagedDeviceGroupN(controllerManagedDeviceGroupN []string) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest {
+ r.controllerManagedDeviceGroupN = &controllerManagedDeviceGroupN
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest {
+ r.format = &format
+ return r
+}
+
+// Unique object identifier, either a UUID primary key or a composite key.
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest) Id(id []string) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest {
+ r.id = &id
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest) IdN(idN []string) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest {
+ r.idN = &idN
+ return r
+}
+
+// Number of results to return per page.
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest) Limit(limit int32) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest {
+ r.limit = &limit
+ return r
+}
+
+// The initial index from which to return the results.
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest) Offset(offset int32) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest {
+ r.offset = &offset
+ return r
+}
+
+// Search
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest) Q(q string) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest {
+ r.q = &q
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest) RadioProfile(radioProfile []string) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest {
+ r.radioProfile = &radioProfile
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest) RadioProfileN(radioProfileN []string) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest {
+ r.radioProfileN = &radioProfileN
+ return r
+}
+
+// Which field to use when ordering the results.
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest) Sort(sort string) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest {
+ r.sort = &sort
+ return r
+}
+
+// Serializer Depth
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest) Depth(depth int32) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest) ExcludeM2m(excludeM2m bool) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest) Execute() (*PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList, *http.Response, error) {
+ return r.ApiService.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsListExecute(r)
+}
+
+/*
+WirelessControllerManagedDeviceGroupRadioProfileAssignmentsList Method for WirelessControllerManagedDeviceGroupRadioProfileAssignmentsList
+
+Retrieve a list of controller managed device group radio profile assignment objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest
+*/
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupRadioProfileAssignmentsList(ctx context.Context) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest {
+ return ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupRadioProfileAssignmentsListExecute(r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsListRequest) (*PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsList")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/controller-managed-device-group-radio-profile-assignments/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.controllerManagedDeviceGroup != nil {
+ t := *r.controllerManagedDeviceGroup
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "controller_managed_device_group", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "controller_managed_device_group", t, "form", "multi")
+ }
+ }
+ if r.controllerManagedDeviceGroupN != nil {
+ t := *r.controllerManagedDeviceGroupN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "controller_managed_device_group__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "controller_managed_device_group__n", t, "form", "multi")
+ }
+ }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.id != nil {
+ t := *r.id
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ }
+ }
+ if r.idN != nil {
+ t := *r.idN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
+ }
+ }
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ }
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+ }
+ if r.q != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
+ }
+ if r.radioProfile != nil {
+ t := *r.radioProfile
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "radio_profile", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "radio_profile", t, "form", "multi")
+ }
+ }
+ if r.radioProfileN != nil {
+ t := *r.radioProfileN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "radio_profile__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "radio_profile__n", t, "form", "multi")
+ }
+ }
+ if r.sort != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsPartialUpdateRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ patchedControllerManagedDeviceGroupRadioProfileAssignmentRequest *PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsPartialUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsPartialUpdateRequest) PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest(patchedControllerManagedDeviceGroupRadioProfileAssignmentRequest PatchedControllerManagedDeviceGroupRadioProfileAssignmentRequest) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsPartialUpdateRequest {
+ r.patchedControllerManagedDeviceGroupRadioProfileAssignmentRequest = &patchedControllerManagedDeviceGroupRadioProfileAssignmentRequest
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsPartialUpdateRequest) Execute() (*ControllerManagedDeviceGroupRadioProfileAssignment, *http.Response, error) {
+ return r.ApiService.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsPartialUpdateExecute(r)
+}
+
+/*
+WirelessControllerManagedDeviceGroupRadioProfileAssignmentsPartialUpdate Method for WirelessControllerManagedDeviceGroupRadioProfileAssignmentsPartialUpdate
+
+Partial update a controller managed device group radio profile assignment object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this controller managed device group radio profile assignment.
+ @return ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsPartialUpdateRequest
+*/
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupRadioProfileAssignmentsPartialUpdate(ctx context.Context, id string) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsPartialUpdateRequest {
+ return ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsPartialUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return ControllerManagedDeviceGroupRadioProfileAssignment
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupRadioProfileAssignmentsPartialUpdateExecute(r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsPartialUpdateRequest) (*ControllerManagedDeviceGroupRadioProfileAssignment, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPatch
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *ControllerManagedDeviceGroupRadioProfileAssignment
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsPartialUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/controller-managed-device-group-radio-profile-assignments/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.patchedControllerManagedDeviceGroupRadioProfileAssignmentRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsRetrieveRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ depth *int32
+ excludeM2m *bool
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsRetrieveRequest {
+ r.format = &format
+ return r
+}
+
+// Serializer Depth
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsRetrieveRequest) Depth(depth int32) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsRetrieveRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsRetrieveRequest) Execute() (*ControllerManagedDeviceGroupRadioProfileAssignment, *http.Response, error) {
+ return r.ApiService.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsRetrieveExecute(r)
+}
+
+/*
+WirelessControllerManagedDeviceGroupRadioProfileAssignmentsRetrieve Method for WirelessControllerManagedDeviceGroupRadioProfileAssignmentsRetrieve
+
+Retrieve a controller managed device group radio profile assignment object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this controller managed device group radio profile assignment.
+ @return ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsRetrieveRequest
+*/
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupRadioProfileAssignmentsRetrieve(ctx context.Context, id string) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsRetrieveRequest {
+ return ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsRetrieveRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return ControllerManagedDeviceGroupRadioProfileAssignment
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupRadioProfileAssignmentsRetrieveExecute(r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsRetrieveRequest) (*ControllerManagedDeviceGroupRadioProfileAssignment, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *ControllerManagedDeviceGroupRadioProfileAssignment
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsRetrieve")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/controller-managed-device-group-radio-profile-assignments/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsUpdateRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ id string
+ controllerManagedDeviceGroupRadioProfileAssignmentRequest *ControllerManagedDeviceGroupRadioProfileAssignmentRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsUpdateRequest) ControllerManagedDeviceGroupRadioProfileAssignmentRequest(controllerManagedDeviceGroupRadioProfileAssignmentRequest ControllerManagedDeviceGroupRadioProfileAssignmentRequest) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsUpdateRequest {
+ r.controllerManagedDeviceGroupRadioProfileAssignmentRequest = &controllerManagedDeviceGroupRadioProfileAssignmentRequest
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsUpdateRequest) Execute() (*ControllerManagedDeviceGroupRadioProfileAssignment, *http.Response, error) {
+ return r.ApiService.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsUpdateExecute(r)
+}
+
+/*
+WirelessControllerManagedDeviceGroupRadioProfileAssignmentsUpdate Method for WirelessControllerManagedDeviceGroupRadioProfileAssignmentsUpdate
+
+Update a controller managed device group radio profile assignment object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this controller managed device group radio profile assignment.
+ @return ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsUpdateRequest
+*/
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupRadioProfileAssignmentsUpdate(ctx context.Context, id string) ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsUpdateRequest {
+ return ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return ControllerManagedDeviceGroupRadioProfileAssignment
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupRadioProfileAssignmentsUpdateExecute(r ApiWirelessControllerManagedDeviceGroupRadioProfileAssignmentsUpdateRequest) (*ControllerManagedDeviceGroupRadioProfileAssignment, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPut
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *ControllerManagedDeviceGroupRadioProfileAssignment
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessControllerManagedDeviceGroupRadioProfileAssignmentsUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/controller-managed-device-group-radio-profile-assignments/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.controllerManagedDeviceGroupRadioProfileAssignmentRequest == nil {
+ return localVarReturnValue, nil, reportError("controllerManagedDeviceGroupRadioProfileAssignmentRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.controllerManagedDeviceGroupRadioProfileAssignmentRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkDestroyRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ bulkOperationRequest *[]BulkOperationRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkDestroyRequest {
+ r.bulkOperationRequest = &bulkOperationRequest
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkDestroyRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkDestroyExecute(r)
+}
+
+/*
+WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkDestroy Method for WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkDestroy
+
+Destroy a list of controller managed device group wireless network assignment objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkDestroyRequest
+*/
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkDestroy(ctx context.Context) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkDestroyRequest {
+ return ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkDestroyRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkDestroyExecute(r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkDestroyRequest) (*http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodDelete
+ localVarPostBody interface{}
+ formFiles []formFile
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkDestroy")
+ if err != nil {
+ return nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/controller-managed-device-group-wireless-network-assignments/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.bulkOperationRequest == nil {
+ return nil, reportError("bulkOperationRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.bulkOperationRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarHTTPResponse, newErr
+ }
+
+ return localVarHTTPResponse, nil
+}
+
+type ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkPartialUpdateRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ patchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest *[]PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkPartialUpdateRequest) PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest(patchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest []PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkPartialUpdateRequest {
+ r.patchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest = &patchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkPartialUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkPartialUpdateRequest) Execute() ([]ControllerManagedDeviceGroupWirelessNetworkAssignment, *http.Response, error) {
+ return r.ApiService.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkPartialUpdateExecute(r)
+}
+
+/*
+WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkPartialUpdate Method for WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkPartialUpdate
+
+Partial update a list of controller managed device group wireless network assignment objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkPartialUpdateRequest
+*/
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkPartialUpdate(ctx context.Context) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkPartialUpdateRequest {
+ return ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkPartialUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return []ControllerManagedDeviceGroupWirelessNetworkAssignment
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkPartialUpdateExecute(r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkPartialUpdateRequest) ([]ControllerManagedDeviceGroupWirelessNetworkAssignment, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPatch
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue []ControllerManagedDeviceGroupWirelessNetworkAssignment
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkPartialUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/controller-managed-device-group-wireless-network-assignments/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.patchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.patchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkUpdateRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ bulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest *[]BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkUpdateRequest) BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest(bulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest []BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkUpdateRequest {
+ r.bulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest = &bulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkUpdateRequest) Execute() ([]ControllerManagedDeviceGroupWirelessNetworkAssignment, *http.Response, error) {
+ return r.ApiService.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkUpdateExecute(r)
+}
+
+/*
+WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkUpdate Method for WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkUpdate
+
+Update a list of controller managed device group wireless network assignment objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkUpdateRequest
+*/
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkUpdate(ctx context.Context) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkUpdateRequest {
+ return ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return []ControllerManagedDeviceGroupWirelessNetworkAssignment
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkUpdateExecute(r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkUpdateRequest) ([]ControllerManagedDeviceGroupWirelessNetworkAssignment, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPut
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue []ControllerManagedDeviceGroupWirelessNetworkAssignment
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsBulkUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/controller-managed-device-group-wireless-network-assignments/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.bulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest == nil {
+ return localVarReturnValue, nil, reportError("bulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.bulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsCreateRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ controllerManagedDeviceGroupWirelessNetworkAssignmentRequest *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsCreateRequest) ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest(controllerManagedDeviceGroupWirelessNetworkAssignmentRequest ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsCreateRequest {
+ r.controllerManagedDeviceGroupWirelessNetworkAssignmentRequest = &controllerManagedDeviceGroupWirelessNetworkAssignmentRequest
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsCreateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsCreateRequest) Execute() (*ControllerManagedDeviceGroupWirelessNetworkAssignment, *http.Response, error) {
+ return r.ApiService.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsCreateExecute(r)
+}
+
+/*
+WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsCreate Method for WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsCreate
+
+Create one or more controller managed device group wireless network assignment objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsCreateRequest
+*/
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsCreate(ctx context.Context) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsCreateRequest {
+ return ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsCreateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return ControllerManagedDeviceGroupWirelessNetworkAssignment
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsCreateExecute(r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsCreateRequest) (*ControllerManagedDeviceGroupWirelessNetworkAssignment, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPost
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *ControllerManagedDeviceGroupWirelessNetworkAssignment
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsCreate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/controller-managed-device-group-wireless-network-assignments/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.controllerManagedDeviceGroupWirelessNetworkAssignmentRequest == nil {
+ return localVarReturnValue, nil, reportError("controllerManagedDeviceGroupWirelessNetworkAssignmentRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.controllerManagedDeviceGroupWirelessNetworkAssignmentRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsDestroyRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsDestroyRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsDestroyExecute(r)
+}
+
+/*
+WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsDestroy Method for WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsDestroy
+
+Destroy a controller managed device group wireless network assignment object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this controller managed device group wireless network assignment.
+ @return ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsDestroyRequest
+*/
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsDestroy(ctx context.Context, id string) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsDestroyRequest {
+ return ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsDestroyRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsDestroyExecute(r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsDestroyRequest) (*http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodDelete
+ localVarPostBody interface{}
+ formFiles []formFile
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsDestroy")
+ if err != nil {
+ return nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/controller-managed-device-group-wireless-network-assignments/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarHTTPResponse, newErr
+ }
+
+ return localVarHTTPResponse, nil
+}
+
+type ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ controllerManagedDeviceGroup *[]string
+ controllerManagedDeviceGroupN *[]string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ id *[]string
+ idN *[]string
+ limit *int32
+ offset *int32
+ q *string
+ sort *string
+ vlan *string
+ vlanIsnull *bool
+ vlanN *string
+ wirelessNetwork *[]string
+ wirelessNetworkN *[]string
+ depth *int32
+ excludeM2m *bool
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest) ControllerManagedDeviceGroup(controllerManagedDeviceGroup []string) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest {
+ r.controllerManagedDeviceGroup = &controllerManagedDeviceGroup
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest) ControllerManagedDeviceGroupN(controllerManagedDeviceGroupN []string) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest {
+ r.controllerManagedDeviceGroupN = &controllerManagedDeviceGroupN
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest {
+ r.format = &format
+ return r
+}
+
+// Unique object identifier, either a UUID primary key or a composite key.
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest) Id(id []string) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest {
+ r.id = &id
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest) IdN(idN []string) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest {
+ r.idN = &idN
+ return r
+}
+
+// Number of results to return per page.
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest) Limit(limit int32) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest {
+ r.limit = &limit
+ return r
+}
+
+// The initial index from which to return the results.
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest) Offset(offset int32) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest {
+ r.offset = &offset
+ return r
+}
+
+// Search
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest) Q(q string) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest {
+ r.q = &q
+ return r
+}
+
+// Which field to use when ordering the results.
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest) Sort(sort string) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest {
+ r.sort = &sort
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest) Vlan(vlan string) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest {
+ r.vlan = &vlan
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest) VlanIsnull(vlanIsnull bool) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest {
+ r.vlanIsnull = &vlanIsnull
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest) VlanN(vlanN string) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest {
+ r.vlanN = &vlanN
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest) WirelessNetwork(wirelessNetwork []string) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest {
+ r.wirelessNetwork = &wirelessNetwork
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest) WirelessNetworkN(wirelessNetworkN []string) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest {
+ r.wirelessNetworkN = &wirelessNetworkN
+ return r
+}
+
+// Serializer Depth
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest) Depth(depth int32) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest) ExcludeM2m(excludeM2m bool) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest) Execute() (*PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList, *http.Response, error) {
+ return r.ApiService.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListExecute(r)
+}
+
+/*
+WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsList Method for WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsList
+
+Retrieve a list of controller managed device group wireless network assignment objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest
+*/
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsList(ctx context.Context) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest {
+ return ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListExecute(r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsListRequest) (*PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsList")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/controller-managed-device-group-wireless-network-assignments/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.controllerManagedDeviceGroup != nil {
+ t := *r.controllerManagedDeviceGroup
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "controller_managed_device_group", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "controller_managed_device_group", t, "form", "multi")
+ }
+ }
+ if r.controllerManagedDeviceGroupN != nil {
+ t := *r.controllerManagedDeviceGroupN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "controller_managed_device_group__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "controller_managed_device_group__n", t, "form", "multi")
+ }
+ }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.id != nil {
+ t := *r.id
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ }
+ }
+ if r.idN != nil {
+ t := *r.idN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
+ }
+ }
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ }
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+ }
+ if r.q != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
+ }
+ if r.sort != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
+ }
+ if r.vlan != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "vlan", r.vlan, "form", "")
+ }
+ if r.vlanIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "vlan__isnull", r.vlanIsnull, "form", "")
+ }
+ if r.vlanN != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "vlan__n", r.vlanN, "form", "")
+ }
+ if r.wirelessNetwork != nil {
+ t := *r.wirelessNetwork
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "wireless_network", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "wireless_network", t, "form", "multi")
+ }
+ }
+ if r.wirelessNetworkN != nil {
+ t := *r.wirelessNetworkN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "wireless_network__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "wireless_network__n", t, "form", "multi")
+ }
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsPartialUpdateRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ patchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest *PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsPartialUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsPartialUpdateRequest) PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest(patchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest PatchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsPartialUpdateRequest {
+ r.patchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest = &patchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsPartialUpdateRequest) Execute() (*ControllerManagedDeviceGroupWirelessNetworkAssignment, *http.Response, error) {
+ return r.ApiService.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsPartialUpdateExecute(r)
+}
+
+/*
+WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsPartialUpdate Method for WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsPartialUpdate
+
+Partial update a controller managed device group wireless network assignment object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this controller managed device group wireless network assignment.
+ @return ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsPartialUpdateRequest
+*/
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsPartialUpdate(ctx context.Context, id string) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsPartialUpdateRequest {
+ return ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsPartialUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return ControllerManagedDeviceGroupWirelessNetworkAssignment
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsPartialUpdateExecute(r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsPartialUpdateRequest) (*ControllerManagedDeviceGroupWirelessNetworkAssignment, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPatch
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *ControllerManagedDeviceGroupWirelessNetworkAssignment
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsPartialUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/controller-managed-device-group-wireless-network-assignments/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.patchedControllerManagedDeviceGroupWirelessNetworkAssignmentRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsRetrieveRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ depth *int32
+ excludeM2m *bool
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsRetrieveRequest {
+ r.format = &format
+ return r
+}
+
+// Serializer Depth
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsRetrieveRequest) Depth(depth int32) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsRetrieveRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsRetrieveRequest) Execute() (*ControllerManagedDeviceGroupWirelessNetworkAssignment, *http.Response, error) {
+ return r.ApiService.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsRetrieveExecute(r)
+}
+
+/*
+WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsRetrieve Method for WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsRetrieve
+
+Retrieve a controller managed device group wireless network assignment object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this controller managed device group wireless network assignment.
+ @return ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsRetrieveRequest
+*/
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsRetrieve(ctx context.Context, id string) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsRetrieveRequest {
+ return ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsRetrieveRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return ControllerManagedDeviceGroupWirelessNetworkAssignment
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsRetrieveExecute(r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsRetrieveRequest) (*ControllerManagedDeviceGroupWirelessNetworkAssignment, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *ControllerManagedDeviceGroupWirelessNetworkAssignment
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsRetrieve")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/controller-managed-device-group-wireless-network-assignments/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsUpdateRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ id string
+ controllerManagedDeviceGroupWirelessNetworkAssignmentRequest *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsUpdateRequest) ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest(controllerManagedDeviceGroupWirelessNetworkAssignmentRequest ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsUpdateRequest {
+ r.controllerManagedDeviceGroupWirelessNetworkAssignmentRequest = &controllerManagedDeviceGroupWirelessNetworkAssignmentRequest
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsUpdateRequest) Execute() (*ControllerManagedDeviceGroupWirelessNetworkAssignment, *http.Response, error) {
+ return r.ApiService.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsUpdateExecute(r)
+}
+
+/*
+WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsUpdate Method for WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsUpdate
+
+Update a controller managed device group wireless network assignment object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this controller managed device group wireless network assignment.
+ @return ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsUpdateRequest
+*/
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsUpdate(ctx context.Context, id string) ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsUpdateRequest {
+ return ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return ControllerManagedDeviceGroupWirelessNetworkAssignment
+func (a *WirelessAPIService) WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsUpdateExecute(r ApiWirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsUpdateRequest) (*ControllerManagedDeviceGroupWirelessNetworkAssignment, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPut
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *ControllerManagedDeviceGroupWirelessNetworkAssignment
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessControllerManagedDeviceGroupWirelessNetworkAssignmentsUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/controller-managed-device-group-wireless-network-assignments/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.controllerManagedDeviceGroupWirelessNetworkAssignmentRequest == nil {
+ return localVarReturnValue, nil, reportError("controllerManagedDeviceGroupWirelessNetworkAssignmentRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.controllerManagedDeviceGroupWirelessNetworkAssignmentRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessRadioProfilesBulkDestroyRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ bulkOperationRequest *[]BulkOperationRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessRadioProfilesBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiWirelessRadioProfilesBulkDestroyRequest {
+ r.bulkOperationRequest = &bulkOperationRequest
+ return r
+}
+
+func (r ApiWirelessRadioProfilesBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessRadioProfilesBulkDestroyRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessRadioProfilesBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.WirelessRadioProfilesBulkDestroyExecute(r)
+}
+
+/*
+WirelessRadioProfilesBulkDestroy Method for WirelessRadioProfilesBulkDestroy
+
+Destroy a list of radio profile objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiWirelessRadioProfilesBulkDestroyRequest
+*/
+func (a *WirelessAPIService) WirelessRadioProfilesBulkDestroy(ctx context.Context) ApiWirelessRadioProfilesBulkDestroyRequest {
+ return ApiWirelessRadioProfilesBulkDestroyRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+func (a *WirelessAPIService) WirelessRadioProfilesBulkDestroyExecute(r ApiWirelessRadioProfilesBulkDestroyRequest) (*http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodDelete
+ localVarPostBody interface{}
+ formFiles []formFile
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessRadioProfilesBulkDestroy")
+ if err != nil {
+ return nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/radio-profiles/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.bulkOperationRequest == nil {
+ return nil, reportError("bulkOperationRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.bulkOperationRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarHTTPResponse, newErr
+ }
+
+ return localVarHTTPResponse, nil
+}
+
+type ApiWirelessRadioProfilesBulkPartialUpdateRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ patchedBulkWritableRadioProfileRequest *[]PatchedBulkWritableRadioProfileRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessRadioProfilesBulkPartialUpdateRequest) PatchedBulkWritableRadioProfileRequest(patchedBulkWritableRadioProfileRequest []PatchedBulkWritableRadioProfileRequest) ApiWirelessRadioProfilesBulkPartialUpdateRequest {
+ r.patchedBulkWritableRadioProfileRequest = &patchedBulkWritableRadioProfileRequest
+ return r
+}
+
+func (r ApiWirelessRadioProfilesBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessRadioProfilesBulkPartialUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessRadioProfilesBulkPartialUpdateRequest) Execute() ([]RadioProfile, *http.Response, error) {
+ return r.ApiService.WirelessRadioProfilesBulkPartialUpdateExecute(r)
+}
+
+/*
+WirelessRadioProfilesBulkPartialUpdate Method for WirelessRadioProfilesBulkPartialUpdate
+
+Partial update a list of radio profile objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiWirelessRadioProfilesBulkPartialUpdateRequest
+*/
+func (a *WirelessAPIService) WirelessRadioProfilesBulkPartialUpdate(ctx context.Context) ApiWirelessRadioProfilesBulkPartialUpdateRequest {
+ return ApiWirelessRadioProfilesBulkPartialUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return []RadioProfile
+func (a *WirelessAPIService) WirelessRadioProfilesBulkPartialUpdateExecute(r ApiWirelessRadioProfilesBulkPartialUpdateRequest) ([]RadioProfile, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPatch
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue []RadioProfile
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessRadioProfilesBulkPartialUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/radio-profiles/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.patchedBulkWritableRadioProfileRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritableRadioProfileRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.patchedBulkWritableRadioProfileRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessRadioProfilesBulkUpdateRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ bulkWritableRadioProfileRequest *[]BulkWritableRadioProfileRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessRadioProfilesBulkUpdateRequest) BulkWritableRadioProfileRequest(bulkWritableRadioProfileRequest []BulkWritableRadioProfileRequest) ApiWirelessRadioProfilesBulkUpdateRequest {
+ r.bulkWritableRadioProfileRequest = &bulkWritableRadioProfileRequest
+ return r
+}
+
+func (r ApiWirelessRadioProfilesBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessRadioProfilesBulkUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessRadioProfilesBulkUpdateRequest) Execute() ([]RadioProfile, *http.Response, error) {
+ return r.ApiService.WirelessRadioProfilesBulkUpdateExecute(r)
+}
+
+/*
+WirelessRadioProfilesBulkUpdate Method for WirelessRadioProfilesBulkUpdate
+
+Update a list of radio profile objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiWirelessRadioProfilesBulkUpdateRequest
+*/
+func (a *WirelessAPIService) WirelessRadioProfilesBulkUpdate(ctx context.Context) ApiWirelessRadioProfilesBulkUpdateRequest {
+ return ApiWirelessRadioProfilesBulkUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return []RadioProfile
+func (a *WirelessAPIService) WirelessRadioProfilesBulkUpdateExecute(r ApiWirelessRadioProfilesBulkUpdateRequest) ([]RadioProfile, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPut
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue []RadioProfile
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessRadioProfilesBulkUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/radio-profiles/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.bulkWritableRadioProfileRequest == nil {
+ return localVarReturnValue, nil, reportError("bulkWritableRadioProfileRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.bulkWritableRadioProfileRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessRadioProfilesCreateRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ radioProfileRequest *RadioProfileRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessRadioProfilesCreateRequest) RadioProfileRequest(radioProfileRequest RadioProfileRequest) ApiWirelessRadioProfilesCreateRequest {
+ r.radioProfileRequest = &radioProfileRequest
+ return r
+}
+
+func (r ApiWirelessRadioProfilesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessRadioProfilesCreateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessRadioProfilesCreateRequest) Execute() (*RadioProfile, *http.Response, error) {
+ return r.ApiService.WirelessRadioProfilesCreateExecute(r)
+}
+
+/*
+WirelessRadioProfilesCreate Method for WirelessRadioProfilesCreate
+
+Create one or more radio profile objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiWirelessRadioProfilesCreateRequest
+*/
+func (a *WirelessAPIService) WirelessRadioProfilesCreate(ctx context.Context) ApiWirelessRadioProfilesCreateRequest {
+ return ApiWirelessRadioProfilesCreateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return RadioProfile
+func (a *WirelessAPIService) WirelessRadioProfilesCreateExecute(r ApiWirelessRadioProfilesCreateRequest) (*RadioProfile, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPost
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *RadioProfile
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessRadioProfilesCreate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/radio-profiles/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.radioProfileRequest == nil {
+ return localVarReturnValue, nil, reportError("radioProfileRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.radioProfileRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessRadioProfilesDestroyRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessRadioProfilesDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessRadioProfilesDestroyRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessRadioProfilesDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.WirelessRadioProfilesDestroyExecute(r)
+}
+
+/*
+WirelessRadioProfilesDestroy Method for WirelessRadioProfilesDestroy
+
+Destroy a radio profile object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this radio profile.
+ @return ApiWirelessRadioProfilesDestroyRequest
+*/
+func (a *WirelessAPIService) WirelessRadioProfilesDestroy(ctx context.Context, id string) ApiWirelessRadioProfilesDestroyRequest {
+ return ApiWirelessRadioProfilesDestroyRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+func (a *WirelessAPIService) WirelessRadioProfilesDestroyExecute(r ApiWirelessRadioProfilesDestroyRequest) (*http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodDelete
+ localVarPostBody interface{}
+ formFiles []formFile
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessRadioProfilesDestroy")
+ if err != nil {
+ return nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/radio-profiles/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarHTTPResponse, newErr
+ }
+
+ return localVarHTTPResponse, nil
+}
+
+type ApiWirelessRadioProfilesListRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ allowedChannelList *[]string
+ channelWidth *float32
+ contacts *[]string
+ contactsIsnull *bool
+ contactsN *[]string
+ controllerManagedDeviceGroups *[]string
+ controllerManagedDeviceGroupsIsnull *bool
+ controllerManagedDeviceGroupsN *[]string
+ created *[]time.Time
+ createdGt *[]time.Time
+ createdGte *[]time.Time
+ createdIsnull *bool
+ createdLt *[]time.Time
+ createdLte *[]time.Time
+ createdN *[]time.Time
+ dynamicGroups *[]string
+ dynamicGroupsN *[]string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ frequency *[]string
+ frequencyIc *[]string
+ frequencyIe *[]string
+ frequencyIew *[]string
+ frequencyIre *[]string
+ frequencyIsw *[]string
+ frequencyN *[]string
+ frequencyNic *[]string
+ frequencyNie *[]string
+ frequencyNiew *[]string
+ frequencyNire *[]string
+ frequencyNisw *[]string
+ frequencyNre *[]string
+ frequencyRe *[]string
+ hasControllerManagedDeviceGroups *bool
+ id *[]string
+ idN *[]string
+ lastUpdated *[]time.Time
+ lastUpdatedGt *[]time.Time
+ lastUpdatedGte *[]time.Time
+ lastUpdatedIsnull *bool
+ lastUpdatedLt *[]time.Time
+ lastUpdatedLte *[]time.Time
+ lastUpdatedN *[]time.Time
+ limit *int32
+ name *[]string
+ nameIc *[]string
+ nameIe *[]string
+ nameIew *[]string
+ nameIre *[]string
+ nameIsw *[]string
+ nameN *[]string
+ nameNic *[]string
+ nameNie *[]string
+ nameNiew *[]string
+ nameNire *[]string
+ nameNisw *[]string
+ nameNre *[]string
+ nameRe *[]string
+ offset *int32
+ q *string
+ regulatoryDomain *[]string
+ regulatoryDomainIc *[]string
+ regulatoryDomainIe *[]string
+ regulatoryDomainIew *[]string
+ regulatoryDomainIre *[]string
+ regulatoryDomainIsw *[]string
+ regulatoryDomainN *[]string
+ regulatoryDomainNic *[]string
+ regulatoryDomainNie *[]string
+ regulatoryDomainNiew *[]string
+ regulatoryDomainNire *[]string
+ regulatoryDomainNisw *[]string
+ regulatoryDomainNre *[]string
+ regulatoryDomainRe *[]string
+ rxPowerMin *[]int32
+ rxPowerMinGt *[]int32
+ rxPowerMinGte *[]int32
+ rxPowerMinIsnull *bool
+ rxPowerMinLt *[]int32
+ rxPowerMinLte *[]int32
+ rxPowerMinN *[]int32
+ sort *string
+ supportedDataRates *[]string
+ supportedDataRatesN *[]string
+ tags *[]string
+ tagsIsnull *bool
+ tagsN *[]string
+ teams *[]string
+ teamsIsnull *bool
+ teamsN *[]string
+ txPowerMax *[]int32
+ txPowerMaxGt *[]int32
+ txPowerMaxGte *[]int32
+ txPowerMaxIsnull *bool
+ txPowerMaxLt *[]int32
+ txPowerMaxLte *[]int32
+ txPowerMaxN *[]int32
+ txPowerMin *[]int32
+ txPowerMinGt *[]int32
+ txPowerMinGte *[]int32
+ txPowerMinIsnull *bool
+ txPowerMinLt *[]int32
+ txPowerMinLte *[]int32
+ txPowerMinN *[]int32
+ depth *int32
+ excludeM2m *bool
+}
+
+func (r ApiWirelessRadioProfilesListRequest) AllowedChannelList(allowedChannelList []string) ApiWirelessRadioProfilesListRequest {
+ r.allowedChannelList = &allowedChannelList
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) ChannelWidth(channelWidth float32) ApiWirelessRadioProfilesListRequest {
+ r.channelWidth = &channelWidth
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) Contacts(contacts []string) ApiWirelessRadioProfilesListRequest {
+ r.contacts = &contacts
+ return r
+}
+
+// Contacts (name or ID) is null
+func (r ApiWirelessRadioProfilesListRequest) ContactsIsnull(contactsIsnull bool) ApiWirelessRadioProfilesListRequest {
+ r.contactsIsnull = &contactsIsnull
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) ContactsN(contactsN []string) ApiWirelessRadioProfilesListRequest {
+ r.contactsN = &contactsN
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) ControllerManagedDeviceGroups(controllerManagedDeviceGroups []string) ApiWirelessRadioProfilesListRequest {
+ r.controllerManagedDeviceGroups = &controllerManagedDeviceGroups
+ return r
+}
+
+// Controller Managed Device Groups (name or ID) is null
+func (r ApiWirelessRadioProfilesListRequest) ControllerManagedDeviceGroupsIsnull(controllerManagedDeviceGroupsIsnull bool) ApiWirelessRadioProfilesListRequest {
+ r.controllerManagedDeviceGroupsIsnull = &controllerManagedDeviceGroupsIsnull
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) ControllerManagedDeviceGroupsN(controllerManagedDeviceGroupsN []string) ApiWirelessRadioProfilesListRequest {
+ r.controllerManagedDeviceGroupsN = &controllerManagedDeviceGroupsN
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) Created(created []time.Time) ApiWirelessRadioProfilesListRequest {
+ r.created = &created
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) CreatedGt(createdGt []time.Time) ApiWirelessRadioProfilesListRequest {
+ r.createdGt = &createdGt
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) CreatedGte(createdGte []time.Time) ApiWirelessRadioProfilesListRequest {
+ r.createdGte = &createdGte
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) CreatedIsnull(createdIsnull bool) ApiWirelessRadioProfilesListRequest {
+ r.createdIsnull = &createdIsnull
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) CreatedLt(createdLt []time.Time) ApiWirelessRadioProfilesListRequest {
+ r.createdLt = &createdLt
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) CreatedLte(createdLte []time.Time) ApiWirelessRadioProfilesListRequest {
+ r.createdLte = &createdLte
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) CreatedN(createdN []time.Time) ApiWirelessRadioProfilesListRequest {
+ r.createdN = &createdN
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) DynamicGroups(dynamicGroups []string) ApiWirelessRadioProfilesListRequest {
+ r.dynamicGroups = &dynamicGroups
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiWirelessRadioProfilesListRequest {
+ r.dynamicGroupsN = &dynamicGroupsN
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessRadioProfilesListRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) Frequency(frequency []string) ApiWirelessRadioProfilesListRequest {
+ r.frequency = &frequency
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) FrequencyIc(frequencyIc []string) ApiWirelessRadioProfilesListRequest {
+ r.frequencyIc = &frequencyIc
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) FrequencyIe(frequencyIe []string) ApiWirelessRadioProfilesListRequest {
+ r.frequencyIe = &frequencyIe
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) FrequencyIew(frequencyIew []string) ApiWirelessRadioProfilesListRequest {
+ r.frequencyIew = &frequencyIew
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) FrequencyIre(frequencyIre []string) ApiWirelessRadioProfilesListRequest {
+ r.frequencyIre = &frequencyIre
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) FrequencyIsw(frequencyIsw []string) ApiWirelessRadioProfilesListRequest {
+ r.frequencyIsw = &frequencyIsw
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) FrequencyN(frequencyN []string) ApiWirelessRadioProfilesListRequest {
+ r.frequencyN = &frequencyN
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) FrequencyNic(frequencyNic []string) ApiWirelessRadioProfilesListRequest {
+ r.frequencyNic = &frequencyNic
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) FrequencyNie(frequencyNie []string) ApiWirelessRadioProfilesListRequest {
+ r.frequencyNie = &frequencyNie
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) FrequencyNiew(frequencyNiew []string) ApiWirelessRadioProfilesListRequest {
+ r.frequencyNiew = &frequencyNiew
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) FrequencyNire(frequencyNire []string) ApiWirelessRadioProfilesListRequest {
+ r.frequencyNire = &frequencyNire
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) FrequencyNisw(frequencyNisw []string) ApiWirelessRadioProfilesListRequest {
+ r.frequencyNisw = &frequencyNisw
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) FrequencyNre(frequencyNre []string) ApiWirelessRadioProfilesListRequest {
+ r.frequencyNre = &frequencyNre
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) FrequencyRe(frequencyRe []string) ApiWirelessRadioProfilesListRequest {
+ r.frequencyRe = &frequencyRe
+ return r
+}
+
+// Has controller managed device groups
+func (r ApiWirelessRadioProfilesListRequest) HasControllerManagedDeviceGroups(hasControllerManagedDeviceGroups bool) ApiWirelessRadioProfilesListRequest {
+ r.hasControllerManagedDeviceGroups = &hasControllerManagedDeviceGroups
+ return r
+}
+
+// Unique object identifier, either a UUID primary key or a composite key.
+func (r ApiWirelessRadioProfilesListRequest) Id(id []string) ApiWirelessRadioProfilesListRequest {
+ r.id = &id
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) IdN(idN []string) ApiWirelessRadioProfilesListRequest {
+ r.idN = &idN
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) LastUpdated(lastUpdated []time.Time) ApiWirelessRadioProfilesListRequest {
+ r.lastUpdated = &lastUpdated
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiWirelessRadioProfilesListRequest {
+ r.lastUpdatedGt = &lastUpdatedGt
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiWirelessRadioProfilesListRequest {
+ r.lastUpdatedGte = &lastUpdatedGte
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) LastUpdatedIsnull(lastUpdatedIsnull bool) ApiWirelessRadioProfilesListRequest {
+ r.lastUpdatedIsnull = &lastUpdatedIsnull
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiWirelessRadioProfilesListRequest {
+ r.lastUpdatedLt = &lastUpdatedLt
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiWirelessRadioProfilesListRequest {
+ r.lastUpdatedLte = &lastUpdatedLte
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiWirelessRadioProfilesListRequest {
+ r.lastUpdatedN = &lastUpdatedN
+ return r
+}
+
+// Number of results to return per page.
+func (r ApiWirelessRadioProfilesListRequest) Limit(limit int32) ApiWirelessRadioProfilesListRequest {
+ r.limit = &limit
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) Name(name []string) ApiWirelessRadioProfilesListRequest {
+ r.name = &name
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) NameIc(nameIc []string) ApiWirelessRadioProfilesListRequest {
+ r.nameIc = &nameIc
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) NameIe(nameIe []string) ApiWirelessRadioProfilesListRequest {
+ r.nameIe = &nameIe
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) NameIew(nameIew []string) ApiWirelessRadioProfilesListRequest {
+ r.nameIew = &nameIew
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) NameIre(nameIre []string) ApiWirelessRadioProfilesListRequest {
+ r.nameIre = &nameIre
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) NameIsw(nameIsw []string) ApiWirelessRadioProfilesListRequest {
+ r.nameIsw = &nameIsw
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) NameN(nameN []string) ApiWirelessRadioProfilesListRequest {
+ r.nameN = &nameN
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) NameNic(nameNic []string) ApiWirelessRadioProfilesListRequest {
+ r.nameNic = &nameNic
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) NameNie(nameNie []string) ApiWirelessRadioProfilesListRequest {
+ r.nameNie = &nameNie
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) NameNiew(nameNiew []string) ApiWirelessRadioProfilesListRequest {
+ r.nameNiew = &nameNiew
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) NameNire(nameNire []string) ApiWirelessRadioProfilesListRequest {
+ r.nameNire = &nameNire
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) NameNisw(nameNisw []string) ApiWirelessRadioProfilesListRequest {
+ r.nameNisw = &nameNisw
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) NameNre(nameNre []string) ApiWirelessRadioProfilesListRequest {
+ r.nameNre = &nameNre
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) NameRe(nameRe []string) ApiWirelessRadioProfilesListRequest {
+ r.nameRe = &nameRe
+ return r
+}
+
+// The initial index from which to return the results.
+func (r ApiWirelessRadioProfilesListRequest) Offset(offset int32) ApiWirelessRadioProfilesListRequest {
+ r.offset = &offset
+ return r
+}
+
+// Search
+func (r ApiWirelessRadioProfilesListRequest) Q(q string) ApiWirelessRadioProfilesListRequest {
+ r.q = &q
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) RegulatoryDomain(regulatoryDomain []string) ApiWirelessRadioProfilesListRequest {
+ r.regulatoryDomain = ®ulatoryDomain
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) RegulatoryDomainIc(regulatoryDomainIc []string) ApiWirelessRadioProfilesListRequest {
+ r.regulatoryDomainIc = ®ulatoryDomainIc
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) RegulatoryDomainIe(regulatoryDomainIe []string) ApiWirelessRadioProfilesListRequest {
+ r.regulatoryDomainIe = ®ulatoryDomainIe
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) RegulatoryDomainIew(regulatoryDomainIew []string) ApiWirelessRadioProfilesListRequest {
+ r.regulatoryDomainIew = ®ulatoryDomainIew
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) RegulatoryDomainIre(regulatoryDomainIre []string) ApiWirelessRadioProfilesListRequest {
+ r.regulatoryDomainIre = ®ulatoryDomainIre
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) RegulatoryDomainIsw(regulatoryDomainIsw []string) ApiWirelessRadioProfilesListRequest {
+ r.regulatoryDomainIsw = ®ulatoryDomainIsw
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) RegulatoryDomainN(regulatoryDomainN []string) ApiWirelessRadioProfilesListRequest {
+ r.regulatoryDomainN = ®ulatoryDomainN
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) RegulatoryDomainNic(regulatoryDomainNic []string) ApiWirelessRadioProfilesListRequest {
+ r.regulatoryDomainNic = ®ulatoryDomainNic
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) RegulatoryDomainNie(regulatoryDomainNie []string) ApiWirelessRadioProfilesListRequest {
+ r.regulatoryDomainNie = ®ulatoryDomainNie
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) RegulatoryDomainNiew(regulatoryDomainNiew []string) ApiWirelessRadioProfilesListRequest {
+ r.regulatoryDomainNiew = ®ulatoryDomainNiew
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) RegulatoryDomainNire(regulatoryDomainNire []string) ApiWirelessRadioProfilesListRequest {
+ r.regulatoryDomainNire = ®ulatoryDomainNire
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) RegulatoryDomainNisw(regulatoryDomainNisw []string) ApiWirelessRadioProfilesListRequest {
+ r.regulatoryDomainNisw = ®ulatoryDomainNisw
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) RegulatoryDomainNre(regulatoryDomainNre []string) ApiWirelessRadioProfilesListRequest {
+ r.regulatoryDomainNre = ®ulatoryDomainNre
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) RegulatoryDomainRe(regulatoryDomainRe []string) ApiWirelessRadioProfilesListRequest {
+ r.regulatoryDomainRe = ®ulatoryDomainRe
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) RxPowerMin(rxPowerMin []int32) ApiWirelessRadioProfilesListRequest {
+ r.rxPowerMin = &rxPowerMin
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) RxPowerMinGt(rxPowerMinGt []int32) ApiWirelessRadioProfilesListRequest {
+ r.rxPowerMinGt = &rxPowerMinGt
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) RxPowerMinGte(rxPowerMinGte []int32) ApiWirelessRadioProfilesListRequest {
+ r.rxPowerMinGte = &rxPowerMinGte
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) RxPowerMinIsnull(rxPowerMinIsnull bool) ApiWirelessRadioProfilesListRequest {
+ r.rxPowerMinIsnull = &rxPowerMinIsnull
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) RxPowerMinLt(rxPowerMinLt []int32) ApiWirelessRadioProfilesListRequest {
+ r.rxPowerMinLt = &rxPowerMinLt
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) RxPowerMinLte(rxPowerMinLte []int32) ApiWirelessRadioProfilesListRequest {
+ r.rxPowerMinLte = &rxPowerMinLte
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) RxPowerMinN(rxPowerMinN []int32) ApiWirelessRadioProfilesListRequest {
+ r.rxPowerMinN = &rxPowerMinN
+ return r
+}
+
+// Which field to use when ordering the results.
+func (r ApiWirelessRadioProfilesListRequest) Sort(sort string) ApiWirelessRadioProfilesListRequest {
+ r.sort = &sort
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) SupportedDataRates(supportedDataRates []string) ApiWirelessRadioProfilesListRequest {
+ r.supportedDataRates = &supportedDataRates
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) SupportedDataRatesN(supportedDataRatesN []string) ApiWirelessRadioProfilesListRequest {
+ r.supportedDataRatesN = &supportedDataRatesN
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) Tags(tags []string) ApiWirelessRadioProfilesListRequest {
+ r.tags = &tags
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) TagsIsnull(tagsIsnull bool) ApiWirelessRadioProfilesListRequest {
+ r.tagsIsnull = &tagsIsnull
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) TagsN(tagsN []string) ApiWirelessRadioProfilesListRequest {
+ r.tagsN = &tagsN
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) Teams(teams []string) ApiWirelessRadioProfilesListRequest {
+ r.teams = &teams
+ return r
+}
+
+// Teams (name or ID) is null
+func (r ApiWirelessRadioProfilesListRequest) TeamsIsnull(teamsIsnull bool) ApiWirelessRadioProfilesListRequest {
+ r.teamsIsnull = &teamsIsnull
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) TeamsN(teamsN []string) ApiWirelessRadioProfilesListRequest {
+ r.teamsN = &teamsN
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) TxPowerMax(txPowerMax []int32) ApiWirelessRadioProfilesListRequest {
+ r.txPowerMax = &txPowerMax
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) TxPowerMaxGt(txPowerMaxGt []int32) ApiWirelessRadioProfilesListRequest {
+ r.txPowerMaxGt = &txPowerMaxGt
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) TxPowerMaxGte(txPowerMaxGte []int32) ApiWirelessRadioProfilesListRequest {
+ r.txPowerMaxGte = &txPowerMaxGte
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) TxPowerMaxIsnull(txPowerMaxIsnull bool) ApiWirelessRadioProfilesListRequest {
+ r.txPowerMaxIsnull = &txPowerMaxIsnull
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) TxPowerMaxLt(txPowerMaxLt []int32) ApiWirelessRadioProfilesListRequest {
+ r.txPowerMaxLt = &txPowerMaxLt
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) TxPowerMaxLte(txPowerMaxLte []int32) ApiWirelessRadioProfilesListRequest {
+ r.txPowerMaxLte = &txPowerMaxLte
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) TxPowerMaxN(txPowerMaxN []int32) ApiWirelessRadioProfilesListRequest {
+ r.txPowerMaxN = &txPowerMaxN
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) TxPowerMin(txPowerMin []int32) ApiWirelessRadioProfilesListRequest {
+ r.txPowerMin = &txPowerMin
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) TxPowerMinGt(txPowerMinGt []int32) ApiWirelessRadioProfilesListRequest {
+ r.txPowerMinGt = &txPowerMinGt
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) TxPowerMinGte(txPowerMinGte []int32) ApiWirelessRadioProfilesListRequest {
+ r.txPowerMinGte = &txPowerMinGte
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) TxPowerMinIsnull(txPowerMinIsnull bool) ApiWirelessRadioProfilesListRequest {
+ r.txPowerMinIsnull = &txPowerMinIsnull
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) TxPowerMinLt(txPowerMinLt []int32) ApiWirelessRadioProfilesListRequest {
+ r.txPowerMinLt = &txPowerMinLt
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) TxPowerMinLte(txPowerMinLte []int32) ApiWirelessRadioProfilesListRequest {
+ r.txPowerMinLte = &txPowerMinLte
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) TxPowerMinN(txPowerMinN []int32) ApiWirelessRadioProfilesListRequest {
+ r.txPowerMinN = &txPowerMinN
+ return r
+}
+
+// Serializer Depth
+func (r ApiWirelessRadioProfilesListRequest) Depth(depth int32) ApiWirelessRadioProfilesListRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiWirelessRadioProfilesListRequest) ExcludeM2m(excludeM2m bool) ApiWirelessRadioProfilesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiWirelessRadioProfilesListRequest) Execute() (*PaginatedRadioProfileList, *http.Response, error) {
+ return r.ApiService.WirelessRadioProfilesListExecute(r)
+}
+
+/*
+WirelessRadioProfilesList Method for WirelessRadioProfilesList
+
+Retrieve a list of radio profile objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiWirelessRadioProfilesListRequest
+*/
+func (a *WirelessAPIService) WirelessRadioProfilesList(ctx context.Context) ApiWirelessRadioProfilesListRequest {
+ return ApiWirelessRadioProfilesListRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return PaginatedRadioProfileList
+func (a *WirelessAPIService) WirelessRadioProfilesListExecute(r ApiWirelessRadioProfilesListRequest) (*PaginatedRadioProfileList, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *PaginatedRadioProfileList
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessRadioProfilesList")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/radio-profiles/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.allowedChannelList != nil {
+ t := *r.allowedChannelList
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "allowed_channel_list", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "allowed_channel_list", t, "form", "multi")
+ }
+ }
+ if r.channelWidth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "channel_width", r.channelWidth, "form", "")
+ }
+ if r.contacts != nil {
+ t := *r.contacts
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", t, "form", "multi")
+ }
+ }
+ if r.contactsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
+ }
+ if r.contactsN != nil {
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
+ }
+ if r.controllerManagedDeviceGroups != nil {
+ t := *r.controllerManagedDeviceGroups
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "controller_managed_device_groups", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "controller_managed_device_groups", t, "form", "multi")
+ }
+ }
+ if r.controllerManagedDeviceGroupsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "controller_managed_device_groups__isnull", r.controllerManagedDeviceGroupsIsnull, "form", "")
+ }
+ if r.controllerManagedDeviceGroupsN != nil {
+ t := *r.controllerManagedDeviceGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "controller_managed_device_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "controller_managed_device_groups__n", t, "form", "multi")
+ }
+ }
+ if r.created != nil {
+ t := *r.created
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created", t, "form", "multi")
+ }
+ }
+ if r.createdGt != nil {
+ t := *r.createdGt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", t, "form", "multi")
+ }
+ }
+ if r.createdGte != nil {
+ t := *r.createdGte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", t, "form", "multi")
+ }
+ }
+ if r.createdIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__isnull", r.createdIsnull, "form", "")
+ }
+ if r.createdLt != nil {
+ t := *r.createdLt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", t, "form", "multi")
+ }
+ }
+ if r.createdLte != nil {
+ t := *r.createdLte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", t, "form", "multi")
+ }
+ }
+ if r.createdN != nil {
+ t := *r.createdN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "form", "multi")
+ }
+ }
+ if r.dynamicGroups != nil {
+ t := *r.dynamicGroups
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
+ }
+ }
+ if r.dynamicGroupsN != nil {
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
+ }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.frequency != nil {
+ t := *r.frequency
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "frequency", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "frequency", t, "form", "multi")
+ }
+ }
+ if r.frequencyIc != nil {
+ t := *r.frequencyIc
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "frequency__ic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "frequency__ic", t, "form", "multi")
+ }
+ }
+ if r.frequencyIe != nil {
+ t := *r.frequencyIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "frequency__ie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "frequency__ie", t, "form", "multi")
+ }
+ }
+ if r.frequencyIew != nil {
+ t := *r.frequencyIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "frequency__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "frequency__iew", t, "form", "multi")
+ }
+ }
+ if r.frequencyIre != nil {
+ t := *r.frequencyIre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "frequency__ire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "frequency__ire", t, "form", "multi")
+ }
+ }
+ if r.frequencyIsw != nil {
+ t := *r.frequencyIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "frequency__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "frequency__isw", t, "form", "multi")
+ }
+ }
+ if r.frequencyN != nil {
+ t := *r.frequencyN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "frequency__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "frequency__n", t, "form", "multi")
+ }
+ }
+ if r.frequencyNic != nil {
+ t := *r.frequencyNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "frequency__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "frequency__nic", t, "form", "multi")
+ }
+ }
+ if r.frequencyNie != nil {
+ t := *r.frequencyNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "frequency__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "frequency__nie", t, "form", "multi")
+ }
+ }
+ if r.frequencyNiew != nil {
+ t := *r.frequencyNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "frequency__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "frequency__niew", t, "form", "multi")
+ }
+ }
+ if r.frequencyNire != nil {
+ t := *r.frequencyNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "frequency__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "frequency__nire", t, "form", "multi")
+ }
+ }
+ if r.frequencyNisw != nil {
+ t := *r.frequencyNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "frequency__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "frequency__nisw", t, "form", "multi")
+ }
+ }
+ if r.frequencyNre != nil {
+ t := *r.frequencyNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "frequency__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "frequency__nre", t, "form", "multi")
+ }
+ }
+ if r.frequencyRe != nil {
+ t := *r.frequencyRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "frequency__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "frequency__re", t, "form", "multi")
+ }
+ }
+ if r.hasControllerManagedDeviceGroups != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_controller_managed_device_groups", r.hasControllerManagedDeviceGroups, "form", "")
+ }
+ if r.id != nil {
+ t := *r.id
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ }
+ }
+ if r.idN != nil {
+ t := *r.idN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
+ }
+ }
+ if r.lastUpdated != nil {
+ t := *r.lastUpdated
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "form", "multi")
+ }
+ }
+ if r.lastUpdatedGt != nil {
+ t := *r.lastUpdatedGt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", t, "form", "multi")
+ }
+ }
+ if r.lastUpdatedGte != nil {
+ t := *r.lastUpdatedGte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", t, "form", "multi")
+ }
+ }
+ if r.lastUpdatedIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__isnull", r.lastUpdatedIsnull, "form", "")
+ }
+ if r.lastUpdatedLt != nil {
+ t := *r.lastUpdatedLt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", t, "form", "multi")
+ }
+ }
+ if r.lastUpdatedLte != nil {
+ t := *r.lastUpdatedLte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", t, "form", "multi")
+ }
+ }
+ if r.lastUpdatedN != nil {
+ t := *r.lastUpdatedN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", t, "form", "multi")
+ }
+ }
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ }
+ if r.name != nil {
+ t := *r.name
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name", t, "form", "multi")
+ }
+ }
+ if r.nameIc != nil {
+ t := *r.nameIc
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", t, "form", "multi")
+ }
+ }
+ if r.nameIe != nil {
+ t := *r.nameIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", t, "form", "multi")
+ }
+ }
+ if r.nameIew != nil {
+ t := *r.nameIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", t, "form", "multi")
+ }
+ }
+ if r.nameIre != nil {
+ t := *r.nameIre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", t, "form", "multi")
+ }
+ }
+ if r.nameIsw != nil {
+ t := *r.nameIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", t, "form", "multi")
+ }
+ }
+ if r.nameN != nil {
+ t := *r.nameN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", t, "form", "multi")
+ }
+ }
+ if r.nameNic != nil {
+ t := *r.nameNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", t, "form", "multi")
+ }
+ }
+ if r.nameNie != nil {
+ t := *r.nameNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", t, "form", "multi")
+ }
+ }
+ if r.nameNiew != nil {
+ t := *r.nameNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", t, "form", "multi")
+ }
+ }
+ if r.nameNire != nil {
+ t := *r.nameNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", t, "form", "multi")
+ }
+ }
+ if r.nameNisw != nil {
+ t := *r.nameNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", t, "form", "multi")
+ }
+ }
+ if r.nameNre != nil {
+ t := *r.nameNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", t, "form", "multi")
+ }
+ }
+ if r.nameRe != nil {
+ t := *r.nameRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", t, "form", "multi")
+ }
+ }
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+ }
+ if r.q != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
+ }
+ if r.regulatoryDomain != nil {
+ t := *r.regulatoryDomain
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "regulatory_domain", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "regulatory_domain", t, "form", "multi")
+ }
+ }
+ if r.regulatoryDomainIc != nil {
+ t := *r.regulatoryDomainIc
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "regulatory_domain__ic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "regulatory_domain__ic", t, "form", "multi")
+ }
+ }
+ if r.regulatoryDomainIe != nil {
+ t := *r.regulatoryDomainIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "regulatory_domain__ie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "regulatory_domain__ie", t, "form", "multi")
+ }
+ }
+ if r.regulatoryDomainIew != nil {
+ t := *r.regulatoryDomainIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "regulatory_domain__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "regulatory_domain__iew", t, "form", "multi")
+ }
+ }
+ if r.regulatoryDomainIre != nil {
+ t := *r.regulatoryDomainIre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "regulatory_domain__ire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "regulatory_domain__ire", t, "form", "multi")
+ }
+ }
+ if r.regulatoryDomainIsw != nil {
+ t := *r.regulatoryDomainIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "regulatory_domain__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "regulatory_domain__isw", t, "form", "multi")
+ }
+ }
+ if r.regulatoryDomainN != nil {
+ t := *r.regulatoryDomainN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "regulatory_domain__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "regulatory_domain__n", t, "form", "multi")
+ }
+ }
+ if r.regulatoryDomainNic != nil {
+ t := *r.regulatoryDomainNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "regulatory_domain__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "regulatory_domain__nic", t, "form", "multi")
+ }
+ }
+ if r.regulatoryDomainNie != nil {
+ t := *r.regulatoryDomainNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "regulatory_domain__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "regulatory_domain__nie", t, "form", "multi")
+ }
+ }
+ if r.regulatoryDomainNiew != nil {
+ t := *r.regulatoryDomainNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "regulatory_domain__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "regulatory_domain__niew", t, "form", "multi")
+ }
+ }
+ if r.regulatoryDomainNire != nil {
+ t := *r.regulatoryDomainNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "regulatory_domain__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "regulatory_domain__nire", t, "form", "multi")
+ }
+ }
+ if r.regulatoryDomainNisw != nil {
+ t := *r.regulatoryDomainNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "regulatory_domain__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "regulatory_domain__nisw", t, "form", "multi")
+ }
+ }
+ if r.regulatoryDomainNre != nil {
+ t := *r.regulatoryDomainNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "regulatory_domain__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "regulatory_domain__nre", t, "form", "multi")
+ }
+ }
+ if r.regulatoryDomainRe != nil {
+ t := *r.regulatoryDomainRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "regulatory_domain__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "regulatory_domain__re", t, "form", "multi")
+ }
+ }
+ if r.rxPowerMin != nil {
+ t := *r.rxPowerMin
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rx_power_min", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rx_power_min", t, "form", "multi")
+ }
+ }
+ if r.rxPowerMinGt != nil {
+ t := *r.rxPowerMinGt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rx_power_min__gt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rx_power_min__gt", t, "form", "multi")
+ }
+ }
+ if r.rxPowerMinGte != nil {
+ t := *r.rxPowerMinGte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rx_power_min__gte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rx_power_min__gte", t, "form", "multi")
+ }
+ }
+ if r.rxPowerMinIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rx_power_min__isnull", r.rxPowerMinIsnull, "form", "")
+ }
+ if r.rxPowerMinLt != nil {
+ t := *r.rxPowerMinLt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rx_power_min__lt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rx_power_min__lt", t, "form", "multi")
+ }
+ }
+ if r.rxPowerMinLte != nil {
+ t := *r.rxPowerMinLte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rx_power_min__lte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rx_power_min__lte", t, "form", "multi")
+ }
+ }
+ if r.rxPowerMinN != nil {
+ t := *r.rxPowerMinN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rx_power_min__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rx_power_min__n", t, "form", "multi")
+ }
+ }
+ if r.sort != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
+ }
+ if r.supportedDataRates != nil {
+ t := *r.supportedDataRates
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supported_data_rates", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supported_data_rates", t, "form", "multi")
+ }
+ }
+ if r.supportedDataRatesN != nil {
+ t := *r.supportedDataRatesN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supported_data_rates__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "supported_data_rates__n", t, "form", "multi")
+ }
+ }
+ if r.tags != nil {
+ t := *r.tags
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags", t, "form", "multi")
+ }
+ }
+ if r.tagsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__isnull", r.tagsIsnull, "form", "")
+ }
+ if r.tagsN != nil {
+ t := *r.tagsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", t, "form", "multi")
+ }
+ }
+ if r.teams != nil {
+ t := *r.teams
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams", t, "form", "multi")
+ }
+ }
+ if r.teamsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
+ }
+ if r.teamsN != nil {
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
+ }
+ if r.txPowerMax != nil {
+ t := *r.txPowerMax
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tx_power_max", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tx_power_max", t, "form", "multi")
+ }
+ }
+ if r.txPowerMaxGt != nil {
+ t := *r.txPowerMaxGt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tx_power_max__gt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tx_power_max__gt", t, "form", "multi")
+ }
+ }
+ if r.txPowerMaxGte != nil {
+ t := *r.txPowerMaxGte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tx_power_max__gte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tx_power_max__gte", t, "form", "multi")
+ }
+ }
+ if r.txPowerMaxIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tx_power_max__isnull", r.txPowerMaxIsnull, "form", "")
+ }
+ if r.txPowerMaxLt != nil {
+ t := *r.txPowerMaxLt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tx_power_max__lt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tx_power_max__lt", t, "form", "multi")
+ }
+ }
+ if r.txPowerMaxLte != nil {
+ t := *r.txPowerMaxLte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tx_power_max__lte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tx_power_max__lte", t, "form", "multi")
+ }
+ }
+ if r.txPowerMaxN != nil {
+ t := *r.txPowerMaxN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tx_power_max__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tx_power_max__n", t, "form", "multi")
+ }
+ }
+ if r.txPowerMin != nil {
+ t := *r.txPowerMin
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tx_power_min", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tx_power_min", t, "form", "multi")
+ }
+ }
+ if r.txPowerMinGt != nil {
+ t := *r.txPowerMinGt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tx_power_min__gt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tx_power_min__gt", t, "form", "multi")
+ }
+ }
+ if r.txPowerMinGte != nil {
+ t := *r.txPowerMinGte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tx_power_min__gte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tx_power_min__gte", t, "form", "multi")
+ }
+ }
+ if r.txPowerMinIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tx_power_min__isnull", r.txPowerMinIsnull, "form", "")
+ }
+ if r.txPowerMinLt != nil {
+ t := *r.txPowerMinLt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tx_power_min__lt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tx_power_min__lt", t, "form", "multi")
+ }
+ }
+ if r.txPowerMinLte != nil {
+ t := *r.txPowerMinLte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tx_power_min__lte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tx_power_min__lte", t, "form", "multi")
+ }
+ }
+ if r.txPowerMinN != nil {
+ t := *r.txPowerMinN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tx_power_min__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tx_power_min__n", t, "form", "multi")
+ }
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessRadioProfilesNotesCreateRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ id string
+ noteInputRequest *NoteInputRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessRadioProfilesNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiWirelessRadioProfilesNotesCreateRequest {
+ r.noteInputRequest = ¬eInputRequest
+ return r
+}
+
+func (r ApiWirelessRadioProfilesNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessRadioProfilesNotesCreateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessRadioProfilesNotesCreateRequest) Execute() (*Note, *http.Response, error) {
+ return r.ApiService.WirelessRadioProfilesNotesCreateExecute(r)
+}
+
+/*
+WirelessRadioProfilesNotesCreate Method for WirelessRadioProfilesNotesCreate
+
+API methods for returning or creating notes on an object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this radio profile.
+ @return ApiWirelessRadioProfilesNotesCreateRequest
+*/
+func (a *WirelessAPIService) WirelessRadioProfilesNotesCreate(ctx context.Context, id string) ApiWirelessRadioProfilesNotesCreateRequest {
+ return ApiWirelessRadioProfilesNotesCreateRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return Note
+func (a *WirelessAPIService) WirelessRadioProfilesNotesCreateExecute(r ApiWirelessRadioProfilesNotesCreateRequest) (*Note, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPost
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *Note
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessRadioProfilesNotesCreate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/radio-profiles/{id}/notes/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.noteInputRequest == nil {
+ return localVarReturnValue, nil, reportError("noteInputRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.noteInputRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessRadioProfilesNotesListRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ limit *int32
+ offset *int32
+ depth *int32
+ excludeM2m *bool
+}
+
+func (r ApiWirelessRadioProfilesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessRadioProfilesNotesListRequest {
+ r.format = &format
+ return r
+}
+
+// Number of results to return per page.
+func (r ApiWirelessRadioProfilesNotesListRequest) Limit(limit int32) ApiWirelessRadioProfilesNotesListRequest {
+ r.limit = &limit
+ return r
+}
+
+// The initial index from which to return the results.
+func (r ApiWirelessRadioProfilesNotesListRequest) Offset(offset int32) ApiWirelessRadioProfilesNotesListRequest {
+ r.offset = &offset
+ return r
+}
+
+// Serializer Depth
+func (r ApiWirelessRadioProfilesNotesListRequest) Depth(depth int32) ApiWirelessRadioProfilesNotesListRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiWirelessRadioProfilesNotesListRequest) ExcludeM2m(excludeM2m bool) ApiWirelessRadioProfilesNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiWirelessRadioProfilesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
+ return r.ApiService.WirelessRadioProfilesNotesListExecute(r)
+}
+
+/*
+WirelessRadioProfilesNotesList Method for WirelessRadioProfilesNotesList
+
+API methods for returning or creating notes on an object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this radio profile.
+ @return ApiWirelessRadioProfilesNotesListRequest
+*/
+func (a *WirelessAPIService) WirelessRadioProfilesNotesList(ctx context.Context, id string) ApiWirelessRadioProfilesNotesListRequest {
+ return ApiWirelessRadioProfilesNotesListRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return PaginatedNoteList
+func (a *WirelessAPIService) WirelessRadioProfilesNotesListExecute(r ApiWirelessRadioProfilesNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *PaginatedNoteList
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessRadioProfilesNotesList")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/radio-profiles/{id}/notes/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ }
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessRadioProfilesPartialUpdateRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ patchedRadioProfileRequest *PatchedRadioProfileRequest
+}
+
+func (r ApiWirelessRadioProfilesPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessRadioProfilesPartialUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessRadioProfilesPartialUpdateRequest) PatchedRadioProfileRequest(patchedRadioProfileRequest PatchedRadioProfileRequest) ApiWirelessRadioProfilesPartialUpdateRequest {
+ r.patchedRadioProfileRequest = &patchedRadioProfileRequest
+ return r
+}
+
+func (r ApiWirelessRadioProfilesPartialUpdateRequest) Execute() (*RadioProfile, *http.Response, error) {
+ return r.ApiService.WirelessRadioProfilesPartialUpdateExecute(r)
+}
+
+/*
+WirelessRadioProfilesPartialUpdate Method for WirelessRadioProfilesPartialUpdate
+
+Partial update a radio profile object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this radio profile.
+ @return ApiWirelessRadioProfilesPartialUpdateRequest
+*/
+func (a *WirelessAPIService) WirelessRadioProfilesPartialUpdate(ctx context.Context, id string) ApiWirelessRadioProfilesPartialUpdateRequest {
+ return ApiWirelessRadioProfilesPartialUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return RadioProfile
+func (a *WirelessAPIService) WirelessRadioProfilesPartialUpdateExecute(r ApiWirelessRadioProfilesPartialUpdateRequest) (*RadioProfile, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPatch
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *RadioProfile
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessRadioProfilesPartialUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/radio-profiles/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.patchedRadioProfileRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessRadioProfilesRetrieveRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ depth *int32
+ excludeM2m *bool
+}
+
+func (r ApiWirelessRadioProfilesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessRadioProfilesRetrieveRequest {
+ r.format = &format
+ return r
+}
+
+// Serializer Depth
+func (r ApiWirelessRadioProfilesRetrieveRequest) Depth(depth int32) ApiWirelessRadioProfilesRetrieveRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiWirelessRadioProfilesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiWirelessRadioProfilesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiWirelessRadioProfilesRetrieveRequest) Execute() (*RadioProfile, *http.Response, error) {
+ return r.ApiService.WirelessRadioProfilesRetrieveExecute(r)
+}
+
+/*
+WirelessRadioProfilesRetrieve Method for WirelessRadioProfilesRetrieve
+
+Retrieve a radio profile object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this radio profile.
+ @return ApiWirelessRadioProfilesRetrieveRequest
+*/
+func (a *WirelessAPIService) WirelessRadioProfilesRetrieve(ctx context.Context, id string) ApiWirelessRadioProfilesRetrieveRequest {
+ return ApiWirelessRadioProfilesRetrieveRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return RadioProfile
+func (a *WirelessAPIService) WirelessRadioProfilesRetrieveExecute(r ApiWirelessRadioProfilesRetrieveRequest) (*RadioProfile, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *RadioProfile
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessRadioProfilesRetrieve")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/radio-profiles/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessRadioProfilesUpdateRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ id string
+ radioProfileRequest *RadioProfileRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessRadioProfilesUpdateRequest) RadioProfileRequest(radioProfileRequest RadioProfileRequest) ApiWirelessRadioProfilesUpdateRequest {
+ r.radioProfileRequest = &radioProfileRequest
+ return r
+}
+
+func (r ApiWirelessRadioProfilesUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessRadioProfilesUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessRadioProfilesUpdateRequest) Execute() (*RadioProfile, *http.Response, error) {
+ return r.ApiService.WirelessRadioProfilesUpdateExecute(r)
+}
+
+/*
+WirelessRadioProfilesUpdate Method for WirelessRadioProfilesUpdate
+
+Update a radio profile object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this radio profile.
+ @return ApiWirelessRadioProfilesUpdateRequest
+*/
+func (a *WirelessAPIService) WirelessRadioProfilesUpdate(ctx context.Context, id string) ApiWirelessRadioProfilesUpdateRequest {
+ return ApiWirelessRadioProfilesUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return RadioProfile
+func (a *WirelessAPIService) WirelessRadioProfilesUpdateExecute(r ApiWirelessRadioProfilesUpdateRequest) (*RadioProfile, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPut
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *RadioProfile
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessRadioProfilesUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/radio-profiles/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.radioProfileRequest == nil {
+ return localVarReturnValue, nil, reportError("radioProfileRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.radioProfileRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessSupportedDataRatesBulkDestroyRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ bulkOperationRequest *[]BulkOperationRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessSupportedDataRatesBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiWirelessSupportedDataRatesBulkDestroyRequest {
+ r.bulkOperationRequest = &bulkOperationRequest
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessSupportedDataRatesBulkDestroyRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.WirelessSupportedDataRatesBulkDestroyExecute(r)
+}
+
+/*
+WirelessSupportedDataRatesBulkDestroy Method for WirelessSupportedDataRatesBulkDestroy
+
+Destroy a list of supported data rate objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiWirelessSupportedDataRatesBulkDestroyRequest
+*/
+func (a *WirelessAPIService) WirelessSupportedDataRatesBulkDestroy(ctx context.Context) ApiWirelessSupportedDataRatesBulkDestroyRequest {
+ return ApiWirelessSupportedDataRatesBulkDestroyRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+func (a *WirelessAPIService) WirelessSupportedDataRatesBulkDestroyExecute(r ApiWirelessSupportedDataRatesBulkDestroyRequest) (*http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodDelete
+ localVarPostBody interface{}
+ formFiles []formFile
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessSupportedDataRatesBulkDestroy")
+ if err != nil {
+ return nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/supported-data-rates/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.bulkOperationRequest == nil {
+ return nil, reportError("bulkOperationRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.bulkOperationRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarHTTPResponse, newErr
+ }
+
+ return localVarHTTPResponse, nil
+}
+
+type ApiWirelessSupportedDataRatesBulkPartialUpdateRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ patchedBulkWritableSupportedDataRateRequest *[]PatchedBulkWritableSupportedDataRateRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessSupportedDataRatesBulkPartialUpdateRequest) PatchedBulkWritableSupportedDataRateRequest(patchedBulkWritableSupportedDataRateRequest []PatchedBulkWritableSupportedDataRateRequest) ApiWirelessSupportedDataRatesBulkPartialUpdateRequest {
+ r.patchedBulkWritableSupportedDataRateRequest = &patchedBulkWritableSupportedDataRateRequest
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessSupportedDataRatesBulkPartialUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesBulkPartialUpdateRequest) Execute() ([]SupportedDataRate, *http.Response, error) {
+ return r.ApiService.WirelessSupportedDataRatesBulkPartialUpdateExecute(r)
+}
+
+/*
+WirelessSupportedDataRatesBulkPartialUpdate Method for WirelessSupportedDataRatesBulkPartialUpdate
+
+Partial update a list of supported data rate objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiWirelessSupportedDataRatesBulkPartialUpdateRequest
+*/
+func (a *WirelessAPIService) WirelessSupportedDataRatesBulkPartialUpdate(ctx context.Context) ApiWirelessSupportedDataRatesBulkPartialUpdateRequest {
+ return ApiWirelessSupportedDataRatesBulkPartialUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return []SupportedDataRate
+func (a *WirelessAPIService) WirelessSupportedDataRatesBulkPartialUpdateExecute(r ApiWirelessSupportedDataRatesBulkPartialUpdateRequest) ([]SupportedDataRate, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPatch
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue []SupportedDataRate
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessSupportedDataRatesBulkPartialUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/supported-data-rates/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.patchedBulkWritableSupportedDataRateRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritableSupportedDataRateRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.patchedBulkWritableSupportedDataRateRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessSupportedDataRatesBulkUpdateRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ bulkWritableSupportedDataRateRequest *[]BulkWritableSupportedDataRateRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessSupportedDataRatesBulkUpdateRequest) BulkWritableSupportedDataRateRequest(bulkWritableSupportedDataRateRequest []BulkWritableSupportedDataRateRequest) ApiWirelessSupportedDataRatesBulkUpdateRequest {
+ r.bulkWritableSupportedDataRateRequest = &bulkWritableSupportedDataRateRequest
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessSupportedDataRatesBulkUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesBulkUpdateRequest) Execute() ([]SupportedDataRate, *http.Response, error) {
+ return r.ApiService.WirelessSupportedDataRatesBulkUpdateExecute(r)
+}
+
+/*
+WirelessSupportedDataRatesBulkUpdate Method for WirelessSupportedDataRatesBulkUpdate
+
+Update a list of supported data rate objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiWirelessSupportedDataRatesBulkUpdateRequest
+*/
+func (a *WirelessAPIService) WirelessSupportedDataRatesBulkUpdate(ctx context.Context) ApiWirelessSupportedDataRatesBulkUpdateRequest {
+ return ApiWirelessSupportedDataRatesBulkUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return []SupportedDataRate
+func (a *WirelessAPIService) WirelessSupportedDataRatesBulkUpdateExecute(r ApiWirelessSupportedDataRatesBulkUpdateRequest) ([]SupportedDataRate, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPut
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue []SupportedDataRate
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessSupportedDataRatesBulkUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/supported-data-rates/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.bulkWritableSupportedDataRateRequest == nil {
+ return localVarReturnValue, nil, reportError("bulkWritableSupportedDataRateRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.bulkWritableSupportedDataRateRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessSupportedDataRatesCreateRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ supportedDataRateRequest *SupportedDataRateRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessSupportedDataRatesCreateRequest) SupportedDataRateRequest(supportedDataRateRequest SupportedDataRateRequest) ApiWirelessSupportedDataRatesCreateRequest {
+ r.supportedDataRateRequest = &supportedDataRateRequest
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessSupportedDataRatesCreateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesCreateRequest) Execute() (*SupportedDataRate, *http.Response, error) {
+ return r.ApiService.WirelessSupportedDataRatesCreateExecute(r)
+}
+
+/*
+WirelessSupportedDataRatesCreate Method for WirelessSupportedDataRatesCreate
+
+Create one or more supported data rate objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiWirelessSupportedDataRatesCreateRequest
+*/
+func (a *WirelessAPIService) WirelessSupportedDataRatesCreate(ctx context.Context) ApiWirelessSupportedDataRatesCreateRequest {
+ return ApiWirelessSupportedDataRatesCreateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return SupportedDataRate
+func (a *WirelessAPIService) WirelessSupportedDataRatesCreateExecute(r ApiWirelessSupportedDataRatesCreateRequest) (*SupportedDataRate, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPost
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *SupportedDataRate
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessSupportedDataRatesCreate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/supported-data-rates/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.supportedDataRateRequest == nil {
+ return localVarReturnValue, nil, reportError("supportedDataRateRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.supportedDataRateRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessSupportedDataRatesDestroyRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessSupportedDataRatesDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessSupportedDataRatesDestroyRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.WirelessSupportedDataRatesDestroyExecute(r)
+}
+
+/*
+WirelessSupportedDataRatesDestroy Method for WirelessSupportedDataRatesDestroy
+
+Destroy a supported data rate object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this supported data rate.
+ @return ApiWirelessSupportedDataRatesDestroyRequest
+*/
+func (a *WirelessAPIService) WirelessSupportedDataRatesDestroy(ctx context.Context, id string) ApiWirelessSupportedDataRatesDestroyRequest {
+ return ApiWirelessSupportedDataRatesDestroyRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+func (a *WirelessAPIService) WirelessSupportedDataRatesDestroyExecute(r ApiWirelessSupportedDataRatesDestroyRequest) (*http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodDelete
+ localVarPostBody interface{}
+ formFiles []formFile
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessSupportedDataRatesDestroy")
+ if err != nil {
+ return nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/supported-data-rates/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarHTTPResponse, newErr
+ }
+
+ return localVarHTTPResponse, nil
+}
+
+type ApiWirelessSupportedDataRatesListRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ contacts *[]string
+ contactsIsnull *bool
+ contactsN *[]string
+ created *[]time.Time
+ createdGt *[]time.Time
+ createdGte *[]time.Time
+ createdIsnull *bool
+ createdLt *[]time.Time
+ createdLte *[]time.Time
+ createdN *[]time.Time
+ dynamicGroups *[]string
+ dynamicGroupsN *[]string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ hasRadioProfiles *bool
+ id *[]string
+ idN *[]string
+ lastUpdated *[]time.Time
+ lastUpdatedGt *[]time.Time
+ lastUpdatedGte *[]time.Time
+ lastUpdatedIsnull *bool
+ lastUpdatedLt *[]time.Time
+ lastUpdatedLte *[]time.Time
+ lastUpdatedN *[]time.Time
+ limit *int32
+ mcsIndex *[]int32
+ mcsIndexGt *[]int32
+ mcsIndexGte *[]int32
+ mcsIndexIsnull *bool
+ mcsIndexLt *[]int32
+ mcsIndexLte *[]int32
+ mcsIndexN *[]int32
+ offset *int32
+ q *string
+ radioProfiles *[]string
+ radioProfilesIsnull *bool
+ radioProfilesN *[]string
+ rate *[]int32
+ rateGt *[]int32
+ rateGte *[]int32
+ rateLt *[]int32
+ rateLte *[]int32
+ rateN *[]int32
+ sort *string
+ standard *[]string
+ standardIc *[]string
+ standardIe *[]string
+ standardIew *[]string
+ standardIre *[]string
+ standardIsw *[]string
+ standardN *[]string
+ standardNic *[]string
+ standardNie *[]string
+ standardNiew *[]string
+ standardNire *[]string
+ standardNisw *[]string
+ standardNre *[]string
+ standardRe *[]string
+ tags *[]string
+ tagsIsnull *bool
+ tagsN *[]string
+ teams *[]string
+ teamsIsnull *bool
+ teamsN *[]string
+ depth *int32
+ excludeM2m *bool
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) Contacts(contacts []string) ApiWirelessSupportedDataRatesListRequest {
+ r.contacts = &contacts
+ return r
+}
+
+// Contacts (name or ID) is null
+func (r ApiWirelessSupportedDataRatesListRequest) ContactsIsnull(contactsIsnull bool) ApiWirelessSupportedDataRatesListRequest {
+ r.contactsIsnull = &contactsIsnull
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) ContactsN(contactsN []string) ApiWirelessSupportedDataRatesListRequest {
+ r.contactsN = &contactsN
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) Created(created []time.Time) ApiWirelessSupportedDataRatesListRequest {
+ r.created = &created
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) CreatedGt(createdGt []time.Time) ApiWirelessSupportedDataRatesListRequest {
+ r.createdGt = &createdGt
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) CreatedGte(createdGte []time.Time) ApiWirelessSupportedDataRatesListRequest {
+ r.createdGte = &createdGte
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) CreatedIsnull(createdIsnull bool) ApiWirelessSupportedDataRatesListRequest {
+ r.createdIsnull = &createdIsnull
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) CreatedLt(createdLt []time.Time) ApiWirelessSupportedDataRatesListRequest {
+ r.createdLt = &createdLt
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) CreatedLte(createdLte []time.Time) ApiWirelessSupportedDataRatesListRequest {
+ r.createdLte = &createdLte
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) CreatedN(createdN []time.Time) ApiWirelessSupportedDataRatesListRequest {
+ r.createdN = &createdN
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) DynamicGroups(dynamicGroups []string) ApiWirelessSupportedDataRatesListRequest {
+ r.dynamicGroups = &dynamicGroups
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiWirelessSupportedDataRatesListRequest {
+ r.dynamicGroupsN = &dynamicGroupsN
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessSupportedDataRatesListRequest {
+ r.format = &format
+ return r
+}
+
+// Has radio profiles
+func (r ApiWirelessSupportedDataRatesListRequest) HasRadioProfiles(hasRadioProfiles bool) ApiWirelessSupportedDataRatesListRequest {
+ r.hasRadioProfiles = &hasRadioProfiles
+ return r
+}
+
+// Unique object identifier, either a UUID primary key or a composite key.
+func (r ApiWirelessSupportedDataRatesListRequest) Id(id []string) ApiWirelessSupportedDataRatesListRequest {
+ r.id = &id
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) IdN(idN []string) ApiWirelessSupportedDataRatesListRequest {
+ r.idN = &idN
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) LastUpdated(lastUpdated []time.Time) ApiWirelessSupportedDataRatesListRequest {
+ r.lastUpdated = &lastUpdated
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiWirelessSupportedDataRatesListRequest {
+ r.lastUpdatedGt = &lastUpdatedGt
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiWirelessSupportedDataRatesListRequest {
+ r.lastUpdatedGte = &lastUpdatedGte
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) LastUpdatedIsnull(lastUpdatedIsnull bool) ApiWirelessSupportedDataRatesListRequest {
+ r.lastUpdatedIsnull = &lastUpdatedIsnull
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiWirelessSupportedDataRatesListRequest {
+ r.lastUpdatedLt = &lastUpdatedLt
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiWirelessSupportedDataRatesListRequest {
+ r.lastUpdatedLte = &lastUpdatedLte
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiWirelessSupportedDataRatesListRequest {
+ r.lastUpdatedN = &lastUpdatedN
+ return r
+}
+
+// Number of results to return per page.
+func (r ApiWirelessSupportedDataRatesListRequest) Limit(limit int32) ApiWirelessSupportedDataRatesListRequest {
+ r.limit = &limit
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) McsIndex(mcsIndex []int32) ApiWirelessSupportedDataRatesListRequest {
+ r.mcsIndex = &mcsIndex
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) McsIndexGt(mcsIndexGt []int32) ApiWirelessSupportedDataRatesListRequest {
+ r.mcsIndexGt = &mcsIndexGt
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) McsIndexGte(mcsIndexGte []int32) ApiWirelessSupportedDataRatesListRequest {
+ r.mcsIndexGte = &mcsIndexGte
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) McsIndexIsnull(mcsIndexIsnull bool) ApiWirelessSupportedDataRatesListRequest {
+ r.mcsIndexIsnull = &mcsIndexIsnull
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) McsIndexLt(mcsIndexLt []int32) ApiWirelessSupportedDataRatesListRequest {
+ r.mcsIndexLt = &mcsIndexLt
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) McsIndexLte(mcsIndexLte []int32) ApiWirelessSupportedDataRatesListRequest {
+ r.mcsIndexLte = &mcsIndexLte
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) McsIndexN(mcsIndexN []int32) ApiWirelessSupportedDataRatesListRequest {
+ r.mcsIndexN = &mcsIndexN
+ return r
+}
+
+// The initial index from which to return the results.
+func (r ApiWirelessSupportedDataRatesListRequest) Offset(offset int32) ApiWirelessSupportedDataRatesListRequest {
+ r.offset = &offset
+ return r
+}
+
+// Search
+func (r ApiWirelessSupportedDataRatesListRequest) Q(q string) ApiWirelessSupportedDataRatesListRequest {
+ r.q = &q
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) RadioProfiles(radioProfiles []string) ApiWirelessSupportedDataRatesListRequest {
+ r.radioProfiles = &radioProfiles
+ return r
+}
+
+// Radio Profile (name or ID) is null
+func (r ApiWirelessSupportedDataRatesListRequest) RadioProfilesIsnull(radioProfilesIsnull bool) ApiWirelessSupportedDataRatesListRequest {
+ r.radioProfilesIsnull = &radioProfilesIsnull
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) RadioProfilesN(radioProfilesN []string) ApiWirelessSupportedDataRatesListRequest {
+ r.radioProfilesN = &radioProfilesN
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) Rate(rate []int32) ApiWirelessSupportedDataRatesListRequest {
+ r.rate = &rate
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) RateGt(rateGt []int32) ApiWirelessSupportedDataRatesListRequest {
+ r.rateGt = &rateGt
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) RateGte(rateGte []int32) ApiWirelessSupportedDataRatesListRequest {
+ r.rateGte = &rateGte
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) RateLt(rateLt []int32) ApiWirelessSupportedDataRatesListRequest {
+ r.rateLt = &rateLt
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) RateLte(rateLte []int32) ApiWirelessSupportedDataRatesListRequest {
+ r.rateLte = &rateLte
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) RateN(rateN []int32) ApiWirelessSupportedDataRatesListRequest {
+ r.rateN = &rateN
+ return r
+}
+
+// Which field to use when ordering the results.
+func (r ApiWirelessSupportedDataRatesListRequest) Sort(sort string) ApiWirelessSupportedDataRatesListRequest {
+ r.sort = &sort
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) Standard(standard []string) ApiWirelessSupportedDataRatesListRequest {
+ r.standard = &standard
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) StandardIc(standardIc []string) ApiWirelessSupportedDataRatesListRequest {
+ r.standardIc = &standardIc
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) StandardIe(standardIe []string) ApiWirelessSupportedDataRatesListRequest {
+ r.standardIe = &standardIe
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) StandardIew(standardIew []string) ApiWirelessSupportedDataRatesListRequest {
+ r.standardIew = &standardIew
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) StandardIre(standardIre []string) ApiWirelessSupportedDataRatesListRequest {
+ r.standardIre = &standardIre
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) StandardIsw(standardIsw []string) ApiWirelessSupportedDataRatesListRequest {
+ r.standardIsw = &standardIsw
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) StandardN(standardN []string) ApiWirelessSupportedDataRatesListRequest {
+ r.standardN = &standardN
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) StandardNic(standardNic []string) ApiWirelessSupportedDataRatesListRequest {
+ r.standardNic = &standardNic
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) StandardNie(standardNie []string) ApiWirelessSupportedDataRatesListRequest {
+ r.standardNie = &standardNie
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) StandardNiew(standardNiew []string) ApiWirelessSupportedDataRatesListRequest {
+ r.standardNiew = &standardNiew
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) StandardNire(standardNire []string) ApiWirelessSupportedDataRatesListRequest {
+ r.standardNire = &standardNire
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) StandardNisw(standardNisw []string) ApiWirelessSupportedDataRatesListRequest {
+ r.standardNisw = &standardNisw
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) StandardNre(standardNre []string) ApiWirelessSupportedDataRatesListRequest {
+ r.standardNre = &standardNre
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) StandardRe(standardRe []string) ApiWirelessSupportedDataRatesListRequest {
+ r.standardRe = &standardRe
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) Tags(tags []string) ApiWirelessSupportedDataRatesListRequest {
+ r.tags = &tags
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) TagsIsnull(tagsIsnull bool) ApiWirelessSupportedDataRatesListRequest {
+ r.tagsIsnull = &tagsIsnull
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) TagsN(tagsN []string) ApiWirelessSupportedDataRatesListRequest {
+ r.tagsN = &tagsN
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) Teams(teams []string) ApiWirelessSupportedDataRatesListRequest {
+ r.teams = &teams
+ return r
+}
+
+// Teams (name or ID) is null
+func (r ApiWirelessSupportedDataRatesListRequest) TeamsIsnull(teamsIsnull bool) ApiWirelessSupportedDataRatesListRequest {
+ r.teamsIsnull = &teamsIsnull
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) TeamsN(teamsN []string) ApiWirelessSupportedDataRatesListRequest {
+ r.teamsN = &teamsN
+ return r
+}
+
+// Serializer Depth
+func (r ApiWirelessSupportedDataRatesListRequest) Depth(depth int32) ApiWirelessSupportedDataRatesListRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiWirelessSupportedDataRatesListRequest) ExcludeM2m(excludeM2m bool) ApiWirelessSupportedDataRatesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesListRequest) Execute() (*PaginatedSupportedDataRateList, *http.Response, error) {
+ return r.ApiService.WirelessSupportedDataRatesListExecute(r)
+}
+
+/*
+WirelessSupportedDataRatesList Method for WirelessSupportedDataRatesList
+
+Retrieve a list of supported data rate objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiWirelessSupportedDataRatesListRequest
+*/
+func (a *WirelessAPIService) WirelessSupportedDataRatesList(ctx context.Context) ApiWirelessSupportedDataRatesListRequest {
+ return ApiWirelessSupportedDataRatesListRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return PaginatedSupportedDataRateList
+func (a *WirelessAPIService) WirelessSupportedDataRatesListExecute(r ApiWirelessSupportedDataRatesListRequest) (*PaginatedSupportedDataRateList, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *PaginatedSupportedDataRateList
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessSupportedDataRatesList")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/supported-data-rates/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.contacts != nil {
+ t := *r.contacts
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", t, "form", "multi")
+ }
+ }
+ if r.contactsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
+ }
+ if r.contactsN != nil {
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
+ }
+ if r.created != nil {
+ t := *r.created
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created", t, "form", "multi")
+ }
+ }
+ if r.createdGt != nil {
+ t := *r.createdGt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", t, "form", "multi")
+ }
+ }
+ if r.createdGte != nil {
+ t := *r.createdGte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", t, "form", "multi")
+ }
+ }
+ if r.createdIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__isnull", r.createdIsnull, "form", "")
+ }
+ if r.createdLt != nil {
+ t := *r.createdLt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", t, "form", "multi")
+ }
+ }
+ if r.createdLte != nil {
+ t := *r.createdLte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", t, "form", "multi")
+ }
+ }
+ if r.createdN != nil {
+ t := *r.createdN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "form", "multi")
+ }
+ }
+ if r.dynamicGroups != nil {
+ t := *r.dynamicGroups
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
+ }
+ }
+ if r.dynamicGroupsN != nil {
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
+ }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.hasRadioProfiles != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_radio_profiles", r.hasRadioProfiles, "form", "")
+ }
+ if r.id != nil {
+ t := *r.id
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ }
+ }
+ if r.idN != nil {
+ t := *r.idN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
+ }
+ }
+ if r.lastUpdated != nil {
+ t := *r.lastUpdated
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "form", "multi")
+ }
+ }
+ if r.lastUpdatedGt != nil {
+ t := *r.lastUpdatedGt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", t, "form", "multi")
+ }
+ }
+ if r.lastUpdatedGte != nil {
+ t := *r.lastUpdatedGte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", t, "form", "multi")
+ }
+ }
+ if r.lastUpdatedIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__isnull", r.lastUpdatedIsnull, "form", "")
+ }
+ if r.lastUpdatedLt != nil {
+ t := *r.lastUpdatedLt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", t, "form", "multi")
+ }
+ }
+ if r.lastUpdatedLte != nil {
+ t := *r.lastUpdatedLte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", t, "form", "multi")
+ }
+ }
+ if r.lastUpdatedN != nil {
+ t := *r.lastUpdatedN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", t, "form", "multi")
+ }
+ }
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ }
+ if r.mcsIndex != nil {
+ t := *r.mcsIndex
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mcs_index", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mcs_index", t, "form", "multi")
+ }
+ }
+ if r.mcsIndexGt != nil {
+ t := *r.mcsIndexGt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mcs_index__gt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mcs_index__gt", t, "form", "multi")
+ }
+ }
+ if r.mcsIndexGte != nil {
+ t := *r.mcsIndexGte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mcs_index__gte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mcs_index__gte", t, "form", "multi")
+ }
+ }
+ if r.mcsIndexIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mcs_index__isnull", r.mcsIndexIsnull, "form", "")
+ }
+ if r.mcsIndexLt != nil {
+ t := *r.mcsIndexLt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mcs_index__lt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mcs_index__lt", t, "form", "multi")
+ }
+ }
+ if r.mcsIndexLte != nil {
+ t := *r.mcsIndexLte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mcs_index__lte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mcs_index__lte", t, "form", "multi")
+ }
+ }
+ if r.mcsIndexN != nil {
+ t := *r.mcsIndexN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mcs_index__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mcs_index__n", t, "form", "multi")
+ }
+ }
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+ }
+ if r.q != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
+ }
+ if r.radioProfiles != nil {
+ t := *r.radioProfiles
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "radio_profiles", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "radio_profiles", t, "form", "multi")
+ }
+ }
+ if r.radioProfilesIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "radio_profiles__isnull", r.radioProfilesIsnull, "form", "")
+ }
+ if r.radioProfilesN != nil {
+ t := *r.radioProfilesN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "radio_profiles__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "radio_profiles__n", t, "form", "multi")
+ }
+ }
+ if r.rate != nil {
+ t := *r.rate
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rate", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rate", t, "form", "multi")
+ }
+ }
+ if r.rateGt != nil {
+ t := *r.rateGt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rate__gt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rate__gt", t, "form", "multi")
+ }
+ }
+ if r.rateGte != nil {
+ t := *r.rateGte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rate__gte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rate__gte", t, "form", "multi")
+ }
+ }
+ if r.rateLt != nil {
+ t := *r.rateLt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rate__lt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rate__lt", t, "form", "multi")
+ }
+ }
+ if r.rateLte != nil {
+ t := *r.rateLte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rate__lte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rate__lte", t, "form", "multi")
+ }
+ }
+ if r.rateN != nil {
+ t := *r.rateN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rate__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "rate__n", t, "form", "multi")
+ }
+ }
+ if r.sort != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
+ }
+ if r.standard != nil {
+ t := *r.standard
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "standard", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "standard", t, "form", "multi")
+ }
+ }
+ if r.standardIc != nil {
+ t := *r.standardIc
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "standard__ic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "standard__ic", t, "form", "multi")
+ }
+ }
+ if r.standardIe != nil {
+ t := *r.standardIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "standard__ie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "standard__ie", t, "form", "multi")
+ }
+ }
+ if r.standardIew != nil {
+ t := *r.standardIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "standard__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "standard__iew", t, "form", "multi")
+ }
+ }
+ if r.standardIre != nil {
+ t := *r.standardIre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "standard__ire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "standard__ire", t, "form", "multi")
+ }
+ }
+ if r.standardIsw != nil {
+ t := *r.standardIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "standard__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "standard__isw", t, "form", "multi")
+ }
+ }
+ if r.standardN != nil {
+ t := *r.standardN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "standard__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "standard__n", t, "form", "multi")
+ }
+ }
+ if r.standardNic != nil {
+ t := *r.standardNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "standard__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "standard__nic", t, "form", "multi")
+ }
+ }
+ if r.standardNie != nil {
+ t := *r.standardNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "standard__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "standard__nie", t, "form", "multi")
+ }
+ }
+ if r.standardNiew != nil {
+ t := *r.standardNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "standard__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "standard__niew", t, "form", "multi")
+ }
+ }
+ if r.standardNire != nil {
+ t := *r.standardNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "standard__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "standard__nire", t, "form", "multi")
+ }
+ }
+ if r.standardNisw != nil {
+ t := *r.standardNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "standard__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "standard__nisw", t, "form", "multi")
+ }
+ }
+ if r.standardNre != nil {
+ t := *r.standardNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "standard__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "standard__nre", t, "form", "multi")
+ }
+ }
+ if r.standardRe != nil {
+ t := *r.standardRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "standard__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "standard__re", t, "form", "multi")
+ }
+ }
+ if r.tags != nil {
+ t := *r.tags
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags", t, "form", "multi")
+ }
+ }
+ if r.tagsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__isnull", r.tagsIsnull, "form", "")
+ }
+ if r.tagsN != nil {
+ t := *r.tagsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", t, "form", "multi")
+ }
+ }
+ if r.teams != nil {
+ t := *r.teams
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams", t, "form", "multi")
+ }
+ }
+ if r.teamsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
+ }
+ if r.teamsN != nil {
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessSupportedDataRatesNotesCreateRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ id string
+ noteInputRequest *NoteInputRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessSupportedDataRatesNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiWirelessSupportedDataRatesNotesCreateRequest {
+ r.noteInputRequest = ¬eInputRequest
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessSupportedDataRatesNotesCreateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesNotesCreateRequest) Execute() (*Note, *http.Response, error) {
+ return r.ApiService.WirelessSupportedDataRatesNotesCreateExecute(r)
+}
+
+/*
+WirelessSupportedDataRatesNotesCreate Method for WirelessSupportedDataRatesNotesCreate
+
+API methods for returning or creating notes on an object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this supported data rate.
+ @return ApiWirelessSupportedDataRatesNotesCreateRequest
+*/
+func (a *WirelessAPIService) WirelessSupportedDataRatesNotesCreate(ctx context.Context, id string) ApiWirelessSupportedDataRatesNotesCreateRequest {
+ return ApiWirelessSupportedDataRatesNotesCreateRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return Note
+func (a *WirelessAPIService) WirelessSupportedDataRatesNotesCreateExecute(r ApiWirelessSupportedDataRatesNotesCreateRequest) (*Note, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPost
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *Note
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessSupportedDataRatesNotesCreate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/supported-data-rates/{id}/notes/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.noteInputRequest == nil {
+ return localVarReturnValue, nil, reportError("noteInputRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.noteInputRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessSupportedDataRatesNotesListRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ limit *int32
+ offset *int32
+ depth *int32
+ excludeM2m *bool
+}
+
+func (r ApiWirelessSupportedDataRatesNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessSupportedDataRatesNotesListRequest {
+ r.format = &format
+ return r
+}
+
+// Number of results to return per page.
+func (r ApiWirelessSupportedDataRatesNotesListRequest) Limit(limit int32) ApiWirelessSupportedDataRatesNotesListRequest {
+ r.limit = &limit
+ return r
+}
+
+// The initial index from which to return the results.
+func (r ApiWirelessSupportedDataRatesNotesListRequest) Offset(offset int32) ApiWirelessSupportedDataRatesNotesListRequest {
+ r.offset = &offset
+ return r
+}
+
+// Serializer Depth
+func (r ApiWirelessSupportedDataRatesNotesListRequest) Depth(depth int32) ApiWirelessSupportedDataRatesNotesListRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiWirelessSupportedDataRatesNotesListRequest) ExcludeM2m(excludeM2m bool) ApiWirelessSupportedDataRatesNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
+ return r.ApiService.WirelessSupportedDataRatesNotesListExecute(r)
+}
+
+/*
+WirelessSupportedDataRatesNotesList Method for WirelessSupportedDataRatesNotesList
+
+API methods for returning or creating notes on an object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this supported data rate.
+ @return ApiWirelessSupportedDataRatesNotesListRequest
+*/
+func (a *WirelessAPIService) WirelessSupportedDataRatesNotesList(ctx context.Context, id string) ApiWirelessSupportedDataRatesNotesListRequest {
+ return ApiWirelessSupportedDataRatesNotesListRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return PaginatedNoteList
+func (a *WirelessAPIService) WirelessSupportedDataRatesNotesListExecute(r ApiWirelessSupportedDataRatesNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *PaginatedNoteList
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessSupportedDataRatesNotesList")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/supported-data-rates/{id}/notes/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ }
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessSupportedDataRatesPartialUpdateRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ patchedSupportedDataRateRequest *PatchedSupportedDataRateRequest
+}
+
+func (r ApiWirelessSupportedDataRatesPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessSupportedDataRatesPartialUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesPartialUpdateRequest) PatchedSupportedDataRateRequest(patchedSupportedDataRateRequest PatchedSupportedDataRateRequest) ApiWirelessSupportedDataRatesPartialUpdateRequest {
+ r.patchedSupportedDataRateRequest = &patchedSupportedDataRateRequest
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesPartialUpdateRequest) Execute() (*SupportedDataRate, *http.Response, error) {
+ return r.ApiService.WirelessSupportedDataRatesPartialUpdateExecute(r)
+}
+
+/*
+WirelessSupportedDataRatesPartialUpdate Method for WirelessSupportedDataRatesPartialUpdate
+
+Partial update a supported data rate object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this supported data rate.
+ @return ApiWirelessSupportedDataRatesPartialUpdateRequest
+*/
+func (a *WirelessAPIService) WirelessSupportedDataRatesPartialUpdate(ctx context.Context, id string) ApiWirelessSupportedDataRatesPartialUpdateRequest {
+ return ApiWirelessSupportedDataRatesPartialUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return SupportedDataRate
+func (a *WirelessAPIService) WirelessSupportedDataRatesPartialUpdateExecute(r ApiWirelessSupportedDataRatesPartialUpdateRequest) (*SupportedDataRate, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPatch
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *SupportedDataRate
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessSupportedDataRatesPartialUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/supported-data-rates/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.patchedSupportedDataRateRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessSupportedDataRatesRetrieveRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ depth *int32
+ excludeM2m *bool
+}
+
+func (r ApiWirelessSupportedDataRatesRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessSupportedDataRatesRetrieveRequest {
+ r.format = &format
+ return r
+}
+
+// Serializer Depth
+func (r ApiWirelessSupportedDataRatesRetrieveRequest) Depth(depth int32) ApiWirelessSupportedDataRatesRetrieveRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiWirelessSupportedDataRatesRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiWirelessSupportedDataRatesRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesRetrieveRequest) Execute() (*SupportedDataRate, *http.Response, error) {
+ return r.ApiService.WirelessSupportedDataRatesRetrieveExecute(r)
+}
+
+/*
+WirelessSupportedDataRatesRetrieve Method for WirelessSupportedDataRatesRetrieve
+
+Retrieve a supported data rate object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this supported data rate.
+ @return ApiWirelessSupportedDataRatesRetrieveRequest
+*/
+func (a *WirelessAPIService) WirelessSupportedDataRatesRetrieve(ctx context.Context, id string) ApiWirelessSupportedDataRatesRetrieveRequest {
+ return ApiWirelessSupportedDataRatesRetrieveRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return SupportedDataRate
+func (a *WirelessAPIService) WirelessSupportedDataRatesRetrieveExecute(r ApiWirelessSupportedDataRatesRetrieveRequest) (*SupportedDataRate, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *SupportedDataRate
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessSupportedDataRatesRetrieve")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/supported-data-rates/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessSupportedDataRatesUpdateRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ id string
+ supportedDataRateRequest *SupportedDataRateRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessSupportedDataRatesUpdateRequest) SupportedDataRateRequest(supportedDataRateRequest SupportedDataRateRequest) ApiWirelessSupportedDataRatesUpdateRequest {
+ r.supportedDataRateRequest = &supportedDataRateRequest
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessSupportedDataRatesUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessSupportedDataRatesUpdateRequest) Execute() (*SupportedDataRate, *http.Response, error) {
+ return r.ApiService.WirelessSupportedDataRatesUpdateExecute(r)
+}
+
+/*
+WirelessSupportedDataRatesUpdate Method for WirelessSupportedDataRatesUpdate
+
+Update a supported data rate object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this supported data rate.
+ @return ApiWirelessSupportedDataRatesUpdateRequest
+*/
+func (a *WirelessAPIService) WirelessSupportedDataRatesUpdate(ctx context.Context, id string) ApiWirelessSupportedDataRatesUpdateRequest {
+ return ApiWirelessSupportedDataRatesUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return SupportedDataRate
+func (a *WirelessAPIService) WirelessSupportedDataRatesUpdateExecute(r ApiWirelessSupportedDataRatesUpdateRequest) (*SupportedDataRate, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPut
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *SupportedDataRate
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessSupportedDataRatesUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/supported-data-rates/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.supportedDataRateRequest == nil {
+ return localVarReturnValue, nil, reportError("supportedDataRateRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.supportedDataRateRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessWirelessNetworksBulkDestroyRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ bulkOperationRequest *[]BulkOperationRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessWirelessNetworksBulkDestroyRequest) BulkOperationRequest(bulkOperationRequest []BulkOperationRequest) ApiWirelessWirelessNetworksBulkDestroyRequest {
+ r.bulkOperationRequest = &bulkOperationRequest
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksBulkDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessWirelessNetworksBulkDestroyRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksBulkDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.WirelessWirelessNetworksBulkDestroyExecute(r)
+}
+
+/*
+WirelessWirelessNetworksBulkDestroy Method for WirelessWirelessNetworksBulkDestroy
+
+Destroy a list of wireless network objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiWirelessWirelessNetworksBulkDestroyRequest
+*/
+func (a *WirelessAPIService) WirelessWirelessNetworksBulkDestroy(ctx context.Context) ApiWirelessWirelessNetworksBulkDestroyRequest {
+ return ApiWirelessWirelessNetworksBulkDestroyRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+func (a *WirelessAPIService) WirelessWirelessNetworksBulkDestroyExecute(r ApiWirelessWirelessNetworksBulkDestroyRequest) (*http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodDelete
+ localVarPostBody interface{}
+ formFiles []formFile
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessWirelessNetworksBulkDestroy")
+ if err != nil {
+ return nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/wireless-networks/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.bulkOperationRequest == nil {
+ return nil, reportError("bulkOperationRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.bulkOperationRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarHTTPResponse, newErr
+ }
+
+ return localVarHTTPResponse, nil
+}
+
+type ApiWirelessWirelessNetworksBulkPartialUpdateRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ patchedBulkWritableWirelessNetworkRequest *[]PatchedBulkWritableWirelessNetworkRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessWirelessNetworksBulkPartialUpdateRequest) PatchedBulkWritableWirelessNetworkRequest(patchedBulkWritableWirelessNetworkRequest []PatchedBulkWritableWirelessNetworkRequest) ApiWirelessWirelessNetworksBulkPartialUpdateRequest {
+ r.patchedBulkWritableWirelessNetworkRequest = &patchedBulkWritableWirelessNetworkRequest
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksBulkPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessWirelessNetworksBulkPartialUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksBulkPartialUpdateRequest) Execute() ([]WirelessNetwork, *http.Response, error) {
+ return r.ApiService.WirelessWirelessNetworksBulkPartialUpdateExecute(r)
+}
+
+/*
+WirelessWirelessNetworksBulkPartialUpdate Method for WirelessWirelessNetworksBulkPartialUpdate
+
+Partial update a list of wireless network objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiWirelessWirelessNetworksBulkPartialUpdateRequest
+*/
+func (a *WirelessAPIService) WirelessWirelessNetworksBulkPartialUpdate(ctx context.Context) ApiWirelessWirelessNetworksBulkPartialUpdateRequest {
+ return ApiWirelessWirelessNetworksBulkPartialUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return []WirelessNetwork
+func (a *WirelessAPIService) WirelessWirelessNetworksBulkPartialUpdateExecute(r ApiWirelessWirelessNetworksBulkPartialUpdateRequest) ([]WirelessNetwork, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPatch
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue []WirelessNetwork
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessWirelessNetworksBulkPartialUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/wireless-networks/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.patchedBulkWritableWirelessNetworkRequest == nil {
+ return localVarReturnValue, nil, reportError("patchedBulkWritableWirelessNetworkRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.patchedBulkWritableWirelessNetworkRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessWirelessNetworksBulkUpdateRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ bulkWritableWirelessNetworkRequest *[]BulkWritableWirelessNetworkRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessWirelessNetworksBulkUpdateRequest) BulkWritableWirelessNetworkRequest(bulkWritableWirelessNetworkRequest []BulkWritableWirelessNetworkRequest) ApiWirelessWirelessNetworksBulkUpdateRequest {
+ r.bulkWritableWirelessNetworkRequest = &bulkWritableWirelessNetworkRequest
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksBulkUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessWirelessNetworksBulkUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksBulkUpdateRequest) Execute() ([]WirelessNetwork, *http.Response, error) {
+ return r.ApiService.WirelessWirelessNetworksBulkUpdateExecute(r)
+}
+
+/*
+WirelessWirelessNetworksBulkUpdate Method for WirelessWirelessNetworksBulkUpdate
+
+Update a list of wireless network objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiWirelessWirelessNetworksBulkUpdateRequest
+*/
+func (a *WirelessAPIService) WirelessWirelessNetworksBulkUpdate(ctx context.Context) ApiWirelessWirelessNetworksBulkUpdateRequest {
+ return ApiWirelessWirelessNetworksBulkUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return []WirelessNetwork
+func (a *WirelessAPIService) WirelessWirelessNetworksBulkUpdateExecute(r ApiWirelessWirelessNetworksBulkUpdateRequest) ([]WirelessNetwork, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPut
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue []WirelessNetwork
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessWirelessNetworksBulkUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/wireless-networks/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.bulkWritableWirelessNetworkRequest == nil {
+ return localVarReturnValue, nil, reportError("bulkWritableWirelessNetworkRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.bulkWritableWirelessNetworkRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessWirelessNetworksCreateRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ wirelessNetworkRequest *WirelessNetworkRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessWirelessNetworksCreateRequest) WirelessNetworkRequest(wirelessNetworkRequest WirelessNetworkRequest) ApiWirelessWirelessNetworksCreateRequest {
+ r.wirelessNetworkRequest = &wirelessNetworkRequest
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessWirelessNetworksCreateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksCreateRequest) Execute() (*WirelessNetwork, *http.Response, error) {
+ return r.ApiService.WirelessWirelessNetworksCreateExecute(r)
+}
+
+/*
+WirelessWirelessNetworksCreate Method for WirelessWirelessNetworksCreate
+
+Create one or more wireless network objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiWirelessWirelessNetworksCreateRequest
+*/
+func (a *WirelessAPIService) WirelessWirelessNetworksCreate(ctx context.Context) ApiWirelessWirelessNetworksCreateRequest {
+ return ApiWirelessWirelessNetworksCreateRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return WirelessNetwork
+func (a *WirelessAPIService) WirelessWirelessNetworksCreateExecute(r ApiWirelessWirelessNetworksCreateRequest) (*WirelessNetwork, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPost
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *WirelessNetwork
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessWirelessNetworksCreate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/wireless-networks/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.wirelessNetworkRequest == nil {
+ return localVarReturnValue, nil, reportError("wirelessNetworkRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.wirelessNetworkRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessWirelessNetworksDestroyRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessWirelessNetworksDestroyRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessWirelessNetworksDestroyRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksDestroyRequest) Execute() (*http.Response, error) {
+ return r.ApiService.WirelessWirelessNetworksDestroyExecute(r)
+}
+
+/*
+WirelessWirelessNetworksDestroy Method for WirelessWirelessNetworksDestroy
+
+Destroy a wireless network object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this wireless network.
+ @return ApiWirelessWirelessNetworksDestroyRequest
+*/
+func (a *WirelessAPIService) WirelessWirelessNetworksDestroy(ctx context.Context, id string) ApiWirelessWirelessNetworksDestroyRequest {
+ return ApiWirelessWirelessNetworksDestroyRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+func (a *WirelessAPIService) WirelessWirelessNetworksDestroyExecute(r ApiWirelessWirelessNetworksDestroyRequest) (*http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodDelete
+ localVarPostBody interface{}
+ formFiles []formFile
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessWirelessNetworksDestroy")
+ if err != nil {
+ return nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/wireless-networks/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarHTTPResponse, newErr
+ }
+
+ return localVarHTTPResponse, nil
+}
+
+type ApiWirelessWirelessNetworksListRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ authentication *[]string
+ authenticationIc *[]string
+ authenticationIe *[]string
+ authenticationIew *[]string
+ authenticationIre *[]string
+ authenticationIsw *[]string
+ authenticationN *[]string
+ authenticationNic *[]string
+ authenticationNie *[]string
+ authenticationNiew *[]string
+ authenticationNire *[]string
+ authenticationNisw *[]string
+ authenticationNre *[]string
+ authenticationRe *[]string
+ contacts *[]string
+ contactsIsnull *bool
+ contactsN *[]string
+ controllerManagedDeviceGroups *[]string
+ controllerManagedDeviceGroupsIsnull *bool
+ controllerManagedDeviceGroupsN *[]string
+ created *[]time.Time
+ createdGt *[]time.Time
+ createdGte *[]time.Time
+ createdIsnull *bool
+ createdLt *[]time.Time
+ createdLte *[]time.Time
+ createdN *[]time.Time
+ description *[]string
+ descriptionIc *[]string
+ descriptionIe *[]string
+ descriptionIew *[]string
+ descriptionIre *[]string
+ descriptionIsw *[]string
+ descriptionN *[]string
+ descriptionNic *[]string
+ descriptionNie *[]string
+ descriptionNiew *[]string
+ descriptionNire *[]string
+ descriptionNisw *[]string
+ descriptionNre *[]string
+ descriptionRe *[]string
+ dynamicGroups *[]string
+ dynamicGroupsN *[]string
+ enabled *bool
+ format *CircuitsCircuitTerminationsListFormatParameter
+ hasControllerManagedDeviceGroups *bool
+ hidden *bool
+ id *[]string
+ idN *[]string
+ lastUpdated *[]time.Time
+ lastUpdatedGt *[]time.Time
+ lastUpdatedGte *[]time.Time
+ lastUpdatedIsnull *bool
+ lastUpdatedLt *[]time.Time
+ lastUpdatedLte *[]time.Time
+ lastUpdatedN *[]time.Time
+ limit *int32
+ mode *[]string
+ modeIc *[]string
+ modeIe *[]string
+ modeIew *[]string
+ modeIre *[]string
+ modeIsw *[]string
+ modeN *[]string
+ modeNic *[]string
+ modeNie *[]string
+ modeNiew *[]string
+ modeNire *[]string
+ modeNisw *[]string
+ modeNre *[]string
+ modeRe *[]string
+ name *[]string
+ nameIc *[]string
+ nameIe *[]string
+ nameIew *[]string
+ nameIre *[]string
+ nameIsw *[]string
+ nameN *[]string
+ nameNic *[]string
+ nameNie *[]string
+ nameNiew *[]string
+ nameNire *[]string
+ nameNisw *[]string
+ nameNre *[]string
+ nameRe *[]string
+ offset *int32
+ q *string
+ secretsGroup *[]string
+ secretsGroupIsnull *bool
+ secretsGroupN *[]string
+ sort *string
+ ssid *[]string
+ ssidIc *[]string
+ ssidIe *[]string
+ ssidIew *[]string
+ ssidIre *[]string
+ ssidIsw *[]string
+ ssidN *[]string
+ ssidNic *[]string
+ ssidNie *[]string
+ ssidNiew *[]string
+ ssidNire *[]string
+ ssidNisw *[]string
+ ssidNre *[]string
+ ssidRe *[]string
+ tags *[]string
+ tagsIsnull *bool
+ tagsN *[]string
+ teams *[]string
+ teamsIsnull *bool
+ teamsN *[]string
+ tenant *[]string
+ tenantIsnull *bool
+ tenantN *[]string
+ tenantGroup *[]string
+ tenantGroupIsnull *bool
+ tenantGroupN *[]string
+ tenantId *[]*string
+ tenantIdIsnull *bool
+ tenantIdN *[]*string
+ depth *int32
+ excludeM2m *bool
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) Authentication(authentication []string) ApiWirelessWirelessNetworksListRequest {
+ r.authentication = &authentication
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) AuthenticationIc(authenticationIc []string) ApiWirelessWirelessNetworksListRequest {
+ r.authenticationIc = &authenticationIc
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) AuthenticationIe(authenticationIe []string) ApiWirelessWirelessNetworksListRequest {
+ r.authenticationIe = &authenticationIe
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) AuthenticationIew(authenticationIew []string) ApiWirelessWirelessNetworksListRequest {
+ r.authenticationIew = &authenticationIew
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) AuthenticationIre(authenticationIre []string) ApiWirelessWirelessNetworksListRequest {
+ r.authenticationIre = &authenticationIre
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) AuthenticationIsw(authenticationIsw []string) ApiWirelessWirelessNetworksListRequest {
+ r.authenticationIsw = &authenticationIsw
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) AuthenticationN(authenticationN []string) ApiWirelessWirelessNetworksListRequest {
+ r.authenticationN = &authenticationN
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) AuthenticationNic(authenticationNic []string) ApiWirelessWirelessNetworksListRequest {
+ r.authenticationNic = &authenticationNic
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) AuthenticationNie(authenticationNie []string) ApiWirelessWirelessNetworksListRequest {
+ r.authenticationNie = &authenticationNie
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) AuthenticationNiew(authenticationNiew []string) ApiWirelessWirelessNetworksListRequest {
+ r.authenticationNiew = &authenticationNiew
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) AuthenticationNire(authenticationNire []string) ApiWirelessWirelessNetworksListRequest {
+ r.authenticationNire = &authenticationNire
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) AuthenticationNisw(authenticationNisw []string) ApiWirelessWirelessNetworksListRequest {
+ r.authenticationNisw = &authenticationNisw
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) AuthenticationNre(authenticationNre []string) ApiWirelessWirelessNetworksListRequest {
+ r.authenticationNre = &authenticationNre
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) AuthenticationRe(authenticationRe []string) ApiWirelessWirelessNetworksListRequest {
+ r.authenticationRe = &authenticationRe
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) Contacts(contacts []string) ApiWirelessWirelessNetworksListRequest {
+ r.contacts = &contacts
+ return r
+}
+
+// Contacts (name or ID) is null
+func (r ApiWirelessWirelessNetworksListRequest) ContactsIsnull(contactsIsnull bool) ApiWirelessWirelessNetworksListRequest {
+ r.contactsIsnull = &contactsIsnull
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) ContactsN(contactsN []string) ApiWirelessWirelessNetworksListRequest {
+ r.contactsN = &contactsN
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) ControllerManagedDeviceGroups(controllerManagedDeviceGroups []string) ApiWirelessWirelessNetworksListRequest {
+ r.controllerManagedDeviceGroups = &controllerManagedDeviceGroups
+ return r
+}
+
+// Controller Managed Device Groups (name or ID) is null
+func (r ApiWirelessWirelessNetworksListRequest) ControllerManagedDeviceGroupsIsnull(controllerManagedDeviceGroupsIsnull bool) ApiWirelessWirelessNetworksListRequest {
+ r.controllerManagedDeviceGroupsIsnull = &controllerManagedDeviceGroupsIsnull
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) ControllerManagedDeviceGroupsN(controllerManagedDeviceGroupsN []string) ApiWirelessWirelessNetworksListRequest {
+ r.controllerManagedDeviceGroupsN = &controllerManagedDeviceGroupsN
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) Created(created []time.Time) ApiWirelessWirelessNetworksListRequest {
+ r.created = &created
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) CreatedGt(createdGt []time.Time) ApiWirelessWirelessNetworksListRequest {
+ r.createdGt = &createdGt
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) CreatedGte(createdGte []time.Time) ApiWirelessWirelessNetworksListRequest {
+ r.createdGte = &createdGte
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) CreatedIsnull(createdIsnull bool) ApiWirelessWirelessNetworksListRequest {
+ r.createdIsnull = &createdIsnull
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) CreatedLt(createdLt []time.Time) ApiWirelessWirelessNetworksListRequest {
+ r.createdLt = &createdLt
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) CreatedLte(createdLte []time.Time) ApiWirelessWirelessNetworksListRequest {
+ r.createdLte = &createdLte
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) CreatedN(createdN []time.Time) ApiWirelessWirelessNetworksListRequest {
+ r.createdN = &createdN
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) Description(description []string) ApiWirelessWirelessNetworksListRequest {
+ r.description = &description
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) DescriptionIc(descriptionIc []string) ApiWirelessWirelessNetworksListRequest {
+ r.descriptionIc = &descriptionIc
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) DescriptionIe(descriptionIe []string) ApiWirelessWirelessNetworksListRequest {
+ r.descriptionIe = &descriptionIe
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) DescriptionIew(descriptionIew []string) ApiWirelessWirelessNetworksListRequest {
+ r.descriptionIew = &descriptionIew
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) DescriptionIre(descriptionIre []string) ApiWirelessWirelessNetworksListRequest {
+ r.descriptionIre = &descriptionIre
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) DescriptionIsw(descriptionIsw []string) ApiWirelessWirelessNetworksListRequest {
+ r.descriptionIsw = &descriptionIsw
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) DescriptionN(descriptionN []string) ApiWirelessWirelessNetworksListRequest {
+ r.descriptionN = &descriptionN
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) DescriptionNic(descriptionNic []string) ApiWirelessWirelessNetworksListRequest {
+ r.descriptionNic = &descriptionNic
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) DescriptionNie(descriptionNie []string) ApiWirelessWirelessNetworksListRequest {
+ r.descriptionNie = &descriptionNie
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) DescriptionNiew(descriptionNiew []string) ApiWirelessWirelessNetworksListRequest {
+ r.descriptionNiew = &descriptionNiew
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) DescriptionNire(descriptionNire []string) ApiWirelessWirelessNetworksListRequest {
+ r.descriptionNire = &descriptionNire
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) DescriptionNisw(descriptionNisw []string) ApiWirelessWirelessNetworksListRequest {
+ r.descriptionNisw = &descriptionNisw
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) DescriptionNre(descriptionNre []string) ApiWirelessWirelessNetworksListRequest {
+ r.descriptionNre = &descriptionNre
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) DescriptionRe(descriptionRe []string) ApiWirelessWirelessNetworksListRequest {
+ r.descriptionRe = &descriptionRe
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) DynamicGroups(dynamicGroups []string) ApiWirelessWirelessNetworksListRequest {
+ r.dynamicGroups = &dynamicGroups
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) DynamicGroupsN(dynamicGroupsN []string) ApiWirelessWirelessNetworksListRequest {
+ r.dynamicGroupsN = &dynamicGroupsN
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) Enabled(enabled bool) ApiWirelessWirelessNetworksListRequest {
+ r.enabled = &enabled
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessWirelessNetworksListRequest {
+ r.format = &format
+ return r
+}
+
+// Has controller managed device groups
+func (r ApiWirelessWirelessNetworksListRequest) HasControllerManagedDeviceGroups(hasControllerManagedDeviceGroups bool) ApiWirelessWirelessNetworksListRequest {
+ r.hasControllerManagedDeviceGroups = &hasControllerManagedDeviceGroups
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) Hidden(hidden bool) ApiWirelessWirelessNetworksListRequest {
+ r.hidden = &hidden
+ return r
+}
+
+// Unique object identifier, either a UUID primary key or a composite key.
+func (r ApiWirelessWirelessNetworksListRequest) Id(id []string) ApiWirelessWirelessNetworksListRequest {
+ r.id = &id
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) IdN(idN []string) ApiWirelessWirelessNetworksListRequest {
+ r.idN = &idN
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) LastUpdated(lastUpdated []time.Time) ApiWirelessWirelessNetworksListRequest {
+ r.lastUpdated = &lastUpdated
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) LastUpdatedGt(lastUpdatedGt []time.Time) ApiWirelessWirelessNetworksListRequest {
+ r.lastUpdatedGt = &lastUpdatedGt
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) LastUpdatedGte(lastUpdatedGte []time.Time) ApiWirelessWirelessNetworksListRequest {
+ r.lastUpdatedGte = &lastUpdatedGte
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) LastUpdatedIsnull(lastUpdatedIsnull bool) ApiWirelessWirelessNetworksListRequest {
+ r.lastUpdatedIsnull = &lastUpdatedIsnull
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) LastUpdatedLt(lastUpdatedLt []time.Time) ApiWirelessWirelessNetworksListRequest {
+ r.lastUpdatedLt = &lastUpdatedLt
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) LastUpdatedLte(lastUpdatedLte []time.Time) ApiWirelessWirelessNetworksListRequest {
+ r.lastUpdatedLte = &lastUpdatedLte
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) LastUpdatedN(lastUpdatedN []time.Time) ApiWirelessWirelessNetworksListRequest {
+ r.lastUpdatedN = &lastUpdatedN
+ return r
+}
+
+// Number of results to return per page.
+func (r ApiWirelessWirelessNetworksListRequest) Limit(limit int32) ApiWirelessWirelessNetworksListRequest {
+ r.limit = &limit
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) Mode(mode []string) ApiWirelessWirelessNetworksListRequest {
+ r.mode = &mode
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) ModeIc(modeIc []string) ApiWirelessWirelessNetworksListRequest {
+ r.modeIc = &modeIc
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) ModeIe(modeIe []string) ApiWirelessWirelessNetworksListRequest {
+ r.modeIe = &modeIe
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) ModeIew(modeIew []string) ApiWirelessWirelessNetworksListRequest {
+ r.modeIew = &modeIew
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) ModeIre(modeIre []string) ApiWirelessWirelessNetworksListRequest {
+ r.modeIre = &modeIre
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) ModeIsw(modeIsw []string) ApiWirelessWirelessNetworksListRequest {
+ r.modeIsw = &modeIsw
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) ModeN(modeN []string) ApiWirelessWirelessNetworksListRequest {
+ r.modeN = &modeN
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) ModeNic(modeNic []string) ApiWirelessWirelessNetworksListRequest {
+ r.modeNic = &modeNic
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) ModeNie(modeNie []string) ApiWirelessWirelessNetworksListRequest {
+ r.modeNie = &modeNie
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) ModeNiew(modeNiew []string) ApiWirelessWirelessNetworksListRequest {
+ r.modeNiew = &modeNiew
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) ModeNire(modeNire []string) ApiWirelessWirelessNetworksListRequest {
+ r.modeNire = &modeNire
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) ModeNisw(modeNisw []string) ApiWirelessWirelessNetworksListRequest {
+ r.modeNisw = &modeNisw
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) ModeNre(modeNre []string) ApiWirelessWirelessNetworksListRequest {
+ r.modeNre = &modeNre
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) ModeRe(modeRe []string) ApiWirelessWirelessNetworksListRequest {
+ r.modeRe = &modeRe
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) Name(name []string) ApiWirelessWirelessNetworksListRequest {
+ r.name = &name
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) NameIc(nameIc []string) ApiWirelessWirelessNetworksListRequest {
+ r.nameIc = &nameIc
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) NameIe(nameIe []string) ApiWirelessWirelessNetworksListRequest {
+ r.nameIe = &nameIe
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) NameIew(nameIew []string) ApiWirelessWirelessNetworksListRequest {
+ r.nameIew = &nameIew
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) NameIre(nameIre []string) ApiWirelessWirelessNetworksListRequest {
+ r.nameIre = &nameIre
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) NameIsw(nameIsw []string) ApiWirelessWirelessNetworksListRequest {
+ r.nameIsw = &nameIsw
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) NameN(nameN []string) ApiWirelessWirelessNetworksListRequest {
+ r.nameN = &nameN
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) NameNic(nameNic []string) ApiWirelessWirelessNetworksListRequest {
+ r.nameNic = &nameNic
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) NameNie(nameNie []string) ApiWirelessWirelessNetworksListRequest {
+ r.nameNie = &nameNie
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) NameNiew(nameNiew []string) ApiWirelessWirelessNetworksListRequest {
+ r.nameNiew = &nameNiew
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) NameNire(nameNire []string) ApiWirelessWirelessNetworksListRequest {
+ r.nameNire = &nameNire
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) NameNisw(nameNisw []string) ApiWirelessWirelessNetworksListRequest {
+ r.nameNisw = &nameNisw
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) NameNre(nameNre []string) ApiWirelessWirelessNetworksListRequest {
+ r.nameNre = &nameNre
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) NameRe(nameRe []string) ApiWirelessWirelessNetworksListRequest {
+ r.nameRe = &nameRe
+ return r
+}
+
+// The initial index from which to return the results.
+func (r ApiWirelessWirelessNetworksListRequest) Offset(offset int32) ApiWirelessWirelessNetworksListRequest {
+ r.offset = &offset
+ return r
+}
+
+// Search
+func (r ApiWirelessWirelessNetworksListRequest) Q(q string) ApiWirelessWirelessNetworksListRequest {
+ r.q = &q
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) SecretsGroup(secretsGroup []string) ApiWirelessWirelessNetworksListRequest {
+ r.secretsGroup = &secretsGroup
+ return r
+}
+
+// Secrets group (name or ID) is null
+func (r ApiWirelessWirelessNetworksListRequest) SecretsGroupIsnull(secretsGroupIsnull bool) ApiWirelessWirelessNetworksListRequest {
+ r.secretsGroupIsnull = &secretsGroupIsnull
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) SecretsGroupN(secretsGroupN []string) ApiWirelessWirelessNetworksListRequest {
+ r.secretsGroupN = &secretsGroupN
+ return r
+}
+
+// Which field to use when ordering the results.
+func (r ApiWirelessWirelessNetworksListRequest) Sort(sort string) ApiWirelessWirelessNetworksListRequest {
+ r.sort = &sort
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) Ssid(ssid []string) ApiWirelessWirelessNetworksListRequest {
+ r.ssid = &ssid
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) SsidIc(ssidIc []string) ApiWirelessWirelessNetworksListRequest {
+ r.ssidIc = &ssidIc
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) SsidIe(ssidIe []string) ApiWirelessWirelessNetworksListRequest {
+ r.ssidIe = &ssidIe
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) SsidIew(ssidIew []string) ApiWirelessWirelessNetworksListRequest {
+ r.ssidIew = &ssidIew
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) SsidIre(ssidIre []string) ApiWirelessWirelessNetworksListRequest {
+ r.ssidIre = &ssidIre
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) SsidIsw(ssidIsw []string) ApiWirelessWirelessNetworksListRequest {
+ r.ssidIsw = &ssidIsw
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) SsidN(ssidN []string) ApiWirelessWirelessNetworksListRequest {
+ r.ssidN = &ssidN
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) SsidNic(ssidNic []string) ApiWirelessWirelessNetworksListRequest {
+ r.ssidNic = &ssidNic
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) SsidNie(ssidNie []string) ApiWirelessWirelessNetworksListRequest {
+ r.ssidNie = &ssidNie
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) SsidNiew(ssidNiew []string) ApiWirelessWirelessNetworksListRequest {
+ r.ssidNiew = &ssidNiew
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) SsidNire(ssidNire []string) ApiWirelessWirelessNetworksListRequest {
+ r.ssidNire = &ssidNire
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) SsidNisw(ssidNisw []string) ApiWirelessWirelessNetworksListRequest {
+ r.ssidNisw = &ssidNisw
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) SsidNre(ssidNre []string) ApiWirelessWirelessNetworksListRequest {
+ r.ssidNre = &ssidNre
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) SsidRe(ssidRe []string) ApiWirelessWirelessNetworksListRequest {
+ r.ssidRe = &ssidRe
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) Tags(tags []string) ApiWirelessWirelessNetworksListRequest {
+ r.tags = &tags
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) TagsIsnull(tagsIsnull bool) ApiWirelessWirelessNetworksListRequest {
+ r.tagsIsnull = &tagsIsnull
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) TagsN(tagsN []string) ApiWirelessWirelessNetworksListRequest {
+ r.tagsN = &tagsN
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) Teams(teams []string) ApiWirelessWirelessNetworksListRequest {
+ r.teams = &teams
+ return r
+}
+
+// Teams (name or ID) is null
+func (r ApiWirelessWirelessNetworksListRequest) TeamsIsnull(teamsIsnull bool) ApiWirelessWirelessNetworksListRequest {
+ r.teamsIsnull = &teamsIsnull
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) TeamsN(teamsN []string) ApiWirelessWirelessNetworksListRequest {
+ r.teamsN = &teamsN
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) Tenant(tenant []string) ApiWirelessWirelessNetworksListRequest {
+ r.tenant = &tenant
+ return r
+}
+
+// Tenant (name or ID) is null
+func (r ApiWirelessWirelessNetworksListRequest) TenantIsnull(tenantIsnull bool) ApiWirelessWirelessNetworksListRequest {
+ r.tenantIsnull = &tenantIsnull
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) TenantN(tenantN []string) ApiWirelessWirelessNetworksListRequest {
+ r.tenantN = &tenantN
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) TenantGroup(tenantGroup []string) ApiWirelessWirelessNetworksListRequest {
+ r.tenantGroup = &tenantGroup
+ return r
+}
+
+// Tenant Group (name or ID) is null
+func (r ApiWirelessWirelessNetworksListRequest) TenantGroupIsnull(tenantGroupIsnull bool) ApiWirelessWirelessNetworksListRequest {
+ r.tenantGroupIsnull = &tenantGroupIsnull
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) TenantGroupN(tenantGroupN []string) ApiWirelessWirelessNetworksListRequest {
+ r.tenantGroupN = &tenantGroupN
+ return r
+}
+
+// Tenant (ID) (deprecated, use \"tenant\" filter instead)
+func (r ApiWirelessWirelessNetworksListRequest) TenantId(tenantId []*string) ApiWirelessWirelessNetworksListRequest {
+ r.tenantId = &tenantId
+ return r
+}
+
+// Tenant (ID) (deprecated, use \"tenant\" filter instead) is null
+func (r ApiWirelessWirelessNetworksListRequest) TenantIdIsnull(tenantIdIsnull bool) ApiWirelessWirelessNetworksListRequest {
+ r.tenantIdIsnull = &tenantIdIsnull
+ return r
+}
+
+// Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead)
+func (r ApiWirelessWirelessNetworksListRequest) TenantIdN(tenantIdN []*string) ApiWirelessWirelessNetworksListRequest {
+ r.tenantIdN = &tenantIdN
+ return r
+}
+
+// Serializer Depth
+func (r ApiWirelessWirelessNetworksListRequest) Depth(depth int32) ApiWirelessWirelessNetworksListRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiWirelessWirelessNetworksListRequest) ExcludeM2m(excludeM2m bool) ApiWirelessWirelessNetworksListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksListRequest) Execute() (*PaginatedWirelessNetworkList, *http.Response, error) {
+ return r.ApiService.WirelessWirelessNetworksListExecute(r)
+}
+
+/*
+WirelessWirelessNetworksList Method for WirelessWirelessNetworksList
+
+Retrieve a list of wireless network objects.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @return ApiWirelessWirelessNetworksListRequest
+*/
+func (a *WirelessAPIService) WirelessWirelessNetworksList(ctx context.Context) ApiWirelessWirelessNetworksListRequest {
+ return ApiWirelessWirelessNetworksListRequest{
+ ApiService: a,
+ ctx: ctx,
+ }
+}
+
+// Execute executes the request
+// @return PaginatedWirelessNetworkList
+func (a *WirelessAPIService) WirelessWirelessNetworksListExecute(r ApiWirelessWirelessNetworksListRequest) (*PaginatedWirelessNetworkList, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *PaginatedWirelessNetworkList
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessWirelessNetworksList")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/wireless-networks/"
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.authentication != nil {
+ t := *r.authentication
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "authentication", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "authentication", t, "form", "multi")
+ }
+ }
+ if r.authenticationIc != nil {
+ t := *r.authenticationIc
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "authentication__ic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "authentication__ic", t, "form", "multi")
+ }
+ }
+ if r.authenticationIe != nil {
+ t := *r.authenticationIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "authentication__ie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "authentication__ie", t, "form", "multi")
+ }
+ }
+ if r.authenticationIew != nil {
+ t := *r.authenticationIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "authentication__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "authentication__iew", t, "form", "multi")
+ }
+ }
+ if r.authenticationIre != nil {
+ t := *r.authenticationIre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "authentication__ire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "authentication__ire", t, "form", "multi")
+ }
+ }
+ if r.authenticationIsw != nil {
+ t := *r.authenticationIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "authentication__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "authentication__isw", t, "form", "multi")
+ }
+ }
+ if r.authenticationN != nil {
+ t := *r.authenticationN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "authentication__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "authentication__n", t, "form", "multi")
+ }
+ }
+ if r.authenticationNic != nil {
+ t := *r.authenticationNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "authentication__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "authentication__nic", t, "form", "multi")
+ }
+ }
+ if r.authenticationNie != nil {
+ t := *r.authenticationNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "authentication__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "authentication__nie", t, "form", "multi")
+ }
+ }
+ if r.authenticationNiew != nil {
+ t := *r.authenticationNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "authentication__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "authentication__niew", t, "form", "multi")
+ }
+ }
+ if r.authenticationNire != nil {
+ t := *r.authenticationNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "authentication__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "authentication__nire", t, "form", "multi")
+ }
+ }
+ if r.authenticationNisw != nil {
+ t := *r.authenticationNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "authentication__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "authentication__nisw", t, "form", "multi")
+ }
+ }
+ if r.authenticationNre != nil {
+ t := *r.authenticationNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "authentication__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "authentication__nre", t, "form", "multi")
+ }
+ }
+ if r.authenticationRe != nil {
+ t := *r.authenticationRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "authentication__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "authentication__re", t, "form", "multi")
+ }
+ }
+ if r.contacts != nil {
+ t := *r.contacts
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts", t, "form", "multi")
+ }
+ }
+ if r.contactsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__isnull", r.contactsIsnull, "form", "")
+ }
+ if r.contactsN != nil {
+ t := *r.contactsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "contacts__n", t, "form", "multi")
+ }
+ }
+ if r.controllerManagedDeviceGroups != nil {
+ t := *r.controllerManagedDeviceGroups
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "controller_managed_device_groups", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "controller_managed_device_groups", t, "form", "multi")
+ }
+ }
+ if r.controllerManagedDeviceGroupsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "controller_managed_device_groups__isnull", r.controllerManagedDeviceGroupsIsnull, "form", "")
+ }
+ if r.controllerManagedDeviceGroupsN != nil {
+ t := *r.controllerManagedDeviceGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "controller_managed_device_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "controller_managed_device_groups__n", t, "form", "multi")
+ }
+ }
+ if r.created != nil {
+ t := *r.created
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created", t, "form", "multi")
+ }
+ }
+ if r.createdGt != nil {
+ t := *r.createdGt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gt", t, "form", "multi")
+ }
+ }
+ if r.createdGte != nil {
+ t := *r.createdGte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__gte", t, "form", "multi")
+ }
+ }
+ if r.createdIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__isnull", r.createdIsnull, "form", "")
+ }
+ if r.createdLt != nil {
+ t := *r.createdLt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lt", t, "form", "multi")
+ }
+ }
+ if r.createdLte != nil {
+ t := *r.createdLte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__lte", t, "form", "multi")
+ }
+ }
+ if r.createdN != nil {
+ t := *r.createdN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "created__n", t, "form", "multi")
+ }
+ }
+ if r.description != nil {
+ t := *r.description
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description", t, "form", "multi")
+ }
+ }
+ if r.descriptionIc != nil {
+ t := *r.descriptionIc
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ic", t, "form", "multi")
+ }
+ }
+ if r.descriptionIe != nil {
+ t := *r.descriptionIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ie", t, "form", "multi")
+ }
+ }
+ if r.descriptionIew != nil {
+ t := *r.descriptionIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__iew", t, "form", "multi")
+ }
+ }
+ if r.descriptionIre != nil {
+ t := *r.descriptionIre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__ire", t, "form", "multi")
+ }
+ }
+ if r.descriptionIsw != nil {
+ t := *r.descriptionIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__isw", t, "form", "multi")
+ }
+ }
+ if r.descriptionN != nil {
+ t := *r.descriptionN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__n", t, "form", "multi")
+ }
+ }
+ if r.descriptionNic != nil {
+ t := *r.descriptionNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nic", t, "form", "multi")
+ }
+ }
+ if r.descriptionNie != nil {
+ t := *r.descriptionNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nie", t, "form", "multi")
+ }
+ }
+ if r.descriptionNiew != nil {
+ t := *r.descriptionNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__niew", t, "form", "multi")
+ }
+ }
+ if r.descriptionNire != nil {
+ t := *r.descriptionNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nire", t, "form", "multi")
+ }
+ }
+ if r.descriptionNisw != nil {
+ t := *r.descriptionNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nisw", t, "form", "multi")
+ }
+ }
+ if r.descriptionNre != nil {
+ t := *r.descriptionNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__nre", t, "form", "multi")
+ }
+ }
+ if r.descriptionRe != nil {
+ t := *r.descriptionRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "description__re", t, "form", "multi")
+ }
+ }
+ if r.dynamicGroups != nil {
+ t := *r.dynamicGroups
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups", t, "form", "multi")
+ }
+ }
+ if r.dynamicGroupsN != nil {
+ t := *r.dynamicGroupsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "dynamic_groups__n", t, "form", "multi")
+ }
+ }
+ if r.enabled != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "enabled", r.enabled, "form", "")
+ }
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.hasControllerManagedDeviceGroups != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "has_controller_managed_device_groups", r.hasControllerManagedDeviceGroups, "form", "")
+ }
+ if r.hidden != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "hidden", r.hidden, "form", "")
+ }
+ if r.id != nil {
+ t := *r.id
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id", t, "form", "multi")
+ }
+ }
+ if r.idN != nil {
+ t := *r.idN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "id__n", t, "form", "multi")
+ }
+ }
+ if r.lastUpdated != nil {
+ t := *r.lastUpdated
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated", t, "form", "multi")
+ }
+ }
+ if r.lastUpdatedGt != nil {
+ t := *r.lastUpdatedGt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gt", t, "form", "multi")
+ }
+ }
+ if r.lastUpdatedGte != nil {
+ t := *r.lastUpdatedGte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__gte", t, "form", "multi")
+ }
+ }
+ if r.lastUpdatedIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__isnull", r.lastUpdatedIsnull, "form", "")
+ }
+ if r.lastUpdatedLt != nil {
+ t := *r.lastUpdatedLt
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lt", t, "form", "multi")
+ }
+ }
+ if r.lastUpdatedLte != nil {
+ t := *r.lastUpdatedLte
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__lte", t, "form", "multi")
+ }
+ }
+ if r.lastUpdatedN != nil {
+ t := *r.lastUpdatedN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "last_updated__n", t, "form", "multi")
+ }
+ }
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ }
+ if r.mode != nil {
+ t := *r.mode
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mode", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mode", t, "form", "multi")
+ }
+ }
+ if r.modeIc != nil {
+ t := *r.modeIc
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mode__ic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mode__ic", t, "form", "multi")
+ }
+ }
+ if r.modeIe != nil {
+ t := *r.modeIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mode__ie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mode__ie", t, "form", "multi")
+ }
+ }
+ if r.modeIew != nil {
+ t := *r.modeIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mode__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mode__iew", t, "form", "multi")
+ }
+ }
+ if r.modeIre != nil {
+ t := *r.modeIre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mode__ire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mode__ire", t, "form", "multi")
+ }
+ }
+ if r.modeIsw != nil {
+ t := *r.modeIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mode__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mode__isw", t, "form", "multi")
+ }
+ }
+ if r.modeN != nil {
+ t := *r.modeN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mode__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mode__n", t, "form", "multi")
+ }
+ }
+ if r.modeNic != nil {
+ t := *r.modeNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mode__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mode__nic", t, "form", "multi")
+ }
+ }
+ if r.modeNie != nil {
+ t := *r.modeNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mode__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mode__nie", t, "form", "multi")
+ }
+ }
+ if r.modeNiew != nil {
+ t := *r.modeNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mode__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mode__niew", t, "form", "multi")
+ }
+ }
+ if r.modeNire != nil {
+ t := *r.modeNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mode__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mode__nire", t, "form", "multi")
+ }
+ }
+ if r.modeNisw != nil {
+ t := *r.modeNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mode__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mode__nisw", t, "form", "multi")
+ }
+ }
+ if r.modeNre != nil {
+ t := *r.modeNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mode__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mode__nre", t, "form", "multi")
+ }
+ }
+ if r.modeRe != nil {
+ t := *r.modeRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mode__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "mode__re", t, "form", "multi")
+ }
+ }
+ if r.name != nil {
+ t := *r.name
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name", t, "form", "multi")
+ }
+ }
+ if r.nameIc != nil {
+ t := *r.nameIc
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ic", t, "form", "multi")
+ }
+ }
+ if r.nameIe != nil {
+ t := *r.nameIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ie", t, "form", "multi")
+ }
+ }
+ if r.nameIew != nil {
+ t := *r.nameIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__iew", t, "form", "multi")
+ }
+ }
+ if r.nameIre != nil {
+ t := *r.nameIre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__ire", t, "form", "multi")
+ }
+ }
+ if r.nameIsw != nil {
+ t := *r.nameIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__isw", t, "form", "multi")
+ }
+ }
+ if r.nameN != nil {
+ t := *r.nameN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__n", t, "form", "multi")
+ }
+ }
+ if r.nameNic != nil {
+ t := *r.nameNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nic", t, "form", "multi")
+ }
+ }
+ if r.nameNie != nil {
+ t := *r.nameNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nie", t, "form", "multi")
+ }
+ }
+ if r.nameNiew != nil {
+ t := *r.nameNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__niew", t, "form", "multi")
+ }
+ }
+ if r.nameNire != nil {
+ t := *r.nameNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nire", t, "form", "multi")
+ }
+ }
+ if r.nameNisw != nil {
+ t := *r.nameNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nisw", t, "form", "multi")
+ }
+ }
+ if r.nameNre != nil {
+ t := *r.nameNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__nre", t, "form", "multi")
+ }
+ }
+ if r.nameRe != nil {
+ t := *r.nameRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "name__re", t, "form", "multi")
+ }
+ }
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+ }
+ if r.q != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "q", r.q, "form", "")
+ }
+ if r.secretsGroup != nil {
+ t := *r.secretsGroup
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "secrets_group", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "secrets_group", t, "form", "multi")
+ }
+ }
+ if r.secretsGroupIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "secrets_group__isnull", r.secretsGroupIsnull, "form", "")
+ }
+ if r.secretsGroupN != nil {
+ t := *r.secretsGroupN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "secrets_group__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "secrets_group__n", t, "form", "multi")
+ }
+ }
+ if r.sort != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "form", "")
+ }
+ if r.ssid != nil {
+ t := *r.ssid
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ssid", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ssid", t, "form", "multi")
+ }
+ }
+ if r.ssidIc != nil {
+ t := *r.ssidIc
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ssid__ic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ssid__ic", t, "form", "multi")
+ }
+ }
+ if r.ssidIe != nil {
+ t := *r.ssidIe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ssid__ie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ssid__ie", t, "form", "multi")
+ }
+ }
+ if r.ssidIew != nil {
+ t := *r.ssidIew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ssid__iew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ssid__iew", t, "form", "multi")
+ }
+ }
+ if r.ssidIre != nil {
+ t := *r.ssidIre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ssid__ire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ssid__ire", t, "form", "multi")
+ }
+ }
+ if r.ssidIsw != nil {
+ t := *r.ssidIsw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ssid__isw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ssid__isw", t, "form", "multi")
+ }
+ }
+ if r.ssidN != nil {
+ t := *r.ssidN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ssid__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ssid__n", t, "form", "multi")
+ }
+ }
+ if r.ssidNic != nil {
+ t := *r.ssidNic
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ssid__nic", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ssid__nic", t, "form", "multi")
+ }
+ }
+ if r.ssidNie != nil {
+ t := *r.ssidNie
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ssid__nie", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ssid__nie", t, "form", "multi")
+ }
+ }
+ if r.ssidNiew != nil {
+ t := *r.ssidNiew
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ssid__niew", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ssid__niew", t, "form", "multi")
+ }
+ }
+ if r.ssidNire != nil {
+ t := *r.ssidNire
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ssid__nire", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ssid__nire", t, "form", "multi")
+ }
+ }
+ if r.ssidNisw != nil {
+ t := *r.ssidNisw
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ssid__nisw", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ssid__nisw", t, "form", "multi")
+ }
+ }
+ if r.ssidNre != nil {
+ t := *r.ssidNre
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ssid__nre", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ssid__nre", t, "form", "multi")
+ }
+ }
+ if r.ssidRe != nil {
+ t := *r.ssidRe
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ssid__re", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "ssid__re", t, "form", "multi")
+ }
+ }
+ if r.tags != nil {
+ t := *r.tags
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags", t, "form", "multi")
+ }
+ }
+ if r.tagsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__isnull", r.tagsIsnull, "form", "")
+ }
+ if r.tagsN != nil {
+ t := *r.tagsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tags__n", t, "form", "multi")
+ }
+ }
+ if r.teams != nil {
+ t := *r.teams
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams", t, "form", "multi")
+ }
+ }
+ if r.teamsIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__isnull", r.teamsIsnull, "form", "")
+ }
+ if r.teamsN != nil {
+ t := *r.teamsN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "teams__n", t, "form", "multi")
+ }
+ }
+ if r.tenant != nil {
+ t := *r.tenant
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant", t, "form", "multi")
+ }
+ }
+ if r.tenantIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__isnull", r.tenantIsnull, "form", "")
+ }
+ if r.tenantN != nil {
+ t := *r.tenantN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant__n", t, "form", "multi")
+ }
+ }
+ if r.tenantGroup != nil {
+ t := *r.tenantGroup
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group", t, "form", "multi")
+ }
+ }
+ if r.tenantGroupIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group__isnull", r.tenantGroupIsnull, "form", "")
+ }
+ if r.tenantGroupN != nil {
+ t := *r.tenantGroupN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_group__n", t, "form", "multi")
+ }
+ }
+ if r.tenantId != nil {
+ t := *r.tenantId
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id", t, "form", "multi")
+ }
+ }
+ if r.tenantIdIsnull != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__isnull", r.tenantIdIsnull, "form", "")
+ }
+ if r.tenantIdN != nil {
+ t := *r.tenantIdN
+ if reflect.TypeOf(t).Kind() == reflect.Slice {
+ s := reflect.ValueOf(t)
+ for i := 0; i < s.Len(); i++ {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__n", s.Index(i).Interface(), "form", "multi")
+ }
+ } else {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "tenant_id__n", t, "form", "multi")
+ }
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessWirelessNetworksNotesCreateRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ id string
+ noteInputRequest *NoteInputRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessWirelessNetworksNotesCreateRequest) NoteInputRequest(noteInputRequest NoteInputRequest) ApiWirelessWirelessNetworksNotesCreateRequest {
+ r.noteInputRequest = ¬eInputRequest
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksNotesCreateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessWirelessNetworksNotesCreateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksNotesCreateRequest) Execute() (*Note, *http.Response, error) {
+ return r.ApiService.WirelessWirelessNetworksNotesCreateExecute(r)
+}
+
+/*
+WirelessWirelessNetworksNotesCreate Method for WirelessWirelessNetworksNotesCreate
+
+API methods for returning or creating notes on an object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this wireless network.
+ @return ApiWirelessWirelessNetworksNotesCreateRequest
+*/
+func (a *WirelessAPIService) WirelessWirelessNetworksNotesCreate(ctx context.Context, id string) ApiWirelessWirelessNetworksNotesCreateRequest {
+ return ApiWirelessWirelessNetworksNotesCreateRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return Note
+func (a *WirelessAPIService) WirelessWirelessNetworksNotesCreateExecute(r ApiWirelessWirelessNetworksNotesCreateRequest) (*Note, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPost
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *Note
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessWirelessNetworksNotesCreate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/wireless-networks/{id}/notes/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.noteInputRequest == nil {
+ return localVarReturnValue, nil, reportError("noteInputRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.noteInputRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessWirelessNetworksNotesListRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ limit *int32
+ offset *int32
+ depth *int32
+ excludeM2m *bool
+}
+
+func (r ApiWirelessWirelessNetworksNotesListRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessWirelessNetworksNotesListRequest {
+ r.format = &format
+ return r
+}
+
+// Number of results to return per page.
+func (r ApiWirelessWirelessNetworksNotesListRequest) Limit(limit int32) ApiWirelessWirelessNetworksNotesListRequest {
+ r.limit = &limit
+ return r
+}
+
+// The initial index from which to return the results.
+func (r ApiWirelessWirelessNetworksNotesListRequest) Offset(offset int32) ApiWirelessWirelessNetworksNotesListRequest {
+ r.offset = &offset
+ return r
+}
+
+// Serializer Depth
+func (r ApiWirelessWirelessNetworksNotesListRequest) Depth(depth int32) ApiWirelessWirelessNetworksNotesListRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiWirelessWirelessNetworksNotesListRequest) ExcludeM2m(excludeM2m bool) ApiWirelessWirelessNetworksNotesListRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksNotesListRequest) Execute() (*PaginatedNoteList, *http.Response, error) {
+ return r.ApiService.WirelessWirelessNetworksNotesListExecute(r)
+}
+
+/*
+WirelessWirelessNetworksNotesList Method for WirelessWirelessNetworksNotesList
+
+API methods for returning or creating notes on an object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this wireless network.
+ @return ApiWirelessWirelessNetworksNotesListRequest
+*/
+func (a *WirelessAPIService) WirelessWirelessNetworksNotesList(ctx context.Context, id string) ApiWirelessWirelessNetworksNotesListRequest {
+ return ApiWirelessWirelessNetworksNotesListRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return PaginatedNoteList
+func (a *WirelessAPIService) WirelessWirelessNetworksNotesListExecute(r ApiWirelessWirelessNetworksNotesListRequest) (*PaginatedNoteList, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *PaginatedNoteList
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessWirelessNetworksNotesList")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/wireless-networks/{id}/notes/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.limit != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "")
+ }
+ if r.offset != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "form", "")
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessWirelessNetworksPartialUpdateRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ patchedWirelessNetworkRequest *PatchedWirelessNetworkRequest
+}
+
+func (r ApiWirelessWirelessNetworksPartialUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessWirelessNetworksPartialUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksPartialUpdateRequest) PatchedWirelessNetworkRequest(patchedWirelessNetworkRequest PatchedWirelessNetworkRequest) ApiWirelessWirelessNetworksPartialUpdateRequest {
+ r.patchedWirelessNetworkRequest = &patchedWirelessNetworkRequest
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksPartialUpdateRequest) Execute() (*WirelessNetwork, *http.Response, error) {
+ return r.ApiService.WirelessWirelessNetworksPartialUpdateExecute(r)
+}
+
+/*
+WirelessWirelessNetworksPartialUpdate Method for WirelessWirelessNetworksPartialUpdate
+
+Partial update a wireless network object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this wireless network.
+ @return ApiWirelessWirelessNetworksPartialUpdateRequest
+*/
+func (a *WirelessAPIService) WirelessWirelessNetworksPartialUpdate(ctx context.Context, id string) ApiWirelessWirelessNetworksPartialUpdateRequest {
+ return ApiWirelessWirelessNetworksPartialUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return WirelessNetwork
+func (a *WirelessAPIService) WirelessWirelessNetworksPartialUpdateExecute(r ApiWirelessWirelessNetworksPartialUpdateRequest) (*WirelessNetwork, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPatch
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *WirelessNetwork
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessWirelessNetworksPartialUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/wireless-networks/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.patchedWirelessNetworkRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessWirelessNetworksRetrieveRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ id string
+ format *CircuitsCircuitTerminationsListFormatParameter
+ depth *int32
+ excludeM2m *bool
+}
+
+func (r ApiWirelessWirelessNetworksRetrieveRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessWirelessNetworksRetrieveRequest {
+ r.format = &format
+ return r
+}
+
+// Serializer Depth
+func (r ApiWirelessWirelessNetworksRetrieveRequest) Depth(depth int32) ApiWirelessWirelessNetworksRetrieveRequest {
+ r.depth = &depth
+ return r
+}
+
+// Exclude many-to-many fields from the response
+func (r ApiWirelessWirelessNetworksRetrieveRequest) ExcludeM2m(excludeM2m bool) ApiWirelessWirelessNetworksRetrieveRequest {
+ r.excludeM2m = &excludeM2m
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksRetrieveRequest) Execute() (*WirelessNetwork, *http.Response, error) {
+ return r.ApiService.WirelessWirelessNetworksRetrieveExecute(r)
+}
+
+/*
+WirelessWirelessNetworksRetrieve Method for WirelessWirelessNetworksRetrieve
+
+Retrieve a wireless network object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this wireless network.
+ @return ApiWirelessWirelessNetworksRetrieveRequest
+*/
+func (a *WirelessAPIService) WirelessWirelessNetworksRetrieve(ctx context.Context, id string) ApiWirelessWirelessNetworksRetrieveRequest {
+ return ApiWirelessWirelessNetworksRetrieveRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return WirelessNetwork
+func (a *WirelessAPIService) WirelessWirelessNetworksRetrieveExecute(r ApiWirelessWirelessNetworksRetrieveRequest) (*WirelessNetwork, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodGet
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *WirelessNetwork
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessWirelessNetworksRetrieve")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/wireless-networks/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ if r.depth != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", r.depth, "form", "")
+ } else {
+ var defaultValue int32 = 1
+ parameterAddToHeaderOrQuery(localVarQueryParams, "depth", defaultValue, "form", "")
+ r.depth = &defaultValue
+ }
+ if r.excludeM2m != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", r.excludeM2m, "form", "")
+ } else {
+ var defaultValue bool = false
+ parameterAddToHeaderOrQuery(localVarQueryParams, "exclude_m2m", defaultValue, "form", "")
+ r.excludeM2m = &defaultValue
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type ApiWirelessWirelessNetworksUpdateRequest struct {
+ ctx context.Context
+ ApiService *WirelessAPIService
+ id string
+ wirelessNetworkRequest *WirelessNetworkRequest
+ format *CircuitsCircuitTerminationsListFormatParameter
+}
+
+func (r ApiWirelessWirelessNetworksUpdateRequest) WirelessNetworkRequest(wirelessNetworkRequest WirelessNetworkRequest) ApiWirelessWirelessNetworksUpdateRequest {
+ r.wirelessNetworkRequest = &wirelessNetworkRequest
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksUpdateRequest) Format(format CircuitsCircuitTerminationsListFormatParameter) ApiWirelessWirelessNetworksUpdateRequest {
+ r.format = &format
+ return r
+}
+
+func (r ApiWirelessWirelessNetworksUpdateRequest) Execute() (*WirelessNetwork, *http.Response, error) {
+ return r.ApiService.WirelessWirelessNetworksUpdateExecute(r)
+}
+
+/*
+WirelessWirelessNetworksUpdate Method for WirelessWirelessNetworksUpdate
+
+Update a wireless network object.
+
+ @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param id A UUID string identifying this wireless network.
+ @return ApiWirelessWirelessNetworksUpdateRequest
+*/
+func (a *WirelessAPIService) WirelessWirelessNetworksUpdate(ctx context.Context, id string) ApiWirelessWirelessNetworksUpdateRequest {
+ return ApiWirelessWirelessNetworksUpdateRequest{
+ ApiService: a,
+ ctx: ctx,
+ id: id,
+ }
+}
+
+// Execute executes the request
+// @return WirelessNetwork
+func (a *WirelessAPIService) WirelessWirelessNetworksUpdateExecute(r ApiWirelessWirelessNetworksUpdateRequest) (*WirelessNetwork, *http.Response, error) {
+ var (
+ localVarHTTPMethod = http.MethodPut
+ localVarPostBody interface{}
+ formFiles []formFile
+ localVarReturnValue *WirelessNetwork
+ )
+
+ localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WirelessAPIService.WirelessWirelessNetworksUpdate")
+ if err != nil {
+ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
+ }
+
+ localVarPath := localBasePath + "/wireless/wireless-networks/{id}/"
+ localVarPath = strings.Replace(localVarPath, "{"+"id"+"}", url.PathEscape(parameterValueToString(r.id, "id")), -1)
+
+ localVarHeaderParams := make(map[string]string)
+ localVarQueryParams := url.Values{}
+ localVarFormParams := url.Values{}
+ if r.wirelessNetworkRequest == nil {
+ return localVarReturnValue, nil, reportError("wirelessNetworkRequest is required and must be specified")
+ }
+
+ if r.format != nil {
+ parameterAddToHeaderOrQuery(localVarQueryParams, "format", r.format, "form", "")
+ }
+ // to determine the Content-Type header
+ localVarHTTPContentTypes := []string{"application/json", "text/csv"}
+
+ // set Content-Type header
+ localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+ if localVarHTTPContentType != "" {
+ localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+ }
+
+ // to determine the Accept header
+ localVarHTTPHeaderAccepts := []string{"application/json", "text/csv"}
+
+ // set Accept header
+ localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+ if localVarHTTPHeaderAccept != "" {
+ localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+ }
+ // body params
+ localVarPostBody = r.wirelessNetworkRequest
+ if r.ctx != nil {
+ // API Key Authentication
+ if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
+ if apiKey, ok := auth["tokenAuth"]; ok {
+ var key string
+ if apiKey.Prefix != "" {
+ key = apiKey.Prefix + " " + apiKey.Key
+ } else {
+ key = apiKey.Key
+ }
+ localVarHeaderParams["Authorization"] = key
+ }
+ }
+ }
+ req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
+ if err != nil {
+ return localVarReturnValue, nil, err
+ }
+
+ localVarHTTPResponse, err := a.client.callAPI(req)
+ if err != nil || localVarHTTPResponse == nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ localVarBody, err := io.ReadAll(localVarHTTPResponse.Body)
+ localVarHTTPResponse.Body.Close()
+ localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody))
+ if err != nil {
+ return localVarReturnValue, localVarHTTPResponse, err
+ }
+
+ if localVarHTTPResponse.StatusCode >= 300 {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: localVarHTTPResponse.Status,
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+ if err != nil {
+ newErr := &GenericOpenAPIError{
+ body: localVarBody,
+ error: err.Error(),
+ }
+ return localVarReturnValue, localVarHTTPResponse, newErr
+ }
+
+ return localVarReturnValue, localVarHTTPResponse, nil
+}
diff --git a/client.go b/client.go
index 51d30ed7..f456eef3 100644
--- a/client.go
+++ b/client.go
@@ -3,7 +3,7 @@ API Documentation
Source of truth and network automation platform
-API version: 2.3.4 (2.3)
+API version: 2.4.21 (2.4)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -41,7 +41,7 @@ var (
queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" )
)
-// APIClient manages communication with the API Documentation API v2.3.4 (2.3)
+// APIClient manages communication with the API Documentation API v2.4.21 (2.4)
// In most cases there should be only one, shared, APIClient.
type APIClient struct {
cfg *Configuration
@@ -53,6 +53,8 @@ type APIClient struct {
CloudAPI *CloudAPIService
+ CoreAPI *CoreAPIService
+
DcimAPI *DcimAPIService
ExtrasAPI *ExtrasAPIService
@@ -71,9 +73,13 @@ type APIClient struct {
TenancyAPI *TenancyAPIService
+ UiAPI *UiAPIService
+
UsersAPI *UsersAPIService
VirtualizationAPI *VirtualizationAPIService
+
+ WirelessAPI *WirelessAPIService
}
type service struct {
@@ -94,6 +100,7 @@ func NewAPIClient(cfg *Configuration) *APIClient {
// API Services
c.CircuitsAPI = (*CircuitsAPIService)(&c.common)
c.CloudAPI = (*CloudAPIService)(&c.common)
+ c.CoreAPI = (*CoreAPIService)(&c.common)
c.DcimAPI = (*DcimAPIService)(&c.common)
c.ExtrasAPI = (*ExtrasAPIService)(&c.common)
c.GraphqlAPI = (*GraphqlAPIService)(&c.common)
@@ -103,8 +110,10 @@ func NewAPIClient(cfg *Configuration) *APIClient {
c.SwaggerJsonAPI = (*SwaggerJsonAPIService)(&c.common)
c.SwaggerYamlAPI = (*SwaggerYamlAPIService)(&c.common)
c.TenancyAPI = (*TenancyAPIService)(&c.common)
+ c.UiAPI = (*UiAPIService)(&c.common)
c.UsersAPI = (*UsersAPIService)(&c.common)
c.VirtualizationAPI = (*VirtualizationAPIService)(&c.common)
+ c.WirelessAPI = (*WirelessAPIService)(&c.common)
return c
}
@@ -163,6 +172,10 @@ func typeCheckParameter(obj interface{}, expected string, name string) error {
func parameterValueToString( obj interface{}, key string ) string {
if reflect.TypeOf(obj).Kind() != reflect.Ptr {
+ if actualObj, ok := obj.(interface{ GetActualInstanceValue() interface{} }); ok {
+ return fmt.Sprintf("%v", actualObj.GetActualInstanceValue())
+ }
+
return fmt.Sprintf("%v", obj)
}
var param,ok = obj.(MappedNullable)
diff --git a/configuration.go b/configuration.go
index 51cddc93..4bf50917 100644
--- a/configuration.go
+++ b/configuration.go
@@ -3,7 +3,7 @@ API Documentation
Source of truth and network automation platform
-API version: 2.3.4 (2.3)
+API version: 2.4.21 (2.4)
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
@@ -92,7 +92,7 @@ type Configuration struct {
func NewConfiguration() *Configuration {
cfg := &Configuration{
DefaultHeader: make(map[string]string),
- UserAgent: "go-nautobot/2.3.2-beta",
+ UserAgent: "go-nautobot/2.4.21-beta",
Debug: false,
Servers: ServerConfigurations{
{
diff --git a/development/Dockerfile b/development/Dockerfile
index e9e3de76..b38dad04 100644
--- a/development/Dockerfile
+++ b/development/Dockerfile
@@ -1,4 +1,4 @@
-FROM golang:1.21-alpine
+FROM golang:1.23-alpine
WORKDIR /app
diff --git a/development/README.md b/development/README.md
index d31ef1c4..d750129f 100644
--- a/development/README.md
+++ b/development/README.md
@@ -6,5 +6,5 @@ To Create the go-bindings manually, you need to install:
- `git`
Then run
-`./create-go-bindings` in this directory.
+`./create-go-bindings.sh` in this directory.
You will need root permissions.
diff --git a/development/create-go-bindings.sh b/development/create-go-bindings.sh
index 6356561d..c2c172b1 100755
--- a/development/create-go-bindings.sh
+++ b/development/create-go-bindings.sh
@@ -2,13 +2,13 @@
set -euxo pipefail
cleanup() {
- docker-compose --project-name go_nautobot -f docker-compose.yml down -v || true
+ docker compose --project-name go_nautobot -f docker-compose.yml down -v || true
}
trap cleanup EXIT
echo "Generating GO bindings"
-docker-compose --project-name go_nautobot -f docker-compose.yml --env-file local_dev.env up --build --abort-on-container-exit --exit-code-from oapi
+docker compose --project-name go_nautobot -f docker-compose.yml --env-file local_dev.env up --build --abort-on-container-exit --exit-code-from oapi
echo "Done"
diff --git a/development/docker-compose.yml b/development/docker-compose.yml
index ef0c7ffe..13466766 100644
--- a/development/docker-compose.yml
+++ b/development/docker-compose.yml
@@ -7,7 +7,6 @@ x-nautobot-base: &nautobot-base
volumes:
- "./nautobot_config.py:/opt/nautobot/nautobot_config.py"
-version: "3.4"
services:
oapi:
build:
@@ -21,6 +20,9 @@ services:
- NAUTOBOT_VER=${NAUTOBOT_VER}
volumes:
- "../:/client"
+ dns:
+ - 1.1.1.1
+ - 8.8.8.8
nautobot:
healthcheck:
interval: 30s
diff --git a/development/generate.sh b/development/generate.sh
index 7af13f2f..95587c90 100755
--- a/development/generate.sh
+++ b/development/generate.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
set -euxo pipefail
echo "Getting openAPI spec"
diff --git a/development/local_dev.env b/development/local_dev.env
index d9455703..bc33b2f1 100644
--- a/development/local_dev.env
+++ b/development/local_dev.env
@@ -1,2 +1,2 @@
-NAUTOBOT_VER="2.3.2"
+NAUTOBOT_VER="2.4.21"
PYTHON_VER="3.11"
diff --git a/development/nautobot_config.py b/development/nautobot_config.py
index 2d609636..6a76cb74 100644
--- a/development/nautobot_config.py
+++ b/development/nautobot_config.py
@@ -30,6 +30,7 @@
ALLOWED_HOSTS = os.getenv("NAUTOBOT_ALLOWED_HOSTS", "").split(" ")
SECRET_KEY = os.getenv("NAUTOBOT_SECRET_KEY", "")
+INSTALLATION_METRICS_ENABLED = is_truthy(os.getenv("INSTALLATION_METRICS_ENABLED", False))
#
# Database
diff --git a/development/scripts/add-missing-imports.sh b/development/scripts/add-missing-imports.sh
index 6ce17bcf..8136209c 100755
--- a/development/scripts/add-missing-imports.sh
+++ b/development/scripts/add-missing-imports.sh
@@ -1,7 +1,7 @@
#!/bin/bash
-# List of files to process
-files=("api_circuits.go" "api_dcim.go" "api_extras.go" "api_ipam.go" "api_tenancy.go" "api_users.go" "api_virtualization.go" "api_cloud.go")
+# List of files to process (go bindings generator issue?)
+files=("api_circuits.go" "api_cloud.go" "api_dcim.go" "api_extras.go" "api_ipam.go" "api_tenancy.go" "api_users.go" "api_virtualization.go" "api_wireless.go")
for file in "${files[@]}"
do
diff --git a/development/scripts/fix-spec.py b/development/scripts/fix-spec.py
index cfc611fe..038802bb 100755
--- a/development/scripts/fix-spec.py
+++ b/development/scripts/fix-spec.py
@@ -4,36 +4,38 @@
SPEC_PATH = '/client/api/openapi.yaml'
-# Load the spec file
+def _is_stringy_oneof(s):
+ return (
+ isinstance(s, dict)
+ and isinstance(s.get('oneOf'), list)
+ and s['oneOf']
+ and all(isinstance(b, dict) and b.get('type') == 'string' for b in s['oneOf'])
+ )
+
with open(SPEC_PATH, 'r') as file:
data = yaml.load(file, Loader=yaml.CLoader)
# Traverse schemas
if 'components' in data and 'schemas' in data['components']:
for name, schema in data['components']['schemas'].items():
-
- # Check if the schema has 'required' fields
+
+ # Remove *_count from required (https://github.com/nautobot/nautobot/issues/6183)
if 'required' in schema:
required_fields = schema['required']
-
- # Find and remove all fields that end with '_count' (https://github.com/nautobot/nautobot/issues/6183)
fields_to_remove = [field for field in required_fields if field.endswith('_count')]
-
if fields_to_remove:
print(f"Removing {fields_to_remove} from {name}.required")
for field in fields_to_remove:
required_fields.remove(field)
-
- # Handle failover_strategy (https://github.com/nautobot/nautobot/issues/6157)
- if 'failover_strategy' in schema.get('properties', {}):
- prop = schema['properties']['failover_strategy']
- if 'default' in prop and prop['default'] is None:
- print(f"Removing 'default: null' in {name}.failover_strategy")
- del prop['default']
-
- # Handle PowerFeed schema (TODO: This might not be correct, but it works for now)
+
+ # Remove computed_fields as required for VLANs (https://github.com/nautobot/nautobot/issues/8082)
+ if name == 'VLAN' and 'required' in schema:
+ if 'computed_fields' in schema['required']:
+ print("Removing computed_fields from VLAN.required")
+ schema['required'].remove('computed_fields')
+
+ # PowerFeed patches (go bindings generator issue?)
if name == 'PowerFeed' and 'properties' in schema:
- # Replace nested `type` field in PowerFeed
if 'type' in schema['properties']:
type_property = schema['properties']['type']
if 'properties' in type_property and 'value' in type_property['properties']:
@@ -43,20 +45,10 @@
schema['properties']['type'] = {
'type': 'object',
'properties': {
- 'value': {
- 'type': 'string',
- 'enum': ['primary', 'redundant'],
- 'default': 'primary'
- },
- 'label': {
- 'type': 'string',
- 'enum': ['Primary', 'Redundant'],
- 'default': 'Primary'
- }
+ 'value': {'type': 'string','enum': ['primary','redundant'],'default': 'primary'},
+ 'label': {'type': 'string','enum': ['Primary','Redundant'],'default': 'Primary'},
}
}
-
- # Replace nested `supply` field in PowerFeed
if 'supply' in schema['properties']:
supply_property = schema['properties']['supply']
if 'properties' in supply_property and 'value' in supply_property['properties']:
@@ -66,20 +58,10 @@
schema['properties']['supply'] = {
'type': 'object',
'properties': {
- 'value': {
- 'type': 'string',
- 'enum': ['ac', 'dc'],
- 'default': 'ac'
- },
- 'label': {
- 'type': 'string',
- 'enum': ['AC', 'DC'],
- 'default': 'AC'
- }
+ 'value': {'type': 'string','enum': ['ac','dc'],'default': 'ac'},
+ 'label': {'type': 'string','enum': ['AC','DC'],'default': 'AC'},
}
}
-
- # Replace nested `phase` field in PowerFeed
if 'phase' in schema['properties']:
phase_property = schema['properties']['phase']
if 'properties' in phase_property and 'value' in phase_property['properties']:
@@ -89,21 +71,13 @@
schema['properties']['phase'] = {
'type': 'object',
'properties': {
- 'value': {
- 'type': 'string',
- 'enum': ['single-phase', 'three-phase'],
- 'default': 'single-phase'
- },
- 'label': {
- 'type': 'string',
- 'enum': ['Single phase', 'Three-phase'],
- 'default': 'Single phase'
- }
+ 'value': {'type': 'string','enum': ['single-phase','three-phase'],'default': 'single-phase'},
+ 'label': {'type': 'string','enum': ['Single phase','Three-phase'],'default': 'Single phase'},
}
}
+ # Prefix patch (go bindings generator issue?)
if name == 'Prefix' and 'properties' in schema:
- # Replace complex `type` object with a more detailed schema in Prefix (TODO: This might not be correct, but it works for now)
if 'type' in schema['properties']:
type_property = schema['properties']['type']
if 'properties' in type_property and 'value' in type_property['properties']:
@@ -111,75 +85,89 @@
schema['properties']['type'] = {
'type': 'object',
'properties': {
- 'value': {
- 'type': 'string',
- 'enum': ['container', 'network', 'pool'],
- 'default': 'network'
- },
- 'label': {
- 'type': 'string',
- 'enum': ['Container', 'Network', 'Pool'],
- 'default': 'Network'
- }
+ 'value': {'type': 'string','enum': ['container','network','pool'],'default': 'network'},
+ 'label': {'type': 'string','enum': ['Container','Network','Pool'],'default': 'Network'},
}
}
-
+
if 'properties' in schema:
- # Fix non-nullable types
- # See: https://github.com/OpenAPITools/openapi-generator/issues/18006
- non_nullable_types = [
- 'front_image',
- 'rear_image',
- ]
+ # Email: oneOf -> plain string with default ""
+ email_prop = schema['properties'].get('email')
+ if _is_stringy_oneof(email_prop):
+ print(f"Simplifying {name}.properties.email oneOf -> string/default")
+ simplified = {'type': 'string', 'maxLength': 254, 'default': ''}
+ if isinstance(email_prop, dict) and 'title' in email_prop:
+ simplified['title'] = email_prop['title']
+ schema['properties']['email'] = simplified
+
+ # failover_strategy: oneOf of enums -> string enum with default (TODO: create go bindings generator issue)
+ fs_prop = schema['properties'].get('failover_strategy')
+ if isinstance(fs_prop, dict) and 'oneOf' in fs_prop:
+ enums = []
+ for branch in fs_prop.get('oneOf', []):
+ if '$ref' in branch:
+ refname = branch['$ref'].rsplit('/', 1)[-1]
+ refschema = data['components']['schemas'].get(refname, {})
+ if isinstance(refschema, dict) and 'enum' in refschema:
+ enums.extend(refschema['enum'])
+ elif 'enum' in branch:
+ enums.extend(branch['enum'])
+ seen = set()
+ enums = [e for e in enums if (e not in seen and not seen.add(e))]
+ if enums:
+ print(f"Simplifying {name}.properties.failover_strategy oneOf -> string/enum")
+ schema['properties']['failover_strategy'] = {
+ 'type': 'string',
+ 'enum': enums,
+ 'default': '' if '' in enums else enums[0]
+ }
+
+ # Remove object default for structured failover_strategy (value/label) (TODO: create go bindings generator issue)
+ fs_obj = schema['properties'].get('failover_strategy')
+ if (
+ isinstance(fs_obj, dict)
+ and fs_obj.get('type') == 'object'
+ and isinstance(fs_obj.get('properties'), dict)
+ and 'value' in fs_obj['properties'] and 'label' in fs_obj['properties']
+ and isinstance(fs_obj.get('default'), dict)
+ ):
+ print(f"Removing object default from {name}.properties.failover_strategy")
+ fs_obj.pop('default', None)
- for ntype in non_nullable_types:
+ # Non-nullable binaries (https://github.com/OpenAPITools/openapi-generator/issues/18006)
+ for ntype in ('front_image', 'rear_image'):
if ntype in schema['properties']:
- if schema['properties'][ntype]['format'] == 'binary':
- schema['properties'][ntype].pop('nullable')
-
+ if schema['properties'][ntype].get('format') == 'binary':
+ schema['properties'][ntype].pop('nullable', None)
+
# Patch to use AvailableIP array directly instead of PaginatedAvailableIPList (https://github.com/nautobot/nautobot/issues/2131)
if 'paths' in data:
if '/ipam/prefixes/{id}/available-ips/' in data['paths']:
available_ips_path = data['paths']['/ipam/prefixes/{id}/available-ips/']
-
- # Update the GET request response to return an array of AvailableIP objects directly
if 'get' in available_ips_path and 'responses' in available_ips_path['get']:
responses = available_ips_path['get']['responses']
if '200' in responses and 'content' in responses['200']:
print("Updating available-ips GET response to return an array of AvailableIP objects")
responses['200']['content']['application/json']['schema'] = {
'type': 'array',
- 'items': {
- '$ref': '#/components/schemas/AvailableIP'
- }
+ 'items': {'$ref': '#/components/schemas/AvailableIP'}
}
responses['200']['content']['text/csv']['schema'] = {
'type': 'array',
- 'items': {
- '$ref': '#/components/schemas/AvailableIP'
- }
+ 'items': {'$ref': '#/components/schemas/AvailableIP'}
}
-
- # Update the POST request response to return an array of IPAddress objects
if 'post' in available_ips_path and 'responses' in available_ips_path['post']:
responses_post = available_ips_path['post']['responses']
if '201' in responses_post and 'content' in responses_post['201']:
print("Updating available-ips POST response to return an array of IPAddress objects")
responses_post['201']['content']['application/json']['schema'] = {
'type': 'array',
- 'items': {
- '$ref': '#/components/schemas/IPAddress'
- }
+ 'items': {'$ref': '#/components/schemas/IPAddress'}
}
responses_post['201']['content']['text/csv']['schema'] = {
'type': 'array',
- 'items': {
- '$ref': '#/components/schemas/IPAddress'
- }
+ 'items': {'$ref': '#/components/schemas/IPAddress'}
}
-
-# Save the spec file
with open(SPEC_PATH, 'w') as file:
yaml.dump(data, file, Dumper=yaml.CDumper, sort_keys=False)
-
diff --git a/docs/AuthenticationEnum.md b/docs/AuthenticationEnum.md
new file mode 100644
index 00000000..2b56aea4
--- /dev/null
+++ b/docs/AuthenticationEnum.md
@@ -0,0 +1,25 @@
+# AuthenticationEnum
+
+## Enum
+
+
+* `OPEN` (value: `"Open"`)
+
+* `WPA2_PERSONAL` (value: `"WPA2 Personal"`)
+
+* `WPA2_ENTERPRISE` (value: `"WPA2 Enterprise"`)
+
+* `ENHANCED_OPEN` (value: `"Enhanced Open"`)
+
+* `WPA3_PERSONAL` (value: `"WPA3 Personal"`)
+
+* `WPA3_SAE` (value: `"WPA3 SAE"`)
+
+* `WPA3_ENTERPRISE` (value: `"WPA3 Enterprise"`)
+
+* `WPA3_ENTERPRISE_192_BIT` (value: `"WPA3 Enterprise 192Bit"`)
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/BreakerPoleCountEnum.md b/docs/BreakerPoleCountEnum.md
new file mode 100644
index 00000000..d8eb171f
--- /dev/null
+++ b/docs/BreakerPoleCountEnum.md
@@ -0,0 +1,15 @@
+# BreakerPoleCountEnum
+
+## Enum
+
+
+* `_1` (value: `1`)
+
+* `_2` (value: `2`)
+
+* `_3` (value: `3`)
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/BulkWritableCircuitTerminationRequest.md b/docs/BulkWritableCircuitTerminationRequest.md
index 87370b31..112ac383 100644
--- a/docs/BulkWritableCircuitTerminationRequest.md
+++ b/docs/BulkWritableCircuitTerminationRequest.md
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
**Location** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**ProviderNetwork** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**CloudNetwork** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
@@ -347,6 +348,31 @@ HasCloudNetwork returns a boolean if a field has been set.
`func (o *BulkWritableCircuitTerminationRequest) UnsetCloudNetwork()`
UnsetCloudNetwork ensures that no value is present for CloudNetwork, not even an explicit nil
+### GetTags
+
+`func (o *BulkWritableCircuitTerminationRequest) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *BulkWritableCircuitTerminationRequest) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *BulkWritableCircuitTerminationRequest) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *BulkWritableCircuitTerminationRequest) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
### GetCustomFields
`func (o *BulkWritableCircuitTerminationRequest) GetCustomFields() map[string]interface{}`
diff --git a/docs/BulkWritableContactRequest.md b/docs/BulkWritableContactRequest.md
index 1f738b33..9b4ead57 100644
--- a/docs/BulkWritableContactRequest.md
+++ b/docs/BulkWritableContactRequest.md
@@ -5,7 +5,6 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **string** | |
-**Teams** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
**Name** | **string** | |
**Phone** | Pointer to **string** | | [optional] [default to ""]
**Email** | Pointer to **string** | | [optional] [default to ""]
@@ -13,6 +12,8 @@ Name | Type | Description | Notes
**Comments** | Pointer to **string** | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
+**Teams** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
## Methods
@@ -53,31 +54,6 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
-### GetTeams
-
-`func (o *BulkWritableContactRequest) GetTeams() []BulkWritableCableRequestStatus`
-
-GetTeams returns the Teams field if non-nil, zero value otherwise.
-
-### GetTeamsOk
-
-`func (o *BulkWritableContactRequest) GetTeamsOk() (*[]BulkWritableCableRequestStatus, bool)`
-
-GetTeamsOk returns a tuple with the Teams field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTeams
-
-`func (o *BulkWritableContactRequest) SetTeams(v []BulkWritableCableRequestStatus)`
-
-SetTeams sets Teams field to given value.
-
-### HasTeams
-
-`func (o *BulkWritableContactRequest) HasTeams() bool`
-
-HasTeams returns a boolean if a field has been set.
-
### GetName
`func (o *BulkWritableContactRequest) GetName() string`
@@ -248,6 +224,56 @@ SetRelationships sets Relationships field to given value.
HasRelationships returns a boolean if a field has been set.
+### GetTags
+
+`func (o *BulkWritableContactRequest) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *BulkWritableContactRequest) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *BulkWritableContactRequest) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *BulkWritableContactRequest) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
+### GetTeams
+
+`func (o *BulkWritableContactRequest) GetTeams() []BulkWritableCableRequestStatus`
+
+GetTeams returns the Teams field if non-nil, zero value otherwise.
+
+### GetTeamsOk
+
+`func (o *BulkWritableContactRequest) GetTeamsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTeamsOk returns a tuple with the Teams field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTeams
+
+`func (o *BulkWritableContactRequest) SetTeams(v []BulkWritableCableRequestStatus)`
+
+SetTeams sets Teams field to given value.
+
+### HasTeams
+
+`func (o *BulkWritableContactRequest) HasTeams() bool`
+
+HasTeams returns a boolean if a field has been set.
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest.md b/docs/BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest.md
new file mode 100644
index 00000000..3debedbb
--- /dev/null
+++ b/docs/BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest.md
@@ -0,0 +1,93 @@
+# BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | |
+**ControllerManagedDeviceGroup** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+**RadioProfile** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+
+## Methods
+
+### NewBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest
+
+`func NewBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest(id string, controllerManagedDeviceGroup BulkWritableCableRequestStatus, radioProfile BulkWritableCableRequestStatus, ) *BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest`
+
+NewBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest instantiates a new BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequestWithDefaults
+
+`func NewBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequestWithDefaults() *BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest`
+
+NewBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequestWithDefaults instantiates a new BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+
+### GetControllerManagedDeviceGroup
+
+`func (o *BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetControllerManagedDeviceGroup() BulkWritableCableRequestStatus`
+
+GetControllerManagedDeviceGroup returns the ControllerManagedDeviceGroup field if non-nil, zero value otherwise.
+
+### GetControllerManagedDeviceGroupOk
+
+`func (o *BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetControllerManagedDeviceGroupOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetControllerManagedDeviceGroupOk returns a tuple with the ControllerManagedDeviceGroup field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetControllerManagedDeviceGroup
+
+`func (o *BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) SetControllerManagedDeviceGroup(v BulkWritableCableRequestStatus)`
+
+SetControllerManagedDeviceGroup sets ControllerManagedDeviceGroup field to given value.
+
+
+### GetRadioProfile
+
+`func (o *BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetRadioProfile() BulkWritableCableRequestStatus`
+
+GetRadioProfile returns the RadioProfile field if non-nil, zero value otherwise.
+
+### GetRadioProfileOk
+
+`func (o *BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetRadioProfileOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetRadioProfileOk returns a tuple with the RadioProfile field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetRadioProfile
+
+`func (o *BulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) SetRadioProfile(v BulkWritableCableRequestStatus)`
+
+SetRadioProfile sets RadioProfile field to given value.
+
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/BulkWritableControllerManagedDeviceGroupRequest.md b/docs/BulkWritableControllerManagedDeviceGroupRequest.md
index d9d737b3..4a56e8ee 100644
--- a/docs/BulkWritableControllerManagedDeviceGroupRequest.md
+++ b/docs/BulkWritableControllerManagedDeviceGroupRequest.md
@@ -5,10 +5,13 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **string** | |
+**Capabilities** | Pointer to [**[]CapabilitiesEnum**](CapabilitiesEnum.md) | | [optional]
**Name** | **string** | Name of the controller device group |
+**Description** | Pointer to **string** | | [optional]
**Weight** | Pointer to **int32** | Weight of the controller device group, used to sort the groups within its parent group | [optional]
**Parent** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**Controller** | [**BulkWritableControllerManagedDeviceGroupRequestController**](BulkWritableControllerManagedDeviceGroupRequestController.md) | |
+**Tenant** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
@@ -52,6 +55,41 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### GetCapabilities
+
+`func (o *BulkWritableControllerManagedDeviceGroupRequest) GetCapabilities() []CapabilitiesEnum`
+
+GetCapabilities returns the Capabilities field if non-nil, zero value otherwise.
+
+### GetCapabilitiesOk
+
+`func (o *BulkWritableControllerManagedDeviceGroupRequest) GetCapabilitiesOk() (*[]CapabilitiesEnum, bool)`
+
+GetCapabilitiesOk returns a tuple with the Capabilities field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCapabilities
+
+`func (o *BulkWritableControllerManagedDeviceGroupRequest) SetCapabilities(v []CapabilitiesEnum)`
+
+SetCapabilities sets Capabilities field to given value.
+
+### HasCapabilities
+
+`func (o *BulkWritableControllerManagedDeviceGroupRequest) HasCapabilities() bool`
+
+HasCapabilities returns a boolean if a field has been set.
+
+### SetCapabilitiesNil
+
+`func (o *BulkWritableControllerManagedDeviceGroupRequest) SetCapabilitiesNil(b bool)`
+
+ SetCapabilitiesNil sets the value for Capabilities to be an explicit nil
+
+### UnsetCapabilities
+`func (o *BulkWritableControllerManagedDeviceGroupRequest) UnsetCapabilities()`
+
+UnsetCapabilities ensures that no value is present for Capabilities, not even an explicit nil
### GetName
`func (o *BulkWritableControllerManagedDeviceGroupRequest) GetName() string`
@@ -72,6 +110,31 @@ and a boolean to check if the value has been set.
SetName sets Name field to given value.
+### GetDescription
+
+`func (o *BulkWritableControllerManagedDeviceGroupRequest) GetDescription() string`
+
+GetDescription returns the Description field if non-nil, zero value otherwise.
+
+### GetDescriptionOk
+
+`func (o *BulkWritableControllerManagedDeviceGroupRequest) GetDescriptionOk() (*string, bool)`
+
+GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDescription
+
+`func (o *BulkWritableControllerManagedDeviceGroupRequest) SetDescription(v string)`
+
+SetDescription sets Description field to given value.
+
+### HasDescription
+
+`func (o *BulkWritableControllerManagedDeviceGroupRequest) HasDescription() bool`
+
+HasDescription returns a boolean if a field has been set.
+
### GetWeight
`func (o *BulkWritableControllerManagedDeviceGroupRequest) GetWeight() int32`
@@ -152,6 +215,41 @@ and a boolean to check if the value has been set.
SetController sets Controller field to given value.
+### GetTenant
+
+`func (o *BulkWritableControllerManagedDeviceGroupRequest) GetTenant() BulkWritableCircuitRequestTenant`
+
+GetTenant returns the Tenant field if non-nil, zero value otherwise.
+
+### GetTenantOk
+
+`func (o *BulkWritableControllerManagedDeviceGroupRequest) GetTenantOk() (*BulkWritableCircuitRequestTenant, bool)`
+
+GetTenantOk returns a tuple with the Tenant field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTenant
+
+`func (o *BulkWritableControllerManagedDeviceGroupRequest) SetTenant(v BulkWritableCircuitRequestTenant)`
+
+SetTenant sets Tenant field to given value.
+
+### HasTenant
+
+`func (o *BulkWritableControllerManagedDeviceGroupRequest) HasTenant() bool`
+
+HasTenant returns a boolean if a field has been set.
+
+### SetTenantNil
+
+`func (o *BulkWritableControllerManagedDeviceGroupRequest) SetTenantNil(b bool)`
+
+ SetTenantNil sets the value for Tenant to be an explicit nil
+
+### UnsetTenant
+`func (o *BulkWritableControllerManagedDeviceGroupRequest) UnsetTenant()`
+
+UnsetTenant ensures that no value is present for Tenant, not even an explicit nil
### GetCustomFields
`func (o *BulkWritableControllerManagedDeviceGroupRequest) GetCustomFields() map[string]interface{}`
diff --git a/docs/BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest.md b/docs/BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest.md
new file mode 100644
index 00000000..ffa9b98d
--- /dev/null
+++ b/docs/BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest.md
@@ -0,0 +1,129 @@
+# BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | |
+**ControllerManagedDeviceGroup** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+**WirelessNetwork** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+**Vlan** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
+
+## Methods
+
+### NewBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest
+
+`func NewBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest(id string, controllerManagedDeviceGroup BulkWritableCableRequestStatus, wirelessNetwork BulkWritableCableRequestStatus, ) *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest`
+
+NewBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest instantiates a new BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequestWithDefaults
+
+`func NewBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequestWithDefaults() *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest`
+
+NewBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequestWithDefaults instantiates a new BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+
+### GetControllerManagedDeviceGroup
+
+`func (o *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetControllerManagedDeviceGroup() BulkWritableCableRequestStatus`
+
+GetControllerManagedDeviceGroup returns the ControllerManagedDeviceGroup field if non-nil, zero value otherwise.
+
+### GetControllerManagedDeviceGroupOk
+
+`func (o *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetControllerManagedDeviceGroupOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetControllerManagedDeviceGroupOk returns a tuple with the ControllerManagedDeviceGroup field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetControllerManagedDeviceGroup
+
+`func (o *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetControllerManagedDeviceGroup(v BulkWritableCableRequestStatus)`
+
+SetControllerManagedDeviceGroup sets ControllerManagedDeviceGroup field to given value.
+
+
+### GetWirelessNetwork
+
+`func (o *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetWirelessNetwork() BulkWritableCableRequestStatus`
+
+GetWirelessNetwork returns the WirelessNetwork field if non-nil, zero value otherwise.
+
+### GetWirelessNetworkOk
+
+`func (o *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetWirelessNetworkOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetWirelessNetworkOk returns a tuple with the WirelessNetwork field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetWirelessNetwork
+
+`func (o *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetWirelessNetwork(v BulkWritableCableRequestStatus)`
+
+SetWirelessNetwork sets WirelessNetwork field to given value.
+
+
+### GetVlan
+
+`func (o *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetVlan() BulkWritableCircuitRequestTenant`
+
+GetVlan returns the Vlan field if non-nil, zero value otherwise.
+
+### GetVlanOk
+
+`func (o *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetVlanOk() (*BulkWritableCircuitRequestTenant, bool)`
+
+GetVlanOk returns a tuple with the Vlan field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetVlan
+
+`func (o *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetVlan(v BulkWritableCircuitRequestTenant)`
+
+SetVlan sets Vlan field to given value.
+
+### HasVlan
+
+`func (o *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) HasVlan() bool`
+
+HasVlan returns a boolean if a field has been set.
+
+### SetVlanNil
+
+`func (o *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetVlanNil(b bool)`
+
+ SetVlanNil sets the value for Vlan to be an explicit nil
+
+### UnsetVlan
+`func (o *BulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) UnsetVlan()`
+
+UnsetVlan ensures that no value is present for Vlan, not even an explicit nil
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/BulkWritableControllerRequest.md b/docs/BulkWritableControllerRequest.md
index 00ba96c9..a2cac399 100644
--- a/docs/BulkWritableControllerRequest.md
+++ b/docs/BulkWritableControllerRequest.md
@@ -5,6 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **string** | |
+**Capabilities** | Pointer to [**[]CapabilitiesEnum**](CapabilitiesEnum.md) | | [optional]
**Name** | **string** | |
**Description** | Pointer to **string** | | [optional]
**Status** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
@@ -58,6 +59,41 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### GetCapabilities
+
+`func (o *BulkWritableControllerRequest) GetCapabilities() []CapabilitiesEnum`
+
+GetCapabilities returns the Capabilities field if non-nil, zero value otherwise.
+
+### GetCapabilitiesOk
+
+`func (o *BulkWritableControllerRequest) GetCapabilitiesOk() (*[]CapabilitiesEnum, bool)`
+
+GetCapabilitiesOk returns a tuple with the Capabilities field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCapabilities
+
+`func (o *BulkWritableControllerRequest) SetCapabilities(v []CapabilitiesEnum)`
+
+SetCapabilities sets Capabilities field to given value.
+
+### HasCapabilities
+
+`func (o *BulkWritableControllerRequest) HasCapabilities() bool`
+
+HasCapabilities returns a boolean if a field has been set.
+
+### SetCapabilitiesNil
+
+`func (o *BulkWritableControllerRequest) SetCapabilitiesNil(b bool)`
+
+ SetCapabilitiesNil sets the value for Capabilities to be an explicit nil
+
+### UnsetCapabilities
+`func (o *BulkWritableControllerRequest) UnsetCapabilities()`
+
+UnsetCapabilities ensures that no value is present for Capabilities, not even an explicit nil
### GetName
`func (o *BulkWritableControllerRequest) GetName() string`
diff --git a/docs/BulkWritableDeviceFamilyRequest.md b/docs/BulkWritableDeviceFamilyRequest.md
index 6cdf9b9d..fd33cd28 100644
--- a/docs/BulkWritableDeviceFamilyRequest.md
+++ b/docs/BulkWritableDeviceFamilyRequest.md
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
**Description** | Pointer to **string** | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
## Methods
@@ -144,6 +145,31 @@ SetRelationships sets Relationships field to given value.
HasRelationships returns a boolean if a field has been set.
+### GetTags
+
+`func (o *BulkWritableDeviceFamilyRequest) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *BulkWritableDeviceFamilyRequest) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *BulkWritableDeviceFamilyRequest) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *BulkWritableDeviceFamilyRequest) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/BulkWritableDeviceRedundancyGroupRequest.md b/docs/BulkWritableDeviceRedundancyGroupRequest.md
index 86dad760..22a6b4b4 100644
--- a/docs/BulkWritableDeviceRedundancyGroupRequest.md
+++ b/docs/BulkWritableDeviceRedundancyGroupRequest.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **string** | |
-**FailoverStrategy** | Pointer to [**BulkWritableDeviceRedundancyGroupRequestFailoverStrategy**](BulkWritableDeviceRedundancyGroupRequestFailoverStrategy.md) | | [optional]
+**FailoverStrategy** | Pointer to [**BulkWritableDeviceRedundancyGroupRequestFailoverStrategy**](BulkWritableDeviceRedundancyGroupRequestFailoverStrategy.md) | | [optional] [default to BULKWRITABLEDEVICEREDUNDANCYGROUPREQUESTFAILOVERSTRATEGY_EMPTY]
**Name** | **string** | |
**Description** | Pointer to **string** | | [optional]
**Comments** | Pointer to **string** | | [optional]
diff --git a/docs/BulkWritableDeviceRedundancyGroupRequestFailoverStrategy.md b/docs/BulkWritableDeviceRedundancyGroupRequestFailoverStrategy.md
index 0f74e4d1..ed59fcc8 100644
--- a/docs/BulkWritableDeviceRedundancyGroupRequestFailoverStrategy.md
+++ b/docs/BulkWritableDeviceRedundancyGroupRequestFailoverStrategy.md
@@ -1,28 +1,13 @@
# BulkWritableDeviceRedundancyGroupRequestFailoverStrategy
-## Properties
+## Enum
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-## Methods
+* `ACTIVE_ACTIVE` (value: `"active-active"`)
-### NewBulkWritableDeviceRedundancyGroupRequestFailoverStrategy
+* `ACTIVE_PASSIVE` (value: `"active-passive"`)
-`func NewBulkWritableDeviceRedundancyGroupRequestFailoverStrategy() *BulkWritableDeviceRedundancyGroupRequestFailoverStrategy`
-
-NewBulkWritableDeviceRedundancyGroupRequestFailoverStrategy instantiates a new BulkWritableDeviceRedundancyGroupRequestFailoverStrategy object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewBulkWritableDeviceRedundancyGroupRequestFailoverStrategyWithDefaults
-
-`func NewBulkWritableDeviceRedundancyGroupRequestFailoverStrategyWithDefaults() *BulkWritableDeviceRedundancyGroupRequestFailoverStrategy`
-
-NewBulkWritableDeviceRedundancyGroupRequestFailoverStrategyWithDefaults instantiates a new BulkWritableDeviceRedundancyGroupRequestFailoverStrategy object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
+* `EMPTY` (value: `""`)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/BulkWritableExternalIntegrationRequest.md b/docs/BulkWritableExternalIntegrationRequest.md
index ffb143e0..20e30a4c 100644
--- a/docs/BulkWritableExternalIntegrationRequest.md
+++ b/docs/BulkWritableExternalIntegrationRequest.md
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
**SecretsGroup** | Pointer to [**NullableBulkWritableExternalIntegrationRequestSecretsGroup**](BulkWritableExternalIntegrationRequestSecretsGroup.md) | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
## Methods
@@ -351,6 +352,31 @@ SetRelationships sets Relationships field to given value.
HasRelationships returns a boolean if a field has been set.
+### GetTags
+
+`func (o *BulkWritableExternalIntegrationRequest) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *BulkWritableExternalIntegrationRequest) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *BulkWritableExternalIntegrationRequest) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *BulkWritableExternalIntegrationRequest) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/BulkWritableExternalIntegrationRequestHttpMethod.md b/docs/BulkWritableExternalIntegrationRequestHttpMethod.md
index 1b0e8b1e..05fd182c 100644
--- a/docs/BulkWritableExternalIntegrationRequestHttpMethod.md
+++ b/docs/BulkWritableExternalIntegrationRequestHttpMethod.md
@@ -1,28 +1,19 @@
# BulkWritableExternalIntegrationRequestHttpMethod
-## Properties
+## Enum
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-## Methods
+* `GET` (value: `"GET"`)
-### NewBulkWritableExternalIntegrationRequestHttpMethod
+* `POST` (value: `"POST"`)
-`func NewBulkWritableExternalIntegrationRequestHttpMethod() *BulkWritableExternalIntegrationRequestHttpMethod`
+* `PUT` (value: `"PUT"`)
-NewBulkWritableExternalIntegrationRequestHttpMethod instantiates a new BulkWritableExternalIntegrationRequestHttpMethod object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
+* `PATCH` (value: `"PATCH"`)
-### NewBulkWritableExternalIntegrationRequestHttpMethodWithDefaults
+* `DELETE` (value: `"DELETE"`)
-`func NewBulkWritableExternalIntegrationRequestHttpMethodWithDefaults() *BulkWritableExternalIntegrationRequestHttpMethod`
-
-NewBulkWritableExternalIntegrationRequestHttpMethodWithDefaults instantiates a new BulkWritableExternalIntegrationRequestHttpMethod object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
+* `EMPTY` (value: `""`)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/BulkWritableGitRepositoryRequest.md b/docs/BulkWritableGitRepositoryRequest.md
index 5f0c59e8..e3fe39cf 100644
--- a/docs/BulkWritableGitRepositoryRequest.md
+++ b/docs/BulkWritableGitRepositoryRequest.md
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
**SecretsGroup** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
## Methods
@@ -279,6 +280,31 @@ SetRelationships sets Relationships field to given value.
HasRelationships returns a boolean if a field has been set.
+### GetTags
+
+`func (o *BulkWritableGitRepositoryRequest) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *BulkWritableGitRepositoryRequest) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *BulkWritableGitRepositoryRequest) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *BulkWritableGitRepositoryRequest) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/BulkWritableGitRepositoryRequestProvidedContentsInner.md b/docs/BulkWritableGitRepositoryRequestProvidedContentsInner.md
index 0a92a1f6..7ea90b1d 100644
--- a/docs/BulkWritableGitRepositoryRequestProvidedContentsInner.md
+++ b/docs/BulkWritableGitRepositoryRequestProvidedContentsInner.md
@@ -1,28 +1,19 @@
# BulkWritableGitRepositoryRequestProvidedContentsInner
-## Properties
+## Enum
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-## Methods
+* `EXTRAS_CONFIGCONTEXT` (value: `"extras.configcontext"`)
-### NewBulkWritableGitRepositoryRequestProvidedContentsInner
+* `EXTRAS_CONFIGCONTEXTSCHEMA` (value: `"extras.configcontextschema"`)
-`func NewBulkWritableGitRepositoryRequestProvidedContentsInner() *BulkWritableGitRepositoryRequestProvidedContentsInner`
+* `EXTRAS_EXPORTTEMPLATE` (value: `"extras.exporttemplate"`)
-NewBulkWritableGitRepositoryRequestProvidedContentsInner instantiates a new BulkWritableGitRepositoryRequestProvidedContentsInner object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
+* `EXTRAS_GRAPHQLQUERY` (value: `"extras.graphqlquery"`)
-### NewBulkWritableGitRepositoryRequestProvidedContentsInnerWithDefaults
+* `EXTRAS_JOB` (value: `"extras.job"`)
-`func NewBulkWritableGitRepositoryRequestProvidedContentsInnerWithDefaults() *BulkWritableGitRepositoryRequestProvidedContentsInner`
-
-NewBulkWritableGitRepositoryRequestProvidedContentsInnerWithDefaults instantiates a new BulkWritableGitRepositoryRequestProvidedContentsInner object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
+* `EMPTY` (value: `""`)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/BulkWritableGraphQLQueryRequest.md b/docs/BulkWritableGraphQLQueryRequest.md
index 3681e51b..dbfde1a9 100644
--- a/docs/BulkWritableGraphQLQueryRequest.md
+++ b/docs/BulkWritableGraphQLQueryRequest.md
@@ -5,6 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **string** | |
+**OwnerContentType** | Pointer to **NullableString** | | [optional]
+**OwnerObjectId** | Pointer to **NullableString** | | [optional]
**Name** | **string** | |
**Query** | **string** | |
@@ -47,6 +49,76 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### GetOwnerContentType
+
+`func (o *BulkWritableGraphQLQueryRequest) GetOwnerContentType() string`
+
+GetOwnerContentType returns the OwnerContentType field if non-nil, zero value otherwise.
+
+### GetOwnerContentTypeOk
+
+`func (o *BulkWritableGraphQLQueryRequest) GetOwnerContentTypeOk() (*string, bool)`
+
+GetOwnerContentTypeOk returns a tuple with the OwnerContentType field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetOwnerContentType
+
+`func (o *BulkWritableGraphQLQueryRequest) SetOwnerContentType(v string)`
+
+SetOwnerContentType sets OwnerContentType field to given value.
+
+### HasOwnerContentType
+
+`func (o *BulkWritableGraphQLQueryRequest) HasOwnerContentType() bool`
+
+HasOwnerContentType returns a boolean if a field has been set.
+
+### SetOwnerContentTypeNil
+
+`func (o *BulkWritableGraphQLQueryRequest) SetOwnerContentTypeNil(b bool)`
+
+ SetOwnerContentTypeNil sets the value for OwnerContentType to be an explicit nil
+
+### UnsetOwnerContentType
+`func (o *BulkWritableGraphQLQueryRequest) UnsetOwnerContentType()`
+
+UnsetOwnerContentType ensures that no value is present for OwnerContentType, not even an explicit nil
+### GetOwnerObjectId
+
+`func (o *BulkWritableGraphQLQueryRequest) GetOwnerObjectId() string`
+
+GetOwnerObjectId returns the OwnerObjectId field if non-nil, zero value otherwise.
+
+### GetOwnerObjectIdOk
+
+`func (o *BulkWritableGraphQLQueryRequest) GetOwnerObjectIdOk() (*string, bool)`
+
+GetOwnerObjectIdOk returns a tuple with the OwnerObjectId field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetOwnerObjectId
+
+`func (o *BulkWritableGraphQLQueryRequest) SetOwnerObjectId(v string)`
+
+SetOwnerObjectId sets OwnerObjectId field to given value.
+
+### HasOwnerObjectId
+
+`func (o *BulkWritableGraphQLQueryRequest) HasOwnerObjectId() bool`
+
+HasOwnerObjectId returns a boolean if a field has been set.
+
+### SetOwnerObjectIdNil
+
+`func (o *BulkWritableGraphQLQueryRequest) SetOwnerObjectIdNil(b bool)`
+
+ SetOwnerObjectIdNil sets the value for OwnerObjectId to be an explicit nil
+
+### UnsetOwnerObjectId
+`func (o *BulkWritableGraphQLQueryRequest) UnsetOwnerObjectId()`
+
+UnsetOwnerObjectId ensures that no value is present for OwnerObjectId, not even an explicit nil
### GetName
`func (o *BulkWritableGraphQLQueryRequest) GetName() string`
diff --git a/docs/BulkWritableInterfaceRequest.md b/docs/BulkWritableInterfaceRequest.md
index 3b2e5981..9def83d8 100644
--- a/docs/BulkWritableInterfaceRequest.md
+++ b/docs/BulkWritableInterfaceRequest.md
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **string** | |
**Type** | [**InterfaceTypeChoices**](InterfaceTypeChoices.md) | |
-**Mode** | Pointer to [**ModeEnum**](ModeEnum.md) | | [optional]
+**Mode** | Pointer to [**InterfaceModeChoices**](InterfaceModeChoices.md) | | [optional]
**MacAddress** | Pointer to **NullableString** | | [optional]
**Name** | **string** | |
**Label** | Pointer to **string** | Physical label | [optional]
@@ -89,20 +89,20 @@ SetType sets Type field to given value.
### GetMode
-`func (o *BulkWritableInterfaceRequest) GetMode() ModeEnum`
+`func (o *BulkWritableInterfaceRequest) GetMode() InterfaceModeChoices`
GetMode returns the Mode field if non-nil, zero value otherwise.
### GetModeOk
-`func (o *BulkWritableInterfaceRequest) GetModeOk() (*ModeEnum, bool)`
+`func (o *BulkWritableInterfaceRequest) GetModeOk() (*InterfaceModeChoices, bool)`
GetModeOk returns a tuple with the Mode field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetMode
-`func (o *BulkWritableInterfaceRequest) SetMode(v ModeEnum)`
+`func (o *BulkWritableInterfaceRequest) SetMode(v InterfaceModeChoices)`
SetMode sets Mode field to given value.
diff --git a/docs/BulkWritableInterfaceVDCAssignmentRequest.md b/docs/BulkWritableInterfaceVDCAssignmentRequest.md
new file mode 100644
index 00000000..eb336031
--- /dev/null
+++ b/docs/BulkWritableInterfaceVDCAssignmentRequest.md
@@ -0,0 +1,93 @@
+# BulkWritableInterfaceVDCAssignmentRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | |
+**VirtualDeviceContext** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+**Interface** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+
+## Methods
+
+### NewBulkWritableInterfaceVDCAssignmentRequest
+
+`func NewBulkWritableInterfaceVDCAssignmentRequest(id string, virtualDeviceContext BulkWritableCableRequestStatus, interface_ BulkWritableCableRequestStatus, ) *BulkWritableInterfaceVDCAssignmentRequest`
+
+NewBulkWritableInterfaceVDCAssignmentRequest instantiates a new BulkWritableInterfaceVDCAssignmentRequest object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewBulkWritableInterfaceVDCAssignmentRequestWithDefaults
+
+`func NewBulkWritableInterfaceVDCAssignmentRequestWithDefaults() *BulkWritableInterfaceVDCAssignmentRequest`
+
+NewBulkWritableInterfaceVDCAssignmentRequestWithDefaults instantiates a new BulkWritableInterfaceVDCAssignmentRequest object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *BulkWritableInterfaceVDCAssignmentRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *BulkWritableInterfaceVDCAssignmentRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *BulkWritableInterfaceVDCAssignmentRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+
+### GetVirtualDeviceContext
+
+`func (o *BulkWritableInterfaceVDCAssignmentRequest) GetVirtualDeviceContext() BulkWritableCableRequestStatus`
+
+GetVirtualDeviceContext returns the VirtualDeviceContext field if non-nil, zero value otherwise.
+
+### GetVirtualDeviceContextOk
+
+`func (o *BulkWritableInterfaceVDCAssignmentRequest) GetVirtualDeviceContextOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetVirtualDeviceContextOk returns a tuple with the VirtualDeviceContext field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetVirtualDeviceContext
+
+`func (o *BulkWritableInterfaceVDCAssignmentRequest) SetVirtualDeviceContext(v BulkWritableCableRequestStatus)`
+
+SetVirtualDeviceContext sets VirtualDeviceContext field to given value.
+
+
+### GetInterface
+
+`func (o *BulkWritableInterfaceVDCAssignmentRequest) GetInterface() BulkWritableCableRequestStatus`
+
+GetInterface returns the Interface field if non-nil, zero value otherwise.
+
+### GetInterfaceOk
+
+`func (o *BulkWritableInterfaceVDCAssignmentRequest) GetInterfaceOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetInterfaceOk returns a tuple with the Interface field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetInterface
+
+`func (o *BulkWritableInterfaceVDCAssignmentRequest) SetInterface(v BulkWritableCableRequestStatus)`
+
+SetInterface sets Interface field to given value.
+
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/BulkWritableJobQueueAssignmentRequest.md b/docs/BulkWritableJobQueueAssignmentRequest.md
new file mode 100644
index 00000000..81ab3e92
--- /dev/null
+++ b/docs/BulkWritableJobQueueAssignmentRequest.md
@@ -0,0 +1,93 @@
+# BulkWritableJobQueueAssignmentRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | |
+**Job** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+**JobQueue** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+
+## Methods
+
+### NewBulkWritableJobQueueAssignmentRequest
+
+`func NewBulkWritableJobQueueAssignmentRequest(id string, job BulkWritableCableRequestStatus, jobQueue BulkWritableCableRequestStatus, ) *BulkWritableJobQueueAssignmentRequest`
+
+NewBulkWritableJobQueueAssignmentRequest instantiates a new BulkWritableJobQueueAssignmentRequest object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewBulkWritableJobQueueAssignmentRequestWithDefaults
+
+`func NewBulkWritableJobQueueAssignmentRequestWithDefaults() *BulkWritableJobQueueAssignmentRequest`
+
+NewBulkWritableJobQueueAssignmentRequestWithDefaults instantiates a new BulkWritableJobQueueAssignmentRequest object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *BulkWritableJobQueueAssignmentRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *BulkWritableJobQueueAssignmentRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *BulkWritableJobQueueAssignmentRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+
+### GetJob
+
+`func (o *BulkWritableJobQueueAssignmentRequest) GetJob() BulkWritableCableRequestStatus`
+
+GetJob returns the Job field if non-nil, zero value otherwise.
+
+### GetJobOk
+
+`func (o *BulkWritableJobQueueAssignmentRequest) GetJobOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetJobOk returns a tuple with the Job field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetJob
+
+`func (o *BulkWritableJobQueueAssignmentRequest) SetJob(v BulkWritableCableRequestStatus)`
+
+SetJob sets Job field to given value.
+
+
+### GetJobQueue
+
+`func (o *BulkWritableJobQueueAssignmentRequest) GetJobQueue() BulkWritableCableRequestStatus`
+
+GetJobQueue returns the JobQueue field if non-nil, zero value otherwise.
+
+### GetJobQueueOk
+
+`func (o *BulkWritableJobQueueAssignmentRequest) GetJobQueueOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetJobQueueOk returns a tuple with the JobQueue field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetJobQueue
+
+`func (o *BulkWritableJobQueueAssignmentRequest) SetJobQueue(v BulkWritableCableRequestStatus)`
+
+SetJobQueue sets JobQueue field to given value.
+
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/BulkWritableJobQueueRequest.md b/docs/BulkWritableJobQueueRequest.md
new file mode 100644
index 00000000..14db47ba
--- /dev/null
+++ b/docs/BulkWritableJobQueueRequest.md
@@ -0,0 +1,233 @@
+# BulkWritableJobQueueRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | |
+**Name** | **string** | |
+**Description** | Pointer to **string** | | [optional]
+**QueueType** | [**QueueTypeEnum**](QueueTypeEnum.md) | |
+**Tenant** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
+**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
+**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
+
+## Methods
+
+### NewBulkWritableJobQueueRequest
+
+`func NewBulkWritableJobQueueRequest(id string, name string, queueType QueueTypeEnum, ) *BulkWritableJobQueueRequest`
+
+NewBulkWritableJobQueueRequest instantiates a new BulkWritableJobQueueRequest object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewBulkWritableJobQueueRequestWithDefaults
+
+`func NewBulkWritableJobQueueRequestWithDefaults() *BulkWritableJobQueueRequest`
+
+NewBulkWritableJobQueueRequestWithDefaults instantiates a new BulkWritableJobQueueRequest object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *BulkWritableJobQueueRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *BulkWritableJobQueueRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *BulkWritableJobQueueRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+
+### GetName
+
+`func (o *BulkWritableJobQueueRequest) GetName() string`
+
+GetName returns the Name field if non-nil, zero value otherwise.
+
+### GetNameOk
+
+`func (o *BulkWritableJobQueueRequest) GetNameOk() (*string, bool)`
+
+GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetName
+
+`func (o *BulkWritableJobQueueRequest) SetName(v string)`
+
+SetName sets Name field to given value.
+
+
+### GetDescription
+
+`func (o *BulkWritableJobQueueRequest) GetDescription() string`
+
+GetDescription returns the Description field if non-nil, zero value otherwise.
+
+### GetDescriptionOk
+
+`func (o *BulkWritableJobQueueRequest) GetDescriptionOk() (*string, bool)`
+
+GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDescription
+
+`func (o *BulkWritableJobQueueRequest) SetDescription(v string)`
+
+SetDescription sets Description field to given value.
+
+### HasDescription
+
+`func (o *BulkWritableJobQueueRequest) HasDescription() bool`
+
+HasDescription returns a boolean if a field has been set.
+
+### GetQueueType
+
+`func (o *BulkWritableJobQueueRequest) GetQueueType() QueueTypeEnum`
+
+GetQueueType returns the QueueType field if non-nil, zero value otherwise.
+
+### GetQueueTypeOk
+
+`func (o *BulkWritableJobQueueRequest) GetQueueTypeOk() (*QueueTypeEnum, bool)`
+
+GetQueueTypeOk returns a tuple with the QueueType field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetQueueType
+
+`func (o *BulkWritableJobQueueRequest) SetQueueType(v QueueTypeEnum)`
+
+SetQueueType sets QueueType field to given value.
+
+
+### GetTenant
+
+`func (o *BulkWritableJobQueueRequest) GetTenant() BulkWritableCircuitRequestTenant`
+
+GetTenant returns the Tenant field if non-nil, zero value otherwise.
+
+### GetTenantOk
+
+`func (o *BulkWritableJobQueueRequest) GetTenantOk() (*BulkWritableCircuitRequestTenant, bool)`
+
+GetTenantOk returns a tuple with the Tenant field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTenant
+
+`func (o *BulkWritableJobQueueRequest) SetTenant(v BulkWritableCircuitRequestTenant)`
+
+SetTenant sets Tenant field to given value.
+
+### HasTenant
+
+`func (o *BulkWritableJobQueueRequest) HasTenant() bool`
+
+HasTenant returns a boolean if a field has been set.
+
+### SetTenantNil
+
+`func (o *BulkWritableJobQueueRequest) SetTenantNil(b bool)`
+
+ SetTenantNil sets the value for Tenant to be an explicit nil
+
+### UnsetTenant
+`func (o *BulkWritableJobQueueRequest) UnsetTenant()`
+
+UnsetTenant ensures that no value is present for Tenant, not even an explicit nil
+### GetTags
+
+`func (o *BulkWritableJobQueueRequest) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *BulkWritableJobQueueRequest) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *BulkWritableJobQueueRequest) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *BulkWritableJobQueueRequest) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
+### GetCustomFields
+
+`func (o *BulkWritableJobQueueRequest) GetCustomFields() map[string]interface{}`
+
+GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
+
+### GetCustomFieldsOk
+
+`func (o *BulkWritableJobQueueRequest) GetCustomFieldsOk() (*map[string]interface{}, bool)`
+
+GetCustomFieldsOk returns a tuple with the CustomFields field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCustomFields
+
+`func (o *BulkWritableJobQueueRequest) SetCustomFields(v map[string]interface{})`
+
+SetCustomFields sets CustomFields field to given value.
+
+### HasCustomFields
+
+`func (o *BulkWritableJobQueueRequest) HasCustomFields() bool`
+
+HasCustomFields returns a boolean if a field has been set.
+
+### GetRelationships
+
+`func (o *BulkWritableJobQueueRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue`
+
+GetRelationships returns the Relationships field if non-nil, zero value otherwise.
+
+### GetRelationshipsOk
+
+`func (o *BulkWritableJobQueueRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool)`
+
+GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetRelationships
+
+`func (o *BulkWritableJobQueueRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue)`
+
+SetRelationships sets Relationships field to given value.
+
+### HasRelationships
+
+`func (o *BulkWritableJobQueueRequest) HasRelationships() bool`
+
+HasRelationships returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/BulkWritableJobRequest.md b/docs/BulkWritableJobRequest.md
index 1a44ecb3..62545bfe 100644
--- a/docs/BulkWritableJobRequest.md
+++ b/docs/BulkWritableJobRequest.md
@@ -10,12 +10,12 @@ Name | Type | Description | Notes
**Description** | Pointer to **string** | Markdown formatting and a limited subset of HTML are supported | [optional]
**Enabled** | Pointer to **bool** | Whether this job can be executed by users | [optional]
**HasSensitiveVariables** | Pointer to **bool** | Whether this job contains sensitive variables | [optional]
+**IsSingleton** | Pointer to **bool** | Whether this job should fail to run if another instance of this job is already running | [optional]
**ApprovalRequired** | Pointer to **bool** | Whether the job requires approval from another user before running | [optional]
**Hidden** | Pointer to **bool** | Whether the job defaults to not being shown in the UI | [optional]
**DryrunDefault** | Pointer to **bool** | Whether the job defaults to running with dryrun argument set to true | [optional]
**SoftTimeLimit** | Pointer to **float64** | Maximum runtime in seconds before the job will receive a <code>SoftTimeLimitExceeded</code> exception.<br>Set to 0 to use Nautobot system default | [optional]
**TimeLimit** | Pointer to **float64** | Maximum runtime in seconds before the job will be forcibly terminated.<br>Set to 0 to use Nautobot system default | [optional]
-**TaskQueues** | Pointer to **interface{}** | Comma separated list of task queues that this job can run on. A blank list will use the default queue | [optional]
**GroupingOverride** | Pointer to **bool** | If set, the configured grouping will remain even if the underlying Job source code changes | [optional]
**NameOverride** | Pointer to **bool** | If set, the configured name will remain even if the underlying Job source code changes | [optional]
**DescriptionOverride** | Pointer to **bool** | If set, the configured description will remain even if the underlying Job source code changes | [optional]
@@ -25,7 +25,10 @@ Name | Type | Description | Notes
**SoftTimeLimitOverride** | Pointer to **bool** | If set, the configured value will remain even if the underlying Job source code changes | [optional]
**TimeLimitOverride** | Pointer to **bool** | If set, the configured value will remain even if the underlying Job source code changes | [optional]
**HasSensitiveVariablesOverride** | Pointer to **bool** | If set, the configured value will remain even if the underlying Job source code changes | [optional]
-**TaskQueuesOverride** | Pointer to **bool** | If set, the configured value will remain even if the underlying Job source code changes | [optional]
+**JobQueuesOverride** | Pointer to **bool** | If set, the configured value will remain even if the underlying Job source code changes | [optional]
+**DefaultJobQueueOverride** | Pointer to **bool** | If set, the configured value will remain even if the underlying Job source code changes | [optional]
+**IsSingletonOverride** | Pointer to **bool** | If set, the configured value will remain even if the underlying Job source code changes | [optional]
+**DefaultJobQueue** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
@@ -34,7 +37,7 @@ Name | Type | Description | Notes
### NewBulkWritableJobRequest
-`func NewBulkWritableJobRequest(id string, grouping string, name string, ) *BulkWritableJobRequest`
+`func NewBulkWritableJobRequest(id string, grouping string, name string, defaultJobQueue BulkWritableCableRequestStatus, ) *BulkWritableJobRequest`
NewBulkWritableJobRequest instantiates a new BulkWritableJobRequest object
This constructor will assign default values to properties that have it defined,
@@ -184,6 +187,31 @@ SetHasSensitiveVariables sets HasSensitiveVariables field to given value.
HasHasSensitiveVariables returns a boolean if a field has been set.
+### GetIsSingleton
+
+`func (o *BulkWritableJobRequest) GetIsSingleton() bool`
+
+GetIsSingleton returns the IsSingleton field if non-nil, zero value otherwise.
+
+### GetIsSingletonOk
+
+`func (o *BulkWritableJobRequest) GetIsSingletonOk() (*bool, bool)`
+
+GetIsSingletonOk returns a tuple with the IsSingleton field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetIsSingleton
+
+`func (o *BulkWritableJobRequest) SetIsSingleton(v bool)`
+
+SetIsSingleton sets IsSingleton field to given value.
+
+### HasIsSingleton
+
+`func (o *BulkWritableJobRequest) HasIsSingleton() bool`
+
+HasIsSingleton returns a boolean if a field has been set.
+
### GetApprovalRequired
`func (o *BulkWritableJobRequest) GetApprovalRequired() bool`
@@ -309,41 +337,6 @@ SetTimeLimit sets TimeLimit field to given value.
HasTimeLimit returns a boolean if a field has been set.
-### GetTaskQueues
-
-`func (o *BulkWritableJobRequest) GetTaskQueues() interface{}`
-
-GetTaskQueues returns the TaskQueues field if non-nil, zero value otherwise.
-
-### GetTaskQueuesOk
-
-`func (o *BulkWritableJobRequest) GetTaskQueuesOk() (*interface{}, bool)`
-
-GetTaskQueuesOk returns a tuple with the TaskQueues field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTaskQueues
-
-`func (o *BulkWritableJobRequest) SetTaskQueues(v interface{})`
-
-SetTaskQueues sets TaskQueues field to given value.
-
-### HasTaskQueues
-
-`func (o *BulkWritableJobRequest) HasTaskQueues() bool`
-
-HasTaskQueues returns a boolean if a field has been set.
-
-### SetTaskQueuesNil
-
-`func (o *BulkWritableJobRequest) SetTaskQueuesNil(b bool)`
-
- SetTaskQueuesNil sets the value for TaskQueues to be an explicit nil
-
-### UnsetTaskQueues
-`func (o *BulkWritableJobRequest) UnsetTaskQueues()`
-
-UnsetTaskQueues ensures that no value is present for TaskQueues, not even an explicit nil
### GetGroupingOverride
`func (o *BulkWritableJobRequest) GetGroupingOverride() bool`
@@ -569,30 +562,100 @@ SetHasSensitiveVariablesOverride sets HasSensitiveVariablesOverride field to giv
HasHasSensitiveVariablesOverride returns a boolean if a field has been set.
-### GetTaskQueuesOverride
+### GetJobQueuesOverride
-`func (o *BulkWritableJobRequest) GetTaskQueuesOverride() bool`
+`func (o *BulkWritableJobRequest) GetJobQueuesOverride() bool`
-GetTaskQueuesOverride returns the TaskQueuesOverride field if non-nil, zero value otherwise.
+GetJobQueuesOverride returns the JobQueuesOverride field if non-nil, zero value otherwise.
-### GetTaskQueuesOverrideOk
+### GetJobQueuesOverrideOk
-`func (o *BulkWritableJobRequest) GetTaskQueuesOverrideOk() (*bool, bool)`
+`func (o *BulkWritableJobRequest) GetJobQueuesOverrideOk() (*bool, bool)`
-GetTaskQueuesOverrideOk returns a tuple with the TaskQueuesOverride field if it's non-nil, zero value otherwise
+GetJobQueuesOverrideOk returns a tuple with the JobQueuesOverride field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
-### SetTaskQueuesOverride
+### SetJobQueuesOverride
+
+`func (o *BulkWritableJobRequest) SetJobQueuesOverride(v bool)`
+
+SetJobQueuesOverride sets JobQueuesOverride field to given value.
+
+### HasJobQueuesOverride
+
+`func (o *BulkWritableJobRequest) HasJobQueuesOverride() bool`
-`func (o *BulkWritableJobRequest) SetTaskQueuesOverride(v bool)`
+HasJobQueuesOverride returns a boolean if a field has been set.
+
+### GetDefaultJobQueueOverride
+
+`func (o *BulkWritableJobRequest) GetDefaultJobQueueOverride() bool`
+
+GetDefaultJobQueueOverride returns the DefaultJobQueueOverride field if non-nil, zero value otherwise.
+
+### GetDefaultJobQueueOverrideOk
+
+`func (o *BulkWritableJobRequest) GetDefaultJobQueueOverrideOk() (*bool, bool)`
+
+GetDefaultJobQueueOverrideOk returns a tuple with the DefaultJobQueueOverride field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDefaultJobQueueOverride
+
+`func (o *BulkWritableJobRequest) SetDefaultJobQueueOverride(v bool)`
+
+SetDefaultJobQueueOverride sets DefaultJobQueueOverride field to given value.
+
+### HasDefaultJobQueueOverride
+
+`func (o *BulkWritableJobRequest) HasDefaultJobQueueOverride() bool`
+
+HasDefaultJobQueueOverride returns a boolean if a field has been set.
+
+### GetIsSingletonOverride
+
+`func (o *BulkWritableJobRequest) GetIsSingletonOverride() bool`
+
+GetIsSingletonOverride returns the IsSingletonOverride field if non-nil, zero value otherwise.
+
+### GetIsSingletonOverrideOk
+
+`func (o *BulkWritableJobRequest) GetIsSingletonOverrideOk() (*bool, bool)`
+
+GetIsSingletonOverrideOk returns a tuple with the IsSingletonOverride field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetIsSingletonOverride
+
+`func (o *BulkWritableJobRequest) SetIsSingletonOverride(v bool)`
+
+SetIsSingletonOverride sets IsSingletonOverride field to given value.
+
+### HasIsSingletonOverride
+
+`func (o *BulkWritableJobRequest) HasIsSingletonOverride() bool`
+
+HasIsSingletonOverride returns a boolean if a field has been set.
+
+### GetDefaultJobQueue
+
+`func (o *BulkWritableJobRequest) GetDefaultJobQueue() BulkWritableCableRequestStatus`
+
+GetDefaultJobQueue returns the DefaultJobQueue field if non-nil, zero value otherwise.
+
+### GetDefaultJobQueueOk
+
+`func (o *BulkWritableJobRequest) GetDefaultJobQueueOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetDefaultJobQueueOk returns a tuple with the DefaultJobQueue field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
-SetTaskQueuesOverride sets TaskQueuesOverride field to given value.
+### SetDefaultJobQueue
-### HasTaskQueuesOverride
+`func (o *BulkWritableJobRequest) SetDefaultJobQueue(v BulkWritableCableRequestStatus)`
-`func (o *BulkWritableJobRequest) HasTaskQueuesOverride() bool`
+SetDefaultJobQueue sets DefaultJobQueue field to given value.
-HasTaskQueuesOverride returns a boolean if a field has been set.
### GetTags
diff --git a/docs/BulkWritableMetadataTypeRequest.md b/docs/BulkWritableMetadataTypeRequest.md
index 4f3c0ab4..e361bc63 100644
--- a/docs/BulkWritableMetadataTypeRequest.md
+++ b/docs/BulkWritableMetadataTypeRequest.md
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
**DataType** | [**DataTypeEnum**](DataTypeEnum.md) | The type of data allowed for any Metadata of this type. |
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
## Methods
@@ -186,6 +187,31 @@ SetRelationships sets Relationships field to given value.
HasRelationships returns a boolean if a field has been set.
+### GetTags
+
+`func (o *BulkWritableMetadataTypeRequest) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *BulkWritableMetadataTypeRequest) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *BulkWritableMetadataTypeRequest) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *BulkWritableMetadataTypeRequest) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/BulkWritableModuleBayRequest.md b/docs/BulkWritableModuleBayRequest.md
index 17804d39..27140002 100644
--- a/docs/BulkWritableModuleBayRequest.md
+++ b/docs/BulkWritableModuleBayRequest.md
@@ -5,12 +5,14 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **string** | |
+**RequiresFirstPartyModules** | Pointer to **bool** | This bay will only accept modules from the same manufacturer as the parent device or module | [optional]
**Name** | **string** | |
**Position** | Pointer to **string** | The position of the module bay within the parent device/module | [optional]
**Label** | Pointer to **string** | Physical label | [optional]
**Description** | Pointer to **string** | | [optional]
**ParentDevice** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**ParentModule** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
+**ModuleFamily** | Pointer to [**NullableBulkWritableModuleBayRequestModuleFamily**](BulkWritableModuleBayRequestModuleFamily.md) | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
@@ -54,6 +56,31 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### GetRequiresFirstPartyModules
+
+`func (o *BulkWritableModuleBayRequest) GetRequiresFirstPartyModules() bool`
+
+GetRequiresFirstPartyModules returns the RequiresFirstPartyModules field if non-nil, zero value otherwise.
+
+### GetRequiresFirstPartyModulesOk
+
+`func (o *BulkWritableModuleBayRequest) GetRequiresFirstPartyModulesOk() (*bool, bool)`
+
+GetRequiresFirstPartyModulesOk returns a tuple with the RequiresFirstPartyModules field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetRequiresFirstPartyModules
+
+`func (o *BulkWritableModuleBayRequest) SetRequiresFirstPartyModules(v bool)`
+
+SetRequiresFirstPartyModules sets RequiresFirstPartyModules field to given value.
+
+### HasRequiresFirstPartyModules
+
+`func (o *BulkWritableModuleBayRequest) HasRequiresFirstPartyModules() bool`
+
+HasRequiresFirstPartyModules returns a boolean if a field has been set.
+
### GetName
`func (o *BulkWritableModuleBayRequest) GetName() string`
@@ -219,6 +246,41 @@ HasParentModule returns a boolean if a field has been set.
`func (o *BulkWritableModuleBayRequest) UnsetParentModule()`
UnsetParentModule ensures that no value is present for ParentModule, not even an explicit nil
+### GetModuleFamily
+
+`func (o *BulkWritableModuleBayRequest) GetModuleFamily() BulkWritableModuleBayRequestModuleFamily`
+
+GetModuleFamily returns the ModuleFamily field if non-nil, zero value otherwise.
+
+### GetModuleFamilyOk
+
+`func (o *BulkWritableModuleBayRequest) GetModuleFamilyOk() (*BulkWritableModuleBayRequestModuleFamily, bool)`
+
+GetModuleFamilyOk returns a tuple with the ModuleFamily field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetModuleFamily
+
+`func (o *BulkWritableModuleBayRequest) SetModuleFamily(v BulkWritableModuleBayRequestModuleFamily)`
+
+SetModuleFamily sets ModuleFamily field to given value.
+
+### HasModuleFamily
+
+`func (o *BulkWritableModuleBayRequest) HasModuleFamily() bool`
+
+HasModuleFamily returns a boolean if a field has been set.
+
+### SetModuleFamilyNil
+
+`func (o *BulkWritableModuleBayRequest) SetModuleFamilyNil(b bool)`
+
+ SetModuleFamilyNil sets the value for ModuleFamily to be an explicit nil
+
+### UnsetModuleFamily
+`func (o *BulkWritableModuleBayRequest) UnsetModuleFamily()`
+
+UnsetModuleFamily ensures that no value is present for ModuleFamily, not even an explicit nil
### GetCustomFields
`func (o *BulkWritableModuleBayRequest) GetCustomFields() map[string]interface{}`
diff --git a/docs/BulkWritableModuleBayRequestModuleFamily.md b/docs/BulkWritableModuleBayRequestModuleFamily.md
new file mode 100644
index 00000000..4741d3f8
--- /dev/null
+++ b/docs/BulkWritableModuleBayRequestModuleFamily.md
@@ -0,0 +1,108 @@
+# BulkWritableModuleBayRequestModuleFamily
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | Pointer to [**BulkWritableCableRequestStatusId**](BulkWritableCableRequestStatusId.md) | | [optional]
+**ObjectType** | Pointer to **string** | | [optional]
+**Url** | Pointer to **string** | | [optional]
+
+## Methods
+
+### NewBulkWritableModuleBayRequestModuleFamily
+
+`func NewBulkWritableModuleBayRequestModuleFamily() *BulkWritableModuleBayRequestModuleFamily`
+
+NewBulkWritableModuleBayRequestModuleFamily instantiates a new BulkWritableModuleBayRequestModuleFamily object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewBulkWritableModuleBayRequestModuleFamilyWithDefaults
+
+`func NewBulkWritableModuleBayRequestModuleFamilyWithDefaults() *BulkWritableModuleBayRequestModuleFamily`
+
+NewBulkWritableModuleBayRequestModuleFamilyWithDefaults instantiates a new BulkWritableModuleBayRequestModuleFamily object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *BulkWritableModuleBayRequestModuleFamily) GetId() BulkWritableCableRequestStatusId`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *BulkWritableModuleBayRequestModuleFamily) GetIdOk() (*BulkWritableCableRequestStatusId, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *BulkWritableModuleBayRequestModuleFamily) SetId(v BulkWritableCableRequestStatusId)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *BulkWritableModuleBayRequestModuleFamily) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
+### GetObjectType
+
+`func (o *BulkWritableModuleBayRequestModuleFamily) GetObjectType() string`
+
+GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
+
+### GetObjectTypeOk
+
+`func (o *BulkWritableModuleBayRequestModuleFamily) GetObjectTypeOk() (*string, bool)`
+
+GetObjectTypeOk returns a tuple with the ObjectType field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetObjectType
+
+`func (o *BulkWritableModuleBayRequestModuleFamily) SetObjectType(v string)`
+
+SetObjectType sets ObjectType field to given value.
+
+### HasObjectType
+
+`func (o *BulkWritableModuleBayRequestModuleFamily) HasObjectType() bool`
+
+HasObjectType returns a boolean if a field has been set.
+
+### GetUrl
+
+`func (o *BulkWritableModuleBayRequestModuleFamily) GetUrl() string`
+
+GetUrl returns the Url field if non-nil, zero value otherwise.
+
+### GetUrlOk
+
+`func (o *BulkWritableModuleBayRequestModuleFamily) GetUrlOk() (*string, bool)`
+
+GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetUrl
+
+`func (o *BulkWritableModuleBayRequestModuleFamily) SetUrl(v string)`
+
+SetUrl sets Url field to given value.
+
+### HasUrl
+
+`func (o *BulkWritableModuleBayRequestModuleFamily) HasUrl() bool`
+
+HasUrl returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/BulkWritableModuleBayTemplateRequest.md b/docs/BulkWritableModuleBayTemplateRequest.md
index 02ed0ea2..27acf22f 100644
--- a/docs/BulkWritableModuleBayTemplateRequest.md
+++ b/docs/BulkWritableModuleBayTemplateRequest.md
@@ -9,8 +9,10 @@ Name | Type | Description | Notes
**Position** | Pointer to **string** | The position of the module bay within the device or module | [optional]
**Label** | Pointer to **string** | Physical label | [optional]
**Description** | Pointer to **string** | | [optional]
+**RequiresFirstPartyModules** | Pointer to **bool** | This bay will only accept modules from the same manufacturer as the parent device or module | [optional]
**DeviceType** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**ModuleType** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
+**ModuleFamily** | Pointer to [**NullableBulkWritableModuleBayTemplateRequestModuleFamily**](BulkWritableModuleBayTemplateRequestModuleFamily.md) | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
@@ -148,6 +150,31 @@ SetDescription sets Description field to given value.
HasDescription returns a boolean if a field has been set.
+### GetRequiresFirstPartyModules
+
+`func (o *BulkWritableModuleBayTemplateRequest) GetRequiresFirstPartyModules() bool`
+
+GetRequiresFirstPartyModules returns the RequiresFirstPartyModules field if non-nil, zero value otherwise.
+
+### GetRequiresFirstPartyModulesOk
+
+`func (o *BulkWritableModuleBayTemplateRequest) GetRequiresFirstPartyModulesOk() (*bool, bool)`
+
+GetRequiresFirstPartyModulesOk returns a tuple with the RequiresFirstPartyModules field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetRequiresFirstPartyModules
+
+`func (o *BulkWritableModuleBayTemplateRequest) SetRequiresFirstPartyModules(v bool)`
+
+SetRequiresFirstPartyModules sets RequiresFirstPartyModules field to given value.
+
+### HasRequiresFirstPartyModules
+
+`func (o *BulkWritableModuleBayTemplateRequest) HasRequiresFirstPartyModules() bool`
+
+HasRequiresFirstPartyModules returns a boolean if a field has been set.
+
### GetDeviceType
`func (o *BulkWritableModuleBayTemplateRequest) GetDeviceType() BulkWritableCircuitRequestTenant`
@@ -218,6 +245,41 @@ HasModuleType returns a boolean if a field has been set.
`func (o *BulkWritableModuleBayTemplateRequest) UnsetModuleType()`
UnsetModuleType ensures that no value is present for ModuleType, not even an explicit nil
+### GetModuleFamily
+
+`func (o *BulkWritableModuleBayTemplateRequest) GetModuleFamily() BulkWritableModuleBayTemplateRequestModuleFamily`
+
+GetModuleFamily returns the ModuleFamily field if non-nil, zero value otherwise.
+
+### GetModuleFamilyOk
+
+`func (o *BulkWritableModuleBayTemplateRequest) GetModuleFamilyOk() (*BulkWritableModuleBayTemplateRequestModuleFamily, bool)`
+
+GetModuleFamilyOk returns a tuple with the ModuleFamily field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetModuleFamily
+
+`func (o *BulkWritableModuleBayTemplateRequest) SetModuleFamily(v BulkWritableModuleBayTemplateRequestModuleFamily)`
+
+SetModuleFamily sets ModuleFamily field to given value.
+
+### HasModuleFamily
+
+`func (o *BulkWritableModuleBayTemplateRequest) HasModuleFamily() bool`
+
+HasModuleFamily returns a boolean if a field has been set.
+
+### SetModuleFamilyNil
+
+`func (o *BulkWritableModuleBayTemplateRequest) SetModuleFamilyNil(b bool)`
+
+ SetModuleFamilyNil sets the value for ModuleFamily to be an explicit nil
+
+### UnsetModuleFamily
+`func (o *BulkWritableModuleBayTemplateRequest) UnsetModuleFamily()`
+
+UnsetModuleFamily ensures that no value is present for ModuleFamily, not even an explicit nil
### GetCustomFields
`func (o *BulkWritableModuleBayTemplateRequest) GetCustomFields() map[string]interface{}`
diff --git a/docs/BulkWritableModuleBayTemplateRequestModuleFamily.md b/docs/BulkWritableModuleBayTemplateRequestModuleFamily.md
new file mode 100644
index 00000000..85beee3a
--- /dev/null
+++ b/docs/BulkWritableModuleBayTemplateRequestModuleFamily.md
@@ -0,0 +1,108 @@
+# BulkWritableModuleBayTemplateRequestModuleFamily
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | Pointer to [**BulkWritableCableRequestStatusId**](BulkWritableCableRequestStatusId.md) | | [optional]
+**ObjectType** | Pointer to **string** | | [optional]
+**Url** | Pointer to **string** | | [optional]
+
+## Methods
+
+### NewBulkWritableModuleBayTemplateRequestModuleFamily
+
+`func NewBulkWritableModuleBayTemplateRequestModuleFamily() *BulkWritableModuleBayTemplateRequestModuleFamily`
+
+NewBulkWritableModuleBayTemplateRequestModuleFamily instantiates a new BulkWritableModuleBayTemplateRequestModuleFamily object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewBulkWritableModuleBayTemplateRequestModuleFamilyWithDefaults
+
+`func NewBulkWritableModuleBayTemplateRequestModuleFamilyWithDefaults() *BulkWritableModuleBayTemplateRequestModuleFamily`
+
+NewBulkWritableModuleBayTemplateRequestModuleFamilyWithDefaults instantiates a new BulkWritableModuleBayTemplateRequestModuleFamily object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *BulkWritableModuleBayTemplateRequestModuleFamily) GetId() BulkWritableCableRequestStatusId`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *BulkWritableModuleBayTemplateRequestModuleFamily) GetIdOk() (*BulkWritableCableRequestStatusId, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *BulkWritableModuleBayTemplateRequestModuleFamily) SetId(v BulkWritableCableRequestStatusId)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *BulkWritableModuleBayTemplateRequestModuleFamily) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
+### GetObjectType
+
+`func (o *BulkWritableModuleBayTemplateRequestModuleFamily) GetObjectType() string`
+
+GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
+
+### GetObjectTypeOk
+
+`func (o *BulkWritableModuleBayTemplateRequestModuleFamily) GetObjectTypeOk() (*string, bool)`
+
+GetObjectTypeOk returns a tuple with the ObjectType field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetObjectType
+
+`func (o *BulkWritableModuleBayTemplateRequestModuleFamily) SetObjectType(v string)`
+
+SetObjectType sets ObjectType field to given value.
+
+### HasObjectType
+
+`func (o *BulkWritableModuleBayTemplateRequestModuleFamily) HasObjectType() bool`
+
+HasObjectType returns a boolean if a field has been set.
+
+### GetUrl
+
+`func (o *BulkWritableModuleBayTemplateRequestModuleFamily) GetUrl() string`
+
+GetUrl returns the Url field if non-nil, zero value otherwise.
+
+### GetUrlOk
+
+`func (o *BulkWritableModuleBayTemplateRequestModuleFamily) GetUrlOk() (*string, bool)`
+
+GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetUrl
+
+`func (o *BulkWritableModuleBayTemplateRequestModuleFamily) SetUrl(v string)`
+
+SetUrl sets Url field to given value.
+
+### HasUrl
+
+`func (o *BulkWritableModuleBayTemplateRequestModuleFamily) HasUrl() bool`
+
+HasUrl returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/BulkWritableModuleFamilyRequest.md b/docs/BulkWritableModuleFamilyRequest.md
new file mode 100644
index 00000000..a6f42c18
--- /dev/null
+++ b/docs/BulkWritableModuleFamilyRequest.md
@@ -0,0 +1,150 @@
+# BulkWritableModuleFamilyRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | |
+**Name** | **string** | |
+**Description** | Pointer to **string** | | [optional]
+**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
+**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
+
+## Methods
+
+### NewBulkWritableModuleFamilyRequest
+
+`func NewBulkWritableModuleFamilyRequest(id string, name string, ) *BulkWritableModuleFamilyRequest`
+
+NewBulkWritableModuleFamilyRequest instantiates a new BulkWritableModuleFamilyRequest object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewBulkWritableModuleFamilyRequestWithDefaults
+
+`func NewBulkWritableModuleFamilyRequestWithDefaults() *BulkWritableModuleFamilyRequest`
+
+NewBulkWritableModuleFamilyRequestWithDefaults instantiates a new BulkWritableModuleFamilyRequest object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *BulkWritableModuleFamilyRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *BulkWritableModuleFamilyRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *BulkWritableModuleFamilyRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+
+### GetName
+
+`func (o *BulkWritableModuleFamilyRequest) GetName() string`
+
+GetName returns the Name field if non-nil, zero value otherwise.
+
+### GetNameOk
+
+`func (o *BulkWritableModuleFamilyRequest) GetNameOk() (*string, bool)`
+
+GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetName
+
+`func (o *BulkWritableModuleFamilyRequest) SetName(v string)`
+
+SetName sets Name field to given value.
+
+
+### GetDescription
+
+`func (o *BulkWritableModuleFamilyRequest) GetDescription() string`
+
+GetDescription returns the Description field if non-nil, zero value otherwise.
+
+### GetDescriptionOk
+
+`func (o *BulkWritableModuleFamilyRequest) GetDescriptionOk() (*string, bool)`
+
+GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDescription
+
+`func (o *BulkWritableModuleFamilyRequest) SetDescription(v string)`
+
+SetDescription sets Description field to given value.
+
+### HasDescription
+
+`func (o *BulkWritableModuleFamilyRequest) HasDescription() bool`
+
+HasDescription returns a boolean if a field has been set.
+
+### GetCustomFields
+
+`func (o *BulkWritableModuleFamilyRequest) GetCustomFields() map[string]interface{}`
+
+GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
+
+### GetCustomFieldsOk
+
+`func (o *BulkWritableModuleFamilyRequest) GetCustomFieldsOk() (*map[string]interface{}, bool)`
+
+GetCustomFieldsOk returns a tuple with the CustomFields field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCustomFields
+
+`func (o *BulkWritableModuleFamilyRequest) SetCustomFields(v map[string]interface{})`
+
+SetCustomFields sets CustomFields field to given value.
+
+### HasCustomFields
+
+`func (o *BulkWritableModuleFamilyRequest) HasCustomFields() bool`
+
+HasCustomFields returns a boolean if a field has been set.
+
+### GetRelationships
+
+`func (o *BulkWritableModuleFamilyRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue`
+
+GetRelationships returns the Relationships field if non-nil, zero value otherwise.
+
+### GetRelationshipsOk
+
+`func (o *BulkWritableModuleFamilyRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool)`
+
+GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetRelationships
+
+`func (o *BulkWritableModuleFamilyRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue)`
+
+SetRelationships sets Relationships field to given value.
+
+### HasRelationships
+
+`func (o *BulkWritableModuleFamilyRequest) HasRelationships() bool`
+
+HasRelationships returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/BulkWritableModuleTypeRequest.md b/docs/BulkWritableModuleTypeRequest.md
index 5a9c2f96..255a5e16 100644
--- a/docs/BulkWritableModuleTypeRequest.md
+++ b/docs/BulkWritableModuleTypeRequest.md
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
**PartNumber** | Pointer to **string** | Discrete part number (optional) | [optional]
**Comments** | Pointer to **string** | | [optional]
**Manufacturer** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+**ModuleFamily** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
@@ -142,6 +143,41 @@ and a boolean to check if the value has been set.
SetManufacturer sets Manufacturer field to given value.
+### GetModuleFamily
+
+`func (o *BulkWritableModuleTypeRequest) GetModuleFamily() BulkWritableCircuitRequestTenant`
+
+GetModuleFamily returns the ModuleFamily field if non-nil, zero value otherwise.
+
+### GetModuleFamilyOk
+
+`func (o *BulkWritableModuleTypeRequest) GetModuleFamilyOk() (*BulkWritableCircuitRequestTenant, bool)`
+
+GetModuleFamilyOk returns a tuple with the ModuleFamily field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetModuleFamily
+
+`func (o *BulkWritableModuleTypeRequest) SetModuleFamily(v BulkWritableCircuitRequestTenant)`
+
+SetModuleFamily sets ModuleFamily field to given value.
+
+### HasModuleFamily
+
+`func (o *BulkWritableModuleTypeRequest) HasModuleFamily() bool`
+
+HasModuleFamily returns a boolean if a field has been set.
+
+### SetModuleFamilyNil
+
+`func (o *BulkWritableModuleTypeRequest) SetModuleFamilyNil(b bool)`
+
+ SetModuleFamilyNil sets the value for ModuleFamily to be an explicit nil
+
+### UnsetModuleFamily
+`func (o *BulkWritableModuleTypeRequest) UnsetModuleFamily()`
+
+UnsetModuleFamily ensures that no value is present for ModuleFamily, not even an explicit nil
### GetCustomFields
`func (o *BulkWritableModuleTypeRequest) GetCustomFields() map[string]interface{}`
diff --git a/docs/BulkWritablePowerFeedRequest.md b/docs/BulkWritablePowerFeedRequest.md
index 4b083cd4..fbea92fb 100644
--- a/docs/BulkWritablePowerFeedRequest.md
+++ b/docs/BulkWritablePowerFeedRequest.md
@@ -5,16 +5,20 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **string** | |
-**Type** | Pointer to [**PowerFeedTypeChoices**](PowerFeedTypeChoices.md) | | [optional] [default to "{\"value\":\"primary\",\"label\":\"Primary\"}"]
-**Supply** | Pointer to [**SupplyEnum**](SupplyEnum.md) | | [optional] [default to "{\"value\":\"ac\",\"label\":\"AC\"}"]
-**Phase** | Pointer to [**PhaseEnum**](PhaseEnum.md) | | [optional] [default to "{\"value\":\"single-phase\",\"label\":\"Single phase\"}"]
+**Type** | Pointer to [**PowerFeedTypeChoices**](PowerFeedTypeChoices.md) | | [optional] [default to POWERFEEDTYPECHOICES_PRIMARY]
+**PowerPath** | Pointer to [**PowerPathEnum**](PowerPathEnum.md) | | [optional]
+**Supply** | Pointer to [**SupplyEnum**](SupplyEnum.md) | | [optional] [default to SUPPLYENUM_AC]
+**Phase** | Pointer to [**PhaseEnum**](PhaseEnum.md) | | [optional] [default to PHASEENUM_SINGLE_PHASE]
+**BreakerPoleCount** | Pointer to [**NullableBreakerPoleCountEnum**](BreakerPoleCountEnum.md) | | [optional]
**Name** | **string** | |
**Voltage** | Pointer to **int32** | | [optional]
**Amperage** | Pointer to **int32** | | [optional]
**MaxUtilization** | Pointer to **int32** | Maximum permissible draw (percentage) | [optional]
+**BreakerPosition** | Pointer to **NullableInt32** | Starting circuit breaker position in panel | [optional]
**Comments** | Pointer to **string** | | [optional]
**Cable** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
-**PowerPanel** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+**PowerPanel** | [**BulkWritablePowerFeedRequestPowerPanel**](BulkWritablePowerFeedRequestPowerPanel.md) | |
+**DestinationPanel** | Pointer to [**NullableBulkWritablePowerFeedRequestDestinationPanel**](BulkWritablePowerFeedRequestDestinationPanel.md) | | [optional]
**Rack** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**Status** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
@@ -25,7 +29,7 @@ Name | Type | Description | Notes
### NewBulkWritablePowerFeedRequest
-`func NewBulkWritablePowerFeedRequest(id string, name string, powerPanel BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus, ) *BulkWritablePowerFeedRequest`
+`func NewBulkWritablePowerFeedRequest(id string, name string, powerPanel BulkWritablePowerFeedRequestPowerPanel, status BulkWritableCableRequestStatus, ) *BulkWritablePowerFeedRequest`
NewBulkWritablePowerFeedRequest instantiates a new BulkWritablePowerFeedRequest object
This constructor will assign default values to properties that have it defined,
@@ -85,6 +89,31 @@ SetType sets Type field to given value.
HasType returns a boolean if a field has been set.
+### GetPowerPath
+
+`func (o *BulkWritablePowerFeedRequest) GetPowerPath() PowerPathEnum`
+
+GetPowerPath returns the PowerPath field if non-nil, zero value otherwise.
+
+### GetPowerPathOk
+
+`func (o *BulkWritablePowerFeedRequest) GetPowerPathOk() (*PowerPathEnum, bool)`
+
+GetPowerPathOk returns a tuple with the PowerPath field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetPowerPath
+
+`func (o *BulkWritablePowerFeedRequest) SetPowerPath(v PowerPathEnum)`
+
+SetPowerPath sets PowerPath field to given value.
+
+### HasPowerPath
+
+`func (o *BulkWritablePowerFeedRequest) HasPowerPath() bool`
+
+HasPowerPath returns a boolean if a field has been set.
+
### GetSupply
`func (o *BulkWritablePowerFeedRequest) GetSupply() SupplyEnum`
@@ -135,6 +164,41 @@ SetPhase sets Phase field to given value.
HasPhase returns a boolean if a field has been set.
+### GetBreakerPoleCount
+
+`func (o *BulkWritablePowerFeedRequest) GetBreakerPoleCount() BreakerPoleCountEnum`
+
+GetBreakerPoleCount returns the BreakerPoleCount field if non-nil, zero value otherwise.
+
+### GetBreakerPoleCountOk
+
+`func (o *BulkWritablePowerFeedRequest) GetBreakerPoleCountOk() (*BreakerPoleCountEnum, bool)`
+
+GetBreakerPoleCountOk returns a tuple with the BreakerPoleCount field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetBreakerPoleCount
+
+`func (o *BulkWritablePowerFeedRequest) SetBreakerPoleCount(v BreakerPoleCountEnum)`
+
+SetBreakerPoleCount sets BreakerPoleCount field to given value.
+
+### HasBreakerPoleCount
+
+`func (o *BulkWritablePowerFeedRequest) HasBreakerPoleCount() bool`
+
+HasBreakerPoleCount returns a boolean if a field has been set.
+
+### SetBreakerPoleCountNil
+
+`func (o *BulkWritablePowerFeedRequest) SetBreakerPoleCountNil(b bool)`
+
+ SetBreakerPoleCountNil sets the value for BreakerPoleCount to be an explicit nil
+
+### UnsetBreakerPoleCount
+`func (o *BulkWritablePowerFeedRequest) UnsetBreakerPoleCount()`
+
+UnsetBreakerPoleCount ensures that no value is present for BreakerPoleCount, not even an explicit nil
### GetName
`func (o *BulkWritablePowerFeedRequest) GetName() string`
@@ -230,6 +294,41 @@ SetMaxUtilization sets MaxUtilization field to given value.
HasMaxUtilization returns a boolean if a field has been set.
+### GetBreakerPosition
+
+`func (o *BulkWritablePowerFeedRequest) GetBreakerPosition() int32`
+
+GetBreakerPosition returns the BreakerPosition field if non-nil, zero value otherwise.
+
+### GetBreakerPositionOk
+
+`func (o *BulkWritablePowerFeedRequest) GetBreakerPositionOk() (*int32, bool)`
+
+GetBreakerPositionOk returns a tuple with the BreakerPosition field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetBreakerPosition
+
+`func (o *BulkWritablePowerFeedRequest) SetBreakerPosition(v int32)`
+
+SetBreakerPosition sets BreakerPosition field to given value.
+
+### HasBreakerPosition
+
+`func (o *BulkWritablePowerFeedRequest) HasBreakerPosition() bool`
+
+HasBreakerPosition returns a boolean if a field has been set.
+
+### SetBreakerPositionNil
+
+`func (o *BulkWritablePowerFeedRequest) SetBreakerPositionNil(b bool)`
+
+ SetBreakerPositionNil sets the value for BreakerPosition to be an explicit nil
+
+### UnsetBreakerPosition
+`func (o *BulkWritablePowerFeedRequest) UnsetBreakerPosition()`
+
+UnsetBreakerPosition ensures that no value is present for BreakerPosition, not even an explicit nil
### GetComments
`func (o *BulkWritablePowerFeedRequest) GetComments() string`
@@ -292,24 +391,59 @@ HasCable returns a boolean if a field has been set.
UnsetCable ensures that no value is present for Cable, not even an explicit nil
### GetPowerPanel
-`func (o *BulkWritablePowerFeedRequest) GetPowerPanel() BulkWritableCableRequestStatus`
+`func (o *BulkWritablePowerFeedRequest) GetPowerPanel() BulkWritablePowerFeedRequestPowerPanel`
GetPowerPanel returns the PowerPanel field if non-nil, zero value otherwise.
### GetPowerPanelOk
-`func (o *BulkWritablePowerFeedRequest) GetPowerPanelOk() (*BulkWritableCableRequestStatus, bool)`
+`func (o *BulkWritablePowerFeedRequest) GetPowerPanelOk() (*BulkWritablePowerFeedRequestPowerPanel, bool)`
GetPowerPanelOk returns a tuple with the PowerPanel field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetPowerPanel
-`func (o *BulkWritablePowerFeedRequest) SetPowerPanel(v BulkWritableCableRequestStatus)`
+`func (o *BulkWritablePowerFeedRequest) SetPowerPanel(v BulkWritablePowerFeedRequestPowerPanel)`
SetPowerPanel sets PowerPanel field to given value.
+### GetDestinationPanel
+
+`func (o *BulkWritablePowerFeedRequest) GetDestinationPanel() BulkWritablePowerFeedRequestDestinationPanel`
+
+GetDestinationPanel returns the DestinationPanel field if non-nil, zero value otherwise.
+
+### GetDestinationPanelOk
+
+`func (o *BulkWritablePowerFeedRequest) GetDestinationPanelOk() (*BulkWritablePowerFeedRequestDestinationPanel, bool)`
+
+GetDestinationPanelOk returns a tuple with the DestinationPanel field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDestinationPanel
+
+`func (o *BulkWritablePowerFeedRequest) SetDestinationPanel(v BulkWritablePowerFeedRequestDestinationPanel)`
+
+SetDestinationPanel sets DestinationPanel field to given value.
+
+### HasDestinationPanel
+
+`func (o *BulkWritablePowerFeedRequest) HasDestinationPanel() bool`
+
+HasDestinationPanel returns a boolean if a field has been set.
+
+### SetDestinationPanelNil
+
+`func (o *BulkWritablePowerFeedRequest) SetDestinationPanelNil(b bool)`
+
+ SetDestinationPanelNil sets the value for DestinationPanel to be an explicit nil
+
+### UnsetDestinationPanel
+`func (o *BulkWritablePowerFeedRequest) UnsetDestinationPanel()`
+
+UnsetDestinationPanel ensures that no value is present for DestinationPanel, not even an explicit nil
### GetRack
`func (o *BulkWritablePowerFeedRequest) GetRack() BulkWritableCircuitRequestTenant`
diff --git a/docs/BulkWritablePowerFeedRequestDestinationPanel.md b/docs/BulkWritablePowerFeedRequestDestinationPanel.md
new file mode 100644
index 00000000..df3b5de9
--- /dev/null
+++ b/docs/BulkWritablePowerFeedRequestDestinationPanel.md
@@ -0,0 +1,108 @@
+# BulkWritablePowerFeedRequestDestinationPanel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | Pointer to [**BulkWritableCableRequestStatusId**](BulkWritableCableRequestStatusId.md) | | [optional]
+**ObjectType** | Pointer to **string** | | [optional]
+**Url** | Pointer to **string** | | [optional]
+
+## Methods
+
+### NewBulkWritablePowerFeedRequestDestinationPanel
+
+`func NewBulkWritablePowerFeedRequestDestinationPanel() *BulkWritablePowerFeedRequestDestinationPanel`
+
+NewBulkWritablePowerFeedRequestDestinationPanel instantiates a new BulkWritablePowerFeedRequestDestinationPanel object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewBulkWritablePowerFeedRequestDestinationPanelWithDefaults
+
+`func NewBulkWritablePowerFeedRequestDestinationPanelWithDefaults() *BulkWritablePowerFeedRequestDestinationPanel`
+
+NewBulkWritablePowerFeedRequestDestinationPanelWithDefaults instantiates a new BulkWritablePowerFeedRequestDestinationPanel object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *BulkWritablePowerFeedRequestDestinationPanel) GetId() BulkWritableCableRequestStatusId`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *BulkWritablePowerFeedRequestDestinationPanel) GetIdOk() (*BulkWritableCableRequestStatusId, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *BulkWritablePowerFeedRequestDestinationPanel) SetId(v BulkWritableCableRequestStatusId)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *BulkWritablePowerFeedRequestDestinationPanel) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
+### GetObjectType
+
+`func (o *BulkWritablePowerFeedRequestDestinationPanel) GetObjectType() string`
+
+GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
+
+### GetObjectTypeOk
+
+`func (o *BulkWritablePowerFeedRequestDestinationPanel) GetObjectTypeOk() (*string, bool)`
+
+GetObjectTypeOk returns a tuple with the ObjectType field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetObjectType
+
+`func (o *BulkWritablePowerFeedRequestDestinationPanel) SetObjectType(v string)`
+
+SetObjectType sets ObjectType field to given value.
+
+### HasObjectType
+
+`func (o *BulkWritablePowerFeedRequestDestinationPanel) HasObjectType() bool`
+
+HasObjectType returns a boolean if a field has been set.
+
+### GetUrl
+
+`func (o *BulkWritablePowerFeedRequestDestinationPanel) GetUrl() string`
+
+GetUrl returns the Url field if non-nil, zero value otherwise.
+
+### GetUrlOk
+
+`func (o *BulkWritablePowerFeedRequestDestinationPanel) GetUrlOk() (*string, bool)`
+
+GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetUrl
+
+`func (o *BulkWritablePowerFeedRequestDestinationPanel) SetUrl(v string)`
+
+SetUrl sets Url field to given value.
+
+### HasUrl
+
+`func (o *BulkWritablePowerFeedRequestDestinationPanel) HasUrl() bool`
+
+HasUrl returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/BulkWritablePowerFeedRequestPowerPanel.md b/docs/BulkWritablePowerFeedRequestPowerPanel.md
new file mode 100644
index 00000000..6270b836
--- /dev/null
+++ b/docs/BulkWritablePowerFeedRequestPowerPanel.md
@@ -0,0 +1,108 @@
+# BulkWritablePowerFeedRequestPowerPanel
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | Pointer to [**BulkWritableCableRequestStatusId**](BulkWritableCableRequestStatusId.md) | | [optional]
+**ObjectType** | Pointer to **string** | | [optional]
+**Url** | Pointer to **string** | | [optional]
+
+## Methods
+
+### NewBulkWritablePowerFeedRequestPowerPanel
+
+`func NewBulkWritablePowerFeedRequestPowerPanel() *BulkWritablePowerFeedRequestPowerPanel`
+
+NewBulkWritablePowerFeedRequestPowerPanel instantiates a new BulkWritablePowerFeedRequestPowerPanel object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewBulkWritablePowerFeedRequestPowerPanelWithDefaults
+
+`func NewBulkWritablePowerFeedRequestPowerPanelWithDefaults() *BulkWritablePowerFeedRequestPowerPanel`
+
+NewBulkWritablePowerFeedRequestPowerPanelWithDefaults instantiates a new BulkWritablePowerFeedRequestPowerPanel object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *BulkWritablePowerFeedRequestPowerPanel) GetId() BulkWritableCableRequestStatusId`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *BulkWritablePowerFeedRequestPowerPanel) GetIdOk() (*BulkWritableCableRequestStatusId, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *BulkWritablePowerFeedRequestPowerPanel) SetId(v BulkWritableCableRequestStatusId)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *BulkWritablePowerFeedRequestPowerPanel) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
+### GetObjectType
+
+`func (o *BulkWritablePowerFeedRequestPowerPanel) GetObjectType() string`
+
+GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
+
+### GetObjectTypeOk
+
+`func (o *BulkWritablePowerFeedRequestPowerPanel) GetObjectTypeOk() (*string, bool)`
+
+GetObjectTypeOk returns a tuple with the ObjectType field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetObjectType
+
+`func (o *BulkWritablePowerFeedRequestPowerPanel) SetObjectType(v string)`
+
+SetObjectType sets ObjectType field to given value.
+
+### HasObjectType
+
+`func (o *BulkWritablePowerFeedRequestPowerPanel) HasObjectType() bool`
+
+HasObjectType returns a boolean if a field has been set.
+
+### GetUrl
+
+`func (o *BulkWritablePowerFeedRequestPowerPanel) GetUrl() string`
+
+GetUrl returns the Url field if non-nil, zero value otherwise.
+
+### GetUrlOk
+
+`func (o *BulkWritablePowerFeedRequestPowerPanel) GetUrlOk() (*string, bool)`
+
+GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetUrl
+
+`func (o *BulkWritablePowerFeedRequestPowerPanel) SetUrl(v string)`
+
+SetUrl sets Url field to given value.
+
+### HasUrl
+
+`func (o *BulkWritablePowerFeedRequestPowerPanel) HasUrl() bool`
+
+HasUrl returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/BulkWritablePowerPanelRequest.md b/docs/BulkWritablePowerPanelRequest.md
index 36f27d6b..d5437efc 100644
--- a/docs/BulkWritablePowerPanelRequest.md
+++ b/docs/BulkWritablePowerPanelRequest.md
@@ -5,7 +5,10 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **string** | |
+**PanelType** | Pointer to [**PanelTypeEnum**](PanelTypeEnum.md) | | [optional]
+**PowerPath** | Pointer to [**PowerPathEnum**](PowerPathEnum.md) | | [optional]
**Name** | **string** | |
+**BreakerPositionCount** | Pointer to **NullableInt32** | Total number of breaker positions in the panel (e.g., 42) | [optional]
**Location** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
**RackGroup** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
@@ -51,6 +54,56 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### GetPanelType
+
+`func (o *BulkWritablePowerPanelRequest) GetPanelType() PanelTypeEnum`
+
+GetPanelType returns the PanelType field if non-nil, zero value otherwise.
+
+### GetPanelTypeOk
+
+`func (o *BulkWritablePowerPanelRequest) GetPanelTypeOk() (*PanelTypeEnum, bool)`
+
+GetPanelTypeOk returns a tuple with the PanelType field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetPanelType
+
+`func (o *BulkWritablePowerPanelRequest) SetPanelType(v PanelTypeEnum)`
+
+SetPanelType sets PanelType field to given value.
+
+### HasPanelType
+
+`func (o *BulkWritablePowerPanelRequest) HasPanelType() bool`
+
+HasPanelType returns a boolean if a field has been set.
+
+### GetPowerPath
+
+`func (o *BulkWritablePowerPanelRequest) GetPowerPath() PowerPathEnum`
+
+GetPowerPath returns the PowerPath field if non-nil, zero value otherwise.
+
+### GetPowerPathOk
+
+`func (o *BulkWritablePowerPanelRequest) GetPowerPathOk() (*PowerPathEnum, bool)`
+
+GetPowerPathOk returns a tuple with the PowerPath field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetPowerPath
+
+`func (o *BulkWritablePowerPanelRequest) SetPowerPath(v PowerPathEnum)`
+
+SetPowerPath sets PowerPath field to given value.
+
+### HasPowerPath
+
+`func (o *BulkWritablePowerPanelRequest) HasPowerPath() bool`
+
+HasPowerPath returns a boolean if a field has been set.
+
### GetName
`func (o *BulkWritablePowerPanelRequest) GetName() string`
@@ -71,6 +124,41 @@ and a boolean to check if the value has been set.
SetName sets Name field to given value.
+### GetBreakerPositionCount
+
+`func (o *BulkWritablePowerPanelRequest) GetBreakerPositionCount() int32`
+
+GetBreakerPositionCount returns the BreakerPositionCount field if non-nil, zero value otherwise.
+
+### GetBreakerPositionCountOk
+
+`func (o *BulkWritablePowerPanelRequest) GetBreakerPositionCountOk() (*int32, bool)`
+
+GetBreakerPositionCountOk returns a tuple with the BreakerPositionCount field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetBreakerPositionCount
+
+`func (o *BulkWritablePowerPanelRequest) SetBreakerPositionCount(v int32)`
+
+SetBreakerPositionCount sets BreakerPositionCount field to given value.
+
+### HasBreakerPositionCount
+
+`func (o *BulkWritablePowerPanelRequest) HasBreakerPositionCount() bool`
+
+HasBreakerPositionCount returns a boolean if a field has been set.
+
+### SetBreakerPositionCountNil
+
+`func (o *BulkWritablePowerPanelRequest) SetBreakerPositionCountNil(b bool)`
+
+ SetBreakerPositionCountNil sets the value for BreakerPositionCount to be an explicit nil
+
+### UnsetBreakerPositionCount
+`func (o *BulkWritablePowerPanelRequest) UnsetBreakerPositionCount()`
+
+UnsetBreakerPositionCount ensures that no value is present for BreakerPositionCount, not even an explicit nil
### GetLocation
`func (o *BulkWritablePowerPanelRequest) GetLocation() BulkWritableCableRequestStatus`
diff --git a/docs/BulkWritablePowerPortRequest.md b/docs/BulkWritablePowerPortRequest.md
index 833f366e..64fe52d5 100644
--- a/docs/BulkWritablePowerPortRequest.md
+++ b/docs/BulkWritablePowerPortRequest.md
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
**Description** | Pointer to **string** | | [optional]
**MaximumDraw** | Pointer to **NullableInt32** | Maximum power draw (watts) | [optional]
**AllocatedDraw** | Pointer to **NullableInt32** | Allocated power draw (watts) | [optional]
+**PowerFactor** | Pointer to **float64** | Power factor (0.01-1.00) for converting between watts (W) and volt-amps (VA). Defaults to 0.95. | [optional]
**Device** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**Module** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
@@ -221,6 +222,31 @@ HasAllocatedDraw returns a boolean if a field has been set.
`func (o *BulkWritablePowerPortRequest) UnsetAllocatedDraw()`
UnsetAllocatedDraw ensures that no value is present for AllocatedDraw, not even an explicit nil
+### GetPowerFactor
+
+`func (o *BulkWritablePowerPortRequest) GetPowerFactor() float64`
+
+GetPowerFactor returns the PowerFactor field if non-nil, zero value otherwise.
+
+### GetPowerFactorOk
+
+`func (o *BulkWritablePowerPortRequest) GetPowerFactorOk() (*float64, bool)`
+
+GetPowerFactorOk returns a tuple with the PowerFactor field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetPowerFactor
+
+`func (o *BulkWritablePowerPortRequest) SetPowerFactor(v float64)`
+
+SetPowerFactor sets PowerFactor field to given value.
+
+### HasPowerFactor
+
+`func (o *BulkWritablePowerPortRequest) HasPowerFactor() bool`
+
+HasPowerFactor returns a boolean if a field has been set.
+
### GetDevice
`func (o *BulkWritablePowerPortRequest) GetDevice() BulkWritableCircuitRequestTenant`
diff --git a/docs/BulkWritablePowerPortTemplateRequest.md b/docs/BulkWritablePowerPortTemplateRequest.md
index 0858712e..7581c1d0 100644
--- a/docs/BulkWritablePowerPortTemplateRequest.md
+++ b/docs/BulkWritablePowerPortTemplateRequest.md
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
**Description** | Pointer to **string** | | [optional]
**MaximumDraw** | Pointer to **NullableInt32** | Maximum power draw (watts) | [optional]
**AllocatedDraw** | Pointer to **NullableInt32** | Allocated power draw (watts) | [optional]
+**PowerFactor** | Pointer to **float64** | Power factor (0.01-1.00) for converting between watts (W) and volt-amps (VA). Defaults to 0.95. | [optional]
**DeviceType** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**ModuleType** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
@@ -220,6 +221,31 @@ HasAllocatedDraw returns a boolean if a field has been set.
`func (o *BulkWritablePowerPortTemplateRequest) UnsetAllocatedDraw()`
UnsetAllocatedDraw ensures that no value is present for AllocatedDraw, not even an explicit nil
+### GetPowerFactor
+
+`func (o *BulkWritablePowerPortTemplateRequest) GetPowerFactor() float64`
+
+GetPowerFactor returns the PowerFactor field if non-nil, zero value otherwise.
+
+### GetPowerFactorOk
+
+`func (o *BulkWritablePowerPortTemplateRequest) GetPowerFactorOk() (*float64, bool)`
+
+GetPowerFactorOk returns a tuple with the PowerFactor field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetPowerFactor
+
+`func (o *BulkWritablePowerPortTemplateRequest) SetPowerFactor(v float64)`
+
+SetPowerFactor sets PowerFactor field to given value.
+
+### HasPowerFactor
+
+`func (o *BulkWritablePowerPortTemplateRequest) HasPowerFactor() bool`
+
+HasPowerFactor returns a boolean if a field has been set.
+
### GetDeviceType
`func (o *BulkWritablePowerPortTemplateRequest) GetDeviceType() BulkWritableCircuitRequestTenant`
diff --git a/docs/BulkWritablePrefixRequest.md b/docs/BulkWritablePrefixRequest.md
index 8d7e8954..03f53df9 100644
--- a/docs/BulkWritablePrefixRequest.md
+++ b/docs/BulkWritablePrefixRequest.md
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **string** | |
**Prefix** | **string** | |
-**Type** | Pointer to [**PrefixTypeChoices**](PrefixTypeChoices.md) | | [optional] [default to "{\"value\":\"network\",\"label\":\"Network\"}"]
+**Type** | Pointer to [**PrefixTypeChoices**](PrefixTypeChoices.md) | | [optional] [default to PREFIXTYPECHOICES_NETWORK]
**Location** | Pointer to [**NullableBulkWritablePrefixRequestLocation**](BulkWritablePrefixRequestLocation.md) | | [optional]
**DateAllocated** | Pointer to **NullableTime** | Date this prefix was allocated to an RIR, reserved in IPAM, etc. | [optional]
**Description** | Pointer to **string** | | [optional]
diff --git a/docs/BulkWritableRadioProfileRequest.md b/docs/BulkWritableRadioProfileRequest.md
new file mode 100644
index 00000000..1d596bab
--- /dev/null
+++ b/docs/BulkWritableRadioProfileRequest.md
@@ -0,0 +1,383 @@
+# BulkWritableRadioProfileRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | |
+**ChannelWidth** | Pointer to [**[]ChannelWidthEnum**](ChannelWidthEnum.md) | | [optional]
+**AllowedChannelList** | Pointer to **[]int32** | | [optional]
+**Name** | **string** | |
+**Frequency** | Pointer to [**BulkWritableRadioProfileRequestFrequency**](BulkWritableRadioProfileRequestFrequency.md) | | [optional]
+**TxPowerMin** | Pointer to **NullableInt32** | | [optional]
+**TxPowerMax** | Pointer to **NullableInt32** | | [optional]
+**RegulatoryDomain** | [**RegulatoryDomainEnum**](RegulatoryDomainEnum.md) | |
+**RxPowerMin** | Pointer to **NullableInt32** | | [optional]
+**SupportedDataRates** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
+**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
+**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
+
+## Methods
+
+### NewBulkWritableRadioProfileRequest
+
+`func NewBulkWritableRadioProfileRequest(id string, name string, regulatoryDomain RegulatoryDomainEnum, ) *BulkWritableRadioProfileRequest`
+
+NewBulkWritableRadioProfileRequest instantiates a new BulkWritableRadioProfileRequest object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewBulkWritableRadioProfileRequestWithDefaults
+
+`func NewBulkWritableRadioProfileRequestWithDefaults() *BulkWritableRadioProfileRequest`
+
+NewBulkWritableRadioProfileRequestWithDefaults instantiates a new BulkWritableRadioProfileRequest object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *BulkWritableRadioProfileRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *BulkWritableRadioProfileRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *BulkWritableRadioProfileRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+
+### GetChannelWidth
+
+`func (o *BulkWritableRadioProfileRequest) GetChannelWidth() []ChannelWidthEnum`
+
+GetChannelWidth returns the ChannelWidth field if non-nil, zero value otherwise.
+
+### GetChannelWidthOk
+
+`func (o *BulkWritableRadioProfileRequest) GetChannelWidthOk() (*[]ChannelWidthEnum, bool)`
+
+GetChannelWidthOk returns a tuple with the ChannelWidth field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetChannelWidth
+
+`func (o *BulkWritableRadioProfileRequest) SetChannelWidth(v []ChannelWidthEnum)`
+
+SetChannelWidth sets ChannelWidth field to given value.
+
+### HasChannelWidth
+
+`func (o *BulkWritableRadioProfileRequest) HasChannelWidth() bool`
+
+HasChannelWidth returns a boolean if a field has been set.
+
+### GetAllowedChannelList
+
+`func (o *BulkWritableRadioProfileRequest) GetAllowedChannelList() []int32`
+
+GetAllowedChannelList returns the AllowedChannelList field if non-nil, zero value otherwise.
+
+### GetAllowedChannelListOk
+
+`func (o *BulkWritableRadioProfileRequest) GetAllowedChannelListOk() (*[]int32, bool)`
+
+GetAllowedChannelListOk returns a tuple with the AllowedChannelList field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetAllowedChannelList
+
+`func (o *BulkWritableRadioProfileRequest) SetAllowedChannelList(v []int32)`
+
+SetAllowedChannelList sets AllowedChannelList field to given value.
+
+### HasAllowedChannelList
+
+`func (o *BulkWritableRadioProfileRequest) HasAllowedChannelList() bool`
+
+HasAllowedChannelList returns a boolean if a field has been set.
+
+### GetName
+
+`func (o *BulkWritableRadioProfileRequest) GetName() string`
+
+GetName returns the Name field if non-nil, zero value otherwise.
+
+### GetNameOk
+
+`func (o *BulkWritableRadioProfileRequest) GetNameOk() (*string, bool)`
+
+GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetName
+
+`func (o *BulkWritableRadioProfileRequest) SetName(v string)`
+
+SetName sets Name field to given value.
+
+
+### GetFrequency
+
+`func (o *BulkWritableRadioProfileRequest) GetFrequency() BulkWritableRadioProfileRequestFrequency`
+
+GetFrequency returns the Frequency field if non-nil, zero value otherwise.
+
+### GetFrequencyOk
+
+`func (o *BulkWritableRadioProfileRequest) GetFrequencyOk() (*BulkWritableRadioProfileRequestFrequency, bool)`
+
+GetFrequencyOk returns a tuple with the Frequency field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetFrequency
+
+`func (o *BulkWritableRadioProfileRequest) SetFrequency(v BulkWritableRadioProfileRequestFrequency)`
+
+SetFrequency sets Frequency field to given value.
+
+### HasFrequency
+
+`func (o *BulkWritableRadioProfileRequest) HasFrequency() bool`
+
+HasFrequency returns a boolean if a field has been set.
+
+### GetTxPowerMin
+
+`func (o *BulkWritableRadioProfileRequest) GetTxPowerMin() int32`
+
+GetTxPowerMin returns the TxPowerMin field if non-nil, zero value otherwise.
+
+### GetTxPowerMinOk
+
+`func (o *BulkWritableRadioProfileRequest) GetTxPowerMinOk() (*int32, bool)`
+
+GetTxPowerMinOk returns a tuple with the TxPowerMin field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTxPowerMin
+
+`func (o *BulkWritableRadioProfileRequest) SetTxPowerMin(v int32)`
+
+SetTxPowerMin sets TxPowerMin field to given value.
+
+### HasTxPowerMin
+
+`func (o *BulkWritableRadioProfileRequest) HasTxPowerMin() bool`
+
+HasTxPowerMin returns a boolean if a field has been set.
+
+### SetTxPowerMinNil
+
+`func (o *BulkWritableRadioProfileRequest) SetTxPowerMinNil(b bool)`
+
+ SetTxPowerMinNil sets the value for TxPowerMin to be an explicit nil
+
+### UnsetTxPowerMin
+`func (o *BulkWritableRadioProfileRequest) UnsetTxPowerMin()`
+
+UnsetTxPowerMin ensures that no value is present for TxPowerMin, not even an explicit nil
+### GetTxPowerMax
+
+`func (o *BulkWritableRadioProfileRequest) GetTxPowerMax() int32`
+
+GetTxPowerMax returns the TxPowerMax field if non-nil, zero value otherwise.
+
+### GetTxPowerMaxOk
+
+`func (o *BulkWritableRadioProfileRequest) GetTxPowerMaxOk() (*int32, bool)`
+
+GetTxPowerMaxOk returns a tuple with the TxPowerMax field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTxPowerMax
+
+`func (o *BulkWritableRadioProfileRequest) SetTxPowerMax(v int32)`
+
+SetTxPowerMax sets TxPowerMax field to given value.
+
+### HasTxPowerMax
+
+`func (o *BulkWritableRadioProfileRequest) HasTxPowerMax() bool`
+
+HasTxPowerMax returns a boolean if a field has been set.
+
+### SetTxPowerMaxNil
+
+`func (o *BulkWritableRadioProfileRequest) SetTxPowerMaxNil(b bool)`
+
+ SetTxPowerMaxNil sets the value for TxPowerMax to be an explicit nil
+
+### UnsetTxPowerMax
+`func (o *BulkWritableRadioProfileRequest) UnsetTxPowerMax()`
+
+UnsetTxPowerMax ensures that no value is present for TxPowerMax, not even an explicit nil
+### GetRegulatoryDomain
+
+`func (o *BulkWritableRadioProfileRequest) GetRegulatoryDomain() RegulatoryDomainEnum`
+
+GetRegulatoryDomain returns the RegulatoryDomain field if non-nil, zero value otherwise.
+
+### GetRegulatoryDomainOk
+
+`func (o *BulkWritableRadioProfileRequest) GetRegulatoryDomainOk() (*RegulatoryDomainEnum, bool)`
+
+GetRegulatoryDomainOk returns a tuple with the RegulatoryDomain field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetRegulatoryDomain
+
+`func (o *BulkWritableRadioProfileRequest) SetRegulatoryDomain(v RegulatoryDomainEnum)`
+
+SetRegulatoryDomain sets RegulatoryDomain field to given value.
+
+
+### GetRxPowerMin
+
+`func (o *BulkWritableRadioProfileRequest) GetRxPowerMin() int32`
+
+GetRxPowerMin returns the RxPowerMin field if non-nil, zero value otherwise.
+
+### GetRxPowerMinOk
+
+`func (o *BulkWritableRadioProfileRequest) GetRxPowerMinOk() (*int32, bool)`
+
+GetRxPowerMinOk returns a tuple with the RxPowerMin field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetRxPowerMin
+
+`func (o *BulkWritableRadioProfileRequest) SetRxPowerMin(v int32)`
+
+SetRxPowerMin sets RxPowerMin field to given value.
+
+### HasRxPowerMin
+
+`func (o *BulkWritableRadioProfileRequest) HasRxPowerMin() bool`
+
+HasRxPowerMin returns a boolean if a field has been set.
+
+### SetRxPowerMinNil
+
+`func (o *BulkWritableRadioProfileRequest) SetRxPowerMinNil(b bool)`
+
+ SetRxPowerMinNil sets the value for RxPowerMin to be an explicit nil
+
+### UnsetRxPowerMin
+`func (o *BulkWritableRadioProfileRequest) UnsetRxPowerMin()`
+
+UnsetRxPowerMin ensures that no value is present for RxPowerMin, not even an explicit nil
+### GetSupportedDataRates
+
+`func (o *BulkWritableRadioProfileRequest) GetSupportedDataRates() []BulkWritableCableRequestStatus`
+
+GetSupportedDataRates returns the SupportedDataRates field if non-nil, zero value otherwise.
+
+### GetSupportedDataRatesOk
+
+`func (o *BulkWritableRadioProfileRequest) GetSupportedDataRatesOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetSupportedDataRatesOk returns a tuple with the SupportedDataRates field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetSupportedDataRates
+
+`func (o *BulkWritableRadioProfileRequest) SetSupportedDataRates(v []BulkWritableCableRequestStatus)`
+
+SetSupportedDataRates sets SupportedDataRates field to given value.
+
+### HasSupportedDataRates
+
+`func (o *BulkWritableRadioProfileRequest) HasSupportedDataRates() bool`
+
+HasSupportedDataRates returns a boolean if a field has been set.
+
+### GetCustomFields
+
+`func (o *BulkWritableRadioProfileRequest) GetCustomFields() map[string]interface{}`
+
+GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
+
+### GetCustomFieldsOk
+
+`func (o *BulkWritableRadioProfileRequest) GetCustomFieldsOk() (*map[string]interface{}, bool)`
+
+GetCustomFieldsOk returns a tuple with the CustomFields field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCustomFields
+
+`func (o *BulkWritableRadioProfileRequest) SetCustomFields(v map[string]interface{})`
+
+SetCustomFields sets CustomFields field to given value.
+
+### HasCustomFields
+
+`func (o *BulkWritableRadioProfileRequest) HasCustomFields() bool`
+
+HasCustomFields returns a boolean if a field has been set.
+
+### GetRelationships
+
+`func (o *BulkWritableRadioProfileRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue`
+
+GetRelationships returns the Relationships field if non-nil, zero value otherwise.
+
+### GetRelationshipsOk
+
+`func (o *BulkWritableRadioProfileRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool)`
+
+GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetRelationships
+
+`func (o *BulkWritableRadioProfileRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue)`
+
+SetRelationships sets Relationships field to given value.
+
+### HasRelationships
+
+`func (o *BulkWritableRadioProfileRequest) HasRelationships() bool`
+
+HasRelationships returns a boolean if a field has been set.
+
+### GetTags
+
+`func (o *BulkWritableRadioProfileRequest) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *BulkWritableRadioProfileRequest) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *BulkWritableRadioProfileRequest) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *BulkWritableRadioProfileRequest) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/BulkWritableRadioProfileRequestFrequency.md b/docs/BulkWritableRadioProfileRequestFrequency.md
new file mode 100644
index 00000000..bd84d96a
--- /dev/null
+++ b/docs/BulkWritableRadioProfileRequestFrequency.md
@@ -0,0 +1,17 @@
+# BulkWritableRadioProfileRequestFrequency
+
+## Enum
+
+
+* `_2_4_GHZ` (value: `"2.4GHz"`)
+
+* `_5_GHZ` (value: `"5GHz"`)
+
+* `_6_GHZ` (value: `"6GHz"`)
+
+* `EMPTY` (value: `""`)
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/BulkWritableRelationshipRequestRequiredOn.md b/docs/BulkWritableRelationshipRequestRequiredOn.md
index d8372a7c..3c3d1766 100644
--- a/docs/BulkWritableRelationshipRequestRequiredOn.md
+++ b/docs/BulkWritableRelationshipRequestRequiredOn.md
@@ -1,28 +1,13 @@
# BulkWritableRelationshipRequestRequiredOn
-## Properties
+## Enum
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-## Methods
+* `SOURCE` (value: `"source"`)
-### NewBulkWritableRelationshipRequestRequiredOn
+* `DESTINATION` (value: `"destination"`)
-`func NewBulkWritableRelationshipRequestRequiredOn() *BulkWritableRelationshipRequestRequiredOn`
-
-NewBulkWritableRelationshipRequestRequiredOn instantiates a new BulkWritableRelationshipRequestRequiredOn object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewBulkWritableRelationshipRequestRequiredOnWithDefaults
-
-`func NewBulkWritableRelationshipRequestRequiredOnWithDefaults() *BulkWritableRelationshipRequestRequiredOn`
-
-NewBulkWritableRelationshipRequestRequiredOnWithDefaults instantiates a new BulkWritableRelationshipRequestRequiredOn object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
+* `EMPTY` (value: `""`)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/BulkWritableSoftwareImageFileRequest.md b/docs/BulkWritableSoftwareImageFileRequest.md
index 2d590296..ce5d0b1e 100644
--- a/docs/BulkWritableSoftwareImageFileRequest.md
+++ b/docs/BulkWritableSoftwareImageFileRequest.md
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
**DownloadUrl** | Pointer to **string** | | [optional]
**DefaultImage** | Pointer to **bool** | Is the default image for this software version | [optional]
**SoftwareVersion** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+**ExternalIntegration** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**Status** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
@@ -231,6 +232,41 @@ and a boolean to check if the value has been set.
SetSoftwareVersion sets SoftwareVersion field to given value.
+### GetExternalIntegration
+
+`func (o *BulkWritableSoftwareImageFileRequest) GetExternalIntegration() BulkWritableCircuitRequestTenant`
+
+GetExternalIntegration returns the ExternalIntegration field if non-nil, zero value otherwise.
+
+### GetExternalIntegrationOk
+
+`func (o *BulkWritableSoftwareImageFileRequest) GetExternalIntegrationOk() (*BulkWritableCircuitRequestTenant, bool)`
+
+GetExternalIntegrationOk returns a tuple with the ExternalIntegration field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetExternalIntegration
+
+`func (o *BulkWritableSoftwareImageFileRequest) SetExternalIntegration(v BulkWritableCircuitRequestTenant)`
+
+SetExternalIntegration sets ExternalIntegration field to given value.
+
+### HasExternalIntegration
+
+`func (o *BulkWritableSoftwareImageFileRequest) HasExternalIntegration() bool`
+
+HasExternalIntegration returns a boolean if a field has been set.
+
+### SetExternalIntegrationNil
+
+`func (o *BulkWritableSoftwareImageFileRequest) SetExternalIntegrationNil(b bool)`
+
+ SetExternalIntegrationNil sets the value for ExternalIntegration to be an explicit nil
+
+### UnsetExternalIntegration
+`func (o *BulkWritableSoftwareImageFileRequest) UnsetExternalIntegration()`
+
+UnsetExternalIntegration ensures that no value is present for ExternalIntegration, not even an explicit nil
### GetStatus
`func (o *BulkWritableSoftwareImageFileRequest) GetStatus() BulkWritableCableRequestStatus`
diff --git a/docs/BulkWritableSoftwareImageFileRequestHashingAlgorithm.md b/docs/BulkWritableSoftwareImageFileRequestHashingAlgorithm.md
index 031bfd11..2fd2f0ff 100644
--- a/docs/BulkWritableSoftwareImageFileRequestHashingAlgorithm.md
+++ b/docs/BulkWritableSoftwareImageFileRequestHashingAlgorithm.md
@@ -1,28 +1,27 @@
# BulkWritableSoftwareImageFileRequestHashingAlgorithm
-## Properties
+## Enum
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-## Methods
+* `MD5` (value: `"md5"`)
-### NewBulkWritableSoftwareImageFileRequestHashingAlgorithm
+* `SHA1` (value: `"sha1"`)
-`func NewBulkWritableSoftwareImageFileRequestHashingAlgorithm() *BulkWritableSoftwareImageFileRequestHashingAlgorithm`
+* `SHA224` (value: `"sha224"`)
-NewBulkWritableSoftwareImageFileRequestHashingAlgorithm instantiates a new BulkWritableSoftwareImageFileRequestHashingAlgorithm object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
+* `SHA384` (value: `"sha384"`)
-### NewBulkWritableSoftwareImageFileRequestHashingAlgorithmWithDefaults
+* `SHA256` (value: `"sha256"`)
-`func NewBulkWritableSoftwareImageFileRequestHashingAlgorithmWithDefaults() *BulkWritableSoftwareImageFileRequestHashingAlgorithm`
+* `SHA512` (value: `"sha512"`)
-NewBulkWritableSoftwareImageFileRequestHashingAlgorithmWithDefaults instantiates a new BulkWritableSoftwareImageFileRequestHashingAlgorithm object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
+* `SHA3` (value: `"sha3"`)
+
+* `BLAKE2` (value: `"blake2"`)
+
+* `BLAKE3` (value: `"blake3"`)
+
+* `EMPTY` (value: `""`)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/BulkWritableSupportedDataRateRequest.md b/docs/BulkWritableSupportedDataRateRequest.md
new file mode 100644
index 00000000..021c6ec5
--- /dev/null
+++ b/docs/BulkWritableSupportedDataRateRequest.md
@@ -0,0 +1,207 @@
+# BulkWritableSupportedDataRateRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | |
+**Standard** | [**StandardEnum**](StandardEnum.md) | |
+**Rate** | **int32** | |
+**McsIndex** | Pointer to **NullableInt32** | The Modulation and Coding Scheme (MCS) index is a value used in wireless communications to define the modulation type, coding rate, and number of spatial streams used in a transmission. | [optional]
+**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
+**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
+
+## Methods
+
+### NewBulkWritableSupportedDataRateRequest
+
+`func NewBulkWritableSupportedDataRateRequest(id string, standard StandardEnum, rate int32, ) *BulkWritableSupportedDataRateRequest`
+
+NewBulkWritableSupportedDataRateRequest instantiates a new BulkWritableSupportedDataRateRequest object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewBulkWritableSupportedDataRateRequestWithDefaults
+
+`func NewBulkWritableSupportedDataRateRequestWithDefaults() *BulkWritableSupportedDataRateRequest`
+
+NewBulkWritableSupportedDataRateRequestWithDefaults instantiates a new BulkWritableSupportedDataRateRequest object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *BulkWritableSupportedDataRateRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *BulkWritableSupportedDataRateRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *BulkWritableSupportedDataRateRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+
+### GetStandard
+
+`func (o *BulkWritableSupportedDataRateRequest) GetStandard() StandardEnum`
+
+GetStandard returns the Standard field if non-nil, zero value otherwise.
+
+### GetStandardOk
+
+`func (o *BulkWritableSupportedDataRateRequest) GetStandardOk() (*StandardEnum, bool)`
+
+GetStandardOk returns a tuple with the Standard field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetStandard
+
+`func (o *BulkWritableSupportedDataRateRequest) SetStandard(v StandardEnum)`
+
+SetStandard sets Standard field to given value.
+
+
+### GetRate
+
+`func (o *BulkWritableSupportedDataRateRequest) GetRate() int32`
+
+GetRate returns the Rate field if non-nil, zero value otherwise.
+
+### GetRateOk
+
+`func (o *BulkWritableSupportedDataRateRequest) GetRateOk() (*int32, bool)`
+
+GetRateOk returns a tuple with the Rate field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetRate
+
+`func (o *BulkWritableSupportedDataRateRequest) SetRate(v int32)`
+
+SetRate sets Rate field to given value.
+
+
+### GetMcsIndex
+
+`func (o *BulkWritableSupportedDataRateRequest) GetMcsIndex() int32`
+
+GetMcsIndex returns the McsIndex field if non-nil, zero value otherwise.
+
+### GetMcsIndexOk
+
+`func (o *BulkWritableSupportedDataRateRequest) GetMcsIndexOk() (*int32, bool)`
+
+GetMcsIndexOk returns a tuple with the McsIndex field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetMcsIndex
+
+`func (o *BulkWritableSupportedDataRateRequest) SetMcsIndex(v int32)`
+
+SetMcsIndex sets McsIndex field to given value.
+
+### HasMcsIndex
+
+`func (o *BulkWritableSupportedDataRateRequest) HasMcsIndex() bool`
+
+HasMcsIndex returns a boolean if a field has been set.
+
+### SetMcsIndexNil
+
+`func (o *BulkWritableSupportedDataRateRequest) SetMcsIndexNil(b bool)`
+
+ SetMcsIndexNil sets the value for McsIndex to be an explicit nil
+
+### UnsetMcsIndex
+`func (o *BulkWritableSupportedDataRateRequest) UnsetMcsIndex()`
+
+UnsetMcsIndex ensures that no value is present for McsIndex, not even an explicit nil
+### GetCustomFields
+
+`func (o *BulkWritableSupportedDataRateRequest) GetCustomFields() map[string]interface{}`
+
+GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
+
+### GetCustomFieldsOk
+
+`func (o *BulkWritableSupportedDataRateRequest) GetCustomFieldsOk() (*map[string]interface{}, bool)`
+
+GetCustomFieldsOk returns a tuple with the CustomFields field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCustomFields
+
+`func (o *BulkWritableSupportedDataRateRequest) SetCustomFields(v map[string]interface{})`
+
+SetCustomFields sets CustomFields field to given value.
+
+### HasCustomFields
+
+`func (o *BulkWritableSupportedDataRateRequest) HasCustomFields() bool`
+
+HasCustomFields returns a boolean if a field has been set.
+
+### GetRelationships
+
+`func (o *BulkWritableSupportedDataRateRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue`
+
+GetRelationships returns the Relationships field if non-nil, zero value otherwise.
+
+### GetRelationshipsOk
+
+`func (o *BulkWritableSupportedDataRateRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool)`
+
+GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetRelationships
+
+`func (o *BulkWritableSupportedDataRateRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue)`
+
+SetRelationships sets Relationships field to given value.
+
+### HasRelationships
+
+`func (o *BulkWritableSupportedDataRateRequest) HasRelationships() bool`
+
+HasRelationships returns a boolean if a field has been set.
+
+### GetTags
+
+`func (o *BulkWritableSupportedDataRateRequest) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *BulkWritableSupportedDataRateRequest) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *BulkWritableSupportedDataRateRequest) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *BulkWritableSupportedDataRateRequest) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/BulkWritableTeamRequest.md b/docs/BulkWritableTeamRequest.md
index 642b45fb..d99f7942 100644
--- a/docs/BulkWritableTeamRequest.md
+++ b/docs/BulkWritableTeamRequest.md
@@ -5,14 +5,15 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **string** | |
-**Contacts** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
**Name** | **string** | |
**Phone** | Pointer to **string** | | [optional] [default to ""]
**Email** | Pointer to **string** | | [optional] [default to ""]
**Address** | Pointer to **string** | | [optional]
**Comments** | Pointer to **string** | | [optional]
+**Contacts** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
## Methods
@@ -53,31 +54,6 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
-### GetContacts
-
-`func (o *BulkWritableTeamRequest) GetContacts() []BulkWritableCableRequestStatus`
-
-GetContacts returns the Contacts field if non-nil, zero value otherwise.
-
-### GetContactsOk
-
-`func (o *BulkWritableTeamRequest) GetContactsOk() (*[]BulkWritableCableRequestStatus, bool)`
-
-GetContactsOk returns a tuple with the Contacts field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetContacts
-
-`func (o *BulkWritableTeamRequest) SetContacts(v []BulkWritableCableRequestStatus)`
-
-SetContacts sets Contacts field to given value.
-
-### HasContacts
-
-`func (o *BulkWritableTeamRequest) HasContacts() bool`
-
-HasContacts returns a boolean if a field has been set.
-
### GetName
`func (o *BulkWritableTeamRequest) GetName() string`
@@ -198,6 +174,31 @@ SetComments sets Comments field to given value.
HasComments returns a boolean if a field has been set.
+### GetContacts
+
+`func (o *BulkWritableTeamRequest) GetContacts() []BulkWritableCableRequestStatus`
+
+GetContacts returns the Contacts field if non-nil, zero value otherwise.
+
+### GetContactsOk
+
+`func (o *BulkWritableTeamRequest) GetContactsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetContactsOk returns a tuple with the Contacts field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetContacts
+
+`func (o *BulkWritableTeamRequest) SetContacts(v []BulkWritableCableRequestStatus)`
+
+SetContacts sets Contacts field to given value.
+
+### HasContacts
+
+`func (o *BulkWritableTeamRequest) HasContacts() bool`
+
+HasContacts returns a boolean if a field has been set.
+
### GetCustomFields
`func (o *BulkWritableTeamRequest) GetCustomFields() map[string]interface{}`
@@ -248,6 +249,31 @@ SetRelationships sets Relationships field to given value.
HasRelationships returns a boolean if a field has been set.
+### GetTags
+
+`func (o *BulkWritableTeamRequest) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *BulkWritableTeamRequest) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *BulkWritableTeamRequest) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *BulkWritableTeamRequest) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/BulkWritableVLANGroupRequest.md b/docs/BulkWritableVLANGroupRequest.md
index d6ecafae..32d12b18 100644
--- a/docs/BulkWritableVLANGroupRequest.md
+++ b/docs/BulkWritableVLANGroupRequest.md
@@ -7,7 +7,9 @@ Name | Type | Description | Notes
**Id** | **string** | |
**Name** | **string** | |
**Description** | Pointer to **string** | | [optional]
+**Range** | Pointer to **string** | Permitted VID range(s) as comma-separated list, default '1-4094' if left blank. | [optional]
**Location** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
@@ -95,6 +97,31 @@ SetDescription sets Description field to given value.
HasDescription returns a boolean if a field has been set.
+### GetRange
+
+`func (o *BulkWritableVLANGroupRequest) GetRange() string`
+
+GetRange returns the Range field if non-nil, zero value otherwise.
+
+### GetRangeOk
+
+`func (o *BulkWritableVLANGroupRequest) GetRangeOk() (*string, bool)`
+
+GetRangeOk returns a tuple with the Range field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetRange
+
+`func (o *BulkWritableVLANGroupRequest) SetRange(v string)`
+
+SetRange sets Range field to given value.
+
+### HasRange
+
+`func (o *BulkWritableVLANGroupRequest) HasRange() bool`
+
+HasRange returns a boolean if a field has been set.
+
### GetLocation
`func (o *BulkWritableVLANGroupRequest) GetLocation() BulkWritableCircuitRequestTenant`
@@ -130,6 +157,31 @@ HasLocation returns a boolean if a field has been set.
`func (o *BulkWritableVLANGroupRequest) UnsetLocation()`
UnsetLocation ensures that no value is present for Location, not even an explicit nil
+### GetTags
+
+`func (o *BulkWritableVLANGroupRequest) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *BulkWritableVLANGroupRequest) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *BulkWritableVLANGroupRequest) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *BulkWritableVLANGroupRequest) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
### GetCustomFields
`func (o *BulkWritableVLANGroupRequest) GetCustomFields() map[string]interface{}`
diff --git a/docs/BulkWritableVMInterfaceRequest.md b/docs/BulkWritableVMInterfaceRequest.md
index 19282b32..08873076 100644
--- a/docs/BulkWritableVMInterfaceRequest.md
+++ b/docs/BulkWritableVMInterfaceRequest.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **string** | |
-**Mode** | Pointer to [**ModeEnum**](ModeEnum.md) | | [optional]
+**Mode** | Pointer to [**InterfaceModeChoices**](InterfaceModeChoices.md) | | [optional]
**MacAddress** | Pointer to **NullableString** | | [optional]
**Enabled** | Pointer to **bool** | | [optional]
**Mtu** | Pointer to **NullableInt32** | | [optional]
@@ -64,20 +64,20 @@ SetId sets Id field to given value.
### GetMode
-`func (o *BulkWritableVMInterfaceRequest) GetMode() ModeEnum`
+`func (o *BulkWritableVMInterfaceRequest) GetMode() InterfaceModeChoices`
GetMode returns the Mode field if non-nil, zero value otherwise.
### GetModeOk
-`func (o *BulkWritableVMInterfaceRequest) GetModeOk() (*ModeEnum, bool)`
+`func (o *BulkWritableVMInterfaceRequest) GetModeOk() (*InterfaceModeChoices, bool)`
GetModeOk returns a tuple with the Mode field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetMode
-`func (o *BulkWritableVMInterfaceRequest) SetMode(v ModeEnum)`
+`func (o *BulkWritableVMInterfaceRequest) SetMode(v InterfaceModeChoices)`
SetMode sets Mode field to given value.
diff --git a/docs/BulkWritableVRFDeviceAssignmentRequest.md b/docs/BulkWritableVRFDeviceAssignmentRequest.md
index c1c0ce8d..607b8828 100644
--- a/docs/BulkWritableVRFDeviceAssignmentRequest.md
+++ b/docs/BulkWritableVRFDeviceAssignmentRequest.md
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
**Vrf** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
**Device** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**VirtualMachine** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
+**VirtualDeviceContext** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
## Methods
@@ -200,6 +201,41 @@ HasVirtualMachine returns a boolean if a field has been set.
`func (o *BulkWritableVRFDeviceAssignmentRequest) UnsetVirtualMachine()`
UnsetVirtualMachine ensures that no value is present for VirtualMachine, not even an explicit nil
+### GetVirtualDeviceContext
+
+`func (o *BulkWritableVRFDeviceAssignmentRequest) GetVirtualDeviceContext() BulkWritableCircuitRequestTenant`
+
+GetVirtualDeviceContext returns the VirtualDeviceContext field if non-nil, zero value otherwise.
+
+### GetVirtualDeviceContextOk
+
+`func (o *BulkWritableVRFDeviceAssignmentRequest) GetVirtualDeviceContextOk() (*BulkWritableCircuitRequestTenant, bool)`
+
+GetVirtualDeviceContextOk returns a tuple with the VirtualDeviceContext field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetVirtualDeviceContext
+
+`func (o *BulkWritableVRFDeviceAssignmentRequest) SetVirtualDeviceContext(v BulkWritableCircuitRequestTenant)`
+
+SetVirtualDeviceContext sets VirtualDeviceContext field to given value.
+
+### HasVirtualDeviceContext
+
+`func (o *BulkWritableVRFDeviceAssignmentRequest) HasVirtualDeviceContext() bool`
+
+HasVirtualDeviceContext returns a boolean if a field has been set.
+
+### SetVirtualDeviceContextNil
+
+`func (o *BulkWritableVRFDeviceAssignmentRequest) SetVirtualDeviceContextNil(b bool)`
+
+ SetVirtualDeviceContextNil sets the value for VirtualDeviceContext to be an explicit nil
+
+### UnsetVirtualDeviceContext
+`func (o *BulkWritableVRFDeviceAssignmentRequest) UnsetVirtualDeviceContext()`
+
+UnsetVirtualDeviceContext ensures that no value is present for VirtualDeviceContext, not even an explicit nil
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/BulkWritableVRFRequest.md b/docs/BulkWritableVRFRequest.md
index 18814dde..18224d4b 100644
--- a/docs/BulkWritableVRFRequest.md
+++ b/docs/BulkWritableVRFRequest.md
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **string** | |
**Name** | **string** | |
-**Rd** | **NullableString** | Unique route distinguisher (as defined in RFC 4364) |
+**Rd** | Pointer to **NullableString** | Unique route distinguisher (as defined in RFC 4364) | [optional]
**Description** | Pointer to **string** | | [optional]
**Status** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**Namespace** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
@@ -21,7 +21,7 @@ Name | Type | Description | Notes
### NewBulkWritableVRFRequest
-`func NewBulkWritableVRFRequest(id string, name string, rd NullableString, ) *BulkWritableVRFRequest`
+`func NewBulkWritableVRFRequest(id string, name string, ) *BulkWritableVRFRequest`
NewBulkWritableVRFRequest instantiates a new BulkWritableVRFRequest object
This constructor will assign default values to properties that have it defined,
@@ -95,6 +95,11 @@ and a boolean to check if the value has been set.
SetRd sets Rd field to given value.
+### HasRd
+
+`func (o *BulkWritableVRFRequest) HasRd() bool`
+
+HasRd returns a boolean if a field has been set.
### SetRdNil
diff --git a/docs/BulkWritableVirtualDeviceContextRequest.md b/docs/BulkWritableVirtualDeviceContextRequest.md
new file mode 100644
index 00000000..f6704288
--- /dev/null
+++ b/docs/BulkWritableVirtualDeviceContextRequest.md
@@ -0,0 +1,398 @@
+# BulkWritableVirtualDeviceContextRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | |
+**Name** | **string** | |
+**Identifier** | Pointer to **NullableInt32** | Unique identifier provided by the platform being virtualized (Example: Nexus VDC Identifier) | [optional]
+**Description** | Pointer to **string** | | [optional]
+**Device** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+**Status** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+**Role** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
+**PrimaryIp4** | Pointer to [**NullablePrimaryIPv4**](PrimaryIPv4.md) | | [optional]
+**PrimaryIp6** | Pointer to [**NullablePrimaryIPv6**](PrimaryIPv6.md) | | [optional]
+**Tenant** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
+**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
+**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
+
+## Methods
+
+### NewBulkWritableVirtualDeviceContextRequest
+
+`func NewBulkWritableVirtualDeviceContextRequest(id string, name string, device BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus, ) *BulkWritableVirtualDeviceContextRequest`
+
+NewBulkWritableVirtualDeviceContextRequest instantiates a new BulkWritableVirtualDeviceContextRequest object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewBulkWritableVirtualDeviceContextRequestWithDefaults
+
+`func NewBulkWritableVirtualDeviceContextRequestWithDefaults() *BulkWritableVirtualDeviceContextRequest`
+
+NewBulkWritableVirtualDeviceContextRequestWithDefaults instantiates a new BulkWritableVirtualDeviceContextRequest object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *BulkWritableVirtualDeviceContextRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *BulkWritableVirtualDeviceContextRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *BulkWritableVirtualDeviceContextRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+
+### GetName
+
+`func (o *BulkWritableVirtualDeviceContextRequest) GetName() string`
+
+GetName returns the Name field if non-nil, zero value otherwise.
+
+### GetNameOk
+
+`func (o *BulkWritableVirtualDeviceContextRequest) GetNameOk() (*string, bool)`
+
+GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetName
+
+`func (o *BulkWritableVirtualDeviceContextRequest) SetName(v string)`
+
+SetName sets Name field to given value.
+
+
+### GetIdentifier
+
+`func (o *BulkWritableVirtualDeviceContextRequest) GetIdentifier() int32`
+
+GetIdentifier returns the Identifier field if non-nil, zero value otherwise.
+
+### GetIdentifierOk
+
+`func (o *BulkWritableVirtualDeviceContextRequest) GetIdentifierOk() (*int32, bool)`
+
+GetIdentifierOk returns a tuple with the Identifier field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetIdentifier
+
+`func (o *BulkWritableVirtualDeviceContextRequest) SetIdentifier(v int32)`
+
+SetIdentifier sets Identifier field to given value.
+
+### HasIdentifier
+
+`func (o *BulkWritableVirtualDeviceContextRequest) HasIdentifier() bool`
+
+HasIdentifier returns a boolean if a field has been set.
+
+### SetIdentifierNil
+
+`func (o *BulkWritableVirtualDeviceContextRequest) SetIdentifierNil(b bool)`
+
+ SetIdentifierNil sets the value for Identifier to be an explicit nil
+
+### UnsetIdentifier
+`func (o *BulkWritableVirtualDeviceContextRequest) UnsetIdentifier()`
+
+UnsetIdentifier ensures that no value is present for Identifier, not even an explicit nil
+### GetDescription
+
+`func (o *BulkWritableVirtualDeviceContextRequest) GetDescription() string`
+
+GetDescription returns the Description field if non-nil, zero value otherwise.
+
+### GetDescriptionOk
+
+`func (o *BulkWritableVirtualDeviceContextRequest) GetDescriptionOk() (*string, bool)`
+
+GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDescription
+
+`func (o *BulkWritableVirtualDeviceContextRequest) SetDescription(v string)`
+
+SetDescription sets Description field to given value.
+
+### HasDescription
+
+`func (o *BulkWritableVirtualDeviceContextRequest) HasDescription() bool`
+
+HasDescription returns a boolean if a field has been set.
+
+### GetDevice
+
+`func (o *BulkWritableVirtualDeviceContextRequest) GetDevice() BulkWritableCableRequestStatus`
+
+GetDevice returns the Device field if non-nil, zero value otherwise.
+
+### GetDeviceOk
+
+`func (o *BulkWritableVirtualDeviceContextRequest) GetDeviceOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetDeviceOk returns a tuple with the Device field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDevice
+
+`func (o *BulkWritableVirtualDeviceContextRequest) SetDevice(v BulkWritableCableRequestStatus)`
+
+SetDevice sets Device field to given value.
+
+
+### GetStatus
+
+`func (o *BulkWritableVirtualDeviceContextRequest) GetStatus() BulkWritableCableRequestStatus`
+
+GetStatus returns the Status field if non-nil, zero value otherwise.
+
+### GetStatusOk
+
+`func (o *BulkWritableVirtualDeviceContextRequest) GetStatusOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetStatus
+
+`func (o *BulkWritableVirtualDeviceContextRequest) SetStatus(v BulkWritableCableRequestStatus)`
+
+SetStatus sets Status field to given value.
+
+
+### GetRole
+
+`func (o *BulkWritableVirtualDeviceContextRequest) GetRole() BulkWritableCircuitRequestTenant`
+
+GetRole returns the Role field if non-nil, zero value otherwise.
+
+### GetRoleOk
+
+`func (o *BulkWritableVirtualDeviceContextRequest) GetRoleOk() (*BulkWritableCircuitRequestTenant, bool)`
+
+GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetRole
+
+`func (o *BulkWritableVirtualDeviceContextRequest) SetRole(v BulkWritableCircuitRequestTenant)`
+
+SetRole sets Role field to given value.
+
+### HasRole
+
+`func (o *BulkWritableVirtualDeviceContextRequest) HasRole() bool`
+
+HasRole returns a boolean if a field has been set.
+
+### SetRoleNil
+
+`func (o *BulkWritableVirtualDeviceContextRequest) SetRoleNil(b bool)`
+
+ SetRoleNil sets the value for Role to be an explicit nil
+
+### UnsetRole
+`func (o *BulkWritableVirtualDeviceContextRequest) UnsetRole()`
+
+UnsetRole ensures that no value is present for Role, not even an explicit nil
+### GetPrimaryIp4
+
+`func (o *BulkWritableVirtualDeviceContextRequest) GetPrimaryIp4() PrimaryIPv4`
+
+GetPrimaryIp4 returns the PrimaryIp4 field if non-nil, zero value otherwise.
+
+### GetPrimaryIp4Ok
+
+`func (o *BulkWritableVirtualDeviceContextRequest) GetPrimaryIp4Ok() (*PrimaryIPv4, bool)`
+
+GetPrimaryIp4Ok returns a tuple with the PrimaryIp4 field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetPrimaryIp4
+
+`func (o *BulkWritableVirtualDeviceContextRequest) SetPrimaryIp4(v PrimaryIPv4)`
+
+SetPrimaryIp4 sets PrimaryIp4 field to given value.
+
+### HasPrimaryIp4
+
+`func (o *BulkWritableVirtualDeviceContextRequest) HasPrimaryIp4() bool`
+
+HasPrimaryIp4 returns a boolean if a field has been set.
+
+### SetPrimaryIp4Nil
+
+`func (o *BulkWritableVirtualDeviceContextRequest) SetPrimaryIp4Nil(b bool)`
+
+ SetPrimaryIp4Nil sets the value for PrimaryIp4 to be an explicit nil
+
+### UnsetPrimaryIp4
+`func (o *BulkWritableVirtualDeviceContextRequest) UnsetPrimaryIp4()`
+
+UnsetPrimaryIp4 ensures that no value is present for PrimaryIp4, not even an explicit nil
+### GetPrimaryIp6
+
+`func (o *BulkWritableVirtualDeviceContextRequest) GetPrimaryIp6() PrimaryIPv6`
+
+GetPrimaryIp6 returns the PrimaryIp6 field if non-nil, zero value otherwise.
+
+### GetPrimaryIp6Ok
+
+`func (o *BulkWritableVirtualDeviceContextRequest) GetPrimaryIp6Ok() (*PrimaryIPv6, bool)`
+
+GetPrimaryIp6Ok returns a tuple with the PrimaryIp6 field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetPrimaryIp6
+
+`func (o *BulkWritableVirtualDeviceContextRequest) SetPrimaryIp6(v PrimaryIPv6)`
+
+SetPrimaryIp6 sets PrimaryIp6 field to given value.
+
+### HasPrimaryIp6
+
+`func (o *BulkWritableVirtualDeviceContextRequest) HasPrimaryIp6() bool`
+
+HasPrimaryIp6 returns a boolean if a field has been set.
+
+### SetPrimaryIp6Nil
+
+`func (o *BulkWritableVirtualDeviceContextRequest) SetPrimaryIp6Nil(b bool)`
+
+ SetPrimaryIp6Nil sets the value for PrimaryIp6 to be an explicit nil
+
+### UnsetPrimaryIp6
+`func (o *BulkWritableVirtualDeviceContextRequest) UnsetPrimaryIp6()`
+
+UnsetPrimaryIp6 ensures that no value is present for PrimaryIp6, not even an explicit nil
+### GetTenant
+
+`func (o *BulkWritableVirtualDeviceContextRequest) GetTenant() BulkWritableCircuitRequestTenant`
+
+GetTenant returns the Tenant field if non-nil, zero value otherwise.
+
+### GetTenantOk
+
+`func (o *BulkWritableVirtualDeviceContextRequest) GetTenantOk() (*BulkWritableCircuitRequestTenant, bool)`
+
+GetTenantOk returns a tuple with the Tenant field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTenant
+
+`func (o *BulkWritableVirtualDeviceContextRequest) SetTenant(v BulkWritableCircuitRequestTenant)`
+
+SetTenant sets Tenant field to given value.
+
+### HasTenant
+
+`func (o *BulkWritableVirtualDeviceContextRequest) HasTenant() bool`
+
+HasTenant returns a boolean if a field has been set.
+
+### SetTenantNil
+
+`func (o *BulkWritableVirtualDeviceContextRequest) SetTenantNil(b bool)`
+
+ SetTenantNil sets the value for Tenant to be an explicit nil
+
+### UnsetTenant
+`func (o *BulkWritableVirtualDeviceContextRequest) UnsetTenant()`
+
+UnsetTenant ensures that no value is present for Tenant, not even an explicit nil
+### GetCustomFields
+
+`func (o *BulkWritableVirtualDeviceContextRequest) GetCustomFields() map[string]interface{}`
+
+GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
+
+### GetCustomFieldsOk
+
+`func (o *BulkWritableVirtualDeviceContextRequest) GetCustomFieldsOk() (*map[string]interface{}, bool)`
+
+GetCustomFieldsOk returns a tuple with the CustomFields field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCustomFields
+
+`func (o *BulkWritableVirtualDeviceContextRequest) SetCustomFields(v map[string]interface{})`
+
+SetCustomFields sets CustomFields field to given value.
+
+### HasCustomFields
+
+`func (o *BulkWritableVirtualDeviceContextRequest) HasCustomFields() bool`
+
+HasCustomFields returns a boolean if a field has been set.
+
+### GetRelationships
+
+`func (o *BulkWritableVirtualDeviceContextRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue`
+
+GetRelationships returns the Relationships field if non-nil, zero value otherwise.
+
+### GetRelationshipsOk
+
+`func (o *BulkWritableVirtualDeviceContextRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool)`
+
+GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetRelationships
+
+`func (o *BulkWritableVirtualDeviceContextRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue)`
+
+SetRelationships sets Relationships field to given value.
+
+### HasRelationships
+
+`func (o *BulkWritableVirtualDeviceContextRequest) HasRelationships() bool`
+
+HasRelationships returns a boolean if a field has been set.
+
+### GetTags
+
+`func (o *BulkWritableVirtualDeviceContextRequest) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *BulkWritableVirtualDeviceContextRequest) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *BulkWritableVirtualDeviceContextRequest) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *BulkWritableVirtualDeviceContextRequest) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/BulkWritableWirelessNetworkRequest.md b/docs/BulkWritableWirelessNetworkRequest.md
new file mode 100644
index 00000000..64683cd5
--- /dev/null
+++ b/docs/BulkWritableWirelessNetworkRequest.md
@@ -0,0 +1,363 @@
+# BulkWritableWirelessNetworkRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | |
+**Name** | **string** | |
+**Description** | Pointer to **string** | | [optional]
+**Ssid** | **string** | |
+**Mode** | [**WirelessNetworkModeChoices**](WirelessNetworkModeChoices.md) | |
+**Enabled** | Pointer to **bool** | | [optional]
+**Authentication** | [**AuthenticationEnum**](AuthenticationEnum.md) | |
+**Hidden** | Pointer to **bool** | | [optional]
+**SecretsGroup** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
+**Tenant** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
+**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
+**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
+
+## Methods
+
+### NewBulkWritableWirelessNetworkRequest
+
+`func NewBulkWritableWirelessNetworkRequest(id string, name string, ssid string, mode WirelessNetworkModeChoices, authentication AuthenticationEnum, ) *BulkWritableWirelessNetworkRequest`
+
+NewBulkWritableWirelessNetworkRequest instantiates a new BulkWritableWirelessNetworkRequest object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewBulkWritableWirelessNetworkRequestWithDefaults
+
+`func NewBulkWritableWirelessNetworkRequestWithDefaults() *BulkWritableWirelessNetworkRequest`
+
+NewBulkWritableWirelessNetworkRequestWithDefaults instantiates a new BulkWritableWirelessNetworkRequest object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *BulkWritableWirelessNetworkRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *BulkWritableWirelessNetworkRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *BulkWritableWirelessNetworkRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+
+### GetName
+
+`func (o *BulkWritableWirelessNetworkRequest) GetName() string`
+
+GetName returns the Name field if non-nil, zero value otherwise.
+
+### GetNameOk
+
+`func (o *BulkWritableWirelessNetworkRequest) GetNameOk() (*string, bool)`
+
+GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetName
+
+`func (o *BulkWritableWirelessNetworkRequest) SetName(v string)`
+
+SetName sets Name field to given value.
+
+
+### GetDescription
+
+`func (o *BulkWritableWirelessNetworkRequest) GetDescription() string`
+
+GetDescription returns the Description field if non-nil, zero value otherwise.
+
+### GetDescriptionOk
+
+`func (o *BulkWritableWirelessNetworkRequest) GetDescriptionOk() (*string, bool)`
+
+GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDescription
+
+`func (o *BulkWritableWirelessNetworkRequest) SetDescription(v string)`
+
+SetDescription sets Description field to given value.
+
+### HasDescription
+
+`func (o *BulkWritableWirelessNetworkRequest) HasDescription() bool`
+
+HasDescription returns a boolean if a field has been set.
+
+### GetSsid
+
+`func (o *BulkWritableWirelessNetworkRequest) GetSsid() string`
+
+GetSsid returns the Ssid field if non-nil, zero value otherwise.
+
+### GetSsidOk
+
+`func (o *BulkWritableWirelessNetworkRequest) GetSsidOk() (*string, bool)`
+
+GetSsidOk returns a tuple with the Ssid field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetSsid
+
+`func (o *BulkWritableWirelessNetworkRequest) SetSsid(v string)`
+
+SetSsid sets Ssid field to given value.
+
+
+### GetMode
+
+`func (o *BulkWritableWirelessNetworkRequest) GetMode() WirelessNetworkModeChoices`
+
+GetMode returns the Mode field if non-nil, zero value otherwise.
+
+### GetModeOk
+
+`func (o *BulkWritableWirelessNetworkRequest) GetModeOk() (*WirelessNetworkModeChoices, bool)`
+
+GetModeOk returns a tuple with the Mode field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetMode
+
+`func (o *BulkWritableWirelessNetworkRequest) SetMode(v WirelessNetworkModeChoices)`
+
+SetMode sets Mode field to given value.
+
+
+### GetEnabled
+
+`func (o *BulkWritableWirelessNetworkRequest) GetEnabled() bool`
+
+GetEnabled returns the Enabled field if non-nil, zero value otherwise.
+
+### GetEnabledOk
+
+`func (o *BulkWritableWirelessNetworkRequest) GetEnabledOk() (*bool, bool)`
+
+GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetEnabled
+
+`func (o *BulkWritableWirelessNetworkRequest) SetEnabled(v bool)`
+
+SetEnabled sets Enabled field to given value.
+
+### HasEnabled
+
+`func (o *BulkWritableWirelessNetworkRequest) HasEnabled() bool`
+
+HasEnabled returns a boolean if a field has been set.
+
+### GetAuthentication
+
+`func (o *BulkWritableWirelessNetworkRequest) GetAuthentication() AuthenticationEnum`
+
+GetAuthentication returns the Authentication field if non-nil, zero value otherwise.
+
+### GetAuthenticationOk
+
+`func (o *BulkWritableWirelessNetworkRequest) GetAuthenticationOk() (*AuthenticationEnum, bool)`
+
+GetAuthenticationOk returns a tuple with the Authentication field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetAuthentication
+
+`func (o *BulkWritableWirelessNetworkRequest) SetAuthentication(v AuthenticationEnum)`
+
+SetAuthentication sets Authentication field to given value.
+
+
+### GetHidden
+
+`func (o *BulkWritableWirelessNetworkRequest) GetHidden() bool`
+
+GetHidden returns the Hidden field if non-nil, zero value otherwise.
+
+### GetHiddenOk
+
+`func (o *BulkWritableWirelessNetworkRequest) GetHiddenOk() (*bool, bool)`
+
+GetHiddenOk returns a tuple with the Hidden field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetHidden
+
+`func (o *BulkWritableWirelessNetworkRequest) SetHidden(v bool)`
+
+SetHidden sets Hidden field to given value.
+
+### HasHidden
+
+`func (o *BulkWritableWirelessNetworkRequest) HasHidden() bool`
+
+HasHidden returns a boolean if a field has been set.
+
+### GetSecretsGroup
+
+`func (o *BulkWritableWirelessNetworkRequest) GetSecretsGroup() BulkWritableCircuitRequestTenant`
+
+GetSecretsGroup returns the SecretsGroup field if non-nil, zero value otherwise.
+
+### GetSecretsGroupOk
+
+`func (o *BulkWritableWirelessNetworkRequest) GetSecretsGroupOk() (*BulkWritableCircuitRequestTenant, bool)`
+
+GetSecretsGroupOk returns a tuple with the SecretsGroup field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetSecretsGroup
+
+`func (o *BulkWritableWirelessNetworkRequest) SetSecretsGroup(v BulkWritableCircuitRequestTenant)`
+
+SetSecretsGroup sets SecretsGroup field to given value.
+
+### HasSecretsGroup
+
+`func (o *BulkWritableWirelessNetworkRequest) HasSecretsGroup() bool`
+
+HasSecretsGroup returns a boolean if a field has been set.
+
+### SetSecretsGroupNil
+
+`func (o *BulkWritableWirelessNetworkRequest) SetSecretsGroupNil(b bool)`
+
+ SetSecretsGroupNil sets the value for SecretsGroup to be an explicit nil
+
+### UnsetSecretsGroup
+`func (o *BulkWritableWirelessNetworkRequest) UnsetSecretsGroup()`
+
+UnsetSecretsGroup ensures that no value is present for SecretsGroup, not even an explicit nil
+### GetTenant
+
+`func (o *BulkWritableWirelessNetworkRequest) GetTenant() BulkWritableCircuitRequestTenant`
+
+GetTenant returns the Tenant field if non-nil, zero value otherwise.
+
+### GetTenantOk
+
+`func (o *BulkWritableWirelessNetworkRequest) GetTenantOk() (*BulkWritableCircuitRequestTenant, bool)`
+
+GetTenantOk returns a tuple with the Tenant field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTenant
+
+`func (o *BulkWritableWirelessNetworkRequest) SetTenant(v BulkWritableCircuitRequestTenant)`
+
+SetTenant sets Tenant field to given value.
+
+### HasTenant
+
+`func (o *BulkWritableWirelessNetworkRequest) HasTenant() bool`
+
+HasTenant returns a boolean if a field has been set.
+
+### SetTenantNil
+
+`func (o *BulkWritableWirelessNetworkRequest) SetTenantNil(b bool)`
+
+ SetTenantNil sets the value for Tenant to be an explicit nil
+
+### UnsetTenant
+`func (o *BulkWritableWirelessNetworkRequest) UnsetTenant()`
+
+UnsetTenant ensures that no value is present for Tenant, not even an explicit nil
+### GetCustomFields
+
+`func (o *BulkWritableWirelessNetworkRequest) GetCustomFields() map[string]interface{}`
+
+GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
+
+### GetCustomFieldsOk
+
+`func (o *BulkWritableWirelessNetworkRequest) GetCustomFieldsOk() (*map[string]interface{}, bool)`
+
+GetCustomFieldsOk returns a tuple with the CustomFields field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCustomFields
+
+`func (o *BulkWritableWirelessNetworkRequest) SetCustomFields(v map[string]interface{})`
+
+SetCustomFields sets CustomFields field to given value.
+
+### HasCustomFields
+
+`func (o *BulkWritableWirelessNetworkRequest) HasCustomFields() bool`
+
+HasCustomFields returns a boolean if a field has been set.
+
+### GetRelationships
+
+`func (o *BulkWritableWirelessNetworkRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue`
+
+GetRelationships returns the Relationships field if non-nil, zero value otherwise.
+
+### GetRelationshipsOk
+
+`func (o *BulkWritableWirelessNetworkRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool)`
+
+GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetRelationships
+
+`func (o *BulkWritableWirelessNetworkRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue)`
+
+SetRelationships sets Relationships field to given value.
+
+### HasRelationships
+
+`func (o *BulkWritableWirelessNetworkRequest) HasRelationships() bool`
+
+HasRelationships returns a boolean if a field has been set.
+
+### GetTags
+
+`func (o *BulkWritableWirelessNetworkRequest) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *BulkWritableWirelessNetworkRequest) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *BulkWritableWirelessNetworkRequest) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *BulkWritableWirelessNetworkRequest) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/Cable.md b/docs/Cable.md
index b5a155d9..848c3622 100644
--- a/docs/Cable.md
+++ b/docs/Cable.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -31,7 +31,7 @@ Name | Type | Description | Notes
### NewCable
-`func NewCable(id string, objectType string, display string, url string, naturalSlug string, terminationAType string, terminationBType string, terminationA CableTermination, terminationB CableTermination, terminationAId string, terminationBId string, status BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Cable`
+`func NewCable(objectType string, display string, url string, naturalSlug string, terminationAType string, terminationBType string, terminationA CableTermination, terminationB CableTermination, terminationAId string, terminationBId string, status BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Cable`
NewCable instantiates a new Cable object
This constructor will assign default values to properties that have it defined,
@@ -65,6 +65,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *Cable) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/CableTermination.md b/docs/CableTermination.md
index c2ea7099..e8b8a9db 100644
--- a/docs/CableTermination.md
+++ b/docs/CableTermination.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewCableTermination
-`func NewCableTermination(id string, objectType string, url string, ) *CableTermination`
+`func NewCableTermination(objectType string, url string, ) *CableTermination`
NewCableTermination instantiates a new CableTermination object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *CableTermination) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/CapabilitiesEnum.md b/docs/CapabilitiesEnum.md
new file mode 100644
index 00000000..8627284f
--- /dev/null
+++ b/docs/CapabilitiesEnum.md
@@ -0,0 +1,11 @@
+# CapabilitiesEnum
+
+## Enum
+
+
+* `WIRELESS` (value: `"wireless"`)
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/ChannelWidthEnum.md b/docs/ChannelWidthEnum.md
new file mode 100644
index 00000000..e2442d56
--- /dev/null
+++ b/docs/ChannelWidthEnum.md
@@ -0,0 +1,17 @@
+# ChannelWidthEnum
+
+## Enum
+
+
+* `_20` (value: `20`)
+
+* `_40` (value: `40`)
+
+* `_80` (value: `80`)
+
+* `_160` (value: `160`)
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/Circuit.md b/docs/Circuit.md
index 18a85ded..447fca0d 100644
--- a/docs/Circuit.md
+++ b/docs/Circuit.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -30,7 +30,7 @@ Name | Type | Description | Notes
### NewCircuit
-`func NewCircuit(id string, objectType string, display string, url string, naturalSlug string, cid string, status BulkWritableCableRequestStatus, provider BulkWritableCableRequestStatus, circuitType BulkWritableCableRequestStatus, circuitTerminationA NullableCircuitCircuitTerminationA, circuitTerminationZ NullableCircuitCircuitTerminationA, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Circuit`
+`func NewCircuit(objectType string, display string, url string, naturalSlug string, cid string, status BulkWritableCableRequestStatus, provider BulkWritableCableRequestStatus, circuitType BulkWritableCableRequestStatus, circuitTerminationA NullableCircuitCircuitTerminationA, circuitTerminationZ NullableCircuitCircuitTerminationA, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Circuit`
NewCircuit instantiates a new Circuit object
This constructor will assign default values to properties that have it defined,
@@ -64,6 +64,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *Circuit) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/CircuitRequest.md b/docs/CircuitRequest.md
index 16b56721..08bb00fd 100644
--- a/docs/CircuitRequest.md
+++ b/docs/CircuitRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**Cid** | **string** | |
**InstallDate** | Pointer to **NullableString** | | [optional]
**CommitRate** | Pointer to **NullableInt32** | | [optional]
@@ -36,6 +37,31 @@ NewCircuitRequestWithDefaults instantiates a new CircuitRequest object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *CircuitRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *CircuitRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *CircuitRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *CircuitRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetCid
`func (o *CircuitRequest) GetCid() string`
diff --git a/docs/CircuitTermination.md b/docs/CircuitTermination.md
index 57890017..2ca9518b 100644
--- a/docs/CircuitTermination.md
+++ b/docs/CircuitTermination.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -27,6 +27,7 @@ Name | Type | Description | Notes
**CloudNetwork** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**Created** | **NullableTime** | | [readonly]
**LastUpdated** | **NullableTime** | | [readonly]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
**NotesUrl** | **string** | | [readonly]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
@@ -34,7 +35,7 @@ Name | Type | Description | Notes
### NewCircuitTermination
-`func NewCircuitTermination(id string, objectType string, display string, url string, naturalSlug string, cablePeerType NullableString, cablePeer NullableCableTermination, connectedEndpointType NullableString, connectedEndpoint NullablePathEndpoint, connectedEndpointReachable NullableBool, termSide TermSideEnum, cable NullableCircuitCircuitTerminationA, circuit BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *CircuitTermination`
+`func NewCircuitTermination(objectType string, display string, url string, naturalSlug string, cablePeerType NullableString, cablePeer NullableCableTermination, connectedEndpointType NullableString, connectedEndpoint NullablePathEndpoint, connectedEndpointReachable NullableBool, termSide TermSideEnum, cable NullableCircuitCircuitTerminationA, circuit BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *CircuitTermination`
NewCircuitTermination instantiates a new CircuitTermination object
This constructor will assign default values to properties that have it defined,
@@ -68,6 +69,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *CircuitTermination) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
@@ -679,6 +685,31 @@ SetLastUpdated sets LastUpdated field to given value.
`func (o *CircuitTermination) UnsetLastUpdated()`
UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil
+### GetTags
+
+`func (o *CircuitTermination) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *CircuitTermination) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *CircuitTermination) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *CircuitTermination) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
### GetNotesUrl
`func (o *CircuitTermination) GetNotesUrl() string`
diff --git a/docs/CircuitTerminationRequest.md b/docs/CircuitTerminationRequest.md
index a47ca1ad..aa3d453a 100644
--- a/docs/CircuitTerminationRequest.md
+++ b/docs/CircuitTerminationRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**TermSide** | [**TermSideEnum**](TermSideEnum.md) | |
**PortSpeed** | Pointer to **NullableInt32** | | [optional]
**UpstreamSpeed** | Pointer to **NullableInt32** | Upstream speed, if different from port speed | [optional]
@@ -14,6 +15,7 @@ Name | Type | Description | Notes
**Location** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**ProviderNetwork** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**CloudNetwork** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
@@ -36,6 +38,31 @@ NewCircuitTerminationRequestWithDefaults instantiates a new CircuitTerminationRe
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *CircuitTerminationRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *CircuitTerminationRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *CircuitTerminationRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *CircuitTerminationRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetTermSide
`func (o *CircuitTerminationRequest) GetTermSide() TermSideEnum`
@@ -326,6 +353,31 @@ HasCloudNetwork returns a boolean if a field has been set.
`func (o *CircuitTerminationRequest) UnsetCloudNetwork()`
UnsetCloudNetwork ensures that no value is present for CloudNetwork, not even an explicit nil
+### GetTags
+
+`func (o *CircuitTerminationRequest) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *CircuitTerminationRequest) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *CircuitTerminationRequest) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *CircuitTerminationRequest) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
### GetCustomFields
`func (o *CircuitTerminationRequest) GetCustomFields() map[string]interface{}`
diff --git a/docs/CircuitType.md b/docs/CircuitType.md
index 1a44805d..10a057b2 100644
--- a/docs/CircuitType.md
+++ b/docs/CircuitType.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -21,7 +21,7 @@ Name | Type | Description | Notes
### NewCircuitType
-`func NewCircuitType(id string, objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *CircuitType`
+`func NewCircuitType(objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *CircuitType`
NewCircuitType instantiates a new CircuitType object
This constructor will assign default values to properties that have it defined,
@@ -55,6 +55,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *CircuitType) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/CircuitTypeRequest.md b/docs/CircuitTypeRequest.md
index c05b2783..8c59fc2c 100644
--- a/docs/CircuitTypeRequest.md
+++ b/docs/CircuitTypeRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**Name** | **string** | |
**Description** | Pointer to **string** | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
@@ -28,6 +29,31 @@ NewCircuitTypeRequestWithDefaults instantiates a new CircuitTypeRequest object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *CircuitTypeRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *CircuitTypeRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *CircuitTypeRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *CircuitTypeRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetName
`func (o *CircuitTypeRequest) GetName() string`
diff --git a/docs/CircuitsAPI.md b/docs/CircuitsAPI.md
index 12ae2b97..bee46cf7 100644
--- a/docs/CircuitsAPI.md
+++ b/docs/CircuitsAPI.md
@@ -405,7 +405,7 @@ Name | Type | Description | Notes
## CircuitsCircuitTerminationsList
-> PaginatedCircuitTerminationList CircuitsCircuitTerminationsList(ctx).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Circuit(circuit).CircuitN(circuitN).CloudNetwork(cloudNetwork).CloudNetworkIsnull(cloudNetworkIsnull).CloudNetworkN(cloudNetworkN).Connected(connected).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCable(hasCable).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Location(location).LocationIsnull(locationIsnull).LocationN(locationN).Offset(offset).PortSpeed(portSpeed).PortSpeedGt(portSpeedGt).PortSpeedGte(portSpeedGte).PortSpeedIsnull(portSpeedIsnull).PortSpeedLt(portSpeedLt).PortSpeedLte(portSpeedLte).PortSpeedN(portSpeedN).PpInfo(ppInfo).PpInfoIc(ppInfoIc).PpInfoIe(ppInfoIe).PpInfoIew(ppInfoIew).PpInfoIre(ppInfoIre).PpInfoIsw(ppInfoIsw).PpInfoN(ppInfoN).PpInfoNic(ppInfoNic).PpInfoNie(ppInfoNie).PpInfoNiew(ppInfoNiew).PpInfoNire(ppInfoNire).PpInfoNisw(ppInfoNisw).PpInfoNre(ppInfoNre).PpInfoRe(ppInfoRe).ProviderNetwork(providerNetwork).ProviderNetworkIsnull(providerNetworkIsnull).ProviderNetworkN(providerNetworkN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).TermSide(termSide).TermSideIc(termSideIc).TermSideIe(termSideIe).TermSideIew(termSideIew).TermSideIre(termSideIre).TermSideIsw(termSideIsw).TermSideN(termSideN).TermSideNic(termSideNic).TermSideNie(termSideNie).TermSideNiew(termSideNiew).TermSideNire(termSideNire).TermSideNisw(termSideNisw).TermSideNre(termSideNre).TermSideRe(termSideRe).UpstreamSpeed(upstreamSpeed).UpstreamSpeedGt(upstreamSpeedGt).UpstreamSpeedGte(upstreamSpeedGte).UpstreamSpeedIsnull(upstreamSpeedIsnull).UpstreamSpeedLt(upstreamSpeedLt).UpstreamSpeedLte(upstreamSpeedLte).UpstreamSpeedN(upstreamSpeedN).XconnectId(xconnectId).XconnectIdIc(xconnectIdIc).XconnectIdIe(xconnectIdIe).XconnectIdIew(xconnectIdIew).XconnectIdIre(xconnectIdIre).XconnectIdIsw(xconnectIdIsw).XconnectIdN(xconnectIdN).XconnectIdNic(xconnectIdNic).XconnectIdNie(xconnectIdNie).XconnectIdNiew(xconnectIdNiew).XconnectIdNire(xconnectIdNire).XconnectIdNisw(xconnectIdNisw).XconnectIdNre(xconnectIdNre).XconnectIdRe(xconnectIdRe).Depth(depth).Execute()
+> PaginatedCircuitTerminationList CircuitsCircuitTerminationsList(ctx).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Circuit(circuit).CircuitN(circuitN).CloudNetwork(cloudNetwork).CloudNetworkIsnull(cloudNetworkIsnull).CloudNetworkN(cloudNetworkN).Connected(connected).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCable(hasCable).Id(id).IdN(idN).Limit(limit).Location(location).LocationIsnull(locationIsnull).LocationN(locationN).Offset(offset).PortSpeed(portSpeed).PortSpeedGt(portSpeedGt).PortSpeedGte(portSpeedGte).PortSpeedIsnull(portSpeedIsnull).PortSpeedLt(portSpeedLt).PortSpeedLte(portSpeedLte).PortSpeedN(portSpeedN).PpInfo(ppInfo).PpInfoIc(ppInfoIc).PpInfoIe(ppInfoIe).PpInfoIew(ppInfoIew).PpInfoIre(ppInfoIre).PpInfoIsw(ppInfoIsw).PpInfoN(ppInfoN).PpInfoNic(ppInfoNic).PpInfoNie(ppInfoNie).PpInfoNiew(ppInfoNiew).PpInfoNire(ppInfoNire).PpInfoNisw(ppInfoNisw).PpInfoNre(ppInfoNre).PpInfoRe(ppInfoRe).ProviderNetwork(providerNetwork).ProviderNetworkIsnull(providerNetworkIsnull).ProviderNetworkN(providerNetworkN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).TermSide(termSide).TermSideIc(termSideIc).TermSideIe(termSideIe).TermSideIew(termSideIew).TermSideIre(termSideIre).TermSideIsw(termSideIsw).TermSideN(termSideN).TermSideNic(termSideNic).TermSideNie(termSideNie).TermSideNiew(termSideNiew).TermSideNire(termSideNire).TermSideNisw(termSideNisw).TermSideNre(termSideNre).TermSideRe(termSideRe).UpstreamSpeed(upstreamSpeed).UpstreamSpeedGt(upstreamSpeedGt).UpstreamSpeedGte(upstreamSpeedGte).UpstreamSpeedIsnull(upstreamSpeedIsnull).UpstreamSpeedLt(upstreamSpeedLt).UpstreamSpeedLte(upstreamSpeedLte).UpstreamSpeedN(upstreamSpeedN).XconnectId(xconnectId).XconnectIdIc(xconnectIdIc).XconnectIdIe(xconnectIdIe).XconnectIdIew(xconnectIdIew).XconnectIdIre(xconnectIdIre).XconnectIdIsw(xconnectIdIsw).XconnectIdN(xconnectIdN).XconnectIdNic(xconnectIdNic).XconnectIdNie(xconnectIdNie).XconnectIdNiew(xconnectIdNiew).XconnectIdNire(xconnectIdNire).XconnectIdNisw(xconnectIdNisw).XconnectIdNre(xconnectIdNre).XconnectIdRe(xconnectIdRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -435,7 +435,7 @@ func main() {
connected := true // bool | Connected status (bool) (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
description := []string{"Inner_example"} // []string | (optional)
descriptionIc := []string{"Inner_example"} // []string | (optional)
descriptionIe := []string{"Inner_example"} // []string | (optional)
@@ -451,23 +451,11 @@ func main() {
descriptionNre := []string{"Inner_example"} // []string | (optional)
descriptionRe := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
hasCable := true // bool | Has cable (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
location := []string{"Inner_example"} // []string | (optional)
locationIsnull := true // bool | Location (name or ID) is null (optional)
@@ -504,7 +492,7 @@ func main() {
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
termSide := []string{"Inner_example"} // []string | (optional)
termSideIc := []string{"Inner_example"} // []string | (optional)
termSideIe := []string{"Inner_example"} // []string | (optional)
@@ -541,10 +529,11 @@ func main() {
xconnectIdNre := []string{"Inner_example"} // []string | (optional)
xconnectIdRe := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitTerminationsList(context.Background()).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Circuit(circuit).CircuitN(circuitN).CloudNetwork(cloudNetwork).CloudNetworkIsnull(cloudNetworkIsnull).CloudNetworkN(cloudNetworkN).Connected(connected).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCable(hasCable).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Location(location).LocationIsnull(locationIsnull).LocationN(locationN).Offset(offset).PortSpeed(portSpeed).PortSpeedGt(portSpeedGt).PortSpeedGte(portSpeedGte).PortSpeedIsnull(portSpeedIsnull).PortSpeedLt(portSpeedLt).PortSpeedLte(portSpeedLte).PortSpeedN(portSpeedN).PpInfo(ppInfo).PpInfoIc(ppInfoIc).PpInfoIe(ppInfoIe).PpInfoIew(ppInfoIew).PpInfoIre(ppInfoIre).PpInfoIsw(ppInfoIsw).PpInfoN(ppInfoN).PpInfoNic(ppInfoNic).PpInfoNie(ppInfoNie).PpInfoNiew(ppInfoNiew).PpInfoNire(ppInfoNire).PpInfoNisw(ppInfoNisw).PpInfoNre(ppInfoNre).PpInfoRe(ppInfoRe).ProviderNetwork(providerNetwork).ProviderNetworkIsnull(providerNetworkIsnull).ProviderNetworkN(providerNetworkN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).TermSide(termSide).TermSideIc(termSideIc).TermSideIe(termSideIe).TermSideIew(termSideIew).TermSideIre(termSideIre).TermSideIsw(termSideIsw).TermSideN(termSideN).TermSideNic(termSideNic).TermSideNie(termSideNie).TermSideNiew(termSideNiew).TermSideNire(termSideNire).TermSideNisw(termSideNisw).TermSideNre(termSideNre).TermSideRe(termSideRe).UpstreamSpeed(upstreamSpeed).UpstreamSpeedGt(upstreamSpeedGt).UpstreamSpeedGte(upstreamSpeedGte).UpstreamSpeedIsnull(upstreamSpeedIsnull).UpstreamSpeedLt(upstreamSpeedLt).UpstreamSpeedLte(upstreamSpeedLte).UpstreamSpeedN(upstreamSpeedN).XconnectId(xconnectId).XconnectIdIc(xconnectIdIc).XconnectIdIe(xconnectIdIe).XconnectIdIew(xconnectIdIew).XconnectIdIre(xconnectIdIre).XconnectIdIsw(xconnectIdIsw).XconnectIdN(xconnectIdN).XconnectIdNic(xconnectIdNic).XconnectIdNie(xconnectIdNie).XconnectIdNiew(xconnectIdNiew).XconnectIdNire(xconnectIdNire).XconnectIdNisw(xconnectIdNisw).XconnectIdNre(xconnectIdNre).XconnectIdRe(xconnectIdRe).Depth(depth).Execute()
+ resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitTerminationsList(context.Background()).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Circuit(circuit).CircuitN(circuitN).CloudNetwork(cloudNetwork).CloudNetworkIsnull(cloudNetworkIsnull).CloudNetworkN(cloudNetworkN).Connected(connected).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCable(hasCable).Id(id).IdN(idN).Limit(limit).Location(location).LocationIsnull(locationIsnull).LocationN(locationN).Offset(offset).PortSpeed(portSpeed).PortSpeedGt(portSpeedGt).PortSpeedGte(portSpeedGte).PortSpeedIsnull(portSpeedIsnull).PortSpeedLt(portSpeedLt).PortSpeedLte(portSpeedLte).PortSpeedN(portSpeedN).PpInfo(ppInfo).PpInfoIc(ppInfoIc).PpInfoIe(ppInfoIe).PpInfoIew(ppInfoIew).PpInfoIre(ppInfoIre).PpInfoIsw(ppInfoIsw).PpInfoN(ppInfoN).PpInfoNic(ppInfoNic).PpInfoNie(ppInfoNie).PpInfoNiew(ppInfoNiew).PpInfoNire(ppInfoNire).PpInfoNisw(ppInfoNisw).PpInfoNre(ppInfoNre).PpInfoRe(ppInfoRe).ProviderNetwork(providerNetwork).ProviderNetworkIsnull(providerNetworkIsnull).ProviderNetworkN(providerNetworkN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).TermSide(termSide).TermSideIc(termSideIc).TermSideIe(termSideIe).TermSideIew(termSideIew).TermSideIre(termSideIre).TermSideIsw(termSideIsw).TermSideN(termSideN).TermSideNic(termSideNic).TermSideNie(termSideNie).TermSideNiew(termSideNiew).TermSideNire(termSideNire).TermSideNisw(termSideNisw).TermSideNre(termSideNre).TermSideRe(termSideRe).UpstreamSpeed(upstreamSpeed).UpstreamSpeedGt(upstreamSpeedGt).UpstreamSpeedGte(upstreamSpeedGte).UpstreamSpeedIsnull(upstreamSpeedIsnull).UpstreamSpeedLt(upstreamSpeedLt).UpstreamSpeedLte(upstreamSpeedLte).UpstreamSpeedN(upstreamSpeedN).XconnectId(xconnectId).XconnectIdIc(xconnectIdIc).XconnectIdIe(xconnectIdIe).XconnectIdIew(xconnectIdIew).XconnectIdIre(xconnectIdIre).XconnectIdIsw(xconnectIdIsw).XconnectIdN(xconnectIdN).XconnectIdNic(xconnectIdNic).XconnectIdNie(xconnectIdNie).XconnectIdNiew(xconnectIdNiew).XconnectIdNire(xconnectIdNire).XconnectIdNisw(xconnectIdNisw).XconnectIdNre(xconnectIdNre).XconnectIdRe(xconnectIdRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsCircuitTerminationsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -576,7 +565,7 @@ Name | Type | Description | Notes
**connected** | **bool** | Connected status (bool) |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**description** | **[]string** | |
**descriptionIc** | **[]string** | |
**descriptionIe** | **[]string** | |
@@ -592,23 +581,11 @@ Name | Type | Description | Notes
**descriptionNre** | **[]string** | |
**descriptionRe** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**hasCable** | **bool** | Has cable |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**limit** | **int32** | Number of results to return per page. |
**location** | **[]string** | |
**locationIsnull** | **bool** | Location (name or ID) is null |
@@ -645,7 +622,7 @@ Name | Type | Description | Notes
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**termSide** | **[]string** | |
**termSideIc** | **[]string** | |
**termSideIe** | **[]string** | |
@@ -682,6 +659,7 @@ Name | Type | Description | Notes
**xconnectIdNre** | **[]string** | |
**xconnectIdRe** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -777,7 +755,7 @@ Name | Type | Description | Notes
## CircuitsCircuitTerminationsNotesList
-> PaginatedNoteList CircuitsCircuitTerminationsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList CircuitsCircuitTerminationsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -801,10 +779,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitTerminationsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitTerminationsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsCircuitTerminationsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -834,6 +813,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -929,7 +909,7 @@ Name | Type | Description | Notes
## CircuitsCircuitTerminationsRetrieve
-> CircuitTermination CircuitsCircuitTerminationsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> CircuitTermination CircuitsCircuitTerminationsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -951,10 +931,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this circuit termination.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitTerminationsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitTerminationsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsCircuitTerminationsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -982,6 +963,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -1003,7 +985,7 @@ Name | Type | Description | Notes
## CircuitsCircuitTerminationsTraceRetrieve
-> CircuitTermination CircuitsCircuitTerminationsTraceRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> CircuitTermination CircuitsCircuitTerminationsTraceRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -1025,10 +1007,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this circuit termination.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitTerminationsTraceRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitTerminationsTraceRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsCircuitTerminationsTraceRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -1056,6 +1039,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -1491,7 +1475,7 @@ Name | Type | Description | Notes
## CircuitsCircuitTypesList
-> PaginatedCircuitTypeList CircuitsCircuitTypesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedCircuitTypeList CircuitsCircuitTypesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -1513,7 +1497,7 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -1536,22 +1520,10 @@ func main() {
descriptionNre := []string{"Inner_example"} // []string | (optional)
descriptionRe := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -1579,12 +1551,13 @@ func main() {
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitTypesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitTypesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsCircuitTypesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -1607,7 +1580,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -1630,22 +1603,10 @@ Name | Type | Description | Notes
**descriptionNre** | **[]string** | |
**descriptionRe** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -1673,8 +1634,9 @@ Name | Type | Description | Notes
**sort** | **string** | Which field to use when ordering the results. |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -1770,7 +1732,7 @@ Name | Type | Description | Notes
## CircuitsCircuitTypesNotesList
-> PaginatedNoteList CircuitsCircuitTypesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList CircuitsCircuitTypesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -1794,10 +1756,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitTypesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitTypesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsCircuitTypesNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -1827,6 +1790,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -1922,7 +1886,7 @@ Name | Type | Description | Notes
## CircuitsCircuitTypesRetrieve
-> CircuitType CircuitsCircuitTypesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> CircuitType CircuitsCircuitTypesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -1944,10 +1908,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this circuit type.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitTypesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitTypesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsCircuitTypesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -1975,6 +1940,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -2410,7 +2376,7 @@ Name | Type | Description | Notes
## CircuitsCircuitsList
-> PaginatedCircuitList CircuitsCircuitsList(ctx).Cid(cid).CidIc(cidIc).CidIe(cidIe).CidIew(cidIew).CidIre(cidIre).CidIsw(cidIsw).CidN(cidN).CidNic(cidNic).CidNie(cidNie).CidNiew(cidNiew).CidNire(cidNire).CidNisw(cidNisw).CidNre(cidNre).CidRe(cidRe).CircuitTerminationA(circuitTerminationA).CircuitTerminationAIsnull(circuitTerminationAIsnull).CircuitTerminationAN(circuitTerminationAN).CircuitTerminationZ(circuitTerminationZ).CircuitTerminationZIsnull(circuitTerminationZIsnull).CircuitTerminationZN(circuitTerminationZN).CircuitTerminations(circuitTerminations).CircuitTerminationsIsnull(circuitTerminationsIsnull).CircuitTerminationsN(circuitTerminationsN).CircuitType(circuitType).CircuitTypeN(circuitTypeN).CloudNetwork(cloudNetwork).CloudNetworkIsnull(cloudNetworkIsnull).CloudNetworkN(cloudNetworkN).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).CommitRate(commitRate).CommitRateGt(commitRateGt).CommitRateGte(commitRateGte).CommitRateIsnull(commitRateIsnull).CommitRateLt(commitRateLt).CommitRateLte(commitRateLte).CommitRateN(commitRateN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasTerminations(hasTerminations).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).InstallDate(installDate).InstallDateGt(installDateGt).InstallDateGte(installDateGte).InstallDateIsnull(installDateIsnull).InstallDateLt(installDateLt).InstallDateLte(installDateLte).InstallDateN(installDateN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationIsnull(locationIsnull).LocationN(locationN).Offset(offset).Provider(provider).ProviderN(providerN).ProviderNetwork(providerNetwork).ProviderNetworkIsnull(providerNetworkIsnull).ProviderNetworkN(providerNetworkN).Q(q).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Depth(depth).Execute()
+> PaginatedCircuitList CircuitsCircuitsList(ctx).Cid(cid).CidIc(cidIc).CidIe(cidIe).CidIew(cidIew).CidIre(cidIre).CidIsw(cidIsw).CidN(cidN).CidNic(cidNic).CidNie(cidNie).CidNiew(cidNiew).CidNire(cidNire).CidNisw(cidNisw).CidNre(cidNre).CidRe(cidRe).CircuitTerminationA(circuitTerminationA).CircuitTerminationAIsnull(circuitTerminationAIsnull).CircuitTerminationAN(circuitTerminationAN).CircuitTerminationZ(circuitTerminationZ).CircuitTerminationZIsnull(circuitTerminationZIsnull).CircuitTerminationZN(circuitTerminationZN).CircuitTerminations(circuitTerminations).CircuitTerminationsIsnull(circuitTerminationsIsnull).CircuitTerminationsN(circuitTerminationsN).CircuitType(circuitType).CircuitTypeN(circuitTypeN).CloudNetwork(cloudNetwork).CloudNetworkIsnull(cloudNetworkIsnull).CloudNetworkN(cloudNetworkN).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).CommitRate(commitRate).CommitRateGt(commitRateGt).CommitRateGte(commitRateGte).CommitRateIsnull(commitRateIsnull).CommitRateLt(commitRateLt).CommitRateLte(commitRateLte).CommitRateN(commitRateN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasTerminations(hasTerminations).Id(id).IdN(idN).InstallDate(installDate).InstallDateGt(installDateGt).InstallDateGte(installDateGte).InstallDateIsnull(installDateIsnull).InstallDateLt(installDateLt).InstallDateLte(installDateLte).InstallDateN(installDateN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationIsnull(locationIsnull).LocationN(locationN).Offset(offset).Provider(provider).ProviderN(providerN).ProviderNetwork(providerNetwork).ProviderNetworkIsnull(providerNetworkIsnull).ProviderNetworkN(providerNetworkN).Q(q).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -2481,7 +2447,7 @@ func main() {
commitRateN := []int32{int32(123)} // []int32 | (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -2504,23 +2470,11 @@ func main() {
descriptionNre := []string{"Inner_example"} // []string | (optional)
descriptionRe := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
hasTerminations := true // bool | Has terminations (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
installDate := []string{time.Now()} // []string | (optional)
installDateGt := []string{time.Now()} // []string | (optional)
installDateGte := []string{time.Now()} // []string | (optional)
@@ -2548,13 +2502,13 @@ func main() {
q := "q_example" // string | Search (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
status := []string{"Inner_example"} // []string | (optional)
- statusN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Status (name or ID) (optional)
+ statusN := []string{"Inner_example"} // []string | (optional)
tags := []string{"Inner_example"} // []string | (optional)
tagsIsnull := true // bool | (optional)
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
tenant := []string{"Inner_example"} // []string | (optional)
tenantIsnull := true // bool | Tenant (name or ID) is null (optional)
tenantN := []string{"Inner_example"} // []string | (optional)
@@ -2565,10 +2519,11 @@ func main() {
tenantIdIsnull := true // bool | Tenant (ID) (deprecated, use \"tenant\" filter instead) is null (optional)
tenantIdN := []*string{"Inner_example"} // []*string | Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead) (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitsList(context.Background()).Cid(cid).CidIc(cidIc).CidIe(cidIe).CidIew(cidIew).CidIre(cidIre).CidIsw(cidIsw).CidN(cidN).CidNic(cidNic).CidNie(cidNie).CidNiew(cidNiew).CidNire(cidNire).CidNisw(cidNisw).CidNre(cidNre).CidRe(cidRe).CircuitTerminationA(circuitTerminationA).CircuitTerminationAIsnull(circuitTerminationAIsnull).CircuitTerminationAN(circuitTerminationAN).CircuitTerminationZ(circuitTerminationZ).CircuitTerminationZIsnull(circuitTerminationZIsnull).CircuitTerminationZN(circuitTerminationZN).CircuitTerminations(circuitTerminations).CircuitTerminationsIsnull(circuitTerminationsIsnull).CircuitTerminationsN(circuitTerminationsN).CircuitType(circuitType).CircuitTypeN(circuitTypeN).CloudNetwork(cloudNetwork).CloudNetworkIsnull(cloudNetworkIsnull).CloudNetworkN(cloudNetworkN).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).CommitRate(commitRate).CommitRateGt(commitRateGt).CommitRateGte(commitRateGte).CommitRateIsnull(commitRateIsnull).CommitRateLt(commitRateLt).CommitRateLte(commitRateLte).CommitRateN(commitRateN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasTerminations(hasTerminations).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).InstallDate(installDate).InstallDateGt(installDateGt).InstallDateGte(installDateGte).InstallDateIsnull(installDateIsnull).InstallDateLt(installDateLt).InstallDateLte(installDateLte).InstallDateN(installDateN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationIsnull(locationIsnull).LocationN(locationN).Offset(offset).Provider(provider).ProviderN(providerN).ProviderNetwork(providerNetwork).ProviderNetworkIsnull(providerNetworkIsnull).ProviderNetworkN(providerNetworkN).Q(q).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Depth(depth).Execute()
+ resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitsList(context.Background()).Cid(cid).CidIc(cidIc).CidIe(cidIe).CidIew(cidIew).CidIre(cidIre).CidIsw(cidIsw).CidN(cidN).CidNic(cidNic).CidNie(cidNie).CidNiew(cidNiew).CidNire(cidNire).CidNisw(cidNisw).CidNre(cidNre).CidRe(cidRe).CircuitTerminationA(circuitTerminationA).CircuitTerminationAIsnull(circuitTerminationAIsnull).CircuitTerminationAN(circuitTerminationAN).CircuitTerminationZ(circuitTerminationZ).CircuitTerminationZIsnull(circuitTerminationZIsnull).CircuitTerminationZN(circuitTerminationZN).CircuitTerminations(circuitTerminations).CircuitTerminationsIsnull(circuitTerminationsIsnull).CircuitTerminationsN(circuitTerminationsN).CircuitType(circuitType).CircuitTypeN(circuitTypeN).CloudNetwork(cloudNetwork).CloudNetworkIsnull(cloudNetworkIsnull).CloudNetworkN(cloudNetworkN).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).CommitRate(commitRate).CommitRateGt(commitRateGt).CommitRateGte(commitRateGte).CommitRateIsnull(commitRateIsnull).CommitRateLt(commitRateLt).CommitRateLte(commitRateLte).CommitRateN(commitRateN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasTerminations(hasTerminations).Id(id).IdN(idN).InstallDate(installDate).InstallDateGt(installDateGt).InstallDateGte(installDateGte).InstallDateIsnull(installDateIsnull).InstallDateLt(installDateLt).InstallDateLte(installDateLte).InstallDateN(installDateN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationIsnull(locationIsnull).LocationN(locationN).Offset(offset).Provider(provider).ProviderN(providerN).ProviderNetwork(providerNetwork).ProviderNetworkIsnull(providerNetworkIsnull).ProviderNetworkN(providerNetworkN).Q(q).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsCircuitsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -2640,7 +2595,7 @@ Name | Type | Description | Notes
**commitRateN** | **[]int32** | |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -2663,23 +2618,11 @@ Name | Type | Description | Notes
**descriptionNre** | **[]string** | |
**descriptionRe** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**hasTerminations** | **bool** | Has terminations |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**installDate** | **[]string** | |
**installDateGt** | **[]string** | |
**installDateGte** | **[]string** | |
@@ -2707,13 +2650,13 @@ Name | Type | Description | Notes
**q** | **string** | Search |
**sort** | **string** | Which field to use when ordering the results. |
**status** | **[]string** | |
- **statusN** | **string** | Exclude Status (name or ID) |
+ **statusN** | **[]string** | |
**tags** | **[]string** | |
**tagsIsnull** | **bool** | |
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**tenant** | **[]string** | |
**tenantIsnull** | **bool** | Tenant (name or ID) is null |
**tenantN** | **[]string** | |
@@ -2724,6 +2667,7 @@ Name | Type | Description | Notes
**tenantIdIsnull** | **bool** | Tenant (ID) (deprecated, use \"tenant\" filter instead) is null |
**tenantIdN** | **[]string** | Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead) |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -2819,7 +2763,7 @@ Name | Type | Description | Notes
## CircuitsCircuitsNotesList
-> PaginatedNoteList CircuitsCircuitsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList CircuitsCircuitsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -2843,10 +2787,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsCircuitsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -2876,6 +2821,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -2971,7 +2917,7 @@ Name | Type | Description | Notes
## CircuitsCircuitsRetrieve
-> Circuit CircuitsCircuitsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> Circuit CircuitsCircuitsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -2993,10 +2939,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this circuit.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.CircuitsAPI.CircuitsCircuitsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsCircuitsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -3024,6 +2971,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -3459,7 +3407,7 @@ Name | Type | Description | Notes
## CircuitsProviderNetworksList
-> PaginatedProviderNetworkList CircuitsProviderNetworksList(ctx).CircuitTerminations(circuitTerminations).CircuitTerminationsIsnull(circuitTerminationsIsnull).CircuitTerminationsN(circuitTerminationsN).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCircuitTerminations(hasCircuitTerminations).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Provider(provider).ProviderN(providerN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedProviderNetworkList CircuitsProviderNetworksList(ctx).CircuitTerminations(circuitTerminations).CircuitTerminationsIsnull(circuitTerminationsIsnull).CircuitTerminationsN(circuitTerminationsN).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCircuitTerminations(hasCircuitTerminations).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Provider(provider).ProviderN(providerN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -3498,7 +3446,7 @@ func main() {
commentsRe := []string{"Inner_example"} // []string | (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -3521,23 +3469,11 @@ func main() {
descriptionNre := []string{"Inner_example"} // []string | (optional)
descriptionRe := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
hasCircuitTerminations := true // bool | Has circuit terminations (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -3570,12 +3506,13 @@ func main() {
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CircuitsAPI.CircuitsProviderNetworksList(context.Background()).CircuitTerminations(circuitTerminations).CircuitTerminationsIsnull(circuitTerminationsIsnull).CircuitTerminationsN(circuitTerminationsN).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCircuitTerminations(hasCircuitTerminations).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Provider(provider).ProviderN(providerN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.CircuitsAPI.CircuitsProviderNetworksList(context.Background()).CircuitTerminations(circuitTerminations).CircuitTerminationsIsnull(circuitTerminationsIsnull).CircuitTerminationsN(circuitTerminationsN).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCircuitTerminations(hasCircuitTerminations).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Provider(provider).ProviderN(providerN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsProviderNetworksList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -3615,7 +3552,7 @@ Name | Type | Description | Notes
**commentsRe** | **[]string** | |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -3638,23 +3575,11 @@ Name | Type | Description | Notes
**descriptionNre** | **[]string** | |
**descriptionRe** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**hasCircuitTerminations** | **bool** | Has circuit terminations |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -3687,8 +3612,9 @@ Name | Type | Description | Notes
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -3784,7 +3710,7 @@ Name | Type | Description | Notes
## CircuitsProviderNetworksNotesList
-> PaginatedNoteList CircuitsProviderNetworksNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList CircuitsProviderNetworksNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -3808,10 +3734,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CircuitsAPI.CircuitsProviderNetworksNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.CircuitsAPI.CircuitsProviderNetworksNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsProviderNetworksNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -3841,6 +3768,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -3936,7 +3864,7 @@ Name | Type | Description | Notes
## CircuitsProviderNetworksRetrieve
-> ProviderNetwork CircuitsProviderNetworksRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> ProviderNetwork CircuitsProviderNetworksRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -3958,10 +3886,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this provider network.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CircuitsAPI.CircuitsProviderNetworksRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.CircuitsAPI.CircuitsProviderNetworksRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsProviderNetworksRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -3989,6 +3918,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -4424,7 +4354,7 @@ Name | Type | Description | Notes
## CircuitsProvidersList
-> PaginatedProviderList CircuitsProvidersList(ctx).Account(account).AccountIc(accountIc).AccountIe(accountIe).AccountIew(accountIew).AccountIre(accountIre).AccountIsw(accountIsw).AccountN(accountN).AccountNic(accountNic).AccountNie(accountNie).AccountNiew(accountNiew).AccountNire(accountNire).AccountNisw(accountNisw).AccountNre(accountNre).AccountRe(accountRe).AdminContact(adminContact).AdminContactIc(adminContactIc).AdminContactIe(adminContactIe).AdminContactIew(adminContactIew).AdminContactIre(adminContactIre).AdminContactIsw(adminContactIsw).AdminContactN(adminContactN).AdminContactNic(adminContactNic).AdminContactNie(adminContactNie).AdminContactNiew(adminContactNiew).AdminContactNire(adminContactNire).AdminContactNisw(adminContactNisw).AdminContactNre(adminContactNre).AdminContactRe(adminContactRe).Asn(asn).AsnGt(asnGt).AsnGte(asnGte).AsnIsnull(asnIsnull).AsnLt(asnLt).AsnLte(asnLte).AsnN(asnN).Circuits(circuits).CircuitsIsnull(circuitsIsnull).CircuitsN(circuitsN).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCircuits(hasCircuits).HasProviderNetworks(hasProviderNetworks).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationIsnull(locationIsnull).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).NocContact(nocContact).NocContactIc(nocContactIc).NocContactIe(nocContactIe).NocContactIew(nocContactIew).NocContactIre(nocContactIre).NocContactIsw(nocContactIsw).NocContactN(nocContactN).NocContactNic(nocContactNic).NocContactNie(nocContactNie).NocContactNiew(nocContactNiew).NocContactNire(nocContactNire).NocContactNisw(nocContactNisw).NocContactNre(nocContactNre).NocContactRe(nocContactRe).Offset(offset).PortalUrl(portalUrl).PortalUrlIc(portalUrlIc).PortalUrlIe(portalUrlIe).PortalUrlIew(portalUrlIew).PortalUrlIre(portalUrlIre).PortalUrlIsw(portalUrlIsw).PortalUrlN(portalUrlN).PortalUrlNic(portalUrlNic).PortalUrlNie(portalUrlNie).PortalUrlNiew(portalUrlNiew).PortalUrlNire(portalUrlNire).PortalUrlNisw(portalUrlNisw).PortalUrlNre(portalUrlNre).PortalUrlRe(portalUrlRe).ProviderNetworks(providerNetworks).ProviderNetworksIsnull(providerNetworksIsnull).ProviderNetworksN(providerNetworksN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedProviderList CircuitsProvidersList(ctx).Account(account).AccountIc(accountIc).AccountIe(accountIe).AccountIew(accountIew).AccountIre(accountIre).AccountIsw(accountIsw).AccountN(accountN).AccountNic(accountNic).AccountNie(accountNie).AccountNiew(accountNiew).AccountNire(accountNire).AccountNisw(accountNisw).AccountNre(accountNre).AccountRe(accountRe).AdminContact(adminContact).AdminContactIc(adminContactIc).AdminContactIe(adminContactIe).AdminContactIew(adminContactIew).AdminContactIre(adminContactIre).AdminContactIsw(adminContactIsw).AdminContactN(adminContactN).AdminContactNic(adminContactNic).AdminContactNie(adminContactNie).AdminContactNiew(adminContactNiew).AdminContactNire(adminContactNire).AdminContactNisw(adminContactNisw).AdminContactNre(adminContactNre).AdminContactRe(adminContactRe).Asn(asn).AsnGt(asnGt).AsnGte(asnGte).AsnIsnull(asnIsnull).AsnLt(asnLt).AsnLte(asnLte).AsnN(asnN).Circuits(circuits).CircuitsIsnull(circuitsIsnull).CircuitsN(circuitsN).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCircuits(hasCircuits).HasProviderNetworks(hasProviderNetworks).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationIsnull(locationIsnull).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).NocContact(nocContact).NocContactIc(nocContactIc).NocContactIe(nocContactIe).NocContactIew(nocContactIew).NocContactIre(nocContactIre).NocContactIsw(nocContactIsw).NocContactN(nocContactN).NocContactNic(nocContactNic).NocContactNie(nocContactNie).NocContactNiew(nocContactNiew).NocContactNire(nocContactNire).NocContactNisw(nocContactNisw).NocContactNre(nocContactNre).NocContactRe(nocContactRe).Offset(offset).PortalUrl(portalUrl).PortalUrlIc(portalUrlIc).PortalUrlIe(portalUrlIe).PortalUrlIew(portalUrlIew).PortalUrlIre(portalUrlIre).PortalUrlIsw(portalUrlIsw).PortalUrlN(portalUrlN).PortalUrlNic(portalUrlNic).PortalUrlNie(portalUrlNie).PortalUrlNiew(portalUrlNiew).PortalUrlNire(portalUrlNire).PortalUrlNisw(portalUrlNisw).PortalUrlNre(portalUrlNre).PortalUrlRe(portalUrlRe).ProviderNetworks(providerNetworks).ProviderNetworksIsnull(providerNetworksIsnull).ProviderNetworksN(providerNetworksN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -4498,7 +4428,7 @@ func main() {
commentsRe := []string{"Inner_example"} // []string | (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -4507,24 +4437,12 @@ func main() {
createdLte := []time.Time{time.Now()} // []time.Time | (optional)
createdN := []time.Time{time.Now()} // []time.Time | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
hasCircuits := true // bool | Has circuits (optional)
hasProviderNetworks := true // bool | Has provider networks (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -4589,12 +4507,13 @@ func main() {
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CircuitsAPI.CircuitsProvidersList(context.Background()).Account(account).AccountIc(accountIc).AccountIe(accountIe).AccountIew(accountIew).AccountIre(accountIre).AccountIsw(accountIsw).AccountN(accountN).AccountNic(accountNic).AccountNie(accountNie).AccountNiew(accountNiew).AccountNire(accountNire).AccountNisw(accountNisw).AccountNre(accountNre).AccountRe(accountRe).AdminContact(adminContact).AdminContactIc(adminContactIc).AdminContactIe(adminContactIe).AdminContactIew(adminContactIew).AdminContactIre(adminContactIre).AdminContactIsw(adminContactIsw).AdminContactN(adminContactN).AdminContactNic(adminContactNic).AdminContactNie(adminContactNie).AdminContactNiew(adminContactNiew).AdminContactNire(adminContactNire).AdminContactNisw(adminContactNisw).AdminContactNre(adminContactNre).AdminContactRe(adminContactRe).Asn(asn).AsnGt(asnGt).AsnGte(asnGte).AsnIsnull(asnIsnull).AsnLt(asnLt).AsnLte(asnLte).AsnN(asnN).Circuits(circuits).CircuitsIsnull(circuitsIsnull).CircuitsN(circuitsN).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCircuits(hasCircuits).HasProviderNetworks(hasProviderNetworks).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationIsnull(locationIsnull).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).NocContact(nocContact).NocContactIc(nocContactIc).NocContactIe(nocContactIe).NocContactIew(nocContactIew).NocContactIre(nocContactIre).NocContactIsw(nocContactIsw).NocContactN(nocContactN).NocContactNic(nocContactNic).NocContactNie(nocContactNie).NocContactNiew(nocContactNiew).NocContactNire(nocContactNire).NocContactNisw(nocContactNisw).NocContactNre(nocContactNre).NocContactRe(nocContactRe).Offset(offset).PortalUrl(portalUrl).PortalUrlIc(portalUrlIc).PortalUrlIe(portalUrlIe).PortalUrlIew(portalUrlIew).PortalUrlIre(portalUrlIre).PortalUrlIsw(portalUrlIsw).PortalUrlN(portalUrlN).PortalUrlNic(portalUrlNic).PortalUrlNie(portalUrlNie).PortalUrlNiew(portalUrlNiew).PortalUrlNire(portalUrlNire).PortalUrlNisw(portalUrlNisw).PortalUrlNre(portalUrlNre).PortalUrlRe(portalUrlRe).ProviderNetworks(providerNetworks).ProviderNetworksIsnull(providerNetworksIsnull).ProviderNetworksN(providerNetworksN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.CircuitsAPI.CircuitsProvidersList(context.Background()).Account(account).AccountIc(accountIc).AccountIe(accountIe).AccountIew(accountIew).AccountIre(accountIre).AccountIsw(accountIsw).AccountN(accountN).AccountNic(accountNic).AccountNie(accountNie).AccountNiew(accountNiew).AccountNire(accountNire).AccountNisw(accountNisw).AccountNre(accountNre).AccountRe(accountRe).AdminContact(adminContact).AdminContactIc(adminContactIc).AdminContactIe(adminContactIe).AdminContactIew(adminContactIew).AdminContactIre(adminContactIre).AdminContactIsw(adminContactIsw).AdminContactN(adminContactN).AdminContactNic(adminContactNic).AdminContactNie(adminContactNie).AdminContactNiew(adminContactNiew).AdminContactNire(adminContactNire).AdminContactNisw(adminContactNisw).AdminContactNre(adminContactNre).AdminContactRe(adminContactRe).Asn(asn).AsnGt(asnGt).AsnGte(asnGte).AsnIsnull(asnIsnull).AsnLt(asnLt).AsnLte(asnLte).AsnN(asnN).Circuits(circuits).CircuitsIsnull(circuitsIsnull).CircuitsN(circuitsN).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCircuits(hasCircuits).HasProviderNetworks(hasProviderNetworks).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationIsnull(locationIsnull).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).NocContact(nocContact).NocContactIc(nocContactIc).NocContactIe(nocContactIe).NocContactIew(nocContactIew).NocContactIre(nocContactIre).NocContactIsw(nocContactIsw).NocContactN(nocContactN).NocContactNic(nocContactNic).NocContactNie(nocContactNie).NocContactNiew(nocContactNiew).NocContactNire(nocContactNire).NocContactNisw(nocContactNisw).NocContactNre(nocContactNre).NocContactRe(nocContactRe).Offset(offset).PortalUrl(portalUrl).PortalUrlIc(portalUrlIc).PortalUrlIe(portalUrlIe).PortalUrlIew(portalUrlIew).PortalUrlIre(portalUrlIre).PortalUrlIsw(portalUrlIsw).PortalUrlN(portalUrlN).PortalUrlNic(portalUrlNic).PortalUrlNie(portalUrlNie).PortalUrlNiew(portalUrlNiew).PortalUrlNire(portalUrlNire).PortalUrlNisw(portalUrlNisw).PortalUrlNre(portalUrlNre).PortalUrlRe(portalUrlRe).ProviderNetworks(providerNetworks).ProviderNetworksIsnull(providerNetworksIsnull).ProviderNetworksN(providerNetworksN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsProvidersList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -4669,7 +4588,7 @@ Name | Type | Description | Notes
**commentsRe** | **[]string** | |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -4678,24 +4597,12 @@ Name | Type | Description | Notes
**createdLte** | [**[]time.Time**](time.Time.md) | |
**createdN** | [**[]time.Time**](time.Time.md) | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**hasCircuits** | **bool** | Has circuits |
**hasProviderNetworks** | **bool** | Has provider networks |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -4760,8 +4667,9 @@ Name | Type | Description | Notes
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -4857,7 +4765,7 @@ Name | Type | Description | Notes
## CircuitsProvidersNotesList
-> PaginatedNoteList CircuitsProvidersNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList CircuitsProvidersNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -4881,10 +4789,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CircuitsAPI.CircuitsProvidersNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.CircuitsAPI.CircuitsProvidersNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsProvidersNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -4914,6 +4823,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -5009,7 +4919,7 @@ Name | Type | Description | Notes
## CircuitsProvidersRetrieve
-> Provider CircuitsProvidersRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> Provider CircuitsProvidersRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -5031,10 +4941,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this provider.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CircuitsAPI.CircuitsProvidersRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.CircuitsAPI.CircuitsProvidersRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CircuitsAPI.CircuitsProvidersRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -5062,6 +4973,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
diff --git a/docs/CloudAPI.md b/docs/CloudAPI.md
index 3f27f06e..620c3510 100644
--- a/docs/CloudAPI.md
+++ b/docs/CloudAPI.md
@@ -21,8 +21,6 @@ Method | HTTP request | Description
[**CloudCloudNetworkPrefixAssignmentsCreate**](CloudAPI.md#CloudCloudNetworkPrefixAssignmentsCreate) | **Post** /cloud/cloud-network-prefix-assignments/ |
[**CloudCloudNetworkPrefixAssignmentsDestroy**](CloudAPI.md#CloudCloudNetworkPrefixAssignmentsDestroy) | **Delete** /cloud/cloud-network-prefix-assignments/{id}/ |
[**CloudCloudNetworkPrefixAssignmentsList**](CloudAPI.md#CloudCloudNetworkPrefixAssignmentsList) | **Get** /cloud/cloud-network-prefix-assignments/ |
-[**CloudCloudNetworkPrefixAssignmentsNotesCreate**](CloudAPI.md#CloudCloudNetworkPrefixAssignmentsNotesCreate) | **Post** /cloud/cloud-network-prefix-assignments/{id}/notes/ |
-[**CloudCloudNetworkPrefixAssignmentsNotesList**](CloudAPI.md#CloudCloudNetworkPrefixAssignmentsNotesList) | **Get** /cloud/cloud-network-prefix-assignments/{id}/notes/ |
[**CloudCloudNetworkPrefixAssignmentsPartialUpdate**](CloudAPI.md#CloudCloudNetworkPrefixAssignmentsPartialUpdate) | **Patch** /cloud/cloud-network-prefix-assignments/{id}/ |
[**CloudCloudNetworkPrefixAssignmentsRetrieve**](CloudAPI.md#CloudCloudNetworkPrefixAssignmentsRetrieve) | **Get** /cloud/cloud-network-prefix-assignments/{id}/ |
[**CloudCloudNetworkPrefixAssignmentsUpdate**](CloudAPI.md#CloudCloudNetworkPrefixAssignmentsUpdate) | **Put** /cloud/cloud-network-prefix-assignments/{id}/ |
@@ -54,8 +52,6 @@ Method | HTTP request | Description
[**CloudCloudServiceNetworkAssignmentsCreate**](CloudAPI.md#CloudCloudServiceNetworkAssignmentsCreate) | **Post** /cloud/cloud-service-network-assignments/ |
[**CloudCloudServiceNetworkAssignmentsDestroy**](CloudAPI.md#CloudCloudServiceNetworkAssignmentsDestroy) | **Delete** /cloud/cloud-service-network-assignments/{id}/ |
[**CloudCloudServiceNetworkAssignmentsList**](CloudAPI.md#CloudCloudServiceNetworkAssignmentsList) | **Get** /cloud/cloud-service-network-assignments/ |
-[**CloudCloudServiceNetworkAssignmentsNotesCreate**](CloudAPI.md#CloudCloudServiceNetworkAssignmentsNotesCreate) | **Post** /cloud/cloud-service-network-assignments/{id}/notes/ |
-[**CloudCloudServiceNetworkAssignmentsNotesList**](CloudAPI.md#CloudCloudServiceNetworkAssignmentsNotesList) | **Get** /cloud/cloud-service-network-assignments/{id}/notes/ |
[**CloudCloudServiceNetworkAssignmentsPartialUpdate**](CloudAPI.md#CloudCloudServiceNetworkAssignmentsPartialUpdate) | **Patch** /cloud/cloud-service-network-assignments/{id}/ |
[**CloudCloudServiceNetworkAssignmentsRetrieve**](CloudAPI.md#CloudCloudServiceNetworkAssignmentsRetrieve) | **Get** /cloud/cloud-service-network-assignments/{id}/ |
[**CloudCloudServiceNetworkAssignmentsUpdate**](CloudAPI.md#CloudCloudServiceNetworkAssignmentsUpdate) | **Put** /cloud/cloud-service-network-assignments/{id}/ |
@@ -415,7 +411,7 @@ Name | Type | Description | Notes
## CloudCloudAccountsList
-> PaginatedCloudAccountList CloudCloudAccountsList(ctx).AccountNumber(accountNumber).AccountNumberIc(accountNumberIc).AccountNumberIe(accountNumberIe).AccountNumberIew(accountNumberIew).AccountNumberIre(accountNumberIre).AccountNumberIsw(accountNumberIsw).AccountNumberN(accountNumberN).AccountNumberNic(accountNumberNic).AccountNumberNie(accountNumberNie).AccountNumberNiew(accountNumberNiew).AccountNumberNire(accountNumberNire).AccountNumberNisw(accountNumberNisw).AccountNumberNre(accountNumberNre).AccountNumberRe(accountNumberRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Provider(provider).ProviderN(providerN).Q(q).SecretsGroup(secretsGroup).SecretsGroupIsnull(secretsGroupIsnull).SecretsGroupN(secretsGroupN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedCloudAccountList CloudCloudAccountsList(ctx).AccountNumber(accountNumber).AccountNumberIc(accountNumberIc).AccountNumberIe(accountNumberIe).AccountNumberIew(accountNumberIew).AccountNumberIre(accountNumberIre).AccountNumberIsw(accountNumberIsw).AccountNumberN(accountNumberN).AccountNumberNic(accountNumberNic).AccountNumberNie(accountNumberNie).AccountNumberNiew(accountNumberNiew).AccountNumberNire(accountNumberNire).AccountNumberNisw(accountNumberNisw).AccountNumberNre(accountNumberNre).AccountNumberRe(accountNumberRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Provider(provider).ProviderN(providerN).Q(q).SecretsGroup(secretsGroup).SecretsGroupIsnull(secretsGroupIsnull).SecretsGroupN(secretsGroupN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -451,7 +447,7 @@ func main() {
accountNumberRe := []string{"Inner_example"} // []string | (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -474,22 +470,10 @@ func main() {
descriptionNre := []string{"Inner_example"} // []string | (optional)
descriptionRe := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -525,12 +509,13 @@ func main() {
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CloudAPI.CloudCloudAccountsList(context.Background()).AccountNumber(accountNumber).AccountNumberIc(accountNumberIc).AccountNumberIe(accountNumberIe).AccountNumberIew(accountNumberIew).AccountNumberIre(accountNumberIre).AccountNumberIsw(accountNumberIsw).AccountNumberN(accountNumberN).AccountNumberNic(accountNumberNic).AccountNumberNie(accountNumberNie).AccountNumberNiew(accountNumberNiew).AccountNumberNire(accountNumberNire).AccountNumberNisw(accountNumberNisw).AccountNumberNre(accountNumberNre).AccountNumberRe(accountNumberRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Provider(provider).ProviderN(providerN).Q(q).SecretsGroup(secretsGroup).SecretsGroupIsnull(secretsGroupIsnull).SecretsGroupN(secretsGroupN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.CloudAPI.CloudCloudAccountsList(context.Background()).AccountNumber(accountNumber).AccountNumberIc(accountNumberIc).AccountNumberIe(accountNumberIe).AccountNumberIew(accountNumberIew).AccountNumberIre(accountNumberIre).AccountNumberIsw(accountNumberIsw).AccountNumberN(accountNumberN).AccountNumberNic(accountNumberNic).AccountNumberNie(accountNumberNie).AccountNumberNiew(accountNumberNiew).AccountNumberNire(accountNumberNire).AccountNumberNisw(accountNumberNisw).AccountNumberNre(accountNumberNre).AccountNumberRe(accountNumberRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Provider(provider).ProviderN(providerN).Q(q).SecretsGroup(secretsGroup).SecretsGroupIsnull(secretsGroupIsnull).SecretsGroupN(secretsGroupN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CloudAPI.CloudCloudAccountsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -567,7 +552,7 @@ Name | Type | Description | Notes
**accountNumberRe** | **[]string** | |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -590,22 +575,10 @@ Name | Type | Description | Notes
**descriptionNre** | **[]string** | |
**descriptionRe** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -641,8 +614,9 @@ Name | Type | Description | Notes
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -738,7 +712,7 @@ Name | Type | Description | Notes
## CloudCloudAccountsNotesList
-> PaginatedNoteList CloudCloudAccountsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList CloudCloudAccountsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -762,10 +736,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CloudAPI.CloudCloudAccountsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.CloudAPI.CloudCloudAccountsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CloudAPI.CloudCloudAccountsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -795,6 +770,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -890,7 +866,7 @@ Name | Type | Description | Notes
## CloudCloudAccountsRetrieve
-> CloudAccount CloudCloudAccountsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> CloudAccount CloudCloudAccountsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -912,10 +888,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this cloud account.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CloudAPI.CloudCloudAccountsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.CloudAPI.CloudCloudAccountsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CloudAPI.CloudCloudAccountsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -943,6 +920,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -1378,7 +1356,7 @@ Name | Type | Description | Notes
## CloudCloudNetworkPrefixAssignmentsList
-> PaginatedCloudNetworkPrefixAssignmentList CloudCloudNetworkPrefixAssignmentsList(ctx).CloudNetwork(cloudNetwork).CloudNetworkN(cloudNetworkN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Offset(offset).Prefix(prefix).PrefixN(prefixN).Q(q).Sort(sort).Depth(depth).Execute()
+> PaginatedCloudNetworkPrefixAssignmentList CloudCloudNetworkPrefixAssignmentsList(ctx).CloudNetwork(cloudNetwork).CloudNetworkN(cloudNetworkN).Format(format).Id(id).IdN(idN).Limit(limit).Offset(offset).Prefix(prefix).PrefixN(prefixN).Q(q).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -1401,19 +1379,7 @@ func main() {
cloudNetworkN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
prefix := []string{"Inner_example"} // []string | (optional)
@@ -1421,10 +1387,11 @@ func main() {
q := "q_example" // string | Search (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CloudAPI.CloudCloudNetworkPrefixAssignmentsList(context.Background()).CloudNetwork(cloudNetwork).CloudNetworkN(cloudNetworkN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Offset(offset).Prefix(prefix).PrefixN(prefixN).Q(q).Sort(sort).Depth(depth).Execute()
+ resp, r, err := apiClient.CloudAPI.CloudCloudNetworkPrefixAssignmentsList(context.Background()).CloudNetwork(cloudNetwork).CloudNetworkN(cloudNetworkN).Format(format).Id(id).IdN(idN).Limit(limit).Offset(offset).Prefix(prefix).PrefixN(prefixN).Q(q).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CloudAPI.CloudCloudNetworkPrefixAssignmentsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -1449,19 +1416,7 @@ Name | Type | Description | Notes
**cloudNetworkN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**prefix** | **[]string** | |
@@ -1469,6 +1424,7 @@ Name | Type | Description | Notes
**q** | **string** | Search |
**sort** | **string** | Which field to use when ordering the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -1488,158 +1444,6 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## CloudCloudNetworkPrefixAssignmentsNotesCreate
-
-> Note CloudCloudNetworkPrefixAssignmentsNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this cloud network prefix assignment.
- noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CloudAPI.CloudCloudNetworkPrefixAssignmentsNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `CloudAPI.CloudCloudNetworkPrefixAssignmentsNotesCreate``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `CloudCloudNetworkPrefixAssignmentsNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `CloudAPI.CloudCloudNetworkPrefixAssignmentsNotesCreate`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this cloud network prefix assignment. |
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiCloudCloudNetworkPrefixAssignmentsNotesCreateRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-
- **noteInputRequest** | [**NoteInputRequest**](NoteInputRequest.md) | |
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
-
-### Return type
-
-[**Note**](Note.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: application/json, text/csv
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## CloudCloudNetworkPrefixAssignmentsNotesList
-
-> PaginatedNoteList CloudCloudNetworkPrefixAssignmentsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this cloud network prefix assignment.
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- limit := int32(56) // int32 | Number of results to return per page. (optional)
- offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CloudAPI.CloudCloudNetworkPrefixAssignmentsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `CloudAPI.CloudCloudNetworkPrefixAssignmentsNotesList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `CloudCloudNetworkPrefixAssignmentsNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `CloudAPI.CloudCloudNetworkPrefixAssignmentsNotesList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this cloud network prefix assignment. |
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiCloudCloudNetworkPrefixAssignmentsNotesListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **limit** | **int32** | Number of results to return per page. |
- **offset** | **int32** | The initial index from which to return the results. |
- **depth** | **int32** | Serializer Depth | [default to 1]
-
-### Return type
-
-[**PaginatedNoteList**](PaginatedNoteList.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
## CloudCloudNetworkPrefixAssignmentsPartialUpdate
> CloudNetworkPrefixAssignment CloudCloudNetworkPrefixAssignmentsPartialUpdate(ctx, id).Format(format).PatchedCloudNetworkPrefixAssignmentRequest(patchedCloudNetworkPrefixAssignmentRequest).Execute()
@@ -1716,7 +1520,7 @@ Name | Type | Description | Notes
## CloudCloudNetworkPrefixAssignmentsRetrieve
-> CloudNetworkPrefixAssignment CloudCloudNetworkPrefixAssignmentsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> CloudNetworkPrefixAssignment CloudCloudNetworkPrefixAssignmentsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -1738,10 +1542,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this cloud network prefix assignment.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CloudAPI.CloudCloudNetworkPrefixAssignmentsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.CloudAPI.CloudCloudNetworkPrefixAssignmentsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CloudAPI.CloudCloudNetworkPrefixAssignmentsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -1769,6 +1574,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -2204,7 +2010,7 @@ Name | Type | Description | Notes
## CloudCloudNetworksList
-> PaginatedCloudNetworkList CloudCloudNetworksList(ctx).CloudAccount(cloudAccount).CloudAccountN(cloudAccountN).CloudResourceType(cloudResourceType).CloudResourceTypeN(cloudResourceTypeN).CloudServices(cloudServices).CloudServicesIsnull(cloudServicesIsnull).CloudServicesN(cloudServicesN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).Prefixes(prefixes).PrefixesN(prefixesN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedCloudNetworkList CloudCloudNetworksList(ctx).CloudAccount(cloudAccount).CloudAccountN(cloudAccountN).CloudResourceType(cloudResourceType).CloudResourceTypeN(cloudResourceTypeN).CloudServices(cloudServices).CloudServicesIsnull(cloudServicesIsnull).CloudServicesN(cloudServicesN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).Prefixes(prefixes).PrefixesN(prefixesN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -2233,7 +2039,7 @@ func main() {
cloudServicesN := []string{"Inner_example"} // []string | (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -2256,22 +2062,10 @@ func main() {
descriptionNre := []string{"Inner_example"} // []string | (optional)
descriptionRe := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -2307,12 +2101,13 @@ func main() {
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CloudAPI.CloudCloudNetworksList(context.Background()).CloudAccount(cloudAccount).CloudAccountN(cloudAccountN).CloudResourceType(cloudResourceType).CloudResourceTypeN(cloudResourceTypeN).CloudServices(cloudServices).CloudServicesIsnull(cloudServicesIsnull).CloudServicesN(cloudServicesN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).Prefixes(prefixes).PrefixesN(prefixesN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.CloudAPI.CloudCloudNetworksList(context.Background()).CloudAccount(cloudAccount).CloudAccountN(cloudAccountN).CloudResourceType(cloudResourceType).CloudResourceTypeN(cloudResourceTypeN).CloudServices(cloudServices).CloudServicesIsnull(cloudServicesIsnull).CloudServicesN(cloudServicesN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).Prefixes(prefixes).PrefixesN(prefixesN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CloudAPI.CloudCloudNetworksList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -2342,7 +2137,7 @@ Name | Type | Description | Notes
**cloudServicesN** | **[]string** | |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -2365,22 +2160,10 @@ Name | Type | Description | Notes
**descriptionNre** | **[]string** | |
**descriptionRe** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -2416,8 +2199,9 @@ Name | Type | Description | Notes
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -2513,7 +2297,7 @@ Name | Type | Description | Notes
## CloudCloudNetworksNotesList
-> PaginatedNoteList CloudCloudNetworksNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList CloudCloudNetworksNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -2537,10 +2321,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CloudAPI.CloudCloudNetworksNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.CloudAPI.CloudCloudNetworksNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CloudAPI.CloudCloudNetworksNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -2570,6 +2355,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -2665,7 +2451,7 @@ Name | Type | Description | Notes
## CloudCloudNetworksRetrieve
-> CloudNetwork CloudCloudNetworksRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> CloudNetwork CloudCloudNetworksRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -2687,10 +2473,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this cloud network.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CloudAPI.CloudCloudNetworksRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.CloudAPI.CloudCloudNetworksRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CloudAPI.CloudCloudNetworksRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -2718,6 +2505,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -3153,7 +2941,7 @@ Name | Type | Description | Notes
## CloudCloudResourceTypesList
-> PaginatedCloudResourceTypeList CloudCloudResourceTypesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesIc(contentTypesIc).ContentTypesIe(contentTypesIe).ContentTypesIew(contentTypesIew).ContentTypesIre(contentTypesIre).ContentTypesIsw(contentTypesIsw).ContentTypesN(contentTypesN).ContentTypesNic(contentTypesNic).ContentTypesNie(contentTypesNie).ContentTypesNiew(contentTypesNiew).ContentTypesNire(contentTypesNire).ContentTypesNisw(contentTypesNisw).ContentTypesNre(contentTypesNre).ContentTypesRe(contentTypesRe).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Provider(provider).ProviderN(providerN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedCloudResourceTypeList CloudCloudResourceTypesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesN(contentTypesN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Provider(provider).ProviderN(providerN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -3175,21 +2963,9 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
contentTypes := []int32{int32(123)} // []int32 | (optional)
- contentTypesIc := []int32{int32(123)} // []int32 | (optional)
- contentTypesIe := []int32{int32(123)} // []int32 | (optional)
- contentTypesIew := []int32{int32(123)} // []int32 | (optional)
- contentTypesIre := []int32{int32(123)} // []int32 | (optional)
- contentTypesIsw := []int32{int32(123)} // []int32 | (optional)
contentTypesN := []int32{int32(123)} // []int32 | (optional)
- contentTypesNic := []int32{int32(123)} // []int32 | (optional)
- contentTypesNie := []int32{int32(123)} // []int32 | (optional)
- contentTypesNiew := []int32{int32(123)} // []int32 | (optional)
- contentTypesNire := []int32{int32(123)} // []int32 | (optional)
- contentTypesNisw := []int32{int32(123)} // []int32 | (optional)
- contentTypesNre := []int32{int32(123)} // []int32 | (optional)
- contentTypesRe := []int32{int32(123)} // []int32 | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -3212,22 +2988,10 @@ func main() {
descriptionNre := []string{"Inner_example"} // []string | (optional)
descriptionRe := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -3260,12 +3024,13 @@ func main() {
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CloudAPI.CloudCloudResourceTypesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesIc(contentTypesIc).ContentTypesIe(contentTypesIe).ContentTypesIew(contentTypesIew).ContentTypesIre(contentTypesIre).ContentTypesIsw(contentTypesIsw).ContentTypesN(contentTypesN).ContentTypesNic(contentTypesNic).ContentTypesNie(contentTypesNie).ContentTypesNiew(contentTypesNiew).ContentTypesNire(contentTypesNire).ContentTypesNisw(contentTypesNisw).ContentTypesNre(contentTypesNre).ContentTypesRe(contentTypesRe).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Provider(provider).ProviderN(providerN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.CloudAPI.CloudCloudResourceTypesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesN(contentTypesN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Provider(provider).ProviderN(providerN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CloudAPI.CloudCloudResourceTypesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -3288,21 +3053,9 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**contentTypes** | **[]int32** | |
- **contentTypesIc** | **[]int32** | |
- **contentTypesIe** | **[]int32** | |
- **contentTypesIew** | **[]int32** | |
- **contentTypesIre** | **[]int32** | |
- **contentTypesIsw** | **[]int32** | |
**contentTypesN** | **[]int32** | |
- **contentTypesNic** | **[]int32** | |
- **contentTypesNie** | **[]int32** | |
- **contentTypesNiew** | **[]int32** | |
- **contentTypesNire** | **[]int32** | |
- **contentTypesNisw** | **[]int32** | |
- **contentTypesNre** | **[]int32** | |
- **contentTypesRe** | **[]int32** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -3325,22 +3078,10 @@ Name | Type | Description | Notes
**descriptionNre** | **[]string** | |
**descriptionRe** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -3373,8 +3114,9 @@ Name | Type | Description | Notes
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -3470,7 +3212,7 @@ Name | Type | Description | Notes
## CloudCloudResourceTypesNotesList
-> PaginatedNoteList CloudCloudResourceTypesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList CloudCloudResourceTypesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -3494,10 +3236,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CloudAPI.CloudCloudResourceTypesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.CloudAPI.CloudCloudResourceTypesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CloudAPI.CloudCloudResourceTypesNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -3527,6 +3270,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -3622,7 +3366,7 @@ Name | Type | Description | Notes
## CloudCloudResourceTypesRetrieve
-> CloudResourceType CloudCloudResourceTypesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> CloudResourceType CloudCloudResourceTypesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -3644,10 +3388,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this cloud resource type.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CloudAPI.CloudCloudResourceTypesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.CloudAPI.CloudCloudResourceTypesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CloudAPI.CloudCloudResourceTypesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -3675,6 +3420,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -4110,7 +3856,7 @@ Name | Type | Description | Notes
## CloudCloudServiceNetworkAssignmentsList
-> PaginatedCloudServiceNetworkAssignmentList CloudCloudServiceNetworkAssignmentsList(ctx).CloudNetwork(cloudNetwork).CloudNetworkN(cloudNetworkN).CloudService(cloudService).CloudServiceN(cloudServiceN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Offset(offset).Q(q).Sort(sort).Depth(depth).Execute()
+> PaginatedCloudServiceNetworkAssignmentList CloudCloudServiceNetworkAssignmentsList(ctx).CloudNetwork(cloudNetwork).CloudNetworkN(cloudNetworkN).CloudService(cloudService).CloudServiceN(cloudServiceN).Format(format).Id(id).IdN(idN).Limit(limit).Offset(offset).Q(q).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -4135,28 +3881,17 @@ func main() {
cloudServiceN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
q := "q_example" // string | Search (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CloudAPI.CloudCloudServiceNetworkAssignmentsList(context.Background()).CloudNetwork(cloudNetwork).CloudNetworkN(cloudNetworkN).CloudService(cloudService).CloudServiceN(cloudServiceN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Offset(offset).Q(q).Sort(sort).Depth(depth).Execute()
+ resp, r, err := apiClient.CloudAPI.CloudCloudServiceNetworkAssignmentsList(context.Background()).CloudNetwork(cloudNetwork).CloudNetworkN(cloudNetworkN).CloudService(cloudService).CloudServiceN(cloudServiceN).Format(format).Id(id).IdN(idN).Limit(limit).Offset(offset).Q(q).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CloudAPI.CloudCloudServiceNetworkAssignmentsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -4183,24 +3918,13 @@ Name | Type | Description | Notes
**cloudServiceN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**q** | **string** | Search |
**sort** | **string** | Which field to use when ordering the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -4220,158 +3944,6 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## CloudCloudServiceNetworkAssignmentsNotesCreate
-
-> Note CloudCloudServiceNetworkAssignmentsNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this cloud service network assignment.
- noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CloudAPI.CloudCloudServiceNetworkAssignmentsNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `CloudAPI.CloudCloudServiceNetworkAssignmentsNotesCreate``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `CloudCloudServiceNetworkAssignmentsNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `CloudAPI.CloudCloudServiceNetworkAssignmentsNotesCreate`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this cloud service network assignment. |
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiCloudCloudServiceNetworkAssignmentsNotesCreateRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-
- **noteInputRequest** | [**NoteInputRequest**](NoteInputRequest.md) | |
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
-
-### Return type
-
-[**Note**](Note.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: application/json, text/csv
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## CloudCloudServiceNetworkAssignmentsNotesList
-
-> PaginatedNoteList CloudCloudServiceNetworkAssignmentsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this cloud service network assignment.
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- limit := int32(56) // int32 | Number of results to return per page. (optional)
- offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CloudAPI.CloudCloudServiceNetworkAssignmentsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `CloudAPI.CloudCloudServiceNetworkAssignmentsNotesList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `CloudCloudServiceNetworkAssignmentsNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `CloudAPI.CloudCloudServiceNetworkAssignmentsNotesList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this cloud service network assignment. |
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiCloudCloudServiceNetworkAssignmentsNotesListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **limit** | **int32** | Number of results to return per page. |
- **offset** | **int32** | The initial index from which to return the results. |
- **depth** | **int32** | Serializer Depth | [default to 1]
-
-### Return type
-
-[**PaginatedNoteList**](PaginatedNoteList.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
## CloudCloudServiceNetworkAssignmentsPartialUpdate
> CloudServiceNetworkAssignment CloudCloudServiceNetworkAssignmentsPartialUpdate(ctx, id).Format(format).PatchedCloudServiceNetworkAssignmentRequest(patchedCloudServiceNetworkAssignmentRequest).Execute()
@@ -4448,7 +4020,7 @@ Name | Type | Description | Notes
## CloudCloudServiceNetworkAssignmentsRetrieve
-> CloudServiceNetworkAssignment CloudCloudServiceNetworkAssignmentsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> CloudServiceNetworkAssignment CloudCloudServiceNetworkAssignmentsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -4470,10 +4042,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this cloud service network assignment.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CloudAPI.CloudCloudServiceNetworkAssignmentsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.CloudAPI.CloudCloudServiceNetworkAssignmentsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CloudAPI.CloudCloudServiceNetworkAssignmentsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -4501,6 +4074,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -4936,7 +4510,7 @@ Name | Type | Description | Notes
## CloudCloudServicesList
-> PaginatedCloudServiceList CloudCloudServicesList(ctx).CloudAccount(cloudAccount).CloudAccountIsnull(cloudAccountIsnull).CloudAccountN(cloudAccountN).CloudNetworks(cloudNetworks).CloudNetworksN(cloudNetworksN).CloudResourceType(cloudResourceType).CloudResourceTypeN(cloudResourceTypeN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedCloudServiceList CloudCloudServicesList(ctx).CloudAccount(cloudAccount).CloudAccountIsnull(cloudAccountIsnull).CloudAccountN(cloudAccountN).CloudNetworks(cloudNetworks).CloudNetworksN(cloudNetworksN).CloudResourceType(cloudResourceType).CloudResourceTypeN(cloudResourceTypeN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -4965,7 +4539,7 @@ func main() {
cloudResourceTypeN := []string{"Inner_example"} // []string | (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -4988,22 +4562,10 @@ func main() {
descriptionNre := []string{"Inner_example"} // []string | (optional)
descriptionRe := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -5034,12 +4596,13 @@ func main() {
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CloudAPI.CloudCloudServicesList(context.Background()).CloudAccount(cloudAccount).CloudAccountIsnull(cloudAccountIsnull).CloudAccountN(cloudAccountN).CloudNetworks(cloudNetworks).CloudNetworksN(cloudNetworksN).CloudResourceType(cloudResourceType).CloudResourceTypeN(cloudResourceTypeN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.CloudAPI.CloudCloudServicesList(context.Background()).CloudAccount(cloudAccount).CloudAccountIsnull(cloudAccountIsnull).CloudAccountN(cloudAccountN).CloudNetworks(cloudNetworks).CloudNetworksN(cloudNetworksN).CloudResourceType(cloudResourceType).CloudResourceTypeN(cloudResourceTypeN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CloudAPI.CloudCloudServicesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -5069,7 +4632,7 @@ Name | Type | Description | Notes
**cloudResourceTypeN** | **[]string** | |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -5092,22 +4655,10 @@ Name | Type | Description | Notes
**descriptionNre** | **[]string** | |
**descriptionRe** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -5138,8 +4689,9 @@ Name | Type | Description | Notes
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -5235,7 +4787,7 @@ Name | Type | Description | Notes
## CloudCloudServicesNotesList
-> PaginatedNoteList CloudCloudServicesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList CloudCloudServicesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -5259,10 +4811,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CloudAPI.CloudCloudServicesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.CloudAPI.CloudCloudServicesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CloudAPI.CloudCloudServicesNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -5292,6 +4845,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -5387,7 +4941,7 @@ Name | Type | Description | Notes
## CloudCloudServicesRetrieve
-> CloudService CloudCloudServicesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> CloudService CloudCloudServicesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -5409,10 +4963,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this cloud service.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.CloudAPI.CloudCloudServicesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.CloudAPI.CloudCloudServicesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `CloudAPI.CloudCloudServicesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -5440,6 +4995,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
diff --git a/docs/CloudAccount.md b/docs/CloudAccount.md
index 4dd29672..667b76ff 100644
--- a/docs/CloudAccount.md
+++ b/docs/CloudAccount.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -24,7 +24,7 @@ Name | Type | Description | Notes
### NewCloudAccount
-`func NewCloudAccount(id string, objectType string, display string, url string, naturalSlug string, name string, accountNumber string, provider BulkWritableCloudAccountRequestProvider, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *CloudAccount`
+`func NewCloudAccount(objectType string, display string, url string, naturalSlug string, name string, accountNumber string, provider BulkWritableCloudAccountRequestProvider, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *CloudAccount`
NewCloudAccount instantiates a new CloudAccount object
This constructor will assign default values to properties that have it defined,
@@ -58,6 +58,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *CloudAccount) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/CloudAccountRequest.md b/docs/CloudAccountRequest.md
index 1482a61b..18a93129 100644
--- a/docs/CloudAccountRequest.md
+++ b/docs/CloudAccountRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**Name** | **string** | The name of this Cloud Account. |
**Description** | Pointer to **string** | | [optional]
**AccountNumber** | **string** | The account identifier of this Cloud Account. |
@@ -32,6 +33,31 @@ NewCloudAccountRequestWithDefaults instantiates a new CloudAccountRequest object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *CloudAccountRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *CloudAccountRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *CloudAccountRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *CloudAccountRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetName
`func (o *CloudAccountRequest) GetName() string`
diff --git a/docs/CloudNetwork.md b/docs/CloudNetwork.md
index 1ee81862..088767f3 100644
--- a/docs/CloudNetwork.md
+++ b/docs/CloudNetwork.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -26,7 +26,7 @@ Name | Type | Description | Notes
### NewCloudNetwork
-`func NewCloudNetwork(id string, objectType string, display string, url string, naturalSlug string, name string, cloudResourceType BulkWritableCableRequestStatus, cloudAccount BulkWritableCableRequestStatus, prefixes []BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *CloudNetwork`
+`func NewCloudNetwork(objectType string, display string, url string, naturalSlug string, name string, cloudResourceType BulkWritableCableRequestStatus, cloudAccount BulkWritableCableRequestStatus, prefixes []BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *CloudNetwork`
NewCloudNetwork instantiates a new CloudNetwork object
This constructor will assign default values to properties that have it defined,
@@ -60,6 +60,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *CloudNetwork) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/CloudNetworkPrefixAssignment.md b/docs/CloudNetworkPrefixAssignment.md
index 741a41b1..2e950582 100644
--- a/docs/CloudNetworkPrefixAssignment.md
+++ b/docs/CloudNetworkPrefixAssignment.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
### NewCloudNetworkPrefixAssignment
-`func NewCloudNetworkPrefixAssignment(id string, objectType string, display string, url string, naturalSlug string, cloudNetwork BulkWritableCableRequestStatus, prefix BulkWritableCableRequestStatus, ) *CloudNetworkPrefixAssignment`
+`func NewCloudNetworkPrefixAssignment(objectType string, display string, url string, naturalSlug string, cloudNetwork BulkWritableCableRequestStatus, prefix BulkWritableCableRequestStatus, ) *CloudNetworkPrefixAssignment`
NewCloudNetworkPrefixAssignment instantiates a new CloudNetworkPrefixAssignment object
This constructor will assign default values to properties that have it defined,
@@ -50,6 +50,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *CloudNetworkPrefixAssignment) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/CloudNetworkPrefixAssignmentRequest.md b/docs/CloudNetworkPrefixAssignmentRequest.md
index 84be0dd4..10fe2c9a 100644
--- a/docs/CloudNetworkPrefixAssignmentRequest.md
+++ b/docs/CloudNetworkPrefixAssignmentRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**CloudNetwork** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
**Prefix** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
@@ -26,6 +27,31 @@ NewCloudNetworkPrefixAssignmentRequestWithDefaults instantiates a new CloudNetwo
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *CloudNetworkPrefixAssignmentRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *CloudNetworkPrefixAssignmentRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *CloudNetworkPrefixAssignmentRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *CloudNetworkPrefixAssignmentRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetCloudNetwork
`func (o *CloudNetworkPrefixAssignmentRequest) GetCloudNetwork() BulkWritableCableRequestStatus`
diff --git a/docs/CloudNetworkRequest.md b/docs/CloudNetworkRequest.md
index 37654e6c..d189994e 100644
--- a/docs/CloudNetworkRequest.md
+++ b/docs/CloudNetworkRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**ExtraConfig** | Pointer to **interface{}** | | [optional]
**Name** | **string** | |
**Description** | Pointer to **string** | | [optional]
@@ -33,6 +34,31 @@ NewCloudNetworkRequestWithDefaults instantiates a new CloudNetworkRequest object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *CloudNetworkRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *CloudNetworkRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *CloudNetworkRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *CloudNetworkRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetExtraConfig
`func (o *CloudNetworkRequest) GetExtraConfig() interface{}`
diff --git a/docs/CloudResourceType.md b/docs/CloudResourceType.md
index a73ea5c2..0d22f786 100644
--- a/docs/CloudResourceType.md
+++ b/docs/CloudResourceType.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -24,7 +24,7 @@ Name | Type | Description | Notes
### NewCloudResourceType
-`func NewCloudResourceType(id string, objectType string, display string, url string, naturalSlug string, contentTypes []string, name string, provider BulkWritableCloudAccountRequestProvider, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *CloudResourceType`
+`func NewCloudResourceType(objectType string, display string, url string, naturalSlug string, contentTypes []string, name string, provider BulkWritableCloudAccountRequestProvider, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *CloudResourceType`
NewCloudResourceType instantiates a new CloudResourceType object
This constructor will assign default values to properties that have it defined,
@@ -58,6 +58,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *CloudResourceType) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/CloudResourceTypeRequest.md b/docs/CloudResourceTypeRequest.md
index 74e33219..5a926fac 100644
--- a/docs/CloudResourceTypeRequest.md
+++ b/docs/CloudResourceTypeRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**ContentTypes** | **[]string** | |
**Name** | **string** | Type of cloud objects |
**Description** | Pointer to **string** | | [optional]
@@ -32,6 +33,31 @@ NewCloudResourceTypeRequestWithDefaults instantiates a new CloudResourceTypeRequ
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *CloudResourceTypeRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *CloudResourceTypeRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *CloudResourceTypeRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *CloudResourceTypeRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetContentTypes
`func (o *CloudResourceTypeRequest) GetContentTypes() []string`
diff --git a/docs/CloudService.md b/docs/CloudService.md
index 907a163e..1af9e070 100644
--- a/docs/CloudService.md
+++ b/docs/CloudService.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -25,7 +25,7 @@ Name | Type | Description | Notes
### NewCloudService
-`func NewCloudService(id string, objectType string, display string, url string, naturalSlug string, name string, cloudResourceType BulkWritableCableRequestStatus, cloudNetworks []BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *CloudService`
+`func NewCloudService(objectType string, display string, url string, naturalSlug string, name string, cloudResourceType BulkWritableCableRequestStatus, cloudNetworks []BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *CloudService`
NewCloudService instantiates a new CloudService object
This constructor will assign default values to properties that have it defined,
@@ -59,6 +59,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *CloudService) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/CloudServiceNetworkAssignment.md b/docs/CloudServiceNetworkAssignment.md
index 5c0670e6..d674c03e 100644
--- a/docs/CloudServiceNetworkAssignment.md
+++ b/docs/CloudServiceNetworkAssignment.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
### NewCloudServiceNetworkAssignment
-`func NewCloudServiceNetworkAssignment(id string, objectType string, display string, url string, naturalSlug string, cloudNetwork BulkWritableCableRequestStatus, cloudService BulkWritableCableRequestStatus, ) *CloudServiceNetworkAssignment`
+`func NewCloudServiceNetworkAssignment(objectType string, display string, url string, naturalSlug string, cloudNetwork BulkWritableCableRequestStatus, cloudService BulkWritableCableRequestStatus, ) *CloudServiceNetworkAssignment`
NewCloudServiceNetworkAssignment instantiates a new CloudServiceNetworkAssignment object
This constructor will assign default values to properties that have it defined,
@@ -50,6 +50,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *CloudServiceNetworkAssignment) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/CloudServiceNetworkAssignmentRequest.md b/docs/CloudServiceNetworkAssignmentRequest.md
index 1438a5c0..6fc43840 100644
--- a/docs/CloudServiceNetworkAssignmentRequest.md
+++ b/docs/CloudServiceNetworkAssignmentRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**CloudNetwork** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
**CloudService** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
@@ -26,6 +27,31 @@ NewCloudServiceNetworkAssignmentRequestWithDefaults instantiates a new CloudServ
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *CloudServiceNetworkAssignmentRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *CloudServiceNetworkAssignmentRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *CloudServiceNetworkAssignmentRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *CloudServiceNetworkAssignmentRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetCloudNetwork
`func (o *CloudServiceNetworkAssignmentRequest) GetCloudNetwork() BulkWritableCableRequestStatus`
diff --git a/docs/CloudServiceRequest.md b/docs/CloudServiceRequest.md
index 1c61e7c7..98215666 100644
--- a/docs/CloudServiceRequest.md
+++ b/docs/CloudServiceRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**ExtraConfig** | Pointer to **interface{}** | | [optional]
**Name** | **string** | |
**Description** | Pointer to **string** | | [optional]
@@ -32,6 +33,31 @@ NewCloudServiceRequestWithDefaults instantiates a new CloudServiceRequest object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *CloudServiceRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *CloudServiceRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *CloudServiceRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *CloudServiceRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetExtraConfig
`func (o *CloudServiceRequest) GetExtraConfig() interface{}`
diff --git a/docs/Cluster.md b/docs/Cluster.md
index 9a211015..457a7a7d 100644
--- a/docs/Cluster.md
+++ b/docs/Cluster.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -27,7 +27,7 @@ Name | Type | Description | Notes
### NewCluster
-`func NewCluster(id string, objectType string, display string, url string, naturalSlug string, name string, clusterType BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Cluster`
+`func NewCluster(objectType string, display string, url string, naturalSlug string, name string, clusterType BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Cluster`
NewCluster instantiates a new Cluster object
This constructor will assign default values to properties that have it defined,
@@ -61,6 +61,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *Cluster) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/ClusterGroup.md b/docs/ClusterGroup.md
index 2f5e559c..999fac57 100644
--- a/docs/ClusterGroup.md
+++ b/docs/ClusterGroup.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -21,7 +21,7 @@ Name | Type | Description | Notes
### NewClusterGroup
-`func NewClusterGroup(id string, objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *ClusterGroup`
+`func NewClusterGroup(objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *ClusterGroup`
NewClusterGroup instantiates a new ClusterGroup object
This constructor will assign default values to properties that have it defined,
@@ -55,6 +55,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *ClusterGroup) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/ClusterGroupRequest.md b/docs/ClusterGroupRequest.md
index 64ba691a..0c6eee9d 100644
--- a/docs/ClusterGroupRequest.md
+++ b/docs/ClusterGroupRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**Name** | **string** | |
**Description** | Pointer to **string** | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
@@ -28,6 +29,31 @@ NewClusterGroupRequestWithDefaults instantiates a new ClusterGroupRequest object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *ClusterGroupRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *ClusterGroupRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *ClusterGroupRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *ClusterGroupRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetName
`func (o *ClusterGroupRequest) GetName() string`
diff --git a/docs/ClusterRequest.md b/docs/ClusterRequest.md
index c4e01e9b..34c87810 100644
--- a/docs/ClusterRequest.md
+++ b/docs/ClusterRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**Name** | **string** | |
**Comments** | Pointer to **string** | | [optional]
**ClusterType** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
@@ -33,6 +34,31 @@ NewClusterRequestWithDefaults instantiates a new ClusterRequest object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *ClusterRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *ClusterRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *ClusterRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *ClusterRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetName
`func (o *ClusterRequest) GetName() string`
diff --git a/docs/ClusterType.md b/docs/ClusterType.md
index 01075b6a..49ee27f4 100644
--- a/docs/ClusterType.md
+++ b/docs/ClusterType.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -21,7 +21,7 @@ Name | Type | Description | Notes
### NewClusterType
-`func NewClusterType(id string, objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *ClusterType`
+`func NewClusterType(objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *ClusterType`
NewClusterType instantiates a new ClusterType object
This constructor will assign default values to properties that have it defined,
@@ -55,6 +55,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *ClusterType) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/ClusterTypeRequest.md b/docs/ClusterTypeRequest.md
index e7a634e0..0a94e87a 100644
--- a/docs/ClusterTypeRequest.md
+++ b/docs/ClusterTypeRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**Name** | **string** | |
**Description** | Pointer to **string** | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
@@ -28,6 +29,31 @@ NewClusterTypeRequestWithDefaults instantiates a new ClusterTypeRequest object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *ClusterTypeRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *ClusterTypeRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *ClusterTypeRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *ClusterTypeRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetName
`func (o *ClusterTypeRequest) GetName() string`
diff --git a/docs/ComputedField.md b/docs/ComputedField.md
index 0e7d6847..71220796 100644
--- a/docs/ComputedField.md
+++ b/docs/ComputedField.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -26,7 +26,7 @@ Name | Type | Description | Notes
### NewComputedField
-`func NewComputedField(id string, objectType string, display string, url string, naturalSlug string, contentType string, label string, template string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *ComputedField`
+`func NewComputedField(objectType string, display string, url string, naturalSlug string, contentType string, label string, template string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *ComputedField`
NewComputedField instantiates a new ComputedField object
This constructor will assign default values to properties that have it defined,
@@ -60,6 +60,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *ComputedField) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/ComputedFieldRequest.md b/docs/ComputedFieldRequest.md
index 43e55539..54c5b8be 100644
--- a/docs/ComputedFieldRequest.md
+++ b/docs/ComputedFieldRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**ContentType** | **string** | |
**Key** | Pointer to **string** | Internal field name. Please use underscores rather than dashes in this key. | [optional]
**Grouping** | Pointer to **string** | Human-readable grouping that this computed field belongs to. | [optional]
@@ -33,6 +34,31 @@ NewComputedFieldRequestWithDefaults instantiates a new ComputedFieldRequest obje
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *ComputedFieldRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *ComputedFieldRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *ComputedFieldRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *ComputedFieldRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetContentType
`func (o *ComputedFieldRequest) GetContentType() string`
diff --git a/docs/ConfigContext.md b/docs/ConfigContext.md
index 758fd682..eca2414e 100644
--- a/docs/ConfigContext.md
+++ b/docs/ConfigContext.md
@@ -4,13 +4,13 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
**NaturalSlug** | **string** | | [readonly]
**OwnerContentType** | Pointer to **NullableString** | | [optional]
-**Owner** | [**NullableConfigContextOwner**](ConfigContextOwner.md) | | [readonly]
+**Owner** | [**NullableNestedGitRepository**](NestedGitRepository.md) | | [readonly]
**Name** | **string** | |
**OwnerObjectId** | Pointer to **NullableString** | | [optional]
**Weight** | Pointer to **int32** | | [optional]
@@ -36,7 +36,7 @@ Name | Type | Description | Notes
### NewConfigContext
-`func NewConfigContext(id string, objectType string, display string, url string, naturalSlug string, owner NullableConfigContextOwner, name string, data interface{}, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *ConfigContext`
+`func NewConfigContext(objectType string, display string, url string, naturalSlug string, owner NullableNestedGitRepository, name string, data interface{}, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *ConfigContext`
NewConfigContext instantiates a new ConfigContext object
This constructor will assign default values to properties that have it defined,
@@ -70,6 +70,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *ConfigContext) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
@@ -188,20 +193,20 @@ HasOwnerContentType returns a boolean if a field has been set.
UnsetOwnerContentType ensures that no value is present for OwnerContentType, not even an explicit nil
### GetOwner
-`func (o *ConfigContext) GetOwner() ConfigContextOwner`
+`func (o *ConfigContext) GetOwner() NestedGitRepository`
GetOwner returns the Owner field if non-nil, zero value otherwise.
### GetOwnerOk
-`func (o *ConfigContext) GetOwnerOk() (*ConfigContextOwner, bool)`
+`func (o *ConfigContext) GetOwnerOk() (*NestedGitRepository, bool)`
GetOwnerOk returns a tuple with the Owner field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetOwner
-`func (o *ConfigContext) SetOwner(v ConfigContextOwner)`
+`func (o *ConfigContext) SetOwner(v NestedGitRepository)`
SetOwner sets Owner field to given value.
diff --git a/docs/ConfigContextRequest.md b/docs/ConfigContextRequest.md
index 8414aa1d..e4b35c5a 100644
--- a/docs/ConfigContextRequest.md
+++ b/docs/ConfigContextRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**OwnerContentType** | Pointer to **NullableString** | | [optional]
**Name** | **string** | |
**OwnerObjectId** | Pointer to **NullableString** | | [optional]
@@ -42,6 +43,31 @@ NewConfigContextRequestWithDefaults instantiates a new ConfigContextRequest obje
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *ConfigContextRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *ConfigContextRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *ConfigContextRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *ConfigContextRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetOwnerContentType
`func (o *ConfigContextRequest) GetOwnerContentType() string`
diff --git a/docs/ConfigContextSchema.md b/docs/ConfigContextSchema.md
index 1e0de335..6ff7dffd 100644
--- a/docs/ConfigContextSchema.md
+++ b/docs/ConfigContextSchema.md
@@ -4,13 +4,13 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
**NaturalSlug** | **string** | | [readonly]
**OwnerContentType** | Pointer to **NullableString** | | [optional]
-**Owner** | [**NullableConfigContextSchemaOwner**](ConfigContextSchemaOwner.md) | | [readonly]
+**Owner** | [**NullableNestedGitRepository**](NestedGitRepository.md) | | [readonly]
**Name** | **string** | |
**Description** | Pointer to **string** | | [optional]
**DataSchema** | **interface{}** | A JSON Schema document which is used to validate a config context object. |
@@ -24,7 +24,7 @@ Name | Type | Description | Notes
### NewConfigContextSchema
-`func NewConfigContextSchema(id string, objectType string, display string, url string, naturalSlug string, owner NullableConfigContextSchemaOwner, name string, dataSchema interface{}, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *ConfigContextSchema`
+`func NewConfigContextSchema(objectType string, display string, url string, naturalSlug string, owner NullableNestedGitRepository, name string, dataSchema interface{}, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *ConfigContextSchema`
NewConfigContextSchema instantiates a new ConfigContextSchema object
This constructor will assign default values to properties that have it defined,
@@ -58,6 +58,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *ConfigContextSchema) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
@@ -176,20 +181,20 @@ HasOwnerContentType returns a boolean if a field has been set.
UnsetOwnerContentType ensures that no value is present for OwnerContentType, not even an explicit nil
### GetOwner
-`func (o *ConfigContextSchema) GetOwner() ConfigContextSchemaOwner`
+`func (o *ConfigContextSchema) GetOwner() NestedGitRepository`
GetOwner returns the Owner field if non-nil, zero value otherwise.
### GetOwnerOk
-`func (o *ConfigContextSchema) GetOwnerOk() (*ConfigContextSchemaOwner, bool)`
+`func (o *ConfigContextSchema) GetOwnerOk() (*NestedGitRepository, bool)`
GetOwnerOk returns a tuple with the Owner field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetOwner
-`func (o *ConfigContextSchema) SetOwner(v ConfigContextSchemaOwner)`
+`func (o *ConfigContextSchema) SetOwner(v NestedGitRepository)`
SetOwner sets Owner field to given value.
diff --git a/docs/ConfigContextSchemaRequest.md b/docs/ConfigContextSchemaRequest.md
index 7d38829f..7da42f4a 100644
--- a/docs/ConfigContextSchemaRequest.md
+++ b/docs/ConfigContextSchemaRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**OwnerContentType** | Pointer to **NullableString** | | [optional]
**Name** | **string** | |
**Description** | Pointer to **string** | | [optional]
@@ -31,6 +32,31 @@ NewConfigContextSchemaRequestWithDefaults instantiates a new ConfigContextSchema
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *ConfigContextSchemaRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *ConfigContextSchemaRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *ConfigContextSchemaRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *ConfigContextSchemaRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetOwnerContentType
`func (o *ConfigContextSchemaRequest) GetOwnerContentType() string`
diff --git a/docs/ConsolePort.md b/docs/ConsolePort.md
index e1a0c2d9..9296635d 100644
--- a/docs/ConsolePort.md
+++ b/docs/ConsolePort.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -31,7 +31,7 @@ Name | Type | Description | Notes
### NewConsolePort
-`func NewConsolePort(id string, objectType string, display string, url string, naturalSlug string, cablePeerType NullableString, cablePeer NullableCableTermination, connectedEndpointType NullableString, connectedEndpoint NullablePathEndpoint, connectedEndpointReachable NullableBool, name string, cable NullableCircuitCircuitTerminationA, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *ConsolePort`
+`func NewConsolePort(objectType string, display string, url string, naturalSlug string, cablePeerType NullableString, cablePeer NullableCableTermination, connectedEndpointType NullableString, connectedEndpoint NullablePathEndpoint, connectedEndpointReachable NullableBool, name string, cable NullableCircuitCircuitTerminationA, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *ConsolePort`
NewConsolePort instantiates a new ConsolePort object
This constructor will assign default values to properties that have it defined,
@@ -65,6 +65,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *ConsolePort) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/ConsolePortTemplate.md b/docs/ConsolePortTemplate.md
index aa8f01c3..a2914e95 100644
--- a/docs/ConsolePortTemplate.md
+++ b/docs/ConsolePortTemplate.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -24,7 +24,7 @@ Name | Type | Description | Notes
### NewConsolePortTemplate
-`func NewConsolePortTemplate(id string, objectType string, display string, url string, naturalSlug string, notesUrl string, name string, created NullableTime, lastUpdated NullableTime, ) *ConsolePortTemplate`
+`func NewConsolePortTemplate(objectType string, display string, url string, naturalSlug string, notesUrl string, name string, created NullableTime, lastUpdated NullableTime, ) *ConsolePortTemplate`
NewConsolePortTemplate instantiates a new ConsolePortTemplate object
This constructor will assign default values to properties that have it defined,
@@ -58,6 +58,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *ConsolePortTemplate) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/ConsoleServerPort.md b/docs/ConsoleServerPort.md
index bfb75af8..aa824bed 100644
--- a/docs/ConsoleServerPort.md
+++ b/docs/ConsoleServerPort.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -31,7 +31,7 @@ Name | Type | Description | Notes
### NewConsoleServerPort
-`func NewConsoleServerPort(id string, objectType string, display string, url string, naturalSlug string, cablePeerType NullableString, cablePeer NullableCableTermination, connectedEndpointType NullableString, connectedEndpoint NullablePathEndpoint, connectedEndpointReachable NullableBool, name string, cable NullableCircuitCircuitTerminationA, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *ConsoleServerPort`
+`func NewConsoleServerPort(objectType string, display string, url string, naturalSlug string, cablePeerType NullableString, cablePeer NullableCableTermination, connectedEndpointType NullableString, connectedEndpoint NullablePathEndpoint, connectedEndpointReachable NullableBool, name string, cable NullableCircuitCircuitTerminationA, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *ConsoleServerPort`
NewConsoleServerPort instantiates a new ConsoleServerPort object
This constructor will assign default values to properties that have it defined,
@@ -65,6 +65,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *ConsoleServerPort) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/ConsoleServerPortTemplate.md b/docs/ConsoleServerPortTemplate.md
index 344a9b3f..e5c46af7 100644
--- a/docs/ConsoleServerPortTemplate.md
+++ b/docs/ConsoleServerPortTemplate.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -24,7 +24,7 @@ Name | Type | Description | Notes
### NewConsoleServerPortTemplate
-`func NewConsoleServerPortTemplate(id string, objectType string, display string, url string, naturalSlug string, notesUrl string, name string, created NullableTime, lastUpdated NullableTime, ) *ConsoleServerPortTemplate`
+`func NewConsoleServerPortTemplate(objectType string, display string, url string, naturalSlug string, notesUrl string, name string, created NullableTime, lastUpdated NullableTime, ) *ConsoleServerPortTemplate`
NewConsoleServerPortTemplate instantiates a new ConsoleServerPortTemplate object
This constructor will assign default values to properties that have it defined,
@@ -58,6 +58,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *ConsoleServerPortTemplate) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/Contact.md b/docs/Contact.md
index 0e31efd5..ecf65f1f 100644
--- a/docs/Contact.md
+++ b/docs/Contact.md
@@ -4,12 +4,11 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
**NaturalSlug** | **string** | | [readonly]
-**Teams** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
**Name** | **string** | |
**Phone** | Pointer to **string** | | [optional] [default to ""]
**Email** | Pointer to **string** | | [optional] [default to ""]
@@ -19,12 +18,14 @@ Name | Type | Description | Notes
**LastUpdated** | **NullableTime** | | [readonly]
**NotesUrl** | **string** | | [readonly]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
+**Teams** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
## Methods
### NewContact
-`func NewContact(id string, objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Contact`
+`func NewContact(objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Contact`
NewContact instantiates a new Contact object
This constructor will assign default values to properties that have it defined,
@@ -58,6 +59,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *Contact) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
@@ -139,31 +145,6 @@ and a boolean to check if the value has been set.
SetNaturalSlug sets NaturalSlug field to given value.
-### GetTeams
-
-`func (o *Contact) GetTeams() []BulkWritableCableRequestStatus`
-
-GetTeams returns the Teams field if non-nil, zero value otherwise.
-
-### GetTeamsOk
-
-`func (o *Contact) GetTeamsOk() (*[]BulkWritableCableRequestStatus, bool)`
-
-GetTeamsOk returns a tuple with the Teams field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTeams
-
-`func (o *Contact) SetTeams(v []BulkWritableCableRequestStatus)`
-
-SetTeams sets Teams field to given value.
-
-### HasTeams
-
-`func (o *Contact) HasTeams() bool`
-
-HasTeams returns a boolean if a field has been set.
-
### GetName
`func (o *Contact) GetName() string`
@@ -389,6 +370,56 @@ SetCustomFields sets CustomFields field to given value.
HasCustomFields returns a boolean if a field has been set.
+### GetTags
+
+`func (o *Contact) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *Contact) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *Contact) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *Contact) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
+### GetTeams
+
+`func (o *Contact) GetTeams() []BulkWritableCableRequestStatus`
+
+GetTeams returns the Teams field if non-nil, zero value otherwise.
+
+### GetTeamsOk
+
+`func (o *Contact) GetTeamsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTeamsOk returns a tuple with the Teams field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTeams
+
+`func (o *Contact) SetTeams(v []BulkWritableCableRequestStatus)`
+
+SetTeams sets Teams field to given value.
+
+### HasTeams
+
+`func (o *Contact) HasTeams() bool`
+
+HasTeams returns a boolean if a field has been set.
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/ContactAssociation.md b/docs/ContactAssociation.md
index 9b88245e..1847b521 100644
--- a/docs/ContactAssociation.md
+++ b/docs/ContactAssociation.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -24,7 +24,7 @@ Name | Type | Description | Notes
### NewContactAssociation
-`func NewContactAssociation(id string, objectType string, display string, url string, naturalSlug string, associatedObjectType string, associatedObjectId string, role BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *ContactAssociation`
+`func NewContactAssociation(objectType string, display string, url string, naturalSlug string, associatedObjectType string, associatedObjectId string, role BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *ContactAssociation`
NewContactAssociation instantiates a new ContactAssociation object
This constructor will assign default values to properties that have it defined,
@@ -58,6 +58,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *ContactAssociation) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/ContactAssociationRequest.md b/docs/ContactAssociationRequest.md
index f31cb233..bde2f92d 100644
--- a/docs/ContactAssociationRequest.md
+++ b/docs/ContactAssociationRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**AssociatedObjectType** | **string** | |
**AssociatedObjectId** | **string** | |
**Contact** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
@@ -32,6 +33,31 @@ NewContactAssociationRequestWithDefaults instantiates a new ContactAssociationRe
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *ContactAssociationRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *ContactAssociationRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *ContactAssociationRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *ContactAssociationRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetAssociatedObjectType
`func (o *ContactAssociationRequest) GetAssociatedObjectType() string`
diff --git a/docs/ContactRequest.md b/docs/ContactRequest.md
index e092e0c1..5675aa5a 100644
--- a/docs/ContactRequest.md
+++ b/docs/ContactRequest.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Teams** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
+**Id** | Pointer to **string** | | [optional]
**Name** | **string** | |
**Phone** | Pointer to **string** | | [optional] [default to ""]
**Email** | Pointer to **string** | | [optional] [default to ""]
@@ -12,6 +12,8 @@ Name | Type | Description | Notes
**Comments** | Pointer to **string** | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
+**Teams** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
## Methods
@@ -32,30 +34,30 @@ NewContactRequestWithDefaults instantiates a new ContactRequest object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
-### GetTeams
+### GetId
-`func (o *ContactRequest) GetTeams() []BulkWritableCableRequestStatus`
+`func (o *ContactRequest) GetId() string`
-GetTeams returns the Teams field if non-nil, zero value otherwise.
+GetId returns the Id field if non-nil, zero value otherwise.
-### GetTeamsOk
+### GetIdOk
-`func (o *ContactRequest) GetTeamsOk() (*[]BulkWritableCableRequestStatus, bool)`
+`func (o *ContactRequest) GetIdOk() (*string, bool)`
-GetTeamsOk returns a tuple with the Teams field if it's non-nil, zero value otherwise
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
-### SetTeams
+### SetId
-`func (o *ContactRequest) SetTeams(v []BulkWritableCableRequestStatus)`
+`func (o *ContactRequest) SetId(v string)`
-SetTeams sets Teams field to given value.
+SetId sets Id field to given value.
-### HasTeams
+### HasId
-`func (o *ContactRequest) HasTeams() bool`
+`func (o *ContactRequest) HasId() bool`
-HasTeams returns a boolean if a field has been set.
+HasId returns a boolean if a field has been set.
### GetName
@@ -227,6 +229,56 @@ SetRelationships sets Relationships field to given value.
HasRelationships returns a boolean if a field has been set.
+### GetTags
+
+`func (o *ContactRequest) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *ContactRequest) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *ContactRequest) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *ContactRequest) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
+### GetTeams
+
+`func (o *ContactRequest) GetTeams() []BulkWritableCableRequestStatus`
+
+GetTeams returns the Teams field if non-nil, zero value otherwise.
+
+### GetTeamsOk
+
+`func (o *ContactRequest) GetTeamsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTeamsOk returns a tuple with the Teams field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTeams
+
+`func (o *ContactRequest) SetTeams(v []BulkWritableCableRequestStatus)`
+
+SetTeams sets Teams field to given value.
+
+### HasTeams
+
+`func (o *ContactRequest) HasTeams() bool`
+
+HasTeams returns a boolean if a field has been set.
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/Controller.md b/docs/Controller.md
index 68148450..ac5a0530 100644
--- a/docs/Controller.md
+++ b/docs/Controller.md
@@ -4,11 +4,12 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
**NaturalSlug** | **string** | | [readonly]
+**Capabilities** | Pointer to [**[]ControllerCapabilitiesInner**](ControllerCapabilitiesInner.md) | | [optional]
**Name** | **string** | |
**Description** | Pointer to **string** | | [optional]
**Status** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
@@ -29,7 +30,7 @@ Name | Type | Description | Notes
### NewController
-`func NewController(id string, objectType string, display string, url string, naturalSlug string, name string, status BulkWritableCableRequestStatus, location BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Controller`
+`func NewController(objectType string, display string, url string, naturalSlug string, name string, status BulkWritableCableRequestStatus, location BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Controller`
NewController instantiates a new Controller object
This constructor will assign default values to properties that have it defined,
@@ -63,6 +64,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *Controller) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
@@ -144,6 +150,41 @@ and a boolean to check if the value has been set.
SetNaturalSlug sets NaturalSlug field to given value.
+### GetCapabilities
+
+`func (o *Controller) GetCapabilities() []ControllerCapabilitiesInner`
+
+GetCapabilities returns the Capabilities field if non-nil, zero value otherwise.
+
+### GetCapabilitiesOk
+
+`func (o *Controller) GetCapabilitiesOk() (*[]ControllerCapabilitiesInner, bool)`
+
+GetCapabilitiesOk returns a tuple with the Capabilities field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCapabilities
+
+`func (o *Controller) SetCapabilities(v []ControllerCapabilitiesInner)`
+
+SetCapabilities sets Capabilities field to given value.
+
+### HasCapabilities
+
+`func (o *Controller) HasCapabilities() bool`
+
+HasCapabilities returns a boolean if a field has been set.
+
+### SetCapabilitiesNil
+
+`func (o *Controller) SetCapabilitiesNil(b bool)`
+
+ SetCapabilitiesNil sets the value for Capabilities to be an explicit nil
+
+### UnsetCapabilities
+`func (o *Controller) UnsetCapabilities()`
+
+UnsetCapabilities ensures that no value is present for Capabilities, not even an explicit nil
### GetName
`func (o *Controller) GetName() string`
diff --git a/docs/ControllerCapabilitiesInner.md b/docs/ControllerCapabilitiesInner.md
new file mode 100644
index 00000000..ea54f3a3
--- /dev/null
+++ b/docs/ControllerCapabilitiesInner.md
@@ -0,0 +1,82 @@
+# ControllerCapabilitiesInner
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Value** | Pointer to [**ControllerCapabilitiesInnerValue**](ControllerCapabilitiesInnerValue.md) | | [optional]
+**Label** | Pointer to [**ControllerCapabilitiesInnerLabel**](ControllerCapabilitiesInnerLabel.md) | | [optional]
+
+## Methods
+
+### NewControllerCapabilitiesInner
+
+`func NewControllerCapabilitiesInner() *ControllerCapabilitiesInner`
+
+NewControllerCapabilitiesInner instantiates a new ControllerCapabilitiesInner object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewControllerCapabilitiesInnerWithDefaults
+
+`func NewControllerCapabilitiesInnerWithDefaults() *ControllerCapabilitiesInner`
+
+NewControllerCapabilitiesInnerWithDefaults instantiates a new ControllerCapabilitiesInner object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetValue
+
+`func (o *ControllerCapabilitiesInner) GetValue() ControllerCapabilitiesInnerValue`
+
+GetValue returns the Value field if non-nil, zero value otherwise.
+
+### GetValueOk
+
+`func (o *ControllerCapabilitiesInner) GetValueOk() (*ControllerCapabilitiesInnerValue, bool)`
+
+GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetValue
+
+`func (o *ControllerCapabilitiesInner) SetValue(v ControllerCapabilitiesInnerValue)`
+
+SetValue sets Value field to given value.
+
+### HasValue
+
+`func (o *ControllerCapabilitiesInner) HasValue() bool`
+
+HasValue returns a boolean if a field has been set.
+
+### GetLabel
+
+`func (o *ControllerCapabilitiesInner) GetLabel() ControllerCapabilitiesInnerLabel`
+
+GetLabel returns the Label field if non-nil, zero value otherwise.
+
+### GetLabelOk
+
+`func (o *ControllerCapabilitiesInner) GetLabelOk() (*ControllerCapabilitiesInnerLabel, bool)`
+
+GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetLabel
+
+`func (o *ControllerCapabilitiesInner) SetLabel(v ControllerCapabilitiesInnerLabel)`
+
+SetLabel sets Label field to given value.
+
+### HasLabel
+
+`func (o *ControllerCapabilitiesInner) HasLabel() bool`
+
+HasLabel returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/ControllerCapabilitiesInnerLabel.md b/docs/ControllerCapabilitiesInnerLabel.md
new file mode 100644
index 00000000..db5529e6
--- /dev/null
+++ b/docs/ControllerCapabilitiesInnerLabel.md
@@ -0,0 +1,11 @@
+# ControllerCapabilitiesInnerLabel
+
+## Enum
+
+
+* `WIRELESS` (value: `"Wireless"`)
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/ControllerCapabilitiesInnerValue.md b/docs/ControllerCapabilitiesInnerValue.md
new file mode 100644
index 00000000..66fff66e
--- /dev/null
+++ b/docs/ControllerCapabilitiesInnerValue.md
@@ -0,0 +1,11 @@
+# ControllerCapabilitiesInnerValue
+
+## Enum
+
+
+* `WIRELESS` (value: `"wireless"`)
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/ControllerManagedDeviceGroup.md b/docs/ControllerManagedDeviceGroup.md
index fcfcdb51..576e3b19 100644
--- a/docs/ControllerManagedDeviceGroup.md
+++ b/docs/ControllerManagedDeviceGroup.md
@@ -4,15 +4,20 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
**NaturalSlug** | **string** | | [readonly]
+**Capabilities** | Pointer to [**[]ControllerCapabilitiesInner**](ControllerCapabilitiesInner.md) | | [optional]
**Name** | **string** | Name of the controller device group |
+**Description** | Pointer to **string** | | [optional]
**Weight** | Pointer to **int32** | Weight of the controller device group, used to sort the groups within its parent group | [optional]
**Parent** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**Controller** | [**BulkWritableControllerManagedDeviceGroupRequestController**](BulkWritableControllerManagedDeviceGroupRequestController.md) | |
+**Tenant** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
+**RadioProfiles** | [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [readonly]
+**WirelessNetworks** | [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [readonly]
**Created** | **NullableTime** | | [readonly]
**LastUpdated** | **NullableTime** | | [readonly]
**NotesUrl** | **string** | | [readonly]
@@ -23,7 +28,7 @@ Name | Type | Description | Notes
### NewControllerManagedDeviceGroup
-`func NewControllerManagedDeviceGroup(id string, objectType string, display string, url string, naturalSlug string, name string, controller BulkWritableControllerManagedDeviceGroupRequestController, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *ControllerManagedDeviceGroup`
+`func NewControllerManagedDeviceGroup(objectType string, display string, url string, naturalSlug string, name string, controller BulkWritableControllerManagedDeviceGroupRequestController, radioProfiles []BulkWritableCableRequestStatus, wirelessNetworks []BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *ControllerManagedDeviceGroup`
NewControllerManagedDeviceGroup instantiates a new ControllerManagedDeviceGroup object
This constructor will assign default values to properties that have it defined,
@@ -57,6 +62,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *ControllerManagedDeviceGroup) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
@@ -138,6 +148,41 @@ and a boolean to check if the value has been set.
SetNaturalSlug sets NaturalSlug field to given value.
+### GetCapabilities
+
+`func (o *ControllerManagedDeviceGroup) GetCapabilities() []ControllerCapabilitiesInner`
+
+GetCapabilities returns the Capabilities field if non-nil, zero value otherwise.
+
+### GetCapabilitiesOk
+
+`func (o *ControllerManagedDeviceGroup) GetCapabilitiesOk() (*[]ControllerCapabilitiesInner, bool)`
+
+GetCapabilitiesOk returns a tuple with the Capabilities field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCapabilities
+
+`func (o *ControllerManagedDeviceGroup) SetCapabilities(v []ControllerCapabilitiesInner)`
+
+SetCapabilities sets Capabilities field to given value.
+
+### HasCapabilities
+
+`func (o *ControllerManagedDeviceGroup) HasCapabilities() bool`
+
+HasCapabilities returns a boolean if a field has been set.
+
+### SetCapabilitiesNil
+
+`func (o *ControllerManagedDeviceGroup) SetCapabilitiesNil(b bool)`
+
+ SetCapabilitiesNil sets the value for Capabilities to be an explicit nil
+
+### UnsetCapabilities
+`func (o *ControllerManagedDeviceGroup) UnsetCapabilities()`
+
+UnsetCapabilities ensures that no value is present for Capabilities, not even an explicit nil
### GetName
`func (o *ControllerManagedDeviceGroup) GetName() string`
@@ -158,6 +203,31 @@ and a boolean to check if the value has been set.
SetName sets Name field to given value.
+### GetDescription
+
+`func (o *ControllerManagedDeviceGroup) GetDescription() string`
+
+GetDescription returns the Description field if non-nil, zero value otherwise.
+
+### GetDescriptionOk
+
+`func (o *ControllerManagedDeviceGroup) GetDescriptionOk() (*string, bool)`
+
+GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDescription
+
+`func (o *ControllerManagedDeviceGroup) SetDescription(v string)`
+
+SetDescription sets Description field to given value.
+
+### HasDescription
+
+`func (o *ControllerManagedDeviceGroup) HasDescription() bool`
+
+HasDescription returns a boolean if a field has been set.
+
### GetWeight
`func (o *ControllerManagedDeviceGroup) GetWeight() int32`
@@ -238,6 +308,81 @@ and a boolean to check if the value has been set.
SetController sets Controller field to given value.
+### GetTenant
+
+`func (o *ControllerManagedDeviceGroup) GetTenant() BulkWritableCircuitRequestTenant`
+
+GetTenant returns the Tenant field if non-nil, zero value otherwise.
+
+### GetTenantOk
+
+`func (o *ControllerManagedDeviceGroup) GetTenantOk() (*BulkWritableCircuitRequestTenant, bool)`
+
+GetTenantOk returns a tuple with the Tenant field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTenant
+
+`func (o *ControllerManagedDeviceGroup) SetTenant(v BulkWritableCircuitRequestTenant)`
+
+SetTenant sets Tenant field to given value.
+
+### HasTenant
+
+`func (o *ControllerManagedDeviceGroup) HasTenant() bool`
+
+HasTenant returns a boolean if a field has been set.
+
+### SetTenantNil
+
+`func (o *ControllerManagedDeviceGroup) SetTenantNil(b bool)`
+
+ SetTenantNil sets the value for Tenant to be an explicit nil
+
+### UnsetTenant
+`func (o *ControllerManagedDeviceGroup) UnsetTenant()`
+
+UnsetTenant ensures that no value is present for Tenant, not even an explicit nil
+### GetRadioProfiles
+
+`func (o *ControllerManagedDeviceGroup) GetRadioProfiles() []BulkWritableCableRequestStatus`
+
+GetRadioProfiles returns the RadioProfiles field if non-nil, zero value otherwise.
+
+### GetRadioProfilesOk
+
+`func (o *ControllerManagedDeviceGroup) GetRadioProfilesOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetRadioProfilesOk returns a tuple with the RadioProfiles field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetRadioProfiles
+
+`func (o *ControllerManagedDeviceGroup) SetRadioProfiles(v []BulkWritableCableRequestStatus)`
+
+SetRadioProfiles sets RadioProfiles field to given value.
+
+
+### GetWirelessNetworks
+
+`func (o *ControllerManagedDeviceGroup) GetWirelessNetworks() []BulkWritableCableRequestStatus`
+
+GetWirelessNetworks returns the WirelessNetworks field if non-nil, zero value otherwise.
+
+### GetWirelessNetworksOk
+
+`func (o *ControllerManagedDeviceGroup) GetWirelessNetworksOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetWirelessNetworksOk returns a tuple with the WirelessNetworks field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetWirelessNetworks
+
+`func (o *ControllerManagedDeviceGroup) SetWirelessNetworks(v []BulkWritableCableRequestStatus)`
+
+SetWirelessNetworks sets WirelessNetworks field to given value.
+
+
### GetCreated
`func (o *ControllerManagedDeviceGroup) GetCreated() time.Time`
diff --git a/docs/ControllerManagedDeviceGroupRadioProfileAssignment.md b/docs/ControllerManagedDeviceGroupRadioProfileAssignment.md
new file mode 100644
index 00000000..c34a610d
--- /dev/null
+++ b/docs/ControllerManagedDeviceGroupRadioProfileAssignment.md
@@ -0,0 +1,182 @@
+# ControllerManagedDeviceGroupRadioProfileAssignment
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
+**ObjectType** | **string** | | [readonly]
+**Display** | **string** | Human friendly display value | [readonly]
+**Url** | **string** | | [readonly]
+**NaturalSlug** | **string** | | [readonly]
+**ControllerManagedDeviceGroup** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+**RadioProfile** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+
+## Methods
+
+### NewControllerManagedDeviceGroupRadioProfileAssignment
+
+`func NewControllerManagedDeviceGroupRadioProfileAssignment(objectType string, display string, url string, naturalSlug string, controllerManagedDeviceGroup BulkWritableCableRequestStatus, radioProfile BulkWritableCableRequestStatus, ) *ControllerManagedDeviceGroupRadioProfileAssignment`
+
+NewControllerManagedDeviceGroupRadioProfileAssignment instantiates a new ControllerManagedDeviceGroupRadioProfileAssignment object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewControllerManagedDeviceGroupRadioProfileAssignmentWithDefaults
+
+`func NewControllerManagedDeviceGroupRadioProfileAssignmentWithDefaults() *ControllerManagedDeviceGroupRadioProfileAssignment`
+
+NewControllerManagedDeviceGroupRadioProfileAssignmentWithDefaults instantiates a new ControllerManagedDeviceGroupRadioProfileAssignment object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignment) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignment) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignment) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignment) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
+### GetObjectType
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignment) GetObjectType() string`
+
+GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
+
+### GetObjectTypeOk
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignment) GetObjectTypeOk() (*string, bool)`
+
+GetObjectTypeOk returns a tuple with the ObjectType field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetObjectType
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignment) SetObjectType(v string)`
+
+SetObjectType sets ObjectType field to given value.
+
+
+### GetDisplay
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignment) GetDisplay() string`
+
+GetDisplay returns the Display field if non-nil, zero value otherwise.
+
+### GetDisplayOk
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignment) GetDisplayOk() (*string, bool)`
+
+GetDisplayOk returns a tuple with the Display field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDisplay
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignment) SetDisplay(v string)`
+
+SetDisplay sets Display field to given value.
+
+
+### GetUrl
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignment) GetUrl() string`
+
+GetUrl returns the Url field if non-nil, zero value otherwise.
+
+### GetUrlOk
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignment) GetUrlOk() (*string, bool)`
+
+GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetUrl
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignment) SetUrl(v string)`
+
+SetUrl sets Url field to given value.
+
+
+### GetNaturalSlug
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignment) GetNaturalSlug() string`
+
+GetNaturalSlug returns the NaturalSlug field if non-nil, zero value otherwise.
+
+### GetNaturalSlugOk
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignment) GetNaturalSlugOk() (*string, bool)`
+
+GetNaturalSlugOk returns a tuple with the NaturalSlug field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetNaturalSlug
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignment) SetNaturalSlug(v string)`
+
+SetNaturalSlug sets NaturalSlug field to given value.
+
+
+### GetControllerManagedDeviceGroup
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignment) GetControllerManagedDeviceGroup() BulkWritableCableRequestStatus`
+
+GetControllerManagedDeviceGroup returns the ControllerManagedDeviceGroup field if non-nil, zero value otherwise.
+
+### GetControllerManagedDeviceGroupOk
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignment) GetControllerManagedDeviceGroupOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetControllerManagedDeviceGroupOk returns a tuple with the ControllerManagedDeviceGroup field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetControllerManagedDeviceGroup
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignment) SetControllerManagedDeviceGroup(v BulkWritableCableRequestStatus)`
+
+SetControllerManagedDeviceGroup sets ControllerManagedDeviceGroup field to given value.
+
+
+### GetRadioProfile
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignment) GetRadioProfile() BulkWritableCableRequestStatus`
+
+GetRadioProfile returns the RadioProfile field if non-nil, zero value otherwise.
+
+### GetRadioProfileOk
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignment) GetRadioProfileOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetRadioProfileOk returns a tuple with the RadioProfile field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetRadioProfile
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignment) SetRadioProfile(v BulkWritableCableRequestStatus)`
+
+SetRadioProfile sets RadioProfile field to given value.
+
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/ControllerManagedDeviceGroupRadioProfileAssignmentRequest.md b/docs/ControllerManagedDeviceGroupRadioProfileAssignmentRequest.md
new file mode 100644
index 00000000..64ea6de1
--- /dev/null
+++ b/docs/ControllerManagedDeviceGroupRadioProfileAssignmentRequest.md
@@ -0,0 +1,98 @@
+# ControllerManagedDeviceGroupRadioProfileAssignmentRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
+**ControllerManagedDeviceGroup** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+**RadioProfile** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+
+## Methods
+
+### NewControllerManagedDeviceGroupRadioProfileAssignmentRequest
+
+`func NewControllerManagedDeviceGroupRadioProfileAssignmentRequest(controllerManagedDeviceGroup BulkWritableCableRequestStatus, radioProfile BulkWritableCableRequestStatus, ) *ControllerManagedDeviceGroupRadioProfileAssignmentRequest`
+
+NewControllerManagedDeviceGroupRadioProfileAssignmentRequest instantiates a new ControllerManagedDeviceGroupRadioProfileAssignmentRequest object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewControllerManagedDeviceGroupRadioProfileAssignmentRequestWithDefaults
+
+`func NewControllerManagedDeviceGroupRadioProfileAssignmentRequestWithDefaults() *ControllerManagedDeviceGroupRadioProfileAssignmentRequest`
+
+NewControllerManagedDeviceGroupRadioProfileAssignmentRequestWithDefaults instantiates a new ControllerManagedDeviceGroupRadioProfileAssignmentRequest object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignmentRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignmentRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
+### GetControllerManagedDeviceGroup
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetControllerManagedDeviceGroup() BulkWritableCableRequestStatus`
+
+GetControllerManagedDeviceGroup returns the ControllerManagedDeviceGroup field if non-nil, zero value otherwise.
+
+### GetControllerManagedDeviceGroupOk
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetControllerManagedDeviceGroupOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetControllerManagedDeviceGroupOk returns a tuple with the ControllerManagedDeviceGroup field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetControllerManagedDeviceGroup
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignmentRequest) SetControllerManagedDeviceGroup(v BulkWritableCableRequestStatus)`
+
+SetControllerManagedDeviceGroup sets ControllerManagedDeviceGroup field to given value.
+
+
+### GetRadioProfile
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetRadioProfile() BulkWritableCableRequestStatus`
+
+GetRadioProfile returns the RadioProfile field if non-nil, zero value otherwise.
+
+### GetRadioProfileOk
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetRadioProfileOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetRadioProfileOk returns a tuple with the RadioProfile field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetRadioProfile
+
+`func (o *ControllerManagedDeviceGroupRadioProfileAssignmentRequest) SetRadioProfile(v BulkWritableCableRequestStatus)`
+
+SetRadioProfile sets RadioProfile field to given value.
+
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/ControllerManagedDeviceGroupRequest.md b/docs/ControllerManagedDeviceGroupRequest.md
index cbb00bf3..91d3ee76 100644
--- a/docs/ControllerManagedDeviceGroupRequest.md
+++ b/docs/ControllerManagedDeviceGroupRequest.md
@@ -4,10 +4,14 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
+**Capabilities** | Pointer to [**[]CapabilitiesEnum**](CapabilitiesEnum.md) | | [optional]
**Name** | **string** | Name of the controller device group |
+**Description** | Pointer to **string** | | [optional]
**Weight** | Pointer to **int32** | Weight of the controller device group, used to sort the groups within its parent group | [optional]
**Parent** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**Controller** | [**BulkWritableControllerManagedDeviceGroupRequestController**](BulkWritableControllerManagedDeviceGroupRequestController.md) | |
+**Tenant** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
@@ -31,6 +35,66 @@ NewControllerManagedDeviceGroupRequestWithDefaults instantiates a new Controller
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *ControllerManagedDeviceGroupRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *ControllerManagedDeviceGroupRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *ControllerManagedDeviceGroupRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *ControllerManagedDeviceGroupRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
+### GetCapabilities
+
+`func (o *ControllerManagedDeviceGroupRequest) GetCapabilities() []CapabilitiesEnum`
+
+GetCapabilities returns the Capabilities field if non-nil, zero value otherwise.
+
+### GetCapabilitiesOk
+
+`func (o *ControllerManagedDeviceGroupRequest) GetCapabilitiesOk() (*[]CapabilitiesEnum, bool)`
+
+GetCapabilitiesOk returns a tuple with the Capabilities field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCapabilities
+
+`func (o *ControllerManagedDeviceGroupRequest) SetCapabilities(v []CapabilitiesEnum)`
+
+SetCapabilities sets Capabilities field to given value.
+
+### HasCapabilities
+
+`func (o *ControllerManagedDeviceGroupRequest) HasCapabilities() bool`
+
+HasCapabilities returns a boolean if a field has been set.
+
+### SetCapabilitiesNil
+
+`func (o *ControllerManagedDeviceGroupRequest) SetCapabilitiesNil(b bool)`
+
+ SetCapabilitiesNil sets the value for Capabilities to be an explicit nil
+
+### UnsetCapabilities
+`func (o *ControllerManagedDeviceGroupRequest) UnsetCapabilities()`
+
+UnsetCapabilities ensures that no value is present for Capabilities, not even an explicit nil
### GetName
`func (o *ControllerManagedDeviceGroupRequest) GetName() string`
@@ -51,6 +115,31 @@ and a boolean to check if the value has been set.
SetName sets Name field to given value.
+### GetDescription
+
+`func (o *ControllerManagedDeviceGroupRequest) GetDescription() string`
+
+GetDescription returns the Description field if non-nil, zero value otherwise.
+
+### GetDescriptionOk
+
+`func (o *ControllerManagedDeviceGroupRequest) GetDescriptionOk() (*string, bool)`
+
+GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDescription
+
+`func (o *ControllerManagedDeviceGroupRequest) SetDescription(v string)`
+
+SetDescription sets Description field to given value.
+
+### HasDescription
+
+`func (o *ControllerManagedDeviceGroupRequest) HasDescription() bool`
+
+HasDescription returns a boolean if a field has been set.
+
### GetWeight
`func (o *ControllerManagedDeviceGroupRequest) GetWeight() int32`
@@ -131,6 +220,41 @@ and a boolean to check if the value has been set.
SetController sets Controller field to given value.
+### GetTenant
+
+`func (o *ControllerManagedDeviceGroupRequest) GetTenant() BulkWritableCircuitRequestTenant`
+
+GetTenant returns the Tenant field if non-nil, zero value otherwise.
+
+### GetTenantOk
+
+`func (o *ControllerManagedDeviceGroupRequest) GetTenantOk() (*BulkWritableCircuitRequestTenant, bool)`
+
+GetTenantOk returns a tuple with the Tenant field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTenant
+
+`func (o *ControllerManagedDeviceGroupRequest) SetTenant(v BulkWritableCircuitRequestTenant)`
+
+SetTenant sets Tenant field to given value.
+
+### HasTenant
+
+`func (o *ControllerManagedDeviceGroupRequest) HasTenant() bool`
+
+HasTenant returns a boolean if a field has been set.
+
+### SetTenantNil
+
+`func (o *ControllerManagedDeviceGroupRequest) SetTenantNil(b bool)`
+
+ SetTenantNil sets the value for Tenant to be an explicit nil
+
+### UnsetTenant
+`func (o *ControllerManagedDeviceGroupRequest) UnsetTenant()`
+
+UnsetTenant ensures that no value is present for Tenant, not even an explicit nil
### GetCustomFields
`func (o *ControllerManagedDeviceGroupRequest) GetCustomFields() map[string]interface{}`
diff --git a/docs/ControllerManagedDeviceGroupWirelessNetworkAssignment.md b/docs/ControllerManagedDeviceGroupWirelessNetworkAssignment.md
new file mode 100644
index 00000000..097dddc6
--- /dev/null
+++ b/docs/ControllerManagedDeviceGroupWirelessNetworkAssignment.md
@@ -0,0 +1,218 @@
+# ControllerManagedDeviceGroupWirelessNetworkAssignment
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
+**ObjectType** | **string** | | [readonly]
+**Display** | **string** | Human friendly display value | [readonly]
+**Url** | **string** | | [readonly]
+**NaturalSlug** | **string** | | [readonly]
+**ControllerManagedDeviceGroup** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+**WirelessNetwork** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+**Vlan** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
+
+## Methods
+
+### NewControllerManagedDeviceGroupWirelessNetworkAssignment
+
+`func NewControllerManagedDeviceGroupWirelessNetworkAssignment(objectType string, display string, url string, naturalSlug string, controllerManagedDeviceGroup BulkWritableCableRequestStatus, wirelessNetwork BulkWritableCableRequestStatus, ) *ControllerManagedDeviceGroupWirelessNetworkAssignment`
+
+NewControllerManagedDeviceGroupWirelessNetworkAssignment instantiates a new ControllerManagedDeviceGroupWirelessNetworkAssignment object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewControllerManagedDeviceGroupWirelessNetworkAssignmentWithDefaults
+
+`func NewControllerManagedDeviceGroupWirelessNetworkAssignmentWithDefaults() *ControllerManagedDeviceGroupWirelessNetworkAssignment`
+
+NewControllerManagedDeviceGroupWirelessNetworkAssignmentWithDefaults instantiates a new ControllerManagedDeviceGroupWirelessNetworkAssignment object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
+### GetObjectType
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetObjectType() string`
+
+GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
+
+### GetObjectTypeOk
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetObjectTypeOk() (*string, bool)`
+
+GetObjectTypeOk returns a tuple with the ObjectType field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetObjectType
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) SetObjectType(v string)`
+
+SetObjectType sets ObjectType field to given value.
+
+
+### GetDisplay
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetDisplay() string`
+
+GetDisplay returns the Display field if non-nil, zero value otherwise.
+
+### GetDisplayOk
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetDisplayOk() (*string, bool)`
+
+GetDisplayOk returns a tuple with the Display field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDisplay
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) SetDisplay(v string)`
+
+SetDisplay sets Display field to given value.
+
+
+### GetUrl
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetUrl() string`
+
+GetUrl returns the Url field if non-nil, zero value otherwise.
+
+### GetUrlOk
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetUrlOk() (*string, bool)`
+
+GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetUrl
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) SetUrl(v string)`
+
+SetUrl sets Url field to given value.
+
+
+### GetNaturalSlug
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetNaturalSlug() string`
+
+GetNaturalSlug returns the NaturalSlug field if non-nil, zero value otherwise.
+
+### GetNaturalSlugOk
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetNaturalSlugOk() (*string, bool)`
+
+GetNaturalSlugOk returns a tuple with the NaturalSlug field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetNaturalSlug
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) SetNaturalSlug(v string)`
+
+SetNaturalSlug sets NaturalSlug field to given value.
+
+
+### GetControllerManagedDeviceGroup
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetControllerManagedDeviceGroup() BulkWritableCableRequestStatus`
+
+GetControllerManagedDeviceGroup returns the ControllerManagedDeviceGroup field if non-nil, zero value otherwise.
+
+### GetControllerManagedDeviceGroupOk
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetControllerManagedDeviceGroupOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetControllerManagedDeviceGroupOk returns a tuple with the ControllerManagedDeviceGroup field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetControllerManagedDeviceGroup
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) SetControllerManagedDeviceGroup(v BulkWritableCableRequestStatus)`
+
+SetControllerManagedDeviceGroup sets ControllerManagedDeviceGroup field to given value.
+
+
+### GetWirelessNetwork
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetWirelessNetwork() BulkWritableCableRequestStatus`
+
+GetWirelessNetwork returns the WirelessNetwork field if non-nil, zero value otherwise.
+
+### GetWirelessNetworkOk
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetWirelessNetworkOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetWirelessNetworkOk returns a tuple with the WirelessNetwork field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetWirelessNetwork
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) SetWirelessNetwork(v BulkWritableCableRequestStatus)`
+
+SetWirelessNetwork sets WirelessNetwork field to given value.
+
+
+### GetVlan
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetVlan() BulkWritableCircuitRequestTenant`
+
+GetVlan returns the Vlan field if non-nil, zero value otherwise.
+
+### GetVlanOk
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) GetVlanOk() (*BulkWritableCircuitRequestTenant, bool)`
+
+GetVlanOk returns a tuple with the Vlan field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetVlan
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) SetVlan(v BulkWritableCircuitRequestTenant)`
+
+SetVlan sets Vlan field to given value.
+
+### HasVlan
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) HasVlan() bool`
+
+HasVlan returns a boolean if a field has been set.
+
+### SetVlanNil
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) SetVlanNil(b bool)`
+
+ SetVlanNil sets the value for Vlan to be an explicit nil
+
+### UnsetVlan
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignment) UnsetVlan()`
+
+UnsetVlan ensures that no value is present for Vlan, not even an explicit nil
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest.md b/docs/ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest.md
new file mode 100644
index 00000000..e43d346c
--- /dev/null
+++ b/docs/ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest.md
@@ -0,0 +1,134 @@
+# ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
+**ControllerManagedDeviceGroup** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+**WirelessNetwork** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+**Vlan** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
+
+## Methods
+
+### NewControllerManagedDeviceGroupWirelessNetworkAssignmentRequest
+
+`func NewControllerManagedDeviceGroupWirelessNetworkAssignmentRequest(controllerManagedDeviceGroup BulkWritableCableRequestStatus, wirelessNetwork BulkWritableCableRequestStatus, ) *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest`
+
+NewControllerManagedDeviceGroupWirelessNetworkAssignmentRequest instantiates a new ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewControllerManagedDeviceGroupWirelessNetworkAssignmentRequestWithDefaults
+
+`func NewControllerManagedDeviceGroupWirelessNetworkAssignmentRequestWithDefaults() *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest`
+
+NewControllerManagedDeviceGroupWirelessNetworkAssignmentRequestWithDefaults instantiates a new ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
+### GetControllerManagedDeviceGroup
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetControllerManagedDeviceGroup() BulkWritableCableRequestStatus`
+
+GetControllerManagedDeviceGroup returns the ControllerManagedDeviceGroup field if non-nil, zero value otherwise.
+
+### GetControllerManagedDeviceGroupOk
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetControllerManagedDeviceGroupOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetControllerManagedDeviceGroupOk returns a tuple with the ControllerManagedDeviceGroup field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetControllerManagedDeviceGroup
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetControllerManagedDeviceGroup(v BulkWritableCableRequestStatus)`
+
+SetControllerManagedDeviceGroup sets ControllerManagedDeviceGroup field to given value.
+
+
+### GetWirelessNetwork
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetWirelessNetwork() BulkWritableCableRequestStatus`
+
+GetWirelessNetwork returns the WirelessNetwork field if non-nil, zero value otherwise.
+
+### GetWirelessNetworkOk
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetWirelessNetworkOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetWirelessNetworkOk returns a tuple with the WirelessNetwork field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetWirelessNetwork
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetWirelessNetwork(v BulkWritableCableRequestStatus)`
+
+SetWirelessNetwork sets WirelessNetwork field to given value.
+
+
+### GetVlan
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetVlan() BulkWritableCircuitRequestTenant`
+
+GetVlan returns the Vlan field if non-nil, zero value otherwise.
+
+### GetVlanOk
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetVlanOk() (*BulkWritableCircuitRequestTenant, bool)`
+
+GetVlanOk returns a tuple with the Vlan field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetVlan
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetVlan(v BulkWritableCircuitRequestTenant)`
+
+SetVlan sets Vlan field to given value.
+
+### HasVlan
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) HasVlan() bool`
+
+HasVlan returns a boolean if a field has been set.
+
+### SetVlanNil
+
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetVlanNil(b bool)`
+
+ SetVlanNil sets the value for Vlan to be an explicit nil
+
+### UnsetVlan
+`func (o *ControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) UnsetVlan()`
+
+UnsetVlan ensures that no value is present for Vlan, not even an explicit nil
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/ControllerRequest.md b/docs/ControllerRequest.md
index 55c07f36..c9a15b3d 100644
--- a/docs/ControllerRequest.md
+++ b/docs/ControllerRequest.md
@@ -4,6 +4,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
+**Capabilities** | Pointer to [**[]CapabilitiesEnum**](CapabilitiesEnum.md) | | [optional]
**Name** | **string** | |
**Description** | Pointer to **string** | | [optional]
**Status** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
@@ -37,6 +39,66 @@ NewControllerRequestWithDefaults instantiates a new ControllerRequest object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *ControllerRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *ControllerRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *ControllerRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *ControllerRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
+### GetCapabilities
+
+`func (o *ControllerRequest) GetCapabilities() []CapabilitiesEnum`
+
+GetCapabilities returns the Capabilities field if non-nil, zero value otherwise.
+
+### GetCapabilitiesOk
+
+`func (o *ControllerRequest) GetCapabilitiesOk() (*[]CapabilitiesEnum, bool)`
+
+GetCapabilitiesOk returns a tuple with the Capabilities field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCapabilities
+
+`func (o *ControllerRequest) SetCapabilities(v []CapabilitiesEnum)`
+
+SetCapabilities sets Capabilities field to given value.
+
+### HasCapabilities
+
+`func (o *ControllerRequest) HasCapabilities() bool`
+
+HasCapabilities returns a boolean if a field has been set.
+
+### SetCapabilitiesNil
+
+`func (o *ControllerRequest) SetCapabilitiesNil(b bool)`
+
+ SetCapabilitiesNil sets the value for Capabilities to be an explicit nil
+
+### UnsetCapabilities
+`func (o *ControllerRequest) UnsetCapabilities()`
+
+UnsetCapabilities ensures that no value is present for Capabilities, not even an explicit nil
### GetName
`func (o *ControllerRequest) GetName() string`
diff --git a/docs/CoreAPI.md b/docs/CoreAPI.md
new file mode 100644
index 00000000..2739c99b
--- /dev/null
+++ b/docs/CoreAPI.md
@@ -0,0 +1,77 @@
+# \CoreAPI
+
+All URIs are relative to */api*
+
+Method | HTTP request | Description
+------------- | ------------- | -------------
+[**CoreRenderJinjaTemplateCreate**](CoreAPI.md#CoreRenderJinjaTemplateCreate) | **Post** /core/render-jinja-template/ |
+
+
+
+## CoreRenderJinjaTemplateCreate
+
+> RenderJinja CoreRenderJinjaTemplateCreate(ctx).RenderJinjaRequest(renderJinjaRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ renderJinjaRequest := *openapiclient.NewRenderJinjaRequest("TemplateCode_example") // RenderJinjaRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.CoreAPI.CoreRenderJinjaTemplateCreate(context.Background()).RenderJinjaRequest(renderJinjaRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `CoreAPI.CoreRenderJinjaTemplateCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `CoreRenderJinjaTemplateCreate`: RenderJinja
+ fmt.Fprintf(os.Stdout, "Response from `CoreAPI.CoreRenderJinjaTemplateCreate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiCoreRenderJinjaTemplateCreateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **renderJinjaRequest** | [**RenderJinjaRequest**](RenderJinjaRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+[**RenderJinja**](RenderJinja.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
diff --git a/docs/CustomField.md b/docs/CustomField.md
index 81fdfe9e..cbb2ac52 100644
--- a/docs/CustomField.md
+++ b/docs/CustomField.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -31,7 +31,7 @@ Name | Type | Description | Notes
### NewCustomField
-`func NewCustomField(id string, objectType string, display string, url string, naturalSlug string, contentTypes []string, type_ CustomFieldType, label string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *CustomField`
+`func NewCustomField(objectType string, display string, url string, naturalSlug string, contentTypes []string, type_ CustomFieldType, label string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *CustomField`
NewCustomField instantiates a new CustomField object
This constructor will assign default values to properties that have it defined,
@@ -65,6 +65,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *CustomField) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/CustomFieldChoice.md b/docs/CustomFieldChoice.md
index 0fb88ea9..0a657103 100644
--- a/docs/CustomFieldChoice.md
+++ b/docs/CustomFieldChoice.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -19,7 +19,7 @@ Name | Type | Description | Notes
### NewCustomFieldChoice
-`func NewCustomFieldChoice(id string, objectType string, display string, url string, naturalSlug string, value string, customField BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, ) *CustomFieldChoice`
+`func NewCustomFieldChoice(objectType string, display string, url string, naturalSlug string, value string, customField BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, ) *CustomFieldChoice`
NewCustomFieldChoice instantiates a new CustomFieldChoice object
This constructor will assign default values to properties that have it defined,
@@ -53,6 +53,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *CustomFieldChoice) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/CustomFieldChoiceRequest.md b/docs/CustomFieldChoiceRequest.md
index 0c8df24a..8a4e7e11 100644
--- a/docs/CustomFieldChoiceRequest.md
+++ b/docs/CustomFieldChoiceRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**Value** | **string** | |
**Weight** | Pointer to **int32** | Higher weights appear later in the list | [optional]
**CustomField** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
@@ -27,6 +28,31 @@ NewCustomFieldChoiceRequestWithDefaults instantiates a new CustomFieldChoiceRequ
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *CustomFieldChoiceRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *CustomFieldChoiceRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *CustomFieldChoiceRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *CustomFieldChoiceRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetValue
`func (o *CustomFieldChoiceRequest) GetValue() string`
diff --git a/docs/CustomLink.md b/docs/CustomLink.md
index 237ed32d..cab6d1b0 100644
--- a/docs/CustomLink.md
+++ b/docs/CustomLink.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -25,7 +25,7 @@ Name | Type | Description | Notes
### NewCustomLink
-`func NewCustomLink(id string, objectType string, display string, url string, naturalSlug string, contentType string, name string, text string, targetUrl string, newWindow bool, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *CustomLink`
+`func NewCustomLink(objectType string, display string, url string, naturalSlug string, contentType string, name string, text string, targetUrl string, newWindow bool, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *CustomLink`
NewCustomLink instantiates a new CustomLink object
This constructor will assign default values to properties that have it defined,
@@ -59,6 +59,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *CustomLink) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/CustomLinkRequest.md b/docs/CustomLinkRequest.md
index a3f1d9e0..17425f42 100644
--- a/docs/CustomLinkRequest.md
+++ b/docs/CustomLinkRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**ContentType** | **string** | |
**Name** | **string** | |
**Text** | **string** | Jinja2 template code for link text. Reference the object as <code>{{ obj }}</code> such as <code>{{ obj.platform.name }}</code>. Links which render as empty text will not be displayed. |
@@ -32,6 +33,31 @@ NewCustomLinkRequestWithDefaults instantiates a new CustomLinkRequest object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *CustomLinkRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *CustomLinkRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *CustomLinkRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *CustomLinkRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetContentType
`func (o *CustomLinkRequest) GetContentType() string`
diff --git a/docs/DcimAPI.md b/docs/DcimAPI.md
index 70a4b99c..47835dbf 100644
--- a/docs/DcimAPI.md
+++ b/docs/DcimAPI.md
@@ -23,8 +23,6 @@ Method | HTTP request | Description
[**DcimConsolePortTemplatesCreate**](DcimAPI.md#DcimConsolePortTemplatesCreate) | **Post** /dcim/console-port-templates/ |
[**DcimConsolePortTemplatesDestroy**](DcimAPI.md#DcimConsolePortTemplatesDestroy) | **Delete** /dcim/console-port-templates/{id}/ |
[**DcimConsolePortTemplatesList**](DcimAPI.md#DcimConsolePortTemplatesList) | **Get** /dcim/console-port-templates/ |
-[**DcimConsolePortTemplatesNotesCreate**](DcimAPI.md#DcimConsolePortTemplatesNotesCreate) | **Post** /dcim/console-port-templates/{id}/notes/ |
-[**DcimConsolePortTemplatesNotesList**](DcimAPI.md#DcimConsolePortTemplatesNotesList) | **Get** /dcim/console-port-templates/{id}/notes/ |
[**DcimConsolePortTemplatesPartialUpdate**](DcimAPI.md#DcimConsolePortTemplatesPartialUpdate) | **Patch** /dcim/console-port-templates/{id}/ |
[**DcimConsolePortTemplatesRetrieve**](DcimAPI.md#DcimConsolePortTemplatesRetrieve) | **Get** /dcim/console-port-templates/{id}/ |
[**DcimConsolePortTemplatesUpdate**](DcimAPI.md#DcimConsolePortTemplatesUpdate) | **Put** /dcim/console-port-templates/{id}/ |
@@ -46,8 +44,6 @@ Method | HTTP request | Description
[**DcimConsoleServerPortTemplatesCreate**](DcimAPI.md#DcimConsoleServerPortTemplatesCreate) | **Post** /dcim/console-server-port-templates/ |
[**DcimConsoleServerPortTemplatesDestroy**](DcimAPI.md#DcimConsoleServerPortTemplatesDestroy) | **Delete** /dcim/console-server-port-templates/{id}/ |
[**DcimConsoleServerPortTemplatesList**](DcimAPI.md#DcimConsoleServerPortTemplatesList) | **Get** /dcim/console-server-port-templates/ |
-[**DcimConsoleServerPortTemplatesNotesCreate**](DcimAPI.md#DcimConsoleServerPortTemplatesNotesCreate) | **Post** /dcim/console-server-port-templates/{id}/notes/ |
-[**DcimConsoleServerPortTemplatesNotesList**](DcimAPI.md#DcimConsoleServerPortTemplatesNotesList) | **Get** /dcim/console-server-port-templates/{id}/notes/ |
[**DcimConsoleServerPortTemplatesPartialUpdate**](DcimAPI.md#DcimConsoleServerPortTemplatesPartialUpdate) | **Patch** /dcim/console-server-port-templates/{id}/ |
[**DcimConsoleServerPortTemplatesRetrieve**](DcimAPI.md#DcimConsoleServerPortTemplatesRetrieve) | **Get** /dcim/console-server-port-templates/{id}/ |
[**DcimConsoleServerPortTemplatesUpdate**](DcimAPI.md#DcimConsoleServerPortTemplatesUpdate) | **Put** /dcim/console-server-port-templates/{id}/ |
@@ -91,8 +87,6 @@ Method | HTTP request | Description
[**DcimDeviceBayTemplatesCreate**](DcimAPI.md#DcimDeviceBayTemplatesCreate) | **Post** /dcim/device-bay-templates/ |
[**DcimDeviceBayTemplatesDestroy**](DcimAPI.md#DcimDeviceBayTemplatesDestroy) | **Delete** /dcim/device-bay-templates/{id}/ |
[**DcimDeviceBayTemplatesList**](DcimAPI.md#DcimDeviceBayTemplatesList) | **Get** /dcim/device-bay-templates/ |
-[**DcimDeviceBayTemplatesNotesCreate**](DcimAPI.md#DcimDeviceBayTemplatesNotesCreate) | **Post** /dcim/device-bay-templates/{id}/notes/ |
-[**DcimDeviceBayTemplatesNotesList**](DcimAPI.md#DcimDeviceBayTemplatesNotesList) | **Get** /dcim/device-bay-templates/{id}/notes/ |
[**DcimDeviceBayTemplatesPartialUpdate**](DcimAPI.md#DcimDeviceBayTemplatesPartialUpdate) | **Patch** /dcim/device-bay-templates/{id}/ |
[**DcimDeviceBayTemplatesRetrieve**](DcimAPI.md#DcimDeviceBayTemplatesRetrieve) | **Get** /dcim/device-bay-templates/{id}/ |
[**DcimDeviceBayTemplatesUpdate**](DcimAPI.md#DcimDeviceBayTemplatesUpdate) | **Put** /dcim/device-bay-templates/{id}/ |
@@ -167,8 +161,6 @@ Method | HTTP request | Description
[**DcimFrontPortTemplatesCreate**](DcimAPI.md#DcimFrontPortTemplatesCreate) | **Post** /dcim/front-port-templates/ |
[**DcimFrontPortTemplatesDestroy**](DcimAPI.md#DcimFrontPortTemplatesDestroy) | **Delete** /dcim/front-port-templates/{id}/ |
[**DcimFrontPortTemplatesList**](DcimAPI.md#DcimFrontPortTemplatesList) | **Get** /dcim/front-port-templates/ |
-[**DcimFrontPortTemplatesNotesCreate**](DcimAPI.md#DcimFrontPortTemplatesNotesCreate) | **Post** /dcim/front-port-templates/{id}/notes/ |
-[**DcimFrontPortTemplatesNotesList**](DcimAPI.md#DcimFrontPortTemplatesNotesList) | **Get** /dcim/front-port-templates/{id}/notes/ |
[**DcimFrontPortTemplatesPartialUpdate**](DcimAPI.md#DcimFrontPortTemplatesPartialUpdate) | **Patch** /dcim/front-port-templates/{id}/ |
[**DcimFrontPortTemplatesRetrieve**](DcimAPI.md#DcimFrontPortTemplatesRetrieve) | **Get** /dcim/front-port-templates/{id}/ |
[**DcimFrontPortTemplatesUpdate**](DcimAPI.md#DcimFrontPortTemplatesUpdate) | **Put** /dcim/front-port-templates/{id}/ |
@@ -213,11 +205,18 @@ Method | HTTP request | Description
[**DcimInterfaceTemplatesCreate**](DcimAPI.md#DcimInterfaceTemplatesCreate) | **Post** /dcim/interface-templates/ |
[**DcimInterfaceTemplatesDestroy**](DcimAPI.md#DcimInterfaceTemplatesDestroy) | **Delete** /dcim/interface-templates/{id}/ |
[**DcimInterfaceTemplatesList**](DcimAPI.md#DcimInterfaceTemplatesList) | **Get** /dcim/interface-templates/ |
-[**DcimInterfaceTemplatesNotesCreate**](DcimAPI.md#DcimInterfaceTemplatesNotesCreate) | **Post** /dcim/interface-templates/{id}/notes/ |
-[**DcimInterfaceTemplatesNotesList**](DcimAPI.md#DcimInterfaceTemplatesNotesList) | **Get** /dcim/interface-templates/{id}/notes/ |
[**DcimInterfaceTemplatesPartialUpdate**](DcimAPI.md#DcimInterfaceTemplatesPartialUpdate) | **Patch** /dcim/interface-templates/{id}/ |
[**DcimInterfaceTemplatesRetrieve**](DcimAPI.md#DcimInterfaceTemplatesRetrieve) | **Get** /dcim/interface-templates/{id}/ |
[**DcimInterfaceTemplatesUpdate**](DcimAPI.md#DcimInterfaceTemplatesUpdate) | **Put** /dcim/interface-templates/{id}/ |
+[**DcimInterfaceVdcAssignmentsBulkDestroy**](DcimAPI.md#DcimInterfaceVdcAssignmentsBulkDestroy) | **Delete** /dcim/interface-vdc-assignments/ |
+[**DcimInterfaceVdcAssignmentsBulkPartialUpdate**](DcimAPI.md#DcimInterfaceVdcAssignmentsBulkPartialUpdate) | **Patch** /dcim/interface-vdc-assignments/ |
+[**DcimInterfaceVdcAssignmentsBulkUpdate**](DcimAPI.md#DcimInterfaceVdcAssignmentsBulkUpdate) | **Put** /dcim/interface-vdc-assignments/ |
+[**DcimInterfaceVdcAssignmentsCreate**](DcimAPI.md#DcimInterfaceVdcAssignmentsCreate) | **Post** /dcim/interface-vdc-assignments/ |
+[**DcimInterfaceVdcAssignmentsDestroy**](DcimAPI.md#DcimInterfaceVdcAssignmentsDestroy) | **Delete** /dcim/interface-vdc-assignments/{id}/ |
+[**DcimInterfaceVdcAssignmentsList**](DcimAPI.md#DcimInterfaceVdcAssignmentsList) | **Get** /dcim/interface-vdc-assignments/ |
+[**DcimInterfaceVdcAssignmentsPartialUpdate**](DcimAPI.md#DcimInterfaceVdcAssignmentsPartialUpdate) | **Patch** /dcim/interface-vdc-assignments/{id}/ |
+[**DcimInterfaceVdcAssignmentsRetrieve**](DcimAPI.md#DcimInterfaceVdcAssignmentsRetrieve) | **Get** /dcim/interface-vdc-assignments/{id}/ |
+[**DcimInterfaceVdcAssignmentsUpdate**](DcimAPI.md#DcimInterfaceVdcAssignmentsUpdate) | **Put** /dcim/interface-vdc-assignments/{id}/ |
[**DcimInterfacesBulkDestroy**](DcimAPI.md#DcimInterfacesBulkDestroy) | **Delete** /dcim/interfaces/ |
[**DcimInterfacesBulkPartialUpdate**](DcimAPI.md#DcimInterfacesBulkPartialUpdate) | **Patch** /dcim/interfaces/ |
[**DcimInterfacesBulkUpdate**](DcimAPI.md#DcimInterfacesBulkUpdate) | **Put** /dcim/interfaces/ |
@@ -280,8 +279,6 @@ Method | HTTP request | Description
[**DcimModuleBayTemplatesCreate**](DcimAPI.md#DcimModuleBayTemplatesCreate) | **Post** /dcim/module-bay-templates/ |
[**DcimModuleBayTemplatesDestroy**](DcimAPI.md#DcimModuleBayTemplatesDestroy) | **Delete** /dcim/module-bay-templates/{id}/ |
[**DcimModuleBayTemplatesList**](DcimAPI.md#DcimModuleBayTemplatesList) | **Get** /dcim/module-bay-templates/ |
-[**DcimModuleBayTemplatesNotesCreate**](DcimAPI.md#DcimModuleBayTemplatesNotesCreate) | **Post** /dcim/module-bay-templates/{id}/notes/ |
-[**DcimModuleBayTemplatesNotesList**](DcimAPI.md#DcimModuleBayTemplatesNotesList) | **Get** /dcim/module-bay-templates/{id}/notes/ |
[**DcimModuleBayTemplatesPartialUpdate**](DcimAPI.md#DcimModuleBayTemplatesPartialUpdate) | **Patch** /dcim/module-bay-templates/{id}/ |
[**DcimModuleBayTemplatesRetrieve**](DcimAPI.md#DcimModuleBayTemplatesRetrieve) | **Get** /dcim/module-bay-templates/{id}/ |
[**DcimModuleBayTemplatesUpdate**](DcimAPI.md#DcimModuleBayTemplatesUpdate) | **Put** /dcim/module-bay-templates/{id}/ |
@@ -296,6 +293,17 @@ Method | HTTP request | Description
[**DcimModuleBaysPartialUpdate**](DcimAPI.md#DcimModuleBaysPartialUpdate) | **Patch** /dcim/module-bays/{id}/ |
[**DcimModuleBaysRetrieve**](DcimAPI.md#DcimModuleBaysRetrieve) | **Get** /dcim/module-bays/{id}/ |
[**DcimModuleBaysUpdate**](DcimAPI.md#DcimModuleBaysUpdate) | **Put** /dcim/module-bays/{id}/ |
+[**DcimModuleFamiliesBulkDestroy**](DcimAPI.md#DcimModuleFamiliesBulkDestroy) | **Delete** /dcim/module-families/ |
+[**DcimModuleFamiliesBulkPartialUpdate**](DcimAPI.md#DcimModuleFamiliesBulkPartialUpdate) | **Patch** /dcim/module-families/ |
+[**DcimModuleFamiliesBulkUpdate**](DcimAPI.md#DcimModuleFamiliesBulkUpdate) | **Put** /dcim/module-families/ |
+[**DcimModuleFamiliesCreate**](DcimAPI.md#DcimModuleFamiliesCreate) | **Post** /dcim/module-families/ |
+[**DcimModuleFamiliesDestroy**](DcimAPI.md#DcimModuleFamiliesDestroy) | **Delete** /dcim/module-families/{id}/ |
+[**DcimModuleFamiliesList**](DcimAPI.md#DcimModuleFamiliesList) | **Get** /dcim/module-families/ |
+[**DcimModuleFamiliesNotesCreate**](DcimAPI.md#DcimModuleFamiliesNotesCreate) | **Post** /dcim/module-families/{id}/notes/ |
+[**DcimModuleFamiliesNotesList**](DcimAPI.md#DcimModuleFamiliesNotesList) | **Get** /dcim/module-families/{id}/notes/ |
+[**DcimModuleFamiliesPartialUpdate**](DcimAPI.md#DcimModuleFamiliesPartialUpdate) | **Patch** /dcim/module-families/{id}/ |
+[**DcimModuleFamiliesRetrieve**](DcimAPI.md#DcimModuleFamiliesRetrieve) | **Get** /dcim/module-families/{id}/ |
+[**DcimModuleFamiliesUpdate**](DcimAPI.md#DcimModuleFamiliesUpdate) | **Put** /dcim/module-families/{id}/ |
[**DcimModuleTypesBulkDestroy**](DcimAPI.md#DcimModuleTypesBulkDestroy) | **Delete** /dcim/module-types/ |
[**DcimModuleTypesBulkPartialUpdate**](DcimAPI.md#DcimModuleTypesBulkPartialUpdate) | **Patch** /dcim/module-types/ |
[**DcimModuleTypesBulkUpdate**](DcimAPI.md#DcimModuleTypesBulkUpdate) | **Put** /dcim/module-types/ |
@@ -348,8 +356,6 @@ Method | HTTP request | Description
[**DcimPowerOutletTemplatesCreate**](DcimAPI.md#DcimPowerOutletTemplatesCreate) | **Post** /dcim/power-outlet-templates/ |
[**DcimPowerOutletTemplatesDestroy**](DcimAPI.md#DcimPowerOutletTemplatesDestroy) | **Delete** /dcim/power-outlet-templates/{id}/ |
[**DcimPowerOutletTemplatesList**](DcimAPI.md#DcimPowerOutletTemplatesList) | **Get** /dcim/power-outlet-templates/ |
-[**DcimPowerOutletTemplatesNotesCreate**](DcimAPI.md#DcimPowerOutletTemplatesNotesCreate) | **Post** /dcim/power-outlet-templates/{id}/notes/ |
-[**DcimPowerOutletTemplatesNotesList**](DcimAPI.md#DcimPowerOutletTemplatesNotesList) | **Get** /dcim/power-outlet-templates/{id}/notes/ |
[**DcimPowerOutletTemplatesPartialUpdate**](DcimAPI.md#DcimPowerOutletTemplatesPartialUpdate) | **Patch** /dcim/power-outlet-templates/{id}/ |
[**DcimPowerOutletTemplatesRetrieve**](DcimAPI.md#DcimPowerOutletTemplatesRetrieve) | **Get** /dcim/power-outlet-templates/{id}/ |
[**DcimPowerOutletTemplatesUpdate**](DcimAPI.md#DcimPowerOutletTemplatesUpdate) | **Put** /dcim/power-outlet-templates/{id}/ |
@@ -382,8 +388,6 @@ Method | HTTP request | Description
[**DcimPowerPortTemplatesCreate**](DcimAPI.md#DcimPowerPortTemplatesCreate) | **Post** /dcim/power-port-templates/ |
[**DcimPowerPortTemplatesDestroy**](DcimAPI.md#DcimPowerPortTemplatesDestroy) | **Delete** /dcim/power-port-templates/{id}/ |
[**DcimPowerPortTemplatesList**](DcimAPI.md#DcimPowerPortTemplatesList) | **Get** /dcim/power-port-templates/ |
-[**DcimPowerPortTemplatesNotesCreate**](DcimAPI.md#DcimPowerPortTemplatesNotesCreate) | **Post** /dcim/power-port-templates/{id}/notes/ |
-[**DcimPowerPortTemplatesNotesList**](DcimAPI.md#DcimPowerPortTemplatesNotesList) | **Get** /dcim/power-port-templates/{id}/notes/ |
[**DcimPowerPortTemplatesPartialUpdate**](DcimAPI.md#DcimPowerPortTemplatesPartialUpdate) | **Patch** /dcim/power-port-templates/{id}/ |
[**DcimPowerPortTemplatesRetrieve**](DcimAPI.md#DcimPowerPortTemplatesRetrieve) | **Get** /dcim/power-port-templates/{id}/ |
[**DcimPowerPortTemplatesUpdate**](DcimAPI.md#DcimPowerPortTemplatesUpdate) | **Put** /dcim/power-port-templates/{id}/ |
@@ -439,8 +443,6 @@ Method | HTTP request | Description
[**DcimRearPortTemplatesCreate**](DcimAPI.md#DcimRearPortTemplatesCreate) | **Post** /dcim/rear-port-templates/ |
[**DcimRearPortTemplatesDestroy**](DcimAPI.md#DcimRearPortTemplatesDestroy) | **Delete** /dcim/rear-port-templates/{id}/ |
[**DcimRearPortTemplatesList**](DcimAPI.md#DcimRearPortTemplatesList) | **Get** /dcim/rear-port-templates/ |
-[**DcimRearPortTemplatesNotesCreate**](DcimAPI.md#DcimRearPortTemplatesNotesCreate) | **Post** /dcim/rear-port-templates/{id}/notes/ |
-[**DcimRearPortTemplatesNotesList**](DcimAPI.md#DcimRearPortTemplatesNotesList) | **Get** /dcim/rear-port-templates/{id}/notes/ |
[**DcimRearPortTemplatesPartialUpdate**](DcimAPI.md#DcimRearPortTemplatesPartialUpdate) | **Patch** /dcim/rear-port-templates/{id}/ |
[**DcimRearPortTemplatesRetrieve**](DcimAPI.md#DcimRearPortTemplatesRetrieve) | **Get** /dcim/rear-port-templates/{id}/ |
[**DcimRearPortTemplatesUpdate**](DcimAPI.md#DcimRearPortTemplatesUpdate) | **Put** /dcim/rear-port-templates/{id}/ |
@@ -489,6 +491,17 @@ Method | HTTP request | Description
[**DcimVirtualChassisPartialUpdate**](DcimAPI.md#DcimVirtualChassisPartialUpdate) | **Patch** /dcim/virtual-chassis/{id}/ |
[**DcimVirtualChassisRetrieve**](DcimAPI.md#DcimVirtualChassisRetrieve) | **Get** /dcim/virtual-chassis/{id}/ |
[**DcimVirtualChassisUpdate**](DcimAPI.md#DcimVirtualChassisUpdate) | **Put** /dcim/virtual-chassis/{id}/ |
+[**DcimVirtualDeviceContextsBulkDestroy**](DcimAPI.md#DcimVirtualDeviceContextsBulkDestroy) | **Delete** /dcim/virtual-device-contexts/ |
+[**DcimVirtualDeviceContextsBulkPartialUpdate**](DcimAPI.md#DcimVirtualDeviceContextsBulkPartialUpdate) | **Patch** /dcim/virtual-device-contexts/ |
+[**DcimVirtualDeviceContextsBulkUpdate**](DcimAPI.md#DcimVirtualDeviceContextsBulkUpdate) | **Put** /dcim/virtual-device-contexts/ |
+[**DcimVirtualDeviceContextsCreate**](DcimAPI.md#DcimVirtualDeviceContextsCreate) | **Post** /dcim/virtual-device-contexts/ |
+[**DcimVirtualDeviceContextsDestroy**](DcimAPI.md#DcimVirtualDeviceContextsDestroy) | **Delete** /dcim/virtual-device-contexts/{id}/ |
+[**DcimVirtualDeviceContextsList**](DcimAPI.md#DcimVirtualDeviceContextsList) | **Get** /dcim/virtual-device-contexts/ |
+[**DcimVirtualDeviceContextsNotesCreate**](DcimAPI.md#DcimVirtualDeviceContextsNotesCreate) | **Post** /dcim/virtual-device-contexts/{id}/notes/ |
+[**DcimVirtualDeviceContextsNotesList**](DcimAPI.md#DcimVirtualDeviceContextsNotesList) | **Get** /dcim/virtual-device-contexts/{id}/notes/ |
+[**DcimVirtualDeviceContextsPartialUpdate**](DcimAPI.md#DcimVirtualDeviceContextsPartialUpdate) | **Patch** /dcim/virtual-device-contexts/{id}/ |
+[**DcimVirtualDeviceContextsRetrieve**](DcimAPI.md#DcimVirtualDeviceContextsRetrieve) | **Get** /dcim/virtual-device-contexts/{id}/ |
+[**DcimVirtualDeviceContextsUpdate**](DcimAPI.md#DcimVirtualDeviceContextsUpdate) | **Put** /dcim/virtual-device-contexts/{id}/ |
@@ -834,7 +847,7 @@ Name | Type | Description | Notes
## DcimCablesList
-> PaginatedCableList DcimCablesList(ctx).Color(color).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIre(colorIre).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNire(colorNire).ColorNisw(colorNisw).ColorNre(colorNre).ColorRe(colorRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Device(device).DeviceId(deviceId).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Length(length).LengthGt(lengthGt).LengthGte(lengthGte).LengthIsnull(lengthIsnull).LengthLt(lengthLt).LengthLte(lengthLte).LengthN(lengthN).LengthUnit(lengthUnit).LengthUnitIc(lengthUnitIc).LengthUnitIe(lengthUnitIe).LengthUnitIew(lengthUnitIew).LengthUnitIre(lengthUnitIre).LengthUnitIsw(lengthUnitIsw).LengthUnitN(lengthUnitN).LengthUnitNic(lengthUnitNic).LengthUnitNie(lengthUnitNie).LengthUnitNiew(lengthUnitNiew).LengthUnitNire(lengthUnitNire).LengthUnitNisw(lengthUnitNisw).LengthUnitNre(lengthUnitNre).LengthUnitRe(lengthUnitRe).Limit(limit).Location(location).LocationId(locationId).Offset(offset).Q(q).Rack(rack).RackId(rackId).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantId(tenantId).TerminationAId(terminationAId).TerminationAIdIc(terminationAIdIc).TerminationAIdIe(terminationAIdIe).TerminationAIdIew(terminationAIdIew).TerminationAIdIre(terminationAIdIre).TerminationAIdIsw(terminationAIdIsw).TerminationAIdN(terminationAIdN).TerminationAIdNic(terminationAIdNic).TerminationAIdNie(terminationAIdNie).TerminationAIdNiew(terminationAIdNiew).TerminationAIdNire(terminationAIdNire).TerminationAIdNisw(terminationAIdNisw).TerminationAIdNre(terminationAIdNre).TerminationAIdRe(terminationAIdRe).TerminationAType(terminationAType).TerminationATypeN(terminationATypeN).TerminationBId(terminationBId).TerminationBIdIc(terminationBIdIc).TerminationBIdIe(terminationBIdIe).TerminationBIdIew(terminationBIdIew).TerminationBIdIre(terminationBIdIre).TerminationBIdIsw(terminationBIdIsw).TerminationBIdN(terminationBIdN).TerminationBIdNic(terminationBIdNic).TerminationBIdNie(terminationBIdNie).TerminationBIdNiew(terminationBIdNiew).TerminationBIdNire(terminationBIdNire).TerminationBIdNisw(terminationBIdNisw).TerminationBIdNre(terminationBIdNre).TerminationBIdRe(terminationBIdRe).TerminationBType(terminationBType).TerminationBTypeN(terminationBTypeN).TerminationType(terminationType).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).Execute()
+> PaginatedCableList DcimCablesList(ctx).Color(color).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIre(colorIre).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNire(colorNire).ColorNisw(colorNisw).ColorNre(colorNre).ColorRe(colorRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Device(device).DeviceId(deviceId).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Length(length).LengthGt(lengthGt).LengthGte(lengthGte).LengthIsnull(lengthIsnull).LengthLt(lengthLt).LengthLte(lengthLte).LengthN(lengthN).LengthUnit(lengthUnit).LengthUnitIc(lengthUnitIc).LengthUnitIe(lengthUnitIe).LengthUnitIew(lengthUnitIew).LengthUnitIre(lengthUnitIre).LengthUnitIsw(lengthUnitIsw).LengthUnitN(lengthUnitN).LengthUnitNic(lengthUnitNic).LengthUnitNie(lengthUnitNie).LengthUnitNiew(lengthUnitNiew).LengthUnitNire(lengthUnitNire).LengthUnitNisw(lengthUnitNisw).LengthUnitNre(lengthUnitNre).LengthUnitRe(lengthUnitRe).Limit(limit).Location(location).LocationId(locationId).Offset(offset).Q(q).Rack(rack).RackId(rackId).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantId(tenantId).TerminationAId(terminationAId).TerminationAIdN(terminationAIdN).TerminationAType(terminationAType).TerminationATypeN(terminationATypeN).TerminationBId(terminationBId).TerminationBIdN(terminationBIdN).TerminationBType(terminationBType).TerminationBTypeN(terminationBTypeN).TerminationType(terminationType).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -870,7 +883,7 @@ func main() {
colorRe := []string{"Inner_example"} // []string | (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -881,22 +894,10 @@ func main() {
device := []string{"Inner_example"} // []string | Device (name) (optional)
deviceId := []*string{"Inner_example"} // []*string | Device (ID) (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
label := []string{"Inner_example"} // []string | (optional)
labelIc := []string{"Inner_example"} // []string | (optional)
labelIe := []string{"Inner_example"} // []string | (optional)
@@ -948,45 +949,21 @@ func main() {
rackId := []string{"Inner_example"} // []string | Rack (ID) (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
status := []string{"Inner_example"} // []string | (optional)
- statusN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Status (name or ID) (optional)
+ statusN := []string{"Inner_example"} // []string | (optional)
tags := []string{"Inner_example"} // []string | (optional)
tagsIsnull := true // bool | (optional)
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
tenant := []string{"Inner_example"} // []string | Tenant (name) (optional)
tenantId := []string{"Inner_example"} // []string | Tenant (ID) (optional)
terminationAId := []string{"Inner_example"} // []string | (optional)
- terminationAIdIc := []string{"Inner_example"} // []string | (optional)
- terminationAIdIe := []string{"Inner_example"} // []string | (optional)
- terminationAIdIew := []string{"Inner_example"} // []string | (optional)
- terminationAIdIre := []string{"Inner_example"} // []string | (optional)
- terminationAIdIsw := []string{"Inner_example"} // []string | (optional)
terminationAIdN := []string{"Inner_example"} // []string | (optional)
- terminationAIdNic := []string{"Inner_example"} // []string | (optional)
- terminationAIdNie := []string{"Inner_example"} // []string | (optional)
- terminationAIdNiew := []string{"Inner_example"} // []string | (optional)
- terminationAIdNire := []string{"Inner_example"} // []string | (optional)
- terminationAIdNisw := []string{"Inner_example"} // []string | (optional)
- terminationAIdNre := []string{"Inner_example"} // []string | (optional)
- terminationAIdRe := []string{"Inner_example"} // []string | (optional)
terminationAType := []int32{int32(123)} // []int32 | (optional)
terminationATypeN := []int32{int32(123)} // []int32 | (optional)
terminationBId := []string{"Inner_example"} // []string | (optional)
- terminationBIdIc := []string{"Inner_example"} // []string | (optional)
- terminationBIdIe := []string{"Inner_example"} // []string | (optional)
- terminationBIdIew := []string{"Inner_example"} // []string | (optional)
- terminationBIdIre := []string{"Inner_example"} // []string | (optional)
- terminationBIdIsw := []string{"Inner_example"} // []string | (optional)
terminationBIdN := []string{"Inner_example"} // []string | (optional)
- terminationBIdNic := []string{"Inner_example"} // []string | (optional)
- terminationBIdNie := []string{"Inner_example"} // []string | (optional)
- terminationBIdNiew := []string{"Inner_example"} // []string | (optional)
- terminationBIdNire := []string{"Inner_example"} // []string | (optional)
- terminationBIdNisw := []string{"Inner_example"} // []string | (optional)
- terminationBIdNre := []string{"Inner_example"} // []string | (optional)
- terminationBIdRe := []string{"Inner_example"} // []string | (optional)
terminationBType := []int32{int32(123)} // []int32 | (optional)
terminationBTypeN := []int32{int32(123)} // []int32 | (optional)
terminationType := []string{"Inner_example"} // []string | (optional)
@@ -1005,10 +982,11 @@ func main() {
typeNre := []string{"Inner_example"} // []string | (optional)
typeRe := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimCablesList(context.Background()).Color(color).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIre(colorIre).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNire(colorNire).ColorNisw(colorNisw).ColorNre(colorNre).ColorRe(colorRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Device(device).DeviceId(deviceId).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Length(length).LengthGt(lengthGt).LengthGte(lengthGte).LengthIsnull(lengthIsnull).LengthLt(lengthLt).LengthLte(lengthLte).LengthN(lengthN).LengthUnit(lengthUnit).LengthUnitIc(lengthUnitIc).LengthUnitIe(lengthUnitIe).LengthUnitIew(lengthUnitIew).LengthUnitIre(lengthUnitIre).LengthUnitIsw(lengthUnitIsw).LengthUnitN(lengthUnitN).LengthUnitNic(lengthUnitNic).LengthUnitNie(lengthUnitNie).LengthUnitNiew(lengthUnitNiew).LengthUnitNire(lengthUnitNire).LengthUnitNisw(lengthUnitNisw).LengthUnitNre(lengthUnitNre).LengthUnitRe(lengthUnitRe).Limit(limit).Location(location).LocationId(locationId).Offset(offset).Q(q).Rack(rack).RackId(rackId).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantId(tenantId).TerminationAId(terminationAId).TerminationAIdIc(terminationAIdIc).TerminationAIdIe(terminationAIdIe).TerminationAIdIew(terminationAIdIew).TerminationAIdIre(terminationAIdIre).TerminationAIdIsw(terminationAIdIsw).TerminationAIdN(terminationAIdN).TerminationAIdNic(terminationAIdNic).TerminationAIdNie(terminationAIdNie).TerminationAIdNiew(terminationAIdNiew).TerminationAIdNire(terminationAIdNire).TerminationAIdNisw(terminationAIdNisw).TerminationAIdNre(terminationAIdNre).TerminationAIdRe(terminationAIdRe).TerminationAType(terminationAType).TerminationATypeN(terminationATypeN).TerminationBId(terminationBId).TerminationBIdIc(terminationBIdIc).TerminationBIdIe(terminationBIdIe).TerminationBIdIew(terminationBIdIew).TerminationBIdIre(terminationBIdIre).TerminationBIdIsw(terminationBIdIsw).TerminationBIdN(terminationBIdN).TerminationBIdNic(terminationBIdNic).TerminationBIdNie(terminationBIdNie).TerminationBIdNiew(terminationBIdNiew).TerminationBIdNire(terminationBIdNire).TerminationBIdNisw(terminationBIdNisw).TerminationBIdNre(terminationBIdNre).TerminationBIdRe(terminationBIdRe).TerminationBType(terminationBType).TerminationBTypeN(terminationBTypeN).TerminationType(terminationType).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimCablesList(context.Background()).Color(color).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIre(colorIre).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNire(colorNire).ColorNisw(colorNisw).ColorNre(colorNre).ColorRe(colorRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Device(device).DeviceId(deviceId).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Length(length).LengthGt(lengthGt).LengthGte(lengthGte).LengthIsnull(lengthIsnull).LengthLt(lengthLt).LengthLte(lengthLte).LengthN(lengthN).LengthUnit(lengthUnit).LengthUnitIc(lengthUnitIc).LengthUnitIe(lengthUnitIe).LengthUnitIew(lengthUnitIew).LengthUnitIre(lengthUnitIre).LengthUnitIsw(lengthUnitIsw).LengthUnitN(lengthUnitN).LengthUnitNic(lengthUnitNic).LengthUnitNie(lengthUnitNie).LengthUnitNiew(lengthUnitNiew).LengthUnitNire(lengthUnitNire).LengthUnitNisw(lengthUnitNisw).LengthUnitNre(lengthUnitNre).LengthUnitRe(lengthUnitRe).Limit(limit).Location(location).LocationId(locationId).Offset(offset).Q(q).Rack(rack).RackId(rackId).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantId(tenantId).TerminationAId(terminationAId).TerminationAIdN(terminationAIdN).TerminationAType(terminationAType).TerminationATypeN(terminationATypeN).TerminationBId(terminationBId).TerminationBIdN(terminationBIdN).TerminationBType(terminationBType).TerminationBTypeN(terminationBTypeN).TerminationType(terminationType).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimCablesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -1045,7 +1023,7 @@ Name | Type | Description | Notes
**colorRe** | **[]string** | |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -1056,22 +1034,10 @@ Name | Type | Description | Notes
**device** | **[]string** | Device (name) |
**deviceId** | **[]string** | Device (ID) |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**label** | **[]string** | |
**labelIc** | **[]string** | |
**labelIe** | **[]string** | |
@@ -1123,45 +1089,21 @@ Name | Type | Description | Notes
**rackId** | **[]string** | Rack (ID) |
**sort** | **string** | Which field to use when ordering the results. |
**status** | **[]string** | |
- **statusN** | **string** | Exclude Status (name or ID) |
+ **statusN** | **[]string** | |
**tags** | **[]string** | |
**tagsIsnull** | **bool** | |
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**tenant** | **[]string** | Tenant (name) |
**tenantId** | **[]string** | Tenant (ID) |
**terminationAId** | **[]string** | |
- **terminationAIdIc** | **[]string** | |
- **terminationAIdIe** | **[]string** | |
- **terminationAIdIew** | **[]string** | |
- **terminationAIdIre** | **[]string** | |
- **terminationAIdIsw** | **[]string** | |
**terminationAIdN** | **[]string** | |
- **terminationAIdNic** | **[]string** | |
- **terminationAIdNie** | **[]string** | |
- **terminationAIdNiew** | **[]string** | |
- **terminationAIdNire** | **[]string** | |
- **terminationAIdNisw** | **[]string** | |
- **terminationAIdNre** | **[]string** | |
- **terminationAIdRe** | **[]string** | |
**terminationAType** | **[]int32** | |
**terminationATypeN** | **[]int32** | |
**terminationBId** | **[]string** | |
- **terminationBIdIc** | **[]string** | |
- **terminationBIdIe** | **[]string** | |
- **terminationBIdIew** | **[]string** | |
- **terminationBIdIre** | **[]string** | |
- **terminationBIdIsw** | **[]string** | |
**terminationBIdN** | **[]string** | |
- **terminationBIdNic** | **[]string** | |
- **terminationBIdNie** | **[]string** | |
- **terminationBIdNiew** | **[]string** | |
- **terminationBIdNire** | **[]string** | |
- **terminationBIdNisw** | **[]string** | |
- **terminationBIdNre** | **[]string** | |
- **terminationBIdRe** | **[]string** | |
**terminationBType** | **[]int32** | |
**terminationBTypeN** | **[]int32** | |
**terminationType** | **[]string** | |
@@ -1180,6 +1122,7 @@ Name | Type | Description | Notes
**typeNre** | **[]string** | |
**typeRe** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -1275,7 +1218,7 @@ Name | Type | Description | Notes
## DcimCablesNotesList
-> PaginatedNoteList DcimCablesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList DcimCablesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -1299,10 +1242,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimCablesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimCablesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimCablesNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -1332,6 +1276,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -1427,7 +1372,7 @@ Name | Type | Description | Notes
## DcimCablesRetrieve
-> Cable DcimCablesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> Cable DcimCablesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -1449,10 +1394,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this cable.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimCablesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimCablesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimCablesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -1480,6 +1426,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -1575,7 +1522,7 @@ Name | Type | Description | Notes
## DcimConnectedDeviceList
-> []Device DcimConnectedDeviceList(ctx).PeerDevice(peerDevice).PeerInterface(peerInterface).Format(format).Depth(depth).Execute()
+> []Device DcimConnectedDeviceList(ctx).PeerDevice(peerDevice).PeerInterface(peerInterface).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -1598,10 +1545,11 @@ func main() {
peerInterface := "peerInterface_example" // string | The name of the peer interface
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimConnectedDeviceList(context.Background()).PeerDevice(peerDevice).PeerInterface(peerInterface).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimConnectedDeviceList(context.Background()).PeerDevice(peerDevice).PeerInterface(peerInterface).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimConnectedDeviceList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -1626,6 +1574,7 @@ Name | Type | Description | Notes
**peerInterface** | **string** | The name of the peer interface |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -1647,7 +1596,7 @@ Name | Type | Description | Notes
## DcimConsoleConnectionsList
-> PaginatedConsolePortList DcimConsoleConnectionsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Device(device).DeviceId(deviceId).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Location(location).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedConsolePortList DcimConsoleConnectionsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Device(device).DeviceId(deviceId).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).Limit(limit).Location(location).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -1668,26 +1617,14 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
device := []string{"Inner_example"} // []string | Device (name) (optional)
deviceId := []string{"Inner_example"} // []string | Device (ID) (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
location := "location_example" // string | Location (name) (optional)
name := []string{"Inner_example"} // []string | (optional)
@@ -1708,12 +1645,13 @@ func main() {
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimConsoleConnectionsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Device(device).DeviceId(deviceId).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Location(location).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimConsoleConnectionsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Device(device).DeviceId(deviceId).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).Limit(limit).Location(location).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimConsoleConnectionsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -1736,26 +1674,14 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**device** | **[]string** | Device (name) |
**deviceId** | **[]string** | Device (ID) |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**limit** | **int32** | Number of results to return per page. |
**location** | **string** | Location (name) |
**name** | **[]string** | |
@@ -1776,8 +1702,9 @@ Name | Type | Description | Notes
**sort** | **string** | Which field to use when ordering the results. |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -2139,7 +2066,7 @@ Name | Type | Description | Notes
## DcimConsolePortTemplatesList
-> PaginatedConsolePortTemplateList DcimConsolePortTemplatesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceType(hasDeviceType).HasModuleType(hasModuleType).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).Execute()
+> PaginatedConsolePortTemplateList DcimConsolePortTemplatesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceType(hasDeviceType).HasModuleType(hasModuleType).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -2160,7 +2087,7 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
description := []string{"Inner_example"} // []string | Description (optional)
descriptionIc := []string{"Inner_example"} // []string | Description (optional)
descriptionIe := []string{"Inner_example"} // []string | Description (optional)
@@ -2179,24 +2106,12 @@ func main() {
deviceTypeIsnull := true // bool | Device type (model or ID) is null (optional)
deviceTypeN := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
hasDeviceType := true // bool | Has device type (optional)
hasModuleType := true // bool | Has module type (optional)
id := []string{"Inner_example"} // []string | ID (optional)
- idIc := []string{"Inner_example"} // []string | ID contains (optional)
- idIe := []string{"Inner_example"} // []string | ID (optional)
- idIew := []string{"Inner_example"} // []string | ID ends with (optional)
- idIre := []string{"Inner_example"} // []string | ID matches regex (optional)
- idIsw := []string{"Inner_example"} // []string | ID starts with (optional)
idN := []string{"Inner_example"} // []string | Exclude ID (optional)
- idNic := []string{"Inner_example"} // []string | Exclude ID contains (optional)
- idNie := []string{"Inner_example"} // []string | Exclude ID (optional)
- idNiew := []string{"Inner_example"} // []string | Exclude ID ends with (optional)
- idNire := []string{"Inner_example"} // []string | Exclude ID matches regex (optional)
- idNisw := []string{"Inner_example"} // []string | Exclude ID starts with (optional)
- idNre := []string{"Inner_example"} // []string | Exclude ID matches regex (optional)
- idRe := []string{"Inner_example"} // []string | ID matches regex (optional)
label := []string{"Inner_example"} // []string | Label (optional)
labelIc := []string{"Inner_example"} // []string | Label (optional)
labelIe := []string{"Inner_example"} // []string | Label (optional)
@@ -2234,7 +2149,7 @@ func main() {
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
type_ := []string{"Inner_example"} // []string | (optional)
typeIc := []string{"Inner_example"} // []string | (optional)
typeIe := []string{"Inner_example"} // []string | (optional)
@@ -2250,10 +2165,11 @@ func main() {
typeNre := []string{"Inner_example"} // []string | (optional)
typeRe := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimConsolePortTemplatesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceType(hasDeviceType).HasModuleType(hasModuleType).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimConsolePortTemplatesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceType(hasDeviceType).HasModuleType(hasModuleType).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimConsolePortTemplatesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -2276,7 +2192,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**description** | **[]string** | Description |
**descriptionIc** | **[]string** | Description |
**descriptionIe** | **[]string** | Description |
@@ -2295,24 +2211,12 @@ Name | Type | Description | Notes
**deviceTypeIsnull** | **bool** | Device type (model or ID) is null |
**deviceTypeN** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**hasDeviceType** | **bool** | Has device type |
**hasModuleType** | **bool** | Has module type |
**id** | **[]string** | ID |
- **idIc** | **[]string** | ID contains |
- **idIe** | **[]string** | ID |
- **idIew** | **[]string** | ID ends with |
- **idIre** | **[]string** | ID matches regex |
- **idIsw** | **[]string** | ID starts with |
**idN** | **[]string** | Exclude ID |
- **idNic** | **[]string** | Exclude ID contains |
- **idNie** | **[]string** | Exclude ID |
- **idNiew** | **[]string** | Exclude ID ends with |
- **idNire** | **[]string** | Exclude ID matches regex |
- **idNisw** | **[]string** | Exclude ID starts with |
- **idNre** | **[]string** | Exclude ID matches regex |
- **idRe** | **[]string** | ID matches regex |
**label** | **[]string** | Label |
**labelIc** | **[]string** | Label |
**labelIe** | **[]string** | Label |
@@ -2350,7 +2254,7 @@ Name | Type | Description | Notes
**sort** | **string** | Which field to use when ordering the results. |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**type_** | **[]string** | |
**typeIc** | **[]string** | |
**typeIe** | **[]string** | |
@@ -2366,6 +2270,7 @@ Name | Type | Description | Notes
**typeNre** | **[]string** | |
**typeRe** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -2385,158 +2290,6 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimConsolePortTemplatesNotesCreate
-
-> Note DcimConsolePortTemplatesNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this console port template.
- noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimConsolePortTemplatesNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimConsolePortTemplatesNotesCreate``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `DcimConsolePortTemplatesNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimConsolePortTemplatesNotesCreate`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this console port template. |
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiDcimConsolePortTemplatesNotesCreateRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-
- **noteInputRequest** | [**NoteInputRequest**](NoteInputRequest.md) | |
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
-
-### Return type
-
-[**Note**](Note.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: application/json, text/csv
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## DcimConsolePortTemplatesNotesList
-
-> PaginatedNoteList DcimConsolePortTemplatesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this console port template.
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- limit := int32(56) // int32 | Number of results to return per page. (optional)
- offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimConsolePortTemplatesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimConsolePortTemplatesNotesList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `DcimConsolePortTemplatesNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimConsolePortTemplatesNotesList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this console port template. |
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiDcimConsolePortTemplatesNotesListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **limit** | **int32** | Number of results to return per page. |
- **offset** | **int32** | The initial index from which to return the results. |
- **depth** | **int32** | Serializer Depth | [default to 1]
-
-### Return type
-
-[**PaginatedNoteList**](PaginatedNoteList.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
## DcimConsolePortTemplatesPartialUpdate
> ConsolePortTemplate DcimConsolePortTemplatesPartialUpdate(ctx, id).Format(format).PatchedWritableConsolePortTemplateRequest(patchedWritableConsolePortTemplateRequest).Execute()
@@ -2613,7 +2366,7 @@ Name | Type | Description | Notes
## DcimConsolePortTemplatesRetrieve
-> ConsolePortTemplate DcimConsolePortTemplatesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> ConsolePortTemplate DcimConsolePortTemplatesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -2635,10 +2388,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this console port template.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimConsolePortTemplatesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimConsolePortTemplatesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimConsolePortTemplatesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -2666,6 +2420,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -3101,7 +2856,7 @@ Name | Type | Description | Notes
## DcimConsolePortsList
-> PaginatedConsolePortList DcimConsolePortsList(ctx).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Connected(connected).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCable(hasCable).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).Module(module).ModuleIsnull(moduleIsnull).ModuleN(moduleN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).Execute()
+> PaginatedConsolePortList DcimConsolePortsList(ctx).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Connected(connected).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCable(hasCable).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).Module(module).ModuleIsnull(moduleIsnull).ModuleN(moduleN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -3126,7 +2881,7 @@ func main() {
connected := true // bool | Connected status (bool) (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
description := []string{"Inner_example"} // []string | (optional)
descriptionIc := []string{"Inner_example"} // []string | (optional)
descriptionIe := []string{"Inner_example"} // []string | (optional)
@@ -3143,23 +2898,11 @@ func main() {
descriptionRe := []string{"Inner_example"} // []string | (optional)
device := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
hasCable := true // bool | Has cable (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
label := []string{"Inner_example"} // []string | (optional)
labelIc := []string{"Inner_example"} // []string | (optional)
labelIe := []string{"Inner_example"} // []string | (optional)
@@ -3202,26 +2945,27 @@ func main() {
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
type_ := []string{"Inner_example"} // []string | Physical port type (optional)
- typeIc := []string{"Inner_example"} // []string | Physical port type (optional)
- typeIe := []string{"Inner_example"} // []string | Physical port type (optional)
- typeIew := []string{"Inner_example"} // []string | Physical port type (optional)
- typeIre := []string{"Inner_example"} // []string | Physical port type (optional)
- typeIsw := []string{"Inner_example"} // []string | Physical port type (optional)
- typeN := []string{"Inner_example"} // []string | Physical port type (optional)
- typeNic := []string{"Inner_example"} // []string | Physical port type (optional)
- typeNie := []string{"Inner_example"} // []string | Physical port type (optional)
- typeNiew := []string{"Inner_example"} // []string | Physical port type (optional)
- typeNire := []string{"Inner_example"} // []string | Physical port type (optional)
- typeNisw := []string{"Inner_example"} // []string | Physical port type (optional)
- typeNre := []string{"Inner_example"} // []string | Physical port type (optional)
- typeRe := []string{"Inner_example"} // []string | Physical port type (optional)
+ typeIc := []string{"Inner_example"} // []string | (optional)
+ typeIe := []string{"Inner_example"} // []string | (optional)
+ typeIew := []string{"Inner_example"} // []string | (optional)
+ typeIre := []string{"Inner_example"} // []string | (optional)
+ typeIsw := []string{"Inner_example"} // []string | (optional)
+ typeN := []string{"Inner_example"} // []string | (optional)
+ typeNic := []string{"Inner_example"} // []string | (optional)
+ typeNie := []string{"Inner_example"} // []string | (optional)
+ typeNiew := []string{"Inner_example"} // []string | (optional)
+ typeNire := []string{"Inner_example"} // []string | (optional)
+ typeNisw := []string{"Inner_example"} // []string | (optional)
+ typeNre := []string{"Inner_example"} // []string | (optional)
+ typeRe := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimConsolePortsList(context.Background()).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Connected(connected).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCable(hasCable).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).Module(module).ModuleIsnull(moduleIsnull).ModuleN(moduleN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimConsolePortsList(context.Background()).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Connected(connected).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCable(hasCable).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).Module(module).ModuleIsnull(moduleIsnull).ModuleN(moduleN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimConsolePortsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -3248,7 +2992,7 @@ Name | Type | Description | Notes
**connected** | **bool** | Connected status (bool) |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**description** | **[]string** | |
**descriptionIc** | **[]string** | |
**descriptionIe** | **[]string** | |
@@ -3265,23 +3009,11 @@ Name | Type | Description | Notes
**descriptionRe** | **[]string** | |
**device** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**hasCable** | **bool** | Has cable |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**label** | **[]string** | |
**labelIc** | **[]string** | |
**labelIe** | **[]string** | |
@@ -3324,22 +3056,23 @@ Name | Type | Description | Notes
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**type_** | **[]string** | Physical port type |
- **typeIc** | **[]string** | Physical port type |
- **typeIe** | **[]string** | Physical port type |
- **typeIew** | **[]string** | Physical port type |
- **typeIre** | **[]string** | Physical port type |
- **typeIsw** | **[]string** | Physical port type |
- **typeN** | **[]string** | Physical port type |
- **typeNic** | **[]string** | Physical port type |
- **typeNie** | **[]string** | Physical port type |
- **typeNiew** | **[]string** | Physical port type |
- **typeNire** | **[]string** | Physical port type |
- **typeNisw** | **[]string** | Physical port type |
- **typeNre** | **[]string** | Physical port type |
- **typeRe** | **[]string** | Physical port type |
+ **typeIc** | **[]string** | |
+ **typeIe** | **[]string** | |
+ **typeIew** | **[]string** | |
+ **typeIre** | **[]string** | |
+ **typeIsw** | **[]string** | |
+ **typeN** | **[]string** | |
+ **typeNic** | **[]string** | |
+ **typeNie** | **[]string** | |
+ **typeNiew** | **[]string** | |
+ **typeNire** | **[]string** | |
+ **typeNisw** | **[]string** | |
+ **typeNre** | **[]string** | |
+ **typeRe** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -3435,7 +3168,7 @@ Name | Type | Description | Notes
## DcimConsolePortsNotesList
-> PaginatedNoteList DcimConsolePortsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList DcimConsolePortsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -3459,10 +3192,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimConsolePortsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimConsolePortsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimConsolePortsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -3492,6 +3226,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -3587,7 +3322,7 @@ Name | Type | Description | Notes
## DcimConsolePortsRetrieve
-> ConsolePort DcimConsolePortsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> ConsolePort DcimConsolePortsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -3609,10 +3344,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this console port.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimConsolePortsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimConsolePortsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimConsolePortsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -3640,6 +3376,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -3661,7 +3398,7 @@ Name | Type | Description | Notes
## DcimConsolePortsTraceRetrieve
-> ConsolePort DcimConsolePortsTraceRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> ConsolePort DcimConsolePortsTraceRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -3683,10 +3420,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this console port.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimConsolePortsTraceRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimConsolePortsTraceRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimConsolePortsTraceRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -3714,6 +3452,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -4149,7 +3888,7 @@ Name | Type | Description | Notes
## DcimConsoleServerPortTemplatesList
-> PaginatedConsoleServerPortTemplateList DcimConsoleServerPortTemplatesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceType(hasDeviceType).HasModuleType(hasModuleType).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).Execute()
+> PaginatedConsoleServerPortTemplateList DcimConsoleServerPortTemplatesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceType(hasDeviceType).HasModuleType(hasModuleType).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -4170,7 +3909,7 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
description := []string{"Inner_example"} // []string | Description (optional)
descriptionIc := []string{"Inner_example"} // []string | Description (optional)
descriptionIe := []string{"Inner_example"} // []string | Description (optional)
@@ -4189,24 +3928,12 @@ func main() {
deviceTypeIsnull := true // bool | Device type (model or ID) is null (optional)
deviceTypeN := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
hasDeviceType := true // bool | Has device type (optional)
hasModuleType := true // bool | Has module type (optional)
id := []string{"Inner_example"} // []string | ID (optional)
- idIc := []string{"Inner_example"} // []string | ID contains (optional)
- idIe := []string{"Inner_example"} // []string | ID (optional)
- idIew := []string{"Inner_example"} // []string | ID ends with (optional)
- idIre := []string{"Inner_example"} // []string | ID matches regex (optional)
- idIsw := []string{"Inner_example"} // []string | ID starts with (optional)
idN := []string{"Inner_example"} // []string | Exclude ID (optional)
- idNic := []string{"Inner_example"} // []string | Exclude ID contains (optional)
- idNie := []string{"Inner_example"} // []string | Exclude ID (optional)
- idNiew := []string{"Inner_example"} // []string | Exclude ID ends with (optional)
- idNire := []string{"Inner_example"} // []string | Exclude ID matches regex (optional)
- idNisw := []string{"Inner_example"} // []string | Exclude ID starts with (optional)
- idNre := []string{"Inner_example"} // []string | Exclude ID matches regex (optional)
- idRe := []string{"Inner_example"} // []string | ID matches regex (optional)
label := []string{"Inner_example"} // []string | Label (optional)
labelIc := []string{"Inner_example"} // []string | Label (optional)
labelIe := []string{"Inner_example"} // []string | Label (optional)
@@ -4244,7 +3971,7 @@ func main() {
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
type_ := []string{"Inner_example"} // []string | (optional)
typeIc := []string{"Inner_example"} // []string | (optional)
typeIe := []string{"Inner_example"} // []string | (optional)
@@ -4260,10 +3987,11 @@ func main() {
typeNre := []string{"Inner_example"} // []string | (optional)
typeRe := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimConsoleServerPortTemplatesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceType(hasDeviceType).HasModuleType(hasModuleType).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimConsoleServerPortTemplatesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceType(hasDeviceType).HasModuleType(hasModuleType).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimConsoleServerPortTemplatesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -4286,7 +4014,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**description** | **[]string** | Description |
**descriptionIc** | **[]string** | Description |
**descriptionIe** | **[]string** | Description |
@@ -4305,24 +4033,12 @@ Name | Type | Description | Notes
**deviceTypeIsnull** | **bool** | Device type (model or ID) is null |
**deviceTypeN** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**hasDeviceType** | **bool** | Has device type |
**hasModuleType** | **bool** | Has module type |
**id** | **[]string** | ID |
- **idIc** | **[]string** | ID contains |
- **idIe** | **[]string** | ID |
- **idIew** | **[]string** | ID ends with |
- **idIre** | **[]string** | ID matches regex |
- **idIsw** | **[]string** | ID starts with |
**idN** | **[]string** | Exclude ID |
- **idNic** | **[]string** | Exclude ID contains |
- **idNie** | **[]string** | Exclude ID |
- **idNiew** | **[]string** | Exclude ID ends with |
- **idNire** | **[]string** | Exclude ID matches regex |
- **idNisw** | **[]string** | Exclude ID starts with |
- **idNre** | **[]string** | Exclude ID matches regex |
- **idRe** | **[]string** | ID matches regex |
**label** | **[]string** | Label |
**labelIc** | **[]string** | Label |
**labelIe** | **[]string** | Label |
@@ -4360,7 +4076,7 @@ Name | Type | Description | Notes
**sort** | **string** | Which field to use when ordering the results. |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**type_** | **[]string** | |
**typeIc** | **[]string** | |
**typeIe** | **[]string** | |
@@ -4376,6 +4092,7 @@ Name | Type | Description | Notes
**typeNre** | **[]string** | |
**typeRe** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -4395,158 +4112,6 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimConsoleServerPortTemplatesNotesCreate
-
-> Note DcimConsoleServerPortTemplatesNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this console server port template.
- noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimConsoleServerPortTemplatesNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimConsoleServerPortTemplatesNotesCreate``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `DcimConsoleServerPortTemplatesNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimConsoleServerPortTemplatesNotesCreate`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this console server port template. |
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiDcimConsoleServerPortTemplatesNotesCreateRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-
- **noteInputRequest** | [**NoteInputRequest**](NoteInputRequest.md) | |
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
-
-### Return type
-
-[**Note**](Note.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: application/json, text/csv
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## DcimConsoleServerPortTemplatesNotesList
-
-> PaginatedNoteList DcimConsoleServerPortTemplatesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this console server port template.
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- limit := int32(56) // int32 | Number of results to return per page. (optional)
- offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimConsoleServerPortTemplatesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimConsoleServerPortTemplatesNotesList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `DcimConsoleServerPortTemplatesNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimConsoleServerPortTemplatesNotesList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this console server port template. |
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiDcimConsoleServerPortTemplatesNotesListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **limit** | **int32** | Number of results to return per page. |
- **offset** | **int32** | The initial index from which to return the results. |
- **depth** | **int32** | Serializer Depth | [default to 1]
-
-### Return type
-
-[**PaginatedNoteList**](PaginatedNoteList.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
## DcimConsoleServerPortTemplatesPartialUpdate
> ConsoleServerPortTemplate DcimConsoleServerPortTemplatesPartialUpdate(ctx, id).Format(format).PatchedWritableConsoleServerPortTemplateRequest(patchedWritableConsoleServerPortTemplateRequest).Execute()
@@ -4623,7 +4188,7 @@ Name | Type | Description | Notes
## DcimConsoleServerPortTemplatesRetrieve
-> ConsoleServerPortTemplate DcimConsoleServerPortTemplatesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> ConsoleServerPortTemplate DcimConsoleServerPortTemplatesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -4645,10 +4210,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this console server port template.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimConsoleServerPortTemplatesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimConsoleServerPortTemplatesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimConsoleServerPortTemplatesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -4676,6 +4242,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -5111,7 +4678,7 @@ Name | Type | Description | Notes
## DcimConsoleServerPortsList
-> PaginatedConsoleServerPortList DcimConsoleServerPortsList(ctx).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Connected(connected).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCable(hasCable).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).Module(module).ModuleIsnull(moduleIsnull).ModuleN(moduleN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).Execute()
+> PaginatedConsoleServerPortList DcimConsoleServerPortsList(ctx).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Connected(connected).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCable(hasCable).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).Module(module).ModuleIsnull(moduleIsnull).ModuleN(moduleN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -5136,7 +4703,7 @@ func main() {
connected := true // bool | Connected status (bool) (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
description := []string{"Inner_example"} // []string | (optional)
descriptionIc := []string{"Inner_example"} // []string | (optional)
descriptionIe := []string{"Inner_example"} // []string | (optional)
@@ -5153,23 +4720,11 @@ func main() {
descriptionRe := []string{"Inner_example"} // []string | (optional)
device := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
hasCable := true // bool | Has cable (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
label := []string{"Inner_example"} // []string | (optional)
labelIc := []string{"Inner_example"} // []string | (optional)
labelIe := []string{"Inner_example"} // []string | (optional)
@@ -5212,26 +4767,27 @@ func main() {
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
type_ := []string{"Inner_example"} // []string | Physical port type (optional)
- typeIc := []string{"Inner_example"} // []string | Physical port type (optional)
- typeIe := []string{"Inner_example"} // []string | Physical port type (optional)
- typeIew := []string{"Inner_example"} // []string | Physical port type (optional)
- typeIre := []string{"Inner_example"} // []string | Physical port type (optional)
- typeIsw := []string{"Inner_example"} // []string | Physical port type (optional)
- typeN := []string{"Inner_example"} // []string | Physical port type (optional)
- typeNic := []string{"Inner_example"} // []string | Physical port type (optional)
- typeNie := []string{"Inner_example"} // []string | Physical port type (optional)
- typeNiew := []string{"Inner_example"} // []string | Physical port type (optional)
- typeNire := []string{"Inner_example"} // []string | Physical port type (optional)
- typeNisw := []string{"Inner_example"} // []string | Physical port type (optional)
- typeNre := []string{"Inner_example"} // []string | Physical port type (optional)
- typeRe := []string{"Inner_example"} // []string | Physical port type (optional)
+ typeIc := []string{"Inner_example"} // []string | (optional)
+ typeIe := []string{"Inner_example"} // []string | (optional)
+ typeIew := []string{"Inner_example"} // []string | (optional)
+ typeIre := []string{"Inner_example"} // []string | (optional)
+ typeIsw := []string{"Inner_example"} // []string | (optional)
+ typeN := []string{"Inner_example"} // []string | (optional)
+ typeNic := []string{"Inner_example"} // []string | (optional)
+ typeNie := []string{"Inner_example"} // []string | (optional)
+ typeNiew := []string{"Inner_example"} // []string | (optional)
+ typeNire := []string{"Inner_example"} // []string | (optional)
+ typeNisw := []string{"Inner_example"} // []string | (optional)
+ typeNre := []string{"Inner_example"} // []string | (optional)
+ typeRe := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimConsoleServerPortsList(context.Background()).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Connected(connected).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCable(hasCable).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).Module(module).ModuleIsnull(moduleIsnull).ModuleN(moduleN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimConsoleServerPortsList(context.Background()).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Connected(connected).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCable(hasCable).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).Module(module).ModuleIsnull(moduleIsnull).ModuleN(moduleN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimConsoleServerPortsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -5258,7 +4814,7 @@ Name | Type | Description | Notes
**connected** | **bool** | Connected status (bool) |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**description** | **[]string** | |
**descriptionIc** | **[]string** | |
**descriptionIe** | **[]string** | |
@@ -5275,23 +4831,11 @@ Name | Type | Description | Notes
**descriptionRe** | **[]string** | |
**device** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**hasCable** | **bool** | Has cable |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**label** | **[]string** | |
**labelIc** | **[]string** | |
**labelIe** | **[]string** | |
@@ -5334,22 +4878,23 @@ Name | Type | Description | Notes
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**type_** | **[]string** | Physical port type |
- **typeIc** | **[]string** | Physical port type |
- **typeIe** | **[]string** | Physical port type |
- **typeIew** | **[]string** | Physical port type |
- **typeIre** | **[]string** | Physical port type |
- **typeIsw** | **[]string** | Physical port type |
- **typeN** | **[]string** | Physical port type |
- **typeNic** | **[]string** | Physical port type |
- **typeNie** | **[]string** | Physical port type |
- **typeNiew** | **[]string** | Physical port type |
- **typeNire** | **[]string** | Physical port type |
- **typeNisw** | **[]string** | Physical port type |
- **typeNre** | **[]string** | Physical port type |
- **typeRe** | **[]string** | Physical port type |
+ **typeIc** | **[]string** | |
+ **typeIe** | **[]string** | |
+ **typeIew** | **[]string** | |
+ **typeIre** | **[]string** | |
+ **typeIsw** | **[]string** | |
+ **typeN** | **[]string** | |
+ **typeNic** | **[]string** | |
+ **typeNie** | **[]string** | |
+ **typeNiew** | **[]string** | |
+ **typeNire** | **[]string** | |
+ **typeNisw** | **[]string** | |
+ **typeNre** | **[]string** | |
+ **typeRe** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -5445,7 +4990,7 @@ Name | Type | Description | Notes
## DcimConsoleServerPortsNotesList
-> PaginatedNoteList DcimConsoleServerPortsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList DcimConsoleServerPortsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -5469,10 +5014,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimConsoleServerPortsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimConsoleServerPortsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimConsoleServerPortsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -5502,6 +5048,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -5597,7 +5144,7 @@ Name | Type | Description | Notes
## DcimConsoleServerPortsRetrieve
-> ConsoleServerPort DcimConsoleServerPortsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> ConsoleServerPort DcimConsoleServerPortsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -5619,10 +5166,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this console server port.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimConsoleServerPortsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimConsoleServerPortsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimConsoleServerPortsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -5650,6 +5198,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -5671,7 +5220,7 @@ Name | Type | Description | Notes
## DcimConsoleServerPortsTraceRetrieve
-> ConsoleServerPort DcimConsoleServerPortsTraceRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> ConsoleServerPort DcimConsoleServerPortsTraceRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -5693,10 +5242,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this console server port.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimConsoleServerPortsTraceRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimConsoleServerPortsTraceRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimConsoleServerPortsTraceRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -5724,6 +5274,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -6159,7 +5710,7 @@ Name | Type | Description | Notes
## DcimControllerManagedDeviceGroupsList
-> PaginatedControllerManagedDeviceGroupList DcimControllerManagedDeviceGroupsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Controller(controller).ControllerN(controllerN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).Q(q).Sort(sort).Subtree(subtree).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).Execute()
+> PaginatedControllerManagedDeviceGroupList DcimControllerManagedDeviceGroupsList(ctx).Capabilities(capabilities).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Controller(controller).ControllerN(controllerN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasRadioProfiles(hasRadioProfiles).HasWirelessNetworks(hasWirelessNetworks).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).Q(q).RadioProfiles(radioProfiles).RadioProfilesN(radioProfilesN).Sort(sort).Subtree(subtree).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).WirelessNetworks(wirelessNetworks).WirelessNetworksN(wirelessNetworksN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -6179,9 +5730,10 @@ import (
)
func main() {
+ capabilities := []*interface{}{interface{}(123)} // []*interface{} | Capabilities (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
controller := []string{"Inner_example"} // []string | (optional)
controllerN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
@@ -6191,23 +5743,27 @@ func main() {
createdLt := []time.Time{time.Now()} // []time.Time | (optional)
createdLte := []time.Time{time.Now()} // []time.Time | (optional)
createdN := []time.Time{time.Now()} // []time.Time | (optional)
+ description := []string{"Inner_example"} // []string | (optional)
+ descriptionIc := []string{"Inner_example"} // []string | (optional)
+ descriptionIe := []string{"Inner_example"} // []string | (optional)
+ descriptionIew := []string{"Inner_example"} // []string | (optional)
+ descriptionIre := []string{"Inner_example"} // []string | (optional)
+ descriptionIsw := []string{"Inner_example"} // []string | (optional)
+ descriptionN := []string{"Inner_example"} // []string | (optional)
+ descriptionNic := []string{"Inner_example"} // []string | (optional)
+ descriptionNie := []string{"Inner_example"} // []string | (optional)
+ descriptionNiew := []string{"Inner_example"} // []string | (optional)
+ descriptionNire := []string{"Inner_example"} // []string | (optional)
+ descriptionNisw := []string{"Inner_example"} // []string | (optional)
+ descriptionNre := []string{"Inner_example"} // []string | (optional)
+ descriptionRe := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ hasRadioProfiles := true // bool | Has radio profiles (optional)
+ hasWirelessNetworks := true // bool | Has wireless networks (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -6235,6 +5791,8 @@ func main() {
parentIsnull := true // bool | Parent group (name or ID) is null (optional)
parentN := []string{"Inner_example"} // []string | (optional)
q := "q_example" // string | Search (optional)
+ radioProfiles := []string{"Inner_example"} // []string | (optional)
+ radioProfilesN := []string{"Inner_example"} // []string | (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
subtree := []string{"Inner_example"} // []string | (optional)
tags := []string{"Inner_example"} // []string | (optional)
@@ -6242,18 +5800,30 @@ func main() {
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
+ tenant := []string{"Inner_example"} // []string | (optional)
+ tenantIsnull := true // bool | Tenant (name or ID) is null (optional)
+ tenantN := []string{"Inner_example"} // []string | (optional)
+ tenantGroup := []string{"Inner_example"} // []string | (optional)
+ tenantGroupIsnull := true // bool | Tenant Group (name or ID) is null (optional)
+ tenantGroupN := []string{"Inner_example"} // []string | (optional)
+ tenantId := []*string{"Inner_example"} // []*string | Tenant (ID) (deprecated, use \"tenant\" filter instead) (optional)
+ tenantIdIsnull := true // bool | Tenant (ID) (deprecated, use \"tenant\" filter instead) is null (optional)
+ tenantIdN := []*string{"Inner_example"} // []*string | Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead) (optional)
weight := []int32{int32(123)} // []int32 | (optional)
weightGt := []int32{int32(123)} // []int32 | (optional)
weightGte := []int32{int32(123)} // []int32 | (optional)
weightLt := []int32{int32(123)} // []int32 | (optional)
weightLte := []int32{int32(123)} // []int32 | (optional)
weightN := []int32{int32(123)} // []int32 | (optional)
+ wirelessNetworks := []string{"Inner_example"} // []string | (optional)
+ wirelessNetworksN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimControllerManagedDeviceGroupsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Controller(controller).ControllerN(controllerN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).Q(q).Sort(sort).Subtree(subtree).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimControllerManagedDeviceGroupsList(context.Background()).Capabilities(capabilities).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Controller(controller).ControllerN(controllerN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasRadioProfiles(hasRadioProfiles).HasWirelessNetworks(hasWirelessNetworks).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).Q(q).RadioProfiles(radioProfiles).RadioProfilesN(radioProfilesN).Sort(sort).Subtree(subtree).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).WirelessNetworks(wirelessNetworks).WirelessNetworksN(wirelessNetworksN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimControllerManagedDeviceGroupsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -6274,9 +5844,10 @@ Other parameters are passed through a pointer to a apiDcimControllerManagedDevic
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
+ **capabilities** | **[]interface{}** | Capabilities |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**controller** | **[]string** | |
**controllerN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
@@ -6286,23 +5857,27 @@ Name | Type | Description | Notes
**createdLt** | [**[]time.Time**](time.Time.md) | |
**createdLte** | [**[]time.Time**](time.Time.md) | |
**createdN** | [**[]time.Time**](time.Time.md) | |
+ **description** | **[]string** | |
+ **descriptionIc** | **[]string** | |
+ **descriptionIe** | **[]string** | |
+ **descriptionIew** | **[]string** | |
+ **descriptionIre** | **[]string** | |
+ **descriptionIsw** | **[]string** | |
+ **descriptionN** | **[]string** | |
+ **descriptionNic** | **[]string** | |
+ **descriptionNie** | **[]string** | |
+ **descriptionNiew** | **[]string** | |
+ **descriptionNire** | **[]string** | |
+ **descriptionNisw** | **[]string** | |
+ **descriptionNre** | **[]string** | |
+ **descriptionRe** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **hasRadioProfiles** | **bool** | Has radio profiles |
+ **hasWirelessNetworks** | **bool** | Has wireless networks |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -6330,6 +5905,8 @@ Name | Type | Description | Notes
**parentIsnull** | **bool** | Parent group (name or ID) is null |
**parentN** | **[]string** | |
**q** | **string** | Search |
+ **radioProfiles** | **[]string** | |
+ **radioProfilesN** | **[]string** | |
**sort** | **string** | Which field to use when ordering the results. |
**subtree** | **[]string** | |
**tags** | **[]string** | |
@@ -6337,14 +5914,26 @@ Name | Type | Description | Notes
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
+ **tenant** | **[]string** | |
+ **tenantIsnull** | **bool** | Tenant (name or ID) is null |
+ **tenantN** | **[]string** | |
+ **tenantGroup** | **[]string** | |
+ **tenantGroupIsnull** | **bool** | Tenant Group (name or ID) is null |
+ **tenantGroupN** | **[]string** | |
+ **tenantId** | **[]string** | Tenant (ID) (deprecated, use \"tenant\" filter instead) |
+ **tenantIdIsnull** | **bool** | Tenant (ID) (deprecated, use \"tenant\" filter instead) is null |
+ **tenantIdN** | **[]string** | Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead) |
**weight** | **[]int32** | |
**weightGt** | **[]int32** | |
**weightGte** | **[]int32** | |
**weightLt** | **[]int32** | |
**weightLte** | **[]int32** | |
**weightN** | **[]int32** | |
+ **wirelessNetworks** | **[]string** | |
+ **wirelessNetworksN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -6440,7 +6029,7 @@ Name | Type | Description | Notes
## DcimControllerManagedDeviceGroupsNotesList
-> PaginatedNoteList DcimControllerManagedDeviceGroupsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList DcimControllerManagedDeviceGroupsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -6464,10 +6053,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimControllerManagedDeviceGroupsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimControllerManagedDeviceGroupsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimControllerManagedDeviceGroupsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -6497,6 +6087,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -6592,7 +6183,7 @@ Name | Type | Description | Notes
## DcimControllerManagedDeviceGroupsRetrieve
-> ControllerManagedDeviceGroup DcimControllerManagedDeviceGroupsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> ControllerManagedDeviceGroup DcimControllerManagedDeviceGroupsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -6614,10 +6205,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this controller managed device group.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimControllerManagedDeviceGroupsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimControllerManagedDeviceGroupsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimControllerManagedDeviceGroupsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -6645,6 +6237,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -7080,7 +6673,7 @@ Name | Type | Description | Notes
## DcimControllersList
-> PaginatedControllerList DcimControllersList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ControllerDevice(controllerDevice).ControllerDeviceIsnull(controllerDeviceIsnull).ControllerDeviceN(controllerDeviceN).ControllerDeviceRedundancyGroup(controllerDeviceRedundancyGroup).ControllerDeviceRedundancyGroupIsnull(controllerDeviceRedundancyGroupIsnull).ControllerDeviceRedundancyGroupN(controllerDeviceRedundancyGroupN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).ExternalIntegration(externalIntegration).ExternalIntegrationIsnull(externalIntegrationIsnull).ExternalIntegrationN(externalIntegrationN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Platform(platform).PlatformIsnull(platformIsnull).PlatformN(platformN).Q(q).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Depth(depth).Execute()
+> PaginatedControllerList DcimControllersList(ctx).Capabilities(capabilities).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ControllerDevice(controllerDevice).ControllerDeviceIsnull(controllerDeviceIsnull).ControllerDeviceN(controllerDeviceN).ControllerDeviceRedundancyGroup(controllerDeviceRedundancyGroup).ControllerDeviceRedundancyGroupIsnull(controllerDeviceRedundancyGroupIsnull).ControllerDeviceRedundancyGroupN(controllerDeviceRedundancyGroupN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).ExternalIntegration(externalIntegration).ExternalIntegrationIsnull(externalIntegrationIsnull).ExternalIntegrationN(externalIntegrationN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Platform(platform).PlatformIsnull(platformIsnull).PlatformN(platformN).Q(q).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).WirelessNetworks(wirelessNetworks).WirelessNetworksN(wirelessNetworksN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -7100,9 +6693,10 @@ import (
)
func main() {
+ capabilities := []*interface{}{interface{}(123)} // []*interface{} | Capabilities (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
controllerDevice := []string{"Inner_example"} // []string | (optional)
controllerDeviceIsnull := true // bool | Controller device (name or ID) is null (optional)
controllerDeviceN := []string{"Inner_example"} // []string | (optional)
@@ -7131,25 +6725,13 @@ func main() {
descriptionNre := []string{"Inner_example"} // []string | (optional)
descriptionRe := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
externalIntegration := []string{"Inner_example"} // []string | (optional)
externalIntegrationIsnull := true // bool | External integration (name or ID) is null (optional)
externalIntegrationN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -7181,16 +6763,16 @@ func main() {
q := "q_example" // string | Search (optional)
role := []string{"Inner_example"} // []string | (optional)
roleIsnull := true // bool | Role (name or ID) is null (optional)
- roleN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Role (name or ID) (optional)
+ roleN := []string{"Inner_example"} // []string | (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
status := []string{"Inner_example"} // []string | (optional)
- statusN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Status (name or ID) (optional)
+ statusN := []string{"Inner_example"} // []string | (optional)
tags := []string{"Inner_example"} // []string | (optional)
tagsIsnull := true // bool | (optional)
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
tenant := []string{"Inner_example"} // []string | (optional)
tenantIsnull := true // bool | Tenant (name or ID) is null (optional)
tenantN := []string{"Inner_example"} // []string | (optional)
@@ -7200,11 +6782,14 @@ func main() {
tenantId := []*string{"Inner_example"} // []*string | Tenant (ID) (deprecated, use \"tenant\" filter instead) (optional)
tenantIdIsnull := true // bool | Tenant (ID) (deprecated, use \"tenant\" filter instead) is null (optional)
tenantIdN := []*string{"Inner_example"} // []*string | Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead) (optional)
+ wirelessNetworks := []string{"Inner_example"} // []string | (optional)
+ wirelessNetworksN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimControllersList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ControllerDevice(controllerDevice).ControllerDeviceIsnull(controllerDeviceIsnull).ControllerDeviceN(controllerDeviceN).ControllerDeviceRedundancyGroup(controllerDeviceRedundancyGroup).ControllerDeviceRedundancyGroupIsnull(controllerDeviceRedundancyGroupIsnull).ControllerDeviceRedundancyGroupN(controllerDeviceRedundancyGroupN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).ExternalIntegration(externalIntegration).ExternalIntegrationIsnull(externalIntegrationIsnull).ExternalIntegrationN(externalIntegrationN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Platform(platform).PlatformIsnull(platformIsnull).PlatformN(platformN).Q(q).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimControllersList(context.Background()).Capabilities(capabilities).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ControllerDevice(controllerDevice).ControllerDeviceIsnull(controllerDeviceIsnull).ControllerDeviceN(controllerDeviceN).ControllerDeviceRedundancyGroup(controllerDeviceRedundancyGroup).ControllerDeviceRedundancyGroupIsnull(controllerDeviceRedundancyGroupIsnull).ControllerDeviceRedundancyGroupN(controllerDeviceRedundancyGroupN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).ExternalIntegration(externalIntegration).ExternalIntegrationIsnull(externalIntegrationIsnull).ExternalIntegrationN(externalIntegrationN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Platform(platform).PlatformIsnull(platformIsnull).PlatformN(platformN).Q(q).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).WirelessNetworks(wirelessNetworks).WirelessNetworksN(wirelessNetworksN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimControllersList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -7225,9 +6810,10 @@ Other parameters are passed through a pointer to a apiDcimControllersListRequest
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
+ **capabilities** | **[]interface{}** | Capabilities |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**controllerDevice** | **[]string** | |
**controllerDeviceIsnull** | **bool** | Controller device (name or ID) is null |
**controllerDeviceN** | **[]string** | |
@@ -7256,25 +6842,13 @@ Name | Type | Description | Notes
**descriptionNre** | **[]string** | |
**descriptionRe** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**externalIntegration** | **[]string** | |
**externalIntegrationIsnull** | **bool** | External integration (name or ID) is null |
**externalIntegrationN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -7306,16 +6880,16 @@ Name | Type | Description | Notes
**q** | **string** | Search |
**role** | **[]string** | |
**roleIsnull** | **bool** | Role (name or ID) is null |
- **roleN** | **string** | Exclude Role (name or ID) |
+ **roleN** | **[]string** | |
**sort** | **string** | Which field to use when ordering the results. |
**status** | **[]string** | |
- **statusN** | **string** | Exclude Status (name or ID) |
+ **statusN** | **[]string** | |
**tags** | **[]string** | |
**tagsIsnull** | **bool** | |
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**tenant** | **[]string** | |
**tenantIsnull** | **bool** | Tenant (name or ID) is null |
**tenantN** | **[]string** | |
@@ -7325,7 +6899,10 @@ Name | Type | Description | Notes
**tenantId** | **[]string** | Tenant (ID) (deprecated, use \"tenant\" filter instead) |
**tenantIdIsnull** | **bool** | Tenant (ID) (deprecated, use \"tenant\" filter instead) is null |
**tenantIdN** | **[]string** | Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead) |
+ **wirelessNetworks** | **[]string** | |
+ **wirelessNetworksN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -7421,7 +6998,7 @@ Name | Type | Description | Notes
## DcimControllersNotesList
-> PaginatedNoteList DcimControllersNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList DcimControllersNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -7445,10 +7022,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimControllersNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimControllersNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimControllersNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -7478,6 +7056,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -7573,7 +7152,7 @@ Name | Type | Description | Notes
## DcimControllersRetrieve
-> Controller DcimControllersRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> Controller DcimControllersRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -7595,10 +7174,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this controller.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimControllersRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimControllersRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimControllersRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -7626,6 +7206,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -8061,7 +7642,7 @@ Name | Type | Description | Notes
## DcimDeviceBayTemplatesList
-> PaginatedDeviceBayTemplateList DcimDeviceBayTemplatesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedDeviceBayTemplateList DcimDeviceBayTemplatesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -8082,7 +7663,7 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
description := []string{"Inner_example"} // []string | Description (optional)
descriptionIc := []string{"Inner_example"} // []string | Description (optional)
descriptionIe := []string{"Inner_example"} // []string | Description (optional)
@@ -8100,22 +7681,10 @@ func main() {
deviceType := []string{"Inner_example"} // []string | (optional)
deviceTypeN := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | ID (optional)
- idIc := []string{"Inner_example"} // []string | ID contains (optional)
- idIe := []string{"Inner_example"} // []string | ID (optional)
- idIew := []string{"Inner_example"} // []string | ID ends with (optional)
- idIre := []string{"Inner_example"} // []string | ID matches regex (optional)
- idIsw := []string{"Inner_example"} // []string | ID starts with (optional)
idN := []string{"Inner_example"} // []string | Exclude ID (optional)
- idNic := []string{"Inner_example"} // []string | Exclude ID contains (optional)
- idNie := []string{"Inner_example"} // []string | Exclude ID (optional)
- idNiew := []string{"Inner_example"} // []string | Exclude ID ends with (optional)
- idNire := []string{"Inner_example"} // []string | Exclude ID matches regex (optional)
- idNisw := []string{"Inner_example"} // []string | Exclude ID starts with (optional)
- idNre := []string{"Inner_example"} // []string | Exclude ID matches regex (optional)
- idRe := []string{"Inner_example"} // []string | ID matches regex (optional)
label := []string{"Inner_example"} // []string | Label (optional)
labelIc := []string{"Inner_example"} // []string | Label (optional)
labelIe := []string{"Inner_example"} // []string | Label (optional)
@@ -8150,12 +7719,13 @@ func main() {
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimDeviceBayTemplatesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimDeviceBayTemplatesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimDeviceBayTemplatesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -8178,7 +7748,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**description** | **[]string** | Description |
**descriptionIc** | **[]string** | Description |
**descriptionIe** | **[]string** | Description |
@@ -8196,22 +7766,10 @@ Name | Type | Description | Notes
**deviceType** | **[]string** | |
**deviceTypeN** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | ID |
- **idIc** | **[]string** | ID contains |
- **idIe** | **[]string** | ID |
- **idIew** | **[]string** | ID ends with |
- **idIre** | **[]string** | ID matches regex |
- **idIsw** | **[]string** | ID starts with |
**idN** | **[]string** | Exclude ID |
- **idNic** | **[]string** | Exclude ID contains |
- **idNie** | **[]string** | Exclude ID |
- **idNiew** | **[]string** | Exclude ID ends with |
- **idNire** | **[]string** | Exclude ID matches regex |
- **idNisw** | **[]string** | Exclude ID starts with |
- **idNre** | **[]string** | Exclude ID matches regex |
- **idRe** | **[]string** | ID matches regex |
**label** | **[]string** | Label |
**labelIc** | **[]string** | Label |
**labelIe** | **[]string** | Label |
@@ -8246,8 +7804,9 @@ Name | Type | Description | Notes
**sort** | **string** | Which field to use when ordering the results. |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -8267,158 +7826,6 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimDeviceBayTemplatesNotesCreate
-
-> Note DcimDeviceBayTemplatesNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this device bay template.
- noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimDeviceBayTemplatesNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimDeviceBayTemplatesNotesCreate``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `DcimDeviceBayTemplatesNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimDeviceBayTemplatesNotesCreate`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this device bay template. |
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiDcimDeviceBayTemplatesNotesCreateRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-
- **noteInputRequest** | [**NoteInputRequest**](NoteInputRequest.md) | |
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
-
-### Return type
-
-[**Note**](Note.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: application/json, text/csv
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## DcimDeviceBayTemplatesNotesList
-
-> PaginatedNoteList DcimDeviceBayTemplatesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this device bay template.
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- limit := int32(56) // int32 | Number of results to return per page. (optional)
- offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimDeviceBayTemplatesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimDeviceBayTemplatesNotesList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `DcimDeviceBayTemplatesNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimDeviceBayTemplatesNotesList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this device bay template. |
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiDcimDeviceBayTemplatesNotesListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **limit** | **int32** | Number of results to return per page. |
- **offset** | **int32** | The initial index from which to return the results. |
- **depth** | **int32** | Serializer Depth | [default to 1]
-
-### Return type
-
-[**PaginatedNoteList**](PaginatedNoteList.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
## DcimDeviceBayTemplatesPartialUpdate
> DeviceBayTemplate DcimDeviceBayTemplatesPartialUpdate(ctx, id).Format(format).PatchedDeviceBayTemplateRequest(patchedDeviceBayTemplateRequest).Execute()
@@ -8495,7 +7902,7 @@ Name | Type | Description | Notes
## DcimDeviceBayTemplatesRetrieve
-> DeviceBayTemplate DcimDeviceBayTemplatesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> DeviceBayTemplate DcimDeviceBayTemplatesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -8517,10 +7924,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this device bay template.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimDeviceBayTemplatesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimDeviceBayTemplatesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimDeviceBayTemplatesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -8548,6 +7956,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -8983,7 +8392,7 @@ Name | Type | Description | Notes
## DcimDeviceBaysList
-> PaginatedDeviceBayList DcimDeviceBaysList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DeviceN(deviceN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).InstalledDevice(installedDevice).InstalledDeviceIsnull(installedDeviceIsnull).InstalledDeviceN(installedDeviceN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedDeviceBayList DcimDeviceBaysList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DeviceN(deviceN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).InstalledDevice(installedDevice).InstalledDeviceIsnull(installedDeviceIsnull).InstalledDeviceN(installedDeviceN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -9004,7 +8413,7 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
description := []string{"Inner_example"} // []string | (optional)
descriptionIc := []string{"Inner_example"} // []string | (optional)
descriptionIe := []string{"Inner_example"} // []string | (optional)
@@ -9022,22 +8431,10 @@ func main() {
device := []string{"Inner_example"} // []string | (optional)
deviceN := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
installedDevice := []string{"Inner_example"} // []string | (optional)
installedDeviceIsnull := true // bool | Installed device (name or ID) is null (optional)
installedDeviceN := []string{"Inner_example"} // []string | (optional)
@@ -9080,12 +8477,13 @@ func main() {
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimDeviceBaysList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DeviceN(deviceN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).InstalledDevice(installedDevice).InstalledDeviceIsnull(installedDeviceIsnull).InstalledDeviceN(installedDeviceN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimDeviceBaysList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DeviceN(deviceN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).InstalledDevice(installedDevice).InstalledDeviceIsnull(installedDeviceIsnull).InstalledDeviceN(installedDeviceN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimDeviceBaysList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -9108,7 +8506,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**description** | **[]string** | |
**descriptionIc** | **[]string** | |
**descriptionIe** | **[]string** | |
@@ -9126,22 +8524,10 @@ Name | Type | Description | Notes
**device** | **[]string** | |
**deviceN** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**installedDevice** | **[]string** | |
**installedDeviceIsnull** | **bool** | Installed device (name or ID) is null |
**installedDeviceN** | **[]string** | |
@@ -9184,8 +8570,9 @@ Name | Type | Description | Notes
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -9281,7 +8668,7 @@ Name | Type | Description | Notes
## DcimDeviceBaysNotesList
-> PaginatedNoteList DcimDeviceBaysNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList DcimDeviceBaysNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -9305,10 +8692,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimDeviceBaysNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimDeviceBaysNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimDeviceBaysNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -9338,6 +8726,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -9433,7 +8822,7 @@ Name | Type | Description | Notes
## DcimDeviceBaysRetrieve
-> DeviceBay DcimDeviceBaysRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> DeviceBay DcimDeviceBaysRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -9455,10 +8844,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this device bay.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimDeviceBaysRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimDeviceBaysRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimDeviceBaysRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -9486,6 +8876,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -9921,7 +9312,7 @@ Name | Type | Description | Notes
## DcimDeviceFamiliesList
-> PaginatedDeviceFamilyList DcimDeviceFamiliesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceTypes(deviceTypes).DeviceTypesIsnull(deviceTypesIsnull).DeviceTypesN(deviceTypesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceTypes(hasDeviceTypes).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedDeviceFamilyList DcimDeviceFamiliesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceTypes(deviceTypes).DeviceTypesIsnull(deviceTypesIsnull).DeviceTypesN(deviceTypesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceTypes(hasDeviceTypes).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -9943,7 +9334,7 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -9969,23 +9360,11 @@ func main() {
deviceTypesIsnull := true // bool | Device types (model or ID) is null (optional)
deviceTypesN := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
hasDeviceTypes := true // bool | Has device types (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -10016,12 +9395,13 @@ func main() {
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimDeviceFamiliesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceTypes(deviceTypes).DeviceTypesIsnull(deviceTypesIsnull).DeviceTypesN(deviceTypesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceTypes(hasDeviceTypes).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimDeviceFamiliesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceTypes(deviceTypes).DeviceTypesIsnull(deviceTypesIsnull).DeviceTypesN(deviceTypesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceTypes(hasDeviceTypes).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimDeviceFamiliesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -10044,7 +9424,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -10070,23 +9450,11 @@ Name | Type | Description | Notes
**deviceTypesIsnull** | **bool** | Device types (model or ID) is null |
**deviceTypesN** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**hasDeviceTypes** | **bool** | Has device types |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -10117,8 +9485,9 @@ Name | Type | Description | Notes
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -10214,7 +9583,7 @@ Name | Type | Description | Notes
## DcimDeviceFamiliesNotesList
-> PaginatedNoteList DcimDeviceFamiliesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList DcimDeviceFamiliesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -10238,10 +9607,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimDeviceFamiliesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimDeviceFamiliesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimDeviceFamiliesNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -10271,6 +9641,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -10366,7 +9737,7 @@ Name | Type | Description | Notes
## DcimDeviceFamiliesRetrieve
-> DeviceFamily DcimDeviceFamiliesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> DeviceFamily DcimDeviceFamiliesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -10388,10 +9759,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this device family.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimDeviceFamiliesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimDeviceFamiliesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimDeviceFamiliesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -10419,6 +9791,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -10854,7 +10227,7 @@ Name | Type | Description | Notes
## DcimDeviceRedundancyGroupsList
-> PaginatedDeviceRedundancyGroupList DcimDeviceRedundancyGroupsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).FailoverStrategy(failoverStrategy).FailoverStrategyIc(failoverStrategyIc).FailoverStrategyIe(failoverStrategyIe).FailoverStrategyIew(failoverStrategyIew).FailoverStrategyIre(failoverStrategyIre).FailoverStrategyIsw(failoverStrategyIsw).FailoverStrategyN(failoverStrategyN).FailoverStrategyNic(failoverStrategyNic).FailoverStrategyNie(failoverStrategyNie).FailoverStrategyNiew(failoverStrategyNiew).FailoverStrategyNire(failoverStrategyNire).FailoverStrategyNisw(failoverStrategyNisw).FailoverStrategyNre(failoverStrategyNre).FailoverStrategyRe(failoverStrategyRe).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).SecretsGroup(secretsGroup).SecretsGroupIsnull(secretsGroupIsnull).SecretsGroupN(secretsGroupN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedDeviceRedundancyGroupList DcimDeviceRedundancyGroupsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).FailoverStrategy(failoverStrategy).FailoverStrategyIc(failoverStrategyIc).FailoverStrategyIe(failoverStrategyIe).FailoverStrategyIew(failoverStrategyIew).FailoverStrategyIre(failoverStrategyIre).FailoverStrategyIsw(failoverStrategyIsw).FailoverStrategyN(failoverStrategyN).FailoverStrategyNic(failoverStrategyNic).FailoverStrategyNie(failoverStrategyNie).FailoverStrategyNiew(failoverStrategyNiew).FailoverStrategyNire(failoverStrategyNire).FailoverStrategyNisw(failoverStrategyNisw).FailoverStrategyNre(failoverStrategyNre).FailoverStrategyRe(failoverStrategyRe).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).SecretsGroup(secretsGroup).SecretsGroupIsnull(secretsGroupIsnull).SecretsGroupN(secretsGroupN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -10876,7 +10249,7 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -10885,7 +10258,7 @@ func main() {
createdLte := []time.Time{time.Now()} // []time.Time | (optional)
createdN := []time.Time{time.Now()} // []time.Time | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
failoverStrategy := []string{"Inner_example"} // []string | (optional)
failoverStrategyIc := []string{"Inner_example"} // []string | (optional)
failoverStrategyIe := []string{"Inner_example"} // []string | (optional)
@@ -10902,19 +10275,7 @@ func main() {
failoverStrategyRe := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -10944,18 +10305,19 @@ func main() {
secretsGroupN := []string{"Inner_example"} // []string | (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
status := []string{"Inner_example"} // []string | (optional)
- statusN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Status (name or ID) (optional)
+ statusN := []string{"Inner_example"} // []string | (optional)
tags := []string{"Inner_example"} // []string | (optional)
tagsIsnull := true // bool | (optional)
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimDeviceRedundancyGroupsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).FailoverStrategy(failoverStrategy).FailoverStrategyIc(failoverStrategyIc).FailoverStrategyIe(failoverStrategyIe).FailoverStrategyIew(failoverStrategyIew).FailoverStrategyIre(failoverStrategyIre).FailoverStrategyIsw(failoverStrategyIsw).FailoverStrategyN(failoverStrategyN).FailoverStrategyNic(failoverStrategyNic).FailoverStrategyNie(failoverStrategyNie).FailoverStrategyNiew(failoverStrategyNiew).FailoverStrategyNire(failoverStrategyNire).FailoverStrategyNisw(failoverStrategyNisw).FailoverStrategyNre(failoverStrategyNre).FailoverStrategyRe(failoverStrategyRe).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).SecretsGroup(secretsGroup).SecretsGroupIsnull(secretsGroupIsnull).SecretsGroupN(secretsGroupN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimDeviceRedundancyGroupsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).FailoverStrategy(failoverStrategy).FailoverStrategyIc(failoverStrategyIc).FailoverStrategyIe(failoverStrategyIe).FailoverStrategyIew(failoverStrategyIew).FailoverStrategyIre(failoverStrategyIre).FailoverStrategyIsw(failoverStrategyIsw).FailoverStrategyN(failoverStrategyN).FailoverStrategyNic(failoverStrategyNic).FailoverStrategyNie(failoverStrategyNie).FailoverStrategyNiew(failoverStrategyNiew).FailoverStrategyNire(failoverStrategyNire).FailoverStrategyNisw(failoverStrategyNisw).FailoverStrategyNre(failoverStrategyNre).FailoverStrategyRe(failoverStrategyRe).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).SecretsGroup(secretsGroup).SecretsGroupIsnull(secretsGroupIsnull).SecretsGroupN(secretsGroupN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimDeviceRedundancyGroupsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -10978,7 +10340,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -10987,7 +10349,7 @@ Name | Type | Description | Notes
**createdLte** | [**[]time.Time**](time.Time.md) | |
**createdN** | [**[]time.Time**](time.Time.md) | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**failoverStrategy** | **[]string** | |
**failoverStrategyIc** | **[]string** | |
**failoverStrategyIe** | **[]string** | |
@@ -11004,19 +10366,7 @@ Name | Type | Description | Notes
**failoverStrategyRe** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -11046,14 +10396,15 @@ Name | Type | Description | Notes
**secretsGroupN** | **[]string** | |
**sort** | **string** | Which field to use when ordering the results. |
**status** | **[]string** | |
- **statusN** | **string** | Exclude Status (name or ID) |
+ **statusN** | **[]string** | |
**tags** | **[]string** | |
**tagsIsnull** | **bool** | |
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -11149,7 +10500,7 @@ Name | Type | Description | Notes
## DcimDeviceRedundancyGroupsNotesList
-> PaginatedNoteList DcimDeviceRedundancyGroupsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList DcimDeviceRedundancyGroupsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -11173,10 +10524,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimDeviceRedundancyGroupsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimDeviceRedundancyGroupsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimDeviceRedundancyGroupsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -11206,6 +10558,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -11301,7 +10654,7 @@ Name | Type | Description | Notes
## DcimDeviceRedundancyGroupsRetrieve
-> DeviceRedundancyGroup DcimDeviceRedundancyGroupsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> DeviceRedundancyGroup DcimDeviceRedundancyGroupsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -11323,10 +10676,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this device redundancy group.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimDeviceRedundancyGroupsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimDeviceRedundancyGroupsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimDeviceRedundancyGroupsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -11354,6 +10708,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -11505,7 +10860,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: application/json, text/csv
+- **Content-Type**: application/json, text/csv, multipart/form-data
- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -11573,7 +10928,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: application/json, text/csv
+- **Content-Type**: application/json, text/csv, multipart/form-data
- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -11641,7 +10996,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: application/json, text/csv
+- **Content-Type**: application/json, text/csv, multipart/form-data
- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -11709,7 +11064,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: application/json, text/csv
+- **Content-Type**: application/json, text/csv, multipart/form-data
- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -11789,7 +11144,7 @@ Name | Type | Description | Notes
## DcimDeviceTypesList
-> PaginatedDeviceTypeList DcimDeviceTypesList(ctx).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).ConsolePortTemplates(consolePortTemplates).ConsolePortTemplatesIsnull(consolePortTemplatesIsnull).ConsolePortTemplatesN(consolePortTemplatesN).ConsolePorts(consolePorts).ConsoleServerPortTemplates(consoleServerPortTemplates).ConsoleServerPortTemplatesIsnull(consoleServerPortTemplatesIsnull).ConsoleServerPortTemplatesN(consoleServerPortTemplatesN).ConsoleServerPorts(consoleServerPorts).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DeviceBayTemplates(deviceBayTemplates).DeviceBayTemplatesIsnull(deviceBayTemplatesIsnull).DeviceBayTemplatesN(deviceBayTemplatesN).DeviceBays(deviceBays).DeviceFamily(deviceFamily).DeviceFamilyIsnull(deviceFamilyIsnull).DeviceFamilyN(deviceFamilyN).Devices(devices).DevicesIsnull(devicesIsnull).DevicesN(devicesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).FrontPortTemplates(frontPortTemplates).FrontPortTemplatesIsnull(frontPortTemplatesIsnull).FrontPortTemplatesN(frontPortTemplatesN).HasConsolePortTemplates(hasConsolePortTemplates).HasConsoleServerPortTemplates(hasConsoleServerPortTemplates).HasDeviceBayTemplates(hasDeviceBayTemplates).HasDevices(hasDevices).HasFrontPortTemplates(hasFrontPortTemplates).HasInterfaceTemplates(hasInterfaceTemplates).HasModuleBayTemplates(hasModuleBayTemplates).HasPowerOutletTemplates(hasPowerOutletTemplates).HasPowerPortTemplates(hasPowerPortTemplates).HasRearPortTemplates(hasRearPortTemplates).HasSoftwareImageFiles(hasSoftwareImageFiles).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).InterfaceTemplates(interfaceTemplates).InterfaceTemplatesIsnull(interfaceTemplatesIsnull).InterfaceTemplatesN(interfaceTemplatesN).Interfaces(interfaces).IsFullDepth(isFullDepth).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Manufacturer(manufacturer).ManufacturerN(manufacturerN).Model(model).ModelIc(modelIc).ModelIe(modelIe).ModelIew(modelIew).ModelIre(modelIre).ModelIsw(modelIsw).ModelN(modelN).ModelNic(modelNic).ModelNie(modelNie).ModelNiew(modelNiew).ModelNire(modelNire).ModelNisw(modelNisw).ModelNre(modelNre).ModelRe(modelRe).ModuleBayTemplates(moduleBayTemplates).ModuleBayTemplatesIsnull(moduleBayTemplatesIsnull).ModuleBayTemplatesN(moduleBayTemplatesN).Offset(offset).PartNumber(partNumber).PartNumberIc(partNumberIc).PartNumberIe(partNumberIe).PartNumberIew(partNumberIew).PartNumberIre(partNumberIre).PartNumberIsw(partNumberIsw).PartNumberN(partNumberN).PartNumberNic(partNumberNic).PartNumberNie(partNumberNie).PartNumberNiew(partNumberNiew).PartNumberNire(partNumberNire).PartNumberNisw(partNumberNisw).PartNumberNre(partNumberNre).PartNumberRe(partNumberRe).PassThroughPorts(passThroughPorts).PowerOutletTemplates(powerOutletTemplates).PowerOutletTemplatesIsnull(powerOutletTemplatesIsnull).PowerOutletTemplatesN(powerOutletTemplatesN).PowerOutlets(powerOutlets).PowerPortTemplates(powerPortTemplates).PowerPortTemplatesIsnull(powerPortTemplatesIsnull).PowerPortTemplatesN(powerPortTemplatesN).PowerPorts(powerPorts).Q(q).RearPortTemplates(rearPortTemplates).RearPortTemplatesIsnull(rearPortTemplatesIsnull).RearPortTemplatesN(rearPortTemplatesN).SoftwareImageFiles(softwareImageFiles).SoftwareImageFilesN(softwareImageFilesN).Sort(sort).SubdeviceRole(subdeviceRole).SubdeviceRoleIc(subdeviceRoleIc).SubdeviceRoleIe(subdeviceRoleIe).SubdeviceRoleIew(subdeviceRoleIew).SubdeviceRoleIre(subdeviceRoleIre).SubdeviceRoleIsw(subdeviceRoleIsw).SubdeviceRoleN(subdeviceRoleN).SubdeviceRoleNic(subdeviceRoleNic).SubdeviceRoleNie(subdeviceRoleNie).SubdeviceRoleNiew(subdeviceRoleNiew).SubdeviceRoleNire(subdeviceRoleNire).SubdeviceRoleNisw(subdeviceRoleNisw).SubdeviceRoleNre(subdeviceRoleNre).SubdeviceRoleRe(subdeviceRoleRe).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).UHeight(uHeight).UHeightGt(uHeightGt).UHeightGte(uHeightGte).UHeightLt(uHeightLt).UHeightLte(uHeightLte).UHeightN(uHeightN).Depth(depth).Execute()
+> PaginatedDeviceTypeList DcimDeviceTypesList(ctx).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).ConsolePortTemplates(consolePortTemplates).ConsolePortTemplatesIsnull(consolePortTemplatesIsnull).ConsolePortTemplatesN(consolePortTemplatesN).ConsolePorts(consolePorts).ConsoleServerPortTemplates(consoleServerPortTemplates).ConsoleServerPortTemplatesIsnull(consoleServerPortTemplatesIsnull).ConsoleServerPortTemplatesN(consoleServerPortTemplatesN).ConsoleServerPorts(consoleServerPorts).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DeviceBayTemplates(deviceBayTemplates).DeviceBayTemplatesIsnull(deviceBayTemplatesIsnull).DeviceBayTemplatesN(deviceBayTemplatesN).DeviceBays(deviceBays).DeviceFamily(deviceFamily).DeviceFamilyIsnull(deviceFamilyIsnull).DeviceFamilyN(deviceFamilyN).Devices(devices).DevicesIsnull(devicesIsnull).DevicesN(devicesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).FrontPortTemplates(frontPortTemplates).FrontPortTemplatesIsnull(frontPortTemplatesIsnull).FrontPortTemplatesN(frontPortTemplatesN).HasConsolePortTemplates(hasConsolePortTemplates).HasConsoleServerPortTemplates(hasConsoleServerPortTemplates).HasDeviceBayTemplates(hasDeviceBayTemplates).HasDevices(hasDevices).HasFrontPortTemplates(hasFrontPortTemplates).HasInterfaceTemplates(hasInterfaceTemplates).HasModuleBayTemplates(hasModuleBayTemplates).HasPowerOutletTemplates(hasPowerOutletTemplates).HasPowerPortTemplates(hasPowerPortTemplates).HasRearPortTemplates(hasRearPortTemplates).HasSoftwareImageFiles(hasSoftwareImageFiles).Id(id).IdN(idN).InterfaceTemplates(interfaceTemplates).InterfaceTemplatesIsnull(interfaceTemplatesIsnull).InterfaceTemplatesN(interfaceTemplatesN).Interfaces(interfaces).IsFullDepth(isFullDepth).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Manufacturer(manufacturer).ManufacturerN(manufacturerN).Model(model).ModelIc(modelIc).ModelIe(modelIe).ModelIew(modelIew).ModelIre(modelIre).ModelIsw(modelIsw).ModelN(modelN).ModelNic(modelNic).ModelNie(modelNie).ModelNiew(modelNiew).ModelNire(modelNire).ModelNisw(modelNisw).ModelNre(modelNre).ModelRe(modelRe).ModuleBayTemplates(moduleBayTemplates).ModuleBayTemplatesIsnull(moduleBayTemplatesIsnull).ModuleBayTemplatesN(moduleBayTemplatesN).Offset(offset).PartNumber(partNumber).PartNumberIc(partNumberIc).PartNumberIe(partNumberIe).PartNumberIew(partNumberIew).PartNumberIre(partNumberIre).PartNumberIsw(partNumberIsw).PartNumberN(partNumberN).PartNumberNic(partNumberNic).PartNumberNie(partNumberNie).PartNumberNiew(partNumberNiew).PartNumberNire(partNumberNire).PartNumberNisw(partNumberNisw).PartNumberNre(partNumberNre).PartNumberRe(partNumberRe).PassThroughPorts(passThroughPorts).PowerOutletTemplates(powerOutletTemplates).PowerOutletTemplatesIsnull(powerOutletTemplatesIsnull).PowerOutletTemplatesN(powerOutletTemplatesN).PowerOutlets(powerOutlets).PowerPortTemplates(powerPortTemplates).PowerPortTemplatesIsnull(powerPortTemplatesIsnull).PowerPortTemplatesN(powerPortTemplatesN).PowerPorts(powerPorts).Q(q).RearPortTemplates(rearPortTemplates).RearPortTemplatesIsnull(rearPortTemplatesIsnull).RearPortTemplatesN(rearPortTemplatesN).SoftwareImageFiles(softwareImageFiles).SoftwareImageFilesN(softwareImageFilesN).Sort(sort).SubdeviceRole(subdeviceRole).SubdeviceRoleIc(subdeviceRoleIc).SubdeviceRoleIe(subdeviceRoleIe).SubdeviceRoleIew(subdeviceRoleIew).SubdeviceRoleIre(subdeviceRoleIre).SubdeviceRoleIsw(subdeviceRoleIsw).SubdeviceRoleN(subdeviceRoleN).SubdeviceRoleNic(subdeviceRoleNic).SubdeviceRoleNie(subdeviceRoleNie).SubdeviceRoleNiew(subdeviceRoleNiew).SubdeviceRoleNire(subdeviceRoleNire).SubdeviceRoleNisw(subdeviceRoleNisw).SubdeviceRoleNre(subdeviceRoleNre).SubdeviceRoleRe(subdeviceRoleRe).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).UHeight(uHeight).UHeightGt(uHeightGt).UHeightGte(uHeightGte).UHeightLt(uHeightLt).UHeightLte(uHeightLte).UHeightN(uHeightN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -11833,7 +11188,7 @@ func main() {
consoleServerPorts := true // bool | Has console server ports (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -11852,7 +11207,7 @@ func main() {
devicesIsnull := true // bool | (optional)
devicesN := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
frontPortTemplates := []string{"Inner_example"} // []string | (optional)
frontPortTemplatesIsnull := true // bool | Front port templates (name or ID) is null (optional)
@@ -11869,19 +11224,7 @@ func main() {
hasRearPortTemplates := true // bool | Has rear port templates (optional)
hasSoftwareImageFiles := true // bool | Has software image files (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
interfaceTemplates := []string{"Inner_example"} // []string | (optional)
interfaceTemplatesIsnull := true // bool | Interface templates (name or ID) is null (optional)
interfaceTemplatesN := []string{"Inner_example"} // []string | (optional)
@@ -11951,7 +11294,7 @@ func main() {
subdeviceRoleIew := []string{"Inner_example"} // []string | (optional)
subdeviceRoleIre := []string{"Inner_example"} // []string | (optional)
subdeviceRoleIsw := []string{"Inner_example"} // []string | (optional)
- subdeviceRoleN := []string{"Inner_example"} // []string | Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child. (optional)
+ subdeviceRoleN := []string{"Inner_example"} // []string | (optional)
subdeviceRoleNic := []string{"Inner_example"} // []string | (optional)
subdeviceRoleNie := []string{"Inner_example"} // []string | (optional)
subdeviceRoleNiew := []string{"Inner_example"} // []string | (optional)
@@ -11964,7 +11307,7 @@ func main() {
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
uHeight := []int32{int32(123)} // []int32 | (optional)
uHeightGt := []int32{int32(123)} // []int32 | (optional)
uHeightGte := []int32{int32(123)} // []int32 | (optional)
@@ -11972,10 +11315,11 @@ func main() {
uHeightLte := []int32{int32(123)} // []int32 | (optional)
uHeightN := []int32{int32(123)} // []int32 | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimDeviceTypesList(context.Background()).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).ConsolePortTemplates(consolePortTemplates).ConsolePortTemplatesIsnull(consolePortTemplatesIsnull).ConsolePortTemplatesN(consolePortTemplatesN).ConsolePorts(consolePorts).ConsoleServerPortTemplates(consoleServerPortTemplates).ConsoleServerPortTemplatesIsnull(consoleServerPortTemplatesIsnull).ConsoleServerPortTemplatesN(consoleServerPortTemplatesN).ConsoleServerPorts(consoleServerPorts).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DeviceBayTemplates(deviceBayTemplates).DeviceBayTemplatesIsnull(deviceBayTemplatesIsnull).DeviceBayTemplatesN(deviceBayTemplatesN).DeviceBays(deviceBays).DeviceFamily(deviceFamily).DeviceFamilyIsnull(deviceFamilyIsnull).DeviceFamilyN(deviceFamilyN).Devices(devices).DevicesIsnull(devicesIsnull).DevicesN(devicesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).FrontPortTemplates(frontPortTemplates).FrontPortTemplatesIsnull(frontPortTemplatesIsnull).FrontPortTemplatesN(frontPortTemplatesN).HasConsolePortTemplates(hasConsolePortTemplates).HasConsoleServerPortTemplates(hasConsoleServerPortTemplates).HasDeviceBayTemplates(hasDeviceBayTemplates).HasDevices(hasDevices).HasFrontPortTemplates(hasFrontPortTemplates).HasInterfaceTemplates(hasInterfaceTemplates).HasModuleBayTemplates(hasModuleBayTemplates).HasPowerOutletTemplates(hasPowerOutletTemplates).HasPowerPortTemplates(hasPowerPortTemplates).HasRearPortTemplates(hasRearPortTemplates).HasSoftwareImageFiles(hasSoftwareImageFiles).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).InterfaceTemplates(interfaceTemplates).InterfaceTemplatesIsnull(interfaceTemplatesIsnull).InterfaceTemplatesN(interfaceTemplatesN).Interfaces(interfaces).IsFullDepth(isFullDepth).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Manufacturer(manufacturer).ManufacturerN(manufacturerN).Model(model).ModelIc(modelIc).ModelIe(modelIe).ModelIew(modelIew).ModelIre(modelIre).ModelIsw(modelIsw).ModelN(modelN).ModelNic(modelNic).ModelNie(modelNie).ModelNiew(modelNiew).ModelNire(modelNire).ModelNisw(modelNisw).ModelNre(modelNre).ModelRe(modelRe).ModuleBayTemplates(moduleBayTemplates).ModuleBayTemplatesIsnull(moduleBayTemplatesIsnull).ModuleBayTemplatesN(moduleBayTemplatesN).Offset(offset).PartNumber(partNumber).PartNumberIc(partNumberIc).PartNumberIe(partNumberIe).PartNumberIew(partNumberIew).PartNumberIre(partNumberIre).PartNumberIsw(partNumberIsw).PartNumberN(partNumberN).PartNumberNic(partNumberNic).PartNumberNie(partNumberNie).PartNumberNiew(partNumberNiew).PartNumberNire(partNumberNire).PartNumberNisw(partNumberNisw).PartNumberNre(partNumberNre).PartNumberRe(partNumberRe).PassThroughPorts(passThroughPorts).PowerOutletTemplates(powerOutletTemplates).PowerOutletTemplatesIsnull(powerOutletTemplatesIsnull).PowerOutletTemplatesN(powerOutletTemplatesN).PowerOutlets(powerOutlets).PowerPortTemplates(powerPortTemplates).PowerPortTemplatesIsnull(powerPortTemplatesIsnull).PowerPortTemplatesN(powerPortTemplatesN).PowerPorts(powerPorts).Q(q).RearPortTemplates(rearPortTemplates).RearPortTemplatesIsnull(rearPortTemplatesIsnull).RearPortTemplatesN(rearPortTemplatesN).SoftwareImageFiles(softwareImageFiles).SoftwareImageFilesN(softwareImageFilesN).Sort(sort).SubdeviceRole(subdeviceRole).SubdeviceRoleIc(subdeviceRoleIc).SubdeviceRoleIe(subdeviceRoleIe).SubdeviceRoleIew(subdeviceRoleIew).SubdeviceRoleIre(subdeviceRoleIre).SubdeviceRoleIsw(subdeviceRoleIsw).SubdeviceRoleN(subdeviceRoleN).SubdeviceRoleNic(subdeviceRoleNic).SubdeviceRoleNie(subdeviceRoleNie).SubdeviceRoleNiew(subdeviceRoleNiew).SubdeviceRoleNire(subdeviceRoleNire).SubdeviceRoleNisw(subdeviceRoleNisw).SubdeviceRoleNre(subdeviceRoleNre).SubdeviceRoleRe(subdeviceRoleRe).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).UHeight(uHeight).UHeightGt(uHeightGt).UHeightGte(uHeightGte).UHeightLt(uHeightLt).UHeightLte(uHeightLte).UHeightN(uHeightN).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimDeviceTypesList(context.Background()).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).ConsolePortTemplates(consolePortTemplates).ConsolePortTemplatesIsnull(consolePortTemplatesIsnull).ConsolePortTemplatesN(consolePortTemplatesN).ConsolePorts(consolePorts).ConsoleServerPortTemplates(consoleServerPortTemplates).ConsoleServerPortTemplatesIsnull(consoleServerPortTemplatesIsnull).ConsoleServerPortTemplatesN(consoleServerPortTemplatesN).ConsoleServerPorts(consoleServerPorts).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DeviceBayTemplates(deviceBayTemplates).DeviceBayTemplatesIsnull(deviceBayTemplatesIsnull).DeviceBayTemplatesN(deviceBayTemplatesN).DeviceBays(deviceBays).DeviceFamily(deviceFamily).DeviceFamilyIsnull(deviceFamilyIsnull).DeviceFamilyN(deviceFamilyN).Devices(devices).DevicesIsnull(devicesIsnull).DevicesN(devicesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).FrontPortTemplates(frontPortTemplates).FrontPortTemplatesIsnull(frontPortTemplatesIsnull).FrontPortTemplatesN(frontPortTemplatesN).HasConsolePortTemplates(hasConsolePortTemplates).HasConsoleServerPortTemplates(hasConsoleServerPortTemplates).HasDeviceBayTemplates(hasDeviceBayTemplates).HasDevices(hasDevices).HasFrontPortTemplates(hasFrontPortTemplates).HasInterfaceTemplates(hasInterfaceTemplates).HasModuleBayTemplates(hasModuleBayTemplates).HasPowerOutletTemplates(hasPowerOutletTemplates).HasPowerPortTemplates(hasPowerPortTemplates).HasRearPortTemplates(hasRearPortTemplates).HasSoftwareImageFiles(hasSoftwareImageFiles).Id(id).IdN(idN).InterfaceTemplates(interfaceTemplates).InterfaceTemplatesIsnull(interfaceTemplatesIsnull).InterfaceTemplatesN(interfaceTemplatesN).Interfaces(interfaces).IsFullDepth(isFullDepth).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Manufacturer(manufacturer).ManufacturerN(manufacturerN).Model(model).ModelIc(modelIc).ModelIe(modelIe).ModelIew(modelIew).ModelIre(modelIre).ModelIsw(modelIsw).ModelN(modelN).ModelNic(modelNic).ModelNie(modelNie).ModelNiew(modelNiew).ModelNire(modelNire).ModelNisw(modelNisw).ModelNre(modelNre).ModelRe(modelRe).ModuleBayTemplates(moduleBayTemplates).ModuleBayTemplatesIsnull(moduleBayTemplatesIsnull).ModuleBayTemplatesN(moduleBayTemplatesN).Offset(offset).PartNumber(partNumber).PartNumberIc(partNumberIc).PartNumberIe(partNumberIe).PartNumberIew(partNumberIew).PartNumberIre(partNumberIre).PartNumberIsw(partNumberIsw).PartNumberN(partNumberN).PartNumberNic(partNumberNic).PartNumberNie(partNumberNie).PartNumberNiew(partNumberNiew).PartNumberNire(partNumberNire).PartNumberNisw(partNumberNisw).PartNumberNre(partNumberNre).PartNumberRe(partNumberRe).PassThroughPorts(passThroughPorts).PowerOutletTemplates(powerOutletTemplates).PowerOutletTemplatesIsnull(powerOutletTemplatesIsnull).PowerOutletTemplatesN(powerOutletTemplatesN).PowerOutlets(powerOutlets).PowerPortTemplates(powerPortTemplates).PowerPortTemplatesIsnull(powerPortTemplatesIsnull).PowerPortTemplatesN(powerPortTemplatesN).PowerPorts(powerPorts).Q(q).RearPortTemplates(rearPortTemplates).RearPortTemplatesIsnull(rearPortTemplatesIsnull).RearPortTemplatesN(rearPortTemplatesN).SoftwareImageFiles(softwareImageFiles).SoftwareImageFilesN(softwareImageFilesN).Sort(sort).SubdeviceRole(subdeviceRole).SubdeviceRoleIc(subdeviceRoleIc).SubdeviceRoleIe(subdeviceRoleIe).SubdeviceRoleIew(subdeviceRoleIew).SubdeviceRoleIre(subdeviceRoleIre).SubdeviceRoleIsw(subdeviceRoleIsw).SubdeviceRoleN(subdeviceRoleN).SubdeviceRoleNic(subdeviceRoleNic).SubdeviceRoleNie(subdeviceRoleNie).SubdeviceRoleNiew(subdeviceRoleNiew).SubdeviceRoleNire(subdeviceRoleNire).SubdeviceRoleNisw(subdeviceRoleNisw).SubdeviceRoleNre(subdeviceRoleNre).SubdeviceRoleRe(subdeviceRoleRe).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).UHeight(uHeight).UHeightGt(uHeightGt).UHeightGte(uHeightGte).UHeightLt(uHeightLt).UHeightLte(uHeightLte).UHeightN(uHeightN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimDeviceTypesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -12020,7 +11364,7 @@ Name | Type | Description | Notes
**consoleServerPorts** | **bool** | Has console server ports |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -12039,7 +11383,7 @@ Name | Type | Description | Notes
**devicesIsnull** | **bool** | |
**devicesN** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**frontPortTemplates** | **[]string** | |
**frontPortTemplatesIsnull** | **bool** | Front port templates (name or ID) is null |
@@ -12056,19 +11400,7 @@ Name | Type | Description | Notes
**hasRearPortTemplates** | **bool** | Has rear port templates |
**hasSoftwareImageFiles** | **bool** | Has software image files |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**interfaceTemplates** | **[]string** | |
**interfaceTemplatesIsnull** | **bool** | Interface templates (name or ID) is null |
**interfaceTemplatesN** | **[]string** | |
@@ -12138,7 +11470,7 @@ Name | Type | Description | Notes
**subdeviceRoleIew** | **[]string** | |
**subdeviceRoleIre** | **[]string** | |
**subdeviceRoleIsw** | **[]string** | |
- **subdeviceRoleN** | **[]string** | Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child. |
+ **subdeviceRoleN** | **[]string** | |
**subdeviceRoleNic** | **[]string** | |
**subdeviceRoleNie** | **[]string** | |
**subdeviceRoleNiew** | **[]string** | |
@@ -12151,7 +11483,7 @@ Name | Type | Description | Notes
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**uHeight** | **[]int32** | |
**uHeightGt** | **[]int32** | |
**uHeightGte** | **[]int32** | |
@@ -12159,6 +11491,7 @@ Name | Type | Description | Notes
**uHeightLte** | **[]int32** | |
**uHeightN** | **[]int32** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -12244,7 +11577,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: application/json, text/csv
+- **Content-Type**: application/json, text/csv, multipart/form-data
- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -12254,7 +11587,7 @@ Name | Type | Description | Notes
## DcimDeviceTypesNotesList
-> PaginatedNoteList DcimDeviceTypesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList DcimDeviceTypesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -12278,10 +11611,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimDeviceTypesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimDeviceTypesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimDeviceTypesNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -12311,6 +11645,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -12396,7 +11731,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: application/json, text/csv
+- **Content-Type**: application/json, text/csv, multipart/form-data
- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -12406,7 +11741,7 @@ Name | Type | Description | Notes
## DcimDeviceTypesRetrieve
-> DeviceType DcimDeviceTypesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> DeviceType DcimDeviceTypesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -12428,10 +11763,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this device type.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimDeviceTypesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimDeviceTypesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimDeviceTypesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -12459,6 +11795,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -12820,7 +12157,7 @@ Name | Type | Description | Notes
## DcimDeviceTypesToSoftwareImageFilesList
-> PaginatedDeviceTypeToSoftwareImageFileList DcimDeviceTypesToSoftwareImageFilesList(ctx).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Offset(offset).Q(q).SoftwareImageFile(softwareImageFile).SoftwareImageFileN(softwareImageFileN).Sort(sort).Depth(depth).Execute()
+> PaginatedDeviceTypeToSoftwareImageFileList DcimDeviceTypesToSoftwareImageFilesList(ctx).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Offset(offset).Q(q).SoftwareImageFile(softwareImageFile).SoftwareImageFileN(softwareImageFileN).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -12851,19 +12188,7 @@ func main() {
deviceTypeN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -12878,10 +12203,11 @@ func main() {
softwareImageFileN := []string{"Inner_example"} // []string | (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimDeviceTypesToSoftwareImageFilesList(context.Background()).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Offset(offset).Q(q).SoftwareImageFile(softwareImageFile).SoftwareImageFileN(softwareImageFileN).Sort(sort).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimDeviceTypesToSoftwareImageFilesList(context.Background()).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Offset(offset).Q(q).SoftwareImageFile(softwareImageFile).SoftwareImageFileN(softwareImageFileN).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimDeviceTypesToSoftwareImageFilesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -12913,19 +12239,7 @@ Name | Type | Description | Notes
**deviceTypeN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -12940,6 +12254,7 @@ Name | Type | Description | Notes
**softwareImageFileN** | **[]string** | |
**sort** | **string** | Which field to use when ordering the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -13035,7 +12350,7 @@ Name | Type | Description | Notes
## DcimDeviceTypesToSoftwareImageFilesRetrieve
-> DeviceTypeToSoftwareImageFile DcimDeviceTypesToSoftwareImageFilesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> DeviceTypeToSoftwareImageFile DcimDeviceTypesToSoftwareImageFilesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -13057,10 +12372,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this device type to software image file mapping.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimDeviceTypesToSoftwareImageFilesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimDeviceTypesToSoftwareImageFilesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimDeviceTypesToSoftwareImageFilesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -13088,6 +12404,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -13247,7 +12564,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: application/json, text/csv
+- **Content-Type**: application/json, text/csv, multipart/form-data
- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -13597,7 +12914,7 @@ Name | Type | Description | Notes
## DcimDevicesList
-> PaginatedDeviceList DcimDevicesList(ctx).AssetTag(assetTag).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIre(assetTagIre).AssetTagIsnull(assetTagIsnull).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNire(assetTagNire).AssetTagNisw(assetTagNisw).AssetTagNre(assetTagNre).AssetTagRe(assetTagRe).Cluster(cluster).ClusterIsnull(clusterIsnull).ClusterN(clusterN).ConsolePorts(consolePorts).ConsolePortsIsnull(consolePortsIsnull).ConsolePortsN(consolePortsN).ConsoleServerPorts(consoleServerPorts).ConsoleServerPortsIsnull(consoleServerPortsIsnull).ConsoleServerPortsN(consoleServerPortsN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ControllerManagedDeviceGroup(controllerManagedDeviceGroup).ControllerManagedDeviceGroupIsnull(controllerManagedDeviceGroupIsnull).ControllerManagedDeviceGroupN(controllerManagedDeviceGroupN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DeviceBays(deviceBays).DeviceBaysIsnull(deviceBaysIsnull).DeviceBaysN(deviceBaysN).DeviceFamily(deviceFamily).DeviceFamilyIsnull(deviceFamilyIsnull).DeviceFamilyN(deviceFamilyN).DeviceRedundancyGroup(deviceRedundancyGroup).DeviceRedundancyGroupIsnull(deviceRedundancyGroupIsnull).DeviceRedundancyGroupN(deviceRedundancyGroupN).DeviceRedundancyGroupPriority(deviceRedundancyGroupPriority).DeviceRedundancyGroupPriorityGt(deviceRedundancyGroupPriorityGt).DeviceRedundancyGroupPriorityGte(deviceRedundancyGroupPriorityGte).DeviceRedundancyGroupPriorityIsnull(deviceRedundancyGroupPriorityIsnull).DeviceRedundancyGroupPriorityLt(deviceRedundancyGroupPriorityLt).DeviceRedundancyGroupPriorityLte(deviceRedundancyGroupPriorityLte).DeviceRedundancyGroupPriorityN(deviceRedundancyGroupPriorityN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Face(face).FaceIc(faceIc).FaceIe(faceIe).FaceIew(faceIew).FaceIre(faceIre).FaceIsw(faceIsw).FaceN(faceN).FaceNic(faceNic).FaceNie(faceNie).FaceNiew(faceNiew).FaceNire(faceNire).FaceNisw(faceNisw).FaceNre(faceNre).FaceRe(faceRe).Format(format).FrontPorts(frontPorts).FrontPortsIsnull(frontPortsIsnull).FrontPortsN(frontPortsN).HasConsolePorts(hasConsolePorts).HasConsoleServerPorts(hasConsoleServerPorts).HasDeviceBays(hasDeviceBays).HasEmptyModuleBays(hasEmptyModuleBays).HasFrontPorts(hasFrontPorts).HasInterfaces(hasInterfaces).HasModuleBays(hasModuleBays).HasModules(hasModules).HasPowerOutlets(hasPowerOutlets).HasPowerPorts(hasPowerPorts).HasPrimaryIp(hasPrimaryIp).HasRearPorts(hasRearPorts).HasSoftwareImageFiles(hasSoftwareImageFiles).HasSoftwareVersion(hasSoftwareVersion).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Interfaces(interfaces).InterfacesIsnull(interfacesIsnull).InterfacesN(interfacesN).IsFullDepth(isFullDepth).IsVirtualChassisMember(isVirtualChassisMember).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).LocalConfigContextData(localConfigContextData).LocalConfigContextSchema(localConfigContextSchema).LocalConfigContextSchemaIsnull(localConfigContextSchemaIsnull).LocalConfigContextSchemaN(localConfigContextSchemaN).LocalConfigContextSchemaId(localConfigContextSchemaId).LocalConfigContextSchemaIdIsnull(localConfigContextSchemaIdIsnull).LocalConfigContextSchemaIdN(localConfigContextSchemaIdN).Location(location).LocationN(locationN).MacAddress(macAddress).MacAddressIc(macAddressIc).MacAddressIe(macAddressIe).MacAddressIew(macAddressIew).MacAddressIre(macAddressIre).MacAddressIsw(macAddressIsw).MacAddressN(macAddressN).MacAddressNic(macAddressNic).MacAddressNie(macAddressNie).MacAddressNiew(macAddressNiew).MacAddressNire(macAddressNire).MacAddressNisw(macAddressNisw).MacAddressNre(macAddressNre).MacAddressRe(macAddressRe).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ModuleBays(moduleBays).ModuleBaysIsnull(moduleBaysIsnull).ModuleBaysN(moduleBaysN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsnull(nameIsnull).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Platform(platform).PlatformIsnull(platformIsnull).PlatformN(platformN).Position(position).PositionGt(positionGt).PositionGte(positionGte).PositionIsnull(positionIsnull).PositionLt(positionLt).PositionLte(positionLte).PositionN(positionN).PowerOutlets(powerOutlets).PowerOutletsIsnull(powerOutletsIsnull).PowerOutletsN(powerOutletsN).PowerPorts(powerPorts).PowerPortsIsnull(powerPortsIsnull).PowerPortsN(powerPortsN).Q(q).Rack(rack).RackIsnull(rackIsnull).RackN(rackN).RackGroup(rackGroup).RackGroupIsnull(rackGroupIsnull).RackGroupN(rackGroupN).RearPorts(rearPorts).RearPortsIsnull(rearPortsIsnull).RearPortsN(rearPortsN).Role(role).RoleN(roleN).SecretsGroup(secretsGroup).SecretsGroupIsnull(secretsGroupIsnull).SecretsGroupN(secretsGroupN).Serial(serial).SoftwareImageFiles(softwareImageFiles).SoftwareImageFilesN(softwareImageFilesN).SoftwareVersion(softwareVersion).SoftwareVersionIsnull(softwareVersionIsnull).SoftwareVersionN(softwareVersionN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).VcPosition(vcPosition).VcPositionGt(vcPositionGt).VcPositionGte(vcPositionGte).VcPositionIsnull(vcPositionIsnull).VcPositionLt(vcPositionLt).VcPositionLte(vcPositionLte).VcPositionN(vcPositionN).VcPriority(vcPriority).VcPriorityGt(vcPriorityGt).VcPriorityGte(vcPriorityGte).VcPriorityIsnull(vcPriorityIsnull).VcPriorityLt(vcPriorityLt).VcPriorityLte(vcPriorityLte).VcPriorityN(vcPriorityN).VirtualChassis(virtualChassis).VirtualChassisIsnull(virtualChassisIsnull).VirtualChassisN(virtualChassisN).VirtualChassisMember(virtualChassisMember).Depth(depth).Execute()
+> PaginatedDeviceList DcimDevicesList(ctx).AssetTag(assetTag).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIre(assetTagIre).AssetTagIsnull(assetTagIsnull).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNire(assetTagNire).AssetTagNisw(assetTagNisw).AssetTagNre(assetTagNre).AssetTagRe(assetTagRe).Cluster(cluster).ClusterIsnull(clusterIsnull).ClusterN(clusterN).ConsolePorts(consolePorts).ConsolePortsIsnull(consolePortsIsnull).ConsolePortsN(consolePortsN).ConsoleServerPorts(consoleServerPorts).ConsoleServerPortsIsnull(consoleServerPortsIsnull).ConsoleServerPortsN(consoleServerPortsN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Controller(controller).ControllerN(controllerN).ControllerManagedDeviceGroup(controllerManagedDeviceGroup).ControllerManagedDeviceGroupIsnull(controllerManagedDeviceGroupIsnull).ControllerManagedDeviceGroupN(controllerManagedDeviceGroupN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DeviceBays(deviceBays).DeviceBaysIsnull(deviceBaysIsnull).DeviceBaysN(deviceBaysN).DeviceFamily(deviceFamily).DeviceFamilyIsnull(deviceFamilyIsnull).DeviceFamilyN(deviceFamilyN).DeviceRedundancyGroup(deviceRedundancyGroup).DeviceRedundancyGroupIsnull(deviceRedundancyGroupIsnull).DeviceRedundancyGroupN(deviceRedundancyGroupN).DeviceRedundancyGroupPriority(deviceRedundancyGroupPriority).DeviceRedundancyGroupPriorityGt(deviceRedundancyGroupPriorityGt).DeviceRedundancyGroupPriorityGte(deviceRedundancyGroupPriorityGte).DeviceRedundancyGroupPriorityIsnull(deviceRedundancyGroupPriorityIsnull).DeviceRedundancyGroupPriorityLt(deviceRedundancyGroupPriorityLt).DeviceRedundancyGroupPriorityLte(deviceRedundancyGroupPriorityLte).DeviceRedundancyGroupPriorityN(deviceRedundancyGroupPriorityN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Face(face).FaceIc(faceIc).FaceIe(faceIe).FaceIew(faceIew).FaceIre(faceIre).FaceIsw(faceIsw).FaceN(faceN).FaceNic(faceNic).FaceNie(faceNie).FaceNiew(faceNiew).FaceNire(faceNire).FaceNisw(faceNisw).FaceNre(faceNre).FaceRe(faceRe).Format(format).FrontPorts(frontPorts).FrontPortsIsnull(frontPortsIsnull).FrontPortsN(frontPortsN).HasConsolePorts(hasConsolePorts).HasConsoleServerPorts(hasConsoleServerPorts).HasDeviceBays(hasDeviceBays).HasEmptyModuleBays(hasEmptyModuleBays).HasFrontPorts(hasFrontPorts).HasInterfaces(hasInterfaces).HasIpAddresses(hasIpAddresses).HasModuleBays(hasModuleBays).HasModules(hasModules).HasPowerOutlets(hasPowerOutlets).HasPowerPorts(hasPowerPorts).HasPrimaryIp(hasPrimaryIp).HasRadioProfiles(hasRadioProfiles).HasRearPorts(hasRearPorts).HasSoftwareImageFiles(hasSoftwareImageFiles).HasSoftwareVersion(hasSoftwareVersion).HasWirelessNetworks(hasWirelessNetworks).Id(id).IdN(idN).Interfaces(interfaces).InterfacesIsnull(interfacesIsnull).InterfacesN(interfacesN).IpAddresses(ipAddresses).IsFullDepth(isFullDepth).IsVirtualChassisMember(isVirtualChassisMember).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).LocalConfigContextData(localConfigContextData).LocalConfigContextSchema(localConfigContextSchema).LocalConfigContextSchemaIsnull(localConfigContextSchemaIsnull).LocalConfigContextSchemaN(localConfigContextSchemaN).LocalConfigContextSchemaId(localConfigContextSchemaId).LocalConfigContextSchemaIdIsnull(localConfigContextSchemaIdIsnull).LocalConfigContextSchemaIdN(localConfigContextSchemaIdN).Location(location).LocationN(locationN).MacAddress(macAddress).MacAddressIc(macAddressIc).MacAddressIe(macAddressIe).MacAddressIew(macAddressIew).MacAddressIre(macAddressIre).MacAddressIsw(macAddressIsw).MacAddressN(macAddressN).MacAddressNic(macAddressNic).MacAddressNie(macAddressNie).MacAddressNiew(macAddressNiew).MacAddressNire(macAddressNire).MacAddressNisw(macAddressNisw).MacAddressNre(macAddressNre).MacAddressRe(macAddressRe).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ModuleBays(moduleBays).ModuleBaysIsnull(moduleBaysIsnull).ModuleBaysN(moduleBaysN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsnull(nameIsnull).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Platform(platform).PlatformIsnull(platformIsnull).PlatformN(platformN).Position(position).PositionGt(positionGt).PositionGte(positionGte).PositionIsnull(positionIsnull).PositionLt(positionLt).PositionLte(positionLte).PositionN(positionN).PowerOutlets(powerOutlets).PowerOutletsIsnull(powerOutletsIsnull).PowerOutletsN(powerOutletsN).PowerPorts(powerPorts).PowerPortsIsnull(powerPortsIsnull).PowerPortsN(powerPortsN).Q(q).Rack(rack).RackIsnull(rackIsnull).RackN(rackN).RackGroup(rackGroup).RackGroupIsnull(rackGroupIsnull).RackGroupN(rackGroupN).RadioProfiles(radioProfiles).RadioProfilesN(radioProfilesN).RearPorts(rearPorts).RearPortsIsnull(rearPortsIsnull).RearPortsN(rearPortsN).Role(role).RoleN(roleN).SecretsGroup(secretsGroup).SecretsGroupIsnull(secretsGroupIsnull).SecretsGroupN(secretsGroupN).Serial(serial).SerialIc(serialIc).SerialIe(serialIe).SerialIew(serialIew).SerialIre(serialIre).SerialIsw(serialIsw).SerialN(serialN).SerialNic(serialNic).SerialNie(serialNie).SerialNiew(serialNiew).SerialNire(serialNire).SerialNisw(serialNisw).SerialNre(serialNre).SerialRe(serialRe).SoftwareImageFiles(softwareImageFiles).SoftwareImageFilesN(softwareImageFilesN).SoftwareVersion(softwareVersion).SoftwareVersionIsnull(softwareVersionIsnull).SoftwareVersionN(softwareVersionN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).VcPosition(vcPosition).VcPositionGt(vcPositionGt).VcPositionGte(vcPositionGte).VcPositionIsnull(vcPositionIsnull).VcPositionLt(vcPositionLt).VcPositionLte(vcPositionLte).VcPositionN(vcPositionN).VcPriority(vcPriority).VcPriorityGt(vcPriorityGt).VcPriorityGte(vcPriorityGte).VcPriorityIsnull(vcPriorityIsnull).VcPriorityLt(vcPriorityLt).VcPriorityLte(vcPriorityLte).VcPriorityN(vcPriorityN).VirtualChassis(virtualChassis).VirtualChassisIsnull(virtualChassisIsnull).VirtualChassisN(virtualChassisN).VirtualChassisMember(virtualChassisMember).WirelessNetworks(wirelessNetworks).WirelessNetworksN(wirelessNetworksN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -13643,7 +12960,9 @@ func main() {
consoleServerPortsN := []string{"Inner_example"} // []string | (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
+ controller := []string{"Inner_example"} // []string | (optional)
+ controllerN := []string{"Inner_example"} // []string | (optional)
controllerManagedDeviceGroup := []string{"Inner_example"} // []string | (optional)
controllerManagedDeviceGroupIsnull := true // bool | Controller Managed Device Groups (name or ID) is null (optional)
controllerManagedDeviceGroupN := []string{"Inner_example"} // []string | (optional)
@@ -13673,7 +12992,7 @@ func main() {
deviceType := []string{"Inner_example"} // []string | (optional)
deviceTypeN := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
face := []string{"Inner_example"} // []string | (optional)
faceIc := []string{"Inner_example"} // []string | (optional)
faceIe := []string{"Inner_example"} // []string | (optional)
@@ -13698,31 +13017,23 @@ func main() {
hasEmptyModuleBays := true // bool | Has empty module bays (optional)
hasFrontPorts := true // bool | Has front ports (optional)
hasInterfaces := true // bool | Has interfaces (optional)
+ hasIpAddresses := true // bool | Has IP addresses (optional)
hasModuleBays := true // bool | Has module bays (optional)
hasModules := true // bool | Has modules (optional)
hasPowerOutlets := true // bool | Has power outlets (optional)
hasPowerPorts := true // bool | Has power ports (optional)
hasPrimaryIp := true // bool | Has a primary IP (optional)
+ hasRadioProfiles := true // bool | Has radio profiles (optional)
hasRearPorts := true // bool | Has rear ports (optional)
hasSoftwareImageFiles := true // bool | Has software image files (optional)
hasSoftwareVersion := true // bool | Has software version (optional)
+ hasWirelessNetworks := true // bool | Has wireless networks (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
interfaces := []string{"Inner_example"} // []string | (optional)
interfacesIsnull := true // bool | Interfaces (name or ID) is null (optional)
interfacesN := []string{"Inner_example"} // []string | (optional)
+ ipAddresses := []string{"Inner_example"} // []string | IP addresses (address or ID) (optional)
isFullDepth := true // bool | Is full depth (optional)
isVirtualChassisMember := true // bool | Is a virtual chassis member (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
@@ -13800,15 +13111,30 @@ func main() {
rackGroup := []string{"Inner_example"} // []string | (optional)
rackGroupIsnull := true // bool | Rack group (name or ID) is null (optional)
rackGroupN := []string{"Inner_example"} // []string | (optional)
+ radioProfiles := []string{"Inner_example"} // []string | (optional)
+ radioProfilesN := []string{"Inner_example"} // []string | (optional)
rearPorts := []string{"Inner_example"} // []string | (optional)
rearPortsIsnull := true // bool | Rear Ports (name or ID) is null (optional)
rearPortsN := []string{"Inner_example"} // []string | (optional)
role := []string{"Inner_example"} // []string | (optional)
- roleN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Role (name or ID) (optional)
+ roleN := []string{"Inner_example"} // []string | (optional)
secretsGroup := []string{"Inner_example"} // []string | (optional)
secretsGroupIsnull := true // bool | Secrets group (name or ID) is null (optional)
secretsGroupN := []string{"Inner_example"} // []string | (optional)
serial := []string{"Inner_example"} // []string | (optional)
+ serialIc := []string{"Inner_example"} // []string | (optional)
+ serialIe := []string{"Inner_example"} // []string | (optional)
+ serialIew := []string{"Inner_example"} // []string | (optional)
+ serialIre := []string{"Inner_example"} // []string | (optional)
+ serialIsw := []string{"Inner_example"} // []string | (optional)
+ serialN := []string{"Inner_example"} // []string | (optional)
+ serialNic := []string{"Inner_example"} // []string | (optional)
+ serialNie := []string{"Inner_example"} // []string | (optional)
+ serialNiew := []string{"Inner_example"} // []string | (optional)
+ serialNire := []string{"Inner_example"} // []string | (optional)
+ serialNisw := []string{"Inner_example"} // []string | (optional)
+ serialNre := []string{"Inner_example"} // []string | (optional)
+ serialRe := []string{"Inner_example"} // []string | (optional)
softwareImageFiles := []string{"Inner_example"} // []string | (optional)
softwareImageFilesN := []string{"Inner_example"} // []string | (optional)
softwareVersion := []string{"Inner_example"} // []string | (optional)
@@ -13816,13 +13142,13 @@ func main() {
softwareVersionN := []string{"Inner_example"} // []string | (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
status := []string{"Inner_example"} // []string | (optional)
- statusN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Status (name or ID) (optional)
+ statusN := []string{"Inner_example"} // []string | (optional)
tags := []string{"Inner_example"} // []string | (optional)
tagsIsnull := true // bool | (optional)
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
tenant := []string{"Inner_example"} // []string | (optional)
tenantIsnull := true // bool | Tenant (name or ID) is null (optional)
tenantN := []string{"Inner_example"} // []string | (optional)
@@ -13850,11 +13176,14 @@ func main() {
virtualChassisIsnull := true // bool | Virtual chassis (name or ID) is null (optional)
virtualChassisN := []string{"Inner_example"} // []string | (optional)
virtualChassisMember := true // bool | Is a virtual chassis member (optional)
+ wirelessNetworks := []string{"Inner_example"} // []string | (optional)
+ wirelessNetworksN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimDevicesList(context.Background()).AssetTag(assetTag).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIre(assetTagIre).AssetTagIsnull(assetTagIsnull).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNire(assetTagNire).AssetTagNisw(assetTagNisw).AssetTagNre(assetTagNre).AssetTagRe(assetTagRe).Cluster(cluster).ClusterIsnull(clusterIsnull).ClusterN(clusterN).ConsolePorts(consolePorts).ConsolePortsIsnull(consolePortsIsnull).ConsolePortsN(consolePortsN).ConsoleServerPorts(consoleServerPorts).ConsoleServerPortsIsnull(consoleServerPortsIsnull).ConsoleServerPortsN(consoleServerPortsN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ControllerManagedDeviceGroup(controllerManagedDeviceGroup).ControllerManagedDeviceGroupIsnull(controllerManagedDeviceGroupIsnull).ControllerManagedDeviceGroupN(controllerManagedDeviceGroupN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DeviceBays(deviceBays).DeviceBaysIsnull(deviceBaysIsnull).DeviceBaysN(deviceBaysN).DeviceFamily(deviceFamily).DeviceFamilyIsnull(deviceFamilyIsnull).DeviceFamilyN(deviceFamilyN).DeviceRedundancyGroup(deviceRedundancyGroup).DeviceRedundancyGroupIsnull(deviceRedundancyGroupIsnull).DeviceRedundancyGroupN(deviceRedundancyGroupN).DeviceRedundancyGroupPriority(deviceRedundancyGroupPriority).DeviceRedundancyGroupPriorityGt(deviceRedundancyGroupPriorityGt).DeviceRedundancyGroupPriorityGte(deviceRedundancyGroupPriorityGte).DeviceRedundancyGroupPriorityIsnull(deviceRedundancyGroupPriorityIsnull).DeviceRedundancyGroupPriorityLt(deviceRedundancyGroupPriorityLt).DeviceRedundancyGroupPriorityLte(deviceRedundancyGroupPriorityLte).DeviceRedundancyGroupPriorityN(deviceRedundancyGroupPriorityN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Face(face).FaceIc(faceIc).FaceIe(faceIe).FaceIew(faceIew).FaceIre(faceIre).FaceIsw(faceIsw).FaceN(faceN).FaceNic(faceNic).FaceNie(faceNie).FaceNiew(faceNiew).FaceNire(faceNire).FaceNisw(faceNisw).FaceNre(faceNre).FaceRe(faceRe).Format(format).FrontPorts(frontPorts).FrontPortsIsnull(frontPortsIsnull).FrontPortsN(frontPortsN).HasConsolePorts(hasConsolePorts).HasConsoleServerPorts(hasConsoleServerPorts).HasDeviceBays(hasDeviceBays).HasEmptyModuleBays(hasEmptyModuleBays).HasFrontPorts(hasFrontPorts).HasInterfaces(hasInterfaces).HasModuleBays(hasModuleBays).HasModules(hasModules).HasPowerOutlets(hasPowerOutlets).HasPowerPorts(hasPowerPorts).HasPrimaryIp(hasPrimaryIp).HasRearPorts(hasRearPorts).HasSoftwareImageFiles(hasSoftwareImageFiles).HasSoftwareVersion(hasSoftwareVersion).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Interfaces(interfaces).InterfacesIsnull(interfacesIsnull).InterfacesN(interfacesN).IsFullDepth(isFullDepth).IsVirtualChassisMember(isVirtualChassisMember).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).LocalConfigContextData(localConfigContextData).LocalConfigContextSchema(localConfigContextSchema).LocalConfigContextSchemaIsnull(localConfigContextSchemaIsnull).LocalConfigContextSchemaN(localConfigContextSchemaN).LocalConfigContextSchemaId(localConfigContextSchemaId).LocalConfigContextSchemaIdIsnull(localConfigContextSchemaIdIsnull).LocalConfigContextSchemaIdN(localConfigContextSchemaIdN).Location(location).LocationN(locationN).MacAddress(macAddress).MacAddressIc(macAddressIc).MacAddressIe(macAddressIe).MacAddressIew(macAddressIew).MacAddressIre(macAddressIre).MacAddressIsw(macAddressIsw).MacAddressN(macAddressN).MacAddressNic(macAddressNic).MacAddressNie(macAddressNie).MacAddressNiew(macAddressNiew).MacAddressNire(macAddressNire).MacAddressNisw(macAddressNisw).MacAddressNre(macAddressNre).MacAddressRe(macAddressRe).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ModuleBays(moduleBays).ModuleBaysIsnull(moduleBaysIsnull).ModuleBaysN(moduleBaysN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsnull(nameIsnull).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Platform(platform).PlatformIsnull(platformIsnull).PlatformN(platformN).Position(position).PositionGt(positionGt).PositionGte(positionGte).PositionIsnull(positionIsnull).PositionLt(positionLt).PositionLte(positionLte).PositionN(positionN).PowerOutlets(powerOutlets).PowerOutletsIsnull(powerOutletsIsnull).PowerOutletsN(powerOutletsN).PowerPorts(powerPorts).PowerPortsIsnull(powerPortsIsnull).PowerPortsN(powerPortsN).Q(q).Rack(rack).RackIsnull(rackIsnull).RackN(rackN).RackGroup(rackGroup).RackGroupIsnull(rackGroupIsnull).RackGroupN(rackGroupN).RearPorts(rearPorts).RearPortsIsnull(rearPortsIsnull).RearPortsN(rearPortsN).Role(role).RoleN(roleN).SecretsGroup(secretsGroup).SecretsGroupIsnull(secretsGroupIsnull).SecretsGroupN(secretsGroupN).Serial(serial).SoftwareImageFiles(softwareImageFiles).SoftwareImageFilesN(softwareImageFilesN).SoftwareVersion(softwareVersion).SoftwareVersionIsnull(softwareVersionIsnull).SoftwareVersionN(softwareVersionN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).VcPosition(vcPosition).VcPositionGt(vcPositionGt).VcPositionGte(vcPositionGte).VcPositionIsnull(vcPositionIsnull).VcPositionLt(vcPositionLt).VcPositionLte(vcPositionLte).VcPositionN(vcPositionN).VcPriority(vcPriority).VcPriorityGt(vcPriorityGt).VcPriorityGte(vcPriorityGte).VcPriorityIsnull(vcPriorityIsnull).VcPriorityLt(vcPriorityLt).VcPriorityLte(vcPriorityLte).VcPriorityN(vcPriorityN).VirtualChassis(virtualChassis).VirtualChassisIsnull(virtualChassisIsnull).VirtualChassisN(virtualChassisN).VirtualChassisMember(virtualChassisMember).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimDevicesList(context.Background()).AssetTag(assetTag).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIre(assetTagIre).AssetTagIsnull(assetTagIsnull).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNire(assetTagNire).AssetTagNisw(assetTagNisw).AssetTagNre(assetTagNre).AssetTagRe(assetTagRe).Cluster(cluster).ClusterIsnull(clusterIsnull).ClusterN(clusterN).ConsolePorts(consolePorts).ConsolePortsIsnull(consolePortsIsnull).ConsolePortsN(consolePortsN).ConsoleServerPorts(consoleServerPorts).ConsoleServerPortsIsnull(consoleServerPortsIsnull).ConsoleServerPortsN(consoleServerPortsN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Controller(controller).ControllerN(controllerN).ControllerManagedDeviceGroup(controllerManagedDeviceGroup).ControllerManagedDeviceGroupIsnull(controllerManagedDeviceGroupIsnull).ControllerManagedDeviceGroupN(controllerManagedDeviceGroupN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DeviceBays(deviceBays).DeviceBaysIsnull(deviceBaysIsnull).DeviceBaysN(deviceBaysN).DeviceFamily(deviceFamily).DeviceFamilyIsnull(deviceFamilyIsnull).DeviceFamilyN(deviceFamilyN).DeviceRedundancyGroup(deviceRedundancyGroup).DeviceRedundancyGroupIsnull(deviceRedundancyGroupIsnull).DeviceRedundancyGroupN(deviceRedundancyGroupN).DeviceRedundancyGroupPriority(deviceRedundancyGroupPriority).DeviceRedundancyGroupPriorityGt(deviceRedundancyGroupPriorityGt).DeviceRedundancyGroupPriorityGte(deviceRedundancyGroupPriorityGte).DeviceRedundancyGroupPriorityIsnull(deviceRedundancyGroupPriorityIsnull).DeviceRedundancyGroupPriorityLt(deviceRedundancyGroupPriorityLt).DeviceRedundancyGroupPriorityLte(deviceRedundancyGroupPriorityLte).DeviceRedundancyGroupPriorityN(deviceRedundancyGroupPriorityN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Face(face).FaceIc(faceIc).FaceIe(faceIe).FaceIew(faceIew).FaceIre(faceIre).FaceIsw(faceIsw).FaceN(faceN).FaceNic(faceNic).FaceNie(faceNie).FaceNiew(faceNiew).FaceNire(faceNire).FaceNisw(faceNisw).FaceNre(faceNre).FaceRe(faceRe).Format(format).FrontPorts(frontPorts).FrontPortsIsnull(frontPortsIsnull).FrontPortsN(frontPortsN).HasConsolePorts(hasConsolePorts).HasConsoleServerPorts(hasConsoleServerPorts).HasDeviceBays(hasDeviceBays).HasEmptyModuleBays(hasEmptyModuleBays).HasFrontPorts(hasFrontPorts).HasInterfaces(hasInterfaces).HasIpAddresses(hasIpAddresses).HasModuleBays(hasModuleBays).HasModules(hasModules).HasPowerOutlets(hasPowerOutlets).HasPowerPorts(hasPowerPorts).HasPrimaryIp(hasPrimaryIp).HasRadioProfiles(hasRadioProfiles).HasRearPorts(hasRearPorts).HasSoftwareImageFiles(hasSoftwareImageFiles).HasSoftwareVersion(hasSoftwareVersion).HasWirelessNetworks(hasWirelessNetworks).Id(id).IdN(idN).Interfaces(interfaces).InterfacesIsnull(interfacesIsnull).InterfacesN(interfacesN).IpAddresses(ipAddresses).IsFullDepth(isFullDepth).IsVirtualChassisMember(isVirtualChassisMember).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).LocalConfigContextData(localConfigContextData).LocalConfigContextSchema(localConfigContextSchema).LocalConfigContextSchemaIsnull(localConfigContextSchemaIsnull).LocalConfigContextSchemaN(localConfigContextSchemaN).LocalConfigContextSchemaId(localConfigContextSchemaId).LocalConfigContextSchemaIdIsnull(localConfigContextSchemaIdIsnull).LocalConfigContextSchemaIdN(localConfigContextSchemaIdN).Location(location).LocationN(locationN).MacAddress(macAddress).MacAddressIc(macAddressIc).MacAddressIe(macAddressIe).MacAddressIew(macAddressIew).MacAddressIre(macAddressIre).MacAddressIsw(macAddressIsw).MacAddressN(macAddressN).MacAddressNic(macAddressNic).MacAddressNie(macAddressNie).MacAddressNiew(macAddressNiew).MacAddressNire(macAddressNire).MacAddressNisw(macAddressNisw).MacAddressNre(macAddressNre).MacAddressRe(macAddressRe).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ModuleBays(moduleBays).ModuleBaysIsnull(moduleBaysIsnull).ModuleBaysN(moduleBaysN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsnull(nameIsnull).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Platform(platform).PlatformIsnull(platformIsnull).PlatformN(platformN).Position(position).PositionGt(positionGt).PositionGte(positionGte).PositionIsnull(positionIsnull).PositionLt(positionLt).PositionLte(positionLte).PositionN(positionN).PowerOutlets(powerOutlets).PowerOutletsIsnull(powerOutletsIsnull).PowerOutletsN(powerOutletsN).PowerPorts(powerPorts).PowerPortsIsnull(powerPortsIsnull).PowerPortsN(powerPortsN).Q(q).Rack(rack).RackIsnull(rackIsnull).RackN(rackN).RackGroup(rackGroup).RackGroupIsnull(rackGroupIsnull).RackGroupN(rackGroupN).RadioProfiles(radioProfiles).RadioProfilesN(radioProfilesN).RearPorts(rearPorts).RearPortsIsnull(rearPortsIsnull).RearPortsN(rearPortsN).Role(role).RoleN(roleN).SecretsGroup(secretsGroup).SecretsGroupIsnull(secretsGroupIsnull).SecretsGroupN(secretsGroupN).Serial(serial).SerialIc(serialIc).SerialIe(serialIe).SerialIew(serialIew).SerialIre(serialIre).SerialIsw(serialIsw).SerialN(serialN).SerialNic(serialNic).SerialNie(serialNie).SerialNiew(serialNiew).SerialNire(serialNire).SerialNisw(serialNisw).SerialNre(serialNre).SerialRe(serialRe).SoftwareImageFiles(softwareImageFiles).SoftwareImageFilesN(softwareImageFilesN).SoftwareVersion(softwareVersion).SoftwareVersionIsnull(softwareVersionIsnull).SoftwareVersionN(softwareVersionN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).VcPosition(vcPosition).VcPositionGt(vcPositionGt).VcPositionGte(vcPositionGte).VcPositionIsnull(vcPositionIsnull).VcPositionLt(vcPositionLt).VcPositionLte(vcPositionLte).VcPositionN(vcPositionN).VcPriority(vcPriority).VcPriorityGt(vcPriorityGt).VcPriorityGte(vcPriorityGte).VcPriorityIsnull(vcPriorityIsnull).VcPriorityLt(vcPriorityLt).VcPriorityLte(vcPriorityLte).VcPriorityN(vcPriorityN).VirtualChassis(virtualChassis).VirtualChassisIsnull(virtualChassisIsnull).VirtualChassisN(virtualChassisN).VirtualChassisMember(virtualChassisMember).WirelessNetworks(wirelessNetworks).WirelessNetworksN(wirelessNetworksN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimDevicesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -13901,7 +13230,9 @@ Name | Type | Description | Notes
**consoleServerPortsN** | **[]string** | |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
+ **controller** | **[]string** | |
+ **controllerN** | **[]string** | |
**controllerManagedDeviceGroup** | **[]string** | |
**controllerManagedDeviceGroupIsnull** | **bool** | Controller Managed Device Groups (name or ID) is null |
**controllerManagedDeviceGroupN** | **[]string** | |
@@ -13931,7 +13262,7 @@ Name | Type | Description | Notes
**deviceType** | **[]string** | |
**deviceTypeN** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**face** | **[]string** | |
**faceIc** | **[]string** | |
**faceIe** | **[]string** | |
@@ -13956,31 +13287,23 @@ Name | Type | Description | Notes
**hasEmptyModuleBays** | **bool** | Has empty module bays |
**hasFrontPorts** | **bool** | Has front ports |
**hasInterfaces** | **bool** | Has interfaces |
+ **hasIpAddresses** | **bool** | Has IP addresses |
**hasModuleBays** | **bool** | Has module bays |
**hasModules** | **bool** | Has modules |
**hasPowerOutlets** | **bool** | Has power outlets |
**hasPowerPorts** | **bool** | Has power ports |
**hasPrimaryIp** | **bool** | Has a primary IP |
+ **hasRadioProfiles** | **bool** | Has radio profiles |
**hasRearPorts** | **bool** | Has rear ports |
**hasSoftwareImageFiles** | **bool** | Has software image files |
**hasSoftwareVersion** | **bool** | Has software version |
+ **hasWirelessNetworks** | **bool** | Has wireless networks |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**interfaces** | **[]string** | |
**interfacesIsnull** | **bool** | Interfaces (name or ID) is null |
**interfacesN** | **[]string** | |
+ **ipAddresses** | **[]string** | IP addresses (address or ID) |
**isFullDepth** | **bool** | Is full depth |
**isVirtualChassisMember** | **bool** | Is a virtual chassis member |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
@@ -14058,15 +13381,30 @@ Name | Type | Description | Notes
**rackGroup** | **[]string** | |
**rackGroupIsnull** | **bool** | Rack group (name or ID) is null |
**rackGroupN** | **[]string** | |
+ **radioProfiles** | **[]string** | |
+ **radioProfilesN** | **[]string** | |
**rearPorts** | **[]string** | |
**rearPortsIsnull** | **bool** | Rear Ports (name or ID) is null |
**rearPortsN** | **[]string** | |
**role** | **[]string** | |
- **roleN** | **string** | Exclude Role (name or ID) |
+ **roleN** | **[]string** | |
**secretsGroup** | **[]string** | |
**secretsGroupIsnull** | **bool** | Secrets group (name or ID) is null |
**secretsGroupN** | **[]string** | |
**serial** | **[]string** | |
+ **serialIc** | **[]string** | |
+ **serialIe** | **[]string** | |
+ **serialIew** | **[]string** | |
+ **serialIre** | **[]string** | |
+ **serialIsw** | **[]string** | |
+ **serialN** | **[]string** | |
+ **serialNic** | **[]string** | |
+ **serialNie** | **[]string** | |
+ **serialNiew** | **[]string** | |
+ **serialNire** | **[]string** | |
+ **serialNisw** | **[]string** | |
+ **serialNre** | **[]string** | |
+ **serialRe** | **[]string** | |
**softwareImageFiles** | **[]string** | |
**softwareImageFilesN** | **[]string** | |
**softwareVersion** | **[]string** | |
@@ -14074,13 +13412,13 @@ Name | Type | Description | Notes
**softwareVersionN** | **[]string** | |
**sort** | **string** | Which field to use when ordering the results. |
**status** | **[]string** | |
- **statusN** | **string** | Exclude Status (name or ID) |
+ **statusN** | **[]string** | |
**tags** | **[]string** | |
**tagsIsnull** | **bool** | |
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**tenant** | **[]string** | |
**tenantIsnull** | **bool** | Tenant (name or ID) is null |
**tenantN** | **[]string** | |
@@ -14108,7 +13446,10 @@ Name | Type | Description | Notes
**virtualChassisIsnull** | **bool** | Virtual chassis (name or ID) is null |
**virtualChassisN** | **[]string** | |
**virtualChassisMember** | **bool** | Is a virtual chassis member |
+ **wirelessNetworks** | **[]string** | |
+ **wirelessNetworksN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -14130,7 +13471,7 @@ Name | Type | Description | Notes
## DcimDevicesNapalmRetrieve
-> DeviceNAPALM DcimDevicesNapalmRetrieve(ctx, id).Method(method).Format(format).Depth(depth).Execute()
+> DeviceNAPALM DcimDevicesNapalmRetrieve(ctx, id).Method(method).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -14153,10 +13494,11 @@ func main() {
method := "method_example" // string |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimDevicesNapalmRetrieve(context.Background(), id).Method(method).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimDevicesNapalmRetrieve(context.Background(), id).Method(method).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimDevicesNapalmRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -14185,6 +13527,7 @@ Name | Type | Description | Notes
**method** | **string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -14280,7 +13623,7 @@ Name | Type | Description | Notes
## DcimDevicesNotesList
-> PaginatedNoteList DcimDevicesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList DcimDevicesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -14304,10 +13647,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimDevicesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimDevicesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimDevicesNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -14337,6 +13681,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -14432,7 +13777,7 @@ Name | Type | Description | Notes
## DcimDevicesRetrieve
-> Device DcimDevicesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> Device DcimDevicesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -14454,10 +13799,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this device.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimDevicesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimDevicesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimDevicesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -14485,6 +13831,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -14920,7 +14267,7 @@ Name | Type | Description | Notes
## DcimFrontPortTemplatesList
-> PaginatedFrontPortTemplateList DcimFrontPortTemplatesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceType(hasDeviceType).HasModuleType(hasModuleType).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).RearPortPosition(rearPortPosition).RearPortPositionGt(rearPortPositionGt).RearPortPositionGte(rearPortPositionGte).RearPortPositionLt(rearPortPositionLt).RearPortPositionLte(rearPortPositionLte).RearPortPositionN(rearPortPositionN).RearPortTemplate(rearPortTemplate).RearPortTemplateN(rearPortTemplateN).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).Execute()
+> PaginatedFrontPortTemplateList DcimFrontPortTemplatesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceType(hasDeviceType).HasModuleType(hasModuleType).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).RearPortPosition(rearPortPosition).RearPortPositionGt(rearPortPositionGt).RearPortPositionGte(rearPortPositionGte).RearPortPositionLt(rearPortPositionLt).RearPortPositionLte(rearPortPositionLte).RearPortPositionN(rearPortPositionN).RearPortTemplate(rearPortTemplate).RearPortTemplateN(rearPortTemplateN).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -14941,7 +14288,7 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
description := []string{"Inner_example"} // []string | Description (optional)
descriptionIc := []string{"Inner_example"} // []string | Description (optional)
descriptionIe := []string{"Inner_example"} // []string | Description (optional)
@@ -14960,24 +14307,12 @@ func main() {
deviceTypeIsnull := true // bool | Device type (model or ID) is null (optional)
deviceTypeN := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
hasDeviceType := true // bool | Has device type (optional)
hasModuleType := true // bool | Has module type (optional)
id := []string{"Inner_example"} // []string | ID (optional)
- idIc := []string{"Inner_example"} // []string | ID contains (optional)
- idIe := []string{"Inner_example"} // []string | ID (optional)
- idIew := []string{"Inner_example"} // []string | ID ends with (optional)
- idIre := []string{"Inner_example"} // []string | ID matches regex (optional)
- idIsw := []string{"Inner_example"} // []string | ID starts with (optional)
idN := []string{"Inner_example"} // []string | Exclude ID (optional)
- idNic := []string{"Inner_example"} // []string | Exclude ID contains (optional)
- idNie := []string{"Inner_example"} // []string | Exclude ID (optional)
- idNiew := []string{"Inner_example"} // []string | Exclude ID ends with (optional)
- idNire := []string{"Inner_example"} // []string | Exclude ID matches regex (optional)
- idNisw := []string{"Inner_example"} // []string | Exclude ID starts with (optional)
- idNre := []string{"Inner_example"} // []string | Exclude ID matches regex (optional)
- idRe := []string{"Inner_example"} // []string | ID matches regex (optional)
label := []string{"Inner_example"} // []string | Label (optional)
labelIc := []string{"Inner_example"} // []string | Label (optional)
labelIe := []string{"Inner_example"} // []string | Label (optional)
@@ -15023,7 +14358,7 @@ func main() {
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
type_ := []string{"Inner_example"} // []string | (optional)
typeIc := []string{"Inner_example"} // []string | (optional)
typeIe := []string{"Inner_example"} // []string | (optional)
@@ -15039,10 +14374,11 @@ func main() {
typeNre := []string{"Inner_example"} // []string | (optional)
typeRe := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimFrontPortTemplatesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceType(hasDeviceType).HasModuleType(hasModuleType).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).RearPortPosition(rearPortPosition).RearPortPositionGt(rearPortPositionGt).RearPortPositionGte(rearPortPositionGte).RearPortPositionLt(rearPortPositionLt).RearPortPositionLte(rearPortPositionLte).RearPortPositionN(rearPortPositionN).RearPortTemplate(rearPortTemplate).RearPortTemplateN(rearPortTemplateN).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimFrontPortTemplatesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceType(hasDeviceType).HasModuleType(hasModuleType).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).RearPortPosition(rearPortPosition).RearPortPositionGt(rearPortPositionGt).RearPortPositionGte(rearPortPositionGte).RearPortPositionLt(rearPortPositionLt).RearPortPositionLte(rearPortPositionLte).RearPortPositionN(rearPortPositionN).RearPortTemplate(rearPortTemplate).RearPortTemplateN(rearPortTemplateN).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimFrontPortTemplatesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -15065,7 +14401,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**description** | **[]string** | Description |
**descriptionIc** | **[]string** | Description |
**descriptionIe** | **[]string** | Description |
@@ -15084,24 +14420,12 @@ Name | Type | Description | Notes
**deviceTypeIsnull** | **bool** | Device type (model or ID) is null |
**deviceTypeN** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**hasDeviceType** | **bool** | Has device type |
**hasModuleType** | **bool** | Has module type |
**id** | **[]string** | ID |
- **idIc** | **[]string** | ID contains |
- **idIe** | **[]string** | ID |
- **idIew** | **[]string** | ID ends with |
- **idIre** | **[]string** | ID matches regex |
- **idIsw** | **[]string** | ID starts with |
**idN** | **[]string** | Exclude ID |
- **idNic** | **[]string** | Exclude ID contains |
- **idNie** | **[]string** | Exclude ID |
- **idNiew** | **[]string** | Exclude ID ends with |
- **idNire** | **[]string** | Exclude ID matches regex |
- **idNisw** | **[]string** | Exclude ID starts with |
- **idNre** | **[]string** | Exclude ID matches regex |
- **idRe** | **[]string** | ID matches regex |
**label** | **[]string** | Label |
**labelIc** | **[]string** | Label |
**labelIe** | **[]string** | Label |
@@ -15147,7 +14471,7 @@ Name | Type | Description | Notes
**sort** | **string** | Which field to use when ordering the results. |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**type_** | **[]string** | |
**typeIc** | **[]string** | |
**typeIe** | **[]string** | |
@@ -15163,6 +14487,7 @@ Name | Type | Description | Notes
**typeNre** | **[]string** | |
**typeRe** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -15182,9 +14507,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimFrontPortTemplatesNotesCreate
+## DcimFrontPortTemplatesPartialUpdate
-> Note DcimFrontPortTemplatesNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+> FrontPortTemplate DcimFrontPortTemplatesPartialUpdate(ctx, id).Format(format).PatchedWritableFrontPortTemplateRequest(patchedWritableFrontPortTemplateRequest).Execute()
@@ -15204,18 +14529,18 @@ import (
func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this front port template.
- noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ patchedWritableFrontPortTemplateRequest := *openapiclient.NewPatchedWritableFrontPortTemplateRequest() // PatchedWritableFrontPortTemplateRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimFrontPortTemplatesNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimFrontPortTemplatesPartialUpdate(context.Background(), id).Format(format).PatchedWritableFrontPortTemplateRequest(patchedWritableFrontPortTemplateRequest).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimFrontPortTemplatesNotesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimFrontPortTemplatesPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimFrontPortTemplatesNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimFrontPortTemplatesNotesCreate`: %v\n", resp)
+ // response from `DcimFrontPortTemplatesPartialUpdate`: FrontPortTemplate
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimFrontPortTemplatesPartialUpdate`: %v\n", resp)
}
```
@@ -15229,18 +14554,18 @@ Name | Type | Description | Notes
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimFrontPortTemplatesNotesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimFrontPortTemplatesPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **noteInputRequest** | [**NoteInputRequest**](NoteInputRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **patchedWritableFrontPortTemplateRequest** | [**PatchedWritableFrontPortTemplateRequest**](PatchedWritableFrontPortTemplateRequest.md) | |
### Return type
-[**Note**](Note.md)
+[**FrontPortTemplate**](FrontPortTemplate.md)
### Authorization
@@ -15256,161 +14581,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimFrontPortTemplatesNotesList
+## DcimFrontPortTemplatesRetrieve
-> PaginatedNoteList DcimFrontPortTemplatesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this front port template.
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- limit := int32(56) // int32 | Number of results to return per page. (optional)
- offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimFrontPortTemplatesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimFrontPortTemplatesNotesList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `DcimFrontPortTemplatesNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimFrontPortTemplatesNotesList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this front port template. |
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiDcimFrontPortTemplatesNotesListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **limit** | **int32** | Number of results to return per page. |
- **offset** | **int32** | The initial index from which to return the results. |
- **depth** | **int32** | Serializer Depth | [default to 1]
-
-### Return type
-
-[**PaginatedNoteList**](PaginatedNoteList.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## DcimFrontPortTemplatesPartialUpdate
-
-> FrontPortTemplate DcimFrontPortTemplatesPartialUpdate(ctx, id).Format(format).PatchedWritableFrontPortTemplateRequest(patchedWritableFrontPortTemplateRequest).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this front port template.
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- patchedWritableFrontPortTemplateRequest := *openapiclient.NewPatchedWritableFrontPortTemplateRequest() // PatchedWritableFrontPortTemplateRequest | (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimFrontPortTemplatesPartialUpdate(context.Background(), id).Format(format).PatchedWritableFrontPortTemplateRequest(patchedWritableFrontPortTemplateRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimFrontPortTemplatesPartialUpdate``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `DcimFrontPortTemplatesPartialUpdate`: FrontPortTemplate
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimFrontPortTemplatesPartialUpdate`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this front port template. |
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiDcimFrontPortTemplatesPartialUpdateRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **patchedWritableFrontPortTemplateRequest** | [**PatchedWritableFrontPortTemplateRequest**](PatchedWritableFrontPortTemplateRequest.md) | |
-
-### Return type
-
-[**FrontPortTemplate**](FrontPortTemplate.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: application/json, text/csv
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## DcimFrontPortTemplatesRetrieve
-
-> FrontPortTemplate DcimFrontPortTemplatesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> FrontPortTemplate DcimFrontPortTemplatesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -15432,10 +14605,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this front port template.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimFrontPortTemplatesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimFrontPortTemplatesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimFrontPortTemplatesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -15463,6 +14637,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -15898,7 +15073,7 @@ Name | Type | Description | Notes
## DcimFrontPortsList
-> PaginatedFrontPortList DcimFrontPortsList(ctx).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCable(hasCable).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).Module(module).ModuleIsnull(moduleIsnull).ModuleN(moduleN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).RearPort(rearPort).RearPortN(rearPortN).RearPortPosition(rearPortPosition).RearPortPositionGt(rearPortPositionGt).RearPortPositionGte(rearPortPositionGte).RearPortPositionLt(rearPortPositionLt).RearPortPositionLte(rearPortPositionLte).RearPortPositionN(rearPortPositionN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).Execute()
+> PaginatedFrontPortList DcimFrontPortsList(ctx).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCable(hasCable).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).Module(module).ModuleIsnull(moduleIsnull).ModuleN(moduleN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).RearPort(rearPort).RearPortN(rearPortN).RearPortPosition(rearPortPosition).RearPortPositionGt(rearPortPositionGt).RearPortPositionGte(rearPortPositionGte).RearPortPositionLt(rearPortPositionLt).RearPortPositionLte(rearPortPositionLte).RearPortPositionN(rearPortPositionN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -15922,7 +15097,7 @@ func main() {
cableN := []string{"Inner_example"} // []string | Cable (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
description := []string{"Inner_example"} // []string | (optional)
descriptionIc := []string{"Inner_example"} // []string | (optional)
descriptionIe := []string{"Inner_example"} // []string | (optional)
@@ -15939,23 +15114,11 @@ func main() {
descriptionRe := []string{"Inner_example"} // []string | (optional)
device := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
hasCable := true // bool | Has cable (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
label := []string{"Inner_example"} // []string | (optional)
labelIc := []string{"Inner_example"} // []string | (optional)
labelIe := []string{"Inner_example"} // []string | (optional)
@@ -16006,7 +15169,7 @@ func main() {
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
type_ := []string{"Inner_example"} // []string | (optional)
typeIc := []string{"Inner_example"} // []string | (optional)
typeIe := []string{"Inner_example"} // []string | (optional)
@@ -16022,10 +15185,11 @@ func main() {
typeNre := []string{"Inner_example"} // []string | (optional)
typeRe := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimFrontPortsList(context.Background()).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCable(hasCable).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).Module(module).ModuleIsnull(moduleIsnull).ModuleN(moduleN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).RearPort(rearPort).RearPortN(rearPortN).RearPortPosition(rearPortPosition).RearPortPositionGt(rearPortPositionGt).RearPortPositionGte(rearPortPositionGte).RearPortPositionLt(rearPortPositionLt).RearPortPositionLte(rearPortPositionLte).RearPortPositionN(rearPortPositionN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimFrontPortsList(context.Background()).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCable(hasCable).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).Module(module).ModuleIsnull(moduleIsnull).ModuleN(moduleN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).RearPort(rearPort).RearPortN(rearPortN).RearPortPosition(rearPortPosition).RearPortPositionGt(rearPortPositionGt).RearPortPositionGte(rearPortPositionGte).RearPortPositionLt(rearPortPositionLt).RearPortPositionLte(rearPortPositionLte).RearPortPositionN(rearPortPositionN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimFrontPortsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -16051,7 +15215,7 @@ Name | Type | Description | Notes
**cableN** | **[]string** | Cable |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**description** | **[]string** | |
**descriptionIc** | **[]string** | |
**descriptionIe** | **[]string** | |
@@ -16068,23 +15232,11 @@ Name | Type | Description | Notes
**descriptionRe** | **[]string** | |
**device** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**hasCable** | **bool** | Has cable |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**label** | **[]string** | |
**labelIc** | **[]string** | |
**labelIe** | **[]string** | |
@@ -16135,7 +15287,7 @@ Name | Type | Description | Notes
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**type_** | **[]string** | |
**typeIc** | **[]string** | |
**typeIe** | **[]string** | |
@@ -16151,6 +15303,7 @@ Name | Type | Description | Notes
**typeNre** | **[]string** | |
**typeRe** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -16246,7 +15399,7 @@ Name | Type | Description | Notes
## DcimFrontPortsNotesList
-> PaginatedNoteList DcimFrontPortsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList DcimFrontPortsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -16270,10 +15423,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimFrontPortsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimFrontPortsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimFrontPortsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -16303,6 +15457,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -16398,7 +15553,7 @@ Name | Type | Description | Notes
## DcimFrontPortsPathsList
-> PaginatedCablePathList DcimFrontPortsPathsList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedCablePathList DcimFrontPortsPathsList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -16422,10 +15577,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimFrontPortsPathsList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimFrontPortsPathsList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimFrontPortsPathsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -16455,6 +15611,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -16476,7 +15633,7 @@ Name | Type | Description | Notes
## DcimFrontPortsRetrieve
-> FrontPort DcimFrontPortsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> FrontPort DcimFrontPortsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -16498,10 +15655,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this front port.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimFrontPortsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimFrontPortsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimFrontPortsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -16529,6 +15687,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -16624,7 +15783,7 @@ Name | Type | Description | Notes
## DcimInterfaceConnectionsList
-> PaginatedInterfaceConnectionList DcimInterfaceConnectionsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Device(device).DeviceId(deviceId).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Location(location).Offset(offset).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedInterfaceConnectionList DcimInterfaceConnectionsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Device(device).DeviceId(deviceId).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).Limit(limit).Location(location).Offset(offset).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -16645,38 +15804,27 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
device := []string{"Inner_example"} // []string | Device (name) (optional)
deviceId := []string{"Inner_example"} // []string | Device (ID) (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
location := "location_example" // string | Location (name) (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimInterfaceConnectionsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Device(device).DeviceId(deviceId).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Location(location).Offset(offset).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInterfaceConnectionsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Device(device).DeviceId(deviceId).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).Limit(limit).Location(location).Offset(offset).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfaceConnectionsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -16699,34 +15847,23 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**device** | **[]string** | Device (name) |
**deviceId** | **[]string** | Device (ID) |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**limit** | **int32** | Number of results to return per page. |
**location** | **string** | Location (name) |
**offset** | **int32** | The initial index from which to return the results. |
**sort** | **string** | Which field to use when ordering the results. |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -17088,7 +16225,7 @@ Name | Type | Description | Notes
## DcimInterfaceRedundancyGroupAssociationsList
-> PaginatedInterfaceRedundancyGroupAssociationList DcimInterfaceRedundancyGroupAssociationsList(ctx).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Interface_(interface_).InterfaceN(interfaceN).InterfaceRedundancyGroup(interfaceRedundancyGroup).InterfaceRedundancyGroupN(interfaceRedundancyGroupN).Limit(limit).Offset(offset).Priority(priority).PriorityGt(priorityGt).PriorityGte(priorityGte).PriorityLt(priorityLt).PriorityLte(priorityLte).PriorityN(priorityN).Q(q).Sort(sort).Depth(depth).Execute()
+> PaginatedInterfaceRedundancyGroupAssociationList DcimInterfaceRedundancyGroupAssociationsList(ctx).Format(format).Id(id).IdN(idN).Interface_(interface_).InterfaceN(interfaceN).InterfaceRedundancyGroup(interfaceRedundancyGroup).InterfaceRedundancyGroupN(interfaceRedundancyGroupN).Limit(limit).Offset(offset).Priority(priority).PriorityGt(priorityGt).PriorityGte(priorityGte).PriorityLt(priorityLt).PriorityLte(priorityLte).PriorityN(priorityN).Q(q).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -17109,19 +16246,7 @@ import (
func main() {
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
interface_ := []string{"Inner_example"} // []string | (optional)
interfaceN := []string{"Inner_example"} // []string | (optional)
interfaceRedundancyGroup := []string{"Inner_example"} // []string | (optional)
@@ -17137,10 +16262,11 @@ func main() {
q := "q_example" // string | Search (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimInterfaceRedundancyGroupAssociationsList(context.Background()).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Interface_(interface_).InterfaceN(interfaceN).InterfaceRedundancyGroup(interfaceRedundancyGroup).InterfaceRedundancyGroupN(interfaceRedundancyGroupN).Limit(limit).Offset(offset).Priority(priority).PriorityGt(priorityGt).PriorityGte(priorityGte).PriorityLt(priorityLt).PriorityLte(priorityLte).PriorityN(priorityN).Q(q).Sort(sort).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInterfaceRedundancyGroupAssociationsList(context.Background()).Format(format).Id(id).IdN(idN).Interface_(interface_).InterfaceN(interfaceN).InterfaceRedundancyGroup(interfaceRedundancyGroup).InterfaceRedundancyGroupN(interfaceRedundancyGroupN).Limit(limit).Offset(offset).Priority(priority).PriorityGt(priorityGt).PriorityGte(priorityGte).PriorityLt(priorityLt).PriorityLte(priorityLte).PriorityN(priorityN).Q(q).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfaceRedundancyGroupAssociationsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -17163,19 +16289,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**interface_** | **[]string** | |
**interfaceN** | **[]string** | |
**interfaceRedundancyGroup** | **[]string** | |
@@ -17191,6 +16305,7 @@ Name | Type | Description | Notes
**q** | **string** | Search |
**sort** | **string** | Which field to use when ordering the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -17286,7 +16401,7 @@ Name | Type | Description | Notes
## DcimInterfaceRedundancyGroupAssociationsNotesList
-> PaginatedNoteList DcimInterfaceRedundancyGroupAssociationsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList DcimInterfaceRedundancyGroupAssociationsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -17310,10 +16425,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimInterfaceRedundancyGroupAssociationsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInterfaceRedundancyGroupAssociationsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfaceRedundancyGroupAssociationsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -17343,6 +16459,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -17438,7 +16555,7 @@ Name | Type | Description | Notes
## DcimInterfaceRedundancyGroupAssociationsRetrieve
-> InterfaceRedundancyGroupAssociation DcimInterfaceRedundancyGroupAssociationsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> InterfaceRedundancyGroupAssociation DcimInterfaceRedundancyGroupAssociationsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -17460,10 +16577,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this interface redundancy group association.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimInterfaceRedundancyGroupAssociationsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInterfaceRedundancyGroupAssociationsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfaceRedundancyGroupAssociationsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -17491,6 +16609,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -17926,7 +17045,7 @@ Name | Type | Description | Notes
## DcimInterfaceRedundancyGroupsList
-> PaginatedInterfaceRedundancyGroupList DcimInterfaceRedundancyGroupsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Protocol(protocol).ProtocolIc(protocolIc).ProtocolIe(protocolIe).ProtocolIew(protocolIew).ProtocolIre(protocolIre).ProtocolIsw(protocolIsw).ProtocolN(protocolN).ProtocolNic(protocolNic).ProtocolNie(protocolNie).ProtocolNiew(protocolNiew).ProtocolNire(protocolNire).ProtocolNisw(protocolNisw).ProtocolNre(protocolNre).ProtocolRe(protocolRe).ProtocolGroupId(protocolGroupId).ProtocolGroupIdIc(protocolGroupIdIc).ProtocolGroupIdIe(protocolGroupIdIe).ProtocolGroupIdIew(protocolGroupIdIew).ProtocolGroupIdIre(protocolGroupIdIre).ProtocolGroupIdIsw(protocolGroupIdIsw).ProtocolGroupIdN(protocolGroupIdN).ProtocolGroupIdNic(protocolGroupIdNic).ProtocolGroupIdNie(protocolGroupIdNie).ProtocolGroupIdNiew(protocolGroupIdNiew).ProtocolGroupIdNire(protocolGroupIdNire).ProtocolGroupIdNisw(protocolGroupIdNisw).ProtocolGroupIdNre(protocolGroupIdNre).ProtocolGroupIdRe(protocolGroupIdRe).Q(q).SecretsGroup(secretsGroup).SecretsGroupIsnull(secretsGroupIsnull).SecretsGroupN(secretsGroupN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).VirtualIp(virtualIp).Depth(depth).Execute()
+> PaginatedInterfaceRedundancyGroupList DcimInterfaceRedundancyGroupsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Protocol(protocol).ProtocolIc(protocolIc).ProtocolIe(protocolIe).ProtocolIew(protocolIew).ProtocolIre(protocolIre).ProtocolIsw(protocolIsw).ProtocolN(protocolN).ProtocolNic(protocolNic).ProtocolNie(protocolNie).ProtocolNiew(protocolNiew).ProtocolNire(protocolNire).ProtocolNisw(protocolNisw).ProtocolNre(protocolNre).ProtocolRe(protocolRe).ProtocolGroupId(protocolGroupId).ProtocolGroupIdIc(protocolGroupIdIc).ProtocolGroupIdIe(protocolGroupIdIe).ProtocolGroupIdIew(protocolGroupIdIew).ProtocolGroupIdIre(protocolGroupIdIre).ProtocolGroupIdIsw(protocolGroupIdIsw).ProtocolGroupIdN(protocolGroupIdN).ProtocolGroupIdNic(protocolGroupIdNic).ProtocolGroupIdNie(protocolGroupIdNie).ProtocolGroupIdNiew(protocolGroupIdNiew).ProtocolGroupIdNire(protocolGroupIdNire).ProtocolGroupIdNisw(protocolGroupIdNisw).ProtocolGroupIdNre(protocolGroupIdNre).ProtocolGroupIdRe(protocolGroupIdRe).Q(q).SecretsGroup(secretsGroup).SecretsGroupIsnull(secretsGroupIsnull).SecretsGroupN(secretsGroupN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).VirtualIp(virtualIp).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -17947,7 +17066,7 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
description := []string{"Inner_example"} // []string | (optional)
descriptionIc := []string{"Inner_example"} // []string | (optional)
descriptionIe := []string{"Inner_example"} // []string | (optional)
@@ -17963,22 +17082,10 @@ func main() {
descriptionNre := []string{"Inner_example"} // []string | (optional)
descriptionRe := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
name := []string{"Inner_example"} // []string | (optional)
nameIc := []string{"Inner_example"} // []string | (optional)
@@ -18033,13 +17140,14 @@ func main() {
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
virtualIp := []string{"Inner_example"} // []string | Virtual IP Address (address or ID) (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimInterfaceRedundancyGroupsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Protocol(protocol).ProtocolIc(protocolIc).ProtocolIe(protocolIe).ProtocolIew(protocolIew).ProtocolIre(protocolIre).ProtocolIsw(protocolIsw).ProtocolN(protocolN).ProtocolNic(protocolNic).ProtocolNie(protocolNie).ProtocolNiew(protocolNiew).ProtocolNire(protocolNire).ProtocolNisw(protocolNisw).ProtocolNre(protocolNre).ProtocolRe(protocolRe).ProtocolGroupId(protocolGroupId).ProtocolGroupIdIc(protocolGroupIdIc).ProtocolGroupIdIe(protocolGroupIdIe).ProtocolGroupIdIew(protocolGroupIdIew).ProtocolGroupIdIre(protocolGroupIdIre).ProtocolGroupIdIsw(protocolGroupIdIsw).ProtocolGroupIdN(protocolGroupIdN).ProtocolGroupIdNic(protocolGroupIdNic).ProtocolGroupIdNie(protocolGroupIdNie).ProtocolGroupIdNiew(protocolGroupIdNiew).ProtocolGroupIdNire(protocolGroupIdNire).ProtocolGroupIdNisw(protocolGroupIdNisw).ProtocolGroupIdNre(protocolGroupIdNre).ProtocolGroupIdRe(protocolGroupIdRe).Q(q).SecretsGroup(secretsGroup).SecretsGroupIsnull(secretsGroupIsnull).SecretsGroupN(secretsGroupN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).VirtualIp(virtualIp).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInterfaceRedundancyGroupsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Protocol(protocol).ProtocolIc(protocolIc).ProtocolIe(protocolIe).ProtocolIew(protocolIew).ProtocolIre(protocolIre).ProtocolIsw(protocolIsw).ProtocolN(protocolN).ProtocolNic(protocolNic).ProtocolNie(protocolNie).ProtocolNiew(protocolNiew).ProtocolNire(protocolNire).ProtocolNisw(protocolNisw).ProtocolNre(protocolNre).ProtocolRe(protocolRe).ProtocolGroupId(protocolGroupId).ProtocolGroupIdIc(protocolGroupIdIc).ProtocolGroupIdIe(protocolGroupIdIe).ProtocolGroupIdIew(protocolGroupIdIew).ProtocolGroupIdIre(protocolGroupIdIre).ProtocolGroupIdIsw(protocolGroupIdIsw).ProtocolGroupIdN(protocolGroupIdN).ProtocolGroupIdNic(protocolGroupIdNic).ProtocolGroupIdNie(protocolGroupIdNie).ProtocolGroupIdNiew(protocolGroupIdNiew).ProtocolGroupIdNire(protocolGroupIdNire).ProtocolGroupIdNisw(protocolGroupIdNisw).ProtocolGroupIdNre(protocolGroupIdNre).ProtocolGroupIdRe(protocolGroupIdRe).Q(q).SecretsGroup(secretsGroup).SecretsGroupIsnull(secretsGroupIsnull).SecretsGroupN(secretsGroupN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).VirtualIp(virtualIp).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfaceRedundancyGroupsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -18062,7 +17170,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**description** | **[]string** | |
**descriptionIc** | **[]string** | |
**descriptionIe** | **[]string** | |
@@ -18078,22 +17186,10 @@ Name | Type | Description | Notes
**descriptionNre** | **[]string** | |
**descriptionRe** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**limit** | **int32** | Number of results to return per page. |
**name** | **[]string** | |
**nameIc** | **[]string** | |
@@ -18148,9 +17244,10 @@ Name | Type | Description | Notes
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**virtualIp** | **[]string** | Virtual IP Address (address or ID) |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -18246,7 +17343,7 @@ Name | Type | Description | Notes
## DcimInterfaceRedundancyGroupsNotesList
-> PaginatedNoteList DcimInterfaceRedundancyGroupsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList DcimInterfaceRedundancyGroupsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -18270,10 +17367,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimInterfaceRedundancyGroupsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInterfaceRedundancyGroupsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfaceRedundancyGroupsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -18303,6 +17401,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -18398,7 +17497,7 @@ Name | Type | Description | Notes
## DcimInterfaceRedundancyGroupsRetrieve
-> InterfaceRedundancyGroup DcimInterfaceRedundancyGroupsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> InterfaceRedundancyGroup DcimInterfaceRedundancyGroupsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -18420,10 +17519,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this interface redundancy group.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimInterfaceRedundancyGroupsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInterfaceRedundancyGroupsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfaceRedundancyGroupsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -18451,6 +17551,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -18886,7 +17987,7 @@ Name | Type | Description | Notes
## DcimInterfaceTemplatesList
-> PaginatedInterfaceTemplateList DcimInterfaceTemplatesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceType(hasDeviceType).HasModuleType(hasModuleType).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).MgmtOnly(mgmtOnly).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).Execute()
+> PaginatedInterfaceTemplateList DcimInterfaceTemplatesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceType(hasDeviceType).HasModuleType(hasModuleType).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).MgmtOnly(mgmtOnly).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -18907,7 +18008,7 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
description := []string{"Inner_example"} // []string | Description (optional)
descriptionIc := []string{"Inner_example"} // []string | Description (optional)
descriptionIe := []string{"Inner_example"} // []string | Description (optional)
@@ -18926,24 +18027,12 @@ func main() {
deviceTypeIsnull := true // bool | Device type (model or ID) is null (optional)
deviceTypeN := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
hasDeviceType := true // bool | Has device type (optional)
hasModuleType := true // bool | Has module type (optional)
id := []string{"Inner_example"} // []string | ID (optional)
- idIc := []string{"Inner_example"} // []string | ID contains (optional)
- idIe := []string{"Inner_example"} // []string | ID (optional)
- idIew := []string{"Inner_example"} // []string | ID ends with (optional)
- idIre := []string{"Inner_example"} // []string | ID matches regex (optional)
- idIsw := []string{"Inner_example"} // []string | ID starts with (optional)
idN := []string{"Inner_example"} // []string | Exclude ID (optional)
- idNic := []string{"Inner_example"} // []string | Exclude ID contains (optional)
- idNie := []string{"Inner_example"} // []string | Exclude ID (optional)
- idNiew := []string{"Inner_example"} // []string | Exclude ID ends with (optional)
- idNire := []string{"Inner_example"} // []string | Exclude ID matches regex (optional)
- idNisw := []string{"Inner_example"} // []string | Exclude ID starts with (optional)
- idNre := []string{"Inner_example"} // []string | Exclude ID matches regex (optional)
- idRe := []string{"Inner_example"} // []string | ID matches regex (optional)
label := []string{"Inner_example"} // []string | Label (optional)
labelIc := []string{"Inner_example"} // []string | Label (optional)
labelIe := []string{"Inner_example"} // []string | Label (optional)
@@ -18982,7 +18071,7 @@ func main() {
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
type_ := []string{"Inner_example"} // []string | (optional)
typeIc := []string{"Inner_example"} // []string | (optional)
typeIe := []string{"Inner_example"} // []string | (optional)
@@ -18998,10 +18087,11 @@ func main() {
typeNre := []string{"Inner_example"} // []string | (optional)
typeRe := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimInterfaceTemplatesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceType(hasDeviceType).HasModuleType(hasModuleType).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).MgmtOnly(mgmtOnly).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInterfaceTemplatesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceType(hasDeviceType).HasModuleType(hasModuleType).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).MgmtOnly(mgmtOnly).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfaceTemplatesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -19024,7 +18114,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**description** | **[]string** | Description |
**descriptionIc** | **[]string** | Description |
**descriptionIe** | **[]string** | Description |
@@ -19043,24 +18133,12 @@ Name | Type | Description | Notes
**deviceTypeIsnull** | **bool** | Device type (model or ID) is null |
**deviceTypeN** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**hasDeviceType** | **bool** | Has device type |
**hasModuleType** | **bool** | Has module type |
**id** | **[]string** | ID |
- **idIc** | **[]string** | ID contains |
- **idIe** | **[]string** | ID |
- **idIew** | **[]string** | ID ends with |
- **idIre** | **[]string** | ID matches regex |
- **idIsw** | **[]string** | ID starts with |
**idN** | **[]string** | Exclude ID |
- **idNic** | **[]string** | Exclude ID contains |
- **idNie** | **[]string** | Exclude ID |
- **idNiew** | **[]string** | Exclude ID ends with |
- **idNire** | **[]string** | Exclude ID matches regex |
- **idNisw** | **[]string** | Exclude ID starts with |
- **idNre** | **[]string** | Exclude ID matches regex |
- **idRe** | **[]string** | ID matches regex |
**label** | **[]string** | Label |
**labelIc** | **[]string** | Label |
**labelIe** | **[]string** | Label |
@@ -19099,7 +18177,7 @@ Name | Type | Description | Notes
**sort** | **string** | Which field to use when ordering the results. |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**type_** | **[]string** | |
**typeIc** | **[]string** | |
**typeIe** | **[]string** | |
@@ -19115,6 +18193,7 @@ Name | Type | Description | Notes
**typeNre** | **[]string** | |
**typeRe** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -19134,158 +18213,6 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimInterfaceTemplatesNotesCreate
-
-> Note DcimInterfaceTemplatesNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this interface template.
- noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimInterfaceTemplatesNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfaceTemplatesNotesCreate``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `DcimInterfaceTemplatesNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInterfaceTemplatesNotesCreate`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this interface template. |
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiDcimInterfaceTemplatesNotesCreateRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-
- **noteInputRequest** | [**NoteInputRequest**](NoteInputRequest.md) | |
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
-
-### Return type
-
-[**Note**](Note.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: application/json, text/csv
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## DcimInterfaceTemplatesNotesList
-
-> PaginatedNoteList DcimInterfaceTemplatesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this interface template.
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- limit := int32(56) // int32 | Number of results to return per page. (optional)
- offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimInterfaceTemplatesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfaceTemplatesNotesList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `DcimInterfaceTemplatesNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInterfaceTemplatesNotesList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this interface template. |
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiDcimInterfaceTemplatesNotesListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **limit** | **int32** | Number of results to return per page. |
- **offset** | **int32** | The initial index from which to return the results. |
- **depth** | **int32** | Serializer Depth | [default to 1]
-
-### Return type
-
-[**PaginatedNoteList**](PaginatedNoteList.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
## DcimInterfaceTemplatesPartialUpdate
> InterfaceTemplate DcimInterfaceTemplatesPartialUpdate(ctx, id).Format(format).PatchedWritableInterfaceTemplateRequest(patchedWritableInterfaceTemplateRequest).Execute()
@@ -19362,7 +18289,7 @@ Name | Type | Description | Notes
## DcimInterfaceTemplatesRetrieve
-> InterfaceTemplate DcimInterfaceTemplatesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> InterfaceTemplate DcimInterfaceTemplatesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -19384,10 +18311,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this interface template.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimInterfaceTemplatesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInterfaceTemplatesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfaceTemplatesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -19415,6 +18343,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -19508,9 +18437,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimInterfacesBulkDestroy
+## DcimInterfaceVdcAssignmentsBulkDestroy
-> DcimInterfacesBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+> DcimInterfaceVdcAssignmentsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
@@ -19534,9 +18463,9 @@ func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimInterfacesBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimInterfaceVdcAssignmentsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfacesBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfaceVdcAssignmentsBulkDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -19548,7 +18477,7 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimInterfacesBulkDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInterfaceVdcAssignmentsBulkDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -19574,9 +18503,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimInterfacesBulkPartialUpdate
+## DcimInterfaceVdcAssignmentsBulkPartialUpdate
-> []Interface DcimInterfacesBulkPartialUpdate(ctx).PatchedBulkWritableInterfaceRequest(patchedBulkWritableInterfaceRequest).Format(format).Execute()
+> []InterfaceVDCAssignment DcimInterfaceVdcAssignmentsBulkPartialUpdate(ctx).PatchedBulkWritableInterfaceVDCAssignmentRequest(patchedBulkWritableInterfaceVDCAssignmentRequest).Format(format).Execute()
@@ -19595,18 +18524,18 @@ import (
)
func main() {
- patchedBulkWritableInterfaceRequest := []openapiclient.PatchedBulkWritableInterfaceRequest{*openapiclient.NewPatchedBulkWritableInterfaceRequest("Id_example")} // []PatchedBulkWritableInterfaceRequest |
+ patchedBulkWritableInterfaceVDCAssignmentRequest := []openapiclient.PatchedBulkWritableInterfaceVDCAssignmentRequest{*openapiclient.NewPatchedBulkWritableInterfaceVDCAssignmentRequest("Id_example")} // []PatchedBulkWritableInterfaceVDCAssignmentRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimInterfacesBulkPartialUpdate(context.Background()).PatchedBulkWritableInterfaceRequest(patchedBulkWritableInterfaceRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInterfaceVdcAssignmentsBulkPartialUpdate(context.Background()).PatchedBulkWritableInterfaceVDCAssignmentRequest(patchedBulkWritableInterfaceVDCAssignmentRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfacesBulkPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfaceVdcAssignmentsBulkPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimInterfacesBulkPartialUpdate`: []Interface
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInterfacesBulkPartialUpdate`: %v\n", resp)
+ // response from `DcimInterfaceVdcAssignmentsBulkPartialUpdate`: []InterfaceVDCAssignment
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInterfaceVdcAssignmentsBulkPartialUpdate`: %v\n", resp)
}
```
@@ -19616,17 +18545,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimInterfacesBulkPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInterfaceVdcAssignmentsBulkPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **patchedBulkWritableInterfaceRequest** | [**[]PatchedBulkWritableInterfaceRequest**](PatchedBulkWritableInterfaceRequest.md) | |
+ **patchedBulkWritableInterfaceVDCAssignmentRequest** | [**[]PatchedBulkWritableInterfaceVDCAssignmentRequest**](PatchedBulkWritableInterfaceVDCAssignmentRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]Interface**](Interface.md)
+[**[]InterfaceVDCAssignment**](InterfaceVDCAssignment.md)
### Authorization
@@ -19642,9 +18571,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimInterfacesBulkUpdate
+## DcimInterfaceVdcAssignmentsBulkUpdate
-> []Interface DcimInterfacesBulkUpdate(ctx).BulkWritableInterfaceRequest(bulkWritableInterfaceRequest).Format(format).Execute()
+> []InterfaceVDCAssignment DcimInterfaceVdcAssignmentsBulkUpdate(ctx).BulkWritableInterfaceVDCAssignmentRequest(bulkWritableInterfaceVDCAssignmentRequest).Format(format).Execute()
@@ -19663,18 +18592,18 @@ import (
)
func main() {
- bulkWritableInterfaceRequest := []openapiclient.BulkWritableInterfaceRequest{*openapiclient.NewBulkWritableInterfaceRequest("Id_example", openapiclient.InterfaceTypeChoices("virtual"), "Name_example", *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritableInterfaceRequest |
+ bulkWritableInterfaceVDCAssignmentRequest := []openapiclient.BulkWritableInterfaceVDCAssignmentRequest{*openapiclient.NewBulkWritableInterfaceVDCAssignmentRequest("Id_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritableInterfaceVDCAssignmentRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimInterfacesBulkUpdate(context.Background()).BulkWritableInterfaceRequest(bulkWritableInterfaceRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInterfaceVdcAssignmentsBulkUpdate(context.Background()).BulkWritableInterfaceVDCAssignmentRequest(bulkWritableInterfaceVDCAssignmentRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfacesBulkUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfaceVdcAssignmentsBulkUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimInterfacesBulkUpdate`: []Interface
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInterfacesBulkUpdate`: %v\n", resp)
+ // response from `DcimInterfaceVdcAssignmentsBulkUpdate`: []InterfaceVDCAssignment
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInterfaceVdcAssignmentsBulkUpdate`: %v\n", resp)
}
```
@@ -19684,17 +18613,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimInterfacesBulkUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInterfaceVdcAssignmentsBulkUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **bulkWritableInterfaceRequest** | [**[]BulkWritableInterfaceRequest**](BulkWritableInterfaceRequest.md) | |
+ **bulkWritableInterfaceVDCAssignmentRequest** | [**[]BulkWritableInterfaceVDCAssignmentRequest**](BulkWritableInterfaceVDCAssignmentRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]Interface**](Interface.md)
+[**[]InterfaceVDCAssignment**](InterfaceVDCAssignment.md)
### Authorization
@@ -19710,9 +18639,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimInterfacesCreate
+## DcimInterfaceVdcAssignmentsCreate
-> Interface DcimInterfacesCreate(ctx).WritableInterfaceRequest(writableInterfaceRequest).Format(format).Execute()
+> InterfaceVDCAssignment DcimInterfaceVdcAssignmentsCreate(ctx).InterfaceVDCAssignmentRequest(interfaceVDCAssignmentRequest).Format(format).Execute()
@@ -19731,18 +18660,18 @@ import (
)
func main() {
- writableInterfaceRequest := *openapiclient.NewWritableInterfaceRequest("Name_example", openapiclient.InterfaceTypeChoices("virtual"), *openapiclient.NewBulkWritableCableRequestStatus()) // WritableInterfaceRequest |
+ interfaceVDCAssignmentRequest := *openapiclient.NewInterfaceVDCAssignmentRequest(*openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // InterfaceVDCAssignmentRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimInterfacesCreate(context.Background()).WritableInterfaceRequest(writableInterfaceRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInterfaceVdcAssignmentsCreate(context.Background()).InterfaceVDCAssignmentRequest(interfaceVDCAssignmentRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfacesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfaceVdcAssignmentsCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimInterfacesCreate`: Interface
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInterfacesCreate`: %v\n", resp)
+ // response from `DcimInterfaceVdcAssignmentsCreate`: InterfaceVDCAssignment
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInterfaceVdcAssignmentsCreate`: %v\n", resp)
}
```
@@ -19752,17 +18681,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimInterfacesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInterfaceVdcAssignmentsCreateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **writableInterfaceRequest** | [**WritableInterfaceRequest**](WritableInterfaceRequest.md) | |
+ **interfaceVDCAssignmentRequest** | [**InterfaceVDCAssignmentRequest**](InterfaceVDCAssignmentRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**Interface**](Interface.md)
+[**InterfaceVDCAssignment**](InterfaceVDCAssignment.md)
### Authorization
@@ -19778,9 +18707,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimInterfacesDestroy
+## DcimInterfaceVdcAssignmentsDestroy
-> DcimInterfacesDestroy(ctx, id).Format(format).Execute()
+> DcimInterfaceVdcAssignmentsDestroy(ctx, id).Format(format).Execute()
@@ -19799,14 +18728,14 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this interface.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this interface vdc assignment.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimInterfacesDestroy(context.Background(), id).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimInterfaceVdcAssignmentsDestroy(context.Background(), id).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfacesDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfaceVdcAssignmentsDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -19818,11 +18747,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this interface. |
+**id** | **string** | A UUID string identifying this interface vdc assignment. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimInterfacesDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInterfaceVdcAssignmentsDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -19848,9 +18777,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimInterfacesList
+## DcimInterfaceVdcAssignmentsList
-> PaginatedInterfaceList DcimInterfacesList(ctx).Bridge(bridge).BridgeIsnull(bridgeIsnull).BridgeN(bridgeN).BridgedInterfaces(bridgedInterfaces).BridgedInterfacesIsnull(bridgedInterfacesIsnull).BridgedInterfacesN(bridgedInterfacesN).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).ChildInterfaces(childInterfaces).ChildInterfacesIsnull(childInterfacesIsnull).ChildInterfacesN(childInterfacesN).Connected(connected).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DeviceId(deviceId).DeviceWithCommonVc(deviceWithCommonVc).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Enabled(enabled).Format(format).HasBridgedInterfaces(hasBridgedInterfaces).HasCable(hasCable).HasChildInterfaces(hasChildInterfaces).HasMemberInterfaces(hasMemberInterfaces).HasTaggedVlans(hasTaggedVlans).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).InterfaceRedundancyGroups(interfaceRedundancyGroups).InterfaceRedundancyGroupsIsnull(interfaceRedundancyGroupsIsnull).InterfaceRedundancyGroupsN(interfaceRedundancyGroupsN).Kind(kind).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Lag(lag).LagIsnull(lagIsnull).LagN(lagN).Limit(limit).Location(location).LocationN(locationN).MacAddress(macAddress).MacAddressIc(macAddressIc).MacAddressIe(macAddressIe).MacAddressIew(macAddressIew).MacAddressIre(macAddressIre).MacAddressIsw(macAddressIsw).MacAddressN(macAddressN).MacAddressNic(macAddressNic).MacAddressNie(macAddressNie).MacAddressNiew(macAddressNiew).MacAddressNire(macAddressNire).MacAddressNisw(macAddressNisw).MacAddressNre(macAddressNre).MacAddressRe(macAddressRe).MemberInterfaces(memberInterfaces).MemberInterfacesIsnull(memberInterfacesIsnull).MemberInterfacesN(memberInterfacesN).MgmtOnly(mgmtOnly).Mode(mode).ModeIc(modeIc).ModeIe(modeIe).ModeIew(modeIew).ModeIre(modeIre).ModeIsw(modeIsw).ModeN(modeN).ModeNic(modeNic).ModeNie(modeNie).ModeNiew(modeNiew).ModeNire(modeNire).ModeNisw(modeNisw).ModeNre(modeNre).ModeRe(modeRe).Module(module).ModuleIsnull(moduleIsnull).ModuleN(moduleN).Mtu(mtu).MtuGt(mtuGt).MtuGte(mtuGte).MtuIsnull(mtuIsnull).MtuLt(mtuLt).MtuLte(mtuLte).MtuN(mtuN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).ParentInterface(parentInterface).ParentInterfaceIsnull(parentInterfaceIsnull).ParentInterfaceN(parentInterfaceN).Q(q).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Sort(sort).Status(status).StatusN(statusN).TaggedVlans(taggedVlans).TaggedVlansN(taggedVlansN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).UntaggedVlan(untaggedVlan).UntaggedVlanIsnull(untaggedVlanIsnull).UntaggedVlanN(untaggedVlanN).Vlan(vlan).VlanId(vlanId).Depth(depth).Execute()
+> PaginatedInterfaceVDCAssignmentList DcimInterfaceVdcAssignmentsList(ctx).Created(created).Device(device).DeviceIsnull(deviceIsnull).DeviceN(deviceN).Format(format).Id(id).IdN(idN).Interface_(interface_).InterfaceN(interfaceN).LastUpdated(lastUpdated).Limit(limit).Offset(offset).Q(q).Sort(sort).VirtualDeviceContext(virtualDeviceContext).VirtualDeviceContextN(virtualDeviceContextN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -19865,195 +18794,39 @@ import (
"context"
"fmt"
"os"
+ "time"
openapiclient "github.com/nautobot/go-nautobot/v2"
)
func main() {
- bridge := []string{"Inner_example"} // []string | (optional)
- bridgeIsnull := true // bool | Bridge interface (name or ID) is null (optional)
- bridgeN := []string{"Inner_example"} // []string | (optional)
- bridgedInterfaces := []string{"Inner_example"} // []string | (optional)
- bridgedInterfacesIsnull := true // bool | Bridged interfaces (name or ID) is null (optional)
- bridgedInterfacesN := []string{"Inner_example"} // []string | (optional)
- cable := []string{"Inner_example"} // []string | Cable (optional)
- cableIsnull := true // bool | (optional)
- cableN := []string{"Inner_example"} // []string | Cable (optional)
- childInterfaces := []string{"Inner_example"} // []string | (optional)
- childInterfacesIsnull := true // bool | Child interfaces (name or ID) is null (optional)
- childInterfacesN := []string{"Inner_example"} // []string | (optional)
- connected := true // bool | Connected status (bool) (optional)
- contacts := []string{"Inner_example"} // []string | (optional)
- contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
- description := []string{"Inner_example"} // []string | (optional)
- descriptionIc := []string{"Inner_example"} // []string | (optional)
- descriptionIe := []string{"Inner_example"} // []string | (optional)
- descriptionIew := []string{"Inner_example"} // []string | (optional)
- descriptionIre := []string{"Inner_example"} // []string | (optional)
- descriptionIsw := []string{"Inner_example"} // []string | (optional)
- descriptionN := []string{"Inner_example"} // []string | (optional)
- descriptionNic := []string{"Inner_example"} // []string | (optional)
- descriptionNie := []string{"Inner_example"} // []string | (optional)
- descriptionNiew := []string{"Inner_example"} // []string | (optional)
- descriptionNire := []string{"Inner_example"} // []string | (optional)
- descriptionNisw := []string{"Inner_example"} // []string | (optional)
- descriptionNre := []string{"Inner_example"} // []string | (optional)
- descriptionRe := []string{"Inner_example"} // []string | (optional)
+ created := []time.Time{time.Now()} // []time.Time | (optional)
device := []string{"Inner_example"} // []string | (optional)
- deviceId := []string{"Inner_example"} // []string | Device (ID) (deprecated, use \"device\" filter instead) (optional)
- deviceWithCommonVc := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Virtual Chassis member Device (ID) (optional)
- dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
- enabled := true // bool | (optional)
+ deviceIsnull := true // bool | Device (name or ID) is null (optional)
+ deviceN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- hasBridgedInterfaces := true // bool | Has bridged interfaces (optional)
- hasCable := true // bool | Has cable (optional)
- hasChildInterfaces := true // bool | Has child interfaces (optional)
- hasMemberInterfaces := true // bool | Has member interfaces (optional)
- hasTaggedVlans := true // bool | Has tagged VLANs (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
- interfaceRedundancyGroups := []string{"Inner_example"} // []string | (optional)
- interfaceRedundancyGroupsIsnull := true // bool | (optional)
- interfaceRedundancyGroupsN := []string{"Inner_example"} // []string | (optional)
- kind := "kind_example" // string | Kind of interface (optional)
- label := []string{"Inner_example"} // []string | (optional)
- labelIc := []string{"Inner_example"} // []string | (optional)
- labelIe := []string{"Inner_example"} // []string | (optional)
- labelIew := []string{"Inner_example"} // []string | (optional)
- labelIre := []string{"Inner_example"} // []string | (optional)
- labelIsw := []string{"Inner_example"} // []string | (optional)
- labelN := []string{"Inner_example"} // []string | (optional)
- labelNic := []string{"Inner_example"} // []string | (optional)
- labelNie := []string{"Inner_example"} // []string | (optional)
- labelNiew := []string{"Inner_example"} // []string | (optional)
- labelNire := []string{"Inner_example"} // []string | (optional)
- labelNisw := []string{"Inner_example"} // []string | (optional)
- labelNre := []string{"Inner_example"} // []string | (optional)
- labelRe := []string{"Inner_example"} // []string | (optional)
- lag := []string{"Inner_example"} // []string | (optional)
- lagIsnull := true // bool | LAG interface (name or ID) is null (optional)
- lagN := []string{"Inner_example"} // []string | (optional)
+ interface_ := []string{"Inner_example"} // []string | (optional)
+ interfaceN := []string{"Inner_example"} // []string | (optional)
+ lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
- location := []string{"Inner_example"} // []string | (optional)
- locationN := []string{"Inner_example"} // []string | (optional)
- macAddress := []string{"Inner_example"} // []string | (optional)
- macAddressIc := []string{"Inner_example"} // []string | (optional)
- macAddressIe := []string{"Inner_example"} // []string | (optional)
- macAddressIew := []string{"Inner_example"} // []string | (optional)
- macAddressIre := []string{"Inner_example"} // []string | (optional)
- macAddressIsw := []string{"Inner_example"} // []string | (optional)
- macAddressN := []string{"Inner_example"} // []string | (optional)
- macAddressNic := []string{"Inner_example"} // []string | (optional)
- macAddressNie := []string{"Inner_example"} // []string | (optional)
- macAddressNiew := []string{"Inner_example"} // []string | (optional)
- macAddressNire := []string{"Inner_example"} // []string | (optional)
- macAddressNisw := []string{"Inner_example"} // []string | (optional)
- macAddressNre := []string{"Inner_example"} // []string | (optional)
- macAddressRe := []string{"Inner_example"} // []string | (optional)
- memberInterfaces := []string{"Inner_example"} // []string | (optional)
- memberInterfacesIsnull := true // bool | Member interfaces (name or ID) is null (optional)
- memberInterfacesN := []string{"Inner_example"} // []string | (optional)
- mgmtOnly := true // bool | (optional)
- mode := []string{"Inner_example"} // []string | (optional)
- modeIc := []string{"Inner_example"} // []string | (optional)
- modeIe := []string{"Inner_example"} // []string | (optional)
- modeIew := []string{"Inner_example"} // []string | (optional)
- modeIre := []string{"Inner_example"} // []string | (optional)
- modeIsw := []string{"Inner_example"} // []string | (optional)
- modeN := []string{"Inner_example"} // []string | (optional)
- modeNic := []string{"Inner_example"} // []string | (optional)
- modeNie := []string{"Inner_example"} // []string | (optional)
- modeNiew := []string{"Inner_example"} // []string | (optional)
- modeNire := []string{"Inner_example"} // []string | (optional)
- modeNisw := []string{"Inner_example"} // []string | (optional)
- modeNre := []string{"Inner_example"} // []string | (optional)
- modeRe := []string{"Inner_example"} // []string | (optional)
- module := []string{"Inner_example"} // []string | (optional)
- moduleIsnull := true // bool | Module (model or ID) is null (optional)
- moduleN := []string{"Inner_example"} // []string | (optional)
- mtu := []int32{int32(123)} // []int32 | (optional)
- mtuGt := []int32{int32(123)} // []int32 | (optional)
- mtuGte := []int32{int32(123)} // []int32 | (optional)
- mtuIsnull := true // bool | (optional)
- mtuLt := []int32{int32(123)} // []int32 | (optional)
- mtuLte := []int32{int32(123)} // []int32 | (optional)
- mtuN := []int32{int32(123)} // []int32 | (optional)
- name := []string{"Inner_example"} // []string | (optional)
- nameIc := []string{"Inner_example"} // []string | (optional)
- nameIe := []string{"Inner_example"} // []string | (optional)
- nameIew := []string{"Inner_example"} // []string | (optional)
- nameIre := []string{"Inner_example"} // []string | (optional)
- nameIsw := []string{"Inner_example"} // []string | (optional)
- nameN := []string{"Inner_example"} // []string | (optional)
- nameNic := []string{"Inner_example"} // []string | (optional)
- nameNie := []string{"Inner_example"} // []string | (optional)
- nameNiew := []string{"Inner_example"} // []string | (optional)
- nameNire := []string{"Inner_example"} // []string | (optional)
- nameNisw := []string{"Inner_example"} // []string | (optional)
- nameNre := []string{"Inner_example"} // []string | (optional)
- nameRe := []string{"Inner_example"} // []string | (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- parentInterface := []string{"Inner_example"} // []string | (optional)
- parentInterfaceIsnull := true // bool | Parent interface (name or ID) is null (optional)
- parentInterfaceN := []string{"Inner_example"} // []string | (optional)
q := "q_example" // string | Search (optional)
- role := []string{"Inner_example"} // []string | (optional)
- roleIsnull := true // bool | Role (name or ID) is null (optional)
- roleN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Role (name or ID) (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
- status := []string{"Inner_example"} // []string | (optional)
- statusN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Status (name or ID) (optional)
- taggedVlans := []string{"Inner_example"} // []string | (optional)
- taggedVlansN := []string{"Inner_example"} // []string | (optional)
- tags := []string{"Inner_example"} // []string | (optional)
- tagsIsnull := true // bool | (optional)
- tagsN := []string{"Inner_example"} // []string | (optional)
- teams := []string{"Inner_example"} // []string | (optional)
- teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
- type_ := []string{"Inner_example"} // []string | (optional)
- typeIc := []string{"Inner_example"} // []string | (optional)
- typeIe := []string{"Inner_example"} // []string | (optional)
- typeIew := []string{"Inner_example"} // []string | (optional)
- typeIre := []string{"Inner_example"} // []string | (optional)
- typeIsw := []string{"Inner_example"} // []string | (optional)
- typeN := []string{"Inner_example"} // []string | (optional)
- typeNic := []string{"Inner_example"} // []string | (optional)
- typeNie := []string{"Inner_example"} // []string | (optional)
- typeNiew := []string{"Inner_example"} // []string | (optional)
- typeNire := []string{"Inner_example"} // []string | (optional)
- typeNisw := []string{"Inner_example"} // []string | (optional)
- typeNre := []string{"Inner_example"} // []string | (optional)
- typeRe := []string{"Inner_example"} // []string | (optional)
- untaggedVlan := []string{"Inner_example"} // []string | (optional)
- untaggedVlanIsnull := true // bool | Untagged VLAN (VID or ID) is null (optional)
- untaggedVlanN := []string{"Inner_example"} // []string | (optional)
- vlan := float32(8.14) // float32 | Assigned VID (optional)
- vlanId := "vlanId_example" // string | Assigned VLAN (optional)
+ virtualDeviceContext := []string{"Inner_example"} // []string | (optional)
+ virtualDeviceContextN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimInterfacesList(context.Background()).Bridge(bridge).BridgeIsnull(bridgeIsnull).BridgeN(bridgeN).BridgedInterfaces(bridgedInterfaces).BridgedInterfacesIsnull(bridgedInterfacesIsnull).BridgedInterfacesN(bridgedInterfacesN).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).ChildInterfaces(childInterfaces).ChildInterfacesIsnull(childInterfacesIsnull).ChildInterfacesN(childInterfacesN).Connected(connected).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DeviceId(deviceId).DeviceWithCommonVc(deviceWithCommonVc).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Enabled(enabled).Format(format).HasBridgedInterfaces(hasBridgedInterfaces).HasCable(hasCable).HasChildInterfaces(hasChildInterfaces).HasMemberInterfaces(hasMemberInterfaces).HasTaggedVlans(hasTaggedVlans).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).InterfaceRedundancyGroups(interfaceRedundancyGroups).InterfaceRedundancyGroupsIsnull(interfaceRedundancyGroupsIsnull).InterfaceRedundancyGroupsN(interfaceRedundancyGroupsN).Kind(kind).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Lag(lag).LagIsnull(lagIsnull).LagN(lagN).Limit(limit).Location(location).LocationN(locationN).MacAddress(macAddress).MacAddressIc(macAddressIc).MacAddressIe(macAddressIe).MacAddressIew(macAddressIew).MacAddressIre(macAddressIre).MacAddressIsw(macAddressIsw).MacAddressN(macAddressN).MacAddressNic(macAddressNic).MacAddressNie(macAddressNie).MacAddressNiew(macAddressNiew).MacAddressNire(macAddressNire).MacAddressNisw(macAddressNisw).MacAddressNre(macAddressNre).MacAddressRe(macAddressRe).MemberInterfaces(memberInterfaces).MemberInterfacesIsnull(memberInterfacesIsnull).MemberInterfacesN(memberInterfacesN).MgmtOnly(mgmtOnly).Mode(mode).ModeIc(modeIc).ModeIe(modeIe).ModeIew(modeIew).ModeIre(modeIre).ModeIsw(modeIsw).ModeN(modeN).ModeNic(modeNic).ModeNie(modeNie).ModeNiew(modeNiew).ModeNire(modeNire).ModeNisw(modeNisw).ModeNre(modeNre).ModeRe(modeRe).Module(module).ModuleIsnull(moduleIsnull).ModuleN(moduleN).Mtu(mtu).MtuGt(mtuGt).MtuGte(mtuGte).MtuIsnull(mtuIsnull).MtuLt(mtuLt).MtuLte(mtuLte).MtuN(mtuN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).ParentInterface(parentInterface).ParentInterfaceIsnull(parentInterfaceIsnull).ParentInterfaceN(parentInterfaceN).Q(q).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Sort(sort).Status(status).StatusN(statusN).TaggedVlans(taggedVlans).TaggedVlansN(taggedVlansN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).UntaggedVlan(untaggedVlan).UntaggedVlanIsnull(untaggedVlanIsnull).UntaggedVlanN(untaggedVlanN).Vlan(vlan).VlanId(vlanId).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInterfaceVdcAssignmentsList(context.Background()).Created(created).Device(device).DeviceIsnull(deviceIsnull).DeviceN(deviceN).Format(format).Id(id).IdN(idN).Interface_(interface_).InterfaceN(interfaceN).LastUpdated(lastUpdated).Limit(limit).Offset(offset).Q(q).Sort(sort).VirtualDeviceContext(virtualDeviceContext).VirtualDeviceContextN(virtualDeviceContextN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfacesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfaceVdcAssignmentsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimInterfacesList`: PaginatedInterfaceList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInterfacesList`: %v\n", resp)
+ // response from `DcimInterfaceVdcAssignmentsList`: PaginatedInterfaceVDCAssignmentList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInterfaceVdcAssignmentsList`: %v\n", resp)
}
```
@@ -20063,190 +18836,33 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimInterfacesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInterfaceVdcAssignmentsListRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **bridge** | **[]string** | |
- **bridgeIsnull** | **bool** | Bridge interface (name or ID) is null |
- **bridgeN** | **[]string** | |
- **bridgedInterfaces** | **[]string** | |
- **bridgedInterfacesIsnull** | **bool** | Bridged interfaces (name or ID) is null |
- **bridgedInterfacesN** | **[]string** | |
- **cable** | **[]string** | Cable |
- **cableIsnull** | **bool** | |
- **cableN** | **[]string** | Cable |
- **childInterfaces** | **[]string** | |
- **childInterfacesIsnull** | **bool** | Child interfaces (name or ID) is null |
- **childInterfacesN** | **[]string** | |
- **connected** | **bool** | Connected status (bool) |
- **contacts** | **[]string** | |
- **contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
- **description** | **[]string** | |
- **descriptionIc** | **[]string** | |
- **descriptionIe** | **[]string** | |
- **descriptionIew** | **[]string** | |
- **descriptionIre** | **[]string** | |
- **descriptionIsw** | **[]string** | |
- **descriptionN** | **[]string** | |
- **descriptionNic** | **[]string** | |
- **descriptionNie** | **[]string** | |
- **descriptionNiew** | **[]string** | |
- **descriptionNire** | **[]string** | |
- **descriptionNisw** | **[]string** | |
- **descriptionNre** | **[]string** | |
- **descriptionRe** | **[]string** | |
+ **created** | [**[]time.Time**](time.Time.md) | |
**device** | **[]string** | |
- **deviceId** | **[]string** | Device (ID) (deprecated, use \"device\" filter instead) |
- **deviceWithCommonVc** | **string** | Virtual Chassis member Device (ID) |
- **dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
- **enabled** | **bool** | |
+ **deviceIsnull** | **bool** | Device (name or ID) is null |
+ **deviceN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **hasBridgedInterfaces** | **bool** | Has bridged interfaces |
- **hasCable** | **bool** | Has cable |
- **hasChildInterfaces** | **bool** | Has child interfaces |
- **hasMemberInterfaces** | **bool** | Has member interfaces |
- **hasTaggedVlans** | **bool** | Has tagged VLANs |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
- **interfaceRedundancyGroups** | **[]string** | |
- **interfaceRedundancyGroupsIsnull** | **bool** | |
- **interfaceRedundancyGroupsN** | **[]string** | |
- **kind** | **string** | Kind of interface |
- **label** | **[]string** | |
- **labelIc** | **[]string** | |
- **labelIe** | **[]string** | |
- **labelIew** | **[]string** | |
- **labelIre** | **[]string** | |
- **labelIsw** | **[]string** | |
- **labelN** | **[]string** | |
- **labelNic** | **[]string** | |
- **labelNie** | **[]string** | |
- **labelNiew** | **[]string** | |
- **labelNire** | **[]string** | |
- **labelNisw** | **[]string** | |
- **labelNre** | **[]string** | |
- **labelRe** | **[]string** | |
- **lag** | **[]string** | |
- **lagIsnull** | **bool** | LAG interface (name or ID) is null |
- **lagN** | **[]string** | |
+ **interface_** | **[]string** | |
+ **interfaceN** | **[]string** | |
+ **lastUpdated** | [**[]time.Time**](time.Time.md) | |
**limit** | **int32** | Number of results to return per page. |
- **location** | **[]string** | |
- **locationN** | **[]string** | |
- **macAddress** | **[]string** | |
- **macAddressIc** | **[]string** | |
- **macAddressIe** | **[]string** | |
- **macAddressIew** | **[]string** | |
- **macAddressIre** | **[]string** | |
- **macAddressIsw** | **[]string** | |
- **macAddressN** | **[]string** | |
- **macAddressNic** | **[]string** | |
- **macAddressNie** | **[]string** | |
- **macAddressNiew** | **[]string** | |
- **macAddressNire** | **[]string** | |
- **macAddressNisw** | **[]string** | |
- **macAddressNre** | **[]string** | |
- **macAddressRe** | **[]string** | |
- **memberInterfaces** | **[]string** | |
- **memberInterfacesIsnull** | **bool** | Member interfaces (name or ID) is null |
- **memberInterfacesN** | **[]string** | |
- **mgmtOnly** | **bool** | |
- **mode** | **[]string** | |
- **modeIc** | **[]string** | |
- **modeIe** | **[]string** | |
- **modeIew** | **[]string** | |
- **modeIre** | **[]string** | |
- **modeIsw** | **[]string** | |
- **modeN** | **[]string** | |
- **modeNic** | **[]string** | |
- **modeNie** | **[]string** | |
- **modeNiew** | **[]string** | |
- **modeNire** | **[]string** | |
- **modeNisw** | **[]string** | |
- **modeNre** | **[]string** | |
- **modeRe** | **[]string** | |
- **module** | **[]string** | |
- **moduleIsnull** | **bool** | Module (model or ID) is null |
- **moduleN** | **[]string** | |
- **mtu** | **[]int32** | |
- **mtuGt** | **[]int32** | |
- **mtuGte** | **[]int32** | |
- **mtuIsnull** | **bool** | |
- **mtuLt** | **[]int32** | |
- **mtuLte** | **[]int32** | |
- **mtuN** | **[]int32** | |
- **name** | **[]string** | |
- **nameIc** | **[]string** | |
- **nameIe** | **[]string** | |
- **nameIew** | **[]string** | |
- **nameIre** | **[]string** | |
- **nameIsw** | **[]string** | |
- **nameN** | **[]string** | |
- **nameNic** | **[]string** | |
- **nameNie** | **[]string** | |
- **nameNiew** | **[]string** | |
- **nameNire** | **[]string** | |
- **nameNisw** | **[]string** | |
- **nameNre** | **[]string** | |
- **nameRe** | **[]string** | |
**offset** | **int32** | The initial index from which to return the results. |
- **parentInterface** | **[]string** | |
- **parentInterfaceIsnull** | **bool** | Parent interface (name or ID) is null |
- **parentInterfaceN** | **[]string** | |
**q** | **string** | Search |
- **role** | **[]string** | |
- **roleIsnull** | **bool** | Role (name or ID) is null |
- **roleN** | **string** | Exclude Role (name or ID) |
**sort** | **string** | Which field to use when ordering the results. |
- **status** | **[]string** | |
- **statusN** | **string** | Exclude Status (name or ID) |
- **taggedVlans** | **[]string** | |
- **taggedVlansN** | **[]string** | |
- **tags** | **[]string** | |
- **tagsIsnull** | **bool** | |
- **tagsN** | **[]string** | |
- **teams** | **[]string** | |
- **teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
- **type_** | **[]string** | |
- **typeIc** | **[]string** | |
- **typeIe** | **[]string** | |
- **typeIew** | **[]string** | |
- **typeIre** | **[]string** | |
- **typeIsw** | **[]string** | |
- **typeN** | **[]string** | |
- **typeNic** | **[]string** | |
- **typeNie** | **[]string** | |
- **typeNiew** | **[]string** | |
- **typeNire** | **[]string** | |
- **typeNisw** | **[]string** | |
- **typeNre** | **[]string** | |
- **typeRe** | **[]string** | |
- **untaggedVlan** | **[]string** | |
- **untaggedVlanIsnull** | **bool** | Untagged VLAN (VID or ID) is null |
- **untaggedVlanN** | **[]string** | |
- **vlan** | **float32** | Assigned VID |
- **vlanId** | **string** | Assigned VLAN |
+ **virtualDeviceContext** | **[]string** | |
+ **virtualDeviceContextN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PaginatedInterfaceList**](PaginatedInterfaceList.md)
+[**PaginatedInterfaceVDCAssignmentList**](PaginatedInterfaceVDCAssignmentList.md)
### Authorization
@@ -20262,9 +18878,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimInterfacesNotesCreate
+## DcimInterfaceVdcAssignmentsPartialUpdate
-> Note DcimInterfacesNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+> InterfaceVDCAssignment DcimInterfaceVdcAssignmentsPartialUpdate(ctx, id).Format(format).PatchedInterfaceVDCAssignmentRequest(patchedInterfaceVDCAssignmentRequest).Execute()
@@ -20283,19 +18899,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this interface.
- noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this interface vdc assignment.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ patchedInterfaceVDCAssignmentRequest := *openapiclient.NewPatchedInterfaceVDCAssignmentRequest() // PatchedInterfaceVDCAssignmentRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimInterfacesNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInterfaceVdcAssignmentsPartialUpdate(context.Background(), id).Format(format).PatchedInterfaceVDCAssignmentRequest(patchedInterfaceVDCAssignmentRequest).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfacesNotesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfaceVdcAssignmentsPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimInterfacesNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInterfacesNotesCreate`: %v\n", resp)
+ // response from `DcimInterfaceVdcAssignmentsPartialUpdate`: InterfaceVDCAssignment
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInterfaceVdcAssignmentsPartialUpdate`: %v\n", resp)
}
```
@@ -20305,22 +18921,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this interface. |
+**id** | **string** | A UUID string identifying this interface vdc assignment. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimInterfacesNotesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInterfaceVdcAssignmentsPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **noteInputRequest** | [**NoteInputRequest**](NoteInputRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **patchedInterfaceVDCAssignmentRequest** | [**PatchedInterfaceVDCAssignmentRequest**](PatchedInterfaceVDCAssignmentRequest.md) | |
### Return type
-[**Note**](Note.md)
+[**InterfaceVDCAssignment**](InterfaceVDCAssignment.md)
### Authorization
@@ -20336,9 +18952,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimInterfacesNotesList
+## DcimInterfaceVdcAssignmentsRetrieve
-> PaginatedNoteList DcimInterfacesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> InterfaceVDCAssignment DcimInterfaceVdcAssignmentsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -20357,21 +18973,20 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this interface.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this interface vdc assignment.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- limit := int32(56) // int32 | Number of results to return per page. (optional)
- offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimInterfacesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInterfaceVdcAssignmentsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfacesNotesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfaceVdcAssignmentsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimInterfacesNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInterfacesNotesList`: %v\n", resp)
+ // response from `DcimInterfaceVdcAssignmentsRetrieve`: InterfaceVDCAssignment
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInterfaceVdcAssignmentsRetrieve`: %v\n", resp)
}
```
@@ -20381,24 +18996,23 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this interface. |
+**id** | **string** | A UUID string identifying this interface vdc assignment. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimInterfacesNotesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInterfaceVdcAssignmentsRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **limit** | **int32** | Number of results to return per page. |
- **offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PaginatedNoteList**](PaginatedNoteList.md)
+[**InterfaceVDCAssignment**](InterfaceVDCAssignment.md)
### Authorization
@@ -20414,9 +19028,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimInterfacesPartialUpdate
+## DcimInterfaceVdcAssignmentsUpdate
-> Interface DcimInterfacesPartialUpdate(ctx, id).Format(format).PatchedWritableInterfaceRequest(patchedWritableInterfaceRequest).Execute()
+> InterfaceVDCAssignment DcimInterfaceVdcAssignmentsUpdate(ctx, id).InterfaceVDCAssignmentRequest(interfaceVDCAssignmentRequest).Format(format).Execute()
@@ -20435,19 +19049,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this interface.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this interface vdc assignment.
+ interfaceVDCAssignmentRequest := *openapiclient.NewInterfaceVDCAssignmentRequest(*openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // InterfaceVDCAssignmentRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- patchedWritableInterfaceRequest := *openapiclient.NewPatchedWritableInterfaceRequest() // PatchedWritableInterfaceRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimInterfacesPartialUpdate(context.Background(), id).Format(format).PatchedWritableInterfaceRequest(patchedWritableInterfaceRequest).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInterfaceVdcAssignmentsUpdate(context.Background(), id).InterfaceVDCAssignmentRequest(interfaceVDCAssignmentRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfacesPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfaceVdcAssignmentsUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimInterfacesPartialUpdate`: Interface
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInterfacesPartialUpdate`: %v\n", resp)
+ // response from `DcimInterfaceVdcAssignmentsUpdate`: InterfaceVDCAssignment
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInterfaceVdcAssignmentsUpdate`: %v\n", resp)
}
```
@@ -20457,22 +19071,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this interface. |
+**id** | **string** | A UUID string identifying this interface vdc assignment. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimInterfacesPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInterfaceVdcAssignmentsUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
+ **interfaceVDCAssignmentRequest** | [**InterfaceVDCAssignmentRequest**](InterfaceVDCAssignmentRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **patchedWritableInterfaceRequest** | [**PatchedWritableInterfaceRequest**](PatchedWritableInterfaceRequest.md) | |
### Return type
-[**Interface**](Interface.md)
+[**InterfaceVDCAssignment**](InterfaceVDCAssignment.md)
### Authorization
@@ -20488,9 +19102,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimInterfacesRetrieve
+## DcimInterfacesBulkDestroy
-> Interface DcimInterfacesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> DcimInterfacesBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
@@ -20509,44 +19123,36 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this interface.
+ bulkOperationRequest := []openapiclient.BulkOperationRequest{*openapiclient.NewBulkOperationRequest("Id_example")} // []BulkOperationRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimInterfacesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ r, err := apiClient.DcimAPI.DcimInterfacesBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfacesRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfacesBulkDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimInterfacesRetrieve`: Interface
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInterfacesRetrieve`: %v\n", resp)
}
```
### Path Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this interface. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimInterfacesRetrieveRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInterfacesBulkDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-
+ **bulkOperationRequest** | [**[]BulkOperationRequest**](BulkOperationRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **depth** | **int32** | Serializer Depth | [default to 1]
### Return type
-[**Interface**](Interface.md)
+ (empty response body)
### Authorization
@@ -20554,17 +19160,17 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: Not defined
-- **Accept**: application/json, text/csv
+- **Content-Type**: application/json, text/csv
+- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
-## DcimInterfacesTraceRetrieve
+## DcimInterfacesBulkPartialUpdate
-> Interface DcimInterfacesTraceRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> []Interface DcimInterfacesBulkPartialUpdate(ctx).PatchedBulkWritableInterfaceRequest(patchedBulkWritableInterfaceRequest).Format(format).Execute()
@@ -20583,44 +19189,38 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this interface.
+ patchedBulkWritableInterfaceRequest := []openapiclient.PatchedBulkWritableInterfaceRequest{*openapiclient.NewPatchedBulkWritableInterfaceRequest("Id_example")} // []PatchedBulkWritableInterfaceRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimInterfacesTraceRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInterfacesBulkPartialUpdate(context.Background()).PatchedBulkWritableInterfaceRequest(patchedBulkWritableInterfaceRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfacesTraceRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfacesBulkPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimInterfacesTraceRetrieve`: Interface
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInterfacesTraceRetrieve`: %v\n", resp)
+ // response from `DcimInterfacesBulkPartialUpdate`: []Interface
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInterfacesBulkPartialUpdate`: %v\n", resp)
}
```
### Path Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this interface. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimInterfacesTraceRetrieveRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInterfacesBulkPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-
+ **patchedBulkWritableInterfaceRequest** | [**[]PatchedBulkWritableInterfaceRequest**](PatchedBulkWritableInterfaceRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **depth** | **int32** | Serializer Depth | [default to 1]
### Return type
-[**Interface**](Interface.md)
+[**[]Interface**](Interface.md)
### Authorization
@@ -20628,7 +19228,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: Not defined
+- **Content-Type**: application/json, text/csv
- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -20636,9 +19236,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimInterfacesUpdate
+## DcimInterfacesBulkUpdate
-> Interface DcimInterfacesUpdate(ctx, id).WritableInterfaceRequest(writableInterfaceRequest).Format(format).Execute()
+> []Interface DcimInterfacesBulkUpdate(ctx).BulkWritableInterfaceRequest(bulkWritableInterfaceRequest).Format(format).Execute()
@@ -20657,44 +19257,38 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this interface.
- writableInterfaceRequest := *openapiclient.NewWritableInterfaceRequest("Name_example", openapiclient.InterfaceTypeChoices("virtual"), *openapiclient.NewBulkWritableCableRequestStatus()) // WritableInterfaceRequest |
+ bulkWritableInterfaceRequest := []openapiclient.BulkWritableInterfaceRequest{*openapiclient.NewBulkWritableInterfaceRequest("Id_example", openapiclient.InterfaceTypeChoices("virtual"), "Name_example", *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritableInterfaceRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimInterfacesUpdate(context.Background(), id).WritableInterfaceRequest(writableInterfaceRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInterfacesBulkUpdate(context.Background()).BulkWritableInterfaceRequest(bulkWritableInterfaceRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfacesUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfacesBulkUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimInterfacesUpdate`: Interface
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInterfacesUpdate`: %v\n", resp)
+ // response from `DcimInterfacesBulkUpdate`: []Interface
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInterfacesBulkUpdate`: %v\n", resp)
}
```
### Path Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this interface. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimInterfacesUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInterfacesBulkUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-
- **writableInterfaceRequest** | [**WritableInterfaceRequest**](WritableInterfaceRequest.md) | |
+ **bulkWritableInterfaceRequest** | [**[]BulkWritableInterfaceRequest**](BulkWritableInterfaceRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**Interface**](Interface.md)
+[**[]Interface**](Interface.md)
### Authorization
@@ -20710,9 +19304,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimInventoryItemsBulkDestroy
+## DcimInterfacesCreate
-> DcimInventoryItemsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+> Interface DcimInterfacesCreate(ctx).WritableInterfaceRequest(writableInterfaceRequest).Format(format).Execute()
@@ -20731,16 +19325,18 @@ import (
)
func main() {
- bulkOperationRequest := []openapiclient.BulkOperationRequest{*openapiclient.NewBulkOperationRequest("Id_example")} // []BulkOperationRequest |
+ writableInterfaceRequest := *openapiclient.NewWritableInterfaceRequest("Name_example", openapiclient.InterfaceTypeChoices("virtual"), *openapiclient.NewBulkWritableCableRequestStatus()) // WritableInterfaceRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimInventoryItemsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInterfacesCreate(context.Background()).WritableInterfaceRequest(writableInterfaceRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInventoryItemsBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfacesCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
+ // response from `DcimInterfacesCreate`: Interface
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInterfacesCreate`: %v\n", resp)
}
```
@@ -20750,17 +19346,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimInventoryItemsBulkDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInterfacesCreateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **bulkOperationRequest** | [**[]BulkOperationRequest**](BulkOperationRequest.md) | |
+ **writableInterfaceRequest** | [**WritableInterfaceRequest**](WritableInterfaceRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
- (empty response body)
+[**Interface**](Interface.md)
### Authorization
@@ -20769,16 +19365,16 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json, text/csv
-- **Accept**: Not defined
+- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
-## DcimInventoryItemsBulkPartialUpdate
+## DcimInterfacesDestroy
-> []InventoryItem DcimInventoryItemsBulkPartialUpdate(ctx).PatchedBulkWritableInventoryItemRequest(patchedBulkWritableInventoryItemRequest).Format(format).Execute()
+> DcimInterfacesDestroy(ctx, id).Format(format).Execute()
@@ -20797,38 +19393,40 @@ import (
)
func main() {
- patchedBulkWritableInventoryItemRequest := []openapiclient.PatchedBulkWritableInventoryItemRequest{*openapiclient.NewPatchedBulkWritableInventoryItemRequest("Id_example")} // []PatchedBulkWritableInventoryItemRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this interface.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimInventoryItemsBulkPartialUpdate(context.Background()).PatchedBulkWritableInventoryItemRequest(patchedBulkWritableInventoryItemRequest).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimInterfacesDestroy(context.Background(), id).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInventoryItemsBulkPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfacesDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimInventoryItemsBulkPartialUpdate`: []InventoryItem
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInventoryItemsBulkPartialUpdate`: %v\n", resp)
}
```
### Path Parameters
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this interface. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimInventoryItemsBulkPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInterfacesDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **patchedBulkWritableInventoryItemRequest** | [**[]PatchedBulkWritableInventoryItemRequest**](PatchedBulkWritableInventoryItemRequest.md) | |
+
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]InventoryItem**](InventoryItem.md)
+ (empty response body)
### Authorization
@@ -20836,17 +19434,17 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: application/json, text/csv
-- **Accept**: application/json, text/csv
+- **Content-Type**: Not defined
+- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
-## DcimInventoryItemsBulkUpdate
+## DcimInterfacesList
-> []InventoryItem DcimInventoryItemsBulkUpdate(ctx).BulkWritableInventoryItemRequest(bulkWritableInventoryItemRequest).Format(format).Execute()
+> PaginatedInterfaceList DcimInterfacesList(ctx).Bridge(bridge).BridgeIsnull(bridgeIsnull).BridgeN(bridgeN).BridgedInterfaces(bridgedInterfaces).BridgedInterfacesIsnull(bridgedInterfacesIsnull).BridgedInterfacesN(bridgedInterfacesN).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).ChildInterfaces(childInterfaces).ChildInterfacesIsnull(childInterfacesIsnull).ChildInterfacesN(childInterfacesN).Connected(connected).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DeviceId(deviceId).DeviceWithCommonVc(deviceWithCommonVc).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Enabled(enabled).Format(format).HasBridgedInterfaces(hasBridgedInterfaces).HasCable(hasCable).HasChildInterfaces(hasChildInterfaces).HasIpAddresses(hasIpAddresses).HasMemberInterfaces(hasMemberInterfaces).HasTaggedVlans(hasTaggedVlans).HasVirtualDeviceContexts(hasVirtualDeviceContexts).Id(id).IdN(idN).InterfaceRedundancyGroups(interfaceRedundancyGroups).InterfaceRedundancyGroupsIsnull(interfaceRedundancyGroupsIsnull).InterfaceRedundancyGroupsN(interfaceRedundancyGroupsN).IpAddresses(ipAddresses).Kind(kind).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Lag(lag).LagIsnull(lagIsnull).LagN(lagN).Limit(limit).Location(location).LocationN(locationN).MacAddress(macAddress).MacAddressIc(macAddressIc).MacAddressIe(macAddressIe).MacAddressIew(macAddressIew).MacAddressIre(macAddressIre).MacAddressIsw(macAddressIsw).MacAddressN(macAddressN).MacAddressNic(macAddressNic).MacAddressNie(macAddressNie).MacAddressNiew(macAddressNiew).MacAddressNire(macAddressNire).MacAddressNisw(macAddressNisw).MacAddressNre(macAddressNre).MacAddressRe(macAddressRe).MemberInterfaces(memberInterfaces).MemberInterfacesIsnull(memberInterfacesIsnull).MemberInterfacesN(memberInterfacesN).MgmtOnly(mgmtOnly).Mode(mode).ModeIc(modeIc).ModeIe(modeIe).ModeIew(modeIew).ModeIre(modeIre).ModeIsw(modeIsw).ModeN(modeN).ModeNic(modeNic).ModeNie(modeNie).ModeNiew(modeNiew).ModeNire(modeNire).ModeNisw(modeNisw).ModeNre(modeNre).ModeRe(modeRe).Module(module).ModuleIsnull(moduleIsnull).ModuleN(moduleN).Mtu(mtu).MtuGt(mtuGt).MtuGte(mtuGte).MtuIsnull(mtuIsnull).MtuLt(mtuLt).MtuLte(mtuLte).MtuN(mtuN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).ParentInterface(parentInterface).ParentInterfaceIsnull(parentInterfaceIsnull).ParentInterfaceN(parentInterfaceN).Q(q).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Sort(sort).Status(status).StatusN(statusN).TaggedVlans(taggedVlans).TaggedVlansN(taggedVlansN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).UntaggedVlan(untaggedVlan).UntaggedVlanIsnull(untaggedVlanIsnull).UntaggedVlanN(untaggedVlanN).VirtualDeviceContexts(virtualDeviceContexts).VirtualDeviceContextsIsnull(virtualDeviceContextsIsnull).VirtualDeviceContextsN(virtualDeviceContextsN).Vlan(vlan).VlanId(vlanId).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -20865,18 +19463,186 @@ import (
)
func main() {
- bulkWritableInventoryItemRequest := []openapiclient.BulkWritableInventoryItemRequest{*openapiclient.NewBulkWritableInventoryItemRequest("Id_example", "Name_example", *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritableInventoryItemRequest |
+ bridge := []string{"Inner_example"} // []string | (optional)
+ bridgeIsnull := true // bool | Bridge interface (name or ID) is null (optional)
+ bridgeN := []string{"Inner_example"} // []string | (optional)
+ bridgedInterfaces := []string{"Inner_example"} // []string | (optional)
+ bridgedInterfacesIsnull := true // bool | Bridged interfaces (name or ID) is null (optional)
+ bridgedInterfacesN := []string{"Inner_example"} // []string | (optional)
+ cable := []string{"Inner_example"} // []string | Cable (optional)
+ cableIsnull := true // bool | (optional)
+ cableN := []string{"Inner_example"} // []string | Cable (optional)
+ childInterfaces := []string{"Inner_example"} // []string | (optional)
+ childInterfacesIsnull := true // bool | Child interfaces (name or ID) is null (optional)
+ childInterfacesN := []string{"Inner_example"} // []string | (optional)
+ connected := true // bool | Connected status (bool) (optional)
+ contacts := []string{"Inner_example"} // []string | (optional)
+ contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
+ description := []string{"Inner_example"} // []string | (optional)
+ descriptionIc := []string{"Inner_example"} // []string | (optional)
+ descriptionIe := []string{"Inner_example"} // []string | (optional)
+ descriptionIew := []string{"Inner_example"} // []string | (optional)
+ descriptionIre := []string{"Inner_example"} // []string | (optional)
+ descriptionIsw := []string{"Inner_example"} // []string | (optional)
+ descriptionN := []string{"Inner_example"} // []string | (optional)
+ descriptionNic := []string{"Inner_example"} // []string | (optional)
+ descriptionNie := []string{"Inner_example"} // []string | (optional)
+ descriptionNiew := []string{"Inner_example"} // []string | (optional)
+ descriptionNire := []string{"Inner_example"} // []string | (optional)
+ descriptionNisw := []string{"Inner_example"} // []string | (optional)
+ descriptionNre := []string{"Inner_example"} // []string | (optional)
+ descriptionRe := []string{"Inner_example"} // []string | (optional)
+ device := []string{"Inner_example"} // []string | (optional)
+ deviceId := []string{"Inner_example"} // []string | Device (ID) (deprecated, use \"device\" filter instead) (optional)
+ deviceWithCommonVc := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Virtual Chassis member Device (ID) (optional)
+ dynamicGroups := []string{"Inner_example"} // []string | (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
+ enabled := true // bool | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ hasBridgedInterfaces := true // bool | Has bridged interfaces (optional)
+ hasCable := true // bool | Has cable (optional)
+ hasChildInterfaces := true // bool | Has child interfaces (optional)
+ hasIpAddresses := true // bool | Has IP addresses (optional)
+ hasMemberInterfaces := true // bool | Has member interfaces (optional)
+ hasTaggedVlans := true // bool | Has tagged VLANs (optional)
+ hasVirtualDeviceContexts := true // bool | Has Virtual Device Context (optional)
+ id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
+ idN := []string{"Inner_example"} // []string | (optional)
+ interfaceRedundancyGroups := []string{"Inner_example"} // []string | (optional)
+ interfaceRedundancyGroupsIsnull := true // bool | (optional)
+ interfaceRedundancyGroupsN := []string{"Inner_example"} // []string | (optional)
+ ipAddresses := []string{"Inner_example"} // []string | IP addresses (address or ID) (optional)
+ kind := "kind_example" // string | Kind of interface (optional)
+ label := []string{"Inner_example"} // []string | (optional)
+ labelIc := []string{"Inner_example"} // []string | (optional)
+ labelIe := []string{"Inner_example"} // []string | (optional)
+ labelIew := []string{"Inner_example"} // []string | (optional)
+ labelIre := []string{"Inner_example"} // []string | (optional)
+ labelIsw := []string{"Inner_example"} // []string | (optional)
+ labelN := []string{"Inner_example"} // []string | (optional)
+ labelNic := []string{"Inner_example"} // []string | (optional)
+ labelNie := []string{"Inner_example"} // []string | (optional)
+ labelNiew := []string{"Inner_example"} // []string | (optional)
+ labelNire := []string{"Inner_example"} // []string | (optional)
+ labelNisw := []string{"Inner_example"} // []string | (optional)
+ labelNre := []string{"Inner_example"} // []string | (optional)
+ labelRe := []string{"Inner_example"} // []string | (optional)
+ lag := []string{"Inner_example"} // []string | (optional)
+ lagIsnull := true // bool | LAG interface (name or ID) is null (optional)
+ lagN := []string{"Inner_example"} // []string | (optional)
+ limit := int32(56) // int32 | Number of results to return per page. (optional)
+ location := []string{"Inner_example"} // []string | (optional)
+ locationN := []string{"Inner_example"} // []string | (optional)
+ macAddress := []string{"Inner_example"} // []string | (optional)
+ macAddressIc := []string{"Inner_example"} // []string | (optional)
+ macAddressIe := []string{"Inner_example"} // []string | (optional)
+ macAddressIew := []string{"Inner_example"} // []string | (optional)
+ macAddressIre := []string{"Inner_example"} // []string | (optional)
+ macAddressIsw := []string{"Inner_example"} // []string | (optional)
+ macAddressN := []string{"Inner_example"} // []string | (optional)
+ macAddressNic := []string{"Inner_example"} // []string | (optional)
+ macAddressNie := []string{"Inner_example"} // []string | (optional)
+ macAddressNiew := []string{"Inner_example"} // []string | (optional)
+ macAddressNire := []string{"Inner_example"} // []string | (optional)
+ macAddressNisw := []string{"Inner_example"} // []string | (optional)
+ macAddressNre := []string{"Inner_example"} // []string | (optional)
+ macAddressRe := []string{"Inner_example"} // []string | (optional)
+ memberInterfaces := []string{"Inner_example"} // []string | (optional)
+ memberInterfacesIsnull := true // bool | Member interfaces (name or ID) is null (optional)
+ memberInterfacesN := []string{"Inner_example"} // []string | (optional)
+ mgmtOnly := true // bool | (optional)
+ mode := []string{"Inner_example"} // []string | (optional)
+ modeIc := []string{"Inner_example"} // []string | (optional)
+ modeIe := []string{"Inner_example"} // []string | (optional)
+ modeIew := []string{"Inner_example"} // []string | (optional)
+ modeIre := []string{"Inner_example"} // []string | (optional)
+ modeIsw := []string{"Inner_example"} // []string | (optional)
+ modeN := []string{"Inner_example"} // []string | (optional)
+ modeNic := []string{"Inner_example"} // []string | (optional)
+ modeNie := []string{"Inner_example"} // []string | (optional)
+ modeNiew := []string{"Inner_example"} // []string | (optional)
+ modeNire := []string{"Inner_example"} // []string | (optional)
+ modeNisw := []string{"Inner_example"} // []string | (optional)
+ modeNre := []string{"Inner_example"} // []string | (optional)
+ modeRe := []string{"Inner_example"} // []string | (optional)
+ module := []string{"Inner_example"} // []string | (optional)
+ moduleIsnull := true // bool | Module (model or ID) is null (optional)
+ moduleN := []string{"Inner_example"} // []string | (optional)
+ mtu := []int32{int32(123)} // []int32 | (optional)
+ mtuGt := []int32{int32(123)} // []int32 | (optional)
+ mtuGte := []int32{int32(123)} // []int32 | (optional)
+ mtuIsnull := true // bool | (optional)
+ mtuLt := []int32{int32(123)} // []int32 | (optional)
+ mtuLte := []int32{int32(123)} // []int32 | (optional)
+ mtuN := []int32{int32(123)} // []int32 | (optional)
+ name := []string{"Inner_example"} // []string | (optional)
+ nameIc := []string{"Inner_example"} // []string | (optional)
+ nameIe := []string{"Inner_example"} // []string | (optional)
+ nameIew := []string{"Inner_example"} // []string | (optional)
+ nameIre := []string{"Inner_example"} // []string | (optional)
+ nameIsw := []string{"Inner_example"} // []string | (optional)
+ nameN := []string{"Inner_example"} // []string | (optional)
+ nameNic := []string{"Inner_example"} // []string | (optional)
+ nameNie := []string{"Inner_example"} // []string | (optional)
+ nameNiew := []string{"Inner_example"} // []string | (optional)
+ nameNire := []string{"Inner_example"} // []string | (optional)
+ nameNisw := []string{"Inner_example"} // []string | (optional)
+ nameNre := []string{"Inner_example"} // []string | (optional)
+ nameRe := []string{"Inner_example"} // []string | (optional)
+ offset := int32(56) // int32 | The initial index from which to return the results. (optional)
+ parentInterface := []string{"Inner_example"} // []string | (optional)
+ parentInterfaceIsnull := true // bool | Parent interface (name or ID) is null (optional)
+ parentInterfaceN := []string{"Inner_example"} // []string | (optional)
+ q := "q_example" // string | Search (optional)
+ role := []string{"Inner_example"} // []string | (optional)
+ roleIsnull := true // bool | Role (name or ID) is null (optional)
+ roleN := []string{"Inner_example"} // []string | (optional)
+ sort := "sort_example" // string | Which field to use when ordering the results. (optional)
+ status := []string{"Inner_example"} // []string | (optional)
+ statusN := []string{"Inner_example"} // []string | (optional)
+ taggedVlans := []string{"Inner_example"} // []string | (optional)
+ taggedVlansN := []string{"Inner_example"} // []string | (optional)
+ tags := []string{"Inner_example"} // []string | (optional)
+ tagsIsnull := true // bool | (optional)
+ tagsN := []string{"Inner_example"} // []string | (optional)
+ teams := []string{"Inner_example"} // []string | (optional)
+ teamsIsnull := true // bool | Teams (name or ID) is null (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
+ type_ := []string{"Inner_example"} // []string | (optional)
+ typeIc := []string{"Inner_example"} // []string | (optional)
+ typeIe := []string{"Inner_example"} // []string | (optional)
+ typeIew := []string{"Inner_example"} // []string | (optional)
+ typeIre := []string{"Inner_example"} // []string | (optional)
+ typeIsw := []string{"Inner_example"} // []string | (optional)
+ typeN := []string{"Inner_example"} // []string | (optional)
+ typeNic := []string{"Inner_example"} // []string | (optional)
+ typeNie := []string{"Inner_example"} // []string | (optional)
+ typeNiew := []string{"Inner_example"} // []string | (optional)
+ typeNire := []string{"Inner_example"} // []string | (optional)
+ typeNisw := []string{"Inner_example"} // []string | (optional)
+ typeNre := []string{"Inner_example"} // []string | (optional)
+ typeRe := []string{"Inner_example"} // []string | (optional)
+ untaggedVlan := []string{"Inner_example"} // []string | (optional)
+ untaggedVlanIsnull := true // bool | Untagged VLAN (VID or ID) is null (optional)
+ untaggedVlanN := []string{"Inner_example"} // []string | (optional)
+ virtualDeviceContexts := []string{"Inner_example"} // []string | (optional)
+ virtualDeviceContextsIsnull := true // bool | Virtual Device Context (name or ID) is null (optional)
+ virtualDeviceContextsN := []string{"Inner_example"} // []string | (optional)
+ vlan := float32(8.14) // float32 | Assigned VID (optional)
+ vlanId := "vlanId_example" // string | Assigned VLAN (optional)
+ depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimInventoryItemsBulkUpdate(context.Background()).BulkWritableInventoryItemRequest(bulkWritableInventoryItemRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInterfacesList(context.Background()).Bridge(bridge).BridgeIsnull(bridgeIsnull).BridgeN(bridgeN).BridgedInterfaces(bridgedInterfaces).BridgedInterfacesIsnull(bridgedInterfacesIsnull).BridgedInterfacesN(bridgedInterfacesN).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).ChildInterfaces(childInterfaces).ChildInterfacesIsnull(childInterfacesIsnull).ChildInterfacesN(childInterfacesN).Connected(connected).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DeviceId(deviceId).DeviceWithCommonVc(deviceWithCommonVc).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Enabled(enabled).Format(format).HasBridgedInterfaces(hasBridgedInterfaces).HasCable(hasCable).HasChildInterfaces(hasChildInterfaces).HasIpAddresses(hasIpAddresses).HasMemberInterfaces(hasMemberInterfaces).HasTaggedVlans(hasTaggedVlans).HasVirtualDeviceContexts(hasVirtualDeviceContexts).Id(id).IdN(idN).InterfaceRedundancyGroups(interfaceRedundancyGroups).InterfaceRedundancyGroupsIsnull(interfaceRedundancyGroupsIsnull).InterfaceRedundancyGroupsN(interfaceRedundancyGroupsN).IpAddresses(ipAddresses).Kind(kind).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Lag(lag).LagIsnull(lagIsnull).LagN(lagN).Limit(limit).Location(location).LocationN(locationN).MacAddress(macAddress).MacAddressIc(macAddressIc).MacAddressIe(macAddressIe).MacAddressIew(macAddressIew).MacAddressIre(macAddressIre).MacAddressIsw(macAddressIsw).MacAddressN(macAddressN).MacAddressNic(macAddressNic).MacAddressNie(macAddressNie).MacAddressNiew(macAddressNiew).MacAddressNire(macAddressNire).MacAddressNisw(macAddressNisw).MacAddressNre(macAddressNre).MacAddressRe(macAddressRe).MemberInterfaces(memberInterfaces).MemberInterfacesIsnull(memberInterfacesIsnull).MemberInterfacesN(memberInterfacesN).MgmtOnly(mgmtOnly).Mode(mode).ModeIc(modeIc).ModeIe(modeIe).ModeIew(modeIew).ModeIre(modeIre).ModeIsw(modeIsw).ModeN(modeN).ModeNic(modeNic).ModeNie(modeNie).ModeNiew(modeNiew).ModeNire(modeNire).ModeNisw(modeNisw).ModeNre(modeNre).ModeRe(modeRe).Module(module).ModuleIsnull(moduleIsnull).ModuleN(moduleN).Mtu(mtu).MtuGt(mtuGt).MtuGte(mtuGte).MtuIsnull(mtuIsnull).MtuLt(mtuLt).MtuLte(mtuLte).MtuN(mtuN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).ParentInterface(parentInterface).ParentInterfaceIsnull(parentInterfaceIsnull).ParentInterfaceN(parentInterfaceN).Q(q).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Sort(sort).Status(status).StatusN(statusN).TaggedVlans(taggedVlans).TaggedVlansN(taggedVlansN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).UntaggedVlan(untaggedVlan).UntaggedVlanIsnull(untaggedVlanIsnull).UntaggedVlanN(untaggedVlanN).VirtualDeviceContexts(virtualDeviceContexts).VirtualDeviceContextsIsnull(virtualDeviceContextsIsnull).VirtualDeviceContextsN(virtualDeviceContextsN).Vlan(vlan).VlanId(vlanId).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInventoryItemsBulkUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfacesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimInventoryItemsBulkUpdate`: []InventoryItem
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInventoryItemsBulkUpdate`: %v\n", resp)
+ // response from `DcimInterfacesList`: PaginatedInterfaceList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInterfacesList`: %v\n", resp)
}
```
@@ -20886,17 +19652,185 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimInventoryItemsBulkUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInterfacesListRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **bulkWritableInventoryItemRequest** | [**[]BulkWritableInventoryItemRequest**](BulkWritableInventoryItemRequest.md) | |
+ **bridge** | **[]string** | |
+ **bridgeIsnull** | **bool** | Bridge interface (name or ID) is null |
+ **bridgeN** | **[]string** | |
+ **bridgedInterfaces** | **[]string** | |
+ **bridgedInterfacesIsnull** | **bool** | Bridged interfaces (name or ID) is null |
+ **bridgedInterfacesN** | **[]string** | |
+ **cable** | **[]string** | Cable |
+ **cableIsnull** | **bool** | |
+ **cableN** | **[]string** | Cable |
+ **childInterfaces** | **[]string** | |
+ **childInterfacesIsnull** | **bool** | Child interfaces (name or ID) is null |
+ **childInterfacesN** | **[]string** | |
+ **connected** | **bool** | Connected status (bool) |
+ **contacts** | **[]string** | |
+ **contactsIsnull** | **bool** | Contacts (name or ID) is null |
+ **contactsN** | **[]string** | |
+ **description** | **[]string** | |
+ **descriptionIc** | **[]string** | |
+ **descriptionIe** | **[]string** | |
+ **descriptionIew** | **[]string** | |
+ **descriptionIre** | **[]string** | |
+ **descriptionIsw** | **[]string** | |
+ **descriptionN** | **[]string** | |
+ **descriptionNic** | **[]string** | |
+ **descriptionNie** | **[]string** | |
+ **descriptionNiew** | **[]string** | |
+ **descriptionNire** | **[]string** | |
+ **descriptionNisw** | **[]string** | |
+ **descriptionNre** | **[]string** | |
+ **descriptionRe** | **[]string** | |
+ **device** | **[]string** | |
+ **deviceId** | **[]string** | Device (ID) (deprecated, use \"device\" filter instead) |
+ **deviceWithCommonVc** | **string** | Virtual Chassis member Device (ID) |
+ **dynamicGroups** | **[]string** | |
+ **dynamicGroupsN** | **[]string** | |
+ **enabled** | **bool** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **hasBridgedInterfaces** | **bool** | Has bridged interfaces |
+ **hasCable** | **bool** | Has cable |
+ **hasChildInterfaces** | **bool** | Has child interfaces |
+ **hasIpAddresses** | **bool** | Has IP addresses |
+ **hasMemberInterfaces** | **bool** | Has member interfaces |
+ **hasTaggedVlans** | **bool** | Has tagged VLANs |
+ **hasVirtualDeviceContexts** | **bool** | Has Virtual Device Context |
+ **id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
+ **idN** | **[]string** | |
+ **interfaceRedundancyGroups** | **[]string** | |
+ **interfaceRedundancyGroupsIsnull** | **bool** | |
+ **interfaceRedundancyGroupsN** | **[]string** | |
+ **ipAddresses** | **[]string** | IP addresses (address or ID) |
+ **kind** | **string** | Kind of interface |
+ **label** | **[]string** | |
+ **labelIc** | **[]string** | |
+ **labelIe** | **[]string** | |
+ **labelIew** | **[]string** | |
+ **labelIre** | **[]string** | |
+ **labelIsw** | **[]string** | |
+ **labelN** | **[]string** | |
+ **labelNic** | **[]string** | |
+ **labelNie** | **[]string** | |
+ **labelNiew** | **[]string** | |
+ **labelNire** | **[]string** | |
+ **labelNisw** | **[]string** | |
+ **labelNre** | **[]string** | |
+ **labelRe** | **[]string** | |
+ **lag** | **[]string** | |
+ **lagIsnull** | **bool** | LAG interface (name or ID) is null |
+ **lagN** | **[]string** | |
+ **limit** | **int32** | Number of results to return per page. |
+ **location** | **[]string** | |
+ **locationN** | **[]string** | |
+ **macAddress** | **[]string** | |
+ **macAddressIc** | **[]string** | |
+ **macAddressIe** | **[]string** | |
+ **macAddressIew** | **[]string** | |
+ **macAddressIre** | **[]string** | |
+ **macAddressIsw** | **[]string** | |
+ **macAddressN** | **[]string** | |
+ **macAddressNic** | **[]string** | |
+ **macAddressNie** | **[]string** | |
+ **macAddressNiew** | **[]string** | |
+ **macAddressNire** | **[]string** | |
+ **macAddressNisw** | **[]string** | |
+ **macAddressNre** | **[]string** | |
+ **macAddressRe** | **[]string** | |
+ **memberInterfaces** | **[]string** | |
+ **memberInterfacesIsnull** | **bool** | Member interfaces (name or ID) is null |
+ **memberInterfacesN** | **[]string** | |
+ **mgmtOnly** | **bool** | |
+ **mode** | **[]string** | |
+ **modeIc** | **[]string** | |
+ **modeIe** | **[]string** | |
+ **modeIew** | **[]string** | |
+ **modeIre** | **[]string** | |
+ **modeIsw** | **[]string** | |
+ **modeN** | **[]string** | |
+ **modeNic** | **[]string** | |
+ **modeNie** | **[]string** | |
+ **modeNiew** | **[]string** | |
+ **modeNire** | **[]string** | |
+ **modeNisw** | **[]string** | |
+ **modeNre** | **[]string** | |
+ **modeRe** | **[]string** | |
+ **module** | **[]string** | |
+ **moduleIsnull** | **bool** | Module (model or ID) is null |
+ **moduleN** | **[]string** | |
+ **mtu** | **[]int32** | |
+ **mtuGt** | **[]int32** | |
+ **mtuGte** | **[]int32** | |
+ **mtuIsnull** | **bool** | |
+ **mtuLt** | **[]int32** | |
+ **mtuLte** | **[]int32** | |
+ **mtuN** | **[]int32** | |
+ **name** | **[]string** | |
+ **nameIc** | **[]string** | |
+ **nameIe** | **[]string** | |
+ **nameIew** | **[]string** | |
+ **nameIre** | **[]string** | |
+ **nameIsw** | **[]string** | |
+ **nameN** | **[]string** | |
+ **nameNic** | **[]string** | |
+ **nameNie** | **[]string** | |
+ **nameNiew** | **[]string** | |
+ **nameNire** | **[]string** | |
+ **nameNisw** | **[]string** | |
+ **nameNre** | **[]string** | |
+ **nameRe** | **[]string** | |
+ **offset** | **int32** | The initial index from which to return the results. |
+ **parentInterface** | **[]string** | |
+ **parentInterfaceIsnull** | **bool** | Parent interface (name or ID) is null |
+ **parentInterfaceN** | **[]string** | |
+ **q** | **string** | Search |
+ **role** | **[]string** | |
+ **roleIsnull** | **bool** | Role (name or ID) is null |
+ **roleN** | **[]string** | |
+ **sort** | **string** | Which field to use when ordering the results. |
+ **status** | **[]string** | |
+ **statusN** | **[]string** | |
+ **taggedVlans** | **[]string** | |
+ **taggedVlansN** | **[]string** | |
+ **tags** | **[]string** | |
+ **tagsIsnull** | **bool** | |
+ **tagsN** | **[]string** | |
+ **teams** | **[]string** | |
+ **teamsIsnull** | **bool** | Teams (name or ID) is null |
+ **teamsN** | **[]string** | |
+ **type_** | **[]string** | |
+ **typeIc** | **[]string** | |
+ **typeIe** | **[]string** | |
+ **typeIew** | **[]string** | |
+ **typeIre** | **[]string** | |
+ **typeIsw** | **[]string** | |
+ **typeN** | **[]string** | |
+ **typeNic** | **[]string** | |
+ **typeNie** | **[]string** | |
+ **typeNiew** | **[]string** | |
+ **typeNire** | **[]string** | |
+ **typeNisw** | **[]string** | |
+ **typeNre** | **[]string** | |
+ **typeRe** | **[]string** | |
+ **untaggedVlan** | **[]string** | |
+ **untaggedVlanIsnull** | **bool** | Untagged VLAN (VID or ID) is null |
+ **untaggedVlanN** | **[]string** | |
+ **virtualDeviceContexts** | **[]string** | |
+ **virtualDeviceContextsIsnull** | **bool** | Virtual Device Context (name or ID) is null |
+ **virtualDeviceContextsN** | **[]string** | |
+ **vlan** | **float32** | Assigned VID |
+ **vlanId** | **string** | Assigned VLAN |
+ **depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**[]InventoryItem**](InventoryItem.md)
+[**PaginatedInterfaceList**](PaginatedInterfaceList.md)
### Authorization
@@ -20904,7 +19838,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: application/json, text/csv
+- **Content-Type**: Not defined
- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -20912,9 +19846,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimInventoryItemsCreate
+## DcimInterfacesNotesCreate
-> InventoryItem DcimInventoryItemsCreate(ctx).InventoryItemRequest(inventoryItemRequest).Format(format).Execute()
+> Note DcimInterfacesNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
@@ -20933,38 +19867,44 @@ import (
)
func main() {
- inventoryItemRequest := *openapiclient.NewInventoryItemRequest("Name_example", *openapiclient.NewBulkWritableCableRequestStatus()) // InventoryItemRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this interface.
+ noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimInventoryItemsCreate(context.Background()).InventoryItemRequest(inventoryItemRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInterfacesNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInventoryItemsCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfacesNotesCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimInventoryItemsCreate`: InventoryItem
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInventoryItemsCreate`: %v\n", resp)
+ // response from `DcimInterfacesNotesCreate`: Note
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInterfacesNotesCreate`: %v\n", resp)
}
```
### Path Parameters
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this interface. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimInventoryItemsCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInterfacesNotesCreateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **inventoryItemRequest** | [**InventoryItemRequest**](InventoryItemRequest.md) | |
+
+ **noteInputRequest** | [**NoteInputRequest**](NoteInputRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**InventoryItem**](InventoryItem.md)
+[**Note**](Note.md)
### Authorization
@@ -20980,9 +19920,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimInventoryItemsDestroy
+## DcimInterfacesNotesList
-> DcimInventoryItemsDestroy(ctx, id).Format(format).Execute()
+> PaginatedNoteList DcimInterfacesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -21001,16 +19941,22 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this inventory item.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this interface.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ limit := int32(56) // int32 | Number of results to return per page. (optional)
+ offset := int32(56) // int32 | The initial index from which to return the results. (optional)
+ depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimInventoryItemsDestroy(context.Background(), id).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInterfacesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInventoryItemsDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfacesNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
+ // response from `DcimInterfacesNotesList`: PaginatedNoteList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInterfacesNotesList`: %v\n", resp)
}
```
@@ -21020,21 +19966,25 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this inventory item. |
+**id** | **string** | A UUID string identifying this interface. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimInventoryItemsDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInterfacesNotesListRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **limit** | **int32** | Number of results to return per page. |
+ **offset** | **int32** | The initial index from which to return the results. |
+ **depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
- (empty response body)
+[**PaginatedNoteList**](PaginatedNoteList.md)
### Authorization
@@ -21043,16 +19993,16 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: Not defined
+- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
-## DcimInventoryItemsList
+## DcimInterfacesPartialUpdate
-> PaginatedInventoryItemList DcimInventoryItemsList(ctx).AssetTag(assetTag).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIre(assetTagIre).AssetTagIsnull(assetTagIsnull).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNire(assetTagNire).AssetTagNisw(assetTagNisw).AssetTagNre(assetTagNre).AssetTagRe(assetTagRe).Children(children).ChildrenIsnull(childrenIsnull).ChildrenN(childrenN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DeviceN(deviceN).Discovered(discovered).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasChildren(hasChildren).HasSoftwareImageFiles(hasSoftwareImageFiles).HasSoftwareVersion(hasSoftwareVersion).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).Manufacturer(manufacturer).ManufacturerIsnull(manufacturerIsnull).ManufacturerN(manufacturerN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).PartId(partId).PartIdIc(partIdIc).PartIdIe(partIdIe).PartIdIew(partIdIew).PartIdIre(partIdIre).PartIdIsw(partIdIsw).PartIdN(partIdN).PartIdNic(partIdNic).PartIdNie(partIdNie).PartIdNiew(partIdNiew).PartIdNire(partIdNire).PartIdNisw(partIdNisw).PartIdNre(partIdNre).PartIdRe(partIdRe).Q(q).Serial(serial).SoftwareImageFiles(softwareImageFiles).SoftwareImageFilesN(softwareImageFilesN).SoftwareVersion(softwareVersion).SoftwareVersionIsnull(softwareVersionIsnull).SoftwareVersionN(softwareVersionN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> Interface DcimInterfacesPartialUpdate(ctx, id).Format(format).PatchedWritableInterfaceRequest(patchedWritableInterfaceRequest).Execute()
@@ -21071,358 +20021,44 @@ import (
)
func main() {
- assetTag := []string{"Inner_example"} // []string | (optional)
- assetTagIc := []string{"Inner_example"} // []string | (optional)
- assetTagIe := []string{"Inner_example"} // []string | (optional)
- assetTagIew := []string{"Inner_example"} // []string | (optional)
- assetTagIre := []string{"Inner_example"} // []string | (optional)
- assetTagIsnull := true // bool | (optional)
- assetTagIsw := []string{"Inner_example"} // []string | (optional)
- assetTagN := []string{"Inner_example"} // []string | (optional)
- assetTagNic := []string{"Inner_example"} // []string | (optional)
- assetTagNie := []string{"Inner_example"} // []string | (optional)
- assetTagNiew := []string{"Inner_example"} // []string | (optional)
- assetTagNire := []string{"Inner_example"} // []string | (optional)
- assetTagNisw := []string{"Inner_example"} // []string | (optional)
- assetTagNre := []string{"Inner_example"} // []string | (optional)
- assetTagRe := []string{"Inner_example"} // []string | (optional)
- children := []string{"Inner_example"} // []string | (optional)
- childrenIsnull := true // bool | Child items (name or ID) is null (optional)
- childrenN := []string{"Inner_example"} // []string | (optional)
- contacts := []string{"Inner_example"} // []string | (optional)
- contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
- description := []string{"Inner_example"} // []string | (optional)
- descriptionIc := []string{"Inner_example"} // []string | (optional)
- descriptionIe := []string{"Inner_example"} // []string | (optional)
- descriptionIew := []string{"Inner_example"} // []string | (optional)
- descriptionIre := []string{"Inner_example"} // []string | (optional)
- descriptionIsw := []string{"Inner_example"} // []string | (optional)
- descriptionN := []string{"Inner_example"} // []string | (optional)
- descriptionNic := []string{"Inner_example"} // []string | (optional)
- descriptionNie := []string{"Inner_example"} // []string | (optional)
- descriptionNiew := []string{"Inner_example"} // []string | (optional)
- descriptionNire := []string{"Inner_example"} // []string | (optional)
- descriptionNisw := []string{"Inner_example"} // []string | (optional)
- descriptionNre := []string{"Inner_example"} // []string | (optional)
- descriptionRe := []string{"Inner_example"} // []string | (optional)
- device := []string{"Inner_example"} // []string | (optional)
- deviceN := []string{"Inner_example"} // []string | (optional)
- discovered := true // bool | (optional)
- dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this interface.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- hasChildren := true // bool | Has child items (optional)
- hasSoftwareImageFiles := true // bool | Has software image files (optional)
- hasSoftwareVersion := true // bool | Has software version (optional)
- id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
- idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
- label := []string{"Inner_example"} // []string | (optional)
- labelIc := []string{"Inner_example"} // []string | (optional)
- labelIe := []string{"Inner_example"} // []string | (optional)
- labelIew := []string{"Inner_example"} // []string | (optional)
- labelIre := []string{"Inner_example"} // []string | (optional)
- labelIsw := []string{"Inner_example"} // []string | (optional)
- labelN := []string{"Inner_example"} // []string | (optional)
- labelNic := []string{"Inner_example"} // []string | (optional)
- labelNie := []string{"Inner_example"} // []string | (optional)
- labelNiew := []string{"Inner_example"} // []string | (optional)
- labelNire := []string{"Inner_example"} // []string | (optional)
- labelNisw := []string{"Inner_example"} // []string | (optional)
- labelNre := []string{"Inner_example"} // []string | (optional)
- labelRe := []string{"Inner_example"} // []string | (optional)
- limit := int32(56) // int32 | Number of results to return per page. (optional)
- location := []string{"Inner_example"} // []string | (optional)
- locationN := []string{"Inner_example"} // []string | (optional)
- manufacturer := []string{"Inner_example"} // []string | (optional)
- manufacturerIsnull := true // bool | Manufacturer (name or ID) is null (optional)
- manufacturerN := []string{"Inner_example"} // []string | (optional)
- name := []string{"Inner_example"} // []string | (optional)
- nameIc := []string{"Inner_example"} // []string | (optional)
- nameIe := []string{"Inner_example"} // []string | (optional)
- nameIew := []string{"Inner_example"} // []string | (optional)
- nameIre := []string{"Inner_example"} // []string | (optional)
- nameIsw := []string{"Inner_example"} // []string | (optional)
- nameN := []string{"Inner_example"} // []string | (optional)
- nameNic := []string{"Inner_example"} // []string | (optional)
- nameNie := []string{"Inner_example"} // []string | (optional)
- nameNiew := []string{"Inner_example"} // []string | (optional)
- nameNire := []string{"Inner_example"} // []string | (optional)
- nameNisw := []string{"Inner_example"} // []string | (optional)
- nameNre := []string{"Inner_example"} // []string | (optional)
- nameRe := []string{"Inner_example"} // []string | (optional)
- offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- parent := []string{"Inner_example"} // []string | (optional)
- parentIsnull := true // bool | Parent items (name or ID) is null (optional)
- parentN := []string{"Inner_example"} // []string | (optional)
- partId := []string{"Inner_example"} // []string | (optional)
- partIdIc := []string{"Inner_example"} // []string | (optional)
- partIdIe := []string{"Inner_example"} // []string | (optional)
- partIdIew := []string{"Inner_example"} // []string | (optional)
- partIdIre := []string{"Inner_example"} // []string | (optional)
- partIdIsw := []string{"Inner_example"} // []string | (optional)
- partIdN := []string{"Inner_example"} // []string | (optional)
- partIdNic := []string{"Inner_example"} // []string | (optional)
- partIdNie := []string{"Inner_example"} // []string | (optional)
- partIdNiew := []string{"Inner_example"} // []string | (optional)
- partIdNire := []string{"Inner_example"} // []string | (optional)
- partIdNisw := []string{"Inner_example"} // []string | (optional)
- partIdNre := []string{"Inner_example"} // []string | (optional)
- partIdRe := []string{"Inner_example"} // []string | (optional)
- q := "q_example" // string | Search (optional)
- serial := []string{"Inner_example"} // []string | (optional)
- softwareImageFiles := []string{"Inner_example"} // []string | (optional)
- softwareImageFilesN := []string{"Inner_example"} // []string | (optional)
- softwareVersion := []string{"Inner_example"} // []string | (optional)
- softwareVersionIsnull := true // bool | Software version (version or ID) is null (optional)
- softwareVersionN := []string{"Inner_example"} // []string | (optional)
- sort := "sort_example" // string | Which field to use when ordering the results. (optional)
- tags := []string{"Inner_example"} // []string | (optional)
- tagsIsnull := true // bool | (optional)
- tagsN := []string{"Inner_example"} // []string | (optional)
- teams := []string{"Inner_example"} // []string | (optional)
- teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
- depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ patchedWritableInterfaceRequest := *openapiclient.NewPatchedWritableInterfaceRequest() // PatchedWritableInterfaceRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimInventoryItemsList(context.Background()).AssetTag(assetTag).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIre(assetTagIre).AssetTagIsnull(assetTagIsnull).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNire(assetTagNire).AssetTagNisw(assetTagNisw).AssetTagNre(assetTagNre).AssetTagRe(assetTagRe).Children(children).ChildrenIsnull(childrenIsnull).ChildrenN(childrenN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DeviceN(deviceN).Discovered(discovered).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasChildren(hasChildren).HasSoftwareImageFiles(hasSoftwareImageFiles).HasSoftwareVersion(hasSoftwareVersion).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).Manufacturer(manufacturer).ManufacturerIsnull(manufacturerIsnull).ManufacturerN(manufacturerN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).PartId(partId).PartIdIc(partIdIc).PartIdIe(partIdIe).PartIdIew(partIdIew).PartIdIre(partIdIre).PartIdIsw(partIdIsw).PartIdN(partIdN).PartIdNic(partIdNic).PartIdNie(partIdNie).PartIdNiew(partIdNiew).PartIdNire(partIdNire).PartIdNisw(partIdNisw).PartIdNre(partIdNre).PartIdRe(partIdRe).Q(q).Serial(serial).SoftwareImageFiles(softwareImageFiles).SoftwareImageFilesN(softwareImageFilesN).SoftwareVersion(softwareVersion).SoftwareVersionIsnull(softwareVersionIsnull).SoftwareVersionN(softwareVersionN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInterfacesPartialUpdate(context.Background(), id).Format(format).PatchedWritableInterfaceRequest(patchedWritableInterfaceRequest).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInventoryItemsList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfacesPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimInventoryItemsList`: PaginatedInventoryItemList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInventoryItemsList`: %v\n", resp)
+ // response from `DcimInterfacesPartialUpdate`: Interface
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInterfacesPartialUpdate`: %v\n", resp)
}
```
### Path Parameters
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this interface. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimInventoryItemsListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **assetTag** | **[]string** | |
- **assetTagIc** | **[]string** | |
- **assetTagIe** | **[]string** | |
- **assetTagIew** | **[]string** | |
- **assetTagIre** | **[]string** | |
- **assetTagIsnull** | **bool** | |
- **assetTagIsw** | **[]string** | |
- **assetTagN** | **[]string** | |
- **assetTagNic** | **[]string** | |
- **assetTagNie** | **[]string** | |
- **assetTagNiew** | **[]string** | |
- **assetTagNire** | **[]string** | |
- **assetTagNisw** | **[]string** | |
- **assetTagNre** | **[]string** | |
- **assetTagRe** | **[]string** | |
- **children** | **[]string** | |
- **childrenIsnull** | **bool** | Child items (name or ID) is null |
- **childrenN** | **[]string** | |
- **contacts** | **[]string** | |
- **contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
- **description** | **[]string** | |
- **descriptionIc** | **[]string** | |
- **descriptionIe** | **[]string** | |
- **descriptionIew** | **[]string** | |
- **descriptionIre** | **[]string** | |
- **descriptionIsw** | **[]string** | |
- **descriptionN** | **[]string** | |
- **descriptionNic** | **[]string** | |
- **descriptionNie** | **[]string** | |
- **descriptionNiew** | **[]string** | |
- **descriptionNire** | **[]string** | |
- **descriptionNisw** | **[]string** | |
- **descriptionNre** | **[]string** | |
- **descriptionRe** | **[]string** | |
- **device** | **[]string** | |
- **deviceN** | **[]string** | |
- **discovered** | **bool** | |
- **dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **hasChildren** | **bool** | Has child items |
- **hasSoftwareImageFiles** | **bool** | Has software image files |
- **hasSoftwareVersion** | **bool** | Has software version |
- **id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
- **idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
- **label** | **[]string** | |
- **labelIc** | **[]string** | |
- **labelIe** | **[]string** | |
- **labelIew** | **[]string** | |
- **labelIre** | **[]string** | |
- **labelIsw** | **[]string** | |
- **labelN** | **[]string** | |
- **labelNic** | **[]string** | |
- **labelNie** | **[]string** | |
- **labelNiew** | **[]string** | |
- **labelNire** | **[]string** | |
- **labelNisw** | **[]string** | |
- **labelNre** | **[]string** | |
- **labelRe** | **[]string** | |
- **limit** | **int32** | Number of results to return per page. |
- **location** | **[]string** | |
- **locationN** | **[]string** | |
- **manufacturer** | **[]string** | |
- **manufacturerIsnull** | **bool** | Manufacturer (name or ID) is null |
- **manufacturerN** | **[]string** | |
- **name** | **[]string** | |
- **nameIc** | **[]string** | |
- **nameIe** | **[]string** | |
- **nameIew** | **[]string** | |
- **nameIre** | **[]string** | |
- **nameIsw** | **[]string** | |
- **nameN** | **[]string** | |
- **nameNic** | **[]string** | |
- **nameNie** | **[]string** | |
- **nameNiew** | **[]string** | |
- **nameNire** | **[]string** | |
- **nameNisw** | **[]string** | |
- **nameNre** | **[]string** | |
- **nameRe** | **[]string** | |
- **offset** | **int32** | The initial index from which to return the results. |
- **parent** | **[]string** | |
- **parentIsnull** | **bool** | Parent items (name or ID) is null |
- **parentN** | **[]string** | |
- **partId** | **[]string** | |
- **partIdIc** | **[]string** | |
- **partIdIe** | **[]string** | |
- **partIdIew** | **[]string** | |
- **partIdIre** | **[]string** | |
- **partIdIsw** | **[]string** | |
- **partIdN** | **[]string** | |
- **partIdNic** | **[]string** | |
- **partIdNie** | **[]string** | |
- **partIdNiew** | **[]string** | |
- **partIdNire** | **[]string** | |
- **partIdNisw** | **[]string** | |
- **partIdNre** | **[]string** | |
- **partIdRe** | **[]string** | |
- **q** | **string** | Search |
- **serial** | **[]string** | |
- **softwareImageFiles** | **[]string** | |
- **softwareImageFilesN** | **[]string** | |
- **softwareVersion** | **[]string** | |
- **softwareVersionIsnull** | **bool** | Software version (version or ID) is null |
- **softwareVersionN** | **[]string** | |
- **sort** | **string** | Which field to use when ordering the results. |
- **tags** | **[]string** | |
- **tagsIsnull** | **bool** | |
- **tagsN** | **[]string** | |
- **teams** | **[]string** | |
- **teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
- **depth** | **int32** | Serializer Depth | [default to 1]
-
-### Return type
-
-[**PaginatedInventoryItemList**](PaginatedInventoryItemList.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## DcimInventoryItemsNotesCreate
-
-> Note DcimInventoryItemsNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this inventory item.
- noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimInventoryItemsNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInventoryItemsNotesCreate``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `DcimInventoryItemsNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInventoryItemsNotesCreate`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this inventory item. |
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiDcimInventoryItemsNotesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInterfacesPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **noteInputRequest** | [**NoteInputRequest**](NoteInputRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **patchedWritableInterfaceRequest** | [**PatchedWritableInterfaceRequest**](PatchedWritableInterfaceRequest.md) | |
### Return type
-[**Note**](Note.md)
+[**Interface**](Interface.md)
### Authorization
@@ -21438,9 +20074,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimInventoryItemsNotesList
+## DcimInterfacesRetrieve
-> PaginatedNoteList DcimInventoryItemsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> Interface DcimInterfacesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -21459,21 +20095,20 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this inventory item.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this interface.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- limit := int32(56) // int32 | Number of results to return per page. (optional)
- offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimInventoryItemsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInterfacesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInventoryItemsNotesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfacesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimInventoryItemsNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInventoryItemsNotesList`: %v\n", resp)
+ // response from `DcimInterfacesRetrieve`: Interface
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInterfacesRetrieve`: %v\n", resp)
}
```
@@ -21483,24 +20118,23 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this inventory item. |
+**id** | **string** | A UUID string identifying this interface. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimInventoryItemsNotesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInterfacesRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **limit** | **int32** | Number of results to return per page. |
- **offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PaginatedNoteList**](PaginatedNoteList.md)
+[**Interface**](Interface.md)
### Authorization
@@ -21516,83 +20150,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimInventoryItemsPartialUpdate
-
-> InventoryItem DcimInventoryItemsPartialUpdate(ctx, id).Format(format).PatchedInventoryItemRequest(patchedInventoryItemRequest).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this inventory item.
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- patchedInventoryItemRequest := *openapiclient.NewPatchedInventoryItemRequest() // PatchedInventoryItemRequest | (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimInventoryItemsPartialUpdate(context.Background(), id).Format(format).PatchedInventoryItemRequest(patchedInventoryItemRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInventoryItemsPartialUpdate``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `DcimInventoryItemsPartialUpdate`: InventoryItem
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInventoryItemsPartialUpdate`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this inventory item. |
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiDcimInventoryItemsPartialUpdateRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **patchedInventoryItemRequest** | [**PatchedInventoryItemRequest**](PatchedInventoryItemRequest.md) | |
-
-### Return type
-
-[**InventoryItem**](InventoryItem.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: application/json, text/csv
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## DcimInventoryItemsRetrieve
+## DcimInterfacesTraceRetrieve
-> InventoryItem DcimInventoryItemsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> Interface DcimInterfacesTraceRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -21611,19 +20171,20 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this inventory item.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this interface.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimInventoryItemsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInterfacesTraceRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInventoryItemsRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfacesTraceRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimInventoryItemsRetrieve`: InventoryItem
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInventoryItemsRetrieve`: %v\n", resp)
+ // response from `DcimInterfacesTraceRetrieve`: Interface
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInterfacesTraceRetrieve`: %v\n", resp)
}
```
@@ -21633,11 +20194,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this inventory item. |
+**id** | **string** | A UUID string identifying this interface. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimInventoryItemsRetrieveRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInterfacesTraceRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -21645,10 +20206,11 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**InventoryItem**](InventoryItem.md)
+[**Interface**](Interface.md)
### Authorization
@@ -21664,9 +20226,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimInventoryItemsUpdate
+## DcimInterfacesUpdate
-> InventoryItem DcimInventoryItemsUpdate(ctx, id).InventoryItemRequest(inventoryItemRequest).Format(format).Execute()
+> Interface DcimInterfacesUpdate(ctx, id).WritableInterfaceRequest(writableInterfaceRequest).Format(format).Execute()
@@ -21685,19 +20247,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this inventory item.
- inventoryItemRequest := *openapiclient.NewInventoryItemRequest("Name_example", *openapiclient.NewBulkWritableCableRequestStatus()) // InventoryItemRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this interface.
+ writableInterfaceRequest := *openapiclient.NewWritableInterfaceRequest("Name_example", openapiclient.InterfaceTypeChoices("virtual"), *openapiclient.NewBulkWritableCableRequestStatus()) // WritableInterfaceRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimInventoryItemsUpdate(context.Background(), id).InventoryItemRequest(inventoryItemRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInterfacesUpdate(context.Background(), id).WritableInterfaceRequest(writableInterfaceRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInventoryItemsUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInterfacesUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimInventoryItemsUpdate`: InventoryItem
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInventoryItemsUpdate`: %v\n", resp)
+ // response from `DcimInterfacesUpdate`: Interface
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInterfacesUpdate`: %v\n", resp)
}
```
@@ -21707,22 +20269,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this inventory item. |
+**id** | **string** | A UUID string identifying this interface. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimInventoryItemsUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInterfacesUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **inventoryItemRequest** | [**InventoryItemRequest**](InventoryItemRequest.md) | |
+ **writableInterfaceRequest** | [**WritableInterfaceRequest**](WritableInterfaceRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**InventoryItem**](InventoryItem.md)
+[**Interface**](Interface.md)
### Authorization
@@ -21738,9 +20300,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimLocationTypesBulkDestroy
+## DcimInventoryItemsBulkDestroy
-> DcimLocationTypesBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+> DcimInventoryItemsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
@@ -21764,9 +20326,9 @@ func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimLocationTypesBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimInventoryItemsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationTypesBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInventoryItemsBulkDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -21778,7 +20340,7 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimLocationTypesBulkDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInventoryItemsBulkDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -21804,9 +20366,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimLocationTypesBulkPartialUpdate
+## DcimInventoryItemsBulkPartialUpdate
-> []LocationType DcimLocationTypesBulkPartialUpdate(ctx).PatchedBulkWritableLocationTypeRequest(patchedBulkWritableLocationTypeRequest).Format(format).Execute()
+> []InventoryItem DcimInventoryItemsBulkPartialUpdate(ctx).PatchedBulkWritableInventoryItemRequest(patchedBulkWritableInventoryItemRequest).Format(format).Execute()
@@ -21825,18 +20387,18 @@ import (
)
func main() {
- patchedBulkWritableLocationTypeRequest := []openapiclient.PatchedBulkWritableLocationTypeRequest{*openapiclient.NewPatchedBulkWritableLocationTypeRequest("Id_example")} // []PatchedBulkWritableLocationTypeRequest |
+ patchedBulkWritableInventoryItemRequest := []openapiclient.PatchedBulkWritableInventoryItemRequest{*openapiclient.NewPatchedBulkWritableInventoryItemRequest("Id_example")} // []PatchedBulkWritableInventoryItemRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimLocationTypesBulkPartialUpdate(context.Background()).PatchedBulkWritableLocationTypeRequest(patchedBulkWritableLocationTypeRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInventoryItemsBulkPartialUpdate(context.Background()).PatchedBulkWritableInventoryItemRequest(patchedBulkWritableInventoryItemRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationTypesBulkPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInventoryItemsBulkPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimLocationTypesBulkPartialUpdate`: []LocationType
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationTypesBulkPartialUpdate`: %v\n", resp)
+ // response from `DcimInventoryItemsBulkPartialUpdate`: []InventoryItem
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInventoryItemsBulkPartialUpdate`: %v\n", resp)
}
```
@@ -21846,17 +20408,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimLocationTypesBulkPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInventoryItemsBulkPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **patchedBulkWritableLocationTypeRequest** | [**[]PatchedBulkWritableLocationTypeRequest**](PatchedBulkWritableLocationTypeRequest.md) | |
+ **patchedBulkWritableInventoryItemRequest** | [**[]PatchedBulkWritableInventoryItemRequest**](PatchedBulkWritableInventoryItemRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]LocationType**](LocationType.md)
+[**[]InventoryItem**](InventoryItem.md)
### Authorization
@@ -21872,9 +20434,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimLocationTypesBulkUpdate
+## DcimInventoryItemsBulkUpdate
-> []LocationType DcimLocationTypesBulkUpdate(ctx).BulkWritableLocationTypeRequest(bulkWritableLocationTypeRequest).Format(format).Execute()
+> []InventoryItem DcimInventoryItemsBulkUpdate(ctx).BulkWritableInventoryItemRequest(bulkWritableInventoryItemRequest).Format(format).Execute()
@@ -21893,18 +20455,18 @@ import (
)
func main() {
- bulkWritableLocationTypeRequest := []openapiclient.BulkWritableLocationTypeRequest{*openapiclient.NewBulkWritableLocationTypeRequest("Id_example", "Name_example")} // []BulkWritableLocationTypeRequest |
+ bulkWritableInventoryItemRequest := []openapiclient.BulkWritableInventoryItemRequest{*openapiclient.NewBulkWritableInventoryItemRequest("Id_example", "Name_example", *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritableInventoryItemRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimLocationTypesBulkUpdate(context.Background()).BulkWritableLocationTypeRequest(bulkWritableLocationTypeRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInventoryItemsBulkUpdate(context.Background()).BulkWritableInventoryItemRequest(bulkWritableInventoryItemRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationTypesBulkUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInventoryItemsBulkUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimLocationTypesBulkUpdate`: []LocationType
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationTypesBulkUpdate`: %v\n", resp)
+ // response from `DcimInventoryItemsBulkUpdate`: []InventoryItem
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInventoryItemsBulkUpdate`: %v\n", resp)
}
```
@@ -21914,17 +20476,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimLocationTypesBulkUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInventoryItemsBulkUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **bulkWritableLocationTypeRequest** | [**[]BulkWritableLocationTypeRequest**](BulkWritableLocationTypeRequest.md) | |
+ **bulkWritableInventoryItemRequest** | [**[]BulkWritableInventoryItemRequest**](BulkWritableInventoryItemRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]LocationType**](LocationType.md)
+[**[]InventoryItem**](InventoryItem.md)
### Authorization
@@ -21940,9 +20502,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimLocationTypesCreate
+## DcimInventoryItemsCreate
-> LocationType DcimLocationTypesCreate(ctx).LocationTypeRequest(locationTypeRequest).Format(format).Execute()
+> InventoryItem DcimInventoryItemsCreate(ctx).InventoryItemRequest(inventoryItemRequest).Format(format).Execute()
@@ -21961,18 +20523,18 @@ import (
)
func main() {
- locationTypeRequest := *openapiclient.NewLocationTypeRequest("Name_example") // LocationTypeRequest |
+ inventoryItemRequest := *openapiclient.NewInventoryItemRequest("Name_example", *openapiclient.NewBulkWritableCableRequestStatus()) // InventoryItemRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimLocationTypesCreate(context.Background()).LocationTypeRequest(locationTypeRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInventoryItemsCreate(context.Background()).InventoryItemRequest(inventoryItemRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationTypesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInventoryItemsCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimLocationTypesCreate`: LocationType
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationTypesCreate`: %v\n", resp)
+ // response from `DcimInventoryItemsCreate`: InventoryItem
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInventoryItemsCreate`: %v\n", resp)
}
```
@@ -21982,17 +20544,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimLocationTypesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInventoryItemsCreateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **locationTypeRequest** | [**LocationTypeRequest**](LocationTypeRequest.md) | |
+ **inventoryItemRequest** | [**InventoryItemRequest**](InventoryItemRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**LocationType**](LocationType.md)
+[**InventoryItem**](InventoryItem.md)
### Authorization
@@ -22008,9 +20570,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimLocationTypesDestroy
+## DcimInventoryItemsDestroy
-> DcimLocationTypesDestroy(ctx, id).Format(format).Execute()
+> DcimInventoryItemsDestroy(ctx, id).Format(format).Execute()
@@ -22029,14 +20591,14 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this location type.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this inventory item.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimLocationTypesDestroy(context.Background(), id).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimInventoryItemsDestroy(context.Background(), id).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationTypesDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInventoryItemsDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -22048,11 +20610,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this location type. |
+**id** | **string** | A UUID string identifying this inventory item. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimLocationTypesDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInventoryItemsDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -22078,9 +20640,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimLocationTypesList
+## DcimInventoryItemsList
-> PaginatedLocationTypeList DcimLocationTypesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesIc(contentTypesIc).ContentTypesIe(contentTypesIe).ContentTypesIew(contentTypesIew).ContentTypesIre(contentTypesIre).ContentTypesIsw(contentTypesIsw).ContentTypesN(contentTypesN).ContentTypesNic(contentTypesNic).ContentTypesNie(contentTypesNie).ContentTypesNiew(contentTypesNiew).ContentTypesNire(contentTypesNire).ContentTypesNisw(contentTypesNisw).ContentTypesNre(contentTypesNre).ContentTypesRe(contentTypesRe).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Nestable(nestable).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedInventoryItemList DcimInventoryItemsList(ctx).AssetTag(assetTag).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIre(assetTagIre).AssetTagIsnull(assetTagIsnull).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNire(assetTagNire).AssetTagNisw(assetTagNisw).AssetTagNre(assetTagNre).AssetTagRe(assetTagRe).Children(children).ChildrenIsnull(childrenIsnull).ChildrenN(childrenN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DeviceN(deviceN).Discovered(discovered).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasChildren(hasChildren).HasSoftwareImageFiles(hasSoftwareImageFiles).HasSoftwareVersion(hasSoftwareVersion).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).Manufacturer(manufacturer).ManufacturerIsnull(manufacturerIsnull).ManufacturerN(manufacturerN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).PartId(partId).PartIdIc(partIdIc).PartIdIe(partIdIe).PartIdIew(partIdIew).PartIdIre(partIdIre).PartIdIsw(partIdIsw).PartIdN(partIdN).PartIdNic(partIdNic).PartIdNie(partIdNie).PartIdNiew(partIdNiew).PartIdNire(partIdNire).PartIdNisw(partIdNisw).PartIdNre(partIdNre).PartIdRe(partIdRe).Q(q).Serial(serial).SerialIc(serialIc).SerialIe(serialIe).SerialIew(serialIew).SerialIre(serialIre).SerialIsw(serialIsw).SerialN(serialN).SerialNic(serialNic).SerialNie(serialNie).SerialNiew(serialNiew).SerialNire(serialNire).SerialNisw(serialNisw).SerialNre(serialNre).SerialRe(serialRe).SoftwareImageFiles(softwareImageFiles).SoftwareImageFilesN(softwareImageFilesN).SoftwareVersion(softwareVersion).SoftwareVersionIsnull(softwareVersionIsnull).SoftwareVersionN(softwareVersionN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -22095,35 +20657,31 @@ import (
"context"
"fmt"
"os"
- "time"
openapiclient "github.com/nautobot/go-nautobot/v2"
)
func main() {
+ assetTag := []string{"Inner_example"} // []string | (optional)
+ assetTagIc := []string{"Inner_example"} // []string | (optional)
+ assetTagIe := []string{"Inner_example"} // []string | (optional)
+ assetTagIew := []string{"Inner_example"} // []string | (optional)
+ assetTagIre := []string{"Inner_example"} // []string | (optional)
+ assetTagIsnull := true // bool | (optional)
+ assetTagIsw := []string{"Inner_example"} // []string | (optional)
+ assetTagN := []string{"Inner_example"} // []string | (optional)
+ assetTagNic := []string{"Inner_example"} // []string | (optional)
+ assetTagNie := []string{"Inner_example"} // []string | (optional)
+ assetTagNiew := []string{"Inner_example"} // []string | (optional)
+ assetTagNire := []string{"Inner_example"} // []string | (optional)
+ assetTagNisw := []string{"Inner_example"} // []string | (optional)
+ assetTagNre := []string{"Inner_example"} // []string | (optional)
+ assetTagRe := []string{"Inner_example"} // []string | (optional)
+ children := []string{"Inner_example"} // []string | (optional)
+ childrenIsnull := true // bool | Child items (name or ID) is null (optional)
+ childrenN := []string{"Inner_example"} // []string | (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
- contentTypes := []int32{int32(123)} // []int32 | (optional)
- contentTypesIc := []int32{int32(123)} // []int32 | (optional)
- contentTypesIe := []int32{int32(123)} // []int32 | (optional)
- contentTypesIew := []int32{int32(123)} // []int32 | (optional)
- contentTypesIre := []int32{int32(123)} // []int32 | (optional)
- contentTypesIsw := []int32{int32(123)} // []int32 | (optional)
- contentTypesN := []int32{int32(123)} // []int32 | (optional)
- contentTypesNic := []int32{int32(123)} // []int32 | (optional)
- contentTypesNie := []int32{int32(123)} // []int32 | (optional)
- contentTypesNiew := []int32{int32(123)} // []int32 | (optional)
- contentTypesNire := []int32{int32(123)} // []int32 | (optional)
- contentTypesNisw := []int32{int32(123)} // []int32 | (optional)
- contentTypesNre := []int32{int32(123)} // []int32 | (optional)
- contentTypesRe := []int32{int32(123)} // []int32 | (optional)
- created := []time.Time{time.Now()} // []time.Time | (optional)
- createdGt := []time.Time{time.Now()} // []time.Time | (optional)
- createdGte := []time.Time{time.Now()} // []time.Time | (optional)
- createdIsnull := true // bool | (optional)
- createdLt := []time.Time{time.Now()} // []time.Time | (optional)
- createdLte := []time.Time{time.Now()} // []time.Time | (optional)
- createdN := []time.Time{time.Now()} // []time.Time | (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
description := []string{"Inner_example"} // []string | (optional)
descriptionIc := []string{"Inner_example"} // []string | (optional)
descriptionIe := []string{"Inner_example"} // []string | (optional)
@@ -22138,31 +20696,37 @@ func main() {
descriptionNisw := []string{"Inner_example"} // []string | (optional)
descriptionNre := []string{"Inner_example"} // []string | (optional)
descriptionRe := []string{"Inner_example"} // []string | (optional)
+ device := []string{"Inner_example"} // []string | (optional)
+ deviceN := []string{"Inner_example"} // []string | (optional)
+ discovered := true // bool | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ hasChildren := true // bool | Has child items (optional)
+ hasSoftwareImageFiles := true // bool | Has software image files (optional)
+ hasSoftwareVersion := true // bool | Has software version (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
- lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
- lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
- lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
- lastUpdatedIsnull := true // bool | (optional)
- lastUpdatedLt := []time.Time{time.Now()} // []time.Time | (optional)
- lastUpdatedLte := []time.Time{time.Now()} // []time.Time | (optional)
- lastUpdatedN := []time.Time{time.Now()} // []time.Time | (optional)
+ label := []string{"Inner_example"} // []string | (optional)
+ labelIc := []string{"Inner_example"} // []string | (optional)
+ labelIe := []string{"Inner_example"} // []string | (optional)
+ labelIew := []string{"Inner_example"} // []string | (optional)
+ labelIre := []string{"Inner_example"} // []string | (optional)
+ labelIsw := []string{"Inner_example"} // []string | (optional)
+ labelN := []string{"Inner_example"} // []string | (optional)
+ labelNic := []string{"Inner_example"} // []string | (optional)
+ labelNie := []string{"Inner_example"} // []string | (optional)
+ labelNiew := []string{"Inner_example"} // []string | (optional)
+ labelNire := []string{"Inner_example"} // []string | (optional)
+ labelNisw := []string{"Inner_example"} // []string | (optional)
+ labelNre := []string{"Inner_example"} // []string | (optional)
+ labelRe := []string{"Inner_example"} // []string | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
+ location := []string{"Inner_example"} // []string | (optional)
+ locationN := []string{"Inner_example"} // []string | (optional)
+ manufacturer := []string{"Inner_example"} // []string | (optional)
+ manufacturerIsnull := true // bool | Manufacturer (name or ID) is null (optional)
+ manufacturerN := []string{"Inner_example"} // []string | (optional)
name := []string{"Inner_example"} // []string | (optional)
nameIc := []string{"Inner_example"} // []string | (optional)
nameIe := []string{"Inner_example"} // []string | (optional)
@@ -22177,27 +20741,63 @@ func main() {
nameNisw := []string{"Inner_example"} // []string | (optional)
nameNre := []string{"Inner_example"} // []string | (optional)
nameRe := []string{"Inner_example"} // []string | (optional)
- nestable := true // bool | (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
parent := []string{"Inner_example"} // []string | (optional)
- parentIsnull := true // bool | Parent location type (name or ID) is null (optional)
+ parentIsnull := true // bool | Parent items (name or ID) is null (optional)
parentN := []string{"Inner_example"} // []string | (optional)
+ partId := []string{"Inner_example"} // []string | (optional)
+ partIdIc := []string{"Inner_example"} // []string | (optional)
+ partIdIe := []string{"Inner_example"} // []string | (optional)
+ partIdIew := []string{"Inner_example"} // []string | (optional)
+ partIdIre := []string{"Inner_example"} // []string | (optional)
+ partIdIsw := []string{"Inner_example"} // []string | (optional)
+ partIdN := []string{"Inner_example"} // []string | (optional)
+ partIdNic := []string{"Inner_example"} // []string | (optional)
+ partIdNie := []string{"Inner_example"} // []string | (optional)
+ partIdNiew := []string{"Inner_example"} // []string | (optional)
+ partIdNire := []string{"Inner_example"} // []string | (optional)
+ partIdNisw := []string{"Inner_example"} // []string | (optional)
+ partIdNre := []string{"Inner_example"} // []string | (optional)
+ partIdRe := []string{"Inner_example"} // []string | (optional)
q := "q_example" // string | Search (optional)
+ serial := []string{"Inner_example"} // []string | (optional)
+ serialIc := []string{"Inner_example"} // []string | (optional)
+ serialIe := []string{"Inner_example"} // []string | (optional)
+ serialIew := []string{"Inner_example"} // []string | (optional)
+ serialIre := []string{"Inner_example"} // []string | (optional)
+ serialIsw := []string{"Inner_example"} // []string | (optional)
+ serialN := []string{"Inner_example"} // []string | (optional)
+ serialNic := []string{"Inner_example"} // []string | (optional)
+ serialNie := []string{"Inner_example"} // []string | (optional)
+ serialNiew := []string{"Inner_example"} // []string | (optional)
+ serialNire := []string{"Inner_example"} // []string | (optional)
+ serialNisw := []string{"Inner_example"} // []string | (optional)
+ serialNre := []string{"Inner_example"} // []string | (optional)
+ serialRe := []string{"Inner_example"} // []string | (optional)
+ softwareImageFiles := []string{"Inner_example"} // []string | (optional)
+ softwareImageFilesN := []string{"Inner_example"} // []string | (optional)
+ softwareVersion := []string{"Inner_example"} // []string | (optional)
+ softwareVersionIsnull := true // bool | Software version (version or ID) is null (optional)
+ softwareVersionN := []string{"Inner_example"} // []string | (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
+ tags := []string{"Inner_example"} // []string | (optional)
+ tagsIsnull := true // bool | (optional)
+ tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimLocationTypesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesIc(contentTypesIc).ContentTypesIe(contentTypesIe).ContentTypesIew(contentTypesIew).ContentTypesIre(contentTypesIre).ContentTypesIsw(contentTypesIsw).ContentTypesN(contentTypesN).ContentTypesNic(contentTypesNic).ContentTypesNie(contentTypesNie).ContentTypesNiew(contentTypesNiew).ContentTypesNire(contentTypesNire).ContentTypesNisw(contentTypesNisw).ContentTypesNre(contentTypesNre).ContentTypesRe(contentTypesRe).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Nestable(nestable).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInventoryItemsList(context.Background()).AssetTag(assetTag).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIre(assetTagIre).AssetTagIsnull(assetTagIsnull).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNire(assetTagNire).AssetTagNisw(assetTagNisw).AssetTagNre(assetTagNre).AssetTagRe(assetTagRe).Children(children).ChildrenIsnull(childrenIsnull).ChildrenN(childrenN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DeviceN(deviceN).Discovered(discovered).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasChildren(hasChildren).HasSoftwareImageFiles(hasSoftwareImageFiles).HasSoftwareVersion(hasSoftwareVersion).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).Manufacturer(manufacturer).ManufacturerIsnull(manufacturerIsnull).ManufacturerN(manufacturerN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).PartId(partId).PartIdIc(partIdIc).PartIdIe(partIdIe).PartIdIew(partIdIew).PartIdIre(partIdIre).PartIdIsw(partIdIsw).PartIdN(partIdN).PartIdNic(partIdNic).PartIdNie(partIdNie).PartIdNiew(partIdNiew).PartIdNire(partIdNire).PartIdNisw(partIdNisw).PartIdNre(partIdNre).PartIdRe(partIdRe).Q(q).Serial(serial).SerialIc(serialIc).SerialIe(serialIe).SerialIew(serialIew).SerialIre(serialIre).SerialIsw(serialIsw).SerialN(serialN).SerialNic(serialNic).SerialNie(serialNie).SerialNiew(serialNiew).SerialNire(serialNire).SerialNisw(serialNisw).SerialNre(serialNre).SerialRe(serialRe).SoftwareImageFiles(softwareImageFiles).SoftwareImageFilesN(softwareImageFilesN).SoftwareVersion(softwareVersion).SoftwareVersionIsnull(softwareVersionIsnull).SoftwareVersionN(softwareVersionN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationTypesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInventoryItemsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimLocationTypesList`: PaginatedLocationTypeList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationTypesList`: %v\n", resp)
+ // response from `DcimInventoryItemsList`: PaginatedInventoryItemList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInventoryItemsList`: %v\n", resp)
}
```
@@ -22207,35 +20807,32 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimLocationTypesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInventoryItemsListRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
+ **assetTag** | **[]string** | |
+ **assetTagIc** | **[]string** | |
+ **assetTagIe** | **[]string** | |
+ **assetTagIew** | **[]string** | |
+ **assetTagIre** | **[]string** | |
+ **assetTagIsnull** | **bool** | |
+ **assetTagIsw** | **[]string** | |
+ **assetTagN** | **[]string** | |
+ **assetTagNic** | **[]string** | |
+ **assetTagNie** | **[]string** | |
+ **assetTagNiew** | **[]string** | |
+ **assetTagNire** | **[]string** | |
+ **assetTagNisw** | **[]string** | |
+ **assetTagNre** | **[]string** | |
+ **assetTagRe** | **[]string** | |
+ **children** | **[]string** | |
+ **childrenIsnull** | **bool** | Child items (name or ID) is null |
+ **childrenN** | **[]string** | |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
- **contentTypes** | **[]int32** | |
- **contentTypesIc** | **[]int32** | |
- **contentTypesIe** | **[]int32** | |
- **contentTypesIew** | **[]int32** | |
- **contentTypesIre** | **[]int32** | |
- **contentTypesIsw** | **[]int32** | |
- **contentTypesN** | **[]int32** | |
- **contentTypesNic** | **[]int32** | |
- **contentTypesNie** | **[]int32** | |
- **contentTypesNiew** | **[]int32** | |
- **contentTypesNire** | **[]int32** | |
- **contentTypesNisw** | **[]int32** | |
- **contentTypesNre** | **[]int32** | |
- **contentTypesRe** | **[]int32** | |
- **created** | [**[]time.Time**](time.Time.md) | |
- **createdGt** | [**[]time.Time**](time.Time.md) | |
- **createdGte** | [**[]time.Time**](time.Time.md) | |
- **createdIsnull** | **bool** | |
- **createdLt** | [**[]time.Time**](time.Time.md) | |
- **createdLte** | [**[]time.Time**](time.Time.md) | |
- **createdN** | [**[]time.Time**](time.Time.md) | |
+ **contactsN** | **[]string** | |
**description** | **[]string** | |
**descriptionIc** | **[]string** | |
**descriptionIe** | **[]string** | |
@@ -22250,31 +20847,37 @@ Name | Type | Description | Notes
**descriptionNisw** | **[]string** | |
**descriptionNre** | **[]string** | |
**descriptionRe** | **[]string** | |
+ **device** | **[]string** | |
+ **deviceN** | **[]string** | |
+ **discovered** | **bool** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **hasChildren** | **bool** | Has child items |
+ **hasSoftwareImageFiles** | **bool** | Has software image files |
+ **hasSoftwareVersion** | **bool** | Has software version |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
- **lastUpdated** | [**[]time.Time**](time.Time.md) | |
- **lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
- **lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
- **lastUpdatedIsnull** | **bool** | |
- **lastUpdatedLt** | [**[]time.Time**](time.Time.md) | |
- **lastUpdatedLte** | [**[]time.Time**](time.Time.md) | |
- **lastUpdatedN** | [**[]time.Time**](time.Time.md) | |
+ **label** | **[]string** | |
+ **labelIc** | **[]string** | |
+ **labelIe** | **[]string** | |
+ **labelIew** | **[]string** | |
+ **labelIre** | **[]string** | |
+ **labelIsw** | **[]string** | |
+ **labelN** | **[]string** | |
+ **labelNic** | **[]string** | |
+ **labelNie** | **[]string** | |
+ **labelNiew** | **[]string** | |
+ **labelNire** | **[]string** | |
+ **labelNisw** | **[]string** | |
+ **labelNre** | **[]string** | |
+ **labelRe** | **[]string** | |
**limit** | **int32** | Number of results to return per page. |
+ **location** | **[]string** | |
+ **locationN** | **[]string** | |
+ **manufacturer** | **[]string** | |
+ **manufacturerIsnull** | **bool** | Manufacturer (name or ID) is null |
+ **manufacturerN** | **[]string** | |
**name** | **[]string** | |
**nameIc** | **[]string** | |
**nameIe** | **[]string** | |
@@ -22289,21 +20892,57 @@ Name | Type | Description | Notes
**nameNisw** | **[]string** | |
**nameNre** | **[]string** | |
**nameRe** | **[]string** | |
- **nestable** | **bool** | |
**offset** | **int32** | The initial index from which to return the results. |
**parent** | **[]string** | |
- **parentIsnull** | **bool** | Parent location type (name or ID) is null |
+ **parentIsnull** | **bool** | Parent items (name or ID) is null |
**parentN** | **[]string** | |
+ **partId** | **[]string** | |
+ **partIdIc** | **[]string** | |
+ **partIdIe** | **[]string** | |
+ **partIdIew** | **[]string** | |
+ **partIdIre** | **[]string** | |
+ **partIdIsw** | **[]string** | |
+ **partIdN** | **[]string** | |
+ **partIdNic** | **[]string** | |
+ **partIdNie** | **[]string** | |
+ **partIdNiew** | **[]string** | |
+ **partIdNire** | **[]string** | |
+ **partIdNisw** | **[]string** | |
+ **partIdNre** | **[]string** | |
+ **partIdRe** | **[]string** | |
**q** | **string** | Search |
+ **serial** | **[]string** | |
+ **serialIc** | **[]string** | |
+ **serialIe** | **[]string** | |
+ **serialIew** | **[]string** | |
+ **serialIre** | **[]string** | |
+ **serialIsw** | **[]string** | |
+ **serialN** | **[]string** | |
+ **serialNic** | **[]string** | |
+ **serialNie** | **[]string** | |
+ **serialNiew** | **[]string** | |
+ **serialNire** | **[]string** | |
+ **serialNisw** | **[]string** | |
+ **serialNre** | **[]string** | |
+ **serialRe** | **[]string** | |
+ **softwareImageFiles** | **[]string** | |
+ **softwareImageFilesN** | **[]string** | |
+ **softwareVersion** | **[]string** | |
+ **softwareVersionIsnull** | **bool** | Software version (version or ID) is null |
+ **softwareVersionN** | **[]string** | |
**sort** | **string** | Which field to use when ordering the results. |
+ **tags** | **[]string** | |
+ **tagsIsnull** | **bool** | |
+ **tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PaginatedLocationTypeList**](PaginatedLocationTypeList.md)
+[**PaginatedInventoryItemList**](PaginatedInventoryItemList.md)
### Authorization
@@ -22319,9 +20958,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimLocationTypesNotesCreate
+## DcimInventoryItemsNotesCreate
-> Note DcimLocationTypesNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+> Note DcimInventoryItemsNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
@@ -22340,19 +20979,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this location type.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this inventory item.
noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimLocationTypesNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInventoryItemsNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationTypesNotesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInventoryItemsNotesCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimLocationTypesNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationTypesNotesCreate`: %v\n", resp)
+ // response from `DcimInventoryItemsNotesCreate`: Note
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInventoryItemsNotesCreate`: %v\n", resp)
}
```
@@ -22362,11 +21001,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this location type. |
+**id** | **string** | A UUID string identifying this inventory item. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimLocationTypesNotesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInventoryItemsNotesCreateRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -22393,9 +21032,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimLocationTypesNotesList
+## DcimInventoryItemsNotesList
-> PaginatedNoteList DcimLocationTypesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList DcimInventoryItemsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -22414,21 +21053,22 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this location type.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this inventory item.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimLocationTypesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInventoryItemsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationTypesNotesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInventoryItemsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimLocationTypesNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationTypesNotesList`: %v\n", resp)
+ // response from `DcimInventoryItemsNotesList`: PaginatedNoteList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInventoryItemsNotesList`: %v\n", resp)
}
```
@@ -22438,11 +21078,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this location type. |
+**id** | **string** | A UUID string identifying this inventory item. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimLocationTypesNotesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInventoryItemsNotesListRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -22452,6 +21092,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -22471,9 +21112,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimLocationTypesPartialUpdate
+## DcimInventoryItemsPartialUpdate
-> LocationType DcimLocationTypesPartialUpdate(ctx, id).Format(format).PatchedLocationTypeRequest(patchedLocationTypeRequest).Execute()
+> InventoryItem DcimInventoryItemsPartialUpdate(ctx, id).Format(format).PatchedInventoryItemRequest(patchedInventoryItemRequest).Execute()
@@ -22492,19 +21133,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this location type.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this inventory item.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- patchedLocationTypeRequest := *openapiclient.NewPatchedLocationTypeRequest() // PatchedLocationTypeRequest | (optional)
+ patchedInventoryItemRequest := *openapiclient.NewPatchedInventoryItemRequest() // PatchedInventoryItemRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimLocationTypesPartialUpdate(context.Background(), id).Format(format).PatchedLocationTypeRequest(patchedLocationTypeRequest).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInventoryItemsPartialUpdate(context.Background(), id).Format(format).PatchedInventoryItemRequest(patchedInventoryItemRequest).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationTypesPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInventoryItemsPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimLocationTypesPartialUpdate`: LocationType
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationTypesPartialUpdate`: %v\n", resp)
+ // response from `DcimInventoryItemsPartialUpdate`: InventoryItem
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInventoryItemsPartialUpdate`: %v\n", resp)
}
```
@@ -22514,22 +21155,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this location type. |
+**id** | **string** | A UUID string identifying this inventory item. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimLocationTypesPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInventoryItemsPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **patchedLocationTypeRequest** | [**PatchedLocationTypeRequest**](PatchedLocationTypeRequest.md) | |
+ **patchedInventoryItemRequest** | [**PatchedInventoryItemRequest**](PatchedInventoryItemRequest.md) | |
### Return type
-[**LocationType**](LocationType.md)
+[**InventoryItem**](InventoryItem.md)
### Authorization
@@ -22545,9 +21186,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimLocationTypesRetrieve
+## DcimInventoryItemsRetrieve
-> LocationType DcimLocationTypesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> InventoryItem DcimInventoryItemsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -22566,19 +21207,20 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this location type.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this inventory item.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimLocationTypesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInventoryItemsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationTypesRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInventoryItemsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimLocationTypesRetrieve`: LocationType
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationTypesRetrieve`: %v\n", resp)
+ // response from `DcimInventoryItemsRetrieve`: InventoryItem
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInventoryItemsRetrieve`: %v\n", resp)
}
```
@@ -22588,11 +21230,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this location type. |
+**id** | **string** | A UUID string identifying this inventory item. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimLocationTypesRetrieveRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInventoryItemsRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -22600,10 +21242,11 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**LocationType**](LocationType.md)
+[**InventoryItem**](InventoryItem.md)
### Authorization
@@ -22619,9 +21262,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimLocationTypesUpdate
+## DcimInventoryItemsUpdate
-> LocationType DcimLocationTypesUpdate(ctx, id).LocationTypeRequest(locationTypeRequest).Format(format).Execute()
+> InventoryItem DcimInventoryItemsUpdate(ctx, id).InventoryItemRequest(inventoryItemRequest).Format(format).Execute()
@@ -22640,19 +21283,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this location type.
- locationTypeRequest := *openapiclient.NewLocationTypeRequest("Name_example") // LocationTypeRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this inventory item.
+ inventoryItemRequest := *openapiclient.NewInventoryItemRequest("Name_example", *openapiclient.NewBulkWritableCableRequestStatus()) // InventoryItemRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimLocationTypesUpdate(context.Background(), id).LocationTypeRequest(locationTypeRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimInventoryItemsUpdate(context.Background(), id).InventoryItemRequest(inventoryItemRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationTypesUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimInventoryItemsUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimLocationTypesUpdate`: LocationType
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationTypesUpdate`: %v\n", resp)
+ // response from `DcimInventoryItemsUpdate`: InventoryItem
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimInventoryItemsUpdate`: %v\n", resp)
}
```
@@ -22662,22 +21305,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this location type. |
+**id** | **string** | A UUID string identifying this inventory item. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimLocationTypesUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimInventoryItemsUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **locationTypeRequest** | [**LocationTypeRequest**](LocationTypeRequest.md) | |
+ **inventoryItemRequest** | [**InventoryItemRequest**](InventoryItemRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**LocationType**](LocationType.md)
+[**InventoryItem**](InventoryItem.md)
### Authorization
@@ -22693,9 +21336,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimLocationsBulkDestroy
+## DcimLocationTypesBulkDestroy
-> DcimLocationsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+> DcimLocationTypesBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
@@ -22719,9 +21362,9 @@ func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimLocationsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimLocationTypesBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationsBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationTypesBulkDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -22733,7 +21376,7 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimLocationsBulkDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimLocationTypesBulkDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -22759,9 +21402,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimLocationsBulkPartialUpdate
+## DcimLocationTypesBulkPartialUpdate
-> []Location DcimLocationsBulkPartialUpdate(ctx).PatchedBulkWritableLocationRequest(patchedBulkWritableLocationRequest).Format(format).Execute()
+> []LocationType DcimLocationTypesBulkPartialUpdate(ctx).PatchedBulkWritableLocationTypeRequest(patchedBulkWritableLocationTypeRequest).Format(format).Execute()
@@ -22780,18 +21423,18 @@ import (
)
func main() {
- patchedBulkWritableLocationRequest := []openapiclient.PatchedBulkWritableLocationRequest{*openapiclient.NewPatchedBulkWritableLocationRequest("Id_example")} // []PatchedBulkWritableLocationRequest |
+ patchedBulkWritableLocationTypeRequest := []openapiclient.PatchedBulkWritableLocationTypeRequest{*openapiclient.NewPatchedBulkWritableLocationTypeRequest("Id_example")} // []PatchedBulkWritableLocationTypeRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimLocationsBulkPartialUpdate(context.Background()).PatchedBulkWritableLocationRequest(patchedBulkWritableLocationRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimLocationTypesBulkPartialUpdate(context.Background()).PatchedBulkWritableLocationTypeRequest(patchedBulkWritableLocationTypeRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationsBulkPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationTypesBulkPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimLocationsBulkPartialUpdate`: []Location
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationsBulkPartialUpdate`: %v\n", resp)
+ // response from `DcimLocationTypesBulkPartialUpdate`: []LocationType
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationTypesBulkPartialUpdate`: %v\n", resp)
}
```
@@ -22801,17 +21444,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimLocationsBulkPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimLocationTypesBulkPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **patchedBulkWritableLocationRequest** | [**[]PatchedBulkWritableLocationRequest**](PatchedBulkWritableLocationRequest.md) | |
+ **patchedBulkWritableLocationTypeRequest** | [**[]PatchedBulkWritableLocationTypeRequest**](PatchedBulkWritableLocationTypeRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]Location**](Location.md)
+[**[]LocationType**](LocationType.md)
### Authorization
@@ -22827,9 +21470,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimLocationsBulkUpdate
+## DcimLocationTypesBulkUpdate
-> []Location DcimLocationsBulkUpdate(ctx).BulkWritableLocationRequest(bulkWritableLocationRequest).Format(format).Execute()
+> []LocationType DcimLocationTypesBulkUpdate(ctx).BulkWritableLocationTypeRequest(bulkWritableLocationTypeRequest).Format(format).Execute()
@@ -22848,18 +21491,18 @@ import (
)
func main() {
- bulkWritableLocationRequest := []openapiclient.BulkWritableLocationRequest{*openapiclient.NewBulkWritableLocationRequest("Id_example", "Name_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritableLocationRequest |
+ bulkWritableLocationTypeRequest := []openapiclient.BulkWritableLocationTypeRequest{*openapiclient.NewBulkWritableLocationTypeRequest("Id_example", "Name_example")} // []BulkWritableLocationTypeRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimLocationsBulkUpdate(context.Background()).BulkWritableLocationRequest(bulkWritableLocationRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimLocationTypesBulkUpdate(context.Background()).BulkWritableLocationTypeRequest(bulkWritableLocationTypeRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationsBulkUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationTypesBulkUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimLocationsBulkUpdate`: []Location
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationsBulkUpdate`: %v\n", resp)
+ // response from `DcimLocationTypesBulkUpdate`: []LocationType
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationTypesBulkUpdate`: %v\n", resp)
}
```
@@ -22869,17 +21512,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimLocationsBulkUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimLocationTypesBulkUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **bulkWritableLocationRequest** | [**[]BulkWritableLocationRequest**](BulkWritableLocationRequest.md) | |
+ **bulkWritableLocationTypeRequest** | [**[]BulkWritableLocationTypeRequest**](BulkWritableLocationTypeRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]Location**](Location.md)
+[**[]LocationType**](LocationType.md)
### Authorization
@@ -22895,9 +21538,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimLocationsCreate
+## DcimLocationTypesCreate
-> Location DcimLocationsCreate(ctx).LocationRequest(locationRequest).Format(format).Execute()
+> LocationType DcimLocationTypesCreate(ctx).LocationTypeRequest(locationTypeRequest).Format(format).Execute()
@@ -22916,18 +21559,18 @@ import (
)
func main() {
- locationRequest := *openapiclient.NewLocationRequest("Name_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // LocationRequest |
+ locationTypeRequest := *openapiclient.NewLocationTypeRequest("Name_example") // LocationTypeRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimLocationsCreate(context.Background()).LocationRequest(locationRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimLocationTypesCreate(context.Background()).LocationTypeRequest(locationTypeRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationsCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationTypesCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimLocationsCreate`: Location
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationsCreate`: %v\n", resp)
+ // response from `DcimLocationTypesCreate`: LocationType
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationTypesCreate`: %v\n", resp)
}
```
@@ -22937,17 +21580,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimLocationsCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimLocationTypesCreateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **locationRequest** | [**LocationRequest**](LocationRequest.md) | |
+ **locationTypeRequest** | [**LocationTypeRequest**](LocationTypeRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**Location**](Location.md)
+[**LocationType**](LocationType.md)
### Authorization
@@ -22963,9 +21606,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimLocationsDestroy
+## DcimLocationTypesDestroy
-> DcimLocationsDestroy(ctx, id).Format(format).Execute()
+> DcimLocationTypesDestroy(ctx, id).Format(format).Execute()
@@ -22984,14 +21627,14 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this location.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this location type.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimLocationsDestroy(context.Background(), id).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimLocationTypesDestroy(context.Background(), id).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationsDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationTypesDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -23003,11 +21646,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this location. |
+**id** | **string** | A UUID string identifying this location type. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimLocationsDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimLocationTypesDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -23033,9 +21676,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimLocationsList
+## DcimLocationTypesList
-> PaginatedLocationList DcimLocationsList(ctx).Asn(asn).AsnGt(asnGt).AsnGte(asnGte).AsnIsnull(asnIsnull).AsnLt(asnLt).AsnLte(asnLte).AsnN(asnN).ChildLocationType(childLocationType).CircuitTerminations(circuitTerminations).CircuitTerminationsIsnull(circuitTerminationsIsnull).CircuitTerminationsN(circuitTerminationsN).Clusters(clusters).ClustersIsnull(clustersIsnull).ClustersN(clustersN).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).ContactEmail(contactEmail).ContactEmailIc(contactEmailIc).ContactEmailIe(contactEmailIe).ContactEmailIew(contactEmailIew).ContactEmailIre(contactEmailIre).ContactEmailIsw(contactEmailIsw).ContactEmailN(contactEmailN).ContactEmailNic(contactEmailNic).ContactEmailNie(contactEmailNie).ContactEmailNiew(contactEmailNiew).ContactEmailNire(contactEmailNire).ContactEmailNisw(contactEmailNisw).ContactEmailNre(contactEmailNre).ContactEmailRe(contactEmailRe).ContactName(contactName).ContactNameIc(contactNameIc).ContactNameIe(contactNameIe).ContactNameIew(contactNameIew).ContactNameIre(contactNameIre).ContactNameIsw(contactNameIsw).ContactNameN(contactNameN).ContactNameNic(contactNameNic).ContactNameNie(contactNameNie).ContactNameNiew(contactNameNiew).ContactNameNire(contactNameNire).ContactNameNisw(contactNameNisw).ContactNameNre(contactNameNre).ContactNameRe(contactNameRe).ContactPhone(contactPhone).ContactPhoneIc(contactPhoneIc).ContactPhoneIe(contactPhoneIe).ContactPhoneIew(contactPhoneIew).ContactPhoneIre(contactPhoneIre).ContactPhoneIsw(contactPhoneIsw).ContactPhoneN(contactPhoneN).ContactPhoneNic(contactPhoneNic).ContactPhoneNie(contactPhoneNie).ContactPhoneNiew(contactPhoneNiew).ContactPhoneNire(contactPhoneNire).ContactPhoneNisw(contactPhoneNisw).ContactPhoneNre(contactPhoneNre).ContactPhoneRe(contactPhoneRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentType(contentType).ContentTypeIc(contentTypeIc).ContentTypeIe(contentTypeIe).ContentTypeIew(contentTypeIew).ContentTypeIre(contentTypeIre).ContentTypeIsw(contentTypeIsw).ContentTypeN(contentTypeN).ContentTypeNic(contentTypeNic).ContentTypeNie(contentTypeNie).ContentTypeNiew(contentTypeNiew).ContentTypeNire(contentTypeNire).ContentTypeNisw(contentTypeNisw).ContentTypeNre(contentTypeNre).ContentTypeRe(contentTypeRe).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Devices(devices).DevicesIsnull(devicesIsnull).DevicesN(devicesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Facility(facility).FacilityIc(facilityIc).FacilityIe(facilityIe).FacilityIew(facilityIew).FacilityIre(facilityIre).FacilityIsw(facilityIsw).FacilityN(facilityN).FacilityNic(facilityNic).FacilityNie(facilityNie).FacilityNiew(facilityNiew).FacilityNire(facilityNire).FacilityNisw(facilityNisw).FacilityNre(facilityNre).FacilityRe(facilityRe).Format(format).HasCircuitTerminations(hasCircuitTerminations).HasClusters(hasClusters).HasDevices(hasDevices).HasPowerPanels(hasPowerPanels).HasPrefixes(hasPrefixes).HasRackGroups(hasRackGroups).HasRacks(hasRacks).HasVlanGroups(hasVlanGroups).HasVlans(hasVlans).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Latitude(latitude).LatitudeGt(latitudeGt).LatitudeGte(latitudeGte).LatitudeIsnull(latitudeIsnull).LatitudeLt(latitudeLt).LatitudeLte(latitudeLte).LatitudeN(latitudeN).Limit(limit).LocationType(locationType).LocationTypeN(locationTypeN).Longitude(longitude).LongitudeGt(longitudeGt).LongitudeGte(longitudeGte).LongitudeIsnull(longitudeIsnull).LongitudeLt(longitudeLt).LongitudeLte(longitudeLte).LongitudeN(longitudeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).PhysicalAddress(physicalAddress).PhysicalAddressIc(physicalAddressIc).PhysicalAddressIe(physicalAddressIe).PhysicalAddressIew(physicalAddressIew).PhysicalAddressIre(physicalAddressIre).PhysicalAddressIsw(physicalAddressIsw).PhysicalAddressN(physicalAddressN).PhysicalAddressNic(physicalAddressNic).PhysicalAddressNie(physicalAddressNie).PhysicalAddressNiew(physicalAddressNiew).PhysicalAddressNire(physicalAddressNire).PhysicalAddressNisw(physicalAddressNisw).PhysicalAddressNre(physicalAddressNre).PhysicalAddressRe(physicalAddressRe).PowerPanels(powerPanels).PowerPanelsIsnull(powerPanelsIsnull).PowerPanelsN(powerPanelsN).Prefixes(prefixes).PrefixesIsnull(prefixesIsnull).PrefixesN(prefixesN).Q(q).RackGroups(rackGroups).RackGroupsIsnull(rackGroupsIsnull).RackGroupsN(rackGroupsN).Racks(racks).RacksIsnull(racksIsnull).RacksN(racksN).ShippingAddress(shippingAddress).ShippingAddressIc(shippingAddressIc).ShippingAddressIe(shippingAddressIe).ShippingAddressIew(shippingAddressIew).ShippingAddressIre(shippingAddressIre).ShippingAddressIsw(shippingAddressIsw).ShippingAddressN(shippingAddressN).ShippingAddressNic(shippingAddressNic).ShippingAddressNie(shippingAddressNie).ShippingAddressNiew(shippingAddressNiew).ShippingAddressNire(shippingAddressNire).ShippingAddressNisw(shippingAddressNisw).ShippingAddressNre(shippingAddressNre).ShippingAddressRe(shippingAddressRe).Sort(sort).Status(status).StatusN(statusN).Subtree(subtree).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).TimeZone(timeZone).TimeZoneIc(timeZoneIc).TimeZoneIe(timeZoneIe).TimeZoneIew(timeZoneIew).TimeZoneIre(timeZoneIre).TimeZoneIsw(timeZoneIsw).TimeZoneN(timeZoneN).TimeZoneNic(timeZoneNic).TimeZoneNie(timeZoneNie).TimeZoneNiew(timeZoneNiew).TimeZoneNire(timeZoneNire).TimeZoneNisw(timeZoneNisw).TimeZoneNre(timeZoneNre).TimeZoneRe(timeZoneRe).VlanGroups(vlanGroups).VlanGroupsIsnull(vlanGroupsIsnull).VlanGroupsN(vlanGroupsN).Vlans(vlans).VlansIsnull(vlansIsnull).VlansN(vlansN).Depth(depth).Execute()
+> PaginatedLocationTypeList DcimLocationTypesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesN(contentTypesN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Nestable(nestable).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -23055,93 +21698,11 @@ import (
)
func main() {
- asn := []int32{int32(123)} // []int32 | (optional)
- asnGt := []int32{int32(123)} // []int32 | (optional)
- asnGte := []int32{int32(123)} // []int32 | (optional)
- asnIsnull := true // bool | (optional)
- asnLt := []int32{int32(123)} // []int32 | (optional)
- asnLte := []int32{int32(123)} // []int32 | (optional)
- asnN := []int32{int32(123)} // []int32 | (optional)
- childLocationType := []string{"Inner_example"} // []string | (optional)
- circuitTerminations := []string{"Inner_example"} // []string | (optional)
- circuitTerminationsIsnull := true // bool | (optional)
- circuitTerminationsN := []string{"Inner_example"} // []string | (optional)
- clusters := []string{"Inner_example"} // []string | (optional)
- clustersIsnull := true // bool | Clusters (name or ID) is null (optional)
- clustersN := []string{"Inner_example"} // []string | (optional)
- comments := []string{"Inner_example"} // []string | (optional)
- commentsIc := []string{"Inner_example"} // []string | (optional)
- commentsIe := []string{"Inner_example"} // []string | (optional)
- commentsIew := []string{"Inner_example"} // []string | (optional)
- commentsIre := []string{"Inner_example"} // []string | (optional)
- commentsIsw := []string{"Inner_example"} // []string | (optional)
- commentsN := []string{"Inner_example"} // []string | (optional)
- commentsNic := []string{"Inner_example"} // []string | (optional)
- commentsNie := []string{"Inner_example"} // []string | (optional)
- commentsNiew := []string{"Inner_example"} // []string | (optional)
- commentsNire := []string{"Inner_example"} // []string | (optional)
- commentsNisw := []string{"Inner_example"} // []string | (optional)
- commentsNre := []string{"Inner_example"} // []string | (optional)
- commentsRe := []string{"Inner_example"} // []string | (optional)
- contactEmail := []string{"Inner_example"} // []string | (optional)
- contactEmailIc := []string{"Inner_example"} // []string | (optional)
- contactEmailIe := []string{"Inner_example"} // []string | (optional)
- contactEmailIew := []string{"Inner_example"} // []string | (optional)
- contactEmailIre := []string{"Inner_example"} // []string | (optional)
- contactEmailIsw := []string{"Inner_example"} // []string | (optional)
- contactEmailN := []string{"Inner_example"} // []string | (optional)
- contactEmailNic := []string{"Inner_example"} // []string | (optional)
- contactEmailNie := []string{"Inner_example"} // []string | (optional)
- contactEmailNiew := []string{"Inner_example"} // []string | (optional)
- contactEmailNire := []string{"Inner_example"} // []string | (optional)
- contactEmailNisw := []string{"Inner_example"} // []string | (optional)
- contactEmailNre := []string{"Inner_example"} // []string | (optional)
- contactEmailRe := []string{"Inner_example"} // []string | (optional)
- contactName := []string{"Inner_example"} // []string | (optional)
- contactNameIc := []string{"Inner_example"} // []string | (optional)
- contactNameIe := []string{"Inner_example"} // []string | (optional)
- contactNameIew := []string{"Inner_example"} // []string | (optional)
- contactNameIre := []string{"Inner_example"} // []string | (optional)
- contactNameIsw := []string{"Inner_example"} // []string | (optional)
- contactNameN := []string{"Inner_example"} // []string | (optional)
- contactNameNic := []string{"Inner_example"} // []string | (optional)
- contactNameNie := []string{"Inner_example"} // []string | (optional)
- contactNameNiew := []string{"Inner_example"} // []string | (optional)
- contactNameNire := []string{"Inner_example"} // []string | (optional)
- contactNameNisw := []string{"Inner_example"} // []string | (optional)
- contactNameNre := []string{"Inner_example"} // []string | (optional)
- contactNameRe := []string{"Inner_example"} // []string | (optional)
- contactPhone := []string{"Inner_example"} // []string | (optional)
- contactPhoneIc := []string{"Inner_example"} // []string | (optional)
- contactPhoneIe := []string{"Inner_example"} // []string | (optional)
- contactPhoneIew := []string{"Inner_example"} // []string | (optional)
- contactPhoneIre := []string{"Inner_example"} // []string | (optional)
- contactPhoneIsw := []string{"Inner_example"} // []string | (optional)
- contactPhoneN := []string{"Inner_example"} // []string | (optional)
- contactPhoneNic := []string{"Inner_example"} // []string | (optional)
- contactPhoneNie := []string{"Inner_example"} // []string | (optional)
- contactPhoneNiew := []string{"Inner_example"} // []string | (optional)
- contactPhoneNire := []string{"Inner_example"} // []string | (optional)
- contactPhoneNisw := []string{"Inner_example"} // []string | (optional)
- contactPhoneNre := []string{"Inner_example"} // []string | (optional)
- contactPhoneRe := []string{"Inner_example"} // []string | (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
- contentType := []int32{int32(123)} // []int32 | Object types allowed to be associated with this Location Type (optional)
- contentTypeIc := []int32{int32(123)} // []int32 | Object types allowed to be associated with this Location Type contains (optional)
- contentTypeIe := []int32{int32(123)} // []int32 | Object types allowed to be associated with this Location Type (optional)
- contentTypeIew := []int32{int32(123)} // []int32 | Object types allowed to be associated with this Location Type ends with (optional)
- contentTypeIre := []int32{int32(123)} // []int32 | Object types allowed to be associated with this Location Type matches regex (optional)
- contentTypeIsw := []int32{int32(123)} // []int32 | Object types allowed to be associated with this Location Type starts with (optional)
- contentTypeN := []int32{int32(123)} // []int32 | Exclude Object types allowed to be associated with this Location Type (optional)
- contentTypeNic := []int32{int32(123)} // []int32 | Exclude Object types allowed to be associated with this Location Type contains (optional)
- contentTypeNie := []int32{int32(123)} // []int32 | Exclude Object types allowed to be associated with this Location Type (optional)
- contentTypeNiew := []int32{int32(123)} // []int32 | Exclude Object types allowed to be associated with this Location Type ends with (optional)
- contentTypeNire := []int32{int32(123)} // []int32 | Exclude Object types allowed to be associated with this Location Type matches regex (optional)
- contentTypeNisw := []int32{int32(123)} // []int32 | Exclude Object types allowed to be associated with this Location Type starts with (optional)
- contentTypeNre := []int32{int32(123)} // []int32 | Exclude Object types allowed to be associated with this Location Type matches regex (optional)
- contentTypeRe := []int32{int32(123)} // []int32 | Object types allowed to be associated with this Location Type matches regex (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
+ contentTypes := []int32{int32(123)} // []int32 | (optional)
+ contentTypesN := []int32{int32(123)} // []int32 | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -23163,49 +21724,11 @@ func main() {
descriptionNisw := []string{"Inner_example"} // []string | (optional)
descriptionNre := []string{"Inner_example"} // []string | (optional)
descriptionRe := []string{"Inner_example"} // []string | (optional)
- devices := []string{"Inner_example"} // []string | (optional)
- devicesIsnull := true // bool | Devices (name or ID) is null (optional)
- devicesN := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
- facility := []string{"Inner_example"} // []string | (optional)
- facilityIc := []string{"Inner_example"} // []string | (optional)
- facilityIe := []string{"Inner_example"} // []string | (optional)
- facilityIew := []string{"Inner_example"} // []string | (optional)
- facilityIre := []string{"Inner_example"} // []string | (optional)
- facilityIsw := []string{"Inner_example"} // []string | (optional)
- facilityN := []string{"Inner_example"} // []string | (optional)
- facilityNic := []string{"Inner_example"} // []string | (optional)
- facilityNie := []string{"Inner_example"} // []string | (optional)
- facilityNiew := []string{"Inner_example"} // []string | (optional)
- facilityNire := []string{"Inner_example"} // []string | (optional)
- facilityNisw := []string{"Inner_example"} // []string | (optional)
- facilityNre := []string{"Inner_example"} // []string | (optional)
- facilityRe := []string{"Inner_example"} // []string | (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- hasCircuitTerminations := true // bool | Has circuit terminations (optional)
- hasClusters := true // bool | Has clusters (optional)
- hasDevices := true // bool | Has devices (optional)
- hasPowerPanels := true // bool | Has power panels (optional)
- hasPrefixes := true // bool | Has prefixes (optional)
- hasRackGroups := true // bool | Has rack groups (optional)
- hasRacks := true // bool | Has racks (optional)
- hasVlanGroups := true // bool | Has VLAN groups (optional)
- hasVlans := true // bool | Has VLANs (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -23213,23 +21736,7 @@ func main() {
lastUpdatedLt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedLte := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedN := []time.Time{time.Now()} // []time.Time | (optional)
- latitude := []float32{float32(123)} // []float32 | (optional)
- latitudeGt := []float32{float32(123)} // []float32 | (optional)
- latitudeGte := []float32{float32(123)} // []float32 | (optional)
- latitudeIsnull := true // bool | (optional)
- latitudeLt := []float32{float32(123)} // []float32 | (optional)
- latitudeLte := []float32{float32(123)} // []float32 | (optional)
- latitudeN := []float32{float32(123)} // []float32 | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
- locationType := []string{"Inner_example"} // []string | (optional)
- locationTypeN := []string{"Inner_example"} // []string | (optional)
- longitude := []float32{float32(123)} // []float32 | (optional)
- longitudeGt := []float32{float32(123)} // []float32 | (optional)
- longitudeGte := []float32{float32(123)} // []float32 | (optional)
- longitudeIsnull := true // bool | (optional)
- longitudeLt := []float32{float32(123)} // []float32 | (optional)
- longitudeLte := []float32{float32(123)} // []float32 | (optional)
- longitudeN := []float32{float32(123)} // []float32 | (optional)
name := []string{"Inner_example"} // []string | (optional)
nameIc := []string{"Inner_example"} // []string | (optional)
nameIe := []string{"Inner_example"} // []string | (optional)
@@ -23244,101 +21751,28 @@ func main() {
nameNisw := []string{"Inner_example"} // []string | (optional)
nameNre := []string{"Inner_example"} // []string | (optional)
nameRe := []string{"Inner_example"} // []string | (optional)
+ nestable := true // bool | (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
parent := []string{"Inner_example"} // []string | (optional)
- parentIsnull := true // bool | Parent location (name or ID) is null (optional)
+ parentIsnull := true // bool | Parent location type (name or ID) is null (optional)
parentN := []string{"Inner_example"} // []string | (optional)
- physicalAddress := []string{"Inner_example"} // []string | (optional)
- physicalAddressIc := []string{"Inner_example"} // []string | (optional)
- physicalAddressIe := []string{"Inner_example"} // []string | (optional)
- physicalAddressIew := []string{"Inner_example"} // []string | (optional)
- physicalAddressIre := []string{"Inner_example"} // []string | (optional)
- physicalAddressIsw := []string{"Inner_example"} // []string | (optional)
- physicalAddressN := []string{"Inner_example"} // []string | (optional)
- physicalAddressNic := []string{"Inner_example"} // []string | (optional)
- physicalAddressNie := []string{"Inner_example"} // []string | (optional)
- physicalAddressNiew := []string{"Inner_example"} // []string | (optional)
- physicalAddressNire := []string{"Inner_example"} // []string | (optional)
- physicalAddressNisw := []string{"Inner_example"} // []string | (optional)
- physicalAddressNre := []string{"Inner_example"} // []string | (optional)
- physicalAddressRe := []string{"Inner_example"} // []string | (optional)
- powerPanels := []string{"Inner_example"} // []string | (optional)
- powerPanelsIsnull := true // bool | Power panels (name or ID) is null (optional)
- powerPanelsN := []string{"Inner_example"} // []string | (optional)
- prefixes := []string{"Inner_example"} // []string | (optional)
- prefixesIsnull := true // bool | (optional)
- prefixesN := []string{"Inner_example"} // []string | (optional)
q := "q_example" // string | Search (optional)
- rackGroups := []string{"Inner_example"} // []string | (optional)
- rackGroupsIsnull := true // bool | Rack groups (name or ID) is null (optional)
- rackGroupsN := []string{"Inner_example"} // []string | (optional)
- racks := []string{"Inner_example"} // []string | (optional)
- racksIsnull := true // bool | Rack (name or ID) is null (optional)
- racksN := []string{"Inner_example"} // []string | (optional)
- shippingAddress := []string{"Inner_example"} // []string | (optional)
- shippingAddressIc := []string{"Inner_example"} // []string | (optional)
- shippingAddressIe := []string{"Inner_example"} // []string | (optional)
- shippingAddressIew := []string{"Inner_example"} // []string | (optional)
- shippingAddressIre := []string{"Inner_example"} // []string | (optional)
- shippingAddressIsw := []string{"Inner_example"} // []string | (optional)
- shippingAddressN := []string{"Inner_example"} // []string | (optional)
- shippingAddressNic := []string{"Inner_example"} // []string | (optional)
- shippingAddressNie := []string{"Inner_example"} // []string | (optional)
- shippingAddressNiew := []string{"Inner_example"} // []string | (optional)
- shippingAddressNire := []string{"Inner_example"} // []string | (optional)
- shippingAddressNisw := []string{"Inner_example"} // []string | (optional)
- shippingAddressNre := []string{"Inner_example"} // []string | (optional)
- shippingAddressRe := []string{"Inner_example"} // []string | (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
- status := []string{"Inner_example"} // []string | (optional)
- statusN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Status (name or ID) (optional)
- subtree := []string{"Inner_example"} // []string | (optional)
- tags := []string{"Inner_example"} // []string | (optional)
- tagsIsnull := true // bool | (optional)
- tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
- tenant := []string{"Inner_example"} // []string | (optional)
- tenantIsnull := true // bool | Tenant (name or ID) is null (optional)
- tenantN := []string{"Inner_example"} // []string | (optional)
- tenantGroup := []string{"Inner_example"} // []string | (optional)
- tenantGroupIsnull := true // bool | Tenant Group (name or ID) is null (optional)
- tenantGroupN := []string{"Inner_example"} // []string | (optional)
- tenantId := []*string{"Inner_example"} // []*string | Tenant (ID) (deprecated, use \"tenant\" filter instead) (optional)
- tenantIdIsnull := true // bool | Tenant (ID) (deprecated, use \"tenant\" filter instead) is null (optional)
- tenantIdN := []*string{"Inner_example"} // []*string | Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead) (optional)
- timeZone := []openapiclient.DcimLocationsListTimeZoneParameterInner{openapiclient.dcim_locations_list_time_zone_parameter_inner("Africa/Abidjan")} // []DcimLocationsListTimeZoneParameterInner | Time zone (optional)
- timeZoneIc := []openapiclient.DcimLocationsListTimeZoneParameterInner{openapiclient.dcim_locations_list_time_zone_parameter_inner("Africa/Abidjan")} // []DcimLocationsListTimeZoneParameterInner | Time zone (optional)
- timeZoneIe := []openapiclient.DcimLocationsListTimeZoneParameterInner{openapiclient.dcim_locations_list_time_zone_parameter_inner("Africa/Abidjan")} // []DcimLocationsListTimeZoneParameterInner | Time zone (optional)
- timeZoneIew := []openapiclient.DcimLocationsListTimeZoneParameterInner{openapiclient.dcim_locations_list_time_zone_parameter_inner("Africa/Abidjan")} // []DcimLocationsListTimeZoneParameterInner | Time zone (optional)
- timeZoneIre := []openapiclient.DcimLocationsListTimeZoneParameterInner{openapiclient.dcim_locations_list_time_zone_parameter_inner("Africa/Abidjan")} // []DcimLocationsListTimeZoneParameterInner | Time zone (optional)
- timeZoneIsw := []openapiclient.DcimLocationsListTimeZoneParameterInner{openapiclient.dcim_locations_list_time_zone_parameter_inner("Africa/Abidjan")} // []DcimLocationsListTimeZoneParameterInner | Time zone (optional)
- timeZoneN := []openapiclient.DcimLocationsListTimeZoneParameterInner{openapiclient.dcim_locations_list_time_zone_parameter_inner("Africa/Abidjan")} // []DcimLocationsListTimeZoneParameterInner | Time zone (optional)
- timeZoneNic := []openapiclient.DcimLocationsListTimeZoneParameterInner{openapiclient.dcim_locations_list_time_zone_parameter_inner("Africa/Abidjan")} // []DcimLocationsListTimeZoneParameterInner | Time zone (optional)
- timeZoneNie := []openapiclient.DcimLocationsListTimeZoneParameterInner{openapiclient.dcim_locations_list_time_zone_parameter_inner("Africa/Abidjan")} // []DcimLocationsListTimeZoneParameterInner | Time zone (optional)
- timeZoneNiew := []openapiclient.DcimLocationsListTimeZoneParameterInner{openapiclient.dcim_locations_list_time_zone_parameter_inner("Africa/Abidjan")} // []DcimLocationsListTimeZoneParameterInner | Time zone (optional)
- timeZoneNire := []openapiclient.DcimLocationsListTimeZoneParameterInner{openapiclient.dcim_locations_list_time_zone_parameter_inner("Africa/Abidjan")} // []DcimLocationsListTimeZoneParameterInner | Time zone (optional)
- timeZoneNisw := []openapiclient.DcimLocationsListTimeZoneParameterInner{openapiclient.dcim_locations_list_time_zone_parameter_inner("Africa/Abidjan")} // []DcimLocationsListTimeZoneParameterInner | Time zone (optional)
- timeZoneNre := []openapiclient.DcimLocationsListTimeZoneParameterInner{openapiclient.dcim_locations_list_time_zone_parameter_inner("Africa/Abidjan")} // []DcimLocationsListTimeZoneParameterInner | Time zone (optional)
- timeZoneRe := []openapiclient.DcimLocationsListTimeZoneParameterInner{openapiclient.dcim_locations_list_time_zone_parameter_inner("Africa/Abidjan")} // []DcimLocationsListTimeZoneParameterInner | Time zone (optional)
- vlanGroups := []string{"Inner_example"} // []string | (optional)
- vlanGroupsIsnull := true // bool | VLAN groups (name or ID) is null (optional)
- vlanGroupsN := []string{"Inner_example"} // []string | (optional)
- vlans := []string{"Inner_example"} // []string | (optional)
- vlansIsnull := true // bool | Tagged VLANs (VID or ID) is null (optional)
- vlansN := []string{"Inner_example"} // []string | (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimLocationsList(context.Background()).Asn(asn).AsnGt(asnGt).AsnGte(asnGte).AsnIsnull(asnIsnull).AsnLt(asnLt).AsnLte(asnLte).AsnN(asnN).ChildLocationType(childLocationType).CircuitTerminations(circuitTerminations).CircuitTerminationsIsnull(circuitTerminationsIsnull).CircuitTerminationsN(circuitTerminationsN).Clusters(clusters).ClustersIsnull(clustersIsnull).ClustersN(clustersN).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).ContactEmail(contactEmail).ContactEmailIc(contactEmailIc).ContactEmailIe(contactEmailIe).ContactEmailIew(contactEmailIew).ContactEmailIre(contactEmailIre).ContactEmailIsw(contactEmailIsw).ContactEmailN(contactEmailN).ContactEmailNic(contactEmailNic).ContactEmailNie(contactEmailNie).ContactEmailNiew(contactEmailNiew).ContactEmailNire(contactEmailNire).ContactEmailNisw(contactEmailNisw).ContactEmailNre(contactEmailNre).ContactEmailRe(contactEmailRe).ContactName(contactName).ContactNameIc(contactNameIc).ContactNameIe(contactNameIe).ContactNameIew(contactNameIew).ContactNameIre(contactNameIre).ContactNameIsw(contactNameIsw).ContactNameN(contactNameN).ContactNameNic(contactNameNic).ContactNameNie(contactNameNie).ContactNameNiew(contactNameNiew).ContactNameNire(contactNameNire).ContactNameNisw(contactNameNisw).ContactNameNre(contactNameNre).ContactNameRe(contactNameRe).ContactPhone(contactPhone).ContactPhoneIc(contactPhoneIc).ContactPhoneIe(contactPhoneIe).ContactPhoneIew(contactPhoneIew).ContactPhoneIre(contactPhoneIre).ContactPhoneIsw(contactPhoneIsw).ContactPhoneN(contactPhoneN).ContactPhoneNic(contactPhoneNic).ContactPhoneNie(contactPhoneNie).ContactPhoneNiew(contactPhoneNiew).ContactPhoneNire(contactPhoneNire).ContactPhoneNisw(contactPhoneNisw).ContactPhoneNre(contactPhoneNre).ContactPhoneRe(contactPhoneRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentType(contentType).ContentTypeIc(contentTypeIc).ContentTypeIe(contentTypeIe).ContentTypeIew(contentTypeIew).ContentTypeIre(contentTypeIre).ContentTypeIsw(contentTypeIsw).ContentTypeN(contentTypeN).ContentTypeNic(contentTypeNic).ContentTypeNie(contentTypeNie).ContentTypeNiew(contentTypeNiew).ContentTypeNire(contentTypeNire).ContentTypeNisw(contentTypeNisw).ContentTypeNre(contentTypeNre).ContentTypeRe(contentTypeRe).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Devices(devices).DevicesIsnull(devicesIsnull).DevicesN(devicesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Facility(facility).FacilityIc(facilityIc).FacilityIe(facilityIe).FacilityIew(facilityIew).FacilityIre(facilityIre).FacilityIsw(facilityIsw).FacilityN(facilityN).FacilityNic(facilityNic).FacilityNie(facilityNie).FacilityNiew(facilityNiew).FacilityNire(facilityNire).FacilityNisw(facilityNisw).FacilityNre(facilityNre).FacilityRe(facilityRe).Format(format).HasCircuitTerminations(hasCircuitTerminations).HasClusters(hasClusters).HasDevices(hasDevices).HasPowerPanels(hasPowerPanels).HasPrefixes(hasPrefixes).HasRackGroups(hasRackGroups).HasRacks(hasRacks).HasVlanGroups(hasVlanGroups).HasVlans(hasVlans).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Latitude(latitude).LatitudeGt(latitudeGt).LatitudeGte(latitudeGte).LatitudeIsnull(latitudeIsnull).LatitudeLt(latitudeLt).LatitudeLte(latitudeLte).LatitudeN(latitudeN).Limit(limit).LocationType(locationType).LocationTypeN(locationTypeN).Longitude(longitude).LongitudeGt(longitudeGt).LongitudeGte(longitudeGte).LongitudeIsnull(longitudeIsnull).LongitudeLt(longitudeLt).LongitudeLte(longitudeLte).LongitudeN(longitudeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).PhysicalAddress(physicalAddress).PhysicalAddressIc(physicalAddressIc).PhysicalAddressIe(physicalAddressIe).PhysicalAddressIew(physicalAddressIew).PhysicalAddressIre(physicalAddressIre).PhysicalAddressIsw(physicalAddressIsw).PhysicalAddressN(physicalAddressN).PhysicalAddressNic(physicalAddressNic).PhysicalAddressNie(physicalAddressNie).PhysicalAddressNiew(physicalAddressNiew).PhysicalAddressNire(physicalAddressNire).PhysicalAddressNisw(physicalAddressNisw).PhysicalAddressNre(physicalAddressNre).PhysicalAddressRe(physicalAddressRe).PowerPanels(powerPanels).PowerPanelsIsnull(powerPanelsIsnull).PowerPanelsN(powerPanelsN).Prefixes(prefixes).PrefixesIsnull(prefixesIsnull).PrefixesN(prefixesN).Q(q).RackGroups(rackGroups).RackGroupsIsnull(rackGroupsIsnull).RackGroupsN(rackGroupsN).Racks(racks).RacksIsnull(racksIsnull).RacksN(racksN).ShippingAddress(shippingAddress).ShippingAddressIc(shippingAddressIc).ShippingAddressIe(shippingAddressIe).ShippingAddressIew(shippingAddressIew).ShippingAddressIre(shippingAddressIre).ShippingAddressIsw(shippingAddressIsw).ShippingAddressN(shippingAddressN).ShippingAddressNic(shippingAddressNic).ShippingAddressNie(shippingAddressNie).ShippingAddressNiew(shippingAddressNiew).ShippingAddressNire(shippingAddressNire).ShippingAddressNisw(shippingAddressNisw).ShippingAddressNre(shippingAddressNre).ShippingAddressRe(shippingAddressRe).Sort(sort).Status(status).StatusN(statusN).Subtree(subtree).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).TimeZone(timeZone).TimeZoneIc(timeZoneIc).TimeZoneIe(timeZoneIe).TimeZoneIew(timeZoneIew).TimeZoneIre(timeZoneIre).TimeZoneIsw(timeZoneIsw).TimeZoneN(timeZoneN).TimeZoneNic(timeZoneNic).TimeZoneNie(timeZoneNie).TimeZoneNiew(timeZoneNiew).TimeZoneNire(timeZoneNire).TimeZoneNisw(timeZoneNisw).TimeZoneNre(timeZoneNre).TimeZoneRe(timeZoneRe).VlanGroups(vlanGroups).VlanGroupsIsnull(vlanGroupsIsnull).VlanGroupsN(vlanGroupsN).Vlans(vlans).VlansIsnull(vlansIsnull).VlansN(vlansN).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimLocationTypesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesN(contentTypesN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Nestable(nestable).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationsList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationTypesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimLocationsList`: PaginatedLocationList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationsList`: %v\n", resp)
+ // response from `DcimLocationTypesList`: PaginatedLocationTypeList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationTypesList`: %v\n", resp)
}
```
@@ -23348,98 +21782,16 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimLocationsListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimLocationTypesListRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **asn** | **[]int32** | |
- **asnGt** | **[]int32** | |
- **asnGte** | **[]int32** | |
- **asnIsnull** | **bool** | |
- **asnLt** | **[]int32** | |
- **asnLte** | **[]int32** | |
- **asnN** | **[]int32** | |
- **childLocationType** | **[]string** | |
- **circuitTerminations** | **[]string** | |
- **circuitTerminationsIsnull** | **bool** | |
- **circuitTerminationsN** | **[]string** | |
- **clusters** | **[]string** | |
- **clustersIsnull** | **bool** | Clusters (name or ID) is null |
- **clustersN** | **[]string** | |
- **comments** | **[]string** | |
- **commentsIc** | **[]string** | |
- **commentsIe** | **[]string** | |
- **commentsIew** | **[]string** | |
- **commentsIre** | **[]string** | |
- **commentsIsw** | **[]string** | |
- **commentsN** | **[]string** | |
- **commentsNic** | **[]string** | |
- **commentsNie** | **[]string** | |
- **commentsNiew** | **[]string** | |
- **commentsNire** | **[]string** | |
- **commentsNisw** | **[]string** | |
- **commentsNre** | **[]string** | |
- **commentsRe** | **[]string** | |
- **contactEmail** | **[]string** | |
- **contactEmailIc** | **[]string** | |
- **contactEmailIe** | **[]string** | |
- **contactEmailIew** | **[]string** | |
- **contactEmailIre** | **[]string** | |
- **contactEmailIsw** | **[]string** | |
- **contactEmailN** | **[]string** | |
- **contactEmailNic** | **[]string** | |
- **contactEmailNie** | **[]string** | |
- **contactEmailNiew** | **[]string** | |
- **contactEmailNire** | **[]string** | |
- **contactEmailNisw** | **[]string** | |
- **contactEmailNre** | **[]string** | |
- **contactEmailRe** | **[]string** | |
- **contactName** | **[]string** | |
- **contactNameIc** | **[]string** | |
- **contactNameIe** | **[]string** | |
- **contactNameIew** | **[]string** | |
- **contactNameIre** | **[]string** | |
- **contactNameIsw** | **[]string** | |
- **contactNameN** | **[]string** | |
- **contactNameNic** | **[]string** | |
- **contactNameNie** | **[]string** | |
- **contactNameNiew** | **[]string** | |
- **contactNameNire** | **[]string** | |
- **contactNameNisw** | **[]string** | |
- **contactNameNre** | **[]string** | |
- **contactNameRe** | **[]string** | |
- **contactPhone** | **[]string** | |
- **contactPhoneIc** | **[]string** | |
- **contactPhoneIe** | **[]string** | |
- **contactPhoneIew** | **[]string** | |
- **contactPhoneIre** | **[]string** | |
- **contactPhoneIsw** | **[]string** | |
- **contactPhoneN** | **[]string** | |
- **contactPhoneNic** | **[]string** | |
- **contactPhoneNie** | **[]string** | |
- **contactPhoneNiew** | **[]string** | |
- **contactPhoneNire** | **[]string** | |
- **contactPhoneNisw** | **[]string** | |
- **contactPhoneNre** | **[]string** | |
- **contactPhoneRe** | **[]string** | |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
- **contentType** | **[]int32** | Object types allowed to be associated with this Location Type |
- **contentTypeIc** | **[]int32** | Object types allowed to be associated with this Location Type contains |
- **contentTypeIe** | **[]int32** | Object types allowed to be associated with this Location Type |
- **contentTypeIew** | **[]int32** | Object types allowed to be associated with this Location Type ends with |
- **contentTypeIre** | **[]int32** | Object types allowed to be associated with this Location Type matches regex |
- **contentTypeIsw** | **[]int32** | Object types allowed to be associated with this Location Type starts with |
- **contentTypeN** | **[]int32** | Exclude Object types allowed to be associated with this Location Type |
- **contentTypeNic** | **[]int32** | Exclude Object types allowed to be associated with this Location Type contains |
- **contentTypeNie** | **[]int32** | Exclude Object types allowed to be associated with this Location Type |
- **contentTypeNiew** | **[]int32** | Exclude Object types allowed to be associated with this Location Type ends with |
- **contentTypeNire** | **[]int32** | Exclude Object types allowed to be associated with this Location Type matches regex |
- **contentTypeNisw** | **[]int32** | Exclude Object types allowed to be associated with this Location Type starts with |
- **contentTypeNre** | **[]int32** | Exclude Object types allowed to be associated with this Location Type matches regex |
- **contentTypeRe** | **[]int32** | Object types allowed to be associated with this Location Type matches regex |
+ **contactsN** | **[]string** | |
+ **contentTypes** | **[]int32** | |
+ **contentTypesN** | **[]int32** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -23461,49 +21813,11 @@ Name | Type | Description | Notes
**descriptionNisw** | **[]string** | |
**descriptionNre** | **[]string** | |
**descriptionRe** | **[]string** | |
- **devices** | **[]string** | |
- **devicesIsnull** | **bool** | Devices (name or ID) is null |
- **devicesN** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
- **facility** | **[]string** | |
- **facilityIc** | **[]string** | |
- **facilityIe** | **[]string** | |
- **facilityIew** | **[]string** | |
- **facilityIre** | **[]string** | |
- **facilityIsw** | **[]string** | |
- **facilityN** | **[]string** | |
- **facilityNic** | **[]string** | |
- **facilityNie** | **[]string** | |
- **facilityNiew** | **[]string** | |
- **facilityNire** | **[]string** | |
- **facilityNisw** | **[]string** | |
- **facilityNre** | **[]string** | |
- **facilityRe** | **[]string** | |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **hasCircuitTerminations** | **bool** | Has circuit terminations |
- **hasClusters** | **bool** | Has clusters |
- **hasDevices** | **bool** | Has devices |
- **hasPowerPanels** | **bool** | Has power panels |
- **hasPrefixes** | **bool** | Has prefixes |
- **hasRackGroups** | **bool** | Has rack groups |
- **hasRacks** | **bool** | Has racks |
- **hasVlanGroups** | **bool** | Has VLAN groups |
- **hasVlans** | **bool** | Has VLANs |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -23511,23 +21825,7 @@ Name | Type | Description | Notes
**lastUpdatedLt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedLte** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedN** | [**[]time.Time**](time.Time.md) | |
- **latitude** | **[]float32** | |
- **latitudeGt** | **[]float32** | |
- **latitudeGte** | **[]float32** | |
- **latitudeIsnull** | **bool** | |
- **latitudeLt** | **[]float32** | |
- **latitudeLte** | **[]float32** | |
- **latitudeN** | **[]float32** | |
**limit** | **int32** | Number of results to return per page. |
- **locationType** | **[]string** | |
- **locationTypeN** | **[]string** | |
- **longitude** | **[]float32** | |
- **longitudeGt** | **[]float32** | |
- **longitudeGte** | **[]float32** | |
- **longitudeIsnull** | **bool** | |
- **longitudeLt** | **[]float32** | |
- **longitudeLte** | **[]float32** | |
- **longitudeN** | **[]float32** | |
**name** | **[]string** | |
**nameIc** | **[]string** | |
**nameIe** | **[]string** | |
@@ -23542,95 +21840,2744 @@ Name | Type | Description | Notes
**nameNisw** | **[]string** | |
**nameNre** | **[]string** | |
**nameRe** | **[]string** | |
+ **nestable** | **bool** | |
**offset** | **int32** | The initial index from which to return the results. |
**parent** | **[]string** | |
- **parentIsnull** | **bool** | Parent location (name or ID) is null |
+ **parentIsnull** | **bool** | Parent location type (name or ID) is null |
**parentN** | **[]string** | |
- **physicalAddress** | **[]string** | |
- **physicalAddressIc** | **[]string** | |
- **physicalAddressIe** | **[]string** | |
- **physicalAddressIew** | **[]string** | |
- **physicalAddressIre** | **[]string** | |
- **physicalAddressIsw** | **[]string** | |
- **physicalAddressN** | **[]string** | |
- **physicalAddressNic** | **[]string** | |
- **physicalAddressNie** | **[]string** | |
- **physicalAddressNiew** | **[]string** | |
- **physicalAddressNire** | **[]string** | |
- **physicalAddressNisw** | **[]string** | |
- **physicalAddressNre** | **[]string** | |
- **physicalAddressRe** | **[]string** | |
- **powerPanels** | **[]string** | |
- **powerPanelsIsnull** | **bool** | Power panels (name or ID) is null |
- **powerPanelsN** | **[]string** | |
- **prefixes** | **[]string** | |
- **prefixesIsnull** | **bool** | |
- **prefixesN** | **[]string** | |
**q** | **string** | Search |
- **rackGroups** | **[]string** | |
- **rackGroupsIsnull** | **bool** | Rack groups (name or ID) is null |
- **rackGroupsN** | **[]string** | |
- **racks** | **[]string** | |
- **racksIsnull** | **bool** | Rack (name or ID) is null |
- **racksN** | **[]string** | |
- **shippingAddress** | **[]string** | |
- **shippingAddressIc** | **[]string** | |
- **shippingAddressIe** | **[]string** | |
- **shippingAddressIew** | **[]string** | |
- **shippingAddressIre** | **[]string** | |
- **shippingAddressIsw** | **[]string** | |
- **shippingAddressN** | **[]string** | |
- **shippingAddressNic** | **[]string** | |
- **shippingAddressNie** | **[]string** | |
- **shippingAddressNiew** | **[]string** | |
- **shippingAddressNire** | **[]string** | |
- **shippingAddressNisw** | **[]string** | |
- **shippingAddressNre** | **[]string** | |
- **shippingAddressRe** | **[]string** | |
**sort** | **string** | Which field to use when ordering the results. |
- **status** | **[]string** | |
- **statusN** | **string** | Exclude Status (name or ID) |
- **subtree** | **[]string** | |
- **tags** | **[]string** | |
- **tagsIsnull** | **bool** | |
- **tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
- **tenant** | **[]string** | |
- **tenantIsnull** | **bool** | Tenant (name or ID) is null |
- **tenantN** | **[]string** | |
- **tenantGroup** | **[]string** | |
- **tenantGroupIsnull** | **bool** | Tenant Group (name or ID) is null |
- **tenantGroupN** | **[]string** | |
- **tenantId** | **[]string** | Tenant (ID) (deprecated, use \"tenant\" filter instead) |
- **tenantIdIsnull** | **bool** | Tenant (ID) (deprecated, use \"tenant\" filter instead) is null |
- **tenantIdN** | **[]string** | Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead) |
- **timeZone** | [**[]DcimLocationsListTimeZoneParameterInner**](DcimLocationsListTimeZoneParameterInner.md) | Time zone |
- **timeZoneIc** | [**[]DcimLocationsListTimeZoneParameterInner**](DcimLocationsListTimeZoneParameterInner.md) | Time zone |
- **timeZoneIe** | [**[]DcimLocationsListTimeZoneParameterInner**](DcimLocationsListTimeZoneParameterInner.md) | Time zone |
- **timeZoneIew** | [**[]DcimLocationsListTimeZoneParameterInner**](DcimLocationsListTimeZoneParameterInner.md) | Time zone |
- **timeZoneIre** | [**[]DcimLocationsListTimeZoneParameterInner**](DcimLocationsListTimeZoneParameterInner.md) | Time zone |
- **timeZoneIsw** | [**[]DcimLocationsListTimeZoneParameterInner**](DcimLocationsListTimeZoneParameterInner.md) | Time zone |
- **timeZoneN** | [**[]DcimLocationsListTimeZoneParameterInner**](DcimLocationsListTimeZoneParameterInner.md) | Time zone |
- **timeZoneNic** | [**[]DcimLocationsListTimeZoneParameterInner**](DcimLocationsListTimeZoneParameterInner.md) | Time zone |
- **timeZoneNie** | [**[]DcimLocationsListTimeZoneParameterInner**](DcimLocationsListTimeZoneParameterInner.md) | Time zone |
- **timeZoneNiew** | [**[]DcimLocationsListTimeZoneParameterInner**](DcimLocationsListTimeZoneParameterInner.md) | Time zone |
- **timeZoneNire** | [**[]DcimLocationsListTimeZoneParameterInner**](DcimLocationsListTimeZoneParameterInner.md) | Time zone |
- **timeZoneNisw** | [**[]DcimLocationsListTimeZoneParameterInner**](DcimLocationsListTimeZoneParameterInner.md) | Time zone |
- **timeZoneNre** | [**[]DcimLocationsListTimeZoneParameterInner**](DcimLocationsListTimeZoneParameterInner.md) | Time zone |
- **timeZoneRe** | [**[]DcimLocationsListTimeZoneParameterInner**](DcimLocationsListTimeZoneParameterInner.md) | Time zone |
- **vlanGroups** | **[]string** | |
- **vlanGroupsIsnull** | **bool** | VLAN groups (name or ID) is null |
- **vlanGroupsN** | **[]string** | |
- **vlans** | **[]string** | |
- **vlansIsnull** | **bool** | Tagged VLANs (VID or ID) is null |
- **vlansN** | **[]string** | |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
+
+### Return type
+
+[**PaginatedLocationTypeList**](PaginatedLocationTypeList.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimLocationTypesNotesCreate
+
+> Note DcimLocationTypesNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this location type.
+ noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.DcimAPI.DcimLocationTypesNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationTypesNotesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimLocationTypesNotesCreate`: Note
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationTypesNotesCreate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this location type. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimLocationTypesNotesCreateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **noteInputRequest** | [**NoteInputRequest**](NoteInputRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+[**Note**](Note.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimLocationTypesNotesList
+
+> PaginatedNoteList DcimLocationTypesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this location type.
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ limit := int32(56) // int32 | Number of results to return per page. (optional)
+ offset := int32(56) // int32 | The initial index from which to return the results. (optional)
+ depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.DcimAPI.DcimLocationTypesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationTypesNotesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimLocationTypesNotesList`: PaginatedNoteList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationTypesNotesList`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this location type. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimLocationTypesNotesListRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **limit** | **int32** | Number of results to return per page. |
+ **offset** | **int32** | The initial index from which to return the results. |
+ **depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
+
+### Return type
+
+[**PaginatedNoteList**](PaginatedNoteList.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimLocationTypesPartialUpdate
+
+> LocationType DcimLocationTypesPartialUpdate(ctx, id).Format(format).PatchedLocationTypeRequest(patchedLocationTypeRequest).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this location type.
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ patchedLocationTypeRequest := *openapiclient.NewPatchedLocationTypeRequest() // PatchedLocationTypeRequest | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.DcimAPI.DcimLocationTypesPartialUpdate(context.Background(), id).Format(format).PatchedLocationTypeRequest(patchedLocationTypeRequest).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationTypesPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimLocationTypesPartialUpdate`: LocationType
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationTypesPartialUpdate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this location type. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimLocationTypesPartialUpdateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **patchedLocationTypeRequest** | [**PatchedLocationTypeRequest**](PatchedLocationTypeRequest.md) | |
+
+### Return type
+
+[**LocationType**](LocationType.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimLocationTypesRetrieve
+
+> LocationType DcimLocationTypesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this location type.
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.DcimAPI.DcimLocationTypesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationTypesRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimLocationTypesRetrieve`: LocationType
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationTypesRetrieve`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this location type. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimLocationTypesRetrieveRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
+
+### Return type
+
+[**LocationType**](LocationType.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimLocationTypesUpdate
+
+> LocationType DcimLocationTypesUpdate(ctx, id).LocationTypeRequest(locationTypeRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this location type.
+ locationTypeRequest := *openapiclient.NewLocationTypeRequest("Name_example") // LocationTypeRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.DcimAPI.DcimLocationTypesUpdate(context.Background(), id).LocationTypeRequest(locationTypeRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationTypesUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimLocationTypesUpdate`: LocationType
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationTypesUpdate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this location type. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimLocationTypesUpdateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **locationTypeRequest** | [**LocationTypeRequest**](LocationTypeRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+[**LocationType**](LocationType.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimLocationsBulkDestroy
+
+> DcimLocationsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ bulkOperationRequest := []openapiclient.BulkOperationRequest{*openapiclient.NewBulkOperationRequest("Id_example")} // []BulkOperationRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ r, err := apiClient.DcimAPI.DcimLocationsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationsBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+}
+```
+
+### Path Parameters
+
+
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimLocationsBulkDestroyRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **bulkOperationRequest** | [**[]BulkOperationRequest**](BulkOperationRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+ (empty response body)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: Not defined
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimLocationsBulkPartialUpdate
+
+> []Location DcimLocationsBulkPartialUpdate(ctx).PatchedBulkWritableLocationRequest(patchedBulkWritableLocationRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ patchedBulkWritableLocationRequest := []openapiclient.PatchedBulkWritableLocationRequest{*openapiclient.NewPatchedBulkWritableLocationRequest("Id_example")} // []PatchedBulkWritableLocationRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.DcimAPI.DcimLocationsBulkPartialUpdate(context.Background()).PatchedBulkWritableLocationRequest(patchedBulkWritableLocationRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationsBulkPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimLocationsBulkPartialUpdate`: []Location
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationsBulkPartialUpdate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimLocationsBulkPartialUpdateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **patchedBulkWritableLocationRequest** | [**[]PatchedBulkWritableLocationRequest**](PatchedBulkWritableLocationRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+[**[]Location**](Location.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimLocationsBulkUpdate
+
+> []Location DcimLocationsBulkUpdate(ctx).BulkWritableLocationRequest(bulkWritableLocationRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ bulkWritableLocationRequest := []openapiclient.BulkWritableLocationRequest{*openapiclient.NewBulkWritableLocationRequest("Id_example", "Name_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritableLocationRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.DcimAPI.DcimLocationsBulkUpdate(context.Background()).BulkWritableLocationRequest(bulkWritableLocationRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationsBulkUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimLocationsBulkUpdate`: []Location
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationsBulkUpdate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimLocationsBulkUpdateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **bulkWritableLocationRequest** | [**[]BulkWritableLocationRequest**](BulkWritableLocationRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+[**[]Location**](Location.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimLocationsCreate
+
+> Location DcimLocationsCreate(ctx).LocationRequest(locationRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ locationRequest := *openapiclient.NewLocationRequest("Name_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // LocationRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.DcimAPI.DcimLocationsCreate(context.Background()).LocationRequest(locationRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationsCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimLocationsCreate`: Location
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationsCreate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimLocationsCreateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **locationRequest** | [**LocationRequest**](LocationRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+[**Location**](Location.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimLocationsDestroy
+
+> DcimLocationsDestroy(ctx, id).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this location.
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ r, err := apiClient.DcimAPI.DcimLocationsDestroy(context.Background(), id).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationsDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this location. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimLocationsDestroyRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+ (empty response body)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: Not defined
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimLocationsList
+
+> PaginatedLocationList DcimLocationsList(ctx).Asn(asn).AsnGt(asnGt).AsnGte(asnGte).AsnIsnull(asnIsnull).AsnLt(asnLt).AsnLte(asnLte).AsnN(asnN).ChildLocationType(childLocationType).CircuitTerminations(circuitTerminations).CircuitTerminationsIsnull(circuitTerminationsIsnull).CircuitTerminationsN(circuitTerminationsN).Clusters(clusters).ClustersIsnull(clustersIsnull).ClustersN(clustersN).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).ContactEmail(contactEmail).ContactEmailIc(contactEmailIc).ContactEmailIe(contactEmailIe).ContactEmailIew(contactEmailIew).ContactEmailIre(contactEmailIre).ContactEmailIsw(contactEmailIsw).ContactEmailN(contactEmailN).ContactEmailNic(contactEmailNic).ContactEmailNie(contactEmailNie).ContactEmailNiew(contactEmailNiew).ContactEmailNire(contactEmailNire).ContactEmailNisw(contactEmailNisw).ContactEmailNre(contactEmailNre).ContactEmailRe(contactEmailRe).ContactName(contactName).ContactNameIc(contactNameIc).ContactNameIe(contactNameIe).ContactNameIew(contactNameIew).ContactNameIre(contactNameIre).ContactNameIsw(contactNameIsw).ContactNameN(contactNameN).ContactNameNic(contactNameNic).ContactNameNie(contactNameNie).ContactNameNiew(contactNameNiew).ContactNameNire(contactNameNire).ContactNameNisw(contactNameNisw).ContactNameNre(contactNameNre).ContactNameRe(contactNameRe).ContactPhone(contactPhone).ContactPhoneIc(contactPhoneIc).ContactPhoneIe(contactPhoneIe).ContactPhoneIew(contactPhoneIew).ContactPhoneIre(contactPhoneIre).ContactPhoneIsw(contactPhoneIsw).ContactPhoneN(contactPhoneN).ContactPhoneNic(contactPhoneNic).ContactPhoneNie(contactPhoneNie).ContactPhoneNiew(contactPhoneNiew).ContactPhoneNire(contactPhoneNire).ContactPhoneNisw(contactPhoneNisw).ContactPhoneNre(contactPhoneNre).ContactPhoneRe(contactPhoneRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentType(contentType).ContentTypeN(contentTypeN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Devices(devices).DevicesIsnull(devicesIsnull).DevicesN(devicesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Facility(facility).FacilityIc(facilityIc).FacilityIe(facilityIe).FacilityIew(facilityIew).FacilityIre(facilityIre).FacilityIsw(facilityIsw).FacilityN(facilityN).FacilityNic(facilityNic).FacilityNie(facilityNie).FacilityNiew(facilityNiew).FacilityNire(facilityNire).FacilityNisw(facilityNisw).FacilityNre(facilityNre).FacilityRe(facilityRe).Format(format).HasCircuitTerminations(hasCircuitTerminations).HasClusters(hasClusters).HasDevices(hasDevices).HasPowerPanels(hasPowerPanels).HasPrefixes(hasPrefixes).HasRackGroups(hasRackGroups).HasRacks(hasRacks).HasVlanGroups(hasVlanGroups).HasVlans(hasVlans).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Latitude(latitude).LatitudeGt(latitudeGt).LatitudeGte(latitudeGte).LatitudeIsnull(latitudeIsnull).LatitudeLt(latitudeLt).LatitudeLte(latitudeLte).LatitudeN(latitudeN).Limit(limit).LocationType(locationType).LocationTypeN(locationTypeN).Longitude(longitude).LongitudeGt(longitudeGt).LongitudeGte(longitudeGte).LongitudeIsnull(longitudeIsnull).LongitudeLt(longitudeLt).LongitudeLte(longitudeLte).LongitudeN(longitudeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).PhysicalAddress(physicalAddress).PhysicalAddressIc(physicalAddressIc).PhysicalAddressIe(physicalAddressIe).PhysicalAddressIew(physicalAddressIew).PhysicalAddressIre(physicalAddressIre).PhysicalAddressIsw(physicalAddressIsw).PhysicalAddressN(physicalAddressN).PhysicalAddressNic(physicalAddressNic).PhysicalAddressNie(physicalAddressNie).PhysicalAddressNiew(physicalAddressNiew).PhysicalAddressNire(physicalAddressNire).PhysicalAddressNisw(physicalAddressNisw).PhysicalAddressNre(physicalAddressNre).PhysicalAddressRe(physicalAddressRe).PowerPanels(powerPanels).PowerPanelsIsnull(powerPanelsIsnull).PowerPanelsN(powerPanelsN).Prefixes(prefixes).PrefixesIsnull(prefixesIsnull).PrefixesN(prefixesN).Q(q).RackGroups(rackGroups).RackGroupsIsnull(rackGroupsIsnull).RackGroupsN(rackGroupsN).Racks(racks).RacksIsnull(racksIsnull).RacksN(racksN).ShippingAddress(shippingAddress).ShippingAddressIc(shippingAddressIc).ShippingAddressIe(shippingAddressIe).ShippingAddressIew(shippingAddressIew).ShippingAddressIre(shippingAddressIre).ShippingAddressIsw(shippingAddressIsw).ShippingAddressN(shippingAddressN).ShippingAddressNic(shippingAddressNic).ShippingAddressNie(shippingAddressNie).ShippingAddressNiew(shippingAddressNiew).ShippingAddressNire(shippingAddressNire).ShippingAddressNisw(shippingAddressNisw).ShippingAddressNre(shippingAddressNre).ShippingAddressRe(shippingAddressRe).Sort(sort).Status(status).StatusN(statusN).Subtree(subtree).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).TimeZone(timeZone).TimeZoneIc(timeZoneIc).TimeZoneIe(timeZoneIe).TimeZoneIew(timeZoneIew).TimeZoneIre(timeZoneIre).TimeZoneIsw(timeZoneIsw).TimeZoneN(timeZoneN).TimeZoneNic(timeZoneNic).TimeZoneNie(timeZoneNie).TimeZoneNiew(timeZoneNiew).TimeZoneNire(timeZoneNire).TimeZoneNisw(timeZoneNisw).TimeZoneNre(timeZoneNre).TimeZoneRe(timeZoneRe).VlanGroups(vlanGroups).VlanGroupsIsnull(vlanGroupsIsnull).VlanGroupsN(vlanGroupsN).Vlans(vlans).VlansIsnull(vlansIsnull).VlansN(vlansN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ "time"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ asn := []int32{int32(123)} // []int32 | (optional)
+ asnGt := []int32{int32(123)} // []int32 | (optional)
+ asnGte := []int32{int32(123)} // []int32 | (optional)
+ asnIsnull := true // bool | (optional)
+ asnLt := []int32{int32(123)} // []int32 | (optional)
+ asnLte := []int32{int32(123)} // []int32 | (optional)
+ asnN := []int32{int32(123)} // []int32 | (optional)
+ childLocationType := []string{"Inner_example"} // []string | (optional)
+ circuitTerminations := []string{"Inner_example"} // []string | (optional)
+ circuitTerminationsIsnull := true // bool | (optional)
+ circuitTerminationsN := []string{"Inner_example"} // []string | (optional)
+ clusters := []string{"Inner_example"} // []string | (optional)
+ clustersIsnull := true // bool | Clusters (name or ID) is null (optional)
+ clustersN := []string{"Inner_example"} // []string | (optional)
+ comments := []string{"Inner_example"} // []string | (optional)
+ commentsIc := []string{"Inner_example"} // []string | (optional)
+ commentsIe := []string{"Inner_example"} // []string | (optional)
+ commentsIew := []string{"Inner_example"} // []string | (optional)
+ commentsIre := []string{"Inner_example"} // []string | (optional)
+ commentsIsw := []string{"Inner_example"} // []string | (optional)
+ commentsN := []string{"Inner_example"} // []string | (optional)
+ commentsNic := []string{"Inner_example"} // []string | (optional)
+ commentsNie := []string{"Inner_example"} // []string | (optional)
+ commentsNiew := []string{"Inner_example"} // []string | (optional)
+ commentsNire := []string{"Inner_example"} // []string | (optional)
+ commentsNisw := []string{"Inner_example"} // []string | (optional)
+ commentsNre := []string{"Inner_example"} // []string | (optional)
+ commentsRe := []string{"Inner_example"} // []string | (optional)
+ contactEmail := []string{"Inner_example"} // []string | (optional)
+ contactEmailIc := []string{"Inner_example"} // []string | (optional)
+ contactEmailIe := []string{"Inner_example"} // []string | (optional)
+ contactEmailIew := []string{"Inner_example"} // []string | (optional)
+ contactEmailIre := []string{"Inner_example"} // []string | (optional)
+ contactEmailIsw := []string{"Inner_example"} // []string | (optional)
+ contactEmailN := []string{"Inner_example"} // []string | (optional)
+ contactEmailNic := []string{"Inner_example"} // []string | (optional)
+ contactEmailNie := []string{"Inner_example"} // []string | (optional)
+ contactEmailNiew := []string{"Inner_example"} // []string | (optional)
+ contactEmailNire := []string{"Inner_example"} // []string | (optional)
+ contactEmailNisw := []string{"Inner_example"} // []string | (optional)
+ contactEmailNre := []string{"Inner_example"} // []string | (optional)
+ contactEmailRe := []string{"Inner_example"} // []string | (optional)
+ contactName := []string{"Inner_example"} // []string | (optional)
+ contactNameIc := []string{"Inner_example"} // []string | (optional)
+ contactNameIe := []string{"Inner_example"} // []string | (optional)
+ contactNameIew := []string{"Inner_example"} // []string | (optional)
+ contactNameIre := []string{"Inner_example"} // []string | (optional)
+ contactNameIsw := []string{"Inner_example"} // []string | (optional)
+ contactNameN := []string{"Inner_example"} // []string | (optional)
+ contactNameNic := []string{"Inner_example"} // []string | (optional)
+ contactNameNie := []string{"Inner_example"} // []string | (optional)
+ contactNameNiew := []string{"Inner_example"} // []string | (optional)
+ contactNameNire := []string{"Inner_example"} // []string | (optional)
+ contactNameNisw := []string{"Inner_example"} // []string | (optional)
+ contactNameNre := []string{"Inner_example"} // []string | (optional)
+ contactNameRe := []string{"Inner_example"} // []string | (optional)
+ contactPhone := []string{"Inner_example"} // []string | (optional)
+ contactPhoneIc := []string{"Inner_example"} // []string | (optional)
+ contactPhoneIe := []string{"Inner_example"} // []string | (optional)
+ contactPhoneIew := []string{"Inner_example"} // []string | (optional)
+ contactPhoneIre := []string{"Inner_example"} // []string | (optional)
+ contactPhoneIsw := []string{"Inner_example"} // []string | (optional)
+ contactPhoneN := []string{"Inner_example"} // []string | (optional)
+ contactPhoneNic := []string{"Inner_example"} // []string | (optional)
+ contactPhoneNie := []string{"Inner_example"} // []string | (optional)
+ contactPhoneNiew := []string{"Inner_example"} // []string | (optional)
+ contactPhoneNire := []string{"Inner_example"} // []string | (optional)
+ contactPhoneNisw := []string{"Inner_example"} // []string | (optional)
+ contactPhoneNre := []string{"Inner_example"} // []string | (optional)
+ contactPhoneRe := []string{"Inner_example"} // []string | (optional)
+ contacts := []string{"Inner_example"} // []string | (optional)
+ contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
+ contentType := []int32{int32(123)} // []int32 | Object types allowed to be associated with this Location Type (optional)
+ contentTypeN := []int32{int32(123)} // []int32 | Exclude Object types allowed to be associated with this Location Type (optional)
+ created := []time.Time{time.Now()} // []time.Time | (optional)
+ createdGt := []time.Time{time.Now()} // []time.Time | (optional)
+ createdGte := []time.Time{time.Now()} // []time.Time | (optional)
+ createdIsnull := true // bool | (optional)
+ createdLt := []time.Time{time.Now()} // []time.Time | (optional)
+ createdLte := []time.Time{time.Now()} // []time.Time | (optional)
+ createdN := []time.Time{time.Now()} // []time.Time | (optional)
+ description := []string{"Inner_example"} // []string | (optional)
+ descriptionIc := []string{"Inner_example"} // []string | (optional)
+ descriptionIe := []string{"Inner_example"} // []string | (optional)
+ descriptionIew := []string{"Inner_example"} // []string | (optional)
+ descriptionIre := []string{"Inner_example"} // []string | (optional)
+ descriptionIsw := []string{"Inner_example"} // []string | (optional)
+ descriptionN := []string{"Inner_example"} // []string | (optional)
+ descriptionNic := []string{"Inner_example"} // []string | (optional)
+ descriptionNie := []string{"Inner_example"} // []string | (optional)
+ descriptionNiew := []string{"Inner_example"} // []string | (optional)
+ descriptionNire := []string{"Inner_example"} // []string | (optional)
+ descriptionNisw := []string{"Inner_example"} // []string | (optional)
+ descriptionNre := []string{"Inner_example"} // []string | (optional)
+ descriptionRe := []string{"Inner_example"} // []string | (optional)
+ devices := []string{"Inner_example"} // []string | (optional)
+ devicesIsnull := true // bool | Devices (name or ID) is null (optional)
+ devicesN := []string{"Inner_example"} // []string | (optional)
+ dynamicGroups := []string{"Inner_example"} // []string | (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
+ facility := []string{"Inner_example"} // []string | (optional)
+ facilityIc := []string{"Inner_example"} // []string | (optional)
+ facilityIe := []string{"Inner_example"} // []string | (optional)
+ facilityIew := []string{"Inner_example"} // []string | (optional)
+ facilityIre := []string{"Inner_example"} // []string | (optional)
+ facilityIsw := []string{"Inner_example"} // []string | (optional)
+ facilityN := []string{"Inner_example"} // []string | (optional)
+ facilityNic := []string{"Inner_example"} // []string | (optional)
+ facilityNie := []string{"Inner_example"} // []string | (optional)
+ facilityNiew := []string{"Inner_example"} // []string | (optional)
+ facilityNire := []string{"Inner_example"} // []string | (optional)
+ facilityNisw := []string{"Inner_example"} // []string | (optional)
+ facilityNre := []string{"Inner_example"} // []string | (optional)
+ facilityRe := []string{"Inner_example"} // []string | (optional)
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ hasCircuitTerminations := true // bool | Has circuit terminations (optional)
+ hasClusters := true // bool | Has clusters (optional)
+ hasDevices := true // bool | Has devices (optional)
+ hasPowerPanels := true // bool | Has power panels (optional)
+ hasPrefixes := true // bool | Has prefixes (optional)
+ hasRackGroups := true // bool | Has rack groups (optional)
+ hasRacks := true // bool | Has racks (optional)
+ hasVlanGroups := true // bool | Has VLAN groups (optional)
+ hasVlans := true // bool | Has VLANs (optional)
+ id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
+ idN := []string{"Inner_example"} // []string | (optional)
+ lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedIsnull := true // bool | (optional)
+ lastUpdatedLt := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedLte := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedN := []time.Time{time.Now()} // []time.Time | (optional)
+ latitude := []float32{float32(123)} // []float32 | (optional)
+ latitudeGt := []float32{float32(123)} // []float32 | (optional)
+ latitudeGte := []float32{float32(123)} // []float32 | (optional)
+ latitudeIsnull := true // bool | (optional)
+ latitudeLt := []float32{float32(123)} // []float32 | (optional)
+ latitudeLte := []float32{float32(123)} // []float32 | (optional)
+ latitudeN := []float32{float32(123)} // []float32 | (optional)
+ limit := int32(56) // int32 | Number of results to return per page. (optional)
+ locationType := []string{"Inner_example"} // []string | (optional)
+ locationTypeN := []string{"Inner_example"} // []string | (optional)
+ longitude := []float32{float32(123)} // []float32 | (optional)
+ longitudeGt := []float32{float32(123)} // []float32 | (optional)
+ longitudeGte := []float32{float32(123)} // []float32 | (optional)
+ longitudeIsnull := true // bool | (optional)
+ longitudeLt := []float32{float32(123)} // []float32 | (optional)
+ longitudeLte := []float32{float32(123)} // []float32 | (optional)
+ longitudeN := []float32{float32(123)} // []float32 | (optional)
+ name := []string{"Inner_example"} // []string | (optional)
+ nameIc := []string{"Inner_example"} // []string | (optional)
+ nameIe := []string{"Inner_example"} // []string | (optional)
+ nameIew := []string{"Inner_example"} // []string | (optional)
+ nameIre := []string{"Inner_example"} // []string | (optional)
+ nameIsw := []string{"Inner_example"} // []string | (optional)
+ nameN := []string{"Inner_example"} // []string | (optional)
+ nameNic := []string{"Inner_example"} // []string | (optional)
+ nameNie := []string{"Inner_example"} // []string | (optional)
+ nameNiew := []string{"Inner_example"} // []string | (optional)
+ nameNire := []string{"Inner_example"} // []string | (optional)
+ nameNisw := []string{"Inner_example"} // []string | (optional)
+ nameNre := []string{"Inner_example"} // []string | (optional)
+ nameRe := []string{"Inner_example"} // []string | (optional)
+ offset := int32(56) // int32 | The initial index from which to return the results. (optional)
+ parent := []string{"Inner_example"} // []string | (optional)
+ parentIsnull := true // bool | Parent location (name or ID) is null (optional)
+ parentN := []string{"Inner_example"} // []string | (optional)
+ physicalAddress := []string{"Inner_example"} // []string | (optional)
+ physicalAddressIc := []string{"Inner_example"} // []string | (optional)
+ physicalAddressIe := []string{"Inner_example"} // []string | (optional)
+ physicalAddressIew := []string{"Inner_example"} // []string | (optional)
+ physicalAddressIre := []string{"Inner_example"} // []string | (optional)
+ physicalAddressIsw := []string{"Inner_example"} // []string | (optional)
+ physicalAddressN := []string{"Inner_example"} // []string | (optional)
+ physicalAddressNic := []string{"Inner_example"} // []string | (optional)
+ physicalAddressNie := []string{"Inner_example"} // []string | (optional)
+ physicalAddressNiew := []string{"Inner_example"} // []string | (optional)
+ physicalAddressNire := []string{"Inner_example"} // []string | (optional)
+ physicalAddressNisw := []string{"Inner_example"} // []string | (optional)
+ physicalAddressNre := []string{"Inner_example"} // []string | (optional)
+ physicalAddressRe := []string{"Inner_example"} // []string | (optional)
+ powerPanels := []string{"Inner_example"} // []string | (optional)
+ powerPanelsIsnull := true // bool | Power panels (name or ID) is null (optional)
+ powerPanelsN := []string{"Inner_example"} // []string | (optional)
+ prefixes := []string{"Inner_example"} // []string | (optional)
+ prefixesIsnull := true // bool | (optional)
+ prefixesN := []string{"Inner_example"} // []string | (optional)
+ q := "q_example" // string | Search (optional)
+ rackGroups := []string{"Inner_example"} // []string | (optional)
+ rackGroupsIsnull := true // bool | Rack groups (name or ID) is null (optional)
+ rackGroupsN := []string{"Inner_example"} // []string | (optional)
+ racks := []string{"Inner_example"} // []string | (optional)
+ racksIsnull := true // bool | Rack (name or ID) is null (optional)
+ racksN := []string{"Inner_example"} // []string | (optional)
+ shippingAddress := []string{"Inner_example"} // []string | (optional)
+ shippingAddressIc := []string{"Inner_example"} // []string | (optional)
+ shippingAddressIe := []string{"Inner_example"} // []string | (optional)
+ shippingAddressIew := []string{"Inner_example"} // []string | (optional)
+ shippingAddressIre := []string{"Inner_example"} // []string | (optional)
+ shippingAddressIsw := []string{"Inner_example"} // []string | (optional)
+ shippingAddressN := []string{"Inner_example"} // []string | (optional)
+ shippingAddressNic := []string{"Inner_example"} // []string | (optional)
+ shippingAddressNie := []string{"Inner_example"} // []string | (optional)
+ shippingAddressNiew := []string{"Inner_example"} // []string | (optional)
+ shippingAddressNire := []string{"Inner_example"} // []string | (optional)
+ shippingAddressNisw := []string{"Inner_example"} // []string | (optional)
+ shippingAddressNre := []string{"Inner_example"} // []string | (optional)
+ shippingAddressRe := []string{"Inner_example"} // []string | (optional)
+ sort := "sort_example" // string | Which field to use when ordering the results. (optional)
+ status := []string{"Inner_example"} // []string | (optional)
+ statusN := []string{"Inner_example"} // []string | (optional)
+ subtree := []string{"Inner_example"} // []string | (optional)
+ tags := []string{"Inner_example"} // []string | (optional)
+ tagsIsnull := true // bool | (optional)
+ tagsN := []string{"Inner_example"} // []string | (optional)
+ teams := []string{"Inner_example"} // []string | (optional)
+ teamsIsnull := true // bool | Teams (name or ID) is null (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
+ tenant := []string{"Inner_example"} // []string | (optional)
+ tenantIsnull := true // bool | Tenant (name or ID) is null (optional)
+ tenantN := []string{"Inner_example"} // []string | (optional)
+ tenantGroup := []string{"Inner_example"} // []string | (optional)
+ tenantGroupIsnull := true // bool | Tenant Group (name or ID) is null (optional)
+ tenantGroupN := []string{"Inner_example"} // []string | (optional)
+ tenantId := []*string{"Inner_example"} // []*string | Tenant (ID) (deprecated, use \"tenant\" filter instead) (optional)
+ tenantIdIsnull := true // bool | Tenant (ID) (deprecated, use \"tenant\" filter instead) is null (optional)
+ tenantIdN := []*string{"Inner_example"} // []*string | Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead) (optional)
+ timeZone := []openapiclient.DcimLocationsListTimeZoneParameterInner{openapiclient.dcim_locations_list_time_zone_parameter_inner("Africa/Abidjan")} // []DcimLocationsListTimeZoneParameterInner | Time zone (optional)
+ timeZoneIc := []string{"Inner_example"} // []string | Time zone (optional)
+ timeZoneIe := []string{"Inner_example"} // []string | Time zone (optional)
+ timeZoneIew := []string{"Inner_example"} // []string | Time zone (optional)
+ timeZoneIre := []string{"Inner_example"} // []string | Time zone (optional)
+ timeZoneIsw := []string{"Inner_example"} // []string | Time zone (optional)
+ timeZoneN := []string{"Inner_example"} // []string | Time zone (optional)
+ timeZoneNic := []string{"Inner_example"} // []string | Time zone (optional)
+ timeZoneNie := []string{"Inner_example"} // []string | Time zone (optional)
+ timeZoneNiew := []string{"Inner_example"} // []string | Time zone (optional)
+ timeZoneNire := []string{"Inner_example"} // []string | Time zone (optional)
+ timeZoneNisw := []string{"Inner_example"} // []string | Time zone (optional)
+ timeZoneNre := []string{"Inner_example"} // []string | Time zone (optional)
+ timeZoneRe := []string{"Inner_example"} // []string | Time zone (optional)
+ vlanGroups := []string{"Inner_example"} // []string | (optional)
+ vlanGroupsIsnull := true // bool | VLAN groups (name or ID) is null (optional)
+ vlanGroupsN := []string{"Inner_example"} // []string | (optional)
+ vlans := []string{"Inner_example"} // []string | (optional)
+ vlansIsnull := true // bool | Tagged VLANs (VID or ID) is null (optional)
+ vlansN := []string{"Inner_example"} // []string | (optional)
+ depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.DcimAPI.DcimLocationsList(context.Background()).Asn(asn).AsnGt(asnGt).AsnGte(asnGte).AsnIsnull(asnIsnull).AsnLt(asnLt).AsnLte(asnLte).AsnN(asnN).ChildLocationType(childLocationType).CircuitTerminations(circuitTerminations).CircuitTerminationsIsnull(circuitTerminationsIsnull).CircuitTerminationsN(circuitTerminationsN).Clusters(clusters).ClustersIsnull(clustersIsnull).ClustersN(clustersN).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).ContactEmail(contactEmail).ContactEmailIc(contactEmailIc).ContactEmailIe(contactEmailIe).ContactEmailIew(contactEmailIew).ContactEmailIre(contactEmailIre).ContactEmailIsw(contactEmailIsw).ContactEmailN(contactEmailN).ContactEmailNic(contactEmailNic).ContactEmailNie(contactEmailNie).ContactEmailNiew(contactEmailNiew).ContactEmailNire(contactEmailNire).ContactEmailNisw(contactEmailNisw).ContactEmailNre(contactEmailNre).ContactEmailRe(contactEmailRe).ContactName(contactName).ContactNameIc(contactNameIc).ContactNameIe(contactNameIe).ContactNameIew(contactNameIew).ContactNameIre(contactNameIre).ContactNameIsw(contactNameIsw).ContactNameN(contactNameN).ContactNameNic(contactNameNic).ContactNameNie(contactNameNie).ContactNameNiew(contactNameNiew).ContactNameNire(contactNameNire).ContactNameNisw(contactNameNisw).ContactNameNre(contactNameNre).ContactNameRe(contactNameRe).ContactPhone(contactPhone).ContactPhoneIc(contactPhoneIc).ContactPhoneIe(contactPhoneIe).ContactPhoneIew(contactPhoneIew).ContactPhoneIre(contactPhoneIre).ContactPhoneIsw(contactPhoneIsw).ContactPhoneN(contactPhoneN).ContactPhoneNic(contactPhoneNic).ContactPhoneNie(contactPhoneNie).ContactPhoneNiew(contactPhoneNiew).ContactPhoneNire(contactPhoneNire).ContactPhoneNisw(contactPhoneNisw).ContactPhoneNre(contactPhoneNre).ContactPhoneRe(contactPhoneRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentType(contentType).ContentTypeN(contentTypeN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Devices(devices).DevicesIsnull(devicesIsnull).DevicesN(devicesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Facility(facility).FacilityIc(facilityIc).FacilityIe(facilityIe).FacilityIew(facilityIew).FacilityIre(facilityIre).FacilityIsw(facilityIsw).FacilityN(facilityN).FacilityNic(facilityNic).FacilityNie(facilityNie).FacilityNiew(facilityNiew).FacilityNire(facilityNire).FacilityNisw(facilityNisw).FacilityNre(facilityNre).FacilityRe(facilityRe).Format(format).HasCircuitTerminations(hasCircuitTerminations).HasClusters(hasClusters).HasDevices(hasDevices).HasPowerPanels(hasPowerPanels).HasPrefixes(hasPrefixes).HasRackGroups(hasRackGroups).HasRacks(hasRacks).HasVlanGroups(hasVlanGroups).HasVlans(hasVlans).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Latitude(latitude).LatitudeGt(latitudeGt).LatitudeGte(latitudeGte).LatitudeIsnull(latitudeIsnull).LatitudeLt(latitudeLt).LatitudeLte(latitudeLte).LatitudeN(latitudeN).Limit(limit).LocationType(locationType).LocationTypeN(locationTypeN).Longitude(longitude).LongitudeGt(longitudeGt).LongitudeGte(longitudeGte).LongitudeIsnull(longitudeIsnull).LongitudeLt(longitudeLt).LongitudeLte(longitudeLte).LongitudeN(longitudeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).PhysicalAddress(physicalAddress).PhysicalAddressIc(physicalAddressIc).PhysicalAddressIe(physicalAddressIe).PhysicalAddressIew(physicalAddressIew).PhysicalAddressIre(physicalAddressIre).PhysicalAddressIsw(physicalAddressIsw).PhysicalAddressN(physicalAddressN).PhysicalAddressNic(physicalAddressNic).PhysicalAddressNie(physicalAddressNie).PhysicalAddressNiew(physicalAddressNiew).PhysicalAddressNire(physicalAddressNire).PhysicalAddressNisw(physicalAddressNisw).PhysicalAddressNre(physicalAddressNre).PhysicalAddressRe(physicalAddressRe).PowerPanels(powerPanels).PowerPanelsIsnull(powerPanelsIsnull).PowerPanelsN(powerPanelsN).Prefixes(prefixes).PrefixesIsnull(prefixesIsnull).PrefixesN(prefixesN).Q(q).RackGroups(rackGroups).RackGroupsIsnull(rackGroupsIsnull).RackGroupsN(rackGroupsN).Racks(racks).RacksIsnull(racksIsnull).RacksN(racksN).ShippingAddress(shippingAddress).ShippingAddressIc(shippingAddressIc).ShippingAddressIe(shippingAddressIe).ShippingAddressIew(shippingAddressIew).ShippingAddressIre(shippingAddressIre).ShippingAddressIsw(shippingAddressIsw).ShippingAddressN(shippingAddressN).ShippingAddressNic(shippingAddressNic).ShippingAddressNie(shippingAddressNie).ShippingAddressNiew(shippingAddressNiew).ShippingAddressNire(shippingAddressNire).ShippingAddressNisw(shippingAddressNisw).ShippingAddressNre(shippingAddressNre).ShippingAddressRe(shippingAddressRe).Sort(sort).Status(status).StatusN(statusN).Subtree(subtree).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).TimeZone(timeZone).TimeZoneIc(timeZoneIc).TimeZoneIe(timeZoneIe).TimeZoneIew(timeZoneIew).TimeZoneIre(timeZoneIre).TimeZoneIsw(timeZoneIsw).TimeZoneN(timeZoneN).TimeZoneNic(timeZoneNic).TimeZoneNie(timeZoneNie).TimeZoneNiew(timeZoneNiew).TimeZoneNire(timeZoneNire).TimeZoneNisw(timeZoneNisw).TimeZoneNre(timeZoneNre).TimeZoneRe(timeZoneRe).VlanGroups(vlanGroups).VlanGroupsIsnull(vlanGroupsIsnull).VlanGroupsN(vlanGroupsN).Vlans(vlans).VlansIsnull(vlansIsnull).VlansN(vlansN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationsList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimLocationsList`: PaginatedLocationList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationsList`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimLocationsListRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **asn** | **[]int32** | |
+ **asnGt** | **[]int32** | |
+ **asnGte** | **[]int32** | |
+ **asnIsnull** | **bool** | |
+ **asnLt** | **[]int32** | |
+ **asnLte** | **[]int32** | |
+ **asnN** | **[]int32** | |
+ **childLocationType** | **[]string** | |
+ **circuitTerminations** | **[]string** | |
+ **circuitTerminationsIsnull** | **bool** | |
+ **circuitTerminationsN** | **[]string** | |
+ **clusters** | **[]string** | |
+ **clustersIsnull** | **bool** | Clusters (name or ID) is null |
+ **clustersN** | **[]string** | |
+ **comments** | **[]string** | |
+ **commentsIc** | **[]string** | |
+ **commentsIe** | **[]string** | |
+ **commentsIew** | **[]string** | |
+ **commentsIre** | **[]string** | |
+ **commentsIsw** | **[]string** | |
+ **commentsN** | **[]string** | |
+ **commentsNic** | **[]string** | |
+ **commentsNie** | **[]string** | |
+ **commentsNiew** | **[]string** | |
+ **commentsNire** | **[]string** | |
+ **commentsNisw** | **[]string** | |
+ **commentsNre** | **[]string** | |
+ **commentsRe** | **[]string** | |
+ **contactEmail** | **[]string** | |
+ **contactEmailIc** | **[]string** | |
+ **contactEmailIe** | **[]string** | |
+ **contactEmailIew** | **[]string** | |
+ **contactEmailIre** | **[]string** | |
+ **contactEmailIsw** | **[]string** | |
+ **contactEmailN** | **[]string** | |
+ **contactEmailNic** | **[]string** | |
+ **contactEmailNie** | **[]string** | |
+ **contactEmailNiew** | **[]string** | |
+ **contactEmailNire** | **[]string** | |
+ **contactEmailNisw** | **[]string** | |
+ **contactEmailNre** | **[]string** | |
+ **contactEmailRe** | **[]string** | |
+ **contactName** | **[]string** | |
+ **contactNameIc** | **[]string** | |
+ **contactNameIe** | **[]string** | |
+ **contactNameIew** | **[]string** | |
+ **contactNameIre** | **[]string** | |
+ **contactNameIsw** | **[]string** | |
+ **contactNameN** | **[]string** | |
+ **contactNameNic** | **[]string** | |
+ **contactNameNie** | **[]string** | |
+ **contactNameNiew** | **[]string** | |
+ **contactNameNire** | **[]string** | |
+ **contactNameNisw** | **[]string** | |
+ **contactNameNre** | **[]string** | |
+ **contactNameRe** | **[]string** | |
+ **contactPhone** | **[]string** | |
+ **contactPhoneIc** | **[]string** | |
+ **contactPhoneIe** | **[]string** | |
+ **contactPhoneIew** | **[]string** | |
+ **contactPhoneIre** | **[]string** | |
+ **contactPhoneIsw** | **[]string** | |
+ **contactPhoneN** | **[]string** | |
+ **contactPhoneNic** | **[]string** | |
+ **contactPhoneNie** | **[]string** | |
+ **contactPhoneNiew** | **[]string** | |
+ **contactPhoneNire** | **[]string** | |
+ **contactPhoneNisw** | **[]string** | |
+ **contactPhoneNre** | **[]string** | |
+ **contactPhoneRe** | **[]string** | |
+ **contacts** | **[]string** | |
+ **contactsIsnull** | **bool** | Contacts (name or ID) is null |
+ **contactsN** | **[]string** | |
+ **contentType** | **[]int32** | Object types allowed to be associated with this Location Type |
+ **contentTypeN** | **[]int32** | Exclude Object types allowed to be associated with this Location Type |
+ **created** | [**[]time.Time**](time.Time.md) | |
+ **createdGt** | [**[]time.Time**](time.Time.md) | |
+ **createdGte** | [**[]time.Time**](time.Time.md) | |
+ **createdIsnull** | **bool** | |
+ **createdLt** | [**[]time.Time**](time.Time.md) | |
+ **createdLte** | [**[]time.Time**](time.Time.md) | |
+ **createdN** | [**[]time.Time**](time.Time.md) | |
+ **description** | **[]string** | |
+ **descriptionIc** | **[]string** | |
+ **descriptionIe** | **[]string** | |
+ **descriptionIew** | **[]string** | |
+ **descriptionIre** | **[]string** | |
+ **descriptionIsw** | **[]string** | |
+ **descriptionN** | **[]string** | |
+ **descriptionNic** | **[]string** | |
+ **descriptionNie** | **[]string** | |
+ **descriptionNiew** | **[]string** | |
+ **descriptionNire** | **[]string** | |
+ **descriptionNisw** | **[]string** | |
+ **descriptionNre** | **[]string** | |
+ **descriptionRe** | **[]string** | |
+ **devices** | **[]string** | |
+ **devicesIsnull** | **bool** | Devices (name or ID) is null |
+ **devicesN** | **[]string** | |
+ **dynamicGroups** | **[]string** | |
+ **dynamicGroupsN** | **[]string** | |
+ **facility** | **[]string** | |
+ **facilityIc** | **[]string** | |
+ **facilityIe** | **[]string** | |
+ **facilityIew** | **[]string** | |
+ **facilityIre** | **[]string** | |
+ **facilityIsw** | **[]string** | |
+ **facilityN** | **[]string** | |
+ **facilityNic** | **[]string** | |
+ **facilityNie** | **[]string** | |
+ **facilityNiew** | **[]string** | |
+ **facilityNire** | **[]string** | |
+ **facilityNisw** | **[]string** | |
+ **facilityNre** | **[]string** | |
+ **facilityRe** | **[]string** | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **hasCircuitTerminations** | **bool** | Has circuit terminations |
+ **hasClusters** | **bool** | Has clusters |
+ **hasDevices** | **bool** | Has devices |
+ **hasPowerPanels** | **bool** | Has power panels |
+ **hasPrefixes** | **bool** | Has prefixes |
+ **hasRackGroups** | **bool** | Has rack groups |
+ **hasRacks** | **bool** | Has racks |
+ **hasVlanGroups** | **bool** | Has VLAN groups |
+ **hasVlans** | **bool** | Has VLANs |
+ **id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
+ **idN** | **[]string** | |
+ **lastUpdated** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedIsnull** | **bool** | |
+ **lastUpdatedLt** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedLte** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedN** | [**[]time.Time**](time.Time.md) | |
+ **latitude** | **[]float32** | |
+ **latitudeGt** | **[]float32** | |
+ **latitudeGte** | **[]float32** | |
+ **latitudeIsnull** | **bool** | |
+ **latitudeLt** | **[]float32** | |
+ **latitudeLte** | **[]float32** | |
+ **latitudeN** | **[]float32** | |
+ **limit** | **int32** | Number of results to return per page. |
+ **locationType** | **[]string** | |
+ **locationTypeN** | **[]string** | |
+ **longitude** | **[]float32** | |
+ **longitudeGt** | **[]float32** | |
+ **longitudeGte** | **[]float32** | |
+ **longitudeIsnull** | **bool** | |
+ **longitudeLt** | **[]float32** | |
+ **longitudeLte** | **[]float32** | |
+ **longitudeN** | **[]float32** | |
+ **name** | **[]string** | |
+ **nameIc** | **[]string** | |
+ **nameIe** | **[]string** | |
+ **nameIew** | **[]string** | |
+ **nameIre** | **[]string** | |
+ **nameIsw** | **[]string** | |
+ **nameN** | **[]string** | |
+ **nameNic** | **[]string** | |
+ **nameNie** | **[]string** | |
+ **nameNiew** | **[]string** | |
+ **nameNire** | **[]string** | |
+ **nameNisw** | **[]string** | |
+ **nameNre** | **[]string** | |
+ **nameRe** | **[]string** | |
+ **offset** | **int32** | The initial index from which to return the results. |
+ **parent** | **[]string** | |
+ **parentIsnull** | **bool** | Parent location (name or ID) is null |
+ **parentN** | **[]string** | |
+ **physicalAddress** | **[]string** | |
+ **physicalAddressIc** | **[]string** | |
+ **physicalAddressIe** | **[]string** | |
+ **physicalAddressIew** | **[]string** | |
+ **physicalAddressIre** | **[]string** | |
+ **physicalAddressIsw** | **[]string** | |
+ **physicalAddressN** | **[]string** | |
+ **physicalAddressNic** | **[]string** | |
+ **physicalAddressNie** | **[]string** | |
+ **physicalAddressNiew** | **[]string** | |
+ **physicalAddressNire** | **[]string** | |
+ **physicalAddressNisw** | **[]string** | |
+ **physicalAddressNre** | **[]string** | |
+ **physicalAddressRe** | **[]string** | |
+ **powerPanels** | **[]string** | |
+ **powerPanelsIsnull** | **bool** | Power panels (name or ID) is null |
+ **powerPanelsN** | **[]string** | |
+ **prefixes** | **[]string** | |
+ **prefixesIsnull** | **bool** | |
+ **prefixesN** | **[]string** | |
+ **q** | **string** | Search |
+ **rackGroups** | **[]string** | |
+ **rackGroupsIsnull** | **bool** | Rack groups (name or ID) is null |
+ **rackGroupsN** | **[]string** | |
+ **racks** | **[]string** | |
+ **racksIsnull** | **bool** | Rack (name or ID) is null |
+ **racksN** | **[]string** | |
+ **shippingAddress** | **[]string** | |
+ **shippingAddressIc** | **[]string** | |
+ **shippingAddressIe** | **[]string** | |
+ **shippingAddressIew** | **[]string** | |
+ **shippingAddressIre** | **[]string** | |
+ **shippingAddressIsw** | **[]string** | |
+ **shippingAddressN** | **[]string** | |
+ **shippingAddressNic** | **[]string** | |
+ **shippingAddressNie** | **[]string** | |
+ **shippingAddressNiew** | **[]string** | |
+ **shippingAddressNire** | **[]string** | |
+ **shippingAddressNisw** | **[]string** | |
+ **shippingAddressNre** | **[]string** | |
+ **shippingAddressRe** | **[]string** | |
+ **sort** | **string** | Which field to use when ordering the results. |
+ **status** | **[]string** | |
+ **statusN** | **[]string** | |
+ **subtree** | **[]string** | |
+ **tags** | **[]string** | |
+ **tagsIsnull** | **bool** | |
+ **tagsN** | **[]string** | |
+ **teams** | **[]string** | |
+ **teamsIsnull** | **bool** | Teams (name or ID) is null |
+ **teamsN** | **[]string** | |
+ **tenant** | **[]string** | |
+ **tenantIsnull** | **bool** | Tenant (name or ID) is null |
+ **tenantN** | **[]string** | |
+ **tenantGroup** | **[]string** | |
+ **tenantGroupIsnull** | **bool** | Tenant Group (name or ID) is null |
+ **tenantGroupN** | **[]string** | |
+ **tenantId** | **[]string** | Tenant (ID) (deprecated, use \"tenant\" filter instead) |
+ **tenantIdIsnull** | **bool** | Tenant (ID) (deprecated, use \"tenant\" filter instead) is null |
+ **tenantIdN** | **[]string** | Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead) |
+ **timeZone** | [**[]DcimLocationsListTimeZoneParameterInner**](DcimLocationsListTimeZoneParameterInner.md) | Time zone |
+ **timeZoneIc** | **[]string** | Time zone |
+ **timeZoneIe** | **[]string** | Time zone |
+ **timeZoneIew** | **[]string** | Time zone |
+ **timeZoneIre** | **[]string** | Time zone |
+ **timeZoneIsw** | **[]string** | Time zone |
+ **timeZoneN** | **[]string** | Time zone |
+ **timeZoneNic** | **[]string** | Time zone |
+ **timeZoneNie** | **[]string** | Time zone |
+ **timeZoneNiew** | **[]string** | Time zone |
+ **timeZoneNire** | **[]string** | Time zone |
+ **timeZoneNisw** | **[]string** | Time zone |
+ **timeZoneNre** | **[]string** | Time zone |
+ **timeZoneRe** | **[]string** | Time zone |
+ **vlanGroups** | **[]string** | |
+ **vlanGroupsIsnull** | **bool** | VLAN groups (name or ID) is null |
+ **vlanGroupsN** | **[]string** | |
+ **vlans** | **[]string** | |
+ **vlansIsnull** | **bool** | Tagged VLANs (VID or ID) is null |
+ **vlansN** | **[]string** | |
+ **depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
+
+### Return type
+
+[**PaginatedLocationList**](PaginatedLocationList.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimLocationsNotesCreate
+
+> Note DcimLocationsNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this location.
+ noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.DcimAPI.DcimLocationsNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationsNotesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimLocationsNotesCreate`: Note
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationsNotesCreate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this location. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimLocationsNotesCreateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **noteInputRequest** | [**NoteInputRequest**](NoteInputRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+[**Note**](Note.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimLocationsNotesList
+
+> PaginatedNoteList DcimLocationsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this location.
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ limit := int32(56) // int32 | Number of results to return per page. (optional)
+ offset := int32(56) // int32 | The initial index from which to return the results. (optional)
+ depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.DcimAPI.DcimLocationsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationsNotesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimLocationsNotesList`: PaginatedNoteList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationsNotesList`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this location. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimLocationsNotesListRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **limit** | **int32** | Number of results to return per page. |
+ **offset** | **int32** | The initial index from which to return the results. |
+ **depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
+
+### Return type
+
+[**PaginatedNoteList**](PaginatedNoteList.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimLocationsPartialUpdate
+
+> Location DcimLocationsPartialUpdate(ctx, id).Format(format).PatchedLocationRequest(patchedLocationRequest).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this location.
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ patchedLocationRequest := *openapiclient.NewPatchedLocationRequest() // PatchedLocationRequest | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.DcimAPI.DcimLocationsPartialUpdate(context.Background(), id).Format(format).PatchedLocationRequest(patchedLocationRequest).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationsPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimLocationsPartialUpdate`: Location
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationsPartialUpdate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this location. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimLocationsPartialUpdateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **patchedLocationRequest** | [**PatchedLocationRequest**](PatchedLocationRequest.md) | |
+
+### Return type
+
+[**Location**](Location.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimLocationsRetrieve
+
+> Location DcimLocationsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this location.
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.DcimAPI.DcimLocationsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationsRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimLocationsRetrieve`: Location
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationsRetrieve`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this location. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimLocationsRetrieveRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
+
+### Return type
+
+[**Location**](Location.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimLocationsUpdate
+
+> Location DcimLocationsUpdate(ctx, id).LocationRequest(locationRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this location.
+ locationRequest := *openapiclient.NewLocationRequest("Name_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // LocationRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.DcimAPI.DcimLocationsUpdate(context.Background(), id).LocationRequest(locationRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationsUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimLocationsUpdate`: Location
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationsUpdate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this location. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimLocationsUpdateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **locationRequest** | [**LocationRequest**](LocationRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+[**Location**](Location.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimManufacturersBulkDestroy
+
+> DcimManufacturersBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ bulkOperationRequest := []openapiclient.BulkOperationRequest{*openapiclient.NewBulkOperationRequest("Id_example")} // []BulkOperationRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ r, err := apiClient.DcimAPI.DcimManufacturersBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimManufacturersBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+}
+```
+
+### Path Parameters
+
+
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimManufacturersBulkDestroyRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **bulkOperationRequest** | [**[]BulkOperationRequest**](BulkOperationRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+ (empty response body)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: Not defined
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimManufacturersBulkPartialUpdate
+
+> []Manufacturer DcimManufacturersBulkPartialUpdate(ctx).PatchedBulkWritableManufacturerRequest(patchedBulkWritableManufacturerRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ patchedBulkWritableManufacturerRequest := []openapiclient.PatchedBulkWritableManufacturerRequest{*openapiclient.NewPatchedBulkWritableManufacturerRequest("Id_example")} // []PatchedBulkWritableManufacturerRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.DcimAPI.DcimManufacturersBulkPartialUpdate(context.Background()).PatchedBulkWritableManufacturerRequest(patchedBulkWritableManufacturerRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimManufacturersBulkPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimManufacturersBulkPartialUpdate`: []Manufacturer
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimManufacturersBulkPartialUpdate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimManufacturersBulkPartialUpdateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **patchedBulkWritableManufacturerRequest** | [**[]PatchedBulkWritableManufacturerRequest**](PatchedBulkWritableManufacturerRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+[**[]Manufacturer**](Manufacturer.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimManufacturersBulkUpdate
+
+> []Manufacturer DcimManufacturersBulkUpdate(ctx).BulkWritableManufacturerRequest(bulkWritableManufacturerRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ bulkWritableManufacturerRequest := []openapiclient.BulkWritableManufacturerRequest{*openapiclient.NewBulkWritableManufacturerRequest("Id_example", "Name_example")} // []BulkWritableManufacturerRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.DcimAPI.DcimManufacturersBulkUpdate(context.Background()).BulkWritableManufacturerRequest(bulkWritableManufacturerRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimManufacturersBulkUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimManufacturersBulkUpdate`: []Manufacturer
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimManufacturersBulkUpdate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimManufacturersBulkUpdateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **bulkWritableManufacturerRequest** | [**[]BulkWritableManufacturerRequest**](BulkWritableManufacturerRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+[**[]Manufacturer**](Manufacturer.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimManufacturersCreate
+
+> Manufacturer DcimManufacturersCreate(ctx).ManufacturerRequest(manufacturerRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ manufacturerRequest := *openapiclient.NewManufacturerRequest("Name_example") // ManufacturerRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.DcimAPI.DcimManufacturersCreate(context.Background()).ManufacturerRequest(manufacturerRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimManufacturersCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimManufacturersCreate`: Manufacturer
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimManufacturersCreate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimManufacturersCreateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **manufacturerRequest** | [**ManufacturerRequest**](ManufacturerRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+[**Manufacturer**](Manufacturer.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimManufacturersDestroy
+
+> DcimManufacturersDestroy(ctx, id).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this manufacturer.
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ r, err := apiClient.DcimAPI.DcimManufacturersDestroy(context.Background(), id).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimManufacturersDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this manufacturer. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimManufacturersDestroyRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+ (empty response body)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: Not defined
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimManufacturersList
+
+> PaginatedManufacturerList DcimManufacturersList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceTypes(deviceTypes).DeviceTypesIsnull(deviceTypesIsnull).DeviceTypesN(deviceTypesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceTypes(hasDeviceTypes).HasInventoryItems(hasInventoryItems).HasPlatforms(hasPlatforms).Id(id).IdN(idN).InventoryItems(inventoryItems).InventoryItemsIsnull(inventoryItemsIsnull).InventoryItemsN(inventoryItemsN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Platforms(platforms).PlatformsIsnull(platformsIsnull).PlatformsN(platformsN).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ "time"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ contacts := []string{"Inner_example"} // []string | (optional)
+ contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
+ created := []time.Time{time.Now()} // []time.Time | (optional)
+ createdGt := []time.Time{time.Now()} // []time.Time | (optional)
+ createdGte := []time.Time{time.Now()} // []time.Time | (optional)
+ createdIsnull := true // bool | (optional)
+ createdLt := []time.Time{time.Now()} // []time.Time | (optional)
+ createdLte := []time.Time{time.Now()} // []time.Time | (optional)
+ createdN := []time.Time{time.Now()} // []time.Time | (optional)
+ description := []string{"Inner_example"} // []string | (optional)
+ descriptionIc := []string{"Inner_example"} // []string | (optional)
+ descriptionIe := []string{"Inner_example"} // []string | (optional)
+ descriptionIew := []string{"Inner_example"} // []string | (optional)
+ descriptionIre := []string{"Inner_example"} // []string | (optional)
+ descriptionIsw := []string{"Inner_example"} // []string | (optional)
+ descriptionN := []string{"Inner_example"} // []string | (optional)
+ descriptionNic := []string{"Inner_example"} // []string | (optional)
+ descriptionNie := []string{"Inner_example"} // []string | (optional)
+ descriptionNiew := []string{"Inner_example"} // []string | (optional)
+ descriptionNire := []string{"Inner_example"} // []string | (optional)
+ descriptionNisw := []string{"Inner_example"} // []string | (optional)
+ descriptionNre := []string{"Inner_example"} // []string | (optional)
+ descriptionRe := []string{"Inner_example"} // []string | (optional)
+ deviceTypes := []string{"Inner_example"} // []string | (optional)
+ deviceTypesIsnull := true // bool | Device types (model or ID) is null (optional)
+ deviceTypesN := []string{"Inner_example"} // []string | (optional)
+ dynamicGroups := []string{"Inner_example"} // []string | (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ hasDeviceTypes := true // bool | Has device types (optional)
+ hasInventoryItems := true // bool | Has inventory items (optional)
+ hasPlatforms := true // bool | Has platforms (optional)
+ id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
+ idN := []string{"Inner_example"} // []string | (optional)
+ inventoryItems := []string{"Inner_example"} // []string | (optional)
+ inventoryItemsIsnull := true // bool | Inventory items (name or ID) is null (optional)
+ inventoryItemsN := []string{"Inner_example"} // []string | (optional)
+ lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedIsnull := true // bool | (optional)
+ lastUpdatedLt := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedLte := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedN := []time.Time{time.Now()} // []time.Time | (optional)
+ limit := int32(56) // int32 | Number of results to return per page. (optional)
+ name := []string{"Inner_example"} // []string | (optional)
+ nameIc := []string{"Inner_example"} // []string | (optional)
+ nameIe := []string{"Inner_example"} // []string | (optional)
+ nameIew := []string{"Inner_example"} // []string | (optional)
+ nameIre := []string{"Inner_example"} // []string | (optional)
+ nameIsw := []string{"Inner_example"} // []string | (optional)
+ nameN := []string{"Inner_example"} // []string | (optional)
+ nameNic := []string{"Inner_example"} // []string | (optional)
+ nameNie := []string{"Inner_example"} // []string | (optional)
+ nameNiew := []string{"Inner_example"} // []string | (optional)
+ nameNire := []string{"Inner_example"} // []string | (optional)
+ nameNisw := []string{"Inner_example"} // []string | (optional)
+ nameNre := []string{"Inner_example"} // []string | (optional)
+ nameRe := []string{"Inner_example"} // []string | (optional)
+ offset := int32(56) // int32 | The initial index from which to return the results. (optional)
+ platforms := []string{"Inner_example"} // []string | (optional)
+ platformsIsnull := true // bool | Platforms (name or ID) is null (optional)
+ platformsN := []string{"Inner_example"} // []string | (optional)
+ q := "q_example" // string | Search (optional)
+ sort := "sort_example" // string | Which field to use when ordering the results. (optional)
+ teams := []string{"Inner_example"} // []string | (optional)
+ teamsIsnull := true // bool | Teams (name or ID) is null (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
+ depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.DcimAPI.DcimManufacturersList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceTypes(deviceTypes).DeviceTypesIsnull(deviceTypesIsnull).DeviceTypesN(deviceTypesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceTypes(hasDeviceTypes).HasInventoryItems(hasInventoryItems).HasPlatforms(hasPlatforms).Id(id).IdN(idN).InventoryItems(inventoryItems).InventoryItemsIsnull(inventoryItemsIsnull).InventoryItemsN(inventoryItemsN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Platforms(platforms).PlatformsIsnull(platformsIsnull).PlatformsN(platformsN).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimManufacturersList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimManufacturersList`: PaginatedManufacturerList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimManufacturersList`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimManufacturersListRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **contacts** | **[]string** | |
+ **contactsIsnull** | **bool** | Contacts (name or ID) is null |
+ **contactsN** | **[]string** | |
+ **created** | [**[]time.Time**](time.Time.md) | |
+ **createdGt** | [**[]time.Time**](time.Time.md) | |
+ **createdGte** | [**[]time.Time**](time.Time.md) | |
+ **createdIsnull** | **bool** | |
+ **createdLt** | [**[]time.Time**](time.Time.md) | |
+ **createdLte** | [**[]time.Time**](time.Time.md) | |
+ **createdN** | [**[]time.Time**](time.Time.md) | |
+ **description** | **[]string** | |
+ **descriptionIc** | **[]string** | |
+ **descriptionIe** | **[]string** | |
+ **descriptionIew** | **[]string** | |
+ **descriptionIre** | **[]string** | |
+ **descriptionIsw** | **[]string** | |
+ **descriptionN** | **[]string** | |
+ **descriptionNic** | **[]string** | |
+ **descriptionNie** | **[]string** | |
+ **descriptionNiew** | **[]string** | |
+ **descriptionNire** | **[]string** | |
+ **descriptionNisw** | **[]string** | |
+ **descriptionNre** | **[]string** | |
+ **descriptionRe** | **[]string** | |
+ **deviceTypes** | **[]string** | |
+ **deviceTypesIsnull** | **bool** | Device types (model or ID) is null |
+ **deviceTypesN** | **[]string** | |
+ **dynamicGroups** | **[]string** | |
+ **dynamicGroupsN** | **[]string** | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **hasDeviceTypes** | **bool** | Has device types |
+ **hasInventoryItems** | **bool** | Has inventory items |
+ **hasPlatforms** | **bool** | Has platforms |
+ **id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
+ **idN** | **[]string** | |
+ **inventoryItems** | **[]string** | |
+ **inventoryItemsIsnull** | **bool** | Inventory items (name or ID) is null |
+ **inventoryItemsN** | **[]string** | |
+ **lastUpdated** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedIsnull** | **bool** | |
+ **lastUpdatedLt** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedLte** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedN** | [**[]time.Time**](time.Time.md) | |
+ **limit** | **int32** | Number of results to return per page. |
+ **name** | **[]string** | |
+ **nameIc** | **[]string** | |
+ **nameIe** | **[]string** | |
+ **nameIew** | **[]string** | |
+ **nameIre** | **[]string** | |
+ **nameIsw** | **[]string** | |
+ **nameN** | **[]string** | |
+ **nameNic** | **[]string** | |
+ **nameNie** | **[]string** | |
+ **nameNiew** | **[]string** | |
+ **nameNire** | **[]string** | |
+ **nameNisw** | **[]string** | |
+ **nameNre** | **[]string** | |
+ **nameRe** | **[]string** | |
+ **offset** | **int32** | The initial index from which to return the results. |
+ **platforms** | **[]string** | |
+ **platformsIsnull** | **bool** | Platforms (name or ID) is null |
+ **platformsN** | **[]string** | |
+ **q** | **string** | Search |
+ **sort** | **string** | Which field to use when ordering the results. |
+ **teams** | **[]string** | |
+ **teamsIsnull** | **bool** | Teams (name or ID) is null |
+ **teamsN** | **[]string** | |
+ **depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
+
+### Return type
+
+[**PaginatedManufacturerList**](PaginatedManufacturerList.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimManufacturersNotesCreate
+
+> Note DcimManufacturersNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this manufacturer.
+ noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.DcimAPI.DcimManufacturersNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimManufacturersNotesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimManufacturersNotesCreate`: Note
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimManufacturersNotesCreate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this manufacturer. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimManufacturersNotesCreateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **noteInputRequest** | [**NoteInputRequest**](NoteInputRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+[**Note**](Note.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimManufacturersNotesList
+
+> PaginatedNoteList DcimManufacturersNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this manufacturer.
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ limit := int32(56) // int32 | Number of results to return per page. (optional)
+ offset := int32(56) // int32 | The initial index from which to return the results. (optional)
+ depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.DcimAPI.DcimManufacturersNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimManufacturersNotesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimManufacturersNotesList`: PaginatedNoteList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimManufacturersNotesList`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this manufacturer. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimManufacturersNotesListRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **limit** | **int32** | Number of results to return per page. |
+ **offset** | **int32** | The initial index from which to return the results. |
+ **depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
+
+### Return type
+
+[**PaginatedNoteList**](PaginatedNoteList.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimManufacturersPartialUpdate
+
+> Manufacturer DcimManufacturersPartialUpdate(ctx, id).Format(format).PatchedManufacturerRequest(patchedManufacturerRequest).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this manufacturer.
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ patchedManufacturerRequest := *openapiclient.NewPatchedManufacturerRequest() // PatchedManufacturerRequest | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.DcimAPI.DcimManufacturersPartialUpdate(context.Background(), id).Format(format).PatchedManufacturerRequest(patchedManufacturerRequest).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimManufacturersPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimManufacturersPartialUpdate`: Manufacturer
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimManufacturersPartialUpdate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this manufacturer. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimManufacturersPartialUpdateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **patchedManufacturerRequest** | [**PatchedManufacturerRequest**](PatchedManufacturerRequest.md) | |
+
+### Return type
+
+[**Manufacturer**](Manufacturer.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimManufacturersRetrieve
+
+> Manufacturer DcimManufacturersRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this manufacturer.
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.DcimAPI.DcimManufacturersRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimManufacturersRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimManufacturersRetrieve`: Manufacturer
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimManufacturersRetrieve`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this manufacturer. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimManufacturersRetrieveRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
+
+### Return type
+
+[**Manufacturer**](Manufacturer.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimManufacturersUpdate
+
+> Manufacturer DcimManufacturersUpdate(ctx, id).ManufacturerRequest(manufacturerRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this manufacturer.
+ manufacturerRequest := *openapiclient.NewManufacturerRequest("Name_example") // ManufacturerRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.DcimAPI.DcimManufacturersUpdate(context.Background(), id).ManufacturerRequest(manufacturerRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimManufacturersUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimManufacturersUpdate`: Manufacturer
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimManufacturersUpdate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this manufacturer. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimManufacturersUpdateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **manufacturerRequest** | [**ManufacturerRequest**](ManufacturerRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+[**Manufacturer**](Manufacturer.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimModuleBayTemplatesBulkDestroy
+
+> DcimModuleBayTemplatesBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ bulkOperationRequest := []openapiclient.BulkOperationRequest{*openapiclient.NewBulkOperationRequest("Id_example")} // []BulkOperationRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ r, err := apiClient.DcimAPI.DcimModuleBayTemplatesBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBayTemplatesBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+}
+```
+
+### Path Parameters
+
+
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimModuleBayTemplatesBulkDestroyRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **bulkOperationRequest** | [**[]BulkOperationRequest**](BulkOperationRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+ (empty response body)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: Not defined
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimModuleBayTemplatesBulkPartialUpdate
+
+> []ModuleBayTemplate DcimModuleBayTemplatesBulkPartialUpdate(ctx).PatchedBulkWritableModuleBayTemplateRequest(patchedBulkWritableModuleBayTemplateRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ patchedBulkWritableModuleBayTemplateRequest := []openapiclient.PatchedBulkWritableModuleBayTemplateRequest{*openapiclient.NewPatchedBulkWritableModuleBayTemplateRequest("Id_example")} // []PatchedBulkWritableModuleBayTemplateRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.DcimAPI.DcimModuleBayTemplatesBulkPartialUpdate(context.Background()).PatchedBulkWritableModuleBayTemplateRequest(patchedBulkWritableModuleBayTemplateRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBayTemplatesBulkPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimModuleBayTemplatesBulkPartialUpdate`: []ModuleBayTemplate
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBayTemplatesBulkPartialUpdate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimModuleBayTemplatesBulkPartialUpdateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **patchedBulkWritableModuleBayTemplateRequest** | [**[]PatchedBulkWritableModuleBayTemplateRequest**](PatchedBulkWritableModuleBayTemplateRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**PaginatedLocationList**](PaginatedLocationList.md)
+[**[]ModuleBayTemplate**](ModuleBayTemplate.md)
### Authorization
@@ -23638,7 +24585,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: Not defined
+- **Content-Type**: application/json, text/csv
- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -23646,9 +24593,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimLocationsNotesCreate
+## DcimModuleBayTemplatesBulkUpdate
-> Note DcimLocationsNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+> []ModuleBayTemplate DcimModuleBayTemplatesBulkUpdate(ctx).BulkWritableModuleBayTemplateRequest(bulkWritableModuleBayTemplateRequest).Format(format).Execute()
@@ -23667,44 +24614,106 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this location.
- noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
+ bulkWritableModuleBayTemplateRequest := []openapiclient.BulkWritableModuleBayTemplateRequest{*openapiclient.NewBulkWritableModuleBayTemplateRequest("Id_example", "Name_example")} // []BulkWritableModuleBayTemplateRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimLocationsNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModuleBayTemplatesBulkUpdate(context.Background()).BulkWritableModuleBayTemplateRequest(bulkWritableModuleBayTemplateRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationsNotesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBayTemplatesBulkUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimLocationsNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationsNotesCreate`: %v\n", resp)
+ // response from `DcimModuleBayTemplatesBulkUpdate`: []ModuleBayTemplate
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBayTemplatesBulkUpdate`: %v\n", resp)
}
```
### Path Parameters
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimModuleBayTemplatesBulkUpdateRequest struct via the builder pattern
+
+
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this location. |
+ **bulkWritableModuleBayTemplateRequest** | [**[]BulkWritableModuleBayTemplateRequest**](BulkWritableModuleBayTemplateRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+[**[]ModuleBayTemplate**](ModuleBayTemplate.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimModuleBayTemplatesCreate
+
+> ModuleBayTemplate DcimModuleBayTemplatesCreate(ctx).ModuleBayTemplateRequest(moduleBayTemplateRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ moduleBayTemplateRequest := *openapiclient.NewModuleBayTemplateRequest("Name_example") // ModuleBayTemplateRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.DcimAPI.DcimModuleBayTemplatesCreate(context.Background()).ModuleBayTemplateRequest(moduleBayTemplateRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBayTemplatesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimModuleBayTemplatesCreate`: ModuleBayTemplate
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBayTemplatesCreate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimLocationsNotesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleBayTemplatesCreateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-
- **noteInputRequest** | [**NoteInputRequest**](NoteInputRequest.md) | |
+ **moduleBayTemplateRequest** | [**ModuleBayTemplateRequest**](ModuleBayTemplateRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**Note**](Note.md)
+[**ModuleBayTemplate**](ModuleBayTemplate.md)
### Authorization
@@ -23720,9 +24729,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimLocationsNotesList
+## DcimModuleBayTemplatesDestroy
-> PaginatedNoteList DcimLocationsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> DcimModuleBayTemplatesDestroy(ctx, id).Format(format).Execute()
@@ -23741,21 +24750,16 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this location.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module bay template.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- limit := int32(56) // int32 | Number of results to return per page. (optional)
- offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimLocationsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ r, err := apiClient.DcimAPI.DcimModuleBayTemplatesDestroy(context.Background(), id).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationsNotesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBayTemplatesDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimLocationsNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationsNotesList`: %v\n", resp)
}
```
@@ -23765,24 +24769,284 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this location. |
+**id** | **string** | A UUID string identifying this module bay template. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimLocationsNotesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleBayTemplatesDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+ (empty response body)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: Not defined
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimModuleBayTemplatesList
+
+> PaginatedModuleBayTemplateList DcimModuleBayTemplatesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceType(hasDeviceType).HasModuleType(hasModuleType).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModuleFamily(moduleFamily).ModuleFamilyIsnull(moduleFamilyIsnull).ModuleFamilyN(moduleFamilyN).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Position(position).PositionIc(positionIc).PositionIe(positionIe).PositionIew(positionIew).PositionIre(positionIre).PositionIsw(positionIsw).PositionN(positionN).PositionNic(positionNic).PositionNie(positionNie).PositionNiew(positionNiew).PositionNire(positionNire).PositionNisw(positionNisw).PositionNre(positionNre).PositionRe(positionRe).Q(q).RequiresFirstPartyModules(requiresFirstPartyModules).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ "time"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ contacts := []string{"Inner_example"} // []string | (optional)
+ contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
+ created := []time.Time{time.Now()} // []time.Time | (optional)
+ createdGt := []time.Time{time.Now()} // []time.Time | (optional)
+ createdGte := []time.Time{time.Now()} // []time.Time | (optional)
+ createdIsnull := true // bool | (optional)
+ createdLt := []time.Time{time.Now()} // []time.Time | (optional)
+ createdLte := []time.Time{time.Now()} // []time.Time | (optional)
+ createdN := []time.Time{time.Now()} // []time.Time | (optional)
+ description := []string{"Inner_example"} // []string | Description (optional)
+ descriptionIc := []string{"Inner_example"} // []string | Description (optional)
+ descriptionIe := []string{"Inner_example"} // []string | Description (optional)
+ descriptionIew := []string{"Inner_example"} // []string | Description (optional)
+ descriptionIre := []string{"Inner_example"} // []string | Description (optional)
+ descriptionIsw := []string{"Inner_example"} // []string | Description (optional)
+ descriptionN := []string{"Inner_example"} // []string | Description (optional)
+ descriptionNic := []string{"Inner_example"} // []string | Description (optional)
+ descriptionNie := []string{"Inner_example"} // []string | Description (optional)
+ descriptionNiew := []string{"Inner_example"} // []string | Description (optional)
+ descriptionNire := []string{"Inner_example"} // []string | Description (optional)
+ descriptionNisw := []string{"Inner_example"} // []string | Description (optional)
+ descriptionNre := []string{"Inner_example"} // []string | Description (optional)
+ descriptionRe := []string{"Inner_example"} // []string | Description (optional)
+ deviceType := []string{"Inner_example"} // []string | (optional)
+ deviceTypeIsnull := true // bool | Device type (model or ID) is null (optional)
+ deviceTypeN := []string{"Inner_example"} // []string | (optional)
+ dynamicGroups := []string{"Inner_example"} // []string | (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ hasDeviceType := true // bool | Has device type (optional)
+ hasModuleType := true // bool | Has module type (optional)
+ id := []string{"Inner_example"} // []string | ID (optional)
+ idN := []string{"Inner_example"} // []string | Exclude ID (optional)
+ label := []string{"Inner_example"} // []string | Label (optional)
+ labelIc := []string{"Inner_example"} // []string | Label (optional)
+ labelIe := []string{"Inner_example"} // []string | Label (optional)
+ labelIew := []string{"Inner_example"} // []string | Label (optional)
+ labelIre := []string{"Inner_example"} // []string | Label (optional)
+ labelIsw := []string{"Inner_example"} // []string | Label (optional)
+ labelN := []string{"Inner_example"} // []string | Label (optional)
+ labelNic := []string{"Inner_example"} // []string | Label (optional)
+ labelNie := []string{"Inner_example"} // []string | Label (optional)
+ labelNiew := []string{"Inner_example"} // []string | Label (optional)
+ labelNire := []string{"Inner_example"} // []string | Label (optional)
+ labelNisw := []string{"Inner_example"} // []string | Label (optional)
+ labelNre := []string{"Inner_example"} // []string | Label (optional)
+ labelRe := []string{"Inner_example"} // []string | Label (optional)
+ lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedIsnull := true // bool | (optional)
+ lastUpdatedLt := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedLte := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedN := []time.Time{time.Now()} // []time.Time | (optional)
+ limit := int32(56) // int32 | Number of results to return per page. (optional)
+ moduleFamily := []string{"Inner_example"} // []string | (optional)
+ moduleFamilyIsnull := true // bool | Module family (name or ID) is null (optional)
+ moduleFamilyN := []string{"Inner_example"} // []string | (optional)
+ moduleType := []string{"Inner_example"} // []string | (optional)
+ moduleTypeIsnull := true // bool | Module type (model or ID) is null (optional)
+ moduleTypeN := []string{"Inner_example"} // []string | (optional)
+ name := []string{"Inner_example"} // []string | Name (optional)
+ nameIc := []string{"Inner_example"} // []string | Name (optional)
+ nameIe := []string{"Inner_example"} // []string | Name (optional)
+ nameIew := []string{"Inner_example"} // []string | Name (optional)
+ nameIre := []string{"Inner_example"} // []string | Name (optional)
+ nameIsw := []string{"Inner_example"} // []string | Name (optional)
+ nameN := []string{"Inner_example"} // []string | Name (optional)
+ nameNic := []string{"Inner_example"} // []string | Name (optional)
+ nameNie := []string{"Inner_example"} // []string | Name (optional)
+ nameNiew := []string{"Inner_example"} // []string | Name (optional)
+ nameNire := []string{"Inner_example"} // []string | Name (optional)
+ nameNisw := []string{"Inner_example"} // []string | Name (optional)
+ nameNre := []string{"Inner_example"} // []string | Name (optional)
+ nameRe := []string{"Inner_example"} // []string | Name (optional)
+ offset := int32(56) // int32 | The initial index from which to return the results. (optional)
+ position := []string{"Inner_example"} // []string | (optional)
+ positionIc := []string{"Inner_example"} // []string | (optional)
+ positionIe := []string{"Inner_example"} // []string | (optional)
+ positionIew := []string{"Inner_example"} // []string | (optional)
+ positionIre := []string{"Inner_example"} // []string | (optional)
+ positionIsw := []string{"Inner_example"} // []string | (optional)
+ positionN := []string{"Inner_example"} // []string | (optional)
+ positionNic := []string{"Inner_example"} // []string | (optional)
+ positionNie := []string{"Inner_example"} // []string | (optional)
+ positionNiew := []string{"Inner_example"} // []string | (optional)
+ positionNire := []string{"Inner_example"} // []string | (optional)
+ positionNisw := []string{"Inner_example"} // []string | (optional)
+ positionNre := []string{"Inner_example"} // []string | (optional)
+ positionRe := []string{"Inner_example"} // []string | (optional)
+ q := "q_example" // string | Search (optional)
+ requiresFirstPartyModules := true // bool | Requires first-party modules (optional)
+ sort := "sort_example" // string | Which field to use when ordering the results. (optional)
+ teams := []string{"Inner_example"} // []string | (optional)
+ teamsIsnull := true // bool | Teams (name or ID) is null (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
+ depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.DcimAPI.DcimModuleBayTemplatesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceType(hasDeviceType).HasModuleType(hasModuleType).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModuleFamily(moduleFamily).ModuleFamilyIsnull(moduleFamilyIsnull).ModuleFamilyN(moduleFamilyN).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Position(position).PositionIc(positionIc).PositionIe(positionIe).PositionIew(positionIew).PositionIre(positionIre).PositionIsw(positionIsw).PositionN(positionN).PositionNic(positionNic).PositionNie(positionNie).PositionNiew(positionNiew).PositionNire(positionNire).PositionNisw(positionNisw).PositionNre(positionNre).PositionRe(positionRe).Q(q).RequiresFirstPartyModules(requiresFirstPartyModules).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBayTemplatesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimModuleBayTemplatesList`: PaginatedModuleBayTemplateList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBayTemplatesList`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimModuleBayTemplatesListRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **contacts** | **[]string** | |
+ **contactsIsnull** | **bool** | Contacts (name or ID) is null |
+ **contactsN** | **[]string** | |
+ **created** | [**[]time.Time**](time.Time.md) | |
+ **createdGt** | [**[]time.Time**](time.Time.md) | |
+ **createdGte** | [**[]time.Time**](time.Time.md) | |
+ **createdIsnull** | **bool** | |
+ **createdLt** | [**[]time.Time**](time.Time.md) | |
+ **createdLte** | [**[]time.Time**](time.Time.md) | |
+ **createdN** | [**[]time.Time**](time.Time.md) | |
+ **description** | **[]string** | Description |
+ **descriptionIc** | **[]string** | Description |
+ **descriptionIe** | **[]string** | Description |
+ **descriptionIew** | **[]string** | Description |
+ **descriptionIre** | **[]string** | Description |
+ **descriptionIsw** | **[]string** | Description |
+ **descriptionN** | **[]string** | Description |
+ **descriptionNic** | **[]string** | Description |
+ **descriptionNie** | **[]string** | Description |
+ **descriptionNiew** | **[]string** | Description |
+ **descriptionNire** | **[]string** | Description |
+ **descriptionNisw** | **[]string** | Description |
+ **descriptionNre** | **[]string** | Description |
+ **descriptionRe** | **[]string** | Description |
+ **deviceType** | **[]string** | |
+ **deviceTypeIsnull** | **bool** | Device type (model or ID) is null |
+ **deviceTypeN** | **[]string** | |
+ **dynamicGroups** | **[]string** | |
+ **dynamicGroupsN** | **[]string** | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **hasDeviceType** | **bool** | Has device type |
+ **hasModuleType** | **bool** | Has module type |
+ **id** | **[]string** | ID |
+ **idN** | **[]string** | Exclude ID |
+ **label** | **[]string** | Label |
+ **labelIc** | **[]string** | Label |
+ **labelIe** | **[]string** | Label |
+ **labelIew** | **[]string** | Label |
+ **labelIre** | **[]string** | Label |
+ **labelIsw** | **[]string** | Label |
+ **labelN** | **[]string** | Label |
+ **labelNic** | **[]string** | Label |
+ **labelNie** | **[]string** | Label |
+ **labelNiew** | **[]string** | Label |
+ **labelNire** | **[]string** | Label |
+ **labelNisw** | **[]string** | Label |
+ **labelNre** | **[]string** | Label |
+ **labelRe** | **[]string** | Label |
+ **lastUpdated** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedIsnull** | **bool** | |
+ **lastUpdatedLt** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedLte** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedN** | [**[]time.Time**](time.Time.md) | |
**limit** | **int32** | Number of results to return per page. |
+ **moduleFamily** | **[]string** | |
+ **moduleFamilyIsnull** | **bool** | Module family (name or ID) is null |
+ **moduleFamilyN** | **[]string** | |
+ **moduleType** | **[]string** | |
+ **moduleTypeIsnull** | **bool** | Module type (model or ID) is null |
+ **moduleTypeN** | **[]string** | |
+ **name** | **[]string** | Name |
+ **nameIc** | **[]string** | Name |
+ **nameIe** | **[]string** | Name |
+ **nameIew** | **[]string** | Name |
+ **nameIre** | **[]string** | Name |
+ **nameIsw** | **[]string** | Name |
+ **nameN** | **[]string** | Name |
+ **nameNic** | **[]string** | Name |
+ **nameNie** | **[]string** | Name |
+ **nameNiew** | **[]string** | Name |
+ **nameNire** | **[]string** | Name |
+ **nameNisw** | **[]string** | Name |
+ **nameNre** | **[]string** | Name |
+ **nameRe** | **[]string** | Name |
**offset** | **int32** | The initial index from which to return the results. |
+ **position** | **[]string** | |
+ **positionIc** | **[]string** | |
+ **positionIe** | **[]string** | |
+ **positionIew** | **[]string** | |
+ **positionIre** | **[]string** | |
+ **positionIsw** | **[]string** | |
+ **positionN** | **[]string** | |
+ **positionNic** | **[]string** | |
+ **positionNie** | **[]string** | |
+ **positionNiew** | **[]string** | |
+ **positionNire** | **[]string** | |
+ **positionNisw** | **[]string** | |
+ **positionNre** | **[]string** | |
+ **positionRe** | **[]string** | |
+ **q** | **string** | Search |
+ **requiresFirstPartyModules** | **bool** | Requires first-party modules |
+ **sort** | **string** | Which field to use when ordering the results. |
+ **teams** | **[]string** | |
+ **teamsIsnull** | **bool** | Teams (name or ID) is null |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PaginatedNoteList**](PaginatedNoteList.md)
+[**PaginatedModuleBayTemplateList**](PaginatedModuleBayTemplateList.md)
### Authorization
@@ -23798,9 +25062,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimLocationsPartialUpdate
+## DcimModuleBayTemplatesPartialUpdate
-> Location DcimLocationsPartialUpdate(ctx, id).Format(format).PatchedLocationRequest(patchedLocationRequest).Execute()
+> ModuleBayTemplate DcimModuleBayTemplatesPartialUpdate(ctx, id).Format(format).PatchedModuleBayTemplateRequest(patchedModuleBayTemplateRequest).Execute()
@@ -23819,19 +25083,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this location.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module bay template.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- patchedLocationRequest := *openapiclient.NewPatchedLocationRequest() // PatchedLocationRequest | (optional)
+ patchedModuleBayTemplateRequest := *openapiclient.NewPatchedModuleBayTemplateRequest() // PatchedModuleBayTemplateRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimLocationsPartialUpdate(context.Background(), id).Format(format).PatchedLocationRequest(patchedLocationRequest).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModuleBayTemplatesPartialUpdate(context.Background(), id).Format(format).PatchedModuleBayTemplateRequest(patchedModuleBayTemplateRequest).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationsPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBayTemplatesPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimLocationsPartialUpdate`: Location
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationsPartialUpdate`: %v\n", resp)
+ // response from `DcimModuleBayTemplatesPartialUpdate`: ModuleBayTemplate
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBayTemplatesPartialUpdate`: %v\n", resp)
}
```
@@ -23841,22 +25105,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this location. |
+**id** | **string** | A UUID string identifying this module bay template. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimLocationsPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleBayTemplatesPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **patchedLocationRequest** | [**PatchedLocationRequest**](PatchedLocationRequest.md) | |
+ **patchedModuleBayTemplateRequest** | [**PatchedModuleBayTemplateRequest**](PatchedModuleBayTemplateRequest.md) | |
### Return type
-[**Location**](Location.md)
+[**ModuleBayTemplate**](ModuleBayTemplate.md)
### Authorization
@@ -23872,9 +25136,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimLocationsRetrieve
+## DcimModuleBayTemplatesRetrieve
-> Location DcimLocationsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> ModuleBayTemplate DcimModuleBayTemplatesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -23893,19 +25157,20 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this location.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module bay template.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimLocationsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModuleBayTemplatesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationsRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBayTemplatesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimLocationsRetrieve`: Location
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationsRetrieve`: %v\n", resp)
+ // response from `DcimModuleBayTemplatesRetrieve`: ModuleBayTemplate
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBayTemplatesRetrieve`: %v\n", resp)
}
```
@@ -23915,11 +25180,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this location. |
+**id** | **string** | A UUID string identifying this module bay template. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimLocationsRetrieveRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleBayTemplatesRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -23927,10 +25192,11 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**Location**](Location.md)
+[**ModuleBayTemplate**](ModuleBayTemplate.md)
### Authorization
@@ -23946,9 +25212,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimLocationsUpdate
+## DcimModuleBayTemplatesUpdate
-> Location DcimLocationsUpdate(ctx, id).LocationRequest(locationRequest).Format(format).Execute()
+> ModuleBayTemplate DcimModuleBayTemplatesUpdate(ctx, id).ModuleBayTemplateRequest(moduleBayTemplateRequest).Format(format).Execute()
@@ -23967,19 +25233,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this location.
- locationRequest := *openapiclient.NewLocationRequest("Name_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // LocationRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module bay template.
+ moduleBayTemplateRequest := *openapiclient.NewModuleBayTemplateRequest("Name_example") // ModuleBayTemplateRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimLocationsUpdate(context.Background(), id).LocationRequest(locationRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModuleBayTemplatesUpdate(context.Background(), id).ModuleBayTemplateRequest(moduleBayTemplateRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimLocationsUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBayTemplatesUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimLocationsUpdate`: Location
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimLocationsUpdate`: %v\n", resp)
+ // response from `DcimModuleBayTemplatesUpdate`: ModuleBayTemplate
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBayTemplatesUpdate`: %v\n", resp)
}
```
@@ -23989,22 +25255,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this location. |
+**id** | **string** | A UUID string identifying this module bay template. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimLocationsUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleBayTemplatesUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **locationRequest** | [**LocationRequest**](LocationRequest.md) | |
+ **moduleBayTemplateRequest** | [**ModuleBayTemplateRequest**](ModuleBayTemplateRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**Location**](Location.md)
+[**ModuleBayTemplate**](ModuleBayTemplate.md)
### Authorization
@@ -24020,9 +25286,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimManufacturersBulkDestroy
+## DcimModuleBaysBulkDestroy
-> DcimManufacturersBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+> DcimModuleBaysBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
@@ -24046,9 +25312,9 @@ func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimManufacturersBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimModuleBaysBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimManufacturersBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBaysBulkDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -24060,7 +25326,7 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimManufacturersBulkDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleBaysBulkDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -24086,9 +25352,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimManufacturersBulkPartialUpdate
+## DcimModuleBaysBulkPartialUpdate
-> []Manufacturer DcimManufacturersBulkPartialUpdate(ctx).PatchedBulkWritableManufacturerRequest(patchedBulkWritableManufacturerRequest).Format(format).Execute()
+> []ModuleBay DcimModuleBaysBulkPartialUpdate(ctx).PatchedBulkWritableModuleBayRequest(patchedBulkWritableModuleBayRequest).Format(format).Execute()
@@ -24107,18 +25373,18 @@ import (
)
func main() {
- patchedBulkWritableManufacturerRequest := []openapiclient.PatchedBulkWritableManufacturerRequest{*openapiclient.NewPatchedBulkWritableManufacturerRequest("Id_example")} // []PatchedBulkWritableManufacturerRequest |
+ patchedBulkWritableModuleBayRequest := []openapiclient.PatchedBulkWritableModuleBayRequest{*openapiclient.NewPatchedBulkWritableModuleBayRequest("Id_example")} // []PatchedBulkWritableModuleBayRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimManufacturersBulkPartialUpdate(context.Background()).PatchedBulkWritableManufacturerRequest(patchedBulkWritableManufacturerRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModuleBaysBulkPartialUpdate(context.Background()).PatchedBulkWritableModuleBayRequest(patchedBulkWritableModuleBayRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimManufacturersBulkPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBaysBulkPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimManufacturersBulkPartialUpdate`: []Manufacturer
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimManufacturersBulkPartialUpdate`: %v\n", resp)
+ // response from `DcimModuleBaysBulkPartialUpdate`: []ModuleBay
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBaysBulkPartialUpdate`: %v\n", resp)
}
```
@@ -24128,17 +25394,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimManufacturersBulkPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleBaysBulkPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **patchedBulkWritableManufacturerRequest** | [**[]PatchedBulkWritableManufacturerRequest**](PatchedBulkWritableManufacturerRequest.md) | |
+ **patchedBulkWritableModuleBayRequest** | [**[]PatchedBulkWritableModuleBayRequest**](PatchedBulkWritableModuleBayRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]Manufacturer**](Manufacturer.md)
+[**[]ModuleBay**](ModuleBay.md)
### Authorization
@@ -24154,9 +25420,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimManufacturersBulkUpdate
+## DcimModuleBaysBulkUpdate
-> []Manufacturer DcimManufacturersBulkUpdate(ctx).BulkWritableManufacturerRequest(bulkWritableManufacturerRequest).Format(format).Execute()
+> []ModuleBay DcimModuleBaysBulkUpdate(ctx).BulkWritableModuleBayRequest(bulkWritableModuleBayRequest).Format(format).Execute()
@@ -24175,18 +25441,18 @@ import (
)
func main() {
- bulkWritableManufacturerRequest := []openapiclient.BulkWritableManufacturerRequest{*openapiclient.NewBulkWritableManufacturerRequest("Id_example", "Name_example")} // []BulkWritableManufacturerRequest |
+ bulkWritableModuleBayRequest := []openapiclient.BulkWritableModuleBayRequest{*openapiclient.NewBulkWritableModuleBayRequest("Id_example", "Name_example")} // []BulkWritableModuleBayRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimManufacturersBulkUpdate(context.Background()).BulkWritableManufacturerRequest(bulkWritableManufacturerRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModuleBaysBulkUpdate(context.Background()).BulkWritableModuleBayRequest(bulkWritableModuleBayRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimManufacturersBulkUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBaysBulkUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimManufacturersBulkUpdate`: []Manufacturer
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimManufacturersBulkUpdate`: %v\n", resp)
+ // response from `DcimModuleBaysBulkUpdate`: []ModuleBay
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBaysBulkUpdate`: %v\n", resp)
}
```
@@ -24196,17 +25462,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimManufacturersBulkUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleBaysBulkUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **bulkWritableManufacturerRequest** | [**[]BulkWritableManufacturerRequest**](BulkWritableManufacturerRequest.md) | |
+ **bulkWritableModuleBayRequest** | [**[]BulkWritableModuleBayRequest**](BulkWritableModuleBayRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]Manufacturer**](Manufacturer.md)
+[**[]ModuleBay**](ModuleBay.md)
### Authorization
@@ -24222,9 +25488,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimManufacturersCreate
+## DcimModuleBaysCreate
-> Manufacturer DcimManufacturersCreate(ctx).ManufacturerRequest(manufacturerRequest).Format(format).Execute()
+> ModuleBay DcimModuleBaysCreate(ctx).ModuleBayRequest(moduleBayRequest).Format(format).Execute()
@@ -24243,18 +25509,18 @@ import (
)
func main() {
- manufacturerRequest := *openapiclient.NewManufacturerRequest("Name_example") // ManufacturerRequest |
+ moduleBayRequest := *openapiclient.NewModuleBayRequest("Name_example") // ModuleBayRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimManufacturersCreate(context.Background()).ManufacturerRequest(manufacturerRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModuleBaysCreate(context.Background()).ModuleBayRequest(moduleBayRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimManufacturersCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBaysCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimManufacturersCreate`: Manufacturer
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimManufacturersCreate`: %v\n", resp)
+ // response from `DcimModuleBaysCreate`: ModuleBay
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBaysCreate`: %v\n", resp)
}
```
@@ -24264,17 +25530,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimManufacturersCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleBaysCreateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **manufacturerRequest** | [**ManufacturerRequest**](ManufacturerRequest.md) | |
+ **moduleBayRequest** | [**ModuleBayRequest**](ModuleBayRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**Manufacturer**](Manufacturer.md)
+[**ModuleBay**](ModuleBay.md)
### Authorization
@@ -24290,9 +25556,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimManufacturersDestroy
+## DcimModuleBaysDestroy
-> DcimManufacturersDestroy(ctx, id).Format(format).Execute()
+> DcimModuleBaysDestroy(ctx, id).Format(format).Execute()
@@ -24311,14 +25577,14 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this manufacturer.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module bay.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimManufacturersDestroy(context.Background(), id).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimModuleBaysDestroy(context.Background(), id).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimManufacturersDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBaysDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -24330,11 +25596,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this manufacturer. |
+**id** | **string** | A UUID string identifying this module bay. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimManufacturersDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleBaysDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -24360,9 +25626,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimManufacturersList
+## DcimModuleBaysList
-> PaginatedManufacturerList DcimManufacturersList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceTypes(deviceTypes).DeviceTypesIsnull(deviceTypesIsnull).DeviceTypesN(deviceTypesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceTypes(hasDeviceTypes).HasInventoryItems(hasInventoryItems).HasPlatforms(hasPlatforms).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).InventoryItems(inventoryItems).InventoryItemsIsnull(inventoryItemsIsnull).InventoryItemsN(inventoryItemsN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Platforms(platforms).PlatformsIsnull(platformsIsnull).PlatformsN(platformsN).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedModuleBayList DcimModuleBaysList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasInstalledModule(hasInstalledModule).HasParentDevice(hasParentDevice).HasParentModule(hasParentModule).Id(id).IdN(idN).InstalledModule(installedModule).InstalledModuleIsnull(installedModuleIsnull).InstalledModuleN(installedModuleN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModuleFamily(moduleFamily).ModuleFamilyIsnull(moduleFamilyIsnull).ModuleFamilyN(moduleFamilyN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).ParentDevice(parentDevice).ParentDeviceIsnull(parentDeviceIsnull).ParentDeviceN(parentDeviceN).ParentModule(parentModule).ParentModuleIsnull(parentModuleIsnull).ParentModuleN(parentModuleN).Position(position).PositionIc(positionIc).PositionIe(positionIe).PositionIew(positionIew).PositionIre(positionIre).PositionIsw(positionIsw).PositionN(positionN).PositionNic(positionNic).PositionNie(positionNie).PositionNiew(positionNiew).PositionNire(positionNire).PositionNisw(positionNisw).PositionNre(positionNre).PositionRe(positionRe).Q(q).RequiresFirstPartyModules(requiresFirstPartyModules).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -24384,7 +25650,7 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -24406,32 +25672,31 @@ func main() {
descriptionNisw := []string{"Inner_example"} // []string | (optional)
descriptionNre := []string{"Inner_example"} // []string | (optional)
descriptionRe := []string{"Inner_example"} // []string | (optional)
- deviceTypes := []string{"Inner_example"} // []string | (optional)
- deviceTypesIsnull := true // bool | Device types (model or ID) is null (optional)
- deviceTypesN := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- hasDeviceTypes := true // bool | Has device types (optional)
- hasInventoryItems := true // bool | Has inventory items (optional)
- hasPlatforms := true // bool | Has platforms (optional)
+ hasInstalledModule := true // bool | Has installed module (optional)
+ hasParentDevice := true // bool | Has parent device (optional)
+ hasParentModule := true // bool | Has parent module (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
- inventoryItems := []string{"Inner_example"} // []string | (optional)
- inventoryItemsIsnull := true // bool | Inventory items (name or ID) is null (optional)
- inventoryItemsN := []string{"Inner_example"} // []string | (optional)
+ installedModule := []string{"Inner_example"} // []string | Installed module (ID) (optional)
+ installedModuleIsnull := true // bool | Installed module (ID) is null (optional)
+ installedModuleN := []string{"Inner_example"} // []string | Exclude Installed module (ID) (optional)
+ label := []string{"Inner_example"} // []string | (optional)
+ labelIc := []string{"Inner_example"} // []string | (optional)
+ labelIe := []string{"Inner_example"} // []string | (optional)
+ labelIew := []string{"Inner_example"} // []string | (optional)
+ labelIre := []string{"Inner_example"} // []string | (optional)
+ labelIsw := []string{"Inner_example"} // []string | (optional)
+ labelN := []string{"Inner_example"} // []string | (optional)
+ labelNic := []string{"Inner_example"} // []string | (optional)
+ labelNie := []string{"Inner_example"} // []string | (optional)
+ labelNiew := []string{"Inner_example"} // []string | (optional)
+ labelNire := []string{"Inner_example"} // []string | (optional)
+ labelNisw := []string{"Inner_example"} // []string | (optional)
+ labelNre := []string{"Inner_example"} // []string | (optional)
+ labelRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -24440,6 +25705,9 @@ func main() {
lastUpdatedLte := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedN := []time.Time{time.Now()} // []time.Time | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
+ moduleFamily := []string{"Inner_example"} // []string | (optional)
+ moduleFamilyIsnull := true // bool | Module family (name or ID) is null (optional)
+ moduleFamilyN := []string{"Inner_example"} // []string | (optional)
name := []string{"Inner_example"} // []string | (optional)
nameIc := []string{"Inner_example"} // []string | (optional)
nameIe := []string{"Inner_example"} // []string | (optional)
@@ -24455,25 +25723,47 @@ func main() {
nameNre := []string{"Inner_example"} // []string | (optional)
nameRe := []string{"Inner_example"} // []string | (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- platforms := []string{"Inner_example"} // []string | (optional)
- platformsIsnull := true // bool | Platforms (name or ID) is null (optional)
- platformsN := []string{"Inner_example"} // []string | (optional)
+ parentDevice := []string{"Inner_example"} // []string | (optional)
+ parentDeviceIsnull := true // bool | Parent device (name or ID) is null (optional)
+ parentDeviceN := []string{"Inner_example"} // []string | (optional)
+ parentModule := []string{"Inner_example"} // []string | Parent module (ID) (optional)
+ parentModuleIsnull := true // bool | Parent module (ID) is null (optional)
+ parentModuleN := []string{"Inner_example"} // []string | Exclude Parent module (ID) (optional)
+ position := []string{"Inner_example"} // []string | (optional)
+ positionIc := []string{"Inner_example"} // []string | (optional)
+ positionIe := []string{"Inner_example"} // []string | (optional)
+ positionIew := []string{"Inner_example"} // []string | (optional)
+ positionIre := []string{"Inner_example"} // []string | (optional)
+ positionIsw := []string{"Inner_example"} // []string | (optional)
+ positionN := []string{"Inner_example"} // []string | (optional)
+ positionNic := []string{"Inner_example"} // []string | (optional)
+ positionNie := []string{"Inner_example"} // []string | (optional)
+ positionNiew := []string{"Inner_example"} // []string | (optional)
+ positionNire := []string{"Inner_example"} // []string | (optional)
+ positionNisw := []string{"Inner_example"} // []string | (optional)
+ positionNre := []string{"Inner_example"} // []string | (optional)
+ positionRe := []string{"Inner_example"} // []string | (optional)
q := "q_example" // string | Search (optional)
+ requiresFirstPartyModules := true // bool | Requires first-party modules (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
+ tags := []string{"Inner_example"} // []string | (optional)
+ tagsIsnull := true // bool | (optional)
+ tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimManufacturersList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceTypes(deviceTypes).DeviceTypesIsnull(deviceTypesIsnull).DeviceTypesN(deviceTypesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceTypes(hasDeviceTypes).HasInventoryItems(hasInventoryItems).HasPlatforms(hasPlatforms).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).InventoryItems(inventoryItems).InventoryItemsIsnull(inventoryItemsIsnull).InventoryItemsN(inventoryItemsN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Platforms(platforms).PlatformsIsnull(platformsIsnull).PlatformsN(platformsN).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModuleBaysList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasInstalledModule(hasInstalledModule).HasParentDevice(hasParentDevice).HasParentModule(hasParentModule).Id(id).IdN(idN).InstalledModule(installedModule).InstalledModuleIsnull(installedModuleIsnull).InstalledModuleN(installedModuleN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModuleFamily(moduleFamily).ModuleFamilyIsnull(moduleFamilyIsnull).ModuleFamilyN(moduleFamilyN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).ParentDevice(parentDevice).ParentDeviceIsnull(parentDeviceIsnull).ParentDeviceN(parentDeviceN).ParentModule(parentModule).ParentModuleIsnull(parentModuleIsnull).ParentModuleN(parentModuleN).Position(position).PositionIc(positionIc).PositionIe(positionIe).PositionIew(positionIew).PositionIre(positionIre).PositionIsw(positionIsw).PositionN(positionN).PositionNic(positionNic).PositionNie(positionNie).PositionNiew(positionNiew).PositionNire(positionNire).PositionNisw(positionNisw).PositionNre(positionNre).PositionRe(positionRe).Q(q).RequiresFirstPartyModules(requiresFirstPartyModules).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimManufacturersList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBaysList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimManufacturersList`: PaginatedManufacturerList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimManufacturersList`: %v\n", resp)
+ // response from `DcimModuleBaysList`: PaginatedModuleBayList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBaysList`: %v\n", resp)
}
```
@@ -24483,14 +25773,14 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimManufacturersListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleBaysListRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -24512,32 +25802,31 @@ Name | Type | Description | Notes
**descriptionNisw** | **[]string** | |
**descriptionNre** | **[]string** | |
**descriptionRe** | **[]string** | |
- **deviceTypes** | **[]string** | |
- **deviceTypesIsnull** | **bool** | Device types (model or ID) is null |
- **deviceTypesN** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **hasDeviceTypes** | **bool** | Has device types |
- **hasInventoryItems** | **bool** | Has inventory items |
- **hasPlatforms** | **bool** | Has platforms |
+ **hasInstalledModule** | **bool** | Has installed module |
+ **hasParentDevice** | **bool** | Has parent device |
+ **hasParentModule** | **bool** | Has parent module |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
- **inventoryItems** | **[]string** | |
- **inventoryItemsIsnull** | **bool** | Inventory items (name or ID) is null |
- **inventoryItemsN** | **[]string** | |
+ **installedModule** | **[]string** | Installed module (ID) |
+ **installedModuleIsnull** | **bool** | Installed module (ID) is null |
+ **installedModuleN** | **[]string** | Exclude Installed module (ID) |
+ **label** | **[]string** | |
+ **labelIc** | **[]string** | |
+ **labelIe** | **[]string** | |
+ **labelIew** | **[]string** | |
+ **labelIre** | **[]string** | |
+ **labelIsw** | **[]string** | |
+ **labelN** | **[]string** | |
+ **labelNic** | **[]string** | |
+ **labelNie** | **[]string** | |
+ **labelNiew** | **[]string** | |
+ **labelNire** | **[]string** | |
+ **labelNisw** | **[]string** | |
+ **labelNre** | **[]string** | |
+ **labelRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -24546,6 +25835,9 @@ Name | Type | Description | Notes
**lastUpdatedLte** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedN** | [**[]time.Time**](time.Time.md) | |
**limit** | **int32** | Number of results to return per page. |
+ **moduleFamily** | **[]string** | |
+ **moduleFamilyIsnull** | **bool** | Module family (name or ID) is null |
+ **moduleFamilyN** | **[]string** | |
**name** | **[]string** | |
**nameIc** | **[]string** | |
**nameIe** | **[]string** | |
@@ -24561,19 +25853,41 @@ Name | Type | Description | Notes
**nameNre** | **[]string** | |
**nameRe** | **[]string** | |
**offset** | **int32** | The initial index from which to return the results. |
- **platforms** | **[]string** | |
- **platformsIsnull** | **bool** | Platforms (name or ID) is null |
- **platformsN** | **[]string** | |
+ **parentDevice** | **[]string** | |
+ **parentDeviceIsnull** | **bool** | Parent device (name or ID) is null |
+ **parentDeviceN** | **[]string** | |
+ **parentModule** | **[]string** | Parent module (ID) |
+ **parentModuleIsnull** | **bool** | Parent module (ID) is null |
+ **parentModuleN** | **[]string** | Exclude Parent module (ID) |
+ **position** | **[]string** | |
+ **positionIc** | **[]string** | |
+ **positionIe** | **[]string** | |
+ **positionIew** | **[]string** | |
+ **positionIre** | **[]string** | |
+ **positionIsw** | **[]string** | |
+ **positionN** | **[]string** | |
+ **positionNic** | **[]string** | |
+ **positionNie** | **[]string** | |
+ **positionNiew** | **[]string** | |
+ **positionNire** | **[]string** | |
+ **positionNisw** | **[]string** | |
+ **positionNre** | **[]string** | |
+ **positionRe** | **[]string** | |
**q** | **string** | Search |
+ **requiresFirstPartyModules** | **bool** | Requires first-party modules |
**sort** | **string** | Which field to use when ordering the results. |
+ **tags** | **[]string** | |
+ **tagsIsnull** | **bool** | |
+ **tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PaginatedManufacturerList**](PaginatedManufacturerList.md)
+[**PaginatedModuleBayList**](PaginatedModuleBayList.md)
### Authorization
@@ -24589,9 +25903,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimManufacturersNotesCreate
+## DcimModuleBaysNotesCreate
-> Note DcimManufacturersNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+> Note DcimModuleBaysNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
@@ -24610,19 +25924,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this manufacturer.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module bay.
noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimManufacturersNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModuleBaysNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimManufacturersNotesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBaysNotesCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimManufacturersNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimManufacturersNotesCreate`: %v\n", resp)
+ // response from `DcimModuleBaysNotesCreate`: Note
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBaysNotesCreate`: %v\n", resp)
}
```
@@ -24632,11 +25946,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this manufacturer. |
+**id** | **string** | A UUID string identifying this module bay. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimManufacturersNotesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleBaysNotesCreateRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -24663,9 +25977,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimManufacturersNotesList
+## DcimModuleBaysNotesList
-> PaginatedNoteList DcimManufacturersNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList DcimModuleBaysNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -24684,21 +25998,22 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this manufacturer.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module bay.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimManufacturersNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModuleBaysNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimManufacturersNotesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBaysNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimManufacturersNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimManufacturersNotesList`: %v\n", resp)
+ // response from `DcimModuleBaysNotesList`: PaginatedNoteList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBaysNotesList`: %v\n", resp)
}
```
@@ -24708,11 +26023,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this manufacturer. |
+**id** | **string** | A UUID string identifying this module bay. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimManufacturersNotesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleBaysNotesListRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -24722,6 +26037,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -24741,9 +26057,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimManufacturersPartialUpdate
+## DcimModuleBaysPartialUpdate
-> Manufacturer DcimManufacturersPartialUpdate(ctx, id).Format(format).PatchedManufacturerRequest(patchedManufacturerRequest).Execute()
+> ModuleBay DcimModuleBaysPartialUpdate(ctx, id).Format(format).PatchedModuleBayRequest(patchedModuleBayRequest).Execute()
@@ -24762,19 +26078,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this manufacturer.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module bay.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- patchedManufacturerRequest := *openapiclient.NewPatchedManufacturerRequest() // PatchedManufacturerRequest | (optional)
+ patchedModuleBayRequest := *openapiclient.NewPatchedModuleBayRequest() // PatchedModuleBayRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimManufacturersPartialUpdate(context.Background(), id).Format(format).PatchedManufacturerRequest(patchedManufacturerRequest).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModuleBaysPartialUpdate(context.Background(), id).Format(format).PatchedModuleBayRequest(patchedModuleBayRequest).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimManufacturersPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBaysPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimManufacturersPartialUpdate`: Manufacturer
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimManufacturersPartialUpdate`: %v\n", resp)
+ // response from `DcimModuleBaysPartialUpdate`: ModuleBay
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBaysPartialUpdate`: %v\n", resp)
}
```
@@ -24784,22 +26100,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this manufacturer. |
+**id** | **string** | A UUID string identifying this module bay. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimManufacturersPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleBaysPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **patchedManufacturerRequest** | [**PatchedManufacturerRequest**](PatchedManufacturerRequest.md) | |
+ **patchedModuleBayRequest** | [**PatchedModuleBayRequest**](PatchedModuleBayRequest.md) | |
### Return type
-[**Manufacturer**](Manufacturer.md)
+[**ModuleBay**](ModuleBay.md)
### Authorization
@@ -24815,9 +26131,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimManufacturersRetrieve
+## DcimModuleBaysRetrieve
-> Manufacturer DcimManufacturersRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> ModuleBay DcimModuleBaysRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -24836,19 +26152,20 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this manufacturer.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module bay.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimManufacturersRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModuleBaysRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimManufacturersRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBaysRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimManufacturersRetrieve`: Manufacturer
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimManufacturersRetrieve`: %v\n", resp)
+ // response from `DcimModuleBaysRetrieve`: ModuleBay
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBaysRetrieve`: %v\n", resp)
}
```
@@ -24858,11 +26175,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this manufacturer. |
+**id** | **string** | A UUID string identifying this module bay. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimManufacturersRetrieveRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleBaysRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -24870,10 +26187,11 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**Manufacturer**](Manufacturer.md)
+[**ModuleBay**](ModuleBay.md)
### Authorization
@@ -24889,9 +26207,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimManufacturersUpdate
+## DcimModuleBaysUpdate
-> Manufacturer DcimManufacturersUpdate(ctx, id).ManufacturerRequest(manufacturerRequest).Format(format).Execute()
+> ModuleBay DcimModuleBaysUpdate(ctx, id).ModuleBayRequest(moduleBayRequest).Format(format).Execute()
@@ -24910,19 +26228,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this manufacturer.
- manufacturerRequest := *openapiclient.NewManufacturerRequest("Name_example") // ManufacturerRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module bay.
+ moduleBayRequest := *openapiclient.NewModuleBayRequest("Name_example") // ModuleBayRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimManufacturersUpdate(context.Background(), id).ManufacturerRequest(manufacturerRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModuleBaysUpdate(context.Background(), id).ModuleBayRequest(moduleBayRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimManufacturersUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBaysUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimManufacturersUpdate`: Manufacturer
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimManufacturersUpdate`: %v\n", resp)
+ // response from `DcimModuleBaysUpdate`: ModuleBay
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBaysUpdate`: %v\n", resp)
}
```
@@ -24932,22 +26250,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this manufacturer. |
+**id** | **string** | A UUID string identifying this module bay. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimManufacturersUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleBaysUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **manufacturerRequest** | [**ManufacturerRequest**](ManufacturerRequest.md) | |
+ **moduleBayRequest** | [**ModuleBayRequest**](ModuleBayRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**Manufacturer**](Manufacturer.md)
+[**ModuleBay**](ModuleBay.md)
### Authorization
@@ -24963,9 +26281,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleBayTemplatesBulkDestroy
+## DcimModuleFamiliesBulkDestroy
-> DcimModuleBayTemplatesBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+> DcimModuleFamiliesBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
@@ -24989,9 +26307,9 @@ func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimModuleBayTemplatesBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimModuleFamiliesBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBayTemplatesBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleFamiliesBulkDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -25003,7 +26321,7 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleBayTemplatesBulkDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleFamiliesBulkDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -25029,9 +26347,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleBayTemplatesBulkPartialUpdate
+## DcimModuleFamiliesBulkPartialUpdate
-> []ModuleBayTemplate DcimModuleBayTemplatesBulkPartialUpdate(ctx).PatchedBulkWritableModuleBayTemplateRequest(patchedBulkWritableModuleBayTemplateRequest).Format(format).Execute()
+> []ModuleFamily DcimModuleFamiliesBulkPartialUpdate(ctx).PatchedBulkWritableModuleFamilyRequest(patchedBulkWritableModuleFamilyRequest).Format(format).Execute()
@@ -25050,18 +26368,18 @@ import (
)
func main() {
- patchedBulkWritableModuleBayTemplateRequest := []openapiclient.PatchedBulkWritableModuleBayTemplateRequest{*openapiclient.NewPatchedBulkWritableModuleBayTemplateRequest("Id_example")} // []PatchedBulkWritableModuleBayTemplateRequest |
+ patchedBulkWritableModuleFamilyRequest := []openapiclient.PatchedBulkWritableModuleFamilyRequest{*openapiclient.NewPatchedBulkWritableModuleFamilyRequest("Id_example")} // []PatchedBulkWritableModuleFamilyRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModuleBayTemplatesBulkPartialUpdate(context.Background()).PatchedBulkWritableModuleBayTemplateRequest(patchedBulkWritableModuleBayTemplateRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModuleFamiliesBulkPartialUpdate(context.Background()).PatchedBulkWritableModuleFamilyRequest(patchedBulkWritableModuleFamilyRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBayTemplatesBulkPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleFamiliesBulkPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModuleBayTemplatesBulkPartialUpdate`: []ModuleBayTemplate
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBayTemplatesBulkPartialUpdate`: %v\n", resp)
+ // response from `DcimModuleFamiliesBulkPartialUpdate`: []ModuleFamily
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleFamiliesBulkPartialUpdate`: %v\n", resp)
}
```
@@ -25071,17 +26389,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleBayTemplatesBulkPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleFamiliesBulkPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **patchedBulkWritableModuleBayTemplateRequest** | [**[]PatchedBulkWritableModuleBayTemplateRequest**](PatchedBulkWritableModuleBayTemplateRequest.md) | |
+ **patchedBulkWritableModuleFamilyRequest** | [**[]PatchedBulkWritableModuleFamilyRequest**](PatchedBulkWritableModuleFamilyRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]ModuleBayTemplate**](ModuleBayTemplate.md)
+[**[]ModuleFamily**](ModuleFamily.md)
### Authorization
@@ -25097,9 +26415,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleBayTemplatesBulkUpdate
+## DcimModuleFamiliesBulkUpdate
-> []ModuleBayTemplate DcimModuleBayTemplatesBulkUpdate(ctx).BulkWritableModuleBayTemplateRequest(bulkWritableModuleBayTemplateRequest).Format(format).Execute()
+> []ModuleFamily DcimModuleFamiliesBulkUpdate(ctx).BulkWritableModuleFamilyRequest(bulkWritableModuleFamilyRequest).Format(format).Execute()
@@ -25118,18 +26436,18 @@ import (
)
func main() {
- bulkWritableModuleBayTemplateRequest := []openapiclient.BulkWritableModuleBayTemplateRequest{*openapiclient.NewBulkWritableModuleBayTemplateRequest("Id_example", "Name_example")} // []BulkWritableModuleBayTemplateRequest |
+ bulkWritableModuleFamilyRequest := []openapiclient.BulkWritableModuleFamilyRequest{*openapiclient.NewBulkWritableModuleFamilyRequest("Id_example", "Name_example")} // []BulkWritableModuleFamilyRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModuleBayTemplatesBulkUpdate(context.Background()).BulkWritableModuleBayTemplateRequest(bulkWritableModuleBayTemplateRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModuleFamiliesBulkUpdate(context.Background()).BulkWritableModuleFamilyRequest(bulkWritableModuleFamilyRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBayTemplatesBulkUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleFamiliesBulkUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModuleBayTemplatesBulkUpdate`: []ModuleBayTemplate
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBayTemplatesBulkUpdate`: %v\n", resp)
+ // response from `DcimModuleFamiliesBulkUpdate`: []ModuleFamily
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleFamiliesBulkUpdate`: %v\n", resp)
}
```
@@ -25139,17 +26457,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleBayTemplatesBulkUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleFamiliesBulkUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **bulkWritableModuleBayTemplateRequest** | [**[]BulkWritableModuleBayTemplateRequest**](BulkWritableModuleBayTemplateRequest.md) | |
+ **bulkWritableModuleFamilyRequest** | [**[]BulkWritableModuleFamilyRequest**](BulkWritableModuleFamilyRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]ModuleBayTemplate**](ModuleBayTemplate.md)
+[**[]ModuleFamily**](ModuleFamily.md)
### Authorization
@@ -25165,9 +26483,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleBayTemplatesCreate
+## DcimModuleFamiliesCreate
-> ModuleBayTemplate DcimModuleBayTemplatesCreate(ctx).ModuleBayTemplateRequest(moduleBayTemplateRequest).Format(format).Execute()
+> ModuleFamily DcimModuleFamiliesCreate(ctx).ModuleFamilyRequest(moduleFamilyRequest).Format(format).Execute()
@@ -25186,18 +26504,18 @@ import (
)
func main() {
- moduleBayTemplateRequest := *openapiclient.NewModuleBayTemplateRequest("Name_example") // ModuleBayTemplateRequest |
+ moduleFamilyRequest := *openapiclient.NewModuleFamilyRequest("Name_example") // ModuleFamilyRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModuleBayTemplatesCreate(context.Background()).ModuleBayTemplateRequest(moduleBayTemplateRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModuleFamiliesCreate(context.Background()).ModuleFamilyRequest(moduleFamilyRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBayTemplatesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleFamiliesCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModuleBayTemplatesCreate`: ModuleBayTemplate
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBayTemplatesCreate`: %v\n", resp)
+ // response from `DcimModuleFamiliesCreate`: ModuleFamily
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleFamiliesCreate`: %v\n", resp)
}
```
@@ -25207,17 +26525,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleBayTemplatesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleFamiliesCreateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **moduleBayTemplateRequest** | [**ModuleBayTemplateRequest**](ModuleBayTemplateRequest.md) | |
+ **moduleFamilyRequest** | [**ModuleFamilyRequest**](ModuleFamilyRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**ModuleBayTemplate**](ModuleBayTemplate.md)
+[**ModuleFamily**](ModuleFamily.md)
### Authorization
@@ -25233,9 +26551,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleBayTemplatesDestroy
+## DcimModuleFamiliesDestroy
-> DcimModuleBayTemplatesDestroy(ctx, id).Format(format).Execute()
+> DcimModuleFamiliesDestroy(ctx, id).Format(format).Execute()
@@ -25254,14 +26572,14 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module bay template.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module family.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimModuleBayTemplatesDestroy(context.Background(), id).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimModuleFamiliesDestroy(context.Background(), id).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBayTemplatesDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleFamiliesDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -25273,11 +26591,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this module bay template. |
+**id** | **string** | A UUID string identifying this module family. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleBayTemplatesDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleFamiliesDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -25303,9 +26621,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleBayTemplatesList
+## DcimModuleFamiliesList
-> PaginatedModuleBayTemplateList DcimModuleBayTemplatesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceType(hasDeviceType).HasModuleType(hasModuleType).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Position(position).PositionIc(positionIc).PositionIe(positionIe).PositionIew(positionIew).PositionIre(positionIre).PositionIsw(positionIsw).PositionN(positionN).PositionNic(positionNic).PositionNie(positionNie).PositionNiew(positionNiew).PositionNire(positionNire).PositionNisw(positionNisw).PositionNre(positionNre).PositionRe(positionRe).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedModuleFamilyList DcimModuleFamiliesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModuleBayId(moduleBayId).ModuleTypes(moduleTypes).ModuleTypesIsnull(moduleTypesIsnull).ModuleTypesN(moduleTypesN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -25327,7 +26645,7 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -25335,56 +26653,25 @@ func main() {
createdLt := []time.Time{time.Now()} // []time.Time | (optional)
createdLte := []time.Time{time.Now()} // []time.Time | (optional)
createdN := []time.Time{time.Now()} // []time.Time | (optional)
- description := []string{"Inner_example"} // []string | Description (optional)
- descriptionIc := []string{"Inner_example"} // []string | Description (optional)
- descriptionIe := []string{"Inner_example"} // []string | Description (optional)
- descriptionIew := []string{"Inner_example"} // []string | Description (optional)
- descriptionIre := []string{"Inner_example"} // []string | Description (optional)
- descriptionIsw := []string{"Inner_example"} // []string | Description (optional)
- descriptionN := []string{"Inner_example"} // []string | Description (optional)
- descriptionNic := []string{"Inner_example"} // []string | Description (optional)
- descriptionNie := []string{"Inner_example"} // []string | Description (optional)
- descriptionNiew := []string{"Inner_example"} // []string | Description (optional)
- descriptionNire := []string{"Inner_example"} // []string | Description (optional)
- descriptionNisw := []string{"Inner_example"} // []string | Description (optional)
- descriptionNre := []string{"Inner_example"} // []string | Description (optional)
- descriptionRe := []string{"Inner_example"} // []string | Description (optional)
- deviceType := []string{"Inner_example"} // []string | (optional)
- deviceTypeIsnull := true // bool | Device type (model or ID) is null (optional)
- deviceTypeN := []string{"Inner_example"} // []string | (optional)
+ description := []string{"Inner_example"} // []string | (optional)
+ descriptionIc := []string{"Inner_example"} // []string | (optional)
+ descriptionIe := []string{"Inner_example"} // []string | (optional)
+ descriptionIew := []string{"Inner_example"} // []string | (optional)
+ descriptionIre := []string{"Inner_example"} // []string | (optional)
+ descriptionIsw := []string{"Inner_example"} // []string | (optional)
+ descriptionN := []string{"Inner_example"} // []string | (optional)
+ descriptionNic := []string{"Inner_example"} // []string | (optional)
+ descriptionNie := []string{"Inner_example"} // []string | (optional)
+ descriptionNiew := []string{"Inner_example"} // []string | (optional)
+ descriptionNire := []string{"Inner_example"} // []string | (optional)
+ descriptionNisw := []string{"Inner_example"} // []string | (optional)
+ descriptionNre := []string{"Inner_example"} // []string | (optional)
+ descriptionRe := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- hasDeviceType := true // bool | Has device type (optional)
- hasModuleType := true // bool | Has module type (optional)
- id := []string{"Inner_example"} // []string | ID (optional)
- idIc := []string{"Inner_example"} // []string | ID contains (optional)
- idIe := []string{"Inner_example"} // []string | ID (optional)
- idIew := []string{"Inner_example"} // []string | ID ends with (optional)
- idIre := []string{"Inner_example"} // []string | ID matches regex (optional)
- idIsw := []string{"Inner_example"} // []string | ID starts with (optional)
- idN := []string{"Inner_example"} // []string | Exclude ID (optional)
- idNic := []string{"Inner_example"} // []string | Exclude ID contains (optional)
- idNie := []string{"Inner_example"} // []string | Exclude ID (optional)
- idNiew := []string{"Inner_example"} // []string | Exclude ID ends with (optional)
- idNire := []string{"Inner_example"} // []string | Exclude ID matches regex (optional)
- idNisw := []string{"Inner_example"} // []string | Exclude ID starts with (optional)
- idNre := []string{"Inner_example"} // []string | Exclude ID matches regex (optional)
- idRe := []string{"Inner_example"} // []string | ID matches regex (optional)
- label := []string{"Inner_example"} // []string | Label (optional)
- labelIc := []string{"Inner_example"} // []string | Label (optional)
- labelIe := []string{"Inner_example"} // []string | Label (optional)
- labelIew := []string{"Inner_example"} // []string | Label (optional)
- labelIre := []string{"Inner_example"} // []string | Label (optional)
- labelIsw := []string{"Inner_example"} // []string | Label (optional)
- labelN := []string{"Inner_example"} // []string | Label (optional)
- labelNic := []string{"Inner_example"} // []string | Label (optional)
- labelNie := []string{"Inner_example"} // []string | Label (optional)
- labelNiew := []string{"Inner_example"} // []string | Label (optional)
- labelNire := []string{"Inner_example"} // []string | Label (optional)
- labelNisw := []string{"Inner_example"} // []string | Label (optional)
- labelNre := []string{"Inner_example"} // []string | Label (optional)
- labelRe := []string{"Inner_example"} // []string | Label (optional)
+ id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
+ idN := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -25393,54 +26680,45 @@ func main() {
lastUpdatedLte := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedN := []time.Time{time.Now()} // []time.Time | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
- moduleType := []string{"Inner_example"} // []string | (optional)
- moduleTypeIsnull := true // bool | Module type (model or ID) is null (optional)
- moduleTypeN := []string{"Inner_example"} // []string | (optional)
- name := []string{"Inner_example"} // []string | Name (optional)
- nameIc := []string{"Inner_example"} // []string | Name (optional)
- nameIe := []string{"Inner_example"} // []string | Name (optional)
- nameIew := []string{"Inner_example"} // []string | Name (optional)
- nameIre := []string{"Inner_example"} // []string | Name (optional)
- nameIsw := []string{"Inner_example"} // []string | Name (optional)
- nameN := []string{"Inner_example"} // []string | Name (optional)
- nameNic := []string{"Inner_example"} // []string | Name (optional)
- nameNie := []string{"Inner_example"} // []string | Name (optional)
- nameNiew := []string{"Inner_example"} // []string | Name (optional)
- nameNire := []string{"Inner_example"} // []string | Name (optional)
- nameNisw := []string{"Inner_example"} // []string | Name (optional)
- nameNre := []string{"Inner_example"} // []string | Name (optional)
- nameRe := []string{"Inner_example"} // []string | Name (optional)
+ moduleBayId := [][]string{[]string{"Inner_example"}} // [][]string | (optional)
+ moduleTypes := []string{"Inner_example"} // []string | (optional)
+ moduleTypesIsnull := true // bool | Module types (model or ID) is null (optional)
+ moduleTypesN := []string{"Inner_example"} // []string | (optional)
+ name := []string{"Inner_example"} // []string | (optional)
+ nameIc := []string{"Inner_example"} // []string | (optional)
+ nameIe := []string{"Inner_example"} // []string | (optional)
+ nameIew := []string{"Inner_example"} // []string | (optional)
+ nameIre := []string{"Inner_example"} // []string | (optional)
+ nameIsw := []string{"Inner_example"} // []string | (optional)
+ nameN := []string{"Inner_example"} // []string | (optional)
+ nameNic := []string{"Inner_example"} // []string | (optional)
+ nameNie := []string{"Inner_example"} // []string | (optional)
+ nameNiew := []string{"Inner_example"} // []string | (optional)
+ nameNire := []string{"Inner_example"} // []string | (optional)
+ nameNisw := []string{"Inner_example"} // []string | (optional)
+ nameNre := []string{"Inner_example"} // []string | (optional)
+ nameRe := []string{"Inner_example"} // []string | (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- position := []string{"Inner_example"} // []string | (optional)
- positionIc := []string{"Inner_example"} // []string | (optional)
- positionIe := []string{"Inner_example"} // []string | (optional)
- positionIew := []string{"Inner_example"} // []string | (optional)
- positionIre := []string{"Inner_example"} // []string | (optional)
- positionIsw := []string{"Inner_example"} // []string | (optional)
- positionN := []string{"Inner_example"} // []string | (optional)
- positionNic := []string{"Inner_example"} // []string | (optional)
- positionNie := []string{"Inner_example"} // []string | (optional)
- positionNiew := []string{"Inner_example"} // []string | (optional)
- positionNire := []string{"Inner_example"} // []string | (optional)
- positionNisw := []string{"Inner_example"} // []string | (optional)
- positionNre := []string{"Inner_example"} // []string | (optional)
- positionRe := []string{"Inner_example"} // []string | (optional)
q := "q_example" // string | Search (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
+ tags := []string{"Inner_example"} // []string | (optional)
+ tagsIsnull := true // bool | (optional)
+ tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModuleBayTemplatesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceType(hasDeviceType).HasModuleType(hasModuleType).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Position(position).PositionIc(positionIc).PositionIe(positionIe).PositionIew(positionIew).PositionIre(positionIre).PositionIsw(positionIsw).PositionN(positionN).PositionNic(positionNic).PositionNie(positionNie).PositionNiew(positionNiew).PositionNire(positionNire).PositionNisw(positionNisw).PositionNre(positionNre).PositionRe(positionRe).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModuleFamiliesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).ModuleBayId(moduleBayId).ModuleTypes(moduleTypes).ModuleTypesIsnull(moduleTypesIsnull).ModuleTypesN(moduleTypesN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBayTemplatesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleFamiliesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModuleBayTemplatesList`: PaginatedModuleBayTemplateList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBayTemplatesList`: %v\n", resp)
+ // response from `DcimModuleFamiliesList`: PaginatedModuleFamilyList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleFamiliesList`: %v\n", resp)
}
```
@@ -25450,14 +26728,14 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleBayTemplatesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleFamiliesListRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -25465,56 +26743,25 @@ Name | Type | Description | Notes
**createdLt** | [**[]time.Time**](time.Time.md) | |
**createdLte** | [**[]time.Time**](time.Time.md) | |
**createdN** | [**[]time.Time**](time.Time.md) | |
- **description** | **[]string** | Description |
- **descriptionIc** | **[]string** | Description |
- **descriptionIe** | **[]string** | Description |
- **descriptionIew** | **[]string** | Description |
- **descriptionIre** | **[]string** | Description |
- **descriptionIsw** | **[]string** | Description |
- **descriptionN** | **[]string** | Description |
- **descriptionNic** | **[]string** | Description |
- **descriptionNie** | **[]string** | Description |
- **descriptionNiew** | **[]string** | Description |
- **descriptionNire** | **[]string** | Description |
- **descriptionNisw** | **[]string** | Description |
- **descriptionNre** | **[]string** | Description |
- **descriptionRe** | **[]string** | Description |
- **deviceType** | **[]string** | |
- **deviceTypeIsnull** | **bool** | Device type (model or ID) is null |
- **deviceTypeN** | **[]string** | |
+ **description** | **[]string** | |
+ **descriptionIc** | **[]string** | |
+ **descriptionIe** | **[]string** | |
+ **descriptionIew** | **[]string** | |
+ **descriptionIre** | **[]string** | |
+ **descriptionIsw** | **[]string** | |
+ **descriptionN** | **[]string** | |
+ **descriptionNic** | **[]string** | |
+ **descriptionNie** | **[]string** | |
+ **descriptionNiew** | **[]string** | |
+ **descriptionNire** | **[]string** | |
+ **descriptionNisw** | **[]string** | |
+ **descriptionNre** | **[]string** | |
+ **descriptionRe** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **hasDeviceType** | **bool** | Has device type |
- **hasModuleType** | **bool** | Has module type |
- **id** | **[]string** | ID |
- **idIc** | **[]string** | ID contains |
- **idIe** | **[]string** | ID |
- **idIew** | **[]string** | ID ends with |
- **idIre** | **[]string** | ID matches regex |
- **idIsw** | **[]string** | ID starts with |
- **idN** | **[]string** | Exclude ID |
- **idNic** | **[]string** | Exclude ID contains |
- **idNie** | **[]string** | Exclude ID |
- **idNiew** | **[]string** | Exclude ID ends with |
- **idNire** | **[]string** | Exclude ID matches regex |
- **idNisw** | **[]string** | Exclude ID starts with |
- **idNre** | **[]string** | Exclude ID matches regex |
- **idRe** | **[]string** | ID matches regex |
- **label** | **[]string** | Label |
- **labelIc** | **[]string** | Label |
- **labelIe** | **[]string** | Label |
- **labelIew** | **[]string** | Label |
- **labelIre** | **[]string** | Label |
- **labelIsw** | **[]string** | Label |
- **labelN** | **[]string** | Label |
- **labelNic** | **[]string** | Label |
- **labelNie** | **[]string** | Label |
- **labelNiew** | **[]string** | Label |
- **labelNire** | **[]string** | Label |
- **labelNisw** | **[]string** | Label |
- **labelNre** | **[]string** | Label |
- **labelRe** | **[]string** | Label |
+ **id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
+ **idN** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -25523,48 +26770,39 @@ Name | Type | Description | Notes
**lastUpdatedLte** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedN** | [**[]time.Time**](time.Time.md) | |
**limit** | **int32** | Number of results to return per page. |
- **moduleType** | **[]string** | |
- **moduleTypeIsnull** | **bool** | Module type (model or ID) is null |
- **moduleTypeN** | **[]string** | |
- **name** | **[]string** | Name |
- **nameIc** | **[]string** | Name |
- **nameIe** | **[]string** | Name |
- **nameIew** | **[]string** | Name |
- **nameIre** | **[]string** | Name |
- **nameIsw** | **[]string** | Name |
- **nameN** | **[]string** | Name |
- **nameNic** | **[]string** | Name |
- **nameNie** | **[]string** | Name |
- **nameNiew** | **[]string** | Name |
- **nameNire** | **[]string** | Name |
- **nameNisw** | **[]string** | Name |
- **nameNre** | **[]string** | Name |
- **nameRe** | **[]string** | Name |
+ **moduleBayId** | **[][]string** | |
+ **moduleTypes** | **[]string** | |
+ **moduleTypesIsnull** | **bool** | Module types (model or ID) is null |
+ **moduleTypesN** | **[]string** | |
+ **name** | **[]string** | |
+ **nameIc** | **[]string** | |
+ **nameIe** | **[]string** | |
+ **nameIew** | **[]string** | |
+ **nameIre** | **[]string** | |
+ **nameIsw** | **[]string** | |
+ **nameN** | **[]string** | |
+ **nameNic** | **[]string** | |
+ **nameNie** | **[]string** | |
+ **nameNiew** | **[]string** | |
+ **nameNire** | **[]string** | |
+ **nameNisw** | **[]string** | |
+ **nameNre** | **[]string** | |
+ **nameRe** | **[]string** | |
**offset** | **int32** | The initial index from which to return the results. |
- **position** | **[]string** | |
- **positionIc** | **[]string** | |
- **positionIe** | **[]string** | |
- **positionIew** | **[]string** | |
- **positionIre** | **[]string** | |
- **positionIsw** | **[]string** | |
- **positionN** | **[]string** | |
- **positionNic** | **[]string** | |
- **positionNie** | **[]string** | |
- **positionNiew** | **[]string** | |
- **positionNire** | **[]string** | |
- **positionNisw** | **[]string** | |
- **positionNre** | **[]string** | |
- **positionRe** | **[]string** | |
**q** | **string** | Search |
**sort** | **string** | Which field to use when ordering the results. |
+ **tags** | **[]string** | |
+ **tagsIsnull** | **bool** | |
+ **tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PaginatedModuleBayTemplateList**](PaginatedModuleBayTemplateList.md)
+[**PaginatedModuleFamilyList**](PaginatedModuleFamilyList.md)
### Authorization
@@ -25580,9 +26818,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleBayTemplatesNotesCreate
+## DcimModuleFamiliesNotesCreate
-> Note DcimModuleBayTemplatesNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+> Note DcimModuleFamiliesNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
@@ -25601,19 +26839,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module bay template.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module family.
noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModuleBayTemplatesNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModuleFamiliesNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBayTemplatesNotesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleFamiliesNotesCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModuleBayTemplatesNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBayTemplatesNotesCreate`: %v\n", resp)
+ // response from `DcimModuleFamiliesNotesCreate`: Note
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleFamiliesNotesCreate`: %v\n", resp)
}
```
@@ -25623,11 +26861,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this module bay template. |
+**id** | **string** | A UUID string identifying this module family. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleBayTemplatesNotesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleFamiliesNotesCreateRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -25654,9 +26892,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleBayTemplatesNotesList
+## DcimModuleFamiliesNotesList
-> PaginatedNoteList DcimModuleBayTemplatesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList DcimModuleFamiliesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -25675,21 +26913,22 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module bay template.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module family.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModuleBayTemplatesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModuleFamiliesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBayTemplatesNotesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleFamiliesNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModuleBayTemplatesNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBayTemplatesNotesList`: %v\n", resp)
+ // response from `DcimModuleFamiliesNotesList`: PaginatedNoteList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleFamiliesNotesList`: %v\n", resp)
}
```
@@ -25699,11 +26938,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this module bay template. |
+**id** | **string** | A UUID string identifying this module family. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleBayTemplatesNotesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleFamiliesNotesListRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -25713,6 +26952,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -25732,9 +26972,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleBayTemplatesPartialUpdate
+## DcimModuleFamiliesPartialUpdate
-> ModuleBayTemplate DcimModuleBayTemplatesPartialUpdate(ctx, id).Format(format).PatchedModuleBayTemplateRequest(patchedModuleBayTemplateRequest).Execute()
+> ModuleFamily DcimModuleFamiliesPartialUpdate(ctx, id).Format(format).PatchedModuleFamilyRequest(patchedModuleFamilyRequest).Execute()
@@ -25753,19 +26993,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module bay template.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module family.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- patchedModuleBayTemplateRequest := *openapiclient.NewPatchedModuleBayTemplateRequest() // PatchedModuleBayTemplateRequest | (optional)
+ patchedModuleFamilyRequest := *openapiclient.NewPatchedModuleFamilyRequest() // PatchedModuleFamilyRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModuleBayTemplatesPartialUpdate(context.Background(), id).Format(format).PatchedModuleBayTemplateRequest(patchedModuleBayTemplateRequest).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModuleFamiliesPartialUpdate(context.Background(), id).Format(format).PatchedModuleFamilyRequest(patchedModuleFamilyRequest).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBayTemplatesPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleFamiliesPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModuleBayTemplatesPartialUpdate`: ModuleBayTemplate
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBayTemplatesPartialUpdate`: %v\n", resp)
+ // response from `DcimModuleFamiliesPartialUpdate`: ModuleFamily
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleFamiliesPartialUpdate`: %v\n", resp)
}
```
@@ -25775,22 +27015,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this module bay template. |
+**id** | **string** | A UUID string identifying this module family. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleBayTemplatesPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleFamiliesPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **patchedModuleBayTemplateRequest** | [**PatchedModuleBayTemplateRequest**](PatchedModuleBayTemplateRequest.md) | |
+ **patchedModuleFamilyRequest** | [**PatchedModuleFamilyRequest**](PatchedModuleFamilyRequest.md) | |
### Return type
-[**ModuleBayTemplate**](ModuleBayTemplate.md)
+[**ModuleFamily**](ModuleFamily.md)
### Authorization
@@ -25806,9 +27046,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleBayTemplatesRetrieve
+## DcimModuleFamiliesRetrieve
-> ModuleBayTemplate DcimModuleBayTemplatesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> ModuleFamily DcimModuleFamiliesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -25827,19 +27067,20 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module bay template.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module family.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModuleBayTemplatesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModuleFamiliesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBayTemplatesRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleFamiliesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModuleBayTemplatesRetrieve`: ModuleBayTemplate
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBayTemplatesRetrieve`: %v\n", resp)
+ // response from `DcimModuleFamiliesRetrieve`: ModuleFamily
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleFamiliesRetrieve`: %v\n", resp)
}
```
@@ -25849,11 +27090,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this module bay template. |
+**id** | **string** | A UUID string identifying this module family. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleBayTemplatesRetrieveRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleFamiliesRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -25861,10 +27102,11 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**ModuleBayTemplate**](ModuleBayTemplate.md)
+[**ModuleFamily**](ModuleFamily.md)
### Authorization
@@ -25880,9 +27122,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleBayTemplatesUpdate
+## DcimModuleFamiliesUpdate
-> ModuleBayTemplate DcimModuleBayTemplatesUpdate(ctx, id).ModuleBayTemplateRequest(moduleBayTemplateRequest).Format(format).Execute()
+> ModuleFamily DcimModuleFamiliesUpdate(ctx, id).ModuleFamilyRequest(moduleFamilyRequest).Format(format).Execute()
@@ -25901,19 +27143,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module bay template.
- moduleBayTemplateRequest := *openapiclient.NewModuleBayTemplateRequest("Name_example") // ModuleBayTemplateRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module family.
+ moduleFamilyRequest := *openapiclient.NewModuleFamilyRequest("Name_example") // ModuleFamilyRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModuleBayTemplatesUpdate(context.Background(), id).ModuleBayTemplateRequest(moduleBayTemplateRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModuleFamiliesUpdate(context.Background(), id).ModuleFamilyRequest(moduleFamilyRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBayTemplatesUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleFamiliesUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModuleBayTemplatesUpdate`: ModuleBayTemplate
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBayTemplatesUpdate`: %v\n", resp)
+ // response from `DcimModuleFamiliesUpdate`: ModuleFamily
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleFamiliesUpdate`: %v\n", resp)
}
```
@@ -25923,22 +27165,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this module bay template. |
+**id** | **string** | A UUID string identifying this module family. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleBayTemplatesUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleFamiliesUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **moduleBayTemplateRequest** | [**ModuleBayTemplateRequest**](ModuleBayTemplateRequest.md) | |
+ **moduleFamilyRequest** | [**ModuleFamilyRequest**](ModuleFamilyRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**ModuleBayTemplate**](ModuleBayTemplate.md)
+[**ModuleFamily**](ModuleFamily.md)
### Authorization
@@ -25954,9 +27196,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleBaysBulkDestroy
+## DcimModuleTypesBulkDestroy
-> DcimModuleBaysBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+> DcimModuleTypesBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
@@ -25980,9 +27222,9 @@ func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimModuleBaysBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimModuleTypesBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBaysBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleTypesBulkDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -25994,7 +27236,7 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleBaysBulkDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleTypesBulkDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -26020,9 +27262,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleBaysBulkPartialUpdate
+## DcimModuleTypesBulkPartialUpdate
-> []ModuleBay DcimModuleBaysBulkPartialUpdate(ctx).PatchedBulkWritableModuleBayRequest(patchedBulkWritableModuleBayRequest).Format(format).Execute()
+> []ModuleType DcimModuleTypesBulkPartialUpdate(ctx).PatchedBulkWritableModuleTypeRequest(patchedBulkWritableModuleTypeRequest).Format(format).Execute()
@@ -26041,18 +27283,18 @@ import (
)
func main() {
- patchedBulkWritableModuleBayRequest := []openapiclient.PatchedBulkWritableModuleBayRequest{*openapiclient.NewPatchedBulkWritableModuleBayRequest("Id_example")} // []PatchedBulkWritableModuleBayRequest |
+ patchedBulkWritableModuleTypeRequest := []openapiclient.PatchedBulkWritableModuleTypeRequest{*openapiclient.NewPatchedBulkWritableModuleTypeRequest("Id_example")} // []PatchedBulkWritableModuleTypeRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModuleBaysBulkPartialUpdate(context.Background()).PatchedBulkWritableModuleBayRequest(patchedBulkWritableModuleBayRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModuleTypesBulkPartialUpdate(context.Background()).PatchedBulkWritableModuleTypeRequest(patchedBulkWritableModuleTypeRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBaysBulkPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleTypesBulkPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModuleBaysBulkPartialUpdate`: []ModuleBay
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBaysBulkPartialUpdate`: %v\n", resp)
+ // response from `DcimModuleTypesBulkPartialUpdate`: []ModuleType
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleTypesBulkPartialUpdate`: %v\n", resp)
}
```
@@ -26062,17 +27304,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleBaysBulkPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleTypesBulkPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **patchedBulkWritableModuleBayRequest** | [**[]PatchedBulkWritableModuleBayRequest**](PatchedBulkWritableModuleBayRequest.md) | |
+ **patchedBulkWritableModuleTypeRequest** | [**[]PatchedBulkWritableModuleTypeRequest**](PatchedBulkWritableModuleTypeRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]ModuleBay**](ModuleBay.md)
+[**[]ModuleType**](ModuleType.md)
### Authorization
@@ -26088,9 +27330,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleBaysBulkUpdate
+## DcimModuleTypesBulkUpdate
-> []ModuleBay DcimModuleBaysBulkUpdate(ctx).BulkWritableModuleBayRequest(bulkWritableModuleBayRequest).Format(format).Execute()
+> []ModuleType DcimModuleTypesBulkUpdate(ctx).BulkWritableModuleTypeRequest(bulkWritableModuleTypeRequest).Format(format).Execute()
@@ -26109,18 +27351,18 @@ import (
)
func main() {
- bulkWritableModuleBayRequest := []openapiclient.BulkWritableModuleBayRequest{*openapiclient.NewBulkWritableModuleBayRequest("Id_example", "Name_example")} // []BulkWritableModuleBayRequest |
+ bulkWritableModuleTypeRequest := []openapiclient.BulkWritableModuleTypeRequest{*openapiclient.NewBulkWritableModuleTypeRequest("Id_example", "Model_example", *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritableModuleTypeRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModuleBaysBulkUpdate(context.Background()).BulkWritableModuleBayRequest(bulkWritableModuleBayRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModuleTypesBulkUpdate(context.Background()).BulkWritableModuleTypeRequest(bulkWritableModuleTypeRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBaysBulkUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleTypesBulkUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModuleBaysBulkUpdate`: []ModuleBay
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBaysBulkUpdate`: %v\n", resp)
+ // response from `DcimModuleTypesBulkUpdate`: []ModuleType
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleTypesBulkUpdate`: %v\n", resp)
}
```
@@ -26130,17 +27372,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleBaysBulkUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleTypesBulkUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **bulkWritableModuleBayRequest** | [**[]BulkWritableModuleBayRequest**](BulkWritableModuleBayRequest.md) | |
+ **bulkWritableModuleTypeRequest** | [**[]BulkWritableModuleTypeRequest**](BulkWritableModuleTypeRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]ModuleBay**](ModuleBay.md)
+[**[]ModuleType**](ModuleType.md)
### Authorization
@@ -26156,9 +27398,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleBaysCreate
+## DcimModuleTypesCreate
-> ModuleBay DcimModuleBaysCreate(ctx).ModuleBayRequest(moduleBayRequest).Format(format).Execute()
+> ModuleType DcimModuleTypesCreate(ctx).ModuleTypeRequest(moduleTypeRequest).Format(format).Execute()
@@ -26177,18 +27419,18 @@ import (
)
func main() {
- moduleBayRequest := *openapiclient.NewModuleBayRequest("Name_example") // ModuleBayRequest |
+ moduleTypeRequest := *openapiclient.NewModuleTypeRequest("Model_example", *openapiclient.NewBulkWritableCableRequestStatus()) // ModuleTypeRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModuleBaysCreate(context.Background()).ModuleBayRequest(moduleBayRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModuleTypesCreate(context.Background()).ModuleTypeRequest(moduleTypeRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBaysCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleTypesCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModuleBaysCreate`: ModuleBay
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBaysCreate`: %v\n", resp)
+ // response from `DcimModuleTypesCreate`: ModuleType
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleTypesCreate`: %v\n", resp)
}
```
@@ -26198,17 +27440,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleBaysCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleTypesCreateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **moduleBayRequest** | [**ModuleBayRequest**](ModuleBayRequest.md) | |
+ **moduleTypeRequest** | [**ModuleTypeRequest**](ModuleTypeRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**ModuleBay**](ModuleBay.md)
+[**ModuleType**](ModuleType.md)
### Authorization
@@ -26224,9 +27466,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleBaysDestroy
+## DcimModuleTypesDestroy
-> DcimModuleBaysDestroy(ctx, id).Format(format).Execute()
+> DcimModuleTypesDestroy(ctx, id).Format(format).Execute()
@@ -26245,14 +27487,14 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module bay.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module type.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimModuleBaysDestroy(context.Background(), id).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimModuleTypesDestroy(context.Background(), id).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBaysDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleTypesDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -26264,11 +27506,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this module bay. |
+**id** | **string** | A UUID string identifying this module type. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleBaysDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleTypesDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -26294,9 +27536,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleBaysList
+## DcimModuleTypesList
-> PaginatedModuleBayList DcimModuleBaysList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasInstalledModule(hasInstalledModule).HasParentDevice(hasParentDevice).HasParentModule(hasParentModule).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).InstalledModule(installedModule).InstalledModuleIsnull(installedModuleIsnull).InstalledModuleN(installedModuleN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).ParentDevice(parentDevice).ParentDeviceIsnull(parentDeviceIsnull).ParentDeviceN(parentDeviceN).ParentModule(parentModule).ParentModuleIsnull(parentModuleIsnull).ParentModuleN(parentModuleN).Position(position).PositionIc(positionIc).PositionIe(positionIe).PositionIew(positionIew).PositionIre(positionIre).PositionIsw(positionIsw).PositionN(positionN).PositionNic(positionNic).PositionNie(positionNie).PositionNiew(positionNiew).PositionNire(positionNire).PositionNisw(positionNisw).PositionNre(positionNre).PositionRe(positionRe).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedModuleTypeList DcimModuleTypesList(ctx).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).CompatibleWithModuleBay(compatibleWithModuleBay).ConsolePortTemplates(consolePortTemplates).ConsolePortTemplatesIsnull(consolePortTemplatesIsnull).ConsolePortTemplatesN(consolePortTemplatesN).ConsoleServerPortTemplates(consoleServerPortTemplates).ConsoleServerPortTemplatesIsnull(consoleServerPortTemplatesIsnull).ConsoleServerPortTemplatesN(consoleServerPortTemplatesN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).FrontPortTemplates(frontPortTemplates).FrontPortTemplatesIsnull(frontPortTemplatesIsnull).FrontPortTemplatesN(frontPortTemplatesN).HasConsolePortTemplates(hasConsolePortTemplates).HasConsoleServerPortTemplates(hasConsoleServerPortTemplates).HasFrontPortTemplates(hasFrontPortTemplates).HasInterfaceTemplates(hasInterfaceTemplates).HasModuleBayTemplates(hasModuleBayTemplates).HasModules(hasModules).HasPowerOutletTemplates(hasPowerOutletTemplates).HasPowerPortTemplates(hasPowerPortTemplates).HasRearPortTemplates(hasRearPortTemplates).Id(id).IdN(idN).InterfaceTemplates(interfaceTemplates).InterfaceTemplatesIsnull(interfaceTemplatesIsnull).InterfaceTemplatesN(interfaceTemplatesN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Manufacturer(manufacturer).ManufacturerN(manufacturerN).Model(model).ModelIc(modelIc).ModelIe(modelIe).ModelIew(modelIew).ModelIre(modelIre).ModelIsw(modelIsw).ModelN(modelN).ModelNic(modelNic).ModelNie(modelNie).ModelNiew(modelNiew).ModelNire(modelNire).ModelNisw(modelNisw).ModelNre(modelNre).ModelRe(modelRe).ModuleBayTemplates(moduleBayTemplates).ModuleBayTemplatesIsnull(moduleBayTemplatesIsnull).ModuleBayTemplatesN(moduleBayTemplatesN).ModuleFamily(moduleFamily).ModuleFamilyIsnull(moduleFamilyIsnull).ModuleFamilyN(moduleFamilyN).Offset(offset).PartNumber(partNumber).PartNumberIc(partNumberIc).PartNumberIe(partNumberIe).PartNumberIew(partNumberIew).PartNumberIre(partNumberIre).PartNumberIsw(partNumberIsw).PartNumberN(partNumberN).PartNumberNic(partNumberNic).PartNumberNie(partNumberNie).PartNumberNiew(partNumberNiew).PartNumberNire(partNumberNire).PartNumberNisw(partNumberNisw).PartNumberNre(partNumberNre).PartNumberRe(partNumberRe).PowerOutletTemplates(powerOutletTemplates).PowerOutletTemplatesIsnull(powerOutletTemplatesIsnull).PowerOutletTemplatesN(powerOutletTemplatesN).PowerPortTemplates(powerPortTemplates).PowerPortTemplatesIsnull(powerPortTemplatesIsnull).PowerPortTemplatesN(powerPortTemplatesN).Q(q).RearPortTemplates(rearPortTemplates).RearPortTemplatesIsnull(rearPortTemplatesIsnull).RearPortTemplatesN(rearPortTemplatesN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -26316,9 +27558,30 @@ import (
)
func main() {
+ comments := []string{"Inner_example"} // []string | (optional)
+ commentsIc := []string{"Inner_example"} // []string | (optional)
+ commentsIe := []string{"Inner_example"} // []string | (optional)
+ commentsIew := []string{"Inner_example"} // []string | (optional)
+ commentsIre := []string{"Inner_example"} // []string | (optional)
+ commentsIsw := []string{"Inner_example"} // []string | (optional)
+ commentsN := []string{"Inner_example"} // []string | (optional)
+ commentsNic := []string{"Inner_example"} // []string | (optional)
+ commentsNie := []string{"Inner_example"} // []string | (optional)
+ commentsNiew := []string{"Inner_example"} // []string | (optional)
+ commentsNire := []string{"Inner_example"} // []string | (optional)
+ commentsNisw := []string{"Inner_example"} // []string | (optional)
+ commentsNre := []string{"Inner_example"} // []string | (optional)
+ commentsRe := []string{"Inner_example"} // []string | (optional)
+ compatibleWithModuleBay := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional)
+ consolePortTemplates := []string{"Inner_example"} // []string | (optional)
+ consolePortTemplatesIsnull := true // bool | Console port templates (name or ID) is null (optional)
+ consolePortTemplatesN := []string{"Inner_example"} // []string | (optional)
+ consoleServerPortTemplates := []string{"Inner_example"} // []string | (optional)
+ consoleServerPortTemplatesIsnull := true // bool | Console server port templates (name or ID) is null (optional)
+ consoleServerPortTemplatesN := []string{"Inner_example"} // []string | (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -26326,57 +27589,26 @@ func main() {
createdLt := []time.Time{time.Now()} // []time.Time | (optional)
createdLte := []time.Time{time.Now()} // []time.Time | (optional)
createdN := []time.Time{time.Now()} // []time.Time | (optional)
- description := []string{"Inner_example"} // []string | (optional)
- descriptionIc := []string{"Inner_example"} // []string | (optional)
- descriptionIe := []string{"Inner_example"} // []string | (optional)
- descriptionIew := []string{"Inner_example"} // []string | (optional)
- descriptionIre := []string{"Inner_example"} // []string | (optional)
- descriptionIsw := []string{"Inner_example"} // []string | (optional)
- descriptionN := []string{"Inner_example"} // []string | (optional)
- descriptionNic := []string{"Inner_example"} // []string | (optional)
- descriptionNie := []string{"Inner_example"} // []string | (optional)
- descriptionNiew := []string{"Inner_example"} // []string | (optional)
- descriptionNire := []string{"Inner_example"} // []string | (optional)
- descriptionNisw := []string{"Inner_example"} // []string | (optional)
- descriptionNre := []string{"Inner_example"} // []string | (optional)
- descriptionRe := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- hasInstalledModule := true // bool | Has installed module (optional)
- hasParentDevice := true // bool | Has parent device (optional)
- hasParentModule := true // bool | Has parent module (optional)
+ frontPortTemplates := []string{"Inner_example"} // []string | (optional)
+ frontPortTemplatesIsnull := true // bool | Front port templates (name or ID) is null (optional)
+ frontPortTemplatesN := []string{"Inner_example"} // []string | (optional)
+ hasConsolePortTemplates := true // bool | Has console port templates (optional)
+ hasConsoleServerPortTemplates := true // bool | Has console server port templates (optional)
+ hasFrontPortTemplates := true // bool | Has front port templates (optional)
+ hasInterfaceTemplates := true // bool | Has interface templates (optional)
+ hasModuleBayTemplates := true // bool | Has module bay templates (optional)
+ hasModules := true // bool | Has module instances (optional)
+ hasPowerOutletTemplates := true // bool | Has power outlet templates (optional)
+ hasPowerPortTemplates := true // bool | Has power port templates (optional)
+ hasRearPortTemplates := true // bool | Has rear port templates (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
- installedModule := []string{"Inner_example"} // []string | Installed module (ID) (optional)
- installedModuleIsnull := true // bool | Installed module (ID) is null (optional)
- installedModuleN := []string{"Inner_example"} // []string | Exclude Installed module (ID) (optional)
- label := []string{"Inner_example"} // []string | (optional)
- labelIc := []string{"Inner_example"} // []string | (optional)
- labelIe := []string{"Inner_example"} // []string | (optional)
- labelIew := []string{"Inner_example"} // []string | (optional)
- labelIre := []string{"Inner_example"} // []string | (optional)
- labelIsw := []string{"Inner_example"} // []string | (optional)
- labelN := []string{"Inner_example"} // []string | (optional)
- labelNic := []string{"Inner_example"} // []string | (optional)
- labelNie := []string{"Inner_example"} // []string | (optional)
- labelNiew := []string{"Inner_example"} // []string | (optional)
- labelNire := []string{"Inner_example"} // []string | (optional)
- labelNisw := []string{"Inner_example"} // []string | (optional)
- labelNre := []string{"Inner_example"} // []string | (optional)
- labelRe := []string{"Inner_example"} // []string | (optional)
+ interfaceTemplates := []string{"Inner_example"} // []string | (optional)
+ interfaceTemplatesIsnull := true // bool | Interface templates (name or ID) is null (optional)
+ interfaceTemplatesN := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -26385,60 +27617,72 @@ func main() {
lastUpdatedLte := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedN := []time.Time{time.Now()} // []time.Time | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
- name := []string{"Inner_example"} // []string | (optional)
- nameIc := []string{"Inner_example"} // []string | (optional)
- nameIe := []string{"Inner_example"} // []string | (optional)
- nameIew := []string{"Inner_example"} // []string | (optional)
- nameIre := []string{"Inner_example"} // []string | (optional)
- nameIsw := []string{"Inner_example"} // []string | (optional)
- nameN := []string{"Inner_example"} // []string | (optional)
- nameNic := []string{"Inner_example"} // []string | (optional)
- nameNie := []string{"Inner_example"} // []string | (optional)
- nameNiew := []string{"Inner_example"} // []string | (optional)
- nameNire := []string{"Inner_example"} // []string | (optional)
- nameNisw := []string{"Inner_example"} // []string | (optional)
- nameNre := []string{"Inner_example"} // []string | (optional)
- nameRe := []string{"Inner_example"} // []string | (optional)
+ manufacturer := []string{"Inner_example"} // []string | (optional)
+ manufacturerN := []string{"Inner_example"} // []string | (optional)
+ model := []string{"Inner_example"} // []string | (optional)
+ modelIc := []string{"Inner_example"} // []string | (optional)
+ modelIe := []string{"Inner_example"} // []string | (optional)
+ modelIew := []string{"Inner_example"} // []string | (optional)
+ modelIre := []string{"Inner_example"} // []string | (optional)
+ modelIsw := []string{"Inner_example"} // []string | (optional)
+ modelN := []string{"Inner_example"} // []string | (optional)
+ modelNic := []string{"Inner_example"} // []string | (optional)
+ modelNie := []string{"Inner_example"} // []string | (optional)
+ modelNiew := []string{"Inner_example"} // []string | (optional)
+ modelNire := []string{"Inner_example"} // []string | (optional)
+ modelNisw := []string{"Inner_example"} // []string | (optional)
+ modelNre := []string{"Inner_example"} // []string | (optional)
+ modelRe := []string{"Inner_example"} // []string | (optional)
+ moduleBayTemplates := []string{"Inner_example"} // []string | (optional)
+ moduleBayTemplatesIsnull := true // bool | (optional)
+ moduleBayTemplatesN := []string{"Inner_example"} // []string | (optional)
+ moduleFamily := []string{"Inner_example"} // []string | (optional)
+ moduleFamilyIsnull := true // bool | Module family (name or ID) is null (optional)
+ moduleFamilyN := []string{"Inner_example"} // []string | (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- parentDevice := []string{"Inner_example"} // []string | (optional)
- parentDeviceIsnull := true // bool | Parent device (name or ID) is null (optional)
- parentDeviceN := []string{"Inner_example"} // []string | (optional)
- parentModule := []string{"Inner_example"} // []string | Parent module (ID) (optional)
- parentModuleIsnull := true // bool | Parent module (ID) is null (optional)
- parentModuleN := []string{"Inner_example"} // []string | Exclude Parent module (ID) (optional)
- position := []string{"Inner_example"} // []string | (optional)
- positionIc := []string{"Inner_example"} // []string | (optional)
- positionIe := []string{"Inner_example"} // []string | (optional)
- positionIew := []string{"Inner_example"} // []string | (optional)
- positionIre := []string{"Inner_example"} // []string | (optional)
- positionIsw := []string{"Inner_example"} // []string | (optional)
- positionN := []string{"Inner_example"} // []string | (optional)
- positionNic := []string{"Inner_example"} // []string | (optional)
- positionNie := []string{"Inner_example"} // []string | (optional)
- positionNiew := []string{"Inner_example"} // []string | (optional)
- positionNire := []string{"Inner_example"} // []string | (optional)
- positionNisw := []string{"Inner_example"} // []string | (optional)
- positionNre := []string{"Inner_example"} // []string | (optional)
- positionRe := []string{"Inner_example"} // []string | (optional)
+ partNumber := []string{"Inner_example"} // []string | (optional)
+ partNumberIc := []string{"Inner_example"} // []string | (optional)
+ partNumberIe := []string{"Inner_example"} // []string | (optional)
+ partNumberIew := []string{"Inner_example"} // []string | (optional)
+ partNumberIre := []string{"Inner_example"} // []string | (optional)
+ partNumberIsw := []string{"Inner_example"} // []string | (optional)
+ partNumberN := []string{"Inner_example"} // []string | (optional)
+ partNumberNic := []string{"Inner_example"} // []string | (optional)
+ partNumberNie := []string{"Inner_example"} // []string | (optional)
+ partNumberNiew := []string{"Inner_example"} // []string | (optional)
+ partNumberNire := []string{"Inner_example"} // []string | (optional)
+ partNumberNisw := []string{"Inner_example"} // []string | (optional)
+ partNumberNre := []string{"Inner_example"} // []string | (optional)
+ partNumberRe := []string{"Inner_example"} // []string | (optional)
+ powerOutletTemplates := []string{"Inner_example"} // []string | (optional)
+ powerOutletTemplatesIsnull := true // bool | Power outlet templates (name or ID) is null (optional)
+ powerOutletTemplatesN := []string{"Inner_example"} // []string | (optional)
+ powerPortTemplates := []string{"Inner_example"} // []string | (optional)
+ powerPortTemplatesIsnull := true // bool | Power port templates (name or ID) is null (optional)
+ powerPortTemplatesN := []string{"Inner_example"} // []string | (optional)
q := "q_example" // string | Search (optional)
+ rearPortTemplates := []string{"Inner_example"} // []string | (optional)
+ rearPortTemplatesIsnull := true // bool | Rear port templates (name or ID) is null (optional)
+ rearPortTemplatesN := []string{"Inner_example"} // []string | (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
tags := []string{"Inner_example"} // []string | (optional)
tagsIsnull := true // bool | (optional)
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModuleBaysList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasInstalledModule(hasInstalledModule).HasParentDevice(hasParentDevice).HasParentModule(hasParentModule).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).InstalledModule(installedModule).InstalledModuleIsnull(installedModuleIsnull).InstalledModuleN(installedModuleN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).ParentDevice(parentDevice).ParentDeviceIsnull(parentDeviceIsnull).ParentDeviceN(parentDeviceN).ParentModule(parentModule).ParentModuleIsnull(parentModuleIsnull).ParentModuleN(parentModuleN).Position(position).PositionIc(positionIc).PositionIe(positionIe).PositionIew(positionIew).PositionIre(positionIre).PositionIsw(positionIsw).PositionN(positionN).PositionNic(positionNic).PositionNie(positionNie).PositionNiew(positionNiew).PositionNire(positionNire).PositionNisw(positionNisw).PositionNre(positionNre).PositionRe(positionRe).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModuleTypesList(context.Background()).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).CompatibleWithModuleBay(compatibleWithModuleBay).ConsolePortTemplates(consolePortTemplates).ConsolePortTemplatesIsnull(consolePortTemplatesIsnull).ConsolePortTemplatesN(consolePortTemplatesN).ConsoleServerPortTemplates(consoleServerPortTemplates).ConsoleServerPortTemplatesIsnull(consoleServerPortTemplatesIsnull).ConsoleServerPortTemplatesN(consoleServerPortTemplatesN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).FrontPortTemplates(frontPortTemplates).FrontPortTemplatesIsnull(frontPortTemplatesIsnull).FrontPortTemplatesN(frontPortTemplatesN).HasConsolePortTemplates(hasConsolePortTemplates).HasConsoleServerPortTemplates(hasConsoleServerPortTemplates).HasFrontPortTemplates(hasFrontPortTemplates).HasInterfaceTemplates(hasInterfaceTemplates).HasModuleBayTemplates(hasModuleBayTemplates).HasModules(hasModules).HasPowerOutletTemplates(hasPowerOutletTemplates).HasPowerPortTemplates(hasPowerPortTemplates).HasRearPortTemplates(hasRearPortTemplates).Id(id).IdN(idN).InterfaceTemplates(interfaceTemplates).InterfaceTemplatesIsnull(interfaceTemplatesIsnull).InterfaceTemplatesN(interfaceTemplatesN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Manufacturer(manufacturer).ManufacturerN(manufacturerN).Model(model).ModelIc(modelIc).ModelIe(modelIe).ModelIew(modelIew).ModelIre(modelIre).ModelIsw(modelIsw).ModelN(modelN).ModelNic(modelNic).ModelNie(modelNie).ModelNiew(modelNiew).ModelNire(modelNire).ModelNisw(modelNisw).ModelNre(modelNre).ModelRe(modelRe).ModuleBayTemplates(moduleBayTemplates).ModuleBayTemplatesIsnull(moduleBayTemplatesIsnull).ModuleBayTemplatesN(moduleBayTemplatesN).ModuleFamily(moduleFamily).ModuleFamilyIsnull(moduleFamilyIsnull).ModuleFamilyN(moduleFamilyN).Offset(offset).PartNumber(partNumber).PartNumberIc(partNumberIc).PartNumberIe(partNumberIe).PartNumberIew(partNumberIew).PartNumberIre(partNumberIre).PartNumberIsw(partNumberIsw).PartNumberN(partNumberN).PartNumberNic(partNumberNic).PartNumberNie(partNumberNie).PartNumberNiew(partNumberNiew).PartNumberNire(partNumberNire).PartNumberNisw(partNumberNisw).PartNumberNre(partNumberNre).PartNumberRe(partNumberRe).PowerOutletTemplates(powerOutletTemplates).PowerOutletTemplatesIsnull(powerOutletTemplatesIsnull).PowerOutletTemplatesN(powerOutletTemplatesN).PowerPortTemplates(powerPortTemplates).PowerPortTemplatesIsnull(powerPortTemplatesIsnull).PowerPortTemplatesN(powerPortTemplatesN).Q(q).RearPortTemplates(rearPortTemplates).RearPortTemplatesIsnull(rearPortTemplatesIsnull).RearPortTemplatesN(rearPortTemplatesN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBaysList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleTypesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModuleBaysList`: PaginatedModuleBayList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBaysList`: %v\n", resp)
+ // response from `DcimModuleTypesList`: PaginatedModuleTypeList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleTypesList`: %v\n", resp)
}
```
@@ -26448,14 +27692,35 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleBaysListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleTypesListRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
+ **comments** | **[]string** | |
+ **commentsIc** | **[]string** | |
+ **commentsIe** | **[]string** | |
+ **commentsIew** | **[]string** | |
+ **commentsIre** | **[]string** | |
+ **commentsIsw** | **[]string** | |
+ **commentsN** | **[]string** | |
+ **commentsNic** | **[]string** | |
+ **commentsNie** | **[]string** | |
+ **commentsNiew** | **[]string** | |
+ **commentsNire** | **[]string** | |
+ **commentsNisw** | **[]string** | |
+ **commentsNre** | **[]string** | |
+ **commentsRe** | **[]string** | |
+ **compatibleWithModuleBay** | **string** | |
+ **consolePortTemplates** | **[]string** | |
+ **consolePortTemplatesIsnull** | **bool** | Console port templates (name or ID) is null |
+ **consolePortTemplatesN** | **[]string** | |
+ **consoleServerPortTemplates** | **[]string** | |
+ **consoleServerPortTemplatesIsnull** | **bool** | Console server port templates (name or ID) is null |
+ **consoleServerPortTemplatesN** | **[]string** | |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -26463,57 +27728,26 @@ Name | Type | Description | Notes
**createdLt** | [**[]time.Time**](time.Time.md) | |
**createdLte** | [**[]time.Time**](time.Time.md) | |
**createdN** | [**[]time.Time**](time.Time.md) | |
- **description** | **[]string** | |
- **descriptionIc** | **[]string** | |
- **descriptionIe** | **[]string** | |
- **descriptionIew** | **[]string** | |
- **descriptionIre** | **[]string** | |
- **descriptionIsw** | **[]string** | |
- **descriptionN** | **[]string** | |
- **descriptionNic** | **[]string** | |
- **descriptionNie** | **[]string** | |
- **descriptionNiew** | **[]string** | |
- **descriptionNire** | **[]string** | |
- **descriptionNisw** | **[]string** | |
- **descriptionNre** | **[]string** | |
- **descriptionRe** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **hasInstalledModule** | **bool** | Has installed module |
- **hasParentDevice** | **bool** | Has parent device |
- **hasParentModule** | **bool** | Has parent module |
+ **frontPortTemplates** | **[]string** | |
+ **frontPortTemplatesIsnull** | **bool** | Front port templates (name or ID) is null |
+ **frontPortTemplatesN** | **[]string** | |
+ **hasConsolePortTemplates** | **bool** | Has console port templates |
+ **hasConsoleServerPortTemplates** | **bool** | Has console server port templates |
+ **hasFrontPortTemplates** | **bool** | Has front port templates |
+ **hasInterfaceTemplates** | **bool** | Has interface templates |
+ **hasModuleBayTemplates** | **bool** | Has module bay templates |
+ **hasModules** | **bool** | Has module instances |
+ **hasPowerOutletTemplates** | **bool** | Has power outlet templates |
+ **hasPowerPortTemplates** | **bool** | Has power port templates |
+ **hasRearPortTemplates** | **bool** | Has rear port templates |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
- **installedModule** | **[]string** | Installed module (ID) |
- **installedModuleIsnull** | **bool** | Installed module (ID) is null |
- **installedModuleN** | **[]string** | Exclude Installed module (ID) |
- **label** | **[]string** | |
- **labelIc** | **[]string** | |
- **labelIe** | **[]string** | |
- **labelIew** | **[]string** | |
- **labelIre** | **[]string** | |
- **labelIsw** | **[]string** | |
- **labelN** | **[]string** | |
- **labelNic** | **[]string** | |
- **labelNie** | **[]string** | |
- **labelNiew** | **[]string** | |
- **labelNire** | **[]string** | |
- **labelNisw** | **[]string** | |
- **labelNre** | **[]string** | |
- **labelRe** | **[]string** | |
+ **interfaceTemplates** | **[]string** | |
+ **interfaceTemplatesIsnull** | **bool** | Interface templates (name or ID) is null |
+ **interfaceTemplatesN** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -26522,54 +27756,66 @@ Name | Type | Description | Notes
**lastUpdatedLte** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedN** | [**[]time.Time**](time.Time.md) | |
**limit** | **int32** | Number of results to return per page. |
- **name** | **[]string** | |
- **nameIc** | **[]string** | |
- **nameIe** | **[]string** | |
- **nameIew** | **[]string** | |
- **nameIre** | **[]string** | |
- **nameIsw** | **[]string** | |
- **nameN** | **[]string** | |
- **nameNic** | **[]string** | |
- **nameNie** | **[]string** | |
- **nameNiew** | **[]string** | |
- **nameNire** | **[]string** | |
- **nameNisw** | **[]string** | |
- **nameNre** | **[]string** | |
- **nameRe** | **[]string** | |
+ **manufacturer** | **[]string** | |
+ **manufacturerN** | **[]string** | |
+ **model** | **[]string** | |
+ **modelIc** | **[]string** | |
+ **modelIe** | **[]string** | |
+ **modelIew** | **[]string** | |
+ **modelIre** | **[]string** | |
+ **modelIsw** | **[]string** | |
+ **modelN** | **[]string** | |
+ **modelNic** | **[]string** | |
+ **modelNie** | **[]string** | |
+ **modelNiew** | **[]string** | |
+ **modelNire** | **[]string** | |
+ **modelNisw** | **[]string** | |
+ **modelNre** | **[]string** | |
+ **modelRe** | **[]string** | |
+ **moduleBayTemplates** | **[]string** | |
+ **moduleBayTemplatesIsnull** | **bool** | |
+ **moduleBayTemplatesN** | **[]string** | |
+ **moduleFamily** | **[]string** | |
+ **moduleFamilyIsnull** | **bool** | Module family (name or ID) is null |
+ **moduleFamilyN** | **[]string** | |
**offset** | **int32** | The initial index from which to return the results. |
- **parentDevice** | **[]string** | |
- **parentDeviceIsnull** | **bool** | Parent device (name or ID) is null |
- **parentDeviceN** | **[]string** | |
- **parentModule** | **[]string** | Parent module (ID) |
- **parentModuleIsnull** | **bool** | Parent module (ID) is null |
- **parentModuleN** | **[]string** | Exclude Parent module (ID) |
- **position** | **[]string** | |
- **positionIc** | **[]string** | |
- **positionIe** | **[]string** | |
- **positionIew** | **[]string** | |
- **positionIre** | **[]string** | |
- **positionIsw** | **[]string** | |
- **positionN** | **[]string** | |
- **positionNic** | **[]string** | |
- **positionNie** | **[]string** | |
- **positionNiew** | **[]string** | |
- **positionNire** | **[]string** | |
- **positionNisw** | **[]string** | |
- **positionNre** | **[]string** | |
- **positionRe** | **[]string** | |
+ **partNumber** | **[]string** | |
+ **partNumberIc** | **[]string** | |
+ **partNumberIe** | **[]string** | |
+ **partNumberIew** | **[]string** | |
+ **partNumberIre** | **[]string** | |
+ **partNumberIsw** | **[]string** | |
+ **partNumberN** | **[]string** | |
+ **partNumberNic** | **[]string** | |
+ **partNumberNie** | **[]string** | |
+ **partNumberNiew** | **[]string** | |
+ **partNumberNire** | **[]string** | |
+ **partNumberNisw** | **[]string** | |
+ **partNumberNre** | **[]string** | |
+ **partNumberRe** | **[]string** | |
+ **powerOutletTemplates** | **[]string** | |
+ **powerOutletTemplatesIsnull** | **bool** | Power outlet templates (name or ID) is null |
+ **powerOutletTemplatesN** | **[]string** | |
+ **powerPortTemplates** | **[]string** | |
+ **powerPortTemplatesIsnull** | **bool** | Power port templates (name or ID) is null |
+ **powerPortTemplatesN** | **[]string** | |
**q** | **string** | Search |
+ **rearPortTemplates** | **[]string** | |
+ **rearPortTemplatesIsnull** | **bool** | Rear port templates (name or ID) is null |
+ **rearPortTemplatesN** | **[]string** | |
**sort** | **string** | Which field to use when ordering the results. |
**tags** | **[]string** | |
**tagsIsnull** | **bool** | |
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PaginatedModuleBayList**](PaginatedModuleBayList.md)
+[**PaginatedModuleTypeList**](PaginatedModuleTypeList.md)
### Authorization
@@ -26585,9 +27831,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleBaysNotesCreate
+## DcimModuleTypesNotesCreate
-> Note DcimModuleBaysNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+> Note DcimModuleTypesNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
@@ -26606,19 +27852,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module bay.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module type.
noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModuleBaysNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModuleTypesNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBaysNotesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleTypesNotesCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModuleBaysNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBaysNotesCreate`: %v\n", resp)
+ // response from `DcimModuleTypesNotesCreate`: Note
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleTypesNotesCreate`: %v\n", resp)
}
```
@@ -26628,11 +27874,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this module bay. |
+**id** | **string** | A UUID string identifying this module type. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleBaysNotesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleTypesNotesCreateRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -26659,9 +27905,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleBaysNotesList
+## DcimModuleTypesNotesList
-> PaginatedNoteList DcimModuleBaysNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList DcimModuleTypesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -26680,21 +27926,22 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module bay.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module type.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModuleBaysNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModuleTypesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBaysNotesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleTypesNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModuleBaysNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBaysNotesList`: %v\n", resp)
+ // response from `DcimModuleTypesNotesList`: PaginatedNoteList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleTypesNotesList`: %v\n", resp)
}
```
@@ -26704,11 +27951,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this module bay. |
+**id** | **string** | A UUID string identifying this module type. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleBaysNotesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleTypesNotesListRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -26718,6 +27965,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -26737,9 +27985,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleBaysPartialUpdate
+## DcimModuleTypesPartialUpdate
-> ModuleBay DcimModuleBaysPartialUpdate(ctx, id).Format(format).PatchedModuleBayRequest(patchedModuleBayRequest).Execute()
+> ModuleType DcimModuleTypesPartialUpdate(ctx, id).Format(format).PatchedModuleTypeRequest(patchedModuleTypeRequest).Execute()
@@ -26758,19 +28006,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module bay.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module type.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- patchedModuleBayRequest := *openapiclient.NewPatchedModuleBayRequest() // PatchedModuleBayRequest | (optional)
+ patchedModuleTypeRequest := *openapiclient.NewPatchedModuleTypeRequest() // PatchedModuleTypeRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModuleBaysPartialUpdate(context.Background(), id).Format(format).PatchedModuleBayRequest(patchedModuleBayRequest).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModuleTypesPartialUpdate(context.Background(), id).Format(format).PatchedModuleTypeRequest(patchedModuleTypeRequest).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBaysPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleTypesPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModuleBaysPartialUpdate`: ModuleBay
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBaysPartialUpdate`: %v\n", resp)
+ // response from `DcimModuleTypesPartialUpdate`: ModuleType
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleTypesPartialUpdate`: %v\n", resp)
}
```
@@ -26780,22 +28028,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this module bay. |
+**id** | **string** | A UUID string identifying this module type. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleBaysPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleTypesPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **patchedModuleBayRequest** | [**PatchedModuleBayRequest**](PatchedModuleBayRequest.md) | |
+ **patchedModuleTypeRequest** | [**PatchedModuleTypeRequest**](PatchedModuleTypeRequest.md) | |
### Return type
-[**ModuleBay**](ModuleBay.md)
+[**ModuleType**](ModuleType.md)
### Authorization
@@ -26811,9 +28059,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleBaysRetrieve
+## DcimModuleTypesRetrieve
-> ModuleBay DcimModuleBaysRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> ModuleType DcimModuleTypesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -26832,19 +28080,20 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module bay.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module type.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModuleBaysRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModuleTypesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBaysRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleTypesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModuleBaysRetrieve`: ModuleBay
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBaysRetrieve`: %v\n", resp)
+ // response from `DcimModuleTypesRetrieve`: ModuleType
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleTypesRetrieve`: %v\n", resp)
}
```
@@ -26854,11 +28103,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this module bay. |
+**id** | **string** | A UUID string identifying this module type. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleBaysRetrieveRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleTypesRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -26866,10 +28115,11 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**ModuleBay**](ModuleBay.md)
+[**ModuleType**](ModuleType.md)
### Authorization
@@ -26885,9 +28135,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleBaysUpdate
+## DcimModuleTypesUpdate
-> ModuleBay DcimModuleBaysUpdate(ctx, id).ModuleBayRequest(moduleBayRequest).Format(format).Execute()
+> ModuleType DcimModuleTypesUpdate(ctx, id).ModuleTypeRequest(moduleTypeRequest).Format(format).Execute()
@@ -26906,19 +28156,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module bay.
- moduleBayRequest := *openapiclient.NewModuleBayRequest("Name_example") // ModuleBayRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module type.
+ moduleTypeRequest := *openapiclient.NewModuleTypeRequest("Model_example", *openapiclient.NewBulkWritableCableRequestStatus()) // ModuleTypeRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModuleBaysUpdate(context.Background(), id).ModuleBayRequest(moduleBayRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModuleTypesUpdate(context.Background(), id).ModuleTypeRequest(moduleTypeRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleBaysUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleTypesUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModuleBaysUpdate`: ModuleBay
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleBaysUpdate`: %v\n", resp)
+ // response from `DcimModuleTypesUpdate`: ModuleType
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleTypesUpdate`: %v\n", resp)
}
```
@@ -26928,22 +28178,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this module bay. |
+**id** | **string** | A UUID string identifying this module type. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleBaysUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModuleTypesUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **moduleBayRequest** | [**ModuleBayRequest**](ModuleBayRequest.md) | |
+ **moduleTypeRequest** | [**ModuleTypeRequest**](ModuleTypeRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**ModuleBay**](ModuleBay.md)
+[**ModuleType**](ModuleType.md)
### Authorization
@@ -26959,9 +28209,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleTypesBulkDestroy
+## DcimModulesBulkDestroy
-> DcimModuleTypesBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+> DcimModulesBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
@@ -26985,9 +28235,9 @@ func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimModuleTypesBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimModulesBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleTypesBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModulesBulkDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -26999,7 +28249,7 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleTypesBulkDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModulesBulkDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -27025,9 +28275,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleTypesBulkPartialUpdate
+## DcimModulesBulkPartialUpdate
-> []ModuleType DcimModuleTypesBulkPartialUpdate(ctx).PatchedBulkWritableModuleTypeRequest(patchedBulkWritableModuleTypeRequest).Format(format).Execute()
+> []Module DcimModulesBulkPartialUpdate(ctx).PatchedBulkWritableModuleRequest(patchedBulkWritableModuleRequest).Format(format).Execute()
@@ -27046,18 +28296,18 @@ import (
)
func main() {
- patchedBulkWritableModuleTypeRequest := []openapiclient.PatchedBulkWritableModuleTypeRequest{*openapiclient.NewPatchedBulkWritableModuleTypeRequest("Id_example")} // []PatchedBulkWritableModuleTypeRequest |
+ patchedBulkWritableModuleRequest := []openapiclient.PatchedBulkWritableModuleRequest{*openapiclient.NewPatchedBulkWritableModuleRequest("Id_example")} // []PatchedBulkWritableModuleRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModuleTypesBulkPartialUpdate(context.Background()).PatchedBulkWritableModuleTypeRequest(patchedBulkWritableModuleTypeRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModulesBulkPartialUpdate(context.Background()).PatchedBulkWritableModuleRequest(patchedBulkWritableModuleRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleTypesBulkPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModulesBulkPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModuleTypesBulkPartialUpdate`: []ModuleType
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleTypesBulkPartialUpdate`: %v\n", resp)
+ // response from `DcimModulesBulkPartialUpdate`: []Module
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModulesBulkPartialUpdate`: %v\n", resp)
}
```
@@ -27067,17 +28317,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleTypesBulkPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModulesBulkPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **patchedBulkWritableModuleTypeRequest** | [**[]PatchedBulkWritableModuleTypeRequest**](PatchedBulkWritableModuleTypeRequest.md) | |
+ **patchedBulkWritableModuleRequest** | [**[]PatchedBulkWritableModuleRequest**](PatchedBulkWritableModuleRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]ModuleType**](ModuleType.md)
+[**[]Module**](Module.md)
### Authorization
@@ -27093,9 +28343,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleTypesBulkUpdate
+## DcimModulesBulkUpdate
-> []ModuleType DcimModuleTypesBulkUpdate(ctx).BulkWritableModuleTypeRequest(bulkWritableModuleTypeRequest).Format(format).Execute()
+> []Module DcimModulesBulkUpdate(ctx).BulkWritableModuleRequest(bulkWritableModuleRequest).Format(format).Execute()
@@ -27114,18 +28364,18 @@ import (
)
func main() {
- bulkWritableModuleTypeRequest := []openapiclient.BulkWritableModuleTypeRequest{*openapiclient.NewBulkWritableModuleTypeRequest("Id_example", "Model_example", *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritableModuleTypeRequest |
+ bulkWritableModuleRequest := []openapiclient.BulkWritableModuleRequest{*openapiclient.NewBulkWritableModuleRequest("Id_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritableModuleRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModuleTypesBulkUpdate(context.Background()).BulkWritableModuleTypeRequest(bulkWritableModuleTypeRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModulesBulkUpdate(context.Background()).BulkWritableModuleRequest(bulkWritableModuleRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleTypesBulkUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModulesBulkUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModuleTypesBulkUpdate`: []ModuleType
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleTypesBulkUpdate`: %v\n", resp)
+ // response from `DcimModulesBulkUpdate`: []Module
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModulesBulkUpdate`: %v\n", resp)
}
```
@@ -27135,17 +28385,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleTypesBulkUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModulesBulkUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **bulkWritableModuleTypeRequest** | [**[]BulkWritableModuleTypeRequest**](BulkWritableModuleTypeRequest.md) | |
+ **bulkWritableModuleRequest** | [**[]BulkWritableModuleRequest**](BulkWritableModuleRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]ModuleType**](ModuleType.md)
+[**[]Module**](Module.md)
### Authorization
@@ -27161,9 +28411,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleTypesCreate
+## DcimModulesCreate
-> ModuleType DcimModuleTypesCreate(ctx).ModuleTypeRequest(moduleTypeRequest).Format(format).Execute()
+> Module DcimModulesCreate(ctx).ModuleRequest(moduleRequest).Format(format).Execute()
@@ -27182,18 +28432,18 @@ import (
)
func main() {
- moduleTypeRequest := *openapiclient.NewModuleTypeRequest("Model_example", *openapiclient.NewBulkWritableCableRequestStatus()) // ModuleTypeRequest |
+ moduleRequest := *openapiclient.NewModuleRequest(*openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // ModuleRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModuleTypesCreate(context.Background()).ModuleTypeRequest(moduleTypeRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModulesCreate(context.Background()).ModuleRequest(moduleRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleTypesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModulesCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModuleTypesCreate`: ModuleType
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleTypesCreate`: %v\n", resp)
+ // response from `DcimModulesCreate`: Module
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModulesCreate`: %v\n", resp)
}
```
@@ -27203,17 +28453,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleTypesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModulesCreateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **moduleTypeRequest** | [**ModuleTypeRequest**](ModuleTypeRequest.md) | |
+ **moduleRequest** | [**ModuleRequest**](ModuleRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**ModuleType**](ModuleType.md)
+[**Module**](Module.md)
### Authorization
@@ -27229,9 +28479,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleTypesDestroy
+## DcimModulesDestroy
-> DcimModuleTypesDestroy(ctx, id).Format(format).Execute()
+> DcimModulesDestroy(ctx, id).Format(format).Execute()
@@ -27250,14 +28500,14 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module type.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimModuleTypesDestroy(context.Background(), id).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimModulesDestroy(context.Background(), id).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleTypesDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModulesDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -27269,11 +28519,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this module type. |
+**id** | **string** | A UUID string identifying this module. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleTypesDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModulesDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -27299,9 +28549,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleTypesList
+## DcimModulesList
-> PaginatedModuleTypeList DcimModuleTypesList(ctx).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).ConsolePortTemplates(consolePortTemplates).ConsolePortTemplatesIsnull(consolePortTemplatesIsnull).ConsolePortTemplatesN(consolePortTemplatesN).ConsoleServerPortTemplates(consoleServerPortTemplates).ConsoleServerPortTemplatesIsnull(consoleServerPortTemplatesIsnull).ConsoleServerPortTemplatesN(consoleServerPortTemplatesN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).FrontPortTemplates(frontPortTemplates).FrontPortTemplatesIsnull(frontPortTemplatesIsnull).FrontPortTemplatesN(frontPortTemplatesN).HasConsolePortTemplates(hasConsolePortTemplates).HasConsoleServerPortTemplates(hasConsoleServerPortTemplates).HasFrontPortTemplates(hasFrontPortTemplates).HasInterfaceTemplates(hasInterfaceTemplates).HasModuleBayTemplates(hasModuleBayTemplates).HasModules(hasModules).HasPowerOutletTemplates(hasPowerOutletTemplates).HasPowerPortTemplates(hasPowerPortTemplates).HasRearPortTemplates(hasRearPortTemplates).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).InterfaceTemplates(interfaceTemplates).InterfaceTemplatesIsnull(interfaceTemplatesIsnull).InterfaceTemplatesN(interfaceTemplatesN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Manufacturer(manufacturer).ManufacturerN(manufacturerN).Model(model).ModelIc(modelIc).ModelIe(modelIe).ModelIew(modelIew).ModelIre(modelIre).ModelIsw(modelIsw).ModelN(modelN).ModelNic(modelNic).ModelNie(modelNie).ModelNiew(modelNiew).ModelNire(modelNire).ModelNisw(modelNisw).ModelNre(modelNre).ModelRe(modelRe).ModuleBayTemplates(moduleBayTemplates).ModuleBayTemplatesIsnull(moduleBayTemplatesIsnull).ModuleBayTemplatesN(moduleBayTemplatesN).Offset(offset).PartNumber(partNumber).PartNumberIc(partNumberIc).PartNumberIe(partNumberIe).PartNumberIew(partNumberIew).PartNumberIre(partNumberIre).PartNumberIsw(partNumberIsw).PartNumberN(partNumberN).PartNumberNic(partNumberNic).PartNumberNie(partNumberNie).PartNumberNiew(partNumberNiew).PartNumberNire(partNumberNire).PartNumberNisw(partNumberNisw).PartNumberNre(partNumberNre).PartNumberRe(partNumberRe).PowerOutletTemplates(powerOutletTemplates).PowerOutletTemplatesIsnull(powerOutletTemplatesIsnull).PowerOutletTemplatesN(powerOutletTemplatesN).PowerPortTemplates(powerPortTemplates).PowerPortTemplatesIsnull(powerPortTemplatesIsnull).PowerPortTemplatesN(powerPortTemplatesN).Q(q).RearPortTemplates(rearPortTemplates).RearPortTemplatesIsnull(rearPortTemplatesIsnull).RearPortTemplatesN(rearPortTemplatesN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedModuleList DcimModulesList(ctx).AssetTag(assetTag).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIre(assetTagIre).AssetTagIsnull(assetTagIsnull).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNire(assetTagNire).AssetTagNisw(assetTagNisw).AssetTagNre(assetTagNre).AssetTagRe(assetTagRe).CompatibleWithModuleBay(compatibleWithModuleBay).ConsolePorts(consolePorts).ConsolePortsIsnull(consolePortsIsnull).ConsolePortsN(consolePortsN).ConsoleServerPorts(consoleServerPorts).ConsoleServerPortsIsnull(consoleServerPortsIsnull).ConsoleServerPortsN(consoleServerPortsN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Device(device).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).FrontPorts(frontPorts).FrontPortsIsnull(frontPortsIsnull).FrontPortsN(frontPortsN).HasConsolePorts(hasConsolePorts).HasConsoleServerPorts(hasConsoleServerPorts).HasEmptyModuleBays(hasEmptyModuleBays).HasFrontPorts(hasFrontPorts).HasInterfaces(hasInterfaces).HasModuleBays(hasModuleBays).HasModules(hasModules).HasPowerOutlets(hasPowerOutlets).HasPowerPorts(hasPowerPorts).HasRearPorts(hasRearPorts).Id(id).IdN(idN).Interfaces(interfaces).InterfacesIsnull(interfacesIsnull).InterfacesN(interfacesN).IsInstalled(isInstalled).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationIsnull(locationIsnull).LocationN(locationN).MacAddress(macAddress).MacAddressIc(macAddressIc).MacAddressIe(macAddressIe).MacAddressIew(macAddressIew).MacAddressIre(macAddressIre).MacAddressIsw(macAddressIsw).MacAddressN(macAddressN).MacAddressNic(macAddressNic).MacAddressNie(macAddressNie).MacAddressNiew(macAddressNiew).MacAddressNire(macAddressNire).MacAddressNisw(macAddressNisw).MacAddressNre(macAddressNre).MacAddressRe(macAddressRe).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ModuleBays(moduleBays).ModuleBaysIsnull(moduleBaysIsnull).ModuleBaysN(moduleBaysN).ModuleFamily(moduleFamily).ModuleFamilyIsnull(moduleFamilyIsnull).ModuleFamilyN(moduleFamilyN).ModuleType(moduleType).ModuleTypeN(moduleTypeN).Offset(offset).ParentModuleBay(parentModuleBay).ParentModuleBayIsnull(parentModuleBayIsnull).ParentModuleBayN(parentModuleBayN).PowerOutlets(powerOutlets).PowerOutletsIsnull(powerOutletsIsnull).PowerOutletsN(powerOutletsN).PowerPorts(powerPorts).PowerPortsIsnull(powerPortsIsnull).PowerPortsN(powerPortsN).Q(q).RearPorts(rearPorts).RearPortsIsnull(rearPortsIsnull).RearPortsN(rearPortsN).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Serial(serial).SerialIc(serialIc).SerialIe(serialIe).SerialIew(serialIew).SerialIre(serialIre).SerialIsnull(serialIsnull).SerialIsw(serialIsw).SerialN(serialN).SerialNic(serialNic).SerialNie(serialNie).SerialNiew(serialNiew).SerialNire(serialNire).SerialNisw(serialNisw).SerialNre(serialNre).SerialRe(serialRe).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -27321,29 +28571,31 @@ import (
)
func main() {
- comments := []string{"Inner_example"} // []string | (optional)
- commentsIc := []string{"Inner_example"} // []string | (optional)
- commentsIe := []string{"Inner_example"} // []string | (optional)
- commentsIew := []string{"Inner_example"} // []string | (optional)
- commentsIre := []string{"Inner_example"} // []string | (optional)
- commentsIsw := []string{"Inner_example"} // []string | (optional)
- commentsN := []string{"Inner_example"} // []string | (optional)
- commentsNic := []string{"Inner_example"} // []string | (optional)
- commentsNie := []string{"Inner_example"} // []string | (optional)
- commentsNiew := []string{"Inner_example"} // []string | (optional)
- commentsNire := []string{"Inner_example"} // []string | (optional)
- commentsNisw := []string{"Inner_example"} // []string | (optional)
- commentsNre := []string{"Inner_example"} // []string | (optional)
- commentsRe := []string{"Inner_example"} // []string | (optional)
- consolePortTemplates := []string{"Inner_example"} // []string | (optional)
- consolePortTemplatesIsnull := true // bool | Console port templates (name or ID) is null (optional)
- consolePortTemplatesN := []string{"Inner_example"} // []string | (optional)
- consoleServerPortTemplates := []string{"Inner_example"} // []string | (optional)
- consoleServerPortTemplatesIsnull := true // bool | Console server port templates (name or ID) is null (optional)
- consoleServerPortTemplatesN := []string{"Inner_example"} // []string | (optional)
+ assetTag := []string{"Inner_example"} // []string | (optional)
+ assetTagIc := []string{"Inner_example"} // []string | (optional)
+ assetTagIe := []string{"Inner_example"} // []string | (optional)
+ assetTagIew := []string{"Inner_example"} // []string | (optional)
+ assetTagIre := []string{"Inner_example"} // []string | (optional)
+ assetTagIsnull := true // bool | (optional)
+ assetTagIsw := []string{"Inner_example"} // []string | (optional)
+ assetTagN := []string{"Inner_example"} // []string | (optional)
+ assetTagNic := []string{"Inner_example"} // []string | (optional)
+ assetTagNie := []string{"Inner_example"} // []string | (optional)
+ assetTagNiew := []string{"Inner_example"} // []string | (optional)
+ assetTagNire := []string{"Inner_example"} // []string | (optional)
+ assetTagNisw := []string{"Inner_example"} // []string | (optional)
+ assetTagNre := []string{"Inner_example"} // []string | (optional)
+ assetTagRe := []string{"Inner_example"} // []string | (optional)
+ compatibleWithModuleBay := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional)
+ consolePorts := []string{"Inner_example"} // []string | (optional)
+ consolePortsIsnull := true // bool | Console Ports (name or ID) is null (optional)
+ consolePortsN := []string{"Inner_example"} // []string | (optional)
+ consoleServerPorts := []string{"Inner_example"} // []string | (optional)
+ consoleServerPortsIsnull := true // bool | Console Server Ports (name or ID) is null (optional)
+ consoleServerPortsN := []string{"Inner_example"} // []string | (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -27351,38 +28603,29 @@ func main() {
createdLt := []time.Time{time.Now()} // []time.Time | (optional)
createdLte := []time.Time{time.Now()} // []time.Time | (optional)
createdN := []time.Time{time.Now()} // []time.Time | (optional)
+ device := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- frontPortTemplates := []string{"Inner_example"} // []string | (optional)
- frontPortTemplatesIsnull := true // bool | Front port templates (name or ID) is null (optional)
- frontPortTemplatesN := []string{"Inner_example"} // []string | (optional)
- hasConsolePortTemplates := true // bool | Has console port templates (optional)
- hasConsoleServerPortTemplates := true // bool | Has console server port templates (optional)
- hasFrontPortTemplates := true // bool | Has front port templates (optional)
- hasInterfaceTemplates := true // bool | Has interface templates (optional)
- hasModuleBayTemplates := true // bool | Has module bay templates (optional)
- hasModules := true // bool | Has module instances (optional)
- hasPowerOutletTemplates := true // bool | Has power outlet templates (optional)
- hasPowerPortTemplates := true // bool | Has power port templates (optional)
- hasRearPortTemplates := true // bool | Has rear port templates (optional)
+ frontPorts := []string{"Inner_example"} // []string | (optional)
+ frontPortsIsnull := true // bool | Front Ports (name or ID) is null (optional)
+ frontPortsN := []string{"Inner_example"} // []string | (optional)
+ hasConsolePorts := true // bool | Has console ports (optional)
+ hasConsoleServerPorts := true // bool | Has console server ports (optional)
+ hasEmptyModuleBays := true // bool | Has empty module bays (optional)
+ hasFrontPorts := true // bool | Has front ports (optional)
+ hasInterfaces := true // bool | Has interfaces (optional)
+ hasModuleBays := true // bool | Has module bays (optional)
+ hasModules := true // bool | Has modules (optional)
+ hasPowerOutlets := true // bool | Has power outlets (optional)
+ hasPowerPorts := true // bool | Has power ports (optional)
+ hasRearPorts := true // bool | Has rear ports (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
- interfaceTemplates := []string{"Inner_example"} // []string | (optional)
- interfaceTemplatesIsnull := true // bool | Interface templates (name or ID) is null (optional)
- interfaceTemplatesN := []string{"Inner_example"} // []string | (optional)
+ interfaces := []string{"Inner_example"} // []string | (optional)
+ interfacesIsnull := true // bool | Interfaces (name or ID) is null (optional)
+ interfacesN := []string{"Inner_example"} // []string | (optional)
+ isInstalled := true // bool | Is installed in a module bay (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -27391,68 +28634,95 @@ func main() {
lastUpdatedLte := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedN := []time.Time{time.Now()} // []time.Time | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
+ location := []string{"Inner_example"} // []string | (optional)
+ locationIsnull := true // bool | Location (name or ID) is null (optional)
+ locationN := []string{"Inner_example"} // []string | (optional)
+ macAddress := []string{"Inner_example"} // []string | MAC address (optional)
+ macAddressIc := []string{"Inner_example"} // []string | MAC address contains (optional)
+ macAddressIe := []string{"Inner_example"} // []string | MAC address (optional)
+ macAddressIew := []string{"Inner_example"} // []string | MAC address ends with (optional)
+ macAddressIre := []string{"Inner_example"} // []string | MAC address matches regex (optional)
+ macAddressIsw := []string{"Inner_example"} // []string | MAC address starts with (optional)
+ macAddressN := []string{"Inner_example"} // []string | Exclude MAC address (optional)
+ macAddressNic := []string{"Inner_example"} // []string | Exclude MAC address contains (optional)
+ macAddressNie := []string{"Inner_example"} // []string | Exclude MAC address (optional)
+ macAddressNiew := []string{"Inner_example"} // []string | Exclude MAC address ends with (optional)
+ macAddressNire := []string{"Inner_example"} // []string | Exclude MAC address matches regex (optional)
+ macAddressNisw := []string{"Inner_example"} // []string | Exclude MAC address starts with (optional)
+ macAddressNre := []string{"Inner_example"} // []string | Exclude MAC address matches regex (optional)
+ macAddressRe := []string{"Inner_example"} // []string | MAC address matches regex (optional)
manufacturer := []string{"Inner_example"} // []string | (optional)
manufacturerN := []string{"Inner_example"} // []string | (optional)
- model := []string{"Inner_example"} // []string | (optional)
- modelIc := []string{"Inner_example"} // []string | (optional)
- modelIe := []string{"Inner_example"} // []string | (optional)
- modelIew := []string{"Inner_example"} // []string | (optional)
- modelIre := []string{"Inner_example"} // []string | (optional)
- modelIsw := []string{"Inner_example"} // []string | (optional)
- modelN := []string{"Inner_example"} // []string | (optional)
- modelNic := []string{"Inner_example"} // []string | (optional)
- modelNie := []string{"Inner_example"} // []string | (optional)
- modelNiew := []string{"Inner_example"} // []string | (optional)
- modelNire := []string{"Inner_example"} // []string | (optional)
- modelNisw := []string{"Inner_example"} // []string | (optional)
- modelNre := []string{"Inner_example"} // []string | (optional)
- modelRe := []string{"Inner_example"} // []string | (optional)
- moduleBayTemplates := []string{"Inner_example"} // []string | (optional)
- moduleBayTemplatesIsnull := true // bool | (optional)
- moduleBayTemplatesN := []string{"Inner_example"} // []string | (optional)
+ moduleBays := []string{"Inner_example"} // []string | Module Bays (optional)
+ moduleBaysIsnull := true // bool | Module Bays is null (optional)
+ moduleBaysN := []string{"Inner_example"} // []string | Exclude Module Bays (optional)
+ moduleFamily := []string{"Inner_example"} // []string | (optional)
+ moduleFamilyIsnull := true // bool | Module family (name or ID) is null (optional)
+ moduleFamilyN := []string{"Inner_example"} // []string | (optional)
+ moduleType := []string{"Inner_example"} // []string | (optional)
+ moduleTypeN := []string{"Inner_example"} // []string | (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- partNumber := []string{"Inner_example"} // []string | (optional)
- partNumberIc := []string{"Inner_example"} // []string | (optional)
- partNumberIe := []string{"Inner_example"} // []string | (optional)
- partNumberIew := []string{"Inner_example"} // []string | (optional)
- partNumberIre := []string{"Inner_example"} // []string | (optional)
- partNumberIsw := []string{"Inner_example"} // []string | (optional)
- partNumberN := []string{"Inner_example"} // []string | (optional)
- partNumberNic := []string{"Inner_example"} // []string | (optional)
- partNumberNie := []string{"Inner_example"} // []string | (optional)
- partNumberNiew := []string{"Inner_example"} // []string | (optional)
- partNumberNire := []string{"Inner_example"} // []string | (optional)
- partNumberNisw := []string{"Inner_example"} // []string | (optional)
- partNumberNre := []string{"Inner_example"} // []string | (optional)
- partNumberRe := []string{"Inner_example"} // []string | (optional)
- powerOutletTemplates := []string{"Inner_example"} // []string | (optional)
- powerOutletTemplatesIsnull := true // bool | Power outlet templates (name or ID) is null (optional)
- powerOutletTemplatesN := []string{"Inner_example"} // []string | (optional)
- powerPortTemplates := []string{"Inner_example"} // []string | (optional)
- powerPortTemplatesIsnull := true // bool | Power port templates (name or ID) is null (optional)
- powerPortTemplatesN := []string{"Inner_example"} // []string | (optional)
+ parentModuleBay := []string{"Inner_example"} // []string | Parent Module Bay (optional)
+ parentModuleBayIsnull := true // bool | Parent Module Bay is null (optional)
+ parentModuleBayN := []string{"Inner_example"} // []string | Exclude Parent Module Bay (optional)
+ powerOutlets := []string{"Inner_example"} // []string | (optional)
+ powerOutletsIsnull := true // bool | Power Outlets (name or ID) is null (optional)
+ powerOutletsN := []string{"Inner_example"} // []string | (optional)
+ powerPorts := []string{"Inner_example"} // []string | (optional)
+ powerPortsIsnull := true // bool | Power Ports (name or ID) is null (optional)
+ powerPortsN := []string{"Inner_example"} // []string | (optional)
q := "q_example" // string | Search (optional)
- rearPortTemplates := []string{"Inner_example"} // []string | (optional)
- rearPortTemplatesIsnull := true // bool | Rear port templates (name or ID) is null (optional)
- rearPortTemplatesN := []string{"Inner_example"} // []string | (optional)
+ rearPorts := []string{"Inner_example"} // []string | (optional)
+ rearPortsIsnull := true // bool | Rear Ports (name or ID) is null (optional)
+ rearPortsN := []string{"Inner_example"} // []string | (optional)
+ role := []string{"Inner_example"} // []string | (optional)
+ roleIsnull := true // bool | Role (name or ID) is null (optional)
+ roleN := []string{"Inner_example"} // []string | (optional)
+ serial := []string{"Inner_example"} // []string | (optional)
+ serialIc := []string{"Inner_example"} // []string | (optional)
+ serialIe := []string{"Inner_example"} // []string | (optional)
+ serialIew := []string{"Inner_example"} // []string | (optional)
+ serialIre := []string{"Inner_example"} // []string | (optional)
+ serialIsnull := true // bool | (optional)
+ serialIsw := []string{"Inner_example"} // []string | (optional)
+ serialN := []string{"Inner_example"} // []string | (optional)
+ serialNic := []string{"Inner_example"} // []string | (optional)
+ serialNie := []string{"Inner_example"} // []string | (optional)
+ serialNiew := []string{"Inner_example"} // []string | (optional)
+ serialNire := []string{"Inner_example"} // []string | (optional)
+ serialNisw := []string{"Inner_example"} // []string | (optional)
+ serialNre := []string{"Inner_example"} // []string | (optional)
+ serialRe := []string{"Inner_example"} // []string | (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
+ status := []string{"Inner_example"} // []string | (optional)
+ statusN := []string{"Inner_example"} // []string | (optional)
tags := []string{"Inner_example"} // []string | (optional)
tagsIsnull := true // bool | (optional)
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
+ tenant := []string{"Inner_example"} // []string | (optional)
+ tenantIsnull := true // bool | Tenant (name or ID) is null (optional)
+ tenantN := []string{"Inner_example"} // []string | (optional)
+ tenantGroup := []string{"Inner_example"} // []string | (optional)
+ tenantGroupIsnull := true // bool | Tenant Group (name or ID) is null (optional)
+ tenantGroupN := []string{"Inner_example"} // []string | (optional)
+ tenantId := []*string{"Inner_example"} // []*string | Tenant (ID) (deprecated, use \"tenant\" filter instead) (optional)
+ tenantIdIsnull := true // bool | Tenant (ID) (deprecated, use \"tenant\" filter instead) is null (optional)
+ tenantIdN := []*string{"Inner_example"} // []*string | Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead) (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModuleTypesList(context.Background()).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).ConsolePortTemplates(consolePortTemplates).ConsolePortTemplatesIsnull(consolePortTemplatesIsnull).ConsolePortTemplatesN(consolePortTemplatesN).ConsoleServerPortTemplates(consoleServerPortTemplates).ConsoleServerPortTemplatesIsnull(consoleServerPortTemplatesIsnull).ConsoleServerPortTemplatesN(consoleServerPortTemplatesN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).FrontPortTemplates(frontPortTemplates).FrontPortTemplatesIsnull(frontPortTemplatesIsnull).FrontPortTemplatesN(frontPortTemplatesN).HasConsolePortTemplates(hasConsolePortTemplates).HasConsoleServerPortTemplates(hasConsoleServerPortTemplates).HasFrontPortTemplates(hasFrontPortTemplates).HasInterfaceTemplates(hasInterfaceTemplates).HasModuleBayTemplates(hasModuleBayTemplates).HasModules(hasModules).HasPowerOutletTemplates(hasPowerOutletTemplates).HasPowerPortTemplates(hasPowerPortTemplates).HasRearPortTemplates(hasRearPortTemplates).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).InterfaceTemplates(interfaceTemplates).InterfaceTemplatesIsnull(interfaceTemplatesIsnull).InterfaceTemplatesN(interfaceTemplatesN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Manufacturer(manufacturer).ManufacturerN(manufacturerN).Model(model).ModelIc(modelIc).ModelIe(modelIe).ModelIew(modelIew).ModelIre(modelIre).ModelIsw(modelIsw).ModelN(modelN).ModelNic(modelNic).ModelNie(modelNie).ModelNiew(modelNiew).ModelNire(modelNire).ModelNisw(modelNisw).ModelNre(modelNre).ModelRe(modelRe).ModuleBayTemplates(moduleBayTemplates).ModuleBayTemplatesIsnull(moduleBayTemplatesIsnull).ModuleBayTemplatesN(moduleBayTemplatesN).Offset(offset).PartNumber(partNumber).PartNumberIc(partNumberIc).PartNumberIe(partNumberIe).PartNumberIew(partNumberIew).PartNumberIre(partNumberIre).PartNumberIsw(partNumberIsw).PartNumberN(partNumberN).PartNumberNic(partNumberNic).PartNumberNie(partNumberNie).PartNumberNiew(partNumberNiew).PartNumberNire(partNumberNire).PartNumberNisw(partNumberNisw).PartNumberNre(partNumberNre).PartNumberRe(partNumberRe).PowerOutletTemplates(powerOutletTemplates).PowerOutletTemplatesIsnull(powerOutletTemplatesIsnull).PowerOutletTemplatesN(powerOutletTemplatesN).PowerPortTemplates(powerPortTemplates).PowerPortTemplatesIsnull(powerPortTemplatesIsnull).PowerPortTemplatesN(powerPortTemplatesN).Q(q).RearPortTemplates(rearPortTemplates).RearPortTemplatesIsnull(rearPortTemplatesIsnull).RearPortTemplatesN(rearPortTemplatesN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModulesList(context.Background()).AssetTag(assetTag).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIre(assetTagIre).AssetTagIsnull(assetTagIsnull).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNire(assetTagNire).AssetTagNisw(assetTagNisw).AssetTagNre(assetTagNre).AssetTagRe(assetTagRe).CompatibleWithModuleBay(compatibleWithModuleBay).ConsolePorts(consolePorts).ConsolePortsIsnull(consolePortsIsnull).ConsolePortsN(consolePortsN).ConsoleServerPorts(consoleServerPorts).ConsoleServerPortsIsnull(consoleServerPortsIsnull).ConsoleServerPortsN(consoleServerPortsN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Device(device).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).FrontPorts(frontPorts).FrontPortsIsnull(frontPortsIsnull).FrontPortsN(frontPortsN).HasConsolePorts(hasConsolePorts).HasConsoleServerPorts(hasConsoleServerPorts).HasEmptyModuleBays(hasEmptyModuleBays).HasFrontPorts(hasFrontPorts).HasInterfaces(hasInterfaces).HasModuleBays(hasModuleBays).HasModules(hasModules).HasPowerOutlets(hasPowerOutlets).HasPowerPorts(hasPowerPorts).HasRearPorts(hasRearPorts).Id(id).IdN(idN).Interfaces(interfaces).InterfacesIsnull(interfacesIsnull).InterfacesN(interfacesN).IsInstalled(isInstalled).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationIsnull(locationIsnull).LocationN(locationN).MacAddress(macAddress).MacAddressIc(macAddressIc).MacAddressIe(macAddressIe).MacAddressIew(macAddressIew).MacAddressIre(macAddressIre).MacAddressIsw(macAddressIsw).MacAddressN(macAddressN).MacAddressNic(macAddressNic).MacAddressNie(macAddressNie).MacAddressNiew(macAddressNiew).MacAddressNire(macAddressNire).MacAddressNisw(macAddressNisw).MacAddressNre(macAddressNre).MacAddressRe(macAddressRe).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ModuleBays(moduleBays).ModuleBaysIsnull(moduleBaysIsnull).ModuleBaysN(moduleBaysN).ModuleFamily(moduleFamily).ModuleFamilyIsnull(moduleFamilyIsnull).ModuleFamilyN(moduleFamilyN).ModuleType(moduleType).ModuleTypeN(moduleTypeN).Offset(offset).ParentModuleBay(parentModuleBay).ParentModuleBayIsnull(parentModuleBayIsnull).ParentModuleBayN(parentModuleBayN).PowerOutlets(powerOutlets).PowerOutletsIsnull(powerOutletsIsnull).PowerOutletsN(powerOutletsN).PowerPorts(powerPorts).PowerPortsIsnull(powerPortsIsnull).PowerPortsN(powerPortsN).Q(q).RearPorts(rearPorts).RearPortsIsnull(rearPortsIsnull).RearPortsN(rearPortsN).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Serial(serial).SerialIc(serialIc).SerialIe(serialIe).SerialIew(serialIew).SerialIre(serialIre).SerialIsnull(serialIsnull).SerialIsw(serialIsw).SerialN(serialN).SerialNic(serialNic).SerialNie(serialNie).SerialNiew(serialNiew).SerialNire(serialNire).SerialNisw(serialNisw).SerialNre(serialNre).SerialRe(serialRe).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleTypesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModulesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModuleTypesList`: PaginatedModuleTypeList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleTypesList`: %v\n", resp)
+ // response from `DcimModulesList`: PaginatedModuleList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModulesList`: %v\n", resp)
}
```
@@ -27462,34 +28732,36 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleTypesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModulesListRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **comments** | **[]string** | |
- **commentsIc** | **[]string** | |
- **commentsIe** | **[]string** | |
- **commentsIew** | **[]string** | |
- **commentsIre** | **[]string** | |
- **commentsIsw** | **[]string** | |
- **commentsN** | **[]string** | |
- **commentsNic** | **[]string** | |
- **commentsNie** | **[]string** | |
- **commentsNiew** | **[]string** | |
- **commentsNire** | **[]string** | |
- **commentsNisw** | **[]string** | |
- **commentsNre** | **[]string** | |
- **commentsRe** | **[]string** | |
- **consolePortTemplates** | **[]string** | |
- **consolePortTemplatesIsnull** | **bool** | Console port templates (name or ID) is null |
- **consolePortTemplatesN** | **[]string** | |
- **consoleServerPortTemplates** | **[]string** | |
- **consoleServerPortTemplatesIsnull** | **bool** | Console server port templates (name or ID) is null |
- **consoleServerPortTemplatesN** | **[]string** | |
+ **assetTag** | **[]string** | |
+ **assetTagIc** | **[]string** | |
+ **assetTagIe** | **[]string** | |
+ **assetTagIew** | **[]string** | |
+ **assetTagIre** | **[]string** | |
+ **assetTagIsnull** | **bool** | |
+ **assetTagIsw** | **[]string** | |
+ **assetTagN** | **[]string** | |
+ **assetTagNic** | **[]string** | |
+ **assetTagNie** | **[]string** | |
+ **assetTagNiew** | **[]string** | |
+ **assetTagNire** | **[]string** | |
+ **assetTagNisw** | **[]string** | |
+ **assetTagNre** | **[]string** | |
+ **assetTagRe** | **[]string** | |
+ **compatibleWithModuleBay** | **string** | |
+ **consolePorts** | **[]string** | |
+ **consolePortsIsnull** | **bool** | Console Ports (name or ID) is null |
+ **consolePortsN** | **[]string** | |
+ **consoleServerPorts** | **[]string** | |
+ **consoleServerPortsIsnull** | **bool** | Console Server Ports (name or ID) is null |
+ **consoleServerPortsN** | **[]string** | |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -27497,38 +28769,29 @@ Name | Type | Description | Notes
**createdLt** | [**[]time.Time**](time.Time.md) | |
**createdLte** | [**[]time.Time**](time.Time.md) | |
**createdN** | [**[]time.Time**](time.Time.md) | |
+ **device** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **frontPortTemplates** | **[]string** | |
- **frontPortTemplatesIsnull** | **bool** | Front port templates (name or ID) is null |
- **frontPortTemplatesN** | **[]string** | |
- **hasConsolePortTemplates** | **bool** | Has console port templates |
- **hasConsoleServerPortTemplates** | **bool** | Has console server port templates |
- **hasFrontPortTemplates** | **bool** | Has front port templates |
- **hasInterfaceTemplates** | **bool** | Has interface templates |
- **hasModuleBayTemplates** | **bool** | Has module bay templates |
- **hasModules** | **bool** | Has module instances |
- **hasPowerOutletTemplates** | **bool** | Has power outlet templates |
- **hasPowerPortTemplates** | **bool** | Has power port templates |
- **hasRearPortTemplates** | **bool** | Has rear port templates |
+ **frontPorts** | **[]string** | |
+ **frontPortsIsnull** | **bool** | Front Ports (name or ID) is null |
+ **frontPortsN** | **[]string** | |
+ **hasConsolePorts** | **bool** | Has console ports |
+ **hasConsoleServerPorts** | **bool** | Has console server ports |
+ **hasEmptyModuleBays** | **bool** | Has empty module bays |
+ **hasFrontPorts** | **bool** | Has front ports |
+ **hasInterfaces** | **bool** | Has interfaces |
+ **hasModuleBays** | **bool** | Has module bays |
+ **hasModules** | **bool** | Has modules |
+ **hasPowerOutlets** | **bool** | Has power outlets |
+ **hasPowerPorts** | **bool** | Has power ports |
+ **hasRearPorts** | **bool** | Has rear ports |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
- **interfaceTemplates** | **[]string** | |
- **interfaceTemplatesIsnull** | **bool** | Interface templates (name or ID) is null |
- **interfaceTemplatesN** | **[]string** | |
+ **interfaces** | **[]string** | |
+ **interfacesIsnull** | **bool** | Interfaces (name or ID) is null |
+ **interfacesN** | **[]string** | |
+ **isInstalled** | **bool** | Is installed in a module bay |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -27537,62 +28800,89 @@ Name | Type | Description | Notes
**lastUpdatedLte** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedN** | [**[]time.Time**](time.Time.md) | |
**limit** | **int32** | Number of results to return per page. |
+ **location** | **[]string** | |
+ **locationIsnull** | **bool** | Location (name or ID) is null |
+ **locationN** | **[]string** | |
+ **macAddress** | **[]string** | MAC address |
+ **macAddressIc** | **[]string** | MAC address contains |
+ **macAddressIe** | **[]string** | MAC address |
+ **macAddressIew** | **[]string** | MAC address ends with |
+ **macAddressIre** | **[]string** | MAC address matches regex |
+ **macAddressIsw** | **[]string** | MAC address starts with |
+ **macAddressN** | **[]string** | Exclude MAC address |
+ **macAddressNic** | **[]string** | Exclude MAC address contains |
+ **macAddressNie** | **[]string** | Exclude MAC address |
+ **macAddressNiew** | **[]string** | Exclude MAC address ends with |
+ **macAddressNire** | **[]string** | Exclude MAC address matches regex |
+ **macAddressNisw** | **[]string** | Exclude MAC address starts with |
+ **macAddressNre** | **[]string** | Exclude MAC address matches regex |
+ **macAddressRe** | **[]string** | MAC address matches regex |
**manufacturer** | **[]string** | |
**manufacturerN** | **[]string** | |
- **model** | **[]string** | |
- **modelIc** | **[]string** | |
- **modelIe** | **[]string** | |
- **modelIew** | **[]string** | |
- **modelIre** | **[]string** | |
- **modelIsw** | **[]string** | |
- **modelN** | **[]string** | |
- **modelNic** | **[]string** | |
- **modelNie** | **[]string** | |
- **modelNiew** | **[]string** | |
- **modelNire** | **[]string** | |
- **modelNisw** | **[]string** | |
- **modelNre** | **[]string** | |
- **modelRe** | **[]string** | |
- **moduleBayTemplates** | **[]string** | |
- **moduleBayTemplatesIsnull** | **bool** | |
- **moduleBayTemplatesN** | **[]string** | |
+ **moduleBays** | **[]string** | Module Bays |
+ **moduleBaysIsnull** | **bool** | Module Bays is null |
+ **moduleBaysN** | **[]string** | Exclude Module Bays |
+ **moduleFamily** | **[]string** | |
+ **moduleFamilyIsnull** | **bool** | Module family (name or ID) is null |
+ **moduleFamilyN** | **[]string** | |
+ **moduleType** | **[]string** | |
+ **moduleTypeN** | **[]string** | |
**offset** | **int32** | The initial index from which to return the results. |
- **partNumber** | **[]string** | |
- **partNumberIc** | **[]string** | |
- **partNumberIe** | **[]string** | |
- **partNumberIew** | **[]string** | |
- **partNumberIre** | **[]string** | |
- **partNumberIsw** | **[]string** | |
- **partNumberN** | **[]string** | |
- **partNumberNic** | **[]string** | |
- **partNumberNie** | **[]string** | |
- **partNumberNiew** | **[]string** | |
- **partNumberNire** | **[]string** | |
- **partNumberNisw** | **[]string** | |
- **partNumberNre** | **[]string** | |
- **partNumberRe** | **[]string** | |
- **powerOutletTemplates** | **[]string** | |
- **powerOutletTemplatesIsnull** | **bool** | Power outlet templates (name or ID) is null |
- **powerOutletTemplatesN** | **[]string** | |
- **powerPortTemplates** | **[]string** | |
- **powerPortTemplatesIsnull** | **bool** | Power port templates (name or ID) is null |
- **powerPortTemplatesN** | **[]string** | |
+ **parentModuleBay** | **[]string** | Parent Module Bay |
+ **parentModuleBayIsnull** | **bool** | Parent Module Bay is null |
+ **parentModuleBayN** | **[]string** | Exclude Parent Module Bay |
+ **powerOutlets** | **[]string** | |
+ **powerOutletsIsnull** | **bool** | Power Outlets (name or ID) is null |
+ **powerOutletsN** | **[]string** | |
+ **powerPorts** | **[]string** | |
+ **powerPortsIsnull** | **bool** | Power Ports (name or ID) is null |
+ **powerPortsN** | **[]string** | |
**q** | **string** | Search |
- **rearPortTemplates** | **[]string** | |
- **rearPortTemplatesIsnull** | **bool** | Rear port templates (name or ID) is null |
- **rearPortTemplatesN** | **[]string** | |
+ **rearPorts** | **[]string** | |
+ **rearPortsIsnull** | **bool** | Rear Ports (name or ID) is null |
+ **rearPortsN** | **[]string** | |
+ **role** | **[]string** | |
+ **roleIsnull** | **bool** | Role (name or ID) is null |
+ **roleN** | **[]string** | |
+ **serial** | **[]string** | |
+ **serialIc** | **[]string** | |
+ **serialIe** | **[]string** | |
+ **serialIew** | **[]string** | |
+ **serialIre** | **[]string** | |
+ **serialIsnull** | **bool** | |
+ **serialIsw** | **[]string** | |
+ **serialN** | **[]string** | |
+ **serialNic** | **[]string** | |
+ **serialNie** | **[]string** | |
+ **serialNiew** | **[]string** | |
+ **serialNire** | **[]string** | |
+ **serialNisw** | **[]string** | |
+ **serialNre** | **[]string** | |
+ **serialRe** | **[]string** | |
**sort** | **string** | Which field to use when ordering the results. |
+ **status** | **[]string** | |
+ **statusN** | **[]string** | |
**tags** | **[]string** | |
**tagsIsnull** | **bool** | |
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
+ **tenant** | **[]string** | |
+ **tenantIsnull** | **bool** | Tenant (name or ID) is null |
+ **tenantN** | **[]string** | |
+ **tenantGroup** | **[]string** | |
+ **tenantGroupIsnull** | **bool** | Tenant Group (name or ID) is null |
+ **tenantGroupN** | **[]string** | |
+ **tenantId** | **[]string** | Tenant (ID) (deprecated, use \"tenant\" filter instead) |
+ **tenantIdIsnull** | **bool** | Tenant (ID) (deprecated, use \"tenant\" filter instead) is null |
+ **tenantIdN** | **[]string** | Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead) |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PaginatedModuleTypeList**](PaginatedModuleTypeList.md)
+[**PaginatedModuleList**](PaginatedModuleList.md)
### Authorization
@@ -27608,9 +28898,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleTypesNotesCreate
+## DcimModulesNotesCreate
-> Note DcimModuleTypesNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+> Note DcimModulesNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
@@ -27629,19 +28919,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module type.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module.
noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModuleTypesNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModulesNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleTypesNotesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModulesNotesCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModuleTypesNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleTypesNotesCreate`: %v\n", resp)
+ // response from `DcimModulesNotesCreate`: Note
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModulesNotesCreate`: %v\n", resp)
}
```
@@ -27651,11 +28941,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this module type. |
+**id** | **string** | A UUID string identifying this module. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleTypesNotesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModulesNotesCreateRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -27682,9 +28972,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleTypesNotesList
+## DcimModulesNotesList
-> PaginatedNoteList DcimModuleTypesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList DcimModulesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -27703,21 +28993,22 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module type.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModuleTypesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModulesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleTypesNotesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModulesNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModuleTypesNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleTypesNotesList`: %v\n", resp)
+ // response from `DcimModulesNotesList`: PaginatedNoteList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModulesNotesList`: %v\n", resp)
}
```
@@ -27727,11 +29018,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this module type. |
+**id** | **string** | A UUID string identifying this module. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleTypesNotesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModulesNotesListRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -27741,6 +29032,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -27760,9 +29052,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleTypesPartialUpdate
+## DcimModulesPartialUpdate
-> ModuleType DcimModuleTypesPartialUpdate(ctx, id).Format(format).PatchedModuleTypeRequest(patchedModuleTypeRequest).Execute()
+> Module DcimModulesPartialUpdate(ctx, id).Format(format).PatchedModuleRequest(patchedModuleRequest).Execute()
@@ -27781,19 +29073,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module type.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- patchedModuleTypeRequest := *openapiclient.NewPatchedModuleTypeRequest() // PatchedModuleTypeRequest | (optional)
+ patchedModuleRequest := *openapiclient.NewPatchedModuleRequest() // PatchedModuleRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModuleTypesPartialUpdate(context.Background(), id).Format(format).PatchedModuleTypeRequest(patchedModuleTypeRequest).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModulesPartialUpdate(context.Background(), id).Format(format).PatchedModuleRequest(patchedModuleRequest).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleTypesPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModulesPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModuleTypesPartialUpdate`: ModuleType
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleTypesPartialUpdate`: %v\n", resp)
+ // response from `DcimModulesPartialUpdate`: Module
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModulesPartialUpdate`: %v\n", resp)
}
```
@@ -27803,22 +29095,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this module type. |
+**id** | **string** | A UUID string identifying this module. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleTypesPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModulesPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **patchedModuleTypeRequest** | [**PatchedModuleTypeRequest**](PatchedModuleTypeRequest.md) | |
+ **patchedModuleRequest** | [**PatchedModuleRequest**](PatchedModuleRequest.md) | |
### Return type
-[**ModuleType**](ModuleType.md)
+[**Module**](Module.md)
### Authorization
@@ -27834,9 +29126,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleTypesRetrieve
+## DcimModulesRetrieve
-> ModuleType DcimModuleTypesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> Module DcimModulesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -27855,19 +29147,20 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module type.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModuleTypesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModulesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleTypesRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModulesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModuleTypesRetrieve`: ModuleType
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleTypesRetrieve`: %v\n", resp)
+ // response from `DcimModulesRetrieve`: Module
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModulesRetrieve`: %v\n", resp)
}
```
@@ -27877,11 +29170,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this module type. |
+**id** | **string** | A UUID string identifying this module. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleTypesRetrieveRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModulesRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -27889,10 +29182,11 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**ModuleType**](ModuleType.md)
+[**Module**](Module.md)
### Authorization
@@ -27908,9 +29202,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModuleTypesUpdate
+## DcimModulesUpdate
-> ModuleType DcimModuleTypesUpdate(ctx, id).ModuleTypeRequest(moduleTypeRequest).Format(format).Execute()
+> Module DcimModulesUpdate(ctx, id).ModuleRequest(moduleRequest).Format(format).Execute()
@@ -27929,19 +29223,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module type.
- moduleTypeRequest := *openapiclient.NewModuleTypeRequest("Model_example", *openapiclient.NewBulkWritableCableRequestStatus()) // ModuleTypeRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module.
+ moduleRequest := *openapiclient.NewModuleRequest(*openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // ModuleRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModuleTypesUpdate(context.Background(), id).ModuleTypeRequest(moduleTypeRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimModulesUpdate(context.Background(), id).ModuleRequest(moduleRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModuleTypesUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModulesUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModuleTypesUpdate`: ModuleType
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModuleTypesUpdate`: %v\n", resp)
+ // response from `DcimModulesUpdate`: Module
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModulesUpdate`: %v\n", resp)
}
```
@@ -27951,22 +29245,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this module type. |
+**id** | **string** | A UUID string identifying this module. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModuleTypesUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimModulesUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **moduleTypeRequest** | [**ModuleTypeRequest**](ModuleTypeRequest.md) | |
+ **moduleRequest** | [**ModuleRequest**](ModuleRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**ModuleType**](ModuleType.md)
+[**Module**](Module.md)
### Authorization
@@ -27982,9 +29276,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModulesBulkDestroy
+## DcimPlatformsBulkDestroy
-> DcimModulesBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+> DcimPlatformsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
@@ -28008,9 +29302,9 @@ func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimModulesBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimPlatformsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModulesBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPlatformsBulkDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -28022,7 +29316,7 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModulesBulkDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPlatformsBulkDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -28048,9 +29342,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModulesBulkPartialUpdate
+## DcimPlatformsBulkPartialUpdate
-> []Module DcimModulesBulkPartialUpdate(ctx).PatchedBulkWritableModuleRequest(patchedBulkWritableModuleRequest).Format(format).Execute()
+> []Platform DcimPlatformsBulkPartialUpdate(ctx).PatchedBulkWritablePlatformRequest(patchedBulkWritablePlatformRequest).Format(format).Execute()
@@ -28069,18 +29363,18 @@ import (
)
func main() {
- patchedBulkWritableModuleRequest := []openapiclient.PatchedBulkWritableModuleRequest{*openapiclient.NewPatchedBulkWritableModuleRequest("Id_example")} // []PatchedBulkWritableModuleRequest |
+ patchedBulkWritablePlatformRequest := []openapiclient.PatchedBulkWritablePlatformRequest{*openapiclient.NewPatchedBulkWritablePlatformRequest("Id_example")} // []PatchedBulkWritablePlatformRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModulesBulkPartialUpdate(context.Background()).PatchedBulkWritableModuleRequest(patchedBulkWritableModuleRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPlatformsBulkPartialUpdate(context.Background()).PatchedBulkWritablePlatformRequest(patchedBulkWritablePlatformRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModulesBulkPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPlatformsBulkPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModulesBulkPartialUpdate`: []Module
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModulesBulkPartialUpdate`: %v\n", resp)
+ // response from `DcimPlatformsBulkPartialUpdate`: []Platform
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPlatformsBulkPartialUpdate`: %v\n", resp)
}
```
@@ -28090,17 +29384,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModulesBulkPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPlatformsBulkPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **patchedBulkWritableModuleRequest** | [**[]PatchedBulkWritableModuleRequest**](PatchedBulkWritableModuleRequest.md) | |
+ **patchedBulkWritablePlatformRequest** | [**[]PatchedBulkWritablePlatformRequest**](PatchedBulkWritablePlatformRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]Module**](Module.md)
+[**[]Platform**](Platform.md)
### Authorization
@@ -28116,9 +29410,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModulesBulkUpdate
+## DcimPlatformsBulkUpdate
-> []Module DcimModulesBulkUpdate(ctx).BulkWritableModuleRequest(bulkWritableModuleRequest).Format(format).Execute()
+> []Platform DcimPlatformsBulkUpdate(ctx).BulkWritablePlatformRequest(bulkWritablePlatformRequest).Format(format).Execute()
@@ -28137,18 +29431,18 @@ import (
)
func main() {
- bulkWritableModuleRequest := []openapiclient.BulkWritableModuleRequest{*openapiclient.NewBulkWritableModuleRequest("Id_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritableModuleRequest |
+ bulkWritablePlatformRequest := []openapiclient.BulkWritablePlatformRequest{*openapiclient.NewBulkWritablePlatformRequest("Id_example", "Name_example")} // []BulkWritablePlatformRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModulesBulkUpdate(context.Background()).BulkWritableModuleRequest(bulkWritableModuleRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPlatformsBulkUpdate(context.Background()).BulkWritablePlatformRequest(bulkWritablePlatformRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModulesBulkUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPlatformsBulkUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModulesBulkUpdate`: []Module
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModulesBulkUpdate`: %v\n", resp)
+ // response from `DcimPlatformsBulkUpdate`: []Platform
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPlatformsBulkUpdate`: %v\n", resp)
}
```
@@ -28158,17 +29452,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModulesBulkUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPlatformsBulkUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **bulkWritableModuleRequest** | [**[]BulkWritableModuleRequest**](BulkWritableModuleRequest.md) | |
+ **bulkWritablePlatformRequest** | [**[]BulkWritablePlatformRequest**](BulkWritablePlatformRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]Module**](Module.md)
+[**[]Platform**](Platform.md)
### Authorization
@@ -28184,9 +29478,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModulesCreate
+## DcimPlatformsCreate
-> Module DcimModulesCreate(ctx).ModuleRequest(moduleRequest).Format(format).Execute()
+> Platform DcimPlatformsCreate(ctx).PlatformRequest(platformRequest).Format(format).Execute()
@@ -28205,18 +29499,18 @@ import (
)
func main() {
- moduleRequest := *openapiclient.NewModuleRequest(*openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // ModuleRequest |
+ platformRequest := *openapiclient.NewPlatformRequest("Name_example") // PlatformRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModulesCreate(context.Background()).ModuleRequest(moduleRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPlatformsCreate(context.Background()).PlatformRequest(platformRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModulesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPlatformsCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModulesCreate`: Module
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModulesCreate`: %v\n", resp)
+ // response from `DcimPlatformsCreate`: Platform
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPlatformsCreate`: %v\n", resp)
}
```
@@ -28226,17 +29520,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModulesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPlatformsCreateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **moduleRequest** | [**ModuleRequest**](ModuleRequest.md) | |
+ **platformRequest** | [**PlatformRequest**](PlatformRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**Module**](Module.md)
+[**Platform**](Platform.md)
### Authorization
@@ -28252,9 +29546,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModulesDestroy
+## DcimPlatformsDestroy
-> DcimModulesDestroy(ctx, id).Format(format).Execute()
+> DcimPlatformsDestroy(ctx, id).Format(format).Execute()
@@ -28273,14 +29567,14 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this platform.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimModulesDestroy(context.Background(), id).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimPlatformsDestroy(context.Background(), id).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModulesDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPlatformsDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -28292,11 +29586,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this module. |
+**id** | **string** | A UUID string identifying this platform. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModulesDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPlatformsDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -28322,9 +29616,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModulesList
+## DcimPlatformsList
-> PaginatedModuleList DcimModulesList(ctx).AssetTag(assetTag).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIre(assetTagIre).AssetTagIsnull(assetTagIsnull).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNire(assetTagNire).AssetTagNisw(assetTagNisw).AssetTagNre(assetTagNre).AssetTagRe(assetTagRe).ConsolePorts(consolePorts).ConsolePortsIsnull(consolePortsIsnull).ConsolePortsN(consolePortsN).ConsoleServerPorts(consoleServerPorts).ConsoleServerPortsIsnull(consoleServerPortsIsnull).ConsoleServerPortsN(consoleServerPortsN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Device(device).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).FrontPorts(frontPorts).FrontPortsIsnull(frontPortsIsnull).FrontPortsN(frontPortsN).HasConsolePorts(hasConsolePorts).HasConsoleServerPorts(hasConsoleServerPorts).HasEmptyModuleBays(hasEmptyModuleBays).HasFrontPorts(hasFrontPorts).HasInterfaces(hasInterfaces).HasModuleBays(hasModuleBays).HasModules(hasModules).HasPowerOutlets(hasPowerOutlets).HasPowerPorts(hasPowerPorts).HasRearPorts(hasRearPorts).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Interfaces(interfaces).InterfacesIsnull(interfacesIsnull).InterfacesN(interfacesN).IsInstalled(isInstalled).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationIsnull(locationIsnull).LocationN(locationN).MacAddress(macAddress).MacAddressIc(macAddressIc).MacAddressIe(macAddressIe).MacAddressIew(macAddressIew).MacAddressIre(macAddressIre).MacAddressIsw(macAddressIsw).MacAddressN(macAddressN).MacAddressNic(macAddressNic).MacAddressNie(macAddressNie).MacAddressNiew(macAddressNiew).MacAddressNire(macAddressNire).MacAddressNisw(macAddressNisw).MacAddressNre(macAddressNre).MacAddressRe(macAddressRe).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ModuleBays(moduleBays).ModuleBaysIsnull(moduleBaysIsnull).ModuleBaysN(moduleBaysN).ModuleType(moduleType).ModuleTypeN(moduleTypeN).Offset(offset).ParentModuleBay(parentModuleBay).ParentModuleBayIsnull(parentModuleBayIsnull).ParentModuleBayN(parentModuleBayN).PowerOutlets(powerOutlets).PowerOutletsIsnull(powerOutletsIsnull).PowerOutletsN(powerOutletsN).PowerPorts(powerPorts).PowerPortsIsnull(powerPortsIsnull).PowerPortsN(powerPortsN).Q(q).RearPorts(rearPorts).RearPortsIsnull(rearPortsIsnull).RearPortsN(rearPortsN).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Serial(serial).SerialIc(serialIc).SerialIe(serialIe).SerialIew(serialIew).SerialIre(serialIre).SerialIsnull(serialIsnull).SerialIsw(serialIsw).SerialN(serialN).SerialNic(serialNic).SerialNie(serialNie).SerialNiew(serialNiew).SerialNire(serialNire).SerialNisw(serialNisw).SerialNre(serialNre).SerialRe(serialRe).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Depth(depth).Execute()
+> PaginatedPlatformList DcimPlatformsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Devices(devices).DevicesIsnull(devicesIsnull).DevicesN(devicesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDevices(hasDevices).HasVirtualMachines(hasVirtualMachines).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Manufacturer(manufacturer).ManufacturerIsnull(manufacturerIsnull).ManufacturerN(manufacturerN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).NapalmArgs(napalmArgs).NapalmDriver(napalmDriver).NapalmDriverIc(napalmDriverIc).NapalmDriverIe(napalmDriverIe).NapalmDriverIew(napalmDriverIew).NapalmDriverIre(napalmDriverIre).NapalmDriverIsw(napalmDriverIsw).NapalmDriverN(napalmDriverN).NapalmDriverNic(napalmDriverNic).NapalmDriverNie(napalmDriverNie).NapalmDriverNiew(napalmDriverNiew).NapalmDriverNire(napalmDriverNire).NapalmDriverNisw(napalmDriverNisw).NapalmDriverNre(napalmDriverNre).NapalmDriverRe(napalmDriverRe).NetworkDriver(networkDriver).NetworkDriverIc(networkDriverIc).NetworkDriverIe(networkDriverIe).NetworkDriverIew(networkDriverIew).NetworkDriverIre(networkDriverIre).NetworkDriverIsw(networkDriverIsw).NetworkDriverN(networkDriverN).NetworkDriverNic(networkDriverNic).NetworkDriverNie(networkDriverNie).NetworkDriverNiew(networkDriverNiew).NetworkDriverNire(networkDriverNire).NetworkDriverNisw(networkDriverNisw).NetworkDriverNre(networkDriverNre).NetworkDriverRe(networkDriverRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).VirtualMachines(virtualMachines).VirtualMachinesIsnull(virtualMachinesIsnull).VirtualMachinesN(virtualMachinesN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -28344,30 +29638,9 @@ import (
)
func main() {
- assetTag := []string{"Inner_example"} // []string | (optional)
- assetTagIc := []string{"Inner_example"} // []string | (optional)
- assetTagIe := []string{"Inner_example"} // []string | (optional)
- assetTagIew := []string{"Inner_example"} // []string | (optional)
- assetTagIre := []string{"Inner_example"} // []string | (optional)
- assetTagIsnull := true // bool | (optional)
- assetTagIsw := []string{"Inner_example"} // []string | (optional)
- assetTagN := []string{"Inner_example"} // []string | (optional)
- assetTagNic := []string{"Inner_example"} // []string | (optional)
- assetTagNie := []string{"Inner_example"} // []string | (optional)
- assetTagNiew := []string{"Inner_example"} // []string | (optional)
- assetTagNire := []string{"Inner_example"} // []string | (optional)
- assetTagNisw := []string{"Inner_example"} // []string | (optional)
- assetTagNre := []string{"Inner_example"} // []string | (optional)
- assetTagRe := []string{"Inner_example"} // []string | (optional)
- consolePorts := []string{"Inner_example"} // []string | (optional)
- consolePortsIsnull := true // bool | Console Ports (name or ID) is null (optional)
- consolePortsN := []string{"Inner_example"} // []string | (optional)
- consoleServerPorts := []string{"Inner_example"} // []string | (optional)
- consoleServerPortsIsnull := true // bool | Console Server Ports (name or ID) is null (optional)
- consoleServerPortsN := []string{"Inner_example"} // []string | (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -28375,41 +29648,30 @@ func main() {
createdLt := []time.Time{time.Now()} // []time.Time | (optional)
createdLte := []time.Time{time.Now()} // []time.Time | (optional)
createdN := []time.Time{time.Now()} // []time.Time | (optional)
- device := []string{"Inner_example"} // []string | (optional)
- dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- frontPorts := []string{"Inner_example"} // []string | (optional)
- frontPortsIsnull := true // bool | Front Ports (name or ID) is null (optional)
- frontPortsN := []string{"Inner_example"} // []string | (optional)
- hasConsolePorts := true // bool | Has console ports (optional)
- hasConsoleServerPorts := true // bool | Has console server ports (optional)
- hasEmptyModuleBays := true // bool | Has empty module bays (optional)
- hasFrontPorts := true // bool | Has front ports (optional)
- hasInterfaces := true // bool | Has interfaces (optional)
- hasModuleBays := true // bool | Has module bays (optional)
- hasModules := true // bool | Has modules (optional)
- hasPowerOutlets := true // bool | Has power outlets (optional)
- hasPowerPorts := true // bool | Has power ports (optional)
- hasRearPorts := true // bool | Has rear ports (optional)
+ description := []string{"Inner_example"} // []string | (optional)
+ descriptionIc := []string{"Inner_example"} // []string | (optional)
+ descriptionIe := []string{"Inner_example"} // []string | (optional)
+ descriptionIew := []string{"Inner_example"} // []string | (optional)
+ descriptionIre := []string{"Inner_example"} // []string | (optional)
+ descriptionIsw := []string{"Inner_example"} // []string | (optional)
+ descriptionN := []string{"Inner_example"} // []string | (optional)
+ descriptionNic := []string{"Inner_example"} // []string | (optional)
+ descriptionNie := []string{"Inner_example"} // []string | (optional)
+ descriptionNiew := []string{"Inner_example"} // []string | (optional)
+ descriptionNire := []string{"Inner_example"} // []string | (optional)
+ descriptionNisw := []string{"Inner_example"} // []string | (optional)
+ descriptionNre := []string{"Inner_example"} // []string | (optional)
+ descriptionRe := []string{"Inner_example"} // []string | (optional)
+ devices := []string{"Inner_example"} // []string | (optional)
+ devicesIsnull := true // bool | (optional)
+ devicesN := []string{"Inner_example"} // []string | (optional)
+ dynamicGroups := []string{"Inner_example"} // []string | (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ hasDevices := true // bool | Has devices (optional)
+ hasVirtualMachines := true // bool | Has virtual machines (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
- interfaces := []string{"Inner_example"} // []string | (optional)
- interfacesIsnull := true // bool | Interfaces (name or ID) is null (optional)
- interfacesN := []string{"Inner_example"} // []string | (optional)
- isInstalled := true // bool | Is installed in a module bay (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -28418,91 +29680,73 @@ func main() {
lastUpdatedLte := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedN := []time.Time{time.Now()} // []time.Time | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
- location := []string{"Inner_example"} // []string | (optional)
- locationIsnull := true // bool | Location (name or ID) is null (optional)
- locationN := []string{"Inner_example"} // []string | (optional)
- macAddress := []string{"Inner_example"} // []string | MAC address (optional)
- macAddressIc := []string{"Inner_example"} // []string | MAC address contains (optional)
- macAddressIe := []string{"Inner_example"} // []string | MAC address (optional)
- macAddressIew := []string{"Inner_example"} // []string | MAC address ends with (optional)
- macAddressIre := []string{"Inner_example"} // []string | MAC address matches regex (optional)
- macAddressIsw := []string{"Inner_example"} // []string | MAC address starts with (optional)
- macAddressN := []string{"Inner_example"} // []string | Exclude MAC address (optional)
- macAddressNic := []string{"Inner_example"} // []string | Exclude MAC address contains (optional)
- macAddressNie := []string{"Inner_example"} // []string | Exclude MAC address (optional)
- macAddressNiew := []string{"Inner_example"} // []string | Exclude MAC address ends with (optional)
- macAddressNire := []string{"Inner_example"} // []string | Exclude MAC address matches regex (optional)
- macAddressNisw := []string{"Inner_example"} // []string | Exclude MAC address starts with (optional)
- macAddressNre := []string{"Inner_example"} // []string | Exclude MAC address matches regex (optional)
- macAddressRe := []string{"Inner_example"} // []string | MAC address matches regex (optional)
manufacturer := []string{"Inner_example"} // []string | (optional)
+ manufacturerIsnull := true // bool | Manufacturer (name or ID) is null (optional)
manufacturerN := []string{"Inner_example"} // []string | (optional)
- moduleBays := []string{"Inner_example"} // []string | Module Bays (optional)
- moduleBaysIsnull := true // bool | Module Bays is null (optional)
- moduleBaysN := []string{"Inner_example"} // []string | Exclude Module Bays (optional)
- moduleType := []string{"Inner_example"} // []string | (optional)
- moduleTypeN := []string{"Inner_example"} // []string | (optional)
+ name := []string{"Inner_example"} // []string | (optional)
+ nameIc := []string{"Inner_example"} // []string | (optional)
+ nameIe := []string{"Inner_example"} // []string | (optional)
+ nameIew := []string{"Inner_example"} // []string | (optional)
+ nameIre := []string{"Inner_example"} // []string | (optional)
+ nameIsw := []string{"Inner_example"} // []string | (optional)
+ nameN := []string{"Inner_example"} // []string | (optional)
+ nameNic := []string{"Inner_example"} // []string | (optional)
+ nameNie := []string{"Inner_example"} // []string | (optional)
+ nameNiew := []string{"Inner_example"} // []string | (optional)
+ nameNire := []string{"Inner_example"} // []string | (optional)
+ nameNisw := []string{"Inner_example"} // []string | (optional)
+ nameNre := []string{"Inner_example"} // []string | (optional)
+ nameRe := []string{"Inner_example"} // []string | (optional)
+ napalmArgs := []string{"Inner_example"} // []string | (optional)
+ napalmDriver := []string{"Inner_example"} // []string | (optional)
+ napalmDriverIc := []string{"Inner_example"} // []string | (optional)
+ napalmDriverIe := []string{"Inner_example"} // []string | (optional)
+ napalmDriverIew := []string{"Inner_example"} // []string | (optional)
+ napalmDriverIre := []string{"Inner_example"} // []string | (optional)
+ napalmDriverIsw := []string{"Inner_example"} // []string | (optional)
+ napalmDriverN := []string{"Inner_example"} // []string | (optional)
+ napalmDriverNic := []string{"Inner_example"} // []string | (optional)
+ napalmDriverNie := []string{"Inner_example"} // []string | (optional)
+ napalmDriverNiew := []string{"Inner_example"} // []string | (optional)
+ napalmDriverNire := []string{"Inner_example"} // []string | (optional)
+ napalmDriverNisw := []string{"Inner_example"} // []string | (optional)
+ napalmDriverNre := []string{"Inner_example"} // []string | (optional)
+ napalmDriverRe := []string{"Inner_example"} // []string | (optional)
+ networkDriver := []string{"Inner_example"} // []string | (optional)
+ networkDriverIc := []string{"Inner_example"} // []string | (optional)
+ networkDriverIe := []string{"Inner_example"} // []string | (optional)
+ networkDriverIew := []string{"Inner_example"} // []string | (optional)
+ networkDriverIre := []string{"Inner_example"} // []string | (optional)
+ networkDriverIsw := []string{"Inner_example"} // []string | (optional)
+ networkDriverN := []string{"Inner_example"} // []string | (optional)
+ networkDriverNic := []string{"Inner_example"} // []string | (optional)
+ networkDriverNie := []string{"Inner_example"} // []string | (optional)
+ networkDriverNiew := []string{"Inner_example"} // []string | (optional)
+ networkDriverNire := []string{"Inner_example"} // []string | (optional)
+ networkDriverNisw := []string{"Inner_example"} // []string | (optional)
+ networkDriverNre := []string{"Inner_example"} // []string | (optional)
+ networkDriverRe := []string{"Inner_example"} // []string | (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- parentModuleBay := []string{"Inner_example"} // []string | Parent Module Bay (optional)
- parentModuleBayIsnull := true // bool | Parent Module Bay is null (optional)
- parentModuleBayN := []string{"Inner_example"} // []string | Exclude Parent Module Bay (optional)
- powerOutlets := []string{"Inner_example"} // []string | (optional)
- powerOutletsIsnull := true // bool | Power Outlets (name or ID) is null (optional)
- powerOutletsN := []string{"Inner_example"} // []string | (optional)
- powerPorts := []string{"Inner_example"} // []string | (optional)
- powerPortsIsnull := true // bool | Power Ports (name or ID) is null (optional)
- powerPortsN := []string{"Inner_example"} // []string | (optional)
q := "q_example" // string | Search (optional)
- rearPorts := []string{"Inner_example"} // []string | (optional)
- rearPortsIsnull := true // bool | Rear Ports (name or ID) is null (optional)
- rearPortsN := []string{"Inner_example"} // []string | (optional)
- role := []string{"Inner_example"} // []string | (optional)
- roleIsnull := true // bool | Role (name or ID) is null (optional)
- roleN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Role (name or ID) (optional)
- serial := []string{"Inner_example"} // []string | (optional)
- serialIc := []string{"Inner_example"} // []string | (optional)
- serialIe := []string{"Inner_example"} // []string | (optional)
- serialIew := []string{"Inner_example"} // []string | (optional)
- serialIre := []string{"Inner_example"} // []string | (optional)
- serialIsnull := true // bool | (optional)
- serialIsw := []string{"Inner_example"} // []string | (optional)
- serialN := []string{"Inner_example"} // []string | (optional)
- serialNic := []string{"Inner_example"} // []string | (optional)
- serialNie := []string{"Inner_example"} // []string | (optional)
- serialNiew := []string{"Inner_example"} // []string | (optional)
- serialNire := []string{"Inner_example"} // []string | (optional)
- serialNisw := []string{"Inner_example"} // []string | (optional)
- serialNre := []string{"Inner_example"} // []string | (optional)
- serialRe := []string{"Inner_example"} // []string | (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
- status := []string{"Inner_example"} // []string | (optional)
- statusN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Status (name or ID) (optional)
- tags := []string{"Inner_example"} // []string | (optional)
- tagsIsnull := true // bool | (optional)
- tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
- tenant := []string{"Inner_example"} // []string | (optional)
- tenantIsnull := true // bool | Tenant (name or ID) is null (optional)
- tenantN := []string{"Inner_example"} // []string | (optional)
- tenantGroup := []string{"Inner_example"} // []string | (optional)
- tenantGroupIsnull := true // bool | Tenant Group (name or ID) is null (optional)
- tenantGroupN := []string{"Inner_example"} // []string | (optional)
- tenantId := []*string{"Inner_example"} // []*string | Tenant (ID) (deprecated, use \"tenant\" filter instead) (optional)
- tenantIdIsnull := true // bool | Tenant (ID) (deprecated, use \"tenant\" filter instead) is null (optional)
- tenantIdN := []*string{"Inner_example"} // []*string | Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
+ virtualMachines := []string{"Inner_example"} // []string | (optional)
+ virtualMachinesIsnull := true // bool | (optional)
+ virtualMachinesN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModulesList(context.Background()).AssetTag(assetTag).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIre(assetTagIre).AssetTagIsnull(assetTagIsnull).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNire(assetTagNire).AssetTagNisw(assetTagNisw).AssetTagNre(assetTagNre).AssetTagRe(assetTagRe).ConsolePorts(consolePorts).ConsolePortsIsnull(consolePortsIsnull).ConsolePortsN(consolePortsN).ConsoleServerPorts(consoleServerPorts).ConsoleServerPortsIsnull(consoleServerPortsIsnull).ConsoleServerPortsN(consoleServerPortsN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Device(device).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).FrontPorts(frontPorts).FrontPortsIsnull(frontPortsIsnull).FrontPortsN(frontPortsN).HasConsolePorts(hasConsolePorts).HasConsoleServerPorts(hasConsoleServerPorts).HasEmptyModuleBays(hasEmptyModuleBays).HasFrontPorts(hasFrontPorts).HasInterfaces(hasInterfaces).HasModuleBays(hasModuleBays).HasModules(hasModules).HasPowerOutlets(hasPowerOutlets).HasPowerPorts(hasPowerPorts).HasRearPorts(hasRearPorts).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Interfaces(interfaces).InterfacesIsnull(interfacesIsnull).InterfacesN(interfacesN).IsInstalled(isInstalled).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationIsnull(locationIsnull).LocationN(locationN).MacAddress(macAddress).MacAddressIc(macAddressIc).MacAddressIe(macAddressIe).MacAddressIew(macAddressIew).MacAddressIre(macAddressIre).MacAddressIsw(macAddressIsw).MacAddressN(macAddressN).MacAddressNic(macAddressNic).MacAddressNie(macAddressNie).MacAddressNiew(macAddressNiew).MacAddressNire(macAddressNire).MacAddressNisw(macAddressNisw).MacAddressNre(macAddressNre).MacAddressRe(macAddressRe).Manufacturer(manufacturer).ManufacturerN(manufacturerN).ModuleBays(moduleBays).ModuleBaysIsnull(moduleBaysIsnull).ModuleBaysN(moduleBaysN).ModuleType(moduleType).ModuleTypeN(moduleTypeN).Offset(offset).ParentModuleBay(parentModuleBay).ParentModuleBayIsnull(parentModuleBayIsnull).ParentModuleBayN(parentModuleBayN).PowerOutlets(powerOutlets).PowerOutletsIsnull(powerOutletsIsnull).PowerOutletsN(powerOutletsN).PowerPorts(powerPorts).PowerPortsIsnull(powerPortsIsnull).PowerPortsN(powerPortsN).Q(q).RearPorts(rearPorts).RearPortsIsnull(rearPortsIsnull).RearPortsN(rearPortsN).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Serial(serial).SerialIc(serialIc).SerialIe(serialIe).SerialIew(serialIew).SerialIre(serialIre).SerialIsnull(serialIsnull).SerialIsw(serialIsw).SerialN(serialN).SerialNic(serialNic).SerialNie(serialNie).SerialNiew(serialNiew).SerialNire(serialNire).SerialNisw(serialNisw).SerialNre(serialNre).SerialRe(serialRe).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPlatformsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Devices(devices).DevicesIsnull(devicesIsnull).DevicesN(devicesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDevices(hasDevices).HasVirtualMachines(hasVirtualMachines).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Manufacturer(manufacturer).ManufacturerIsnull(manufacturerIsnull).ManufacturerN(manufacturerN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).NapalmArgs(napalmArgs).NapalmDriver(napalmDriver).NapalmDriverIc(napalmDriverIc).NapalmDriverIe(napalmDriverIe).NapalmDriverIew(napalmDriverIew).NapalmDriverIre(napalmDriverIre).NapalmDriverIsw(napalmDriverIsw).NapalmDriverN(napalmDriverN).NapalmDriverNic(napalmDriverNic).NapalmDriverNie(napalmDriverNie).NapalmDriverNiew(napalmDriverNiew).NapalmDriverNire(napalmDriverNire).NapalmDriverNisw(napalmDriverNisw).NapalmDriverNre(napalmDriverNre).NapalmDriverRe(napalmDriverRe).NetworkDriver(networkDriver).NetworkDriverIc(networkDriverIc).NetworkDriverIe(networkDriverIe).NetworkDriverIew(networkDriverIew).NetworkDriverIre(networkDriverIre).NetworkDriverIsw(networkDriverIsw).NetworkDriverN(networkDriverN).NetworkDriverNic(networkDriverNic).NetworkDriverNie(networkDriverNie).NetworkDriverNiew(networkDriverNiew).NetworkDriverNire(networkDriverNire).NetworkDriverNisw(networkDriverNisw).NetworkDriverNre(networkDriverNre).NetworkDriverRe(networkDriverRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).VirtualMachines(virtualMachines).VirtualMachinesIsnull(virtualMachinesIsnull).VirtualMachinesN(virtualMachinesN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModulesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPlatformsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModulesList`: PaginatedModuleList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModulesList`: %v\n", resp)
+ // response from `DcimPlatformsList`: PaginatedPlatformList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPlatformsList`: %v\n", resp)
}
```
@@ -28512,35 +29756,14 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModulesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPlatformsListRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **assetTag** | **[]string** | |
- **assetTagIc** | **[]string** | |
- **assetTagIe** | **[]string** | |
- **assetTagIew** | **[]string** | |
- **assetTagIre** | **[]string** | |
- **assetTagIsnull** | **bool** | |
- **assetTagIsw** | **[]string** | |
- **assetTagN** | **[]string** | |
- **assetTagNic** | **[]string** | |
- **assetTagNie** | **[]string** | |
- **assetTagNiew** | **[]string** | |
- **assetTagNire** | **[]string** | |
- **assetTagNisw** | **[]string** | |
- **assetTagNre** | **[]string** | |
- **assetTagRe** | **[]string** | |
- **consolePorts** | **[]string** | |
- **consolePortsIsnull** | **bool** | Console Ports (name or ID) is null |
- **consolePortsN** | **[]string** | |
- **consoleServerPorts** | **[]string** | |
- **consoleServerPortsIsnull** | **bool** | Console Server Ports (name or ID) is null |
- **consoleServerPortsN** | **[]string** | |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -28548,41 +29771,30 @@ Name | Type | Description | Notes
**createdLt** | [**[]time.Time**](time.Time.md) | |
**createdLte** | [**[]time.Time**](time.Time.md) | |
**createdN** | [**[]time.Time**](time.Time.md) | |
- **device** | **[]string** | |
+ **description** | **[]string** | |
+ **descriptionIc** | **[]string** | |
+ **descriptionIe** | **[]string** | |
+ **descriptionIew** | **[]string** | |
+ **descriptionIre** | **[]string** | |
+ **descriptionIsw** | **[]string** | |
+ **descriptionN** | **[]string** | |
+ **descriptionNic** | **[]string** | |
+ **descriptionNie** | **[]string** | |
+ **descriptionNiew** | **[]string** | |
+ **descriptionNire** | **[]string** | |
+ **descriptionNisw** | **[]string** | |
+ **descriptionNre** | **[]string** | |
+ **descriptionRe** | **[]string** | |
+ **devices** | **[]string** | |
+ **devicesIsnull** | **bool** | |
+ **devicesN** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **frontPorts** | **[]string** | |
- **frontPortsIsnull** | **bool** | Front Ports (name or ID) is null |
- **frontPortsN** | **[]string** | |
- **hasConsolePorts** | **bool** | Has console ports |
- **hasConsoleServerPorts** | **bool** | Has console server ports |
- **hasEmptyModuleBays** | **bool** | Has empty module bays |
- **hasFrontPorts** | **bool** | Has front ports |
- **hasInterfaces** | **bool** | Has interfaces |
- **hasModuleBays** | **bool** | Has module bays |
- **hasModules** | **bool** | Has modules |
- **hasPowerOutlets** | **bool** | Has power outlets |
- **hasPowerPorts** | **bool** | Has power ports |
- **hasRearPorts** | **bool** | Has rear ports |
+ **hasDevices** | **bool** | Has devices |
+ **hasVirtualMachines** | **bool** | Has virtual machines |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
- **interfaces** | **[]string** | |
- **interfacesIsnull** | **bool** | Interfaces (name or ID) is null |
- **interfacesN** | **[]string** | |
- **isInstalled** | **bool** | Is installed in a module bay |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -28591,85 +29803,67 @@ Name | Type | Description | Notes
**lastUpdatedLte** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedN** | [**[]time.Time**](time.Time.md) | |
**limit** | **int32** | Number of results to return per page. |
- **location** | **[]string** | |
- **locationIsnull** | **bool** | Location (name or ID) is null |
- **locationN** | **[]string** | |
- **macAddress** | **[]string** | MAC address |
- **macAddressIc** | **[]string** | MAC address contains |
- **macAddressIe** | **[]string** | MAC address |
- **macAddressIew** | **[]string** | MAC address ends with |
- **macAddressIre** | **[]string** | MAC address matches regex |
- **macAddressIsw** | **[]string** | MAC address starts with |
- **macAddressN** | **[]string** | Exclude MAC address |
- **macAddressNic** | **[]string** | Exclude MAC address contains |
- **macAddressNie** | **[]string** | Exclude MAC address |
- **macAddressNiew** | **[]string** | Exclude MAC address ends with |
- **macAddressNire** | **[]string** | Exclude MAC address matches regex |
- **macAddressNisw** | **[]string** | Exclude MAC address starts with |
- **macAddressNre** | **[]string** | Exclude MAC address matches regex |
- **macAddressRe** | **[]string** | MAC address matches regex |
**manufacturer** | **[]string** | |
+ **manufacturerIsnull** | **bool** | Manufacturer (name or ID) is null |
**manufacturerN** | **[]string** | |
- **moduleBays** | **[]string** | Module Bays |
- **moduleBaysIsnull** | **bool** | Module Bays is null |
- **moduleBaysN** | **[]string** | Exclude Module Bays |
- **moduleType** | **[]string** | |
- **moduleTypeN** | **[]string** | |
+ **name** | **[]string** | |
+ **nameIc** | **[]string** | |
+ **nameIe** | **[]string** | |
+ **nameIew** | **[]string** | |
+ **nameIre** | **[]string** | |
+ **nameIsw** | **[]string** | |
+ **nameN** | **[]string** | |
+ **nameNic** | **[]string** | |
+ **nameNie** | **[]string** | |
+ **nameNiew** | **[]string** | |
+ **nameNire** | **[]string** | |
+ **nameNisw** | **[]string** | |
+ **nameNre** | **[]string** | |
+ **nameRe** | **[]string** | |
+ **napalmArgs** | **[]string** | |
+ **napalmDriver** | **[]string** | |
+ **napalmDriverIc** | **[]string** | |
+ **napalmDriverIe** | **[]string** | |
+ **napalmDriverIew** | **[]string** | |
+ **napalmDriverIre** | **[]string** | |
+ **napalmDriverIsw** | **[]string** | |
+ **napalmDriverN** | **[]string** | |
+ **napalmDriverNic** | **[]string** | |
+ **napalmDriverNie** | **[]string** | |
+ **napalmDriverNiew** | **[]string** | |
+ **napalmDriverNire** | **[]string** | |
+ **napalmDriverNisw** | **[]string** | |
+ **napalmDriverNre** | **[]string** | |
+ **napalmDriverRe** | **[]string** | |
+ **networkDriver** | **[]string** | |
+ **networkDriverIc** | **[]string** | |
+ **networkDriverIe** | **[]string** | |
+ **networkDriverIew** | **[]string** | |
+ **networkDriverIre** | **[]string** | |
+ **networkDriverIsw** | **[]string** | |
+ **networkDriverN** | **[]string** | |
+ **networkDriverNic** | **[]string** | |
+ **networkDriverNie** | **[]string** | |
+ **networkDriverNiew** | **[]string** | |
+ **networkDriverNire** | **[]string** | |
+ **networkDriverNisw** | **[]string** | |
+ **networkDriverNre** | **[]string** | |
+ **networkDriverRe** | **[]string** | |
**offset** | **int32** | The initial index from which to return the results. |
- **parentModuleBay** | **[]string** | Parent Module Bay |
- **parentModuleBayIsnull** | **bool** | Parent Module Bay is null |
- **parentModuleBayN** | **[]string** | Exclude Parent Module Bay |
- **powerOutlets** | **[]string** | |
- **powerOutletsIsnull** | **bool** | Power Outlets (name or ID) is null |
- **powerOutletsN** | **[]string** | |
- **powerPorts** | **[]string** | |
- **powerPortsIsnull** | **bool** | Power Ports (name or ID) is null |
- **powerPortsN** | **[]string** | |
**q** | **string** | Search |
- **rearPorts** | **[]string** | |
- **rearPortsIsnull** | **bool** | Rear Ports (name or ID) is null |
- **rearPortsN** | **[]string** | |
- **role** | **[]string** | |
- **roleIsnull** | **bool** | Role (name or ID) is null |
- **roleN** | **string** | Exclude Role (name or ID) |
- **serial** | **[]string** | |
- **serialIc** | **[]string** | |
- **serialIe** | **[]string** | |
- **serialIew** | **[]string** | |
- **serialIre** | **[]string** | |
- **serialIsnull** | **bool** | |
- **serialIsw** | **[]string** | |
- **serialN** | **[]string** | |
- **serialNic** | **[]string** | |
- **serialNie** | **[]string** | |
- **serialNiew** | **[]string** | |
- **serialNire** | **[]string** | |
- **serialNisw** | **[]string** | |
- **serialNre** | **[]string** | |
- **serialRe** | **[]string** | |
**sort** | **string** | Which field to use when ordering the results. |
- **status** | **[]string** | |
- **statusN** | **string** | Exclude Status (name or ID) |
- **tags** | **[]string** | |
- **tagsIsnull** | **bool** | |
- **tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
- **tenant** | **[]string** | |
- **tenantIsnull** | **bool** | Tenant (name or ID) is null |
- **tenantN** | **[]string** | |
- **tenantGroup** | **[]string** | |
- **tenantGroupIsnull** | **bool** | Tenant Group (name or ID) is null |
- **tenantGroupN** | **[]string** | |
- **tenantId** | **[]string** | Tenant (ID) (deprecated, use \"tenant\" filter instead) |
- **tenantIdIsnull** | **bool** | Tenant (ID) (deprecated, use \"tenant\" filter instead) is null |
- **tenantIdN** | **[]string** | Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead) |
+ **teamsN** | **[]string** | |
+ **virtualMachines** | **[]string** | |
+ **virtualMachinesIsnull** | **bool** | |
+ **virtualMachinesN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PaginatedModuleList**](PaginatedModuleList.md)
+[**PaginatedPlatformList**](PaginatedPlatformList.md)
### Authorization
@@ -28685,9 +29879,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModulesNotesCreate
+## DcimPlatformsNotesCreate
-> Note DcimModulesNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+> Note DcimPlatformsNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
@@ -28706,19 +29900,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this platform.
noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModulesNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPlatformsNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModulesNotesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPlatformsNotesCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModulesNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModulesNotesCreate`: %v\n", resp)
+ // response from `DcimPlatformsNotesCreate`: Note
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPlatformsNotesCreate`: %v\n", resp)
}
```
@@ -28728,11 +29922,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this module. |
+**id** | **string** | A UUID string identifying this platform. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModulesNotesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPlatformsNotesCreateRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -28759,9 +29953,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModulesNotesList
+## DcimPlatformsNotesList
-> PaginatedNoteList DcimModulesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList DcimPlatformsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -28780,21 +29974,22 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this platform.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModulesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPlatformsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModulesNotesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPlatformsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModulesNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModulesNotesList`: %v\n", resp)
+ // response from `DcimPlatformsNotesList`: PaginatedNoteList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPlatformsNotesList`: %v\n", resp)
}
```
@@ -28804,11 +29999,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this module. |
+**id** | **string** | A UUID string identifying this platform. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModulesNotesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPlatformsNotesListRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -28818,6 +30013,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -28837,9 +30033,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModulesPartialUpdate
+## DcimPlatformsPartialUpdate
-> Module DcimModulesPartialUpdate(ctx, id).Format(format).PatchedModuleRequest(patchedModuleRequest).Execute()
+> Platform DcimPlatformsPartialUpdate(ctx, id).Format(format).PatchedPlatformRequest(patchedPlatformRequest).Execute()
@@ -28858,19 +30054,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this platform.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- patchedModuleRequest := *openapiclient.NewPatchedModuleRequest() // PatchedModuleRequest | (optional)
+ patchedPlatformRequest := *openapiclient.NewPatchedPlatformRequest() // PatchedPlatformRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModulesPartialUpdate(context.Background(), id).Format(format).PatchedModuleRequest(patchedModuleRequest).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPlatformsPartialUpdate(context.Background(), id).Format(format).PatchedPlatformRequest(patchedPlatformRequest).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModulesPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPlatformsPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModulesPartialUpdate`: Module
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModulesPartialUpdate`: %v\n", resp)
+ // response from `DcimPlatformsPartialUpdate`: Platform
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPlatformsPartialUpdate`: %v\n", resp)
}
```
@@ -28880,22 +30076,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this module. |
+**id** | **string** | A UUID string identifying this platform. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModulesPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPlatformsPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **patchedModuleRequest** | [**PatchedModuleRequest**](PatchedModuleRequest.md) | |
+ **patchedPlatformRequest** | [**PatchedPlatformRequest**](PatchedPlatformRequest.md) | |
### Return type
-[**Module**](Module.md)
+[**Platform**](Platform.md)
### Authorization
@@ -28911,9 +30107,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModulesRetrieve
+## DcimPlatformsRetrieve
-> Module DcimModulesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> Platform DcimPlatformsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -28932,19 +30128,20 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this platform.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModulesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPlatformsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModulesRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPlatformsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModulesRetrieve`: Module
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModulesRetrieve`: %v\n", resp)
+ // response from `DcimPlatformsRetrieve`: Platform
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPlatformsRetrieve`: %v\n", resp)
}
```
@@ -28954,11 +30151,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this module. |
+**id** | **string** | A UUID string identifying this platform. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModulesRetrieveRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPlatformsRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -28966,10 +30163,11 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**Module**](Module.md)
+[**Platform**](Platform.md)
### Authorization
@@ -28985,9 +30183,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimModulesUpdate
+## DcimPlatformsUpdate
-> Module DcimModulesUpdate(ctx, id).ModuleRequest(moduleRequest).Format(format).Execute()
+> Platform DcimPlatformsUpdate(ctx, id).PlatformRequest(platformRequest).Format(format).Execute()
@@ -29006,19 +30204,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this module.
- moduleRequest := *openapiclient.NewModuleRequest(*openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // ModuleRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this platform.
+ platformRequest := *openapiclient.NewPlatformRequest("Name_example") // PlatformRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimModulesUpdate(context.Background(), id).ModuleRequest(moduleRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPlatformsUpdate(context.Background(), id).PlatformRequest(platformRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimModulesUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPlatformsUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimModulesUpdate`: Module
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimModulesUpdate`: %v\n", resp)
+ // response from `DcimPlatformsUpdate`: Platform
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPlatformsUpdate`: %v\n", resp)
}
```
@@ -29028,22 +30226,152 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this module. |
+**id** | **string** | A UUID string identifying this platform. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimModulesUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPlatformsUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **moduleRequest** | [**ModuleRequest**](ModuleRequest.md) | |
+ **platformRequest** | [**PlatformRequest**](PlatformRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+[**Platform**](Platform.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimPowerConnectionsList
+
+> PaginatedPowerPortList DcimPowerConnectionsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Device(device).DeviceId(deviceId).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).Limit(limit).Location(location).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ contacts := []string{"Inner_example"} // []string | (optional)
+ contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
+ device := []string{"Inner_example"} // []string | Device (name) (optional)
+ deviceId := []string{"Inner_example"} // []string | Device (ID) (optional)
+ dynamicGroups := []string{"Inner_example"} // []string | (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
+ idN := []string{"Inner_example"} // []string | (optional)
+ limit := int32(56) // int32 | Number of results to return per page. (optional)
+ location := "location_example" // string | Location (name) (optional)
+ name := []string{"Inner_example"} // []string | (optional)
+ nameIc := []string{"Inner_example"} // []string | (optional)
+ nameIe := []string{"Inner_example"} // []string | (optional)
+ nameIew := []string{"Inner_example"} // []string | (optional)
+ nameIre := []string{"Inner_example"} // []string | (optional)
+ nameIsw := []string{"Inner_example"} // []string | (optional)
+ nameN := []string{"Inner_example"} // []string | (optional)
+ nameNic := []string{"Inner_example"} // []string | (optional)
+ nameNie := []string{"Inner_example"} // []string | (optional)
+ nameNiew := []string{"Inner_example"} // []string | (optional)
+ nameNire := []string{"Inner_example"} // []string | (optional)
+ nameNisw := []string{"Inner_example"} // []string | (optional)
+ nameNre := []string{"Inner_example"} // []string | (optional)
+ nameRe := []string{"Inner_example"} // []string | (optional)
+ offset := int32(56) // int32 | The initial index from which to return the results. (optional)
+ sort := "sort_example" // string | Which field to use when ordering the results. (optional)
+ teams := []string{"Inner_example"} // []string | (optional)
+ teamsIsnull := true // bool | Teams (name or ID) is null (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
+ depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.DcimAPI.DcimPowerConnectionsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Device(device).DeviceId(deviceId).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).Limit(limit).Location(location).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerConnectionsList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimPowerConnectionsList`: PaginatedPowerPortList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerConnectionsList`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimPowerConnectionsListRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **contacts** | **[]string** | |
+ **contactsIsnull** | **bool** | Contacts (name or ID) is null |
+ **contactsN** | **[]string** | |
+ **device** | **[]string** | Device (name) |
+ **deviceId** | **[]string** | Device (ID) |
+ **dynamicGroups** | **[]string** | |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
+ **idN** | **[]string** | |
+ **limit** | **int32** | Number of results to return per page. |
+ **location** | **string** | Location (name) |
+ **name** | **[]string** | |
+ **nameIc** | **[]string** | |
+ **nameIe** | **[]string** | |
+ **nameIew** | **[]string** | |
+ **nameIre** | **[]string** | |
+ **nameIsw** | **[]string** | |
+ **nameN** | **[]string** | |
+ **nameNic** | **[]string** | |
+ **nameNie** | **[]string** | |
+ **nameNiew** | **[]string** | |
+ **nameNire** | **[]string** | |
+ **nameNisw** | **[]string** | |
+ **nameNre** | **[]string** | |
+ **nameRe** | **[]string** | |
+ **offset** | **int32** | The initial index from which to return the results. |
+ **sort** | **string** | Which field to use when ordering the results. |
+ **teams** | **[]string** | |
+ **teamsIsnull** | **bool** | Teams (name or ID) is null |
+ **teamsN** | **[]string** | |
+ **depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**Module**](Module.md)
+[**PaginatedPowerPortList**](PaginatedPowerPortList.md)
### Authorization
@@ -29051,7 +30379,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: application/json, text/csv
+- **Content-Type**: Not defined
- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -29059,9 +30387,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPlatformsBulkDestroy
+## DcimPowerFeedsBulkDestroy
-> DcimPlatformsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+> DcimPowerFeedsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
@@ -29085,9 +30413,9 @@ func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimPlatformsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimPowerFeedsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPlatformsBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerFeedsBulkDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -29099,7 +30427,7 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPlatformsBulkDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerFeedsBulkDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -29125,9 +30453,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPlatformsBulkPartialUpdate
+## DcimPowerFeedsBulkPartialUpdate
-> []Platform DcimPlatformsBulkPartialUpdate(ctx).PatchedBulkWritablePlatformRequest(patchedBulkWritablePlatformRequest).Format(format).Execute()
+> []PowerFeed DcimPowerFeedsBulkPartialUpdate(ctx).PatchedBulkWritablePowerFeedRequest(patchedBulkWritablePowerFeedRequest).Format(format).Execute()
@@ -29146,18 +30474,18 @@ import (
)
func main() {
- patchedBulkWritablePlatformRequest := []openapiclient.PatchedBulkWritablePlatformRequest{*openapiclient.NewPatchedBulkWritablePlatformRequest("Id_example")} // []PatchedBulkWritablePlatformRequest |
+ patchedBulkWritablePowerFeedRequest := []openapiclient.PatchedBulkWritablePowerFeedRequest{*openapiclient.NewPatchedBulkWritablePowerFeedRequest("Id_example")} // []PatchedBulkWritablePowerFeedRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPlatformsBulkPartialUpdate(context.Background()).PatchedBulkWritablePlatformRequest(patchedBulkWritablePlatformRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerFeedsBulkPartialUpdate(context.Background()).PatchedBulkWritablePowerFeedRequest(patchedBulkWritablePowerFeedRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPlatformsBulkPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerFeedsBulkPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPlatformsBulkPartialUpdate`: []Platform
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPlatformsBulkPartialUpdate`: %v\n", resp)
+ // response from `DcimPowerFeedsBulkPartialUpdate`: []PowerFeed
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerFeedsBulkPartialUpdate`: %v\n", resp)
}
```
@@ -29167,17 +30495,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPlatformsBulkPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerFeedsBulkPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **patchedBulkWritablePlatformRequest** | [**[]PatchedBulkWritablePlatformRequest**](PatchedBulkWritablePlatformRequest.md) | |
+ **patchedBulkWritablePowerFeedRequest** | [**[]PatchedBulkWritablePowerFeedRequest**](PatchedBulkWritablePowerFeedRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]Platform**](Platform.md)
+[**[]PowerFeed**](PowerFeed.md)
### Authorization
@@ -29193,9 +30521,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPlatformsBulkUpdate
+## DcimPowerFeedsBulkUpdate
-> []Platform DcimPlatformsBulkUpdate(ctx).BulkWritablePlatformRequest(bulkWritablePlatformRequest).Format(format).Execute()
+> []PowerFeed DcimPowerFeedsBulkUpdate(ctx).BulkWritablePowerFeedRequest(bulkWritablePowerFeedRequest).Format(format).Execute()
@@ -29214,18 +30542,18 @@ import (
)
func main() {
- bulkWritablePlatformRequest := []openapiclient.BulkWritablePlatformRequest{*openapiclient.NewBulkWritablePlatformRequest("Id_example", "Name_example")} // []BulkWritablePlatformRequest |
+ bulkWritablePowerFeedRequest := []openapiclient.BulkWritablePowerFeedRequest{*openapiclient.NewBulkWritablePowerFeedRequest("Id_example", "Name_example", *openapiclient.NewBulkWritablePowerFeedRequestPowerPanel(), *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritablePowerFeedRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPlatformsBulkUpdate(context.Background()).BulkWritablePlatformRequest(bulkWritablePlatformRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerFeedsBulkUpdate(context.Background()).BulkWritablePowerFeedRequest(bulkWritablePowerFeedRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPlatformsBulkUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerFeedsBulkUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPlatformsBulkUpdate`: []Platform
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPlatformsBulkUpdate`: %v\n", resp)
+ // response from `DcimPowerFeedsBulkUpdate`: []PowerFeed
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerFeedsBulkUpdate`: %v\n", resp)
}
```
@@ -29235,17 +30563,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPlatformsBulkUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerFeedsBulkUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **bulkWritablePlatformRequest** | [**[]BulkWritablePlatformRequest**](BulkWritablePlatformRequest.md) | |
+ **bulkWritablePowerFeedRequest** | [**[]BulkWritablePowerFeedRequest**](BulkWritablePowerFeedRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]Platform**](Platform.md)
+[**[]PowerFeed**](PowerFeed.md)
### Authorization
@@ -29261,9 +30589,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPlatformsCreate
+## DcimPowerFeedsCreate
-> Platform DcimPlatformsCreate(ctx).PlatformRequest(platformRequest).Format(format).Execute()
+> PowerFeed DcimPowerFeedsCreate(ctx).WritablePowerFeedRequest(writablePowerFeedRequest).Format(format).Execute()
@@ -29282,18 +30610,18 @@ import (
)
func main() {
- platformRequest := *openapiclient.NewPlatformRequest("Name_example") // PlatformRequest |
+ writablePowerFeedRequest := *openapiclient.NewWritablePowerFeedRequest("Name_example", *openapiclient.NewBulkWritablePowerFeedRequestPowerPanel(), *openapiclient.NewBulkWritableCableRequestStatus()) // WritablePowerFeedRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPlatformsCreate(context.Background()).PlatformRequest(platformRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerFeedsCreate(context.Background()).WritablePowerFeedRequest(writablePowerFeedRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPlatformsCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerFeedsCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPlatformsCreate`: Platform
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPlatformsCreate`: %v\n", resp)
+ // response from `DcimPowerFeedsCreate`: PowerFeed
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerFeedsCreate`: %v\n", resp)
}
```
@@ -29303,17 +30631,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPlatformsCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerFeedsCreateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **platformRequest** | [**PlatformRequest**](PlatformRequest.md) | |
+ **writablePowerFeedRequest** | [**WritablePowerFeedRequest**](WritablePowerFeedRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**Platform**](Platform.md)
+[**PowerFeed**](PowerFeed.md)
### Authorization
@@ -29329,9 +30657,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPlatformsDestroy
+## DcimPowerFeedsDestroy
-> DcimPlatformsDestroy(ctx, id).Format(format).Execute()
+> DcimPowerFeedsDestroy(ctx, id).Format(format).Execute()
@@ -29350,14 +30678,14 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this platform.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power feed.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimPlatformsDestroy(context.Background(), id).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimPowerFeedsDestroy(context.Background(), id).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPlatformsDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerFeedsDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -29369,11 +30697,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this platform. |
+**id** | **string** | A UUID string identifying this power feed. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPlatformsDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerFeedsDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -29399,9 +30727,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPlatformsList
+## DcimPowerFeedsList
-> PaginatedPlatformList DcimPlatformsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Devices(devices).DevicesIsnull(devicesIsnull).DevicesN(devicesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDevices(hasDevices).HasVirtualMachines(hasVirtualMachines).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Manufacturer(manufacturer).ManufacturerIsnull(manufacturerIsnull).ManufacturerN(manufacturerN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).NapalmArgs(napalmArgs).NapalmDriver(napalmDriver).NapalmDriverIc(napalmDriverIc).NapalmDriverIe(napalmDriverIe).NapalmDriverIew(napalmDriverIew).NapalmDriverIre(napalmDriverIre).NapalmDriverIsw(napalmDriverIsw).NapalmDriverN(napalmDriverN).NapalmDriverNic(napalmDriverNic).NapalmDriverNie(napalmDriverNie).NapalmDriverNiew(napalmDriverNiew).NapalmDriverNire(napalmDriverNire).NapalmDriverNisw(napalmDriverNisw).NapalmDriverNre(napalmDriverNre).NapalmDriverRe(napalmDriverRe).NetworkDriver(networkDriver).NetworkDriverIc(networkDriverIc).NetworkDriverIe(networkDriverIe).NetworkDriverIew(networkDriverIew).NetworkDriverIre(networkDriverIre).NetworkDriverIsw(networkDriverIsw).NetworkDriverN(networkDriverN).NetworkDriverNic(networkDriverNic).NetworkDriverNie(networkDriverNie).NetworkDriverNiew(networkDriverNiew).NetworkDriverNire(networkDriverNire).NetworkDriverNisw(networkDriverNisw).NetworkDriverNre(networkDriverNre).NetworkDriverRe(networkDriverRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).VirtualMachines(virtualMachines).VirtualMachinesIsnull(virtualMachinesIsnull).VirtualMachinesN(virtualMachinesN).Depth(depth).Execute()
+> PaginatedPowerFeedList DcimPowerFeedsList(ctx).Amperage(amperage).AmperageGt(amperageGt).AmperageGte(amperageGte).AmperageLt(amperageLt).AmperageLte(amperageLte).AmperageN(amperageN).AvailablePower(availablePower).AvailablePowerGt(availablePowerGt).AvailablePowerGte(availablePowerGte).AvailablePowerLt(availablePowerLt).AvailablePowerLte(availablePowerLte).AvailablePowerN(availablePowerN).BreakerPoleCount(breakerPoleCount).BreakerPoleCountIc(breakerPoleCountIc).BreakerPoleCountIe(breakerPoleCountIe).BreakerPoleCountIew(breakerPoleCountIew).BreakerPoleCountIre(breakerPoleCountIre).BreakerPoleCountIsnull(breakerPoleCountIsnull).BreakerPoleCountIsw(breakerPoleCountIsw).BreakerPoleCountN(breakerPoleCountN).BreakerPoleCountNic(breakerPoleCountNic).BreakerPoleCountNie(breakerPoleCountNie).BreakerPoleCountNiew(breakerPoleCountNiew).BreakerPoleCountNire(breakerPoleCountNire).BreakerPoleCountNisw(breakerPoleCountNisw).BreakerPoleCountNre(breakerPoleCountNre).BreakerPoleCountRe(breakerPoleCountRe).BreakerPosition(breakerPosition).BreakerPositionGt(breakerPositionGt).BreakerPositionGte(breakerPositionGte).BreakerPositionIsnull(breakerPositionIsnull).BreakerPositionLt(breakerPositionLt).BreakerPositionLte(breakerPositionLte).BreakerPositionN(breakerPositionN).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).Connected(connected).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DestinationPanel(destinationPanel).DestinationPanelIsnull(destinationPanelIsnull).DestinationPanelN(destinationPanelN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCable(hasCable).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).MaxUtilization(maxUtilization).MaxUtilizationGt(maxUtilizationGt).MaxUtilizationGte(maxUtilizationGte).MaxUtilizationLt(maxUtilizationLt).MaxUtilizationLte(maxUtilizationLte).MaxUtilizationN(maxUtilizationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Phase(phase).PhaseIc(phaseIc).PhaseIe(phaseIe).PhaseIew(phaseIew).PhaseIre(phaseIre).PhaseIsw(phaseIsw).PhaseN(phaseN).PhaseNic(phaseNic).PhaseNie(phaseNie).PhaseNiew(phaseNiew).PhaseNire(phaseNire).PhaseNisw(phaseNisw).PhaseNre(phaseNre).PhaseRe(phaseRe).PowerPanel(powerPanel).PowerPanelN(powerPanelN).PowerPath(powerPath).PowerPathIc(powerPathIc).PowerPathIe(powerPathIe).PowerPathIew(powerPathIew).PowerPathIre(powerPathIre).PowerPathIsw(powerPathIsw).PowerPathN(powerPathN).PowerPathNic(powerPathNic).PowerPathNie(powerPathNie).PowerPathNiew(powerPathNiew).PowerPathNire(powerPathNire).PowerPathNisw(powerPathNisw).PowerPathNre(powerPathNre).PowerPathRe(powerPathRe).Q(q).Rack(rack).RackIsnull(rackIsnull).RackN(rackN).Sort(sort).Status(status).StatusN(statusN).Supply(supply).SupplyIc(supplyIc).SupplyIe(supplyIe).SupplyIew(supplyIew).SupplyIre(supplyIre).SupplyIsw(supplyIsw).SupplyN(supplyN).SupplyNic(supplyNic).SupplyNie(supplyNie).SupplyNiew(supplyNiew).SupplyNire(supplyNire).SupplyNisw(supplyNisw).SupplyNre(supplyNre).SupplyRe(supplyRe).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Voltage(voltage).VoltageGt(voltageGt).VoltageGte(voltageGte).VoltageLt(voltageLt).VoltageLte(voltageLte).VoltageN(voltageN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -29421,9 +30749,61 @@ import (
)
func main() {
+ amperage := []int32{int32(123)} // []int32 | (optional)
+ amperageGt := []int32{int32(123)} // []int32 | (optional)
+ amperageGte := []int32{int32(123)} // []int32 | (optional)
+ amperageLt := []int32{int32(123)} // []int32 | (optional)
+ amperageLte := []int32{int32(123)} // []int32 | (optional)
+ amperageN := []int32{int32(123)} // []int32 | (optional)
+ availablePower := []int32{int32(123)} // []int32 | (optional)
+ availablePowerGt := []int32{int32(123)} // []int32 | (optional)
+ availablePowerGte := []int32{int32(123)} // []int32 | (optional)
+ availablePowerLt := []int32{int32(123)} // []int32 | (optional)
+ availablePowerLte := []int32{int32(123)} // []int32 | (optional)
+ availablePowerN := []int32{int32(123)} // []int32 | (optional)
+ breakerPoleCount := []*int32{int32(123)} // []*int32 | Number of breaker poles (optional)
+ breakerPoleCountIc := []string{"Inner_example"} // []string | (optional)
+ breakerPoleCountIe := []string{"Inner_example"} // []string | (optional)
+ breakerPoleCountIew := []string{"Inner_example"} // []string | (optional)
+ breakerPoleCountIre := []string{"Inner_example"} // []string | (optional)
+ breakerPoleCountIsnull := []string{"Inner_example"} // []string | (optional)
+ breakerPoleCountIsw := []string{"Inner_example"} // []string | (optional)
+ breakerPoleCountN := []string{"Inner_example"} // []string | (optional)
+ breakerPoleCountNic := []string{"Inner_example"} // []string | (optional)
+ breakerPoleCountNie := []string{"Inner_example"} // []string | (optional)
+ breakerPoleCountNiew := []string{"Inner_example"} // []string | (optional)
+ breakerPoleCountNire := []string{"Inner_example"} // []string | (optional)
+ breakerPoleCountNisw := []string{"Inner_example"} // []string | (optional)
+ breakerPoleCountNre := []string{"Inner_example"} // []string | (optional)
+ breakerPoleCountRe := []string{"Inner_example"} // []string | (optional)
+ breakerPosition := []int32{int32(123)} // []int32 | (optional)
+ breakerPositionGt := []int32{int32(123)} // []int32 | (optional)
+ breakerPositionGte := []int32{int32(123)} // []int32 | (optional)
+ breakerPositionIsnull := true // bool | (optional)
+ breakerPositionLt := []int32{int32(123)} // []int32 | (optional)
+ breakerPositionLte := []int32{int32(123)} // []int32 | (optional)
+ breakerPositionN := []int32{int32(123)} // []int32 | (optional)
+ cable := []string{"Inner_example"} // []string | Cable (optional)
+ cableIsnull := true // bool | (optional)
+ cableN := []string{"Inner_example"} // []string | Cable (optional)
+ comments := []string{"Inner_example"} // []string | (optional)
+ commentsIc := []string{"Inner_example"} // []string | (optional)
+ commentsIe := []string{"Inner_example"} // []string | (optional)
+ commentsIew := []string{"Inner_example"} // []string | (optional)
+ commentsIre := []string{"Inner_example"} // []string | (optional)
+ commentsIsw := []string{"Inner_example"} // []string | (optional)
+ commentsN := []string{"Inner_example"} // []string | (optional)
+ commentsNic := []string{"Inner_example"} // []string | (optional)
+ commentsNie := []string{"Inner_example"} // []string | (optional)
+ commentsNiew := []string{"Inner_example"} // []string | (optional)
+ commentsNire := []string{"Inner_example"} // []string | (optional)
+ commentsNisw := []string{"Inner_example"} // []string | (optional)
+ commentsNre := []string{"Inner_example"} // []string | (optional)
+ commentsRe := []string{"Inner_example"} // []string | (optional)
+ connected := true // bool | Connected status (bool) (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -29431,42 +30811,15 @@ func main() {
createdLt := []time.Time{time.Now()} // []time.Time | (optional)
createdLte := []time.Time{time.Now()} // []time.Time | (optional)
createdN := []time.Time{time.Now()} // []time.Time | (optional)
- description := []string{"Inner_example"} // []string | (optional)
- descriptionIc := []string{"Inner_example"} // []string | (optional)
- descriptionIe := []string{"Inner_example"} // []string | (optional)
- descriptionIew := []string{"Inner_example"} // []string | (optional)
- descriptionIre := []string{"Inner_example"} // []string | (optional)
- descriptionIsw := []string{"Inner_example"} // []string | (optional)
- descriptionN := []string{"Inner_example"} // []string | (optional)
- descriptionNic := []string{"Inner_example"} // []string | (optional)
- descriptionNie := []string{"Inner_example"} // []string | (optional)
- descriptionNiew := []string{"Inner_example"} // []string | (optional)
- descriptionNire := []string{"Inner_example"} // []string | (optional)
- descriptionNisw := []string{"Inner_example"} // []string | (optional)
- descriptionNre := []string{"Inner_example"} // []string | (optional)
- descriptionRe := []string{"Inner_example"} // []string | (optional)
- devices := []string{"Inner_example"} // []string | (optional)
- devicesIsnull := true // bool | (optional)
- devicesN := []string{"Inner_example"} // []string | (optional)
+ destinationPanel := []string{"Inner_example"} // []string | (optional)
+ destinationPanelIsnull := true // bool | Destination panel (name or ID) is null (optional)
+ destinationPanelN := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- hasDevices := true // bool | Has devices (optional)
- hasVirtualMachines := true // bool | Has virtual machines (optional)
+ hasCable := true // bool | Has cable (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -29475,9 +30828,14 @@ func main() {
lastUpdatedLte := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedN := []time.Time{time.Now()} // []time.Time | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
- manufacturer := []string{"Inner_example"} // []string | (optional)
- manufacturerIsnull := true // bool | Manufacturer (name or ID) is null (optional)
- manufacturerN := []string{"Inner_example"} // []string | (optional)
+ location := []string{"Inner_example"} // []string | (optional)
+ locationN := []string{"Inner_example"} // []string | (optional)
+ maxUtilization := []int32{int32(123)} // []int32 | (optional)
+ maxUtilizationGt := []int32{int32(123)} // []int32 | (optional)
+ maxUtilizationGte := []int32{int32(123)} // []int32 | (optional)
+ maxUtilizationLt := []int32{int32(123)} // []int32 | (optional)
+ maxUtilizationLte := []int32{int32(123)} // []int32 | (optional)
+ maxUtilizationN := []int32{int32(123)} // []int32 | (optional)
name := []string{"Inner_example"} // []string | (optional)
nameIc := []string{"Inner_example"} // []string | (optional)
nameIe := []string{"Inner_example"} // []string | (optional)
@@ -29492,55 +30850,96 @@ func main() {
nameNisw := []string{"Inner_example"} // []string | (optional)
nameNre := []string{"Inner_example"} // []string | (optional)
nameRe := []string{"Inner_example"} // []string | (optional)
- napalmArgs := []string{"Inner_example"} // []string | (optional)
- napalmDriver := []string{"Inner_example"} // []string | (optional)
- napalmDriverIc := []string{"Inner_example"} // []string | (optional)
- napalmDriverIe := []string{"Inner_example"} // []string | (optional)
- napalmDriverIew := []string{"Inner_example"} // []string | (optional)
- napalmDriverIre := []string{"Inner_example"} // []string | (optional)
- napalmDriverIsw := []string{"Inner_example"} // []string | (optional)
- napalmDriverN := []string{"Inner_example"} // []string | (optional)
- napalmDriverNic := []string{"Inner_example"} // []string | (optional)
- napalmDriverNie := []string{"Inner_example"} // []string | (optional)
- napalmDriverNiew := []string{"Inner_example"} // []string | (optional)
- napalmDriverNire := []string{"Inner_example"} // []string | (optional)
- napalmDriverNisw := []string{"Inner_example"} // []string | (optional)
- napalmDriverNre := []string{"Inner_example"} // []string | (optional)
- napalmDriverRe := []string{"Inner_example"} // []string | (optional)
- networkDriver := []string{"Inner_example"} // []string | (optional)
- networkDriverIc := []string{"Inner_example"} // []string | (optional)
- networkDriverIe := []string{"Inner_example"} // []string | (optional)
- networkDriverIew := []string{"Inner_example"} // []string | (optional)
- networkDriverIre := []string{"Inner_example"} // []string | (optional)
- networkDriverIsw := []string{"Inner_example"} // []string | (optional)
- networkDriverN := []string{"Inner_example"} // []string | (optional)
- networkDriverNic := []string{"Inner_example"} // []string | (optional)
- networkDriverNie := []string{"Inner_example"} // []string | (optional)
- networkDriverNiew := []string{"Inner_example"} // []string | (optional)
- networkDriverNire := []string{"Inner_example"} // []string | (optional)
- networkDriverNisw := []string{"Inner_example"} // []string | (optional)
- networkDriverNre := []string{"Inner_example"} // []string | (optional)
- networkDriverRe := []string{"Inner_example"} // []string | (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
+ phase := []string{"Inner_example"} // []string | (optional)
+ phaseIc := []string{"Inner_example"} // []string | (optional)
+ phaseIe := []string{"Inner_example"} // []string | (optional)
+ phaseIew := []string{"Inner_example"} // []string | (optional)
+ phaseIre := []string{"Inner_example"} // []string | (optional)
+ phaseIsw := []string{"Inner_example"} // []string | (optional)
+ phaseN := []string{"Inner_example"} // []string | (optional)
+ phaseNic := []string{"Inner_example"} // []string | (optional)
+ phaseNie := []string{"Inner_example"} // []string | (optional)
+ phaseNiew := []string{"Inner_example"} // []string | (optional)
+ phaseNire := []string{"Inner_example"} // []string | (optional)
+ phaseNisw := []string{"Inner_example"} // []string | (optional)
+ phaseNre := []string{"Inner_example"} // []string | (optional)
+ phaseRe := []string{"Inner_example"} // []string | (optional)
+ powerPanel := []string{"Inner_example"} // []string | (optional)
+ powerPanelN := []string{"Inner_example"} // []string | (optional)
+ powerPath := []string{"Inner_example"} // []string | Physical power distribution redundancy path. (optional)
+ powerPathIc := []string{"Inner_example"} // []string | (optional)
+ powerPathIe := []string{"Inner_example"} // []string | (optional)
+ powerPathIew := []string{"Inner_example"} // []string | (optional)
+ powerPathIre := []string{"Inner_example"} // []string | (optional)
+ powerPathIsw := []string{"Inner_example"} // []string | (optional)
+ powerPathN := []string{"Inner_example"} // []string | (optional)
+ powerPathNic := []string{"Inner_example"} // []string | (optional)
+ powerPathNie := []string{"Inner_example"} // []string | (optional)
+ powerPathNiew := []string{"Inner_example"} // []string | (optional)
+ powerPathNire := []string{"Inner_example"} // []string | (optional)
+ powerPathNisw := []string{"Inner_example"} // []string | (optional)
+ powerPathNre := []string{"Inner_example"} // []string | (optional)
+ powerPathRe := []string{"Inner_example"} // []string | (optional)
q := "q_example" // string | Search (optional)
+ rack := []string{"Inner_example"} // []string | (optional)
+ rackIsnull := true // bool | Rack (name or ID) is null (optional)
+ rackN := []string{"Inner_example"} // []string | (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
+ status := []string{"Inner_example"} // []string | (optional)
+ statusN := []string{"Inner_example"} // []string | (optional)
+ supply := []string{"Inner_example"} // []string | (optional)
+ supplyIc := []string{"Inner_example"} // []string | (optional)
+ supplyIe := []string{"Inner_example"} // []string | (optional)
+ supplyIew := []string{"Inner_example"} // []string | (optional)
+ supplyIre := []string{"Inner_example"} // []string | (optional)
+ supplyIsw := []string{"Inner_example"} // []string | (optional)
+ supplyN := []string{"Inner_example"} // []string | (optional)
+ supplyNic := []string{"Inner_example"} // []string | (optional)
+ supplyNie := []string{"Inner_example"} // []string | (optional)
+ supplyNiew := []string{"Inner_example"} // []string | (optional)
+ supplyNire := []string{"Inner_example"} // []string | (optional)
+ supplyNisw := []string{"Inner_example"} // []string | (optional)
+ supplyNre := []string{"Inner_example"} // []string | (optional)
+ supplyRe := []string{"Inner_example"} // []string | (optional)
+ tags := []string{"Inner_example"} // []string | (optional)
+ tagsIsnull := true // bool | (optional)
+ tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
- virtualMachines := []string{"Inner_example"} // []string | (optional)
- virtualMachinesIsnull := true // bool | (optional)
- virtualMachinesN := []string{"Inner_example"} // []string | (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
+ type_ := []string{"Inner_example"} // []string | (optional)
+ typeIc := []string{"Inner_example"} // []string | (optional)
+ typeIe := []string{"Inner_example"} // []string | (optional)
+ typeIew := []string{"Inner_example"} // []string | (optional)
+ typeIre := []string{"Inner_example"} // []string | (optional)
+ typeIsw := []string{"Inner_example"} // []string | (optional)
+ typeN := []string{"Inner_example"} // []string | (optional)
+ typeNic := []string{"Inner_example"} // []string | (optional)
+ typeNie := []string{"Inner_example"} // []string | (optional)
+ typeNiew := []string{"Inner_example"} // []string | (optional)
+ typeNire := []string{"Inner_example"} // []string | (optional)
+ typeNisw := []string{"Inner_example"} // []string | (optional)
+ typeNre := []string{"Inner_example"} // []string | (optional)
+ typeRe := []string{"Inner_example"} // []string | (optional)
+ voltage := []int32{int32(123)} // []int32 | (optional)
+ voltageGt := []int32{int32(123)} // []int32 | (optional)
+ voltageGte := []int32{int32(123)} // []int32 | (optional)
+ voltageLt := []int32{int32(123)} // []int32 | (optional)
+ voltageLte := []int32{int32(123)} // []int32 | (optional)
+ voltageN := []int32{int32(123)} // []int32 | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPlatformsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Devices(devices).DevicesIsnull(devicesIsnull).DevicesN(devicesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDevices(hasDevices).HasVirtualMachines(hasVirtualMachines).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Manufacturer(manufacturer).ManufacturerIsnull(manufacturerIsnull).ManufacturerN(manufacturerN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).NapalmArgs(napalmArgs).NapalmDriver(napalmDriver).NapalmDriverIc(napalmDriverIc).NapalmDriverIe(napalmDriverIe).NapalmDriverIew(napalmDriverIew).NapalmDriverIre(napalmDriverIre).NapalmDriverIsw(napalmDriverIsw).NapalmDriverN(napalmDriverN).NapalmDriverNic(napalmDriverNic).NapalmDriverNie(napalmDriverNie).NapalmDriverNiew(napalmDriverNiew).NapalmDriverNire(napalmDriverNire).NapalmDriverNisw(napalmDriverNisw).NapalmDriverNre(napalmDriverNre).NapalmDriverRe(napalmDriverRe).NetworkDriver(networkDriver).NetworkDriverIc(networkDriverIc).NetworkDriverIe(networkDriverIe).NetworkDriverIew(networkDriverIew).NetworkDriverIre(networkDriverIre).NetworkDriverIsw(networkDriverIsw).NetworkDriverN(networkDriverN).NetworkDriverNic(networkDriverNic).NetworkDriverNie(networkDriverNie).NetworkDriverNiew(networkDriverNiew).NetworkDriverNire(networkDriverNire).NetworkDriverNisw(networkDriverNisw).NetworkDriverNre(networkDriverNre).NetworkDriverRe(networkDriverRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).VirtualMachines(virtualMachines).VirtualMachinesIsnull(virtualMachinesIsnull).VirtualMachinesN(virtualMachinesN).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerFeedsList(context.Background()).Amperage(amperage).AmperageGt(amperageGt).AmperageGte(amperageGte).AmperageLt(amperageLt).AmperageLte(amperageLte).AmperageN(amperageN).AvailablePower(availablePower).AvailablePowerGt(availablePowerGt).AvailablePowerGte(availablePowerGte).AvailablePowerLt(availablePowerLt).AvailablePowerLte(availablePowerLte).AvailablePowerN(availablePowerN).BreakerPoleCount(breakerPoleCount).BreakerPoleCountIc(breakerPoleCountIc).BreakerPoleCountIe(breakerPoleCountIe).BreakerPoleCountIew(breakerPoleCountIew).BreakerPoleCountIre(breakerPoleCountIre).BreakerPoleCountIsnull(breakerPoleCountIsnull).BreakerPoleCountIsw(breakerPoleCountIsw).BreakerPoleCountN(breakerPoleCountN).BreakerPoleCountNic(breakerPoleCountNic).BreakerPoleCountNie(breakerPoleCountNie).BreakerPoleCountNiew(breakerPoleCountNiew).BreakerPoleCountNire(breakerPoleCountNire).BreakerPoleCountNisw(breakerPoleCountNisw).BreakerPoleCountNre(breakerPoleCountNre).BreakerPoleCountRe(breakerPoleCountRe).BreakerPosition(breakerPosition).BreakerPositionGt(breakerPositionGt).BreakerPositionGte(breakerPositionGte).BreakerPositionIsnull(breakerPositionIsnull).BreakerPositionLt(breakerPositionLt).BreakerPositionLte(breakerPositionLte).BreakerPositionN(breakerPositionN).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).Connected(connected).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DestinationPanel(destinationPanel).DestinationPanelIsnull(destinationPanelIsnull).DestinationPanelN(destinationPanelN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCable(hasCable).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).MaxUtilization(maxUtilization).MaxUtilizationGt(maxUtilizationGt).MaxUtilizationGte(maxUtilizationGte).MaxUtilizationLt(maxUtilizationLt).MaxUtilizationLte(maxUtilizationLte).MaxUtilizationN(maxUtilizationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Phase(phase).PhaseIc(phaseIc).PhaseIe(phaseIe).PhaseIew(phaseIew).PhaseIre(phaseIre).PhaseIsw(phaseIsw).PhaseN(phaseN).PhaseNic(phaseNic).PhaseNie(phaseNie).PhaseNiew(phaseNiew).PhaseNire(phaseNire).PhaseNisw(phaseNisw).PhaseNre(phaseNre).PhaseRe(phaseRe).PowerPanel(powerPanel).PowerPanelN(powerPanelN).PowerPath(powerPath).PowerPathIc(powerPathIc).PowerPathIe(powerPathIe).PowerPathIew(powerPathIew).PowerPathIre(powerPathIre).PowerPathIsw(powerPathIsw).PowerPathN(powerPathN).PowerPathNic(powerPathNic).PowerPathNie(powerPathNie).PowerPathNiew(powerPathNiew).PowerPathNire(powerPathNire).PowerPathNisw(powerPathNisw).PowerPathNre(powerPathNre).PowerPathRe(powerPathRe).Q(q).Rack(rack).RackIsnull(rackIsnull).RackN(rackN).Sort(sort).Status(status).StatusN(statusN).Supply(supply).SupplyIc(supplyIc).SupplyIe(supplyIe).SupplyIew(supplyIew).SupplyIre(supplyIre).SupplyIsw(supplyIsw).SupplyN(supplyN).SupplyNic(supplyNic).SupplyNie(supplyNie).SupplyNiew(supplyNiew).SupplyNire(supplyNire).SupplyNisw(supplyNisw).SupplyNre(supplyNre).SupplyRe(supplyRe).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Voltage(voltage).VoltageGt(voltageGt).VoltageGte(voltageGte).VoltageLt(voltageLt).VoltageLte(voltageLte).VoltageN(voltageN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPlatformsList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerFeedsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPlatformsList`: PaginatedPlatformList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPlatformsList`: %v\n", resp)
+ // response from `DcimPowerFeedsList`: PaginatedPowerFeedList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerFeedsList`: %v\n", resp)
}
```
@@ -29550,14 +30949,66 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPlatformsListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerFeedsListRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
+ **amperage** | **[]int32** | |
+ **amperageGt** | **[]int32** | |
+ **amperageGte** | **[]int32** | |
+ **amperageLt** | **[]int32** | |
+ **amperageLte** | **[]int32** | |
+ **amperageN** | **[]int32** | |
+ **availablePower** | **[]int32** | |
+ **availablePowerGt** | **[]int32** | |
+ **availablePowerGte** | **[]int32** | |
+ **availablePowerLt** | **[]int32** | |
+ **availablePowerLte** | **[]int32** | |
+ **availablePowerN** | **[]int32** | |
+ **breakerPoleCount** | **[]int32** | Number of breaker poles |
+ **breakerPoleCountIc** | **[]string** | |
+ **breakerPoleCountIe** | **[]string** | |
+ **breakerPoleCountIew** | **[]string** | |
+ **breakerPoleCountIre** | **[]string** | |
+ **breakerPoleCountIsnull** | **[]string** | |
+ **breakerPoleCountIsw** | **[]string** | |
+ **breakerPoleCountN** | **[]string** | |
+ **breakerPoleCountNic** | **[]string** | |
+ **breakerPoleCountNie** | **[]string** | |
+ **breakerPoleCountNiew** | **[]string** | |
+ **breakerPoleCountNire** | **[]string** | |
+ **breakerPoleCountNisw** | **[]string** | |
+ **breakerPoleCountNre** | **[]string** | |
+ **breakerPoleCountRe** | **[]string** | |
+ **breakerPosition** | **[]int32** | |
+ **breakerPositionGt** | **[]int32** | |
+ **breakerPositionGte** | **[]int32** | |
+ **breakerPositionIsnull** | **bool** | |
+ **breakerPositionLt** | **[]int32** | |
+ **breakerPositionLte** | **[]int32** | |
+ **breakerPositionN** | **[]int32** | |
+ **cable** | **[]string** | Cable |
+ **cableIsnull** | **bool** | |
+ **cableN** | **[]string** | Cable |
+ **comments** | **[]string** | |
+ **commentsIc** | **[]string** | |
+ **commentsIe** | **[]string** | |
+ **commentsIew** | **[]string** | |
+ **commentsIre** | **[]string** | |
+ **commentsIsw** | **[]string** | |
+ **commentsN** | **[]string** | |
+ **commentsNic** | **[]string** | |
+ **commentsNie** | **[]string** | |
+ **commentsNiew** | **[]string** | |
+ **commentsNire** | **[]string** | |
+ **commentsNisw** | **[]string** | |
+ **commentsNre** | **[]string** | |
+ **commentsRe** | **[]string** | |
+ **connected** | **bool** | Connected status (bool) |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -29565,42 +31016,15 @@ Name | Type | Description | Notes
**createdLt** | [**[]time.Time**](time.Time.md) | |
**createdLte** | [**[]time.Time**](time.Time.md) | |
**createdN** | [**[]time.Time**](time.Time.md) | |
- **description** | **[]string** | |
- **descriptionIc** | **[]string** | |
- **descriptionIe** | **[]string** | |
- **descriptionIew** | **[]string** | |
- **descriptionIre** | **[]string** | |
- **descriptionIsw** | **[]string** | |
- **descriptionN** | **[]string** | |
- **descriptionNic** | **[]string** | |
- **descriptionNie** | **[]string** | |
- **descriptionNiew** | **[]string** | |
- **descriptionNire** | **[]string** | |
- **descriptionNisw** | **[]string** | |
- **descriptionNre** | **[]string** | |
- **descriptionRe** | **[]string** | |
- **devices** | **[]string** | |
- **devicesIsnull** | **bool** | |
- **devicesN** | **[]string** | |
+ **destinationPanel** | **[]string** | |
+ **destinationPanelIsnull** | **bool** | Destination panel (name or ID) is null |
+ **destinationPanelN** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **hasDevices** | **bool** | Has devices |
- **hasVirtualMachines** | **bool** | Has virtual machines |
+ **hasCable** | **bool** | Has cable |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -29609,9 +31033,14 @@ Name | Type | Description | Notes
**lastUpdatedLte** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedN** | [**[]time.Time**](time.Time.md) | |
**limit** | **int32** | Number of results to return per page. |
- **manufacturer** | **[]string** | |
- **manufacturerIsnull** | **bool** | Manufacturer (name or ID) is null |
- **manufacturerN** | **[]string** | |
+ **location** | **[]string** | |
+ **locationN** | **[]string** | |
+ **maxUtilization** | **[]int32** | |
+ **maxUtilizationGt** | **[]int32** | |
+ **maxUtilizationGte** | **[]int32** | |
+ **maxUtilizationLt** | **[]int32** | |
+ **maxUtilizationLte** | **[]int32** | |
+ **maxUtilizationN** | **[]int32** | |
**name** | **[]string** | |
**nameIc** | **[]string** | |
**nameIe** | **[]string** | |
@@ -29626,201 +31055,90 @@ Name | Type | Description | Notes
**nameNisw** | **[]string** | |
**nameNre** | **[]string** | |
**nameRe** | **[]string** | |
- **napalmArgs** | **[]string** | |
- **napalmDriver** | **[]string** | |
- **napalmDriverIc** | **[]string** | |
- **napalmDriverIe** | **[]string** | |
- **napalmDriverIew** | **[]string** | |
- **napalmDriverIre** | **[]string** | |
- **napalmDriverIsw** | **[]string** | |
- **napalmDriverN** | **[]string** | |
- **napalmDriverNic** | **[]string** | |
- **napalmDriverNie** | **[]string** | |
- **napalmDriverNiew** | **[]string** | |
- **napalmDriverNire** | **[]string** | |
- **napalmDriverNisw** | **[]string** | |
- **napalmDriverNre** | **[]string** | |
- **napalmDriverRe** | **[]string** | |
- **networkDriver** | **[]string** | |
- **networkDriverIc** | **[]string** | |
- **networkDriverIe** | **[]string** | |
- **networkDriverIew** | **[]string** | |
- **networkDriverIre** | **[]string** | |
- **networkDriverIsw** | **[]string** | |
- **networkDriverN** | **[]string** | |
- **networkDriverNic** | **[]string** | |
- **networkDriverNie** | **[]string** | |
- **networkDriverNiew** | **[]string** | |
- **networkDriverNire** | **[]string** | |
- **networkDriverNisw** | **[]string** | |
- **networkDriverNre** | **[]string** | |
- **networkDriverRe** | **[]string** | |
- **offset** | **int32** | The initial index from which to return the results. |
- **q** | **string** | Search |
- **sort** | **string** | Which field to use when ordering the results. |
- **teams** | **[]string** | |
- **teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
- **virtualMachines** | **[]string** | |
- **virtualMachinesIsnull** | **bool** | |
- **virtualMachinesN** | **[]string** | |
- **depth** | **int32** | Serializer Depth | [default to 1]
-
-### Return type
-
-[**PaginatedPlatformList**](PaginatedPlatformList.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## DcimPlatformsNotesCreate
-
-> Note DcimPlatformsNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this platform.
- noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPlatformsNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPlatformsNotesCreate``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `DcimPlatformsNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPlatformsNotesCreate`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this platform. |
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiDcimPlatformsNotesCreateRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-
- **noteInputRequest** | [**NoteInputRequest**](NoteInputRequest.md) | |
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
-
-### Return type
-
-[**Note**](Note.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: application/json, text/csv
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## DcimPlatformsNotesList
-
-> PaginatedNoteList DcimPlatformsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this platform.
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- limit := int32(56) // int32 | Number of results to return per page. (optional)
- offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPlatformsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPlatformsNotesList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `DcimPlatformsNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPlatformsNotesList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this platform. |
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiDcimPlatformsNotesListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
+ **phase** | **[]string** | |
+ **phaseIc** | **[]string** | |
+ **phaseIe** | **[]string** | |
+ **phaseIew** | **[]string** | |
+ **phaseIre** | **[]string** | |
+ **phaseIsw** | **[]string** | |
+ **phaseN** | **[]string** | |
+ **phaseNic** | **[]string** | |
+ **phaseNie** | **[]string** | |
+ **phaseNiew** | **[]string** | |
+ **phaseNire** | **[]string** | |
+ **phaseNisw** | **[]string** | |
+ **phaseNre** | **[]string** | |
+ **phaseRe** | **[]string** | |
+ **powerPanel** | **[]string** | |
+ **powerPanelN** | **[]string** | |
+ **powerPath** | **[]string** | Physical power distribution redundancy path. |
+ **powerPathIc** | **[]string** | |
+ **powerPathIe** | **[]string** | |
+ **powerPathIew** | **[]string** | |
+ **powerPathIre** | **[]string** | |
+ **powerPathIsw** | **[]string** | |
+ **powerPathN** | **[]string** | |
+ **powerPathNic** | **[]string** | |
+ **powerPathNie** | **[]string** | |
+ **powerPathNiew** | **[]string** | |
+ **powerPathNire** | **[]string** | |
+ **powerPathNisw** | **[]string** | |
+ **powerPathNre** | **[]string** | |
+ **powerPathRe** | **[]string** | |
+ **q** | **string** | Search |
+ **rack** | **[]string** | |
+ **rackIsnull** | **bool** | Rack (name or ID) is null |
+ **rackN** | **[]string** | |
+ **sort** | **string** | Which field to use when ordering the results. |
+ **status** | **[]string** | |
+ **statusN** | **[]string** | |
+ **supply** | **[]string** | |
+ **supplyIc** | **[]string** | |
+ **supplyIe** | **[]string** | |
+ **supplyIew** | **[]string** | |
+ **supplyIre** | **[]string** | |
+ **supplyIsw** | **[]string** | |
+ **supplyN** | **[]string** | |
+ **supplyNic** | **[]string** | |
+ **supplyNie** | **[]string** | |
+ **supplyNiew** | **[]string** | |
+ **supplyNire** | **[]string** | |
+ **supplyNisw** | **[]string** | |
+ **supplyNre** | **[]string** | |
+ **supplyRe** | **[]string** | |
+ **tags** | **[]string** | |
+ **tagsIsnull** | **bool** | |
+ **tagsN** | **[]string** | |
+ **teams** | **[]string** | |
+ **teamsIsnull** | **bool** | Teams (name or ID) is null |
+ **teamsN** | **[]string** | |
+ **type_** | **[]string** | |
+ **typeIc** | **[]string** | |
+ **typeIe** | **[]string** | |
+ **typeIew** | **[]string** | |
+ **typeIre** | **[]string** | |
+ **typeIsw** | **[]string** | |
+ **typeN** | **[]string** | |
+ **typeNic** | **[]string** | |
+ **typeNie** | **[]string** | |
+ **typeNiew** | **[]string** | |
+ **typeNire** | **[]string** | |
+ **typeNisw** | **[]string** | |
+ **typeNre** | **[]string** | |
+ **typeRe** | **[]string** | |
+ **voltage** | **[]int32** | |
+ **voltageGt** | **[]int32** | |
+ **voltageGte** | **[]int32** | |
+ **voltageLt** | **[]int32** | |
+ **voltageLte** | **[]int32** | |
+ **voltageN** | **[]int32** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PaginatedNoteList**](PaginatedNoteList.md)
+[**PaginatedPowerFeedList**](PaginatedPowerFeedList.md)
### Authorization
@@ -29836,9 +31154,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPlatformsPartialUpdate
+## DcimPowerFeedsNotesCreate
-> Platform DcimPlatformsPartialUpdate(ctx, id).Format(format).PatchedPlatformRequest(patchedPlatformRequest).Execute()
+> Note DcimPowerFeedsNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
@@ -29857,19 +31175,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this platform.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power feed.
+ noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- patchedPlatformRequest := *openapiclient.NewPatchedPlatformRequest() // PatchedPlatformRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPlatformsPartialUpdate(context.Background(), id).Format(format).PatchedPlatformRequest(patchedPlatformRequest).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerFeedsNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPlatformsPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerFeedsNotesCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPlatformsPartialUpdate`: Platform
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPlatformsPartialUpdate`: %v\n", resp)
+ // response from `DcimPowerFeedsNotesCreate`: Note
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerFeedsNotesCreate`: %v\n", resp)
}
```
@@ -29879,22 +31197,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this platform. |
+**id** | **string** | A UUID string identifying this power feed. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPlatformsPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerFeedsNotesCreateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
+ **noteInputRequest** | [**NoteInputRequest**](NoteInputRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **patchedPlatformRequest** | [**PatchedPlatformRequest**](PatchedPlatformRequest.md) | |
### Return type
-[**Platform**](Platform.md)
+[**Note**](Note.md)
### Authorization
@@ -29910,9 +31228,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPlatformsRetrieve
+## DcimPowerFeedsNotesList
-> Platform DcimPlatformsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> PaginatedNoteList DcimPowerFeedsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -29931,19 +31249,22 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this platform.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power feed.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ limit := int32(56) // int32 | Number of results to return per page. (optional)
+ offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPlatformsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerFeedsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPlatformsRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerFeedsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPlatformsRetrieve`: Platform
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPlatformsRetrieve`: %v\n", resp)
+ // response from `DcimPowerFeedsNotesList`: PaginatedNoteList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerFeedsNotesList`: %v\n", resp)
}
```
@@ -29953,22 +31274,25 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this platform. |
+**id** | **string** | A UUID string identifying this power feed. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPlatformsRetrieveRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerFeedsNotesListRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **limit** | **int32** | Number of results to return per page. |
+ **offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**Platform**](Platform.md)
+[**PaginatedNoteList**](PaginatedNoteList.md)
### Authorization
@@ -29984,9 +31308,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPlatformsUpdate
+## DcimPowerFeedsPartialUpdate
-> Platform DcimPlatformsUpdate(ctx, id).PlatformRequest(platformRequest).Format(format).Execute()
+> PowerFeed DcimPowerFeedsPartialUpdate(ctx, id).Format(format).PatchedWritablePowerFeedRequest(patchedWritablePowerFeedRequest).Execute()
@@ -30005,19 +31329,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this platform.
- platformRequest := *openapiclient.NewPlatformRequest("Name_example") // PlatformRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power feed.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ patchedWritablePowerFeedRequest := *openapiclient.NewPatchedWritablePowerFeedRequest() // PatchedWritablePowerFeedRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPlatformsUpdate(context.Background(), id).PlatformRequest(platformRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerFeedsPartialUpdate(context.Background(), id).Format(format).PatchedWritablePowerFeedRequest(patchedWritablePowerFeedRequest).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPlatformsUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerFeedsPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPlatformsUpdate`: Platform
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPlatformsUpdate`: %v\n", resp)
+ // response from `DcimPowerFeedsPartialUpdate`: PowerFeed
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerFeedsPartialUpdate`: %v\n", resp)
}
```
@@ -30027,22 +31351,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this platform. |
+**id** | **string** | A UUID string identifying this power feed. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPlatformsUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerFeedsPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **platformRequest** | [**PlatformRequest**](PlatformRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **patchedWritablePowerFeedRequest** | [**PatchedWritablePowerFeedRequest**](PatchedWritablePowerFeedRequest.md) | |
### Return type
-[**Platform**](Platform.md)
+[**PowerFeed**](PowerFeed.md)
### Authorization
@@ -30058,9 +31382,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerConnectionsList
+## DcimPowerFeedsRetrieve
-> PaginatedPowerPortList DcimPowerConnectionsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Device(device).DeviceId(deviceId).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Location(location).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PowerFeed DcimPowerFeedsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -30079,122 +31403,46 @@ import (
)
func main() {
- contacts := []string{"Inner_example"} // []string | (optional)
- contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
- device := []string{"Inner_example"} // []string | Device (name) (optional)
- deviceId := []string{"Inner_example"} // []string | Device (ID) (optional)
- dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power feed.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
- idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
- limit := int32(56) // int32 | Number of results to return per page. (optional)
- location := "location_example" // string | Location (name) (optional)
- name := []string{"Inner_example"} // []string | (optional)
- nameIc := []string{"Inner_example"} // []string | (optional)
- nameIe := []string{"Inner_example"} // []string | (optional)
- nameIew := []string{"Inner_example"} // []string | (optional)
- nameIre := []string{"Inner_example"} // []string | (optional)
- nameIsw := []string{"Inner_example"} // []string | (optional)
- nameN := []string{"Inner_example"} // []string | (optional)
- nameNic := []string{"Inner_example"} // []string | (optional)
- nameNie := []string{"Inner_example"} // []string | (optional)
- nameNiew := []string{"Inner_example"} // []string | (optional)
- nameNire := []string{"Inner_example"} // []string | (optional)
- nameNisw := []string{"Inner_example"} // []string | (optional)
- nameNre := []string{"Inner_example"} // []string | (optional)
- nameRe := []string{"Inner_example"} // []string | (optional)
- offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- sort := "sort_example" // string | Which field to use when ordering the results. (optional)
- teams := []string{"Inner_example"} // []string | (optional)
- teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerConnectionsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Device(device).DeviceId(deviceId).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Location(location).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerFeedsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerConnectionsList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerFeedsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerConnectionsList`: PaginatedPowerPortList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerConnectionsList`: %v\n", resp)
+ // response from `DcimPowerFeedsRetrieve`: PowerFeed
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerFeedsRetrieve`: %v\n", resp)
}
```
### Path Parameters
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this power feed. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerConnectionsListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerFeedsRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **contacts** | **[]string** | |
- **contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
- **device** | **[]string** | Device (name) |
- **deviceId** | **[]string** | Device (ID) |
- **dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
- **idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
- **limit** | **int32** | Number of results to return per page. |
- **location** | **string** | Location (name) |
- **name** | **[]string** | |
- **nameIc** | **[]string** | |
- **nameIe** | **[]string** | |
- **nameIew** | **[]string** | |
- **nameIre** | **[]string** | |
- **nameIsw** | **[]string** | |
- **nameN** | **[]string** | |
- **nameNic** | **[]string** | |
- **nameNie** | **[]string** | |
- **nameNiew** | **[]string** | |
- **nameNire** | **[]string** | |
- **nameNisw** | **[]string** | |
- **nameNre** | **[]string** | |
- **nameRe** | **[]string** | |
- **offset** | **int32** | The initial index from which to return the results. |
- **sort** | **string** | Which field to use when ordering the results. |
- **teams** | **[]string** | |
- **teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PaginatedPowerPortList**](PaginatedPowerPortList.md)
+[**PowerFeed**](PowerFeed.md)
### Authorization
@@ -30210,9 +31458,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerFeedsBulkDestroy
+## DcimPowerFeedsTraceRetrieve
-> DcimPowerFeedsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+> PowerFeed DcimPowerFeedsTraceRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -30231,104 +31479,46 @@ import (
)
func main() {
- bulkOperationRequest := []openapiclient.BulkOperationRequest{*openapiclient.NewBulkOperationRequest("Id_example")} // []BulkOperationRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power feed.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimPowerFeedsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerFeedsTraceRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerFeedsBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerFeedsTraceRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
+ // response from `DcimPowerFeedsTraceRetrieve`: PowerFeed
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerFeedsTraceRetrieve`: %v\n", resp)
}
```
### Path Parameters
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiDcimPowerFeedsBulkDestroyRequest struct via the builder pattern
-
-
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **bulkOperationRequest** | [**[]BulkOperationRequest**](BulkOperationRequest.md) | |
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
-
-### Return type
-
- (empty response body)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: application/json, text/csv
-- **Accept**: Not defined
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## DcimPowerFeedsBulkPartialUpdate
-
-> []PowerFeed DcimPowerFeedsBulkPartialUpdate(ctx).PatchedBulkWritablePowerFeedRequest(patchedBulkWritablePowerFeedRequest).Format(format).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- patchedBulkWritablePowerFeedRequest := []openapiclient.PatchedBulkWritablePowerFeedRequest{*openapiclient.NewPatchedBulkWritablePowerFeedRequest("Id_example")} // []PatchedBulkWritablePowerFeedRequest |
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerFeedsBulkPartialUpdate(context.Background()).PatchedBulkWritablePowerFeedRequest(patchedBulkWritablePowerFeedRequest).Format(format).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerFeedsBulkPartialUpdate``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `DcimPowerFeedsBulkPartialUpdate`: []PowerFeed
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerFeedsBulkPartialUpdate`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this power feed. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerFeedsBulkPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerFeedsTraceRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **patchedBulkWritablePowerFeedRequest** | [**[]PatchedBulkWritablePowerFeedRequest**](PatchedBulkWritablePowerFeedRequest.md) | |
+
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**[]PowerFeed**](PowerFeed.md)
+[**PowerFeed**](PowerFeed.md)
### Authorization
@@ -30336,7 +31526,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: application/json, text/csv
+- **Content-Type**: Not defined
- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -30344,9 +31534,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerFeedsBulkUpdate
+## DcimPowerFeedsUpdate
-> []PowerFeed DcimPowerFeedsBulkUpdate(ctx).BulkWritablePowerFeedRequest(bulkWritablePowerFeedRequest).Format(format).Execute()
+> PowerFeed DcimPowerFeedsUpdate(ctx, id).WritablePowerFeedRequest(writablePowerFeedRequest).Format(format).Execute()
@@ -30365,38 +31555,44 @@ import (
)
func main() {
- bulkWritablePowerFeedRequest := []openapiclient.BulkWritablePowerFeedRequest{*openapiclient.NewBulkWritablePowerFeedRequest("Id_example", "Name_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritablePowerFeedRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power feed.
+ writablePowerFeedRequest := *openapiclient.NewWritablePowerFeedRequest("Name_example", *openapiclient.NewBulkWritablePowerFeedRequestPowerPanel(), *openapiclient.NewBulkWritableCableRequestStatus()) // WritablePowerFeedRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerFeedsBulkUpdate(context.Background()).BulkWritablePowerFeedRequest(bulkWritablePowerFeedRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerFeedsUpdate(context.Background(), id).WritablePowerFeedRequest(writablePowerFeedRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerFeedsBulkUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerFeedsUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerFeedsBulkUpdate`: []PowerFeed
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerFeedsBulkUpdate`: %v\n", resp)
+ // response from `DcimPowerFeedsUpdate`: PowerFeed
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerFeedsUpdate`: %v\n", resp)
}
```
### Path Parameters
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this power feed. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerFeedsBulkUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerFeedsUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **bulkWritablePowerFeedRequest** | [**[]BulkWritablePowerFeedRequest**](BulkWritablePowerFeedRequest.md) | |
+
+ **writablePowerFeedRequest** | [**WritablePowerFeedRequest**](WritablePowerFeedRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]PowerFeed**](PowerFeed.md)
+[**PowerFeed**](PowerFeed.md)
### Authorization
@@ -30412,9 +31608,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerFeedsCreate
+## DcimPowerOutletTemplatesBulkDestroy
-> PowerFeed DcimPowerFeedsCreate(ctx).WritablePowerFeedRequest(writablePowerFeedRequest).Format(format).Execute()
+> DcimPowerOutletTemplatesBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
@@ -30433,18 +31629,16 @@ import (
)
func main() {
- writablePowerFeedRequest := *openapiclient.NewWritablePowerFeedRequest("Name_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // WritablePowerFeedRequest |
+ bulkOperationRequest := []openapiclient.BulkOperationRequest{*openapiclient.NewBulkOperationRequest("Id_example")} // []BulkOperationRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerFeedsCreate(context.Background()).WritablePowerFeedRequest(writablePowerFeedRequest).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimPowerOutletTemplatesBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerFeedsCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletTemplatesBulkDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerFeedsCreate`: PowerFeed
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerFeedsCreate`: %v\n", resp)
}
```
@@ -30454,17 +31648,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerFeedsCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerOutletTemplatesBulkDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **writablePowerFeedRequest** | [**WritablePowerFeedRequest**](WritablePowerFeedRequest.md) | |
+ **bulkOperationRequest** | [**[]BulkOperationRequest**](BulkOperationRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**PowerFeed**](PowerFeed.md)
+ (empty response body)
### Authorization
@@ -30473,16 +31667,16 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json, text/csv
-- **Accept**: application/json, text/csv
+- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
-## DcimPowerFeedsDestroy
+## DcimPowerOutletTemplatesBulkPartialUpdate
-> DcimPowerFeedsDestroy(ctx, id).Format(format).Execute()
+> []PowerOutletTemplate DcimPowerOutletTemplatesBulkPartialUpdate(ctx).PatchedBulkWritablePowerOutletTemplateRequest(patchedBulkWritablePowerOutletTemplateRequest).Format(format).Execute()
@@ -30501,40 +31695,38 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power feed.
+ patchedBulkWritablePowerOutletTemplateRequest := []openapiclient.PatchedBulkWritablePowerOutletTemplateRequest{*openapiclient.NewPatchedBulkWritablePowerOutletTemplateRequest("Id_example")} // []PatchedBulkWritablePowerOutletTemplateRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimPowerFeedsDestroy(context.Background(), id).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerOutletTemplatesBulkPartialUpdate(context.Background()).PatchedBulkWritablePowerOutletTemplateRequest(patchedBulkWritablePowerOutletTemplateRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerFeedsDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletTemplatesBulkPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
+ // response from `DcimPowerOutletTemplatesBulkPartialUpdate`: []PowerOutletTemplate
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletTemplatesBulkPartialUpdate`: %v\n", resp)
}
```
### Path Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power feed. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerFeedsDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerOutletTemplatesBulkPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-
+ **patchedBulkWritablePowerOutletTemplateRequest** | [**[]PatchedBulkWritablePowerOutletTemplateRequest**](PatchedBulkWritablePowerOutletTemplateRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
- (empty response body)
+[**[]PowerOutletTemplate**](PowerOutletTemplate.md)
### Authorization
@@ -30542,199 +31734,47 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: Not defined
-- **Accept**: Not defined
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## DcimPowerFeedsList
-
-> PaginatedPowerFeedList DcimPowerFeedsList(ctx).Amperage(amperage).AmperageGt(amperageGt).AmperageGte(amperageGte).AmperageLt(amperageLt).AmperageLte(amperageLte).AmperageN(amperageN).AvailablePower(availablePower).AvailablePowerGt(availablePowerGt).AvailablePowerGte(availablePowerGte).AvailablePowerLt(availablePowerLt).AvailablePowerLte(availablePowerLte).AvailablePowerN(availablePowerN).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).Connected(connected).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCable(hasCable).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).MaxUtilization(maxUtilization).MaxUtilizationGt(maxUtilizationGt).MaxUtilizationGte(maxUtilizationGte).MaxUtilizationLt(maxUtilizationLt).MaxUtilizationLte(maxUtilizationLte).MaxUtilizationN(maxUtilizationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Phase(phase).PhaseIc(phaseIc).PhaseIe(phaseIe).PhaseIew(phaseIew).PhaseIre(phaseIre).PhaseIsw(phaseIsw).PhaseN(phaseN).PhaseNic(phaseNic).PhaseNie(phaseNie).PhaseNiew(phaseNiew).PhaseNire(phaseNire).PhaseNisw(phaseNisw).PhaseNre(phaseNre).PhaseRe(phaseRe).PowerPanel(powerPanel).PowerPanelN(powerPanelN).Q(q).Rack(rack).RackIsnull(rackIsnull).RackN(rackN).Sort(sort).Status(status).StatusN(statusN).Supply(supply).SupplyIc(supplyIc).SupplyIe(supplyIe).SupplyIew(supplyIew).SupplyIre(supplyIre).SupplyIsw(supplyIsw).SupplyN(supplyN).SupplyNic(supplyNic).SupplyNie(supplyNie).SupplyNiew(supplyNiew).SupplyNire(supplyNire).SupplyNisw(supplyNisw).SupplyNre(supplyNre).SupplyRe(supplyRe).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Voltage(voltage).VoltageGt(voltageGt).VoltageGte(voltageGte).VoltageLt(voltageLt).VoltageLte(voltageLte).VoltageN(voltageN).Depth(depth).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- "time"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- amperage := []int32{int32(123)} // []int32 | (optional)
- amperageGt := []int32{int32(123)} // []int32 | (optional)
- amperageGte := []int32{int32(123)} // []int32 | (optional)
- amperageLt := []int32{int32(123)} // []int32 | (optional)
- amperageLte := []int32{int32(123)} // []int32 | (optional)
- amperageN := []int32{int32(123)} // []int32 | (optional)
- availablePower := []int32{int32(123)} // []int32 | (optional)
- availablePowerGt := []int32{int32(123)} // []int32 | (optional)
- availablePowerGte := []int32{int32(123)} // []int32 | (optional)
- availablePowerLt := []int32{int32(123)} // []int32 | (optional)
- availablePowerLte := []int32{int32(123)} // []int32 | (optional)
- availablePowerN := []int32{int32(123)} // []int32 | (optional)
- cable := []string{"Inner_example"} // []string | Cable (optional)
- cableIsnull := true // bool | (optional)
- cableN := []string{"Inner_example"} // []string | Cable (optional)
- comments := []string{"Inner_example"} // []string | (optional)
- commentsIc := []string{"Inner_example"} // []string | (optional)
- commentsIe := []string{"Inner_example"} // []string | (optional)
- commentsIew := []string{"Inner_example"} // []string | (optional)
- commentsIre := []string{"Inner_example"} // []string | (optional)
- commentsIsw := []string{"Inner_example"} // []string | (optional)
- commentsN := []string{"Inner_example"} // []string | (optional)
- commentsNic := []string{"Inner_example"} // []string | (optional)
- commentsNie := []string{"Inner_example"} // []string | (optional)
- commentsNiew := []string{"Inner_example"} // []string | (optional)
- commentsNire := []string{"Inner_example"} // []string | (optional)
- commentsNisw := []string{"Inner_example"} // []string | (optional)
- commentsNre := []string{"Inner_example"} // []string | (optional)
- commentsRe := []string{"Inner_example"} // []string | (optional)
- connected := true // bool | Connected status (bool) (optional)
- contacts := []string{"Inner_example"} // []string | (optional)
- contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
- created := []time.Time{time.Now()} // []time.Time | (optional)
- createdGt := []time.Time{time.Now()} // []time.Time | (optional)
- createdGte := []time.Time{time.Now()} // []time.Time | (optional)
- createdIsnull := true // bool | (optional)
- createdLt := []time.Time{time.Now()} // []time.Time | (optional)
- createdLte := []time.Time{time.Now()} // []time.Time | (optional)
- createdN := []time.Time{time.Now()} // []time.Time | (optional)
- dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- hasCable := true // bool | Has cable (optional)
- id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
- idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
- lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
- lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
- lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
- lastUpdatedIsnull := true // bool | (optional)
- lastUpdatedLt := []time.Time{time.Now()} // []time.Time | (optional)
- lastUpdatedLte := []time.Time{time.Now()} // []time.Time | (optional)
- lastUpdatedN := []time.Time{time.Now()} // []time.Time | (optional)
- limit := int32(56) // int32 | Number of results to return per page. (optional)
- location := []string{"Inner_example"} // []string | (optional)
- locationN := []string{"Inner_example"} // []string | (optional)
- maxUtilization := []int32{int32(123)} // []int32 | (optional)
- maxUtilizationGt := []int32{int32(123)} // []int32 | (optional)
- maxUtilizationGte := []int32{int32(123)} // []int32 | (optional)
- maxUtilizationLt := []int32{int32(123)} // []int32 | (optional)
- maxUtilizationLte := []int32{int32(123)} // []int32 | (optional)
- maxUtilizationN := []int32{int32(123)} // []int32 | (optional)
- name := []string{"Inner_example"} // []string | (optional)
- nameIc := []string{"Inner_example"} // []string | (optional)
- nameIe := []string{"Inner_example"} // []string | (optional)
- nameIew := []string{"Inner_example"} // []string | (optional)
- nameIre := []string{"Inner_example"} // []string | (optional)
- nameIsw := []string{"Inner_example"} // []string | (optional)
- nameN := []string{"Inner_example"} // []string | (optional)
- nameNic := []string{"Inner_example"} // []string | (optional)
- nameNie := []string{"Inner_example"} // []string | (optional)
- nameNiew := []string{"Inner_example"} // []string | (optional)
- nameNire := []string{"Inner_example"} // []string | (optional)
- nameNisw := []string{"Inner_example"} // []string | (optional)
- nameNre := []string{"Inner_example"} // []string | (optional)
- nameRe := []string{"Inner_example"} // []string | (optional)
- offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- phase := []string{"Inner_example"} // []string | (optional)
- phaseIc := []string{"Inner_example"} // []string | (optional)
- phaseIe := []string{"Inner_example"} // []string | (optional)
- phaseIew := []string{"Inner_example"} // []string | (optional)
- phaseIre := []string{"Inner_example"} // []string | (optional)
- phaseIsw := []string{"Inner_example"} // []string | (optional)
- phaseN := []string{"Inner_example"} // []string | (optional)
- phaseNic := []string{"Inner_example"} // []string | (optional)
- phaseNie := []string{"Inner_example"} // []string | (optional)
- phaseNiew := []string{"Inner_example"} // []string | (optional)
- phaseNire := []string{"Inner_example"} // []string | (optional)
- phaseNisw := []string{"Inner_example"} // []string | (optional)
- phaseNre := []string{"Inner_example"} // []string | (optional)
- phaseRe := []string{"Inner_example"} // []string | (optional)
- powerPanel := []string{"Inner_example"} // []string | (optional)
- powerPanelN := []string{"Inner_example"} // []string | (optional)
- q := "q_example" // string | Search (optional)
- rack := []string{"Inner_example"} // []string | (optional)
- rackIsnull := true // bool | Rack (name or ID) is null (optional)
- rackN := []string{"Inner_example"} // []string | (optional)
- sort := "sort_example" // string | Which field to use when ordering the results. (optional)
- status := []string{"Inner_example"} // []string | (optional)
- statusN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Status (name or ID) (optional)
- supply := []string{"Inner_example"} // []string | (optional)
- supplyIc := []string{"Inner_example"} // []string | (optional)
- supplyIe := []string{"Inner_example"} // []string | (optional)
- supplyIew := []string{"Inner_example"} // []string | (optional)
- supplyIre := []string{"Inner_example"} // []string | (optional)
- supplyIsw := []string{"Inner_example"} // []string | (optional)
- supplyN := []string{"Inner_example"} // []string | (optional)
- supplyNic := []string{"Inner_example"} // []string | (optional)
- supplyNie := []string{"Inner_example"} // []string | (optional)
- supplyNiew := []string{"Inner_example"} // []string | (optional)
- supplyNire := []string{"Inner_example"} // []string | (optional)
- supplyNisw := []string{"Inner_example"} // []string | (optional)
- supplyNre := []string{"Inner_example"} // []string | (optional)
- supplyRe := []string{"Inner_example"} // []string | (optional)
- tags := []string{"Inner_example"} // []string | (optional)
- tagsIsnull := true // bool | (optional)
- tagsN := []string{"Inner_example"} // []string | (optional)
- teams := []string{"Inner_example"} // []string | (optional)
- teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
- type_ := []string{"Inner_example"} // []string | (optional)
- typeIc := []string{"Inner_example"} // []string | (optional)
- typeIe := []string{"Inner_example"} // []string | (optional)
- typeIew := []string{"Inner_example"} // []string | (optional)
- typeIre := []string{"Inner_example"} // []string | (optional)
- typeIsw := []string{"Inner_example"} // []string | (optional)
- typeN := []string{"Inner_example"} // []string | (optional)
- typeNic := []string{"Inner_example"} // []string | (optional)
- typeNie := []string{"Inner_example"} // []string | (optional)
- typeNiew := []string{"Inner_example"} // []string | (optional)
- typeNire := []string{"Inner_example"} // []string | (optional)
- typeNisw := []string{"Inner_example"} // []string | (optional)
- typeNre := []string{"Inner_example"} // []string | (optional)
- typeRe := []string{"Inner_example"} // []string | (optional)
- voltage := []int32{int32(123)} // []int32 | (optional)
- voltageGt := []int32{int32(123)} // []int32 | (optional)
- voltageGte := []int32{int32(123)} // []int32 | (optional)
- voltageLt := []int32{int32(123)} // []int32 | (optional)
- voltageLte := []int32{int32(123)} // []int32 | (optional)
- voltageN := []int32{int32(123)} // []int32 | (optional)
- depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimPowerOutletTemplatesBulkUpdate
+
+> []PowerOutletTemplate DcimPowerOutletTemplatesBulkUpdate(ctx).BulkWritablePowerOutletTemplateRequest(bulkWritablePowerOutletTemplateRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ bulkWritablePowerOutletTemplateRequest := []openapiclient.BulkWritablePowerOutletTemplateRequest{*openapiclient.NewBulkWritablePowerOutletTemplateRequest("Id_example", "Name_example")} // []BulkWritablePowerOutletTemplateRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerFeedsList(context.Background()).Amperage(amperage).AmperageGt(amperageGt).AmperageGte(amperageGte).AmperageLt(amperageLt).AmperageLte(amperageLte).AmperageN(amperageN).AvailablePower(availablePower).AvailablePowerGt(availablePowerGt).AvailablePowerGte(availablePowerGte).AvailablePowerLt(availablePowerLt).AvailablePowerLte(availablePowerLte).AvailablePowerN(availablePowerN).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).Connected(connected).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCable(hasCable).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).MaxUtilization(maxUtilization).MaxUtilizationGt(maxUtilizationGt).MaxUtilizationGte(maxUtilizationGte).MaxUtilizationLt(maxUtilizationLt).MaxUtilizationLte(maxUtilizationLte).MaxUtilizationN(maxUtilizationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Phase(phase).PhaseIc(phaseIc).PhaseIe(phaseIe).PhaseIew(phaseIew).PhaseIre(phaseIre).PhaseIsw(phaseIsw).PhaseN(phaseN).PhaseNic(phaseNic).PhaseNie(phaseNie).PhaseNiew(phaseNiew).PhaseNire(phaseNire).PhaseNisw(phaseNisw).PhaseNre(phaseNre).PhaseRe(phaseRe).PowerPanel(powerPanel).PowerPanelN(powerPanelN).Q(q).Rack(rack).RackIsnull(rackIsnull).RackN(rackN).Sort(sort).Status(status).StatusN(statusN).Supply(supply).SupplyIc(supplyIc).SupplyIe(supplyIe).SupplyIew(supplyIew).SupplyIre(supplyIre).SupplyIsw(supplyIsw).SupplyN(supplyN).SupplyNic(supplyNic).SupplyNie(supplyNie).SupplyNiew(supplyNiew).SupplyNire(supplyNire).SupplyNisw(supplyNisw).SupplyNre(supplyNre).SupplyRe(supplyRe).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Voltage(voltage).VoltageGt(voltageGt).VoltageGte(voltageGte).VoltageLt(voltageLt).VoltageLte(voltageLte).VoltageN(voltageN).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerOutletTemplatesBulkUpdate(context.Background()).BulkWritablePowerOutletTemplateRequest(bulkWritablePowerOutletTemplateRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerFeedsList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletTemplatesBulkUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerFeedsList`: PaginatedPowerFeedList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerFeedsList`: %v\n", resp)
+ // response from `DcimPowerOutletTemplatesBulkUpdate`: []PowerOutletTemplate
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletTemplatesBulkUpdate`: %v\n", resp)
}
```
@@ -30744,168 +31784,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerFeedsListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerOutletTemplatesBulkUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **amperage** | **[]int32** | |
- **amperageGt** | **[]int32** | |
- **amperageGte** | **[]int32** | |
- **amperageLt** | **[]int32** | |
- **amperageLte** | **[]int32** | |
- **amperageN** | **[]int32** | |
- **availablePower** | **[]int32** | |
- **availablePowerGt** | **[]int32** | |
- **availablePowerGte** | **[]int32** | |
- **availablePowerLt** | **[]int32** | |
- **availablePowerLte** | **[]int32** | |
- **availablePowerN** | **[]int32** | |
- **cable** | **[]string** | Cable |
- **cableIsnull** | **bool** | |
- **cableN** | **[]string** | Cable |
- **comments** | **[]string** | |
- **commentsIc** | **[]string** | |
- **commentsIe** | **[]string** | |
- **commentsIew** | **[]string** | |
- **commentsIre** | **[]string** | |
- **commentsIsw** | **[]string** | |
- **commentsN** | **[]string** | |
- **commentsNic** | **[]string** | |
- **commentsNie** | **[]string** | |
- **commentsNiew** | **[]string** | |
- **commentsNire** | **[]string** | |
- **commentsNisw** | **[]string** | |
- **commentsNre** | **[]string** | |
- **commentsRe** | **[]string** | |
- **connected** | **bool** | Connected status (bool) |
- **contacts** | **[]string** | |
- **contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
- **created** | [**[]time.Time**](time.Time.md) | |
- **createdGt** | [**[]time.Time**](time.Time.md) | |
- **createdGte** | [**[]time.Time**](time.Time.md) | |
- **createdIsnull** | **bool** | |
- **createdLt** | [**[]time.Time**](time.Time.md) | |
- **createdLte** | [**[]time.Time**](time.Time.md) | |
- **createdN** | [**[]time.Time**](time.Time.md) | |
- **dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **bulkWritablePowerOutletTemplateRequest** | [**[]BulkWritablePowerOutletTemplateRequest**](BulkWritablePowerOutletTemplateRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **hasCable** | **bool** | Has cable |
- **id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
- **idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
- **lastUpdated** | [**[]time.Time**](time.Time.md) | |
- **lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
- **lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
- **lastUpdatedIsnull** | **bool** | |
- **lastUpdatedLt** | [**[]time.Time**](time.Time.md) | |
- **lastUpdatedLte** | [**[]time.Time**](time.Time.md) | |
- **lastUpdatedN** | [**[]time.Time**](time.Time.md) | |
- **limit** | **int32** | Number of results to return per page. |
- **location** | **[]string** | |
- **locationN** | **[]string** | |
- **maxUtilization** | **[]int32** | |
- **maxUtilizationGt** | **[]int32** | |
- **maxUtilizationGte** | **[]int32** | |
- **maxUtilizationLt** | **[]int32** | |
- **maxUtilizationLte** | **[]int32** | |
- **maxUtilizationN** | **[]int32** | |
- **name** | **[]string** | |
- **nameIc** | **[]string** | |
- **nameIe** | **[]string** | |
- **nameIew** | **[]string** | |
- **nameIre** | **[]string** | |
- **nameIsw** | **[]string** | |
- **nameN** | **[]string** | |
- **nameNic** | **[]string** | |
- **nameNie** | **[]string** | |
- **nameNiew** | **[]string** | |
- **nameNire** | **[]string** | |
- **nameNisw** | **[]string** | |
- **nameNre** | **[]string** | |
- **nameRe** | **[]string** | |
- **offset** | **int32** | The initial index from which to return the results. |
- **phase** | **[]string** | |
- **phaseIc** | **[]string** | |
- **phaseIe** | **[]string** | |
- **phaseIew** | **[]string** | |
- **phaseIre** | **[]string** | |
- **phaseIsw** | **[]string** | |
- **phaseN** | **[]string** | |
- **phaseNic** | **[]string** | |
- **phaseNie** | **[]string** | |
- **phaseNiew** | **[]string** | |
- **phaseNire** | **[]string** | |
- **phaseNisw** | **[]string** | |
- **phaseNre** | **[]string** | |
- **phaseRe** | **[]string** | |
- **powerPanel** | **[]string** | |
- **powerPanelN** | **[]string** | |
- **q** | **string** | Search |
- **rack** | **[]string** | |
- **rackIsnull** | **bool** | Rack (name or ID) is null |
- **rackN** | **[]string** | |
- **sort** | **string** | Which field to use when ordering the results. |
- **status** | **[]string** | |
- **statusN** | **string** | Exclude Status (name or ID) |
- **supply** | **[]string** | |
- **supplyIc** | **[]string** | |
- **supplyIe** | **[]string** | |
- **supplyIew** | **[]string** | |
- **supplyIre** | **[]string** | |
- **supplyIsw** | **[]string** | |
- **supplyN** | **[]string** | |
- **supplyNic** | **[]string** | |
- **supplyNie** | **[]string** | |
- **supplyNiew** | **[]string** | |
- **supplyNire** | **[]string** | |
- **supplyNisw** | **[]string** | |
- **supplyNre** | **[]string** | |
- **supplyRe** | **[]string** | |
- **tags** | **[]string** | |
- **tagsIsnull** | **bool** | |
- **tagsN** | **[]string** | |
- **teams** | **[]string** | |
- **teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
- **type_** | **[]string** | |
- **typeIc** | **[]string** | |
- **typeIe** | **[]string** | |
- **typeIew** | **[]string** | |
- **typeIre** | **[]string** | |
- **typeIsw** | **[]string** | |
- **typeN** | **[]string** | |
- **typeNic** | **[]string** | |
- **typeNie** | **[]string** | |
- **typeNiew** | **[]string** | |
- **typeNire** | **[]string** | |
- **typeNisw** | **[]string** | |
- **typeNre** | **[]string** | |
- **typeRe** | **[]string** | |
- **voltage** | **[]int32** | |
- **voltageGt** | **[]int32** | |
- **voltageGte** | **[]int32** | |
- **voltageLt** | **[]int32** | |
- **voltageLte** | **[]int32** | |
- **voltageN** | **[]int32** | |
- **depth** | **int32** | Serializer Depth | [default to 1]
### Return type
-[**PaginatedPowerFeedList**](PaginatedPowerFeedList.md)
+[**[]PowerOutletTemplate**](PowerOutletTemplate.md)
### Authorization
@@ -30913,7 +31802,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: Not defined
+- **Content-Type**: application/json, text/csv
- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -30921,9 +31810,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerFeedsNotesCreate
+## DcimPowerOutletTemplatesCreate
-> Note DcimPowerFeedsNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+> PowerOutletTemplate DcimPowerOutletTemplatesCreate(ctx).WritablePowerOutletTemplateRequest(writablePowerOutletTemplateRequest).Format(format).Execute()
@@ -30942,44 +31831,38 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power feed.
- noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
+ writablePowerOutletTemplateRequest := *openapiclient.NewWritablePowerOutletTemplateRequest("Name_example") // WritablePowerOutletTemplateRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerFeedsNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerOutletTemplatesCreate(context.Background()).WritablePowerOutletTemplateRequest(writablePowerOutletTemplateRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerFeedsNotesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletTemplatesCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerFeedsNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerFeedsNotesCreate`: %v\n", resp)
+ // response from `DcimPowerOutletTemplatesCreate`: PowerOutletTemplate
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletTemplatesCreate`: %v\n", resp)
}
```
### Path Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power feed. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerFeedsNotesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerOutletTemplatesCreateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-
- **noteInputRequest** | [**NoteInputRequest**](NoteInputRequest.md) | |
+ **writablePowerOutletTemplateRequest** | [**WritablePowerOutletTemplateRequest**](WritablePowerOutletTemplateRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**Note**](Note.md)
+[**PowerOutletTemplate**](PowerOutletTemplate.md)
### Authorization
@@ -30995,9 +31878,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerFeedsNotesList
+## DcimPowerOutletTemplatesDestroy
-> PaginatedNoteList DcimPowerFeedsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> DcimPowerOutletTemplatesDestroy(ctx, id).Format(format).Execute()
@@ -31016,21 +31899,16 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power feed.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power outlet template.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- limit := int32(56) // int32 | Number of results to return per page. (optional)
- offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerFeedsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ r, err := apiClient.DcimAPI.DcimPowerOutletTemplatesDestroy(context.Background(), id).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerFeedsNotesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletTemplatesDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerFeedsNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerFeedsNotesList`: %v\n", resp)
}
```
@@ -31040,24 +31918,21 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power feed. |
+**id** | **string** | A UUID string identifying this power outlet template. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerFeedsNotesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerOutletTemplatesDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **limit** | **int32** | Number of results to return per page. |
- **offset** | **int32** | The initial index from which to return the results. |
- **depth** | **int32** | Serializer Depth | [default to 1]
### Return type
-[**PaginatedNoteList**](PaginatedNoteList.md)
+ (empty response body)
### Authorization
@@ -31066,16 +31941,16 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: application/json, text/csv
+- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
-## DcimPowerFeedsPartialUpdate
+## DcimPowerOutletTemplatesList
-> PowerFeed DcimPowerFeedsPartialUpdate(ctx, id).Format(format).PatchedWritablePowerFeedRequest(patchedWritablePowerFeedRequest).Execute()
+> PaginatedPowerOutletTemplateList DcimPowerOutletTemplatesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).FeedLeg(feedLeg).FeedLegIc(feedLegIc).FeedLegIe(feedLegIe).FeedLegIew(feedLegIew).FeedLegIre(feedLegIre).FeedLegIsw(feedLegIsw).FeedLegN(feedLegN).FeedLegNic(feedLegNic).FeedLegNie(feedLegNie).FeedLegNiew(feedLegNiew).FeedLegNire(feedLegNire).FeedLegNisw(feedLegNisw).FeedLegNre(feedLegNre).FeedLegRe(feedLegRe).Format(format).HasDeviceType(hasDeviceType).HasModuleType(hasModuleType).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).PowerPortTemplate(powerPortTemplate).PowerPortTemplateIsnull(powerPortTemplateIsnull).PowerPortTemplateN(powerPortTemplateN).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -31094,44 +31969,230 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power feed.
+ contacts := []string{"Inner_example"} // []string | (optional)
+ contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
+ description := []string{"Inner_example"} // []string | Description (optional)
+ descriptionIc := []string{"Inner_example"} // []string | Description (optional)
+ descriptionIe := []string{"Inner_example"} // []string | Description (optional)
+ descriptionIew := []string{"Inner_example"} // []string | Description (optional)
+ descriptionIre := []string{"Inner_example"} // []string | Description (optional)
+ descriptionIsw := []string{"Inner_example"} // []string | Description (optional)
+ descriptionN := []string{"Inner_example"} // []string | Description (optional)
+ descriptionNic := []string{"Inner_example"} // []string | Description (optional)
+ descriptionNie := []string{"Inner_example"} // []string | Description (optional)
+ descriptionNiew := []string{"Inner_example"} // []string | Description (optional)
+ descriptionNire := []string{"Inner_example"} // []string | Description (optional)
+ descriptionNisw := []string{"Inner_example"} // []string | Description (optional)
+ descriptionNre := []string{"Inner_example"} // []string | Description (optional)
+ descriptionRe := []string{"Inner_example"} // []string | Description (optional)
+ deviceType := []string{"Inner_example"} // []string | (optional)
+ deviceTypeIsnull := true // bool | Device type (model or ID) is null (optional)
+ deviceTypeN := []string{"Inner_example"} // []string | (optional)
+ dynamicGroups := []string{"Inner_example"} // []string | (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
+ feedLeg := []string{"Inner_example"} // []string | Phase (for three-phase feeds) (optional)
+ feedLegIc := []string{"Inner_example"} // []string | (optional)
+ feedLegIe := []string{"Inner_example"} // []string | (optional)
+ feedLegIew := []string{"Inner_example"} // []string | (optional)
+ feedLegIre := []string{"Inner_example"} // []string | (optional)
+ feedLegIsw := []string{"Inner_example"} // []string | (optional)
+ feedLegN := []string{"Inner_example"} // []string | (optional)
+ feedLegNic := []string{"Inner_example"} // []string | (optional)
+ feedLegNie := []string{"Inner_example"} // []string | (optional)
+ feedLegNiew := []string{"Inner_example"} // []string | (optional)
+ feedLegNire := []string{"Inner_example"} // []string | (optional)
+ feedLegNisw := []string{"Inner_example"} // []string | (optional)
+ feedLegNre := []string{"Inner_example"} // []string | (optional)
+ feedLegRe := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- patchedWritablePowerFeedRequest := *openapiclient.NewPatchedWritablePowerFeedRequest() // PatchedWritablePowerFeedRequest | (optional)
+ hasDeviceType := true // bool | Has device type (optional)
+ hasModuleType := true // bool | Has module type (optional)
+ id := []string{"Inner_example"} // []string | ID (optional)
+ idN := []string{"Inner_example"} // []string | Exclude ID (optional)
+ label := []string{"Inner_example"} // []string | Label (optional)
+ labelIc := []string{"Inner_example"} // []string | Label (optional)
+ labelIe := []string{"Inner_example"} // []string | Label (optional)
+ labelIew := []string{"Inner_example"} // []string | Label (optional)
+ labelIre := []string{"Inner_example"} // []string | Label (optional)
+ labelIsw := []string{"Inner_example"} // []string | Label (optional)
+ labelN := []string{"Inner_example"} // []string | Label (optional)
+ labelNic := []string{"Inner_example"} // []string | Label (optional)
+ labelNie := []string{"Inner_example"} // []string | Label (optional)
+ labelNiew := []string{"Inner_example"} // []string | Label (optional)
+ labelNire := []string{"Inner_example"} // []string | Label (optional)
+ labelNisw := []string{"Inner_example"} // []string | Label (optional)
+ labelNre := []string{"Inner_example"} // []string | Label (optional)
+ labelRe := []string{"Inner_example"} // []string | Label (optional)
+ limit := int32(56) // int32 | Number of results to return per page. (optional)
+ moduleType := []string{"Inner_example"} // []string | (optional)
+ moduleTypeIsnull := true // bool | Module type (model or ID) is null (optional)
+ moduleTypeN := []string{"Inner_example"} // []string | (optional)
+ name := []string{"Inner_example"} // []string | Name (optional)
+ nameIc := []string{"Inner_example"} // []string | Name (optional)
+ nameIe := []string{"Inner_example"} // []string | Name (optional)
+ nameIew := []string{"Inner_example"} // []string | Name (optional)
+ nameIre := []string{"Inner_example"} // []string | Name (optional)
+ nameIsw := []string{"Inner_example"} // []string | Name (optional)
+ nameN := []string{"Inner_example"} // []string | Name (optional)
+ nameNic := []string{"Inner_example"} // []string | Name (optional)
+ nameNie := []string{"Inner_example"} // []string | Name (optional)
+ nameNiew := []string{"Inner_example"} // []string | Name (optional)
+ nameNire := []string{"Inner_example"} // []string | Name (optional)
+ nameNisw := []string{"Inner_example"} // []string | Name (optional)
+ nameNre := []string{"Inner_example"} // []string | Name (optional)
+ nameRe := []string{"Inner_example"} // []string | Name (optional)
+ offset := int32(56) // int32 | The initial index from which to return the results. (optional)
+ powerPortTemplate := []string{"Inner_example"} // []string | (optional)
+ powerPortTemplateIsnull := true // bool | Power port template (name or ID) is null (optional)
+ powerPortTemplateN := []string{"Inner_example"} // []string | (optional)
+ q := "q_example" // string | Search (optional)
+ sort := "sort_example" // string | Which field to use when ordering the results. (optional)
+ teams := []string{"Inner_example"} // []string | (optional)
+ teamsIsnull := true // bool | Teams (name or ID) is null (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
+ type_ := []string{"Inner_example"} // []string | (optional)
+ typeIc := []string{"Inner_example"} // []string | (optional)
+ typeIe := []string{"Inner_example"} // []string | (optional)
+ typeIew := []string{"Inner_example"} // []string | (optional)
+ typeIre := []string{"Inner_example"} // []string | (optional)
+ typeIsw := []string{"Inner_example"} // []string | (optional)
+ typeN := []string{"Inner_example"} // []string | (optional)
+ typeNic := []string{"Inner_example"} // []string | (optional)
+ typeNie := []string{"Inner_example"} // []string | (optional)
+ typeNiew := []string{"Inner_example"} // []string | (optional)
+ typeNire := []string{"Inner_example"} // []string | (optional)
+ typeNisw := []string{"Inner_example"} // []string | (optional)
+ typeNre := []string{"Inner_example"} // []string | (optional)
+ typeRe := []string{"Inner_example"} // []string | (optional)
+ depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerFeedsPartialUpdate(context.Background(), id).Format(format).PatchedWritablePowerFeedRequest(patchedWritablePowerFeedRequest).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerOutletTemplatesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).FeedLeg(feedLeg).FeedLegIc(feedLegIc).FeedLegIe(feedLegIe).FeedLegIew(feedLegIew).FeedLegIre(feedLegIre).FeedLegIsw(feedLegIsw).FeedLegN(feedLegN).FeedLegNic(feedLegNic).FeedLegNie(feedLegNie).FeedLegNiew(feedLegNiew).FeedLegNire(feedLegNire).FeedLegNisw(feedLegNisw).FeedLegNre(feedLegNre).FeedLegRe(feedLegRe).Format(format).HasDeviceType(hasDeviceType).HasModuleType(hasModuleType).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).PowerPortTemplate(powerPortTemplate).PowerPortTemplateIsnull(powerPortTemplateIsnull).PowerPortTemplateN(powerPortTemplateN).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerFeedsPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletTemplatesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerFeedsPartialUpdate`: PowerFeed
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerFeedsPartialUpdate`: %v\n", resp)
+ // response from `DcimPowerOutletTemplatesList`: PaginatedPowerOutletTemplateList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletTemplatesList`: %v\n", resp)
}
```
### Path Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power feed. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerFeedsPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerOutletTemplatesListRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-
+ **contacts** | **[]string** | |
+ **contactsIsnull** | **bool** | Contacts (name or ID) is null |
+ **contactsN** | **[]string** | |
+ **description** | **[]string** | Description |
+ **descriptionIc** | **[]string** | Description |
+ **descriptionIe** | **[]string** | Description |
+ **descriptionIew** | **[]string** | Description |
+ **descriptionIre** | **[]string** | Description |
+ **descriptionIsw** | **[]string** | Description |
+ **descriptionN** | **[]string** | Description |
+ **descriptionNic** | **[]string** | Description |
+ **descriptionNie** | **[]string** | Description |
+ **descriptionNiew** | **[]string** | Description |
+ **descriptionNire** | **[]string** | Description |
+ **descriptionNisw** | **[]string** | Description |
+ **descriptionNre** | **[]string** | Description |
+ **descriptionRe** | **[]string** | Description |
+ **deviceType** | **[]string** | |
+ **deviceTypeIsnull** | **bool** | Device type (model or ID) is null |
+ **deviceTypeN** | **[]string** | |
+ **dynamicGroups** | **[]string** | |
+ **dynamicGroupsN** | **[]string** | |
+ **feedLeg** | **[]string** | Phase (for three-phase feeds) |
+ **feedLegIc** | **[]string** | |
+ **feedLegIe** | **[]string** | |
+ **feedLegIew** | **[]string** | |
+ **feedLegIre** | **[]string** | |
+ **feedLegIsw** | **[]string** | |
+ **feedLegN** | **[]string** | |
+ **feedLegNic** | **[]string** | |
+ **feedLegNie** | **[]string** | |
+ **feedLegNiew** | **[]string** | |
+ **feedLegNire** | **[]string** | |
+ **feedLegNisw** | **[]string** | |
+ **feedLegNre** | **[]string** | |
+ **feedLegRe** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **patchedWritablePowerFeedRequest** | [**PatchedWritablePowerFeedRequest**](PatchedWritablePowerFeedRequest.md) | |
+ **hasDeviceType** | **bool** | Has device type |
+ **hasModuleType** | **bool** | Has module type |
+ **id** | **[]string** | ID |
+ **idN** | **[]string** | Exclude ID |
+ **label** | **[]string** | Label |
+ **labelIc** | **[]string** | Label |
+ **labelIe** | **[]string** | Label |
+ **labelIew** | **[]string** | Label |
+ **labelIre** | **[]string** | Label |
+ **labelIsw** | **[]string** | Label |
+ **labelN** | **[]string** | Label |
+ **labelNic** | **[]string** | Label |
+ **labelNie** | **[]string** | Label |
+ **labelNiew** | **[]string** | Label |
+ **labelNire** | **[]string** | Label |
+ **labelNisw** | **[]string** | Label |
+ **labelNre** | **[]string** | Label |
+ **labelRe** | **[]string** | Label |
+ **limit** | **int32** | Number of results to return per page. |
+ **moduleType** | **[]string** | |
+ **moduleTypeIsnull** | **bool** | Module type (model or ID) is null |
+ **moduleTypeN** | **[]string** | |
+ **name** | **[]string** | Name |
+ **nameIc** | **[]string** | Name |
+ **nameIe** | **[]string** | Name |
+ **nameIew** | **[]string** | Name |
+ **nameIre** | **[]string** | Name |
+ **nameIsw** | **[]string** | Name |
+ **nameN** | **[]string** | Name |
+ **nameNic** | **[]string** | Name |
+ **nameNie** | **[]string** | Name |
+ **nameNiew** | **[]string** | Name |
+ **nameNire** | **[]string** | Name |
+ **nameNisw** | **[]string** | Name |
+ **nameNre** | **[]string** | Name |
+ **nameRe** | **[]string** | Name |
+ **offset** | **int32** | The initial index from which to return the results. |
+ **powerPortTemplate** | **[]string** | |
+ **powerPortTemplateIsnull** | **bool** | Power port template (name or ID) is null |
+ **powerPortTemplateN** | **[]string** | |
+ **q** | **string** | Search |
+ **sort** | **string** | Which field to use when ordering the results. |
+ **teams** | **[]string** | |
+ **teamsIsnull** | **bool** | Teams (name or ID) is null |
+ **teamsN** | **[]string** | |
+ **type_** | **[]string** | |
+ **typeIc** | **[]string** | |
+ **typeIe** | **[]string** | |
+ **typeIew** | **[]string** | |
+ **typeIre** | **[]string** | |
+ **typeIsw** | **[]string** | |
+ **typeN** | **[]string** | |
+ **typeNic** | **[]string** | |
+ **typeNie** | **[]string** | |
+ **typeNiew** | **[]string** | |
+ **typeNire** | **[]string** | |
+ **typeNisw** | **[]string** | |
+ **typeNre** | **[]string** | |
+ **typeRe** | **[]string** | |
+ **depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PowerFeed**](PowerFeed.md)
+[**PaginatedPowerOutletTemplateList**](PaginatedPowerOutletTemplateList.md)
### Authorization
@@ -31139,7 +32200,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: application/json, text/csv
+- **Content-Type**: Not defined
- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -31147,9 +32208,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerFeedsRetrieve
+## DcimPowerOutletTemplatesPartialUpdate
-> PowerFeed DcimPowerFeedsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> PowerOutletTemplate DcimPowerOutletTemplatesPartialUpdate(ctx, id).Format(format).PatchedWritablePowerOutletTemplateRequest(patchedWritablePowerOutletTemplateRequest).Execute()
@@ -31168,19 +32229,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power feed.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power outlet template.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ patchedWritablePowerOutletTemplateRequest := *openapiclient.NewPatchedWritablePowerOutletTemplateRequest() // PatchedWritablePowerOutletTemplateRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerFeedsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerOutletTemplatesPartialUpdate(context.Background(), id).Format(format).PatchedWritablePowerOutletTemplateRequest(patchedWritablePowerOutletTemplateRequest).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerFeedsRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletTemplatesPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerFeedsRetrieve`: PowerFeed
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerFeedsRetrieve`: %v\n", resp)
+ // response from `DcimPowerOutletTemplatesPartialUpdate`: PowerOutletTemplate
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletTemplatesPartialUpdate`: %v\n", resp)
}
```
@@ -31190,22 +32251,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power feed. |
+**id** | **string** | A UUID string identifying this power outlet template. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerFeedsRetrieveRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerOutletTemplatesPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **depth** | **int32** | Serializer Depth | [default to 1]
+ **patchedWritablePowerOutletTemplateRequest** | [**PatchedWritablePowerOutletTemplateRequest**](PatchedWritablePowerOutletTemplateRequest.md) | |
### Return type
-[**PowerFeed**](PowerFeed.md)
+[**PowerOutletTemplate**](PowerOutletTemplate.md)
### Authorization
@@ -31213,7 +32274,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: Not defined
+- **Content-Type**: application/json, text/csv
- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -31221,9 +32282,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerFeedsTraceRetrieve
+## DcimPowerOutletTemplatesRetrieve
-> PowerFeed DcimPowerFeedsTraceRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> PowerOutletTemplate DcimPowerOutletTemplatesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -31242,19 +32303,20 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power feed.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power outlet template.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerFeedsTraceRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerOutletTemplatesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerFeedsTraceRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletTemplatesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerFeedsTraceRetrieve`: PowerFeed
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerFeedsTraceRetrieve`: %v\n", resp)
+ // response from `DcimPowerOutletTemplatesRetrieve`: PowerOutletTemplate
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletTemplatesRetrieve`: %v\n", resp)
}
```
@@ -31264,11 +32326,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power feed. |
+**id** | **string** | A UUID string identifying this power outlet template. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerFeedsTraceRetrieveRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerOutletTemplatesRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -31276,10 +32338,11 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PowerFeed**](PowerFeed.md)
+[**PowerOutletTemplate**](PowerOutletTemplate.md)
### Authorization
@@ -31295,9 +32358,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerFeedsUpdate
+## DcimPowerOutletTemplatesUpdate
-> PowerFeed DcimPowerFeedsUpdate(ctx, id).WritablePowerFeedRequest(writablePowerFeedRequest).Format(format).Execute()
+> PowerOutletTemplate DcimPowerOutletTemplatesUpdate(ctx, id).WritablePowerOutletTemplateRequest(writablePowerOutletTemplateRequest).Format(format).Execute()
@@ -31316,19 +32379,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power feed.
- writablePowerFeedRequest := *openapiclient.NewWritablePowerFeedRequest("Name_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // WritablePowerFeedRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power outlet template.
+ writablePowerOutletTemplateRequest := *openapiclient.NewWritablePowerOutletTemplateRequest("Name_example") // WritablePowerOutletTemplateRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerFeedsUpdate(context.Background(), id).WritablePowerFeedRequest(writablePowerFeedRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerOutletTemplatesUpdate(context.Background(), id).WritablePowerOutletTemplateRequest(writablePowerOutletTemplateRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerFeedsUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletTemplatesUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerFeedsUpdate`: PowerFeed
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerFeedsUpdate`: %v\n", resp)
+ // response from `DcimPowerOutletTemplatesUpdate`: PowerOutletTemplate
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletTemplatesUpdate`: %v\n", resp)
}
```
@@ -31338,22 +32401,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power feed. |
+**id** | **string** | A UUID string identifying this power outlet template. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerFeedsUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerOutletTemplatesUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **writablePowerFeedRequest** | [**WritablePowerFeedRequest**](WritablePowerFeedRequest.md) | |
+ **writablePowerOutletTemplateRequest** | [**WritablePowerOutletTemplateRequest**](WritablePowerOutletTemplateRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**PowerFeed**](PowerFeed.md)
+[**PowerOutletTemplate**](PowerOutletTemplate.md)
### Authorization
@@ -31369,9 +32432,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerOutletTemplatesBulkDestroy
+## DcimPowerOutletsBulkDestroy
-> DcimPowerOutletTemplatesBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+> DcimPowerOutletsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
@@ -31395,9 +32458,9 @@ func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimPowerOutletTemplatesBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimPowerOutletsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletTemplatesBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletsBulkDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -31409,7 +32472,7 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerOutletTemplatesBulkDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerOutletsBulkDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -31435,9 +32498,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerOutletTemplatesBulkPartialUpdate
+## DcimPowerOutletsBulkPartialUpdate
-> []PowerOutletTemplate DcimPowerOutletTemplatesBulkPartialUpdate(ctx).PatchedBulkWritablePowerOutletTemplateRequest(patchedBulkWritablePowerOutletTemplateRequest).Format(format).Execute()
+> []PowerOutlet DcimPowerOutletsBulkPartialUpdate(ctx).PatchedBulkWritablePowerOutletRequest(patchedBulkWritablePowerOutletRequest).Format(format).Execute()
@@ -31456,18 +32519,18 @@ import (
)
func main() {
- patchedBulkWritablePowerOutletTemplateRequest := []openapiclient.PatchedBulkWritablePowerOutletTemplateRequest{*openapiclient.NewPatchedBulkWritablePowerOutletTemplateRequest("Id_example")} // []PatchedBulkWritablePowerOutletTemplateRequest |
+ patchedBulkWritablePowerOutletRequest := []openapiclient.PatchedBulkWritablePowerOutletRequest{*openapiclient.NewPatchedBulkWritablePowerOutletRequest("Id_example")} // []PatchedBulkWritablePowerOutletRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerOutletTemplatesBulkPartialUpdate(context.Background()).PatchedBulkWritablePowerOutletTemplateRequest(patchedBulkWritablePowerOutletTemplateRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerOutletsBulkPartialUpdate(context.Background()).PatchedBulkWritablePowerOutletRequest(patchedBulkWritablePowerOutletRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletTemplatesBulkPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletsBulkPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerOutletTemplatesBulkPartialUpdate`: []PowerOutletTemplate
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletTemplatesBulkPartialUpdate`: %v\n", resp)
+ // response from `DcimPowerOutletsBulkPartialUpdate`: []PowerOutlet
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletsBulkPartialUpdate`: %v\n", resp)
}
```
@@ -31477,17 +32540,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerOutletTemplatesBulkPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerOutletsBulkPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **patchedBulkWritablePowerOutletTemplateRequest** | [**[]PatchedBulkWritablePowerOutletTemplateRequest**](PatchedBulkWritablePowerOutletTemplateRequest.md) | |
+ **patchedBulkWritablePowerOutletRequest** | [**[]PatchedBulkWritablePowerOutletRequest**](PatchedBulkWritablePowerOutletRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]PowerOutletTemplate**](PowerOutletTemplate.md)
+[**[]PowerOutlet**](PowerOutlet.md)
### Authorization
@@ -31503,9 +32566,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerOutletTemplatesBulkUpdate
+## DcimPowerOutletsBulkUpdate
-> []PowerOutletTemplate DcimPowerOutletTemplatesBulkUpdate(ctx).BulkWritablePowerOutletTemplateRequest(bulkWritablePowerOutletTemplateRequest).Format(format).Execute()
+> []PowerOutlet DcimPowerOutletsBulkUpdate(ctx).BulkWritablePowerOutletRequest(bulkWritablePowerOutletRequest).Format(format).Execute()
@@ -31524,18 +32587,18 @@ import (
)
func main() {
- bulkWritablePowerOutletTemplateRequest := []openapiclient.BulkWritablePowerOutletTemplateRequest{*openapiclient.NewBulkWritablePowerOutletTemplateRequest("Id_example", "Name_example")} // []BulkWritablePowerOutletTemplateRequest |
+ bulkWritablePowerOutletRequest := []openapiclient.BulkWritablePowerOutletRequest{*openapiclient.NewBulkWritablePowerOutletRequest("Id_example", "Name_example")} // []BulkWritablePowerOutletRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerOutletTemplatesBulkUpdate(context.Background()).BulkWritablePowerOutletTemplateRequest(bulkWritablePowerOutletTemplateRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerOutletsBulkUpdate(context.Background()).BulkWritablePowerOutletRequest(bulkWritablePowerOutletRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletTemplatesBulkUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletsBulkUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerOutletTemplatesBulkUpdate`: []PowerOutletTemplate
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletTemplatesBulkUpdate`: %v\n", resp)
+ // response from `DcimPowerOutletsBulkUpdate`: []PowerOutlet
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletsBulkUpdate`: %v\n", resp)
}
```
@@ -31545,17 +32608,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerOutletTemplatesBulkUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerOutletsBulkUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **bulkWritablePowerOutletTemplateRequest** | [**[]BulkWritablePowerOutletTemplateRequest**](BulkWritablePowerOutletTemplateRequest.md) | |
+ **bulkWritablePowerOutletRequest** | [**[]BulkWritablePowerOutletRequest**](BulkWritablePowerOutletRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]PowerOutletTemplate**](PowerOutletTemplate.md)
+[**[]PowerOutlet**](PowerOutlet.md)
### Authorization
@@ -31571,9 +32634,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerOutletTemplatesCreate
+## DcimPowerOutletsCreate
-> PowerOutletTemplate DcimPowerOutletTemplatesCreate(ctx).WritablePowerOutletTemplateRequest(writablePowerOutletTemplateRequest).Format(format).Execute()
+> PowerOutlet DcimPowerOutletsCreate(ctx).WritablePowerOutletRequest(writablePowerOutletRequest).Format(format).Execute()
@@ -31592,18 +32655,18 @@ import (
)
func main() {
- writablePowerOutletTemplateRequest := *openapiclient.NewWritablePowerOutletTemplateRequest("Name_example") // WritablePowerOutletTemplateRequest |
+ writablePowerOutletRequest := *openapiclient.NewWritablePowerOutletRequest("Name_example") // WritablePowerOutletRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerOutletTemplatesCreate(context.Background()).WritablePowerOutletTemplateRequest(writablePowerOutletTemplateRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerOutletsCreate(context.Background()).WritablePowerOutletRequest(writablePowerOutletRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletTemplatesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletsCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerOutletTemplatesCreate`: PowerOutletTemplate
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletTemplatesCreate`: %v\n", resp)
+ // response from `DcimPowerOutletsCreate`: PowerOutlet
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletsCreate`: %v\n", resp)
}
```
@@ -31613,17 +32676,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerOutletTemplatesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerOutletsCreateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **writablePowerOutletTemplateRequest** | [**WritablePowerOutletTemplateRequest**](WritablePowerOutletTemplateRequest.md) | |
+ **writablePowerOutletRequest** | [**WritablePowerOutletRequest**](WritablePowerOutletRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**PowerOutletTemplate**](PowerOutletTemplate.md)
+[**PowerOutlet**](PowerOutlet.md)
### Authorization
@@ -31639,9 +32702,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerOutletTemplatesDestroy
+## DcimPowerOutletsDestroy
-> DcimPowerOutletTemplatesDestroy(ctx, id).Format(format).Execute()
+> DcimPowerOutletsDestroy(ctx, id).Format(format).Execute()
@@ -31660,14 +32723,14 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power outlet template.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power outlet.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimPowerOutletTemplatesDestroy(context.Background(), id).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimPowerOutletsDestroy(context.Background(), id).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletTemplatesDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletsDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -31679,11 +32742,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power outlet template. |
+**id** | **string** | A UUID string identifying this power outlet. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerOutletTemplatesDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerOutletsDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -31709,9 +32772,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerOutletTemplatesList
+## DcimPowerOutletsList
-> PaginatedPowerOutletTemplateList DcimPowerOutletTemplatesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).FeedLeg(feedLeg).FeedLegIc(feedLegIc).FeedLegIe(feedLegIe).FeedLegIew(feedLegIew).FeedLegIre(feedLegIre).FeedLegIsw(feedLegIsw).FeedLegN(feedLegN).FeedLegNic(feedLegNic).FeedLegNie(feedLegNie).FeedLegNiew(feedLegNiew).FeedLegNire(feedLegNire).FeedLegNisw(feedLegNisw).FeedLegNre(feedLegNre).FeedLegRe(feedLegRe).Format(format).HasDeviceType(hasDeviceType).HasModuleType(hasModuleType).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).PowerPortTemplate(powerPortTemplate).PowerPortTemplateIsnull(powerPortTemplateIsnull).PowerPortTemplateN(powerPortTemplateN).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).Execute()
+> PaginatedPowerOutletList DcimPowerOutletsList(ctx).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Connected(connected).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).FeedLeg(feedLeg).FeedLegIc(feedLegIc).FeedLegIe(feedLegIe).FeedLegIew(feedLegIew).FeedLegIre(feedLegIre).FeedLegIsw(feedLegIsw).FeedLegN(feedLegN).FeedLegNic(feedLegNic).FeedLegNie(feedLegNie).FeedLegNiew(feedLegNiew).FeedLegNire(feedLegNire).FeedLegNisw(feedLegNisw).FeedLegNre(feedLegNre).FeedLegRe(feedLegRe).Format(format).HasCable(hasCable).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).Module(module).ModuleIsnull(moduleIsnull).ModuleN(moduleN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).PowerPort(powerPort).PowerPortIsnull(powerPortIsnull).PowerPortN(powerPortN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -31730,35 +32793,37 @@ import (
)
func main() {
+ cable := []string{"Inner_example"} // []string | Cable (optional)
+ cableIsnull := true // bool | (optional)
+ cableN := []string{"Inner_example"} // []string | Cable (optional)
+ connected := true // bool | Connected status (bool) (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
- description := []string{"Inner_example"} // []string | Description (optional)
- descriptionIc := []string{"Inner_example"} // []string | Description (optional)
- descriptionIe := []string{"Inner_example"} // []string | Description (optional)
- descriptionIew := []string{"Inner_example"} // []string | Description (optional)
- descriptionIre := []string{"Inner_example"} // []string | Description (optional)
- descriptionIsw := []string{"Inner_example"} // []string | Description (optional)
- descriptionN := []string{"Inner_example"} // []string | Description (optional)
- descriptionNic := []string{"Inner_example"} // []string | Description (optional)
- descriptionNie := []string{"Inner_example"} // []string | Description (optional)
- descriptionNiew := []string{"Inner_example"} // []string | Description (optional)
- descriptionNire := []string{"Inner_example"} // []string | Description (optional)
- descriptionNisw := []string{"Inner_example"} // []string | Description (optional)
- descriptionNre := []string{"Inner_example"} // []string | Description (optional)
- descriptionRe := []string{"Inner_example"} // []string | Description (optional)
- deviceType := []string{"Inner_example"} // []string | (optional)
- deviceTypeIsnull := true // bool | Device type (model or ID) is null (optional)
- deviceTypeN := []string{"Inner_example"} // []string | (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
+ description := []string{"Inner_example"} // []string | (optional)
+ descriptionIc := []string{"Inner_example"} // []string | (optional)
+ descriptionIe := []string{"Inner_example"} // []string | (optional)
+ descriptionIew := []string{"Inner_example"} // []string | (optional)
+ descriptionIre := []string{"Inner_example"} // []string | (optional)
+ descriptionIsw := []string{"Inner_example"} // []string | (optional)
+ descriptionN := []string{"Inner_example"} // []string | (optional)
+ descriptionNic := []string{"Inner_example"} // []string | (optional)
+ descriptionNie := []string{"Inner_example"} // []string | (optional)
+ descriptionNiew := []string{"Inner_example"} // []string | (optional)
+ descriptionNire := []string{"Inner_example"} // []string | (optional)
+ descriptionNisw := []string{"Inner_example"} // []string | (optional)
+ descriptionNre := []string{"Inner_example"} // []string | (optional)
+ descriptionRe := []string{"Inner_example"} // []string | (optional)
+ device := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
feedLeg := []string{"Inner_example"} // []string | Phase (for three-phase feeds) (optional)
feedLegIc := []string{"Inner_example"} // []string | (optional)
feedLegIe := []string{"Inner_example"} // []string | (optional)
feedLegIew := []string{"Inner_example"} // []string | (optional)
feedLegIre := []string{"Inner_example"} // []string | (optional)
feedLegIsw := []string{"Inner_example"} // []string | (optional)
- feedLegN := []string{"Inner_example"} // []string | Phase (for three-phase feeds) (optional)
+ feedLegN := []string{"Inner_example"} // []string | (optional)
feedLegNic := []string{"Inner_example"} // []string | (optional)
feedLegNie := []string{"Inner_example"} // []string | (optional)
feedLegNiew := []string{"Inner_example"} // []string | (optional)
@@ -31767,64 +32832,56 @@ func main() {
feedLegNre := []string{"Inner_example"} // []string | (optional)
feedLegRe := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- hasDeviceType := true // bool | Has device type (optional)
- hasModuleType := true // bool | Has module type (optional)
- id := []string{"Inner_example"} // []string | ID (optional)
- idIc := []string{"Inner_example"} // []string | ID contains (optional)
- idIe := []string{"Inner_example"} // []string | ID (optional)
- idIew := []string{"Inner_example"} // []string | ID ends with (optional)
- idIre := []string{"Inner_example"} // []string | ID matches regex (optional)
- idIsw := []string{"Inner_example"} // []string | ID starts with (optional)
- idN := []string{"Inner_example"} // []string | Exclude ID (optional)
- idNic := []string{"Inner_example"} // []string | Exclude ID contains (optional)
- idNie := []string{"Inner_example"} // []string | Exclude ID (optional)
- idNiew := []string{"Inner_example"} // []string | Exclude ID ends with (optional)
- idNire := []string{"Inner_example"} // []string | Exclude ID matches regex (optional)
- idNisw := []string{"Inner_example"} // []string | Exclude ID starts with (optional)
- idNre := []string{"Inner_example"} // []string | Exclude ID matches regex (optional)
- idRe := []string{"Inner_example"} // []string | ID matches regex (optional)
- label := []string{"Inner_example"} // []string | Label (optional)
- labelIc := []string{"Inner_example"} // []string | Label (optional)
- labelIe := []string{"Inner_example"} // []string | Label (optional)
- labelIew := []string{"Inner_example"} // []string | Label (optional)
- labelIre := []string{"Inner_example"} // []string | Label (optional)
- labelIsw := []string{"Inner_example"} // []string | Label (optional)
- labelN := []string{"Inner_example"} // []string | Label (optional)
- labelNic := []string{"Inner_example"} // []string | Label (optional)
- labelNie := []string{"Inner_example"} // []string | Label (optional)
- labelNiew := []string{"Inner_example"} // []string | Label (optional)
- labelNire := []string{"Inner_example"} // []string | Label (optional)
- labelNisw := []string{"Inner_example"} // []string | Label (optional)
- labelNre := []string{"Inner_example"} // []string | Label (optional)
- labelRe := []string{"Inner_example"} // []string | Label (optional)
+ hasCable := true // bool | Has cable (optional)
+ id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
+ idN := []string{"Inner_example"} // []string | (optional)
+ label := []string{"Inner_example"} // []string | (optional)
+ labelIc := []string{"Inner_example"} // []string | (optional)
+ labelIe := []string{"Inner_example"} // []string | (optional)
+ labelIew := []string{"Inner_example"} // []string | (optional)
+ labelIre := []string{"Inner_example"} // []string | (optional)
+ labelIsw := []string{"Inner_example"} // []string | (optional)
+ labelN := []string{"Inner_example"} // []string | (optional)
+ labelNic := []string{"Inner_example"} // []string | (optional)
+ labelNie := []string{"Inner_example"} // []string | (optional)
+ labelNiew := []string{"Inner_example"} // []string | (optional)
+ labelNire := []string{"Inner_example"} // []string | (optional)
+ labelNisw := []string{"Inner_example"} // []string | (optional)
+ labelNre := []string{"Inner_example"} // []string | (optional)
+ labelRe := []string{"Inner_example"} // []string | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
- moduleType := []string{"Inner_example"} // []string | (optional)
- moduleTypeIsnull := true // bool | Module type (model or ID) is null (optional)
- moduleTypeN := []string{"Inner_example"} // []string | (optional)
- name := []string{"Inner_example"} // []string | Name (optional)
- nameIc := []string{"Inner_example"} // []string | Name (optional)
- nameIe := []string{"Inner_example"} // []string | Name (optional)
- nameIew := []string{"Inner_example"} // []string | Name (optional)
- nameIre := []string{"Inner_example"} // []string | Name (optional)
- nameIsw := []string{"Inner_example"} // []string | Name (optional)
- nameN := []string{"Inner_example"} // []string | Name (optional)
- nameNic := []string{"Inner_example"} // []string | Name (optional)
- nameNie := []string{"Inner_example"} // []string | Name (optional)
- nameNiew := []string{"Inner_example"} // []string | Name (optional)
- nameNire := []string{"Inner_example"} // []string | Name (optional)
- nameNisw := []string{"Inner_example"} // []string | Name (optional)
- nameNre := []string{"Inner_example"} // []string | Name (optional)
- nameRe := []string{"Inner_example"} // []string | Name (optional)
+ location := []string{"Inner_example"} // []string | (optional)
+ locationN := []string{"Inner_example"} // []string | (optional)
+ module := []string{"Inner_example"} // []string | (optional)
+ moduleIsnull := true // bool | Module (model or ID) is null (optional)
+ moduleN := []string{"Inner_example"} // []string | (optional)
+ name := []string{"Inner_example"} // []string | (optional)
+ nameIc := []string{"Inner_example"} // []string | (optional)
+ nameIe := []string{"Inner_example"} // []string | (optional)
+ nameIew := []string{"Inner_example"} // []string | (optional)
+ nameIre := []string{"Inner_example"} // []string | (optional)
+ nameIsw := []string{"Inner_example"} // []string | (optional)
+ nameN := []string{"Inner_example"} // []string | (optional)
+ nameNic := []string{"Inner_example"} // []string | (optional)
+ nameNie := []string{"Inner_example"} // []string | (optional)
+ nameNiew := []string{"Inner_example"} // []string | (optional)
+ nameNire := []string{"Inner_example"} // []string | (optional)
+ nameNisw := []string{"Inner_example"} // []string | (optional)
+ nameNre := []string{"Inner_example"} // []string | (optional)
+ nameRe := []string{"Inner_example"} // []string | (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- powerPortTemplate := []string{"Inner_example"} // []string | (optional)
- powerPortTemplateIsnull := true // bool | Power port template (name or ID) is null (optional)
- powerPortTemplateN := []string{"Inner_example"} // []string | (optional)
+ powerPort := []string{"Inner_example"} // []string | Power port (optional)
+ powerPortIsnull := true // bool | (optional)
+ powerPortN := []string{"Inner_example"} // []string | Power port (optional)
q := "q_example" // string | Search (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
+ tags := []string{"Inner_example"} // []string | (optional)
+ tagsIsnull := true // bool | (optional)
+ tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
- type_ := []string{"Inner_example"} // []string | (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
+ type_ := []string{"Inner_example"} // []string | Physical port type (optional)
typeIc := []string{"Inner_example"} // []string | (optional)
typeIe := []string{"Inner_example"} // []string | (optional)
typeIew := []string{"Inner_example"} // []string | (optional)
@@ -31839,16 +32896,17 @@ func main() {
typeNre := []string{"Inner_example"} // []string | (optional)
typeRe := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerOutletTemplatesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).FeedLeg(feedLeg).FeedLegIc(feedLegIc).FeedLegIe(feedLegIe).FeedLegIew(feedLegIew).FeedLegIre(feedLegIre).FeedLegIsw(feedLegIsw).FeedLegN(feedLegN).FeedLegNic(feedLegNic).FeedLegNie(feedLegNie).FeedLegNiew(feedLegNiew).FeedLegNire(feedLegNire).FeedLegNisw(feedLegNisw).FeedLegNre(feedLegNre).FeedLegRe(feedLegRe).Format(format).HasDeviceType(hasDeviceType).HasModuleType(hasModuleType).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).PowerPortTemplate(powerPortTemplate).PowerPortTemplateIsnull(powerPortTemplateIsnull).PowerPortTemplateN(powerPortTemplateN).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerOutletsList(context.Background()).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Connected(connected).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).FeedLeg(feedLeg).FeedLegIc(feedLegIc).FeedLegIe(feedLegIe).FeedLegIew(feedLegIew).FeedLegIre(feedLegIre).FeedLegIsw(feedLegIsw).FeedLegN(feedLegN).FeedLegNic(feedLegNic).FeedLegNie(feedLegNie).FeedLegNiew(feedLegNiew).FeedLegNire(feedLegNire).FeedLegNisw(feedLegNisw).FeedLegNre(feedLegNre).FeedLegRe(feedLegRe).Format(format).HasCable(hasCable).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).Module(module).ModuleIsnull(moduleIsnull).ModuleN(moduleN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).PowerPort(powerPort).PowerPortIsnull(powerPortIsnull).PowerPortN(powerPortN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletTemplatesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerOutletTemplatesList`: PaginatedPowerOutletTemplateList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletTemplatesList`: %v\n", resp)
+ // response from `DcimPowerOutletsList`: PaginatedPowerOutletList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletsList`: %v\n", resp)
}
```
@@ -31858,40 +32916,42 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerOutletTemplatesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerOutletsListRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
+ **cable** | **[]string** | Cable |
+ **cableIsnull** | **bool** | |
+ **cableN** | **[]string** | Cable |
+ **connected** | **bool** | Connected status (bool) |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
- **description** | **[]string** | Description |
- **descriptionIc** | **[]string** | Description |
- **descriptionIe** | **[]string** | Description |
- **descriptionIew** | **[]string** | Description |
- **descriptionIre** | **[]string** | Description |
- **descriptionIsw** | **[]string** | Description |
- **descriptionN** | **[]string** | Description |
- **descriptionNic** | **[]string** | Description |
- **descriptionNie** | **[]string** | Description |
- **descriptionNiew** | **[]string** | Description |
- **descriptionNire** | **[]string** | Description |
- **descriptionNisw** | **[]string** | Description |
- **descriptionNre** | **[]string** | Description |
- **descriptionRe** | **[]string** | Description |
- **deviceType** | **[]string** | |
- **deviceTypeIsnull** | **bool** | Device type (model or ID) is null |
- **deviceTypeN** | **[]string** | |
+ **contactsN** | **[]string** | |
+ **description** | **[]string** | |
+ **descriptionIc** | **[]string** | |
+ **descriptionIe** | **[]string** | |
+ **descriptionIew** | **[]string** | |
+ **descriptionIre** | **[]string** | |
+ **descriptionIsw** | **[]string** | |
+ **descriptionN** | **[]string** | |
+ **descriptionNic** | **[]string** | |
+ **descriptionNie** | **[]string** | |
+ **descriptionNiew** | **[]string** | |
+ **descriptionNire** | **[]string** | |
+ **descriptionNisw** | **[]string** | |
+ **descriptionNre** | **[]string** | |
+ **descriptionRe** | **[]string** | |
+ **device** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**feedLeg** | **[]string** | Phase (for three-phase feeds) |
**feedLegIc** | **[]string** | |
**feedLegIe** | **[]string** | |
**feedLegIew** | **[]string** | |
**feedLegIre** | **[]string** | |
**feedLegIsw** | **[]string** | |
- **feedLegN** | **[]string** | Phase (for three-phase feeds) |
+ **feedLegN** | **[]string** | |
**feedLegNic** | **[]string** | |
**feedLegNie** | **[]string** | |
**feedLegNiew** | **[]string** | |
@@ -31900,64 +32960,56 @@ Name | Type | Description | Notes
**feedLegNre** | **[]string** | |
**feedLegRe** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **hasDeviceType** | **bool** | Has device type |
- **hasModuleType** | **bool** | Has module type |
- **id** | **[]string** | ID |
- **idIc** | **[]string** | ID contains |
- **idIe** | **[]string** | ID |
- **idIew** | **[]string** | ID ends with |
- **idIre** | **[]string** | ID matches regex |
- **idIsw** | **[]string** | ID starts with |
- **idN** | **[]string** | Exclude ID |
- **idNic** | **[]string** | Exclude ID contains |
- **idNie** | **[]string** | Exclude ID |
- **idNiew** | **[]string** | Exclude ID ends with |
- **idNire** | **[]string** | Exclude ID matches regex |
- **idNisw** | **[]string** | Exclude ID starts with |
- **idNre** | **[]string** | Exclude ID matches regex |
- **idRe** | **[]string** | ID matches regex |
- **label** | **[]string** | Label |
- **labelIc** | **[]string** | Label |
- **labelIe** | **[]string** | Label |
- **labelIew** | **[]string** | Label |
- **labelIre** | **[]string** | Label |
- **labelIsw** | **[]string** | Label |
- **labelN** | **[]string** | Label |
- **labelNic** | **[]string** | Label |
- **labelNie** | **[]string** | Label |
- **labelNiew** | **[]string** | Label |
- **labelNire** | **[]string** | Label |
- **labelNisw** | **[]string** | Label |
- **labelNre** | **[]string** | Label |
- **labelRe** | **[]string** | Label |
+ **hasCable** | **bool** | Has cable |
+ **id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
+ **idN** | **[]string** | |
+ **label** | **[]string** | |
+ **labelIc** | **[]string** | |
+ **labelIe** | **[]string** | |
+ **labelIew** | **[]string** | |
+ **labelIre** | **[]string** | |
+ **labelIsw** | **[]string** | |
+ **labelN** | **[]string** | |
+ **labelNic** | **[]string** | |
+ **labelNie** | **[]string** | |
+ **labelNiew** | **[]string** | |
+ **labelNire** | **[]string** | |
+ **labelNisw** | **[]string** | |
+ **labelNre** | **[]string** | |
+ **labelRe** | **[]string** | |
**limit** | **int32** | Number of results to return per page. |
- **moduleType** | **[]string** | |
- **moduleTypeIsnull** | **bool** | Module type (model or ID) is null |
- **moduleTypeN** | **[]string** | |
- **name** | **[]string** | Name |
- **nameIc** | **[]string** | Name |
- **nameIe** | **[]string** | Name |
- **nameIew** | **[]string** | Name |
- **nameIre** | **[]string** | Name |
- **nameIsw** | **[]string** | Name |
- **nameN** | **[]string** | Name |
- **nameNic** | **[]string** | Name |
- **nameNie** | **[]string** | Name |
- **nameNiew** | **[]string** | Name |
- **nameNire** | **[]string** | Name |
- **nameNisw** | **[]string** | Name |
- **nameNre** | **[]string** | Name |
- **nameRe** | **[]string** | Name |
+ **location** | **[]string** | |
+ **locationN** | **[]string** | |
+ **module** | **[]string** | |
+ **moduleIsnull** | **bool** | Module (model or ID) is null |
+ **moduleN** | **[]string** | |
+ **name** | **[]string** | |
+ **nameIc** | **[]string** | |
+ **nameIe** | **[]string** | |
+ **nameIew** | **[]string** | |
+ **nameIre** | **[]string** | |
+ **nameIsw** | **[]string** | |
+ **nameN** | **[]string** | |
+ **nameNic** | **[]string** | |
+ **nameNie** | **[]string** | |
+ **nameNiew** | **[]string** | |
+ **nameNire** | **[]string** | |
+ **nameNisw** | **[]string** | |
+ **nameNre** | **[]string** | |
+ **nameRe** | **[]string** | |
**offset** | **int32** | The initial index from which to return the results. |
- **powerPortTemplate** | **[]string** | |
- **powerPortTemplateIsnull** | **bool** | Power port template (name or ID) is null |
- **powerPortTemplateN** | **[]string** | |
+ **powerPort** | **[]string** | Power port |
+ **powerPortIsnull** | **bool** | |
+ **powerPortN** | **[]string** | Power port |
**q** | **string** | Search |
**sort** | **string** | Which field to use when ordering the results. |
+ **tags** | **[]string** | |
+ **tagsIsnull** | **bool** | |
+ **tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
- **type_** | **[]string** | |
+ **teamsN** | **[]string** | |
+ **type_** | **[]string** | Physical port type |
**typeIc** | **[]string** | |
**typeIe** | **[]string** | |
**typeIew** | **[]string** | |
@@ -31972,10 +33024,11 @@ Name | Type | Description | Notes
**typeNre** | **[]string** | |
**typeRe** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PaginatedPowerOutletTemplateList**](PaginatedPowerOutletTemplateList.md)
+[**PaginatedPowerOutletList**](PaginatedPowerOutletList.md)
### Authorization
@@ -31991,9 +33044,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerOutletTemplatesNotesCreate
+## DcimPowerOutletsNotesCreate
-> Note DcimPowerOutletTemplatesNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+> Note DcimPowerOutletsNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
@@ -32012,19 +33065,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power outlet template.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power outlet.
noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerOutletTemplatesNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerOutletsNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletTemplatesNotesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletsNotesCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerOutletTemplatesNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletTemplatesNotesCreate`: %v\n", resp)
+ // response from `DcimPowerOutletsNotesCreate`: Note
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletsNotesCreate`: %v\n", resp)
}
```
@@ -32034,11 +33087,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power outlet template. |
+**id** | **string** | A UUID string identifying this power outlet. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerOutletTemplatesNotesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerOutletsNotesCreateRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -32065,9 +33118,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerOutletTemplatesNotesList
+## DcimPowerOutletsNotesList
-> PaginatedNoteList DcimPowerOutletTemplatesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList DcimPowerOutletsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -32086,21 +33139,22 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power outlet template.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power outlet.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerOutletTemplatesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerOutletsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletTemplatesNotesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerOutletTemplatesNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletTemplatesNotesList`: %v\n", resp)
+ // response from `DcimPowerOutletsNotesList`: PaginatedNoteList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletsNotesList`: %v\n", resp)
}
```
@@ -32110,11 +33164,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power outlet template. |
+**id** | **string** | A UUID string identifying this power outlet. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerOutletTemplatesNotesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerOutletsNotesListRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -32124,6 +33178,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -32143,9 +33198,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerOutletTemplatesPartialUpdate
+## DcimPowerOutletsPartialUpdate
-> PowerOutletTemplate DcimPowerOutletTemplatesPartialUpdate(ctx, id).Format(format).PatchedWritablePowerOutletTemplateRequest(patchedWritablePowerOutletTemplateRequest).Execute()
+> PowerOutlet DcimPowerOutletsPartialUpdate(ctx, id).Format(format).PatchedWritablePowerOutletRequest(patchedWritablePowerOutletRequest).Execute()
@@ -32164,19 +33219,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power outlet template.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power outlet.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- patchedWritablePowerOutletTemplateRequest := *openapiclient.NewPatchedWritablePowerOutletTemplateRequest() // PatchedWritablePowerOutletTemplateRequest | (optional)
+ patchedWritablePowerOutletRequest := *openapiclient.NewPatchedWritablePowerOutletRequest() // PatchedWritablePowerOutletRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerOutletTemplatesPartialUpdate(context.Background(), id).Format(format).PatchedWritablePowerOutletTemplateRequest(patchedWritablePowerOutletTemplateRequest).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerOutletsPartialUpdate(context.Background(), id).Format(format).PatchedWritablePowerOutletRequest(patchedWritablePowerOutletRequest).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletTemplatesPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletsPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerOutletTemplatesPartialUpdate`: PowerOutletTemplate
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletTemplatesPartialUpdate`: %v\n", resp)
+ // response from `DcimPowerOutletsPartialUpdate`: PowerOutlet
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletsPartialUpdate`: %v\n", resp)
}
```
@@ -32186,22 +33241,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power outlet template. |
+**id** | **string** | A UUID string identifying this power outlet. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerOutletTemplatesPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerOutletsPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **patchedWritablePowerOutletTemplateRequest** | [**PatchedWritablePowerOutletTemplateRequest**](PatchedWritablePowerOutletTemplateRequest.md) | |
+ **patchedWritablePowerOutletRequest** | [**PatchedWritablePowerOutletRequest**](PatchedWritablePowerOutletRequest.md) | |
### Return type
-[**PowerOutletTemplate**](PowerOutletTemplate.md)
+[**PowerOutlet**](PowerOutlet.md)
### Authorization
@@ -32217,9 +33272,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerOutletTemplatesRetrieve
+## DcimPowerOutletsRetrieve
-> PowerOutletTemplate DcimPowerOutletTemplatesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> PowerOutlet DcimPowerOutletsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -32238,19 +33293,20 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power outlet template.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power outlet.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerOutletTemplatesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerOutletsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletTemplatesRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerOutletTemplatesRetrieve`: PowerOutletTemplate
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletTemplatesRetrieve`: %v\n", resp)
+ // response from `DcimPowerOutletsRetrieve`: PowerOutlet
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletsRetrieve`: %v\n", resp)
}
```
@@ -32260,11 +33316,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power outlet template. |
+**id** | **string** | A UUID string identifying this power outlet. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerOutletTemplatesRetrieveRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerOutletsRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -32272,10 +33328,11 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PowerOutletTemplate**](PowerOutletTemplate.md)
+[**PowerOutlet**](PowerOutlet.md)
### Authorization
@@ -32291,9 +33348,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerOutletTemplatesUpdate
+## DcimPowerOutletsTraceRetrieve
-> PowerOutletTemplate DcimPowerOutletTemplatesUpdate(ctx, id).WritablePowerOutletTemplateRequest(writablePowerOutletTemplateRequest).Format(format).Execute()
+> PowerOutlet DcimPowerOutletsTraceRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -32312,19 +33369,20 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power outlet template.
- writablePowerOutletTemplateRequest := *openapiclient.NewWritablePowerOutletTemplateRequest("Name_example") // WritablePowerOutletTemplateRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power outlet.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerOutletTemplatesUpdate(context.Background(), id).WritablePowerOutletTemplateRequest(writablePowerOutletTemplateRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerOutletsTraceRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletTemplatesUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletsTraceRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerOutletTemplatesUpdate`: PowerOutletTemplate
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletTemplatesUpdate`: %v\n", resp)
+ // response from `DcimPowerOutletsTraceRetrieve`: PowerOutlet
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletsTraceRetrieve`: %v\n", resp)
}
```
@@ -32334,22 +33392,97 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power outlet template. |
+**id** | **string** | A UUID string identifying this power outlet. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerOutletTemplatesUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerOutletsTraceRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **writablePowerOutletTemplateRequest** | [**WritablePowerOutletTemplateRequest**](WritablePowerOutletTemplateRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PowerOutletTemplate**](PowerOutletTemplate.md)
+[**PowerOutlet**](PowerOutlet.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimPowerOutletsUpdate
+
+> PowerOutlet DcimPowerOutletsUpdate(ctx, id).WritablePowerOutletRequest(writablePowerOutletRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power outlet.
+ writablePowerOutletRequest := *openapiclient.NewWritablePowerOutletRequest("Name_example") // WritablePowerOutletRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.DcimAPI.DcimPowerOutletsUpdate(context.Background(), id).WritablePowerOutletRequest(writablePowerOutletRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletsUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimPowerOutletsUpdate`: PowerOutlet
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletsUpdate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this power outlet. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimPowerOutletsUpdateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **writablePowerOutletRequest** | [**WritablePowerOutletRequest**](WritablePowerOutletRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+[**PowerOutlet**](PowerOutlet.md)
### Authorization
@@ -32365,9 +33498,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerOutletsBulkDestroy
+## DcimPowerPanelsBulkDestroy
-> DcimPowerOutletsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+> DcimPowerPanelsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
@@ -32391,9 +33524,9 @@ func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimPowerOutletsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimPowerPanelsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletsBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPanelsBulkDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -32405,7 +33538,7 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerOutletsBulkDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerPanelsBulkDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -32431,9 +33564,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerOutletsBulkPartialUpdate
+## DcimPowerPanelsBulkPartialUpdate
-> []PowerOutlet DcimPowerOutletsBulkPartialUpdate(ctx).PatchedBulkWritablePowerOutletRequest(patchedBulkWritablePowerOutletRequest).Format(format).Execute()
+> []PowerPanel DcimPowerPanelsBulkPartialUpdate(ctx).PatchedBulkWritablePowerPanelRequest(patchedBulkWritablePowerPanelRequest).Format(format).Execute()
@@ -32452,18 +33585,18 @@ import (
)
func main() {
- patchedBulkWritablePowerOutletRequest := []openapiclient.PatchedBulkWritablePowerOutletRequest{*openapiclient.NewPatchedBulkWritablePowerOutletRequest("Id_example")} // []PatchedBulkWritablePowerOutletRequest |
+ patchedBulkWritablePowerPanelRequest := []openapiclient.PatchedBulkWritablePowerPanelRequest{*openapiclient.NewPatchedBulkWritablePowerPanelRequest("Id_example")} // []PatchedBulkWritablePowerPanelRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerOutletsBulkPartialUpdate(context.Background()).PatchedBulkWritablePowerOutletRequest(patchedBulkWritablePowerOutletRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerPanelsBulkPartialUpdate(context.Background()).PatchedBulkWritablePowerPanelRequest(patchedBulkWritablePowerPanelRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletsBulkPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPanelsBulkPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerOutletsBulkPartialUpdate`: []PowerOutlet
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletsBulkPartialUpdate`: %v\n", resp)
+ // response from `DcimPowerPanelsBulkPartialUpdate`: []PowerPanel
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPanelsBulkPartialUpdate`: %v\n", resp)
}
```
@@ -32473,17 +33606,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerOutletsBulkPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerPanelsBulkPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **patchedBulkWritablePowerOutletRequest** | [**[]PatchedBulkWritablePowerOutletRequest**](PatchedBulkWritablePowerOutletRequest.md) | |
+ **patchedBulkWritablePowerPanelRequest** | [**[]PatchedBulkWritablePowerPanelRequest**](PatchedBulkWritablePowerPanelRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]PowerOutlet**](PowerOutlet.md)
+[**[]PowerPanel**](PowerPanel.md)
### Authorization
@@ -32499,9 +33632,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerOutletsBulkUpdate
+## DcimPowerPanelsBulkUpdate
-> []PowerOutlet DcimPowerOutletsBulkUpdate(ctx).BulkWritablePowerOutletRequest(bulkWritablePowerOutletRequest).Format(format).Execute()
+> []PowerPanel DcimPowerPanelsBulkUpdate(ctx).BulkWritablePowerPanelRequest(bulkWritablePowerPanelRequest).Format(format).Execute()
@@ -32520,18 +33653,18 @@ import (
)
func main() {
- bulkWritablePowerOutletRequest := []openapiclient.BulkWritablePowerOutletRequest{*openapiclient.NewBulkWritablePowerOutletRequest("Id_example", "Name_example")} // []BulkWritablePowerOutletRequest |
+ bulkWritablePowerPanelRequest := []openapiclient.BulkWritablePowerPanelRequest{*openapiclient.NewBulkWritablePowerPanelRequest("Id_example", "Name_example", *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritablePowerPanelRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerOutletsBulkUpdate(context.Background()).BulkWritablePowerOutletRequest(bulkWritablePowerOutletRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerPanelsBulkUpdate(context.Background()).BulkWritablePowerPanelRequest(bulkWritablePowerPanelRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletsBulkUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPanelsBulkUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerOutletsBulkUpdate`: []PowerOutlet
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletsBulkUpdate`: %v\n", resp)
+ // response from `DcimPowerPanelsBulkUpdate`: []PowerPanel
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPanelsBulkUpdate`: %v\n", resp)
}
```
@@ -32541,17 +33674,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerOutletsBulkUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerPanelsBulkUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **bulkWritablePowerOutletRequest** | [**[]BulkWritablePowerOutletRequest**](BulkWritablePowerOutletRequest.md) | |
+ **bulkWritablePowerPanelRequest** | [**[]BulkWritablePowerPanelRequest**](BulkWritablePowerPanelRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]PowerOutlet**](PowerOutlet.md)
+[**[]PowerPanel**](PowerPanel.md)
### Authorization
@@ -32567,9 +33700,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerOutletsCreate
+## DcimPowerPanelsCreate
-> PowerOutlet DcimPowerOutletsCreate(ctx).WritablePowerOutletRequest(writablePowerOutletRequest).Format(format).Execute()
+> PowerPanel DcimPowerPanelsCreate(ctx).WritablePowerPanelRequest(writablePowerPanelRequest).Format(format).Execute()
@@ -32588,18 +33721,18 @@ import (
)
func main() {
- writablePowerOutletRequest := *openapiclient.NewWritablePowerOutletRequest("Name_example") // WritablePowerOutletRequest |
+ writablePowerPanelRequest := *openapiclient.NewWritablePowerPanelRequest("Name_example", *openapiclient.NewBulkWritableCableRequestStatus()) // WritablePowerPanelRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerOutletsCreate(context.Background()).WritablePowerOutletRequest(writablePowerOutletRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerPanelsCreate(context.Background()).WritablePowerPanelRequest(writablePowerPanelRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletsCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPanelsCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerOutletsCreate`: PowerOutlet
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletsCreate`: %v\n", resp)
+ // response from `DcimPowerPanelsCreate`: PowerPanel
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPanelsCreate`: %v\n", resp)
}
```
@@ -32609,17 +33742,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerOutletsCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerPanelsCreateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **writablePowerOutletRequest** | [**WritablePowerOutletRequest**](WritablePowerOutletRequest.md) | |
+ **writablePowerPanelRequest** | [**WritablePowerPanelRequest**](WritablePowerPanelRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**PowerOutlet**](PowerOutlet.md)
+[**PowerPanel**](PowerPanel.md)
### Authorization
@@ -32635,9 +33768,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerOutletsDestroy
+## DcimPowerPanelsDestroy
-> DcimPowerOutletsDestroy(ctx, id).Format(format).Execute()
+> DcimPowerPanelsDestroy(ctx, id).Format(format).Execute()
@@ -32656,14 +33789,14 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power outlet.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power panel.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimPowerOutletsDestroy(context.Background(), id).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimPowerPanelsDestroy(context.Background(), id).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletsDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPanelsDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -32675,11 +33808,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power outlet. |
+**id** | **string** | A UUID string identifying this power panel. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerOutletsDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerPanelsDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -32705,9 +33838,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerOutletsList
+## DcimPowerPanelsList
-> PaginatedPowerOutletList DcimPowerOutletsList(ctx).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Connected(connected).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).FeedLeg(feedLeg).FeedLegIc(feedLegIc).FeedLegIe(feedLegIe).FeedLegIew(feedLegIew).FeedLegIre(feedLegIre).FeedLegIsw(feedLegIsw).FeedLegN(feedLegN).FeedLegNic(feedLegNic).FeedLegNie(feedLegNie).FeedLegNiew(feedLegNiew).FeedLegNire(feedLegNire).FeedLegNisw(feedLegNisw).FeedLegNre(feedLegNre).FeedLegRe(feedLegRe).Format(format).HasCable(hasCable).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).Module(module).ModuleIsnull(moduleIsnull).ModuleN(moduleN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).PowerPort(powerPort).PowerPortIsnull(powerPortIsnull).PowerPortN(powerPortN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).Execute()
+> PaginatedPowerPanelList DcimPowerPanelsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasFeeders(hasFeeders).HasPowerFeeds(hasPowerFeeds).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).PanelType(panelType).PanelTypeIc(panelTypeIc).PanelTypeIe(panelTypeIe).PanelTypeIew(panelTypeIew).PanelTypeIre(panelTypeIre).PanelTypeIsw(panelTypeIsw).PanelTypeN(panelTypeN).PanelTypeNic(panelTypeNic).PanelTypeNie(panelTypeNie).PanelTypeNiew(panelTypeNiew).PanelTypeNire(panelTypeNire).PanelTypeNisw(panelTypeNisw).PanelTypeNre(panelTypeNre).PanelTypeRe(panelTypeRe).PowerFeeds(powerFeeds).PowerFeedsIsnull(powerFeedsIsnull).PowerFeedsN(powerFeedsN).PowerPath(powerPath).PowerPathIc(powerPathIc).PowerPathIe(powerPathIe).PowerPathIew(powerPathIew).PowerPathIre(powerPathIre).PowerPathIsw(powerPathIsw).PowerPathN(powerPathN).PowerPathNic(powerPathNic).PowerPathNie(powerPathNie).PowerPathNiew(powerPathNiew).PowerPathNire(powerPathNire).PowerPathNisw(powerPathNisw).PowerPathNre(powerPathNre).PowerPathRe(powerPathRe).Q(q).RackGroup(rackGroup).RackGroupIsnull(rackGroupIsnull).RackGroupN(rackGroupN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -32722,84 +33855,38 @@ import (
"context"
"fmt"
"os"
+ "time"
openapiclient "github.com/nautobot/go-nautobot/v2"
)
func main() {
- cable := []string{"Inner_example"} // []string | Cable (optional)
- cableIsnull := true // bool | (optional)
- cableN := []string{"Inner_example"} // []string | Cable (optional)
- connected := true // bool | Connected status (bool) (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
- description := []string{"Inner_example"} // []string | (optional)
- descriptionIc := []string{"Inner_example"} // []string | (optional)
- descriptionIe := []string{"Inner_example"} // []string | (optional)
- descriptionIew := []string{"Inner_example"} // []string | (optional)
- descriptionIre := []string{"Inner_example"} // []string | (optional)
- descriptionIsw := []string{"Inner_example"} // []string | (optional)
- descriptionN := []string{"Inner_example"} // []string | (optional)
- descriptionNic := []string{"Inner_example"} // []string | (optional)
- descriptionNie := []string{"Inner_example"} // []string | (optional)
- descriptionNiew := []string{"Inner_example"} // []string | (optional)
- descriptionNire := []string{"Inner_example"} // []string | (optional)
- descriptionNisw := []string{"Inner_example"} // []string | (optional)
- descriptionNre := []string{"Inner_example"} // []string | (optional)
- descriptionRe := []string{"Inner_example"} // []string | (optional)
- device := []string{"Inner_example"} // []string | (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
+ created := []time.Time{time.Now()} // []time.Time | (optional)
+ createdGt := []time.Time{time.Now()} // []time.Time | (optional)
+ createdGte := []time.Time{time.Now()} // []time.Time | (optional)
+ createdIsnull := true // bool | (optional)
+ createdLt := []time.Time{time.Now()} // []time.Time | (optional)
+ createdLte := []time.Time{time.Now()} // []time.Time | (optional)
+ createdN := []time.Time{time.Now()} // []time.Time | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
- feedLeg := []string{"Inner_example"} // []string | Phase (for three-phase feeds) (optional)
- feedLegIc := []string{"Inner_example"} // []string | (optional)
- feedLegIe := []string{"Inner_example"} // []string | (optional)
- feedLegIew := []string{"Inner_example"} // []string | (optional)
- feedLegIre := []string{"Inner_example"} // []string | (optional)
- feedLegIsw := []string{"Inner_example"} // []string | (optional)
- feedLegN := []string{"Inner_example"} // []string | Phase (for three-phase feeds) (optional)
- feedLegNic := []string{"Inner_example"} // []string | (optional)
- feedLegNie := []string{"Inner_example"} // []string | (optional)
- feedLegNiew := []string{"Inner_example"} // []string | (optional)
- feedLegNire := []string{"Inner_example"} // []string | (optional)
- feedLegNisw := []string{"Inner_example"} // []string | (optional)
- feedLegNre := []string{"Inner_example"} // []string | (optional)
- feedLegRe := []string{"Inner_example"} // []string | (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- hasCable := true // bool | Has cable (optional)
+ hasFeeders := true // bool | Has feeders (optional)
+ hasPowerFeeds := true // bool | Has power feeds (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
- label := []string{"Inner_example"} // []string | (optional)
- labelIc := []string{"Inner_example"} // []string | (optional)
- labelIe := []string{"Inner_example"} // []string | (optional)
- labelIew := []string{"Inner_example"} // []string | (optional)
- labelIre := []string{"Inner_example"} // []string | (optional)
- labelIsw := []string{"Inner_example"} // []string | (optional)
- labelN := []string{"Inner_example"} // []string | (optional)
- labelNic := []string{"Inner_example"} // []string | (optional)
- labelNie := []string{"Inner_example"} // []string | (optional)
- labelNiew := []string{"Inner_example"} // []string | (optional)
- labelNire := []string{"Inner_example"} // []string | (optional)
- labelNisw := []string{"Inner_example"} // []string | (optional)
- labelNre := []string{"Inner_example"} // []string | (optional)
- labelRe := []string{"Inner_example"} // []string | (optional)
+ lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedIsnull := true // bool | (optional)
+ lastUpdatedLt := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedLte := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedN := []time.Time{time.Now()} // []time.Time | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
location := []string{"Inner_example"} // []string | (optional)
locationN := []string{"Inner_example"} // []string | (optional)
- module := []string{"Inner_example"} // []string | (optional)
- moduleIsnull := true // bool | Module (model or ID) is null (optional)
- moduleN := []string{"Inner_example"} // []string | (optional)
name := []string{"Inner_example"} // []string | (optional)
nameIc := []string{"Inner_example"} // []string | (optional)
nameIe := []string{"Inner_example"} // []string | (optional)
@@ -32815,42 +33902,60 @@ func main() {
nameNre := []string{"Inner_example"} // []string | (optional)
nameRe := []string{"Inner_example"} // []string | (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- powerPort := []string{"Inner_example"} // []string | Power port (optional)
- powerPortIsnull := true // bool | (optional)
- powerPortN := []string{"Inner_example"} // []string | Power port (optional)
+ panelType := []string{"Inner_example"} // []string | (optional)
+ panelTypeIc := []string{"Inner_example"} // []string | (optional)
+ panelTypeIe := []string{"Inner_example"} // []string | (optional)
+ panelTypeIew := []string{"Inner_example"} // []string | (optional)
+ panelTypeIre := []string{"Inner_example"} // []string | (optional)
+ panelTypeIsw := []string{"Inner_example"} // []string | (optional)
+ panelTypeN := []string{"Inner_example"} // []string | (optional)
+ panelTypeNic := []string{"Inner_example"} // []string | (optional)
+ panelTypeNie := []string{"Inner_example"} // []string | (optional)
+ panelTypeNiew := []string{"Inner_example"} // []string | (optional)
+ panelTypeNire := []string{"Inner_example"} // []string | (optional)
+ panelTypeNisw := []string{"Inner_example"} // []string | (optional)
+ panelTypeNre := []string{"Inner_example"} // []string | (optional)
+ panelTypeRe := []string{"Inner_example"} // []string | (optional)
+ powerFeeds := []string{"Inner_example"} // []string | (optional)
+ powerFeedsIsnull := true // bool | Power feeds (name or ID) is null (optional)
+ powerFeedsN := []string{"Inner_example"} // []string | (optional)
+ powerPath := []string{"Inner_example"} // []string | Physical power distribution redundancy path. (optional)
+ powerPathIc := []string{"Inner_example"} // []string | (optional)
+ powerPathIe := []string{"Inner_example"} // []string | (optional)
+ powerPathIew := []string{"Inner_example"} // []string | (optional)
+ powerPathIre := []string{"Inner_example"} // []string | (optional)
+ powerPathIsw := []string{"Inner_example"} // []string | (optional)
+ powerPathN := []string{"Inner_example"} // []string | (optional)
+ powerPathNic := []string{"Inner_example"} // []string | (optional)
+ powerPathNie := []string{"Inner_example"} // []string | (optional)
+ powerPathNiew := []string{"Inner_example"} // []string | (optional)
+ powerPathNire := []string{"Inner_example"} // []string | (optional)
+ powerPathNisw := []string{"Inner_example"} // []string | (optional)
+ powerPathNre := []string{"Inner_example"} // []string | (optional)
+ powerPathRe := []string{"Inner_example"} // []string | (optional)
q := "q_example" // string | Search (optional)
+ rackGroup := []string{"Inner_example"} // []string | (optional)
+ rackGroupIsnull := true // bool | Rack group (name or ID) is null (optional)
+ rackGroupN := []string{"Inner_example"} // []string | (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
tags := []string{"Inner_example"} // []string | (optional)
tagsIsnull := true // bool | (optional)
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
- type_ := []string{"Inner_example"} // []string | Physical port type (optional)
- typeIc := []string{"Inner_example"} // []string | Physical port type (optional)
- typeIe := []string{"Inner_example"} // []string | Physical port type (optional)
- typeIew := []string{"Inner_example"} // []string | Physical port type (optional)
- typeIre := []string{"Inner_example"} // []string | Physical port type (optional)
- typeIsw := []string{"Inner_example"} // []string | Physical port type (optional)
- typeN := []string{"Inner_example"} // []string | Physical port type (optional)
- typeNic := []string{"Inner_example"} // []string | Physical port type (optional)
- typeNie := []string{"Inner_example"} // []string | Physical port type (optional)
- typeNiew := []string{"Inner_example"} // []string | Physical port type (optional)
- typeNire := []string{"Inner_example"} // []string | Physical port type (optional)
- typeNisw := []string{"Inner_example"} // []string | Physical port type (optional)
- typeNre := []string{"Inner_example"} // []string | Physical port type (optional)
- typeRe := []string{"Inner_example"} // []string | Physical port type (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerOutletsList(context.Background()).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Connected(connected).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).FeedLeg(feedLeg).FeedLegIc(feedLegIc).FeedLegIe(feedLegIe).FeedLegIew(feedLegIew).FeedLegIre(feedLegIre).FeedLegIsw(feedLegIsw).FeedLegN(feedLegN).FeedLegNic(feedLegNic).FeedLegNie(feedLegNie).FeedLegNiew(feedLegNiew).FeedLegNire(feedLegNire).FeedLegNisw(feedLegNisw).FeedLegNre(feedLegNre).FeedLegRe(feedLegRe).Format(format).HasCable(hasCable).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).Module(module).ModuleIsnull(moduleIsnull).ModuleN(moduleN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).PowerPort(powerPort).PowerPortIsnull(powerPortIsnull).PowerPortN(powerPortN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerPanelsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasFeeders(hasFeeders).HasPowerFeeds(hasPowerFeeds).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).PanelType(panelType).PanelTypeIc(panelTypeIc).PanelTypeIe(panelTypeIe).PanelTypeIew(panelTypeIew).PanelTypeIre(panelTypeIre).PanelTypeIsw(panelTypeIsw).PanelTypeN(panelTypeN).PanelTypeNic(panelTypeNic).PanelTypeNie(panelTypeNie).PanelTypeNiew(panelTypeNiew).PanelTypeNire(panelTypeNire).PanelTypeNisw(panelTypeNisw).PanelTypeNre(panelTypeNre).PanelTypeRe(panelTypeRe).PowerFeeds(powerFeeds).PowerFeedsIsnull(powerFeedsIsnull).PowerFeedsN(powerFeedsN).PowerPath(powerPath).PowerPathIc(powerPathIc).PowerPathIe(powerPathIe).PowerPathIew(powerPathIew).PowerPathIre(powerPathIre).PowerPathIsw(powerPathIsw).PowerPathN(powerPathN).PowerPathNic(powerPathNic).PowerPathNie(powerPathNie).PowerPathNiew(powerPathNiew).PowerPathNire(powerPathNire).PowerPathNisw(powerPathNisw).PowerPathNre(powerPathNre).PowerPathRe(powerPathRe).Q(q).RackGroup(rackGroup).RackGroupIsnull(rackGroupIsnull).RackGroupN(rackGroupN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletsList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPanelsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerOutletsList`: PaginatedPowerOutletList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletsList`: %v\n", resp)
+ // response from `DcimPowerPanelsList`: PaginatedPowerPanelList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPanelsList`: %v\n", resp)
}
```
@@ -32860,85 +33965,38 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerOutletsListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerPanelsListRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **cable** | **[]string** | Cable |
- **cableIsnull** | **bool** | |
- **cableN** | **[]string** | Cable |
- **connected** | **bool** | Connected status (bool) |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
- **description** | **[]string** | |
- **descriptionIc** | **[]string** | |
- **descriptionIe** | **[]string** | |
- **descriptionIew** | **[]string** | |
- **descriptionIre** | **[]string** | |
- **descriptionIsw** | **[]string** | |
- **descriptionN** | **[]string** | |
- **descriptionNic** | **[]string** | |
- **descriptionNie** | **[]string** | |
- **descriptionNiew** | **[]string** | |
- **descriptionNire** | **[]string** | |
- **descriptionNisw** | **[]string** | |
- **descriptionNre** | **[]string** | |
- **descriptionRe** | **[]string** | |
- **device** | **[]string** | |
+ **contactsN** | **[]string** | |
+ **created** | [**[]time.Time**](time.Time.md) | |
+ **createdGt** | [**[]time.Time**](time.Time.md) | |
+ **createdGte** | [**[]time.Time**](time.Time.md) | |
+ **createdIsnull** | **bool** | |
+ **createdLt** | [**[]time.Time**](time.Time.md) | |
+ **createdLte** | [**[]time.Time**](time.Time.md) | |
+ **createdN** | [**[]time.Time**](time.Time.md) | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
- **feedLeg** | **[]string** | Phase (for three-phase feeds) |
- **feedLegIc** | **[]string** | |
- **feedLegIe** | **[]string** | |
- **feedLegIew** | **[]string** | |
- **feedLegIre** | **[]string** | |
- **feedLegIsw** | **[]string** | |
- **feedLegN** | **[]string** | Phase (for three-phase feeds) |
- **feedLegNic** | **[]string** | |
- **feedLegNie** | **[]string** | |
- **feedLegNiew** | **[]string** | |
- **feedLegNire** | **[]string** | |
- **feedLegNisw** | **[]string** | |
- **feedLegNre** | **[]string** | |
- **feedLegRe** | **[]string** | |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **hasCable** | **bool** | Has cable |
+ **hasFeeders** | **bool** | Has feeders |
+ **hasPowerFeeds** | **bool** | Has power feeds |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
- **label** | **[]string** | |
- **labelIc** | **[]string** | |
- **labelIe** | **[]string** | |
- **labelIew** | **[]string** | |
- **labelIre** | **[]string** | |
- **labelIsw** | **[]string** | |
- **labelN** | **[]string** | |
- **labelNic** | **[]string** | |
- **labelNie** | **[]string** | |
- **labelNiew** | **[]string** | |
- **labelNire** | **[]string** | |
- **labelNisw** | **[]string** | |
- **labelNre** | **[]string** | |
- **labelRe** | **[]string** | |
+ **lastUpdated** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedIsnull** | **bool** | |
+ **lastUpdatedLt** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedLte** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedN** | [**[]time.Time**](time.Time.md) | |
**limit** | **int32** | Number of results to return per page. |
**location** | **[]string** | |
**locationN** | **[]string** | |
- **module** | **[]string** | |
- **moduleIsnull** | **bool** | Module (model or ID) is null |
- **moduleN** | **[]string** | |
**name** | **[]string** | |
**nameIc** | **[]string** | |
**nameIe** | **[]string** | |
@@ -32954,36 +34012,54 @@ Name | Type | Description | Notes
**nameNre** | **[]string** | |
**nameRe** | **[]string** | |
**offset** | **int32** | The initial index from which to return the results. |
- **powerPort** | **[]string** | Power port |
- **powerPortIsnull** | **bool** | |
- **powerPortN** | **[]string** | Power port |
+ **panelType** | **[]string** | |
+ **panelTypeIc** | **[]string** | |
+ **panelTypeIe** | **[]string** | |
+ **panelTypeIew** | **[]string** | |
+ **panelTypeIre** | **[]string** | |
+ **panelTypeIsw** | **[]string** | |
+ **panelTypeN** | **[]string** | |
+ **panelTypeNic** | **[]string** | |
+ **panelTypeNie** | **[]string** | |
+ **panelTypeNiew** | **[]string** | |
+ **panelTypeNire** | **[]string** | |
+ **panelTypeNisw** | **[]string** | |
+ **panelTypeNre** | **[]string** | |
+ **panelTypeRe** | **[]string** | |
+ **powerFeeds** | **[]string** | |
+ **powerFeedsIsnull** | **bool** | Power feeds (name or ID) is null |
+ **powerFeedsN** | **[]string** | |
+ **powerPath** | **[]string** | Physical power distribution redundancy path. |
+ **powerPathIc** | **[]string** | |
+ **powerPathIe** | **[]string** | |
+ **powerPathIew** | **[]string** | |
+ **powerPathIre** | **[]string** | |
+ **powerPathIsw** | **[]string** | |
+ **powerPathN** | **[]string** | |
+ **powerPathNic** | **[]string** | |
+ **powerPathNie** | **[]string** | |
+ **powerPathNiew** | **[]string** | |
+ **powerPathNire** | **[]string** | |
+ **powerPathNisw** | **[]string** | |
+ **powerPathNre** | **[]string** | |
+ **powerPathRe** | **[]string** | |
**q** | **string** | Search |
+ **rackGroup** | **[]string** | |
+ **rackGroupIsnull** | **bool** | Rack group (name or ID) is null |
+ **rackGroupN** | **[]string** | |
**sort** | **string** | Which field to use when ordering the results. |
**tags** | **[]string** | |
**tagsIsnull** | **bool** | |
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
- **type_** | **[]string** | Physical port type |
- **typeIc** | **[]string** | Physical port type |
- **typeIe** | **[]string** | Physical port type |
- **typeIew** | **[]string** | Physical port type |
- **typeIre** | **[]string** | Physical port type |
- **typeIsw** | **[]string** | Physical port type |
- **typeN** | **[]string** | Physical port type |
- **typeNic** | **[]string** | Physical port type |
- **typeNie** | **[]string** | Physical port type |
- **typeNiew** | **[]string** | Physical port type |
- **typeNire** | **[]string** | Physical port type |
- **typeNisw** | **[]string** | Physical port type |
- **typeNre** | **[]string** | Physical port type |
- **typeRe** | **[]string** | Physical port type |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PaginatedPowerOutletList**](PaginatedPowerOutletList.md)
+[**PaginatedPowerPanelList**](PaginatedPowerPanelList.md)
### Authorization
@@ -32999,9 +34075,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerOutletsNotesCreate
+## DcimPowerPanelsNotesCreate
-> Note DcimPowerOutletsNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+> Note DcimPowerPanelsNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
@@ -33020,19 +34096,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power outlet.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power panel.
noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerOutletsNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerPanelsNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletsNotesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPanelsNotesCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerOutletsNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletsNotesCreate`: %v\n", resp)
+ // response from `DcimPowerPanelsNotesCreate`: Note
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPanelsNotesCreate`: %v\n", resp)
}
```
@@ -33042,11 +34118,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power outlet. |
+**id** | **string** | A UUID string identifying this power panel. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerOutletsNotesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerPanelsNotesCreateRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -33073,9 +34149,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerOutletsNotesList
+## DcimPowerPanelsNotesList
-> PaginatedNoteList DcimPowerOutletsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList DcimPowerPanelsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -33094,21 +34170,22 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power outlet.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power panel.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerOutletsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerPanelsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletsNotesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPanelsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerOutletsNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletsNotesList`: %v\n", resp)
+ // response from `DcimPowerPanelsNotesList`: PaginatedNoteList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPanelsNotesList`: %v\n", resp)
}
```
@@ -33118,11 +34195,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power outlet. |
+**id** | **string** | A UUID string identifying this power panel. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerOutletsNotesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerPanelsNotesListRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -33132,6 +34209,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -33151,9 +34229,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerOutletsPartialUpdate
+## DcimPowerPanelsPartialUpdate
-> PowerOutlet DcimPowerOutletsPartialUpdate(ctx, id).Format(format).PatchedWritablePowerOutletRequest(patchedWritablePowerOutletRequest).Execute()
+> PowerPanel DcimPowerPanelsPartialUpdate(ctx, id).Format(format).PatchedWritablePowerPanelRequest(patchedWritablePowerPanelRequest).Execute()
@@ -33172,19 +34250,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power outlet.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power panel.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- patchedWritablePowerOutletRequest := *openapiclient.NewPatchedWritablePowerOutletRequest() // PatchedWritablePowerOutletRequest | (optional)
+ patchedWritablePowerPanelRequest := *openapiclient.NewPatchedWritablePowerPanelRequest() // PatchedWritablePowerPanelRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerOutletsPartialUpdate(context.Background(), id).Format(format).PatchedWritablePowerOutletRequest(patchedWritablePowerOutletRequest).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerPanelsPartialUpdate(context.Background(), id).Format(format).PatchedWritablePowerPanelRequest(patchedWritablePowerPanelRequest).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletsPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPanelsPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerOutletsPartialUpdate`: PowerOutlet
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletsPartialUpdate`: %v\n", resp)
+ // response from `DcimPowerPanelsPartialUpdate`: PowerPanel
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPanelsPartialUpdate`: %v\n", resp)
}
```
@@ -33194,22 +34272,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power outlet. |
+**id** | **string** | A UUID string identifying this power panel. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerOutletsPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerPanelsPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **patchedWritablePowerOutletRequest** | [**PatchedWritablePowerOutletRequest**](PatchedWritablePowerOutletRequest.md) | |
+ **patchedWritablePowerPanelRequest** | [**PatchedWritablePowerPanelRequest**](PatchedWritablePowerPanelRequest.md) | |
### Return type
-[**PowerOutlet**](PowerOutlet.md)
+[**PowerPanel**](PowerPanel.md)
### Authorization
@@ -33225,83 +34303,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerOutletsRetrieve
-
-> PowerOutlet DcimPowerOutletsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power outlet.
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerOutletsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletsRetrieve``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `DcimPowerOutletsRetrieve`: PowerOutlet
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletsRetrieve`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power outlet. |
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiDcimPowerOutletsRetrieveRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **depth** | **int32** | Serializer Depth | [default to 1]
-
-### Return type
-
-[**PowerOutlet**](PowerOutlet.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## DcimPowerOutletsTraceRetrieve
+## DcimPowerPanelsRetrieve
-> PowerOutlet DcimPowerOutletsTraceRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> PowerPanel DcimPowerPanelsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -33320,19 +34324,20 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power outlet.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power panel.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerOutletsTraceRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerPanelsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletsTraceRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPanelsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerOutletsTraceRetrieve`: PowerOutlet
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletsTraceRetrieve`: %v\n", resp)
+ // response from `DcimPowerPanelsRetrieve`: PowerPanel
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPanelsRetrieve`: %v\n", resp)
}
```
@@ -33342,11 +34347,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power outlet. |
+**id** | **string** | A UUID string identifying this power panel. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerOutletsTraceRetrieveRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerPanelsRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -33354,10 +34359,11 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PowerOutlet**](PowerOutlet.md)
+[**PowerPanel**](PowerPanel.md)
### Authorization
@@ -33373,9 +34379,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerOutletsUpdate
+## DcimPowerPanelsUpdate
-> PowerOutlet DcimPowerOutletsUpdate(ctx, id).WritablePowerOutletRequest(writablePowerOutletRequest).Format(format).Execute()
+> PowerPanel DcimPowerPanelsUpdate(ctx, id).WritablePowerPanelRequest(writablePowerPanelRequest).Format(format).Execute()
@@ -33394,19 +34400,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power outlet.
- writablePowerOutletRequest := *openapiclient.NewWritablePowerOutletRequest("Name_example") // WritablePowerOutletRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power panel.
+ writablePowerPanelRequest := *openapiclient.NewWritablePowerPanelRequest("Name_example", *openapiclient.NewBulkWritableCableRequestStatus()) // WritablePowerPanelRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerOutletsUpdate(context.Background(), id).WritablePowerOutletRequest(writablePowerOutletRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerPanelsUpdate(context.Background(), id).WritablePowerPanelRequest(writablePowerPanelRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerOutletsUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPanelsUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerOutletsUpdate`: PowerOutlet
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerOutletsUpdate`: %v\n", resp)
+ // response from `DcimPowerPanelsUpdate`: PowerPanel
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPanelsUpdate`: %v\n", resp)
}
```
@@ -33416,22 +34422,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power outlet. |
+**id** | **string** | A UUID string identifying this power panel. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerOutletsUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerPanelsUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **writablePowerOutletRequest** | [**WritablePowerOutletRequest**](WritablePowerOutletRequest.md) | |
+ **writablePowerPanelRequest** | [**WritablePowerPanelRequest**](WritablePowerPanelRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**PowerOutlet**](PowerOutlet.md)
+[**PowerPanel**](PowerPanel.md)
### Authorization
@@ -33447,9 +34453,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerPanelsBulkDestroy
+## DcimPowerPortTemplatesBulkDestroy
-> DcimPowerPanelsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+> DcimPowerPortTemplatesBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
@@ -33473,9 +34479,9 @@ func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimPowerPanelsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimPowerPortTemplatesBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPanelsBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortTemplatesBulkDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -33487,7 +34493,7 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerPanelsBulkDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerPortTemplatesBulkDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -33497,143 +34503,7 @@ Name | Type | Description | Notes
### Return type
- (empty response body)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: application/json, text/csv
-- **Accept**: Not defined
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## DcimPowerPanelsBulkPartialUpdate
-
-> []PowerPanel DcimPowerPanelsBulkPartialUpdate(ctx).PatchedBulkWritablePowerPanelRequest(patchedBulkWritablePowerPanelRequest).Format(format).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- patchedBulkWritablePowerPanelRequest := []openapiclient.PatchedBulkWritablePowerPanelRequest{*openapiclient.NewPatchedBulkWritablePowerPanelRequest("Id_example")} // []PatchedBulkWritablePowerPanelRequest |
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerPanelsBulkPartialUpdate(context.Background()).PatchedBulkWritablePowerPanelRequest(patchedBulkWritablePowerPanelRequest).Format(format).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPanelsBulkPartialUpdate``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `DcimPowerPanelsBulkPartialUpdate`: []PowerPanel
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPanelsBulkPartialUpdate`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiDcimPowerPanelsBulkPartialUpdateRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **patchedBulkWritablePowerPanelRequest** | [**[]PatchedBulkWritablePowerPanelRequest**](PatchedBulkWritablePowerPanelRequest.md) | |
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
-
-### Return type
-
-[**[]PowerPanel**](PowerPanel.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: application/json, text/csv
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## DcimPowerPanelsBulkUpdate
-
-> []PowerPanel DcimPowerPanelsBulkUpdate(ctx).BulkWritablePowerPanelRequest(bulkWritablePowerPanelRequest).Format(format).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- bulkWritablePowerPanelRequest := []openapiclient.BulkWritablePowerPanelRequest{*openapiclient.NewBulkWritablePowerPanelRequest("Id_example", "Name_example", *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritablePowerPanelRequest |
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerPanelsBulkUpdate(context.Background()).BulkWritablePowerPanelRequest(bulkWritablePowerPanelRequest).Format(format).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPanelsBulkUpdate``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `DcimPowerPanelsBulkUpdate`: []PowerPanel
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPanelsBulkUpdate`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiDcimPowerPanelsBulkUpdateRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **bulkWritablePowerPanelRequest** | [**[]BulkWritablePowerPanelRequest**](BulkWritablePowerPanelRequest.md) | |
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
-
-### Return type
-
-[**[]PowerPanel**](PowerPanel.md)
+ (empty response body)
### Authorization
@@ -33642,16 +34512,16 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json, text/csv
-- **Accept**: application/json, text/csv
+- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
-## DcimPowerPanelsCreate
+## DcimPowerPortTemplatesBulkPartialUpdate
-> PowerPanel DcimPowerPanelsCreate(ctx).PowerPanelRequest(powerPanelRequest).Format(format).Execute()
+> []PowerPortTemplate DcimPowerPortTemplatesBulkPartialUpdate(ctx).PatchedBulkWritablePowerPortTemplateRequest(patchedBulkWritablePowerPortTemplateRequest).Format(format).Execute()
@@ -33670,18 +34540,18 @@ import (
)
func main() {
- powerPanelRequest := *openapiclient.NewPowerPanelRequest("Name_example", *openapiclient.NewBulkWritableCableRequestStatus()) // PowerPanelRequest |
+ patchedBulkWritablePowerPortTemplateRequest := []openapiclient.PatchedBulkWritablePowerPortTemplateRequest{*openapiclient.NewPatchedBulkWritablePowerPortTemplateRequest("Id_example")} // []PatchedBulkWritablePowerPortTemplateRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerPanelsCreate(context.Background()).PowerPanelRequest(powerPanelRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerPortTemplatesBulkPartialUpdate(context.Background()).PatchedBulkWritablePowerPortTemplateRequest(patchedBulkWritablePowerPortTemplateRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPanelsCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortTemplatesBulkPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerPanelsCreate`: PowerPanel
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPanelsCreate`: %v\n", resp)
+ // response from `DcimPowerPortTemplatesBulkPartialUpdate`: []PowerPortTemplate
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortTemplatesBulkPartialUpdate`: %v\n", resp)
}
```
@@ -33691,17 +34561,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerPanelsCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerPortTemplatesBulkPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **powerPanelRequest** | [**PowerPanelRequest**](PowerPanelRequest.md) | |
+ **patchedBulkWritablePowerPortTemplateRequest** | [**[]PatchedBulkWritablePowerPortTemplateRequest**](PatchedBulkWritablePowerPortTemplateRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**PowerPanel**](PowerPanel.md)
+[**[]PowerPortTemplate**](PowerPortTemplate.md)
### Authorization
@@ -33717,9 +34587,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerPanelsDestroy
+## DcimPowerPortTemplatesBulkUpdate
-> DcimPowerPanelsDestroy(ctx, id).Format(format).Execute()
+> []PowerPortTemplate DcimPowerPortTemplatesBulkUpdate(ctx).BulkWritablePowerPortTemplateRequest(bulkWritablePowerPortTemplateRequest).Format(format).Execute()
@@ -33738,40 +34608,38 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power panel.
+ bulkWritablePowerPortTemplateRequest := []openapiclient.BulkWritablePowerPortTemplateRequest{*openapiclient.NewBulkWritablePowerPortTemplateRequest("Id_example", "Name_example")} // []BulkWritablePowerPortTemplateRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimPowerPanelsDestroy(context.Background(), id).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerPortTemplatesBulkUpdate(context.Background()).BulkWritablePowerPortTemplateRequest(bulkWritablePowerPortTemplateRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPanelsDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortTemplatesBulkUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
+ // response from `DcimPowerPortTemplatesBulkUpdate`: []PowerPortTemplate
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortTemplatesBulkUpdate`: %v\n", resp)
}
```
### Path Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power panel. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerPanelsDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerPortTemplatesBulkUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-
+ **bulkWritablePowerPortTemplateRequest** | [**[]BulkWritablePowerPortTemplateRequest**](BulkWritablePowerPortTemplateRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
- (empty response body)
+[**[]PowerPortTemplate**](PowerPortTemplate.md)
### Authorization
@@ -33779,17 +34647,17 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: Not defined
-- **Accept**: Not defined
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
-## DcimPowerPanelsList
+## DcimPowerPortTemplatesCreate
-> PaginatedPowerPanelList DcimPowerPanelsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasPowerFeeds(hasPowerFeeds).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).PowerFeeds(powerFeeds).PowerFeedsIsnull(powerFeedsIsnull).PowerFeedsN(powerFeedsN).Q(q).RackGroup(rackGroup).RackGroupIsnull(rackGroupIsnull).RackGroupN(rackGroupN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PowerPortTemplate DcimPowerPortTemplatesCreate(ctx).WritablePowerPortTemplateRequest(writablePowerPortTemplateRequest).Format(format).Execute()
@@ -33804,89 +34672,22 @@ import (
"context"
"fmt"
"os"
- "time"
openapiclient "github.com/nautobot/go-nautobot/v2"
)
func main() {
- contacts := []string{"Inner_example"} // []string | (optional)
- contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
- created := []time.Time{time.Now()} // []time.Time | (optional)
- createdGt := []time.Time{time.Now()} // []time.Time | (optional)
- createdGte := []time.Time{time.Now()} // []time.Time | (optional)
- createdIsnull := true // bool | (optional)
- createdLt := []time.Time{time.Now()} // []time.Time | (optional)
- createdLte := []time.Time{time.Now()} // []time.Time | (optional)
- createdN := []time.Time{time.Now()} // []time.Time | (optional)
- dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ writablePowerPortTemplateRequest := *openapiclient.NewWritablePowerPortTemplateRequest("Name_example") // WritablePowerPortTemplateRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- hasPowerFeeds := true // bool | Has power feeds (optional)
- id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
- idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
- lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
- lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
- lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
- lastUpdatedIsnull := true // bool | (optional)
- lastUpdatedLt := []time.Time{time.Now()} // []time.Time | (optional)
- lastUpdatedLte := []time.Time{time.Now()} // []time.Time | (optional)
- lastUpdatedN := []time.Time{time.Now()} // []time.Time | (optional)
- limit := int32(56) // int32 | Number of results to return per page. (optional)
- location := []string{"Inner_example"} // []string | (optional)
- locationN := []string{"Inner_example"} // []string | (optional)
- name := []string{"Inner_example"} // []string | (optional)
- nameIc := []string{"Inner_example"} // []string | (optional)
- nameIe := []string{"Inner_example"} // []string | (optional)
- nameIew := []string{"Inner_example"} // []string | (optional)
- nameIre := []string{"Inner_example"} // []string | (optional)
- nameIsw := []string{"Inner_example"} // []string | (optional)
- nameN := []string{"Inner_example"} // []string | (optional)
- nameNic := []string{"Inner_example"} // []string | (optional)
- nameNie := []string{"Inner_example"} // []string | (optional)
- nameNiew := []string{"Inner_example"} // []string | (optional)
- nameNire := []string{"Inner_example"} // []string | (optional)
- nameNisw := []string{"Inner_example"} // []string | (optional)
- nameNre := []string{"Inner_example"} // []string | (optional)
- nameRe := []string{"Inner_example"} // []string | (optional)
- offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- powerFeeds := []string{"Inner_example"} // []string | (optional)
- powerFeedsIsnull := true // bool | Power feeds (name or ID) is null (optional)
- powerFeedsN := []string{"Inner_example"} // []string | (optional)
- q := "q_example" // string | Search (optional)
- rackGroup := []string{"Inner_example"} // []string | (optional)
- rackGroupIsnull := true // bool | Rack group (name or ID) is null (optional)
- rackGroupN := []string{"Inner_example"} // []string | (optional)
- sort := "sort_example" // string | Which field to use when ordering the results. (optional)
- tags := []string{"Inner_example"} // []string | (optional)
- tagsIsnull := true // bool | (optional)
- tagsN := []string{"Inner_example"} // []string | (optional)
- teams := []string{"Inner_example"} // []string | (optional)
- teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
- depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerPanelsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasPowerFeeds(hasPowerFeeds).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).PowerFeeds(powerFeeds).PowerFeedsIsnull(powerFeedsIsnull).PowerFeedsN(powerFeedsN).Q(q).RackGroup(rackGroup).RackGroupIsnull(rackGroupIsnull).RackGroupN(rackGroupN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerPortTemplatesCreate(context.Background()).WritablePowerPortTemplateRequest(writablePowerPortTemplateRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPanelsList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortTemplatesCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerPanelsList`: PaginatedPowerPanelList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPanelsList`: %v\n", resp)
+ // response from `DcimPowerPortTemplatesCreate`: PowerPortTemplate
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortTemplatesCreate`: %v\n", resp)
}
```
@@ -33896,83 +34697,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerPanelsListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerPortTemplatesCreateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **contacts** | **[]string** | |
- **contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
- **created** | [**[]time.Time**](time.Time.md) | |
- **createdGt** | [**[]time.Time**](time.Time.md) | |
- **createdGte** | [**[]time.Time**](time.Time.md) | |
- **createdIsnull** | **bool** | |
- **createdLt** | [**[]time.Time**](time.Time.md) | |
- **createdLte** | [**[]time.Time**](time.Time.md) | |
- **createdN** | [**[]time.Time**](time.Time.md) | |
- **dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **writablePowerPortTemplateRequest** | [**WritablePowerPortTemplateRequest**](WritablePowerPortTemplateRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **hasPowerFeeds** | **bool** | Has power feeds |
- **id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
- **idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
- **lastUpdated** | [**[]time.Time**](time.Time.md) | |
- **lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
- **lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
- **lastUpdatedIsnull** | **bool** | |
- **lastUpdatedLt** | [**[]time.Time**](time.Time.md) | |
- **lastUpdatedLte** | [**[]time.Time**](time.Time.md) | |
- **lastUpdatedN** | [**[]time.Time**](time.Time.md) | |
- **limit** | **int32** | Number of results to return per page. |
- **location** | **[]string** | |
- **locationN** | **[]string** | |
- **name** | **[]string** | |
- **nameIc** | **[]string** | |
- **nameIe** | **[]string** | |
- **nameIew** | **[]string** | |
- **nameIre** | **[]string** | |
- **nameIsw** | **[]string** | |
- **nameN** | **[]string** | |
- **nameNic** | **[]string** | |
- **nameNie** | **[]string** | |
- **nameNiew** | **[]string** | |
- **nameNire** | **[]string** | |
- **nameNisw** | **[]string** | |
- **nameNre** | **[]string** | |
- **nameRe** | **[]string** | |
- **offset** | **int32** | The initial index from which to return the results. |
- **powerFeeds** | **[]string** | |
- **powerFeedsIsnull** | **bool** | Power feeds (name or ID) is null |
- **powerFeedsN** | **[]string** | |
- **q** | **string** | Search |
- **rackGroup** | **[]string** | |
- **rackGroupIsnull** | **bool** | Rack group (name or ID) is null |
- **rackGroupN** | **[]string** | |
- **sort** | **string** | Which field to use when ordering the results. |
- **tags** | **[]string** | |
- **tagsIsnull** | **bool** | |
- **tagsN** | **[]string** | |
- **teams** | **[]string** | |
- **teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
- **depth** | **int32** | Serializer Depth | [default to 1]
### Return type
-[**PaginatedPowerPanelList**](PaginatedPowerPanelList.md)
+[**PowerPortTemplate**](PowerPortTemplate.md)
### Authorization
@@ -33980,7 +34715,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: Not defined
+- **Content-Type**: application/json, text/csv
- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -33988,9 +34723,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerPanelsNotesCreate
+## DcimPowerPortTemplatesDestroy
-> Note DcimPowerPanelsNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+> DcimPowerPortTemplatesDestroy(ctx, id).Format(format).Execute()
@@ -34009,19 +34744,16 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power panel.
- noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power port template.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerPanelsNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimPowerPortTemplatesDestroy(context.Background(), id).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPanelsNotesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortTemplatesDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerPanelsNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPanelsNotesCreate`: %v\n", resp)
}
```
@@ -34031,22 +34763,21 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power panel. |
+**id** | **string** | A UUID string identifying this power port template. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerPanelsNotesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerPortTemplatesDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **noteInputRequest** | [**NoteInputRequest**](NoteInputRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**Note**](Note.md)
+ (empty response body)
### Authorization
@@ -34054,17 +34785,17 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: application/json, text/csv
-- **Accept**: application/json, text/csv
+- **Content-Type**: Not defined
+- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
-## DcimPowerPanelsNotesList
+## DcimPowerPortTemplatesList
-> PaginatedNoteList DcimPowerPanelsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedPowerPortTemplateList DcimPowerPortTemplatesList(ctx).AllocatedDraw(allocatedDraw).AllocatedDrawGt(allocatedDrawGt).AllocatedDrawGte(allocatedDrawGte).AllocatedDrawIsnull(allocatedDrawIsnull).AllocatedDrawLt(allocatedDrawLt).AllocatedDrawLte(allocatedDrawLte).AllocatedDrawN(allocatedDrawN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceType(hasDeviceType).HasModuleType(hasModuleType).HasPowerOutletTemplates(hasPowerOutletTemplates).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).MaximumDraw(maximumDraw).MaximumDrawGt(maximumDrawGt).MaximumDrawGte(maximumDrawGte).MaximumDrawIsnull(maximumDrawIsnull).MaximumDrawLt(maximumDrawLt).MaximumDrawLte(maximumDrawLte).MaximumDrawN(maximumDrawN).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).PowerOutletTemplates(powerOutletTemplates).PowerOutletTemplatesIsnull(powerOutletTemplatesIsnull).PowerOutletTemplatesN(powerOutletTemplatesN).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -34083,48 +34814,232 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power panel.
+ allocatedDraw := []int32{int32(123)} // []int32 | (optional)
+ allocatedDrawGt := []int32{int32(123)} // []int32 | (optional)
+ allocatedDrawGte := []int32{int32(123)} // []int32 | (optional)
+ allocatedDrawIsnull := true // bool | (optional)
+ allocatedDrawLt := []int32{int32(123)} // []int32 | (optional)
+ allocatedDrawLte := []int32{int32(123)} // []int32 | (optional)
+ allocatedDrawN := []int32{int32(123)} // []int32 | (optional)
+ contacts := []string{"Inner_example"} // []string | (optional)
+ contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
+ description := []string{"Inner_example"} // []string | Description (optional)
+ descriptionIc := []string{"Inner_example"} // []string | Description (optional)
+ descriptionIe := []string{"Inner_example"} // []string | Description (optional)
+ descriptionIew := []string{"Inner_example"} // []string | Description (optional)
+ descriptionIre := []string{"Inner_example"} // []string | Description (optional)
+ descriptionIsw := []string{"Inner_example"} // []string | Description (optional)
+ descriptionN := []string{"Inner_example"} // []string | Description (optional)
+ descriptionNic := []string{"Inner_example"} // []string | Description (optional)
+ descriptionNie := []string{"Inner_example"} // []string | Description (optional)
+ descriptionNiew := []string{"Inner_example"} // []string | Description (optional)
+ descriptionNire := []string{"Inner_example"} // []string | Description (optional)
+ descriptionNisw := []string{"Inner_example"} // []string | Description (optional)
+ descriptionNre := []string{"Inner_example"} // []string | Description (optional)
+ descriptionRe := []string{"Inner_example"} // []string | Description (optional)
+ deviceType := []string{"Inner_example"} // []string | (optional)
+ deviceTypeIsnull := true // bool | Device type (model or ID) is null (optional)
+ deviceTypeN := []string{"Inner_example"} // []string | (optional)
+ dynamicGroups := []string{"Inner_example"} // []string | (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ hasDeviceType := true // bool | Has device type (optional)
+ hasModuleType := true // bool | Has module type (optional)
+ hasPowerOutletTemplates := true // bool | Has power outlet templates (optional)
+ id := []string{"Inner_example"} // []string | ID (optional)
+ idN := []string{"Inner_example"} // []string | Exclude ID (optional)
+ label := []string{"Inner_example"} // []string | Label (optional)
+ labelIc := []string{"Inner_example"} // []string | Label (optional)
+ labelIe := []string{"Inner_example"} // []string | Label (optional)
+ labelIew := []string{"Inner_example"} // []string | Label (optional)
+ labelIre := []string{"Inner_example"} // []string | Label (optional)
+ labelIsw := []string{"Inner_example"} // []string | Label (optional)
+ labelN := []string{"Inner_example"} // []string | Label (optional)
+ labelNic := []string{"Inner_example"} // []string | Label (optional)
+ labelNie := []string{"Inner_example"} // []string | Label (optional)
+ labelNiew := []string{"Inner_example"} // []string | Label (optional)
+ labelNire := []string{"Inner_example"} // []string | Label (optional)
+ labelNisw := []string{"Inner_example"} // []string | Label (optional)
+ labelNre := []string{"Inner_example"} // []string | Label (optional)
+ labelRe := []string{"Inner_example"} // []string | Label (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
+ maximumDraw := []int32{int32(123)} // []int32 | (optional)
+ maximumDrawGt := []int32{int32(123)} // []int32 | (optional)
+ maximumDrawGte := []int32{int32(123)} // []int32 | (optional)
+ maximumDrawIsnull := true // bool | (optional)
+ maximumDrawLt := []int32{int32(123)} // []int32 | (optional)
+ maximumDrawLte := []int32{int32(123)} // []int32 | (optional)
+ maximumDrawN := []int32{int32(123)} // []int32 | (optional)
+ moduleType := []string{"Inner_example"} // []string | (optional)
+ moduleTypeIsnull := true // bool | Module type (model or ID) is null (optional)
+ moduleTypeN := []string{"Inner_example"} // []string | (optional)
+ name := []string{"Inner_example"} // []string | Name (optional)
+ nameIc := []string{"Inner_example"} // []string | Name (optional)
+ nameIe := []string{"Inner_example"} // []string | Name (optional)
+ nameIew := []string{"Inner_example"} // []string | Name (optional)
+ nameIre := []string{"Inner_example"} // []string | Name (optional)
+ nameIsw := []string{"Inner_example"} // []string | Name (optional)
+ nameN := []string{"Inner_example"} // []string | Name (optional)
+ nameNic := []string{"Inner_example"} // []string | Name (optional)
+ nameNie := []string{"Inner_example"} // []string | Name (optional)
+ nameNiew := []string{"Inner_example"} // []string | Name (optional)
+ nameNire := []string{"Inner_example"} // []string | Name (optional)
+ nameNisw := []string{"Inner_example"} // []string | Name (optional)
+ nameNre := []string{"Inner_example"} // []string | Name (optional)
+ nameRe := []string{"Inner_example"} // []string | Name (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
+ powerOutletTemplates := []string{"Inner_example"} // []string | (optional)
+ powerOutletTemplatesIsnull := true // bool | Power outlet templates (name or ID) is null (optional)
+ powerOutletTemplatesN := []string{"Inner_example"} // []string | (optional)
+ q := "q_example" // string | Search (optional)
+ sort := "sort_example" // string | Which field to use when ordering the results. (optional)
+ teams := []string{"Inner_example"} // []string | (optional)
+ teamsIsnull := true // bool | Teams (name or ID) is null (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
+ type_ := []string{"Inner_example"} // []string | (optional)
+ typeIc := []string{"Inner_example"} // []string | (optional)
+ typeIe := []string{"Inner_example"} // []string | (optional)
+ typeIew := []string{"Inner_example"} // []string | (optional)
+ typeIre := []string{"Inner_example"} // []string | (optional)
+ typeIsw := []string{"Inner_example"} // []string | (optional)
+ typeN := []string{"Inner_example"} // []string | (optional)
+ typeNic := []string{"Inner_example"} // []string | (optional)
+ typeNie := []string{"Inner_example"} // []string | (optional)
+ typeNiew := []string{"Inner_example"} // []string | (optional)
+ typeNire := []string{"Inner_example"} // []string | (optional)
+ typeNisw := []string{"Inner_example"} // []string | (optional)
+ typeNre := []string{"Inner_example"} // []string | (optional)
+ typeRe := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerPanelsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerPortTemplatesList(context.Background()).AllocatedDraw(allocatedDraw).AllocatedDrawGt(allocatedDrawGt).AllocatedDrawGte(allocatedDrawGte).AllocatedDrawIsnull(allocatedDrawIsnull).AllocatedDrawLt(allocatedDrawLt).AllocatedDrawLte(allocatedDrawLte).AllocatedDrawN(allocatedDrawN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceType(hasDeviceType).HasModuleType(hasModuleType).HasPowerOutletTemplates(hasPowerOutletTemplates).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).MaximumDraw(maximumDraw).MaximumDrawGt(maximumDrawGt).MaximumDrawGte(maximumDrawGte).MaximumDrawIsnull(maximumDrawIsnull).MaximumDrawLt(maximumDrawLt).MaximumDrawLte(maximumDrawLte).MaximumDrawN(maximumDrawN).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).PowerOutletTemplates(powerOutletTemplates).PowerOutletTemplatesIsnull(powerOutletTemplatesIsnull).PowerOutletTemplatesN(powerOutletTemplatesN).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPanelsNotesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortTemplatesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerPanelsNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPanelsNotesList`: %v\n", resp)
+ // response from `DcimPowerPortTemplatesList`: PaginatedPowerPortTemplateList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortTemplatesList`: %v\n", resp)
}
```
### Path Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power panel. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerPanelsNotesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerPortTemplatesListRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-
+ **allocatedDraw** | **[]int32** | |
+ **allocatedDrawGt** | **[]int32** | |
+ **allocatedDrawGte** | **[]int32** | |
+ **allocatedDrawIsnull** | **bool** | |
+ **allocatedDrawLt** | **[]int32** | |
+ **allocatedDrawLte** | **[]int32** | |
+ **allocatedDrawN** | **[]int32** | |
+ **contacts** | **[]string** | |
+ **contactsIsnull** | **bool** | Contacts (name or ID) is null |
+ **contactsN** | **[]string** | |
+ **description** | **[]string** | Description |
+ **descriptionIc** | **[]string** | Description |
+ **descriptionIe** | **[]string** | Description |
+ **descriptionIew** | **[]string** | Description |
+ **descriptionIre** | **[]string** | Description |
+ **descriptionIsw** | **[]string** | Description |
+ **descriptionN** | **[]string** | Description |
+ **descriptionNic** | **[]string** | Description |
+ **descriptionNie** | **[]string** | Description |
+ **descriptionNiew** | **[]string** | Description |
+ **descriptionNire** | **[]string** | Description |
+ **descriptionNisw** | **[]string** | Description |
+ **descriptionNre** | **[]string** | Description |
+ **descriptionRe** | **[]string** | Description |
+ **deviceType** | **[]string** | |
+ **deviceTypeIsnull** | **bool** | Device type (model or ID) is null |
+ **deviceTypeN** | **[]string** | |
+ **dynamicGroups** | **[]string** | |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **hasDeviceType** | **bool** | Has device type |
+ **hasModuleType** | **bool** | Has module type |
+ **hasPowerOutletTemplates** | **bool** | Has power outlet templates |
+ **id** | **[]string** | ID |
+ **idN** | **[]string** | Exclude ID |
+ **label** | **[]string** | Label |
+ **labelIc** | **[]string** | Label |
+ **labelIe** | **[]string** | Label |
+ **labelIew** | **[]string** | Label |
+ **labelIre** | **[]string** | Label |
+ **labelIsw** | **[]string** | Label |
+ **labelN** | **[]string** | Label |
+ **labelNic** | **[]string** | Label |
+ **labelNie** | **[]string** | Label |
+ **labelNiew** | **[]string** | Label |
+ **labelNire** | **[]string** | Label |
+ **labelNisw** | **[]string** | Label |
+ **labelNre** | **[]string** | Label |
+ **labelRe** | **[]string** | Label |
**limit** | **int32** | Number of results to return per page. |
+ **maximumDraw** | **[]int32** | |
+ **maximumDrawGt** | **[]int32** | |
+ **maximumDrawGte** | **[]int32** | |
+ **maximumDrawIsnull** | **bool** | |
+ **maximumDrawLt** | **[]int32** | |
+ **maximumDrawLte** | **[]int32** | |
+ **maximumDrawN** | **[]int32** | |
+ **moduleType** | **[]string** | |
+ **moduleTypeIsnull** | **bool** | Module type (model or ID) is null |
+ **moduleTypeN** | **[]string** | |
+ **name** | **[]string** | Name |
+ **nameIc** | **[]string** | Name |
+ **nameIe** | **[]string** | Name |
+ **nameIew** | **[]string** | Name |
+ **nameIre** | **[]string** | Name |
+ **nameIsw** | **[]string** | Name |
+ **nameN** | **[]string** | Name |
+ **nameNic** | **[]string** | Name |
+ **nameNie** | **[]string** | Name |
+ **nameNiew** | **[]string** | Name |
+ **nameNire** | **[]string** | Name |
+ **nameNisw** | **[]string** | Name |
+ **nameNre** | **[]string** | Name |
+ **nameRe** | **[]string** | Name |
**offset** | **int32** | The initial index from which to return the results. |
+ **powerOutletTemplates** | **[]string** | |
+ **powerOutletTemplatesIsnull** | **bool** | Power outlet templates (name or ID) is null |
+ **powerOutletTemplatesN** | **[]string** | |
+ **q** | **string** | Search |
+ **sort** | **string** | Which field to use when ordering the results. |
+ **teams** | **[]string** | |
+ **teamsIsnull** | **bool** | Teams (name or ID) is null |
+ **teamsN** | **[]string** | |
+ **type_** | **[]string** | |
+ **typeIc** | **[]string** | |
+ **typeIe** | **[]string** | |
+ **typeIew** | **[]string** | |
+ **typeIre** | **[]string** | |
+ **typeIsw** | **[]string** | |
+ **typeN** | **[]string** | |
+ **typeNic** | **[]string** | |
+ **typeNie** | **[]string** | |
+ **typeNiew** | **[]string** | |
+ **typeNire** | **[]string** | |
+ **typeNisw** | **[]string** | |
+ **typeNre** | **[]string** | |
+ **typeRe** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PaginatedNoteList**](PaginatedNoteList.md)
+[**PaginatedPowerPortTemplateList**](PaginatedPowerPortTemplateList.md)
### Authorization
@@ -34140,9 +35055,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerPanelsPartialUpdate
+## DcimPowerPortTemplatesPartialUpdate
-> PowerPanel DcimPowerPanelsPartialUpdate(ctx, id).Format(format).PatchedPowerPanelRequest(patchedPowerPanelRequest).Execute()
+> PowerPortTemplate DcimPowerPortTemplatesPartialUpdate(ctx, id).Format(format).PatchedWritablePowerPortTemplateRequest(patchedWritablePowerPortTemplateRequest).Execute()
@@ -34161,19 +35076,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power panel.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power port template.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- patchedPowerPanelRequest := *openapiclient.NewPatchedPowerPanelRequest() // PatchedPowerPanelRequest | (optional)
+ patchedWritablePowerPortTemplateRequest := *openapiclient.NewPatchedWritablePowerPortTemplateRequest() // PatchedWritablePowerPortTemplateRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerPanelsPartialUpdate(context.Background(), id).Format(format).PatchedPowerPanelRequest(patchedPowerPanelRequest).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerPortTemplatesPartialUpdate(context.Background(), id).Format(format).PatchedWritablePowerPortTemplateRequest(patchedWritablePowerPortTemplateRequest).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPanelsPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortTemplatesPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerPanelsPartialUpdate`: PowerPanel
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPanelsPartialUpdate`: %v\n", resp)
+ // response from `DcimPowerPortTemplatesPartialUpdate`: PowerPortTemplate
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortTemplatesPartialUpdate`: %v\n", resp)
}
```
@@ -34183,22 +35098,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power panel. |
+**id** | **string** | A UUID string identifying this power port template. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerPanelsPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerPortTemplatesPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **patchedPowerPanelRequest** | [**PatchedPowerPanelRequest**](PatchedPowerPanelRequest.md) | |
+ **patchedWritablePowerPortTemplateRequest** | [**PatchedWritablePowerPortTemplateRequest**](PatchedWritablePowerPortTemplateRequest.md) | |
### Return type
-[**PowerPanel**](PowerPanel.md)
+[**PowerPortTemplate**](PowerPortTemplate.md)
### Authorization
@@ -34214,9 +35129,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerPanelsRetrieve
+## DcimPowerPortTemplatesRetrieve
-> PowerPanel DcimPowerPanelsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> PowerPortTemplate DcimPowerPortTemplatesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -34235,19 +35150,20 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power panel.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power port template.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerPanelsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerPortTemplatesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPanelsRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortTemplatesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerPanelsRetrieve`: PowerPanel
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPanelsRetrieve`: %v\n", resp)
+ // response from `DcimPowerPortTemplatesRetrieve`: PowerPortTemplate
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortTemplatesRetrieve`: %v\n", resp)
}
```
@@ -34257,11 +35173,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power panel. |
+**id** | **string** | A UUID string identifying this power port template. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerPanelsRetrieveRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerPortTemplatesRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -34269,10 +35185,11 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PowerPanel**](PowerPanel.md)
+[**PowerPortTemplate**](PowerPortTemplate.md)
### Authorization
@@ -34288,9 +35205,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerPanelsUpdate
+## DcimPowerPortTemplatesUpdate
-> PowerPanel DcimPowerPanelsUpdate(ctx, id).PowerPanelRequest(powerPanelRequest).Format(format).Execute()
+> PowerPortTemplate DcimPowerPortTemplatesUpdate(ctx, id).WritablePowerPortTemplateRequest(writablePowerPortTemplateRequest).Format(format).Execute()
@@ -34309,19 +35226,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power panel.
- powerPanelRequest := *openapiclient.NewPowerPanelRequest("Name_example", *openapiclient.NewBulkWritableCableRequestStatus()) // PowerPanelRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power port template.
+ writablePowerPortTemplateRequest := *openapiclient.NewWritablePowerPortTemplateRequest("Name_example") // WritablePowerPortTemplateRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerPanelsUpdate(context.Background(), id).PowerPanelRequest(powerPanelRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerPortTemplatesUpdate(context.Background(), id).WritablePowerPortTemplateRequest(writablePowerPortTemplateRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPanelsUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortTemplatesUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerPanelsUpdate`: PowerPanel
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPanelsUpdate`: %v\n", resp)
+ // response from `DcimPowerPortTemplatesUpdate`: PowerPortTemplate
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortTemplatesUpdate`: %v\n", resp)
}
```
@@ -34331,22 +35248,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power panel. |
+**id** | **string** | A UUID string identifying this power port template. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerPanelsUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerPortTemplatesUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **powerPanelRequest** | [**PowerPanelRequest**](PowerPanelRequest.md) | |
+ **writablePowerPortTemplateRequest** | [**WritablePowerPortTemplateRequest**](WritablePowerPortTemplateRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**PowerPanel**](PowerPanel.md)
+[**PowerPortTemplate**](PowerPortTemplate.md)
### Authorization
@@ -34362,9 +35279,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerPortTemplatesBulkDestroy
+## DcimPowerPortsBulkDestroy
-> DcimPowerPortTemplatesBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+> DcimPowerPortsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
@@ -34388,9 +35305,9 @@ func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimPowerPortTemplatesBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimPowerPortsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortTemplatesBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortsBulkDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -34402,7 +35319,7 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerPortTemplatesBulkDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerPortsBulkDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -34428,9 +35345,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerPortTemplatesBulkPartialUpdate
+## DcimPowerPortsBulkPartialUpdate
-> []PowerPortTemplate DcimPowerPortTemplatesBulkPartialUpdate(ctx).PatchedBulkWritablePowerPortTemplateRequest(patchedBulkWritablePowerPortTemplateRequest).Format(format).Execute()
+> []PowerPort DcimPowerPortsBulkPartialUpdate(ctx).PatchedBulkWritablePowerPortRequest(patchedBulkWritablePowerPortRequest).Format(format).Execute()
@@ -34449,18 +35366,18 @@ import (
)
func main() {
- patchedBulkWritablePowerPortTemplateRequest := []openapiclient.PatchedBulkWritablePowerPortTemplateRequest{*openapiclient.NewPatchedBulkWritablePowerPortTemplateRequest("Id_example")} // []PatchedBulkWritablePowerPortTemplateRequest |
+ patchedBulkWritablePowerPortRequest := []openapiclient.PatchedBulkWritablePowerPortRequest{*openapiclient.NewPatchedBulkWritablePowerPortRequest("Id_example")} // []PatchedBulkWritablePowerPortRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerPortTemplatesBulkPartialUpdate(context.Background()).PatchedBulkWritablePowerPortTemplateRequest(patchedBulkWritablePowerPortTemplateRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerPortsBulkPartialUpdate(context.Background()).PatchedBulkWritablePowerPortRequest(patchedBulkWritablePowerPortRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortTemplatesBulkPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortsBulkPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerPortTemplatesBulkPartialUpdate`: []PowerPortTemplate
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortTemplatesBulkPartialUpdate`: %v\n", resp)
+ // response from `DcimPowerPortsBulkPartialUpdate`: []PowerPort
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortsBulkPartialUpdate`: %v\n", resp)
}
```
@@ -34470,17 +35387,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerPortTemplatesBulkPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerPortsBulkPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **patchedBulkWritablePowerPortTemplateRequest** | [**[]PatchedBulkWritablePowerPortTemplateRequest**](PatchedBulkWritablePowerPortTemplateRequest.md) | |
+ **patchedBulkWritablePowerPortRequest** | [**[]PatchedBulkWritablePowerPortRequest**](PatchedBulkWritablePowerPortRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]PowerPortTemplate**](PowerPortTemplate.md)
+[**[]PowerPort**](PowerPort.md)
### Authorization
@@ -34496,9 +35413,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerPortTemplatesBulkUpdate
+## DcimPowerPortsBulkUpdate
-> []PowerPortTemplate DcimPowerPortTemplatesBulkUpdate(ctx).BulkWritablePowerPortTemplateRequest(bulkWritablePowerPortTemplateRequest).Format(format).Execute()
+> []PowerPort DcimPowerPortsBulkUpdate(ctx).BulkWritablePowerPortRequest(bulkWritablePowerPortRequest).Format(format).Execute()
@@ -34517,18 +35434,18 @@ import (
)
func main() {
- bulkWritablePowerPortTemplateRequest := []openapiclient.BulkWritablePowerPortTemplateRequest{*openapiclient.NewBulkWritablePowerPortTemplateRequest("Id_example", "Name_example")} // []BulkWritablePowerPortTemplateRequest |
+ bulkWritablePowerPortRequest := []openapiclient.BulkWritablePowerPortRequest{*openapiclient.NewBulkWritablePowerPortRequest("Id_example", "Name_example")} // []BulkWritablePowerPortRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerPortTemplatesBulkUpdate(context.Background()).BulkWritablePowerPortTemplateRequest(bulkWritablePowerPortTemplateRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerPortsBulkUpdate(context.Background()).BulkWritablePowerPortRequest(bulkWritablePowerPortRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortTemplatesBulkUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortsBulkUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerPortTemplatesBulkUpdate`: []PowerPortTemplate
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortTemplatesBulkUpdate`: %v\n", resp)
+ // response from `DcimPowerPortsBulkUpdate`: []PowerPort
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortsBulkUpdate`: %v\n", resp)
}
```
@@ -34538,17 +35455,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerPortTemplatesBulkUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerPortsBulkUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **bulkWritablePowerPortTemplateRequest** | [**[]BulkWritablePowerPortTemplateRequest**](BulkWritablePowerPortTemplateRequest.md) | |
+ **bulkWritablePowerPortRequest** | [**[]BulkWritablePowerPortRequest**](BulkWritablePowerPortRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]PowerPortTemplate**](PowerPortTemplate.md)
+[**[]PowerPort**](PowerPort.md)
### Authorization
@@ -34564,9 +35481,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerPortTemplatesCreate
+## DcimPowerPortsCreate
-> PowerPortTemplate DcimPowerPortTemplatesCreate(ctx).WritablePowerPortTemplateRequest(writablePowerPortTemplateRequest).Format(format).Execute()
+> PowerPort DcimPowerPortsCreate(ctx).WritablePowerPortRequest(writablePowerPortRequest).Format(format).Execute()
@@ -34585,18 +35502,18 @@ import (
)
func main() {
- writablePowerPortTemplateRequest := *openapiclient.NewWritablePowerPortTemplateRequest("Name_example") // WritablePowerPortTemplateRequest |
+ writablePowerPortRequest := *openapiclient.NewWritablePowerPortRequest("Name_example") // WritablePowerPortRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerPortTemplatesCreate(context.Background()).WritablePowerPortTemplateRequest(writablePowerPortTemplateRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerPortsCreate(context.Background()).WritablePowerPortRequest(writablePowerPortRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortTemplatesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortsCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerPortTemplatesCreate`: PowerPortTemplate
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortTemplatesCreate`: %v\n", resp)
+ // response from `DcimPowerPortsCreate`: PowerPort
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortsCreate`: %v\n", resp)
}
```
@@ -34606,17 +35523,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerPortTemplatesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerPortsCreateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **writablePowerPortTemplateRequest** | [**WritablePowerPortTemplateRequest**](WritablePowerPortTemplateRequest.md) | |
+ **writablePowerPortRequest** | [**WritablePowerPortRequest**](WritablePowerPortRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**PowerPortTemplate**](PowerPortTemplate.md)
+[**PowerPort**](PowerPort.md)
### Authorization
@@ -34632,9 +35549,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerPortTemplatesDestroy
+## DcimPowerPortsDestroy
-> DcimPowerPortTemplatesDestroy(ctx, id).Format(format).Execute()
+> DcimPowerPortsDestroy(ctx, id).Format(format).Execute()
@@ -34653,14 +35570,14 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power port template.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power port.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimPowerPortTemplatesDestroy(context.Background(), id).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimPowerPortsDestroy(context.Background(), id).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortTemplatesDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortsDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -34672,11 +35589,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power port template. |
+**id** | **string** | A UUID string identifying this power port. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerPortTemplatesDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerPortsDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -34702,9 +35619,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerPortTemplatesList
+## DcimPowerPortsList
-> PaginatedPowerPortTemplateList DcimPowerPortTemplatesList(ctx).AllocatedDraw(allocatedDraw).AllocatedDrawGt(allocatedDrawGt).AllocatedDrawGte(allocatedDrawGte).AllocatedDrawIsnull(allocatedDrawIsnull).AllocatedDrawLt(allocatedDrawLt).AllocatedDrawLte(allocatedDrawLte).AllocatedDrawN(allocatedDrawN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceType(hasDeviceType).HasModuleType(hasModuleType).HasPowerOutletTemplates(hasPowerOutletTemplates).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).MaximumDraw(maximumDraw).MaximumDrawGt(maximumDrawGt).MaximumDrawGte(maximumDrawGte).MaximumDrawIsnull(maximumDrawIsnull).MaximumDrawLt(maximumDrawLt).MaximumDrawLte(maximumDrawLte).MaximumDrawN(maximumDrawN).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).PowerOutletTemplates(powerOutletTemplates).PowerOutletTemplatesIsnull(powerOutletTemplatesIsnull).PowerOutletTemplatesN(powerOutletTemplatesN).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).Execute()
+> PaginatedPowerPortList DcimPowerPortsList(ctx).AllocatedDraw(allocatedDraw).AllocatedDrawGt(allocatedDrawGt).AllocatedDrawGte(allocatedDrawGte).AllocatedDrawIsnull(allocatedDrawIsnull).AllocatedDrawLt(allocatedDrawLt).AllocatedDrawLte(allocatedDrawLte).AllocatedDrawN(allocatedDrawN).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Connected(connected).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCable(hasCable).HasPowerOutlets(hasPowerOutlets).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).MaximumDraw(maximumDraw).MaximumDrawGt(maximumDrawGt).MaximumDrawGte(maximumDrawGte).MaximumDrawIsnull(maximumDrawIsnull).MaximumDrawLt(maximumDrawLt).MaximumDrawLte(maximumDrawLte).MaximumDrawN(maximumDrawN).Module(module).ModuleIsnull(moduleIsnull).ModuleN(moduleN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).PowerOutlets(powerOutlets).PowerOutletsIsnull(powerOutletsIsnull).PowerOutletsN(powerOutletsN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -34730,61 +35647,52 @@ func main() {
allocatedDrawLt := []int32{int32(123)} // []int32 | (optional)
allocatedDrawLte := []int32{int32(123)} // []int32 | (optional)
allocatedDrawN := []int32{int32(123)} // []int32 | (optional)
+ cable := []string{"Inner_example"} // []string | Cable (optional)
+ cableIsnull := true // bool | (optional)
+ cableN := []string{"Inner_example"} // []string | Cable (optional)
+ connected := true // bool | Connected status (bool) (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
- description := []string{"Inner_example"} // []string | Description (optional)
- descriptionIc := []string{"Inner_example"} // []string | Description (optional)
- descriptionIe := []string{"Inner_example"} // []string | Description (optional)
- descriptionIew := []string{"Inner_example"} // []string | Description (optional)
- descriptionIre := []string{"Inner_example"} // []string | Description (optional)
- descriptionIsw := []string{"Inner_example"} // []string | Description (optional)
- descriptionN := []string{"Inner_example"} // []string | Description (optional)
- descriptionNic := []string{"Inner_example"} // []string | Description (optional)
- descriptionNie := []string{"Inner_example"} // []string | Description (optional)
- descriptionNiew := []string{"Inner_example"} // []string | Description (optional)
- descriptionNire := []string{"Inner_example"} // []string | Description (optional)
- descriptionNisw := []string{"Inner_example"} // []string | Description (optional)
- descriptionNre := []string{"Inner_example"} // []string | Description (optional)
- descriptionRe := []string{"Inner_example"} // []string | Description (optional)
- deviceType := []string{"Inner_example"} // []string | (optional)
- deviceTypeIsnull := true // bool | Device type (model or ID) is null (optional)
- deviceTypeN := []string{"Inner_example"} // []string | (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
+ description := []string{"Inner_example"} // []string | (optional)
+ descriptionIc := []string{"Inner_example"} // []string | (optional)
+ descriptionIe := []string{"Inner_example"} // []string | (optional)
+ descriptionIew := []string{"Inner_example"} // []string | (optional)
+ descriptionIre := []string{"Inner_example"} // []string | (optional)
+ descriptionIsw := []string{"Inner_example"} // []string | (optional)
+ descriptionN := []string{"Inner_example"} // []string | (optional)
+ descriptionNic := []string{"Inner_example"} // []string | (optional)
+ descriptionNie := []string{"Inner_example"} // []string | (optional)
+ descriptionNiew := []string{"Inner_example"} // []string | (optional)
+ descriptionNire := []string{"Inner_example"} // []string | (optional)
+ descriptionNisw := []string{"Inner_example"} // []string | (optional)
+ descriptionNre := []string{"Inner_example"} // []string | (optional)
+ descriptionRe := []string{"Inner_example"} // []string | (optional)
+ device := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- hasDeviceType := true // bool | Has device type (optional)
- hasModuleType := true // bool | Has module type (optional)
- hasPowerOutletTemplates := true // bool | Has power outlet templates (optional)
- id := []string{"Inner_example"} // []string | ID (optional)
- idIc := []string{"Inner_example"} // []string | ID contains (optional)
- idIe := []string{"Inner_example"} // []string | ID (optional)
- idIew := []string{"Inner_example"} // []string | ID ends with (optional)
- idIre := []string{"Inner_example"} // []string | ID matches regex (optional)
- idIsw := []string{"Inner_example"} // []string | ID starts with (optional)
- idN := []string{"Inner_example"} // []string | Exclude ID (optional)
- idNic := []string{"Inner_example"} // []string | Exclude ID contains (optional)
- idNie := []string{"Inner_example"} // []string | Exclude ID (optional)
- idNiew := []string{"Inner_example"} // []string | Exclude ID ends with (optional)
- idNire := []string{"Inner_example"} // []string | Exclude ID matches regex (optional)
- idNisw := []string{"Inner_example"} // []string | Exclude ID starts with (optional)
- idNre := []string{"Inner_example"} // []string | Exclude ID matches regex (optional)
- idRe := []string{"Inner_example"} // []string | ID matches regex (optional)
- label := []string{"Inner_example"} // []string | Label (optional)
- labelIc := []string{"Inner_example"} // []string | Label (optional)
- labelIe := []string{"Inner_example"} // []string | Label (optional)
- labelIew := []string{"Inner_example"} // []string | Label (optional)
- labelIre := []string{"Inner_example"} // []string | Label (optional)
- labelIsw := []string{"Inner_example"} // []string | Label (optional)
- labelN := []string{"Inner_example"} // []string | Label (optional)
- labelNic := []string{"Inner_example"} // []string | Label (optional)
- labelNie := []string{"Inner_example"} // []string | Label (optional)
- labelNiew := []string{"Inner_example"} // []string | Label (optional)
- labelNire := []string{"Inner_example"} // []string | Label (optional)
- labelNisw := []string{"Inner_example"} // []string | Label (optional)
- labelNre := []string{"Inner_example"} // []string | Label (optional)
- labelRe := []string{"Inner_example"} // []string | Label (optional)
+ hasCable := true // bool | Has cable (optional)
+ hasPowerOutlets := true // bool | Has power outlets (optional)
+ id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
+ idN := []string{"Inner_example"} // []string | (optional)
+ label := []string{"Inner_example"} // []string | (optional)
+ labelIc := []string{"Inner_example"} // []string | (optional)
+ labelIe := []string{"Inner_example"} // []string | (optional)
+ labelIew := []string{"Inner_example"} // []string | (optional)
+ labelIre := []string{"Inner_example"} // []string | (optional)
+ labelIsw := []string{"Inner_example"} // []string | (optional)
+ labelN := []string{"Inner_example"} // []string | (optional)
+ labelNic := []string{"Inner_example"} // []string | (optional)
+ labelNie := []string{"Inner_example"} // []string | (optional)
+ labelNiew := []string{"Inner_example"} // []string | (optional)
+ labelNire := []string{"Inner_example"} // []string | (optional)
+ labelNisw := []string{"Inner_example"} // []string | (optional)
+ labelNre := []string{"Inner_example"} // []string | (optional)
+ labelRe := []string{"Inner_example"} // []string | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
+ location := []string{"Inner_example"} // []string | (optional)
+ locationN := []string{"Inner_example"} // []string | (optional)
maximumDraw := []int32{int32(123)} // []int32 | (optional)
maximumDrawGt := []int32{int32(123)} // []int32 | (optional)
maximumDrawGte := []int32{int32(123)} // []int32 | (optional)
@@ -34792,33 +35700,36 @@ func main() {
maximumDrawLt := []int32{int32(123)} // []int32 | (optional)
maximumDrawLte := []int32{int32(123)} // []int32 | (optional)
maximumDrawN := []int32{int32(123)} // []int32 | (optional)
- moduleType := []string{"Inner_example"} // []string | (optional)
- moduleTypeIsnull := true // bool | Module type (model or ID) is null (optional)
- moduleTypeN := []string{"Inner_example"} // []string | (optional)
- name := []string{"Inner_example"} // []string | Name (optional)
- nameIc := []string{"Inner_example"} // []string | Name (optional)
- nameIe := []string{"Inner_example"} // []string | Name (optional)
- nameIew := []string{"Inner_example"} // []string | Name (optional)
- nameIre := []string{"Inner_example"} // []string | Name (optional)
- nameIsw := []string{"Inner_example"} // []string | Name (optional)
- nameN := []string{"Inner_example"} // []string | Name (optional)
- nameNic := []string{"Inner_example"} // []string | Name (optional)
- nameNie := []string{"Inner_example"} // []string | Name (optional)
- nameNiew := []string{"Inner_example"} // []string | Name (optional)
- nameNire := []string{"Inner_example"} // []string | Name (optional)
- nameNisw := []string{"Inner_example"} // []string | Name (optional)
- nameNre := []string{"Inner_example"} // []string | Name (optional)
- nameRe := []string{"Inner_example"} // []string | Name (optional)
+ module := []string{"Inner_example"} // []string | (optional)
+ moduleIsnull := true // bool | Module (model or ID) is null (optional)
+ moduleN := []string{"Inner_example"} // []string | (optional)
+ name := []string{"Inner_example"} // []string | (optional)
+ nameIc := []string{"Inner_example"} // []string | (optional)
+ nameIe := []string{"Inner_example"} // []string | (optional)
+ nameIew := []string{"Inner_example"} // []string | (optional)
+ nameIre := []string{"Inner_example"} // []string | (optional)
+ nameIsw := []string{"Inner_example"} // []string | (optional)
+ nameN := []string{"Inner_example"} // []string | (optional)
+ nameNic := []string{"Inner_example"} // []string | (optional)
+ nameNie := []string{"Inner_example"} // []string | (optional)
+ nameNiew := []string{"Inner_example"} // []string | (optional)
+ nameNire := []string{"Inner_example"} // []string | (optional)
+ nameNisw := []string{"Inner_example"} // []string | (optional)
+ nameNre := []string{"Inner_example"} // []string | (optional)
+ nameRe := []string{"Inner_example"} // []string | (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- powerOutletTemplates := []string{"Inner_example"} // []string | (optional)
- powerOutletTemplatesIsnull := true // bool | Power outlet templates (name or ID) is null (optional)
- powerOutletTemplatesN := []string{"Inner_example"} // []string | (optional)
+ powerOutlets := []string{"Inner_example"} // []string | (optional)
+ powerOutletsIsnull := true // bool | Power outlets (name or ID) is null (optional)
+ powerOutletsN := []string{"Inner_example"} // []string | (optional)
q := "q_example" // string | Search (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
+ tags := []string{"Inner_example"} // []string | (optional)
+ tagsIsnull := true // bool | (optional)
+ tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
- type_ := []string{"Inner_example"} // []string | (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
+ type_ := []string{"Inner_example"} // []string | Physical port type (optional)
typeIc := []string{"Inner_example"} // []string | (optional)
typeIe := []string{"Inner_example"} // []string | (optional)
typeIew := []string{"Inner_example"} // []string | (optional)
@@ -34833,16 +35744,17 @@ func main() {
typeNre := []string{"Inner_example"} // []string | (optional)
typeRe := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerPortTemplatesList(context.Background()).AllocatedDraw(allocatedDraw).AllocatedDrawGt(allocatedDrawGt).AllocatedDrawGte(allocatedDrawGte).AllocatedDrawIsnull(allocatedDrawIsnull).AllocatedDrawLt(allocatedDrawLt).AllocatedDrawLte(allocatedDrawLte).AllocatedDrawN(allocatedDrawN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceType(hasDeviceType).HasModuleType(hasModuleType).HasPowerOutletTemplates(hasPowerOutletTemplates).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).MaximumDraw(maximumDraw).MaximumDrawGt(maximumDrawGt).MaximumDrawGte(maximumDrawGte).MaximumDrawIsnull(maximumDrawIsnull).MaximumDrawLt(maximumDrawLt).MaximumDrawLte(maximumDrawLte).MaximumDrawN(maximumDrawN).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).PowerOutletTemplates(powerOutletTemplates).PowerOutletTemplatesIsnull(powerOutletTemplatesIsnull).PowerOutletTemplatesN(powerOutletTemplatesN).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerPortsList(context.Background()).AllocatedDraw(allocatedDraw).AllocatedDrawGt(allocatedDrawGt).AllocatedDrawGte(allocatedDrawGte).AllocatedDrawIsnull(allocatedDrawIsnull).AllocatedDrawLt(allocatedDrawLt).AllocatedDrawLte(allocatedDrawLte).AllocatedDrawN(allocatedDrawN).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Connected(connected).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCable(hasCable).HasPowerOutlets(hasPowerOutlets).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).MaximumDraw(maximumDraw).MaximumDrawGt(maximumDrawGt).MaximumDrawGte(maximumDrawGte).MaximumDrawIsnull(maximumDrawIsnull).MaximumDrawLt(maximumDrawLt).MaximumDrawLte(maximumDrawLte).MaximumDrawN(maximumDrawN).Module(module).ModuleIsnull(moduleIsnull).ModuleN(moduleN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).PowerOutlets(powerOutlets).PowerOutletsIsnull(powerOutletsIsnull).PowerOutletsN(powerOutletsN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortTemplatesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerPortTemplatesList`: PaginatedPowerPortTemplateList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortTemplatesList`: %v\n", resp)
+ // response from `DcimPowerPortsList`: PaginatedPowerPortList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortsList`: %v\n", resp)
}
```
@@ -34852,7 +35764,7 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerPortTemplatesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerPortsListRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -34864,61 +35776,52 @@ Name | Type | Description | Notes
**allocatedDrawLt** | **[]int32** | |
**allocatedDrawLte** | **[]int32** | |
**allocatedDrawN** | **[]int32** | |
+ **cable** | **[]string** | Cable |
+ **cableIsnull** | **bool** | |
+ **cableN** | **[]string** | Cable |
+ **connected** | **bool** | Connected status (bool) |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
- **description** | **[]string** | Description |
- **descriptionIc** | **[]string** | Description |
- **descriptionIe** | **[]string** | Description |
- **descriptionIew** | **[]string** | Description |
- **descriptionIre** | **[]string** | Description |
- **descriptionIsw** | **[]string** | Description |
- **descriptionN** | **[]string** | Description |
- **descriptionNic** | **[]string** | Description |
- **descriptionNie** | **[]string** | Description |
- **descriptionNiew** | **[]string** | Description |
- **descriptionNire** | **[]string** | Description |
- **descriptionNisw** | **[]string** | Description |
- **descriptionNre** | **[]string** | Description |
- **descriptionRe** | **[]string** | Description |
- **deviceType** | **[]string** | |
- **deviceTypeIsnull** | **bool** | Device type (model or ID) is null |
- **deviceTypeN** | **[]string** | |
+ **contactsN** | **[]string** | |
+ **description** | **[]string** | |
+ **descriptionIc** | **[]string** | |
+ **descriptionIe** | **[]string** | |
+ **descriptionIew** | **[]string** | |
+ **descriptionIre** | **[]string** | |
+ **descriptionIsw** | **[]string** | |
+ **descriptionN** | **[]string** | |
+ **descriptionNic** | **[]string** | |
+ **descriptionNie** | **[]string** | |
+ **descriptionNiew** | **[]string** | |
+ **descriptionNire** | **[]string** | |
+ **descriptionNisw** | **[]string** | |
+ **descriptionNre** | **[]string** | |
+ **descriptionRe** | **[]string** | |
+ **device** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **hasDeviceType** | **bool** | Has device type |
- **hasModuleType** | **bool** | Has module type |
- **hasPowerOutletTemplates** | **bool** | Has power outlet templates |
- **id** | **[]string** | ID |
- **idIc** | **[]string** | ID contains |
- **idIe** | **[]string** | ID |
- **idIew** | **[]string** | ID ends with |
- **idIre** | **[]string** | ID matches regex |
- **idIsw** | **[]string** | ID starts with |
- **idN** | **[]string** | Exclude ID |
- **idNic** | **[]string** | Exclude ID contains |
- **idNie** | **[]string** | Exclude ID |
- **idNiew** | **[]string** | Exclude ID ends with |
- **idNire** | **[]string** | Exclude ID matches regex |
- **idNisw** | **[]string** | Exclude ID starts with |
- **idNre** | **[]string** | Exclude ID matches regex |
- **idRe** | **[]string** | ID matches regex |
- **label** | **[]string** | Label |
- **labelIc** | **[]string** | Label |
- **labelIe** | **[]string** | Label |
- **labelIew** | **[]string** | Label |
- **labelIre** | **[]string** | Label |
- **labelIsw** | **[]string** | Label |
- **labelN** | **[]string** | Label |
- **labelNic** | **[]string** | Label |
- **labelNie** | **[]string** | Label |
- **labelNiew** | **[]string** | Label |
- **labelNire** | **[]string** | Label |
- **labelNisw** | **[]string** | Label |
- **labelNre** | **[]string** | Label |
- **labelRe** | **[]string** | Label |
+ **hasCable** | **bool** | Has cable |
+ **hasPowerOutlets** | **bool** | Has power outlets |
+ **id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
+ **idN** | **[]string** | |
+ **label** | **[]string** | |
+ **labelIc** | **[]string** | |
+ **labelIe** | **[]string** | |
+ **labelIew** | **[]string** | |
+ **labelIre** | **[]string** | |
+ **labelIsw** | **[]string** | |
+ **labelN** | **[]string** | |
+ **labelNic** | **[]string** | |
+ **labelNie** | **[]string** | |
+ **labelNiew** | **[]string** | |
+ **labelNire** | **[]string** | |
+ **labelNisw** | **[]string** | |
+ **labelNre** | **[]string** | |
+ **labelRe** | **[]string** | |
**limit** | **int32** | Number of results to return per page. |
+ **location** | **[]string** | |
+ **locationN** | **[]string** | |
**maximumDraw** | **[]int32** | |
**maximumDrawGt** | **[]int32** | |
**maximumDrawGte** | **[]int32** | |
@@ -34926,33 +35829,36 @@ Name | Type | Description | Notes
**maximumDrawLt** | **[]int32** | |
**maximumDrawLte** | **[]int32** | |
**maximumDrawN** | **[]int32** | |
- **moduleType** | **[]string** | |
- **moduleTypeIsnull** | **bool** | Module type (model or ID) is null |
- **moduleTypeN** | **[]string** | |
- **name** | **[]string** | Name |
- **nameIc** | **[]string** | Name |
- **nameIe** | **[]string** | Name |
- **nameIew** | **[]string** | Name |
- **nameIre** | **[]string** | Name |
- **nameIsw** | **[]string** | Name |
- **nameN** | **[]string** | Name |
- **nameNic** | **[]string** | Name |
- **nameNie** | **[]string** | Name |
- **nameNiew** | **[]string** | Name |
- **nameNire** | **[]string** | Name |
- **nameNisw** | **[]string** | Name |
- **nameNre** | **[]string** | Name |
- **nameRe** | **[]string** | Name |
+ **module** | **[]string** | |
+ **moduleIsnull** | **bool** | Module (model or ID) is null |
+ **moduleN** | **[]string** | |
+ **name** | **[]string** | |
+ **nameIc** | **[]string** | |
+ **nameIe** | **[]string** | |
+ **nameIew** | **[]string** | |
+ **nameIre** | **[]string** | |
+ **nameIsw** | **[]string** | |
+ **nameN** | **[]string** | |
+ **nameNic** | **[]string** | |
+ **nameNie** | **[]string** | |
+ **nameNiew** | **[]string** | |
+ **nameNire** | **[]string** | |
+ **nameNisw** | **[]string** | |
+ **nameNre** | **[]string** | |
+ **nameRe** | **[]string** | |
**offset** | **int32** | The initial index from which to return the results. |
- **powerOutletTemplates** | **[]string** | |
- **powerOutletTemplatesIsnull** | **bool** | Power outlet templates (name or ID) is null |
- **powerOutletTemplatesN** | **[]string** | |
+ **powerOutlets** | **[]string** | |
+ **powerOutletsIsnull** | **bool** | Power outlets (name or ID) is null |
+ **powerOutletsN** | **[]string** | |
**q** | **string** | Search |
**sort** | **string** | Which field to use when ordering the results. |
+ **tags** | **[]string** | |
+ **tagsIsnull** | **bool** | |
+ **tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
- **type_** | **[]string** | |
+ **teamsN** | **[]string** | |
+ **type_** | **[]string** | Physical port type |
**typeIc** | **[]string** | |
**typeIe** | **[]string** | |
**typeIew** | **[]string** | |
@@ -34967,10 +35873,11 @@ Name | Type | Description | Notes
**typeNre** | **[]string** | |
**typeRe** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PaginatedPowerPortTemplateList**](PaginatedPowerPortTemplateList.md)
+[**PaginatedPowerPortList**](PaginatedPowerPortList.md)
### Authorization
@@ -34986,9 +35893,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerPortTemplatesNotesCreate
+## DcimPowerPortsNotesCreate
-> Note DcimPowerPortTemplatesNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+> Note DcimPowerPortsNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
@@ -35007,19 +35914,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power port template.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power port.
noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerPortTemplatesNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerPortsNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortTemplatesNotesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortsNotesCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerPortTemplatesNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortTemplatesNotesCreate`: %v\n", resp)
+ // response from `DcimPowerPortsNotesCreate`: Note
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortsNotesCreate`: %v\n", resp)
}
```
@@ -35029,11 +35936,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power port template. |
+**id** | **string** | A UUID string identifying this power port. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerPortTemplatesNotesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerPortsNotesCreateRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -35060,9 +35967,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerPortTemplatesNotesList
+## DcimPowerPortsNotesList
-> PaginatedNoteList DcimPowerPortTemplatesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList DcimPowerPortsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -35081,21 +35988,22 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power port template.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power port.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerPortTemplatesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerPortsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortTemplatesNotesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerPortTemplatesNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortTemplatesNotesList`: %v\n", resp)
+ // response from `DcimPowerPortsNotesList`: PaginatedNoteList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortsNotesList`: %v\n", resp)
}
```
@@ -35105,11 +36013,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power port template. |
+**id** | **string** | A UUID string identifying this power port. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerPortTemplatesNotesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerPortsNotesListRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -35119,6 +36027,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -35138,9 +36047,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerPortTemplatesPartialUpdate
+## DcimPowerPortsPartialUpdate
-> PowerPortTemplate DcimPowerPortTemplatesPartialUpdate(ctx, id).Format(format).PatchedWritablePowerPortTemplateRequest(patchedWritablePowerPortTemplateRequest).Execute()
+> PowerPort DcimPowerPortsPartialUpdate(ctx, id).Format(format).PatchedWritablePowerPortRequest(patchedWritablePowerPortRequest).Execute()
@@ -35159,19 +36068,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power port template.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power port.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- patchedWritablePowerPortTemplateRequest := *openapiclient.NewPatchedWritablePowerPortTemplateRequest() // PatchedWritablePowerPortTemplateRequest | (optional)
+ patchedWritablePowerPortRequest := *openapiclient.NewPatchedWritablePowerPortRequest() // PatchedWritablePowerPortRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerPortTemplatesPartialUpdate(context.Background(), id).Format(format).PatchedWritablePowerPortTemplateRequest(patchedWritablePowerPortTemplateRequest).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerPortsPartialUpdate(context.Background(), id).Format(format).PatchedWritablePowerPortRequest(patchedWritablePowerPortRequest).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortTemplatesPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortsPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerPortTemplatesPartialUpdate`: PowerPortTemplate
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortTemplatesPartialUpdate`: %v\n", resp)
+ // response from `DcimPowerPortsPartialUpdate`: PowerPort
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortsPartialUpdate`: %v\n", resp)
}
```
@@ -35181,22 +36090,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power port template. |
+**id** | **string** | A UUID string identifying this power port. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerPortTemplatesPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerPortsPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **patchedWritablePowerPortTemplateRequest** | [**PatchedWritablePowerPortTemplateRequest**](PatchedWritablePowerPortTemplateRequest.md) | |
+ **patchedWritablePowerPortRequest** | [**PatchedWritablePowerPortRequest**](PatchedWritablePowerPortRequest.md) | |
### Return type
-[**PowerPortTemplate**](PowerPortTemplate.md)
+[**PowerPort**](PowerPort.md)
### Authorization
@@ -35212,9 +36121,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerPortTemplatesRetrieve
+## DcimPowerPortsRetrieve
-> PowerPortTemplate DcimPowerPortTemplatesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> PowerPort DcimPowerPortsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -35233,19 +36142,20 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power port template.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power port.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerPortTemplatesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerPortsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortTemplatesRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerPortTemplatesRetrieve`: PowerPortTemplate
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortTemplatesRetrieve`: %v\n", resp)
+ // response from `DcimPowerPortsRetrieve`: PowerPort
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortsRetrieve`: %v\n", resp)
}
```
@@ -35255,11 +36165,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power port template. |
+**id** | **string** | A UUID string identifying this power port. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerPortTemplatesRetrieveRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerPortsRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -35267,10 +36177,11 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PowerPortTemplate**](PowerPortTemplate.md)
+[**PowerPort**](PowerPort.md)
### Authorization
@@ -35286,9 +36197,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerPortTemplatesUpdate
+## DcimPowerPortsTraceRetrieve
-> PowerPortTemplate DcimPowerPortTemplatesUpdate(ctx, id).WritablePowerPortTemplateRequest(writablePowerPortTemplateRequest).Format(format).Execute()
+> PowerPort DcimPowerPortsTraceRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -35307,19 +36218,20 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power port template.
- writablePowerPortTemplateRequest := *openapiclient.NewWritablePowerPortTemplateRequest("Name_example") // WritablePowerPortTemplateRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power port.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerPortTemplatesUpdate(context.Background(), id).WritablePowerPortTemplateRequest(writablePowerPortTemplateRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimPowerPortsTraceRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortTemplatesUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortsTraceRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerPortTemplatesUpdate`: PowerPortTemplate
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortTemplatesUpdate`: %v\n", resp)
+ // response from `DcimPowerPortsTraceRetrieve`: PowerPort
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortsTraceRetrieve`: %v\n", resp)
}
```
@@ -35329,22 +36241,97 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power port template. |
+**id** | **string** | A UUID string identifying this power port. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerPortTemplatesUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimPowerPortsTraceRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **writablePowerPortTemplateRequest** | [**WritablePowerPortTemplateRequest**](WritablePowerPortTemplateRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PowerPortTemplate**](PowerPortTemplate.md)
+[**PowerPort**](PowerPort.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimPowerPortsUpdate
+
+> PowerPort DcimPowerPortsUpdate(ctx, id).WritablePowerPortRequest(writablePowerPortRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power port.
+ writablePowerPortRequest := *openapiclient.NewWritablePowerPortRequest("Name_example") // WritablePowerPortRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.DcimAPI.DcimPowerPortsUpdate(context.Background(), id).WritablePowerPortRequest(writablePowerPortRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortsUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimPowerPortsUpdate`: PowerPort
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortsUpdate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this power port. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimPowerPortsUpdateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **writablePowerPortRequest** | [**WritablePowerPortRequest**](WritablePowerPortRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+[**PowerPort**](PowerPort.md)
### Authorization
@@ -35360,9 +36347,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerPortsBulkDestroy
+## DcimRackGroupsBulkDestroy
-> DcimPowerPortsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+> DcimRackGroupsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
@@ -35386,9 +36373,9 @@ func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimPowerPortsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimRackGroupsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortsBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackGroupsBulkDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -35400,7 +36387,7 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerPortsBulkDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRackGroupsBulkDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -35426,9 +36413,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerPortsBulkPartialUpdate
+## DcimRackGroupsBulkPartialUpdate
-> []PowerPort DcimPowerPortsBulkPartialUpdate(ctx).PatchedBulkWritablePowerPortRequest(patchedBulkWritablePowerPortRequest).Format(format).Execute()
+> []RackGroup DcimRackGroupsBulkPartialUpdate(ctx).PatchedBulkWritableRackGroupRequest(patchedBulkWritableRackGroupRequest).Format(format).Execute()
@@ -35447,18 +36434,18 @@ import (
)
func main() {
- patchedBulkWritablePowerPortRequest := []openapiclient.PatchedBulkWritablePowerPortRequest{*openapiclient.NewPatchedBulkWritablePowerPortRequest("Id_example")} // []PatchedBulkWritablePowerPortRequest |
+ patchedBulkWritableRackGroupRequest := []openapiclient.PatchedBulkWritableRackGroupRequest{*openapiclient.NewPatchedBulkWritableRackGroupRequest("Id_example")} // []PatchedBulkWritableRackGroupRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerPortsBulkPartialUpdate(context.Background()).PatchedBulkWritablePowerPortRequest(patchedBulkWritablePowerPortRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRackGroupsBulkPartialUpdate(context.Background()).PatchedBulkWritableRackGroupRequest(patchedBulkWritableRackGroupRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortsBulkPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackGroupsBulkPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerPortsBulkPartialUpdate`: []PowerPort
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortsBulkPartialUpdate`: %v\n", resp)
+ // response from `DcimRackGroupsBulkPartialUpdate`: []RackGroup
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackGroupsBulkPartialUpdate`: %v\n", resp)
}
```
@@ -35468,17 +36455,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerPortsBulkPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRackGroupsBulkPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **patchedBulkWritablePowerPortRequest** | [**[]PatchedBulkWritablePowerPortRequest**](PatchedBulkWritablePowerPortRequest.md) | |
+ **patchedBulkWritableRackGroupRequest** | [**[]PatchedBulkWritableRackGroupRequest**](PatchedBulkWritableRackGroupRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]PowerPort**](PowerPort.md)
+[**[]RackGroup**](RackGroup.md)
### Authorization
@@ -35494,9 +36481,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerPortsBulkUpdate
+## DcimRackGroupsBulkUpdate
-> []PowerPort DcimPowerPortsBulkUpdate(ctx).BulkWritablePowerPortRequest(bulkWritablePowerPortRequest).Format(format).Execute()
+> []RackGroup DcimRackGroupsBulkUpdate(ctx).BulkWritableRackGroupRequest(bulkWritableRackGroupRequest).Format(format).Execute()
@@ -35515,18 +36502,18 @@ import (
)
func main() {
- bulkWritablePowerPortRequest := []openapiclient.BulkWritablePowerPortRequest{*openapiclient.NewBulkWritablePowerPortRequest("Id_example", "Name_example")} // []BulkWritablePowerPortRequest |
+ bulkWritableRackGroupRequest := []openapiclient.BulkWritableRackGroupRequest{*openapiclient.NewBulkWritableRackGroupRequest("Id_example", "Name_example", *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritableRackGroupRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerPortsBulkUpdate(context.Background()).BulkWritablePowerPortRequest(bulkWritablePowerPortRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRackGroupsBulkUpdate(context.Background()).BulkWritableRackGroupRequest(bulkWritableRackGroupRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortsBulkUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackGroupsBulkUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerPortsBulkUpdate`: []PowerPort
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortsBulkUpdate`: %v\n", resp)
+ // response from `DcimRackGroupsBulkUpdate`: []RackGroup
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackGroupsBulkUpdate`: %v\n", resp)
}
```
@@ -35536,17 +36523,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerPortsBulkUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRackGroupsBulkUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **bulkWritablePowerPortRequest** | [**[]BulkWritablePowerPortRequest**](BulkWritablePowerPortRequest.md) | |
+ **bulkWritableRackGroupRequest** | [**[]BulkWritableRackGroupRequest**](BulkWritableRackGroupRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]PowerPort**](PowerPort.md)
+[**[]RackGroup**](RackGroup.md)
### Authorization
@@ -35562,9 +36549,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerPortsCreate
+## DcimRackGroupsCreate
-> PowerPort DcimPowerPortsCreate(ctx).WritablePowerPortRequest(writablePowerPortRequest).Format(format).Execute()
+> RackGroup DcimRackGroupsCreate(ctx).RackGroupRequest(rackGroupRequest).Format(format).Execute()
@@ -35583,18 +36570,18 @@ import (
)
func main() {
- writablePowerPortRequest := *openapiclient.NewWritablePowerPortRequest("Name_example") // WritablePowerPortRequest |
+ rackGroupRequest := *openapiclient.NewRackGroupRequest("Name_example", *openapiclient.NewBulkWritableCableRequestStatus()) // RackGroupRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerPortsCreate(context.Background()).WritablePowerPortRequest(writablePowerPortRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRackGroupsCreate(context.Background()).RackGroupRequest(rackGroupRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortsCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackGroupsCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerPortsCreate`: PowerPort
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortsCreate`: %v\n", resp)
+ // response from `DcimRackGroupsCreate`: RackGroup
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackGroupsCreate`: %v\n", resp)
}
```
@@ -35604,17 +36591,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerPortsCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRackGroupsCreateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **writablePowerPortRequest** | [**WritablePowerPortRequest**](WritablePowerPortRequest.md) | |
+ **rackGroupRequest** | [**RackGroupRequest**](RackGroupRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**PowerPort**](PowerPort.md)
+[**RackGroup**](RackGroup.md)
### Authorization
@@ -35630,9 +36617,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerPortsDestroy
+## DcimRackGroupsDestroy
-> DcimPowerPortsDestroy(ctx, id).Format(format).Execute()
+> DcimRackGroupsDestroy(ctx, id).Format(format).Execute()
@@ -35651,14 +36638,14 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power port.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack group.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimPowerPortsDestroy(context.Background(), id).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimRackGroupsDestroy(context.Background(), id).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortsDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackGroupsDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -35670,11 +36657,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power port. |
+**id** | **string** | A UUID string identifying this rack group. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerPortsDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRackGroupsDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -35700,9 +36687,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerPortsList
+## DcimRackGroupsList
-> PaginatedPowerPortList DcimPowerPortsList(ctx).AllocatedDraw(allocatedDraw).AllocatedDrawGt(allocatedDrawGt).AllocatedDrawGte(allocatedDrawGte).AllocatedDrawIsnull(allocatedDrawIsnull).AllocatedDrawLt(allocatedDrawLt).AllocatedDrawLte(allocatedDrawLte).AllocatedDrawN(allocatedDrawN).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Connected(connected).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCable(hasCable).HasPowerOutlets(hasPowerOutlets).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).MaximumDraw(maximumDraw).MaximumDrawGt(maximumDrawGt).MaximumDrawGte(maximumDrawGte).MaximumDrawIsnull(maximumDrawIsnull).MaximumDrawLt(maximumDrawLt).MaximumDrawLte(maximumDrawLte).MaximumDrawN(maximumDrawN).Module(module).ModuleIsnull(moduleIsnull).ModuleN(moduleN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).PowerOutlets(powerOutlets).PowerOutletsIsnull(powerOutletsIsnull).PowerOutletsN(powerOutletsN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).Execute()
+> PaginatedRackGroupList DcimRackGroupsList(ctx).Ancestors(ancestors).Children(children).ChildrenIsnull(childrenIsnull).ChildrenN(childrenN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasChildren(hasChildren).HasPowerPanels(hasPowerPanels).HasRacks(hasRacks).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).PowerPanels(powerPanels).PowerPanelsIsnull(powerPanelsIsnull).PowerPanelsN(powerPanelsN).Q(q).Racks(racks).RacksIsnull(racksIsnull).RacksN(racksN).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -35717,24 +36704,25 @@ import (
"context"
"fmt"
"os"
+ "time"
openapiclient "github.com/nautobot/go-nautobot/v2"
)
func main() {
- allocatedDraw := []int32{int32(123)} // []int32 | (optional)
- allocatedDrawGt := []int32{int32(123)} // []int32 | (optional)
- allocatedDrawGte := []int32{int32(123)} // []int32 | (optional)
- allocatedDrawIsnull := true // bool | (optional)
- allocatedDrawLt := []int32{int32(123)} // []int32 | (optional)
- allocatedDrawLte := []int32{int32(123)} // []int32 | (optional)
- allocatedDrawN := []int32{int32(123)} // []int32 | (optional)
- cable := []string{"Inner_example"} // []string | Cable (optional)
- cableIsnull := true // bool | (optional)
- cableN := []string{"Inner_example"} // []string | Cable (optional)
- connected := true // bool | Connected status (bool) (optional)
+ ancestors := []string{"Inner_example"} // []string | (optional)
+ children := []string{"Inner_example"} // []string | (optional)
+ childrenIsnull := true // bool | Children (name or ID) is null (optional)
+ childrenN := []string{"Inner_example"} // []string | (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
+ created := []time.Time{time.Now()} // []time.Time | (optional)
+ createdGt := []time.Time{time.Now()} // []time.Time | (optional)
+ createdGte := []time.Time{time.Now()} // []time.Time | (optional)
+ createdIsnull := true // bool | (optional)
+ createdLt := []time.Time{time.Now()} // []time.Time | (optional)
+ createdLte := []time.Time{time.Now()} // []time.Time | (optional)
+ createdN := []time.Time{time.Now()} // []time.Time | (optional)
description := []string{"Inner_example"} // []string | (optional)
descriptionIc := []string{"Inner_example"} // []string | (optional)
descriptionIe := []string{"Inner_example"} // []string | (optional)
@@ -35749,53 +36737,24 @@ func main() {
descriptionNisw := []string{"Inner_example"} // []string | (optional)
descriptionNre := []string{"Inner_example"} // []string | (optional)
descriptionRe := []string{"Inner_example"} // []string | (optional)
- device := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- hasCable := true // bool | Has cable (optional)
- hasPowerOutlets := true // bool | Has power outlets (optional)
+ hasChildren := true // bool | Has children (optional)
+ hasPowerPanels := true // bool | Has power panels (optional)
+ hasRacks := true // bool | Has racks (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
- label := []string{"Inner_example"} // []string | (optional)
- labelIc := []string{"Inner_example"} // []string | (optional)
- labelIe := []string{"Inner_example"} // []string | (optional)
- labelIew := []string{"Inner_example"} // []string | (optional)
- labelIre := []string{"Inner_example"} // []string | (optional)
- labelIsw := []string{"Inner_example"} // []string | (optional)
- labelN := []string{"Inner_example"} // []string | (optional)
- labelNic := []string{"Inner_example"} // []string | (optional)
- labelNie := []string{"Inner_example"} // []string | (optional)
- labelNiew := []string{"Inner_example"} // []string | (optional)
- labelNire := []string{"Inner_example"} // []string | (optional)
- labelNisw := []string{"Inner_example"} // []string | (optional)
- labelNre := []string{"Inner_example"} // []string | (optional)
- labelRe := []string{"Inner_example"} // []string | (optional)
+ lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedIsnull := true // bool | (optional)
+ lastUpdatedLt := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedLte := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedN := []time.Time{time.Now()} // []time.Time | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
location := []string{"Inner_example"} // []string | (optional)
locationN := []string{"Inner_example"} // []string | (optional)
- maximumDraw := []int32{int32(123)} // []int32 | (optional)
- maximumDrawGt := []int32{int32(123)} // []int32 | (optional)
- maximumDrawGte := []int32{int32(123)} // []int32 | (optional)
- maximumDrawIsnull := true // bool | (optional)
- maximumDrawLt := []int32{int32(123)} // []int32 | (optional)
- maximumDrawLte := []int32{int32(123)} // []int32 | (optional)
- maximumDrawN := []int32{int32(123)} // []int32 | (optional)
- module := []string{"Inner_example"} // []string | (optional)
- moduleIsnull := true // bool | Module (model or ID) is null (optional)
- moduleN := []string{"Inner_example"} // []string | (optional)
name := []string{"Inner_example"} // []string | (optional)
nameIc := []string{"Inner_example"} // []string | (optional)
nameIe := []string{"Inner_example"} // []string | (optional)
@@ -35811,42 +36770,32 @@ func main() {
nameNre := []string{"Inner_example"} // []string | (optional)
nameRe := []string{"Inner_example"} // []string | (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- powerOutlets := []string{"Inner_example"} // []string | (optional)
- powerOutletsIsnull := true // bool | Power outlets (name or ID) is null (optional)
- powerOutletsN := []string{"Inner_example"} // []string | (optional)
+ parent := []string{"Inner_example"} // []string | (optional)
+ parentIsnull := true // bool | Parent (name or ID) is null (optional)
+ parentN := []string{"Inner_example"} // []string | (optional)
+ powerPanels := []string{"Inner_example"} // []string | (optional)
+ powerPanelsIsnull := true // bool | Power panels (name or ID) is null (optional)
+ powerPanelsN := []string{"Inner_example"} // []string | (optional)
q := "q_example" // string | Search (optional)
+ racks := []string{"Inner_example"} // []string | (optional)
+ racksIsnull := true // bool | (optional)
+ racksN := []string{"Inner_example"} // []string | (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
- tags := []string{"Inner_example"} // []string | (optional)
- tagsIsnull := true // bool | (optional)
- tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
- type_ := []string{"Inner_example"} // []string | Physical port type (optional)
- typeIc := []string{"Inner_example"} // []string | Physical port type (optional)
- typeIe := []string{"Inner_example"} // []string | Physical port type (optional)
- typeIew := []string{"Inner_example"} // []string | Physical port type (optional)
- typeIre := []string{"Inner_example"} // []string | Physical port type (optional)
- typeIsw := []string{"Inner_example"} // []string | Physical port type (optional)
- typeN := []string{"Inner_example"} // []string | Physical port type (optional)
- typeNic := []string{"Inner_example"} // []string | Physical port type (optional)
- typeNie := []string{"Inner_example"} // []string | Physical port type (optional)
- typeNiew := []string{"Inner_example"} // []string | Physical port type (optional)
- typeNire := []string{"Inner_example"} // []string | Physical port type (optional)
- typeNisw := []string{"Inner_example"} // []string | Physical port type (optional)
- typeNre := []string{"Inner_example"} // []string | Physical port type (optional)
- typeRe := []string{"Inner_example"} // []string | Physical port type (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerPortsList(context.Background()).AllocatedDraw(allocatedDraw).AllocatedDrawGt(allocatedDrawGt).AllocatedDrawGte(allocatedDrawGte).AllocatedDrawIsnull(allocatedDrawIsnull).AllocatedDrawLt(allocatedDrawLt).AllocatedDrawLte(allocatedDrawLte).AllocatedDrawN(allocatedDrawN).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Connected(connected).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasCable(hasCable).HasPowerOutlets(hasPowerOutlets).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).MaximumDraw(maximumDraw).MaximumDrawGt(maximumDrawGt).MaximumDrawGte(maximumDrawGte).MaximumDrawIsnull(maximumDrawIsnull).MaximumDrawLt(maximumDrawLt).MaximumDrawLte(maximumDrawLte).MaximumDrawN(maximumDrawN).Module(module).ModuleIsnull(moduleIsnull).ModuleN(moduleN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).PowerOutlets(powerOutlets).PowerOutletsIsnull(powerOutletsIsnull).PowerOutletsN(powerOutletsN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRackGroupsList(context.Background()).Ancestors(ancestors).Children(children).ChildrenIsnull(childrenIsnull).ChildrenN(childrenN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasChildren(hasChildren).HasPowerPanels(hasPowerPanels).HasRacks(hasRacks).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).PowerPanels(powerPanels).PowerPanelsIsnull(powerPanelsIsnull).PowerPanelsN(powerPanelsN).Q(q).Racks(racks).RacksIsnull(racksIsnull).RacksN(racksN).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortsList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackGroupsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerPortsList`: PaginatedPowerPortList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortsList`: %v\n", resp)
+ // response from `DcimRackGroupsList`: PaginatedRackGroupList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackGroupsList`: %v\n", resp)
}
```
@@ -35856,25 +36805,25 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerPortsListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRackGroupsListRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **allocatedDraw** | **[]int32** | |
- **allocatedDrawGt** | **[]int32** | |
- **allocatedDrawGte** | **[]int32** | |
- **allocatedDrawIsnull** | **bool** | |
- **allocatedDrawLt** | **[]int32** | |
- **allocatedDrawLte** | **[]int32** | |
- **allocatedDrawN** | **[]int32** | |
- **cable** | **[]string** | Cable |
- **cableIsnull** | **bool** | |
- **cableN** | **[]string** | Cable |
- **connected** | **bool** | Connected status (bool) |
+ **ancestors** | **[]string** | |
+ **children** | **[]string** | |
+ **childrenIsnull** | **bool** | Children (name or ID) is null |
+ **childrenN** | **[]string** | |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
+ **created** | [**[]time.Time**](time.Time.md) | |
+ **createdGt** | [**[]time.Time**](time.Time.md) | |
+ **createdGte** | [**[]time.Time**](time.Time.md) | |
+ **createdIsnull** | **bool** | |
+ **createdLt** | [**[]time.Time**](time.Time.md) | |
+ **createdLte** | [**[]time.Time**](time.Time.md) | |
+ **createdN** | [**[]time.Time**](time.Time.md) | |
**description** | **[]string** | |
**descriptionIc** | **[]string** | |
**descriptionIe** | **[]string** | |
@@ -35889,53 +36838,24 @@ Name | Type | Description | Notes
**descriptionNisw** | **[]string** | |
**descriptionNre** | **[]string** | |
**descriptionRe** | **[]string** | |
- **device** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **hasCable** | **bool** | Has cable |
- **hasPowerOutlets** | **bool** | Has power outlets |
+ **hasChildren** | **bool** | Has children |
+ **hasPowerPanels** | **bool** | Has power panels |
+ **hasRacks** | **bool** | Has racks |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
- **label** | **[]string** | |
- **labelIc** | **[]string** | |
- **labelIe** | **[]string** | |
- **labelIew** | **[]string** | |
- **labelIre** | **[]string** | |
- **labelIsw** | **[]string** | |
- **labelN** | **[]string** | |
- **labelNic** | **[]string** | |
- **labelNie** | **[]string** | |
- **labelNiew** | **[]string** | |
- **labelNire** | **[]string** | |
- **labelNisw** | **[]string** | |
- **labelNre** | **[]string** | |
- **labelRe** | **[]string** | |
+ **lastUpdated** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedIsnull** | **bool** | |
+ **lastUpdatedLt** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedLte** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedN** | [**[]time.Time**](time.Time.md) | |
**limit** | **int32** | Number of results to return per page. |
**location** | **[]string** | |
**locationN** | **[]string** | |
- **maximumDraw** | **[]int32** | |
- **maximumDrawGt** | **[]int32** | |
- **maximumDrawGte** | **[]int32** | |
- **maximumDrawIsnull** | **bool** | |
- **maximumDrawLt** | **[]int32** | |
- **maximumDrawLte** | **[]int32** | |
- **maximumDrawN** | **[]int32** | |
- **module** | **[]string** | |
- **moduleIsnull** | **bool** | Module (model or ID) is null |
- **moduleN** | **[]string** | |
**name** | **[]string** | |
**nameIc** | **[]string** | |
**nameIe** | **[]string** | |
@@ -35951,36 +36871,26 @@ Name | Type | Description | Notes
**nameNre** | **[]string** | |
**nameRe** | **[]string** | |
**offset** | **int32** | The initial index from which to return the results. |
- **powerOutlets** | **[]string** | |
- **powerOutletsIsnull** | **bool** | Power outlets (name or ID) is null |
- **powerOutletsN** | **[]string** | |
+ **parent** | **[]string** | |
+ **parentIsnull** | **bool** | Parent (name or ID) is null |
+ **parentN** | **[]string** | |
+ **powerPanels** | **[]string** | |
+ **powerPanelsIsnull** | **bool** | Power panels (name or ID) is null |
+ **powerPanelsN** | **[]string** | |
**q** | **string** | Search |
+ **racks** | **[]string** | |
+ **racksIsnull** | **bool** | |
+ **racksN** | **[]string** | |
**sort** | **string** | Which field to use when ordering the results. |
- **tags** | **[]string** | |
- **tagsIsnull** | **bool** | |
- **tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
- **type_** | **[]string** | Physical port type |
- **typeIc** | **[]string** | Physical port type |
- **typeIe** | **[]string** | Physical port type |
- **typeIew** | **[]string** | Physical port type |
- **typeIre** | **[]string** | Physical port type |
- **typeIsw** | **[]string** | Physical port type |
- **typeN** | **[]string** | Physical port type |
- **typeNic** | **[]string** | Physical port type |
- **typeNie** | **[]string** | Physical port type |
- **typeNiew** | **[]string** | Physical port type |
- **typeNire** | **[]string** | Physical port type |
- **typeNisw** | **[]string** | Physical port type |
- **typeNre** | **[]string** | Physical port type |
- **typeRe** | **[]string** | Physical port type |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PaginatedPowerPortList**](PaginatedPowerPortList.md)
+[**PaginatedRackGroupList**](PaginatedRackGroupList.md)
### Authorization
@@ -35996,9 +36906,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerPortsNotesCreate
+## DcimRackGroupsNotesCreate
-> Note DcimPowerPortsNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+> Note DcimRackGroupsNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
@@ -36017,19 +36927,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power port.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack group.
noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerPortsNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRackGroupsNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortsNotesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackGroupsNotesCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerPortsNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortsNotesCreate`: %v\n", resp)
+ // response from `DcimRackGroupsNotesCreate`: Note
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackGroupsNotesCreate`: %v\n", resp)
}
```
@@ -36039,11 +36949,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power port. |
+**id** | **string** | A UUID string identifying this rack group. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerPortsNotesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRackGroupsNotesCreateRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -36070,9 +36980,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerPortsNotesList
+## DcimRackGroupsNotesList
-> PaginatedNoteList DcimPowerPortsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList DcimRackGroupsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -36091,21 +37001,22 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power port.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack group.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerPortsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRackGroupsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortsNotesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackGroupsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerPortsNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortsNotesList`: %v\n", resp)
+ // response from `DcimRackGroupsNotesList`: PaginatedNoteList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackGroupsNotesList`: %v\n", resp)
}
```
@@ -36115,11 +37026,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power port. |
+**id** | **string** | A UUID string identifying this rack group. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerPortsNotesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRackGroupsNotesListRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -36129,6 +37040,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -36148,9 +37060,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerPortsPartialUpdate
+## DcimRackGroupsPartialUpdate
-> PowerPort DcimPowerPortsPartialUpdate(ctx, id).Format(format).PatchedWritablePowerPortRequest(patchedWritablePowerPortRequest).Execute()
+> RackGroup DcimRackGroupsPartialUpdate(ctx, id).Format(format).PatchedRackGroupRequest(patchedRackGroupRequest).Execute()
@@ -36169,19 +37081,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power port.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack group.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- patchedWritablePowerPortRequest := *openapiclient.NewPatchedWritablePowerPortRequest() // PatchedWritablePowerPortRequest | (optional)
+ patchedRackGroupRequest := *openapiclient.NewPatchedRackGroupRequest() // PatchedRackGroupRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerPortsPartialUpdate(context.Background(), id).Format(format).PatchedWritablePowerPortRequest(patchedWritablePowerPortRequest).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRackGroupsPartialUpdate(context.Background(), id).Format(format).PatchedRackGroupRequest(patchedRackGroupRequest).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortsPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackGroupsPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerPortsPartialUpdate`: PowerPort
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortsPartialUpdate`: %v\n", resp)
+ // response from `DcimRackGroupsPartialUpdate`: RackGroup
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackGroupsPartialUpdate`: %v\n", resp)
}
```
@@ -36191,22 +37103,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power port. |
+**id** | **string** | A UUID string identifying this rack group. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerPortsPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRackGroupsPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **patchedWritablePowerPortRequest** | [**PatchedWritablePowerPortRequest**](PatchedWritablePowerPortRequest.md) | |
+ **patchedRackGroupRequest** | [**PatchedRackGroupRequest**](PatchedRackGroupRequest.md) | |
### Return type
-[**PowerPort**](PowerPort.md)
+[**RackGroup**](RackGroup.md)
### Authorization
@@ -36222,83 +37134,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerPortsRetrieve
-
-> PowerPort DcimPowerPortsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power port.
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerPortsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortsRetrieve``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `DcimPowerPortsRetrieve`: PowerPort
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortsRetrieve`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power port. |
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiDcimPowerPortsRetrieveRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **depth** | **int32** | Serializer Depth | [default to 1]
-
-### Return type
-
-[**PowerPort**](PowerPort.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## DcimPowerPortsTraceRetrieve
+## DcimRackGroupsRetrieve
-> PowerPort DcimPowerPortsTraceRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> RackGroup DcimRackGroupsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -36317,19 +37155,20 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power port.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack group.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerPortsTraceRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRackGroupsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortsTraceRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackGroupsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerPortsTraceRetrieve`: PowerPort
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortsTraceRetrieve`: %v\n", resp)
+ // response from `DcimRackGroupsRetrieve`: RackGroup
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackGroupsRetrieve`: %v\n", resp)
}
```
@@ -36339,11 +37178,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power port. |
+**id** | **string** | A UUID string identifying this rack group. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerPortsTraceRetrieveRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRackGroupsRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -36351,10 +37190,11 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PowerPort**](PowerPort.md)
+[**RackGroup**](RackGroup.md)
### Authorization
@@ -36370,9 +37210,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimPowerPortsUpdate
+## DcimRackGroupsUpdate
-> PowerPort DcimPowerPortsUpdate(ctx, id).WritablePowerPortRequest(writablePowerPortRequest).Format(format).Execute()
+> RackGroup DcimRackGroupsUpdate(ctx, id).RackGroupRequest(rackGroupRequest).Format(format).Execute()
@@ -36391,19 +37231,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this power port.
- writablePowerPortRequest := *openapiclient.NewWritablePowerPortRequest("Name_example") // WritablePowerPortRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack group.
+ rackGroupRequest := *openapiclient.NewRackGroupRequest("Name_example", *openapiclient.NewBulkWritableCableRequestStatus()) // RackGroupRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimPowerPortsUpdate(context.Background(), id).WritablePowerPortRequest(writablePowerPortRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRackGroupsUpdate(context.Background(), id).RackGroupRequest(rackGroupRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimPowerPortsUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackGroupsUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimPowerPortsUpdate`: PowerPort
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimPowerPortsUpdate`: %v\n", resp)
+ // response from `DcimRackGroupsUpdate`: RackGroup
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackGroupsUpdate`: %v\n", resp)
}
```
@@ -36413,22 +37253,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this power port. |
+**id** | **string** | A UUID string identifying this rack group. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimPowerPortsUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRackGroupsUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **writablePowerPortRequest** | [**WritablePowerPortRequest**](WritablePowerPortRequest.md) | |
+ **rackGroupRequest** | [**RackGroupRequest**](RackGroupRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**PowerPort**](PowerPort.md)
+[**RackGroup**](RackGroup.md)
### Authorization
@@ -36444,9 +37284,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRackGroupsBulkDestroy
+## DcimRackReservationsBulkDestroy
-> DcimRackGroupsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+> DcimRackReservationsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
@@ -36470,9 +37310,9 @@ func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimRackGroupsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimRackReservationsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackGroupsBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackReservationsBulkDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -36484,7 +37324,7 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRackGroupsBulkDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRackReservationsBulkDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -36510,9 +37350,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRackGroupsBulkPartialUpdate
+## DcimRackReservationsBulkPartialUpdate
-> []RackGroup DcimRackGroupsBulkPartialUpdate(ctx).PatchedBulkWritableRackGroupRequest(patchedBulkWritableRackGroupRequest).Format(format).Execute()
+> []RackReservation DcimRackReservationsBulkPartialUpdate(ctx).PatchedBulkWritableRackReservationRequest(patchedBulkWritableRackReservationRequest).Format(format).Execute()
@@ -36531,18 +37371,18 @@ import (
)
func main() {
- patchedBulkWritableRackGroupRequest := []openapiclient.PatchedBulkWritableRackGroupRequest{*openapiclient.NewPatchedBulkWritableRackGroupRequest("Id_example")} // []PatchedBulkWritableRackGroupRequest |
+ patchedBulkWritableRackReservationRequest := []openapiclient.PatchedBulkWritableRackReservationRequest{*openapiclient.NewPatchedBulkWritableRackReservationRequest("Id_example")} // []PatchedBulkWritableRackReservationRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRackGroupsBulkPartialUpdate(context.Background()).PatchedBulkWritableRackGroupRequest(patchedBulkWritableRackGroupRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRackReservationsBulkPartialUpdate(context.Background()).PatchedBulkWritableRackReservationRequest(patchedBulkWritableRackReservationRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackGroupsBulkPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackReservationsBulkPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRackGroupsBulkPartialUpdate`: []RackGroup
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackGroupsBulkPartialUpdate`: %v\n", resp)
+ // response from `DcimRackReservationsBulkPartialUpdate`: []RackReservation
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackReservationsBulkPartialUpdate`: %v\n", resp)
}
```
@@ -36552,17 +37392,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRackGroupsBulkPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRackReservationsBulkPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **patchedBulkWritableRackGroupRequest** | [**[]PatchedBulkWritableRackGroupRequest**](PatchedBulkWritableRackGroupRequest.md) | |
+ **patchedBulkWritableRackReservationRequest** | [**[]PatchedBulkWritableRackReservationRequest**](PatchedBulkWritableRackReservationRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]RackGroup**](RackGroup.md)
+[**[]RackReservation**](RackReservation.md)
### Authorization
@@ -36578,9 +37418,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRackGroupsBulkUpdate
+## DcimRackReservationsBulkUpdate
-> []RackGroup DcimRackGroupsBulkUpdate(ctx).BulkWritableRackGroupRequest(bulkWritableRackGroupRequest).Format(format).Execute()
+> []RackReservation DcimRackReservationsBulkUpdate(ctx).BulkWritableRackReservationRequest(bulkWritableRackReservationRequest).Format(format).Execute()
@@ -36599,18 +37439,18 @@ import (
)
func main() {
- bulkWritableRackGroupRequest := []openapiclient.BulkWritableRackGroupRequest{*openapiclient.NewBulkWritableRackGroupRequest("Id_example", "Name_example", *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritableRackGroupRequest |
+ bulkWritableRackReservationRequest := []openapiclient.BulkWritableRackReservationRequest{*openapiclient.NewBulkWritableRackReservationRequest("Id_example", interface{}(123), "Description_example", *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritableRackReservationRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRackGroupsBulkUpdate(context.Background()).BulkWritableRackGroupRequest(bulkWritableRackGroupRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRackReservationsBulkUpdate(context.Background()).BulkWritableRackReservationRequest(bulkWritableRackReservationRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackGroupsBulkUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackReservationsBulkUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRackGroupsBulkUpdate`: []RackGroup
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackGroupsBulkUpdate`: %v\n", resp)
+ // response from `DcimRackReservationsBulkUpdate`: []RackReservation
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackReservationsBulkUpdate`: %v\n", resp)
}
```
@@ -36620,17 +37460,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRackGroupsBulkUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRackReservationsBulkUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **bulkWritableRackGroupRequest** | [**[]BulkWritableRackGroupRequest**](BulkWritableRackGroupRequest.md) | |
+ **bulkWritableRackReservationRequest** | [**[]BulkWritableRackReservationRequest**](BulkWritableRackReservationRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]RackGroup**](RackGroup.md)
+[**[]RackReservation**](RackReservation.md)
### Authorization
@@ -36646,9 +37486,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRackGroupsCreate
+## DcimRackReservationsCreate
-> RackGroup DcimRackGroupsCreate(ctx).RackGroupRequest(rackGroupRequest).Format(format).Execute()
+> RackReservation DcimRackReservationsCreate(ctx).RackReservationRequest(rackReservationRequest).Format(format).Execute()
@@ -36667,18 +37507,18 @@ import (
)
func main() {
- rackGroupRequest := *openapiclient.NewRackGroupRequest("Name_example", *openapiclient.NewBulkWritableCableRequestStatus()) // RackGroupRequest |
+ rackReservationRequest := *openapiclient.NewRackReservationRequest(interface{}(123), "Description_example", *openapiclient.NewBulkWritableCableRequestStatus()) // RackReservationRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRackGroupsCreate(context.Background()).RackGroupRequest(rackGroupRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRackReservationsCreate(context.Background()).RackReservationRequest(rackReservationRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackGroupsCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackReservationsCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRackGroupsCreate`: RackGroup
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackGroupsCreate`: %v\n", resp)
+ // response from `DcimRackReservationsCreate`: RackReservation
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackReservationsCreate`: %v\n", resp)
}
```
@@ -36688,17 +37528,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRackGroupsCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRackReservationsCreateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **rackGroupRequest** | [**RackGroupRequest**](RackGroupRequest.md) | |
+ **rackReservationRequest** | [**RackReservationRequest**](RackReservationRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**RackGroup**](RackGroup.md)
+[**RackReservation**](RackReservation.md)
### Authorization
@@ -36714,9 +37554,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRackGroupsDestroy
+## DcimRackReservationsDestroy
-> DcimRackGroupsDestroy(ctx, id).Format(format).Execute()
+> DcimRackReservationsDestroy(ctx, id).Format(format).Execute()
@@ -36735,14 +37575,14 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack group.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack reservation.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimRackGroupsDestroy(context.Background(), id).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimRackReservationsDestroy(context.Background(), id).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackGroupsDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackReservationsDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -36754,11 +37594,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rack group. |
+**id** | **string** | A UUID string identifying this rack reservation. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRackGroupsDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRackReservationsDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -36784,9 +37624,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRackGroupsList
+## DcimRackReservationsList
-> PaginatedRackGroupList DcimRackGroupsList(ctx).Children(children).ChildrenIsnull(childrenIsnull).ChildrenN(childrenN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasChildren(hasChildren).HasPowerPanels(hasPowerPanels).HasRacks(hasRacks).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).PowerPanels(powerPanels).PowerPanelsIsnull(powerPanelsIsnull).PowerPanelsN(powerPanelsN).Q(q).Racks(racks).RacksIsnull(racksIsnull).RacksN(racksN).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedRackReservationList DcimRackReservationsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Offset(offset).Q(q).Rack(rack).RackN(rackN).RackGroup(rackGroup).RackGroupIsnull(rackGroupIsnull).RackGroupN(rackGroupN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).User(user).UserN(userN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -36806,12 +37646,9 @@ import (
)
func main() {
- children := []string{"Inner_example"} // []string | (optional)
- childrenIsnull := true // bool | Children (name or ID) is null (optional)
- childrenN := []string{"Inner_example"} // []string | (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -36834,25 +37671,10 @@ func main() {
descriptionNre := []string{"Inner_example"} // []string | (optional)
descriptionRe := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- hasChildren := true // bool | Has children (optional)
- hasPowerPanels := true // bool | Has power panels (optional)
- hasRacks := true // bool | Has racks (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -36861,48 +37683,43 @@ func main() {
lastUpdatedLte := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedN := []time.Time{time.Now()} // []time.Time | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
- location := []string{"Inner_example"} // []string | (optional)
- locationN := []string{"Inner_example"} // []string | (optional)
- name := []string{"Inner_example"} // []string | (optional)
- nameIc := []string{"Inner_example"} // []string | (optional)
- nameIe := []string{"Inner_example"} // []string | (optional)
- nameIew := []string{"Inner_example"} // []string | (optional)
- nameIre := []string{"Inner_example"} // []string | (optional)
- nameIsw := []string{"Inner_example"} // []string | (optional)
- nameN := []string{"Inner_example"} // []string | (optional)
- nameNic := []string{"Inner_example"} // []string | (optional)
- nameNie := []string{"Inner_example"} // []string | (optional)
- nameNiew := []string{"Inner_example"} // []string | (optional)
- nameNire := []string{"Inner_example"} // []string | (optional)
- nameNisw := []string{"Inner_example"} // []string | (optional)
- nameNre := []string{"Inner_example"} // []string | (optional)
- nameRe := []string{"Inner_example"} // []string | (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- parent := []string{"Inner_example"} // []string | (optional)
- parentIsnull := true // bool | Parent (name or ID) is null (optional)
- parentN := []string{"Inner_example"} // []string | (optional)
- powerPanels := []string{"Inner_example"} // []string | (optional)
- powerPanelsIsnull := true // bool | Power panels (name or ID) is null (optional)
- powerPanelsN := []string{"Inner_example"} // []string | (optional)
q := "q_example" // string | Search (optional)
- racks := []string{"Inner_example"} // []string | (optional)
- racksIsnull := true // bool | (optional)
- racksN := []string{"Inner_example"} // []string | (optional)
+ rack := []string{"Inner_example"} // []string | (optional)
+ rackN := []string{"Inner_example"} // []string | (optional)
+ rackGroup := []string{"Inner_example"} // []string | (optional)
+ rackGroupIsnull := true // bool | Rack group (name or ID) is null (optional)
+ rackGroupN := []string{"Inner_example"} // []string | (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
+ tags := []string{"Inner_example"} // []string | (optional)
+ tagsIsnull := true // bool | (optional)
+ tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
+ tenant := []string{"Inner_example"} // []string | (optional)
+ tenantIsnull := true // bool | Tenant (name or ID) is null (optional)
+ tenantN := []string{"Inner_example"} // []string | (optional)
+ tenantGroup := []string{"Inner_example"} // []string | (optional)
+ tenantGroupIsnull := true // bool | Tenant Group (name or ID) is null (optional)
+ tenantGroupN := []string{"Inner_example"} // []string | (optional)
+ tenantId := []*string{"Inner_example"} // []*string | Tenant (ID) (deprecated, use \"tenant\" filter instead) (optional)
+ tenantIdIsnull := true // bool | Tenant (ID) (deprecated, use \"tenant\" filter instead) is null (optional)
+ tenantIdN := []*string{"Inner_example"} // []*string | Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead) (optional)
+ user := []string{"Inner_example"} // []string | (optional)
+ userN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRackGroupsList(context.Background()).Children(children).ChildrenIsnull(childrenIsnull).ChildrenN(childrenN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasChildren(hasChildren).HasPowerPanels(hasPowerPanels).HasRacks(hasRacks).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).PowerPanels(powerPanels).PowerPanelsIsnull(powerPanelsIsnull).PowerPanelsN(powerPanelsN).Q(q).Racks(racks).RacksIsnull(racksIsnull).RacksN(racksN).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRackReservationsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Offset(offset).Q(q).Rack(rack).RackN(rackN).RackGroup(rackGroup).RackGroupIsnull(rackGroupIsnull).RackGroupN(rackGroupN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).User(user).UserN(userN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackGroupsList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackReservationsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRackGroupsList`: PaginatedRackGroupList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackGroupsList`: %v\n", resp)
+ // response from `DcimRackReservationsList`: PaginatedRackReservationList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackReservationsList`: %v\n", resp)
}
```
@@ -36912,17 +37729,14 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRackGroupsListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRackReservationsListRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **children** | **[]string** | |
- **childrenIsnull** | **bool** | Children (name or ID) is null |
- **childrenN** | **[]string** | |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -36945,25 +37759,10 @@ Name | Type | Description | Notes
**descriptionNre** | **[]string** | |
**descriptionRe** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **hasChildren** | **bool** | Has children |
- **hasPowerPanels** | **bool** | Has power panels |
- **hasRacks** | **bool** | Has racks |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -36972,42 +37771,37 @@ Name | Type | Description | Notes
**lastUpdatedLte** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedN** | [**[]time.Time**](time.Time.md) | |
**limit** | **int32** | Number of results to return per page. |
- **location** | **[]string** | |
- **locationN** | **[]string** | |
- **name** | **[]string** | |
- **nameIc** | **[]string** | |
- **nameIe** | **[]string** | |
- **nameIew** | **[]string** | |
- **nameIre** | **[]string** | |
- **nameIsw** | **[]string** | |
- **nameN** | **[]string** | |
- **nameNic** | **[]string** | |
- **nameNie** | **[]string** | |
- **nameNiew** | **[]string** | |
- **nameNire** | **[]string** | |
- **nameNisw** | **[]string** | |
- **nameNre** | **[]string** | |
- **nameRe** | **[]string** | |
**offset** | **int32** | The initial index from which to return the results. |
- **parent** | **[]string** | |
- **parentIsnull** | **bool** | Parent (name or ID) is null |
- **parentN** | **[]string** | |
- **powerPanels** | **[]string** | |
- **powerPanelsIsnull** | **bool** | Power panels (name or ID) is null |
- **powerPanelsN** | **[]string** | |
**q** | **string** | Search |
- **racks** | **[]string** | |
- **racksIsnull** | **bool** | |
- **racksN** | **[]string** | |
+ **rack** | **[]string** | |
+ **rackN** | **[]string** | |
+ **rackGroup** | **[]string** | |
+ **rackGroupIsnull** | **bool** | Rack group (name or ID) is null |
+ **rackGroupN** | **[]string** | |
**sort** | **string** | Which field to use when ordering the results. |
+ **tags** | **[]string** | |
+ **tagsIsnull** | **bool** | |
+ **tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
+ **tenant** | **[]string** | |
+ **tenantIsnull** | **bool** | Tenant (name or ID) is null |
+ **tenantN** | **[]string** | |
+ **tenantGroup** | **[]string** | |
+ **tenantGroupIsnull** | **bool** | Tenant Group (name or ID) is null |
+ **tenantGroupN** | **[]string** | |
+ **tenantId** | **[]string** | Tenant (ID) (deprecated, use \"tenant\" filter instead) |
+ **tenantIdIsnull** | **bool** | Tenant (ID) (deprecated, use \"tenant\" filter instead) is null |
+ **tenantIdN** | **[]string** | Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead) |
+ **user** | **[]string** | |
+ **userN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PaginatedRackGroupList**](PaginatedRackGroupList.md)
+[**PaginatedRackReservationList**](PaginatedRackReservationList.md)
### Authorization
@@ -37023,9 +37817,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRackGroupsNotesCreate
+## DcimRackReservationsNotesCreate
-> Note DcimRackGroupsNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+> Note DcimRackReservationsNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
@@ -37044,19 +37838,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack group.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack reservation.
noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRackGroupsNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRackReservationsNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackGroupsNotesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackReservationsNotesCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRackGroupsNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackGroupsNotesCreate`: %v\n", resp)
+ // response from `DcimRackReservationsNotesCreate`: Note
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackReservationsNotesCreate`: %v\n", resp)
}
```
@@ -37066,11 +37860,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rack group. |
+**id** | **string** | A UUID string identifying this rack reservation. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRackGroupsNotesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRackReservationsNotesCreateRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -37097,9 +37891,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRackGroupsNotesList
+## DcimRackReservationsNotesList
-> PaginatedNoteList DcimRackGroupsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList DcimRackReservationsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -37118,21 +37912,22 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack group.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack reservation.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRackGroupsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRackReservationsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackGroupsNotesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackReservationsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRackGroupsNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackGroupsNotesList`: %v\n", resp)
+ // response from `DcimRackReservationsNotesList`: PaginatedNoteList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackReservationsNotesList`: %v\n", resp)
}
```
@@ -37142,11 +37937,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rack group. |
+**id** | **string** | A UUID string identifying this rack reservation. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRackGroupsNotesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRackReservationsNotesListRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -37156,6 +37951,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -37175,9 +37971,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRackGroupsPartialUpdate
+## DcimRackReservationsPartialUpdate
-> RackGroup DcimRackGroupsPartialUpdate(ctx, id).Format(format).PatchedRackGroupRequest(patchedRackGroupRequest).Execute()
+> RackReservation DcimRackReservationsPartialUpdate(ctx, id).Format(format).PatchedRackReservationRequest(patchedRackReservationRequest).Execute()
@@ -37196,19 +37992,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack group.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack reservation.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- patchedRackGroupRequest := *openapiclient.NewPatchedRackGroupRequest() // PatchedRackGroupRequest | (optional)
+ patchedRackReservationRequest := *openapiclient.NewPatchedRackReservationRequest() // PatchedRackReservationRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRackGroupsPartialUpdate(context.Background(), id).Format(format).PatchedRackGroupRequest(patchedRackGroupRequest).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRackReservationsPartialUpdate(context.Background(), id).Format(format).PatchedRackReservationRequest(patchedRackReservationRequest).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackGroupsPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackReservationsPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRackGroupsPartialUpdate`: RackGroup
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackGroupsPartialUpdate`: %v\n", resp)
+ // response from `DcimRackReservationsPartialUpdate`: RackReservation
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackReservationsPartialUpdate`: %v\n", resp)
}
```
@@ -37218,22 +38014,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rack group. |
+**id** | **string** | A UUID string identifying this rack reservation. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRackGroupsPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRackReservationsPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **patchedRackGroupRequest** | [**PatchedRackGroupRequest**](PatchedRackGroupRequest.md) | |
+ **patchedRackReservationRequest** | [**PatchedRackReservationRequest**](PatchedRackReservationRequest.md) | |
### Return type
-[**RackGroup**](RackGroup.md)
+[**RackReservation**](RackReservation.md)
### Authorization
@@ -37249,9 +38045,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRackGroupsRetrieve
+## DcimRackReservationsRetrieve
-> RackGroup DcimRackGroupsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> RackReservation DcimRackReservationsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -37270,19 +38066,20 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack group.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack reservation.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRackGroupsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRackReservationsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackGroupsRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackReservationsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRackGroupsRetrieve`: RackGroup
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackGroupsRetrieve`: %v\n", resp)
+ // response from `DcimRackReservationsRetrieve`: RackReservation
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackReservationsRetrieve`: %v\n", resp)
}
```
@@ -37292,11 +38089,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rack group. |
+**id** | **string** | A UUID string identifying this rack reservation. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRackGroupsRetrieveRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRackReservationsRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -37304,10 +38101,11 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**RackGroup**](RackGroup.md)
+[**RackReservation**](RackReservation.md)
### Authorization
@@ -37323,9 +38121,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRackGroupsUpdate
+## DcimRackReservationsUpdate
-> RackGroup DcimRackGroupsUpdate(ctx, id).RackGroupRequest(rackGroupRequest).Format(format).Execute()
+> RackReservation DcimRackReservationsUpdate(ctx, id).RackReservationRequest(rackReservationRequest).Format(format).Execute()
@@ -37344,19 +38142,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack group.
- rackGroupRequest := *openapiclient.NewRackGroupRequest("Name_example", *openapiclient.NewBulkWritableCableRequestStatus()) // RackGroupRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack reservation.
+ rackReservationRequest := *openapiclient.NewRackReservationRequest(interface{}(123), "Description_example", *openapiclient.NewBulkWritableCableRequestStatus()) // RackReservationRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRackGroupsUpdate(context.Background(), id).RackGroupRequest(rackGroupRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRackReservationsUpdate(context.Background(), id).RackReservationRequest(rackReservationRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackGroupsUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackReservationsUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRackGroupsUpdate`: RackGroup
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackGroupsUpdate`: %v\n", resp)
+ // response from `DcimRackReservationsUpdate`: RackReservation
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackReservationsUpdate`: %v\n", resp)
}
```
@@ -37366,22 +38164,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rack group. |
+**id** | **string** | A UUID string identifying this rack reservation. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRackGroupsUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRackReservationsUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **rackGroupRequest** | [**RackGroupRequest**](RackGroupRequest.md) | |
+ **rackReservationRequest** | [**RackReservationRequest**](RackReservationRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**RackGroup**](RackGroup.md)
+[**RackReservation**](RackReservation.md)
### Authorization
@@ -37397,9 +38195,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRackReservationsBulkDestroy
+## DcimRacksBulkDestroy
-> DcimRackReservationsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+> DcimRacksBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
@@ -37423,9 +38221,9 @@ func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimRackReservationsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimRacksBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackReservationsBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksBulkDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -37437,7 +38235,7 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRackReservationsBulkDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRacksBulkDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -37463,9 +38261,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRackReservationsBulkPartialUpdate
+## DcimRacksBulkPartialUpdate
-> []RackReservation DcimRackReservationsBulkPartialUpdate(ctx).PatchedBulkWritableRackReservationRequest(patchedBulkWritableRackReservationRequest).Format(format).Execute()
+> []Rack DcimRacksBulkPartialUpdate(ctx).PatchedBulkWritableRackRequest(patchedBulkWritableRackRequest).Format(format).Execute()
@@ -37484,18 +38282,18 @@ import (
)
func main() {
- patchedBulkWritableRackReservationRequest := []openapiclient.PatchedBulkWritableRackReservationRequest{*openapiclient.NewPatchedBulkWritableRackReservationRequest("Id_example")} // []PatchedBulkWritableRackReservationRequest |
+ patchedBulkWritableRackRequest := []openapiclient.PatchedBulkWritableRackRequest{*openapiclient.NewPatchedBulkWritableRackRequest("Id_example")} // []PatchedBulkWritableRackRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRackReservationsBulkPartialUpdate(context.Background()).PatchedBulkWritableRackReservationRequest(patchedBulkWritableRackReservationRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRacksBulkPartialUpdate(context.Background()).PatchedBulkWritableRackRequest(patchedBulkWritableRackRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackReservationsBulkPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksBulkPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRackReservationsBulkPartialUpdate`: []RackReservation
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackReservationsBulkPartialUpdate`: %v\n", resp)
+ // response from `DcimRacksBulkPartialUpdate`: []Rack
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRacksBulkPartialUpdate`: %v\n", resp)
}
```
@@ -37505,17 +38303,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRackReservationsBulkPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRacksBulkPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **patchedBulkWritableRackReservationRequest** | [**[]PatchedBulkWritableRackReservationRequest**](PatchedBulkWritableRackReservationRequest.md) | |
+ **patchedBulkWritableRackRequest** | [**[]PatchedBulkWritableRackRequest**](PatchedBulkWritableRackRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]RackReservation**](RackReservation.md)
+[**[]Rack**](Rack.md)
### Authorization
@@ -37531,9 +38329,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRackReservationsBulkUpdate
+## DcimRacksBulkUpdate
-> []RackReservation DcimRackReservationsBulkUpdate(ctx).BulkWritableRackReservationRequest(bulkWritableRackReservationRequest).Format(format).Execute()
+> []Rack DcimRacksBulkUpdate(ctx).BulkWritableRackRequest(bulkWritableRackRequest).Format(format).Execute()
@@ -37552,18 +38350,86 @@ import (
)
func main() {
- bulkWritableRackReservationRequest := []openapiclient.BulkWritableRackReservationRequest{*openapiclient.NewBulkWritableRackReservationRequest("Id_example", interface{}(123), "Description_example", *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritableRackReservationRequest |
+ bulkWritableRackRequest := []openapiclient.BulkWritableRackRequest{*openapiclient.NewBulkWritableRackRequest("Id_example", "Name_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritableRackRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.DcimAPI.DcimRacksBulkUpdate(context.Background()).BulkWritableRackRequest(bulkWritableRackRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksBulkUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimRacksBulkUpdate`: []Rack
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRacksBulkUpdate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimRacksBulkUpdateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **bulkWritableRackRequest** | [**[]BulkWritableRackRequest**](BulkWritableRackRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+[**[]Rack**](Rack.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimRacksCreate
+
+> Rack DcimRacksCreate(ctx).WritableRackRequest(writableRackRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ writableRackRequest := *openapiclient.NewWritableRackRequest("Name_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // WritableRackRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRackReservationsBulkUpdate(context.Background()).BulkWritableRackReservationRequest(bulkWritableRackReservationRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRacksCreate(context.Background()).WritableRackRequest(writableRackRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackReservationsBulkUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRackReservationsBulkUpdate`: []RackReservation
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackReservationsBulkUpdate`: %v\n", resp)
+ // response from `DcimRacksCreate`: Rack
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRacksCreate`: %v\n", resp)
}
```
@@ -37573,17 +38439,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRackReservationsBulkUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRacksCreateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **bulkWritableRackReservationRequest** | [**[]BulkWritableRackReservationRequest**](BulkWritableRackReservationRequest.md) | |
+ **writableRackRequest** | [**WritableRackRequest**](WritableRackRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]RackReservation**](RackReservation.md)
+[**Rack**](Rack.md)
### Authorization
@@ -37599,9 +38465,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRackReservationsCreate
+## DcimRacksDestroy
-> RackReservation DcimRackReservationsCreate(ctx).RackReservationRequest(rackReservationRequest).Format(format).Execute()
+> DcimRacksDestroy(ctx, id).Format(format).Execute()
@@ -37620,38 +38486,40 @@ import (
)
func main() {
- rackReservationRequest := *openapiclient.NewRackReservationRequest(interface{}(123), "Description_example", *openapiclient.NewBulkWritableCableRequestStatus()) // RackReservationRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRackReservationsCreate(context.Background()).RackReservationRequest(rackReservationRequest).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimRacksDestroy(context.Background(), id).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackReservationsCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRackReservationsCreate`: RackReservation
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackReservationsCreate`: %v\n", resp)
}
```
### Path Parameters
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this rack. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRackReservationsCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRacksDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **rackReservationRequest** | [**RackReservationRequest**](RackReservationRequest.md) | |
+
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**RackReservation**](RackReservation.md)
+ (empty response body)
### Authorization
@@ -37659,17 +38527,17 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: application/json, text/csv
-- **Accept**: application/json, text/csv
+- **Content-Type**: Not defined
+- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
-## DcimRackReservationsDestroy
+## DcimRacksElevationList
-> DcimRackReservationsDestroy(ctx, id).Format(format).Execute()
+> PaginatedRackUnitList DcimRacksElevationList(ctx, id).DisplayFullname(displayFullname).Exclude(exclude).ExpandDevices(expandDevices).Face(face).Format(format).IncludeImages(includeImages).IsOccupied(isOccupied).LegendWidth(legendWidth).Limit(limit).Offset(offset).Q(q).Render(render).UnitHeight(unitHeight).UnitWidth(unitWidth).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -37688,16 +38556,33 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack reservation.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack.
+ displayFullname := true // bool | (optional) (default to true)
+ exclude := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional)
+ expandDevices := true // bool | (optional) (default to true)
+ face := openapiclient.dcim_racks_elevation_list_face_parameter("front") // DcimRacksElevationListFaceParameter | (optional) (default to "front")
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ includeImages := true // bool | (optional) (default to true)
+ isOccupied := true // bool | (optional)
+ legendWidth := int32(56) // int32 | (optional) (default to 30)
+ limit := int32(56) // int32 | Number of results to return per page. (optional)
+ offset := int32(56) // int32 | The initial index from which to return the results. (optional)
+ q := "q_example" // string | (optional)
+ render := openapiclient.dcim_racks_elevation_list_render_parameter("json") // DcimRacksElevationListRenderParameter | (optional) (default to "json")
+ unitHeight := int32(56) // int32 | (optional)
+ unitWidth := int32(56) // int32 | (optional)
+ depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimRackReservationsDestroy(context.Background(), id).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRacksElevationList(context.Background(), id).DisplayFullname(displayFullname).Exclude(exclude).ExpandDevices(expandDevices).Face(face).Format(format).IncludeImages(includeImages).IsOccupied(isOccupied).LegendWidth(legendWidth).Limit(limit).Offset(offset).Q(q).Render(render).UnitHeight(unitHeight).UnitWidth(unitWidth).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackReservationsDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksElevationList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
+ // response from `DcimRacksElevationList`: PaginatedRackUnitList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRacksElevationList`: %v\n", resp)
}
```
@@ -37707,21 +38592,36 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rack reservation. |
+**id** | **string** | A UUID string identifying this rack. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRackReservationsDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRacksElevationListRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
+ **displayFullname** | **bool** | | [default to true]
+ **exclude** | **string** | |
+ **expandDevices** | **bool** | | [default to true]
+ **face** | [**DcimRacksElevationListFaceParameter**](DcimRacksElevationListFaceParameter.md) | | [default to "front"]
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **includeImages** | **bool** | | [default to true]
+ **isOccupied** | **bool** | |
+ **legendWidth** | **int32** | | [default to 30]
+ **limit** | **int32** | Number of results to return per page. |
+ **offset** | **int32** | The initial index from which to return the results. |
+ **q** | **string** | |
+ **render** | [**DcimRacksElevationListRenderParameter**](DcimRacksElevationListRenderParameter.md) | | [default to "json"]
+ **unitHeight** | **int32** | |
+ **unitWidth** | **int32** | |
+ **depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
- (empty response body)
+[**PaginatedRackUnitList**](PaginatedRackUnitList.md)
### Authorization
@@ -37730,16 +38630,16 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: Not defined
-- **Accept**: Not defined
+- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
-## DcimRackReservationsList
+## DcimRacksList
-> PaginatedRackReservationList DcimRackReservationsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Offset(offset).Q(q).Rack(rack).RackN(rackN).RackGroup(rackGroup).RackGroupIsnull(rackGroupIsnull).RackGroupN(rackGroupN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).User(user).UserN(userN).Depth(depth).Execute()
+> PaginatedRackList DcimRacksList(ctx).AssetTag(assetTag).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIre(assetTagIre).AssetTagIsnull(assetTagIsnull).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNire(assetTagNire).AssetTagNisw(assetTagNisw).AssetTagNre(assetTagNre).AssetTagRe(assetTagRe).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DescUnits(descUnits).Devices(devices).DevicesIsnull(devicesIsnull).DevicesN(devicesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).FacilityId(facilityId).FacilityIdIc(facilityIdIc).FacilityIdIe(facilityIdIe).FacilityIdIew(facilityIdIew).FacilityIdIre(facilityIdIre).FacilityIdIsnull(facilityIdIsnull).FacilityIdIsw(facilityIdIsw).FacilityIdN(facilityIdN).FacilityIdNic(facilityIdNic).FacilityIdNie(facilityIdNie).FacilityIdNiew(facilityIdNiew).FacilityIdNire(facilityIdNire).FacilityIdNisw(facilityIdNisw).FacilityIdNre(facilityIdNre).FacilityIdRe(facilityIdRe).Format(format).HasDevices(hasDevices).HasPowerFeeds(hasPowerFeeds).HasRackReservations(hasRackReservations).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).OuterDepth(outerDepth).OuterDepthGt(outerDepthGt).OuterDepthGte(outerDepthGte).OuterDepthIsnull(outerDepthIsnull).OuterDepthLt(outerDepthLt).OuterDepthLte(outerDepthLte).OuterDepthN(outerDepthN).OuterUnit(outerUnit).OuterUnitIc(outerUnitIc).OuterUnitIe(outerUnitIe).OuterUnitIew(outerUnitIew).OuterUnitIre(outerUnitIre).OuterUnitIsw(outerUnitIsw).OuterUnitN(outerUnitN).OuterUnitNic(outerUnitNic).OuterUnitNie(outerUnitNie).OuterUnitNiew(outerUnitNiew).OuterUnitNire(outerUnitNire).OuterUnitNisw(outerUnitNisw).OuterUnitNre(outerUnitNre).OuterUnitRe(outerUnitRe).OuterWidth(outerWidth).OuterWidthGt(outerWidthGt).OuterWidthGte(outerWidthGte).OuterWidthIsnull(outerWidthIsnull).OuterWidthLt(outerWidthLt).OuterWidthLte(outerWidthLte).OuterWidthN(outerWidthN).PowerFeeds(powerFeeds).PowerFeedsIsnull(powerFeedsIsnull).PowerFeedsN(powerFeedsN).Q(q).RackGroup(rackGroup).RackGroupIsnull(rackGroupIsnull).RackGroupN(rackGroupN).RackReservations(rackReservations).RackReservationsIsnull(rackReservationsIsnull).RackReservationsN(rackReservationsN).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Serial(serial).SerialIc(serialIc).SerialIe(serialIe).SerialIew(serialIew).SerialIre(serialIre).SerialIsw(serialIsw).SerialN(serialN).SerialNic(serialNic).SerialNie(serialNie).SerialNiew(serialNiew).SerialNire(serialNire).SerialNisw(serialNisw).SerialNre(serialNre).SerialRe(serialRe).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).UHeight(uHeight).UHeightGt(uHeightGt).UHeightGte(uHeightGte).UHeightLt(uHeightLt).UHeightLte(uHeightLte).UHeightN(uHeightN).Width(width).WidthIc(widthIc).WidthIe(widthIe).WidthIew(widthIew).WidthIre(widthIre).WidthIsw(widthIsw).WidthN(widthN).WidthNic(widthNic).WidthNie(widthNie).WidthNiew(widthNiew).WidthNire(widthNire).WidthNisw(widthNisw).WidthNre(widthNre).WidthRe(widthRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -37759,9 +38659,38 @@ import (
)
func main() {
+ assetTag := []string{"Inner_example"} // []string | (optional)
+ assetTagIc := []string{"Inner_example"} // []string | (optional)
+ assetTagIe := []string{"Inner_example"} // []string | (optional)
+ assetTagIew := []string{"Inner_example"} // []string | (optional)
+ assetTagIre := []string{"Inner_example"} // []string | (optional)
+ assetTagIsnull := true // bool | (optional)
+ assetTagIsw := []string{"Inner_example"} // []string | (optional)
+ assetTagN := []string{"Inner_example"} // []string | (optional)
+ assetTagNic := []string{"Inner_example"} // []string | (optional)
+ assetTagNie := []string{"Inner_example"} // []string | (optional)
+ assetTagNiew := []string{"Inner_example"} // []string | (optional)
+ assetTagNire := []string{"Inner_example"} // []string | (optional)
+ assetTagNisw := []string{"Inner_example"} // []string | (optional)
+ assetTagNre := []string{"Inner_example"} // []string | (optional)
+ assetTagRe := []string{"Inner_example"} // []string | (optional)
+ comments := []string{"Inner_example"} // []string | (optional)
+ commentsIc := []string{"Inner_example"} // []string | (optional)
+ commentsIe := []string{"Inner_example"} // []string | (optional)
+ commentsIew := []string{"Inner_example"} // []string | (optional)
+ commentsIre := []string{"Inner_example"} // []string | (optional)
+ commentsIsw := []string{"Inner_example"} // []string | (optional)
+ commentsN := []string{"Inner_example"} // []string | (optional)
+ commentsNic := []string{"Inner_example"} // []string | (optional)
+ commentsNie := []string{"Inner_example"} // []string | (optional)
+ commentsNiew := []string{"Inner_example"} // []string | (optional)
+ commentsNire := []string{"Inner_example"} // []string | (optional)
+ commentsNisw := []string{"Inner_example"} // []string | (optional)
+ commentsNre := []string{"Inner_example"} // []string | (optional)
+ commentsRe := []string{"Inner_example"} // []string | (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -37769,37 +38698,33 @@ func main() {
createdLt := []time.Time{time.Now()} // []time.Time | (optional)
createdLte := []time.Time{time.Now()} // []time.Time | (optional)
createdN := []time.Time{time.Now()} // []time.Time | (optional)
- description := []string{"Inner_example"} // []string | (optional)
- descriptionIc := []string{"Inner_example"} // []string | (optional)
- descriptionIe := []string{"Inner_example"} // []string | (optional)
- descriptionIew := []string{"Inner_example"} // []string | (optional)
- descriptionIre := []string{"Inner_example"} // []string | (optional)
- descriptionIsw := []string{"Inner_example"} // []string | (optional)
- descriptionN := []string{"Inner_example"} // []string | (optional)
- descriptionNic := []string{"Inner_example"} // []string | (optional)
- descriptionNie := []string{"Inner_example"} // []string | (optional)
- descriptionNiew := []string{"Inner_example"} // []string | (optional)
- descriptionNire := []string{"Inner_example"} // []string | (optional)
- descriptionNisw := []string{"Inner_example"} // []string | (optional)
- descriptionNre := []string{"Inner_example"} // []string | (optional)
- descriptionRe := []string{"Inner_example"} // []string | (optional)
+ descUnits := true // bool | (optional)
+ devices := []string{"Inner_example"} // []string | (optional)
+ devicesIsnull := true // bool | (optional)
+ devicesN := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
+ facilityId := []string{"Inner_example"} // []string | (optional)
+ facilityIdIc := []string{"Inner_example"} // []string | (optional)
+ facilityIdIe := []string{"Inner_example"} // []string | (optional)
+ facilityIdIew := []string{"Inner_example"} // []string | (optional)
+ facilityIdIre := []string{"Inner_example"} // []string | (optional)
+ facilityIdIsnull := true // bool | (optional)
+ facilityIdIsw := []string{"Inner_example"} // []string | (optional)
+ facilityIdN := []string{"Inner_example"} // []string | (optional)
+ facilityIdNic := []string{"Inner_example"} // []string | (optional)
+ facilityIdNie := []string{"Inner_example"} // []string | (optional)
+ facilityIdNiew := []string{"Inner_example"} // []string | (optional)
+ facilityIdNire := []string{"Inner_example"} // []string | (optional)
+ facilityIdNisw := []string{"Inner_example"} // []string | (optional)
+ facilityIdNre := []string{"Inner_example"} // []string | (optional)
+ facilityIdRe := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ hasDevices := true // bool | Has devices (optional)
+ hasPowerFeeds := true // bool | Has power feeds (optional)
+ hasRackReservations := true // bool | Has rack reservations (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -37808,20 +38733,87 @@ func main() {
lastUpdatedLte := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedN := []time.Time{time.Now()} // []time.Time | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
+ location := []string{"Inner_example"} // []string | (optional)
+ locationN := []string{"Inner_example"} // []string | (optional)
+ name := []string{"Inner_example"} // []string | (optional)
+ nameIc := []string{"Inner_example"} // []string | (optional)
+ nameIe := []string{"Inner_example"} // []string | (optional)
+ nameIew := []string{"Inner_example"} // []string | (optional)
+ nameIre := []string{"Inner_example"} // []string | (optional)
+ nameIsw := []string{"Inner_example"} // []string | (optional)
+ nameN := []string{"Inner_example"} // []string | (optional)
+ nameNic := []string{"Inner_example"} // []string | (optional)
+ nameNie := []string{"Inner_example"} // []string | (optional)
+ nameNiew := []string{"Inner_example"} // []string | (optional)
+ nameNire := []string{"Inner_example"} // []string | (optional)
+ nameNisw := []string{"Inner_example"} // []string | (optional)
+ nameNre := []string{"Inner_example"} // []string | (optional)
+ nameRe := []string{"Inner_example"} // []string | (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
+ outerDepth := []int32{int32(123)} // []int32 | (optional)
+ outerDepthGt := []int32{int32(123)} // []int32 | (optional)
+ outerDepthGte := []int32{int32(123)} // []int32 | (optional)
+ outerDepthIsnull := true // bool | (optional)
+ outerDepthLt := []int32{int32(123)} // []int32 | (optional)
+ outerDepthLte := []int32{int32(123)} // []int32 | (optional)
+ outerDepthN := []int32{int32(123)} // []int32 | (optional)
+ outerUnit := []string{"Inner_example"} // []string | (optional)
+ outerUnitIc := []string{"Inner_example"} // []string | (optional)
+ outerUnitIe := []string{"Inner_example"} // []string | (optional)
+ outerUnitIew := []string{"Inner_example"} // []string | (optional)
+ outerUnitIre := []string{"Inner_example"} // []string | (optional)
+ outerUnitIsw := []string{"Inner_example"} // []string | (optional)
+ outerUnitN := []string{"Inner_example"} // []string | (optional)
+ outerUnitNic := []string{"Inner_example"} // []string | (optional)
+ outerUnitNie := []string{"Inner_example"} // []string | (optional)
+ outerUnitNiew := []string{"Inner_example"} // []string | (optional)
+ outerUnitNire := []string{"Inner_example"} // []string | (optional)
+ outerUnitNisw := []string{"Inner_example"} // []string | (optional)
+ outerUnitNre := []string{"Inner_example"} // []string | (optional)
+ outerUnitRe := []string{"Inner_example"} // []string | (optional)
+ outerWidth := []int32{int32(123)} // []int32 | (optional)
+ outerWidthGt := []int32{int32(123)} // []int32 | (optional)
+ outerWidthGte := []int32{int32(123)} // []int32 | (optional)
+ outerWidthIsnull := true // bool | (optional)
+ outerWidthLt := []int32{int32(123)} // []int32 | (optional)
+ outerWidthLte := []int32{int32(123)} // []int32 | (optional)
+ outerWidthN := []int32{int32(123)} // []int32 | (optional)
+ powerFeeds := []string{"Inner_example"} // []string | (optional)
+ powerFeedsIsnull := true // bool | Power feeds (name or ID) is null (optional)
+ powerFeedsN := []string{"Inner_example"} // []string | (optional)
q := "q_example" // string | Search (optional)
- rack := []string{"Inner_example"} // []string | (optional)
- rackN := []string{"Inner_example"} // []string | (optional)
rackGroup := []string{"Inner_example"} // []string | (optional)
rackGroupIsnull := true // bool | Rack group (name or ID) is null (optional)
rackGroupN := []string{"Inner_example"} // []string | (optional)
+ rackReservations := []string{"Inner_example"} // []string | (optional)
+ rackReservationsIsnull := true // bool | (optional)
+ rackReservationsN := []string{"Inner_example"} // []string | (optional)
+ role := []string{"Inner_example"} // []string | (optional)
+ roleIsnull := true // bool | Role (name or ID) is null (optional)
+ roleN := []string{"Inner_example"} // []string | (optional)
+ serial := []string{"Inner_example"} // []string | Serial Number (optional)
+ serialIc := []string{"Inner_example"} // []string | Serial Number contains (optional)
+ serialIe := []string{"Inner_example"} // []string | Serial Number (optional)
+ serialIew := []string{"Inner_example"} // []string | Serial Number ends with (optional)
+ serialIre := []string{"Inner_example"} // []string | Serial Number matches regex (optional)
+ serialIsw := []string{"Inner_example"} // []string | Serial Number starts with (optional)
+ serialN := []string{"Inner_example"} // []string | Exclude Serial Number (optional)
+ serialNic := []string{"Inner_example"} // []string | Exclude Serial Number contains (optional)
+ serialNie := []string{"Inner_example"} // []string | Exclude Serial Number (optional)
+ serialNiew := []string{"Inner_example"} // []string | Exclude Serial Number ends with (optional)
+ serialNire := []string{"Inner_example"} // []string | Exclude Serial Number matches regex (optional)
+ serialNisw := []string{"Inner_example"} // []string | Exclude Serial Number starts with (optional)
+ serialNre := []string{"Inner_example"} // []string | Exclude Serial Number matches regex (optional)
+ serialRe := []string{"Inner_example"} // []string | Serial Number matches regex (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
+ status := []string{"Inner_example"} // []string | (optional)
+ statusN := []string{"Inner_example"} // []string | (optional)
tags := []string{"Inner_example"} // []string | (optional)
tagsIsnull := true // bool | (optional)
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
tenant := []string{"Inner_example"} // []string | (optional)
tenantIsnull := true // bool | Tenant (name or ID) is null (optional)
tenantN := []string{"Inner_example"} // []string | (optional)
@@ -37831,19 +38823,52 @@ func main() {
tenantId := []*string{"Inner_example"} // []*string | Tenant (ID) (deprecated, use \"tenant\" filter instead) (optional)
tenantIdIsnull := true // bool | Tenant (ID) (deprecated, use \"tenant\" filter instead) is null (optional)
tenantIdN := []*string{"Inner_example"} // []*string | Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead) (optional)
- user := []string{"Inner_example"} // []string | (optional)
- userN := []string{"Inner_example"} // []string | (optional)
+ type_ := []string{"Inner_example"} // []string | (optional)
+ typeIc := []string{"Inner_example"} // []string | (optional)
+ typeIe := []string{"Inner_example"} // []string | (optional)
+ typeIew := []string{"Inner_example"} // []string | (optional)
+ typeIre := []string{"Inner_example"} // []string | (optional)
+ typeIsw := []string{"Inner_example"} // []string | (optional)
+ typeN := []string{"Inner_example"} // []string | (optional)
+ typeNic := []string{"Inner_example"} // []string | (optional)
+ typeNie := []string{"Inner_example"} // []string | (optional)
+ typeNiew := []string{"Inner_example"} // []string | (optional)
+ typeNire := []string{"Inner_example"} // []string | (optional)
+ typeNisw := []string{"Inner_example"} // []string | (optional)
+ typeNre := []string{"Inner_example"} // []string | (optional)
+ typeRe := []string{"Inner_example"} // []string | (optional)
+ uHeight := []int32{int32(123)} // []int32 | (optional)
+ uHeightGt := []int32{int32(123)} // []int32 | (optional)
+ uHeightGte := []int32{int32(123)} // []int32 | (optional)
+ uHeightLt := []int32{int32(123)} // []int32 | (optional)
+ uHeightLte := []int32{int32(123)} // []int32 | (optional)
+ uHeightN := []int32{int32(123)} // []int32 | (optional)
+ width := []int32{int32(123)} // []int32 | Rail-to-rail width (optional)
+ widthIc := []string{"Inner_example"} // []string | (optional)
+ widthIe := []string{"Inner_example"} // []string | (optional)
+ widthIew := []string{"Inner_example"} // []string | (optional)
+ widthIre := []string{"Inner_example"} // []string | (optional)
+ widthIsw := []string{"Inner_example"} // []string | (optional)
+ widthN := []string{"Inner_example"} // []string | (optional)
+ widthNic := []string{"Inner_example"} // []string | (optional)
+ widthNie := []string{"Inner_example"} // []string | (optional)
+ widthNiew := []string{"Inner_example"} // []string | (optional)
+ widthNire := []string{"Inner_example"} // []string | (optional)
+ widthNisw := []string{"Inner_example"} // []string | (optional)
+ widthNre := []string{"Inner_example"} // []string | (optional)
+ widthRe := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRackReservationsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Offset(offset).Q(q).Rack(rack).RackN(rackN).RackGroup(rackGroup).RackGroupIsnull(rackGroupIsnull).RackGroupN(rackGroupN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).User(user).UserN(userN).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRacksList(context.Background()).AssetTag(assetTag).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIre(assetTagIre).AssetTagIsnull(assetTagIsnull).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNire(assetTagNire).AssetTagNisw(assetTagNisw).AssetTagNre(assetTagNre).AssetTagRe(assetTagRe).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DescUnits(descUnits).Devices(devices).DevicesIsnull(devicesIsnull).DevicesN(devicesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).FacilityId(facilityId).FacilityIdIc(facilityIdIc).FacilityIdIe(facilityIdIe).FacilityIdIew(facilityIdIew).FacilityIdIre(facilityIdIre).FacilityIdIsnull(facilityIdIsnull).FacilityIdIsw(facilityIdIsw).FacilityIdN(facilityIdN).FacilityIdNic(facilityIdNic).FacilityIdNie(facilityIdNie).FacilityIdNiew(facilityIdNiew).FacilityIdNire(facilityIdNire).FacilityIdNisw(facilityIdNisw).FacilityIdNre(facilityIdNre).FacilityIdRe(facilityIdRe).Format(format).HasDevices(hasDevices).HasPowerFeeds(hasPowerFeeds).HasRackReservations(hasRackReservations).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).OuterDepth(outerDepth).OuterDepthGt(outerDepthGt).OuterDepthGte(outerDepthGte).OuterDepthIsnull(outerDepthIsnull).OuterDepthLt(outerDepthLt).OuterDepthLte(outerDepthLte).OuterDepthN(outerDepthN).OuterUnit(outerUnit).OuterUnitIc(outerUnitIc).OuterUnitIe(outerUnitIe).OuterUnitIew(outerUnitIew).OuterUnitIre(outerUnitIre).OuterUnitIsw(outerUnitIsw).OuterUnitN(outerUnitN).OuterUnitNic(outerUnitNic).OuterUnitNie(outerUnitNie).OuterUnitNiew(outerUnitNiew).OuterUnitNire(outerUnitNire).OuterUnitNisw(outerUnitNisw).OuterUnitNre(outerUnitNre).OuterUnitRe(outerUnitRe).OuterWidth(outerWidth).OuterWidthGt(outerWidthGt).OuterWidthGte(outerWidthGte).OuterWidthIsnull(outerWidthIsnull).OuterWidthLt(outerWidthLt).OuterWidthLte(outerWidthLte).OuterWidthN(outerWidthN).PowerFeeds(powerFeeds).PowerFeedsIsnull(powerFeedsIsnull).PowerFeedsN(powerFeedsN).Q(q).RackGroup(rackGroup).RackGroupIsnull(rackGroupIsnull).RackGroupN(rackGroupN).RackReservations(rackReservations).RackReservationsIsnull(rackReservationsIsnull).RackReservationsN(rackReservationsN).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Serial(serial).SerialIc(serialIc).SerialIe(serialIe).SerialIew(serialIew).SerialIre(serialIre).SerialIsw(serialIsw).SerialN(serialN).SerialNic(serialNic).SerialNie(serialNie).SerialNiew(serialNiew).SerialNire(serialNire).SerialNisw(serialNisw).SerialNre(serialNre).SerialRe(serialRe).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).UHeight(uHeight).UHeightGt(uHeightGt).UHeightGte(uHeightGte).UHeightLt(uHeightLt).UHeightLte(uHeightLte).UHeightN(uHeightN).Width(width).WidthIc(widthIc).WidthIe(widthIe).WidthIew(widthIew).WidthIre(widthIre).WidthIsw(widthIsw).WidthN(widthN).WidthNic(widthNic).WidthNie(widthNie).WidthNiew(widthNiew).WidthNire(widthNire).WidthNisw(widthNisw).WidthNre(widthNre).WidthRe(widthRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackReservationsList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRackReservationsList`: PaginatedRackReservationList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackReservationsList`: %v\n", resp)
+ // response from `DcimRacksList`: PaginatedRackList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRacksList`: %v\n", resp)
}
```
@@ -37853,14 +38878,43 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRackReservationsListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRacksListRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
+ **assetTag** | **[]string** | |
+ **assetTagIc** | **[]string** | |
+ **assetTagIe** | **[]string** | |
+ **assetTagIew** | **[]string** | |
+ **assetTagIre** | **[]string** | |
+ **assetTagIsnull** | **bool** | |
+ **assetTagIsw** | **[]string** | |
+ **assetTagN** | **[]string** | |
+ **assetTagNic** | **[]string** | |
+ **assetTagNie** | **[]string** | |
+ **assetTagNiew** | **[]string** | |
+ **assetTagNire** | **[]string** | |
+ **assetTagNisw** | **[]string** | |
+ **assetTagNre** | **[]string** | |
+ **assetTagRe** | **[]string** | |
+ **comments** | **[]string** | |
+ **commentsIc** | **[]string** | |
+ **commentsIe** | **[]string** | |
+ **commentsIew** | **[]string** | |
+ **commentsIre** | **[]string** | |
+ **commentsIsw** | **[]string** | |
+ **commentsN** | **[]string** | |
+ **commentsNic** | **[]string** | |
+ **commentsNie** | **[]string** | |
+ **commentsNiew** | **[]string** | |
+ **commentsNire** | **[]string** | |
+ **commentsNisw** | **[]string** | |
+ **commentsNre** | **[]string** | |
+ **commentsRe** | **[]string** | |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -37868,37 +38922,33 @@ Name | Type | Description | Notes
**createdLt** | [**[]time.Time**](time.Time.md) | |
**createdLte** | [**[]time.Time**](time.Time.md) | |
**createdN** | [**[]time.Time**](time.Time.md) | |
- **description** | **[]string** | |
- **descriptionIc** | **[]string** | |
- **descriptionIe** | **[]string** | |
- **descriptionIew** | **[]string** | |
- **descriptionIre** | **[]string** | |
- **descriptionIsw** | **[]string** | |
- **descriptionN** | **[]string** | |
- **descriptionNic** | **[]string** | |
- **descriptionNie** | **[]string** | |
- **descriptionNiew** | **[]string** | |
- **descriptionNire** | **[]string** | |
- **descriptionNisw** | **[]string** | |
- **descriptionNre** | **[]string** | |
- **descriptionRe** | **[]string** | |
+ **descUnits** | **bool** | |
+ **devices** | **[]string** | |
+ **devicesIsnull** | **bool** | |
+ **devicesN** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
+ **facilityId** | **[]string** | |
+ **facilityIdIc** | **[]string** | |
+ **facilityIdIe** | **[]string** | |
+ **facilityIdIew** | **[]string** | |
+ **facilityIdIre** | **[]string** | |
+ **facilityIdIsnull** | **bool** | |
+ **facilityIdIsw** | **[]string** | |
+ **facilityIdN** | **[]string** | |
+ **facilityIdNic** | **[]string** | |
+ **facilityIdNie** | **[]string** | |
+ **facilityIdNiew** | **[]string** | |
+ **facilityIdNire** | **[]string** | |
+ **facilityIdNisw** | **[]string** | |
+ **facilityIdNre** | **[]string** | |
+ **facilityIdRe** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **hasDevices** | **bool** | Has devices |
+ **hasPowerFeeds** | **bool** | Has power feeds |
+ **hasRackReservations** | **bool** | Has rack reservations |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -37907,20 +38957,87 @@ Name | Type | Description | Notes
**lastUpdatedLte** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedN** | [**[]time.Time**](time.Time.md) | |
**limit** | **int32** | Number of results to return per page. |
+ **location** | **[]string** | |
+ **locationN** | **[]string** | |
+ **name** | **[]string** | |
+ **nameIc** | **[]string** | |
+ **nameIe** | **[]string** | |
+ **nameIew** | **[]string** | |
+ **nameIre** | **[]string** | |
+ **nameIsw** | **[]string** | |
+ **nameN** | **[]string** | |
+ **nameNic** | **[]string** | |
+ **nameNie** | **[]string** | |
+ **nameNiew** | **[]string** | |
+ **nameNire** | **[]string** | |
+ **nameNisw** | **[]string** | |
+ **nameNre** | **[]string** | |
+ **nameRe** | **[]string** | |
**offset** | **int32** | The initial index from which to return the results. |
+ **outerDepth** | **[]int32** | |
+ **outerDepthGt** | **[]int32** | |
+ **outerDepthGte** | **[]int32** | |
+ **outerDepthIsnull** | **bool** | |
+ **outerDepthLt** | **[]int32** | |
+ **outerDepthLte** | **[]int32** | |
+ **outerDepthN** | **[]int32** | |
+ **outerUnit** | **[]string** | |
+ **outerUnitIc** | **[]string** | |
+ **outerUnitIe** | **[]string** | |
+ **outerUnitIew** | **[]string** | |
+ **outerUnitIre** | **[]string** | |
+ **outerUnitIsw** | **[]string** | |
+ **outerUnitN** | **[]string** | |
+ **outerUnitNic** | **[]string** | |
+ **outerUnitNie** | **[]string** | |
+ **outerUnitNiew** | **[]string** | |
+ **outerUnitNire** | **[]string** | |
+ **outerUnitNisw** | **[]string** | |
+ **outerUnitNre** | **[]string** | |
+ **outerUnitRe** | **[]string** | |
+ **outerWidth** | **[]int32** | |
+ **outerWidthGt** | **[]int32** | |
+ **outerWidthGte** | **[]int32** | |
+ **outerWidthIsnull** | **bool** | |
+ **outerWidthLt** | **[]int32** | |
+ **outerWidthLte** | **[]int32** | |
+ **outerWidthN** | **[]int32** | |
+ **powerFeeds** | **[]string** | |
+ **powerFeedsIsnull** | **bool** | Power feeds (name or ID) is null |
+ **powerFeedsN** | **[]string** | |
**q** | **string** | Search |
- **rack** | **[]string** | |
- **rackN** | **[]string** | |
**rackGroup** | **[]string** | |
**rackGroupIsnull** | **bool** | Rack group (name or ID) is null |
**rackGroupN** | **[]string** | |
+ **rackReservations** | **[]string** | |
+ **rackReservationsIsnull** | **bool** | |
+ **rackReservationsN** | **[]string** | |
+ **role** | **[]string** | |
+ **roleIsnull** | **bool** | Role (name or ID) is null |
+ **roleN** | **[]string** | |
+ **serial** | **[]string** | Serial Number |
+ **serialIc** | **[]string** | Serial Number contains |
+ **serialIe** | **[]string** | Serial Number |
+ **serialIew** | **[]string** | Serial Number ends with |
+ **serialIre** | **[]string** | Serial Number matches regex |
+ **serialIsw** | **[]string** | Serial Number starts with |
+ **serialN** | **[]string** | Exclude Serial Number |
+ **serialNic** | **[]string** | Exclude Serial Number contains |
+ **serialNie** | **[]string** | Exclude Serial Number |
+ **serialNiew** | **[]string** | Exclude Serial Number ends with |
+ **serialNire** | **[]string** | Exclude Serial Number matches regex |
+ **serialNisw** | **[]string** | Exclude Serial Number starts with |
+ **serialNre** | **[]string** | Exclude Serial Number matches regex |
+ **serialRe** | **[]string** | Serial Number matches regex |
**sort** | **string** | Which field to use when ordering the results. |
+ **status** | **[]string** | |
+ **statusN** | **[]string** | |
**tags** | **[]string** | |
**tagsIsnull** | **bool** | |
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**tenant** | **[]string** | |
**tenantIsnull** | **bool** | Tenant (name or ID) is null |
**tenantN** | **[]string** | |
@@ -37929,166 +39046,47 @@ Name | Type | Description | Notes
**tenantGroupN** | **[]string** | |
**tenantId** | **[]string** | Tenant (ID) (deprecated, use \"tenant\" filter instead) |
**tenantIdIsnull** | **bool** | Tenant (ID) (deprecated, use \"tenant\" filter instead) is null |
- **tenantIdN** | **[]string** | Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead) |
- **user** | **[]string** | |
- **userN** | **[]string** | |
- **depth** | **int32** | Serializer Depth | [default to 1]
-
-### Return type
-
-[**PaginatedRackReservationList**](PaginatedRackReservationList.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## DcimRackReservationsNotesCreate
-
-> Note DcimRackReservationsNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack reservation.
- noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRackReservationsNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackReservationsNotesCreate``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `DcimRackReservationsNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackReservationsNotesCreate`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rack reservation. |
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiDcimRackReservationsNotesCreateRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-
- **noteInputRequest** | [**NoteInputRequest**](NoteInputRequest.md) | |
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
-
-### Return type
-
-[**Note**](Note.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: application/json, text/csv
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## DcimRackReservationsNotesList
-
-> PaginatedNoteList DcimRackReservationsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack reservation.
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- limit := int32(56) // int32 | Number of results to return per page. (optional)
- offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRackReservationsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackReservationsNotesList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `DcimRackReservationsNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackReservationsNotesList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rack reservation. |
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiDcimRackReservationsNotesListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **limit** | **int32** | Number of results to return per page. |
- **offset** | **int32** | The initial index from which to return the results. |
+ **tenantIdN** | **[]string** | Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead) |
+ **type_** | **[]string** | |
+ **typeIc** | **[]string** | |
+ **typeIe** | **[]string** | |
+ **typeIew** | **[]string** | |
+ **typeIre** | **[]string** | |
+ **typeIsw** | **[]string** | |
+ **typeN** | **[]string** | |
+ **typeNic** | **[]string** | |
+ **typeNie** | **[]string** | |
+ **typeNiew** | **[]string** | |
+ **typeNire** | **[]string** | |
+ **typeNisw** | **[]string** | |
+ **typeNre** | **[]string** | |
+ **typeRe** | **[]string** | |
+ **uHeight** | **[]int32** | |
+ **uHeightGt** | **[]int32** | |
+ **uHeightGte** | **[]int32** | |
+ **uHeightLt** | **[]int32** | |
+ **uHeightLte** | **[]int32** | |
+ **uHeightN** | **[]int32** | |
+ **width** | **[]int32** | Rail-to-rail width |
+ **widthIc** | **[]string** | |
+ **widthIe** | **[]string** | |
+ **widthIew** | **[]string** | |
+ **widthIre** | **[]string** | |
+ **widthIsw** | **[]string** | |
+ **widthN** | **[]string** | |
+ **widthNic** | **[]string** | |
+ **widthNie** | **[]string** | |
+ **widthNiew** | **[]string** | |
+ **widthNire** | **[]string** | |
+ **widthNisw** | **[]string** | |
+ **widthNre** | **[]string** | |
+ **widthRe** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PaginatedNoteList**](PaginatedNoteList.md)
+[**PaginatedRackList**](PaginatedRackList.md)
### Authorization
@@ -38104,9 +39102,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRackReservationsPartialUpdate
+## DcimRacksNotesCreate
-> RackReservation DcimRackReservationsPartialUpdate(ctx, id).Format(format).PatchedRackReservationRequest(patchedRackReservationRequest).Execute()
+> Note DcimRacksNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
@@ -38125,19 +39123,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack reservation.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack.
+ noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- patchedRackReservationRequest := *openapiclient.NewPatchedRackReservationRequest() // PatchedRackReservationRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRackReservationsPartialUpdate(context.Background(), id).Format(format).PatchedRackReservationRequest(patchedRackReservationRequest).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRacksNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackReservationsPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksNotesCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRackReservationsPartialUpdate`: RackReservation
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackReservationsPartialUpdate`: %v\n", resp)
+ // response from `DcimRacksNotesCreate`: Note
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRacksNotesCreate`: %v\n", resp)
}
```
@@ -38147,22 +39145,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rack reservation. |
+**id** | **string** | A UUID string identifying this rack. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRackReservationsPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRacksNotesCreateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
+ **noteInputRequest** | [**NoteInputRequest**](NoteInputRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **patchedRackReservationRequest** | [**PatchedRackReservationRequest**](PatchedRackReservationRequest.md) | |
### Return type
-[**RackReservation**](RackReservation.md)
+[**Note**](Note.md)
### Authorization
@@ -38178,9 +39176,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRackReservationsRetrieve
+## DcimRacksNotesList
-> RackReservation DcimRackReservationsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> PaginatedNoteList DcimRacksNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -38199,19 +39197,22 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack reservation.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ limit := int32(56) // int32 | Number of results to return per page. (optional)
+ offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRackReservationsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRacksNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackReservationsRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRackReservationsRetrieve`: RackReservation
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackReservationsRetrieve`: %v\n", resp)
+ // response from `DcimRacksNotesList`: PaginatedNoteList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRacksNotesList`: %v\n", resp)
}
```
@@ -38221,22 +39222,25 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rack reservation. |
+**id** | **string** | A UUID string identifying this rack. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRackReservationsRetrieveRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRacksNotesListRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **limit** | **int32** | Number of results to return per page. |
+ **offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**RackReservation**](RackReservation.md)
+[**PaginatedNoteList**](PaginatedNoteList.md)
### Authorization
@@ -38252,9 +39256,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRackReservationsUpdate
+## DcimRacksPartialUpdate
-> RackReservation DcimRackReservationsUpdate(ctx, id).RackReservationRequest(rackReservationRequest).Format(format).Execute()
+> Rack DcimRacksPartialUpdate(ctx, id).Format(format).PatchedWritableRackRequest(patchedWritableRackRequest).Execute()
@@ -38273,19 +39277,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack reservation.
- rackReservationRequest := *openapiclient.NewRackReservationRequest(interface{}(123), "Description_example", *openapiclient.NewBulkWritableCableRequestStatus()) // RackReservationRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ patchedWritableRackRequest := *openapiclient.NewPatchedWritableRackRequest() // PatchedWritableRackRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRackReservationsUpdate(context.Background(), id).RackReservationRequest(rackReservationRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRacksPartialUpdate(context.Background(), id).Format(format).PatchedWritableRackRequest(patchedWritableRackRequest).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRackReservationsUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRackReservationsUpdate`: RackReservation
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRackReservationsUpdate`: %v\n", resp)
+ // response from `DcimRacksPartialUpdate`: Rack
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRacksPartialUpdate`: %v\n", resp)
}
```
@@ -38295,22 +39299,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rack reservation. |
+**id** | **string** | A UUID string identifying this rack. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRackReservationsUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRacksPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **rackReservationRequest** | [**RackReservationRequest**](RackReservationRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **patchedWritableRackRequest** | [**PatchedWritableRackRequest**](PatchedWritableRackRequest.md) | |
### Return type
-[**RackReservation**](RackReservation.md)
+[**Rack**](Rack.md)
### Authorization
@@ -38326,9 +39330,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRacksBulkDestroy
+## DcimRacksRetrieve
-> DcimRacksBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+> Rack DcimRacksRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -38347,172 +39351,46 @@ import (
)
func main() {
- bulkOperationRequest := []openapiclient.BulkOperationRequest{*openapiclient.NewBulkOperationRequest("Id_example")} // []BulkOperationRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimRacksBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRacksRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
+ // response from `DcimRacksRetrieve`: Rack
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRacksRetrieve`: %v\n", resp)
}
```
### Path Parameters
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiDcimRacksBulkDestroyRequest struct via the builder pattern
-
-
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **bulkOperationRequest** | [**[]BulkOperationRequest**](BulkOperationRequest.md) | |
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
-
-### Return type
-
- (empty response body)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: application/json, text/csv
-- **Accept**: Not defined
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## DcimRacksBulkPartialUpdate
-
-> []Rack DcimRacksBulkPartialUpdate(ctx).PatchedBulkWritableRackRequest(patchedBulkWritableRackRequest).Format(format).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- patchedBulkWritableRackRequest := []openapiclient.PatchedBulkWritableRackRequest{*openapiclient.NewPatchedBulkWritableRackRequest("Id_example")} // []PatchedBulkWritableRackRequest |
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRacksBulkPartialUpdate(context.Background()).PatchedBulkWritableRackRequest(patchedBulkWritableRackRequest).Format(format).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksBulkPartialUpdate``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `DcimRacksBulkPartialUpdate`: []Rack
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRacksBulkPartialUpdate`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this rack. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRacksBulkPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRacksRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **patchedBulkWritableRackRequest** | [**[]PatchedBulkWritableRackRequest**](PatchedBulkWritableRackRequest.md) | |
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
-
-### Return type
-
-[**[]Rack**](Rack.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: application/json, text/csv
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-## DcimRacksBulkUpdate
-
-> []Rack DcimRacksBulkUpdate(ctx).BulkWritableRackRequest(bulkWritableRackRequest).Format(format).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- bulkWritableRackRequest := []openapiclient.BulkWritableRackRequest{*openapiclient.NewBulkWritableRackRequest("Id_example", "Name_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritableRackRequest |
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRacksBulkUpdate(context.Background()).BulkWritableRackRequest(bulkWritableRackRequest).Format(format).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksBulkUpdate``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `DcimRacksBulkUpdate`: []Rack
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRacksBulkUpdate`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiDcimRacksBulkUpdateRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **bulkWritableRackRequest** | [**[]BulkWritableRackRequest**](BulkWritableRackRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**[]Rack**](Rack.md)
+[**Rack**](Rack.md)
### Authorization
@@ -38520,7 +39398,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: application/json, text/csv
+- **Content-Type**: Not defined
- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -38528,9 +39406,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRacksCreate
+## DcimRacksUpdate
-> Rack DcimRacksCreate(ctx).WritableRackRequest(writableRackRequest).Format(format).Execute()
+> Rack DcimRacksUpdate(ctx, id).WritableRackRequest(writableRackRequest).Format(format).Execute()
@@ -38549,32 +39427,38 @@ import (
)
func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack.
writableRackRequest := *openapiclient.NewWritableRackRequest("Name_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // WritableRackRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRacksCreate(context.Background()).WritableRackRequest(writableRackRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRacksUpdate(context.Background(), id).WritableRackRequest(writableRackRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRacksCreate`: Rack
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRacksCreate`: %v\n", resp)
+ // response from `DcimRacksUpdate`: Rack
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRacksUpdate`: %v\n", resp)
}
```
### Path Parameters
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this rack. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRacksCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRacksUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
+
**writableRackRequest** | [**WritableRackRequest**](WritableRackRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
@@ -38596,9 +39480,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRacksDestroy
+## DcimRearPortTemplatesBulkDestroy
-> DcimRacksDestroy(ctx, id).Format(format).Execute()
+> DcimRearPortTemplatesBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
@@ -38617,14 +39501,14 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack.
+ bulkOperationRequest := []openapiclient.BulkOperationRequest{*openapiclient.NewBulkOperationRequest("Id_example")} // []BulkOperationRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimRacksDestroy(context.Background(), id).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimRearPortTemplatesBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortTemplatesBulkDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -38633,19 +39517,15 @@ func main() {
### Path Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rack. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRacksDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRearPortTemplatesBulkDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-
+ **bulkOperationRequest** | [**[]BulkOperationRequest**](BulkOperationRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
@@ -38658,7 +39538,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: Not defined
+- **Content-Type**: application/json, text/csv
- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -38666,9 +39546,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRacksElevationList
+## DcimRearPortTemplatesBulkPartialUpdate
-> PaginatedRackUnitList DcimRacksElevationList(ctx, id).DisplayFullname(displayFullname).Exclude(exclude).ExpandDevices(expandDevices).Face(face).Format(format).IncludeImages(includeImages).LegendWidth(legendWidth).Limit(limit).Offset(offset).Q(q).Render(render).UnitHeight(unitHeight).UnitWidth(unitWidth).Depth(depth).Execute()
+> []RearPortTemplate DcimRearPortTemplatesBulkPartialUpdate(ctx).PatchedBulkWritableRearPortTemplateRequest(patchedBulkWritableRearPortTemplateRequest).Format(format).Execute()
@@ -38687,68 +39567,38 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack.
- displayFullname := true // bool | (optional) (default to true)
- exclude := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional)
- expandDevices := true // bool | (optional) (default to true)
- face := openapiclient.dcim_racks_elevation_list_face_parameter("front") // DcimRacksElevationListFaceParameter | (optional) (default to "front")
+ patchedBulkWritableRearPortTemplateRequest := []openapiclient.PatchedBulkWritableRearPortTemplateRequest{*openapiclient.NewPatchedBulkWritableRearPortTemplateRequest("Id_example")} // []PatchedBulkWritableRearPortTemplateRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- includeImages := true // bool | (optional) (default to true)
- legendWidth := int32(56) // int32 | (optional) (default to 30)
- limit := int32(56) // int32 | Number of results to return per page. (optional)
- offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- q := "q_example" // string | (optional)
- render := openapiclient.dcim_racks_elevation_list_render_parameter("json") // DcimRacksElevationListRenderParameter | (optional) (default to "json")
- unitHeight := int32(56) // int32 | (optional)
- unitWidth := int32(56) // int32 | (optional)
- depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRacksElevationList(context.Background(), id).DisplayFullname(displayFullname).Exclude(exclude).ExpandDevices(expandDevices).Face(face).Format(format).IncludeImages(includeImages).LegendWidth(legendWidth).Limit(limit).Offset(offset).Q(q).Render(render).UnitHeight(unitHeight).UnitWidth(unitWidth).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRearPortTemplatesBulkPartialUpdate(context.Background()).PatchedBulkWritableRearPortTemplateRequest(patchedBulkWritableRearPortTemplateRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksElevationList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortTemplatesBulkPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRacksElevationList`: PaginatedRackUnitList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRacksElevationList`: %v\n", resp)
+ // response from `DcimRearPortTemplatesBulkPartialUpdate`: []RearPortTemplate
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortTemplatesBulkPartialUpdate`: %v\n", resp)
}
```
### Path Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rack. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRacksElevationListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRearPortTemplatesBulkPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-
- **displayFullname** | **bool** | | [default to true]
- **exclude** | **string** | |
- **expandDevices** | **bool** | | [default to true]
- **face** | [**DcimRacksElevationListFaceParameter**](DcimRacksElevationListFaceParameter.md) | | [default to "front"]
+ **patchedBulkWritableRearPortTemplateRequest** | [**[]PatchedBulkWritableRearPortTemplateRequest**](PatchedBulkWritableRearPortTemplateRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **includeImages** | **bool** | | [default to true]
- **legendWidth** | **int32** | | [default to 30]
- **limit** | **int32** | Number of results to return per page. |
- **offset** | **int32** | The initial index from which to return the results. |
- **q** | **string** | |
- **render** | [**DcimRacksElevationListRenderParameter**](DcimRacksElevationListRenderParameter.md) | | [default to "json"]
- **unitHeight** | **int32** | |
- **unitWidth** | **int32** | |
- **depth** | **int32** | Serializer Depth | [default to 1]
### Return type
-[**PaginatedRackUnitList**](PaginatedRackUnitList.md)
+[**[]RearPortTemplate**](RearPortTemplate.md)
### Authorization
@@ -38756,7 +39606,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: Not defined
+- **Content-Type**: application/json, text/csv
- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -38764,9 +39614,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRacksList
+## DcimRearPortTemplatesBulkUpdate
-> PaginatedRackList DcimRacksList(ctx).AssetTag(assetTag).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIre(assetTagIre).AssetTagIsnull(assetTagIsnull).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNire(assetTagNire).AssetTagNisw(assetTagNisw).AssetTagNre(assetTagNre).AssetTagRe(assetTagRe).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DescUnits(descUnits).Devices(devices).DevicesIsnull(devicesIsnull).DevicesN(devicesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).FacilityId(facilityId).FacilityIdIc(facilityIdIc).FacilityIdIe(facilityIdIe).FacilityIdIew(facilityIdIew).FacilityIdIre(facilityIdIre).FacilityIdIsnull(facilityIdIsnull).FacilityIdIsw(facilityIdIsw).FacilityIdN(facilityIdN).FacilityIdNic(facilityIdNic).FacilityIdNie(facilityIdNie).FacilityIdNiew(facilityIdNiew).FacilityIdNire(facilityIdNire).FacilityIdNisw(facilityIdNisw).FacilityIdNre(facilityIdNre).FacilityIdRe(facilityIdRe).Format(format).HasDevices(hasDevices).HasPowerFeeds(hasPowerFeeds).HasRackReservations(hasRackReservations).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).OuterDepth(outerDepth).OuterDepthGt(outerDepthGt).OuterDepthGte(outerDepthGte).OuterDepthIsnull(outerDepthIsnull).OuterDepthLt(outerDepthLt).OuterDepthLte(outerDepthLte).OuterDepthN(outerDepthN).OuterUnit(outerUnit).OuterUnitIc(outerUnitIc).OuterUnitIe(outerUnitIe).OuterUnitIew(outerUnitIew).OuterUnitIre(outerUnitIre).OuterUnitIsw(outerUnitIsw).OuterUnitN(outerUnitN).OuterUnitNic(outerUnitNic).OuterUnitNie(outerUnitNie).OuterUnitNiew(outerUnitNiew).OuterUnitNire(outerUnitNire).OuterUnitNisw(outerUnitNisw).OuterUnitNre(outerUnitNre).OuterUnitRe(outerUnitRe).OuterWidth(outerWidth).OuterWidthGt(outerWidthGt).OuterWidthGte(outerWidthGte).OuterWidthIsnull(outerWidthIsnull).OuterWidthLt(outerWidthLt).OuterWidthLte(outerWidthLte).OuterWidthN(outerWidthN).PowerFeeds(powerFeeds).PowerFeedsIsnull(powerFeedsIsnull).PowerFeedsN(powerFeedsN).Q(q).RackGroup(rackGroup).RackGroupIsnull(rackGroupIsnull).RackGroupN(rackGroupN).RackReservations(rackReservations).RackReservationsIsnull(rackReservationsIsnull).RackReservationsN(rackReservationsN).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Serial(serial).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).UHeight(uHeight).UHeightGt(uHeightGt).UHeightGte(uHeightGte).UHeightLt(uHeightLt).UHeightLte(uHeightLte).UHeightN(uHeightN).Width(width).WidthIc(widthIc).WidthIe(widthIe).WidthIew(widthIew).WidthIre(widthIre).WidthIsw(widthIsw).WidthN(widthN).WidthNic(widthNic).WidthNie(widthNie).WidthNiew(widthNiew).WidthNire(widthNire).WidthNisw(widthNisw).WidthNre(widthNre).WidthRe(widthRe).Depth(depth).Execute()
+> []RearPortTemplate DcimRearPortTemplatesBulkUpdate(ctx).BulkWritableRearPortTemplateRequest(bulkWritableRearPortTemplateRequest).Format(format).Execute()
@@ -38781,219 +39631,22 @@ import (
"context"
"fmt"
"os"
- "time"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- assetTag := []string{"Inner_example"} // []string | (optional)
- assetTagIc := []string{"Inner_example"} // []string | (optional)
- assetTagIe := []string{"Inner_example"} // []string | (optional)
- assetTagIew := []string{"Inner_example"} // []string | (optional)
- assetTagIre := []string{"Inner_example"} // []string | (optional)
- assetTagIsnull := true // bool | (optional)
- assetTagIsw := []string{"Inner_example"} // []string | (optional)
- assetTagN := []string{"Inner_example"} // []string | (optional)
- assetTagNic := []string{"Inner_example"} // []string | (optional)
- assetTagNie := []string{"Inner_example"} // []string | (optional)
- assetTagNiew := []string{"Inner_example"} // []string | (optional)
- assetTagNire := []string{"Inner_example"} // []string | (optional)
- assetTagNisw := []string{"Inner_example"} // []string | (optional)
- assetTagNre := []string{"Inner_example"} // []string | (optional)
- assetTagRe := []string{"Inner_example"} // []string | (optional)
- comments := []string{"Inner_example"} // []string | (optional)
- commentsIc := []string{"Inner_example"} // []string | (optional)
- commentsIe := []string{"Inner_example"} // []string | (optional)
- commentsIew := []string{"Inner_example"} // []string | (optional)
- commentsIre := []string{"Inner_example"} // []string | (optional)
- commentsIsw := []string{"Inner_example"} // []string | (optional)
- commentsN := []string{"Inner_example"} // []string | (optional)
- commentsNic := []string{"Inner_example"} // []string | (optional)
- commentsNie := []string{"Inner_example"} // []string | (optional)
- commentsNiew := []string{"Inner_example"} // []string | (optional)
- commentsNire := []string{"Inner_example"} // []string | (optional)
- commentsNisw := []string{"Inner_example"} // []string | (optional)
- commentsNre := []string{"Inner_example"} // []string | (optional)
- commentsRe := []string{"Inner_example"} // []string | (optional)
- contacts := []string{"Inner_example"} // []string | (optional)
- contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
- created := []time.Time{time.Now()} // []time.Time | (optional)
- createdGt := []time.Time{time.Now()} // []time.Time | (optional)
- createdGte := []time.Time{time.Now()} // []time.Time | (optional)
- createdIsnull := true // bool | (optional)
- createdLt := []time.Time{time.Now()} // []time.Time | (optional)
- createdLte := []time.Time{time.Now()} // []time.Time | (optional)
- createdN := []time.Time{time.Now()} // []time.Time | (optional)
- descUnits := true // bool | (optional)
- devices := []string{"Inner_example"} // []string | (optional)
- devicesIsnull := true // bool | (optional)
- devicesN := []string{"Inner_example"} // []string | (optional)
- dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
- facilityId := []string{"Inner_example"} // []string | (optional)
- facilityIdIc := []string{"Inner_example"} // []string | (optional)
- facilityIdIe := []string{"Inner_example"} // []string | (optional)
- facilityIdIew := []string{"Inner_example"} // []string | (optional)
- facilityIdIre := []string{"Inner_example"} // []string | (optional)
- facilityIdIsnull := true // bool | (optional)
- facilityIdIsw := []string{"Inner_example"} // []string | (optional)
- facilityIdN := []string{"Inner_example"} // []string | (optional)
- facilityIdNic := []string{"Inner_example"} // []string | (optional)
- facilityIdNie := []string{"Inner_example"} // []string | (optional)
- facilityIdNiew := []string{"Inner_example"} // []string | (optional)
- facilityIdNire := []string{"Inner_example"} // []string | (optional)
- facilityIdNisw := []string{"Inner_example"} // []string | (optional)
- facilityIdNre := []string{"Inner_example"} // []string | (optional)
- facilityIdRe := []string{"Inner_example"} // []string | (optional)
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- hasDevices := true // bool | Has devices (optional)
- hasPowerFeeds := true // bool | Has power feeds (optional)
- hasRackReservations := true // bool | Has rack reservations (optional)
- id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
- idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
- lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
- lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
- lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
- lastUpdatedIsnull := true // bool | (optional)
- lastUpdatedLt := []time.Time{time.Now()} // []time.Time | (optional)
- lastUpdatedLte := []time.Time{time.Now()} // []time.Time | (optional)
- lastUpdatedN := []time.Time{time.Now()} // []time.Time | (optional)
- limit := int32(56) // int32 | Number of results to return per page. (optional)
- location := []string{"Inner_example"} // []string | (optional)
- locationN := []string{"Inner_example"} // []string | (optional)
- name := []string{"Inner_example"} // []string | (optional)
- nameIc := []string{"Inner_example"} // []string | (optional)
- nameIe := []string{"Inner_example"} // []string | (optional)
- nameIew := []string{"Inner_example"} // []string | (optional)
- nameIre := []string{"Inner_example"} // []string | (optional)
- nameIsw := []string{"Inner_example"} // []string | (optional)
- nameN := []string{"Inner_example"} // []string | (optional)
- nameNic := []string{"Inner_example"} // []string | (optional)
- nameNie := []string{"Inner_example"} // []string | (optional)
- nameNiew := []string{"Inner_example"} // []string | (optional)
- nameNire := []string{"Inner_example"} // []string | (optional)
- nameNisw := []string{"Inner_example"} // []string | (optional)
- nameNre := []string{"Inner_example"} // []string | (optional)
- nameRe := []string{"Inner_example"} // []string | (optional)
- offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- outerDepth := []int32{int32(123)} // []int32 | (optional)
- outerDepthGt := []int32{int32(123)} // []int32 | (optional)
- outerDepthGte := []int32{int32(123)} // []int32 | (optional)
- outerDepthIsnull := true // bool | (optional)
- outerDepthLt := []int32{int32(123)} // []int32 | (optional)
- outerDepthLte := []int32{int32(123)} // []int32 | (optional)
- outerDepthN := []int32{int32(123)} // []int32 | (optional)
- outerUnit := []string{"Inner_example"} // []string | (optional)
- outerUnitIc := []string{"Inner_example"} // []string | (optional)
- outerUnitIe := []string{"Inner_example"} // []string | (optional)
- outerUnitIew := []string{"Inner_example"} // []string | (optional)
- outerUnitIre := []string{"Inner_example"} // []string | (optional)
- outerUnitIsw := []string{"Inner_example"} // []string | (optional)
- outerUnitN := []string{"Inner_example"} // []string | (optional)
- outerUnitNic := []string{"Inner_example"} // []string | (optional)
- outerUnitNie := []string{"Inner_example"} // []string | (optional)
- outerUnitNiew := []string{"Inner_example"} // []string | (optional)
- outerUnitNire := []string{"Inner_example"} // []string | (optional)
- outerUnitNisw := []string{"Inner_example"} // []string | (optional)
- outerUnitNre := []string{"Inner_example"} // []string | (optional)
- outerUnitRe := []string{"Inner_example"} // []string | (optional)
- outerWidth := []int32{int32(123)} // []int32 | (optional)
- outerWidthGt := []int32{int32(123)} // []int32 | (optional)
- outerWidthGte := []int32{int32(123)} // []int32 | (optional)
- outerWidthIsnull := true // bool | (optional)
- outerWidthLt := []int32{int32(123)} // []int32 | (optional)
- outerWidthLte := []int32{int32(123)} // []int32 | (optional)
- outerWidthN := []int32{int32(123)} // []int32 | (optional)
- powerFeeds := []string{"Inner_example"} // []string | (optional)
- powerFeedsIsnull := true // bool | Power feeds (name or ID) is null (optional)
- powerFeedsN := []string{"Inner_example"} // []string | (optional)
- q := "q_example" // string | Search (optional)
- rackGroup := []string{"Inner_example"} // []string | (optional)
- rackGroupIsnull := true // bool | Rack group (name or ID) is null (optional)
- rackGroupN := []string{"Inner_example"} // []string | (optional)
- rackReservations := []string{"Inner_example"} // []string | (optional)
- rackReservationsIsnull := true // bool | (optional)
- rackReservationsN := []string{"Inner_example"} // []string | (optional)
- role := []string{"Inner_example"} // []string | (optional)
- roleIsnull := true // bool | Role (name or ID) is null (optional)
- roleN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Role (name or ID) (optional)
- serial := []string{"Inner_example"} // []string | Serial Number (optional)
- sort := "sort_example" // string | Which field to use when ordering the results. (optional)
- status := []string{"Inner_example"} // []string | (optional)
- statusN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Status (name or ID) (optional)
- tags := []string{"Inner_example"} // []string | (optional)
- tagsIsnull := true // bool | (optional)
- tagsN := []string{"Inner_example"} // []string | (optional)
- teams := []string{"Inner_example"} // []string | (optional)
- teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
- tenant := []string{"Inner_example"} // []string | (optional)
- tenantIsnull := true // bool | Tenant (name or ID) is null (optional)
- tenantN := []string{"Inner_example"} // []string | (optional)
- tenantGroup := []string{"Inner_example"} // []string | (optional)
- tenantGroupIsnull := true // bool | Tenant Group (name or ID) is null (optional)
- tenantGroupN := []string{"Inner_example"} // []string | (optional)
- tenantId := []*string{"Inner_example"} // []*string | Tenant (ID) (deprecated, use \"tenant\" filter instead) (optional)
- tenantIdIsnull := true // bool | Tenant (ID) (deprecated, use \"tenant\" filter instead) is null (optional)
- tenantIdN := []*string{"Inner_example"} // []*string | Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead) (optional)
- type_ := []string{"Inner_example"} // []string | (optional)
- typeIc := []string{"Inner_example"} // []string | (optional)
- typeIe := []string{"Inner_example"} // []string | (optional)
- typeIew := []string{"Inner_example"} // []string | (optional)
- typeIre := []string{"Inner_example"} // []string | (optional)
- typeIsw := []string{"Inner_example"} // []string | (optional)
- typeN := []string{"Inner_example"} // []string | (optional)
- typeNic := []string{"Inner_example"} // []string | (optional)
- typeNie := []string{"Inner_example"} // []string | (optional)
- typeNiew := []string{"Inner_example"} // []string | (optional)
- typeNire := []string{"Inner_example"} // []string | (optional)
- typeNisw := []string{"Inner_example"} // []string | (optional)
- typeNre := []string{"Inner_example"} // []string | (optional)
- typeRe := []string{"Inner_example"} // []string | (optional)
- uHeight := []int32{int32(123)} // []int32 | (optional)
- uHeightGt := []int32{int32(123)} // []int32 | (optional)
- uHeightGte := []int32{int32(123)} // []int32 | (optional)
- uHeightLt := []int32{int32(123)} // []int32 | (optional)
- uHeightLte := []int32{int32(123)} // []int32 | (optional)
- uHeightN := []int32{int32(123)} // []int32 | (optional)
- width := []int32{int32(123)} // []int32 | Rail-to-rail width (optional)
- widthIc := []int32{int32(123)} // []int32 | Rail-to-rail width (optional)
- widthIe := []int32{int32(123)} // []int32 | Rail-to-rail width (optional)
- widthIew := []int32{int32(123)} // []int32 | Rail-to-rail width (optional)
- widthIre := []int32{int32(123)} // []int32 | Rail-to-rail width (optional)
- widthIsw := []int32{int32(123)} // []int32 | Rail-to-rail width (optional)
- widthN := []int32{int32(123)} // []int32 | Rail-to-rail width (optional)
- widthNic := []int32{int32(123)} // []int32 | Rail-to-rail width (optional)
- widthNie := []int32{int32(123)} // []int32 | Rail-to-rail width (optional)
- widthNiew := []int32{int32(123)} // []int32 | Rail-to-rail width (optional)
- widthNire := []int32{int32(123)} // []int32 | Rail-to-rail width (optional)
- widthNisw := []int32{int32(123)} // []int32 | Rail-to-rail width (optional)
- widthNre := []int32{int32(123)} // []int32 | Rail-to-rail width (optional)
- widthRe := []int32{int32(123)} // []int32 | Rail-to-rail width (optional)
- depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ bulkWritableRearPortTemplateRequest := []openapiclient.BulkWritableRearPortTemplateRequest{*openapiclient.NewBulkWritableRearPortTemplateRequest("Id_example", openapiclient.PortTypeChoices("8p8c"), "Name_example")} // []BulkWritableRearPortTemplateRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRacksList(context.Background()).AssetTag(assetTag).AssetTagIc(assetTagIc).AssetTagIe(assetTagIe).AssetTagIew(assetTagIew).AssetTagIre(assetTagIre).AssetTagIsnull(assetTagIsnull).AssetTagIsw(assetTagIsw).AssetTagN(assetTagN).AssetTagNic(assetTagNic).AssetTagNie(assetTagNie).AssetTagNiew(assetTagNiew).AssetTagNire(assetTagNire).AssetTagNisw(assetTagNisw).AssetTagNre(assetTagNre).AssetTagRe(assetTagRe).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DescUnits(descUnits).Devices(devices).DevicesIsnull(devicesIsnull).DevicesN(devicesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).FacilityId(facilityId).FacilityIdIc(facilityIdIc).FacilityIdIe(facilityIdIe).FacilityIdIew(facilityIdIew).FacilityIdIre(facilityIdIre).FacilityIdIsnull(facilityIdIsnull).FacilityIdIsw(facilityIdIsw).FacilityIdN(facilityIdN).FacilityIdNic(facilityIdNic).FacilityIdNie(facilityIdNie).FacilityIdNiew(facilityIdNiew).FacilityIdNire(facilityIdNire).FacilityIdNisw(facilityIdNisw).FacilityIdNre(facilityIdNre).FacilityIdRe(facilityIdRe).Format(format).HasDevices(hasDevices).HasPowerFeeds(hasPowerFeeds).HasRackReservations(hasRackReservations).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).OuterDepth(outerDepth).OuterDepthGt(outerDepthGt).OuterDepthGte(outerDepthGte).OuterDepthIsnull(outerDepthIsnull).OuterDepthLt(outerDepthLt).OuterDepthLte(outerDepthLte).OuterDepthN(outerDepthN).OuterUnit(outerUnit).OuterUnitIc(outerUnitIc).OuterUnitIe(outerUnitIe).OuterUnitIew(outerUnitIew).OuterUnitIre(outerUnitIre).OuterUnitIsw(outerUnitIsw).OuterUnitN(outerUnitN).OuterUnitNic(outerUnitNic).OuterUnitNie(outerUnitNie).OuterUnitNiew(outerUnitNiew).OuterUnitNire(outerUnitNire).OuterUnitNisw(outerUnitNisw).OuterUnitNre(outerUnitNre).OuterUnitRe(outerUnitRe).OuterWidth(outerWidth).OuterWidthGt(outerWidthGt).OuterWidthGte(outerWidthGte).OuterWidthIsnull(outerWidthIsnull).OuterWidthLt(outerWidthLt).OuterWidthLte(outerWidthLte).OuterWidthN(outerWidthN).PowerFeeds(powerFeeds).PowerFeedsIsnull(powerFeedsIsnull).PowerFeedsN(powerFeedsN).Q(q).RackGroup(rackGroup).RackGroupIsnull(rackGroupIsnull).RackGroupN(rackGroupN).RackReservations(rackReservations).RackReservationsIsnull(rackReservationsIsnull).RackReservationsN(rackReservationsN).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Serial(serial).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).UHeight(uHeight).UHeightGt(uHeightGt).UHeightGte(uHeightGte).UHeightLt(uHeightLt).UHeightLte(uHeightLte).UHeightN(uHeightN).Width(width).WidthIc(widthIc).WidthIe(widthIe).WidthIew(widthIew).WidthIre(widthIre).WidthIsw(widthIsw).WidthN(widthN).WidthNic(widthNic).WidthNie(widthNie).WidthNiew(widthNiew).WidthNire(widthNire).WidthNisw(widthNisw).WidthNre(widthNre).WidthRe(widthRe).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRearPortTemplatesBulkUpdate(context.Background()).BulkWritableRearPortTemplateRequest(bulkWritableRearPortTemplateRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortTemplatesBulkUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRacksList`: PaginatedRackList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRacksList`: %v\n", resp)
+ // response from `DcimRearPortTemplatesBulkUpdate`: []RearPortTemplate
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortTemplatesBulkUpdate`: %v\n", resp)
}
```
@@ -39003,213 +39656,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRacksListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRearPortTemplatesBulkUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **assetTag** | **[]string** | |
- **assetTagIc** | **[]string** | |
- **assetTagIe** | **[]string** | |
- **assetTagIew** | **[]string** | |
- **assetTagIre** | **[]string** | |
- **assetTagIsnull** | **bool** | |
- **assetTagIsw** | **[]string** | |
- **assetTagN** | **[]string** | |
- **assetTagNic** | **[]string** | |
- **assetTagNie** | **[]string** | |
- **assetTagNiew** | **[]string** | |
- **assetTagNire** | **[]string** | |
- **assetTagNisw** | **[]string** | |
- **assetTagNre** | **[]string** | |
- **assetTagRe** | **[]string** | |
- **comments** | **[]string** | |
- **commentsIc** | **[]string** | |
- **commentsIe** | **[]string** | |
- **commentsIew** | **[]string** | |
- **commentsIre** | **[]string** | |
- **commentsIsw** | **[]string** | |
- **commentsN** | **[]string** | |
- **commentsNic** | **[]string** | |
- **commentsNie** | **[]string** | |
- **commentsNiew** | **[]string** | |
- **commentsNire** | **[]string** | |
- **commentsNisw** | **[]string** | |
- **commentsNre** | **[]string** | |
- **commentsRe** | **[]string** | |
- **contacts** | **[]string** | |
- **contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
- **created** | [**[]time.Time**](time.Time.md) | |
- **createdGt** | [**[]time.Time**](time.Time.md) | |
- **createdGte** | [**[]time.Time**](time.Time.md) | |
- **createdIsnull** | **bool** | |
- **createdLt** | [**[]time.Time**](time.Time.md) | |
- **createdLte** | [**[]time.Time**](time.Time.md) | |
- **createdN** | [**[]time.Time**](time.Time.md) | |
- **descUnits** | **bool** | |
- **devices** | **[]string** | |
- **devicesIsnull** | **bool** | |
- **devicesN** | **[]string** | |
- **dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
- **facilityId** | **[]string** | |
- **facilityIdIc** | **[]string** | |
- **facilityIdIe** | **[]string** | |
- **facilityIdIew** | **[]string** | |
- **facilityIdIre** | **[]string** | |
- **facilityIdIsnull** | **bool** | |
- **facilityIdIsw** | **[]string** | |
- **facilityIdN** | **[]string** | |
- **facilityIdNic** | **[]string** | |
- **facilityIdNie** | **[]string** | |
- **facilityIdNiew** | **[]string** | |
- **facilityIdNire** | **[]string** | |
- **facilityIdNisw** | **[]string** | |
- **facilityIdNre** | **[]string** | |
- **facilityIdRe** | **[]string** | |
+ **bulkWritableRearPortTemplateRequest** | [**[]BulkWritableRearPortTemplateRequest**](BulkWritableRearPortTemplateRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **hasDevices** | **bool** | Has devices |
- **hasPowerFeeds** | **bool** | Has power feeds |
- **hasRackReservations** | **bool** | Has rack reservations |
- **id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
- **idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
- **lastUpdated** | [**[]time.Time**](time.Time.md) | |
- **lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
- **lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
- **lastUpdatedIsnull** | **bool** | |
- **lastUpdatedLt** | [**[]time.Time**](time.Time.md) | |
- **lastUpdatedLte** | [**[]time.Time**](time.Time.md) | |
- **lastUpdatedN** | [**[]time.Time**](time.Time.md) | |
- **limit** | **int32** | Number of results to return per page. |
- **location** | **[]string** | |
- **locationN** | **[]string** | |
- **name** | **[]string** | |
- **nameIc** | **[]string** | |
- **nameIe** | **[]string** | |
- **nameIew** | **[]string** | |
- **nameIre** | **[]string** | |
- **nameIsw** | **[]string** | |
- **nameN** | **[]string** | |
- **nameNic** | **[]string** | |
- **nameNie** | **[]string** | |
- **nameNiew** | **[]string** | |
- **nameNire** | **[]string** | |
- **nameNisw** | **[]string** | |
- **nameNre** | **[]string** | |
- **nameRe** | **[]string** | |
- **offset** | **int32** | The initial index from which to return the results. |
- **outerDepth** | **[]int32** | |
- **outerDepthGt** | **[]int32** | |
- **outerDepthGte** | **[]int32** | |
- **outerDepthIsnull** | **bool** | |
- **outerDepthLt** | **[]int32** | |
- **outerDepthLte** | **[]int32** | |
- **outerDepthN** | **[]int32** | |
- **outerUnit** | **[]string** | |
- **outerUnitIc** | **[]string** | |
- **outerUnitIe** | **[]string** | |
- **outerUnitIew** | **[]string** | |
- **outerUnitIre** | **[]string** | |
- **outerUnitIsw** | **[]string** | |
- **outerUnitN** | **[]string** | |
- **outerUnitNic** | **[]string** | |
- **outerUnitNie** | **[]string** | |
- **outerUnitNiew** | **[]string** | |
- **outerUnitNire** | **[]string** | |
- **outerUnitNisw** | **[]string** | |
- **outerUnitNre** | **[]string** | |
- **outerUnitRe** | **[]string** | |
- **outerWidth** | **[]int32** | |
- **outerWidthGt** | **[]int32** | |
- **outerWidthGte** | **[]int32** | |
- **outerWidthIsnull** | **bool** | |
- **outerWidthLt** | **[]int32** | |
- **outerWidthLte** | **[]int32** | |
- **outerWidthN** | **[]int32** | |
- **powerFeeds** | **[]string** | |
- **powerFeedsIsnull** | **bool** | Power feeds (name or ID) is null |
- **powerFeedsN** | **[]string** | |
- **q** | **string** | Search |
- **rackGroup** | **[]string** | |
- **rackGroupIsnull** | **bool** | Rack group (name or ID) is null |
- **rackGroupN** | **[]string** | |
- **rackReservations** | **[]string** | |
- **rackReservationsIsnull** | **bool** | |
- **rackReservationsN** | **[]string** | |
- **role** | **[]string** | |
- **roleIsnull** | **bool** | Role (name or ID) is null |
- **roleN** | **string** | Exclude Role (name or ID) |
- **serial** | **[]string** | Serial Number |
- **sort** | **string** | Which field to use when ordering the results. |
- **status** | **[]string** | |
- **statusN** | **string** | Exclude Status (name or ID) |
- **tags** | **[]string** | |
- **tagsIsnull** | **bool** | |
- **tagsN** | **[]string** | |
- **teams** | **[]string** | |
- **teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
- **tenant** | **[]string** | |
- **tenantIsnull** | **bool** | Tenant (name or ID) is null |
- **tenantN** | **[]string** | |
- **tenantGroup** | **[]string** | |
- **tenantGroupIsnull** | **bool** | Tenant Group (name or ID) is null |
- **tenantGroupN** | **[]string** | |
- **tenantId** | **[]string** | Tenant (ID) (deprecated, use \"tenant\" filter instead) |
- **tenantIdIsnull** | **bool** | Tenant (ID) (deprecated, use \"tenant\" filter instead) is null |
- **tenantIdN** | **[]string** | Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead) |
- **type_** | **[]string** | |
- **typeIc** | **[]string** | |
- **typeIe** | **[]string** | |
- **typeIew** | **[]string** | |
- **typeIre** | **[]string** | |
- **typeIsw** | **[]string** | |
- **typeN** | **[]string** | |
- **typeNic** | **[]string** | |
- **typeNie** | **[]string** | |
- **typeNiew** | **[]string** | |
- **typeNire** | **[]string** | |
- **typeNisw** | **[]string** | |
- **typeNre** | **[]string** | |
- **typeRe** | **[]string** | |
- **uHeight** | **[]int32** | |
- **uHeightGt** | **[]int32** | |
- **uHeightGte** | **[]int32** | |
- **uHeightLt** | **[]int32** | |
- **uHeightLte** | **[]int32** | |
- **uHeightN** | **[]int32** | |
- **width** | **[]int32** | Rail-to-rail width |
- **widthIc** | **[]int32** | Rail-to-rail width |
- **widthIe** | **[]int32** | Rail-to-rail width |
- **widthIew** | **[]int32** | Rail-to-rail width |
- **widthIre** | **[]int32** | Rail-to-rail width |
- **widthIsw** | **[]int32** | Rail-to-rail width |
- **widthN** | **[]int32** | Rail-to-rail width |
- **widthNic** | **[]int32** | Rail-to-rail width |
- **widthNie** | **[]int32** | Rail-to-rail width |
- **widthNiew** | **[]int32** | Rail-to-rail width |
- **widthNire** | **[]int32** | Rail-to-rail width |
- **widthNisw** | **[]int32** | Rail-to-rail width |
- **widthNre** | **[]int32** | Rail-to-rail width |
- **widthRe** | **[]int32** | Rail-to-rail width |
- **depth** | **int32** | Serializer Depth | [default to 1]
### Return type
-[**PaginatedRackList**](PaginatedRackList.md)
+[**[]RearPortTemplate**](RearPortTemplate.md)
### Authorization
@@ -39217,7 +39674,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: Not defined
+- **Content-Type**: application/json, text/csv
- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -39225,9 +39682,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRacksNotesCreate
+## DcimRearPortTemplatesCreate
-> Note DcimRacksNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+> RearPortTemplate DcimRearPortTemplatesCreate(ctx).WritableRearPortTemplateRequest(writableRearPortTemplateRequest).Format(format).Execute()
@@ -39246,19 +39703,84 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack.
- noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
+ writableRearPortTemplateRequest := *openapiclient.NewWritableRearPortTemplateRequest("Name_example", openapiclient.PortTypeChoices("8p8c")) // WritableRearPortTemplateRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRacksNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRearPortTemplatesCreate(context.Background()).WritableRearPortTemplateRequest(writableRearPortTemplateRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksNotesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortTemplatesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimRearPortTemplatesCreate`: RearPortTemplate
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortTemplatesCreate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimRearPortTemplatesCreateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **writableRearPortTemplateRequest** | [**WritableRearPortTemplateRequest**](WritableRearPortTemplateRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+[**RearPortTemplate**](RearPortTemplate.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimRearPortTemplatesDestroy
+
+> DcimRearPortTemplatesDestroy(ctx, id).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rear port template.
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ r, err := apiClient.DcimAPI.DcimRearPortTemplatesDestroy(context.Background(), id).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortTemplatesDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRacksNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRacksNotesCreate`: %v\n", resp)
}
```
@@ -39268,22 +39790,21 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rack. |
+**id** | **string** | A UUID string identifying this rear port template. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRacksNotesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRearPortTemplatesDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **noteInputRequest** | [**NoteInputRequest**](NoteInputRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**Note**](Note.md)
+ (empty response body)
### Authorization
@@ -39291,17 +39812,17 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: application/json, text/csv
-- **Accept**: application/json, text/csv
+- **Content-Type**: Not defined
+- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
-## DcimRacksNotesList
+## DcimRearPortTemplatesList
-> PaginatedNoteList DcimRacksNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedRearPortTemplateList DcimRearPortTemplatesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).FrontPortTemplates(frontPortTemplates).FrontPortTemplatesIsnull(frontPortTemplatesIsnull).FrontPortTemplatesN(frontPortTemplatesN).HasDeviceType(hasDeviceType).HasFrontPortTemplates(hasFrontPortTemplates).HasModuleType(hasModuleType).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Positions(positions).PositionsGt(positionsGt).PositionsGte(positionsGte).PositionsLt(positionsLt).PositionsLte(positionsLte).PositionsN(positionsN).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -39320,48 +39841,216 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack.
+ contacts := []string{"Inner_example"} // []string | (optional)
+ contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
+ description := []string{"Inner_example"} // []string | Description (optional)
+ descriptionIc := []string{"Inner_example"} // []string | Description (optional)
+ descriptionIe := []string{"Inner_example"} // []string | Description (optional)
+ descriptionIew := []string{"Inner_example"} // []string | Description (optional)
+ descriptionIre := []string{"Inner_example"} // []string | Description (optional)
+ descriptionIsw := []string{"Inner_example"} // []string | Description (optional)
+ descriptionN := []string{"Inner_example"} // []string | Description (optional)
+ descriptionNic := []string{"Inner_example"} // []string | Description (optional)
+ descriptionNie := []string{"Inner_example"} // []string | Description (optional)
+ descriptionNiew := []string{"Inner_example"} // []string | Description (optional)
+ descriptionNire := []string{"Inner_example"} // []string | Description (optional)
+ descriptionNisw := []string{"Inner_example"} // []string | Description (optional)
+ descriptionNre := []string{"Inner_example"} // []string | Description (optional)
+ descriptionRe := []string{"Inner_example"} // []string | Description (optional)
+ deviceType := []string{"Inner_example"} // []string | (optional)
+ deviceTypeIsnull := true // bool | Device type (model or ID) is null (optional)
+ deviceTypeN := []string{"Inner_example"} // []string | (optional)
+ dynamicGroups := []string{"Inner_example"} // []string | (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ frontPortTemplates := []string{"Inner_example"} // []string | Front port templates (optional)
+ frontPortTemplatesIsnull := true // bool | (optional)
+ frontPortTemplatesN := []string{"Inner_example"} // []string | Front port templates (optional)
+ hasDeviceType := true // bool | Has device type (optional)
+ hasFrontPortTemplates := true // bool | Has front port templates (optional)
+ hasModuleType := true // bool | Has module type (optional)
+ id := []string{"Inner_example"} // []string | ID (optional)
+ idN := []string{"Inner_example"} // []string | Exclude ID (optional)
+ label := []string{"Inner_example"} // []string | Label (optional)
+ labelIc := []string{"Inner_example"} // []string | Label (optional)
+ labelIe := []string{"Inner_example"} // []string | Label (optional)
+ labelIew := []string{"Inner_example"} // []string | Label (optional)
+ labelIre := []string{"Inner_example"} // []string | Label (optional)
+ labelIsw := []string{"Inner_example"} // []string | Label (optional)
+ labelN := []string{"Inner_example"} // []string | Label (optional)
+ labelNic := []string{"Inner_example"} // []string | Label (optional)
+ labelNie := []string{"Inner_example"} // []string | Label (optional)
+ labelNiew := []string{"Inner_example"} // []string | Label (optional)
+ labelNire := []string{"Inner_example"} // []string | Label (optional)
+ labelNisw := []string{"Inner_example"} // []string | Label (optional)
+ labelNre := []string{"Inner_example"} // []string | Label (optional)
+ labelRe := []string{"Inner_example"} // []string | Label (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
+ moduleType := []string{"Inner_example"} // []string | (optional)
+ moduleTypeIsnull := true // bool | Module type (model or ID) is null (optional)
+ moduleTypeN := []string{"Inner_example"} // []string | (optional)
+ name := []string{"Inner_example"} // []string | Name (optional)
+ nameIc := []string{"Inner_example"} // []string | Name (optional)
+ nameIe := []string{"Inner_example"} // []string | Name (optional)
+ nameIew := []string{"Inner_example"} // []string | Name (optional)
+ nameIre := []string{"Inner_example"} // []string | Name (optional)
+ nameIsw := []string{"Inner_example"} // []string | Name (optional)
+ nameN := []string{"Inner_example"} // []string | Name (optional)
+ nameNic := []string{"Inner_example"} // []string | Name (optional)
+ nameNie := []string{"Inner_example"} // []string | Name (optional)
+ nameNiew := []string{"Inner_example"} // []string | Name (optional)
+ nameNire := []string{"Inner_example"} // []string | Name (optional)
+ nameNisw := []string{"Inner_example"} // []string | Name (optional)
+ nameNre := []string{"Inner_example"} // []string | Name (optional)
+ nameRe := []string{"Inner_example"} // []string | Name (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
+ positions := []int32{int32(123)} // []int32 | (optional)
+ positionsGt := []int32{int32(123)} // []int32 | (optional)
+ positionsGte := []int32{int32(123)} // []int32 | (optional)
+ positionsLt := []int32{int32(123)} // []int32 | (optional)
+ positionsLte := []int32{int32(123)} // []int32 | (optional)
+ positionsN := []int32{int32(123)} // []int32 | (optional)
+ q := "q_example" // string | Search (optional)
+ sort := "sort_example" // string | Which field to use when ordering the results. (optional)
+ teams := []string{"Inner_example"} // []string | (optional)
+ teamsIsnull := true // bool | Teams (name or ID) is null (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
+ type_ := []string{"Inner_example"} // []string | (optional)
+ typeIc := []string{"Inner_example"} // []string | (optional)
+ typeIe := []string{"Inner_example"} // []string | (optional)
+ typeIew := []string{"Inner_example"} // []string | (optional)
+ typeIre := []string{"Inner_example"} // []string | (optional)
+ typeIsw := []string{"Inner_example"} // []string | (optional)
+ typeN := []string{"Inner_example"} // []string | (optional)
+ typeNic := []string{"Inner_example"} // []string | (optional)
+ typeNie := []string{"Inner_example"} // []string | (optional)
+ typeNiew := []string{"Inner_example"} // []string | (optional)
+ typeNire := []string{"Inner_example"} // []string | (optional)
+ typeNisw := []string{"Inner_example"} // []string | (optional)
+ typeNre := []string{"Inner_example"} // []string | (optional)
+ typeRe := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRacksNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRearPortTemplatesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).FrontPortTemplates(frontPortTemplates).FrontPortTemplatesIsnull(frontPortTemplatesIsnull).FrontPortTemplatesN(frontPortTemplatesN).HasDeviceType(hasDeviceType).HasFrontPortTemplates(hasFrontPortTemplates).HasModuleType(hasModuleType).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Positions(positions).PositionsGt(positionsGt).PositionsGte(positionsGte).PositionsLt(positionsLt).PositionsLte(positionsLte).PositionsN(positionsN).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksNotesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortTemplatesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRacksNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRacksNotesList`: %v\n", resp)
+ // response from `DcimRearPortTemplatesList`: PaginatedRearPortTemplateList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortTemplatesList`: %v\n", resp)
}
```
### Path Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rack. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRacksNotesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRearPortTemplatesListRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-
+ **contacts** | **[]string** | |
+ **contactsIsnull** | **bool** | Contacts (name or ID) is null |
+ **contactsN** | **[]string** | |
+ **description** | **[]string** | Description |
+ **descriptionIc** | **[]string** | Description |
+ **descriptionIe** | **[]string** | Description |
+ **descriptionIew** | **[]string** | Description |
+ **descriptionIre** | **[]string** | Description |
+ **descriptionIsw** | **[]string** | Description |
+ **descriptionN** | **[]string** | Description |
+ **descriptionNic** | **[]string** | Description |
+ **descriptionNie** | **[]string** | Description |
+ **descriptionNiew** | **[]string** | Description |
+ **descriptionNire** | **[]string** | Description |
+ **descriptionNisw** | **[]string** | Description |
+ **descriptionNre** | **[]string** | Description |
+ **descriptionRe** | **[]string** | Description |
+ **deviceType** | **[]string** | |
+ **deviceTypeIsnull** | **bool** | Device type (model or ID) is null |
+ **deviceTypeN** | **[]string** | |
+ **dynamicGroups** | **[]string** | |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **frontPortTemplates** | **[]string** | Front port templates |
+ **frontPortTemplatesIsnull** | **bool** | |
+ **frontPortTemplatesN** | **[]string** | Front port templates |
+ **hasDeviceType** | **bool** | Has device type |
+ **hasFrontPortTemplates** | **bool** | Has front port templates |
+ **hasModuleType** | **bool** | Has module type |
+ **id** | **[]string** | ID |
+ **idN** | **[]string** | Exclude ID |
+ **label** | **[]string** | Label |
+ **labelIc** | **[]string** | Label |
+ **labelIe** | **[]string** | Label |
+ **labelIew** | **[]string** | Label |
+ **labelIre** | **[]string** | Label |
+ **labelIsw** | **[]string** | Label |
+ **labelN** | **[]string** | Label |
+ **labelNic** | **[]string** | Label |
+ **labelNie** | **[]string** | Label |
+ **labelNiew** | **[]string** | Label |
+ **labelNire** | **[]string** | Label |
+ **labelNisw** | **[]string** | Label |
+ **labelNre** | **[]string** | Label |
+ **labelRe** | **[]string** | Label |
**limit** | **int32** | Number of results to return per page. |
+ **moduleType** | **[]string** | |
+ **moduleTypeIsnull** | **bool** | Module type (model or ID) is null |
+ **moduleTypeN** | **[]string** | |
+ **name** | **[]string** | Name |
+ **nameIc** | **[]string** | Name |
+ **nameIe** | **[]string** | Name |
+ **nameIew** | **[]string** | Name |
+ **nameIre** | **[]string** | Name |
+ **nameIsw** | **[]string** | Name |
+ **nameN** | **[]string** | Name |
+ **nameNic** | **[]string** | Name |
+ **nameNie** | **[]string** | Name |
+ **nameNiew** | **[]string** | Name |
+ **nameNire** | **[]string** | Name |
+ **nameNisw** | **[]string** | Name |
+ **nameNre** | **[]string** | Name |
+ **nameRe** | **[]string** | Name |
**offset** | **int32** | The initial index from which to return the results. |
+ **positions** | **[]int32** | |
+ **positionsGt** | **[]int32** | |
+ **positionsGte** | **[]int32** | |
+ **positionsLt** | **[]int32** | |
+ **positionsLte** | **[]int32** | |
+ **positionsN** | **[]int32** | |
+ **q** | **string** | Search |
+ **sort** | **string** | Which field to use when ordering the results. |
+ **teams** | **[]string** | |
+ **teamsIsnull** | **bool** | Teams (name or ID) is null |
+ **teamsN** | **[]string** | |
+ **type_** | **[]string** | |
+ **typeIc** | **[]string** | |
+ **typeIe** | **[]string** | |
+ **typeIew** | **[]string** | |
+ **typeIre** | **[]string** | |
+ **typeIsw** | **[]string** | |
+ **typeN** | **[]string** | |
+ **typeNic** | **[]string** | |
+ **typeNie** | **[]string** | |
+ **typeNiew** | **[]string** | |
+ **typeNire** | **[]string** | |
+ **typeNisw** | **[]string** | |
+ **typeNre** | **[]string** | |
+ **typeRe** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PaginatedNoteList**](PaginatedNoteList.md)
+[**PaginatedRearPortTemplateList**](PaginatedRearPortTemplateList.md)
### Authorization
@@ -39377,9 +40066,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRacksPartialUpdate
+## DcimRearPortTemplatesPartialUpdate
-> Rack DcimRacksPartialUpdate(ctx, id).Format(format).PatchedWritableRackRequest(patchedWritableRackRequest).Execute()
+> RearPortTemplate DcimRearPortTemplatesPartialUpdate(ctx, id).Format(format).PatchedWritableRearPortTemplateRequest(patchedWritableRearPortTemplateRequest).Execute()
@@ -39398,19 +40087,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rear port template.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- patchedWritableRackRequest := *openapiclient.NewPatchedWritableRackRequest() // PatchedWritableRackRequest | (optional)
+ patchedWritableRearPortTemplateRequest := *openapiclient.NewPatchedWritableRearPortTemplateRequest() // PatchedWritableRearPortTemplateRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRacksPartialUpdate(context.Background(), id).Format(format).PatchedWritableRackRequest(patchedWritableRackRequest).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRearPortTemplatesPartialUpdate(context.Background(), id).Format(format).PatchedWritableRearPortTemplateRequest(patchedWritableRearPortTemplateRequest).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortTemplatesPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRacksPartialUpdate`: Rack
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRacksPartialUpdate`: %v\n", resp)
+ // response from `DcimRearPortTemplatesPartialUpdate`: RearPortTemplate
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortTemplatesPartialUpdate`: %v\n", resp)
}
```
@@ -39420,22 +40109,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rack. |
+**id** | **string** | A UUID string identifying this rear port template. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRacksPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRearPortTemplatesPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **patchedWritableRackRequest** | [**PatchedWritableRackRequest**](PatchedWritableRackRequest.md) | |
+ **patchedWritableRearPortTemplateRequest** | [**PatchedWritableRearPortTemplateRequest**](PatchedWritableRearPortTemplateRequest.md) | |
### Return type
-[**Rack**](Rack.md)
+[**RearPortTemplate**](RearPortTemplate.md)
### Authorization
@@ -39451,9 +40140,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRacksRetrieve
+## DcimRearPortTemplatesRetrieve
-> Rack DcimRacksRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> RearPortTemplate DcimRearPortTemplatesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -39472,19 +40161,20 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rear port template.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRacksRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRearPortTemplatesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortTemplatesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRacksRetrieve`: Rack
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRacksRetrieve`: %v\n", resp)
+ // response from `DcimRearPortTemplatesRetrieve`: RearPortTemplate
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortTemplatesRetrieve`: %v\n", resp)
}
```
@@ -39494,11 +40184,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rack. |
+**id** | **string** | A UUID string identifying this rear port template. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRacksRetrieveRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRearPortTemplatesRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -39506,10 +40196,11 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**Rack**](Rack.md)
+[**RearPortTemplate**](RearPortTemplate.md)
### Authorization
@@ -39525,9 +40216,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRacksUpdate
+## DcimRearPortTemplatesUpdate
-> Rack DcimRacksUpdate(ctx, id).WritableRackRequest(writableRackRequest).Format(format).Execute()
+> RearPortTemplate DcimRearPortTemplatesUpdate(ctx, id).WritableRearPortTemplateRequest(writableRearPortTemplateRequest).Format(format).Execute()
@@ -39546,19 +40237,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rack.
- writableRackRequest := *openapiclient.NewWritableRackRequest("Name_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // WritableRackRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rear port template.
+ writableRearPortTemplateRequest := *openapiclient.NewWritableRearPortTemplateRequest("Name_example", openapiclient.PortTypeChoices("8p8c")) // WritableRearPortTemplateRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRacksUpdate(context.Background(), id).WritableRackRequest(writableRackRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRearPortTemplatesUpdate(context.Background(), id).WritableRearPortTemplateRequest(writableRearPortTemplateRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRacksUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortTemplatesUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRacksUpdate`: Rack
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRacksUpdate`: %v\n", resp)
+ // response from `DcimRearPortTemplatesUpdate`: RearPortTemplate
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortTemplatesUpdate`: %v\n", resp)
}
```
@@ -39568,22 +40259,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rack. |
+**id** | **string** | A UUID string identifying this rear port template. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRacksUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRearPortTemplatesUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **writableRackRequest** | [**WritableRackRequest**](WritableRackRequest.md) | |
+ **writableRearPortTemplateRequest** | [**WritableRearPortTemplateRequest**](WritableRearPortTemplateRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**Rack**](Rack.md)
+[**RearPortTemplate**](RearPortTemplate.md)
### Authorization
@@ -39599,9 +40290,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRearPortTemplatesBulkDestroy
+## DcimRearPortsBulkDestroy
-> DcimRearPortTemplatesBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+> DcimRearPortsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
@@ -39625,9 +40316,9 @@ func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimRearPortTemplatesBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimRearPortsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortTemplatesBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortsBulkDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -39639,7 +40330,7 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRearPortTemplatesBulkDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRearPortsBulkDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -39665,9 +40356,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRearPortTemplatesBulkPartialUpdate
+## DcimRearPortsBulkPartialUpdate
-> []RearPortTemplate DcimRearPortTemplatesBulkPartialUpdate(ctx).PatchedBulkWritableRearPortTemplateRequest(patchedBulkWritableRearPortTemplateRequest).Format(format).Execute()
+> []RearPort DcimRearPortsBulkPartialUpdate(ctx).PatchedBulkWritableRearPortRequest(patchedBulkWritableRearPortRequest).Format(format).Execute()
@@ -39686,18 +40377,18 @@ import (
)
func main() {
- patchedBulkWritableRearPortTemplateRequest := []openapiclient.PatchedBulkWritableRearPortTemplateRequest{*openapiclient.NewPatchedBulkWritableRearPortTemplateRequest("Id_example")} // []PatchedBulkWritableRearPortTemplateRequest |
+ patchedBulkWritableRearPortRequest := []openapiclient.PatchedBulkWritableRearPortRequest{*openapiclient.NewPatchedBulkWritableRearPortRequest("Id_example")} // []PatchedBulkWritableRearPortRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRearPortTemplatesBulkPartialUpdate(context.Background()).PatchedBulkWritableRearPortTemplateRequest(patchedBulkWritableRearPortTemplateRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRearPortsBulkPartialUpdate(context.Background()).PatchedBulkWritableRearPortRequest(patchedBulkWritableRearPortRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortTemplatesBulkPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortsBulkPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRearPortTemplatesBulkPartialUpdate`: []RearPortTemplate
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortTemplatesBulkPartialUpdate`: %v\n", resp)
+ // response from `DcimRearPortsBulkPartialUpdate`: []RearPort
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortsBulkPartialUpdate`: %v\n", resp)
}
```
@@ -39707,17 +40398,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRearPortTemplatesBulkPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRearPortsBulkPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **patchedBulkWritableRearPortTemplateRequest** | [**[]PatchedBulkWritableRearPortTemplateRequest**](PatchedBulkWritableRearPortTemplateRequest.md) | |
+ **patchedBulkWritableRearPortRequest** | [**[]PatchedBulkWritableRearPortRequest**](PatchedBulkWritableRearPortRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]RearPortTemplate**](RearPortTemplate.md)
+[**[]RearPort**](RearPort.md)
### Authorization
@@ -39733,9 +40424,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRearPortTemplatesBulkUpdate
+## DcimRearPortsBulkUpdate
-> []RearPortTemplate DcimRearPortTemplatesBulkUpdate(ctx).BulkWritableRearPortTemplateRequest(bulkWritableRearPortTemplateRequest).Format(format).Execute()
+> []RearPort DcimRearPortsBulkUpdate(ctx).BulkWritableRearPortRequest(bulkWritableRearPortRequest).Format(format).Execute()
@@ -39754,18 +40445,18 @@ import (
)
func main() {
- bulkWritableRearPortTemplateRequest := []openapiclient.BulkWritableRearPortTemplateRequest{*openapiclient.NewBulkWritableRearPortTemplateRequest("Id_example", openapiclient.PortTypeChoices("8p8c"), "Name_example")} // []BulkWritableRearPortTemplateRequest |
+ bulkWritableRearPortRequest := []openapiclient.BulkWritableRearPortRequest{*openapiclient.NewBulkWritableRearPortRequest("Id_example", openapiclient.PortTypeChoices("8p8c"), "Name_example")} // []BulkWritableRearPortRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRearPortTemplatesBulkUpdate(context.Background()).BulkWritableRearPortTemplateRequest(bulkWritableRearPortTemplateRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRearPortsBulkUpdate(context.Background()).BulkWritableRearPortRequest(bulkWritableRearPortRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortTemplatesBulkUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortsBulkUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRearPortTemplatesBulkUpdate`: []RearPortTemplate
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortTemplatesBulkUpdate`: %v\n", resp)
+ // response from `DcimRearPortsBulkUpdate`: []RearPort
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortsBulkUpdate`: %v\n", resp)
}
```
@@ -39775,17 +40466,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRearPortTemplatesBulkUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRearPortsBulkUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **bulkWritableRearPortTemplateRequest** | [**[]BulkWritableRearPortTemplateRequest**](BulkWritableRearPortTemplateRequest.md) | |
+ **bulkWritableRearPortRequest** | [**[]BulkWritableRearPortRequest**](BulkWritableRearPortRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]RearPortTemplate**](RearPortTemplate.md)
+[**[]RearPort**](RearPort.md)
### Authorization
@@ -39801,9 +40492,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRearPortTemplatesCreate
+## DcimRearPortsCreate
-> RearPortTemplate DcimRearPortTemplatesCreate(ctx).WritableRearPortTemplateRequest(writableRearPortTemplateRequest).Format(format).Execute()
+> RearPort DcimRearPortsCreate(ctx).WritableRearPortRequest(writableRearPortRequest).Format(format).Execute()
@@ -39822,18 +40513,18 @@ import (
)
func main() {
- writableRearPortTemplateRequest := *openapiclient.NewWritableRearPortTemplateRequest("Name_example", openapiclient.PortTypeChoices("8p8c")) // WritableRearPortTemplateRequest |
+ writableRearPortRequest := *openapiclient.NewWritableRearPortRequest("Name_example", openapiclient.PortTypeChoices("8p8c")) // WritableRearPortRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRearPortTemplatesCreate(context.Background()).WritableRearPortTemplateRequest(writableRearPortTemplateRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRearPortsCreate(context.Background()).WritableRearPortRequest(writableRearPortRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortTemplatesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortsCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRearPortTemplatesCreate`: RearPortTemplate
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortTemplatesCreate`: %v\n", resp)
+ // response from `DcimRearPortsCreate`: RearPort
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortsCreate`: %v\n", resp)
}
```
@@ -39843,17 +40534,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRearPortTemplatesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRearPortsCreateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **writableRearPortTemplateRequest** | [**WritableRearPortTemplateRequest**](WritableRearPortTemplateRequest.md) | |
+ **writableRearPortRequest** | [**WritableRearPortRequest**](WritableRearPortRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**RearPortTemplate**](RearPortTemplate.md)
+[**RearPort**](RearPort.md)
### Authorization
@@ -39869,9 +40560,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRearPortTemplatesDestroy
+## DcimRearPortsDestroy
-> DcimRearPortTemplatesDestroy(ctx, id).Format(format).Execute()
+> DcimRearPortsDestroy(ctx, id).Format(format).Execute()
@@ -39890,14 +40581,14 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rear port template.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rear port.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimRearPortTemplatesDestroy(context.Background(), id).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimRearPortsDestroy(context.Background(), id).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortTemplatesDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortsDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -39909,11 +40600,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rear port template. |
+**id** | **string** | A UUID string identifying this rear port. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRearPortTemplatesDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRearPortsDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -39939,9 +40630,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRearPortTemplatesList
+## DcimRearPortsList
-> PaginatedRearPortTemplateList DcimRearPortTemplatesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).FrontPortTemplates(frontPortTemplates).FrontPortTemplatesIsnull(frontPortTemplatesIsnull).FrontPortTemplatesN(frontPortTemplatesN).HasDeviceType(hasDeviceType).HasFrontPortTemplates(hasFrontPortTemplates).HasModuleType(hasModuleType).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Positions(positions).PositionsGt(positionsGt).PositionsGte(positionsGte).PositionsLt(positionsLt).PositionsLte(positionsLte).PositionsN(positionsN).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).Execute()
+> PaginatedRearPortList DcimRearPortsList(ctx).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).FrontPorts(frontPorts).FrontPortsIsnull(frontPortsIsnull).FrontPortsN(frontPortsN).HasCable(hasCable).HasFrontPorts(hasFrontPorts).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).Module(module).ModuleIsnull(moduleIsnull).ModuleN(moduleN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Positions(positions).PositionsGt(positionsGt).PositionsGte(positionsGte).PositionsLt(positionsLt).PositionsLte(positionsLte).PositionsN(positionsN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -39960,81 +40651,71 @@ import (
)
func main() {
+ cable := []string{"Inner_example"} // []string | Cable (optional)
+ cableIsnull := true // bool | (optional)
+ cableN := []string{"Inner_example"} // []string | Cable (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
- description := []string{"Inner_example"} // []string | Description (optional)
- descriptionIc := []string{"Inner_example"} // []string | Description (optional)
- descriptionIe := []string{"Inner_example"} // []string | Description (optional)
- descriptionIew := []string{"Inner_example"} // []string | Description (optional)
- descriptionIre := []string{"Inner_example"} // []string | Description (optional)
- descriptionIsw := []string{"Inner_example"} // []string | Description (optional)
- descriptionN := []string{"Inner_example"} // []string | Description (optional)
- descriptionNic := []string{"Inner_example"} // []string | Description (optional)
- descriptionNie := []string{"Inner_example"} // []string | Description (optional)
- descriptionNiew := []string{"Inner_example"} // []string | Description (optional)
- descriptionNire := []string{"Inner_example"} // []string | Description (optional)
- descriptionNisw := []string{"Inner_example"} // []string | Description (optional)
- descriptionNre := []string{"Inner_example"} // []string | Description (optional)
- descriptionRe := []string{"Inner_example"} // []string | Description (optional)
- deviceType := []string{"Inner_example"} // []string | (optional)
- deviceTypeIsnull := true // bool | Device type (model or ID) is null (optional)
- deviceTypeN := []string{"Inner_example"} // []string | (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
+ description := []string{"Inner_example"} // []string | (optional)
+ descriptionIc := []string{"Inner_example"} // []string | (optional)
+ descriptionIe := []string{"Inner_example"} // []string | (optional)
+ descriptionIew := []string{"Inner_example"} // []string | (optional)
+ descriptionIre := []string{"Inner_example"} // []string | (optional)
+ descriptionIsw := []string{"Inner_example"} // []string | (optional)
+ descriptionN := []string{"Inner_example"} // []string | (optional)
+ descriptionNic := []string{"Inner_example"} // []string | (optional)
+ descriptionNie := []string{"Inner_example"} // []string | (optional)
+ descriptionNiew := []string{"Inner_example"} // []string | (optional)
+ descriptionNire := []string{"Inner_example"} // []string | (optional)
+ descriptionNisw := []string{"Inner_example"} // []string | (optional)
+ descriptionNre := []string{"Inner_example"} // []string | (optional)
+ descriptionRe := []string{"Inner_example"} // []string | (optional)
+ device := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- frontPortTemplates := []string{"Inner_example"} // []string | Front port templates (optional)
- frontPortTemplatesIsnull := true // bool | (optional)
- frontPortTemplatesN := []string{"Inner_example"} // []string | Front port templates (optional)
- hasDeviceType := true // bool | Has device type (optional)
- hasFrontPortTemplates := true // bool | Has front port templates (optional)
- hasModuleType := true // bool | Has module type (optional)
- id := []string{"Inner_example"} // []string | ID (optional)
- idIc := []string{"Inner_example"} // []string | ID contains (optional)
- idIe := []string{"Inner_example"} // []string | ID (optional)
- idIew := []string{"Inner_example"} // []string | ID ends with (optional)
- idIre := []string{"Inner_example"} // []string | ID matches regex (optional)
- idIsw := []string{"Inner_example"} // []string | ID starts with (optional)
- idN := []string{"Inner_example"} // []string | Exclude ID (optional)
- idNic := []string{"Inner_example"} // []string | Exclude ID contains (optional)
- idNie := []string{"Inner_example"} // []string | Exclude ID (optional)
- idNiew := []string{"Inner_example"} // []string | Exclude ID ends with (optional)
- idNire := []string{"Inner_example"} // []string | Exclude ID matches regex (optional)
- idNisw := []string{"Inner_example"} // []string | Exclude ID starts with (optional)
- idNre := []string{"Inner_example"} // []string | Exclude ID matches regex (optional)
- idRe := []string{"Inner_example"} // []string | ID matches regex (optional)
- label := []string{"Inner_example"} // []string | Label (optional)
- labelIc := []string{"Inner_example"} // []string | Label (optional)
- labelIe := []string{"Inner_example"} // []string | Label (optional)
- labelIew := []string{"Inner_example"} // []string | Label (optional)
- labelIre := []string{"Inner_example"} // []string | Label (optional)
- labelIsw := []string{"Inner_example"} // []string | Label (optional)
- labelN := []string{"Inner_example"} // []string | Label (optional)
- labelNic := []string{"Inner_example"} // []string | Label (optional)
- labelNie := []string{"Inner_example"} // []string | Label (optional)
- labelNiew := []string{"Inner_example"} // []string | Label (optional)
- labelNire := []string{"Inner_example"} // []string | Label (optional)
- labelNisw := []string{"Inner_example"} // []string | Label (optional)
- labelNre := []string{"Inner_example"} // []string | Label (optional)
- labelRe := []string{"Inner_example"} // []string | Label (optional)
+ frontPorts := []string{"Inner_example"} // []string | (optional)
+ frontPortsIsnull := true // bool | Front ports (name or ID) is null (optional)
+ frontPortsN := []string{"Inner_example"} // []string | (optional)
+ hasCable := true // bool | Has cable (optional)
+ hasFrontPorts := true // bool | Has front ports (optional)
+ id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
+ idN := []string{"Inner_example"} // []string | (optional)
+ label := []string{"Inner_example"} // []string | (optional)
+ labelIc := []string{"Inner_example"} // []string | (optional)
+ labelIe := []string{"Inner_example"} // []string | (optional)
+ labelIew := []string{"Inner_example"} // []string | (optional)
+ labelIre := []string{"Inner_example"} // []string | (optional)
+ labelIsw := []string{"Inner_example"} // []string | (optional)
+ labelN := []string{"Inner_example"} // []string | (optional)
+ labelNic := []string{"Inner_example"} // []string | (optional)
+ labelNie := []string{"Inner_example"} // []string | (optional)
+ labelNiew := []string{"Inner_example"} // []string | (optional)
+ labelNire := []string{"Inner_example"} // []string | (optional)
+ labelNisw := []string{"Inner_example"} // []string | (optional)
+ labelNre := []string{"Inner_example"} // []string | (optional)
+ labelRe := []string{"Inner_example"} // []string | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
- moduleType := []string{"Inner_example"} // []string | (optional)
- moduleTypeIsnull := true // bool | Module type (model or ID) is null (optional)
- moduleTypeN := []string{"Inner_example"} // []string | (optional)
- name := []string{"Inner_example"} // []string | Name (optional)
- nameIc := []string{"Inner_example"} // []string | Name (optional)
- nameIe := []string{"Inner_example"} // []string | Name (optional)
- nameIew := []string{"Inner_example"} // []string | Name (optional)
- nameIre := []string{"Inner_example"} // []string | Name (optional)
- nameIsw := []string{"Inner_example"} // []string | Name (optional)
- nameN := []string{"Inner_example"} // []string | Name (optional)
- nameNic := []string{"Inner_example"} // []string | Name (optional)
- nameNie := []string{"Inner_example"} // []string | Name (optional)
- nameNiew := []string{"Inner_example"} // []string | Name (optional)
- nameNire := []string{"Inner_example"} // []string | Name (optional)
- nameNisw := []string{"Inner_example"} // []string | Name (optional)
- nameNre := []string{"Inner_example"} // []string | Name (optional)
- nameRe := []string{"Inner_example"} // []string | Name (optional)
+ location := []string{"Inner_example"} // []string | (optional)
+ locationN := []string{"Inner_example"} // []string | (optional)
+ module := []string{"Inner_example"} // []string | (optional)
+ moduleIsnull := true // bool | Module (model or ID) is null (optional)
+ moduleN := []string{"Inner_example"} // []string | (optional)
+ name := []string{"Inner_example"} // []string | (optional)
+ nameIc := []string{"Inner_example"} // []string | (optional)
+ nameIe := []string{"Inner_example"} // []string | (optional)
+ nameIew := []string{"Inner_example"} // []string | (optional)
+ nameIre := []string{"Inner_example"} // []string | (optional)
+ nameIsw := []string{"Inner_example"} // []string | (optional)
+ nameN := []string{"Inner_example"} // []string | (optional)
+ nameNic := []string{"Inner_example"} // []string | (optional)
+ nameNie := []string{"Inner_example"} // []string | (optional)
+ nameNiew := []string{"Inner_example"} // []string | (optional)
+ nameNire := []string{"Inner_example"} // []string | (optional)
+ nameNisw := []string{"Inner_example"} // []string | (optional)
+ nameNre := []string{"Inner_example"} // []string | (optional)
+ nameRe := []string{"Inner_example"} // []string | (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
positions := []int32{int32(123)} // []int32 | (optional)
positionsGt := []int32{int32(123)} // []int32 | (optional)
@@ -40044,9 +40725,12 @@ func main() {
positionsN := []int32{int32(123)} // []int32 | (optional)
q := "q_example" // string | Search (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
+ tags := []string{"Inner_example"} // []string | (optional)
+ tagsIsnull := true // bool | (optional)
+ tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
type_ := []string{"Inner_example"} // []string | (optional)
typeIc := []string{"Inner_example"} // []string | (optional)
typeIe := []string{"Inner_example"} // []string | (optional)
@@ -40062,16 +40746,17 @@ func main() {
typeNre := []string{"Inner_example"} // []string | (optional)
typeRe := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRearPortTemplatesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DeviceType(deviceType).DeviceTypeIsnull(deviceTypeIsnull).DeviceTypeN(deviceTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).FrontPortTemplates(frontPortTemplates).FrontPortTemplatesIsnull(frontPortTemplatesIsnull).FrontPortTemplatesN(frontPortTemplatesN).HasDeviceType(hasDeviceType).HasFrontPortTemplates(hasFrontPortTemplates).HasModuleType(hasModuleType).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).ModuleType(moduleType).ModuleTypeIsnull(moduleTypeIsnull).ModuleTypeN(moduleTypeN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Positions(positions).PositionsGt(positionsGt).PositionsGte(positionsGte).PositionsLt(positionsLt).PositionsLte(positionsLte).PositionsN(positionsN).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRearPortsList(context.Background()).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).FrontPorts(frontPorts).FrontPortsIsnull(frontPortsIsnull).FrontPortsN(frontPortsN).HasCable(hasCable).HasFrontPorts(hasFrontPorts).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).Module(module).ModuleIsnull(moduleIsnull).ModuleN(moduleN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Positions(positions).PositionsGt(positionsGt).PositionsGte(positionsGte).PositionsLt(positionsLt).PositionsLte(positionsLte).PositionsN(positionsN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortTemplatesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRearPortTemplatesList`: PaginatedRearPortTemplateList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortTemplatesList`: %v\n", resp)
+ // response from `DcimRearPortsList`: PaginatedRearPortList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortsList`: %v\n", resp)
}
```
@@ -40081,86 +40766,76 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRearPortTemplatesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRearPortsListRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
+ **cable** | **[]string** | Cable |
+ **cableIsnull** | **bool** | |
+ **cableN** | **[]string** | Cable |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
- **description** | **[]string** | Description |
- **descriptionIc** | **[]string** | Description |
- **descriptionIe** | **[]string** | Description |
- **descriptionIew** | **[]string** | Description |
- **descriptionIre** | **[]string** | Description |
- **descriptionIsw** | **[]string** | Description |
- **descriptionN** | **[]string** | Description |
- **descriptionNic** | **[]string** | Description |
- **descriptionNie** | **[]string** | Description |
- **descriptionNiew** | **[]string** | Description |
- **descriptionNire** | **[]string** | Description |
- **descriptionNisw** | **[]string** | Description |
- **descriptionNre** | **[]string** | Description |
- **descriptionRe** | **[]string** | Description |
- **deviceType** | **[]string** | |
- **deviceTypeIsnull** | **bool** | Device type (model or ID) is null |
- **deviceTypeN** | **[]string** | |
+ **contactsN** | **[]string** | |
+ **description** | **[]string** | |
+ **descriptionIc** | **[]string** | |
+ **descriptionIe** | **[]string** | |
+ **descriptionIew** | **[]string** | |
+ **descriptionIre** | **[]string** | |
+ **descriptionIsw** | **[]string** | |
+ **descriptionN** | **[]string** | |
+ **descriptionNic** | **[]string** | |
+ **descriptionNie** | **[]string** | |
+ **descriptionNiew** | **[]string** | |
+ **descriptionNire** | **[]string** | |
+ **descriptionNisw** | **[]string** | |
+ **descriptionNre** | **[]string** | |
+ **descriptionRe** | **[]string** | |
+ **device** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **frontPortTemplates** | **[]string** | Front port templates |
- **frontPortTemplatesIsnull** | **bool** | |
- **frontPortTemplatesN** | **[]string** | Front port templates |
- **hasDeviceType** | **bool** | Has device type |
- **hasFrontPortTemplates** | **bool** | Has front port templates |
- **hasModuleType** | **bool** | Has module type |
- **id** | **[]string** | ID |
- **idIc** | **[]string** | ID contains |
- **idIe** | **[]string** | ID |
- **idIew** | **[]string** | ID ends with |
- **idIre** | **[]string** | ID matches regex |
- **idIsw** | **[]string** | ID starts with |
- **idN** | **[]string** | Exclude ID |
- **idNic** | **[]string** | Exclude ID contains |
- **idNie** | **[]string** | Exclude ID |
- **idNiew** | **[]string** | Exclude ID ends with |
- **idNire** | **[]string** | Exclude ID matches regex |
- **idNisw** | **[]string** | Exclude ID starts with |
- **idNre** | **[]string** | Exclude ID matches regex |
- **idRe** | **[]string** | ID matches regex |
- **label** | **[]string** | Label |
- **labelIc** | **[]string** | Label |
- **labelIe** | **[]string** | Label |
- **labelIew** | **[]string** | Label |
- **labelIre** | **[]string** | Label |
- **labelIsw** | **[]string** | Label |
- **labelN** | **[]string** | Label |
- **labelNic** | **[]string** | Label |
- **labelNie** | **[]string** | Label |
- **labelNiew** | **[]string** | Label |
- **labelNire** | **[]string** | Label |
- **labelNisw** | **[]string** | Label |
- **labelNre** | **[]string** | Label |
- **labelRe** | **[]string** | Label |
+ **frontPorts** | **[]string** | |
+ **frontPortsIsnull** | **bool** | Front ports (name or ID) is null |
+ **frontPortsN** | **[]string** | |
+ **hasCable** | **bool** | Has cable |
+ **hasFrontPorts** | **bool** | Has front ports |
+ **id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
+ **idN** | **[]string** | |
+ **label** | **[]string** | |
+ **labelIc** | **[]string** | |
+ **labelIe** | **[]string** | |
+ **labelIew** | **[]string** | |
+ **labelIre** | **[]string** | |
+ **labelIsw** | **[]string** | |
+ **labelN** | **[]string** | |
+ **labelNic** | **[]string** | |
+ **labelNie** | **[]string** | |
+ **labelNiew** | **[]string** | |
+ **labelNire** | **[]string** | |
+ **labelNisw** | **[]string** | |
+ **labelNre** | **[]string** | |
+ **labelRe** | **[]string** | |
**limit** | **int32** | Number of results to return per page. |
- **moduleType** | **[]string** | |
- **moduleTypeIsnull** | **bool** | Module type (model or ID) is null |
- **moduleTypeN** | **[]string** | |
- **name** | **[]string** | Name |
- **nameIc** | **[]string** | Name |
- **nameIe** | **[]string** | Name |
- **nameIew** | **[]string** | Name |
- **nameIre** | **[]string** | Name |
- **nameIsw** | **[]string** | Name |
- **nameN** | **[]string** | Name |
- **nameNic** | **[]string** | Name |
- **nameNie** | **[]string** | Name |
- **nameNiew** | **[]string** | Name |
- **nameNire** | **[]string** | Name |
- **nameNisw** | **[]string** | Name |
- **nameNre** | **[]string** | Name |
- **nameRe** | **[]string** | Name |
+ **location** | **[]string** | |
+ **locationN** | **[]string** | |
+ **module** | **[]string** | |
+ **moduleIsnull** | **bool** | Module (model or ID) is null |
+ **moduleN** | **[]string** | |
+ **name** | **[]string** | |
+ **nameIc** | **[]string** | |
+ **nameIe** | **[]string** | |
+ **nameIew** | **[]string** | |
+ **nameIre** | **[]string** | |
+ **nameIsw** | **[]string** | |
+ **nameN** | **[]string** | |
+ **nameNic** | **[]string** | |
+ **nameNie** | **[]string** | |
+ **nameNiew** | **[]string** | |
+ **nameNire** | **[]string** | |
+ **nameNisw** | **[]string** | |
+ **nameNre** | **[]string** | |
+ **nameRe** | **[]string** | |
**offset** | **int32** | The initial index from which to return the results. |
**positions** | **[]int32** | |
**positionsGt** | **[]int32** | |
@@ -40170,9 +40845,12 @@ Name | Type | Description | Notes
**positionsN** | **[]int32** | |
**q** | **string** | Search |
**sort** | **string** | Which field to use when ordering the results. |
+ **tags** | **[]string** | |
+ **tagsIsnull** | **bool** | |
+ **tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**type_** | **[]string** | |
**typeIc** | **[]string** | |
**typeIe** | **[]string** | |
@@ -40188,10 +40866,11 @@ Name | Type | Description | Notes
**typeNre** | **[]string** | |
**typeRe** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PaginatedRearPortTemplateList**](PaginatedRearPortTemplateList.md)
+[**PaginatedRearPortList**](PaginatedRearPortList.md)
### Authorization
@@ -40207,9 +40886,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRearPortTemplatesNotesCreate
+## DcimRearPortsNotesCreate
-> Note DcimRearPortTemplatesNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+> Note DcimRearPortsNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
@@ -40228,19 +40907,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rear port template.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rear port.
noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRearPortTemplatesNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRearPortsNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortTemplatesNotesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortsNotesCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRearPortTemplatesNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortTemplatesNotesCreate`: %v\n", resp)
+ // response from `DcimRearPortsNotesCreate`: Note
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortsNotesCreate`: %v\n", resp)
}
```
@@ -40250,11 +40929,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rear port template. |
+**id** | **string** | A UUID string identifying this rear port. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRearPortTemplatesNotesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRearPortsNotesCreateRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -40281,9 +40960,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRearPortTemplatesNotesList
+## DcimRearPortsNotesList
-> PaginatedNoteList DcimRearPortTemplatesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList DcimRearPortsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -40302,21 +40981,22 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rear port template.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rear port.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRearPortTemplatesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRearPortsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortTemplatesNotesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRearPortTemplatesNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortTemplatesNotesList`: %v\n", resp)
+ // response from `DcimRearPortsNotesList`: PaginatedNoteList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortsNotesList`: %v\n", resp)
}
```
@@ -40326,11 +41006,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rear port template. |
+**id** | **string** | A UUID string identifying this rear port. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRearPortTemplatesNotesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRearPortsNotesListRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -40340,6 +41020,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -40359,9 +41040,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRearPortTemplatesPartialUpdate
+## DcimRearPortsPartialUpdate
-> RearPortTemplate DcimRearPortTemplatesPartialUpdate(ctx, id).Format(format).PatchedWritableRearPortTemplateRequest(patchedWritableRearPortTemplateRequest).Execute()
+> RearPort DcimRearPortsPartialUpdate(ctx, id).Format(format).PatchedWritableRearPortRequest(patchedWritableRearPortRequest).Execute()
@@ -40380,19 +41061,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rear port template.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rear port.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- patchedWritableRearPortTemplateRequest := *openapiclient.NewPatchedWritableRearPortTemplateRequest() // PatchedWritableRearPortTemplateRequest | (optional)
+ patchedWritableRearPortRequest := *openapiclient.NewPatchedWritableRearPortRequest() // PatchedWritableRearPortRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRearPortTemplatesPartialUpdate(context.Background(), id).Format(format).PatchedWritableRearPortTemplateRequest(patchedWritableRearPortTemplateRequest).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRearPortsPartialUpdate(context.Background(), id).Format(format).PatchedWritableRearPortRequest(patchedWritableRearPortRequest).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortTemplatesPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortsPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRearPortTemplatesPartialUpdate`: RearPortTemplate
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortTemplatesPartialUpdate`: %v\n", resp)
+ // response from `DcimRearPortsPartialUpdate`: RearPort
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortsPartialUpdate`: %v\n", resp)
}
```
@@ -40402,22 +41083,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rear port template. |
+**id** | **string** | A UUID string identifying this rear port. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRearPortTemplatesPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRearPortsPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **patchedWritableRearPortTemplateRequest** | [**PatchedWritableRearPortTemplateRequest**](PatchedWritableRearPortTemplateRequest.md) | |
+ **patchedWritableRearPortRequest** | [**PatchedWritableRearPortRequest**](PatchedWritableRearPortRequest.md) | |
### Return type
-[**RearPortTemplate**](RearPortTemplate.md)
+[**RearPort**](RearPort.md)
### Authorization
@@ -40433,9 +41114,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRearPortTemplatesRetrieve
+## DcimRearPortsPathsList
-> RearPortTemplate DcimRearPortTemplatesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> PaginatedCablePathList DcimRearPortsPathsList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -40454,19 +41135,22 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rear port template.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rear port.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ limit := int32(56) // int32 | Number of results to return per page. (optional)
+ offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRearPortTemplatesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRearPortsPathsList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortTemplatesRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortsPathsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRearPortTemplatesRetrieve`: RearPortTemplate
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortTemplatesRetrieve`: %v\n", resp)
+ // response from `DcimRearPortsPathsList`: PaginatedCablePathList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortsPathsList`: %v\n", resp)
}
```
@@ -40476,22 +41160,25 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rear port template. |
+**id** | **string** | A UUID string identifying this rear port. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRearPortTemplatesRetrieveRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRearPortsPathsListRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **limit** | **int32** | Number of results to return per page. |
+ **offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**RearPortTemplate**](RearPortTemplate.md)
+[**PaginatedCablePathList**](PaginatedCablePathList.md)
### Authorization
@@ -40507,9 +41194,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRearPortTemplatesUpdate
+## DcimRearPortsRetrieve
-> RearPortTemplate DcimRearPortTemplatesUpdate(ctx, id).WritableRearPortTemplateRequest(writableRearPortTemplateRequest).Format(format).Execute()
+> RearPort DcimRearPortsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -40528,19 +41215,20 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rear port template.
- writableRearPortTemplateRequest := *openapiclient.NewWritableRearPortTemplateRequest("Name_example", openapiclient.PortTypeChoices("8p8c")) // WritableRearPortTemplateRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rear port.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRearPortTemplatesUpdate(context.Background(), id).WritableRearPortTemplateRequest(writableRearPortTemplateRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimRearPortsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortTemplatesUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRearPortTemplatesUpdate`: RearPortTemplate
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortTemplatesUpdate`: %v\n", resp)
+ // response from `DcimRearPortsRetrieve`: RearPort
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortsRetrieve`: %v\n", resp)
}
```
@@ -40550,22 +41238,97 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rear port template. |
+**id** | **string** | A UUID string identifying this rear port. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRearPortTemplatesUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimRearPortsRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **writableRearPortTemplateRequest** | [**WritableRearPortTemplateRequest**](WritableRearPortTemplateRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**RearPortTemplate**](RearPortTemplate.md)
+[**RearPort**](RearPort.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## DcimRearPortsUpdate
+
+> RearPort DcimRearPortsUpdate(ctx, id).WritableRearPortRequest(writableRearPortRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rear port.
+ writableRearPortRequest := *openapiclient.NewWritableRearPortRequest("Name_example", openapiclient.PortTypeChoices("8p8c")) // WritableRearPortRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.DcimAPI.DcimRearPortsUpdate(context.Background(), id).WritableRearPortRequest(writableRearPortRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortsUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `DcimRearPortsUpdate`: RearPort
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortsUpdate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this rear port. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiDcimRearPortsUpdateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **writableRearPortRequest** | [**WritableRearPortRequest**](WritableRearPortRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+[**RearPort**](RearPort.md)
### Authorization
@@ -40581,9 +41344,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRearPortsBulkDestroy
+## DcimSoftwareImageFilesBulkDestroy
-> DcimRearPortsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+> DcimSoftwareImageFilesBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
@@ -40607,9 +41370,9 @@ func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimRearPortsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimSoftwareImageFilesBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortsBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareImageFilesBulkDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -40621,7 +41384,7 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRearPortsBulkDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimSoftwareImageFilesBulkDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -40647,9 +41410,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRearPortsBulkPartialUpdate
+## DcimSoftwareImageFilesBulkPartialUpdate
-> []RearPort DcimRearPortsBulkPartialUpdate(ctx).PatchedBulkWritableRearPortRequest(patchedBulkWritableRearPortRequest).Format(format).Execute()
+> []SoftwareImageFile DcimSoftwareImageFilesBulkPartialUpdate(ctx).PatchedBulkWritableSoftwareImageFileRequest(patchedBulkWritableSoftwareImageFileRequest).Format(format).Execute()
@@ -40668,18 +41431,18 @@ import (
)
func main() {
- patchedBulkWritableRearPortRequest := []openapiclient.PatchedBulkWritableRearPortRequest{*openapiclient.NewPatchedBulkWritableRearPortRequest("Id_example")} // []PatchedBulkWritableRearPortRequest |
+ patchedBulkWritableSoftwareImageFileRequest := []openapiclient.PatchedBulkWritableSoftwareImageFileRequest{*openapiclient.NewPatchedBulkWritableSoftwareImageFileRequest("Id_example")} // []PatchedBulkWritableSoftwareImageFileRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRearPortsBulkPartialUpdate(context.Background()).PatchedBulkWritableRearPortRequest(patchedBulkWritableRearPortRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimSoftwareImageFilesBulkPartialUpdate(context.Background()).PatchedBulkWritableSoftwareImageFileRequest(patchedBulkWritableSoftwareImageFileRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortsBulkPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareImageFilesBulkPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRearPortsBulkPartialUpdate`: []RearPort
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortsBulkPartialUpdate`: %v\n", resp)
+ // response from `DcimSoftwareImageFilesBulkPartialUpdate`: []SoftwareImageFile
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareImageFilesBulkPartialUpdate`: %v\n", resp)
}
```
@@ -40689,17 +41452,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRearPortsBulkPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimSoftwareImageFilesBulkPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **patchedBulkWritableRearPortRequest** | [**[]PatchedBulkWritableRearPortRequest**](PatchedBulkWritableRearPortRequest.md) | |
+ **patchedBulkWritableSoftwareImageFileRequest** | [**[]PatchedBulkWritableSoftwareImageFileRequest**](PatchedBulkWritableSoftwareImageFileRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]RearPort**](RearPort.md)
+[**[]SoftwareImageFile**](SoftwareImageFile.md)
### Authorization
@@ -40715,9 +41478,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRearPortsBulkUpdate
+## DcimSoftwareImageFilesBulkUpdate
-> []RearPort DcimRearPortsBulkUpdate(ctx).BulkWritableRearPortRequest(bulkWritableRearPortRequest).Format(format).Execute()
+> []SoftwareImageFile DcimSoftwareImageFilesBulkUpdate(ctx).BulkWritableSoftwareImageFileRequest(bulkWritableSoftwareImageFileRequest).Format(format).Execute()
@@ -40736,18 +41499,18 @@ import (
)
func main() {
- bulkWritableRearPortRequest := []openapiclient.BulkWritableRearPortRequest{*openapiclient.NewBulkWritableRearPortRequest("Id_example", openapiclient.PortTypeChoices("8p8c"), "Name_example")} // []BulkWritableRearPortRequest |
+ bulkWritableSoftwareImageFileRequest := []openapiclient.BulkWritableSoftwareImageFileRequest{*openapiclient.NewBulkWritableSoftwareImageFileRequest("Id_example", "ImageFileName_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritableSoftwareImageFileRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRearPortsBulkUpdate(context.Background()).BulkWritableRearPortRequest(bulkWritableRearPortRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimSoftwareImageFilesBulkUpdate(context.Background()).BulkWritableSoftwareImageFileRequest(bulkWritableSoftwareImageFileRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortsBulkUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareImageFilesBulkUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRearPortsBulkUpdate`: []RearPort
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortsBulkUpdate`: %v\n", resp)
+ // response from `DcimSoftwareImageFilesBulkUpdate`: []SoftwareImageFile
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareImageFilesBulkUpdate`: %v\n", resp)
}
```
@@ -40757,17 +41520,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRearPortsBulkUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimSoftwareImageFilesBulkUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **bulkWritableRearPortRequest** | [**[]BulkWritableRearPortRequest**](BulkWritableRearPortRequest.md) | |
+ **bulkWritableSoftwareImageFileRequest** | [**[]BulkWritableSoftwareImageFileRequest**](BulkWritableSoftwareImageFileRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]RearPort**](RearPort.md)
+[**[]SoftwareImageFile**](SoftwareImageFile.md)
### Authorization
@@ -40783,9 +41546,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRearPortsCreate
+## DcimSoftwareImageFilesCreate
-> RearPort DcimRearPortsCreate(ctx).WritableRearPortRequest(writableRearPortRequest).Format(format).Execute()
+> SoftwareImageFile DcimSoftwareImageFilesCreate(ctx).SoftwareImageFileRequest(softwareImageFileRequest).Format(format).Execute()
@@ -40804,18 +41567,18 @@ import (
)
func main() {
- writableRearPortRequest := *openapiclient.NewWritableRearPortRequest("Name_example", openapiclient.PortTypeChoices("8p8c")) // WritableRearPortRequest |
+ softwareImageFileRequest := *openapiclient.NewSoftwareImageFileRequest("ImageFileName_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // SoftwareImageFileRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRearPortsCreate(context.Background()).WritableRearPortRequest(writableRearPortRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimSoftwareImageFilesCreate(context.Background()).SoftwareImageFileRequest(softwareImageFileRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortsCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareImageFilesCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRearPortsCreate`: RearPort
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortsCreate`: %v\n", resp)
+ // response from `DcimSoftwareImageFilesCreate`: SoftwareImageFile
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareImageFilesCreate`: %v\n", resp)
}
```
@@ -40825,17 +41588,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRearPortsCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimSoftwareImageFilesCreateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **writableRearPortRequest** | [**WritableRearPortRequest**](WritableRearPortRequest.md) | |
+ **softwareImageFileRequest** | [**SoftwareImageFileRequest**](SoftwareImageFileRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**RearPort**](RearPort.md)
+[**SoftwareImageFile**](SoftwareImageFile.md)
### Authorization
@@ -40851,9 +41614,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRearPortsDestroy
+## DcimSoftwareImageFilesDestroy
-> DcimRearPortsDestroy(ctx, id).Format(format).Execute()
+> DcimSoftwareImageFilesDestroy(ctx, id).Format(format).Execute()
@@ -40872,14 +41635,14 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rear port.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this software image file.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimRearPortsDestroy(context.Background(), id).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimSoftwareImageFilesDestroy(context.Background(), id).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortsDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareImageFilesDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -40891,11 +41654,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rear port. |
+**id** | **string** | A UUID string identifying this software image file. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRearPortsDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimSoftwareImageFilesDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -40921,9 +41684,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRearPortsList
+## DcimSoftwareImageFilesList
-> PaginatedRearPortList DcimRearPortsList(ctx).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).FrontPorts(frontPorts).FrontPortsIsnull(frontPortsIsnull).FrontPortsN(frontPortsN).HasCable(hasCable).HasFrontPorts(hasFrontPorts).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).Module(module).ModuleIsnull(moduleIsnull).ModuleN(moduleN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Positions(positions).PositionsGt(positionsGt).PositionsGte(positionsGte).PositionsLt(positionsLt).PositionsLte(positionsLte).PositionsN(positionsN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).Execute()
+> PaginatedSoftwareImageFileList DcimSoftwareImageFilesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DefaultImage(defaultImage).DeviceTypes(deviceTypes).DeviceTypesIsnull(deviceTypesIsnull).DeviceTypesN(deviceTypesN).Devices(devices).DevicesIsnull(devicesIsnull).DevicesN(devicesN).DownloadUrl(downloadUrl).DownloadUrlIc(downloadUrlIc).DownloadUrlIe(downloadUrlIe).DownloadUrlIew(downloadUrlIew).DownloadUrlIre(downloadUrlIre).DownloadUrlIsw(downloadUrlIsw).DownloadUrlN(downloadUrlN).DownloadUrlNic(downloadUrlNic).DownloadUrlNie(downloadUrlNie).DownloadUrlNiew(downloadUrlNiew).DownloadUrlNire(downloadUrlNire).DownloadUrlNisw(downloadUrlNisw).DownloadUrlNre(downloadUrlNre).DownloadUrlRe(downloadUrlRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).ExternalIntegration(externalIntegration).ExternalIntegrationIsnull(externalIntegrationIsnull).ExternalIntegrationN(externalIntegrationN).Format(format).HasDeviceTypes(hasDeviceTypes).HasDevices(hasDevices).HashingAlgorithm(hashingAlgorithm).HashingAlgorithmIc(hashingAlgorithmIc).HashingAlgorithmIe(hashingAlgorithmIe).HashingAlgorithmIew(hashingAlgorithmIew).HashingAlgorithmIre(hashingAlgorithmIre).HashingAlgorithmIsw(hashingAlgorithmIsw).HashingAlgorithmN(hashingAlgorithmN).HashingAlgorithmNic(hashingAlgorithmNic).HashingAlgorithmNie(hashingAlgorithmNie).HashingAlgorithmNiew(hashingAlgorithmNiew).HashingAlgorithmNire(hashingAlgorithmNire).HashingAlgorithmNisw(hashingAlgorithmNisw).HashingAlgorithmNre(hashingAlgorithmNre).HashingAlgorithmRe(hashingAlgorithmRe).Id(id).IdN(idN).ImageFileChecksum(imageFileChecksum).ImageFileChecksumIc(imageFileChecksumIc).ImageFileChecksumIe(imageFileChecksumIe).ImageFileChecksumIew(imageFileChecksumIew).ImageFileChecksumIre(imageFileChecksumIre).ImageFileChecksumIsw(imageFileChecksumIsw).ImageFileChecksumN(imageFileChecksumN).ImageFileChecksumNic(imageFileChecksumNic).ImageFileChecksumNie(imageFileChecksumNie).ImageFileChecksumNiew(imageFileChecksumNiew).ImageFileChecksumNire(imageFileChecksumNire).ImageFileChecksumNisw(imageFileChecksumNisw).ImageFileChecksumNre(imageFileChecksumNre).ImageFileChecksumRe(imageFileChecksumRe).ImageFileName(imageFileName).ImageFileNameIc(imageFileNameIc).ImageFileNameIe(imageFileNameIe).ImageFileNameIew(imageFileNameIew).ImageFileNameIre(imageFileNameIre).ImageFileNameIsw(imageFileNameIsw).ImageFileNameN(imageFileNameN).ImageFileNameNic(imageFileNameNic).ImageFileNameNie(imageFileNameNie).ImageFileNameNiew(imageFileNameNiew).ImageFileNameNire(imageFileNameNire).ImageFileNameNisw(imageFileNameNisw).ImageFileNameNre(imageFileNameNre).ImageFileNameRe(imageFileNameRe).ImageFileSize(imageFileSize).ImageFileSizeGt(imageFileSizeGt).ImageFileSizeGte(imageFileSizeGte).ImageFileSizeIsnull(imageFileSizeIsnull).ImageFileSizeLt(imageFileSizeLt).ImageFileSizeLte(imageFileSizeLte).ImageFileSizeN(imageFileSizeN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Offset(offset).Q(q).SoftwareVersion(softwareVersion).SoftwareVersionN(softwareVersionN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -40938,127 +41701,134 @@ import (
"context"
"fmt"
"os"
+ "time"
openapiclient "github.com/nautobot/go-nautobot/v2"
)
func main() {
- cable := []string{"Inner_example"} // []string | Cable (optional)
- cableIsnull := true // bool | (optional)
- cableN := []string{"Inner_example"} // []string | Cable (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
- description := []string{"Inner_example"} // []string | (optional)
- descriptionIc := []string{"Inner_example"} // []string | (optional)
- descriptionIe := []string{"Inner_example"} // []string | (optional)
- descriptionIew := []string{"Inner_example"} // []string | (optional)
- descriptionIre := []string{"Inner_example"} // []string | (optional)
- descriptionIsw := []string{"Inner_example"} // []string | (optional)
- descriptionN := []string{"Inner_example"} // []string | (optional)
- descriptionNic := []string{"Inner_example"} // []string | (optional)
- descriptionNie := []string{"Inner_example"} // []string | (optional)
- descriptionNiew := []string{"Inner_example"} // []string | (optional)
- descriptionNire := []string{"Inner_example"} // []string | (optional)
- descriptionNisw := []string{"Inner_example"} // []string | (optional)
- descriptionNre := []string{"Inner_example"} // []string | (optional)
- descriptionRe := []string{"Inner_example"} // []string | (optional)
- device := []string{"Inner_example"} // []string | (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
+ created := []time.Time{time.Now()} // []time.Time | (optional)
+ createdGt := []time.Time{time.Now()} // []time.Time | (optional)
+ createdGte := []time.Time{time.Now()} // []time.Time | (optional)
+ createdIsnull := true // bool | (optional)
+ createdLt := []time.Time{time.Now()} // []time.Time | (optional)
+ createdLte := []time.Time{time.Now()} // []time.Time | (optional)
+ createdN := []time.Time{time.Now()} // []time.Time | (optional)
+ defaultImage := true // bool | Is default image for associated software version (optional)
+ deviceTypes := []string{"Inner_example"} // []string | (optional)
+ deviceTypesIsnull := true // bool | Device types (model or ID) is null (optional)
+ deviceTypesN := []string{"Inner_example"} // []string | (optional)
+ devices := []string{"Inner_example"} // []string | (optional)
+ devicesIsnull := true // bool | Devices (name or ID) is null (optional)
+ devicesN := []string{"Inner_example"} // []string | (optional)
+ downloadUrl := []string{"Inner_example"} // []string | (optional)
+ downloadUrlIc := []string{"Inner_example"} // []string | (optional)
+ downloadUrlIe := []string{"Inner_example"} // []string | (optional)
+ downloadUrlIew := []string{"Inner_example"} // []string | (optional)
+ downloadUrlIre := []string{"Inner_example"} // []string | (optional)
+ downloadUrlIsw := []string{"Inner_example"} // []string | (optional)
+ downloadUrlN := []string{"Inner_example"} // []string | (optional)
+ downloadUrlNic := []string{"Inner_example"} // []string | (optional)
+ downloadUrlNie := []string{"Inner_example"} // []string | (optional)
+ downloadUrlNiew := []string{"Inner_example"} // []string | (optional)
+ downloadUrlNire := []string{"Inner_example"} // []string | (optional)
+ downloadUrlNisw := []string{"Inner_example"} // []string | (optional)
+ downloadUrlNre := []string{"Inner_example"} // []string | (optional)
+ downloadUrlRe := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
+ externalIntegration := []string{"Inner_example"} // []string | (optional)
+ externalIntegrationIsnull := true // bool | External integration (name or ID) is null (optional)
+ externalIntegrationN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- frontPorts := []string{"Inner_example"} // []string | (optional)
- frontPortsIsnull := true // bool | Front ports (name or ID) is null (optional)
- frontPortsN := []string{"Inner_example"} // []string | (optional)
- hasCable := true // bool | Has cable (optional)
- hasFrontPorts := true // bool | Has front ports (optional)
+ hasDeviceTypes := true // bool | Has device types (optional)
+ hasDevices := true // bool | Has devices (optional)
+ hashingAlgorithm := []string{"Inner_example"} // []string | Hashing algorithm for image file checksum (optional)
+ hashingAlgorithmIc := []string{"Inner_example"} // []string | (optional)
+ hashingAlgorithmIe := []string{"Inner_example"} // []string | (optional)
+ hashingAlgorithmIew := []string{"Inner_example"} // []string | (optional)
+ hashingAlgorithmIre := []string{"Inner_example"} // []string | (optional)
+ hashingAlgorithmIsw := []string{"Inner_example"} // []string | (optional)
+ hashingAlgorithmN := []string{"Inner_example"} // []string | (optional)
+ hashingAlgorithmNic := []string{"Inner_example"} // []string | (optional)
+ hashingAlgorithmNie := []string{"Inner_example"} // []string | (optional)
+ hashingAlgorithmNiew := []string{"Inner_example"} // []string | (optional)
+ hashingAlgorithmNire := []string{"Inner_example"} // []string | (optional)
+ hashingAlgorithmNisw := []string{"Inner_example"} // []string | (optional)
+ hashingAlgorithmNre := []string{"Inner_example"} // []string | (optional)
+ hashingAlgorithmRe := []string{"Inner_example"} // []string | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
- label := []string{"Inner_example"} // []string | (optional)
- labelIc := []string{"Inner_example"} // []string | (optional)
- labelIe := []string{"Inner_example"} // []string | (optional)
- labelIew := []string{"Inner_example"} // []string | (optional)
- labelIre := []string{"Inner_example"} // []string | (optional)
- labelIsw := []string{"Inner_example"} // []string | (optional)
- labelN := []string{"Inner_example"} // []string | (optional)
- labelNic := []string{"Inner_example"} // []string | (optional)
- labelNie := []string{"Inner_example"} // []string | (optional)
- labelNiew := []string{"Inner_example"} // []string | (optional)
- labelNire := []string{"Inner_example"} // []string | (optional)
- labelNisw := []string{"Inner_example"} // []string | (optional)
- labelNre := []string{"Inner_example"} // []string | (optional)
- labelRe := []string{"Inner_example"} // []string | (optional)
+ imageFileChecksum := []string{"Inner_example"} // []string | (optional)
+ imageFileChecksumIc := []string{"Inner_example"} // []string | (optional)
+ imageFileChecksumIe := []string{"Inner_example"} // []string | (optional)
+ imageFileChecksumIew := []string{"Inner_example"} // []string | (optional)
+ imageFileChecksumIre := []string{"Inner_example"} // []string | (optional)
+ imageFileChecksumIsw := []string{"Inner_example"} // []string | (optional)
+ imageFileChecksumN := []string{"Inner_example"} // []string | (optional)
+ imageFileChecksumNic := []string{"Inner_example"} // []string | (optional)
+ imageFileChecksumNie := []string{"Inner_example"} // []string | (optional)
+ imageFileChecksumNiew := []string{"Inner_example"} // []string | (optional)
+ imageFileChecksumNire := []string{"Inner_example"} // []string | (optional)
+ imageFileChecksumNisw := []string{"Inner_example"} // []string | (optional)
+ imageFileChecksumNre := []string{"Inner_example"} // []string | (optional)
+ imageFileChecksumRe := []string{"Inner_example"} // []string | (optional)
+ imageFileName := []string{"Inner_example"} // []string | (optional)
+ imageFileNameIc := []string{"Inner_example"} // []string | (optional)
+ imageFileNameIe := []string{"Inner_example"} // []string | (optional)
+ imageFileNameIew := []string{"Inner_example"} // []string | (optional)
+ imageFileNameIre := []string{"Inner_example"} // []string | (optional)
+ imageFileNameIsw := []string{"Inner_example"} // []string | (optional)
+ imageFileNameN := []string{"Inner_example"} // []string | (optional)
+ imageFileNameNic := []string{"Inner_example"} // []string | (optional)
+ imageFileNameNie := []string{"Inner_example"} // []string | (optional)
+ imageFileNameNiew := []string{"Inner_example"} // []string | (optional)
+ imageFileNameNire := []string{"Inner_example"} // []string | (optional)
+ imageFileNameNisw := []string{"Inner_example"} // []string | (optional)
+ imageFileNameNre := []string{"Inner_example"} // []string | (optional)
+ imageFileNameRe := []string{"Inner_example"} // []string | (optional)
+ imageFileSize := []int32{int32(123)} // []int32 | (optional)
+ imageFileSizeGt := []int32{int32(123)} // []int32 | (optional)
+ imageFileSizeGte := []int32{int32(123)} // []int32 | (optional)
+ imageFileSizeIsnull := true // bool | (optional)
+ imageFileSizeLt := []int32{int32(123)} // []int32 | (optional)
+ imageFileSizeLte := []int32{int32(123)} // []int32 | (optional)
+ imageFileSizeN := []int32{int32(123)} // []int32 | (optional)
+ lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedIsnull := true // bool | (optional)
+ lastUpdatedLt := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedLte := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedN := []time.Time{time.Now()} // []time.Time | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
- location := []string{"Inner_example"} // []string | (optional)
- locationN := []string{"Inner_example"} // []string | (optional)
- module := []string{"Inner_example"} // []string | (optional)
- moduleIsnull := true // bool | Module (model or ID) is null (optional)
- moduleN := []string{"Inner_example"} // []string | (optional)
- name := []string{"Inner_example"} // []string | (optional)
- nameIc := []string{"Inner_example"} // []string | (optional)
- nameIe := []string{"Inner_example"} // []string | (optional)
- nameIew := []string{"Inner_example"} // []string | (optional)
- nameIre := []string{"Inner_example"} // []string | (optional)
- nameIsw := []string{"Inner_example"} // []string | (optional)
- nameN := []string{"Inner_example"} // []string | (optional)
- nameNic := []string{"Inner_example"} // []string | (optional)
- nameNie := []string{"Inner_example"} // []string | (optional)
- nameNiew := []string{"Inner_example"} // []string | (optional)
- nameNire := []string{"Inner_example"} // []string | (optional)
- nameNisw := []string{"Inner_example"} // []string | (optional)
- nameNre := []string{"Inner_example"} // []string | (optional)
- nameRe := []string{"Inner_example"} // []string | (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- positions := []int32{int32(123)} // []int32 | (optional)
- positionsGt := []int32{int32(123)} // []int32 | (optional)
- positionsGte := []int32{int32(123)} // []int32 | (optional)
- positionsLt := []int32{int32(123)} // []int32 | (optional)
- positionsLte := []int32{int32(123)} // []int32 | (optional)
- positionsN := []int32{int32(123)} // []int32 | (optional)
q := "q_example" // string | Search (optional)
+ softwareVersion := []string{"Inner_example"} // []string | (optional)
+ softwareVersionN := []string{"Inner_example"} // []string | (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
+ status := []string{"Inner_example"} // []string | (optional)
+ statusN := []string{"Inner_example"} // []string | (optional)
tags := []string{"Inner_example"} // []string | (optional)
tagsIsnull := true // bool | (optional)
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
- type_ := []string{"Inner_example"} // []string | (optional)
- typeIc := []string{"Inner_example"} // []string | (optional)
- typeIe := []string{"Inner_example"} // []string | (optional)
- typeIew := []string{"Inner_example"} // []string | (optional)
- typeIre := []string{"Inner_example"} // []string | (optional)
- typeIsw := []string{"Inner_example"} // []string | (optional)
- typeN := []string{"Inner_example"} // []string | (optional)
- typeNic := []string{"Inner_example"} // []string | (optional)
- typeNie := []string{"Inner_example"} // []string | (optional)
- typeNiew := []string{"Inner_example"} // []string | (optional)
- typeNire := []string{"Inner_example"} // []string | (optional)
- typeNisw := []string{"Inner_example"} // []string | (optional)
- typeNre := []string{"Inner_example"} // []string | (optional)
- typeRe := []string{"Inner_example"} // []string | (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRearPortsList(context.Background()).Cable(cable).CableIsnull(cableIsnull).CableN(cableN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).FrontPorts(frontPorts).FrontPortsIsnull(frontPortsIsnull).FrontPortsN(frontPortsN).HasCable(hasCable).HasFrontPorts(hasFrontPorts).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Location(location).LocationN(locationN).Module(module).ModuleIsnull(moduleIsnull).ModuleN(moduleN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Positions(positions).PositionsGt(positionsGt).PositionsGte(positionsGte).PositionsLt(positionsLt).PositionsLte(positionsLte).PositionsN(positionsN).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimSoftwareImageFilesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DefaultImage(defaultImage).DeviceTypes(deviceTypes).DeviceTypesIsnull(deviceTypesIsnull).DeviceTypesN(deviceTypesN).Devices(devices).DevicesIsnull(devicesIsnull).DevicesN(devicesN).DownloadUrl(downloadUrl).DownloadUrlIc(downloadUrlIc).DownloadUrlIe(downloadUrlIe).DownloadUrlIew(downloadUrlIew).DownloadUrlIre(downloadUrlIre).DownloadUrlIsw(downloadUrlIsw).DownloadUrlN(downloadUrlN).DownloadUrlNic(downloadUrlNic).DownloadUrlNie(downloadUrlNie).DownloadUrlNiew(downloadUrlNiew).DownloadUrlNire(downloadUrlNire).DownloadUrlNisw(downloadUrlNisw).DownloadUrlNre(downloadUrlNre).DownloadUrlRe(downloadUrlRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).ExternalIntegration(externalIntegration).ExternalIntegrationIsnull(externalIntegrationIsnull).ExternalIntegrationN(externalIntegrationN).Format(format).HasDeviceTypes(hasDeviceTypes).HasDevices(hasDevices).HashingAlgorithm(hashingAlgorithm).HashingAlgorithmIc(hashingAlgorithmIc).HashingAlgorithmIe(hashingAlgorithmIe).HashingAlgorithmIew(hashingAlgorithmIew).HashingAlgorithmIre(hashingAlgorithmIre).HashingAlgorithmIsw(hashingAlgorithmIsw).HashingAlgorithmN(hashingAlgorithmN).HashingAlgorithmNic(hashingAlgorithmNic).HashingAlgorithmNie(hashingAlgorithmNie).HashingAlgorithmNiew(hashingAlgorithmNiew).HashingAlgorithmNire(hashingAlgorithmNire).HashingAlgorithmNisw(hashingAlgorithmNisw).HashingAlgorithmNre(hashingAlgorithmNre).HashingAlgorithmRe(hashingAlgorithmRe).Id(id).IdN(idN).ImageFileChecksum(imageFileChecksum).ImageFileChecksumIc(imageFileChecksumIc).ImageFileChecksumIe(imageFileChecksumIe).ImageFileChecksumIew(imageFileChecksumIew).ImageFileChecksumIre(imageFileChecksumIre).ImageFileChecksumIsw(imageFileChecksumIsw).ImageFileChecksumN(imageFileChecksumN).ImageFileChecksumNic(imageFileChecksumNic).ImageFileChecksumNie(imageFileChecksumNie).ImageFileChecksumNiew(imageFileChecksumNiew).ImageFileChecksumNire(imageFileChecksumNire).ImageFileChecksumNisw(imageFileChecksumNisw).ImageFileChecksumNre(imageFileChecksumNre).ImageFileChecksumRe(imageFileChecksumRe).ImageFileName(imageFileName).ImageFileNameIc(imageFileNameIc).ImageFileNameIe(imageFileNameIe).ImageFileNameIew(imageFileNameIew).ImageFileNameIre(imageFileNameIre).ImageFileNameIsw(imageFileNameIsw).ImageFileNameN(imageFileNameN).ImageFileNameNic(imageFileNameNic).ImageFileNameNie(imageFileNameNie).ImageFileNameNiew(imageFileNameNiew).ImageFileNameNire(imageFileNameNire).ImageFileNameNisw(imageFileNameNisw).ImageFileNameNre(imageFileNameNre).ImageFileNameRe(imageFileNameRe).ImageFileSize(imageFileSize).ImageFileSizeGt(imageFileSizeGt).ImageFileSizeGte(imageFileSizeGte).ImageFileSizeIsnull(imageFileSizeIsnull).ImageFileSizeLt(imageFileSizeLt).ImageFileSizeLte(imageFileSizeLte).ImageFileSizeN(imageFileSizeN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Offset(offset).Q(q).SoftwareVersion(softwareVersion).SoftwareVersionN(softwareVersionN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortsList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareImageFilesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRearPortsList`: PaginatedRearPortList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortsList`: %v\n", resp)
+ // response from `DcimSoftwareImageFilesList`: PaginatedSoftwareImageFileList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareImageFilesList`: %v\n", resp)
}
```
@@ -41068,122 +41838,128 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRearPortsListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimSoftwareImageFilesListRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **cable** | **[]string** | Cable |
- **cableIsnull** | **bool** | |
- **cableN** | **[]string** | Cable |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
- **description** | **[]string** | |
- **descriptionIc** | **[]string** | |
- **descriptionIe** | **[]string** | |
- **descriptionIew** | **[]string** | |
- **descriptionIre** | **[]string** | |
- **descriptionIsw** | **[]string** | |
- **descriptionN** | **[]string** | |
- **descriptionNic** | **[]string** | |
- **descriptionNie** | **[]string** | |
- **descriptionNiew** | **[]string** | |
- **descriptionNire** | **[]string** | |
- **descriptionNisw** | **[]string** | |
- **descriptionNre** | **[]string** | |
- **descriptionRe** | **[]string** | |
- **device** | **[]string** | |
+ **contactsN** | **[]string** | |
+ **created** | [**[]time.Time**](time.Time.md) | |
+ **createdGt** | [**[]time.Time**](time.Time.md) | |
+ **createdGte** | [**[]time.Time**](time.Time.md) | |
+ **createdIsnull** | **bool** | |
+ **createdLt** | [**[]time.Time**](time.Time.md) | |
+ **createdLte** | [**[]time.Time**](time.Time.md) | |
+ **createdN** | [**[]time.Time**](time.Time.md) | |
+ **defaultImage** | **bool** | Is default image for associated software version |
+ **deviceTypes** | **[]string** | |
+ **deviceTypesIsnull** | **bool** | Device types (model or ID) is null |
+ **deviceTypesN** | **[]string** | |
+ **devices** | **[]string** | |
+ **devicesIsnull** | **bool** | Devices (name or ID) is null |
+ **devicesN** | **[]string** | |
+ **downloadUrl** | **[]string** | |
+ **downloadUrlIc** | **[]string** | |
+ **downloadUrlIe** | **[]string** | |
+ **downloadUrlIew** | **[]string** | |
+ **downloadUrlIre** | **[]string** | |
+ **downloadUrlIsw** | **[]string** | |
+ **downloadUrlN** | **[]string** | |
+ **downloadUrlNic** | **[]string** | |
+ **downloadUrlNie** | **[]string** | |
+ **downloadUrlNiew** | **[]string** | |
+ **downloadUrlNire** | **[]string** | |
+ **downloadUrlNisw** | **[]string** | |
+ **downloadUrlNre** | **[]string** | |
+ **downloadUrlRe** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
+ **externalIntegration** | **[]string** | |
+ **externalIntegrationIsnull** | **bool** | External integration (name or ID) is null |
+ **externalIntegrationN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **frontPorts** | **[]string** | |
- **frontPortsIsnull** | **bool** | Front ports (name or ID) is null |
- **frontPortsN** | **[]string** | |
- **hasCable** | **bool** | Has cable |
- **hasFrontPorts** | **bool** | Has front ports |
+ **hasDeviceTypes** | **bool** | Has device types |
+ **hasDevices** | **bool** | Has devices |
+ **hashingAlgorithm** | **[]string** | Hashing algorithm for image file checksum |
+ **hashingAlgorithmIc** | **[]string** | |
+ **hashingAlgorithmIe** | **[]string** | |
+ **hashingAlgorithmIew** | **[]string** | |
+ **hashingAlgorithmIre** | **[]string** | |
+ **hashingAlgorithmIsw** | **[]string** | |
+ **hashingAlgorithmN** | **[]string** | |
+ **hashingAlgorithmNic** | **[]string** | |
+ **hashingAlgorithmNie** | **[]string** | |
+ **hashingAlgorithmNiew** | **[]string** | |
+ **hashingAlgorithmNire** | **[]string** | |
+ **hashingAlgorithmNisw** | **[]string** | |
+ **hashingAlgorithmNre** | **[]string** | |
+ **hashingAlgorithmRe** | **[]string** | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
- **label** | **[]string** | |
- **labelIc** | **[]string** | |
- **labelIe** | **[]string** | |
- **labelIew** | **[]string** | |
- **labelIre** | **[]string** | |
- **labelIsw** | **[]string** | |
- **labelN** | **[]string** | |
- **labelNic** | **[]string** | |
- **labelNie** | **[]string** | |
- **labelNiew** | **[]string** | |
- **labelNire** | **[]string** | |
- **labelNisw** | **[]string** | |
- **labelNre** | **[]string** | |
- **labelRe** | **[]string** | |
+ **imageFileChecksum** | **[]string** | |
+ **imageFileChecksumIc** | **[]string** | |
+ **imageFileChecksumIe** | **[]string** | |
+ **imageFileChecksumIew** | **[]string** | |
+ **imageFileChecksumIre** | **[]string** | |
+ **imageFileChecksumIsw** | **[]string** | |
+ **imageFileChecksumN** | **[]string** | |
+ **imageFileChecksumNic** | **[]string** | |
+ **imageFileChecksumNie** | **[]string** | |
+ **imageFileChecksumNiew** | **[]string** | |
+ **imageFileChecksumNire** | **[]string** | |
+ **imageFileChecksumNisw** | **[]string** | |
+ **imageFileChecksumNre** | **[]string** | |
+ **imageFileChecksumRe** | **[]string** | |
+ **imageFileName** | **[]string** | |
+ **imageFileNameIc** | **[]string** | |
+ **imageFileNameIe** | **[]string** | |
+ **imageFileNameIew** | **[]string** | |
+ **imageFileNameIre** | **[]string** | |
+ **imageFileNameIsw** | **[]string** | |
+ **imageFileNameN** | **[]string** | |
+ **imageFileNameNic** | **[]string** | |
+ **imageFileNameNie** | **[]string** | |
+ **imageFileNameNiew** | **[]string** | |
+ **imageFileNameNire** | **[]string** | |
+ **imageFileNameNisw** | **[]string** | |
+ **imageFileNameNre** | **[]string** | |
+ **imageFileNameRe** | **[]string** | |
+ **imageFileSize** | **[]int32** | |
+ **imageFileSizeGt** | **[]int32** | |
+ **imageFileSizeGte** | **[]int32** | |
+ **imageFileSizeIsnull** | **bool** | |
+ **imageFileSizeLt** | **[]int32** | |
+ **imageFileSizeLte** | **[]int32** | |
+ **imageFileSizeN** | **[]int32** | |
+ **lastUpdated** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedIsnull** | **bool** | |
+ **lastUpdatedLt** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedLte** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedN** | [**[]time.Time**](time.Time.md) | |
**limit** | **int32** | Number of results to return per page. |
- **location** | **[]string** | |
- **locationN** | **[]string** | |
- **module** | **[]string** | |
- **moduleIsnull** | **bool** | Module (model or ID) is null |
- **moduleN** | **[]string** | |
- **name** | **[]string** | |
- **nameIc** | **[]string** | |
- **nameIe** | **[]string** | |
- **nameIew** | **[]string** | |
- **nameIre** | **[]string** | |
- **nameIsw** | **[]string** | |
- **nameN** | **[]string** | |
- **nameNic** | **[]string** | |
- **nameNie** | **[]string** | |
- **nameNiew** | **[]string** | |
- **nameNire** | **[]string** | |
- **nameNisw** | **[]string** | |
- **nameNre** | **[]string** | |
- **nameRe** | **[]string** | |
**offset** | **int32** | The initial index from which to return the results. |
- **positions** | **[]int32** | |
- **positionsGt** | **[]int32** | |
- **positionsGte** | **[]int32** | |
- **positionsLt** | **[]int32** | |
- **positionsLte** | **[]int32** | |
- **positionsN** | **[]int32** | |
**q** | **string** | Search |
+ **softwareVersion** | **[]string** | |
+ **softwareVersionN** | **[]string** | |
**sort** | **string** | Which field to use when ordering the results. |
+ **status** | **[]string** | |
+ **statusN** | **[]string** | |
**tags** | **[]string** | |
**tagsIsnull** | **bool** | |
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
- **type_** | **[]string** | |
- **typeIc** | **[]string** | |
- **typeIe** | **[]string** | |
- **typeIew** | **[]string** | |
- **typeIre** | **[]string** | |
- **typeIsw** | **[]string** | |
- **typeN** | **[]string** | |
- **typeNic** | **[]string** | |
- **typeNie** | **[]string** | |
- **typeNiew** | **[]string** | |
- **typeNire** | **[]string** | |
- **typeNisw** | **[]string** | |
- **typeNre** | **[]string** | |
- **typeRe** | **[]string** | |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PaginatedRearPortList**](PaginatedRearPortList.md)
+[**PaginatedSoftwareImageFileList**](PaginatedSoftwareImageFileList.md)
### Authorization
@@ -41199,9 +41975,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRearPortsNotesCreate
+## DcimSoftwareImageFilesNotesCreate
-> Note DcimRearPortsNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+> Note DcimSoftwareImageFilesNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
@@ -41220,95 +41996,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rear port.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this software image file.
noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRearPortsNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortsNotesCreate``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `DcimRearPortsNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortsNotesCreate`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rear port. |
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiDcimRearPortsNotesCreateRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-
- **noteInputRequest** | [**NoteInputRequest**](NoteInputRequest.md) | |
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
-
-### Return type
-
-[**Note**](Note.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: application/json, text/csv
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## DcimRearPortsNotesList
-
-> PaginatedNoteList DcimRearPortsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rear port.
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- limit := int32(56) // int32 | Number of results to return per page. (optional)
- offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRearPortsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimSoftwareImageFilesNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortsNotesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareImageFilesNotesCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRearPortsNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortsNotesList`: %v\n", resp)
+ // response from `DcimSoftwareImageFilesNotesCreate`: Note
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareImageFilesNotesCreate`: %v\n", resp)
}
```
@@ -41318,24 +42018,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rear port. |
+**id** | **string** | A UUID string identifying this software image file. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRearPortsNotesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimSoftwareImageFilesNotesCreateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
+ **noteInputRequest** | [**NoteInputRequest**](NoteInputRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **limit** | **int32** | Number of results to return per page. |
- **offset** | **int32** | The initial index from which to return the results. |
- **depth** | **int32** | Serializer Depth | [default to 1]
### Return type
-[**PaginatedNoteList**](PaginatedNoteList.md)
+[**Note**](Note.md)
### Authorization
@@ -41343,7 +42041,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: Not defined
+- **Content-Type**: application/json, text/csv
- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -41351,9 +42049,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRearPortsPartialUpdate
+## DcimSoftwareImageFilesNotesList
-> RearPort DcimRearPortsPartialUpdate(ctx, id).Format(format).PatchedWritableRearPortRequest(patchedWritableRearPortRequest).Execute()
+> PaginatedNoteList DcimSoftwareImageFilesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -41372,19 +42070,22 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rear port.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this software image file.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- patchedWritableRearPortRequest := *openapiclient.NewPatchedWritableRearPortRequest() // PatchedWritableRearPortRequest | (optional)
+ limit := int32(56) // int32 | Number of results to return per page. (optional)
+ offset := int32(56) // int32 | The initial index from which to return the results. (optional)
+ depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRearPortsPartialUpdate(context.Background(), id).Format(format).PatchedWritableRearPortRequest(patchedWritableRearPortRequest).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimSoftwareImageFilesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortsPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareImageFilesNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRearPortsPartialUpdate`: RearPort
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortsPartialUpdate`: %v\n", resp)
+ // response from `DcimSoftwareImageFilesNotesList`: PaginatedNoteList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareImageFilesNotesList`: %v\n", resp)
}
```
@@ -41394,22 +42095,25 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rear port. |
+**id** | **string** | A UUID string identifying this software image file. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRearPortsPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimSoftwareImageFilesNotesListRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **patchedWritableRearPortRequest** | [**PatchedWritableRearPortRequest**](PatchedWritableRearPortRequest.md) | |
+ **limit** | **int32** | Number of results to return per page. |
+ **offset** | **int32** | The initial index from which to return the results. |
+ **depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**RearPort**](RearPort.md)
+[**PaginatedNoteList**](PaginatedNoteList.md)
### Authorization
@@ -41417,7 +42121,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: application/json, text/csv
+- **Content-Type**: Not defined
- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -41425,9 +42129,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRearPortsPathsList
+## DcimSoftwareImageFilesPartialUpdate
-> PaginatedCablePathList DcimRearPortsPathsList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> SoftwareImageFile DcimSoftwareImageFilesPartialUpdate(ctx, id).Format(format).PatchedSoftwareImageFileRequest(patchedSoftwareImageFileRequest).Execute()
@@ -41446,21 +42150,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rear port.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this software image file.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- limit := int32(56) // int32 | Number of results to return per page. (optional)
- offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ patchedSoftwareImageFileRequest := *openapiclient.NewPatchedSoftwareImageFileRequest() // PatchedSoftwareImageFileRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRearPortsPathsList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimSoftwareImageFilesPartialUpdate(context.Background(), id).Format(format).PatchedSoftwareImageFileRequest(patchedSoftwareImageFileRequest).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortsPathsList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareImageFilesPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRearPortsPathsList`: PaginatedCablePathList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortsPathsList`: %v\n", resp)
+ // response from `DcimSoftwareImageFilesPartialUpdate`: SoftwareImageFile
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareImageFilesPartialUpdate`: %v\n", resp)
}
```
@@ -41470,24 +42172,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rear port. |
+**id** | **string** | A UUID string identifying this software image file. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRearPortsPathsListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimSoftwareImageFilesPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **limit** | **int32** | Number of results to return per page. |
- **offset** | **int32** | The initial index from which to return the results. |
- **depth** | **int32** | Serializer Depth | [default to 1]
+ **patchedSoftwareImageFileRequest** | [**PatchedSoftwareImageFileRequest**](PatchedSoftwareImageFileRequest.md) | |
### Return type
-[**PaginatedCablePathList**](PaginatedCablePathList.md)
+[**SoftwareImageFile**](SoftwareImageFile.md)
### Authorization
@@ -41495,7 +42195,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: Not defined
+- **Content-Type**: application/json, text/csv
- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -41503,9 +42203,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRearPortsRetrieve
+## DcimSoftwareImageFilesRetrieve
-> RearPort DcimRearPortsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> SoftwareImageFile DcimSoftwareImageFilesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -41524,19 +42224,20 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rear port.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this software image file.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRearPortsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimSoftwareImageFilesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortsRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareImageFilesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRearPortsRetrieve`: RearPort
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortsRetrieve`: %v\n", resp)
+ // response from `DcimSoftwareImageFilesRetrieve`: SoftwareImageFile
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareImageFilesRetrieve`: %v\n", resp)
}
```
@@ -41546,11 +42247,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rear port. |
+**id** | **string** | A UUID string identifying this software image file. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRearPortsRetrieveRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimSoftwareImageFilesRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -41558,10 +42259,11 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**RearPort**](RearPort.md)
+[**SoftwareImageFile**](SoftwareImageFile.md)
### Authorization
@@ -41577,9 +42279,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimRearPortsUpdate
+## DcimSoftwareImageFilesUpdate
-> RearPort DcimRearPortsUpdate(ctx, id).WritableRearPortRequest(writableRearPortRequest).Format(format).Execute()
+> SoftwareImageFile DcimSoftwareImageFilesUpdate(ctx, id).SoftwareImageFileRequest(softwareImageFileRequest).Format(format).Execute()
@@ -41598,19 +42300,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this rear port.
- writableRearPortRequest := *openapiclient.NewWritableRearPortRequest("Name_example", openapiclient.PortTypeChoices("8p8c")) // WritableRearPortRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this software image file.
+ softwareImageFileRequest := *openapiclient.NewSoftwareImageFileRequest("ImageFileName_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // SoftwareImageFileRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimRearPortsUpdate(context.Background(), id).WritableRearPortRequest(writableRearPortRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimSoftwareImageFilesUpdate(context.Background(), id).SoftwareImageFileRequest(softwareImageFileRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimRearPortsUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareImageFilesUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimRearPortsUpdate`: RearPort
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimRearPortsUpdate`: %v\n", resp)
+ // response from `DcimSoftwareImageFilesUpdate`: SoftwareImageFile
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareImageFilesUpdate`: %v\n", resp)
}
```
@@ -41620,22 +42322,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this rear port. |
+**id** | **string** | A UUID string identifying this software image file. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimRearPortsUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimSoftwareImageFilesUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **writableRearPortRequest** | [**WritableRearPortRequest**](WritableRearPortRequest.md) | |
+ **softwareImageFileRequest** | [**SoftwareImageFileRequest**](SoftwareImageFileRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**RearPort**](RearPort.md)
+[**SoftwareImageFile**](SoftwareImageFile.md)
### Authorization
@@ -41651,9 +42353,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimSoftwareImageFilesBulkDestroy
+## DcimSoftwareVersionsBulkDestroy
-> DcimSoftwareImageFilesBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+> DcimSoftwareVersionsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
@@ -41677,9 +42379,9 @@ func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimSoftwareImageFilesBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimSoftwareVersionsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareImageFilesBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareVersionsBulkDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -41691,7 +42393,7 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimSoftwareImageFilesBulkDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimSoftwareVersionsBulkDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -41717,9 +42419,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimSoftwareImageFilesBulkPartialUpdate
+## DcimSoftwareVersionsBulkPartialUpdate
-> []SoftwareImageFile DcimSoftwareImageFilesBulkPartialUpdate(ctx).PatchedBulkWritableSoftwareImageFileRequest(patchedBulkWritableSoftwareImageFileRequest).Format(format).Execute()
+> []SoftwareVersion DcimSoftwareVersionsBulkPartialUpdate(ctx).PatchedBulkWritableSoftwareVersionRequest(patchedBulkWritableSoftwareVersionRequest).Format(format).Execute()
@@ -41738,18 +42440,18 @@ import (
)
func main() {
- patchedBulkWritableSoftwareImageFileRequest := []openapiclient.PatchedBulkWritableSoftwareImageFileRequest{*openapiclient.NewPatchedBulkWritableSoftwareImageFileRequest("Id_example")} // []PatchedBulkWritableSoftwareImageFileRequest |
+ patchedBulkWritableSoftwareVersionRequest := []openapiclient.PatchedBulkWritableSoftwareVersionRequest{*openapiclient.NewPatchedBulkWritableSoftwareVersionRequest("Id_example")} // []PatchedBulkWritableSoftwareVersionRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimSoftwareImageFilesBulkPartialUpdate(context.Background()).PatchedBulkWritableSoftwareImageFileRequest(patchedBulkWritableSoftwareImageFileRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimSoftwareVersionsBulkPartialUpdate(context.Background()).PatchedBulkWritableSoftwareVersionRequest(patchedBulkWritableSoftwareVersionRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareImageFilesBulkPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareVersionsBulkPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimSoftwareImageFilesBulkPartialUpdate`: []SoftwareImageFile
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareImageFilesBulkPartialUpdate`: %v\n", resp)
+ // response from `DcimSoftwareVersionsBulkPartialUpdate`: []SoftwareVersion
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareVersionsBulkPartialUpdate`: %v\n", resp)
}
```
@@ -41759,17 +42461,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimSoftwareImageFilesBulkPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimSoftwareVersionsBulkPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **patchedBulkWritableSoftwareImageFileRequest** | [**[]PatchedBulkWritableSoftwareImageFileRequest**](PatchedBulkWritableSoftwareImageFileRequest.md) | |
+ **patchedBulkWritableSoftwareVersionRequest** | [**[]PatchedBulkWritableSoftwareVersionRequest**](PatchedBulkWritableSoftwareVersionRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]SoftwareImageFile**](SoftwareImageFile.md)
+[**[]SoftwareVersion**](SoftwareVersion.md)
### Authorization
@@ -41785,9 +42487,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimSoftwareImageFilesBulkUpdate
+## DcimSoftwareVersionsBulkUpdate
-> []SoftwareImageFile DcimSoftwareImageFilesBulkUpdate(ctx).BulkWritableSoftwareImageFileRequest(bulkWritableSoftwareImageFileRequest).Format(format).Execute()
+> []SoftwareVersion DcimSoftwareVersionsBulkUpdate(ctx).BulkWritableSoftwareVersionRequest(bulkWritableSoftwareVersionRequest).Format(format).Execute()
@@ -41806,18 +42508,18 @@ import (
)
func main() {
- bulkWritableSoftwareImageFileRequest := []openapiclient.BulkWritableSoftwareImageFileRequest{*openapiclient.NewBulkWritableSoftwareImageFileRequest("Id_example", "ImageFileName_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritableSoftwareImageFileRequest |
+ bulkWritableSoftwareVersionRequest := []openapiclient.BulkWritableSoftwareVersionRequest{*openapiclient.NewBulkWritableSoftwareVersionRequest("Id_example", "Version_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritableSoftwareVersionRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimSoftwareImageFilesBulkUpdate(context.Background()).BulkWritableSoftwareImageFileRequest(bulkWritableSoftwareImageFileRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimSoftwareVersionsBulkUpdate(context.Background()).BulkWritableSoftwareVersionRequest(bulkWritableSoftwareVersionRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareImageFilesBulkUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareVersionsBulkUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimSoftwareImageFilesBulkUpdate`: []SoftwareImageFile
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareImageFilesBulkUpdate`: %v\n", resp)
+ // response from `DcimSoftwareVersionsBulkUpdate`: []SoftwareVersion
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareVersionsBulkUpdate`: %v\n", resp)
}
```
@@ -41827,17 +42529,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimSoftwareImageFilesBulkUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimSoftwareVersionsBulkUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **bulkWritableSoftwareImageFileRequest** | [**[]BulkWritableSoftwareImageFileRequest**](BulkWritableSoftwareImageFileRequest.md) | |
+ **bulkWritableSoftwareVersionRequest** | [**[]BulkWritableSoftwareVersionRequest**](BulkWritableSoftwareVersionRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]SoftwareImageFile**](SoftwareImageFile.md)
+[**[]SoftwareVersion**](SoftwareVersion.md)
### Authorization
@@ -41853,9 +42555,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimSoftwareImageFilesCreate
+## DcimSoftwareVersionsCreate
-> SoftwareImageFile DcimSoftwareImageFilesCreate(ctx).SoftwareImageFileRequest(softwareImageFileRequest).Format(format).Execute()
+> SoftwareVersion DcimSoftwareVersionsCreate(ctx).SoftwareVersionRequest(softwareVersionRequest).Format(format).Execute()
@@ -41874,18 +42576,18 @@ import (
)
func main() {
- softwareImageFileRequest := *openapiclient.NewSoftwareImageFileRequest("ImageFileName_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // SoftwareImageFileRequest |
+ softwareVersionRequest := *openapiclient.NewSoftwareVersionRequest("Version_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // SoftwareVersionRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimSoftwareImageFilesCreate(context.Background()).SoftwareImageFileRequest(softwareImageFileRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimSoftwareVersionsCreate(context.Background()).SoftwareVersionRequest(softwareVersionRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareImageFilesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareVersionsCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimSoftwareImageFilesCreate`: SoftwareImageFile
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareImageFilesCreate`: %v\n", resp)
+ // response from `DcimSoftwareVersionsCreate`: SoftwareVersion
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareVersionsCreate`: %v\n", resp)
}
```
@@ -41895,17 +42597,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimSoftwareImageFilesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimSoftwareVersionsCreateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **softwareImageFileRequest** | [**SoftwareImageFileRequest**](SoftwareImageFileRequest.md) | |
+ **softwareVersionRequest** | [**SoftwareVersionRequest**](SoftwareVersionRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**SoftwareImageFile**](SoftwareImageFile.md)
+[**SoftwareVersion**](SoftwareVersion.md)
### Authorization
@@ -41921,9 +42623,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimSoftwareImageFilesDestroy
+## DcimSoftwareVersionsDestroy
-> DcimSoftwareImageFilesDestroy(ctx, id).Format(format).Execute()
+> DcimSoftwareVersionsDestroy(ctx, id).Format(format).Execute()
@@ -41942,14 +42644,14 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this software image file.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this software version.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimSoftwareImageFilesDestroy(context.Background(), id).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimSoftwareVersionsDestroy(context.Background(), id).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareImageFilesDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareVersionsDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -41961,11 +42663,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this software image file. |
+**id** | **string** | A UUID string identifying this software version. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimSoftwareImageFilesDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimSoftwareVersionsDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -41991,9 +42693,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimSoftwareImageFilesList
+## DcimSoftwareVersionsList
-> PaginatedSoftwareImageFileList DcimSoftwareImageFilesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DefaultImage(defaultImage).DeviceTypes(deviceTypes).DeviceTypesIsnull(deviceTypesIsnull).DeviceTypesN(deviceTypesN).Devices(devices).DevicesIsnull(devicesIsnull).DevicesN(devicesN).DownloadUrl(downloadUrl).DownloadUrlIc(downloadUrlIc).DownloadUrlIe(downloadUrlIe).DownloadUrlIew(downloadUrlIew).DownloadUrlIre(downloadUrlIre).DownloadUrlIsw(downloadUrlIsw).DownloadUrlN(downloadUrlN).DownloadUrlNic(downloadUrlNic).DownloadUrlNie(downloadUrlNie).DownloadUrlNiew(downloadUrlNiew).DownloadUrlNire(downloadUrlNire).DownloadUrlNisw(downloadUrlNisw).DownloadUrlNre(downloadUrlNre).DownloadUrlRe(downloadUrlRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceTypes(hasDeviceTypes).HasDevices(hasDevices).HashingAlgorithm(hashingAlgorithm).HashingAlgorithmIc(hashingAlgorithmIc).HashingAlgorithmIe(hashingAlgorithmIe).HashingAlgorithmIew(hashingAlgorithmIew).HashingAlgorithmIre(hashingAlgorithmIre).HashingAlgorithmIsw(hashingAlgorithmIsw).HashingAlgorithmN(hashingAlgorithmN).HashingAlgorithmNic(hashingAlgorithmNic).HashingAlgorithmNie(hashingAlgorithmNie).HashingAlgorithmNiew(hashingAlgorithmNiew).HashingAlgorithmNire(hashingAlgorithmNire).HashingAlgorithmNisw(hashingAlgorithmNisw).HashingAlgorithmNre(hashingAlgorithmNre).HashingAlgorithmRe(hashingAlgorithmRe).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).ImageFileChecksum(imageFileChecksum).ImageFileChecksumIc(imageFileChecksumIc).ImageFileChecksumIe(imageFileChecksumIe).ImageFileChecksumIew(imageFileChecksumIew).ImageFileChecksumIre(imageFileChecksumIre).ImageFileChecksumIsw(imageFileChecksumIsw).ImageFileChecksumN(imageFileChecksumN).ImageFileChecksumNic(imageFileChecksumNic).ImageFileChecksumNie(imageFileChecksumNie).ImageFileChecksumNiew(imageFileChecksumNiew).ImageFileChecksumNire(imageFileChecksumNire).ImageFileChecksumNisw(imageFileChecksumNisw).ImageFileChecksumNre(imageFileChecksumNre).ImageFileChecksumRe(imageFileChecksumRe).ImageFileName(imageFileName).ImageFileNameIc(imageFileNameIc).ImageFileNameIe(imageFileNameIe).ImageFileNameIew(imageFileNameIew).ImageFileNameIre(imageFileNameIre).ImageFileNameIsw(imageFileNameIsw).ImageFileNameN(imageFileNameN).ImageFileNameNic(imageFileNameNic).ImageFileNameNie(imageFileNameNie).ImageFileNameNiew(imageFileNameNiew).ImageFileNameNire(imageFileNameNire).ImageFileNameNisw(imageFileNameNisw).ImageFileNameNre(imageFileNameNre).ImageFileNameRe(imageFileNameRe).ImageFileSize(imageFileSize).ImageFileSizeGt(imageFileSizeGt).ImageFileSizeGte(imageFileSizeGte).ImageFileSizeIsnull(imageFileSizeIsnull).ImageFileSizeLt(imageFileSizeLt).ImageFileSizeLte(imageFileSizeLte).ImageFileSizeN(imageFileSizeN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Offset(offset).Q(q).SoftwareVersion(softwareVersion).SoftwareVersionN(softwareVersionN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedSoftwareVersionList DcimSoftwareVersionsList(ctx).Alias(alias).AliasIc(aliasIc).AliasIe(aliasIe).AliasIew(aliasIew).AliasIre(aliasIre).AliasIsw(aliasIsw).AliasN(aliasN).AliasNic(aliasNic).AliasNie(aliasNie).AliasNiew(aliasNiew).AliasNire(aliasNire).AliasNisw(aliasNisw).AliasNre(aliasNre).AliasRe(aliasRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DeviceTypes(deviceTypes).DeviceTypesIsnull(deviceTypesIsnull).DeviceTypesN(deviceTypesN).Devices(devices).DevicesIsnull(devicesIsnull).DevicesN(devicesN).DocumentationUrl(documentationUrl).DocumentationUrlIc(documentationUrlIc).DocumentationUrlIe(documentationUrlIe).DocumentationUrlIew(documentationUrlIew).DocumentationUrlIre(documentationUrlIre).DocumentationUrlIsw(documentationUrlIsw).DocumentationUrlN(documentationUrlN).DocumentationUrlNic(documentationUrlNic).DocumentationUrlNie(documentationUrlNie).DocumentationUrlNiew(documentationUrlNiew).DocumentationUrlNire(documentationUrlNire).DocumentationUrlNisw(documentationUrlNisw).DocumentationUrlNre(documentationUrlNre).DocumentationUrlRe(documentationUrlRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).EndOfSupportDate(endOfSupportDate).EndOfSupportDateGt(endOfSupportDateGt).EndOfSupportDateGte(endOfSupportDateGte).EndOfSupportDateIsnull(endOfSupportDateIsnull).EndOfSupportDateLt(endOfSupportDateLt).EndOfSupportDateLte(endOfSupportDateLte).EndOfSupportDateN(endOfSupportDateN).Format(format).HasDevices(hasDevices).HasInventoryItems(hasInventoryItems).HasSoftwareImageFiles(hasSoftwareImageFiles).HasVirtualMachines(hasVirtualMachines).Id(id).IdN(idN).InventoryItems(inventoryItems).InventoryItemsIsnull(inventoryItemsIsnull).InventoryItemsN(inventoryItemsN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).LongTermSupport(longTermSupport).Offset(offset).Platform(platform).PlatformN(platformN).PreRelease(preRelease).Q(q).ReleaseDate(releaseDate).ReleaseDateGt(releaseDateGt).ReleaseDateGte(releaseDateGte).ReleaseDateIsnull(releaseDateIsnull).ReleaseDateLt(releaseDateLt).ReleaseDateLte(releaseDateLte).ReleaseDateN(releaseDateN).SoftwareImageFiles(softwareImageFiles).SoftwareImageFilesIsnull(softwareImageFilesIsnull).SoftwareImageFilesN(softwareImageFilesN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Version(version).VersionIc(versionIc).VersionIe(versionIe).VersionIew(versionIew).VersionIre(versionIre).VersionIsw(versionIsw).VersionN(versionN).VersionNic(versionNic).VersionNie(versionNie).VersionNiew(versionNiew).VersionNire(versionNire).VersionNisw(versionNisw).VersionNre(versionNre).VersionRe(versionRe).VirtualMachines(virtualMachines).VirtualMachinesIsnull(virtualMachinesIsnull).VirtualMachinesN(virtualMachinesN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -42013,9 +42715,23 @@ import (
)
func main() {
+ alias := []string{"Inner_example"} // []string | (optional)
+ aliasIc := []string{"Inner_example"} // []string | (optional)
+ aliasIe := []string{"Inner_example"} // []string | (optional)
+ aliasIew := []string{"Inner_example"} // []string | (optional)
+ aliasIre := []string{"Inner_example"} // []string | (optional)
+ aliasIsw := []string{"Inner_example"} // []string | (optional)
+ aliasN := []string{"Inner_example"} // []string | (optional)
+ aliasNic := []string{"Inner_example"} // []string | (optional)
+ aliasNie := []string{"Inner_example"} // []string | (optional)
+ aliasNiew := []string{"Inner_example"} // []string | (optional)
+ aliasNire := []string{"Inner_example"} // []string | (optional)
+ aliasNisw := []string{"Inner_example"} // []string | (optional)
+ aliasNre := []string{"Inner_example"} // []string | (optional)
+ aliasRe := []string{"Inner_example"} // []string | (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -42023,95 +42739,45 @@ func main() {
createdLt := []time.Time{time.Now()} // []time.Time | (optional)
createdLte := []time.Time{time.Now()} // []time.Time | (optional)
createdN := []time.Time{time.Now()} // []time.Time | (optional)
- defaultImage := true // bool | Is default image for associated software version (optional)
deviceTypes := []string{"Inner_example"} // []string | (optional)
deviceTypesIsnull := true // bool | Device types (model or ID) is null (optional)
deviceTypesN := []string{"Inner_example"} // []string | (optional)
devices := []string{"Inner_example"} // []string | (optional)
devicesIsnull := true // bool | Devices (name or ID) is null (optional)
devicesN := []string{"Inner_example"} // []string | (optional)
- downloadUrl := []string{"Inner_example"} // []string | (optional)
- downloadUrlIc := []string{"Inner_example"} // []string | (optional)
- downloadUrlIe := []string{"Inner_example"} // []string | (optional)
- downloadUrlIew := []string{"Inner_example"} // []string | (optional)
- downloadUrlIre := []string{"Inner_example"} // []string | (optional)
- downloadUrlIsw := []string{"Inner_example"} // []string | (optional)
- downloadUrlN := []string{"Inner_example"} // []string | (optional)
- downloadUrlNic := []string{"Inner_example"} // []string | (optional)
- downloadUrlNie := []string{"Inner_example"} // []string | (optional)
- downloadUrlNiew := []string{"Inner_example"} // []string | (optional)
- downloadUrlNire := []string{"Inner_example"} // []string | (optional)
- downloadUrlNisw := []string{"Inner_example"} // []string | (optional)
- downloadUrlNre := []string{"Inner_example"} // []string | (optional)
- downloadUrlRe := []string{"Inner_example"} // []string | (optional)
+ documentationUrl := []string{"Inner_example"} // []string | (optional)
+ documentationUrlIc := []string{"Inner_example"} // []string | (optional)
+ documentationUrlIe := []string{"Inner_example"} // []string | (optional)
+ documentationUrlIew := []string{"Inner_example"} // []string | (optional)
+ documentationUrlIre := []string{"Inner_example"} // []string | (optional)
+ documentationUrlIsw := []string{"Inner_example"} // []string | (optional)
+ documentationUrlN := []string{"Inner_example"} // []string | (optional)
+ documentationUrlNic := []string{"Inner_example"} // []string | (optional)
+ documentationUrlNie := []string{"Inner_example"} // []string | (optional)
+ documentationUrlNiew := []string{"Inner_example"} // []string | (optional)
+ documentationUrlNire := []string{"Inner_example"} // []string | (optional)
+ documentationUrlNisw := []string{"Inner_example"} // []string | (optional)
+ documentationUrlNre := []string{"Inner_example"} // []string | (optional)
+ documentationUrlRe := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
+ endOfSupportDate := []string{time.Now()} // []string | (optional)
+ endOfSupportDateGt := []string{time.Now()} // []string | (optional)
+ endOfSupportDateGte := []string{time.Now()} // []string | (optional)
+ endOfSupportDateIsnull := true // bool | (optional)
+ endOfSupportDateLt := []string{time.Now()} // []string | (optional)
+ endOfSupportDateLte := []string{time.Now()} // []string | (optional)
+ endOfSupportDateN := []string{time.Now()} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- hasDeviceTypes := true // bool | Has device types (optional)
hasDevices := true // bool | Has devices (optional)
- hashingAlgorithm := []string{"Inner_example"} // []string | Hashing algorithm for image file checksum (optional)
- hashingAlgorithmIc := []string{"Inner_example"} // []string | (optional)
- hashingAlgorithmIe := []string{"Inner_example"} // []string | (optional)
- hashingAlgorithmIew := []string{"Inner_example"} // []string | (optional)
- hashingAlgorithmIre := []string{"Inner_example"} // []string | (optional)
- hashingAlgorithmIsw := []string{"Inner_example"} // []string | (optional)
- hashingAlgorithmN := []string{"Inner_example"} // []string | Hashing algorithm for image file checksum (optional)
- hashingAlgorithmNic := []string{"Inner_example"} // []string | (optional)
- hashingAlgorithmNie := []string{"Inner_example"} // []string | (optional)
- hashingAlgorithmNiew := []string{"Inner_example"} // []string | (optional)
- hashingAlgorithmNire := []string{"Inner_example"} // []string | (optional)
- hashingAlgorithmNisw := []string{"Inner_example"} // []string | (optional)
- hashingAlgorithmNre := []string{"Inner_example"} // []string | (optional)
- hashingAlgorithmRe := []string{"Inner_example"} // []string | (optional)
+ hasInventoryItems := true // bool | Has inventory items (optional)
+ hasSoftwareImageFiles := true // bool | Has software image files (optional)
+ hasVirtualMachines := true // bool | Has virtual machines (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
- imageFileChecksum := []string{"Inner_example"} // []string | (optional)
- imageFileChecksumIc := []string{"Inner_example"} // []string | (optional)
- imageFileChecksumIe := []string{"Inner_example"} // []string | (optional)
- imageFileChecksumIew := []string{"Inner_example"} // []string | (optional)
- imageFileChecksumIre := []string{"Inner_example"} // []string | (optional)
- imageFileChecksumIsw := []string{"Inner_example"} // []string | (optional)
- imageFileChecksumN := []string{"Inner_example"} // []string | (optional)
- imageFileChecksumNic := []string{"Inner_example"} // []string | (optional)
- imageFileChecksumNie := []string{"Inner_example"} // []string | (optional)
- imageFileChecksumNiew := []string{"Inner_example"} // []string | (optional)
- imageFileChecksumNire := []string{"Inner_example"} // []string | (optional)
- imageFileChecksumNisw := []string{"Inner_example"} // []string | (optional)
- imageFileChecksumNre := []string{"Inner_example"} // []string | (optional)
- imageFileChecksumRe := []string{"Inner_example"} // []string | (optional)
- imageFileName := []string{"Inner_example"} // []string | (optional)
- imageFileNameIc := []string{"Inner_example"} // []string | (optional)
- imageFileNameIe := []string{"Inner_example"} // []string | (optional)
- imageFileNameIew := []string{"Inner_example"} // []string | (optional)
- imageFileNameIre := []string{"Inner_example"} // []string | (optional)
- imageFileNameIsw := []string{"Inner_example"} // []string | (optional)
- imageFileNameN := []string{"Inner_example"} // []string | (optional)
- imageFileNameNic := []string{"Inner_example"} // []string | (optional)
- imageFileNameNie := []string{"Inner_example"} // []string | (optional)
- imageFileNameNiew := []string{"Inner_example"} // []string | (optional)
- imageFileNameNire := []string{"Inner_example"} // []string | (optional)
- imageFileNameNisw := []string{"Inner_example"} // []string | (optional)
- imageFileNameNre := []string{"Inner_example"} // []string | (optional)
- imageFileNameRe := []string{"Inner_example"} // []string | (optional)
- imageFileSize := []int32{int32(123)} // []int32 | (optional)
- imageFileSizeGt := []int32{int32(123)} // []int32 | (optional)
- imageFileSizeGte := []int32{int32(123)} // []int32 | (optional)
- imageFileSizeIsnull := true // bool | (optional)
- imageFileSizeLt := []int32{int32(123)} // []int32 | (optional)
- imageFileSizeLte := []int32{int32(123)} // []int32 | (optional)
- imageFileSizeN := []int32{int32(123)} // []int32 | (optional)
+ inventoryItems := []string{"Inner_example"} // []string | (optional)
+ inventoryItemsIsnull := true // bool | Inventory items (name or ID) is null (optional)
+ inventoryItemsN := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -42120,30 +42786,60 @@ func main() {
lastUpdatedLte := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedN := []time.Time{time.Now()} // []time.Time | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
+ longTermSupport := true // bool | (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
+ platform := []string{"Inner_example"} // []string | (optional)
+ platformN := []string{"Inner_example"} // []string | (optional)
+ preRelease := true // bool | (optional)
q := "q_example" // string | Search (optional)
- softwareVersion := []string{"Inner_example"} // []string | (optional)
- softwareVersionN := []string{"Inner_example"} // []string | (optional)
+ releaseDate := []string{time.Now()} // []string | (optional)
+ releaseDateGt := []string{time.Now()} // []string | (optional)
+ releaseDateGte := []string{time.Now()} // []string | (optional)
+ releaseDateIsnull := true // bool | (optional)
+ releaseDateLt := []string{time.Now()} // []string | (optional)
+ releaseDateLte := []string{time.Now()} // []string | (optional)
+ releaseDateN := []string{time.Now()} // []string | (optional)
+ softwareImageFiles := []string{"Inner_example"} // []string | (optional)
+ softwareImageFilesIsnull := true // bool | Software image files (image file name or ID) is null (optional)
+ softwareImageFilesN := []string{"Inner_example"} // []string | (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
status := []string{"Inner_example"} // []string | (optional)
- statusN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Status (name or ID) (optional)
+ statusN := []string{"Inner_example"} // []string | (optional)
tags := []string{"Inner_example"} // []string | (optional)
tagsIsnull := true // bool | (optional)
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
+ version := []string{"Inner_example"} // []string | (optional)
+ versionIc := []string{"Inner_example"} // []string | (optional)
+ versionIe := []string{"Inner_example"} // []string | (optional)
+ versionIew := []string{"Inner_example"} // []string | (optional)
+ versionIre := []string{"Inner_example"} // []string | (optional)
+ versionIsw := []string{"Inner_example"} // []string | (optional)
+ versionN := []string{"Inner_example"} // []string | (optional)
+ versionNic := []string{"Inner_example"} // []string | (optional)
+ versionNie := []string{"Inner_example"} // []string | (optional)
+ versionNiew := []string{"Inner_example"} // []string | (optional)
+ versionNire := []string{"Inner_example"} // []string | (optional)
+ versionNisw := []string{"Inner_example"} // []string | (optional)
+ versionNre := []string{"Inner_example"} // []string | (optional)
+ versionRe := []string{"Inner_example"} // []string | (optional)
+ virtualMachines := []string{"Inner_example"} // []string | (optional)
+ virtualMachinesIsnull := true // bool | Virtual machines (name or ID) is null (optional)
+ virtualMachinesN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimSoftwareImageFilesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DefaultImage(defaultImage).DeviceTypes(deviceTypes).DeviceTypesIsnull(deviceTypesIsnull).DeviceTypesN(deviceTypesN).Devices(devices).DevicesIsnull(devicesIsnull).DevicesN(devicesN).DownloadUrl(downloadUrl).DownloadUrlIc(downloadUrlIc).DownloadUrlIe(downloadUrlIe).DownloadUrlIew(downloadUrlIew).DownloadUrlIre(downloadUrlIre).DownloadUrlIsw(downloadUrlIsw).DownloadUrlN(downloadUrlN).DownloadUrlNic(downloadUrlNic).DownloadUrlNie(downloadUrlNie).DownloadUrlNiew(downloadUrlNiew).DownloadUrlNire(downloadUrlNire).DownloadUrlNisw(downloadUrlNisw).DownloadUrlNre(downloadUrlNre).DownloadUrlRe(downloadUrlRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasDeviceTypes(hasDeviceTypes).HasDevices(hasDevices).HashingAlgorithm(hashingAlgorithm).HashingAlgorithmIc(hashingAlgorithmIc).HashingAlgorithmIe(hashingAlgorithmIe).HashingAlgorithmIew(hashingAlgorithmIew).HashingAlgorithmIre(hashingAlgorithmIre).HashingAlgorithmIsw(hashingAlgorithmIsw).HashingAlgorithmN(hashingAlgorithmN).HashingAlgorithmNic(hashingAlgorithmNic).HashingAlgorithmNie(hashingAlgorithmNie).HashingAlgorithmNiew(hashingAlgorithmNiew).HashingAlgorithmNire(hashingAlgorithmNire).HashingAlgorithmNisw(hashingAlgorithmNisw).HashingAlgorithmNre(hashingAlgorithmNre).HashingAlgorithmRe(hashingAlgorithmRe).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).ImageFileChecksum(imageFileChecksum).ImageFileChecksumIc(imageFileChecksumIc).ImageFileChecksumIe(imageFileChecksumIe).ImageFileChecksumIew(imageFileChecksumIew).ImageFileChecksumIre(imageFileChecksumIre).ImageFileChecksumIsw(imageFileChecksumIsw).ImageFileChecksumN(imageFileChecksumN).ImageFileChecksumNic(imageFileChecksumNic).ImageFileChecksumNie(imageFileChecksumNie).ImageFileChecksumNiew(imageFileChecksumNiew).ImageFileChecksumNire(imageFileChecksumNire).ImageFileChecksumNisw(imageFileChecksumNisw).ImageFileChecksumNre(imageFileChecksumNre).ImageFileChecksumRe(imageFileChecksumRe).ImageFileName(imageFileName).ImageFileNameIc(imageFileNameIc).ImageFileNameIe(imageFileNameIe).ImageFileNameIew(imageFileNameIew).ImageFileNameIre(imageFileNameIre).ImageFileNameIsw(imageFileNameIsw).ImageFileNameN(imageFileNameN).ImageFileNameNic(imageFileNameNic).ImageFileNameNie(imageFileNameNie).ImageFileNameNiew(imageFileNameNiew).ImageFileNameNire(imageFileNameNire).ImageFileNameNisw(imageFileNameNisw).ImageFileNameNre(imageFileNameNre).ImageFileNameRe(imageFileNameRe).ImageFileSize(imageFileSize).ImageFileSizeGt(imageFileSizeGt).ImageFileSizeGte(imageFileSizeGte).ImageFileSizeIsnull(imageFileSizeIsnull).ImageFileSizeLt(imageFileSizeLt).ImageFileSizeLte(imageFileSizeLte).ImageFileSizeN(imageFileSizeN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Offset(offset).Q(q).SoftwareVersion(softwareVersion).SoftwareVersionN(softwareVersionN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimSoftwareVersionsList(context.Background()).Alias(alias).AliasIc(aliasIc).AliasIe(aliasIe).AliasIew(aliasIew).AliasIre(aliasIre).AliasIsw(aliasIsw).AliasN(aliasN).AliasNic(aliasNic).AliasNie(aliasNie).AliasNiew(aliasNiew).AliasNire(aliasNire).AliasNisw(aliasNisw).AliasNre(aliasNre).AliasRe(aliasRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DeviceTypes(deviceTypes).DeviceTypesIsnull(deviceTypesIsnull).DeviceTypesN(deviceTypesN).Devices(devices).DevicesIsnull(devicesIsnull).DevicesN(devicesN).DocumentationUrl(documentationUrl).DocumentationUrlIc(documentationUrlIc).DocumentationUrlIe(documentationUrlIe).DocumentationUrlIew(documentationUrlIew).DocumentationUrlIre(documentationUrlIre).DocumentationUrlIsw(documentationUrlIsw).DocumentationUrlN(documentationUrlN).DocumentationUrlNic(documentationUrlNic).DocumentationUrlNie(documentationUrlNie).DocumentationUrlNiew(documentationUrlNiew).DocumentationUrlNire(documentationUrlNire).DocumentationUrlNisw(documentationUrlNisw).DocumentationUrlNre(documentationUrlNre).DocumentationUrlRe(documentationUrlRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).EndOfSupportDate(endOfSupportDate).EndOfSupportDateGt(endOfSupportDateGt).EndOfSupportDateGte(endOfSupportDateGte).EndOfSupportDateIsnull(endOfSupportDateIsnull).EndOfSupportDateLt(endOfSupportDateLt).EndOfSupportDateLte(endOfSupportDateLte).EndOfSupportDateN(endOfSupportDateN).Format(format).HasDevices(hasDevices).HasInventoryItems(hasInventoryItems).HasSoftwareImageFiles(hasSoftwareImageFiles).HasVirtualMachines(hasVirtualMachines).Id(id).IdN(idN).InventoryItems(inventoryItems).InventoryItemsIsnull(inventoryItemsIsnull).InventoryItemsN(inventoryItemsN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).LongTermSupport(longTermSupport).Offset(offset).Platform(platform).PlatformN(platformN).PreRelease(preRelease).Q(q).ReleaseDate(releaseDate).ReleaseDateGt(releaseDateGt).ReleaseDateGte(releaseDateGte).ReleaseDateIsnull(releaseDateIsnull).ReleaseDateLt(releaseDateLt).ReleaseDateLte(releaseDateLte).ReleaseDateN(releaseDateN).SoftwareImageFiles(softwareImageFiles).SoftwareImageFilesIsnull(softwareImageFilesIsnull).SoftwareImageFilesN(softwareImageFilesN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Version(version).VersionIc(versionIc).VersionIe(versionIe).VersionIew(versionIew).VersionIre(versionIre).VersionIsw(versionIsw).VersionN(versionN).VersionNic(versionNic).VersionNie(versionNie).VersionNiew(versionNiew).VersionNire(versionNire).VersionNisw(versionNisw).VersionNre(versionNre).VersionRe(versionRe).VirtualMachines(virtualMachines).VirtualMachinesIsnull(virtualMachinesIsnull).VirtualMachinesN(virtualMachinesN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareImageFilesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareVersionsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimSoftwareImageFilesList`: PaginatedSoftwareImageFileList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareImageFilesList`: %v\n", resp)
+ // response from `DcimSoftwareVersionsList`: PaginatedSoftwareVersionList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareVersionsList`: %v\n", resp)
}
```
@@ -42153,14 +42849,28 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimSoftwareImageFilesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimSoftwareVersionsListRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
+ **alias** | **[]string** | |
+ **aliasIc** | **[]string** | |
+ **aliasIe** | **[]string** | |
+ **aliasIew** | **[]string** | |
+ **aliasIre** | **[]string** | |
+ **aliasIsw** | **[]string** | |
+ **aliasN** | **[]string** | |
+ **aliasNic** | **[]string** | |
+ **aliasNie** | **[]string** | |
+ **aliasNiew** | **[]string** | |
+ **aliasNire** | **[]string** | |
+ **aliasNisw** | **[]string** | |
+ **aliasNre** | **[]string** | |
+ **aliasRe** | **[]string** | |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -42168,95 +42878,45 @@ Name | Type | Description | Notes
**createdLt** | [**[]time.Time**](time.Time.md) | |
**createdLte** | [**[]time.Time**](time.Time.md) | |
**createdN** | [**[]time.Time**](time.Time.md) | |
- **defaultImage** | **bool** | Is default image for associated software version |
**deviceTypes** | **[]string** | |
**deviceTypesIsnull** | **bool** | Device types (model or ID) is null |
**deviceTypesN** | **[]string** | |
**devices** | **[]string** | |
**devicesIsnull** | **bool** | Devices (name or ID) is null |
**devicesN** | **[]string** | |
- **downloadUrl** | **[]string** | |
- **downloadUrlIc** | **[]string** | |
- **downloadUrlIe** | **[]string** | |
- **downloadUrlIew** | **[]string** | |
- **downloadUrlIre** | **[]string** | |
- **downloadUrlIsw** | **[]string** | |
- **downloadUrlN** | **[]string** | |
- **downloadUrlNic** | **[]string** | |
- **downloadUrlNie** | **[]string** | |
- **downloadUrlNiew** | **[]string** | |
- **downloadUrlNire** | **[]string** | |
- **downloadUrlNisw** | **[]string** | |
- **downloadUrlNre** | **[]string** | |
- **downloadUrlRe** | **[]string** | |
+ **documentationUrl** | **[]string** | |
+ **documentationUrlIc** | **[]string** | |
+ **documentationUrlIe** | **[]string** | |
+ **documentationUrlIew** | **[]string** | |
+ **documentationUrlIre** | **[]string** | |
+ **documentationUrlIsw** | **[]string** | |
+ **documentationUrlN** | **[]string** | |
+ **documentationUrlNic** | **[]string** | |
+ **documentationUrlNie** | **[]string** | |
+ **documentationUrlNiew** | **[]string** | |
+ **documentationUrlNire** | **[]string** | |
+ **documentationUrlNisw** | **[]string** | |
+ **documentationUrlNre** | **[]string** | |
+ **documentationUrlRe** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
+ **endOfSupportDate** | **[]string** | |
+ **endOfSupportDateGt** | **[]string** | |
+ **endOfSupportDateGte** | **[]string** | |
+ **endOfSupportDateIsnull** | **bool** | |
+ **endOfSupportDateLt** | **[]string** | |
+ **endOfSupportDateLte** | **[]string** | |
+ **endOfSupportDateN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **hasDeviceTypes** | **bool** | Has device types |
**hasDevices** | **bool** | Has devices |
- **hashingAlgorithm** | **[]string** | Hashing algorithm for image file checksum |
- **hashingAlgorithmIc** | **[]string** | |
- **hashingAlgorithmIe** | **[]string** | |
- **hashingAlgorithmIew** | **[]string** | |
- **hashingAlgorithmIre** | **[]string** | |
- **hashingAlgorithmIsw** | **[]string** | |
- **hashingAlgorithmN** | **[]string** | Hashing algorithm for image file checksum |
- **hashingAlgorithmNic** | **[]string** | |
- **hashingAlgorithmNie** | **[]string** | |
- **hashingAlgorithmNiew** | **[]string** | |
- **hashingAlgorithmNire** | **[]string** | |
- **hashingAlgorithmNisw** | **[]string** | |
- **hashingAlgorithmNre** | **[]string** | |
- **hashingAlgorithmRe** | **[]string** | |
+ **hasInventoryItems** | **bool** | Has inventory items |
+ **hasSoftwareImageFiles** | **bool** | Has software image files |
+ **hasVirtualMachines** | **bool** | Has virtual machines |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
- **imageFileChecksum** | **[]string** | |
- **imageFileChecksumIc** | **[]string** | |
- **imageFileChecksumIe** | **[]string** | |
- **imageFileChecksumIew** | **[]string** | |
- **imageFileChecksumIre** | **[]string** | |
- **imageFileChecksumIsw** | **[]string** | |
- **imageFileChecksumN** | **[]string** | |
- **imageFileChecksumNic** | **[]string** | |
- **imageFileChecksumNie** | **[]string** | |
- **imageFileChecksumNiew** | **[]string** | |
- **imageFileChecksumNire** | **[]string** | |
- **imageFileChecksumNisw** | **[]string** | |
- **imageFileChecksumNre** | **[]string** | |
- **imageFileChecksumRe** | **[]string** | |
- **imageFileName** | **[]string** | |
- **imageFileNameIc** | **[]string** | |
- **imageFileNameIe** | **[]string** | |
- **imageFileNameIew** | **[]string** | |
- **imageFileNameIre** | **[]string** | |
- **imageFileNameIsw** | **[]string** | |
- **imageFileNameN** | **[]string** | |
- **imageFileNameNic** | **[]string** | |
- **imageFileNameNie** | **[]string** | |
- **imageFileNameNiew** | **[]string** | |
- **imageFileNameNire** | **[]string** | |
- **imageFileNameNisw** | **[]string** | |
- **imageFileNameNre** | **[]string** | |
- **imageFileNameRe** | **[]string** | |
- **imageFileSize** | **[]int32** | |
- **imageFileSizeGt** | **[]int32** | |
- **imageFileSizeGte** | **[]int32** | |
- **imageFileSizeIsnull** | **bool** | |
- **imageFileSizeLt** | **[]int32** | |
- **imageFileSizeLte** | **[]int32** | |
- **imageFileSizeN** | **[]int32** | |
+ **inventoryItems** | **[]string** | |
+ **inventoryItemsIsnull** | **bool** | Inventory items (name or ID) is null |
+ **inventoryItemsN** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -42265,24 +42925,54 @@ Name | Type | Description | Notes
**lastUpdatedLte** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedN** | [**[]time.Time**](time.Time.md) | |
**limit** | **int32** | Number of results to return per page. |
+ **longTermSupport** | **bool** | |
**offset** | **int32** | The initial index from which to return the results. |
+ **platform** | **[]string** | |
+ **platformN** | **[]string** | |
+ **preRelease** | **bool** | |
**q** | **string** | Search |
- **softwareVersion** | **[]string** | |
- **softwareVersionN** | **[]string** | |
+ **releaseDate** | **[]string** | |
+ **releaseDateGt** | **[]string** | |
+ **releaseDateGte** | **[]string** | |
+ **releaseDateIsnull** | **bool** | |
+ **releaseDateLt** | **[]string** | |
+ **releaseDateLte** | **[]string** | |
+ **releaseDateN** | **[]string** | |
+ **softwareImageFiles** | **[]string** | |
+ **softwareImageFilesIsnull** | **bool** | Software image files (image file name or ID) is null |
+ **softwareImageFilesN** | **[]string** | |
**sort** | **string** | Which field to use when ordering the results. |
**status** | **[]string** | |
- **statusN** | **string** | Exclude Status (name or ID) |
+ **statusN** | **[]string** | |
**tags** | **[]string** | |
**tagsIsnull** | **bool** | |
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
+ **version** | **[]string** | |
+ **versionIc** | **[]string** | |
+ **versionIe** | **[]string** | |
+ **versionIew** | **[]string** | |
+ **versionIre** | **[]string** | |
+ **versionIsw** | **[]string** | |
+ **versionN** | **[]string** | |
+ **versionNic** | **[]string** | |
+ **versionNie** | **[]string** | |
+ **versionNiew** | **[]string** | |
+ **versionNire** | **[]string** | |
+ **versionNisw** | **[]string** | |
+ **versionNre** | **[]string** | |
+ **versionRe** | **[]string** | |
+ **virtualMachines** | **[]string** | |
+ **virtualMachinesIsnull** | **bool** | Virtual machines (name or ID) is null |
+ **virtualMachinesN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PaginatedSoftwareImageFileList**](PaginatedSoftwareImageFileList.md)
+[**PaginatedSoftwareVersionList**](PaginatedSoftwareVersionList.md)
### Authorization
@@ -42298,9 +42988,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimSoftwareImageFilesNotesCreate
+## DcimSoftwareVersionsNotesCreate
-> Note DcimSoftwareImageFilesNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+> Note DcimSoftwareVersionsNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
@@ -42319,19 +43009,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this software image file.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this software version.
noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimSoftwareImageFilesNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimSoftwareVersionsNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareImageFilesNotesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareVersionsNotesCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimSoftwareImageFilesNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareImageFilesNotesCreate`: %v\n", resp)
+ // response from `DcimSoftwareVersionsNotesCreate`: Note
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareVersionsNotesCreate`: %v\n", resp)
}
```
@@ -42341,11 +43031,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this software image file. |
+**id** | **string** | A UUID string identifying this software version. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimSoftwareImageFilesNotesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimSoftwareVersionsNotesCreateRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -42372,9 +43062,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimSoftwareImageFilesNotesList
+## DcimSoftwareVersionsNotesList
-> PaginatedNoteList DcimSoftwareImageFilesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList DcimSoftwareVersionsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -42393,21 +43083,22 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this software image file.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this software version.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimSoftwareImageFilesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimSoftwareVersionsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareImageFilesNotesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareVersionsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimSoftwareImageFilesNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareImageFilesNotesList`: %v\n", resp)
+ // response from `DcimSoftwareVersionsNotesList`: PaginatedNoteList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareVersionsNotesList`: %v\n", resp)
}
```
@@ -42417,11 +43108,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this software image file. |
+**id** | **string** | A UUID string identifying this software version. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimSoftwareImageFilesNotesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimSoftwareVersionsNotesListRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -42431,6 +43122,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -42450,9 +43142,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimSoftwareImageFilesPartialUpdate
+## DcimSoftwareVersionsPartialUpdate
-> SoftwareImageFile DcimSoftwareImageFilesPartialUpdate(ctx, id).Format(format).PatchedSoftwareImageFileRequest(patchedSoftwareImageFileRequest).Execute()
+> SoftwareVersion DcimSoftwareVersionsPartialUpdate(ctx, id).Format(format).PatchedSoftwareVersionRequest(patchedSoftwareVersionRequest).Execute()
@@ -42471,19 +43163,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this software image file.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this software version.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- patchedSoftwareImageFileRequest := *openapiclient.NewPatchedSoftwareImageFileRequest() // PatchedSoftwareImageFileRequest | (optional)
+ patchedSoftwareVersionRequest := *openapiclient.NewPatchedSoftwareVersionRequest() // PatchedSoftwareVersionRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimSoftwareImageFilesPartialUpdate(context.Background(), id).Format(format).PatchedSoftwareImageFileRequest(patchedSoftwareImageFileRequest).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimSoftwareVersionsPartialUpdate(context.Background(), id).Format(format).PatchedSoftwareVersionRequest(patchedSoftwareVersionRequest).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareImageFilesPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareVersionsPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimSoftwareImageFilesPartialUpdate`: SoftwareImageFile
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareImageFilesPartialUpdate`: %v\n", resp)
+ // response from `DcimSoftwareVersionsPartialUpdate`: SoftwareVersion
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareVersionsPartialUpdate`: %v\n", resp)
}
```
@@ -42493,22 +43185,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this software image file. |
+**id** | **string** | A UUID string identifying this software version. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimSoftwareImageFilesPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimSoftwareVersionsPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **patchedSoftwareImageFileRequest** | [**PatchedSoftwareImageFileRequest**](PatchedSoftwareImageFileRequest.md) | |
+ **patchedSoftwareVersionRequest** | [**PatchedSoftwareVersionRequest**](PatchedSoftwareVersionRequest.md) | |
### Return type
-[**SoftwareImageFile**](SoftwareImageFile.md)
+[**SoftwareVersion**](SoftwareVersion.md)
### Authorization
@@ -42524,9 +43216,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimSoftwareImageFilesRetrieve
+## DcimSoftwareVersionsRetrieve
-> SoftwareImageFile DcimSoftwareImageFilesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> SoftwareVersion DcimSoftwareVersionsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -42545,19 +43237,20 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this software image file.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this software version.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimSoftwareImageFilesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimSoftwareVersionsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareImageFilesRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareVersionsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimSoftwareImageFilesRetrieve`: SoftwareImageFile
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareImageFilesRetrieve`: %v\n", resp)
+ // response from `DcimSoftwareVersionsRetrieve`: SoftwareVersion
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareVersionsRetrieve`: %v\n", resp)
}
```
@@ -42567,11 +43260,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this software image file. |
+**id** | **string** | A UUID string identifying this software version. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimSoftwareImageFilesRetrieveRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimSoftwareVersionsRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -42579,10 +43272,11 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**SoftwareImageFile**](SoftwareImageFile.md)
+[**SoftwareVersion**](SoftwareVersion.md)
### Authorization
@@ -42598,9 +43292,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimSoftwareImageFilesUpdate
+## DcimSoftwareVersionsUpdate
-> SoftwareImageFile DcimSoftwareImageFilesUpdate(ctx, id).SoftwareImageFileRequest(softwareImageFileRequest).Format(format).Execute()
+> SoftwareVersion DcimSoftwareVersionsUpdate(ctx, id).SoftwareVersionRequest(softwareVersionRequest).Format(format).Execute()
@@ -42619,19 +43313,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this software image file.
- softwareImageFileRequest := *openapiclient.NewSoftwareImageFileRequest("ImageFileName_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // SoftwareImageFileRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this software version.
+ softwareVersionRequest := *openapiclient.NewSoftwareVersionRequest("Version_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // SoftwareVersionRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimSoftwareImageFilesUpdate(context.Background(), id).SoftwareImageFileRequest(softwareImageFileRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimSoftwareVersionsUpdate(context.Background(), id).SoftwareVersionRequest(softwareVersionRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareImageFilesUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareVersionsUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimSoftwareImageFilesUpdate`: SoftwareImageFile
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareImageFilesUpdate`: %v\n", resp)
+ // response from `DcimSoftwareVersionsUpdate`: SoftwareVersion
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareVersionsUpdate`: %v\n", resp)
}
```
@@ -42641,22 +43335,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this software image file. |
+**id** | **string** | A UUID string identifying this software version. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimSoftwareImageFilesUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimSoftwareVersionsUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **softwareImageFileRequest** | [**SoftwareImageFileRequest**](SoftwareImageFileRequest.md) | |
+ **softwareVersionRequest** | [**SoftwareVersionRequest**](SoftwareVersionRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**SoftwareImageFile**](SoftwareImageFile.md)
+[**SoftwareVersion**](SoftwareVersion.md)
### Authorization
@@ -42672,9 +43366,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimSoftwareVersionsBulkDestroy
+## DcimVirtualChassisBulkDestroy
-> DcimSoftwareVersionsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+> DcimVirtualChassisBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
@@ -42698,9 +43392,9 @@ func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimSoftwareVersionsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimVirtualChassisBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareVersionsBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualChassisBulkDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -42712,7 +43406,7 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimSoftwareVersionsBulkDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimVirtualChassisBulkDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -42738,9 +43432,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimSoftwareVersionsBulkPartialUpdate
+## DcimVirtualChassisBulkPartialUpdate
-> []SoftwareVersion DcimSoftwareVersionsBulkPartialUpdate(ctx).PatchedBulkWritableSoftwareVersionRequest(patchedBulkWritableSoftwareVersionRequest).Format(format).Execute()
+> []VirtualChassis DcimVirtualChassisBulkPartialUpdate(ctx).PatchedBulkWritableVirtualChassisRequest(patchedBulkWritableVirtualChassisRequest).Format(format).Execute()
@@ -42759,18 +43453,18 @@ import (
)
func main() {
- patchedBulkWritableSoftwareVersionRequest := []openapiclient.PatchedBulkWritableSoftwareVersionRequest{*openapiclient.NewPatchedBulkWritableSoftwareVersionRequest("Id_example")} // []PatchedBulkWritableSoftwareVersionRequest |
+ patchedBulkWritableVirtualChassisRequest := []openapiclient.PatchedBulkWritableVirtualChassisRequest{*openapiclient.NewPatchedBulkWritableVirtualChassisRequest("Id_example")} // []PatchedBulkWritableVirtualChassisRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimSoftwareVersionsBulkPartialUpdate(context.Background()).PatchedBulkWritableSoftwareVersionRequest(patchedBulkWritableSoftwareVersionRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimVirtualChassisBulkPartialUpdate(context.Background()).PatchedBulkWritableVirtualChassisRequest(patchedBulkWritableVirtualChassisRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareVersionsBulkPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualChassisBulkPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimSoftwareVersionsBulkPartialUpdate`: []SoftwareVersion
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareVersionsBulkPartialUpdate`: %v\n", resp)
+ // response from `DcimVirtualChassisBulkPartialUpdate`: []VirtualChassis
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimVirtualChassisBulkPartialUpdate`: %v\n", resp)
}
```
@@ -42780,17 +43474,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimSoftwareVersionsBulkPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimVirtualChassisBulkPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **patchedBulkWritableSoftwareVersionRequest** | [**[]PatchedBulkWritableSoftwareVersionRequest**](PatchedBulkWritableSoftwareVersionRequest.md) | |
+ **patchedBulkWritableVirtualChassisRequest** | [**[]PatchedBulkWritableVirtualChassisRequest**](PatchedBulkWritableVirtualChassisRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]SoftwareVersion**](SoftwareVersion.md)
+[**[]VirtualChassis**](VirtualChassis.md)
### Authorization
@@ -42806,9 +43500,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimSoftwareVersionsBulkUpdate
+## DcimVirtualChassisBulkUpdate
-> []SoftwareVersion DcimSoftwareVersionsBulkUpdate(ctx).BulkWritableSoftwareVersionRequest(bulkWritableSoftwareVersionRequest).Format(format).Execute()
+> []VirtualChassis DcimVirtualChassisBulkUpdate(ctx).BulkWritableVirtualChassisRequest(bulkWritableVirtualChassisRequest).Format(format).Execute()
@@ -42827,18 +43521,18 @@ import (
)
func main() {
- bulkWritableSoftwareVersionRequest := []openapiclient.BulkWritableSoftwareVersionRequest{*openapiclient.NewBulkWritableSoftwareVersionRequest("Id_example", "Version_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritableSoftwareVersionRequest |
+ bulkWritableVirtualChassisRequest := []openapiclient.BulkWritableVirtualChassisRequest{*openapiclient.NewBulkWritableVirtualChassisRequest("Id_example", "Name_example")} // []BulkWritableVirtualChassisRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimSoftwareVersionsBulkUpdate(context.Background()).BulkWritableSoftwareVersionRequest(bulkWritableSoftwareVersionRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimVirtualChassisBulkUpdate(context.Background()).BulkWritableVirtualChassisRequest(bulkWritableVirtualChassisRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareVersionsBulkUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualChassisBulkUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimSoftwareVersionsBulkUpdate`: []SoftwareVersion
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareVersionsBulkUpdate`: %v\n", resp)
+ // response from `DcimVirtualChassisBulkUpdate`: []VirtualChassis
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimVirtualChassisBulkUpdate`: %v\n", resp)
}
```
@@ -42848,17 +43542,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimSoftwareVersionsBulkUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimVirtualChassisBulkUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **bulkWritableSoftwareVersionRequest** | [**[]BulkWritableSoftwareVersionRequest**](BulkWritableSoftwareVersionRequest.md) | |
+ **bulkWritableVirtualChassisRequest** | [**[]BulkWritableVirtualChassisRequest**](BulkWritableVirtualChassisRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]SoftwareVersion**](SoftwareVersion.md)
+[**[]VirtualChassis**](VirtualChassis.md)
### Authorization
@@ -42874,9 +43568,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimSoftwareVersionsCreate
+## DcimVirtualChassisCreate
-> SoftwareVersion DcimSoftwareVersionsCreate(ctx).SoftwareVersionRequest(softwareVersionRequest).Format(format).Execute()
+> VirtualChassis DcimVirtualChassisCreate(ctx).VirtualChassisRequest(virtualChassisRequest).Format(format).Execute()
@@ -42895,18 +43589,18 @@ import (
)
func main() {
- softwareVersionRequest := *openapiclient.NewSoftwareVersionRequest("Version_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // SoftwareVersionRequest |
+ virtualChassisRequest := *openapiclient.NewVirtualChassisRequest("Name_example") // VirtualChassisRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimSoftwareVersionsCreate(context.Background()).SoftwareVersionRequest(softwareVersionRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimVirtualChassisCreate(context.Background()).VirtualChassisRequest(virtualChassisRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareVersionsCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualChassisCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimSoftwareVersionsCreate`: SoftwareVersion
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareVersionsCreate`: %v\n", resp)
+ // response from `DcimVirtualChassisCreate`: VirtualChassis
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimVirtualChassisCreate`: %v\n", resp)
}
```
@@ -42916,17 +43610,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimSoftwareVersionsCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimVirtualChassisCreateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **softwareVersionRequest** | [**SoftwareVersionRequest**](SoftwareVersionRequest.md) | |
+ **virtualChassisRequest** | [**VirtualChassisRequest**](VirtualChassisRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**SoftwareVersion**](SoftwareVersion.md)
+[**VirtualChassis**](VirtualChassis.md)
### Authorization
@@ -42942,9 +43636,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimSoftwareVersionsDestroy
+## DcimVirtualChassisDestroy
-> DcimSoftwareVersionsDestroy(ctx, id).Format(format).Execute()
+> DcimVirtualChassisDestroy(ctx, id).Format(format).Execute()
@@ -42963,14 +43657,14 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this software version.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this virtual chassis.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimSoftwareVersionsDestroy(context.Background(), id).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimVirtualChassisDestroy(context.Background(), id).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareVersionsDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualChassisDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -42982,11 +43676,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this software version. |
+**id** | **string** | A UUID string identifying this virtual chassis. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimSoftwareVersionsDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimVirtualChassisDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -43012,9 +43706,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimSoftwareVersionsList
+## DcimVirtualChassisList
-> PaginatedSoftwareVersionList DcimSoftwareVersionsList(ctx).Alias(alias).AliasIc(aliasIc).AliasIe(aliasIe).AliasIew(aliasIew).AliasIre(aliasIre).AliasIsw(aliasIsw).AliasN(aliasN).AliasNic(aliasNic).AliasNie(aliasNie).AliasNiew(aliasNiew).AliasNire(aliasNire).AliasNisw(aliasNisw).AliasNre(aliasNre).AliasRe(aliasRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DeviceTypes(deviceTypes).DeviceTypesIsnull(deviceTypesIsnull).DeviceTypesN(deviceTypesN).Devices(devices).DevicesIsnull(devicesIsnull).DevicesN(devicesN).DocumentationUrl(documentationUrl).DocumentationUrlIc(documentationUrlIc).DocumentationUrlIe(documentationUrlIe).DocumentationUrlIew(documentationUrlIew).DocumentationUrlIre(documentationUrlIre).DocumentationUrlIsw(documentationUrlIsw).DocumentationUrlN(documentationUrlN).DocumentationUrlNic(documentationUrlNic).DocumentationUrlNie(documentationUrlNie).DocumentationUrlNiew(documentationUrlNiew).DocumentationUrlNire(documentationUrlNire).DocumentationUrlNisw(documentationUrlNisw).DocumentationUrlNre(documentationUrlNre).DocumentationUrlRe(documentationUrlRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).EndOfSupportDate(endOfSupportDate).EndOfSupportDateGt(endOfSupportDateGt).EndOfSupportDateGte(endOfSupportDateGte).EndOfSupportDateIsnull(endOfSupportDateIsnull).EndOfSupportDateLt(endOfSupportDateLt).EndOfSupportDateLte(endOfSupportDateLte).EndOfSupportDateN(endOfSupportDateN).Format(format).HasDevices(hasDevices).HasInventoryItems(hasInventoryItems).HasSoftwareImageFiles(hasSoftwareImageFiles).HasVirtualMachines(hasVirtualMachines).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).InventoryItems(inventoryItems).InventoryItemsIsnull(inventoryItemsIsnull).InventoryItemsN(inventoryItemsN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).LongTermSupport(longTermSupport).Offset(offset).Platform(platform).PlatformN(platformN).PreRelease(preRelease).Q(q).ReleaseDate(releaseDate).ReleaseDateGt(releaseDateGt).ReleaseDateGte(releaseDateGte).ReleaseDateIsnull(releaseDateIsnull).ReleaseDateLt(releaseDateLt).ReleaseDateLte(releaseDateLte).ReleaseDateN(releaseDateN).SoftwareImageFiles(softwareImageFiles).SoftwareImageFilesIsnull(softwareImageFilesIsnull).SoftwareImageFilesN(softwareImageFilesN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Version(version).VersionIc(versionIc).VersionIe(versionIe).VersionIew(versionIew).VersionIre(versionIre).VersionIsw(versionIsw).VersionN(versionN).VersionNic(versionNic).VersionNie(versionNie).VersionNiew(versionNiew).VersionNire(versionNire).VersionNisw(versionNisw).VersionNre(versionNre).VersionRe(versionRe).VirtualMachines(virtualMachines).VirtualMachinesIsnull(virtualMachinesIsnull).VirtualMachinesN(virtualMachinesN).Depth(depth).Execute()
+> PaginatedVirtualChassisList DcimVirtualChassisList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Domain(domain).DomainIc(domainIc).DomainIe(domainIe).DomainIew(domainIew).DomainIre(domainIre).DomainIsw(domainIsw).DomainN(domainN).DomainNic(domainNic).DomainNie(domainNie).DomainNiew(domainNiew).DomainNire(domainNire).DomainNisw(domainNisw).DomainNre(domainNre).DomainRe(domainRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasMembers(hasMembers).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).Master(master).MasterIsnull(masterIsnull).MasterN(masterN).Members(members).MembersIsnull(membersIsnull).MembersN(membersN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -43034,23 +43728,9 @@ import (
)
func main() {
- alias := []string{"Inner_example"} // []string | (optional)
- aliasIc := []string{"Inner_example"} // []string | (optional)
- aliasIe := []string{"Inner_example"} // []string | (optional)
- aliasIew := []string{"Inner_example"} // []string | (optional)
- aliasIre := []string{"Inner_example"} // []string | (optional)
- aliasIsw := []string{"Inner_example"} // []string | (optional)
- aliasN := []string{"Inner_example"} // []string | (optional)
- aliasNic := []string{"Inner_example"} // []string | (optional)
- aliasNie := []string{"Inner_example"} // []string | (optional)
- aliasNiew := []string{"Inner_example"} // []string | (optional)
- aliasNire := []string{"Inner_example"} // []string | (optional)
- aliasNisw := []string{"Inner_example"} // []string | (optional)
- aliasNre := []string{"Inner_example"} // []string | (optional)
- aliasRe := []string{"Inner_example"} // []string | (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -43058,57 +43738,26 @@ func main() {
createdLt := []time.Time{time.Now()} // []time.Time | (optional)
createdLte := []time.Time{time.Now()} // []time.Time | (optional)
createdN := []time.Time{time.Now()} // []time.Time | (optional)
- deviceTypes := []string{"Inner_example"} // []string | (optional)
- deviceTypesIsnull := true // bool | Device types (model or ID) is null (optional)
- deviceTypesN := []string{"Inner_example"} // []string | (optional)
- devices := []string{"Inner_example"} // []string | (optional)
- devicesIsnull := true // bool | Devices (name or ID) is null (optional)
- devicesN := []string{"Inner_example"} // []string | (optional)
- documentationUrl := []string{"Inner_example"} // []string | (optional)
- documentationUrlIc := []string{"Inner_example"} // []string | (optional)
- documentationUrlIe := []string{"Inner_example"} // []string | (optional)
- documentationUrlIew := []string{"Inner_example"} // []string | (optional)
- documentationUrlIre := []string{"Inner_example"} // []string | (optional)
- documentationUrlIsw := []string{"Inner_example"} // []string | (optional)
- documentationUrlN := []string{"Inner_example"} // []string | (optional)
- documentationUrlNic := []string{"Inner_example"} // []string | (optional)
- documentationUrlNie := []string{"Inner_example"} // []string | (optional)
- documentationUrlNiew := []string{"Inner_example"} // []string | (optional)
- documentationUrlNire := []string{"Inner_example"} // []string | (optional)
- documentationUrlNisw := []string{"Inner_example"} // []string | (optional)
- documentationUrlNre := []string{"Inner_example"} // []string | (optional)
- documentationUrlRe := []string{"Inner_example"} // []string | (optional)
+ domain := []string{"Inner_example"} // []string | (optional)
+ domainIc := []string{"Inner_example"} // []string | (optional)
+ domainIe := []string{"Inner_example"} // []string | (optional)
+ domainIew := []string{"Inner_example"} // []string | (optional)
+ domainIre := []string{"Inner_example"} // []string | (optional)
+ domainIsw := []string{"Inner_example"} // []string | (optional)
+ domainN := []string{"Inner_example"} // []string | (optional)
+ domainNic := []string{"Inner_example"} // []string | (optional)
+ domainNie := []string{"Inner_example"} // []string | (optional)
+ domainNiew := []string{"Inner_example"} // []string | (optional)
+ domainNire := []string{"Inner_example"} // []string | (optional)
+ domainNisw := []string{"Inner_example"} // []string | (optional)
+ domainNre := []string{"Inner_example"} // []string | (optional)
+ domainRe := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
- endOfSupportDate := []string{time.Now()} // []string | (optional)
- endOfSupportDateGt := []string{time.Now()} // []string | (optional)
- endOfSupportDateGte := []string{time.Now()} // []string | (optional)
- endOfSupportDateIsnull := true // bool | (optional)
- endOfSupportDateLt := []string{time.Now()} // []string | (optional)
- endOfSupportDateLte := []string{time.Now()} // []string | (optional)
- endOfSupportDateN := []string{time.Now()} // []string | (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- hasDevices := true // bool | Has devices (optional)
- hasInventoryItems := true // bool | Has inventory items (optional)
- hasSoftwareImageFiles := true // bool | Has software image files (optional)
- hasVirtualMachines := true // bool | Has virtual machines (optional)
+ hasMembers := true // bool | Has device members (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
- inventoryItems := []string{"Inner_example"} // []string | (optional)
- inventoryItemsIsnull := true // bool | Inventory items (name or ID) is null (optional)
- inventoryItemsN := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -43117,59 +43766,52 @@ func main() {
lastUpdatedLte := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedN := []time.Time{time.Now()} // []time.Time | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
- longTermSupport := true // bool | (optional)
+ location := []string{"Inner_example"} // []string | (optional)
+ locationN := []string{"Inner_example"} // []string | (optional)
+ master := []string{"Inner_example"} // []string | (optional)
+ masterIsnull := true // bool | Master (name or ID) is null (optional)
+ masterN := []string{"Inner_example"} // []string | (optional)
+ members := []string{"Inner_example"} // []string | (optional)
+ membersIsnull := true // bool | Device members (name or ID) is null (optional)
+ membersN := []string{"Inner_example"} // []string | (optional)
+ name := []string{"Inner_example"} // []string | (optional)
+ nameIc := []string{"Inner_example"} // []string | (optional)
+ nameIe := []string{"Inner_example"} // []string | (optional)
+ nameIew := []string{"Inner_example"} // []string | (optional)
+ nameIre := []string{"Inner_example"} // []string | (optional)
+ nameIsw := []string{"Inner_example"} // []string | (optional)
+ nameN := []string{"Inner_example"} // []string | (optional)
+ nameNic := []string{"Inner_example"} // []string | (optional)
+ nameNie := []string{"Inner_example"} // []string | (optional)
+ nameNiew := []string{"Inner_example"} // []string | (optional)
+ nameNire := []string{"Inner_example"} // []string | (optional)
+ nameNisw := []string{"Inner_example"} // []string | (optional)
+ nameNre := []string{"Inner_example"} // []string | (optional)
+ nameRe := []string{"Inner_example"} // []string | (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- platform := []string{"Inner_example"} // []string | (optional)
- platformN := []string{"Inner_example"} // []string | (optional)
- preRelease := true // bool | (optional)
q := "q_example" // string | Search (optional)
- releaseDate := []string{time.Now()} // []string | (optional)
- releaseDateGt := []string{time.Now()} // []string | (optional)
- releaseDateGte := []string{time.Now()} // []string | (optional)
- releaseDateIsnull := true // bool | (optional)
- releaseDateLt := []string{time.Now()} // []string | (optional)
- releaseDateLte := []string{time.Now()} // []string | (optional)
- releaseDateN := []string{time.Now()} // []string | (optional)
- softwareImageFiles := []string{"Inner_example"} // []string | (optional)
- softwareImageFilesIsnull := true // bool | Software image files (image file name or ID) is null (optional)
- softwareImageFilesN := []string{"Inner_example"} // []string | (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
- status := []string{"Inner_example"} // []string | (optional)
- statusN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Status (name or ID) (optional)
tags := []string{"Inner_example"} // []string | (optional)
tagsIsnull := true // bool | (optional)
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
- version := []string{"Inner_example"} // []string | (optional)
- versionIc := []string{"Inner_example"} // []string | (optional)
- versionIe := []string{"Inner_example"} // []string | (optional)
- versionIew := []string{"Inner_example"} // []string | (optional)
- versionIre := []string{"Inner_example"} // []string | (optional)
- versionIsw := []string{"Inner_example"} // []string | (optional)
- versionN := []string{"Inner_example"} // []string | (optional)
- versionNic := []string{"Inner_example"} // []string | (optional)
- versionNie := []string{"Inner_example"} // []string | (optional)
- versionNiew := []string{"Inner_example"} // []string | (optional)
- versionNire := []string{"Inner_example"} // []string | (optional)
- versionNisw := []string{"Inner_example"} // []string | (optional)
- versionNre := []string{"Inner_example"} // []string | (optional)
- versionRe := []string{"Inner_example"} // []string | (optional)
- virtualMachines := []string{"Inner_example"} // []string | (optional)
- virtualMachinesIsnull := true // bool | Virtual machines (name or ID) is null (optional)
- virtualMachinesN := []string{"Inner_example"} // []string | (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
+ tenant := []string{"Inner_example"} // []string | (optional)
+ tenantIsnull := true // bool | Tenant (name or ID) is null (optional)
+ tenantN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimSoftwareVersionsList(context.Background()).Alias(alias).AliasIc(aliasIc).AliasIe(aliasIe).AliasIew(aliasIew).AliasIre(aliasIre).AliasIsw(aliasIsw).AliasN(aliasN).AliasNic(aliasNic).AliasNie(aliasNie).AliasNiew(aliasNiew).AliasNire(aliasNire).AliasNisw(aliasNisw).AliasNre(aliasNre).AliasRe(aliasRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DeviceTypes(deviceTypes).DeviceTypesIsnull(deviceTypesIsnull).DeviceTypesN(deviceTypesN).Devices(devices).DevicesIsnull(devicesIsnull).DevicesN(devicesN).DocumentationUrl(documentationUrl).DocumentationUrlIc(documentationUrlIc).DocumentationUrlIe(documentationUrlIe).DocumentationUrlIew(documentationUrlIew).DocumentationUrlIre(documentationUrlIre).DocumentationUrlIsw(documentationUrlIsw).DocumentationUrlN(documentationUrlN).DocumentationUrlNic(documentationUrlNic).DocumentationUrlNie(documentationUrlNie).DocumentationUrlNiew(documentationUrlNiew).DocumentationUrlNire(documentationUrlNire).DocumentationUrlNisw(documentationUrlNisw).DocumentationUrlNre(documentationUrlNre).DocumentationUrlRe(documentationUrlRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).EndOfSupportDate(endOfSupportDate).EndOfSupportDateGt(endOfSupportDateGt).EndOfSupportDateGte(endOfSupportDateGte).EndOfSupportDateIsnull(endOfSupportDateIsnull).EndOfSupportDateLt(endOfSupportDateLt).EndOfSupportDateLte(endOfSupportDateLte).EndOfSupportDateN(endOfSupportDateN).Format(format).HasDevices(hasDevices).HasInventoryItems(hasInventoryItems).HasSoftwareImageFiles(hasSoftwareImageFiles).HasVirtualMachines(hasVirtualMachines).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).InventoryItems(inventoryItems).InventoryItemsIsnull(inventoryItemsIsnull).InventoryItemsN(inventoryItemsN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).LongTermSupport(longTermSupport).Offset(offset).Platform(platform).PlatformN(platformN).PreRelease(preRelease).Q(q).ReleaseDate(releaseDate).ReleaseDateGt(releaseDateGt).ReleaseDateGte(releaseDateGte).ReleaseDateIsnull(releaseDateIsnull).ReleaseDateLt(releaseDateLt).ReleaseDateLte(releaseDateLte).ReleaseDateN(releaseDateN).SoftwareImageFiles(softwareImageFiles).SoftwareImageFilesIsnull(softwareImageFilesIsnull).SoftwareImageFilesN(softwareImageFilesN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Version(version).VersionIc(versionIc).VersionIe(versionIe).VersionIew(versionIew).VersionIre(versionIre).VersionIsw(versionIsw).VersionN(versionN).VersionNic(versionNic).VersionNie(versionNie).VersionNiew(versionNiew).VersionNire(versionNire).VersionNisw(versionNisw).VersionNre(versionNre).VersionRe(versionRe).VirtualMachines(virtualMachines).VirtualMachinesIsnull(virtualMachinesIsnull).VirtualMachinesN(virtualMachinesN).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimVirtualChassisList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Domain(domain).DomainIc(domainIc).DomainIe(domainIe).DomainIew(domainIew).DomainIre(domainIre).DomainIsw(domainIsw).DomainN(domainN).DomainNic(domainNic).DomainNie(domainNie).DomainNiew(domainNiew).DomainNire(domainNire).DomainNisw(domainNisw).DomainNre(domainNre).DomainRe(domainRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasMembers(hasMembers).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).Master(master).MasterIsnull(masterIsnull).MasterN(masterN).Members(members).MembersIsnull(membersIsnull).MembersN(membersN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareVersionsList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualChassisList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimSoftwareVersionsList`: PaginatedSoftwareVersionList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareVersionsList`: %v\n", resp)
+ // response from `DcimVirtualChassisList`: PaginatedVirtualChassisList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimVirtualChassisList`: %v\n", resp)
}
```
@@ -43179,28 +43821,14 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimSoftwareVersionsListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimVirtualChassisListRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **alias** | **[]string** | |
- **aliasIc** | **[]string** | |
- **aliasIe** | **[]string** | |
- **aliasIew** | **[]string** | |
- **aliasIre** | **[]string** | |
- **aliasIsw** | **[]string** | |
- **aliasN** | **[]string** | |
- **aliasNic** | **[]string** | |
- **aliasNie** | **[]string** | |
- **aliasNiew** | **[]string** | |
- **aliasNire** | **[]string** | |
- **aliasNisw** | **[]string** | |
- **aliasNre** | **[]string** | |
- **aliasRe** | **[]string** | |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -43208,57 +43836,26 @@ Name | Type | Description | Notes
**createdLt** | [**[]time.Time**](time.Time.md) | |
**createdLte** | [**[]time.Time**](time.Time.md) | |
**createdN** | [**[]time.Time**](time.Time.md) | |
- **deviceTypes** | **[]string** | |
- **deviceTypesIsnull** | **bool** | Device types (model or ID) is null |
- **deviceTypesN** | **[]string** | |
- **devices** | **[]string** | |
- **devicesIsnull** | **bool** | Devices (name or ID) is null |
- **devicesN** | **[]string** | |
- **documentationUrl** | **[]string** | |
- **documentationUrlIc** | **[]string** | |
- **documentationUrlIe** | **[]string** | |
- **documentationUrlIew** | **[]string** | |
- **documentationUrlIre** | **[]string** | |
- **documentationUrlIsw** | **[]string** | |
- **documentationUrlN** | **[]string** | |
- **documentationUrlNic** | **[]string** | |
- **documentationUrlNie** | **[]string** | |
- **documentationUrlNiew** | **[]string** | |
- **documentationUrlNire** | **[]string** | |
- **documentationUrlNisw** | **[]string** | |
- **documentationUrlNre** | **[]string** | |
- **documentationUrlRe** | **[]string** | |
+ **domain** | **[]string** | |
+ **domainIc** | **[]string** | |
+ **domainIe** | **[]string** | |
+ **domainIew** | **[]string** | |
+ **domainIre** | **[]string** | |
+ **domainIsw** | **[]string** | |
+ **domainN** | **[]string** | |
+ **domainNic** | **[]string** | |
+ **domainNie** | **[]string** | |
+ **domainNiew** | **[]string** | |
+ **domainNire** | **[]string** | |
+ **domainNisw** | **[]string** | |
+ **domainNre** | **[]string** | |
+ **domainRe** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
- **endOfSupportDate** | **[]string** | |
- **endOfSupportDateGt** | **[]string** | |
- **endOfSupportDateGte** | **[]string** | |
- **endOfSupportDateIsnull** | **bool** | |
- **endOfSupportDateLt** | **[]string** | |
- **endOfSupportDateLte** | **[]string** | |
- **endOfSupportDateN** | **[]string** | |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **hasDevices** | **bool** | Has devices |
- **hasInventoryItems** | **bool** | Has inventory items |
- **hasSoftwareImageFiles** | **bool** | Has software image files |
- **hasVirtualMachines** | **bool** | Has virtual machines |
+ **hasMembers** | **bool** | Has device members |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
- **inventoryItems** | **[]string** | |
- **inventoryItemsIsnull** | **bool** | Inventory items (name or ID) is null |
- **inventoryItemsN** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -43267,53 +43864,46 @@ Name | Type | Description | Notes
**lastUpdatedLte** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedN** | [**[]time.Time**](time.Time.md) | |
**limit** | **int32** | Number of results to return per page. |
- **longTermSupport** | **bool** | |
+ **location** | **[]string** | |
+ **locationN** | **[]string** | |
+ **master** | **[]string** | |
+ **masterIsnull** | **bool** | Master (name or ID) is null |
+ **masterN** | **[]string** | |
+ **members** | **[]string** | |
+ **membersIsnull** | **bool** | Device members (name or ID) is null |
+ **membersN** | **[]string** | |
+ **name** | **[]string** | |
+ **nameIc** | **[]string** | |
+ **nameIe** | **[]string** | |
+ **nameIew** | **[]string** | |
+ **nameIre** | **[]string** | |
+ **nameIsw** | **[]string** | |
+ **nameN** | **[]string** | |
+ **nameNic** | **[]string** | |
+ **nameNie** | **[]string** | |
+ **nameNiew** | **[]string** | |
+ **nameNire** | **[]string** | |
+ **nameNisw** | **[]string** | |
+ **nameNre** | **[]string** | |
+ **nameRe** | **[]string** | |
**offset** | **int32** | The initial index from which to return the results. |
- **platform** | **[]string** | |
- **platformN** | **[]string** | |
- **preRelease** | **bool** | |
**q** | **string** | Search |
- **releaseDate** | **[]string** | |
- **releaseDateGt** | **[]string** | |
- **releaseDateGte** | **[]string** | |
- **releaseDateIsnull** | **bool** | |
- **releaseDateLt** | **[]string** | |
- **releaseDateLte** | **[]string** | |
- **releaseDateN** | **[]string** | |
- **softwareImageFiles** | **[]string** | |
- **softwareImageFilesIsnull** | **bool** | Software image files (image file name or ID) is null |
- **softwareImageFilesN** | **[]string** | |
**sort** | **string** | Which field to use when ordering the results. |
- **status** | **[]string** | |
- **statusN** | **string** | Exclude Status (name or ID) |
**tags** | **[]string** | |
**tagsIsnull** | **bool** | |
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
- **version** | **[]string** | |
- **versionIc** | **[]string** | |
- **versionIe** | **[]string** | |
- **versionIew** | **[]string** | |
- **versionIre** | **[]string** | |
- **versionIsw** | **[]string** | |
- **versionN** | **[]string** | |
- **versionNic** | **[]string** | |
- **versionNie** | **[]string** | |
- **versionNiew** | **[]string** | |
- **versionNire** | **[]string** | |
- **versionNisw** | **[]string** | |
- **versionNre** | **[]string** | |
- **versionRe** | **[]string** | |
- **virtualMachines** | **[]string** | |
- **virtualMachinesIsnull** | **bool** | Virtual machines (name or ID) is null |
- **virtualMachinesN** | **[]string** | |
+ **teamsN** | **[]string** | |
+ **tenant** | **[]string** | |
+ **tenantIsnull** | **bool** | Tenant (name or ID) is null |
+ **tenantN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PaginatedSoftwareVersionList**](PaginatedSoftwareVersionList.md)
+[**PaginatedVirtualChassisList**](PaginatedVirtualChassisList.md)
### Authorization
@@ -43329,9 +43919,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimSoftwareVersionsNotesCreate
+## DcimVirtualChassisNotesCreate
-> Note DcimSoftwareVersionsNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+> Note DcimVirtualChassisNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
@@ -43350,19 +43940,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this software version.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this virtual chassis.
noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimSoftwareVersionsNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimVirtualChassisNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareVersionsNotesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualChassisNotesCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimSoftwareVersionsNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareVersionsNotesCreate`: %v\n", resp)
+ // response from `DcimVirtualChassisNotesCreate`: Note
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimVirtualChassisNotesCreate`: %v\n", resp)
}
```
@@ -43372,11 +43962,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this software version. |
+**id** | **string** | A UUID string identifying this virtual chassis. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimSoftwareVersionsNotesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimVirtualChassisNotesCreateRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -43403,9 +43993,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimSoftwareVersionsNotesList
+## DcimVirtualChassisNotesList
-> PaginatedNoteList DcimSoftwareVersionsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList DcimVirtualChassisNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -43424,21 +44014,22 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this software version.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this virtual chassis.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimSoftwareVersionsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimVirtualChassisNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareVersionsNotesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualChassisNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimSoftwareVersionsNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareVersionsNotesList`: %v\n", resp)
+ // response from `DcimVirtualChassisNotesList`: PaginatedNoteList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimVirtualChassisNotesList`: %v\n", resp)
}
```
@@ -43448,11 +44039,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this software version. |
+**id** | **string** | A UUID string identifying this virtual chassis. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimSoftwareVersionsNotesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimVirtualChassisNotesListRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -43462,6 +44053,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -43481,9 +44073,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimSoftwareVersionsPartialUpdate
+## DcimVirtualChassisPartialUpdate
-> SoftwareVersion DcimSoftwareVersionsPartialUpdate(ctx, id).Format(format).PatchedSoftwareVersionRequest(patchedSoftwareVersionRequest).Execute()
+> VirtualChassis DcimVirtualChassisPartialUpdate(ctx, id).Format(format).PatchedVirtualChassisRequest(patchedVirtualChassisRequest).Execute()
@@ -43502,19 +44094,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this software version.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this virtual chassis.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- patchedSoftwareVersionRequest := *openapiclient.NewPatchedSoftwareVersionRequest() // PatchedSoftwareVersionRequest | (optional)
+ patchedVirtualChassisRequest := *openapiclient.NewPatchedVirtualChassisRequest() // PatchedVirtualChassisRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimSoftwareVersionsPartialUpdate(context.Background(), id).Format(format).PatchedSoftwareVersionRequest(patchedSoftwareVersionRequest).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimVirtualChassisPartialUpdate(context.Background(), id).Format(format).PatchedVirtualChassisRequest(patchedVirtualChassisRequest).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareVersionsPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualChassisPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimSoftwareVersionsPartialUpdate`: SoftwareVersion
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareVersionsPartialUpdate`: %v\n", resp)
+ // response from `DcimVirtualChassisPartialUpdate`: VirtualChassis
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimVirtualChassisPartialUpdate`: %v\n", resp)
}
```
@@ -43524,22 +44116,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this software version. |
+**id** | **string** | A UUID string identifying this virtual chassis. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimSoftwareVersionsPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimVirtualChassisPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **patchedSoftwareVersionRequest** | [**PatchedSoftwareVersionRequest**](PatchedSoftwareVersionRequest.md) | |
+ **patchedVirtualChassisRequest** | [**PatchedVirtualChassisRequest**](PatchedVirtualChassisRequest.md) | |
### Return type
-[**SoftwareVersion**](SoftwareVersion.md)
+[**VirtualChassis**](VirtualChassis.md)
### Authorization
@@ -43555,9 +44147,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimSoftwareVersionsRetrieve
+## DcimVirtualChassisRetrieve
-> SoftwareVersion DcimSoftwareVersionsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> VirtualChassis DcimVirtualChassisRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -43576,19 +44168,20 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this software version.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this virtual chassis.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimSoftwareVersionsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimVirtualChassisRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareVersionsRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualChassisRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimSoftwareVersionsRetrieve`: SoftwareVersion
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareVersionsRetrieve`: %v\n", resp)
+ // response from `DcimVirtualChassisRetrieve`: VirtualChassis
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimVirtualChassisRetrieve`: %v\n", resp)
}
```
@@ -43598,11 +44191,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this software version. |
+**id** | **string** | A UUID string identifying this virtual chassis. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimSoftwareVersionsRetrieveRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimVirtualChassisRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -43610,10 +44203,11 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**SoftwareVersion**](SoftwareVersion.md)
+[**VirtualChassis**](VirtualChassis.md)
### Authorization
@@ -43629,9 +44223,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimSoftwareVersionsUpdate
+## DcimVirtualChassisUpdate
-> SoftwareVersion DcimSoftwareVersionsUpdate(ctx, id).SoftwareVersionRequest(softwareVersionRequest).Format(format).Execute()
+> VirtualChassis DcimVirtualChassisUpdate(ctx, id).VirtualChassisRequest(virtualChassisRequest).Format(format).Execute()
@@ -43650,19 +44244,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this software version.
- softwareVersionRequest := *openapiclient.NewSoftwareVersionRequest("Version_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // SoftwareVersionRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this virtual chassis.
+ virtualChassisRequest := *openapiclient.NewVirtualChassisRequest("Name_example") // VirtualChassisRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimSoftwareVersionsUpdate(context.Background(), id).SoftwareVersionRequest(softwareVersionRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimVirtualChassisUpdate(context.Background(), id).VirtualChassisRequest(virtualChassisRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimSoftwareVersionsUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualChassisUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimSoftwareVersionsUpdate`: SoftwareVersion
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimSoftwareVersionsUpdate`: %v\n", resp)
+ // response from `DcimVirtualChassisUpdate`: VirtualChassis
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimVirtualChassisUpdate`: %v\n", resp)
}
```
@@ -43672,22 +44266,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this software version. |
+**id** | **string** | A UUID string identifying this virtual chassis. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimSoftwareVersionsUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimVirtualChassisUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **softwareVersionRequest** | [**SoftwareVersionRequest**](SoftwareVersionRequest.md) | |
+ **virtualChassisRequest** | [**VirtualChassisRequest**](VirtualChassisRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**SoftwareVersion**](SoftwareVersion.md)
+[**VirtualChassis**](VirtualChassis.md)
### Authorization
@@ -43703,9 +44297,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimVirtualChassisBulkDestroy
+## DcimVirtualDeviceContextsBulkDestroy
-> DcimVirtualChassisBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+> DcimVirtualDeviceContextsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
@@ -43729,9 +44323,9 @@ func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimVirtualChassisBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimVirtualDeviceContextsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualChassisBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualDeviceContextsBulkDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -43743,7 +44337,7 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimVirtualChassisBulkDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimVirtualDeviceContextsBulkDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -43769,9 +44363,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimVirtualChassisBulkPartialUpdate
+## DcimVirtualDeviceContextsBulkPartialUpdate
-> []VirtualChassis DcimVirtualChassisBulkPartialUpdate(ctx).PatchedBulkWritableVirtualChassisRequest(patchedBulkWritableVirtualChassisRequest).Format(format).Execute()
+> []VirtualDeviceContext DcimVirtualDeviceContextsBulkPartialUpdate(ctx).PatchedBulkWritableVirtualDeviceContextRequest(patchedBulkWritableVirtualDeviceContextRequest).Format(format).Execute()
@@ -43790,18 +44384,18 @@ import (
)
func main() {
- patchedBulkWritableVirtualChassisRequest := []openapiclient.PatchedBulkWritableVirtualChassisRequest{*openapiclient.NewPatchedBulkWritableVirtualChassisRequest("Id_example")} // []PatchedBulkWritableVirtualChassisRequest |
+ patchedBulkWritableVirtualDeviceContextRequest := []openapiclient.PatchedBulkWritableVirtualDeviceContextRequest{*openapiclient.NewPatchedBulkWritableVirtualDeviceContextRequest("Id_example")} // []PatchedBulkWritableVirtualDeviceContextRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimVirtualChassisBulkPartialUpdate(context.Background()).PatchedBulkWritableVirtualChassisRequest(patchedBulkWritableVirtualChassisRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimVirtualDeviceContextsBulkPartialUpdate(context.Background()).PatchedBulkWritableVirtualDeviceContextRequest(patchedBulkWritableVirtualDeviceContextRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualChassisBulkPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualDeviceContextsBulkPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimVirtualChassisBulkPartialUpdate`: []VirtualChassis
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimVirtualChassisBulkPartialUpdate`: %v\n", resp)
+ // response from `DcimVirtualDeviceContextsBulkPartialUpdate`: []VirtualDeviceContext
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimVirtualDeviceContextsBulkPartialUpdate`: %v\n", resp)
}
```
@@ -43811,17 +44405,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimVirtualChassisBulkPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimVirtualDeviceContextsBulkPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **patchedBulkWritableVirtualChassisRequest** | [**[]PatchedBulkWritableVirtualChassisRequest**](PatchedBulkWritableVirtualChassisRequest.md) | |
+ **patchedBulkWritableVirtualDeviceContextRequest** | [**[]PatchedBulkWritableVirtualDeviceContextRequest**](PatchedBulkWritableVirtualDeviceContextRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]VirtualChassis**](VirtualChassis.md)
+[**[]VirtualDeviceContext**](VirtualDeviceContext.md)
### Authorization
@@ -43837,9 +44431,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimVirtualChassisBulkUpdate
+## DcimVirtualDeviceContextsBulkUpdate
-> []VirtualChassis DcimVirtualChassisBulkUpdate(ctx).BulkWritableVirtualChassisRequest(bulkWritableVirtualChassisRequest).Format(format).Execute()
+> []VirtualDeviceContext DcimVirtualDeviceContextsBulkUpdate(ctx).BulkWritableVirtualDeviceContextRequest(bulkWritableVirtualDeviceContextRequest).Format(format).Execute()
@@ -43858,18 +44452,18 @@ import (
)
func main() {
- bulkWritableVirtualChassisRequest := []openapiclient.BulkWritableVirtualChassisRequest{*openapiclient.NewBulkWritableVirtualChassisRequest("Id_example", "Name_example")} // []BulkWritableVirtualChassisRequest |
+ bulkWritableVirtualDeviceContextRequest := []openapiclient.BulkWritableVirtualDeviceContextRequest{*openapiclient.NewBulkWritableVirtualDeviceContextRequest("Id_example", "Name_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritableVirtualDeviceContextRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimVirtualChassisBulkUpdate(context.Background()).BulkWritableVirtualChassisRequest(bulkWritableVirtualChassisRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimVirtualDeviceContextsBulkUpdate(context.Background()).BulkWritableVirtualDeviceContextRequest(bulkWritableVirtualDeviceContextRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualChassisBulkUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualDeviceContextsBulkUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimVirtualChassisBulkUpdate`: []VirtualChassis
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimVirtualChassisBulkUpdate`: %v\n", resp)
+ // response from `DcimVirtualDeviceContextsBulkUpdate`: []VirtualDeviceContext
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimVirtualDeviceContextsBulkUpdate`: %v\n", resp)
}
```
@@ -43879,17 +44473,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimVirtualChassisBulkUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimVirtualDeviceContextsBulkUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **bulkWritableVirtualChassisRequest** | [**[]BulkWritableVirtualChassisRequest**](BulkWritableVirtualChassisRequest.md) | |
+ **bulkWritableVirtualDeviceContextRequest** | [**[]BulkWritableVirtualDeviceContextRequest**](BulkWritableVirtualDeviceContextRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]VirtualChassis**](VirtualChassis.md)
+[**[]VirtualDeviceContext**](VirtualDeviceContext.md)
### Authorization
@@ -43905,9 +44499,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimVirtualChassisCreate
+## DcimVirtualDeviceContextsCreate
-> VirtualChassis DcimVirtualChassisCreate(ctx).VirtualChassisRequest(virtualChassisRequest).Format(format).Execute()
+> VirtualDeviceContext DcimVirtualDeviceContextsCreate(ctx).VirtualDeviceContextRequest(virtualDeviceContextRequest).Format(format).Execute()
@@ -43926,18 +44520,18 @@ import (
)
func main() {
- virtualChassisRequest := *openapiclient.NewVirtualChassisRequest("Name_example") // VirtualChassisRequest |
+ virtualDeviceContextRequest := *openapiclient.NewVirtualDeviceContextRequest("Name_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // VirtualDeviceContextRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimVirtualChassisCreate(context.Background()).VirtualChassisRequest(virtualChassisRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimVirtualDeviceContextsCreate(context.Background()).VirtualDeviceContextRequest(virtualDeviceContextRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualChassisCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualDeviceContextsCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimVirtualChassisCreate`: VirtualChassis
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimVirtualChassisCreate`: %v\n", resp)
+ // response from `DcimVirtualDeviceContextsCreate`: VirtualDeviceContext
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimVirtualDeviceContextsCreate`: %v\n", resp)
}
```
@@ -43947,17 +44541,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimVirtualChassisCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimVirtualDeviceContextsCreateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **virtualChassisRequest** | [**VirtualChassisRequest**](VirtualChassisRequest.md) | |
+ **virtualDeviceContextRequest** | [**VirtualDeviceContextRequest**](VirtualDeviceContextRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**VirtualChassis**](VirtualChassis.md)
+[**VirtualDeviceContext**](VirtualDeviceContext.md)
### Authorization
@@ -43973,9 +44567,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimVirtualChassisDestroy
+## DcimVirtualDeviceContextsDestroy
-> DcimVirtualChassisDestroy(ctx, id).Format(format).Execute()
+> DcimVirtualDeviceContextsDestroy(ctx, id).Format(format).Execute()
@@ -43994,14 +44588,14 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this virtual chassis.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this virtual device context.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.DcimAPI.DcimVirtualChassisDestroy(context.Background(), id).Format(format).Execute()
+ r, err := apiClient.DcimAPI.DcimVirtualDeviceContextsDestroy(context.Background(), id).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualChassisDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualDeviceContextsDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -44013,11 +44607,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this virtual chassis. |
+**id** | **string** | A UUID string identifying this virtual device context. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimVirtualChassisDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimVirtualDeviceContextsDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -44043,9 +44637,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimVirtualChassisList
+## DcimVirtualDeviceContextsList
-> PaginatedVirtualChassisList DcimVirtualChassisList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Domain(domain).DomainIc(domainIc).DomainIe(domainIe).DomainIew(domainIew).DomainIre(domainIre).DomainIsw(domainIsw).DomainN(domainN).DomainNic(domainNic).DomainNie(domainNie).DomainNiew(domainNiew).DomainNire(domainNire).DomainNisw(domainNisw).DomainNre(domainNre).DomainRe(domainRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasMembers(hasMembers).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).Master(master).MasterIsnull(masterIsnull).MasterN(masterN).Members(members).MembersIsnull(membersIsnull).MembersN(membersN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).Depth(depth).Execute()
+> PaginatedVirtualDeviceContextList DcimVirtualDeviceContextsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DeviceN(deviceN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasInterfaces(hasInterfaces).HasPrimaryIp(hasPrimaryIp).Id(id).IdN(idN).Identifier(identifier).IdentifierGt(identifierGt).IdentifierGte(identifierGte).IdentifierIsnull(identifierIsnull).IdentifierLt(identifierLt).IdentifierLte(identifierLte).IdentifierN(identifierN).Interfaces(interfaces).InterfacesN(interfacesN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).PrimaryIp4(primaryIp4).PrimaryIp6(primaryIp6).Q(q).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -44067,7 +44661,7 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -44075,38 +44669,38 @@ func main() {
createdLt := []time.Time{time.Now()} // []time.Time | (optional)
createdLte := []time.Time{time.Now()} // []time.Time | (optional)
createdN := []time.Time{time.Now()} // []time.Time | (optional)
- domain := []string{"Inner_example"} // []string | (optional)
- domainIc := []string{"Inner_example"} // []string | (optional)
- domainIe := []string{"Inner_example"} // []string | (optional)
- domainIew := []string{"Inner_example"} // []string | (optional)
- domainIre := []string{"Inner_example"} // []string | (optional)
- domainIsw := []string{"Inner_example"} // []string | (optional)
- domainN := []string{"Inner_example"} // []string | (optional)
- domainNic := []string{"Inner_example"} // []string | (optional)
- domainNie := []string{"Inner_example"} // []string | (optional)
- domainNiew := []string{"Inner_example"} // []string | (optional)
- domainNire := []string{"Inner_example"} // []string | (optional)
- domainNisw := []string{"Inner_example"} // []string | (optional)
- domainNre := []string{"Inner_example"} // []string | (optional)
- domainRe := []string{"Inner_example"} // []string | (optional)
+ description := []string{"Inner_example"} // []string | (optional)
+ descriptionIc := []string{"Inner_example"} // []string | (optional)
+ descriptionIe := []string{"Inner_example"} // []string | (optional)
+ descriptionIew := []string{"Inner_example"} // []string | (optional)
+ descriptionIre := []string{"Inner_example"} // []string | (optional)
+ descriptionIsw := []string{"Inner_example"} // []string | (optional)
+ descriptionN := []string{"Inner_example"} // []string | (optional)
+ descriptionNic := []string{"Inner_example"} // []string | (optional)
+ descriptionNie := []string{"Inner_example"} // []string | (optional)
+ descriptionNiew := []string{"Inner_example"} // []string | (optional)
+ descriptionNire := []string{"Inner_example"} // []string | (optional)
+ descriptionNisw := []string{"Inner_example"} // []string | (optional)
+ descriptionNre := []string{"Inner_example"} // []string | (optional)
+ descriptionRe := []string{"Inner_example"} // []string | (optional)
+ device := []string{"Inner_example"} // []string | (optional)
+ deviceN := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- hasMembers := true // bool | Has device members (optional)
+ hasInterfaces := true // bool | Has Interfaces (optional)
+ hasPrimaryIp := true // bool | Has a primary IP (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
+ identifier := []int32{int32(123)} // []int32 | (optional)
+ identifierGt := []int32{int32(123)} // []int32 | (optional)
+ identifierGte := []int32{int32(123)} // []int32 | (optional)
+ identifierIsnull := true // bool | (optional)
+ identifierLt := []int32{int32(123)} // []int32 | (optional)
+ identifierLte := []int32{int32(123)} // []int32 | (optional)
+ identifierN := []int32{int32(123)} // []int32 | (optional)
+ interfaces := []string{"Inner_example"} // []string | (optional)
+ interfacesN := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -44115,14 +44709,6 @@ func main() {
lastUpdatedLte := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedN := []time.Time{time.Now()} // []time.Time | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
- location := []string{"Inner_example"} // []string | (optional)
- locationN := []string{"Inner_example"} // []string | (optional)
- master := []string{"Inner_example"} // []string | (optional)
- masterIsnull := true // bool | Master (name or ID) is null (optional)
- masterN := []string{"Inner_example"} // []string | (optional)
- members := []string{"Inner_example"} // []string | (optional)
- membersIsnull := true // bool | Device members (name or ID) is null (optional)
- membersN := []string{"Inner_example"} // []string | (optional)
name := []string{"Inner_example"} // []string | (optional)
nameIc := []string{"Inner_example"} // []string | (optional)
nameIe := []string{"Inner_example"} // []string | (optional)
@@ -44138,28 +44724,42 @@ func main() {
nameNre := []string{"Inner_example"} // []string | (optional)
nameRe := []string{"Inner_example"} // []string | (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
+ primaryIp4 := []string{"Inner_example"} // []string | Primary IPv4 Address (address or ID) (optional)
+ primaryIp6 := []string{"Inner_example"} // []string | Primary IPv6 Address (address or ID) (optional)
q := "q_example" // string | Search (optional)
+ role := []string{"Inner_example"} // []string | (optional)
+ roleIsnull := true // bool | Role (name or ID) is null (optional)
+ roleN := []string{"Inner_example"} // []string | (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
+ status := []string{"Inner_example"} // []string | (optional)
+ statusN := []string{"Inner_example"} // []string | (optional)
tags := []string{"Inner_example"} // []string | (optional)
tagsIsnull := true // bool | (optional)
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
tenant := []string{"Inner_example"} // []string | (optional)
tenantIsnull := true // bool | Tenant (name or ID) is null (optional)
tenantN := []string{"Inner_example"} // []string | (optional)
+ tenantGroup := []string{"Inner_example"} // []string | (optional)
+ tenantGroupIsnull := true // bool | Tenant Group (name or ID) is null (optional)
+ tenantGroupN := []string{"Inner_example"} // []string | (optional)
+ tenantId := []*string{"Inner_example"} // []*string | Tenant (ID) (deprecated, use \"tenant\" filter instead) (optional)
+ tenantIdIsnull := true // bool | Tenant (ID) (deprecated, use \"tenant\" filter instead) is null (optional)
+ tenantIdN := []*string{"Inner_example"} // []*string | Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead) (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimVirtualChassisList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Domain(domain).DomainIc(domainIc).DomainIe(domainIe).DomainIew(domainIew).DomainIre(domainIre).DomainIsw(domainIsw).DomainN(domainN).DomainNic(domainNic).DomainNie(domainNie).DomainNiew(domainNiew).DomainNire(domainNire).DomainNisw(domainNisw).DomainNre(domainNre).DomainRe(domainRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasMembers(hasMembers).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).Master(master).MasterIsnull(masterIsnull).MasterN(masterN).Members(members).MembersIsnull(membersIsnull).MembersN(membersN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimVirtualDeviceContextsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DeviceN(deviceN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasInterfaces(hasInterfaces).HasPrimaryIp(hasPrimaryIp).Id(id).IdN(idN).Identifier(identifier).IdentifierGt(identifierGt).IdentifierGte(identifierGte).IdentifierIsnull(identifierIsnull).IdentifierLt(identifierLt).IdentifierLte(identifierLte).IdentifierN(identifierN).Interfaces(interfaces).InterfacesN(interfacesN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).PrimaryIp4(primaryIp4).PrimaryIp6(primaryIp6).Q(q).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualChassisList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualDeviceContextsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimVirtualChassisList`: PaginatedVirtualChassisList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimVirtualChassisList`: %v\n", resp)
+ // response from `DcimVirtualDeviceContextsList`: PaginatedVirtualDeviceContextList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimVirtualDeviceContextsList`: %v\n", resp)
}
```
@@ -44169,14 +44769,14 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimVirtualChassisListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimVirtualDeviceContextsListRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -44184,38 +44784,38 @@ Name | Type | Description | Notes
**createdLt** | [**[]time.Time**](time.Time.md) | |
**createdLte** | [**[]time.Time**](time.Time.md) | |
**createdN** | [**[]time.Time**](time.Time.md) | |
- **domain** | **[]string** | |
- **domainIc** | **[]string** | |
- **domainIe** | **[]string** | |
- **domainIew** | **[]string** | |
- **domainIre** | **[]string** | |
- **domainIsw** | **[]string** | |
- **domainN** | **[]string** | |
- **domainNic** | **[]string** | |
- **domainNie** | **[]string** | |
- **domainNiew** | **[]string** | |
- **domainNire** | **[]string** | |
- **domainNisw** | **[]string** | |
- **domainNre** | **[]string** | |
- **domainRe** | **[]string** | |
+ **description** | **[]string** | |
+ **descriptionIc** | **[]string** | |
+ **descriptionIe** | **[]string** | |
+ **descriptionIew** | **[]string** | |
+ **descriptionIre** | **[]string** | |
+ **descriptionIsw** | **[]string** | |
+ **descriptionN** | **[]string** | |
+ **descriptionNic** | **[]string** | |
+ **descriptionNie** | **[]string** | |
+ **descriptionNiew** | **[]string** | |
+ **descriptionNire** | **[]string** | |
+ **descriptionNisw** | **[]string** | |
+ **descriptionNre** | **[]string** | |
+ **descriptionRe** | **[]string** | |
+ **device** | **[]string** | |
+ **deviceN** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **hasMembers** | **bool** | Has device members |
+ **hasInterfaces** | **bool** | Has Interfaces |
+ **hasPrimaryIp** | **bool** | Has a primary IP |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
+ **identifier** | **[]int32** | |
+ **identifierGt** | **[]int32** | |
+ **identifierGte** | **[]int32** | |
+ **identifierIsnull** | **bool** | |
+ **identifierLt** | **[]int32** | |
+ **identifierLte** | **[]int32** | |
+ **identifierN** | **[]int32** | |
+ **interfaces** | **[]string** | |
+ **interfacesN** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -44224,14 +44824,6 @@ Name | Type | Description | Notes
**lastUpdatedLte** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedN** | [**[]time.Time**](time.Time.md) | |
**limit** | **int32** | Number of results to return per page. |
- **location** | **[]string** | |
- **locationN** | **[]string** | |
- **master** | **[]string** | |
- **masterIsnull** | **bool** | Master (name or ID) is null |
- **masterN** | **[]string** | |
- **members** | **[]string** | |
- **membersIsnull** | **bool** | Device members (name or ID) is null |
- **membersN** | **[]string** | |
**name** | **[]string** | |
**nameIc** | **[]string** | |
**nameIe** | **[]string** | |
@@ -44247,22 +44839,36 @@ Name | Type | Description | Notes
**nameNre** | **[]string** | |
**nameRe** | **[]string** | |
**offset** | **int32** | The initial index from which to return the results. |
+ **primaryIp4** | **[]string** | Primary IPv4 Address (address or ID) |
+ **primaryIp6** | **[]string** | Primary IPv6 Address (address or ID) |
**q** | **string** | Search |
+ **role** | **[]string** | |
+ **roleIsnull** | **bool** | Role (name or ID) is null |
+ **roleN** | **[]string** | |
**sort** | **string** | Which field to use when ordering the results. |
+ **status** | **[]string** | |
+ **statusN** | **[]string** | |
**tags** | **[]string** | |
**tagsIsnull** | **bool** | |
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**tenant** | **[]string** | |
**tenantIsnull** | **bool** | Tenant (name or ID) is null |
**tenantN** | **[]string** | |
+ **tenantGroup** | **[]string** | |
+ **tenantGroupIsnull** | **bool** | Tenant Group (name or ID) is null |
+ **tenantGroupN** | **[]string** | |
+ **tenantId** | **[]string** | Tenant (ID) (deprecated, use \"tenant\" filter instead) |
+ **tenantIdIsnull** | **bool** | Tenant (ID) (deprecated, use \"tenant\" filter instead) is null |
+ **tenantIdN** | **[]string** | Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead) |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PaginatedVirtualChassisList**](PaginatedVirtualChassisList.md)
+[**PaginatedVirtualDeviceContextList**](PaginatedVirtualDeviceContextList.md)
### Authorization
@@ -44278,9 +44884,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimVirtualChassisNotesCreate
+## DcimVirtualDeviceContextsNotesCreate
-> Note DcimVirtualChassisNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+> Note DcimVirtualDeviceContextsNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
@@ -44299,19 +44905,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this virtual chassis.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this virtual device context.
noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimVirtualChassisNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimVirtualDeviceContextsNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualChassisNotesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualDeviceContextsNotesCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimVirtualChassisNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimVirtualChassisNotesCreate`: %v\n", resp)
+ // response from `DcimVirtualDeviceContextsNotesCreate`: Note
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimVirtualDeviceContextsNotesCreate`: %v\n", resp)
}
```
@@ -44321,11 +44927,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this virtual chassis. |
+**id** | **string** | A UUID string identifying this virtual device context. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimVirtualChassisNotesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimVirtualDeviceContextsNotesCreateRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -44352,9 +44958,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimVirtualChassisNotesList
+## DcimVirtualDeviceContextsNotesList
-> PaginatedNoteList DcimVirtualChassisNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList DcimVirtualDeviceContextsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -44373,21 +44979,22 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this virtual chassis.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this virtual device context.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimVirtualChassisNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimVirtualDeviceContextsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualChassisNotesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualDeviceContextsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimVirtualChassisNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimVirtualChassisNotesList`: %v\n", resp)
+ // response from `DcimVirtualDeviceContextsNotesList`: PaginatedNoteList
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimVirtualDeviceContextsNotesList`: %v\n", resp)
}
```
@@ -44397,11 +45004,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this virtual chassis. |
+**id** | **string** | A UUID string identifying this virtual device context. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimVirtualChassisNotesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimVirtualDeviceContextsNotesListRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -44411,6 +45018,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -44430,9 +45038,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimVirtualChassisPartialUpdate
+## DcimVirtualDeviceContextsPartialUpdate
-> VirtualChassis DcimVirtualChassisPartialUpdate(ctx, id).Format(format).PatchedVirtualChassisRequest(patchedVirtualChassisRequest).Execute()
+> VirtualDeviceContext DcimVirtualDeviceContextsPartialUpdate(ctx, id).Format(format).PatchedVirtualDeviceContextRequest(patchedVirtualDeviceContextRequest).Execute()
@@ -44451,19 +45059,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this virtual chassis.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this virtual device context.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- patchedVirtualChassisRequest := *openapiclient.NewPatchedVirtualChassisRequest() // PatchedVirtualChassisRequest | (optional)
+ patchedVirtualDeviceContextRequest := *openapiclient.NewPatchedVirtualDeviceContextRequest() // PatchedVirtualDeviceContextRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimVirtualChassisPartialUpdate(context.Background(), id).Format(format).PatchedVirtualChassisRequest(patchedVirtualChassisRequest).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimVirtualDeviceContextsPartialUpdate(context.Background(), id).Format(format).PatchedVirtualDeviceContextRequest(patchedVirtualDeviceContextRequest).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualChassisPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualDeviceContextsPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimVirtualChassisPartialUpdate`: VirtualChassis
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimVirtualChassisPartialUpdate`: %v\n", resp)
+ // response from `DcimVirtualDeviceContextsPartialUpdate`: VirtualDeviceContext
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimVirtualDeviceContextsPartialUpdate`: %v\n", resp)
}
```
@@ -44473,22 +45081,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this virtual chassis. |
+**id** | **string** | A UUID string identifying this virtual device context. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimVirtualChassisPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimVirtualDeviceContextsPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **patchedVirtualChassisRequest** | [**PatchedVirtualChassisRequest**](PatchedVirtualChassisRequest.md) | |
+ **patchedVirtualDeviceContextRequest** | [**PatchedVirtualDeviceContextRequest**](PatchedVirtualDeviceContextRequest.md) | |
### Return type
-[**VirtualChassis**](VirtualChassis.md)
+[**VirtualDeviceContext**](VirtualDeviceContext.md)
### Authorization
@@ -44504,9 +45112,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimVirtualChassisRetrieve
+## DcimVirtualDeviceContextsRetrieve
-> VirtualChassis DcimVirtualChassisRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> VirtualDeviceContext DcimVirtualDeviceContextsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -44525,19 +45133,20 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this virtual chassis.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this virtual device context.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimVirtualChassisRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimVirtualDeviceContextsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualChassisRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualDeviceContextsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimVirtualChassisRetrieve`: VirtualChassis
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimVirtualChassisRetrieve`: %v\n", resp)
+ // response from `DcimVirtualDeviceContextsRetrieve`: VirtualDeviceContext
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimVirtualDeviceContextsRetrieve`: %v\n", resp)
}
```
@@ -44547,11 +45156,11 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this virtual chassis. |
+**id** | **string** | A UUID string identifying this virtual device context. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimVirtualChassisRetrieveRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimVirtualDeviceContextsRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -44559,10 +45168,11 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**VirtualChassis**](VirtualChassis.md)
+[**VirtualDeviceContext**](VirtualDeviceContext.md)
### Authorization
@@ -44578,9 +45188,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## DcimVirtualChassisUpdate
+## DcimVirtualDeviceContextsUpdate
-> VirtualChassis DcimVirtualChassisUpdate(ctx, id).VirtualChassisRequest(virtualChassisRequest).Format(format).Execute()
+> VirtualDeviceContext DcimVirtualDeviceContextsUpdate(ctx, id).VirtualDeviceContextRequest(virtualDeviceContextRequest).Format(format).Execute()
@@ -44599,19 +45209,19 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this virtual chassis.
- virtualChassisRequest := *openapiclient.NewVirtualChassisRequest("Name_example") // VirtualChassisRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this virtual device context.
+ virtualDeviceContextRequest := *openapiclient.NewVirtualDeviceContextRequest("Name_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // VirtualDeviceContextRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.DcimAPI.DcimVirtualChassisUpdate(context.Background(), id).VirtualChassisRequest(virtualChassisRequest).Format(format).Execute()
+ resp, r, err := apiClient.DcimAPI.DcimVirtualDeviceContextsUpdate(context.Background(), id).VirtualDeviceContextRequest(virtualDeviceContextRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualChassisUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `DcimAPI.DcimVirtualDeviceContextsUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `DcimVirtualChassisUpdate`: VirtualChassis
- fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimVirtualChassisUpdate`: %v\n", resp)
+ // response from `DcimVirtualDeviceContextsUpdate`: VirtualDeviceContext
+ fmt.Fprintf(os.Stdout, "Response from `DcimAPI.DcimVirtualDeviceContextsUpdate`: %v\n", resp)
}
```
@@ -44621,22 +45231,22 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this virtual chassis. |
+**id** | **string** | A UUID string identifying this virtual device context. |
### Other Parameters
-Other parameters are passed through a pointer to a apiDcimVirtualChassisUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiDcimVirtualDeviceContextsUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **virtualChassisRequest** | [**VirtualChassisRequest**](VirtualChassisRequest.md) | |
+ **virtualDeviceContextRequest** | [**VirtualDeviceContextRequest**](VirtualDeviceContextRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**VirtualChassis**](VirtualChassis.md)
+[**VirtualDeviceContext**](VirtualDeviceContext.md)
### Authorization
diff --git a/docs/DcimLocationsListTimeZoneParameterInner.md b/docs/DcimLocationsListTimeZoneParameterInner.md
index 1d6ba9d3..9f43e8f6 100644
--- a/docs/DcimLocationsListTimeZoneParameterInner.md
+++ b/docs/DcimLocationsListTimeZoneParameterInner.md
@@ -201,6 +201,8 @@
* `AMERICA_COSTA_RICA` (value: `"America/Costa_Rica"`)
+* `AMERICA_COYHAIQUE` (value: `"America/Coyhaique"`)
+
* `AMERICA_CRESTON` (value: `"America/Creston"`)
* `AMERICA_CUIABA` (value: `"America/Cuiaba"`)
diff --git a/docs/Device.md b/docs/Device.md
index f3d2dddb..65a031e5 100644
--- a/docs/Device.md
+++ b/docs/Device.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -49,7 +49,7 @@ Name | Type | Description | Notes
### NewDevice
-`func NewDevice(id string, objectType string, display string, url string, naturalSlug string, deviceType BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus, role BulkWritableCableRequestStatus, location BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Device`
+`func NewDevice(objectType string, display string, url string, naturalSlug string, deviceType BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus, role BulkWritableCableRequestStatus, location BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Device`
NewDevice instantiates a new Device object
This constructor will assign default values to properties that have it defined,
@@ -83,6 +83,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *Device) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/DeviceBay.md b/docs/DeviceBay.md
index 043ae26f..1c6c67a7 100644
--- a/docs/DeviceBay.md
+++ b/docs/DeviceBay.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -24,7 +24,7 @@ Name | Type | Description | Notes
### NewDeviceBay
-`func NewDeviceBay(id string, objectType string, display string, url string, naturalSlug string, name string, device BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *DeviceBay`
+`func NewDeviceBay(objectType string, display string, url string, naturalSlug string, name string, device BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *DeviceBay`
NewDeviceBay instantiates a new DeviceBay object
This constructor will assign default values to properties that have it defined,
@@ -58,6 +58,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *DeviceBay) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/DeviceBayRequest.md b/docs/DeviceBayRequest.md
index aa4741cc..43ac298c 100644
--- a/docs/DeviceBayRequest.md
+++ b/docs/DeviceBayRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**Name** | **string** | |
**Label** | Pointer to **string** | Physical label | [optional]
**Description** | Pointer to **string** | | [optional]
@@ -32,6 +33,31 @@ NewDeviceBayRequestWithDefaults instantiates a new DeviceBayRequest object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *DeviceBayRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *DeviceBayRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *DeviceBayRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *DeviceBayRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetName
`func (o *DeviceBayRequest) GetName() string`
diff --git a/docs/DeviceBayTemplate.md b/docs/DeviceBayTemplate.md
index 90f20e0f..11768393 100644
--- a/docs/DeviceBayTemplate.md
+++ b/docs/DeviceBayTemplate.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -22,7 +22,7 @@ Name | Type | Description | Notes
### NewDeviceBayTemplate
-`func NewDeviceBayTemplate(id string, objectType string, display string, url string, naturalSlug string, notesUrl string, name string, deviceType BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, ) *DeviceBayTemplate`
+`func NewDeviceBayTemplate(objectType string, display string, url string, naturalSlug string, notesUrl string, name string, deviceType BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, ) *DeviceBayTemplate`
NewDeviceBayTemplate instantiates a new DeviceBayTemplate object
This constructor will assign default values to properties that have it defined,
@@ -56,6 +56,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *DeviceBayTemplate) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/DeviceBayTemplateRequest.md b/docs/DeviceBayTemplateRequest.md
index d2484c1f..2d257812 100644
--- a/docs/DeviceBayTemplateRequest.md
+++ b/docs/DeviceBayTemplateRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**Name** | **string** | |
**Label** | Pointer to **string** | Physical label | [optional]
**Description** | Pointer to **string** | | [optional]
@@ -30,6 +31,31 @@ NewDeviceBayTemplateRequestWithDefaults instantiates a new DeviceBayTemplateRequ
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *DeviceBayTemplateRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *DeviceBayTemplateRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *DeviceBayTemplateRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *DeviceBayTemplateRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetName
`func (o *DeviceBayTemplateRequest) GetName() string`
diff --git a/docs/DeviceFamily.md b/docs/DeviceFamily.md
index b0774103..0e39fd74 100644
--- a/docs/DeviceFamily.md
+++ b/docs/DeviceFamily.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -16,12 +16,13 @@ Name | Type | Description | Notes
**LastUpdated** | **NullableTime** | | [readonly]
**NotesUrl** | **string** | | [readonly]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
## Methods
### NewDeviceFamily
-`func NewDeviceFamily(id string, objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *DeviceFamily`
+`func NewDeviceFamily(objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *DeviceFamily`
NewDeviceFamily instantiates a new DeviceFamily object
This constructor will assign default values to properties that have it defined,
@@ -55,6 +56,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *DeviceFamily) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
@@ -311,6 +317,31 @@ SetCustomFields sets CustomFields field to given value.
HasCustomFields returns a boolean if a field has been set.
+### GetTags
+
+`func (o *DeviceFamily) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *DeviceFamily) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *DeviceFamily) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *DeviceFamily) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/DeviceFamilyRequest.md b/docs/DeviceFamilyRequest.md
index 47626cbf..014ebdbc 100644
--- a/docs/DeviceFamilyRequest.md
+++ b/docs/DeviceFamilyRequest.md
@@ -4,10 +4,12 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**Name** | **string** | |
**Description** | Pointer to **string** | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
## Methods
@@ -28,6 +30,31 @@ NewDeviceFamilyRequestWithDefaults instantiates a new DeviceFamilyRequest object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *DeviceFamilyRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *DeviceFamilyRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *DeviceFamilyRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *DeviceFamilyRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetName
`func (o *DeviceFamilyRequest) GetName() string`
@@ -123,6 +150,31 @@ SetRelationships sets Relationships field to given value.
HasRelationships returns a boolean if a field has been set.
+### GetTags
+
+`func (o *DeviceFamilyRequest) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *DeviceFamilyRequest) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *DeviceFamilyRequest) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *DeviceFamilyRequest) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/DeviceRedundancyGroup.md b/docs/DeviceRedundancyGroup.md
index 2611a16a..fa6eb4f4 100644
--- a/docs/DeviceRedundancyGroup.md
+++ b/docs/DeviceRedundancyGroup.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -25,7 +25,7 @@ Name | Type | Description | Notes
### NewDeviceRedundancyGroup
-`func NewDeviceRedundancyGroup(id string, objectType string, display string, url string, naturalSlug string, name string, status BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *DeviceRedundancyGroup`
+`func NewDeviceRedundancyGroup(objectType string, display string, url string, naturalSlug string, name string, status BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *DeviceRedundancyGroup`
NewDeviceRedundancyGroup instantiates a new DeviceRedundancyGroup object
This constructor will assign default values to properties that have it defined,
@@ -59,6 +59,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *DeviceRedundancyGroup) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/DeviceType.md b/docs/DeviceType.md
index 0bd1d699..6262f57c 100644
--- a/docs/DeviceType.md
+++ b/docs/DeviceType.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -31,7 +31,7 @@ Name | Type | Description | Notes
### NewDeviceType
-`func NewDeviceType(id string, objectType string, display string, url string, naturalSlug string, model string, manufacturer BulkWritableCableRequestStatus, softwareImageFiles []SoftwareImageFiles, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *DeviceType`
+`func NewDeviceType(objectType string, display string, url string, naturalSlug string, model string, manufacturer BulkWritableCableRequestStatus, softwareImageFiles []SoftwareImageFiles, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *DeviceType`
NewDeviceType instantiates a new DeviceType object
This constructor will assign default values to properties that have it defined,
@@ -65,6 +65,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *DeviceType) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/DeviceTypeToSoftwareImageFile.md b/docs/DeviceTypeToSoftwareImageFile.md
index fff76017..a8cab9cc 100644
--- a/docs/DeviceTypeToSoftwareImageFile.md
+++ b/docs/DeviceTypeToSoftwareImageFile.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
### NewDeviceTypeToSoftwareImageFile
-`func NewDeviceTypeToSoftwareImageFile(id string, objectType string, display string, url string, naturalSlug string, deviceType BulkWritableCableRequestStatus, softwareImageFile BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, ) *DeviceTypeToSoftwareImageFile`
+`func NewDeviceTypeToSoftwareImageFile(objectType string, display string, url string, naturalSlug string, deviceType BulkWritableCableRequestStatus, softwareImageFile BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, ) *DeviceTypeToSoftwareImageFile`
NewDeviceTypeToSoftwareImageFile instantiates a new DeviceTypeToSoftwareImageFile object
This constructor will assign default values to properties that have it defined,
@@ -52,6 +52,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *DeviceTypeToSoftwareImageFile) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/DeviceTypeToSoftwareImageFileRequest.md b/docs/DeviceTypeToSoftwareImageFileRequest.md
index 557467e0..dabb8370 100644
--- a/docs/DeviceTypeToSoftwareImageFileRequest.md
+++ b/docs/DeviceTypeToSoftwareImageFileRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**DeviceType** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
**SoftwareImageFile** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
@@ -26,6 +27,31 @@ NewDeviceTypeToSoftwareImageFileRequestWithDefaults instantiates a new DeviceTyp
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *DeviceTypeToSoftwareImageFileRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *DeviceTypeToSoftwareImageFileRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *DeviceTypeToSoftwareImageFileRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *DeviceTypeToSoftwareImageFileRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetDeviceType
`func (o *DeviceTypeToSoftwareImageFileRequest) GetDeviceType() BulkWritableCableRequestStatus`
diff --git a/docs/DynamicGroup.md b/docs/DynamicGroup.md
index 2247068c..615319cd 100644
--- a/docs/DynamicGroup.md
+++ b/docs/DynamicGroup.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -26,7 +26,7 @@ Name | Type | Description | Notes
### NewDynamicGroup
-`func NewDynamicGroup(id string, objectType string, display string, url string, naturalSlug string, contentType string, name string, children []BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *DynamicGroup`
+`func NewDynamicGroup(objectType string, display string, url string, naturalSlug string, contentType string, name string, children []BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *DynamicGroup`
NewDynamicGroup instantiates a new DynamicGroup object
This constructor will assign default values to properties that have it defined,
@@ -60,6 +60,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *DynamicGroup) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/DynamicGroupAssociatedObject.md b/docs/DynamicGroupAssociatedObject.md
index 05ced7e0..505583a9 100644
--- a/docs/DynamicGroupAssociatedObject.md
+++ b/docs/DynamicGroupAssociatedObject.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewDynamicGroupAssociatedObject
-`func NewDynamicGroupAssociatedObject(id string, objectType string, url string, ) *DynamicGroupAssociatedObject`
+`func NewDynamicGroupAssociatedObject(objectType string, url string, ) *DynamicGroupAssociatedObject`
NewDynamicGroupAssociatedObject instantiates a new DynamicGroupAssociatedObject object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *DynamicGroupAssociatedObject) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/DynamicGroupMembership.md b/docs/DynamicGroupMembership.md
index 10214331..3de5b668 100644
--- a/docs/DynamicGroupMembership.md
+++ b/docs/DynamicGroupMembership.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
### NewDynamicGroupMembership
-`func NewDynamicGroupMembership(id string, objectType string, display string, url string, naturalSlug string, operator OperatorEnum, weight int32, group BulkWritableCableRequestStatus, parentGroup BulkWritableCableRequestStatus, ) *DynamicGroupMembership`
+`func NewDynamicGroupMembership(objectType string, display string, url string, naturalSlug string, operator OperatorEnum, weight int32, group BulkWritableCableRequestStatus, parentGroup BulkWritableCableRequestStatus, ) *DynamicGroupMembership`
NewDynamicGroupMembership instantiates a new DynamicGroupMembership object
This constructor will assign default values to properties that have it defined,
@@ -52,6 +52,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *DynamicGroupMembership) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/DynamicGroupMembershipRequest.md b/docs/DynamicGroupMembershipRequest.md
index a508ac4e..c3ed26f0 100644
--- a/docs/DynamicGroupMembershipRequest.md
+++ b/docs/DynamicGroupMembershipRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**Operator** | [**OperatorEnum**](OperatorEnum.md) | |
**Weight** | **int32** | |
**Group** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
@@ -28,6 +29,31 @@ NewDynamicGroupMembershipRequestWithDefaults instantiates a new DynamicGroupMemb
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *DynamicGroupMembershipRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *DynamicGroupMembershipRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *DynamicGroupMembershipRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *DynamicGroupMembershipRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetOperator
`func (o *DynamicGroupMembershipRequest) GetOperator() OperatorEnum`
diff --git a/docs/DynamicGroupRequest.md b/docs/DynamicGroupRequest.md
index 2ba8daaf..cde0cf41 100644
--- a/docs/DynamicGroupRequest.md
+++ b/docs/DynamicGroupRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**ContentType** | **string** | |
**Name** | **string** | |
**Description** | Pointer to **string** | | [optional]
@@ -33,6 +34,31 @@ NewDynamicGroupRequestWithDefaults instantiates a new DynamicGroupRequest object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *DynamicGroupRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *DynamicGroupRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *DynamicGroupRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *DynamicGroupRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetContentType
`func (o *DynamicGroupRequest) GetContentType() string`
diff --git a/docs/ExportTemplate.md b/docs/ExportTemplate.md
index 0c0fbdc1..405285b9 100644
--- a/docs/ExportTemplate.md
+++ b/docs/ExportTemplate.md
@@ -4,14 +4,14 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
**NaturalSlug** | **string** | | [readonly]
**ContentType** | **string** | |
**OwnerContentType** | Pointer to **NullableString** | | [optional]
-**Owner** | [**NullableExportTemplateOwner**](ExportTemplateOwner.md) | | [readonly]
+**Owner** | [**NullableNestedGitRepository**](NestedGitRepository.md) | | [readonly]
**OwnerObjectId** | Pointer to **NullableString** | | [optional]
**Name** | **string** | |
**Description** | Pointer to **string** | | [optional]
@@ -26,7 +26,7 @@ Name | Type | Description | Notes
### NewExportTemplate
-`func NewExportTemplate(id string, objectType string, display string, url string, naturalSlug string, contentType string, owner NullableExportTemplateOwner, name string, templateCode string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *ExportTemplate`
+`func NewExportTemplate(objectType string, display string, url string, naturalSlug string, contentType string, owner NullableNestedGitRepository, name string, templateCode string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *ExportTemplate`
NewExportTemplate instantiates a new ExportTemplate object
This constructor will assign default values to properties that have it defined,
@@ -60,6 +60,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *ExportTemplate) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
@@ -198,20 +203,20 @@ HasOwnerContentType returns a boolean if a field has been set.
UnsetOwnerContentType ensures that no value is present for OwnerContentType, not even an explicit nil
### GetOwner
-`func (o *ExportTemplate) GetOwner() ExportTemplateOwner`
+`func (o *ExportTemplate) GetOwner() NestedGitRepository`
GetOwner returns the Owner field if non-nil, zero value otherwise.
### GetOwnerOk
-`func (o *ExportTemplate) GetOwnerOk() (*ExportTemplateOwner, bool)`
+`func (o *ExportTemplate) GetOwnerOk() (*NestedGitRepository, bool)`
GetOwnerOk returns a tuple with the Owner field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetOwner
-`func (o *ExportTemplate) SetOwner(v ExportTemplateOwner)`
+`func (o *ExportTemplate) SetOwner(v NestedGitRepository)`
SetOwner sets Owner field to given value.
diff --git a/docs/ExportTemplateRequest.md b/docs/ExportTemplateRequest.md
index 2ddf3d47..c7100a73 100644
--- a/docs/ExportTemplateRequest.md
+++ b/docs/ExportTemplateRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**ContentType** | **string** | |
**OwnerContentType** | Pointer to **NullableString** | | [optional]
**OwnerObjectId** | Pointer to **NullableString** | | [optional]
@@ -33,6 +34,31 @@ NewExportTemplateRequestWithDefaults instantiates a new ExportTemplateRequest ob
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *ExportTemplateRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *ExportTemplateRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *ExportTemplateRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *ExportTemplateRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetContentType
`func (o *ExportTemplateRequest) GetContentType() string`
diff --git a/docs/ExternalIntegration.md b/docs/ExternalIntegration.md
index 26a638cc..afed77c9 100644
--- a/docs/ExternalIntegration.md
+++ b/docs/ExternalIntegration.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -22,12 +22,13 @@ Name | Type | Description | Notes
**LastUpdated** | **NullableTime** | | [readonly]
**NotesUrl** | **string** | | [readonly]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
## Methods
### NewExternalIntegration
-`func NewExternalIntegration(id string, objectType string, display string, url string, naturalSlug string, name string, remoteUrl string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *ExternalIntegration`
+`func NewExternalIntegration(objectType string, display string, url string, naturalSlug string, name string, remoteUrl string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *ExternalIntegration`
NewExternalIntegration instantiates a new ExternalIntegration object
This constructor will assign default values to properties that have it defined,
@@ -61,6 +62,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *ExternalIntegration) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
@@ -492,6 +498,31 @@ SetCustomFields sets CustomFields field to given value.
HasCustomFields returns a boolean if a field has been set.
+### GetTags
+
+`func (o *ExternalIntegration) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *ExternalIntegration) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *ExternalIntegration) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *ExternalIntegration) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/ExternalIntegrationRequest.md b/docs/ExternalIntegrationRequest.md
index 179f77c0..eb60da75 100644
--- a/docs/ExternalIntegrationRequest.md
+++ b/docs/ExternalIntegrationRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**Name** | **string** | |
**RemoteUrl** | **string** | |
**VerifySsl** | Pointer to **bool** | Verify SSL certificates when connecting to the remote system | [optional]
@@ -15,6 +16,7 @@ Name | Type | Description | Notes
**SecretsGroup** | Pointer to [**NullableBulkWritableExternalIntegrationRequestSecretsGroup**](BulkWritableExternalIntegrationRequestSecretsGroup.md) | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
## Methods
@@ -35,6 +37,31 @@ NewExternalIntegrationRequestWithDefaults instantiates a new ExternalIntegration
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *ExternalIntegrationRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *ExternalIntegrationRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *ExternalIntegrationRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *ExternalIntegrationRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetName
`func (o *ExternalIntegrationRequest) GetName() string`
@@ -330,6 +357,31 @@ SetRelationships sets Relationships field to given value.
HasRelationships returns a boolean if a field has been set.
+### GetTags
+
+`func (o *ExternalIntegrationRequest) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *ExternalIntegrationRequest) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *ExternalIntegrationRequest) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *ExternalIntegrationRequest) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/ExtrasAPI.md b/docs/ExtrasAPI.md
index f07aa795..b061ab6e 100644
--- a/docs/ExtrasAPI.md
+++ b/docs/ExtrasAPI.md
@@ -195,6 +195,26 @@ Method | HTTP request | Description
[**ExtrasJobHooksUpdate**](ExtrasAPI.md#ExtrasJobHooksUpdate) | **Put** /extras/job-hooks/{id}/ |
[**ExtrasJobLogsList**](ExtrasAPI.md#ExtrasJobLogsList) | **Get** /extras/job-logs/ |
[**ExtrasJobLogsRetrieve**](ExtrasAPI.md#ExtrasJobLogsRetrieve) | **Get** /extras/job-logs/{id}/ |
+[**ExtrasJobQueueAssignmentsBulkDestroy**](ExtrasAPI.md#ExtrasJobQueueAssignmentsBulkDestroy) | **Delete** /extras/job-queue-assignments/ |
+[**ExtrasJobQueueAssignmentsBulkPartialUpdate**](ExtrasAPI.md#ExtrasJobQueueAssignmentsBulkPartialUpdate) | **Patch** /extras/job-queue-assignments/ |
+[**ExtrasJobQueueAssignmentsBulkUpdate**](ExtrasAPI.md#ExtrasJobQueueAssignmentsBulkUpdate) | **Put** /extras/job-queue-assignments/ |
+[**ExtrasJobQueueAssignmentsCreate**](ExtrasAPI.md#ExtrasJobQueueAssignmentsCreate) | **Post** /extras/job-queue-assignments/ |
+[**ExtrasJobQueueAssignmentsDestroy**](ExtrasAPI.md#ExtrasJobQueueAssignmentsDestroy) | **Delete** /extras/job-queue-assignments/{id}/ |
+[**ExtrasJobQueueAssignmentsList**](ExtrasAPI.md#ExtrasJobQueueAssignmentsList) | **Get** /extras/job-queue-assignments/ |
+[**ExtrasJobQueueAssignmentsPartialUpdate**](ExtrasAPI.md#ExtrasJobQueueAssignmentsPartialUpdate) | **Patch** /extras/job-queue-assignments/{id}/ |
+[**ExtrasJobQueueAssignmentsRetrieve**](ExtrasAPI.md#ExtrasJobQueueAssignmentsRetrieve) | **Get** /extras/job-queue-assignments/{id}/ |
+[**ExtrasJobQueueAssignmentsUpdate**](ExtrasAPI.md#ExtrasJobQueueAssignmentsUpdate) | **Put** /extras/job-queue-assignments/{id}/ |
+[**ExtrasJobQueuesBulkDestroy**](ExtrasAPI.md#ExtrasJobQueuesBulkDestroy) | **Delete** /extras/job-queues/ |
+[**ExtrasJobQueuesBulkPartialUpdate**](ExtrasAPI.md#ExtrasJobQueuesBulkPartialUpdate) | **Patch** /extras/job-queues/ |
+[**ExtrasJobQueuesBulkUpdate**](ExtrasAPI.md#ExtrasJobQueuesBulkUpdate) | **Put** /extras/job-queues/ |
+[**ExtrasJobQueuesCreate**](ExtrasAPI.md#ExtrasJobQueuesCreate) | **Post** /extras/job-queues/ |
+[**ExtrasJobQueuesDestroy**](ExtrasAPI.md#ExtrasJobQueuesDestroy) | **Delete** /extras/job-queues/{id}/ |
+[**ExtrasJobQueuesList**](ExtrasAPI.md#ExtrasJobQueuesList) | **Get** /extras/job-queues/ |
+[**ExtrasJobQueuesNotesCreate**](ExtrasAPI.md#ExtrasJobQueuesNotesCreate) | **Post** /extras/job-queues/{id}/notes/ |
+[**ExtrasJobQueuesNotesList**](ExtrasAPI.md#ExtrasJobQueuesNotesList) | **Get** /extras/job-queues/{id}/notes/ |
+[**ExtrasJobQueuesPartialUpdate**](ExtrasAPI.md#ExtrasJobQueuesPartialUpdate) | **Patch** /extras/job-queues/{id}/ |
+[**ExtrasJobQueuesRetrieve**](ExtrasAPI.md#ExtrasJobQueuesRetrieve) | **Get** /extras/job-queues/{id}/ |
+[**ExtrasJobQueuesUpdate**](ExtrasAPI.md#ExtrasJobQueuesUpdate) | **Put** /extras/job-queues/{id}/ |
[**ExtrasJobResultsBulkDestroy**](ExtrasAPI.md#ExtrasJobResultsBulkDestroy) | **Delete** /extras/job-results/ |
[**ExtrasJobResultsDestroy**](ExtrasAPI.md#ExtrasJobResultsDestroy) | **Delete** /extras/job-results/{id}/ |
[**ExtrasJobResultsList**](ExtrasAPI.md#ExtrasJobResultsList) | **Get** /extras/job-results/ |
@@ -257,8 +277,6 @@ Method | HTTP request | Description
[**ExtrasObjectMetadataCreate**](ExtrasAPI.md#ExtrasObjectMetadataCreate) | **Post** /extras/object-metadata/ |
[**ExtrasObjectMetadataDestroy**](ExtrasAPI.md#ExtrasObjectMetadataDestroy) | **Delete** /extras/object-metadata/{id}/ |
[**ExtrasObjectMetadataList**](ExtrasAPI.md#ExtrasObjectMetadataList) | **Get** /extras/object-metadata/ |
-[**ExtrasObjectMetadataNotesCreate**](ExtrasAPI.md#ExtrasObjectMetadataNotesCreate) | **Post** /extras/object-metadata/{id}/notes/ |
-[**ExtrasObjectMetadataNotesList**](ExtrasAPI.md#ExtrasObjectMetadataNotesList) | **Get** /extras/object-metadata/{id}/notes/ |
[**ExtrasObjectMetadataPartialUpdate**](ExtrasAPI.md#ExtrasObjectMetadataPartialUpdate) | **Patch** /extras/object-metadata/{id}/ |
[**ExtrasObjectMetadataRetrieve**](ExtrasAPI.md#ExtrasObjectMetadataRetrieve) | **Get** /extras/object-metadata/{id}/ |
[**ExtrasObjectMetadataUpdate**](ExtrasAPI.md#ExtrasObjectMetadataUpdate) | **Put** /extras/object-metadata/{id}/ |
@@ -303,7 +321,9 @@ Method | HTTP request | Description
[**ExtrasSavedViewsRetrieve**](ExtrasAPI.md#ExtrasSavedViewsRetrieve) | **Get** /extras/saved-views/{id}/ |
[**ExtrasSavedViewsUpdate**](ExtrasAPI.md#ExtrasSavedViewsUpdate) | **Put** /extras/saved-views/{id}/ |
[**ExtrasScheduledJobsApproveCreate**](ExtrasAPI.md#ExtrasScheduledJobsApproveCreate) | **Post** /extras/scheduled-jobs/{id}/approve/ |
+[**ExtrasScheduledJobsBulkDestroy**](ExtrasAPI.md#ExtrasScheduledJobsBulkDestroy) | **Delete** /extras/scheduled-jobs/ |
[**ExtrasScheduledJobsDenyCreate**](ExtrasAPI.md#ExtrasScheduledJobsDenyCreate) | **Post** /extras/scheduled-jobs/{id}/deny/ |
+[**ExtrasScheduledJobsDestroy**](ExtrasAPI.md#ExtrasScheduledJobsDestroy) | **Delete** /extras/scheduled-jobs/{id}/ |
[**ExtrasScheduledJobsDryRunCreate**](ExtrasAPI.md#ExtrasScheduledJobsDryRunCreate) | **Post** /extras/scheduled-jobs/{id}/dry-run/ |
[**ExtrasScheduledJobsList**](ExtrasAPI.md#ExtrasScheduledJobsList) | **Get** /extras/scheduled-jobs/ |
[**ExtrasScheduledJobsRetrieve**](ExtrasAPI.md#ExtrasScheduledJobsRetrieve) | **Get** /extras/scheduled-jobs/{id}/ |
@@ -748,7 +768,7 @@ Name | Type | Description | Notes
## ExtrasComputedFieldsList
-> PaginatedComputedFieldList ExtrasComputedFieldsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentType(contentType).ContentTypeN(contentTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).FallbackValue(fallbackValue).FallbackValueIc(fallbackValueIc).FallbackValueIe(fallbackValueIe).FallbackValueIew(fallbackValueIew).FallbackValueIre(fallbackValueIre).FallbackValueIsw(fallbackValueIsw).FallbackValueN(fallbackValueN).FallbackValueNic(fallbackValueNic).FallbackValueNie(fallbackValueNie).FallbackValueNiew(fallbackValueNiew).FallbackValueNire(fallbackValueNire).FallbackValueNisw(fallbackValueNisw).FallbackValueNre(fallbackValueNre).FallbackValueRe(fallbackValueRe).Format(format).Grouping(grouping).GroupingIc(groupingIc).GroupingIe(groupingIe).GroupingIew(groupingIew).GroupingIre(groupingIre).GroupingIsw(groupingIsw).GroupingN(groupingN).GroupingNic(groupingNic).GroupingNie(groupingNie).GroupingNiew(groupingNiew).GroupingNire(groupingNire).GroupingNisw(groupingNisw).GroupingNre(groupingNre).GroupingRe(groupingRe).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Key(key).KeyIc(keyIc).KeyIe(keyIe).KeyIew(keyIew).KeyIre(keyIre).KeyIsw(keyIsw).KeyN(keyN).KeyNic(keyNic).KeyNie(keyNie).KeyNiew(keyNiew).KeyNire(keyNire).KeyNisw(keyNisw).KeyNre(keyNre).KeyRe(keyRe).Limit(limit).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Template(template).TemplateIc(templateIc).TemplateIe(templateIe).TemplateIew(templateIew).TemplateIre(templateIre).TemplateIsw(templateIsw).TemplateN(templateN).TemplateNic(templateNic).TemplateNie(templateNie).TemplateNiew(templateNiew).TemplateNire(templateNire).TemplateNisw(templateNisw).TemplateNre(templateNre).TemplateRe(templateRe).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).Execute()
+> PaginatedComputedFieldList ExtrasComputedFieldsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentType(contentType).ContentTypeN(contentTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).FallbackValue(fallbackValue).FallbackValueIc(fallbackValueIc).FallbackValueIe(fallbackValueIe).FallbackValueIew(fallbackValueIew).FallbackValueIre(fallbackValueIre).FallbackValueIsw(fallbackValueIsw).FallbackValueN(fallbackValueN).FallbackValueNic(fallbackValueNic).FallbackValueNie(fallbackValueNie).FallbackValueNiew(fallbackValueNiew).FallbackValueNire(fallbackValueNire).FallbackValueNisw(fallbackValueNisw).FallbackValueNre(fallbackValueNre).FallbackValueRe(fallbackValueRe).Format(format).Grouping(grouping).GroupingIc(groupingIc).GroupingIe(groupingIe).GroupingIew(groupingIew).GroupingIre(groupingIre).GroupingIsw(groupingIsw).GroupingN(groupingN).GroupingNic(groupingNic).GroupingNie(groupingNie).GroupingNiew(groupingNiew).GroupingNire(groupingNire).GroupingNisw(groupingNisw).GroupingNre(groupingNre).GroupingRe(groupingRe).Id(id).IdN(idN).Key(key).KeyIc(keyIc).KeyIe(keyIe).KeyIew(keyIew).KeyIre(keyIre).KeyIsw(keyIsw).KeyN(keyN).KeyNic(keyNic).KeyNie(keyNie).KeyNiew(keyNiew).KeyNire(keyNire).KeyNisw(keyNisw).KeyNre(keyNre).KeyRe(keyRe).Limit(limit).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Template(template).TemplateIc(templateIc).TemplateIe(templateIe).TemplateIew(templateIew).TemplateIre(templateIre).TemplateIsw(templateIsw).TemplateN(templateN).TemplateNic(templateNic).TemplateNie(templateNie).TemplateNiew(templateNiew).TemplateNire(templateNire).TemplateNisw(templateNisw).TemplateNre(templateNre).TemplateRe(templateRe).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -769,11 +789,11 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
contentType := "contentType_example" // string | (optional)
contentTypeN := "contentTypeN_example" // string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
fallbackValue := []string{"Inner_example"} // []string | (optional)
fallbackValueIc := []string{"Inner_example"} // []string | (optional)
fallbackValueIe := []string{"Inner_example"} // []string | (optional)
@@ -804,19 +824,7 @@ func main() {
groupingNre := []string{"Inner_example"} // []string | (optional)
groupingRe := []string{"Inner_example"} // []string | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
key := []string{"Inner_example"} // []string | (optional)
keyIc := []string{"Inner_example"} // []string | (optional)
keyIe := []string{"Inner_example"} // []string | (optional)
@@ -837,7 +845,7 @@ func main() {
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
template := []string{"Inner_example"} // []string | (optional)
templateIc := []string{"Inner_example"} // []string | (optional)
templateIe := []string{"Inner_example"} // []string | (optional)
@@ -859,10 +867,11 @@ func main() {
weightLte := []int32{int32(123)} // []int32 | (optional)
weightN := []int32{int32(123)} // []int32 | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasComputedFieldsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentType(contentType).ContentTypeN(contentTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).FallbackValue(fallbackValue).FallbackValueIc(fallbackValueIc).FallbackValueIe(fallbackValueIe).FallbackValueIew(fallbackValueIew).FallbackValueIre(fallbackValueIre).FallbackValueIsw(fallbackValueIsw).FallbackValueN(fallbackValueN).FallbackValueNic(fallbackValueNic).FallbackValueNie(fallbackValueNie).FallbackValueNiew(fallbackValueNiew).FallbackValueNire(fallbackValueNire).FallbackValueNisw(fallbackValueNisw).FallbackValueNre(fallbackValueNre).FallbackValueRe(fallbackValueRe).Format(format).Grouping(grouping).GroupingIc(groupingIc).GroupingIe(groupingIe).GroupingIew(groupingIew).GroupingIre(groupingIre).GroupingIsw(groupingIsw).GroupingN(groupingN).GroupingNic(groupingNic).GroupingNie(groupingNie).GroupingNiew(groupingNiew).GroupingNire(groupingNire).GroupingNisw(groupingNisw).GroupingNre(groupingNre).GroupingRe(groupingRe).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Key(key).KeyIc(keyIc).KeyIe(keyIe).KeyIew(keyIew).KeyIre(keyIre).KeyIsw(keyIsw).KeyN(keyN).KeyNic(keyNic).KeyNie(keyNie).KeyNiew(keyNiew).KeyNire(keyNire).KeyNisw(keyNisw).KeyNre(keyNre).KeyRe(keyRe).Limit(limit).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Template(template).TemplateIc(templateIc).TemplateIe(templateIe).TemplateIew(templateIew).TemplateIre(templateIre).TemplateIsw(templateIsw).TemplateN(templateN).TemplateNic(templateNic).TemplateNie(templateNie).TemplateNiew(templateNiew).TemplateNire(templateNire).TemplateNisw(templateNisw).TemplateNre(templateNre).TemplateRe(templateRe).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasComputedFieldsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentType(contentType).ContentTypeN(contentTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).FallbackValue(fallbackValue).FallbackValueIc(fallbackValueIc).FallbackValueIe(fallbackValueIe).FallbackValueIew(fallbackValueIew).FallbackValueIre(fallbackValueIre).FallbackValueIsw(fallbackValueIsw).FallbackValueN(fallbackValueN).FallbackValueNic(fallbackValueNic).FallbackValueNie(fallbackValueNie).FallbackValueNiew(fallbackValueNiew).FallbackValueNire(fallbackValueNire).FallbackValueNisw(fallbackValueNisw).FallbackValueNre(fallbackValueNre).FallbackValueRe(fallbackValueRe).Format(format).Grouping(grouping).GroupingIc(groupingIc).GroupingIe(groupingIe).GroupingIew(groupingIew).GroupingIre(groupingIre).GroupingIsw(groupingIsw).GroupingN(groupingN).GroupingNic(groupingNic).GroupingNie(groupingNie).GroupingNiew(groupingNiew).GroupingNire(groupingNire).GroupingNisw(groupingNisw).GroupingNre(groupingNre).GroupingRe(groupingRe).Id(id).IdN(idN).Key(key).KeyIc(keyIc).KeyIe(keyIe).KeyIew(keyIew).KeyIre(keyIre).KeyIsw(keyIsw).KeyN(keyN).KeyNic(keyNic).KeyNie(keyNie).KeyNiew(keyNiew).KeyNire(keyNire).KeyNisw(keyNisw).KeyNre(keyNre).KeyRe(keyRe).Limit(limit).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Template(template).TemplateIc(templateIc).TemplateIe(templateIe).TemplateIew(templateIew).TemplateIre(templateIre).TemplateIsw(templateIsw).TemplateN(templateN).TemplateNic(templateNic).TemplateNie(templateNie).TemplateNiew(templateNiew).TemplateNire(templateNire).TemplateNisw(templateNisw).TemplateNre(templateNre).TemplateRe(templateRe).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasComputedFieldsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -885,11 +894,11 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**contentType** | **string** | |
**contentTypeN** | **string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**fallbackValue** | **[]string** | |
**fallbackValueIc** | **[]string** | |
**fallbackValueIe** | **[]string** | |
@@ -920,19 +929,7 @@ Name | Type | Description | Notes
**groupingNre** | **[]string** | |
**groupingRe** | **[]string** | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**key** | **[]string** | |
**keyIc** | **[]string** | |
**keyIe** | **[]string** | |
@@ -953,7 +950,7 @@ Name | Type | Description | Notes
**sort** | **string** | Which field to use when ordering the results. |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**template** | **[]string** | |
**templateIc** | **[]string** | |
**templateIe** | **[]string** | |
@@ -975,6 +972,7 @@ Name | Type | Description | Notes
**weightLte** | **[]int32** | |
**weightN** | **[]int32** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -1070,7 +1068,7 @@ Name | Type | Description | Notes
## ExtrasComputedFieldsNotesList
-> PaginatedNoteList ExtrasComputedFieldsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList ExtrasComputedFieldsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -1094,10 +1092,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasComputedFieldsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasComputedFieldsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasComputedFieldsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -1127,6 +1126,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -1222,7 +1222,7 @@ Name | Type | Description | Notes
## ExtrasComputedFieldsRetrieve
-> ComputedField ExtrasComputedFieldsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> ComputedField ExtrasComputedFieldsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -1244,10 +1244,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this computed field.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasComputedFieldsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasComputedFieldsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasComputedFieldsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -1275,6 +1276,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -1710,7 +1712,7 @@ Name | Type | Description | Notes
## ExtrasConfigContextSchemasList
-> PaginatedConfigContextSchemaList ExtrasConfigContextSchemasList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).OwnerContentType(ownerContentType).OwnerContentTypeIsnull(ownerContentTypeIsnull).OwnerContentTypeN(ownerContentTypeN).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedConfigContextSchemaList ExtrasConfigContextSchemasList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).OwnerContentType(ownerContentType).OwnerContentTypeIsnull(ownerContentTypeIsnull).OwnerContentTypeN(ownerContentTypeN).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -1731,7 +1733,7 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
description := []string{"Inner_example"} // []string | (optional)
descriptionIc := []string{"Inner_example"} // []string | (optional)
descriptionIe := []string{"Inner_example"} // []string | (optional)
@@ -1747,22 +1749,10 @@ func main() {
descriptionNre := []string{"Inner_example"} // []string | (optional)
descriptionRe := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
name := []string{"Inner_example"} // []string | (optional)
nameIc := []string{"Inner_example"} // []string | (optional)
@@ -1786,12 +1776,13 @@ func main() {
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasConfigContextSchemasList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).OwnerContentType(ownerContentType).OwnerContentTypeIsnull(ownerContentTypeIsnull).OwnerContentTypeN(ownerContentTypeN).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasConfigContextSchemasList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).OwnerContentType(ownerContentType).OwnerContentTypeIsnull(ownerContentTypeIsnull).OwnerContentTypeN(ownerContentTypeN).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasConfigContextSchemasList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -1814,7 +1805,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**description** | **[]string** | |
**descriptionIc** | **[]string** | |
**descriptionIe** | **[]string** | |
@@ -1830,22 +1821,10 @@ Name | Type | Description | Notes
**descriptionNre** | **[]string** | |
**descriptionRe** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**limit** | **int32** | Number of results to return per page. |
**name** | **[]string** | |
**nameIc** | **[]string** | |
@@ -1869,8 +1848,9 @@ Name | Type | Description | Notes
**sort** | **string** | Which field to use when ordering the results. |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -1966,7 +1946,7 @@ Name | Type | Description | Notes
## ExtrasConfigContextSchemasNotesList
-> PaginatedNoteList ExtrasConfigContextSchemasNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList ExtrasConfigContextSchemasNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -1990,10 +1970,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasConfigContextSchemasNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasConfigContextSchemasNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasConfigContextSchemasNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -2023,6 +2004,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -2118,7 +2100,7 @@ Name | Type | Description | Notes
## ExtrasConfigContextSchemasRetrieve
-> ConfigContextSchema ExtrasConfigContextSchemasRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> ConfigContextSchema ExtrasConfigContextSchemasRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -2140,10 +2122,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this config context schema.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasConfigContextSchemasRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasConfigContextSchemasRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasConfigContextSchemasRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -2171,6 +2154,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -2606,7 +2590,7 @@ Name | Type | Description | Notes
## ExtrasConfigContextsList
-> PaginatedConfigContextList ExtrasConfigContextsList(ctx).ClusterGroup(clusterGroup).ClusterGroupN(clusterGroupN).ClusterGroupId(clusterGroupId).ClusterGroupIdN(clusterGroupIdN).ClusterId(clusterId).ClusterIdN(clusterIdN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).DeviceRedundancyGroup(deviceRedundancyGroup).DeviceRedundancyGroupN(deviceRedundancyGroupN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).IsActive(isActive).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).OwnerContentType(ownerContentType).OwnerContentTypeIsnull(ownerContentTypeIsnull).OwnerContentTypeN(ownerContentTypeN).OwnerObjectId(ownerObjectId).OwnerObjectIdIc(ownerObjectIdIc).OwnerObjectIdIe(ownerObjectIdIe).OwnerObjectIdIew(ownerObjectIdIew).OwnerObjectIdIre(ownerObjectIdIre).OwnerObjectIdIsnull(ownerObjectIdIsnull).OwnerObjectIdIsw(ownerObjectIdIsw).OwnerObjectIdN(ownerObjectIdN).OwnerObjectIdNic(ownerObjectIdNic).OwnerObjectIdNie(ownerObjectIdNie).OwnerObjectIdNiew(ownerObjectIdNiew).OwnerObjectIdNire(ownerObjectIdNire).OwnerObjectIdNisw(ownerObjectIdNisw).OwnerObjectIdNre(ownerObjectIdNre).OwnerObjectIdRe(ownerObjectIdRe).Platform(platform).PlatformN(platformN).PlatformId(platformId).PlatformIdN(platformIdN).Q(q).Role(role).RoleN(roleN).Schema(schema).SchemaIsnull(schemaIsnull).SchemaN(schemaN).Sort(sort).Tag(tag).TagN(tagN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).Depth(depth).Execute()
+> PaginatedConfigContextList ExtrasConfigContextsList(ctx).ClusterGroup(clusterGroup).ClusterGroupN(clusterGroupN).ClusterGroupId(clusterGroupId).ClusterGroupIdN(clusterGroupIdN).ClusterId(clusterId).ClusterIdN(clusterIdN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).DeviceRedundancyGroup(deviceRedundancyGroup).DeviceRedundancyGroupN(deviceRedundancyGroupN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Format(format).Id(id).IdN(idN).IsActive(isActive).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).OwnerContentType(ownerContentType).OwnerContentTypeIsnull(ownerContentTypeIsnull).OwnerContentTypeN(ownerContentTypeN).OwnerObjectId(ownerObjectId).OwnerObjectIdIsnull(ownerObjectIdIsnull).OwnerObjectIdN(ownerObjectIdN).Platform(platform).PlatformN(platformN).PlatformId(platformId).PlatformIdN(platformIdN).Q(q).Role(role).RoleN(roleN).Schema(schema).SchemaIsnull(schemaIsnull).SchemaN(schemaN).Sort(sort).Tag(tag).TagN(tagN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -2633,7 +2617,7 @@ func main() {
clusterIdN := []string{"Inner_example"} // []string | Exclude Cluster (ID) (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
deviceRedundancyGroup := []string{"Inner_example"} // []string | (optional)
deviceRedundancyGroupN := []string{"Inner_example"} // []string | (optional)
deviceType := []string{"Inner_example"} // []string | (optional)
@@ -2642,19 +2626,7 @@ func main() {
deviceTypeIdN := []string{"Inner_example"} // []string | Exclude Device Type (ID) - Deprecated (use device_type filter) (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
isActive := true // bool | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
location := []string{"Inner_example"} // []string | (optional)
@@ -2680,20 +2652,8 @@ func main() {
ownerContentTypeIsnull := true // bool | (optional)
ownerContentTypeN := "ownerContentTypeN_example" // string | (optional)
ownerObjectId := []string{"Inner_example"} // []string | (optional)
- ownerObjectIdIc := []string{"Inner_example"} // []string | (optional)
- ownerObjectIdIe := []string{"Inner_example"} // []string | (optional)
- ownerObjectIdIew := []string{"Inner_example"} // []string | (optional)
- ownerObjectIdIre := []string{"Inner_example"} // []string | (optional)
ownerObjectIdIsnull := true // bool | (optional)
- ownerObjectIdIsw := []string{"Inner_example"} // []string | (optional)
ownerObjectIdN := []string{"Inner_example"} // []string | (optional)
- ownerObjectIdNic := []string{"Inner_example"} // []string | (optional)
- ownerObjectIdNie := []string{"Inner_example"} // []string | (optional)
- ownerObjectIdNiew := []string{"Inner_example"} // []string | (optional)
- ownerObjectIdNire := []string{"Inner_example"} // []string | (optional)
- ownerObjectIdNisw := []string{"Inner_example"} // []string | (optional)
- ownerObjectIdNre := []string{"Inner_example"} // []string | (optional)
- ownerObjectIdRe := []string{"Inner_example"} // []string | (optional)
platform := []string{"Inner_example"} // []string | (optional)
platformN := []string{"Inner_example"} // []string | (optional)
platformId := []string{"Inner_example"} // []string | Platform (ID) - Deprecated (use platform filter) (optional)
@@ -2709,7 +2669,7 @@ func main() {
tagN := []string{"Inner_example"} // []string | Exclude Tag (name) (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
tenant := []string{"Inner_example"} // []string | (optional)
tenantN := []string{"Inner_example"} // []string | (optional)
tenantGroup := []string{"Inner_example"} // []string | (optional)
@@ -2719,10 +2679,11 @@ func main() {
tenantId := []string{"Inner_example"} // []string | Tenant (ID) - Deprecated (use tenant filter) (optional)
tenantIdN := []string{"Inner_example"} // []string | Exclude Tenant (ID) - Deprecated (use tenant filter) (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasConfigContextsList(context.Background()).ClusterGroup(clusterGroup).ClusterGroupN(clusterGroupN).ClusterGroupId(clusterGroupId).ClusterGroupIdN(clusterGroupIdN).ClusterId(clusterId).ClusterIdN(clusterIdN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).DeviceRedundancyGroup(deviceRedundancyGroup).DeviceRedundancyGroupN(deviceRedundancyGroupN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).IsActive(isActive).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).OwnerContentType(ownerContentType).OwnerContentTypeIsnull(ownerContentTypeIsnull).OwnerContentTypeN(ownerContentTypeN).OwnerObjectId(ownerObjectId).OwnerObjectIdIc(ownerObjectIdIc).OwnerObjectIdIe(ownerObjectIdIe).OwnerObjectIdIew(ownerObjectIdIew).OwnerObjectIdIre(ownerObjectIdIre).OwnerObjectIdIsnull(ownerObjectIdIsnull).OwnerObjectIdIsw(ownerObjectIdIsw).OwnerObjectIdN(ownerObjectIdN).OwnerObjectIdNic(ownerObjectIdNic).OwnerObjectIdNie(ownerObjectIdNie).OwnerObjectIdNiew(ownerObjectIdNiew).OwnerObjectIdNire(ownerObjectIdNire).OwnerObjectIdNisw(ownerObjectIdNisw).OwnerObjectIdNre(ownerObjectIdNre).OwnerObjectIdRe(ownerObjectIdRe).Platform(platform).PlatformN(platformN).PlatformId(platformId).PlatformIdN(platformIdN).Q(q).Role(role).RoleN(roleN).Schema(schema).SchemaIsnull(schemaIsnull).SchemaN(schemaN).Sort(sort).Tag(tag).TagN(tagN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasConfigContextsList(context.Background()).ClusterGroup(clusterGroup).ClusterGroupN(clusterGroupN).ClusterGroupId(clusterGroupId).ClusterGroupIdN(clusterGroupIdN).ClusterId(clusterId).ClusterIdN(clusterIdN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).DeviceRedundancyGroup(deviceRedundancyGroup).DeviceRedundancyGroupN(deviceRedundancyGroupN).DeviceType(deviceType).DeviceTypeN(deviceTypeN).DeviceTypeId(deviceTypeId).DeviceTypeIdN(deviceTypeIdN).Format(format).Id(id).IdN(idN).IsActive(isActive).Limit(limit).Location(location).LocationN(locationN).LocationId(locationId).LocationIdN(locationIdN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).OwnerContentType(ownerContentType).OwnerContentTypeIsnull(ownerContentTypeIsnull).OwnerContentTypeN(ownerContentTypeN).OwnerObjectId(ownerObjectId).OwnerObjectIdIsnull(ownerObjectIdIsnull).OwnerObjectIdN(ownerObjectIdN).Platform(platform).PlatformN(platformN).PlatformId(platformId).PlatformIdN(platformIdN).Q(q).Role(role).RoleN(roleN).Schema(schema).SchemaIsnull(schemaIsnull).SchemaN(schemaN).Sort(sort).Tag(tag).TagN(tagN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupN(tenantGroupN).TenantGroupId(tenantGroupId).TenantGroupIdN(tenantGroupIdN).TenantId(tenantId).TenantIdN(tenantIdN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasConfigContextsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -2751,7 +2712,7 @@ Name | Type | Description | Notes
**clusterIdN** | **[]string** | Exclude Cluster (ID) |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**deviceRedundancyGroup** | **[]string** | |
**deviceRedundancyGroupN** | **[]string** | |
**deviceType** | **[]string** | |
@@ -2760,19 +2721,7 @@ Name | Type | Description | Notes
**deviceTypeIdN** | **[]string** | Exclude Device Type (ID) - Deprecated (use device_type filter) |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**isActive** | **bool** | |
**limit** | **int32** | Number of results to return per page. |
**location** | **[]string** | |
@@ -2798,20 +2747,8 @@ Name | Type | Description | Notes
**ownerContentTypeIsnull** | **bool** | |
**ownerContentTypeN** | **string** | |
**ownerObjectId** | **[]string** | |
- **ownerObjectIdIc** | **[]string** | |
- **ownerObjectIdIe** | **[]string** | |
- **ownerObjectIdIew** | **[]string** | |
- **ownerObjectIdIre** | **[]string** | |
**ownerObjectIdIsnull** | **bool** | |
- **ownerObjectIdIsw** | **[]string** | |
**ownerObjectIdN** | **[]string** | |
- **ownerObjectIdNic** | **[]string** | |
- **ownerObjectIdNie** | **[]string** | |
- **ownerObjectIdNiew** | **[]string** | |
- **ownerObjectIdNire** | **[]string** | |
- **ownerObjectIdNisw** | **[]string** | |
- **ownerObjectIdNre** | **[]string** | |
- **ownerObjectIdRe** | **[]string** | |
**platform** | **[]string** | |
**platformN** | **[]string** | |
**platformId** | **[]string** | Platform (ID) - Deprecated (use platform filter) |
@@ -2827,7 +2764,7 @@ Name | Type | Description | Notes
**tagN** | **[]string** | Exclude Tag (name) |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**tenant** | **[]string** | |
**tenantN** | **[]string** | |
**tenantGroup** | **[]string** | |
@@ -2837,6 +2774,7 @@ Name | Type | Description | Notes
**tenantId** | **[]string** | Tenant (ID) - Deprecated (use tenant filter) |
**tenantIdN** | **[]string** | Exclude Tenant (ID) - Deprecated (use tenant filter) |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -2932,7 +2870,7 @@ Name | Type | Description | Notes
## ExtrasConfigContextsNotesList
-> PaginatedNoteList ExtrasConfigContextsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList ExtrasConfigContextsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -2956,10 +2894,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasConfigContextsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasConfigContextsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasConfigContextsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -2989,6 +2928,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -3084,7 +3024,7 @@ Name | Type | Description | Notes
## ExtrasConfigContextsRetrieve
-> ConfigContext ExtrasConfigContextsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> ConfigContext ExtrasConfigContextsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -3106,10 +3046,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this config context.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasConfigContextsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasConfigContextsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasConfigContextsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -3137,6 +3078,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -3572,7 +3514,7 @@ Name | Type | Description | Notes
## ExtrasContactAssociationsList
-> PaginatedContactAssociationList ExtrasContactAssociationsList(ctx).AssociatedObjectId(associatedObjectId).AssociatedObjectIdIc(associatedObjectIdIc).AssociatedObjectIdIe(associatedObjectIdIe).AssociatedObjectIdIew(associatedObjectIdIew).AssociatedObjectIdIre(associatedObjectIdIre).AssociatedObjectIdIsw(associatedObjectIdIsw).AssociatedObjectIdN(associatedObjectIdN).AssociatedObjectIdNic(associatedObjectIdNic).AssociatedObjectIdNie(associatedObjectIdNie).AssociatedObjectIdNiew(associatedObjectIdNiew).AssociatedObjectIdNire(associatedObjectIdNire).AssociatedObjectIdNisw(associatedObjectIdNisw).AssociatedObjectIdNre(associatedObjectIdNre).AssociatedObjectIdRe(associatedObjectIdRe).AssociatedObjectType(associatedObjectType).AssociatedObjectTypeIsnull(associatedObjectTypeIsnull).AssociatedObjectTypeN(associatedObjectTypeN).Contact(contact).ContactIsnull(contactIsnull).ContactN(contactN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Offset(offset).Q(q).Role(role).RoleN(roleN).Sort(sort).Status(status).StatusN(statusN).Team(team).TeamIsnull(teamIsnull).TeamN(teamN).Depth(depth).Execute()
+> PaginatedContactAssociationList ExtrasContactAssociationsList(ctx).AssociatedObjectId(associatedObjectId).AssociatedObjectIdN(associatedObjectIdN).AssociatedObjectType(associatedObjectType).AssociatedObjectTypeIsnull(associatedObjectTypeIsnull).AssociatedObjectTypeN(associatedObjectTypeN).Contact(contact).ContactIsnull(contactIsnull).ContactN(contactN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Offset(offset).Q(q).Role(role).RoleN(roleN).Sort(sort).Status(status).StatusN(statusN).Team(team).TeamIsnull(teamIsnull).TeamN(teamN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -3593,19 +3535,7 @@ import (
func main() {
associatedObjectId := []string{"Inner_example"} // []string | (optional)
- associatedObjectIdIc := []string{"Inner_example"} // []string | (optional)
- associatedObjectIdIe := []string{"Inner_example"} // []string | (optional)
- associatedObjectIdIew := []string{"Inner_example"} // []string | (optional)
- associatedObjectIdIre := []string{"Inner_example"} // []string | (optional)
- associatedObjectIdIsw := []string{"Inner_example"} // []string | (optional)
associatedObjectIdN := []string{"Inner_example"} // []string | (optional)
- associatedObjectIdNic := []string{"Inner_example"} // []string | (optional)
- associatedObjectIdNie := []string{"Inner_example"} // []string | (optional)
- associatedObjectIdNiew := []string{"Inner_example"} // []string | (optional)
- associatedObjectIdNire := []string{"Inner_example"} // []string | (optional)
- associatedObjectIdNisw := []string{"Inner_example"} // []string | (optional)
- associatedObjectIdNre := []string{"Inner_example"} // []string | (optional)
- associatedObjectIdRe := []string{"Inner_example"} // []string | (optional)
associatedObjectType := "associatedObjectType_example" // string | (optional)
associatedObjectTypeIsnull := true // bool | (optional)
associatedObjectTypeN := "associatedObjectTypeN_example" // string | (optional)
@@ -3621,19 +3551,7 @@ func main() {
createdN := []time.Time{time.Now()} // []time.Time | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -3645,18 +3563,19 @@ func main() {
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
q := "q_example" // string | Search (optional)
role := []string{"Inner_example"} // []string | (optional)
- roleN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Role (name or ID) (optional)
+ roleN := []string{"Inner_example"} // []string | (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
status := []string{"Inner_example"} // []string | (optional)
- statusN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Status (name or ID) (optional)
+ statusN := []string{"Inner_example"} // []string | (optional)
team := []string{"Inner_example"} // []string | (optional)
teamIsnull := true // bool | Team (name or ID) is null (optional)
teamN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasContactAssociationsList(context.Background()).AssociatedObjectId(associatedObjectId).AssociatedObjectIdIc(associatedObjectIdIc).AssociatedObjectIdIe(associatedObjectIdIe).AssociatedObjectIdIew(associatedObjectIdIew).AssociatedObjectIdIre(associatedObjectIdIre).AssociatedObjectIdIsw(associatedObjectIdIsw).AssociatedObjectIdN(associatedObjectIdN).AssociatedObjectIdNic(associatedObjectIdNic).AssociatedObjectIdNie(associatedObjectIdNie).AssociatedObjectIdNiew(associatedObjectIdNiew).AssociatedObjectIdNire(associatedObjectIdNire).AssociatedObjectIdNisw(associatedObjectIdNisw).AssociatedObjectIdNre(associatedObjectIdNre).AssociatedObjectIdRe(associatedObjectIdRe).AssociatedObjectType(associatedObjectType).AssociatedObjectTypeIsnull(associatedObjectTypeIsnull).AssociatedObjectTypeN(associatedObjectTypeN).Contact(contact).ContactIsnull(contactIsnull).ContactN(contactN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Offset(offset).Q(q).Role(role).RoleN(roleN).Sort(sort).Status(status).StatusN(statusN).Team(team).TeamIsnull(teamIsnull).TeamN(teamN).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasContactAssociationsList(context.Background()).AssociatedObjectId(associatedObjectId).AssociatedObjectIdN(associatedObjectIdN).AssociatedObjectType(associatedObjectType).AssociatedObjectTypeIsnull(associatedObjectTypeIsnull).AssociatedObjectTypeN(associatedObjectTypeN).Contact(contact).ContactIsnull(contactIsnull).ContactN(contactN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Offset(offset).Q(q).Role(role).RoleN(roleN).Sort(sort).Status(status).StatusN(statusN).Team(team).TeamIsnull(teamIsnull).TeamN(teamN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasContactAssociationsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -3678,19 +3597,7 @@ Other parameters are passed through a pointer to a apiExtrasContactAssociationsL
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**associatedObjectId** | **[]string** | |
- **associatedObjectIdIc** | **[]string** | |
- **associatedObjectIdIe** | **[]string** | |
- **associatedObjectIdIew** | **[]string** | |
- **associatedObjectIdIre** | **[]string** | |
- **associatedObjectIdIsw** | **[]string** | |
**associatedObjectIdN** | **[]string** | |
- **associatedObjectIdNic** | **[]string** | |
- **associatedObjectIdNie** | **[]string** | |
- **associatedObjectIdNiew** | **[]string** | |
- **associatedObjectIdNire** | **[]string** | |
- **associatedObjectIdNisw** | **[]string** | |
- **associatedObjectIdNre** | **[]string** | |
- **associatedObjectIdRe** | **[]string** | |
**associatedObjectType** | **string** | |
**associatedObjectTypeIsnull** | **bool** | |
**associatedObjectTypeN** | **string** | |
@@ -3706,19 +3613,7 @@ Name | Type | Description | Notes
**createdN** | [**[]time.Time**](time.Time.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -3730,14 +3625,15 @@ Name | Type | Description | Notes
**offset** | **int32** | The initial index from which to return the results. |
**q** | **string** | Search |
**role** | **[]string** | |
- **roleN** | **string** | Exclude Role (name or ID) |
+ **roleN** | **[]string** | |
**sort** | **string** | Which field to use when ordering the results. |
**status** | **[]string** | |
- **statusN** | **string** | Exclude Status (name or ID) |
+ **statusN** | **[]string** | |
**team** | **[]string** | |
**teamIsnull** | **bool** | Team (name or ID) is null |
**teamN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -3833,7 +3729,7 @@ Name | Type | Description | Notes
## ExtrasContactAssociationsNotesList
-> PaginatedNoteList ExtrasContactAssociationsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList ExtrasContactAssociationsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -3857,10 +3753,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasContactAssociationsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasContactAssociationsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasContactAssociationsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -3890,6 +3787,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -3985,7 +3883,7 @@ Name | Type | Description | Notes
## ExtrasContactAssociationsRetrieve
-> ContactAssociation ExtrasContactAssociationsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> ContactAssociation ExtrasContactAssociationsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -4007,10 +3905,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this contact association.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasContactAssociationsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasContactAssociationsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasContactAssociationsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -4038,6 +3937,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -4473,7 +4373,7 @@ Name | Type | Description | Notes
## ExtrasContactsList
-> PaginatedContactList ExtrasContactsList(ctx).Address(address).AddressIc(addressIc).AddressIe(addressIe).AddressIew(addressIew).AddressIre(addressIre).AddressIsw(addressIsw).AddressN(addressN).AddressNic(addressNic).AddressNie(addressNie).AddressNiew(addressNiew).AddressNire(addressNire).AddressNisw(addressNisw).AddressNre(addressNre).AddressRe(addressRe).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Email(email).EmailIc(emailIc).EmailIe(emailIe).EmailIew(emailIew).EmailIre(emailIre).EmailIsw(emailIsw).EmailN(emailN).EmailNic(emailNic).EmailNie(emailNie).EmailNiew(emailNiew).EmailNire(emailNire).EmailNisw(emailNisw).EmailNre(emailNre).EmailRe(emailRe).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Phone(phone).PhoneIc(phoneIc).PhoneIe(phoneIe).PhoneIew(phoneIew).PhoneIre(phoneIre).PhoneIsw(phoneIsw).PhoneN(phoneN).PhoneNic(phoneNic).PhoneNie(phoneNie).PhoneNiew(phoneNiew).PhoneNire(phoneNire).PhoneNisw(phoneNisw).PhoneNre(phoneNre).PhoneRe(phoneRe).Q(q).SimilarToLocationData(similarToLocationData).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Depth(depth).Execute()
+> PaginatedContactList ExtrasContactsList(ctx).Address(address).AddressIc(addressIc).AddressIe(addressIe).AddressIew(addressIew).AddressIre(addressIre).AddressIsw(addressIsw).AddressN(addressN).AddressNic(addressNic).AddressNie(addressNie).AddressNiew(addressNiew).AddressNire(addressNire).AddressNisw(addressNisw).AddressNre(addressNre).AddressRe(addressRe).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Email(email).EmailIc(emailIc).EmailIe(emailIe).EmailIew(emailIew).EmailIre(emailIre).EmailIsw(emailIsw).EmailN(emailN).EmailNic(emailNic).EmailNie(emailNie).EmailNiew(emailNiew).EmailNire(emailNire).EmailNisw(emailNisw).EmailNre(emailNre).EmailRe(emailRe).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Phone(phone).PhoneIc(phoneIc).PhoneIe(phoneIe).PhoneIew(phoneIew).PhoneIre(phoneIre).PhoneIsw(phoneIsw).PhoneN(phoneN).PhoneNic(phoneNic).PhoneNie(phoneNie).PhoneNiew(phoneNiew).PhoneNire(phoneNire).PhoneNisw(phoneNisw).PhoneNre(phoneNre).PhoneRe(phoneRe).Q(q).SimilarToLocationData(similarToLocationData).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -4529,7 +4429,7 @@ func main() {
createdLte := []time.Time{time.Now()} // []time.Time | (optional)
createdN := []time.Time{time.Now()} // []time.Time | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
email := []string{"Inner_example"} // []string | (optional)
emailIc := []string{"Inner_example"} // []string | (optional)
emailIe := []string{"Inner_example"} // []string | (optional)
@@ -4546,19 +4446,7 @@ func main() {
emailRe := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -4602,11 +4490,15 @@ func main() {
tags := []string{"Inner_example"} // []string | (optional)
tagsIsnull := true // bool | (optional)
tagsN := []string{"Inner_example"} // []string | (optional)
+ teams := []string{"Inner_example"} // []string | (optional)
+ teamsIsnull := true // bool | Team (name or ID) is null (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasContactsList(context.Background()).Address(address).AddressIc(addressIc).AddressIe(addressIe).AddressIew(addressIew).AddressIre(addressIre).AddressIsw(addressIsw).AddressN(addressN).AddressNic(addressNic).AddressNie(addressNie).AddressNiew(addressNiew).AddressNire(addressNire).AddressNisw(addressNisw).AddressNre(addressNre).AddressRe(addressRe).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Email(email).EmailIc(emailIc).EmailIe(emailIe).EmailIew(emailIew).EmailIre(emailIre).EmailIsw(emailIsw).EmailN(emailN).EmailNic(emailNic).EmailNie(emailNie).EmailNiew(emailNiew).EmailNire(emailNire).EmailNisw(emailNisw).EmailNre(emailNre).EmailRe(emailRe).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Phone(phone).PhoneIc(phoneIc).PhoneIe(phoneIe).PhoneIew(phoneIew).PhoneIre(phoneIre).PhoneIsw(phoneIsw).PhoneN(phoneN).PhoneNic(phoneNic).PhoneNie(phoneNie).PhoneNiew(phoneNiew).PhoneNire(phoneNire).PhoneNisw(phoneNisw).PhoneNre(phoneNre).PhoneRe(phoneRe).Q(q).SimilarToLocationData(similarToLocationData).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasContactsList(context.Background()).Address(address).AddressIc(addressIc).AddressIe(addressIe).AddressIew(addressIew).AddressIre(addressIre).AddressIsw(addressIsw).AddressN(addressN).AddressNic(addressNic).AddressNie(addressNie).AddressNiew(addressNiew).AddressNire(addressNire).AddressNisw(addressNisw).AddressNre(addressNre).AddressRe(addressRe).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Email(email).EmailIc(emailIc).EmailIe(emailIe).EmailIew(emailIew).EmailIre(emailIre).EmailIsw(emailIsw).EmailN(emailN).EmailNic(emailNic).EmailNie(emailNie).EmailNiew(emailNiew).EmailNire(emailNire).EmailNisw(emailNisw).EmailNre(emailNre).EmailRe(emailRe).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Phone(phone).PhoneIc(phoneIc).PhoneIe(phoneIe).PhoneIew(phoneIew).PhoneIre(phoneIre).PhoneIsw(phoneIsw).PhoneN(phoneN).PhoneNic(phoneNic).PhoneNie(phoneNie).PhoneNiew(phoneNiew).PhoneNire(phoneNire).PhoneNisw(phoneNisw).PhoneNre(phoneNre).PhoneRe(phoneRe).Q(q).SimilarToLocationData(similarToLocationData).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasContactsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -4663,7 +4555,7 @@ Name | Type | Description | Notes
**createdLte** | [**[]time.Time**](time.Time.md) | |
**createdN** | [**[]time.Time**](time.Time.md) | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**email** | **[]string** | |
**emailIc** | **[]string** | |
**emailIe** | **[]string** | |
@@ -4680,19 +4572,7 @@ Name | Type | Description | Notes
**emailRe** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -4736,7 +4616,11 @@ Name | Type | Description | Notes
**tags** | **[]string** | |
**tagsIsnull** | **bool** | |
**tagsN** | **[]string** | |
+ **teams** | **[]string** | |
+ **teamsIsnull** | **bool** | Team (name or ID) is null |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -4832,7 +4716,7 @@ Name | Type | Description | Notes
## ExtrasContactsNotesList
-> PaginatedNoteList ExtrasContactsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList ExtrasContactsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -4856,10 +4740,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasContactsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasContactsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasContactsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -4889,6 +4774,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -4984,7 +4870,7 @@ Name | Type | Description | Notes
## ExtrasContactsRetrieve
-> Contact ExtrasContactsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> Contact ExtrasContactsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -5006,10 +4892,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this contact.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasContactsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasContactsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasContactsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -5037,6 +4924,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -5132,7 +5020,7 @@ Name | Type | Description | Notes
## ExtrasContentTypesList
-> PaginatedContentTypeList ExtrasContentTypesList(ctx).AppLabel(appLabel).AppLabelIc(appLabelIc).AppLabelIe(appLabelIe).AppLabelIew(appLabelIew).AppLabelIre(appLabelIre).AppLabelIsw(appLabelIsw).AppLabelN(appLabelN).AppLabelNic(appLabelNic).AppLabelNie(appLabelNie).AppLabelNiew(appLabelNiew).AppLabelNire(appLabelNire).AppLabelNisw(appLabelNisw).AppLabelNre(appLabelNre).AppLabelRe(appLabelRe).CanAdd(canAdd).CanChange(canChange).CanDelete(canDelete).CanView(canView).Feature(feature).Format(format).HasSerializer(hasSerializer).Id(id).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Limit(limit).Model(model).ModelIc(modelIc).ModelIe(modelIe).ModelIew(modelIew).ModelIre(modelIre).ModelIsw(modelIsw).ModelN(modelN).ModelNic(modelNic).ModelNie(modelNie).ModelNiew(modelNiew).ModelNire(modelNire).ModelNisw(modelNisw).ModelNre(modelNre).ModelRe(modelRe).Offset(offset).Q(q).Sort(sort).Depth(depth).Execute()
+> PaginatedContentTypeList ExtrasContentTypesList(ctx).AppLabel(appLabel).AppLabelIc(appLabelIc).AppLabelIe(appLabelIe).AppLabelIew(appLabelIew).AppLabelIre(appLabelIre).AppLabelIsw(appLabelIsw).AppLabelN(appLabelN).AppLabelNic(appLabelNic).AppLabelNie(appLabelNie).AppLabelNiew(appLabelNiew).AppLabelNire(appLabelNire).AppLabelNisw(appLabelNisw).AppLabelNre(appLabelNre).AppLabelRe(appLabelRe).CanAdd(canAdd).CanChange(canChange).CanDelete(canDelete).CanView(canView).Feature(feature).Format(format).HasSerializer(hasSerializer).Id(id).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Limit(limit).Model(model).ModelIc(modelIc).ModelIe(modelIe).ModelIew(modelIew).ModelIre(modelIre).ModelIsw(modelIsw).ModelN(modelN).ModelNic(modelNic).ModelNie(modelNie).ModelNiew(modelNiew).ModelNire(modelNire).ModelNisw(modelNisw).ModelNre(modelNre).ModelRe(modelRe).Offset(offset).Q(q).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -5197,10 +5085,11 @@ func main() {
q := "q_example" // string | Search (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasContentTypesList(context.Background()).AppLabel(appLabel).AppLabelIc(appLabelIc).AppLabelIe(appLabelIe).AppLabelIew(appLabelIew).AppLabelIre(appLabelIre).AppLabelIsw(appLabelIsw).AppLabelN(appLabelN).AppLabelNic(appLabelNic).AppLabelNie(appLabelNie).AppLabelNiew(appLabelNiew).AppLabelNire(appLabelNire).AppLabelNisw(appLabelNisw).AppLabelNre(appLabelNre).AppLabelRe(appLabelRe).CanAdd(canAdd).CanChange(canChange).CanDelete(canDelete).CanView(canView).Feature(feature).Format(format).HasSerializer(hasSerializer).Id(id).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Limit(limit).Model(model).ModelIc(modelIc).ModelIe(modelIe).ModelIew(modelIew).ModelIre(modelIre).ModelIsw(modelIsw).ModelN(modelN).ModelNic(modelNic).ModelNie(modelNie).ModelNiew(modelNiew).ModelNire(modelNire).ModelNisw(modelNisw).ModelNre(modelNre).ModelRe(modelRe).Offset(offset).Q(q).Sort(sort).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasContentTypesList(context.Background()).AppLabel(appLabel).AppLabelIc(appLabelIc).AppLabelIe(appLabelIe).AppLabelIew(appLabelIew).AppLabelIre(appLabelIre).AppLabelIsw(appLabelIsw).AppLabelN(appLabelN).AppLabelNic(appLabelNic).AppLabelNie(appLabelNie).AppLabelNiew(appLabelNiew).AppLabelNire(appLabelNire).AppLabelNisw(appLabelNisw).AppLabelNre(appLabelNre).AppLabelRe(appLabelRe).CanAdd(canAdd).CanChange(canChange).CanDelete(canDelete).CanView(canView).Feature(feature).Format(format).HasSerializer(hasSerializer).Id(id).IdGt(idGt).IdGte(idGte).IdLt(idLt).IdLte(idLte).IdN(idN).Limit(limit).Model(model).ModelIc(modelIc).ModelIe(modelIe).ModelIew(modelIew).ModelIre(modelIre).ModelIsw(modelIsw).ModelN(modelN).ModelNic(modelNic).ModelNie(modelNie).ModelNiew(modelNiew).ModelNire(modelNire).ModelNisw(modelNisw).ModelNre(modelNre).ModelRe(modelRe).Offset(offset).Q(q).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasContentTypesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -5267,6 +5156,7 @@ Name | Type | Description | Notes
**q** | **string** | Search |
**sort** | **string** | Which field to use when ordering the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -5288,7 +5178,7 @@ Name | Type | Description | Notes
## ExtrasContentTypesRetrieve
-> ContentType ExtrasContentTypesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> ContentType ExtrasContentTypesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -5310,10 +5200,11 @@ func main() {
id := int32(56) // int32 | A unique integer value identifying this content type.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasContentTypesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasContentTypesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasContentTypesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -5341,6 +5232,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -5702,7 +5594,7 @@ Name | Type | Description | Notes
## ExtrasCustomFieldChoicesList
-> PaginatedCustomFieldChoiceList ExtrasCustomFieldChoicesList(ctx).CustomField(customField).CustomFieldN(customFieldN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Offset(offset).Q(q).Sort(sort).Value(value).ValueIc(valueIc).ValueIe(valueIe).ValueIew(valueIew).ValueIre(valueIre).ValueIsw(valueIsw).ValueN(valueN).ValueNic(valueNic).ValueNie(valueNie).ValueNiew(valueNiew).ValueNire(valueNire).ValueNisw(valueNisw).ValueNre(valueNre).ValueRe(valueRe).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).Execute()
+> PaginatedCustomFieldChoiceList ExtrasCustomFieldChoicesList(ctx).CustomField(customField).CustomFieldN(customFieldN).Format(format).Id(id).IdN(idN).Limit(limit).Offset(offset).Q(q).Sort(sort).Value(value).ValueIc(valueIc).ValueIe(valueIe).ValueIew(valueIew).ValueIre(valueIre).ValueIsw(valueIsw).ValueN(valueN).ValueNic(valueNic).ValueNie(valueNie).ValueNiew(valueNiew).ValueNire(valueNire).ValueNisw(valueNisw).ValueNre(valueNre).ValueRe(valueRe).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -5725,19 +5617,7 @@ func main() {
customFieldN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
q := "q_example" // string | Search (optional)
@@ -5763,10 +5643,11 @@ func main() {
weightLte := []int32{int32(123)} // []int32 | (optional)
weightN := []int32{int32(123)} // []int32 | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasCustomFieldChoicesList(context.Background()).CustomField(customField).CustomFieldN(customFieldN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Offset(offset).Q(q).Sort(sort).Value(value).ValueIc(valueIc).ValueIe(valueIe).ValueIew(valueIew).ValueIre(valueIre).ValueIsw(valueIsw).ValueN(valueN).ValueNic(valueNic).ValueNie(valueNie).ValueNiew(valueNiew).ValueNire(valueNire).ValueNisw(valueNisw).ValueNre(valueNre).ValueRe(valueRe).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasCustomFieldChoicesList(context.Background()).CustomField(customField).CustomFieldN(customFieldN).Format(format).Id(id).IdN(idN).Limit(limit).Offset(offset).Q(q).Sort(sort).Value(value).ValueIc(valueIc).ValueIe(valueIe).ValueIew(valueIew).ValueIre(valueIre).ValueIsw(valueIsw).ValueN(valueN).ValueNic(valueNic).ValueNie(valueNie).ValueNiew(valueNiew).ValueNire(valueNire).ValueNisw(valueNisw).ValueNre(valueNre).ValueRe(valueRe).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasCustomFieldChoicesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -5791,19 +5672,7 @@ Name | Type | Description | Notes
**customFieldN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**q** | **string** | Search |
@@ -5829,6 +5698,7 @@ Name | Type | Description | Notes
**weightLte** | **[]int32** | |
**weightN** | **[]int32** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -5924,7 +5794,7 @@ Name | Type | Description | Notes
## ExtrasCustomFieldChoicesRetrieve
-> CustomFieldChoice ExtrasCustomFieldChoicesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> CustomFieldChoice ExtrasCustomFieldChoicesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -5946,10 +5816,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this custom field choice.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasCustomFieldChoicesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasCustomFieldChoicesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasCustomFieldChoicesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -5977,6 +5848,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -6412,7 +6284,7 @@ Name | Type | Description | Notes
## ExtrasCustomFieldsList
-> PaginatedCustomFieldList ExtrasCustomFieldsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesIc(contentTypesIc).ContentTypesIe(contentTypesIe).ContentTypesIew(contentTypesIew).ContentTypesIre(contentTypesIre).ContentTypesIsw(contentTypesIsw).ContentTypesN(contentTypesN).ContentTypesNic(contentTypesNic).ContentTypesNie(contentTypesNie).ContentTypesNiew(contentTypesNiew).ContentTypesNire(contentTypesNire).ContentTypesNisw(contentTypesNisw).ContentTypesNre(contentTypesNre).ContentTypesRe(contentTypesRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).FilterLogic(filterLogic).FilterLogicIc(filterLogicIc).FilterLogicIe(filterLogicIe).FilterLogicIew(filterLogicIew).FilterLogicIre(filterLogicIre).FilterLogicIsw(filterLogicIsw).FilterLogicN(filterLogicN).FilterLogicNic(filterLogicNic).FilterLogicNie(filterLogicNie).FilterLogicNiew(filterLogicNiew).FilterLogicNire(filterLogicNire).FilterLogicNisw(filterLogicNisw).FilterLogicNre(filterLogicNre).FilterLogicRe(filterLogicRe).Format(format).Grouping(grouping).GroupingIc(groupingIc).GroupingIe(groupingIe).GroupingIew(groupingIew).GroupingIre(groupingIre).GroupingIsw(groupingIsw).GroupingN(groupingN).GroupingNic(groupingNic).GroupingNie(groupingNie).GroupingNiew(groupingNiew).GroupingNire(groupingNire).GroupingNisw(groupingNisw).GroupingNre(groupingNre).GroupingRe(groupingRe).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Offset(offset).Q(q).Required(required).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).Execute()
+> PaginatedCustomFieldList ExtrasCustomFieldsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesN(contentTypesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).FilterLogic(filterLogic).FilterLogicIc(filterLogicIc).FilterLogicIe(filterLogicIe).FilterLogicIew(filterLogicIew).FilterLogicIre(filterLogicIre).FilterLogicIsw(filterLogicIsw).FilterLogicN(filterLogicN).FilterLogicNic(filterLogicNic).FilterLogicNie(filterLogicNie).FilterLogicNiew(filterLogicNiew).FilterLogicNire(filterLogicNire).FilterLogicNisw(filterLogicNisw).FilterLogicNre(filterLogicNre).FilterLogicRe(filterLogicRe).Format(format).Grouping(grouping).GroupingIc(groupingIc).GroupingIe(groupingIe).GroupingIew(groupingIew).GroupingIre(groupingIre).GroupingIsw(groupingIsw).GroupingN(groupingN).GroupingNic(groupingNic).GroupingNie(groupingNie).GroupingNiew(groupingNiew).GroupingNire(groupingNire).GroupingNisw(groupingNisw).GroupingNre(groupingNre).GroupingRe(groupingRe).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Offset(offset).Q(q).Required(required).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -6433,30 +6305,18 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
contentTypes := []int32{int32(123)} // []int32 | (optional)
- contentTypesIc := []int32{int32(123)} // []int32 | (optional)
- contentTypesIe := []int32{int32(123)} // []int32 | (optional)
- contentTypesIew := []int32{int32(123)} // []int32 | (optional)
- contentTypesIre := []int32{int32(123)} // []int32 | (optional)
- contentTypesIsw := []int32{int32(123)} // []int32 | (optional)
contentTypesN := []int32{int32(123)} // []int32 | (optional)
- contentTypesNic := []int32{int32(123)} // []int32 | (optional)
- contentTypesNie := []int32{int32(123)} // []int32 | (optional)
- contentTypesNiew := []int32{int32(123)} // []int32 | (optional)
- contentTypesNire := []int32{int32(123)} // []int32 | (optional)
- contentTypesNisw := []int32{int32(123)} // []int32 | (optional)
- contentTypesNre := []int32{int32(123)} // []int32 | (optional)
- contentTypesRe := []int32{int32(123)} // []int32 | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
filterLogic := []string{"Inner_example"} // []string | Loose matches any instance of a given string; Exact matches the entire field. (optional)
filterLogicIc := []string{"Inner_example"} // []string | (optional)
filterLogicIe := []string{"Inner_example"} // []string | (optional)
filterLogicIew := []string{"Inner_example"} // []string | (optional)
filterLogicIre := []string{"Inner_example"} // []string | (optional)
filterLogicIsw := []string{"Inner_example"} // []string | (optional)
- filterLogicN := []string{"Inner_example"} // []string | Loose matches any instance of a given string; Exact matches the entire field. (optional)
+ filterLogicN := []string{"Inner_example"} // []string | (optional)
filterLogicNic := []string{"Inner_example"} // []string | (optional)
filterLogicNie := []string{"Inner_example"} // []string | (optional)
filterLogicNiew := []string{"Inner_example"} // []string | (optional)
@@ -6480,19 +6340,7 @@ func main() {
groupingNre := []string{"Inner_example"} // []string | (optional)
groupingRe := []string{"Inner_example"} // []string | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
label := []string{"Inner_example"} // []string | (optional)
labelIc := []string{"Inner_example"} // []string | (optional)
labelIe := []string{"Inner_example"} // []string | (optional)
@@ -6514,7 +6362,7 @@ func main() {
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
weight := []int32{int32(123)} // []int32 | (optional)
weightGt := []int32{int32(123)} // []int32 | (optional)
weightGte := []int32{int32(123)} // []int32 | (optional)
@@ -6522,10 +6370,11 @@ func main() {
weightLte := []int32{int32(123)} // []int32 | (optional)
weightN := []int32{int32(123)} // []int32 | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasCustomFieldsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesIc(contentTypesIc).ContentTypesIe(contentTypesIe).ContentTypesIew(contentTypesIew).ContentTypesIre(contentTypesIre).ContentTypesIsw(contentTypesIsw).ContentTypesN(contentTypesN).ContentTypesNic(contentTypesNic).ContentTypesNie(contentTypesNie).ContentTypesNiew(contentTypesNiew).ContentTypesNire(contentTypesNire).ContentTypesNisw(contentTypesNisw).ContentTypesNre(contentTypesNre).ContentTypesRe(contentTypesRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).FilterLogic(filterLogic).FilterLogicIc(filterLogicIc).FilterLogicIe(filterLogicIe).FilterLogicIew(filterLogicIew).FilterLogicIre(filterLogicIre).FilterLogicIsw(filterLogicIsw).FilterLogicN(filterLogicN).FilterLogicNic(filterLogicNic).FilterLogicNie(filterLogicNie).FilterLogicNiew(filterLogicNiew).FilterLogicNire(filterLogicNire).FilterLogicNisw(filterLogicNisw).FilterLogicNre(filterLogicNre).FilterLogicRe(filterLogicRe).Format(format).Grouping(grouping).GroupingIc(groupingIc).GroupingIe(groupingIe).GroupingIew(groupingIew).GroupingIre(groupingIre).GroupingIsw(groupingIsw).GroupingN(groupingN).GroupingNic(groupingNic).GroupingNie(groupingNie).GroupingNiew(groupingNiew).GroupingNire(groupingNire).GroupingNisw(groupingNisw).GroupingNre(groupingNre).GroupingRe(groupingRe).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Offset(offset).Q(q).Required(required).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasCustomFieldsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesN(contentTypesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).FilterLogic(filterLogic).FilterLogicIc(filterLogicIc).FilterLogicIe(filterLogicIe).FilterLogicIew(filterLogicIew).FilterLogicIre(filterLogicIre).FilterLogicIsw(filterLogicIsw).FilterLogicN(filterLogicN).FilterLogicNic(filterLogicNic).FilterLogicNie(filterLogicNie).FilterLogicNiew(filterLogicNiew).FilterLogicNire(filterLogicNire).FilterLogicNisw(filterLogicNisw).FilterLogicNre(filterLogicNre).FilterLogicRe(filterLogicRe).Format(format).Grouping(grouping).GroupingIc(groupingIc).GroupingIe(groupingIe).GroupingIew(groupingIew).GroupingIre(groupingIre).GroupingIsw(groupingIsw).GroupingN(groupingN).GroupingNic(groupingNic).GroupingNie(groupingNie).GroupingNiew(groupingNiew).GroupingNire(groupingNire).GroupingNisw(groupingNisw).GroupingNre(groupingNre).GroupingRe(groupingRe).Id(id).IdN(idN).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Offset(offset).Q(q).Required(required).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasCustomFieldsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -6548,30 +6397,18 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**contentTypes** | **[]int32** | |
- **contentTypesIc** | **[]int32** | |
- **contentTypesIe** | **[]int32** | |
- **contentTypesIew** | **[]int32** | |
- **contentTypesIre** | **[]int32** | |
- **contentTypesIsw** | **[]int32** | |
**contentTypesN** | **[]int32** | |
- **contentTypesNic** | **[]int32** | |
- **contentTypesNie** | **[]int32** | |
- **contentTypesNiew** | **[]int32** | |
- **contentTypesNire** | **[]int32** | |
- **contentTypesNisw** | **[]int32** | |
- **contentTypesNre** | **[]int32** | |
- **contentTypesRe** | **[]int32** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**filterLogic** | **[]string** | Loose matches any instance of a given string; Exact matches the entire field. |
**filterLogicIc** | **[]string** | |
**filterLogicIe** | **[]string** | |
**filterLogicIew** | **[]string** | |
**filterLogicIre** | **[]string** | |
**filterLogicIsw** | **[]string** | |
- **filterLogicN** | **[]string** | Loose matches any instance of a given string; Exact matches the entire field. |
+ **filterLogicN** | **[]string** | |
**filterLogicNic** | **[]string** | |
**filterLogicNie** | **[]string** | |
**filterLogicNiew** | **[]string** | |
@@ -6595,19 +6432,7 @@ Name | Type | Description | Notes
**groupingNre** | **[]string** | |
**groupingRe** | **[]string** | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**label** | **[]string** | |
**labelIc** | **[]string** | |
**labelIe** | **[]string** | |
@@ -6629,7 +6454,7 @@ Name | Type | Description | Notes
**sort** | **string** | Which field to use when ordering the results. |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**weight** | **[]int32** | |
**weightGt** | **[]int32** | |
**weightGte** | **[]int32** | |
@@ -6637,6 +6462,7 @@ Name | Type | Description | Notes
**weightLte** | **[]int32** | |
**weightN** | **[]int32** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -6732,7 +6558,7 @@ Name | Type | Description | Notes
## ExtrasCustomFieldsNotesList
-> PaginatedNoteList ExtrasCustomFieldsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList ExtrasCustomFieldsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -6756,10 +6582,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasCustomFieldsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasCustomFieldsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasCustomFieldsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -6789,6 +6616,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -6884,7 +6712,7 @@ Name | Type | Description | Notes
## ExtrasCustomFieldsRetrieve
-> CustomField ExtrasCustomFieldsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> CustomField ExtrasCustomFieldsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -6906,10 +6734,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this custom field.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasCustomFieldsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasCustomFieldsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasCustomFieldsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -6937,6 +6766,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -7372,7 +7202,7 @@ Name | Type | Description | Notes
## ExtrasCustomLinksList
-> PaginatedCustomLinkList ExtrasCustomLinksList(ctx).ButtonClass(buttonClass).ButtonClassIc(buttonClassIc).ButtonClassIe(buttonClassIe).ButtonClassIew(buttonClassIew).ButtonClassIre(buttonClassIre).ButtonClassIsw(buttonClassIsw).ButtonClassN(buttonClassN).ButtonClassNic(buttonClassNic).ButtonClassNie(buttonClassNie).ButtonClassNiew(buttonClassNiew).ButtonClassNire(buttonClassNire).ButtonClassNisw(buttonClassNisw).ButtonClassNre(buttonClassNre).ButtonClassRe(buttonClassRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentType(contentType).ContentTypeN(contentTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).GroupName(groupName).GroupNameIc(groupNameIc).GroupNameIe(groupNameIe).GroupNameIew(groupNameIew).GroupNameIre(groupNameIre).GroupNameIsw(groupNameIsw).GroupNameN(groupNameN).GroupNameNic(groupNameNic).GroupNameNie(groupNameNie).GroupNameNiew(groupNameNiew).GroupNameNire(groupNameNire).GroupNameNisw(groupNameNisw).GroupNameNre(groupNameNre).GroupNameRe(groupNameRe).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).NewWindow(newWindow).Offset(offset).Q(q).Sort(sort).TargetUrl(targetUrl).TargetUrlIc(targetUrlIc).TargetUrlIe(targetUrlIe).TargetUrlIew(targetUrlIew).TargetUrlIre(targetUrlIre).TargetUrlIsw(targetUrlIsw).TargetUrlN(targetUrlN).TargetUrlNic(targetUrlNic).TargetUrlNie(targetUrlNie).TargetUrlNiew(targetUrlNiew).TargetUrlNire(targetUrlNire).TargetUrlNisw(targetUrlNisw).TargetUrlNre(targetUrlNre).TargetUrlRe(targetUrlRe).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Text(text).TextIc(textIc).TextIe(textIe).TextIew(textIew).TextIre(textIre).TextIsw(textIsw).TextN(textN).TextNic(textNic).TextNie(textNie).TextNiew(textNiew).TextNire(textNire).TextNisw(textNisw).TextNre(textNre).TextRe(textRe).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).Execute()
+> PaginatedCustomLinkList ExtrasCustomLinksList(ctx).ButtonClass(buttonClass).ButtonClassIc(buttonClassIc).ButtonClassIe(buttonClassIe).ButtonClassIew(buttonClassIew).ButtonClassIre(buttonClassIre).ButtonClassIsw(buttonClassIsw).ButtonClassN(buttonClassN).ButtonClassNic(buttonClassNic).ButtonClassNie(buttonClassNie).ButtonClassNiew(buttonClassNiew).ButtonClassNire(buttonClassNire).ButtonClassNisw(buttonClassNisw).ButtonClassNre(buttonClassNre).ButtonClassRe(buttonClassRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentType(contentType).ContentTypeN(contentTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).GroupName(groupName).GroupNameIc(groupNameIc).GroupNameIe(groupNameIe).GroupNameIew(groupNameIew).GroupNameIre(groupNameIre).GroupNameIsw(groupNameIsw).GroupNameN(groupNameN).GroupNameNic(groupNameNic).GroupNameNie(groupNameNie).GroupNameNiew(groupNameNiew).GroupNameNire(groupNameNire).GroupNameNisw(groupNameNisw).GroupNameNre(groupNameNre).GroupNameRe(groupNameRe).Id(id).IdN(idN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).NewWindow(newWindow).Offset(offset).Q(q).Sort(sort).TargetUrl(targetUrl).TargetUrlIc(targetUrlIc).TargetUrlIe(targetUrlIe).TargetUrlIew(targetUrlIew).TargetUrlIre(targetUrlIre).TargetUrlIsw(targetUrlIsw).TargetUrlN(targetUrlN).TargetUrlNic(targetUrlNic).TargetUrlNie(targetUrlNie).TargetUrlNiew(targetUrlNiew).TargetUrlNire(targetUrlNire).TargetUrlNisw(targetUrlNisw).TargetUrlNre(targetUrlNre).TargetUrlRe(targetUrlRe).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Text(text).TextIc(textIc).TextIe(textIe).TextIew(textIew).TextIre(textIre).TextIsw(textIsw).TextN(textN).TextNic(textNic).TextNie(textNie).TextNiew(textNiew).TextNire(textNire).TextNisw(textNisw).TextNre(textNre).TextRe(textRe).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -7397,7 +7227,7 @@ func main() {
buttonClassIew := []string{"Inner_example"} // []string | (optional)
buttonClassIre := []string{"Inner_example"} // []string | (optional)
buttonClassIsw := []string{"Inner_example"} // []string | (optional)
- buttonClassN := []string{"Inner_example"} // []string | The class of the first link in a group will be used for the dropdown button (optional)
+ buttonClassN := []string{"Inner_example"} // []string | (optional)
buttonClassNic := []string{"Inner_example"} // []string | (optional)
buttonClassNie := []string{"Inner_example"} // []string | (optional)
buttonClassNiew := []string{"Inner_example"} // []string | (optional)
@@ -7407,11 +7237,11 @@ func main() {
buttonClassRe := []string{"Inner_example"} // []string | (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
contentType := "contentType_example" // string | (optional)
contentTypeN := "contentTypeN_example" // string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
groupName := []string{"Inner_example"} // []string | (optional)
groupNameIc := []string{"Inner_example"} // []string | (optional)
@@ -7428,19 +7258,7 @@ func main() {
groupNameNre := []string{"Inner_example"} // []string | (optional)
groupNameRe := []string{"Inner_example"} // []string | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
name := []string{"Inner_example"} // []string | (optional)
nameIc := []string{"Inner_example"} // []string | (optional)
@@ -7476,7 +7294,7 @@ func main() {
targetUrlRe := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
text := []string{"Inner_example"} // []string | (optional)
textIc := []string{"Inner_example"} // []string | (optional)
textIe := []string{"Inner_example"} // []string | (optional)
@@ -7498,10 +7316,11 @@ func main() {
weightLte := []int32{int32(123)} // []int32 | (optional)
weightN := []int32{int32(123)} // []int32 | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasCustomLinksList(context.Background()).ButtonClass(buttonClass).ButtonClassIc(buttonClassIc).ButtonClassIe(buttonClassIe).ButtonClassIew(buttonClassIew).ButtonClassIre(buttonClassIre).ButtonClassIsw(buttonClassIsw).ButtonClassN(buttonClassN).ButtonClassNic(buttonClassNic).ButtonClassNie(buttonClassNie).ButtonClassNiew(buttonClassNiew).ButtonClassNire(buttonClassNire).ButtonClassNisw(buttonClassNisw).ButtonClassNre(buttonClassNre).ButtonClassRe(buttonClassRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentType(contentType).ContentTypeN(contentTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).GroupName(groupName).GroupNameIc(groupNameIc).GroupNameIe(groupNameIe).GroupNameIew(groupNameIew).GroupNameIre(groupNameIre).GroupNameIsw(groupNameIsw).GroupNameN(groupNameN).GroupNameNic(groupNameNic).GroupNameNie(groupNameNie).GroupNameNiew(groupNameNiew).GroupNameNire(groupNameNire).GroupNameNisw(groupNameNisw).GroupNameNre(groupNameNre).GroupNameRe(groupNameRe).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).NewWindow(newWindow).Offset(offset).Q(q).Sort(sort).TargetUrl(targetUrl).TargetUrlIc(targetUrlIc).TargetUrlIe(targetUrlIe).TargetUrlIew(targetUrlIew).TargetUrlIre(targetUrlIre).TargetUrlIsw(targetUrlIsw).TargetUrlN(targetUrlN).TargetUrlNic(targetUrlNic).TargetUrlNie(targetUrlNie).TargetUrlNiew(targetUrlNiew).TargetUrlNire(targetUrlNire).TargetUrlNisw(targetUrlNisw).TargetUrlNre(targetUrlNre).TargetUrlRe(targetUrlRe).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Text(text).TextIc(textIc).TextIe(textIe).TextIew(textIew).TextIre(textIre).TextIsw(textIsw).TextN(textN).TextNic(textNic).TextNie(textNie).TextNiew(textNiew).TextNire(textNire).TextNisw(textNisw).TextNre(textNre).TextRe(textRe).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasCustomLinksList(context.Background()).ButtonClass(buttonClass).ButtonClassIc(buttonClassIc).ButtonClassIe(buttonClassIe).ButtonClassIew(buttonClassIew).ButtonClassIre(buttonClassIre).ButtonClassIsw(buttonClassIsw).ButtonClassN(buttonClassN).ButtonClassNic(buttonClassNic).ButtonClassNie(buttonClassNie).ButtonClassNiew(buttonClassNiew).ButtonClassNire(buttonClassNire).ButtonClassNisw(buttonClassNisw).ButtonClassNre(buttonClassNre).ButtonClassRe(buttonClassRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentType(contentType).ContentTypeN(contentTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).GroupName(groupName).GroupNameIc(groupNameIc).GroupNameIe(groupNameIe).GroupNameIew(groupNameIew).GroupNameIre(groupNameIre).GroupNameIsw(groupNameIsw).GroupNameN(groupNameN).GroupNameNic(groupNameNic).GroupNameNie(groupNameNie).GroupNameNiew(groupNameNiew).GroupNameNire(groupNameNire).GroupNameNisw(groupNameNisw).GroupNameNre(groupNameNre).GroupNameRe(groupNameRe).Id(id).IdN(idN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).NewWindow(newWindow).Offset(offset).Q(q).Sort(sort).TargetUrl(targetUrl).TargetUrlIc(targetUrlIc).TargetUrlIe(targetUrlIe).TargetUrlIew(targetUrlIew).TargetUrlIre(targetUrlIre).TargetUrlIsw(targetUrlIsw).TargetUrlN(targetUrlN).TargetUrlNic(targetUrlNic).TargetUrlNie(targetUrlNie).TargetUrlNiew(targetUrlNiew).TargetUrlNire(targetUrlNire).TargetUrlNisw(targetUrlNisw).TargetUrlNre(targetUrlNre).TargetUrlRe(targetUrlRe).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Text(text).TextIc(textIc).TextIe(textIe).TextIew(textIew).TextIre(textIre).TextIsw(textIsw).TextN(textN).TextNic(textNic).TextNie(textNie).TextNiew(textNiew).TextNire(textNire).TextNisw(textNisw).TextNre(textNre).TextRe(textRe).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasCustomLinksList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -7528,7 +7347,7 @@ Name | Type | Description | Notes
**buttonClassIew** | **[]string** | |
**buttonClassIre** | **[]string** | |
**buttonClassIsw** | **[]string** | |
- **buttonClassN** | **[]string** | The class of the first link in a group will be used for the dropdown button |
+ **buttonClassN** | **[]string** | |
**buttonClassNic** | **[]string** | |
**buttonClassNie** | **[]string** | |
**buttonClassNiew** | **[]string** | |
@@ -7538,11 +7357,11 @@ Name | Type | Description | Notes
**buttonClassRe** | **[]string** | |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**contentType** | **string** | |
**contentTypeN** | **string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**groupName** | **[]string** | |
**groupNameIc** | **[]string** | |
@@ -7559,19 +7378,7 @@ Name | Type | Description | Notes
**groupNameNre** | **[]string** | |
**groupNameRe** | **[]string** | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**limit** | **int32** | Number of results to return per page. |
**name** | **[]string** | |
**nameIc** | **[]string** | |
@@ -7607,7 +7414,7 @@ Name | Type | Description | Notes
**targetUrlRe** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**text** | **[]string** | |
**textIc** | **[]string** | |
**textIe** | **[]string** | |
@@ -7629,6 +7436,7 @@ Name | Type | Description | Notes
**weightLte** | **[]int32** | |
**weightN** | **[]int32** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -7724,7 +7532,7 @@ Name | Type | Description | Notes
## ExtrasCustomLinksNotesList
-> PaginatedNoteList ExtrasCustomLinksNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList ExtrasCustomLinksNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -7748,10 +7556,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasCustomLinksNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasCustomLinksNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasCustomLinksNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -7781,6 +7590,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -7876,7 +7686,7 @@ Name | Type | Description | Notes
## ExtrasCustomLinksRetrieve
-> CustomLink ExtrasCustomLinksRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> CustomLink ExtrasCustomLinksRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -7898,10 +7708,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this custom link.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasCustomLinksRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasCustomLinksRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasCustomLinksRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -7929,6 +7740,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -8364,7 +8176,7 @@ Name | Type | Description | Notes
## ExtrasDynamicGroupMembershipsList
-> PaginatedDynamicGroupMembershipList ExtrasDynamicGroupMembershipsList(ctx).Created(created).Format(format).Group(group).GroupN(groupN).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).Limit(limit).Offset(offset).Operator(operator).OperatorIc(operatorIc).OperatorIe(operatorIe).OperatorIew(operatorIew).OperatorIre(operatorIre).OperatorIsw(operatorIsw).OperatorN(operatorN).OperatorNic(operatorNic).OperatorNie(operatorNie).OperatorNiew(operatorNiew).OperatorNire(operatorNire).OperatorNisw(operatorNisw).OperatorNre(operatorNre).OperatorRe(operatorRe).ParentGroup(parentGroup).ParentGroupN(parentGroupN).Q(q).Sort(sort).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).Execute()
+> PaginatedDynamicGroupMembershipList ExtrasDynamicGroupMembershipsList(ctx).Created(created).Format(format).Group(group).GroupN(groupN).Id(id).IdN(idN).LastUpdated(lastUpdated).Limit(limit).Offset(offset).Operator(operator).OperatorIc(operatorIc).OperatorIe(operatorIe).OperatorIew(operatorIew).OperatorIre(operatorIre).OperatorIsw(operatorIsw).OperatorN(operatorN).OperatorNic(operatorNic).OperatorNie(operatorNie).OperatorNiew(operatorNiew).OperatorNire(operatorNire).OperatorNisw(operatorNisw).OperatorNre(operatorNre).OperatorRe(operatorRe).ParentGroup(parentGroup).ParentGroupN(parentGroupN).Q(q).Sort(sort).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -8389,19 +8201,7 @@ func main() {
group := []string{"Inner_example"} // []string | (optional)
groupN := []string{"Inner_example"} // []string | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
@@ -8411,7 +8211,7 @@ func main() {
operatorIew := []string{"Inner_example"} // []string | (optional)
operatorIre := []string{"Inner_example"} // []string | (optional)
operatorIsw := []string{"Inner_example"} // []string | (optional)
- operatorN := []openapiclient.ExtrasDynamicGroupMembershipsListOperatorParameterInner{openapiclient.extras_dynamic_group_memberships_list_operator_parameter_inner("difference")} // []ExtrasDynamicGroupMembershipsListOperatorParameterInner | (optional)
+ operatorN := []string{"Inner_example"} // []string | (optional)
operatorNic := []string{"Inner_example"} // []string | (optional)
operatorNie := []string{"Inner_example"} // []string | (optional)
operatorNiew := []string{"Inner_example"} // []string | (optional)
@@ -8430,10 +8230,11 @@ func main() {
weightLte := []int32{int32(123)} // []int32 | (optional)
weightN := []int32{int32(123)} // []int32 | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasDynamicGroupMembershipsList(context.Background()).Created(created).Format(format).Group(group).GroupN(groupN).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).Limit(limit).Offset(offset).Operator(operator).OperatorIc(operatorIc).OperatorIe(operatorIe).OperatorIew(operatorIew).OperatorIre(operatorIre).OperatorIsw(operatorIsw).OperatorN(operatorN).OperatorNic(operatorNic).OperatorNie(operatorNie).OperatorNiew(operatorNiew).OperatorNire(operatorNire).OperatorNisw(operatorNisw).OperatorNre(operatorNre).OperatorRe(operatorRe).ParentGroup(parentGroup).ParentGroupN(parentGroupN).Q(q).Sort(sort).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasDynamicGroupMembershipsList(context.Background()).Created(created).Format(format).Group(group).GroupN(groupN).Id(id).IdN(idN).LastUpdated(lastUpdated).Limit(limit).Offset(offset).Operator(operator).OperatorIc(operatorIc).OperatorIe(operatorIe).OperatorIew(operatorIew).OperatorIre(operatorIre).OperatorIsw(operatorIsw).OperatorN(operatorN).OperatorNic(operatorNic).OperatorNie(operatorNie).OperatorNiew(operatorNiew).OperatorNire(operatorNire).OperatorNisw(operatorNisw).OperatorNre(operatorNre).OperatorRe(operatorRe).ParentGroup(parentGroup).ParentGroupN(parentGroupN).Q(q).Sort(sort).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasDynamicGroupMembershipsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -8459,19 +8260,7 @@ Name | Type | Description | Notes
**group** | **[]string** | |
**groupN** | **[]string** | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
@@ -8481,7 +8270,7 @@ Name | Type | Description | Notes
**operatorIew** | **[]string** | |
**operatorIre** | **[]string** | |
**operatorIsw** | **[]string** | |
- **operatorN** | [**[]ExtrasDynamicGroupMembershipsListOperatorParameterInner**](ExtrasDynamicGroupMembershipsListOperatorParameterInner.md) | |
+ **operatorN** | **[]string** | |
**operatorNic** | **[]string** | |
**operatorNie** | **[]string** | |
**operatorNiew** | **[]string** | |
@@ -8500,6 +8289,7 @@ Name | Type | Description | Notes
**weightLte** | **[]int32** | |
**weightN** | **[]int32** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -8595,7 +8385,7 @@ Name | Type | Description | Notes
## ExtrasDynamicGroupMembershipsRetrieve
-> DynamicGroupMembership ExtrasDynamicGroupMembershipsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> DynamicGroupMembership ExtrasDynamicGroupMembershipsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -8617,10 +8407,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this dynamic group membership.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasDynamicGroupMembershipsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasDynamicGroupMembershipsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasDynamicGroupMembershipsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -8648,6 +8439,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -9083,7 +8875,7 @@ Name | Type | Description | Notes
## ExtrasDynamicGroupsList
-> PaginatedDynamicGroupList ExtrasDynamicGroupsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentType(contentType).ContentTypeN(contentTypeN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Format(format).GroupType(groupType).GroupTypeIc(groupTypeIc).GroupTypeIe(groupTypeIe).GroupTypeIew(groupTypeIew).GroupTypeIre(groupTypeIre).GroupTypeIsw(groupTypeIsw).GroupTypeN(groupTypeN).GroupTypeNic(groupTypeNic).GroupTypeNie(groupTypeNie).GroupTypeNiew(groupTypeNiew).GroupTypeNire(groupTypeNire).GroupTypeNisw(groupTypeNisw).GroupTypeNre(groupTypeNre).GroupTypeRe(groupTypeRe).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MemberId(memberId).MemberIdIc(memberIdIc).MemberIdIe(memberIdIe).MemberIdIew(memberIdIew).MemberIdIre(memberIdIre).MemberIdIsw(memberIdIsw).MemberIdN(memberIdN).MemberIdNic(memberIdNic).MemberIdNie(memberIdNie).MemberIdNiew(memberIdNiew).MemberIdNire(memberIdNire).MemberIdNisw(memberIdNisw).MemberIdNre(memberIdNre).MemberIdRe(memberIdRe).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Depth(depth).Execute()
+> PaginatedDynamicGroupList ExtrasDynamicGroupsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentType(contentType).ContentTypeN(contentTypeN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Format(format).GroupType(groupType).GroupTypeIc(groupTypeIc).GroupTypeIe(groupTypeIe).GroupTypeIew(groupTypeIew).GroupTypeIre(groupTypeIre).GroupTypeIsw(groupTypeIsw).GroupTypeN(groupTypeN).GroupTypeNic(groupTypeNic).GroupTypeNie(groupTypeNie).GroupTypeNiew(groupTypeNiew).GroupTypeNire(groupTypeNire).GroupTypeNisw(groupTypeNisw).GroupTypeNre(groupTypeNre).GroupTypeRe(groupTypeRe).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MemberId(memberId).MemberIdN(memberIdN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -9105,7 +8897,7 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
contentType := []int32{int32(123)} // []int32 | (optional)
contentTypeN := []int32{int32(123)} // []int32 | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
@@ -9136,7 +8928,7 @@ func main() {
groupTypeIew := []string{"Inner_example"} // []string | (optional)
groupTypeIre := []string{"Inner_example"} // []string | (optional)
groupTypeIsw := []string{"Inner_example"} // []string | (optional)
- groupTypeN := []openapiclient.ExtrasDynamicGroupsListGroupTypeParameterInner{openapiclient.extras_dynamic_groups_list_group_type_parameter_inner("dynamic-filter")} // []ExtrasDynamicGroupsListGroupTypeParameterInner | (optional)
+ groupTypeN := []string{"Inner_example"} // []string | (optional)
groupTypeNic := []string{"Inner_example"} // []string | (optional)
groupTypeNie := []string{"Inner_example"} // []string | (optional)
groupTypeNiew := []string{"Inner_example"} // []string | (optional)
@@ -9145,19 +8937,7 @@ func main() {
groupTypeNre := []string{"Inner_example"} // []string | (optional)
groupTypeRe := []string{"Inner_example"} // []string | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -9167,19 +8947,7 @@ func main() {
lastUpdatedN := []time.Time{time.Now()} // []time.Time | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
memberId := []string{"Inner_example"} // []string | Group member ID (optional)
- memberIdIc := []string{"Inner_example"} // []string | Group member ID contains (optional)
- memberIdIe := []string{"Inner_example"} // []string | Group member ID (optional)
- memberIdIew := []string{"Inner_example"} // []string | Group member ID ends with (optional)
- memberIdIre := []string{"Inner_example"} // []string | Group member ID matches regex (optional)
- memberIdIsw := []string{"Inner_example"} // []string | Group member ID starts with (optional)
memberIdN := []string{"Inner_example"} // []string | Exclude Group member ID (optional)
- memberIdNic := []string{"Inner_example"} // []string | Exclude Group member ID contains (optional)
- memberIdNie := []string{"Inner_example"} // []string | Exclude Group member ID (optional)
- memberIdNiew := []string{"Inner_example"} // []string | Exclude Group member ID ends with (optional)
- memberIdNire := []string{"Inner_example"} // []string | Exclude Group member ID matches regex (optional)
- memberIdNisw := []string{"Inner_example"} // []string | Exclude Group member ID starts with (optional)
- memberIdNre := []string{"Inner_example"} // []string | Exclude Group member ID matches regex (optional)
- memberIdRe := []string{"Inner_example"} // []string | Group member ID matches regex (optional)
name := []string{"Inner_example"} // []string | (optional)
nameIc := []string{"Inner_example"} // []string | (optional)
nameIe := []string{"Inner_example"} // []string | (optional)
@@ -9202,7 +8970,7 @@ func main() {
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
tenant := []string{"Inner_example"} // []string | (optional)
tenantIsnull := true // bool | Tenant (name or ID) is null (optional)
tenantN := []string{"Inner_example"} // []string | (optional)
@@ -9213,10 +8981,11 @@ func main() {
tenantIdIsnull := true // bool | Tenant (ID) (deprecated, use \"tenant\" filter instead) is null (optional)
tenantIdN := []*string{"Inner_example"} // []*string | Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead) (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasDynamicGroupsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentType(contentType).ContentTypeN(contentTypeN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Format(format).GroupType(groupType).GroupTypeIc(groupTypeIc).GroupTypeIe(groupTypeIe).GroupTypeIew(groupTypeIew).GroupTypeIre(groupTypeIre).GroupTypeIsw(groupTypeIsw).GroupTypeN(groupTypeN).GroupTypeNic(groupTypeNic).GroupTypeNie(groupTypeNie).GroupTypeNiew(groupTypeNiew).GroupTypeNire(groupTypeNire).GroupTypeNisw(groupTypeNisw).GroupTypeNre(groupTypeNre).GroupTypeRe(groupTypeRe).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MemberId(memberId).MemberIdIc(memberIdIc).MemberIdIe(memberIdIe).MemberIdIew(memberIdIew).MemberIdIre(memberIdIre).MemberIdIsw(memberIdIsw).MemberIdN(memberIdN).MemberIdNic(memberIdNic).MemberIdNie(memberIdNie).MemberIdNiew(memberIdNiew).MemberIdNire(memberIdNire).MemberIdNisw(memberIdNisw).MemberIdNre(memberIdNre).MemberIdRe(memberIdRe).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasDynamicGroupsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentType(contentType).ContentTypeN(contentTypeN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Format(format).GroupType(groupType).GroupTypeIc(groupTypeIc).GroupTypeIe(groupTypeIe).GroupTypeIew(groupTypeIew).GroupTypeIre(groupTypeIre).GroupTypeIsw(groupTypeIsw).GroupTypeN(groupTypeN).GroupTypeNic(groupTypeNic).GroupTypeNie(groupTypeNie).GroupTypeNiew(groupTypeNiew).GroupTypeNire(groupTypeNire).GroupTypeNisw(groupTypeNisw).GroupTypeNre(groupTypeNre).GroupTypeRe(groupTypeRe).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MemberId(memberId).MemberIdN(memberIdN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasDynamicGroupsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -9239,7 +9008,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**contentType** | **[]int32** | |
**contentTypeN** | **[]int32** | |
**created** | [**[]time.Time**](time.Time.md) | |
@@ -9270,7 +9039,7 @@ Name | Type | Description | Notes
**groupTypeIew** | **[]string** | |
**groupTypeIre** | **[]string** | |
**groupTypeIsw** | **[]string** | |
- **groupTypeN** | [**[]ExtrasDynamicGroupsListGroupTypeParameterInner**](ExtrasDynamicGroupsListGroupTypeParameterInner.md) | |
+ **groupTypeN** | **[]string** | |
**groupTypeNic** | **[]string** | |
**groupTypeNie** | **[]string** | |
**groupTypeNiew** | **[]string** | |
@@ -9279,19 +9048,7 @@ Name | Type | Description | Notes
**groupTypeNre** | **[]string** | |
**groupTypeRe** | **[]string** | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -9301,19 +9058,7 @@ Name | Type | Description | Notes
**lastUpdatedN** | [**[]time.Time**](time.Time.md) | |
**limit** | **int32** | Number of results to return per page. |
**memberId** | **[]string** | Group member ID |
- **memberIdIc** | **[]string** | Group member ID contains |
- **memberIdIe** | **[]string** | Group member ID |
- **memberIdIew** | **[]string** | Group member ID ends with |
- **memberIdIre** | **[]string** | Group member ID matches regex |
- **memberIdIsw** | **[]string** | Group member ID starts with |
**memberIdN** | **[]string** | Exclude Group member ID |
- **memberIdNic** | **[]string** | Exclude Group member ID contains |
- **memberIdNie** | **[]string** | Exclude Group member ID |
- **memberIdNiew** | **[]string** | Exclude Group member ID ends with |
- **memberIdNire** | **[]string** | Exclude Group member ID matches regex |
- **memberIdNisw** | **[]string** | Exclude Group member ID starts with |
- **memberIdNre** | **[]string** | Exclude Group member ID matches regex |
- **memberIdRe** | **[]string** | Group member ID matches regex |
**name** | **[]string** | |
**nameIc** | **[]string** | |
**nameIe** | **[]string** | |
@@ -9336,7 +9081,7 @@ Name | Type | Description | Notes
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**tenant** | **[]string** | |
**tenantIsnull** | **bool** | Tenant (name or ID) is null |
**tenantN** | **[]string** | |
@@ -9347,6 +9092,7 @@ Name | Type | Description | Notes
**tenantIdIsnull** | **bool** | Tenant (ID) (deprecated, use \"tenant\" filter instead) is null |
**tenantIdN** | **[]string** | Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead) |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -9368,7 +9114,7 @@ Name | Type | Description | Notes
## ExtrasDynamicGroupsMembersRetrieve
-> DynamicGroup ExtrasDynamicGroupsMembersRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> DynamicGroup ExtrasDynamicGroupsMembersRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -9390,10 +9136,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this dynamic group.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasDynamicGroupsMembersRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasDynamicGroupsMembersRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasDynamicGroupsMembersRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -9421,6 +9168,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -9516,7 +9264,7 @@ Name | Type | Description | Notes
## ExtrasDynamicGroupsNotesList
-> PaginatedNoteList ExtrasDynamicGroupsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList ExtrasDynamicGroupsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -9540,10 +9288,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasDynamicGroupsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasDynamicGroupsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasDynamicGroupsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -9573,6 +9322,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -9668,7 +9418,7 @@ Name | Type | Description | Notes
## ExtrasDynamicGroupsRetrieve
-> DynamicGroup ExtrasDynamicGroupsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> DynamicGroup ExtrasDynamicGroupsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -9690,10 +9440,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this dynamic group.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasDynamicGroupsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasDynamicGroupsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasDynamicGroupsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -9721,6 +9472,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -10156,7 +9908,7 @@ Name | Type | Description | Notes
## ExtrasExportTemplatesList
-> PaginatedExportTemplateList ExtrasExportTemplatesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentType(contentType).ContentTypeN(contentTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).OwnerContentType(ownerContentType).OwnerContentTypeIsnull(ownerContentTypeIsnull).OwnerContentTypeN(ownerContentTypeN).OwnerObjectId(ownerObjectId).OwnerObjectIdIc(ownerObjectIdIc).OwnerObjectIdIe(ownerObjectIdIe).OwnerObjectIdIew(ownerObjectIdIew).OwnerObjectIdIre(ownerObjectIdIre).OwnerObjectIdIsnull(ownerObjectIdIsnull).OwnerObjectIdIsw(ownerObjectIdIsw).OwnerObjectIdN(ownerObjectIdN).OwnerObjectIdNic(ownerObjectIdNic).OwnerObjectIdNie(ownerObjectIdNie).OwnerObjectIdNiew(ownerObjectIdNiew).OwnerObjectIdNire(ownerObjectIdNire).OwnerObjectIdNisw(ownerObjectIdNisw).OwnerObjectIdNre(ownerObjectIdNre).OwnerObjectIdRe(ownerObjectIdRe).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedExportTemplateList ExtrasExportTemplatesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentType(contentType).ContentTypeN(contentTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).OwnerContentType(ownerContentType).OwnerContentTypeIsnull(ownerContentTypeIsnull).OwnerContentTypeN(ownerContentTypeN).OwnerObjectId(ownerObjectId).OwnerObjectIdIsnull(ownerObjectIdIsnull).OwnerObjectIdN(ownerObjectIdN).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -10177,26 +9929,14 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
contentType := "contentType_example" // string | (optional)
contentTypeN := "contentTypeN_example" // string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
name := []string{"Inner_example"} // []string | (optional)
nameIc := []string{"Inner_example"} // []string | (optional)
@@ -10217,30 +9957,19 @@ func main() {
ownerContentTypeIsnull := true // bool | (optional)
ownerContentTypeN := "ownerContentTypeN_example" // string | (optional)
ownerObjectId := []string{"Inner_example"} // []string | (optional)
- ownerObjectIdIc := []string{"Inner_example"} // []string | (optional)
- ownerObjectIdIe := []string{"Inner_example"} // []string | (optional)
- ownerObjectIdIew := []string{"Inner_example"} // []string | (optional)
- ownerObjectIdIre := []string{"Inner_example"} // []string | (optional)
ownerObjectIdIsnull := true // bool | (optional)
- ownerObjectIdIsw := []string{"Inner_example"} // []string | (optional)
ownerObjectIdN := []string{"Inner_example"} // []string | (optional)
- ownerObjectIdNic := []string{"Inner_example"} // []string | (optional)
- ownerObjectIdNie := []string{"Inner_example"} // []string | (optional)
- ownerObjectIdNiew := []string{"Inner_example"} // []string | (optional)
- ownerObjectIdNire := []string{"Inner_example"} // []string | (optional)
- ownerObjectIdNisw := []string{"Inner_example"} // []string | (optional)
- ownerObjectIdNre := []string{"Inner_example"} // []string | (optional)
- ownerObjectIdRe := []string{"Inner_example"} // []string | (optional)
q := "q_example" // string | Search (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasExportTemplatesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentType(contentType).ContentTypeN(contentTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).OwnerContentType(ownerContentType).OwnerContentTypeIsnull(ownerContentTypeIsnull).OwnerContentTypeN(ownerContentTypeN).OwnerObjectId(ownerObjectId).OwnerObjectIdIc(ownerObjectIdIc).OwnerObjectIdIe(ownerObjectIdIe).OwnerObjectIdIew(ownerObjectIdIew).OwnerObjectIdIre(ownerObjectIdIre).OwnerObjectIdIsnull(ownerObjectIdIsnull).OwnerObjectIdIsw(ownerObjectIdIsw).OwnerObjectIdN(ownerObjectIdN).OwnerObjectIdNic(ownerObjectIdNic).OwnerObjectIdNie(ownerObjectIdNie).OwnerObjectIdNiew(ownerObjectIdNiew).OwnerObjectIdNire(ownerObjectIdNire).OwnerObjectIdNisw(ownerObjectIdNisw).OwnerObjectIdNre(ownerObjectIdNre).OwnerObjectIdRe(ownerObjectIdRe).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasExportTemplatesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentType(contentType).ContentTypeN(contentTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).OwnerContentType(ownerContentType).OwnerContentTypeIsnull(ownerContentTypeIsnull).OwnerContentTypeN(ownerContentTypeN).OwnerObjectId(ownerObjectId).OwnerObjectIdIsnull(ownerObjectIdIsnull).OwnerObjectIdN(ownerObjectIdN).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasExportTemplatesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -10263,26 +9992,14 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**contentType** | **string** | |
**contentTypeN** | **string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**limit** | **int32** | Number of results to return per page. |
**name** | **[]string** | |
**nameIc** | **[]string** | |
@@ -10303,26 +10020,15 @@ Name | Type | Description | Notes
**ownerContentTypeIsnull** | **bool** | |
**ownerContentTypeN** | **string** | |
**ownerObjectId** | **[]string** | |
- **ownerObjectIdIc** | **[]string** | |
- **ownerObjectIdIe** | **[]string** | |
- **ownerObjectIdIew** | **[]string** | |
- **ownerObjectIdIre** | **[]string** | |
**ownerObjectIdIsnull** | **bool** | |
- **ownerObjectIdIsw** | **[]string** | |
**ownerObjectIdN** | **[]string** | |
- **ownerObjectIdNic** | **[]string** | |
- **ownerObjectIdNie** | **[]string** | |
- **ownerObjectIdNiew** | **[]string** | |
- **ownerObjectIdNire** | **[]string** | |
- **ownerObjectIdNisw** | **[]string** | |
- **ownerObjectIdNre** | **[]string** | |
- **ownerObjectIdRe** | **[]string** | |
**q** | **string** | Search |
**sort** | **string** | Which field to use when ordering the results. |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -10418,7 +10124,7 @@ Name | Type | Description | Notes
## ExtrasExportTemplatesNotesList
-> PaginatedNoteList ExtrasExportTemplatesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList ExtrasExportTemplatesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -10442,10 +10148,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasExportTemplatesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasExportTemplatesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasExportTemplatesNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -10475,6 +10182,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -10570,7 +10278,7 @@ Name | Type | Description | Notes
## ExtrasExportTemplatesRetrieve
-> ExportTemplate ExtrasExportTemplatesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> ExportTemplate ExtrasExportTemplatesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -10592,10 +10300,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this export template.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasExportTemplatesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasExportTemplatesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasExportTemplatesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -10623,6 +10332,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -11058,7 +10768,7 @@ Name | Type | Description | Notes
## ExtrasExternalIntegrationsList
-> PaginatedExternalIntegrationList ExtrasExternalIntegrationsList(ctx).CaFilePath(caFilePath).CaFilePathIc(caFilePathIc).CaFilePathIe(caFilePathIe).CaFilePathIew(caFilePathIew).CaFilePathIre(caFilePathIre).CaFilePathIsw(caFilePathIsw).CaFilePathN(caFilePathN).CaFilePathNic(caFilePathNic).CaFilePathNie(caFilePathNie).CaFilePathNiew(caFilePathNiew).CaFilePathNire(caFilePathNire).CaFilePathNisw(caFilePathNisw).CaFilePathNre(caFilePathNre).CaFilePathRe(caFilePathRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).ExtraConfig(extraConfig).Format(format).HasSecretsGroup(hasSecretsGroup).Headers(headers).HttpMethod(httpMethod).HttpMethodIc(httpMethodIc).HttpMethodIe(httpMethodIe).HttpMethodIew(httpMethodIew).HttpMethodIre(httpMethodIre).HttpMethodIsw(httpMethodIsw).HttpMethodN(httpMethodN).HttpMethodNic(httpMethodNic).HttpMethodNie(httpMethodNie).HttpMethodNiew(httpMethodNiew).HttpMethodNire(httpMethodNire).HttpMethodNisw(httpMethodNisw).HttpMethodNre(httpMethodNre).HttpMethodRe(httpMethodRe).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).RemoteUrl(remoteUrl).RemoteUrlIc(remoteUrlIc).RemoteUrlIe(remoteUrlIe).RemoteUrlIew(remoteUrlIew).RemoteUrlIre(remoteUrlIre).RemoteUrlIsw(remoteUrlIsw).RemoteUrlN(remoteUrlN).RemoteUrlNic(remoteUrlNic).RemoteUrlNie(remoteUrlNie).RemoteUrlNiew(remoteUrlNiew).RemoteUrlNire(remoteUrlNire).RemoteUrlNisw(remoteUrlNisw).RemoteUrlNre(remoteUrlNre).RemoteUrlRe(remoteUrlRe).SecretsGroup(secretsGroup).SecretsGroupIsnull(secretsGroupIsnull).SecretsGroupN(secretsGroupN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Timeout(timeout).TimeoutGt(timeoutGt).TimeoutGte(timeoutGte).TimeoutLt(timeoutLt).TimeoutLte(timeoutLte).TimeoutN(timeoutN).VerifySsl(verifySsl).Depth(depth).Execute()
+> PaginatedExternalIntegrationList ExtrasExternalIntegrationsList(ctx).CaFilePath(caFilePath).CaFilePathIc(caFilePathIc).CaFilePathIe(caFilePathIe).CaFilePathIew(caFilePathIew).CaFilePathIre(caFilePathIre).CaFilePathIsw(caFilePathIsw).CaFilePathN(caFilePathN).CaFilePathNic(caFilePathNic).CaFilePathNie(caFilePathNie).CaFilePathNiew(caFilePathNiew).CaFilePathNire(caFilePathNire).CaFilePathNisw(caFilePathNisw).CaFilePathNre(caFilePathNre).CaFilePathRe(caFilePathRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).ExtraConfig(extraConfig).Format(format).HasSecretsGroup(hasSecretsGroup).Headers(headers).HttpMethod(httpMethod).HttpMethodIc(httpMethodIc).HttpMethodIe(httpMethodIe).HttpMethodIew(httpMethodIew).HttpMethodIre(httpMethodIre).HttpMethodIsw(httpMethodIsw).HttpMethodN(httpMethodN).HttpMethodNic(httpMethodNic).HttpMethodNie(httpMethodNie).HttpMethodNiew(httpMethodNiew).HttpMethodNire(httpMethodNire).HttpMethodNisw(httpMethodNisw).HttpMethodNre(httpMethodNre).HttpMethodRe(httpMethodRe).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).RemoteUrl(remoteUrl).RemoteUrlIc(remoteUrlIc).RemoteUrlIe(remoteUrlIe).RemoteUrlIew(remoteUrlIew).RemoteUrlIre(remoteUrlIre).RemoteUrlIsw(remoteUrlIsw).RemoteUrlN(remoteUrlN).RemoteUrlNic(remoteUrlNic).RemoteUrlNie(remoteUrlNie).RemoteUrlNiew(remoteUrlNiew).RemoteUrlNire(remoteUrlNire).RemoteUrlNisw(remoteUrlNisw).RemoteUrlNre(remoteUrlNre).RemoteUrlRe(remoteUrlRe).SecretsGroup(secretsGroup).SecretsGroupIsnull(secretsGroupIsnull).SecretsGroupN(secretsGroupN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Timeout(timeout).TimeoutGt(timeoutGt).TimeoutGte(timeoutGte).TimeoutLt(timeoutLt).TimeoutLte(timeoutLte).TimeoutN(timeoutN).VerifySsl(verifySsl).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -11094,7 +10804,7 @@ func main() {
caFilePathRe := []string{"Inner_example"} // []string | (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -11103,7 +10813,7 @@ func main() {
createdLte := []time.Time{time.Now()} // []time.Time | (optional)
createdN := []time.Time{time.Now()} // []time.Time | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
extraConfig := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
hasSecretsGroup := true // bool | Has secrets group (optional)
@@ -11123,19 +10833,7 @@ func main() {
httpMethodNre := []string{"Inner_example"} // []string | (optional)
httpMethodRe := []string{"Inner_example"} // []string | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -11183,7 +10881,7 @@ func main() {
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
timeout := []int32{int32(123)} // []int32 | (optional)
timeoutGt := []int32{int32(123)} // []int32 | (optional)
timeoutGte := []int32{int32(123)} // []int32 | (optional)
@@ -11192,10 +10890,11 @@ func main() {
timeoutN := []int32{int32(123)} // []int32 | (optional)
verifySsl := true // bool | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasExternalIntegrationsList(context.Background()).CaFilePath(caFilePath).CaFilePathIc(caFilePathIc).CaFilePathIe(caFilePathIe).CaFilePathIew(caFilePathIew).CaFilePathIre(caFilePathIre).CaFilePathIsw(caFilePathIsw).CaFilePathN(caFilePathN).CaFilePathNic(caFilePathNic).CaFilePathNie(caFilePathNie).CaFilePathNiew(caFilePathNiew).CaFilePathNire(caFilePathNire).CaFilePathNisw(caFilePathNisw).CaFilePathNre(caFilePathNre).CaFilePathRe(caFilePathRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).ExtraConfig(extraConfig).Format(format).HasSecretsGroup(hasSecretsGroup).Headers(headers).HttpMethod(httpMethod).HttpMethodIc(httpMethodIc).HttpMethodIe(httpMethodIe).HttpMethodIew(httpMethodIew).HttpMethodIre(httpMethodIre).HttpMethodIsw(httpMethodIsw).HttpMethodN(httpMethodN).HttpMethodNic(httpMethodNic).HttpMethodNie(httpMethodNie).HttpMethodNiew(httpMethodNiew).HttpMethodNire(httpMethodNire).HttpMethodNisw(httpMethodNisw).HttpMethodNre(httpMethodNre).HttpMethodRe(httpMethodRe).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).RemoteUrl(remoteUrl).RemoteUrlIc(remoteUrlIc).RemoteUrlIe(remoteUrlIe).RemoteUrlIew(remoteUrlIew).RemoteUrlIre(remoteUrlIre).RemoteUrlIsw(remoteUrlIsw).RemoteUrlN(remoteUrlN).RemoteUrlNic(remoteUrlNic).RemoteUrlNie(remoteUrlNie).RemoteUrlNiew(remoteUrlNiew).RemoteUrlNire(remoteUrlNire).RemoteUrlNisw(remoteUrlNisw).RemoteUrlNre(remoteUrlNre).RemoteUrlRe(remoteUrlRe).SecretsGroup(secretsGroup).SecretsGroupIsnull(secretsGroupIsnull).SecretsGroupN(secretsGroupN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Timeout(timeout).TimeoutGt(timeoutGt).TimeoutGte(timeoutGte).TimeoutLt(timeoutLt).TimeoutLte(timeoutLte).TimeoutN(timeoutN).VerifySsl(verifySsl).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasExternalIntegrationsList(context.Background()).CaFilePath(caFilePath).CaFilePathIc(caFilePathIc).CaFilePathIe(caFilePathIe).CaFilePathIew(caFilePathIew).CaFilePathIre(caFilePathIre).CaFilePathIsw(caFilePathIsw).CaFilePathN(caFilePathN).CaFilePathNic(caFilePathNic).CaFilePathNie(caFilePathNie).CaFilePathNiew(caFilePathNiew).CaFilePathNire(caFilePathNire).CaFilePathNisw(caFilePathNisw).CaFilePathNre(caFilePathNre).CaFilePathRe(caFilePathRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).ExtraConfig(extraConfig).Format(format).HasSecretsGroup(hasSecretsGroup).Headers(headers).HttpMethod(httpMethod).HttpMethodIc(httpMethodIc).HttpMethodIe(httpMethodIe).HttpMethodIew(httpMethodIew).HttpMethodIre(httpMethodIre).HttpMethodIsw(httpMethodIsw).HttpMethodN(httpMethodN).HttpMethodNic(httpMethodNic).HttpMethodNie(httpMethodNie).HttpMethodNiew(httpMethodNiew).HttpMethodNire(httpMethodNire).HttpMethodNisw(httpMethodNisw).HttpMethodNre(httpMethodNre).HttpMethodRe(httpMethodRe).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).RemoteUrl(remoteUrl).RemoteUrlIc(remoteUrlIc).RemoteUrlIe(remoteUrlIe).RemoteUrlIew(remoteUrlIew).RemoteUrlIre(remoteUrlIre).RemoteUrlIsw(remoteUrlIsw).RemoteUrlN(remoteUrlN).RemoteUrlNic(remoteUrlNic).RemoteUrlNie(remoteUrlNie).RemoteUrlNiew(remoteUrlNiew).RemoteUrlNire(remoteUrlNire).RemoteUrlNisw(remoteUrlNisw).RemoteUrlNre(remoteUrlNre).RemoteUrlRe(remoteUrlRe).SecretsGroup(secretsGroup).SecretsGroupIsnull(secretsGroupIsnull).SecretsGroupN(secretsGroupN).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Timeout(timeout).TimeoutGt(timeoutGt).TimeoutGte(timeoutGte).TimeoutLt(timeoutLt).TimeoutLte(timeoutLte).TimeoutN(timeoutN).VerifySsl(verifySsl).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasExternalIntegrationsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -11232,7 +10931,7 @@ Name | Type | Description | Notes
**caFilePathRe** | **[]string** | |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -11241,7 +10940,7 @@ Name | Type | Description | Notes
**createdLte** | [**[]time.Time**](time.Time.md) | |
**createdN** | [**[]time.Time**](time.Time.md) | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**extraConfig** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**hasSecretsGroup** | **bool** | Has secrets group |
@@ -11261,19 +10960,7 @@ Name | Type | Description | Notes
**httpMethodNre** | **[]string** | |
**httpMethodRe** | **[]string** | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -11321,7 +11008,7 @@ Name | Type | Description | Notes
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**timeout** | **[]int32** | |
**timeoutGt** | **[]int32** | |
**timeoutGte** | **[]int32** | |
@@ -11330,6 +11017,7 @@ Name | Type | Description | Notes
**timeoutN** | **[]int32** | |
**verifySsl** | **bool** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -11425,7 +11113,7 @@ Name | Type | Description | Notes
## ExtrasExternalIntegrationsNotesList
-> PaginatedNoteList ExtrasExternalIntegrationsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList ExtrasExternalIntegrationsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -11449,10 +11137,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasExternalIntegrationsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasExternalIntegrationsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasExternalIntegrationsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -11482,6 +11171,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -11577,7 +11267,7 @@ Name | Type | Description | Notes
## ExtrasExternalIntegrationsRetrieve
-> ExternalIntegration ExtrasExternalIntegrationsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> ExternalIntegration ExtrasExternalIntegrationsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -11599,10 +11289,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this external integration.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasExternalIntegrationsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasExternalIntegrationsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasExternalIntegrationsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -11630,6 +11321,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -11725,7 +11417,7 @@ Name | Type | Description | Notes
## ExtrasFileProxiesDownloadRetrieve
-> *os.File ExtrasFileProxiesDownloadRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> *os.File ExtrasFileProxiesDownloadRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -11747,10 +11439,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this file proxy.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasFileProxiesDownloadRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasFileProxiesDownloadRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasFileProxiesDownloadRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -11778,6 +11471,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -11799,7 +11493,7 @@ Name | Type | Description | Notes
## ExtrasFileProxiesList
-> PaginatedFileProxyList ExtrasFileProxiesList(ctx).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Job(job).JobIsnull(jobIsnull).JobN(jobN).JobResultId(jobResultId).JobResultIdIsnull(jobResultIdIsnull).JobResultIdN(jobResultIdN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).UploadedAt(uploadedAt).UploadedAtGt(uploadedAtGt).UploadedAtGte(uploadedAtGte).UploadedAtLt(uploadedAtLt).UploadedAtLte(uploadedAtLte).UploadedAtN(uploadedAtN).Depth(depth).Execute()
+> PaginatedFileProxyList ExtrasFileProxiesList(ctx).Format(format).Id(id).IdN(idN).Job(job).JobIsnull(jobIsnull).JobN(jobN).JobResultId(jobResultId).JobResultIdIsnull(jobResultIdIsnull).JobResultIdN(jobResultIdN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).UploadedAt(uploadedAt).UploadedAtGt(uploadedAtGt).UploadedAtGte(uploadedAtGte).UploadedAtLt(uploadedAtLt).UploadedAtLte(uploadedAtLte).UploadedAtN(uploadedAtN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -11821,19 +11515,7 @@ import (
func main() {
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
job := []string{"Inner_example"} // []string | (optional)
jobIsnull := true // bool | Job (name or ID) is null (optional)
jobN := []string{"Inner_example"} // []string | (optional)
@@ -11865,10 +11547,11 @@ func main() {
uploadedAtLte := []time.Time{time.Now()} // []time.Time | (optional)
uploadedAtN := []time.Time{time.Now()} // []time.Time | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasFileProxiesList(context.Background()).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Job(job).JobIsnull(jobIsnull).JobN(jobN).JobResultId(jobResultId).JobResultIdIsnull(jobResultIdIsnull).JobResultIdN(jobResultIdN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).UploadedAt(uploadedAt).UploadedAtGt(uploadedAtGt).UploadedAtGte(uploadedAtGte).UploadedAtLt(uploadedAtLt).UploadedAtLte(uploadedAtLte).UploadedAtN(uploadedAtN).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasFileProxiesList(context.Background()).Format(format).Id(id).IdN(idN).Job(job).JobIsnull(jobIsnull).JobN(jobN).JobResultId(jobResultId).JobResultIdIsnull(jobResultIdIsnull).JobResultIdN(jobResultIdN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).UploadedAt(uploadedAt).UploadedAtGt(uploadedAtGt).UploadedAtGte(uploadedAtGte).UploadedAtLt(uploadedAtLt).UploadedAtLte(uploadedAtLte).UploadedAtN(uploadedAtN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasFileProxiesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -11891,19 +11574,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**job** | **[]string** | |
**jobIsnull** | **bool** | Job (name or ID) is null |
**jobN** | **[]string** | |
@@ -11935,6 +11606,7 @@ Name | Type | Description | Notes
**uploadedAtLte** | [**[]time.Time**](time.Time.md) | |
**uploadedAtN** | [**[]time.Time**](time.Time.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -11956,7 +11628,7 @@ Name | Type | Description | Notes
## ExtrasFileProxiesRetrieve
-> FileProxy ExtrasFileProxiesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> FileProxy ExtrasFileProxiesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -11978,10 +11650,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this file proxy.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasFileProxiesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasFileProxiesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasFileProxiesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -12009,6 +11682,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -12370,7 +12044,7 @@ Name | Type | Description | Notes
## ExtrasGitRepositoriesList
-> PaginatedGitRepositoryList ExtrasGitRepositoriesList(ctx).Branch(branch).BranchIc(branchIc).BranchIe(branchIe).BranchIew(branchIew).BranchIre(branchIre).BranchIsw(branchIsw).BranchN(branchN).BranchNic(branchNic).BranchNie(branchNie).BranchNiew(branchNiew).BranchNire(branchNire).BranchNisw(branchNisw).BranchNre(branchNre).BranchRe(branchRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).ProvidedContents(providedContents).Q(q).RemoteUrl(remoteUrl).RemoteUrlIc(remoteUrlIc).RemoteUrlIe(remoteUrlIe).RemoteUrlIew(remoteUrlIew).RemoteUrlIre(remoteUrlIre).RemoteUrlIsw(remoteUrlIsw).RemoteUrlN(remoteUrlN).RemoteUrlNic(remoteUrlNic).RemoteUrlNie(remoteUrlNie).RemoteUrlNiew(remoteUrlNiew).RemoteUrlNire(remoteUrlNire).RemoteUrlNisw(remoteUrlNisw).RemoteUrlNre(remoteUrlNre).RemoteUrlRe(remoteUrlRe).SecretsGroup(secretsGroup).SecretsGroupIsnull(secretsGroupIsnull).SecretsGroupN(secretsGroupN).SecretsGroupId(secretsGroupId).SecretsGroupIdIsnull(secretsGroupIdIsnull).SecretsGroupIdN(secretsGroupIdN).Slug(slug).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIre(slugIre).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNire(slugNire).SlugNisw(slugNisw).SlugNre(slugNre).SlugRe(slugRe).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedGitRepositoryList ExtrasGitRepositoriesList(ctx).Branch(branch).BranchIc(branchIc).BranchIe(branchIe).BranchIew(branchIew).BranchIre(branchIre).BranchIsw(branchIsw).BranchN(branchN).BranchNic(branchNic).BranchNie(branchNie).BranchNiew(branchNiew).BranchNire(branchNire).BranchNisw(branchNisw).BranchNre(branchNre).BranchRe(branchRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).ProvidedContents(providedContents).Q(q).RemoteUrl(remoteUrl).RemoteUrlIc(remoteUrlIc).RemoteUrlIe(remoteUrlIe).RemoteUrlIew(remoteUrlIew).RemoteUrlIre(remoteUrlIre).RemoteUrlIsw(remoteUrlIsw).RemoteUrlN(remoteUrlN).RemoteUrlNic(remoteUrlNic).RemoteUrlNie(remoteUrlNie).RemoteUrlNiew(remoteUrlNiew).RemoteUrlNire(remoteUrlNire).RemoteUrlNisw(remoteUrlNisw).RemoteUrlNre(remoteUrlNre).RemoteUrlRe(remoteUrlRe).SecretsGroup(secretsGroup).SecretsGroupIsnull(secretsGroupIsnull).SecretsGroupN(secretsGroupN).SecretsGroupId(secretsGroupId).SecretsGroupIdIsnull(secretsGroupIdIsnull).SecretsGroupIdN(secretsGroupIdN).Slug(slug).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIre(slugIre).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNire(slugNire).SlugNisw(slugNisw).SlugNre(slugNre).SlugRe(slugRe).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -12406,7 +12080,7 @@ func main() {
branchRe := []string{"Inner_example"} // []string | (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -12415,22 +12089,10 @@ func main() {
createdLte := []time.Time{time.Now()} // []time.Time | (optional)
createdN := []time.Time{time.Now()} // []time.Time | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -12496,12 +12158,13 @@ func main() {
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasGitRepositoriesList(context.Background()).Branch(branch).BranchIc(branchIc).BranchIe(branchIe).BranchIew(branchIew).BranchIre(branchIre).BranchIsw(branchIsw).BranchN(branchN).BranchNic(branchNic).BranchNie(branchNie).BranchNiew(branchNiew).BranchNire(branchNire).BranchNisw(branchNisw).BranchNre(branchNre).BranchRe(branchRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).ProvidedContents(providedContents).Q(q).RemoteUrl(remoteUrl).RemoteUrlIc(remoteUrlIc).RemoteUrlIe(remoteUrlIe).RemoteUrlIew(remoteUrlIew).RemoteUrlIre(remoteUrlIre).RemoteUrlIsw(remoteUrlIsw).RemoteUrlN(remoteUrlN).RemoteUrlNic(remoteUrlNic).RemoteUrlNie(remoteUrlNie).RemoteUrlNiew(remoteUrlNiew).RemoteUrlNire(remoteUrlNire).RemoteUrlNisw(remoteUrlNisw).RemoteUrlNre(remoteUrlNre).RemoteUrlRe(remoteUrlRe).SecretsGroup(secretsGroup).SecretsGroupIsnull(secretsGroupIsnull).SecretsGroupN(secretsGroupN).SecretsGroupId(secretsGroupId).SecretsGroupIdIsnull(secretsGroupIdIsnull).SecretsGroupIdN(secretsGroupIdN).Slug(slug).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIre(slugIre).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNire(slugNire).SlugNisw(slugNisw).SlugNre(slugNre).SlugRe(slugRe).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasGitRepositoriesList(context.Background()).Branch(branch).BranchIc(branchIc).BranchIe(branchIe).BranchIew(branchIew).BranchIre(branchIre).BranchIsw(branchIsw).BranchN(branchN).BranchNic(branchNic).BranchNie(branchNie).BranchNiew(branchNiew).BranchNire(branchNire).BranchNisw(branchNisw).BranchNre(branchNre).BranchRe(branchRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).ProvidedContents(providedContents).Q(q).RemoteUrl(remoteUrl).RemoteUrlIc(remoteUrlIc).RemoteUrlIe(remoteUrlIe).RemoteUrlIew(remoteUrlIew).RemoteUrlIre(remoteUrlIre).RemoteUrlIsw(remoteUrlIsw).RemoteUrlN(remoteUrlN).RemoteUrlNic(remoteUrlNic).RemoteUrlNie(remoteUrlNie).RemoteUrlNiew(remoteUrlNiew).RemoteUrlNire(remoteUrlNire).RemoteUrlNisw(remoteUrlNisw).RemoteUrlNre(remoteUrlNre).RemoteUrlRe(remoteUrlRe).SecretsGroup(secretsGroup).SecretsGroupIsnull(secretsGroupIsnull).SecretsGroupN(secretsGroupN).SecretsGroupId(secretsGroupId).SecretsGroupIdIsnull(secretsGroupIdIsnull).SecretsGroupIdN(secretsGroupIdN).Slug(slug).SlugIc(slugIc).SlugIe(slugIe).SlugIew(slugIew).SlugIre(slugIre).SlugIsw(slugIsw).SlugN(slugN).SlugNic(slugNic).SlugNie(slugNie).SlugNiew(slugNiew).SlugNire(slugNire).SlugNisw(slugNisw).SlugNre(slugNre).SlugRe(slugRe).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasGitRepositoriesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -12538,7 +12201,7 @@ Name | Type | Description | Notes
**branchRe** | **[]string** | |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -12547,22 +12210,10 @@ Name | Type | Description | Notes
**createdLte** | [**[]time.Time**](time.Time.md) | |
**createdN** | [**[]time.Time**](time.Time.md) | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -12628,8 +12279,9 @@ Name | Type | Description | Notes
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -12725,7 +12377,7 @@ Name | Type | Description | Notes
## ExtrasGitRepositoriesNotesList
-> PaginatedNoteList ExtrasGitRepositoriesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList ExtrasGitRepositoriesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -12749,10 +12401,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasGitRepositoriesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasGitRepositoriesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasGitRepositoriesNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -12782,6 +12435,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -12877,7 +12531,7 @@ Name | Type | Description | Notes
## ExtrasGitRepositoriesRetrieve
-> GitRepository ExtrasGitRepositoriesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> GitRepository ExtrasGitRepositoriesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -12899,10 +12553,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this Git repository.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasGitRepositoriesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasGitRepositoriesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasGitRepositoriesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -12930,6 +12585,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -12951,7 +12607,7 @@ Name | Type | Description | Notes
## ExtrasGitRepositoriesSyncCreate
-> GitRepository ExtrasGitRepositoriesSyncCreate(ctx, id).GitRepositoryRequest(gitRepositoryRequest).Format(format).Execute()
+> GitRepositorySyncResponse ExtrasGitRepositoriesSyncCreate(ctx, id).Format(format).Execute()
@@ -12971,17 +12627,16 @@ import (
func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this Git repository.
- gitRepositoryRequest := *openapiclient.NewGitRepositoryRequest("Name_example", "RemoteUrl_example") // GitRepositoryRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasGitRepositoriesSyncCreate(context.Background(), id).GitRepositoryRequest(gitRepositoryRequest).Format(format).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasGitRepositoriesSyncCreate(context.Background(), id).Format(format).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasGitRepositoriesSyncCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `ExtrasGitRepositoriesSyncCreate`: GitRepository
+ // response from `ExtrasGitRepositoriesSyncCreate`: GitRepositorySyncResponse
fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasGitRepositoriesSyncCreate`: %v\n", resp)
}
```
@@ -13002,12 +12657,11 @@ Other parameters are passed through a pointer to a apiExtrasGitRepositoriesSyncC
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **gitRepositoryRequest** | [**GitRepositoryRequest**](GitRepositoryRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**GitRepository**](GitRepository.md)
+[**GitRepositorySyncResponse**](GitRepositorySyncResponse.md)
### Authorization
@@ -13015,7 +12669,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: application/json, text/csv
+- **Content-Type**: Not defined
- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -13439,7 +13093,7 @@ Name | Type | Description | Notes
## ExtrasGraphqlQueriesList
-> PaginatedGraphQLQueryList ExtrasGraphqlQueriesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedGraphQLQueryList ExtrasGraphqlQueriesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -13460,24 +13114,12 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
name := []string{"Inner_example"} // []string | (optional)
nameIc := []string{"Inner_example"} // []string | (optional)
@@ -13498,12 +13140,13 @@ func main() {
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasGraphqlQueriesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasGraphqlQueriesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasGraphqlQueriesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -13526,24 +13169,12 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**limit** | **int32** | Number of results to return per page. |
**name** | **[]string** | |
**nameIc** | **[]string** | |
@@ -13564,8 +13195,9 @@ Name | Type | Description | Notes
**sort** | **string** | Which field to use when ordering the results. |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -13661,7 +13293,7 @@ Name | Type | Description | Notes
## ExtrasGraphqlQueriesNotesList
-> PaginatedNoteList ExtrasGraphqlQueriesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList ExtrasGraphqlQueriesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -13685,10 +13317,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasGraphqlQueriesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasGraphqlQueriesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasGraphqlQueriesNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -13718,6 +13351,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -13813,7 +13447,7 @@ Name | Type | Description | Notes
## ExtrasGraphqlQueriesRetrieve
-> GraphQLQuery ExtrasGraphqlQueriesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> GraphQLQuery ExtrasGraphqlQueriesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -13835,10 +13469,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this GraphQL query.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasGraphqlQueriesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasGraphqlQueriesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasGraphqlQueriesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -13866,6 +13501,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -14091,7 +13727,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: application/json, text/csv
+- **Content-Type**: application/json, text/csv, multipart/form-data
- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -14159,7 +13795,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: application/json, text/csv
+- **Content-Type**: application/json, text/csv, multipart/form-data
- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -14227,7 +13863,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: application/json, text/csv
+- **Content-Type**: application/json, text/csv, multipart/form-data
- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -14295,7 +13931,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: application/json, text/csv
+- **Content-Type**: application/json, text/csv, multipart/form-data
- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -14375,7 +14011,7 @@ Name | Type | Description | Notes
## ExtrasImageAttachmentsList
-> PaginatedImageAttachmentList ExtrasImageAttachmentsList(ctx).ContentType(contentType).ContentTypeN(contentTypeN).ContentTypeId(contentTypeId).ContentTypeIdN(contentTypeIdN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).ObjectId(objectId).ObjectIdIc(objectIdIc).ObjectIdIe(objectIdIe).ObjectIdIew(objectIdIew).ObjectIdIre(objectIdIre).ObjectIdIsw(objectIdIsw).ObjectIdN(objectIdN).ObjectIdNic(objectIdNic).ObjectIdNie(objectIdNie).ObjectIdNiew(objectIdNiew).ObjectIdNire(objectIdNire).ObjectIdNisw(objectIdNisw).ObjectIdNre(objectIdNre).ObjectIdRe(objectIdRe).Offset(offset).Q(q).Sort(sort).Depth(depth).Execute()
+> PaginatedImageAttachmentList ExtrasImageAttachmentsList(ctx).ContentType(contentType).ContentTypeN(contentTypeN).ContentTypeId(contentTypeId).ContentTypeIdN(contentTypeIdN).Format(format).Id(id).IdN(idN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).ObjectId(objectId).ObjectIdN(objectIdN).Offset(offset).Q(q).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -14400,19 +14036,7 @@ func main() {
contentTypeIdN := int32(56) // int32 | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
name := []string{"Inner_example"} // []string | (optional)
nameIc := []string{"Inner_example"} // []string | (optional)
@@ -14429,27 +14053,16 @@ func main() {
nameNre := []string{"Inner_example"} // []string | (optional)
nameRe := []string{"Inner_example"} // []string | (optional)
objectId := []string{"Inner_example"} // []string | (optional)
- objectIdIc := []string{"Inner_example"} // []string | (optional)
- objectIdIe := []string{"Inner_example"} // []string | (optional)
- objectIdIew := []string{"Inner_example"} // []string | (optional)
- objectIdIre := []string{"Inner_example"} // []string | (optional)
- objectIdIsw := []string{"Inner_example"} // []string | (optional)
objectIdN := []string{"Inner_example"} // []string | (optional)
- objectIdNic := []string{"Inner_example"} // []string | (optional)
- objectIdNie := []string{"Inner_example"} // []string | (optional)
- objectIdNiew := []string{"Inner_example"} // []string | (optional)
- objectIdNire := []string{"Inner_example"} // []string | (optional)
- objectIdNisw := []string{"Inner_example"} // []string | (optional)
- objectIdNre := []string{"Inner_example"} // []string | (optional)
- objectIdRe := []string{"Inner_example"} // []string | (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
q := "q_example" // string | Search (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasImageAttachmentsList(context.Background()).ContentType(contentType).ContentTypeN(contentTypeN).ContentTypeId(contentTypeId).ContentTypeIdN(contentTypeIdN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).ObjectId(objectId).ObjectIdIc(objectIdIc).ObjectIdIe(objectIdIe).ObjectIdIew(objectIdIew).ObjectIdIre(objectIdIre).ObjectIdIsw(objectIdIsw).ObjectIdN(objectIdN).ObjectIdNic(objectIdNic).ObjectIdNie(objectIdNie).ObjectIdNiew(objectIdNiew).ObjectIdNire(objectIdNire).ObjectIdNisw(objectIdNisw).ObjectIdNre(objectIdNre).ObjectIdRe(objectIdRe).Offset(offset).Q(q).Sort(sort).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasImageAttachmentsList(context.Background()).ContentType(contentType).ContentTypeN(contentTypeN).ContentTypeId(contentTypeId).ContentTypeIdN(contentTypeIdN).Format(format).Id(id).IdN(idN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).ObjectId(objectId).ObjectIdN(objectIdN).Offset(offset).Q(q).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasImageAttachmentsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -14476,19 +14089,7 @@ Name | Type | Description | Notes
**contentTypeIdN** | **int32** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**limit** | **int32** | Number of results to return per page. |
**name** | **[]string** | |
**nameIc** | **[]string** | |
@@ -14505,23 +14106,12 @@ Name | Type | Description | Notes
**nameNre** | **[]string** | |
**nameRe** | **[]string** | |
**objectId** | **[]string** | |
- **objectIdIc** | **[]string** | |
- **objectIdIe** | **[]string** | |
- **objectIdIew** | **[]string** | |
- **objectIdIre** | **[]string** | |
- **objectIdIsw** | **[]string** | |
**objectIdN** | **[]string** | |
- **objectIdNic** | **[]string** | |
- **objectIdNie** | **[]string** | |
- **objectIdNiew** | **[]string** | |
- **objectIdNire** | **[]string** | |
- **objectIdNisw** | **[]string** | |
- **objectIdNre** | **[]string** | |
- **objectIdRe** | **[]string** | |
**offset** | **int32** | The initial index from which to return the results. |
**q** | **string** | Search |
**sort** | **string** | Which field to use when ordering the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -14607,7 +14197,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: application/json, text/csv
+- **Content-Type**: application/json, text/csv, multipart/form-data
- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -14617,7 +14207,7 @@ Name | Type | Description | Notes
## ExtrasImageAttachmentsRetrieve
-> ImageAttachment ExtrasImageAttachmentsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> ImageAttachment ExtrasImageAttachmentsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -14639,10 +14229,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this image attachment.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasImageAttachmentsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasImageAttachmentsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasImageAttachmentsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -14670,6 +14261,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -14755,7 +14347,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: application/json, text/csv
+- **Content-Type**: application/json, text/csv, multipart/form-data
- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -15105,7 +14697,7 @@ Name | Type | Description | Notes
## ExtrasJobButtonsList
-> PaginatedJobButtonList ExtrasJobButtonsList(ctx).ButtonClass(buttonClass).ButtonClassIc(buttonClassIc).ButtonClassIe(buttonClassIe).ButtonClassIew(buttonClassIew).ButtonClassIre(buttonClassIre).ButtonClassIsw(buttonClassIsw).ButtonClassN(buttonClassN).ButtonClassNic(buttonClassNic).ButtonClassNie(buttonClassNie).ButtonClassNiew(buttonClassNiew).ButtonClassNire(buttonClassNire).ButtonClassNisw(buttonClassNisw).ButtonClassNre(buttonClassNre).ButtonClassRe(buttonClassRe).Confirmation(confirmation).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesIc(contentTypesIc).ContentTypesIe(contentTypesIe).ContentTypesIew(contentTypesIew).ContentTypesIre(contentTypesIre).ContentTypesIsw(contentTypesIsw).ContentTypesN(contentTypesN).ContentTypesNic(contentTypesNic).ContentTypesNie(contentTypesNie).ContentTypesNiew(contentTypesNiew).ContentTypesNire(contentTypesNire).ContentTypesNisw(contentTypesNisw).ContentTypesNre(contentTypesNre).ContentTypesRe(contentTypesRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Enabled(enabled).Format(format).GroupName(groupName).GroupNameIc(groupNameIc).GroupNameIe(groupNameIe).GroupNameIew(groupNameIew).GroupNameIre(groupNameIre).GroupNameIsw(groupNameIsw).GroupNameN(groupNameN).GroupNameNic(groupNameNic).GroupNameNie(groupNameNie).GroupNameNiew(groupNameNiew).GroupNameNire(groupNameNire).GroupNameNisw(groupNameNisw).GroupNameNre(groupNameNre).GroupNameRe(groupNameRe).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Job(job).JobN(jobN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Text(text).TextIc(textIc).TextIe(textIe).TextIew(textIew).TextIre(textIre).TextIsw(textIsw).TextN(textN).TextNic(textNic).TextNie(textNie).TextNiew(textNiew).TextNire(textNire).TextNisw(textNisw).TextNre(textNre).TextRe(textRe).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).Execute()
+> PaginatedJobButtonList ExtrasJobButtonsList(ctx).ButtonClass(buttonClass).ButtonClassIc(buttonClassIc).ButtonClassIe(buttonClassIe).ButtonClassIew(buttonClassIew).ButtonClassIre(buttonClassIre).ButtonClassIsw(buttonClassIsw).ButtonClassN(buttonClassN).ButtonClassNic(buttonClassNic).ButtonClassNie(buttonClassNie).ButtonClassNiew(buttonClassNiew).ButtonClassNire(buttonClassNire).ButtonClassNisw(buttonClassNisw).ButtonClassNre(buttonClassNre).ButtonClassRe(buttonClassRe).Confirmation(confirmation).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesN(contentTypesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Enabled(enabled).Format(format).GroupName(groupName).GroupNameIc(groupNameIc).GroupNameIe(groupNameIe).GroupNameIew(groupNameIew).GroupNameIre(groupNameIre).GroupNameIsw(groupNameIsw).GroupNameN(groupNameN).GroupNameNic(groupNameNic).GroupNameNie(groupNameNie).GroupNameNiew(groupNameNiew).GroupNameNire(groupNameNire).GroupNameNisw(groupNameNisw).GroupNameNre(groupNameNre).GroupNameRe(groupNameRe).Id(id).IdN(idN).Job(job).JobN(jobN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Text(text).TextIc(textIc).TextIe(textIe).TextIew(textIew).TextIre(textIre).TextIsw(textIsw).TextN(textN).TextNic(textNic).TextNie(textNie).TextNiew(textNiew).TextNire(textNire).TextNisw(textNisw).TextNre(textNre).TextRe(textRe).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -15141,23 +14733,11 @@ func main() {
confirmation := true // bool | (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
contentTypes := "contentTypes_example" // string | (optional)
- contentTypesIc := "contentTypesIc_example" // string | (optional)
- contentTypesIe := "contentTypesIe_example" // string | (optional)
- contentTypesIew := "contentTypesIew_example" // string | (optional)
- contentTypesIre := "contentTypesIre_example" // string | (optional)
- contentTypesIsw := "contentTypesIsw_example" // string | (optional)
contentTypesN := "contentTypesN_example" // string | (optional)
- contentTypesNic := "contentTypesNic_example" // string | (optional)
- contentTypesNie := "contentTypesNie_example" // string | (optional)
- contentTypesNiew := "contentTypesNiew_example" // string | (optional)
- contentTypesNire := "contentTypesNire_example" // string | (optional)
- contentTypesNisw := "contentTypesNisw_example" // string | (optional)
- contentTypesNre := "contentTypesNre_example" // string | (optional)
- contentTypesRe := "contentTypesRe_example" // string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
enabled := true // bool | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
groupName := []string{"Inner_example"} // []string | (optional)
@@ -15175,19 +14755,7 @@ func main() {
groupNameNre := []string{"Inner_example"} // []string | (optional)
groupNameRe := []string{"Inner_example"} // []string | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
job := []string{"Inner_example"} // []string | (optional)
jobN := []string{"Inner_example"} // []string | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
@@ -15210,7 +14778,7 @@ func main() {
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
text := []string{"Inner_example"} // []string | (optional)
textIc := []string{"Inner_example"} // []string | (optional)
textIe := []string{"Inner_example"} // []string | (optional)
@@ -15232,10 +14800,11 @@ func main() {
weightLte := []int32{int32(123)} // []int32 | (optional)
weightN := []int32{int32(123)} // []int32 | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasJobButtonsList(context.Background()).ButtonClass(buttonClass).ButtonClassIc(buttonClassIc).ButtonClassIe(buttonClassIe).ButtonClassIew(buttonClassIew).ButtonClassIre(buttonClassIre).ButtonClassIsw(buttonClassIsw).ButtonClassN(buttonClassN).ButtonClassNic(buttonClassNic).ButtonClassNie(buttonClassNie).ButtonClassNiew(buttonClassNiew).ButtonClassNire(buttonClassNire).ButtonClassNisw(buttonClassNisw).ButtonClassNre(buttonClassNre).ButtonClassRe(buttonClassRe).Confirmation(confirmation).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesIc(contentTypesIc).ContentTypesIe(contentTypesIe).ContentTypesIew(contentTypesIew).ContentTypesIre(contentTypesIre).ContentTypesIsw(contentTypesIsw).ContentTypesN(contentTypesN).ContentTypesNic(contentTypesNic).ContentTypesNie(contentTypesNie).ContentTypesNiew(contentTypesNiew).ContentTypesNire(contentTypesNire).ContentTypesNisw(contentTypesNisw).ContentTypesNre(contentTypesNre).ContentTypesRe(contentTypesRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Enabled(enabled).Format(format).GroupName(groupName).GroupNameIc(groupNameIc).GroupNameIe(groupNameIe).GroupNameIew(groupNameIew).GroupNameIre(groupNameIre).GroupNameIsw(groupNameIsw).GroupNameN(groupNameN).GroupNameNic(groupNameNic).GroupNameNie(groupNameNie).GroupNameNiew(groupNameNiew).GroupNameNire(groupNameNire).GroupNameNisw(groupNameNisw).GroupNameNre(groupNameNre).GroupNameRe(groupNameRe).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Job(job).JobN(jobN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Text(text).TextIc(textIc).TextIe(textIe).TextIew(textIew).TextIre(textIre).TextIsw(textIsw).TextN(textN).TextNic(textNic).TextNie(textNie).TextNiew(textNiew).TextNire(textNire).TextNisw(textNisw).TextNre(textNre).TextRe(textRe).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobButtonsList(context.Background()).ButtonClass(buttonClass).ButtonClassIc(buttonClassIc).ButtonClassIe(buttonClassIe).ButtonClassIew(buttonClassIew).ButtonClassIre(buttonClassIre).ButtonClassIsw(buttonClassIsw).ButtonClassN(buttonClassN).ButtonClassNic(buttonClassNic).ButtonClassNie(buttonClassNie).ButtonClassNiew(buttonClassNiew).ButtonClassNire(buttonClassNire).ButtonClassNisw(buttonClassNisw).ButtonClassNre(buttonClassNre).ButtonClassRe(buttonClassRe).Confirmation(confirmation).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesN(contentTypesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Enabled(enabled).Format(format).GroupName(groupName).GroupNameIc(groupNameIc).GroupNameIe(groupNameIe).GroupNameIew(groupNameIew).GroupNameIre(groupNameIre).GroupNameIsw(groupNameIsw).GroupNameN(groupNameN).GroupNameNic(groupNameNic).GroupNameNie(groupNameNie).GroupNameNiew(groupNameNiew).GroupNameNire(groupNameNire).GroupNameNisw(groupNameNisw).GroupNameNre(groupNameNre).GroupNameRe(groupNameRe).Id(id).IdN(idN).Job(job).JobN(jobN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Text(text).TextIc(textIc).TextIe(textIe).TextIew(textIew).TextIre(textIre).TextIsw(textIsw).TextN(textN).TextNic(textNic).TextNie(textNie).TextNiew(textNiew).TextNire(textNire).TextNisw(textNisw).TextNre(textNre).TextRe(textRe).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobButtonsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -15273,23 +14842,11 @@ Name | Type | Description | Notes
**confirmation** | **bool** | |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**contentTypes** | **string** | |
- **contentTypesIc** | **string** | |
- **contentTypesIe** | **string** | |
- **contentTypesIew** | **string** | |
- **contentTypesIre** | **string** | |
- **contentTypesIsw** | **string** | |
**contentTypesN** | **string** | |
- **contentTypesNic** | **string** | |
- **contentTypesNie** | **string** | |
- **contentTypesNiew** | **string** | |
- **contentTypesNire** | **string** | |
- **contentTypesNisw** | **string** | |
- **contentTypesNre** | **string** | |
- **contentTypesRe** | **string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**enabled** | **bool** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**groupName** | **[]string** | |
@@ -15307,19 +14864,7 @@ Name | Type | Description | Notes
**groupNameNre** | **[]string** | |
**groupNameRe** | **[]string** | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**job** | **[]string** | |
**jobN** | **[]string** | |
**limit** | **int32** | Number of results to return per page. |
@@ -15342,7 +14887,7 @@ Name | Type | Description | Notes
**sort** | **string** | Which field to use when ordering the results. |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**text** | **[]string** | |
**textIc** | **[]string** | |
**textIe** | **[]string** | |
@@ -15364,6 +14909,7 @@ Name | Type | Description | Notes
**weightLte** | **[]int32** | |
**weightN** | **[]int32** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -15459,7 +15005,7 @@ Name | Type | Description | Notes
## ExtrasJobButtonsNotesList
-> PaginatedNoteList ExtrasJobButtonsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList ExtrasJobButtonsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -15483,10 +15029,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasJobButtonsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobButtonsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobButtonsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -15516,6 +15063,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -15611,7 +15159,7 @@ Name | Type | Description | Notes
## ExtrasJobButtonsRetrieve
-> JobButton ExtrasJobButtonsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> JobButton ExtrasJobButtonsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -15633,10 +15181,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this job button.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasJobButtonsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobButtonsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobButtonsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -15664,6 +15213,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -16099,7 +15649,7 @@ Name | Type | Description | Notes
## ExtrasJobHooksList
-> PaginatedJobHookList ExtrasJobHooksList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesIc(contentTypesIc).ContentTypesIe(contentTypesIe).ContentTypesIew(contentTypesIew).ContentTypesIre(contentTypesIre).ContentTypesIsw(contentTypesIsw).ContentTypesN(contentTypesN).ContentTypesNic(contentTypesNic).ContentTypesNie(contentTypesNie).ContentTypesNiew(contentTypesNiew).ContentTypesNire(contentTypesNire).ContentTypesNisw(contentTypesNisw).ContentTypesNre(contentTypesNre).ContentTypesRe(contentTypesRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Enabled(enabled).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Job(job).JobN(jobN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).TypeCreate(typeCreate).TypeDelete(typeDelete).TypeUpdate(typeUpdate).Depth(depth).Execute()
+> PaginatedJobHookList ExtrasJobHooksList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesN(contentTypesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Enabled(enabled).Format(format).Id(id).IdN(idN).Job(job).JobN(jobN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).TypeCreate(typeCreate).TypeDelete(typeDelete).TypeUpdate(typeUpdate).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -16120,39 +15670,15 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
contentTypes := []int32{int32(123)} // []int32 | (optional)
- contentTypesIc := []int32{int32(123)} // []int32 | (optional)
- contentTypesIe := []int32{int32(123)} // []int32 | (optional)
- contentTypesIew := []int32{int32(123)} // []int32 | (optional)
- contentTypesIre := []int32{int32(123)} // []int32 | (optional)
- contentTypesIsw := []int32{int32(123)} // []int32 | (optional)
contentTypesN := []int32{int32(123)} // []int32 | (optional)
- contentTypesNic := []int32{int32(123)} // []int32 | (optional)
- contentTypesNie := []int32{int32(123)} // []int32 | (optional)
- contentTypesNiew := []int32{int32(123)} // []int32 | (optional)
- contentTypesNire := []int32{int32(123)} // []int32 | (optional)
- contentTypesNisw := []int32{int32(123)} // []int32 | (optional)
- contentTypesNre := []int32{int32(123)} // []int32 | (optional)
- contentTypesRe := []int32{int32(123)} // []int32 | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
enabled := true // bool | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
job := []string{"Inner_example"} // []string | (optional)
jobN := []string{"Inner_example"} // []string | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
@@ -16175,15 +15701,16 @@ func main() {
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
typeCreate := true // bool | (optional)
typeDelete := true // bool | (optional)
typeUpdate := true // bool | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasJobHooksList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesIc(contentTypesIc).ContentTypesIe(contentTypesIe).ContentTypesIew(contentTypesIew).ContentTypesIre(contentTypesIre).ContentTypesIsw(contentTypesIsw).ContentTypesN(contentTypesN).ContentTypesNic(contentTypesNic).ContentTypesNie(contentTypesNie).ContentTypesNiew(contentTypesNiew).ContentTypesNire(contentTypesNire).ContentTypesNisw(contentTypesNisw).ContentTypesNre(contentTypesNre).ContentTypesRe(contentTypesRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Enabled(enabled).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Job(job).JobN(jobN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).TypeCreate(typeCreate).TypeDelete(typeDelete).TypeUpdate(typeUpdate).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobHooksList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesN(contentTypesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Enabled(enabled).Format(format).Id(id).IdN(idN).Job(job).JobN(jobN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).TypeCreate(typeCreate).TypeDelete(typeDelete).TypeUpdate(typeUpdate).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobHooksList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -16206,39 +15733,15 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**contentTypes** | **[]int32** | |
- **contentTypesIc** | **[]int32** | |
- **contentTypesIe** | **[]int32** | |
- **contentTypesIew** | **[]int32** | |
- **contentTypesIre** | **[]int32** | |
- **contentTypesIsw** | **[]int32** | |
**contentTypesN** | **[]int32** | |
- **contentTypesNic** | **[]int32** | |
- **contentTypesNie** | **[]int32** | |
- **contentTypesNiew** | **[]int32** | |
- **contentTypesNire** | **[]int32** | |
- **contentTypesNisw** | **[]int32** | |
- **contentTypesNre** | **[]int32** | |
- **contentTypesRe** | **[]int32** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**enabled** | **bool** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**job** | **[]string** | |
**jobN** | **[]string** | |
**limit** | **int32** | Number of results to return per page. |
@@ -16261,11 +15764,12 @@ Name | Type | Description | Notes
**sort** | **string** | Which field to use when ordering the results. |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**typeCreate** | **bool** | |
**typeDelete** | **bool** | |
**typeUpdate** | **bool** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -16361,7 +15865,7 @@ Name | Type | Description | Notes
## ExtrasJobHooksNotesList
-> PaginatedNoteList ExtrasJobHooksNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList ExtrasJobHooksNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -16385,10 +15889,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasJobHooksNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobHooksNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobHooksNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -16418,6 +15923,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -16513,7 +16019,7 @@ Name | Type | Description | Notes
## ExtrasJobHooksRetrieve
-> JobHook ExtrasJobHooksRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> JobHook ExtrasJobHooksRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -16535,10 +16041,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this job hook.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasJobHooksRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobHooksRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobHooksRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -16566,6 +16073,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -16661,7 +16169,7 @@ Name | Type | Description | Notes
## ExtrasJobLogsList
-> PaginatedJobLogEntryList ExtrasJobLogsList(ctx).AbsoluteUrl(absoluteUrl).AbsoluteUrlIc(absoluteUrlIc).AbsoluteUrlIe(absoluteUrlIe).AbsoluteUrlIew(absoluteUrlIew).AbsoluteUrlIre(absoluteUrlIre).AbsoluteUrlIsw(absoluteUrlIsw).AbsoluteUrlN(absoluteUrlN).AbsoluteUrlNic(absoluteUrlNic).AbsoluteUrlNie(absoluteUrlNie).AbsoluteUrlNiew(absoluteUrlNiew).AbsoluteUrlNire(absoluteUrlNire).AbsoluteUrlNisw(absoluteUrlNisw).AbsoluteUrlNre(absoluteUrlNre).AbsoluteUrlRe(absoluteUrlRe).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Format(format).Grouping(grouping).GroupingIc(groupingIc).GroupingIe(groupingIe).GroupingIew(groupingIew).GroupingIre(groupingIre).GroupingIsw(groupingIsw).GroupingN(groupingN).GroupingNic(groupingNic).GroupingNie(groupingNie).GroupingNiew(groupingNiew).GroupingNire(groupingNire).GroupingNisw(groupingNisw).GroupingNre(groupingNre).GroupingRe(groupingRe).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).JobResult(jobResult).JobResultN(jobResultN).Limit(limit).LogLevel(logLevel).LogLevelIc(logLevelIc).LogLevelIe(logLevelIe).LogLevelIew(logLevelIew).LogLevelIre(logLevelIre).LogLevelIsw(logLevelIsw).LogLevelN(logLevelN).LogLevelNic(logLevelNic).LogLevelNie(logLevelNie).LogLevelNiew(logLevelNiew).LogLevelNire(logLevelNire).LogLevelNisw(logLevelNisw).LogLevelNre(logLevelNre).LogLevelRe(logLevelRe).LogObject(logObject).LogObjectIc(logObjectIc).LogObjectIe(logObjectIe).LogObjectIew(logObjectIew).LogObjectIre(logObjectIre).LogObjectIsw(logObjectIsw).LogObjectN(logObjectN).LogObjectNic(logObjectNic).LogObjectNie(logObjectNie).LogObjectNiew(logObjectNiew).LogObjectNire(logObjectNire).LogObjectNisw(logObjectNisw).LogObjectNre(logObjectNre).LogObjectRe(logObjectRe).Message(message).MessageIc(messageIc).MessageIe(messageIe).MessageIew(messageIew).MessageIre(messageIre).MessageIsw(messageIsw).MessageN(messageN).MessageNic(messageNic).MessageNie(messageNie).MessageNiew(messageNiew).MessageNire(messageNire).MessageNisw(messageNisw).MessageNre(messageNre).MessageRe(messageRe).Offset(offset).Q(q).Sort(sort).Depth(depth).Execute()
+> PaginatedJobLogEntryList ExtrasJobLogsList(ctx).AbsoluteUrl(absoluteUrl).AbsoluteUrlIc(absoluteUrlIc).AbsoluteUrlIe(absoluteUrlIe).AbsoluteUrlIew(absoluteUrlIew).AbsoluteUrlIre(absoluteUrlIre).AbsoluteUrlIsw(absoluteUrlIsw).AbsoluteUrlN(absoluteUrlN).AbsoluteUrlNic(absoluteUrlNic).AbsoluteUrlNie(absoluteUrlNie).AbsoluteUrlNiew(absoluteUrlNiew).AbsoluteUrlNire(absoluteUrlNire).AbsoluteUrlNisw(absoluteUrlNisw).AbsoluteUrlNre(absoluteUrlNre).AbsoluteUrlRe(absoluteUrlRe).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Format(format).Grouping(grouping).GroupingIc(groupingIc).GroupingIe(groupingIe).GroupingIew(groupingIew).GroupingIre(groupingIre).GroupingIsw(groupingIsw).GroupingN(groupingN).GroupingNic(groupingNic).GroupingNie(groupingNie).GroupingNiew(groupingNiew).GroupingNire(groupingNire).GroupingNisw(groupingNisw).GroupingNre(groupingNre).GroupingRe(groupingRe).Id(id).IdN(idN).JobResult(jobResult).JobResultN(jobResultN).Limit(limit).LogLevel(logLevel).LogLevelIc(logLevelIc).LogLevelIe(logLevelIe).LogLevelIew(logLevelIew).LogLevelIre(logLevelIre).LogLevelIsw(logLevelIsw).LogLevelN(logLevelN).LogLevelNic(logLevelNic).LogLevelNie(logLevelNie).LogLevelNiew(logLevelNiew).LogLevelNire(logLevelNire).LogLevelNisw(logLevelNisw).LogLevelNre(logLevelNre).LogLevelRe(logLevelRe).LogObject(logObject).LogObjectIc(logObjectIc).LogObjectIe(logObjectIe).LogObjectIew(logObjectIew).LogObjectIre(logObjectIre).LogObjectIsw(logObjectIsw).LogObjectN(logObjectN).LogObjectNic(logObjectNic).LogObjectNie(logObjectNie).LogObjectNiew(logObjectNiew).LogObjectNire(logObjectNire).LogObjectNisw(logObjectNisw).LogObjectNre(logObjectNre).LogObjectRe(logObjectRe).Message(message).MessageIc(messageIc).MessageIe(messageIe).MessageIew(messageIew).MessageIre(messageIre).MessageIsw(messageIsw).MessageN(messageN).MessageNic(messageNic).MessageNie(messageNie).MessageNiew(messageNiew).MessageNire(messageNire).MessageNisw(messageNisw).MessageNre(messageNre).MessageRe(messageRe).Offset(offset).Q(q).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -16717,19 +16225,7 @@ func main() {
groupingNre := []string{"Inner_example"} // []string | (optional)
groupingRe := []string{"Inner_example"} // []string | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
jobResult := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional)
jobResultN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
@@ -16779,10 +16275,11 @@ func main() {
q := "q_example" // string | Search (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasJobLogsList(context.Background()).AbsoluteUrl(absoluteUrl).AbsoluteUrlIc(absoluteUrlIc).AbsoluteUrlIe(absoluteUrlIe).AbsoluteUrlIew(absoluteUrlIew).AbsoluteUrlIre(absoluteUrlIre).AbsoluteUrlIsw(absoluteUrlIsw).AbsoluteUrlN(absoluteUrlN).AbsoluteUrlNic(absoluteUrlNic).AbsoluteUrlNie(absoluteUrlNie).AbsoluteUrlNiew(absoluteUrlNiew).AbsoluteUrlNire(absoluteUrlNire).AbsoluteUrlNisw(absoluteUrlNisw).AbsoluteUrlNre(absoluteUrlNre).AbsoluteUrlRe(absoluteUrlRe).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Format(format).Grouping(grouping).GroupingIc(groupingIc).GroupingIe(groupingIe).GroupingIew(groupingIew).GroupingIre(groupingIre).GroupingIsw(groupingIsw).GroupingN(groupingN).GroupingNic(groupingNic).GroupingNie(groupingNie).GroupingNiew(groupingNiew).GroupingNire(groupingNire).GroupingNisw(groupingNisw).GroupingNre(groupingNre).GroupingRe(groupingRe).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).JobResult(jobResult).JobResultN(jobResultN).Limit(limit).LogLevel(logLevel).LogLevelIc(logLevelIc).LogLevelIe(logLevelIe).LogLevelIew(logLevelIew).LogLevelIre(logLevelIre).LogLevelIsw(logLevelIsw).LogLevelN(logLevelN).LogLevelNic(logLevelNic).LogLevelNie(logLevelNie).LogLevelNiew(logLevelNiew).LogLevelNire(logLevelNire).LogLevelNisw(logLevelNisw).LogLevelNre(logLevelNre).LogLevelRe(logLevelRe).LogObject(logObject).LogObjectIc(logObjectIc).LogObjectIe(logObjectIe).LogObjectIew(logObjectIew).LogObjectIre(logObjectIre).LogObjectIsw(logObjectIsw).LogObjectN(logObjectN).LogObjectNic(logObjectNic).LogObjectNie(logObjectNie).LogObjectNiew(logObjectNiew).LogObjectNire(logObjectNire).LogObjectNisw(logObjectNisw).LogObjectNre(logObjectNre).LogObjectRe(logObjectRe).Message(message).MessageIc(messageIc).MessageIe(messageIe).MessageIew(messageIew).MessageIre(messageIre).MessageIsw(messageIsw).MessageN(messageN).MessageNic(messageNic).MessageNie(messageNie).MessageNiew(messageNiew).MessageNire(messageNire).MessageNisw(messageNisw).MessageNre(messageNre).MessageRe(messageRe).Offset(offset).Q(q).Sort(sort).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobLogsList(context.Background()).AbsoluteUrl(absoluteUrl).AbsoluteUrlIc(absoluteUrlIc).AbsoluteUrlIe(absoluteUrlIe).AbsoluteUrlIew(absoluteUrlIew).AbsoluteUrlIre(absoluteUrlIre).AbsoluteUrlIsw(absoluteUrlIsw).AbsoluteUrlN(absoluteUrlN).AbsoluteUrlNic(absoluteUrlNic).AbsoluteUrlNie(absoluteUrlNie).AbsoluteUrlNiew(absoluteUrlNiew).AbsoluteUrlNire(absoluteUrlNire).AbsoluteUrlNisw(absoluteUrlNisw).AbsoluteUrlNre(absoluteUrlNre).AbsoluteUrlRe(absoluteUrlRe).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Format(format).Grouping(grouping).GroupingIc(groupingIc).GroupingIe(groupingIe).GroupingIew(groupingIew).GroupingIre(groupingIre).GroupingIsw(groupingIsw).GroupingN(groupingN).GroupingNic(groupingNic).GroupingNie(groupingNie).GroupingNiew(groupingNiew).GroupingNire(groupingNire).GroupingNisw(groupingNisw).GroupingNre(groupingNre).GroupingRe(groupingRe).Id(id).IdN(idN).JobResult(jobResult).JobResultN(jobResultN).Limit(limit).LogLevel(logLevel).LogLevelIc(logLevelIc).LogLevelIe(logLevelIe).LogLevelIew(logLevelIew).LogLevelIre(logLevelIre).LogLevelIsw(logLevelIsw).LogLevelN(logLevelN).LogLevelNic(logLevelNic).LogLevelNie(logLevelNie).LogLevelNiew(logLevelNiew).LogLevelNire(logLevelNire).LogLevelNisw(logLevelNisw).LogLevelNre(logLevelNre).LogLevelRe(logLevelRe).LogObject(logObject).LogObjectIc(logObjectIc).LogObjectIe(logObjectIe).LogObjectIew(logObjectIew).LogObjectIre(logObjectIre).LogObjectIsw(logObjectIsw).LogObjectN(logObjectN).LogObjectNic(logObjectNic).LogObjectNie(logObjectNie).LogObjectNiew(logObjectNiew).LogObjectNire(logObjectNire).LogObjectNisw(logObjectNisw).LogObjectNre(logObjectNre).LogObjectRe(logObjectRe).Message(message).MessageIc(messageIc).MessageIe(messageIe).MessageIew(messageIew).MessageIre(messageIre).MessageIsw(messageIsw).MessageN(messageN).MessageNic(messageNic).MessageNie(messageNie).MessageNiew(messageNiew).MessageNire(messageNire).MessageNisw(messageNisw).MessageNre(messageNre).MessageRe(messageRe).Offset(offset).Q(q).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobLogsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -16839,19 +16336,7 @@ Name | Type | Description | Notes
**groupingNre** | **[]string** | |
**groupingRe** | **[]string** | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**jobResult** | **string** | |
**jobResultN** | **string** | |
**limit** | **int32** | Number of results to return per page. |
@@ -16901,6 +16386,7 @@ Name | Type | Description | Notes
**q** | **string** | Search |
**sort** | **string** | Which field to use when ordering the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -16922,7 +16408,7 @@ Name | Type | Description | Notes
## ExtrasJobLogsRetrieve
-> JobLogEntry ExtrasJobLogsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> JobLogEntry ExtrasJobLogsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -16944,10 +16430,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this job log entry.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasJobLogsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobLogsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobLogsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -16975,6 +16462,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -16994,9 +16482,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## ExtrasJobResultsBulkDestroy
+## ExtrasJobQueueAssignmentsBulkDestroy
-> ExtrasJobResultsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+> ExtrasJobQueueAssignmentsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
@@ -17020,9 +16508,9 @@ func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.ExtrasAPI.ExtrasJobResultsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ r, err := apiClient.ExtrasAPI.ExtrasJobQueueAssignmentsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobResultsBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobQueueAssignmentsBulkDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}
@@ -17034,7 +16522,7 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiExtrasJobResultsBulkDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiExtrasJobQueueAssignmentsBulkDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -17060,9 +16548,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## ExtrasJobResultsDestroy
+## ExtrasJobQueueAssignmentsBulkPartialUpdate
-> ExtrasJobResultsDestroy(ctx, id).Format(format).Execute()
+> []JobQueueAssignment ExtrasJobQueueAssignmentsBulkPartialUpdate(ctx).PatchedBulkWritableJobQueueAssignmentRequest(patchedBulkWritableJobQueueAssignmentRequest).Format(format).Execute()
@@ -17081,40 +16569,38 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this job result.
+ patchedBulkWritableJobQueueAssignmentRequest := []openapiclient.PatchedBulkWritableJobQueueAssignmentRequest{*openapiclient.NewPatchedBulkWritableJobQueueAssignmentRequest("Id_example")} // []PatchedBulkWritableJobQueueAssignmentRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.ExtrasAPI.ExtrasJobResultsDestroy(context.Background(), id).Format(format).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobQueueAssignmentsBulkPartialUpdate(context.Background()).PatchedBulkWritableJobQueueAssignmentRequest(patchedBulkWritableJobQueueAssignmentRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobResultsDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobQueueAssignmentsBulkPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
+ // response from `ExtrasJobQueueAssignmentsBulkPartialUpdate`: []JobQueueAssignment
+ fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasJobQueueAssignmentsBulkPartialUpdate`: %v\n", resp)
}
```
### Path Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this job result. |
### Other Parameters
-Other parameters are passed through a pointer to a apiExtrasJobResultsDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiExtrasJobQueueAssignmentsBulkPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-
+ **patchedBulkWritableJobQueueAssignmentRequest** | [**[]PatchedBulkWritableJobQueueAssignmentRequest**](PatchedBulkWritableJobQueueAssignmentRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
- (empty response body)
+[**[]JobQueueAssignment**](JobQueueAssignment.md)
### Authorization
@@ -17122,17 +16608,17 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: Not defined
-- **Accept**: Not defined
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
-## ExtrasJobResultsList
+## ExtrasJobQueueAssignmentsBulkUpdate
-> PaginatedJobResultList ExtrasJobResultsList(ctx).DateCreated(dateCreated).DateCreatedGt(dateCreatedGt).DateCreatedGte(dateCreatedGte).DateCreatedLt(dateCreatedLt).DateCreatedLte(dateCreatedLte).DateCreatedN(dateCreatedN).DateDone(dateDone).DateDoneGt(dateDoneGt).DateDoneGte(dateDoneGte).DateDoneIsnull(dateDoneIsnull).DateDoneLt(dateDoneLt).DateDoneLte(dateDoneLte).DateDoneN(dateDoneN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).JobModel(jobModel).JobModelIsnull(jobModelIsnull).JobModelN(jobModelN).JobModelId(jobModelId).JobModelIdIsnull(jobModelIdIsnull).JobModelIdN(jobModelIdN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).ScheduledJob(scheduledJob).ScheduledJobIsnull(scheduledJobIsnull).ScheduledJobN(scheduledJobN).Sort(sort).Status(status).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIre(statusIre).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNire(statusNire).StatusNisw(statusNisw).StatusNre(statusNre).StatusRe(statusRe).User(user).UserIsnull(userIsnull).UserN(userN).Depth(depth).Execute()
+> []JobQueueAssignment ExtrasJobQueueAssignmentsBulkUpdate(ctx).BulkWritableJobQueueAssignmentRequest(bulkWritableJobQueueAssignmentRequest).Format(format).Execute()
@@ -17147,94 +16633,22 @@ import (
"context"
"fmt"
"os"
- "time"
openapiclient "github.com/nautobot/go-nautobot/v2"
)
func main() {
- dateCreated := []time.Time{time.Now()} // []time.Time | (optional)
- dateCreatedGt := []time.Time{time.Now()} // []time.Time | (optional)
- dateCreatedGte := []time.Time{time.Now()} // []time.Time | (optional)
- dateCreatedLt := []time.Time{time.Now()} // []time.Time | (optional)
- dateCreatedLte := []time.Time{time.Now()} // []time.Time | (optional)
- dateCreatedN := []time.Time{time.Now()} // []time.Time | (optional)
- dateDone := []time.Time{time.Now()} // []time.Time | (optional)
- dateDoneGt := []time.Time{time.Now()} // []time.Time | (optional)
- dateDoneGte := []time.Time{time.Now()} // []time.Time | (optional)
- dateDoneIsnull := true // bool | (optional)
- dateDoneLt := []time.Time{time.Now()} // []time.Time | (optional)
- dateDoneLte := []time.Time{time.Now()} // []time.Time | (optional)
- dateDoneN := []time.Time{time.Now()} // []time.Time | (optional)
+ bulkWritableJobQueueAssignmentRequest := []openapiclient.BulkWritableJobQueueAssignmentRequest{*openapiclient.NewBulkWritableJobQueueAssignmentRequest("Id_example", *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritableJobQueueAssignmentRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
- idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
- jobModel := []string{"Inner_example"} // []string | (optional)
- jobModelIsnull := true // bool | Job (name or ID) is null (optional)
- jobModelN := []string{"Inner_example"} // []string | (optional)
- jobModelId := []*string{"Inner_example"} // []*string | Job (ID) - Deprecated (use job_model filter) (optional)
- jobModelIdIsnull := true // bool | Job (ID) - Deprecated (use job_model filter) is null (optional)
- jobModelIdN := []*string{"Inner_example"} // []*string | Exclude Job (ID) - Deprecated (use job_model filter) (optional)
- limit := int32(56) // int32 | Number of results to return per page. (optional)
- name := []string{"Inner_example"} // []string | (optional)
- nameIc := []string{"Inner_example"} // []string | (optional)
- nameIe := []string{"Inner_example"} // []string | (optional)
- nameIew := []string{"Inner_example"} // []string | (optional)
- nameIre := []string{"Inner_example"} // []string | (optional)
- nameIsw := []string{"Inner_example"} // []string | (optional)
- nameN := []string{"Inner_example"} // []string | (optional)
- nameNic := []string{"Inner_example"} // []string | (optional)
- nameNie := []string{"Inner_example"} // []string | (optional)
- nameNiew := []string{"Inner_example"} // []string | (optional)
- nameNire := []string{"Inner_example"} // []string | (optional)
- nameNisw := []string{"Inner_example"} // []string | (optional)
- nameNre := []string{"Inner_example"} // []string | (optional)
- nameRe := []string{"Inner_example"} // []string | (optional)
- offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- q := "q_example" // string | Search (optional)
- scheduledJob := []string{"Inner_example"} // []string | (optional)
- scheduledJobIsnull := true // bool | Scheduled Job (name or ID) is null (optional)
- scheduledJobN := []string{"Inner_example"} // []string | (optional)
- sort := "sort_example" // string | Which field to use when ordering the results. (optional)
- status := []string{"Inner_example"} // []string | Current state of the Job being run (optional)
- statusIc := []string{"Inner_example"} // []string | Current state of the Job being run (optional)
- statusIe := []string{"Inner_example"} // []string | Current state of the Job being run (optional)
- statusIew := []string{"Inner_example"} // []string | Current state of the Job being run (optional)
- statusIre := []string{"Inner_example"} // []string | Current state of the Job being run (optional)
- statusIsw := []string{"Inner_example"} // []string | Current state of the Job being run (optional)
- statusN := []string{"Inner_example"} // []string | Current state of the Job being run (optional)
- statusNic := []string{"Inner_example"} // []string | Current state of the Job being run (optional)
- statusNie := []string{"Inner_example"} // []string | Current state of the Job being run (optional)
- statusNiew := []string{"Inner_example"} // []string | Current state of the Job being run (optional)
- statusNire := []string{"Inner_example"} // []string | Current state of the Job being run (optional)
- statusNisw := []string{"Inner_example"} // []string | Current state of the Job being run (optional)
- statusNre := []string{"Inner_example"} // []string | Current state of the Job being run (optional)
- statusRe := []string{"Inner_example"} // []string | Current state of the Job being run (optional)
- user := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional)
- userIsnull := true // bool | (optional)
- userN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional)
- depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasJobResultsList(context.Background()).DateCreated(dateCreated).DateCreatedGt(dateCreatedGt).DateCreatedGte(dateCreatedGte).DateCreatedLt(dateCreatedLt).DateCreatedLte(dateCreatedLte).DateCreatedN(dateCreatedN).DateDone(dateDone).DateDoneGt(dateDoneGt).DateDoneGte(dateDoneGte).DateDoneIsnull(dateDoneIsnull).DateDoneLt(dateDoneLt).DateDoneLte(dateDoneLte).DateDoneN(dateDoneN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).JobModel(jobModel).JobModelIsnull(jobModelIsnull).JobModelN(jobModelN).JobModelId(jobModelId).JobModelIdIsnull(jobModelIdIsnull).JobModelIdN(jobModelIdN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).ScheduledJob(scheduledJob).ScheduledJobIsnull(scheduledJobIsnull).ScheduledJobN(scheduledJobN).Sort(sort).Status(status).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIre(statusIre).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNire(statusNire).StatusNisw(statusNisw).StatusNre(statusNre).StatusRe(statusRe).User(user).UserIsnull(userIsnull).UserN(userN).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobQueueAssignmentsBulkUpdate(context.Background()).BulkWritableJobQueueAssignmentRequest(bulkWritableJobQueueAssignmentRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobResultsList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobQueueAssignmentsBulkUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `ExtrasJobResultsList`: PaginatedJobResultList
- fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasJobResultsList`: %v\n", resp)
+ // response from `ExtrasJobQueueAssignmentsBulkUpdate`: []JobQueueAssignment
+ fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasJobQueueAssignmentsBulkUpdate`: %v\n", resp)
}
```
@@ -17244,88 +16658,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiExtrasJobResultsListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiExtrasJobQueueAssignmentsBulkUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **dateCreated** | [**[]time.Time**](time.Time.md) | |
- **dateCreatedGt** | [**[]time.Time**](time.Time.md) | |
- **dateCreatedGte** | [**[]time.Time**](time.Time.md) | |
- **dateCreatedLt** | [**[]time.Time**](time.Time.md) | |
- **dateCreatedLte** | [**[]time.Time**](time.Time.md) | |
- **dateCreatedN** | [**[]time.Time**](time.Time.md) | |
- **dateDone** | [**[]time.Time**](time.Time.md) | |
- **dateDoneGt** | [**[]time.Time**](time.Time.md) | |
- **dateDoneGte** | [**[]time.Time**](time.Time.md) | |
- **dateDoneIsnull** | **bool** | |
- **dateDoneLt** | [**[]time.Time**](time.Time.md) | |
- **dateDoneLte** | [**[]time.Time**](time.Time.md) | |
- **dateDoneN** | [**[]time.Time**](time.Time.md) | |
+ **bulkWritableJobQueueAssignmentRequest** | [**[]BulkWritableJobQueueAssignmentRequest**](BulkWritableJobQueueAssignmentRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
- **idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
- **jobModel** | **[]string** | |
- **jobModelIsnull** | **bool** | Job (name or ID) is null |
- **jobModelN** | **[]string** | |
- **jobModelId** | **[]string** | Job (ID) - Deprecated (use job_model filter) |
- **jobModelIdIsnull** | **bool** | Job (ID) - Deprecated (use job_model filter) is null |
- **jobModelIdN** | **[]string** | Exclude Job (ID) - Deprecated (use job_model filter) |
- **limit** | **int32** | Number of results to return per page. |
- **name** | **[]string** | |
- **nameIc** | **[]string** | |
- **nameIe** | **[]string** | |
- **nameIew** | **[]string** | |
- **nameIre** | **[]string** | |
- **nameIsw** | **[]string** | |
- **nameN** | **[]string** | |
- **nameNic** | **[]string** | |
- **nameNie** | **[]string** | |
- **nameNiew** | **[]string** | |
- **nameNire** | **[]string** | |
- **nameNisw** | **[]string** | |
- **nameNre** | **[]string** | |
- **nameRe** | **[]string** | |
- **offset** | **int32** | The initial index from which to return the results. |
- **q** | **string** | Search |
- **scheduledJob** | **[]string** | |
- **scheduledJobIsnull** | **bool** | Scheduled Job (name or ID) is null |
- **scheduledJobN** | **[]string** | |
- **sort** | **string** | Which field to use when ordering the results. |
- **status** | **[]string** | Current state of the Job being run |
- **statusIc** | **[]string** | Current state of the Job being run |
- **statusIe** | **[]string** | Current state of the Job being run |
- **statusIew** | **[]string** | Current state of the Job being run |
- **statusIre** | **[]string** | Current state of the Job being run |
- **statusIsw** | **[]string** | Current state of the Job being run |
- **statusN** | **[]string** | Current state of the Job being run |
- **statusNic** | **[]string** | Current state of the Job being run |
- **statusNie** | **[]string** | Current state of the Job being run |
- **statusNiew** | **[]string** | Current state of the Job being run |
- **statusNire** | **[]string** | Current state of the Job being run |
- **statusNisw** | **[]string** | Current state of the Job being run |
- **statusNre** | **[]string** | Current state of the Job being run |
- **statusRe** | **[]string** | Current state of the Job being run |
- **user** | **string** | |
- **userIsnull** | **bool** | |
- **userN** | **string** | |
- **depth** | **int32** | Serializer Depth | [default to 1]
### Return type
-[**PaginatedJobResultList**](PaginatedJobResultList.md)
+[**[]JobQueueAssignment**](JobQueueAssignment.md)
### Authorization
@@ -17333,7 +16676,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: Not defined
+- **Content-Type**: application/json, text/csv
- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -17341,9 +16684,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## ExtrasJobResultsLogsRetrieve
+## ExtrasJobQueueAssignmentsCreate
-> JobResult ExtrasJobResultsLogsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> JobQueueAssignment ExtrasJobQueueAssignmentsCreate(ctx).JobQueueAssignmentRequest(jobQueueAssignmentRequest).Format(format).Execute()
@@ -17362,44 +16705,38 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this job result.
+ jobQueueAssignmentRequest := *openapiclient.NewJobQueueAssignmentRequest(*openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // JobQueueAssignmentRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasJobResultsLogsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobQueueAssignmentsCreate(context.Background()).JobQueueAssignmentRequest(jobQueueAssignmentRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobResultsLogsRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobQueueAssignmentsCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `ExtrasJobResultsLogsRetrieve`: JobResult
- fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasJobResultsLogsRetrieve`: %v\n", resp)
+ // response from `ExtrasJobQueueAssignmentsCreate`: JobQueueAssignment
+ fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasJobQueueAssignmentsCreate`: %v\n", resp)
}
```
### Path Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this job result. |
### Other Parameters
-Other parameters are passed through a pointer to a apiExtrasJobResultsLogsRetrieveRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiExtrasJobQueueAssignmentsCreateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-
+ **jobQueueAssignmentRequest** | [**JobQueueAssignmentRequest**](JobQueueAssignmentRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **depth** | **int32** | Serializer Depth | [default to 1]
### Return type
-[**JobResult**](JobResult.md)
+[**JobQueueAssignment**](JobQueueAssignment.md)
### Authorization
@@ -17407,7 +16744,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: Not defined
+- **Content-Type**: application/json, text/csv
- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -17415,9 +16752,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## ExtrasJobResultsRetrieve
+## ExtrasJobQueueAssignmentsDestroy
-> JobResult ExtrasJobResultsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> ExtrasJobQueueAssignmentsDestroy(ctx, id).Format(format).Execute()
@@ -17436,19 +16773,16 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this job result.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this job queue assignment.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasJobResultsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ r, err := apiClient.ExtrasAPI.ExtrasJobQueueAssignmentsDestroy(context.Background(), id).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobResultsRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobQueueAssignmentsDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `ExtrasJobResultsRetrieve`: JobResult
- fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasJobResultsRetrieve`: %v\n", resp)
}
```
@@ -17458,84 +16792,17 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this job result. |
+**id** | **string** | A UUID string identifying this job queue assignment. |
### Other Parameters
-Other parameters are passed through a pointer to a apiExtrasJobResultsRetrieveRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiExtrasJobQueueAssignmentsDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **depth** | **int32** | Serializer Depth | [default to 1]
-
-### Return type
-
-[**JobResult**](JobResult.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## ExtrasJobsBulkDestroy
-
-> ExtrasJobsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- bulkOperationRequest := []openapiclient.BulkOperationRequest{*openapiclient.NewBulkOperationRequest("Id_example")} // []BulkOperationRequest |
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.ExtrasAPI.ExtrasJobsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobsBulkDestroy``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiExtrasJobsBulkDestroyRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **bulkOperationRequest** | [**[]BulkOperationRequest**](BulkOperationRequest.md) | |
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
@@ -17547,7 +16814,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: application/json, text/csv
+- **Content-Type**: Not defined
- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -17555,9 +16822,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## ExtrasJobsBulkPartialUpdate
+## ExtrasJobQueueAssignmentsList
-> []Job ExtrasJobsBulkPartialUpdate(ctx).PatchedBulkWritableJobRequest(patchedBulkWritableJobRequest).Format(format).Execute()
+> PaginatedJobQueueAssignmentList ExtrasJobQueueAssignmentsList(ctx).Format(format).Id(id).IdN(idN).Job(job).JobN(jobN).JobQueue(jobQueue).JobQueueN(jobQueueN).Limit(limit).Offset(offset).Q(q).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -17576,18 +16843,29 @@ import (
)
func main() {
- patchedBulkWritableJobRequest := []openapiclient.PatchedBulkWritableJobRequest{*openapiclient.NewPatchedBulkWritableJobRequest("Id_example")} // []PatchedBulkWritableJobRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
+ idN := []string{"Inner_example"} // []string | (optional)
+ job := []string{"Inner_example"} // []string | (optional)
+ jobN := []string{"Inner_example"} // []string | (optional)
+ jobQueue := []string{"Inner_example"} // []string | (optional)
+ jobQueueN := []string{"Inner_example"} // []string | (optional)
+ limit := int32(56) // int32 | Number of results to return per page. (optional)
+ offset := int32(56) // int32 | The initial index from which to return the results. (optional)
+ q := "q_example" // string | Search (optional)
+ sort := "sort_example" // string | Which field to use when ordering the results. (optional)
+ depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasJobsBulkPartialUpdate(context.Background()).PatchedBulkWritableJobRequest(patchedBulkWritableJobRequest).Format(format).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobQueueAssignmentsList(context.Background()).Format(format).Id(id).IdN(idN).Job(job).JobN(jobN).JobQueue(jobQueue).JobQueueN(jobQueueN).Limit(limit).Offset(offset).Q(q).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobsBulkPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobQueueAssignmentsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `ExtrasJobsBulkPartialUpdate`: []Job
- fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasJobsBulkPartialUpdate`: %v\n", resp)
+ // response from `ExtrasJobQueueAssignmentsList`: PaginatedJobQueueAssignmentList
+ fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasJobQueueAssignmentsList`: %v\n", resp)
}
```
@@ -17597,17 +16875,28 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiExtrasJobsBulkPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiExtrasJobQueueAssignmentsListRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **patchedBulkWritableJobRequest** | [**[]PatchedBulkWritableJobRequest**](PatchedBulkWritableJobRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
+ **idN** | **[]string** | |
+ **job** | **[]string** | |
+ **jobN** | **[]string** | |
+ **jobQueue** | **[]string** | |
+ **jobQueueN** | **[]string** | |
+ **limit** | **int32** | Number of results to return per page. |
+ **offset** | **int32** | The initial index from which to return the results. |
+ **q** | **string** | Search |
+ **sort** | **string** | Which field to use when ordering the results. |
+ **depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**[]Job**](Job.md)
+[**PaginatedJobQueueAssignmentList**](PaginatedJobQueueAssignmentList.md)
### Authorization
@@ -17615,7 +16904,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: application/json, text/csv
+- **Content-Type**: Not defined
- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -17623,9 +16912,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## ExtrasJobsBulkUpdate
+## ExtrasJobQueueAssignmentsPartialUpdate
-> []Job ExtrasJobsBulkUpdate(ctx).BulkWritableJobRequest(bulkWritableJobRequest).Format(format).Execute()
+> JobQueueAssignment ExtrasJobQueueAssignmentsPartialUpdate(ctx, id).Format(format).PatchedJobQueueAssignmentRequest(patchedJobQueueAssignmentRequest).Execute()
@@ -17644,7 +16933,1817 @@ import (
)
func main() {
- bulkWritableJobRequest := []openapiclient.BulkWritableJobRequest{*openapiclient.NewBulkWritableJobRequest("Id_example", "Grouping_example", "Name_example")} // []BulkWritableJobRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this job queue assignment.
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ patchedJobQueueAssignmentRequest := *openapiclient.NewPatchedJobQueueAssignmentRequest() // PatchedJobQueueAssignmentRequest | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobQueueAssignmentsPartialUpdate(context.Background(), id).Format(format).PatchedJobQueueAssignmentRequest(patchedJobQueueAssignmentRequest).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobQueueAssignmentsPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `ExtrasJobQueueAssignmentsPartialUpdate`: JobQueueAssignment
+ fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasJobQueueAssignmentsPartialUpdate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this job queue assignment. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiExtrasJobQueueAssignmentsPartialUpdateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **patchedJobQueueAssignmentRequest** | [**PatchedJobQueueAssignmentRequest**](PatchedJobQueueAssignmentRequest.md) | |
+
+### Return type
+
+[**JobQueueAssignment**](JobQueueAssignment.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## ExtrasJobQueueAssignmentsRetrieve
+
+> JobQueueAssignment ExtrasJobQueueAssignmentsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this job queue assignment.
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobQueueAssignmentsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobQueueAssignmentsRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `ExtrasJobQueueAssignmentsRetrieve`: JobQueueAssignment
+ fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasJobQueueAssignmentsRetrieve`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this job queue assignment. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiExtrasJobQueueAssignmentsRetrieveRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
+
+### Return type
+
+[**JobQueueAssignment**](JobQueueAssignment.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## ExtrasJobQueueAssignmentsUpdate
+
+> JobQueueAssignment ExtrasJobQueueAssignmentsUpdate(ctx, id).JobQueueAssignmentRequest(jobQueueAssignmentRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this job queue assignment.
+ jobQueueAssignmentRequest := *openapiclient.NewJobQueueAssignmentRequest(*openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // JobQueueAssignmentRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobQueueAssignmentsUpdate(context.Background(), id).JobQueueAssignmentRequest(jobQueueAssignmentRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobQueueAssignmentsUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `ExtrasJobQueueAssignmentsUpdate`: JobQueueAssignment
+ fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasJobQueueAssignmentsUpdate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this job queue assignment. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiExtrasJobQueueAssignmentsUpdateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **jobQueueAssignmentRequest** | [**JobQueueAssignmentRequest**](JobQueueAssignmentRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+[**JobQueueAssignment**](JobQueueAssignment.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## ExtrasJobQueuesBulkDestroy
+
+> ExtrasJobQueuesBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ bulkOperationRequest := []openapiclient.BulkOperationRequest{*openapiclient.NewBulkOperationRequest("Id_example")} // []BulkOperationRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ r, err := apiClient.ExtrasAPI.ExtrasJobQueuesBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobQueuesBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+}
+```
+
+### Path Parameters
+
+
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiExtrasJobQueuesBulkDestroyRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **bulkOperationRequest** | [**[]BulkOperationRequest**](BulkOperationRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+ (empty response body)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: Not defined
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## ExtrasJobQueuesBulkPartialUpdate
+
+> []JobQueue ExtrasJobQueuesBulkPartialUpdate(ctx).PatchedBulkWritableJobQueueRequest(patchedBulkWritableJobQueueRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ patchedBulkWritableJobQueueRequest := []openapiclient.PatchedBulkWritableJobQueueRequest{*openapiclient.NewPatchedBulkWritableJobQueueRequest("Id_example")} // []PatchedBulkWritableJobQueueRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobQueuesBulkPartialUpdate(context.Background()).PatchedBulkWritableJobQueueRequest(patchedBulkWritableJobQueueRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobQueuesBulkPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `ExtrasJobQueuesBulkPartialUpdate`: []JobQueue
+ fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasJobQueuesBulkPartialUpdate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiExtrasJobQueuesBulkPartialUpdateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **patchedBulkWritableJobQueueRequest** | [**[]PatchedBulkWritableJobQueueRequest**](PatchedBulkWritableJobQueueRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+[**[]JobQueue**](JobQueue.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## ExtrasJobQueuesBulkUpdate
+
+> []JobQueue ExtrasJobQueuesBulkUpdate(ctx).BulkWritableJobQueueRequest(bulkWritableJobQueueRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ bulkWritableJobQueueRequest := []openapiclient.BulkWritableJobQueueRequest{*openapiclient.NewBulkWritableJobQueueRequest("Id_example", "Name_example", openapiclient.QueueTypeEnum("celery"))} // []BulkWritableJobQueueRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobQueuesBulkUpdate(context.Background()).BulkWritableJobQueueRequest(bulkWritableJobQueueRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobQueuesBulkUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `ExtrasJobQueuesBulkUpdate`: []JobQueue
+ fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasJobQueuesBulkUpdate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiExtrasJobQueuesBulkUpdateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **bulkWritableJobQueueRequest** | [**[]BulkWritableJobQueueRequest**](BulkWritableJobQueueRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+[**[]JobQueue**](JobQueue.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## ExtrasJobQueuesCreate
+
+> JobQueue ExtrasJobQueuesCreate(ctx).JobQueueRequest(jobQueueRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ jobQueueRequest := *openapiclient.NewJobQueueRequest("Name_example", openapiclient.QueueTypeEnum("celery")) // JobQueueRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobQueuesCreate(context.Background()).JobQueueRequest(jobQueueRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobQueuesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `ExtrasJobQueuesCreate`: JobQueue
+ fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasJobQueuesCreate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiExtrasJobQueuesCreateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **jobQueueRequest** | [**JobQueueRequest**](JobQueueRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+[**JobQueue**](JobQueue.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## ExtrasJobQueuesDestroy
+
+> ExtrasJobQueuesDestroy(ctx, id).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this job queue.
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ r, err := apiClient.ExtrasAPI.ExtrasJobQueuesDestroy(context.Background(), id).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobQueuesDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this job queue. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiExtrasJobQueuesDestroyRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+ (empty response body)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: Not defined
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## ExtrasJobQueuesList
+
+> PaginatedJobQueueList ExtrasJobQueuesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasJobs(hasJobs).Id(id).IdN(idN).Jobs(jobs).JobsIsnull(jobsIsnull).JobsN(jobsN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).QueueType(queueType).QueueTypeIc(queueTypeIc).QueueTypeIe(queueTypeIe).QueueTypeIew(queueTypeIew).QueueTypeIre(queueTypeIre).QueueTypeIsw(queueTypeIsw).QueueTypeN(queueTypeN).QueueTypeNic(queueTypeNic).QueueTypeNie(queueTypeNie).QueueTypeNiew(queueTypeNiew).QueueTypeNire(queueTypeNire).QueueTypeNisw(queueTypeNisw).QueueTypeNre(queueTypeNre).QueueTypeRe(queueTypeRe).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ "time"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ contacts := []string{"Inner_example"} // []string | (optional)
+ contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
+ created := []time.Time{time.Now()} // []time.Time | (optional)
+ createdGt := []time.Time{time.Now()} // []time.Time | (optional)
+ createdGte := []time.Time{time.Now()} // []time.Time | (optional)
+ createdIsnull := true // bool | (optional)
+ createdLt := []time.Time{time.Now()} // []time.Time | (optional)
+ createdLte := []time.Time{time.Now()} // []time.Time | (optional)
+ createdN := []time.Time{time.Now()} // []time.Time | (optional)
+ description := []string{"Inner_example"} // []string | (optional)
+ descriptionIc := []string{"Inner_example"} // []string | (optional)
+ descriptionIe := []string{"Inner_example"} // []string | (optional)
+ descriptionIew := []string{"Inner_example"} // []string | (optional)
+ descriptionIre := []string{"Inner_example"} // []string | (optional)
+ descriptionIsw := []string{"Inner_example"} // []string | (optional)
+ descriptionN := []string{"Inner_example"} // []string | (optional)
+ descriptionNic := []string{"Inner_example"} // []string | (optional)
+ descriptionNie := []string{"Inner_example"} // []string | (optional)
+ descriptionNiew := []string{"Inner_example"} // []string | (optional)
+ descriptionNire := []string{"Inner_example"} // []string | (optional)
+ descriptionNisw := []string{"Inner_example"} // []string | (optional)
+ descriptionNre := []string{"Inner_example"} // []string | (optional)
+ descriptionRe := []string{"Inner_example"} // []string | (optional)
+ dynamicGroups := []string{"Inner_example"} // []string | (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ hasJobs := true // bool | Has jobs (optional)
+ id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
+ idN := []string{"Inner_example"} // []string | (optional)
+ jobs := []string{"Inner_example"} // []string | (optional)
+ jobsIsnull := true // bool | Job (name or ID) is null (optional)
+ jobsN := []string{"Inner_example"} // []string | (optional)
+ lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedIsnull := true // bool | (optional)
+ lastUpdatedLt := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedLte := []time.Time{time.Now()} // []time.Time | (optional)
+ lastUpdatedN := []time.Time{time.Now()} // []time.Time | (optional)
+ limit := int32(56) // int32 | Number of results to return per page. (optional)
+ name := []string{"Inner_example"} // []string | (optional)
+ nameIc := []string{"Inner_example"} // []string | (optional)
+ nameIe := []string{"Inner_example"} // []string | (optional)
+ nameIew := []string{"Inner_example"} // []string | (optional)
+ nameIre := []string{"Inner_example"} // []string | (optional)
+ nameIsw := []string{"Inner_example"} // []string | (optional)
+ nameN := []string{"Inner_example"} // []string | (optional)
+ nameNic := []string{"Inner_example"} // []string | (optional)
+ nameNie := []string{"Inner_example"} // []string | (optional)
+ nameNiew := []string{"Inner_example"} // []string | (optional)
+ nameNire := []string{"Inner_example"} // []string | (optional)
+ nameNisw := []string{"Inner_example"} // []string | (optional)
+ nameNre := []string{"Inner_example"} // []string | (optional)
+ nameRe := []string{"Inner_example"} // []string | (optional)
+ offset := int32(56) // int32 | The initial index from which to return the results. (optional)
+ q := "q_example" // string | Search (optional)
+ queueType := []string{"Inner_example"} // []string | (optional)
+ queueTypeIc := []string{"Inner_example"} // []string | (optional)
+ queueTypeIe := []string{"Inner_example"} // []string | (optional)
+ queueTypeIew := []string{"Inner_example"} // []string | (optional)
+ queueTypeIre := []string{"Inner_example"} // []string | (optional)
+ queueTypeIsw := []string{"Inner_example"} // []string | (optional)
+ queueTypeN := []string{"Inner_example"} // []string | (optional)
+ queueTypeNic := []string{"Inner_example"} // []string | (optional)
+ queueTypeNie := []string{"Inner_example"} // []string | (optional)
+ queueTypeNiew := []string{"Inner_example"} // []string | (optional)
+ queueTypeNire := []string{"Inner_example"} // []string | (optional)
+ queueTypeNisw := []string{"Inner_example"} // []string | (optional)
+ queueTypeNre := []string{"Inner_example"} // []string | (optional)
+ queueTypeRe := []string{"Inner_example"} // []string | (optional)
+ sort := "sort_example" // string | Which field to use when ordering the results. (optional)
+ tags := []string{"Inner_example"} // []string | (optional)
+ tagsIsnull := true // bool | (optional)
+ tagsN := []string{"Inner_example"} // []string | (optional)
+ teams := []string{"Inner_example"} // []string | (optional)
+ teamsIsnull := true // bool | Teams (name or ID) is null (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
+ tenant := []string{"Inner_example"} // []string | (optional)
+ tenantIsnull := true // bool | Tenant (name or ID) is null (optional)
+ tenantN := []string{"Inner_example"} // []string | (optional)
+ tenantGroup := []string{"Inner_example"} // []string | (optional)
+ tenantGroupIsnull := true // bool | Tenant Group (name or ID) is null (optional)
+ tenantGroupN := []string{"Inner_example"} // []string | (optional)
+ tenantId := []*string{"Inner_example"} // []*string | Tenant (ID) (deprecated, use \"tenant\" filter instead) (optional)
+ tenantIdIsnull := true // bool | Tenant (ID) (deprecated, use \"tenant\" filter instead) is null (optional)
+ tenantIdN := []*string{"Inner_example"} // []*string | Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead) (optional)
+ depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobQueuesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasJobs(hasJobs).Id(id).IdN(idN).Jobs(jobs).JobsIsnull(jobsIsnull).JobsN(jobsN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).QueueType(queueType).QueueTypeIc(queueTypeIc).QueueTypeIe(queueTypeIe).QueueTypeIew(queueTypeIew).QueueTypeIre(queueTypeIre).QueueTypeIsw(queueTypeIsw).QueueTypeN(queueTypeN).QueueTypeNic(queueTypeNic).QueueTypeNie(queueTypeNie).QueueTypeNiew(queueTypeNiew).QueueTypeNire(queueTypeNire).QueueTypeNisw(queueTypeNisw).QueueTypeNre(queueTypeNre).QueueTypeRe(queueTypeRe).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobQueuesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `ExtrasJobQueuesList`: PaginatedJobQueueList
+ fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasJobQueuesList`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiExtrasJobQueuesListRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **contacts** | **[]string** | |
+ **contactsIsnull** | **bool** | Contacts (name or ID) is null |
+ **contactsN** | **[]string** | |
+ **created** | [**[]time.Time**](time.Time.md) | |
+ **createdGt** | [**[]time.Time**](time.Time.md) | |
+ **createdGte** | [**[]time.Time**](time.Time.md) | |
+ **createdIsnull** | **bool** | |
+ **createdLt** | [**[]time.Time**](time.Time.md) | |
+ **createdLte** | [**[]time.Time**](time.Time.md) | |
+ **createdN** | [**[]time.Time**](time.Time.md) | |
+ **description** | **[]string** | |
+ **descriptionIc** | **[]string** | |
+ **descriptionIe** | **[]string** | |
+ **descriptionIew** | **[]string** | |
+ **descriptionIre** | **[]string** | |
+ **descriptionIsw** | **[]string** | |
+ **descriptionN** | **[]string** | |
+ **descriptionNic** | **[]string** | |
+ **descriptionNie** | **[]string** | |
+ **descriptionNiew** | **[]string** | |
+ **descriptionNire** | **[]string** | |
+ **descriptionNisw** | **[]string** | |
+ **descriptionNre** | **[]string** | |
+ **descriptionRe** | **[]string** | |
+ **dynamicGroups** | **[]string** | |
+ **dynamicGroupsN** | **[]string** | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **hasJobs** | **bool** | Has jobs |
+ **id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
+ **idN** | **[]string** | |
+ **jobs** | **[]string** | |
+ **jobsIsnull** | **bool** | Job (name or ID) is null |
+ **jobsN** | **[]string** | |
+ **lastUpdated** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedIsnull** | **bool** | |
+ **lastUpdatedLt** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedLte** | [**[]time.Time**](time.Time.md) | |
+ **lastUpdatedN** | [**[]time.Time**](time.Time.md) | |
+ **limit** | **int32** | Number of results to return per page. |
+ **name** | **[]string** | |
+ **nameIc** | **[]string** | |
+ **nameIe** | **[]string** | |
+ **nameIew** | **[]string** | |
+ **nameIre** | **[]string** | |
+ **nameIsw** | **[]string** | |
+ **nameN** | **[]string** | |
+ **nameNic** | **[]string** | |
+ **nameNie** | **[]string** | |
+ **nameNiew** | **[]string** | |
+ **nameNire** | **[]string** | |
+ **nameNisw** | **[]string** | |
+ **nameNre** | **[]string** | |
+ **nameRe** | **[]string** | |
+ **offset** | **int32** | The initial index from which to return the results. |
+ **q** | **string** | Search |
+ **queueType** | **[]string** | |
+ **queueTypeIc** | **[]string** | |
+ **queueTypeIe** | **[]string** | |
+ **queueTypeIew** | **[]string** | |
+ **queueTypeIre** | **[]string** | |
+ **queueTypeIsw** | **[]string** | |
+ **queueTypeN** | **[]string** | |
+ **queueTypeNic** | **[]string** | |
+ **queueTypeNie** | **[]string** | |
+ **queueTypeNiew** | **[]string** | |
+ **queueTypeNire** | **[]string** | |
+ **queueTypeNisw** | **[]string** | |
+ **queueTypeNre** | **[]string** | |
+ **queueTypeRe** | **[]string** | |
+ **sort** | **string** | Which field to use when ordering the results. |
+ **tags** | **[]string** | |
+ **tagsIsnull** | **bool** | |
+ **tagsN** | **[]string** | |
+ **teams** | **[]string** | |
+ **teamsIsnull** | **bool** | Teams (name or ID) is null |
+ **teamsN** | **[]string** | |
+ **tenant** | **[]string** | |
+ **tenantIsnull** | **bool** | Tenant (name or ID) is null |
+ **tenantN** | **[]string** | |
+ **tenantGroup** | **[]string** | |
+ **tenantGroupIsnull** | **bool** | Tenant Group (name or ID) is null |
+ **tenantGroupN** | **[]string** | |
+ **tenantId** | **[]string** | Tenant (ID) (deprecated, use \"tenant\" filter instead) |
+ **tenantIdIsnull** | **bool** | Tenant (ID) (deprecated, use \"tenant\" filter instead) is null |
+ **tenantIdN** | **[]string** | Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead) |
+ **depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
+
+### Return type
+
+[**PaginatedJobQueueList**](PaginatedJobQueueList.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## ExtrasJobQueuesNotesCreate
+
+> Note ExtrasJobQueuesNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this job queue.
+ noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobQueuesNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobQueuesNotesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `ExtrasJobQueuesNotesCreate`: Note
+ fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasJobQueuesNotesCreate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this job queue. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiExtrasJobQueuesNotesCreateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **noteInputRequest** | [**NoteInputRequest**](NoteInputRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+[**Note**](Note.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## ExtrasJobQueuesNotesList
+
+> PaginatedNoteList ExtrasJobQueuesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this job queue.
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ limit := int32(56) // int32 | Number of results to return per page. (optional)
+ offset := int32(56) // int32 | The initial index from which to return the results. (optional)
+ depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobQueuesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobQueuesNotesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `ExtrasJobQueuesNotesList`: PaginatedNoteList
+ fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasJobQueuesNotesList`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this job queue. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiExtrasJobQueuesNotesListRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **limit** | **int32** | Number of results to return per page. |
+ **offset** | **int32** | The initial index from which to return the results. |
+ **depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
+
+### Return type
+
+[**PaginatedNoteList**](PaginatedNoteList.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## ExtrasJobQueuesPartialUpdate
+
+> JobQueue ExtrasJobQueuesPartialUpdate(ctx, id).Format(format).PatchedJobQueueRequest(patchedJobQueueRequest).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this job queue.
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ patchedJobQueueRequest := *openapiclient.NewPatchedJobQueueRequest() // PatchedJobQueueRequest | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobQueuesPartialUpdate(context.Background(), id).Format(format).PatchedJobQueueRequest(patchedJobQueueRequest).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobQueuesPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `ExtrasJobQueuesPartialUpdate`: JobQueue
+ fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasJobQueuesPartialUpdate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this job queue. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiExtrasJobQueuesPartialUpdateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **patchedJobQueueRequest** | [**PatchedJobQueueRequest**](PatchedJobQueueRequest.md) | |
+
+### Return type
+
+[**JobQueue**](JobQueue.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## ExtrasJobQueuesRetrieve
+
+> JobQueue ExtrasJobQueuesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this job queue.
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobQueuesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobQueuesRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `ExtrasJobQueuesRetrieve`: JobQueue
+ fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasJobQueuesRetrieve`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this job queue. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiExtrasJobQueuesRetrieveRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
+
+### Return type
+
+[**JobQueue**](JobQueue.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## ExtrasJobQueuesUpdate
+
+> JobQueue ExtrasJobQueuesUpdate(ctx, id).JobQueueRequest(jobQueueRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this job queue.
+ jobQueueRequest := *openapiclient.NewJobQueueRequest("Name_example", openapiclient.QueueTypeEnum("celery")) // JobQueueRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobQueuesUpdate(context.Background(), id).JobQueueRequest(jobQueueRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobQueuesUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `ExtrasJobQueuesUpdate`: JobQueue
+ fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasJobQueuesUpdate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this job queue. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiExtrasJobQueuesUpdateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **jobQueueRequest** | [**JobQueueRequest**](JobQueueRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+[**JobQueue**](JobQueue.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## ExtrasJobResultsBulkDestroy
+
+> ExtrasJobResultsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ bulkOperationRequest := []openapiclient.BulkOperationRequest{*openapiclient.NewBulkOperationRequest("Id_example")} // []BulkOperationRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ r, err := apiClient.ExtrasAPI.ExtrasJobResultsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobResultsBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+}
+```
+
+### Path Parameters
+
+
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiExtrasJobResultsBulkDestroyRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **bulkOperationRequest** | [**[]BulkOperationRequest**](BulkOperationRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+ (empty response body)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: Not defined
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## ExtrasJobResultsDestroy
+
+> ExtrasJobResultsDestroy(ctx, id).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this job result.
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ r, err := apiClient.ExtrasAPI.ExtrasJobResultsDestroy(context.Background(), id).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobResultsDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this job result. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiExtrasJobResultsDestroyRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+ (empty response body)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: Not defined
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## ExtrasJobResultsList
+
+> PaginatedJobResultList ExtrasJobResultsList(ctx).DateCreated(dateCreated).DateCreatedGt(dateCreatedGt).DateCreatedGte(dateCreatedGte).DateCreatedLt(dateCreatedLt).DateCreatedLte(dateCreatedLte).DateCreatedN(dateCreatedN).DateDone(dateDone).DateDoneGt(dateDoneGt).DateDoneGte(dateDoneGte).DateDoneIsnull(dateDoneIsnull).DateDoneLt(dateDoneLt).DateDoneLte(dateDoneLte).DateDoneN(dateDoneN).DateStarted(dateStarted).DateStartedGt(dateStartedGt).DateStartedGte(dateStartedGte).DateStartedIsnull(dateStartedIsnull).DateStartedLt(dateStartedLt).DateStartedLte(dateStartedLte).DateStartedN(dateStartedN).Format(format).Id(id).IdN(idN).JobModel(jobModel).JobModelIsnull(jobModelIsnull).JobModelN(jobModelN).JobModelId(jobModelId).JobModelIdIsnull(jobModelIdIsnull).JobModelIdN(jobModelIdN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).ScheduledJob(scheduledJob).ScheduledJobIsnull(scheduledJobIsnull).ScheduledJobN(scheduledJobN).Sort(sort).Status(status).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIre(statusIre).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNire(statusNire).StatusNisw(statusNisw).StatusNre(statusNre).StatusRe(statusRe).User(user).UserIsnull(userIsnull).UserN(userN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ "time"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ dateCreated := []time.Time{time.Now()} // []time.Time | (optional)
+ dateCreatedGt := []time.Time{time.Now()} // []time.Time | (optional)
+ dateCreatedGte := []time.Time{time.Now()} // []time.Time | (optional)
+ dateCreatedLt := []time.Time{time.Now()} // []time.Time | (optional)
+ dateCreatedLte := []time.Time{time.Now()} // []time.Time | (optional)
+ dateCreatedN := []time.Time{time.Now()} // []time.Time | (optional)
+ dateDone := []time.Time{time.Now()} // []time.Time | (optional)
+ dateDoneGt := []time.Time{time.Now()} // []time.Time | (optional)
+ dateDoneGte := []time.Time{time.Now()} // []time.Time | (optional)
+ dateDoneIsnull := true // bool | (optional)
+ dateDoneLt := []time.Time{time.Now()} // []time.Time | (optional)
+ dateDoneLte := []time.Time{time.Now()} // []time.Time | (optional)
+ dateDoneN := []time.Time{time.Now()} // []time.Time | (optional)
+ dateStarted := []time.Time{time.Now()} // []time.Time | (optional)
+ dateStartedGt := []time.Time{time.Now()} // []time.Time | (optional)
+ dateStartedGte := []time.Time{time.Now()} // []time.Time | (optional)
+ dateStartedIsnull := true // bool | (optional)
+ dateStartedLt := []time.Time{time.Now()} // []time.Time | (optional)
+ dateStartedLte := []time.Time{time.Now()} // []time.Time | (optional)
+ dateStartedN := []time.Time{time.Now()} // []time.Time | (optional)
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
+ idN := []string{"Inner_example"} // []string | (optional)
+ jobModel := []string{"Inner_example"} // []string | (optional)
+ jobModelIsnull := true // bool | Job (name or ID) is null (optional)
+ jobModelN := []string{"Inner_example"} // []string | (optional)
+ jobModelId := []*string{"Inner_example"} // []*string | Job (ID) - Deprecated (use job_model filter) (optional)
+ jobModelIdIsnull := true // bool | Job (ID) - Deprecated (use job_model filter) is null (optional)
+ jobModelIdN := []*string{"Inner_example"} // []*string | Exclude Job (ID) - Deprecated (use job_model filter) (optional)
+ limit := int32(56) // int32 | Number of results to return per page. (optional)
+ name := []string{"Inner_example"} // []string | (optional)
+ nameIc := []string{"Inner_example"} // []string | (optional)
+ nameIe := []string{"Inner_example"} // []string | (optional)
+ nameIew := []string{"Inner_example"} // []string | (optional)
+ nameIre := []string{"Inner_example"} // []string | (optional)
+ nameIsw := []string{"Inner_example"} // []string | (optional)
+ nameN := []string{"Inner_example"} // []string | (optional)
+ nameNic := []string{"Inner_example"} // []string | (optional)
+ nameNie := []string{"Inner_example"} // []string | (optional)
+ nameNiew := []string{"Inner_example"} // []string | (optional)
+ nameNire := []string{"Inner_example"} // []string | (optional)
+ nameNisw := []string{"Inner_example"} // []string | (optional)
+ nameNre := []string{"Inner_example"} // []string | (optional)
+ nameRe := []string{"Inner_example"} // []string | (optional)
+ offset := int32(56) // int32 | The initial index from which to return the results. (optional)
+ q := "q_example" // string | Search (optional)
+ scheduledJob := []string{"Inner_example"} // []string | (optional)
+ scheduledJobIsnull := true // bool | Scheduled Job (name or ID) is null (optional)
+ scheduledJobN := []string{"Inner_example"} // []string | (optional)
+ sort := "sort_example" // string | Which field to use when ordering the results. (optional)
+ status := []string{"Inner_example"} // []string | Current state of the Job being run (optional)
+ statusIc := []string{"Inner_example"} // []string | (optional)
+ statusIe := []string{"Inner_example"} // []string | (optional)
+ statusIew := []string{"Inner_example"} // []string | (optional)
+ statusIre := []string{"Inner_example"} // []string | (optional)
+ statusIsw := []string{"Inner_example"} // []string | (optional)
+ statusN := []string{"Inner_example"} // []string | (optional)
+ statusNic := []string{"Inner_example"} // []string | (optional)
+ statusNie := []string{"Inner_example"} // []string | (optional)
+ statusNiew := []string{"Inner_example"} // []string | (optional)
+ statusNire := []string{"Inner_example"} // []string | (optional)
+ statusNisw := []string{"Inner_example"} // []string | (optional)
+ statusNre := []string{"Inner_example"} // []string | (optional)
+ statusRe := []string{"Inner_example"} // []string | (optional)
+ user := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional)
+ userIsnull := true // bool | (optional)
+ userN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional)
+ depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobResultsList(context.Background()).DateCreated(dateCreated).DateCreatedGt(dateCreatedGt).DateCreatedGte(dateCreatedGte).DateCreatedLt(dateCreatedLt).DateCreatedLte(dateCreatedLte).DateCreatedN(dateCreatedN).DateDone(dateDone).DateDoneGt(dateDoneGt).DateDoneGte(dateDoneGte).DateDoneIsnull(dateDoneIsnull).DateDoneLt(dateDoneLt).DateDoneLte(dateDoneLte).DateDoneN(dateDoneN).DateStarted(dateStarted).DateStartedGt(dateStartedGt).DateStartedGte(dateStartedGte).DateStartedIsnull(dateStartedIsnull).DateStartedLt(dateStartedLt).DateStartedLte(dateStartedLte).DateStartedN(dateStartedN).Format(format).Id(id).IdN(idN).JobModel(jobModel).JobModelIsnull(jobModelIsnull).JobModelN(jobModelN).JobModelId(jobModelId).JobModelIdIsnull(jobModelIdIsnull).JobModelIdN(jobModelIdN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).ScheduledJob(scheduledJob).ScheduledJobIsnull(scheduledJobIsnull).ScheduledJobN(scheduledJobN).Sort(sort).Status(status).StatusIc(statusIc).StatusIe(statusIe).StatusIew(statusIew).StatusIre(statusIre).StatusIsw(statusIsw).StatusN(statusN).StatusNic(statusNic).StatusNie(statusNie).StatusNiew(statusNiew).StatusNire(statusNire).StatusNisw(statusNisw).StatusNre(statusNre).StatusRe(statusRe).User(user).UserIsnull(userIsnull).UserN(userN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobResultsList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `ExtrasJobResultsList`: PaginatedJobResultList
+ fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasJobResultsList`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiExtrasJobResultsListRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **dateCreated** | [**[]time.Time**](time.Time.md) | |
+ **dateCreatedGt** | [**[]time.Time**](time.Time.md) | |
+ **dateCreatedGte** | [**[]time.Time**](time.Time.md) | |
+ **dateCreatedLt** | [**[]time.Time**](time.Time.md) | |
+ **dateCreatedLte** | [**[]time.Time**](time.Time.md) | |
+ **dateCreatedN** | [**[]time.Time**](time.Time.md) | |
+ **dateDone** | [**[]time.Time**](time.Time.md) | |
+ **dateDoneGt** | [**[]time.Time**](time.Time.md) | |
+ **dateDoneGte** | [**[]time.Time**](time.Time.md) | |
+ **dateDoneIsnull** | **bool** | |
+ **dateDoneLt** | [**[]time.Time**](time.Time.md) | |
+ **dateDoneLte** | [**[]time.Time**](time.Time.md) | |
+ **dateDoneN** | [**[]time.Time**](time.Time.md) | |
+ **dateStarted** | [**[]time.Time**](time.Time.md) | |
+ **dateStartedGt** | [**[]time.Time**](time.Time.md) | |
+ **dateStartedGte** | [**[]time.Time**](time.Time.md) | |
+ **dateStartedIsnull** | **bool** | |
+ **dateStartedLt** | [**[]time.Time**](time.Time.md) | |
+ **dateStartedLte** | [**[]time.Time**](time.Time.md) | |
+ **dateStartedN** | [**[]time.Time**](time.Time.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
+ **idN** | **[]string** | |
+ **jobModel** | **[]string** | |
+ **jobModelIsnull** | **bool** | Job (name or ID) is null |
+ **jobModelN** | **[]string** | |
+ **jobModelId** | **[]string** | Job (ID) - Deprecated (use job_model filter) |
+ **jobModelIdIsnull** | **bool** | Job (ID) - Deprecated (use job_model filter) is null |
+ **jobModelIdN** | **[]string** | Exclude Job (ID) - Deprecated (use job_model filter) |
+ **limit** | **int32** | Number of results to return per page. |
+ **name** | **[]string** | |
+ **nameIc** | **[]string** | |
+ **nameIe** | **[]string** | |
+ **nameIew** | **[]string** | |
+ **nameIre** | **[]string** | |
+ **nameIsw** | **[]string** | |
+ **nameN** | **[]string** | |
+ **nameNic** | **[]string** | |
+ **nameNie** | **[]string** | |
+ **nameNiew** | **[]string** | |
+ **nameNire** | **[]string** | |
+ **nameNisw** | **[]string** | |
+ **nameNre** | **[]string** | |
+ **nameRe** | **[]string** | |
+ **offset** | **int32** | The initial index from which to return the results. |
+ **q** | **string** | Search |
+ **scheduledJob** | **[]string** | |
+ **scheduledJobIsnull** | **bool** | Scheduled Job (name or ID) is null |
+ **scheduledJobN** | **[]string** | |
+ **sort** | **string** | Which field to use when ordering the results. |
+ **status** | **[]string** | Current state of the Job being run |
+ **statusIc** | **[]string** | |
+ **statusIe** | **[]string** | |
+ **statusIew** | **[]string** | |
+ **statusIre** | **[]string** | |
+ **statusIsw** | **[]string** | |
+ **statusN** | **[]string** | |
+ **statusNic** | **[]string** | |
+ **statusNie** | **[]string** | |
+ **statusNiew** | **[]string** | |
+ **statusNire** | **[]string** | |
+ **statusNisw** | **[]string** | |
+ **statusNre** | **[]string** | |
+ **statusRe** | **[]string** | |
+ **user** | **string** | |
+ **userIsnull** | **bool** | |
+ **userN** | **string** | |
+ **depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
+
+### Return type
+
+[**PaginatedJobResultList**](PaginatedJobResultList.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## ExtrasJobResultsLogsRetrieve
+
+> JobResult ExtrasJobResultsLogsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this job result.
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobResultsLogsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobResultsLogsRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `ExtrasJobResultsLogsRetrieve`: JobResult
+ fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasJobResultsLogsRetrieve`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this job result. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiExtrasJobResultsLogsRetrieveRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
+
+### Return type
+
+[**JobResult**](JobResult.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## ExtrasJobResultsRetrieve
+
+> JobResult ExtrasJobResultsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this job result.
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobResultsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobResultsRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `ExtrasJobResultsRetrieve`: JobResult
+ fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasJobResultsRetrieve`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this job result. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiExtrasJobResultsRetrieveRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
+
+### Return type
+
+[**JobResult**](JobResult.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## ExtrasJobsBulkDestroy
+
+> ExtrasJobsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ bulkOperationRequest := []openapiclient.BulkOperationRequest{*openapiclient.NewBulkOperationRequest("Id_example")} // []BulkOperationRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ r, err := apiClient.ExtrasAPI.ExtrasJobsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobsBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+}
+```
+
+### Path Parameters
+
+
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiExtrasJobsBulkDestroyRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **bulkOperationRequest** | [**[]BulkOperationRequest**](BulkOperationRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+ (empty response body)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: Not defined
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## ExtrasJobsBulkPartialUpdate
+
+> []Job ExtrasJobsBulkPartialUpdate(ctx).PatchedBulkWritableJobRequest(patchedBulkWritableJobRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ patchedBulkWritableJobRequest := []openapiclient.PatchedBulkWritableJobRequest{*openapiclient.NewPatchedBulkWritableJobRequest("Id_example")} // []PatchedBulkWritableJobRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobsBulkPartialUpdate(context.Background()).PatchedBulkWritableJobRequest(patchedBulkWritableJobRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobsBulkPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `ExtrasJobsBulkPartialUpdate`: []Job
+ fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasJobsBulkPartialUpdate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiExtrasJobsBulkPartialUpdateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **patchedBulkWritableJobRequest** | [**[]PatchedBulkWritableJobRequest**](PatchedBulkWritableJobRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+[**[]Job**](Job.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## ExtrasJobsBulkUpdate
+
+> []Job ExtrasJobsBulkUpdate(ctx).BulkWritableJobRequest(bulkWritableJobRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ bulkWritableJobRequest := []openapiclient.BulkWritableJobRequest{*openapiclient.NewBulkWritableJobRequest("Id_example", "Grouping_example", "Name_example", *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritableJobRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
@@ -17833,7 +18932,7 @@ Name | Type | Description | Notes
## ExtrasJobsList
-> PaginatedJobList ExtrasJobsList(ctx).ApprovalRequired(approvalRequired).ApprovalRequiredOverride(approvalRequiredOverride).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).DescriptionOverride(descriptionOverride).DryrunDefault(dryrunDefault).DryrunDefaultOverride(dryrunDefaultOverride).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Enabled(enabled).Format(format).Grouping(grouping).GroupingIc(groupingIc).GroupingIe(groupingIe).GroupingIew(groupingIew).GroupingIre(groupingIre).GroupingIsw(groupingIsw).GroupingN(groupingN).GroupingNic(groupingNic).GroupingNie(groupingNie).GroupingNiew(groupingNiew).GroupingNire(groupingNire).GroupingNisw(groupingNisw).GroupingNre(groupingNre).GroupingRe(groupingRe).GroupingOverride(groupingOverride).HasSensitiveVariables(hasSensitiveVariables).HasSensitiveVariablesOverride(hasSensitiveVariablesOverride).Hidden(hidden).HiddenOverride(hiddenOverride).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Installed(installed).IsJobButtonReceiver(isJobButtonReceiver).IsJobHookReceiver(isJobHookReceiver).JobClassName(jobClassName).JobClassNameIc(jobClassNameIc).JobClassNameIe(jobClassNameIe).JobClassNameIew(jobClassNameIew).JobClassNameIre(jobClassNameIre).JobClassNameIsw(jobClassNameIsw).JobClassNameN(jobClassNameN).JobClassNameNic(jobClassNameNic).JobClassNameNie(jobClassNameNie).JobClassNameNiew(jobClassNameNiew).JobClassNameNire(jobClassNameNire).JobClassNameNisw(jobClassNameNisw).JobClassNameNre(jobClassNameNre).JobClassNameRe(jobClassNameRe).Limit(limit).ModuleName(moduleName).ModuleNameIc(moduleNameIc).ModuleNameIe(moduleNameIe).ModuleNameIew(moduleNameIew).ModuleNameIre(moduleNameIre).ModuleNameIsw(moduleNameIsw).ModuleNameN(moduleNameN).ModuleNameNic(moduleNameNic).ModuleNameNie(moduleNameNie).ModuleNameNiew(moduleNameNiew).ModuleNameNire(moduleNameNire).ModuleNameNisw(moduleNameNisw).ModuleNameNre(moduleNameNre).ModuleNameRe(moduleNameRe).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).NameOverride(nameOverride).Offset(offset).Q(q).ReadOnly(readOnly).SoftTimeLimit(softTimeLimit).SoftTimeLimitGt(softTimeLimitGt).SoftTimeLimitGte(softTimeLimitGte).SoftTimeLimitLt(softTimeLimitLt).SoftTimeLimitLte(softTimeLimitLte).SoftTimeLimitN(softTimeLimitN).SoftTimeLimitOverride(softTimeLimitOverride).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).TimeLimit(timeLimit).TimeLimitGt(timeLimitGt).TimeLimitGte(timeLimitGte).TimeLimitLt(timeLimitLt).TimeLimitLte(timeLimitLte).TimeLimitN(timeLimitN).TimeLimitOverride(timeLimitOverride).Depth(depth).Execute()
+> PaginatedJobList ExtrasJobsList(ctx).ApprovalRequired(approvalRequired).ApprovalRequiredOverride(approvalRequiredOverride).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).DescriptionOverride(descriptionOverride).DryrunDefault(dryrunDefault).DryrunDefaultOverride(dryrunDefaultOverride).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Enabled(enabled).Format(format).Grouping(grouping).GroupingIc(groupingIc).GroupingIe(groupingIe).GroupingIew(groupingIew).GroupingIre(groupingIre).GroupingIsw(groupingIsw).GroupingN(groupingN).GroupingNic(groupingNic).GroupingNie(groupingNie).GroupingNiew(groupingNiew).GroupingNire(groupingNire).GroupingNisw(groupingNisw).GroupingNre(groupingNre).GroupingRe(groupingRe).GroupingOverride(groupingOverride).HasSensitiveVariables(hasSensitiveVariables).HasSensitiveVariablesOverride(hasSensitiveVariablesOverride).Hidden(hidden).HiddenOverride(hiddenOverride).Id(id).IdN(idN).Installed(installed).IsJobButtonReceiver(isJobButtonReceiver).IsJobHookReceiver(isJobHookReceiver).IsSingleton(isSingleton).IsSingletonOverride(isSingletonOverride).JobClassName(jobClassName).JobClassNameIc(jobClassNameIc).JobClassNameIe(jobClassNameIe).JobClassNameIew(jobClassNameIew).JobClassNameIre(jobClassNameIre).JobClassNameIsw(jobClassNameIsw).JobClassNameN(jobClassNameN).JobClassNameNic(jobClassNameNic).JobClassNameNie(jobClassNameNie).JobClassNameNiew(jobClassNameNiew).JobClassNameNire(jobClassNameNire).JobClassNameNisw(jobClassNameNisw).JobClassNameNre(jobClassNameNre).JobClassNameRe(jobClassNameRe).JobQueues(jobQueues).JobQueuesN(jobQueuesN).Limit(limit).ModuleName(moduleName).ModuleNameIc(moduleNameIc).ModuleNameIe(moduleNameIe).ModuleNameIew(moduleNameIew).ModuleNameIre(moduleNameIre).ModuleNameIsw(moduleNameIsw).ModuleNameN(moduleNameN).ModuleNameNic(moduleNameNic).ModuleNameNie(moduleNameNie).ModuleNameNiew(moduleNameNiew).ModuleNameNire(moduleNameNire).ModuleNameNisw(moduleNameNisw).ModuleNameNre(moduleNameNre).ModuleNameRe(moduleNameRe).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).NameOverride(nameOverride).Offset(offset).Q(q).ReadOnly(readOnly).SoftTimeLimit(softTimeLimit).SoftTimeLimitGt(softTimeLimitGt).SoftTimeLimitGte(softTimeLimitGte).SoftTimeLimitLt(softTimeLimitLt).SoftTimeLimitLte(softTimeLimitLte).SoftTimeLimitN(softTimeLimitN).SoftTimeLimitOverride(softTimeLimitOverride).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).TimeLimit(timeLimit).TimeLimitGt(timeLimitGt).TimeLimitGte(timeLimitGte).TimeLimitLt(timeLimitLt).TimeLimitLte(timeLimitLte).TimeLimitN(timeLimitN).TimeLimitOverride(timeLimitOverride).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -17856,12 +18955,12 @@ func main() {
approvalRequiredOverride := true // bool | (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
descriptionOverride := true // bool | (optional)
dryrunDefault := true // bool | (optional)
dryrunDefaultOverride := true // bool | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
enabled := true // bool | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
grouping := []string{"Inner_example"} // []string | (optional)
@@ -17884,22 +18983,12 @@ func main() {
hidden := true // bool | (optional)
hiddenOverride := true // bool | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
installed := true // bool | (optional)
isJobButtonReceiver := true // bool | (optional)
isJobHookReceiver := true // bool | (optional)
+ isSingleton := true // bool | (optional)
+ isSingletonOverride := true // bool | (optional)
jobClassName := []string{"Inner_example"} // []string | (optional)
jobClassNameIc := []string{"Inner_example"} // []string | (optional)
jobClassNameIe := []string{"Inner_example"} // []string | (optional)
@@ -17914,6 +19003,8 @@ func main() {
jobClassNameNisw := []string{"Inner_example"} // []string | (optional)
jobClassNameNre := []string{"Inner_example"} // []string | (optional)
jobClassNameRe := []string{"Inner_example"} // []string | (optional)
+ jobQueues := []string{"Inner_example"} // []string | (optional)
+ jobQueuesN := []string{"Inner_example"} // []string | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
moduleName := []string{"Inner_example"} // []string | (optional)
moduleNameIc := []string{"Inner_example"} // []string | (optional)
@@ -17960,7 +19051,7 @@ func main() {
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
timeLimit := []float32{float32(123)} // []float32 | (optional)
timeLimitGt := []float32{float32(123)} // []float32 | (optional)
timeLimitGte := []float32{float32(123)} // []float32 | (optional)
@@ -17969,10 +19060,11 @@ func main() {
timeLimitN := []float32{float32(123)} // []float32 | (optional)
timeLimitOverride := true // bool | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasJobsList(context.Background()).ApprovalRequired(approvalRequired).ApprovalRequiredOverride(approvalRequiredOverride).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).DescriptionOverride(descriptionOverride).DryrunDefault(dryrunDefault).DryrunDefaultOverride(dryrunDefaultOverride).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Enabled(enabled).Format(format).Grouping(grouping).GroupingIc(groupingIc).GroupingIe(groupingIe).GroupingIew(groupingIew).GroupingIre(groupingIre).GroupingIsw(groupingIsw).GroupingN(groupingN).GroupingNic(groupingNic).GroupingNie(groupingNie).GroupingNiew(groupingNiew).GroupingNire(groupingNire).GroupingNisw(groupingNisw).GroupingNre(groupingNre).GroupingRe(groupingRe).GroupingOverride(groupingOverride).HasSensitiveVariables(hasSensitiveVariables).HasSensitiveVariablesOverride(hasSensitiveVariablesOverride).Hidden(hidden).HiddenOverride(hiddenOverride).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Installed(installed).IsJobButtonReceiver(isJobButtonReceiver).IsJobHookReceiver(isJobHookReceiver).JobClassName(jobClassName).JobClassNameIc(jobClassNameIc).JobClassNameIe(jobClassNameIe).JobClassNameIew(jobClassNameIew).JobClassNameIre(jobClassNameIre).JobClassNameIsw(jobClassNameIsw).JobClassNameN(jobClassNameN).JobClassNameNic(jobClassNameNic).JobClassNameNie(jobClassNameNie).JobClassNameNiew(jobClassNameNiew).JobClassNameNire(jobClassNameNire).JobClassNameNisw(jobClassNameNisw).JobClassNameNre(jobClassNameNre).JobClassNameRe(jobClassNameRe).Limit(limit).ModuleName(moduleName).ModuleNameIc(moduleNameIc).ModuleNameIe(moduleNameIe).ModuleNameIew(moduleNameIew).ModuleNameIre(moduleNameIre).ModuleNameIsw(moduleNameIsw).ModuleNameN(moduleNameN).ModuleNameNic(moduleNameNic).ModuleNameNie(moduleNameNie).ModuleNameNiew(moduleNameNiew).ModuleNameNire(moduleNameNire).ModuleNameNisw(moduleNameNisw).ModuleNameNre(moduleNameNre).ModuleNameRe(moduleNameRe).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).NameOverride(nameOverride).Offset(offset).Q(q).ReadOnly(readOnly).SoftTimeLimit(softTimeLimit).SoftTimeLimitGt(softTimeLimitGt).SoftTimeLimitGte(softTimeLimitGte).SoftTimeLimitLt(softTimeLimitLt).SoftTimeLimitLte(softTimeLimitLte).SoftTimeLimitN(softTimeLimitN).SoftTimeLimitOverride(softTimeLimitOverride).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).TimeLimit(timeLimit).TimeLimitGt(timeLimitGt).TimeLimitGte(timeLimitGte).TimeLimitLt(timeLimitLt).TimeLimitLte(timeLimitLte).TimeLimitN(timeLimitN).TimeLimitOverride(timeLimitOverride).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobsList(context.Background()).ApprovalRequired(approvalRequired).ApprovalRequiredOverride(approvalRequiredOverride).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).DescriptionOverride(descriptionOverride).DryrunDefault(dryrunDefault).DryrunDefaultOverride(dryrunDefaultOverride).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Enabled(enabled).Format(format).Grouping(grouping).GroupingIc(groupingIc).GroupingIe(groupingIe).GroupingIew(groupingIew).GroupingIre(groupingIre).GroupingIsw(groupingIsw).GroupingN(groupingN).GroupingNic(groupingNic).GroupingNie(groupingNie).GroupingNiew(groupingNiew).GroupingNire(groupingNire).GroupingNisw(groupingNisw).GroupingNre(groupingNre).GroupingRe(groupingRe).GroupingOverride(groupingOverride).HasSensitiveVariables(hasSensitiveVariables).HasSensitiveVariablesOverride(hasSensitiveVariablesOverride).Hidden(hidden).HiddenOverride(hiddenOverride).Id(id).IdN(idN).Installed(installed).IsJobButtonReceiver(isJobButtonReceiver).IsJobHookReceiver(isJobHookReceiver).IsSingleton(isSingleton).IsSingletonOverride(isSingletonOverride).JobClassName(jobClassName).JobClassNameIc(jobClassNameIc).JobClassNameIe(jobClassNameIe).JobClassNameIew(jobClassNameIew).JobClassNameIre(jobClassNameIre).JobClassNameIsw(jobClassNameIsw).JobClassNameN(jobClassNameN).JobClassNameNic(jobClassNameNic).JobClassNameNie(jobClassNameNie).JobClassNameNiew(jobClassNameNiew).JobClassNameNire(jobClassNameNire).JobClassNameNisw(jobClassNameNisw).JobClassNameNre(jobClassNameNre).JobClassNameRe(jobClassNameRe).JobQueues(jobQueues).JobQueuesN(jobQueuesN).Limit(limit).ModuleName(moduleName).ModuleNameIc(moduleNameIc).ModuleNameIe(moduleNameIe).ModuleNameIew(moduleNameIew).ModuleNameIre(moduleNameIre).ModuleNameIsw(moduleNameIsw).ModuleNameN(moduleNameN).ModuleNameNic(moduleNameNic).ModuleNameNie(moduleNameNie).ModuleNameNiew(moduleNameNiew).ModuleNameNire(moduleNameNire).ModuleNameNisw(moduleNameNisw).ModuleNameNre(moduleNameNre).ModuleNameRe(moduleNameRe).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).NameOverride(nameOverride).Offset(offset).Q(q).ReadOnly(readOnly).SoftTimeLimit(softTimeLimit).SoftTimeLimitGt(softTimeLimitGt).SoftTimeLimitGte(softTimeLimitGte).SoftTimeLimitLt(softTimeLimitLt).SoftTimeLimitLte(softTimeLimitLte).SoftTimeLimitN(softTimeLimitN).SoftTimeLimitOverride(softTimeLimitOverride).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).TimeLimit(timeLimit).TimeLimitGt(timeLimitGt).TimeLimitGte(timeLimitGte).TimeLimitLt(timeLimitLt).TimeLimitLte(timeLimitLte).TimeLimitN(timeLimitN).TimeLimitOverride(timeLimitOverride).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -17997,12 +19089,12 @@ Name | Type | Description | Notes
**approvalRequiredOverride** | **bool** | |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**descriptionOverride** | **bool** | |
**dryrunDefault** | **bool** | |
**dryrunDefaultOverride** | **bool** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**enabled** | **bool** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**grouping** | **[]string** | |
@@ -18025,22 +19117,12 @@ Name | Type | Description | Notes
**hidden** | **bool** | |
**hiddenOverride** | **bool** | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**installed** | **bool** | |
**isJobButtonReceiver** | **bool** | |
**isJobHookReceiver** | **bool** | |
+ **isSingleton** | **bool** | |
+ **isSingletonOverride** | **bool** | |
**jobClassName** | **[]string** | |
**jobClassNameIc** | **[]string** | |
**jobClassNameIe** | **[]string** | |
@@ -18055,6 +19137,8 @@ Name | Type | Description | Notes
**jobClassNameNisw** | **[]string** | |
**jobClassNameNre** | **[]string** | |
**jobClassNameRe** | **[]string** | |
+ **jobQueues** | **[]string** | |
+ **jobQueuesN** | **[]string** | |
**limit** | **int32** | Number of results to return per page. |
**moduleName** | **[]string** | |
**moduleNameIc** | **[]string** | |
@@ -18101,7 +19185,7 @@ Name | Type | Description | Notes
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**timeLimit** | **[]float32** | |
**timeLimitGt** | **[]float32** | |
**timeLimitGte** | **[]float32** | |
@@ -18110,6 +19194,7 @@ Name | Type | Description | Notes
**timeLimitN** | **[]float32** | |
**timeLimitOverride** | **bool** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -18279,7 +19364,7 @@ Name | Type | Description | Notes
## ExtrasJobsNotesList
-> PaginatedNoteList ExtrasJobsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList ExtrasJobsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -18303,10 +19388,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasJobsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -18336,6 +19422,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -18357,7 +19444,7 @@ Name | Type | Description | Notes
## ExtrasJobsNotesListByName
-> PaginatedNoteList ExtrasJobsNotesListByName(ctx, name).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList ExtrasJobsNotesListByName(ctx, name).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -18381,10 +19468,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasJobsNotesListByName(context.Background(), name).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobsNotesListByName(context.Background(), name).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobsNotesListByName``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -18414,6 +19502,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -18583,7 +19672,7 @@ Name | Type | Description | Notes
## ExtrasJobsRetrieve
-> Job ExtrasJobsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> Job ExtrasJobsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -18605,10 +19694,11 @@ func main() {
id := "id_example" // string | Unique object identifier, either a UUID primary key or a composite key.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasJobsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -18636,6 +19726,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -18657,7 +19748,7 @@ Name | Type | Description | Notes
## ExtrasJobsRetrieveByName
-> Job ExtrasJobsRetrieveByName(ctx, name).Format(format).Depth(depth).Execute()
+> Job ExtrasJobsRetrieveByName(ctx, name).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -18679,10 +19770,11 @@ func main() {
name := "name_example" // string |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasJobsRetrieveByName(context.Background(), name).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobsRetrieveByName(context.Background(), name).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobsRetrieveByName``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -18710,6 +19802,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -18899,7 +19992,7 @@ import (
func main() {
id := "id_example" // string | Unique object identifier, either a UUID primary key or a composite key.
- jobRequest := *openapiclient.NewJobRequest("Grouping_example", "Name_example") // JobRequest |
+ jobRequest := *openapiclient.NewJobRequest("Grouping_example", "Name_example", *openapiclient.NewBulkWritableCableRequestStatus()) // JobRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
@@ -18973,7 +20066,7 @@ import (
func main() {
name := "name_example" // string |
- jobRequest := *openapiclient.NewJobRequest("Grouping_example", "Name_example") // JobRequest |
+ jobRequest := *openapiclient.NewJobRequest("Grouping_example", "Name_example", *openapiclient.NewBulkWritableCableRequestStatus()) // JobRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
@@ -19027,7 +20120,7 @@ Name | Type | Description | Notes
## ExtrasJobsVariablesList
-> PaginatedJobVariableList ExtrasJobsVariablesList(ctx, id).Format(format).Limit(limit).Offset(offset).Sort(sort).Depth(depth).Execute()
+> PaginatedJobVariableList ExtrasJobsVariablesList(ctx, id).Format(format).Limit(limit).Offset(offset).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -19052,10 +20145,11 @@ func main() {
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasJobsVariablesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Sort(sort).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobsVariablesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobsVariablesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -19086,6 +20180,7 @@ Name | Type | Description | Notes
**offset** | **int32** | The initial index from which to return the results. |
**sort** | **string** | Which field to use when ordering the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -19107,7 +20202,7 @@ Name | Type | Description | Notes
## ExtrasJobsVariablesListByName
-> PaginatedJobVariableList ExtrasJobsVariablesListByName(ctx, name).Format(format).Limit(limit).Offset(offset).Sort(sort).Depth(depth).Execute()
+> PaginatedJobVariableList ExtrasJobsVariablesListByName(ctx, name).Format(format).Limit(limit).Offset(offset).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -19132,10 +20227,11 @@ func main() {
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasJobsVariablesListByName(context.Background(), name).Format(format).Limit(limit).Offset(offset).Sort(sort).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasJobsVariablesListByName(context.Background(), name).Format(format).Limit(limit).Offset(offset).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasJobsVariablesListByName``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -19166,6 +20262,7 @@ Name | Type | Description | Notes
**offset** | **int32** | The initial index from which to return the results. |
**sort** | **string** | Which field to use when ordering the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -19527,7 +20624,7 @@ Name | Type | Description | Notes
## ExtrasMetadataChoicesList
-> PaginatedMetadataChoiceList ExtrasMetadataChoicesList(ctx).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MetadataType(metadataType).MetadataTypeN(metadataTypeN).Offset(offset).Q(q).Sort(sort).Value(value).ValueIc(valueIc).ValueIe(valueIe).ValueIew(valueIew).ValueIre(valueIre).ValueIsw(valueIsw).ValueN(valueN).ValueNic(valueNic).ValueNie(valueNie).ValueNiew(valueNiew).ValueNire(valueNire).ValueNisw(valueNisw).ValueNre(valueNre).ValueRe(valueRe).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).Execute()
+> PaginatedMetadataChoiceList ExtrasMetadataChoicesList(ctx).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MetadataType(metadataType).MetadataTypeN(metadataTypeN).Offset(offset).Q(q).Sort(sort).Value(value).ValueIc(valueIc).ValueIe(valueIe).ValueIew(valueIew).ValueIre(valueIre).ValueIsw(valueIsw).ValueN(valueN).ValueNic(valueNic).ValueNie(valueNie).ValueNiew(valueNiew).ValueNire(valueNire).ValueNisw(valueNisw).ValueNre(valueNre).ValueRe(valueRe).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -19556,19 +20653,7 @@ func main() {
createdN := []time.Time{time.Now()} // []time.Time | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -19603,10 +20688,11 @@ func main() {
weightLte := []int32{int32(123)} // []int32 | (optional)
weightN := []int32{int32(123)} // []int32 | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasMetadataChoicesList(context.Background()).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MetadataType(metadataType).MetadataTypeN(metadataTypeN).Offset(offset).Q(q).Sort(sort).Value(value).ValueIc(valueIc).ValueIe(valueIe).ValueIew(valueIew).ValueIre(valueIre).ValueIsw(valueIsw).ValueN(valueN).ValueNic(valueNic).ValueNie(valueNie).ValueNiew(valueNiew).ValueNire(valueNire).ValueNisw(valueNisw).ValueNre(valueNre).ValueRe(valueRe).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasMetadataChoicesList(context.Background()).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MetadataType(metadataType).MetadataTypeN(metadataTypeN).Offset(offset).Q(q).Sort(sort).Value(value).ValueIc(valueIc).ValueIe(valueIe).ValueIew(valueIew).ValueIre(valueIre).ValueIsw(valueIsw).ValueN(valueN).ValueNic(valueNic).ValueNie(valueNie).ValueNiew(valueNiew).ValueNire(valueNire).ValueNisw(valueNisw).ValueNre(valueNre).ValueRe(valueRe).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasMetadataChoicesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -19636,19 +20722,7 @@ Name | Type | Description | Notes
**createdN** | [**[]time.Time**](time.Time.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -19683,6 +20757,7 @@ Name | Type | Description | Notes
**weightLte** | **[]int32** | |
**weightN** | **[]int32** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -19778,7 +20853,7 @@ Name | Type | Description | Notes
## ExtrasMetadataChoicesRetrieve
-> MetadataChoice ExtrasMetadataChoicesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> MetadataChoice ExtrasMetadataChoicesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -19800,10 +20875,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this metadata choice.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasMetadataChoicesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasMetadataChoicesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasMetadataChoicesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -19831,6 +20907,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -20266,7 +21343,7 @@ Name | Type | Description | Notes
## ExtrasMetadataTypesList
-> PaginatedMetadataTypeList ExtrasMetadataTypesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesIc(contentTypesIc).ContentTypesIe(contentTypesIe).ContentTypesIew(contentTypesIew).ContentTypesIre(contentTypesIre).ContentTypesIsw(contentTypesIsw).ContentTypesN(contentTypesN).ContentTypesNic(contentTypesNic).ContentTypesNie(contentTypesNie).ContentTypesNiew(contentTypesNiew).ContentTypesNire(contentTypesNire).ContentTypesNisw(contentTypesNisw).ContentTypesNre(contentTypesNre).ContentTypesRe(contentTypesRe).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DataType(dataType).DataTypeIc(dataTypeIc).DataTypeIe(dataTypeIe).DataTypeIew(dataTypeIew).DataTypeIre(dataTypeIre).DataTypeIsw(dataTypeIsw).DataTypeN(dataTypeN).DataTypeNic(dataTypeNic).DataTypeNie(dataTypeNie).DataTypeNiew(dataTypeNiew).DataTypeNire(dataTypeNire).DataTypeNisw(dataTypeNisw).DataTypeNre(dataTypeNre).DataTypeRe(dataTypeRe).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedMetadataTypeList ExtrasMetadataTypesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesN(contentTypesN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DataType(dataType).DataTypeIc(dataTypeIc).DataTypeIe(dataTypeIe).DataTypeIew(dataTypeIew).DataTypeIre(dataTypeIre).DataTypeIsw(dataTypeIsw).DataTypeN(dataTypeN).DataTypeNic(dataTypeNic).DataTypeNie(dataTypeNie).DataTypeNiew(dataTypeNiew).DataTypeNire(dataTypeNire).DataTypeNisw(dataTypeNisw).DataTypeNre(dataTypeNre).DataTypeRe(dataTypeRe).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -20288,21 +21365,9 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
contentTypes := []int32{int32(123)} // []int32 | (optional)
- contentTypesIc := []int32{int32(123)} // []int32 | (optional)
- contentTypesIe := []int32{int32(123)} // []int32 | (optional)
- contentTypesIew := []int32{int32(123)} // []int32 | (optional)
- contentTypesIre := []int32{int32(123)} // []int32 | (optional)
- contentTypesIsw := []int32{int32(123)} // []int32 | (optional)
contentTypesN := []int32{int32(123)} // []int32 | (optional)
- contentTypesNic := []int32{int32(123)} // []int32 | (optional)
- contentTypesNie := []int32{int32(123)} // []int32 | (optional)
- contentTypesNiew := []int32{int32(123)} // []int32 | (optional)
- contentTypesNire := []int32{int32(123)} // []int32 | (optional)
- contentTypesNisw := []int32{int32(123)} // []int32 | (optional)
- contentTypesNre := []int32{int32(123)} // []int32 | (optional)
- contentTypesRe := []int32{int32(123)} // []int32 | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -20316,7 +21381,7 @@ func main() {
dataTypeIew := []string{"Inner_example"} // []string | (optional)
dataTypeIre := []string{"Inner_example"} // []string | (optional)
dataTypeIsw := []string{"Inner_example"} // []string | (optional)
- dataTypeN := []string{"Inner_example"} // []string | The type of data allowed for any Metadata of this type. (optional)
+ dataTypeN := []string{"Inner_example"} // []string | (optional)
dataTypeNic := []string{"Inner_example"} // []string | (optional)
dataTypeNie := []string{"Inner_example"} // []string | (optional)
dataTypeNiew := []string{"Inner_example"} // []string | (optional)
@@ -20339,22 +21404,10 @@ func main() {
descriptionNre := []string{"Inner_example"} // []string | (optional)
descriptionRe := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -20385,12 +21438,13 @@ func main() {
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasMetadataTypesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesIc(contentTypesIc).ContentTypesIe(contentTypesIe).ContentTypesIew(contentTypesIew).ContentTypesIre(contentTypesIre).ContentTypesIsw(contentTypesIsw).ContentTypesN(contentTypesN).ContentTypesNic(contentTypesNic).ContentTypesNie(contentTypesNie).ContentTypesNiew(contentTypesNiew).ContentTypesNire(contentTypesNire).ContentTypesNisw(contentTypesNisw).ContentTypesNre(contentTypesNre).ContentTypesRe(contentTypesRe).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DataType(dataType).DataTypeIc(dataTypeIc).DataTypeIe(dataTypeIe).DataTypeIew(dataTypeIew).DataTypeIre(dataTypeIre).DataTypeIsw(dataTypeIsw).DataTypeN(dataTypeN).DataTypeNic(dataTypeNic).DataTypeNie(dataTypeNie).DataTypeNiew(dataTypeNiew).DataTypeNire(dataTypeNire).DataTypeNisw(dataTypeNisw).DataTypeNre(dataTypeNre).DataTypeRe(dataTypeRe).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasMetadataTypesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesN(contentTypesN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DataType(dataType).DataTypeIc(dataTypeIc).DataTypeIe(dataTypeIe).DataTypeIew(dataTypeIew).DataTypeIre(dataTypeIre).DataTypeIsw(dataTypeIsw).DataTypeN(dataTypeN).DataTypeNic(dataTypeNic).DataTypeNie(dataTypeNie).DataTypeNiew(dataTypeNiew).DataTypeNire(dataTypeNire).DataTypeNisw(dataTypeNisw).DataTypeNre(dataTypeNre).DataTypeRe(dataTypeRe).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasMetadataTypesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -20413,21 +21467,9 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**contentTypes** | **[]int32** | |
- **contentTypesIc** | **[]int32** | |
- **contentTypesIe** | **[]int32** | |
- **contentTypesIew** | **[]int32** | |
- **contentTypesIre** | **[]int32** | |
- **contentTypesIsw** | **[]int32** | |
**contentTypesN** | **[]int32** | |
- **contentTypesNic** | **[]int32** | |
- **contentTypesNie** | **[]int32** | |
- **contentTypesNiew** | **[]int32** | |
- **contentTypesNire** | **[]int32** | |
- **contentTypesNisw** | **[]int32** | |
- **contentTypesNre** | **[]int32** | |
- **contentTypesRe** | **[]int32** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -20441,7 +21483,7 @@ Name | Type | Description | Notes
**dataTypeIew** | **[]string** | |
**dataTypeIre** | **[]string** | |
**dataTypeIsw** | **[]string** | |
- **dataTypeN** | **[]string** | The type of data allowed for any Metadata of this type. |
+ **dataTypeN** | **[]string** | |
**dataTypeNic** | **[]string** | |
**dataTypeNie** | **[]string** | |
**dataTypeNiew** | **[]string** | |
@@ -20464,22 +21506,10 @@ Name | Type | Description | Notes
**descriptionNre** | **[]string** | |
**descriptionRe** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -20510,8 +21540,9 @@ Name | Type | Description | Notes
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -20607,7 +21638,7 @@ Name | Type | Description | Notes
## ExtrasMetadataTypesNotesList
-> PaginatedNoteList ExtrasMetadataTypesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList ExtrasMetadataTypesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -20631,10 +21662,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasMetadataTypesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasMetadataTypesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasMetadataTypesNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -20664,6 +21696,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -20759,7 +21792,7 @@ Name | Type | Description | Notes
## ExtrasMetadataTypesRetrieve
-> MetadataType ExtrasMetadataTypesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> MetadataType ExtrasMetadataTypesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -20781,10 +21814,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this metadata type.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasMetadataTypesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasMetadataTypesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasMetadataTypesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -20812,6 +21846,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -21247,7 +22282,7 @@ Name | Type | Description | Notes
## ExtrasNotesList
-> PaginatedNoteList ExtrasNotesList(ctx).AssignedObjectId(assignedObjectId).AssignedObjectIdIc(assignedObjectIdIc).AssignedObjectIdIe(assignedObjectIdIe).AssignedObjectIdIew(assignedObjectIdIew).AssignedObjectIdIre(assignedObjectIdIre).AssignedObjectIdIsw(assignedObjectIdIsw).AssignedObjectIdN(assignedObjectIdN).AssignedObjectIdNic(assignedObjectIdNic).AssignedObjectIdNie(assignedObjectIdNie).AssignedObjectIdNiew(assignedObjectIdNiew).AssignedObjectIdNire(assignedObjectIdNire).AssignedObjectIdNisw(assignedObjectIdNisw).AssignedObjectIdNre(assignedObjectIdNre).AssignedObjectIdRe(assignedObjectIdRe).AssignedObjectType(assignedObjectType).AssignedObjectTypeN(assignedObjectTypeN).AssignedObjectTypeId(assignedObjectTypeId).AssignedObjectTypeIdN(assignedObjectTypeIdN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Note(note).NoteIc(noteIc).NoteIe(noteIe).NoteIew(noteIew).NoteIre(noteIre).NoteIsw(noteIsw).NoteN(noteN).NoteNic(noteNic).NoteNie(noteNie).NoteNiew(noteNiew).NoteNire(noteNire).NoteNisw(noteNisw).NoteNre(noteNre).NoteRe(noteRe).Offset(offset).Q(q).Sort(sort).User(user).UserIsnull(userIsnull).UserN(userN).UserName(userName).UserNameIc(userNameIc).UserNameIe(userNameIe).UserNameIew(userNameIew).UserNameIre(userNameIre).UserNameIsw(userNameIsw).UserNameN(userNameN).UserNameNic(userNameNic).UserNameNie(userNameNie).UserNameNiew(userNameNiew).UserNameNire(userNameNire).UserNameNisw(userNameNisw).UserNameNre(userNameNre).UserNameRe(userNameRe).Depth(depth).Execute()
+> PaginatedNoteList ExtrasNotesList(ctx).AssignedObjectId(assignedObjectId).AssignedObjectIdN(assignedObjectIdN).AssignedObjectType(assignedObjectType).AssignedObjectTypeN(assignedObjectTypeN).AssignedObjectTypeId(assignedObjectTypeId).AssignedObjectTypeIdN(assignedObjectTypeIdN).Format(format).Id(id).IdN(idN).Limit(limit).Note(note).NoteIc(noteIc).NoteIe(noteIe).NoteIew(noteIew).NoteIre(noteIre).NoteIsw(noteIsw).NoteN(noteN).NoteNic(noteNic).NoteNie(noteNie).NoteNiew(noteNiew).NoteNire(noteNire).NoteNisw(noteNisw).NoteNre(noteNre).NoteRe(noteRe).Offset(offset).Q(q).Sort(sort).User(user).UserIsnull(userIsnull).UserN(userN).UserName(userName).UserNameIc(userNameIc).UserNameIe(userNameIe).UserNameIew(userNameIew).UserNameIre(userNameIre).UserNameIsw(userNameIsw).UserNameN(userNameN).UserNameNic(userNameNic).UserNameNie(userNameNie).UserNameNiew(userNameNiew).UserNameNire(userNameNire).UserNameNisw(userNameNisw).UserNameNre(userNameNre).UserNameRe(userNameRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -21267,38 +22302,14 @@ import (
func main() {
assignedObjectId := []string{"Inner_example"} // []string | (optional)
- assignedObjectIdIc := []string{"Inner_example"} // []string | (optional)
- assignedObjectIdIe := []string{"Inner_example"} // []string | (optional)
- assignedObjectIdIew := []string{"Inner_example"} // []string | (optional)
- assignedObjectIdIre := []string{"Inner_example"} // []string | (optional)
- assignedObjectIdIsw := []string{"Inner_example"} // []string | (optional)
assignedObjectIdN := []string{"Inner_example"} // []string | (optional)
- assignedObjectIdNic := []string{"Inner_example"} // []string | (optional)
- assignedObjectIdNie := []string{"Inner_example"} // []string | (optional)
- assignedObjectIdNiew := []string{"Inner_example"} // []string | (optional)
- assignedObjectIdNire := []string{"Inner_example"} // []string | (optional)
- assignedObjectIdNisw := []string{"Inner_example"} // []string | (optional)
- assignedObjectIdNre := []string{"Inner_example"} // []string | (optional)
- assignedObjectIdRe := []string{"Inner_example"} // []string | (optional)
assignedObjectType := "assignedObjectType_example" // string | (optional)
assignedObjectTypeN := "assignedObjectTypeN_example" // string | (optional)
assignedObjectTypeId := int32(56) // int32 | (optional)
assignedObjectTypeIdN := int32(56) // int32 | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
note := []string{"Inner_example"} // []string | (optional)
noteIc := []string{"Inner_example"} // []string | (optional)
@@ -21335,10 +22346,11 @@ func main() {
userNameNre := []string{"Inner_example"} // []string | (optional)
userNameRe := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasNotesList(context.Background()).AssignedObjectId(assignedObjectId).AssignedObjectIdIc(assignedObjectIdIc).AssignedObjectIdIe(assignedObjectIdIe).AssignedObjectIdIew(assignedObjectIdIew).AssignedObjectIdIre(assignedObjectIdIre).AssignedObjectIdIsw(assignedObjectIdIsw).AssignedObjectIdN(assignedObjectIdN).AssignedObjectIdNic(assignedObjectIdNic).AssignedObjectIdNie(assignedObjectIdNie).AssignedObjectIdNiew(assignedObjectIdNiew).AssignedObjectIdNire(assignedObjectIdNire).AssignedObjectIdNisw(assignedObjectIdNisw).AssignedObjectIdNre(assignedObjectIdNre).AssignedObjectIdRe(assignedObjectIdRe).AssignedObjectType(assignedObjectType).AssignedObjectTypeN(assignedObjectTypeN).AssignedObjectTypeId(assignedObjectTypeId).AssignedObjectTypeIdN(assignedObjectTypeIdN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Note(note).NoteIc(noteIc).NoteIe(noteIe).NoteIew(noteIew).NoteIre(noteIre).NoteIsw(noteIsw).NoteN(noteN).NoteNic(noteNic).NoteNie(noteNie).NoteNiew(noteNiew).NoteNire(noteNire).NoteNisw(noteNisw).NoteNre(noteNre).NoteRe(noteRe).Offset(offset).Q(q).Sort(sort).User(user).UserIsnull(userIsnull).UserN(userN).UserName(userName).UserNameIc(userNameIc).UserNameIe(userNameIe).UserNameIew(userNameIew).UserNameIre(userNameIre).UserNameIsw(userNameIsw).UserNameN(userNameN).UserNameNic(userNameNic).UserNameNie(userNameNie).UserNameNiew(userNameNiew).UserNameNire(userNameNire).UserNameNisw(userNameNisw).UserNameNre(userNameNre).UserNameRe(userNameRe).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasNotesList(context.Background()).AssignedObjectId(assignedObjectId).AssignedObjectIdN(assignedObjectIdN).AssignedObjectType(assignedObjectType).AssignedObjectTypeN(assignedObjectTypeN).AssignedObjectTypeId(assignedObjectTypeId).AssignedObjectTypeIdN(assignedObjectTypeIdN).Format(format).Id(id).IdN(idN).Limit(limit).Note(note).NoteIc(noteIc).NoteIe(noteIe).NoteIew(noteIew).NoteIre(noteIre).NoteIsw(noteIsw).NoteN(noteN).NoteNic(noteNic).NoteNie(noteNie).NoteNiew(noteNiew).NoteNire(noteNire).NoteNisw(noteNisw).NoteNre(noteNre).NoteRe(noteRe).Offset(offset).Q(q).Sort(sort).User(user).UserIsnull(userIsnull).UserN(userN).UserName(userName).UserNameIc(userNameIc).UserNameIe(userNameIe).UserNameIew(userNameIew).UserNameIre(userNameIre).UserNameIsw(userNameIsw).UserNameN(userNameN).UserNameNic(userNameNic).UserNameNie(userNameNie).UserNameNiew(userNameNiew).UserNameNire(userNameNire).UserNameNisw(userNameNisw).UserNameNre(userNameNre).UserNameRe(userNameRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -21360,38 +22372,14 @@ Other parameters are passed through a pointer to a apiExtrasNotesListRequest str
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**assignedObjectId** | **[]string** | |
- **assignedObjectIdIc** | **[]string** | |
- **assignedObjectIdIe** | **[]string** | |
- **assignedObjectIdIew** | **[]string** | |
- **assignedObjectIdIre** | **[]string** | |
- **assignedObjectIdIsw** | **[]string** | |
**assignedObjectIdN** | **[]string** | |
- **assignedObjectIdNic** | **[]string** | |
- **assignedObjectIdNie** | **[]string** | |
- **assignedObjectIdNiew** | **[]string** | |
- **assignedObjectIdNire** | **[]string** | |
- **assignedObjectIdNisw** | **[]string** | |
- **assignedObjectIdNre** | **[]string** | |
- **assignedObjectIdRe** | **[]string** | |
**assignedObjectType** | **string** | |
**assignedObjectTypeN** | **string** | |
**assignedObjectTypeId** | **int32** | |
**assignedObjectTypeIdN** | **int32** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**limit** | **int32** | Number of results to return per page. |
**note** | **[]string** | |
**noteIc** | **[]string** | |
@@ -21428,6 +22416,7 @@ Name | Type | Description | Notes
**userNameNre** | **[]string** | |
**userNameRe** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -21523,7 +22512,7 @@ Name | Type | Description | Notes
## ExtrasNotesRetrieve
-> Note ExtrasNotesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> Note ExtrasNotesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -21545,10 +22534,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this note.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasNotesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasNotesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasNotesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -21576,6 +22566,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -21671,7 +22662,7 @@ Name | Type | Description | Notes
## ExtrasObjectChangesList
-> PaginatedObjectChangeList ExtrasObjectChangesList(ctx).Action(action).ActionIc(actionIc).ActionIe(actionIe).ActionIew(actionIew).ActionIre(actionIre).ActionIsw(actionIsw).ActionN(actionN).ActionNic(actionNic).ActionNie(actionNie).ActionNiew(actionNiew).ActionNire(actionNire).ActionNisw(actionNisw).ActionNre(actionNre).ActionRe(actionRe).ChangedObjectId(changedObjectId).ChangedObjectIdIc(changedObjectIdIc).ChangedObjectIdIe(changedObjectIdIe).ChangedObjectIdIew(changedObjectIdIew).ChangedObjectIdIre(changedObjectIdIre).ChangedObjectIdIsw(changedObjectIdIsw).ChangedObjectIdN(changedObjectIdN).ChangedObjectIdNic(changedObjectIdNic).ChangedObjectIdNie(changedObjectIdNie).ChangedObjectIdNiew(changedObjectIdNiew).ChangedObjectIdNire(changedObjectIdNire).ChangedObjectIdNisw(changedObjectIdNisw).ChangedObjectIdNre(changedObjectIdNre).ChangedObjectIdRe(changedObjectIdRe).ChangedObjectType(changedObjectType).ChangedObjectTypeIsnull(changedObjectTypeIsnull).ChangedObjectTypeN(changedObjectTypeN).ChangedObjectTypeId(changedObjectTypeId).ChangedObjectTypeIdIsnull(changedObjectTypeIdIsnull).ChangedObjectTypeIdN(changedObjectTypeIdN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).ObjectRepr(objectRepr).ObjectReprIc(objectReprIc).ObjectReprIe(objectReprIe).ObjectReprIew(objectReprIew).ObjectReprIre(objectReprIre).ObjectReprIsw(objectReprIsw).ObjectReprN(objectReprN).ObjectReprNic(objectReprNic).ObjectReprNie(objectReprNie).ObjectReprNiew(objectReprNiew).ObjectReprNire(objectReprNire).ObjectReprNisw(objectReprNisw).ObjectReprNre(objectReprNre).ObjectReprRe(objectReprRe).Offset(offset).Q(q).RequestId(requestId).RequestIdIc(requestIdIc).RequestIdIe(requestIdIe).RequestIdIew(requestIdIew).RequestIdIre(requestIdIre).RequestIdIsw(requestIdIsw).RequestIdN(requestIdN).RequestIdNic(requestIdNic).RequestIdNie(requestIdNie).RequestIdNiew(requestIdNiew).RequestIdNire(requestIdNire).RequestIdNisw(requestIdNisw).RequestIdNre(requestIdNre).RequestIdRe(requestIdRe).Sort(sort).Time(time).TimeGt(timeGt).TimeGte(timeGte).TimeLt(timeLt).TimeLte(timeLte).TimeN(timeN).User(user).UserIsnull(userIsnull).UserN(userN).UserId(userId).UserIdIsnull(userIdIsnull).UserIdN(userIdN).UserName(userName).UserNameIc(userNameIc).UserNameIe(userNameIe).UserNameIew(userNameIew).UserNameIre(userNameIre).UserNameIsw(userNameIsw).UserNameN(userNameN).UserNameNic(userNameNic).UserNameNie(userNameNie).UserNameNiew(userNameNiew).UserNameNire(userNameNire).UserNameNisw(userNameNisw).UserNameNre(userNameNre).UserNameRe(userNameRe).Depth(depth).Execute()
+> PaginatedObjectChangeList ExtrasObjectChangesList(ctx).Action(action).ActionIc(actionIc).ActionIe(actionIe).ActionIew(actionIew).ActionIre(actionIre).ActionIsw(actionIsw).ActionN(actionN).ActionNic(actionNic).ActionNie(actionNie).ActionNiew(actionNiew).ActionNire(actionNire).ActionNisw(actionNisw).ActionNre(actionNre).ActionRe(actionRe).ChangedObjectId(changedObjectId).ChangedObjectIdN(changedObjectIdN).ChangedObjectType(changedObjectType).ChangedObjectTypeIsnull(changedObjectTypeIsnull).ChangedObjectTypeN(changedObjectTypeN).ChangedObjectTypeId(changedObjectTypeId).ChangedObjectTypeIdIsnull(changedObjectTypeIdIsnull).ChangedObjectTypeIdN(changedObjectTypeIdN).Format(format).Id(id).IdN(idN).Limit(limit).ObjectRepr(objectRepr).ObjectReprIc(objectReprIc).ObjectReprIe(objectReprIe).ObjectReprIew(objectReprIew).ObjectReprIre(objectReprIre).ObjectReprIsw(objectReprIsw).ObjectReprN(objectReprN).ObjectReprNic(objectReprNic).ObjectReprNie(objectReprNie).ObjectReprNiew(objectReprNiew).ObjectReprNire(objectReprNire).ObjectReprNisw(objectReprNisw).ObjectReprNre(objectReprNre).ObjectReprRe(objectReprRe).Offset(offset).Q(q).RequestId(requestId).RequestIdN(requestIdN).Sort(sort).Time(time).TimeGt(timeGt).TimeGte(timeGte).TimeLt(timeLt).TimeLte(timeLte).TimeN(timeN).User(user).UserIsnull(userIsnull).UserN(userN).UserId(userId).UserIdIsnull(userIdIsnull).UserIdN(userIdN).UserName(userName).UserNameIc(userNameIc).UserNameIe(userNameIe).UserNameIew(userNameIew).UserNameIre(userNameIre).UserNameIsw(userNameIsw).UserNameN(userNameN).UserNameNic(userNameNic).UserNameNie(userNameNie).UserNameNiew(userNameNiew).UserNameNire(userNameNire).UserNameNisw(userNameNisw).UserNameNre(userNameNre).UserNameRe(userNameRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -21706,19 +22697,7 @@ func main() {
actionNre := []string{"Inner_example"} // []string | (optional)
actionRe := []string{"Inner_example"} // []string | (optional)
changedObjectId := []string{"Inner_example"} // []string | (optional)
- changedObjectIdIc := []string{"Inner_example"} // []string | (optional)
- changedObjectIdIe := []string{"Inner_example"} // []string | (optional)
- changedObjectIdIew := []string{"Inner_example"} // []string | (optional)
- changedObjectIdIre := []string{"Inner_example"} // []string | (optional)
- changedObjectIdIsw := []string{"Inner_example"} // []string | (optional)
changedObjectIdN := []string{"Inner_example"} // []string | (optional)
- changedObjectIdNic := []string{"Inner_example"} // []string | (optional)
- changedObjectIdNie := []string{"Inner_example"} // []string | (optional)
- changedObjectIdNiew := []string{"Inner_example"} // []string | (optional)
- changedObjectIdNire := []string{"Inner_example"} // []string | (optional)
- changedObjectIdNisw := []string{"Inner_example"} // []string | (optional)
- changedObjectIdNre := []string{"Inner_example"} // []string | (optional)
- changedObjectIdRe := []string{"Inner_example"} // []string | (optional)
changedObjectType := "changedObjectType_example" // string | (optional)
changedObjectTypeIsnull := true // bool | (optional)
changedObjectTypeN := "changedObjectTypeN_example" // string | (optional)
@@ -21727,19 +22706,7 @@ func main() {
changedObjectTypeIdN := int32(56) // int32 | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
objectRepr := []string{"Inner_example"} // []string | (optional)
objectReprIc := []string{"Inner_example"} // []string | (optional)
@@ -21758,19 +22725,7 @@ func main() {
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
q := "q_example" // string | Search (optional)
requestId := []string{"Inner_example"} // []string | (optional)
- requestIdIc := []string{"Inner_example"} // []string | (optional)
- requestIdIe := []string{"Inner_example"} // []string | (optional)
- requestIdIew := []string{"Inner_example"} // []string | (optional)
- requestIdIre := []string{"Inner_example"} // []string | (optional)
- requestIdIsw := []string{"Inner_example"} // []string | (optional)
requestIdN := []string{"Inner_example"} // []string | (optional)
- requestIdNic := []string{"Inner_example"} // []string | (optional)
- requestIdNie := []string{"Inner_example"} // []string | (optional)
- requestIdNiew := []string{"Inner_example"} // []string | (optional)
- requestIdNire := []string{"Inner_example"} // []string | (optional)
- requestIdNisw := []string{"Inner_example"} // []string | (optional)
- requestIdNre := []string{"Inner_example"} // []string | (optional)
- requestIdRe := []string{"Inner_example"} // []string | (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
time := []time.Time{time.Now()} // []time.Time | (optional)
timeGt := []time.Time{time.Now()} // []time.Time | (optional)
@@ -21799,10 +22754,11 @@ func main() {
userNameNre := []string{"Inner_example"} // []string | (optional)
userNameRe := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasObjectChangesList(context.Background()).Action(action).ActionIc(actionIc).ActionIe(actionIe).ActionIew(actionIew).ActionIre(actionIre).ActionIsw(actionIsw).ActionN(actionN).ActionNic(actionNic).ActionNie(actionNie).ActionNiew(actionNiew).ActionNire(actionNire).ActionNisw(actionNisw).ActionNre(actionNre).ActionRe(actionRe).ChangedObjectId(changedObjectId).ChangedObjectIdIc(changedObjectIdIc).ChangedObjectIdIe(changedObjectIdIe).ChangedObjectIdIew(changedObjectIdIew).ChangedObjectIdIre(changedObjectIdIre).ChangedObjectIdIsw(changedObjectIdIsw).ChangedObjectIdN(changedObjectIdN).ChangedObjectIdNic(changedObjectIdNic).ChangedObjectIdNie(changedObjectIdNie).ChangedObjectIdNiew(changedObjectIdNiew).ChangedObjectIdNire(changedObjectIdNire).ChangedObjectIdNisw(changedObjectIdNisw).ChangedObjectIdNre(changedObjectIdNre).ChangedObjectIdRe(changedObjectIdRe).ChangedObjectType(changedObjectType).ChangedObjectTypeIsnull(changedObjectTypeIsnull).ChangedObjectTypeN(changedObjectTypeN).ChangedObjectTypeId(changedObjectTypeId).ChangedObjectTypeIdIsnull(changedObjectTypeIdIsnull).ChangedObjectTypeIdN(changedObjectTypeIdN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).ObjectRepr(objectRepr).ObjectReprIc(objectReprIc).ObjectReprIe(objectReprIe).ObjectReprIew(objectReprIew).ObjectReprIre(objectReprIre).ObjectReprIsw(objectReprIsw).ObjectReprN(objectReprN).ObjectReprNic(objectReprNic).ObjectReprNie(objectReprNie).ObjectReprNiew(objectReprNiew).ObjectReprNire(objectReprNire).ObjectReprNisw(objectReprNisw).ObjectReprNre(objectReprNre).ObjectReprRe(objectReprRe).Offset(offset).Q(q).RequestId(requestId).RequestIdIc(requestIdIc).RequestIdIe(requestIdIe).RequestIdIew(requestIdIew).RequestIdIre(requestIdIre).RequestIdIsw(requestIdIsw).RequestIdN(requestIdN).RequestIdNic(requestIdNic).RequestIdNie(requestIdNie).RequestIdNiew(requestIdNiew).RequestIdNire(requestIdNire).RequestIdNisw(requestIdNisw).RequestIdNre(requestIdNre).RequestIdRe(requestIdRe).Sort(sort).Time(time).TimeGt(timeGt).TimeGte(timeGte).TimeLt(timeLt).TimeLte(timeLte).TimeN(timeN).User(user).UserIsnull(userIsnull).UserN(userN).UserId(userId).UserIdIsnull(userIdIsnull).UserIdN(userIdN).UserName(userName).UserNameIc(userNameIc).UserNameIe(userNameIe).UserNameIew(userNameIew).UserNameIre(userNameIre).UserNameIsw(userNameIsw).UserNameN(userNameN).UserNameNic(userNameNic).UserNameNie(userNameNie).UserNameNiew(userNameNiew).UserNameNire(userNameNire).UserNameNisw(userNameNisw).UserNameNre(userNameNre).UserNameRe(userNameRe).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasObjectChangesList(context.Background()).Action(action).ActionIc(actionIc).ActionIe(actionIe).ActionIew(actionIew).ActionIre(actionIre).ActionIsw(actionIsw).ActionN(actionN).ActionNic(actionNic).ActionNie(actionNie).ActionNiew(actionNiew).ActionNire(actionNire).ActionNisw(actionNisw).ActionNre(actionNre).ActionRe(actionRe).ChangedObjectId(changedObjectId).ChangedObjectIdN(changedObjectIdN).ChangedObjectType(changedObjectType).ChangedObjectTypeIsnull(changedObjectTypeIsnull).ChangedObjectTypeN(changedObjectTypeN).ChangedObjectTypeId(changedObjectTypeId).ChangedObjectTypeIdIsnull(changedObjectTypeIdIsnull).ChangedObjectTypeIdN(changedObjectTypeIdN).Format(format).Id(id).IdN(idN).Limit(limit).ObjectRepr(objectRepr).ObjectReprIc(objectReprIc).ObjectReprIe(objectReprIe).ObjectReprIew(objectReprIew).ObjectReprIre(objectReprIre).ObjectReprIsw(objectReprIsw).ObjectReprN(objectReprN).ObjectReprNic(objectReprNic).ObjectReprNie(objectReprNie).ObjectReprNiew(objectReprNiew).ObjectReprNire(objectReprNire).ObjectReprNisw(objectReprNisw).ObjectReprNre(objectReprNre).ObjectReprRe(objectReprRe).Offset(offset).Q(q).RequestId(requestId).RequestIdN(requestIdN).Sort(sort).Time(time).TimeGt(timeGt).TimeGte(timeGte).TimeLt(timeLt).TimeLte(timeLte).TimeN(timeN).User(user).UserIsnull(userIsnull).UserN(userN).UserId(userId).UserIdIsnull(userIdIsnull).UserIdN(userIdN).UserName(userName).UserNameIc(userNameIc).UserNameIe(userNameIe).UserNameIew(userNameIew).UserNameIre(userNameIre).UserNameIsw(userNameIsw).UserNameN(userNameN).UserNameNic(userNameNic).UserNameNie(userNameNie).UserNameNiew(userNameNiew).UserNameNire(userNameNire).UserNameNisw(userNameNisw).UserNameNre(userNameNre).UserNameRe(userNameRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasObjectChangesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -21838,19 +22794,7 @@ Name | Type | Description | Notes
**actionNre** | **[]string** | |
**actionRe** | **[]string** | |
**changedObjectId** | **[]string** | |
- **changedObjectIdIc** | **[]string** | |
- **changedObjectIdIe** | **[]string** | |
- **changedObjectIdIew** | **[]string** | |
- **changedObjectIdIre** | **[]string** | |
- **changedObjectIdIsw** | **[]string** | |
**changedObjectIdN** | **[]string** | |
- **changedObjectIdNic** | **[]string** | |
- **changedObjectIdNie** | **[]string** | |
- **changedObjectIdNiew** | **[]string** | |
- **changedObjectIdNire** | **[]string** | |
- **changedObjectIdNisw** | **[]string** | |
- **changedObjectIdNre** | **[]string** | |
- **changedObjectIdRe** | **[]string** | |
**changedObjectType** | **string** | |
**changedObjectTypeIsnull** | **bool** | |
**changedObjectTypeN** | **string** | |
@@ -21859,19 +22803,7 @@ Name | Type | Description | Notes
**changedObjectTypeIdN** | **int32** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**limit** | **int32** | Number of results to return per page. |
**objectRepr** | **[]string** | |
**objectReprIc** | **[]string** | |
@@ -21890,19 +22822,7 @@ Name | Type | Description | Notes
**offset** | **int32** | The initial index from which to return the results. |
**q** | **string** | Search |
**requestId** | **[]string** | |
- **requestIdIc** | **[]string** | |
- **requestIdIe** | **[]string** | |
- **requestIdIew** | **[]string** | |
- **requestIdIre** | **[]string** | |
- **requestIdIsw** | **[]string** | |
**requestIdN** | **[]string** | |
- **requestIdNic** | **[]string** | |
- **requestIdNie** | **[]string** | |
- **requestIdNiew** | **[]string** | |
- **requestIdNire** | **[]string** | |
- **requestIdNisw** | **[]string** | |
- **requestIdNre** | **[]string** | |
- **requestIdRe** | **[]string** | |
**sort** | **string** | Which field to use when ordering the results. |
**time** | [**[]time.Time**](time.Time.md) | |
**timeGt** | [**[]time.Time**](time.Time.md) | |
@@ -21931,6 +22851,7 @@ Name | Type | Description | Notes
**userNameNre** | **[]string** | |
**userNameRe** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -21952,7 +22873,7 @@ Name | Type | Description | Notes
## ExtrasObjectChangesRetrieve
-> ObjectChange ExtrasObjectChangesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> ObjectChange ExtrasObjectChangesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -21974,10 +22895,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this object change.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasObjectChangesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasObjectChangesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasObjectChangesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -22005,6 +22927,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -22366,7 +23289,7 @@ Name | Type | Description | Notes
## ExtrasObjectMetadataList
-> PaginatedObjectMetadataList ExtrasObjectMetadataList(ctx).AssignedObjectId(assignedObjectId).AssignedObjectIdIc(assignedObjectIdIc).AssignedObjectIdIe(assignedObjectIdIe).AssignedObjectIdIew(assignedObjectIdIew).AssignedObjectIdIre(assignedObjectIdIre).AssignedObjectIdIsw(assignedObjectIdIsw).AssignedObjectIdN(assignedObjectIdN).AssignedObjectIdNic(assignedObjectIdNic).AssignedObjectIdNie(assignedObjectIdNie).AssignedObjectIdNiew(assignedObjectIdNiew).AssignedObjectIdNire(assignedObjectIdNire).AssignedObjectIdNisw(assignedObjectIdNisw).AssignedObjectIdNre(assignedObjectIdNre).AssignedObjectIdRe(assignedObjectIdRe).AssignedObjectType(assignedObjectType).AssignedObjectTypeIsnull(assignedObjectTypeIsnull).AssignedObjectTypeN(assignedObjectTypeN).Contact(contact).ContactIsnull(contactIsnull).ContactN(contactN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MetadataType(metadataType).MetadataTypeN(metadataTypeN).Offset(offset).Q(q).ScopedFields(scopedFields).Sort(sort).Team(team).TeamIsnull(teamIsnull).TeamN(teamN).Value(value).Depth(depth).Execute()
+> PaginatedObjectMetadataList ExtrasObjectMetadataList(ctx).AssignedObjectId(assignedObjectId).AssignedObjectIdN(assignedObjectIdN).AssignedObjectType(assignedObjectType).AssignedObjectTypeIsnull(assignedObjectTypeIsnull).AssignedObjectTypeN(assignedObjectTypeN).Contact(contact).ContactIsnull(contactIsnull).ContactN(contactN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MetadataType(metadataType).MetadataTypeN(metadataTypeN).Offset(offset).Q(q).ScopedFields(scopedFields).Sort(sort).Team(team).TeamIsnull(teamIsnull).TeamN(teamN).Value(value).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -22387,19 +23310,7 @@ import (
func main() {
assignedObjectId := []string{"Inner_example"} // []string | (optional)
- assignedObjectIdIc := []string{"Inner_example"} // []string | (optional)
- assignedObjectIdIe := []string{"Inner_example"} // []string | (optional)
- assignedObjectIdIew := []string{"Inner_example"} // []string | (optional)
- assignedObjectIdIre := []string{"Inner_example"} // []string | (optional)
- assignedObjectIdIsw := []string{"Inner_example"} // []string | (optional)
assignedObjectIdN := []string{"Inner_example"} // []string | (optional)
- assignedObjectIdNic := []string{"Inner_example"} // []string | (optional)
- assignedObjectIdNie := []string{"Inner_example"} // []string | (optional)
- assignedObjectIdNiew := []string{"Inner_example"} // []string | (optional)
- assignedObjectIdNire := []string{"Inner_example"} // []string | (optional)
- assignedObjectIdNisw := []string{"Inner_example"} // []string | (optional)
- assignedObjectIdNre := []string{"Inner_example"} // []string | (optional)
- assignedObjectIdRe := []string{"Inner_example"} // []string | (optional)
assignedObjectType := []int32{int32(123)} // []int32 | (optional)
assignedObjectTypeIsnull := true // bool | (optional)
assignedObjectTypeN := []int32{int32(123)} // []int32 | (optional)
@@ -22415,19 +23326,7 @@ func main() {
createdN := []time.Time{time.Now()} // []time.Time | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -22447,10 +23346,11 @@ func main() {
teamN := []string{"Inner_example"} // []string | (optional)
value := TODO // interface{} | Relevant data value to an object field or a set of object fields (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasObjectMetadataList(context.Background()).AssignedObjectId(assignedObjectId).AssignedObjectIdIc(assignedObjectIdIc).AssignedObjectIdIe(assignedObjectIdIe).AssignedObjectIdIew(assignedObjectIdIew).AssignedObjectIdIre(assignedObjectIdIre).AssignedObjectIdIsw(assignedObjectIdIsw).AssignedObjectIdN(assignedObjectIdN).AssignedObjectIdNic(assignedObjectIdNic).AssignedObjectIdNie(assignedObjectIdNie).AssignedObjectIdNiew(assignedObjectIdNiew).AssignedObjectIdNire(assignedObjectIdNire).AssignedObjectIdNisw(assignedObjectIdNisw).AssignedObjectIdNre(assignedObjectIdNre).AssignedObjectIdRe(assignedObjectIdRe).AssignedObjectType(assignedObjectType).AssignedObjectTypeIsnull(assignedObjectTypeIsnull).AssignedObjectTypeN(assignedObjectTypeN).Contact(contact).ContactIsnull(contactIsnull).ContactN(contactN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MetadataType(metadataType).MetadataTypeN(metadataTypeN).Offset(offset).Q(q).ScopedFields(scopedFields).Sort(sort).Team(team).TeamIsnull(teamIsnull).TeamN(teamN).Value(value).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasObjectMetadataList(context.Background()).AssignedObjectId(assignedObjectId).AssignedObjectIdN(assignedObjectIdN).AssignedObjectType(assignedObjectType).AssignedObjectTypeIsnull(assignedObjectTypeIsnull).AssignedObjectTypeN(assignedObjectTypeN).Contact(contact).ContactIsnull(contactIsnull).ContactN(contactN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MetadataType(metadataType).MetadataTypeN(metadataTypeN).Offset(offset).Q(q).ScopedFields(scopedFields).Sort(sort).Team(team).TeamIsnull(teamIsnull).TeamN(teamN).Value(value).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasObjectMetadataList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -22472,19 +23372,7 @@ Other parameters are passed through a pointer to a apiExtrasObjectMetadataListRe
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**assignedObjectId** | **[]string** | |
- **assignedObjectIdIc** | **[]string** | |
- **assignedObjectIdIe** | **[]string** | |
- **assignedObjectIdIew** | **[]string** | |
- **assignedObjectIdIre** | **[]string** | |
- **assignedObjectIdIsw** | **[]string** | |
**assignedObjectIdN** | **[]string** | |
- **assignedObjectIdNic** | **[]string** | |
- **assignedObjectIdNie** | **[]string** | |
- **assignedObjectIdNiew** | **[]string** | |
- **assignedObjectIdNire** | **[]string** | |
- **assignedObjectIdNisw** | **[]string** | |
- **assignedObjectIdNre** | **[]string** | |
- **assignedObjectIdRe** | **[]string** | |
**assignedObjectType** | **[]int32** | |
**assignedObjectTypeIsnull** | **bool** | |
**assignedObjectTypeN** | **[]int32** | |
@@ -22500,19 +23388,7 @@ Name | Type | Description | Notes
**createdN** | [**[]time.Time**](time.Time.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -22532,6 +23408,7 @@ Name | Type | Description | Notes
**teamN** | **[]string** | |
**value** | [**interface{}**](interface{}.md) | Relevant data value to an object field or a set of object fields |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -22551,158 +23428,6 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## ExtrasObjectMetadataNotesCreate
-
-> Note ExtrasObjectMetadataNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this object metadata.
- noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasObjectMetadataNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasObjectMetadataNotesCreate``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `ExtrasObjectMetadataNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasObjectMetadataNotesCreate`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this object metadata. |
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiExtrasObjectMetadataNotesCreateRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-
- **noteInputRequest** | [**NoteInputRequest**](NoteInputRequest.md) | |
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
-
-### Return type
-
-[**Note**](Note.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: application/json, text/csv
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## ExtrasObjectMetadataNotesList
-
-> PaginatedNoteList ExtrasObjectMetadataNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this object metadata.
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- limit := int32(56) // int32 | Number of results to return per page. (optional)
- offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasObjectMetadataNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasObjectMetadataNotesList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `ExtrasObjectMetadataNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `ExtrasAPI.ExtrasObjectMetadataNotesList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this object metadata. |
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiExtrasObjectMetadataNotesListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **limit** | **int32** | Number of results to return per page. |
- **offset** | **int32** | The initial index from which to return the results. |
- **depth** | **int32** | Serializer Depth | [default to 1]
-
-### Return type
-
-[**PaginatedNoteList**](PaginatedNoteList.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
## ExtrasObjectMetadataPartialUpdate
> ObjectMetadata ExtrasObjectMetadataPartialUpdate(ctx, id).Format(format).PatchedObjectMetadataRequest(patchedObjectMetadataRequest).Execute()
@@ -22779,7 +23504,7 @@ Name | Type | Description | Notes
## ExtrasObjectMetadataRetrieve
-> ObjectMetadata ExtrasObjectMetadataRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> ObjectMetadata ExtrasObjectMetadataRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -22801,10 +23526,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this object metadata.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasObjectMetadataRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasObjectMetadataRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasObjectMetadataRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -22832,6 +23558,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -23267,7 +23994,7 @@ Name | Type | Description | Notes
## ExtrasRelationshipAssociationsList
-> PaginatedRelationshipAssociationList ExtrasRelationshipAssociationsList(ctx).DestinationId(destinationId).DestinationIdIc(destinationIdIc).DestinationIdIe(destinationIdIe).DestinationIdIew(destinationIdIew).DestinationIdIre(destinationIdIre).DestinationIdIsw(destinationIdIsw).DestinationIdN(destinationIdN).DestinationIdNic(destinationIdNic).DestinationIdNie(destinationIdNie).DestinationIdNiew(destinationIdNiew).DestinationIdNire(destinationIdNire).DestinationIdNisw(destinationIdNisw).DestinationIdNre(destinationIdNre).DestinationIdRe(destinationIdRe).DestinationType(destinationType).DestinationTypeN(destinationTypeN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Offset(offset).PeerId(peerId).Q(q).Relationship(relationship).RelationshipN(relationshipN).Sort(sort).SourceId(sourceId).SourceIdIc(sourceIdIc).SourceIdIe(sourceIdIe).SourceIdIew(sourceIdIew).SourceIdIre(sourceIdIre).SourceIdIsw(sourceIdIsw).SourceIdN(sourceIdN).SourceIdNic(sourceIdNic).SourceIdNie(sourceIdNie).SourceIdNiew(sourceIdNiew).SourceIdNire(sourceIdNire).SourceIdNisw(sourceIdNisw).SourceIdNre(sourceIdNre).SourceIdRe(sourceIdRe).SourceType(sourceType).SourceTypeN(sourceTypeN).Depth(depth).Execute()
+> PaginatedRelationshipAssociationList ExtrasRelationshipAssociationsList(ctx).DestinationId(destinationId).DestinationIdN(destinationIdN).DestinationType(destinationType).DestinationTypeN(destinationTypeN).Format(format).Id(id).IdN(idN).Limit(limit).Offset(offset).PeerId(peerId).Q(q).Relationship(relationship).RelationshipN(relationshipN).Sort(sort).SourceId(sourceId).SourceIdN(sourceIdN).SourceType(sourceType).SourceTypeN(sourceTypeN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -23287,36 +24014,12 @@ import (
func main() {
destinationId := []string{"Inner_example"} // []string | (optional)
- destinationIdIc := []string{"Inner_example"} // []string | (optional)
- destinationIdIe := []string{"Inner_example"} // []string | (optional)
- destinationIdIew := []string{"Inner_example"} // []string | (optional)
- destinationIdIre := []string{"Inner_example"} // []string | (optional)
- destinationIdIsw := []string{"Inner_example"} // []string | (optional)
destinationIdN := []string{"Inner_example"} // []string | (optional)
- destinationIdNic := []string{"Inner_example"} // []string | (optional)
- destinationIdNie := []string{"Inner_example"} // []string | (optional)
- destinationIdNiew := []string{"Inner_example"} // []string | (optional)
- destinationIdNire := []string{"Inner_example"} // []string | (optional)
- destinationIdNisw := []string{"Inner_example"} // []string | (optional)
- destinationIdNre := []string{"Inner_example"} // []string | (optional)
- destinationIdRe := []string{"Inner_example"} // []string | (optional)
destinationType := []int32{int32(123)} // []int32 | (optional)
destinationTypeN := []int32{int32(123)} // []int32 | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
peerId := []string{"Inner_example"} // []string | (optional)
@@ -23325,26 +24028,15 @@ func main() {
relationshipN := []string{"Inner_example"} // []string | Exclude Relationship (key) (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
sourceId := []string{"Inner_example"} // []string | (optional)
- sourceIdIc := []string{"Inner_example"} // []string | (optional)
- sourceIdIe := []string{"Inner_example"} // []string | (optional)
- sourceIdIew := []string{"Inner_example"} // []string | (optional)
- sourceIdIre := []string{"Inner_example"} // []string | (optional)
- sourceIdIsw := []string{"Inner_example"} // []string | (optional)
sourceIdN := []string{"Inner_example"} // []string | (optional)
- sourceIdNic := []string{"Inner_example"} // []string | (optional)
- sourceIdNie := []string{"Inner_example"} // []string | (optional)
- sourceIdNiew := []string{"Inner_example"} // []string | (optional)
- sourceIdNire := []string{"Inner_example"} // []string | (optional)
- sourceIdNisw := []string{"Inner_example"} // []string | (optional)
- sourceIdNre := []string{"Inner_example"} // []string | (optional)
- sourceIdRe := []string{"Inner_example"} // []string | (optional)
sourceType := []int32{int32(123)} // []int32 | (optional)
sourceTypeN := []int32{int32(123)} // []int32 | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasRelationshipAssociationsList(context.Background()).DestinationId(destinationId).DestinationIdIc(destinationIdIc).DestinationIdIe(destinationIdIe).DestinationIdIew(destinationIdIew).DestinationIdIre(destinationIdIre).DestinationIdIsw(destinationIdIsw).DestinationIdN(destinationIdN).DestinationIdNic(destinationIdNic).DestinationIdNie(destinationIdNie).DestinationIdNiew(destinationIdNiew).DestinationIdNire(destinationIdNire).DestinationIdNisw(destinationIdNisw).DestinationIdNre(destinationIdNre).DestinationIdRe(destinationIdRe).DestinationType(destinationType).DestinationTypeN(destinationTypeN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Offset(offset).PeerId(peerId).Q(q).Relationship(relationship).RelationshipN(relationshipN).Sort(sort).SourceId(sourceId).SourceIdIc(sourceIdIc).SourceIdIe(sourceIdIe).SourceIdIew(sourceIdIew).SourceIdIre(sourceIdIre).SourceIdIsw(sourceIdIsw).SourceIdN(sourceIdN).SourceIdNic(sourceIdNic).SourceIdNie(sourceIdNie).SourceIdNiew(sourceIdNiew).SourceIdNire(sourceIdNire).SourceIdNisw(sourceIdNisw).SourceIdNre(sourceIdNre).SourceIdRe(sourceIdRe).SourceType(sourceType).SourceTypeN(sourceTypeN).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasRelationshipAssociationsList(context.Background()).DestinationId(destinationId).DestinationIdN(destinationIdN).DestinationType(destinationType).DestinationTypeN(destinationTypeN).Format(format).Id(id).IdN(idN).Limit(limit).Offset(offset).PeerId(peerId).Q(q).Relationship(relationship).RelationshipN(relationshipN).Sort(sort).SourceId(sourceId).SourceIdN(sourceIdN).SourceType(sourceType).SourceTypeN(sourceTypeN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasRelationshipAssociationsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -23366,36 +24058,12 @@ Other parameters are passed through a pointer to a apiExtrasRelationshipAssociat
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**destinationId** | **[]string** | |
- **destinationIdIc** | **[]string** | |
- **destinationIdIe** | **[]string** | |
- **destinationIdIew** | **[]string** | |
- **destinationIdIre** | **[]string** | |
- **destinationIdIsw** | **[]string** | |
**destinationIdN** | **[]string** | |
- **destinationIdNic** | **[]string** | |
- **destinationIdNie** | **[]string** | |
- **destinationIdNiew** | **[]string** | |
- **destinationIdNire** | **[]string** | |
- **destinationIdNisw** | **[]string** | |
- **destinationIdNre** | **[]string** | |
- **destinationIdRe** | **[]string** | |
**destinationType** | **[]int32** | |
**destinationTypeN** | **[]int32** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**peerId** | **[]string** | |
@@ -23404,22 +24072,11 @@ Name | Type | Description | Notes
**relationshipN** | **[]string** | Exclude Relationship (key) |
**sort** | **string** | Which field to use when ordering the results. |
**sourceId** | **[]string** | |
- **sourceIdIc** | **[]string** | |
- **sourceIdIe** | **[]string** | |
- **sourceIdIew** | **[]string** | |
- **sourceIdIre** | **[]string** | |
- **sourceIdIsw** | **[]string** | |
**sourceIdN** | **[]string** | |
- **sourceIdNic** | **[]string** | |
- **sourceIdNie** | **[]string** | |
- **sourceIdNiew** | **[]string** | |
- **sourceIdNire** | **[]string** | |
- **sourceIdNisw** | **[]string** | |
- **sourceIdNre** | **[]string** | |
- **sourceIdRe** | **[]string** | |
**sourceType** | **[]int32** | |
**sourceTypeN** | **[]int32** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -23515,7 +24172,7 @@ Name | Type | Description | Notes
## ExtrasRelationshipAssociationsRetrieve
-> RelationshipAssociation ExtrasRelationshipAssociationsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> RelationshipAssociation ExtrasRelationshipAssociationsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -23537,10 +24194,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this relationship association.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasRelationshipAssociationsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasRelationshipAssociationsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasRelationshipAssociationsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -23568,6 +24226,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -24003,7 +24662,7 @@ Name | Type | Description | Notes
## ExtrasRelationshipsList
-> PaginatedRelationshipList ExtrasRelationshipsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).DestinationType(destinationType).DestinationTypeN(destinationTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Key(key).KeyIc(keyIc).KeyIe(keyIe).KeyIew(keyIew).KeyIre(keyIre).KeyIsw(keyIsw).KeyN(keyN).KeyNic(keyNic).KeyNie(keyNie).KeyNiew(keyNiew).KeyNire(keyNire).KeyNisw(keyNisw).KeyNre(keyNre).KeyRe(keyRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Offset(offset).Q(q).Sort(sort).SourceType(sourceType).SourceTypeN(sourceTypeN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).Execute()
+> PaginatedRelationshipList ExtrasRelationshipsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).DestinationType(destinationType).DestinationTypeN(destinationTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).Key(key).KeyIc(keyIc).KeyIe(keyIe).KeyIew(keyIew).KeyIre(keyIre).KeyIsw(keyIsw).KeyN(keyN).KeyNic(keyNic).KeyNie(keyNie).KeyNiew(keyNiew).KeyNire(keyNire).KeyNisw(keyNisw).KeyNre(keyNre).KeyRe(keyRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Offset(offset).Q(q).Sort(sort).SourceType(sourceType).SourceTypeN(sourceTypeN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -24024,26 +24683,14 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
destinationType := []int32{int32(123)} // []int32 | (optional)
destinationTypeN := []int32{int32(123)} // []int32 | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
key := []string{"Inner_example"} // []string | (optional)
keyIc := []string{"Inner_example"} // []string | (optional)
keyIe := []string{"Inner_example"} // []string | (optional)
@@ -24080,14 +24727,14 @@ func main() {
sourceTypeN := []int32{int32(123)} // []int32 | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
type_ := []string{"Inner_example"} // []string | Cardinality of this relationship (optional)
typeIc := []string{"Inner_example"} // []string | (optional)
typeIe := []string{"Inner_example"} // []string | (optional)
typeIew := []string{"Inner_example"} // []string | (optional)
typeIre := []string{"Inner_example"} // []string | (optional)
typeIsw := []string{"Inner_example"} // []string | (optional)
- typeN := []string{"Inner_example"} // []string | Cardinality of this relationship (optional)
+ typeN := []string{"Inner_example"} // []string | (optional)
typeNic := []string{"Inner_example"} // []string | (optional)
typeNie := []string{"Inner_example"} // []string | (optional)
typeNiew := []string{"Inner_example"} // []string | (optional)
@@ -24096,10 +24743,11 @@ func main() {
typeNre := []string{"Inner_example"} // []string | (optional)
typeRe := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasRelationshipsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).DestinationType(destinationType).DestinationTypeN(destinationTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Key(key).KeyIc(keyIc).KeyIe(keyIe).KeyIew(keyIew).KeyIre(keyIre).KeyIsw(keyIsw).KeyN(keyN).KeyNic(keyNic).KeyNie(keyNie).KeyNiew(keyNiew).KeyNire(keyNire).KeyNisw(keyNisw).KeyNre(keyNre).KeyRe(keyRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Offset(offset).Q(q).Sort(sort).SourceType(sourceType).SourceTypeN(sourceTypeN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasRelationshipsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).DestinationType(destinationType).DestinationTypeN(destinationTypeN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).Key(key).KeyIc(keyIc).KeyIe(keyIe).KeyIew(keyIew).KeyIre(keyIre).KeyIsw(keyIsw).KeyN(keyN).KeyNic(keyNic).KeyNie(keyNie).KeyNiew(keyNiew).KeyNire(keyNire).KeyNisw(keyNisw).KeyNre(keyNre).KeyRe(keyRe).Label(label).LabelIc(labelIc).LabelIe(labelIe).LabelIew(labelIew).LabelIre(labelIre).LabelIsw(labelIsw).LabelN(labelN).LabelNic(labelNic).LabelNie(labelNie).LabelNiew(labelNiew).LabelNire(labelNire).LabelNisw(labelNisw).LabelNre(labelNre).LabelRe(labelRe).Limit(limit).Offset(offset).Q(q).Sort(sort).SourceType(sourceType).SourceTypeN(sourceTypeN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasRelationshipsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -24122,26 +24770,14 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**destinationType** | **[]int32** | |
**destinationTypeN** | **[]int32** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**key** | **[]string** | |
**keyIc** | **[]string** | |
**keyIe** | **[]string** | |
@@ -24178,14 +24814,14 @@ Name | Type | Description | Notes
**sourceTypeN** | **[]int32** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**type_** | **[]string** | Cardinality of this relationship |
**typeIc** | **[]string** | |
**typeIe** | **[]string** | |
**typeIew** | **[]string** | |
**typeIre** | **[]string** | |
**typeIsw** | **[]string** | |
- **typeN** | **[]string** | Cardinality of this relationship |
+ **typeN** | **[]string** | |
**typeNic** | **[]string** | |
**typeNie** | **[]string** | |
**typeNiew** | **[]string** | |
@@ -24194,6 +24830,7 @@ Name | Type | Description | Notes
**typeNre** | **[]string** | |
**typeRe** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -24289,7 +24926,7 @@ Name | Type | Description | Notes
## ExtrasRelationshipsNotesList
-> PaginatedNoteList ExtrasRelationshipsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList ExtrasRelationshipsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -24313,10 +24950,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasRelationshipsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasRelationshipsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasRelationshipsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -24346,6 +24984,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -24441,7 +25080,7 @@ Name | Type | Description | Notes
## ExtrasRelationshipsRetrieve
-> Relationship ExtrasRelationshipsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> Relationship ExtrasRelationshipsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -24463,10 +25102,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this relationship.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasRelationshipsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasRelationshipsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasRelationshipsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -24494,6 +25134,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -24929,7 +25570,7 @@ Name | Type | Description | Notes
## ExtrasRolesList
-> PaginatedRoleList ExtrasRolesList(ctx).Color(color).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIre(colorIre).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNire(colorNire).ColorNisw(colorNisw).ColorNre(colorNre).ColorRe(colorRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesIc(contentTypesIc).ContentTypesIe(contentTypesIe).ContentTypesIew(contentTypesIew).ContentTypesIre(contentTypesIre).ContentTypesIsw(contentTypesIsw).ContentTypesN(contentTypesN).ContentTypesNic(contentTypesNic).ContentTypesNie(contentTypesNie).ContentTypesNiew(contentTypesNiew).ContentTypesNire(contentTypesNire).ContentTypesNisw(contentTypesNisw).ContentTypesNre(contentTypesNre).ContentTypesRe(contentTypesRe).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightIsnull(weightIsnull).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).Execute()
+> PaginatedRoleList ExtrasRolesList(ctx).Color(color).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIre(colorIre).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNire(colorNire).ColorNisw(colorNisw).ColorNre(colorNre).ColorRe(colorRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesN(contentTypesN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightIsnull(weightIsnull).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -24965,21 +25606,9 @@ func main() {
colorRe := []string{"Inner_example"} // []string | (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
contentTypes := []int32{int32(123)} // []int32 | (optional)
- contentTypesIc := []int32{int32(123)} // []int32 | (optional)
- contentTypesIe := []int32{int32(123)} // []int32 | (optional)
- contentTypesIew := []int32{int32(123)} // []int32 | (optional)
- contentTypesIre := []int32{int32(123)} // []int32 | (optional)
- contentTypesIsw := []int32{int32(123)} // []int32 | (optional)
contentTypesN := []int32{int32(123)} // []int32 | (optional)
- contentTypesNic := []int32{int32(123)} // []int32 | (optional)
- contentTypesNie := []int32{int32(123)} // []int32 | (optional)
- contentTypesNiew := []int32{int32(123)} // []int32 | (optional)
- contentTypesNire := []int32{int32(123)} // []int32 | (optional)
- contentTypesNisw := []int32{int32(123)} // []int32 | (optional)
- contentTypesNre := []int32{int32(123)} // []int32 | (optional)
- contentTypesRe := []int32{int32(123)} // []int32 | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -24988,22 +25617,10 @@ func main() {
createdLte := []time.Time{time.Now()} // []time.Time | (optional)
createdN := []time.Time{time.Now()} // []time.Time | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -25031,7 +25648,7 @@ func main() {
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
weight := []int32{int32(123)} // []int32 | (optional)
weightGt := []int32{int32(123)} // []int32 | (optional)
weightGte := []int32{int32(123)} // []int32 | (optional)
@@ -25040,10 +25657,11 @@ func main() {
weightLte := []int32{int32(123)} // []int32 | (optional)
weightN := []int32{int32(123)} // []int32 | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasRolesList(context.Background()).Color(color).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIre(colorIre).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNire(colorNire).ColorNisw(colorNisw).ColorNre(colorNre).ColorRe(colorRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesIc(contentTypesIc).ContentTypesIe(contentTypesIe).ContentTypesIew(contentTypesIew).ContentTypesIre(contentTypesIre).ContentTypesIsw(contentTypesIsw).ContentTypesN(contentTypesN).ContentTypesNic(contentTypesNic).ContentTypesNie(contentTypesNie).ContentTypesNiew(contentTypesNiew).ContentTypesNire(contentTypesNire).ContentTypesNisw(contentTypesNisw).ContentTypesNre(contentTypesNre).ContentTypesRe(contentTypesRe).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightIsnull(weightIsnull).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasRolesList(context.Background()).Color(color).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIre(colorIre).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNire(colorNire).ColorNisw(colorNisw).ColorNre(colorNre).ColorRe(colorRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesN(contentTypesN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Weight(weight).WeightGt(weightGt).WeightGte(weightGte).WeightIsnull(weightIsnull).WeightLt(weightLt).WeightLte(weightLte).WeightN(weightN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasRolesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -25080,21 +25698,9 @@ Name | Type | Description | Notes
**colorRe** | **[]string** | |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**contentTypes** | **[]int32** | |
- **contentTypesIc** | **[]int32** | |
- **contentTypesIe** | **[]int32** | |
- **contentTypesIew** | **[]int32** | |
- **contentTypesIre** | **[]int32** | |
- **contentTypesIsw** | **[]int32** | |
**contentTypesN** | **[]int32** | |
- **contentTypesNic** | **[]int32** | |
- **contentTypesNie** | **[]int32** | |
- **contentTypesNiew** | **[]int32** | |
- **contentTypesNire** | **[]int32** | |
- **contentTypesNisw** | **[]int32** | |
- **contentTypesNre** | **[]int32** | |
- **contentTypesRe** | **[]int32** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -25103,22 +25709,10 @@ Name | Type | Description | Notes
**createdLte** | [**[]time.Time**](time.Time.md) | |
**createdN** | [**[]time.Time**](time.Time.md) | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -25146,7 +25740,7 @@ Name | Type | Description | Notes
**sort** | **string** | Which field to use when ordering the results. |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**weight** | **[]int32** | |
**weightGt** | **[]int32** | |
**weightGte** | **[]int32** | |
@@ -25155,6 +25749,7 @@ Name | Type | Description | Notes
**weightLte** | **[]int32** | |
**weightN** | **[]int32** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -25250,7 +25845,7 @@ Name | Type | Description | Notes
## ExtrasRolesNotesList
-> PaginatedNoteList ExtrasRolesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList ExtrasRolesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -25274,10 +25869,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasRolesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasRolesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasRolesNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -25307,6 +25903,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -25402,7 +25999,7 @@ Name | Type | Description | Notes
## ExtrasRolesRetrieve
-> Role ExtrasRolesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> Role ExtrasRolesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -25424,10 +26021,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this role.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasRolesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasRolesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasRolesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -25455,6 +26053,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -25890,7 +26489,7 @@ Name | Type | Description | Notes
## ExtrasSavedViewsList
-> PaginatedSavedViewList ExtrasSavedViewsList(ctx).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).IsGlobalDefault(isGlobalDefault).IsShared(isShared).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Owner(owner).OwnerN(ownerN).Q(q).Sort(sort).View(view).ViewIc(viewIc).ViewIe(viewIe).ViewIew(viewIew).ViewIre(viewIre).ViewIsw(viewIsw).ViewN(viewN).ViewNic(viewNic).ViewNie(viewNie).ViewNiew(viewNiew).ViewNire(viewNire).ViewNisw(viewNisw).ViewNre(viewNre).ViewRe(viewRe).Depth(depth).Execute()
+> PaginatedSavedViewList ExtrasSavedViewsList(ctx).Format(format).Id(id).IdN(idN).IsGlobalDefault(isGlobalDefault).IsShared(isShared).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Owner(owner).OwnerN(ownerN).Q(q).Sort(sort).View(view).ViewIc(viewIc).ViewIe(viewIe).ViewIew(viewIew).ViewIre(viewIre).ViewIsw(viewIsw).ViewN(viewN).ViewNic(viewNic).ViewNie(viewNie).ViewNiew(viewNiew).ViewNire(viewNire).ViewNisw(viewNisw).ViewNre(viewNre).ViewRe(viewRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -25911,19 +26510,7 @@ import (
func main() {
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
isGlobalDefault := true // bool | (optional)
isShared := true // bool | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
@@ -25961,10 +26548,11 @@ func main() {
viewNre := []string{"Inner_example"} // []string | (optional)
viewRe := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasSavedViewsList(context.Background()).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).IsGlobalDefault(isGlobalDefault).IsShared(isShared).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Owner(owner).OwnerN(ownerN).Q(q).Sort(sort).View(view).ViewIc(viewIc).ViewIe(viewIe).ViewIew(viewIew).ViewIre(viewIre).ViewIsw(viewIsw).ViewN(viewN).ViewNic(viewNic).ViewNie(viewNie).ViewNiew(viewNiew).ViewNire(viewNire).ViewNisw(viewNisw).ViewNre(viewNre).ViewRe(viewRe).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasSavedViewsList(context.Background()).Format(format).Id(id).IdN(idN).IsGlobalDefault(isGlobalDefault).IsShared(isShared).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Owner(owner).OwnerN(ownerN).Q(q).Sort(sort).View(view).ViewIc(viewIc).ViewIe(viewIe).ViewIew(viewIew).ViewIre(viewIre).ViewIsw(viewIsw).ViewN(viewN).ViewNic(viewNic).ViewNie(viewNie).ViewNiew(viewNiew).ViewNire(viewNire).ViewNisw(viewNisw).ViewNre(viewNre).ViewRe(viewRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSavedViewsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -25987,19 +26575,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**isGlobalDefault** | **bool** | |
**isShared** | **bool** | |
**limit** | **int32** | Number of results to return per page. |
@@ -26037,6 +26613,7 @@ Name | Type | Description | Notes
**viewNre** | **[]string** | |
**viewRe** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -26132,7 +26709,7 @@ Name | Type | Description | Notes
## ExtrasSavedViewsRetrieve
-> SavedView ExtrasSavedViewsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> SavedView ExtrasSavedViewsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -26154,10 +26731,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this saved view.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasSavedViewsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasSavedViewsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSavedViewsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -26185,6 +26763,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -26352,6 +26931,72 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
+## ExtrasScheduledJobsBulkDestroy
+
+> ExtrasScheduledJobsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ bulkOperationRequest := []openapiclient.BulkOperationRequest{*openapiclient.NewBulkOperationRequest("Id_example")} // []BulkOperationRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ r, err := apiClient.ExtrasAPI.ExtrasScheduledJobsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasScheduledJobsBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+}
+```
+
+### Path Parameters
+
+
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiExtrasScheduledJobsBulkDestroyRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **bulkOperationRequest** | [**[]BulkOperationRequest**](BulkOperationRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+ (empty response body)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: Not defined
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
## ExtrasScheduledJobsDenyCreate
> ScheduledJob ExtrasScheduledJobsDenyCreate(ctx, id).Format(format).Execute()
@@ -26424,6 +27069,76 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
+## ExtrasScheduledJobsDestroy
+
+> ExtrasScheduledJobsDestroy(ctx, id).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this scheduled job.
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ r, err := apiClient.ExtrasAPI.ExtrasScheduledJobsDestroy(context.Background(), id).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasScheduledJobsDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this scheduled job. |
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiExtrasScheduledJobsDestroyRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+ (empty response body)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: Not defined
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
## ExtrasScheduledJobsDryRunCreate
> JobResult ExtrasScheduledJobsDryRunCreate(ctx, id).Format(format).Execute()
@@ -26498,7 +27213,7 @@ Name | Type | Description | Notes
## ExtrasScheduledJobsList
-> PaginatedScheduledJobList ExtrasScheduledJobsList(ctx).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).JobModel(jobModel).JobModelIsnull(jobModelIsnull).JobModelN(jobModelN).JobModelId(jobModelId).JobModelIdIsnull(jobModelIdIsnull).JobModelIdN(jobModelIdN).LastRunAt(lastRunAt).LastRunAtGt(lastRunAtGt).LastRunAtGte(lastRunAtGte).LastRunAtIsnull(lastRunAtIsnull).LastRunAtLt(lastRunAtLt).LastRunAtLte(lastRunAtLte).LastRunAtN(lastRunAtN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).StartTime(startTime).StartTimeGt(startTimeGt).StartTimeGte(startTimeGte).StartTimeLt(startTimeLt).StartTimeLte(startTimeLte).StartTimeN(startTimeN).TimeZone(timeZone).TimeZoneIc(timeZoneIc).TimeZoneIe(timeZoneIe).TimeZoneIew(timeZoneIew).TimeZoneIre(timeZoneIre).TimeZoneIsw(timeZoneIsw).TimeZoneN(timeZoneN).TimeZoneNic(timeZoneNic).TimeZoneNie(timeZoneNie).TimeZoneNiew(timeZoneNiew).TimeZoneNire(timeZoneNire).TimeZoneNisw(timeZoneNisw).TimeZoneNre(timeZoneNre).TimeZoneRe(timeZoneRe).TotalRunCount(totalRunCount).TotalRunCountGt(totalRunCountGt).TotalRunCountGte(totalRunCountGte).TotalRunCountLt(totalRunCountLt).TotalRunCountLte(totalRunCountLte).TotalRunCountN(totalRunCountN).Depth(depth).Execute()
+> PaginatedScheduledJobList ExtrasScheduledJobsList(ctx).Format(format).Id(id).IdN(idN).JobModel(jobModel).JobModelIsnull(jobModelIsnull).JobModelN(jobModelN).JobModelId(jobModelId).JobModelIdIsnull(jobModelIdIsnull).JobModelIdN(jobModelIdN).LastRunAt(lastRunAt).LastRunAtGt(lastRunAtGt).LastRunAtGte(lastRunAtGte).LastRunAtIsnull(lastRunAtIsnull).LastRunAtLt(lastRunAtLt).LastRunAtLte(lastRunAtLte).LastRunAtN(lastRunAtN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).StartTime(startTime).StartTimeGt(startTimeGt).StartTimeGte(startTimeGte).StartTimeLt(startTimeLt).StartTimeLte(startTimeLte).StartTimeN(startTimeN).TimeZone(timeZone).TimeZoneIc(timeZoneIc).TimeZoneIe(timeZoneIe).TimeZoneIew(timeZoneIew).TimeZoneIre(timeZoneIre).TimeZoneIsw(timeZoneIsw).TimeZoneN(timeZoneN).TimeZoneNic(timeZoneNic).TimeZoneNie(timeZoneNie).TimeZoneNiew(timeZoneNiew).TimeZoneNire(timeZoneNire).TimeZoneNisw(timeZoneNisw).TimeZoneNre(timeZoneNre).TimeZoneRe(timeZoneRe).TotalRunCount(totalRunCount).TotalRunCountGt(totalRunCountGt).TotalRunCountGte(totalRunCountGte).TotalRunCountLt(totalRunCountLt).TotalRunCountLte(totalRunCountLte).TotalRunCountN(totalRunCountN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -26520,19 +27235,7 @@ import (
func main() {
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
jobModel := []string{"Inner_example"} // []string | (optional)
jobModelIsnull := true // bool | Job (name or ID) is null (optional)
jobModelN := []string{"Inner_example"} // []string | (optional)
@@ -26571,19 +27274,19 @@ func main() {
startTimeLte := []time.Time{time.Now()} // []time.Time | (optional)
startTimeN := []time.Time{time.Now()} // []time.Time | (optional)
timeZone := []openapiclient.DcimLocationsListTimeZoneParameterInner{openapiclient.dcim_locations_list_time_zone_parameter_inner("Africa/Abidjan")} // []DcimLocationsListTimeZoneParameterInner | Time zone (optional)
- timeZoneIc := []openapiclient.DcimLocationsListTimeZoneParameterInner{openapiclient.dcim_locations_list_time_zone_parameter_inner("Africa/Abidjan")} // []DcimLocationsListTimeZoneParameterInner | Time zone (optional)
- timeZoneIe := []openapiclient.DcimLocationsListTimeZoneParameterInner{openapiclient.dcim_locations_list_time_zone_parameter_inner("Africa/Abidjan")} // []DcimLocationsListTimeZoneParameterInner | Time zone (optional)
- timeZoneIew := []openapiclient.DcimLocationsListTimeZoneParameterInner{openapiclient.dcim_locations_list_time_zone_parameter_inner("Africa/Abidjan")} // []DcimLocationsListTimeZoneParameterInner | Time zone (optional)
- timeZoneIre := []openapiclient.DcimLocationsListTimeZoneParameterInner{openapiclient.dcim_locations_list_time_zone_parameter_inner("Africa/Abidjan")} // []DcimLocationsListTimeZoneParameterInner | Time zone (optional)
- timeZoneIsw := []openapiclient.DcimLocationsListTimeZoneParameterInner{openapiclient.dcim_locations_list_time_zone_parameter_inner("Africa/Abidjan")} // []DcimLocationsListTimeZoneParameterInner | Time zone (optional)
- timeZoneN := []openapiclient.DcimLocationsListTimeZoneParameterInner{openapiclient.dcim_locations_list_time_zone_parameter_inner("Africa/Abidjan")} // []DcimLocationsListTimeZoneParameterInner | Time zone (optional)
- timeZoneNic := []openapiclient.DcimLocationsListTimeZoneParameterInner{openapiclient.dcim_locations_list_time_zone_parameter_inner("Africa/Abidjan")} // []DcimLocationsListTimeZoneParameterInner | Time zone (optional)
- timeZoneNie := []openapiclient.DcimLocationsListTimeZoneParameterInner{openapiclient.dcim_locations_list_time_zone_parameter_inner("Africa/Abidjan")} // []DcimLocationsListTimeZoneParameterInner | Time zone (optional)
- timeZoneNiew := []openapiclient.DcimLocationsListTimeZoneParameterInner{openapiclient.dcim_locations_list_time_zone_parameter_inner("Africa/Abidjan")} // []DcimLocationsListTimeZoneParameterInner | Time zone (optional)
- timeZoneNire := []openapiclient.DcimLocationsListTimeZoneParameterInner{openapiclient.dcim_locations_list_time_zone_parameter_inner("Africa/Abidjan")} // []DcimLocationsListTimeZoneParameterInner | Time zone (optional)
- timeZoneNisw := []openapiclient.DcimLocationsListTimeZoneParameterInner{openapiclient.dcim_locations_list_time_zone_parameter_inner("Africa/Abidjan")} // []DcimLocationsListTimeZoneParameterInner | Time zone (optional)
- timeZoneNre := []openapiclient.DcimLocationsListTimeZoneParameterInner{openapiclient.dcim_locations_list_time_zone_parameter_inner("Africa/Abidjan")} // []DcimLocationsListTimeZoneParameterInner | Time zone (optional)
- timeZoneRe := []openapiclient.DcimLocationsListTimeZoneParameterInner{openapiclient.dcim_locations_list_time_zone_parameter_inner("Africa/Abidjan")} // []DcimLocationsListTimeZoneParameterInner | Time zone (optional)
+ timeZoneIc := []string{"Inner_example"} // []string | Time zone (optional)
+ timeZoneIe := []string{"Inner_example"} // []string | Time zone (optional)
+ timeZoneIew := []string{"Inner_example"} // []string | Time zone (optional)
+ timeZoneIre := []string{"Inner_example"} // []string | Time zone (optional)
+ timeZoneIsw := []string{"Inner_example"} // []string | Time zone (optional)
+ timeZoneN := []string{"Inner_example"} // []string | Time zone (optional)
+ timeZoneNic := []string{"Inner_example"} // []string | Time zone (optional)
+ timeZoneNie := []string{"Inner_example"} // []string | Time zone (optional)
+ timeZoneNiew := []string{"Inner_example"} // []string | Time zone (optional)
+ timeZoneNire := []string{"Inner_example"} // []string | Time zone (optional)
+ timeZoneNisw := []string{"Inner_example"} // []string | Time zone (optional)
+ timeZoneNre := []string{"Inner_example"} // []string | Time zone (optional)
+ timeZoneRe := []string{"Inner_example"} // []string | Time zone (optional)
totalRunCount := []int32{int32(123)} // []int32 | (optional)
totalRunCountGt := []int32{int32(123)} // []int32 | (optional)
totalRunCountGte := []int32{int32(123)} // []int32 | (optional)
@@ -26591,10 +27294,11 @@ func main() {
totalRunCountLte := []int32{int32(123)} // []int32 | (optional)
totalRunCountN := []int32{int32(123)} // []int32 | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasScheduledJobsList(context.Background()).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).JobModel(jobModel).JobModelIsnull(jobModelIsnull).JobModelN(jobModelN).JobModelId(jobModelId).JobModelIdIsnull(jobModelIdIsnull).JobModelIdN(jobModelIdN).LastRunAt(lastRunAt).LastRunAtGt(lastRunAtGt).LastRunAtGte(lastRunAtGte).LastRunAtIsnull(lastRunAtIsnull).LastRunAtLt(lastRunAtLt).LastRunAtLte(lastRunAtLte).LastRunAtN(lastRunAtN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).StartTime(startTime).StartTimeGt(startTimeGt).StartTimeGte(startTimeGte).StartTimeLt(startTimeLt).StartTimeLte(startTimeLte).StartTimeN(startTimeN).TimeZone(timeZone).TimeZoneIc(timeZoneIc).TimeZoneIe(timeZoneIe).TimeZoneIew(timeZoneIew).TimeZoneIre(timeZoneIre).TimeZoneIsw(timeZoneIsw).TimeZoneN(timeZoneN).TimeZoneNic(timeZoneNic).TimeZoneNie(timeZoneNie).TimeZoneNiew(timeZoneNiew).TimeZoneNire(timeZoneNire).TimeZoneNisw(timeZoneNisw).TimeZoneNre(timeZoneNre).TimeZoneRe(timeZoneRe).TotalRunCount(totalRunCount).TotalRunCountGt(totalRunCountGt).TotalRunCountGte(totalRunCountGte).TotalRunCountLt(totalRunCountLt).TotalRunCountLte(totalRunCountLte).TotalRunCountN(totalRunCountN).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasScheduledJobsList(context.Background()).Format(format).Id(id).IdN(idN).JobModel(jobModel).JobModelIsnull(jobModelIsnull).JobModelN(jobModelN).JobModelId(jobModelId).JobModelIdIsnull(jobModelIdIsnull).JobModelIdN(jobModelIdN).LastRunAt(lastRunAt).LastRunAtGt(lastRunAtGt).LastRunAtGte(lastRunAtGte).LastRunAtIsnull(lastRunAtIsnull).LastRunAtLt(lastRunAtLt).LastRunAtLte(lastRunAtLte).LastRunAtN(lastRunAtN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).StartTime(startTime).StartTimeGt(startTimeGt).StartTimeGte(startTimeGte).StartTimeLt(startTimeLt).StartTimeLte(startTimeLte).StartTimeN(startTimeN).TimeZone(timeZone).TimeZoneIc(timeZoneIc).TimeZoneIe(timeZoneIe).TimeZoneIew(timeZoneIew).TimeZoneIre(timeZoneIre).TimeZoneIsw(timeZoneIsw).TimeZoneN(timeZoneN).TimeZoneNic(timeZoneNic).TimeZoneNie(timeZoneNie).TimeZoneNiew(timeZoneNiew).TimeZoneNire(timeZoneNire).TimeZoneNisw(timeZoneNisw).TimeZoneNre(timeZoneNre).TimeZoneRe(timeZoneRe).TotalRunCount(totalRunCount).TotalRunCountGt(totalRunCountGt).TotalRunCountGte(totalRunCountGte).TotalRunCountLt(totalRunCountLt).TotalRunCountLte(totalRunCountLte).TotalRunCountN(totalRunCountN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasScheduledJobsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -26617,19 +27321,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**jobModel** | **[]string** | |
**jobModelIsnull** | **bool** | Job (name or ID) is null |
**jobModelN** | **[]string** | |
@@ -26668,19 +27360,19 @@ Name | Type | Description | Notes
**startTimeLte** | [**[]time.Time**](time.Time.md) | |
**startTimeN** | [**[]time.Time**](time.Time.md) | |
**timeZone** | [**[]DcimLocationsListTimeZoneParameterInner**](DcimLocationsListTimeZoneParameterInner.md) | Time zone |
- **timeZoneIc** | [**[]DcimLocationsListTimeZoneParameterInner**](DcimLocationsListTimeZoneParameterInner.md) | Time zone |
- **timeZoneIe** | [**[]DcimLocationsListTimeZoneParameterInner**](DcimLocationsListTimeZoneParameterInner.md) | Time zone |
- **timeZoneIew** | [**[]DcimLocationsListTimeZoneParameterInner**](DcimLocationsListTimeZoneParameterInner.md) | Time zone |
- **timeZoneIre** | [**[]DcimLocationsListTimeZoneParameterInner**](DcimLocationsListTimeZoneParameterInner.md) | Time zone |
- **timeZoneIsw** | [**[]DcimLocationsListTimeZoneParameterInner**](DcimLocationsListTimeZoneParameterInner.md) | Time zone |
- **timeZoneN** | [**[]DcimLocationsListTimeZoneParameterInner**](DcimLocationsListTimeZoneParameterInner.md) | Time zone |
- **timeZoneNic** | [**[]DcimLocationsListTimeZoneParameterInner**](DcimLocationsListTimeZoneParameterInner.md) | Time zone |
- **timeZoneNie** | [**[]DcimLocationsListTimeZoneParameterInner**](DcimLocationsListTimeZoneParameterInner.md) | Time zone |
- **timeZoneNiew** | [**[]DcimLocationsListTimeZoneParameterInner**](DcimLocationsListTimeZoneParameterInner.md) | Time zone |
- **timeZoneNire** | [**[]DcimLocationsListTimeZoneParameterInner**](DcimLocationsListTimeZoneParameterInner.md) | Time zone |
- **timeZoneNisw** | [**[]DcimLocationsListTimeZoneParameterInner**](DcimLocationsListTimeZoneParameterInner.md) | Time zone |
- **timeZoneNre** | [**[]DcimLocationsListTimeZoneParameterInner**](DcimLocationsListTimeZoneParameterInner.md) | Time zone |
- **timeZoneRe** | [**[]DcimLocationsListTimeZoneParameterInner**](DcimLocationsListTimeZoneParameterInner.md) | Time zone |
+ **timeZoneIc** | **[]string** | Time zone |
+ **timeZoneIe** | **[]string** | Time zone |
+ **timeZoneIew** | **[]string** | Time zone |
+ **timeZoneIre** | **[]string** | Time zone |
+ **timeZoneIsw** | **[]string** | Time zone |
+ **timeZoneN** | **[]string** | Time zone |
+ **timeZoneNic** | **[]string** | Time zone |
+ **timeZoneNie** | **[]string** | Time zone |
+ **timeZoneNiew** | **[]string** | Time zone |
+ **timeZoneNire** | **[]string** | Time zone |
+ **timeZoneNisw** | **[]string** | Time zone |
+ **timeZoneNre** | **[]string** | Time zone |
+ **timeZoneRe** | **[]string** | Time zone |
**totalRunCount** | **[]int32** | |
**totalRunCountGt** | **[]int32** | |
**totalRunCountGte** | **[]int32** | |
@@ -26688,6 +27380,7 @@ Name | Type | Description | Notes
**totalRunCountLte** | **[]int32** | |
**totalRunCountN** | **[]int32** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -26709,7 +27402,7 @@ Name | Type | Description | Notes
## ExtrasScheduledJobsRetrieve
-> ScheduledJob ExtrasScheduledJobsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> ScheduledJob ExtrasScheduledJobsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -26731,10 +27424,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this scheduled job.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasScheduledJobsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasScheduledJobsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasScheduledJobsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -26762,6 +27456,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -26985,7 +27680,7 @@ Name | Type | Description | Notes
## ExtrasSecretsCheckRetrieve
-> ExtrasSecretsCheckRetrieve200Response ExtrasSecretsCheckRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> ExtrasSecretsCheckRetrieve200Response ExtrasSecretsCheckRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -27007,10 +27702,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this secret.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasSecretsCheckRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasSecretsCheckRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSecretsCheckRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -27038,6 +27734,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -27350,7 +28047,7 @@ import (
)
func main() {
- bulkWritableSecretsGroupAssociationRequest := []openapiclient.BulkWritableSecretsGroupAssociationRequest{*openapiclient.NewBulkWritableSecretsGroupAssociationRequest("Id_example", openapiclient.AccessTypeEnum("Generic"), openapiclient.SecretTypeEnum("key"), *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritableSecretsGroupAssociationRequest |
+ bulkWritableSecretsGroupAssociationRequest := []openapiclient.BulkWritableSecretsGroupAssociationRequest{*openapiclient.NewBulkWritableSecretsGroupAssociationRequest("Id_example", openapiclient.AccessTypeEnum("Generic"), openapiclient.SecretTypeEnum("authentication-key"), *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritableSecretsGroupAssociationRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
@@ -27418,7 +28115,7 @@ import (
)
func main() {
- secretsGroupAssociationRequest := *openapiclient.NewSecretsGroupAssociationRequest(openapiclient.AccessTypeEnum("Generic"), openapiclient.SecretTypeEnum("key"), *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // SecretsGroupAssociationRequest |
+ secretsGroupAssociationRequest := *openapiclient.NewSecretsGroupAssociationRequest(openapiclient.AccessTypeEnum("Generic"), openapiclient.SecretTypeEnum("authentication-key"), *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // SecretsGroupAssociationRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
@@ -27537,7 +28234,7 @@ Name | Type | Description | Notes
## ExtrasSecretsGroupsAssociationsList
-> PaginatedSecretsGroupAssociationList ExtrasSecretsGroupsAssociationsList(ctx).AccessType(accessType).AccessTypeIc(accessTypeIc).AccessTypeIe(accessTypeIe).AccessTypeIew(accessTypeIew).AccessTypeIre(accessTypeIre).AccessTypeIsw(accessTypeIsw).AccessTypeN(accessTypeN).AccessTypeNic(accessTypeNic).AccessTypeNie(accessTypeNie).AccessTypeNiew(accessTypeNiew).AccessTypeNire(accessTypeNire).AccessTypeNisw(accessTypeNisw).AccessTypeNre(accessTypeNre).AccessTypeRe(accessTypeRe).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Offset(offset).Q(q).Secret(secret).SecretN(secretN).SecretId(secretId).SecretIdN(secretIdN).SecretType(secretType).SecretTypeIc(secretTypeIc).SecretTypeIe(secretTypeIe).SecretTypeIew(secretTypeIew).SecretTypeIre(secretTypeIre).SecretTypeIsw(secretTypeIsw).SecretTypeN(secretTypeN).SecretTypeNic(secretTypeNic).SecretTypeNie(secretTypeNie).SecretTypeNiew(secretTypeNiew).SecretTypeNire(secretTypeNire).SecretTypeNisw(secretTypeNisw).SecretTypeNre(secretTypeNre).SecretTypeRe(secretTypeRe).SecretsGroup(secretsGroup).SecretsGroupN(secretsGroupN).Sort(sort).Depth(depth).Execute()
+> PaginatedSecretsGroupAssociationList ExtrasSecretsGroupsAssociationsList(ctx).AccessType(accessType).AccessTypeIc(accessTypeIc).AccessTypeIe(accessTypeIe).AccessTypeIew(accessTypeIew).AccessTypeIre(accessTypeIre).AccessTypeIsw(accessTypeIsw).AccessTypeN(accessTypeN).AccessTypeNic(accessTypeNic).AccessTypeNie(accessTypeNie).AccessTypeNiew(accessTypeNiew).AccessTypeNire(accessTypeNire).AccessTypeNisw(accessTypeNisw).AccessTypeNre(accessTypeNre).AccessTypeRe(accessTypeRe).Format(format).Id(id).IdN(idN).Limit(limit).Offset(offset).Q(q).Secret(secret).SecretN(secretN).SecretId(secretId).SecretIdN(secretIdN).SecretType(secretType).SecretTypeIc(secretTypeIc).SecretTypeIe(secretTypeIe).SecretTypeIew(secretTypeIew).SecretTypeIre(secretTypeIre).SecretTypeIsw(secretTypeIsw).SecretTypeN(secretTypeN).SecretTypeNic(secretTypeNic).SecretTypeNie(secretTypeNie).SecretTypeNiew(secretTypeNiew).SecretTypeNire(secretTypeNire).SecretTypeNisw(secretTypeNisw).SecretTypeNre(secretTypeNre).SecretTypeRe(secretTypeRe).SecretsGroup(secretsGroup).SecretsGroupN(secretsGroupN).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -27572,19 +28269,7 @@ func main() {
accessTypeRe := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
q := "q_example" // string | Search (optional)
@@ -27610,10 +28295,11 @@ func main() {
secretsGroupN := []string{"Inner_example"} // []string | (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasSecretsGroupsAssociationsList(context.Background()).AccessType(accessType).AccessTypeIc(accessTypeIc).AccessTypeIe(accessTypeIe).AccessTypeIew(accessTypeIew).AccessTypeIre(accessTypeIre).AccessTypeIsw(accessTypeIsw).AccessTypeN(accessTypeN).AccessTypeNic(accessTypeNic).AccessTypeNie(accessTypeNie).AccessTypeNiew(accessTypeNiew).AccessTypeNire(accessTypeNire).AccessTypeNisw(accessTypeNisw).AccessTypeNre(accessTypeNre).AccessTypeRe(accessTypeRe).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Offset(offset).Q(q).Secret(secret).SecretN(secretN).SecretId(secretId).SecretIdN(secretIdN).SecretType(secretType).SecretTypeIc(secretTypeIc).SecretTypeIe(secretTypeIe).SecretTypeIew(secretTypeIew).SecretTypeIre(secretTypeIre).SecretTypeIsw(secretTypeIsw).SecretTypeN(secretTypeN).SecretTypeNic(secretTypeNic).SecretTypeNie(secretTypeNie).SecretTypeNiew(secretTypeNiew).SecretTypeNire(secretTypeNire).SecretTypeNisw(secretTypeNisw).SecretTypeNre(secretTypeNre).SecretTypeRe(secretTypeRe).SecretsGroup(secretsGroup).SecretsGroupN(secretsGroupN).Sort(sort).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasSecretsGroupsAssociationsList(context.Background()).AccessType(accessType).AccessTypeIc(accessTypeIc).AccessTypeIe(accessTypeIe).AccessTypeIew(accessTypeIew).AccessTypeIre(accessTypeIre).AccessTypeIsw(accessTypeIsw).AccessTypeN(accessTypeN).AccessTypeNic(accessTypeNic).AccessTypeNie(accessTypeNie).AccessTypeNiew(accessTypeNiew).AccessTypeNire(accessTypeNire).AccessTypeNisw(accessTypeNisw).AccessTypeNre(accessTypeNre).AccessTypeRe(accessTypeRe).Format(format).Id(id).IdN(idN).Limit(limit).Offset(offset).Q(q).Secret(secret).SecretN(secretN).SecretId(secretId).SecretIdN(secretIdN).SecretType(secretType).SecretTypeIc(secretTypeIc).SecretTypeIe(secretTypeIe).SecretTypeIew(secretTypeIew).SecretTypeIre(secretTypeIre).SecretTypeIsw(secretTypeIsw).SecretTypeN(secretTypeN).SecretTypeNic(secretTypeNic).SecretTypeNie(secretTypeNie).SecretTypeNiew(secretTypeNiew).SecretTypeNire(secretTypeNire).SecretTypeNisw(secretTypeNisw).SecretTypeNre(secretTypeNre).SecretTypeRe(secretTypeRe).SecretsGroup(secretsGroup).SecretsGroupN(secretsGroupN).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSecretsGroupsAssociationsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -27650,19 +28336,7 @@ Name | Type | Description | Notes
**accessTypeRe** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**q** | **string** | Search |
@@ -27688,6 +28362,7 @@ Name | Type | Description | Notes
**secretsGroupN** | **[]string** | |
**sort** | **string** | Which field to use when ordering the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -27783,7 +28458,7 @@ Name | Type | Description | Notes
## ExtrasSecretsGroupsAssociationsRetrieve
-> SecretsGroupAssociation ExtrasSecretsGroupsAssociationsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> SecretsGroupAssociation ExtrasSecretsGroupsAssociationsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -27805,10 +28480,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this secrets group association.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasSecretsGroupsAssociationsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasSecretsGroupsAssociationsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSecretsGroupsAssociationsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -27836,6 +28512,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -27877,7 +28554,7 @@ import (
func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this secrets group association.
- secretsGroupAssociationRequest := *openapiclient.NewSecretsGroupAssociationRequest(openapiclient.AccessTypeEnum("Generic"), openapiclient.SecretTypeEnum("key"), *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // SecretsGroupAssociationRequest |
+ secretsGroupAssociationRequest := *openapiclient.NewSecretsGroupAssociationRequest(openapiclient.AccessTypeEnum("Generic"), openapiclient.SecretTypeEnum("authentication-key"), *openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // SecretsGroupAssociationRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
@@ -28271,7 +28948,7 @@ Name | Type | Description | Notes
## ExtrasSecretsGroupsList
-> PaginatedSecretsGroupList ExtrasSecretsGroupsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedSecretsGroupList ExtrasSecretsGroupsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Secrets(secrets).SecretsN(secretsN).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -28293,7 +28970,7 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -28302,22 +28979,10 @@ func main() {
createdLte := []time.Time{time.Now()} // []time.Time | (optional)
createdN := []time.Time{time.Now()} // []time.Time | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -28342,15 +29007,18 @@ func main() {
nameRe := []string{"Inner_example"} // []string | (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
q := "q_example" // string | Search (optional)
+ secrets := []string{"Inner_example"} // []string | (optional)
+ secretsN := []string{"Inner_example"} // []string | (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasSecretsGroupsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasSecretsGroupsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Secrets(secrets).SecretsN(secretsN).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSecretsGroupsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -28373,7 +29041,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -28382,22 +29050,10 @@ Name | Type | Description | Notes
**createdLte** | [**[]time.Time**](time.Time.md) | |
**createdN** | [**[]time.Time**](time.Time.md) | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -28422,11 +29078,14 @@ Name | Type | Description | Notes
**nameRe** | **[]string** | |
**offset** | **int32** | The initial index from which to return the results. |
**q** | **string** | Search |
+ **secrets** | **[]string** | |
+ **secretsN** | **[]string** | |
**sort** | **string** | Which field to use when ordering the results. |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -28522,7 +29181,7 @@ Name | Type | Description | Notes
## ExtrasSecretsGroupsNotesList
-> PaginatedNoteList ExtrasSecretsGroupsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList ExtrasSecretsGroupsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -28546,10 +29205,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasSecretsGroupsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasSecretsGroupsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSecretsGroupsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -28579,6 +29239,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -28674,7 +29335,7 @@ Name | Type | Description | Notes
## ExtrasSecretsGroupsRetrieve
-> SecretsGroup ExtrasSecretsGroupsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> SecretsGroup ExtrasSecretsGroupsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -28696,10 +29357,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this secrets group.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasSecretsGroupsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasSecretsGroupsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSecretsGroupsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -28727,6 +29389,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -28822,7 +29485,7 @@ Name | Type | Description | Notes
## ExtrasSecretsList
-> PaginatedSecretList ExtrasSecretsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Provider(provider).ProviderIc(providerIc).ProviderIe(providerIe).ProviderIew(providerIew).ProviderIre(providerIre).ProviderIsw(providerIsw).ProviderN(providerN).ProviderNic(providerNic).ProviderNie(providerNie).ProviderNiew(providerNiew).ProviderNire(providerNire).ProviderNisw(providerNisw).ProviderNre(providerNre).ProviderRe(providerRe).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedSecretList ExtrasSecretsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Provider(provider).ProviderIc(providerIc).ProviderIe(providerIe).ProviderIew(providerIew).ProviderIre(providerIre).ProviderIsw(providerIsw).ProviderN(providerN).ProviderNic(providerNic).ProviderNie(providerNie).ProviderNiew(providerNiew).ProviderNire(providerNire).ProviderNisw(providerNisw).ProviderNre(providerNre).ProviderRe(providerRe).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -28844,7 +29507,7 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -28853,22 +29516,10 @@ func main() {
createdLte := []time.Time{time.Now()} // []time.Time | (optional)
createdN := []time.Time{time.Now()} // []time.Time | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -28913,12 +29564,13 @@ func main() {
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasSecretsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Provider(provider).ProviderIc(providerIc).ProviderIe(providerIe).ProviderIew(providerIew).ProviderIre(providerIre).ProviderIsw(providerIsw).ProviderN(providerN).ProviderNic(providerNic).ProviderNie(providerNie).ProviderNiew(providerNiew).ProviderNire(providerNire).ProviderNisw(providerNisw).ProviderNre(providerNre).ProviderRe(providerRe).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasSecretsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Provider(provider).ProviderIc(providerIc).ProviderIe(providerIe).ProviderIew(providerIew).ProviderIre(providerIre).ProviderIsw(providerIsw).ProviderN(providerN).ProviderNic(providerNic).ProviderNie(providerNie).ProviderNiew(providerNiew).ProviderNire(providerNire).ProviderNisw(providerNisw).ProviderNre(providerNre).ProviderRe(providerRe).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSecretsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -28941,7 +29593,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -28950,22 +29602,10 @@ Name | Type | Description | Notes
**createdLte** | [**[]time.Time**](time.Time.md) | |
**createdN** | [**[]time.Time**](time.Time.md) | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -29010,8 +29650,9 @@ Name | Type | Description | Notes
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -29107,7 +29748,7 @@ Name | Type | Description | Notes
## ExtrasSecretsNotesList
-> PaginatedNoteList ExtrasSecretsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList ExtrasSecretsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -29131,10 +29772,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasSecretsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasSecretsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSecretsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -29164,6 +29806,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -29259,7 +29902,7 @@ Name | Type | Description | Notes
## ExtrasSecretsRetrieve
-> Secret ExtrasSecretsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> Secret ExtrasSecretsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -29281,10 +29924,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this secret.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasSecretsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasSecretsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasSecretsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -29312,6 +29956,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -29747,7 +30392,7 @@ Name | Type | Description | Notes
## ExtrasStaticGroupAssociationsList
-> PaginatedStaticGroupAssociationList ExtrasStaticGroupAssociationsList(ctx).AssociatedObjectId(associatedObjectId).AssociatedObjectIdIc(associatedObjectIdIc).AssociatedObjectIdIe(associatedObjectIdIe).AssociatedObjectIdIew(associatedObjectIdIew).AssociatedObjectIdIre(associatedObjectIdIre).AssociatedObjectIdIsw(associatedObjectIdIsw).AssociatedObjectIdN(associatedObjectIdN).AssociatedObjectIdNic(associatedObjectIdNic).AssociatedObjectIdNie(associatedObjectIdNie).AssociatedObjectIdNiew(associatedObjectIdNiew).AssociatedObjectIdNire(associatedObjectIdNire).AssociatedObjectIdNisw(associatedObjectIdNisw).AssociatedObjectIdNre(associatedObjectIdNre).AssociatedObjectIdRe(associatedObjectIdRe).AssociatedObjectType(associatedObjectType).AssociatedObjectTypeN(associatedObjectTypeN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroup(dynamicGroup).DynamicGroupN(dynamicGroupN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Offset(offset).Q(q).Sort(sort).Depth(depth).Execute()
+> PaginatedStaticGroupAssociationList ExtrasStaticGroupAssociationsList(ctx).AssociatedObjectId(associatedObjectId).AssociatedObjectIdN(associatedObjectIdN).AssociatedObjectType(associatedObjectType).AssociatedObjectTypeN(associatedObjectTypeN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroup(dynamicGroup).DynamicGroupN(dynamicGroupN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Offset(offset).Q(q).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -29768,19 +30413,7 @@ import (
func main() {
associatedObjectId := []string{"Inner_example"} // []string | (optional)
- associatedObjectIdIc := []string{"Inner_example"} // []string | (optional)
- associatedObjectIdIe := []string{"Inner_example"} // []string | (optional)
- associatedObjectIdIew := []string{"Inner_example"} // []string | (optional)
- associatedObjectIdIre := []string{"Inner_example"} // []string | (optional)
- associatedObjectIdIsw := []string{"Inner_example"} // []string | (optional)
associatedObjectIdN := []string{"Inner_example"} // []string | (optional)
- associatedObjectIdNic := []string{"Inner_example"} // []string | (optional)
- associatedObjectIdNie := []string{"Inner_example"} // []string | (optional)
- associatedObjectIdNiew := []string{"Inner_example"} // []string | (optional)
- associatedObjectIdNire := []string{"Inner_example"} // []string | (optional)
- associatedObjectIdNisw := []string{"Inner_example"} // []string | (optional)
- associatedObjectIdNre := []string{"Inner_example"} // []string | (optional)
- associatedObjectIdRe := []string{"Inner_example"} // []string | (optional)
associatedObjectType := []int32{int32(123)} // []int32 | (optional)
associatedObjectTypeN := []int32{int32(123)} // []int32 | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
@@ -29794,19 +30427,7 @@ func main() {
dynamicGroupN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -29819,10 +30440,11 @@ func main() {
q := "q_example" // string | Search (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasStaticGroupAssociationsList(context.Background()).AssociatedObjectId(associatedObjectId).AssociatedObjectIdIc(associatedObjectIdIc).AssociatedObjectIdIe(associatedObjectIdIe).AssociatedObjectIdIew(associatedObjectIdIew).AssociatedObjectIdIre(associatedObjectIdIre).AssociatedObjectIdIsw(associatedObjectIdIsw).AssociatedObjectIdN(associatedObjectIdN).AssociatedObjectIdNic(associatedObjectIdNic).AssociatedObjectIdNie(associatedObjectIdNie).AssociatedObjectIdNiew(associatedObjectIdNiew).AssociatedObjectIdNire(associatedObjectIdNire).AssociatedObjectIdNisw(associatedObjectIdNisw).AssociatedObjectIdNre(associatedObjectIdNre).AssociatedObjectIdRe(associatedObjectIdRe).AssociatedObjectType(associatedObjectType).AssociatedObjectTypeN(associatedObjectTypeN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroup(dynamicGroup).DynamicGroupN(dynamicGroupN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Offset(offset).Q(q).Sort(sort).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasStaticGroupAssociationsList(context.Background()).AssociatedObjectId(associatedObjectId).AssociatedObjectIdN(associatedObjectIdN).AssociatedObjectType(associatedObjectType).AssociatedObjectTypeN(associatedObjectTypeN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroup(dynamicGroup).DynamicGroupN(dynamicGroupN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Offset(offset).Q(q).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasStaticGroupAssociationsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -29844,19 +30466,7 @@ Other parameters are passed through a pointer to a apiExtrasStaticGroupAssociati
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**associatedObjectId** | **[]string** | |
- **associatedObjectIdIc** | **[]string** | |
- **associatedObjectIdIe** | **[]string** | |
- **associatedObjectIdIew** | **[]string** | |
- **associatedObjectIdIre** | **[]string** | |
- **associatedObjectIdIsw** | **[]string** | |
**associatedObjectIdN** | **[]string** | |
- **associatedObjectIdNic** | **[]string** | |
- **associatedObjectIdNie** | **[]string** | |
- **associatedObjectIdNiew** | **[]string** | |
- **associatedObjectIdNire** | **[]string** | |
- **associatedObjectIdNisw** | **[]string** | |
- **associatedObjectIdNre** | **[]string** | |
- **associatedObjectIdRe** | **[]string** | |
**associatedObjectType** | **[]int32** | |
**associatedObjectTypeN** | **[]int32** | |
**created** | [**[]time.Time**](time.Time.md) | |
@@ -29870,19 +30480,7 @@ Name | Type | Description | Notes
**dynamicGroupN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -29895,6 +30493,7 @@ Name | Type | Description | Notes
**q** | **string** | Search |
**sort** | **string** | Which field to use when ordering the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -29990,7 +30589,7 @@ Name | Type | Description | Notes
## ExtrasStaticGroupAssociationsNotesList
-> PaginatedNoteList ExtrasStaticGroupAssociationsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList ExtrasStaticGroupAssociationsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -30014,10 +30613,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasStaticGroupAssociationsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasStaticGroupAssociationsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasStaticGroupAssociationsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -30047,6 +30647,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -30142,7 +30743,7 @@ Name | Type | Description | Notes
## ExtrasStaticGroupAssociationsRetrieve
-> StaticGroupAssociation ExtrasStaticGroupAssociationsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> StaticGroupAssociation ExtrasStaticGroupAssociationsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -30164,10 +30765,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this static group association.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasStaticGroupAssociationsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasStaticGroupAssociationsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasStaticGroupAssociationsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -30195,6 +30797,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -30630,7 +31233,7 @@ Name | Type | Description | Notes
## ExtrasStatusesList
-> PaginatedStatusList ExtrasStatusesList(ctx).Color(color).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIre(colorIre).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNire(colorNire).ColorNisw(colorNisw).ColorNre(colorNre).ColorRe(colorRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesIc(contentTypesIc).ContentTypesIe(contentTypesIe).ContentTypesIew(contentTypesIew).ContentTypesIre(contentTypesIre).ContentTypesIsw(contentTypesIsw).ContentTypesN(contentTypesN).ContentTypesNic(contentTypesNic).ContentTypesNie(contentTypesNie).ContentTypesNiew(contentTypesNiew).ContentTypesNire(contentTypesNire).ContentTypesNisw(contentTypesNisw).ContentTypesNre(contentTypesNre).ContentTypesRe(contentTypesRe).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedStatusList ExtrasStatusesList(ctx).Color(color).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIre(colorIre).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNire(colorNire).ColorNisw(colorNisw).ColorNre(colorNre).ColorRe(colorRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesN(contentTypesN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -30666,21 +31269,9 @@ func main() {
colorRe := []string{"Inner_example"} // []string | (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
contentTypes := []int32{int32(123)} // []int32 | (optional)
- contentTypesIc := []int32{int32(123)} // []int32 | (optional)
- contentTypesIe := []int32{int32(123)} // []int32 | (optional)
- contentTypesIew := []int32{int32(123)} // []int32 | (optional)
- contentTypesIre := []int32{int32(123)} // []int32 | (optional)
- contentTypesIsw := []int32{int32(123)} // []int32 | (optional)
contentTypesN := []int32{int32(123)} // []int32 | (optional)
- contentTypesNic := []int32{int32(123)} // []int32 | (optional)
- contentTypesNie := []int32{int32(123)} // []int32 | (optional)
- contentTypesNiew := []int32{int32(123)} // []int32 | (optional)
- contentTypesNire := []int32{int32(123)} // []int32 | (optional)
- contentTypesNisw := []int32{int32(123)} // []int32 | (optional)
- contentTypesNre := []int32{int32(123)} // []int32 | (optional)
- contentTypesRe := []int32{int32(123)} // []int32 | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -30689,22 +31280,10 @@ func main() {
createdLte := []time.Time{time.Now()} // []time.Time | (optional)
createdN := []time.Time{time.Now()} // []time.Time | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -30732,12 +31311,13 @@ func main() {
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasStatusesList(context.Background()).Color(color).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIre(colorIre).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNire(colorNire).ColorNisw(colorNisw).ColorNre(colorNre).ColorRe(colorRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesIc(contentTypesIc).ContentTypesIe(contentTypesIe).ContentTypesIew(contentTypesIew).ContentTypesIre(contentTypesIre).ContentTypesIsw(contentTypesIsw).ContentTypesN(contentTypesN).ContentTypesNic(contentTypesNic).ContentTypesNie(contentTypesNie).ContentTypesNiew(contentTypesNiew).ContentTypesNire(contentTypesNire).ContentTypesNisw(contentTypesNisw).ContentTypesNre(contentTypesNre).ContentTypesRe(contentTypesRe).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasStatusesList(context.Background()).Color(color).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIre(colorIre).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNire(colorNire).ColorNisw(colorNisw).ColorNre(colorNre).ColorRe(colorRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesN(contentTypesN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasStatusesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -30774,21 +31354,9 @@ Name | Type | Description | Notes
**colorRe** | **[]string** | |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**contentTypes** | **[]int32** | |
- **contentTypesIc** | **[]int32** | |
- **contentTypesIe** | **[]int32** | |
- **contentTypesIew** | **[]int32** | |
- **contentTypesIre** | **[]int32** | |
- **contentTypesIsw** | **[]int32** | |
**contentTypesN** | **[]int32** | |
- **contentTypesNic** | **[]int32** | |
- **contentTypesNie** | **[]int32** | |
- **contentTypesNiew** | **[]int32** | |
- **contentTypesNire** | **[]int32** | |
- **contentTypesNisw** | **[]int32** | |
- **contentTypesNre** | **[]int32** | |
- **contentTypesRe** | **[]int32** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -30797,22 +31365,10 @@ Name | Type | Description | Notes
**createdLte** | [**[]time.Time**](time.Time.md) | |
**createdN** | [**[]time.Time**](time.Time.md) | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -30840,8 +31396,9 @@ Name | Type | Description | Notes
**sort** | **string** | Which field to use when ordering the results. |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -30937,7 +31494,7 @@ Name | Type | Description | Notes
## ExtrasStatusesNotesList
-> PaginatedNoteList ExtrasStatusesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList ExtrasStatusesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -30961,10 +31518,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasStatusesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasStatusesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasStatusesNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -30994,6 +31552,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -31089,7 +31648,7 @@ Name | Type | Description | Notes
## ExtrasStatusesRetrieve
-> Status ExtrasStatusesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> Status ExtrasStatusesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -31111,10 +31670,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this status.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasStatusesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasStatusesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasStatusesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -31142,6 +31702,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -31577,7 +32138,7 @@ Name | Type | Description | Notes
## ExtrasTagsList
-> PaginatedTagList ExtrasTagsList(ctx).Color(color).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIre(colorIre).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNire(colorNire).ColorNisw(colorNisw).ColorNre(colorNre).ColorRe(colorRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesIc(contentTypesIc).ContentTypesIe(contentTypesIe).ContentTypesIew(contentTypesIew).ContentTypesIre(contentTypesIre).ContentTypesIsw(contentTypesIsw).ContentTypesN(contentTypesN).ContentTypesNic(contentTypesNic).ContentTypesNie(contentTypesNie).ContentTypesNiew(contentTypesNiew).ContentTypesNire(contentTypesNire).ContentTypesNisw(contentTypesNisw).ContentTypesNre(contentTypesNre).ContentTypesRe(contentTypesRe).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedTagList ExtrasTagsList(ctx).Color(color).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIre(colorIre).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNire(colorNire).ColorNisw(colorNisw).ColorNre(colorNre).ColorRe(colorRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesN(contentTypesN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -31613,21 +32174,9 @@ func main() {
colorRe := []string{"Inner_example"} // []string | (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
contentTypes := []int32{int32(123)} // []int32 | (optional)
- contentTypesIc := []int32{int32(123)} // []int32 | (optional)
- contentTypesIe := []int32{int32(123)} // []int32 | (optional)
- contentTypesIew := []int32{int32(123)} // []int32 | (optional)
- contentTypesIre := []int32{int32(123)} // []int32 | (optional)
- contentTypesIsw := []int32{int32(123)} // []int32 | (optional)
contentTypesN := []int32{int32(123)} // []int32 | (optional)
- contentTypesNic := []int32{int32(123)} // []int32 | (optional)
- contentTypesNie := []int32{int32(123)} // []int32 | (optional)
- contentTypesNiew := []int32{int32(123)} // []int32 | (optional)
- contentTypesNire := []int32{int32(123)} // []int32 | (optional)
- contentTypesNisw := []int32{int32(123)} // []int32 | (optional)
- contentTypesNre := []int32{int32(123)} // []int32 | (optional)
- contentTypesRe := []int32{int32(123)} // []int32 | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -31636,22 +32185,10 @@ func main() {
createdLte := []time.Time{time.Now()} // []time.Time | (optional)
createdN := []time.Time{time.Now()} // []time.Time | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -31679,12 +32216,13 @@ func main() {
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasTagsList(context.Background()).Color(color).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIre(colorIre).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNire(colorNire).ColorNisw(colorNisw).ColorNre(colorNre).ColorRe(colorRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesIc(contentTypesIc).ContentTypesIe(contentTypesIe).ContentTypesIew(contentTypesIew).ContentTypesIre(contentTypesIre).ContentTypesIsw(contentTypesIsw).ContentTypesN(contentTypesN).ContentTypesNic(contentTypesNic).ContentTypesNie(contentTypesNie).ContentTypesNiew(contentTypesNiew).ContentTypesNire(contentTypesNire).ContentTypesNisw(contentTypesNisw).ContentTypesNre(contentTypesNre).ContentTypesRe(contentTypesRe).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasTagsList(context.Background()).Color(color).ColorIc(colorIc).ColorIe(colorIe).ColorIew(colorIew).ColorIre(colorIre).ColorIsw(colorIsw).ColorN(colorN).ColorNic(colorNic).ColorNie(colorNie).ColorNiew(colorNiew).ColorNire(colorNire).ColorNisw(colorNisw).ColorNre(colorNre).ColorRe(colorRe).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesN(contentTypesN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasTagsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -31721,21 +32259,9 @@ Name | Type | Description | Notes
**colorRe** | **[]string** | |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**contentTypes** | **[]int32** | |
- **contentTypesIc** | **[]int32** | |
- **contentTypesIe** | **[]int32** | |
- **contentTypesIew** | **[]int32** | |
- **contentTypesIre** | **[]int32** | |
- **contentTypesIsw** | **[]int32** | |
**contentTypesN** | **[]int32** | |
- **contentTypesNic** | **[]int32** | |
- **contentTypesNie** | **[]int32** | |
- **contentTypesNiew** | **[]int32** | |
- **contentTypesNire** | **[]int32** | |
- **contentTypesNisw** | **[]int32** | |
- **contentTypesNre** | **[]int32** | |
- **contentTypesRe** | **[]int32** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -31744,22 +32270,10 @@ Name | Type | Description | Notes
**createdLte** | [**[]time.Time**](time.Time.md) | |
**createdN** | [**[]time.Time**](time.Time.md) | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -31787,8 +32301,9 @@ Name | Type | Description | Notes
**sort** | **string** | Which field to use when ordering the results. |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -31884,7 +32399,7 @@ Name | Type | Description | Notes
## ExtrasTagsNotesList
-> PaginatedNoteList ExtrasTagsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList ExtrasTagsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -31908,10 +32423,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasTagsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasTagsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasTagsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -31941,6 +32457,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -32036,7 +32553,7 @@ Name | Type | Description | Notes
## ExtrasTagsRetrieve
-> Tag ExtrasTagsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> Tag ExtrasTagsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -32058,10 +32575,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this tag.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasTagsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasTagsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasTagsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -32089,6 +32607,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -32524,7 +33043,7 @@ Name | Type | Description | Notes
## ExtrasTeamsList
-> PaginatedTeamList ExtrasTeamsList(ctx).Address(address).AddressIc(addressIc).AddressIe(addressIe).AddressIew(addressIew).AddressIre(addressIre).AddressIsw(addressIsw).AddressN(addressN).AddressNic(addressNic).AddressNie(addressNie).AddressNiew(addressNiew).AddressNire(addressNire).AddressNisw(addressNisw).AddressNre(addressNre).AddressRe(addressRe).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).Contacts(contacts).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Email(email).EmailIc(emailIc).EmailIe(emailIe).EmailIew(emailIew).EmailIre(emailIre).EmailIsw(emailIsw).EmailN(emailN).EmailNic(emailNic).EmailNie(emailNie).EmailNiew(emailNiew).EmailNire(emailNire).EmailNisw(emailNisw).EmailNre(emailNre).EmailRe(emailRe).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Phone(phone).PhoneIc(phoneIc).PhoneIe(phoneIe).PhoneIew(phoneIew).PhoneIre(phoneIre).PhoneIsw(phoneIsw).PhoneN(phoneN).PhoneNic(phoneNic).PhoneNie(phoneNie).PhoneNiew(phoneNiew).PhoneNire(phoneNire).PhoneNisw(phoneNisw).PhoneNre(phoneNre).PhoneRe(phoneRe).Q(q).SimilarToLocationData(similarToLocationData).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Depth(depth).Execute()
+> PaginatedTeamList ExtrasTeamsList(ctx).Address(address).AddressIc(addressIc).AddressIe(addressIe).AddressIew(addressIew).AddressIre(addressIre).AddressIsw(addressIsw).AddressN(addressN).AddressNic(addressNic).AddressNie(addressNie).AddressNiew(addressNiew).AddressNire(addressNire).AddressNisw(addressNisw).AddressNre(addressNre).AddressRe(addressRe).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).Contacts(contacts).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Email(email).EmailIc(emailIc).EmailIe(emailIe).EmailIew(emailIew).EmailIre(emailIre).EmailIsw(emailIsw).EmailN(emailN).EmailNic(emailNic).EmailNie(emailNie).EmailNiew(emailNiew).EmailNire(emailNire).EmailNisw(emailNisw).EmailNre(emailNre).EmailRe(emailRe).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Phone(phone).PhoneIc(phoneIc).PhoneIe(phoneIe).PhoneIew(phoneIew).PhoneIre(phoneIre).PhoneIsw(phoneIsw).PhoneN(phoneN).PhoneNic(phoneNic).PhoneNie(phoneNie).PhoneNiew(phoneNiew).PhoneNire(phoneNire).PhoneNisw(phoneNisw).PhoneNre(phoneNre).PhoneRe(phoneRe).Q(q).SimilarToLocationData(similarToLocationData).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -32582,7 +33101,7 @@ func main() {
createdLte := []time.Time{time.Now()} // []time.Time | (optional)
createdN := []time.Time{time.Now()} // []time.Time | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
email := []string{"Inner_example"} // []string | (optional)
emailIc := []string{"Inner_example"} // []string | (optional)
emailIe := []string{"Inner_example"} // []string | (optional)
@@ -32599,19 +33118,7 @@ func main() {
emailRe := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -32656,10 +33163,11 @@ func main() {
tagsIsnull := true // bool | (optional)
tagsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasTeamsList(context.Background()).Address(address).AddressIc(addressIc).AddressIe(addressIe).AddressIew(addressIew).AddressIre(addressIre).AddressIsw(addressIsw).AddressN(addressN).AddressNic(addressNic).AddressNie(addressNie).AddressNiew(addressNiew).AddressNire(addressNire).AddressNisw(addressNisw).AddressNre(addressNre).AddressRe(addressRe).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).Contacts(contacts).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Email(email).EmailIc(emailIc).EmailIe(emailIe).EmailIew(emailIew).EmailIre(emailIre).EmailIsw(emailIsw).EmailN(emailN).EmailNic(emailNic).EmailNie(emailNie).EmailNiew(emailNiew).EmailNire(emailNire).EmailNisw(emailNisw).EmailNre(emailNre).EmailRe(emailRe).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Phone(phone).PhoneIc(phoneIc).PhoneIe(phoneIe).PhoneIew(phoneIew).PhoneIre(phoneIre).PhoneIsw(phoneIsw).PhoneN(phoneN).PhoneNic(phoneNic).PhoneNie(phoneNie).PhoneNiew(phoneNiew).PhoneNire(phoneNire).PhoneNisw(phoneNisw).PhoneNre(phoneNre).PhoneRe(phoneRe).Q(q).SimilarToLocationData(similarToLocationData).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasTeamsList(context.Background()).Address(address).AddressIc(addressIc).AddressIe(addressIe).AddressIew(addressIew).AddressIre(addressIre).AddressIsw(addressIsw).AddressN(addressN).AddressNic(addressNic).AddressNie(addressNie).AddressNiew(addressNiew).AddressNire(addressNire).AddressNisw(addressNisw).AddressNre(addressNre).AddressRe(addressRe).Comments(comments).CommentsIc(commentsIc).CommentsIe(commentsIe).CommentsIew(commentsIew).CommentsIre(commentsIre).CommentsIsw(commentsIsw).CommentsN(commentsN).CommentsNic(commentsNic).CommentsNie(commentsNie).CommentsNiew(commentsNiew).CommentsNire(commentsNire).CommentsNisw(commentsNisw).CommentsNre(commentsNre).CommentsRe(commentsRe).Contacts(contacts).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Email(email).EmailIc(emailIc).EmailIe(emailIe).EmailIew(emailIew).EmailIre(emailIre).EmailIsw(emailIsw).EmailN(emailN).EmailNic(emailNic).EmailNie(emailNie).EmailNiew(emailNiew).EmailNire(emailNire).EmailNisw(emailNisw).EmailNre(emailNre).EmailRe(emailRe).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Phone(phone).PhoneIc(phoneIc).PhoneIe(phoneIe).PhoneIew(phoneIew).PhoneIre(phoneIre).PhoneIsw(phoneIsw).PhoneN(phoneN).PhoneNic(phoneNic).PhoneNie(phoneNie).PhoneNiew(phoneNiew).PhoneNire(phoneNire).PhoneNisw(phoneNisw).PhoneNre(phoneNre).PhoneRe(phoneRe).Q(q).SimilarToLocationData(similarToLocationData).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasTeamsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -32718,7 +33226,7 @@ Name | Type | Description | Notes
**createdLte** | [**[]time.Time**](time.Time.md) | |
**createdN** | [**[]time.Time**](time.Time.md) | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**email** | **[]string** | |
**emailIc** | **[]string** | |
**emailIe** | **[]string** | |
@@ -32735,19 +33243,7 @@ Name | Type | Description | Notes
**emailRe** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -32792,6 +33288,7 @@ Name | Type | Description | Notes
**tagsIsnull** | **bool** | |
**tagsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -32887,7 +33384,7 @@ Name | Type | Description | Notes
## ExtrasTeamsNotesList
-> PaginatedNoteList ExtrasTeamsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList ExtrasTeamsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -32911,10 +33408,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasTeamsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasTeamsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasTeamsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -32944,6 +33442,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -33039,7 +33538,7 @@ Name | Type | Description | Notes
## ExtrasTeamsRetrieve
-> Team ExtrasTeamsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> Team ExtrasTeamsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -33061,10 +33560,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this team.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasTeamsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasTeamsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasTeamsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -33092,6 +33592,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -33527,7 +34028,7 @@ Name | Type | Description | Notes
## ExtrasUserSavedViewAssociationsList
-> PaginatedUserSavedViewAssociationList ExtrasUserSavedViewAssociationsList(ctx).Created(created).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).Limit(limit).Offset(offset).SavedView(savedView).SavedViewN(savedViewN).Sort(sort).User(user).UserN(userN).ViewName(viewName).ViewNameIc(viewNameIc).ViewNameIe(viewNameIe).ViewNameIew(viewNameIew).ViewNameIre(viewNameIre).ViewNameIsw(viewNameIsw).ViewNameN(viewNameN).ViewNameNic(viewNameNic).ViewNameNie(viewNameNie).ViewNameNiew(viewNameNiew).ViewNameNire(viewNameNire).ViewNameNisw(viewNameNisw).ViewNameNre(viewNameNre).ViewNameRe(viewNameRe).Depth(depth).Execute()
+> PaginatedUserSavedViewAssociationList ExtrasUserSavedViewAssociationsList(ctx).Created(created).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).Limit(limit).Offset(offset).SavedView(savedView).SavedViewN(savedViewN).Sort(sort).User(user).UserN(userN).ViewName(viewName).ViewNameIc(viewNameIc).ViewNameIe(viewNameIe).ViewNameIew(viewNameIew).ViewNameIre(viewNameIre).ViewNameIsw(viewNameIsw).ViewNameN(viewNameN).ViewNameNic(viewNameNic).ViewNameNie(viewNameNie).ViewNameNiew(viewNameNiew).ViewNameNire(viewNameNire).ViewNameNisw(viewNameNisw).ViewNameNre(viewNameNre).ViewNameRe(viewNameRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -33550,19 +34051,7 @@ func main() {
created := []time.Time{time.Now()} // []time.Time | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
@@ -33586,10 +34075,11 @@ func main() {
viewNameNre := []string{"Inner_example"} // []string | (optional)
viewNameRe := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasUserSavedViewAssociationsList(context.Background()).Created(created).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).Limit(limit).Offset(offset).SavedView(savedView).SavedViewN(savedViewN).Sort(sort).User(user).UserN(userN).ViewName(viewName).ViewNameIc(viewNameIc).ViewNameIe(viewNameIe).ViewNameIew(viewNameIew).ViewNameIre(viewNameIre).ViewNameIsw(viewNameIsw).ViewNameN(viewNameN).ViewNameNic(viewNameNic).ViewNameNie(viewNameNie).ViewNameNiew(viewNameNiew).ViewNameNire(viewNameNire).ViewNameNisw(viewNameNisw).ViewNameNre(viewNameNre).ViewNameRe(viewNameRe).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasUserSavedViewAssociationsList(context.Background()).Created(created).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).Limit(limit).Offset(offset).SavedView(savedView).SavedViewN(savedViewN).Sort(sort).User(user).UserN(userN).ViewName(viewName).ViewNameIc(viewNameIc).ViewNameIe(viewNameIe).ViewNameIew(viewNameIew).ViewNameIre(viewNameIre).ViewNameIsw(viewNameIsw).ViewNameN(viewNameN).ViewNameNic(viewNameNic).ViewNameNie(viewNameNie).ViewNameNiew(viewNameNiew).ViewNameNire(viewNameNire).ViewNameNisw(viewNameNisw).ViewNameNre(viewNameNre).ViewNameRe(viewNameRe).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasUserSavedViewAssociationsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -33613,19 +34103,7 @@ Name | Type | Description | Notes
**created** | [**[]time.Time**](time.Time.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
@@ -33649,6 +34127,7 @@ Name | Type | Description | Notes
**viewNameNre** | **[]string** | |
**viewNameRe** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -33744,7 +34223,7 @@ Name | Type | Description | Notes
## ExtrasUserSavedViewAssociationsRetrieve
-> UserSavedViewAssociation ExtrasUserSavedViewAssociationsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> UserSavedViewAssociation ExtrasUserSavedViewAssociationsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -33766,10 +34245,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this user saved view association.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasUserSavedViewAssociationsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasUserSavedViewAssociationsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasUserSavedViewAssociationsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -33797,6 +34277,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -34232,7 +34713,7 @@ Name | Type | Description | Notes
## ExtrasWebhooksList
-> PaginatedWebhookList ExtrasWebhooksList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesIc(contentTypesIc).ContentTypesIe(contentTypesIe).ContentTypesIew(contentTypesIew).ContentTypesIre(contentTypesIre).ContentTypesIsw(contentTypesIsw).ContentTypesN(contentTypesN).ContentTypesNic(contentTypesNic).ContentTypesNie(contentTypesNie).ContentTypesNiew(contentTypesNiew).ContentTypesNire(contentTypesNire).ContentTypesNisw(contentTypesNisw).ContentTypesNre(contentTypesNre).ContentTypesRe(contentTypesRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Enabled(enabled).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).PayloadUrl(payloadUrl).PayloadUrlIc(payloadUrlIc).PayloadUrlIe(payloadUrlIe).PayloadUrlIew(payloadUrlIew).PayloadUrlIre(payloadUrlIre).PayloadUrlIsw(payloadUrlIsw).PayloadUrlN(payloadUrlN).PayloadUrlNic(payloadUrlNic).PayloadUrlNie(payloadUrlNie).PayloadUrlNiew(payloadUrlNiew).PayloadUrlNire(payloadUrlNire).PayloadUrlNisw(payloadUrlNisw).PayloadUrlNre(payloadUrlNre).PayloadUrlRe(payloadUrlRe).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).TypeCreate(typeCreate).TypeDelete(typeDelete).TypeUpdate(typeUpdate).Depth(depth).Execute()
+> PaginatedWebhookList ExtrasWebhooksList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesN(contentTypesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Enabled(enabled).Format(format).Id(id).IdN(idN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).PayloadUrl(payloadUrl).PayloadUrlIc(payloadUrlIc).PayloadUrlIe(payloadUrlIe).PayloadUrlIew(payloadUrlIew).PayloadUrlIre(payloadUrlIre).PayloadUrlIsw(payloadUrlIsw).PayloadUrlN(payloadUrlN).PayloadUrlNic(payloadUrlNic).PayloadUrlNie(payloadUrlNie).PayloadUrlNiew(payloadUrlNiew).PayloadUrlNire(payloadUrlNire).PayloadUrlNisw(payloadUrlNisw).PayloadUrlNre(payloadUrlNre).PayloadUrlRe(payloadUrlRe).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).TypeCreate(typeCreate).TypeDelete(typeDelete).TypeUpdate(typeUpdate).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -34253,39 +34734,15 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
contentTypes := []int32{int32(123)} // []int32 | (optional)
- contentTypesIc := []int32{int32(123)} // []int32 | (optional)
- contentTypesIe := []int32{int32(123)} // []int32 | (optional)
- contentTypesIew := []int32{int32(123)} // []int32 | (optional)
- contentTypesIre := []int32{int32(123)} // []int32 | (optional)
- contentTypesIsw := []int32{int32(123)} // []int32 | (optional)
contentTypesN := []int32{int32(123)} // []int32 | (optional)
- contentTypesNic := []int32{int32(123)} // []int32 | (optional)
- contentTypesNie := []int32{int32(123)} // []int32 | (optional)
- contentTypesNiew := []int32{int32(123)} // []int32 | (optional)
- contentTypesNire := []int32{int32(123)} // []int32 | (optional)
- contentTypesNisw := []int32{int32(123)} // []int32 | (optional)
- contentTypesNre := []int32{int32(123)} // []int32 | (optional)
- contentTypesRe := []int32{int32(123)} // []int32 | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
enabled := true // bool | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
name := []string{"Inner_example"} // []string | (optional)
nameIc := []string{"Inner_example"} // []string | (optional)
@@ -34320,15 +34777,16 @@ func main() {
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
typeCreate := true // bool | (optional)
typeDelete := true // bool | (optional)
typeUpdate := true // bool | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasWebhooksList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesIc(contentTypesIc).ContentTypesIe(contentTypesIe).ContentTypesIew(contentTypesIew).ContentTypesIre(contentTypesIre).ContentTypesIsw(contentTypesIsw).ContentTypesN(contentTypesN).ContentTypesNic(contentTypesNic).ContentTypesNie(contentTypesNie).ContentTypesNiew(contentTypesNiew).ContentTypesNire(contentTypesNire).ContentTypesNisw(contentTypesNisw).ContentTypesNre(contentTypesNre).ContentTypesRe(contentTypesRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Enabled(enabled).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).PayloadUrl(payloadUrl).PayloadUrlIc(payloadUrlIc).PayloadUrlIe(payloadUrlIe).PayloadUrlIew(payloadUrlIew).PayloadUrlIre(payloadUrlIre).PayloadUrlIsw(payloadUrlIsw).PayloadUrlN(payloadUrlN).PayloadUrlNic(payloadUrlNic).PayloadUrlNie(payloadUrlNie).PayloadUrlNiew(payloadUrlNiew).PayloadUrlNire(payloadUrlNire).PayloadUrlNisw(payloadUrlNisw).PayloadUrlNre(payloadUrlNre).PayloadUrlRe(payloadUrlRe).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).TypeCreate(typeCreate).TypeDelete(typeDelete).TypeUpdate(typeUpdate).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasWebhooksList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).ContentTypes(contentTypes).ContentTypesN(contentTypesN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Enabled(enabled).Format(format).Id(id).IdN(idN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).PayloadUrl(payloadUrl).PayloadUrlIc(payloadUrlIc).PayloadUrlIe(payloadUrlIe).PayloadUrlIew(payloadUrlIew).PayloadUrlIre(payloadUrlIre).PayloadUrlIsw(payloadUrlIsw).PayloadUrlN(payloadUrlN).PayloadUrlNic(payloadUrlNic).PayloadUrlNie(payloadUrlNie).PayloadUrlNiew(payloadUrlNiew).PayloadUrlNire(payloadUrlNire).PayloadUrlNisw(payloadUrlNisw).PayloadUrlNre(payloadUrlNre).PayloadUrlRe(payloadUrlRe).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).TypeCreate(typeCreate).TypeDelete(typeDelete).TypeUpdate(typeUpdate).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasWebhooksList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -34351,39 +34809,15 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**contentTypes** | **[]int32** | |
- **contentTypesIc** | **[]int32** | |
- **contentTypesIe** | **[]int32** | |
- **contentTypesIew** | **[]int32** | |
- **contentTypesIre** | **[]int32** | |
- **contentTypesIsw** | **[]int32** | |
**contentTypesN** | **[]int32** | |
- **contentTypesNic** | **[]int32** | |
- **contentTypesNie** | **[]int32** | |
- **contentTypesNiew** | **[]int32** | |
- **contentTypesNire** | **[]int32** | |
- **contentTypesNisw** | **[]int32** | |
- **contentTypesNre** | **[]int32** | |
- **contentTypesRe** | **[]int32** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**enabled** | **bool** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**limit** | **int32** | Number of results to return per page. |
**name** | **[]string** | |
**nameIc** | **[]string** | |
@@ -34418,11 +34852,12 @@ Name | Type | Description | Notes
**sort** | **string** | Which field to use when ordering the results. |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**typeCreate** | **bool** | |
**typeDelete** | **bool** | |
**typeUpdate** | **bool** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -34518,7 +34953,7 @@ Name | Type | Description | Notes
## ExtrasWebhooksNotesList
-> PaginatedNoteList ExtrasWebhooksNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList ExtrasWebhooksNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -34542,10 +34977,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasWebhooksNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasWebhooksNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasWebhooksNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -34575,6 +35011,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -34670,7 +35107,7 @@ Name | Type | Description | Notes
## ExtrasWebhooksRetrieve
-> Webhook ExtrasWebhooksRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> Webhook ExtrasWebhooksRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -34692,10 +35129,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this webhook.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.ExtrasAPI.ExtrasWebhooksRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.ExtrasAPI.ExtrasWebhooksRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ExtrasAPI.ExtrasWebhooksRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -34723,6 +35161,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
diff --git a/docs/FailoverStrategyEnum.md b/docs/FailoverStrategyEnum.md
index 2c2ee144..75fe9a58 100644
--- a/docs/FailoverStrategyEnum.md
+++ b/docs/FailoverStrategyEnum.md
@@ -3,9 +3,9 @@
## Enum
-* `ACTIVE` (value: `"active-active"`)
+* `ACTIVE_ACTIVE` (value: `"active-active"`)
-* `PASSIVE` (value: `"active-passive"`)
+* `ACTIVE_PASSIVE` (value: `"active-passive"`)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/FileProxy.md b/docs/FileProxy.md
index c5a846e6..8cf6d9f2 100644
--- a/docs/FileProxy.md
+++ b/docs/FileProxy.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -17,7 +17,7 @@ Name | Type | Description | Notes
### NewFileProxy
-`func NewFileProxy(id string, objectType string, display string, url string, naturalSlug string, name string, uploadedAt time.Time, ) *FileProxy`
+`func NewFileProxy(objectType string, display string, url string, naturalSlug string, name string, uploadedAt time.Time, ) *FileProxy`
NewFileProxy instantiates a new FileProxy object
This constructor will assign default values to properties that have it defined,
@@ -51,6 +51,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *FileProxy) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/FrequencyEnum.md b/docs/FrequencyEnum.md
new file mode 100644
index 00000000..4e8c40a0
--- /dev/null
+++ b/docs/FrequencyEnum.md
@@ -0,0 +1,15 @@
+# FrequencyEnum
+
+## Enum
+
+
+* `_2_4_GHZ` (value: `"2.4GHz"`)
+
+* `_5_GHZ` (value: `"5GHz"`)
+
+* `_6_GHZ` (value: `"6GHz"`)
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/FrontPort.md b/docs/FrontPort.md
index 5e16ee2f..60e41917 100644
--- a/docs/FrontPort.md
+++ b/docs/FrontPort.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -30,7 +30,7 @@ Name | Type | Description | Notes
### NewFrontPort
-`func NewFrontPort(id string, objectType string, display string, url string, naturalSlug string, cablePeerType NullableString, cablePeer NullableCableTermination, type_ FrontPortType, name string, cable NullableCircuitCircuitTerminationA, rearPort BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *FrontPort`
+`func NewFrontPort(objectType string, display string, url string, naturalSlug string, cablePeerType NullableString, cablePeer NullableCableTermination, type_ FrontPortType, name string, cable NullableCircuitCircuitTerminationA, rearPort BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *FrontPort`
NewFrontPort instantiates a new FrontPort object
This constructor will assign default values to properties that have it defined,
@@ -64,6 +64,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *FrontPort) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/FrontPortTemplate.md b/docs/FrontPortTemplate.md
index 1d5c4374..77344c06 100644
--- a/docs/FrontPortTemplate.md
+++ b/docs/FrontPortTemplate.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -26,7 +26,7 @@ Name | Type | Description | Notes
### NewFrontPortTemplate
-`func NewFrontPortTemplate(id string, objectType string, display string, url string, naturalSlug string, notesUrl string, type_ FrontPortType, name string, rearPortTemplate BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, ) *FrontPortTemplate`
+`func NewFrontPortTemplate(objectType string, display string, url string, naturalSlug string, notesUrl string, type_ FrontPortType, name string, rearPortTemplate BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, ) *FrontPortTemplate`
NewFrontPortTemplate instantiates a new FrontPortTemplate object
This constructor will assign default values to properties that have it defined,
@@ -60,6 +60,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *FrontPortTemplate) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/GitRepository.md b/docs/GitRepository.md
index 7084ddd8..b4225fc2 100644
--- a/docs/GitRepository.md
+++ b/docs/GitRepository.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -20,12 +20,13 @@ Name | Type | Description | Notes
**LastUpdated** | **NullableTime** | | [readonly]
**NotesUrl** | **string** | | [readonly]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
## Methods
### NewGitRepository
-`func NewGitRepository(id string, objectType string, display string, url string, naturalSlug string, name string, remoteUrl string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *GitRepository`
+`func NewGitRepository(objectType string, display string, url string, naturalSlug string, name string, remoteUrl string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *GitRepository`
NewGitRepository instantiates a new GitRepository object
This constructor will assign default values to properties that have it defined,
@@ -59,6 +60,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *GitRepository) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
@@ -420,6 +426,31 @@ SetCustomFields sets CustomFields field to given value.
HasCustomFields returns a boolean if a field has been set.
+### GetTags
+
+`func (o *GitRepository) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *GitRepository) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *GitRepository) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *GitRepository) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/GitRepositoryRequest.md b/docs/GitRepositoryRequest.md
index 319650d5..f093b2d4 100644
--- a/docs/GitRepositoryRequest.md
+++ b/docs/GitRepositoryRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**ProvidedContents** | Pointer to [**[]BulkWritableGitRepositoryRequestProvidedContentsInner**](BulkWritableGitRepositoryRequestProvidedContentsInner.md) | | [optional]
**Name** | **string** | |
**Slug** | Pointer to **string** | Internal field name. Please use underscores rather than dashes in this key. | [optional]
@@ -13,6 +14,7 @@ Name | Type | Description | Notes
**SecretsGroup** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
## Methods
@@ -33,6 +35,31 @@ NewGitRepositoryRequestWithDefaults instantiates a new GitRepositoryRequest obje
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *GitRepositoryRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *GitRepositoryRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *GitRepositoryRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *GitRepositoryRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetProvidedContents
`func (o *GitRepositoryRequest) GetProvidedContents() []BulkWritableGitRepositoryRequestProvidedContentsInner`
@@ -258,6 +285,31 @@ SetRelationships sets Relationships field to given value.
HasRelationships returns a boolean if a field has been set.
+### GetTags
+
+`func (o *GitRepositoryRequest) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *GitRepositoryRequest) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *GitRepositoryRequest) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *GitRepositoryRequest) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/GitRepositorySyncResponse.md b/docs/GitRepositorySyncResponse.md
new file mode 100644
index 00000000..470f3ec8
--- /dev/null
+++ b/docs/GitRepositorySyncResponse.md
@@ -0,0 +1,72 @@
+# GitRepositorySyncResponse
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Message** | **string** | | [readonly]
+**JobResult** | [**JobResult**](JobResult.md) | | [readonly]
+
+## Methods
+
+### NewGitRepositorySyncResponse
+
+`func NewGitRepositorySyncResponse(message string, jobResult JobResult, ) *GitRepositorySyncResponse`
+
+NewGitRepositorySyncResponse instantiates a new GitRepositorySyncResponse object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewGitRepositorySyncResponseWithDefaults
+
+`func NewGitRepositorySyncResponseWithDefaults() *GitRepositorySyncResponse`
+
+NewGitRepositorySyncResponseWithDefaults instantiates a new GitRepositorySyncResponse object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetMessage
+
+`func (o *GitRepositorySyncResponse) GetMessage() string`
+
+GetMessage returns the Message field if non-nil, zero value otherwise.
+
+### GetMessageOk
+
+`func (o *GitRepositorySyncResponse) GetMessageOk() (*string, bool)`
+
+GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetMessage
+
+`func (o *GitRepositorySyncResponse) SetMessage(v string)`
+
+SetMessage sets Message field to given value.
+
+
+### GetJobResult
+
+`func (o *GitRepositorySyncResponse) GetJobResult() JobResult`
+
+GetJobResult returns the JobResult field if non-nil, zero value otherwise.
+
+### GetJobResultOk
+
+`func (o *GitRepositorySyncResponse) GetJobResultOk() (*JobResult, bool)`
+
+GetJobResultOk returns a tuple with the JobResult field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetJobResult
+
+`func (o *GitRepositorySyncResponse) SetJobResult(v JobResult)`
+
+SetJobResult sets JobResult field to given value.
+
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/GraphQLQuery.md b/docs/GraphQLQuery.md
index c4d58126..7e2a2dcb 100644
--- a/docs/GraphQLQuery.md
+++ b/docs/GraphQLQuery.md
@@ -4,12 +4,15 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
**NaturalSlug** | **string** | | [readonly]
**Variables** | **map[string]interface{}** | | [readonly]
+**OwnerContentType** | Pointer to **NullableString** | | [optional]
+**Owner** | [**NullableNestedGitRepository**](NestedGitRepository.md) | | [readonly]
+**OwnerObjectId** | Pointer to **NullableString** | | [optional]
**Name** | **string** | |
**Query** | **string** | |
**Created** | **NullableTime** | | [readonly]
@@ -20,7 +23,7 @@ Name | Type | Description | Notes
### NewGraphQLQuery
-`func NewGraphQLQuery(id string, objectType string, display string, url string, naturalSlug string, variables map[string]interface{}, name string, query string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *GraphQLQuery`
+`func NewGraphQLQuery(objectType string, display string, url string, naturalSlug string, variables map[string]interface{}, owner NullableNestedGitRepository, name string, query string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *GraphQLQuery`
NewGraphQLQuery instantiates a new GraphQLQuery object
This constructor will assign default values to properties that have it defined,
@@ -54,6 +57,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *GraphQLQuery) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
@@ -155,6 +163,106 @@ and a boolean to check if the value has been set.
SetVariables sets Variables field to given value.
+### GetOwnerContentType
+
+`func (o *GraphQLQuery) GetOwnerContentType() string`
+
+GetOwnerContentType returns the OwnerContentType field if non-nil, zero value otherwise.
+
+### GetOwnerContentTypeOk
+
+`func (o *GraphQLQuery) GetOwnerContentTypeOk() (*string, bool)`
+
+GetOwnerContentTypeOk returns a tuple with the OwnerContentType field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetOwnerContentType
+
+`func (o *GraphQLQuery) SetOwnerContentType(v string)`
+
+SetOwnerContentType sets OwnerContentType field to given value.
+
+### HasOwnerContentType
+
+`func (o *GraphQLQuery) HasOwnerContentType() bool`
+
+HasOwnerContentType returns a boolean if a field has been set.
+
+### SetOwnerContentTypeNil
+
+`func (o *GraphQLQuery) SetOwnerContentTypeNil(b bool)`
+
+ SetOwnerContentTypeNil sets the value for OwnerContentType to be an explicit nil
+
+### UnsetOwnerContentType
+`func (o *GraphQLQuery) UnsetOwnerContentType()`
+
+UnsetOwnerContentType ensures that no value is present for OwnerContentType, not even an explicit nil
+### GetOwner
+
+`func (o *GraphQLQuery) GetOwner() NestedGitRepository`
+
+GetOwner returns the Owner field if non-nil, zero value otherwise.
+
+### GetOwnerOk
+
+`func (o *GraphQLQuery) GetOwnerOk() (*NestedGitRepository, bool)`
+
+GetOwnerOk returns a tuple with the Owner field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetOwner
+
+`func (o *GraphQLQuery) SetOwner(v NestedGitRepository)`
+
+SetOwner sets Owner field to given value.
+
+
+### SetOwnerNil
+
+`func (o *GraphQLQuery) SetOwnerNil(b bool)`
+
+ SetOwnerNil sets the value for Owner to be an explicit nil
+
+### UnsetOwner
+`func (o *GraphQLQuery) UnsetOwner()`
+
+UnsetOwner ensures that no value is present for Owner, not even an explicit nil
+### GetOwnerObjectId
+
+`func (o *GraphQLQuery) GetOwnerObjectId() string`
+
+GetOwnerObjectId returns the OwnerObjectId field if non-nil, zero value otherwise.
+
+### GetOwnerObjectIdOk
+
+`func (o *GraphQLQuery) GetOwnerObjectIdOk() (*string, bool)`
+
+GetOwnerObjectIdOk returns a tuple with the OwnerObjectId field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetOwnerObjectId
+
+`func (o *GraphQLQuery) SetOwnerObjectId(v string)`
+
+SetOwnerObjectId sets OwnerObjectId field to given value.
+
+### HasOwnerObjectId
+
+`func (o *GraphQLQuery) HasOwnerObjectId() bool`
+
+HasOwnerObjectId returns a boolean if a field has been set.
+
+### SetOwnerObjectIdNil
+
+`func (o *GraphQLQuery) SetOwnerObjectIdNil(b bool)`
+
+ SetOwnerObjectIdNil sets the value for OwnerObjectId to be an explicit nil
+
+### UnsetOwnerObjectId
+`func (o *GraphQLQuery) UnsetOwnerObjectId()`
+
+UnsetOwnerObjectId ensures that no value is present for OwnerObjectId, not even an explicit nil
### GetName
`func (o *GraphQLQuery) GetName() string`
diff --git a/docs/GraphQLQueryRequest.md b/docs/GraphQLQueryRequest.md
index dee04316..30037866 100644
--- a/docs/GraphQLQueryRequest.md
+++ b/docs/GraphQLQueryRequest.md
@@ -4,6 +4,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
+**OwnerContentType** | Pointer to **NullableString** | | [optional]
+**OwnerObjectId** | Pointer to **NullableString** | | [optional]
**Name** | **string** | |
**Query** | **string** | |
@@ -26,6 +29,101 @@ NewGraphQLQueryRequestWithDefaults instantiates a new GraphQLQueryRequest object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *GraphQLQueryRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *GraphQLQueryRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *GraphQLQueryRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *GraphQLQueryRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
+### GetOwnerContentType
+
+`func (o *GraphQLQueryRequest) GetOwnerContentType() string`
+
+GetOwnerContentType returns the OwnerContentType field if non-nil, zero value otherwise.
+
+### GetOwnerContentTypeOk
+
+`func (o *GraphQLQueryRequest) GetOwnerContentTypeOk() (*string, bool)`
+
+GetOwnerContentTypeOk returns a tuple with the OwnerContentType field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetOwnerContentType
+
+`func (o *GraphQLQueryRequest) SetOwnerContentType(v string)`
+
+SetOwnerContentType sets OwnerContentType field to given value.
+
+### HasOwnerContentType
+
+`func (o *GraphQLQueryRequest) HasOwnerContentType() bool`
+
+HasOwnerContentType returns a boolean if a field has been set.
+
+### SetOwnerContentTypeNil
+
+`func (o *GraphQLQueryRequest) SetOwnerContentTypeNil(b bool)`
+
+ SetOwnerContentTypeNil sets the value for OwnerContentType to be an explicit nil
+
+### UnsetOwnerContentType
+`func (o *GraphQLQueryRequest) UnsetOwnerContentType()`
+
+UnsetOwnerContentType ensures that no value is present for OwnerContentType, not even an explicit nil
+### GetOwnerObjectId
+
+`func (o *GraphQLQueryRequest) GetOwnerObjectId() string`
+
+GetOwnerObjectId returns the OwnerObjectId field if non-nil, zero value otherwise.
+
+### GetOwnerObjectIdOk
+
+`func (o *GraphQLQueryRequest) GetOwnerObjectIdOk() (*string, bool)`
+
+GetOwnerObjectIdOk returns a tuple with the OwnerObjectId field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetOwnerObjectId
+
+`func (o *GraphQLQueryRequest) SetOwnerObjectId(v string)`
+
+SetOwnerObjectId sets OwnerObjectId field to given value.
+
+### HasOwnerObjectId
+
+`func (o *GraphQLQueryRequest) HasOwnerObjectId() bool`
+
+HasOwnerObjectId returns a boolean if a field has been set.
+
+### SetOwnerObjectIdNil
+
+`func (o *GraphQLQueryRequest) SetOwnerObjectIdNil(b bool)`
+
+ SetOwnerObjectIdNil sets the value for OwnerObjectId to be an explicit nil
+
+### UnsetOwnerObjectId
+`func (o *GraphQLQueryRequest) UnsetOwnerObjectId()`
+
+UnsetOwnerObjectId ensures that no value is present for OwnerObjectId, not even an explicit nil
### GetName
`func (o *GraphQLQueryRequest) GetName() string`
diff --git a/docs/IPAddress.md b/docs/IPAddress.md
index 82952f77..cd96fe7a 100644
--- a/docs/IPAddress.md
+++ b/docs/IPAddress.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -34,7 +34,7 @@ Name | Type | Description | Notes
### NewIPAddress
-`func NewIPAddress(id string, objectType string, display string, url string, naturalSlug string, address string, host string, maskLength int32, ipVersion int32, status BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, natOutsideList []BulkWritableCableRequestStatus, interfaces []BulkWritableCableRequestStatus, vmInterfaces []BulkWritableCableRequestStatus, ) *IPAddress`
+`func NewIPAddress(objectType string, display string, url string, naturalSlug string, address string, host string, maskLength int32, ipVersion int32, status BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, natOutsideList []BulkWritableCableRequestStatus, interfaces []BulkWritableCableRequestStatus, vmInterfaces []BulkWritableCableRequestStatus, ) *IPAddress`
NewIPAddress instantiates a new IPAddress object
This constructor will assign default values to properties that have it defined,
@@ -68,6 +68,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *IPAddress) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/IPAddressRequest.md b/docs/IPAddressRequest.md
index 7b138a2a..22e10bc1 100644
--- a/docs/IPAddressRequest.md
+++ b/docs/IPAddressRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**Address** | **string** | |
**Namespace** | Pointer to [**BulkWritableIPAddressRequestNamespace**](BulkWritableIPAddressRequestNamespace.md) | | [optional]
**Type** | Pointer to [**IPAddressTypeChoices**](IPAddressTypeChoices.md) | | [optional]
@@ -37,6 +38,31 @@ NewIPAddressRequestWithDefaults instantiates a new IPAddressRequest object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *IPAddressRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *IPAddressRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *IPAddressRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *IPAddressRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetAddress
`func (o *IPAddressRequest) GetAddress() string`
diff --git a/docs/IPAddressToInterface.md b/docs/IPAddressToInterface.md
index 690b2c13..9df73d6c 100644
--- a/docs/IPAddressToInterface.md
+++ b/docs/IPAddressToInterface.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -24,7 +24,7 @@ Name | Type | Description | Notes
### NewIPAddressToInterface
-`func NewIPAddressToInterface(id string, objectType string, display string, url string, naturalSlug string, ipAddress BulkWritableCableRequestStatus, ) *IPAddressToInterface`
+`func NewIPAddressToInterface(objectType string, display string, url string, naturalSlug string, ipAddress BulkWritableCableRequestStatus, ) *IPAddressToInterface`
NewIPAddressToInterface instantiates a new IPAddressToInterface object
This constructor will assign default values to properties that have it defined,
@@ -58,6 +58,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *IPAddressToInterface) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/IPAddressToInterfaceRequest.md b/docs/IPAddressToInterfaceRequest.md
index 13505338..872c55fe 100644
--- a/docs/IPAddressToInterfaceRequest.md
+++ b/docs/IPAddressToInterfaceRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**IsSource** | Pointer to **bool** | Is source address on interface | [optional]
**IsDestination** | Pointer to **bool** | Is destination address on interface | [optional]
**IsDefault** | Pointer to **bool** | Is default address on interface | [optional]
@@ -34,6 +35,31 @@ NewIPAddressToInterfaceRequestWithDefaults instantiates a new IPAddressToInterfa
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *IPAddressToInterfaceRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *IPAddressToInterfaceRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *IPAddressToInterfaceRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *IPAddressToInterfaceRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetIsSource
`func (o *IPAddressToInterfaceRequest) GetIsSource() bool`
diff --git a/docs/IPAllocationRequest.md b/docs/IPAllocationRequest.md
index 33e1c8d9..2729bb3b 100644
--- a/docs/IPAllocationRequest.md
+++ b/docs/IPAllocationRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**Status** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
**Type** | Pointer to [**IPAddressTypeChoices**](IPAddressTypeChoices.md) | | [optional]
**DnsName** | Pointer to **string** | Hostname or FQDN (not case-sensitive) | [optional]
@@ -34,6 +35,31 @@ NewIPAllocationRequestWithDefaults instantiates a new IPAllocationRequest object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *IPAllocationRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *IPAllocationRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *IPAllocationRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *IPAllocationRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetStatus
`func (o *IPAllocationRequest) GetStatus() BulkWritableCableRequestStatus`
diff --git a/docs/ImageAttachment.md b/docs/ImageAttachment.md
index dbf9922e..f548f494 100644
--- a/docs/ImageAttachment.md
+++ b/docs/ImageAttachment.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -21,7 +21,7 @@ Name | Type | Description | Notes
### NewImageAttachment
-`func NewImageAttachment(id string, objectType string, display string, url string, naturalSlug string, contentType string, objectId string, image string, imageHeight int32, imageWidth int32, created time.Time, ) *ImageAttachment`
+`func NewImageAttachment(objectType string, display string, url string, naturalSlug string, contentType string, objectId string, image string, imageHeight int32, imageWidth int32, created time.Time, ) *ImageAttachment`
NewImageAttachment instantiates a new ImageAttachment object
This constructor will assign default values to properties that have it defined,
@@ -55,6 +55,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *ImageAttachment) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/ImageAttachmentRequest.md b/docs/ImageAttachmentRequest.md
index 2ba0cb4d..6f68300b 100644
--- a/docs/ImageAttachmentRequest.md
+++ b/docs/ImageAttachmentRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**ContentType** | **string** | |
**ObjectId** | **string** | |
**Image** | ***os.File** | |
@@ -30,6 +31,31 @@ NewImageAttachmentRequestWithDefaults instantiates a new ImageAttachmentRequest
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *ImageAttachmentRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *ImageAttachmentRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *ImageAttachmentRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *ImageAttachmentRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetContentType
`func (o *ImageAttachmentRequest) GetContentType() string`
diff --git a/docs/Interface.md b/docs/Interface.md
index 4dddb476..3934fa60 100644
--- a/docs/Interface.md
+++ b/docs/Interface.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -46,7 +46,7 @@ Name | Type | Description | Notes
### NewInterface
-`func NewInterface(id string, objectType string, display string, url string, cablePeerType NullableString, cablePeer NullableCableTermination, naturalSlug string, connectedEndpointType NullableString, connectedEndpoint NullablePathEndpoint, connectedEndpointReachable NullableBool, type_ InterfaceType, name string, cable NullableCircuitCircuitTerminationA, status BulkWritableCableRequestStatus, ipAddresses []IPAddresses, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Interface`
+`func NewInterface(objectType string, display string, url string, cablePeerType NullableString, cablePeer NullableCableTermination, naturalSlug string, connectedEndpointType NullableString, connectedEndpoint NullablePathEndpoint, connectedEndpointReachable NullableBool, type_ InterfaceType, name string, cable NullableCircuitCircuitTerminationA, status BulkWritableCableRequestStatus, ipAddresses []IPAddresses, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Interface`
NewInterface instantiates a new Interface object
This constructor will assign default values to properties that have it defined,
@@ -80,6 +80,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *Interface) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/InterfaceConnection.md b/docs/InterfaceConnection.md
index 4c0848e2..bef81bdc 100644
--- a/docs/InterfaceConnection.md
+++ b/docs/InterfaceConnection.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**InterfaceA** | [**Interface**](Interface.md) | | [readonly]
@@ -17,7 +17,7 @@ Name | Type | Description | Notes
### NewInterfaceConnection
-`func NewInterfaceConnection(id string, objectType string, display string, interfaceA Interface, interfaceB Interface, connectedEndpointReachable NullableBool, created NullableTime, lastUpdated NullableTime, ) *InterfaceConnection`
+`func NewInterfaceConnection(objectType string, display string, interfaceA Interface, interfaceB Interface, connectedEndpointReachable NullableBool, created NullableTime, lastUpdated NullableTime, ) *InterfaceConnection`
NewInterfaceConnection instantiates a new InterfaceConnection object
This constructor will assign default values to properties that have it defined,
@@ -51,6 +51,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *InterfaceConnection) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/ModeEnum.md b/docs/InterfaceModeChoices.md
similarity index 92%
rename from docs/ModeEnum.md
rename to docs/InterfaceModeChoices.md
index 339f132c..aba56092 100644
--- a/docs/ModeEnum.md
+++ b/docs/InterfaceModeChoices.md
@@ -1,4 +1,4 @@
-# ModeEnum
+# InterfaceModeChoices
## Enum
diff --git a/docs/InterfaceRedundancyGroup.md b/docs/InterfaceRedundancyGroup.md
index 99561ad6..f4f1d790 100644
--- a/docs/InterfaceRedundancyGroup.md
+++ b/docs/InterfaceRedundancyGroup.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -27,7 +27,7 @@ Name | Type | Description | Notes
### NewInterfaceRedundancyGroup
-`func NewInterfaceRedundancyGroup(id string, objectType string, display string, url string, naturalSlug string, protocol InterfaceRedundancyGroupProtocol, name string, status BulkWritableCableRequestStatus, interfaces []BulkWritableCableRequestStatus, created time.Time, lastUpdated NullableTime, notesUrl string, ) *InterfaceRedundancyGroup`
+`func NewInterfaceRedundancyGroup(objectType string, display string, url string, naturalSlug string, protocol InterfaceRedundancyGroupProtocol, name string, status BulkWritableCableRequestStatus, interfaces []BulkWritableCableRequestStatus, created time.Time, lastUpdated NullableTime, notesUrl string, ) *InterfaceRedundancyGroup`
NewInterfaceRedundancyGroup instantiates a new InterfaceRedundancyGroup object
This constructor will assign default values to properties that have it defined,
@@ -61,6 +61,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *InterfaceRedundancyGroup) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/InterfaceRedundancyGroupAssociation.md b/docs/InterfaceRedundancyGroupAssociation.md
index dfeb9c25..f6e48a19 100644
--- a/docs/InterfaceRedundancyGroupAssociation.md
+++ b/docs/InterfaceRedundancyGroupAssociation.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -19,7 +19,7 @@ Name | Type | Description | Notes
### NewInterfaceRedundancyGroupAssociation
-`func NewInterfaceRedundancyGroupAssociation(id string, objectType string, display string, url string, naturalSlug string, priority int32, interfaceRedundancyGroup BulkWritableCableRequestStatus, interface_ BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, ) *InterfaceRedundancyGroupAssociation`
+`func NewInterfaceRedundancyGroupAssociation(objectType string, display string, url string, naturalSlug string, priority int32, interfaceRedundancyGroup BulkWritableCableRequestStatus, interface_ BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, ) *InterfaceRedundancyGroupAssociation`
NewInterfaceRedundancyGroupAssociation instantiates a new InterfaceRedundancyGroupAssociation object
This constructor will assign default values to properties that have it defined,
@@ -53,6 +53,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *InterfaceRedundancyGroupAssociation) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/InterfaceRedundancyGroupAssociationRequest.md b/docs/InterfaceRedundancyGroupAssociationRequest.md
index dbe3ecd8..b8330af0 100644
--- a/docs/InterfaceRedundancyGroupAssociationRequest.md
+++ b/docs/InterfaceRedundancyGroupAssociationRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**Priority** | **int32** | |
**InterfaceRedundancyGroup** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
**Interface** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
@@ -27,6 +28,31 @@ NewInterfaceRedundancyGroupAssociationRequestWithDefaults instantiates a new Int
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *InterfaceRedundancyGroupAssociationRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *InterfaceRedundancyGroupAssociationRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *InterfaceRedundancyGroupAssociationRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *InterfaceRedundancyGroupAssociationRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetPriority
`func (o *InterfaceRedundancyGroupAssociationRequest) GetPriority() int32`
diff --git a/docs/InterfaceTemplate.md b/docs/InterfaceTemplate.md
index 9ea14fb8..379c505c 100644
--- a/docs/InterfaceTemplate.md
+++ b/docs/InterfaceTemplate.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -25,7 +25,7 @@ Name | Type | Description | Notes
### NewInterfaceTemplate
-`func NewInterfaceTemplate(id string, objectType string, display string, url string, naturalSlug string, notesUrl string, type_ InterfaceType, name string, created NullableTime, lastUpdated NullableTime, ) *InterfaceTemplate`
+`func NewInterfaceTemplate(objectType string, display string, url string, naturalSlug string, notesUrl string, type_ InterfaceType, name string, created NullableTime, lastUpdated NullableTime, ) *InterfaceTemplate`
NewInterfaceTemplate instantiates a new InterfaceTemplate object
This constructor will assign default values to properties that have it defined,
@@ -59,6 +59,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *InterfaceTemplate) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/InterfaceTypeChoices.md b/docs/InterfaceTypeChoices.md
index 62127e31..1dd69dc9 100644
--- a/docs/InterfaceTypeChoices.md
+++ b/docs/InterfaceTypeChoices.md
@@ -89,6 +89,12 @@
* `_800GBASE_X_OSFP` (value: `"800gbase-x-osfp"`)
+* `_800GBASE_X_OSFP_XD` (value: `"800gbase-x-osfp-xd"`)
+
+* `_1600GBASE_X_OSFP` (value: `"1600gbase-x-osfp"`)
+
+* `_1600GBASE_X_OSFP_XD` (value: `"1600gbase-x-osfp-xd"`)
+
* `_1000BASE_KX` (value: `"1000base-kx"`)
* `_10GBASE_KR` (value: `"10gbase-kr"`)
diff --git a/docs/InterfaceTypeLabel.md b/docs/InterfaceTypeLabel.md
index 4e35d498..5dfac6ea 100644
--- a/docs/InterfaceTypeLabel.md
+++ b/docs/InterfaceTypeLabel.md
@@ -89,6 +89,12 @@
* `OSFP__800_GE` (value: `"OSFP (800GE)"`)
+* `OSFP_XD__800_GE` (value: `"OSFP-XD (800GE)"`)
+
+* `OSFP__1600_GE` (value: `"OSFP (1600GE)"`)
+
+* `OSFP_XD__1600_GE` (value: `"OSFP-XD (1600GE)"`)
+
* `_1000_BASE_KX__1_GE` (value: `"1000BASE-KX (1GE)"`)
* `_10_GBASE_KR__10_GE` (value: `"10GBASE-KR (10GE)"`)
diff --git a/docs/InterfaceTypeValue.md b/docs/InterfaceTypeValue.md
index d7efbb3d..8ff7dedc 100644
--- a/docs/InterfaceTypeValue.md
+++ b/docs/InterfaceTypeValue.md
@@ -89,6 +89,12 @@
* `_800GBASE_X_OSFP` (value: `"800gbase-x-osfp"`)
+* `_800GBASE_X_OSFP_XD` (value: `"800gbase-x-osfp-xd"`)
+
+* `_1600GBASE_X_OSFP` (value: `"1600gbase-x-osfp"`)
+
+* `_1600GBASE_X_OSFP_XD` (value: `"1600gbase-x-osfp-xd"`)
+
* `_1000BASE_KX` (value: `"1000base-kx"`)
* `_10GBASE_KR` (value: `"10gbase-kr"`)
diff --git a/docs/InterfaceVDCAssignment.md b/docs/InterfaceVDCAssignment.md
new file mode 100644
index 00000000..1d85ecc5
--- /dev/null
+++ b/docs/InterfaceVDCAssignment.md
@@ -0,0 +1,182 @@
+# InterfaceVDCAssignment
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
+**ObjectType** | **string** | | [readonly]
+**Display** | **string** | Human friendly display value | [readonly]
+**Url** | **string** | | [readonly]
+**NaturalSlug** | **string** | | [readonly]
+**VirtualDeviceContext** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+**Interface** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+
+## Methods
+
+### NewInterfaceVDCAssignment
+
+`func NewInterfaceVDCAssignment(objectType string, display string, url string, naturalSlug string, virtualDeviceContext BulkWritableCableRequestStatus, interface_ BulkWritableCableRequestStatus, ) *InterfaceVDCAssignment`
+
+NewInterfaceVDCAssignment instantiates a new InterfaceVDCAssignment object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewInterfaceVDCAssignmentWithDefaults
+
+`func NewInterfaceVDCAssignmentWithDefaults() *InterfaceVDCAssignment`
+
+NewInterfaceVDCAssignmentWithDefaults instantiates a new InterfaceVDCAssignment object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *InterfaceVDCAssignment) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *InterfaceVDCAssignment) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *InterfaceVDCAssignment) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *InterfaceVDCAssignment) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
+### GetObjectType
+
+`func (o *InterfaceVDCAssignment) GetObjectType() string`
+
+GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
+
+### GetObjectTypeOk
+
+`func (o *InterfaceVDCAssignment) GetObjectTypeOk() (*string, bool)`
+
+GetObjectTypeOk returns a tuple with the ObjectType field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetObjectType
+
+`func (o *InterfaceVDCAssignment) SetObjectType(v string)`
+
+SetObjectType sets ObjectType field to given value.
+
+
+### GetDisplay
+
+`func (o *InterfaceVDCAssignment) GetDisplay() string`
+
+GetDisplay returns the Display field if non-nil, zero value otherwise.
+
+### GetDisplayOk
+
+`func (o *InterfaceVDCAssignment) GetDisplayOk() (*string, bool)`
+
+GetDisplayOk returns a tuple with the Display field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDisplay
+
+`func (o *InterfaceVDCAssignment) SetDisplay(v string)`
+
+SetDisplay sets Display field to given value.
+
+
+### GetUrl
+
+`func (o *InterfaceVDCAssignment) GetUrl() string`
+
+GetUrl returns the Url field if non-nil, zero value otherwise.
+
+### GetUrlOk
+
+`func (o *InterfaceVDCAssignment) GetUrlOk() (*string, bool)`
+
+GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetUrl
+
+`func (o *InterfaceVDCAssignment) SetUrl(v string)`
+
+SetUrl sets Url field to given value.
+
+
+### GetNaturalSlug
+
+`func (o *InterfaceVDCAssignment) GetNaturalSlug() string`
+
+GetNaturalSlug returns the NaturalSlug field if non-nil, zero value otherwise.
+
+### GetNaturalSlugOk
+
+`func (o *InterfaceVDCAssignment) GetNaturalSlugOk() (*string, bool)`
+
+GetNaturalSlugOk returns a tuple with the NaturalSlug field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetNaturalSlug
+
+`func (o *InterfaceVDCAssignment) SetNaturalSlug(v string)`
+
+SetNaturalSlug sets NaturalSlug field to given value.
+
+
+### GetVirtualDeviceContext
+
+`func (o *InterfaceVDCAssignment) GetVirtualDeviceContext() BulkWritableCableRequestStatus`
+
+GetVirtualDeviceContext returns the VirtualDeviceContext field if non-nil, zero value otherwise.
+
+### GetVirtualDeviceContextOk
+
+`func (o *InterfaceVDCAssignment) GetVirtualDeviceContextOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetVirtualDeviceContextOk returns a tuple with the VirtualDeviceContext field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetVirtualDeviceContext
+
+`func (o *InterfaceVDCAssignment) SetVirtualDeviceContext(v BulkWritableCableRequestStatus)`
+
+SetVirtualDeviceContext sets VirtualDeviceContext field to given value.
+
+
+### GetInterface
+
+`func (o *InterfaceVDCAssignment) GetInterface() BulkWritableCableRequestStatus`
+
+GetInterface returns the Interface field if non-nil, zero value otherwise.
+
+### GetInterfaceOk
+
+`func (o *InterfaceVDCAssignment) GetInterfaceOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetInterfaceOk returns a tuple with the Interface field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetInterface
+
+`func (o *InterfaceVDCAssignment) SetInterface(v BulkWritableCableRequestStatus)`
+
+SetInterface sets Interface field to given value.
+
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/InterfaceVDCAssignmentRequest.md b/docs/InterfaceVDCAssignmentRequest.md
new file mode 100644
index 00000000..f6239a36
--- /dev/null
+++ b/docs/InterfaceVDCAssignmentRequest.md
@@ -0,0 +1,98 @@
+# InterfaceVDCAssignmentRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
+**VirtualDeviceContext** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+**Interface** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+
+## Methods
+
+### NewInterfaceVDCAssignmentRequest
+
+`func NewInterfaceVDCAssignmentRequest(virtualDeviceContext BulkWritableCableRequestStatus, interface_ BulkWritableCableRequestStatus, ) *InterfaceVDCAssignmentRequest`
+
+NewInterfaceVDCAssignmentRequest instantiates a new InterfaceVDCAssignmentRequest object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewInterfaceVDCAssignmentRequestWithDefaults
+
+`func NewInterfaceVDCAssignmentRequestWithDefaults() *InterfaceVDCAssignmentRequest`
+
+NewInterfaceVDCAssignmentRequestWithDefaults instantiates a new InterfaceVDCAssignmentRequest object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *InterfaceVDCAssignmentRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *InterfaceVDCAssignmentRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *InterfaceVDCAssignmentRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *InterfaceVDCAssignmentRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
+### GetVirtualDeviceContext
+
+`func (o *InterfaceVDCAssignmentRequest) GetVirtualDeviceContext() BulkWritableCableRequestStatus`
+
+GetVirtualDeviceContext returns the VirtualDeviceContext field if non-nil, zero value otherwise.
+
+### GetVirtualDeviceContextOk
+
+`func (o *InterfaceVDCAssignmentRequest) GetVirtualDeviceContextOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetVirtualDeviceContextOk returns a tuple with the VirtualDeviceContext field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetVirtualDeviceContext
+
+`func (o *InterfaceVDCAssignmentRequest) SetVirtualDeviceContext(v BulkWritableCableRequestStatus)`
+
+SetVirtualDeviceContext sets VirtualDeviceContext field to given value.
+
+
+### GetInterface
+
+`func (o *InterfaceVDCAssignmentRequest) GetInterface() BulkWritableCableRequestStatus`
+
+GetInterface returns the Interface field if non-nil, zero value otherwise.
+
+### GetInterfaceOk
+
+`func (o *InterfaceVDCAssignmentRequest) GetInterfaceOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetInterfaceOk returns a tuple with the Interface field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetInterface
+
+`func (o *InterfaceVDCAssignmentRequest) SetInterface(v BulkWritableCableRequestStatus)`
+
+SetInterface sets Interface field to given value.
+
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/InventoryItem.md b/docs/InventoryItem.md
index cce7784d..a8dc0a07 100644
--- a/docs/InventoryItem.md
+++ b/docs/InventoryItem.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -32,7 +32,7 @@ Name | Type | Description | Notes
### NewInventoryItem
-`func NewInventoryItem(id string, objectType string, display string, url string, naturalSlug string, treeDepth NullableInt32, name string, device BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *InventoryItem`
+`func NewInventoryItem(objectType string, display string, url string, naturalSlug string, treeDepth NullableInt32, name string, device BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *InventoryItem`
NewInventoryItem instantiates a new InventoryItem object
This constructor will assign default values to properties that have it defined,
@@ -66,6 +66,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *InventoryItem) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/InventoryItemRequest.md b/docs/InventoryItemRequest.md
index 4d5135b2..3417e75c 100644
--- a/docs/InventoryItemRequest.md
+++ b/docs/InventoryItemRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**Name** | **string** | |
**Label** | Pointer to **string** | Physical label | [optional]
**Description** | Pointer to **string** | | [optional]
@@ -39,6 +40,31 @@ NewInventoryItemRequestWithDefaults instantiates a new InventoryItemRequest obje
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *InventoryItemRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *InventoryItemRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *InventoryItemRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *InventoryItemRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetName
`func (o *InventoryItemRequest) GetName() string`
diff --git a/docs/IpamAPI.md b/docs/IpamAPI.md
index 34f581d2..5e4c5c7c 100644
--- a/docs/IpamAPI.md
+++ b/docs/IpamAPI.md
@@ -43,8 +43,6 @@ Method | HTTP request | Description
[**IpamPrefixLocationAssignmentsCreate**](IpamAPI.md#IpamPrefixLocationAssignmentsCreate) | **Post** /ipam/prefix-location-assignments/ |
[**IpamPrefixLocationAssignmentsDestroy**](IpamAPI.md#IpamPrefixLocationAssignmentsDestroy) | **Delete** /ipam/prefix-location-assignments/{id}/ |
[**IpamPrefixLocationAssignmentsList**](IpamAPI.md#IpamPrefixLocationAssignmentsList) | **Get** /ipam/prefix-location-assignments/ |
-[**IpamPrefixLocationAssignmentsNotesCreate**](IpamAPI.md#IpamPrefixLocationAssignmentsNotesCreate) | **Post** /ipam/prefix-location-assignments/{id}/notes/ |
-[**IpamPrefixLocationAssignmentsNotesList**](IpamAPI.md#IpamPrefixLocationAssignmentsNotesList) | **Get** /ipam/prefix-location-assignments/{id}/notes/ |
[**IpamPrefixLocationAssignmentsPartialUpdate**](IpamAPI.md#IpamPrefixLocationAssignmentsPartialUpdate) | **Patch** /ipam/prefix-location-assignments/{id}/ |
[**IpamPrefixLocationAssignmentsRetrieve**](IpamAPI.md#IpamPrefixLocationAssignmentsRetrieve) | **Get** /ipam/prefix-location-assignments/{id}/ |
[**IpamPrefixLocationAssignmentsUpdate**](IpamAPI.md#IpamPrefixLocationAssignmentsUpdate) | **Put** /ipam/prefix-location-assignments/{id}/ |
@@ -96,6 +94,8 @@ Method | HTTP request | Description
[**IpamServicesPartialUpdate**](IpamAPI.md#IpamServicesPartialUpdate) | **Patch** /ipam/services/{id}/ |
[**IpamServicesRetrieve**](IpamAPI.md#IpamServicesRetrieve) | **Get** /ipam/services/{id}/ |
[**IpamServicesUpdate**](IpamAPI.md#IpamServicesUpdate) | **Put** /ipam/services/{id}/ |
+[**IpamVlanGroupsAvailableVlansCreate**](IpamAPI.md#IpamVlanGroupsAvailableVlansCreate) | **Post** /ipam/vlan-groups/{id}/available-vlans/ |
+[**IpamVlanGroupsAvailableVlansList**](IpamAPI.md#IpamVlanGroupsAvailableVlansList) | **Get** /ipam/vlan-groups/{id}/available-vlans/ |
[**IpamVlanGroupsBulkDestroy**](IpamAPI.md#IpamVlanGroupsBulkDestroy) | **Delete** /ipam/vlan-groups/ |
[**IpamVlanGroupsBulkPartialUpdate**](IpamAPI.md#IpamVlanGroupsBulkPartialUpdate) | **Patch** /ipam/vlan-groups/ |
[**IpamVlanGroupsBulkUpdate**](IpamAPI.md#IpamVlanGroupsBulkUpdate) | **Put** /ipam/vlan-groups/ |
@@ -113,8 +113,6 @@ Method | HTTP request | Description
[**IpamVlanLocationAssignmentsCreate**](IpamAPI.md#IpamVlanLocationAssignmentsCreate) | **Post** /ipam/vlan-location-assignments/ |
[**IpamVlanLocationAssignmentsDestroy**](IpamAPI.md#IpamVlanLocationAssignmentsDestroy) | **Delete** /ipam/vlan-location-assignments/{id}/ |
[**IpamVlanLocationAssignmentsList**](IpamAPI.md#IpamVlanLocationAssignmentsList) | **Get** /ipam/vlan-location-assignments/ |
-[**IpamVlanLocationAssignmentsNotesCreate**](IpamAPI.md#IpamVlanLocationAssignmentsNotesCreate) | **Post** /ipam/vlan-location-assignments/{id}/notes/ |
-[**IpamVlanLocationAssignmentsNotesList**](IpamAPI.md#IpamVlanLocationAssignmentsNotesList) | **Get** /ipam/vlan-location-assignments/{id}/notes/ |
[**IpamVlanLocationAssignmentsPartialUpdate**](IpamAPI.md#IpamVlanLocationAssignmentsPartialUpdate) | **Patch** /ipam/vlan-location-assignments/{id}/ |
[**IpamVlanLocationAssignmentsRetrieve**](IpamAPI.md#IpamVlanLocationAssignmentsRetrieve) | **Get** /ipam/vlan-location-assignments/{id}/ |
[**IpamVlanLocationAssignmentsUpdate**](IpamAPI.md#IpamVlanLocationAssignmentsUpdate) | **Put** /ipam/vlan-location-assignments/{id}/ |
@@ -135,8 +133,6 @@ Method | HTTP request | Description
[**IpamVrfDeviceAssignmentsCreate**](IpamAPI.md#IpamVrfDeviceAssignmentsCreate) | **Post** /ipam/vrf-device-assignments/ |
[**IpamVrfDeviceAssignmentsDestroy**](IpamAPI.md#IpamVrfDeviceAssignmentsDestroy) | **Delete** /ipam/vrf-device-assignments/{id}/ |
[**IpamVrfDeviceAssignmentsList**](IpamAPI.md#IpamVrfDeviceAssignmentsList) | **Get** /ipam/vrf-device-assignments/ |
-[**IpamVrfDeviceAssignmentsNotesCreate**](IpamAPI.md#IpamVrfDeviceAssignmentsNotesCreate) | **Post** /ipam/vrf-device-assignments/{id}/notes/ |
-[**IpamVrfDeviceAssignmentsNotesList**](IpamAPI.md#IpamVrfDeviceAssignmentsNotesList) | **Get** /ipam/vrf-device-assignments/{id}/notes/ |
[**IpamVrfDeviceAssignmentsPartialUpdate**](IpamAPI.md#IpamVrfDeviceAssignmentsPartialUpdate) | **Patch** /ipam/vrf-device-assignments/{id}/ |
[**IpamVrfDeviceAssignmentsRetrieve**](IpamAPI.md#IpamVrfDeviceAssignmentsRetrieve) | **Get** /ipam/vrf-device-assignments/{id}/ |
[**IpamVrfDeviceAssignmentsUpdate**](IpamAPI.md#IpamVrfDeviceAssignmentsUpdate) | **Put** /ipam/vrf-device-assignments/{id}/ |
@@ -146,8 +142,6 @@ Method | HTTP request | Description
[**IpamVrfPrefixAssignmentsCreate**](IpamAPI.md#IpamVrfPrefixAssignmentsCreate) | **Post** /ipam/vrf-prefix-assignments/ |
[**IpamVrfPrefixAssignmentsDestroy**](IpamAPI.md#IpamVrfPrefixAssignmentsDestroy) | **Delete** /ipam/vrf-prefix-assignments/{id}/ |
[**IpamVrfPrefixAssignmentsList**](IpamAPI.md#IpamVrfPrefixAssignmentsList) | **Get** /ipam/vrf-prefix-assignments/ |
-[**IpamVrfPrefixAssignmentsNotesCreate**](IpamAPI.md#IpamVrfPrefixAssignmentsNotesCreate) | **Post** /ipam/vrf-prefix-assignments/{id}/notes/ |
-[**IpamVrfPrefixAssignmentsNotesList**](IpamAPI.md#IpamVrfPrefixAssignmentsNotesList) | **Get** /ipam/vrf-prefix-assignments/{id}/notes/ |
[**IpamVrfPrefixAssignmentsPartialUpdate**](IpamAPI.md#IpamVrfPrefixAssignmentsPartialUpdate) | **Patch** /ipam/vrf-prefix-assignments/{id}/ |
[**IpamVrfPrefixAssignmentsRetrieve**](IpamAPI.md#IpamVrfPrefixAssignmentsRetrieve) | **Get** /ipam/vrf-prefix-assignments/{id}/ |
[**IpamVrfPrefixAssignmentsUpdate**](IpamAPI.md#IpamVrfPrefixAssignmentsUpdate) | **Put** /ipam/vrf-prefix-assignments/{id}/ |
@@ -507,7 +501,7 @@ Name | Type | Description | Notes
## IpamIpAddressToInterfaceList
-> PaginatedIPAddressToInterfaceList IpamIpAddressToInterfaceList(ctx).Created(created).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Interface_(interface_).InterfaceIsnull(interfaceIsnull).InterfaceN(interfaceN).IpAddress(ipAddress).IpAddressN(ipAddressN).IsDefault(isDefault).IsDestination(isDestination).IsPreferred(isPreferred).IsPrimary(isPrimary).IsSecondary(isSecondary).IsSource(isSource).IsStandby(isStandby).LastUpdated(lastUpdated).Limit(limit).Offset(offset).Q(q).Sort(sort).VmInterface(vmInterface).VmInterfaceIsnull(vmInterfaceIsnull).VmInterfaceN(vmInterfaceN).Depth(depth).Execute()
+> PaginatedIPAddressToInterfaceList IpamIpAddressToInterfaceList(ctx).Created(created).Format(format).Id(id).IdN(idN).Interface_(interface_).InterfaceIsnull(interfaceIsnull).InterfaceN(interfaceN).IpAddress(ipAddress).IpAddressN(ipAddressN).IsDefault(isDefault).IsDestination(isDestination).IsPreferred(isPreferred).IsPrimary(isPrimary).IsSecondary(isSecondary).IsSource(isSource).IsStandby(isStandby).LastUpdated(lastUpdated).Limit(limit).Offset(offset).Q(q).Sort(sort).VmInterface(vmInterface).VmInterfaceIsnull(vmInterfaceIsnull).VmInterfaceN(vmInterfaceN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -530,19 +524,7 @@ func main() {
created := []time.Time{time.Now()} // []time.Time | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
interface_ := []string{"Inner_example"} // []string | (optional)
interfaceIsnull := true // bool | Interface (name or ID) is null (optional)
interfaceN := []string{"Inner_example"} // []string | (optional)
@@ -564,10 +546,11 @@ func main() {
vmInterfaceIsnull := true // bool | VM Interface (name or ID) is null (optional)
vmInterfaceN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamIpAddressToInterfaceList(context.Background()).Created(created).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Interface_(interface_).InterfaceIsnull(interfaceIsnull).InterfaceN(interfaceN).IpAddress(ipAddress).IpAddressN(ipAddressN).IsDefault(isDefault).IsDestination(isDestination).IsPreferred(isPreferred).IsPrimary(isPrimary).IsSecondary(isSecondary).IsSource(isSource).IsStandby(isStandby).LastUpdated(lastUpdated).Limit(limit).Offset(offset).Q(q).Sort(sort).VmInterface(vmInterface).VmInterfaceIsnull(vmInterfaceIsnull).VmInterfaceN(vmInterfaceN).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamIpAddressToInterfaceList(context.Background()).Created(created).Format(format).Id(id).IdN(idN).Interface_(interface_).InterfaceIsnull(interfaceIsnull).InterfaceN(interfaceN).IpAddress(ipAddress).IpAddressN(ipAddressN).IsDefault(isDefault).IsDestination(isDestination).IsPreferred(isPreferred).IsPrimary(isPrimary).IsSecondary(isSecondary).IsSource(isSource).IsStandby(isStandby).LastUpdated(lastUpdated).Limit(limit).Offset(offset).Q(q).Sort(sort).VmInterface(vmInterface).VmInterfaceIsnull(vmInterfaceIsnull).VmInterfaceN(vmInterfaceN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamIpAddressToInterfaceList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -591,19 +574,7 @@ Name | Type | Description | Notes
**created** | [**[]time.Time**](time.Time.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**interface_** | **[]string** | |
**interfaceIsnull** | **bool** | Interface (name or ID) is null |
**interfaceN** | **[]string** | |
@@ -625,6 +596,7 @@ Name | Type | Description | Notes
**vmInterfaceIsnull** | **bool** | VM Interface (name or ID) is null |
**vmInterfaceN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -720,7 +692,7 @@ Name | Type | Description | Notes
## IpamIpAddressToInterfaceNotesList
-> PaginatedNoteList IpamIpAddressToInterfaceNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList IpamIpAddressToInterfaceNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -744,10 +716,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamIpAddressToInterfaceNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamIpAddressToInterfaceNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamIpAddressToInterfaceNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -777,6 +750,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -872,7 +846,7 @@ Name | Type | Description | Notes
## IpamIpAddressToInterfaceRetrieve
-> IPAddressToInterface IpamIpAddressToInterfaceRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> IPAddressToInterface IpamIpAddressToInterfaceRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -894,10 +868,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this IP Address Assignment.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamIpAddressToInterfaceRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamIpAddressToInterfaceRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamIpAddressToInterfaceRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -925,6 +900,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -1360,7 +1336,7 @@ Name | Type | Description | Notes
## IpamIpAddressesList
-> PaginatedIPAddressList IpamIpAddressesList(ctx).Address(address).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Device(device).DeviceId(deviceId).DnsName(dnsName).DnsNameIc(dnsNameIc).DnsNameIe(dnsNameIe).DnsNameIew(dnsNameIew).DnsNameIre(dnsNameIre).DnsNameIsw(dnsNameIsw).DnsNameN(dnsNameN).DnsNameNic(dnsNameNic).DnsNameNie(dnsNameNie).DnsNameNiew(dnsNameNiew).DnsNameNire(dnsNameNire).DnsNameNisw(dnsNameNisw).DnsNameNre(dnsNameNre).DnsNameRe(dnsNameRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasInterfaceAssignments(hasInterfaceAssignments).HasNatInside(hasNatInside).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Interfaces(interfaces).InterfacesIsnull(interfacesIsnull).InterfacesN(interfacesN).IpVersion(ipVersion).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MaskLength(maskLength).MaskLengthGt(maskLengthGt).MaskLengthGte(maskLengthGte).MaskLengthLt(maskLengthLt).MaskLengthLte(maskLengthLte).MaskLengthN(maskLengthN).Namespace(namespace).NamespaceN(namespaceN).NatInside(natInside).NatInsideIsnull(natInsideIsnull).NatInsideN(natInsideN).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).Prefix(prefix).PresentInVrf(presentInVrf).PresentInVrfId(presentInVrfId).Q(q).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).VirtualMachine(virtualMachine).VirtualMachineId(virtualMachineId).VmInterfaces(vmInterfaces).VmInterfacesIsnull(vmInterfacesIsnull).VmInterfacesN(vmInterfacesN).Vrfs(vrfs).VrfsIsnull(vrfsIsnull).VrfsN(vrfsN).Depth(depth).Execute()
+> PaginatedIPAddressList IpamIpAddressesList(ctx).Address(address).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DeviceId(deviceId).DnsName(dnsName).DnsNameIc(dnsNameIc).DnsNameIe(dnsNameIe).DnsNameIew(dnsNameIew).DnsNameIre(dnsNameIre).DnsNameIsw(dnsNameIsw).DnsNameN(dnsNameN).DnsNameNic(dnsNameNic).DnsNameNie(dnsNameNie).DnsNameNiew(dnsNameNiew).DnsNameNire(dnsNameNire).DnsNameNisw(dnsNameNisw).DnsNameNre(dnsNameNre).DnsNameRe(dnsNameRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasInterfaceAssignments(hasInterfaceAssignments).HasNatInside(hasNatInside).Id(id).IdN(idN).Interfaces(interfaces).InterfacesIsnull(interfacesIsnull).InterfacesN(interfacesN).IpVersion(ipVersion).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MaskLength(maskLength).MaskLengthGt(maskLengthGt).MaskLengthGte(maskLengthGte).MaskLengthLt(maskLengthLt).MaskLengthLte(maskLengthLte).MaskLengthN(maskLengthN).Namespace(namespace).NamespaceN(namespaceN).NatInside(natInside).NatInsideIsnull(natInsideIsnull).NatInsideN(natInsideN).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).Prefix(prefix).PresentInVrf(presentInVrf).PresentInVrfId(presentInVrfId).Q(q).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).VirtualMachine(virtualMachine).VirtualMachineId(virtualMachineId).VmInterfaces(vmInterfaces).VmInterfacesIsnull(vmInterfacesIsnull).VmInterfacesN(vmInterfacesN).Vrfs(vrfs).VrfsIsnull(vrfsIsnull).VrfsN(vrfsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -1383,7 +1359,7 @@ func main() {
address := []string{"Inner_example"} // []string | Address (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -1391,6 +1367,20 @@ func main() {
createdLt := []time.Time{time.Now()} // []time.Time | (optional)
createdLte := []time.Time{time.Now()} // []time.Time | (optional)
createdN := []time.Time{time.Now()} // []time.Time | (optional)
+ description := []string{"Inner_example"} // []string | (optional)
+ descriptionIc := []string{"Inner_example"} // []string | (optional)
+ descriptionIe := []string{"Inner_example"} // []string | (optional)
+ descriptionIew := []string{"Inner_example"} // []string | (optional)
+ descriptionIre := []string{"Inner_example"} // []string | (optional)
+ descriptionIsw := []string{"Inner_example"} // []string | (optional)
+ descriptionN := []string{"Inner_example"} // []string | (optional)
+ descriptionNic := []string{"Inner_example"} // []string | (optional)
+ descriptionNie := []string{"Inner_example"} // []string | (optional)
+ descriptionNiew := []string{"Inner_example"} // []string | (optional)
+ descriptionNire := []string{"Inner_example"} // []string | (optional)
+ descriptionNisw := []string{"Inner_example"} // []string | (optional)
+ descriptionNre := []string{"Inner_example"} // []string | (optional)
+ descriptionRe := []string{"Inner_example"} // []string | (optional)
device := []string{"Inner_example"} // []string | Device (name) (optional)
deviceId := []string{"Inner_example"} // []string | Device (ID) (optional)
dnsName := []string{"Inner_example"} // []string | (optional)
@@ -1408,24 +1398,12 @@ func main() {
dnsNameNre := []string{"Inner_example"} // []string | (optional)
dnsNameRe := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
hasInterfaceAssignments := true // bool | Has Interface Assignments (optional)
hasNatInside := true // bool | Has NAT Inside (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
interfaces := []string{"Inner_example"} // []string | (optional)
interfacesIsnull := true // bool | Interfaces (ID or name) is null (optional)
interfacesN := []string{"Inner_example"} // []string | (optional)
@@ -1459,16 +1437,16 @@ func main() {
q := "q_example" // string | Search (optional)
role := []string{"Inner_example"} // []string | (optional)
roleIsnull := true // bool | Role (name or ID) is null (optional)
- roleN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Role (name or ID) (optional)
+ roleN := []string{"Inner_example"} // []string | (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
status := []string{"Inner_example"} // []string | (optional)
- statusN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Status (name or ID) (optional)
+ statusN := []string{"Inner_example"} // []string | (optional)
tags := []string{"Inner_example"} // []string | (optional)
tagsIsnull := true // bool | (optional)
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
tenant := []string{"Inner_example"} // []string | (optional)
tenantIsnull := true // bool | Tenant (name or ID) is null (optional)
tenantN := []string{"Inner_example"} // []string | (optional)
@@ -1501,10 +1479,11 @@ func main() {
vrfsIsnull := true // bool | VRF (ID or RD) is null (optional)
vrfsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamIpAddressesList(context.Background()).Address(address).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Device(device).DeviceId(deviceId).DnsName(dnsName).DnsNameIc(dnsNameIc).DnsNameIe(dnsNameIe).DnsNameIew(dnsNameIew).DnsNameIre(dnsNameIre).DnsNameIsw(dnsNameIsw).DnsNameN(dnsNameN).DnsNameNic(dnsNameNic).DnsNameNie(dnsNameNie).DnsNameNiew(dnsNameNiew).DnsNameNire(dnsNameNire).DnsNameNisw(dnsNameNisw).DnsNameNre(dnsNameNre).DnsNameRe(dnsNameRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasInterfaceAssignments(hasInterfaceAssignments).HasNatInside(hasNatInside).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).Interfaces(interfaces).InterfacesIsnull(interfacesIsnull).InterfacesN(interfacesN).IpVersion(ipVersion).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MaskLength(maskLength).MaskLengthGt(maskLengthGt).MaskLengthGte(maskLengthGte).MaskLengthLt(maskLengthLt).MaskLengthLte(maskLengthLte).MaskLengthN(maskLengthN).Namespace(namespace).NamespaceN(namespaceN).NatInside(natInside).NatInsideIsnull(natInsideIsnull).NatInsideN(natInsideN).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).Prefix(prefix).PresentInVrf(presentInVrf).PresentInVrfId(presentInVrfId).Q(q).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).VirtualMachine(virtualMachine).VirtualMachineId(virtualMachineId).VmInterfaces(vmInterfaces).VmInterfacesIsnull(vmInterfacesIsnull).VmInterfacesN(vmInterfacesN).Vrfs(vrfs).VrfsIsnull(vrfsIsnull).VrfsN(vrfsN).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamIpAddressesList(context.Background()).Address(address).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DeviceId(deviceId).DnsName(dnsName).DnsNameIc(dnsNameIc).DnsNameIe(dnsNameIe).DnsNameIew(dnsNameIew).DnsNameIre(dnsNameIre).DnsNameIsw(dnsNameIsw).DnsNameN(dnsNameN).DnsNameNic(dnsNameNic).DnsNameNie(dnsNameNie).DnsNameNiew(dnsNameNiew).DnsNameNire(dnsNameNire).DnsNameNisw(dnsNameNisw).DnsNameNre(dnsNameNre).DnsNameRe(dnsNameRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasInterfaceAssignments(hasInterfaceAssignments).HasNatInside(hasNatInside).Id(id).IdN(idN).Interfaces(interfaces).InterfacesIsnull(interfacesIsnull).InterfacesN(interfacesN).IpVersion(ipVersion).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).MaskLength(maskLength).MaskLengthGt(maskLengthGt).MaskLengthGte(maskLengthGte).MaskLengthLt(maskLengthLt).MaskLengthLte(maskLengthLte).MaskLengthN(maskLengthN).Namespace(namespace).NamespaceN(namespaceN).NatInside(natInside).NatInsideIsnull(natInsideIsnull).NatInsideN(natInsideN).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).Prefix(prefix).PresentInVrf(presentInVrf).PresentInVrfId(presentInVrfId).Q(q).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).VirtualMachine(virtualMachine).VirtualMachineId(virtualMachineId).VmInterfaces(vmInterfaces).VmInterfacesIsnull(vmInterfacesIsnull).VmInterfacesN(vmInterfacesN).Vrfs(vrfs).VrfsIsnull(vrfsIsnull).VrfsN(vrfsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamIpAddressesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -1528,7 +1507,7 @@ Name | Type | Description | Notes
**address** | **[]string** | Address |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -1536,6 +1515,20 @@ Name | Type | Description | Notes
**createdLt** | [**[]time.Time**](time.Time.md) | |
**createdLte** | [**[]time.Time**](time.Time.md) | |
**createdN** | [**[]time.Time**](time.Time.md) | |
+ **description** | **[]string** | |
+ **descriptionIc** | **[]string** | |
+ **descriptionIe** | **[]string** | |
+ **descriptionIew** | **[]string** | |
+ **descriptionIre** | **[]string** | |
+ **descriptionIsw** | **[]string** | |
+ **descriptionN** | **[]string** | |
+ **descriptionNic** | **[]string** | |
+ **descriptionNie** | **[]string** | |
+ **descriptionNiew** | **[]string** | |
+ **descriptionNire** | **[]string** | |
+ **descriptionNisw** | **[]string** | |
+ **descriptionNre** | **[]string** | |
+ **descriptionRe** | **[]string** | |
**device** | **[]string** | Device (name) |
**deviceId** | **[]string** | Device (ID) |
**dnsName** | **[]string** | |
@@ -1553,24 +1546,12 @@ Name | Type | Description | Notes
**dnsNameNre** | **[]string** | |
**dnsNameRe** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**hasInterfaceAssignments** | **bool** | Has Interface Assignments |
**hasNatInside** | **bool** | Has NAT Inside |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**interfaces** | **[]string** | |
**interfacesIsnull** | **bool** | Interfaces (ID or name) is null |
**interfacesN** | **[]string** | |
@@ -1604,16 +1585,16 @@ Name | Type | Description | Notes
**q** | **string** | Search |
**role** | **[]string** | |
**roleIsnull** | **bool** | Role (name or ID) is null |
- **roleN** | **string** | Exclude Role (name or ID) |
+ **roleN** | **[]string** | |
**sort** | **string** | Which field to use when ordering the results. |
**status** | **[]string** | |
- **statusN** | **string** | Exclude Status (name or ID) |
+ **statusN** | **[]string** | |
**tags** | **[]string** | |
**tagsIsnull** | **bool** | |
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**tenant** | **[]string** | |
**tenantIsnull** | **bool** | Tenant (name or ID) is null |
**tenantN** | **[]string** | |
@@ -1646,6 +1627,7 @@ Name | Type | Description | Notes
**vrfsIsnull** | **bool** | VRF (ID or RD) is null |
**vrfsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -1741,7 +1723,7 @@ Name | Type | Description | Notes
## IpamIpAddressesNotesList
-> PaginatedNoteList IpamIpAddressesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList IpamIpAddressesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -1765,10 +1747,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamIpAddressesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamIpAddressesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamIpAddressesNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -1798,6 +1781,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -1893,7 +1877,7 @@ Name | Type | Description | Notes
## IpamIpAddressesRetrieve
-> IPAddress IpamIpAddressesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> IPAddress IpamIpAddressesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -1915,10 +1899,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this IP address.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamIpAddressesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamIpAddressesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamIpAddressesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -1946,6 +1931,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -2381,7 +2367,7 @@ Name | Type | Description | Notes
## IpamNamespacesList
-> PaginatedNamespaceList IpamNamespacesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationIsnull(locationIsnull).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedNamespaceList IpamNamespacesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationIsnull(locationIsnull).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -2403,7 +2389,7 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -2426,22 +2412,10 @@ func main() {
descriptionNre := []string{"Inner_example"} // []string | (optional)
descriptionRe := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -2475,12 +2449,13 @@ func main() {
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamNamespacesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationIsnull(locationIsnull).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamNamespacesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationIsnull(locationIsnull).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamNamespacesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -2503,7 +2478,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -2526,22 +2501,10 @@ Name | Type | Description | Notes
**descriptionNre** | **[]string** | |
**descriptionRe** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -2575,8 +2538,9 @@ Name | Type | Description | Notes
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -2672,7 +2636,7 @@ Name | Type | Description | Notes
## IpamNamespacesNotesList
-> PaginatedNoteList IpamNamespacesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList IpamNamespacesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -2696,10 +2660,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamNamespacesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamNamespacesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamNamespacesNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -2729,6 +2694,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -2824,7 +2790,7 @@ Name | Type | Description | Notes
## IpamNamespacesRetrieve
-> Namespace IpamNamespacesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> Namespace IpamNamespacesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -2846,10 +2812,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this namespace.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamNamespacesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamNamespacesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamNamespacesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -2877,6 +2844,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -3312,7 +3280,7 @@ Name | Type | Description | Notes
## IpamPrefixLocationAssignmentsList
-> PaginatedPrefixLocationAssignmentList IpamPrefixLocationAssignmentsList(ctx).Created(created).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).Limit(limit).Location(location).LocationN(locationN).Offset(offset).Prefix(prefix).Q(q).Sort(sort).Depth(depth).Execute()
+> PaginatedPrefixLocationAssignmentList IpamPrefixLocationAssignmentsList(ctx).Created(created).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).Limit(limit).Location(location).LocationN(locationN).Offset(offset).Prefix(prefix).PrefixN(prefixN).Q(q).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -3335,32 +3303,22 @@ func main() {
created := []time.Time{time.Now()} // []time.Time | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
location := []string{"Inner_example"} // []string | (optional)
locationN := []string{"Inner_example"} // []string | (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- prefix := []string{"Inner_example"} // []string | Prefix (optional)
+ prefix := []string{"Inner_example"} // []string | (optional)
+ prefixN := []string{"Inner_example"} // []string | (optional)
q := "q_example" // string | Search (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamPrefixLocationAssignmentsList(context.Background()).Created(created).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).Limit(limit).Location(location).LocationN(locationN).Offset(offset).Prefix(prefix).Q(q).Sort(sort).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamPrefixLocationAssignmentsList(context.Background()).Created(created).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).Limit(limit).Location(location).LocationN(locationN).Offset(offset).Prefix(prefix).PrefixN(prefixN).Q(q).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamPrefixLocationAssignmentsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -3384,28 +3342,18 @@ Name | Type | Description | Notes
**created** | [**[]time.Time**](time.Time.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**limit** | **int32** | Number of results to return per page. |
**location** | **[]string** | |
**locationN** | **[]string** | |
**offset** | **int32** | The initial index from which to return the results. |
- **prefix** | **[]string** | Prefix |
+ **prefix** | **[]string** | |
+ **prefixN** | **[]string** | |
**q** | **string** | Search |
**sort** | **string** | Which field to use when ordering the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -3425,158 +3373,6 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## IpamPrefixLocationAssignmentsNotesCreate
-
-> Note IpamPrefixLocationAssignmentsNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this prefix location assignment.
- noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamPrefixLocationAssignmentsNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamPrefixLocationAssignmentsNotesCreate``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `IpamPrefixLocationAssignmentsNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `IpamAPI.IpamPrefixLocationAssignmentsNotesCreate`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this prefix location assignment. |
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiIpamPrefixLocationAssignmentsNotesCreateRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-
- **noteInputRequest** | [**NoteInputRequest**](NoteInputRequest.md) | |
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
-
-### Return type
-
-[**Note**](Note.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: application/json, text/csv
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## IpamPrefixLocationAssignmentsNotesList
-
-> PaginatedNoteList IpamPrefixLocationAssignmentsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this prefix location assignment.
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- limit := int32(56) // int32 | Number of results to return per page. (optional)
- offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamPrefixLocationAssignmentsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamPrefixLocationAssignmentsNotesList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `IpamPrefixLocationAssignmentsNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `IpamAPI.IpamPrefixLocationAssignmentsNotesList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this prefix location assignment. |
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiIpamPrefixLocationAssignmentsNotesListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **limit** | **int32** | Number of results to return per page. |
- **offset** | **int32** | The initial index from which to return the results. |
- **depth** | **int32** | Serializer Depth | [default to 1]
-
-### Return type
-
-[**PaginatedNoteList**](PaginatedNoteList.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
## IpamPrefixLocationAssignmentsPartialUpdate
> PrefixLocationAssignment IpamPrefixLocationAssignmentsPartialUpdate(ctx, id).Format(format).PatchedPrefixLocationAssignmentRequest(patchedPrefixLocationAssignmentRequest).Execute()
@@ -3653,7 +3449,7 @@ Name | Type | Description | Notes
## IpamPrefixLocationAssignmentsRetrieve
-> PrefixLocationAssignment IpamPrefixLocationAssignmentsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> PrefixLocationAssignment IpamPrefixLocationAssignmentsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -3675,10 +3471,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this prefix location assignment.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamPrefixLocationAssignmentsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamPrefixLocationAssignmentsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamPrefixLocationAssignmentsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -3706,6 +3503,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -3801,7 +3599,7 @@ Name | Type | Description | Notes
## IpamPrefixesAvailableIpsCreate
-> []IPAddress IpamPrefixesAvailableIpsCreate(ctx, id).IPAllocationRequest(iPAllocationRequest).Format(format).Limit(limit).Offset(offset).Sort(sort).Execute()
+> []IPAddress IpamPrefixesAvailableIpsCreate(ctx, id).IPAllocationRequest(iPAllocationRequest).Format(format).Limit(limit).Offset(offset).RangeEnd(rangeEnd).RangeStart(rangeStart).Sort(sort).Execute()
@@ -3825,11 +3623,13 @@ func main() {
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
+ rangeEnd := openapiclient.ipam_prefixes_available_ips_list_range_end_parameter{String: new(string)} // IpamPrefixesAvailableIpsListRangeEndParameter | IP from which enumeration/allocation should stop. (optional)
+ rangeStart := openapiclient.ipam_prefixes_available_ips_list_range_end_parameter{String: new(string)} // IpamPrefixesAvailableIpsListRangeEndParameter | IP from which enumeration/allocation should start. (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamPrefixesAvailableIpsCreate(context.Background(), id).IPAllocationRequest(iPAllocationRequest).Format(format).Limit(limit).Offset(offset).Sort(sort).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamPrefixesAvailableIpsCreate(context.Background(), id).IPAllocationRequest(iPAllocationRequest).Format(format).Limit(limit).Offset(offset).RangeEnd(rangeEnd).RangeStart(rangeStart).Sort(sort).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamPrefixesAvailableIpsCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -3859,6 +3659,8 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
+ **rangeEnd** | [**IpamPrefixesAvailableIpsListRangeEndParameter**](IpamPrefixesAvailableIpsListRangeEndParameter.md) | IP from which enumeration/allocation should stop. |
+ **rangeStart** | [**IpamPrefixesAvailableIpsListRangeEndParameter**](IpamPrefixesAvailableIpsListRangeEndParameter.md) | IP from which enumeration/allocation should start. |
**sort** | **string** | Which field to use when ordering the results. |
### Return type
@@ -3881,7 +3683,7 @@ Name | Type | Description | Notes
## IpamPrefixesAvailableIpsList
-> []AvailableIP IpamPrefixesAvailableIpsList(ctx, id).Format(format).Limit(limit).Offset(offset).Sort(sort).Depth(depth).Execute()
+> []AvailableIP IpamPrefixesAvailableIpsList(ctx, id).Format(format).Limit(limit).Offset(offset).RangeEnd(rangeEnd).RangeStart(rangeStart).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -3904,12 +3706,15 @@ func main() {
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
+ rangeEnd := openapiclient.ipam_prefixes_available_ips_list_range_end_parameter{String: new(string)} // IpamPrefixesAvailableIpsListRangeEndParameter | IP from which enumeration/allocation should stop. (optional)
+ rangeStart := openapiclient.ipam_prefixes_available_ips_list_range_end_parameter{String: new(string)} // IpamPrefixesAvailableIpsListRangeEndParameter | IP from which enumeration/allocation should start. (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamPrefixesAvailableIpsList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Sort(sort).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamPrefixesAvailableIpsList(context.Background(), id).Format(format).Limit(limit).Offset(offset).RangeEnd(rangeEnd).RangeStart(rangeStart).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamPrefixesAvailableIpsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -3938,8 +3743,11 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
+ **rangeEnd** | [**IpamPrefixesAvailableIpsListRangeEndParameter**](IpamPrefixesAvailableIpsListRangeEndParameter.md) | IP from which enumeration/allocation should stop. |
+ **rangeStart** | [**IpamPrefixesAvailableIpsListRangeEndParameter**](IpamPrefixesAvailableIpsListRangeEndParameter.md) | IP from which enumeration/allocation should start. |
**sort** | **string** | Which field to use when ordering the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -4041,7 +3849,7 @@ Name | Type | Description | Notes
## IpamPrefixesAvailablePrefixesList
-> PaginatedAvailablePrefixList IpamPrefixesAvailablePrefixesList(ctx, id).Format(format).Limit(limit).Offset(offset).Sort(sort).Depth(depth).Execute()
+> PaginatedAvailablePrefixList IpamPrefixesAvailablePrefixesList(ctx, id).Format(format).Limit(limit).Offset(offset).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -4066,10 +3874,11 @@ func main() {
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamPrefixesAvailablePrefixesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Sort(sort).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamPrefixesAvailablePrefixesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamPrefixesAvailablePrefixesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -4100,6 +3909,7 @@ Name | Type | Description | Notes
**offset** | **int32** | The initial index from which to return the results. |
**sort** | **string** | Which field to use when ordering the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -4461,7 +4271,7 @@ Name | Type | Description | Notes
## IpamPrefixesList
-> PaginatedPrefixList IpamPrefixesList(ctx).CloudNetworks(cloudNetworks).CloudNetworksIsnull(cloudNetworksIsnull).CloudNetworksN(cloudNetworksN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Contains(contains).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DateAllocated(dateAllocated).DateAllocatedGt(dateAllocatedGt).DateAllocatedGte(dateAllocatedGte).DateAllocatedIsnull(dateAllocatedIsnull).DateAllocatedLt(dateAllocatedLt).DateAllocatedLte(dateAllocatedLte).DateAllocatedN(dateAllocatedN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasRir(hasRir).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).IpVersion(ipVersion).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).Locations(locations).LocationsN(locationsN).Namespace(namespace).NamespaceN(namespaceN).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).Prefix(prefix).PrefixLength(prefixLength).PrefixLengthGt(prefixLengthGt).PrefixLengthGte(prefixLengthGte).PrefixLengthLt(prefixLengthLt).PrefixLengthLte(prefixLengthLte).PrefixLengthN(prefixLengthN).PresentInVrf(presentInVrf).PresentInVrfId(presentInVrfId).Q(q).Rir(rir).RirIsnull(rirIsnull).RirN(rirN).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).VlanId(vlanId).VlanIdIsnull(vlanIdIsnull).VlanIdN(vlanIdN).VlanVid(vlanVid).VlanVidGt(vlanVidGt).VlanVidGte(vlanVidGte).VlanVidLt(vlanVidLt).VlanVidLte(vlanVidLte).VlanVidN(vlanVidN).Vrfs(vrfs).VrfsIsnull(vrfsIsnull).VrfsN(vrfsN).Within(within).WithinInclude(withinInclude).Depth(depth).Execute()
+> PaginatedPrefixList IpamPrefixesList(ctx).CloudNetworks(cloudNetworks).CloudNetworksIsnull(cloudNetworksIsnull).CloudNetworksN(cloudNetworksN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Contains(contains).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DateAllocated(dateAllocated).DateAllocatedGt(dateAllocatedGt).DateAllocatedGte(dateAllocatedGte).DateAllocatedIsnull(dateAllocatedIsnull).DateAllocatedLt(dateAllocatedLt).DateAllocatedLte(dateAllocatedLte).DateAllocatedN(dateAllocatedN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasRir(hasRir).Id(id).IdN(idN).IpVersion(ipVersion).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).Locations(locations).LocationsN(locationsN).Namespace(namespace).NamespaceN(namespaceN).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).Prefix(prefix).PrefixLength(prefixLength).PrefixLengthGt(prefixLengthGt).PrefixLengthGte(prefixLengthGte).PrefixLengthLt(prefixLengthLt).PrefixLengthLte(prefixLengthLte).PrefixLengthN(prefixLengthN).PresentInVrf(presentInVrf).PresentInVrfId(presentInVrfId).Q(q).Rir(rir).RirIsnull(rirIsnull).RirN(rirN).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).VlanId(vlanId).VlanIdIsnull(vlanIdIsnull).VlanIdN(vlanIdN).VlanVid(vlanVid).VlanVidGt(vlanVidGt).VlanVidGte(vlanVidGte).VlanVidLt(vlanVidLt).VlanVidLte(vlanVidLte).VlanVidN(vlanVidN).Vrfs(vrfs).VrfsIsnull(vrfsIsnull).VrfsN(vrfsN).Within(within).WithinInclude(withinInclude).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -4486,7 +4296,7 @@ func main() {
cloudNetworksN := []string{"Inner_example"} // []string | (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
contains := []string{"Inner_example"} // []string | Prefixes which contain this prefix or IP (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
@@ -4503,23 +4313,11 @@ func main() {
dateAllocatedLte := []time.Time{time.Now()} // []time.Time | (optional)
dateAllocatedN := []time.Time{time.Now()} // []time.Time | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
hasRir := true // bool | Has RIR (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
ipVersion := int32(56) // int32 | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
@@ -4537,7 +4335,7 @@ func main() {
namespaceN := []string{"Inner_example"} // []string | (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
parent := []string{"Inner_example"} // []string | (optional)
- parentIsnull := true // bool | (optional)
+ parentIsnull := true // bool | Prefix (ID or prefix string) is null (optional)
parentN := []string{"Inner_example"} // []string | (optional)
prefix := []string{"Inner_example"} // []string | Prefix (optional)
prefixLength := []int32{int32(123)} // []int32 | (optional)
@@ -4554,16 +4352,16 @@ func main() {
rirN := []string{"Inner_example"} // []string | (optional)
role := []string{"Inner_example"} // []string | (optional)
roleIsnull := true // bool | Role (name or ID) is null (optional)
- roleN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Role (name or ID) (optional)
+ roleN := []string{"Inner_example"} // []string | (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
status := []string{"Inner_example"} // []string | (optional)
- statusN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Status (name or ID) (optional)
+ statusN := []string{"Inner_example"} // []string | (optional)
tags := []string{"Inner_example"} // []string | (optional)
tagsIsnull := true // bool | (optional)
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
tenant := []string{"Inner_example"} // []string | (optional)
tenantIsnull := true // bool | Tenant (name or ID) is null (optional)
tenantN := []string{"Inner_example"} // []string | (optional)
@@ -4602,10 +4400,11 @@ func main() {
within := []string{"Inner_example"} // []string | Within prefix (optional)
withinInclude := []string{"Inner_example"} // []string | Within and including prefix (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamPrefixesList(context.Background()).CloudNetworks(cloudNetworks).CloudNetworksIsnull(cloudNetworksIsnull).CloudNetworksN(cloudNetworksN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Contains(contains).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DateAllocated(dateAllocated).DateAllocatedGt(dateAllocatedGt).DateAllocatedGte(dateAllocatedGte).DateAllocatedIsnull(dateAllocatedIsnull).DateAllocatedLt(dateAllocatedLt).DateAllocatedLte(dateAllocatedLte).DateAllocatedN(dateAllocatedN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasRir(hasRir).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).IpVersion(ipVersion).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).Locations(locations).LocationsN(locationsN).Namespace(namespace).NamespaceN(namespaceN).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).Prefix(prefix).PrefixLength(prefixLength).PrefixLengthGt(prefixLengthGt).PrefixLengthGte(prefixLengthGte).PrefixLengthLt(prefixLengthLt).PrefixLengthLte(prefixLengthLte).PrefixLengthN(prefixLengthN).PresentInVrf(presentInVrf).PresentInVrfId(presentInVrfId).Q(q).Rir(rir).RirIsnull(rirIsnull).RirN(rirN).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).VlanId(vlanId).VlanIdIsnull(vlanIdIsnull).VlanIdN(vlanIdN).VlanVid(vlanVid).VlanVidGt(vlanVidGt).VlanVidGte(vlanVidGte).VlanVidLt(vlanVidLt).VlanVidLte(vlanVidLte).VlanVidN(vlanVidN).Vrfs(vrfs).VrfsIsnull(vrfsIsnull).VrfsN(vrfsN).Within(within).WithinInclude(withinInclude).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamPrefixesList(context.Background()).CloudNetworks(cloudNetworks).CloudNetworksIsnull(cloudNetworksIsnull).CloudNetworksN(cloudNetworksN).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Contains(contains).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DateAllocated(dateAllocated).DateAllocatedGt(dateAllocatedGt).DateAllocatedGte(dateAllocatedGte).DateAllocatedIsnull(dateAllocatedIsnull).DateAllocatedLt(dateAllocatedLt).DateAllocatedLte(dateAllocatedLte).DateAllocatedN(dateAllocatedN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).HasRir(hasRir).Id(id).IdN(idN).IpVersion(ipVersion).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).Locations(locations).LocationsN(locationsN).Namespace(namespace).NamespaceN(namespaceN).Offset(offset).Parent(parent).ParentIsnull(parentIsnull).ParentN(parentN).Prefix(prefix).PrefixLength(prefixLength).PrefixLengthGt(prefixLengthGt).PrefixLengthGte(prefixLengthGte).PrefixLengthLt(prefixLengthLt).PrefixLengthLte(prefixLengthLte).PrefixLengthN(prefixLengthN).PresentInVrf(presentInVrf).PresentInVrfId(presentInVrfId).Q(q).Rir(rir).RirIsnull(rirIsnull).RirN(rirN).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Type_(type_).TypeIc(typeIc).TypeIe(typeIe).TypeIew(typeIew).TypeIre(typeIre).TypeIsw(typeIsw).TypeN(typeN).TypeNic(typeNic).TypeNie(typeNie).TypeNiew(typeNiew).TypeNire(typeNire).TypeNisw(typeNisw).TypeNre(typeNre).TypeRe(typeRe).VlanId(vlanId).VlanIdIsnull(vlanIdIsnull).VlanIdN(vlanIdN).VlanVid(vlanVid).VlanVidGt(vlanVidGt).VlanVidGte(vlanVidGte).VlanVidLt(vlanVidLt).VlanVidLte(vlanVidLte).VlanVidN(vlanVidN).Vrfs(vrfs).VrfsIsnull(vrfsIsnull).VrfsN(vrfsN).Within(within).WithinInclude(withinInclude).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamPrefixesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -4631,7 +4430,7 @@ Name | Type | Description | Notes
**cloudNetworksN** | **[]string** | |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**contains** | **[]string** | Prefixes which contain this prefix or IP |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
@@ -4648,23 +4447,11 @@ Name | Type | Description | Notes
**dateAllocatedLte** | [**[]time.Time**](time.Time.md) | |
**dateAllocatedN** | [**[]time.Time**](time.Time.md) | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**hasRir** | **bool** | Has RIR |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**ipVersion** | **int32** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
@@ -4682,7 +4469,7 @@ Name | Type | Description | Notes
**namespaceN** | **[]string** | |
**offset** | **int32** | The initial index from which to return the results. |
**parent** | **[]string** | |
- **parentIsnull** | **bool** | |
+ **parentIsnull** | **bool** | Prefix (ID or prefix string) is null |
**parentN** | **[]string** | |
**prefix** | **[]string** | Prefix |
**prefixLength** | **[]int32** | |
@@ -4699,16 +4486,16 @@ Name | Type | Description | Notes
**rirN** | **[]string** | |
**role** | **[]string** | |
**roleIsnull** | **bool** | Role (name or ID) is null |
- **roleN** | **string** | Exclude Role (name or ID) |
+ **roleN** | **[]string** | |
**sort** | **string** | Which field to use when ordering the results. |
**status** | **[]string** | |
- **statusN** | **string** | Exclude Status (name or ID) |
+ **statusN** | **[]string** | |
**tags** | **[]string** | |
**tagsIsnull** | **bool** | |
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**tenant** | **[]string** | |
**tenantIsnull** | **bool** | Tenant (name or ID) is null |
**tenantN** | **[]string** | |
@@ -4747,6 +4534,7 @@ Name | Type | Description | Notes
**within** | **[]string** | Within prefix |
**withinInclude** | **[]string** | Within and including prefix |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -4842,7 +4630,7 @@ Name | Type | Description | Notes
## IpamPrefixesNotesList
-> PaginatedNoteList IpamPrefixesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList IpamPrefixesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -4866,10 +4654,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamPrefixesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamPrefixesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamPrefixesNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -4899,6 +4688,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -4994,7 +4784,7 @@ Name | Type | Description | Notes
## IpamPrefixesRetrieve
-> Prefix IpamPrefixesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> Prefix IpamPrefixesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -5016,10 +4806,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this prefix.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamPrefixesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamPrefixesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamPrefixesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -5047,6 +4838,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -5482,7 +5274,7 @@ Name | Type | Description | Notes
## IpamRirsList
-> PaginatedRIRList IpamRirsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).IsPrivate(isPrivate).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedRIRList IpamRirsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).IsPrivate(isPrivate).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -5504,7 +5296,7 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -5527,22 +5319,10 @@ func main() {
descriptionNre := []string{"Inner_example"} // []string | (optional)
descriptionRe := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
isPrivate := true // bool | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
@@ -5571,12 +5351,13 @@ func main() {
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamRirsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).IsPrivate(isPrivate).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamRirsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).IsPrivate(isPrivate).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamRirsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -5599,7 +5380,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -5622,22 +5403,10 @@ Name | Type | Description | Notes
**descriptionNre** | **[]string** | |
**descriptionRe** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**isPrivate** | **bool** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
@@ -5666,8 +5435,9 @@ Name | Type | Description | Notes
**sort** | **string** | Which field to use when ordering the results. |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -5763,7 +5533,7 @@ Name | Type | Description | Notes
## IpamRirsNotesList
-> PaginatedNoteList IpamRirsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList IpamRirsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -5787,10 +5557,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamRirsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamRirsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamRirsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -5820,6 +5591,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -5915,7 +5687,7 @@ Name | Type | Description | Notes
## IpamRirsRetrieve
-> RIR IpamRirsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> RIR IpamRirsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -5937,10 +5709,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this RIR.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamRirsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamRirsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamRirsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -5968,6 +5741,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -6403,7 +6177,7 @@ Name | Type | Description | Notes
## IpamRouteTargetsList
-> PaginatedRouteTargetList IpamRouteTargetsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).ExportingVrfs(exportingVrfs).ExportingVrfsIsnull(exportingVrfsIsnull).ExportingVrfsN(exportingVrfsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).ImportingVrfs(importingVrfs).ImportingVrfsIsnull(importingVrfsIsnull).ImportingVrfsN(importingVrfsN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Depth(depth).Execute()
+> PaginatedRouteTargetList IpamRouteTargetsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).ExportingVrfs(exportingVrfs).ExportingVrfsIsnull(exportingVrfsIsnull).ExportingVrfsN(exportingVrfsN).Format(format).Id(id).IdN(idN).ImportingVrfs(importingVrfs).ImportingVrfsIsnull(importingVrfsIsnull).ImportingVrfsN(importingVrfsN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -6425,7 +6199,7 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -6434,25 +6208,13 @@ func main() {
createdLte := []time.Time{time.Now()} // []time.Time | (optional)
createdN := []time.Time{time.Now()} // []time.Time | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
exportingVrfs := []string{"Inner_example"} // []string | (optional)
exportingVrfsIsnull := true // bool | Export VRF(s) (ID or RD) is null (optional)
exportingVrfsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
importingVrfs := []string{"Inner_example"} // []string | (optional)
importingVrfsIsnull := true // bool | Import VRF(s) (ID or RD) is null (optional)
importingVrfsN := []string{"Inner_example"} // []string | (optional)
@@ -6486,7 +6248,7 @@ func main() {
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
tenant := []string{"Inner_example"} // []string | (optional)
tenantIsnull := true // bool | Tenant (name or ID) is null (optional)
tenantN := []string{"Inner_example"} // []string | (optional)
@@ -6497,10 +6259,11 @@ func main() {
tenantIdIsnull := true // bool | Tenant (ID) (deprecated, use \"tenant\" filter instead) is null (optional)
tenantIdN := []*string{"Inner_example"} // []*string | Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead) (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamRouteTargetsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).ExportingVrfs(exportingVrfs).ExportingVrfsIsnull(exportingVrfsIsnull).ExportingVrfsN(exportingVrfsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).ImportingVrfs(importingVrfs).ImportingVrfsIsnull(importingVrfsIsnull).ImportingVrfsN(importingVrfsN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamRouteTargetsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).ExportingVrfs(exportingVrfs).ExportingVrfsIsnull(exportingVrfsIsnull).ExportingVrfsN(exportingVrfsN).Format(format).Id(id).IdN(idN).ImportingVrfs(importingVrfs).ImportingVrfsIsnull(importingVrfsIsnull).ImportingVrfsN(importingVrfsN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamRouteTargetsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -6523,7 +6286,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -6532,25 +6295,13 @@ Name | Type | Description | Notes
**createdLte** | [**[]time.Time**](time.Time.md) | |
**createdN** | [**[]time.Time**](time.Time.md) | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**exportingVrfs** | **[]string** | |
**exportingVrfsIsnull** | **bool** | Export VRF(s) (ID or RD) is null |
**exportingVrfsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**importingVrfs** | **[]string** | |
**importingVrfsIsnull** | **bool** | Import VRF(s) (ID or RD) is null |
**importingVrfsN** | **[]string** | |
@@ -6584,7 +6335,7 @@ Name | Type | Description | Notes
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**tenant** | **[]string** | |
**tenantIsnull** | **bool** | Tenant (name or ID) is null |
**tenantN** | **[]string** | |
@@ -6595,6 +6346,7 @@ Name | Type | Description | Notes
**tenantIdIsnull** | **bool** | Tenant (ID) (deprecated, use \"tenant\" filter instead) is null |
**tenantIdN** | **[]string** | Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead) |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -6690,7 +6442,7 @@ Name | Type | Description | Notes
## IpamRouteTargetsNotesList
-> PaginatedNoteList IpamRouteTargetsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList IpamRouteTargetsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -6714,10 +6466,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamRouteTargetsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamRouteTargetsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamRouteTargetsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -6747,6 +6500,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -6842,7 +6596,7 @@ Name | Type | Description | Notes
## IpamRouteTargetsRetrieve
-> RouteTarget IpamRouteTargetsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> RouteTarget IpamRouteTargetsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -6864,10 +6618,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this route target.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamRouteTargetsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamRouteTargetsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamRouteTargetsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -6895,6 +6650,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -7330,7 +7086,7 @@ Name | Type | Description | Notes
## IpamServicesList
-> PaginatedServiceList IpamServicesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Device(device).DeviceIsnull(deviceIsnull).DeviceN(deviceN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Ports(ports).Protocol(protocol).ProtocolIc(protocolIc).ProtocolIe(protocolIe).ProtocolIew(protocolIew).ProtocolIre(protocolIre).ProtocolIsw(protocolIsw).ProtocolN(protocolN).ProtocolNic(protocolNic).ProtocolNie(protocolNie).ProtocolNiew(protocolNiew).ProtocolNire(protocolNire).ProtocolNisw(protocolNisw).ProtocolNre(protocolNre).ProtocolRe(protocolRe).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).VirtualMachine(virtualMachine).VirtualMachineIsnull(virtualMachineIsnull).VirtualMachineN(virtualMachineN).Depth(depth).Execute()
+> PaginatedServiceList IpamServicesList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Device(device).DeviceIsnull(deviceIsnull).DeviceN(deviceN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Ports(ports).Protocol(protocol).ProtocolIc(protocolIc).ProtocolIe(protocolIe).ProtocolIew(protocolIew).ProtocolIre(protocolIre).ProtocolIsw(protocolIsw).ProtocolN(protocolN).ProtocolNic(protocolNic).ProtocolNie(protocolNie).ProtocolNiew(protocolNiew).ProtocolNire(protocolNire).ProtocolNisw(protocolNisw).ProtocolNre(protocolNre).ProtocolRe(protocolRe).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).VirtualMachine(virtualMachine).VirtualMachineIsnull(virtualMachineIsnull).VirtualMachineN(virtualMachineN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -7352,7 +7108,7 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -7364,22 +7120,10 @@ func main() {
deviceIsnull := true // bool | Device (ID or name) is null (optional)
deviceN := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -7425,15 +7169,16 @@ func main() {
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
virtualMachine := []string{"Inner_example"} // []string | (optional)
virtualMachineIsnull := true // bool | Virtual machine (ID or name) is null (optional)
virtualMachineN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamServicesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Device(device).DeviceIsnull(deviceIsnull).DeviceN(deviceN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Ports(ports).Protocol(protocol).ProtocolIc(protocolIc).ProtocolIe(protocolIe).ProtocolIew(protocolIew).ProtocolIre(protocolIre).ProtocolIsw(protocolIsw).ProtocolN(protocolN).ProtocolNic(protocolNic).ProtocolNie(protocolNie).ProtocolNiew(protocolNiew).ProtocolNire(protocolNire).ProtocolNisw(protocolNisw).ProtocolNre(protocolNre).ProtocolRe(protocolRe).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).VirtualMachine(virtualMachine).VirtualMachineIsnull(virtualMachineIsnull).VirtualMachineN(virtualMachineN).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamServicesList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Device(device).DeviceIsnull(deviceIsnull).DeviceN(deviceN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Ports(ports).Protocol(protocol).ProtocolIc(protocolIc).ProtocolIe(protocolIe).ProtocolIew(protocolIew).ProtocolIre(protocolIre).ProtocolIsw(protocolIsw).ProtocolN(protocolN).ProtocolNic(protocolNic).ProtocolNie(protocolNie).ProtocolNiew(protocolNiew).ProtocolNire(protocolNire).ProtocolNisw(protocolNisw).ProtocolNre(protocolNre).ProtocolRe(protocolRe).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).VirtualMachine(virtualMachine).VirtualMachineIsnull(virtualMachineIsnull).VirtualMachineN(virtualMachineN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamServicesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -7456,7 +7201,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -7468,22 +7213,10 @@ Name | Type | Description | Notes
**deviceIsnull** | **bool** | Device (ID or name) is null |
**deviceN** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -7529,11 +7262,12 @@ Name | Type | Description | Notes
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**virtualMachine** | **[]string** | |
**virtualMachineIsnull** | **bool** | Virtual machine (ID or name) is null |
**virtualMachineN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -7629,7 +7363,7 @@ Name | Type | Description | Notes
## IpamServicesNotesList
-> PaginatedNoteList IpamServicesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList IpamServicesNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -7653,10 +7387,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamServicesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamServicesNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamServicesNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -7686,6 +7421,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -7781,7 +7517,7 @@ Name | Type | Description | Notes
## IpamServicesRetrieve
-> Service IpamServicesRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> Service IpamServicesRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -7803,10 +7539,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this service.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamServicesRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamServicesRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamServicesRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -7834,6 +7571,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -7927,9 +7665,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## IpamVlanGroupsBulkDestroy
+## IpamVlanGroupsAvailableVlansCreate
-> IpamVlanGroupsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+> PaginatedVLANList IpamVlanGroupsAvailableVlansCreate(ctx, id).VLANAllocationRequest(vLANAllocationRequest).Format(format).Limit(limit).Offset(offset).Sort(sort).Execute()
@@ -7948,36 +7686,50 @@ import (
)
func main() {
- bulkOperationRequest := []openapiclient.BulkOperationRequest{*openapiclient.NewBulkOperationRequest("Id_example")} // []BulkOperationRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this VLAN.
+ vLANAllocationRequest := []openapiclient.VLANAllocationRequest{*openapiclient.NewVLANAllocationRequest("Name_example", *openapiclient.NewBulkWritableCableRequestStatus())} // []VLANAllocationRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ limit := int32(56) // int32 | Number of results to return per page. (optional)
+ offset := int32(56) // int32 | The initial index from which to return the results. (optional)
+ sort := "sort_example" // string | Which field to use when ordering the results. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.IpamAPI.IpamVlanGroupsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamVlanGroupsAvailableVlansCreate(context.Background(), id).VLANAllocationRequest(vLANAllocationRequest).Format(format).Limit(limit).Offset(offset).Sort(sort).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVlanGroupsBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVlanGroupsAvailableVlansCreate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
+ // response from `IpamVlanGroupsAvailableVlansCreate`: PaginatedVLANList
+ fmt.Fprintf(os.Stdout, "Response from `IpamAPI.IpamVlanGroupsAvailableVlansCreate`: %v\n", resp)
}
```
### Path Parameters
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this VLAN. |
### Other Parameters
-Other parameters are passed through a pointer to a apiIpamVlanGroupsBulkDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiIpamVlanGroupsAvailableVlansCreateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **bulkOperationRequest** | [**[]BulkOperationRequest**](BulkOperationRequest.md) | |
+
+ **vLANAllocationRequest** | [**[]VLANAllocationRequest**](VLANAllocationRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **limit** | **int32** | Number of results to return per page. |
+ **offset** | **int32** | The initial index from which to return the results. |
+ **sort** | **string** | Which field to use when ordering the results. |
### Return type
- (empty response body)
+[**PaginatedVLANList**](PaginatedVLANList.md)
### Authorization
@@ -7986,16 +7738,16 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json, text/csv
-- **Accept**: Not defined
+- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
-## IpamVlanGroupsBulkPartialUpdate
+## IpamVlanGroupsAvailableVlansList
-> []VLANGroup IpamVlanGroupsBulkPartialUpdate(ctx).PatchedBulkWritableVLANGroupRequest(patchedBulkWritableVLANGroupRequest).Format(format).Execute()
+> IpamVlanGroupsAvailableVlansList200Response IpamVlanGroupsAvailableVlansList(ctx, id).Format(format).Limit(limit).Offset(offset).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -8014,38 +7766,52 @@ import (
)
func main() {
- patchedBulkWritableVLANGroupRequest := []openapiclient.PatchedBulkWritableVLANGroupRequest{*openapiclient.NewPatchedBulkWritableVLANGroupRequest("Id_example")} // []PatchedBulkWritableVLANGroupRequest |
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this VLAN.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ limit := int32(56) // int32 | Number of results to return per page. (optional)
+ offset := int32(56) // int32 | The initial index from which to return the results. (optional)
+ sort := "sort_example" // string | Which field to use when ordering the results. (optional)
+ depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamVlanGroupsBulkPartialUpdate(context.Background()).PatchedBulkWritableVLANGroupRequest(patchedBulkWritableVLANGroupRequest).Format(format).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamVlanGroupsAvailableVlansList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Sort(sort).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVlanGroupsBulkPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVlanGroupsAvailableVlansList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `IpamVlanGroupsBulkPartialUpdate`: []VLANGroup
- fmt.Fprintf(os.Stdout, "Response from `IpamAPI.IpamVlanGroupsBulkPartialUpdate`: %v\n", resp)
+ // response from `IpamVlanGroupsAvailableVlansList`: IpamVlanGroupsAvailableVlansList200Response
+ fmt.Fprintf(os.Stdout, "Response from `IpamAPI.IpamVlanGroupsAvailableVlansList`: %v\n", resp)
}
```
### Path Parameters
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**id** | **string** | A UUID string identifying this VLAN. |
### Other Parameters
-Other parameters are passed through a pointer to a apiIpamVlanGroupsBulkPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiIpamVlanGroupsAvailableVlansListRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **patchedBulkWritableVLANGroupRequest** | [**[]PatchedBulkWritableVLANGroupRequest**](PatchedBulkWritableVLANGroupRequest.md) | |
+
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **limit** | **int32** | Number of results to return per page. |
+ **offset** | **int32** | The initial index from which to return the results. |
+ **sort** | **string** | Which field to use when ordering the results. |
+ **depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**[]VLANGroup**](VLANGroup.md)
+[**IpamVlanGroupsAvailableVlansList200Response**](IpamVlanGroupsAvailableVlansList200Response.md)
### Authorization
@@ -8053,7 +7819,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: application/json, text/csv
+- **Content-Type**: Not defined
- **Accept**: application/json, text/csv
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
@@ -8061,9 +7827,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## IpamVlanGroupsBulkUpdate
+## IpamVlanGroupsBulkDestroy
-> []VLANGroup IpamVlanGroupsBulkUpdate(ctx).BulkWritableVLANGroupRequest(bulkWritableVLANGroupRequest).Format(format).Execute()
+> IpamVlanGroupsBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
@@ -8082,18 +7848,16 @@ import (
)
func main() {
- bulkWritableVLANGroupRequest := []openapiclient.BulkWritableVLANGroupRequest{*openapiclient.NewBulkWritableVLANGroupRequest("Id_example", "Name_example")} // []BulkWritableVLANGroupRequest |
+ bulkOperationRequest := []openapiclient.BulkOperationRequest{*openapiclient.NewBulkOperationRequest("Id_example")} // []BulkOperationRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamVlanGroupsBulkUpdate(context.Background()).BulkWritableVLANGroupRequest(bulkWritableVLANGroupRequest).Format(format).Execute()
+ r, err := apiClient.IpamAPI.IpamVlanGroupsBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVlanGroupsBulkUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVlanGroupsBulkDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `IpamVlanGroupsBulkUpdate`: []VLANGroup
- fmt.Fprintf(os.Stdout, "Response from `IpamAPI.IpamVlanGroupsBulkUpdate`: %v\n", resp)
}
```
@@ -8103,17 +7867,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiIpamVlanGroupsBulkUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiIpamVlanGroupsBulkDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **bulkWritableVLANGroupRequest** | [**[]BulkWritableVLANGroupRequest**](BulkWritableVLANGroupRequest.md) | |
+ **bulkOperationRequest** | [**[]BulkOperationRequest**](BulkOperationRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**[]VLANGroup**](VLANGroup.md)
+ (empty response body)
### Authorization
@@ -8122,16 +7886,16 @@ Name | Type | Description | Notes
### HTTP request headers
- **Content-Type**: application/json, text/csv
-- **Accept**: application/json, text/csv
+- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
-## IpamVlanGroupsCreate
+## IpamVlanGroupsBulkPartialUpdate
-> VLANGroup IpamVlanGroupsCreate(ctx).VLANGroupRequest(vLANGroupRequest).Format(format).Execute()
+> []VLANGroup IpamVlanGroupsBulkPartialUpdate(ctx).PatchedBulkWritableVLANGroupRequest(patchedBulkWritableVLANGroupRequest).Format(format).Execute()
@@ -8150,18 +7914,18 @@ import (
)
func main() {
- vLANGroupRequest := *openapiclient.NewVLANGroupRequest("Name_example") // VLANGroupRequest |
+ patchedBulkWritableVLANGroupRequest := []openapiclient.PatchedBulkWritableVLANGroupRequest{*openapiclient.NewPatchedBulkWritableVLANGroupRequest("Id_example")} // []PatchedBulkWritableVLANGroupRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamVlanGroupsCreate(context.Background()).VLANGroupRequest(vLANGroupRequest).Format(format).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamVlanGroupsBulkPartialUpdate(context.Background()).PatchedBulkWritableVLANGroupRequest(patchedBulkWritableVLANGroupRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVlanGroupsCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVlanGroupsBulkPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `IpamVlanGroupsCreate`: VLANGroup
- fmt.Fprintf(os.Stdout, "Response from `IpamAPI.IpamVlanGroupsCreate`: %v\n", resp)
+ // response from `IpamVlanGroupsBulkPartialUpdate`: []VLANGroup
+ fmt.Fprintf(os.Stdout, "Response from `IpamAPI.IpamVlanGroupsBulkPartialUpdate`: %v\n", resp)
}
```
@@ -8171,7 +7935,143 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiIpamVlanGroupsCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiIpamVlanGroupsBulkPartialUpdateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **patchedBulkWritableVLANGroupRequest** | [**[]PatchedBulkWritableVLANGroupRequest**](PatchedBulkWritableVLANGroupRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+[**[]VLANGroup**](VLANGroup.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## IpamVlanGroupsBulkUpdate
+
+> []VLANGroup IpamVlanGroupsBulkUpdate(ctx).BulkWritableVLANGroupRequest(bulkWritableVLANGroupRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ bulkWritableVLANGroupRequest := []openapiclient.BulkWritableVLANGroupRequest{*openapiclient.NewBulkWritableVLANGroupRequest("Id_example", "Name_example")} // []BulkWritableVLANGroupRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.IpamAPI.IpamVlanGroupsBulkUpdate(context.Background()).BulkWritableVLANGroupRequest(bulkWritableVLANGroupRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVlanGroupsBulkUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `IpamVlanGroupsBulkUpdate`: []VLANGroup
+ fmt.Fprintf(os.Stdout, "Response from `IpamAPI.IpamVlanGroupsBulkUpdate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiIpamVlanGroupsBulkUpdateRequest struct via the builder pattern
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **bulkWritableVLANGroupRequest** | [**[]BulkWritableVLANGroupRequest**](BulkWritableVLANGroupRequest.md) | |
+ **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+
+### Return type
+
+[**[]VLANGroup**](VLANGroup.md)
+
+### Authorization
+
+[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, text/csv
+- **Accept**: application/json, text/csv
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## IpamVlanGroupsCreate
+
+> VLANGroup IpamVlanGroupsCreate(ctx).VLANGroupRequest(vLANGroupRequest).Format(format).Execute()
+
+
+
+
+
+### Example
+
+```go
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+ openapiclient "github.com/nautobot/go-nautobot/v2"
+)
+
+func main() {
+ vLANGroupRequest := *openapiclient.NewVLANGroupRequest("Name_example") // VLANGroupRequest |
+ format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+
+ configuration := openapiclient.NewConfiguration()
+ apiClient := openapiclient.NewAPIClient(configuration)
+ resp, r, err := apiClient.IpamAPI.IpamVlanGroupsCreate(context.Background()).VLANGroupRequest(vLANGroupRequest).Format(format).Execute()
+ if err != nil {
+ fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVlanGroupsCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+ }
+ // response from `IpamVlanGroupsCreate`: VLANGroup
+ fmt.Fprintf(os.Stdout, "Response from `IpamAPI.IpamVlanGroupsCreate`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiIpamVlanGroupsCreateRequest struct via the builder pattern
Name | Type | Description | Notes
@@ -8269,7 +8169,7 @@ Name | Type | Description | Notes
## IpamVlanGroupsList
-> PaginatedVLANGroupList IpamVlanGroupsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationIsnull(locationIsnull).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+> PaginatedVLANGroupList IpamVlanGroupsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationIsnull(locationIsnull).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -8291,7 +8191,7 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -8314,22 +8214,10 @@ func main() {
descriptionNre := []string{"Inner_example"} // []string | (optional)
descriptionRe := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -8358,14 +8246,18 @@ func main() {
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
q := "q_example" // string | Search (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
+ tags := []string{"Inner_example"} // []string | (optional)
+ tagsIsnull := true // bool | (optional)
+ tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamVlanGroupsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationIsnull(locationIsnull).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamVlanGroupsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationIsnull(locationIsnull).LocationN(locationN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Sort(sort).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVlanGroupsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -8388,7 +8280,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -8411,22 +8303,10 @@ Name | Type | Description | Notes
**descriptionNre** | **[]string** | |
**descriptionRe** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -8455,10 +8335,14 @@ Name | Type | Description | Notes
**offset** | **int32** | The initial index from which to return the results. |
**q** | **string** | Search |
**sort** | **string** | Which field to use when ordering the results. |
+ **tags** | **[]string** | |
+ **tagsIsnull** | **bool** | |
+ **tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -8554,7 +8438,7 @@ Name | Type | Description | Notes
## IpamVlanGroupsNotesList
-> PaginatedNoteList IpamVlanGroupsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList IpamVlanGroupsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -8578,10 +8462,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamVlanGroupsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamVlanGroupsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVlanGroupsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -8611,6 +8496,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -8706,7 +8592,7 @@ Name | Type | Description | Notes
## IpamVlanGroupsRetrieve
-> VLANGroup IpamVlanGroupsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> VLANGroup IpamVlanGroupsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -8728,10 +8614,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this VLAN group.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamVlanGroupsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamVlanGroupsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVlanGroupsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -8759,6 +8646,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -9194,7 +9082,7 @@ Name | Type | Description | Notes
## IpamVlanLocationAssignmentsList
-> PaginatedVLANLocationAssignmentList IpamVlanLocationAssignmentsList(ctx).Created(created).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).Limit(limit).Location(location).LocationN(locationN).Offset(offset).Q(q).Sort(sort).Vlan(vlan).VlanN(vlanN).Depth(depth).Execute()
+> PaginatedVLANLocationAssignmentList IpamVlanLocationAssignmentsList(ctx).Created(created).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).Limit(limit).Location(location).LocationN(locationN).Offset(offset).Q(q).Sort(sort).Vlan(vlan).VlanN(vlanN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -9217,19 +9105,7 @@ func main() {
created := []time.Time{time.Now()} // []time.Time | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
location := []string{"Inner_example"} // []string | (optional)
@@ -9240,10 +9116,11 @@ func main() {
vlan := []string{"Inner_example"} // []string | (optional)
vlanN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamVlanLocationAssignmentsList(context.Background()).Created(created).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).Limit(limit).Location(location).LocationN(locationN).Offset(offset).Q(q).Sort(sort).Vlan(vlan).VlanN(vlanN).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamVlanLocationAssignmentsList(context.Background()).Created(created).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).Limit(limit).Location(location).LocationN(locationN).Offset(offset).Q(q).Sort(sort).Vlan(vlan).VlanN(vlanN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVlanLocationAssignmentsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -9267,19 +9144,7 @@ Name | Type | Description | Notes
**created** | [**[]time.Time**](time.Time.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**limit** | **int32** | Number of results to return per page. |
**location** | **[]string** | |
@@ -9290,6 +9155,7 @@ Name | Type | Description | Notes
**vlan** | **[]string** | |
**vlanN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -9309,9 +9175,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## IpamVlanLocationAssignmentsNotesCreate
+## IpamVlanLocationAssignmentsPartialUpdate
-> Note IpamVlanLocationAssignmentsNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+> VLANLocationAssignment IpamVlanLocationAssignmentsPartialUpdate(ctx, id).Format(format).PatchedVLANLocationAssignmentRequest(patchedVLANLocationAssignmentRequest).Execute()
@@ -9331,18 +9197,18 @@ import (
func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this vlan location assignment.
- noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
+ patchedVLANLocationAssignmentRequest := *openapiclient.NewPatchedVLANLocationAssignmentRequest() // PatchedVLANLocationAssignmentRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamVlanLocationAssignmentsNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamVlanLocationAssignmentsPartialUpdate(context.Background(), id).Format(format).PatchedVLANLocationAssignmentRequest(patchedVLANLocationAssignmentRequest).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVlanLocationAssignmentsNotesCreate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVlanLocationAssignmentsPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `IpamVlanLocationAssignmentsNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `IpamAPI.IpamVlanLocationAssignmentsNotesCreate`: %v\n", resp)
+ // response from `IpamVlanLocationAssignmentsPartialUpdate`: VLANLocationAssignment
+ fmt.Fprintf(os.Stdout, "Response from `IpamAPI.IpamVlanLocationAssignmentsPartialUpdate`: %v\n", resp)
}
```
@@ -9356,18 +9222,18 @@ Name | Type | Description | Notes
### Other Parameters
-Other parameters are passed through a pointer to a apiIpamVlanLocationAssignmentsNotesCreateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiIpamVlanLocationAssignmentsPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **noteInputRequest** | [**NoteInputRequest**](NoteInputRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
+ **patchedVLANLocationAssignmentRequest** | [**PatchedVLANLocationAssignmentRequest**](PatchedVLANLocationAssignmentRequest.md) | |
### Return type
-[**Note**](Note.md)
+[**VLANLocationAssignment**](VLANLocationAssignment.md)
### Authorization
@@ -9383,9 +9249,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## IpamVlanLocationAssignmentsNotesList
+## IpamVlanLocationAssignmentsRetrieve
-> PaginatedNoteList IpamVlanLocationAssignmentsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> VLANLocationAssignment IpamVlanLocationAssignmentsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -9406,19 +9272,18 @@ import (
func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this vlan location assignment.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- limit := int32(56) // int32 | Number of results to return per page. (optional)
- offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamVlanLocationAssignmentsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamVlanLocationAssignmentsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVlanLocationAssignmentsNotesList``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVlanLocationAssignmentsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `IpamVlanLocationAssignmentsNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `IpamAPI.IpamVlanLocationAssignmentsNotesList`: %v\n", resp)
+ // response from `IpamVlanLocationAssignmentsRetrieve`: VLANLocationAssignment
+ fmt.Fprintf(os.Stdout, "Response from `IpamAPI.IpamVlanLocationAssignmentsRetrieve`: %v\n", resp)
}
```
@@ -9432,20 +9297,19 @@ Name | Type | Description | Notes
### Other Parameters
-Other parameters are passed through a pointer to a apiIpamVlanLocationAssignmentsNotesListRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiIpamVlanLocationAssignmentsRetrieveRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **limit** | **int32** | Number of results to return per page. |
- **offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
-[**PaginatedNoteList**](PaginatedNoteList.md)
+[**VLANLocationAssignment**](VLANLocationAssignment.md)
### Authorization
@@ -9461,9 +9325,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## IpamVlanLocationAssignmentsPartialUpdate
+## IpamVlanLocationAssignmentsUpdate
-> VLANLocationAssignment IpamVlanLocationAssignmentsPartialUpdate(ctx, id).Format(format).PatchedVLANLocationAssignmentRequest(patchedVLANLocationAssignmentRequest).Execute()
+> VLANLocationAssignment IpamVlanLocationAssignmentsUpdate(ctx, id).VLANLocationAssignmentRequest(vLANLocationAssignmentRequest).Format(format).Execute()
@@ -9483,18 +9347,18 @@ import (
func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this vlan location assignment.
+ vLANLocationAssignmentRequest := *openapiclient.NewVLANLocationAssignmentRequest(*openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // VLANLocationAssignmentRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- patchedVLANLocationAssignmentRequest := *openapiclient.NewPatchedVLANLocationAssignmentRequest() // PatchedVLANLocationAssignmentRequest | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamVlanLocationAssignmentsPartialUpdate(context.Background(), id).Format(format).PatchedVLANLocationAssignmentRequest(patchedVLANLocationAssignmentRequest).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamVlanLocationAssignmentsUpdate(context.Background(), id).VLANLocationAssignmentRequest(vLANLocationAssignmentRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVlanLocationAssignmentsPartialUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVlanLocationAssignmentsUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `IpamVlanLocationAssignmentsPartialUpdate`: VLANLocationAssignment
- fmt.Fprintf(os.Stdout, "Response from `IpamAPI.IpamVlanLocationAssignmentsPartialUpdate`: %v\n", resp)
+ // response from `IpamVlanLocationAssignmentsUpdate`: VLANLocationAssignment
+ fmt.Fprintf(os.Stdout, "Response from `IpamAPI.IpamVlanLocationAssignmentsUpdate`: %v\n", resp)
}
```
@@ -9508,14 +9372,14 @@ Name | Type | Description | Notes
### Other Parameters
-Other parameters are passed through a pointer to a apiIpamVlanLocationAssignmentsPartialUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiIpamVlanLocationAssignmentsUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
+ **vLANLocationAssignmentRequest** | [**VLANLocationAssignmentRequest**](VLANLocationAssignmentRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **patchedVLANLocationAssignmentRequest** | [**PatchedVLANLocationAssignmentRequest**](PatchedVLANLocationAssignmentRequest.md) | |
### Return type
@@ -9535,9 +9399,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## IpamVlanLocationAssignmentsRetrieve
+## IpamVlansBulkDestroy
-> VLANLocationAssignment IpamVlanLocationAssignmentsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> IpamVlansBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
@@ -9556,44 +9420,36 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this vlan location assignment.
+ bulkOperationRequest := []openapiclient.BulkOperationRequest{*openapiclient.NewBulkOperationRequest("Id_example")} // []BulkOperationRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamVlanLocationAssignmentsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ r, err := apiClient.IpamAPI.IpamVlansBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVlanLocationAssignmentsRetrieve``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVlansBulkDestroy``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `IpamVlanLocationAssignmentsRetrieve`: VLANLocationAssignment
- fmt.Fprintf(os.Stdout, "Response from `IpamAPI.IpamVlanLocationAssignmentsRetrieve`: %v\n", resp)
}
```
### Path Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this vlan location assignment. |
### Other Parameters
-Other parameters are passed through a pointer to a apiIpamVlanLocationAssignmentsRetrieveRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiIpamVlansBulkDestroyRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-
+ **bulkOperationRequest** | [**[]BulkOperationRequest**](BulkOperationRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **depth** | **int32** | Serializer Depth | [default to 1]
### Return type
-[**VLANLocationAssignment**](VLANLocationAssignment.md)
+ (empty response body)
### Authorization
@@ -9601,17 +9457,17 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: Not defined
-- **Accept**: application/json, text/csv
+- **Content-Type**: application/json, text/csv
+- **Accept**: Not defined
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
-## IpamVlanLocationAssignmentsUpdate
+## IpamVlansBulkPartialUpdate
-> VLANLocationAssignment IpamVlanLocationAssignmentsUpdate(ctx, id).VLANLocationAssignmentRequest(vLANLocationAssignmentRequest).Format(format).Execute()
+> []VLAN IpamVlansBulkPartialUpdate(ctx).PatchedBulkWritableVLANRequest(patchedBulkWritableVLANRequest).Format(format).Execute()
@@ -9630,44 +9486,38 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this vlan location assignment.
- vLANLocationAssignmentRequest := *openapiclient.NewVLANLocationAssignmentRequest(*openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // VLANLocationAssignmentRequest |
+ patchedBulkWritableVLANRequest := []openapiclient.PatchedBulkWritableVLANRequest{*openapiclient.NewPatchedBulkWritableVLANRequest("Id_example")} // []PatchedBulkWritableVLANRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamVlanLocationAssignmentsUpdate(context.Background(), id).VLANLocationAssignmentRequest(vLANLocationAssignmentRequest).Format(format).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamVlansBulkPartialUpdate(context.Background()).PatchedBulkWritableVLANRequest(patchedBulkWritableVLANRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVlanLocationAssignmentsUpdate``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVlansBulkPartialUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
- // response from `IpamVlanLocationAssignmentsUpdate`: VLANLocationAssignment
- fmt.Fprintf(os.Stdout, "Response from `IpamAPI.IpamVlanLocationAssignmentsUpdate`: %v\n", resp)
+ // response from `IpamVlansBulkPartialUpdate`: []VLAN
+ fmt.Fprintf(os.Stdout, "Response from `IpamAPI.IpamVlansBulkPartialUpdate`: %v\n", resp)
}
```
### Path Parameters
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this vlan location assignment. |
### Other Parameters
-Other parameters are passed through a pointer to a apiIpamVlanLocationAssignmentsUpdateRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiIpamVlansBulkPartialUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-
- **vLANLocationAssignmentRequest** | [**VLANLocationAssignmentRequest**](VLANLocationAssignmentRequest.md) | |
+ **patchedBulkWritableVLANRequest** | [**[]PatchedBulkWritableVLANRequest**](PatchedBulkWritableVLANRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
-[**VLANLocationAssignment**](VLANLocationAssignment.md)
+[**[]VLAN**](VLAN.md)
### Authorization
@@ -9683,9 +9533,9 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## IpamVlansBulkDestroy
+## IpamVlansBulkUpdate
-> IpamVlansBulkDestroy(ctx).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+> []VLAN IpamVlansBulkUpdate(ctx).BulkWritableVLANRequest(bulkWritableVLANRequest).Format(format).Execute()
@@ -9704,16 +9554,18 @@ import (
)
func main() {
- bulkOperationRequest := []openapiclient.BulkOperationRequest{*openapiclient.NewBulkOperationRequest("Id_example")} // []BulkOperationRequest |
+ bulkWritableVLANRequest := []openapiclient.BulkWritableVLANRequest{*openapiclient.NewBulkWritableVLANRequest("Id_example", int32(123), "Name_example", *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritableVLANRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- r, err := apiClient.IpamAPI.IpamVlansBulkDestroy(context.Background()).BulkOperationRequest(bulkOperationRequest).Format(format).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamVlansBulkUpdate(context.Background()).BulkWritableVLANRequest(bulkWritableVLANRequest).Format(format).Execute()
if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVlansBulkDestroy``: %v\n", err)
+ fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVlansBulkUpdate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
+ // response from `IpamVlansBulkUpdate`: []VLAN
+ fmt.Fprintf(os.Stdout, "Response from `IpamAPI.IpamVlansBulkUpdate`: %v\n", resp)
}
```
@@ -9723,153 +9575,17 @@ func main() {
### Other Parameters
-Other parameters are passed through a pointer to a apiIpamVlansBulkDestroyRequest struct via the builder pattern
+Other parameters are passed through a pointer to a apiIpamVlansBulkUpdateRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **bulkOperationRequest** | [**[]BulkOperationRequest**](BulkOperationRequest.md) | |
+ **bulkWritableVLANRequest** | [**[]BulkWritableVLANRequest**](BulkWritableVLANRequest.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
### Return type
- (empty response body)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: application/json, text/csv
-- **Accept**: Not defined
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## IpamVlansBulkPartialUpdate
-
-> []VLAN IpamVlansBulkPartialUpdate(ctx).PatchedBulkWritableVLANRequest(patchedBulkWritableVLANRequest).Format(format).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- patchedBulkWritableVLANRequest := []openapiclient.PatchedBulkWritableVLANRequest{*openapiclient.NewPatchedBulkWritableVLANRequest("Id_example")} // []PatchedBulkWritableVLANRequest |
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamVlansBulkPartialUpdate(context.Background()).PatchedBulkWritableVLANRequest(patchedBulkWritableVLANRequest).Format(format).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVlansBulkPartialUpdate``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `IpamVlansBulkPartialUpdate`: []VLAN
- fmt.Fprintf(os.Stdout, "Response from `IpamAPI.IpamVlansBulkPartialUpdate`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiIpamVlansBulkPartialUpdateRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **patchedBulkWritableVLANRequest** | [**[]PatchedBulkWritableVLANRequest**](PatchedBulkWritableVLANRequest.md) | |
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
-
-### Return type
-
-[**[]VLAN**](VLAN.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: application/json, text/csv
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## IpamVlansBulkUpdate
-
-> []VLAN IpamVlansBulkUpdate(ctx).BulkWritableVLANRequest(bulkWritableVLANRequest).Format(format).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- bulkWritableVLANRequest := []openapiclient.BulkWritableVLANRequest{*openapiclient.NewBulkWritableVLANRequest("Id_example", int32(123), "Name_example", *openapiclient.NewBulkWritableCableRequestStatus())} // []BulkWritableVLANRequest |
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamVlansBulkUpdate(context.Background()).BulkWritableVLANRequest(bulkWritableVLANRequest).Format(format).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVlansBulkUpdate``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `IpamVlansBulkUpdate`: []VLAN
- fmt.Fprintf(os.Stdout, "Response from `IpamAPI.IpamVlansBulkUpdate`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiIpamVlansBulkUpdateRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **bulkWritableVLANRequest** | [**[]BulkWritableVLANRequest**](BulkWritableVLANRequest.md) | |
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
-
-### Return type
-
-[**[]VLAN**](VLAN.md)
+[**[]VLAN**](VLAN.md)
### Authorization
@@ -10025,7 +9741,7 @@ Name | Type | Description | Notes
## IpamVlansList
-> PaginatedVLANList IpamVlansList(ctx).AvailableOnDevice(availableOnDevice).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).Locations(locations).LocationsN(locationsN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Vid(vid).VidGt(vidGt).VidGte(vidGte).VidLt(vidLt).VidLte(vidLte).VidN(vidN).VlanGroup(vlanGroup).VlanGroupIsnull(vlanGroupIsnull).VlanGroupN(vlanGroupN).Depth(depth).Execute()
+> PaginatedVLANList IpamVlansList(ctx).AvailableOnDevice(availableOnDevice).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).Locations(locations).LocationsN(locationsN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Vid(vid).VidGt(vidGt).VidGte(vidGte).VidLt(vidLt).VidLte(vidLte).VidN(vidN).VlanGroup(vlanGroup).VlanGroupIsnull(vlanGroupIsnull).VlanGroupN(vlanGroupN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -10048,7 +9764,7 @@ func main() {
availableOnDevice := []string{"Inner_example"} // []string | Device (ID) (optional)
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -10057,22 +9773,10 @@ func main() {
createdLte := []time.Time{time.Now()} // []time.Time | (optional)
createdN := []time.Time{time.Now()} // []time.Time | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGt := []time.Time{time.Now()} // []time.Time | (optional)
lastUpdatedGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -10103,16 +9807,16 @@ func main() {
q := "q_example" // string | Search (optional)
role := []string{"Inner_example"} // []string | (optional)
roleIsnull := true // bool | Role (name or ID) is null (optional)
- roleN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Role (name or ID) (optional)
+ roleN := []string{"Inner_example"} // []string | (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
status := []string{"Inner_example"} // []string | (optional)
- statusN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Status (name or ID) (optional)
+ statusN := []string{"Inner_example"} // []string | (optional)
tags := []string{"Inner_example"} // []string | (optional)
tagsIsnull := true // bool | (optional)
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
tenant := []string{"Inner_example"} // []string | (optional)
tenantIsnull := true // bool | Tenant (name or ID) is null (optional)
tenantN := []string{"Inner_example"} // []string | (optional)
@@ -10132,10 +9836,11 @@ func main() {
vlanGroupIsnull := true // bool | VLAN Group (name or ID) is null (optional)
vlanGroupN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamVlansList(context.Background()).AvailableOnDevice(availableOnDevice).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).Locations(locations).LocationsN(locationsN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Vid(vid).VidGt(vidGt).VidGte(vidGte).VidLt(vidLt).VidLte(vidLte).VidN(vidN).VlanGroup(vlanGroup).VlanGroupIsnull(vlanGroupIsnull).VlanGroupN(vlanGroupN).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamVlansList(context.Background()).AvailableOnDevice(availableOnDevice).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Location(location).LocationN(locationN).Locations(locations).LocationsN(locationsN).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Role(role).RoleIsnull(roleIsnull).RoleN(roleN).Sort(sort).Status(status).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Vid(vid).VidGt(vidGt).VidGte(vidGte).VidLt(vidLt).VidLte(vidLte).VidN(vidN).VlanGroup(vlanGroup).VlanGroupIsnull(vlanGroupIsnull).VlanGroupN(vlanGroupN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVlansList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -10159,7 +9864,7 @@ Name | Type | Description | Notes
**availableOnDevice** | **[]string** | Device (ID) |
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -10168,22 +9873,10 @@ Name | Type | Description | Notes
**createdLte** | [**[]time.Time**](time.Time.md) | |
**createdN** | [**[]time.Time**](time.Time.md) | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGt** | [**[]time.Time**](time.Time.md) | |
**lastUpdatedGte** | [**[]time.Time**](time.Time.md) | |
@@ -10214,16 +9907,16 @@ Name | Type | Description | Notes
**q** | **string** | Search |
**role** | **[]string** | |
**roleIsnull** | **bool** | Role (name or ID) is null |
- **roleN** | **string** | Exclude Role (name or ID) |
+ **roleN** | **[]string** | |
**sort** | **string** | Which field to use when ordering the results. |
**status** | **[]string** | |
- **statusN** | **string** | Exclude Status (name or ID) |
+ **statusN** | **[]string** | |
**tags** | **[]string** | |
**tagsIsnull** | **bool** | |
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**tenant** | **[]string** | |
**tenantIsnull** | **bool** | Tenant (name or ID) is null |
**tenantN** | **[]string** | |
@@ -10243,6 +9936,7 @@ Name | Type | Description | Notes
**vlanGroupIsnull** | **bool** | VLAN Group (name or ID) is null |
**vlanGroupN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -10338,7 +10032,7 @@ Name | Type | Description | Notes
## IpamVlansNotesList
-> PaginatedNoteList IpamVlansNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList IpamVlansNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -10362,10 +10056,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamVlansNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamVlansNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVlansNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -10395,6 +10090,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -10490,7 +10186,7 @@ Name | Type | Description | Notes
## IpamVlansRetrieve
-> VLAN IpamVlansRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> VLAN IpamVlansRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -10512,10 +10208,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this VLAN.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamVlansRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamVlansRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVlansRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -10543,6 +10240,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -10927,7 +10625,7 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this vrf device assignment.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this VRF-device assignment.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
@@ -10946,7 +10644,7 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this vrf device assignment. |
+**id** | **string** | A UUID string identifying this VRF-device assignment. |
### Other Parameters
@@ -10978,7 +10676,7 @@ Name | Type | Description | Notes
## IpamVrfDeviceAssignmentsList
-> PaginatedVRFDeviceAssignmentList IpamVrfDeviceAssignmentsList(ctx).Created(created).Device(device).DeviceIsnull(deviceIsnull).DeviceN(deviceN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).Limit(limit).Offset(offset).Sort(sort).VirtualMachine(virtualMachine).VirtualMachineIsnull(virtualMachineIsnull).VirtualMachineN(virtualMachineN).Vrf(vrf).VrfN(vrfN).Depth(depth).Execute()
+> PaginatedVRFDeviceAssignmentList IpamVrfDeviceAssignmentsList(ctx).Created(created).Device(device).DeviceIsnull(deviceIsnull).DeviceN(deviceN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Rd(rd).RdIc(rdIc).RdIe(rdIe).RdIew(rdIew).RdIre(rdIre).RdIsnull(rdIsnull).RdIsw(rdIsw).RdN(rdN).RdNic(rdNic).RdNie(rdNie).RdNiew(rdNiew).RdNire(rdNire).RdNisw(rdNisw).RdNre(rdNre).RdRe(rdRe).Sort(sort).VirtualDeviceContext(virtualDeviceContext).VirtualDeviceContextIsnull(virtualDeviceContextIsnull).VirtualDeviceContextN(virtualDeviceContextN).VirtualMachine(virtualMachine).VirtualMachineIsnull(virtualMachineIsnull).VirtualMachineN(virtualMachineN).Vrf(vrf).VrfN(vrfN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -11004,33 +10702,55 @@ func main() {
deviceN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
+ name := []string{"Inner_example"} // []string | (optional)
+ nameIc := []string{"Inner_example"} // []string | (optional)
+ nameIe := []string{"Inner_example"} // []string | (optional)
+ nameIew := []string{"Inner_example"} // []string | (optional)
+ nameIre := []string{"Inner_example"} // []string | (optional)
+ nameIsw := []string{"Inner_example"} // []string | (optional)
+ nameN := []string{"Inner_example"} // []string | (optional)
+ nameNic := []string{"Inner_example"} // []string | (optional)
+ nameNie := []string{"Inner_example"} // []string | (optional)
+ nameNiew := []string{"Inner_example"} // []string | (optional)
+ nameNire := []string{"Inner_example"} // []string | (optional)
+ nameNisw := []string{"Inner_example"} // []string | (optional)
+ nameNre := []string{"Inner_example"} // []string | (optional)
+ nameRe := []string{"Inner_example"} // []string | (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
+ q := "q_example" // string | Search (optional)
+ rd := []string{"Inner_example"} // []string | (optional)
+ rdIc := []string{"Inner_example"} // []string | (optional)
+ rdIe := []string{"Inner_example"} // []string | (optional)
+ rdIew := []string{"Inner_example"} // []string | (optional)
+ rdIre := []string{"Inner_example"} // []string | (optional)
+ rdIsnull := true // bool | (optional)
+ rdIsw := []string{"Inner_example"} // []string | (optional)
+ rdN := []string{"Inner_example"} // []string | (optional)
+ rdNic := []string{"Inner_example"} // []string | (optional)
+ rdNie := []string{"Inner_example"} // []string | (optional)
+ rdNiew := []string{"Inner_example"} // []string | (optional)
+ rdNire := []string{"Inner_example"} // []string | (optional)
+ rdNisw := []string{"Inner_example"} // []string | (optional)
+ rdNre := []string{"Inner_example"} // []string | (optional)
+ rdRe := []string{"Inner_example"} // []string | (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
+ virtualDeviceContext := []string{"Inner_example"} // []string | (optional)
+ virtualDeviceContextIsnull := true // bool | Virtual Device Context (ID or name) is null (optional)
+ virtualDeviceContextN := []string{"Inner_example"} // []string | (optional)
virtualMachine := []string{"Inner_example"} // []string | (optional)
virtualMachineIsnull := true // bool | Virtual Machine (ID or name) is null (optional)
virtualMachineN := []string{"Inner_example"} // []string | (optional)
- vrf := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional)
- vrfN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | (optional)
+ vrf := []string{"Inner_example"} // []string | (optional)
+ vrfN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamVrfDeviceAssignmentsList(context.Background()).Created(created).Device(device).DeviceIsnull(deviceIsnull).DeviceN(deviceN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).Limit(limit).Offset(offset).Sort(sort).VirtualMachine(virtualMachine).VirtualMachineIsnull(virtualMachineIsnull).VirtualMachineN(virtualMachineN).Vrf(vrf).VrfN(vrfN).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamVrfDeviceAssignmentsList(context.Background()).Created(created).Device(device).DeviceIsnull(deviceIsnull).DeviceN(deviceN).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Offset(offset).Q(q).Rd(rd).RdIc(rdIc).RdIe(rdIe).RdIew(rdIew).RdIre(rdIre).RdIsnull(rdIsnull).RdIsw(rdIsw).RdN(rdN).RdNic(rdNic).RdNie(rdNie).RdNiew(rdNiew).RdNire(rdNire).RdNisw(rdNisw).RdNre(rdNre).RdRe(rdRe).Sort(sort).VirtualDeviceContext(virtualDeviceContext).VirtualDeviceContextIsnull(virtualDeviceContextIsnull).VirtualDeviceContextN(virtualDeviceContextN).VirtualMachine(virtualMachine).VirtualMachineIsnull(virtualMachineIsnull).VirtualMachineN(virtualMachineN).Vrf(vrf).VrfN(vrfN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVrfDeviceAssignmentsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -11057,29 +10777,51 @@ Name | Type | Description | Notes
**deviceN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**limit** | **int32** | Number of results to return per page. |
+ **name** | **[]string** | |
+ **nameIc** | **[]string** | |
+ **nameIe** | **[]string** | |
+ **nameIew** | **[]string** | |
+ **nameIre** | **[]string** | |
+ **nameIsw** | **[]string** | |
+ **nameN** | **[]string** | |
+ **nameNic** | **[]string** | |
+ **nameNie** | **[]string** | |
+ **nameNiew** | **[]string** | |
+ **nameNire** | **[]string** | |
+ **nameNisw** | **[]string** | |
+ **nameNre** | **[]string** | |
+ **nameRe** | **[]string** | |
**offset** | **int32** | The initial index from which to return the results. |
+ **q** | **string** | Search |
+ **rd** | **[]string** | |
+ **rdIc** | **[]string** | |
+ **rdIe** | **[]string** | |
+ **rdIew** | **[]string** | |
+ **rdIre** | **[]string** | |
+ **rdIsnull** | **bool** | |
+ **rdIsw** | **[]string** | |
+ **rdN** | **[]string** | |
+ **rdNic** | **[]string** | |
+ **rdNie** | **[]string** | |
+ **rdNiew** | **[]string** | |
+ **rdNire** | **[]string** | |
+ **rdNisw** | **[]string** | |
+ **rdNre** | **[]string** | |
+ **rdRe** | **[]string** | |
**sort** | **string** | Which field to use when ordering the results. |
+ **virtualDeviceContext** | **[]string** | |
+ **virtualDeviceContextIsnull** | **bool** | Virtual Device Context (ID or name) is null |
+ **virtualDeviceContextN** | **[]string** | |
**virtualMachine** | **[]string** | |
**virtualMachineIsnull** | **bool** | Virtual Machine (ID or name) is null |
**virtualMachineN** | **[]string** | |
- **vrf** | **string** | |
- **vrfN** | **string** | |
+ **vrf** | **[]string** | |
+ **vrfN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -11099,158 +10841,6 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## IpamVrfDeviceAssignmentsNotesCreate
-
-> Note IpamVrfDeviceAssignmentsNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this vrf device assignment.
- noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamVrfDeviceAssignmentsNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVrfDeviceAssignmentsNotesCreate``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `IpamVrfDeviceAssignmentsNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `IpamAPI.IpamVrfDeviceAssignmentsNotesCreate`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this vrf device assignment. |
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiIpamVrfDeviceAssignmentsNotesCreateRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-
- **noteInputRequest** | [**NoteInputRequest**](NoteInputRequest.md) | |
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
-
-### Return type
-
-[**Note**](Note.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: application/json, text/csv
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## IpamVrfDeviceAssignmentsNotesList
-
-> PaginatedNoteList IpamVrfDeviceAssignmentsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this vrf device assignment.
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- limit := int32(56) // int32 | Number of results to return per page. (optional)
- offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamVrfDeviceAssignmentsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVrfDeviceAssignmentsNotesList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `IpamVrfDeviceAssignmentsNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `IpamAPI.IpamVrfDeviceAssignmentsNotesList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this vrf device assignment. |
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiIpamVrfDeviceAssignmentsNotesListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **limit** | **int32** | Number of results to return per page. |
- **offset** | **int32** | The initial index from which to return the results. |
- **depth** | **int32** | Serializer Depth | [default to 1]
-
-### Return type
-
-[**PaginatedNoteList**](PaginatedNoteList.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
## IpamVrfDeviceAssignmentsPartialUpdate
> VRFDeviceAssignment IpamVrfDeviceAssignmentsPartialUpdate(ctx, id).Format(format).PatchedVRFDeviceAssignmentRequest(patchedVRFDeviceAssignmentRequest).Execute()
@@ -11272,7 +10862,7 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this vrf device assignment.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this VRF-device assignment.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
patchedVRFDeviceAssignmentRequest := *openapiclient.NewPatchedVRFDeviceAssignmentRequest() // PatchedVRFDeviceAssignmentRequest | (optional)
@@ -11294,7 +10884,7 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this vrf device assignment. |
+**id** | **string** | A UUID string identifying this VRF-device assignment. |
### Other Parameters
@@ -11327,7 +10917,7 @@ Name | Type | Description | Notes
## IpamVrfDeviceAssignmentsRetrieve
-> VRFDeviceAssignment IpamVrfDeviceAssignmentsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> VRFDeviceAssignment IpamVrfDeviceAssignmentsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -11346,13 +10936,14 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this vrf device assignment.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this VRF-device assignment.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamVrfDeviceAssignmentsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamVrfDeviceAssignmentsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVrfDeviceAssignmentsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -11368,7 +10959,7 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this vrf device assignment. |
+**id** | **string** | A UUID string identifying this VRF-device assignment. |
### Other Parameters
@@ -11380,6 +10971,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -11420,7 +11012,7 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this vrf device assignment.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this VRF-device assignment.
vRFDeviceAssignmentRequest := *openapiclient.NewVRFDeviceAssignmentRequest(*openapiclient.NewBulkWritableCableRequestStatus()) // VRFDeviceAssignmentRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
@@ -11442,7 +11034,7 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this vrf device assignment. |
+**id** | **string** | A UUID string identifying this VRF-device assignment. |
### Other Parameters
@@ -11764,7 +11356,7 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this vrf prefix assignment.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this VRF-prefix assignment.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
@@ -11783,7 +11375,7 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this vrf prefix assignment. |
+**id** | **string** | A UUID string identifying this VRF-prefix assignment. |
### Other Parameters
@@ -11815,7 +11407,7 @@ Name | Type | Description | Notes
## IpamVrfPrefixAssignmentsList
-> PaginatedVRFPrefixAssignmentList IpamVrfPrefixAssignmentsList(ctx).Created(created).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).Limit(limit).Offset(offset).Prefix(prefix).PrefixN(prefixN).Sort(sort).Vrf(vrf).VrfN(vrfN).Depth(depth).Execute()
+> PaginatedVRFPrefixAssignmentList IpamVrfPrefixAssignmentsList(ctx).Created(created).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).Limit(limit).Offset(offset).Prefix(prefix).PrefixN(prefixN).Q(q).Sort(sort).Vrf(vrf).VrfN(vrfN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -11838,32 +11430,22 @@ func main() {
created := []time.Time{time.Now()} // []time.Time | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
prefix := []string{"Inner_example"} // []string | (optional)
prefixN := []string{"Inner_example"} // []string | (optional)
+ q := "q_example" // string | Search (optional)
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
vrf := []string{"Inner_example"} // []string | (optional)
vrfN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamVrfPrefixAssignmentsList(context.Background()).Created(created).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).LastUpdated(lastUpdated).Limit(limit).Offset(offset).Prefix(prefix).PrefixN(prefixN).Sort(sort).Vrf(vrf).VrfN(vrfN).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamVrfPrefixAssignmentsList(context.Background()).Created(created).Format(format).Id(id).IdN(idN).LastUpdated(lastUpdated).Limit(limit).Offset(offset).Prefix(prefix).PrefixN(prefixN).Q(q).Sort(sort).Vrf(vrf).VrfN(vrfN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVrfPrefixAssignmentsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -11887,28 +11469,18 @@ Name | Type | Description | Notes
**created** | [**[]time.Time**](time.Time.md) | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**prefix** | **[]string** | |
**prefixN** | **[]string** | |
+ **q** | **string** | Search |
**sort** | **string** | Which field to use when ordering the results. |
**vrf** | **[]string** | |
**vrfN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -11928,158 +11500,6 @@ Name | Type | Description | Notes
[[Back to README]](../README.md)
-## IpamVrfPrefixAssignmentsNotesCreate
-
-> Note IpamVrfPrefixAssignmentsNotesCreate(ctx, id).NoteInputRequest(noteInputRequest).Format(format).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this vrf prefix assignment.
- noteInputRequest := *openapiclient.NewNoteInputRequest("Note_example") // NoteInputRequest |
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamVrfPrefixAssignmentsNotesCreate(context.Background(), id).NoteInputRequest(noteInputRequest).Format(format).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVrfPrefixAssignmentsNotesCreate``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `IpamVrfPrefixAssignmentsNotesCreate`: Note
- fmt.Fprintf(os.Stdout, "Response from `IpamAPI.IpamVrfPrefixAssignmentsNotesCreate`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this vrf prefix assignment. |
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiIpamVrfPrefixAssignmentsNotesCreateRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-
- **noteInputRequest** | [**NoteInputRequest**](NoteInputRequest.md) | |
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
-
-### Return type
-
-[**Note**](Note.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: application/json, text/csv
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## IpamVrfPrefixAssignmentsNotesList
-
-> PaginatedNoteList IpamVrfPrefixAssignmentsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
-
-
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "github.com/nautobot/go-nautobot/v2"
-)
-
-func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this vrf prefix assignment.
- format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
- limit := int32(56) // int32 | Number of results to return per page. (optional)
- offset := int32(56) // int32 | The initial index from which to return the results. (optional)
- depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamVrfPrefixAssignmentsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVrfPrefixAssignmentsNotesList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `IpamVrfPrefixAssignmentsNotesList`: PaginatedNoteList
- fmt.Fprintf(os.Stdout, "Response from `IpamAPI.IpamVrfPrefixAssignmentsNotesList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this vrf prefix assignment. |
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiIpamVrfPrefixAssignmentsNotesListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
-
- **format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
- **limit** | **int32** | Number of results to return per page. |
- **offset** | **int32** | The initial index from which to return the results. |
- **depth** | **int32** | Serializer Depth | [default to 1]
-
-### Return type
-
-[**PaginatedNoteList**](PaginatedNoteList.md)
-
-### Authorization
-
-[cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json, text/csv
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
## IpamVrfPrefixAssignmentsPartialUpdate
> VRFPrefixAssignment IpamVrfPrefixAssignmentsPartialUpdate(ctx, id).Format(format).PatchedVRFPrefixAssignmentRequest(patchedVRFPrefixAssignmentRequest).Execute()
@@ -12101,7 +11521,7 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this vrf prefix assignment.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this VRF-prefix assignment.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
patchedVRFPrefixAssignmentRequest := *openapiclient.NewPatchedVRFPrefixAssignmentRequest() // PatchedVRFPrefixAssignmentRequest | (optional)
@@ -12123,7 +11543,7 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this vrf prefix assignment. |
+**id** | **string** | A UUID string identifying this VRF-prefix assignment. |
### Other Parameters
@@ -12156,7 +11576,7 @@ Name | Type | Description | Notes
## IpamVrfPrefixAssignmentsRetrieve
-> VRFPrefixAssignment IpamVrfPrefixAssignmentsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> VRFPrefixAssignment IpamVrfPrefixAssignmentsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -12175,13 +11595,14 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this vrf prefix assignment.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this VRF-prefix assignment.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamVrfPrefixAssignmentsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamVrfPrefixAssignmentsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVrfPrefixAssignmentsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -12197,7 +11618,7 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this vrf prefix assignment. |
+**id** | **string** | A UUID string identifying this VRF-prefix assignment. |
### Other Parameters
@@ -12209,6 +11630,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -12249,7 +11671,7 @@ import (
)
func main() {
- id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this vrf prefix assignment.
+ id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this VRF-prefix assignment.
vRFPrefixAssignmentRequest := *openapiclient.NewVRFPrefixAssignmentRequest(*openapiclient.NewBulkWritableCableRequestStatus(), *openapiclient.NewBulkWritableCableRequestStatus()) // VRFPrefixAssignmentRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
@@ -12271,7 +11693,7 @@ func main() {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
-**id** | **string** | A UUID string identifying this vrf prefix assignment. |
+**id** | **string** | A UUID string identifying this VRF-prefix assignment. |
### Other Parameters
@@ -12457,7 +11879,7 @@ import (
)
func main() {
- bulkWritableVRFRequest := []openapiclient.BulkWritableVRFRequest{*openapiclient.NewBulkWritableVRFRequest("Id_example", "Name_example", "Rd_example")} // []BulkWritableVRFRequest |
+ bulkWritableVRFRequest := []openapiclient.BulkWritableVRFRequest{*openapiclient.NewBulkWritableVRFRequest("Id_example", "Name_example")} // []BulkWritableVRFRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
@@ -12525,7 +11947,7 @@ import (
)
func main() {
- vRFRequest := *openapiclient.NewVRFRequest("Name_example", "Rd_example") // VRFRequest |
+ vRFRequest := *openapiclient.NewVRFRequest("Name_example") // VRFRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
@@ -12644,7 +12066,7 @@ Name | Type | Description | Notes
## IpamVrfsList
-> PaginatedVRFList IpamVrfsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Device(device).DeviceN(deviceN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).ExportTargets(exportTargets).ExportTargetsN(exportTargetsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).ImportTargets(importTargets).ImportTargetsN(importTargetsN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Namespace(namespace).NamespaceN(namespaceN).Offset(offset).Prefix(prefix).PrefixN(prefixN).Q(q).Rd(rd).RdIc(rdIc).RdIe(rdIe).RdIew(rdIew).RdIre(rdIre).RdIsnull(rdIsnull).RdIsw(rdIsw).RdN(rdN).RdNic(rdNic).RdNie(rdNie).RdNiew(rdNiew).RdNire(rdNire).RdNisw(rdNisw).RdNre(rdNre).RdRe(rdRe).Sort(sort).Status(status).StatusIsnull(statusIsnull).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Depth(depth).Execute()
+> PaginatedVRFList IpamVrfsList(ctx).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DeviceN(deviceN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).ExportTargets(exportTargets).ExportTargetsN(exportTargetsN).Format(format).Id(id).IdN(idN).ImportTargets(importTargets).ImportTargetsN(importTargetsN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Namespace(namespace).NamespaceN(namespaceN).Offset(offset).Prefix(prefix).PrefixN(prefixN).Q(q).Rd(rd).RdIc(rdIc).RdIe(rdIe).RdIew(rdIew).RdIre(rdIre).RdIsnull(rdIsnull).RdIsw(rdIsw).RdN(rdN).RdNic(rdNic).RdNie(rdNie).RdNiew(rdNiew).RdNire(rdNire).RdNisw(rdNisw).RdNre(rdNre).RdRe(rdRe).Sort(sort).Status(status).StatusIsnull(statusIsnull).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).VirtualDeviceContexts(virtualDeviceContexts).VirtualDeviceContextsN(virtualDeviceContextsN).VirtualMachines(virtualMachines).VirtualMachinesN(virtualMachinesN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -12666,7 +12088,7 @@ import (
func main() {
contacts := []string{"Inner_example"} // []string | (optional)
contactsIsnull := true // bool | Contacts (name or ID) is null (optional)
- contactsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Contacts (name or ID) (optional)
+ contactsN := []string{"Inner_example"} // []string | (optional)
created := []time.Time{time.Now()} // []time.Time | (optional)
createdGt := []time.Time{time.Now()} // []time.Time | (optional)
createdGte := []time.Time{time.Now()} // []time.Time | (optional)
@@ -12674,27 +12096,29 @@ func main() {
createdLt := []time.Time{time.Now()} // []time.Time | (optional)
createdLte := []time.Time{time.Now()} // []time.Time | (optional)
createdN := []time.Time{time.Now()} // []time.Time | (optional)
+ description := []string{"Inner_example"} // []string | (optional)
+ descriptionIc := []string{"Inner_example"} // []string | (optional)
+ descriptionIe := []string{"Inner_example"} // []string | (optional)
+ descriptionIew := []string{"Inner_example"} // []string | (optional)
+ descriptionIre := []string{"Inner_example"} // []string | (optional)
+ descriptionIsw := []string{"Inner_example"} // []string | (optional)
+ descriptionN := []string{"Inner_example"} // []string | (optional)
+ descriptionNic := []string{"Inner_example"} // []string | (optional)
+ descriptionNie := []string{"Inner_example"} // []string | (optional)
+ descriptionNiew := []string{"Inner_example"} // []string | (optional)
+ descriptionNire := []string{"Inner_example"} // []string | (optional)
+ descriptionNisw := []string{"Inner_example"} // []string | (optional)
+ descriptionNre := []string{"Inner_example"} // []string | (optional)
+ descriptionRe := []string{"Inner_example"} // []string | (optional)
device := []string{"Inner_example"} // []string | (optional)
deviceN := []string{"Inner_example"} // []string | (optional)
dynamicGroups := []string{"Inner_example"} // []string | (optional)
- dynamicGroupsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Dynamic groups (name or ID) (optional)
+ dynamicGroupsN := []string{"Inner_example"} // []string | (optional)
exportTargets := []string{"Inner_example"} // []string | (optional)
exportTargetsN := []string{"Inner_example"} // []string | (optional)
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
id := []string{"Inner_example"} // []string | Unique object identifier, either a UUID primary key or a composite key. (optional)
- idIc := []string{"Inner_example"} // []string | (optional)
- idIe := []string{"Inner_example"} // []string | (optional)
- idIew := []string{"Inner_example"} // []string | (optional)
- idIre := []string{"Inner_example"} // []string | (optional)
- idIsw := []string{"Inner_example"} // []string | (optional)
idN := []string{"Inner_example"} // []string | (optional)
- idNic := []string{"Inner_example"} // []string | (optional)
- idNie := []string{"Inner_example"} // []string | (optional)
- idNiew := []string{"Inner_example"} // []string | (optional)
- idNire := []string{"Inner_example"} // []string | (optional)
- idNisw := []string{"Inner_example"} // []string | (optional)
- idNre := []string{"Inner_example"} // []string | (optional)
- idRe := []string{"Inner_example"} // []string | (optional)
importTargets := []string{"Inner_example"} // []string | (optional)
importTargetsN := []string{"Inner_example"} // []string | (optional)
lastUpdated := []time.Time{time.Now()} // []time.Time | (optional)
@@ -12743,13 +12167,13 @@ func main() {
sort := "sort_example" // string | Which field to use when ordering the results. (optional)
status := []string{"Inner_example"} // []string | (optional)
statusIsnull := true // bool | Status (name or ID) is null (optional)
- statusN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Status (name or ID) (optional)
+ statusN := []string{"Inner_example"} // []string | (optional)
tags := []string{"Inner_example"} // []string | (optional)
tagsIsnull := true // bool | (optional)
tagsN := []string{"Inner_example"} // []string | (optional)
teams := []string{"Inner_example"} // []string | (optional)
teamsIsnull := true // bool | Teams (name or ID) is null (optional)
- teamsN := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Exclude Teams (name or ID) (optional)
+ teamsN := []string{"Inner_example"} // []string | (optional)
tenant := []string{"Inner_example"} // []string | (optional)
tenantIsnull := true // bool | Tenant (name or ID) is null (optional)
tenantN := []string{"Inner_example"} // []string | (optional)
@@ -12759,11 +12183,16 @@ func main() {
tenantId := []*string{"Inner_example"} // []*string | Tenant (ID) (deprecated, use \"tenant\" filter instead) (optional)
tenantIdIsnull := true // bool | Tenant (ID) (deprecated, use \"tenant\" filter instead) is null (optional)
tenantIdN := []*string{"Inner_example"} // []*string | Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead) (optional)
+ virtualDeviceContexts := []string{"Inner_example"} // []string | (optional)
+ virtualDeviceContextsN := []string{"Inner_example"} // []string | (optional)
+ virtualMachines := []string{"Inner_example"} // []string | (optional)
+ virtualMachinesN := []string{"Inner_example"} // []string | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamVrfsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Device(device).DeviceN(deviceN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).ExportTargets(exportTargets).ExportTargetsN(exportTargetsN).Format(format).Id(id).IdIc(idIc).IdIe(idIe).IdIew(idIew).IdIre(idIre).IdIsw(idIsw).IdN(idN).IdNic(idNic).IdNie(idNie).IdNiew(idNiew).IdNire(idNire).IdNisw(idNisw).IdNre(idNre).IdRe(idRe).ImportTargets(importTargets).ImportTargetsN(importTargetsN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Namespace(namespace).NamespaceN(namespaceN).Offset(offset).Prefix(prefix).PrefixN(prefixN).Q(q).Rd(rd).RdIc(rdIc).RdIe(rdIe).RdIew(rdIew).RdIre(rdIre).RdIsnull(rdIsnull).RdIsw(rdIsw).RdN(rdN).RdNic(rdNic).RdNie(rdNie).RdNiew(rdNiew).RdNire(rdNire).RdNisw(rdNisw).RdNre(rdNre).RdRe(rdRe).Sort(sort).Status(status).StatusIsnull(statusIsnull).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamVrfsList(context.Background()).Contacts(contacts).ContactsIsnull(contactsIsnull).ContactsN(contactsN).Created(created).CreatedGt(createdGt).CreatedGte(createdGte).CreatedIsnull(createdIsnull).CreatedLt(createdLt).CreatedLte(createdLte).CreatedN(createdN).Description(description).DescriptionIc(descriptionIc).DescriptionIe(descriptionIe).DescriptionIew(descriptionIew).DescriptionIre(descriptionIre).DescriptionIsw(descriptionIsw).DescriptionN(descriptionN).DescriptionNic(descriptionNic).DescriptionNie(descriptionNie).DescriptionNiew(descriptionNiew).DescriptionNire(descriptionNire).DescriptionNisw(descriptionNisw).DescriptionNre(descriptionNre).DescriptionRe(descriptionRe).Device(device).DeviceN(deviceN).DynamicGroups(dynamicGroups).DynamicGroupsN(dynamicGroupsN).ExportTargets(exportTargets).ExportTargetsN(exportTargetsN).Format(format).Id(id).IdN(idN).ImportTargets(importTargets).ImportTargetsN(importTargetsN).LastUpdated(lastUpdated).LastUpdatedGt(lastUpdatedGt).LastUpdatedGte(lastUpdatedGte).LastUpdatedIsnull(lastUpdatedIsnull).LastUpdatedLt(lastUpdatedLt).LastUpdatedLte(lastUpdatedLte).LastUpdatedN(lastUpdatedN).Limit(limit).Name(name).NameIc(nameIc).NameIe(nameIe).NameIew(nameIew).NameIre(nameIre).NameIsw(nameIsw).NameN(nameN).NameNic(nameNic).NameNie(nameNie).NameNiew(nameNiew).NameNire(nameNire).NameNisw(nameNisw).NameNre(nameNre).NameRe(nameRe).Namespace(namespace).NamespaceN(namespaceN).Offset(offset).Prefix(prefix).PrefixN(prefixN).Q(q).Rd(rd).RdIc(rdIc).RdIe(rdIe).RdIew(rdIew).RdIre(rdIre).RdIsnull(rdIsnull).RdIsw(rdIsw).RdN(rdN).RdNic(rdNic).RdNie(rdNie).RdNiew(rdNiew).RdNire(rdNire).RdNisw(rdNisw).RdNre(rdNre).RdRe(rdRe).Sort(sort).Status(status).StatusIsnull(statusIsnull).StatusN(statusN).Tags(tags).TagsIsnull(tagsIsnull).TagsN(tagsN).Teams(teams).TeamsIsnull(teamsIsnull).TeamsN(teamsN).Tenant(tenant).TenantIsnull(tenantIsnull).TenantN(tenantN).TenantGroup(tenantGroup).TenantGroupIsnull(tenantGroupIsnull).TenantGroupN(tenantGroupN).TenantId(tenantId).TenantIdIsnull(tenantIdIsnull).TenantIdN(tenantIdN).VirtualDeviceContexts(virtualDeviceContexts).VirtualDeviceContextsN(virtualDeviceContextsN).VirtualMachines(virtualMachines).VirtualMachinesN(virtualMachinesN).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVrfsList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -12786,7 +12215,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**contacts** | **[]string** | |
**contactsIsnull** | **bool** | Contacts (name or ID) is null |
- **contactsN** | **string** | Exclude Contacts (name or ID) |
+ **contactsN** | **[]string** | |
**created** | [**[]time.Time**](time.Time.md) | |
**createdGt** | [**[]time.Time**](time.Time.md) | |
**createdGte** | [**[]time.Time**](time.Time.md) | |
@@ -12794,27 +12223,29 @@ Name | Type | Description | Notes
**createdLt** | [**[]time.Time**](time.Time.md) | |
**createdLte** | [**[]time.Time**](time.Time.md) | |
**createdN** | [**[]time.Time**](time.Time.md) | |
+ **description** | **[]string** | |
+ **descriptionIc** | **[]string** | |
+ **descriptionIe** | **[]string** | |
+ **descriptionIew** | **[]string** | |
+ **descriptionIre** | **[]string** | |
+ **descriptionIsw** | **[]string** | |
+ **descriptionN** | **[]string** | |
+ **descriptionNic** | **[]string** | |
+ **descriptionNie** | **[]string** | |
+ **descriptionNiew** | **[]string** | |
+ **descriptionNire** | **[]string** | |
+ **descriptionNisw** | **[]string** | |
+ **descriptionNre** | **[]string** | |
+ **descriptionRe** | **[]string** | |
**device** | **[]string** | |
**deviceN** | **[]string** | |
**dynamicGroups** | **[]string** | |
- **dynamicGroupsN** | **string** | Exclude Dynamic groups (name or ID) |
+ **dynamicGroupsN** | **[]string** | |
**exportTargets** | **[]string** | |
**exportTargetsN** | **[]string** | |
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**id** | **[]string** | Unique object identifier, either a UUID primary key or a composite key. |
- **idIc** | **[]string** | |
- **idIe** | **[]string** | |
- **idIew** | **[]string** | |
- **idIre** | **[]string** | |
- **idIsw** | **[]string** | |
**idN** | **[]string** | |
- **idNic** | **[]string** | |
- **idNie** | **[]string** | |
- **idNiew** | **[]string** | |
- **idNire** | **[]string** | |
- **idNisw** | **[]string** | |
- **idNre** | **[]string** | |
- **idRe** | **[]string** | |
**importTargets** | **[]string** | |
**importTargetsN** | **[]string** | |
**lastUpdated** | [**[]time.Time**](time.Time.md) | |
@@ -12863,13 +12294,13 @@ Name | Type | Description | Notes
**sort** | **string** | Which field to use when ordering the results. |
**status** | **[]string** | |
**statusIsnull** | **bool** | Status (name or ID) is null |
- **statusN** | **string** | Exclude Status (name or ID) |
+ **statusN** | **[]string** | |
**tags** | **[]string** | |
**tagsIsnull** | **bool** | |
**tagsN** | **[]string** | |
**teams** | **[]string** | |
**teamsIsnull** | **bool** | Teams (name or ID) is null |
- **teamsN** | **string** | Exclude Teams (name or ID) |
+ **teamsN** | **[]string** | |
**tenant** | **[]string** | |
**tenantIsnull** | **bool** | Tenant (name or ID) is null |
**tenantN** | **[]string** | |
@@ -12879,7 +12310,12 @@ Name | Type | Description | Notes
**tenantId** | **[]string** | Tenant (ID) (deprecated, use \"tenant\" filter instead) |
**tenantIdIsnull** | **bool** | Tenant (ID) (deprecated, use \"tenant\" filter instead) is null |
**tenantIdN** | **[]string** | Exclude Tenant (ID) (deprecated, use \"tenant\" filter instead) |
+ **virtualDeviceContexts** | **[]string** | |
+ **virtualDeviceContextsN** | **[]string** | |
+ **virtualMachines** | **[]string** | |
+ **virtualMachinesN** | **[]string** | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -12975,7 +12411,7 @@ Name | Type | Description | Notes
## IpamVrfsNotesList
-> PaginatedNoteList IpamVrfsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+> PaginatedNoteList IpamVrfsNotesList(ctx, id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -12999,10 +12435,11 @@ func main() {
limit := int32(56) // int32 | Number of results to return per page. (optional)
offset := int32(56) // int32 | The initial index from which to return the results. (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamVrfsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamVrfsNotesList(context.Background(), id).Format(format).Limit(limit).Offset(offset).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVrfsNotesList``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -13032,6 +12469,7 @@ Name | Type | Description | Notes
**limit** | **int32** | Number of results to return per page. |
**offset** | **int32** | The initial index from which to return the results. |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -13127,7 +12565,7 @@ Name | Type | Description | Notes
## IpamVrfsRetrieve
-> VRF IpamVrfsRetrieve(ctx, id).Format(format).Depth(depth).Execute()
+> VRF IpamVrfsRetrieve(ctx, id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
@@ -13149,10 +12587,11 @@ func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this VRF.
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
depth := int32(56) // int32 | Serializer Depth (optional) (default to 1)
+ excludeM2m := true // bool | Exclude many-to-many fields from the response (optional) (default to false)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.IpamAPI.IpamVrfsRetrieve(context.Background(), id).Format(format).Depth(depth).Execute()
+ resp, r, err := apiClient.IpamAPI.IpamVrfsRetrieve(context.Background(), id).Format(format).Depth(depth).ExcludeM2m(excludeM2m).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IpamAPI.IpamVrfsRetrieve``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -13180,6 +12619,7 @@ Name | Type | Description | Notes
**format** | [**CircuitsCircuitTerminationsListFormatParameter**](CircuitsCircuitTerminationsListFormatParameter.md) | |
**depth** | **int32** | Serializer Depth | [default to 1]
+ **excludeM2m** | **bool** | Exclude many-to-many fields from the response | [default to false]
### Return type
@@ -13221,7 +12661,7 @@ import (
func main() {
id := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | A UUID string identifying this VRF.
- vRFRequest := *openapiclient.NewVRFRequest("Name_example", "Rd_example") // VRFRequest |
+ vRFRequest := *openapiclient.NewVRFRequest("Name_example") // VRFRequest |
format := openapiclient.circuits_circuit_terminations_list_format_parameter("csv") // CircuitsCircuitTerminationsListFormatParameter | (optional)
configuration := openapiclient.NewConfiguration()
diff --git a/docs/IpamPrefixesAvailableIpsListRangeEndParameter.md b/docs/IpamPrefixesAvailableIpsListRangeEndParameter.md
new file mode 100644
index 00000000..792aef7c
--- /dev/null
+++ b/docs/IpamPrefixesAvailableIpsListRangeEndParameter.md
@@ -0,0 +1,30 @@
+# IpamPrefixesAvailableIpsListRangeEndParameter
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+
+## Methods
+
+### NewIpamPrefixesAvailableIpsListRangeEndParameter
+
+`func NewIpamPrefixesAvailableIpsListRangeEndParameter() *IpamPrefixesAvailableIpsListRangeEndParameter`
+
+NewIpamPrefixesAvailableIpsListRangeEndParameter instantiates a new IpamPrefixesAvailableIpsListRangeEndParameter object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewIpamPrefixesAvailableIpsListRangeEndParameterWithDefaults
+
+`func NewIpamPrefixesAvailableIpsListRangeEndParameterWithDefaults() *IpamPrefixesAvailableIpsListRangeEndParameter`
+
+NewIpamPrefixesAvailableIpsListRangeEndParameterWithDefaults instantiates a new IpamPrefixesAvailableIpsListRangeEndParameter object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/IpamVlanGroupsAvailableVlansList200Response.md b/docs/IpamVlanGroupsAvailableVlansList200Response.md
new file mode 100644
index 00000000..725e96a4
--- /dev/null
+++ b/docs/IpamVlanGroupsAvailableVlansList200Response.md
@@ -0,0 +1,144 @@
+# IpamVlanGroupsAvailableVlansList200Response
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Count** | **int32** | |
+**Next** | Pointer to **NullableString** | | [optional]
+**Previous** | Pointer to **NullableString** | | [optional]
+**Results** | **[]int32** | |
+
+## Methods
+
+### NewIpamVlanGroupsAvailableVlansList200Response
+
+`func NewIpamVlanGroupsAvailableVlansList200Response(count int32, results []int32, ) *IpamVlanGroupsAvailableVlansList200Response`
+
+NewIpamVlanGroupsAvailableVlansList200Response instantiates a new IpamVlanGroupsAvailableVlansList200Response object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewIpamVlanGroupsAvailableVlansList200ResponseWithDefaults
+
+`func NewIpamVlanGroupsAvailableVlansList200ResponseWithDefaults() *IpamVlanGroupsAvailableVlansList200Response`
+
+NewIpamVlanGroupsAvailableVlansList200ResponseWithDefaults instantiates a new IpamVlanGroupsAvailableVlansList200Response object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetCount
+
+`func (o *IpamVlanGroupsAvailableVlansList200Response) GetCount() int32`
+
+GetCount returns the Count field if non-nil, zero value otherwise.
+
+### GetCountOk
+
+`func (o *IpamVlanGroupsAvailableVlansList200Response) GetCountOk() (*int32, bool)`
+
+GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCount
+
+`func (o *IpamVlanGroupsAvailableVlansList200Response) SetCount(v int32)`
+
+SetCount sets Count field to given value.
+
+
+### GetNext
+
+`func (o *IpamVlanGroupsAvailableVlansList200Response) GetNext() string`
+
+GetNext returns the Next field if non-nil, zero value otherwise.
+
+### GetNextOk
+
+`func (o *IpamVlanGroupsAvailableVlansList200Response) GetNextOk() (*string, bool)`
+
+GetNextOk returns a tuple with the Next field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetNext
+
+`func (o *IpamVlanGroupsAvailableVlansList200Response) SetNext(v string)`
+
+SetNext sets Next field to given value.
+
+### HasNext
+
+`func (o *IpamVlanGroupsAvailableVlansList200Response) HasNext() bool`
+
+HasNext returns a boolean if a field has been set.
+
+### SetNextNil
+
+`func (o *IpamVlanGroupsAvailableVlansList200Response) SetNextNil(b bool)`
+
+ SetNextNil sets the value for Next to be an explicit nil
+
+### UnsetNext
+`func (o *IpamVlanGroupsAvailableVlansList200Response) UnsetNext()`
+
+UnsetNext ensures that no value is present for Next, not even an explicit nil
+### GetPrevious
+
+`func (o *IpamVlanGroupsAvailableVlansList200Response) GetPrevious() string`
+
+GetPrevious returns the Previous field if non-nil, zero value otherwise.
+
+### GetPreviousOk
+
+`func (o *IpamVlanGroupsAvailableVlansList200Response) GetPreviousOk() (*string, bool)`
+
+GetPreviousOk returns a tuple with the Previous field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetPrevious
+
+`func (o *IpamVlanGroupsAvailableVlansList200Response) SetPrevious(v string)`
+
+SetPrevious sets Previous field to given value.
+
+### HasPrevious
+
+`func (o *IpamVlanGroupsAvailableVlansList200Response) HasPrevious() bool`
+
+HasPrevious returns a boolean if a field has been set.
+
+### SetPreviousNil
+
+`func (o *IpamVlanGroupsAvailableVlansList200Response) SetPreviousNil(b bool)`
+
+ SetPreviousNil sets the value for Previous to be an explicit nil
+
+### UnsetPrevious
+`func (o *IpamVlanGroupsAvailableVlansList200Response) UnsetPrevious()`
+
+UnsetPrevious ensures that no value is present for Previous, not even an explicit nil
+### GetResults
+
+`func (o *IpamVlanGroupsAvailableVlansList200Response) GetResults() []int32`
+
+GetResults returns the Results field if non-nil, zero value otherwise.
+
+### GetResultsOk
+
+`func (o *IpamVlanGroupsAvailableVlansList200Response) GetResultsOk() (*[]int32, bool)`
+
+GetResultsOk returns a tuple with the Results field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetResults
+
+`func (o *IpamVlanGroupsAvailableVlansList200Response) SetResults(v []int32)`
+
+SetResults sets Results field to given value.
+
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/Job.md b/docs/Job.md
index fdd9a224..d9fbdb0d 100644
--- a/docs/Job.md
+++ b/docs/Job.md
@@ -4,11 +4,13 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
**NaturalSlug** | **string** | | [readonly]
+**TaskQueues** | **interface{}** | | [readonly]
+**TaskQueuesOverride** | **bool** | | [readonly]
**ModuleName** | **string** | Dotted name of the Python module providing this job | [readonly]
**JobClassName** | **string** | Name of the Python class providing this job | [readonly]
**Grouping** | **string** | Human-readable grouping that this job belongs to |
@@ -19,13 +21,13 @@ Name | Type | Description | Notes
**IsJobHookReceiver** | **bool** | Whether this job is a job hook receiver | [readonly]
**IsJobButtonReceiver** | **bool** | Whether this job is a job button receiver | [readonly]
**HasSensitiveVariables** | Pointer to **bool** | Whether this job contains sensitive variables | [optional]
+**IsSingleton** | Pointer to **bool** | Whether this job should fail to run if another instance of this job is already running | [optional]
**ApprovalRequired** | Pointer to **bool** | Whether the job requires approval from another user before running | [optional]
**Hidden** | Pointer to **bool** | Whether the job defaults to not being shown in the UI | [optional]
**DryrunDefault** | Pointer to **bool** | Whether the job defaults to running with dryrun argument set to true | [optional]
**ReadOnly** | **bool** | Set to true if the job does not make any changes to the environment | [readonly]
**SoftTimeLimit** | Pointer to **float64** | Maximum runtime in seconds before the job will receive a <code>SoftTimeLimitExceeded</code> exception.<br>Set to 0 to use Nautobot system default | [optional]
**TimeLimit** | Pointer to **float64** | Maximum runtime in seconds before the job will be forcibly terminated.<br>Set to 0 to use Nautobot system default | [optional]
-**TaskQueues** | Pointer to **interface{}** | Comma separated list of task queues that this job can run on. A blank list will use the default queue | [optional]
**SupportsDryrun** | **bool** | If supported, allows the job to bypass approval when running with dryrun argument set to true | [readonly]
**GroupingOverride** | Pointer to **bool** | If set, the configured grouping will remain even if the underlying Job source code changes | [optional]
**NameOverride** | Pointer to **bool** | If set, the configured name will remain even if the underlying Job source code changes | [optional]
@@ -36,7 +38,11 @@ Name | Type | Description | Notes
**SoftTimeLimitOverride** | Pointer to **bool** | If set, the configured value will remain even if the underlying Job source code changes | [optional]
**TimeLimitOverride** | Pointer to **bool** | If set, the configured value will remain even if the underlying Job source code changes | [optional]
**HasSensitiveVariablesOverride** | Pointer to **bool** | If set, the configured value will remain even if the underlying Job source code changes | [optional]
-**TaskQueuesOverride** | Pointer to **bool** | If set, the configured value will remain even if the underlying Job source code changes | [optional]
+**JobQueuesOverride** | Pointer to **bool** | If set, the configured value will remain even if the underlying Job source code changes | [optional]
+**DefaultJobQueueOverride** | Pointer to **bool** | If set, the configured value will remain even if the underlying Job source code changes | [optional]
+**IsSingletonOverride** | Pointer to **bool** | If set, the configured value will remain even if the underlying Job source code changes | [optional]
+**DefaultJobQueue** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+**JobQueues** | [**[]JobQueues**](JobQueues.md) | The job queues that this job can be run on | [readonly]
**Created** | **NullableTime** | | [readonly]
**LastUpdated** | **NullableTime** | | [readonly]
**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
@@ -47,7 +53,7 @@ Name | Type | Description | Notes
### NewJob
-`func NewJob(id string, objectType string, display string, url string, naturalSlug string, moduleName string, jobClassName string, grouping string, name string, installed bool, isJobHookReceiver bool, isJobButtonReceiver bool, readOnly bool, supportsDryrun bool, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Job`
+`func NewJob(objectType string, display string, url string, naturalSlug string, taskQueues interface{}, taskQueuesOverride bool, moduleName string, jobClassName string, grouping string, name string, installed bool, isJobHookReceiver bool, isJobButtonReceiver bool, readOnly bool, supportsDryrun bool, defaultJobQueue BulkWritableCableRequestStatus, jobQueues []JobQueues, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Job`
NewJob instantiates a new Job object
This constructor will assign default values to properties that have it defined,
@@ -81,6 +87,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *Job) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
@@ -162,6 +173,56 @@ and a boolean to check if the value has been set.
SetNaturalSlug sets NaturalSlug field to given value.
+### GetTaskQueues
+
+`func (o *Job) GetTaskQueues() interface{}`
+
+GetTaskQueues returns the TaskQueues field if non-nil, zero value otherwise.
+
+### GetTaskQueuesOk
+
+`func (o *Job) GetTaskQueuesOk() (*interface{}, bool)`
+
+GetTaskQueuesOk returns a tuple with the TaskQueues field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTaskQueues
+
+`func (o *Job) SetTaskQueues(v interface{})`
+
+SetTaskQueues sets TaskQueues field to given value.
+
+
+### SetTaskQueuesNil
+
+`func (o *Job) SetTaskQueuesNil(b bool)`
+
+ SetTaskQueuesNil sets the value for TaskQueues to be an explicit nil
+
+### UnsetTaskQueues
+`func (o *Job) UnsetTaskQueues()`
+
+UnsetTaskQueues ensures that no value is present for TaskQueues, not even an explicit nil
+### GetTaskQueuesOverride
+
+`func (o *Job) GetTaskQueuesOverride() bool`
+
+GetTaskQueuesOverride returns the TaskQueuesOverride field if non-nil, zero value otherwise.
+
+### GetTaskQueuesOverrideOk
+
+`func (o *Job) GetTaskQueuesOverrideOk() (*bool, bool)`
+
+GetTaskQueuesOverrideOk returns a tuple with the TaskQueuesOverride field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTaskQueuesOverride
+
+`func (o *Job) SetTaskQueuesOverride(v bool)`
+
+SetTaskQueuesOverride sets TaskQueuesOverride field to given value.
+
+
### GetModuleName
`func (o *Job) GetModuleName() string`
@@ -377,6 +438,31 @@ SetHasSensitiveVariables sets HasSensitiveVariables field to given value.
HasHasSensitiveVariables returns a boolean if a field has been set.
+### GetIsSingleton
+
+`func (o *Job) GetIsSingleton() bool`
+
+GetIsSingleton returns the IsSingleton field if non-nil, zero value otherwise.
+
+### GetIsSingletonOk
+
+`func (o *Job) GetIsSingletonOk() (*bool, bool)`
+
+GetIsSingletonOk returns a tuple with the IsSingleton field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetIsSingleton
+
+`func (o *Job) SetIsSingleton(v bool)`
+
+SetIsSingleton sets IsSingleton field to given value.
+
+### HasIsSingleton
+
+`func (o *Job) HasIsSingleton() bool`
+
+HasIsSingleton returns a boolean if a field has been set.
+
### GetApprovalRequired
`func (o *Job) GetApprovalRequired() bool`
@@ -522,41 +608,6 @@ SetTimeLimit sets TimeLimit field to given value.
HasTimeLimit returns a boolean if a field has been set.
-### GetTaskQueues
-
-`func (o *Job) GetTaskQueues() interface{}`
-
-GetTaskQueues returns the TaskQueues field if non-nil, zero value otherwise.
-
-### GetTaskQueuesOk
-
-`func (o *Job) GetTaskQueuesOk() (*interface{}, bool)`
-
-GetTaskQueuesOk returns a tuple with the TaskQueues field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTaskQueues
-
-`func (o *Job) SetTaskQueues(v interface{})`
-
-SetTaskQueues sets TaskQueues field to given value.
-
-### HasTaskQueues
-
-`func (o *Job) HasTaskQueues() bool`
-
-HasTaskQueues returns a boolean if a field has been set.
-
-### SetTaskQueuesNil
-
-`func (o *Job) SetTaskQueuesNil(b bool)`
-
- SetTaskQueuesNil sets the value for TaskQueues to be an explicit nil
-
-### UnsetTaskQueues
-`func (o *Job) UnsetTaskQueues()`
-
-UnsetTaskQueues ensures that no value is present for TaskQueues, not even an explicit nil
### GetSupportsDryrun
`func (o *Job) GetSupportsDryrun() bool`
@@ -802,30 +853,120 @@ SetHasSensitiveVariablesOverride sets HasSensitiveVariablesOverride field to giv
HasHasSensitiveVariablesOverride returns a boolean if a field has been set.
-### GetTaskQueuesOverride
+### GetJobQueuesOverride
-`func (o *Job) GetTaskQueuesOverride() bool`
+`func (o *Job) GetJobQueuesOverride() bool`
-GetTaskQueuesOverride returns the TaskQueuesOverride field if non-nil, zero value otherwise.
+GetJobQueuesOverride returns the JobQueuesOverride field if non-nil, zero value otherwise.
-### GetTaskQueuesOverrideOk
+### GetJobQueuesOverrideOk
-`func (o *Job) GetTaskQueuesOverrideOk() (*bool, bool)`
+`func (o *Job) GetJobQueuesOverrideOk() (*bool, bool)`
-GetTaskQueuesOverrideOk returns a tuple with the TaskQueuesOverride field if it's non-nil, zero value otherwise
+GetJobQueuesOverrideOk returns a tuple with the JobQueuesOverride field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
-### SetTaskQueuesOverride
+### SetJobQueuesOverride
-`func (o *Job) SetTaskQueuesOverride(v bool)`
+`func (o *Job) SetJobQueuesOverride(v bool)`
-SetTaskQueuesOverride sets TaskQueuesOverride field to given value.
+SetJobQueuesOverride sets JobQueuesOverride field to given value.
+
+### HasJobQueuesOverride
+
+`func (o *Job) HasJobQueuesOverride() bool`
+
+HasJobQueuesOverride returns a boolean if a field has been set.
+
+### GetDefaultJobQueueOverride
+
+`func (o *Job) GetDefaultJobQueueOverride() bool`
+
+GetDefaultJobQueueOverride returns the DefaultJobQueueOverride field if non-nil, zero value otherwise.
+
+### GetDefaultJobQueueOverrideOk
+
+`func (o *Job) GetDefaultJobQueueOverrideOk() (*bool, bool)`
+
+GetDefaultJobQueueOverrideOk returns a tuple with the DefaultJobQueueOverride field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDefaultJobQueueOverride
+
+`func (o *Job) SetDefaultJobQueueOverride(v bool)`
+
+SetDefaultJobQueueOverride sets DefaultJobQueueOverride field to given value.
+
+### HasDefaultJobQueueOverride
+
+`func (o *Job) HasDefaultJobQueueOverride() bool`
+
+HasDefaultJobQueueOverride returns a boolean if a field has been set.
+
+### GetIsSingletonOverride
+
+`func (o *Job) GetIsSingletonOverride() bool`
+
+GetIsSingletonOverride returns the IsSingletonOverride field if non-nil, zero value otherwise.
+
+### GetIsSingletonOverrideOk
+
+`func (o *Job) GetIsSingletonOverrideOk() (*bool, bool)`
+
+GetIsSingletonOverrideOk returns a tuple with the IsSingletonOverride field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetIsSingletonOverride
+
+`func (o *Job) SetIsSingletonOverride(v bool)`
+
+SetIsSingletonOverride sets IsSingletonOverride field to given value.
+
+### HasIsSingletonOverride
+
+`func (o *Job) HasIsSingletonOverride() bool`
+
+HasIsSingletonOverride returns a boolean if a field has been set.
+
+### GetDefaultJobQueue
+
+`func (o *Job) GetDefaultJobQueue() BulkWritableCableRequestStatus`
+
+GetDefaultJobQueue returns the DefaultJobQueue field if non-nil, zero value otherwise.
+
+### GetDefaultJobQueueOk
+
+`func (o *Job) GetDefaultJobQueueOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetDefaultJobQueueOk returns a tuple with the DefaultJobQueue field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDefaultJobQueue
+
+`func (o *Job) SetDefaultJobQueue(v BulkWritableCableRequestStatus)`
+
+SetDefaultJobQueue sets DefaultJobQueue field to given value.
+
+
+### GetJobQueues
+
+`func (o *Job) GetJobQueues() []JobQueues`
+
+GetJobQueues returns the JobQueues field if non-nil, zero value otherwise.
+
+### GetJobQueuesOk
+
+`func (o *Job) GetJobQueuesOk() (*[]JobQueues, bool)`
+
+GetJobQueuesOk returns a tuple with the JobQueues field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetJobQueues
-### HasTaskQueuesOverride
+`func (o *Job) SetJobQueues(v []JobQueues)`
-`func (o *Job) HasTaskQueuesOverride() bool`
+SetJobQueues sets JobQueues field to given value.
-HasTaskQueuesOverride returns a boolean if a field has been set.
### GetCreated
diff --git a/docs/JobButton.md b/docs/JobButton.md
index 51af5c25..d9655815 100644
--- a/docs/JobButton.md
+++ b/docs/JobButton.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -26,7 +26,7 @@ Name | Type | Description | Notes
### NewJobButton
-`func NewJobButton(id string, objectType string, display string, url string, naturalSlug string, contentTypes []string, name string, text string, job BulkWritableJobButtonRequestJob, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *JobButton`
+`func NewJobButton(objectType string, display string, url string, naturalSlug string, contentTypes []string, name string, text string, job BulkWritableJobButtonRequestJob, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *JobButton`
NewJobButton instantiates a new JobButton object
This constructor will assign default values to properties that have it defined,
@@ -60,6 +60,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *JobButton) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/JobButtonRequest.md b/docs/JobButtonRequest.md
index 5993c726..1bf7c6ee 100644
--- a/docs/JobButtonRequest.md
+++ b/docs/JobButtonRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**ContentTypes** | **[]string** | |
**Name** | **string** | |
**Enabled** | Pointer to **bool** | | [optional]
@@ -33,6 +34,31 @@ NewJobButtonRequestWithDefaults instantiates a new JobButtonRequest object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *JobButtonRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *JobButtonRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *JobButtonRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *JobButtonRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetContentTypes
`func (o *JobButtonRequest) GetContentTypes() []string`
diff --git a/docs/JobCreationRequest.md b/docs/JobCreationRequest.md
index 7feba070..638dc172 100644
--- a/docs/JobCreationRequest.md
+++ b/docs/JobCreationRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**Name** | Pointer to **string** | | [optional]
**StartTime** | Pointer to **time.Time** | | [optional]
**Interval** | [**JobExecutionTypeIntervalChoices**](JobExecutionTypeIntervalChoices.md) | |
@@ -28,6 +29,31 @@ NewJobCreationRequestWithDefaults instantiates a new JobCreationRequest object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *JobCreationRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *JobCreationRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *JobCreationRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *JobCreationRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetName
`func (o *JobCreationRequest) GetName() string`
diff --git a/docs/JobHook.md b/docs/JobHook.md
index 921e16c9..9ac8e741 100644
--- a/docs/JobHook.md
+++ b/docs/JobHook.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -25,7 +25,7 @@ Name | Type | Description | Notes
### NewJobHook
-`func NewJobHook(id string, objectType string, display string, url string, naturalSlug string, contentTypes []string, name string, job BulkWritableJobHookRequestJob, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *JobHook`
+`func NewJobHook(objectType string, display string, url string, naturalSlug string, contentTypes []string, name string, job BulkWritableJobHookRequestJob, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *JobHook`
NewJobHook instantiates a new JobHook object
This constructor will assign default values to properties that have it defined,
@@ -59,6 +59,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *JobHook) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/JobHookRequest.md b/docs/JobHookRequest.md
index 585c738c..83429851 100644
--- a/docs/JobHookRequest.md
+++ b/docs/JobHookRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**ContentTypes** | **[]string** | |
**Enabled** | Pointer to **bool** | | [optional]
**Name** | **string** | |
@@ -33,6 +34,31 @@ NewJobHookRequestWithDefaults instantiates a new JobHookRequest object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *JobHookRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *JobHookRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *JobHookRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *JobHookRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetContentTypes
`func (o *JobHookRequest) GetContentTypes() []string`
diff --git a/docs/JobInputRequest.md b/docs/JobInputRequest.md
index 31037499..cb7a0d1b 100644
--- a/docs/JobInputRequest.md
+++ b/docs/JobInputRequest.md
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
**Data** | Pointer to **interface{}** | | [optional]
**Schedule** | Pointer to [**JobCreationRequest**](JobCreationRequest.md) | | [optional]
**TaskQueue** | Pointer to **string** | | [optional]
+**JobQueue** | Pointer to **string** | | [optional]
## Methods
@@ -112,6 +113,31 @@ SetTaskQueue sets TaskQueue field to given value.
HasTaskQueue returns a boolean if a field has been set.
+### GetJobQueue
+
+`func (o *JobInputRequest) GetJobQueue() string`
+
+GetJobQueue returns the JobQueue field if non-nil, zero value otherwise.
+
+### GetJobQueueOk
+
+`func (o *JobInputRequest) GetJobQueueOk() (*string, bool)`
+
+GetJobQueueOk returns a tuple with the JobQueue field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetJobQueue
+
+`func (o *JobInputRequest) SetJobQueue(v string)`
+
+SetJobQueue sets JobQueue field to given value.
+
+### HasJobQueue
+
+`func (o *JobInputRequest) HasJobQueue() bool`
+
+HasJobQueue returns a boolean if a field has been set.
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/JobLogEntry.md b/docs/JobLogEntry.md
index 7c64bf98..f8d9ef13 100644
--- a/docs/JobLogEntry.md
+++ b/docs/JobLogEntry.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -21,7 +21,7 @@ Name | Type | Description | Notes
### NewJobLogEntry
-`func NewJobLogEntry(id string, objectType string, display string, url string, naturalSlug string, jobResult BulkWritableCableRequestStatus, ) *JobLogEntry`
+`func NewJobLogEntry(objectType string, display string, url string, naturalSlug string, jobResult BulkWritableCableRequestStatus, ) *JobLogEntry`
NewJobLogEntry instantiates a new JobLogEntry object
This constructor will assign default values to properties that have it defined,
@@ -55,6 +55,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *JobLogEntry) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/JobQueue.md b/docs/JobQueue.md
new file mode 100644
index 00000000..f8380a37
--- /dev/null
+++ b/docs/JobQueue.md
@@ -0,0 +1,379 @@
+# JobQueue
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
+**ObjectType** | **string** | | [readonly]
+**Display** | **string** | Human friendly display value | [readonly]
+**Url** | **string** | | [readonly]
+**NaturalSlug** | **string** | | [readonly]
+**Name** | **string** | |
+**Description** | Pointer to **string** | | [optional]
+**QueueType** | [**QueueTypeEnum**](QueueTypeEnum.md) | |
+**Tenant** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
+**Created** | **NullableTime** | | [readonly]
+**LastUpdated** | **NullableTime** | | [readonly]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
+**NotesUrl** | **string** | | [readonly]
+**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
+
+## Methods
+
+### NewJobQueue
+
+`func NewJobQueue(objectType string, display string, url string, naturalSlug string, name string, queueType QueueTypeEnum, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *JobQueue`
+
+NewJobQueue instantiates a new JobQueue object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewJobQueueWithDefaults
+
+`func NewJobQueueWithDefaults() *JobQueue`
+
+NewJobQueueWithDefaults instantiates a new JobQueue object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *JobQueue) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *JobQueue) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *JobQueue) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *JobQueue) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
+### GetObjectType
+
+`func (o *JobQueue) GetObjectType() string`
+
+GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
+
+### GetObjectTypeOk
+
+`func (o *JobQueue) GetObjectTypeOk() (*string, bool)`
+
+GetObjectTypeOk returns a tuple with the ObjectType field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetObjectType
+
+`func (o *JobQueue) SetObjectType(v string)`
+
+SetObjectType sets ObjectType field to given value.
+
+
+### GetDisplay
+
+`func (o *JobQueue) GetDisplay() string`
+
+GetDisplay returns the Display field if non-nil, zero value otherwise.
+
+### GetDisplayOk
+
+`func (o *JobQueue) GetDisplayOk() (*string, bool)`
+
+GetDisplayOk returns a tuple with the Display field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDisplay
+
+`func (o *JobQueue) SetDisplay(v string)`
+
+SetDisplay sets Display field to given value.
+
+
+### GetUrl
+
+`func (o *JobQueue) GetUrl() string`
+
+GetUrl returns the Url field if non-nil, zero value otherwise.
+
+### GetUrlOk
+
+`func (o *JobQueue) GetUrlOk() (*string, bool)`
+
+GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetUrl
+
+`func (o *JobQueue) SetUrl(v string)`
+
+SetUrl sets Url field to given value.
+
+
+### GetNaturalSlug
+
+`func (o *JobQueue) GetNaturalSlug() string`
+
+GetNaturalSlug returns the NaturalSlug field if non-nil, zero value otherwise.
+
+### GetNaturalSlugOk
+
+`func (o *JobQueue) GetNaturalSlugOk() (*string, bool)`
+
+GetNaturalSlugOk returns a tuple with the NaturalSlug field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetNaturalSlug
+
+`func (o *JobQueue) SetNaturalSlug(v string)`
+
+SetNaturalSlug sets NaturalSlug field to given value.
+
+
+### GetName
+
+`func (o *JobQueue) GetName() string`
+
+GetName returns the Name field if non-nil, zero value otherwise.
+
+### GetNameOk
+
+`func (o *JobQueue) GetNameOk() (*string, bool)`
+
+GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetName
+
+`func (o *JobQueue) SetName(v string)`
+
+SetName sets Name field to given value.
+
+
+### GetDescription
+
+`func (o *JobQueue) GetDescription() string`
+
+GetDescription returns the Description field if non-nil, zero value otherwise.
+
+### GetDescriptionOk
+
+`func (o *JobQueue) GetDescriptionOk() (*string, bool)`
+
+GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDescription
+
+`func (o *JobQueue) SetDescription(v string)`
+
+SetDescription sets Description field to given value.
+
+### HasDescription
+
+`func (o *JobQueue) HasDescription() bool`
+
+HasDescription returns a boolean if a field has been set.
+
+### GetQueueType
+
+`func (o *JobQueue) GetQueueType() QueueTypeEnum`
+
+GetQueueType returns the QueueType field if non-nil, zero value otherwise.
+
+### GetQueueTypeOk
+
+`func (o *JobQueue) GetQueueTypeOk() (*QueueTypeEnum, bool)`
+
+GetQueueTypeOk returns a tuple with the QueueType field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetQueueType
+
+`func (o *JobQueue) SetQueueType(v QueueTypeEnum)`
+
+SetQueueType sets QueueType field to given value.
+
+
+### GetTenant
+
+`func (o *JobQueue) GetTenant() BulkWritableCircuitRequestTenant`
+
+GetTenant returns the Tenant field if non-nil, zero value otherwise.
+
+### GetTenantOk
+
+`func (o *JobQueue) GetTenantOk() (*BulkWritableCircuitRequestTenant, bool)`
+
+GetTenantOk returns a tuple with the Tenant field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTenant
+
+`func (o *JobQueue) SetTenant(v BulkWritableCircuitRequestTenant)`
+
+SetTenant sets Tenant field to given value.
+
+### HasTenant
+
+`func (o *JobQueue) HasTenant() bool`
+
+HasTenant returns a boolean if a field has been set.
+
+### SetTenantNil
+
+`func (o *JobQueue) SetTenantNil(b bool)`
+
+ SetTenantNil sets the value for Tenant to be an explicit nil
+
+### UnsetTenant
+`func (o *JobQueue) UnsetTenant()`
+
+UnsetTenant ensures that no value is present for Tenant, not even an explicit nil
+### GetCreated
+
+`func (o *JobQueue) GetCreated() time.Time`
+
+GetCreated returns the Created field if non-nil, zero value otherwise.
+
+### GetCreatedOk
+
+`func (o *JobQueue) GetCreatedOk() (*time.Time, bool)`
+
+GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCreated
+
+`func (o *JobQueue) SetCreated(v time.Time)`
+
+SetCreated sets Created field to given value.
+
+
+### SetCreatedNil
+
+`func (o *JobQueue) SetCreatedNil(b bool)`
+
+ SetCreatedNil sets the value for Created to be an explicit nil
+
+### UnsetCreated
+`func (o *JobQueue) UnsetCreated()`
+
+UnsetCreated ensures that no value is present for Created, not even an explicit nil
+### GetLastUpdated
+
+`func (o *JobQueue) GetLastUpdated() time.Time`
+
+GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise.
+
+### GetLastUpdatedOk
+
+`func (o *JobQueue) GetLastUpdatedOk() (*time.Time, bool)`
+
+GetLastUpdatedOk returns a tuple with the LastUpdated field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetLastUpdated
+
+`func (o *JobQueue) SetLastUpdated(v time.Time)`
+
+SetLastUpdated sets LastUpdated field to given value.
+
+
+### SetLastUpdatedNil
+
+`func (o *JobQueue) SetLastUpdatedNil(b bool)`
+
+ SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil
+
+### UnsetLastUpdated
+`func (o *JobQueue) UnsetLastUpdated()`
+
+UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil
+### GetTags
+
+`func (o *JobQueue) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *JobQueue) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *JobQueue) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *JobQueue) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
+### GetNotesUrl
+
+`func (o *JobQueue) GetNotesUrl() string`
+
+GetNotesUrl returns the NotesUrl field if non-nil, zero value otherwise.
+
+### GetNotesUrlOk
+
+`func (o *JobQueue) GetNotesUrlOk() (*string, bool)`
+
+GetNotesUrlOk returns a tuple with the NotesUrl field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetNotesUrl
+
+`func (o *JobQueue) SetNotesUrl(v string)`
+
+SetNotesUrl sets NotesUrl field to given value.
+
+
+### GetCustomFields
+
+`func (o *JobQueue) GetCustomFields() map[string]interface{}`
+
+GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
+
+### GetCustomFieldsOk
+
+`func (o *JobQueue) GetCustomFieldsOk() (*map[string]interface{}, bool)`
+
+GetCustomFieldsOk returns a tuple with the CustomFields field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCustomFields
+
+`func (o *JobQueue) SetCustomFields(v map[string]interface{})`
+
+SetCustomFields sets CustomFields field to given value.
+
+### HasCustomFields
+
+`func (o *JobQueue) HasCustomFields() bool`
+
+HasCustomFields returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/JobQueueAssignment.md b/docs/JobQueueAssignment.md
new file mode 100644
index 00000000..7b92e804
--- /dev/null
+++ b/docs/JobQueueAssignment.md
@@ -0,0 +1,182 @@
+# JobQueueAssignment
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
+**ObjectType** | **string** | | [readonly]
+**Display** | **string** | Human friendly display value | [readonly]
+**Url** | **string** | | [readonly]
+**NaturalSlug** | **string** | | [readonly]
+**Job** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+**JobQueue** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+
+## Methods
+
+### NewJobQueueAssignment
+
+`func NewJobQueueAssignment(objectType string, display string, url string, naturalSlug string, job BulkWritableCableRequestStatus, jobQueue BulkWritableCableRequestStatus, ) *JobQueueAssignment`
+
+NewJobQueueAssignment instantiates a new JobQueueAssignment object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewJobQueueAssignmentWithDefaults
+
+`func NewJobQueueAssignmentWithDefaults() *JobQueueAssignment`
+
+NewJobQueueAssignmentWithDefaults instantiates a new JobQueueAssignment object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *JobQueueAssignment) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *JobQueueAssignment) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *JobQueueAssignment) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *JobQueueAssignment) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
+### GetObjectType
+
+`func (o *JobQueueAssignment) GetObjectType() string`
+
+GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
+
+### GetObjectTypeOk
+
+`func (o *JobQueueAssignment) GetObjectTypeOk() (*string, bool)`
+
+GetObjectTypeOk returns a tuple with the ObjectType field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetObjectType
+
+`func (o *JobQueueAssignment) SetObjectType(v string)`
+
+SetObjectType sets ObjectType field to given value.
+
+
+### GetDisplay
+
+`func (o *JobQueueAssignment) GetDisplay() string`
+
+GetDisplay returns the Display field if non-nil, zero value otherwise.
+
+### GetDisplayOk
+
+`func (o *JobQueueAssignment) GetDisplayOk() (*string, bool)`
+
+GetDisplayOk returns a tuple with the Display field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDisplay
+
+`func (o *JobQueueAssignment) SetDisplay(v string)`
+
+SetDisplay sets Display field to given value.
+
+
+### GetUrl
+
+`func (o *JobQueueAssignment) GetUrl() string`
+
+GetUrl returns the Url field if non-nil, zero value otherwise.
+
+### GetUrlOk
+
+`func (o *JobQueueAssignment) GetUrlOk() (*string, bool)`
+
+GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetUrl
+
+`func (o *JobQueueAssignment) SetUrl(v string)`
+
+SetUrl sets Url field to given value.
+
+
+### GetNaturalSlug
+
+`func (o *JobQueueAssignment) GetNaturalSlug() string`
+
+GetNaturalSlug returns the NaturalSlug field if non-nil, zero value otherwise.
+
+### GetNaturalSlugOk
+
+`func (o *JobQueueAssignment) GetNaturalSlugOk() (*string, bool)`
+
+GetNaturalSlugOk returns a tuple with the NaturalSlug field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetNaturalSlug
+
+`func (o *JobQueueAssignment) SetNaturalSlug(v string)`
+
+SetNaturalSlug sets NaturalSlug field to given value.
+
+
+### GetJob
+
+`func (o *JobQueueAssignment) GetJob() BulkWritableCableRequestStatus`
+
+GetJob returns the Job field if non-nil, zero value otherwise.
+
+### GetJobOk
+
+`func (o *JobQueueAssignment) GetJobOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetJobOk returns a tuple with the Job field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetJob
+
+`func (o *JobQueueAssignment) SetJob(v BulkWritableCableRequestStatus)`
+
+SetJob sets Job field to given value.
+
+
+### GetJobQueue
+
+`func (o *JobQueueAssignment) GetJobQueue() BulkWritableCableRequestStatus`
+
+GetJobQueue returns the JobQueue field if non-nil, zero value otherwise.
+
+### GetJobQueueOk
+
+`func (o *JobQueueAssignment) GetJobQueueOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetJobQueueOk returns a tuple with the JobQueue field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetJobQueue
+
+`func (o *JobQueueAssignment) SetJobQueue(v BulkWritableCableRequestStatus)`
+
+SetJobQueue sets JobQueue field to given value.
+
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/JobQueueAssignmentRequest.md b/docs/JobQueueAssignmentRequest.md
new file mode 100644
index 00000000..2c74ea11
--- /dev/null
+++ b/docs/JobQueueAssignmentRequest.md
@@ -0,0 +1,98 @@
+# JobQueueAssignmentRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
+**Job** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+**JobQueue** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+
+## Methods
+
+### NewJobQueueAssignmentRequest
+
+`func NewJobQueueAssignmentRequest(job BulkWritableCableRequestStatus, jobQueue BulkWritableCableRequestStatus, ) *JobQueueAssignmentRequest`
+
+NewJobQueueAssignmentRequest instantiates a new JobQueueAssignmentRequest object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewJobQueueAssignmentRequestWithDefaults
+
+`func NewJobQueueAssignmentRequestWithDefaults() *JobQueueAssignmentRequest`
+
+NewJobQueueAssignmentRequestWithDefaults instantiates a new JobQueueAssignmentRequest object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *JobQueueAssignmentRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *JobQueueAssignmentRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *JobQueueAssignmentRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *JobQueueAssignmentRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
+### GetJob
+
+`func (o *JobQueueAssignmentRequest) GetJob() BulkWritableCableRequestStatus`
+
+GetJob returns the Job field if non-nil, zero value otherwise.
+
+### GetJobOk
+
+`func (o *JobQueueAssignmentRequest) GetJobOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetJobOk returns a tuple with the Job field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetJob
+
+`func (o *JobQueueAssignmentRequest) SetJob(v BulkWritableCableRequestStatus)`
+
+SetJob sets Job field to given value.
+
+
+### GetJobQueue
+
+`func (o *JobQueueAssignmentRequest) GetJobQueue() BulkWritableCableRequestStatus`
+
+GetJobQueue returns the JobQueue field if non-nil, zero value otherwise.
+
+### GetJobQueueOk
+
+`func (o *JobQueueAssignmentRequest) GetJobQueueOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetJobQueueOk returns a tuple with the JobQueue field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetJobQueue
+
+`func (o *JobQueueAssignmentRequest) SetJobQueue(v BulkWritableCableRequestStatus)`
+
+SetJobQueue sets JobQueue field to given value.
+
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/JobQueueOverride.md b/docs/JobQueueOverride.md
new file mode 100644
index 00000000..1d81ab33
--- /dev/null
+++ b/docs/JobQueueOverride.md
@@ -0,0 +1,108 @@
+# JobQueueOverride
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | Pointer to [**BulkWritableCableRequestStatusId**](BulkWritableCableRequestStatusId.md) | | [optional]
+**ObjectType** | Pointer to **string** | | [optional]
+**Url** | Pointer to **string** | | [optional]
+
+## Methods
+
+### NewJobQueueOverride
+
+`func NewJobQueueOverride() *JobQueueOverride`
+
+NewJobQueueOverride instantiates a new JobQueueOverride object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewJobQueueOverrideWithDefaults
+
+`func NewJobQueueOverrideWithDefaults() *JobQueueOverride`
+
+NewJobQueueOverrideWithDefaults instantiates a new JobQueueOverride object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *JobQueueOverride) GetId() BulkWritableCableRequestStatusId`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *JobQueueOverride) GetIdOk() (*BulkWritableCableRequestStatusId, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *JobQueueOverride) SetId(v BulkWritableCableRequestStatusId)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *JobQueueOverride) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
+### GetObjectType
+
+`func (o *JobQueueOverride) GetObjectType() string`
+
+GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
+
+### GetObjectTypeOk
+
+`func (o *JobQueueOverride) GetObjectTypeOk() (*string, bool)`
+
+GetObjectTypeOk returns a tuple with the ObjectType field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetObjectType
+
+`func (o *JobQueueOverride) SetObjectType(v string)`
+
+SetObjectType sets ObjectType field to given value.
+
+### HasObjectType
+
+`func (o *JobQueueOverride) HasObjectType() bool`
+
+HasObjectType returns a boolean if a field has been set.
+
+### GetUrl
+
+`func (o *JobQueueOverride) GetUrl() string`
+
+GetUrl returns the Url field if non-nil, zero value otherwise.
+
+### GetUrlOk
+
+`func (o *JobQueueOverride) GetUrlOk() (*string, bool)`
+
+GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetUrl
+
+`func (o *JobQueueOverride) SetUrl(v string)`
+
+SetUrl sets Url field to given value.
+
+### HasUrl
+
+`func (o *JobQueueOverride) HasUrl() bool`
+
+HasUrl returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/JobQueueRequest.md b/docs/JobQueueRequest.md
new file mode 100644
index 00000000..adbdd093
--- /dev/null
+++ b/docs/JobQueueRequest.md
@@ -0,0 +1,238 @@
+# JobQueueRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
+**Name** | **string** | |
+**Description** | Pointer to **string** | | [optional]
+**QueueType** | [**QueueTypeEnum**](QueueTypeEnum.md) | |
+**Tenant** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
+**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
+**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
+
+## Methods
+
+### NewJobQueueRequest
+
+`func NewJobQueueRequest(name string, queueType QueueTypeEnum, ) *JobQueueRequest`
+
+NewJobQueueRequest instantiates a new JobQueueRequest object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewJobQueueRequestWithDefaults
+
+`func NewJobQueueRequestWithDefaults() *JobQueueRequest`
+
+NewJobQueueRequestWithDefaults instantiates a new JobQueueRequest object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *JobQueueRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *JobQueueRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *JobQueueRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *JobQueueRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
+### GetName
+
+`func (o *JobQueueRequest) GetName() string`
+
+GetName returns the Name field if non-nil, zero value otherwise.
+
+### GetNameOk
+
+`func (o *JobQueueRequest) GetNameOk() (*string, bool)`
+
+GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetName
+
+`func (o *JobQueueRequest) SetName(v string)`
+
+SetName sets Name field to given value.
+
+
+### GetDescription
+
+`func (o *JobQueueRequest) GetDescription() string`
+
+GetDescription returns the Description field if non-nil, zero value otherwise.
+
+### GetDescriptionOk
+
+`func (o *JobQueueRequest) GetDescriptionOk() (*string, bool)`
+
+GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDescription
+
+`func (o *JobQueueRequest) SetDescription(v string)`
+
+SetDescription sets Description field to given value.
+
+### HasDescription
+
+`func (o *JobQueueRequest) HasDescription() bool`
+
+HasDescription returns a boolean if a field has been set.
+
+### GetQueueType
+
+`func (o *JobQueueRequest) GetQueueType() QueueTypeEnum`
+
+GetQueueType returns the QueueType field if non-nil, zero value otherwise.
+
+### GetQueueTypeOk
+
+`func (o *JobQueueRequest) GetQueueTypeOk() (*QueueTypeEnum, bool)`
+
+GetQueueTypeOk returns a tuple with the QueueType field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetQueueType
+
+`func (o *JobQueueRequest) SetQueueType(v QueueTypeEnum)`
+
+SetQueueType sets QueueType field to given value.
+
+
+### GetTenant
+
+`func (o *JobQueueRequest) GetTenant() BulkWritableCircuitRequestTenant`
+
+GetTenant returns the Tenant field if non-nil, zero value otherwise.
+
+### GetTenantOk
+
+`func (o *JobQueueRequest) GetTenantOk() (*BulkWritableCircuitRequestTenant, bool)`
+
+GetTenantOk returns a tuple with the Tenant field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTenant
+
+`func (o *JobQueueRequest) SetTenant(v BulkWritableCircuitRequestTenant)`
+
+SetTenant sets Tenant field to given value.
+
+### HasTenant
+
+`func (o *JobQueueRequest) HasTenant() bool`
+
+HasTenant returns a boolean if a field has been set.
+
+### SetTenantNil
+
+`func (o *JobQueueRequest) SetTenantNil(b bool)`
+
+ SetTenantNil sets the value for Tenant to be an explicit nil
+
+### UnsetTenant
+`func (o *JobQueueRequest) UnsetTenant()`
+
+UnsetTenant ensures that no value is present for Tenant, not even an explicit nil
+### GetTags
+
+`func (o *JobQueueRequest) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *JobQueueRequest) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *JobQueueRequest) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *JobQueueRequest) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
+### GetCustomFields
+
+`func (o *JobQueueRequest) GetCustomFields() map[string]interface{}`
+
+GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
+
+### GetCustomFieldsOk
+
+`func (o *JobQueueRequest) GetCustomFieldsOk() (*map[string]interface{}, bool)`
+
+GetCustomFieldsOk returns a tuple with the CustomFields field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCustomFields
+
+`func (o *JobQueueRequest) SetCustomFields(v map[string]interface{})`
+
+SetCustomFields sets CustomFields field to given value.
+
+### HasCustomFields
+
+`func (o *JobQueueRequest) HasCustomFields() bool`
+
+HasCustomFields returns a boolean if a field has been set.
+
+### GetRelationships
+
+`func (o *JobQueueRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue`
+
+GetRelationships returns the Relationships field if non-nil, zero value otherwise.
+
+### GetRelationshipsOk
+
+`func (o *JobQueueRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool)`
+
+GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetRelationships
+
+`func (o *JobQueueRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue)`
+
+SetRelationships sets Relationships field to given value.
+
+### HasRelationships
+
+`func (o *JobQueueRequest) HasRelationships() bool`
+
+HasRelationships returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/JobQueues.md b/docs/JobQueues.md
new file mode 100644
index 00000000..90221a71
--- /dev/null
+++ b/docs/JobQueues.md
@@ -0,0 +1,108 @@
+# JobQueues
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | Pointer to [**BulkWritableCableRequestStatusId**](BulkWritableCableRequestStatusId.md) | | [optional]
+**ObjectType** | Pointer to **string** | | [optional]
+**Url** | Pointer to **string** | | [optional]
+
+## Methods
+
+### NewJobQueues
+
+`func NewJobQueues() *JobQueues`
+
+NewJobQueues instantiates a new JobQueues object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewJobQueuesWithDefaults
+
+`func NewJobQueuesWithDefaults() *JobQueues`
+
+NewJobQueuesWithDefaults instantiates a new JobQueues object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *JobQueues) GetId() BulkWritableCableRequestStatusId`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *JobQueues) GetIdOk() (*BulkWritableCableRequestStatusId, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *JobQueues) SetId(v BulkWritableCableRequestStatusId)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *JobQueues) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
+### GetObjectType
+
+`func (o *JobQueues) GetObjectType() string`
+
+GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
+
+### GetObjectTypeOk
+
+`func (o *JobQueues) GetObjectTypeOk() (*string, bool)`
+
+GetObjectTypeOk returns a tuple with the ObjectType field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetObjectType
+
+`func (o *JobQueues) SetObjectType(v string)`
+
+SetObjectType sets ObjectType field to given value.
+
+### HasObjectType
+
+`func (o *JobQueues) HasObjectType() bool`
+
+HasObjectType returns a boolean if a field has been set.
+
+### GetUrl
+
+`func (o *JobQueues) GetUrl() string`
+
+GetUrl returns the Url field if non-nil, zero value otherwise.
+
+### GetUrlOk
+
+`func (o *JobQueues) GetUrlOk() (*string, bool)`
+
+GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetUrl
+
+`func (o *JobQueues) SetUrl(v string)`
+
+SetUrl sets Url field to given value.
+
+### HasUrl
+
+`func (o *JobQueues) HasUrl() bool`
+
+HasUrl returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/JobRequest.md b/docs/JobRequest.md
index 9d189ab6..6183c9a1 100644
--- a/docs/JobRequest.md
+++ b/docs/JobRequest.md
@@ -4,17 +4,18 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**Grouping** | **string** | Human-readable grouping that this job belongs to |
**Name** | **string** | Human-readable name of this job |
**Description** | Pointer to **string** | Markdown formatting and a limited subset of HTML are supported | [optional]
**Enabled** | Pointer to **bool** | Whether this job can be executed by users | [optional]
**HasSensitiveVariables** | Pointer to **bool** | Whether this job contains sensitive variables | [optional]
+**IsSingleton** | Pointer to **bool** | Whether this job should fail to run if another instance of this job is already running | [optional]
**ApprovalRequired** | Pointer to **bool** | Whether the job requires approval from another user before running | [optional]
**Hidden** | Pointer to **bool** | Whether the job defaults to not being shown in the UI | [optional]
**DryrunDefault** | Pointer to **bool** | Whether the job defaults to running with dryrun argument set to true | [optional]
**SoftTimeLimit** | Pointer to **float64** | Maximum runtime in seconds before the job will receive a <code>SoftTimeLimitExceeded</code> exception.<br>Set to 0 to use Nautobot system default | [optional]
**TimeLimit** | Pointer to **float64** | Maximum runtime in seconds before the job will be forcibly terminated.<br>Set to 0 to use Nautobot system default | [optional]
-**TaskQueues** | Pointer to **interface{}** | Comma separated list of task queues that this job can run on. A blank list will use the default queue | [optional]
**GroupingOverride** | Pointer to **bool** | If set, the configured grouping will remain even if the underlying Job source code changes | [optional]
**NameOverride** | Pointer to **bool** | If set, the configured name will remain even if the underlying Job source code changes | [optional]
**DescriptionOverride** | Pointer to **bool** | If set, the configured description will remain even if the underlying Job source code changes | [optional]
@@ -24,7 +25,10 @@ Name | Type | Description | Notes
**SoftTimeLimitOverride** | Pointer to **bool** | If set, the configured value will remain even if the underlying Job source code changes | [optional]
**TimeLimitOverride** | Pointer to **bool** | If set, the configured value will remain even if the underlying Job source code changes | [optional]
**HasSensitiveVariablesOverride** | Pointer to **bool** | If set, the configured value will remain even if the underlying Job source code changes | [optional]
-**TaskQueuesOverride** | Pointer to **bool** | If set, the configured value will remain even if the underlying Job source code changes | [optional]
+**JobQueuesOverride** | Pointer to **bool** | If set, the configured value will remain even if the underlying Job source code changes | [optional]
+**DefaultJobQueueOverride** | Pointer to **bool** | If set, the configured value will remain even if the underlying Job source code changes | [optional]
+**IsSingletonOverride** | Pointer to **bool** | If set, the configured value will remain even if the underlying Job source code changes | [optional]
+**DefaultJobQueue** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
@@ -33,7 +37,7 @@ Name | Type | Description | Notes
### NewJobRequest
-`func NewJobRequest(grouping string, name string, ) *JobRequest`
+`func NewJobRequest(grouping string, name string, defaultJobQueue BulkWritableCableRequestStatus, ) *JobRequest`
NewJobRequest instantiates a new JobRequest object
This constructor will assign default values to properties that have it defined,
@@ -48,6 +52,31 @@ NewJobRequestWithDefaults instantiates a new JobRequest object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *JobRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *JobRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *JobRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *JobRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetGrouping
`func (o *JobRequest) GetGrouping() string`
@@ -163,6 +192,31 @@ SetHasSensitiveVariables sets HasSensitiveVariables field to given value.
HasHasSensitiveVariables returns a boolean if a field has been set.
+### GetIsSingleton
+
+`func (o *JobRequest) GetIsSingleton() bool`
+
+GetIsSingleton returns the IsSingleton field if non-nil, zero value otherwise.
+
+### GetIsSingletonOk
+
+`func (o *JobRequest) GetIsSingletonOk() (*bool, bool)`
+
+GetIsSingletonOk returns a tuple with the IsSingleton field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetIsSingleton
+
+`func (o *JobRequest) SetIsSingleton(v bool)`
+
+SetIsSingleton sets IsSingleton field to given value.
+
+### HasIsSingleton
+
+`func (o *JobRequest) HasIsSingleton() bool`
+
+HasIsSingleton returns a boolean if a field has been set.
+
### GetApprovalRequired
`func (o *JobRequest) GetApprovalRequired() bool`
@@ -288,41 +342,6 @@ SetTimeLimit sets TimeLimit field to given value.
HasTimeLimit returns a boolean if a field has been set.
-### GetTaskQueues
-
-`func (o *JobRequest) GetTaskQueues() interface{}`
-
-GetTaskQueues returns the TaskQueues field if non-nil, zero value otherwise.
-
-### GetTaskQueuesOk
-
-`func (o *JobRequest) GetTaskQueuesOk() (*interface{}, bool)`
-
-GetTaskQueuesOk returns a tuple with the TaskQueues field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTaskQueues
-
-`func (o *JobRequest) SetTaskQueues(v interface{})`
-
-SetTaskQueues sets TaskQueues field to given value.
-
-### HasTaskQueues
-
-`func (o *JobRequest) HasTaskQueues() bool`
-
-HasTaskQueues returns a boolean if a field has been set.
-
-### SetTaskQueuesNil
-
-`func (o *JobRequest) SetTaskQueuesNil(b bool)`
-
- SetTaskQueuesNil sets the value for TaskQueues to be an explicit nil
-
-### UnsetTaskQueues
-`func (o *JobRequest) UnsetTaskQueues()`
-
-UnsetTaskQueues ensures that no value is present for TaskQueues, not even an explicit nil
### GetGroupingOverride
`func (o *JobRequest) GetGroupingOverride() bool`
@@ -548,30 +567,100 @@ SetHasSensitiveVariablesOverride sets HasSensitiveVariablesOverride field to giv
HasHasSensitiveVariablesOverride returns a boolean if a field has been set.
-### GetTaskQueuesOverride
+### GetJobQueuesOverride
+
+`func (o *JobRequest) GetJobQueuesOverride() bool`
+
+GetJobQueuesOverride returns the JobQueuesOverride field if non-nil, zero value otherwise.
+
+### GetJobQueuesOverrideOk
+
+`func (o *JobRequest) GetJobQueuesOverrideOk() (*bool, bool)`
+
+GetJobQueuesOverrideOk returns a tuple with the JobQueuesOverride field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetJobQueuesOverride
+
+`func (o *JobRequest) SetJobQueuesOverride(v bool)`
+
+SetJobQueuesOverride sets JobQueuesOverride field to given value.
+
+### HasJobQueuesOverride
+
+`func (o *JobRequest) HasJobQueuesOverride() bool`
+
+HasJobQueuesOverride returns a boolean if a field has been set.
+
+### GetDefaultJobQueueOverride
+
+`func (o *JobRequest) GetDefaultJobQueueOverride() bool`
+
+GetDefaultJobQueueOverride returns the DefaultJobQueueOverride field if non-nil, zero value otherwise.
+
+### GetDefaultJobQueueOverrideOk
+
+`func (o *JobRequest) GetDefaultJobQueueOverrideOk() (*bool, bool)`
-`func (o *JobRequest) GetTaskQueuesOverride() bool`
+GetDefaultJobQueueOverrideOk returns a tuple with the DefaultJobQueueOverride field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDefaultJobQueueOverride
+
+`func (o *JobRequest) SetDefaultJobQueueOverride(v bool)`
+
+SetDefaultJobQueueOverride sets DefaultJobQueueOverride field to given value.
+
+### HasDefaultJobQueueOverride
-GetTaskQueuesOverride returns the TaskQueuesOverride field if non-nil, zero value otherwise.
+`func (o *JobRequest) HasDefaultJobQueueOverride() bool`
-### GetTaskQueuesOverrideOk
+HasDefaultJobQueueOverride returns a boolean if a field has been set.
-`func (o *JobRequest) GetTaskQueuesOverrideOk() (*bool, bool)`
+### GetIsSingletonOverride
-GetTaskQueuesOverrideOk returns a tuple with the TaskQueuesOverride field if it's non-nil, zero value otherwise
+`func (o *JobRequest) GetIsSingletonOverride() bool`
+
+GetIsSingletonOverride returns the IsSingletonOverride field if non-nil, zero value otherwise.
+
+### GetIsSingletonOverrideOk
+
+`func (o *JobRequest) GetIsSingletonOverrideOk() (*bool, bool)`
+
+GetIsSingletonOverrideOk returns a tuple with the IsSingletonOverride field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
-### SetTaskQueuesOverride
+### SetIsSingletonOverride
+
+`func (o *JobRequest) SetIsSingletonOverride(v bool)`
-`func (o *JobRequest) SetTaskQueuesOverride(v bool)`
+SetIsSingletonOverride sets IsSingletonOverride field to given value.
+
+### HasIsSingletonOverride
+
+`func (o *JobRequest) HasIsSingletonOverride() bool`
+
+HasIsSingletonOverride returns a boolean if a field has been set.
+
+### GetDefaultJobQueue
+
+`func (o *JobRequest) GetDefaultJobQueue() BulkWritableCableRequestStatus`
+
+GetDefaultJobQueue returns the DefaultJobQueue field if non-nil, zero value otherwise.
+
+### GetDefaultJobQueueOk
+
+`func (o *JobRequest) GetDefaultJobQueueOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetDefaultJobQueueOk returns a tuple with the DefaultJobQueue field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
-SetTaskQueuesOverride sets TaskQueuesOverride field to given value.
+### SetDefaultJobQueue
-### HasTaskQueuesOverride
+`func (o *JobRequest) SetDefaultJobQueue(v BulkWritableCableRequestStatus)`
-`func (o *JobRequest) HasTaskQueuesOverride() bool`
+SetDefaultJobQueue sets DefaultJobQueue field to given value.
-HasTaskQueuesOverride returns a boolean if a field has been set.
### GetTags
diff --git a/docs/JobResult.md b/docs/JobResult.md
index fec7a5ef..8f2c605f 100644
--- a/docs/JobResult.md
+++ b/docs/JobResult.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
**Name** | **string** | |
**TaskName** | Pointer to **NullableString** | Registered name of the Celery task for this job. Internal use only. | [optional]
**DateCreated** | **time.Time** | | [readonly]
+**DateStarted** | Pointer to **NullableTime** | | [optional]
**DateDone** | Pointer to **NullableTime** | | [optional]
**Result** | **interface{}** | The data returned by the task | [readonly]
**Worker** | Pointer to **NullableString** | | [optional]
@@ -25,13 +26,14 @@ Name | Type | Description | Notes
**User** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**ScheduledJob** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
+**ComputedFields** | **map[string]interface{}** | | [readonly]
**Files** | [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [readonly]
## Methods
### NewJobResult
-`func NewJobResult(id string, objectType string, display string, url string, naturalSlug string, status JobResultStatus, name string, dateCreated time.Time, result interface{}, meta interface{}, files []BulkWritableCableRequestStatus, ) *JobResult`
+`func NewJobResult(objectType string, display string, url string, naturalSlug string, status JobResultStatus, name string, dateCreated time.Time, result interface{}, meta interface{}, computedFields map[string]interface{}, files []BulkWritableCableRequestStatus, ) *JobResult`
NewJobResult instantiates a new JobResult object
This constructor will assign default values to properties that have it defined,
@@ -65,6 +67,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *JobResult) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
@@ -241,6 +248,41 @@ and a boolean to check if the value has been set.
SetDateCreated sets DateCreated field to given value.
+### GetDateStarted
+
+`func (o *JobResult) GetDateStarted() time.Time`
+
+GetDateStarted returns the DateStarted field if non-nil, zero value otherwise.
+
+### GetDateStartedOk
+
+`func (o *JobResult) GetDateStartedOk() (*time.Time, bool)`
+
+GetDateStartedOk returns a tuple with the DateStarted field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDateStarted
+
+`func (o *JobResult) SetDateStarted(v time.Time)`
+
+SetDateStarted sets DateStarted field to given value.
+
+### HasDateStarted
+
+`func (o *JobResult) HasDateStarted() bool`
+
+HasDateStarted returns a boolean if a field has been set.
+
+### SetDateStartedNil
+
+`func (o *JobResult) SetDateStartedNil(b bool)`
+
+ SetDateStartedNil sets the value for DateStarted to be an explicit nil
+
+### UnsetDateStarted
+`func (o *JobResult) UnsetDateStarted()`
+
+UnsetDateStarted ensures that no value is present for DateStarted, not even an explicit nil
### GetDateDone
`func (o *JobResult) GetDateDone() time.Time`
@@ -641,6 +683,26 @@ SetCustomFields sets CustomFields field to given value.
HasCustomFields returns a boolean if a field has been set.
+### GetComputedFields
+
+`func (o *JobResult) GetComputedFields() map[string]interface{}`
+
+GetComputedFields returns the ComputedFields field if non-nil, zero value otherwise.
+
+### GetComputedFieldsOk
+
+`func (o *JobResult) GetComputedFieldsOk() (*map[string]interface{}, bool)`
+
+GetComputedFieldsOk returns a tuple with the ComputedFields field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetComputedFields
+
+`func (o *JobResult) SetComputedFields(v map[string]interface{})`
+
+SetComputedFields sets ComputedFields field to given value.
+
+
### GetFiles
`func (o *JobResult) GetFiles() []BulkWritableCableRequestStatus`
diff --git a/docs/Location.md b/docs/Location.md
index a11bd2a8..398c2b15 100644
--- a/docs/Location.md
+++ b/docs/Location.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -43,7 +43,7 @@ Name | Type | Description | Notes
### NewLocation
-`func NewLocation(id string, objectType string, display string, url string, naturalSlug string, treeDepth NullableInt32, name string, locationType BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Location`
+`func NewLocation(objectType string, display string, url string, naturalSlug string, treeDepth NullableInt32, name string, locationType BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Location`
NewLocation instantiates a new Location object
This constructor will assign default values to properties that have it defined,
@@ -77,6 +77,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *Location) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/LocationRequest.md b/docs/LocationRequest.md
index 45a6cea6..64d6d3e4 100644
--- a/docs/LocationRequest.md
+++ b/docs/LocationRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**TimeZone** | Pointer to **NullableString** | | [optional]
**Name** | **string** | |
**Description** | Pointer to **string** | | [optional]
@@ -44,6 +45,31 @@ NewLocationRequestWithDefaults instantiates a new LocationRequest object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *LocationRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *LocationRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *LocationRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *LocationRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetTimeZone
`func (o *LocationRequest) GetTimeZone() string`
diff --git a/docs/LocationType.md b/docs/LocationType.md
index b715fc8d..2b5cb023 100644
--- a/docs/LocationType.md
+++ b/docs/LocationType.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -24,7 +24,7 @@ Name | Type | Description | Notes
### NewLocationType
-`func NewLocationType(id string, objectType string, display string, url string, naturalSlug string, treeDepth NullableInt32, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *LocationType`
+`func NewLocationType(objectType string, display string, url string, naturalSlug string, treeDepth NullableInt32, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *LocationType`
NewLocationType instantiates a new LocationType object
This constructor will assign default values to properties that have it defined,
@@ -58,6 +58,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *LocationType) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/LocationTypeRequest.md b/docs/LocationTypeRequest.md
index 8299e5af..a1099dcd 100644
--- a/docs/LocationTypeRequest.md
+++ b/docs/LocationTypeRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**ContentTypes** | Pointer to **[]string** | | [optional]
**Name** | **string** | |
**Description** | Pointer to **string** | | [optional]
@@ -31,6 +32,31 @@ NewLocationTypeRequestWithDefaults instantiates a new LocationTypeRequest object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *LocationTypeRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *LocationTypeRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *LocationTypeRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *LocationTypeRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetContentTypes
`func (o *LocationTypeRequest) GetContentTypes() []string`
diff --git a/docs/LogLevelEnum.md b/docs/LogLevelEnum.md
index d663cf00..f82f0d8b 100644
--- a/docs/LogLevelEnum.md
+++ b/docs/LogLevelEnum.md
@@ -7,8 +7,12 @@
* `INFO` (value: `"info"`)
+* `SUCCESS` (value: `"success"`)
+
* `WARNING` (value: `"warning"`)
+* `FAILURE` (value: `"failure"`)
+
* `ERROR` (value: `"error"`)
* `CRITICAL` (value: `"critical"`)
diff --git a/docs/Manufacturer.md b/docs/Manufacturer.md
index 3448e442..678d8d6a 100644
--- a/docs/Manufacturer.md
+++ b/docs/Manufacturer.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -24,7 +24,7 @@ Name | Type | Description | Notes
### NewManufacturer
-`func NewManufacturer(id string, objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Manufacturer`
+`func NewManufacturer(objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Manufacturer`
NewManufacturer instantiates a new Manufacturer object
This constructor will assign default values to properties that have it defined,
@@ -58,6 +58,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *Manufacturer) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/ManufacturerRequest.md b/docs/ManufacturerRequest.md
index 7a4505ed..3f979c81 100644
--- a/docs/ManufacturerRequest.md
+++ b/docs/ManufacturerRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**Name** | **string** | |
**Description** | Pointer to **string** | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
@@ -28,6 +29,31 @@ NewManufacturerRequestWithDefaults instantiates a new ManufacturerRequest object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *ManufacturerRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *ManufacturerRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *ManufacturerRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *ManufacturerRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetName
`func (o *ManufacturerRequest) GetName() string`
diff --git a/docs/MetadataChoice.md b/docs/MetadataChoice.md
index eff13dc1..824726b3 100644
--- a/docs/MetadataChoice.md
+++ b/docs/MetadataChoice.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -19,7 +19,7 @@ Name | Type | Description | Notes
### NewMetadataChoice
-`func NewMetadataChoice(id string, objectType string, display string, url string, naturalSlug string, value string, metadataType BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, ) *MetadataChoice`
+`func NewMetadataChoice(objectType string, display string, url string, naturalSlug string, value string, metadataType BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, ) *MetadataChoice`
NewMetadataChoice instantiates a new MetadataChoice object
This constructor will assign default values to properties that have it defined,
@@ -53,6 +53,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *MetadataChoice) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/MetadataChoiceRequest.md b/docs/MetadataChoiceRequest.md
index 04236bc8..2b38ac6e 100644
--- a/docs/MetadataChoiceRequest.md
+++ b/docs/MetadataChoiceRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**Value** | **string** | |
**Weight** | Pointer to **int32** | Higher weights appear later in the list | [optional]
**MetadataType** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
@@ -27,6 +28,31 @@ NewMetadataChoiceRequestWithDefaults instantiates a new MetadataChoiceRequest ob
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *MetadataChoiceRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *MetadataChoiceRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *MetadataChoiceRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *MetadataChoiceRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetValue
`func (o *MetadataChoiceRequest) GetValue() string`
diff --git a/docs/MetadataType.md b/docs/MetadataType.md
index ae0f589c..5c478440 100644
--- a/docs/MetadataType.md
+++ b/docs/MetadataType.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -17,12 +17,13 @@ Name | Type | Description | Notes
**LastUpdated** | **NullableTime** | | [readonly]
**NotesUrl** | **string** | | [readonly]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
## Methods
### NewMetadataType
-`func NewMetadataType(id string, objectType string, display string, url string, naturalSlug string, contentTypes []string, name string, dataType DataTypeEnum, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *MetadataType`
+`func NewMetadataType(objectType string, display string, url string, naturalSlug string, contentTypes []string, name string, dataType DataTypeEnum, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *MetadataType`
NewMetadataType instantiates a new MetadataType object
This constructor will assign default values to properties that have it defined,
@@ -56,6 +57,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *MetadataType) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
@@ -327,6 +333,31 @@ SetCustomFields sets CustomFields field to given value.
HasCustomFields returns a boolean if a field has been set.
+### GetTags
+
+`func (o *MetadataType) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *MetadataType) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *MetadataType) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *MetadataType) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/MetadataTypeRequest.md b/docs/MetadataTypeRequest.md
index 7a4b379b..9334e58a 100644
--- a/docs/MetadataTypeRequest.md
+++ b/docs/MetadataTypeRequest.md
@@ -4,12 +4,14 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**ContentTypes** | **[]string** | |
**Name** | **string** | |
**Description** | Pointer to **string** | | [optional]
**DataType** | [**DataTypeEnum**](DataTypeEnum.md) | The type of data allowed for any Metadata of this type. |
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
## Methods
@@ -30,6 +32,31 @@ NewMetadataTypeRequestWithDefaults instantiates a new MetadataTypeRequest object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *MetadataTypeRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *MetadataTypeRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *MetadataTypeRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *MetadataTypeRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetContentTypes
`func (o *MetadataTypeRequest) GetContentTypes() []string`
@@ -165,6 +192,31 @@ SetRelationships sets Relationships field to given value.
HasRelationships returns a boolean if a field has been set.
+### GetTags
+
+`func (o *MetadataTypeRequest) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *MetadataTypeRequest) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *MetadataTypeRequest) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *MetadataTypeRequest) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/Module.md b/docs/Module.md
index a6fcf988..70b40820 100644
--- a/docs/Module.md
+++ b/docs/Module.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -27,7 +27,7 @@ Name | Type | Description | Notes
### NewModule
-`func NewModule(id string, objectType string, display string, url string, naturalSlug string, moduleType BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Module`
+`func NewModule(objectType string, display string, url string, naturalSlug string, moduleType BulkWritableCableRequestStatus, status BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Module`
NewModule instantiates a new Module object
This constructor will assign default values to properties that have it defined,
@@ -61,6 +61,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *Module) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/ModuleBay.md b/docs/ModuleBay.md
index 8a5e0394..fcfba203 100644
--- a/docs/ModuleBay.md
+++ b/docs/ModuleBay.md
@@ -4,17 +4,19 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
**NaturalSlug** | **string** | | [readonly]
+**RequiresFirstPartyModules** | Pointer to **bool** | This bay will only accept modules from the same manufacturer as the parent device or module | [optional]
**Name** | **string** | |
**Position** | Pointer to **string** | The position of the module bay within the parent device/module | [optional]
**Label** | Pointer to **string** | Physical label | [optional]
**Description** | Pointer to **string** | | [optional]
**ParentDevice** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**ParentModule** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
+**ModuleFamily** | Pointer to [**NullableBulkWritableModuleBayRequestModuleFamily**](BulkWritableModuleBayRequestModuleFamily.md) | | [optional]
**Created** | **NullableTime** | | [readonly]
**LastUpdated** | **NullableTime** | | [readonly]
**NotesUrl** | **string** | | [readonly]
@@ -25,7 +27,7 @@ Name | Type | Description | Notes
### NewModuleBay
-`func NewModuleBay(id string, objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *ModuleBay`
+`func NewModuleBay(objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *ModuleBay`
NewModuleBay instantiates a new ModuleBay object
This constructor will assign default values to properties that have it defined,
@@ -59,6 +61,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *ModuleBay) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
@@ -140,6 +147,31 @@ and a boolean to check if the value has been set.
SetNaturalSlug sets NaturalSlug field to given value.
+### GetRequiresFirstPartyModules
+
+`func (o *ModuleBay) GetRequiresFirstPartyModules() bool`
+
+GetRequiresFirstPartyModules returns the RequiresFirstPartyModules field if non-nil, zero value otherwise.
+
+### GetRequiresFirstPartyModulesOk
+
+`func (o *ModuleBay) GetRequiresFirstPartyModulesOk() (*bool, bool)`
+
+GetRequiresFirstPartyModulesOk returns a tuple with the RequiresFirstPartyModules field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetRequiresFirstPartyModules
+
+`func (o *ModuleBay) SetRequiresFirstPartyModules(v bool)`
+
+SetRequiresFirstPartyModules sets RequiresFirstPartyModules field to given value.
+
+### HasRequiresFirstPartyModules
+
+`func (o *ModuleBay) HasRequiresFirstPartyModules() bool`
+
+HasRequiresFirstPartyModules returns a boolean if a field has been set.
+
### GetName
`func (o *ModuleBay) GetName() string`
@@ -305,6 +337,41 @@ HasParentModule returns a boolean if a field has been set.
`func (o *ModuleBay) UnsetParentModule()`
UnsetParentModule ensures that no value is present for ParentModule, not even an explicit nil
+### GetModuleFamily
+
+`func (o *ModuleBay) GetModuleFamily() BulkWritableModuleBayRequestModuleFamily`
+
+GetModuleFamily returns the ModuleFamily field if non-nil, zero value otherwise.
+
+### GetModuleFamilyOk
+
+`func (o *ModuleBay) GetModuleFamilyOk() (*BulkWritableModuleBayRequestModuleFamily, bool)`
+
+GetModuleFamilyOk returns a tuple with the ModuleFamily field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetModuleFamily
+
+`func (o *ModuleBay) SetModuleFamily(v BulkWritableModuleBayRequestModuleFamily)`
+
+SetModuleFamily sets ModuleFamily field to given value.
+
+### HasModuleFamily
+
+`func (o *ModuleBay) HasModuleFamily() bool`
+
+HasModuleFamily returns a boolean if a field has been set.
+
+### SetModuleFamilyNil
+
+`func (o *ModuleBay) SetModuleFamilyNil(b bool)`
+
+ SetModuleFamilyNil sets the value for ModuleFamily to be an explicit nil
+
+### UnsetModuleFamily
+`func (o *ModuleBay) UnsetModuleFamily()`
+
+UnsetModuleFamily ensures that no value is present for ModuleFamily, not even an explicit nil
### GetCreated
`func (o *ModuleBay) GetCreated() time.Time`
diff --git a/docs/ModuleBayRequest.md b/docs/ModuleBayRequest.md
index ca16c9f5..907d8b18 100644
--- a/docs/ModuleBayRequest.md
+++ b/docs/ModuleBayRequest.md
@@ -4,12 +4,15 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
+**RequiresFirstPartyModules** | Pointer to **bool** | This bay will only accept modules from the same manufacturer as the parent device or module | [optional]
**Name** | **string** | |
**Position** | Pointer to **string** | The position of the module bay within the parent device/module | [optional]
**Label** | Pointer to **string** | Physical label | [optional]
**Description** | Pointer to **string** | | [optional]
**ParentDevice** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**ParentModule** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
+**ModuleFamily** | Pointer to [**NullableBulkWritableModuleBayRequestModuleFamily**](BulkWritableModuleBayRequestModuleFamily.md) | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
@@ -33,6 +36,56 @@ NewModuleBayRequestWithDefaults instantiates a new ModuleBayRequest object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *ModuleBayRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *ModuleBayRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *ModuleBayRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *ModuleBayRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
+### GetRequiresFirstPartyModules
+
+`func (o *ModuleBayRequest) GetRequiresFirstPartyModules() bool`
+
+GetRequiresFirstPartyModules returns the RequiresFirstPartyModules field if non-nil, zero value otherwise.
+
+### GetRequiresFirstPartyModulesOk
+
+`func (o *ModuleBayRequest) GetRequiresFirstPartyModulesOk() (*bool, bool)`
+
+GetRequiresFirstPartyModulesOk returns a tuple with the RequiresFirstPartyModules field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetRequiresFirstPartyModules
+
+`func (o *ModuleBayRequest) SetRequiresFirstPartyModules(v bool)`
+
+SetRequiresFirstPartyModules sets RequiresFirstPartyModules field to given value.
+
+### HasRequiresFirstPartyModules
+
+`func (o *ModuleBayRequest) HasRequiresFirstPartyModules() bool`
+
+HasRequiresFirstPartyModules returns a boolean if a field has been set.
+
### GetName
`func (o *ModuleBayRequest) GetName() string`
@@ -198,6 +251,41 @@ HasParentModule returns a boolean if a field has been set.
`func (o *ModuleBayRequest) UnsetParentModule()`
UnsetParentModule ensures that no value is present for ParentModule, not even an explicit nil
+### GetModuleFamily
+
+`func (o *ModuleBayRequest) GetModuleFamily() BulkWritableModuleBayRequestModuleFamily`
+
+GetModuleFamily returns the ModuleFamily field if non-nil, zero value otherwise.
+
+### GetModuleFamilyOk
+
+`func (o *ModuleBayRequest) GetModuleFamilyOk() (*BulkWritableModuleBayRequestModuleFamily, bool)`
+
+GetModuleFamilyOk returns a tuple with the ModuleFamily field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetModuleFamily
+
+`func (o *ModuleBayRequest) SetModuleFamily(v BulkWritableModuleBayRequestModuleFamily)`
+
+SetModuleFamily sets ModuleFamily field to given value.
+
+### HasModuleFamily
+
+`func (o *ModuleBayRequest) HasModuleFamily() bool`
+
+HasModuleFamily returns a boolean if a field has been set.
+
+### SetModuleFamilyNil
+
+`func (o *ModuleBayRequest) SetModuleFamilyNil(b bool)`
+
+ SetModuleFamilyNil sets the value for ModuleFamily to be an explicit nil
+
+### UnsetModuleFamily
+`func (o *ModuleBayRequest) UnsetModuleFamily()`
+
+UnsetModuleFamily ensures that no value is present for ModuleFamily, not even an explicit nil
### GetCustomFields
`func (o *ModuleBayRequest) GetCustomFields() map[string]interface{}`
diff --git a/docs/ModuleBayTemplate.md b/docs/ModuleBayTemplate.md
index 941cc1ef..1e983942 100644
--- a/docs/ModuleBayTemplate.md
+++ b/docs/ModuleBayTemplate.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -14,8 +14,10 @@ Name | Type | Description | Notes
**Position** | Pointer to **string** | The position of the module bay within the device or module | [optional]
**Label** | Pointer to **string** | Physical label | [optional]
**Description** | Pointer to **string** | | [optional]
+**RequiresFirstPartyModules** | Pointer to **bool** | This bay will only accept modules from the same manufacturer as the parent device or module | [optional]
**DeviceType** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**ModuleType** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
+**ModuleFamily** | Pointer to [**NullableBulkWritableModuleBayTemplateRequestModuleFamily**](BulkWritableModuleBayTemplateRequestModuleFamily.md) | | [optional]
**Created** | **NullableTime** | | [readonly]
**LastUpdated** | **NullableTime** | | [readonly]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
@@ -24,7 +26,7 @@ Name | Type | Description | Notes
### NewModuleBayTemplate
-`func NewModuleBayTemplate(id string, objectType string, display string, url string, naturalSlug string, notesUrl string, name string, created NullableTime, lastUpdated NullableTime, ) *ModuleBayTemplate`
+`func NewModuleBayTemplate(objectType string, display string, url string, naturalSlug string, notesUrl string, name string, created NullableTime, lastUpdated NullableTime, ) *ModuleBayTemplate`
NewModuleBayTemplate instantiates a new ModuleBayTemplate object
This constructor will assign default values to properties that have it defined,
@@ -58,6 +60,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *ModuleBayTemplate) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
@@ -254,6 +261,31 @@ SetDescription sets Description field to given value.
HasDescription returns a boolean if a field has been set.
+### GetRequiresFirstPartyModules
+
+`func (o *ModuleBayTemplate) GetRequiresFirstPartyModules() bool`
+
+GetRequiresFirstPartyModules returns the RequiresFirstPartyModules field if non-nil, zero value otherwise.
+
+### GetRequiresFirstPartyModulesOk
+
+`func (o *ModuleBayTemplate) GetRequiresFirstPartyModulesOk() (*bool, bool)`
+
+GetRequiresFirstPartyModulesOk returns a tuple with the RequiresFirstPartyModules field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetRequiresFirstPartyModules
+
+`func (o *ModuleBayTemplate) SetRequiresFirstPartyModules(v bool)`
+
+SetRequiresFirstPartyModules sets RequiresFirstPartyModules field to given value.
+
+### HasRequiresFirstPartyModules
+
+`func (o *ModuleBayTemplate) HasRequiresFirstPartyModules() bool`
+
+HasRequiresFirstPartyModules returns a boolean if a field has been set.
+
### GetDeviceType
`func (o *ModuleBayTemplate) GetDeviceType() BulkWritableCircuitRequestTenant`
@@ -324,6 +356,41 @@ HasModuleType returns a boolean if a field has been set.
`func (o *ModuleBayTemplate) UnsetModuleType()`
UnsetModuleType ensures that no value is present for ModuleType, not even an explicit nil
+### GetModuleFamily
+
+`func (o *ModuleBayTemplate) GetModuleFamily() BulkWritableModuleBayTemplateRequestModuleFamily`
+
+GetModuleFamily returns the ModuleFamily field if non-nil, zero value otherwise.
+
+### GetModuleFamilyOk
+
+`func (o *ModuleBayTemplate) GetModuleFamilyOk() (*BulkWritableModuleBayTemplateRequestModuleFamily, bool)`
+
+GetModuleFamilyOk returns a tuple with the ModuleFamily field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetModuleFamily
+
+`func (o *ModuleBayTemplate) SetModuleFamily(v BulkWritableModuleBayTemplateRequestModuleFamily)`
+
+SetModuleFamily sets ModuleFamily field to given value.
+
+### HasModuleFamily
+
+`func (o *ModuleBayTemplate) HasModuleFamily() bool`
+
+HasModuleFamily returns a boolean if a field has been set.
+
+### SetModuleFamilyNil
+
+`func (o *ModuleBayTemplate) SetModuleFamilyNil(b bool)`
+
+ SetModuleFamilyNil sets the value for ModuleFamily to be an explicit nil
+
+### UnsetModuleFamily
+`func (o *ModuleBayTemplate) UnsetModuleFamily()`
+
+UnsetModuleFamily ensures that no value is present for ModuleFamily, not even an explicit nil
### GetCreated
`func (o *ModuleBayTemplate) GetCreated() time.Time`
diff --git a/docs/ModuleBayTemplateRequest.md b/docs/ModuleBayTemplateRequest.md
index 5116e3e7..fbe37209 100644
--- a/docs/ModuleBayTemplateRequest.md
+++ b/docs/ModuleBayTemplateRequest.md
@@ -4,12 +4,15 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**Name** | **string** | |
**Position** | Pointer to **string** | The position of the module bay within the device or module | [optional]
**Label** | Pointer to **string** | Physical label | [optional]
**Description** | Pointer to **string** | | [optional]
+**RequiresFirstPartyModules** | Pointer to **bool** | This bay will only accept modules from the same manufacturer as the parent device or module | [optional]
**DeviceType** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**ModuleType** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
+**ModuleFamily** | Pointer to [**NullableBulkWritableModuleBayTemplateRequestModuleFamily**](BulkWritableModuleBayTemplateRequestModuleFamily.md) | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
@@ -32,6 +35,31 @@ NewModuleBayTemplateRequestWithDefaults instantiates a new ModuleBayTemplateRequ
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *ModuleBayTemplateRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *ModuleBayTemplateRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *ModuleBayTemplateRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *ModuleBayTemplateRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetName
`func (o *ModuleBayTemplateRequest) GetName() string`
@@ -127,6 +155,31 @@ SetDescription sets Description field to given value.
HasDescription returns a boolean if a field has been set.
+### GetRequiresFirstPartyModules
+
+`func (o *ModuleBayTemplateRequest) GetRequiresFirstPartyModules() bool`
+
+GetRequiresFirstPartyModules returns the RequiresFirstPartyModules field if non-nil, zero value otherwise.
+
+### GetRequiresFirstPartyModulesOk
+
+`func (o *ModuleBayTemplateRequest) GetRequiresFirstPartyModulesOk() (*bool, bool)`
+
+GetRequiresFirstPartyModulesOk returns a tuple with the RequiresFirstPartyModules field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetRequiresFirstPartyModules
+
+`func (o *ModuleBayTemplateRequest) SetRequiresFirstPartyModules(v bool)`
+
+SetRequiresFirstPartyModules sets RequiresFirstPartyModules field to given value.
+
+### HasRequiresFirstPartyModules
+
+`func (o *ModuleBayTemplateRequest) HasRequiresFirstPartyModules() bool`
+
+HasRequiresFirstPartyModules returns a boolean if a field has been set.
+
### GetDeviceType
`func (o *ModuleBayTemplateRequest) GetDeviceType() BulkWritableCircuitRequestTenant`
@@ -197,6 +250,41 @@ HasModuleType returns a boolean if a field has been set.
`func (o *ModuleBayTemplateRequest) UnsetModuleType()`
UnsetModuleType ensures that no value is present for ModuleType, not even an explicit nil
+### GetModuleFamily
+
+`func (o *ModuleBayTemplateRequest) GetModuleFamily() BulkWritableModuleBayTemplateRequestModuleFamily`
+
+GetModuleFamily returns the ModuleFamily field if non-nil, zero value otherwise.
+
+### GetModuleFamilyOk
+
+`func (o *ModuleBayTemplateRequest) GetModuleFamilyOk() (*BulkWritableModuleBayTemplateRequestModuleFamily, bool)`
+
+GetModuleFamilyOk returns a tuple with the ModuleFamily field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetModuleFamily
+
+`func (o *ModuleBayTemplateRequest) SetModuleFamily(v BulkWritableModuleBayTemplateRequestModuleFamily)`
+
+SetModuleFamily sets ModuleFamily field to given value.
+
+### HasModuleFamily
+
+`func (o *ModuleBayTemplateRequest) HasModuleFamily() bool`
+
+HasModuleFamily returns a boolean if a field has been set.
+
+### SetModuleFamilyNil
+
+`func (o *ModuleBayTemplateRequest) SetModuleFamilyNil(b bool)`
+
+ SetModuleFamilyNil sets the value for ModuleFamily to be an explicit nil
+
+### UnsetModuleFamily
+`func (o *ModuleBayTemplateRequest) UnsetModuleFamily()`
+
+UnsetModuleFamily ensures that no value is present for ModuleFamily, not even an explicit nil
### GetCustomFields
`func (o *ModuleBayTemplateRequest) GetCustomFields() map[string]interface{}`
diff --git a/docs/ModuleFamily.md b/docs/ModuleFamily.md
new file mode 100644
index 00000000..b4b5a868
--- /dev/null
+++ b/docs/ModuleFamily.md
@@ -0,0 +1,348 @@
+# ModuleFamily
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
+**ObjectType** | **string** | | [readonly]
+**Display** | **string** | Human friendly display value | [readonly]
+**Url** | **string** | | [readonly]
+**NaturalSlug** | **string** | | [readonly]
+**ModuleTypeCount** | Pointer to **int32** | | [optional] [readonly]
+**ModuleBayCount** | Pointer to **int32** | | [optional] [readonly]
+**Name** | **string** | |
+**Description** | Pointer to **string** | | [optional]
+**Created** | **NullableTime** | | [readonly]
+**LastUpdated** | **NullableTime** | | [readonly]
+**NotesUrl** | **string** | | [readonly]
+**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
+
+## Methods
+
+### NewModuleFamily
+
+`func NewModuleFamily(objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *ModuleFamily`
+
+NewModuleFamily instantiates a new ModuleFamily object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewModuleFamilyWithDefaults
+
+`func NewModuleFamilyWithDefaults() *ModuleFamily`
+
+NewModuleFamilyWithDefaults instantiates a new ModuleFamily object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *ModuleFamily) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *ModuleFamily) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *ModuleFamily) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *ModuleFamily) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
+### GetObjectType
+
+`func (o *ModuleFamily) GetObjectType() string`
+
+GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
+
+### GetObjectTypeOk
+
+`func (o *ModuleFamily) GetObjectTypeOk() (*string, bool)`
+
+GetObjectTypeOk returns a tuple with the ObjectType field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetObjectType
+
+`func (o *ModuleFamily) SetObjectType(v string)`
+
+SetObjectType sets ObjectType field to given value.
+
+
+### GetDisplay
+
+`func (o *ModuleFamily) GetDisplay() string`
+
+GetDisplay returns the Display field if non-nil, zero value otherwise.
+
+### GetDisplayOk
+
+`func (o *ModuleFamily) GetDisplayOk() (*string, bool)`
+
+GetDisplayOk returns a tuple with the Display field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDisplay
+
+`func (o *ModuleFamily) SetDisplay(v string)`
+
+SetDisplay sets Display field to given value.
+
+
+### GetUrl
+
+`func (o *ModuleFamily) GetUrl() string`
+
+GetUrl returns the Url field if non-nil, zero value otherwise.
+
+### GetUrlOk
+
+`func (o *ModuleFamily) GetUrlOk() (*string, bool)`
+
+GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetUrl
+
+`func (o *ModuleFamily) SetUrl(v string)`
+
+SetUrl sets Url field to given value.
+
+
+### GetNaturalSlug
+
+`func (o *ModuleFamily) GetNaturalSlug() string`
+
+GetNaturalSlug returns the NaturalSlug field if non-nil, zero value otherwise.
+
+### GetNaturalSlugOk
+
+`func (o *ModuleFamily) GetNaturalSlugOk() (*string, bool)`
+
+GetNaturalSlugOk returns a tuple with the NaturalSlug field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetNaturalSlug
+
+`func (o *ModuleFamily) SetNaturalSlug(v string)`
+
+SetNaturalSlug sets NaturalSlug field to given value.
+
+
+### GetModuleTypeCount
+
+`func (o *ModuleFamily) GetModuleTypeCount() int32`
+
+GetModuleTypeCount returns the ModuleTypeCount field if non-nil, zero value otherwise.
+
+### GetModuleTypeCountOk
+
+`func (o *ModuleFamily) GetModuleTypeCountOk() (*int32, bool)`
+
+GetModuleTypeCountOk returns a tuple with the ModuleTypeCount field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetModuleTypeCount
+
+`func (o *ModuleFamily) SetModuleTypeCount(v int32)`
+
+SetModuleTypeCount sets ModuleTypeCount field to given value.
+
+### HasModuleTypeCount
+
+`func (o *ModuleFamily) HasModuleTypeCount() bool`
+
+HasModuleTypeCount returns a boolean if a field has been set.
+
+### GetModuleBayCount
+
+`func (o *ModuleFamily) GetModuleBayCount() int32`
+
+GetModuleBayCount returns the ModuleBayCount field if non-nil, zero value otherwise.
+
+### GetModuleBayCountOk
+
+`func (o *ModuleFamily) GetModuleBayCountOk() (*int32, bool)`
+
+GetModuleBayCountOk returns a tuple with the ModuleBayCount field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetModuleBayCount
+
+`func (o *ModuleFamily) SetModuleBayCount(v int32)`
+
+SetModuleBayCount sets ModuleBayCount field to given value.
+
+### HasModuleBayCount
+
+`func (o *ModuleFamily) HasModuleBayCount() bool`
+
+HasModuleBayCount returns a boolean if a field has been set.
+
+### GetName
+
+`func (o *ModuleFamily) GetName() string`
+
+GetName returns the Name field if non-nil, zero value otherwise.
+
+### GetNameOk
+
+`func (o *ModuleFamily) GetNameOk() (*string, bool)`
+
+GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetName
+
+`func (o *ModuleFamily) SetName(v string)`
+
+SetName sets Name field to given value.
+
+
+### GetDescription
+
+`func (o *ModuleFamily) GetDescription() string`
+
+GetDescription returns the Description field if non-nil, zero value otherwise.
+
+### GetDescriptionOk
+
+`func (o *ModuleFamily) GetDescriptionOk() (*string, bool)`
+
+GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDescription
+
+`func (o *ModuleFamily) SetDescription(v string)`
+
+SetDescription sets Description field to given value.
+
+### HasDescription
+
+`func (o *ModuleFamily) HasDescription() bool`
+
+HasDescription returns a boolean if a field has been set.
+
+### GetCreated
+
+`func (o *ModuleFamily) GetCreated() time.Time`
+
+GetCreated returns the Created field if non-nil, zero value otherwise.
+
+### GetCreatedOk
+
+`func (o *ModuleFamily) GetCreatedOk() (*time.Time, bool)`
+
+GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCreated
+
+`func (o *ModuleFamily) SetCreated(v time.Time)`
+
+SetCreated sets Created field to given value.
+
+
+### SetCreatedNil
+
+`func (o *ModuleFamily) SetCreatedNil(b bool)`
+
+ SetCreatedNil sets the value for Created to be an explicit nil
+
+### UnsetCreated
+`func (o *ModuleFamily) UnsetCreated()`
+
+UnsetCreated ensures that no value is present for Created, not even an explicit nil
+### GetLastUpdated
+
+`func (o *ModuleFamily) GetLastUpdated() time.Time`
+
+GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise.
+
+### GetLastUpdatedOk
+
+`func (o *ModuleFamily) GetLastUpdatedOk() (*time.Time, bool)`
+
+GetLastUpdatedOk returns a tuple with the LastUpdated field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetLastUpdated
+
+`func (o *ModuleFamily) SetLastUpdated(v time.Time)`
+
+SetLastUpdated sets LastUpdated field to given value.
+
+
+### SetLastUpdatedNil
+
+`func (o *ModuleFamily) SetLastUpdatedNil(b bool)`
+
+ SetLastUpdatedNil sets the value for LastUpdated to be an explicit nil
+
+### UnsetLastUpdated
+`func (o *ModuleFamily) UnsetLastUpdated()`
+
+UnsetLastUpdated ensures that no value is present for LastUpdated, not even an explicit nil
+### GetNotesUrl
+
+`func (o *ModuleFamily) GetNotesUrl() string`
+
+GetNotesUrl returns the NotesUrl field if non-nil, zero value otherwise.
+
+### GetNotesUrlOk
+
+`func (o *ModuleFamily) GetNotesUrlOk() (*string, bool)`
+
+GetNotesUrlOk returns a tuple with the NotesUrl field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetNotesUrl
+
+`func (o *ModuleFamily) SetNotesUrl(v string)`
+
+SetNotesUrl sets NotesUrl field to given value.
+
+
+### GetCustomFields
+
+`func (o *ModuleFamily) GetCustomFields() map[string]interface{}`
+
+GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
+
+### GetCustomFieldsOk
+
+`func (o *ModuleFamily) GetCustomFieldsOk() (*map[string]interface{}, bool)`
+
+GetCustomFieldsOk returns a tuple with the CustomFields field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCustomFields
+
+`func (o *ModuleFamily) SetCustomFields(v map[string]interface{})`
+
+SetCustomFields sets CustomFields field to given value.
+
+### HasCustomFields
+
+`func (o *ModuleFamily) HasCustomFields() bool`
+
+HasCustomFields returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/ModuleFamilyRequest.md b/docs/ModuleFamilyRequest.md
new file mode 100644
index 00000000..a23e485c
--- /dev/null
+++ b/docs/ModuleFamilyRequest.md
@@ -0,0 +1,155 @@
+# ModuleFamilyRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
+**Name** | **string** | |
+**Description** | Pointer to **string** | | [optional]
+**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
+**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
+
+## Methods
+
+### NewModuleFamilyRequest
+
+`func NewModuleFamilyRequest(name string, ) *ModuleFamilyRequest`
+
+NewModuleFamilyRequest instantiates a new ModuleFamilyRequest object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewModuleFamilyRequestWithDefaults
+
+`func NewModuleFamilyRequestWithDefaults() *ModuleFamilyRequest`
+
+NewModuleFamilyRequestWithDefaults instantiates a new ModuleFamilyRequest object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *ModuleFamilyRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *ModuleFamilyRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *ModuleFamilyRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *ModuleFamilyRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
+### GetName
+
+`func (o *ModuleFamilyRequest) GetName() string`
+
+GetName returns the Name field if non-nil, zero value otherwise.
+
+### GetNameOk
+
+`func (o *ModuleFamilyRequest) GetNameOk() (*string, bool)`
+
+GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetName
+
+`func (o *ModuleFamilyRequest) SetName(v string)`
+
+SetName sets Name field to given value.
+
+
+### GetDescription
+
+`func (o *ModuleFamilyRequest) GetDescription() string`
+
+GetDescription returns the Description field if non-nil, zero value otherwise.
+
+### GetDescriptionOk
+
+`func (o *ModuleFamilyRequest) GetDescriptionOk() (*string, bool)`
+
+GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDescription
+
+`func (o *ModuleFamilyRequest) SetDescription(v string)`
+
+SetDescription sets Description field to given value.
+
+### HasDescription
+
+`func (o *ModuleFamilyRequest) HasDescription() bool`
+
+HasDescription returns a boolean if a field has been set.
+
+### GetCustomFields
+
+`func (o *ModuleFamilyRequest) GetCustomFields() map[string]interface{}`
+
+GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
+
+### GetCustomFieldsOk
+
+`func (o *ModuleFamilyRequest) GetCustomFieldsOk() (*map[string]interface{}, bool)`
+
+GetCustomFieldsOk returns a tuple with the CustomFields field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCustomFields
+
+`func (o *ModuleFamilyRequest) SetCustomFields(v map[string]interface{})`
+
+SetCustomFields sets CustomFields field to given value.
+
+### HasCustomFields
+
+`func (o *ModuleFamilyRequest) HasCustomFields() bool`
+
+HasCustomFields returns a boolean if a field has been set.
+
+### GetRelationships
+
+`func (o *ModuleFamilyRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue`
+
+GetRelationships returns the Relationships field if non-nil, zero value otherwise.
+
+### GetRelationshipsOk
+
+`func (o *ModuleFamilyRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool)`
+
+GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetRelationships
+
+`func (o *ModuleFamilyRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue)`
+
+SetRelationships sets Relationships field to given value.
+
+### HasRelationships
+
+`func (o *ModuleFamilyRequest) HasRelationships() bool`
+
+HasRelationships returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/ModuleRequest.md b/docs/ModuleRequest.md
index fa11a81f..40f5414e 100644
--- a/docs/ModuleRequest.md
+++ b/docs/ModuleRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**Serial** | Pointer to **NullableString** | | [optional]
**AssetTag** | Pointer to **NullableString** | A unique tag used to identify this module | [optional]
**ModuleType** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
@@ -35,6 +36,31 @@ NewModuleRequestWithDefaults instantiates a new ModuleRequest object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *ModuleRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *ModuleRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *ModuleRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *ModuleRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetSerial
`func (o *ModuleRequest) GetSerial() string`
diff --git a/docs/ModuleType.md b/docs/ModuleType.md
index 559e72be..fddc2bb7 100644
--- a/docs/ModuleType.md
+++ b/docs/ModuleType.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
**PartNumber** | Pointer to **string** | Discrete part number (optional) | [optional]
**Comments** | Pointer to **string** | | [optional]
**Manufacturer** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+**ModuleFamily** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**Created** | **NullableTime** | | [readonly]
**LastUpdated** | **NullableTime** | | [readonly]
**NotesUrl** | **string** | | [readonly]
@@ -23,7 +24,7 @@ Name | Type | Description | Notes
### NewModuleType
-`func NewModuleType(id string, objectType string, display string, url string, naturalSlug string, model string, manufacturer BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *ModuleType`
+`func NewModuleType(objectType string, display string, url string, naturalSlug string, model string, manufacturer BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *ModuleType`
NewModuleType instantiates a new ModuleType object
This constructor will assign default values to properties that have it defined,
@@ -57,6 +58,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *ModuleType) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
@@ -228,6 +234,41 @@ and a boolean to check if the value has been set.
SetManufacturer sets Manufacturer field to given value.
+### GetModuleFamily
+
+`func (o *ModuleType) GetModuleFamily() BulkWritableCircuitRequestTenant`
+
+GetModuleFamily returns the ModuleFamily field if non-nil, zero value otherwise.
+
+### GetModuleFamilyOk
+
+`func (o *ModuleType) GetModuleFamilyOk() (*BulkWritableCircuitRequestTenant, bool)`
+
+GetModuleFamilyOk returns a tuple with the ModuleFamily field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetModuleFamily
+
+`func (o *ModuleType) SetModuleFamily(v BulkWritableCircuitRequestTenant)`
+
+SetModuleFamily sets ModuleFamily field to given value.
+
+### HasModuleFamily
+
+`func (o *ModuleType) HasModuleFamily() bool`
+
+HasModuleFamily returns a boolean if a field has been set.
+
+### SetModuleFamilyNil
+
+`func (o *ModuleType) SetModuleFamilyNil(b bool)`
+
+ SetModuleFamilyNil sets the value for ModuleFamily to be an explicit nil
+
+### UnsetModuleFamily
+`func (o *ModuleType) UnsetModuleFamily()`
+
+UnsetModuleFamily ensures that no value is present for ModuleFamily, not even an explicit nil
### GetCreated
`func (o *ModuleType) GetCreated() time.Time`
diff --git a/docs/ModuleTypeRequest.md b/docs/ModuleTypeRequest.md
index 81aa13a0..d2173d8b 100644
--- a/docs/ModuleTypeRequest.md
+++ b/docs/ModuleTypeRequest.md
@@ -4,10 +4,12 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**Model** | **string** | |
**PartNumber** | Pointer to **string** | Discrete part number (optional) | [optional]
**Comments** | Pointer to **string** | | [optional]
**Manufacturer** | [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | |
+**ModuleFamily** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
@@ -31,6 +33,31 @@ NewModuleTypeRequestWithDefaults instantiates a new ModuleTypeRequest object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *ModuleTypeRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *ModuleTypeRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *ModuleTypeRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *ModuleTypeRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetModel
`func (o *ModuleTypeRequest) GetModel() string`
@@ -121,6 +148,41 @@ and a boolean to check if the value has been set.
SetManufacturer sets Manufacturer field to given value.
+### GetModuleFamily
+
+`func (o *ModuleTypeRequest) GetModuleFamily() BulkWritableCircuitRequestTenant`
+
+GetModuleFamily returns the ModuleFamily field if non-nil, zero value otherwise.
+
+### GetModuleFamilyOk
+
+`func (o *ModuleTypeRequest) GetModuleFamilyOk() (*BulkWritableCircuitRequestTenant, bool)`
+
+GetModuleFamilyOk returns a tuple with the ModuleFamily field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetModuleFamily
+
+`func (o *ModuleTypeRequest) SetModuleFamily(v BulkWritableCircuitRequestTenant)`
+
+SetModuleFamily sets ModuleFamily field to given value.
+
+### HasModuleFamily
+
+`func (o *ModuleTypeRequest) HasModuleFamily() bool`
+
+HasModuleFamily returns a boolean if a field has been set.
+
+### SetModuleFamilyNil
+
+`func (o *ModuleTypeRequest) SetModuleFamilyNil(b bool)`
+
+ SetModuleFamilyNil sets the value for ModuleFamily to be an explicit nil
+
+### UnsetModuleFamily
+`func (o *ModuleTypeRequest) UnsetModuleFamily()`
+
+UnsetModuleFamily ensures that no value is present for ModuleFamily, not even an explicit nil
### GetCustomFields
`func (o *ModuleTypeRequest) GetCustomFields() map[string]interface{}`
diff --git a/docs/Namespace.md b/docs/Namespace.md
index b1270f3a..5b4b50e9 100644
--- a/docs/Namespace.md
+++ b/docs/Namespace.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -22,7 +22,7 @@ Name | Type | Description | Notes
### NewNamespace
-`func NewNamespace(id string, objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Namespace`
+`func NewNamespace(objectType string, display string, url string, naturalSlug string, name string, created NullableTime, lastUpdated NullableTime, notesUrl string, ) *Namespace`
NewNamespace instantiates a new Namespace object
This constructor will assign default values to properties that have it defined,
@@ -56,6 +56,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *Namespace) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NamespaceRequest.md b/docs/NamespaceRequest.md
index e60a71a2..949a20aa 100644
--- a/docs/NamespaceRequest.md
+++ b/docs/NamespaceRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**Name** | **string** | |
**Description** | Pointer to **string** | | [optional]
**Location** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
@@ -30,6 +31,31 @@ NewNamespaceRequestWithDefaults instantiates a new NamespaceRequest object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *NamespaceRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *NamespaceRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *NamespaceRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *NamespaceRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetName
`func (o *NamespaceRequest) GetName() string`
diff --git a/docs/NestedCable.md b/docs/NestedCable.md
index 1508e7e9..52b8066a 100644
--- a/docs/NestedCable.md
+++ b/docs/NestedCable.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedCable
-`func NewNestedCable(id string, objectType string, url string, ) *NestedCable`
+`func NewNestedCable(objectType string, url string, ) *NestedCable`
NewNestedCable instantiates a new NestedCable object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedCable) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedCircuit.md b/docs/NestedCircuit.md
index 889033c1..55766bee 100644
--- a/docs/NestedCircuit.md
+++ b/docs/NestedCircuit.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedCircuit
-`func NewNestedCircuit(id string, objectType string, url string, ) *NestedCircuit`
+`func NewNestedCircuit(objectType string, url string, ) *NestedCircuit`
NewNestedCircuit instantiates a new NestedCircuit object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedCircuit) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedCircuitTermination.md b/docs/NestedCircuitTermination.md
index ec272126..496ceaf8 100644
--- a/docs/NestedCircuitTermination.md
+++ b/docs/NestedCircuitTermination.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedCircuitTermination
-`func NewNestedCircuitTermination(id string, objectType string, url string, ) *NestedCircuitTermination`
+`func NewNestedCircuitTermination(objectType string, url string, ) *NestedCircuitTermination`
NewNestedCircuitTermination instantiates a new NestedCircuitTermination object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedCircuitTermination) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedCircuitType.md b/docs/NestedCircuitType.md
index a7994c6a..707d47f3 100644
--- a/docs/NestedCircuitType.md
+++ b/docs/NestedCircuitType.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedCircuitType
-`func NewNestedCircuitType(id string, objectType string, url string, ) *NestedCircuitType`
+`func NewNestedCircuitType(objectType string, url string, ) *NestedCircuitType`
NewNestedCircuitType instantiates a new NestedCircuitType object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedCircuitType) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedCloudAccount.md b/docs/NestedCloudAccount.md
index 926b1252..2de7f6be 100644
--- a/docs/NestedCloudAccount.md
+++ b/docs/NestedCloudAccount.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedCloudAccount
-`func NewNestedCloudAccount(id string, objectType string, url string, ) *NestedCloudAccount`
+`func NewNestedCloudAccount(objectType string, url string, ) *NestedCloudAccount`
NewNestedCloudAccount instantiates a new NestedCloudAccount object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedCloudAccount) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedCloudNetwork.md b/docs/NestedCloudNetwork.md
index 0c18c7f7..b1e8b811 100644
--- a/docs/NestedCloudNetwork.md
+++ b/docs/NestedCloudNetwork.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedCloudNetwork
-`func NewNestedCloudNetwork(id string, objectType string, url string, ) *NestedCloudNetwork`
+`func NewNestedCloudNetwork(objectType string, url string, ) *NestedCloudNetwork`
NewNestedCloudNetwork instantiates a new NestedCloudNetwork object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedCloudNetwork) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedCloudResourceType.md b/docs/NestedCloudResourceType.md
index 72578472..b2b7ccdf 100644
--- a/docs/NestedCloudResourceType.md
+++ b/docs/NestedCloudResourceType.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedCloudResourceType
-`func NewNestedCloudResourceType(id string, objectType string, url string, ) *NestedCloudResourceType`
+`func NewNestedCloudResourceType(objectType string, url string, ) *NestedCloudResourceType`
NewNestedCloudResourceType instantiates a new NestedCloudResourceType object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedCloudResourceType) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedCloudService.md b/docs/NestedCloudService.md
index a2542393..75e00ba1 100644
--- a/docs/NestedCloudService.md
+++ b/docs/NestedCloudService.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedCloudService
-`func NewNestedCloudService(id string, objectType string, url string, ) *NestedCloudService`
+`func NewNestedCloudService(objectType string, url string, ) *NestedCloudService`
NewNestedCloudService instantiates a new NestedCloudService object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedCloudService) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedCluster.md b/docs/NestedCluster.md
index 4884cdd1..e41c547a 100644
--- a/docs/NestedCluster.md
+++ b/docs/NestedCluster.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedCluster
-`func NewNestedCluster(id string, objectType string, url string, ) *NestedCluster`
+`func NewNestedCluster(objectType string, url string, ) *NestedCluster`
NewNestedCluster instantiates a new NestedCluster object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedCluster) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedClusterGroup.md b/docs/NestedClusterGroup.md
index 8c79d603..79858cd4 100644
--- a/docs/NestedClusterGroup.md
+++ b/docs/NestedClusterGroup.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedClusterGroup
-`func NewNestedClusterGroup(id string, objectType string, url string, ) *NestedClusterGroup`
+`func NewNestedClusterGroup(objectType string, url string, ) *NestedClusterGroup`
NewNestedClusterGroup instantiates a new NestedClusterGroup object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedClusterGroup) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedClusterType.md b/docs/NestedClusterType.md
index 7a401926..a1e119d4 100644
--- a/docs/NestedClusterType.md
+++ b/docs/NestedClusterType.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedClusterType
-`func NewNestedClusterType(id string, objectType string, url string, ) *NestedClusterType`
+`func NewNestedClusterType(objectType string, url string, ) *NestedClusterType`
NewNestedClusterType instantiates a new NestedClusterType object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedClusterType) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedComputedField.md b/docs/NestedComputedField.md
index 40787b72..df6aa1ca 100644
--- a/docs/NestedComputedField.md
+++ b/docs/NestedComputedField.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedComputedField
-`func NewNestedComputedField(id string, objectType string, url string, ) *NestedComputedField`
+`func NewNestedComputedField(objectType string, url string, ) *NestedComputedField`
NewNestedComputedField instantiates a new NestedComputedField object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedComputedField) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedConfigContext.md b/docs/NestedConfigContext.md
index 5f0af9f5..3b00c3ab 100644
--- a/docs/NestedConfigContext.md
+++ b/docs/NestedConfigContext.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedConfigContext
-`func NewNestedConfigContext(id string, objectType string, url string, ) *NestedConfigContext`
+`func NewNestedConfigContext(objectType string, url string, ) *NestedConfigContext`
NewNestedConfigContext instantiates a new NestedConfigContext object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedConfigContext) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedConfigContextSchema.md b/docs/NestedConfigContextSchema.md
index b558a79e..a3522371 100644
--- a/docs/NestedConfigContextSchema.md
+++ b/docs/NestedConfigContextSchema.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedConfigContextSchema
-`func NewNestedConfigContextSchema(id string, objectType string, url string, ) *NestedConfigContextSchema`
+`func NewNestedConfigContextSchema(objectType string, url string, ) *NestedConfigContextSchema`
NewNestedConfigContextSchema instantiates a new NestedConfigContextSchema object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedConfigContextSchema) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedConsolePort.md b/docs/NestedConsolePort.md
index cfb5a593..3c9fa8ee 100644
--- a/docs/NestedConsolePort.md
+++ b/docs/NestedConsolePort.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedConsolePort
-`func NewNestedConsolePort(id string, objectType string, url string, ) *NestedConsolePort`
+`func NewNestedConsolePort(objectType string, url string, ) *NestedConsolePort`
NewNestedConsolePort instantiates a new NestedConsolePort object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedConsolePort) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedConsolePortTemplate.md b/docs/NestedConsolePortTemplate.md
index 3a36b9a1..030a48df 100644
--- a/docs/NestedConsolePortTemplate.md
+++ b/docs/NestedConsolePortTemplate.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedConsolePortTemplate
-`func NewNestedConsolePortTemplate(id string, objectType string, url string, ) *NestedConsolePortTemplate`
+`func NewNestedConsolePortTemplate(objectType string, url string, ) *NestedConsolePortTemplate`
NewNestedConsolePortTemplate instantiates a new NestedConsolePortTemplate object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedConsolePortTemplate) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedConsoleServerPort.md b/docs/NestedConsoleServerPort.md
index 00e10653..0184e9a1 100644
--- a/docs/NestedConsoleServerPort.md
+++ b/docs/NestedConsoleServerPort.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedConsoleServerPort
-`func NewNestedConsoleServerPort(id string, objectType string, url string, ) *NestedConsoleServerPort`
+`func NewNestedConsoleServerPort(objectType string, url string, ) *NestedConsoleServerPort`
NewNestedConsoleServerPort instantiates a new NestedConsoleServerPort object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedConsoleServerPort) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedConsoleServerPortTemplate.md b/docs/NestedConsoleServerPortTemplate.md
index ee773b8b..46a3b062 100644
--- a/docs/NestedConsoleServerPortTemplate.md
+++ b/docs/NestedConsoleServerPortTemplate.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedConsoleServerPortTemplate
-`func NewNestedConsoleServerPortTemplate(id string, objectType string, url string, ) *NestedConsoleServerPortTemplate`
+`func NewNestedConsoleServerPortTemplate(objectType string, url string, ) *NestedConsoleServerPortTemplate`
NewNestedConsoleServerPortTemplate instantiates a new NestedConsoleServerPortTemplate object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedConsoleServerPortTemplate) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedContact.md b/docs/NestedContact.md
index 59939974..3e902aa6 100644
--- a/docs/NestedContact.md
+++ b/docs/NestedContact.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedContact
-`func NewNestedContact(id string, objectType string, url string, ) *NestedContact`
+`func NewNestedContact(objectType string, url string, ) *NestedContact`
NewNestedContact instantiates a new NestedContact object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedContact) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedContactAssociation.md b/docs/NestedContactAssociation.md
index c6ac2a9c..50c249be 100644
--- a/docs/NestedContactAssociation.md
+++ b/docs/NestedContactAssociation.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedContactAssociation
-`func NewNestedContactAssociation(id string, objectType string, url string, ) *NestedContactAssociation`
+`func NewNestedContactAssociation(objectType string, url string, ) *NestedContactAssociation`
NewNestedContactAssociation instantiates a new NestedContactAssociation object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedContactAssociation) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedController.md b/docs/NestedController.md
index c777de6b..66f71f13 100644
--- a/docs/NestedController.md
+++ b/docs/NestedController.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedController
-`func NewNestedController(id string, objectType string, url string, ) *NestedController`
+`func NewNestedController(objectType string, url string, ) *NestedController`
NewNestedController instantiates a new NestedController object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedController) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedControllerManagedDeviceGroup.md b/docs/NestedControllerManagedDeviceGroup.md
index 8df7fb49..551dba43 100644
--- a/docs/NestedControllerManagedDeviceGroup.md
+++ b/docs/NestedControllerManagedDeviceGroup.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedControllerManagedDeviceGroup
-`func NewNestedControllerManagedDeviceGroup(id string, objectType string, url string, ) *NestedControllerManagedDeviceGroup`
+`func NewNestedControllerManagedDeviceGroup(objectType string, url string, ) *NestedControllerManagedDeviceGroup`
NewNestedControllerManagedDeviceGroup instantiates a new NestedControllerManagedDeviceGroup object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedControllerManagedDeviceGroup) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedCustomField.md b/docs/NestedCustomField.md
index c9f4879d..a6d965a8 100644
--- a/docs/NestedCustomField.md
+++ b/docs/NestedCustomField.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedCustomField
-`func NewNestedCustomField(id string, objectType string, url string, ) *NestedCustomField`
+`func NewNestedCustomField(objectType string, url string, ) *NestedCustomField`
NewNestedCustomField instantiates a new NestedCustomField object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedCustomField) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedCustomFieldChoice.md b/docs/NestedCustomFieldChoice.md
index 96b8817b..ed64833a 100644
--- a/docs/NestedCustomFieldChoice.md
+++ b/docs/NestedCustomFieldChoice.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedCustomFieldChoice
-`func NewNestedCustomFieldChoice(id string, objectType string, url string, ) *NestedCustomFieldChoice`
+`func NewNestedCustomFieldChoice(objectType string, url string, ) *NestedCustomFieldChoice`
NewNestedCustomFieldChoice instantiates a new NestedCustomFieldChoice object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedCustomFieldChoice) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedCustomLink.md b/docs/NestedCustomLink.md
index 208cf39d..1d344296 100644
--- a/docs/NestedCustomLink.md
+++ b/docs/NestedCustomLink.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedCustomLink
-`func NewNestedCustomLink(id string, objectType string, url string, ) *NestedCustomLink`
+`func NewNestedCustomLink(objectType string, url string, ) *NestedCustomLink`
NewNestedCustomLink instantiates a new NestedCustomLink object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedCustomLink) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedDevice.md b/docs/NestedDevice.md
index f9a41340..2d5a8cb7 100644
--- a/docs/NestedDevice.md
+++ b/docs/NestedDevice.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedDevice
-`func NewNestedDevice(id string, objectType string, url string, ) *NestedDevice`
+`func NewNestedDevice(objectType string, url string, ) *NestedDevice`
NewNestedDevice instantiates a new NestedDevice object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedDevice) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedDeviceBay.md b/docs/NestedDeviceBay.md
index d835d53b..acbe9ea9 100644
--- a/docs/NestedDeviceBay.md
+++ b/docs/NestedDeviceBay.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedDeviceBay
-`func NewNestedDeviceBay(id string, objectType string, url string, ) *NestedDeviceBay`
+`func NewNestedDeviceBay(objectType string, url string, ) *NestedDeviceBay`
NewNestedDeviceBay instantiates a new NestedDeviceBay object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedDeviceBay) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedDeviceBayTemplate.md b/docs/NestedDeviceBayTemplate.md
index 439534ef..0e898534 100644
--- a/docs/NestedDeviceBayTemplate.md
+++ b/docs/NestedDeviceBayTemplate.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedDeviceBayTemplate
-`func NewNestedDeviceBayTemplate(id string, objectType string, url string, ) *NestedDeviceBayTemplate`
+`func NewNestedDeviceBayTemplate(objectType string, url string, ) *NestedDeviceBayTemplate`
NewNestedDeviceBayTemplate instantiates a new NestedDeviceBayTemplate object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedDeviceBayTemplate) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedDeviceFamily.md b/docs/NestedDeviceFamily.md
index f149278a..c0c8ab1a 100644
--- a/docs/NestedDeviceFamily.md
+++ b/docs/NestedDeviceFamily.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedDeviceFamily
-`func NewNestedDeviceFamily(id string, objectType string, url string, ) *NestedDeviceFamily`
+`func NewNestedDeviceFamily(objectType string, url string, ) *NestedDeviceFamily`
NewNestedDeviceFamily instantiates a new NestedDeviceFamily object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedDeviceFamily) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedDeviceRedundancyGroup.md b/docs/NestedDeviceRedundancyGroup.md
index 6782970a..3c0174c5 100644
--- a/docs/NestedDeviceRedundancyGroup.md
+++ b/docs/NestedDeviceRedundancyGroup.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedDeviceRedundancyGroup
-`func NewNestedDeviceRedundancyGroup(id string, objectType string, url string, ) *NestedDeviceRedundancyGroup`
+`func NewNestedDeviceRedundancyGroup(objectType string, url string, ) *NestedDeviceRedundancyGroup`
NewNestedDeviceRedundancyGroup instantiates a new NestedDeviceRedundancyGroup object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedDeviceRedundancyGroup) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedDeviceType.md b/docs/NestedDeviceType.md
index 3c17f350..9121667c 100644
--- a/docs/NestedDeviceType.md
+++ b/docs/NestedDeviceType.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedDeviceType
-`func NewNestedDeviceType(id string, objectType string, url string, ) *NestedDeviceType`
+`func NewNestedDeviceType(objectType string, url string, ) *NestedDeviceType`
NewNestedDeviceType instantiates a new NestedDeviceType object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedDeviceType) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedDeviceTypeToSoftwareImageFile.md b/docs/NestedDeviceTypeToSoftwareImageFile.md
index 63352ee5..9be8437b 100644
--- a/docs/NestedDeviceTypeToSoftwareImageFile.md
+++ b/docs/NestedDeviceTypeToSoftwareImageFile.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedDeviceTypeToSoftwareImageFile
-`func NewNestedDeviceTypeToSoftwareImageFile(id string, objectType string, url string, ) *NestedDeviceTypeToSoftwareImageFile`
+`func NewNestedDeviceTypeToSoftwareImageFile(objectType string, url string, ) *NestedDeviceTypeToSoftwareImageFile`
NewNestedDeviceTypeToSoftwareImageFile instantiates a new NestedDeviceTypeToSoftwareImageFile object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedDeviceTypeToSoftwareImageFile) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedDynamicGroup.md b/docs/NestedDynamicGroup.md
index c09ef786..ec38a7ad 100644
--- a/docs/NestedDynamicGroup.md
+++ b/docs/NestedDynamicGroup.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedDynamicGroup
-`func NewNestedDynamicGroup(id string, objectType string, url string, ) *NestedDynamicGroup`
+`func NewNestedDynamicGroup(objectType string, url string, ) *NestedDynamicGroup`
NewNestedDynamicGroup instantiates a new NestedDynamicGroup object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedDynamicGroup) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedExportTemplate.md b/docs/NestedExportTemplate.md
index 9aecd43b..79ab3304 100644
--- a/docs/NestedExportTemplate.md
+++ b/docs/NestedExportTemplate.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedExportTemplate
-`func NewNestedExportTemplate(id string, objectType string, url string, ) *NestedExportTemplate`
+`func NewNestedExportTemplate(objectType string, url string, ) *NestedExportTemplate`
NewNestedExportTemplate instantiates a new NestedExportTemplate object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedExportTemplate) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedExternalIntegration.md b/docs/NestedExternalIntegration.md
index e9df912a..327882c8 100644
--- a/docs/NestedExternalIntegration.md
+++ b/docs/NestedExternalIntegration.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedExternalIntegration
-`func NewNestedExternalIntegration(id string, objectType string, url string, ) *NestedExternalIntegration`
+`func NewNestedExternalIntegration(objectType string, url string, ) *NestedExternalIntegration`
NewNestedExternalIntegration instantiates a new NestedExternalIntegration object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedExternalIntegration) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedFileProxy.md b/docs/NestedFileProxy.md
index 0c8892b7..1657fa01 100644
--- a/docs/NestedFileProxy.md
+++ b/docs/NestedFileProxy.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedFileProxy
-`func NewNestedFileProxy(id string, objectType string, url string, ) *NestedFileProxy`
+`func NewNestedFileProxy(objectType string, url string, ) *NestedFileProxy`
NewNestedFileProxy instantiates a new NestedFileProxy object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedFileProxy) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedFrontPort.md b/docs/NestedFrontPort.md
index 6c8888a8..405d6d4c 100644
--- a/docs/NestedFrontPort.md
+++ b/docs/NestedFrontPort.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedFrontPort
-`func NewNestedFrontPort(id string, objectType string, url string, ) *NestedFrontPort`
+`func NewNestedFrontPort(objectType string, url string, ) *NestedFrontPort`
NewNestedFrontPort instantiates a new NestedFrontPort object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedFrontPort) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedFrontPortTemplate.md b/docs/NestedFrontPortTemplate.md
index d86ed7c3..4fb44ae7 100644
--- a/docs/NestedFrontPortTemplate.md
+++ b/docs/NestedFrontPortTemplate.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedFrontPortTemplate
-`func NewNestedFrontPortTemplate(id string, objectType string, url string, ) *NestedFrontPortTemplate`
+`func NewNestedFrontPortTemplate(objectType string, url string, ) *NestedFrontPortTemplate`
NewNestedFrontPortTemplate instantiates a new NestedFrontPortTemplate object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedFrontPortTemplate) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedGitRepository.md b/docs/NestedGitRepository.md
index 1e593651..8f7303e6 100644
--- a/docs/NestedGitRepository.md
+++ b/docs/NestedGitRepository.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedGitRepository
-`func NewNestedGitRepository(id string, objectType string, url string, ) *NestedGitRepository`
+`func NewNestedGitRepository(objectType string, url string, ) *NestedGitRepository`
NewNestedGitRepository instantiates a new NestedGitRepository object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedGitRepository) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedGraphQLQuery.md b/docs/NestedGraphQLQuery.md
index 278d4cb8..24e50234 100644
--- a/docs/NestedGraphQLQuery.md
+++ b/docs/NestedGraphQLQuery.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedGraphQLQuery
-`func NewNestedGraphQLQuery(id string, objectType string, url string, ) *NestedGraphQLQuery`
+`func NewNestedGraphQLQuery(objectType string, url string, ) *NestedGraphQLQuery`
NewNestedGraphQLQuery instantiates a new NestedGraphQLQuery object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedGraphQLQuery) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedIPAddress.md b/docs/NestedIPAddress.md
index 743e5910..1431c545 100644
--- a/docs/NestedIPAddress.md
+++ b/docs/NestedIPAddress.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedIPAddress
-`func NewNestedIPAddress(id string, objectType string, url string, ) *NestedIPAddress`
+`func NewNestedIPAddress(objectType string, url string, ) *NestedIPAddress`
NewNestedIPAddress instantiates a new NestedIPAddress object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedIPAddress) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedImageAttachment.md b/docs/NestedImageAttachment.md
index 06bd0cf9..560da1cc 100644
--- a/docs/NestedImageAttachment.md
+++ b/docs/NestedImageAttachment.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedImageAttachment
-`func NewNestedImageAttachment(id string, objectType string, url string, ) *NestedImageAttachment`
+`func NewNestedImageAttachment(objectType string, url string, ) *NestedImageAttachment`
NewNestedImageAttachment instantiates a new NestedImageAttachment object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedImageAttachment) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedInterface.md b/docs/NestedInterface.md
index e94c9c52..d4c7507d 100644
--- a/docs/NestedInterface.md
+++ b/docs/NestedInterface.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedInterface
-`func NewNestedInterface(id string, objectType string, url string, ) *NestedInterface`
+`func NewNestedInterface(objectType string, url string, ) *NestedInterface`
NewNestedInterface instantiates a new NestedInterface object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedInterface) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedInterfaceRedundancyGroup.md b/docs/NestedInterfaceRedundancyGroup.md
index 02ed2c4b..65d37339 100644
--- a/docs/NestedInterfaceRedundancyGroup.md
+++ b/docs/NestedInterfaceRedundancyGroup.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedInterfaceRedundancyGroup
-`func NewNestedInterfaceRedundancyGroup(id string, objectType string, url string, ) *NestedInterfaceRedundancyGroup`
+`func NewNestedInterfaceRedundancyGroup(objectType string, url string, ) *NestedInterfaceRedundancyGroup`
NewNestedInterfaceRedundancyGroup instantiates a new NestedInterfaceRedundancyGroup object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedInterfaceRedundancyGroup) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedInterfaceRedundancyGroupAssociation.md b/docs/NestedInterfaceRedundancyGroupAssociation.md
index 81de68f5..4648b9a9 100644
--- a/docs/NestedInterfaceRedundancyGroupAssociation.md
+++ b/docs/NestedInterfaceRedundancyGroupAssociation.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedInterfaceRedundancyGroupAssociation
-`func NewNestedInterfaceRedundancyGroupAssociation(id string, objectType string, url string, ) *NestedInterfaceRedundancyGroupAssociation`
+`func NewNestedInterfaceRedundancyGroupAssociation(objectType string, url string, ) *NestedInterfaceRedundancyGroupAssociation`
NewNestedInterfaceRedundancyGroupAssociation instantiates a new NestedInterfaceRedundancyGroupAssociation object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedInterfaceRedundancyGroupAssociation) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedInterfaceTemplate.md b/docs/NestedInterfaceTemplate.md
index 44368719..ad3b1cc1 100644
--- a/docs/NestedInterfaceTemplate.md
+++ b/docs/NestedInterfaceTemplate.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedInterfaceTemplate
-`func NewNestedInterfaceTemplate(id string, objectType string, url string, ) *NestedInterfaceTemplate`
+`func NewNestedInterfaceTemplate(objectType string, url string, ) *NestedInterfaceTemplate`
NewNestedInterfaceTemplate instantiates a new NestedInterfaceTemplate object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedInterfaceTemplate) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedInterfaceVDCAssignment.md b/docs/NestedInterfaceVDCAssignment.md
new file mode 100644
index 00000000..4856759f
--- /dev/null
+++ b/docs/NestedInterfaceVDCAssignment.md
@@ -0,0 +1,98 @@
+# NestedInterfaceVDCAssignment
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
+**ObjectType** | **string** | | [readonly]
+**Url** | **string** | | [readonly]
+
+## Methods
+
+### NewNestedInterfaceVDCAssignment
+
+`func NewNestedInterfaceVDCAssignment(objectType string, url string, ) *NestedInterfaceVDCAssignment`
+
+NewNestedInterfaceVDCAssignment instantiates a new NestedInterfaceVDCAssignment object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewNestedInterfaceVDCAssignmentWithDefaults
+
+`func NewNestedInterfaceVDCAssignmentWithDefaults() *NestedInterfaceVDCAssignment`
+
+NewNestedInterfaceVDCAssignmentWithDefaults instantiates a new NestedInterfaceVDCAssignment object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *NestedInterfaceVDCAssignment) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *NestedInterfaceVDCAssignment) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *NestedInterfaceVDCAssignment) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *NestedInterfaceVDCAssignment) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
+### GetObjectType
+
+`func (o *NestedInterfaceVDCAssignment) GetObjectType() string`
+
+GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
+
+### GetObjectTypeOk
+
+`func (o *NestedInterfaceVDCAssignment) GetObjectTypeOk() (*string, bool)`
+
+GetObjectTypeOk returns a tuple with the ObjectType field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetObjectType
+
+`func (o *NestedInterfaceVDCAssignment) SetObjectType(v string)`
+
+SetObjectType sets ObjectType field to given value.
+
+
+### GetUrl
+
+`func (o *NestedInterfaceVDCAssignment) GetUrl() string`
+
+GetUrl returns the Url field if non-nil, zero value otherwise.
+
+### GetUrlOk
+
+`func (o *NestedInterfaceVDCAssignment) GetUrlOk() (*string, bool)`
+
+GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetUrl
+
+`func (o *NestedInterfaceVDCAssignment) SetUrl(v string)`
+
+SetUrl sets Url field to given value.
+
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/NestedInventoryItem.md b/docs/NestedInventoryItem.md
index 8619656a..4698c1c2 100644
--- a/docs/NestedInventoryItem.md
+++ b/docs/NestedInventoryItem.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedInventoryItem
-`func NewNestedInventoryItem(id string, objectType string, url string, ) *NestedInventoryItem`
+`func NewNestedInventoryItem(objectType string, url string, ) *NestedInventoryItem`
NewNestedInventoryItem instantiates a new NestedInventoryItem object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedInventoryItem) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedJob.md b/docs/NestedJob.md
index d14126de..12ca5170 100644
--- a/docs/NestedJob.md
+++ b/docs/NestedJob.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedJob
-`func NewNestedJob(id string, objectType string, url string, ) *NestedJob`
+`func NewNestedJob(objectType string, url string, ) *NestedJob`
NewNestedJob instantiates a new NestedJob object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedJob) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedJobButton.md b/docs/NestedJobButton.md
index 2cb62b32..956659cd 100644
--- a/docs/NestedJobButton.md
+++ b/docs/NestedJobButton.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedJobButton
-`func NewNestedJobButton(id string, objectType string, url string, ) *NestedJobButton`
+`func NewNestedJobButton(objectType string, url string, ) *NestedJobButton`
NewNestedJobButton instantiates a new NestedJobButton object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedJobButton) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedJobHook.md b/docs/NestedJobHook.md
index 82a51d5f..c248b671 100644
--- a/docs/NestedJobHook.md
+++ b/docs/NestedJobHook.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedJobHook
-`func NewNestedJobHook(id string, objectType string, url string, ) *NestedJobHook`
+`func NewNestedJobHook(objectType string, url string, ) *NestedJobHook`
NewNestedJobHook instantiates a new NestedJobHook object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedJobHook) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/ConfigContextOwner.md b/docs/NestedJobQueue.md
similarity index 63%
rename from docs/ConfigContextOwner.md
rename to docs/NestedJobQueue.md
index 3711967a..3d3c1935 100644
--- a/docs/ConfigContextOwner.md
+++ b/docs/NestedJobQueue.md
@@ -1,88 +1,93 @@
-# ConfigContextOwner
+# NestedJobQueue
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
## Methods
-### NewConfigContextOwner
+### NewNestedJobQueue
-`func NewConfigContextOwner(id string, objectType string, url string, ) *ConfigContextOwner`
+`func NewNestedJobQueue(objectType string, url string, ) *NestedJobQueue`
-NewConfigContextOwner instantiates a new ConfigContextOwner object
+NewNestedJobQueue instantiates a new NestedJobQueue object
This constructor will assign default values to properties that have it defined,
and makes sure properties required by API are set, but the set of arguments
will change when the set of required properties is changed
-### NewConfigContextOwnerWithDefaults
+### NewNestedJobQueueWithDefaults
-`func NewConfigContextOwnerWithDefaults() *ConfigContextOwner`
+`func NewNestedJobQueueWithDefaults() *NestedJobQueue`
-NewConfigContextOwnerWithDefaults instantiates a new ConfigContextOwner object
+NewNestedJobQueueWithDefaults instantiates a new NestedJobQueue object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
### GetId
-`func (o *ConfigContextOwner) GetId() string`
+`func (o *NestedJobQueue) GetId() string`
GetId returns the Id field if non-nil, zero value otherwise.
### GetIdOk
-`func (o *ConfigContextOwner) GetIdOk() (*string, bool)`
+`func (o *NestedJobQueue) GetIdOk() (*string, bool)`
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetId
-`func (o *ConfigContextOwner) SetId(v string)`
+`func (o *NestedJobQueue) SetId(v string)`
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedJobQueue) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
-`func (o *ConfigContextOwner) GetObjectType() string`
+`func (o *NestedJobQueue) GetObjectType() string`
GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
### GetObjectTypeOk
-`func (o *ConfigContextOwner) GetObjectTypeOk() (*string, bool)`
+`func (o *NestedJobQueue) GetObjectTypeOk() (*string, bool)`
GetObjectTypeOk returns a tuple with the ObjectType field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetObjectType
-`func (o *ConfigContextOwner) SetObjectType(v string)`
+`func (o *NestedJobQueue) SetObjectType(v string)`
SetObjectType sets ObjectType field to given value.
### GetUrl
-`func (o *ConfigContextOwner) GetUrl() string`
+`func (o *NestedJobQueue) GetUrl() string`
GetUrl returns the Url field if non-nil, zero value otherwise.
### GetUrlOk
-`func (o *ConfigContextOwner) GetUrlOk() (*string, bool)`
+`func (o *NestedJobQueue) GetUrlOk() (*string, bool)`
GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetUrl
-`func (o *ConfigContextOwner) SetUrl(v string)`
+`func (o *NestedJobQueue) SetUrl(v string)`
SetUrl sets Url field to given value.
diff --git a/docs/NestedJobResult.md b/docs/NestedJobResult.md
index 3e38a53f..7dd91362 100644
--- a/docs/NestedJobResult.md
+++ b/docs/NestedJobResult.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedJobResult
-`func NewNestedJobResult(id string, objectType string, url string, ) *NestedJobResult`
+`func NewNestedJobResult(objectType string, url string, ) *NestedJobResult`
NewNestedJobResult instantiates a new NestedJobResult object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedJobResult) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedLocation.md b/docs/NestedLocation.md
index 2caf9d2e..b722e22f 100644
--- a/docs/NestedLocation.md
+++ b/docs/NestedLocation.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedLocation
-`func NewNestedLocation(id string, objectType string, url string, ) *NestedLocation`
+`func NewNestedLocation(objectType string, url string, ) *NestedLocation`
NewNestedLocation instantiates a new NestedLocation object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedLocation) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedLocationType.md b/docs/NestedLocationType.md
index 7930f222..220a412a 100644
--- a/docs/NestedLocationType.md
+++ b/docs/NestedLocationType.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedLocationType
-`func NewNestedLocationType(id string, objectType string, url string, ) *NestedLocationType`
+`func NewNestedLocationType(objectType string, url string, ) *NestedLocationType`
NewNestedLocationType instantiates a new NestedLocationType object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedLocationType) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedManufacturer.md b/docs/NestedManufacturer.md
index 67766074..a0746d49 100644
--- a/docs/NestedManufacturer.md
+++ b/docs/NestedManufacturer.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedManufacturer
-`func NewNestedManufacturer(id string, objectType string, url string, ) *NestedManufacturer`
+`func NewNestedManufacturer(objectType string, url string, ) *NestedManufacturer`
NewNestedManufacturer instantiates a new NestedManufacturer object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedManufacturer) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedMetadataChoice.md b/docs/NestedMetadataChoice.md
index 78896497..c7b5fb96 100644
--- a/docs/NestedMetadataChoice.md
+++ b/docs/NestedMetadataChoice.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedMetadataChoice
-`func NewNestedMetadataChoice(id string, objectType string, url string, ) *NestedMetadataChoice`
+`func NewNestedMetadataChoice(objectType string, url string, ) *NestedMetadataChoice`
NewNestedMetadataChoice instantiates a new NestedMetadataChoice object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedMetadataChoice) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedMetadataType.md b/docs/NestedMetadataType.md
index ef59ae52..3a1748ce 100644
--- a/docs/NestedMetadataType.md
+++ b/docs/NestedMetadataType.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedMetadataType
-`func NewNestedMetadataType(id string, objectType string, url string, ) *NestedMetadataType`
+`func NewNestedMetadataType(objectType string, url string, ) *NestedMetadataType`
NewNestedMetadataType instantiates a new NestedMetadataType object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedMetadataType) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedModule.md b/docs/NestedModule.md
index 7a5ac0a2..e802d131 100644
--- a/docs/NestedModule.md
+++ b/docs/NestedModule.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedModule
-`func NewNestedModule(id string, objectType string, url string, ) *NestedModule`
+`func NewNestedModule(objectType string, url string, ) *NestedModule`
NewNestedModule instantiates a new NestedModule object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedModule) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedModuleBay.md b/docs/NestedModuleBay.md
index 680d38f3..89cf6273 100644
--- a/docs/NestedModuleBay.md
+++ b/docs/NestedModuleBay.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedModuleBay
-`func NewNestedModuleBay(id string, objectType string, url string, ) *NestedModuleBay`
+`func NewNestedModuleBay(objectType string, url string, ) *NestedModuleBay`
NewNestedModuleBay instantiates a new NestedModuleBay object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedModuleBay) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedModuleBayTemplate.md b/docs/NestedModuleBayTemplate.md
index d5424683..acbb6366 100644
--- a/docs/NestedModuleBayTemplate.md
+++ b/docs/NestedModuleBayTemplate.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedModuleBayTemplate
-`func NewNestedModuleBayTemplate(id string, objectType string, url string, ) *NestedModuleBayTemplate`
+`func NewNestedModuleBayTemplate(objectType string, url string, ) *NestedModuleBayTemplate`
NewNestedModuleBayTemplate instantiates a new NestedModuleBayTemplate object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedModuleBayTemplate) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/ExportTemplateOwner.md b/docs/NestedModuleFamily.md
similarity index 61%
rename from docs/ExportTemplateOwner.md
rename to docs/NestedModuleFamily.md
index 0ad80dbc..1dcc4b8f 100644
--- a/docs/ExportTemplateOwner.md
+++ b/docs/NestedModuleFamily.md
@@ -1,88 +1,93 @@
-# ExportTemplateOwner
+# NestedModuleFamily
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
## Methods
-### NewExportTemplateOwner
+### NewNestedModuleFamily
-`func NewExportTemplateOwner(id string, objectType string, url string, ) *ExportTemplateOwner`
+`func NewNestedModuleFamily(objectType string, url string, ) *NestedModuleFamily`
-NewExportTemplateOwner instantiates a new ExportTemplateOwner object
+NewNestedModuleFamily instantiates a new NestedModuleFamily object
This constructor will assign default values to properties that have it defined,
and makes sure properties required by API are set, but the set of arguments
will change when the set of required properties is changed
-### NewExportTemplateOwnerWithDefaults
+### NewNestedModuleFamilyWithDefaults
-`func NewExportTemplateOwnerWithDefaults() *ExportTemplateOwner`
+`func NewNestedModuleFamilyWithDefaults() *NestedModuleFamily`
-NewExportTemplateOwnerWithDefaults instantiates a new ExportTemplateOwner object
+NewNestedModuleFamilyWithDefaults instantiates a new NestedModuleFamily object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
### GetId
-`func (o *ExportTemplateOwner) GetId() string`
+`func (o *NestedModuleFamily) GetId() string`
GetId returns the Id field if non-nil, zero value otherwise.
### GetIdOk
-`func (o *ExportTemplateOwner) GetIdOk() (*string, bool)`
+`func (o *NestedModuleFamily) GetIdOk() (*string, bool)`
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetId
-`func (o *ExportTemplateOwner) SetId(v string)`
+`func (o *NestedModuleFamily) SetId(v string)`
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedModuleFamily) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
-`func (o *ExportTemplateOwner) GetObjectType() string`
+`func (o *NestedModuleFamily) GetObjectType() string`
GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
### GetObjectTypeOk
-`func (o *ExportTemplateOwner) GetObjectTypeOk() (*string, bool)`
+`func (o *NestedModuleFamily) GetObjectTypeOk() (*string, bool)`
GetObjectTypeOk returns a tuple with the ObjectType field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetObjectType
-`func (o *ExportTemplateOwner) SetObjectType(v string)`
+`func (o *NestedModuleFamily) SetObjectType(v string)`
SetObjectType sets ObjectType field to given value.
### GetUrl
-`func (o *ExportTemplateOwner) GetUrl() string`
+`func (o *NestedModuleFamily) GetUrl() string`
GetUrl returns the Url field if non-nil, zero value otherwise.
### GetUrlOk
-`func (o *ExportTemplateOwner) GetUrlOk() (*string, bool)`
+`func (o *NestedModuleFamily) GetUrlOk() (*string, bool)`
GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetUrl
-`func (o *ExportTemplateOwner) SetUrl(v string)`
+`func (o *NestedModuleFamily) SetUrl(v string)`
SetUrl sets Url field to given value.
diff --git a/docs/NestedModuleType.md b/docs/NestedModuleType.md
index 0f6f0ccb..aa2113aa 100644
--- a/docs/NestedModuleType.md
+++ b/docs/NestedModuleType.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedModuleType
-`func NewNestedModuleType(id string, objectType string, url string, ) *NestedModuleType`
+`func NewNestedModuleType(objectType string, url string, ) *NestedModuleType`
NewNestedModuleType instantiates a new NestedModuleType object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedModuleType) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedNamespace.md b/docs/NestedNamespace.md
index 2105a4c3..973e9218 100644
--- a/docs/NestedNamespace.md
+++ b/docs/NestedNamespace.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedNamespace
-`func NewNestedNamespace(id string, objectType string, url string, ) *NestedNamespace`
+`func NewNestedNamespace(objectType string, url string, ) *NestedNamespace`
NewNestedNamespace instantiates a new NestedNamespace object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedNamespace) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedNote.md b/docs/NestedNote.md
index 3c88943d..e85d743e 100644
--- a/docs/NestedNote.md
+++ b/docs/NestedNote.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedNote
-`func NewNestedNote(id string, objectType string, url string, ) *NestedNote`
+`func NewNestedNote(objectType string, url string, ) *NestedNote`
NewNestedNote instantiates a new NestedNote object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedNote) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedObjectChange.md b/docs/NestedObjectChange.md
index e57cdcb5..64154f19 100644
--- a/docs/NestedObjectChange.md
+++ b/docs/NestedObjectChange.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedObjectChange
-`func NewNestedObjectChange(id string, objectType string, url string, ) *NestedObjectChange`
+`func NewNestedObjectChange(objectType string, url string, ) *NestedObjectChange`
NewNestedObjectChange instantiates a new NestedObjectChange object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedObjectChange) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedObjectMetadata.md b/docs/NestedObjectMetadata.md
index 1affebce..7655ab6a 100644
--- a/docs/NestedObjectMetadata.md
+++ b/docs/NestedObjectMetadata.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedObjectMetadata
-`func NewNestedObjectMetadata(id string, objectType string, url string, ) *NestedObjectMetadata`
+`func NewNestedObjectMetadata(objectType string, url string, ) *NestedObjectMetadata`
NewNestedObjectMetadata instantiates a new NestedObjectMetadata object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedObjectMetadata) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedObjectPermission.md b/docs/NestedObjectPermission.md
index 47ffc986..c23d5d57 100644
--- a/docs/NestedObjectPermission.md
+++ b/docs/NestedObjectPermission.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedObjectPermission
-`func NewNestedObjectPermission(id string, objectType string, url string, ) *NestedObjectPermission`
+`func NewNestedObjectPermission(objectType string, url string, ) *NestedObjectPermission`
NewNestedObjectPermission instantiates a new NestedObjectPermission object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedObjectPermission) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedPlatform.md b/docs/NestedPlatform.md
index 3cbfa9fa..9c62ce4b 100644
--- a/docs/NestedPlatform.md
+++ b/docs/NestedPlatform.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedPlatform
-`func NewNestedPlatform(id string, objectType string, url string, ) *NestedPlatform`
+`func NewNestedPlatform(objectType string, url string, ) *NestedPlatform`
NewNestedPlatform instantiates a new NestedPlatform object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedPlatform) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedPowerFeed.md b/docs/NestedPowerFeed.md
index b710792e..75cec384 100644
--- a/docs/NestedPowerFeed.md
+++ b/docs/NestedPowerFeed.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedPowerFeed
-`func NewNestedPowerFeed(id string, objectType string, url string, ) *NestedPowerFeed`
+`func NewNestedPowerFeed(objectType string, url string, ) *NestedPowerFeed`
NewNestedPowerFeed instantiates a new NestedPowerFeed object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedPowerFeed) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedPowerOutlet.md b/docs/NestedPowerOutlet.md
index 75ad54f5..af32ad54 100644
--- a/docs/NestedPowerOutlet.md
+++ b/docs/NestedPowerOutlet.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedPowerOutlet
-`func NewNestedPowerOutlet(id string, objectType string, url string, ) *NestedPowerOutlet`
+`func NewNestedPowerOutlet(objectType string, url string, ) *NestedPowerOutlet`
NewNestedPowerOutlet instantiates a new NestedPowerOutlet object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedPowerOutlet) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedPowerOutletTemplate.md b/docs/NestedPowerOutletTemplate.md
index 6ca1154b..5c973a7c 100644
--- a/docs/NestedPowerOutletTemplate.md
+++ b/docs/NestedPowerOutletTemplate.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedPowerOutletTemplate
-`func NewNestedPowerOutletTemplate(id string, objectType string, url string, ) *NestedPowerOutletTemplate`
+`func NewNestedPowerOutletTemplate(objectType string, url string, ) *NestedPowerOutletTemplate`
NewNestedPowerOutletTemplate instantiates a new NestedPowerOutletTemplate object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedPowerOutletTemplate) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedPowerPanel.md b/docs/NestedPowerPanel.md
index 839831f3..cb29b9f1 100644
--- a/docs/NestedPowerPanel.md
+++ b/docs/NestedPowerPanel.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedPowerPanel
-`func NewNestedPowerPanel(id string, objectType string, url string, ) *NestedPowerPanel`
+`func NewNestedPowerPanel(objectType string, url string, ) *NestedPowerPanel`
NewNestedPowerPanel instantiates a new NestedPowerPanel object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedPowerPanel) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedPowerPort.md b/docs/NestedPowerPort.md
index d42d6718..2e56fcf4 100644
--- a/docs/NestedPowerPort.md
+++ b/docs/NestedPowerPort.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedPowerPort
-`func NewNestedPowerPort(id string, objectType string, url string, ) *NestedPowerPort`
+`func NewNestedPowerPort(objectType string, url string, ) *NestedPowerPort`
NewNestedPowerPort instantiates a new NestedPowerPort object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedPowerPort) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedPowerPortTemplate.md b/docs/NestedPowerPortTemplate.md
index abf6b2b1..a122bdc9 100644
--- a/docs/NestedPowerPortTemplate.md
+++ b/docs/NestedPowerPortTemplate.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedPowerPortTemplate
-`func NewNestedPowerPortTemplate(id string, objectType string, url string, ) *NestedPowerPortTemplate`
+`func NewNestedPowerPortTemplate(objectType string, url string, ) *NestedPowerPortTemplate`
NewNestedPowerPortTemplate instantiates a new NestedPowerPortTemplate object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedPowerPortTemplate) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedPrefix.md b/docs/NestedPrefix.md
index 6ef38ee7..d9f4bbb3 100644
--- a/docs/NestedPrefix.md
+++ b/docs/NestedPrefix.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedPrefix
-`func NewNestedPrefix(id string, objectType string, url string, ) *NestedPrefix`
+`func NewNestedPrefix(objectType string, url string, ) *NestedPrefix`
NewNestedPrefix instantiates a new NestedPrefix object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedPrefix) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedProvider.md b/docs/NestedProvider.md
index 845ccf70..5fe52a94 100644
--- a/docs/NestedProvider.md
+++ b/docs/NestedProvider.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedProvider
-`func NewNestedProvider(id string, objectType string, url string, ) *NestedProvider`
+`func NewNestedProvider(objectType string, url string, ) *NestedProvider`
NewNestedProvider instantiates a new NestedProvider object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedProvider) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedProviderNetwork.md b/docs/NestedProviderNetwork.md
index a0bbca9e..bee2505d 100644
--- a/docs/NestedProviderNetwork.md
+++ b/docs/NestedProviderNetwork.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedProviderNetwork
-`func NewNestedProviderNetwork(id string, objectType string, url string, ) *NestedProviderNetwork`
+`func NewNestedProviderNetwork(objectType string, url string, ) *NestedProviderNetwork`
NewNestedProviderNetwork instantiates a new NestedProviderNetwork object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedProviderNetwork) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedRIR.md b/docs/NestedRIR.md
index d94a8640..44dd4d6c 100644
--- a/docs/NestedRIR.md
+++ b/docs/NestedRIR.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedRIR
-`func NewNestedRIR(id string, objectType string, url string, ) *NestedRIR`
+`func NewNestedRIR(objectType string, url string, ) *NestedRIR`
NewNestedRIR instantiates a new NestedRIR object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedRIR) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedRack.md b/docs/NestedRack.md
index b2a74c4e..f94b938b 100644
--- a/docs/NestedRack.md
+++ b/docs/NestedRack.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedRack
-`func NewNestedRack(id string, objectType string, url string, ) *NestedRack`
+`func NewNestedRack(objectType string, url string, ) *NestedRack`
NewNestedRack instantiates a new NestedRack object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedRack) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedRackGroup.md b/docs/NestedRackGroup.md
index 8c1057f4..03e8c82e 100644
--- a/docs/NestedRackGroup.md
+++ b/docs/NestedRackGroup.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedRackGroup
-`func NewNestedRackGroup(id string, objectType string, url string, ) *NestedRackGroup`
+`func NewNestedRackGroup(objectType string, url string, ) *NestedRackGroup`
NewNestedRackGroup instantiates a new NestedRackGroup object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedRackGroup) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedRackReservation.md b/docs/NestedRackReservation.md
index 22a505c5..c87606e3 100644
--- a/docs/NestedRackReservation.md
+++ b/docs/NestedRackReservation.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedRackReservation
-`func NewNestedRackReservation(id string, objectType string, url string, ) *NestedRackReservation`
+`func NewNestedRackReservation(objectType string, url string, ) *NestedRackReservation`
NewNestedRackReservation instantiates a new NestedRackReservation object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedRackReservation) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/ConfigContextSchemaOwner.md b/docs/NestedRadioProfile.md
similarity index 61%
rename from docs/ConfigContextSchemaOwner.md
rename to docs/NestedRadioProfile.md
index ee8c368c..48e8936d 100644
--- a/docs/ConfigContextSchemaOwner.md
+++ b/docs/NestedRadioProfile.md
@@ -1,88 +1,93 @@
-# ConfigContextSchemaOwner
+# NestedRadioProfile
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
## Methods
-### NewConfigContextSchemaOwner
+### NewNestedRadioProfile
-`func NewConfigContextSchemaOwner(id string, objectType string, url string, ) *ConfigContextSchemaOwner`
+`func NewNestedRadioProfile(objectType string, url string, ) *NestedRadioProfile`
-NewConfigContextSchemaOwner instantiates a new ConfigContextSchemaOwner object
+NewNestedRadioProfile instantiates a new NestedRadioProfile object
This constructor will assign default values to properties that have it defined,
and makes sure properties required by API are set, but the set of arguments
will change when the set of required properties is changed
-### NewConfigContextSchemaOwnerWithDefaults
+### NewNestedRadioProfileWithDefaults
-`func NewConfigContextSchemaOwnerWithDefaults() *ConfigContextSchemaOwner`
+`func NewNestedRadioProfileWithDefaults() *NestedRadioProfile`
-NewConfigContextSchemaOwnerWithDefaults instantiates a new ConfigContextSchemaOwner object
+NewNestedRadioProfileWithDefaults instantiates a new NestedRadioProfile object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
### GetId
-`func (o *ConfigContextSchemaOwner) GetId() string`
+`func (o *NestedRadioProfile) GetId() string`
GetId returns the Id field if non-nil, zero value otherwise.
### GetIdOk
-`func (o *ConfigContextSchemaOwner) GetIdOk() (*string, bool)`
+`func (o *NestedRadioProfile) GetIdOk() (*string, bool)`
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetId
-`func (o *ConfigContextSchemaOwner) SetId(v string)`
+`func (o *NestedRadioProfile) SetId(v string)`
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedRadioProfile) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
-`func (o *ConfigContextSchemaOwner) GetObjectType() string`
+`func (o *NestedRadioProfile) GetObjectType() string`
GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
### GetObjectTypeOk
-`func (o *ConfigContextSchemaOwner) GetObjectTypeOk() (*string, bool)`
+`func (o *NestedRadioProfile) GetObjectTypeOk() (*string, bool)`
GetObjectTypeOk returns a tuple with the ObjectType field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetObjectType
-`func (o *ConfigContextSchemaOwner) SetObjectType(v string)`
+`func (o *NestedRadioProfile) SetObjectType(v string)`
SetObjectType sets ObjectType field to given value.
### GetUrl
-`func (o *ConfigContextSchemaOwner) GetUrl() string`
+`func (o *NestedRadioProfile) GetUrl() string`
GetUrl returns the Url field if non-nil, zero value otherwise.
### GetUrlOk
-`func (o *ConfigContextSchemaOwner) GetUrlOk() (*string, bool)`
+`func (o *NestedRadioProfile) GetUrlOk() (*string, bool)`
GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetUrl
-`func (o *ConfigContextSchemaOwner) SetUrl(v string)`
+`func (o *NestedRadioProfile) SetUrl(v string)`
SetUrl sets Url field to given value.
diff --git a/docs/NestedRearPort.md b/docs/NestedRearPort.md
index f48ed150..da5fd77b 100644
--- a/docs/NestedRearPort.md
+++ b/docs/NestedRearPort.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedRearPort
-`func NewNestedRearPort(id string, objectType string, url string, ) *NestedRearPort`
+`func NewNestedRearPort(objectType string, url string, ) *NestedRearPort`
NewNestedRearPort instantiates a new NestedRearPort object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedRearPort) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedRearPortTemplate.md b/docs/NestedRearPortTemplate.md
index 10734b99..3c9d683b 100644
--- a/docs/NestedRearPortTemplate.md
+++ b/docs/NestedRearPortTemplate.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedRearPortTemplate
-`func NewNestedRearPortTemplate(id string, objectType string, url string, ) *NestedRearPortTemplate`
+`func NewNestedRearPortTemplate(objectType string, url string, ) *NestedRearPortTemplate`
NewNestedRearPortTemplate instantiates a new NestedRearPortTemplate object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedRearPortTemplate) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedRelationship.md b/docs/NestedRelationship.md
index d8c1f894..d73c29d2 100644
--- a/docs/NestedRelationship.md
+++ b/docs/NestedRelationship.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedRelationship
-`func NewNestedRelationship(id string, objectType string, url string, ) *NestedRelationship`
+`func NewNestedRelationship(objectType string, url string, ) *NestedRelationship`
NewNestedRelationship instantiates a new NestedRelationship object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedRelationship) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedRelationshipAssociation.md b/docs/NestedRelationshipAssociation.md
index 295ab9e3..e697e10b 100644
--- a/docs/NestedRelationshipAssociation.md
+++ b/docs/NestedRelationshipAssociation.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedRelationshipAssociation
-`func NewNestedRelationshipAssociation(id string, objectType string, url string, ) *NestedRelationshipAssociation`
+`func NewNestedRelationshipAssociation(objectType string, url string, ) *NestedRelationshipAssociation`
NewNestedRelationshipAssociation instantiates a new NestedRelationshipAssociation object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedRelationshipAssociation) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedRole.md b/docs/NestedRole.md
index 8eba3c6b..69617a1a 100644
--- a/docs/NestedRole.md
+++ b/docs/NestedRole.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedRole
-`func NewNestedRole(id string, objectType string, url string, ) *NestedRole`
+`func NewNestedRole(objectType string, url string, ) *NestedRole`
NewNestedRole instantiates a new NestedRole object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedRole) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedRouteTarget.md b/docs/NestedRouteTarget.md
index c20b9f2e..f07e2314 100644
--- a/docs/NestedRouteTarget.md
+++ b/docs/NestedRouteTarget.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedRouteTarget
-`func NewNestedRouteTarget(id string, objectType string, url string, ) *NestedRouteTarget`
+`func NewNestedRouteTarget(objectType string, url string, ) *NestedRouteTarget`
NewNestedRouteTarget instantiates a new NestedRouteTarget object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedRouteTarget) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedSavedView.md b/docs/NestedSavedView.md
index e583473c..e7230a3c 100644
--- a/docs/NestedSavedView.md
+++ b/docs/NestedSavedView.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedSavedView
-`func NewNestedSavedView(id string, objectType string, url string, ) *NestedSavedView`
+`func NewNestedSavedView(objectType string, url string, ) *NestedSavedView`
NewNestedSavedView instantiates a new NestedSavedView object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedSavedView) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedScheduledJob.md b/docs/NestedScheduledJob.md
index 6d377377..2e267653 100644
--- a/docs/NestedScheduledJob.md
+++ b/docs/NestedScheduledJob.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedScheduledJob
-`func NewNestedScheduledJob(id string, objectType string, url string, ) *NestedScheduledJob`
+`func NewNestedScheduledJob(objectType string, url string, ) *NestedScheduledJob`
NewNestedScheduledJob instantiates a new NestedScheduledJob object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedScheduledJob) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedSecret.md b/docs/NestedSecret.md
index 01519250..fea77dd9 100644
--- a/docs/NestedSecret.md
+++ b/docs/NestedSecret.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedSecret
-`func NewNestedSecret(id string, objectType string, url string, ) *NestedSecret`
+`func NewNestedSecret(objectType string, url string, ) *NestedSecret`
NewNestedSecret instantiates a new NestedSecret object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedSecret) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedSecretsGroup.md b/docs/NestedSecretsGroup.md
index 723075b2..e66b2401 100644
--- a/docs/NestedSecretsGroup.md
+++ b/docs/NestedSecretsGroup.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedSecretsGroup
-`func NewNestedSecretsGroup(id string, objectType string, url string, ) *NestedSecretsGroup`
+`func NewNestedSecretsGroup(objectType string, url string, ) *NestedSecretsGroup`
NewNestedSecretsGroup instantiates a new NestedSecretsGroup object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedSecretsGroup) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedSecretsGroupAssociation.md b/docs/NestedSecretsGroupAssociation.md
index f218875e..ed550201 100644
--- a/docs/NestedSecretsGroupAssociation.md
+++ b/docs/NestedSecretsGroupAssociation.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedSecretsGroupAssociation
-`func NewNestedSecretsGroupAssociation(id string, objectType string, url string, ) *NestedSecretsGroupAssociation`
+`func NewNestedSecretsGroupAssociation(objectType string, url string, ) *NestedSecretsGroupAssociation`
NewNestedSecretsGroupAssociation instantiates a new NestedSecretsGroupAssociation object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedSecretsGroupAssociation) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedService.md b/docs/NestedService.md
index 9cfdd217..6da30fa3 100644
--- a/docs/NestedService.md
+++ b/docs/NestedService.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedService
-`func NewNestedService(id string, objectType string, url string, ) *NestedService`
+`func NewNestedService(objectType string, url string, ) *NestedService`
NewNestedService instantiates a new NestedService object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedService) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedSoftwareImageFile.md b/docs/NestedSoftwareImageFile.md
index 0a2ed0d3..b7001cb8 100644
--- a/docs/NestedSoftwareImageFile.md
+++ b/docs/NestedSoftwareImageFile.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedSoftwareImageFile
-`func NewNestedSoftwareImageFile(id string, objectType string, url string, ) *NestedSoftwareImageFile`
+`func NewNestedSoftwareImageFile(objectType string, url string, ) *NestedSoftwareImageFile`
NewNestedSoftwareImageFile instantiates a new NestedSoftwareImageFile object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedSoftwareImageFile) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedSoftwareVersion.md b/docs/NestedSoftwareVersion.md
index 0c02536b..62165ebe 100644
--- a/docs/NestedSoftwareVersion.md
+++ b/docs/NestedSoftwareVersion.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedSoftwareVersion
-`func NewNestedSoftwareVersion(id string, objectType string, url string, ) *NestedSoftwareVersion`
+`func NewNestedSoftwareVersion(objectType string, url string, ) *NestedSoftwareVersion`
NewNestedSoftwareVersion instantiates a new NestedSoftwareVersion object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedSoftwareVersion) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedStaticGroupAssociation.md b/docs/NestedStaticGroupAssociation.md
index ca112459..2482b969 100644
--- a/docs/NestedStaticGroupAssociation.md
+++ b/docs/NestedStaticGroupAssociation.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedStaticGroupAssociation
-`func NewNestedStaticGroupAssociation(id string, objectType string, url string, ) *NestedStaticGroupAssociation`
+`func NewNestedStaticGroupAssociation(objectType string, url string, ) *NestedStaticGroupAssociation`
NewNestedStaticGroupAssociation instantiates a new NestedStaticGroupAssociation object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedStaticGroupAssociation) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedStatus.md b/docs/NestedStatus.md
index ed34a0fd..5ba76cd2 100644
--- a/docs/NestedStatus.md
+++ b/docs/NestedStatus.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedStatus
-`func NewNestedStatus(id string, objectType string, url string, ) *NestedStatus`
+`func NewNestedStatus(objectType string, url string, ) *NestedStatus`
NewNestedStatus instantiates a new NestedStatus object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedStatus) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedSupportedDataRate.md b/docs/NestedSupportedDataRate.md
new file mode 100644
index 00000000..e1489a30
--- /dev/null
+++ b/docs/NestedSupportedDataRate.md
@@ -0,0 +1,98 @@
+# NestedSupportedDataRate
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
+**ObjectType** | **string** | | [readonly]
+**Url** | **string** | | [readonly]
+
+## Methods
+
+### NewNestedSupportedDataRate
+
+`func NewNestedSupportedDataRate(objectType string, url string, ) *NestedSupportedDataRate`
+
+NewNestedSupportedDataRate instantiates a new NestedSupportedDataRate object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewNestedSupportedDataRateWithDefaults
+
+`func NewNestedSupportedDataRateWithDefaults() *NestedSupportedDataRate`
+
+NewNestedSupportedDataRateWithDefaults instantiates a new NestedSupportedDataRate object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *NestedSupportedDataRate) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *NestedSupportedDataRate) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *NestedSupportedDataRate) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *NestedSupportedDataRate) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
+### GetObjectType
+
+`func (o *NestedSupportedDataRate) GetObjectType() string`
+
+GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
+
+### GetObjectTypeOk
+
+`func (o *NestedSupportedDataRate) GetObjectTypeOk() (*string, bool)`
+
+GetObjectTypeOk returns a tuple with the ObjectType field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetObjectType
+
+`func (o *NestedSupportedDataRate) SetObjectType(v string)`
+
+SetObjectType sets ObjectType field to given value.
+
+
+### GetUrl
+
+`func (o *NestedSupportedDataRate) GetUrl() string`
+
+GetUrl returns the Url field if non-nil, zero value otherwise.
+
+### GetUrlOk
+
+`func (o *NestedSupportedDataRate) GetUrlOk() (*string, bool)`
+
+GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetUrl
+
+`func (o *NestedSupportedDataRate) SetUrl(v string)`
+
+SetUrl sets Url field to given value.
+
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/NestedTag.md b/docs/NestedTag.md
index 90312728..a077c963 100644
--- a/docs/NestedTag.md
+++ b/docs/NestedTag.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedTag
-`func NewNestedTag(id string, objectType string, url string, ) *NestedTag`
+`func NewNestedTag(objectType string, url string, ) *NestedTag`
NewNestedTag instantiates a new NestedTag object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedTag) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedTeam.md b/docs/NestedTeam.md
index adf42de1..c58300eb 100644
--- a/docs/NestedTeam.md
+++ b/docs/NestedTeam.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedTeam
-`func NewNestedTeam(id string, objectType string, url string, ) *NestedTeam`
+`func NewNestedTeam(objectType string, url string, ) *NestedTeam`
NewNestedTeam instantiates a new NestedTeam object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedTeam) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedTenant.md b/docs/NestedTenant.md
index 0b9720f9..fd6709ad 100644
--- a/docs/NestedTenant.md
+++ b/docs/NestedTenant.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedTenant
-`func NewNestedTenant(id string, objectType string, url string, ) *NestedTenant`
+`func NewNestedTenant(objectType string, url string, ) *NestedTenant`
NewNestedTenant instantiates a new NestedTenant object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedTenant) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedTenantGroup.md b/docs/NestedTenantGroup.md
index 4fc3e83b..733eef42 100644
--- a/docs/NestedTenantGroup.md
+++ b/docs/NestedTenantGroup.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedTenantGroup
-`func NewNestedTenantGroup(id string, objectType string, url string, ) *NestedTenantGroup`
+`func NewNestedTenantGroup(objectType string, url string, ) *NestedTenantGroup`
NewNestedTenantGroup instantiates a new NestedTenantGroup object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedTenantGroup) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedVLAN.md b/docs/NestedVLAN.md
index e77cd4ad..efc23844 100644
--- a/docs/NestedVLAN.md
+++ b/docs/NestedVLAN.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedVLAN
-`func NewNestedVLAN(id string, objectType string, url string, ) *NestedVLAN`
+`func NewNestedVLAN(objectType string, url string, ) *NestedVLAN`
NewNestedVLAN instantiates a new NestedVLAN object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedVLAN) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedVLANGroup.md b/docs/NestedVLANGroup.md
index 13f2fd07..353fd165 100644
--- a/docs/NestedVLANGroup.md
+++ b/docs/NestedVLANGroup.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedVLANGroup
-`func NewNestedVLANGroup(id string, objectType string, url string, ) *NestedVLANGroup`
+`func NewNestedVLANGroup(objectType string, url string, ) *NestedVLANGroup`
NewNestedVLANGroup instantiates a new NestedVLANGroup object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedVLANGroup) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedVMInterface.md b/docs/NestedVMInterface.md
index ce0ae19b..b797e9fc 100644
--- a/docs/NestedVMInterface.md
+++ b/docs/NestedVMInterface.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedVMInterface
-`func NewNestedVMInterface(id string, objectType string, url string, ) *NestedVMInterface`
+`func NewNestedVMInterface(objectType string, url string, ) *NestedVMInterface`
NewNestedVMInterface instantiates a new NestedVMInterface object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedVMInterface) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedVRF.md b/docs/NestedVRF.md
index 16960193..d05a0bcc 100644
--- a/docs/NestedVRF.md
+++ b/docs/NestedVRF.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedVRF
-`func NewNestedVRF(id string, objectType string, url string, ) *NestedVRF`
+`func NewNestedVRF(objectType string, url string, ) *NestedVRF`
NewNestedVRF instantiates a new NestedVRF object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedVRF) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedVirtualChassis.md b/docs/NestedVirtualChassis.md
index 68163276..7a18c8df 100644
--- a/docs/NestedVirtualChassis.md
+++ b/docs/NestedVirtualChassis.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedVirtualChassis
-`func NewNestedVirtualChassis(id string, objectType string, url string, ) *NestedVirtualChassis`
+`func NewNestedVirtualChassis(objectType string, url string, ) *NestedVirtualChassis`
NewNestedVirtualChassis instantiates a new NestedVirtualChassis object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedVirtualChassis) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedVirtualDeviceContext.md b/docs/NestedVirtualDeviceContext.md
new file mode 100644
index 00000000..80c8dab4
--- /dev/null
+++ b/docs/NestedVirtualDeviceContext.md
@@ -0,0 +1,98 @@
+# NestedVirtualDeviceContext
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
+**ObjectType** | **string** | | [readonly]
+**Url** | **string** | | [readonly]
+
+## Methods
+
+### NewNestedVirtualDeviceContext
+
+`func NewNestedVirtualDeviceContext(objectType string, url string, ) *NestedVirtualDeviceContext`
+
+NewNestedVirtualDeviceContext instantiates a new NestedVirtualDeviceContext object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewNestedVirtualDeviceContextWithDefaults
+
+`func NewNestedVirtualDeviceContextWithDefaults() *NestedVirtualDeviceContext`
+
+NewNestedVirtualDeviceContextWithDefaults instantiates a new NestedVirtualDeviceContext object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *NestedVirtualDeviceContext) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *NestedVirtualDeviceContext) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *NestedVirtualDeviceContext) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *NestedVirtualDeviceContext) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
+### GetObjectType
+
+`func (o *NestedVirtualDeviceContext) GetObjectType() string`
+
+GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
+
+### GetObjectTypeOk
+
+`func (o *NestedVirtualDeviceContext) GetObjectTypeOk() (*string, bool)`
+
+GetObjectTypeOk returns a tuple with the ObjectType field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetObjectType
+
+`func (o *NestedVirtualDeviceContext) SetObjectType(v string)`
+
+SetObjectType sets ObjectType field to given value.
+
+
+### GetUrl
+
+`func (o *NestedVirtualDeviceContext) GetUrl() string`
+
+GetUrl returns the Url field if non-nil, zero value otherwise.
+
+### GetUrlOk
+
+`func (o *NestedVirtualDeviceContext) GetUrlOk() (*string, bool)`
+
+GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetUrl
+
+`func (o *NestedVirtualDeviceContext) SetUrl(v string)`
+
+SetUrl sets Url field to given value.
+
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/NestedVirtualMachine.md b/docs/NestedVirtualMachine.md
index f2693df0..d3944bd8 100644
--- a/docs/NestedVirtualMachine.md
+++ b/docs/NestedVirtualMachine.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedVirtualMachine
-`func NewNestedVirtualMachine(id string, objectType string, url string, ) *NestedVirtualMachine`
+`func NewNestedVirtualMachine(objectType string, url string, ) *NestedVirtualMachine`
NewNestedVirtualMachine instantiates a new NestedVirtualMachine object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedVirtualMachine) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedWebhook.md b/docs/NestedWebhook.md
index b06dfe03..3c3861ca 100644
--- a/docs/NestedWebhook.md
+++ b/docs/NestedWebhook.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNestedWebhook
-`func NewNestedWebhook(id string, objectType string, url string, ) *NestedWebhook`
+`func NewNestedWebhook(objectType string, url string, ) *NestedWebhook`
NewNestedWebhook instantiates a new NestedWebhook object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NestedWebhook) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NestedWirelessNetwork.md b/docs/NestedWirelessNetwork.md
new file mode 100644
index 00000000..082e2543
--- /dev/null
+++ b/docs/NestedWirelessNetwork.md
@@ -0,0 +1,98 @@
+# NestedWirelessNetwork
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
+**ObjectType** | **string** | | [readonly]
+**Url** | **string** | | [readonly]
+
+## Methods
+
+### NewNestedWirelessNetwork
+
+`func NewNestedWirelessNetwork(objectType string, url string, ) *NestedWirelessNetwork`
+
+NewNestedWirelessNetwork instantiates a new NestedWirelessNetwork object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewNestedWirelessNetworkWithDefaults
+
+`func NewNestedWirelessNetworkWithDefaults() *NestedWirelessNetwork`
+
+NewNestedWirelessNetworkWithDefaults instantiates a new NestedWirelessNetwork object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *NestedWirelessNetwork) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *NestedWirelessNetwork) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *NestedWirelessNetwork) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *NestedWirelessNetwork) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
+### GetObjectType
+
+`func (o *NestedWirelessNetwork) GetObjectType() string`
+
+GetObjectType returns the ObjectType field if non-nil, zero value otherwise.
+
+### GetObjectTypeOk
+
+`func (o *NestedWirelessNetwork) GetObjectTypeOk() (*string, bool)`
+
+GetObjectTypeOk returns a tuple with the ObjectType field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetObjectType
+
+`func (o *NestedWirelessNetwork) SetObjectType(v string)`
+
+SetObjectType sets ObjectType field to given value.
+
+
+### GetUrl
+
+`func (o *NestedWirelessNetwork) GetUrl() string`
+
+GetUrl returns the Url field if non-nil, zero value otherwise.
+
+### GetUrlOk
+
+`func (o *NestedWirelessNetwork) GetUrlOk() (*string, bool)`
+
+GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetUrl
+
+`func (o *NestedWirelessNetwork) SetUrl(v string)`
+
+SetUrl sets Url field to given value.
+
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/Note.md b/docs/Note.md
index 87755272..395c4076 100644
--- a/docs/Note.md
+++ b/docs/Note.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -22,7 +22,7 @@ Name | Type | Description | Notes
### NewNote
-`func NewNote(id string, objectType string, display string, url string, naturalSlug string, assignedObjectType string, assignedObject NullableNoteAssignedObject, assignedObjectId string, userName string, note string, created NullableTime, lastUpdated NullableTime, ) *Note`
+`func NewNote(objectType string, display string, url string, naturalSlug string, assignedObjectType string, assignedObject NullableNoteAssignedObject, assignedObjectId string, userName string, note string, created NullableTime, lastUpdated NullableTime, ) *Note`
NewNote instantiates a new Note object
This constructor will assign default values to properties that have it defined,
@@ -56,6 +56,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *Note) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NoteAssignedObject.md b/docs/NoteAssignedObject.md
index 1ed12a4c..b3c30409 100644
--- a/docs/NoteAssignedObject.md
+++ b/docs/NoteAssignedObject.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewNoteAssignedObject
-`func NewNoteAssignedObject(id string, objectType string, url string, ) *NoteAssignedObject`
+`func NewNoteAssignedObject(objectType string, url string, ) *NoteAssignedObject`
NewNoteAssignedObject instantiates a new NoteAssignedObject object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *NoteAssignedObject) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/NoteRequest.md b/docs/NoteRequest.md
index 7114a430..81988c40 100644
--- a/docs/NoteRequest.md
+++ b/docs/NoteRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**AssignedObjectType** | **string** | |
**AssignedObjectId** | **string** | |
**Note** | **string** | |
@@ -28,6 +29,31 @@ NewNoteRequestWithDefaults instantiates a new NoteRequest object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *NoteRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *NoteRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *NoteRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *NoteRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetAssignedObjectType
`func (o *NoteRequest) GetAssignedObjectType() string`
diff --git a/docs/NullEnum.md b/docs/NullEnum.md
new file mode 100644
index 00000000..f39d0bca
--- /dev/null
+++ b/docs/NullEnum.md
@@ -0,0 +1,9 @@
+# NullEnum
+
+## Enum
+
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/ObjectChange.md b/docs/ObjectChange.md
index ffaaf9b3..12a655f6 100644
--- a/docs/ObjectChange.md
+++ b/docs/ObjectChange.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -29,7 +29,7 @@ Name | Type | Description | Notes
### NewObjectChange
-`func NewObjectChange(id string, objectType string, display string, url string, naturalSlug string, action ObjectChangeAction, changedObjectType string, relatedObjectType string, changedObject NullableObjectChangeChangedObject, time time.Time, userName string, requestId string, changedObjectId string, changeContext string, changeContextDetail string, objectRepr string, objectData interface{}, objectDataV2 interface{}, ) *ObjectChange`
+`func NewObjectChange(objectType string, display string, url string, naturalSlug string, action ObjectChangeAction, changedObjectType string, relatedObjectType string, changedObject NullableObjectChangeChangedObject, time time.Time, userName string, requestId string, changedObjectId string, changeContext string, changeContextDetail string, objectRepr string, objectData interface{}, objectDataV2 interface{}, ) *ObjectChange`
NewObjectChange instantiates a new ObjectChange object
This constructor will assign default values to properties that have it defined,
@@ -63,6 +63,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *ObjectChange) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/ObjectChangeChangedObject.md b/docs/ObjectChangeChangedObject.md
index b8338dd5..a59155c8 100644
--- a/docs/ObjectChangeChangedObject.md
+++ b/docs/ObjectChangeChangedObject.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewObjectChangeChangedObject
-`func NewObjectChangeChangedObject(id string, objectType string, url string, ) *ObjectChangeChangedObject`
+`func NewObjectChangeChangedObject(objectType string, url string, ) *ObjectChangeChangedObject`
NewObjectChangeChangedObject instantiates a new ObjectChangeChangedObject object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *ObjectChangeChangedObject) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/ObjectMetadata.md b/docs/ObjectMetadata.md
index f6e386df..424ab904 100644
--- a/docs/ObjectMetadata.md
+++ b/docs/ObjectMetadata.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -24,7 +24,7 @@ Name | Type | Description | Notes
### NewObjectMetadata
-`func NewObjectMetadata(id string, objectType string, display string, url string, naturalSlug string, assignedObjectType string, assignedObject NullableObjectMetadataAssignedObject, assignedObjectId string, metadataType BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, ) *ObjectMetadata`
+`func NewObjectMetadata(objectType string, display string, url string, naturalSlug string, assignedObjectType string, assignedObject NullableObjectMetadataAssignedObject, assignedObjectId string, metadataType BulkWritableCableRequestStatus, created NullableTime, lastUpdated NullableTime, ) *ObjectMetadata`
NewObjectMetadata instantiates a new ObjectMetadata object
This constructor will assign default values to properties that have it defined,
@@ -58,6 +58,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *ObjectMetadata) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/ObjectMetadataAssignedObject.md b/docs/ObjectMetadataAssignedObject.md
index a8666898..84b9a947 100644
--- a/docs/ObjectMetadataAssignedObject.md
+++ b/docs/ObjectMetadataAssignedObject.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Url** | **string** | | [readonly]
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
### NewObjectMetadataAssignedObject
-`func NewObjectMetadataAssignedObject(id string, objectType string, url string, ) *ObjectMetadataAssignedObject`
+`func NewObjectMetadataAssignedObject(objectType string, url string, ) *ObjectMetadataAssignedObject`
NewObjectMetadataAssignedObject instantiates a new ObjectMetadataAssignedObject object
This constructor will assign default values to properties that have it defined,
@@ -46,6 +46,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *ObjectMetadataAssignedObject) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/ObjectMetadataRequest.md b/docs/ObjectMetadataRequest.md
index 180d6501..d976ece9 100644
--- a/docs/ObjectMetadataRequest.md
+++ b/docs/ObjectMetadataRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**AssignedObjectType** | **string** | |
**Value** | Pointer to **interface{}** | | [optional]
**ScopedFields** | Pointer to **interface{}** | List of scoped fields, only direct fields on the model | [optional]
@@ -31,6 +32,31 @@ NewObjectMetadataRequestWithDefaults instantiates a new ObjectMetadataRequest ob
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *ObjectMetadataRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *ObjectMetadataRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *ObjectMetadataRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *ObjectMetadataRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetAssignedObjectType
`func (o *ObjectMetadataRequest) GetAssignedObjectType() string`
diff --git a/docs/ObjectPermission.md b/docs/ObjectPermission.md
index b406c2ec..557d65e3 100644
--- a/docs/ObjectPermission.md
+++ b/docs/ObjectPermission.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Id** | **string** | | [readonly]
+**Id** | Pointer to **string** | | [optional]
**ObjectType** | **string** | | [readonly]
**Display** | **string** | Human friendly display value | [readonly]
**Url** | **string** | | [readonly]
@@ -24,7 +24,7 @@ Name | Type | Description | Notes
### NewObjectPermission
-`func NewObjectPermission(id string, objectType string, display string, url string, naturalSlug string, objectTypes []string, name string, actions interface{}, created NullableTime, lastUpdated NullableTime, ) *ObjectPermission`
+`func NewObjectPermission(objectType string, display string, url string, naturalSlug string, objectTypes []string, name string, actions interface{}, created NullableTime, lastUpdated NullableTime, ) *ObjectPermission`
NewObjectPermission instantiates a new ObjectPermission object
This constructor will assign default values to properties that have it defined,
@@ -58,6 +58,11 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### HasId
+
+`func (o *ObjectPermission) HasId() bool`
+
+HasId returns a boolean if a field has been set.
### GetObjectType
diff --git a/docs/ObjectPermissionRequest.md b/docs/ObjectPermissionRequest.md
index 8c414321..e8c87c9b 100644
--- a/docs/ObjectPermissionRequest.md
+++ b/docs/ObjectPermissionRequest.md
@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
+**Id** | Pointer to **string** | | [optional]
**ObjectTypes** | **[]string** | |
**Name** | **string** | |
**Description** | Pointer to **string** | | [optional]
@@ -32,6 +33,31 @@ NewObjectPermissionRequestWithDefaults instantiates a new ObjectPermissionReques
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
+### GetId
+
+`func (o *ObjectPermissionRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *ObjectPermissionRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *ObjectPermissionRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+### HasId
+
+`func (o *ObjectPermissionRequest) HasId() bool`
+
+HasId returns a boolean if a field has been set.
+
### GetObjectTypes
`func (o *ObjectPermissionRequest) GetObjectTypes() []string`
diff --git a/docs/PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList.md b/docs/PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList.md
new file mode 100644
index 00000000..1115264c
--- /dev/null
+++ b/docs/PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList.md
@@ -0,0 +1,144 @@
+# PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Count** | **int32** | |
+**Next** | Pointer to **NullableString** | | [optional]
+**Previous** | Pointer to **NullableString** | | [optional]
+**Results** | [**[]ControllerManagedDeviceGroupRadioProfileAssignment**](ControllerManagedDeviceGroupRadioProfileAssignment.md) | |
+
+## Methods
+
+### NewPaginatedControllerManagedDeviceGroupRadioProfileAssignmentList
+
+`func NewPaginatedControllerManagedDeviceGroupRadioProfileAssignmentList(count int32, results []ControllerManagedDeviceGroupRadioProfileAssignment, ) *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList`
+
+NewPaginatedControllerManagedDeviceGroupRadioProfileAssignmentList instantiates a new PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewPaginatedControllerManagedDeviceGroupRadioProfileAssignmentListWithDefaults
+
+`func NewPaginatedControllerManagedDeviceGroupRadioProfileAssignmentListWithDefaults() *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList`
+
+NewPaginatedControllerManagedDeviceGroupRadioProfileAssignmentListWithDefaults instantiates a new PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetCount
+
+`func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) GetCount() int32`
+
+GetCount returns the Count field if non-nil, zero value otherwise.
+
+### GetCountOk
+
+`func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) GetCountOk() (*int32, bool)`
+
+GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCount
+
+`func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) SetCount(v int32)`
+
+SetCount sets Count field to given value.
+
+
+### GetNext
+
+`func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) GetNext() string`
+
+GetNext returns the Next field if non-nil, zero value otherwise.
+
+### GetNextOk
+
+`func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) GetNextOk() (*string, bool)`
+
+GetNextOk returns a tuple with the Next field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetNext
+
+`func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) SetNext(v string)`
+
+SetNext sets Next field to given value.
+
+### HasNext
+
+`func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) HasNext() bool`
+
+HasNext returns a boolean if a field has been set.
+
+### SetNextNil
+
+`func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) SetNextNil(b bool)`
+
+ SetNextNil sets the value for Next to be an explicit nil
+
+### UnsetNext
+`func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) UnsetNext()`
+
+UnsetNext ensures that no value is present for Next, not even an explicit nil
+### GetPrevious
+
+`func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) GetPrevious() string`
+
+GetPrevious returns the Previous field if non-nil, zero value otherwise.
+
+### GetPreviousOk
+
+`func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) GetPreviousOk() (*string, bool)`
+
+GetPreviousOk returns a tuple with the Previous field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetPrevious
+
+`func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) SetPrevious(v string)`
+
+SetPrevious sets Previous field to given value.
+
+### HasPrevious
+
+`func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) HasPrevious() bool`
+
+HasPrevious returns a boolean if a field has been set.
+
+### SetPreviousNil
+
+`func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) SetPreviousNil(b bool)`
+
+ SetPreviousNil sets the value for Previous to be an explicit nil
+
+### UnsetPrevious
+`func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) UnsetPrevious()`
+
+UnsetPrevious ensures that no value is present for Previous, not even an explicit nil
+### GetResults
+
+`func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) GetResults() []ControllerManagedDeviceGroupRadioProfileAssignment`
+
+GetResults returns the Results field if non-nil, zero value otherwise.
+
+### GetResultsOk
+
+`func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) GetResultsOk() (*[]ControllerManagedDeviceGroupRadioProfileAssignment, bool)`
+
+GetResultsOk returns a tuple with the Results field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetResults
+
+`func (o *PaginatedControllerManagedDeviceGroupRadioProfileAssignmentList) SetResults(v []ControllerManagedDeviceGroupRadioProfileAssignment)`
+
+SetResults sets Results field to given value.
+
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList.md b/docs/PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList.md
new file mode 100644
index 00000000..ee359bde
--- /dev/null
+++ b/docs/PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList.md
@@ -0,0 +1,144 @@
+# PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Count** | **int32** | |
+**Next** | Pointer to **NullableString** | | [optional]
+**Previous** | Pointer to **NullableString** | | [optional]
+**Results** | [**[]ControllerManagedDeviceGroupWirelessNetworkAssignment**](ControllerManagedDeviceGroupWirelessNetworkAssignment.md) | |
+
+## Methods
+
+### NewPaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList
+
+`func NewPaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList(count int32, results []ControllerManagedDeviceGroupWirelessNetworkAssignment, ) *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList`
+
+NewPaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList instantiates a new PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewPaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentListWithDefaults
+
+`func NewPaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentListWithDefaults() *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList`
+
+NewPaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentListWithDefaults instantiates a new PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetCount
+
+`func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) GetCount() int32`
+
+GetCount returns the Count field if non-nil, zero value otherwise.
+
+### GetCountOk
+
+`func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) GetCountOk() (*int32, bool)`
+
+GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCount
+
+`func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) SetCount(v int32)`
+
+SetCount sets Count field to given value.
+
+
+### GetNext
+
+`func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) GetNext() string`
+
+GetNext returns the Next field if non-nil, zero value otherwise.
+
+### GetNextOk
+
+`func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) GetNextOk() (*string, bool)`
+
+GetNextOk returns a tuple with the Next field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetNext
+
+`func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) SetNext(v string)`
+
+SetNext sets Next field to given value.
+
+### HasNext
+
+`func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) HasNext() bool`
+
+HasNext returns a boolean if a field has been set.
+
+### SetNextNil
+
+`func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) SetNextNil(b bool)`
+
+ SetNextNil sets the value for Next to be an explicit nil
+
+### UnsetNext
+`func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) UnsetNext()`
+
+UnsetNext ensures that no value is present for Next, not even an explicit nil
+### GetPrevious
+
+`func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) GetPrevious() string`
+
+GetPrevious returns the Previous field if non-nil, zero value otherwise.
+
+### GetPreviousOk
+
+`func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) GetPreviousOk() (*string, bool)`
+
+GetPreviousOk returns a tuple with the Previous field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetPrevious
+
+`func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) SetPrevious(v string)`
+
+SetPrevious sets Previous field to given value.
+
+### HasPrevious
+
+`func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) HasPrevious() bool`
+
+HasPrevious returns a boolean if a field has been set.
+
+### SetPreviousNil
+
+`func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) SetPreviousNil(b bool)`
+
+ SetPreviousNil sets the value for Previous to be an explicit nil
+
+### UnsetPrevious
+`func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) UnsetPrevious()`
+
+UnsetPrevious ensures that no value is present for Previous, not even an explicit nil
+### GetResults
+
+`func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) GetResults() []ControllerManagedDeviceGroupWirelessNetworkAssignment`
+
+GetResults returns the Results field if non-nil, zero value otherwise.
+
+### GetResultsOk
+
+`func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) GetResultsOk() (*[]ControllerManagedDeviceGroupWirelessNetworkAssignment, bool)`
+
+GetResultsOk returns a tuple with the Results field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetResults
+
+`func (o *PaginatedControllerManagedDeviceGroupWirelessNetworkAssignmentList) SetResults(v []ControllerManagedDeviceGroupWirelessNetworkAssignment)`
+
+SetResults sets Results field to given value.
+
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/PaginatedInterfaceVDCAssignmentList.md b/docs/PaginatedInterfaceVDCAssignmentList.md
new file mode 100644
index 00000000..05bf5b47
--- /dev/null
+++ b/docs/PaginatedInterfaceVDCAssignmentList.md
@@ -0,0 +1,144 @@
+# PaginatedInterfaceVDCAssignmentList
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Count** | **int32** | |
+**Next** | Pointer to **NullableString** | | [optional]
+**Previous** | Pointer to **NullableString** | | [optional]
+**Results** | [**[]InterfaceVDCAssignment**](InterfaceVDCAssignment.md) | |
+
+## Methods
+
+### NewPaginatedInterfaceVDCAssignmentList
+
+`func NewPaginatedInterfaceVDCAssignmentList(count int32, results []InterfaceVDCAssignment, ) *PaginatedInterfaceVDCAssignmentList`
+
+NewPaginatedInterfaceVDCAssignmentList instantiates a new PaginatedInterfaceVDCAssignmentList object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewPaginatedInterfaceVDCAssignmentListWithDefaults
+
+`func NewPaginatedInterfaceVDCAssignmentListWithDefaults() *PaginatedInterfaceVDCAssignmentList`
+
+NewPaginatedInterfaceVDCAssignmentListWithDefaults instantiates a new PaginatedInterfaceVDCAssignmentList object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetCount
+
+`func (o *PaginatedInterfaceVDCAssignmentList) GetCount() int32`
+
+GetCount returns the Count field if non-nil, zero value otherwise.
+
+### GetCountOk
+
+`func (o *PaginatedInterfaceVDCAssignmentList) GetCountOk() (*int32, bool)`
+
+GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCount
+
+`func (o *PaginatedInterfaceVDCAssignmentList) SetCount(v int32)`
+
+SetCount sets Count field to given value.
+
+
+### GetNext
+
+`func (o *PaginatedInterfaceVDCAssignmentList) GetNext() string`
+
+GetNext returns the Next field if non-nil, zero value otherwise.
+
+### GetNextOk
+
+`func (o *PaginatedInterfaceVDCAssignmentList) GetNextOk() (*string, bool)`
+
+GetNextOk returns a tuple with the Next field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetNext
+
+`func (o *PaginatedInterfaceVDCAssignmentList) SetNext(v string)`
+
+SetNext sets Next field to given value.
+
+### HasNext
+
+`func (o *PaginatedInterfaceVDCAssignmentList) HasNext() bool`
+
+HasNext returns a boolean if a field has been set.
+
+### SetNextNil
+
+`func (o *PaginatedInterfaceVDCAssignmentList) SetNextNil(b bool)`
+
+ SetNextNil sets the value for Next to be an explicit nil
+
+### UnsetNext
+`func (o *PaginatedInterfaceVDCAssignmentList) UnsetNext()`
+
+UnsetNext ensures that no value is present for Next, not even an explicit nil
+### GetPrevious
+
+`func (o *PaginatedInterfaceVDCAssignmentList) GetPrevious() string`
+
+GetPrevious returns the Previous field if non-nil, zero value otherwise.
+
+### GetPreviousOk
+
+`func (o *PaginatedInterfaceVDCAssignmentList) GetPreviousOk() (*string, bool)`
+
+GetPreviousOk returns a tuple with the Previous field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetPrevious
+
+`func (o *PaginatedInterfaceVDCAssignmentList) SetPrevious(v string)`
+
+SetPrevious sets Previous field to given value.
+
+### HasPrevious
+
+`func (o *PaginatedInterfaceVDCAssignmentList) HasPrevious() bool`
+
+HasPrevious returns a boolean if a field has been set.
+
+### SetPreviousNil
+
+`func (o *PaginatedInterfaceVDCAssignmentList) SetPreviousNil(b bool)`
+
+ SetPreviousNil sets the value for Previous to be an explicit nil
+
+### UnsetPrevious
+`func (o *PaginatedInterfaceVDCAssignmentList) UnsetPrevious()`
+
+UnsetPrevious ensures that no value is present for Previous, not even an explicit nil
+### GetResults
+
+`func (o *PaginatedInterfaceVDCAssignmentList) GetResults() []InterfaceVDCAssignment`
+
+GetResults returns the Results field if non-nil, zero value otherwise.
+
+### GetResultsOk
+
+`func (o *PaginatedInterfaceVDCAssignmentList) GetResultsOk() (*[]InterfaceVDCAssignment, bool)`
+
+GetResultsOk returns a tuple with the Results field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetResults
+
+`func (o *PaginatedInterfaceVDCAssignmentList) SetResults(v []InterfaceVDCAssignment)`
+
+SetResults sets Results field to given value.
+
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/PaginatedJobQueueAssignmentList.md b/docs/PaginatedJobQueueAssignmentList.md
new file mode 100644
index 00000000..6e67e630
--- /dev/null
+++ b/docs/PaginatedJobQueueAssignmentList.md
@@ -0,0 +1,144 @@
+# PaginatedJobQueueAssignmentList
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Count** | **int32** | |
+**Next** | Pointer to **NullableString** | | [optional]
+**Previous** | Pointer to **NullableString** | | [optional]
+**Results** | [**[]JobQueueAssignment**](JobQueueAssignment.md) | |
+
+## Methods
+
+### NewPaginatedJobQueueAssignmentList
+
+`func NewPaginatedJobQueueAssignmentList(count int32, results []JobQueueAssignment, ) *PaginatedJobQueueAssignmentList`
+
+NewPaginatedJobQueueAssignmentList instantiates a new PaginatedJobQueueAssignmentList object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewPaginatedJobQueueAssignmentListWithDefaults
+
+`func NewPaginatedJobQueueAssignmentListWithDefaults() *PaginatedJobQueueAssignmentList`
+
+NewPaginatedJobQueueAssignmentListWithDefaults instantiates a new PaginatedJobQueueAssignmentList object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetCount
+
+`func (o *PaginatedJobQueueAssignmentList) GetCount() int32`
+
+GetCount returns the Count field if non-nil, zero value otherwise.
+
+### GetCountOk
+
+`func (o *PaginatedJobQueueAssignmentList) GetCountOk() (*int32, bool)`
+
+GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCount
+
+`func (o *PaginatedJobQueueAssignmentList) SetCount(v int32)`
+
+SetCount sets Count field to given value.
+
+
+### GetNext
+
+`func (o *PaginatedJobQueueAssignmentList) GetNext() string`
+
+GetNext returns the Next field if non-nil, zero value otherwise.
+
+### GetNextOk
+
+`func (o *PaginatedJobQueueAssignmentList) GetNextOk() (*string, bool)`
+
+GetNextOk returns a tuple with the Next field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetNext
+
+`func (o *PaginatedJobQueueAssignmentList) SetNext(v string)`
+
+SetNext sets Next field to given value.
+
+### HasNext
+
+`func (o *PaginatedJobQueueAssignmentList) HasNext() bool`
+
+HasNext returns a boolean if a field has been set.
+
+### SetNextNil
+
+`func (o *PaginatedJobQueueAssignmentList) SetNextNil(b bool)`
+
+ SetNextNil sets the value for Next to be an explicit nil
+
+### UnsetNext
+`func (o *PaginatedJobQueueAssignmentList) UnsetNext()`
+
+UnsetNext ensures that no value is present for Next, not even an explicit nil
+### GetPrevious
+
+`func (o *PaginatedJobQueueAssignmentList) GetPrevious() string`
+
+GetPrevious returns the Previous field if non-nil, zero value otherwise.
+
+### GetPreviousOk
+
+`func (o *PaginatedJobQueueAssignmentList) GetPreviousOk() (*string, bool)`
+
+GetPreviousOk returns a tuple with the Previous field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetPrevious
+
+`func (o *PaginatedJobQueueAssignmentList) SetPrevious(v string)`
+
+SetPrevious sets Previous field to given value.
+
+### HasPrevious
+
+`func (o *PaginatedJobQueueAssignmentList) HasPrevious() bool`
+
+HasPrevious returns a boolean if a field has been set.
+
+### SetPreviousNil
+
+`func (o *PaginatedJobQueueAssignmentList) SetPreviousNil(b bool)`
+
+ SetPreviousNil sets the value for Previous to be an explicit nil
+
+### UnsetPrevious
+`func (o *PaginatedJobQueueAssignmentList) UnsetPrevious()`
+
+UnsetPrevious ensures that no value is present for Previous, not even an explicit nil
+### GetResults
+
+`func (o *PaginatedJobQueueAssignmentList) GetResults() []JobQueueAssignment`
+
+GetResults returns the Results field if non-nil, zero value otherwise.
+
+### GetResultsOk
+
+`func (o *PaginatedJobQueueAssignmentList) GetResultsOk() (*[]JobQueueAssignment, bool)`
+
+GetResultsOk returns a tuple with the Results field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetResults
+
+`func (o *PaginatedJobQueueAssignmentList) SetResults(v []JobQueueAssignment)`
+
+SetResults sets Results field to given value.
+
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/PaginatedJobQueueList.md b/docs/PaginatedJobQueueList.md
new file mode 100644
index 00000000..d60c77c6
--- /dev/null
+++ b/docs/PaginatedJobQueueList.md
@@ -0,0 +1,144 @@
+# PaginatedJobQueueList
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Count** | **int32** | |
+**Next** | Pointer to **NullableString** | | [optional]
+**Previous** | Pointer to **NullableString** | | [optional]
+**Results** | [**[]JobQueue**](JobQueue.md) | |
+
+## Methods
+
+### NewPaginatedJobQueueList
+
+`func NewPaginatedJobQueueList(count int32, results []JobQueue, ) *PaginatedJobQueueList`
+
+NewPaginatedJobQueueList instantiates a new PaginatedJobQueueList object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewPaginatedJobQueueListWithDefaults
+
+`func NewPaginatedJobQueueListWithDefaults() *PaginatedJobQueueList`
+
+NewPaginatedJobQueueListWithDefaults instantiates a new PaginatedJobQueueList object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetCount
+
+`func (o *PaginatedJobQueueList) GetCount() int32`
+
+GetCount returns the Count field if non-nil, zero value otherwise.
+
+### GetCountOk
+
+`func (o *PaginatedJobQueueList) GetCountOk() (*int32, bool)`
+
+GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCount
+
+`func (o *PaginatedJobQueueList) SetCount(v int32)`
+
+SetCount sets Count field to given value.
+
+
+### GetNext
+
+`func (o *PaginatedJobQueueList) GetNext() string`
+
+GetNext returns the Next field if non-nil, zero value otherwise.
+
+### GetNextOk
+
+`func (o *PaginatedJobQueueList) GetNextOk() (*string, bool)`
+
+GetNextOk returns a tuple with the Next field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetNext
+
+`func (o *PaginatedJobQueueList) SetNext(v string)`
+
+SetNext sets Next field to given value.
+
+### HasNext
+
+`func (o *PaginatedJobQueueList) HasNext() bool`
+
+HasNext returns a boolean if a field has been set.
+
+### SetNextNil
+
+`func (o *PaginatedJobQueueList) SetNextNil(b bool)`
+
+ SetNextNil sets the value for Next to be an explicit nil
+
+### UnsetNext
+`func (o *PaginatedJobQueueList) UnsetNext()`
+
+UnsetNext ensures that no value is present for Next, not even an explicit nil
+### GetPrevious
+
+`func (o *PaginatedJobQueueList) GetPrevious() string`
+
+GetPrevious returns the Previous field if non-nil, zero value otherwise.
+
+### GetPreviousOk
+
+`func (o *PaginatedJobQueueList) GetPreviousOk() (*string, bool)`
+
+GetPreviousOk returns a tuple with the Previous field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetPrevious
+
+`func (o *PaginatedJobQueueList) SetPrevious(v string)`
+
+SetPrevious sets Previous field to given value.
+
+### HasPrevious
+
+`func (o *PaginatedJobQueueList) HasPrevious() bool`
+
+HasPrevious returns a boolean if a field has been set.
+
+### SetPreviousNil
+
+`func (o *PaginatedJobQueueList) SetPreviousNil(b bool)`
+
+ SetPreviousNil sets the value for Previous to be an explicit nil
+
+### UnsetPrevious
+`func (o *PaginatedJobQueueList) UnsetPrevious()`
+
+UnsetPrevious ensures that no value is present for Previous, not even an explicit nil
+### GetResults
+
+`func (o *PaginatedJobQueueList) GetResults() []JobQueue`
+
+GetResults returns the Results field if non-nil, zero value otherwise.
+
+### GetResultsOk
+
+`func (o *PaginatedJobQueueList) GetResultsOk() (*[]JobQueue, bool)`
+
+GetResultsOk returns a tuple with the Results field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetResults
+
+`func (o *PaginatedJobQueueList) SetResults(v []JobQueue)`
+
+SetResults sets Results field to given value.
+
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/PaginatedModuleFamilyList.md b/docs/PaginatedModuleFamilyList.md
new file mode 100644
index 00000000..0057a888
--- /dev/null
+++ b/docs/PaginatedModuleFamilyList.md
@@ -0,0 +1,144 @@
+# PaginatedModuleFamilyList
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Count** | **int32** | |
+**Next** | Pointer to **NullableString** | | [optional]
+**Previous** | Pointer to **NullableString** | | [optional]
+**Results** | [**[]ModuleFamily**](ModuleFamily.md) | |
+
+## Methods
+
+### NewPaginatedModuleFamilyList
+
+`func NewPaginatedModuleFamilyList(count int32, results []ModuleFamily, ) *PaginatedModuleFamilyList`
+
+NewPaginatedModuleFamilyList instantiates a new PaginatedModuleFamilyList object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewPaginatedModuleFamilyListWithDefaults
+
+`func NewPaginatedModuleFamilyListWithDefaults() *PaginatedModuleFamilyList`
+
+NewPaginatedModuleFamilyListWithDefaults instantiates a new PaginatedModuleFamilyList object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetCount
+
+`func (o *PaginatedModuleFamilyList) GetCount() int32`
+
+GetCount returns the Count field if non-nil, zero value otherwise.
+
+### GetCountOk
+
+`func (o *PaginatedModuleFamilyList) GetCountOk() (*int32, bool)`
+
+GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCount
+
+`func (o *PaginatedModuleFamilyList) SetCount(v int32)`
+
+SetCount sets Count field to given value.
+
+
+### GetNext
+
+`func (o *PaginatedModuleFamilyList) GetNext() string`
+
+GetNext returns the Next field if non-nil, zero value otherwise.
+
+### GetNextOk
+
+`func (o *PaginatedModuleFamilyList) GetNextOk() (*string, bool)`
+
+GetNextOk returns a tuple with the Next field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetNext
+
+`func (o *PaginatedModuleFamilyList) SetNext(v string)`
+
+SetNext sets Next field to given value.
+
+### HasNext
+
+`func (o *PaginatedModuleFamilyList) HasNext() bool`
+
+HasNext returns a boolean if a field has been set.
+
+### SetNextNil
+
+`func (o *PaginatedModuleFamilyList) SetNextNil(b bool)`
+
+ SetNextNil sets the value for Next to be an explicit nil
+
+### UnsetNext
+`func (o *PaginatedModuleFamilyList) UnsetNext()`
+
+UnsetNext ensures that no value is present for Next, not even an explicit nil
+### GetPrevious
+
+`func (o *PaginatedModuleFamilyList) GetPrevious() string`
+
+GetPrevious returns the Previous field if non-nil, zero value otherwise.
+
+### GetPreviousOk
+
+`func (o *PaginatedModuleFamilyList) GetPreviousOk() (*string, bool)`
+
+GetPreviousOk returns a tuple with the Previous field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetPrevious
+
+`func (o *PaginatedModuleFamilyList) SetPrevious(v string)`
+
+SetPrevious sets Previous field to given value.
+
+### HasPrevious
+
+`func (o *PaginatedModuleFamilyList) HasPrevious() bool`
+
+HasPrevious returns a boolean if a field has been set.
+
+### SetPreviousNil
+
+`func (o *PaginatedModuleFamilyList) SetPreviousNil(b bool)`
+
+ SetPreviousNil sets the value for Previous to be an explicit nil
+
+### UnsetPrevious
+`func (o *PaginatedModuleFamilyList) UnsetPrevious()`
+
+UnsetPrevious ensures that no value is present for Previous, not even an explicit nil
+### GetResults
+
+`func (o *PaginatedModuleFamilyList) GetResults() []ModuleFamily`
+
+GetResults returns the Results field if non-nil, zero value otherwise.
+
+### GetResultsOk
+
+`func (o *PaginatedModuleFamilyList) GetResultsOk() (*[]ModuleFamily, bool)`
+
+GetResultsOk returns a tuple with the Results field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetResults
+
+`func (o *PaginatedModuleFamilyList) SetResults(v []ModuleFamily)`
+
+SetResults sets Results field to given value.
+
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/PaginatedRadioProfileList.md b/docs/PaginatedRadioProfileList.md
new file mode 100644
index 00000000..a15458a0
--- /dev/null
+++ b/docs/PaginatedRadioProfileList.md
@@ -0,0 +1,144 @@
+# PaginatedRadioProfileList
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Count** | **int32** | |
+**Next** | Pointer to **NullableString** | | [optional]
+**Previous** | Pointer to **NullableString** | | [optional]
+**Results** | [**[]RadioProfile**](RadioProfile.md) | |
+
+## Methods
+
+### NewPaginatedRadioProfileList
+
+`func NewPaginatedRadioProfileList(count int32, results []RadioProfile, ) *PaginatedRadioProfileList`
+
+NewPaginatedRadioProfileList instantiates a new PaginatedRadioProfileList object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewPaginatedRadioProfileListWithDefaults
+
+`func NewPaginatedRadioProfileListWithDefaults() *PaginatedRadioProfileList`
+
+NewPaginatedRadioProfileListWithDefaults instantiates a new PaginatedRadioProfileList object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetCount
+
+`func (o *PaginatedRadioProfileList) GetCount() int32`
+
+GetCount returns the Count field if non-nil, zero value otherwise.
+
+### GetCountOk
+
+`func (o *PaginatedRadioProfileList) GetCountOk() (*int32, bool)`
+
+GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCount
+
+`func (o *PaginatedRadioProfileList) SetCount(v int32)`
+
+SetCount sets Count field to given value.
+
+
+### GetNext
+
+`func (o *PaginatedRadioProfileList) GetNext() string`
+
+GetNext returns the Next field if non-nil, zero value otherwise.
+
+### GetNextOk
+
+`func (o *PaginatedRadioProfileList) GetNextOk() (*string, bool)`
+
+GetNextOk returns a tuple with the Next field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetNext
+
+`func (o *PaginatedRadioProfileList) SetNext(v string)`
+
+SetNext sets Next field to given value.
+
+### HasNext
+
+`func (o *PaginatedRadioProfileList) HasNext() bool`
+
+HasNext returns a boolean if a field has been set.
+
+### SetNextNil
+
+`func (o *PaginatedRadioProfileList) SetNextNil(b bool)`
+
+ SetNextNil sets the value for Next to be an explicit nil
+
+### UnsetNext
+`func (o *PaginatedRadioProfileList) UnsetNext()`
+
+UnsetNext ensures that no value is present for Next, not even an explicit nil
+### GetPrevious
+
+`func (o *PaginatedRadioProfileList) GetPrevious() string`
+
+GetPrevious returns the Previous field if non-nil, zero value otherwise.
+
+### GetPreviousOk
+
+`func (o *PaginatedRadioProfileList) GetPreviousOk() (*string, bool)`
+
+GetPreviousOk returns a tuple with the Previous field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetPrevious
+
+`func (o *PaginatedRadioProfileList) SetPrevious(v string)`
+
+SetPrevious sets Previous field to given value.
+
+### HasPrevious
+
+`func (o *PaginatedRadioProfileList) HasPrevious() bool`
+
+HasPrevious returns a boolean if a field has been set.
+
+### SetPreviousNil
+
+`func (o *PaginatedRadioProfileList) SetPreviousNil(b bool)`
+
+ SetPreviousNil sets the value for Previous to be an explicit nil
+
+### UnsetPrevious
+`func (o *PaginatedRadioProfileList) UnsetPrevious()`
+
+UnsetPrevious ensures that no value is present for Previous, not even an explicit nil
+### GetResults
+
+`func (o *PaginatedRadioProfileList) GetResults() []RadioProfile`
+
+GetResults returns the Results field if non-nil, zero value otherwise.
+
+### GetResultsOk
+
+`func (o *PaginatedRadioProfileList) GetResultsOk() (*[]RadioProfile, bool)`
+
+GetResultsOk returns a tuple with the Results field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetResults
+
+`func (o *PaginatedRadioProfileList) SetResults(v []RadioProfile)`
+
+SetResults sets Results field to given value.
+
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/PaginatedSupportedDataRateList.md b/docs/PaginatedSupportedDataRateList.md
new file mode 100644
index 00000000..cff1d7e8
--- /dev/null
+++ b/docs/PaginatedSupportedDataRateList.md
@@ -0,0 +1,144 @@
+# PaginatedSupportedDataRateList
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Count** | **int32** | |
+**Next** | Pointer to **NullableString** | | [optional]
+**Previous** | Pointer to **NullableString** | | [optional]
+**Results** | [**[]SupportedDataRate**](SupportedDataRate.md) | |
+
+## Methods
+
+### NewPaginatedSupportedDataRateList
+
+`func NewPaginatedSupportedDataRateList(count int32, results []SupportedDataRate, ) *PaginatedSupportedDataRateList`
+
+NewPaginatedSupportedDataRateList instantiates a new PaginatedSupportedDataRateList object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewPaginatedSupportedDataRateListWithDefaults
+
+`func NewPaginatedSupportedDataRateListWithDefaults() *PaginatedSupportedDataRateList`
+
+NewPaginatedSupportedDataRateListWithDefaults instantiates a new PaginatedSupportedDataRateList object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetCount
+
+`func (o *PaginatedSupportedDataRateList) GetCount() int32`
+
+GetCount returns the Count field if non-nil, zero value otherwise.
+
+### GetCountOk
+
+`func (o *PaginatedSupportedDataRateList) GetCountOk() (*int32, bool)`
+
+GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCount
+
+`func (o *PaginatedSupportedDataRateList) SetCount(v int32)`
+
+SetCount sets Count field to given value.
+
+
+### GetNext
+
+`func (o *PaginatedSupportedDataRateList) GetNext() string`
+
+GetNext returns the Next field if non-nil, zero value otherwise.
+
+### GetNextOk
+
+`func (o *PaginatedSupportedDataRateList) GetNextOk() (*string, bool)`
+
+GetNextOk returns a tuple with the Next field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetNext
+
+`func (o *PaginatedSupportedDataRateList) SetNext(v string)`
+
+SetNext sets Next field to given value.
+
+### HasNext
+
+`func (o *PaginatedSupportedDataRateList) HasNext() bool`
+
+HasNext returns a boolean if a field has been set.
+
+### SetNextNil
+
+`func (o *PaginatedSupportedDataRateList) SetNextNil(b bool)`
+
+ SetNextNil sets the value for Next to be an explicit nil
+
+### UnsetNext
+`func (o *PaginatedSupportedDataRateList) UnsetNext()`
+
+UnsetNext ensures that no value is present for Next, not even an explicit nil
+### GetPrevious
+
+`func (o *PaginatedSupportedDataRateList) GetPrevious() string`
+
+GetPrevious returns the Previous field if non-nil, zero value otherwise.
+
+### GetPreviousOk
+
+`func (o *PaginatedSupportedDataRateList) GetPreviousOk() (*string, bool)`
+
+GetPreviousOk returns a tuple with the Previous field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetPrevious
+
+`func (o *PaginatedSupportedDataRateList) SetPrevious(v string)`
+
+SetPrevious sets Previous field to given value.
+
+### HasPrevious
+
+`func (o *PaginatedSupportedDataRateList) HasPrevious() bool`
+
+HasPrevious returns a boolean if a field has been set.
+
+### SetPreviousNil
+
+`func (o *PaginatedSupportedDataRateList) SetPreviousNil(b bool)`
+
+ SetPreviousNil sets the value for Previous to be an explicit nil
+
+### UnsetPrevious
+`func (o *PaginatedSupportedDataRateList) UnsetPrevious()`
+
+UnsetPrevious ensures that no value is present for Previous, not even an explicit nil
+### GetResults
+
+`func (o *PaginatedSupportedDataRateList) GetResults() []SupportedDataRate`
+
+GetResults returns the Results field if non-nil, zero value otherwise.
+
+### GetResultsOk
+
+`func (o *PaginatedSupportedDataRateList) GetResultsOk() (*[]SupportedDataRate, bool)`
+
+GetResultsOk returns a tuple with the Results field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetResults
+
+`func (o *PaginatedSupportedDataRateList) SetResults(v []SupportedDataRate)`
+
+SetResults sets Results field to given value.
+
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/PaginatedVirtualDeviceContextList.md b/docs/PaginatedVirtualDeviceContextList.md
new file mode 100644
index 00000000..7f89b640
--- /dev/null
+++ b/docs/PaginatedVirtualDeviceContextList.md
@@ -0,0 +1,144 @@
+# PaginatedVirtualDeviceContextList
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Count** | **int32** | |
+**Next** | Pointer to **NullableString** | | [optional]
+**Previous** | Pointer to **NullableString** | | [optional]
+**Results** | [**[]VirtualDeviceContext**](VirtualDeviceContext.md) | |
+
+## Methods
+
+### NewPaginatedVirtualDeviceContextList
+
+`func NewPaginatedVirtualDeviceContextList(count int32, results []VirtualDeviceContext, ) *PaginatedVirtualDeviceContextList`
+
+NewPaginatedVirtualDeviceContextList instantiates a new PaginatedVirtualDeviceContextList object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewPaginatedVirtualDeviceContextListWithDefaults
+
+`func NewPaginatedVirtualDeviceContextListWithDefaults() *PaginatedVirtualDeviceContextList`
+
+NewPaginatedVirtualDeviceContextListWithDefaults instantiates a new PaginatedVirtualDeviceContextList object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetCount
+
+`func (o *PaginatedVirtualDeviceContextList) GetCount() int32`
+
+GetCount returns the Count field if non-nil, zero value otherwise.
+
+### GetCountOk
+
+`func (o *PaginatedVirtualDeviceContextList) GetCountOk() (*int32, bool)`
+
+GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCount
+
+`func (o *PaginatedVirtualDeviceContextList) SetCount(v int32)`
+
+SetCount sets Count field to given value.
+
+
+### GetNext
+
+`func (o *PaginatedVirtualDeviceContextList) GetNext() string`
+
+GetNext returns the Next field if non-nil, zero value otherwise.
+
+### GetNextOk
+
+`func (o *PaginatedVirtualDeviceContextList) GetNextOk() (*string, bool)`
+
+GetNextOk returns a tuple with the Next field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetNext
+
+`func (o *PaginatedVirtualDeviceContextList) SetNext(v string)`
+
+SetNext sets Next field to given value.
+
+### HasNext
+
+`func (o *PaginatedVirtualDeviceContextList) HasNext() bool`
+
+HasNext returns a boolean if a field has been set.
+
+### SetNextNil
+
+`func (o *PaginatedVirtualDeviceContextList) SetNextNil(b bool)`
+
+ SetNextNil sets the value for Next to be an explicit nil
+
+### UnsetNext
+`func (o *PaginatedVirtualDeviceContextList) UnsetNext()`
+
+UnsetNext ensures that no value is present for Next, not even an explicit nil
+### GetPrevious
+
+`func (o *PaginatedVirtualDeviceContextList) GetPrevious() string`
+
+GetPrevious returns the Previous field if non-nil, zero value otherwise.
+
+### GetPreviousOk
+
+`func (o *PaginatedVirtualDeviceContextList) GetPreviousOk() (*string, bool)`
+
+GetPreviousOk returns a tuple with the Previous field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetPrevious
+
+`func (o *PaginatedVirtualDeviceContextList) SetPrevious(v string)`
+
+SetPrevious sets Previous field to given value.
+
+### HasPrevious
+
+`func (o *PaginatedVirtualDeviceContextList) HasPrevious() bool`
+
+HasPrevious returns a boolean if a field has been set.
+
+### SetPreviousNil
+
+`func (o *PaginatedVirtualDeviceContextList) SetPreviousNil(b bool)`
+
+ SetPreviousNil sets the value for Previous to be an explicit nil
+
+### UnsetPrevious
+`func (o *PaginatedVirtualDeviceContextList) UnsetPrevious()`
+
+UnsetPrevious ensures that no value is present for Previous, not even an explicit nil
+### GetResults
+
+`func (o *PaginatedVirtualDeviceContextList) GetResults() []VirtualDeviceContext`
+
+GetResults returns the Results field if non-nil, zero value otherwise.
+
+### GetResultsOk
+
+`func (o *PaginatedVirtualDeviceContextList) GetResultsOk() (*[]VirtualDeviceContext, bool)`
+
+GetResultsOk returns a tuple with the Results field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetResults
+
+`func (o *PaginatedVirtualDeviceContextList) SetResults(v []VirtualDeviceContext)`
+
+SetResults sets Results field to given value.
+
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/PaginatedWirelessNetworkList.md b/docs/PaginatedWirelessNetworkList.md
new file mode 100644
index 00000000..2464dc24
--- /dev/null
+++ b/docs/PaginatedWirelessNetworkList.md
@@ -0,0 +1,144 @@
+# PaginatedWirelessNetworkList
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Count** | **int32** | |
+**Next** | Pointer to **NullableString** | | [optional]
+**Previous** | Pointer to **NullableString** | | [optional]
+**Results** | [**[]WirelessNetwork**](WirelessNetwork.md) | |
+
+## Methods
+
+### NewPaginatedWirelessNetworkList
+
+`func NewPaginatedWirelessNetworkList(count int32, results []WirelessNetwork, ) *PaginatedWirelessNetworkList`
+
+NewPaginatedWirelessNetworkList instantiates a new PaginatedWirelessNetworkList object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewPaginatedWirelessNetworkListWithDefaults
+
+`func NewPaginatedWirelessNetworkListWithDefaults() *PaginatedWirelessNetworkList`
+
+NewPaginatedWirelessNetworkListWithDefaults instantiates a new PaginatedWirelessNetworkList object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetCount
+
+`func (o *PaginatedWirelessNetworkList) GetCount() int32`
+
+GetCount returns the Count field if non-nil, zero value otherwise.
+
+### GetCountOk
+
+`func (o *PaginatedWirelessNetworkList) GetCountOk() (*int32, bool)`
+
+GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCount
+
+`func (o *PaginatedWirelessNetworkList) SetCount(v int32)`
+
+SetCount sets Count field to given value.
+
+
+### GetNext
+
+`func (o *PaginatedWirelessNetworkList) GetNext() string`
+
+GetNext returns the Next field if non-nil, zero value otherwise.
+
+### GetNextOk
+
+`func (o *PaginatedWirelessNetworkList) GetNextOk() (*string, bool)`
+
+GetNextOk returns a tuple with the Next field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetNext
+
+`func (o *PaginatedWirelessNetworkList) SetNext(v string)`
+
+SetNext sets Next field to given value.
+
+### HasNext
+
+`func (o *PaginatedWirelessNetworkList) HasNext() bool`
+
+HasNext returns a boolean if a field has been set.
+
+### SetNextNil
+
+`func (o *PaginatedWirelessNetworkList) SetNextNil(b bool)`
+
+ SetNextNil sets the value for Next to be an explicit nil
+
+### UnsetNext
+`func (o *PaginatedWirelessNetworkList) UnsetNext()`
+
+UnsetNext ensures that no value is present for Next, not even an explicit nil
+### GetPrevious
+
+`func (o *PaginatedWirelessNetworkList) GetPrevious() string`
+
+GetPrevious returns the Previous field if non-nil, zero value otherwise.
+
+### GetPreviousOk
+
+`func (o *PaginatedWirelessNetworkList) GetPreviousOk() (*string, bool)`
+
+GetPreviousOk returns a tuple with the Previous field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetPrevious
+
+`func (o *PaginatedWirelessNetworkList) SetPrevious(v string)`
+
+SetPrevious sets Previous field to given value.
+
+### HasPrevious
+
+`func (o *PaginatedWirelessNetworkList) HasPrevious() bool`
+
+HasPrevious returns a boolean if a field has been set.
+
+### SetPreviousNil
+
+`func (o *PaginatedWirelessNetworkList) SetPreviousNil(b bool)`
+
+ SetPreviousNil sets the value for Previous to be an explicit nil
+
+### UnsetPrevious
+`func (o *PaginatedWirelessNetworkList) UnsetPrevious()`
+
+UnsetPrevious ensures that no value is present for Previous, not even an explicit nil
+### GetResults
+
+`func (o *PaginatedWirelessNetworkList) GetResults() []WirelessNetwork`
+
+GetResults returns the Results field if non-nil, zero value otherwise.
+
+### GetResultsOk
+
+`func (o *PaginatedWirelessNetworkList) GetResultsOk() (*[]WirelessNetwork, bool)`
+
+GetResultsOk returns a tuple with the Results field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetResults
+
+`func (o *PaginatedWirelessNetworkList) SetResults(v []WirelessNetwork)`
+
+SetResults sets Results field to given value.
+
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/PanelTypeEnum.md b/docs/PanelTypeEnum.md
new file mode 100644
index 00000000..25a8a6fc
--- /dev/null
+++ b/docs/PanelTypeEnum.md
@@ -0,0 +1,29 @@
+# PanelTypeEnum
+
+## Enum
+
+
+* `UTILITY` (value: `"utility"`)
+
+* `GENERATOR` (value: `"generator"`)
+
+* `SWITCHGEAR` (value: `"switchgear"`)
+
+* `MDP` (value: `"mdp"`)
+
+* `UPS` (value: `"ups"`)
+
+* `TRANSFER_SWITCH` (value: `"transfer-switch"`)
+
+* `PDU` (value: `"pdu"`)
+
+* `PANELBOARD` (value: `"panelboard"`)
+
+* `MLC` (value: `"mlc"`)
+
+* `RPP` (value: `"rpp"`)
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/ParentChildStatus.md b/docs/ParentChildStatus.md
index 6b5e2fa9..e31f44ef 100644
--- a/docs/ParentChildStatus.md
+++ b/docs/ParentChildStatus.md
@@ -1,28 +1,13 @@
# ParentChildStatus
-## Properties
+## Enum
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-## Methods
+* `PARENT` (value: `"parent"`)
-### NewParentChildStatus
+* `CHILD` (value: `"child"`)
-`func NewParentChildStatus() *ParentChildStatus`
-
-NewParentChildStatus instantiates a new ParentChildStatus object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewParentChildStatusWithDefaults
-
-`func NewParentChildStatusWithDefaults() *ParentChildStatus`
-
-NewParentChildStatusWithDefaults instantiates a new ParentChildStatus object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
+* `EMPTY` (value: `""`)
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/PatchedBulkWritableCircuitTerminationRequest.md b/docs/PatchedBulkWritableCircuitTerminationRequest.md
index 642907e4..4115c295 100644
--- a/docs/PatchedBulkWritableCircuitTerminationRequest.md
+++ b/docs/PatchedBulkWritableCircuitTerminationRequest.md
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
**Location** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**ProviderNetwork** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**CloudNetwork** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
@@ -357,6 +358,31 @@ HasCloudNetwork returns a boolean if a field has been set.
`func (o *PatchedBulkWritableCircuitTerminationRequest) UnsetCloudNetwork()`
UnsetCloudNetwork ensures that no value is present for CloudNetwork, not even an explicit nil
+### GetTags
+
+`func (o *PatchedBulkWritableCircuitTerminationRequest) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *PatchedBulkWritableCircuitTerminationRequest) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *PatchedBulkWritableCircuitTerminationRequest) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *PatchedBulkWritableCircuitTerminationRequest) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
### GetCustomFields
`func (o *PatchedBulkWritableCircuitTerminationRequest) GetCustomFields() map[string]interface{}`
diff --git a/docs/PatchedBulkWritableContactRequest.md b/docs/PatchedBulkWritableContactRequest.md
index 7c76d30a..57a1667a 100644
--- a/docs/PatchedBulkWritableContactRequest.md
+++ b/docs/PatchedBulkWritableContactRequest.md
@@ -5,7 +5,6 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **string** | |
-**Teams** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
**Name** | Pointer to **string** | | [optional]
**Phone** | Pointer to **string** | | [optional] [default to ""]
**Email** | Pointer to **string** | | [optional] [default to ""]
@@ -13,6 +12,8 @@ Name | Type | Description | Notes
**Comments** | Pointer to **string** | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
+**Teams** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
## Methods
@@ -53,31 +54,6 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
-### GetTeams
-
-`func (o *PatchedBulkWritableContactRequest) GetTeams() []BulkWritableCableRequestStatus`
-
-GetTeams returns the Teams field if non-nil, zero value otherwise.
-
-### GetTeamsOk
-
-`func (o *PatchedBulkWritableContactRequest) GetTeamsOk() (*[]BulkWritableCableRequestStatus, bool)`
-
-GetTeamsOk returns a tuple with the Teams field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTeams
-
-`func (o *PatchedBulkWritableContactRequest) SetTeams(v []BulkWritableCableRequestStatus)`
-
-SetTeams sets Teams field to given value.
-
-### HasTeams
-
-`func (o *PatchedBulkWritableContactRequest) HasTeams() bool`
-
-HasTeams returns a boolean if a field has been set.
-
### GetName
`func (o *PatchedBulkWritableContactRequest) GetName() string`
@@ -253,6 +229,56 @@ SetRelationships sets Relationships field to given value.
HasRelationships returns a boolean if a field has been set.
+### GetTags
+
+`func (o *PatchedBulkWritableContactRequest) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *PatchedBulkWritableContactRequest) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *PatchedBulkWritableContactRequest) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *PatchedBulkWritableContactRequest) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
+### GetTeams
+
+`func (o *PatchedBulkWritableContactRequest) GetTeams() []BulkWritableCableRequestStatus`
+
+GetTeams returns the Teams field if non-nil, zero value otherwise.
+
+### GetTeamsOk
+
+`func (o *PatchedBulkWritableContactRequest) GetTeamsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTeamsOk returns a tuple with the Teams field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTeams
+
+`func (o *PatchedBulkWritableContactRequest) SetTeams(v []BulkWritableCableRequestStatus)`
+
+SetTeams sets Teams field to given value.
+
+### HasTeams
+
+`func (o *PatchedBulkWritableContactRequest) HasTeams() bool`
+
+HasTeams returns a boolean if a field has been set.
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest.md b/docs/PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest.md
new file mode 100644
index 00000000..52b3eed9
--- /dev/null
+++ b/docs/PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest.md
@@ -0,0 +1,103 @@
+# PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | |
+**ControllerManagedDeviceGroup** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
+**RadioProfile** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
+
+## Methods
+
+### NewPatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest
+
+`func NewPatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest(id string, ) *PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest`
+
+NewPatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest instantiates a new PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewPatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequestWithDefaults
+
+`func NewPatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequestWithDefaults() *PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest`
+
+NewPatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequestWithDefaults instantiates a new PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+
+### GetControllerManagedDeviceGroup
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetControllerManagedDeviceGroup() BulkWritableCableRequestStatus`
+
+GetControllerManagedDeviceGroup returns the ControllerManagedDeviceGroup field if non-nil, zero value otherwise.
+
+### GetControllerManagedDeviceGroupOk
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetControllerManagedDeviceGroupOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetControllerManagedDeviceGroupOk returns a tuple with the ControllerManagedDeviceGroup field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetControllerManagedDeviceGroup
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) SetControllerManagedDeviceGroup(v BulkWritableCableRequestStatus)`
+
+SetControllerManagedDeviceGroup sets ControllerManagedDeviceGroup field to given value.
+
+### HasControllerManagedDeviceGroup
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) HasControllerManagedDeviceGroup() bool`
+
+HasControllerManagedDeviceGroup returns a boolean if a field has been set.
+
+### GetRadioProfile
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetRadioProfile() BulkWritableCableRequestStatus`
+
+GetRadioProfile returns the RadioProfile field if non-nil, zero value otherwise.
+
+### GetRadioProfileOk
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) GetRadioProfileOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetRadioProfileOk returns a tuple with the RadioProfile field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetRadioProfile
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) SetRadioProfile(v BulkWritableCableRequestStatus)`
+
+SetRadioProfile sets RadioProfile field to given value.
+
+### HasRadioProfile
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupRadioProfileAssignmentRequest) HasRadioProfile() bool`
+
+HasRadioProfile returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/PatchedBulkWritableControllerManagedDeviceGroupRequest.md b/docs/PatchedBulkWritableControllerManagedDeviceGroupRequest.md
index 33b8c368..7cb1d4c0 100644
--- a/docs/PatchedBulkWritableControllerManagedDeviceGroupRequest.md
+++ b/docs/PatchedBulkWritableControllerManagedDeviceGroupRequest.md
@@ -5,10 +5,13 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **string** | |
+**Capabilities** | Pointer to [**[]CapabilitiesEnum**](CapabilitiesEnum.md) | | [optional]
**Name** | Pointer to **string** | Name of the controller device group | [optional]
+**Description** | Pointer to **string** | | [optional]
**Weight** | Pointer to **int32** | Weight of the controller device group, used to sort the groups within its parent group | [optional]
**Parent** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**Controller** | Pointer to [**BulkWritableControllerManagedDeviceGroupRequestController**](BulkWritableControllerManagedDeviceGroupRequestController.md) | | [optional]
+**Tenant** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
@@ -52,6 +55,41 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### GetCapabilities
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) GetCapabilities() []CapabilitiesEnum`
+
+GetCapabilities returns the Capabilities field if non-nil, zero value otherwise.
+
+### GetCapabilitiesOk
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) GetCapabilitiesOk() (*[]CapabilitiesEnum, bool)`
+
+GetCapabilitiesOk returns a tuple with the Capabilities field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCapabilities
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) SetCapabilities(v []CapabilitiesEnum)`
+
+SetCapabilities sets Capabilities field to given value.
+
+### HasCapabilities
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) HasCapabilities() bool`
+
+HasCapabilities returns a boolean if a field has been set.
+
+### SetCapabilitiesNil
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) SetCapabilitiesNil(b bool)`
+
+ SetCapabilitiesNil sets the value for Capabilities to be an explicit nil
+
+### UnsetCapabilities
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) UnsetCapabilities()`
+
+UnsetCapabilities ensures that no value is present for Capabilities, not even an explicit nil
### GetName
`func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) GetName() string`
@@ -77,6 +115,31 @@ SetName sets Name field to given value.
HasName returns a boolean if a field has been set.
+### GetDescription
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) GetDescription() string`
+
+GetDescription returns the Description field if non-nil, zero value otherwise.
+
+### GetDescriptionOk
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) GetDescriptionOk() (*string, bool)`
+
+GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDescription
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) SetDescription(v string)`
+
+SetDescription sets Description field to given value.
+
+### HasDescription
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) HasDescription() bool`
+
+HasDescription returns a boolean if a field has been set.
+
### GetWeight
`func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) GetWeight() int32`
@@ -162,6 +225,41 @@ SetController sets Controller field to given value.
HasController returns a boolean if a field has been set.
+### GetTenant
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) GetTenant() BulkWritableCircuitRequestTenant`
+
+GetTenant returns the Tenant field if non-nil, zero value otherwise.
+
+### GetTenantOk
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) GetTenantOk() (*BulkWritableCircuitRequestTenant, bool)`
+
+GetTenantOk returns a tuple with the Tenant field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTenant
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) SetTenant(v BulkWritableCircuitRequestTenant)`
+
+SetTenant sets Tenant field to given value.
+
+### HasTenant
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) HasTenant() bool`
+
+HasTenant returns a boolean if a field has been set.
+
+### SetTenantNil
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) SetTenantNil(b bool)`
+
+ SetTenantNil sets the value for Tenant to be an explicit nil
+
+### UnsetTenant
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) UnsetTenant()`
+
+UnsetTenant ensures that no value is present for Tenant, not even an explicit nil
### GetCustomFields
`func (o *PatchedBulkWritableControllerManagedDeviceGroupRequest) GetCustomFields() map[string]interface{}`
diff --git a/docs/PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest.md b/docs/PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest.md
new file mode 100644
index 00000000..3686ef90
--- /dev/null
+++ b/docs/PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest.md
@@ -0,0 +1,139 @@
+# PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | |
+**ControllerManagedDeviceGroup** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
+**WirelessNetwork** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
+**Vlan** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
+
+## Methods
+
+### NewPatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest
+
+`func NewPatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest(id string, ) *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest`
+
+NewPatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest instantiates a new PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewPatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequestWithDefaults
+
+`func NewPatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequestWithDefaults() *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest`
+
+NewPatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequestWithDefaults instantiates a new PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+
+### GetControllerManagedDeviceGroup
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetControllerManagedDeviceGroup() BulkWritableCableRequestStatus`
+
+GetControllerManagedDeviceGroup returns the ControllerManagedDeviceGroup field if non-nil, zero value otherwise.
+
+### GetControllerManagedDeviceGroupOk
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetControllerManagedDeviceGroupOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetControllerManagedDeviceGroupOk returns a tuple with the ControllerManagedDeviceGroup field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetControllerManagedDeviceGroup
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetControllerManagedDeviceGroup(v BulkWritableCableRequestStatus)`
+
+SetControllerManagedDeviceGroup sets ControllerManagedDeviceGroup field to given value.
+
+### HasControllerManagedDeviceGroup
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) HasControllerManagedDeviceGroup() bool`
+
+HasControllerManagedDeviceGroup returns a boolean if a field has been set.
+
+### GetWirelessNetwork
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetWirelessNetwork() BulkWritableCableRequestStatus`
+
+GetWirelessNetwork returns the WirelessNetwork field if non-nil, zero value otherwise.
+
+### GetWirelessNetworkOk
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetWirelessNetworkOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetWirelessNetworkOk returns a tuple with the WirelessNetwork field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetWirelessNetwork
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetWirelessNetwork(v BulkWritableCableRequestStatus)`
+
+SetWirelessNetwork sets WirelessNetwork field to given value.
+
+### HasWirelessNetwork
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) HasWirelessNetwork() bool`
+
+HasWirelessNetwork returns a boolean if a field has been set.
+
+### GetVlan
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetVlan() BulkWritableCircuitRequestTenant`
+
+GetVlan returns the Vlan field if non-nil, zero value otherwise.
+
+### GetVlanOk
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) GetVlanOk() (*BulkWritableCircuitRequestTenant, bool)`
+
+GetVlanOk returns a tuple with the Vlan field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetVlan
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetVlan(v BulkWritableCircuitRequestTenant)`
+
+SetVlan sets Vlan field to given value.
+
+### HasVlan
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) HasVlan() bool`
+
+HasVlan returns a boolean if a field has been set.
+
+### SetVlanNil
+
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) SetVlanNil(b bool)`
+
+ SetVlanNil sets the value for Vlan to be an explicit nil
+
+### UnsetVlan
+`func (o *PatchedBulkWritableControllerManagedDeviceGroupWirelessNetworkAssignmentRequest) UnsetVlan()`
+
+UnsetVlan ensures that no value is present for Vlan, not even an explicit nil
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/PatchedBulkWritableControllerRequest.md b/docs/PatchedBulkWritableControllerRequest.md
index 0c9b1341..a97e9f14 100644
--- a/docs/PatchedBulkWritableControllerRequest.md
+++ b/docs/PatchedBulkWritableControllerRequest.md
@@ -5,6 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **string** | |
+**Capabilities** | Pointer to [**[]CapabilitiesEnum**](CapabilitiesEnum.md) | | [optional]
**Name** | Pointer to **string** | | [optional]
**Description** | Pointer to **string** | | [optional]
**Status** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
@@ -58,6 +59,41 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### GetCapabilities
+
+`func (o *PatchedBulkWritableControllerRequest) GetCapabilities() []CapabilitiesEnum`
+
+GetCapabilities returns the Capabilities field if non-nil, zero value otherwise.
+
+### GetCapabilitiesOk
+
+`func (o *PatchedBulkWritableControllerRequest) GetCapabilitiesOk() (*[]CapabilitiesEnum, bool)`
+
+GetCapabilitiesOk returns a tuple with the Capabilities field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCapabilities
+
+`func (o *PatchedBulkWritableControllerRequest) SetCapabilities(v []CapabilitiesEnum)`
+
+SetCapabilities sets Capabilities field to given value.
+
+### HasCapabilities
+
+`func (o *PatchedBulkWritableControllerRequest) HasCapabilities() bool`
+
+HasCapabilities returns a boolean if a field has been set.
+
+### SetCapabilitiesNil
+
+`func (o *PatchedBulkWritableControllerRequest) SetCapabilitiesNil(b bool)`
+
+ SetCapabilitiesNil sets the value for Capabilities to be an explicit nil
+
+### UnsetCapabilities
+`func (o *PatchedBulkWritableControllerRequest) UnsetCapabilities()`
+
+UnsetCapabilities ensures that no value is present for Capabilities, not even an explicit nil
### GetName
`func (o *PatchedBulkWritableControllerRequest) GetName() string`
diff --git a/docs/PatchedBulkWritableDeviceFamilyRequest.md b/docs/PatchedBulkWritableDeviceFamilyRequest.md
index 8d9515a5..f1776e89 100644
--- a/docs/PatchedBulkWritableDeviceFamilyRequest.md
+++ b/docs/PatchedBulkWritableDeviceFamilyRequest.md
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
**Description** | Pointer to **string** | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
## Methods
@@ -149,6 +150,31 @@ SetRelationships sets Relationships field to given value.
HasRelationships returns a boolean if a field has been set.
+### GetTags
+
+`func (o *PatchedBulkWritableDeviceFamilyRequest) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *PatchedBulkWritableDeviceFamilyRequest) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *PatchedBulkWritableDeviceFamilyRequest) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *PatchedBulkWritableDeviceFamilyRequest) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/PatchedBulkWritableDeviceRedundancyGroupRequest.md b/docs/PatchedBulkWritableDeviceRedundancyGroupRequest.md
index 0fd226fe..af020aa4 100644
--- a/docs/PatchedBulkWritableDeviceRedundancyGroupRequest.md
+++ b/docs/PatchedBulkWritableDeviceRedundancyGroupRequest.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **string** | |
-**FailoverStrategy** | Pointer to [**BulkWritableDeviceRedundancyGroupRequestFailoverStrategy**](BulkWritableDeviceRedundancyGroupRequestFailoverStrategy.md) | | [optional]
+**FailoverStrategy** | Pointer to [**BulkWritableDeviceRedundancyGroupRequestFailoverStrategy**](BulkWritableDeviceRedundancyGroupRequestFailoverStrategy.md) | | [optional] [default to BULKWRITABLEDEVICEREDUNDANCYGROUPREQUESTFAILOVERSTRATEGY_EMPTY]
**Name** | Pointer to **string** | | [optional]
**Description** | Pointer to **string** | | [optional]
**Comments** | Pointer to **string** | | [optional]
diff --git a/docs/PatchedBulkWritableExternalIntegrationRequest.md b/docs/PatchedBulkWritableExternalIntegrationRequest.md
index a5f84b31..06be7df4 100644
--- a/docs/PatchedBulkWritableExternalIntegrationRequest.md
+++ b/docs/PatchedBulkWritableExternalIntegrationRequest.md
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
**SecretsGroup** | Pointer to [**NullableBulkWritableExternalIntegrationRequestSecretsGroup**](BulkWritableExternalIntegrationRequestSecretsGroup.md) | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
## Methods
@@ -361,6 +362,31 @@ SetRelationships sets Relationships field to given value.
HasRelationships returns a boolean if a field has been set.
+### GetTags
+
+`func (o *PatchedBulkWritableExternalIntegrationRequest) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *PatchedBulkWritableExternalIntegrationRequest) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *PatchedBulkWritableExternalIntegrationRequest) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *PatchedBulkWritableExternalIntegrationRequest) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/PatchedBulkWritableGitRepositoryRequest.md b/docs/PatchedBulkWritableGitRepositoryRequest.md
index dbb42ca2..14fc3820 100644
--- a/docs/PatchedBulkWritableGitRepositoryRequest.md
+++ b/docs/PatchedBulkWritableGitRepositoryRequest.md
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
**SecretsGroup** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
## Methods
@@ -289,6 +290,31 @@ SetRelationships sets Relationships field to given value.
HasRelationships returns a boolean if a field has been set.
+### GetTags
+
+`func (o *PatchedBulkWritableGitRepositoryRequest) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *PatchedBulkWritableGitRepositoryRequest) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *PatchedBulkWritableGitRepositoryRequest) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *PatchedBulkWritableGitRepositoryRequest) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/PatchedBulkWritableGraphQLQueryRequest.md b/docs/PatchedBulkWritableGraphQLQueryRequest.md
index 2374d4b2..c2f41877 100644
--- a/docs/PatchedBulkWritableGraphQLQueryRequest.md
+++ b/docs/PatchedBulkWritableGraphQLQueryRequest.md
@@ -5,6 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **string** | |
+**OwnerContentType** | Pointer to **NullableString** | | [optional]
+**OwnerObjectId** | Pointer to **NullableString** | | [optional]
**Name** | Pointer to **string** | | [optional]
**Query** | Pointer to **string** | | [optional]
@@ -47,6 +49,76 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### GetOwnerContentType
+
+`func (o *PatchedBulkWritableGraphQLQueryRequest) GetOwnerContentType() string`
+
+GetOwnerContentType returns the OwnerContentType field if non-nil, zero value otherwise.
+
+### GetOwnerContentTypeOk
+
+`func (o *PatchedBulkWritableGraphQLQueryRequest) GetOwnerContentTypeOk() (*string, bool)`
+
+GetOwnerContentTypeOk returns a tuple with the OwnerContentType field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetOwnerContentType
+
+`func (o *PatchedBulkWritableGraphQLQueryRequest) SetOwnerContentType(v string)`
+
+SetOwnerContentType sets OwnerContentType field to given value.
+
+### HasOwnerContentType
+
+`func (o *PatchedBulkWritableGraphQLQueryRequest) HasOwnerContentType() bool`
+
+HasOwnerContentType returns a boolean if a field has been set.
+
+### SetOwnerContentTypeNil
+
+`func (o *PatchedBulkWritableGraphQLQueryRequest) SetOwnerContentTypeNil(b bool)`
+
+ SetOwnerContentTypeNil sets the value for OwnerContentType to be an explicit nil
+
+### UnsetOwnerContentType
+`func (o *PatchedBulkWritableGraphQLQueryRequest) UnsetOwnerContentType()`
+
+UnsetOwnerContentType ensures that no value is present for OwnerContentType, not even an explicit nil
+### GetOwnerObjectId
+
+`func (o *PatchedBulkWritableGraphQLQueryRequest) GetOwnerObjectId() string`
+
+GetOwnerObjectId returns the OwnerObjectId field if non-nil, zero value otherwise.
+
+### GetOwnerObjectIdOk
+
+`func (o *PatchedBulkWritableGraphQLQueryRequest) GetOwnerObjectIdOk() (*string, bool)`
+
+GetOwnerObjectIdOk returns a tuple with the OwnerObjectId field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetOwnerObjectId
+
+`func (o *PatchedBulkWritableGraphQLQueryRequest) SetOwnerObjectId(v string)`
+
+SetOwnerObjectId sets OwnerObjectId field to given value.
+
+### HasOwnerObjectId
+
+`func (o *PatchedBulkWritableGraphQLQueryRequest) HasOwnerObjectId() bool`
+
+HasOwnerObjectId returns a boolean if a field has been set.
+
+### SetOwnerObjectIdNil
+
+`func (o *PatchedBulkWritableGraphQLQueryRequest) SetOwnerObjectIdNil(b bool)`
+
+ SetOwnerObjectIdNil sets the value for OwnerObjectId to be an explicit nil
+
+### UnsetOwnerObjectId
+`func (o *PatchedBulkWritableGraphQLQueryRequest) UnsetOwnerObjectId()`
+
+UnsetOwnerObjectId ensures that no value is present for OwnerObjectId, not even an explicit nil
### GetName
`func (o *PatchedBulkWritableGraphQLQueryRequest) GetName() string`
diff --git a/docs/PatchedBulkWritableInterfaceRequest.md b/docs/PatchedBulkWritableInterfaceRequest.md
index 44513ec2..9686a918 100644
--- a/docs/PatchedBulkWritableInterfaceRequest.md
+++ b/docs/PatchedBulkWritableInterfaceRequest.md
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **string** | |
**Type** | Pointer to [**InterfaceTypeChoices**](InterfaceTypeChoices.md) | | [optional]
-**Mode** | Pointer to [**ModeEnum**](ModeEnum.md) | | [optional]
+**Mode** | Pointer to [**InterfaceModeChoices**](InterfaceModeChoices.md) | | [optional]
**MacAddress** | Pointer to **NullableString** | | [optional]
**Name** | Pointer to **string** | | [optional]
**Label** | Pointer to **string** | Physical label | [optional]
@@ -94,20 +94,20 @@ HasType returns a boolean if a field has been set.
### GetMode
-`func (o *PatchedBulkWritableInterfaceRequest) GetMode() ModeEnum`
+`func (o *PatchedBulkWritableInterfaceRequest) GetMode() InterfaceModeChoices`
GetMode returns the Mode field if non-nil, zero value otherwise.
### GetModeOk
-`func (o *PatchedBulkWritableInterfaceRequest) GetModeOk() (*ModeEnum, bool)`
+`func (o *PatchedBulkWritableInterfaceRequest) GetModeOk() (*InterfaceModeChoices, bool)`
GetModeOk returns a tuple with the Mode field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetMode
-`func (o *PatchedBulkWritableInterfaceRequest) SetMode(v ModeEnum)`
+`func (o *PatchedBulkWritableInterfaceRequest) SetMode(v InterfaceModeChoices)`
SetMode sets Mode field to given value.
diff --git a/docs/PatchedBulkWritableInterfaceVDCAssignmentRequest.md b/docs/PatchedBulkWritableInterfaceVDCAssignmentRequest.md
new file mode 100644
index 00000000..02e09d99
--- /dev/null
+++ b/docs/PatchedBulkWritableInterfaceVDCAssignmentRequest.md
@@ -0,0 +1,103 @@
+# PatchedBulkWritableInterfaceVDCAssignmentRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | |
+**VirtualDeviceContext** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
+**Interface** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
+
+## Methods
+
+### NewPatchedBulkWritableInterfaceVDCAssignmentRequest
+
+`func NewPatchedBulkWritableInterfaceVDCAssignmentRequest(id string, ) *PatchedBulkWritableInterfaceVDCAssignmentRequest`
+
+NewPatchedBulkWritableInterfaceVDCAssignmentRequest instantiates a new PatchedBulkWritableInterfaceVDCAssignmentRequest object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewPatchedBulkWritableInterfaceVDCAssignmentRequestWithDefaults
+
+`func NewPatchedBulkWritableInterfaceVDCAssignmentRequestWithDefaults() *PatchedBulkWritableInterfaceVDCAssignmentRequest`
+
+NewPatchedBulkWritableInterfaceVDCAssignmentRequestWithDefaults instantiates a new PatchedBulkWritableInterfaceVDCAssignmentRequest object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *PatchedBulkWritableInterfaceVDCAssignmentRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *PatchedBulkWritableInterfaceVDCAssignmentRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *PatchedBulkWritableInterfaceVDCAssignmentRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+
+### GetVirtualDeviceContext
+
+`func (o *PatchedBulkWritableInterfaceVDCAssignmentRequest) GetVirtualDeviceContext() BulkWritableCableRequestStatus`
+
+GetVirtualDeviceContext returns the VirtualDeviceContext field if non-nil, zero value otherwise.
+
+### GetVirtualDeviceContextOk
+
+`func (o *PatchedBulkWritableInterfaceVDCAssignmentRequest) GetVirtualDeviceContextOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetVirtualDeviceContextOk returns a tuple with the VirtualDeviceContext field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetVirtualDeviceContext
+
+`func (o *PatchedBulkWritableInterfaceVDCAssignmentRequest) SetVirtualDeviceContext(v BulkWritableCableRequestStatus)`
+
+SetVirtualDeviceContext sets VirtualDeviceContext field to given value.
+
+### HasVirtualDeviceContext
+
+`func (o *PatchedBulkWritableInterfaceVDCAssignmentRequest) HasVirtualDeviceContext() bool`
+
+HasVirtualDeviceContext returns a boolean if a field has been set.
+
+### GetInterface
+
+`func (o *PatchedBulkWritableInterfaceVDCAssignmentRequest) GetInterface() BulkWritableCableRequestStatus`
+
+GetInterface returns the Interface field if non-nil, zero value otherwise.
+
+### GetInterfaceOk
+
+`func (o *PatchedBulkWritableInterfaceVDCAssignmentRequest) GetInterfaceOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetInterfaceOk returns a tuple with the Interface field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetInterface
+
+`func (o *PatchedBulkWritableInterfaceVDCAssignmentRequest) SetInterface(v BulkWritableCableRequestStatus)`
+
+SetInterface sets Interface field to given value.
+
+### HasInterface
+
+`func (o *PatchedBulkWritableInterfaceVDCAssignmentRequest) HasInterface() bool`
+
+HasInterface returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/PatchedBulkWritableJobQueueAssignmentRequest.md b/docs/PatchedBulkWritableJobQueueAssignmentRequest.md
new file mode 100644
index 00000000..96b2e301
--- /dev/null
+++ b/docs/PatchedBulkWritableJobQueueAssignmentRequest.md
@@ -0,0 +1,103 @@
+# PatchedBulkWritableJobQueueAssignmentRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | |
+**Job** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
+**JobQueue** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
+
+## Methods
+
+### NewPatchedBulkWritableJobQueueAssignmentRequest
+
+`func NewPatchedBulkWritableJobQueueAssignmentRequest(id string, ) *PatchedBulkWritableJobQueueAssignmentRequest`
+
+NewPatchedBulkWritableJobQueueAssignmentRequest instantiates a new PatchedBulkWritableJobQueueAssignmentRequest object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewPatchedBulkWritableJobQueueAssignmentRequestWithDefaults
+
+`func NewPatchedBulkWritableJobQueueAssignmentRequestWithDefaults() *PatchedBulkWritableJobQueueAssignmentRequest`
+
+NewPatchedBulkWritableJobQueueAssignmentRequestWithDefaults instantiates a new PatchedBulkWritableJobQueueAssignmentRequest object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *PatchedBulkWritableJobQueueAssignmentRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *PatchedBulkWritableJobQueueAssignmentRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *PatchedBulkWritableJobQueueAssignmentRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+
+### GetJob
+
+`func (o *PatchedBulkWritableJobQueueAssignmentRequest) GetJob() BulkWritableCableRequestStatus`
+
+GetJob returns the Job field if non-nil, zero value otherwise.
+
+### GetJobOk
+
+`func (o *PatchedBulkWritableJobQueueAssignmentRequest) GetJobOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetJobOk returns a tuple with the Job field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetJob
+
+`func (o *PatchedBulkWritableJobQueueAssignmentRequest) SetJob(v BulkWritableCableRequestStatus)`
+
+SetJob sets Job field to given value.
+
+### HasJob
+
+`func (o *PatchedBulkWritableJobQueueAssignmentRequest) HasJob() bool`
+
+HasJob returns a boolean if a field has been set.
+
+### GetJobQueue
+
+`func (o *PatchedBulkWritableJobQueueAssignmentRequest) GetJobQueue() BulkWritableCableRequestStatus`
+
+GetJobQueue returns the JobQueue field if non-nil, zero value otherwise.
+
+### GetJobQueueOk
+
+`func (o *PatchedBulkWritableJobQueueAssignmentRequest) GetJobQueueOk() (*BulkWritableCableRequestStatus, bool)`
+
+GetJobQueueOk returns a tuple with the JobQueue field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetJobQueue
+
+`func (o *PatchedBulkWritableJobQueueAssignmentRequest) SetJobQueue(v BulkWritableCableRequestStatus)`
+
+SetJobQueue sets JobQueue field to given value.
+
+### HasJobQueue
+
+`func (o *PatchedBulkWritableJobQueueAssignmentRequest) HasJobQueue() bool`
+
+HasJobQueue returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/PatchedBulkWritableJobQueueRequest.md b/docs/PatchedBulkWritableJobQueueRequest.md
new file mode 100644
index 00000000..0f99e466
--- /dev/null
+++ b/docs/PatchedBulkWritableJobQueueRequest.md
@@ -0,0 +1,243 @@
+# PatchedBulkWritableJobQueueRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | |
+**Name** | Pointer to **string** | | [optional]
+**Description** | Pointer to **string** | | [optional]
+**QueueType** | Pointer to [**QueueTypeEnum**](QueueTypeEnum.md) | | [optional]
+**Tenant** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
+**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
+**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
+
+## Methods
+
+### NewPatchedBulkWritableJobQueueRequest
+
+`func NewPatchedBulkWritableJobQueueRequest(id string, ) *PatchedBulkWritableJobQueueRequest`
+
+NewPatchedBulkWritableJobQueueRequest instantiates a new PatchedBulkWritableJobQueueRequest object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewPatchedBulkWritableJobQueueRequestWithDefaults
+
+`func NewPatchedBulkWritableJobQueueRequestWithDefaults() *PatchedBulkWritableJobQueueRequest`
+
+NewPatchedBulkWritableJobQueueRequestWithDefaults instantiates a new PatchedBulkWritableJobQueueRequest object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *PatchedBulkWritableJobQueueRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *PatchedBulkWritableJobQueueRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *PatchedBulkWritableJobQueueRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+
+### GetName
+
+`func (o *PatchedBulkWritableJobQueueRequest) GetName() string`
+
+GetName returns the Name field if non-nil, zero value otherwise.
+
+### GetNameOk
+
+`func (o *PatchedBulkWritableJobQueueRequest) GetNameOk() (*string, bool)`
+
+GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetName
+
+`func (o *PatchedBulkWritableJobQueueRequest) SetName(v string)`
+
+SetName sets Name field to given value.
+
+### HasName
+
+`func (o *PatchedBulkWritableJobQueueRequest) HasName() bool`
+
+HasName returns a boolean if a field has been set.
+
+### GetDescription
+
+`func (o *PatchedBulkWritableJobQueueRequest) GetDescription() string`
+
+GetDescription returns the Description field if non-nil, zero value otherwise.
+
+### GetDescriptionOk
+
+`func (o *PatchedBulkWritableJobQueueRequest) GetDescriptionOk() (*string, bool)`
+
+GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDescription
+
+`func (o *PatchedBulkWritableJobQueueRequest) SetDescription(v string)`
+
+SetDescription sets Description field to given value.
+
+### HasDescription
+
+`func (o *PatchedBulkWritableJobQueueRequest) HasDescription() bool`
+
+HasDescription returns a boolean if a field has been set.
+
+### GetQueueType
+
+`func (o *PatchedBulkWritableJobQueueRequest) GetQueueType() QueueTypeEnum`
+
+GetQueueType returns the QueueType field if non-nil, zero value otherwise.
+
+### GetQueueTypeOk
+
+`func (o *PatchedBulkWritableJobQueueRequest) GetQueueTypeOk() (*QueueTypeEnum, bool)`
+
+GetQueueTypeOk returns a tuple with the QueueType field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetQueueType
+
+`func (o *PatchedBulkWritableJobQueueRequest) SetQueueType(v QueueTypeEnum)`
+
+SetQueueType sets QueueType field to given value.
+
+### HasQueueType
+
+`func (o *PatchedBulkWritableJobQueueRequest) HasQueueType() bool`
+
+HasQueueType returns a boolean if a field has been set.
+
+### GetTenant
+
+`func (o *PatchedBulkWritableJobQueueRequest) GetTenant() BulkWritableCircuitRequestTenant`
+
+GetTenant returns the Tenant field if non-nil, zero value otherwise.
+
+### GetTenantOk
+
+`func (o *PatchedBulkWritableJobQueueRequest) GetTenantOk() (*BulkWritableCircuitRequestTenant, bool)`
+
+GetTenantOk returns a tuple with the Tenant field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTenant
+
+`func (o *PatchedBulkWritableJobQueueRequest) SetTenant(v BulkWritableCircuitRequestTenant)`
+
+SetTenant sets Tenant field to given value.
+
+### HasTenant
+
+`func (o *PatchedBulkWritableJobQueueRequest) HasTenant() bool`
+
+HasTenant returns a boolean if a field has been set.
+
+### SetTenantNil
+
+`func (o *PatchedBulkWritableJobQueueRequest) SetTenantNil(b bool)`
+
+ SetTenantNil sets the value for Tenant to be an explicit nil
+
+### UnsetTenant
+`func (o *PatchedBulkWritableJobQueueRequest) UnsetTenant()`
+
+UnsetTenant ensures that no value is present for Tenant, not even an explicit nil
+### GetTags
+
+`func (o *PatchedBulkWritableJobQueueRequest) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *PatchedBulkWritableJobQueueRequest) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *PatchedBulkWritableJobQueueRequest) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *PatchedBulkWritableJobQueueRequest) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
+### GetCustomFields
+
+`func (o *PatchedBulkWritableJobQueueRequest) GetCustomFields() map[string]interface{}`
+
+GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
+
+### GetCustomFieldsOk
+
+`func (o *PatchedBulkWritableJobQueueRequest) GetCustomFieldsOk() (*map[string]interface{}, bool)`
+
+GetCustomFieldsOk returns a tuple with the CustomFields field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCustomFields
+
+`func (o *PatchedBulkWritableJobQueueRequest) SetCustomFields(v map[string]interface{})`
+
+SetCustomFields sets CustomFields field to given value.
+
+### HasCustomFields
+
+`func (o *PatchedBulkWritableJobQueueRequest) HasCustomFields() bool`
+
+HasCustomFields returns a boolean if a field has been set.
+
+### GetRelationships
+
+`func (o *PatchedBulkWritableJobQueueRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue`
+
+GetRelationships returns the Relationships field if non-nil, zero value otherwise.
+
+### GetRelationshipsOk
+
+`func (o *PatchedBulkWritableJobQueueRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool)`
+
+GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetRelationships
+
+`func (o *PatchedBulkWritableJobQueueRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue)`
+
+SetRelationships sets Relationships field to given value.
+
+### HasRelationships
+
+`func (o *PatchedBulkWritableJobQueueRequest) HasRelationships() bool`
+
+HasRelationships returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/PatchedBulkWritableJobRequest.md b/docs/PatchedBulkWritableJobRequest.md
index 0ceff01e..166c9ec0 100644
--- a/docs/PatchedBulkWritableJobRequest.md
+++ b/docs/PatchedBulkWritableJobRequest.md
@@ -10,12 +10,12 @@ Name | Type | Description | Notes
**Description** | Pointer to **string** | Markdown formatting and a limited subset of HTML are supported | [optional]
**Enabled** | Pointer to **bool** | Whether this job can be executed by users | [optional]
**HasSensitiveVariables** | Pointer to **bool** | Whether this job contains sensitive variables | [optional]
+**IsSingleton** | Pointer to **bool** | Whether this job should fail to run if another instance of this job is already running | [optional]
**ApprovalRequired** | Pointer to **bool** | Whether the job requires approval from another user before running | [optional]
**Hidden** | Pointer to **bool** | Whether the job defaults to not being shown in the UI | [optional]
**DryrunDefault** | Pointer to **bool** | Whether the job defaults to running with dryrun argument set to true | [optional]
**SoftTimeLimit** | Pointer to **float64** | Maximum runtime in seconds before the job will receive a <code>SoftTimeLimitExceeded</code> exception.<br>Set to 0 to use Nautobot system default | [optional]
**TimeLimit** | Pointer to **float64** | Maximum runtime in seconds before the job will be forcibly terminated.<br>Set to 0 to use Nautobot system default | [optional]
-**TaskQueues** | Pointer to **interface{}** | Comma separated list of task queues that this job can run on. A blank list will use the default queue | [optional]
**GroupingOverride** | Pointer to **bool** | If set, the configured grouping will remain even if the underlying Job source code changes | [optional]
**NameOverride** | Pointer to **bool** | If set, the configured name will remain even if the underlying Job source code changes | [optional]
**DescriptionOverride** | Pointer to **bool** | If set, the configured description will remain even if the underlying Job source code changes | [optional]
@@ -25,7 +25,10 @@ Name | Type | Description | Notes
**SoftTimeLimitOverride** | Pointer to **bool** | If set, the configured value will remain even if the underlying Job source code changes | [optional]
**TimeLimitOverride** | Pointer to **bool** | If set, the configured value will remain even if the underlying Job source code changes | [optional]
**HasSensitiveVariablesOverride** | Pointer to **bool** | If set, the configured value will remain even if the underlying Job source code changes | [optional]
-**TaskQueuesOverride** | Pointer to **bool** | If set, the configured value will remain even if the underlying Job source code changes | [optional]
+**JobQueuesOverride** | Pointer to **bool** | If set, the configured value will remain even if the underlying Job source code changes | [optional]
+**DefaultJobQueueOverride** | Pointer to **bool** | If set, the configured value will remain even if the underlying Job source code changes | [optional]
+**IsSingletonOverride** | Pointer to **bool** | If set, the configured value will remain even if the underlying Job source code changes | [optional]
+**DefaultJobQueue** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
@@ -194,6 +197,31 @@ SetHasSensitiveVariables sets HasSensitiveVariables field to given value.
HasHasSensitiveVariables returns a boolean if a field has been set.
+### GetIsSingleton
+
+`func (o *PatchedBulkWritableJobRequest) GetIsSingleton() bool`
+
+GetIsSingleton returns the IsSingleton field if non-nil, zero value otherwise.
+
+### GetIsSingletonOk
+
+`func (o *PatchedBulkWritableJobRequest) GetIsSingletonOk() (*bool, bool)`
+
+GetIsSingletonOk returns a tuple with the IsSingleton field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetIsSingleton
+
+`func (o *PatchedBulkWritableJobRequest) SetIsSingleton(v bool)`
+
+SetIsSingleton sets IsSingleton field to given value.
+
+### HasIsSingleton
+
+`func (o *PatchedBulkWritableJobRequest) HasIsSingleton() bool`
+
+HasIsSingleton returns a boolean if a field has been set.
+
### GetApprovalRequired
`func (o *PatchedBulkWritableJobRequest) GetApprovalRequired() bool`
@@ -319,41 +347,6 @@ SetTimeLimit sets TimeLimit field to given value.
HasTimeLimit returns a boolean if a field has been set.
-### GetTaskQueues
-
-`func (o *PatchedBulkWritableJobRequest) GetTaskQueues() interface{}`
-
-GetTaskQueues returns the TaskQueues field if non-nil, zero value otherwise.
-
-### GetTaskQueuesOk
-
-`func (o *PatchedBulkWritableJobRequest) GetTaskQueuesOk() (*interface{}, bool)`
-
-GetTaskQueuesOk returns a tuple with the TaskQueues field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTaskQueues
-
-`func (o *PatchedBulkWritableJobRequest) SetTaskQueues(v interface{})`
-
-SetTaskQueues sets TaskQueues field to given value.
-
-### HasTaskQueues
-
-`func (o *PatchedBulkWritableJobRequest) HasTaskQueues() bool`
-
-HasTaskQueues returns a boolean if a field has been set.
-
-### SetTaskQueuesNil
-
-`func (o *PatchedBulkWritableJobRequest) SetTaskQueuesNil(b bool)`
-
- SetTaskQueuesNil sets the value for TaskQueues to be an explicit nil
-
-### UnsetTaskQueues
-`func (o *PatchedBulkWritableJobRequest) UnsetTaskQueues()`
-
-UnsetTaskQueues ensures that no value is present for TaskQueues, not even an explicit nil
### GetGroupingOverride
`func (o *PatchedBulkWritableJobRequest) GetGroupingOverride() bool`
@@ -579,30 +572,105 @@ SetHasSensitiveVariablesOverride sets HasSensitiveVariablesOverride field to giv
HasHasSensitiveVariablesOverride returns a boolean if a field has been set.
-### GetTaskQueuesOverride
+### GetJobQueuesOverride
+
+`func (o *PatchedBulkWritableJobRequest) GetJobQueuesOverride() bool`
+
+GetJobQueuesOverride returns the JobQueuesOverride field if non-nil, zero value otherwise.
+
+### GetJobQueuesOverrideOk
+
+`func (o *PatchedBulkWritableJobRequest) GetJobQueuesOverrideOk() (*bool, bool)`
+
+GetJobQueuesOverrideOk returns a tuple with the JobQueuesOverride field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetJobQueuesOverride
+
+`func (o *PatchedBulkWritableJobRequest) SetJobQueuesOverride(v bool)`
+
+SetJobQueuesOverride sets JobQueuesOverride field to given value.
+
+### HasJobQueuesOverride
+
+`func (o *PatchedBulkWritableJobRequest) HasJobQueuesOverride() bool`
+
+HasJobQueuesOverride returns a boolean if a field has been set.
+
+### GetDefaultJobQueueOverride
+
+`func (o *PatchedBulkWritableJobRequest) GetDefaultJobQueueOverride() bool`
+
+GetDefaultJobQueueOverride returns the DefaultJobQueueOverride field if non-nil, zero value otherwise.
+
+### GetDefaultJobQueueOverrideOk
+
+`func (o *PatchedBulkWritableJobRequest) GetDefaultJobQueueOverrideOk() (*bool, bool)`
+
+GetDefaultJobQueueOverrideOk returns a tuple with the DefaultJobQueueOverride field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDefaultJobQueueOverride
+
+`func (o *PatchedBulkWritableJobRequest) SetDefaultJobQueueOverride(v bool)`
+
+SetDefaultJobQueueOverride sets DefaultJobQueueOverride field to given value.
+
+### HasDefaultJobQueueOverride
+
+`func (o *PatchedBulkWritableJobRequest) HasDefaultJobQueueOverride() bool`
+
+HasDefaultJobQueueOverride returns a boolean if a field has been set.
+
+### GetIsSingletonOverride
+
+`func (o *PatchedBulkWritableJobRequest) GetIsSingletonOverride() bool`
+
+GetIsSingletonOverride returns the IsSingletonOverride field if non-nil, zero value otherwise.
+
+### GetIsSingletonOverrideOk
+
+`func (o *PatchedBulkWritableJobRequest) GetIsSingletonOverrideOk() (*bool, bool)`
+
+GetIsSingletonOverrideOk returns a tuple with the IsSingletonOverride field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetIsSingletonOverride
+
+`func (o *PatchedBulkWritableJobRequest) SetIsSingletonOverride(v bool)`
+
+SetIsSingletonOverride sets IsSingletonOverride field to given value.
+
+### HasIsSingletonOverride
+
+`func (o *PatchedBulkWritableJobRequest) HasIsSingletonOverride() bool`
+
+HasIsSingletonOverride returns a boolean if a field has been set.
+
+### GetDefaultJobQueue
-`func (o *PatchedBulkWritableJobRequest) GetTaskQueuesOverride() bool`
+`func (o *PatchedBulkWritableJobRequest) GetDefaultJobQueue() BulkWritableCableRequestStatus`
-GetTaskQueuesOverride returns the TaskQueuesOverride field if non-nil, zero value otherwise.
+GetDefaultJobQueue returns the DefaultJobQueue field if non-nil, zero value otherwise.
-### GetTaskQueuesOverrideOk
+### GetDefaultJobQueueOk
-`func (o *PatchedBulkWritableJobRequest) GetTaskQueuesOverrideOk() (*bool, bool)`
+`func (o *PatchedBulkWritableJobRequest) GetDefaultJobQueueOk() (*BulkWritableCableRequestStatus, bool)`
-GetTaskQueuesOverrideOk returns a tuple with the TaskQueuesOverride field if it's non-nil, zero value otherwise
+GetDefaultJobQueueOk returns a tuple with the DefaultJobQueue field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
-### SetTaskQueuesOverride
+### SetDefaultJobQueue
-`func (o *PatchedBulkWritableJobRequest) SetTaskQueuesOverride(v bool)`
+`func (o *PatchedBulkWritableJobRequest) SetDefaultJobQueue(v BulkWritableCableRequestStatus)`
-SetTaskQueuesOverride sets TaskQueuesOverride field to given value.
+SetDefaultJobQueue sets DefaultJobQueue field to given value.
-### HasTaskQueuesOverride
+### HasDefaultJobQueue
-`func (o *PatchedBulkWritableJobRequest) HasTaskQueuesOverride() bool`
+`func (o *PatchedBulkWritableJobRequest) HasDefaultJobQueue() bool`
-HasTaskQueuesOverride returns a boolean if a field has been set.
+HasDefaultJobQueue returns a boolean if a field has been set.
### GetTags
diff --git a/docs/PatchedBulkWritableMetadataTypeRequest.md b/docs/PatchedBulkWritableMetadataTypeRequest.md
index 6dcd58ca..174f987c 100644
--- a/docs/PatchedBulkWritableMetadataTypeRequest.md
+++ b/docs/PatchedBulkWritableMetadataTypeRequest.md
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
**DataType** | Pointer to [**DataTypeEnum**](DataTypeEnum.md) | The type of data allowed for any Metadata of this type. | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
+**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
## Methods
@@ -201,6 +202,31 @@ SetRelationships sets Relationships field to given value.
HasRelationships returns a boolean if a field has been set.
+### GetTags
+
+`func (o *PatchedBulkWritableMetadataTypeRequest) GetTags() []BulkWritableCableRequestStatus`
+
+GetTags returns the Tags field if non-nil, zero value otherwise.
+
+### GetTagsOk
+
+`func (o *PatchedBulkWritableMetadataTypeRequest) GetTagsOk() (*[]BulkWritableCableRequestStatus, bool)`
+
+GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTags
+
+`func (o *PatchedBulkWritableMetadataTypeRequest) SetTags(v []BulkWritableCableRequestStatus)`
+
+SetTags sets Tags field to given value.
+
+### HasTags
+
+`func (o *PatchedBulkWritableMetadataTypeRequest) HasTags() bool`
+
+HasTags returns a boolean if a field has been set.
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/PatchedBulkWritableModuleBayRequest.md b/docs/PatchedBulkWritableModuleBayRequest.md
index 94d7ac69..1c852f4e 100644
--- a/docs/PatchedBulkWritableModuleBayRequest.md
+++ b/docs/PatchedBulkWritableModuleBayRequest.md
@@ -5,12 +5,14 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **string** | |
+**RequiresFirstPartyModules** | Pointer to **bool** | This bay will only accept modules from the same manufacturer as the parent device or module | [optional]
**Name** | Pointer to **string** | | [optional]
**Position** | Pointer to **string** | The position of the module bay within the parent device/module | [optional]
**Label** | Pointer to **string** | Physical label | [optional]
**Description** | Pointer to **string** | | [optional]
**ParentDevice** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**ParentModule** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
+**ModuleFamily** | Pointer to [**NullableBulkWritableModuleBayRequestModuleFamily**](BulkWritableModuleBayRequestModuleFamily.md) | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
@@ -54,6 +56,31 @@ and a boolean to check if the value has been set.
SetId sets Id field to given value.
+### GetRequiresFirstPartyModules
+
+`func (o *PatchedBulkWritableModuleBayRequest) GetRequiresFirstPartyModules() bool`
+
+GetRequiresFirstPartyModules returns the RequiresFirstPartyModules field if non-nil, zero value otherwise.
+
+### GetRequiresFirstPartyModulesOk
+
+`func (o *PatchedBulkWritableModuleBayRequest) GetRequiresFirstPartyModulesOk() (*bool, bool)`
+
+GetRequiresFirstPartyModulesOk returns a tuple with the RequiresFirstPartyModules field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetRequiresFirstPartyModules
+
+`func (o *PatchedBulkWritableModuleBayRequest) SetRequiresFirstPartyModules(v bool)`
+
+SetRequiresFirstPartyModules sets RequiresFirstPartyModules field to given value.
+
+### HasRequiresFirstPartyModules
+
+`func (o *PatchedBulkWritableModuleBayRequest) HasRequiresFirstPartyModules() bool`
+
+HasRequiresFirstPartyModules returns a boolean if a field has been set.
+
### GetName
`func (o *PatchedBulkWritableModuleBayRequest) GetName() string`
@@ -224,6 +251,41 @@ HasParentModule returns a boolean if a field has been set.
`func (o *PatchedBulkWritableModuleBayRequest) UnsetParentModule()`
UnsetParentModule ensures that no value is present for ParentModule, not even an explicit nil
+### GetModuleFamily
+
+`func (o *PatchedBulkWritableModuleBayRequest) GetModuleFamily() BulkWritableModuleBayRequestModuleFamily`
+
+GetModuleFamily returns the ModuleFamily field if non-nil, zero value otherwise.
+
+### GetModuleFamilyOk
+
+`func (o *PatchedBulkWritableModuleBayRequest) GetModuleFamilyOk() (*BulkWritableModuleBayRequestModuleFamily, bool)`
+
+GetModuleFamilyOk returns a tuple with the ModuleFamily field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetModuleFamily
+
+`func (o *PatchedBulkWritableModuleBayRequest) SetModuleFamily(v BulkWritableModuleBayRequestModuleFamily)`
+
+SetModuleFamily sets ModuleFamily field to given value.
+
+### HasModuleFamily
+
+`func (o *PatchedBulkWritableModuleBayRequest) HasModuleFamily() bool`
+
+HasModuleFamily returns a boolean if a field has been set.
+
+### SetModuleFamilyNil
+
+`func (o *PatchedBulkWritableModuleBayRequest) SetModuleFamilyNil(b bool)`
+
+ SetModuleFamilyNil sets the value for ModuleFamily to be an explicit nil
+
+### UnsetModuleFamily
+`func (o *PatchedBulkWritableModuleBayRequest) UnsetModuleFamily()`
+
+UnsetModuleFamily ensures that no value is present for ModuleFamily, not even an explicit nil
### GetCustomFields
`func (o *PatchedBulkWritableModuleBayRequest) GetCustomFields() map[string]interface{}`
diff --git a/docs/PatchedBulkWritableModuleBayTemplateRequest.md b/docs/PatchedBulkWritableModuleBayTemplateRequest.md
index 2145daa5..009f1865 100644
--- a/docs/PatchedBulkWritableModuleBayTemplateRequest.md
+++ b/docs/PatchedBulkWritableModuleBayTemplateRequest.md
@@ -9,8 +9,10 @@ Name | Type | Description | Notes
**Position** | Pointer to **string** | The position of the module bay within the device or module | [optional]
**Label** | Pointer to **string** | Physical label | [optional]
**Description** | Pointer to **string** | | [optional]
+**RequiresFirstPartyModules** | Pointer to **bool** | This bay will only accept modules from the same manufacturer as the parent device or module | [optional]
**DeviceType** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**ModuleType** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
+**ModuleFamily** | Pointer to [**NullableBulkWritableModuleBayTemplateRequestModuleFamily**](BulkWritableModuleBayTemplateRequestModuleFamily.md) | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
@@ -153,6 +155,31 @@ SetDescription sets Description field to given value.
HasDescription returns a boolean if a field has been set.
+### GetRequiresFirstPartyModules
+
+`func (o *PatchedBulkWritableModuleBayTemplateRequest) GetRequiresFirstPartyModules() bool`
+
+GetRequiresFirstPartyModules returns the RequiresFirstPartyModules field if non-nil, zero value otherwise.
+
+### GetRequiresFirstPartyModulesOk
+
+`func (o *PatchedBulkWritableModuleBayTemplateRequest) GetRequiresFirstPartyModulesOk() (*bool, bool)`
+
+GetRequiresFirstPartyModulesOk returns a tuple with the RequiresFirstPartyModules field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetRequiresFirstPartyModules
+
+`func (o *PatchedBulkWritableModuleBayTemplateRequest) SetRequiresFirstPartyModules(v bool)`
+
+SetRequiresFirstPartyModules sets RequiresFirstPartyModules field to given value.
+
+### HasRequiresFirstPartyModules
+
+`func (o *PatchedBulkWritableModuleBayTemplateRequest) HasRequiresFirstPartyModules() bool`
+
+HasRequiresFirstPartyModules returns a boolean if a field has been set.
+
### GetDeviceType
`func (o *PatchedBulkWritableModuleBayTemplateRequest) GetDeviceType() BulkWritableCircuitRequestTenant`
@@ -223,6 +250,41 @@ HasModuleType returns a boolean if a field has been set.
`func (o *PatchedBulkWritableModuleBayTemplateRequest) UnsetModuleType()`
UnsetModuleType ensures that no value is present for ModuleType, not even an explicit nil
+### GetModuleFamily
+
+`func (o *PatchedBulkWritableModuleBayTemplateRequest) GetModuleFamily() BulkWritableModuleBayTemplateRequestModuleFamily`
+
+GetModuleFamily returns the ModuleFamily field if non-nil, zero value otherwise.
+
+### GetModuleFamilyOk
+
+`func (o *PatchedBulkWritableModuleBayTemplateRequest) GetModuleFamilyOk() (*BulkWritableModuleBayTemplateRequestModuleFamily, bool)`
+
+GetModuleFamilyOk returns a tuple with the ModuleFamily field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetModuleFamily
+
+`func (o *PatchedBulkWritableModuleBayTemplateRequest) SetModuleFamily(v BulkWritableModuleBayTemplateRequestModuleFamily)`
+
+SetModuleFamily sets ModuleFamily field to given value.
+
+### HasModuleFamily
+
+`func (o *PatchedBulkWritableModuleBayTemplateRequest) HasModuleFamily() bool`
+
+HasModuleFamily returns a boolean if a field has been set.
+
+### SetModuleFamilyNil
+
+`func (o *PatchedBulkWritableModuleBayTemplateRequest) SetModuleFamilyNil(b bool)`
+
+ SetModuleFamilyNil sets the value for ModuleFamily to be an explicit nil
+
+### UnsetModuleFamily
+`func (o *PatchedBulkWritableModuleBayTemplateRequest) UnsetModuleFamily()`
+
+UnsetModuleFamily ensures that no value is present for ModuleFamily, not even an explicit nil
### GetCustomFields
`func (o *PatchedBulkWritableModuleBayTemplateRequest) GetCustomFields() map[string]interface{}`
diff --git a/docs/PatchedBulkWritableModuleFamilyRequest.md b/docs/PatchedBulkWritableModuleFamilyRequest.md
new file mode 100644
index 00000000..3aabdbd1
--- /dev/null
+++ b/docs/PatchedBulkWritableModuleFamilyRequest.md
@@ -0,0 +1,155 @@
+# PatchedBulkWritableModuleFamilyRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**Id** | **string** | |
+**Name** | Pointer to **string** | | [optional]
+**Description** | Pointer to **string** | | [optional]
+**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
+**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
+
+## Methods
+
+### NewPatchedBulkWritableModuleFamilyRequest
+
+`func NewPatchedBulkWritableModuleFamilyRequest(id string, ) *PatchedBulkWritableModuleFamilyRequest`
+
+NewPatchedBulkWritableModuleFamilyRequest instantiates a new PatchedBulkWritableModuleFamilyRequest object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewPatchedBulkWritableModuleFamilyRequestWithDefaults
+
+`func NewPatchedBulkWritableModuleFamilyRequestWithDefaults() *PatchedBulkWritableModuleFamilyRequest`
+
+NewPatchedBulkWritableModuleFamilyRequestWithDefaults instantiates a new PatchedBulkWritableModuleFamilyRequest object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetId
+
+`func (o *PatchedBulkWritableModuleFamilyRequest) GetId() string`
+
+GetId returns the Id field if non-nil, zero value otherwise.
+
+### GetIdOk
+
+`func (o *PatchedBulkWritableModuleFamilyRequest) GetIdOk() (*string, bool)`
+
+GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetId
+
+`func (o *PatchedBulkWritableModuleFamilyRequest) SetId(v string)`
+
+SetId sets Id field to given value.
+
+
+### GetName
+
+`func (o *PatchedBulkWritableModuleFamilyRequest) GetName() string`
+
+GetName returns the Name field if non-nil, zero value otherwise.
+
+### GetNameOk
+
+`func (o *PatchedBulkWritableModuleFamilyRequest) GetNameOk() (*string, bool)`
+
+GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetName
+
+`func (o *PatchedBulkWritableModuleFamilyRequest) SetName(v string)`
+
+SetName sets Name field to given value.
+
+### HasName
+
+`func (o *PatchedBulkWritableModuleFamilyRequest) HasName() bool`
+
+HasName returns a boolean if a field has been set.
+
+### GetDescription
+
+`func (o *PatchedBulkWritableModuleFamilyRequest) GetDescription() string`
+
+GetDescription returns the Description field if non-nil, zero value otherwise.
+
+### GetDescriptionOk
+
+`func (o *PatchedBulkWritableModuleFamilyRequest) GetDescriptionOk() (*string, bool)`
+
+GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDescription
+
+`func (o *PatchedBulkWritableModuleFamilyRequest) SetDescription(v string)`
+
+SetDescription sets Description field to given value.
+
+### HasDescription
+
+`func (o *PatchedBulkWritableModuleFamilyRequest) HasDescription() bool`
+
+HasDescription returns a boolean if a field has been set.
+
+### GetCustomFields
+
+`func (o *PatchedBulkWritableModuleFamilyRequest) GetCustomFields() map[string]interface{}`
+
+GetCustomFields returns the CustomFields field if non-nil, zero value otherwise.
+
+### GetCustomFieldsOk
+
+`func (o *PatchedBulkWritableModuleFamilyRequest) GetCustomFieldsOk() (*map[string]interface{}, bool)`
+
+GetCustomFieldsOk returns a tuple with the CustomFields field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetCustomFields
+
+`func (o *PatchedBulkWritableModuleFamilyRequest) SetCustomFields(v map[string]interface{})`
+
+SetCustomFields sets CustomFields field to given value.
+
+### HasCustomFields
+
+`func (o *PatchedBulkWritableModuleFamilyRequest) HasCustomFields() bool`
+
+HasCustomFields returns a boolean if a field has been set.
+
+### GetRelationships
+
+`func (o *PatchedBulkWritableModuleFamilyRequest) GetRelationships() map[string]BulkWritableCableRequestRelationshipsValue`
+
+GetRelationships returns the Relationships field if non-nil, zero value otherwise.
+
+### GetRelationshipsOk
+
+`func (o *PatchedBulkWritableModuleFamilyRequest) GetRelationshipsOk() (*map[string]BulkWritableCableRequestRelationshipsValue, bool)`
+
+GetRelationshipsOk returns a tuple with the Relationships field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetRelationships
+
+`func (o *PatchedBulkWritableModuleFamilyRequest) SetRelationships(v map[string]BulkWritableCableRequestRelationshipsValue)`
+
+SetRelationships sets Relationships field to given value.
+
+### HasRelationships
+
+`func (o *PatchedBulkWritableModuleFamilyRequest) HasRelationships() bool`
+
+HasRelationships returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/docs/PatchedBulkWritableModuleTypeRequest.md b/docs/PatchedBulkWritableModuleTypeRequest.md
index 8b68024e..5ad7a678 100644
--- a/docs/PatchedBulkWritableModuleTypeRequest.md
+++ b/docs/PatchedBulkWritableModuleTypeRequest.md
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
**PartNumber** | Pointer to **string** | Discrete part number (optional) | [optional]
**Comments** | Pointer to **string** | | [optional]
**Manufacturer** | Pointer to [**BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
+**ModuleFamily** | Pointer to [**NullableBulkWritableCircuitRequestTenant**](BulkWritableCircuitRequestTenant.md) | | [optional]
**CustomFields** | Pointer to **map[string]interface{}** | | [optional]
**Relationships** | Pointer to [**map[string]BulkWritableCableRequestRelationshipsValue**](BulkWritableCableRequestRelationshipsValue.md) | | [optional]
**Tags** | Pointer to [**[]BulkWritableCableRequestStatus**](BulkWritableCableRequestStatus.md) | | [optional]
@@ -152,6 +153,41 @@ Set